@robot-admin/naive-ui-components 0.6.7 → 0.6.8
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_Language.js.map +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Language2.js.map +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.ts +2 -2
- package/dist/index.vue.d.ts +1 -1
- package/dist/index11.vue.d.ts +7 -7
- package/dist/index12.vue.d.ts +3 -1
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index15.vue.d.ts +2 -2
- package/dist/index16.vue.d.ts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index19.vue.d.ts +2 -2
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.ts +1 -1
- package/dist/index9.vue.d.ts +2 -2
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.ts +3 -3
- package/dist/useDynamicFormState.d.ts +12 -12
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSearchState.d.ts +3 -3
- package/dist/useSignatureHistory.d.ts +1 -1
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.ts +6 -6
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/package.json +1 -1
package/dist/C_Language.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C_Language.js","names":["modelValue"],"sources":["../src/components/C_Language/index.vue","../src/components/C_Language/index.vue","../src/components/C_Language/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NDropdown\r\n
|
|
1
|
+
{"version":3,"file":"C_Language.js","names":["modelValue"],"sources":["../src/components/C_Language/index.vue","../src/components/C_Language/index.vue","../src/components/C_Language/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n"],"mappings":"mhBE+CE,IAAM,EAAQ,EAmBR,EAAO,EAMP,GAAA,EAAA,EAAA,cACQ,EAAM,QAAQ,KAAK,GAAK,EAAE,MAAQ,EAAM,WAAW,EACnD,OAAS,EAAM,WAC3B,CAEI,GAAA,EAAA,EAAA,cAA6B,GAAG,EAAM,QAAQ,IAAI,EAAa,MAAM,GAAG,CAExE,GAAA,EAAA,EAAA,cACJ,EAAM,QAAQ,IAAI,IAAQ,CACxB,IAAK,EAAI,IACT,MAAO,EAAI,MACX,KAAM,EAAI,eAAA,EAAA,EAAA,GACE,EAAA,EAAQ,CAAE,KAAM,EAAI,UAAW,KAAM,GAAI,CAAC,CAClD,IAAA,GACL,EAAE,CACJ,CAEK,EAAwB,GAAgB,CACxC,IAAQ,EAAM,aAClB,EAAK,oBAAqB,EAAI,CAC9B,EAAK,SAAU,EAAI,iEA7DV,EAAA,SAAA,CAAA,CAtBT,UAAU,SACV,QAAQ,UAEG,SAAA,EAAA,EAAA,aAgBG,EAAA,EAAA,EAAA,cAAA,EAAA,EAAA,OAAA,EAAA,UAAA,CAAA,CAdV,KAAK,QACL,QAAQ,QACP,QAAS,EAAA,MACT,MAAOA,EAAAA,WACP,SAAQ,8BASC,EAAA,EAAA,EAAA,cAAA,EAAA,EAAA,OAAA,EAAA,QAAA,CAAA,CAPD,KAAA,GAAI,CAAA,2BAML,EAAA,EAAA,EAAA,oBAAA,MALN,EAKM,EAAA,EAAA,EAAA,aADF,EAAA,EAAA,CAFA,KAAK,eACJ,KAAM,yEAMa,EAAA,EAAA,EAAA,oBAAA,OAAA,MAAA,EAAA,EAAA,iBAArB,EAAA,MAAW,CAAA,EAAA,CAAA,CAAA"}
|
package/dist/C_Language2.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./C_Icon2.js";import{NButton as t,NDropdown as n}from"naive-ui";import{computed as
|
|
1
|
+
import{t as e}from"./C_Icon2.js";import{NButton as t,NDropdown as n,NTooltip as r}from"naive-ui";import{computed as i,createBlock as a,createElementVNode as o,createVNode as s,defineComponent as c,h as l,openBlock as u,toDisplayString as d,unref as f,withCtx as p}from"vue";const m={class:`flex items-center`};var h=c({name:`C_Language`,__name:`index`,props:{modelValue:{default:`zh-cn`},options:{default:()=>[{key:`zh-cn`,label:`简体中文`,iconClass:`mdi:alpha-c`},{key:`en`,label:`English`,iconClass:`mdi:alpha-u`},{key:`ja`,label:`日本語`,iconClass:`mdi:alpha-j`},{key:`ko`,label:`한국어`,iconClass:`mdi:alpha-k`}]},tooltip:{default:`语言切换`}},emits:[`update:modelValue`,`change`],setup(c,{emit:h}){let g=c,_=h,v=i(()=>g.options.find(e=>e.key===g.modelValue)?.label??g.modelValue),y=i(()=>`${g.tooltip} (${v.value})`),b=i(()=>g.options.map(t=>({key:t.key,label:t.label,icon:t.iconClass?()=>l(e,{name:t.iconClass,size:16}):void 0}))),x=e=>{e!==g.modelValue&&(_(`update:modelValue`,e),_(`change`,e))};return(i,c)=>(u(),a(f(r),{placement:`bottom`,trigger:`hover`},{trigger:p(()=>[s(f(n),{size:`small`,trigger:`hover`,options:b.value,value:i.modelValue,onSelect:x},{default:p(()=>[s(f(t),{text:``},{default:p(()=>[o(`div`,m,[s(e,{name:`mdi:language`,size:18})])]),_:1})]),_:1},8,[`options`,`value`])]),default:p(()=>[o(`span`,null,d(y.value),1)]),_:1}))}});export{h as t};
|
|
2
2
|
//# sourceMappingURL=C_Language2.js.map
|
package/dist/C_Language2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C_Language2.js","names":["modelValue"],"sources":["../src/components/C_Language/index.vue","../src/components/C_Language/index.vue","../src/components/C_Language/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NDropdown\r\n
|
|
1
|
+
{"version":3,"file":"C_Language2.js","names":["modelValue"],"sources":["../src/components/C_Language/index.vue","../src/components/C_Language/index.vue","../src/components/C_Language/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-11-19\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 <NTooltip\r\n placement=\"bottom\"\r\n trigger=\"hover\"\r\n >\r\n <template #trigger>\r\n <NDropdown\r\n size=\"small\"\r\n trigger=\"hover\"\r\n :options=\"finalOptions\"\r\n :value=\"modelValue\"\r\n @select=\"handleLanguageChange\"\r\n >\r\n <NButton text>\r\n <div class=\"flex items-center\">\r\n <C_Icon\r\n name=\"mdi:language\"\r\n :size=\"18\"\r\n />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n </template>\r\n <span>{{ tooltipText }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n import { computed, h } from 'vue'\r\n import { NDropdown, NButton, NTooltip } from 'naive-ui'\r\n import C_Icon from '../C_Icon/index.vue'\r\n\r\n defineOptions({ name: 'C_Language' })\r\n\r\n export interface LanguageOption {\r\n key: string\r\n label: string\r\n iconClass?: string\r\n }\r\n\r\n const props = withDefaults(\r\n defineProps<{\r\n modelValue?: string\r\n options?: LanguageOption[]\r\n /** Tooltip 文案,默认 \"语言切换\" */\r\n tooltip?: string\r\n }>(),\r\n {\r\n modelValue: 'zh-cn',\r\n tooltip: '语言切换',\r\n options: () => [\r\n { key: 'zh-cn', label: '简体中文', iconClass: 'mdi:alpha-c' },\r\n { key: 'en', label: 'English', iconClass: 'mdi:alpha-u' },\r\n { key: 'ja', label: '日本語', iconClass: 'mdi:alpha-j' },\r\n { key: 'ko', label: '한국어', iconClass: 'mdi:alpha-k' },\r\n ],\r\n }\r\n )\r\n\r\n const emit = defineEmits<{\r\n 'update:modelValue': [key: string]\r\n change: [key: string]\r\n }>()\r\n\r\n /** 当前语言显示名 */\r\n const currentLabel = computed(() => {\r\n const opt = props.options.find(o => o.key === props.modelValue)\r\n return opt?.label ?? props.modelValue\r\n })\r\n\r\n const tooltipText = computed(() => `${props.tooltip} (${currentLabel.value})`)\r\n\r\n const finalOptions = computed(() =>\r\n props.options.map(opt => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass\r\n ? () => h(C_Icon, { name: opt.iconClass, size: 16 })\r\n : undefined,\r\n }))\r\n )\r\n\r\n const handleLanguageChange = (key: string) => {\r\n if (key === props.modelValue) return\r\n emit('update:modelValue', key)\r\n emit('change', key)\r\n }\r\n</script>\r\n"],"mappings":"irBE+CE,IAAM,EAAQ,EAmBR,EAAO,EAMP,EAAe,MACP,EAAM,QAAQ,KAAK,GAAK,EAAE,MAAQ,EAAM,WAAW,EACnD,OAAS,EAAM,WAC3B,CAEI,EAAc,MAAe,GAAG,EAAM,QAAQ,IAAI,EAAa,MAAM,GAAG,CAExE,EAAe,MACnB,EAAM,QAAQ,IAAI,IAAQ,CACxB,IAAK,EAAI,IACT,MAAO,EAAI,MACX,KAAM,EAAI,cACA,EAAE,EAAQ,CAAE,KAAM,EAAI,UAAW,KAAM,GAAI,CAAC,CAClD,IAAA,GACL,EAAE,CACJ,CAEK,EAAwB,GAAgB,CACxC,IAAQ,EAAM,aAClB,EAAK,oBAAqB,EAAI,CAC9B,EAAK,SAAU,EAAI,qBApFrB,EAuBW,EAAA,EAAA,CAAA,CAtBT,UAAU,SACV,QAAQ,UAEG,QAAO,MAgBJ,CAfZ,EAeY,EAAA,EAAA,CAAA,CAdV,KAAK,QACL,QAAQ,QACP,QAAS,EAAA,MACT,MAAOA,EAAAA,WACP,SAAQ,kBASC,CAPV,EAOU,EAAA,EAAA,CAAA,CAPD,KAAA,GAAI,CAAA,eAML,CALN,EAKM,MALN,EAKM,CAJJ,EAGE,EAAA,CAFA,KAAK,eACJ,KAAM,6DAMa,CAA9B,EAA8B,OAAA,KAAA,EAArB,EAAA,MAAW,CAAA,EAAA,CAAA,CAAA"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -120,11 +120,11 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
120
120
|
}>, {
|
|
121
121
|
modelValue: string;
|
|
122
122
|
disabled: boolean;
|
|
123
|
+
height: string | number;
|
|
124
|
+
showPreview: boolean;
|
|
123
125
|
previewCount: number;
|
|
124
126
|
showTemplates: boolean;
|
|
125
|
-
showPreview: boolean;
|
|
126
127
|
showSecond: boolean;
|
|
127
|
-
height: string | number;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
|
130
130
|
//#endregion
|
package/dist/constants2.d.ts
CHANGED
|
@@ -121,10 +121,10 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
|
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
modelValue: string;
|
|
124
|
+
placeholder: string;
|
|
124
125
|
disabled: boolean;
|
|
125
|
-
showPreview: boolean;
|
|
126
126
|
height: string | number;
|
|
127
|
-
|
|
127
|
+
showPreview: boolean;
|
|
128
128
|
variables: FormulaVariable[];
|
|
129
129
|
functions: FormulaFunction[];
|
|
130
130
|
sampleData: Record<string, number | string | boolean>;
|
package/dist/constants3.d.ts
CHANGED
|
@@ -151,8 +151,8 @@ interface NotificationCenterExpose {
|
|
|
151
151
|
//#region src/components/C_NotificationCenter/index.vue.d.ts
|
|
152
152
|
declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
153
153
|
delete: (ids: string[]) => any;
|
|
154
|
-
read: (ids: string[]) => any;
|
|
155
154
|
itemClick: (message: NotificationMessage) => any;
|
|
155
|
+
read: (ids: string[]) => any;
|
|
156
156
|
allRead: (category?: NotificationCategory | undefined) => any;
|
|
157
157
|
unreadChange: (count: number) => any;
|
|
158
158
|
wsStatusChange: (status: string) => any;
|
|
@@ -160,19 +160,19 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
|
|
|
160
160
|
navigate: (url: string) => any;
|
|
161
161
|
}, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
|
|
162
162
|
onDelete?: ((ids: string[]) => any) | undefined;
|
|
163
|
-
onRead?: ((ids: string[]) => any) | undefined;
|
|
164
163
|
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
164
|
+
onRead?: ((ids: string[]) => any) | undefined;
|
|
165
165
|
onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
|
|
166
166
|
onUnreadChange?: ((count: number) => any) | undefined;
|
|
167
167
|
onWsStatusChange?: ((status: string) => any) | undefined;
|
|
168
168
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
169
169
|
onNavigate?: ((url: string) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
|
+
pageSize: number;
|
|
172
|
+
storageKey: string;
|
|
171
173
|
desktopNotification: boolean;
|
|
172
174
|
maxBadgeCount: number;
|
|
173
175
|
pollingInterval: number;
|
|
174
|
-
pageSize: number;
|
|
175
|
-
storageKey: string;
|
|
176
176
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
177
177
|
declare const _default: typeof __VLS_export;
|
|
178
178
|
//#endregion
|
|
@@ -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
|
@@ -197,28 +197,28 @@ type __VLS_Slots = {} & {
|
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
199
|
change: (fileList: UploadFileItem[]) => any;
|
|
200
|
-
error: (file: UploadFileItem, error: Error) => any;
|
|
201
200
|
success: (file: UploadFileItem, response: any) => any;
|
|
201
|
+
error: (file: UploadFileItem, error: Error) => 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
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
|
-
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
209
208
|
onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
|
|
209
|
+
onError?: ((file: UploadFileItem, error: Error) => 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
215
|
disabled: boolean;
|
|
216
|
+
multiple: boolean;
|
|
217
|
+
draggable: boolean;
|
|
216
218
|
data: Record<string, any>;
|
|
217
219
|
maxSize: number;
|
|
218
|
-
draggable: boolean;
|
|
219
220
|
action: string;
|
|
220
221
|
headers: Record<string, string>;
|
|
221
|
-
multiple: boolean;
|
|
222
222
|
directory: boolean;
|
|
223
223
|
accept: string;
|
|
224
224
|
maxCount: number;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -259,8 +259,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
259
259
|
//#endregion
|
|
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
|
-
ready: () => any;
|
|
263
262
|
error: (error: Error) => any;
|
|
263
|
+
ready: () => any;
|
|
264
264
|
ended: () => any;
|
|
265
265
|
stateChange: (state: PlayerState) => any;
|
|
266
266
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
@@ -272,8 +272,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
272
272
|
chapterChange: (chapter: Chapter) => any;
|
|
273
273
|
progressUpdate: (data: ProgressData) => any;
|
|
274
274
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
275
|
-
onReady?: (() => any) | undefined;
|
|
276
275
|
onError?: ((error: Error) => any) | undefined;
|
|
276
|
+
onReady?: (() => any) | undefined;
|
|
277
277
|
onEnded?: (() => any) | undefined;
|
|
278
278
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
279
279
|
onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
63
63
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
64
64
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
config: ActionBarConfig;
|
|
67
66
|
actions: ActionItem[];
|
|
68
67
|
leftActions: ActionItem[];
|
|
69
68
|
rightActions: ActionItem[];
|
|
69
|
+
config: ActionBarConfig;
|
|
70
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
71
71
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
72
72
|
declare const _default: typeof __VLS_export;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -41,29 +41,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
41
41
|
errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
|
|
42
42
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
43
43
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
44
|
-
click: (event: MouseEvent) => any;
|
|
45
44
|
error: (type: string, error?: any) => any;
|
|
45
|
+
click: (event: MouseEvent) => any;
|
|
46
46
|
load: () => any;
|
|
47
47
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
48
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
49
48
|
onError?: ((type: string, error?: any) => any) | undefined;
|
|
49
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
|
-
title: string;
|
|
54
|
-
size: number | string;
|
|
55
53
|
name: string | any;
|
|
54
|
+
size: number | string;
|
|
56
55
|
color: string;
|
|
57
|
-
flip: "horizontal" | "vertical" | "both";
|
|
58
|
-
clickable: boolean;
|
|
59
56
|
loading: boolean;
|
|
57
|
+
flip: "horizontal" | "vertical" | "both";
|
|
58
|
+
title: string;
|
|
59
|
+
rotate: number;
|
|
60
60
|
svgPath: string;
|
|
61
61
|
viewBox: string;
|
|
62
62
|
alt: string;
|
|
63
|
+
clickable: boolean;
|
|
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/index12.vue.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ interface LanguageOption {
|
|
|
8
8
|
}
|
|
9
9
|
type __VLS_Props = {
|
|
10
10
|
modelValue?: string;
|
|
11
|
-
options?: LanguageOption[];
|
|
11
|
+
options?: LanguageOption[]; /** Tooltip 文案,默认 "语言切换" */
|
|
12
|
+
tooltip?: string;
|
|
12
13
|
};
|
|
13
14
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
14
15
|
"update:modelValue": (key: string) => any;
|
|
@@ -19,6 +20,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
19
20
|
}>, {
|
|
20
21
|
modelValue: string;
|
|
21
22
|
options: LanguageOption[];
|
|
23
|
+
tooltip: string;
|
|
22
24
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
23
25
|
declare const _default: typeof __VLS_export;
|
|
24
26
|
//#endregion
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -59,11 +59,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
modelValue: string;
|
|
62
|
+
placeholder: string;
|
|
62
63
|
disabled: boolean;
|
|
63
64
|
height: string | number;
|
|
64
|
-
mode: "edit" | "editable" | "preview";
|
|
65
|
-
placeholder: string;
|
|
66
65
|
isDark: boolean;
|
|
66
|
+
autoSave: boolean;
|
|
67
|
+
mode: "edit" | "editable" | "preview";
|
|
67
68
|
tocNavPosition: "left" | "right";
|
|
68
69
|
defaultFullscreen: boolean;
|
|
69
70
|
autofocus: boolean;
|
|
@@ -72,7 +73,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
72
73
|
rightToolbar: string;
|
|
73
74
|
maxLength: number;
|
|
74
75
|
showWordCount: boolean;
|
|
75
|
-
autoSave: boolean;
|
|
76
76
|
autoSaveInterval: number;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
package/dist/index15.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/index16.vue.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
24
24
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
direction: "horizontal" | "vertical";
|
|
27
|
-
current: number;
|
|
28
27
|
clickable: boolean;
|
|
28
|
+
current: number;
|
|
29
29
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
//#endregion
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
|
76
76
|
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
77
77
|
onCloseAll?: (() => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
-
persistKey: string;
|
|
80
79
|
homePath: string;
|
|
81
80
|
homeTitle: string;
|
|
82
81
|
homeIcon: string;
|
|
82
|
+
persistKey: string;
|
|
83
83
|
contextMenuLabels: ContextMenuLabels;
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -647,12 +647,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
+
theme: "light" | "dark";
|
|
651
|
+
options: GanttOptions;
|
|
650
652
|
height: string | number;
|
|
651
653
|
title: string;
|
|
652
|
-
options: GanttOptions;
|
|
653
654
|
data: GanttTask[];
|
|
654
655
|
showToolbar: boolean;
|
|
655
|
-
theme: "light" | "dark";
|
|
656
656
|
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -20,16 +20,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
|
|
23
|
+
label: string;
|
|
24
24
|
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
fontSize: number;
|
|
25
27
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
26
28
|
showText: boolean;
|
|
27
|
-
fontSize: number;
|
|
28
29
|
textPosition: "bottom" | "top";
|
|
29
30
|
lineColor: string;
|
|
30
31
|
background: string;
|
|
31
32
|
showBorder: boolean;
|
|
32
|
-
label: string;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -19,20 +19,20 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
19
19
|
show: () => void;
|
|
20
20
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
21
21
|
change: (valid: boolean) => any;
|
|
22
|
-
reset: () => any;
|
|
23
22
|
success: (data: {
|
|
24
23
|
token: string;
|
|
25
24
|
timestamp: number;
|
|
26
25
|
}) => any;
|
|
27
26
|
fail: (error: string) => any;
|
|
27
|
+
reset: () => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
29
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
30
|
-
onReset?: (() => any) | undefined;
|
|
31
30
|
onSuccess?: ((data: {
|
|
32
31
|
token: string;
|
|
33
32
|
timestamp: number;
|
|
34
33
|
}) => any) | undefined;
|
|
35
34
|
onFail?: ((error: string) => any) | undefined;
|
|
35
|
+
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
disabled: boolean;
|
|
38
38
|
theme: "light" | "dark";
|
package/dist/index7.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/index8.vue.d.ts
CHANGED
|
@@ -39,9 +39,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
39
39
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
40
40
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
|
+
placeholder: string;
|
|
42
43
|
disabled: boolean;
|
|
43
44
|
mode: DatePickerMode;
|
|
44
|
-
placeholder: string;
|
|
45
45
|
startPlaceholder: string;
|
|
46
46
|
endPlaceholder: string;
|
|
47
47
|
disabledBeforeToday: boolean;
|
package/dist/index9.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
|
modelValue: string;
|
|
32
|
+
placeholder: string;
|
|
32
33
|
disabled: boolean;
|
|
34
|
+
theme: "light" | "dark";
|
|
33
35
|
height: number;
|
|
34
36
|
readonly: boolean;
|
|
35
|
-
theme: "light" | "dark";
|
|
36
|
-
placeholder: string;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
//#endregion
|
|
@@ -66,8 +66,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
|
|
|
66
66
|
}) => any) | undefined;
|
|
67
67
|
"onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
-
editable: boolean;
|
|
70
69
|
initialView: CalendarViewType;
|
|
70
|
+
editable: boolean;
|
|
71
71
|
events: CalendarEvent[];
|
|
72
72
|
showAddDialog: boolean;
|
|
73
73
|
showEditDialog: boolean;
|
|
@@ -69,22 +69,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
|
|
|
69
69
|
type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
|
|
70
70
|
declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
71
71
|
change: (activeKeys: string[]) => any;
|
|
72
|
-
"update:activeKeys": (keys: string[]) => any;
|
|
73
|
-
expand: (key: string) => any;
|
|
74
72
|
collapse: (key: string) => any;
|
|
73
|
+
expand: (key: string) => any;
|
|
74
|
+
"update:activeKeys": (keys: string[]) => any;
|
|
75
75
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
76
76
|
onChange?: ((activeKeys: string[]) => any) | undefined;
|
|
77
|
-
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
78
|
-
onExpand?: ((key: string) => any) | undefined;
|
|
79
77
|
onCollapse?: ((key: string) => any) | undefined;
|
|
78
|
+
onExpand?: ((key: string) => any) | undefined;
|
|
79
|
+
"onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
|
+
bordered: boolean;
|
|
82
|
+
persistKey: string;
|
|
81
83
|
activeKeys: string[];
|
|
82
84
|
defaultActiveKeys: string[];
|
|
83
85
|
accordion: boolean;
|
|
84
86
|
variant: CollapsePanelVariant;
|
|
85
87
|
expandIconPosition: ExpandIconPosition;
|
|
86
|
-
bordered: boolean;
|
|
87
|
-
persistKey: string;
|
|
88
88
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
89
89
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
90
90
|
declare const _default: typeof __VLS_export;
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -51,28 +51,28 @@ interface ImageCropperEmits {
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/C_ImageCropper/index.vue.d.ts
|
|
53
53
|
declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
-
ready: () => any;
|
|
55
54
|
error: (error: Event) => any;
|
|
55
|
+
ready: () => any;
|
|
56
56
|
cancel: () => any;
|
|
57
57
|
crop: (result: any) => any;
|
|
58
58
|
confirm: (result: any) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
|
|
60
|
-
onReady?: (() => any) | undefined;
|
|
61
60
|
onError?: ((error: Event) => any) | undefined;
|
|
61
|
+
onReady?: (() => any) | undefined;
|
|
62
62
|
onCancel?: (() => any) | undefined;
|
|
63
63
|
onCrop?: ((result: any) => any) | undefined;
|
|
64
64
|
onConfirm?: ((result: any) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
disabled: boolean;
|
|
67
|
-
showPreview: boolean;
|
|
68
67
|
height: string | number;
|
|
69
68
|
showToolbar: boolean;
|
|
70
|
-
src: string;
|
|
71
69
|
aspectRatio: number;
|
|
70
|
+
src: string;
|
|
72
71
|
outputFormat: CropOutputFormat;
|
|
73
72
|
outputQuality: number;
|
|
74
73
|
maxOutputWidth: number;
|
|
75
74
|
maxOutputHeight: number;
|
|
75
|
+
showPreview: boolean;
|
|
76
76
|
circular: boolean;
|
|
77
77
|
modal: boolean;
|
|
78
78
|
modalTitle: string;
|
|
@@ -116,13 +116,12 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
sort: boolean;
|
|
120
119
|
modelValue: DraggableItem[];
|
|
120
|
+
sort: boolean;
|
|
121
121
|
disabled: boolean;
|
|
122
|
-
|
|
122
|
+
delay: number;
|
|
123
123
|
group: string | GroupOptions;
|
|
124
124
|
animation: number;
|
|
125
|
-
delay: number;
|
|
126
125
|
handle: string;
|
|
127
126
|
showHandle: boolean;
|
|
128
127
|
ghostClass: string;
|
|
@@ -135,6 +134,7 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
135
134
|
emptyText: string;
|
|
136
135
|
swapThreshold: number;
|
|
137
136
|
invertSwap: boolean;
|
|
137
|
+
direction: "vertical" | "horizontal";
|
|
138
138
|
layout: LayoutMode;
|
|
139
139
|
gridColumns: number;
|
|
140
140
|
gridRows: number;
|
|
@@ -429,14 +429,14 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
|
|
|
429
429
|
shouldShowDefaultActions: vue.ComputedRef<boolean>;
|
|
430
430
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
431
431
|
"update:modelValue": (model: Record<string, any>) => any;
|
|
432
|
-
"validate-error": (errors: unknown) => any;
|
|
433
432
|
submit: (payload: SubmitEventPayload) => any;
|
|
434
433
|
"validate-success": (model: Record<string, any>) => any;
|
|
434
|
+
"validate-error": (errors: unknown) => any;
|
|
435
435
|
}, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
|
|
436
436
|
"onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
|
|
437
|
-
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
438
437
|
onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
|
|
439
438
|
"onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
|
|
439
|
+
"onValidate-error"?: ((errors: unknown) => any) | undefined;
|
|
440
440
|
}>, {
|
|
441
441
|
config: FormConfig;
|
|
442
442
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1295,7 +1295,6 @@ declare const useDynamicFormState: () => {
|
|
|
1295
1295
|
readonly placeholder?: string | undefined;
|
|
1296
1296
|
readonly rules?: readonly {
|
|
1297
1297
|
readonly type?: RuleType | undefined;
|
|
1298
|
-
readonly required?: boolean | undefined;
|
|
1299
1298
|
readonly options?: {
|
|
1300
1299
|
readonly suppressWarning?: boolean | undefined;
|
|
1301
1300
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -1351,12 +1350,12 @@ declare const useDynamicFormState: () => {
|
|
|
1351
1350
|
readonly keys?: readonly string[] | undefined;
|
|
1352
1351
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1353
1352
|
} | undefined;
|
|
1354
|
-
readonly level?: "warning" | "error" | undefined;
|
|
1355
|
-
readonly key?: string | undefined;
|
|
1356
1353
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1357
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1358
|
-
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1359
1354
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1355
|
+
readonly key?: string | undefined;
|
|
1356
|
+
readonly required?: boolean | undefined;
|
|
1357
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1358
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1360
1359
|
readonly min?: number | undefined;
|
|
1361
1360
|
readonly max?: number | undefined;
|
|
1362
1361
|
readonly len?: number | undefined;
|
|
@@ -1931,6 +1930,7 @@ declare const useDynamicFormState: () => {
|
|
|
1931
1930
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
1932
1931
|
}[] | undefined;
|
|
1933
1932
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
1933
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
1934
1934
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
1935
1935
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
1936
1936
|
}[] | undefined;
|
|
@@ -3572,7 +3572,6 @@ declare const useDynamicFormState: () => {
|
|
|
3572
3572
|
} | undefined;
|
|
3573
3573
|
readonly rules?: readonly {
|
|
3574
3574
|
readonly type?: RuleType | undefined;
|
|
3575
|
-
readonly required?: boolean | undefined;
|
|
3576
3575
|
readonly options?: {
|
|
3577
3576
|
readonly suppressWarning?: boolean | undefined;
|
|
3578
3577
|
readonly suppressValidatorError?: boolean | undefined;
|
|
@@ -3628,12 +3627,12 @@ declare const useDynamicFormState: () => {
|
|
|
3628
3627
|
readonly keys?: readonly string[] | undefined;
|
|
3629
3628
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3630
3629
|
} | undefined;
|
|
3631
|
-
readonly level?: "warning" | "error" | undefined;
|
|
3632
|
-
readonly key?: string | undefined;
|
|
3633
3630
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3634
|
-
readonly message?: string | ((a?: string) => string) | undefined;
|
|
3635
|
-
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3636
3631
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3632
|
+
readonly key?: string | undefined;
|
|
3633
|
+
readonly required?: boolean | undefined;
|
|
3634
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3635
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3637
3636
|
readonly min?: number | undefined;
|
|
3638
3637
|
readonly max?: number | undefined;
|
|
3639
3638
|
readonly len?: number | undefined;
|
|
@@ -4208,6 +4207,7 @@ declare const useDynamicFormState: () => {
|
|
|
4208
4207
|
readonly validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
|
4209
4208
|
}[] | undefined;
|
|
4210
4209
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4210
|
+
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4211
4211
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4212
4212
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4213
4213
|
}[] | undefined;
|
|
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: any) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
-
|
|
262
|
+
theme: "light" | "dark";
|
|
263
263
|
width: string | number;
|
|
264
|
+
height: string | number;
|
|
264
265
|
readonly: boolean;
|
|
265
266
|
showToolbar: boolean;
|
|
266
|
-
theme: "light" | "dark";
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
269
269
|
//#endregion
|
|
@@ -89,14 +89,14 @@ declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {
|
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
columns: number;
|
|
93
|
-
gap: number;
|
|
94
92
|
loading: boolean;
|
|
95
|
-
|
|
93
|
+
gap: number;
|
|
94
|
+
columns: number;
|
|
95
|
+
animationDuration: number;
|
|
96
96
|
infinite: boolean;
|
|
97
|
+
lazy: boolean;
|
|
97
98
|
skeleton: boolean;
|
|
98
99
|
skeletonCount: number;
|
|
99
|
-
animationDuration: number;
|
|
100
100
|
breakpoints: WaterFallBreakpoint[];
|
|
101
101
|
noMore: boolean;
|
|
102
102
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -590,6 +590,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
590
590
|
clearAllSelections(): void;
|
|
591
591
|
};
|
|
592
592
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
593
|
+
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
593
594
|
"pagination-change": (...args: unknown[]) => any;
|
|
594
595
|
"row-delete": (...args: unknown[]) => any;
|
|
595
596
|
"expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
|
|
@@ -598,7 +599,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
598
599
|
"parent-child-link-change": (parentKey: DataTableRowKey$1, shouldSelect: boolean) => any;
|
|
599
600
|
"update:data": (data: DataRecord[]) => any;
|
|
600
601
|
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
601
|
-
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
602
602
|
"row-add": (newRow: DataRecord) => any;
|
|
603
603
|
"row-copy": (originalRow: DataRecord, newRow: DataRecord) => any;
|
|
604
604
|
"row-move": (row: DataRecord, fromIndex: number, toIndex: number) => any;
|
|
@@ -606,6 +606,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
606
606
|
"view-detail": (data: DataRecord) => any;
|
|
607
607
|
"column-change": (columns: TableColumn[]) => any;
|
|
608
608
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
609
|
+
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
609
610
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
610
611
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
611
612
|
"onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
|
|
@@ -614,7 +615,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
614
615
|
"onParent-child-link-change"?: ((parentKey: DataTableRowKey$1, shouldSelect: boolean) => any) | undefined;
|
|
615
616
|
"onUpdate:data"?: ((data: DataRecord[]) => any) | undefined;
|
|
616
617
|
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
617
|
-
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
618
618
|
"onRow-add"?: ((newRow: DataRecord) => any) | undefined;
|
|
619
619
|
"onRow-copy"?: ((originalRow: DataRecord, newRow: DataRecord) => any) | undefined;
|
|
620
620
|
"onRow-move"?: ((row: DataRecord, fromIndex: number, toIndex: number) => any) | undefined;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,15 +50,15 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
|
|
53
|
+
label: string;
|
|
54
54
|
size: number;
|
|
55
|
+
color: string;
|
|
55
56
|
showBorder: boolean;
|
|
56
|
-
label: string;
|
|
57
57
|
showLabel: boolean;
|
|
58
|
-
|
|
58
|
+
margin: number;
|
|
59
|
+
mode: RenderMode;
|
|
59
60
|
bgColor: string;
|
|
60
61
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
61
|
-
margin: number;
|
|
62
62
|
logo: LogoOptions;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -55,16 +55,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
55
55
|
cleanFn: () => void;
|
|
56
56
|
changeFoldState: () => void;
|
|
57
57
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
reset: () => any;
|
|
59
58
|
search: (params: SearchFormParams) => any;
|
|
59
|
+
reset: () => any;
|
|
60
60
|
"change-params": (params: SearchFormParams) => any;
|
|
61
61
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
62
|
-
onReset?: (() => any) | undefined;
|
|
63
62
|
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
63
|
+
onReset?: (() => any) | undefined;
|
|
64
64
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
bordered: boolean;
|
|
67
66
|
size: "small" | "medium" | "large";
|
|
67
|
+
bordered: boolean;
|
|
68
68
|
formItemList: SearchFormItem[];
|
|
69
69
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
70
70
|
declare const _default: typeof __VLS_export;
|
|
@@ -108,8 +108,8 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
108
108
|
onRedo?: (() => any) | undefined;
|
|
109
109
|
}>, {
|
|
110
110
|
disabled: boolean;
|
|
111
|
-
height: number | string;
|
|
112
111
|
width: number | string;
|
|
112
|
+
height: number | string;
|
|
113
113
|
readonly: boolean;
|
|
114
114
|
showToolbar: boolean;
|
|
115
115
|
maxHistory: number;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -66,21 +66,21 @@ type __VLS_Slots = {} & {
|
|
|
66
66
|
second?: (props: typeof __VLS_13) => any;
|
|
67
67
|
};
|
|
68
68
|
declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
69
|
-
expand: (target: CollapseTarget) => any;
|
|
70
|
-
collapse: (target: CollapseTarget) => any;
|
|
71
|
-
resize: (firstSize: number, secondSize: number) => any;
|
|
72
69
|
"drag-start": (size: number) => any;
|
|
73
70
|
"drag-end": (size: number) => any;
|
|
71
|
+
resize: (firstSize: number, secondSize: number) => any;
|
|
72
|
+
collapse: (target: CollapseTarget) => any;
|
|
73
|
+
expand: (target: CollapseTarget) => any;
|
|
74
74
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
75
|
-
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
76
|
-
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
77
|
-
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
78
75
|
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
79
76
|
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
77
|
+
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
78
|
+
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
79
|
+
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
81
|
disabled: boolean;
|
|
82
|
-
step: number;
|
|
83
82
|
direction: SplitDirection;
|
|
83
|
+
step: number;
|
|
84
84
|
defaultSize: number;
|
|
85
85
|
minSize: number;
|
|
86
86
|
maxSize: number;
|
|
@@ -48,11 +48,12 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
48
48
|
"onChange-start"?: ((time: number | null) => any) | undefined;
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
|
-
mode: TimeMode;
|
|
52
51
|
placeholder: string;
|
|
52
|
+
format: string;
|
|
53
|
+
attrs: Record<string, any>;
|
|
54
|
+
mode: TimeMode;
|
|
53
55
|
startPlaceholder: string;
|
|
54
56
|
endPlaceholder: string;
|
|
55
|
-
format: string;
|
|
56
57
|
useHours: boolean;
|
|
57
58
|
useMinutes: boolean;
|
|
58
59
|
useSeconds: boolean;
|
|
@@ -61,7 +62,6 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
61
62
|
secondStep: number;
|
|
62
63
|
startTimeProps: Record<string, any>;
|
|
63
64
|
endTimeProps: Record<string, any>;
|
|
64
|
-
attrs: Record<string, any>;
|
|
65
65
|
defaultStartTime: number | null;
|
|
66
66
|
defaultEndTime: number | null;
|
|
67
67
|
defaultSingleTime: number | null;
|
|
@@ -91,24 +91,24 @@ type __VLS_Slots = {} & {
|
|
|
91
91
|
};
|
|
92
92
|
declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
93
93
|
add: (parentNode?: TreeNodeData | undefined) => any;
|
|
94
|
-
refresh: () => any;
|
|
95
94
|
"node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
|
|
96
95
|
"node-action": (action: string, node: TreeNodeData) => any;
|
|
97
96
|
"node-drop": (info: DropInfo) => any;
|
|
97
|
+
refresh: () => any;
|
|
98
98
|
}, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
|
|
99
99
|
onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
|
|
100
|
-
onRefresh?: (() => any) | undefined;
|
|
101
100
|
"onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
|
|
102
101
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
102
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
103
|
+
onRefresh?: (() => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
mode: TreeMode;
|
|
106
|
-
showToolbar: boolean;
|
|
107
|
-
draggable: boolean;
|
|
108
105
|
labelField: string;
|
|
109
|
-
keyField: string;
|
|
110
106
|
childrenField: string;
|
|
107
|
+
draggable: boolean;
|
|
111
108
|
actions: ActionConfig[];
|
|
109
|
+
showToolbar: boolean;
|
|
110
|
+
mode: TreeMode;
|
|
111
|
+
keyField: string;
|
|
112
112
|
searchPattern: string;
|
|
113
113
|
searchable: boolean;
|
|
114
114
|
searchPlaceholder: string;
|
|
@@ -239,20 +239,20 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
240
|
"update:modelValue": (value: WorkflowData) => any;
|
|
241
241
|
change: (value: WorkflowData) => any;
|
|
242
|
+
"validate-error": (errors: ValidationError[]) => any;
|
|
242
243
|
save: (data: WorkflowData) => any;
|
|
243
244
|
"node-click": (node: WorkflowNode) => any;
|
|
244
245
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
245
|
-
"validate-error": (errors: ValidationError[]) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
247
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
248
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
249
|
+
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
249
250
|
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
250
251
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
251
252
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
252
|
-
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
|
-
readonly: boolean;
|
|
255
254
|
theme: "light" | "dark";
|
|
255
|
+
readonly: boolean;
|
|
256
256
|
users: User[];
|
|
257
257
|
roles: Role[];
|
|
258
258
|
departments: Department[];
|