@vunk/plus 1.2.2 → 1.3.1

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/components/SendOutlined.mjs +2 -2
  2. package/components/agent-chat-provider/index.d.ts +7 -0
  3. package/components/agent-chat-provider/index.mjs +789 -0
  4. package/components/agent-chat-provider/src/api.d.ts +3 -0
  5. package/components/agent-chat-provider/src/const-roles.d.ts +8 -0
  6. package/components/agent-chat-provider/src/const.d.ts +1 -0
  7. package/components/agent-chat-provider/src/index.vue.d.ts +47 -0
  8. package/components/agent-chat-provider/src/types.d.ts +37 -0
  9. package/components/agent-chat-provider/src/use.d.ts +29 -0
  10. package/components/avatar/index.mjs +2 -2
  11. package/components/avatar/src/ctx.d.ts +4 -4
  12. package/components/avatar/src/index.vue.d.ts +66 -125
  13. package/components/broadcasting-markdown/index.css +3 -0
  14. package/components/broadcasting-markdown/index.d.ts +5 -0
  15. package/components/broadcasting-markdown/index.mjs +637 -0
  16. package/components/broadcasting-markdown/src/const.d.ts +18 -0
  17. package/components/broadcasting-markdown/src/ctx.d.ts +93 -0
  18. package/components/broadcasting-markdown/src/custom-speech.vue.d.ts +109 -0
  19. package/components/broadcasting-markdown/src/index.vue.d.ts +477 -0
  20. package/components/broadcasting-markdown/src/paragraph.vue.d.ts +78 -0
  21. package/components/broadcasting-markdown/src/speech-error.vue.d.ts +60 -0
  22. package/components/broadcasting-markdown/src/types.d.ts +17 -0
  23. package/components/broadcasting-markdown/src/use.d.ts +3 -0
  24. package/components/broadcasting-markdown/src/web-speech.vue.d.ts +102 -0
  25. package/components/bubble-list/index.css +18 -0
  26. package/components/bubble-list/index.d.ts +5 -0
  27. package/components/bubble-list/index.mjs +386 -0
  28. package/components/bubble-list/src/ctx.d.ts +30 -0
  29. package/components/bubble-list/src/index.vue.d.ts +927 -0
  30. package/components/bubble-list/src/types.d.ts +4 -0
  31. package/components/bubble-templates/index.css +18 -0
  32. package/components/bubble-templates/index.d.ts +4 -0
  33. package/components/bubble-templates/index.mjs +258 -0
  34. package/components/bubble-templates/src/index.vue.d.ts +631 -0
  35. package/components/bubble-templates/src/types.d.ts +30 -0
  36. package/components/chat-independent/index.css +47 -0
  37. package/components/chat-independent/index.d.ts +4 -0
  38. package/components/chat-independent/index.mjs +184 -0
  39. package/components/chat-independent/src/const.d.ts +13 -0
  40. package/components/chat-independent/src/ctx.d.ts +20 -0
  41. package/components/chat-independent/src/index.vue.d.ts +2388 -0
  42. package/components/chat-independent/src/types.d.ts +13 -0
  43. package/components/index.d.ts +0 -0
  44. package/components/index.mjs +1 -0
  45. package/components/index2.mjs +35980 -0
  46. package/components/lottie-animation/index.mjs +2 -2
  47. package/components/lottie-animation/src/index.vue.d.ts +1 -1
  48. package/components/monaco-editor/index.mjs +2 -2
  49. package/components/monaco-editor/src/ctx.d.ts +3 -3
  50. package/components/monaco-editor/src/index.vue.d.ts +3 -3
  51. package/components/monaco-environment/index.mjs +1 -1
  52. package/components/recorder-button/index.css +7 -10
  53. package/components/recorder-button/index.mjs +115 -83
  54. package/components/recorder-button/src/ctx.d.ts +27 -6
  55. package/components/recorder-button/src/index.vue.d.ts +196 -202
  56. package/components/recorder-button/src/types.d.ts +1 -0
  57. package/components/routes-menu-content/index.mjs +5 -5
  58. package/components/routes-menu-content/src/ctx.d.ts +1 -1
  59. package/components/routes-menu-content/src/index.vue.d.ts +223 -101
  60. package/components/routes-menu-content/src/item/core/ctx.d.ts +1 -1
  61. package/components/routes-menu-content/src/item/core/index.vue.d.ts +175 -53
  62. package/components/routes-menu-content/src/item/index.vue.d.ts +221 -99
  63. package/components/sender/index.css +2 -5
  64. package/components/sender/index.mjs +32 -13
  65. package/components/sender/src/SenderHeader.vue.d.ts +31 -45
  66. package/components/sender/src/ctx.d.ts +23 -3
  67. package/components/sender/src/index.vue.d.ts +170 -124
  68. package/components/sender/src/types.d.ts +1 -1
  69. package/components/speech-button/index.mjs +7 -14
  70. package/components/speech-button/src/ctx.d.ts +1 -1
  71. package/components/speech-button/src/index.vue.d.ts +3 -3
  72. package/components/table-columns/index.d.ts +1 -1
  73. package/components/table-columns/index.mjs +3 -6
  74. package/components/table-columns/src/ctx.d.ts +8 -8
  75. package/components/table-columns/src/el-ctx.d.ts +7 -7
  76. package/components/table-columns/src/index.vue.d.ts +38 -36
  77. package/components/tables-v1/index.mjs +3 -3
  78. package/components/tables-v1/src/ctx.d.ts +66 -68
  79. package/components/tables-v1/src/el-ctx.d.ts +48 -51
  80. package/components/tables-v1/src/index.vue.d.ts +1950 -1933
  81. package/components/tables-v1-checkbox/index.mjs +269 -33
  82. package/components/tables-v1-checkbox/src/ctx.d.ts +65 -67
  83. package/components/tables-v1-checkbox/src/index.vue.d.ts +2167 -2159
  84. package/components/typing-markdown/index.mjs +128 -33
  85. package/components/typing-markdown/src/core.d.ts +2 -3
  86. package/components/typing-markdown/src/ctx.d.ts +5 -5
  87. package/components/typing-markdown/src/index.vue.d.ts +9 -9
  88. package/components/vditor/index.mjs +5 -9
  89. package/components/vditor/src/ctx.d.ts +2 -2
  90. package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -3
  91. package/components/vditor/src/handle-value.vue.d.ts +3 -3
  92. package/components/vditor/src/index.vue.d.ts +11 -11
  93. package/composables/el-breakpoints/index.d.ts +1 -1
  94. package/composables/recorder/index.mjs +751 -182
  95. package/icons/_plugin-vue_export-helper.mjs +9 -0
  96. package/icons/end/index.d.ts +4 -0
  97. package/icons/end/index.mjs +36 -0
  98. package/icons/end/src/avatar.d.ts +12 -0
  99. package/icons/end/src/icon.d.ts +57 -0
  100. package/icons/keyboard/index.d.ts +4 -0
  101. package/icons/keyboard/index.mjs +36 -0
  102. package/icons/keyboard/src/avatar.d.ts +12 -0
  103. package/icons/keyboard/src/icon.d.ts +57 -0
  104. package/icons/start/index.d.ts +4 -0
  105. package/icons/start/index.mjs +36 -0
  106. package/icons/start/src/avatar.d.ts +12 -0
  107. package/icons/start/src/icon.d.ts +57 -0
  108. package/icons/voice/index.d.ts +4 -0
  109. package/icons/voice/index.mjs +51 -0
  110. package/icons/voice/src/avatar.d.ts +12 -0
  111. package/icons/voice/src/icon.d.ts +57 -0
  112. package/icons/voice/src/index.vue.d.ts +4 -0
  113. package/index.css +99 -15
  114. package/package.json +51 -7
  115. package/fetch/PlusFetch/index.d.ts +0 -14
  116. package/fetch/PlusFetch/index.mjs +0 -638
  117. package/fetch/PlusFetch/types.d.ts +0 -54
  118. package/fetch/index.d.ts +0 -1
  119. package/fetch/index.mjs +0 -5
