@robot-admin/naive-ui-components 0.38.0 → 0.39.0

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.
Files changed (98) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +7 -2
  3. package/README_EN.md +7 -2
  4. package/dist/C_Table.base.css +121 -114
  5. package/dist/C_Table.css +121 -114
  6. package/dist/C_Table2.cjs +4 -4
  7. package/dist/C_Table2.js +4 -4
  8. package/dist/component-config.d.ts +1 -1
  9. package/dist/constants.d.cts +2 -2
  10. package/dist/constants.d.ts +2 -2
  11. package/dist/constants2.d.cts +2 -2
  12. package/dist/constants2.d.ts +2 -2
  13. package/dist/constants3.d.cts +3 -3
  14. package/dist/constants3.d.ts +3 -3
  15. package/dist/constants4.d.cts +6 -6
  16. package/dist/constants4.d.ts +6 -6
  17. package/dist/constants5.d.cts +2 -2
  18. package/dist/constants5.d.ts +2 -2
  19. package/dist/context.d.cts +1 -1
  20. package/dist/data2.d.cts +9 -9
  21. package/dist/data2.d.ts +9 -9
  22. package/dist/editors.d.cts +4 -4
  23. package/dist/editors.d.ts +4 -4
  24. package/dist/index.vue.d.cts +4 -4
  25. package/dist/index.vue.d.ts +4 -4
  26. package/dist/index10.vue.d.cts +2 -2
  27. package/dist/index10.vue.d.ts +3 -3
  28. package/dist/index11.vue.d.cts +3 -3
  29. package/dist/index11.vue.d.ts +3 -3
  30. package/dist/index12.vue.d.cts +3 -3
  31. package/dist/index13.vue.d.ts +3 -3
  32. package/dist/index14.vue.d.cts +3 -3
  33. package/dist/index16.vue.d.ts +3 -3
  34. package/dist/index17.vue.d.cts +3 -3
  35. package/dist/index17.vue.d.ts +6 -6
  36. package/dist/index18.vue.d.cts +6 -6
  37. package/dist/index18.vue.d.ts +2 -2
  38. package/dist/index19.vue.d.cts +2 -2
  39. package/dist/index19.vue.d.ts +1 -1
  40. package/dist/index20.vue.d.cts +1 -1
  41. package/dist/index21.vue.d.ts +5 -5
  42. package/dist/index22.vue.d.cts +5 -5
  43. package/dist/index24.vue.d.cts +2 -2
  44. package/dist/index24.vue.d.ts +2 -2
  45. package/dist/index27.vue.d.cts +2 -2
  46. package/dist/index27.vue.d.ts +2 -2
  47. package/dist/index28.vue.d.cts +2 -2
  48. package/dist/index28.vue.d.ts +2 -2
  49. package/dist/index3.vue.d.cts +1 -1
  50. package/dist/index3.vue.d.ts +1 -1
  51. package/dist/index30.vue.d.cts +1 -1
  52. package/dist/index30.vue.d.ts +1 -1
  53. package/dist/index31.vue.d.cts +4 -4
  54. package/dist/index31.vue.d.ts +4 -4
  55. package/dist/index32.vue.d.cts +2 -2
  56. package/dist/index32.vue.d.ts +2 -2
  57. package/dist/index4.vue.d.cts +6 -6
  58. package/dist/index4.vue.d.ts +6 -6
  59. package/dist/index7.vue.d.ts +2 -2
  60. package/dist/index8.vue.d.cts +2 -2
  61. package/dist/index9.vue.d.ts +2 -2
  62. package/dist/mapUtils.d.cts +4 -4
  63. package/dist/mapUtils.d.ts +4 -4
  64. package/dist/presets.d.cts +1 -1
  65. package/dist/presets.d.ts +1 -1
  66. package/dist/shared-tokens.css +1 -1
  67. package/dist/style.css +122 -115
  68. package/dist/theme.cjs +1 -1
  69. package/dist/theme.d.cts +5 -0
  70. package/dist/theme.d.ts +5 -0
  71. package/dist/theme.js +1 -1
  72. package/dist/theme2.cjs +1 -1
  73. package/dist/theme2.js +1 -1
  74. package/dist/useCollapsePanel.d.cts +2 -2
  75. package/dist/useCollapsePanel.d.ts +2 -2
  76. package/dist/useComponentTheme.cjs +1 -1
  77. package/dist/useComponentTheme.js +1 -1
  78. package/dist/useCropperCore.d.cts +6 -6
  79. package/dist/useCropperCore.d.ts +6 -6
  80. package/dist/useEdgeInteraction.d.cts +1 -1
  81. package/dist/useEdgeInteraction.d.ts +1 -1
  82. package/dist/useFullscreen.d.cts +1 -1
  83. package/dist/useFullscreen.d.ts +1 -1
  84. package/dist/useInfiniteScroll.d.cts +2 -2
  85. package/dist/useInfiniteScroll.d.ts +2 -2
  86. package/dist/useQRCode.d.cts +5 -5
  87. package/dist/useQRCode.d.ts +5 -5
  88. package/dist/useSignatureHistory.d.cts +4 -4
  89. package/dist/useSignatureHistory.d.ts +4 -4
  90. package/dist/useSplitResize.d.cts +4 -4
  91. package/dist/useSplitResize.d.ts +4 -4
  92. package/dist/useWorkflowValidation.d.cts +86 -86
  93. package/dist/useWorkflowValidation.d.ts +86 -86
  94. package/dist/verification.d.cts +5 -5
  95. package/dist/verification.d.ts +5 -5
  96. package/docs/guides/table-density.md +12 -0
  97. package/docs/guides/theme.md +14 -10
  98. package/package.json +1 -1
