yc-design-vue 1.0.7 → 1.0.8

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 (91) 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/Cascader/CascaderOption.vue.d.ts +1 -1
  6. package/es/ColorPicker/hooks/useContext.d.ts +1 -1
  7. package/es/Descriptions/Descriptions.vue.d.ts +1 -1
  8. package/es/Descriptions/hooks/useContext.d.ts +1 -1
  9. package/es/Descriptions/index.d.ts +3 -3
  10. package/es/Drawer/Drawer.vue.d.ts +1 -1
  11. package/es/Drawer/DrawerService.vue.d.ts +1 -1
  12. package/es/Drawer/index.d.ts +3 -3
  13. package/es/InputNumber/InputOperaBtn.vue2.js +1 -1
  14. package/es/InputTag/index.d.ts +5 -5
  15. package/es/InputTag/index.vue.d.ts +2 -2
  16. package/es/List/List.vue.d.ts +2 -2
  17. package/es/List/index.d.ts +1 -1
  18. package/es/Mention/index.d.ts +13 -13
  19. package/es/Mention/index.vue.d.ts +21 -21
  20. package/es/Message/Message.vue.d.ts +1 -1
  21. package/es/Message/index.d.ts +3 -3
  22. package/es/Modal/Modal.vue.d.ts +2 -2
  23. package/es/Modal/ModalService.vue.d.ts +2 -2
  24. package/es/Modal/index.d.ts +6 -6
  25. package/es/Notification/Notification.vue.d.ts +3 -3
  26. package/es/Notification/index.d.ts +9 -9
  27. package/es/Pagination/hooks/useContext.d.ts +1 -1
  28. package/es/Popover/index.d.ts +3 -3
  29. package/es/Popover/index.vue.d.ts +1 -1
  30. package/es/Select/Select.vue.d.ts +12 -12
  31. package/es/Select/index.d.ts +10 -10
  32. package/es/Statistic/Countdown.vue.d.ts +1 -1
  33. package/es/Statistic/Statistic.vue.d.ts +1 -1
  34. package/es/Statistic/index.d.ts +6 -6
  35. package/es/Tabs/hooks/useContext.d.ts +1 -1
  36. package/es/Transfer/Transfer.vue.d.ts +1 -1
  37. package/es/Transfer/index.d.ts +3 -3
  38. package/es/Trigger/index.vue.js +1 -1
  39. package/es/Trigger/index.vue2.js +5 -2
  40. package/es/_shared/icons/IconMinus.vue.js +16 -1
  41. package/es/_shared/icons/IconMinus.vue2.js +1 -16
  42. package/es/_shared/utils/dom.d.ts +1 -1
  43. package/es/_shared/utils/global-config.d.ts +1 -1
  44. package/es/index.d.ts +3 -3
  45. package/es/style.css +1 -1
  46. package/lib/Alert/index.d.ts +3 -3
  47. package/lib/Alert/index.vue.d.ts +1 -1
  48. package/lib/AutoComplete/index.d.ts +10 -10
  49. package/lib/AutoComplete/index.vue.d.ts +20 -20
  50. package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
  51. package/lib/ColorPicker/hooks/useContext.d.ts +1 -1
  52. package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
  53. package/lib/Descriptions/hooks/useContext.d.ts +1 -1
  54. package/lib/Descriptions/index.d.ts +3 -3
  55. package/lib/Drawer/Drawer.vue.d.ts +1 -1
  56. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  57. package/lib/Drawer/index.d.ts +3 -3
  58. package/lib/InputNumber/InputOperaBtn.vue2.js +1 -1
  59. package/lib/InputTag/index.d.ts +5 -5
  60. package/lib/InputTag/index.vue.d.ts +2 -2
  61. package/lib/List/List.vue.d.ts +2 -2
  62. package/lib/List/index.d.ts +1 -1
  63. package/lib/Mention/index.d.ts +13 -13
  64. package/lib/Mention/index.vue.d.ts +21 -21
  65. package/lib/Message/Message.vue.d.ts +1 -1
  66. package/lib/Message/index.d.ts +3 -3
  67. package/lib/Modal/Modal.vue.d.ts +2 -2
  68. package/lib/Modal/ModalService.vue.d.ts +2 -2
  69. package/lib/Modal/index.d.ts +6 -6
  70. package/lib/Notification/Notification.vue.d.ts +3 -3
  71. package/lib/Notification/index.d.ts +9 -9
  72. package/lib/Pagination/hooks/useContext.d.ts +1 -1
  73. package/lib/Popover/index.d.ts +3 -3
  74. package/lib/Popover/index.vue.d.ts +1 -1
  75. package/lib/Select/Select.vue.d.ts +12 -12
  76. package/lib/Select/index.d.ts +10 -10
  77. package/lib/Statistic/Countdown.vue.d.ts +1 -1
  78. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  79. package/lib/Statistic/index.d.ts +6 -6
  80. package/lib/Tabs/hooks/useContext.d.ts +1 -1
  81. package/lib/Transfer/Transfer.vue.d.ts +1 -1
  82. package/lib/Transfer/index.d.ts +3 -3
  83. package/lib/Trigger/index.vue.js +1 -1
  84. package/lib/Trigger/index.vue2.js +1 -1
  85. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  86. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  87. package/lib/_shared/utils/dom.d.ts +1 -1
  88. package/lib/_shared/utils/global-config.d.ts +1 -1
  89. package/lib/index.d.ts +3 -3
  90. package/lib/style.css +1 -1
  91. package/package.json +1 -1
