@robot-admin/naive-ui-components 0.17.0 → 0.17.2

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 (179) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +12 -11
  3. package/README_EN.md +1 -0
  4. package/dist/C_AntV.css +105 -105
  5. package/dist/C_AntV2.cjs +3 -3
  6. package/dist/C_AntV2.js +3 -3
  7. package/dist/C_AudioPlayer.css +53 -53
  8. package/dist/C_AudioPlayer2.cjs +1 -1
  9. package/dist/C_AudioPlayer2.js +1 -1
  10. package/dist/C_Barcode.css +6 -6
  11. package/dist/C_Barcode2.cjs +1 -1
  12. package/dist/C_Barcode2.js +1 -1
  13. package/dist/C_Chat.css +269 -185
  14. package/dist/C_Chat2.cjs +1 -1
  15. package/dist/C_Chat2.js +1 -1
  16. package/dist/C_Code.css +26 -26
  17. package/dist/C_Code2.cjs +1 -1
  18. package/dist/C_Code2.js +1 -1
  19. package/dist/C_Draggable2.cjs +1 -1
  20. package/dist/C_Draggable2.js +1 -1
  21. package/dist/C_FilePreview.css +96 -57
  22. package/dist/C_FilePreview2.cjs +1 -1
  23. package/dist/C_FilePreview2.js +1 -1
  24. package/dist/C_FullCalendar.css +10 -11
  25. package/dist/C_FullCalendar2.cjs +1 -1
  26. package/dist/C_FullCalendar2.js +1 -1
  27. package/dist/C_GlobalSearch.css +140 -118
  28. package/dist/C_GlobalSearch2.cjs +1 -1
  29. package/dist/C_GlobalSearch2.js +1 -1
  30. package/dist/C_ImageCropper.css +10 -10
  31. package/dist/C_ImageCropper2.cjs +1 -1
  32. package/dist/C_ImageCropper2.js +1 -1
  33. package/dist/C_Login.css +79 -79
  34. package/dist/C_Login2.cjs +1 -1
  35. package/dist/C_Login2.js +1 -1
  36. package/dist/C_Map.css +10 -10
  37. package/dist/C_Map2.cjs +1 -1
  38. package/dist/C_Map2.js +1 -1
  39. package/dist/C_OrgChart.css +28 -4
  40. package/dist/C_OrgChart2.cjs +1 -1
  41. package/dist/C_OrgChart2.js +1 -1
  42. package/dist/C_QRCode2.cjs +1 -1
  43. package/dist/C_QRCode2.js +1 -1
  44. package/dist/C_Signature.css +15 -15
  45. package/dist/C_Signature2.cjs +1 -1
  46. package/dist/C_Signature2.js +1 -1
  47. package/dist/C_SplitPane.cjs +1 -1
  48. package/dist/C_SplitPane.css +231 -77
  49. package/dist/C_SplitPane.js +1 -1
  50. package/dist/C_SplitPane2.cjs +1 -1
  51. package/dist/C_SplitPane2.js +1 -1
  52. package/dist/C_Table.base.css +110 -117
  53. package/dist/C_Table.css +110 -117
  54. package/dist/C_Table.d.ts +1 -0
  55. package/dist/C_Tabs.css +18 -18
  56. package/dist/C_TagsView.css +51 -51
  57. package/dist/C_TagsView2.cjs +1 -1
  58. package/dist/C_TagsView2.js +1 -1
  59. package/dist/C_Transfer.css +93 -84
  60. package/dist/C_Transfer2.cjs +1 -1
  61. package/dist/C_Transfer2.js +1 -1
  62. package/dist/C_Tree.d.ts +1 -0
  63. package/dist/C_Upload.css +5 -5
  64. package/dist/C_Upload2.cjs +1 -1
  65. package/dist/C_Upload2.js +1 -1
  66. package/dist/C_VideoPlayer.css +20 -20
  67. package/dist/C_VideoPlayer2.cjs +4 -3
  68. package/dist/C_VideoPlayer2.js +4 -3
  69. package/dist/C_VtableGantt.css +44 -28
  70. package/dist/C_VtableGantt2.cjs +1 -1
  71. package/dist/C_VtableGantt2.js +1 -1
  72. package/dist/C_WaterFall.css +29 -29
  73. package/dist/C_WaterFall2.cjs +1 -1
  74. package/dist/C_WaterFall2.js +1 -1
  75. package/dist/C_WorkFlow.css +111 -111
  76. package/dist/C_WorkFlow2.cjs +1 -1
  77. package/dist/C_WorkFlow2.js +1 -1
  78. package/dist/constants3.d.cts +2 -2
  79. package/dist/constants3.d.ts +2 -2
  80. package/dist/constants4.d.cts +5 -5
  81. package/dist/constants4.d.ts +5 -5
  82. package/dist/constants5.d.cts +12 -15
  83. package/dist/constants5.d.ts +12 -15
  84. package/dist/data.d.cts +9 -9
  85. package/dist/data.d.ts +9 -9
  86. package/dist/data2.cjs +1 -1
  87. package/dist/data2.js +1 -1
  88. package/dist/helpers.cjs +1 -1
  89. package/dist/helpers.js +1 -1
  90. package/dist/index.d.ts +1 -0
  91. package/dist/index.vue.d.cts +4 -4
  92. package/dist/index.vue.d.ts +4 -4
  93. package/dist/index10.vue.d.cts +2 -2
  94. package/dist/index10.vue.d.ts +2 -2
  95. package/dist/index11.vue.d.cts +2 -2
  96. package/dist/index11.vue.d.ts +5 -5
  97. package/dist/index12.vue.d.cts +5 -5
  98. package/dist/index13.vue.d.ts +1 -1
  99. package/dist/index14.vue.d.cts +1 -1
  100. package/dist/index14.vue.d.ts +5 -5
  101. package/dist/index15.vue.d.cts +5 -5
  102. package/dist/index15.vue.d.ts +1 -1
  103. package/dist/index16.vue.d.cts +1 -1
  104. package/dist/index16.vue.d.ts +1 -1
  105. package/dist/index17.vue.d.cts +1 -1
  106. package/dist/index17.vue.d.ts +1 -1
  107. package/dist/index18.vue.d.cts +1 -1
  108. package/dist/index18.vue.d.ts +4 -4
  109. package/dist/index19.vue.d.cts +4 -4
  110. package/dist/index19.vue.d.ts +2 -2
  111. package/dist/index2.vue.d.cts +3 -3
  112. package/dist/index2.vue.d.ts +3 -3
  113. package/dist/index20.vue.d.cts +5 -1
  114. package/dist/index20.vue.d.ts +5 -1
  115. package/dist/index21.vue.d.cts +2 -2
  116. package/dist/index21.vue.d.ts +2 -2
  117. package/dist/index22.vue.d.cts +2 -2
  118. package/dist/index22.vue.d.ts +2 -2
  119. package/dist/index23.vue.d.cts +2 -2
  120. package/dist/index23.vue.d.ts +2 -2
  121. package/dist/index25.vue.d.cts +9 -4
  122. package/dist/index25.vue.d.ts +9 -4
  123. package/dist/index27.vue.d.cts +2 -2
  124. package/dist/index27.vue.d.ts +2 -2
  125. package/dist/index28.vue.d.cts +6 -2
  126. package/dist/index28.vue.d.ts +6 -2
  127. package/dist/index3.vue.d.cts +4 -4
  128. package/dist/index3.vue.d.ts +4 -4
  129. package/dist/index4.vue.d.cts +2 -2
  130. package/dist/index6.vue.d.ts +8 -5
  131. package/dist/index7.vue.d.cts +8 -5
  132. package/dist/index8.vue.d.ts +4 -6
  133. package/dist/index9.vue.d.cts +4 -6
  134. package/dist/index9.vue.d.ts +2 -2
  135. package/dist/mapUtils.d.cts +4 -4
  136. package/dist/mapUtils.d.ts +4 -4
  137. package/dist/style.css +1559 -1219
  138. package/dist/useCalendarEvents.d.cts +10 -0
  139. package/dist/useCalendarEvents.d.ts +10 -0
  140. package/dist/useCropperCore.d.cts +10 -10
  141. package/dist/useCropperCore.d.ts +10 -10
  142. package/dist/useDraggableLayout.d.cts +16 -14
  143. package/dist/useDraggableLayout.d.ts +16 -14
  144. package/dist/useEdgeInteraction.d.cts +4 -2
  145. package/dist/useEdgeInteraction.d.ts +4 -2
  146. package/dist/useFullscreen.d.cts +9 -3
  147. package/dist/useFullscreen.d.ts +9 -3
  148. package/dist/useGlobalSearch.d.cts +9 -4
  149. package/dist/useGlobalSearch.d.ts +9 -4
  150. package/dist/useInfiniteScroll.d.cts +6 -3
  151. package/dist/useInfiniteScroll.d.ts +6 -3
  152. package/dist/useQRCode.d.cts +2 -2
  153. package/dist/useQRCode.d.ts +2 -2
  154. package/dist/useSearchState.d.cts +2 -2
  155. package/dist/useSearchState.d.ts +2 -2
  156. package/dist/useSignatureHistory.d.cts +5 -5
  157. package/dist/useSignatureHistory.d.ts +5 -5
  158. package/dist/useSplitResize.d.cts +3 -3
  159. package/dist/useSplitResize.d.ts +3 -3
  160. package/dist/useTableQuery.cjs +3 -3
  161. package/dist/useTableQuery.d.cts +15 -5
  162. package/dist/useTableQuery.d.ts +15 -5
  163. package/dist/useTableQuery.js +3 -3
  164. package/dist/useTimeSelection.d.cts +2 -2
  165. package/dist/useTimeSelection.d.ts +2 -2
  166. package/dist/useWorkflowValidation.d.cts +8 -3
  167. package/dist/useWorkflowValidation.d.ts +8 -3
  168. package/dist/verification.d.cts +2 -2
  169. package/dist/verification.d.ts +2 -2
  170. package/docs/component-review-20261019.md +55 -0
  171. package/docs/components.en.md +4 -0
  172. package/docs/components.md +4 -0
  173. package/docs/guides/runtime-performance.md +38 -0
  174. package/docs/guides/split-pane.en.md +4 -0
  175. package/docs/guides/split-pane.md +4 -0
  176. package/docs/guides/table-density.md +26 -0
  177. package/docs/guides/transfer.md +11 -0
  178. package/docs/runtime-review-20261019.md +41 -0
  179. package/package.json +4 -2