@@ -98,22 +98,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
100
  error: (error: unknown) => any;
101
- close: (currentStep: number) => any;
102
101
  start: () => any;
102
+ close: (currentStep: number) => any;
103
103
  complete: () => any;
104
104
  skip: (currentStep: number) => any;
105
105
  "step-change": (stepIndex: number, step: GuideStep) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
107
  onError?: ((error: unknown) => any) | undefined;
108
- onClose?: ((currentStep: number) => any) | undefined;
109
108
  onStart?: (() => any) | undefined;
109
+ onClose?: ((currentStep: number) => any) | undefined;
110
110
  onComplete?: (() => any) | undefined;
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
+ steps: GuideStep[];
114
115
  keyboard: boolean;
115
116
  showTrigger: boolean;
116
- steps: GuideStep[];
117
117
  doneBtnText: string;
118
118
  nextBtnText: string;
119
119
  prevBtnText: string;
@@ -38,21 +38,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- title: string;
41
+ ariaLabel: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- loading: boolean;
44
43
  size: number | string;
44
+ color: string;
45
+ title: string;
46
+ viewBox: string;
47
+ loading: boolean;
45
48
  clickable: boolean;
46
49
  flip: "horizontal" | "vertical" | "both";
47
- color: string;
48
- ariaLabel: string;
50
+ rotate: number;
49
51
  svgPath: string;
50
- viewBox: string;
51
52
  alt: string;
52
53
  fallbackIcon: string;
53
54
  loadTimeout: number;
54
55
  customClass: string;
55
- rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -38,21 +38,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- title: string;
41
+ ariaLabel: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- loading: boolean;
44
43
  size: number | string;
44
+ color: string;
45
+ title: string;
46
+ viewBox: string;
47
+ loading: boolean;
45
48
  clickable: boolean;
46
49
  flip: "horizontal" | "vertical" | "both";
47
- color: string;
48
- ariaLabel: string;
50
+ rotate: number;
49
51
  svgPath: string;
50
- viewBox: string;
51
52
  alt: string;
52
53
  fallbackIcon: string;
53
54
  loadTimeout: number;
54
55
  customClass: string;
55
- rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
28
  modelValue: string;
29
29
  options: LegacyLanguageOption[];
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
28
  modelValue: string;
29
29
  options: LegacyLanguageOption[];
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- label: string;
16
15
  size: number;
