@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
|
@@ -8,6 +8,7 @@ import { useI18n as o } from "@duxweb/dvha-core";
|
|
|
8
8
|
import { NInput as s, NSwitch as c } from "naive-ui";
|
|
9
9
|
import { useVModel as l } from "@vueuse/core";
|
|
10
10
|
import { DuxMention as u } from "@duxweb/dvha-naiveui";
|
|
11
|
+
//#region src/components/formEditor/components/mentionAsync.tsx
|
|
11
12
|
var d = /* @__PURE__ */ a({
|
|
12
13
|
props: { options: Object },
|
|
13
14
|
setup(e) {
|
|
@@ -103,4 +104,5 @@ function m(e) {
|
|
|
103
104
|
json: f
|
|
104
105
|
};
|
|
105
106
|
}
|
|
107
|
+
//#endregion
|
|
106
108
|
export { m as duxFormEditorMentionAsync };
|
|
@@ -8,6 +8,7 @@ import { createVNode as a, defineComponent as o, isVNode as s, mergeProps as c }
|
|
|
8
8
|
import { useI18n as l } from "@duxweb/dvha-core";
|
|
9
9
|
import { NButton as u, NInput as d, NRadio as f, NRadioGroup as p, NSwitch as m } from "naive-ui";
|
|
10
10
|
import { useVModel as h } from "@vueuse/core";
|
|
11
|
+
//#region src/components/formEditor/components/radio.tsx
|
|
11
12
|
function g(e) {
|
|
12
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
13
14
|
}
|
|
@@ -130,4 +131,5 @@ function b(e) {
|
|
|
130
131
|
json: v
|
|
131
132
|
};
|
|
132
133
|
}
|
|
134
|
+
//#endregion
|
|
133
135
|
export { b as duxFormEditorRadio };
|
|
@@ -9,6 +9,7 @@ import { createVNode as a, defineComponent as o } from "vue";
|
|
|
9
9
|
import { useI18n as s } from "@duxweb/dvha-core";
|
|
10
10
|
import { NCheckbox as c, NInput as l } from "naive-ui";
|
|
11
11
|
import { useVModel as u } from "@vueuse/core";
|
|
12
|
+
//#region src/components/formEditor/components/region.tsx
|
|
12
13
|
var d = /* @__PURE__ */ o({
|
|
13
14
|
name: "FormRegion",
|
|
14
15
|
props: { options: Object },
|
|
@@ -96,4 +97,5 @@ function m(e) {
|
|
|
96
97
|
json: f
|
|
97
98
|
};
|
|
98
99
|
}
|
|
100
|
+
//#endregion
|
|
99
101
|
export { m as duxFormEditorRegion };
|
|
@@ -8,6 +8,7 @@ import { createVNode as a, defineComponent as o, isVNode as s } from "vue";
|
|
|
8
8
|
import { useI18n as c } from "@duxweb/dvha-core";
|
|
9
9
|
import { NButton as l, NSelect as u, NSwitch as d } from "naive-ui";
|
|
10
10
|
import { useVModel as f } from "@vueuse/core";
|
|
11
|
+
//#region src/components/formEditor/components/select.tsx
|
|
11
12
|
function p(e) {
|
|
12
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
13
14
|
}
|
|
@@ -129,4 +130,5 @@ function _(e) {
|
|
|
129
130
|
json: h
|
|
130
131
|
};
|
|
131
132
|
}
|
|
133
|
+
//#endregion
|
|
132
134
|
export { _ as duxFormEditorSelect };
|
|
@@ -8,6 +8,7 @@ import { useI18n as o } from "@duxweb/dvha-core";
|
|
|
8
8
|
import { NInput as s, NSwitch as c } from "naive-ui";
|
|
9
9
|
import { useVModel as l } from "@vueuse/core";
|
|
10
10
|
import { DuxSelect as u } from "@duxweb/dvha-naiveui";
|
|
11
|
+
//#region src/components/formEditor/components/selectAsync.tsx
|
|
11
12
|
var d = /* @__PURE__ */ a({
|
|
12
13
|
props: { options: Object },
|
|
13
14
|
setup(e) {
|
|
@@ -128,4 +129,5 @@ function m(e) {
|
|
|
128
129
|
json: f
|
|
129
130
|
};
|
|
130
131
|
}
|
|
132
|
+
//#endregion
|
|
131
133
|
export { m as duxFormEditorSelectAsync };
|
|
@@ -7,6 +7,7 @@ import { createVNode as i, defineComponent as a } from "vue";
|
|
|
7
7
|
import { useI18n as o } from "@duxweb/dvha-core";
|
|
8
8
|
import { NInputNumber as s, NSlider as c, NSwitch as l } from "naive-ui";
|
|
9
9
|
import { useVModel as u } from "@vueuse/core";
|
|
10
|
+
//#region src/components/formEditor/components/sider.tsx
|
|
10
11
|
var d = /* @__PURE__ */ a({
|
|
11
12
|
props: { options: Object },
|
|
12
13
|
setup(e) {
|
|
@@ -94,4 +95,5 @@ function m(e) {
|
|
|
94
95
|
json: f
|
|
95
96
|
};
|
|
96
97
|
}
|
|
98
|
+
//#endregion
|
|
97
99
|
export { m as duxFormEditorSider };
|
|
@@ -7,6 +7,7 @@ import { createVNode as i, defineComponent as a } from "vue";
|
|
|
7
7
|
import { useI18n as o } from "@duxweb/dvha-core";
|
|
8
8
|
import { NSwitch as s } from "naive-ui";
|
|
9
9
|
import { useVModel as c } from "@vueuse/core";
|
|
10
|
+
//#region src/components/formEditor/components/switch.tsx
|
|
10
11
|
var l = /* @__PURE__ */ a({
|
|
11
12
|
name: "FormEditorSwitch",
|
|
12
13
|
props: { options: Object },
|
|
@@ -84,4 +85,5 @@ function f(e) {
|
|
|
84
85
|
json: u
|
|
85
86
|
};
|
|
86
87
|
}
|
|
88
|
+
//#endregion
|
|
87
89
|
export { f as duxFormEditorSwitch };
|
|
@@ -7,6 +7,7 @@ import { createVNode as i, defineComponent as a } from "vue";
|
|
|
7
7
|
import { useI18n as o } from "@duxweb/dvha-core";
|
|
8
8
|
import { NInput as s, NSwitch as c, NTimePicker as l } from "naive-ui";
|
|
9
9
|
import { useVModel as u } from "@vueuse/core";
|
|
10
|
+
//#region src/components/formEditor/components/time.tsx
|
|
10
11
|
var d = /* @__PURE__ */ a({
|
|
11
12
|
name: "FormEditorTime",
|
|
12
13
|
props: { options: Object },
|
|
@@ -99,4 +100,5 @@ function m(e) {
|
|
|
99
100
|
json: f
|
|
100
101
|
};
|
|
101
102
|
}
|
|
103
|
+
//#endregion
|
|
102
104
|
export { m as duxFormEditorTime };
|
|
@@ -8,6 +8,7 @@ import { useI18n as o } from "@duxweb/dvha-core";
|
|
|
8
8
|
import { NInput as s, NSwitch as c } from "naive-ui";
|
|
9
9
|
import { useVModel as l } from "@vueuse/core";
|
|
10
10
|
import { DuxTransfer as u } from "@duxweb/dvha-naiveui";
|
|
11
|
+
//#region src/components/formEditor/components/transferAsync.tsx
|
|
11
12
|
var d = /* @__PURE__ */ a({
|
|
12
13
|
props: { options: Object },
|
|
13
14
|
setup(e) {
|
|
@@ -110,4 +111,5 @@ function m(e) {
|
|
|
110
111
|
json: f
|
|
111
112
|
};
|
|
112
113
|
}
|
|
114
|
+
//#endregion
|
|
113
115
|
export { m as duxFormEditorTransferAsync };
|
|
@@ -8,6 +8,7 @@ import { createVNode as a, defineComponent as o, isVNode as s } from "vue";
|
|
|
8
8
|
import { useI18n as c } from "@duxweb/dvha-core";
|
|
9
9
|
import { NButton as l, NSwitch as u, NTreeSelect as d } from "naive-ui";
|
|
10
10
|
import { useVModel as f } from "@vueuse/core";
|
|
11
|
+
//#region src/components/formEditor/components/treeSelect.tsx
|
|
11
12
|
function p(e) {
|
|
12
13
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
|
|
13
14
|
}
|
|
@@ -129,4 +130,5 @@ function _(e) {
|
|
|
129
130
|
json: h
|
|
130
131
|
};
|
|
131
132
|
}
|
|
133
|
+
//#endregion
|
|
132
134
|
export { _ as duxFormEditorTreeSelect };
|
|
@@ -8,6 +8,7 @@ import { useI18n as o } from "@duxweb/dvha-core";
|
|
|
8
8
|
import { NInput as s, NSwitch as c } from "naive-ui";
|
|
9
9
|
import { useVModel as l } from "@vueuse/core";
|
|
10
10
|
import { DuxTreeSelect as u } from "@duxweb/dvha-naiveui";
|
|
11
|
+
//#region src/components/formEditor/components/treeSelectAsync.tsx
|
|
11
12
|
var d = /* @__PURE__ */ a({
|
|
12
13
|
props: { options: Object },
|
|
13
14
|
setup(e) {
|
|
@@ -102,4 +103,5 @@ function m(e) {
|
|
|
102
103
|
json: f
|
|
103
104
|
};
|
|
104
105
|
}
|
|
106
|
+
//#endregion
|
|
105
107
|
export { m as duxFormEditorTreeSelectAsync };
|
|
@@ -32,10 +32,11 @@ import "./components/index.js";
|
|
|
32
32
|
import { computed as D, createVNode as O, defineComponent as k, isVNode as A, mergeProps as j } from "vue";
|
|
33
33
|
import { useI18n as M } from "@duxweb/dvha-core";
|
|
34
34
|
import { NButton as N } from "naive-ui";
|
|
35
|
+
//#region src/components/formEditor/editor.tsx
|
|
35
36
|
function P(e) {
|
|
36
37
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !A(e);
|
|
37
38
|
}
|
|
38
|
-
|
|
39
|
+
var F = /* @__PURE__ */ k({
|
|
39
40
|
name: "DuxFormEditor",
|
|
40
41
|
props: { onSave: Function },
|
|
41
42
|
extends: t,
|
|
@@ -164,4 +165,5 @@ const F = /* @__PURE__ */ k({
|
|
|
164
165
|
}), null);
|
|
165
166
|
}
|
|
166
167
|
});
|
|
168
|
+
//#endregion
|
|
167
169
|
export { F as DuxFormEditor };
|
|
@@ -3,6 +3,7 @@ import "../code/index.js";
|
|
|
3
3
|
import t from "../modal/modalPage.js";
|
|
4
4
|
import "../modal/index.js";
|
|
5
5
|
import { createVNode as n, defineComponent as r } from "vue";
|
|
6
|
+
//#region src/components/formEditor/json.tsx
|
|
6
7
|
var i = /* @__PURE__ */ r({
|
|
7
8
|
props: { value: {
|
|
8
9
|
type: Object,
|
|
@@ -15,4 +16,5 @@ var i = /* @__PURE__ */ r({
|
|
|
15
16
|
}, null)] });
|
|
16
17
|
}
|
|
17
18
|
});
|
|
19
|
+
//#endregion
|
|
18
20
|
export { i as default };
|
|
@@ -3,7 +3,8 @@ import "../modal/index.js";
|
|
|
3
3
|
import { DuxFormRenderer as t } from "./renderer.js";
|
|
4
4
|
import { createVNode as n, defineComponent as r, ref as i } from "vue";
|
|
5
5
|
import { useI18n as a } from "@duxweb/dvha-core";
|
|
6
|
-
|
|
6
|
+
//#region src/components/formEditor/preview.tsx
|
|
7
|
+
var o = /* @__PURE__ */ r({
|
|
7
8
|
name: "DuxFormPreview",
|
|
8
9
|
props: {
|
|
9
10
|
data: {
|
|
@@ -25,4 +26,5 @@ const o = /* @__PURE__ */ r({
|
|
|
25
26
|
}, null)] });
|
|
26
27
|
}
|
|
27
28
|
});
|
|
29
|
+
//#endregion
|
|
28
30
|
export { o as DuxFormPreview, o as default };
|
|
@@ -27,7 +27,8 @@ import "./components/index.js";
|
|
|
27
27
|
import { computed as w, createVNode as T, defineComponent as E } from "vue";
|
|
28
28
|
import { useI18n as D, useJsonSchema as O } from "@duxweb/dvha-core";
|
|
29
29
|
import { useVModel as k } from "@vueuse/core";
|
|
30
|
-
|
|
30
|
+
//#region src/components/formEditor/renderer.tsx
|
|
31
|
+
var A = /* @__PURE__ */ E({
|
|
31
32
|
name: "DuxFormRenderer",
|
|
32
33
|
props: {
|
|
33
34
|
data: {
|
|
@@ -119,4 +120,5 @@ const A = /* @__PURE__ */ E({
|
|
|
119
120
|
return () => T(F, null, null);
|
|
120
121
|
}
|
|
121
122
|
});
|
|
123
|
+
//#endregion
|
|
122
124
|
export { A as DuxFormRenderer };
|
|
@@ -4,7 +4,8 @@ import { createVNode as t, defineComponent as n } from "vue";
|
|
|
4
4
|
import { useI18n as r } from "@duxweb/dvha-core";
|
|
5
5
|
import { NButton as i } from "naive-ui";
|
|
6
6
|
import { useVModel as a } from "@vueuse/core";
|
|
7
|
-
|
|
7
|
+
//#region src/components/icon/icon.tsx
|
|
8
|
+
var o = /* @__PURE__ */ n({
|
|
8
9
|
name: "DuxIconPicker",
|
|
9
10
|
props: {
|
|
10
11
|
defaultValue: String,
|
|
@@ -37,4 +38,5 @@ const o = /* @__PURE__ */ n({
|
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
});
|
|
41
|
+
//#endregion
|
|
40
42
|
export { o as DuxIconPicker };
|
|
@@ -3,6 +3,7 @@ import { useI18n as a } from "@duxweb/dvha-core";
|
|
|
3
3
|
import { NInput as o, NPagination as s } from "naive-ui";
|
|
4
4
|
import { useOffsetPagination as c } from "@vueuse/core";
|
|
5
5
|
import { icons as l } from "@iconify-json/tabler/icons.json";
|
|
6
|
+
//#region src/components/icon/iconPicker.tsx
|
|
6
7
|
var u = /* @__PURE__ */ t({
|
|
7
8
|
name: "DuxIconPicker",
|
|
8
9
|
props: {
|
|
@@ -57,4 +58,5 @@ var u = /* @__PURE__ */ t({
|
|
|
57
58
|
]);
|
|
58
59
|
}
|
|
59
60
|
});
|
|
61
|
+
//#endregion
|
|
60
62
|
export { u as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, inject as n } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/layout/filter.tsx
|
|
3
|
+
var r = /* @__PURE__ */ t({
|
|
3
4
|
name: "DuxTableFilter",
|
|
4
5
|
props: { label: {
|
|
5
6
|
type: String,
|
|
@@ -13,4 +14,5 @@ const r = /* @__PURE__ */ t({
|
|
|
13
14
|
return () => e("div", { class: ["flex gap-2 gap-2 flex-nowrap", i.labelPlacement === "left" ? "flex-row items-center" : "flex-col"] }, [i.showLabel && t.label && e("div", { class: "text-sm text-default whitespace-nowrap" }, [t.label]), e("div", { class: "flex-1 min-w-60" }, [r.default?.()])]);
|
|
14
15
|
}
|
|
15
16
|
});
|
|
17
|
+
//#endregion
|
|
16
18
|
export { r as DuxTableFilter };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, provide as n } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/layout/filterLayout.tsx
|
|
3
|
+
var r = /* @__PURE__ */ t({
|
|
3
4
|
name: "DuxFilterLayout",
|
|
4
5
|
props: {
|
|
5
6
|
showLabel: {
|
|
@@ -22,4 +23,5 @@ const r = /* @__PURE__ */ t({
|
|
|
22
23
|
}), () => e("div", { class: ["flex flex-col gap-2", t.horizontal ? "flex-row" : "flex-col"] }, [r.default?.()]);
|
|
23
24
|
}
|
|
24
25
|
});
|
|
26
|
+
//#endregion
|
|
25
27
|
export { r as DuxFilterLayout };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/layout/grid.tsx
|
|
3
|
+
var n = /* @__PURE__ */ t({
|
|
3
4
|
name: "DuxGrid",
|
|
4
5
|
props: {
|
|
5
6
|
cols: {
|
|
@@ -15,4 +16,5 @@ const n = /* @__PURE__ */ t({
|
|
|
15
16
|
return () => e("div", { class: `w-full grid md:grid-cols-${t?.cols || 2} grid-cols-1 gap-${t?.spac || 2}` }, [n.default?.()]);
|
|
16
17
|
}
|
|
17
18
|
});
|
|
19
|
+
//#endregion
|
|
18
20
|
export { n as DuxGrid };
|
|
@@ -13,7 +13,8 @@ import { useExtendList as ie, useI18n as ae, useJsonSchema as h, useTabStore as
|
|
|
13
13
|
import { NButton as g, NCheckbox as se, NDrawer as _, NPagination as ce, NProgress as le, NSpin as ue, NTab as de, NTabs as fe, NTooltip as v } from "naive-ui";
|
|
14
14
|
import { useWindowSize as pe } from "@vueuse/core";
|
|
15
15
|
import { cloneDeep as y, isEqual as me } from "lodash-es";
|
|
16
|
-
|
|
16
|
+
//#region src/components/layout/list.tsx
|
|
17
|
+
var b = /* @__PURE__ */ s({
|
|
17
18
|
name: "DuxListLayout",
|
|
18
19
|
props: {
|
|
19
20
|
rowKey: {
|
|
@@ -402,4 +403,5 @@ const b = /* @__PURE__ */ s({
|
|
|
402
403
|
});
|
|
403
404
|
}
|
|
404
405
|
});
|
|
406
|
+
//#endregion
|
|
405
407
|
export { b as DuxListLayout };
|
|
@@ -12,7 +12,8 @@ import { useI18n as re, useJsonSchema as g, useTabStore as ie } from "@duxweb/dv
|
|
|
12
12
|
import { NButton as _, NDrawer as v, NPagination as ae, NPopselect as oe, NProgress as se, NTab as ce, NTabs as le, NTooltip as y } from "naive-ui";
|
|
13
13
|
import { useWindowSize as ue } from "@vueuse/core";
|
|
14
14
|
import { cloneDeep as b, isEqual as x } from "lodash-es";
|
|
15
|
-
|
|
15
|
+
//#region src/components/layout/table.tsx
|
|
16
|
+
var S = /* @__PURE__ */ s({
|
|
16
17
|
name: "DuxTableLayout",
|
|
17
18
|
props: {
|
|
18
19
|
path: {
|
|
@@ -409,4 +410,5 @@ const S = /* @__PURE__ */ s({
|
|
|
409
410
|
});
|
|
410
411
|
}
|
|
411
412
|
});
|
|
413
|
+
//#endregion
|
|
412
414
|
export { S as DuxTableLayout };
|
|
@@ -3,7 +3,8 @@ import "../../hooks/index.js";
|
|
|
3
3
|
import { Fragment as t, Transition as n, computed as r, createVNode as i, defineComponent as a } from "vue";
|
|
4
4
|
import { useI18n as o } from "@duxweb/dvha-core";
|
|
5
5
|
import { NButton as s, NDropdown as c } from "naive-ui";
|
|
6
|
-
|
|
6
|
+
//#region src/components/layout/tools.tsx
|
|
7
|
+
var l = /* @__PURE__ */ a({
|
|
7
8
|
name: "DuxTableTools",
|
|
8
9
|
props: {
|
|
9
10
|
selecteds: {
|
|
@@ -54,4 +55,5 @@ const l = /* @__PURE__ */ a({
|
|
|
54
55
|
]))]) : null] })]);
|
|
55
56
|
}
|
|
56
57
|
});
|
|
58
|
+
//#endregion
|
|
57
59
|
export { l as DuxTableTools };
|
|
@@ -3,7 +3,8 @@ import "../../hooks/index.js";
|
|
|
3
3
|
import { computed as t, createVNode as n, defineComponent as r } from "vue";
|
|
4
4
|
import { NSelect as i } from "naive-ui";
|
|
5
5
|
import { useVModel as a } from "@vueuse/core";
|
|
6
|
-
|
|
6
|
+
//#region src/components/level/level.tsx
|
|
7
|
+
var o = /* @__PURE__ */ r({
|
|
7
8
|
name: "DuxLevel",
|
|
8
9
|
props: {
|
|
9
10
|
value: {
|
|
@@ -60,4 +61,5 @@ const o = /* @__PURE__ */ r({
|
|
|
60
61
|
}, null))]);
|
|
61
62
|
}
|
|
62
63
|
});
|
|
64
|
+
//#endregion
|
|
63
65
|
export { o as DuxLevel };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DuxListLayout as e } from "../layout/list.js";
|
|
2
2
|
import { computed as t, createVNode as n, defineComponent as r, mergeProps as i, ref as a, toRef as o } from "vue";
|
|
3
3
|
import { useElementSize as s, useWindowSize as c, watchDebounced as l } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
//#region src/components/list/card.tsx
|
|
5
|
+
var u = /* @__PURE__ */ r({
|
|
5
6
|
name: "DuxCardPage",
|
|
6
7
|
props: {
|
|
7
8
|
title: {
|
|
@@ -73,4 +74,5 @@ const u = /* @__PURE__ */ r({
|
|
|
73
74
|
});
|
|
74
75
|
}
|
|
75
76
|
});
|
|
77
|
+
//#endregion
|
|
76
78
|
export { u as DuxCardPage };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { NButton as n, NDropdown as r } from "naive-ui";
|
|
3
3
|
import i from "clsx";
|
|
4
|
+
//#region src/components/list/item.tsx
|
|
4
5
|
var a = {
|
|
5
6
|
primary: {
|
|
6
7
|
icon: "text-primary",
|
|
@@ -164,8 +165,7 @@ var a = {
|
|
|
164
165
|
border: "hover:border-rose-500",
|
|
165
166
|
action: "bg-rose-500/10 text-rose-500"
|
|
166
167
|
}
|
|
167
|
-
}
|
|
168
|
-
const o = /* @__PURE__ */ t({
|
|
168
|
+
}, o = /* @__PURE__ */ t({
|
|
169
169
|
name: "DuxCardItem",
|
|
170
170
|
props: {
|
|
171
171
|
title: {
|
|
@@ -234,4 +234,5 @@ const o = /* @__PURE__ */ t({
|
|
|
234
234
|
]);
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
|
+
//#endregion
|
|
237
238
|
export { o as DuxCardItem };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DuxListLayout as e } from "../layout/list.js";
|
|
2
2
|
import { computed as t, createVNode as n, defineComponent as r, mergeProps as i, ref as a } from "vue";
|
|
3
|
-
|
|
3
|
+
//#region src/components/list/list.tsx
|
|
4
|
+
var o = /* @__PURE__ */ r({
|
|
4
5
|
name: "DuxListPage",
|
|
5
6
|
props: {
|
|
6
7
|
title: {
|
|
@@ -39,4 +40,5 @@ const o = /* @__PURE__ */ r({
|
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
42
|
});
|
|
43
|
+
//#endregion
|
|
42
44
|
export { o as DuxListPage };
|
|
@@ -2,6 +2,7 @@ import { computed as e, createVNode as t, defineComponent as n, nextTick as r, o
|
|
|
2
2
|
import { useI18n as s, useManage as c } from "@duxweb/dvha-core";
|
|
3
3
|
import { NButton as l, NInput as u, useMessage as d } from "naive-ui";
|
|
4
4
|
import { useVModel as f } from "@vueuse/core";
|
|
5
|
+
//#region src/components/mapCoord/mapCoord.tsx
|
|
5
6
|
var p;
|
|
6
7
|
function m(e) {
|
|
7
8
|
return window.T ? Promise.resolve(window.T) : p || (p = new Promise((t, n) => {
|
|
@@ -23,7 +24,7 @@ async function g(e, t, n) {
|
|
|
23
24
|
}))}&type=geocode&tk=${encodeURIComponent(e)}`;
|
|
24
25
|
return (await fetch(r)).json();
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
+
var _ = /* @__PURE__ */ n({
|
|
27
28
|
name: "DuxMapCoord",
|
|
28
29
|
props: {
|
|
29
30
|
tk: String,
|
|
@@ -174,4 +175,5 @@ const _ = /* @__PURE__ */ n({
|
|
|
174
175
|
}, null), !T.value && t("div", { class: "p-4 text-sm text-muted" }, [_("common.loading") || "加载中..."])])]);
|
|
175
176
|
}
|
|
176
177
|
});
|
|
178
|
+
//#endregion
|
|
177
179
|
export { _ as DuxMapCoord };
|
|
@@ -5,10 +5,11 @@ import { Fragment as n, computed as r, createVNode as i, defineComponent as a, i
|
|
|
5
5
|
import { NImageGroup as u, NTooltip as d } from "naive-ui";
|
|
6
6
|
import { useResizeObserver as f } from "@vueuse/core";
|
|
7
7
|
import p from "clsx";
|
|
8
|
+
//#region src/components/media/media.tsx
|
|
8
9
|
function m(e) {
|
|
9
10
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !o(e);
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
+
var h = /* @__PURE__ */ a({
|
|
12
13
|
name: "DuxMedia",
|
|
13
14
|
props: {
|
|
14
15
|
title: String,
|
|
@@ -91,4 +92,5 @@ const h = /* @__PURE__ */ a({
|
|
|
91
92
|
};
|
|
92
93
|
}
|
|
93
94
|
});
|
|
95
|
+
//#endregion
|
|
94
96
|
export { h as DuxMedia };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Suspense as e, createVNode as t, defineAsyncComponent as n, defineComponent as r, mergeProps as i } from "vue";
|
|
2
2
|
import { NModal as a, NSpin as o } from "naive-ui";
|
|
3
3
|
import { useDisclosure as s } from "@overlastic/vue";
|
|
4
|
-
|
|
4
|
+
//#region src/components/modal/modal.tsx
|
|
5
|
+
var c = /* @__PURE__ */ r({
|
|
5
6
|
name: "DuxModal",
|
|
6
7
|
props: {
|
|
7
8
|
title: { type: String },
|
|
@@ -19,7 +20,7 @@ const c = /* @__PURE__ */ r({
|
|
|
19
20
|
},
|
|
20
21
|
setup(r) {
|
|
21
22
|
let { visible: c, confirm: l, cancel: u, vanish: d } = s({ duration: 1e3 }), f = r?.componentProps || {};
|
|
22
|
-
f.title = r.title, f.onConfirm = l, f.onClose = u;
|
|
23
|
+
f.title = r.title, f.draggable = r.draggable, f.onConfirm = l, f.onClose = u;
|
|
23
24
|
let p = typeof r.component == "function" ? n(r.component) : r.component;
|
|
24
25
|
return () => t(a, i({
|
|
25
26
|
displayDirective: "show",
|
|
@@ -49,4 +50,5 @@ const c = /* @__PURE__ */ r({
|
|
|
49
50
|
})]) });
|
|
50
51
|
}
|
|
51
52
|
});
|
|
53
|
+
//#endregion
|
|
52
54
|
export { c as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, nextTick as n, ref as r, watch as i } from "vue";
|
|
2
2
|
import { NButton as a } from "naive-ui";
|
|
3
|
+
//#region src/components/modal/modalPage.tsx
|
|
3
4
|
var o = /* @__PURE__ */ t({
|
|
4
5
|
name: "DuxModalPage",
|
|
5
6
|
props: {
|
|
@@ -39,4 +40,5 @@ var o = /* @__PURE__ */ t({
|
|
|
39
40
|
]);
|
|
40
41
|
}
|
|
41
42
|
});
|
|
43
|
+
//#endregion
|
|
42
44
|
export { o as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t } from "vue";
|
|
2
2
|
import { NButton as n, NTabs as r } from "naive-ui";
|
|
3
|
+
//#region src/components/modal/modalTab.tsx
|
|
3
4
|
var i = /* @__PURE__ */ t({
|
|
4
5
|
name: "ModalTab",
|
|
5
6
|
props: {
|
|
@@ -48,4 +49,5 @@ var i = /* @__PURE__ */ t({
|
|
|
48
49
|
}), i.footer && e("div", { class: "flex justify-end gap-2 p-3 rounded-b border-t border-muted bg-muted dark:bg-gray-800/50" }, [i.footer?.()])]);
|
|
49
50
|
}
|
|
50
51
|
});
|
|
52
|
+
//#endregion
|
|
51
53
|
export { i as default };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { computed as e, createVNode as t, defineComponent as n } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/panel/alert.tsx
|
|
3
|
+
var r = /* @__PURE__ */ n({
|
|
3
4
|
name: "DuxPanelAlert",
|
|
4
5
|
props: {
|
|
5
6
|
type: {
|
|
@@ -28,4 +29,5 @@ const r = /* @__PURE__ */ n({
|
|
|
28
29
|
return () => t("div", { class: `relative flex rounded-lg ring ring-muted bg-linear-to-br from-transparent ${i.value}` }, [t("div", { class: "relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6" }, [t("div", { class: "flex flex-col flex-1 items-start" }, [t("div", { class: "flex-1" }, [t("div", { class: "text-base text-pretty text-highlighted" }, [r.title?.() || n.title]), t("div", { class: "text-sm text-pretty text-muted mt-1" }, [r.description?.() || n.description])]), r.actions && t("div", { class: "pt-4 mt-auto" }, [r.actions?.()])])])]);
|
|
29
30
|
}
|
|
30
31
|
});
|
|
32
|
+
//#endregion
|
|
31
33
|
export { r as DuxPanelAlert };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createVNode as e, defineComponent as t, ref as n } from "vue";
|
|
2
2
|
import r from "clsx";
|
|
3
|
-
|
|
3
|
+
//#region src/components/panel/collapse.tsx
|
|
4
|
+
var i = /* @__PURE__ */ t({
|
|
4
5
|
name: "DuxCollapsePanel",
|
|
5
6
|
props: {
|
|
6
7
|
title: String,
|
|
@@ -23,4 +24,5 @@ const i = /* @__PURE__ */ t({
|
|
|
23
24
|
}) }, [e("div", { class: "p-4" }, [i.default?.()])])]);
|
|
24
25
|
}
|
|
25
26
|
});
|
|
27
|
+
//#endregion
|
|
26
28
|
export { i as DuxCollapsePanel };
|
|
@@ -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/panel/setting.tsx
|
|
5
|
+
var r = /* @__PURE__ */ n({
|
|
5
6
|
name: "DuxPanelCard",
|
|
6
7
|
props: {
|
|
7
8
|
title: {
|
|
@@ -26,4 +27,5 @@ const r = /* @__PURE__ */ n({
|
|
|
26
27
|
}, { default: () => [r.default?.()] })]);
|
|
27
28
|
}
|
|
28
29
|
});
|
|
30
|
+
//#endregion
|
|
29
31
|
export { r as DuxPanelCard };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { computed as e, createVNode as t, defineComponent as n } from "vue";
|
|
2
|
-
|
|
2
|
+
//#region src/components/posterEditor/components/CanvasRuler.tsx
|
|
3
|
+
var r = /* @__PURE__ */ n({
|
|
3
4
|
name: "CanvasRuler",
|
|
4
5
|
props: {
|
|
5
6
|
canvasWidth: {
|
|
@@ -99,4 +100,5 @@ const r = /* @__PURE__ */ n({
|
|
|
99
100
|
]);
|
|
100
101
|
}
|
|
101
102
|
});
|
|
103
|
+
//#endregion
|
|
102
104
|
export { r as CanvasRuler };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Circle as e } from "fabric";
|
|
2
|
+
//#region src/components/posterEditor/elements/circle.ts
|
|
2
3
|
var t = {
|
|
3
4
|
type: "circle",
|
|
4
5
|
name: "圆形",
|
|
@@ -133,4 +134,5 @@ var t = {
|
|
|
133
134
|
}), n.label = e.label;
|
|
134
135
|
}
|
|
135
136
|
};
|
|
137
|
+
//#endregion
|
|
136
138
|
export { t as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FabricImage as e } from "fabric";
|
|
2
|
+
//#region src/components/posterEditor/elements/image.ts
|
|
2
3
|
var t = {
|
|
3
4
|
type: "image",
|
|
4
5
|
name: "图片",
|
|
@@ -142,4 +143,5 @@ var t = {
|
|
|
142
143
|
}), n.setCoords(), n.canvas?.renderAll(), n.canvas?.fire("object:modified", { target: n });
|
|
143
144
|
}
|
|
144
145
|
};
|
|
146
|
+
//#endregion
|
|
145
147
|
export { t as default };
|
|
@@ -2,7 +2,7 @@ import e from "./circle.js";
|
|
|
2
2
|
import t from "./image.js";
|
|
3
3
|
import n from "./rect.js";
|
|
4
4
|
import r from "./text.js";
|
|
5
|
-
|
|
5
|
+
var i = new class {
|
|
6
6
|
elements = /* @__PURE__ */ new Map();
|
|
7
7
|
register(e) {
|
|
8
8
|
this.elements.set(e.type, e);
|
|
@@ -30,5 +30,6 @@ i.registerAll([
|
|
|
30
30
|
e,
|
|
31
31
|
t
|
|
32
32
|
]);
|
|
33
|
-
|
|
33
|
+
var a = i.getAll(), o = (e) => i.get(e), s = (e) => i.getByCategory(e);
|
|
34
|
+
//#endregion
|
|
34
35
|
export { a as elementConfigs, i as elementRegistry, o as getElementConfig, s as getElementsByCategory };
|