persagy-vant 0.0.27 → 0.0.28

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 (163) hide show
  1. package/es/cascader/Cascader.d.ts +1 -1
  2. package/es/cascader/index.d.ts +1 -1
  3. package/es/coupon-list/style/index.mjs +1 -1
  4. package/es/coupon-list/style/less.mjs +1 -1
  5. package/es/index.d.ts +2 -2
  6. package/es/index.mjs +4 -4
  7. package/es/label/Label.d.ts +92 -0
  8. package/es/label/Label.mjs +95 -0
  9. package/es/label/index.css +1 -0
  10. package/es/label/index.d.ts +64 -0
  11. package/es/label/index.less +113 -0
  12. package/es/label/index.mjs +8 -0
  13. package/es/label/style/index.mjs +6 -0
  14. package/es/label/style/less.mjs +6 -0
  15. package/es/label/var.less +11 -0
  16. package/es/location-select/style/index.mjs +1 -1
  17. package/es/location-select/style/less.mjs +1 -1
  18. package/es/material-add/MaterialAdd.d.ts +105 -1
  19. package/es/material-add/MaterialAdd.mjs +63 -23
  20. package/es/material-add/index.d.ts +73 -1
  21. package/es/quantity-input/QuantityInput.d.ts +1 -1
  22. package/es/quantity-input/index.d.ts +2 -2
  23. package/es/radio-panel/RadioPanel.d.ts +46 -1
  24. package/es/radio-panel/RadioPanel.mjs +115 -29
  25. package/es/radio-panel/index.css +1 -1
  26. package/es/radio-panel/index.d.ts +35 -1
  27. package/es/radio-panel/index.less +17 -0
  28. package/es/radio-panel/style/index.mjs +4 -0
  29. package/es/radio-panel/style/less.mjs +4 -0
  30. package/es/sticky/Sticky.d.ts +1 -1
  31. package/es/sticky/index.d.ts +1 -1
  32. package/es/tabs/TabsTitle.mjs +1 -0
  33. package/es/tabs/index.css +1 -1
  34. package/es/tabs/index.less +11 -0
  35. package/es/tag/Tag.d.ts +1 -1
  36. package/es/tag/index.css +1 -1
  37. package/es/tag/index.less +7 -0
  38. package/es/tag/var.less +3 -0
  39. package/lib/cascader/Cascader.d.ts +1 -1
  40. package/lib/cascader/index.d.ts +1 -1
  41. package/lib/coupon-list/style/index.js +1 -1
  42. package/lib/coupon-list/style/less.js +1 -1
  43. package/lib/index.css +1 -1
  44. package/lib/index.d.ts +2 -2
  45. package/lib/index.js +4 -4
  46. package/lib/index.less +6 -6
  47. package/lib/label/Label.d.ts +92 -0
  48. package/lib/label/Label.js +114 -0
  49. package/lib/label/index.css +1 -0
  50. package/lib/label/index.d.ts +64 -0
  51. package/lib/{bot-mobile/session-filter.js → label/index.js} +16 -13
  52. package/lib/label/index.less +113 -0
  53. package/lib/label/style/index.js +6 -0
  54. package/lib/label/style/less.js +6 -0
  55. package/lib/label/var.less +11 -0
  56. package/lib/location-select/style/index.js +1 -1
  57. package/lib/location-select/style/less.js +1 -1
  58. package/lib/material-add/MaterialAdd.d.ts +105 -1
  59. package/lib/material-add/MaterialAdd.js +63 -23
  60. package/lib/material-add/index.d.ts +73 -1
  61. package/lib/quantity-input/QuantityInput.d.ts +1 -1
  62. package/lib/quantity-input/index.d.ts +2 -2
  63. package/lib/radio-panel/RadioPanel.d.ts +46 -1
  64. package/lib/radio-panel/RadioPanel.js +114 -28
  65. package/lib/radio-panel/index.css +1 -1
  66. package/lib/radio-panel/index.d.ts +35 -1
  67. package/lib/radio-panel/index.less +17 -0
  68. package/lib/radio-panel/style/index.js +4 -0
  69. package/lib/radio-panel/style/less.js +4 -0
  70. package/lib/sticky/Sticky.d.ts +1 -1
  71. package/lib/sticky/index.d.ts +1 -1
  72. package/lib/tabs/TabsTitle.js +1 -0
  73. package/lib/tabs/index.css +1 -1
  74. package/lib/tabs/index.less +11 -0
  75. package/lib/tag/Tag.d.ts +1 -1
  76. package/lib/tag/index.css +1 -1
  77. package/lib/tag/index.less +7 -0
  78. package/lib/tag/var.less +3 -0
  79. package/lib/vant.cjs.js +1212 -1769
  80. package/lib/vant.es.js +1212 -1769
  81. package/lib/vant.js +13016 -24376
  82. package/lib/vant.min.js +1 -1
  83. package/lib/web-types.json +1 -1
  84. package/package.json +4 -4
  85. package/es/bot-mobile/BotFab.d.ts +0 -72
  86. package/es/bot-mobile/BotFab.mjs +0 -152
  87. package/es/bot-mobile/BotHistoryDrawer.d.ts +0 -72
  88. package/es/bot-mobile/BotHistoryDrawer.mjs +0 -97
  89. package/es/bot-mobile/BotMobile.d.ts +0 -83
  90. package/es/bot-mobile/BotMobile.mjs +0 -47
  91. package/es/bot-mobile/BotMobileContextTags.d.ts +0 -52
  92. package/es/bot-mobile/BotMobileContextTags.mjs +0 -52
  93. package/es/bot-mobile/BotMobilePrompts.d.ts +0 -54
  94. package/es/bot-mobile/BotMobilePrompts.mjs +0 -49
  95. package/es/bot-mobile/BotMobileSheet.d.ts +0 -92
  96. package/es/bot-mobile/BotMobileSheet.mjs +0 -50
  97. package/es/bot-mobile/BotMobileView.d.ts +0 -82
  98. package/es/bot-mobile/BotMobileView.mjs +0 -45
  99. package/es/bot-mobile/BotSessionList.d.ts +0 -71
  100. package/es/bot-mobile/BotSessionList.mjs +0 -99
  101. package/es/bot-mobile/BotVoiceBar.d.ts +0 -80
  102. package/es/bot-mobile/BotVoiceBar.mjs +0 -138
  103. package/es/bot-mobile/fab-position.d.ts +0 -9
  104. package/es/bot-mobile/fab-position.mjs +0 -10
  105. package/es/bot-mobile/fab-position.test.d.ts +0 -1
  106. package/es/bot-mobile/fab-position.test.mjs +0 -29
  107. package/es/bot-mobile/index.css +0 -1
  108. package/es/bot-mobile/index.d.ts +0 -469
  109. package/es/bot-mobile/index.less +0 -464
  110. package/es/bot-mobile/index.mjs +0 -50
  111. package/es/bot-mobile/session-filter.d.ts +0 -6
  112. package/es/bot-mobile/session-filter.mjs +0 -15
  113. package/es/bot-mobile/session-item.d.ts +0 -15
  114. package/es/bot-mobile/session-item.mjs +0 -73
  115. package/es/bot-mobile/style/index.mjs +0 -15
  116. package/es/bot-mobile/style/less.mjs +0 -15
  117. package/es/bot-mobile/types.d.ts +0 -23
  118. package/es/bot-mobile/types.mjs +0 -0
  119. package/es/bot-mobile/var.less +0 -58
  120. package/es/bot-mobile/voice-zone.d.ts +0 -6
  121. package/es/bot-mobile/voice-zone.mjs +0 -6
  122. package/es/bot-mobile/voice-zone.test.d.ts +0 -1
  123. package/es/bot-mobile/voice-zone.test.mjs +0 -19
  124. package/lib/bot-mobile/BotFab.d.ts +0 -72
  125. package/lib/bot-mobile/BotFab.js +0 -171
  126. package/lib/bot-mobile/BotHistoryDrawer.d.ts +0 -72
  127. package/lib/bot-mobile/BotHistoryDrawer.js +0 -116
  128. package/lib/bot-mobile/BotMobile.d.ts +0 -83
  129. package/lib/bot-mobile/BotMobile.js +0 -66
  130. package/lib/bot-mobile/BotMobileContextTags.d.ts +0 -52
  131. package/lib/bot-mobile/BotMobileContextTags.js +0 -71
  132. package/lib/bot-mobile/BotMobilePrompts.d.ts +0 -54
  133. package/lib/bot-mobile/BotMobilePrompts.js +0 -68
  134. package/lib/bot-mobile/BotMobileSheet.d.ts +0 -92
  135. package/lib/bot-mobile/BotMobileSheet.js +0 -79
  136. package/lib/bot-mobile/BotMobileView.d.ts +0 -82
  137. package/lib/bot-mobile/BotMobileView.js +0 -64
  138. package/lib/bot-mobile/BotSessionList.d.ts +0 -71
  139. package/lib/bot-mobile/BotSessionList.js +0 -118
  140. package/lib/bot-mobile/BotVoiceBar.d.ts +0 -80
  141. package/lib/bot-mobile/BotVoiceBar.js +0 -157
  142. package/lib/bot-mobile/fab-position.d.ts +0 -9
  143. package/lib/bot-mobile/fab-position.js +0 -29
  144. package/lib/bot-mobile/fab-position.test.d.ts +0 -1
  145. package/lib/bot-mobile/fab-position.test.js +0 -29
  146. package/lib/bot-mobile/index.css +0 -1
  147. package/lib/bot-mobile/index.d.ts +0 -469
  148. package/lib/bot-mobile/index.js +0 -79
  149. package/lib/bot-mobile/index.less +0 -464
  150. package/lib/bot-mobile/session-filter.d.ts +0 -6
  151. package/lib/bot-mobile/session-item.d.ts +0 -15
  152. package/lib/bot-mobile/session-item.js +0 -92
  153. package/lib/bot-mobile/style/index.js +0 -15
  154. package/lib/bot-mobile/style/less.js +0 -15
  155. package/lib/bot-mobile/types.d.ts +0 -23
  156. package/lib/bot-mobile/types.js +0 -15
  157. package/lib/bot-mobile/var.less +0 -58
  158. package/lib/bot-mobile/voice-zone.d.ts +0 -6
  159. package/lib/bot-mobile/voice-zone.js +0 -25
  160. package/lib/bot-mobile/voice-zone.test.d.ts +0 -1
  161. package/lib/bot-mobile/voice-zone.test.js +0 -19
  162. /package/es/{bot-mobile → label}/var.css +0 -0
  163. /package/lib/{bot-mobile → label}/var.css +0 -0