@@ -5,7 +5,7 @@ import type { Ref } from 'vue';
5
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  fileList: {
7
7
  type: import("vue").PropType<UploadFile<any>[]>;
8
- default: any;
8
+ default: undefined;
9
9
  };
10
10
  action: {
11
11
  type: StringConstructor;
@@ -17,12 +17,30 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
17
17
  };
18
18
  loading: {
19
19
  type: BooleanConstructor;
20
- default: any;
20
+ default: undefined;
21
+ };
22
+ modules: {
23
+ type: {
24
+ (arrayLength: number): "Attachments"[];
25
+ (...items: "Attachments"[]): "Attachments"[];
26
+ new (arrayLength: number): "Attachments"[];
27
+ new (...items: "Attachments"[]): "Attachments"[];
28
+ isArray(arg: any): arg is any[];
29
+ readonly prototype: any[];
30
+ from<T>(arrayLike: ArrayLike<T>): T[];
31
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
32
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
33
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
34
+ of<T_4>(...items: T_4[]): T_4[];
35
+ readonly [Symbol.species]: ArrayConstructor;
36
+ };
37
+ default: () => never[];
21
38
  };
22
39
  }>, {
40
+ hasAttachments: import("vue").ComputedRef<boolean>;
23
41
  actionsRender: (_: any, info: any) => JSX.Element;
24
42
  headerOpen: Ref<boolean, boolean>;
25
- attachmentsPlaceholder: (type: "drop" | "inline") => import("ant-design-x-vue/dist/typings/attachments/interface").PlaceholderType;
43
+ attachmentsPlaceholder: (type: "inline" | "drop") => import("ant-design-x-vue/dist/typings/attachments/interface").PlaceholderType;
26
44
  handlePasteFile: (file: File) => Promise<void>;
27
45
  attachmentsRef: Ref<AttachmentsRef, AttachmentsRef>;
28
46
  theFileList: import("vue").WritableComputedRef<UploadFile<any>[], UploadFile<any>[]>;
@@ -32,11 +50,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
50
  'update:fileList': (_: UploadFile<any>[]) => boolean;
33
51
  'update:modelValue': (_: string) => boolean;
34
52
  submit: (_: string) => boolean;
35
- cancel: any;
53
+ cancel: null;
36
54
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
55
  fileList: {
38
56
  type: import("vue").PropType<UploadFile<any>[]>;
39
- default: any;
57
+ default: undefined;
40
58
  };
41
59
  action: {
42
60
  type: StringConstructor;
@@ -48,14 +66,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
66
  };
49
67
  loading: {
50
68
  type: BooleanConstructor;
51
- default: any;
69
+ default: undefined;
70
+ };
71
+ modules: {
72
+ type: {
73
+ (arrayLength: number): "Attachments"[];
74
+ (...items: "Attachments"[]): "Attachments"[];
75
+ new (arrayLength: number): "Attachments"[];
76
+ new (...items: "Attachments"[]): "Attachments"[];
77
+ isArray(arg: any): arg is any[];
78
+ readonly prototype: any[];
79
+ from<T>(arrayLike: ArrayLike<T>): T[];
80
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
81
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
82
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
83
+ of<T_4>(...items: T_4[]): T_4[];
84
+ readonly [Symbol.species]: ArrayConstructor;
85
+ };
86
+ default: () => never[];
52
87
  };
53
88
  }>> & Readonly<{
54
- "onUpdate:modelValue"?: (_: string) => any;
55
- onSubmit?: (_: string) => any;
56
- onCancel?: (...args: any[] | unknown[]) => any;
57
- "onUpdate:fileList"?: (_: UploadFile<any>[]) => any;
89
+ onSubmit?: ((_: string) => any) | undefined;
90
+ onCancel?: ((...args: any[]) => any) | undefined;
91
+ "onUpdate:modelValue"?: ((_: string) => any) | undefined;
92
+ "onUpdate:fileList"?: ((_: UploadFile<any>[]) => any) | undefined;
58
93
  }>, {
94
+ modules: "Attachments"[];
59
95
  modelValue: string;
60
96
  loading: boolean;
61
97
  action: string;
@@ -63,7 +99,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
99
  }, {}, {
64
100
  Sender: {
65
101
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
66
- "onUpdate:value"?: (value: string) => any;
102
+ "onUpdate:value"?: ((value: string) => any) | undefined;
67
103
  }>, {
68
104
  nativeElement: HTMLDivElement;
69
105
  focus: (opt: any) => any;
@@ -78,17 +114,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
78
114
  M: {};
79
115
  Defaults: {};
80
116
  }, Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
81
- "onUpdate:value"?: (value: string) => any;
117
+ "onUpdate:value"?: ((value: string) => any) | undefined;
82
118
  }>, {
83
119
  nativeElement: HTMLDivElement;
84
120
  focus: (opt: any) => any;
85
121
  blur: () => any;
86
122
  }, {}, {}, {}, {}>;