@@ -6,14 +6,14 @@ export * from './type';
6
6
  declare const Notification: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
8
  duration: number;
9
- title: import('../_shared/type').RenderContent;
10
- id: string;
11
- style: import('vue').CSSProperties;
12
9
  content: import('../_shared/type').RenderContent;
10
+ style: import('vue').CSSProperties;
13
11
  icon: import('vue').RenderFunction;
14
12
  type: NotificationType;
15
13
  footer: import('vue').RenderFunction;
14
+ title: import('../_shared/type').RenderContent;
16
15
  class: import('../_shared/type').ClassName;
16
+ id: string;
17
17
  onClose: (id: string | number) => void;
18
18
  closable: boolean;
19
19
  showIcon: boolean;
@@ -29,14 +29,14 @@ declare const Notification: {
29
29
  Defaults: {};
30
30
  }, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
31
31
  duration: number;
32
- title: import('../_shared/type').RenderContent;
33
- id: string;
34
- style: import('vue').CSSProperties;
35
32
  content: import('../_shared/type').RenderContent;
33
+ style: import('vue').CSSProperties;
36
34
  icon: import('vue').RenderFunction;
37
35
  type: NotificationType;
38
36
  footer: import('vue').RenderFunction;
37
+ title: import('../_shared/type').RenderContent;
39
38
  class: import('../_shared/type').ClassName;
39
+ id: string;
40
40
  onClose: (id: string | number) => void;
41
41
  closable: boolean;
42
42
  showIcon: boolean;
@@ -49,14 +49,14 @@ declare const Notification: {
49
49
  __isSuspense?: never;
50
50
  } & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
51
51
  duration: number;
52
- title: import('../_shared/type').RenderContent;
53
- id: string;
54
- style: import('vue').CSSProperties;
55
52
  content: import('../_shared/type').RenderContent;
53
+ style: import('vue').CSSProperties;
56
54
  icon: import('vue').RenderFunction;
57
55
  type: NotificationType;
58
56
  footer: import('vue').RenderFunction;
57
+ title: import('../_shared/type').RenderContent;
59
58
  class: import('../_shared/type').ClassName;
59
+ id: string;
60
60
  onClose: (id: string | number) => void;
61
61
  closable: boolean;
62
62
  showIcon: boolean;
