@robot-admin/naive-ui-components 0.4.1 → 0.4.3
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_Guide.cjs +1 -0
- package/dist/C_Guide.js +1 -0
- package/dist/C_Guide2.js +8 -5
- package/dist/C_Guide2.js.map +1 -1
- package/dist/C_Language.cjs +1 -0
- package/dist/C_Language.js +1 -0
- package/dist/C_Language2.js +15 -8
- package/dist/C_Language2.js.map +1 -1
- package/dist/C_Theme.cjs +1 -0
- package/dist/C_Theme.js +1 -0
- package/dist/C_Theme2.js +10 -6
- package/dist/C_Theme2.js.map +1 -1
- package/dist/constants.d.ts +4 -4
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.ts +4 -4
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.ts +3 -3
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index11.vue.d.ts.map +1 -1
- package/dist/index12.vue.d.ts +5 -5
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index15.vue.d.ts.map +1 -1
- package/dist/index16.vue.d.ts +3 -3
- package/dist/index16.vue.d.ts.map +1 -1
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index4.vue.d.ts +2 -2
- package/dist/index5.vue.d.ts +2 -2
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.ts +4 -4
- package/dist/index7.vue.d.ts.map +1 -1
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.ts.map +1 -1
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDraggableLayout.d.ts +10 -10
- package/dist/useDynamicFormState.d.ts +4 -4
- package/dist/useDynamicFormState.d.ts.map +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useModalEdit.d.ts +6 -6
- package/dist/useModalEdit.d.ts.map +1 -1
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useQRCode.d.ts.map +1 -1
- package/dist/useSearchState.d.ts +3 -3
- package/dist/useSearchState.d.ts.map +1 -1
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTimeSelection.d.ts +3 -3
- package/dist/useTreeOperations.d.ts +5 -5
- package/dist/useWorkflowValidation.d.ts +6 -6
- package/package.json +5 -195
package/dist/C_Guide.cjs
CHANGED
package/dist/C_Guide.js
CHANGED
package/dist/C_Guide2.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as C_Icon_default } from "./C_Icon2.js";
|
|
1
2
|
import { NButton, NTooltip } from "naive-ui";
|
|
2
3
|
import { createBlock, createElementVNode, createVNode, defineComponent, openBlock, unref, withCtx } from "vue";
|
|
3
4
|
import { driver } from "driver.js";
|
|
@@ -37,13 +38,15 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
37
38
|
text: "",
|
|
38
39
|
onClick: startGuide
|
|
39
40
|
}, {
|
|
40
|
-
default: withCtx(() =>
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
default: withCtx(() => [createVNode(C_Icon_default, {
|
|
42
|
+
name: "mdi:sign-routes",
|
|
43
|
+
size: 18
|
|
44
|
+
})]),
|
|
45
|
+
_: 1
|
|
43
46
|
})]),
|
|
44
|
-
default: withCtx(() => [_cache[
|
|
47
|
+
default: withCtx(() => [_cache[0] || (_cache[0] = createElementVNode("span", null, "功能引导", -1))]),
|
|
45
48
|
_: 1,
|
|
46
|
-
__: [
|
|
49
|
+
__: [0]
|
|
47
50
|
});
|
|
48
51
|
};
|
|
49
52
|
}
|
package/dist/C_Guide2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C_Guide2.js","names":[],"sources":["../src/components/C_Guide/index.vue","../src/components/C_Guide/index.vue","../src/components/C_Guide/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 用户引导组件(基于 driver.js)\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <NTooltip placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"startGuide\">\r\n <
|
|
1
|
+
{"version":3,"file":"C_Guide2.js","names":[],"sources":["../src/components/C_Guide/index.vue","../src/components/C_Guide/index.vue","../src/components/C_Guide/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 用户引导组件(基于 driver.js)\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <NTooltip placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"startGuide\">\r\n <C_Icon name=\"mdi:sign-routes\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>功能引导</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\nimport { driver } from \"driver.js\";\r\nimport \"driver.js/dist/driver.css\";\r\n\r\ndefineOptions({ name: \"C_Guide\" });\r\n\r\nexport interface GuideStep {\r\n element: string;\r\n popover: {\r\n title: string;\r\n description: string;\r\n side?: \"top\" | \"right\" | \"bottom\" | \"left\";\r\n };\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps?: GuideStep[];\r\n doneBtnText?: string;\r\n nextBtnText?: string;\r\n prevBtnText?: string;\r\n }>(),\r\n {\r\n steps: () => [],\r\n doneBtnText: \"完成\",\r\n nextBtnText: \"下一步\",\r\n prevBtnText: \"上一步\",\r\n },\r\n);\r\n\r\nconst startGuide = () => {\r\n const driverObj = driver({\r\n popoverClass: \"driverjs-theme\",\r\n animate: true,\r\n showProgress: true,\r\n doneBtnText: props.doneBtnText,\r\n nextBtnText: props.nextBtnText,\r\n prevBtnText: props.prevBtnText,\r\n });\r\n\r\n if (props.steps.length > 0) {\r\n driverObj.setSteps(props.steps);\r\n }\r\n driverObj.drive();\r\n};\r\n\r\ndefineExpose({ startGuide });\r\n</script>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 用户引导组件(基于 driver.js)\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <NTooltip placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"startGuide\">\r\n <C_Icon name=\"mdi:sign-routes\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>功能引导</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\nimport { driver } from \"driver.js\";\r\nimport \"driver.js/dist/driver.css\";\r\n\r\ndefineOptions({ name: \"C_Guide\" });\r\n\r\nexport interface GuideStep {\r\n element: string;\r\n popover: {\r\n title: string;\r\n description: string;\r\n side?: \"top\" | \"right\" | \"bottom\" | \"left\";\r\n };\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps?: GuideStep[];\r\n doneBtnText?: string;\r\n nextBtnText?: string;\r\n prevBtnText?: string;\r\n }>(),\r\n {\r\n steps: () => [],\r\n doneBtnText: \"完成\",\r\n nextBtnText: \"下一步\",\r\n prevBtnText: \"上一步\",\r\n },\r\n);\r\n\r\nconst startGuide = () => {\r\n const driverObj = driver({\r\n popoverClass: \"driverjs-theme\",\r\n animate: true,\r\n showProgress: true,\r\n doneBtnText: props.doneBtnText,\r\n nextBtnText: props.nextBtnText,\r\n prevBtnText: props.prevBtnText,\r\n });\r\n\r\n if (props.steps.length > 0) {\r\n driverObj.setSteps(props.steps);\r\n }\r\n driverObj.drive();\r\n};\r\n\r\ndefineExpose({ startGuide });\r\n</script>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-06-01\r\n * @Description: 用户引导组件(基于 driver.js)\r\n * @Migration: naive-ui-components 组件库迁移版本\r\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\r\n-->\r\n<template>\r\n <NTooltip placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"startGuide\">\r\n <C_Icon name=\"mdi:sign-routes\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>功能引导</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\nimport { driver } from \"driver.js\";\r\nimport \"driver.js/dist/driver.css\";\r\n\r\ndefineOptions({ name: \"C_Guide\" });\r\n\r\nexport interface GuideStep {\r\n element: string;\r\n popover: {\r\n title: string;\r\n description: string;\r\n side?: \"top\" | \"right\" | \"bottom\" | \"left\";\r\n };\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n steps?: GuideStep[];\r\n doneBtnText?: string;\r\n nextBtnText?: string;\r\n prevBtnText?: string;\r\n }>(),\r\n {\r\n steps: () => [],\r\n doneBtnText: \"完成\",\r\n nextBtnText: \"下一步\",\r\n prevBtnText: \"上一步\",\r\n },\r\n);\r\n\r\nconst startGuide = () => {\r\n const driverObj = driver({\r\n popoverClass: \"driverjs-theme\",\r\n animate: true,\r\n showProgress: true,\r\n doneBtnText: props.doneBtnText,\r\n nextBtnText: props.nextBtnText,\r\n prevBtnText: props.prevBtnText,\r\n });\r\n\r\n if (props.steps.length > 0) {\r\n driverObj.setSteps(props.steps);\r\n }\r\n driverObj.drive();\r\n};\r\n\r\ndefineExpose({ startGuide });\r\n</script>\r\n"],"mappings":";;;;;;;;;;;;;;;;;ECmCA,MAAM,QAAQ;EAed,MAAM,mBAAmB;GACvB,MAAM,YAAY,OAAO;IACvB,cAAc;IACd,SAAS;IACT,cAAc;IACd,aAAa,MAAM;IACnB,aAAa,MAAM;IACnB,aAAa,MAAM;IACpB,CAAC;AAEF,OAAI,MAAM,MAAM,SAAS,EACvB,WAAU,SAAS,MAAM,MAAM;AAEjC,aAAU,OAAO;;AAGnB,WAAa,EAAE,YAAY,CAAC;;uBA1D1B,YAOW,MAAA,SAAA,EAAA;IAPD,WAAU;IAAS,SAAQ;;IACxB,SAAO,cAGN,CAFV,YAEU,MAAA,QAAA,EAAA;KAFD,MAAA;KAAM,SAAO;;4BACwB,CAA5C,YAA4C,gBAAA;MAApC,MAAK;MAAmB,MAAM;;;;2BAGzB,2BAAjB,mBAAiB,QAAA,MAAX,QAAI,GAAA"}
|
package/dist/C_Language.cjs
CHANGED
package/dist/C_Language.js
CHANGED
package/dist/C_Language2.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { t as C_Icon_default } from "./C_Icon2.js";
|
|
1
2
|
import { NButton, NDropdown } from "naive-ui";
|
|
2
3
|
import { computed, createBlock, createElementVNode, createVNode, defineComponent, h, openBlock, unref, withCtx } from "vue";
|
|
3
4
|
|
|
4
5
|
//#region src/components/C_Language/index.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
const _hoisted_1 = { class: "flex items-center" };
|
|
5
7
|
var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
6
8
|
name: "C_Language",
|
|
7
9
|
__name: "index",
|
|
@@ -11,22 +13,22 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
11
13
|
{
|
|
12
14
|
key: "zh-cn",
|
|
13
15
|
label: "简体中文",
|
|
14
|
-
iconClass: "
|
|
16
|
+
iconClass: "mdi:alpha-c"
|
|
15
17
|
},
|
|
16
18
|
{
|
|
17
19
|
key: "en",
|
|
18
20
|
label: "English",
|
|
19
|
-
iconClass: "
|
|
21
|
+
iconClass: "mdi:alpha-u"
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
24
|
key: "ja",
|
|
23
25
|
label: "日本語",
|
|
24
|
-
iconClass: "
|
|
26
|
+
iconClass: "mdi:alpha-j"
|
|
25
27
|
},
|
|
26
28
|
{
|
|
27
29
|
key: "ko",
|
|
28
30
|
label: "한국어",
|
|
29
|
-
iconClass: "
|
|
31
|
+
iconClass: "mdi:alpha-k"
|
|
30
32
|
}
|
|
31
33
|
] }
|
|
32
34
|
},
|
|
@@ -37,7 +39,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
37
39
|
const finalOptions = computed(() => props.options.map((opt) => ({
|
|
38
40
|
key: opt.key,
|
|
39
41
|
label: opt.label,
|
|
40
|
-
icon: opt.iconClass ? () => h(
|
|
42
|
+
icon: opt.iconClass ? () => h(C_Icon_default, {
|
|
43
|
+
name: opt.iconClass,
|
|
44
|
+
size: 16
|
|
45
|
+
}) : void 0
|
|
41
46
|
})));
|
|
42
47
|
const handleLanguageChange = (key) => {
|
|
43
48
|
if (key === props.modelValue) return;
|
|
@@ -53,9 +58,11 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
53
58
|
onSelect: handleLanguageChange
|
|
54
59
|
}, {
|
|
55
60
|
default: withCtx(() => [createVNode(unref(NButton), { text: "" }, {
|
|
56
|
-
default: withCtx(() =>
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(C_Icon_default, {
|
|
62
|
+
name: "mdi:language",
|
|
63
|
+
size: 18
|
|
64
|
+
})])]),
|
|
65
|
+
_: 1
|
|
59
66
|
})]),
|
|
60
67
|
_: 1
|
|
61
68
|
}, 8, ["options", "value"]);
|
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 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 <
|
|
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 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 name=\"mdi:language\" :size=\"18\" />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, h } from \"vue\";\r\nimport { NDropdown, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Language\" });\r\n\r\nexport interface LanguageOption {\r\n key: string;\r\n label: string;\r\n iconClass?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: string;\r\n options?: LanguageOption[];\r\n }>(),\r\n {\r\n modelValue: \"zh-cn\",\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\nconst emit = defineEmits<{\r\n \"update:modelValue\": [key: string];\r\n change: [key: string];\r\n}>();\r\n\r\nconst finalOptions = computed(() =>\r\n props.options.map((opt) => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass ? () => h(C_Icon, { name: opt.iconClass, size: 16 }) : undefined,\r\n })),\r\n);\r\n\r\nconst 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 <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 name=\"mdi:language\" :size=\"18\" />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, h } from \"vue\";\r\nimport { NDropdown, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Language\" });\r\n\r\nexport interface LanguageOption {\r\n key: string;\r\n label: string;\r\n iconClass?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: string;\r\n options?: LanguageOption[];\r\n }>(),\r\n {\r\n modelValue: \"zh-cn\",\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\nconst emit = defineEmits<{\r\n \"update:modelValue\": [key: string];\r\n change: [key: string];\r\n}>();\r\n\r\nconst finalOptions = computed(() =>\r\n props.options.map((opt) => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass ? () => h(C_Icon, { name: opt.iconClass, size: 16 }) : undefined,\r\n })),\r\n);\r\n\r\nconst 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 <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 name=\"mdi:language\" :size=\"18\" />\r\n </div>\r\n </NButton>\r\n </NDropdown>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, h } from \"vue\";\r\nimport { NDropdown, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Language\" });\r\n\r\nexport interface LanguageOption {\r\n key: string;\r\n label: string;\r\n iconClass?: string;\r\n}\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: string;\r\n options?: LanguageOption[];\r\n }>(),\r\n {\r\n modelValue: \"zh-cn\",\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\nconst emit = defineEmits<{\r\n \"update:modelValue\": [key: string];\r\n change: [key: string];\r\n}>();\r\n\r\nconst finalOptions = computed(() =>\r\n props.options.map((opt) => ({\r\n key: opt.key,\r\n label: opt.label,\r\n icon: opt.iconClass ? () => h(C_Icon, { name: opt.iconClass, size: 16 }) : undefined,\r\n })),\r\n);\r\n\r\nconst 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECoCA,MAAM,QAAQ;EAgBd,MAAM,OAAO;EAKb,MAAM,eAAe,eACnB,MAAM,QAAQ,KAAK,SAAS;GAC1B,KAAK,IAAI;GACT,OAAO,IAAI;GACX,MAAM,IAAI,kBAAkB,EAAE,gBAAQ;IAAE,MAAM,IAAI;IAAW,MAAM;IAAI,CAAC,GAAG;GAC5E,EAAE,CACJ;EAED,MAAM,wBAAwB,QAAgB;AAC5C,OAAI,QAAQ,MAAM,WAAY;AAC9B,QAAK,qBAAqB,IAAI;AAC9B,QAAK,UAAU,IAAI;;;uBA5DnB,YAYY,MAAA,UAAA,EAAA;IAXV,MAAK;IACL,SAAQ;IACP,SAAS,aAAA;IACT,OAAOA,KAAAA;IACP,UAAQ;;2BAMC,CAJV,YAIU,MAAA,QAAA,EAAA,EAJD,MAAA,IAAI,EAAA;4BAGL,CAFN,mBAEM,OAFN,YAEM,CADJ,YAAyC,gBAAA;MAAjC,MAAK;MAAgB,MAAM"}
|
package/dist/C_Theme.cjs
CHANGED
package/dist/C_Theme.js
CHANGED
package/dist/C_Theme2.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { t as C_Icon_default } from "./C_Icon2.js";
|
|
1
2
|
import { NButton, NTooltip } from "naive-ui";
|
|
2
|
-
import { computed, createBlock, createElementVNode, createVNode, defineComponent,
|
|
3
|
+
import { computed, createBlock, createElementVNode, createVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
3
4
|
|
|
4
5
|
//#region src/components/C_Theme/index.vue?vue&type=script&setup=true&lang.ts
|
|
5
6
|
var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10,11 +11,11 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
10
11
|
setup(__props, { emit: __emit }) {
|
|
11
12
|
const props = __props;
|
|
12
13
|
const emit = __emit;
|
|
13
|
-
const
|
|
14
|
+
const currentIconName = computed(() => {
|
|
14
15
|
switch (props.modelValue) {
|
|
15
|
-
case "light": return "
|
|
16
|
-
case "dark": return "
|
|
17
|
-
default: return "
|
|
16
|
+
case "light": return "mdi:white-balance-sunny";
|
|
17
|
+
case "dark": return "mdi:moon-and-stars";
|
|
18
|
+
default: return "mdi:sun-moon-stars";
|
|
18
19
|
}
|
|
19
20
|
});
|
|
20
21
|
const themeTooltip = computed(() => {
|
|
@@ -41,7 +42,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
41
42
|
text: "",
|
|
42
43
|
onClick: cycleThemeMode
|
|
43
44
|
}, {
|
|
44
|
-
default: withCtx(() => [
|
|
45
|
+
default: withCtx(() => [createVNode(C_Icon_default, {
|
|
46
|
+
name: currentIconName.value,
|
|
47
|
+
size: 18
|
|
48
|
+
}, null, 8, ["name"])]),
|
|
45
49
|
_: 1
|
|
46
50
|
})]),
|
|
47
51
|
default: withCtx(() => [createElementVNode("span", null, toDisplayString(themeTooltip.value), 1)]),
|
package/dist/C_Theme2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C_Theme2.js","names":[],"sources":["../src/components/C_Theme/index.vue","../src/components/C_Theme/index.vue","../src/components/C_Theme/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-05-13\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 placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"cycleThemeMode\">\r\n <
|
|
1
|
+
{"version":3,"file":"C_Theme2.js","names":[],"sources":["../src/components/C_Theme/index.vue","../src/components/C_Theme/index.vue","../src/components/C_Theme/index.vue"],"sourcesContent":["/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-05-13\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 placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"cycleThemeMode\">\r\n <C_Icon :name=\"currentIconName\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>{{ themeTooltip }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed } from \"vue\";\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Theme\" });\r\n\r\nexport type ThemeMode = \"system\" | \"light\" | \"dark\";\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: ThemeMode;\r\n }>(),\r\n { modelValue: \"system\" },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:modelValue\": [mode: ThemeMode];\r\n}>();\r\n\r\nconst currentIconName = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"mdi:white-balance-sunny\";\r\n case \"dark\":\r\n return \"mdi:moon-and-stars\";\r\n default:\r\n return \"mdi:sun-moon-stars\";\r\n }\r\n});\r\n\r\nconst themeTooltip = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"当前: 浅色模式 (点击切换)\";\r\n case \"dark\":\r\n return \"当前: 深色模式 (点击切换)\";\r\n default:\r\n return \"当前: 跟随系统 (点击切换)\";\r\n }\r\n});\r\n\r\nconst cycleThemeMode = () => {\r\n const modes: ThemeMode[] = [\"system\", \"light\", \"dark\"];\r\n const currentIndex = modes.indexOf(props.modelValue);\r\n const nextIndex = (currentIndex + 1) % modes.length;\r\n emit(\"update:modelValue\", modes[nextIndex]);\r\n};\r\n</script>\r\n","/* unplugin-vue-components disabled */<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-05-13\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 placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"cycleThemeMode\">\r\n <C_Icon :name=\"currentIconName\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>{{ themeTooltip }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed } from \"vue\";\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Theme\" });\r\n\r\nexport type ThemeMode = \"system\" | \"light\" | \"dark\";\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: ThemeMode;\r\n }>(),\r\n { modelValue: \"system\" },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:modelValue\": [mode: ThemeMode];\r\n}>();\r\n\r\nconst currentIconName = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"mdi:white-balance-sunny\";\r\n case \"dark\":\r\n return \"mdi:moon-and-stars\";\r\n default:\r\n return \"mdi:sun-moon-stars\";\r\n }\r\n});\r\n\r\nconst themeTooltip = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"当前: 浅色模式 (点击切换)\";\r\n case \"dark\":\r\n return \"当前: 深色模式 (点击切换)\";\r\n default:\r\n return \"当前: 跟随系统 (点击切换)\";\r\n }\r\n});\r\n\r\nconst cycleThemeMode = () => {\r\n const modes: ThemeMode[] = [\"system\", \"light\", \"dark\"];\r\n const currentIndex = modes.indexOf(props.modelValue);\r\n const nextIndex = (currentIndex + 1) % modes.length;\r\n emit(\"update:modelValue\", modes[nextIndex]);\r\n};\r\n</script>\r\n","<!--\r\n * @Author: ChenYu ycyplus@gmail.com\r\n * @Date: 2025-05-13\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 placement=\"bottom\" trigger=\"hover\">\r\n <template #trigger>\r\n <NButton text @click=\"cycleThemeMode\">\r\n <C_Icon :name=\"currentIconName\" :size=\"18\" />\r\n </NButton>\r\n </template>\r\n <span>{{ themeTooltip }}</span>\r\n </NTooltip>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed } from \"vue\";\r\nimport { NTooltip, NButton } from \"naive-ui\";\r\nimport C_Icon from \"../C_Icon/index.vue\";\r\n\r\ndefineOptions({ name: \"C_Theme\" });\r\n\r\nexport type ThemeMode = \"system\" | \"light\" | \"dark\";\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n modelValue?: ThemeMode;\r\n }>(),\r\n { modelValue: \"system\" },\r\n);\r\n\r\nconst emit = defineEmits<{\r\n \"update:modelValue\": [mode: ThemeMode];\r\n}>();\r\n\r\nconst currentIconName = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"mdi:white-balance-sunny\";\r\n case \"dark\":\r\n return \"mdi:moon-and-stars\";\r\n default:\r\n return \"mdi:sun-moon-stars\";\r\n }\r\n});\r\n\r\nconst themeTooltip = computed(() => {\r\n switch (props.modelValue) {\r\n case \"light\":\r\n return \"当前: 浅色模式 (点击切换)\";\r\n case \"dark\":\r\n return \"当前: 深色模式 (点击切换)\";\r\n default:\r\n return \"当前: 跟随系统 (点击切换)\";\r\n }\r\n});\r\n\r\nconst cycleThemeMode = () => {\r\n const modes: ThemeMode[] = [\"system\", \"light\", \"dark\"];\r\n const currentIndex = modes.indexOf(props.modelValue);\r\n const nextIndex = (currentIndex + 1) % modes.length;\r\n emit(\"update:modelValue\", modes[nextIndex]);\r\n};\r\n</script>\r\n"],"mappings":";;;;;;;;;;;EC2BA,MAAM,QAAQ;EAOd,MAAM,OAAO;EAIb,MAAM,kBAAkB,eAAe;AACrC,WAAQ,MAAM,YAAd;IACE,KAAK,QACH,QAAO;IACT,KAAK,OACH,QAAO;IACT,QACE,QAAO;;IAEX;EAEF,MAAM,eAAe,eAAe;AAClC,WAAQ,MAAM,YAAd;IACE,KAAK,QACH,QAAO;IACT,KAAK,OACH,QAAO;IACT,QACE,QAAO;;IAEX;EAEF,MAAM,uBAAuB;GAC3B,MAAM,QAAqB;IAAC;IAAU;IAAS;IAAO;AAGtD,QAAK,qBAAqB,OAFL,MAAM,QAAQ,MAAM,WAAW,GAClB,KAAK,MAAM,QACF;;;uBAxD3C,YAOW,MAAA,SAAA,EAAA;IAPD,WAAU;IAAS,SAAQ;;IACxB,SAAO,cAGN,CAFV,YAEU,MAAA,QAAA,EAAA;KAFD,MAAA;KAAM,SAAO;;4BACyB,CAA7C,YAA6C,gBAAA;MAApC,MAAM,gBAAA;MAAkB,MAAM;;;;2BAGZ,CAA/B,mBAA+B,QAAA,MAAA,gBAAtB,aAAA,MAAY,EAAA,EAAA"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -110,20 +110,20 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
110
110
|
reset: typeof handleReset;
|
|
111
111
|
validate: () => CronValidation;
|
|
112
112
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
113
|
-
"update:modelValue": (value: string) => any;
|
|
114
113
|
change: (value: string) => any;
|
|
114
|
+
"update:modelValue": (value: string) => any;
|
|
115
115
|
"validation-change": (result: CronValidation) => any;
|
|
116
116
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
117
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
|
+
height: string | number;
|
|
121
122
|
disabled: boolean;
|
|
122
123
|
modelValue: string;
|
|
123
|
-
height: string | number;
|
|
124
|
-
showPreview: boolean;
|
|
125
124
|
previewCount: number;
|
|
126
125
|
showTemplates: boolean;
|
|
126
|
+
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
114
114
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
115
|
-
"update:modelValue": (value: string) => any;
|
|
116
115
|
change: (value: string) => any;
|
|
116
|
+
"update:modelValue": (value: string) => any;
|
|
117
117
|
"validation-change": (result: FormulaValidation) => any;
|
|
118
118
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
119
|
onChange?: ((value: string) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
+
height: string | number;
|
|
123
124
|
placeholder: string;
|
|
124
125
|
disabled: boolean;
|
|
125
126
|
modelValue: string;
|
|
126
|
-
|
|
127
|
+
showPreview: boolean;
|
|
127
128
|
variables: FormulaVariable[];
|
|
128
129
|
functions: FormulaFunction[];
|
|
129
130
|
sampleData: Record<string, number | string | boolean>;
|
|
130
|
-
showPreview: boolean;
|
|
131
131
|
showKeyboard: boolean;
|
|
132
132
|
showVariablePanel: boolean;
|
|
133
133
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
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
|
-
storageKey: string;
|
|
173
171
|
desktopNotification: boolean;
|
|
174
172
|
maxBadgeCount: number;
|
|
175
173
|
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
|
@@ -196,31 +196,31 @@ type __VLS_Slots = {} & {
|
|
|
196
196
|
area?: (props: typeof __VLS_11) => any;
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
|
+
error: (file: UploadFileItem, error: Error) => any;
|
|
199
200
|
change: (fileList: UploadFileItem[]) => any;
|
|
200
201
|
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
|
+
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
207
208
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
209
|
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
|
-
maxSize: number;
|
|
217
216
|
multiple: boolean;
|
|
218
|
-
data: Record<string, any>;
|
|
219
217
|
draggable: boolean;
|
|
218
|
+
data: Record<string, any>;
|
|
220
219
|
action: string;
|
|
221
220
|
headers: Record<string, string>;
|
|
222
221
|
directory: boolean;
|
|
223
222
|
accept: string;
|
|
223
|
+
maxSize: number;
|
|
224
224
|
maxCount: number;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
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/index10.vue.d.ts
CHANGED
|
@@ -49,14 +49,13 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
49
49
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
|
-
size: number | string;
|
|
53
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
|
+
title: string;
|
|
54
54
|
name: string | any;
|
|
55
|
+
size: number | string;
|
|
55
56
|
color: string;
|
|
56
57
|
loading: boolean;
|
|
57
58
|
flip: "horizontal" | "vertical" | "both";
|
|
58
|
-
title: string;
|
|
59
|
-
rotate: number;
|
|
60
59
|
svgPath: string;
|
|
61
60
|
viewBox: string;
|
|
62
61
|
alt: string;
|
|
@@ -64,6 +63,7 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
64
63
|
fallbackIcon: string;
|
|
65
64
|
ariaLabel: string;
|
|
66
65
|
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/index11.vue.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ type __VLS_Props = {
|
|
|
11
11
|
options?: LanguageOption[];
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (key: string) => any;
|
|
15
14
|
change: (key: string) => any;
|
|
15
|
+
"update:modelValue": (key: string) => any;
|
|
16
16
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
18
17
|
onChange?: ((key: string) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
modelValue: string;
|
|
21
21
|
options: LanguageOption[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index11.vue.d.ts","names":[],"sources":["../src/components/C_Language/index.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index11.vue.d.ts","names":[],"sources":["../src/components/C_Language/index.vue"],"mappings":";;;UAgFiB,cAAA;EACf,GAAA;EACA,KAAA;EACA,SAAA;AAAA;AAAA,KAGG,WAAA;EACD,UAAA;EACA,OAAA,GAAU,cAAA;AAAA;AAAA,cA+HR,YAAA,MAAY,eAAA,CAAA,WAAA,kBAAA,GAAA,CAAA,qBAAA,EAAA,GAAA,CAAA,qBAAA;;;WAAA,GAAA,CAAA,WAAA;;;;;WA/HJ,cAAA;AAAA,uBAAc,GAAA,CAAA,uBAAA;AAAA,cAAA,QAAA,SAoIA,YAAA"}
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
insertText: (text: string) => void;
|
|
39
39
|
wordCount: vue.ComputedRef<number>;
|
|
40
40
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
41
|
-
"update:modelValue": (value: string) => any;
|
|
42
41
|
change: (text: string, html: string) => any;
|
|
42
|
+
"update:modelValue": (value: string) => any;
|
|
43
43
|
save: (text: string, html: string) => any;
|
|
44
44
|
"upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
|
|
45
45
|
"fullscreen-change": (isFullscreen: boolean) => any;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
48
48
|
"auto-save": (text: string) => any;
|
|
49
49
|
"max-length-exceeded": (currentLength: number, maxLength: number) => any;
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
51
|
onChange?: ((text: string, html: string) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
53
|
onSave?: ((text: string, html: string) => any) | undefined;
|
|
54
54
|
"onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
|
|
55
55
|
"onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
|
|
@@ -58,11 +58,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
58
58
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
+
height: string | number;
|
|
62
|
+
mode: "edit" | "editable" | "preview";
|
|
61
63
|
placeholder: string;
|
|
62
64
|
disabled: boolean;
|
|
63
65
|
modelValue: string;
|
|
64
|
-
|
|
65
|
-
mode: "edit" | "editable" | "preview";
|
|
66
|
+
isDark: boolean;
|
|
66
67
|
tocNavPosition: "left" | "right";
|
|
67
68
|
defaultFullscreen: boolean;
|
|
68
69
|
autofocus: boolean;
|
|
@@ -73,7 +74,6 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
73
74
|
showWordCount: boolean;
|
|
74
75
|
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/index13.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
38
|
percentage: number | number[];
|
|
40
39
|
isAnimation: boolean;
|
|
41
40
|
time: number;
|
|
42
41
|
indicatorPlacement: "inside" | "outside";
|
|
43
42
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index15.vue.d.ts","names":[],"sources":["../src/components/C_Theme/index.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index15.vue.d.ts","names":[],"sources":["../src/components/C_Theme/index.vue"],"mappings":";;;KA4EY,SAAA;AAAA,KAEP,WAAA;EACD,UAAA,GAAa,SAAA;AAAA;AAAA,cA6HX,YAAA,MAAY,eAAA,CAAA,WAAA,kBAAA,GAAA,CAAA,qBAAA,EAAA,GAAA,CAAA,qBAAA;;;;;cA7HD,SAAA;AAAA,uBAAS,GAAA,CAAA,uBAAA;AAAA,cAAA,QAAA,SAkIE,YAAA"}
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -647,13 +647,13 @@ 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;
|
|
652
650
|
height: string | number;
|
|
653
651
|
title: string;
|
|
652
|
+
theme: "light" | "dark";
|
|
653
|
+
options: GanttOptions;
|
|
654
654
|
data: GanttTask[];
|
|
655
|
-
preset: GanttPreset;
|
|
656
655
|
showToolbar: boolean;
|
|
656
|
+
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
659
659
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index16.vue.d.ts","names":[],"sources":["../src/components/C_VtableGantt/data.ts","../src/components/C_VtableGantt/index.vue"],"mappings":";;;UAGiB,SAAA;EACf,EAAA;EACA,KAAA;EACA,KAAA,WAAgB,IAAA;EAChB,GAAA,YAAe,IAAA;EACf,QAAA;EACA,QAAA;EACA,IAAA;EACA,QAAA,GAAW,SAAA;EAAA,CACV,GAAA;AAAA;AAAA,UAGc,YAAA;EAAA,CACd,GAAA;AAAA;AAAA,KAGS,WAAA;AAAA,cA0BC,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCsSH,KAAA;EACR,IAAA,GAAO,SAAA;EACP,OAAA,GAAU,YAAA;EACV,MAAA,GAAS,WAAA;EACT,MAAA;EACA,KAAA;EACA,WAAA;EACA,oBAAA;EACA,KAAA;AAAA;AAAA,cAqXI,YAAA,MAAY,eAAA,CAAA,KAAA;iBAAA,GAAA,CAAA,GAAA;wBAlLW,SAAA;8BAUM,YAAA
|
|
1
|
+
{"version":3,"file":"index16.vue.d.ts","names":[],"sources":["../src/components/C_VtableGantt/data.ts","../src/components/C_VtableGantt/index.vue"],"mappings":";;;UAGiB,SAAA;EACf,EAAA;EACA,KAAA;EACA,KAAA,WAAgB,IAAA;EAChB,GAAA,YAAe,IAAA;EACf,QAAA;EACA,QAAA;EACA,IAAA;EACA,QAAA,GAAW,SAAA;EAAA,CACV,GAAA;AAAA;AAAA,UAGc,YAAA;EAAA,CACd,GAAA;AAAA;AAAA,KAGS,WAAA;AAAA,cA0BC,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UCsSH,KAAA;EACR,IAAA,GAAO,SAAA;EACP,OAAA,GAAU,YAAA;EACV,MAAA,GAAS,WAAA;EACT,MAAA;EACA,KAAA;EACA,WAAA;EACA,oBAAA;EACA,KAAA;AAAA;AAAA,cAqXI,YAAA,MAAY,eAAA,CAAA,KAAA;iBAAA,GAAA,CAAA,GAAA;wBAlLW,SAAA;8BAUM,YAAA;;;;;;;;;;;;;;WAnNvB,YAAA;QADH,SAAA;;UAEE,WAAA;;uBAAW,GAAA,CAAA,uBAAA;AAAA,+BAgYM,YAAA"}
|
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
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
24
24
|
width: number;
|
|
25
25
|
height: number;
|
|
26
|
-
fontSize: number;
|
|
27
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
26
|
showText: boolean;
|
|
27
|
+
fontSize: number;
|
|
29
28
|
textPosition: "bottom" | "top";
|
|
30
29
|
lineColor: string;
|
|
31
30
|
background: string;
|
|
32
31
|
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/index3.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
|
-
reset: () => any;
|
|
22
21
|
change: (valid: boolean) => 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
|
-
onReset?: (() => any) | undefined;
|
|
30
29
|
onChange?: ((valid: boolean) => 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
|
-
theme: "light" | "dark";
|
|
39
38
|
triggerText: string;
|
|
40
39
|
images: string[];
|
|
40
|
+
theme: "light" | "dark";
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
//#endregion
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ type __VLS_Props = {
|
|
|
17
17
|
modelValue?: CascadeValue;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (value: CascadeValue) => any;
|
|
21
20
|
change: (value: CascadeValue) => any;
|
|
21
|
+
"update:modelValue": (value: CascadeValue) => any;
|
|
22
22
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
24
23
|
onChange?: ((value: CascadeValue) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
placeholders: string[];
|
|
27
27
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|