@@ -59,18 +59,18 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
59
59
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
60
60
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
61
61
  }>, {
62
- placeholder: string;
63
62
  disabled: boolean;
63
+ placeholder: string;
64
64
  mode: DatePickerMode;
65
65
  startPlaceholder: string;
66
66
  endPlaceholder: string;
67
+ dateRange: DateRangeValue;
67
68
  disabledBeforeToday: boolean;
68
69
  disabledAfterToday: boolean;
69
70
  startDateProps: Record<string, unknown>;
70
71
  endDateProps: Record<string, unknown>;
71
72
  singleDate: DateValue;
72
73
  singleDateTime: DateValue;
73
- dateRange: DateRangeValue;
74
74
  dateTimeRange: DateRangeValue;
75
75
  smartRange: DateRangeValue;
76
76
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -59,18 +59,18 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
59
59
  "onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
60
60
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
61
61
  }>, {
62
- placeholder: string;
63
62
  disabled: boolean;
63
+ placeholder: string;
64
64
  mode: DatePickerMode;
65
65
  startPlaceholder: string;
66
66
  endPlaceholder: string;
67
+ dateRange: DateRangeValue;
67
68
  disabledBeforeToday: boolean;
68
69
  disabledAfterToday: boolean;
69
70
  startDateProps: Record<string, unknown>;
70
71
  endDateProps: Record<string, unknown>;
71
72
  singleDate: DateValue;
72
73
  singleDateTime: DateValue;
73
- dateRange: DateRangeValue;
74
74
  dateTimeRange: DateRangeValue;
75
75
  smartRange: DateRangeValue;
76
76
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -42,22 +42,22 @@ declare const __VLS_export: vue.DefineComponent<Props, {
42
42
  } | null>>;
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
- error: (error: Error) => any;
46
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
47
47
  "editor-mounted": (editor: EditorInstance) => any;
48
48
  "editor-change": (html: string) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
- onError?: ((error: Error) => any) | undefined;
51
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
- placeholder: string;
57
55
  modelValue: string;
58
56
  disabled: boolean;
59
- theme: "light" | "dark";
57
+ placeholder: string;
58
+ height: number;
60
59
  readonly: boolean;
60
+ theme: "light" | "dark";
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -42,22 +42,22 @@ declare const __VLS_export: vue.DefineComponent<Props, {
42
42
  } | null>>;
43
43
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
44
44
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
45
- error: (error: Error) => any;
46
45
  "update:modelValue": (value: string) => any;
46
+ error: (error: Error) => any;
47
47
  "editor-mounted": (editor: EditorInstance) => any;
48
48
  "editor-change": (html: string) => any;
49
49
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
50
- onError?: ((error: Error) => any) | undefined;
51
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
+ onError?: ((error: Error) => any) | undefined;
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
- placeholder: string;
57
55
  modelValue: string;
58
56
  disabled: boolean;
59
- theme: "light" | "dark";
57
+ placeholder: string;
58
+ height: number;
60
59
  readonly: boolean;
60
+ theme: "light" | "dark";
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- keyboard: boolean;
115
114
  steps: GuideStep[];
115
+ keyboard: boolean;
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -111,8 +111,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
111
111
  onSkip?: ((currentStep: number) => any) | undefined;
112
112
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
113
113
  }>, {
114
- keyboard: boolean;
115
114
  steps: GuideStep[];
115
+ keyboard: boolean;
116
116
  doneBtnText: string;
117
117
  nextBtnText: string;
118
118
  prevBtnText: string;
@@ -38,20 +38,20 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- size: number | string;
42
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- loading: boolean;
42
+ clickable: boolean;
43
+ color: string;
44
+ size: number | string;
44
45
  ariaLabel: string;
45
46
  title: string;
46
- color: string;
47
+ loading: boolean;
48
+ rotate: number;
47
49
  svgPath: string;
48
50
  viewBox: string;
49
51
  alt: string;
50
- clickable: boolean;
51
52
  fallbackIcon: string;
52
53
  loadTimeout: number;
53
54
  customClass: string;
54
- rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -38,20 +38,20 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
38
38
  onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
- size: number | string;
42
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- loading: boolean;
42
+ clickable: boolean;
43
+ color: string;
44
+ size: number | string;
44
45
  ariaLabel: string;
45
46
  title: string;
46
- color: string;
47
+ loading: boolean;
48
+ rotate: number;
47
49
  svgPath: string;
48
50
  viewBox: string;
49
51
  alt: string;
50
- clickable: boolean;
51
52
  fallbackIcon: string;
52
53
  loadTimeout: number;
53
54
  customClass: string;
54
- rotate: number;
55
55
  flip: "horizontal" | "vertical" | "both";
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
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
- options: LegacyLanguageOption[];
29
28
  modelValue: string;
29
+ options: LegacyLanguageOption[];
30
30
  tooltip: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -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
- size: number;
16
15
  label: string;
16
+ size: number;
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
- size: number;
16
15
  label: string;
16
+ size: number;
17
17
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  //#endregion
@@ -117,8 +117,8 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
119
  storageKey: string;
120
- loading: boolean;
121
120
  title: 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
  storageKey: string;
120
- loading: boolean;
121
120
  title: 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
- placeholder: string;
66
- isDark: boolean;
67
64
  modelValue: string;
68
65
  disabled: boolean;
66
+ placeholder: string;
67
+ height: string | number;
69
68
  mode: "edit" | "editable" | "preview";
69
+ maxLength: number;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  autofocus: boolean;
73
73
  includeLevel: number[];
74
74
  leftToolbar: string;
75
75
  rightToolbar: string;
76
- maxLength: number;
77
76
  showWordCount: boolean;
78
77
  autoSave: boolean;
79
78
  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
- placeholder: string;
66
- isDark: boolean;
67
64
  modelValue: string;
68
65
  disabled: boolean;
66
+ placeholder: string;
67
+ height: string | number;
69
68
  mode: "edit" | "editable" | "preview";
69
+ maxLength: number;
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  autofocus: boolean;
73
73
  includeLevel: number[];
74
74
  leftToolbar: string;
75
75
  rightToolbar: string;
76
- maxLength: number;
77
76
  showWordCount: boolean;
78
77
  autoSave: boolean;
79
78
  autoSaveInterval: number;
79
+ isDark: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const _default: typeof __VLS_export;
82
82
  //#endregion
@@ -45,14 +45,14 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
45
45
  showOption: (key: string) => void | undefined;
46
46
  menuRef: Ref<MenuInst | null, MenuInst | null>;
47
47
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
48
- select: (key: string) => any;
49
48
  "update:modelValue": (key: MenuValue) => any;
49
+ select: (key: string) => any;
50
50
  intent: (key: string) => any;
51
51
  "update:value": (key: MenuValue) => any;
52
52
  "update:expandedKeys": (keys: string[]) => any;
53
53
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
54
- onSelect?: ((key: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
55
+ onSelect?: ((key: string) => any) | undefined;
56
56
  onIntent?: ((key: string) => any) | undefined;
57
57
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
58
58
  "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
@@ -72,11 +72,11 @@ 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
  direction: "ltr" | "rtl";
77
- overlap: number;
78
- max: number;
79
76
  clickable: boolean;
77
+ size: number;
78
+ max: number;
79
+ overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -72,11 +72,11 @@ 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
  direction: "ltr" | "rtl";
77
- overlap: number;
78
- max: number;
79
76
  clickable: boolean;
77
+ size: number;
78
+ max: number;
79
+ overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -46,6 +46,8 @@ interface OrgChartProps {
46
46
  pannable?: boolean;
47
47
  /** 初始缩放比例 */
48
48
  initialZoom?: number;
49
+ /** 首次渲染与数据、布局变化时适配完整树形范围。 */
50
+ fitOnInit?: boolean;
49
51
  /** 最小缩放 */
50
52
  minZoom?: number;
51
53
  /** 最大缩放 */
@@ -67,6 +69,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
67
69
  zoomIn: () => void;
68
70
  zoomOut: () => void;
69
71
  resetView: () => void;
72
+ fitView: () => Promise<void>;
70
73
  zoom: vue.Ref<number, number>;
71
74
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
72
75
  "node-click": (node: OrgChartNode) => any;
@@ -78,7 +81,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
82
  }>, {
80
83
  direction: OrgChartDirection;
81
- collapsible: boolean;
82
84
  lineStyle: OrgChartLineStyle;
83
85
  lineColor: string;
84
86
  lineWidth: number;
@@ -87,8 +89,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
87
89
  zoomable: boolean;
88
90
  pannable: boolean;
89
91
  initialZoom: number;
92
+ fitOnInit: boolean;
90
93
  minZoom: number;
91
94
  maxZoom: number;
95
+ collapsible: boolean;
92
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
98
  declare const _default: typeof __VLS_export;
@@ -46,6 +46,8 @@ interface OrgChartProps {
46
46
  pannable?: boolean;
47
47
  /** 初始缩放比例 */
48
48
  initialZoom?: number;
49
+ /** 首次渲染与数据、布局变化时适配完整树形范围。 */
50
+ fitOnInit?: boolean;
49
51
  /** 最小缩放 */
50
52
  minZoom?: number;
51
53
  /** 最大缩放 */
@@ -67,6 +69,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
67
69
  zoomIn: () => void;
68
70
  zoomOut: () => void;
69
71
  resetView: () => void;
72
+ fitView: () => Promise<void>;
70
73
  zoom: vue.Ref<number, number>;
71
74
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
72
75
  "node-click": (node: OrgChartNode) => any;
@@ -78,7 +81,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
78
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
82
  }>, {
80
83
  direction: OrgChartDirection;
81
- collapsible: boolean;
82
84
  lineStyle: OrgChartLineStyle;
83
85
  lineColor: string;
84
86
  lineWidth: number;
@@ -87,8 +89,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
87
89
  zoomable: boolean;
88
90
  pannable: boolean;
89
91
  initialZoom: number;
92
+ fitOnInit: boolean;
90
93
  minZoom: number;
91
94
  maxZoom: number;
95
+ collapsible: boolean;
92
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
93
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
94
98
  declare const _default: typeof __VLS_export;
@@ -34,9 +34,9 @@ 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
37
  status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -34,9 +34,9 @@ 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
37
  status: "default" | "success" | "error" | "warning" | "info";
38
+ strokeWidth: number;
39
+ time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -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
+ repeat: number;
90
+ animation: SkeletonAnimation;
89
91
  loading: boolean;
90
92
  preset: SkeletonPreset;
91
- animation: SkeletonAnimation;
92
- repeat: number;
93
93
  borderRadius: string;
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
+ repeat: number;
90
+ animation: SkeletonAnimation;
89
91
  loading: boolean;
90
92
  preset: SkeletonPreset;
91
- animation: SkeletonAnimation;
92
- repeat: number;
93
93
  borderRadius: string;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- connected: boolean;
38
+ current: number;
39
39
  direction: "horizontal" | "vertical";
40
40
  clickable: boolean;
41
- current: number;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- connected: boolean;
38
+ current: number;
39
39
  direction: "horizontal" | "vertical";
40
40
  clickable: boolean;
41
- current: number;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -634,26 +634,31 @@ interface Props {
634
634
  theme?: 'light' | 'dark';
635
635
  }
636
636
  declare const __VLS_export: vue.DefineComponent<Props, {
637
- ganttInstance: vue.Ref<any, any>;
637
+ ganttInstance: vue.ShallowRef<any, any>;
638
+ loading: vue.Ref<boolean, boolean>;
639
+ error: vue.ShallowRef<Error | undefined, Error | undefined>;
640
+ reload: () => Promise<void>;
638
641
  updateData: (newData: GanttTask[]) => void;
639
642
  updateOptions: (newOptions: GanttOptions) => void;
640
643
  toggleFullscreen: () => Promise<void>;
641
644
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
645
+ error: (error: Error) => any;
642
646
  ganttCreated: (gantt: any) => any;
643
647
  taskClick: (task: GanttTask, event: Event) => any;
644
648
  taskChange: (task: GanttTask, changes: any) => any;
645
649
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
650
+ onError?: ((error: Error) => any) | undefined;
646
651
  onGanttCreated?: ((gantt: any) => any) | undefined;
647
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
654
  }>, {
650
655
  height: string | number;
651
- preset: GanttPreset;
652
- options: GanttOptions;
653
- title: string;
654
656
  data: GanttTask[];
657
+ title: string;
655
658
  showToolbar: boolean;
656
659
  theme: "light" | "dark";
660
+ preset: GanttPreset;
661
+ options: GanttOptions;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
664
  declare const _default: typeof __VLS_export;
@@ -634,26 +634,31 @@ interface Props {
634
634
  theme?: 'light' | 'dark';
635
635
  }
636
636
  declare const __VLS_export: vue.DefineComponent<Props, {
637
- ganttInstance: vue.Ref<any, any>;
637
+ ganttInstance: vue.ShallowRef<any, any>;
638
+ loading: vue.Ref<boolean, boolean>;
639
+ error: vue.ShallowRef<Error | undefined, Error | undefined>;
640
+ reload: () => Promise<void>;
638
641
  updateData: (newData: GanttTask[]) => void;
639
642
  updateOptions: (newOptions: GanttOptions) => void;
640
643
  toggleFullscreen: () => Promise<void>;
641
644
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
645
+ error: (error: Error) => any;
642
646
  ganttCreated: (gantt: any) => any;
643
647
  taskClick: (task: GanttTask, event: Event) => any;
644
648
  taskChange: (task: GanttTask, changes: any) => any;
645
649
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
650
+ onError?: ((error: Error) => any) | undefined;
646
651
  onGanttCreated?: ((gantt: any) => any) | undefined;
647
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
654
  }>, {
650
655
  height: string | number;
651
- preset: GanttPreset;
652
- options: GanttOptions;
653
- title: string;
654
656
  data: GanttTask[];
657
+ title: string;
655
658
  showToolbar: boolean;
656
659
  theme: "light" | "dark";
660
+ preset: GanttPreset;
661
+ options: GanttOptions;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
664
  declare const _default: typeof __VLS_export;
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- size: "small" | "medium" | "large";
94
93
  reverse: boolean;
94
+ size: "small" | "medium" | "large";
95
+ pending: boolean;
95
96
  mode: "vertical" | "horizontal";
96
97
  items: TimelineItem[];
97
98
  labelPlacement: "left" | "right" | "alternate";
98
- pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -90,12 +90,12 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
90
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- size: "small" | "medium" | "large";
94
93
  reverse: boolean;
94
+ size: "small" | "medium" | "large";
95
+ pending: boolean;
95
96
  mode: "vertical" | "horizontal";
96
97
  items: TimelineItem[];
97
98
  labelPlacement: "left" | "right" | "alternate";
98
- pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -43,6 +43,8 @@ interface TransferProps {
43
43
  targetEmptyText?: string;
44
44
  /** 尺寸 */
45
45
  size?: 'small' | 'medium' | 'large';
46
+ /** 大列表自动使用虚拟滚动;自定义可变行高或需要完整 DOM 时可关闭。默认 true,100 项起启用。 */
47
+ virtualScroll?: boolean;
46
48
  }
47
49
  /** 默认 Props */
48
50
  declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
@@ -59,13 +61,14 @@ type __VLS_Props = {
59
61
  sourceEmptyText?: string;
60
62
  targetEmptyText?: string;
61
63
  size?: TransferProps['size'];
64
+ virtualScroll?: boolean;
62
65
  };
63
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
67
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
66
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
69
72
  }>, {
70
73
  size: "small" | "medium" | "large";
71
74
  titles: [string, string];
@@ -74,6 +77,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
74
77
  showSelectAll: boolean;
75
78
  sourceEmptyText: string;
76
79
  targetEmptyText: string;
80
+ virtualScroll: boolean;
77
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
82
  declare const _default: typeof __VLS_export;
79
83
  //#endregion