@robot-admin/naive-ui-components 0.23.2 → 0.24.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 (90) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +29 -2
  3. package/README_EN.md +8 -2
  4. package/dist/C_Table.base.css +108 -130
  5. package/dist/C_Table.css +108 -130
  6. package/dist/C_Table.d.cts +2 -2
  7. package/dist/C_Table.d.ts +2 -2
  8. package/dist/C_Table2.cjs +3 -3
  9. package/dist/C_Table2.js +3 -3
  10. package/dist/constants.d.cts +1 -1
  11. package/dist/constants.d.ts +1 -1
  12. package/dist/constants2.d.cts +4 -4
  13. package/dist/constants2.d.ts +4 -4
  14. package/dist/constants3.d.cts +3 -3
  15. package/dist/constants3.d.ts +3 -3
  16. package/dist/constants4.d.cts +1 -1
  17. package/dist/constants4.d.ts +1 -1
  18. package/dist/data2.d.cts +6 -6
  19. package/dist/data2.d.ts +6 -6
  20. package/dist/index.d.cts +2 -2
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index10.vue.d.cts +3 -3
  23. package/dist/index10.vue.d.ts +2 -2
  24. package/dist/index11.vue.d.cts +2 -2
  25. package/dist/index11.vue.d.ts +12 -1
  26. package/dist/index12.vue.d.cts +12 -1
  27. package/dist/index13.vue.d.ts +5 -5
  28. package/dist/index14.vue.d.cts +5 -5
  29. package/dist/index15.vue.d.ts +8 -8
  30. package/dist/index16.vue.d.cts +8 -8
  31. package/dist/index16.vue.d.ts +1 -1
  32. package/dist/index17.vue.d.cts +1 -1
  33. package/dist/index18.vue.d.ts +1 -1
  34. package/dist/index19.vue.d.cts +1 -1
  35. package/dist/index19.vue.d.ts +1 -1
  36. package/dist/index2.vue.d.cts +2 -2
  37. package/dist/index2.vue.d.ts +2 -2
  38. package/dist/index20.vue.d.cts +1 -1
  39. package/dist/index22.vue.d.ts +2 -2
  40. package/dist/index23.vue.d.cts +2 -2
  41. package/dist/index23.vue.d.ts +2 -2
  42. package/dist/index26.vue.d.cts +3 -3
  43. package/dist/index26.vue.d.ts +3 -3
  44. package/dist/index27.vue.d.cts +2 -2
  45. package/dist/index27.vue.d.ts +2 -2
  46. package/dist/index28.vue.d.cts +1 -1
  47. package/dist/index28.vue.d.ts +1 -1
  48. package/dist/index29.vue.d.cts +2 -2
  49. package/dist/index29.vue.d.ts +2 -2
  50. package/dist/index3.vue.d.cts +3 -3
  51. package/dist/index3.vue.d.ts +3 -3
  52. package/dist/index5.vue.d.cts +2 -2
  53. package/dist/index7.vue.d.ts +3 -3
  54. package/dist/index8.vue.d.cts +3 -3
  55. package/dist/index9.vue.d.ts +3 -3
  56. package/dist/mapUtils.d.cts +2 -2
  57. package/dist/mapUtils.d.ts +2 -2
  58. package/dist/presets.d.cts +1 -1
  59. package/dist/presets.d.ts +1 -1
  60. package/dist/style.css +108 -130
  61. package/dist/useCalendarEvents.d.cts +1 -1
  62. package/dist/useCalendarEvents.d.ts +1 -1
  63. package/dist/useCollapsePanel.d.cts +1 -1
  64. package/dist/useCollapsePanel.d.ts +1 -1
  65. package/dist/useComponentLocale.cjs +1 -1
  66. package/dist/useComponentLocale.js +1 -1
  67. package/dist/useCropperCore.d.cts +9 -9
  68. package/dist/useCropperCore.d.ts +9 -9
  69. package/dist/useDynamicFormState.d.cts +14 -11
  70. package/dist/useDynamicFormState.d.ts +14 -11
  71. package/dist/useEdgeInteraction.d.cts +2 -2
  72. package/dist/useEdgeInteraction.d.ts +2 -2
  73. package/dist/useFullscreen.d.cts +3 -3
  74. package/dist/useFullscreen.d.ts +3 -3
  75. package/dist/useGlobalSearch.d.cts +1 -1
  76. package/dist/useGlobalSearch.d.ts +1 -1
  77. package/dist/useInfiniteScroll.d.cts +3 -3
  78. package/dist/useInfiniteScroll.d.ts +3 -3
  79. package/dist/useQRCode.d.cts +3 -3
  80. package/dist/useQRCode.d.ts +3 -3
  81. package/dist/useSignatureHistory.d.cts +2 -2
  82. package/dist/useSignatureHistory.d.ts +2 -2
  83. package/dist/useSplitResize.d.cts +6 -6
  84. package/dist/useSplitResize.d.ts +6 -6
  85. package/dist/useWorkflowValidation.d.cts +96 -96
  86. package/dist/useWorkflowValidation.d.ts +96 -96
  87. package/dist/verification.d.cts +2 -2
  88. package/dist/verification.d.ts +2 -2
  89. package/docs/guides/table-density.md +27 -0
  90. package/package.json +1 -1