87
- __isFragment?: never;
88
- __isTeleport?: never;
89
- __isSuspense?: never;
123
+ __isFragment?: undefined;
124
+ __isTeleport?: undefined;
125
+ __isSuspense?: undefined;
90
126
  } & import("vue").ComponentOptionsBase<Readonly<import("ant-design-x-vue").SenderProps> & Readonly<{
91
- "onUpdate:value"?: (value: string) => any;
127
+ "onUpdate:value"?: ((value: string) => any) | undefined;
92
128
  }>, {
93
129
  nativeElement: HTMLDivElement;
94
130
  focus: (opt: any) => any;
@@ -106,7 +142,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
106
142
  actions?(props?: {
107
143
  ori?: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
108
144
  [key: string]: any;
109
- }>;
145
+ }> | undefined;
110
146
  info?: {
111
147
  components: {
112
148
  SendButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -114,8 +150,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
114
150
  LoadingButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
115
151
  SpeechButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
116
152
  };
117
- };
118
- }): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
153
+ } | undefined;
154
+ } | undefined): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
155
+ [key: string]: any;
156
+ }>;
157
+ footer?(props?: {
158
+ info?: {
159
+ components: {
160
+ SendButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
161
+ ClearButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
162
+ LoadingButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
163
+ SpeechButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
164
+ };
165
+ } | undefined;
166
+ } | undefined): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
119
167
  [key: string]: any;