@@ -14,7 +14,7 @@ interface PaginationContext {
14
14
  declare const _default: () => {
15
15
  provide: (props: Props, emits: PaginationEmits) => {
16
16
  total: import('vue').WritableComputedRef<any, number>;
17
- size: import('vue').ComputedRef<string | number | undefined>;
17
+ size: import('vue').ComputedRef<number | boolean | import('../../_shared/type').PopupContainer | undefined>;
18
18
  pages: import('vue').ComputedRef<number>;
19
19
  pagesArray: import('vue').ComputedRef<(string | number)[]>;
20
20
  computedCurrent: import('vue').WritableComputedRef<any, number>;
@@ -22,8 +22,8 @@ declare const Popover: {
22
22
  arrowClass: import('../_shared/type').ClassName;
23
23
  arrowStyle: import('vue').CSSProperties;
24
24
  popupContainer: import('..').PopupContainer;
25
- title: string;
26
25
  content: string;
26
+ title: string;
27
27
  triggerProps: import('..').TriggerProps;
28
28
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
29
29
  P: {};
@@ -48,8 +48,8 @@ declare const Popover: {
48
48
  arrowClass: import('../_shared/type').ClassName;
49
49
  arrowStyle: import('vue').CSSProperties;
50
50
  popupContainer: import('..').PopupContainer;
51
- title: string;
52
51
  content: string;
52
+ title: string;
53
53
  triggerProps: import('..').TriggerProps;
54
54
  }>;
55
55
  __isFragment?: never;
@@ -74,8 +74,8 @@ declare const Popover: {
74
74
  arrowClass: import('../_shared/type').ClassName;
75
75
  arrowStyle: import('vue').CSSProperties;
76
76
  popupContainer: import('..').PopupContainer;
77
- title: string;
78
77
  content: string;
78
+ title: string;
79
79
  triggerProps: import('..').TriggerProps;
80
80
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
81
81
  $slots: Readonly<import('./type').PopoverSlots> & import('./type').PopoverSlots;
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {
25
25
  arrowClass: import('../_shared/type').ClassName;
26
26
  arrowStyle: import('vue').CSSProperties;
27
27
  popupContainer: import('..').PopupContainer;
28
- title: string;
29
28
  content: string;
29
+ title: string;
30
30
  triggerProps: import('../Trigger').TriggerProps;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -266,9 +266,9 @@ declare function __VLS_template(): {
266
266
  readonly allowCreate?: boolean | undefined;
267
267
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
268
268
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
269
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
270
269
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
271
270
  readonly onInput?: ((value: string) => any) | undefined;
271
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
272
272
  readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
273
273
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
274
274
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -289,14 +289,14 @@ declare function __VLS_template(): {
289
289
  $root: import('vue').ComponentPublicInstance | null;
290
290
  $parent: import('vue').ComponentPublicInstance | null;
291
291
  $host: Element | null;
292
- $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: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
292
+ $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: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
293
293
  $el: HTMLDivElement;
294
294
  $options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
295
295
  onFocus?: ((ev: FocusEvent) => any) | undefined;
296
296
  onClear?: ((ev: MouseEvent) => any) | undefined;
297
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
298
297
  onBlur?: ((ev: FocusEvent) => any) | undefined;
299
298
  onInput?: ((value: string) => any) | undefined;
299
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
300
300
  "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
301
301
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
302
302
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -307,9 +307,9 @@ declare function __VLS_template(): {
307
307
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
308
308
  focus: (ev: FocusEvent) => any;
309
309
  clear: (ev: MouseEvent) => any;
310
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
311
310
  blur: (ev: FocusEvent) => any;
312
311
  input: (value: string) => any;
312
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
313
313
  "update:modelValue": (value: InputTagValue) => any;
314
314
  "update:inputValue": (value: string) => any;
315
315
  "input-value-change": (value: string, ev: Event) => any;
@@ -371,9 +371,9 @@ declare function __VLS_template(): {
371
371
  }> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
372
372
  onFocus?: ((ev: FocusEvent) => any) | undefined;
373
373
  onClear?: ((ev: MouseEvent) => any) | undefined;
374
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
375
374
  onBlur?: ((ev: FocusEvent) => any) | undefined;
376
375
  onInput?: ((value: string) => any) | undefined;
376
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
377
377
  "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
378
378
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
379
379
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -397,9 +397,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
397
397
  "update:popupVisible": (value: boolean) => any;
398
398
  "popup-visible-change": (value: boolean) => any;
399
399
  clear: () => any;
400
- remove: (index: string | number, ev: Event) => any;
401
400
  select: (value: import('./type').SelectValue) => any;
402
401
  search: (value: string) => any;
402
+ remove: (index: string | number, ev: Event) => any;
403
403
  "update:modelValue": (value: import('./type').SelectValue) => any;
404
404
  "update:inputValue": (value: import('./type').SelectValue) => any;
405
405
  "input-value-change": (value: string) => any;
@@ -411,9 +411,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
411
411
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
412
412
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
413
413
  onClear?: (() => any) | undefined;
414
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
415
414
  onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
416
415
  onSearch?: ((value: string) => any) | undefined;
416
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
417
417
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
418
418
  "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
419
419
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -716,9 +716,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
716
716
  readonly allowCreate?: boolean | undefined;
717
717
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
718
718
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
719
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
720
719
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
721
720
  readonly onInput?: ((value: string) => any) | undefined;
721
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
722
722
  readonly "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
723
723
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
724
724
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -739,14 +739,14 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
739
739
  $root: import('vue').ComponentPublicInstance | null;
740
740
  $parent: import('vue').ComponentPublicInstance | null;
741
741
  $host: Element | null;
742
- $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: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
742
+ $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: InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
743
743
  $el: HTMLDivElement;
744
744
  $options: import('vue').ComponentOptionsBase<Readonly<import('../InputTag').InputTagProps> & Readonly<{
745
745
  onFocus?: ((ev: FocusEvent) => any) | undefined;
746
746
  onClear?: ((ev: MouseEvent) => any) | undefined;
747
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
748
747
  onBlur?: ((ev: FocusEvent) => any) | undefined;
749
748
  onInput?: ((value: string) => any) | undefined;
749
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
750
750
  "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
751
751
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
752
752
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -757,9 +757,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
757
757
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
758
758
  focus: (ev: FocusEvent) => any;
759
759
  clear: (ev: MouseEvent) => any;
760
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
761
760
  blur: (ev: FocusEvent) => any;
762
761
  input: (value: string) => any;
762
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
763
763
  "update:modelValue": (value: InputTagValue) => any;
764
764
  "update:inputValue": (value: string) => any;
765
765
  "input-value-change": (value: string, ev: Event) => any;
@@ -821,9 +821,9 @@ declare const __VLS_component: import('vue').DefineComponent<SelectProps, {
821
821
  }> & Omit<Readonly<import('../InputTag').InputTagProps> & Readonly<{
822
822
  onFocus?: ((ev: FocusEvent) => any) | undefined;
823
823
  onClear?: ((ev: MouseEvent) => any) | undefined;
824
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
825
824
  onBlur?: ((ev: FocusEvent) => any) | undefined;
826
825
  onInput?: ((value: string) => any) | undefined;
826
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
827
827
  "onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
828
828
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
829
829
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -12,9 +12,9 @@ declare const Select: {
12
12
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
13
13
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
14
14
  onClear?: (() => any) | undefined;
15
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
16
15
  onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
17
16
  onSearch?: ((value: string) => any) | undefined;
17
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
18
18
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
19
19
  "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
20
20
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -30,9 +30,9 @@ declare const Select: {
30
30
  "update:popupVisible": (value: boolean) => any;
31
31
  "popup-visible-change": (value: boolean) => any;
32
32
  clear: () => any;
33
- remove: (index: string | number, ev: Event) => any;
34
33
  select: (value: import('./type').SelectValue) => any;
35
34
  search: (value: string) => any;
35
+ remove: (index: string | number, ev: Event) => any;
36
36
  "update:modelValue": (value: import('./type').SelectValue) => any;
37
37
  "update:inputValue": (value: import('./type').SelectValue) => any;
38
38
  "input-value-change": (value: string) => any;
@@ -335,9 +335,9 @@ declare const Select: {
335
335
  readonly allowCreate?: boolean | undefined;
336
336
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
337
337
  readonly onClear?: ((ev: MouseEvent) => any) | undefined;
338
- readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
339
338
  readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
340
339
  readonly onInput?: ((value: string) => any) | undefined;
340
+ readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
341
341
  readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
342
342
  readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
343
343
  readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -358,14 +358,14 @@ declare const Select: {
358
358
  $root: import('vue').ComponentPublicInstance | null;
359
359
  $parent: import('vue').ComponentPublicInstance | null;
360
360
  $host: Element | null;
361
- $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);
361
+ $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);
362
362
  $el: HTMLDivElement;
363
363
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
364
364
  onFocus?: ((ev: FocusEvent) => any) | undefined;
365
365
  onClear?: ((ev: MouseEvent) => any) | undefined;
366
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
367
366
  onBlur?: ((ev: FocusEvent) => any) | undefined;
368
367
  onInput?: ((value: string) => any) | undefined;
368
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
369
369
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
370
370
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
371
371
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -376,9 +376,9 @@ declare const Select: {
376
376
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
377
377
  focus: (ev: FocusEvent) => any;
378
378
  clear: (ev: MouseEvent) => any;
379
- remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
380
379
  blur: (ev: FocusEvent) => any;
381
380
  input: (value: string) => any;
381
+ remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
382
382
  "update:modelValue": (value: import('..').InputTagValue) => any;
383
383
  "update:inputValue": (value: string) => any;
384
384
  "input-value-change": (value: string, ev: Event) => any;
@@ -440,9 +440,9 @@ declare const Select: {
440
440
  }> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
441
441
  onFocus?: ((ev: FocusEvent) => any) | undefined;
442
442
  onClear?: ((ev: MouseEvent) => any) | undefined;
443
- onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
444
443
  onBlur?: ((ev: FocusEvent) => any) | undefined;
445
444
  onInput?: ((value: string) => any) | undefined;
445
+ onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
446
446
  "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
447
447
  "onUpdate:inputValue"?: ((value: string) => any) | undefined;
448
448
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
@@ -465,9 +465,9 @@ declare const Select: {
465
465
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
466
466
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
467
467
  onClear?: (() => any) | undefined;
468
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
469
468
  onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
470
469
  onSearch?: ((value: string) => any) | undefined;
470
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
471
471
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
472
472
  "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
473
473
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -521,9 +521,9 @@ declare const Select: {
521
521
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
522
522
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
523
523
  onClear?: (() => any) | undefined;
524
- onRemove?: ((index: string | number, ev: Event) => any) | undefined;
525
524
  onSelect?: ((value: import('./type').SelectValue) => any) | undefined;
526
525
  onSearch?: ((value: string) => any) | undefined;
526
+ onRemove?: ((index: string | number, ev: Event) => any) | undefined;
527
527
  "onUpdate:modelValue"?: ((value: import('./type').SelectValue) => any) | undefined;
528
528
  "onUpdate:inputValue"?: ((value: import('./type').SelectValue) => any) | undefined;
529
529
  "onInput-value-change"?: ((value: string) => any) | undefined;
@@ -539,9 +539,9 @@ declare const Select: {
539
539
  "update:popupVisible": (value: boolean) => any;
540
540
  "popup-visible-change": (value: boolean) => any;
541
541
  clear: () => any;
542
- remove: (index: string | number, ev: Event) => any;
543
542
  select: (value: import('./type').SelectValue) => any;
544
543
  search: (value: string) => any;
544
+ remove: (index: string | number, ev: Event) => any;
545
545
  "update:modelValue": (value: import('./type').SelectValue) => any;
546
546
  "update:inputValue": (value: import('./type').SelectValue) => any;
547
547
  "input-value-change": (value: string) => any;
@@ -11,9 +11,9 @@ declare const __VLS_component: import('vue').DefineComponent<CountdownProps, {},
11
11
  }, string, import('vue').PublicProps, Readonly<CountdownProps> & Readonly<{
12
12
  onFinish?: (() => any) | undefined;
13
13
  }>, {
14
- title: string;
15
14
  value: number;
16
15
  start: boolean;
16
+ title: string;
17
17
  format: string;
18
18
  easeing: string;
19
19
  valueStyle: import('vue').CSSProperties;
@@ -13,10 +13,10 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
13
13
  }, string, import('vue').PublicProps, Readonly<StatisticProps> & Readonly<{
14
14
  onFinish?: (() => any) | undefined;
15
15
  }>, {
16
- title: string;
17
16
  value: import('./type').StatisticValue;
18
17
  start: boolean;
19
18
  separator: string;
19
+ title: string;
20
20
  placeholder: string;
21
21
  animation: boolean;
22
22
  format: string;
@@ -10,10 +10,10 @@ declare const Statistic: {
10
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
11
  finish: () => any;
12
12
  }, import('vue').PublicProps, {
13
- title: string;
14
13
  value: import('./type').StatisticValue;
15
14
  start: boolean;
16
15
  separator: string;
16
+ title: string;
17
17
  placeholder: string;
18
18
  animation: boolean;
19
19
  format: string;
@@ -37,10 +37,10 @@ declare const Statistic: {
37
37
  }, Readonly<import('./type').StatisticProps> & Readonly<{
38
38
  onFinish?: (() => any) | undefined;
39
39
  }>, {}, {}, {}, {}, {
40
- title: string;
41
40
  value: import('./type').StatisticValue;
42
41
  start: boolean;
43
42
  separator: string;
43
+ title: string;
44
44
  placeholder: string;
45
45
  animation: boolean;
46
46
  format: string;
@@ -61,10 +61,10 @@ declare const Statistic: {
61
61
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
62
62
  finish: () => any;
63
63
  }, string, {
64
- title: string;
65
64
  value: import('./type').StatisticValue;
66
65
  start: boolean;
67
66
  separator: string;
67
+ title: string;
68
68
  placeholder: string;
69
69
  animation: boolean;
70
70
  format: string;
@@ -85,9 +85,9 @@ declare const Statistic: {
85
85
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
86
86
  finish: () => any;
87
87
  }, import('vue').PublicProps, {
88
- title: string;
89
88
  value: number;
90
89
  start: boolean;
90
+ title: string;
91
91
  format: string;
92
92
  easeing: string;
93
93
  valueStyle: import('vue').CSSProperties;
@@ -102,9 +102,9 @@ declare const Statistic: {
102
102
  }, Readonly<import('./type').CountdownProps> & Readonly<{
103
103
  onFinish?: (() => any) | undefined;
104
104
  }>, {}, {}, {}, {}, {
105
- title: string;
106
105
  value: number;
107
106
  start: boolean;
107
+ title: string;
108
108
  format: string;
109
109
  easeing: string;
110
110
  valueStyle: import('vue').CSSProperties;
@@ -118,9 +118,9 @@ declare const Statistic: {
118
118
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
119
119
  finish: () => any;
120
120
  }, string, {
121
- title: string;
122
121
  value: number;
123
122
  start: boolean;
123
+ title: string;
124
124
  format: string;
125
125
  easeing: string;
126
126
  valueStyle: import('vue').CSSProperties;
@@ -23,7 +23,7 @@ export type PaneNode = {
23
23
  declare const _default: () => {
24
24
  provide: (props: Props, emits: TabsEmits, listRef: Ref<HTMLDivElement | undefined>) => {
25
25
  computedActiveKey: import('vue').WritableComputedRef<any, TabKey>;
26
- size: import('vue').ComputedRef<string | number | undefined>;
26
+ size: import('vue').ComputedRef<number | boolean | import('../../_shared/type').PopupContainer | undefined>;
27
27
  direction: import('vue').ComputedRef<Direction>;
28
28
  position: Ref<TabPositon, TabPositon>;
29
29
  autoSwitch: Ref<boolean, boolean>;
@@ -20,8 +20,8 @@ declare const __VLS_component: import('vue').DefineComponent<TransferProps, {},
20
20
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
21
21
  }>, {
22
22
  disabled: boolean;
23
- title: string[];
24
23
  data: import('./type').TransferItem[];
24
+ title: string[];
25
25
  modelValue: string[];
26
26
  defaultValue: string[];
27
27
  simple: boolean;
@@ -17,8 +17,8 @@ declare const Transfer: {
17
17
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
18
18
  }, import('vue').PublicProps, {
19
19
  disabled: boolean;
20
- title: string[];
21
20
  data: import('./type').TransferItem[];
21
+ title: string[];
22
22
  modelValue: string[];
23
23
  defaultValue: string[];
24
24
  simple: boolean;
@@ -44,8 +44,8 @@ declare const Transfer: {
44
44
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
45
45
  }>, {}, {}, {}, {}, {
46
46
  disabled: boolean;
47
- title: string[];
48
47
  data: import('./type').TransferItem[];
48
+ title: string[];
49
49
  modelValue: string[];
50
50
  defaultValue: string[];
51
51
  simple: boolean;
@@ -74,8 +74,8 @@ declare const Transfer: {
74
74
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
75
75
  }, string, {
76
76
  disabled: boolean;
77
- title: string[];
78
77
  data: import('./type').TransferItem[];
78
+ title: string[];
79
79
  modelValue: string[];
80
80
  defaultValue: string[];
81
81
  simple: boolean;
@@ -1 +1 @@
1
- "use strict";const e=;/* empty css */;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.js")(e,[["__scopeId","data-v-37d87bda"]]);module.exports=r;
1
+ "use strict";const e=;/* empty css */;/* empty css */const r=require("../_virtual/_plugin-vue_export-helper.js")(e,[["__scopeId","data-v-93ea11ef"]]);module.exports=r;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const o=require("../_shared/utils/vue-utils.js"),t=require("../_shared/utils/global-config.js"),n=require("./hooks/useTriggerVisible.js"),r=require("./hooks/useTriggerPosition.js");,/* empty css */;/* empty css */const l=require("../_shared/components/PreventFocus.vue.js");;/* empty css */const a=e.defineComponent({name:"Trigger",inheritAttrs:!1,__name:"index",props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{default:"hover"},position:{default:"bottom"},disabled:{type:Boolean,default:!1},popupOffset:{default:0},popupTranslate:{default:()=>[0,0]},showArrow:{type:Boolean,default:!1},popuphoverStay:{type:Boolean},blurToClose:{type:Boolean,default:!0},clickToClose:{type:Boolean,default:!0},clickOutsideToClose:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!0},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},animationName:{default:"fade"},duration:{default:400},mouseEnterDelay:{default:100},mouseLeaveDelay:{default:100},focusDelay:{default:0},autoFitPopupWidth:{type:Boolean,default:!1},autoFitPopupMinWidth:{type:Boolean,default:!1},popupContainer:{default:void 0},renderToBody:{type:Boolean,default:!0},autoFitPosition:{type:Boolean,default:!0},updateAtScroll:{type:Boolean,default:void 0},preventFocus:{type:Boolean,default:!1},alignPoint:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:void 0},scrollToCloseDistance:{default:1},needTransformOrigin:{type:Boolean,default:!1},autoSetPosition:{type:Boolean,default:!1},onTriggerMouseenter:{},onTriggerMouseleave:{},onTriggerMouseclick:{},onTriggerFocus:{},onTriggerBlur:{},onClickOutSide:{}},emits:["update:popupVisible","popup-visible-change","show","hide"],setup(a,{expose:u,emit:s}){const i=e.useSlots(),d=a,p=s,{popupContainer:f}=t.getGlobalConfig(d),c=e.ref(),m=e.ref(),y=e.ref(),g=e.computed(()=>{var e;return o.findFirstLegitChild((null==(e=i.default)?void 0:e.call(i))||[])}),{computedVisible:v,mouseX:B,mouseY:h,handleClickEvent:C,handleMouseenter:k,handleMouseleave:T,handleFocus:w,handleBlur:b}=n({props:d,emits:p,popupRef:c,triggerRef:m}),{position:M,popupStyle:_,contentStyle:S,arrowStyle:q}=r({props:d,computedVisible:v,popupRef:c,triggerRef:m,arrowRef:y,mouseX:B,mouseY:h});return u({hide(){v.value=!1},show(){v.value=!0},updatePosition(e,o){B.value=e,h.value=o}}),(o,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g.value),{ref_key:"triggerRef",ref:m,onClick:t[0]||(t[0]=o=>e.unref(C)(o,"click")),onContextmenu:t[1]||(t[1]=e.withModifiers(o=>e.unref(C)(o,"contextMenu"),["prevent"])),onMouseenter:e.unref(k),onMouseleave:e.unref(T),onFocus:e.unref(w),onBlur:e.unref(b)},null,40,["onMouseenter","onMouseleave","onFocus","onBlur"])),(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(f),disabled:!o.renderToBody},[e.createVNode(e.Transition,{name:o.animationName,duration:o.duration,onAfterLeave:t[2]||(t[2]=e=>o.$emit("hide")),onAfterEnter:t[3]||(t[3]=e=>o.$emit("show"))},{default:e.withCtx(()=>[!o.unmountOnClose||e.unref(v)&&!o.disabled?e.withDirectives((e.openBlock(),e.createBlock(e.unref(l),{key:0,"prevent-focus":o.preventFocus,class:e.normalizeClass(["yc-trigger",`yc-trigger-position-${e.unref(M)}`,{"yc-trigger-transform-origin":o.needTransformOrigin},o.$attrs.class]),style:e.normalizeStyle({...e.unref(_),...o.$attrs.style||{}}),ref_key:"popupRef",ref:c,onMouseenter:e.unref(k),onMouseleave:e.unref(T)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-trigger-content",o.contentClass]),style:e.normalizeStyle(e.unref(S))},[e.renderSlot(o.$slots,"content",{},void 0,!0)],6),o.showArrow?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-trigger-arrow",o.arrowClass]),style:e.normalizeStyle(e.unref(q)),ref_key:"arrowRef",ref:y},null,6)):e.createCommentVNode("",!0)]),_:3},8,["prevent-focus","class","style","onMouseenter","onMouseleave"])),[[e.vShow,e.unref(v)&&!o.disabled]]):e.createCommentVNode("",!0)]),_:3},8,["name","duration"])],8,["to","disabled"]))],64))}});module.exports=a;
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/vue-utils.js"),n=require("../_shared/utils/global-config.js"),r=require("./hooks/useTriggerVisible.js"),l=require("./hooks/useTriggerPosition.js");,/* empty css */;/* empty css */const u=require("../_shared/components/PreventFocus.vue.js");;/* empty css */const a=e.defineComponent({name:"Trigger",inheritAttrs:!1,__name:"index",props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{default:"hover"},position:{default:"bottom"},disabled:{type:Boolean,default:!1},popupOffset:{default:0},popupTranslate:{default:()=>[0,0]},showArrow:{type:Boolean,default:!1},popuphoverStay:{type:Boolean},blurToClose:{type:Boolean,default:!0},clickToClose:{type:Boolean,default:!0},clickOutsideToClose:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!0},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},animationName:{default:"fade"},duration:{default:400},mouseEnterDelay:{default:100},mouseLeaveDelay:{default:100},focusDelay:{default:0},autoFitPopupWidth:{type:Boolean,default:!1},autoFitPopupMinWidth:{type:Boolean,default:!1},popupContainer:{default:void 0},renderToBody:{type:Boolean,default:!0},autoFitPosition:{type:Boolean,default:!0},updateAtScroll:{type:Boolean,default:void 0},preventFocus:{type:Boolean,default:!1},alignPoint:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:void 0},scrollToCloseDistance:{default:1},needTransformOrigin:{type:Boolean,default:!1},autoSetPosition:{type:Boolean,default:!1},onTriggerMouseenter:{},onTriggerMouseleave:{},onTriggerMouseclick:{},onTriggerFocus:{},onTriggerBlur:{},onClickOutSide:{}},emits:["update:popupVisible","popup-visible-change","show","hide"],setup(a,{expose:s,emit:i}){const d=e.useSlots(),p=a,f=i,{popupContainer:c}=e.toRefs(p),{popupContainer:m}=n.getGlobalConfig(p),y=e.ref(),g=e.ref(),v=e.ref(),h=e.computed(()=>{var e;return t.findFirstLegitChild((null==(e=d.default)?void 0:e.call(d))||[])}),{computedVisible:B,mouseX:C,mouseY:k,handleClickEvent:T,handleMouseenter:w,handleMouseleave:b,handleFocus:_,handleBlur:M}=r({props:p,emits:f,popupRef:y,triggerRef:g}),{position:S,popupStyle:q,contentStyle:j,arrowStyle:F}=l({props:p,computedVisible:B,popupRef:y,triggerRef:g,arrowRef:v,mouseX:C,mouseY:k});return s({hide(){B.value=!1},show(){B.value=!0},updatePosition(e,o){C.value=e,k.value=o}}),(t,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(h.value),{ref_key:"triggerRef",ref:g,onClick:n[0]||(n[0]=o=>e.unref(T)(o,"click")),onContextmenu:n[1]||(n[1]=e.withModifiers(o=>e.unref(T)(o,"contextMenu"),["prevent"])),onMouseenter:e.unref(w),onMouseleave:e.unref(b),onFocus:e.unref(_),onBlur:e.unref(M)},null,40,["onMouseenter","onMouseleave","onFocus","onBlur"])),(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(m),disabled:!t.renderToBody},[e.createVNode(e.Transition,{name:t.animationName,duration:t.duration,onAfterLeave:n[2]||(n[2]=e=>t.$emit("hide")),onAfterEnter:n[3]||(n[3]=e=>t.$emit("show"))},{default:e.withCtx(()=>[!t.unmountOnClose||e.unref(B)&&!t.disabled?e.withDirectives((e.openBlock(),e.createBlock(e.unref(u),{key:0,"prevent-focus":t.preventFocus,class:e.normalizeClass(["yc-trigger",`yc-trigger-position-${e.unref(S)}`,{"yc-trigger-transform-origin":t.needTransformOrigin,"yc-trigger-absolute":!e.unref(o.isUndefined)(e.unref(c))},t.$attrs.class]),style:e.normalizeStyle({...e.unref(q),...t.$attrs.style||{}}),ref_key:"popupRef",ref:y,onMouseenter:e.unref(w),onMouseleave:e.unref(b)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-trigger-content",t.contentClass]),style:e.normalizeStyle(e.unref(j))},[e.renderSlot(t.$slots,"content",{},void 0,!0)],6),t.showArrow?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-trigger-arrow",t.arrowClass]),style:e.normalizeStyle(e.unref(F)),ref_key:"arrowRef",ref:v},null,6)):e.createCommentVNode("",!0)]),_:3},8,["prevent-focus","class","style","onMouseenter","onMouseleave"])),[[e.vShow,e.unref(B)&&!t.disabled]]):e.createCommentVNode("",!0)]),_:3},8,["name","duration"])],8,["to","disabled"]))],64))}});module.exports=a;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconMinus.vue2.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconMinus",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M5 24h38"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue2.js"),o=e.defineComponent({__name:"IconMinus",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M5 24h38"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconMinus.vue.js");module.exports=e;
@@ -18,7 +18,7 @@ export declare const findFirstScrollableParent: (element?: HTMLElement) => HTMLE
18
18
  */
19
19
  export declare const calculateEllipsis: (originElement: HTMLElement, ellipsisConfig: EllipsisConfig | undefined, operations: (HTMLElement | HTMLElement[] | null) | undefined, fullText: string) => {
20
20
  tooltip?: {
21
- type?: "popover" | "tooltip" | undefined;
21
+ type?: "tooltip" | "popover" | undefined;
22
22
  props?: Record<string, any> | undefined;
23
23
  title: string;
24
24
  } | undefined;
@@ -11,7 +11,7 @@ export interface ConfigProviderProvide {
11
11
  exchangeTime: Ref<boolean>;
12
12
  slots: Partial<ConfigconfigSlots>;
13
13
  }
14
- type ValueType = string | undefined | number;
14
+ type ValueType = string | number | boolean | PopupContainer | undefined;
15
15
  export declare const getGlobalConfig: (props?: Props) => {
16
16
  slots: Partial<ConfigconfigSlots>;
17
17
  zIndex: Ref<number, number>;
package/lib/index.d.ts CHANGED
@@ -420,9 +420,9 @@ declare const _default: {
420
420
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
421
421
  finish: () => any;
422
422
  }, import('vue').PublicProps, {
423
- title: string;
424
423
  value: number;
425
424
  start: boolean;
425
+ title: string;
426
426
  format: string;
427
427
  easeing: string;
428
428
  valueStyle: import('vue').CSSProperties;
@@ -437,9 +437,9 @@ declare const _default: {
437
437
  }, Readonly<import('./Statistic').CountdownProps> & Readonly<{
438
438
  onFinish?: (() => any) | undefined;
439
439
  }>, {}, {}, {}, {}, {
440
- title: string;
441
440
  value: number;
442
441
  start: boolean;
442
+ title: string;
443
443
  format: string;
444
444
  easeing: string;
445
445
  valueStyle: import('vue').CSSProperties;
@@ -453,9 +453,9 @@ declare const _default: {
453
453
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
454
454
  finish: () => any;
455
455
  }, string, {
456
- title: string;
457
456
  value: number;
458
457
  start: boolean;
458
+ title: string;
459
459
  format: string;
460
460
  easeing: string;
461
461
  valueStyle: import('vue').CSSProperties;