@duxweb/dvha-pro 1.1.10 → 1.1.11
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/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +9 -3
- package/dist/esm/components/chart/echart.js +16 -28
- package/dist/esm/components/dialog/dialog.js +7 -7
- package/dist/esm/components/drawer/drawer.js +13 -13
- package/dist/esm/components/modal/modal.js +11 -11
- package/dist/esm/hooks/dialog.js +3 -3
- package/dist/esm/hooks/drawer.js +3 -3
- package/dist/esm/hooks/modal.js +1 -1
- package/dist/esm/pages/menu/menuApp.js +13 -13
- package/dist/esm/pages/menu/notice.js +8 -8
- package/dist/esm/theme/uno.css.js +9 -3
- package/dist/types/components/chart/echart.d.ts +3 -247
- package/package.json +31 -34
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),q=require("vue-echarts");require("@duxweb/dvha-core");require("naive-ui");require("vue-router");require("@overlastic/vue");require("clsx");require("@vueuse/core");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");require("jinrishici");require("lodash-es");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("@duxweb/dvha-naiveui");require("../../pages/page404.cjs");require("short-unique-id");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("mime");require("@iconify-json/tabler/icons.json");require("../posterEditor/elements/index.cjs");require("fabric");require("dayjs");const t=require("../../hooks/echart.cjs");require("@tanstack/vue-query");require("pinia");const n=r.defineComponent({name:"DuxChart",props:{height:{type:String,default:"50px"},min:{type:Boolean,default:!1},type:{type:String,default:"bar"},option:{type:Object,default:()=>({})}},setup(e,{attrs:i}){const{option:u}=t.useEchartType(e.type,{min:e.min,...e.option});return()=>r.createVNode(q,r.mergeProps({style:{minHeight:e.height},option:u.value,autoresize:!0,theme:"default",initOptions:{renderer:"svg"}},i),null)}});exports.DuxChart=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@duxweb/dvha-core"),y=require("@overlastic/vue"),a=require("naive-ui");function s(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!e.isVNode(o)}const v=e.defineComponent({name:"DuxDialog",props:{title:String,content:String,type:String,formSchema:Array,defaultValue:Object,render:Function},setup(o){const{t:n}=u.useI18n(),{visible:f,
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@duxweb/dvha-core"),y=require("@overlastic/vue"),a=require("naive-ui");function s(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Object]"&&!e.isVNode(o)}const v=e.defineComponent({name:"DuxDialog",props:{title:String,content:String,type:String,formSchema:Array,defaultValue:Object,render:Function},setup(o){const{t:n}=u.useI18n(),{visible:f,confirm:b,cancel:c,vanish:m}=y.useDisclosure({duration:1e3}),t=e.reactive({title:o?.title,content:o?.content,button:"default"});o.type==="confirm"&&(t.title=t.title||n("components.dialog.confirm.title"),t.content=t.content||n("components.dialog.confirm.content"),t.button="primary"),o.type==="success"&&(t.title=t.title||n("components.dialog.success.title"),t.content=t.content||n("components.dialog.success.content"),t.button="success"),o.type==="error"&&(t.title=t.title||n("components.dialog.error.title"),t.content=t.content||n("components.dialog.error.content"),t.button="error"),o.type==="prompt"&&(t.title=t.title||n("components.dialog.prompt.title"),t.button="primary");const d=e.ref({...o.defaultValue}),{render:g}=u.useJsonSchema({data:o.formSchema||[],context:{form:d.value}});return()=>e.createVNode(a.NModal,{displayDirective:"show",show:f.value,onAfterLeave:()=>{m()},onClose:()=>{c()},onEsc:()=>{c()},role:"dialog","aria-modal":"true",draggable:!0},{default:({draggableClass:p})=>{let l,r,i;return e.createVNode("div",{class:["w-400px rounded border border-muted max-w-full shadow-lg shadow-gray-950/10 bg-white/70 dark:shadow-gray-950/80 dark:bg-gray-900/70 backdrop-blur"]},[o.type!=="node"?e.createVNode("div",{class:["p-6 pb-2 flex gap-4",p]},[e.createVNode("div",null,[(o.type==="confirm"||o.type==="prompt")&&e.createVNode("div",{class:"bg-warning bg-opacity-10 text-warning rounded-full p-2"},[e.createVNode("div",{class:"i-tabler:info-circle size-5"},null)]),o.type==="success"&&e.createVNode("div",{class:"bg-success bg-opacity-10 text-success rounded-full p-2"},[e.createVNode("div",{class:"i-tabler:check size-5"},null)]),o.type==="error"&&e.createVNode("div",{class:"bg-error bg-opacity-10 text-error rounded-full p-2"},[e.createVNode("div",{class:"i-tabler:alert-triangle size-5"},null)])]),e.createVNode("div",{class:"flex flex-1 flex-col gap-2"},[e.createVNode("div",{class:"text-base font-bold"},[t.title]),o.type==="prompt"?e.createVNode(a.NForm,{labelAlign:"left",showLabel:!1,showFeedback:!1,class:"py-2"},s(l=e.h(g))?l:{default:()=>[l]}):e.createVNode("div",{class:"text-sm text-gray-500"},[t.content])])]):e.createVNode("div",{class:"p-4 flex flex-col gap-4"},[e.createVNode("div",{class:"text-base font-bold"},[t.title]),o.render?.()]),e.createVNode("div",{class:"px-4 pb-4 flex justify-end gap-2"},[(o.type==="confirm"||o.type==="prompt")&&e.createVNode(a.NButton,{tertiary:!0,"aria-label":n("components.button.cancel"),type:t.button,onClick:()=>{c()}},s(r=n("components.button.cancel"))?r:{default:()=>[r]}),e.createVNode(a.NButton,{"aria-label":n("components.button.confirm"),type:t.button,onClick:()=>{b(d.value)}},s(i=n("components.button.confirm"))?i:{default:()=>[i]})])])}})}});exports.default=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@overlastic/vue"),l=require("naive-ui"),s=e.defineComponent({name:"DuxDrawer",props:{title:String,width:[Number,String],maxWidth:[Number],placement:{type:String,default:"right"},component:{type:[Function,Object],required:!0},componentProps:Object},setup(t){const{visible:c,confirm:o,cancel:a,vanish:i}=r.useDisclosure({duration:1e3}),n=t?.componentProps||{};n.title=t.title,n.onConfirm=o,n.onClose=a;const u=typeof t.component=="function"?e.defineAsyncComponent(t.component):t.component;return()=>e.createVNode(l.NDrawer,{closeOnEsc:!1,maskClosable:!1,minWidth:200,maxWidth:t?.maxWidth||800,defaultWidth:t?.width||400,resizable:!0,placement:t.placement,show:c.value,onUpdateShow:()=>o(),onAfterLeave:()=>{i()},onEsc:()=>{a()},autoFocus:!1},{default:()=>[e.createVNode("div",{class:"h-full"},[e.createVNode(e.Suspense,null,{default:()=>e.createVNode(u,n,null),fallback:()=>e.createVNode(l.NSpin,{show:!0,class:"h-full"},{default:()=>[e.createVNode("div",{class:"flex-1 min-h-1"},null)]})})])]})}});exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),s=require("@overlastic/vue"),n=require("naive-ui"),l=t.defineComponent({name:"DuxModal",props:{title:{type:String},component:{type:[Function,Object]},componentProps:Object,width:{type:[Number,String],default:500},modalProps:{type:Object},draggable:{type:Boolean,default:!0}},setup(e){const{visible:d,
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),s=require("@overlastic/vue"),n=require("naive-ui"),l=t.defineComponent({name:"DuxModal",props:{title:{type:String},component:{type:[Function,Object]},componentProps:Object,width:{type:[Number,String],default:500},modalProps:{type:Object},draggable:{type:Boolean,default:!0}},setup(e){const{visible:d,confirm:r,cancel:a,vanish:u}=s.useDisclosure({duration:1e3}),o=e?.componentProps||{};o.title=e.title,o.onConfirm=r,o.onClose=a;const i=typeof e.component=="function"?t.defineAsyncComponent(e.component):e.component;return()=>t.createVNode(n.NModal,t.mergeProps({displayDirective:"show",show:d.value,onAfterLeave:()=>{u()},onClose:()=>{a()},onEsc:()=>{a()},draggable:e.draggable,class:"bg-white rounded dark:shadow-gray-950/80 dark:bg-gray-800/60 backdrop-blur",role:"dialog","aria-modal":"true"},e.modalProps,{autoFocus:!1}),{default:({draggableClass:c})=>t.createVNode("div",{class:["max-w-full shadow-lg"],style:{width:typeof e.width=="number"?`${e.width}px`:e.width}},[t.createVNode(t.Suspense,null,{default:()=>t.createVNode(i,t.mergeProps(o,{title:e.title,handle:c}),null),fallback:()=>t.createVNode(n.NSpin,{show:!0},{default:()=>[t.createVNode("div",{class:"h-100"},null)]})})])})}});exports.DuxModal=l;exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");require("short-unique-id");const q=require("../components/dialog/dialog.cjs");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function t(){const u=i.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");require("short-unique-id");const q=require("../components/dialog/dialog.cjs");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function t(){const u=i.useOverlay(q.default),r=e=>u(e);return{confirm:e=>r({...e,type:"confirm"}),success:e=>r({...e,type:"success"}),error:e=>r({...e,type:"error"}),prompt:e=>r({...e,type:"prompt"}),node:e=>r({...e,type:"node"})}}exports.useDialog=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");const i=require("../components/drawer/drawer.cjs");require("short-unique-id");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function q(){const e=u.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");const i=require("../components/drawer/drawer.cjs");require("short-unique-id");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function q(){const e=u.useOverlay(i.default);return{show:r=>e(r)}}exports.useDrawer=q;
|
package/dist/cjs/hooks/modal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");const i=require("../components/modal/modal.cjs");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");require("short-unique-id");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function q(){const e=u.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@overlastic/vue");require("vue");require("clsx");require("naive-ui");require("vue-echarts");require("@duxweb/dvha-core");require("vue-router");require("dayjs");require("mime");require("lodash-es");require("@tanstack/vue-query");require("@duxweb/dvha-naiveui");require("@vueuse/core");require("pinia");require("vue3-ace-editor");require("ace-builds/src-noconflict/mode-vue");require("ace-builds/src-noconflict/mode-javascript");require("ace-builds/src-noconflict/mode-html");require("ace-builds/src-noconflict/mode-json");require("ace-builds/src-noconflict/mode-json5");require("ace-builds/src-noconflict/theme-tomorrow_night");require("ace-builds/src-noconflict/theme-tomorrow");require("ace-builds/src-noconflict/ext-searchbox");require("ace-builds/src-noconflict/ext-language_tools");require("ace-builds/src-noconflict/mode-snippets");require("vue-cropper");const i=require("../components/modal/modal.cjs");require("jinrishici");require("vue-draggable-plus");require("@vee-validate/i18n");require("colorizr");require("echarts");require("highlight.js/lib/core");require("highlight.js/lib/languages/bash");require("highlight.js/lib/languages/css");require("highlight.js/lib/languages/go");require("highlight.js/lib/languages/java");require("highlight.js/lib/languages/javascript");require("highlight.js/lib/languages/json");require("highlight.js/lib/languages/markdown");require("highlight.js/lib/languages/php");require("highlight.js/lib/languages/python");require("highlight.js/lib/languages/shell");require("highlight.js/lib/languages/sql");require("highlight.js/lib/languages/typescript");require("highlight.js/lib/languages/xml");require("@ant-design/colors");require("@unocss/preset-icons/browser");require("@unocss/preset-typography");require("unocss/preset-wind4");require("@vee-validate/i18n/dist/locale/en.json");require("@vee-validate/i18n/dist/locale/zh_CN.json");require("vee-validate");require("vue-command-palette");require("../pages/page404.cjs");require("short-unique-id");require("aieditor");require("@vue-flow/core");require("@vue-flow/background");;/* empty css */require("@iconify-json/tabler/icons.json");require("../components/posterEditor/elements/index.cjs");require("fabric");function q(){const e=u.useOverlay(i.DuxModal);return{show:r=>e(r)}}exports.useModal=q;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=`/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-ease:initial;--un-to-opacity:100%;--un-outline-style:solid;--un-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-ease:initial;--un-to-opacity:100%;--un-fill-opacity:100%;--un-outline-style:solid;--un-space-y-reverse:initial;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -1092,15 +1092,19 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1092
1092
|
.mx-auto{margin-inline:auto;}
|
|
1093
1093
|
.my-2{margin-block:calc(var(--spacing) * 2);}
|
|
1094
1094
|
.my-6{margin-block:calc(var(--spacing) * 6);}
|
|
1095
|
+
.mb{margin-bottom:calc(var(--spacing) * 4);}
|
|
1095
1096
|
.mb-2{margin-bottom:calc(var(--spacing) * 2);}
|
|
1097
|
+
.ml{margin-left:calc(var(--spacing) * 4);}
|
|
1096
1098
|
.ml-2{margin-left:calc(var(--spacing) * 2);}
|
|
1097
1099
|
.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5);}
|
|
1100
|
+
.mr{margin-right:calc(var(--spacing) * 4);}
|
|
1098
1101
|
.mr-1\\!{margin-right:calc(var(--spacing) * 1) !important;}
|
|
1099
1102
|
.mr-2{margin-right:calc(var(--spacing) * 2);}
|
|
1103
|
+
.mt,
|
|
1104
|
+
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1100
1105
|
.mt-1{margin-top:calc(var(--spacing) * 1);}
|
|
1101
1106
|
.mt-2{margin-top:calc(var(--spacing) * 2);}
|
|
1102
1107
|
.mt-3{margin-top:calc(var(--spacing) * 3);}
|
|
1103
|
-
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1104
1108
|
.mt-auto{margin-top:auto;}
|
|
1105
1109
|
.p-1{padding:calc(var(--spacing) * 1);}
|
|
1106
1110
|
.p-2{padding:calc(var(--spacing) * 2);}
|
|
@@ -1111,11 +1115,12 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1111
1115
|
.p-8{padding:calc(var(--spacing) * 8);}
|
|
1112
1116
|
.\\!px-1{padding-inline:calc(var(--spacing) * 1) !important;}
|
|
1113
1117
|
.\\!px-4{padding-inline:calc(var(--spacing) * 4) !important;}
|
|
1118
|
+
.px,
|
|
1119
|
+
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1114
1120
|
.px-1{padding-inline:calc(var(--spacing) * 1);}
|
|
1115
1121
|
.px-2{padding-inline:calc(var(--spacing) * 2);}
|
|
1116
1122
|
.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5);}
|
|
1117
1123
|
.px-3{padding-inline:calc(var(--spacing) * 3);}
|
|
1118
|
-
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1119
1124
|
.px-6{padding-inline:calc(var(--spacing) * 6);}
|
|
1120
1125
|
.py-1{padding-block:calc(var(--spacing) * 1);}
|
|
1121
1126
|
.py-1\\.5{padding-block:calc(var(--spacing) * 1.5);}
|
|
@@ -1144,6 +1149,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1144
1149
|
.pt-2{padding-top:calc(var(--spacing) * 2);}
|
|
1145
1150
|
.pt-4{padding-top:calc(var(--spacing) * 4);}
|
|
1146
1151
|
.pt-6{padding-top:calc(var(--spacing) * 6);}
|
|
1152
|
+
.pie{padding-inline-end:calc(var(--spacing) * 4);}
|
|
1147
1153
|
.text-center{text-align:center;}
|
|
1148
1154
|
.text-left{text-align:left;}
|
|
1149
1155
|
.outline-0{outline-style:var(--un-outline-style);outline-width:0px;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as i, createVNode as p, mergeProps as m } from "vue";
|
|
2
|
+
import e from "vue-echarts";
|
|
3
3
|
import "@duxweb/dvha-core";
|
|
4
4
|
import "naive-ui";
|
|
5
5
|
import "vue-router";
|
|
@@ -58,10 +58,10 @@ import "@iconify-json/tabler/icons.json";
|
|
|
58
58
|
import "../posterEditor/elements/index.js";
|
|
59
59
|
import "fabric";
|
|
60
60
|
import "dayjs";
|
|
61
|
-
import { useEchartType as
|
|
61
|
+
import { useEchartType as n } from "../../hooks/echart.js";
|
|
62
62
|
import "@tanstack/vue-query";
|
|
63
63
|
import "pinia";
|
|
64
|
-
const
|
|
64
|
+
const ct = /* @__PURE__ */ i({
|
|
65
65
|
name: "DuxChart",
|
|
66
66
|
props: {
|
|
67
67
|
height: {
|
|
@@ -78,43 +78,31 @@ const St = /* @__PURE__ */ m({
|
|
|
78
78
|
},
|
|
79
79
|
option: {
|
|
80
80
|
type: Object,
|
|
81
|
-
default: {}
|
|
82
|
-
},
|
|
83
|
-
class: {
|
|
84
|
-
type: String,
|
|
85
|
-
default: ""
|
|
81
|
+
default: () => ({})
|
|
86
82
|
}
|
|
87
83
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
option: s,
|
|
95
|
-
...p
|
|
96
|
-
} = t;
|
|
97
|
-
return p;
|
|
98
|
-
}), {
|
|
99
|
-
option: i
|
|
100
|
-
} = u(t.type, {
|
|
84
|
+
setup(t, {
|
|
85
|
+
attrs: o
|
|
86
|
+
}) {
|
|
87
|
+
const {
|
|
88
|
+
option: r
|
|
89
|
+
} = n(t.type, {
|
|
101
90
|
min: t.min,
|
|
102
91
|
...t.option
|
|
103
92
|
});
|
|
104
|
-
return () =>
|
|
93
|
+
return () => p(e, m({
|
|
105
94
|
style: {
|
|
106
95
|
minHeight: t.height
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
option: i.value,
|
|
96
|
+
},
|
|
97
|
+
option: r.value,
|
|
110
98
|
autoresize: !0,
|
|
111
99
|
theme: "default",
|
|
112
100
|
initOptions: {
|
|
113
101
|
renderer: "svg"
|
|
114
102
|
}
|
|
115
|
-
}), null);
|
|
103
|
+
}, o), null);
|
|
116
104
|
}
|
|
117
105
|
});
|
|
118
106
|
export {
|
|
119
|
-
|
|
107
|
+
ct as DuxChart
|
|
120
108
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as p, reactive as y, ref as v, createVNode as o, h as x, isVNode as h } from "vue";
|
|
2
2
|
import { useI18n as w, useJsonSchema as S } from "@duxweb/dvha-core";
|
|
3
|
-
import {
|
|
4
|
-
import { NModal as j, NForm as
|
|
3
|
+
import { useDisclosure as k } from "@overlastic/vue";
|
|
4
|
+
import { NModal as j, NForm as N, NButton as d } from "naive-ui";
|
|
5
5
|
function r(e) {
|
|
6
6
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !h(e);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const z = /* @__PURE__ */ p({
|
|
9
9
|
name: "DuxDialog",
|
|
10
10
|
props: {
|
|
11
11
|
title: String,
|
|
@@ -20,8 +20,8 @@ const _ = /* @__PURE__ */ p({
|
|
|
20
20
|
t: n
|
|
21
21
|
} = w(), {
|
|
22
22
|
visible: u,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
confirm: f,
|
|
24
|
+
cancel: l,
|
|
25
25
|
vanish: m
|
|
26
26
|
} = k({
|
|
27
27
|
duration: 1e3
|
|
@@ -81,7 +81,7 @@ const _ = /* @__PURE__ */ p({
|
|
|
81
81
|
class: "flex flex-1 flex-col gap-2"
|
|
82
82
|
}, [o("div", {
|
|
83
83
|
class: "text-base font-bold"
|
|
84
|
-
}, [t.title]), e.type === "prompt" ? o(
|
|
84
|
+
}, [t.title]), e.type === "prompt" ? o(N, {
|
|
85
85
|
labelAlign: "left",
|
|
86
86
|
showLabel: !1,
|
|
87
87
|
showFeedback: !1,
|
|
@@ -119,5 +119,5 @@ const _ = /* @__PURE__ */ p({
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
export {
|
|
122
|
-
|
|
122
|
+
z as default
|
|
123
123
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { NDrawer as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as r, defineAsyncComponent as s, createVNode as t, Suspense as m } from "vue";
|
|
2
|
+
import { useDisclosure as u } from "@overlastic/vue";
|
|
3
|
+
import { NDrawer as f, NSpin as d } from "naive-ui";
|
|
4
|
+
const w = /* @__PURE__ */ r({
|
|
5
5
|
name: "DuxDrawer",
|
|
6
6
|
props: {
|
|
7
7
|
title: String,
|
|
@@ -20,15 +20,15 @@ const v = /* @__PURE__ */ s({
|
|
|
20
20
|
setup(e) {
|
|
21
21
|
const {
|
|
22
22
|
visible: a,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
confirm: o,
|
|
24
|
+
cancel: l,
|
|
25
25
|
vanish: i
|
|
26
|
-
} =
|
|
26
|
+
} = u({
|
|
27
27
|
duration: 1e3
|
|
28
28
|
}), n = e?.componentProps || {};
|
|
29
29
|
n.title = e.title, n.onConfirm = o, n.onClose = l;
|
|
30
|
-
const
|
|
31
|
-
return () => t(
|
|
30
|
+
const c = typeof e.component == "function" ? s(e.component) : e.component;
|
|
31
|
+
return () => t(f, {
|
|
32
32
|
closeOnEsc: !1,
|
|
33
33
|
maskClosable: !1,
|
|
34
34
|
minWidth: 200,
|
|
@@ -48,9 +48,9 @@ const v = /* @__PURE__ */ s({
|
|
|
48
48
|
}, {
|
|
49
49
|
default: () => [t("div", {
|
|
50
50
|
class: "h-full"
|
|
51
|
-
}, [t(
|
|
52
|
-
default: () => t(
|
|
53
|
-
fallback: () => t(
|
|
51
|
+
}, [t(m, null, {
|
|
52
|
+
default: () => t(c, n, null),
|
|
53
|
+
fallback: () => t(d, {
|
|
54
54
|
show: !0,
|
|
55
55
|
class: "h-full"
|
|
56
56
|
}, {
|
|
@@ -63,5 +63,5 @@ const v = /* @__PURE__ */ s({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
w as default
|
|
67
67
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as c, defineAsyncComponent as s, createVNode as t, mergeProps as n, Suspense as m } from "vue";
|
|
2
|
+
import { useDisclosure as f } from "@overlastic/vue";
|
|
3
3
|
import { NModal as g, NSpin as b } from "naive-ui";
|
|
4
|
-
const
|
|
4
|
+
const y = /* @__PURE__ */ c({
|
|
5
5
|
name: "DuxModal",
|
|
6
6
|
props: {
|
|
7
7
|
title: {
|
|
@@ -26,19 +26,19 @@ const w = /* @__PURE__ */ s({
|
|
|
26
26
|
setup(e) {
|
|
27
27
|
const {
|
|
28
28
|
visible: l,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
vanish:
|
|
29
|
+
confirm: d,
|
|
30
|
+
cancel: a,
|
|
31
|
+
vanish: i
|
|
32
32
|
} = f({
|
|
33
33
|
duration: 1e3
|
|
34
34
|
}), o = e?.componentProps || {};
|
|
35
35
|
o.title = e.title, o.onConfirm = d, o.onClose = a;
|
|
36
|
-
const
|
|
36
|
+
const r = typeof e.component == "function" ? s(e.component) : e.component;
|
|
37
37
|
return () => t(g, n({
|
|
38
38
|
displayDirective: "show",
|
|
39
39
|
show: l.value,
|
|
40
40
|
onAfterLeave: () => {
|
|
41
|
-
|
|
41
|
+
i();
|
|
42
42
|
},
|
|
43
43
|
onClose: () => {
|
|
44
44
|
a();
|
|
@@ -61,7 +61,7 @@ const w = /* @__PURE__ */ s({
|
|
|
61
61
|
width: typeof e.width == "number" ? `${e.width}px` : e.width
|
|
62
62
|
}
|
|
63
63
|
}, [t(m, null, {
|
|
64
|
-
default: () => t(
|
|
64
|
+
default: () => t(r, n(o, {
|
|
65
65
|
title: e.title,
|
|
66
66
|
handle: u
|
|
67
67
|
}), null),
|
|
@@ -77,6 +77,6 @@ const w = /* @__PURE__ */ s({
|
|
|
77
77
|
}
|
|
78
78
|
});
|
|
79
79
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
y as DuxModal,
|
|
81
|
+
y as default
|
|
82
82
|
};
|
package/dist/esm/hooks/dialog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useOverlay as p } from "@overlastic/vue";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "naive-ui";
|
|
@@ -61,7 +61,7 @@ import "@vue-flow/background";
|
|
|
61
61
|
import "@iconify-json/tabler/icons.json";
|
|
62
62
|
import "../components/posterEditor/elements/index.js";
|
|
63
63
|
import "fabric";
|
|
64
|
-
function
|
|
64
|
+
function wr() {
|
|
65
65
|
const t = p(m), o = (r) => t(r);
|
|
66
66
|
return {
|
|
67
67
|
confirm: (r) => o({
|
|
@@ -87,5 +87,5 @@ function hr() {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
export {
|
|
90
|
-
|
|
90
|
+
wr as useDialog
|
|
91
91
|
};
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useOverlay as t } from "@overlastic/vue";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "naive-ui";
|
|
@@ -61,12 +61,12 @@ import "@vue-flow/background";
|
|
|
61
61
|
import "@iconify-json/tabler/icons.json";
|
|
62
62
|
import "../components/posterEditor/elements/index.js";
|
|
63
63
|
import "fabric";
|
|
64
|
-
function
|
|
64
|
+
function hr() {
|
|
65
65
|
const r = t(m);
|
|
66
66
|
return {
|
|
67
67
|
show: (o) => r(o)
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
hr as useDrawer
|
|
72
72
|
};
|
package/dist/esm/hooks/modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as C, onMounted as
|
|
2
|
-
import { useManage as
|
|
1
|
+
import { defineComponent as C, onMounted as z, computed as u, createVNode as e, Transition as N, createTextVNode as m, h as c } from "vue";
|
|
2
|
+
import { useManage as A, useI18n as D, useMenu as T, DuxLogoIcon as I } from "@duxweb/dvha-core";
|
|
3
3
|
import { cloneDeep as d } from "lodash-es";
|
|
4
4
|
import { NScrollbar as f, NTooltip as L, NButton as V, NTag as v, NMenu as j } from "naive-ui";
|
|
5
5
|
import { useRouter as B, RouterLink as F } from "vue-router";
|
|
@@ -73,13 +73,13 @@ const Xe = /* @__PURE__ */ C({
|
|
|
73
73
|
},
|
|
74
74
|
setup() {
|
|
75
75
|
const {
|
|
76
|
-
setCmdVisible:
|
|
77
|
-
setMenuCollapsed:
|
|
76
|
+
setCmdVisible: h,
|
|
77
|
+
setMenuCollapsed: x
|
|
78
78
|
} = R(), {
|
|
79
79
|
config: l
|
|
80
|
-
} =
|
|
80
|
+
} = A(), {
|
|
81
81
|
t: g
|
|
82
|
-
} =
|
|
82
|
+
} = D(), i = B(), {
|
|
83
83
|
mainMenu: b,
|
|
84
84
|
subMenu: y,
|
|
85
85
|
appActive: n,
|
|
@@ -88,8 +88,8 @@ const Xe = /* @__PURE__ */ C({
|
|
|
88
88
|
} = T({
|
|
89
89
|
doubleMenu: !0
|
|
90
90
|
});
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
z(() => {
|
|
92
|
+
x(!1);
|
|
93
93
|
});
|
|
94
94
|
const a = (t) => t.map((r) => {
|
|
95
95
|
const o = {
|
|
@@ -108,7 +108,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
108
108
|
}) : r.label
|
|
109
109
|
};
|
|
110
110
|
return o.children && o.children.length > 0 && (o.children = a(o.children)), o;
|
|
111
|
-
}),
|
|
111
|
+
}), w = u(() => a(d(b.value))), M = u(() => a(d(y.value)));
|
|
112
112
|
return () => e("div", {
|
|
113
113
|
class: "flex h-screen gap-2 pr-2"
|
|
114
114
|
}, [e("div", {
|
|
@@ -130,7 +130,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
130
130
|
}, [e(f, null, {
|
|
131
131
|
default: () => [e("div", {
|
|
132
132
|
class: "flex flex-col px-2 gap-2"
|
|
133
|
-
}, [
|
|
133
|
+
}, [w.value.map((t, p) => e("div", {
|
|
134
134
|
key: p,
|
|
135
135
|
class: ["flex flex-col gap-1 justify-center items-center py-1.5 cursor-pointer rounded transition-all", t.key === n.value ? "bg-primary/50 text-primary-200" : "text-white/60 hover:text-white"],
|
|
136
136
|
onClick: () => {
|
|
@@ -170,7 +170,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
170
170
|
collapsed: !0
|
|
171
171
|
}, null), e(S, null, null), e(O, {
|
|
172
172
|
collapsed: !0
|
|
173
|
-
}, null)])])]), e(
|
|
173
|
+
}, null)])])]), e(N, {
|
|
174
174
|
name: "submenu-slide",
|
|
175
175
|
enterActiveClass: "transition-all duration-150 ease-out",
|
|
176
176
|
enterFromClass: "opacity-0 translate-x-[-50%]",
|
|
@@ -185,7 +185,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
185
185
|
class: "py-2 flex-none"
|
|
186
186
|
}, [e("div", {
|
|
187
187
|
class: "rounded-md relative py-2 px-3 bg-white dark:bg-elevated shadow-xs hover:shadow flex items-center gap-2 cursor-pointer transition-all",
|
|
188
|
-
onClick: () =>
|
|
188
|
+
onClick: () => h(!0)
|
|
189
189
|
}, [e("div", {
|
|
190
190
|
class: "i-tabler:search size-4 icon-gradient"
|
|
191
191
|
}, null), e("div", {
|
|
@@ -211,7 +211,7 @@ const Xe = /* @__PURE__ */ C({
|
|
|
211
211
|
rootIndent: 20,
|
|
212
212
|
indent: 15,
|
|
213
213
|
class: "app-menu",
|
|
214
|
-
options:
|
|
214
|
+
options: M.value,
|
|
215
215
|
value: s.value,
|
|
216
216
|
collapsed: !1,
|
|
217
217
|
onUpdateValue: (t) => s.value = t
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, computed as d, ref as C, createVNode as t, Fragment as F, isVNode as S } from "vue";
|
|
2
|
-
import { useI18n as z, useManage as B, useList as
|
|
3
|
-
import { NPopover as
|
|
2
|
+
import { useI18n as z, useManage as B, useList as R, useCustomMutation as M } from "@duxweb/dvha-core";
|
|
3
|
+
import { NPopover as _, NButton as u, NSpin as j, NTooltip as A, NBadge as D } from "naive-ui";
|
|
4
4
|
import { useRouter as L } from "vue-router";
|
|
5
5
|
import { DuxCard as O } from "../../components/card/card.js";
|
|
6
6
|
import "clsx";
|
|
@@ -83,7 +83,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
83
83
|
data: f,
|
|
84
84
|
isLoading: v,
|
|
85
85
|
refetch: h
|
|
86
|
-
} =
|
|
86
|
+
} = R({
|
|
87
87
|
path: o.notice?.path || "notice",
|
|
88
88
|
pagination: {
|
|
89
89
|
page: 1,
|
|
@@ -91,7 +91,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
91
91
|
}
|
|
92
92
|
}), {
|
|
93
93
|
mutate: p
|
|
94
|
-
} =
|
|
94
|
+
} = M({
|
|
95
95
|
path: `${o.notice?.path || "notice"}`,
|
|
96
96
|
method: "POST",
|
|
97
97
|
onSuccess: () => {
|
|
@@ -111,7 +111,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
111
111
|
}
|
|
112
112
|
}), r.value = !1;
|
|
113
113
|
};
|
|
114
|
-
return () => t(
|
|
114
|
+
return () => t(_, {
|
|
115
115
|
trigger: "click",
|
|
116
116
|
arrowClass: "ml-2.5",
|
|
117
117
|
placement: "bottom-start",
|
|
@@ -120,7 +120,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
120
120
|
show: r.value,
|
|
121
121
|
onClickoutside: () => r.value = !1
|
|
122
122
|
}, {
|
|
123
|
-
trigger: () => t(
|
|
123
|
+
trigger: () => t(A, {
|
|
124
124
|
trigger: "hover",
|
|
125
125
|
placement: "right"
|
|
126
126
|
}, {
|
|
@@ -129,7 +129,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
129
129
|
onClick: () => r.value = !0,
|
|
130
130
|
quaternary: !0
|
|
131
131
|
}, {
|
|
132
|
-
icon: () => t(
|
|
132
|
+
icon: () => t(D, {
|
|
133
133
|
dot: s.value,
|
|
134
134
|
offset: [-8, 8]
|
|
135
135
|
}, {
|
|
@@ -148,7 +148,7 @@ const Kt = /* @__PURE__ */ k({
|
|
|
148
148
|
contentSize: "none",
|
|
149
149
|
title: i("components.menu.notice", "Notice")
|
|
150
150
|
}, {
|
|
151
|
-
default: () => t(F, null, [t(
|
|
151
|
+
default: () => t(F, null, [t(j, {
|
|
152
152
|
show: v.value
|
|
153
153
|
}, {
|
|
154
154
|
default: () => [l.value.length > 0 ? t("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const r = `/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-ease:initial;--un-to-opacity:100%;--un-outline-style:solid;--un-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-ease:initial;--un-to-opacity:100%;--un-fill-opacity:100%;--un-outline-style:solid;--un-space-y-reverse:initial;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -1092,15 +1092,19 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1092
1092
|
.mx-auto{margin-inline:auto;}
|
|
1093
1093
|
.my-2{margin-block:calc(var(--spacing) * 2);}
|
|
1094
1094
|
.my-6{margin-block:calc(var(--spacing) * 6);}
|
|
1095
|
+
.mb{margin-bottom:calc(var(--spacing) * 4);}
|
|
1095
1096
|
.mb-2{margin-bottom:calc(var(--spacing) * 2);}
|
|
1097
|
+
.ml{margin-left:calc(var(--spacing) * 4);}
|
|
1096
1098
|
.ml-2{margin-left:calc(var(--spacing) * 2);}
|
|
1097
1099
|
.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5);}
|
|
1100
|
+
.mr{margin-right:calc(var(--spacing) * 4);}
|
|
1098
1101
|
.mr-1\\!{margin-right:calc(var(--spacing) * 1) !important;}
|
|
1099
1102
|
.mr-2{margin-right:calc(var(--spacing) * 2);}
|
|
1103
|
+
.mt,
|
|
1104
|
+
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1100
1105
|
.mt-1{margin-top:calc(var(--spacing) * 1);}
|
|
1101
1106
|
.mt-2{margin-top:calc(var(--spacing) * 2);}
|
|
1102
1107
|
.mt-3{margin-top:calc(var(--spacing) * 3);}
|
|
1103
|
-
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1104
1108
|
.mt-auto{margin-top:auto;}
|
|
1105
1109
|
.p-1{padding:calc(var(--spacing) * 1);}
|
|
1106
1110
|
.p-2{padding:calc(var(--spacing) * 2);}
|
|
@@ -1111,11 +1115,12 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1111
1115
|
.p-8{padding:calc(var(--spacing) * 8);}
|
|
1112
1116
|
.\\!px-1{padding-inline:calc(var(--spacing) * 1) !important;}
|
|
1113
1117
|
.\\!px-4{padding-inline:calc(var(--spacing) * 4) !important;}
|
|
1118
|
+
.px,
|
|
1119
|
+
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1114
1120
|
.px-1{padding-inline:calc(var(--spacing) * 1);}
|
|
1115
1121
|
.px-2{padding-inline:calc(var(--spacing) * 2);}
|
|
1116
1122
|
.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5);}
|
|
1117
1123
|
.px-3{padding-inline:calc(var(--spacing) * 3);}
|
|
1118
|
-
.px-4{padding-inline:calc(var(--spacing) * 4);}
|
|
1119
1124
|
.px-6{padding-inline:calc(var(--spacing) * 6);}
|
|
1120
1125
|
.py-1{padding-block:calc(var(--spacing) * 1);}
|
|
1121
1126
|
.py-1\\.5{padding-block:calc(var(--spacing) * 1.5);}
|
|
@@ -1144,6 +1149,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1144
1149
|
.pt-2{padding-top:calc(var(--spacing) * 2);}
|
|
1145
1150
|
.pt-4{padding-top:calc(var(--spacing) * 4);}
|
|
1146
1151
|
.pt-6{padding-top:calc(var(--spacing) * 6);}
|
|
1152
|
+
.pie{padding-inline-end:calc(var(--spacing) * 4);}
|
|
1147
1153
|
.text-center{text-align:center;}
|
|
1148
1154
|
.text-left{text-align:left;}
|
|
1149
1155
|
.outline-0{outline-style:var(--un-outline-style);outline-width:0px;}
|
|
@@ -13,248 +13,9 @@ export declare const DuxChart: import("vue").DefineComponent<import("vue").Extra
|
|
|
13
13
|
};
|
|
14
14
|
option: {
|
|
15
15
|
type: ObjectConstructor;
|
|
16
|
-
default: {};
|
|
16
|
+
default: () => {};
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<{
|
|
23
|
-
theme?: string | object;
|
|
24
|
-
initOptions?: import("echarts/core").EChartsInitOpts;
|
|
25
|
-
updateOptions?: import("echarts/core").SetOptionOpts;
|
|
26
|
-
loadingOptions?: {
|
|
27
|
-
text?: string;
|
|
28
|
-
textColor?: string;
|
|
29
|
-
fontSize?: number | string;
|
|
30
|
-
fontWeight?: number | string;
|
|
31
|
-
fontStyle?: string;
|
|
32
|
-
fontFamily?: string;
|
|
33
|
-
maskColor?: string;
|
|
34
|
-
showSpinner?: boolean;
|
|
35
|
-
color?: string;
|
|
36
|
-
spinnerRadius?: number;
|
|
37
|
-
lineWidth?: number;
|
|
38
|
-
zlevel?: number;
|
|
39
|
-
};
|
|
40
|
-
option?: import("echarts/core").EChartsCoreOption;
|
|
41
|
-
autoresize?: boolean | {
|
|
42
|
-
throttle?: number;
|
|
43
|
-
onResize?: () => void;
|
|
44
|
-
};
|
|
45
|
-
loading?: boolean;
|
|
46
|
-
group?: string;
|
|
47
|
-
manualUpdate?: boolean;
|
|
48
|
-
} & {
|
|
49
|
-
onClick?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
50
|
-
onContextmenu?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
51
|
-
onDblclick?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
52
|
-
onMousedown?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
53
|
-
onMousemove?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
54
|
-
onMouseout?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
55
|
-
onMouseover?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
56
|
-
onMouseup?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
57
|
-
onGlobalout?: ((params: import("echarts/core").ECElementEvent) => void) | undefined;
|
|
58
|
-
onBrush?: ((params: any) => void) | undefined;
|
|
59
|
-
onHighlight?: ((params: any) => void) | undefined;
|
|
60
|
-
onDownplay?: ((params: any) => void) | undefined;
|
|
61
|
-
onSelectchanged?: ((params: any) => void) | undefined;
|
|
62
|
-
onLegendselectchanged?: ((params: any) => void) | undefined;
|
|
63
|
-
onLegendselected?: ((params: any) => void) | undefined;
|
|
64
|
-
onLegendunselected?: ((params: any) => void) | undefined;
|
|
65
|
-
onLegendselectall?: ((params: any) => void) | undefined;
|
|
66
|
-
onLegendinverseselect?: ((params: any) => void) | undefined;
|
|
67
|
-
onLegendscroll?: ((params: any) => void) | undefined;
|
|
68
|
-
onDatazoom?: ((params: any) => void) | undefined;
|
|
69
|
-
onDatarangeselected?: ((params: any) => void) | undefined;
|
|
70
|
-
onGraphroam?: ((params: any) => void) | undefined;
|
|
71
|
-
onGeoroam?: ((params: any) => void) | undefined;
|
|
72
|
-
onTreeroam?: ((params: any) => void) | undefined;
|
|
73
|
-
onTimelinechanged?: ((params: any) => void) | undefined;
|
|
74
|
-
onTimelineplaychanged?: ((params: any) => void) | undefined;
|
|
75
|
-
onRestore?: ((params: any) => void) | undefined;
|
|
76
|
-
onDataviewchanged?: ((params: any) => void) | undefined;
|
|
77
|
-
onMagictypechanged?: ((params: any) => void) | undefined;
|
|
78
|
-
onGeoselectchanged?: ((params: any) => void) | undefined;
|
|
79
|
-
onGeoselected?: ((params: any) => void) | undefined;
|
|
80
|
-
onGeounselected?: ((params: any) => void) | undefined;
|
|
81
|
-
onAxisareaselected?: ((params: any) => void) | undefined;
|
|
82
|
-
onBrushEnd?: ((params: any) => void) | undefined;
|
|
83
|
-
onBrushselected?: ((params: any) => void) | undefined;
|
|
84
|
-
onGlobalcursortaken?: ((params: any) => void) | undefined;
|
|
85
|
-
onRendered?: ((params: {
|
|
86
|
-
elapsedTime: number;
|
|
87
|
-
}) => void) | undefined;
|
|
88
|
-
onFinished?: (() => void) | undefined;
|
|
89
|
-
"onZr:drag"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
90
|
-
"onZr:dragend"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
91
|
-
"onZr:dragenter"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
92
|
-
"onZr:dragleave"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
93
|
-
"onZr:dragover"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
94
|
-
"onZr:dragstart"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
95
|
-
"onZr:drop"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
96
|
-
"onZr:mousewheel"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
97
|
-
"onZr:click"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
98
|
-
"onZr:contextmenu"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
99
|
-
"onZr:dblclick"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
100
|
-
"onZr:mousedown"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
101
|
-
"onZr:mousemove"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
102
|
-
"onZr:mouseout"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
103
|
-
"onZr:mouseover"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
104
|
-
"onZr:mouseup"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
105
|
-
"onZr:globalout"?: ((params: import("echarts/core").ElementEvent) => void) | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
root: import("vue").Ref<HTMLElement | undefined>;
|
|
108
|
-
chart: import("vue").Ref<import("echarts/core").ECharts | undefined>;
|
|
109
|
-
}, {}, {}, {
|
|
110
|
-
clear: () => void;
|
|
111
|
-
resize: (opts?: import("echarts/core").ResizeOpts) => void;
|
|
112
|
-
getWidth: () => number;
|
|
113
|
-
getHeight: () => number;
|
|
114
|
-
getDom: () => HTMLElement;
|
|
115
|
-
getOption: () => import("echarts/core").EChartsCoreOption;
|
|
116
|
-
dispatchAction: (payload: import("echarts/core").Payload, opt?: boolean | {
|
|
117
|
-
silent?: boolean;
|
|
118
|
-
flush?: boolean | undefined;
|
|
119
|
-
}) => void;
|
|
120
|
-
convertToPixel: {
|
|
121
|
-
(finder: string | {
|
|
122
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
123
|
-
seriesId?: (string | number) | (string | number)[];
|
|
124
|
-
seriesName?: (string | number) | (string | number)[];
|
|
125
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
126
|
-
geoId?: (string | number) | (string | number)[];
|
|
127
|
-
geoName?: (string | number) | (string | number)[];
|
|
128
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
129
|
-
bmapId?: (string | number) | (string | number)[];
|
|
130
|
-
bmapName?: (string | number) | (string | number)[];
|
|
131
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
132
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
133
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
134
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
135
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
136
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
137
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
138
|
-
gridId?: (string | number) | (string | number)[];
|
|
139
|
-
gridName?: (string | number) | (string | number)[];
|
|
140
|
-
dataIndex?: number;
|
|
141
|
-
dataIndexInside?: number;
|
|
142
|
-
}, value: Date | (string | number)): number;
|
|
143
|
-
(finder: string | {
|
|
144
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
145
|
-
seriesId?: (string | number) | (string | number)[];
|
|
146
|
-
seriesName?: (string | number) | (string | number)[];
|
|
147
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
148
|
-
geoId?: (string | number) | (string | number)[];
|
|
149
|
-
geoName?: (string | number) | (string | number)[];
|
|
150
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
151
|
-
bmapId?: (string | number) | (string | number)[];
|
|
152
|
-
bmapName?: (string | number) | (string | number)[];
|
|
153
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
154
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
155
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
156
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
157
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
158
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
159
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
160
|
-
gridId?: (string | number) | (string | number)[];
|
|
161
|
-
gridName?: (string | number) | (string | number)[];
|
|
162
|
-
dataIndex?: number;
|
|
163
|
-
dataIndexInside?: number;
|
|
164
|
-
}, value: (Date | (string | number))[]): number[];
|
|
165
|
-
};
|
|
166
|
-
convertFromPixel: {
|
|
167
|
-
(finder: string | {
|
|
168
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
169
|
-
seriesId?: (string | number) | (string | number)[];
|
|
170
|
-
seriesName?: (string | number) | (string | number)[];
|
|
171
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
172
|
-
geoId?: (string | number) | (string | number)[];
|
|
173
|
-
geoName?: (string | number) | (string | number)[];
|
|
174
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
175
|
-
bmapId?: (string | number) | (string | number)[];
|
|
176
|
-
bmapName?: (string | number) | (string | number)[];
|
|
177
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
178
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
179
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
180
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
181
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
182
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
183
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
184
|
-
gridId?: (string | number) | (string | number)[];
|
|
185
|
-
gridName?: (string | number) | (string | number)[];
|
|
186
|
-
dataIndex?: number;
|
|
187
|
-
dataIndexInside?: number;
|
|
188
|
-
}, value: number): number;
|
|
189
|
-
(finder: string | {
|
|
190
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
191
|
-
seriesId?: (string | number) | (string | number)[];
|
|
192
|
-
seriesName?: (string | number) | (string | number)[];
|
|
193
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
194
|
-
geoId?: (string | number) | (string | number)[];
|
|
195
|
-
geoName?: (string | number) | (string | number)[];
|
|
196
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
197
|
-
bmapId?: (string | number) | (string | number)[];
|
|
198
|
-
bmapName?: (string | number) | (string | number)[];
|
|
199
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
200
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
201
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
202
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
203
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
204
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
205
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
206
|
-
gridId?: (string | number) | (string | number)[];
|
|
207
|
-
gridName?: (string | number) | (string | number)[];
|
|
208
|
-
dataIndex?: number;
|
|
209
|
-
dataIndexInside?: number;
|
|
210
|
-
}, value: number[]): number[];
|
|
211
|
-
};
|
|
212
|
-
containPixel: (finder: string | {
|
|
213
|
-
seriesIndex?: number | false | "none" | number[] | "all";
|
|
214
|
-
seriesId?: (string | number) | (string | number)[];
|
|
215
|
-
seriesName?: (string | number) | (string | number)[];
|
|
216
|
-
geoIndex?: number | false | "none" | number[] | "all";
|
|
217
|
-
geoId?: (string | number) | (string | number)[];
|
|
218
|
-
geoName?: (string | number) | (string | number)[];
|
|
219
|
-
bmapIndex?: number | false | "none" | number[] | "all";
|
|
220
|
-
bmapId?: (string | number) | (string | number)[];
|
|
221
|
-
bmapName?: (string | number) | (string | number)[];
|
|
222
|
-
xAxisIndex?: number | false | "none" | number[] | "all";
|
|
223
|
-
xAxisId?: (string | number) | (string | number)[];
|
|
224
|
-
xAxisName?: (string | number) | (string | number)[];
|
|
225
|
-
yAxisIndex?: number | false | "none" | number[] | "all";
|
|
226
|
-
yAxisId?: (string | number) | (string | number)[];
|
|
227
|
-
yAxisName?: (string | number) | (string | number)[];
|
|
228
|
-
gridIndex?: number | false | "none" | number[] | "all";
|
|
229
|
-
gridId?: (string | number) | (string | number)[];
|
|
230
|
-
gridName?: (string | number) | (string | number)[];
|
|
231
|
-
dataIndex?: number;
|
|
232
|
-
dataIndexInside?: number;
|
|
233
|
-
}, value: number[]) => boolean;
|
|
234
|
-
getDataURL: (opts?: {
|
|
235
|
-
type?: "png" | "jpeg" | "svg";
|
|
236
|
-
pixelRatio?: number;
|
|
237
|
-
backgroundColor?: import("echarts/core").Color;
|
|
238
|
-
excludeComponents?: string[];
|
|
239
|
-
}) => string;
|
|
240
|
-
getConnectedDataURL: (opts?: {
|
|
241
|
-
type?: "png" | "jpeg" | "svg";
|
|
242
|
-
pixelRatio?: number;
|
|
243
|
-
backgroundColor?: import("echarts/core").Color;
|
|
244
|
-
connectedBackgroundColor?: import("echarts/core").Color;
|
|
245
|
-
excludeComponents?: string[];
|
|
246
|
-
}) => string;
|
|
247
|
-
appendData: (params: {
|
|
248
|
-
seriesIndex: number;
|
|
249
|
-
data: any;
|
|
250
|
-
}) => void;
|
|
251
|
-
isDisposed: () => boolean;
|
|
252
|
-
dispose: () => void;
|
|
253
|
-
setOption: {
|
|
254
|
-
<Opt extends import("echarts/core").EChartsCoreOption>(option: Opt, notMerge?: boolean, lazyUpdate?: boolean): void;
|
|
255
|
-
<Opt extends import("echarts/core").EChartsCoreOption>(option: Opt, opts?: import("echarts/core").SetOptionOpts): void;
|
|
256
|
-
};
|
|
257
|
-
}>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
258
19
|
height: {
|
|
259
20
|
type: StringConstructor;
|
|
260
21
|
default: string;
|
|
@@ -269,16 +30,11 @@ export declare const DuxChart: import("vue").DefineComponent<import("vue").Extra
|
|
|
269
30
|
};
|
|
270
31
|
option: {
|
|
271
32
|
type: ObjectConstructor;
|
|
272
|
-
default: {};
|
|
273
|
-
};
|
|
274
|
-
class: {
|
|
275
|
-
type: StringConstructor;
|
|
276
|
-
default: string;
|
|
33
|
+
default: () => {};
|
|
277
34
|
};
|
|
278
35
|
}>> & Readonly<{}>, {
|
|
279
36
|
option: Record<string, any>;
|
|
280
37
|
type: string;
|
|
281
38
|
height: string;
|
|
282
|
-
class: string;
|
|
283
39
|
min: boolean;
|
|
284
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.11",
|
|
5
5
|
"author": "DuxWeb",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,60 +33,57 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@ant-design/colors": "^7.2.1",
|
|
36
|
-
"@duxweb/dvha-core": "^1.1.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.1.
|
|
38
|
-
"@iconify-json/tabler": "^1.2.
|
|
39
|
-
"@overlastic/vue": "^0.8.
|
|
40
|
-
"@tanstack/vue-query": "^5.
|
|
41
|
-
"@unocss/preset-icons": "^66.
|
|
42
|
-
"@unocss/preset-typography": "^66.
|
|
43
|
-
"@unocss/runtime": "^66.
|
|
36
|
+
"@duxweb/dvha-core": "^1.1.11",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.1.11",
|
|
38
|
+
"@iconify-json/tabler": "^1.2.23",
|
|
39
|
+
"@overlastic/vue": "^0.8.3",
|
|
40
|
+
"@tanstack/vue-query": "^5.90.7",
|
|
41
|
+
"@unocss/preset-icons": "^66.5.5",
|
|
42
|
+
"@unocss/preset-typography": "^66.5.5",
|
|
43
|
+
"@unocss/runtime": "^66.5.5",
|
|
44
44
|
"@vee-validate/i18n": "^4.15.1",
|
|
45
45
|
"@vee-validate/rules": "^4.15.1",
|
|
46
|
-
"@visactor/vchart": "^2.0.0",
|
|
47
46
|
"@vue-flow/background": "^1.3.2",
|
|
48
|
-
"@vue-flow/controls": "^1.1.
|
|
49
|
-
"@vue-flow/core": "^1.
|
|
50
|
-
"@vue-flow/minimap": "^1.5.
|
|
47
|
+
"@vue-flow/controls": "^1.1.3",
|
|
48
|
+
"@vue-flow/core": "^1.47.0",
|
|
49
|
+
"@vue-flow/minimap": "^1.5.4",
|
|
51
50
|
"@vue-flow/node-resizer": "^1.5.0",
|
|
52
51
|
"@vue-flow/node-toolbar": "^1.1.1",
|
|
53
|
-
"@vueuse/core": "^
|
|
54
|
-
"@vueuse/integrations": "^
|
|
52
|
+
"@vueuse/core": "^14.0.0",
|
|
53
|
+
"@vueuse/integrations": "^14.0.0",
|
|
55
54
|
"ace-builds": "^1.43.4",
|
|
56
|
-
"aieditor": "^1.4.
|
|
55
|
+
"aieditor": "^1.4.2",
|
|
57
56
|
"clsx": "^2.1.1",
|
|
58
57
|
"colorizr": "^3.0.8",
|
|
59
|
-
"dayjs": "^1.11.
|
|
60
|
-
"echarts": "^
|
|
61
|
-
"fabric": "^6.7.
|
|
58
|
+
"dayjs": "^1.11.19",
|
|
59
|
+
"echarts": "^6.0.0",
|
|
60
|
+
"fabric": "^6.7.1",
|
|
62
61
|
"highlight.js": "^11.11.1",
|
|
63
62
|
"jinrishici": "^1.0.6",
|
|
64
63
|
"jsep": "^1.4.0",
|
|
65
|
-
"konva": "^9.3.20",
|
|
66
64
|
"lodash-es": "^4.17.21",
|
|
67
|
-
"mathjs": "^
|
|
68
|
-
"mime": "^4.0
|
|
69
|
-
"naive-ui": "^2.
|
|
70
|
-
"pinia": "^3.0.
|
|
71
|
-
"pinia-plugin-persistedstate": "^4.
|
|
65
|
+
"mathjs": "^15.1.0",
|
|
66
|
+
"mime": "^4.1.0",
|
|
67
|
+
"naive-ui": "^2.43.1",
|
|
68
|
+
"pinia": "^3.0.4",
|
|
69
|
+
"pinia-plugin-persistedstate": "^4.7.1",
|
|
72
70
|
"short-unique-id": "^5.3.2",
|
|
73
|
-
"unocss": "^66.
|
|
71
|
+
"unocss": "^66.5.5",
|
|
74
72
|
"vee-validate": "^4.15.1",
|
|
75
|
-
"vue": "^3.5.
|
|
73
|
+
"vue": "^3.5.24",
|
|
76
74
|
"vue-command-palette": "^0.2.3",
|
|
77
75
|
"vue-cropper": "^1.1.4",
|
|
78
76
|
"vue-draggable-plus": "^0.6.0",
|
|
79
|
-
"vue-echarts": "^
|
|
80
|
-
"vue-
|
|
81
|
-
"vue-router": "^4.5.1",
|
|
77
|
+
"vue-echarts": "^8.0.1",
|
|
78
|
+
"vue-router": "^4.6.3",
|
|
82
79
|
"vue3-ace-editor": "^2.2.4"
|
|
83
80
|
},
|
|
84
81
|
"devDependencies": {
|
|
85
|
-
"@unocss/cli": "^66.
|
|
86
|
-
"rimraf": "^6.0
|
|
87
|
-
"sass-embedded": "^1.
|
|
82
|
+
"@unocss/cli": "^66.5.5",
|
|
83
|
+
"rimraf": "^6.1.0",
|
|
84
|
+
"sass-embedded": "^1.93.3",
|
|
88
85
|
"tslib": "^2.8.1",
|
|
89
|
-
"vue-tsc": "^
|
|
86
|
+
"vue-tsc": "^3.1.3"
|
|
90
87
|
},
|
|
91
88
|
"scripts": {
|
|
92
89
|
"clean": "rimraf dist",
|