@unsource/ui 2.8.8 → 2.8.11

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 (69) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +24 -9
  3. package/dist/runtime/assets/main.css +1 -1
  4. package/dist/runtime/components/UnAuth.d.vue.ts +2 -2
  5. package/dist/runtime/components/UnAuth.vue +2 -2
  6. package/dist/runtime/components/UnAuth.vue.d.ts +2 -2
  7. package/dist/runtime/components/UnCard.d.vue.ts +16 -14
  8. package/dist/runtime/components/UnCard.vue +26 -2
  9. package/dist/runtime/components/UnCard.vue.d.ts +16 -14
  10. package/dist/runtime/components/UnCheckboxItem.d.vue.ts +1 -5
  11. package/dist/runtime/components/UnCheckboxItem.vue +4 -5
  12. package/dist/runtime/components/UnCheckboxItem.vue.d.ts +1 -5
  13. package/dist/runtime/components/UnCollapsible.d.vue.ts +2 -2
  14. package/dist/runtime/components/UnCollapsible.vue.d.ts +2 -2
  15. package/dist/runtime/components/UnFormItem.vue +2 -2
  16. package/dist/runtime/components/UnFormList.d.vue.ts +1 -1
  17. package/dist/runtime/components/UnFormList.vue.d.ts +1 -1
  18. package/dist/runtime/components/UnIRDatePicker.d.vue.ts +1 -1
  19. package/dist/runtime/components/UnIRDatePicker.vue +1 -2
  20. package/dist/runtime/components/UnIRDatePicker.vue.d.ts +1 -1
  21. package/dist/runtime/components/UnInput.d.vue.ts +1 -1
  22. package/dist/runtime/components/UnInput.vue +1 -1
  23. package/dist/runtime/components/UnInput.vue.d.ts +1 -1
  24. package/dist/runtime/components/UnLabel.d.vue.ts +13 -13
  25. package/dist/runtime/components/UnLabel.vue +5 -5
  26. package/dist/runtime/components/UnLabel.vue.d.ts +13 -13
  27. package/dist/runtime/components/UnLocationInput.vue +1 -0
  28. package/dist/runtime/components/UnMap.vue +1 -1
  29. package/dist/runtime/components/UnMobileHeader.vue +0 -1
  30. package/dist/runtime/components/UnModal.vue +1 -1
  31. package/dist/runtime/components/UnMultiUploader.vue +0 -1
  32. package/dist/runtime/components/UnNavbar.vue +1 -1
  33. package/dist/runtime/components/UnNormalInput.d.vue.ts +1 -21
  34. package/dist/runtime/components/UnNormalInput.vue.d.ts +1 -21
  35. package/dist/runtime/components/UnNumberInput.vue +0 -1
  36. package/dist/runtime/components/UnNuxtIcon.d.vue.ts +0 -1
  37. package/dist/runtime/components/UnNuxtIcon.vue +1 -3
  38. package/dist/runtime/components/UnNuxtIcon.vue.d.ts +0 -1
  39. package/dist/runtime/components/UnProfile.d.vue.ts +2 -2
  40. package/dist/runtime/components/UnProfile.vue.d.ts +2 -2
  41. package/dist/runtime/components/UnRadioItem.d.vue.ts +1 -0
  42. package/dist/runtime/components/UnRadioItem.vue +8 -7
  43. package/dist/runtime/components/UnRadioItem.vue.d.ts +1 -0
  44. package/dist/runtime/components/UnSelect.d.vue.ts +0 -2
  45. package/dist/runtime/components/UnSelect.vue +2 -4
  46. package/dist/runtime/components/UnSelect.vue.d.ts +0 -2
  47. package/dist/runtime/components/UnSwiperControl.vue +0 -4
  48. package/dist/runtime/components/UnSwiperSlider.d.vue.ts +2 -2
  49. package/dist/runtime/components/UnSwiperSlider.vue.d.ts +2 -2
  50. package/dist/runtime/components/UnTransaction.vue +1 -0
  51. package/dist/runtime/components/UnUploadFile.d.vue.ts +60 -19
  52. package/dist/runtime/components/UnUploadFile.vue +5 -4
  53. package/dist/runtime/components/UnUploadFile.vue.d.ts +60 -19
  54. package/dist/runtime/components/UnWallet.vue +1 -0
  55. package/dist/runtime/composables/fetch.d.ts +38 -17
  56. package/dist/runtime/composables/fetch.js +20 -11
  57. package/dist/runtime/composables/global.d.ts +58 -15
  58. package/dist/runtime/composables/global.js +11 -30
  59. package/dist/runtime/composables/reuseable.d.ts +6 -19
  60. package/dist/runtime/composables/reuseable.js +7 -24
  61. package/dist/runtime/composables/services.d.ts +2 -2
  62. package/dist/runtime/composables/services.js +3 -2
  63. package/dist/runtime/plugins/floating.client.d.ts +3 -0
  64. package/dist/runtime/plugins/floating.client.js +6 -0
  65. package/dist/runtime/plugins/toast.client.d.ts +30 -30
  66. package/dist/runtime/types/models.d.ts +401 -110
  67. package/package.json +6 -5
  68. package/dist/runtime/uno.config.d.ts +0 -2
  69. package/dist/runtime/uno.config.js +0 -60
