@robot-admin/naive-ui-components 0.17.4 → 0.17.6

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 (119) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/C_Form.cjs +1 -1
  3. package/dist/C_Form.js +1 -1
  4. package/dist/C_FormModal2.cjs +1 -1
  5. package/dist/C_FormModal2.js +1 -1
  6. package/dist/C_Table.base.css +108 -109
  7. package/dist/C_Table.css +108 -109
  8. package/dist/C_Time.css +4 -4
  9. package/dist/C_Time2.cjs +1 -1
  10. package/dist/C_Time2.js +1 -1
  11. package/dist/C_WorkFlow.css +39 -39
  12. package/dist/C_WorkFlow2.cjs +1 -1
  13. package/dist/C_WorkFlow2.js +1 -1
  14. package/dist/constants.d.cts +2 -2
  15. package/dist/constants.d.ts +2 -2
  16. package/dist/constants2.d.cts +2 -2
  17. package/dist/constants2.d.ts +2 -2
  18. package/dist/constants3.d.cts +4 -4
  19. package/dist/constants3.d.ts +4 -4
  20. package/dist/constants4.d.cts +6 -6
  21. package/dist/constants4.d.ts +6 -6
  22. package/dist/constants5.d.cts +2 -2
  23. package/dist/constants5.d.ts +2 -2
  24. package/dist/data.d.cts +9 -9
  25. package/dist/data.d.ts +9 -9
  26. package/dist/formValidation.cjs +1 -0
  27. package/dist/formValidation.js +1 -0
  28. package/dist/helpers.cjs +1 -1
  29. package/dist/helpers.js +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.js +1 -1
  32. package/dist/index.vue.d.cts +5 -5
  33. package/dist/index.vue.d.ts +5 -5
  34. package/dist/index10.vue.d.cts +5 -5
  35. package/dist/index10.vue.d.ts +3 -3
  36. package/dist/index11.vue.d.cts +3 -3
  37. package/dist/index11.vue.d.ts +5 -5
  38. package/dist/index12.vue.d.cts +5 -5
  39. package/dist/index13.vue.d.ts +3 -3
  40. package/dist/index14.vue.d.cts +3 -3
  41. package/dist/index14.vue.d.ts +7 -7
  42. package/dist/index15.vue.d.cts +7 -7
  43. package/dist/index15.vue.d.ts +2 -2
  44. package/dist/index16.vue.d.cts +2 -2
  45. package/dist/index16.vue.d.ts +1 -1
  46. package/dist/index17.vue.d.cts +1 -1
  47. package/dist/index17.vue.d.ts +1 -1
  48. package/dist/index18.vue.d.cts +1 -1
  49. package/dist/index18.vue.d.ts +5 -5
  50. package/dist/index19.vue.d.cts +5 -5
  51. package/dist/index19.vue.d.ts +2 -1
  52. package/dist/index2.vue.d.cts +2 -2
  53. package/dist/index2.vue.d.ts +2 -2
  54. package/dist/index20.vue.d.cts +1 -1
  55. package/dist/index20.vue.d.ts +1 -1
  56. package/dist/index21.vue.d.cts +3 -3
  57. package/dist/index21.vue.d.ts +3 -3
  58. package/dist/index22.vue.d.cts +3 -3
  59. package/dist/index22.vue.d.ts +3 -3
  60. package/dist/index23.vue.d.cts +1 -1
  61. package/dist/index23.vue.d.ts +1 -1
  62. package/dist/index25.vue.d.cts +3 -3
  63. package/dist/index25.vue.d.ts +3 -3
  64. package/dist/index27.vue.d.cts +1 -1
  65. package/dist/index27.vue.d.ts +1 -1
  66. package/dist/index28.vue.d.cts +3 -3
  67. package/dist/index28.vue.d.ts +3 -3
  68. package/dist/index3.vue.d.cts +5 -5
  69. package/dist/index3.vue.d.ts +5 -5
  70. package/dist/index4.vue.d.cts +2 -1
  71. package/dist/index5.vue.d.ts +2 -2
  72. package/dist/index6.vue.d.cts +2 -2
  73. package/dist/index6.vue.d.ts +3 -3
  74. package/dist/index7.vue.d.cts +3 -3
  75. package/dist/index7.vue.d.ts +2 -2
  76. package/dist/index8.vue.d.cts +2 -2
  77. package/dist/index8.vue.d.ts +3 -3
  78. package/dist/index9.vue.d.cts +3 -3
  79. package/dist/index9.vue.d.ts +5 -5
  80. package/dist/mapUtils.d.cts +1 -1
  81. package/dist/mapUtils.d.ts +1 -1
  82. package/dist/presets.d.cts +1 -1
  83. package/dist/presets.d.ts +1 -1
  84. package/dist/style.css +151 -152
  85. package/dist/useCollapsePanel.d.cts +3 -3
  86. package/dist/useCollapsePanel.d.ts +3 -3
  87. package/dist/useCropperCore.d.cts +8 -8
  88. package/dist/useCropperCore.d.ts +8 -8
  89. package/dist/useDraggableLayout.d.cts +5 -5
  90. package/dist/useDraggableLayout.d.ts +5 -5
  91. package/dist/useDynamicFormState.d.cts +2 -2
  92. package/dist/useDynamicFormState.d.ts +2 -2
  93. package/dist/useEdgeInteraction.d.cts +1 -1
  94. package/dist/useEdgeInteraction.d.ts +1 -1
  95. package/dist/useFullscreen.d.cts +3 -3
  96. package/dist/useFullscreen.d.ts +3 -3
  97. package/dist/useInfiniteScroll.d.cts +2 -2
  98. package/dist/useInfiniteScroll.d.ts +2 -2
  99. package/dist/useQRCode.d.cts +6 -6
  100. package/dist/useQRCode.d.ts +6 -6
  101. package/dist/useSearchState.d.cts +5 -5
  102. package/dist/useSearchState.d.ts +5 -5
  103. package/dist/useSignatureHistory.d.cts +1 -1
  104. package/dist/useSignatureHistory.d.ts +1 -1
  105. package/dist/useSplitResize.d.cts +6 -6
  106. package/dist/useSplitResize.d.ts +6 -6
  107. package/dist/useTableQuery.cjs +3 -3
  108. package/dist/useTableQuery.d.cts +10 -8
  109. package/dist/useTableQuery.d.ts +10 -8
  110. package/dist/useTableQuery.js +3 -3
  111. package/dist/useTimeSelection.d.cts +14 -9
  112. package/dist/useTimeSelection.d.ts +14 -9
  113. package/dist/useWorkflowValidation.d.cts +5 -5
  114. package/dist/useWorkflowValidation.d.ts +5 -5
  115. package/dist/verification.d.cts +8 -8
  116. package/dist/verification.d.ts +8 -8
  117. package/docs/guides/usage.en.md +8 -0
  118. package/docs/guides/usage.md +8 -0
  119. package/package.json +2 -1
