@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
|
@@ -2,6 +2,7 @@ import { getElementConfig as e } from "../elements/index.js";
|
|
|
2
2
|
import { computed as t, markRaw as n, nextTick as r, ref as i, watch as a } from "vue";
|
|
3
3
|
import { useThrottleFn as o } from "@vueuse/core";
|
|
4
4
|
import { Canvas as s, FabricImage as c } from "fabric";
|
|
5
|
+
//#region src/components/posterEditor/hooks/usePosterEditor.ts
|
|
5
6
|
function l(l = {}) {
|
|
6
7
|
let u = i(null), d = i(null), f = i({
|
|
7
8
|
width: l.width || 750,
|
|
@@ -427,4 +428,5 @@ function l(l = {}) {
|
|
|
427
428
|
}
|
|
428
429
|
};
|
|
429
430
|
}
|
|
431
|
+
//#endregion
|
|
430
432
|
export { l as usePosterEditor };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { elementConfigs as e } from "../elements/index.js";
|
|
2
2
|
import { createVNode as t, defineComponent as n } from "vue";
|
|
3
3
|
import { NButton as r, NTooltip as i } from "naive-ui";
|
|
4
|
-
|
|
4
|
+
//#region src/components/posterEditor/pages/LeftToolbar.tsx
|
|
5
|
+
var a = /* @__PURE__ */ n({
|
|
5
6
|
name: "LeftToolbar",
|
|
6
7
|
props: {
|
|
7
8
|
onAddElement: {
|
|
@@ -29,4 +30,5 @@ const a = /* @__PURE__ */ n({
|
|
|
29
30
|
}))]);
|
|
30
31
|
}
|
|
31
32
|
});
|
|
33
|
+
//#endregion
|
|
32
34
|
export { a as LeftToolbar };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { NScrollbar as n } from "naive-ui";
|
|
3
|
-
|
|
3
|
+
//#region src/components/posterEditor/pages/Panel.tsx
|
|
4
|
+
var r = /* @__PURE__ */ t({
|
|
4
5
|
name: "Panel",
|
|
5
6
|
props: { title: {
|
|
6
7
|
type: String,
|
|
@@ -14,4 +15,5 @@ const r = /* @__PURE__ */ t({
|
|
|
14
15
|
]);
|
|
15
16
|
}
|
|
16
17
|
});
|
|
18
|
+
//#endregion
|
|
17
19
|
export { r as Panel };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/posterEditor/pages/PanelItem.tsx
|
|
3
|
+
var n = /* @__PURE__ */ t({
|
|
3
4
|
name: "PanelItem",
|
|
4
5
|
props: { title: {
|
|
5
6
|
type: String,
|
|
@@ -9,4 +10,5 @@ const n = /* @__PURE__ */ t({
|
|
|
9
10
|
return () => e("div", { class: "flex flex-col gap-1" }, [e("div", { class: "text-muted text-sm" }, [t.title]), e("div", null, [n.default?.()])]);
|
|
10
11
|
}
|
|
11
12
|
});
|
|
13
|
+
//#endregion
|
|
12
14
|
export { n as PanelItem };
|
|
@@ -4,10 +4,11 @@ import { Panel as t } from "./Panel.js";
|
|
|
4
4
|
import { PanelItem as n } from "./PanelItem.js";
|
|
5
5
|
import { Fragment as r, createTextVNode as i, createVNode as a, defineComponent as o, isVNode as s } from "vue";
|
|
6
6
|
import { NButton as c, NColorPicker as l, NInputNumber as u, NTooltip as d } from "naive-ui";
|
|
7
|
+
//#region src/components/posterEditor/pages/RightPanel.tsx
|
|
7
8
|
function f(e) {
|
|
8
9
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
var p = /* @__PURE__ */ o({
|
|
11
12
|
name: "RightPanel",
|
|
12
13
|
props: {
|
|
13
14
|
hasMultipleSelection: {
|
|
@@ -300,4 +301,5 @@ const p = /* @__PURE__ */ o({
|
|
|
300
301
|
return () => a("div", { class: "w-60 bg-default border-l border-default" }, [s()]);
|
|
301
302
|
}
|
|
302
303
|
});
|
|
304
|
+
//#endregion
|
|
303
305
|
export { p as RightPanel };
|
|
@@ -9,7 +9,8 @@ import { RightPanel as a } from "./pages/RightPanel.js";
|
|
|
9
9
|
import "./pages/index.js";
|
|
10
10
|
import { createVNode as o, defineComponent as s, onMounted as c, onUnmounted as l, ref as u, watch as d } from "vue";
|
|
11
11
|
import { NColorPicker as f, NInput as p, NInputNumber as m, NSelect as h, NSlider as g, NSwitch as _ } from "naive-ui";
|
|
12
|
-
|
|
12
|
+
//#region src/components/posterEditor/posterEditor.tsx
|
|
13
|
+
var v = /* @__PURE__ */ s({
|
|
13
14
|
name: "DuxPosterEditor",
|
|
14
15
|
props: {
|
|
15
16
|
data: {
|
|
@@ -147,4 +148,5 @@ const v = /* @__PURE__ */ s({
|
|
|
147
148
|
])] });
|
|
148
149
|
}
|
|
149
150
|
});
|
|
151
|
+
//#endregion
|
|
150
152
|
export { v as DuxPosterEditor };
|
|
@@ -7,6 +7,7 @@ import { useI18n as u } from "@duxweb/dvha-core";
|
|
|
7
7
|
import { NButton as d, NEmpty as f, NForm as p, NFormItem as m, NInput as h, NInputNumber as g, NSelect as _, NSwitch as v, NTag as y, NTree as b } from "naive-ui";
|
|
8
8
|
import { useVModel as x } from "@vueuse/core";
|
|
9
9
|
import S from "lodash-es/cloneDeep";
|
|
10
|
+
//#region src/components/schemaEditor/schemaEditor.tsx
|
|
10
11
|
function C(e) {
|
|
11
12
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !a(e);
|
|
12
13
|
}
|
|
@@ -189,8 +190,7 @@ var D = o(/* @__PURE__ */ i({
|
|
|
189
190
|
}
|
|
190
191
|
});
|
|
191
192
|
}
|
|
192
|
-
}))
|
|
193
|
-
const O = /* @__PURE__ */ i({
|
|
193
|
+
})), O = /* @__PURE__ */ i({
|
|
194
194
|
name: "DuxSchemaTreeEditor",
|
|
195
195
|
props: {
|
|
196
196
|
modelValue: {
|
|
@@ -417,4 +417,5 @@ const O = /* @__PURE__ */ i({
|
|
|
417
417
|
};
|
|
418
418
|
}
|
|
419
419
|
});
|
|
420
|
+
//#endregion
|
|
420
421
|
export { O as DuxSchemaTreeEditor };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { useVModel as n } from "@vueuse/core";
|
|
3
|
+
//#region src/components/select/checkboxTag.tsx
|
|
3
4
|
function r(e, t) {
|
|
4
5
|
return [
|
|
5
6
|
"inline-flex items-center justify-center px-3 py-1.5 rounded-sm text-sm transition-colors duration-150 cursor-pointer select-none",
|
|
@@ -7,7 +8,7 @@ function r(e, t) {
|
|
|
7
8
|
t && "opacity-50 cursor-not-allowed"
|
|
8
9
|
];
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
var i = /* @__PURE__ */ t({
|
|
11
12
|
name: "DuxCheckboxTag",
|
|
12
13
|
props: {
|
|
13
14
|
options: {
|
|
@@ -47,4 +48,5 @@ const i = /* @__PURE__ */ t({
|
|
|
47
48
|
})]);
|
|
48
49
|
}
|
|
49
50
|
});
|
|
51
|
+
//#endregion
|
|
50
52
|
export { i as DuxCheckboxTag };
|
|
@@ -3,6 +3,7 @@ import { useI18n as a } from "@duxweb/dvha-core";
|
|
|
3
3
|
import { NDatePicker as o } from "naive-ui";
|
|
4
4
|
import { useVModel as s } from "@vueuse/core";
|
|
5
5
|
import c from "dayjs";
|
|
6
|
+
//#region src/components/select/dateTag.tsx
|
|
6
7
|
function l(e) {
|
|
7
8
|
if (typeof e.range == "function") return e.range();
|
|
8
9
|
if (e.value) return e.value;
|
|
@@ -63,7 +64,7 @@ function h(e, t) {
|
|
|
63
64
|
days: "components.dateTag.recentDays"
|
|
64
65
|
}[e.unit], { num: e.num }) : "";
|
|
65
66
|
}
|
|
66
|
-
|
|
67
|
+
var g = /* @__PURE__ */ n({
|
|
67
68
|
name: "DuxDateTag",
|
|
68
69
|
props: {
|
|
69
70
|
options: {
|
|
@@ -117,4 +118,5 @@ const g = /* @__PURE__ */ n({
|
|
|
117
118
|
})])]);
|
|
118
119
|
}
|
|
119
120
|
});
|
|
121
|
+
//#endregion
|
|
120
122
|
export { g as DuxDateTag };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { useVModel as n } from "@vueuse/core";
|
|
3
|
+
//#region src/components/select/radioTag.tsx
|
|
3
4
|
function r(e, t) {
|
|
4
5
|
return [
|
|
5
6
|
"inline-flex items-center justify-center px-3 py-1.5 rounded-sm text-sm transition-colors duration-150 cursor-pointer select-none",
|
|
@@ -7,7 +8,7 @@ function r(e, t) {
|
|
|
7
8
|
t && "opacity-50 cursor-not-allowed"
|
|
8
9
|
];
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
+
var i = /* @__PURE__ */ t({
|
|
11
12
|
name: "DuxRadioTag",
|
|
12
13
|
props: {
|
|
13
14
|
options: {
|
|
@@ -47,4 +48,5 @@ const i = /* @__PURE__ */ t({
|
|
|
47
48
|
})]);
|
|
48
49
|
}
|
|
49
50
|
});
|
|
51
|
+
//#endregion
|
|
50
52
|
export { i as DuxRadioTag };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { useVModel as n } from "@vueuse/core";
|
|
3
|
-
|
|
3
|
+
//#region src/components/select/selectCard.tsx
|
|
4
|
+
var r = /* @__PURE__ */ t({
|
|
4
5
|
name: "DuxSelectCard",
|
|
5
6
|
props: {
|
|
6
7
|
options: {
|
|
@@ -94,4 +95,5 @@ const r = /* @__PURE__ */ t({
|
|
|
94
95
|
}] }, [n.description])])])]))]);
|
|
95
96
|
}
|
|
96
97
|
});
|
|
98
|
+
//#endregion
|
|
97
99
|
export { r as DuxSelectCard };
|
|
@@ -5,6 +5,7 @@ import { computed as i, createVNode as a, defineComponent as o, mergeProps as s,
|
|
|
5
5
|
import { useI18n as u } from "@duxweb/dvha-core";
|
|
6
6
|
import { NSwitch as d } from "naive-ui";
|
|
7
7
|
import { useVModel as f } from "@vueuse/core";
|
|
8
|
+
//#region src/components/spec/spec.tsx
|
|
8
9
|
var p = "__dux_spec__", m = (e) => `${p}${e}`;
|
|
9
10
|
function h(e = []) {
|
|
10
11
|
return (e || []).map((e) => {
|
|
@@ -40,7 +41,7 @@ function g(e) {
|
|
|
40
41
|
function _(e, t) {
|
|
41
42
|
return t.map((t) => e?.__specs?.[t.id]?.id || e?.[m(t.id)] || "").join("__");
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
+
var v = /* @__PURE__ */ o({
|
|
44
45
|
name: "DuxSpec",
|
|
45
46
|
props: {
|
|
46
47
|
columns: {
|
|
@@ -196,4 +197,5 @@ const v = /* @__PURE__ */ o({
|
|
|
196
197
|
} }), null)]);
|
|
197
198
|
}
|
|
198
199
|
});
|
|
200
|
+
//#endregion
|
|
199
201
|
export { v as DuxSpec };
|
|
@@ -5,6 +5,7 @@ import { useI18n as c } from "@duxweb/dvha-core";
|
|
|
5
5
|
import { NButton as l, NCheckbox as u, NInput as d } from "naive-ui";
|
|
6
6
|
import { useVModel as f } from "@vueuse/core";
|
|
7
7
|
import { VueDraggable as p } from "vue-draggable-plus";
|
|
8
|
+
//#region src/components/spec/specEditor.tsx
|
|
8
9
|
function m(e) {
|
|
9
10
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
|
|
10
11
|
}
|
|
@@ -27,7 +28,7 @@ function _() {
|
|
|
27
28
|
is_image: !1
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
|
-
|
|
31
|
+
var v = /* @__PURE__ */ r({
|
|
31
32
|
name: "DuxSpecEditor",
|
|
32
33
|
props: {
|
|
33
34
|
value: Array,
|
|
@@ -222,4 +223,5 @@ const v = /* @__PURE__ */ r({
|
|
|
222
223
|
};
|
|
223
224
|
}
|
|
224
225
|
});
|
|
226
|
+
//#endregion
|
|
225
227
|
export { v as DuxSpecEditor, _ as createSpec, g as createSpecValue };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createTextVNode as e, createVNode as t, defineComponent as n } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/stats/number.tsx
|
|
3
|
+
var r = /* @__PURE__ */ n({
|
|
3
4
|
name: "DuxStatsNumber",
|
|
4
5
|
props: {
|
|
5
6
|
title: {
|
|
@@ -32,4 +33,5 @@ const r = /* @__PURE__ */ n({
|
|
|
32
33
|
]);
|
|
33
34
|
}
|
|
34
35
|
});
|
|
36
|
+
//#endregion
|
|
35
37
|
export { r as DuxStatsNumber };
|
|
@@ -6,7 +6,8 @@ import { DuxStatsNumber as n } from "./number.js";
|
|
|
6
6
|
import { Fragment as r, computed as i, createVNode as a, defineComponent as o } from "vue";
|
|
7
7
|
import { useI18n as s } from "@duxweb/dvha-core";
|
|
8
8
|
import { NScrollbar as c } from "naive-ui";
|
|
9
|
-
|
|
9
|
+
//#region src/components/stats/realTime.tsx
|
|
10
|
+
var l = /* @__PURE__ */ o({
|
|
10
11
|
name: "DuxStatsRealTime",
|
|
11
12
|
props: {
|
|
12
13
|
title: {
|
|
@@ -73,4 +74,5 @@ const l = /* @__PURE__ */ o({
|
|
|
73
74
|
});
|
|
74
75
|
}
|
|
75
76
|
});
|
|
77
|
+
//#endregion
|
|
76
78
|
export { l as DuxStatsRealTime };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { useI18n as n } from "@duxweb/dvha-core";
|
|
3
3
|
import r from "clsx";
|
|
4
|
-
|
|
4
|
+
//#region src/components/status/blockEmpty.tsx
|
|
5
|
+
var i = /* @__PURE__ */ t({
|
|
5
6
|
name: "Message",
|
|
6
7
|
props: {
|
|
7
8
|
text: { type: String },
|
|
@@ -151,4 +152,5 @@ const i = /* @__PURE__ */ t({
|
|
|
151
152
|
])]), e("div", { class: "flex flex-col gap-0" }, [e("div", { class: r([t.simple ? "text-center text-muted" : "text-default"]) }, [t.text || i("pages.empty.title")]), !t.simple && e("div", { class: "text-muted" }, [t.desc || i("pages.empty.desc")])])])]);
|
|
152
153
|
}
|
|
153
154
|
});
|
|
155
|
+
//#endregion
|
|
154
156
|
export { i as DuxBlockEmpty };
|
|
@@ -2,7 +2,8 @@ import { DuxDrawEmptyForm as e } from "../draw/drawEmptyForm.js";
|
|
|
2
2
|
import "../draw/index.js";
|
|
3
3
|
import { createVNode as t, defineComponent as n } from "vue";
|
|
4
4
|
import { useI18n as r } from "@duxweb/dvha-core";
|
|
5
|
-
|
|
5
|
+
//#region src/components/status/listEmpty.tsx
|
|
6
|
+
var i = /* @__PURE__ */ n({
|
|
6
7
|
name: "DuxListEmpty",
|
|
7
8
|
props: {
|
|
8
9
|
title: String,
|
|
@@ -18,4 +19,5 @@ const i = /* @__PURE__ */ n({
|
|
|
18
19
|
]);
|
|
19
20
|
}
|
|
20
21
|
});
|
|
22
|
+
//#endregion
|
|
21
23
|
export { i as DuxListEmpty };
|
|
@@ -6,7 +6,8 @@ import { computed as n, createVNode as r, defineComponent as i, mergeProps as a,
|
|
|
6
6
|
import { useI18n as s } from "@duxweb/dvha-core";
|
|
7
7
|
import { NDataTable as c, NPagination as l } from "naive-ui";
|
|
8
8
|
import { useWindowSize as u } from "@vueuse/core";
|
|
9
|
-
|
|
9
|
+
//#region src/components/table/table.tsx
|
|
10
|
+
var d = /* @__PURE__ */ i({
|
|
10
11
|
name: "DuxTable",
|
|
11
12
|
props: {
|
|
12
13
|
path: {
|
|
@@ -44,4 +45,5 @@ const d = /* @__PURE__ */ i({
|
|
|
44
45
|
}), { empty: () => r(t, { bordered: !1 }, null) }), i.pagination && r("div", { class: "flex justify-end p-4 border-t border-muted" }, [r(l, a(m.tablePagination.value, { simple: h.value < 768 }), { prefix: () => r("div", null, [g("components.list.total", { total: m.total.value || 0 })]) })])]);
|
|
45
46
|
}
|
|
46
47
|
});
|
|
48
|
+
//#endregion
|
|
47
49
|
export { d as DuxTable };
|
|
@@ -3,7 +3,8 @@ import "../status/index.js";
|
|
|
3
3
|
import { DuxTableLayout as t } from "../layout/table.js";
|
|
4
4
|
import { computed as n, createVNode as r, defineComponent as i, mergeProps as a, ref as o } from "vue";
|
|
5
5
|
import { NDataTable as s } from "naive-ui";
|
|
6
|
-
|
|
6
|
+
//#region src/components/table/tablePage.tsx
|
|
7
|
+
var c = /* @__PURE__ */ i({
|
|
7
8
|
name: "DuxTablePage",
|
|
8
9
|
props: { tableProps: { type: Object } },
|
|
9
10
|
extends: t,
|
|
@@ -35,4 +36,5 @@ const c = /* @__PURE__ */ i({
|
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
38
|
});
|
|
39
|
+
//#endregion
|
|
38
40
|
export { c as DuxTablePage };
|
|
@@ -9,6 +9,7 @@ import { NButton as d } from "naive-ui";
|
|
|
9
9
|
import f from "clsx";
|
|
10
10
|
import { VueDraggable as p } from "vue-draggable-plus";
|
|
11
11
|
import m from "short-unique-id";
|
|
12
|
+
//#region src/components/textImageEditor/textImageEditor.tsx
|
|
12
13
|
function h(e) {
|
|
13
14
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !o(e);
|
|
14
15
|
}
|
|
@@ -68,8 +69,7 @@ var v = /* @__PURE__ */ a({
|
|
|
68
69
|
innerHTML: e.content || ""
|
|
69
70
|
}, null))]) : i("div", { class: "h-40 flex items-center justify-center text-muted" }, [e.title])])] });
|
|
70
71
|
}
|
|
71
|
-
})
|
|
72
|
-
const y = /* @__PURE__ */ a({
|
|
72
|
+
}), y = /* @__PURE__ */ a({
|
|
73
73
|
name: "DuxTextImageEditor",
|
|
74
74
|
props: {
|
|
75
75
|
value: [String, Array],
|
|
@@ -112,7 +112,7 @@ const y = /* @__PURE__ */ a({
|
|
|
112
112
|
let n = await y.show({
|
|
113
113
|
title: o("components.uploadManage.title") || o("components.upload.fileManager") || "文件管理器",
|
|
114
114
|
width: "800px",
|
|
115
|
-
component: () => import("../upload/manager.js"),
|
|
115
|
+
component: () => import("../upload/manager.lazy.js"),
|
|
116
116
|
componentProps: {
|
|
117
117
|
path: x.value,
|
|
118
118
|
type: t.fileManagerType || "image",
|
|
@@ -271,4 +271,5 @@ const y = /* @__PURE__ */ a({
|
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
});
|
|
274
|
+
//#endregion
|
|
274
275
|
export { y as DuxTextImageEditor };
|
|
@@ -4,6 +4,7 @@ import { DuxAiEditor as t } from "../editor/aiEditor.js";
|
|
|
4
4
|
import "../editor/index.js";
|
|
5
5
|
import { Fragment as n, createTextVNode as r, createVNode as i, defineComponent as a, ref as o, watch as s } from "vue";
|
|
6
6
|
import { NButton as c } from "naive-ui";
|
|
7
|
+
//#region src/components/textImageEditor/textModal.tsx
|
|
7
8
|
var l = /* @__PURE__ */ a({
|
|
8
9
|
name: "DuxTextImageEditorTextModal",
|
|
9
10
|
props: {
|
|
@@ -67,4 +68,5 @@ var l = /* @__PURE__ */ a({
|
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
70
|
});
|
|
71
|
+
//#endregion
|
|
70
72
|
export { l as default };
|
|
@@ -5,7 +5,8 @@ import { useCustomMutation as l, useI18n as u, useTree as d } from "@duxweb/dvha
|
|
|
5
5
|
import { NButton as f, NDropdown as p, NInput as m, NScrollbar as h, NSpin as g, NTree as _ } from "naive-ui";
|
|
6
6
|
import { useVModel as v } from "@vueuse/core";
|
|
7
7
|
import y from "clsx";
|
|
8
|
-
|
|
8
|
+
//#region src/components/tree/treeFilter.tsx
|
|
9
|
+
var b = /* @__PURE__ */ i({
|
|
9
10
|
name: "DuxTreeFilter",
|
|
10
11
|
props: {
|
|
11
12
|
title: String,
|
|
@@ -159,4 +160,5 @@ const b = /* @__PURE__ */ i({
|
|
|
159
160
|
] });
|
|
160
161
|
}
|
|
161
162
|
});
|
|
163
|
+
//#endregion
|
|
162
164
|
export { b as DuxTreeFilter };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { computed as e } from "vue";
|
|
2
2
|
import { createLocalUploadDriver as t, createS3UploadDriver as n, useManage as r } from "@duxweb/dvha-core";
|
|
3
|
+
//#region src/components/upload/config.ts
|
|
3
4
|
function i(i) {
|
|
4
5
|
let a = r(), o = e(() => i?.uploadPath || a.config?.apiPath?.upload || "upload"), s = e(() => i?.managePath || a.config?.apiPath?.uploadManager || "uploadManager"), c = e(() => i?.driver || a.config?.upload?.driver || "local"), l = e(() => i?.method || a.config?.upload?.method || "POST");
|
|
5
6
|
return {
|
|
@@ -16,4 +17,5 @@ function i(i) {
|
|
|
16
17
|
method: l
|
|
17
18
|
};
|
|
18
19
|
}
|
|
20
|
+
//#endregion
|
|
19
21
|
export { i as useUploadConfig };
|
|
@@ -8,6 +8,7 @@ import { useI18n as f, useUpload as p } from "@duxweb/dvha-core";
|
|
|
8
8
|
import { NButton as m, NDataTable as h, NProgress as g, useMessage as _ } from "naive-ui";
|
|
9
9
|
import { useDropZone as v, useVModel as y } from "@vueuse/core";
|
|
10
10
|
import b from "mime";
|
|
11
|
+
//#region src/components/upload/file.tsx
|
|
11
12
|
function x(e) {
|
|
12
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !c(e);
|
|
13
14
|
}
|
|
@@ -42,8 +43,7 @@ var S = {
|
|
|
42
43
|
empty: "flex items-center justify-center h-full text-muted",
|
|
43
44
|
actions: "flex gap-2"
|
|
44
45
|
}
|
|
45
|
-
}
|
|
46
|
-
const w = /* @__PURE__ */ s({
|
|
46
|
+
}, w = /* @__PURE__ */ s({
|
|
47
47
|
name: "DuxFileUpload",
|
|
48
48
|
props: {
|
|
49
49
|
path: {
|
|
@@ -143,7 +143,7 @@ const w = /* @__PURE__ */ s({
|
|
|
143
143
|
s.manager && (e.stopPropagation(), k.show({
|
|
144
144
|
title: E("components.upload.title"),
|
|
145
145
|
width: 800,
|
|
146
|
-
component: () => import("./manager.js"),
|
|
146
|
+
component: () => import("./manager.lazy.js"),
|
|
147
147
|
componentProps: {
|
|
148
148
|
path: j.value,
|
|
149
149
|
multiple: s.multiple,
|
|
@@ -231,4 +231,5 @@ const w = /* @__PURE__ */ s({
|
|
|
231
231
|
}, { empty: () => o("div", { class: C.table.empty }, [E("components.upload.empty")]) })]);
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
|
+
//#endregion
|
|
234
235
|
export { w as DuxFileUpload };
|
|
@@ -8,7 +8,8 @@ import { NButton as l, NImage as u, NProgress as d, useMessage as f } from "naiv
|
|
|
8
8
|
import { useVModel as p } from "@vueuse/core";
|
|
9
9
|
import m from "clsx";
|
|
10
10
|
import { VueDraggable as h } from "vue-draggable-plus";
|
|
11
|
-
|
|
11
|
+
//#region src/components/upload/image.tsx
|
|
12
|
+
var g = /* @__PURE__ */ a({
|
|
12
13
|
name: "DuxImageUpload",
|
|
13
14
|
props: {
|
|
14
15
|
path: {
|
|
@@ -142,7 +143,7 @@ const g = /* @__PURE__ */ a({
|
|
|
142
143
|
e.stopPropagation(), N.show({
|
|
143
144
|
title: b("components.upload.title"),
|
|
144
145
|
width: "800px",
|
|
145
|
-
component: () => import("./manager.js"),
|
|
146
|
+
component: () => import("./manager.lazy.js"),
|
|
146
147
|
componentProps: {
|
|
147
148
|
path: w.value,
|
|
148
149
|
type: "image",
|
|
@@ -167,4 +168,5 @@ const g = /* @__PURE__ */ a({
|
|
|
167
168
|
}, null)])]) : i("div", { class: "i-tabler:plus size-4" }, null)])])] })]);
|
|
168
169
|
}
|
|
169
170
|
});
|
|
171
|
+
//#endregion
|
|
170
172
|
export { g as DuxImageUpload };
|
|
@@ -12,7 +12,8 @@ import { createVNode as l, defineComponent as u } from "vue";
|
|
|
12
12
|
import { useI18n as d } from "@duxweb/dvha-core";
|
|
13
13
|
import { NCheckbox as f, NImage as p } from "naive-ui";
|
|
14
14
|
import m from "clsx";
|
|
15
|
-
|
|
15
|
+
//#region src/components/upload/manage/item.tsx
|
|
16
|
+
var h = /* @__PURE__ */ u({
|
|
16
17
|
name: "DuxFileManageItem",
|
|
17
18
|
props: {
|
|
18
19
|
name: String,
|
|
@@ -128,4 +129,5 @@ const h = /* @__PURE__ */ u({
|
|
|
128
129
|
]);
|
|
129
130
|
}
|
|
130
131
|
});
|
|
132
|
+
//#endregion
|
|
131
133
|
export { h as DuxFileManageItem };
|
|
@@ -8,6 +8,7 @@ import { DuxFileManageItem as i } from "./manage/item.js";
|
|
|
8
8
|
import { computed as a, createTextVNode as o, createVNode as s, defineComponent as c, isVNode as l, nextTick as u, ref as d } from "vue";
|
|
9
9
|
import { useClient as f, useI18n as p, useInfiniteList as m, useUpload as h } from "@duxweb/dvha-core";
|
|
10
10
|
import { NButton as g, NDropdown as _, NInfiniteScroll as v, NInput as y, NSpin as b, NTab as x, NTabs as S, NTooltip as C, useMessage as w } from "naive-ui";
|
|
11
|
+
//#region src/components/upload/manager.tsx
|
|
11
12
|
function T(e) {
|
|
12
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !l(e);
|
|
13
14
|
}
|
|
@@ -336,4 +337,5 @@ var E = /* @__PURE__ */ c({
|
|
|
336
337
|
};
|
|
337
338
|
}
|
|
338
339
|
});
|
|
340
|
+
//#endregion
|
|
339
341
|
export { E as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import e from "./manager.js";
|
|
2
|
+
import { createVNode as t, defineComponent as n, isVNode as r } from "vue";
|
|
3
|
+
//#region src/components/upload/manager.lazy.tsx
|
|
4
|
+
function i(e) {
|
|
5
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !r(e);
|
|
6
|
+
}
|
|
7
|
+
var a = /* @__PURE__ */ n({
|
|
8
|
+
name: "DuxFileManageLazy",
|
|
9
|
+
inheritAttrs: !1,
|
|
10
|
+
setup(n, { attrs: r, slots: a }) {
|
|
11
|
+
return () => t(e, r, i(a) ? a : { default: () => [a] });
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { a as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { computed as e, createTextVNode as t, createVNode as n, defineComponent as r, ref as i } from "vue";
|
|
2
2
|
import { useI18n as a } from "@duxweb/dvha-core";
|
|
3
3
|
import { useVModel as o } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
//#region src/components/upload/selectFile.tsx
|
|
5
|
+
var s = /* @__PURE__ */ r({
|
|
5
6
|
name: "DuxSelectUpload",
|
|
6
7
|
props: {
|
|
7
8
|
maxNum: Number,
|
|
@@ -55,4 +56,5 @@ const s = /* @__PURE__ */ r({
|
|
|
55
56
|
])])])])]);
|
|
56
57
|
}
|
|
57
58
|
});
|
|
59
|
+
//#endregion
|
|
58
60
|
export { s as DuxSelectUpload };
|
|
@@ -8,6 +8,7 @@ import { NButton as f, NProgress as p, useMessage as m } from "naive-ui";
|
|
|
8
8
|
import { useVModel as h } from "@vueuse/core";
|
|
9
9
|
import g from "clsx";
|
|
10
10
|
import { VueDraggable as _ } from "vue-draggable-plus";
|
|
11
|
+
//#region src/components/upload/video.tsx
|
|
11
12
|
var v = /* @__PURE__ */ a({
|
|
12
13
|
name: "DuxVideoThumb",
|
|
13
14
|
props: { src: String },
|
|
@@ -62,8 +63,7 @@ var v = /* @__PURE__ */ a({
|
|
|
62
63
|
class: "size-12 rounded object-cover"
|
|
63
64
|
}, null) : i("div", { class: "i-tabler:video size-6 text-muted" }, null)]);
|
|
64
65
|
}
|
|
65
|
-
})
|
|
66
|
-
const y = /* @__PURE__ */ a({
|
|
66
|
+
}), y = /* @__PURE__ */ a({
|
|
67
67
|
name: "DuxVideoUpload",
|
|
68
68
|
props: {
|
|
69
69
|
path: {
|
|
@@ -196,7 +196,7 @@ const y = /* @__PURE__ */ a({
|
|
|
196
196
|
e.stopPropagation(), x.show({
|
|
197
197
|
title: S("components.upload.title"),
|
|
198
198
|
width: "800px",
|
|
199
|
-
component: () => import("./manager.js"),
|
|
199
|
+
component: () => import("./manager.lazy.js"),
|
|
200
200
|
componentProps: {
|
|
201
201
|
path: E.value,
|
|
202
202
|
type: "media",
|
|
@@ -222,4 +222,5 @@ const y = /* @__PURE__ */ a({
|
|
|
222
222
|
}, null)])]) : i("div", { class: "i-tabler:plus size-4" }, null)])])] })]);
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
|
+
//#endregion
|
|
225
226
|
export { y as DuxVideoUpload };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, h as n, mergeProps as r } from "vue";
|
|
2
2
|
import { NAvatar as i } from "naive-ui";
|
|
3
|
-
|
|
3
|
+
//#region src/components/widget/avatar.tsx
|
|
4
|
+
var a = /* @__PURE__ */ t({
|
|
4
5
|
name: "DuxAvatar",
|
|
5
6
|
props: {},
|
|
6
7
|
extends: i,
|
|
@@ -56,4 +57,5 @@ const a = /* @__PURE__ */ t({
|
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
});
|
|
60
|
+
//#endregion
|
|
59
61
|
export { a as DuxAvatar };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DuxCard as e } from "../card/card.js";
|
|
2
2
|
import "../card/index.js";
|
|
3
3
|
import { createVNode as t, defineComponent as n } from "vue";
|
|
4
|
-
|
|
4
|
+
//#region src/components/widget/connect.tsx
|
|
5
|
+
var r = /* @__PURE__ */ n({
|
|
5
6
|
name: "DuxWidgetConnect",
|
|
6
7
|
props: {
|
|
7
8
|
title: String,
|
|
@@ -124,4 +125,5 @@ const r = /* @__PURE__ */ n({
|
|
|
124
125
|
])])])] });
|
|
125
126
|
}
|
|
126
127
|
});
|
|
128
|
+
//#endregion
|
|
127
129
|
export { r as DuxWidgetConnect };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DuxPlaceholder as e } from "./placeholder.js";
|
|
2
2
|
import { createVNode as t, defineComponent as n, h as r, mergeProps as i } from "vue";
|
|
3
3
|
import { NImage as a } from "naive-ui";
|
|
4
|
-
|
|
4
|
+
//#region src/components/widget/image.tsx
|
|
5
|
+
var o = /* @__PURE__ */ n({
|
|
5
6
|
name: "DuxImage",
|
|
6
7
|
props: {},
|
|
7
8
|
extends: a,
|
|
@@ -15,4 +16,5 @@ const o = /* @__PURE__ */ n({
|
|
|
15
16
|
});
|
|
16
17
|
}
|
|
17
18
|
});
|
|
19
|
+
//#endregion
|
|
18
20
|
export { o as DuxImage };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/widget/placeholder.tsx
|
|
3
|
+
var n = /* @__PURE__ */ t({
|
|
3
4
|
name: "DuxPlaceholder",
|
|
4
5
|
props: {
|
|
5
6
|
width: {
|
|
@@ -65,4 +66,5 @@ const n = /* @__PURE__ */ t({
|
|
|
65
66
|
]);
|
|
66
67
|
}
|
|
67
68
|
});
|
|
69
|
+
//#endregion
|
|
68
70
|
export { n as DuxPlaceholder };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { generate as e } from "@ant-design/colors";
|
|
2
|
+
//#region src/config/echart.ts
|
|
2
3
|
function t(e, t) {
|
|
3
4
|
let n = (Number(e.h) % 360 + 360) % 360, r = [], i = [
|
|
4
5
|
0,
|
|
@@ -322,4 +323,5 @@ function n(t, n) {
|
|
|
322
323
|
}
|
|
323
324
|
};
|
|
324
325
|
}
|
|
326
|
+
//#endregion
|
|
325
327
|
export { t as generateRainbowFromColor, n as getTheme };
|