@robot-admin/naive-ui-components 0.6.13 → 0.6.14
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/C_Date.js.map +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Date2.js.map +1 -1
- package/dist/C_Steps-BHYNJI1l.css.map +1 -0
- package/dist/C_Steps-DY7vl-4I.css.map +1 -0
- package/dist/C_Steps.css +38 -38
- package/dist/C_Steps.js.map +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Steps2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +17 -13
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +7 -7
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index25.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.ts +2 -2
- package/dist/style.css +39 -39
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +3 -3
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useSplitResize.d.ts +2 -2
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +3 -3
- package/dist/useWorkflowValidation.d.ts +4 -4
- package/package.json +1 -1
- package/dist/C_Steps-HZ438_4G.css.map +0 -1
- package/dist/C_Steps-uMxhEbg-.css.map +0 -1
package/dist/C_Steps2.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./export-helper.js";import{Fragment as t,createCommentVNode as n,createElementBlock as r,createElementVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderList as c,toDisplayString as l}from"vue";const u=[`onClick`],d={class:`step-indicator`},f={class:`step-icon`},p={key:1,class:`i-mdi:check`},m={key:2,class:`step-index`},h={key:0,class:`step-line`},g={class:`step-content`},_={class:`step-title`},v={key:0,class:`step-time`},y={key:1,class:`step-description`};var b=e(a({name:`C_Steps`,__name:`index`,props:{steps:{},current:{default:0},direction:{default:`horizontal`},clickable:{type:Boolean,default:!1},connected:{type:Boolean,default:!1}},emits:[`update:current`,`change`],setup(e,{emit:a}){let b=e,x=a,S=e=>b.steps[e].status?b.steps[e].status:e<b.current?`finish`:e===b.current?`process`:`wait`,C=e=>{!b.clickable||b.steps[e].disabled||(x(`update:current`,e),x(`change`,e))};return(e,a)=>(s(),r(`div`,{class:o([`c-steps`,[`steps-${e.direction}`,{"steps-connected":e.connected}]])},[(s(!0),r(t,null,c(e.steps,(t,a)=>(s(),r(`div`,{key:a,class:o([`step-item`,[`step-${S(a)}`,{"step-clickable":e.clickable&&!t.disabled}]]),onClick:e=>C(a)},[i(`div`,d,[i(`div`,f,[t.icon?(s(),r(`i`,{key:0,class:o(t.icon)},null,2)):S(a)===`finish`?(s(),r(`i`,p)):(s(),r(`span`,m,l(a+1),1))]),a<e.steps.length-1?(s(),r(`div`,h)):n(`v-if`,!0)]),i(`div`,g,[i(`div`,_,l(t.title),1),t.time?(s(),r(`div`,v,l(t.time),1)):n(`v-if`,!0),t.description?(s(),r(`div`,y,l(t.description),1)):n(`v-if`,!0)])],10,u))),128))],2))}}),[[`__scopeId`,`data-v-
|
|
1
|
+
import{t as e}from"./export-helper.js";import{Fragment as t,createCommentVNode as n,createElementBlock as r,createElementVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderList as c,toDisplayString as l}from"vue";const u=[`onClick`],d={class:`step-indicator`},f={class:`step-icon`},p={key:1,class:`i-mdi:check`},m={key:2,class:`step-index`},h={key:0,class:`step-line`},g={class:`step-content`},_={class:`step-title`},v={key:0,class:`step-time`},y={key:1,class:`step-description`};var b=e(a({name:`C_Steps`,__name:`index`,props:{steps:{},current:{default:0},direction:{default:`horizontal`},clickable:{type:Boolean,default:!1},connected:{type:Boolean,default:!1}},emits:[`update:current`,`change`],setup(e,{emit:a}){let b=e,x=a,S=e=>b.steps[e].status?b.steps[e].status:e<b.current?`finish`:e===b.current?`process`:`wait`,C=e=>{!b.clickable||b.steps[e].disabled||(x(`update:current`,e),x(`change`,e))};return(e,a)=>(s(),r(`div`,{class:o([`c-steps`,[`steps-${e.direction}`,{"steps-connected":e.connected}]])},[(s(!0),r(t,null,c(e.steps,(t,a)=>(s(),r(`div`,{key:a,class:o([`step-item`,[`step-${S(a)}`,{"step-clickable":e.clickable&&!t.disabled}]]),onClick:e=>C(a)},[i(`div`,d,[i(`div`,f,[t.icon?(s(),r(`i`,{key:0,class:o(t.icon)},null,2)):S(a)===`finish`?(s(),r(`i`,p)):(s(),r(`span`,m,l(a+1),1))]),a<e.steps.length-1?(s(),r(`div`,h)):n(`v-if`,!0)]),i(`div`,g,[i(`div`,_,l(t.title),1),t.time?(s(),r(`div`,v,l(t.time),1)):n(`v-if`,!0),t.description?(s(),r(`div`,y,l(t.description),1)):n(`v-if`,!0)])],10,u))),128))],2))}}),[[`__scopeId`,`data-v-96b53094`]]);export{b as t};
|
|
2
2
|
//# sourceMappingURL=C_Steps2.js.map
|
package/dist/C_Steps2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C_Steps2.js","names":["direction","connected","steps","clickable"],"sources":["../src/components/C_Steps/index.vue","../src/components/C_Steps/index.vue","../src/components/C_Steps/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div class=\"c-steps\" :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\">\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i v-if=\"step.icon\" :class=\"step.icon\"></i>\r\n <i v-else-if=\"getStatus(index) === 'finish'\" class=\"i-mdi:check\"></i>\r\n <span v-else class=\"step-index\">{{ index + 1 }}</span>\r\n </div>\r\n <div v-if=\"index < steps.length - 1\" class=\"step-line\" />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div v-if=\"step.time\" class=\"step-time\">{{ step.time }}</div>\r\n <div v-if=\"step.description\" class=\"step-description\">\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\ndefineOptions({ name: \"C_Steps\" });\r\n\r\nexport interface StepItem {\r\n title: string;\r\n description?: string;\r\n time?: string;\r\n icon?: string;\r\n status?: \"wait\" | \"process\" | \"finish\" | \"error\";\r\n disabled?: boolean;\r\n detail?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[];\r\n current?: number;\r\n direction?: \"horizontal\" | \"vertical\";\r\n clickable?: boolean;\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean;\r\n }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: false,\r\n connected: false,\r\n },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:current\": [number];\r\n change: [number];\r\n}>();\r\n\r\nconst getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status;\r\n }\r\n if (index < props.current) return \"finish\";\r\n if (index === props.current) return \"process\";\r\n return \"wait\";\r\n};\r\n\r\nconst handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return;\r\n emit(\"update:current\", index);\r\n emit(\"change\", index);\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@use \"./index.scss\";\r\n</style>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div class=\"c-steps\" :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\">\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i v-if=\"step.icon\" :class=\"step.icon\"></i>\r\n <i v-else-if=\"getStatus(index) === 'finish'\" class=\"i-mdi:check\"></i>\r\n <span v-else class=\"step-index\">{{ index + 1 }}</span>\r\n </div>\r\n <div v-if=\"index < steps.length - 1\" class=\"step-line\" />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div v-if=\"step.time\" class=\"step-time\">{{ step.time }}</div>\r\n <div v-if=\"step.description\" class=\"step-description\">\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\ndefineOptions({ name: \"C_Steps\" });\r\n\r\nexport interface StepItem {\r\n title: string;\r\n description?: string;\r\n time?: string;\r\n icon?: string;\r\n status?: \"wait\" | \"process\" | \"finish\" | \"error\";\r\n disabled?: boolean;\r\n detail?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[];\r\n current?: number;\r\n direction?: \"horizontal\" | \"vertical\";\r\n clickable?: boolean;\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean;\r\n }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: false,\r\n connected: false,\r\n },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:current\": [number];\r\n change: [number];\r\n}>();\r\n\r\nconst getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status;\r\n }\r\n if (index < props.current) return \"finish\";\r\n if (index === props.current) return \"process\";\r\n return \"wait\";\r\n};\r\n\r\nconst handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return;\r\n emit(\"update:current\", index);\r\n emit(\"change\", index);\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@use \"./index.scss\";\r\n</style>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div class=\"c-steps\" :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\">\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i v-if=\"step.icon\" :class=\"step.icon\"></i>\r\n <i v-else-if=\"getStatus(index) === 'finish'\" class=\"i-mdi:check\"></i>\r\n <span v-else class=\"step-index\">{{ index + 1 }}</span>\r\n </div>\r\n <div v-if=\"index < steps.length - 1\" class=\"step-line\" />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div v-if=\"step.time\" class=\"step-time\">{{ step.time }}</div>\r\n <div v-if=\"step.description\" class=\"step-description\">\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\ndefineOptions({ name: \"C_Steps\" });\r\n\r\nexport interface StepItem {\r\n title: string;\r\n description?: string;\r\n time?: string;\r\n icon?: string;\r\n status?: \"wait\" | \"process\" | \"finish\" | \"error\";\r\n disabled?: boolean;\r\n detail?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[];\r\n current?: number;\r\n direction?: \"horizontal\" | \"vertical\";\r\n clickable?: boolean;\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean;\r\n }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: false,\r\n connected: false,\r\n },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:current\": [number];\r\n change: [number];\r\n}>();\r\n\r\nconst getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status;\r\n }\r\n if (index < props.current) return \"finish\";\r\n if (index === props.current) return \"process\";\r\n return \"wait\";\r\n};\r\n\r\nconst handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return;\r\n emit(\"update:current\", index);\r\n emit(\"change\", index);\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@use \"./index.scss\";\r\n</style>\r\n"],"mappings":"iuBEmDA,IAAM,EAAQ,EAiBR,EAAO,EAKP,EAAa,GACb,EAAM,MAAM,GAAO,OACd,EAAM,MAAM,GAAO,OAExB,EAAQ,EAAM,QAAgB,SAC9B,IAAU,EAAM,QAAgB,UAC7B,OAGH,EAAe,GAAkB,CACjC,CAAC,EAAM,WAAa,EAAM,MAAM,GAAO,WAC3C,EAAK,iBAAkB,EAAM,CAC7B,EAAK,SAAU,EAAM,qBA7ErB,EA2BM,MAAA,CA3BD,MAAK,EAAA,CAAC,UAAS,CAAA,SAAmBA,EAAAA,YAAS,CAAA,kBAAyBC,EAAAA,UAAS,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,EAAA,GAAA,CAChF,EAyBM,EAAA,KAAA,EAxBoBC,EAAAA,OAAhB,EAAM,SADhB,EAyBM,MAAA,CAvBH,IAAK,EACN,MAAK,EAAA,CAAC,YAAW,CAAA,QACU,EAAU,EAAK,GAAA,CAAA,iBAAkCC,EAAAA,WAAS,CAAK,EAAK,SAAQ,CAAA,CAAA,CAAA,CAItG,QAAK,GAAE,EAAY,EAAK,GAEzB,EAOM,MAPN,EAOM,CANJ,EAIM,MAJN,EAIM,CAHK,EAAK,MAAA,GAAA,CAAd,EAA2C,IAAA,OAAtB,MAAK,EAAE,EAAK,KAAI,WACvB,EAAU,EAAK,GAAA,UAAA,GAAA,CAA7B,EAAqE,IAArE,EAAqE,GAAA,GAAA,CACrE,EAAsD,OAAtD,EAAsD,EAAnB,EAAK,EAAA,CAAA,EAAA,EAAA,CAAA,CAE/B,EAAQD,EAAAA,MAAM,OAAM,GAAA,GAAA,CAA/B,EAAyD,MAAzD,EAAyD,EAAA,EAAA,OAAA,GAAA,CAAA,CAAA,CAE3D,EAMM,MANN,EAMM,CALJ,EAA8C,MAA9C,EAA8C,EAAnB,EAAK,MAAK,CAAA,EAAA,CAC1B,EAAK,MAAA,GAAA,CAAhB,EAA6D,MAA7D,EAA6D,EAAlB,EAAK,KAAI,CAAA,EAAA,EAAA,EAAA,OAAA,GAAA,CACzC,EAAK,aAAA,GAAA,CAAhB,EAEM,MAFN,EAEM,EADD,EAAK,YAAW,CAAA,EAAA,EAAA,EAAA,OAAA,GAAA"}
|
|
1
|
+
{"version":3,"file":"C_Steps2.js","names":["direction","connected","steps","clickable"],"sources":["../src/components/C_Steps/index.vue","../src/components/C_Steps/index.vue","../src/components/C_Steps/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div\r\n class=\"c-steps\"\r\n :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\"\r\n >\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i\r\n v-if=\"step.icon\"\r\n :class=\"step.icon\"\r\n ></i>\r\n <i\r\n v-else-if=\"getStatus(index) === 'finish'\"\r\n class=\"i-mdi:check\"\r\n ></i>\r\n <span\r\n v-else\r\n class=\"step-index\"\r\n >{{ index + 1 }}</span\r\n >\r\n </div>\r\n <div\r\n v-if=\"index < steps.length - 1\"\r\n class=\"step-line\"\r\n />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div\r\n v-if=\"step.time\"\r\n class=\"step-time\"\r\n >{{ step.time }}</div\r\n >\r\n <div\r\n v-if=\"step.description\"\r\n class=\"step-description\"\r\n >\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n defineOptions({ name: 'C_Steps' })\r\n\r\n export interface StepItem {\r\n title: string\r\n description?: string\r\n time?: string\r\n icon?: string\r\n status?: 'wait' | 'process' | 'finish' | 'error'\r\n disabled?: boolean\r\n detail?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[]\r\n current?: number\r\n direction?: 'horizontal' | 'vertical'\r\n clickable?: boolean\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean\r\n }>(),\r\n {\r\n current: 0,\r\n direction: 'horizontal',\r\n clickable: false,\r\n connected: false,\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:current': [number]\r\n change: [number]\r\n }>()\r\n\r\n const getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status\r\n }\r\n if (index < props.current) return 'finish'\r\n if (index === props.current) return 'process'\r\n return 'wait'\r\n }\r\n\r\n const handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return\r\n emit('update:current', index)\r\n emit('change', index)\r\n }\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n @use './index.scss';\r\n</style>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div\r\n class=\"c-steps\"\r\n :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\"\r\n >\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i\r\n v-if=\"step.icon\"\r\n :class=\"step.icon\"\r\n ></i>\r\n <i\r\n v-else-if=\"getStatus(index) === 'finish'\"\r\n class=\"i-mdi:check\"\r\n ></i>\r\n <span\r\n v-else\r\n class=\"step-index\"\r\n >{{ index + 1 }}</span\r\n >\r\n </div>\r\n <div\r\n v-if=\"index < steps.length - 1\"\r\n class=\"step-line\"\r\n />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div\r\n v-if=\"step.time\"\r\n class=\"step-time\"\r\n >{{ step.time }}</div\r\n >\r\n <div\r\n v-if=\"step.description\"\r\n class=\"step-description\"\r\n >\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n defineOptions({ name: 'C_Steps' })\r\n\r\n export interface StepItem {\r\n title: string\r\n description?: string\r\n time?: string\r\n icon?: string\r\n status?: 'wait' | 'process' | 'finish' | 'error'\r\n disabled?: boolean\r\n detail?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[]\r\n current?: number\r\n direction?: 'horizontal' | 'vertical'\r\n clickable?: boolean\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean\r\n }>(),\r\n {\r\n current: 0,\r\n direction: 'horizontal',\r\n clickable: false,\r\n connected: false,\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:current': [number]\r\n change: [number]\r\n }>()\r\n\r\n const getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status\r\n }\r\n if (index < props.current) return 'finish'\r\n if (index === props.current) return 'process'\r\n return 'wait'\r\n }\r\n\r\n const handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return\r\n emit('update:current', index)\r\n emit('change', index)\r\n }\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n @use './index.scss';\r\n</style>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 步骤条组件\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <div\r\n class=\"c-steps\"\r\n :class=\"[`steps-${direction}`, { 'steps-connected': connected }]\"\r\n >\r\n <div\r\n v-for=\"(step, index) in steps\"\r\n :key=\"index\"\r\n class=\"step-item\"\r\n :class=\"[\r\n `step-${getStatus(index)}`,\r\n { 'step-clickable': clickable && !step.disabled },\r\n ]\"\r\n @click=\"handleClick(index)\"\r\n >\r\n <div class=\"step-indicator\">\r\n <div class=\"step-icon\">\r\n <i\r\n v-if=\"step.icon\"\r\n :class=\"step.icon\"\r\n ></i>\r\n <i\r\n v-else-if=\"getStatus(index) === 'finish'\"\r\n class=\"i-mdi:check\"\r\n ></i>\r\n <span\r\n v-else\r\n class=\"step-index\"\r\n >{{ index + 1 }}</span\r\n >\r\n </div>\r\n <div\r\n v-if=\"index < steps.length - 1\"\r\n class=\"step-line\"\r\n />\r\n </div>\r\n <div class=\"step-content\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div\r\n v-if=\"step.time\"\r\n class=\"step-time\"\r\n >{{ step.time }}</div\r\n >\r\n <div\r\n v-if=\"step.description\"\r\n class=\"step-description\"\r\n >\r\n {{ step.description }}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n defineOptions({ name: 'C_Steps' })\r\n\r\n export interface StepItem {\r\n title: string\r\n description?: string\r\n time?: string\r\n icon?: string\r\n status?: 'wait' | 'process' | 'finish' | 'error'\r\n disabled?: boolean\r\n detail?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n steps: StepItem[]\r\n current?: number\r\n direction?: 'horizontal' | 'vertical'\r\n clickable?: boolean\r\n /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/\r\n connected?: boolean\r\n }>(),\r\n {\r\n current: 0,\r\n direction: 'horizontal',\r\n clickable: false,\r\n connected: false,\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:current': [number]\r\n change: [number]\r\n }>()\r\n\r\n const getStatus = (index: number) => {\r\n if (props.steps[index].status) {\r\n return props.steps[index].status\r\n }\r\n if (index < props.current) return 'finish'\r\n if (index === props.current) return 'process'\r\n return 'wait'\r\n }\r\n\r\n const handleClick = (index: number) => {\r\n if (!props.clickable || props.steps[index].disabled) return\r\n emit('update:current', index)\r\n emit('change', index)\r\n }\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n @use './index.scss';\r\n</style>\r\n"],"mappings":"iuBE0EE,IAAM,EAAQ,EAiBR,EAAO,EAKP,EAAa,GACb,EAAM,MAAM,GAAO,OACd,EAAM,MAAM,GAAO,OAExB,EAAQ,EAAM,QAAgB,SAC9B,IAAU,EAAM,QAAgB,UAC7B,OAGH,EAAe,GAAkB,CACjC,CAAC,EAAM,WAAa,EAAM,MAAM,GAAO,WAC3C,EAAK,iBAAkB,EAAM,CAC7B,EAAK,SAAU,EAAM,qBApGvB,EAkDM,MAAA,CAjDJ,MAAK,EAAA,CAAC,UAAS,CAAA,SACGA,EAAAA,YAAS,CAAA,kBAAyBC,EAAAA,UAAS,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,EAAA,GAAA,CAE7D,EA6CM,EAAA,KAAA,EA5CoBC,EAAAA,OAAhB,EAAM,SADhB,EA6CM,MAAA,CA3CH,IAAK,EACN,MAAK,EAAA,CAAC,YAAW,CAAA,QACU,EAAU,EAAK,GAAA,CAAA,iBAAkCC,EAAAA,WAAS,CAAK,EAAK,SAAQ,CAAA,CAAA,CAAA,CAItG,QAAK,GAAE,EAAY,EAAK,GAEzB,EAoBM,MApBN,EAoBM,CAnBJ,EAcM,MAdN,EAcM,CAZI,EAAK,MAAA,GAAA,CADb,EAGK,IAAA,OADF,MAAK,EAAE,EAAK,KAAI,WAGN,EAAU,EAAK,GAAA,UAAA,GAAA,CAD5B,EAGK,IAHL,EAGK,GAAA,GAAA,CACL,EAGqC,OAHrC,EAGqC,EAA/B,EAAK,EAAA,CAAA,EAAA,EAAA,CAAA,CAIL,EAAQD,EAAAA,MAAM,OAAM,GAAA,GAAA,CAD5B,EAGE,MAHF,EAGE,EAAA,EAAA,OAAA,GAAA,CAAA,CAAA,CAEJ,EAaM,MAbN,EAaM,CAZJ,EAA8C,MAA9C,EAA8C,EAAnB,EAAK,MAAK,CAAA,EAAA,CAE7B,EAAK,MAAA,GAAA,CADb,EAGkC,MAHlC,EAGkC,EAA5B,EAAK,KAAI,CAAA,EAAA,EAAA,EAAA,OAAA,GAAA,CAGP,EAAK,aAAA,GAAA,CADb,EAKM,MALN,EAKM,EADD,EAAK,YAAW,CAAA,EAAA,EAAA,EAAA,OAAA,GAAA"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
110
110
|
reset: typeof handleReset;
|
|
111
111
|
validate: () => CronValidation;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
"update:modelValue": (value: string) => any;
|
|
114
113
|
change: (value: string) => any;
|
|
114
|
+
"update:modelValue": (value: string) => any;
|
|
115
115
|
"validation-change": (result: CronValidation) => any;
|
|
116
116
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
117
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
height: string | number;
|
|
122
|
-
modelValue: string;
|
|
123
122
|
disabled: boolean;
|
|
124
|
-
|
|
123
|
+
modelValue: string;
|
|
125
124
|
previewCount: number;
|
|
126
125
|
showTemplates: boolean;
|
|
126
|
+
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -112,18 +112,18 @@ interface FormulaEditorExpose {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
114
114
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value: string) => any;
|
|
116
115
|
change: (value: string) => any;
|
|
116
|
+
"update:modelValue": (value: string) => any;
|
|
117
117
|
"validation-change": (result: FormulaValidation) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
119
|
onChange?: ((value: string) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
height: string | number;
|
|
124
|
-
modelValue: string;
|
|
125
|
-
disabled: boolean;
|
|
126
124
|
placeholder: string;
|
|
125
|
+
disabled: boolean;
|
|
126
|
+
modelValue: string;
|
|
127
127
|
showPreview: boolean;
|
|
128
128
|
variables: FormulaVariable[];
|
|
129
129
|
functions: FormulaFunction[];
|
package/dist/constants3.d.ts
CHANGED
|
@@ -217,7 +217,7 @@ declare function useNotificationCore(props: NotificationCenterProps): {
|
|
|
217
217
|
actionText?: string | undefined;
|
|
218
218
|
extra?: Record<string, unknown> | undefined;
|
|
219
219
|
}[]>;
|
|
220
|
-
activeCategory: vue.Ref<
|
|
220
|
+
activeCategory: vue.Ref<"all" | NotificationCategory, "all" | NotificationCategory>;
|
|
221
221
|
loading: vue.Ref<boolean, boolean>;
|
|
222
222
|
total: vue.Ref<number, number>;
|
|
223
223
|
page: vue.Ref<number, number>;
|
package/dist/constants4.d.ts
CHANGED
|
@@ -212,11 +212,11 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
|
|
|
212
212
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
|
-
data: Record<string, any>;
|
|
216
215
|
disabled: boolean;
|
|
217
216
|
multiple: boolean;
|
|
218
|
-
|
|
217
|
+
data: Record<string, any>;
|
|
219
218
|
maxSize: number;
|
|
219
|
+
draggable: boolean;
|
|
220
220
|
action: string;
|
|
221
221
|
headers: Record<string, string>;
|
|
222
222
|
directory: boolean;
|
package/dist/data.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
23
23
|
onMarkerClick?: ((marker: MapMarker$1, event: any) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
height: string;
|
|
26
|
+
zoom: number;
|
|
26
27
|
center: [number, number];
|
|
27
28
|
markers: MapMarker$1[];
|
|
28
29
|
amapKey: string;
|
|
29
|
-
zoom: number;
|
|
30
30
|
mapType: "osm" | "amap";
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -25,20 +25,20 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
25
25
|
copyCode: typeof copyCode;
|
|
26
26
|
toggleFullscreen: typeof toggleFullscreen;
|
|
27
27
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
28
|
-
click: (event: MouseEvent) => any;
|
|
29
28
|
copy: (code: string) => any;
|
|
29
|
+
click: (event: MouseEvent) => any;
|
|
30
30
|
fullscreen: (isFullscreen: boolean) => any;
|
|
31
31
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
32
|
onCopy?: ((code: string) => any) | undefined;
|
|
33
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
trim: boolean;
|
|
37
|
+
wordWrap: boolean;
|
|
37
38
|
code: string;
|
|
38
39
|
language: string;
|
|
39
40
|
showHeader: boolean;
|
|
40
41
|
showLineNumbers: boolean;
|
|
41
|
-
wordWrap: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -75,13 +75,13 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
75
75
|
}) => any) | undefined;
|
|
76
76
|
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
disabled: boolean;
|
|
79
78
|
items: ContextMenuItem[];
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
zIndex: number;
|
|
80
81
|
minWidth: number;
|
|
81
82
|
maxWidth: number;
|
|
82
83
|
subMenuPlacement: "right" | "left";
|
|
83
84
|
autoClose: boolean;
|
|
84
|
-
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as vue from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/components/C_Date/index.vue.d.ts
|
|
4
|
-
type DatePickerMode =
|
|
5
|
-
type DateValue =
|
|
6
|
-
type DateRangeValue = [
|
|
4
|
+
type DatePickerMode = 'date' | 'datetime' | 'daterange' | 'datetimerange' | 'smart-range';
|
|
5
|
+
type DateValue = string | null;
|
|
6
|
+
type DateRangeValue = [string, string] | null;
|
|
7
7
|
interface Props {
|
|
8
8
|
mode?: DatePickerMode;
|
|
9
9
|
placeholder?: string;
|
|
@@ -15,40 +15,44 @@ interface Props {
|
|
|
15
15
|
valueFormat?: string;
|
|
16
16
|
startDateProps?: Record<string, any>;
|
|
17
17
|
endDateProps?: Record<string, any>;
|
|
18
|
+
singleDate?: DateValue;
|
|
19
|
+
singleDateTime?: DateValue;
|
|
20
|
+
dateRange?: DateRangeValue;
|
|
21
|
+
dateTimeRange?: DateRangeValue;
|
|
22
|
+
smartRange?: DateRangeValue;
|
|
18
23
|
}
|
|
19
24
|
declare const __VLS_export: vue.DefineComponent<Props, {
|
|
20
|
-
singleDate: vue.Ref<DateValue, DateValue>;
|
|
21
|
-
singleDateTime: vue.Ref<DateValue, DateValue>;
|
|
22
|
-
dateRange: vue.Ref<DateRangeValue, DateRangeValue>;
|
|
23
|
-
dateTimeRange: vue.Ref<DateRangeValue, DateRangeValue>;
|
|
24
|
-
startDate: vue.Ref<DateValue, DateValue>;
|
|
25
|
-
endDate: vue.Ref<DateValue, DateValue>;
|
|
26
25
|
clearAll: () => void;
|
|
27
26
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
28
|
-
change: (value: number | [number, number] | null) => any;
|
|
29
27
|
"update:singleDate": (value: DateValue) => any;
|
|
30
28
|
"update:singleDateTime": (value: DateValue) => any;
|
|
31
29
|
"update:dateRange": (value: DateRangeValue) => any;
|
|
32
30
|
"update:dateTimeRange": (value: DateRangeValue) => any;
|
|
33
31
|
"update:smartRange": (value: DateRangeValue) => any;
|
|
32
|
+
change: (value: string | [string, string] | null) => any;
|
|
34
33
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
-
onChange?: ((value: number | [number, number] | null) => any) | undefined;
|
|
36
34
|
"onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
|
|
37
35
|
"onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
|
|
38
36
|
"onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
37
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
40
38
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
|
+
onChange?: ((value: string | [string, string] | null) => any) | undefined;
|
|
41
40
|
}>, {
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
placeholder: string;
|
|
44
41
|
mode: DatePickerMode;
|
|
42
|
+
placeholder: string;
|
|
45
43
|
startPlaceholder: string;
|
|
46
44
|
endPlaceholder: string;
|
|
45
|
+
disabled: boolean;
|
|
47
46
|
disabledBeforeToday: boolean;
|
|
48
47
|
disabledAfterToday: boolean;
|
|
49
48
|
valueFormat: string;
|
|
50
49
|
startDateProps: Record<string, any>;
|
|
51
50
|
endDateProps: Record<string, any>;
|
|
51
|
+
singleDate: DateValue;
|
|
52
|
+
singleDateTime: DateValue;
|
|
53
|
+
dateRange: DateRangeValue;
|
|
54
|
+
dateTimeRange: DateRangeValue;
|
|
55
|
+
smartRange: DateRangeValue;
|
|
52
56
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
53
57
|
declare const _default: typeof __VLS_export;
|
|
54
58
|
//#endregion
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -29,10 +29,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
height: number;
|
|
32
|
-
|
|
32
|
+
placeholder: string;
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
theme: "light" | "dark";
|
|
35
|
-
|
|
35
|
+
modelValue: string;
|
|
36
36
|
readonly: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -52,18 +52,18 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
52
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
53
|
size: number | string;
|
|
54
54
|
clickable: boolean;
|
|
55
|
-
title: string;
|
|
56
|
-
loading: boolean;
|
|
57
55
|
name: string | any;
|
|
58
56
|
color: string;
|
|
57
|
+
loading: boolean;
|
|
59
58
|
flip: "horizontal" | "vertical" | "both";
|
|
59
|
+
title: string;
|
|
60
|
+
rotate: number;
|
|
60
61
|
svgPath: string;
|
|
61
62
|
viewBox: string;
|
|
62
63
|
alt: string;
|
|
63
64
|
fallbackIcon: string;
|
|
64
65
|
ariaLabel: string;
|
|
65
66
|
customClass: string;
|
|
66
|
-
rotate: number;
|
|
67
67
|
componentProps: Record<string, any>;
|
|
68
68
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
69
69
|
declare const _default: typeof __VLS_export;
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ type __VLS_Props = {
|
|
|
12
12
|
tooltip?: string;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (key: string) => any;
|
|
16
15
|
change: (key: string) => any;
|
|
16
|
+
"update:modelValue": (key: string) => any;
|
|
17
17
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
19
18
|
onChange?: ((key: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
modelValue: string;
|
|
22
22
|
options: LanguageOption[];
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -99,9 +99,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
|
|
|
99
99
|
"onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
|
|
100
100
|
"onRegister-send-code"?: ((phone: string) => any) | undefined;
|
|
101
101
|
}>, {
|
|
102
|
+
loading: boolean;
|
|
102
103
|
title: string;
|
|
103
104
|
storageKey: string;
|
|
104
|
-
loading: boolean;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
|
107
107
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
insertText: (text: string) => void;
|
|
39
39
|
wordCount: vue.ComputedRef<number>;
|
|
40
40
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
41
|
-
"update:modelValue": (value: string) => any;
|
|
42
41
|
change: (text: string, html: string) => any;
|
|
42
|
+
"update:modelValue": (value: string) => any;
|
|
43
43
|
save: (text: string, html: string) => any;
|
|
44
44
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
45
45
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
48
48
|
"auto-save": (text: string) => any;
|
|
49
49
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
51
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
53
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
54
54
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
55
55
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
@@ -59,10 +59,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
height: string | number;
|
|
62
|
-
modelValue: string;
|
|
63
|
-
disabled: boolean;
|
|
64
|
-
placeholder: string;
|
|
65
62
|
mode: "edit" | "editable" | "preview";
|
|
63
|
+
placeholder: string;
|
|
64
|
+
disabled: boolean;
|
|
65
|
+
modelValue: string;
|
|
66
|
+
autoSave: boolean;
|
|
67
|
+
isDark: boolean;
|
|
66
68
|
tocNavPosition: "left" | "right";
|
|
67
69
|
defaultFullscreen: boolean;
|
|
68
70
|
autofocus: boolean;
|
|
@@ -71,9 +73,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
71
73
|
rightToolbar: string;
|
|
72
74
|
maxLength: number;
|
|
73
75
|
showWordCount: boolean;
|
|
74
|
-
autoSave: boolean;
|
|
75
76
|
autoSaveInterval: number;
|
|
76
|
-
isDark: boolean;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
79
79
|
//#endregion
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -70,8 +70,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
-
theme: "default" | "minimal";
|
|
74
73
|
mode: "list" | "loop" | "single" | "shuffle";
|
|
74
|
+
theme: "default" | "minimal";
|
|
75
75
|
initialIndex: number;
|
|
76
76
|
showPlaylist: boolean;
|
|
77
77
|
showCover: boolean;
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -35,12 +35,12 @@ type __VLS_Slots = {} & {
|
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
|
+
strokeWidth: number;
|
|
39
|
+
time: number;
|
|
38
40
|
percentage: number | number[];
|
|
39
41
|
isAnimation: boolean;
|
|
40
|
-
time: number;
|
|
41
42
|
indicatorPlacement: "inside" | "outside";
|
|
42
43
|
showIndicator: boolean;
|
|
43
|
-
strokeWidth: number;
|
|
44
44
|
unit: string;
|
|
45
45
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -6,14 +6,14 @@ interface StepItem {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
time?: string;
|
|
8
8
|
icon?: string;
|
|
9
|
-
status?:
|
|
9
|
+
status?: 'wait' | 'process' | 'finish' | 'error';
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
detail?: string;
|
|
12
12
|
}
|
|
13
13
|
type __VLS_Props = {
|
|
14
14
|
steps: StepItem[];
|
|
15
15
|
current?: number;
|
|
16
|
-
direction?:
|
|
16
|
+
direction?: 'horizontal' | 'vertical';
|
|
17
17
|
clickable?: boolean; /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/
|
|
18
18
|
connected?: boolean;
|
|
19
19
|
};
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
26
|
}>, {
|
|
27
27
|
clickable: boolean;
|
|
28
28
|
direction: "horizontal" | "vertical";
|
|
29
|
-
connected: boolean;
|
|
30
29
|
current: number;
|
|
30
|
+
connected: boolean;
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
//#endregion
|
package/dist/index25.vue.d.ts
CHANGED
|
@@ -61,11 +61,11 @@ type __VLS_Props = {
|
|
|
61
61
|
size?: TransferProps['size'];
|
|
62
62
|
};
|
|
63
63
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
64
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
64
65
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
65
|
-
change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
67
68
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
68
|
-
onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
size: "small" | "medium" | "large";
|
|
71
71
|
filterable: boolean;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -648,10 +648,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
650
|
height: string | number;
|
|
651
|
-
data: GanttTask[];
|
|
652
651
|
theme: "light" | "dark";
|
|
653
|
-
title: string;
|
|
654
652
|
options: GanttOptions;
|
|
653
|
+
data: GanttTask[];
|
|
654
|
+
title: string;
|
|
655
655
|
showToolbar: boolean;
|
|
656
656
|
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -34,9 +34,9 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
34
34
|
onFail?: ((error: string) => any) | undefined;
|
|
35
35
|
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
+
disabled: boolean;
|
|
37
38
|
triggerText: string;
|
|
38
39
|
images: string[];
|
|
39
|
-
disabled: boolean;
|
|
40
40
|
theme: "light" | "dark";
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
package/dist/index7.vue.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ type __VLS_Props = {
|
|
|
17
17
|
modelValue?: CascadeValue;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
21
20
|
change: (value: CascadeValue) => any;
|
|
21
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
22
22
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
24
23
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
placeholders: string[];
|
|
27
27
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
87
87
|
scrollToBottom: () => void;
|
|
88
88
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
89
|
-
"load-more": () => any;
|
|
90
89
|
send: (content: string) => any;
|
|
91
90
|
"select-contact": (id: string) => any;
|
|
91
|
+
"load-more": () => any;
|
|
92
92
|
"image-preview": (url: string) => any;
|
|
93
93
|
"file-click": (msg: ChatMessage) => any;
|
|
94
94
|
"file-upload": () => any;
|
|
95
95
|
"emoji-click": () => any;
|
|
96
96
|
resend: (msg: ChatMessage) => any;
|
|
97
97
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
98
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
99
98
|
onSend?: ((content: string) => any) | undefined;
|
|
100
99
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
101
101
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
102
102
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
103
103
|
"onFile-upload"?: (() => any) | undefined;
|
|
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
}>, {
|
|
107
107
|
placeholder: string;
|
|
108
108
|
title: string;
|
|
109
|
-
messages: ChatMessage[];
|
|
110
109
|
showContacts: boolean;
|
|
111
110
|
showTimestamp: boolean;
|
|
112
111
|
showSendBtn: boolean;
|
|
113
112
|
loadingHistory: boolean;
|
|
114
113
|
contacts: ChatContact[];
|
|
114
|
+
messages: ChatMessage[];
|
|
115
115
|
currentContactId: string;
|
|
116
116
|
selfAvatar: string;
|
|
117
117
|
selfName: string;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
trigger?: (props: typeof __VLS_9) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
17
|
-
"update:modelValue": (value: string) => any;
|
|
18
17
|
change: (value: string) => any;
|
|
18
|
+
"update:modelValue": (value: string) => any;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
20
|
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: string;
|
|
24
24
|
showLetters: boolean;
|