120
168
  }>;
121
169
  }> & {
@@ -128,7 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
128
176
  actions?(props?: {
129
177
  ori?: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
130
178
  [key: string]: any;
131
- }>;
179
+ }> | undefined;
132
180
  info?: {
133
181
  components: {
134
182
  SendButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -136,27 +184,39 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
136
184
  LoadingButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
137
185
  SpeechButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
186
  };
139
- };
140
- }): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
187
+ } | undefined;
188
+ } | undefined): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
189
+ [key: string]: any;
190
+ }>;
191
+ footer?(props?: {
192
+ info?: {
193
+ components: {
194
+ SendButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
195
+ ClearButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
196
+ LoadingButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
197
+ SpeechButton: import("vue").DefineComponent<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("ant-design-x-vue/dist/typings/sender/interface").AntdButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
198
+ };
199
+ } | undefined;
200
+ } | undefined): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
141
201
  [key: string]: any;
142
202
  }>;
143
203
  };
144
204
  }) & {
145
- Header: <T = any>(__VLS_props: {
146
- forceRender?: boolean;
147
- open?: boolean;
148
- onOpenChange?: (open: boolean) => void;
205
+ Header: <T_5 = any>(__VLS_props: {
206
+ forceRender?: boolean | undefined;
207
+ open?: boolean | undefined;
208
+ onOpenChange?: ((open: boolean) => void) | undefined;
149
209
  title?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
150
210
  [key: string]: any;
151
- }>;
211
+ }> | undefined;
152
212
  children?: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
153
213
  [key: string]: any;
154
- }>;
155
- className?: string;
156
- style?: import("vue").CSSProperties;
157
- classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>>;
158
- styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>>;
159
- closable?: boolean;
214
+ }> | undefined;
215
+ className?: string | undefined;
216
+ style?: import("vue").CSSProperties | undefined;
217
+ classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>> | undefined;
218
+ styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>> | undefined;
219
+ closable?: boolean | undefined;
160
220
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
161
221
  slots: Readonly<{
162
222
  default(props?: any): any;
@@ -165,22 +225,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
165
225
  };
166
226
  attrs: any;
167
227
  emit: {};
168
- }, __VLS_expose?: (exposed: import("vue").ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
228
+ } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
169
229
  props: {
170
- forceRender?: boolean;
171
- open?: boolean;
172
- onOpenChange?: (open: boolean) => void;
230
+ forceRender?: boolean | undefined;
231
+ open?: boolean | undefined;
232
+ onOpenChange?: ((open: boolean) => void) | undefined;
173
233
  title?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
174
234
  [key: string]: any;
175
- }>;
235
+ }> | undefined;
176
236
  children?: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
