@morghulis/core 0.0.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/dist/index.css +1 -1
- package/dist/morghulis-core.es.js +20977 -26294
- package/dist/morghulis-core.es.js.map +1 -1
- package/dist/morghulis-core.umd.js +21 -97
- package/dist/morghulis-core.umd.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/app/MApp.vue.d.ts +21 -0
- package/dist/types/app/admin/MAdmin.vue.d.ts +17 -0
- package/dist/types/app/admin/components/MChannelHub.vue.d.ts +3 -0
- package/dist/types/app/admin/components/dialogs/AccountDialog.vue.d.ts +6 -0
- package/dist/types/app/admin/components/dialogs/ChannelDialog.vue.d.ts +5 -0
- package/dist/types/app/admin/components/dialogs/PasswordDialog.vue.d.ts +5 -0
- package/dist/types/app/admin/components/dialogs/ProfileDialog.vue.d.ts +9 -0
- package/dist/types/app/admin/components/dialogs/forms/AccountForm.vue.d.ts +7 -0
- package/dist/types/app/admin/components/dialogs/forms/PasswordForm.vue.d.ts +13 -0
- package/dist/types/app/admin/components/dialogs/forms/index.d.ts +3 -0
- package/dist/types/app/admin/components/dialogs/index.d.ts +9 -0
- package/dist/types/app/admin/contents/auth/AdminAuth.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/auth/index.d.ts +2 -0
- package/dist/types/app/admin/contents/auth/login/LoginDialog.vue.d.ts +5 -0
- package/dist/types/app/admin/contents/auth/login/forms/LoginForm.vue.d.ts +9 -0
- package/dist/types/app/admin/contents/auth/login/forms/SignInForm.vue.d.ts +9 -0
- package/dist/types/app/admin/contents/auth/login/forms/SignUpForm.vue.d.ts +10 -0
- package/dist/types/app/admin/contents/auth/login/forms/index.d.ts +7 -0
- package/dist/types/app/admin/contents/auth/login/index.d.ts +3 -0
- package/dist/types/app/admin/contents/auth/login/retrieve/RetrieveDialog.vue.d.ts +5 -0
- package/dist/types/app/admin/contents/auth/login/retrieve/index.d.ts +3 -0
- package/dist/types/app/admin/contents/auth/login/validator.d.ts +2 -0
- package/dist/types/app/admin/contents/auth/widgets/AuthDropdown.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/hooks.d.ts +174 -0
- package/dist/types/app/admin/contents/menu/AdminMenu.vue.d.ts +11 -0
- package/dist/types/app/admin/contents/menu/MenuTreeNode.vue.d.ts +9 -0
- package/dist/types/app/admin/contents/navigate/AdminNavigate.vue.d.ts +7 -0
- package/dist/types/app/admin/contents/system/MAccount.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/system/MMenu.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/system/MRole.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/system/MUser.vue.d.ts +3 -0
- package/dist/types/app/admin/contents/system/feedbacks/AccountRoleDialog.vue.d.ts +11 -0
- package/dist/types/app/admin/contents/system/feedbacks/MenuAddDialog.vue.d.ts +15 -0
- package/dist/types/app/admin/contents/system/feedbacks/MenuPathPopover.vue.d.ts +14 -0
- package/dist/types/app/admin/contents/system/feedbacks/MenuRoleDialog.vue.d.ts +11 -0
- package/dist/types/app/admin/contents/system/feedbacks/MenuViewDialog.vue.d.ts +6 -0
- package/dist/types/app/admin/contents/system/feedbacks/RoleAccountDialog.vue.d.ts +11 -0
- package/dist/types/app/admin/contents/system/feedbacks/RoleMenuDialog.vue.d.ts +11 -0
- package/dist/types/app/admin/contents/system/feedbacks/hooks.d.ts +13 -0
- package/dist/types/app/admin/contents/system/feedbacks/index.d.ts +15 -0
- package/dist/types/app/admin/contents/system/widgets/MenuLabel.vue.d.ts +7 -0
- package/dist/types/app/admin/contents/system/widgets/MenuRolePlugin.vue.d.ts +7 -0
- package/dist/types/app/admin/contents/system/widgets/index.d.ts +3 -0
- package/dist/types/app/admin/hooks.d.ts +4 -0
- package/dist/types/app/admin/pages/AdminMain.vue.d.ts +3 -0
- package/dist/types/app/admin/pages/MSystem.vue.d.ts +3 -0
- package/dist/types/app/admin/pages/NoPermission.vue.d.ts +3 -0
- package/dist/types/app/admin/pages/NotFound.vue.d.ts +3 -0
- package/dist/types/app/admin/pages/index.d.ts +7 -0
- package/dist/types/app/admin/stores/index.d.ts +2 -0
- package/dist/types/app/admin/stores/options.d.ts +15 -0
- package/dist/types/app/admin/stores/user.d.ts +149 -0
- package/dist/types/app/index.d.ts +2 -0
- package/dist/types/app/install.d.ts +3 -0
- package/dist/types/components.d.ts +5 -0
- package/dist/types/data/cell/FieldTransfer.vue.d.ts +14 -0
- package/dist/types/data/cell/MCell.vue.d.ts +14 -0
- package/dist/types/data/cell/hooks.d.ts +15 -0
- package/dist/types/data/cell/index.d.ts +3 -0
- package/dist/types/data/cell/instances/char/CharCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/char/ColorCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/char/IconCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/char/MultiSetCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/char/SetCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/char/index.d.ts +6 -0
- package/dist/types/data/cell/instances/date/DateArrayCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/date/DateCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/date/DateRangeCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/date/TimeCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/date/TimeRangeCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/date/index.d.ts +6 -0
- package/dist/types/data/cell/instances/hooks.d.ts +46 -0
- package/dist/types/data/cell/instances/index.d.ts +5 -0
- package/dist/types/data/cell/instances/refer/AutoCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/refer/CascadeCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/refer/SelectCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/refer/TransferCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/refer/TreeCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/refer/index.d.ts +6 -0
- package/dist/types/data/cell/instances/simple/BooleanCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/simple/DefaultCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/simple/NumberCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/simple/index.d.ts +4 -0
- package/dist/types/data/cell/instances/special/FileCell.vue.d.ts +7 -0
- package/dist/types/data/cell/instances/special/ObjectCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/special/RichCell.vue.d.ts +4 -0
- package/dist/types/data/cell/instances/special/index.d.ts +4 -0
- package/dist/types/data/cell/types.d.ts +13 -0
- package/dist/types/data/form/MForm.vue.d.ts +12 -0
- package/dist/types/data/form/hooks.d.ts +36 -0
- package/dist/types/data/form/index.d.ts +3 -0
- package/dist/types/data/form/types.d.ts +19 -0
- package/dist/types/data/form/widgets/MFormLabel.vue.d.ts +14 -0
- package/dist/types/data/index.d.ts +6 -0
- package/dist/types/data/plugin/MPluginButtons.vue.d.ts +11 -0
- package/dist/types/data/plugin/MPluginColumn.vue.d.ts +11 -0
- package/dist/types/data/plugin/index.d.ts +4 -0
- package/dist/types/data/plugin/types.d.ts +58 -0
- package/dist/types/data/table/MTable.vue.d.ts +28 -0
- package/dist/types/data/table/components/columns/ButtonsColumn.vue.d.ts +10 -0
- package/dist/types/data/table/components/columns/CustomColumn.vue.d.ts +10 -0
- package/dist/types/data/table/components/columns/FieldColumn.vue.d.ts +18 -0
- package/dist/types/data/table/components/columns/IndexColumn.vue.d.ts +14 -0
- package/dist/types/data/table/components/columns/cells/MTableCell.vue.d.ts +15 -0
- package/dist/types/data/table/components/columns/cells/MTableHeaderCell.vue.d.ts +12 -0
- package/dist/types/data/table/components/columns/cells/MTableIndexCell.vue.d.ts +10 -0
- package/dist/types/data/table/components/control/MTableControl.vue.d.ts +21 -0
- package/dist/types/data/table/components/control/MTableControlButtons.vue.d.ts +24 -0
- package/dist/types/data/table/components/control/index.d.ts +4 -0
- package/dist/types/data/table/components/feedback/CellDialog.vue.d.ts +11 -0
- package/dist/types/data/table/components/feedback/CellPopover.vue.d.ts +14 -0
- package/dist/types/data/table/components/feedback/IndexPopover.vue.d.ts +14 -0
- package/dist/types/data/table/components/feedback/LookupPopover.vue.d.ts +8 -0
- package/dist/types/data/table/components/feedback/UploadDialog.vue.d.ts +11 -0
- package/dist/types/data/table/components/feedback/index.d.ts +11 -0
- package/dist/types/data/table/components/finder/MTableFinder.vue.d.ts +21 -0
- package/dist/types/data/table/components/finder/index.d.ts +3 -0
- package/dist/types/data/table/components/tools/MTablePage.vue.d.ts +13 -0
- package/dist/types/data/table/components/tools/MTableSelection.vue.d.ts +10 -0
- package/dist/types/data/table/components/tools/MTableSize.vue.d.ts +11 -0
- package/dist/types/data/table/components/tools/index.d.ts +4 -0
- package/dist/types/data/table/hooks/index.d.ts +4 -0
- package/dist/types/data/table/hooks/selection.d.ts +9 -0
- package/dist/types/data/table/hooks/sortable.d.ts +7 -0
- package/dist/types/data/table/hooks/style.d.ts +22 -0
- package/dist/types/data/table/index.d.ts +3 -0
- package/dist/types/data/table/types.d.ts +36 -0
- package/dist/types/data/tree/MTree.vue.d.ts +59 -0
- package/dist/types/data/tree/components/control/MTreeControl.vue.d.ts +18 -0
- package/dist/types/data/tree/components/feedback/BatchDialog.vue.d.ts +11 -0
- package/dist/types/data/tree/components/feedback/NodePopover.vue.d.ts +19 -0
- package/dist/types/data/tree/components/feedback/TableDialog.vue.d.ts +7 -0
- package/dist/types/data/tree/components/feedback/index.d.ts +5 -0
- package/dist/types/data/tree/components/feedback/widgets/BatchForm.vue.d.ts +15 -0
- package/dist/types/data/tree/components/feedback/widgets/NodeButtons.vue.d.ts +20 -0
- package/dist/types/data/tree/components/feedback/widgets/index.d.ts +3 -0
- package/dist/types/data/tree/components/index.d.ts +3 -0
- package/dist/types/data/tree/components/node/MTreeNode.vue.d.ts +9 -0
- package/dist/types/data/tree/components/node/MTreePlugin.vue.d.ts +9 -0
- package/dist/types/data/tree/components/tools/ButtonsNodeTool.vue.d.ts +3 -0
- package/dist/types/data/tree/components/tools/CustomNodeTool.vue.d.ts +3 -0
- package/dist/types/data/tree/components/tools/ToggleNodeTool.vue.d.ts +17 -0
- package/dist/types/data/tree/hooks/disclosure.d.ts +15 -0
- package/dist/types/data/tree/hooks/selection.d.ts +9 -0
- package/dist/types/data/tree/index.d.ts +3 -0
- package/dist/types/data/tree/types.d.ts +24 -0
- package/dist/types/data/types.d.ts +23 -0
- package/dist/types/data/upload/MUpload.vue.d.ts +8 -0
- package/dist/types/data/upload/components/control/UploadButtons.vue.d.ts +14 -0
- package/dist/types/data/upload/components/control/UploadControl.vue.d.ts +14 -0
- package/dist/types/data/upload/components/control/index.d.ts +3 -0
- package/dist/types/data/upload/components/dictiionary/UploadDictionary.vue.d.ts +7 -0
- package/dist/types/data/upload/components/dictiionary/index.d.ts +2 -0
- package/dist/types/data/upload/components/form/UploadForm.vue.d.ts +8 -0
- package/dist/types/data/upload/components/impoter/UploadImporter.vue.d.ts +13 -0
- package/dist/types/data/upload/components/impoter/components/FileImporter.vue.d.ts +9 -0
- package/dist/types/data/upload/components/impoter/components/ImporterTemplate.vue.d.ts +7 -0
- package/dist/types/data/upload/components/impoter/components/PasterImporter.vue.d.ts +9 -0
- package/dist/types/data/upload/components/impoter/index.d.ts +2 -0
- package/dist/types/data/upload/components/index.d.ts +3 -0
- package/dist/types/data/upload/components/table/UploadTable.vue.d.ts +16 -0
- package/dist/types/data/upload/components/table/components/cells/UploadTableCell.vue.d.ts +8 -0
- package/dist/types/data/upload/components/table/components/valid/UploadTableValidation.vue.d.ts +7 -0
- package/dist/types/data/upload/components/table/index.d.ts +2 -0
- package/dist/types/data/upload/hooks.d.ts +70 -0
- package/dist/types/data/upload/index.d.ts +3 -0
- package/dist/types/data/upload/types.d.ts +14 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/requests.d.ts +4 -0
- package/dist/types/hooks/sizes.d.ts +8 -0
- package/dist/types/index.d.ts +31 -15
- package/dist/types/meta/MetaPopover.vue.d.ts +19 -0
- package/dist/types/meta/feedbacks/CopyDialog.vue.d.ts +3 -0
- package/dist/types/meta/feedbacks/FieldDialog.vue.d.ts +14 -0
- package/dist/types/meta/feedbacks/ListDialog.vue.d.ts +13 -0
- package/dist/types/meta/feedbacks/MetaDialog.vue.d.ts +16 -0
- package/dist/types/meta/feedbacks/ViewDialog.vue.d.ts +13 -0
- package/dist/types/meta/feedbacks/index.d.ts +17 -0
- package/dist/types/meta/feedbacks/list/AddFieldDialog.vue.d.ts +14 -0
- package/dist/types/meta/feedbacks/list/CustomFieldDialog.vue.d.ts +14 -0
- package/dist/types/meta/feedbacks/list/FormatDialog.vue.d.ts +14 -0
- package/dist/types/meta/feedbacks/list/ReferDialog.vue.d.ts +12 -0
- package/dist/types/meta/forms/CustomForm.vue.d.ts +17 -0
- package/dist/types/meta/forms/FieldForm.vue.d.ts +11 -0
- package/dist/types/meta/forms/FormatForm.vue.d.ts +33 -0
- package/dist/types/meta/forms/ReferForm.vue.d.ts +25 -0
- package/dist/types/meta/forms/ViewForm.vue.d.ts +9 -0
- package/dist/types/meta/forms/field/FieldFormBtn.vue.d.ts +11 -0
- package/dist/types/meta/forms/formats/DateFormats.vue.d.ts +13 -0
- package/dist/types/meta/forms/formats/FileFormats.vue.d.ts +13 -0
- package/dist/types/meta/forms/formats/NumberFormats.vue.d.ts +13 -0
- package/dist/types/meta/forms/formats/SetFormats.vue.d.ts +13 -0
- package/dist/types/meta/forms/formats/TextFormats.vue.d.ts +13 -0
- package/dist/types/meta/forms/formats/index.d.ts +6 -0
- package/dist/types/meta/forms/index.d.ts +11 -0
- package/dist/types/meta/index.d.ts +3 -0
- package/dist/types/meta/labels/FieldLabel.vue.d.ts +7 -0
- package/dist/types/meta/labels/ViewLabel.vue.d.ts +8 -0
- package/dist/types/meta/labels/index.d.ts +3 -0
- package/dist/types/meta/panels/ListPanel.vue.d.ts +7 -0
- package/dist/types/meta/panels/ViewPanel.vue.d.ts +11 -0
- package/dist/types/meta/panels/index.d.ts +3 -0
- package/dist/types/meta/panels/list-custom/FieldPropCustom.vue.d.ts +4 -0
- package/dist/types/meta/panels/list-custom/FieldWidgets.d.ts +20 -0
- package/dist/types/meta/panels/list-custom/FieldWidgetsCustom.vue.d.ts +4 -0
- package/dist/types/meta/panels/view-custom/CurrentView.vue.d.ts +4 -0
- package/dist/types/meta/tools/MetaSelect.vue.d.ts +20 -0
- package/dist/types/meta/tools/TreeRootSelection.vue.d.ts +13 -0
- package/dist/types/meta/tools/index.d.ts +3 -0
- package/dist/types/meta/tools/types.d.ts +6 -0
- package/dist/types/types.d.ts +15 -15
- package/dist/types/usages/form-codes/CodesForm.vue.d.ts +96 -0
- package/dist/types/usages/form-codes/hooks.d.ts +143 -0
- package/dist/types/usages/form-codes/index.d.ts +3 -0
- package/dist/types/usages/form-codes/types.d.ts +8 -0
- package/dist/types/usages/index.d.ts +5 -0
- package/dist/types/usages/table-codes/CodesTable.vue.d.ts +21 -0
- package/dist/types/usages/table-codes/index.d.ts +3 -0
- package/dist/types/usages/table-codes/types.d.ts +12 -0
- package/dist/types/usages/table-data/DTable.vue.d.ts +21 -0
- package/dist/types/usages/table-data/hooks.d.ts +244 -0
- package/dist/types/usages/table-data/index.d.ts +3 -0
- package/dist/types/usages/table-data/types.d.ts +8 -0
- package/dist/types/usages/table-plain/@hooks/data.d.ts +65 -0
- package/dist/types/usages/table-plain/@hooks/view.d.ts +129 -0
- package/dist/types/usages/table-plain/PTable.vue.d.ts +23 -0
- package/dist/types/usages/table-plain/hooks.d.ts +207 -0
- package/dist/types/usages/table-plain/index.d.ts +3 -0
- package/dist/types/usages/table-plain/types.d.ts +14 -0
- package/dist/types/usages/tree-data/DTree.vue.d.ts +53 -0
- package/dist/types/usages/tree-data/hooks.d.ts +164 -0
- package/dist/types/usages/tree-data/index.d.ts +3 -0
- package/dist/types/usages/tree-data/types.d.ts +8 -0
- package/dist/types/widgets/depands/MCharts.vue.d.ts +12 -0
- package/dist/types/widgets/depands/MObjectEditor.vue.d.ts +14 -0
- package/dist/types/widgets/depands/MPdfViewer.vue.d.ts +7 -0
- package/dist/types/widgets/depands/MRichEditor.vue.d.ts +11 -0
- package/dist/types/widgets/depands/index.d.ts +5 -0
- package/dist/types/widgets/extensions/CtrlButton.vue.d.ts +31 -0
- package/dist/types/widgets/extensions/MOption.vue.d.ts +24 -0
- package/dist/types/widgets/extensions/index.d.ts +3 -0
- package/dist/types/widgets/feedbacks/dialog/MDialog.vue.d.ts +58 -0
- package/dist/types/widgets/feedbacks/dialog/types.d.ts +25 -0
- package/dist/types/widgets/feedbacks/dialog/widgets/MDialogFooter.vue.d.ts +22 -0
- package/dist/types/widgets/feedbacks/dialog/widgets/MDialogHeader.vue.d.ts +24 -0
- package/dist/types/widgets/feedbacks/functions.d.ts +21 -0
- package/dist/types/widgets/feedbacks/index.d.ts +8 -0
- package/dist/types/widgets/feedbacks/popover/MPopover.vue.d.ts +41 -0
- package/dist/types/widgets/feedbacks/popover/types.d.ts +6 -0
- package/dist/types/widgets/file/MFileView.vue.d.ts +9 -0
- package/dist/types/widgets/file/index.d.ts +2 -0
- package/dist/types/widgets/file/viewer/VCsv.vue.d.ts +6 -0
- package/dist/types/widgets/file/viewer/VExcel.vue.d.ts +6 -0
- package/dist/types/widgets/file/viewer/VImage.vue.d.ts +6 -0
- package/dist/types/widgets/file/viewer/VPdf.vue.d.ts +6 -0
- package/dist/types/widgets/file/viewer/VTxt.vue.d.ts +6 -0
- package/dist/types/widgets/file/viewer/index.d.ts +6 -0
- package/dist/types/widgets/icon/MIcon.vue.d.ts +21 -0
- package/dist/types/widgets/icon/index.d.ts +2 -0
- package/dist/types/widgets/icon/install.d.ts +2 -0
- package/dist/types/widgets/icon/names.d.ts +1 -0
- package/dist/types/widgets/icon/types.d.ts +30 -0
- package/dist/types/widgets/index.d.ts +6 -0
- package/dist/types/widgets/wrap/MShrink.vue.d.ts +25 -0
- package/dist/types/widgets/wrap/MWrap.vue.d.ts +37 -0
- package/dist/types/widgets/wrap/index.d.ts +4 -0
- package/dist/types/widgets/wrap/types.d.ts +5 -0
- package/package.json +36 -18
- package/dist/types/core.d.ts +0 -2
- package/dist/types/hooks/core/use-channel/Channel.d.ts +0 -18
- package/dist/types/hooks/core/use-channel/ChannelHub.d.ts +0 -10
- package/dist/types/hooks/core/use-channel/config.d.ts +0 -18
- package/dist/types/hooks/core/use-channel/index.d.ts +0 -35
- package/dist/types/hooks/core/use-channel/types.d.ts +0 -10
- package/dist/types/hooks/core/use-request/index.d.ts +0 -16
- package/dist/types/hooks/core/use-socket/index.d.ts +0 -5
- package/dist/types/hooks/data/types.d.ts +0 -18
- package/dist/types/hooks/data/use-dao/TableModel.d.ts +0 -4
- package/dist/types/hooks/data/use-dao/TreeModel.d.ts +0 -4
- package/dist/types/hooks/data/use-dao/index.d.ts +0 -8
- package/dist/types/hooks/data/use-dao/types.d.ts +0 -29
- package/dist/types/hooks/data/use-meta/MetaField.d.ts +0 -73
- package/dist/types/hooks/data/use-meta/MetaFormat.d.ts +0 -39
- package/dist/types/hooks/data/use-meta/MetaRefer.d.ts +0 -27
- package/dist/types/hooks/data/use-meta/MetaView.d.ts +0 -58
- package/dist/types/hooks/data/use-meta/frame.d.ts +0 -9
- package/dist/types/hooks/data/use-meta/types.d.ts +0 -6
- package/dist/types/hooks/data/use-query/Query.d.ts +0 -11
- package/dist/types/hooks/data/use-query/index.d.ts +0 -9
- package/dist/types/hooks/data/use-query/tools.d.ts +0 -8
- package/dist/types/hooks/data/use-query/types/config.d.ts +0 -18
- package/dist/types/hooks/data/use-query/types/finder.d.ts +0 -18
- package/dist/types/hooks/data/use-query/types/search.d.ts +0 -23
- package/dist/types/hooks/utils/use-auth/index.d.ts +0 -13
- package/dist/types/hooks/utils/use-cookie/index.d.ts +0 -6
- package/dist/types/hooks/utils/use-icon/types.d.ts +0 -2
- package/dist/types/hooks/utils/use-paster/index.d.ts +0 -5
- package/dist/types/hooks/utils/use-xlsx/index.d.ts +0 -5
- package/dist/types/hooks/utils/use-xlsx/types.d.ts +0 -8
- /package/dist/types/{hooks/data/use-dao/config.d.ts → app/admin/contents/index.d.ts} +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
export declare const useUserStore: import("pinia").StoreDefinition<"user", {
|
|
2
|
+
token: string;
|
|
3
|
+
name: null;
|
|
4
|
+
username: null;
|
|
5
|
+
user_entity: string;
|
|
6
|
+
user_accessor: string;
|
|
7
|
+
user_key: null;
|
|
8
|
+
response: string;
|
|
9
|
+
email: null;
|
|
10
|
+
}, {
|
|
11
|
+
isLogin: (state: {
|
|
12
|
+
token: string;
|
|
13
|
+
name: null;
|
|
14
|
+
username: null;
|
|
15
|
+
user_entity: string;
|
|
16
|
+
user_accessor: string;
|
|
17
|
+
user_key: null;
|
|
18
|
+
response: string;
|
|
19
|
+
email: null;
|
|
20
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
21
|
+
token: string;
|
|
22
|
+
name: null;
|
|
23
|
+
username: null;
|
|
24
|
+
user_entity: string;
|
|
25
|
+
user_accessor: string;
|
|
26
|
+
user_key: null;
|
|
27
|
+
response: string;
|
|
28
|
+
email: null;
|
|
29
|
+
}>) => boolean;
|
|
30
|
+
client: () => string;
|
|
31
|
+
account: (state: {
|
|
32
|
+
token: string;
|
|
33
|
+
name: null;
|
|
34
|
+
username: null;
|
|
35
|
+
user_entity: string;
|
|
36
|
+
user_accessor: string;
|
|
37
|
+
user_key: null;
|
|
38
|
+
response: string;
|
|
39
|
+
email: null;
|
|
40
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
41
|
+
token: string;
|
|
42
|
+
name: null;
|
|
43
|
+
username: null;
|
|
44
|
+
user_entity: string;
|
|
45
|
+
user_accessor: string;
|
|
46
|
+
user_key: null;
|
|
47
|
+
response: string;
|
|
48
|
+
email: null;
|
|
49
|
+
}>) => any;
|
|
50
|
+
admin: (state: {
|
|
51
|
+
token: string;
|
|
52
|
+
name: null;
|
|
53
|
+
username: null;
|
|
54
|
+
user_entity: string;
|
|
55
|
+
user_accessor: string;
|
|
56
|
+
user_key: null;
|
|
57
|
+
response: string;
|
|
58
|
+
email: null;
|
|
59
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
60
|
+
token: string;
|
|
61
|
+
name: null;
|
|
62
|
+
username: null;
|
|
63
|
+
user_entity: string;
|
|
64
|
+
user_accessor: string;
|
|
65
|
+
user_key: null;
|
|
66
|
+
response: string;
|
|
67
|
+
email: null;
|
|
68
|
+
}>) => any;
|
|
69
|
+
roles: (state: {
|
|
70
|
+
token: string;
|
|
71
|
+
name: null;
|
|
72
|
+
username: null;
|
|
73
|
+
user_entity: string;
|
|
74
|
+
user_accessor: string;
|
|
75
|
+
user_key: null;
|
|
76
|
+
response: string;
|
|
77
|
+
email: null;
|
|
78
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
79
|
+
token: string;
|
|
80
|
+
name: null;
|
|
81
|
+
username: null;
|
|
82
|
+
user_entity: string;
|
|
83
|
+
user_accessor: string;
|
|
84
|
+
user_key: null;
|
|
85
|
+
response: string;
|
|
86
|
+
email: null;
|
|
87
|
+
}>) => any;
|
|
88
|
+
active: (state: {
|
|
89
|
+
token: string;
|
|
90
|
+
name: null;
|
|
91
|
+
username: null;
|
|
92
|
+
user_entity: string;
|
|
93
|
+
user_accessor: string;
|
|
94
|
+
user_key: null;
|
|
95
|
+
response: string;
|
|
96
|
+
email: null;
|
|
97
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
98
|
+
token: string;
|
|
99
|
+
name: null;
|
|
100
|
+
username: null;
|
|
101
|
+
user_entity: string;
|
|
102
|
+
user_accessor: string;
|
|
103
|
+
user_key: null;
|
|
104
|
+
response: string;
|
|
105
|
+
email: null;
|
|
106
|
+
}>) => any;
|
|
107
|
+
temporary: (state: {
|
|
108
|
+
token: string;
|
|
109
|
+
name: null;
|
|
110
|
+
username: null;
|
|
111
|
+
user_entity: string;
|
|
112
|
+
user_accessor: string;
|
|
113
|
+
user_key: null;
|
|
114
|
+
response: string;
|
|
115
|
+
email: null;
|
|
116
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
117
|
+
token: string;
|
|
118
|
+
name: null;
|
|
119
|
+
username: null;
|
|
120
|
+
user_entity: string;
|
|
121
|
+
user_accessor: string;
|
|
122
|
+
user_key: null;
|
|
123
|
+
response: string;
|
|
124
|
+
email: null;
|
|
125
|
+
}>) => any;
|
|
126
|
+
permissions: (state: {
|
|
127
|
+
token: string;
|
|
128
|
+
name: null;
|
|
129
|
+
username: null;
|
|
130
|
+
user_entity: string;
|
|
131
|
+
user_accessor: string;
|
|
132
|
+
user_key: null;
|
|
133
|
+
response: string;
|
|
134
|
+
email: null;
|
|
135
|
+
} & import("pinia").PiniaCustomStateProperties<{
|
|
136
|
+
token: string;
|
|
137
|
+
name: null;
|
|
138
|
+
username: null;
|
|
139
|
+
user_entity: string;
|
|
140
|
+
user_accessor: string;
|
|
141
|
+
user_key: null;
|
|
142
|
+
response: string;
|
|
143
|
+
email: null;
|
|
144
|
+
}>) => any;
|
|
145
|
+
}, {
|
|
146
|
+
login(token: string): void;
|
|
147
|
+
register(response: string): void;
|
|
148
|
+
logout(): void;
|
|
149
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DataItem, DataItemId, MetaField } from "@morghulis/lib";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: DataItemId[];
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
field: MetaField;
|
|
6
|
+
row: DataItem;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { MCellProps } from "./types";
|
|
2
|
+
import { type DataItem } from "@morghulis/lib";
|
|
3
|
+
declare function getData(): DataItem | null;
|
|
4
|
+
declare function confirm(): void;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<MCellProps, {
|
|
6
|
+
getData: typeof getData;
|
|
7
|
+
confirm: typeof confirm;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
confirm: (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<MCellProps> & Readonly<{
|
|
11
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { MCellProps } from "./types";
|
|
3
|
+
export declare function useCell($config: MCellProps | Ref<MCellProps>): {
|
|
4
|
+
config: Ref<MCellProps, MCellProps>;
|
|
5
|
+
enable: import("vue").ComputedRef<boolean>;
|
|
6
|
+
component: import("vue").ComputedRef<import("vue").DefineComponent<import("./types").CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./types").CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any> | import("vue").DefineComponent<{
|
|
7
|
+
modelValue: any;
|
|
8
|
+
} & import("./types").ICell & {
|
|
9
|
+
simple?: boolean;
|
|
10
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
+
modelValue: any;
|
|
12
|
+
} & import("./types").ICell & {
|
|
13
|
+
simple?: boolean;
|
|
14
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import CharCell from "./CharCell.vue";
|
|
2
|
+
import ColorCell from "./ColorCell.vue";
|
|
3
|
+
import IconCell from "./IconCell.vue";
|
|
4
|
+
import MultiSetCell from "./MultiSetCell.vue";
|
|
5
|
+
import SetCell from "./SetCell.vue";
|
|
6
|
+
export { CharCell, ColorCell, IconCell, MultiSetCell, SetCell };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import DateArrayCell from "./DateArrayCell.vue";
|
|
2
|
+
import DateCell from "./DateCell.vue";
|
|
3
|
+
import DateRangeCell from "./DateRangeCell.vue";
|
|
4
|
+
import TimeCell from "./TimeCell.vue";
|
|
5
|
+
import TimeRangeCell from "./TimeRangeCell.vue";
|
|
6
|
+
export { DateArrayCell, DateCell, DateRangeCell, TimeCell, TimeRangeCell };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type DataItem, type MetaField, Model, type SearchType } from "@morghulis/lib";
|
|
2
|
+
export declare function useReferCell(field: MetaField, row: DataItem, type: SearchType, convertor?: (item: any) => void): {
|
|
3
|
+
model: import("vue").Ref<{
|
|
4
|
+
results: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
id?: import("@morghulis/lib").DataItemId | undefined;
|
|
7
|
+
sort?: import("@morghulis/lib").DataItemId | undefined;
|
|
8
|
+
saved?: boolean | undefined;
|
|
9
|
+
name?: string | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
}[];
|
|
12
|
+
type: SearchType;
|
|
13
|
+
total: number;
|
|
14
|
+
root: number;
|
|
15
|
+
}, Model | {
|
|
16
|
+
results: {
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
id?: import("@morghulis/lib").DataItemId | undefined;
|
|
19
|
+
sort?: import("@morghulis/lib").DataItemId | undefined;
|
|
20
|
+
saved?: boolean | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
}[];
|
|
24
|
+
type: SearchType;
|
|
25
|
+
total: number;
|
|
26
|
+
root: number;
|
|
27
|
+
}>;
|
|
28
|
+
loading: import("vue").Ref<boolean, boolean> | import("vue").ComputedRef<boolean | undefined>;
|
|
29
|
+
param: {
|
|
30
|
+
clearable: boolean;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
multiple: boolean;
|
|
33
|
+
strict: boolean;
|
|
34
|
+
props: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
display: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
manager: import("@morghulis/lib").Manager;
|
|
41
|
+
condition: {
|
|
42
|
+
includes: any;
|
|
43
|
+
excludes: any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare function convertReferConditions(condition: any | undefined, row: DataItem): any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import AutoCell from "./AutoCell.vue";
|
|
2
|
+
import CascadeCell from "./CascadeCell.vue";
|
|
3
|
+
import SelectCell from "./SelectCell.vue";
|
|
4
|
+
import TransferCell from "./TransferCell.vue";
|
|
5
|
+
import TreeCell from "./TreeCell.vue";
|
|
6
|
+
export { AutoCell, CascadeCell, SelectCell, TreeCell, TransferCell };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
type __VLS_Props = CellProps & {
|
|
3
|
+
simple?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CellProps } from "../../types";
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<CellProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type DataItem, MetaField } from "@morghulis/lib";
|
|
2
|
+
export type CellProps = {
|
|
3
|
+
modelValue: any;
|
|
4
|
+
} & ICell;
|
|
5
|
+
export type MCellProps = {
|
|
6
|
+
bean: DataItem;
|
|
7
|
+
} & ICell;
|
|
8
|
+
export type ICell = {
|
|
9
|
+
field: MetaField;
|
|
10
|
+
row: DataItem;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const cell_emits: string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type DataItem } from "@morghulis/lib";
|
|
2
|
+
import type { MFormProps } from "./types";
|
|
3
|
+
declare function getData(): DataItem[] | null;
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<MFormProps, {
|
|
5
|
+
getData: typeof getData;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
change: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<MFormProps> & Readonly<{
|
|
9
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { FormMapping, MFormProps } from "./types";
|
|
3
|
+
import { type DataItem, MetaField } from "@morghulis/lib";
|
|
4
|
+
export declare function useMForm($config: MFormProps | Ref<MFormProps>): {
|
|
5
|
+
fields: import("vue").ComputedRef<MetaField[]>;
|
|
6
|
+
bean: Ref<{
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
id?: import("@morghulis/lib").DataItemId | undefined;
|
|
9
|
+
sort?: import("@morghulis/lib").DataItemId | undefined;
|
|
10
|
+
saved?: boolean | undefined;
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
disabled?: boolean | undefined;
|
|
13
|
+
}, DataItem | {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
id?: import("@morghulis/lib").DataItemId | undefined;
|
|
16
|
+
sort?: import("@morghulis/lib").DataItemId | undefined;
|
|
17
|
+
saved?: boolean | undefined;
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
$disabled: (field: MetaField) => boolean | undefined;
|
|
22
|
+
mapping: import("vue").ComputedRef<FormMapping>;
|
|
23
|
+
row: import("vue").ComputedRef<{
|
|
24
|
+
id: import("@morghulis/lib").DataItemId;
|
|
25
|
+
sort?: import("@morghulis/lib").DataItemId;
|
|
26
|
+
saved?: boolean;
|
|
27
|
+
name?: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
} | null>;
|
|
30
|
+
data: import("vue").ComputedRef<{
|
|
31
|
+
[k: string]: any;
|
|
32
|
+
}>;
|
|
33
|
+
reset: (prop: string) => void;
|
|
34
|
+
invalid: import("vue").ComputedRef<boolean>;
|
|
35
|
+
};
|
|
36
|
+
export declare function toCellValue(v: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DataItem, type DataItemId, MetaView } from "@morghulis/lib";
|
|
2
|
+
export type FormMapping = {
|
|
3
|
+
[prop: string]: FormCell;
|
|
4
|
+
};
|
|
5
|
+
export type FormCell = {
|
|
6
|
+
prop: string;
|
|
7
|
+
value: any;
|
|
8
|
+
changed: boolean;
|
|
9
|
+
invalid: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type MFormProps = {
|
|
12
|
+
temp?: DataItem;
|
|
13
|
+
view: MetaView;
|
|
14
|
+
item: DataItem;
|
|
15
|
+
core?: DataItem;
|
|
16
|
+
keys?: DataItemId[];
|
|
17
|
+
insert?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { MetaField } from "@morghulis/lib";
|
|
2
|
+
import type { FormMapping } from "../types";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
field: MetaField;
|
|
5
|
+
mapping: FormMapping;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
reset: (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PluginButton } from "./types";
|
|
2
|
+
import type { DataItem, MetaView } from "@morghulis/lib";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
view: MetaView;
|
|
5
|
+
row: DataItem;
|
|
6
|
+
buttons: PluginButton[];
|
|
7
|
+
select: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PluginColumn } from "./types";
|
|
2
|
+
import type { MetaView, TreeItem } from "@morghulis/lib";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
view: MetaView;
|
|
5
|
+
row: TreeItem;
|
|
6
|
+
column: PluginColumn;
|
|
7
|
+
select: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|