yc-design-vue 2.1.9 → 2.2.0

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 (130) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Avatar/Avatar.vue.d.ts +1 -1
  4. package/es/Avatar/index.d.ts +3 -3
  5. package/es/Badge/index.d.ts +3 -3
  6. package/es/Badge/index.vue.d.ts +1 -1
  7. package/es/Button/Button.vue.d.ts +2 -2
  8. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  9. package/es/Button/index.d.ts +9 -9
  10. package/es/Card/Card.vue.d.ts +1 -1
  11. package/es/Card/index.d.ts +3 -3
  12. package/es/Cascader/Cascader.vue.d.ts +12 -44
  13. package/es/Cascader/index.d.ts +6 -22
  14. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  15. package/es/Dropdown/index.d.ts +3 -3
  16. package/es/Image/ImagePreviewToolbar.vue.js +6 -6
  17. package/es/Input/Input.vue.d.ts +2 -8
  18. package/es/Input/Input.vue.js +24 -46
  19. package/es/Input/InputPassword.vue.d.ts +309 -0
  20. package/es/Input/InputPassword.vue.js +122 -0
  21. package/es/Input/InputPassword.vue2.js +4 -0
  22. package/es/Input/InputSearch.vue.d.ts +310 -0
  23. package/es/Input/InputSearch.vue.js +133 -0
  24. package/es/Input/InputSearch.vue2.js +4 -0
  25. package/es/Input/hooks/useLimitedInput.d.ts +2 -0
  26. package/es/Input/hooks/useLimitedInput.js +2 -0
  27. package/es/Input/index.css +1 -1
  28. package/es/Input/index.d.ts +420 -23
  29. package/es/Input/index.js +11 -3
  30. package/es/Input/type.d.ts +24 -6
  31. package/es/InputNumber/InputNumber.vue.d.ts +12 -44
  32. package/es/InputNumber/index.d.ts +6 -22
  33. package/es/Link/index.d.ts +3 -3
  34. package/es/Link/index.vue.d.ts +1 -1
  35. package/es/Statistic/Statistic.vue.d.ts +1 -1
  36. package/es/Statistic/index.d.ts +3 -3
  37. package/es/Steps/Step.vue.d.ts +1 -1
  38. package/es/Steps/Steps.vue.d.ts +1 -1
  39. package/es/Steps/index.d.ts +6 -6
  40. package/es/Transfer/TransferPanel.vue.js +1 -1
  41. package/es/Typography/TypographyBase.vue.d.ts +12 -44
  42. package/es/Upload/UploadPictureCard.vue2.js +1 -1
  43. package/es/_shared/icons/IconEyeClose.vue.js +32 -1
  44. package/es/_shared/icons/IconEyeClose.vue2.js +1 -32
  45. package/es/_shared/icons/IconEyeOpen.vue.js +29 -1
  46. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -29
  47. package/es/_shared/icons/IconFullScreen.vue.js +1 -28
  48. package/es/_shared/icons/IconFullScreen.vue2.js +28 -1
  49. package/es/_shared/icons/IconOriginSize.vue.js +1 -34
  50. package/es/_shared/icons/IconOriginSize.vue2.js +34 -1
  51. package/es/_shared/icons/IconRotateLeft.vue.js +1 -28
  52. package/es/_shared/icons/IconRotateLeft.vue2.js +28 -1
  53. package/es/_shared/icons/IconRotateRight.vue.js +1 -28
  54. package/es/_shared/icons/IconRotateRight.vue2.js +28 -1
  55. package/es/_shared/icons/IconSearch.vue.js +28 -1
  56. package/es/_shared/icons/IconSearch.vue2.js +1 -28
  57. package/es/_shared/icons/IconZoomIn.vue.js +1 -28
  58. package/es/_shared/icons/IconZoomIn.vue2.js +28 -1
  59. package/es/_shared/icons/IconZoomOut.vue.js +1 -28
  60. package/es/_shared/icons/IconZoomOut.vue2.js +28 -1
  61. package/es/index.d.ts +9 -9
  62. package/es/index.js +4 -0
  63. package/es/style.css +1 -1
  64. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  65. package/lib/Avatar/index.d.ts +3 -3
  66. package/lib/Badge/index.d.ts +3 -3
  67. package/lib/Badge/index.vue.d.ts +1 -1
  68. package/lib/Button/Button.vue.d.ts +2 -2
  69. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  70. package/lib/Button/index.d.ts +9 -9
  71. package/lib/Card/Card.vue.d.ts +1 -1
  72. package/lib/Card/index.d.ts +3 -3
  73. package/lib/Cascader/Cascader.vue.d.ts +12 -44
  74. package/lib/Cascader/index.d.ts +6 -22
  75. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  76. package/lib/Dropdown/index.d.ts +3 -3
  77. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  78. package/lib/Input/Input.vue.d.ts +2 -8
  79. package/lib/Input/Input.vue.js +1 -1
  80. package/lib/Input/InputPassword.vue.d.ts +309 -0
  81. package/lib/Input/InputPassword.vue.js +1 -0
  82. package/lib/Input/{InputSuffix.vue3.js → InputPassword.vue2.js} +1 -1
  83. package/lib/Input/InputSearch.vue.d.ts +310 -0
  84. package/lib/Input/InputSearch.vue.js +1 -0
  85. package/lib/Input/InputSearch.vue2.js +1 -0
  86. package/lib/Input/hooks/useLimitedInput.d.ts +2 -0
  87. package/lib/Input/hooks/useLimitedInput.js +1 -1
  88. package/lib/Input/index.css +1 -1
  89. package/lib/Input/index.d.ts +420 -23
  90. package/lib/Input/index.js +1 -1
  91. package/lib/Input/type.d.ts +24 -6
  92. package/lib/InputNumber/InputNumber.vue.d.ts +12 -44
  93. package/lib/InputNumber/index.d.ts +6 -22
  94. package/lib/Link/index.d.ts +3 -3
  95. package/lib/Link/index.vue.d.ts +1 -1
  96. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  97. package/lib/Statistic/index.d.ts +3 -3
  98. package/lib/Steps/Step.vue.d.ts +1 -1
  99. package/lib/Steps/Steps.vue.d.ts +1 -1
  100. package/lib/Steps/index.d.ts +6 -6
  101. package/lib/Transfer/TransferPanel.vue.js +1 -1
  102. package/lib/Typography/TypographyBase.vue.d.ts +12 -44
  103. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  104. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  105. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  106. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  107. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  108. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  109. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  110. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  111. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  112. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  113. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  114. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  115. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  116. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  117. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  118. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  119. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  120. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  121. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  122. package/lib/index.d.ts +9 -9
  123. package/lib/index.js +1 -1
  124. package/lib/style.css +1 -1
  125. package/package.json +1 -1
  126. package/es/Input/InputSuffix.vue.d.ts +0 -31
  127. package/es/Input/InputSuffix.vue.js +0 -58
  128. package/es/Input/InputSuffix.vue3.js +0 -5
  129. package/lib/Input/InputSuffix.vue.d.ts +0 -31
  130. package/lib/Input/InputSuffix.vue.js +0 -1