177
237
  [key: string]: any;
178
- }>;
179
- className?: string;
180
- style?: import("vue").CSSProperties;
181
- classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>>;
182
- styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>>;
183
- closable?: boolean;
238
+ }> | undefined;
239
+ className?: string | undefined;
240
+ style?: import("vue").CSSProperties | undefined;
241
+ classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>> | undefined;
242
+ styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>> | undefined;
243
+ closable?: boolean | undefined;
184
244
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
185
245
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
186
246
  attrs: any;
@@ -190,25 +250,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
190
250
  default(props?: any): any;
191
251
  };
192
252
  emit: {};
193
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
253
+ }> | undefined) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
194
254
  [key: string]: any;
195
255
  }> & {
196
256
  __ctx?: {
197
257
  props: {
198
- forceRender?: boolean;
199
- open?: boolean;
200
- onOpenChange?: (open: boolean) => void;
258
+ forceRender?: boolean | undefined;
259
+ open?: boolean | undefined;
260
+ onOpenChange?: ((open: boolean) => void) | undefined;
201
261
  title?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
202
262
  [key: string]: any;
203
- }>;
263
+ }> | undefined;
204
264
  children?: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
205
265
  [key: string]: any;
206
- }>;
207
- className?: string;
208
- style?: import("vue").CSSProperties;
209
- classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>>;
210
- styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>>;
211
- closable?: boolean;
266
+ }> | undefined;
267
+ className?: string | undefined;
268
+ style?: import("vue").CSSProperties | undefined;
269
+ classNames?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, string>> | undefined;
270
+ styles?: Partial<Record<import("ant-design-x-vue/dist/typings/sender/interface").SemanticType, import("vue").CSSProperties>> | undefined;
271
+ closable?: boolean | undefined;
212
272
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
213
273
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
214
274
  attrs: any;
@@ -218,7 +278,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
218
278
  default(props?: any): any;
219
279
  };
220
280
  emit: {};
221
- };
281
+ } | undefined;
222
282
  };
223
283
  };
224
284
  LinkOutlined: import("@ant-design/icons-vue/lib/icons/LinkOutlined").LinkOutlinedIconType;
@@ -238,10 +298,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
238
298
  };