@@ -3,10 +3,10 @@ declare const _default: import("#app").Plugin<{
3
3
  toast: {
4
4
  (content: import("vue3-toastify").Content, options?: import("vue3-toastify").ToastOptions): import("vue3-toastify").Id;
5
5
  info(content: import("vue3-toastify").Content, options?: {
6
- theme?: import("vue3-toastify").ToastTheme | undefined;
7
6
  rtl?: boolean | undefined;
8
7
  data?: {} | undefined;
9
8
  role?: string | undefined;
9
+ icon?: import("vue3-toastify").IconType | undefined;
10
10
  toastId?: import("vue3-toastify").Id | undefined;
11
11
  updateId?: import("vue3-toastify").Id | undefined;
12
12
  content?: import("vue3-toastify").Content;
@@ -32,16 +32,16 @@ declare const _default: import("#app").Plugin<{
32
32
  style?: Record<string, any> | undefined;
33
33
  progressClassName?: string | undefined;
34
34
  progressStyle?: Record<string, any> | undefined;
35
- icon?: import("vue3-toastify").IconType | undefined;
35
+ theme?: import("vue3-toastify").ToastTheme | undefined;
36
36
  contentProps?: Record<string, any> | undefined;
37
37
  expandCustomProps?: boolean | undefined;
38
38
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
39
39
  }): import("vue3-toastify").Id;
40
40
  error(content: import("vue3-toastify").Content, options?: {
41
- theme?: import("vue3-toastify").ToastTheme | undefined;
42
41
  rtl?: boolean | undefined;
43
42
  data?: {} | undefined;
44
43
  role?: string | undefined;
44
+ icon?: import("vue3-toastify").IconType | undefined;
45
45
  toastId?: import("vue3-toastify").Id | undefined;
46
46
  updateId?: import("vue3-toastify").Id | undefined;
47
47
  content?: import("vue3-toastify").Content;
@@ -67,16 +67,16 @@ declare const _default: import("#app").Plugin<{
67
67
  style?: Record<string, any> | undefined;
68
68
  progressClassName?: string | undefined;
69
69
  progressStyle?: Record<string, any> | undefined;
70
- icon?: import("vue3-toastify").IconType | undefined;
70
+ theme?: import("vue3-toastify").ToastTheme | undefined;
71
71
  contentProps?: Record<string, any> | undefined;
72
72
  expandCustomProps?: boolean | undefined;
73
73
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
74
74
  }): import("vue3-toastify").Id;
75
75
  warning(content: import("vue3-toastify").Content, options?: {
76
- theme?: import("vue3-toastify").ToastTheme | undefined;
77
76
  rtl?: boolean | undefined;
78
77
  data?: {} | undefined;
79
78
  role?: string | undefined;
79
+ icon?: import("vue3-toastify").IconType | undefined;
80
80
  toastId?: import("vue3-toastify").Id | undefined;
81
81
  updateId?: import("vue3-toastify").Id | undefined;
82
82
  content?: import("vue3-toastify").Content;
@@ -102,16 +102,16 @@ declare const _default: import("#app").Plugin<{
102
102
  style?: Record<string, any> | undefined;
103
103
  progressClassName?: string | undefined;
104
104
  progressStyle?: Record<string, any> | undefined;
105
- icon?: import("vue3-toastify").IconType | undefined;
105
+ theme?: import("vue3-toastify").ToastTheme | undefined;
106
106
  contentProps?: Record<string, any> | undefined;
107
107
  expandCustomProps?: boolean | undefined;
108
108
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
109
109
  }): import("vue3-toastify").Id;
110
110
  warn: (content: import("vue3-toastify").Content, options?: {
111
- theme?: import("vue3-toastify").ToastTheme | undefined;
112
111
  rtl?: boolean | undefined;
113
112
  data?: {} | undefined;
114
113
  role?: string | undefined;
114
+ icon?: import("vue3-toastify").IconType | undefined;
115
115
  toastId?: import("vue3-toastify").Id | undefined;
116
116
  updateId?: import("vue3-toastify").Id | undefined;
117
117
  content?: import("vue3-toastify").Content;
@@ -137,16 +137,16 @@ declare const _default: import("#app").Plugin<{
137
137
  style?: Record<string, any> | undefined;
138
138
  progressClassName?: string | undefined;
139
139
  progressStyle?: Record<string, any> | undefined;
140
- icon?: import("vue3-toastify").IconType | undefined;
140
+ theme?: import("vue3-toastify").ToastTheme | undefined;
141
141
  contentProps?: Record<string, any> | undefined;
142
142
  expandCustomProps?: boolean | undefined;
143
143
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
144
144
  }) => import("vue3-toastify").Id;
145
145
  success(content: import("vue3-toastify").Content, options?: {
146
- theme?: import("vue3-toastify").ToastTheme | undefined;
147
146
  rtl?: boolean | undefined;
148
147
  data?: {} | undefined;
149
148
  role?: string | undefined;
149
+ icon?: import("vue3-toastify").IconType | undefined;
150
150
  toastId?: import("vue3-toastify").Id | undefined;
151
151
  updateId?: import("vue3-toastify").Id | undefined;
152
152
  content?: import("vue3-toastify").Content;
@@ -172,17 +172,17 @@ declare const _default: import("#app").Plugin<{
172
172
  style?: Record<string, any> | undefined;
173
173
  progressClassName?: string | undefined;
174
174
  progressStyle?: Record<string, any> | undefined;
175
- icon?: import("vue3-toastify").IconType | undefined;
175
+ theme?: import("vue3-toastify").ToastTheme | undefined;
176
176
  contentProps?: Record<string, any> | undefined;
177
177
  expandCustomProps?: boolean | undefined;
178
178
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
179
179
  }): import("vue3-toastify").Id;
180
180
  loading(content: import("vue3-toastify").Content, options?: {
181
- theme?: import("vue3-toastify").ToastTheme | undefined;
182
181
  rtl?: boolean | undefined;
183
182
  type?: import("vue3-toastify").ToastType | undefined;
184
183
  data?: {} | undefined;
185
184
  role?: string | undefined;
185
+ icon?: import("vue3-toastify").IconType | undefined;
186
186
  disabledEnterTransition?: boolean | undefined;
187
187
  toastId?: import("vue3-toastify").Id | undefined;
188
188
  updateId?: import("vue3-toastify").Id | undefined;
@@ -208,7 +208,7 @@ declare const _default: import("#app").Plugin<{
208
208
  style?: Record<string, any> | undefined;
209
209
  progressClassName?: string | undefined;
210
210
  progressStyle?: Record<string, any> | undefined;
211
- icon?: import("vue3-toastify").IconType | undefined;
211
+ theme?: import("vue3-toastify").ToastTheme | undefined;
212
212
  contentProps?: Record<string, any> | undefined;
213
213
  expandCustomProps?: boolean | undefined;
214
214
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
@@ -218,6 +218,7 @@ declare const _default: import("#app").Plugin<{
218
218
  type?: import("vue3-toastify").ToastType | undefined;
219
219
  data?: {} | undefined;
220
220
  role?: string | undefined;
221
+ icon?: import("vue3-toastify").IconType | undefined;
221
222
  disabledEnterTransition?: boolean | undefined;
222
223
  toastId?: import("vue3-toastify").Id | undefined;
223
224
  updateId?: import("vue3-toastify").Id | undefined;
@@ -244,7 +245,6 @@ declare const _default: import("#app").Plugin<{
244
245
  style?: Record<string, any> | undefined;
245
246
  progressClassName?: string | undefined;
246
247
  progressStyle?: Record<string, any> | undefined;
247
- icon?: import("vue3-toastify").IconType | undefined;
248
248
  contentProps?: Record<string, any> | undefined;
249
249
  expandCustomProps?: boolean | undefined;
250
250
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
@@ -255,11 +255,11 @@ declare const _default: import("#app").Plugin<{
255
255
  update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
256
256
  done(id: import("vue3-toastify").Id): void;
257
257
  promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
258
- theme?: import("vue3-toastify").ToastTheme | undefined;
259
258
  rtl?: boolean | undefined;
260
259
  type?: import("vue3-toastify").ToastType | undefined;
261
260
  data?: {} | undefined;
262
261
  role?: string | undefined;
262
+ icon?: import("vue3-toastify").IconType | undefined;
263
263
  disabledEnterTransition?: boolean | undefined;
264
264
  toastId?: import("vue3-toastify").Id | undefined;
265
265
  updateId?: import("vue3-toastify").Id | undefined;
@@ -285,7 +285,7 @@ declare const _default: import("#app").Plugin<{
285
285
  style?: Record<string, any> | undefined;
286
286
  progressClassName?: string | undefined;
287
287
  progressStyle?: Record<string, any> | undefined;
288
- icon?: import("vue3-toastify").IconType | undefined;
288
+ theme?: import("vue3-toastify").ToastTheme | undefined;
289
289
  contentProps?: Record<string, any> | undefined;
290
290
  expandCustomProps?: boolean | undefined;
291
291
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
@@ -323,10 +323,10 @@ declare const _default: import("#app").Plugin<{
323
323
  toast: {
324
324
  (content: import("vue3-toastify").Content, options?: import("vue3-toastify").ToastOptions): import("vue3-toastify").Id;
325
325
  info(content: import("vue3-toastify").Content, options?: {
326
- theme?: import("vue3-toastify").ToastTheme | undefined;
327
326
  rtl?: boolean | undefined;
328
327
  data?: {} | undefined;
329
328
  role?: string | undefined;
329
+ icon?: import("vue3-toastify").IconType | undefined;
330
330
  toastId?: import("vue3-toastify").Id | undefined;
331
331
  updateId?: import("vue3-toastify").Id | undefined;
332
332
  content?: import("vue3-toastify").Content;
@@ -352,16 +352,16 @@ declare const _default: import("#app").Plugin<{
352
352
  style?: Record<string, any> | undefined;
353
353
  progressClassName?: string | undefined;
354
354
  progressStyle?: Record<string, any> | undefined;
355
- icon?: import("vue3-toastify").IconType | undefined;
355
+ theme?: import("vue3-toastify").ToastTheme | undefined;
356
356
  contentProps?: Record<string, any> | undefined;
357
357
  expandCustomProps?: boolean | undefined;
358
358
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
359
359
  }): import("vue3-toastify").Id;
360
360
  error(content: import("vue3-toastify").Content, options?: {
361
- theme?: import("vue3-toastify").ToastTheme | undefined;
362
361
  rtl?: boolean | undefined;
363
362
  data?: {} | undefined;
364
363
  role?: string | undefined;
364
+ icon?: import("vue3-toastify").IconType | undefined;
365
365
  toastId?: import("vue3-toastify").Id | undefined;
366
366
  updateId?: import("vue3-toastify").Id | undefined;
367
367
  content?: import("vue3-toastify").Content;
@@ -387,16 +387,16 @@ declare const _default: import("#app").Plugin<{
387
387
  style?: Record<string, any> | undefined;
388
388
  progressClassName?: string | undefined;
389
389
  progressStyle?: Record<string, any> | undefined;
390
- icon?: import("vue3-toastify").IconType | undefined;
390
+ theme?: import("vue3-toastify").ToastTheme | undefined;
391
391
  contentProps?: Record<string, any> | undefined;
392
392
  expandCustomProps?: boolean | undefined;
393
393
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
394
394
  }): import("vue3-toastify").Id;
395
395
  warning(content: import("vue3-toastify").Content, options?: {
396
- theme?: import("vue3-toastify").ToastTheme | undefined;
397
396
  rtl?: boolean | undefined;
398
397
  data?: {} | undefined;
399
398
  role?: string | undefined;
399
+ icon?: import("vue3-toastify").IconType | undefined;
400
400
  toastId?: import("vue3-toastify").Id | undefined;
401
401
  updateId?: import("vue3-toastify").Id | undefined;
402
402
  content?: import("vue3-toastify").Content;
@@ -422,16 +422,16 @@ declare const _default: import("#app").Plugin<{
422
422
  style?: Record<string, any> | undefined;
423
423
  progressClassName?: string | undefined;
424
424
  progressStyle?: Record<string, any> | undefined;
425
- icon?: import("vue3-toastify").IconType | undefined;
425
+ theme?: import("vue3-toastify").ToastTheme | undefined;
426
426
  contentProps?: Record<string, any> | undefined;
427
427
  expandCustomProps?: boolean | undefined;
428
428
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
429
429
  }): import("vue3-toastify").Id;
430
430
  warn: (content: import("vue3-toastify").Content, options?: {
431
- theme?: import("vue3-toastify").ToastTheme | undefined;
432
431
  rtl?: boolean | undefined;
433
432
  data?: {} | undefined;
434
433
  role?: string | undefined;
434
+ icon?: import("vue3-toastify").IconType | undefined;
435
435
  toastId?: import("vue3-toastify").Id | undefined;
436
436
  updateId?: import("vue3-toastify").Id | undefined;
437
437
  content?: import("vue3-toastify").Content;
@@ -457,16 +457,16 @@ declare const _default: import("#app").Plugin<{
457
457
  style?: Record<string, any> | undefined;
458
458
  progressClassName?: string | undefined;
459
459
  progressStyle?: Record<string, any> | undefined;
460
- icon?: import("vue3-toastify").IconType | undefined;
460
+ theme?: import("vue3-toastify").ToastTheme | undefined;
461
461
  contentProps?: Record<string, any> | undefined;
462
462
  expandCustomProps?: boolean | undefined;
463
463
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
464
464
  }) => import("vue3-toastify").Id;
465
465
  success(content: import("vue3-toastify").Content, options?: {
466
- theme?: import("vue3-toastify").ToastTheme | undefined;
467
466
  rtl?: boolean | undefined;
468
467
  data?: {} | undefined;
469
468
  role?: string | undefined;
469
+ icon?: import("vue3-toastify").IconType | undefined;
470
470
  toastId?: import("vue3-toastify").Id | undefined;
471
471
  updateId?: import("vue3-toastify").Id | undefined;
472
472
  content?: import("vue3-toastify").Content;
@@ -492,17 +492,17 @@ declare const _default: import("#app").Plugin<{
492
492
  style?: Record<string, any> | undefined;
493
493
  progressClassName?: string | undefined;
494
494
  progressStyle?: Record<string, any> | undefined;
495
- icon?: import("vue3-toastify").IconType | undefined;
495
+ theme?: import("vue3-toastify").ToastTheme | undefined;
496
496
  contentProps?: Record<string, any> | undefined;
497
497
  expandCustomProps?: boolean | undefined;
498
498
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
499
499
  }): import("vue3-toastify").Id;
500
500
  loading(content: import("vue3-toastify").Content, options?: {
501
- theme?: import("vue3-toastify").ToastTheme | undefined;
502
501
  rtl?: boolean | undefined;
503
502
  type?: import("vue3-toastify").ToastType | undefined;
504
503
  data?: {} | undefined;
505
504
  role?: string | undefined;
505
+ icon?: import("vue3-toastify").IconType | undefined;
506
506
  disabledEnterTransition?: boolean | undefined;
507
507
  toastId?: import("vue3-toastify").Id | undefined;
508
508
  updateId?: import("vue3-toastify").Id | undefined;
@@ -528,7 +528,7 @@ declare const _default: import("#app").Plugin<{
528
528
  style?: Record<string, any> | undefined;
529
529
  progressClassName?: string | undefined;
530
530
  progressStyle?: Record<string, any> | undefined;
531
- icon?: import("vue3-toastify").IconType | undefined;
531
+ theme?: import("vue3-toastify").ToastTheme | undefined;
532
532
  contentProps?: Record<string, any> | undefined;
533
533
  expandCustomProps?: boolean | undefined;
534
534
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
@@ -538,6 +538,7 @@ declare const _default: import("#app").Plugin<{
538
538
  type?: import("vue3-toastify").ToastType | undefined;
539
539
  data?: {} | undefined;
540
540
  role?: string | undefined;
541
+ icon?: import("vue3-toastify").IconType | undefined;
541
542
  disabledEnterTransition?: boolean | undefined;
542
543
  toastId?: import("vue3-toastify").Id | undefined;
543
544
  updateId?: import("vue3-toastify").Id | undefined;
@@ -564,7 +565,6 @@ declare const _default: import("#app").Plugin<{
564
565
  style?: Record<string, any> | undefined;
565
566
  progressClassName?: string | undefined;
566
567
  progressStyle?: Record<string, any> | undefined;
567
- icon?: import("vue3-toastify").IconType | undefined;
568
568
  contentProps?: Record<string, any> | undefined;
569
569
  expandCustomProps?: boolean | undefined;
570
570
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;
@@ -575,11 +575,11 @@ declare const _default: import("#app").Plugin<{
575
575
  update(toastId: import("vue3-toastify").Id, options?: import("vue3-toastify").UpdateOptions): void;
576
576
  done(id: import("vue3-toastify").Id): void;
577
577
  promise: <T = unknown>(promise: Promise<T> | (() => Promise<T>), { pending, error, success }: import("vue3-toastify").ToastPromiseParams<T>, options?: {
578
- theme?: import("vue3-toastify").ToastTheme | undefined;
579
578
  rtl?: boolean | undefined;
580
579
  type?: import("vue3-toastify").ToastType | undefined;
581
580
  data?: {} | undefined;
582
581
  role?: string | undefined;
582
+ icon?: import("vue3-toastify").IconType | undefined;
583
583
  disabledEnterTransition?: boolean | undefined;
584
584
  toastId?: import("vue3-toastify").Id | undefined;
585
585
  updateId?: import("vue3-toastify").Id | undefined;
@@ -605,7 +605,7 @@ declare const _default: import("#app").Plugin<{
605
605
  style?: Record<string, any> | undefined;
606
606
  progressClassName?: string | undefined;
607
607
  progressStyle?: Record<string, any> | undefined;
608
- icon?: import("vue3-toastify").IconType | undefined;
608
+ theme?: import("vue3-toastify").ToastTheme | undefined;
609
609
  contentProps?: Record<string, any> | undefined;
610
610
  expandCustomProps?: boolean | undefined;
611
611
  useHandler?: ((app: import("vue").App<Element>) => void) | undefined;