@robot-admin/naive-ui-components 0.13.6 → 0.13.7

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 (104) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +36 -1
  3. package/README_EN.md +36 -1
  4. package/dist/C_Form.base.css +174 -169
  5. package/dist/C_Form.cjs +1 -1
  6. package/dist/C_Form.css +174 -169
  7. package/dist/C_Form.d.cts +2 -2
  8. package/dist/C_Form.d.ts +2 -2
  9. package/dist/C_Form.js +1 -1
  10. package/dist/C_Form2.cjs +1 -1
  11. package/dist/C_Form2.js +1 -1
  12. package/dist/C_FormModal.css +15 -15
  13. package/dist/C_FormModal2.cjs +1 -1
  14. package/dist/C_FormModal2.js +1 -1
  15. package/dist/C_Table.base.css +174 -169
  16. package/dist/C_Table.css +174 -169
  17. package/dist/constants.d.cts +1 -1
  18. package/dist/constants.d.ts +1 -1
  19. package/dist/constants2.d.cts +4 -4
  20. package/dist/constants2.d.ts +4 -4
  21. package/dist/constants3.d.cts +1 -1
  22. package/dist/constants3.d.ts +1 -1
  23. package/dist/constants4.d.cts +4 -4
  24. package/dist/constants4.d.ts +4 -4
  25. package/dist/data.d.cts +10 -10
  26. package/dist/data.d.ts +10 -10
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.d.cts +2 -2
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +1 -1
  31. package/dist/index.vue.d.cts +2 -2
  32. package/dist/index.vue.d.ts +2 -2
  33. package/dist/index10.vue.d.cts +1 -1
  34. package/dist/index10.vue.d.ts +1 -1
  35. package/dist/index11.vue.d.cts +1 -1
  36. package/dist/index11.vue.d.ts +2 -2
  37. package/dist/index12.vue.d.cts +2 -2
  38. package/dist/index12.vue.d.ts +1 -1
  39. package/dist/index13.vue.d.cts +1 -1
  40. package/dist/index13.vue.d.ts +5 -5
  41. package/dist/index14.vue.d.cts +5 -5
  42. package/dist/index14.vue.d.ts +3 -3
  43. package/dist/index15.vue.d.cts +3 -3
  44. package/dist/index15.vue.d.ts +1 -1
  45. package/dist/index16.vue.d.cts +1 -1
  46. package/dist/index17.vue.d.ts +1 -1
  47. package/dist/index18.vue.d.cts +1 -1
  48. package/dist/index18.vue.d.ts +3 -3
  49. package/dist/index19.vue.d.cts +3 -3
  50. package/dist/index2.vue.d.cts +1 -1
  51. package/dist/index2.vue.d.ts +1 -1
  52. package/dist/index20.vue.d.cts +1 -1
  53. package/dist/index20.vue.d.ts +1 -1
  54. package/dist/index21.vue.d.cts +3 -3
  55. package/dist/index21.vue.d.ts +3 -3
  56. package/dist/index22.vue.d.cts +2 -2
  57. package/dist/index22.vue.d.ts +2 -2
  58. package/dist/index23.vue.d.cts +1 -1
  59. package/dist/index23.vue.d.ts +1 -1
  60. package/dist/index25.vue.d.cts +3 -3
  61. package/dist/index25.vue.d.ts +3 -3
  62. package/dist/index27.vue.d.cts +3 -3
  63. package/dist/index27.vue.d.ts +3 -3
  64. package/dist/index28.vue.d.cts +4 -4
  65. package/dist/index28.vue.d.ts +4 -4
  66. package/dist/index3.vue.d.cts +2 -2
  67. package/dist/index3.vue.d.ts +2 -2
  68. package/dist/index6.vue.d.ts +2 -2
  69. package/dist/index7.vue.d.cts +2 -2
  70. package/dist/index9.vue.d.ts +1 -1
  71. package/dist/presets.d.cts +1 -1
  72. package/dist/presets.d.ts +1 -1
  73. package/dist/style.css +189 -184
  74. package/dist/useCalendarEvents.d.cts +1 -1
  75. package/dist/useCalendarEvents.d.ts +1 -1
  76. package/dist/useCollapsePanel.d.cts +2 -2
  77. package/dist/useCollapsePanel.d.ts +2 -2
  78. package/dist/useCropperCore.d.cts +6 -6
  79. package/dist/useCropperCore.d.ts +6 -6
  80. package/dist/useDraggableLayout.d.cts +5 -5
  81. package/dist/useDraggableLayout.d.ts +5 -5
  82. package/dist/useDynamicFormState.d.cts +27 -7
  83. package/dist/useDynamicFormState.d.ts +27 -7
  84. package/dist/useEdgeInteraction.d.cts +2 -2
  85. package/dist/useEdgeInteraction.d.ts +2 -2
  86. package/dist/useInfiniteScroll.d.cts +2 -2
  87. package/dist/useInfiniteScroll.d.ts +2 -2
  88. package/dist/useQRCode.d.cts +2 -2
  89. package/dist/useQRCode.d.ts +2 -2
  90. package/dist/useSearchState.d.cts +19 -19
  91. package/dist/useSearchState.d.ts +19 -19
  92. package/dist/useSignatureHistory.d.cts +2 -2
  93. package/dist/useSignatureHistory.d.ts +2 -2
  94. package/dist/useSplitResize.d.cts +4 -4
  95. package/dist/useSplitResize.d.ts +4 -4
  96. package/dist/useTableQuery.d.cts +1 -1
  97. package/dist/useTableQuery.d.ts +1 -1
  98. package/dist/useTreeOperations.d.cts +9 -9
  99. package/dist/useTreeOperations.d.ts +9 -9
  100. package/dist/useWorkflowValidation.d.cts +2 -2
  101. package/dist/useWorkflowValidation.d.ts +2 -2
  102. package/dist/verification.d.cts +2 -2
  103. package/dist/verification.d.ts +2 -2
  104. package/package.json +2 -1
