@robot-admin/naive-ui-components 0.6.12 → 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 +43 -39
- 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/constants2.d.ts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.ts +1 -1
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index12.vue.d.ts +17 -13
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.ts +4 -4
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.ts +5 -3
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index6.vue.d.ts +4 -4
- package/dist/index8.vue.d.ts +1 -1
- package/dist/style.css +45 -41
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.ts +3 -3
- package/dist/useCropperCore.d.ts +3 -3
- package/dist/useDraggableLayout.d.ts +8 -8
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +1 -1
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.ts +8 -8
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.ts +4 -4
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/package.json +1 -1
- package/dist/C_Steps-B1Wf3E73.css.map +0 -1
- package/dist/C_Steps-C8cOf_tu.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}},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}
|
|
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","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}`]\">\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 }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: 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}`]\">\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 }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: 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}`]\">\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 }>(),\r\n {\r\n current: 0,\r\n direction: \"horizontal\",\r\n clickable: 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":"6rBEmDA,IAAM,EAAQ,EAcR,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,qBA1ErB,EA2BM,MAAA,CA3BD,MAAK,EAAA,CAAC,UAAS,CAAA,SAAmBA,EAAAA,YAAS,CAAA,CAAA,CAAA,CAAA,EAAA,EAAA,GAAA,CAC9C,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/constants2.d.ts
CHANGED
|
@@ -121,9 +121,9 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
|
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
height: string | number;
|
|
124
|
+
placeholder: string;
|
|
124
125
|
disabled: boolean;
|
|
125
126
|
modelValue: string;
|
|
126
|
-
placeholder: string;
|
|
127
127
|
showPreview: boolean;
|
|
128
128
|
variables: FormulaVariable[];
|
|
129
129
|
functions: FormulaFunction[];
|
package/dist/constants3.d.ts
CHANGED
|
@@ -168,11 +168,11 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
|
|
|
168
168
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
169
169
|
onNavigate?: ((url: string) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
|
-
pageSize: number;
|
|
172
171
|
storageKey: string;
|
|
173
172
|
desktopNotification: boolean;
|
|
174
173
|
maxBadgeCount: number;
|
|
175
174
|
pollingInterval: number;
|
|
175
|
+
pageSize: number;
|
|
176
176
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
177
177
|
declare const _default: typeof __VLS_export;
|
|
178
178
|
//#endregion
|
package/dist/constants4.d.ts
CHANGED
|
@@ -197,30 +197,30 @@ type __VLS_Slots = {} & {
|
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
199
|
error: (file: UploadFileItem, error: Error) => any;
|
|
200
|
-
success: (file: UploadFileItem, response: any) => any;
|
|
201
200
|
change: (fileList: UploadFileItem[]) => any;
|
|
201
|
+
success: (file: UploadFileItem, response: any) => any;
|
|
202
202
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
203
203
|
remove: (file: UploadFileItem) => any;
|
|
204
204
|
finish: (fileList: UploadFileItem[]) => any;
|
|
205
205
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
206
206
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
207
207
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
208
|
-
onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
|
|
209
208
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
209
|
+
onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
|
|
210
210
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
211
211
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
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;
|
|
217
|
+
data: Record<string, any>;
|
|
218
|
+
maxSize: number;
|
|
218
219
|
draggable: boolean;
|
|
219
220
|
action: string;
|
|
220
221
|
headers: Record<string, string>;
|
|
221
222
|
directory: boolean;
|
|
222
223
|
accept: string;
|
|
223
|
-
maxSize: number;
|
|
224
224
|
maxCount: number;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -260,8 +260,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
260
260
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
261
261
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
262
|
error: (error: Error) => any;
|
|
263
|
-
ready: () => any;
|
|
264
263
|
ended: () => any;
|
|
264
|
+
ready: () => any;
|
|
265
265
|
stateChange: (state: PlayerState) => any;
|
|
266
266
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
267
267
|
qualityChange: (quality: QualityLevel) => any;
|
|
@@ -273,8 +273,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
273
273
|
progressUpdate: (data: ProgressData) => any;
|
|
274
274
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
275
275
|
onError?: ((error: Error) => any) | undefined;
|
|
276
|
-
onReady?: (() => any) | undefined;
|
|
277
276
|
onEnded?: (() => any) | undefined;
|
|
277
|
+
onReady?: (() => any) | undefined;
|
|
278
278
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
279
279
|
onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
|
|
280
280
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
package/dist/data.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ 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
|
-
center: [number, number];
|
|
27
26
|
zoom: number;
|
|
27
|
+
center: [number, number];
|
|
28
28
|
markers: MapMarker$1[];
|
|
29
29
|
amapKey: string;
|
|
30
30
|
mapType: "osm" | "amap";
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
33
33
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
+
trim: boolean;
|
|
37
|
+
wordWrap: boolean;
|
|
36
38
|
code: string;
|
|
37
39
|
language: string;
|
|
38
40
|
showHeader: boolean;
|
|
39
41
|
showLineNumbers: boolean;
|
|
40
|
-
wordWrap: boolean;
|
|
41
|
-
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
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,11 +29,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
height: number;
|
|
32
|
-
|
|
33
|
-
theme: "light" | "dark";
|
|
32
|
+
placeholder: string;
|
|
34
33
|
disabled: boolean;
|
|
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;
|
|
39
39
|
//#endregion
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -52,11 +52,11 @@ 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
55
|
name: string | any;
|
|
57
56
|
color: string;
|
|
58
57
|
loading: boolean;
|
|
59
58
|
flip: "horizontal" | "vertical" | "both";
|
|
59
|
+
title: string;
|
|
60
60
|
rotate: number;
|
|
61
61
|
svgPath: string;
|
|
62
62
|
viewBox: string;
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -99,8 +99,8 @@ 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
|
-
title: string;
|
|
103
102
|
loading: boolean;
|
|
103
|
+
title: string;
|
|
104
104
|
storageKey: string;
|
|
105
105
|
defaultUsername: string;
|
|
106
106
|
defaultPassword: string;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -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
|
+
mode: "edit" | "editable" | "preview";
|
|
63
|
+
placeholder: string;
|
|
62
64
|
disabled: boolean;
|
|
63
65
|
modelValue: string;
|
|
64
|
-
|
|
65
|
-
|
|
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,12 +70,12 @@ 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
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
73
74
|
theme: "default" | "minimal";
|
|
74
75
|
initialIndex: number;
|
|
75
76
|
showPlaylist: boolean;
|
|
76
77
|
showCover: boolean;
|
|
77
78
|
autoplay: boolean;
|
|
78
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ 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
|
-
time: number;
|
|
39
38
|
strokeWidth: number;
|
|
39
|
+
time: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
|
42
42
|
indicatorPlacement: "inside" | "outside";
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -6,15 +6,16 @@ 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?:
|
|
17
|
-
clickable?: boolean;
|
|
16
|
+
direction?: 'horizontal' | 'vertical';
|
|
17
|
+
clickable?: boolean; /** 水平模式下线条是否与图标紧密相连,默认 false(两端留有对称间距)*/
|
|
18
|
+
connected?: boolean;
|
|
18
19
|
};
|
|
19
20
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
21
|
change: (args_0: number) => any;
|
|
@@ -26,6 +27,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
26
27
|
clickable: boolean;
|
|
27
28
|
direction: "horizontal" | "vertical";
|
|
28
29
|
current: number;
|
|
30
|
+
connected: boolean;
|
|
29
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
30
32
|
declare const _default: typeof __VLS_export;
|
|
31
33
|
//#endregion
|
package/dist/index24.vue.d.ts
CHANGED
|
@@ -92,8 +92,8 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
94
|
items: TimelineItem[];
|
|
95
|
-
size: "small" | "medium" | "large";
|
|
96
95
|
mode: "vertical" | "horizontal";
|
|
96
|
+
size: "small" | "medium" | "large";
|
|
97
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
98
|
pending: boolean;
|
|
99
99
|
pendingText: string;
|
package/dist/index25.vue.d.ts
CHANGED
|
@@ -61,10 +61,10 @@ 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: "
|
|
64
|
+
change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
|
|
65
65
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
66
66
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
67
|
-
onChange?: ((targetKeys: (string | number)[], direction: "
|
|
67
|
+
onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
|
|
68
68
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
70
|
size: "small" | "medium" | "large";
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -648,11 +648,11 @@ 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
|
-
showToolbar: boolean;
|
|
653
651
|
theme: "light" | "dark";
|
|
654
|
-
title: string;
|
|
655
652
|
options: GanttOptions;
|
|
653
|
+
data: GanttTask[];
|
|
654
|
+
title: string;
|
|
655
|
+
showToolbar: boolean;
|
|
656
656
|
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -18,26 +18,26 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
18
18
|
reset: () => void;
|
|
19
19
|
show: () => void;
|
|
20
20
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
21
|
+
change: (valid: boolean) => any;
|
|
21
22
|
success: (data: {
|
|
22
23
|
token: string;
|
|
23
24
|
timestamp: number;
|
|
24
25
|
}) => any;
|
|
25
26
|
fail: (error: string) => any;
|
|
26
|
-
change: (valid: boolean) => any;
|
|
27
27
|
reset: () => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
|
+
onChange?: ((valid: boolean) => any) | undefined;
|
|
29
30
|
onSuccess?: ((data: {
|
|
30
31
|
token: string;
|
|
31
32
|
timestamp: number;
|
|
32
33
|
}) => any) | undefined;
|
|
33
34
|
onFail?: ((error: string) => any) | undefined;
|
|
34
|
-
onChange?: ((valid: boolean) => any) | undefined;
|
|
35
35
|
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
|
|
37
|
+
disabled: boolean;
|
|
38
38
|
triggerText: string;
|
|
39
39
|
images: string[];
|
|
40
|
-
|
|
40
|
+
theme: "light" | "dark";
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
//#endregion
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -104,8 +104,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
104
104
|
"onEmoji-click"?: (() => any) | undefined;
|
|
105
105
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
-
title: string;
|
|
108
107
|
placeholder: string;
|
|
108
|
+
title: string;
|
|
109
109
|
showContacts: boolean;
|
|
110
110
|
showTimestamp: boolean;
|
|
111
111
|
showSendBtn: boolean;
|