239
299
  loading: {
240
300
  type: import("vue").PropType<boolean | {
241
- delay?: number;
301
+ delay?: number | undefined;
242
302
  }>;
243
303
  default: () => boolean | {
244
- delay?: number;
304
+ delay?: number | undefined;
245
305
  };
246
306
  };
247
307
  disabled: {
@@ -277,7 +337,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
277
337
  ghost: boolean;
278
338
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
279
339
  loading: boolean | {
280
- delay?: number;
340
+ delay?: number | undefined;
281
341
  };
282
342
  }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
283
343
  icon: any;
@@ -304,10 +364,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
304
364
  };
305
365
  loading: {
306
366
  type: import("vue").PropType<boolean | {
307
- delay?: number;
367
+ delay?: number | undefined;
308
368
  }>;
309
369
  default: () => boolean | {
310
- delay?: number;
370
+ delay?: number | undefined;
311
371
  };
312
372
  };
313
373
  disabled: {
@@ -343,12 +403,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
343
403
  ghost: boolean;
344
404
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
345
405
  loading: boolean | {
346
- delay?: number;
406
+ delay?: number | undefined;
347
407
  };
348
408
  }>;
349
- __isFragment?: never;
350
- __isTeleport?: never;
351
- __isSuspense?: never;
409
+ __isFragment?: undefined;
410
+ __isTeleport?: undefined;
411
+ __isSuspense?: undefined;
352
412
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
353
413
  prefixCls: StringConstructor;
354
414
  type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
@@ -364,10 +424,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
364
424
  };
365
425
  loading: {
366
426
  type: import("vue").PropType<boolean | {
367
- delay?: number;
427
+ delay?: number | undefined;
368
428
  }>;
369
429
  default: () => boolean | {
370
- delay?: number;
430
+ delay?: number | undefined;
371
431
  };
372
432
  };
373
433
  disabled: {
@@ -403,7 +463,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
403
463
  ghost: boolean;
404
464
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
405
465
  loading: boolean | {
406
- delay?: number;
466
+ delay?: number | undefined;
407
467
  };
408
468
  }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
409
469
  icon: any;
@@ -423,7 +483,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
423
483
  };
424
484
  Attachments: {
425
485
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<AttachmentsProps> & Readonly<{}>, {
426
- nativeElement: HTMLDivElement;
486
+ nativeElement: HTMLDivElement | null;
427
487
  upload: (file: File) => void;
428
488
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
429
489
  P: {};
@@ -433,26 +493,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
433
493
  M: {};
434
494
  Defaults: {};
435
495
  }, Readonly<AttachmentsProps> & Readonly<{}>, {
436
- nativeElement: HTMLDivElement;
496
+ nativeElement: HTMLDivElement | null;
437
497
  upload: (file: File) => void;
438
498
  }, {}, {}, {}, {}>;
439
- __isFragment?: never;
440
- __isTeleport?: never;
441
- __isSuspense?: never;
499
+ __isFragment?: undefined;
500
+ __isTeleport?: undefined;
501
+ __isSuspense?: undefined;
442
502
  } & import("vue").ComponentOptionsBase<Readonly<AttachmentsProps> & Readonly<{}>, {
443
- nativeElement: HTMLDivElement;
503
+ nativeElement: HTMLDivElement | null;
444
504
  upload: (file: File) => void;
445
505
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
446
506
  $slots: Readonly<{
447
507
  placeholder?(props?: {
448
- type: "drop" | "inline";
449
- }): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
508
+ type: "inline" | "drop";
509
+ } | undefined): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
450
510
  [key: string]: any;
451
511
  }>;
452
512
  }> & {
453
513
  placeholder?(props?: {
454
- type: "drop" | "inline";
455
- }): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
514
+ type: "inline" | "drop";
515
+ } | undefined): string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
456
516
  [key: string]: any;
457
517
  }>;
458
518
  };