@@ -52,11 +52,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
- modelValue: string;
57
55
  theme: "light" | "dark";
56
+ modelValue: string;
58
57
  disabled: boolean;
59
58
  placeholder: string;
59
+ height: number;
60
60
  readonly: boolean;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { C as FormConfig, K as FormOption, at as SubmitEventPayload, q as FormRecord } from "./useDynamicFormState.js";
1
+ import { C as FormConfig, K as FormOption, ot as SubmitEventPayload, q as FormRecord } from "./useDynamicFormState.js";
2
2
  import * as vue from "vue";
3
3
  import { ComputedRef, Ref } from "vue";
4
4
 
@@ -1,4 +1,4 @@
1
- import { C as FormConfig, K as FormOption, at as SubmitEventPayload, q as FormRecord } from "./useDynamicFormState.cjs";
1
+ import { C as FormConfig, K as FormOption, ot as SubmitEventPayload, q as FormRecord } from "./useDynamicFormState.cjs";
2
2
  import * as vue from "vue";
3
3
  import { ComputedRef, Ref } from "vue";
4
4
 
@@ -97,28 +97,28 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
97
97
  resetCompleted: () => void;
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
- error: (error: unknown) => any;
101
100
  start: () => any;
102
- close: (currentStep: number) => any;
103
101
  complete: () => any;
102
+ close: (currentStep: number) => any;
104
103
  skip: (currentStep: number) => any;
105
104
  "step-change": (stepIndex: number, step: GuideStep) => any;
105
+ error: (error: unknown) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
- onError?: ((error: unknown) => any) | undefined;
108
107
  onStart?: (() => any) | undefined;
109
- onClose?: ((currentStep: number) => any) | undefined;
110
108
  onComplete?: (() => any) | undefined;
109
+ onClose?: ((currentStep: number) => any) | undefined;
111
110
  onSkip?: ((currentStep: number) => any) | undefined;