16
+ label: string;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -12,8 +12,8 @@ interface LoadingProps {
12
12
  //#endregion
13
13
  //#region src/components/C_Loading/index.vue.d.ts
14
14
  declare const __VLS_export: vue.DefineComponent<LoadingProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LoadingProps> & Readonly<{}>, {
15
- label: string;
16
15
  size: number;
16
+ label: string;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,14 +61,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
- disabled: boolean;
66
64
  modelValue: string;
65
+ disabled: boolean;
66
+ height: string | number;
67
67
  placeholder: string;
68
- autofocus: boolean;
69
68
  mode: "edit" | "editable" | "preview";
70
69
  tocNavPosition: "left" | "right";
71
70
  defaultFullscreen: boolean;
71
+ autofocus: boolean;
72
72
  includeLevel: number[];
73
73
  leftToolbar: string;
74
74
  rightToolbar: string;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,14 +61,14 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
- height: string | number;
65
- disabled: boolean;
66
64
  modelValue: string;
65
+ disabled: boolean;
66
+ height: string | number;
67
67
  placeholder: string;
68
- autofocus: boolean;
69
68
  mode: "edit" | "editable" | "preview";
70
69
  tocNavPosition: "left" | "right";
71
70
  defaultFullscreen: boolean;
71
+ autofocus: boolean;
72
72
  includeLevel: number[];
73
73
  leftToolbar: string;
74
74
  rightToolbar: string;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
39
- strokeWidth: number;
40
38
  percentage: number | number[];
41
39
  isAnimation: boolean;
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>;
@@ -34,13 +34,13 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
- time: number;
38
37
  status: "default" | "success" | "error" | "warning" | "info";
39
- strokeWidth: number;
40
38
  percentage: number | number[];
41
39
  isAnimation: boolean;
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>;
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
+ preset: SkeletonPreset;
90
91
  loading: boolean;
91
- borderRadius: string;
92
92
  animation: SkeletonAnimation;
93
- preset: SkeletonPreset;
93
+ borderRadius: string;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
+ preset: SkeletonPreset;
90
91
  loading: boolean;
91
- borderRadius: string;
92
92
  animation: SkeletonAnimation;
93
- preset: SkeletonPreset;
93
+ borderRadius: string;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
- connected: boolean;
40
- clickable: boolean;
41
39
  current: number;
40
+ clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -36,9 +36,9 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
38
  direction: "horizontal" | "vertical";
39
- connected: boolean;
40
- clickable: boolean;
41
39
  current: number;
40
+ clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
76
76
  size: number;
77
77
  max: number;
78
78
  overlap: number;
79
+ clickable: boolean;
79
80
  shape: "circle" | "square";
80
81
  showStatus: boolean;
81
82
  showTooltip: boolean;
82
- clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
76
76
  size: number;
77
77
  max: number;
78
78
  overlap: number;
79
+ clickable: boolean;
79
80
  shape: "circle" | "square";
80
81
  showStatus: boolean;
81
82
  showTooltip: boolean;
82
- clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
+ persistKey: string;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  homeIcon: string;
91
- persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -85,10 +85,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
85
85
  onClose?: ((fallbackPath: string) => any) | undefined;
86
86
  onCloseAll?: (() => any) | undefined;
87
87
  }>, {
88
+ persistKey: string;
88
89
  homePath: string;
89
90
  homeTitle: string;
90
91
  homeIcon: string;
91
- persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- size: "small" | "medium" | "large";
95
94
  items: TimelineItem[];
96
- pending: boolean;
97
95
  mode: "vertical" | "horizontal";
96
+ pending: boolean;
97
+ size: "small" | "medium" | "large";
98
98
  labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- expand: (item: TimelineItem, expanded: boolean) => any;
88
87
  "item-click": (item: TimelineItem, index: number) => any;
88
+ expand: (item: TimelineItem, expanded: boolean) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
90
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
+ onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- size: "small" | "medium" | "large";
95
94
  items: TimelineItem[];
96
- pending: boolean;
97
95
  mode: "vertical" | "horizontal";
96
+ pending: boolean;
97
+ size: "small" | "medium" | "large";
98
98
  labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
61
61
  //#region src/components/C_Transfer/index.vue.d.ts
62
62
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
64
- onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
65
64
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
65
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
68
68
  } ? P : {});
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -61,15 +61,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
61
61
  //#region src/components/C_Transfer/index.vue.d.ts
62
62
  declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
63
63
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
64
- onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
65
64
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
65
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
68
68
  } ? P : {});
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  lineColor: string;
24
- width: number;
25
24
  height: number;
26
- label: string;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- fontSize: number;
25
+ width: number;
29
26
  background: string;
30
- showText: boolean;
31
- textPosition: "bottom" | "top";
27
+ fontSize: number;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
+ label: string;
32
30
  showBorder: boolean;
33
31
  showLabel: boolean;
32
+ showText: boolean;
33
+ textPosition: "bottom" | "top";
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  lineColor: string;
24
- width: number;
25
24
  height: number;
26
- label: string;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- fontSize: number;
25
+ width: number;
29
26
  background: string;
30
- showText: boolean;
31
- textPosition: "bottom" | "top";
27
+ fontSize: number;
28
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
29
+ label: string;
32
30
  showBorder: boolean;
33
31
  showLabel: boolean;
32
+ showText: boolean;
33
+ textPosition: "bottom" | "top";
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -24,11 +24,11 @@ type __VLS_Props = {
24
24
  density?: ComponentDensity;
25
25
  };
26
26
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
27
- change: (value: CascadeValue) => any;
28
27
  "update:modelValue": (value: CascadeValue) => any;