@@ -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
+ strokeWidth: number;
38
+ time: 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,11 +86,11 @@ 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
- preset: SkeletonPreset;
90
- loading: boolean;
91
- animation: SkeletonAnimation;
92
89
  repeat: number;
93
90
  borderRadius: string;
91
+ loading: boolean;
92
+ preset: SkeletonPreset;
93
+ animation: SkeletonAnimation;
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;
@@ -86,11 +86,11 @@ 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
- preset: SkeletonPreset;
90
- loading: boolean;
91
- animation: SkeletonAnimation;
92
89
  repeat: number;
93
90
  borderRadius: string;
91
+ loading: boolean;
92
+ preset: SkeletonPreset;
93
+ animation: SkeletonAnimation;
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;
@@ -35,9 +35,9 @@ 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
+ clickable: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
- clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -35,9 +35,9 @@ 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
+ clickable: boolean;
38
39
  direction: "horizontal" | "vertical";
39
40
  current: number;
40
- clickable: boolean;
41
41
  connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- theme: "light" | "dark";
656
- preset: GanttPreset;
657
655
  height: string | number;
658
- showToolbar: boolean;
659
656
  data: GanttTask[];
657
+ showToolbar: boolean;
658
+ theme: "light" | "dark";
660
659
  title: string;
661
660
  options: GanttOptions;