112
111
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
112
+ onError?: ((error: unknown) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
- keyboard: boolean;
116
115
  doneBtnText: string;
117
116
  nextBtnText: string;
118
117
  prevBtnText: string;
119
118
  showSkipButton: boolean;
120
119
  skipBtnText: string;
121
120
  showProgress: boolean;
121
+ keyboard: boolean;
122
122
  animate: boolean;
123
123
  allowClose: boolean;
124
124
  skipMissingElements: boolean;
@@ -97,28 +97,28 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
97
97
  resetCompleted: () => void;
98
98
  isCompleted: () => boolean;
99
99
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
100
- error: (error: unknown) => any;
101
100
  start: () => any;
102
- close: (currentStep: number) => any;
103
101
  complete: () => any;
102
+ close: (currentStep: number) => any;
104
103
  skip: (currentStep: number) => any;
105
104
  "step-change": (stepIndex: number, step: GuideStep) => any;
105
+ error: (error: unknown) => any;
106
106
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
107
- onError?: ((error: unknown) => any) | undefined;
108
107
  onStart?: (() => any) | undefined;
109
- onClose?: ((currentStep: number) => any) | undefined;
110
108
  onComplete?: (() => any) | undefined;
109
+ onClose?: ((currentStep: number) => any) | undefined;
111
110
  onSkip?: ((currentStep: number) => any) | undefined;
112
111
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
112
+ onError?: ((error: unknown) => any) | undefined;
113
113
  }>, {
114
114
  steps: GuideStep[];
115
- keyboard: boolean;
116
115
  doneBtnText: string;
117
116
  nextBtnText: string;
118
117
  prevBtnText: string;
119
118
  showSkipButton: boolean;
120
119
  skipBtnText: string;
121
120
  showProgress: boolean;
121
+ keyboard: boolean;
122
122
  animate: boolean;
123
123
  allowClose: boolean;
124
124
  skipMissingElements: boolean;
@@ -39,14 +39,14 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- color: string;
43
- size: number | string;
44
42
  title: string;
45
43
  loading: boolean;
44
+ size: number | string;
45
+ color: string;
46
+ clickable: boolean;
46
47
  svgPath: string;
47
48
  viewBox: string;
48
49
  alt: string;
49
- clickable: boolean;
50
50
  fallbackIcon: string;
51
51
  loadTimeout: number;
52
52
  ariaLabel: string;
@@ -39,14 +39,14 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
- color: string;
43
- size: number | string;
44
42
  title: string;
45
43
  loading: boolean;
44
+ size: number | string;
45
+ color: string;
46
+ clickable: boolean;
46
47
  svgPath: string;
47
48
  viewBox: string;
48
49
  alt: string;
49
- clickable: boolean;
50
50
  fallbackIcon: string;
51
51
  loadTimeout: number;
52
52
  ariaLabel: string;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
25
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
26
  onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
- modelValue: string;
29
28
  options: LegacyLanguageOption[];
29
+ modelValue: string;
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- loading: boolean;
121
120
  storageKey: string;
121
+ loading: boolean;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  title: string;
120
- loading: boolean;
121
120
  storageKey: string;
121
+ loading: boolean;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -61,22 +61,22 @@ 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
64
  modelValue: string;
66
65
  disabled: boolean;
67
66
  placeholder: string;
67
+ height: string | number;
68
+ isDark: boolean;
68
69
  mode: "edit" | "editable" | "preview";
70
+ maxLength: number;
69
71
  tocNavPosition: "left" | "right";
70
72
  defaultFullscreen: boolean;
71
73
  autofocus: boolean;
72
74
  includeLevel: number[];
73
75
  leftToolbar: string;
74
76
  rightToolbar: string;
75
- maxLength: number;
76
77
  showWordCount: boolean;
77
78
  autoSave: boolean;
78
79
  autoSaveInterval: number;
79
- isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -61,22 +61,22 @@ 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
64
  modelValue: string;
66
65
  disabled: boolean;
67
66
  placeholder: string;
67
+ height: string | number;
68
+ isDark: boolean;
68
69
  mode: "edit" | "editable" | "preview";
70
+ maxLength: number;
69
71
  tocNavPosition: "left" | "right";
70
72
  defaultFullscreen: boolean;
71
73
  autofocus: boolean;
72
74
  includeLevel: number[];
73
75
  leftToolbar: string;
74
76
  rightToolbar: string;
75
- maxLength: number;
76
77
  showWordCount: boolean;
77
78
  autoSave: boolean;
78
79
  autoSaveInterval: number;
79
- isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- size: number;
76
75
  max: number;
76
+ size: number;
77
77
  direction: "ltr" | "rtl";
78
78
  clickable: boolean;
79
79
  overlap: number;
@@ -72,8 +72,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- size: number;
76
75
  max: number;
76
+ size: number;
77
77
  direction: "ltr" | "rtl";
78
78
  clickable: boolean;
79
79
  overlap: number;
@@ -78,6 +78,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
+ collapsible: boolean;
81
82
  lineStyle: OrgChartLineStyle;
82
83
  lineColor: string;
83
84
  lineWidth: number;
@@ -88,7 +89,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
88
89
  initialZoom: number;
89
90
  minZoom: number;
90
91
  maxZoom: number;
91
- collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  declare const _default: typeof __VLS_export;
@@ -78,6 +78,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
80
  direction: OrgChartDirection;
81
+ collapsible: boolean;
81
82
  lineStyle: OrgChartLineStyle;
82
83
  lineColor: string;
83
84
  lineWidth: number;
@@ -88,7 +89,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
88
89
  initialZoom: number;
89
90
  minZoom: number;
90
91
  maxZoom: number;
91
- collapsible: boolean;
92
92
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
93
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
94
  declare const _default: typeof __VLS_export;
@@ -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
+ strokeWidth: number;
39
+ status: "default" | "success" | "error" | "warning" | "info";
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
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
+ strokeWidth: number;
39
+ status: "default" | "success" | "error" | "warning" | "info";
37
40
  percentage: number | number[];
38
41
  isAnimation: boolean;
39
- time: number;
40
42
  indicatorPlacement: "inside" | "outside";
41
43
  showIndicator: boolean;
42
- status: "default" | "success" | "error" | "warning" | "info";
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>;
@@ -86,10 +86,10 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- borderRadius: string;
90
- repeat: number;
91
89
  loading: boolean;
90
+ repeat: number;
92
91
  preset: SkeletonPreset;
92
+ borderRadius: string;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -86,10 +86,10 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- borderRadius: string;
90
- repeat: number;
91
89
  loading: boolean;
90
+ repeat: number;
92
91
  preset: SkeletonPreset;
92
+ borderRadius: string;
93
93
  animation: SkeletonAnimation;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -36,8 +36,8 @@ 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
- clickable: boolean;
40
39
  current: number;
40
+ clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -36,8 +36,8 @@ 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
- clickable: boolean;
40
39
  current: number;
40
+ clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -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
- height: string | number;
651
650
  theme: "light" | "dark";
652
- options: GanttOptions;
653
651
  title: string;
654
- preset: GanttPreset;
652
+ options: GanttOptions;
655
653
  data: GanttTask[];
654
+ height: string | number;
655
+ preset: GanttPreset;
656
656
  showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
- height: string | number;
651
650
  theme: "light" | "dark";
652
- options: GanttOptions;
653
651
  title: string;
654
- preset: GanttPreset;
652
+ options: GanttOptions;
655
653
  data: GanttTask[];
654
+ height: string | number;
655
+ preset: GanttPreset;
656
656
  showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -84,15 +84,15 @@ 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
- items: TimelineItem[];
95
94
  size: "small" | "medium" | "large";
95
+ items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
@@ -84,15 +84,15 @@ 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
- items: TimelineItem[];
95
94
  size: "small" | "medium" | "large";
95
+ items: TimelineItem[];
96
96
  mode: "vertical" | "horizontal";
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
@@ -62,18 +62,18 @@ type __VLS_Props = {
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
64
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "small" | "medium" | "large";
71
- filterable: boolean;
72
70
  titles: [string, string];
71
+ filterable: boolean;
73
72
  filterPlaceholder: string;
74
73
  showSelectAll: boolean;
75
74
  sourceEmptyText: string;
76
75
  targetEmptyText: string;
76
+ size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -62,18 +62,18 @@ type __VLS_Props = {
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
64
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
65
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
67
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
68
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "small" | "medium" | "large";
71
- filterable: boolean;
72
70
  titles: [string, string];
71
+ filterable: boolean;
73
72
  filterPlaceholder: string;
74
73
  showSelectAll: boolean;
75
74
  sourceEmptyText: string;
76
75
  targetEmptyText: string;
76
+ size: "small" | "medium" | "large";
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
79
79
  //#endregion
@@ -21,13 +21,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  height: number;
24
- fontSize: number;
25
24
  label: string;
26
25
  width: number;
26
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
27
  lineColor: string;
28
28
  showBorder: boolean;
29
29
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
+ fontSize: number;
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -21,13 +21,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  height: number;
24
- fontSize: number;
25
24
  label: string;
26
25
  width: number;
26
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
27
  lineColor: string;
28
28
  showBorder: boolean;
29
29
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
+ fontSize: number;
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- placeholder: string;
108
107
  title: string;
108
+ placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -104,14 +104,14 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
104
104
  "onEmoji-click"?: (() => any) | undefined;
105
105
  onResend?: ((msg: ChatMessage) => any) | undefined;
106
106
  }>, {
107
- placeholder: string;
108
107
  title: string;
108
+ placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -75,8 +75,8 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
75
75
  y: number;
76
76
  }) => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
80
  zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: number;
@@ -67,10 +67,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- config: ActionBarConfig;
71
70
  actions: ActionItem[];
72
71
  leftActions: ActionItem[];
73
72
  rightActions: ActionItem[];
73
+ config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -67,10 +67,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
67
67
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
68
68
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
69
69
  }>, {
70
- config: ActionBarConfig;
71
70
  actions: ActionItem[];
72
71
  leftActions: ActionItem[];
73
72
  rightActions: ActionItem[];
73
+ config: ActionBarConfig;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;