@@ -1,469 +0,0 @@
1
- export declare const BotMobile: import("../utils").WithInstall<import("vue").DefineComponent<{
2
- gatewayBaseUrl: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- businessContext: import("vue").PropType<Record<string, unknown>>;
7
- references: {
8
- type: import("vue").PropType<unknown[]>;
9
- default: () => never[];
10
- };
11
- title: StringConstructor;
12
- showHeader: {
13
- type: BooleanConstructor;
14
- default: true;
15
- };
16
- showFooter: {
17
- type: BooleanConstructor;
18
- default: true;
19
- };
20
- clientId: StringConstructor;
21
- autoConnect: {
22
- type: BooleanConstructor;
23
- default: true;
24
- };
25
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
- gatewayBaseUrl: {
27
- type: import("vue").PropType<string>;
28
- default: string;
29
- };
30
- businessContext: import("vue").PropType<Record<string, unknown>>;
31
- references: {
32
- type: import("vue").PropType<unknown[]>;
33
- default: () => never[];
34
- };
35
- title: StringConstructor;
36
- showHeader: {
37
- type: BooleanConstructor;
38
- default: true;
39
- };
40
- showFooter: {
41
- type: BooleanConstructor;
42
- default: true;
43
- };
44
- clientId: StringConstructor;
45
- autoConnect: {
46
- type: BooleanConstructor;
47
- default: true;
48
- };
49
- }>>, {
50
- gatewayBaseUrl: string;
51
- references: unknown[];
52
- showHeader: boolean;
53
- showFooter: boolean;
54
- autoConnect: boolean;
55
- }>>;
56
- export default BotMobile;
57
- export declare const BotMobilePrompts: import("../utils").WithInstall<import("vue").DefineComponent<{
58
- items: {
59
- type: import("vue").PropType<import("./types").BotMobilePromptItem[]>;
60
- default: () => never[];
61
- };
62
- title: {
63
- type: import("vue").PropType<string>;
64
- default: string;
65
- };
66
- activeId: {
67
- type: import("vue").PropType<string>;
68
- default: string;
69
- };
70
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
71
- items: {
72
- type: import("vue").PropType<import("./types").BotMobilePromptItem[]>;
73
- default: () => never[];
74
- };
75
- title: {
76
- type: import("vue").PropType<string>;
77
- default: string;
78
- };
79
- activeId: {
80
- type: import("vue").PropType<string>;
81
- default: string;
82
- };
83
- }>> & {
84
- onSelect?: ((...args: any[]) => any) | undefined;
85
- }, {
86
- title: string;
87
- items: import("./types").BotMobilePromptItem[];
88
- activeId: string;
89
- }>>;
90
- export declare const BotMobileContextTags: import("../utils").WithInstall<import("vue").DefineComponent<{
91
- tags: {
92
- type: import("vue").PropType<import("./types").BotMobileContextTag[]>;
93
- default: () => never[];
94
- };
95
- modelValue: {
96
- type: import("vue").PropType<string[]>;
97
- default: () => never[];
98
- };
99
- max: {
100
- type: NumberConstructor;
101
- default: number;
102
- };
103
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
104
- tags: {
105
- type: import("vue").PropType<import("./types").BotMobileContextTag[]>;
106
- default: () => never[];
107
- };
108
- modelValue: {
109
- type: import("vue").PropType<string[]>;
110
- default: () => never[];
111
- };
112
- max: {
113
- type: NumberConstructor;
114
- default: number;
115
- };
116
- }>> & {
117
- onChange?: ((...args: any[]) => any) | undefined;
118
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
119
- }, {
120
- max: number;
121
- tags: import("./types").BotMobileContextTag[];
122
- modelValue: string[];
123
- }>>;
124
- export declare const BotMobileSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
125
- gatewayBaseUrl: {
126
- type: import("vue").PropType<string>;
127
- default: string;
128
- };
129
- businessContext: import("vue").PropType<Record<string, unknown>>;
130
- references: {
131
- type: import("vue").PropType<unknown[]>;
132
- default: () => never[];
133
- };
134
- title: StringConstructor;
135
- showHeader: {
136
- type: BooleanConstructor;
137
- default: true;
138
- };
139
- showFooter: {
140
- type: BooleanConstructor;
141
- default: true;
142
- };
143
- clientId: StringConstructor;
144
- autoConnect: {
145
- type: BooleanConstructor;
146
- default: true;
147
- };
148
- } & {
149
- show: BooleanConstructor;
150
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
151
- gatewayBaseUrl: {
152
- type: import("vue").PropType<string>;
153
- default: string;
154
- };
155
- businessContext: import("vue").PropType<Record<string, unknown>>;
156
- references: {
157
- type: import("vue").PropType<unknown[]>;
158
- default: () => never[];
159
- };
160
- title: StringConstructor;
161
- showHeader: {
162
- type: BooleanConstructor;
163
- default: true;
164
- };
165
- showFooter: {
166
- type: BooleanConstructor;
167
- default: true;
168
- };
169
- clientId: StringConstructor;
170
- autoConnect: {
171
- type: BooleanConstructor;
172
- default: true;
173
- };
174
- } & {
175
- show: BooleanConstructor;
176
- }>> & {
177
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
178
- }, {
179
- show: boolean;
180
- gatewayBaseUrl: string;
181
- references: unknown[];
182
- showHeader: boolean;
183
- showFooter: boolean;
184
- autoConnect: boolean;
185
- }>>;
186
- export declare const BotMobileView: import("../utils").WithInstall<import("vue").DefineComponent<{
187
- messages: {
188
- type: import("vue").PropType<unknown[]>;
189
- default: () => never[];
190
- };
191
- title: {
192
- type: import("vue").PropType<string>;
193
- default: string;
194
- };
195
- showHeader: {
196
- type: BooleanConstructor;
197
- default: true;
198
- };
199
- showFooter: {
200
- type: BooleanConstructor;
201
- default: true;
202
- };
203
- placeholder: {
204
- type: import("vue").PropType<string>;
205
- default: string;
206
- };
207
- generating: BooleanConstructor;
208
- disabled: BooleanConstructor;
209
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
210
- messages: {
211
- type: import("vue").PropType<unknown[]>;
212
- default: () => never[];
213
- };
214
- title: {
215
- type: import("vue").PropType<string>;
216
- default: string;
217
- };
218
- showHeader: {
219
- type: BooleanConstructor;
220
- default: true;
221
- };
222
- showFooter: {
223
- type: BooleanConstructor;
224
- default: true;
225
- };
226
- placeholder: {
227
- type: import("vue").PropType<string>;
228
- default: string;
229
- };
230
- generating: BooleanConstructor;
231
- disabled: BooleanConstructor;
232
- }>>, {
233
- title: string;
234
- disabled: boolean;
235
- placeholder: string;
236
- showHeader: boolean;
237
- showFooter: boolean;
238
- messages: unknown[];
239
- generating: boolean;
240
- }>>;
241
- export declare const BotFab: import("../utils").WithInstall<import("vue").DefineComponent<{
242
- icon: {
243
- type: import("vue").PropType<string>;
244
- default: string;
245
- };
246
- side: {
247
- type: import("vue").PropType<import("./fab-position").FabSide>;
248
- default: import("./fab-position").FabSide;
249
- };
250
- offsetBottom: {
251
- type: NumberConstructor;
252
- default: number;
253
- };
254
- draggable: {
255
- type: BooleanConstructor;
256
- default: true;
257
- };
258
- badge: (NumberConstructor | StringConstructor)[];
259
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "positionChange")[], "click" | "positionChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
260
- icon: {
261
- type: import("vue").PropType<string>;
262
- default: string;
263
- };
264
- side: {
265
- type: import("vue").PropType<import("./fab-position").FabSide>;
266
- default: import("./fab-position").FabSide;
267
- };
268
- offsetBottom: {
269
- type: NumberConstructor;
270
- default: number;
271
- };
272
- draggable: {
273
- type: BooleanConstructor;
274
- default: true;
275
- };
276
- badge: (NumberConstructor | StringConstructor)[];
277
- }>> & {
278
- onClick?: ((...args: any[]) => any) | undefined;
279
- onPositionChange?: ((...args: any[]) => any) | undefined;
280
- }, {
281
- icon: string;
282
- side: import("./fab-position").FabSide;
283
- offsetBottom: number;
284
- draggable: boolean;
285
- }>>;
286
- export declare const BotHistoryDrawer: import("../utils").WithInstall<import("vue").DefineComponent<{
287
- show: BooleanConstructor;
288
- sessions: {
289
- type: import("vue").PropType<import("./types").BotMobileSession[]>;
290
- default: () => never[];
291
- };
292
- activeId: {
293
- type: import("vue").PropType<string>;
294
- default: string;
295
- };
296
- searchable: {
297
- type: BooleanConstructor;
298
- default: true;
299
- };
300
- title: {
301
- type: import("vue").PropType<string>;
302
- default: string;
303
- };
304
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "delete" | "rename" | "create")[], "select" | "update:show" | "delete" | "rename" | "create", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
305
- show: BooleanConstructor;
306
- sessions: {
307
- type: import("vue").PropType<import("./types").BotMobileSession[]>;
308
- default: () => never[];
309
- };
310
- activeId: {
311
- type: import("vue").PropType<string>;
312
- default: string;
313
- };
314
- searchable: {
315
- type: BooleanConstructor;
316
- default: true;
317
- };
318
- title: {
319
- type: import("vue").PropType<string>;
320
- default: string;
321
- };
322
- }>> & {
323
- onSelect?: ((...args: any[]) => any) | undefined;
324
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
325
- onDelete?: ((...args: any[]) => any) | undefined;
326
- onRename?: ((...args: any[]) => any) | undefined;
327
- onCreate?: ((...args: any[]) => any) | undefined;
328
- }, {
329
- title: string;
330
- show: boolean;
331
- activeId: string;
332
- sessions: import("./types").BotMobileSession[];
333
- searchable: boolean;
334
- }>>;
335
- export declare const BotVoiceBar: import("../utils").WithInstall<import("vue").DefineComponent<{
336
- state: {
337
- type: import("vue").PropType<import("./BotVoiceBar").BotVoiceBarState>;
338
- default: import("./BotVoiceBar").BotVoiceBarState;
339
- };
340
- elapsedLabel: {
341
- type: import("vue").PropType<string>;
342
- default: string;
343
- };
344
- amplitudes: {
345
- type: import("vue").PropType<number[]>;
346
- default: () => never[];
347
- };
348
- cancelDistance: {
349
- type: NumberConstructor;
350
- default: number;
351
- };
352
- hint: {
353
- type: import("vue").PropType<string>;
354
- default: string;
355
- };
356
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("start" | "cancel" | "adopt" | "cancelZoneChange")[], "start" | "cancel" | "adopt" | "cancelZoneChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
357
- state: {
358
- type: import("vue").PropType<import("./BotVoiceBar").BotVoiceBarState>;
359
- default: import("./BotVoiceBar").BotVoiceBarState;
360
- };
361
- elapsedLabel: {
362
- type: import("vue").PropType<string>;
363
- default: string;
364
- };
365
- amplitudes: {
366
- type: import("vue").PropType<number[]>;
367
- default: () => never[];
368
- };
369
- cancelDistance: {
370
- type: NumberConstructor;
371
- default: number;
372
- };
373
- hint: {
374
- type: import("vue").PropType<string>;
375
- default: string;
376
- };
377
- }>> & {
378
- onCancel?: ((...args: any[]) => any) | undefined;
379
- onStart?: ((...args: any[]) => any) | undefined;
380
- onAdopt?: ((...args: any[]) => any) | undefined;
381
- onCancelZoneChange?: ((...args: any[]) => any) | undefined;
382
- }, {
383
- state: import("./BotVoiceBar").BotVoiceBarState;
384
- elapsedLabel: string;
385
- amplitudes: number[];
386
- cancelDistance: number;
387
- hint: string;
388
- }>>;
389
- export declare const BotSessionList: import("../utils").WithInstall<import("vue").DefineComponent<{
390
- sessions: {
391
- type: import("vue").PropType<import("./types").BotMobileSession[]>;
392
- default: () => never[];
393
- };
394
- activeId: {
395
- type: import("vue").PropType<string>;
396
- default: string;
397
- };
398
- searchable: {
399
- type: BooleanConstructor;
400
- default: true;
401
- };
402
- loading: BooleanConstructor;
403
- emptyText: {
404
- type: import("vue").PropType<string>;
405
- default: string;
406
- };
407
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "delete" | "rename" | "create")[], "select" | "delete" | "rename" | "create", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
408
- sessions: {
409
- type: import("vue").PropType<import("./types").BotMobileSession[]>;
410
- default: () => never[];
411
- };
412
- activeId: {
413
- type: import("vue").PropType<string>;
414
- default: string;
415
- };
416
- searchable: {
417
- type: BooleanConstructor;
418
- default: true;
419
- };
420
- loading: BooleanConstructor;
421
- emptyText: {
422
- type: import("vue").PropType<string>;
423
- default: string;
424
- };
425
- }>> & {
426
- onSelect?: ((...args: any[]) => any) | undefined;
427
- onDelete?: ((...args: any[]) => any) | undefined;
428
- onRename?: ((...args: any[]) => any) | undefined;
429
- onCreate?: ((...args: any[]) => any) | undefined;
430
- }, {
431
- loading: boolean;
432
- activeId: string;
433
- sessions: import("./types").BotMobileSession[];
434
- searchable: boolean;
435
- emptyText: string;
436
- }>>;
437
- export { botMobileProps } from './BotMobile';
438
- export type { BotMobileProps } from './BotMobile';
439
- export { botMobilePromptsProps } from './BotMobilePrompts';
440
- export type { BotMobilePromptsProps } from './BotMobilePrompts';
441
- export { botMobileContextTagsProps } from './BotMobileContextTags';
442
- export type { BotMobileContextTagsProps } from './BotMobileContextTags';
443
- export { botMobileSheetProps } from './BotMobileSheet';
444
- export type { BotMobileSheetProps } from './BotMobileSheet';
445
- export { botMobileViewProps } from './BotMobileView';
446
- export type { BotMobileViewProps } from './BotMobileView';
447
- export { botFabProps } from './BotFab';
448
- export type { BotFabProps, BotFabPositionChangePayload } from './BotFab';
449
- export { botHistoryDrawerProps } from './BotHistoryDrawer';
450
- export type { BotHistoryDrawerProps } from './BotHistoryDrawer';
451
- export { botVoiceBarProps } from './BotVoiceBar';
452
- export type { BotVoiceBarProps, BotVoiceBarState } from './BotVoiceBar';
453
- export { botSessionListProps } from './BotSessionList';
454
- export type { BotSessionListProps } from './BotSessionList';
455
- export type { BotMobileExpose, BotMobileBotRef, BotMobilePromptItem, BotMobileContextTag, BotMobileSession, } from './types';
456
- export type { FabSide } from './fab-position';
457
- declare module 'vue' {
458
- interface GlobalComponents {
459
- VanBotMobile: typeof BotMobile;
460
- VanBotMobilePrompts: typeof BotMobilePrompts;
461
- VanBotMobileContextTags: typeof BotMobileContextTags;
462
- VanBotMobileSheet: typeof BotMobileSheet;
463
- VanBotMobileView: typeof BotMobileView;
464
- VanBotFab: typeof BotFab;
465
- VanBotHistoryDrawer: typeof BotHistoryDrawer;
466
- VanBotVoiceBar: typeof BotVoiceBar;
467
- VanBotSessionList: typeof BotSessionList;
468
- }
469
- }
@@ -1,79 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
- var stdin_exports = {};
29
- __export(stdin_exports, {
30
- BotFab: () => BotFab,
31
- BotHistoryDrawer: () => BotHistoryDrawer,
32
- BotMobile: () => BotMobile,
33
- BotMobileContextTags: () => BotMobileContextTags,
34
- BotMobilePrompts: () => BotMobilePrompts,
35
- BotMobileSheet: () => BotMobileSheet,
36
- BotMobileView: () => BotMobileView,
37
- BotSessionList: () => BotSessionList,
38
- BotVoiceBar: () => BotVoiceBar,
39
- botFabProps: () => import_BotFab2.botFabProps,
40
- botHistoryDrawerProps: () => import_BotHistoryDrawer2.botHistoryDrawerProps,
41
- botMobileContextTagsProps: () => import_BotMobileContextTags2.botMobileContextTagsProps,
42
- botMobilePromptsProps: () => import_BotMobilePrompts2.botMobilePromptsProps,
43
- botMobileProps: () => import_BotMobile2.botMobileProps,
44
- botMobileSheetProps: () => import_BotMobileSheet2.botMobileSheetProps,
45
- botMobileViewProps: () => import_BotMobileView2.botMobileViewProps,
46
- botSessionListProps: () => import_BotSessionList2.botSessionListProps,
47
- botVoiceBarProps: () => import_BotVoiceBar2.botVoiceBarProps,
48
- default: () => stdin_default
49
- });
50
- module.exports = __toCommonJS(stdin_exports);
51
- var import_utils = require("../utils");
52
- var import_BotMobile = __toESM(require("./BotMobile"));
53
- var import_BotMobilePrompts = __toESM(require("./BotMobilePrompts"));
54
- var import_BotMobileContextTags = __toESM(require("./BotMobileContextTags"));
55
- var import_BotMobileSheet = __toESM(require("./BotMobileSheet"));
56
- var import_BotMobileView = __toESM(require("./BotMobileView"));
57
- var import_BotFab = __toESM(require("./BotFab"));
58
- var import_BotHistoryDrawer = __toESM(require("./BotHistoryDrawer"));
59
- var import_BotVoiceBar = __toESM(require("./BotVoiceBar"));
60
- var import_BotSessionList = __toESM(require("./BotSessionList"));
61
- var import_BotMobile2 = require("./BotMobile");
62
- var import_BotMobilePrompts2 = require("./BotMobilePrompts");
63
- var import_BotMobileContextTags2 = require("./BotMobileContextTags");
64
- var import_BotMobileSheet2 = require("./BotMobileSheet");
65
- var import_BotMobileView2 = require("./BotMobileView");
66
- var import_BotFab2 = require("./BotFab");
67
- var import_BotHistoryDrawer2 = require("./BotHistoryDrawer");
68
- var import_BotVoiceBar2 = require("./BotVoiceBar");
69
- var import_BotSessionList2 = require("./BotSessionList");
70
- const BotMobile = (0, import_utils.withInstall)(import_BotMobile.default);
71
- var stdin_default = BotMobile;
72
- const BotMobilePrompts = (0, import_utils.withInstall)(import_BotMobilePrompts.default);
73
- const BotMobileContextTags = (0, import_utils.withInstall)(import_BotMobileContextTags.default);
74
- const BotMobileSheet = (0, import_utils.withInstall)(import_BotMobileSheet.default);
75
- const BotMobileView = (0, import_utils.withInstall)(import_BotMobileView.default);
76
- const BotFab = (0, import_utils.withInstall)(import_BotFab.default);
77
- const BotHistoryDrawer = (0, import_utils.withInstall)(import_BotHistoryDrawer.default);
78
- const BotVoiceBar = (0, import_utils.withInstall)(import_BotVoiceBar.default);
79
- const BotSessionList = (0, import_utils.withInstall)(import_BotSessionList.default);