morghulis 4.2.15 → 4.3.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 +54 -116
- package/dist/index.cjs +4 -0
- package/dist/index.js +10010 -0
- package/dist/style.css +2 -0
- package/dist/types/components/basic/DataWrapper.vue.d.ts +28 -0
- package/dist/types/components/basic/MButton.vue.d.ts +23 -0
- package/dist/types/components/basic/MIcon.vue.d.ts +18 -0
- package/dist/types/components/basic/MOptionContent.vue.d.ts +16 -0
- package/dist/types/components/basic/MOptionItem.vue.d.ts +20 -0
- package/dist/types/components/basic/MOptionList.vue.d.ts +23 -0
- package/dist/types/components/basic/MText.vue.d.ts +22 -0
- package/dist/types/components/basic/types.d.ts +35 -0
- package/dist/types/components/cell/MCell.vue.d.ts +14 -0
- package/dist/types/components/cell/instances/char/CharCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/char/ColorCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/char/IconCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/char/MultiSetCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/char/SetCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/char/index.d.ts +6 -0
- package/dist/types/components/cell/instances/date/DateArrayCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/date/DateCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/date/DateRangeCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/date/TimeCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/date/TimeRangeCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/date/index.d.ts +6 -0
- package/dist/types/components/cell/instances/date/methods.d.ts +1 -0
- package/dist/types/components/cell/instances/index.d.ts +5 -0
- package/dist/types/components/cell/instances/refer/AutoCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/refer/CascadeCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/refer/SelectCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/refer/TransferCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/refer/TreeCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/refer/hooks.d.ts +16 -0
- package/dist/types/components/cell/instances/refer/index.d.ts +6 -0
- package/dist/types/components/cell/instances/simple/BooleanCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/simple/DefaultCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/simple/NumberCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/simple/index.d.ts +4 -0
- package/dist/types/components/cell/instances/special/FileCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/special/ObjectCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/special/RichCell.vue.d.ts +12 -0
- package/dist/types/components/cell/instances/special/index.d.ts +4 -0
- package/dist/types/components/cell/methods.d.ts +1 -0
- package/dist/types/components/cell/types.d.ts +7 -0
- package/dist/types/components/cell/widgets/MappingEditor.vue.d.ts +10 -0
- package/dist/types/components/editor/MCharts.vue.d.ts +12 -0
- package/dist/types/components/editor/MObjectEditor.vue.d.ts +11 -0
- package/dist/types/components/editor/MRichEditor.vue.d.ts +11 -0
- package/dist/types/components/editor/MTransferEditor.vue.d.ts +19 -0
- package/dist/types/components/feedback/MDialog.vue.d.ts +44 -0
- package/dist/types/components/feedback/MPopover.vue.d.ts +25 -0
- package/dist/types/components/feedback/types.d.ts +21 -0
- package/dist/types/components/form/MForm.vue.d.ts +21 -0
- package/dist/types/components/form/types.d.ts +2 -0
- package/dist/types/components/index.d.ts +19 -0
- package/dist/types/components/meta/MetaPanel.vue.d.ts +15 -7
- package/dist/types/components/meta/contents/MetaFieldForm.vue.d.ts +7 -0
- package/dist/types/components/meta/contents/MetaFieldList.vue.d.ts +8 -0
- package/dist/types/components/meta/contents/MetaViewForm.vue.d.ts +12 -0
- package/dist/types/components/meta/contents/MetaViewList.vue.d.ts +17 -0
- package/dist/types/components/meta/plugins/FormatDialog.vue.d.ts +10 -0
- package/dist/types/components/meta/plugins/FormatPlugin.vue.d.ts +4 -0
- package/dist/types/components/meta/plugins/ReferDialog.vue.d.ts +10 -0
- package/dist/types/components/meta/plugins/ReferPlugin.vue.d.ts +4 -0
- package/dist/types/components/meta/plugins/ViewCodePlugin.vue.d.ts +4 -0
- package/dist/types/components/meta/plugins/format/FormatEditor.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/DateFormats.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/FileFormats.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/NumberFormats.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/SetFormats.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/TextFormats.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/format/instances/index.d.ts +6 -0
- package/dist/types/components/meta/plugins/refer/ReferEditor.vue.d.ts +13 -0
- package/dist/types/components/meta/plugins/refer/tools/ReferOption.vue.d.ts +12 -0
- package/dist/types/components/meta/plugins/refer/tools/ReferTree.vue.d.ts +3 -0
- package/dist/types/components/meta/widgets/CustomFields.vue.d.ts +12 -0
- package/dist/types/components/meta/widgets/MetaNameInput.vue.d.ts +6 -0
- package/dist/types/components/meta/widgets/MetaSelect.vue.d.ts +23 -0
- package/dist/types/components/meta/widgets/TreeRootSelection.vue.d.ts +13 -0
- package/dist/types/components/plugin/PluginButtonContent.vue.d.ts +15 -0
- package/dist/types/components/plugin/PluginColumnContent.vue.d.ts +10 -0
- package/dist/types/components/table/DataTable.vue.d.ts +33 -0
- package/dist/types/components/table/consts.d.ts +14 -0
- package/dist/types/components/table/hooks/table-sort.d.ts +6 -0
- package/dist/types/components/table/tools/DTCell.vue.d.ts +17 -0
- package/dist/types/components/table/tools/DTCellEditor.vue.d.ts +16 -0
- package/dist/types/components/table/tools/DTController.vue.d.ts +26 -0
- package/dist/types/components/table/tools/DTFooter.vue.d.ts +9 -0
- package/dist/types/components/table/tools/DTHeader.vue.d.ts +20 -0
- package/dist/types/components/table/tools/DTIndex.vue.d.ts +16 -0
- package/dist/types/components/table/tools/DTSave.vue.d.ts +16 -0
- package/dist/types/components/table/tools/DTSaveHeader.vue.d.ts +6 -0
- package/dist/types/components/table/tools/DTSearch.vue.d.ts +15 -0
- package/dist/types/components/table/tools/DTViews.vue.d.ts +12 -0
- package/dist/types/components/table/types.d.ts +18 -0
- package/dist/types/components/tree/DataTree.vue.d.ts +115 -0
- package/dist/types/components/tree/methods.d.ts +1 -0
- package/dist/types/components/tree/tools/DTreeController.vue.d.ts +22 -0
- package/dist/types/components/tree/tools/DTreeNode.vue.d.ts +11 -0
- package/dist/types/components/tree/tools/DTreeNodeEdit.vue.d.ts +27 -0
- package/dist/types/components/tree/tools/DTreeTable.vue.d.ts +10 -0
- package/dist/types/components/tree/types.d.ts +16 -0
- package/dist/types/components/tree/widgets/DTreeTablePath.vue.d.ts +3 -0
- package/dist/types/components/tree/widgets/DTreeTablePlugin.vue.d.ts +4 -0
- package/dist/types/components/types.d.ts +4 -2
- package/dist/types/components/uploader/MUploader.vue.d.ts +10 -0
- package/dist/types/components/uploader/UploadTable.vue.d.ts +15 -0
- package/dist/types/components/uploader/hooks.d.ts +5 -0
- package/dist/types/components/uploader/tools/ClipUploader.vue.d.ts +12 -0
- package/dist/types/components/uploader/tools/DictDialog.vue.d.ts +7 -0
- package/dist/types/components/uploader/tools/FileUploader.vue.d.ts +13 -0
- package/dist/types/components/uploader/tools/UploadControl.vue.d.ts +22 -0
- package/dist/types/components/uploader/widgets/UploadDictionary.vue.d.ts +7 -0
- package/dist/types/components/uploader/widgets/UploadSwitcher.vue.d.ts +16 -0
- package/dist/types/components/viewer/MFileView.vue.d.ts +8 -0
- package/dist/types/components/viewer/instances/MDataViewer.vue.d.ts +6 -0
- package/dist/types/components/viewer/instances/MImageViewer.vue.d.ts +6 -0
- package/dist/types/components/viewer/instances/MPdfViewer.vue.d.ts +7 -0
- package/dist/types/components/viewer/instances/MTxtView.vue.d.ts +6 -0
- package/dist/types/components/viewer/instances/MUnsupportedViewer.vue.d.ts +3 -0
- package/dist/types/components/viewer/instances/index.d.ts +6 -0
- package/dist/types/components/viewer/use-file.d.ts +6 -0
- package/dist/types/contents/MApp.vue.d.ts +15 -0
- package/dist/types/contents/MSystem.vue.d.ts +3 -0
- package/dist/types/contents/MWelcome.vue.d.ts +3 -0
- package/dist/types/contents/common/NoPermission.vue.d.ts +3 -0
- package/dist/types/contents/common/NotFound.vue.d.ts +3 -0
- package/dist/types/contents/frame/MFrame.vue.d.ts +17 -0
- package/dist/types/contents/frame/menu/FrameMenu.vue.d.ts +10 -0
- package/dist/types/contents/frame/menu/FrameNavigate.vue.d.ts +7 -0
- package/dist/types/contents/frame/menu/MMenu.vue.d.ts +12 -0
- package/dist/types/contents/frame/menu/MenuTreeNode.vue.d.ts +10 -0
- package/dist/types/contents/frame/user/FrameAuth.vue.d.ts +3 -0
- package/dist/types/{components/view/login/SignIn.vue.d.ts → contents/frame/user/edit/AccountManage.vue.d.ts} +4 -6
- package/dist/types/{components/view/login/MLogin.vue.d.ts → contents/frame/user/edit/PasswordManage.vue.d.ts} +4 -2
- package/dist/types/{components/view/login/SignUp.vue.d.ts → contents/frame/user/edit/ProfileManage.vue.d.ts} +4 -7
- package/dist/types/contents/frame/user/login/AuthDropdown.vue.d.ts +3 -0
- package/dist/types/contents/frame/user/login/LoginForm.vue.d.ts +15 -0
- package/dist/types/contents/index.d.ts +2 -0
- package/dist/types/contents/system/AccountManage.vue.d.ts +3 -0
- package/dist/types/contents/system/MenuManage.vue.d.ts +3 -0
- package/dist/types/contents/system/RoleManage.vue.d.ts +3 -0
- package/dist/types/contents/system/UserManage.vue.d.ts +3 -0
- package/dist/types/contents/system/menu/AuthSetting.vue.d.ts +11 -0
- package/dist/types/contents/system/menu/MenuAuthPlugin.vue.d.ts +4 -0
- package/dist/types/contents/system/menu/RouteSetting.vue.d.ts +12 -0
- package/dist/types/contents/system/role/AccountSetting.vue.d.ts +11 -0
- package/dist/types/contents/system/role/RoleMenuView.vue.d.ts +8 -0
- package/dist/types/global-components.d.ts +23 -0
- package/dist/types/index.d.ts +7 -33
- package/dist/types/library/index.d.ts +19 -0
- package/dist/types/library/store-options/index.d.ts +12 -0
- package/dist/types/library/store-options/types.d.ts +12 -0
- package/dist/types/library/store-user/index.d.ts +12 -0
- package/dist/types/library/store-user/types.d.ts +15 -0
- package/dist/types/library/types.d.ts +15 -0
- package/dist/types/library/use-auth/consts.d.ts +1 -0
- package/dist/types/library/use-auth/index.d.ts +6 -0
- package/dist/types/library/use-auth/types.d.ts +7 -0
- package/dist/types/library/use-channel/index.d.ts +27 -0
- package/dist/types/library/use-channel/types.d.ts +21 -0
- package/dist/types/library/use-channel-container/index.d.ts +16 -0
- package/dist/types/library/use-dao/consts.d.ts +17 -0
- package/dist/types/library/use-dao/index.d.ts +26 -0
- package/dist/types/library/use-dao/methods.d.ts +2 -0
- package/dist/types/library/use-dao/types.d.ts +27 -0
- package/dist/types/library/use-data/index.d.ts +5 -0
- package/dist/types/library/use-data/methods.d.ts +3 -0
- package/dist/types/library/use-data/types.d.ts +38 -0
- package/dist/types/library/use-excel/index.d.ts +8 -0
- package/dist/types/library/use-excel/types.d.ts +20 -0
- package/dist/types/library/use-feedback/consts.d.ts +1 -0
- package/dist/types/library/use-feedback/index.d.ts +16 -0
- package/dist/types/{hooks/utils/use-icon → library/use-feedback}/types.d.ts +5 -1
- package/dist/types/library/use-item/types.d.ts +48 -0
- package/dist/types/library/use-menu/index.d.ts +62 -0
- package/dist/types/library/use-meta-query/consts.d.ts +9 -0
- package/dist/types/library/use-meta-query/index.d.ts +13 -0
- package/dist/types/library/use-meta-query/methods.d.ts +15 -0
- package/dist/types/library/use-meta-query/types/field.d.ts +74 -0
- package/dist/types/library/use-meta-query/types/meta.d.ts +27 -0
- package/dist/types/library/use-meta-query/types/query.d.ts +44 -0
- package/dist/types/library/use-meta-query/types/view.d.ts +33 -0
- package/dist/types/library/use-pagination/index.d.ts +16 -0
- package/dist/types/{hooks/utils → library}/use-paster/index.d.ts +1 -0
- package/dist/types/library/use-plugin/index.d.ts +9 -0
- package/dist/types/library/use-plugin/types.d.ts +47 -0
- package/dist/types/library/use-request/index.d.ts +5 -0
- package/dist/types/{components/view/admin/hooks/size.d.ts → library/use-size/index.d.ts} +1 -1
- package/dist/types/library/use-socket/index.d.ts +11 -0
- package/dist/types/library/use-socket-callback/index.d.ts +1 -0
- package/dist/types/library/use-valar/index.d.ts +130 -0
- package/dist/types/library/use-valar/types.d.ts +24 -0
- package/dist/types/types.d.ts +2 -0
- package/package.json +63 -50
- package/dist/full-width-button-handler-D8h6mHdo-D4lDweZZ.js +0 -6
- package/dist/full-width-button-handler-D8h6mHdo-D4lDweZZ.js.map +0 -1
- package/dist/index-Crd-M4dc.js +0 -45199
- package/dist/index-Crd-M4dc.js.map +0 -1
- package/dist/index.css +0 -1
- package/dist/morghulis-core.es.js +0 -32840
- package/dist/morghulis-core.es.js.map +0 -1
- package/dist/morghulis-core.umd.js +0 -4667
- package/dist/morghulis-core.umd.js.map +0 -1
- package/dist/string-styles-DT93GIY_-DT93GIY_.js +0 -122
- package/dist/string-styles-DT93GIY_-DT93GIY_.js.map +0 -1
- package/dist/styles-handler-nPP1xL5s-CTGOF8Su.js +0 -16
- package/dist/styles-handler-nPP1xL5s-CTGOF8Su.js.map +0 -1
- package/dist/types/components/MApp.vue.d.ts +0 -20
- package/dist/types/components/data/cell/MCell.vue.d.ts +0 -19
- package/dist/types/components/data/cell/char/CharCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/char/ColorCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/char/IconCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/char/MultiSetCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/char/SetCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/date/DateArrayCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/date/DateCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/date/DateRangeCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/date/DateTypes.d.ts +0 -1
- package/dist/types/components/data/cell/date/TimeCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/date/TimeRangeCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/refer/AutoCell.vue.d.ts +0 -16
- package/dist/types/components/data/cell/refer/CascadeCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/refer/FieldTransfer.vue.d.ts +0 -14
- package/dist/types/components/data/cell/refer/SelectCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/refer/TransferCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/refer/TreeCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/refer/hooks.d.ts +0 -223
- package/dist/types/components/data/cell/simple/BooleanCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/simple/DefaultCell.vue.d.ts +0 -7
- package/dist/types/components/data/cell/simple/NumberCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/special/FileCell.vue.d.ts +0 -14
- package/dist/types/components/data/cell/special/FileTypes.d.ts +0 -1
- package/dist/types/components/data/cell/special/FilesCell.vue.d.ts +0 -2
- package/dist/types/components/data/cell/special/ObjectCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/special/RichCell.vue.d.ts +0 -9
- package/dist/types/components/data/cell/types.d.ts +0 -21
- package/dist/types/components/data/form/DForm.vue.d.ts +0 -133
- package/dist/types/components/data/form/MForm.vue.d.ts +0 -21
- package/dist/types/components/data/form/hooks.d.ts +0 -36
- package/dist/types/components/data/form/types.d.ts +0 -4
- package/dist/types/components/data/form/widgets/MFormFiles.vue.d.ts +0 -8
- package/dist/types/components/data/form/widgets/MFormLabel.vue.d.ts +0 -12
- package/dist/types/components/data/plugin/MPluginButtons.vue.d.ts +0 -11
- package/dist/types/components/data/plugin/MPluginColumn.vue.d.ts +0 -11
- package/dist/types/components/data/plugin/types.d.ts +0 -56
- package/dist/types/components/data/table/MTable.vue.d.ts +0 -41
- package/dist/types/components/data/table/hooks/rest.d.ts +0 -10
- package/dist/types/components/data/table/hooks/selection.d.ts +0 -17
- package/dist/types/components/data/table/hooks/sortable.d.ts +0 -6
- package/dist/types/components/data/table/hooks/style.d.ts +0 -22
- package/dist/types/components/data/table/types.d.ts +0 -27
- package/dist/types/components/data/table/usages/data-table/DTable.vue.d.ts +0 -220
- package/dist/types/components/data/table/usages/data-table/hooks.d.ts +0 -332
- package/dist/types/components/data/table/usages/data-table/types.d.ts +0 -17
- package/dist/types/components/data/table/usages/plain-table/PTable.vue.d.ts +0 -25
- package/dist/types/components/data/table/usages/plain-table/hooks.d.ts +0 -93
- package/dist/types/components/data/table/usages/plain-table/types.d.ts +0 -28
- package/dist/types/components/data/table/widgets/MTableButtons.vue.d.ts +0 -10
- package/dist/types/components/data/table/widgets/MTableCell.vue.d.ts +0 -19
- package/dist/types/components/data/table/widgets/MTableColumns.vue.d.ts +0 -10
- package/dist/types/components/data/table/widgets/MTableControl.vue.d.ts +0 -25
- package/dist/types/components/data/table/widgets/MTableFinder.vue.d.ts +0 -22
- package/dist/types/components/data/table/widgets/MTableHeaderCell.vue.d.ts +0 -19
- package/dist/types/components/data/table/widgets/MTableIndexCell.vue.d.ts +0 -11
- package/dist/types/components/data/table/widgets/MTablePage.vue.d.ts +0 -12
- package/dist/types/components/data/table/widgets/MTableSelection.vue.d.ts +0 -18
- package/dist/types/components/data/table/widgets/MTableSize.vue.d.ts +0 -10
- package/dist/types/components/data/tree/MTree.vue.d.ts +0 -63
- package/dist/types/components/data/tree/hooks/disclosure.d.ts +0 -11
- package/dist/types/components/data/tree/hooks/selection.d.ts +0 -10
- package/dist/types/components/data/tree/types.d.ts +0 -32
- package/dist/types/components/data/tree/usages/data-tree/DTree.vue.d.ts +0 -54
- package/dist/types/components/data/tree/usages/data-tree/DTreeTable.vue.d.ts +0 -12
- package/dist/types/components/data/tree/usages/data-tree/DTreeTablePlugin.vue.d.ts +0 -3
- package/dist/types/components/data/tree/usages/data-tree/hooks.d.ts +0 -248
- package/dist/types/components/data/tree/usages/data-tree/types.d.ts +0 -15
- package/dist/types/components/data/tree/usages/menu-tree/MenuTree.vue.d.ts +0 -12
- package/dist/types/components/data/tree/usages/menu-tree/MenuTreeNode.vue.d.ts +0 -9
- package/dist/types/components/data/tree/usages/menu-tree/hooks.d.ts +0 -19
- package/dist/types/components/data/tree/widgets/MTreeBatchInsert.vue.d.ts +0 -13
- package/dist/types/components/data/tree/widgets/MTreeNode.vue.d.ts +0 -30
- package/dist/types/components/data/tree/widgets/MTreeRootControl.vue.d.ts +0 -24
- package/dist/types/components/data/tree/widgets/MTreeToggleButton.vue.d.ts +0 -13
- package/dist/types/components/data/upload/DUpload.vue.d.ts +0 -12
- package/dist/types/components/data/upload/FieldMapping.vue.d.ts +0 -10
- package/dist/types/components/data/upload/PUpload.vue.d.ts +0 -10
- package/dist/types/components/feedbacks/dialog/MDialog.vue.d.ts +0 -57
- package/dist/types/components/feedbacks/dialog/types.d.ts +0 -27
- package/dist/types/components/feedbacks/dialog/widgets/MDialogFooter.vue.d.ts +0 -21
- package/dist/types/components/feedbacks/dialog/widgets/MDialogHeader.vue.d.ts +0 -23
- package/dist/types/components/feedbacks/feedback.d.ts +0 -6
- package/dist/types/components/feedbacks/index.d.ts +0 -14
- package/dist/types/components/feedbacks/popover/MPopover.vue.d.ts +0 -39
- package/dist/types/components/feedbacks/popover/types.d.ts +0 -13
- package/dist/types/components/meta/MetaEditor.vue.d.ts +0 -10
- package/dist/types/components/meta/MetaViewEditor.vue.d.ts +0 -12
- package/dist/types/components/meta/field/MetaFieldForm.vue.d.ts +0 -9
- package/dist/types/components/meta/field/MetaFieldList.vue.d.ts +0 -6
- package/dist/types/components/meta/field/tools.d.ts +0 -5
- package/dist/types/components/meta/field/widgets/MetaFieldAdd.vue.d.ts +0 -8
- package/dist/types/components/meta/field/widgets/MetaFieldCustom.vue.d.ts +0 -19
- package/dist/types/components/meta/field/widgets/MetaFieldFormat.vue.d.ts +0 -12
- package/dist/types/components/meta/field/widgets/MetaFieldJson.vue.d.ts +0 -15
- package/dist/types/components/meta/field/widgets/MetaFieldProp.vue.d.ts +0 -3
- package/dist/types/components/meta/field/widgets/MetaFieldRefer.vue.d.ts +0 -10
- package/dist/types/components/meta/field/widgets/formats/DateFormats.vue.d.ts +0 -14
- package/dist/types/components/meta/field/widgets/formats/FileFormats.vue.d.ts +0 -14
- package/dist/types/components/meta/field/widgets/formats/NumberFormats.vue.d.ts +0 -14
- package/dist/types/components/meta/field/widgets/formats/SetFormats.vue.d.ts +0 -14
- package/dist/types/components/meta/field/widgets/formats/TextFormats.vue.d.ts +0 -14
- package/dist/types/components/meta/tools/MetaCopy.vue.d.ts +0 -6
- package/dist/types/components/meta/tools/MetaFieldCodes.vue.d.ts +0 -9
- package/dist/types/components/meta/tools/MetaSelect.vue.d.ts +0 -19
- package/dist/types/components/meta/tools/MetaViewCurrent.vue.d.ts +0 -3
- package/dist/types/components/meta/types.d.ts +0 -6
- package/dist/types/components/system/MSystem.vue.d.ts +0 -2
- package/dist/types/components/system/account/MAccount.vue.d.ts +0 -2
- package/dist/types/components/system/account/MAccountUser.vue.d.ts +0 -6
- package/dist/types/components/system/menu/MMenu.vue.d.ts +0 -2
- package/dist/types/components/system/menu/MMenuPlugin.vue.d.ts +0 -3
- package/dist/types/components/system/menu/MMenuView.vue.d.ts +0 -2
- package/dist/types/components/system/role/MRole.vue.d.ts +0 -2
- package/dist/types/components/system/role/MRoleAccount.vue.d.ts +0 -8
- package/dist/types/components/system/role/MRoleTransfer.vue.d.ts +0 -10
- package/dist/types/components/system/user/MUser.vue.d.ts +0 -2
- package/dist/types/components/system/user/MUserForm.vue.d.ts +0 -10
- package/dist/types/components/view/NoPermission.vue.d.ts +0 -2
- package/dist/types/components/view/NotFound.vue.d.ts +0 -2
- package/dist/types/components/view/admin/MAdmin.vue.d.ts +0 -14
- package/dist/types/components/view/admin/MAdminAuth.vue.d.ts +0 -12
- package/dist/types/components/view/admin/MAdminAuthControl.vue.d.ts +0 -6
- package/dist/types/components/view/admin/MAdminMain.vue.d.ts +0 -2
- package/dist/types/components/view/admin/MAdminMenu.vue.d.ts +0 -6
- package/dist/types/components/view/admin/MAdminNeck.vue.d.ts +0 -6
- package/dist/types/components/view/admin/MAdminTitle.vue.d.ts +0 -2
- package/dist/types/components/view/admin/editors/UserAccountEditor.vue.d.ts +0 -2
- package/dist/types/components/view/admin/editors/UserPasswordEditor.vue.d.ts +0 -6
- package/dist/types/components/view/admin/hooks/menu.d.ts +0 -5
- package/dist/types/components/view/home/MHome.vue.d.ts +0 -2
- package/dist/types/components/view/login/hooks.d.ts +0 -2
- package/dist/types/components/widgets/button/CtrlButton.vue.d.ts +0 -27
- package/dist/types/components/widgets/button/types.d.ts +0 -24
- package/dist/types/components/widgets/echarts/ECharts.vue.d.ts +0 -11
- package/dist/types/components/widgets/echarts/defaultOptions.d.ts +0 -13
- package/dist/types/components/widgets/editor/MKeyValueEditor.vue.d.ts +0 -11
- package/dist/types/components/widgets/editor/MObjectEditor.vue.d.ts +0 -13
- package/dist/types/components/widgets/editor/MRichEditor.vue.d.ts +0 -10
- package/dist/types/components/widgets/file/MFileView.vue.d.ts +0 -8
- package/dist/types/components/widgets/file/viewer/VCsv.vue.d.ts +0 -5
- package/dist/types/components/widgets/file/viewer/VExcel.vue.d.ts +0 -5
- package/dist/types/components/widgets/file/viewer/VImage.vue.d.ts +0 -5
- package/dist/types/components/widgets/file/viewer/VPdf.vue.d.ts +0 -5
- package/dist/types/components/widgets/file/viewer/VTxt.vue.d.ts +0 -5
- package/dist/types/components/widgets/icon/MIcon.vue.d.ts +0 -19
- package/dist/types/components/widgets/icon/types.d.ts +0 -28
- package/dist/types/components/widgets/select/MOption.vue.d.ts +0 -23
- package/dist/types/components/widgets/select/TreeRootSelection.vue.d.ts +0 -12
- package/dist/types/components/widgets/wrap/MChannelHub.vue.d.ts +0 -2
- package/dist/types/components/widgets/wrap/MShrink.vue.d.ts +0 -24
- package/dist/types/components/widgets/wrap/MWrap.vue.d.ts +0 -36
- package/dist/types/components/widgets/wrap/types.d.ts +0 -5
- package/dist/types/exports/classes.d.ts +0 -4
- package/dist/types/exports/components.d.ts +0 -20
- package/dist/types/exports/hooks.d.ts +0 -11
- package/dist/types/exports/instances.d.ts +0 -8
- package/dist/types/exports/methods.d.ts +0 -1
- package/dist/types/exports/types.d.ts +0 -10
- package/dist/types/hooks/core/use-channel/hooks.d.ts +0 -14
- package/dist/types/hooks/core/use-channel/types.d.ts +0 -48
- package/dist/types/hooks/core/use-core/index.d.ts +0 -3
- package/dist/types/hooks/core/use-core/store.d.ts +0 -13
- package/dist/types/hooks/core/use-core/types.d.ts +0 -12
- package/dist/types/hooks/core/use-request/index.d.ts +0 -16
- package/dist/types/hooks/core/use-router/index.d.ts +0 -2
- package/dist/types/hooks/core/use-socket/index.d.ts +0 -5
- package/dist/types/hooks/data/meta/MetaField.d.ts +0 -44
- package/dist/types/hooks/data/meta/MetaFormat.d.ts +0 -24
- package/dist/types/hooks/data/meta/MetaProperty.d.ts +0 -13
- package/dist/types/hooks/data/meta/MetaRefer.d.ts +0 -19
- package/dist/types/hooks/data/meta/MetaView.d.ts +0 -48
- package/dist/types/hooks/data/meta/parser.d.ts +0 -18
- package/dist/types/hooks/data/meta/types.d.ts +0 -146
- package/dist/types/hooks/data/meta/vars.d.ts +0 -19
- package/dist/types/hooks/data/types.d.ts +0 -18
- package/dist/types/hooks/data/use-collector/index.d.ts +0 -14
- package/dist/types/hooks/data/use-collector/types.d.ts +0 -4
- package/dist/types/hooks/data/use-condition/Condition.d.ts +0 -6
- package/dist/types/hooks/data/use-condition/index.d.ts +0 -41
- package/dist/types/hooks/data/use-condition/types.d.ts +0 -8
- package/dist/types/hooks/data/use-condition/vars.d.ts +0 -20
- package/dist/types/hooks/data/use-dao/Dao.d.ts +0 -19
- package/dist/types/hooks/data/use-dao/Search.d.ts +0 -13
- package/dist/types/hooks/data/use-dao/index.d.ts +0 -9
- package/dist/types/hooks/data/use-dao/types.d.ts +0 -23
- package/dist/types/hooks/data/use-finder/Lookup.d.ts +0 -10
- package/dist/types/hooks/data/use-finder/index.d.ts +0 -23
- package/dist/types/hooks/data/use-finder/parser.d.ts +0 -3
- package/dist/types/hooks/data/use-finder/types.d.ts +0 -9
- package/dist/types/hooks/data/use-geo/index.d.ts +0 -120
- package/dist/types/hooks/data/use-geo/types.d.ts +0 -12
- package/dist/types/hooks/data/use-model/Rest.d.ts +0 -21
- package/dist/types/hooks/data/use-model/hooks.d.ts +0 -77
- package/dist/types/hooks/data/use-model/tools.d.ts +0 -10
- package/dist/types/hooks/data/use-model/types.d.ts +0 -42
- package/dist/types/hooks/utils/use-aoa/index.d.ts +0 -10
- package/dist/types/hooks/utils/use-aoa/types.d.ts +0 -5
- package/dist/types/hooks/utils/use-auth/tool.d.ts +0 -1
- package/dist/types/hooks/utils/use-auth/user.d.ts +0 -149
- package/dist/types/hooks/utils/use-cookie/index.d.ts +0 -6
- package/dist/types/hooks/utils/use-xlsx/index.d.ts +0 -13
- package/dist/types/hooks/utils/use-xlsx/types.d.ts +0 -31
- package/dist/vanilla-picker-BAEwS4Fy-Bbe5Ex8w.js +0 -537
- package/dist/vanilla-picker-BAEwS4Fy-Bbe5Ex8w.js.map +0 -1
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { Ticker } from "./types";
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
loading?: boolean;
|
|
4
|
-
ticker?: Ticker;
|
|
5
|
-
height?: string;
|
|
6
|
-
};
|
|
7
|
-
declare var __VLS_11: {
|
|
8
|
-
width: number;
|
|
9
|
-
}, __VLS_26: {
|
|
10
|
-
width: number;
|
|
11
|
-
}, __VLS_28: {
|
|
12
|
-
width: number;
|
|
13
|
-
}, __VLS_40: {
|
|
14
|
-
width: number;
|
|
15
|
-
}, __VLS_48: {
|
|
16
|
-
width: number;
|
|
17
|
-
};
|
|
18
|
-
type __VLS_Slots = {} & {
|
|
19
|
-
header?: (props: typeof __VLS_11) => any;
|
|
20
|
-
} & {
|
|
21
|
-
'header-tool'?: (props: typeof __VLS_26) => any;
|
|
22
|
-
} & {
|
|
23
|
-
default?: (props: typeof __VLS_28) => any;
|
|
24
|
-
} & {
|
|
25
|
-
footer?: (props: typeof __VLS_40) => any;
|
|
26
|
-
} & {
|
|
27
|
-
'footer-tool'?: (props: typeof __VLS_48) => any;
|
|
28
|
-
};
|
|
29
|
-
declare const __VLS_component: 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>;
|
|
30
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import MForm from "../components/data/form/MForm.vue";
|
|
2
|
-
import DForm from "../components/data/form/DForm.vue";
|
|
3
|
-
import DTable from "../components/data/table/usages/data-table/DTable.vue";
|
|
4
|
-
import PTable from "../components/data/table/usages/plain-table/PTable.vue";
|
|
5
|
-
import DTree from "../components/data/tree/usages/data-tree/DTree.vue";
|
|
6
|
-
import MDialog from "../components/feedbacks/dialog/MDialog.vue";
|
|
7
|
-
import MPopover from "../components/feedbacks/popover/MPopover.vue";
|
|
8
|
-
import CtrlButton from "../components/widgets/button/CtrlButton.vue";
|
|
9
|
-
import ECharts from "../components/widgets/echarts/ECharts.vue";
|
|
10
|
-
import MKeyValueEditor from "../components/widgets/editor/MKeyValueEditor.vue";
|
|
11
|
-
import MObjectEditor from "../components/widgets/editor/MObjectEditor.vue";
|
|
12
|
-
import MRichEditor from "../components/widgets/editor/MRichEditor.vue";
|
|
13
|
-
import MIcon from "../components/widgets/icon/MIcon.vue";
|
|
14
|
-
import MShrink from "../components/widgets/wrap/MShrink.vue";
|
|
15
|
-
import MApp from "../components/MApp.vue";
|
|
16
|
-
import MWrap from "../components/widgets/wrap/MWrap.vue";
|
|
17
|
-
import MOption from "../components/widgets/select/MOption.vue";
|
|
18
|
-
import MetaEditor from "../components/meta/MetaEditor.vue";
|
|
19
|
-
import MetaFieldForm from "../components/meta/field/MetaFieldForm.vue";
|
|
20
|
-
export { MForm, DForm, DTable, PTable, DTree, MDialog, MPopover, CtrlButton, MOption, ECharts, MIcon, MKeyValueEditor, MObjectEditor, MRichEditor, MShrink, MApp, MWrap, MetaEditor, MetaFieldForm };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { usePaster } from "../hooks/utils/use-paster";
|
|
2
|
-
export { useXlsx } from "../hooks/utils/use-xlsx";
|
|
3
|
-
export { useUserStore } from "../hooks/utils/use-auth/user";
|
|
4
|
-
export { useCookies } from "../hooks/utils/use-cookie";
|
|
5
|
-
export { useAoa } from "../hooks/utils/use-aoa";
|
|
6
|
-
export { useDao } from "../hooks/data/use-dao";
|
|
7
|
-
export { useRequest } from "../hooks/core/use-request";
|
|
8
|
-
export { useChannel } from "../hooks/core/use-channel/hooks";
|
|
9
|
-
export { useTableRestButtons } from "../components/data/table/hooks/rest";
|
|
10
|
-
export { useAdminSize } from "../components/view/admin/hooks/size";
|
|
11
|
-
export { useGeo } from "../hooks/data/use-geo";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type { MPopoverInstance } from "../components/feedbacks/popover/types";
|
|
2
|
-
export type { MDialogInstance } from "../components/feedbacks/dialog/types";
|
|
3
|
-
export type { MTreeInstance } from "../components/data/tree/usages/data-tree/types";
|
|
4
|
-
export type { DFormInstance, MFormInstance } from "../components/data/form/types";
|
|
5
|
-
export type { PTableInstance } from "../components/data/table/usages/plain-table/types";
|
|
6
|
-
export type { DTableInstance } from "../components/data/table/usages/data-table/types";
|
|
7
|
-
export type { MTableInstance } from "../components/data/table/types";
|
|
8
|
-
export type { DTreeInstance } from "../components/data/tree/usages/data-tree/types";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { $$message, $alert, $confirm, $message } from "../components/feedbacks/feedback";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type { XlsSheet, XlsSheetMerge } from "../hooks/utils/use-xlsx/types";
|
|
2
|
-
export type { IconNames } from "../hooks/utils/use-icon/types";
|
|
3
|
-
export type { Aoa } from "../hooks/utils/use-aoa/types";
|
|
4
|
-
export type { IDao } from "../hooks/data/use-dao/types";
|
|
5
|
-
export type { IMeta, IMetaView, IMetaField, Validator } from "../hooks/data/meta/types";
|
|
6
|
-
export type { PluginButton, PluginColumn, PluginColumnProps } from "../components/data/plugin/types";
|
|
7
|
-
export type { DataItem, PropItem, TreeItem, Database, DataItemId } from "../hooks/data/types";
|
|
8
|
-
export type { IModel } from "../hooks/data/use-model/types";
|
|
9
|
-
export type { Rest } from "../hooks/data/use-model/Rest";
|
|
10
|
-
export type { PTableField } from "../components/data/table/usages/plain-table/types";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { Channel, ChannelResolve, ChannelResponse, ChannelStatus, IChannel } from "./types";
|
|
3
|
-
export declare function useChannelHub(): {
|
|
4
|
-
container: import("vue").Reactive<Channel[]>;
|
|
5
|
-
invoke: (response: ChannelResponse) => void;
|
|
6
|
-
mount: (config: IChannel) => Channel;
|
|
7
|
-
unmount: (config: IChannel) => void;
|
|
8
|
-
execute: (config: IChannel, data: any, resolve?: ChannelResolve) => void;
|
|
9
|
-
};
|
|
10
|
-
export declare function useChannel($config: IChannel | Ref<IChannel>): {
|
|
11
|
-
execute: (data: any, callback?: (data?: any) => void) => void;
|
|
12
|
-
config: Ref<IChannel, IChannel>;
|
|
13
|
-
status: import("vue").ComputedRef<ChannelStatus>;
|
|
14
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { Reactive } from "vue";
|
|
2
|
-
export type IChannel = {
|
|
3
|
-
handler: string;
|
|
4
|
-
url?: string;
|
|
5
|
-
auth?: boolean;
|
|
6
|
-
token?: string;
|
|
7
|
-
broadcast?: boolean;
|
|
8
|
-
start?: () => void;
|
|
9
|
-
stop?: () => void;
|
|
10
|
-
proceed?: (payload: any) => void;
|
|
11
|
-
done?: (payload: any) => void;
|
|
12
|
-
};
|
|
13
|
-
export type ChannelResolve = (data?: any) => void;
|
|
14
|
-
export type ChannelHub = {
|
|
15
|
-
container: Reactive<Channel[]>;
|
|
16
|
-
mount: (config: IChannel) => Channel;
|
|
17
|
-
unmount: (config: IChannel) => void;
|
|
18
|
-
execute: (config: IChannel, data: any, resolve?: ChannelResolve) => void;
|
|
19
|
-
};
|
|
20
|
-
export type ChannelKey = {
|
|
21
|
-
handler: string;
|
|
22
|
-
url: string;
|
|
23
|
-
auth: boolean;
|
|
24
|
-
broadcast: boolean;
|
|
25
|
-
};
|
|
26
|
-
export type Channel = {
|
|
27
|
-
status: Reactive<ChannelStatus>;
|
|
28
|
-
mapping: {
|
|
29
|
-
[token: string]: Callback;
|
|
30
|
-
};
|
|
31
|
-
} & ChannelKey;
|
|
32
|
-
export type Callback = {
|
|
33
|
-
start?: () => void;
|
|
34
|
-
stop?: () => void;
|
|
35
|
-
done?: (payload: any) => void;
|
|
36
|
-
error?: (payload: any) => void;
|
|
37
|
-
proceed?: (payload: any) => void;
|
|
38
|
-
};
|
|
39
|
-
export type ChannelStatus = {
|
|
40
|
-
loading: boolean;
|
|
41
|
-
payload: any;
|
|
42
|
-
};
|
|
43
|
-
export type ChannelResponse = {
|
|
44
|
-
status: 'start' | 'stop' | 'proceed' | 'done' | 'error';
|
|
45
|
-
resolve?: string;
|
|
46
|
-
payload: any;
|
|
47
|
-
timestamp: number;
|
|
48
|
-
} & ChannelKey;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Options } from "./types";
|
|
2
|
-
export declare const useOptionStore: import("pinia").StoreDefinition<"core", {
|
|
3
|
-
baseURL: string;
|
|
4
|
-
title: string;
|
|
5
|
-
scope: string;
|
|
6
|
-
signInOnly: boolean;
|
|
7
|
-
accountLabel: string;
|
|
8
|
-
accountValidateRegExp: RegExp;
|
|
9
|
-
accountValidateMessage: string;
|
|
10
|
-
}, {}, {
|
|
11
|
-
validate(username: string): boolean;
|
|
12
|
-
init(options?: Options): void;
|
|
13
|
-
}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { RouteRecordRaw } from "vue-router";
|
|
2
|
-
export type CoreMessage = (msg: string, type: string) => void;
|
|
3
|
-
export type Options = {
|
|
4
|
-
baseURL?: string;
|
|
5
|
-
routes?: RouteRecordRaw[];
|
|
6
|
-
title?: string;
|
|
7
|
-
scope?: "admin" | "home";
|
|
8
|
-
signInOnly?: boolean;
|
|
9
|
-
accountLabel?: string;
|
|
10
|
-
accountValidateRegExp?: RegExp;
|
|
11
|
-
accountValidateMessage?: string;
|
|
12
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type AxiosInstance } from 'axios';
|
|
2
|
-
export declare function useRequest(baseURL?: string): {
|
|
3
|
-
getHttpRequest: (auth?: boolean) => AxiosInstance;
|
|
4
|
-
download: (path: string) => void;
|
|
5
|
-
all: (mapping: {
|
|
6
|
-
[key: string]: Promise<any>;
|
|
7
|
-
}) => Promise<{
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}>;
|
|
10
|
-
read: (path: string) => Promise<{
|
|
11
|
-
blob: Blob;
|
|
12
|
-
fileName: string;
|
|
13
|
-
}>;
|
|
14
|
-
post: (url: string, data?: any, auth?: boolean) => Promise<any>;
|
|
15
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
16
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import MetaRefer from "./MetaRefer";
|
|
2
|
-
import MetaFormat from "./MetaFormat";
|
|
3
|
-
import type { IMetaField, MetaFieldDomain, MetaFieldTool } from "./types";
|
|
4
|
-
import type { Database, DataItem } from "../types";
|
|
5
|
-
import type { TableCell } from "../use-model/types";
|
|
6
|
-
export default class MetaField {
|
|
7
|
-
$minio: string;
|
|
8
|
-
$db?: Database;
|
|
9
|
-
$entity?: string;
|
|
10
|
-
$code?: string;
|
|
11
|
-
id?: string | number;
|
|
12
|
-
prop: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
name: string;
|
|
15
|
-
domain: MetaFieldDomain;
|
|
16
|
-
tool: MetaFieldTool;
|
|
17
|
-
refer: MetaRefer;
|
|
18
|
-
format: MetaFormat;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
not_null: boolean;
|
|
21
|
-
allow_edit: boolean;
|
|
22
|
-
allow_order: boolean;
|
|
23
|
-
allow_search: boolean;
|
|
24
|
-
allow_download: boolean;
|
|
25
|
-
allow_upload: boolean;
|
|
26
|
-
allow_update: boolean;
|
|
27
|
-
unit: string;
|
|
28
|
-
column_width: number;
|
|
29
|
-
align: 'left' | 'center' | 'right';
|
|
30
|
-
fixed: '' | 'left' | 'right';
|
|
31
|
-
header_color: string;
|
|
32
|
-
cell_color: string;
|
|
33
|
-
edit_on_table: boolean;
|
|
34
|
-
hide_on_table: boolean;
|
|
35
|
-
span: number;
|
|
36
|
-
hide_on_form: boolean;
|
|
37
|
-
hide_on_form_edit: boolean;
|
|
38
|
-
hide_on_form_insert: boolean;
|
|
39
|
-
hide_on_form_branch: boolean;
|
|
40
|
-
hide_on_form_leaf: boolean;
|
|
41
|
-
constructor(field?: IMetaField);
|
|
42
|
-
parseValue(value: any): TableCell;
|
|
43
|
-
parseRow(row: DataItem): TableCell;
|
|
44
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { IMetaFormat, MetaFormatFrequency, MetaFormatType } from "./types";
|
|
2
|
-
import type { DataItemId } from "../types";
|
|
3
|
-
export default class MetaFormat {
|
|
4
|
-
$maxlength: number;
|
|
5
|
-
maxlength: number;
|
|
6
|
-
type: MetaFormatType;
|
|
7
|
-
min: number | null;
|
|
8
|
-
max: number | null;
|
|
9
|
-
step: number | null;
|
|
10
|
-
precision: number | null;
|
|
11
|
-
step_strictly: boolean;
|
|
12
|
-
frequency: MetaFormatFrequency;
|
|
13
|
-
maximum: number;
|
|
14
|
-
accept: string[];
|
|
15
|
-
width: number | null;
|
|
16
|
-
height: number | null;
|
|
17
|
-
file_name_field: string | null;
|
|
18
|
-
locked: boolean;
|
|
19
|
-
set: {
|
|
20
|
-
[label: DataItemId]: string;
|
|
21
|
-
};
|
|
22
|
-
multiple: boolean;
|
|
23
|
-
constructor(format?: IMetaFormat);
|
|
24
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { IMetaProperty } from "./types";
|
|
2
|
-
export default class MetaProperty {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
display: string;
|
|
6
|
-
sort: string;
|
|
7
|
-
disabled: string;
|
|
8
|
-
isLeaf: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
children: string;
|
|
11
|
-
pid: string;
|
|
12
|
-
constructor(props?: IMetaProperty);
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { Database, DataItemId } from "../types";
|
|
2
|
-
import type { IMetaRefer } from "./types";
|
|
3
|
-
import Condition from "../use-condition/Condition";
|
|
4
|
-
export default class MetaRefer {
|
|
5
|
-
db: Database;
|
|
6
|
-
entity: string | null;
|
|
7
|
-
value: string;
|
|
8
|
-
label: string;
|
|
9
|
-
display: string;
|
|
10
|
-
multiple: boolean;
|
|
11
|
-
strict: boolean;
|
|
12
|
-
remote: boolean;
|
|
13
|
-
includes: object;
|
|
14
|
-
excludes: object;
|
|
15
|
-
root: DataItemId;
|
|
16
|
-
isTree: boolean;
|
|
17
|
-
constructor(refer?: IMetaRefer);
|
|
18
|
-
getCondition(): Condition;
|
|
19
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import MetaField from "./MetaField";
|
|
2
|
-
import type { Database, DataItem, DataItemId } from "../types";
|
|
3
|
-
import type { IMetaField, IMetaView, MetaModes, Validator } from "./types";
|
|
4
|
-
import MetaProperty from "./MetaProperty";
|
|
5
|
-
export default class MetaView {
|
|
6
|
-
$minio: string;
|
|
7
|
-
$db?: Database;
|
|
8
|
-
$entity?: string;
|
|
9
|
-
$code?: string;
|
|
10
|
-
$modes: MetaModes;
|
|
11
|
-
$isTree?: boolean;
|
|
12
|
-
$meta_name?: string;
|
|
13
|
-
$fields: {
|
|
14
|
-
[key: string]: MetaField;
|
|
15
|
-
};
|
|
16
|
-
$validators: Validator[];
|
|
17
|
-
$source?: IMetaView;
|
|
18
|
-
lock?: boolean;
|
|
19
|
-
id?: DataItemId;
|
|
20
|
-
name?: string;
|
|
21
|
-
property: MetaProperty;
|
|
22
|
-
form_width?: number;
|
|
23
|
-
form_height?: number;
|
|
24
|
-
table_width?: number;
|
|
25
|
-
table_height?: number;
|
|
26
|
-
enable: boolean;
|
|
27
|
-
show_header: boolean;
|
|
28
|
-
allow_search: boolean;
|
|
29
|
-
allow_order: boolean;
|
|
30
|
-
allow_insert: boolean;
|
|
31
|
-
allow_edit: boolean;
|
|
32
|
-
allow_edit_on_form: boolean;
|
|
33
|
-
allow_edit_on_cell: boolean;
|
|
34
|
-
allow_edit_on_sort: boolean;
|
|
35
|
-
allow_remove: boolean;
|
|
36
|
-
allow_download: boolean;
|
|
37
|
-
allow_upload: boolean;
|
|
38
|
-
setEnable(enable: boolean): void;
|
|
39
|
-
constructor(view?: IMetaView);
|
|
40
|
-
createMetaField(fields?: {
|
|
41
|
-
[prop: string]: IMetaField;
|
|
42
|
-
}): {
|
|
43
|
-
[prop: string]: MetaField;
|
|
44
|
-
};
|
|
45
|
-
getField(prop: string): MetaField;
|
|
46
|
-
toBean(item: DataItem): Pick<DataItem, string>;
|
|
47
|
-
toAoa(items: DataItem[], admin?: boolean): any[][];
|
|
48
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { DataItem } from "../types";
|
|
2
|
-
import type MetaField from "./MetaField";
|
|
3
|
-
import type { TableCell } from "../use-model/types";
|
|
4
|
-
export declare function parseMultiple(row: DataItem, field: MetaField): TableCell;
|
|
5
|
-
export declare function parseLinkage(row: DataItem, field: MetaField): TableCell;
|
|
6
|
-
export declare function parseBoolean(value: any): TableCell;
|
|
7
|
-
export declare function parseNumber(value: any, field: MetaField): TableCell;
|
|
8
|
-
export declare function parseDateTime(value: any, field?: MetaField): TableCell;
|
|
9
|
-
export declare function parseDate(value: any, field?: MetaField): TableCell;
|
|
10
|
-
export declare function parseTime(value: any, field?: MetaField): TableCell;
|
|
11
|
-
export declare function parseTimerange(value: any, field: MetaField): TableCell;
|
|
12
|
-
export declare function parseDaterange(value: any, field: MetaField): TableCell;
|
|
13
|
-
export declare function parseDates(value: any, field: MetaField): TableCell;
|
|
14
|
-
export declare function parseSet(value: any, field: MetaField): TableCell;
|
|
15
|
-
export declare function parseFile(value: any, field: MetaField): TableCell;
|
|
16
|
-
export declare function parseColor(value: any, field: MetaField): TableCell;
|
|
17
|
-
export declare function parseDefault(value: any): TableCell;
|
|
18
|
-
export declare function parseNull(field: MetaField): TableCell;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import type { Database, DataItem, DataItemId } from "../types";
|
|
2
|
-
import type MetaView from "./MetaView";
|
|
3
|
-
export type IMeta = {
|
|
4
|
-
db?: Database;
|
|
5
|
-
entity: string;
|
|
6
|
-
code?: string;
|
|
7
|
-
auth?: boolean;
|
|
8
|
-
broadcast?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type Meta = {
|
|
11
|
-
db: Database;
|
|
12
|
-
entity: string;
|
|
13
|
-
code: string;
|
|
14
|
-
};
|
|
15
|
-
export type MetaMode = {
|
|
16
|
-
prop?: string;
|
|
17
|
-
domain?: MetaFieldDomain;
|
|
18
|
-
label?: string;
|
|
19
|
-
};
|
|
20
|
-
export type MetaModes = {
|
|
21
|
-
[prop: string]: MetaMode;
|
|
22
|
-
};
|
|
23
|
-
export type IMetaView = {
|
|
24
|
-
$minio?: string;
|
|
25
|
-
$db?: Database;
|
|
26
|
-
$entity?: string;
|
|
27
|
-
$code?: string;
|
|
28
|
-
$isTree?: boolean;
|
|
29
|
-
$fields?: {
|
|
30
|
-
[key: string]: IMetaField;
|
|
31
|
-
};
|
|
32
|
-
$meta_name?: string;
|
|
33
|
-
$modes?: MetaModes;
|
|
34
|
-
$validators?: Validator[];
|
|
35
|
-
id?: DataItemId;
|
|
36
|
-
property?: IMetaProperty;
|
|
37
|
-
name?: string;
|
|
38
|
-
lock?: boolean;
|
|
39
|
-
form_width?: number;
|
|
40
|
-
form_height?: number;
|
|
41
|
-
table_width?: number;
|
|
42
|
-
table_height?: number;
|
|
43
|
-
enable?: boolean;
|
|
44
|
-
show_header?: boolean;
|
|
45
|
-
allow_search?: boolean;
|
|
46
|
-
allow_order?: boolean;
|
|
47
|
-
allow_insert?: boolean;
|
|
48
|
-
allow_edit?: boolean;
|
|
49
|
-
allow_edit_on_form?: boolean;
|
|
50
|
-
allow_edit_on_cell?: boolean;
|
|
51
|
-
allow_edit_on_sort?: boolean;
|
|
52
|
-
allow_remove?: boolean;
|
|
53
|
-
allow_download?: boolean;
|
|
54
|
-
allow_upload?: boolean;
|
|
55
|
-
};
|
|
56
|
-
export type IMetaProperty = {
|
|
57
|
-
label?: string;
|
|
58
|
-
value?: string;
|
|
59
|
-
display?: string;
|
|
60
|
-
sort?: string;
|
|
61
|
-
disabled?: string;
|
|
62
|
-
isLeaf?: string;
|
|
63
|
-
icon?: string;
|
|
64
|
-
children?: string;
|
|
65
|
-
pid?: string;
|
|
66
|
-
};
|
|
67
|
-
export type IMetaField = {
|
|
68
|
-
$minio?: string;
|
|
69
|
-
$db?: Database;
|
|
70
|
-
$entity?: string;
|
|
71
|
-
$code?: string;
|
|
72
|
-
id?: string | number;
|
|
73
|
-
prop?: string;
|
|
74
|
-
label?: string;
|
|
75
|
-
name?: string;
|
|
76
|
-
domain?: MetaFieldDomain;
|
|
77
|
-
tool?: MetaFieldTool;
|
|
78
|
-
refer?: IMetaRefer;
|
|
79
|
-
format?: IMetaFormat;
|
|
80
|
-
disable?: boolean;
|
|
81
|
-
not_null?: boolean;
|
|
82
|
-
allow_edit?: boolean;
|
|
83
|
-
allow_order?: boolean;
|
|
84
|
-
allow_search?: boolean;
|
|
85
|
-
allow_download?: boolean;
|
|
86
|
-
allow_upload?: boolean;
|
|
87
|
-
allow_update?: boolean;
|
|
88
|
-
unit?: string | null;
|
|
89
|
-
column_width?: number;
|
|
90
|
-
align?: 'left' | 'center' | 'right';
|
|
91
|
-
fixed?: '' | 'left' | 'right';
|
|
92
|
-
header_color?: string | null;
|
|
93
|
-
cell_color?: string | null;
|
|
94
|
-
edit_on_table?: boolean;
|
|
95
|
-
hide_on_table?: boolean;
|
|
96
|
-
span?: number;
|
|
97
|
-
hide_on_form?: boolean;
|
|
98
|
-
hide_on_form_edit?: boolean;
|
|
99
|
-
hide_on_form_insert?: boolean;
|
|
100
|
-
hide_on_form_branch?: boolean;
|
|
101
|
-
hide_on_form_leaf?: boolean;
|
|
102
|
-
};
|
|
103
|
-
export type IMetaRefer = {
|
|
104
|
-
db?: Database;
|
|
105
|
-
entity?: string;
|
|
106
|
-
value?: string;
|
|
107
|
-
label?: string;
|
|
108
|
-
display?: string;
|
|
109
|
-
multiple?: boolean;
|
|
110
|
-
strict?: boolean;
|
|
111
|
-
remote?: boolean;
|
|
112
|
-
includes?: object;
|
|
113
|
-
excludes?: object;
|
|
114
|
-
root?: DataItemId;
|
|
115
|
-
isTree?: boolean;
|
|
116
|
-
};
|
|
117
|
-
export type IMetaFormat = {
|
|
118
|
-
$maxlength?: number;
|
|
119
|
-
maxlength?: number;
|
|
120
|
-
type?: MetaFormatType;
|
|
121
|
-
min?: number | null;
|
|
122
|
-
max?: number | null;
|
|
123
|
-
step?: number | null;
|
|
124
|
-
precision?: number | null;
|
|
125
|
-
step_strictly?: boolean;
|
|
126
|
-
frequency?: MetaFormatFrequency;
|
|
127
|
-
maximum?: number;
|
|
128
|
-
accept?: string[];
|
|
129
|
-
width?: number | null;
|
|
130
|
-
height?: number | null;
|
|
131
|
-
file_name_field?: string | null;
|
|
132
|
-
locked?: boolean;
|
|
133
|
-
set?: {
|
|
134
|
-
[label: string]: string;
|
|
135
|
-
};
|
|
136
|
-
multiple?: boolean;
|
|
137
|
-
};
|
|
138
|
-
export type MetaFormatType = 'text' | 'textarea';
|
|
139
|
-
export type MetaFormatFrequency = 'year' | 'month' | 'week' | 'date' | 'datetime' | 'yearrange' | 'monthrange' | 'daterange' | 'datetimerange' | 'years' | 'months' | 'dates' | null;
|
|
140
|
-
export type MetaFieldDomain = 'ManyToManyField' | 'ManyToManyRel' | 'ManyToOneRel' | 'OneToOneField' | 'OneToOneRel' | 'ForeignKey' | 'CharField' | 'TextField' | 'BooleanField' | 'IntegerField' | 'FloatField' | 'BigIntegerField' | 'DecimalField' | 'SmallIntegerField' | 'DateField' | 'DateTimeField' | 'TimeField' | 'JSONField' | 'FileField' | 'UUIDField' | 'BigAutoField' | 'Custom';
|
|
141
|
-
export type MetaFieldTool = 'text' | 'textarea' | 'number' | 'switch' | 'boolean' | 'date' | 'timerange' | 'time' | 'daterange' | 'dates' | 'image' | 'file' | 'rich' | 'transfer' | 'auto' | 'select' | 'tree' | 'cascade' | 'set' | 'meta' | 'color' | 'icon' | 'none' | 'object';
|
|
142
|
-
export type Validation = {
|
|
143
|
-
valid: boolean;
|
|
144
|
-
message: string;
|
|
145
|
-
};
|
|
146
|
-
export type Validator = (row: DataItem, view?: MetaView) => Validation;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { MetaFieldTool } from "./types";
|
|
2
|
-
export declare const MULTIPLE_DOMAIN: string[];
|
|
3
|
-
export declare const LINKAGE_DOMAIN: string[];
|
|
4
|
-
export declare const REFER_DOMAIN: string[];
|
|
5
|
-
export declare const SIMPLE_DOMAIN: string[];
|
|
6
|
-
export declare const NUMBER_DOMAIN: string[];
|
|
7
|
-
export declare const DATE_DOMAIN: string[];
|
|
8
|
-
export declare const SPECIAL_DOMAIN: string[];
|
|
9
|
-
export declare const READONLY_DOMAIN: string[];
|
|
10
|
-
export declare const ORDERABLE_DOMAIN: string[];
|
|
11
|
-
export declare const EDITABLE_DOMAIN: string[];
|
|
12
|
-
export declare const NULLABLE_DOMAIN: string[];
|
|
13
|
-
export declare const EDITABLE: {
|
|
14
|
-
[prop: string]: {
|
|
15
|
-
tool: MetaFieldTool;
|
|
16
|
-
width?: number;
|
|
17
|
-
align?: 'left' | 'right' | 'center';
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { IconNames } from "../utils/use-icon/types";
|
|
2
|
-
export type Database = 'orm' | 'mon' | 'plain';
|
|
3
|
-
export type DataItemId = string | number;
|
|
4
|
-
export type DataItem = {
|
|
5
|
-
id?: DataItemId;
|
|
6
|
-
[prop: string]: any;
|
|
7
|
-
};
|
|
8
|
-
export type TreeItem = {
|
|
9
|
-
pid: number | string;
|
|
10
|
-
isLeaf: boolean;
|
|
11
|
-
icon?: IconNames;
|
|
12
|
-
children: TreeItem[];
|
|
13
|
-
} & DataItem;
|
|
14
|
-
export type PropItem = {
|
|
15
|
-
value: string;
|
|
16
|
-
label: string;
|
|
17
|
-
display: string;
|
|
18
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { DataItemId } from "../types";
|
|
3
|
-
import type { ICollector } from "./types";
|
|
4
|
-
export declare function useCollector($config: ICollector | Ref<ICollector>): {
|
|
5
|
-
collector: {
|
|
6
|
-
set: (keys: DataItemId[]) => void;
|
|
7
|
-
add: (...keys: DataItemId[]) => void;
|
|
8
|
-
del: (...ids: DataItemId[]) => void;
|
|
9
|
-
toggle: (id: DataItemId) => void;
|
|
10
|
-
toggleAll: (checkIn?: boolean) => void;
|
|
11
|
-
clear: () => void;
|
|
12
|
-
};
|
|
13
|
-
collection: Ref<DataItemId[], DataItemId[]>;
|
|
14
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { ICondition } from "./types";
|
|
3
|
-
import Condition from "./Condition";
|
|
4
|
-
import type { IFinder } from "../use-finder/types";
|
|
5
|
-
import Lookup from "../use-finder/Lookup";
|
|
6
|
-
import type { DataItem } from "../types";
|
|
7
|
-
export declare function useCondition($config?: ICondition | Ref<ICondition>): {
|
|
8
|
-
config: Ref<ICondition, ICondition>;
|
|
9
|
-
core: import("vue").ComputedRef<DataItem>;
|
|
10
|
-
finder: Ref<{
|
|
11
|
-
includes: {
|
|
12
|
-
[prop: string]: Lookup;
|
|
13
|
-
};
|
|
14
|
-
excludes: {
|
|
15
|
-
[prop: string]: Lookup;
|
|
16
|
-
};
|
|
17
|
-
}, IFinder | {
|
|
18
|
-
includes: {
|
|
19
|
-
[prop: string]: Lookup;
|
|
20
|
-
};
|
|
21
|
-
excludes: {
|
|
22
|
-
[prop: string]: Lookup;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
finders: Ref<{
|
|
26
|
-
includes: {
|
|
27
|
-
[prop: string]: Lookup;
|
|
28
|
-
};
|
|
29
|
-
excludes: {
|
|
30
|
-
[prop: string]: Lookup;
|
|
31
|
-
};
|
|
32
|
-
}[], IFinder[] | {
|
|
33
|
-
includes: {
|
|
34
|
-
[prop: string]: Lookup;
|
|
35
|
-
};
|
|
36
|
-
excludes: {
|
|
37
|
-
[prop: string]: Lookup;
|
|
38
|
-
};
|
|
39
|
-
}[]>;
|
|
40
|
-
conditions: import("vue").ComputedRef<Condition[]>;
|
|
41
|
-
};
|