@@ -475,7 +535,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
475
535
  default: import("@vunk/shared").AnyFunc;
476
536
  };
477
537
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
478
- 'update:modelValue': any;
538
+ 'update:modelValue': null;
479
539
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
480
540
  modelValue: {
481
541
  type: BooleanConstructor;
@@ -490,43 +550,29 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
490
550
  default: import("@vunk/shared").AnyFunc;
491
551
  };
492
552
  }>> & Readonly<{
493
- "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
553
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
494
554
  }>, {
495
- modelValue: boolean;
496
555
  title: string;
556
+ modelValue: boolean;
497
557
  contentRef: import("@vunk/shared").AnyFunc;
498
558
  }, {}, {
499
- ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{}, {
500
- ns: {
501
- namespace: import("vue").ComputedRef<string>;
502
- b: (blockSuffix?: string) => string;
503
- e: (element?: string) => string;
504
- m: (modifier?: string) => string;
505
- be: (blockSuffix?: string, element?: string) => string;
506
- em: (element?: string, modifier?: string) => string;
507
- bm: (blockSuffix?: string, modifier?: string) => string;
508
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
509
- is: {
510
- (name: string, state: boolean): string;
511
- (name: string): string;
512
- };
513
- cssVar: (object: Record<string, string>) => Record<string, string>;
514
- cssVarName: (name: string) => string;
515
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
516
- cssVarBlockName: (name: string) => string;
517
- };
518
- reset: (el: import("vue").RendererElement) => void;
519
- on: {
520
- beforeEnter(el: import("vue").RendererElement): void;
521
- enter(el: import("vue").RendererElement): void;
522
- afterEnter(el: import("vue").RendererElement): void;
523
- enterCancelled(el: import("vue").RendererElement): void;
524
- beforeLeave(el: import("vue").RendererElement): void;
525
- leave(el: import("vue").RendererElement): void;
526
- afterLeave(el: import("vue").RendererElement): void;
527
- leaveCancelled(el: import("vue").RendererElement): void;
528
- };
529
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
559
+ ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
560
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
561
+ P: {};
562
+ B: {};
563
+ D: {};
564
+ C: {};
565
+ M: {};
566
+ Defaults: {};
567
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
568
+ __isFragment?: undefined;
569
+ __isTeleport?: undefined;
570
+ __isSuspense?: undefined;
571
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
572
+ $slots: {
573
+ default?(_: {}): any;
574
+ };
575
+ })>;
530
576
  AntButton: {
531
577
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
532
578
  prefixCls: StringConstructor;
@@ -543,10 +589,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
543
589
  };
544
590
  loading: {
545
591
  type: import("vue").PropType<boolean | {
546
- delay?: number;
592
+ delay?: number | undefined;
547
593
  }>;
548
594
  default: () => boolean | {
549
- delay?: number;
595
+ delay?: number | undefined;
550
596
  };
551
597
  };
552
598
  disabled: {
@@ -582,7 +628,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
582
628
  ghost: boolean;
583
629
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
584
630
  loading: boolean | {
585
- delay?: number;
631
+ delay?: number | undefined;
586
632
  };
587
633
  }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
588
634
  icon: any;
@@ -609,10 +655,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
609
655
  };
610
656
  loading: {
611
657
  type: import("vue").PropType<boolean | {
612
- delay?: number;
658
+ delay?: number | undefined;
613
659
  }>;
614
660
  default: () => boolean | {
615
- delay?: number;
661
+ delay?: number | undefined;
616
662
  };
617
663
  };
618
664
  disabled: {
@@ -648,12 +694,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
648
694
  ghost: boolean;
649
695
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
650
696
  loading: boolean | {
651
- delay?: number;
697
+ delay?: number | undefined;
652
698
  };
653
699
  }>;
654
- __isFragment?: never;
655
- __isTeleport?: never;
656
- __isSuspense?: never;
700
+ __isFragment?: undefined;
701
+ __isTeleport?: undefined;
702
+ __isSuspense?: undefined;
657
703
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
658
704
  prefixCls: StringConstructor;
