yc-design-vue 1.0.6 → 1.0.7

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 (107) hide show
  1. package/es/Alert/index.d.ts +3 -3
  2. package/es/Alert/index.vue.d.ts +1 -1
  3. package/es/AutoComplete/index.d.ts +10 -10
  4. package/es/AutoComplete/index.vue.d.ts +20 -20
  5. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  6. package/es/Cascader/CascaderOption.vue.d.ts +1 -1
  7. package/es/ColorPicker/hooks/useContext.d.ts +1 -1
  8. package/es/Descriptions/Descriptions.vue.d.ts +1 -1
  9. package/es/Descriptions/hooks/useContext.d.ts +1 -1
  10. package/es/Descriptions/index.d.ts +3 -3
  11. package/es/Drawer/Drawer.vue.d.ts +1 -1
  12. package/es/Drawer/DrawerService.vue.d.ts +1 -1
  13. package/es/Drawer/index.d.ts +3 -3
  14. package/es/Image/ImagePreview.vue.js +1 -1
  15. package/es/Image/ImagePreview.vue2.js +2 -1
  16. package/es/InputTag/index.d.ts +5 -5
  17. package/es/InputTag/index.vue.d.ts +2 -2
  18. package/es/List/List.vue.d.ts +2 -2
  19. package/es/List/index.d.ts +1 -1
  20. package/es/Mention/index.d.ts +13 -13
  21. package/es/Mention/index.vue.d.ts +21 -21
  22. package/es/Message/Message.vue.d.ts +1 -1
  23. package/es/Message/index.d.ts +3 -3
  24. package/es/Modal/Modal.vue.d.ts +2 -2
  25. package/es/Modal/ModalService.vue.d.ts +2 -2
  26. package/es/Modal/hooks/useModalClose.d.ts +1 -1
  27. package/es/Modal/hooks/useModalClose.js +2 -2
  28. package/es/Modal/index.d.ts +6 -6
  29. package/es/Notification/Notification.vue.d.ts +3 -3
  30. package/es/Notification/index.d.ts +9 -9
  31. package/es/Pagination/hooks/useContext.d.ts +1 -1
  32. package/es/Popover/index.d.ts +3 -3
  33. package/es/Popover/index.vue.d.ts +1 -1
  34. package/es/Select/Select.vue.d.ts +12 -12
  35. package/es/Select/index.d.ts +10 -10
  36. package/es/Statistic/Countdown.vue.d.ts +1 -1
  37. package/es/Statistic/Statistic.vue.d.ts +1 -1
  38. package/es/Statistic/index.d.ts +6 -6
  39. package/es/Tabs/hooks/useContext.d.ts +1 -1
  40. package/es/Transfer/Transfer.vue.d.ts +1 -1
  41. package/es/Transfer/TransferPanel.vue2.js +2 -2
  42. package/es/Transfer/index.d.ts +3 -3
  43. package/es/_shared/icons/IconDelete.vue.js +16 -1
  44. package/es/_shared/icons/IconDelete.vue2.js +1 -16
  45. package/es/_shared/icons/IconSearch.vue.js +16 -1
  46. package/es/_shared/icons/IconSearch.vue2.js +1 -16
  47. package/es/_shared/icons/IconSeparator.vue.js +16 -1
  48. package/es/_shared/icons/IconSeparator.vue2.js +1 -16
  49. package/es/_shared/utils/dom.d.ts +1 -1
  50. package/es/_shared/utils/global-config.d.ts +7 -5
  51. package/es/_shared/utils/global-config.js +5 -3
  52. package/es/index.d.ts +3 -3
  53. package/es/style.css +1 -1
  54. package/lib/Alert/index.d.ts +3 -3
  55. package/lib/Alert/index.vue.d.ts +1 -1
  56. package/lib/AutoComplete/index.d.ts +10 -10
  57. package/lib/AutoComplete/index.vue.d.ts +20 -20
  58. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
  59. package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
  60. package/lib/ColorPicker/hooks/useContext.d.ts +1 -1
  61. package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
  62. package/lib/Descriptions/hooks/useContext.d.ts +1 -1
  63. package/lib/Descriptions/index.d.ts +3 -3
  64. package/lib/Drawer/Drawer.vue.d.ts +1 -1
  65. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  66. package/lib/Drawer/index.d.ts +3 -3
  67. package/lib/Image/ImagePreview.vue.js +1 -1
  68. package/lib/Image/ImagePreview.vue2.js +1 -1
  69. package/lib/InputTag/index.d.ts +5 -5
  70. package/lib/InputTag/index.vue.d.ts +2 -2
  71. package/lib/List/List.vue.d.ts +2 -2
  72. package/lib/List/index.d.ts +1 -1
  73. package/lib/Mention/index.d.ts +13 -13
  74. package/lib/Mention/index.vue.d.ts +21 -21
  75. package/lib/Message/Message.vue.d.ts +1 -1
  76. package/lib/Message/index.d.ts +3 -3
  77. package/lib/Modal/Modal.vue.d.ts +2 -2
  78. package/lib/Modal/ModalService.vue.d.ts +2 -2
  79. package/lib/Modal/hooks/useModalClose.d.ts +1 -1
  80. package/lib/Modal/hooks/useModalClose.js +1 -1
  81. package/lib/Modal/index.d.ts +6 -6
  82. package/lib/Notification/Notification.vue.d.ts +3 -3
  83. package/lib/Notification/index.d.ts +9 -9
  84. package/lib/Pagination/hooks/useContext.d.ts +1 -1
  85. package/lib/Popover/index.d.ts +3 -3
  86. package/lib/Popover/index.vue.d.ts +1 -1
  87. package/lib/Select/Select.vue.d.ts +12 -12
  88. package/lib/Select/index.d.ts +10 -10
  89. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  90. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  91. package/lib/Statistic/index.d.ts +6 -6
  92. package/lib/Tabs/hooks/useContext.d.ts +1 -1
  93. package/lib/Transfer/Transfer.vue.d.ts +1 -1
  94. package/lib/Transfer/TransferPanel.vue2.js +1 -1
  95. package/lib/Transfer/index.d.ts +3 -3
  96. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  97. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  98. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  99. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  100. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  101. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  102. package/lib/_shared/utils/dom.d.ts +1 -1
  103. package/lib/_shared/utils/global-config.d.ts +7 -5
  104. package/lib/_shared/utils/global-config.js +1 -1
  105. package/lib/index.d.ts +3 -3
  106. package/lib/style.css +1 -1
  107. package/package.json +1 -1