@@ -61,10 +61,10 @@ 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
+ placeholder: string;
65
+ modelValue: string;
64
66
  disabled: boolean;
65
67
  height: string | number;
66
- modelValue: string;
67
- placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
@@ -61,10 +61,10 @@ 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
+ placeholder: string;
65
+ modelValue: string;
64
66
  disabled: boolean;
65
67
  height: string | number;
66
- modelValue: string;
67
- placeholder: string;
68
68
  mode: "edit" | "editable" | "preview";
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
@@ -55,9 +55,9 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
55
55
  props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
56
56
  "onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
57
57
  onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
58
- "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
59
58
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
60
59
  "onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
60
+ "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
61
61
  }> & (typeof globalThis extends {
62
62
  __VLS_PROPS_FALLBACK: infer P;
63
63
  } ? P : {});
@@ -67,7 +67,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
67
67
  }>) => void;
68
68
  attrs: any;
69
69
  slots: {};
70
- emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
70
+ emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
71
71
  }>) => vue.VNode & {
72
72
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
73
73
  };
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
- labelPlacement: "left" | "right" | "alternate";
97
96
  mode: "vertical" | "horizontal";
97
+ labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -84,17 +84,17 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
95
  items: TimelineItem[];
96
- labelPlacement: "left" | "right" | "alternate";
97
96
  mode: "vertical" | "horizontal";
97
+ labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  lineType: "solid" | "dashed" | "dotted";
100
100
  showTime: boolean;
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  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<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -58,14 +58,14 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
58
58
  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<{
59
59
  props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
60
60
  "onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
61
- onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
61
+ onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
62
62
  }> & (typeof globalThis extends {
63
63
  __VLS_PROPS_FALLBACK: infer P;
64
64
  } ? P : {});
65
65
  expose: (exposed: {}) => void;
66
66
  attrs: any;
67
67
  slots: {};
68
- emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void);
68
+ emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
69
69
  }>) => vue.VNode & {
70
70
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
71
71
  };
@@ -86,9 +86,9 @@ 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
- loading: boolean;
90
89
  animation: SkeletonAnimation;
91
90
  repeat: number;
91
+ loading: boolean;
92
92
  borderRadius: string;
93
93
  preset: SkeletonPreset;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,9 +86,9 @@ 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
- loading: boolean;
90
89
  animation: SkeletonAnimation;
91
90
  repeat: number;
91
+ loading: boolean;
92
92
  borderRadius: string;
93
93
  preset: SkeletonPreset;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -81,10 +81,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- lineColor: string;
85
- lineWidth: number;
86
84
  collapsible: boolean;
85
+ lineColor: string;
87
86
  lineStyle: OrgChartLineStyle;
87
+ lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
90
90
  zoomable: boolean;
@@ -81,10 +81,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
83
  direction: OrgChartDirection;
84
- lineColor: string;
85
- lineWidth: number;
86
84
  collapsible: boolean;
85
+ lineColor: string;
87
86
  lineStyle: OrgChartLineStyle;