659
705
  type: import("vue").PropType<import("ant-design-vue/es/button").ButtonType>;
@@ -669,10 +715,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
669
715
  };
670
716
  loading: {
671
717
  type: import("vue").PropType<boolean | {
672
- delay?: number;
718
+ delay?: number | undefined;
673
719
  }>;
674
720
  default: () => boolean | {
675
- delay?: number;
721
+ delay?: number | undefined;
676
722
  };
677
723
  };
678
724
  disabled: {
@@ -708,7 +754,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
708
754
  ghost: boolean;
709
755
  htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
710
756
  loading: boolean | {
711
- delay?: number;
757
+ delay?: number | undefined;
712
758
  };
713
759
  }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
714
760
  icon: any;
@@ -1 +1 @@
1
- export {};
1
+ export type Module = 'Attachments';
@@ -1,8 +1,7 @@
1
1
  import { defineComponent, createVNode, createTextVNode } from 'vue';
2
2
  import { useRecorder } from '@vunk/plus/composables/recorder';
3
3
  import { Button } from 'ant-design-vue';
4
- import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
5
- import { A as AudioMutedOutlined, b as AudioOutlined } from '../SendOutlined.mjs';
4
+ import { A as AudioMutedOutlined, a as AudioOutlined } from '../SendOutlined.mjs';
6
5
 
7
6
  const props = {
8
7
  disabled: {
@@ -48,8 +47,6 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
48
47
  }
49
48
  });
50
49
 
51
- var LoadingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/speech-button/src/LoadingIcon.vue"]]);
52
-
53
50
  const SIZE = 1e3;
54
51
  const COUNT = 4;
55
52
  const RECT_WIDTH = 140;
@@ -102,12 +99,10 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
102
99
  }
103
100
  });
104
101
 
105
- var RecordingIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/speech-button/src/RecordingIcon.vue"]]);
106
-
107
102
  var _sfc_main = /* @__PURE__ */ defineComponent({
108
103
  name: "VkSpeechButton",
109
104
  components: {
110
- RecordingIcon
105
+ RecordingIcon: _sfc_main$1
111
106
  },
112
107
  props,
113
108
  emits,
@@ -134,9 +129,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
134
129
  };
135
130
  const iconRender = () => {
136
131
  if (props2.disabled) return createVNode(AudioMutedOutlined, null, null);
137
- if (opening.value) return createVNode(LoadingIcon, null, null);
132
+ if (opening.value) return createVNode(_sfc_main$2, null, null);
138
133
  if (recording.value) {
139
- return createVNode(RecordingIcon, {
134
+ return createVNode(_sfc_main$1, {
140
135
  "class": "vk-speech-button-recording-icon"
141
136
  }, null);
142
137
  }
@@ -151,14 +146,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
151
146
  }
152
147
  });
153
148
 
154
- var VkSpeechButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/speech-button/src/index.vue"]]);
155
-
156
149
  var types = /*#__PURE__*/Object.freeze({
157
150
  __proto__: null
158
151
  });
159
152
 
160
- VkSpeechButton.install = (app) => {
161
- app.component(VkSpeechButton.name || "VkSpeechButton", VkSpeechButton);
153
+ _sfc_main.install = (app) => {
154
+ app.component(_sfc_main.name || "VkSpeechButton", _sfc_main);
162
155
  };
163
156
 
164
- export { VkSpeechButton, types as __VkSpeechButton, VkSpeechButton as default };
157
+ export { _sfc_main as VkSpeechButton, types as __VkSpeechButton, _sfc_main as default };
@@ -6,5 +6,5 @@ export declare const props: {
6
6
  };
7
7
  export declare const emits: {
8
8
  stop: (_: Blob) => boolean;
9
- start: any;
9
+ start: null;
10
10
  };