@robot-admin/naive-ui-components 0.37.1 → 0.38.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 (156) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +24 -3
  3. package/README_EN.md +23 -2
  4. package/dist/C_AntV.css +30 -30
  5. package/dist/C_AudioPlayer.css +4 -4
  6. package/dist/C_Captcha.css +31 -19
  7. package/dist/C_Captcha.d.ts +1 -1
  8. package/dist/C_DataPicker.d.ts +0 -1
  9. package/dist/C_Density2.cjs +1 -1
  10. package/dist/C_Density2.js +1 -1
  11. package/dist/C_FilePreview.css +1 -1
  12. package/dist/C_Form.base.css +61 -58
  13. package/dist/C_Form.css +61 -58
  14. package/dist/C_Form.d.cts +1 -1
  15. package/dist/C_Form.d.ts +2 -1
  16. package/dist/C_FormModal.d.ts +2 -1
  17. package/dist/C_FormSearch.d.ts +2 -2
  18. package/dist/C_GlobalSearch.css +12 -12
  19. package/dist/C_Guide.css +6 -6
  20. package/dist/C_Guide2.cjs +1 -1
  21. package/dist/C_Guide2.js +1 -1
  22. package/dist/C_Login.css +139 -112
  23. package/dist/C_Login.d.ts +1 -1
  24. package/dist/C_Login2.cjs +1 -1
  25. package/dist/C_Login2.js +1 -1
  26. package/dist/C_NotificationCenter.css +91 -91
  27. package/dist/C_NotificationCenter2.cjs +1 -1
  28. package/dist/C_NotificationCenter2.js +1 -1
  29. package/dist/C_Table.base.css +231 -212
  30. package/dist/C_Table.cjs +1 -1
  31. package/dist/C_Table.css +170 -154
  32. package/dist/C_Table.d.cts +2 -1
  33. package/dist/C_Table.d.ts +2 -3
  34. package/dist/C_Table.js +1 -1
  35. package/dist/C_Table2.cjs +4 -4
  36. package/dist/C_Table2.js +4 -4
  37. package/dist/C_Timeline.css +2 -2
  38. package/dist/C_Tree.d.cts +1 -0
  39. package/dist/C_Tree.d.ts +0 -1
  40. package/dist/C_UserPicker.d.ts +0 -1
  41. package/dist/C_VideoPlayer.css +26 -26
  42. package/dist/C_VideoPlayer2.cjs +1 -1
  43. package/dist/C_VideoPlayer2.js +1 -1
  44. package/dist/C_VtableGantt.css +34 -32
  45. package/dist/C_WorkFlow.css +35 -35
  46. package/dist/C_WorkFlow.d.ts +0 -1
  47. package/dist/C_WorkFlow2.cjs +1 -1
  48. package/dist/C_WorkFlow2.js +1 -1
  49. package/dist/Card.cjs +1 -1
  50. package/dist/Card.js +1 -1
  51. package/dist/UML.cjs +1 -1
  52. package/dist/UML.js +1 -1
  53. package/dist/component-config.d.ts +1723 -2
  54. package/dist/config.cjs +1 -1
  55. package/dist/config.d.cts +3 -3
  56. package/dist/config.d.ts +4 -3
  57. package/dist/config.js +1 -1
  58. package/dist/constants3.d.cts +5 -5
  59. package/dist/constants3.d.ts +5 -5
  60. package/dist/constants4.d.cts +5 -5
  61. package/dist/constants4.d.ts +5 -5
  62. package/dist/context.cjs +1 -1
  63. package/dist/context.d.cts +1118 -3
  64. package/dist/context.js +1 -1
  65. package/dist/data2.d.cts +3 -3
  66. package/dist/data2.d.ts +3 -3
  67. package/dist/dateRange.d.ts +1 -1
  68. package/dist/editors.d.cts +9 -7
  69. package/dist/editors.d.ts +9 -7
  70. package/dist/graphics.cjs +1 -1
  71. package/dist/graphics.d.cts +0 -45
  72. package/dist/graphics.d.ts +0 -45
  73. package/dist/graphics.js +1 -1
  74. package/dist/index.cjs +1 -1
  75. package/dist/index.d.cts +5 -4
  76. package/dist/index.d.ts +4 -5
  77. package/dist/index.js +1 -1
  78. package/dist/index.vue.d.cts +4 -4
  79. package/dist/index.vue.d.ts +4 -4
  80. package/dist/index10.vue.d.ts +5 -5
  81. package/dist/index11.vue.d.cts +5 -5
  82. package/dist/index11.vue.d.ts +4 -4
  83. package/dist/index12.vue.d.cts +4 -4
  84. package/dist/index13.vue.d.ts +2 -2
  85. package/dist/index14.vue.d.cts +2 -2
  86. package/dist/index15.vue.d.ts +1 -1
  87. package/dist/index16.vue.d.cts +1 -1
  88. package/dist/index16.vue.d.ts +3 -3
  89. package/dist/index17.vue.d.cts +3 -3
  90. package/dist/index17.vue.d.ts +6 -6
  91. package/dist/index18.vue.d.cts +6 -6
  92. package/dist/index19.vue.d.ts +1 -1
  93. package/dist/index20.vue.d.cts +1 -1
  94. package/dist/index21.vue.d.ts +2 -2
  95. package/dist/index22.vue.d.cts +2 -2
  96. package/dist/index27.vue.d.cts +2 -2
  97. package/dist/index27.vue.d.ts +2 -2
  98. package/dist/index28.vue.d.cts +2 -2
  99. package/dist/index28.vue.d.ts +2 -2
  100. package/dist/index3.vue.d.cts +2 -2
  101. package/dist/index3.vue.d.ts +2 -2
  102. package/dist/index30.vue.d.cts +1 -1
  103. package/dist/index30.vue.d.ts +1 -1
  104. package/dist/index31.vue.d.cts +2 -2
  105. package/dist/index31.vue.d.ts +2 -2
  106. package/dist/index32.vue.d.cts +2 -2
  107. package/dist/index32.vue.d.ts +2 -2
  108. package/dist/index4.vue.d.cts +2 -2
  109. package/dist/index4.vue.d.ts +2 -2
  110. package/dist/index8.vue.d.ts +2 -2
  111. package/dist/index9.vue.d.cts +2 -2
  112. package/dist/presets.d.cts +1 -1
  113. package/dist/presets.d.ts +1 -1
  114. package/dist/style.css +612 -564
  115. package/dist/theme.cjs +1 -1
  116. package/dist/theme.d.cts +27 -8
  117. package/dist/theme.d.ts +27 -8
  118. package/dist/theme.js +1 -1
  119. package/dist/theme2.cjs +1 -1
  120. package/dist/theme2.js +1 -1
  121. package/dist/types3.d.ts +5 -1119
  122. package/dist/types4.d.cts +5 -1119
  123. package/dist/types6.d.ts +2 -1
  124. package/dist/types7.d.cts +2 -1
  125. package/dist/useCalendarEvents.d.cts +2 -2
  126. package/dist/useCalendarEvents.d.ts +2 -2
  127. package/dist/useCollapsePanel.d.cts +7 -7
  128. package/dist/useCollapsePanel.d.ts +7 -7
  129. package/dist/useComponentTheme.cjs +1 -1
  130. package/dist/useComponentTheme.js +1 -1
  131. package/dist/useCropperCore.d.cts +8 -8
  132. package/dist/useCropperCore.d.ts +8 -8
  133. package/dist/useDynamicFormState.d.cts +1 -1
  134. package/dist/useDynamicFormState.d.ts +1 -1
  135. package/dist/useEdgeInteraction.d.cts +1 -1
  136. package/dist/useEdgeInteraction.d.ts +1 -1
  137. package/dist/useFormRenderer.d.cts +1 -1
  138. package/dist/useFormRenderer.d.ts +1 -1
  139. package/dist/useGlobalSearch.d.cts +1 -1
  140. package/dist/useGlobalSearch.d.ts +1 -1
  141. package/dist/useInfiniteScroll.d.cts +4 -4
  142. package/dist/useInfiniteScroll.d.ts +4 -4
  143. package/dist/useQRCode.d.cts +3 -3
  144. package/dist/useQRCode.d.ts +3 -3
  145. package/dist/useSignatureHistory.d.cts +3 -3
  146. package/dist/useSignatureHistory.d.ts +3 -3
  147. package/dist/useSplitResize.d.cts +3 -3
  148. package/dist/useSplitResize.d.ts +3 -3
  149. package/dist/verification.d.cts +7 -7
  150. package/dist/verification.d.ts +7 -7
  151. package/docs/guides/table-density.md +19 -2
  152. package/docs/guides/theme.md +44 -2
  153. package/package.json +2 -1
  154. package/dist/context.d.ts +0 -610
  155. package/dist/useTableGlobalConfig.cjs +0 -1
  156. package/dist/useTableGlobalConfig.js +0 -1
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
80
  minWidth: number;