87
+ lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
90
90
  zoomable: boolean;
@@ -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
+ label: string;
23
24
  width: number;
24
25
  height: number;
25
26
  fontSize: number;
26
27
  showBorder: boolean;
27
- label: string;
28
- lineColor: string;
28
+ showLabel: boolean;
29
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
30
  showText: boolean;
31
31
  textPosition: "bottom" | "top";
32
+ lineColor: string;
32
33
  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
+ label: string;
23
24
  width: number;
24
25
  height: number;
25
26
  fontSize: number;
26
27
  showBorder: boolean;
27
- label: string;
28
- lineColor: string;
28
+ showLabel: boolean;
29
29
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
30
30
  showText: boolean;
31
31
  textPosition: "bottom" | "top";
32
+ lineColor: string;
32
33
  background: string;
33
- showLabel: boolean;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -113,9 +113,9 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
113
113
  props: vue.PublicProps & __VLS_PrettifyLocal<MenuProps<Options> & {
114
114
  "onUpdate:modelValue"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
115
115
  onSelect?: ((key: MenuSelectionKey<Options>) => any) | undefined;
116
- "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
117
116
  onIntent?: ((key: MenuSelectionKey<Options>) => any) | undefined;
118
117
  "onUpdate:value"?: ((key: MenuSelectionKey<Options> | null) => any) | undefined;
118
+ "onUpdate:expandedKeys"?: ((keys: MenuSelectionKey<Options>[]) => any) | undefined;
119
119
  }> & (typeof globalThis extends {
120
120
  __VLS_PROPS_FALLBACK: infer P;
121
121
  } ? P : {});
@@ -125,7 +125,7 @@ declare const __VLS_export: <Options extends MenuOption[] | undefined = undefine
125
125
  }>) => void;
126
126
  attrs: any;
127
127
  slots: {};
128
- emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void);
128
+ emit: ((evt: "update:modelValue", key: MenuSelectionKey<Options> | null) => void) & ((evt: "select", key: MenuSelectionKey<Options>) => void) & ((evt: "intent", key: MenuSelectionKey<Options>) => void) & ((evt: "update:value", key: MenuSelectionKey<Options> | null) => void) & ((evt: "update:expandedKeys", keys: MenuSelectionKey<Options>[]) => void);
129
129
  }>) => vue.VNode & {
130
130
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
131
131
  };
@@ -88,25 +88,24 @@ 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;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -88,25 +88,24 @@ 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;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
- virtualScroll: boolean;
110
109
  showContacts: boolean;
111
110
  showTimestamp: boolean;
112
111
  showSendBtn: boolean;
@@ -116,6 +115,7 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
116
115
  currentContactId: string;
117
116
  selfAvatar: string;
118
117
  selfName: string;
118
+ virtualScroll: boolean;
119
119
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
120
120
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
121
121
  declare const _default: typeof __VLS_export;
@@ -23,20 +23,20 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- copy: (code: string) => any;
27
26
  click: (event: MouseEvent) => any;
27
+ copy: (code: string) => any;
28
28
  fullscreen: (isFullscreen: boolean) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onCopy?: ((code: string) => any) | undefined;
31
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
+ onCopy?: ((code: string) => any) | undefined;
32
32
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
33
33
  }>, {
34
+ trim: boolean;
34
35
  code: string;
35
36
  language: string;
36
37
  showHeader: boolean;
37
38
  showLineNumbers: boolean;
38
39
  wordWrap: boolean;
39
- trim: boolean;
40
40
  showFullscreen: boolean;
41
41
  autoLoadLanguage: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
+ center: MapCoordinate;
94
95
  height: string;
95
- zoom: number;
96
96
  ariaLabel: string;
97
- center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onError?: ((error: Error) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
+ center: MapCoordinate;
94
95
  height: string;
95
- zoom: number;
96
96
  ariaLabel: string;
97
- center: MapCoordinate;
97
+ zoom: number;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -15,10 +15,10 @@ 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[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
package/dist/presets.d.ts CHANGED
@@ -15,10 +15,10 @@ 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[];
20
19
  leftActions: ActionItem[];
21
20
  rightActions: ActionItem[];
21
+ config: ActionBarConfig;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;