@@ -20,10 +20,6 @@ declare function __VLS_template(): {
20
20
  readonly wordSlice?: import('../Input').WordSlice | undefined;
21
21
  readonly showWordLimit?: boolean | undefined;
22
22
  readonly inputAttrs?: import('..').RecordType | undefined;
23
- readonly isPassword?: boolean | undefined;
24
- readonly visibility?: boolean | undefined;
25
- readonly defaultVisibility?: boolean | undefined;
26
- readonly invisibleButton?: boolean | undefined;
27
23
  readonly showInput?: boolean | undefined;
28
24
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
29
25
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -32,8 +28,6 @@ declare function __VLS_template(): {
32
28
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
33
29
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
34
30
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
35
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
36
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
37
31
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
38
32
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
39
33
  $attrs: {
@@ -50,7 +44,7 @@ declare function __VLS_template(): {
50
44
  $root: import('vue').ComponentPublicInstance | null;
51
45
  $parent: import('vue').ComponentPublicInstance | null;
52
46
  $host: Element | null;
53
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
47
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
54
48
  $el: HTMLDivElement;
55
49
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
56
50
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -60,13 +54,13 @@ declare function __VLS_template(): {
60
54
  onInput?: ((value: string, ev: Event) => any) | undefined;
61
55
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
62
56
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
63
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
64
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
65
57
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
66
58
  }>, {
67
59
  focus(): void;
68
60
  blur(): void;
69
61
  getInputRef(): HTMLInputElement;
62
+ setCursor?: () => void;
63
+ recordCursor?: () => void;
70
64
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
71
65
  change: (value: string, ev: Event) => any;
72
66
  focus: (ev: FocusEvent) => any;
@@ -75,8 +69,6 @@ declare function __VLS_template(): {
75
69
  input: (value: string, ev: Event) => any;
76
70
  keydown: (ev: KeyboardEvent) => any;
77
71
  "update:modelValue": (value: string) => any;
78
- "update:visibility": (value: boolean) => any;
79
- "visibility-change": (value: boolean) => any;
80
72
  pressEnter: (ev: KeyboardEvent) => any;
81
73
  }, string, {
82
74
  error: boolean;
@@ -92,10 +84,6 @@ declare function __VLS_template(): {
92
84
  wordLength: import('../Input').WordLength;
93
85
  wordSlice: import('../Input').WordSlice;
94
86
  inputAttrs: import('..').RecordType;
95
- isPassword: boolean;
96
- visibility: boolean;
97
- defaultVisibility: boolean;
98
- invisibleButton: boolean;
99
87
  showInput: boolean;
100
88
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
101
89
  beforeCreate?: (() => void) | (() => void)[];
@@ -131,10 +119,6 @@ declare function __VLS_template(): {
131
119
  wordLength: import('../Input').WordLength;
132
120
  wordSlice: import('../Input').WordSlice;
133
121
  inputAttrs: import('..').RecordType;
134
- isPassword: boolean;
135
- visibility: boolean;
136
- defaultVisibility: boolean;
137
- invisibleButton: boolean;
138
122
  showInput: boolean;
139
123
  }> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
140
124
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -144,13 +128,13 @@ declare function __VLS_template(): {
144
128
  onInput?: ((value: string, ev: Event) => any) | undefined;
145
129
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
146
130
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
147
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
148
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
149
131
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
150
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
132
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
151
133
  focus(): void;
152
134
  blur(): void;
153
135
  getInputRef(): HTMLInputElement;
136
+ setCursor?: () => void;
137
+ recordCursor?: () => void;
154
138
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
155
139
  $slots: any;
156
140
  }) | null;
@@ -213,10 +197,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
213
197
  readonly wordSlice?: import('../Input').WordSlice | undefined;
214
198
  readonly showWordLimit?: boolean | undefined;
215
199
  readonly inputAttrs?: import('..').RecordType | undefined;
216
- readonly isPassword?: boolean | undefined;
217
- readonly visibility?: boolean | undefined;
218
- readonly defaultVisibility?: boolean | undefined;
219
- readonly invisibleButton?: boolean | undefined;
220
200
  readonly showInput?: boolean | undefined;
221
201
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
222
202
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -225,8 +205,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
225
205
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
226
206
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
227
207
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
228
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
229
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
230
208
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
231
209
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
232
210
  $attrs: {
@@ -243,7 +221,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
243
221
  $root: import('vue').ComponentPublicInstance | null;
244
222
  $parent: import('vue').ComponentPublicInstance | null;
245
223
  $host: Element | null;
246
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
224
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
247
225
  $el: HTMLDivElement;
248
226
  $options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
249
227
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -253,13 +231,13 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
253
231
  onInput?: ((value: string, ev: Event) => any) | undefined;
254
232
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
255
233
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
256
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
257
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
258
234
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
259
235
  }>, {
260
236
  focus(): void;
261
237
  blur(): void;
262
238
  getInputRef(): HTMLInputElement;
239
+ setCursor?: () => void;
240
+ recordCursor?: () => void;
263
241
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
264
242
  change: (value: string, ev: Event) => any;
265
243
  focus: (ev: FocusEvent) => any;
@@ -268,8 +246,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
268
246
  input: (value: string, ev: Event) => any;
269
247
  keydown: (ev: KeyboardEvent) => any;
270
248
  "update:modelValue": (value: string) => any;
271
- "update:visibility": (value: boolean) => any;
272
- "visibility-change": (value: boolean) => any;
273
249
  pressEnter: (ev: KeyboardEvent) => any;
274
250
  }, string, {
275
251
  error: boolean;
@@ -285,10 +261,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
285
261
  wordLength: import('../Input').WordLength;
286
262
  wordSlice: import('../Input').WordSlice;
287
263
  inputAttrs: import('..').RecordType;
288
- isPassword: boolean;
289
- visibility: boolean;
290
- defaultVisibility: boolean;
291
- invisibleButton: boolean;
292
264
  showInput: boolean;
293
265
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
294
266
  beforeCreate?: (() => void) | (() => void)[];
@@ -324,10 +296,6 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
324
296
  wordLength: import('../Input').WordLength;
325
297
  wordSlice: import('../Input').WordSlice;
326
298
  inputAttrs: import('..').RecordType;
327
- isPassword: boolean;
328
- visibility: boolean;
329
- defaultVisibility: boolean;
330
- invisibleButton: boolean;
331
299
  showInput: boolean;
332
300
  }> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
333
301
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -337,13 +305,13 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
337
305
  onInput?: ((value: string, ev: Event) => any) | undefined;
338
306
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
339
307
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
340
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
341
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
342
308
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
343
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
309
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
344
310
  focus(): void;
345
311
  blur(): void;
346
312
  getInputRef(): HTMLInputElement;
313
+ setCursor?: () => void;
314
+ recordCursor?: () => void;
347
315
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
348
316
  $slots: any;
349
317
  }) | null;
@@ -58,10 +58,6 @@ declare const InputNumber: {
58
58
  readonly wordSlice?: import('..').WordSlice | undefined;
59
59
  readonly showWordLimit?: boolean | undefined;
60
60
  readonly inputAttrs?: import('..').RecordType | undefined;
61
- readonly isPassword?: boolean | undefined;
62
- readonly visibility?: boolean | undefined;
63
- readonly defaultVisibility?: boolean | undefined;
64
- readonly invisibleButton?: boolean | undefined;
65
61
  readonly showInput?: boolean | undefined;
66
62
  readonly onChange?: ((value: string, ev: Event) => any) | undefined;
67
63
  readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
@@ -70,8 +66,6 @@ declare const InputNumber: {
70
66
  readonly onInput?: ((value: string, ev: Event) => any) | undefined;
71
67
  readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
72
68
  readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
73
- readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
74
- readonly "onVisibility-change"?: ((value: boolean) => any) | undefined;
75
69
  readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
76
70
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
77
71
  $attrs: {
@@ -88,7 +82,7 @@ declare const InputNumber: {
88
82
  $root: import('vue').ComponentPublicInstance | null;
89
83
  $parent: import('vue').ComponentPublicInstance | null;
90
84
  $host: Element | null;
91
- $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
85
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
92
86
  $el: HTMLDivElement;
93
87
  $options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
94
88
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -98,13 +92,13 @@ declare const InputNumber: {
98
92
  onInput?: ((value: string, ev: Event) => any) | undefined;
99
93
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
100
94
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
101
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
102
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
103
95
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
104
96
  }>, {
105
97
  focus(): void;
106
98
  blur(): void;
107
99
  getInputRef(): HTMLInputElement;
100
+ setCursor?: () => void;
101
+ recordCursor?: () => void;
108
102
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
109
103
  change: (value: string, ev: Event) => any;
110
104
  focus: (ev: FocusEvent) => any;
@@ -113,8 +107,6 @@ declare const InputNumber: {
113
107
  input: (value: string, ev: Event) => any;
114
108
  keydown: (ev: KeyboardEvent) => any;
115
109
  "update:modelValue": (value: string) => any;
116
- "update:visibility": (value: boolean) => any;
117
- "visibility-change": (value: boolean) => any;
118
110
  pressEnter: (ev: KeyboardEvent) => any;
119
111
  }, string, {
120
112
  error: boolean;
@@ -130,10 +122,6 @@ declare const InputNumber: {
130
122
  wordLength: import('..').WordLength;
131
123
  wordSlice: import('..').WordSlice;
132
124
  inputAttrs: import('..').RecordType;
133
- isPassword: boolean;
134
- visibility: boolean;
135
- defaultVisibility: boolean;
136
- invisibleButton: boolean;
137
125
  showInput: boolean;
138
126
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
139
127
  beforeCreate?: (() => void) | (() => void)[];
@@ -169,10 +157,6 @@ declare const InputNumber: {
169
157
  wordLength: import('..').WordLength;
170
158
  wordSlice: import('..').WordSlice;
171
159
  inputAttrs: import('..').RecordType;
172
- isPassword: boolean;
173
- visibility: boolean;
174
- defaultVisibility: boolean;
175
- invisibleButton: boolean;
176
160
  showInput: boolean;
177
161
  }> & Omit<Readonly<import('..').InputProps> & Readonly<{
178
162
  onChange?: ((value: string, ev: Event) => any) | undefined;
@@ -182,13 +166,13 @@ declare const InputNumber: {
182
166
  onInput?: ((value: string, ev: Event) => any) | undefined;
183
167
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
184
168
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
185
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
186
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
187
169
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
188
- }>, "focus" | "blur" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
170
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
189
171
  focus(): void;
190
172
  blur(): void;
191
173
  getInputRef(): HTMLInputElement;
174
+ setCursor?: () => void;
175
+ recordCursor?: () => void;
192
176
  }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
193
177
  $slots: any;
194
178
  }) | null;
@@ -16,8 +16,8 @@ declare const Link: {
16
16
  icon: boolean;
17
17
  hoverable: boolean;
18
18
  loading: boolean;
19
- href: string;
20
19
  status: import('..').Status;
20
+ href: string;
21
21
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
22
22
  P: {};
23
23
  B: {};
@@ -34,8 +34,8 @@ declare const Link: {
34
34
  icon: boolean;
35
35
  hoverable: boolean;
36
36
  loading: boolean;
37
- href: string;
38
37
  status: import('..').Status;
38
+ href: string;
39
39
  }>;
40
40
  __isFragment?: never;
41
41
  __isTeleport?: never;
@@ -53,8 +53,8 @@ declare const Link: {
53
53
  icon: boolean;
54
54
  hoverable: boolean;
55
55
  loading: boolean;
56
- href: string;
57
56
  status: import('..').Status;
57
+ href: string;
58
58
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
59
59
  $slots: any;
60
60
  }) & {
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<LinkProps, {}, {},
19
19
  icon: boolean;
20
20
  hoverable: boolean;
21
21
  loading: boolean;
22
- href: string;
23
22
  status: import('..').Status;
23
+ href: string;
24
24
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
25
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
26
  export default _default;
@@ -19,9 +19,9 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
19
19
  placeholder: string;
20
20
  title: string;
21
21
  animation: boolean;
22
+ extra: string;
22
23
  animationDuration: number;
23
24
  easeing: string;
24
- extra: string;
25
25
  format: string;
26
26
  precision: number;
27
27
  valueStyle: import('vue').CSSProperties;
@@ -16,9 +16,9 @@ declare const Statistic: {
16
16
  placeholder: string;
17
17
  title: string;
18
18
  animation: boolean;
19
+ extra: string;
19
20
  animationDuration: number;
20
21
  easeing: string;
21
- extra: string;
22
22
  format: string;
23
23
  precision: number;
24
24
  valueStyle: import('vue').CSSProperties;
@@ -43,9 +43,9 @@ declare const Statistic: {
43
43
  placeholder: string;
44
44
  title: string;
45
45
  animation: boolean;
46
+ extra: string;
46
47
  animationDuration: number;
47
48
  easeing: string;
48
- extra: string;
49
49
  format: string;
50
50
  precision: number;
51
51
  valueStyle: import('vue').CSSProperties;
@@ -67,9 +67,9 @@ declare const Statistic: {
67
67
  placeholder: string;
68
68
  title: string;
69
69
  animation: boolean;
70
+ extra: string;
70
71
  animationDuration: number;
71
72
  easeing: string;
72
- extra: string;
73
73
  format: string;
74
74
  precision: number;
75
75
  valueStyle: import('vue').CSSProperties;
@@ -9,8 +9,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<StepProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepProps> & Readonly<{}>, {
10
10
  disabled: boolean;
11
11
  title: string;
12
- description: string;
13
12
  status: import('./type').StepStatus;
13
+ description: string;
14
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
16
  export default _default;
@@ -15,9 +15,9 @@ declare const __VLS_component: import('vue').DefineComponent<StepsProps, {}, {},
15
15
  }>, {
16
16
  small: boolean;
17
17
  type: import('./type').StepType;
18
+ status: import('./type').StepStatus;
18
19
  direction: import('..').Direction;
19
20
  lineLess: boolean;
20
- status: import('./type').StepStatus;
21
21
  current: number;
22
22
  defaultCurrent: number;
23
23
  labelPlacement: import('..').Direction;
@@ -14,9 +14,9 @@ declare const Steps: {
14
14
  }, import('vue').PublicProps, {
15
15
  small: boolean;
16
16
  type: import('./type').StepType;
17
+ status: import('./type').StepStatus;
17
18
  direction: import('..').Direction;
18
19
  lineLess: boolean;
19
- status: import('./type').StepStatus;
20
20
  current: number;
21
21
  defaultCurrent: number;
22
22
  labelPlacement: import('..').Direction;
@@ -34,9 +34,9 @@ declare const Steps: {
34
34
  }>, {}, {}, {}, {}, {
35
35
  small: boolean;
36
36
  type: import('./type').StepType;
37
+ status: import('./type').StepStatus;
37
38
  direction: import('..').Direction;
38
39
  lineLess: boolean;
39
- status: import('./type').StepStatus;
40
40
  current: number;
41
41
  defaultCurrent: number;
42
42
  labelPlacement: import('..').Direction;
@@ -54,9 +54,9 @@ declare const Steps: {
54
54
  }, string, {
55
55
  small: boolean;
56
56
  type: import('./type').StepType;
57
+ status: import('./type').StepStatus;
57
58
  direction: import('..').Direction;
58
59
  lineLess: boolean;
59
- status: import('./type').StepStatus;
60
60
  current: number;
61
61
  defaultCurrent: number;
62
62
  labelPlacement: import('..').Direction;
@@ -68,8 +68,8 @@ declare const Steps: {
68
68
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
69
69
  disabled: boolean;
70
70
  title: string;
71
- description: string;
72
71
  status: import('./type').StepStatus;
72
+ description: string;
73
73
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
74
74
  P: {};
75
75
  B: {};
@@ -80,8 +80,8 @@ declare const Steps: {
80
80
  }, Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, {
81
81
  disabled: boolean;
82
82
  title: string;
83
- description: string;
84
83
  status: import('./type').StepStatus;
84
+ description: string;
85
85
  }>;
86
86
  __isFragment?: never;
87
87
  __isTeleport?: never;
@@ -89,8 +89,8 @@ declare const Steps: {
89
89
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
90
90
  disabled: boolean;
91
91
  title: string;
92
- description: string;
93
92
  status: import('./type').StepStatus;
93
+ description: string;
94
94
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
95
95
  $slots: any;
96
96
  });
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=;/* empty css */,/* empty css */require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/locale.js"),require("../_shared/utils/time.js"),/* empty css */;/* empty css */const t=require("../_shared/icons/IconClose.vue.js"),r=require("../_shared/icons/IconDelete.vue2.js"),a=require("../_shared/icons/IconSearch.vue2.js"),u=require("./hooks/useContext.js"),o=require("../Checkbox/index.js"),n=require("../Scrollbar/index.js"),s=require("../Input/index.js"),c=require("../Empty/index.js"),d={class:"yc-transfer-view"},i={class:"yc-transfer-view-header"},v={class:"yc-transfer-view-header-title"},m={class:"yc-transfer-view-header-count"},f={key:0,class:"yc-transfer-view-search"},p={class:"yc-transfer-view-body"},h={role:"list",class:"yc-transfer-list"},g=["onClick"],k={class:"yc-transfer-list-item-content text-ellipsis"},y=e.defineComponent({__name:"TransferPanel",props:{type:{}},setup(y){const j=y,{type:_}=e.toRefs(j),{computedValue:V,computedSelected:B,targetChecked:x,sourceChecked:C,sourceOptions:S,targetOptions:q,disabled:b,oneWay:N,showSearch:w,showSelectAll:E,simple:P,sourceInputSearchProps:I,targetInputSearchProps:T,title:D,emits:O}=u.default().inject(),z=e.ref(""),$=e.computed(()=>("source"==_.value?S.value:q.value).filter(e=>{var l;return null==(l=e.label)?void 0:l.toLowerCase().includes(z.value.toLowerCase())})),F=e.computed(()=>"source"==_.value?C.value:x.value),A=e.computed(()=>"source"==_.value?I.value:T.value),L=e.computed(()=>"source"==_.value?D.value[0]:D.value[1]),R=e.computed(()=>({countTotal:"source"==_.value?S.value.length:q.value.length,countSelected:"source"==_.value?C.value.length:x.value.length,searchValue:z.value,checked:U.value,indeterminate:K.value,onSelectAllChange:e=>{U.value=e},onClear:W})),M=e.computed(()=>({selectedKeys:F.value,data:$.value,onSelect:e=>{B.value=e}})),U=e.computed({get:()=>!!F.value.length&&F.value.length==$.value.length,set(e){if(e)B.value=[...new Set([...B.value,...$.value.map(e=>e.value)])];else{const e=Object.fromEntries($.value.map(e=>[e.value,e]));B.value=B.value.filter(l=>!e[l])}}}),K=e.computed(()=>!!F.value.length&&F.value.length<=$.value.length),W=()=>{!b.value&&V.value.length&&(V.value=[])};return(u,y)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",i,[e.renderSlot(u.$slots,`${e.unref(_)}-title`,e.normalizeProps(e.guardReactiveProps(R.value)),()=>[e.createElementVNode("span",v,[!e.unref(E)||e.unref(P)||e.unref(N)&&"target"==e.unref(_)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(L.value),1)],64)):(e.openBlock(),e.createBlock(e.unref(o.default),{key:0,modelValue:U.value,"onUpdate:modelValue":y[0]||(y[0]=e=>U.value=e),indeterminate:K.value,disabled:!$.value.length||e.unref(b)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.value),1)]),_:1},8,["modelValue","indeterminate","disabled"]))]),e.createElementVNode("span",m,[e.unref(P)||e.unref(N)&&"target"==e.unref(_)?"target"!=e.unref(_)||e.unref(P)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l.default),{key:1,size:14,onClick:W},{default:e.withCtx(()=>[e.createVNode(e.unref(r.default))]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(F.value.length)+" / "+e.toDisplayString($.value.length),1)],64))])])]),e.unref(w)?(e.openBlock(),e.createElementBlock("div",f,[e.createVNode(e.unref(s.default),e.mergeProps({modelValue:z.value,"onUpdate:modelValue":y[1]||(y[1]=e=>z.value=e)},A.value,{onInput:y[2]||(y[2]=l=>e.unref(O)("search",l,e.unref(_)))}),{suffix:e.withCtx(()=>[e.createVNode(e.unref(a.default))]),_:1},16,["modelValue"])])):e.createCommentVNode("",!0),e.createElementVNode("div",p,[$.value.length?(e.openBlock(),e.createBlock(e.unref(n.default),{key:0},{default:e.withCtx(()=>[e.renderSlot(u.$slots,e.unref(_),e.normalizeProps(e.guardReactiveProps(M.value)),()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r.value,role:"listitem",class:e.normalizeClass(["yc-transfer-list-item",{"yc-transfer-list-item-disabled":r.disabled||e.unref(b)}]),onClick:e=>(e=>{const{value:l}=e;b.value||e.disabled||(N.value&&"source"!=_.value||P.value)&&(V.value="source"==_.value?[...V.value,l]:V.value.filter(e=>e!=l))})(r)},[e.unref(N)&&(!e.unref(N)||"source"!=e.unref(_))||e.unref(P)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",k,[e.renderSlot(u.$slots,"item",e.mergeProps({ref_for:!0},r),()=>[e.createTextVNode(e.toDisplayString(r.label),1)])]),"target"!=e.unref(_)||e.unref(P)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l.default),{key:0,"hover-size":20},{default:e.withCtx(()=>[e.createVNode(e.unref(t.default))]),_:1}))],64)):(e.openBlock(),e.createBlock(e.unref(o.default),{key:0,"model-value":F.value.includes(r.value),disabled:r.disabled||e.unref(b),onChange:e=>((e,l)=>{B.value=e?[...B.value,l]:B.value.filter(e=>e!=l),O("select",B.value)})(e,r.value)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"item",e.mergeProps({ref_for:!0},r),()=>[e.createTextVNode(e.toDisplayString(r.label),1)])]),_:2},1032,["model-value","disabled","onChange"]))],10,g))),128))])])]),_:3})):e.createCommentVNode("",!0),e.createVNode(e.unref(c.default))])]))}});exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=;/* empty css */,/* empty css */require("../node_modules/b-tween/dist/b-tween.es.js"),require("../node_modules/dayjs/dayjs.min.js"),require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../node_modules/dayjs/plugin/duration.js"),require("../node_modules/dayjs/plugin/toObject.js"),require("../node_modules/dayjs/plugin/isSameOrAfter.js"),require("../node_modules/dayjs/plugin/isSameOrBefore.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/locale.js"),require("../_shared/utils/time.js"),/* empty css */;/* empty css */const t=require("../_shared/icons/IconClose.vue.js"),r=require("../_shared/icons/IconDelete.vue2.js"),a=require("../_shared/icons/IconSearch.vue.js"),u=require("./hooks/useContext.js"),o=require("../Checkbox/index.js"),n=require("../Scrollbar/index.js"),s=require("../Input/index.js"),c=require("../Empty/index.js"),d={class:"yc-transfer-view"},i={class:"yc-transfer-view-header"},v={class:"yc-transfer-view-header-title"},m={class:"yc-transfer-view-header-count"},f={key:0,class:"yc-transfer-view-search"},p={class:"yc-transfer-view-body"},h={role:"list",class:"yc-transfer-list"},g=["onClick"],k={class:"yc-transfer-list-item-content text-ellipsis"},y=e.defineComponent({__name:"TransferPanel",props:{type:{}},setup(y){const j=y,{type:_}=e.toRefs(j),{computedValue:V,computedSelected:B,targetChecked:x,sourceChecked:C,sourceOptions:S,targetOptions:q,disabled:b,oneWay:N,showSearch:w,showSelectAll:E,simple:P,sourceInputSearchProps:I,targetInputSearchProps:T,title:D,emits:O}=u.default().inject(),z=e.ref(""),$=e.computed(()=>("source"==_.value?S.value:q.value).filter(e=>{var l;return null==(l=e.label)?void 0:l.toLowerCase().includes(z.value.toLowerCase())})),F=e.computed(()=>"source"==_.value?C.value:x.value),A=e.computed(()=>"source"==_.value?I.value:T.value),L=e.computed(()=>"source"==_.value?D.value[0]:D.value[1]),R=e.computed(()=>({countTotal:"source"==_.value?S.value.length:q.value.length,countSelected:"source"==_.value?C.value.length:x.value.length,searchValue:z.value,checked:U.value,indeterminate:K.value,onSelectAllChange:e=>{U.value=e},onClear:W})),M=e.computed(()=>({selectedKeys:F.value,data:$.value,onSelect:e=>{B.value=e}})),U=e.computed({get:()=>!!F.value.length&&F.value.length==$.value.length,set(e){if(e)B.value=[...new Set([...B.value,...$.value.map(e=>e.value)])];else{const e=Object.fromEntries($.value.map(e=>[e.value,e]));B.value=B.value.filter(l=>!e[l])}}}),K=e.computed(()=>!!F.value.length&&F.value.length<=$.value.length),W=()=>{!b.value&&V.value.length&&(V.value=[])};return(u,y)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",i,[e.renderSlot(u.$slots,`${e.unref(_)}-title`,e.normalizeProps(e.guardReactiveProps(R.value)),()=>[e.createElementVNode("span",v,[!e.unref(E)||e.unref(P)||e.unref(N)&&"target"==e.unref(_)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(L.value),1)],64)):(e.openBlock(),e.createBlock(e.unref(o.default),{key:0,modelValue:U.value,"onUpdate:modelValue":y[0]||(y[0]=e=>U.value=e),indeterminate:K.value,disabled:!$.value.length||e.unref(b)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(L.value),1)]),_:1},8,["modelValue","indeterminate","disabled"]))]),e.createElementVNode("span",m,[e.unref(P)||e.unref(N)&&"target"==e.unref(_)?"target"!=e.unref(_)||e.unref(P)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l.default),{key:1,size:14,onClick:W},{default:e.withCtx(()=>[e.createVNode(e.unref(r.default))]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(F.value.length)+" / "+e.toDisplayString($.value.length),1)],64))])])]),e.unref(w)?(e.openBlock(),e.createElementBlock("div",f,[e.createVNode(e.unref(s.default),e.mergeProps({modelValue:z.value,"onUpdate:modelValue":y[1]||(y[1]=e=>z.value=e)},A.value,{onInput:y[2]||(y[2]=l=>e.unref(O)("search",l,e.unref(_)))}),{suffix:e.withCtx(()=>[e.createVNode(e.unref(a.default))]),_:1},16,["modelValue"])])):e.createCommentVNode("",!0),e.createElementVNode("div",p,[$.value.length?(e.openBlock(),e.createBlock(e.unref(n.default),{key:0},{default:e.withCtx(()=>[e.renderSlot(u.$slots,e.unref(_),e.normalizeProps(e.guardReactiveProps(M.value)),()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r.value,role:"listitem",class:e.normalizeClass(["yc-transfer-list-item",{"yc-transfer-list-item-disabled":r.disabled||e.unref(b)}]),onClick:e=>(e=>{const{value:l}=e;b.value||e.disabled||(N.value&&"source"!=_.value||P.value)&&(V.value="source"==_.value?[...V.value,l]:V.value.filter(e=>e!=l))})(r)},[e.unref(N)&&(!e.unref(N)||"source"!=e.unref(_))||e.unref(P)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",k,[e.renderSlot(u.$slots,"item",e.mergeProps({ref_for:!0},r),()=>[e.createTextVNode(e.toDisplayString(r.label),1)])]),"target"!=e.unref(_)||e.unref(P)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l.default),{key:0,"hover-size":20},{default:e.withCtx(()=>[e.createVNode(e.unref(t.default))]),_:1}))],64)):(e.openBlock(),e.createBlock(e.unref(o.default),{key:0,"model-value":F.value.includes(r.value),disabled:r.disabled||e.unref(b),onChange:e=>((e,l)=>{B.value=e?[...B.value,l]:B.value.filter(e=>e!=l),O("select",B.value)})(e,r.value)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"item",e.mergeProps({ref_for:!0},r),()=>[e.createTextVNode(e.toDisplayString(r.label),1)])]),_:2},1032,["model-value","disabled","onChange"]))],10,g))),128))])])]),_:3})):e.createCommentVNode("",!0),e.createVNode(e.unref(c.default))])]))}});exports.default=y;