81
81
  maxWidth: number;
82
+ zIndex: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
79
+ items: ContextMenuItem[];
80
80
  minWidth: number;
81
81
  maxWidth: number;
82
+ zIndex: number;
82
83
  subMenuPlacement: "right" | "left";
83
84
  autoClose: boolean;
84
- zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -53,10 +53,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
55
  height: number;
56
- modelValue: string;
57
56
  disabled: boolean;
58
- placeholder: string;
57
+ modelValue: string;
59
58
  readonly: boolean;
59
+ placeholder: string;
60
60
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
61
61
  declare const _default: typeof __VLS_export;
62
62
  //#endregion
@@ -53,10 +53,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
55
  height: number;
56
- modelValue: string;
57
56
  disabled: boolean;
58
- placeholder: string;
57
+ modelValue: string;
59
58
  readonly: boolean;
59
+ placeholder: string;
60
60
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
61
61
  declare const _default: typeof __VLS_export;
62
62
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as SubmitEventPayload, O as FormOption, a as FormConfig, k as FormRecord } from "./context.js";
1
+ import { Ot as FormConfig, Qt as FormRecord, Zt as FormOption, dn as SubmitEventPayload } from "./component-config.js";
2
2
  import { r as FormRenderer } from "./useFormRenderer.js";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -1,4 +1,4 @@
