@duxweb/dvha-pro 1.2.5 → 1.2.7
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/dist/cjs/app.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/card/store.cjs +1 -1
- package/dist/cjs/components/carousel/carousel.cjs +1 -1
- package/dist/cjs/components/cascaderPanel/cascaderPanel.cjs +1 -1
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/code/code.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -1
- package/dist/cjs/components/crop/imageCropModal.cjs +1 -1
- package/dist/cjs/components/dashboard/hello.cjs +1 -1
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/dashboard/quick.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.cjs +1 -1
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.lazy.cjs +1 -0
- package/dist/cjs/components/designEditor/editor/preview.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/designEditor/editor.cjs +1 -1
- package/dist/cjs/components/draw/drawApps.cjs +1 -1
- package/dist/cjs/components/draw/drawAuth.cjs +1 -1
- package/dist/cjs/components/draw/drawEmpty.cjs +1 -1
- package/dist/cjs/components/draw/drawEmptyForm.cjs +1 -1
- package/dist/cjs/components/draw/drawError.cjs +1 -1
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/fieldConfig.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/kvInput.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/nodeCard.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/note.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/toolbar.cjs +1 -1
- package/dist/cjs/components/flowEditor/flowEditor.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/endNode.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/index.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/processNode.cjs +1 -1
- package/dist/cjs/components/flowEditor/nodes/startNode.cjs +1 -1
- package/dist/cjs/components/flowEditor/utils/nodeDataUtils.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/drawerTabForm.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/formLayout.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/modalTabForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -1
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/preview.cjs +1 -1
- package/dist/cjs/components/formEditor/renderer.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/filter.cjs +1 -1
- package/dist/cjs/components/layout/filterLayout.cjs +1 -1
- package/dist/cjs/components/layout/grid.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/layout/tools.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/list/card.cjs +1 -1
- package/dist/cjs/components/list/item.cjs +1 -1
- package/dist/cjs/components/list/list.cjs +1 -1
- package/dist/cjs/components/mapCoord/mapCoord.cjs +1 -1
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/panel/alert.cjs +1 -1
- package/dist/cjs/components/panel/collapse.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/posterEditor/components/CanvasRuler.cjs +1 -1
- package/dist/cjs/components/posterEditor/elements/index.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/LeftToolbar.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/Panel.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/PanelItem.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/schemaEditor/schemaEditor.cjs +1 -1
- package/dist/cjs/components/select/checkboxTag.cjs +1 -1
- package/dist/cjs/components/select/dateTag.cjs +1 -1
- package/dist/cjs/components/select/radioTag.cjs +1 -1
- package/dist/cjs/components/select/selectCard.cjs +1 -1
- package/dist/cjs/components/spec/spec.cjs +1 -1
- package/dist/cjs/components/spec/specEditor.cjs +1 -1
- package/dist/cjs/components/stats/number.cjs +1 -1
- package/dist/cjs/components/stats/realTime.cjs +1 -1
- package/dist/cjs/components/status/blockEmpty.cjs +1 -1
- package/dist/cjs/components/status/listEmpty.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/components/textImageEditor/textImageEditor.cjs +1 -1
- package/dist/cjs/components/tree/treeFilter.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/components/upload/manage/item.cjs +1 -1
- package/dist/cjs/components/upload/manager.lazy.cjs +1 -0
- package/dist/cjs/components/upload/selectFile.cjs +1 -1
- package/dist/cjs/components/upload/video.cjs +1 -1
- package/dist/cjs/components/widget/avatar.cjs +1 -1
- package/dist/cjs/components/widget/connect.cjs +1 -1
- package/dist/cjs/components/widget/image.cjs +1 -1
- package/dist/cjs/components/widget/placeholder.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/layout/global.cjs +1 -1
- package/dist/cjs/pages/layout/page.cjs +1 -1
- package/dist/cjs/pages/layout/tab.cjs +1 -1
- package/dist/cjs/pages/layout.cjs +1 -1
- package/dist/cjs/pages/loading.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/menuApp.cjs +1 -1
- package/dist/cjs/pages/menu/menuMain.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/menu/remoteMenuModal.cjs +1 -0
- package/dist/cjs/pages/page.cjs +1 -1
- package/dist/cjs/pages/page403.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/page500.cjs +1 -1
- package/dist/cjs/pages/pageEmpty.cjs +1 -1
- package/dist/cjs/pages/pageException.cjs +1 -1
- package/dist/cjs/pages/pageLoading.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.cjs +57 -9
- package/dist/esm/app.js +3 -1
- package/dist/esm/component.js +2 -0
- package/dist/esm/components/card/card.js +3 -1
- package/dist/esm/components/card/store.js +3 -1
- package/dist/esm/components/carousel/carousel.js +3 -1
- package/dist/esm/components/cascaderPanel/cascaderPanel.js +3 -1
- package/dist/esm/components/chart/echart.js +3 -1
- package/dist/esm/components/code/code.js +3 -1
- package/dist/esm/components/crop/imageCrop.js +3 -1
- package/dist/esm/components/crop/imageCropModal.js +3 -1
- package/dist/esm/components/dashboard/hello.js +3 -1
- package/dist/esm/components/dashboard/helloBig.js +3 -1
- package/dist/esm/components/dashboard/quick.js +3 -1
- package/dist/esm/components/data/dynamicData.js +3 -1
- package/dist/esm/components/data/dynamicSelect.js +4 -2
- package/dist/esm/components/data/selectModal.js +2 -0
- package/dist/esm/components/data/selectModal.lazy.js +15 -0
- package/dist/esm/components/designEditor/components/grid.js +2 -0
- package/dist/esm/components/designEditor/editor/hook.js +2 -0
- package/dist/esm/components/designEditor/editor/preview.js +3 -1
- package/dist/esm/components/designEditor/editor/setting.js +3 -1
- package/dist/esm/components/designEditor/editor.js +3 -1
- package/dist/esm/components/dialog/dialog.js +2 -0
- package/dist/esm/components/draw/drawApps.js +3 -1
- package/dist/esm/components/draw/drawAuth.js +3 -1
- package/dist/esm/components/draw/drawEmpty.js +3 -1
- package/dist/esm/components/draw/drawEmptyForm.js +3 -1
- package/dist/esm/components/draw/drawError.js +3 -1
- package/dist/esm/components/drawer/drawer.js +2 -0
- package/dist/esm/components/drawer/drawerPage.js +3 -1
- package/dist/esm/components/drawer/drawerTab.js +2 -0
- package/dist/esm/components/editor/aiEditor.js +4 -2
- package/dist/esm/components/flowEditor/components/fieldConfig.js +3 -1
- package/dist/esm/components/flowEditor/components/jsonEditor.js +2 -0
- package/dist/esm/components/flowEditor/components/kvInput.js +3 -1
- package/dist/esm/components/flowEditor/components/nodeCard.js +3 -2
- package/dist/esm/components/flowEditor/components/note.js +3 -1
- package/dist/esm/components/flowEditor/components/setting.js +3 -1
- package/dist/esm/components/flowEditor/components/toolbar.js +3 -1
- package/dist/esm/components/flowEditor/flowEditor.js +3 -1
- package/dist/esm/components/flowEditor/nodes/dynamicNodeFactory.js +2 -0
- package/dist/esm/components/flowEditor/nodes/endNode.js +3 -1
- package/dist/esm/components/flowEditor/nodes/index.js +3 -1
- package/dist/esm/components/flowEditor/nodes/processNode.js +3 -1
- package/dist/esm/components/flowEditor/nodes/startNode.js +3 -1
- package/dist/esm/components/flowEditor/utils/nodeDataUtils.js +3 -1
- package/dist/esm/components/form/drawerForm.js +3 -1
- package/dist/esm/components/form/drawerTabForm.js +3 -1
- package/dist/esm/components/form/formItem.js +3 -1
- package/dist/esm/components/form/formLayout.js +3 -1
- package/dist/esm/components/form/modalForm.js +3 -1
- package/dist/esm/components/form/modalTabForm.js +3 -1
- package/dist/esm/components/form/pageForm.js +3 -1
- package/dist/esm/components/form/pageTabForm.js +3 -1
- package/dist/esm/components/form/settingForm.js +3 -1
- package/dist/esm/components/formEditor/base/base.js +3 -1
- package/dist/esm/components/formEditor/base/json.js +2 -0
- package/dist/esm/components/formEditor/base/options.js +2 -0
- package/dist/esm/components/formEditor/base/setting.js +3 -1
- package/dist/esm/components/formEditor/components/cascader.js +2 -0
- package/dist/esm/components/formEditor/components/cascaderAsync.js +2 -0
- package/dist/esm/components/formEditor/components/checkbox.js +2 -0
- package/dist/esm/components/formEditor/components/color.js +2 -0
- package/dist/esm/components/formEditor/components/date.js +2 -0
- package/dist/esm/components/formEditor/components/dynamicInput.js +2 -0
- package/dist/esm/components/formEditor/components/dynamicTags.js +2 -0
- package/dist/esm/components/formEditor/components/editor.js +2 -0
- package/dist/esm/components/formEditor/components/fileUpload.js +2 -0
- package/dist/esm/components/formEditor/components/imageUpload.js +2 -0
- package/dist/esm/components/formEditor/components/input.js +2 -0
- package/dist/esm/components/formEditor/components/inputNumber.js +2 -0
- package/dist/esm/components/formEditor/components/mentionAsync.js +2 -0
- package/dist/esm/components/formEditor/components/radio.js +2 -0
- package/dist/esm/components/formEditor/components/region.js +2 -0
- package/dist/esm/components/formEditor/components/select.js +2 -0
- package/dist/esm/components/formEditor/components/selectAsync.js +2 -0
- package/dist/esm/components/formEditor/components/sider.js +2 -0
- package/dist/esm/components/formEditor/components/switch.js +2 -0
- package/dist/esm/components/formEditor/components/time.js +2 -0
- package/dist/esm/components/formEditor/components/transferAsync.js +2 -0
- package/dist/esm/components/formEditor/components/treeSelect.js +2 -0
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +2 -0
- package/dist/esm/components/formEditor/editor.js +3 -1
- package/dist/esm/components/formEditor/json.js +2 -0
- package/dist/esm/components/formEditor/preview.js +3 -1
- package/dist/esm/components/formEditor/renderer.js +3 -1
- package/dist/esm/components/icon/icon.js +3 -1
- package/dist/esm/components/icon/iconPicker.js +2 -0
- package/dist/esm/components/layout/filter.js +3 -1
- package/dist/esm/components/layout/filterLayout.js +3 -1
- package/dist/esm/components/layout/grid.js +3 -1
- package/dist/esm/components/layout/list.js +3 -1
- package/dist/esm/components/layout/table.js +3 -1
- package/dist/esm/components/layout/tools.js +3 -1
- package/dist/esm/components/level/level.js +3 -1
- package/dist/esm/components/list/card.js +3 -1
- package/dist/esm/components/list/item.js +3 -2
- package/dist/esm/components/list/list.js +3 -1
- package/dist/esm/components/mapCoord/mapCoord.js +3 -1
- package/dist/esm/components/media/media.js +3 -1
- package/dist/esm/components/modal/modal.js +4 -2
- package/dist/esm/components/modal/modalPage.js +2 -0
- package/dist/esm/components/modal/modalTab.js +2 -0
- package/dist/esm/components/panel/alert.js +3 -1
- package/dist/esm/components/panel/collapse.js +3 -1
- package/dist/esm/components/panel/setting.js +3 -1
- package/dist/esm/components/posterEditor/components/CanvasRuler.js +3 -1
- package/dist/esm/components/posterEditor/elements/circle.js +2 -0
- package/dist/esm/components/posterEditor/elements/image.js +2 -0
- package/dist/esm/components/posterEditor/elements/index.js +3 -2
- package/dist/esm/components/posterEditor/elements/rect.js +2 -0
- package/dist/esm/components/posterEditor/elements/text.js +2 -0
- package/dist/esm/components/posterEditor/hooks/usePosterEditor.js +2 -0
- package/dist/esm/components/posterEditor/pages/LeftToolbar.js +3 -1
- package/dist/esm/components/posterEditor/pages/Panel.js +3 -1
- package/dist/esm/components/posterEditor/pages/PanelItem.js +3 -1
- package/dist/esm/components/posterEditor/pages/RightPanel.js +3 -1
- package/dist/esm/components/posterEditor/posterEditor.js +3 -1
- package/dist/esm/components/schemaEditor/schemaEditor.js +3 -2
- package/dist/esm/components/select/checkboxTag.js +3 -1
- package/dist/esm/components/select/dateTag.js +3 -1
- package/dist/esm/components/select/radioTag.js +3 -1
- package/dist/esm/components/select/selectCard.js +3 -1
- package/dist/esm/components/spec/spec.js +3 -1
- package/dist/esm/components/spec/specEditor.js +3 -1
- package/dist/esm/components/stats/number.js +3 -1
- package/dist/esm/components/stats/realTime.js +3 -1
- package/dist/esm/components/status/blockEmpty.js +3 -1
- package/dist/esm/components/status/listEmpty.js +3 -1
- package/dist/esm/components/table/table.js +3 -1
- package/dist/esm/components/table/tablePage.js +3 -1
- package/dist/esm/components/textImageEditor/textImageEditor.js +4 -3
- package/dist/esm/components/textImageEditor/textModal.js +2 -0
- package/dist/esm/components/tree/treeFilter.js +3 -1
- package/dist/esm/components/upload/config.js +2 -0
- package/dist/esm/components/upload/file.js +4 -3
- package/dist/esm/components/upload/image.js +4 -2
- package/dist/esm/components/upload/manage/item.js +3 -1
- package/dist/esm/components/upload/manager.js +2 -0
- package/dist/esm/components/upload/manager.lazy.js +15 -0
- package/dist/esm/components/upload/selectFile.js +3 -1
- package/dist/esm/components/upload/video.js +4 -3
- package/dist/esm/components/widget/avatar.js +3 -1
- package/dist/esm/components/widget/connect.js +3 -1
- package/dist/esm/components/widget/image.js +3 -1
- package/dist/esm/components/widget/placeholder.js +3 -1
- package/dist/esm/config/echart.js +2 -0
- package/dist/esm/config/uno.js +2 -0
- package/dist/esm/config/validate.js +2 -0
- package/dist/esm/hooks/action.js +2 -0
- package/dist/esm/hooks/dialog.js +2 -0
- package/dist/esm/hooks/download.js +2 -0
- package/dist/esm/hooks/drawer.js +2 -0
- package/dist/esm/hooks/echart.js +2 -30
- package/dist/esm/hooks/image.js +2 -0
- package/dist/esm/hooks/level.js +2 -0
- package/dist/esm/hooks/modal.js +2 -0
- package/dist/esm/hooks/table/color.js +2 -0
- package/dist/esm/hooks/table/column.js +2 -0
- package/dist/esm/hooks/table/copy.js +2 -0
- package/dist/esm/hooks/table/hidden.js +2 -0
- package/dist/esm/hooks/table/image.js +2 -0
- package/dist/esm/hooks/table/input.js +2 -0
- package/dist/esm/hooks/table/map.js +2 -0
- package/dist/esm/hooks/table/media.js +2 -0
- package/dist/esm/hooks/table/status.js +2 -0
- package/dist/esm/hooks/table/switch.js +2 -0
- package/dist/esm/hooks/table.js +2 -0
- package/dist/esm/hooks/ui.js +2 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/langs/en-US.js +1 -0
- package/dist/esm/langs/zh-CN.js +1 -0
- package/dist/esm/main.js +8 -4
- package/dist/esm/pages/authLayout.js +3 -1
- package/dist/esm/pages/layout/global.js +3 -1
- package/dist/esm/pages/layout/page.js +3 -1
- package/dist/esm/pages/layout/tab.js +3 -1
- package/dist/esm/pages/layout.js +3 -1
- package/dist/esm/pages/loading.js +3 -1
- package/dist/esm/pages/login.js +3 -1
- package/dist/esm/pages/menu/avatar.js +91 -61
- package/dist/esm/pages/menu/button.js +2 -0
- package/dist/esm/pages/menu/cmd.js +3 -1
- package/dist/esm/pages/menu/dark.js +2 -0
- package/dist/esm/pages/menu/menuApp.js +66 -47
- package/dist/esm/pages/menu/menuMain.js +3 -1
- package/dist/esm/pages/menu/mobile.js +3 -1
- package/dist/esm/pages/menu/notice.js +2 -0
- package/dist/esm/pages/menu/remoteMenuModal.js +56 -0
- package/dist/esm/pages/page.js +3 -1
- package/dist/esm/pages/page403.js +3 -1
- package/dist/esm/pages/page404.js +3 -1
- package/dist/esm/pages/page500.js +3 -1
- package/dist/esm/pages/pageEmpty.js +3 -1
- package/dist/esm/pages/pageException.js +3 -1
- package/dist/esm/pages/pageLoading.js +3 -1
- package/dist/esm/pages/pageStatus.js +3 -1
- package/dist/esm/static/images/icon/audio.js +2 -0
- package/dist/esm/static/images/icon/excel.js +2 -0
- package/dist/esm/static/images/icon/file.js +2 -0
- package/dist/esm/static/images/icon/folder.js +2 -0
- package/dist/esm/static/images/icon/pdf.js +2 -0
- package/dist/esm/static/images/icon/ppt.js +2 -0
- package/dist/esm/static/images/icon/video.js +2 -0
- package/dist/esm/static/images/icon/word.js +2 -0
- package/dist/esm/stores/ui.js +2 -10
- package/dist/esm/theme/naiveTheme.js +2 -0
- package/dist/esm/theme/presetTheme.js +2 -0
- package/dist/esm/theme/uno.js +3 -1
- package/dist/types/components/data/selectModal.lazy.d.ts +2 -0
- package/dist/types/components/table/table.d.ts +4 -18
- package/dist/types/components/upload/manager.lazy.d.ts +2 -0
- package/dist/types/main.d.ts +26 -0
- package/dist/types/pages/menu/remoteMenuModal.d.ts +67 -0
- package/package.json +31 -31
package/dist/esm/config/uno.js
CHANGED
|
@@ -3,6 +3,7 @@ import "../theme/index.js";
|
|
|
3
3
|
import t from "@unocss/preset-icons/browser";
|
|
4
4
|
import n from "@unocss/preset-typography";
|
|
5
5
|
import { presetWind4 as r } from "unocss/preset-wind4";
|
|
6
|
+
//#region src/config/uno.ts
|
|
6
7
|
function i(i) {
|
|
7
8
|
let a = { presets: [
|
|
8
9
|
r({ preflights: {
|
|
@@ -15,4 +16,5 @@ function i(i) {
|
|
|
15
16
|
] };
|
|
16
17
|
return i || (a.preflights = [{ getCSS: () => import("../theme/uno.js").then((e) => e.default) }]), a;
|
|
17
18
|
}
|
|
19
|
+
//#endregion
|
|
18
20
|
export { i as config };
|
|
@@ -2,10 +2,12 @@ import { localize as e } from "@vee-validate/i18n";
|
|
|
2
2
|
import t from "@vee-validate/i18n/dist/locale/en.json";
|
|
3
3
|
import n from "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
4
4
|
import { configure as r } from "vee-validate";
|
|
5
|
+
//#region src/config/validate.ts
|
|
5
6
|
function i() {
|
|
6
7
|
r({ generateMessage: e({
|
|
7
8
|
"en-US": t,
|
|
8
9
|
"zh-CN": n
|
|
9
10
|
}) });
|
|
10
11
|
}
|
|
12
|
+
//#endregion
|
|
11
13
|
export { i as initVeeValidate };
|
package/dist/esm/hooks/action.js
CHANGED
|
@@ -5,6 +5,7 @@ import { h as r } from "vue";
|
|
|
5
5
|
import { useCustomMutation as i, useDelete as a, useI18n as o, useInvalidate as s, useManage as c } from "@duxweb/dvha-core";
|
|
6
6
|
import { NButton as l, NDropdown as u, useMessage as d } from "naive-ui";
|
|
7
7
|
import { useRoute as f, useRouter as p } from "vue-router";
|
|
8
|
+
//#region src/hooks/action.tsx
|
|
8
9
|
function m(r) {
|
|
9
10
|
let l = n(), u = t(), m = e(), { t: _ } = o(), v = d(), y = c(), b = p(), x = f(), { invalidate: S } = s(), C = i({
|
|
10
11
|
onSuccess: (e) => {
|
|
@@ -173,4 +174,5 @@ function g() {
|
|
|
173
174
|
}))]);
|
|
174
175
|
} };
|
|
175
176
|
}
|
|
177
|
+
//#endregion
|
|
176
178
|
export { m as useAction, h as useActionButton, g as useActionDropdown };
|
package/dist/esm/hooks/dialog.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import e from "../components/dialog/dialog.js";
|
|
2
2
|
import "../components/index.js";
|
|
3
3
|
import { useOverlay as t } from "@overlastic/vue";
|
|
4
|
+
//#region src/hooks/dialog.tsx
|
|
4
5
|
function n() {
|
|
5
6
|
let n = t(e), r = (e) => n(e);
|
|
6
7
|
return {
|
|
@@ -26,4 +27,5 @@ function n() {
|
|
|
26
27
|
})
|
|
27
28
|
};
|
|
28
29
|
}
|
|
30
|
+
//#endregion
|
|
29
31
|
export { n as useDialog };
|
|
@@ -2,6 +2,7 @@ import { ref as e } from "vue";
|
|
|
2
2
|
import { useClient as t, useI18n as n } from "@duxweb/dvha-core";
|
|
3
3
|
import { useMessage as r } from "naive-ui";
|
|
4
4
|
import i from "dayjs";
|
|
5
|
+
//#region src/hooks/download.ts
|
|
5
6
|
var a = {
|
|
6
7
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "xlsx",
|
|
7
8
|
"application/vnd.ms-excel": "xls",
|
|
@@ -137,4 +138,5 @@ function c() {
|
|
|
137
138
|
}
|
|
138
139
|
};
|
|
139
140
|
}
|
|
141
|
+
//#endregion
|
|
140
142
|
export { c as useDownload };
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import e from "../components/drawer/drawer.js";
|
|
2
2
|
import "../components/index.js";
|
|
3
3
|
import { useOverlay as t } from "@overlastic/vue";
|
|
4
|
+
//#region src/hooks/drawer.tsx
|
|
4
5
|
function n() {
|
|
5
6
|
let n = t(e);
|
|
6
7
|
return { show: (e) => n(e) };
|
|
7
8
|
}
|
|
9
|
+
//#endregion
|
|
8
10
|
export { n as useDrawer };
|
package/dist/esm/hooks/echart.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { computed as e, ref as t, watch as n } from "vue";
|
|
2
2
|
import { add as r } from "lodash-es";
|
|
3
|
-
|
|
4
|
-
* 通用图表配置
|
|
5
|
-
*/
|
|
3
|
+
//#region src/hooks/echart.ts
|
|
6
4
|
function i(e) {
|
|
7
5
|
let t = e?.min ?? !1, n = e?.showLegend ?? !t, r = t && (e?.showXAxisLabel || e?.showYAxisLabel);
|
|
8
6
|
return {
|
|
@@ -21,9 +19,6 @@ function i(e) {
|
|
|
21
19
|
}
|
|
22
20
|
};
|
|
23
21
|
}
|
|
24
|
-
/**
|
|
25
|
-
* 坐标轴图表基础配置
|
|
26
|
-
*/
|
|
27
22
|
function a(t) {
|
|
28
23
|
let n = i(t), r = t?.min ?? !1, a = e(() => t?.labels?.length ? t.labels : Array.isArray(t?.data) && t.data.length > 0 && typeof t.data[0] == "object" && t.data[0] !== null && "name" in t.data[0] ? t.data.map((e) => e.name) : []), o = e(() => {
|
|
29
24
|
if (!t?.data?.length) return [{
|
|
@@ -75,9 +70,6 @@ function a(t) {
|
|
|
75
70
|
isMin: r
|
|
76
71
|
};
|
|
77
72
|
}
|
|
78
|
-
/**
|
|
79
|
-
* 柱状图
|
|
80
|
-
*/
|
|
81
73
|
function o(t) {
|
|
82
74
|
let { commonOption: n, xAxisData: r, seriesData: i, xAxisConfig: o, yAxisConfig: s, isMin: c } = a(t);
|
|
83
75
|
return { option: e(() => {
|
|
@@ -134,9 +126,6 @@ function o(t) {
|
|
|
134
126
|
};
|
|
135
127
|
}) };
|
|
136
128
|
}
|
|
137
|
-
/**
|
|
138
|
-
* 折线图
|
|
139
|
-
*/
|
|
140
129
|
function s(t) {
|
|
141
130
|
let { commonOption: n, xAxisData: r, seriesData: i, xAxisConfig: o, yAxisConfig: s, isMin: c } = a(t);
|
|
142
131
|
return { option: e(() => {
|
|
@@ -182,9 +171,6 @@ function s(t) {
|
|
|
182
171
|
};
|
|
183
172
|
}) };
|
|
184
173
|
}
|
|
185
|
-
/**
|
|
186
|
-
* 饼图系列基础配置
|
|
187
|
-
*/
|
|
188
174
|
function c(r) {
|
|
189
175
|
let a = i(r), o = r?.min ?? !1, s = e(() => r?.data?.map?.((e) => ({
|
|
190
176
|
name: e.name,
|
|
@@ -238,9 +224,6 @@ function l(t) {
|
|
|
238
224
|
legendData: i
|
|
239
225
|
};
|
|
240
226
|
}
|
|
241
|
-
/**
|
|
242
|
-
* 环形图
|
|
243
|
-
*/
|
|
244
227
|
function u(t) {
|
|
245
228
|
let { commonOption: n, data: i, legendData: a, selected: o, shouldShowLegend: s, isMin: l } = c(t), u = e(() => a.value?.reduce((e, t) => r(e, Number(t.value)), 0) || 0);
|
|
246
229
|
return {
|
|
@@ -359,9 +342,6 @@ function f(t) {
|
|
|
359
342
|
legendData: i
|
|
360
343
|
};
|
|
361
344
|
}
|
|
362
|
-
/**
|
|
363
|
-
* 雷达图
|
|
364
|
-
*/
|
|
365
345
|
function p(t) {
|
|
366
346
|
let n = i(t), r = t?.min ?? !1;
|
|
367
347
|
return { option: e(() => {
|
|
@@ -395,9 +375,6 @@ function p(t) {
|
|
|
395
375
|
};
|
|
396
376
|
}) };
|
|
397
377
|
}
|
|
398
|
-
/**
|
|
399
|
-
* 地图
|
|
400
|
-
*/
|
|
401
378
|
function m(t) {
|
|
402
379
|
let n = i(t), r = t?.min ?? !1;
|
|
403
380
|
return { option: e(() => ({
|
|
@@ -422,9 +399,6 @@ function m(t) {
|
|
|
422
399
|
}]
|
|
423
400
|
})) };
|
|
424
401
|
}
|
|
425
|
-
/**
|
|
426
|
-
* 矩形树图
|
|
427
|
-
*/
|
|
428
402
|
function h(t) {
|
|
429
403
|
let n = i(t), r = t?.min ?? !1;
|
|
430
404
|
return { option: e(() => {
|
|
@@ -477,9 +451,6 @@ function h(t) {
|
|
|
477
451
|
};
|
|
478
452
|
}) };
|
|
479
453
|
}
|
|
480
|
-
/**
|
|
481
|
-
* 通用图表类型选择器
|
|
482
|
-
*/
|
|
483
454
|
function g(e, t) {
|
|
484
455
|
switch (e) {
|
|
485
456
|
case "bar": return o(t);
|
|
@@ -494,4 +465,5 @@ function g(e, t) {
|
|
|
494
465
|
default: return o(t);
|
|
495
466
|
}
|
|
496
467
|
}
|
|
468
|
+
//#endregion
|
|
497
469
|
export { o as useEchartBar, i as useEchartCommon, f as useEchartFunnel, s as useEchartLine, m as useEchartMap, l as useEchartPie, p as useEchartRadar, u as useEchartRing, d as useEchartRose, h as useEchartTreeMap, g as useEchartType };
|
package/dist/esm/hooks/image.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h as e, render as t } from "vue";
|
|
2
2
|
import { NImage as n, NImageGroup as r } from "naive-ui";
|
|
3
|
+
//#region src/hooks/image.ts
|
|
3
4
|
function i() {
|
|
4
5
|
let i = document.querySelector("#preview-image");
|
|
5
6
|
if (!i) {
|
|
@@ -18,4 +19,5 @@ function i() {
|
|
|
18
19
|
c.length > 1 ? t(e(r, {}, { default: () => c }), i) : t(c[0], i), i?.querySelectorAll(".n-image img")[o || 0]?.dispatchEvent(s);
|
|
19
20
|
} };
|
|
20
21
|
}
|
|
22
|
+
//#endregion
|
|
21
23
|
export { i as useImagePreview };
|
package/dist/esm/hooks/level.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { computed as e, ref as t, toRef as n, watch as r } from "vue";
|
|
2
2
|
import { useClient as i } from "@duxweb/dvha-core";
|
|
3
3
|
import { useQuery as a } from "@tanstack/vue-query";
|
|
4
|
+
//#region src/hooks/level.tsx
|
|
4
5
|
function o(o) {
|
|
5
6
|
let s = t([]), c = t(!1), l = t(null), u = n(o, "path", "area"), d = n(o, "value", []), f = n(o, "maxLevel", 4), { request: p } = i(), { data: m, isFetching: h } = a({
|
|
6
7
|
queryKey: [u, l],
|
|
@@ -57,4 +58,5 @@ function o(o) {
|
|
|
57
58
|
value: d
|
|
58
59
|
};
|
|
59
60
|
}
|
|
61
|
+
//#endregion
|
|
60
62
|
export { o as useLevel };
|
package/dist/esm/hooks/modal.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import e from "../components/modal/modal.js";
|
|
2
2
|
import "../components/index.js";
|
|
3
3
|
import { useOverlay as t } from "@overlastic/vue";
|
|
4
|
+
//#region src/hooks/modal.tsx
|
|
4
5
|
function n() {
|
|
5
6
|
let n = t(e);
|
|
6
7
|
return { show: (e) => n(e) };
|
|
7
8
|
}
|
|
9
|
+
//#endregion
|
|
8
10
|
export { n as useModal };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { createVNode as e } from "vue";
|
|
2
2
|
import { findKey as t, get as n } from "lodash-es";
|
|
3
|
+
//#region src/hooks/table/color.tsx
|
|
3
4
|
function r() {
|
|
4
5
|
return { render: (r) => (i, a) => {
|
|
5
6
|
let o = r?.key || "status", s = t(r.maps, (e) => e ? o ? e?.value === n(i, o) : "default" : !1), c = s ? r.maps?.[s] : void 0;
|
|
6
7
|
return c ? e("div", { class: ["flex gap-1 items-center", `text-${s}`] }, [c.icon ? e("div", { class: `size-4 ${c.icon}` }, null) : null, e("span", { class: "text-sm" }, [c?.label])]) : null;
|
|
7
8
|
} };
|
|
8
9
|
}
|
|
10
|
+
//#endregion
|
|
9
11
|
export { r as useTableColumnColor };
|
|
@@ -8,6 +8,7 @@ import { useTableColumnMedia as o } from "./media.js";
|
|
|
8
8
|
import { useTableColumnStatus as s } from "./status.js";
|
|
9
9
|
import { useTableColumnSwitch as c } from "./switch.js";
|
|
10
10
|
import { useManage as l } from "@duxweb/dvha-core";
|
|
11
|
+
//#region src/hooks/table/column.ts
|
|
11
12
|
function u(u) {
|
|
12
13
|
let { getPath: d } = l(), f = u?.path || d(), p = u?.rowKey || "id", m = o(), h = r(), g = c({
|
|
13
14
|
path: f,
|
|
@@ -28,4 +29,5 @@ function u(u) {
|
|
|
28
29
|
renderColor: v.render
|
|
29
30
|
};
|
|
30
31
|
}
|
|
32
|
+
//#endregion
|
|
31
33
|
export { u as useTableColumn };
|
|
@@ -3,6 +3,7 @@ import { useI18n as t } from "@duxweb/dvha-core";
|
|
|
3
3
|
import { useMessage as n } from "naive-ui";
|
|
4
4
|
import { useClipboard as r } from "@vueuse/core";
|
|
5
5
|
import { get as i } from "lodash-es";
|
|
6
|
+
//#region src/hooks/table/copy.tsx
|
|
6
7
|
function a() {
|
|
7
8
|
let { t: a } = t(), o = n(), { copy: s } = r();
|
|
8
9
|
return { render: (t) => (n, r) => {
|
|
@@ -15,4 +16,5 @@ function a() {
|
|
|
15
16
|
}, null)]) : "-"]);
|
|
16
17
|
} };
|
|
17
18
|
}
|
|
19
|
+
//#endregion
|
|
18
20
|
export { a as useTableColumnCopy };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, ref as n } from "vue";
|
|
2
2
|
import { get as r } from "lodash-es";
|
|
3
|
+
//#region src/hooks/table/hidden.tsx
|
|
3
4
|
var i = /* @__PURE__ */ t({
|
|
4
5
|
name: "TableColumnHidden",
|
|
5
6
|
props: {
|
|
@@ -33,4 +34,5 @@ function o(e, t = 30) {
|
|
|
33
34
|
let n = e.length, r = Math.ceil(n * t / 100), i = Math.floor((n - r) / 2);
|
|
34
35
|
return e.slice(0, i) + "*".repeat(r) + e.slice(i + r);
|
|
35
36
|
}
|
|
37
|
+
//#endregion
|
|
36
38
|
export { a as useTableColumnHidden };
|
|
@@ -3,6 +3,7 @@ import "../../components/index.js";
|
|
|
3
3
|
import { createVNode as t, h as n } from "vue";
|
|
4
4
|
import { NImage as r } from "naive-ui";
|
|
5
5
|
import { get as i } from "lodash-es";
|
|
6
|
+
//#region src/hooks/table/image.tsx
|
|
6
7
|
function a() {
|
|
7
8
|
return { render: (a) => (o, s) => {
|
|
8
9
|
let c = i(o, a.key || "") || [];
|
|
@@ -25,4 +26,5 @@ function a() {
|
|
|
25
26
|
})) : t(e, { height: 40 }, null)]);
|
|
26
27
|
} };
|
|
27
28
|
}
|
|
29
|
+
//#endregion
|
|
28
30
|
export { a as useTableColumnImage };
|
|
@@ -2,6 +2,7 @@ import { Fragment as e, createVNode as t, defineComponent as n, h as r, ref as i
|
|
|
2
2
|
import { useCustomMutation as a, useI18n as o } from "@duxweb/dvha-core";
|
|
3
3
|
import { NButton as s, NInput as c, useMessage as l } from "naive-ui";
|
|
4
4
|
import { get as u } from "lodash-es";
|
|
5
|
+
//#region src/hooks/table/input.tsx
|
|
5
6
|
var d = /* @__PURE__ */ n({
|
|
6
7
|
name: "TableColumnInput",
|
|
7
8
|
props: {
|
|
@@ -84,4 +85,5 @@ function f(e) {
|
|
|
84
85
|
}, null);
|
|
85
86
|
} };
|
|
86
87
|
}
|
|
88
|
+
//#endregion
|
|
87
89
|
export { f as useTableColumnInput };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { createVNode as e } from "vue";
|
|
2
2
|
import { get as t } from "lodash-es";
|
|
3
|
+
//#region src/hooks/table/map.tsx
|
|
3
4
|
function n() {
|
|
4
5
|
return { render: (n) => (r, i) => e("div", { class: "flex flex-col gap-1" }, [(typeof n.maps == "function" ? n.maps(r) : n.maps)?.map((n) => e("div", { class: "flex gap-2 " }, [e("div", { class: "flex text-muted items-center gap-1 whitespace-nowrap" }, [n.icon && e("div", { class: ["size-4", n.icon] }, null), n.label]), e("div", null, [n?.render ? n.render(t(r, n.key || "")) : t(r, n.key || "") || "-"])]))]) };
|
|
5
6
|
}
|
|
7
|
+
//#endregion
|
|
6
8
|
export { n as useTableColumnMap };
|
|
@@ -2,6 +2,7 @@ import { DuxMedia as e } from "../../components/media/media.js";
|
|
|
2
2
|
import "../../components/index.js";
|
|
3
3
|
import { createVNode as t } from "vue";
|
|
4
4
|
import { get as n } from "lodash-es";
|
|
5
|
+
//#region src/hooks/table/media.tsx
|
|
5
6
|
function r() {
|
|
6
7
|
return { render: (r) => (i, a) => {
|
|
7
8
|
let o = typeof r.title == "function" ? r.title(i) : n(i, r.title || ""), s = typeof r.desc == "function" ? r.desc(i) : n(i, r.desc || ""), c = typeof r.image == "function" ? r.image(i) : n(i, r.image || "");
|
|
@@ -15,4 +16,5 @@ function r() {
|
|
|
15
16
|
}, null);
|
|
16
17
|
} };
|
|
17
18
|
}
|
|
19
|
+
//#endregion
|
|
18
20
|
export { r as useTableColumnMedia };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Fragment as e, createVNode as t } from "vue";
|
|
2
2
|
import { NTag as n } from "naive-ui";
|
|
3
3
|
import { findKey as r, get as i } from "lodash-es";
|
|
4
|
+
//#region src/hooks/table/status.tsx
|
|
4
5
|
function a() {
|
|
5
6
|
return { render: (a) => (o, s) => {
|
|
6
7
|
let c = a?.key || "status", l = r(a.maps, (e) => e ? c ? e?.value === i(o, c) : "default" : !1), u = l ? a.maps?.[l] : void 0;
|
|
@@ -19,4 +20,5 @@ function a() {
|
|
|
19
20
|
}) : null;
|
|
20
21
|
} };
|
|
21
22
|
}
|
|
23
|
+
//#endregion
|
|
22
24
|
export { a as useTableColumnStatus };
|
|
@@ -2,6 +2,7 @@ import { createVNode as e, defineComponent as t, ref as n, watch as r } from "vu
|
|
|
2
2
|
import { useCustomMutation as i } from "@duxweb/dvha-core";
|
|
3
3
|
import { NSwitch as a, useMessage as o } from "naive-ui";
|
|
4
4
|
import { get as s } from "lodash-es";
|
|
5
|
+
//#region src/hooks/table/switch.tsx
|
|
5
6
|
function c(c) {
|
|
6
7
|
let { mutateAsync: l } = i(), u = o(), d = /* @__PURE__ */ t({
|
|
7
8
|
name: "DuxTableSwitchCell",
|
|
@@ -52,4 +53,5 @@ function c(c) {
|
|
|
52
53
|
}, null) : null;
|
|
53
54
|
} };
|
|
54
55
|
}
|
|
56
|
+
//#endregion
|
|
55
57
|
export { c as useTableColumnSwitch };
|
package/dist/esm/hooks/table.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createTextVNode as e, createVNode as t, ref as n } from "vue";
|
|
|
2
2
|
import { useI18n as r } from "@duxweb/dvha-core";
|
|
3
3
|
import { NProgress as i, useMessage as a, useNotification as o } from "naive-ui";
|
|
4
4
|
import { useNaiveTable as s } from "@duxweb/dvha-naiveui";
|
|
5
|
+
//#region src/hooks/table.tsx
|
|
5
6
|
function c(c) {
|
|
6
7
|
let { t: l } = r(), u = a(), d = o(), f = n(null);
|
|
7
8
|
return s({
|
|
@@ -65,4 +66,5 @@ function c(c) {
|
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
}
|
|
69
|
+
//#endregion
|
|
68
70
|
export { c as useTable };
|
package/dist/esm/hooks/ui.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useUIStore as e } from "../stores/ui.js";
|
|
2
2
|
import { storeToRefs as t } from "pinia";
|
|
3
|
+
//#region src/hooks/ui.ts
|
|
3
4
|
function n() {
|
|
4
5
|
let n = e(), { menuCollapsed: r, cmdVisible: i, menuMobileCollapsed: a } = t(n);
|
|
5
6
|
return {
|
|
@@ -11,4 +12,5 @@ function n() {
|
|
|
11
12
|
setCmdVisible: n.setCmdVisible
|
|
12
13
|
};
|
|
13
14
|
}
|
|
15
|
+
//#endregion
|
|
14
16
|
export { n as useUI };
|
package/dist/esm/index.js
CHANGED
|
@@ -148,6 +148,6 @@ import "./components/index.js";
|
|
|
148
148
|
import "./component.js";
|
|
149
149
|
import dn from "./langs/en-US.js";
|
|
150
150
|
import fn from "./langs/zh-CN.js";
|
|
151
|
-
import { createDuxPro as pn } from "./main.js";
|
|
151
|
+
import { createDuxPro as pn, duxProRemotePackages as mn } from "./main.js";
|
|
152
152
|
import "./stores/index.js";
|
|
153
|
-
export { Ye as DuxAiEditor, e as DuxApp, Te as DuxAuthLayout, n as DuxAvatar, Q as DuxBlockEmpty, t as DuxCard, Lt as DuxCardItem, It as DuxCardPage, u as DuxCarousel, l as DuxCascaderPanel, V as DuxChart, Xt as DuxCheckboxTag, H as DuxCodeEditor, Ht as DuxCollapsePanel, J as DuxDashboardHello, Y as DuxDashboardHelloBig, X as DuxDashboardQuick, Z as DuxDashboardQuickItem, Zt as DuxDateTag, qe as DuxDesignEditor, Je as DuxDialog, $ as DuxDrawApps, ee as DuxDrawAuth, te as DuxDrawEmpty, ne as DuxDrawEmptyForm, re as DuxDrawError, Ie as DuxDrawer, $e as DuxDrawerForm, Le as DuxDrawerPage, Re as DuxDrawerTab, et as DuxDrawerTabForm, ae as DuxDynamicData, oe as DuxDynamicSelect, At as DuxFileManage, Dt as DuxFileUpload, le as DuxFilterLayout, Ct as DuxFlowEditor, Nt as DuxFormEditor, tt as DuxFormItem, Qe as DuxFormLayout, Pt as DuxFormRenderer, ue as DuxGrid, Ft as DuxIconPicker, a as DuxImage, U as DuxImageCrop, q as DuxImageCropModal, Ot as DuxImageUpload, Ee as DuxLayout, Mt as DuxLevel, ie as DuxListEmpty, ze as DuxListLayout, Rt as DuxListPage, De as DuxLoginPage, zt as DuxMapCoord, o as DuxMedia, Se as DuxMenuApp, ve as DuxMenuAvatar, _e as DuxMenuButton, ye as DuxMenuCmd, be as DuxMenuDark, Ce as DuxMenuMain, xe as DuxMenuNotice, we as DuxMobileMenu, W as DuxModal, nt as DuxModalForm, G as DuxModalPage, K as DuxModalTab, rt as DuxModalTabForm, Oe as DuxPage, Ae as DuxPage403, je as DuxPage404, Me as DuxPage500, Ne as DuxPageEmpty, Pe as DuxPageException, it as DuxPageForm, Fe as DuxPageLoading, ke as DuxPageStatus, at as DuxPageTabForm, Bt as DuxPanelAlert, Vt as DuxPanelCard, i as DuxPlaceholder, Jt as DuxPosterEditor, Qt as DuxRadioTag, Yt as DuxSchemaTreeEditor, $t as DuxSelectCard, se as DuxSelectModal, jt as DuxSelectUpload, ot as DuxSettingForm, rn as DuxSpec, en as DuxSpecEditor, an as DuxStatsNumber, on as DuxStatsRealTime, s as DuxStatsStore, c as DuxStatsStoreItem, sn as DuxTable, ce as DuxTableFilter, Ve as DuxTableLayout, cn as DuxTablePage, Be as DuxTableTools, ln as DuxTextImageEditor, un as DuxTreeFilter, kt as DuxVideoUpload, r as DuxWidgetConnect, He as DuxWidgetEditorPreview, st as EndNode, ct as EndNodeSetting, wt as FIELD_TYPE_OPTIONS, Xe as FlowFieldConfig, Ze as FlowKVInput, bt as FlowNodeCard, gt as FlowNote, xt as FlowSetting, St as FlowToolbar, ut as ProcessNode, dt as ProcessNodeSetting, pt as StartNode, mt as StartNodeSetting, Ue as WidgetEditorSetting, We as WidgetEditorSettingCard, he as config, pn as createDuxPro, _t as createDynamicFlowNode, vt as createDynamicFlowNodes, tn as createSpec, nn as createSpecValue, yt as defaultNodes, Ge as duxFormEditorGrid, Ut as elementConfigs, Wt as elementRegistry, dn as enUS, de as generateRainbowFromColor, Gt as getElementConfig, Kt as getElementsByCategory, lt as getEndNodeRegistry, Tt as getFieldTypeOptions, ft as getProcessNodeRegistry, ht as getStartNodeRegistry, fe as getTheme, ge as initVeeValidate, me as presetTheme, pe as themeOverrides, m as useAction, h as useActionButton, g as useActionDropdown, d as useDialog, _ as useDownload, f as useDrawer, v as useEchartBar, y as useEchartCommon, b as useEchartFunnel, x as useEchartLine, S as useEchartMap, C as useEchartPie, w as useEchartRadar, T as useEchartRing, E as useEchartRose, D as useEchartTreeMap, O as useEchartType, Ke as useEditor, k as useImagePreview, A as useLevel, p as useModal, Et as useNodeDataFlow, qt as usePosterEditor, j as useTable, R as useTableColumn, M as useTableColumnColor, N as useTableColumnImage, P as useTableColumnMap, F as useTableColumnMedia, I as useTableColumnStatus, L as useTableColumnSwitch, B as useUI, z as useUIStore, fn as zhCN };
|
|
153
|
+
export { Ye as DuxAiEditor, e as DuxApp, Te as DuxAuthLayout, n as DuxAvatar, Q as DuxBlockEmpty, t as DuxCard, Lt as DuxCardItem, It as DuxCardPage, u as DuxCarousel, l as DuxCascaderPanel, V as DuxChart, Xt as DuxCheckboxTag, H as DuxCodeEditor, Ht as DuxCollapsePanel, J as DuxDashboardHello, Y as DuxDashboardHelloBig, X as DuxDashboardQuick, Z as DuxDashboardQuickItem, Zt as DuxDateTag, qe as DuxDesignEditor, Je as DuxDialog, $ as DuxDrawApps, ee as DuxDrawAuth, te as DuxDrawEmpty, ne as DuxDrawEmptyForm, re as DuxDrawError, Ie as DuxDrawer, $e as DuxDrawerForm, Le as DuxDrawerPage, Re as DuxDrawerTab, et as DuxDrawerTabForm, ae as DuxDynamicData, oe as DuxDynamicSelect, At as DuxFileManage, Dt as DuxFileUpload, le as DuxFilterLayout, Ct as DuxFlowEditor, Nt as DuxFormEditor, tt as DuxFormItem, Qe as DuxFormLayout, Pt as DuxFormRenderer, ue as DuxGrid, Ft as DuxIconPicker, a as DuxImage, U as DuxImageCrop, q as DuxImageCropModal, Ot as DuxImageUpload, Ee as DuxLayout, Mt as DuxLevel, ie as DuxListEmpty, ze as DuxListLayout, Rt as DuxListPage, De as DuxLoginPage, zt as DuxMapCoord, o as DuxMedia, Se as DuxMenuApp, ve as DuxMenuAvatar, _e as DuxMenuButton, ye as DuxMenuCmd, be as DuxMenuDark, Ce as DuxMenuMain, xe as DuxMenuNotice, we as DuxMobileMenu, W as DuxModal, nt as DuxModalForm, G as DuxModalPage, K as DuxModalTab, rt as DuxModalTabForm, Oe as DuxPage, Ae as DuxPage403, je as DuxPage404, Me as DuxPage500, Ne as DuxPageEmpty, Pe as DuxPageException, it as DuxPageForm, Fe as DuxPageLoading, ke as DuxPageStatus, at as DuxPageTabForm, Bt as DuxPanelAlert, Vt as DuxPanelCard, i as DuxPlaceholder, Jt as DuxPosterEditor, Qt as DuxRadioTag, Yt as DuxSchemaTreeEditor, $t as DuxSelectCard, se as DuxSelectModal, jt as DuxSelectUpload, ot as DuxSettingForm, rn as DuxSpec, en as DuxSpecEditor, an as DuxStatsNumber, on as DuxStatsRealTime, s as DuxStatsStore, c as DuxStatsStoreItem, sn as DuxTable, ce as DuxTableFilter, Ve as DuxTableLayout, cn as DuxTablePage, Be as DuxTableTools, ln as DuxTextImageEditor, un as DuxTreeFilter, kt as DuxVideoUpload, r as DuxWidgetConnect, He as DuxWidgetEditorPreview, st as EndNode, ct as EndNodeSetting, wt as FIELD_TYPE_OPTIONS, Xe as FlowFieldConfig, Ze as FlowKVInput, bt as FlowNodeCard, gt as FlowNote, xt as FlowSetting, St as FlowToolbar, ut as ProcessNode, dt as ProcessNodeSetting, pt as StartNode, mt as StartNodeSetting, Ue as WidgetEditorSetting, We as WidgetEditorSettingCard, he as config, pn as createDuxPro, _t as createDynamicFlowNode, vt as createDynamicFlowNodes, tn as createSpec, nn as createSpecValue, yt as defaultNodes, Ge as duxFormEditorGrid, mn as duxProRemotePackages, Ut as elementConfigs, Wt as elementRegistry, dn as enUS, de as generateRainbowFromColor, Gt as getElementConfig, Kt as getElementsByCategory, lt as getEndNodeRegistry, Tt as getFieldTypeOptions, ft as getProcessNodeRegistry, ht as getStartNodeRegistry, fe as getTheme, ge as initVeeValidate, me as presetTheme, pe as themeOverrides, m as useAction, h as useActionButton, g as useActionDropdown, d as useDialog, _ as useDownload, f as useDrawer, v as useEchartBar, y as useEchartCommon, b as useEchartFunnel, x as useEchartLine, S as useEchartMap, C as useEchartPie, w as useEchartRadar, T as useEchartRing, E as useEchartRose, D as useEchartTreeMap, O as useEchartType, Ke as useEditor, k as useImagePreview, A as useLevel, p as useModal, Et as useNodeDataFlow, qt as usePosterEditor, j as useTable, R as useTableColumn, M as useTableColumnColor, N as useTableColumnImage, P as useTableColumnMap, F as useTableColumnMedia, I as useTableColumnStatus, L as useTableColumnSwitch, B as useUI, z as useUIStore, fn as zhCN };
|
package/dist/esm/langs/en-US.js
CHANGED
package/dist/esm/langs/zh-CN.js
CHANGED
package/dist/esm/main.js
CHANGED
|
@@ -5,17 +5,21 @@ import n from "./component.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import r from "vue-echarts";
|
|
7
7
|
import "echarts";
|
|
8
|
-
import i from "
|
|
8
|
+
import * as i from "vue-draggable-plus";
|
|
9
|
+
import a from "@unocss/runtime";
|
|
9
10
|
import "vue-cropper/dist/index.css";
|
|
10
11
|
import "aieditor/dist/style.css";
|
|
11
12
|
import "@vue-flow/core/dist/style.css";
|
|
12
13
|
import "@vue-flow/core/dist/theme-default.css";
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
//#region src/main.ts
|
|
15
|
+
var o = { "vue-draggable-plus": i };
|
|
16
|
+
function s() {
|
|
17
|
+
return t(), a({
|
|
15
18
|
defaults: e(!1),
|
|
16
19
|
bypassDefined: !0
|
|
17
20
|
}), { install(e) {
|
|
18
21
|
e.component("v-chart", r), e.use(n);
|
|
19
22
|
} };
|
|
20
23
|
}
|
|
21
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
export { s as createDuxPro, o as duxProRemotePackages };
|
|
@@ -10,7 +10,8 @@ import { DuxMobileMenu as o } from "./menu/mobile.js";
|
|
|
10
10
|
import { createVNode as s, defineComponent as c } from "vue";
|
|
11
11
|
import { useManage as l } from "@duxweb/dvha-core";
|
|
12
12
|
import { OverlaysProvider as u } from "@overlastic/vue";
|
|
13
|
-
|
|
13
|
+
//#region src/pages/authLayout.tsx
|
|
14
|
+
var d = /* @__PURE__ */ c({
|
|
14
15
|
name: "DuxAuthLayout",
|
|
15
16
|
setup() {
|
|
16
17
|
let { menuCollapsed: c } = e(), d = l();
|
|
@@ -29,4 +30,5 @@ const d = /* @__PURE__ */ c({
|
|
|
29
30
|
] })] });
|
|
30
31
|
}
|
|
31
32
|
});
|
|
33
|
+
//#endregion
|
|
32
34
|
export { d as DuxAuthLayout };
|
|
@@ -22,7 +22,8 @@ import L from "highlight.js/lib/languages/shell";
|
|
|
22
22
|
import R from "highlight.js/lib/languages/sql";
|
|
23
23
|
import z from "highlight.js/lib/languages/typescript";
|
|
24
24
|
import B from "highlight.js/lib/languages/xml";
|
|
25
|
-
|
|
25
|
+
//#region src/pages/layout/global.tsx
|
|
26
|
+
var V = /* @__PURE__ */ a({
|
|
26
27
|
name: "DuxGlobalLayout",
|
|
27
28
|
setup(a, { slots: V }) {
|
|
28
29
|
let { isDark: H, cssInit: U, getSceneColor: W } = d(), G = o("pageLoading"), K = S(), { lightTheme: q, darkTheme: J } = n();
|
|
@@ -47,4 +48,5 @@ const V = /* @__PURE__ */ a({
|
|
|
47
48
|
}, { default: () => [i(h, null, { default: () => [i(p, null, { default: () => [i(g, null, { default: () => [i(m, null, { default: () => [V.default?.()] })] })] })] })] });
|
|
48
49
|
}
|
|
49
50
|
});
|
|
51
|
+
//#endregion
|
|
50
52
|
export { V as DuxGlobalLayout };
|
|
@@ -6,7 +6,8 @@ import { createVNode as r, defineComponent as i, onMounted as a, onUnmounted as
|
|
|
6
6
|
import { DuxTabRouterView as s, useCheck as c, useManage as l } from "@duxweb/dvha-core";
|
|
7
7
|
import { NButton as u } from "naive-ui";
|
|
8
8
|
import { useIntervalFn as d } from "@vueuse/core";
|
|
9
|
-
|
|
9
|
+
//#region src/pages/layout/page.tsx
|
|
10
|
+
var f = /* @__PURE__ */ i({
|
|
10
11
|
name: "DuxLayoutPage",
|
|
11
12
|
props: {},
|
|
12
13
|
setup() {
|
|
@@ -27,4 +28,5 @@ const f = /* @__PURE__ */ i({
|
|
|
27
28
|
]), r("div", { class: "flex-1 min-w-0" }, [r(n, null, null)])]), r("div", { class: "flex-1 min-h-0 mr-2 ml-2 mb-2 lg:ml-0" }, [r(s, null, null)])]);
|
|
28
29
|
}
|
|
29
30
|
});
|
|
31
|
+
//#endregion
|
|
30
32
|
export { f as DuxLayoutPage };
|
|
@@ -3,7 +3,8 @@ import { useI18n as s, useTabStore as c } from "@duxweb/dvha-core";
|
|
|
3
3
|
import { NDropdown as l, NTab as u, NTabs as d } from "naive-ui";
|
|
4
4
|
import { useRouter as f } from "vue-router";
|
|
5
5
|
import { useNaiveTab as p } from "@duxweb/dvha-naiveui";
|
|
6
|
-
|
|
6
|
+
//#region src/pages/layout/tab.tsx
|
|
7
|
+
var m = /* @__PURE__ */ n({
|
|
7
8
|
name: "DuxPageTab",
|
|
8
9
|
setup(n) {
|
|
9
10
|
let { tabsProps: m, tabs: h } = p(), g = o(), _ = c(), v = f(), { t: y } = s(), b = a({
|
|
@@ -82,4 +83,5 @@ const m = /* @__PURE__ */ n({
|
|
|
82
83
|
}, null)]);
|
|
83
84
|
}
|
|
84
85
|
});
|
|
86
|
+
//#endregion
|
|
85
87
|
export { m as DuxPageTab };
|
package/dist/esm/pages/layout.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { DuxGlobalLayout as e } from "./layout/global.js";
|
|
2
2
|
import { createVNode as t, defineComponent as n } from "vue";
|
|
3
3
|
import { RouterView as r } from "vue-router";
|
|
4
|
-
|
|
4
|
+
//#region src/pages/layout.tsx
|
|
5
|
+
var i = /* @__PURE__ */ n({
|
|
5
6
|
name: "DuxLayout",
|
|
6
7
|
setup() {
|
|
7
8
|
return () => t(e, null, { default: () => [t(r, null, null)] });
|
|
8
9
|
}
|
|
9
10
|
});
|
|
11
|
+
//#endregion
|
|
10
12
|
export { i as DuxLayout };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/pages/loading.tsx
|
|
3
|
+
var n = /* @__PURE__ */ t({
|
|
3
4
|
name: "DuxLoading",
|
|
4
5
|
setup() {
|
|
5
6
|
return () => e("div", { class: "app-loading" }, [e("div", { class: "app-box-loading" }, null)]);
|
|
6
7
|
}
|
|
7
8
|
});
|
|
9
|
+
//#endregion
|
|
8
10
|
export { n as DuxLoading };
|
package/dist/esm/pages/login.js
CHANGED
|
@@ -4,10 +4,11 @@ import { createVNode as t, defineComponent as n, isVNode as r, reactive as i, re
|
|
|
4
4
|
import { DuxLogo as o, useI18n as s, useLogin as c, useManage as l, useTheme as u } from "@duxweb/dvha-core";
|
|
5
5
|
import { NButton as d, NForm as f, NFormItem as p, NInput as m, useMessage as h } from "naive-ui";
|
|
6
6
|
import g from "clsx";
|
|
7
|
+
//#region src/pages/login.tsx
|
|
7
8
|
function _(e) {
|
|
8
9
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !r(e);
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
var v = /* @__PURE__ */ n({
|
|
11
12
|
name: "DuxLoginPage",
|
|
12
13
|
setup(n, { slots: r }) {
|
|
13
14
|
let v = u(), y = l(), { t: b } = s(), x = a(), S = h(), C = i({
|
|
@@ -87,4 +88,5 @@ const v = /* @__PURE__ */ n({
|
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
});
|
|
91
|
+
//#endregion
|
|
90
92
|
export { v as DuxLoginPage };
|