@@ -10,9 +10,9 @@ declare const Alert: {
10
10
  close: (ev: MouseEvent) => any;
11
11
  "after-close": () => any;
12
12
  }, import('vue').PublicProps, {
13
+ title: string;
13
14
  center: boolean;
14
15
  type: import('./type').AlertType;
15
- title: string;
16
16
  closable: boolean;
17
17
  showIcon: boolean;
18
18
  banner: boolean;
@@ -27,9 +27,9 @@ declare const Alert: {
27
27
  onClose?: ((ev: MouseEvent) => any) | undefined;
28
28
  "onAfter-close"?: (() => any) | undefined;
29
29
  }>, {}, {}, {}, {}, {
30
+ title: string;
30
31
  center: boolean;
31
32
  type: import('./type').AlertType;
32
- title: string;
33
33
  closable: boolean;
34
34
  showIcon: boolean;
35
35
  banner: boolean;
@@ -44,9 +44,9 @@ declare const Alert: {
44
44
  close: (ev: MouseEvent) => any;
45
45
  "after-close": () => any;
46
46
  }, string, {
47
+ title: string;
47
48
  center: boolean;
48
49
  type: import('./type').AlertType;
49
- title: string;
50
50
  closable: boolean;
51
51
  showIcon: boolean;
52
52
  banner: boolean;
@@ -13,9 +13,9 @@ declare const __VLS_component: import('vue').DefineComponent<AlertProps, {}, {},
13
13
  onClose?: ((ev: MouseEvent) => any) | undefined;
14
14
  "onAfter-close"?: (() => any) | undefined;
15
15
  }>, {
16
+ title: string;
16
17
  center: boolean;
17
18
  type: import('./type').AlertType;
18
- title: string;
19
19
  closable: boolean;
20
20
  showIcon: boolean;
21
21
  banner: boolean;
@@ -92,9 +92,9 @@ declare const AutoComplete: {
92
92
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
93
93
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
94
94
  readonly onClear?: (() => any) | undefined;
95
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
95
96
  readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
96
97
  readonly onSearch?: ((value: string) => any) | undefined;
97
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
98
98
  readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
99
99
  readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
100
100
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -369,9 +369,9 @@ declare const AutoComplete: {
369
369
  readonly allowCreate?: boolean | undefined;
370
370
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
371
371
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
372
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
372
373
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
373
374
  readonly onInput?: ((value: string) => any) | undefined;
374
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
375
375
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
376
376
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
377
377
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -392,14 +392,14 @@ declare const AutoComplete: {
392
392
  $root: import('vue').ComponentPublicInstance | null;
393
393
  $parent: import('vue').ComponentPublicInstance | null;
394
394
  $host: Element | null;
395
- $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
395
+ $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
396
396
  $el: HTMLDivElement;
397
397
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
398
398
  onFocus?: ((ev: FocusEvent) => any) | undefined;
399
399
  onClear?: ((ev: MouseEvent) => any) | undefined;
400
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
400
401
  onBlur?: ((ev: FocusEvent) => any) | undefined;
401
402
  onInput?: ((value: string) => any) | undefined;
402
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
403
403
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
404
404
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
405
405
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -410,9 +410,9 @@ declare const AutoComplete: {
410
410
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
411
411
  focus: (ev: FocusEvent) => any;
412
412
  clear: (ev: MouseEvent) => any;
413
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
413
414
  blur: (ev: FocusEvent) => any;
414
415
  input: (value: string) => any;
415
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
416
416
  "update:modelValue": (value: import('..').InputTagValue) => any;
417
417
  "update:inputValue": (value: string) => any;
418
418
  "input-value-change": (value: string, ev: Event) => any;
@@ -474,9 +474,9 @@ declare const AutoComplete: {
474
474
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
475
475
  onFocus?: ((ev: FocusEvent) => any) | undefined;
476
476
  onClear?: ((ev: MouseEvent) => any) | undefined;
477
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
477
478
  onBlur?: ((ev: FocusEvent) => any) | undefined;
478
479
  onInput?: ((value: string) => any) | undefined;
479
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
480
480
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
481
481
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
482
482
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -494,16 +494,16 @@ declare const AutoComplete: {
494
494
  $root: import('vue').ComponentPublicInstance | null;
495
495
  $parent: import('vue').ComponentPublicInstance | null;
496
496
  $host: Element | null;
497
- $emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
497
+ $emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
498
498
  $el: any;
499
499
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
500
500
  onChange?: ((value: import('..').SelectValue) => any) | undefined;
501
501
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
502
502
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
503
503
  onClear?: (() => any) | undefined;
504
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
504
505
  onSelect?: ((value: import('..').SelectValue) => any) | undefined;
505
506
  onSearch?: ((value: string) => any) | undefined;
506
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
507
507
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
508
508
  "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
509
509
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -519,9 +519,9 @@ declare const AutoComplete: {
519
519
  "update:popupVisible": (value: boolean) => any;
520
520
  "popup-visible-change": (value: boolean) => any;
521
521
  clear: () => any;
522
+ remove: (index: string | number, ev: Event) => any;
522
523
  select: (value: import('..').SelectValue) => any;
523
524
  search: (value: string) => any;
524
- remove: (index: string | number, ev: Event) => any;
525
525
  "update:modelValue": (value: import('..').SelectValue) => any;
526
526
  "update:inputValue": (value: import('..').SelectValue) => any;
527
527
  "input-value-change": (value: string) => any;
@@ -621,9 +621,9 @@ declare const AutoComplete: {
621
621
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
622
622
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
623
623
  onClear?: (() => any) | undefined;
624
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
624
625
  onSelect?: ((value: import('..').SelectValue) => any) | undefined;
625
626
  onSearch?: ((value: string) => any) | undefined;
626
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
627
627
  "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
628
628
  "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
629
629
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -50,9 +50,9 @@ declare function __VLS_template(): {
50
50
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
51
51
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
52
52
  readonly onClear?: (() => any) | undefined;
53
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
53
54
  readonly onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
54
55
  readonly onSearch?: ((value: string) => any) | undefined;
55
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
56
56
  readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
57
57
  readonly "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
58
58
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -327,9 +327,9 @@ declare function __VLS_template(): {
327
327
  readonly allowCreate?: boolean | undefined;
328
328
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
329
329
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
330
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
330
331
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
331
332
  readonly onInput?: ((value: string) => any) | undefined;
332
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
333
333
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
334
334
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
335
335
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -350,14 +350,14 @@ declare function __VLS_template(): {
350
350
  $root: import('vue').ComponentPublicInstance | null;
351
351
  $parent: import('vue').ComponentPublicInstance | null;
352
352
  $host: Element | null;
353
- $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
353
+ $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
354
354
  $el: HTMLDivElement;
355
355
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
356
356
  onFocus?: ((ev: FocusEvent) => any) | undefined;
357
357
  onClear?: ((ev: MouseEvent) => any) | undefined;
358
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
358
359
  onBlur?: ((ev: FocusEvent) => any) | undefined;
359
360
  onInput?: ((value: string) => any) | undefined;
360
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
361
361
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
362
362
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
363
363
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -368,9 +368,9 @@ declare function __VLS_template(): {
368
368
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
369
369
  focus: (ev: FocusEvent) => any;
370
370
  clear: (ev: MouseEvent) => any;
371
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
371
372
  blur: (ev: FocusEvent) => any;
372
373
  input: (value: string) => any;
373
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
374
374
  "update:modelValue": (value: import('..').InputTagValue) => any;
375
375
  "update:inputValue": (value: string) => any;
376
376
  "input-value-change": (value: string, ev: Event) => any;
@@ -432,9 +432,9 @@ declare function __VLS_template(): {
432
432
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
433
433
  onFocus?: ((ev: FocusEvent) => any) | undefined;
434
434
  onClear?: ((ev: MouseEvent) => any) | undefined;
435
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
435
436
  onBlur?: ((ev: FocusEvent) => any) | undefined;
436
437
  onInput?: ((value: string) => any) | undefined;
437
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
438
438
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
439
439
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
440
440
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -452,16 +452,16 @@ declare function __VLS_template(): {
452
452
  $root: import('vue').ComponentPublicInstance | null;
453
453
  $parent: import('vue').ComponentPublicInstance | null;
454
454
  $host: Element | null;
455
- $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
455
+ $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
456
456
  $el: any;
457
457
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
458
458
  onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
459
459
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
460
460
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
461
461
  onClear?: (() => any) | undefined;
462
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
462
463
  onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
463
464
  onSearch?: ((value: string) => any) | undefined;
464
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
465
465
  "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
466
466
  "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
467
467
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -477,9 +477,9 @@ declare function __VLS_template(): {
477
477
  "update:popupVisible": (value: boolean) => any;
478
478
  "popup-visible-change": (value: boolean) => any;
479
479
  clear: () => any;
480
+ remove: (index: string | number, ev: Event) => any;
480
481
  select: (value: import('../Select').SelectValue) => any;
481
482
  search: (value: string) => any;
482
- remove: (index: string | number, ev: Event) => any;
483
483
  "update:modelValue": (value: import('../Select').SelectValue) => any;
484
484
  "update:inputValue": (value: import('../Select').SelectValue) => any;
485
485
  "input-value-change": (value: string) => any;
@@ -579,9 +579,9 @@ declare function __VLS_template(): {
579
579
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
580
580
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
581
581
  onClear?: (() => any) | undefined;
582
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
582
583
  onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
583
584
  onSearch?: ((value: string) => any) | undefined;
584
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
585
585
  "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
586
586
  "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
587
587
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -763,9 +763,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
763
763
  readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
764
764
  readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
765
765
  readonly onClear?: (() => any) | undefined;
766
+ readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
766
767
  readonly onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
767
768
  readonly onSearch?: ((value: string) => any) | undefined;
768
- readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
769
769
  readonly "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
770
770
  readonly "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
771
771
  readonly "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -1040,9 +1040,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1040
1040
  readonly allowCreate?: boolean | undefined;
1041
1041
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
1042
1042
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
1043
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1043
1044
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
1044
1045
  readonly onInput?: ((value: string) => any) | undefined;
1045
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1046
1046
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1047
1047
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1048
1048
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -1063,14 +1063,14 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1063
1063
  $root: import('vue').ComponentPublicInstance | null;
1064
1064
  $parent: import('vue').ComponentPublicInstance | null;
1065
1065
  $host: Element | null;
1066
- $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
1066
+ $emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
1067
1067
  $el: HTMLDivElement;
1068
1068
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
1069
1069
  onFocus?: ((ev: FocusEvent) => any) | undefined;
1070
1070
  onClear?: ((ev: MouseEvent) => any) | undefined;
1071
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1071
1072
  onBlur?: ((ev: FocusEvent) => any) | undefined;
1072
1073
  onInput?: ((value: string) => any) | undefined;
1073
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1074
1074
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1075
1075
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1076
1076
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -1081,9 +1081,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1081
1081
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1082
1082
  focus: (ev: FocusEvent) => any;
1083
1083
  clear: (ev: MouseEvent) => any;
1084
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
1084
1085
  blur: (ev: FocusEvent) => any;
1085
1086
  input: (value: string) => any;
1086
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
1087
1087
  "update:modelValue": (value: import('..').InputTagValue) => any;
1088
1088
  "update:inputValue": (value: string) => any;
1089
1089
  "input-value-change": (value: string, ev: Event) => any;
@@ -1145,9 +1145,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1145
1145
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
1146
1146
  onFocus?: ((ev: FocusEvent) => any) | undefined;
1147
1147
  onClear?: ((ev: MouseEvent) => any) | undefined;
1148
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1148
1149
  onBlur?: ((ev: FocusEvent) => any) | undefined;
1149
1150
  onInput?: ((value: string) => any) | undefined;
1150
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1151
1151
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
1152
1152
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
1153
1153
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -1165,16 +1165,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1165
1165
  $root: import('vue').ComponentPublicInstance | null;
1166
1166
  $parent: import('vue').ComponentPublicInstance | null;
1167
1167
  $host: Element | null;
1168
- $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
1168
+ $emit: ((event: "change", value: import('../Select').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: import('../Select').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('../Select').SelectValue) => void) & ((event: "update:inputValue", value: import('../Select').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
1169
1169
  $el: any;
1170
1170
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
1171
1171
  onChange?: ((value: import('../Select').SelectValue) => any) | undefined;
1172
1172
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1173
1173
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1174
1174
  onClear?: (() => any) | undefined;
1175
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1175
1176
  onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
1176
1177
  onSearch?: ((value: string) => any) | undefined;
1177
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1178
1178
  "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1179
1179
  "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1180
1180
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -1190,9 +1190,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1190
1190
  "update:popupVisible": (value: boolean) => any;
1191
1191
  "popup-visible-change": (value: boolean) => any;
1192
1192
  clear: () => any;
1193
+ remove: (index: string | number, ev: Event) => any;
1193
1194
  select: (value: import('../Select').SelectValue) => any;
1194
1195
  search: (value: string) => any;
1195
- remove: (index: string | number, ev: Event) => any;
1196
1196
  "update:modelValue": (value: import('../Select').SelectValue) => any;
1197
1197
  "update:inputValue": (value: import('../Select').SelectValue) => any;
1198
1198
  "input-value-change": (value: string) => any;
@@ -1292,9 +1292,9 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1292
1292
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1293
1293
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1294
1294
  onClear?: (() => any) | undefined;
1295
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1295
1296
  onSelect?: ((value: import('../Select').SelectValue) => any) | undefined;
1296
1297
  onSearch?: ((value: string) => any) | undefined;
1297
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
1298
1298
  "onUpdate:modelValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1299
1299
  "onUpdate:inputValue"?: ((value: import('../Select').SelectValue) => any) | undefined;
1300
1300
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue2.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),n=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),n=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
@@ -1,9 +1,9 @@
1
1
  import { CascaderOptionProps, CascaderOptionValue } from './type';
2
2
  declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
3
3
  disabled: boolean;
4
+ children: import('./type').CascaderOption[];
4
5
  value: CascaderOptionValue;
5
6
  label: string;
6
- children: import('./type').CascaderOption[];
7
7
  render: import('vue').RenderFunction;
8
8
  tagProps: import('..').TagProps;
9
9
  index: number;
@@ -19,7 +19,7 @@ type ColorPickerContext = {
19
19
  declare const _default: () => {
20
20
  provide: (props: Props, emits: ColorPickerEmits) => {
21
21
  popupVisible: Ref<boolean, boolean>;
22
- size: Ref<any, any>;
22
+ size: import('vue').ComputedRef<string | number | undefined>;
23
23
  computedColor: import('vue').WritableComputedRef<any, string>;
24
24
  };
25
25
  inject: () => ColorPickerContext;
@@ -8,10 +8,10 @@ declare function __VLS_template(): {
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<DescriptionsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionsProps> & Readonly<{}>, {
10
10
  size: import('..').Size;
11
+ title: string;
11
12
  column: import('./type').DescriptionsColumn;
12
13
  layout: import('./type').DescriptionsLayout;
13
14
  data: DescData[];
14
- title: string;
15
15
  align: import('./type').DescriptionsAlign;
16
16
  tableLayout: import('./type').TableLayout;
17
17
  bordered: boolean;
@@ -12,7 +12,7 @@ type DescriptionsContext = {
12
12
  declare const _default: () => {
13
13
  provide: (props: Props) => {
14
14
  data: import('vue').ComputedRef<DescData[]>;
15
- size: Ref<any, any>;
15
+ size: import('vue').ComputedRef<string | number | undefined>;
16
16
  column: import('vue').ComputedRef<number>;
17
17
  layout: Ref<import('..').DescriptionsLayout, import('..').DescriptionsLayout>;
18
18
  };
@@ -7,10 +7,10 @@ export * from './type';
7
7
  declare const Descriptions: {
8
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
9
9
  size: import('..').Size;
10
+ title: string;
10
11
  column: import('./type').DescriptionsColumn;
11
12
  layout: import('./type').DescriptionsLayout;
12
13
  data: import('./type').DescData[];
13
- title: string;
14
14
  align: import('./type').DescriptionsAlign;
15
15
  tableLayout: import('./type').TableLayout;
16
16
  bordered: boolean;
@@ -25,10 +25,10 @@ declare const Descriptions: {
25
25
  Defaults: {};
26
26
  }, Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, {
27
27
  size: import('..').Size;
28
+ title: string;
28
29
  column: import('./type').DescriptionsColumn;
29
30
  layout: import('./type').DescriptionsLayout;
30
31
  data: import('./type').DescData[];
31
- title: string;
32
32
  align: import('./type').DescriptionsAlign;
33
33
  tableLayout: import('./type').TableLayout;
34
34
  bordered: boolean;
@@ -40,10 +40,10 @@ declare const Descriptions: {
40
40
  __isSuspense?: never;
41
41
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').DescriptionsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
42
42
  size: import('..').Size;
43
+ title: string;
43
44
  column: import('./type').DescriptionsColumn;
44
45
  layout: import('./type').DescriptionsLayout;
45
46
  data: import('./type').DescData[];
46
- title: string;
47
47
  align: import('./type').DescriptionsAlign;
48
48
  tableLayout: import('./type').TableLayout;
49
49
  bordered: boolean;
@@ -27,12 +27,12 @@ declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}
27
27
  unmountOnClose: boolean;
28
28
  popupContainer: import('..').PopupContainer;
29
29
  renderToBody: boolean;
30
+ title: string;
30
31
  width: number | string;
31
32
  height: number | string;
32
33
  visible: boolean;
33
34
  footer: boolean;
34
35
  header: boolean;
35
- title: string;
36
36
  mask: boolean;
37
37
  defaultVisible: boolean;
38
38
  closable: boolean;
@@ -3,11 +3,11 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
3
3
  unmountOnClose: boolean;
4
4
  popupContainer: import('..').PopupContainer;
5
5
  renderToBody: boolean;
6
+ title: string & import('../_shared/type').RenderContent;
6
7
  width: number | string;
7
8
  height: number | string;
8
9
  footer: boolean;
9
10
  header: boolean;
10
- title: string & import('../_shared/type').RenderContent;
11
11
  mask: boolean;
12
12
  closable: boolean;
13
13
  maskClosable: boolean;
@@ -23,12 +23,12 @@ declare const Drawer: {
23
23
  unmountOnClose: boolean;
24
24
  popupContainer: import('..').PopupContainer;
25
25
  renderToBody: boolean;
26
+ title: string;
26
27
  width: number | string;
27
28
  height: number | string;
28
29
  visible: boolean;
29
30
  footer: boolean;
30
31
  header: boolean;
31
- title: string;
32
32
  mask: boolean;
33
33
  defaultVisible: boolean;
34
34
  closable: boolean;
@@ -63,12 +63,12 @@ declare const Drawer: {
63
63
  unmountOnClose: boolean;
64
64
  popupContainer: import('..').PopupContainer;
65
65
  renderToBody: boolean;
66
+ title: string;
66
67
  width: number | string;
67
68
  height: number | string;
68
69
  visible: boolean;
69
70
  footer: boolean;
70
71
  header: boolean;
71
- title: string;
72
72
  mask: boolean;
73
73
  defaultVisible: boolean;
74
74
  closable: boolean;
@@ -108,12 +108,12 @@ declare const Drawer: {
108
108
  unmountOnClose: boolean;
109
109
  popupContainer: import('..').PopupContainer;
110
110
  renderToBody: boolean;
111
+ title: string;
111
112
  width: number | string;
112
113
  height: number | string;
113
114
  visible: boolean;
114
115
  footer: boolean;
115
116
  header: boolean;
116
- title: string;
117
117
  mask: boolean;
118
118
  defaultVisible: boolean;
119
119
  closable: boolean;
@@ -1 +1 @@
1
- "use strict";const e=require("./ImagePreview.vue2.js");;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.js")(e,[["__scopeId","data-v-77e15fcc"]]);module.exports=r;
1
+ "use strict";const e=require("./ImagePreview.vue2.js");;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.js")(e,[["__scopeId","data-v-094a0de9"]]);module.exports=r;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const o=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js"),a=require("../_shared/utils/control.js");;/* empty css */const l=require("../_shared/icons/IconClose.vue.js"),r=require("../node_modules/@vueuse/core/index.js"),s=require("../Modal/hooks/useModalClose.js"),i=require("./ImagePreviewToolbar.vue.js"),n={class:"yc-image-preview-mask"},u={class:"yc-image-preview-wrapper"},c=["src"],d=e.defineComponent({name:"ImagePreview",inheritAttrs:!1,__name:"ImagePreview",props:{src:{default:""},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{default:void 0},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{default:1},zoomRate:{default:1.1}},emits:["update:visible","close"],setup(d,{emit:f}){const m=d,v=f,{visible:p,defaultVisible:w,maskClosable:y,escToClose:h,defaultScale:k,zoomRate:g,wheelZoom:b,keyboard:C,popupContainer:z}=e.toRefs(m),{zIndex:B,popupContainer:S}=t.getGlobalConfig(m),V=e.ref(),_=a(e.ref(),k.value),q=e.ref(0),{outerVisible:j,innerVisible:I,handleClose:L,handleAfterLeave:N}=s({visible:p,defaultVisible:w,escToClose:h,maskClosable:y,onBeforeOk:()=>!0,onBeforeCancel:()=>!0,emits:v}),A=e=>{switch(e){case"rotateRight":q.value+=90;break;case"rotateLeft":q.value-=90;break;case"zoomIn":_.value*=g.value;break;case"zoomOut":_.value/=g.value;break;case"originalSize":_.value=k.value,q.value=0;break;case"fullScreen":{const{offsetWidth:e,offsetHeight:o}=V.value;_.value=e>o?window.innerHeight/o:window.innerHeight/e}}};return(()=>{if(b.value&&r.useEventListener("wheel",e=>{e.preventDefault();const o=e.deltaY<0?1:-1;_.value*=Math.pow(g.value,o)}),C.value){const e={ArrowUp:"zoomIn",ArrowDown:"zoomOut"," ":"originalSize"};r.onKeyStroke(["ArrowUp","ArrowDown"," "],o=>{A(e[o.key])})}})(),(t,a)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(S)},[e.unref(j)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-image-preview",t.$attrs.class,{"yc-image-preview-absolute":!e.unref(o.isUndefined)(e.unref(z))}]),style:e.normalizeStyle({zIndex:e.unref(B),...t.$attrs.style??{}})},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",n,null,512),[[e.vShow,e.unref(I)]])]),_:1}),e.createVNode(e.Transition,{name:"fade",onAfterLeave:e.unref(N)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",u,[e.createElementVNode("div",{style:e.normalizeStyle({transform:`scale(${e.unref(_)}, ${e.unref(_)})`}),class:"yc-image-preview-img-container",onClick:a[0]||(a[0]=e.withModifiers(o=>e.unref(L)("mask",o),["self"]))},[e.createElementVNode("img",{src:t.src,style:e.normalizeStyle({transform:`translate(-50%, -50%) rotate(${q.value}deg)`}),class:"yc-image-preview-img",ref_key:"imageRef",ref:V},null,12,c)],4),e.createVNode(i,{actionsLayout:t.actionsLayout,onClick:A},e.createSlots({_:2},[t.$slots.actions?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"actions",{},void 0,!0)]),key:"0"}:void 0]),1032,["actionsLayout"]),e.renderSlot(t.$slots,"arrow",{},void 0,!0),t.closable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-image-preview-close-btn",onClick:a[1]||(a[1]=o=>e.unref(L)("closeBtn",o))},[e.createVNode(e.unref(l))])):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(I)]])]),_:3},8,["onAfterLeave"])],6)):e.createCommentVNode("",!0)],8,["to"]))}});module.exports=d;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const o=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js"),a=require("../_shared/utils/control.js");;/* empty css */const l=require("../_shared/icons/IconClose.vue.js"),r=require("../node_modules/@vueuse/core/index.js"),s=require("../Modal/hooks/useModalClose.js"),i=require("./ImagePreviewToolbar.vue.js"),n={class:"yc-image-preview-mask"},u={class:"yc-image-preview-wrapper"},c=["src"],d=e.defineComponent({name:"ImagePreview",inheritAttrs:!1,__name:"ImagePreview",props:{src:{default:""},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{default:void 0},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{default:1},zoomRate:{default:1.1}},emits:["update:visible","close"],setup(d,{emit:f}){const m=d,v=f,{visible:p,defaultVisible:w,maskClosable:y,escToClose:h,defaultScale:k,zoomRate:g,wheelZoom:b,keyboard:C,popupContainer:z}=e.toRefs(m),{zIndex:B,popupContainer:S}=t.getGlobalConfig(m),V=e.ref(),_=a(e.ref(),k.value),q=e.ref(0),{outerVisible:j,innerVisible:I,handleClose:L,handleAfterLeave:N}=s({visible:p,defaultVisible:w,escToClose:h,maskClosable:y,onBeforeOk:()=>!0,onBeforeCancel:()=>!0,emits:v}),A=e=>{switch(e){case"rotateRight":q.value+=90;break;case"rotateLeft":q.value-=90;break;case"zoomIn":_.value*=g.value;break;case"zoomOut":_.value/=g.value;break;case"originalSize":_.value=k.value,q.value=0;break;case"fullScreen":{const{offsetWidth:e,offsetHeight:o}=V.value;_.value=e>o?window.innerHeight/o:window.innerHeight/e}}};return(()=>{if(b.value&&r.useEventListener("wheel",e=>{e.preventDefault();const o=e.deltaY<0?1:-1;_.value*=Math.pow(g.value,o)}),C.value){const e={ArrowUp:"zoomIn",ArrowDown:"zoomOut"," ":"originalSize"};r.onKeyStroke(["ArrowUp","ArrowDown"," "],o=>{A(e[o.key])})}})(),(t,a)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(S)},[e.unref(j)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-image-preview",t.$attrs.class,{"yc-image-preview-absolute":!e.unref(o.isUndefined)(e.unref(z))}]),style:e.normalizeStyle({zIndex:e.unref(B),...t.$attrs.style??{}})},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",n,null,512),[[e.vShow,e.unref(I)]])]),_:1}),e.createVNode(e.Transition,{name:"fade",onAfterLeave:e.unref(N)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",u,[e.createElementVNode("div",{style:e.normalizeStyle({transform:`scale(${e.unref(_)}, ${e.unref(_)})`}),class:"yc-image-preview-img-container",onClick:a[0]||(a[0]=e.withModifiers(o=>e.unref(L)("mask",o,!1),["self"]))},[e.createElementVNode("img",{src:t.src,style:e.normalizeStyle({transform:`translate(-50%, -50%) rotate(${q.value}deg)`}),class:"yc-image-preview-img",ref_key:"imageRef",ref:V},null,12,c)],4),e.createVNode(i,{actionsLayout:t.actionsLayout,onClick:A},e.createSlots({_:2},[t.$slots.actions?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"actions",{},void 0,!0)]),key:"0"}:void 0]),1032,["actionsLayout"]),e.renderSlot(t.$slots,"arrow",{},void 0,!0),t.closable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-image-preview-close-btn",onClick:a[1]||(a[1]=o=>e.unref(L)("closeBtn",o))},[e.createVNode(e.unref(l))])):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(I)]])]),_:3},8,["onAfterLeave"])],6)):e.createCommentVNode("",!0)],8,["to"]))}});module.exports=d;
@@ -6,9 +6,9 @@ declare const InputTag: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputTagProps> & Readonly<{
7
7
  onFocus?: ((ev: FocusEvent) => any) | undefined;
8
8
  onClear?: ((ev: MouseEvent) => any) | undefined;
9
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
9
10
  onBlur?: ((ev: FocusEvent) => any) | undefined;
10
11
  onInput?: ((value: string) => any) | undefined;
11
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
12
12
  "onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
13
13
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
14
14
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -19,9 +19,9 @@ declare const InputTag: {
19
19
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
20
  focus: (ev: FocusEvent) => any;
21
21
  clear: (ev: MouseEvent) => any;
22
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
22
23
  blur: (ev: FocusEvent) => any;
23
24
  input: (value: string) => any;
24
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
25
25
  "update:modelValue": (value: import('./type').InputTagValue) => any;
26
26
  "update:inputValue": (value: string) => any;
27
27
  "input-value-change": (value: string, ev: Event) => any;
@@ -56,9 +56,9 @@ declare const InputTag: {
56
56
  }, Readonly<import('./type').InputTagProps> & Readonly<{
57
57
  onFocus?: ((ev: FocusEvent) => any) | undefined;
58
58
  onClear?: ((ev: MouseEvent) => any) | undefined;
59
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
59
60
  onBlur?: ((ev: FocusEvent) => any) | undefined;
60
61
  onInput?: ((value: string) => any) | undefined;
61
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
62
62
  "onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
63
63
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
64
64
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -90,9 +90,9 @@ declare const InputTag: {
90
90
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').InputTagProps> & Readonly<{
91
91
  onFocus?: ((ev: FocusEvent) => any) | undefined;
92
92
  onClear?: ((ev: MouseEvent) => any) | undefined;
93
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
93
94
  onBlur?: ((ev: FocusEvent) => any) | undefined;
94
95
  onInput?: ((value: string) => any) | undefined;
95
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
96
96
  "onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
97
97
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
98
98
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -103,9 +103,9 @@ declare const InputTag: {
103
103
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
104
104
  focus: (ev: FocusEvent) => any;
105
105
  clear: (ev: MouseEvent) => any;
106
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
106
107
  blur: (ev: FocusEvent) => any;
107
108
  input: (value: string) => any;
108
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
109
109
  "update:modelValue": (value: import('./type').InputTagValue) => any;
110
110
  "update:inputValue": (value: string) => any;
111
111
  "input-value-change": (value: string, ev: Event) => any;