661
+ preset: GanttPreset;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  declare const _default: typeof __VLS_export;
@@ -652,13 +652,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
652
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
653
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
654
654
  }>, {
655
- theme: "light" | "dark";
656
- preset: GanttPreset;
657
655
  height: string | number;
658
- showToolbar: boolean;
659
656
  data: GanttTask[];
657
+ showToolbar: boolean;
658
+ theme: "light" | "dark";
660
659
  title: string;
661
660
  options: GanttOptions;
661
+ preset: GanttPreset;
662
662
  showFullscreenButton: boolean;
663
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
664
664
  declare const _default: typeof __VLS_export;
@@ -90,9 +90,9 @@ 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
+ mode: "vertical" | "horizontal";
93
94
  reverse: boolean;
94
95
  size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
96
  items: TimelineItem[];
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
@@ -90,9 +90,9 @@ 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
+ mode: "vertical" | "horizontal";
93
94
  reverse: boolean;
94
95
  size: "small" | "medium" | "large";
95
- mode: "vertical" | "horizontal";
96
96
  items: TimelineItem[];
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
@@ -64,12 +64,13 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
+ virtualScroll: boolean;
73
74
  size: "small" | "medium" | "large";
74
75
  titles: [string, string];
75
76
  filterable: boolean;
@@ -77,7 +78,6 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
77
78
  showSelectAll: boolean;
78
79
  sourceEmptyText: string;
79
80
  targetEmptyText: string;
80
- virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -64,12 +64,13 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
+ virtualScroll: boolean;
73
74
  size: "small" | "medium" | "large";
74
75
  titles: [string, string];
75
76
  filterable: boolean;
@@ -77,7 +78,6 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
77
78
  showSelectAll: boolean;
78
79
  sourceEmptyText: string;
79
80
  targetEmptyText: string;
80
- virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- showBorder: boolean;
24
- label: string;
25
- showLabel: boolean;
26
23
  height: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- width: number;
24
+ label: string;
29
25
  fontSize: number;
30
26
  lineColor: string;
27
+ width: number;
28
+ showBorder: boolean;
29
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
30
  showText: boolean;
32
31
  textPosition: "bottom" | "top";
33
32
  background: string;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- showBorder: boolean;
24
- label: string;
25
- showLabel: boolean;
26
23
  height: number;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
- width: number;
24
+ label: string;
29
25
  fontSize: number;
30
26
  lineColor: string;
27
+ width: number;
28
+ showBorder: boolean;
29
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
30
  showText: boolean;
32
31
  textPosition: "bottom" | "top";
33
32
  background: string;
33
+ showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -95,7 +95,8 @@ interface MenuEmits {
95
95
  }
96
96
  interface MenuExpose {
97
97
  showOption: (key: string) => void;
98
- menuRef: Ref<MenuInst | null>;
98
+ /** Vue 公开实例会解包顶层 Ref。 */
99
+ menuRef: MenuInst | null;
99
100
  }
100
101
  //#endregion
101
102
  //#region src/components/C_Menu/index.vue.d.ts
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, 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;
@@ -107,8 +107,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
109
  placeholder: string;
110
- title: string;
111
110
  virtualScroll: boolean;
111
+ title: string;
112
112
  showContacts: boolean;
113
113
  showTimestamp: boolean;
114
114
  showSendBtn: boolean;
@@ -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;
@@ -107,8 +107,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
109
  placeholder: string;
110
- title: string;
111
110
  virtualScroll: boolean;
111
+ title: string;
112
112
  showContacts: boolean;
113
113
  showTimestamp: boolean;
114
114
  showSendBtn: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -24,16 +24,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
26
  click: (event: MouseEvent) => any;
27
- fullscreen: (isFullscreen: boolean) => any;
28
27
  copy: (code: string) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
31
  onCopy?: ((code: string) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
- language: string;
36
35
  code: string;
36
+ language: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
@@ -24,16 +24,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
26
  click: (event: MouseEvent) => any;
27
- fullscreen: (isFullscreen: boolean) => any;
28
27
  copy: (code: string) => any;
28
+ fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
31
  onCopy?: ((code: string) => any) | undefined;
32
+ onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
34
  trim: boolean;
35
- language: string;
36
35
  code: string;
36
+ language: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;
@@ -61,25 +61,25 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
61
61
  close: () => void; /** 当前是否可见 */
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
+ select: (item: ContextMenuItem) => any;
65
+ close: () => any;
64
66
  open: (position: {
65
67
  x: number;
66
68
  y: number;
67
69
  }) => any;
68
- close: () => any;
69
- select: (item: ContextMenuItem) => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
+ onClose?: (() => any) | undefined;
71
73
  onOpen?: ((position: {
72
74
  x: number;
73
75
  y: number;
74
76
  }) => any) | undefined;
75
- onClose?: (() => any) | undefined;
76
- onSelect?: ((item: ContextMenuItem) => any) | undefined;
77
77
  }>, {
78
78
  disabled: boolean;
79
- items: ContextMenuItem[];
80
79
  zIndex: number;
81
80
  minWidth: number;
82
81
  maxWidth: number;
82
+ items: ContextMenuItem[];
83
83
  subMenuPlacement: "right" | "left";
84
84
  autoClose: boolean;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -93,8 +93,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
93
93
  }>, {
94
94
  height: string;
95
95
  ariaLabel: string;
96
- zoom: number;
97
96
  center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -93,8 +93,8 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
93
93
  }>, {
94
94
  height: string;
95
95
  ariaLabel: string;
96
- zoom: number;
97
96
  center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -76,8 +76,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
76
76
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
77
77
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
78
78
  }>, {
79
- config: ActionBarConfig;
80
79
  actions: ActionItem[];
80
+ config: ActionBarConfig;
81
81
  leftActions: ActionItem[];
82
82
  rightActions: ActionItem[];
83
83
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
package/dist/presets.d.ts CHANGED
@@ -76,8 +76,8 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
76
76
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
77
77
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
78
78
  }>, {
79
- config: ActionBarConfig;
80
79
  actions: ActionItem[];
80
+ config: ActionBarConfig;
81
81
  leftActions: ActionItem[];
82
82
  rightActions: ActionItem[];
83
83
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;