1
- import { H as SubmitEventPayload, O as FormOption, a as FormConfig, k as FormRecord } from "./context.cjs";
1
+ import { Et as FormConfig, Xt as FormRecord, Yt as FormOption, ln as SubmitEventPayload } from "./context.cjs";
2
2
  import { r as FormRenderer } from "./useFormRenderer.cjs";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -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
- start: () => any;
102
101
  close: (currentStep: number) => any;
102
+ start: () => 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
- onStart?: (() => any) | undefined;
109
108
  onClose?: ((currentStep: number) => any) | undefined;
109
+ onStart?: (() => 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
114
  keyboard: boolean;
115
- steps: GuideStep[];
116
115
  showTrigger: boolean;
116
+ steps: GuideStep[];
117
117
  doneBtnText: string;
118
118
  nextBtnText: string;
119
119
  prevBtnText: string;
@@ -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
- start: () => any;
102
101
  close: (currentStep: number) => any;
102
+ start: () => 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
- onStart?: (() => any) | undefined;
109
108
  onClose?: ((currentStep: number) => any) | undefined;
109
+ onStart?: (() => 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
114
  keyboard: boolean;
115
- steps: GuideStep[];
116
115
  showTrigger: boolean;
116
+ steps: GuideStep[];
117
117
  doneBtnText: string;
118
118
  nextBtnText: string;
119
119
  prevBtnText: string;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  title: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- size: number | string;
44
43
  loading: boolean;
45
- color: string;
44
+ size: number | string;
46
45
  clickable: boolean;
46
+ flip: "horizontal" | "vertical" | "both";
47
+ color: string;
47
48
  ariaLabel: string;
48
- rotate: number;
49
49
  svgPath: string;
50
50
  viewBox: string;
51
51
  alt: string;
52
52
  fallbackIcon: string;
53
53
  loadTimeout: number;
54
54
  customClass: string;
55
- flip: "horizontal" | "vertical" | "both";
55
+ rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  title: string;
42
42
  type: "iconify" | "unocss" | "component" | "svg" | "image";
43
- size: number | string;
44
43
  loading: boolean;
45
- color: string;
44
+ size: number | string;
46
45
  clickable: boolean;
46
+ flip: "horizontal" | "vertical" | "both";
47
+ color: string;
47
48
  ariaLabel: string;
48
- rotate: number;
49
49
  svgPath: string;
50
50
  viewBox: string;
51
51
  alt: string;
52
52
  fallbackIcon: string;
53
53
  loadTimeout: number;
54
54
  customClass: string;
55
- flip: "horizontal" | "vertical" | "both";
55
+ rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  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
@@ -62,11 +62,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
64
  height: string | number;
65
- modelValue: string;
66
65
  disabled: boolean;
66
+ modelValue: string;
67
67
  placeholder: string;
68
- mode: "edit" | "editable" | "preview";
69
68
  autofocus: boolean;
69
+ mode: "edit" | "editable" | "preview";
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  includeLevel: number[];
@@ -62,11 +62,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
64
  height: string | number;
65
- modelValue: string;
66
65
  disabled: boolean;
66
+ modelValue: string;
67
67
  placeholder: string;
68
- mode: "edit" | "editable" | "preview";
69
68
  autofocus: boolean;
69
+ mode: "edit" | "editable" | "preview";
70
70
  tocNavPosition: "left" | "right";
71
71
  defaultFullscreen: boolean;
72
72
  includeLevel: number[];
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
90
  loading: boolean;
91
- preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
91
  borderRadius: string;
92
+ animation: SkeletonAnimation;
93
+ preset: SkeletonPreset;
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;
@@ -88,9 +88,9 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
89
  repeat: number;
90
90
  loading: boolean;
91
- preset: SkeletonPreset;
92
- animation: SkeletonAnimation;
93
91
  borderRadius: string;
92
+ animation: SkeletonAnimation;
93
+ preset: SkeletonPreset;
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
- current: number;
40
- clickable: boolean;
41
39
  connected: boolean;
40
+ clickable: boolean;
41
+ current: number;
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
- current: number;
40
- clickable: boolean;
41
39
  connected: boolean;
40
+ clickable: boolean;
41
+ current: number;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -75,11 +75,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
75
75
  direction: "ltr" | "rtl";
76
76
  size: number;
77
77
  max: number;
78
- clickable: boolean;
79
78
  overlap: number;
80
- shape: "square" | "circle";
79
+ shape: "circle" | "square";
81
80
  showStatus: boolean;
82
81
  showTooltip: boolean;
82
+ clickable: boolean;
83
83
  overflowClickable: boolean;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -75,11 +75,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
75
75
  direction: "ltr" | "rtl";
76
76
  size: number;
77
77
  max: number;
78
- clickable: boolean;
79
78
  overlap: number;
80
- shape: "square" | "circle";
79
+ shape: "circle" | "square";
81
80
  showStatus: boolean;
82
81
  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;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  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;
89
88
  homePath: string;
90
89
  homeTitle: string;
91
90
  homeIcon: string;
91
+ persistKey: string;
92
92
  contextMenuLabels: LegacyContextMenuLabels;
93
93
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
94
94
  declare const _default: typeof __VLS_export;
@@ -93,9 +93,9 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
- labelPlacement: "left" | "right" | "alternate";
97
- mode: "vertical" | "horizontal";
98
96
  pending: boolean;
97
+ mode: "vertical" | "horizontal";
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -93,9 +93,9 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
- labelPlacement: "left" | "right" | "alternate";
97
- mode: "vertical" | "horizontal";
98
96
  pending: boolean;
97
+ mode: "vertical" | "horizontal";
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
101
101
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -61,7 +61,7 @@ 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: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
64
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
65
65
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
@@ -69,7 +69,7 @@ declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props:
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -61,7 +61,7 @@ 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: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
64
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
65
65
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
66
66
  }> & (typeof globalThis extends {
67
67
  __VLS_PROPS_FALLBACK: infer P;
@@ -69,7 +69,7 @@ declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props:
69
69
  expose: (exposed: {}) => void;
70
70
  attrs: any;
71
71
  slots: {};
72
- emit: ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
72
+ emit: ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: T["key"][]) => void);
73
73
  }>) => vue.VNode & {
74
74
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
75
75
  };
@@ -24,11 +24,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
24
24
  width: number;
25
25
  height: number;
26
26
  label: string;
27
- fontSize: number;
28
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
+ fontSize: number;
29
+ background: string;
29
30
  showText: boolean;
30
31
  textPosition: "bottom" | "top";
31
- background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -24,11 +24,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
24
24
  width: number;
25
25
  height: number;
26
26
  label: string;
27
- fontSize: number;
28
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
+ fontSize: number;
29
+ background: string;
29
30
  showText: boolean;
30
31
  textPosition: "bottom" | "top";
31
- background: string;
32
32
  showBorder: boolean;
33
33
  showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
- "load-more": () => any;
92
91
  send: (content: string) => any;
93
92
  "select-contact": (id: string) => any;
93
+ "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
- "onLoad-more"?: (() => any) | undefined;
101
100
  onSend?: ((content: string) => any) | undefined;
102
101
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
+ "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -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
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
19
+ config: ActionBarConfig;
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
- config: ActionBarConfig;
19
18
  actions: ActionItem[];
19
+ config: ActionBarConfig;
20
20
  leftActions: ActionItem[];
21
21
  rightActions: ActionItem[];
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;