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,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* django orm 未集成的lookups
|
|
3
|
-
* 日期:'date', 'year', 'iso_year', 'month', 'day', 'week', 'week_day', 'iso_week_day', 'quarter', 'time', 'hour', 'minute', 'second',
|
|
4
|
-
*/
|
|
5
|
-
export type LookupType = 'contains' | 'exact' | 'startswith' | 'endswith' | 'gt' | 'lt' | 'isnull' | 'in' | 'range';
|
|
6
|
-
export declare const char_decorated_lookup: string[];
|
|
7
|
-
export declare const number_decorated_lookup: string[];
|
|
8
|
-
export declare const simple_lookup: string[];
|
|
9
|
-
export declare const vars: string[];
|
|
10
|
-
export declare const LOOKUP: {
|
|
11
|
-
contains: string;
|
|
12
|
-
exact: string;
|
|
13
|
-
startswith: string;
|
|
14
|
-
endswith: string;
|
|
15
|
-
gt: string;
|
|
16
|
-
lt: string;
|
|
17
|
-
isnull: string;
|
|
18
|
-
in: string;
|
|
19
|
-
range: string;
|
|
20
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { DataItem, DataItemId } from "../types";
|
|
2
|
-
import MetaView from "../meta/MetaView";
|
|
3
|
-
import type { ISearch } from "./types";
|
|
4
|
-
import Condition from "../use-condition/Condition";
|
|
5
|
-
import type { IModel } from "../use-model/types";
|
|
6
|
-
import type { ChannelResolve } from "../../core/use-channel/types";
|
|
7
|
-
export type Manager = {
|
|
8
|
-
save_many: (array: DataItem[], resolve?: ChannelResolve) => void;
|
|
9
|
-
delete_many: (conditions: Condition[], resolve?: ChannelResolve) => void;
|
|
10
|
-
insert_one: (item: DataItem) => Promise<DataItem>;
|
|
11
|
-
save_one: (item: DataItem) => Promise<DataItem>;
|
|
12
|
-
delete_one: (id: DataItemId) => Promise<boolean>;
|
|
13
|
-
find_one: (id: DataItemId) => Promise<DataItem>;
|
|
14
|
-
update: (template: DataItem, ...conditions: Condition[]) => Promise<boolean>;
|
|
15
|
-
find: (...conditions: Condition[]) => Promise<DataItem[]>;
|
|
16
|
-
search: (search: ISearch, conditions: Condition[]) => Promise<IModel>;
|
|
17
|
-
values: (conditions: Condition[], props: string[]) => Promise<DataItem[]>;
|
|
18
|
-
meta_view: (c?: (m: MetaView) => MetaView) => Promise<MetaView>;
|
|
19
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ISearch, Orders } from "./types";
|
|
2
|
-
import type { DataItemId } from "../types";
|
|
3
|
-
import type { ModelType } from "../use-model/types";
|
|
4
|
-
import Condition from "../use-condition/Condition";
|
|
5
|
-
export default class Search {
|
|
6
|
-
type: ModelType;
|
|
7
|
-
conditions: Condition[];
|
|
8
|
-
orders: Orders;
|
|
9
|
-
page: number;
|
|
10
|
-
size: number;
|
|
11
|
-
root: DataItemId;
|
|
12
|
-
constructor(search?: ISearch, conditions?: Condition[]);
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { IDao } from "./types";
|
|
3
|
-
import type { Manager } from "./Dao";
|
|
4
|
-
export declare function useDao($config: IDao | Ref<IDao>): {
|
|
5
|
-
config: Ref<IDao, IDao>;
|
|
6
|
-
manager: Manager;
|
|
7
|
-
loading: Ref<boolean, boolean> | import("vue").ComputedRef<boolean>;
|
|
8
|
-
payload: import("vue").ComputedRef<any> | import("vue").ComputedRef<{}>;
|
|
9
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { IMeta } from "../meta/types";
|
|
2
|
-
import type { DataItemId } from "../types";
|
|
3
|
-
import type { ModelType } from "../use-model/types";
|
|
4
|
-
export type IDao = IMeta & {
|
|
5
|
-
batch?: boolean;
|
|
6
|
-
token?: string;
|
|
7
|
-
done?: (payload: DaoDonePayload) => void;
|
|
8
|
-
broadcast?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type DaoDonePayload = {
|
|
11
|
-
method: 'save_many' | 'delete_many';
|
|
12
|
-
keys?: DataItemId[];
|
|
13
|
-
};
|
|
14
|
-
export type Orders = {
|
|
15
|
-
[key: string]: 1 | -1;
|
|
16
|
-
};
|
|
17
|
-
export type ISearch = {
|
|
18
|
-
type?: ModelType;
|
|
19
|
-
orders?: Orders;
|
|
20
|
-
page?: number;
|
|
21
|
-
size?: number;
|
|
22
|
-
root?: DataItemId;
|
|
23
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LookupType } from "../use-condition/vars";
|
|
2
|
-
import type { ConditionType } from "../use-condition/types";
|
|
3
|
-
export default class Lookup {
|
|
4
|
-
type: ConditionType;
|
|
5
|
-
prop: string;
|
|
6
|
-
lookup: LookupType;
|
|
7
|
-
value: any;
|
|
8
|
-
affix: boolean;
|
|
9
|
-
constructor(type: ConditionType, prop: string, value: any, lookup?: LookupType, affix?: boolean);
|
|
10
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { ICondition } from "../use-condition/types";
|
|
2
|
-
import { type Ref } from "vue";
|
|
3
|
-
import type { DataItem } from "../types";
|
|
4
|
-
import Lookup from "./Lookup";
|
|
5
|
-
import type { IFinder } from "./types";
|
|
6
|
-
export declare function useFinder($config?: ICondition | Ref<ICondition>): {
|
|
7
|
-
core: import("vue").ComputedRef<DataItem>;
|
|
8
|
-
finder: Ref<{
|
|
9
|
-
includes: {
|
|
10
|
-
[prop: string]: Lookup;
|
|
11
|
-
};
|
|
12
|
-
excludes: {
|
|
13
|
-
[prop: string]: Lookup;
|
|
14
|
-
};
|
|
15
|
-
}, IFinder | {
|
|
16
|
-
includes: {
|
|
17
|
-
[prop: string]: Lookup;
|
|
18
|
-
};
|
|
19
|
-
excludes: {
|
|
20
|
-
[prop: string]: Lookup;
|
|
21
|
-
};
|
|
22
|
-
}>;
|
|
23
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
export declare function useGeo(scope: Ref<'world' | 'china'>): {
|
|
3
|
-
codeMap: import("vue").ComputedRef<any>;
|
|
4
|
-
maps: {
|
|
5
|
-
world: {
|
|
6
|
-
geo: {
|
|
7
|
-
type: string;
|
|
8
|
-
features: ({
|
|
9
|
-
type: string;
|
|
10
|
-
geometry: {
|
|
11
|
-
type: string;
|
|
12
|
-
coordinates: number[][][][];
|
|
13
|
-
};
|
|
14
|
-
properties: {
|
|
15
|
-
name: string;
|
|
16
|
-
"ISO3166-1-Alpha-3": string;
|
|
17
|
-
"ISO3166-1-Alpha-2": string;
|
|
18
|
-
};
|
|
19
|
-
} | {
|
|
20
|
-
type: string;
|
|
21
|
-
geometry: {
|
|
22
|
-
type: string;
|
|
23
|
-
coordinates: number[][][];
|
|
24
|
-
};
|
|
25
|
-
properties: {
|
|
26
|
-
name: string;
|
|
27
|
-
"ISO3166-1-Alpha-3": string;
|
|
28
|
-
"ISO3166-1-Alpha-2": string;
|
|
29
|
-
};
|
|
30
|
-
})[];
|
|
31
|
-
};
|
|
32
|
-
code: string;
|
|
33
|
-
};
|
|
34
|
-
china: {
|
|
35
|
-
geo: {
|
|
36
|
-
type: string;
|
|
37
|
-
features: ({
|
|
38
|
-
type: string;
|
|
39
|
-
geometry: {
|
|
40
|
-
type: string;
|
|
41
|
-
coordinates: number[][][];
|
|
42
|
-
};
|
|
43
|
-
properties: {
|
|
44
|
-
adcode: number;
|
|
45
|
-
name: string;
|
|
46
|
-
center: number[];
|
|
47
|
-
centroid: number[];
|
|
48
|
-
childrenNum: number;
|
|
49
|
-
level: string;
|
|
50
|
-
parent: {
|
|
51
|
-
adcode: number;
|
|
52
|
-
};
|
|
53
|
-
subFeatureIndex: number;
|
|
54
|
-
acroutes: number[];
|
|
55
|
-
adchar?: undefined;
|
|
56
|
-
};
|
|
57
|
-
} | {
|
|
58
|
-
type: string;
|
|
59
|
-
geometry: {
|
|
60
|
-
type: string;
|
|
61
|
-
coordinates: number[][][][];
|
|
62
|
-
};
|
|
63
|
-
properties: {
|
|
64
|
-
adcode: number;
|
|
65
|
-
name: string;
|
|
66
|
-
center: number[];
|
|
67
|
-
centroid: number[];
|
|
68
|
-
childrenNum: number;
|
|
69
|
-
level: string;
|
|
70
|
-
parent: {
|
|
71
|
-
adcode: number;
|
|
72
|
-
};
|
|
73
|
-
subFeatureIndex: number;
|
|
74
|
-
acroutes: number[];
|
|
75
|
-
adchar?: undefined;
|
|
76
|
-
};
|
|
77
|
-
} | {
|
|
78
|
-
type: string;
|
|
79
|
-
geometry: {
|
|
80
|
-
type: string;
|
|
81
|
-
coordinates: number[][][][];
|
|
82
|
-
};
|
|
83
|
-
properties: {
|
|
84
|
-
adcode: number;
|
|
85
|
-
name: string;
|
|
86
|
-
center: number[];
|
|
87
|
-
childrenNum: number;
|
|
88
|
-
level: string;
|
|
89
|
-
parent: {
|
|
90
|
-
adcode: number;
|
|
91
|
-
};
|
|
92
|
-
subFeatureIndex: number;
|
|
93
|
-
acroutes: number[];
|
|
94
|
-
centroid?: undefined;
|
|
95
|
-
adchar?: undefined;
|
|
96
|
-
};
|
|
97
|
-
} | {
|
|
98
|
-
type: string;
|
|
99
|
-
geometry: {
|
|
100
|
-
type: string;
|
|
101
|
-
coordinates: number[][][][];
|
|
102
|
-
};
|
|
103
|
-
properties: {
|
|
104
|
-
name: string;
|
|
105
|
-
adchar: string;
|
|
106
|
-
adcode: string;
|
|
107
|
-
center?: undefined;
|
|
108
|
-
centroid?: undefined;
|
|
109
|
-
childrenNum?: undefined;
|
|
110
|
-
level?: undefined;
|
|
111
|
-
parent?: undefined;
|
|
112
|
-
subFeatureIndex?: undefined;
|
|
113
|
-
acroutes?: undefined;
|
|
114
|
-
};
|
|
115
|
-
})[];
|
|
116
|
-
};
|
|
117
|
-
code: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type Indicator = {
|
|
2
|
-
scope: 'world' | 'china';
|
|
3
|
-
frequency?: 'year' | 'quarter' | 'month' | 'week' | 'date';
|
|
4
|
-
unit?: string;
|
|
5
|
-
data: IndicatorItem[];
|
|
6
|
-
};
|
|
7
|
-
export type IndicatorItem = {
|
|
8
|
-
location: string;
|
|
9
|
-
code: string;
|
|
10
|
-
value: number;
|
|
11
|
-
date: string;
|
|
12
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { DataItem, DataItemId } from "../types";
|
|
2
|
-
import type { Orders } from "../use-dao/types";
|
|
3
|
-
import type Lookup from "../use-finder/Lookup";
|
|
4
|
-
export type Rest = {
|
|
5
|
-
order: (orders?: Orders) => void;
|
|
6
|
-
delete_one: (key: DataItemId) => void;
|
|
7
|
-
delete_many: (keys: DataItemId[]) => void;
|
|
8
|
-
insert_one: (item: DataItem) => Promise<DataItem>;
|
|
9
|
-
save_one: (item: DataItem) => Promise<DataItem>;
|
|
10
|
-
save_many: (array: DataItem[]) => void;
|
|
11
|
-
values: (keys: DataItemId[]) => Promise<DataItem[]>;
|
|
12
|
-
find: (keys: DataItemId[]) => Promise<DataItem[]>;
|
|
13
|
-
download: () => void;
|
|
14
|
-
lookup: (prop: string, lookup?: Lookup) => void;
|
|
15
|
-
};
|
|
16
|
-
export type IRest = {
|
|
17
|
-
delete_one: (key: DataItemId) => void;
|
|
18
|
-
delete_many: (keys: DataItemId[]) => void;
|
|
19
|
-
save_one: (item: DataItem) => Promise<DataItem>;
|
|
20
|
-
save_many: (array: DataItem[]) => void;
|
|
21
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { IModel, TableFrame, TableModel, TreeModel } from "./types";
|
|
2
|
-
import { type Ref } from "vue";
|
|
3
|
-
import type { DataItem, DataItemId } from "../types";
|
|
4
|
-
import type { Orders } from "../use-dao/types";
|
|
5
|
-
export declare function useTreeModel($config: IModel | Ref<IModel>): {
|
|
6
|
-
model: Ref<{
|
|
7
|
-
options: {
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
pid: number | string;
|
|
10
|
-
isLeaf: boolean;
|
|
11
|
-
icon?: import("../../..").IconNames;
|
|
12
|
-
children: /*elided*/ any[];
|
|
13
|
-
id?: DataItemId | undefined;
|
|
14
|
-
}[];
|
|
15
|
-
mapping: import("./types").TreeMapping;
|
|
16
|
-
root: DataItemId;
|
|
17
|
-
}, TreeModel | {
|
|
18
|
-
options: {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
pid: number | string;
|
|
21
|
-
isLeaf: boolean;
|
|
22
|
-
icon?: import("../../..").IconNames;
|
|
23
|
-
children: /*elided*/ any[];
|
|
24
|
-
id?: DataItemId | undefined;
|
|
25
|
-
}[];
|
|
26
|
-
mapping: import("./types").TreeMapping;
|
|
27
|
-
root: DataItemId;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
export declare function useTableModel($config: IModel | Ref<IModel>, noOrder?: boolean): {
|
|
31
|
-
model: Ref<{
|
|
32
|
-
total: number;
|
|
33
|
-
options: {
|
|
34
|
-
[x: string]: any;
|
|
35
|
-
id?: DataItemId | undefined;
|
|
36
|
-
}[];
|
|
37
|
-
counter: number;
|
|
38
|
-
frame: TableFrame;
|
|
39
|
-
}, TableModel | {
|
|
40
|
-
total: number;
|
|
41
|
-
options: {
|
|
42
|
-
[x: string]: any;
|
|
43
|
-
id?: DataItemId | undefined;
|
|
44
|
-
}[];
|
|
45
|
-
counter: number;
|
|
46
|
-
frame: TableFrame;
|
|
47
|
-
}>;
|
|
48
|
-
order: (orders?: Orders) => void;
|
|
49
|
-
};
|
|
50
|
-
export declare function useEditableModel($config: IModel | Ref<IModel>): {
|
|
51
|
-
model: Ref<{
|
|
52
|
-
total: number;
|
|
53
|
-
options: {
|
|
54
|
-
[x: string]: any;
|
|
55
|
-
id?: DataItemId | undefined;
|
|
56
|
-
}[];
|
|
57
|
-
counter: number;
|
|
58
|
-
frame: TableFrame;
|
|
59
|
-
}, TableModel | {
|
|
60
|
-
total: number;
|
|
61
|
-
options: {
|
|
62
|
-
[x: string]: any;
|
|
63
|
-
id?: DataItemId | undefined;
|
|
64
|
-
}[];
|
|
65
|
-
counter: number;
|
|
66
|
-
frame: TableFrame;
|
|
67
|
-
}>;
|
|
68
|
-
manager: {
|
|
69
|
-
order: (orders?: Orders) => void;
|
|
70
|
-
find_one: (key: DataItemId) => DataItem;
|
|
71
|
-
save_many: (array: DataItem[]) => void;
|
|
72
|
-
delete_one: (key: DataItemId) => void;
|
|
73
|
-
delete_many: (values: DataItemId[]) => void;
|
|
74
|
-
values: (ks: DataItemId[]) => DataItem[];
|
|
75
|
-
clear: () => void;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DataItem } from "../types";
|
|
2
|
-
import type { IModel, TableRow, TreeModel } from "./types";
|
|
3
|
-
import type MetaView from "../meta/MetaView";
|
|
4
|
-
export declare function convertToTableRow(row: DataItem, view: MetaView, index?: number): {
|
|
5
|
-
key: any;
|
|
6
|
-
sort: any;
|
|
7
|
-
tableRow: TableRow;
|
|
8
|
-
item: DataItem;
|
|
9
|
-
};
|
|
10
|
-
export declare function parseTree(model: IModel): TreeModel;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { DataItem, DataItemId, TreeItem } from "../types";
|
|
2
|
-
import type MetaView from "../meta/MetaView";
|
|
3
|
-
export type ModelType = 'table' | 'tree';
|
|
4
|
-
export type IModel = {
|
|
5
|
-
results?: DataItem[];
|
|
6
|
-
type?: ModelType;
|
|
7
|
-
total?: number;
|
|
8
|
-
root?: number;
|
|
9
|
-
view?: MetaView;
|
|
10
|
-
convertor?: (item: any) => void;
|
|
11
|
-
};
|
|
12
|
-
export type TableModel = {
|
|
13
|
-
total: number;
|
|
14
|
-
options: DataItem[];
|
|
15
|
-
counter: number;
|
|
16
|
-
frame: TableFrame;
|
|
17
|
-
};
|
|
18
|
-
export type TableFrame = {
|
|
19
|
-
[id: DataItemId]: TableRow;
|
|
20
|
-
};
|
|
21
|
-
export type TableRow = {
|
|
22
|
-
valid: boolean;
|
|
23
|
-
messages: string[];
|
|
24
|
-
cells: Record<string, TableCell>;
|
|
25
|
-
};
|
|
26
|
-
export type TableCell = {
|
|
27
|
-
value: any;
|
|
28
|
-
content: any;
|
|
29
|
-
valid: boolean;
|
|
30
|
-
message: string;
|
|
31
|
-
};
|
|
32
|
-
export type TableMapping = {
|
|
33
|
-
[id: DataItemId]: DataItem;
|
|
34
|
-
};
|
|
35
|
-
export type TreeModel = {
|
|
36
|
-
options: TreeItem[];
|
|
37
|
-
mapping: TreeMapping;
|
|
38
|
-
root: DataItemId;
|
|
39
|
-
};
|
|
40
|
-
export type TreeMapping = {
|
|
41
|
-
[id: DataItemId]: TreeItem;
|
|
42
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Aoa, Separator } from "./types";
|
|
2
|
-
import type { DataItem } from "../../data/types";
|
|
3
|
-
export declare function useAoa(separator?: Separator): {
|
|
4
|
-
fromText: (text: string) => Aoa;
|
|
5
|
-
toText: (aoa: Aoa) => string;
|
|
6
|
-
toPlain: (aoa: Aoa, withHeader?: boolean) => {
|
|
7
|
-
columns: any;
|
|
8
|
-
data: DataItem[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function jwt(token: string): any;
|
|
@@ -1,149 +0,0 @@
|
|
|
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
|
-
}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { IWorkBook, IWorkSheet, SimpleDomain, XlsSheet } from "./types";
|
|
2
|
-
export declare function useXlsx(): {
|
|
3
|
-
readFile: (file: File) => Promise<IWorkBook>;
|
|
4
|
-
write: (title: string, ...sheets: XlsSheet[]) => Promise<void>;
|
|
5
|
-
readURL: (url: string) => Promise<IWorkBook>;
|
|
6
|
-
toPlain: (book?: IWorkSheet, withHeader?: boolean) => {
|
|
7
|
-
columns: {
|
|
8
|
-
prop: any;
|
|
9
|
-
domain: SimpleDomain;
|
|
10
|
-
}[];
|
|
11
|
-
data: any[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Aoa } from "../use-aoa/types";
|
|
2
|
-
import type { DataItem } from "../../data/types";
|
|
3
|
-
type XlsCell = {
|
|
4
|
-
r: number;
|
|
5
|
-
c: number;
|
|
6
|
-
value?: any;
|
|
7
|
-
};
|
|
8
|
-
export type XlsSheetMerge = {
|
|
9
|
-
s: XlsCell;
|
|
10
|
-
e: XlsCell;
|
|
11
|
-
};
|
|
12
|
-
export type XlsSheet = {
|
|
13
|
-
name?: string;
|
|
14
|
-
data: Aoa;
|
|
15
|
-
headers?: string[];
|
|
16
|
-
merges?: XlsSheetMerge[];
|
|
17
|
-
};
|
|
18
|
-
export type WorkColumn = {
|
|
19
|
-
key: string;
|
|
20
|
-
domain: SimpleDomain;
|
|
21
|
-
$domain: SimpleDomain;
|
|
22
|
-
};
|
|
23
|
-
export type SimpleDomain = 'CharField' | 'BooleanField' | 'FloatField' | 'DateField';
|
|
24
|
-
export type IWorkBook = {
|
|
25
|
-
[name: string]: IWorkSheet;
|
|
26
|
-
};
|
|
27
|
-
export type IWorkSheet = {
|
|
28
|
-
columns: WorkColumn[];
|
|
29
|
-
data: DataItem[];
|
|
30
|
-
};
|
|
31
|
-
export {};
|