Open ildar-ceo opened 2 months ago
Код модели
use Runtime.BaseModel; use Runtime.Widget.RowButtonsModel; use Runtime.Widget.Styles; use Runtime.Widget.WidgetResultModel; use Runtime.Widget.Dialog.ConfirmDialog; use Runtime.Widget.Dialog.Dialog; use Runtime.Widget.Dialog.PromptDialog; class DialogModel extends BaseModel { bool is_open = false; string title = ""; string width = ""; string component = classof Dialog; Styles styles = new Styles{}; } class ConfirmDialogModel extends DialogModel { string component = classof ConfirmDialog; string content = ""; RowButtonsModel buttons; } class PromptDialogModel extends ConfirmDialogModel { string component = classof PromptDialog; string value = ""; string old_value = ""; WidgetResultModel result; }
Код модели