28
+ change: (value: CascadeValue) => any;
29
29
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onChange?: ((value: CascadeValue) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
31
+ onChange?: ((value: CascadeValue) => any) | undefined;
32
32
  }>, {
33
33
  placeholders: string[];
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -24,11 +24,11 @@ type __VLS_Props = {
24
24
  density?: ComponentDensity;
25
25
  };
26
26
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
27
- change: (value: CascadeValue) => any;
28
27
  "update:modelValue": (value: CascadeValue) => any;
28
+ change: (value: CascadeValue) => any;
29
29
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
30
- onChange?: ((value: CascadeValue) => any) | undefined;
31
30
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
31
+ onChange?: ((value: CascadeValue) => any) | undefined;
32
32
  }>, {
33
33
  placeholders: string[];
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -20,11 +20,11 @@ type __VLS_Slots = {} & {
20
20
  trigger?: (props: typeof __VLS_11) => any;
21
21
  };
22
22
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
23
- change: (value: string) => any;
24
23
  "update:modelValue": (value: string) => any;
24
+ change: (value: string) => any;
25
25
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
26
- onChange?: ((value: string) => any) | undefined;
27
26
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
+ onChange?: ((value: string) => any) | undefined;
28
28
  }>, {
29
29
  placeholder: string;
30
30
  showLetters: boolean;
@@ -83,20 +83,20 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  zoom: number;
95
+ ariaLabel: string;
95
96
  height: string;
96
97
  center: MapCoordinate;
97
- ariaLabel: string;
98
- markers: MapMarker[];
99
98
  mapType: MapType;
99
+ markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
102
102
  amapOptions: Record<string, unknown>;
@@ -83,20 +83,20 @@ interface MapExpose {
83
83
  //#endregion
84
84
  //#region src/components/C_Map/index.vue.d.ts
85
85
  declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
86
- ready: (map: MapInstance) => any;
87
86
  error: (error: Error) => any;
87
+ ready: (map: MapInstance) => any;
88
88
  markerClick: (marker: MapMarker, event: MapMarkerEvent) => any;
89
89
  }, string, vue.PublicProps, Readonly<MapProps> & Readonly<{
90
- onReady?: ((map: MapInstance) => any) | undefined;
91
90
  onError?: ((error: Error) => any) | undefined;
91
+ onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
94
  zoom: number;
95
+ ariaLabel: string;
95
96
  height: string;
96
97
  center: MapCoordinate;
97
- ariaLabel: string;
98
- markers: MapMarker[];
99
98
  mapType: MapType;
99
+ markers: MapMarker[];
100
100
  amapKey: string;
101
101
  amapLoadTimeout: number;
102
102
  amapOptions: Record<string, unknown>;
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- actions: ActionItem[];
19
18
  config: ActionBarConfig;
19
+ actions: ActionItem[];
20
20
  leftActions: ActionItem[];
21
21
  rightActions: ActionItem[];
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
package/dist/presets.d.ts CHANGED
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
15
15
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
16
16
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
17
17
  }>, {
18
- actions: ActionItem[];
19
18
  config: ActionBarConfig;
19
+ actions: ActionItem[];
20
20
  leftActions: ActionItem[];
21
21
  rightActions: ActionItem[];
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- :root{--c-theme-primary: var(--primary-color, #2080f0);--c-theme-primary-hover: var(--primary-color-hover, #4098fc);--c-theme-primary-pressed: var(--primary-color-pressed, #1060c9);--c-theme-success: var(--success-color, #18a058);--c-theme-warning: var(--warning-color, #f0a020);--c-theme-error: var(--error-color, #d03050);--c-theme-info: var(--info-color, #2080f0);--c-theme-bg-body: var(--body-color, #ffffff);--c-theme-bg-card: var(--card-color, #ffffff);--c-theme-bg-surface: var(--popover-color, #ffffff);--c-theme-text-1: var(--text-color-1, #262626);--c-theme-text-2: var(--text-color-2, #525252);--c-theme-text-3: var(--text-color-3, #a3a3a3);--c-theme-text-4: var(--text-color-4, #c0c0c0);--c-theme-border: var(--border-color, #e5e7eb);--c-theme-radius-sm: var(--border-radius-small, 4px);--c-theme-radius: var(--border-radius, 6px);--c-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);--c-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);--c-theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);--c-theme-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);--c-theme-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1)}
1
+ :root{--c-theme-primary: var(--primary-color, #2080f0);--c-theme-primary-hover: var(--primary-color-hover, #4098fc);--c-theme-primary-pressed: var(--primary-color-pressed, #1060c9);--c-theme-success: var(--success-color, #18a058);--c-theme-warning: var(--warning-color, #f0a020);--c-theme-error: var(--error-color, #d03050);--c-theme-info: var(--info-color, #2080f0);--c-theme-on-solid: #ffffff;--c-theme-bg-body: var(--body-color, #ffffff);--c-theme-bg-card: var(--card-color, #ffffff);--c-theme-bg-surface: var(--popover-color, #ffffff);--c-theme-text-1: var(--text-color-1, #262626);--c-theme-text-2: var(--text-color-2, #525252);--c-theme-text-3: var(--text-color-3, #a3a3a3);--c-theme-text-4: var(--text-color-4, #c0c0c0);--c-theme-border: var(--border-color, #e5e7eb);--c-theme-radius-sm: var(--border-radius-small, 4px);--c-theme-radius: var(--border-radius, 6px);--c-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);--c-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);--c-theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);--c-theme-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);--c-theme-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1)}