yuyeon 0.0.42-rc6 → 0.0.42-rc8
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.
- package/dist/style.css +1 -1
- package/dist/yuyeon.js +3129 -2941
- package/dist/yuyeon.umd.cjs +6 -6
- package/lib/components/dropdown/YDropdown.mjs +11 -5
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.scss +3 -8
- package/lib/components/icon/YIcon.mjs +62 -0
- package/lib/components/icon/YIcon.mjs.map +1 -0
- package/lib/components/icon/YIcon.scss +18 -0
- package/lib/components/icon/index.mjs +2 -0
- package/lib/components/icon/index.mjs.map +1 -0
- package/lib/components/icon/poly.mjs +57 -0
- package/lib/components/icon/poly.mjs.map +1 -0
- package/lib/components/icons/index.mjs +14 -0
- package/lib/components/icons/index.mjs.map +1 -1
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +2 -0
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/active-stack.mjs.map +1 -1
- package/lib/components/menu/YMenu.mjs +16 -4
- package/lib/components/menu/YMenu.mjs.map +1 -1
- package/lib/components/select/YSelect.mjs +9 -6
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/select/YSelect.scss +3 -8
- package/lib/composables/icon.mjs +141 -0
- package/lib/composables/icon.mjs.map +1 -1
- package/lib/composables/theme/index.mjs.map +1 -1
- package/lib/index.mjs +3 -0
- package/lib/index.mjs.map +1 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.mjs +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.mjs.map +1 -1
- package/lib/util/date/built-in.mjs +6 -2
- package/lib/util/date/built-in.mjs.map +1 -1
- package/package.json +2 -2
- package/types/abstract/items.d.ts +4 -4
- package/types/components/button/YButton.d.ts +10 -10
- package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
- package/types/components/date-picker/YDateCalendar.d.ts +1 -1
- package/types/components/dialog/YDialog.d.ts +1 -0
- package/types/components/dropdown/YDropdown.d.ts +34 -13
- package/types/components/field-input/YFieldInput.d.ts +10 -10
- package/types/components/form/YForm.d.ts +1 -1
- package/types/components/icon/YIcon.d.ts +81 -0
- package/types/components/icon/index.d.ts +1 -0
- package/types/components/icons/YIconCheckbox.d.ts +2 -2
- package/types/components/icons/YIconSort.d.ts +2 -2
- package/types/components/icons/index.d.ts +48 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +7 -7
- package/types/components/layer/YLayer.d.ts +20 -19
- package/types/components/layer/active-stack.d.ts +1 -2
- package/types/components/list/YListItem.d.ts +2 -2
- package/types/components/menu/YMenu.d.ts +8 -3
- package/types/components/pagination/YPagination.d.ts +5 -5
- package/types/components/progress-bar/YProgressBar.d.ts +1 -1
- package/types/components/select/YSelect.d.ts +74 -58
- package/types/components/switch/YSwitch.d.ts +1 -1
- package/types/components/tab/YTab.d.ts +15 -15
- package/types/components/tab/YTabs.d.ts +5 -5
- package/types/components/table/YDataTable.d.ts +18 -18
- package/types/components/table/YDataTableBody.d.ts +5 -5
- package/types/components/table/YDataTableControl.d.ts +2 -2
- package/types/components/table/YDataTableHead.d.ts +2 -2
- package/types/components/table/YDataTableServer.d.ts +21 -21
- package/types/components/table/YTable.d.ts +4 -4
- package/types/components/table/composibles/header.d.ts +1 -1
- package/types/components/table/composibles/items.d.ts +3 -3
- package/types/components/table/composibles/pagination.d.ts +2 -2
- package/types/components/table/composibles/selection.d.ts +2 -2
- package/types/components/table/composibles/sorting.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +10 -10
- package/types/components/tooltip/YTooltip.d.ts +9 -8
- package/types/components/tree-view/YTreeView.d.ts +4 -4
- package/types/components/tree-view/YTreeViewNode.d.ts +9 -9
- package/types/composables/choice.d.ts +1 -1
- package/types/composables/coordinate/index.d.ts +6 -6
- package/types/composables/icon.d.ts +96 -0
- package/types/composables/list-items.d.ts +10 -10
- package/types/composables/theme/index.d.ts +2 -2
- package/types/globals.d.ts +12 -7
- package/types/shims.d.ts +88 -87
- package/types/types/index.d.ts +5 -0
- package/types/util/date/built-in.d.ts +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PropType, SlotsType } from 'vue';
|
|
2
2
|
import { ListItem } from '../../composables/list-items';
|
|
3
3
|
import { deepEqual } from '../../util/common';
|
|
4
|
+
import { YIconIconProp } from '../icon';
|
|
4
5
|
export type SelectEquals = (optionsItem: any, valueItem: any, valueKey?: string) => boolean;
|
|
5
6
|
export declare function returnItemEquals(optionsItem: any, valueItem: any, valueKey?: string): boolean;
|
|
6
7
|
export declare const pressSelectPropsOptions: <Defaults extends {
|
|
@@ -25,23 +26,23 @@ export declare const pressSelectPropsOptions: <Defaults extends {
|
|
|
25
26
|
} : Omit<{
|
|
26
27
|
type: PropType<any[]>;
|
|
27
28
|
default: () => never[];
|
|
28
|
-
}, "
|
|
29
|
+
}, "type" | "default"> & {
|
|
29
30
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
30
31
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
31
32
|
};
|
|
32
33
|
itemKey: unknown extends Defaults["itemKey"] ? Omit<{
|
|
33
34
|
type: PropType<string>;
|
|
34
35
|
default: string;
|
|
35
|
-
}, "
|
|
36
|
+
}, "type" | "default"> & {
|
|
36
37
|
type: PropType<string>;
|
|
37
38
|
default: string;
|
|
38
39
|
} : Omit<Omit<{
|
|
39
40
|
type: PropType<string>;
|
|
40
41
|
default: string;
|
|
41
|
-
}, "
|
|
42
|
+
}, "type" | "default"> & {
|
|
42
43
|
type: PropType<string>;
|
|
43
44
|
default: string;
|
|
44
|
-
}, "
|
|
45
|
+
}, "type" | "default"> & {
|
|
45
46
|
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
46
47
|
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
47
48
|
};
|
|
@@ -51,23 +52,23 @@ export declare const pressSelectPropsOptions: <Defaults extends {
|
|
|
51
52
|
} : Omit<{
|
|
52
53
|
type: PropType<string>;
|
|
53
54
|
default: string;
|
|
54
|
-
}, "
|
|
55
|
+
}, "type" | "default"> & {
|
|
55
56
|
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
56
57
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
57
58
|
};
|
|
58
59
|
itemChildren: unknown extends Defaults["itemChildren"] ? Omit<{
|
|
59
60
|
type: PropType<string | boolean>;
|
|
60
61
|
default: string;
|
|
61
|
-
}, "
|
|
62
|
+
}, "type" | "default"> & {
|
|
62
63
|
type: PropType<NonNullable<string | boolean>>;
|
|
63
64
|
default: NonNullable<string | boolean>;
|
|
64
65
|
} : Omit<Omit<{
|
|
65
66
|
type: PropType<string | boolean>;
|
|
66
67
|
default: string;
|
|
67
|
-
}, "
|
|
68
|
+
}, "type" | "default"> & {
|
|
68
69
|
type: PropType<NonNullable<string | boolean>>;
|
|
69
70
|
default: NonNullable<string | boolean>;
|
|
70
|
-
}, "
|
|
71
|
+
}, "type" | "default"> & {
|
|
71
72
|
type: PropType<unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : NonNullable<NonNullable<string | boolean>> | Defaults["itemChildren"]>;
|
|
72
73
|
default: unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : NonNullable<NonNullable<string | boolean>> | Defaults["itemChildren"];
|
|
73
74
|
};
|
|
@@ -89,7 +90,7 @@ export declare const pressSelectPropsOptions: <Defaults extends {
|
|
|
89
90
|
} : Omit<{
|
|
90
91
|
type: PropType<SelectEquals>;
|
|
91
92
|
default: typeof deepEqual;
|
|
92
|
-
}, "
|
|
93
|
+
}, "type" | "default"> & {
|
|
93
94
|
type: PropType<unknown extends Defaults["valueEquals"] ? SelectEquals : SelectEquals | Defaults["valueEquals"]>;
|
|
94
95
|
default: unknown extends Defaults["valueEquals"] ? SelectEquals : SelectEquals | Defaults["valueEquals"];
|
|
95
96
|
};
|
|
@@ -143,23 +144,23 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
143
144
|
valueEquals?: unknown;
|
|
144
145
|
defaultSelect?: unknown;
|
|
145
146
|
maxHeight?: unknown;
|
|
146
|
-
|
|
147
|
+
dropdownIcon?: unknown;
|
|
147
148
|
openDelay?: unknown;
|
|
148
149
|
closeDelay?: unknown;
|
|
149
150
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
150
151
|
position: unknown extends Defaults["position"] ? Omit<{
|
|
151
152
|
type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
152
153
|
default: string;
|
|
153
|
-
}, "
|
|
154
|
+
}, "type" | "default"> & {
|
|
154
155
|
type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
|
|
155
156
|
default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
156
157
|
} : Omit<Omit<{
|
|
157
158
|
type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
158
159
|
default: string;
|
|
159
|
-
}, "
|
|
160
|
+
}, "type" | "default"> & {
|
|
160
161
|
type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
|
|
161
162
|
default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
162
|
-
}, "
|
|
163
|
+
}, "type" | "default"> & {
|
|
163
164
|
type: PropType<unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> : NonNullable<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">> | Defaults["position"]>;
|
|
164
165
|
default: unknown extends Defaults["position"] ? NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> : NonNullable<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">> | Defaults["position"];
|
|
165
166
|
};
|
|
@@ -169,7 +170,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
169
170
|
} : Omit<{
|
|
170
171
|
type: PropType<"end" | "start" | "center">;
|
|
171
172
|
default: string;
|
|
172
|
-
}, "
|
|
173
|
+
}, "type" | "default"> & {
|
|
173
174
|
type: PropType<unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"]>;
|
|
174
175
|
default: unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"];
|
|
175
176
|
};
|
|
@@ -179,7 +180,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
179
180
|
} : Omit<{
|
|
180
181
|
type: StringConstructor;
|
|
181
182
|
default: string;
|
|
182
|
-
}, "
|
|
183
|
+
}, "type" | "default"> & {
|
|
183
184
|
type: PropType<unknown extends Defaults["origin"] ? string : string | Defaults["origin"]>;
|
|
184
185
|
default: unknown extends Defaults["origin"] ? string : string | Defaults["origin"];
|
|
185
186
|
};
|
|
@@ -187,7 +188,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
187
188
|
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
188
189
|
} : Omit<{
|
|
189
190
|
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
190
|
-
}, "
|
|
191
|
+
}, "type" | "default"> & {
|
|
191
192
|
type: PropType<unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"]>;
|
|
192
193
|
default: unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"];
|
|
193
194
|
};
|
|
@@ -197,7 +198,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
197
198
|
} : Omit<{
|
|
198
199
|
type: NumberConstructor;
|
|
199
200
|
default: number;
|
|
200
|
-
}, "
|
|
201
|
+
}, "type" | "default"> & {
|
|
201
202
|
type: PropType<unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"]>;
|
|
202
203
|
default: unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"];
|
|
203
204
|
};
|
|
@@ -217,7 +218,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
217
218
|
type: PropType<string | number>;
|
|
218
219
|
} : Omit<{
|
|
219
220
|
type: PropType<string | number>;
|
|
220
|
-
}, "
|
|
221
|
+
}, "type" | "default"> & {
|
|
221
222
|
type: PropType<unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"]>;
|
|
222
223
|
default: unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"];
|
|
223
224
|
};
|
|
@@ -231,7 +232,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
231
232
|
} : Omit<{
|
|
232
233
|
type: PropType<string>;
|
|
233
234
|
default: string;
|
|
234
|
-
}, "
|
|
235
|
+
}, "type" | "default"> & {
|
|
235
236
|
type: PropType<unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"]>;
|
|
236
237
|
default: unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"];
|
|
237
238
|
};
|
|
@@ -243,7 +244,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
243
244
|
type: PropType<any>;
|
|
244
245
|
} : Omit<{
|
|
245
246
|
type: PropType<any>;
|
|
246
|
-
}, "
|
|
247
|
+
}, "type" | "default"> & {
|
|
247
248
|
type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
|
|
248
249
|
default: unknown extends Defaults["modelValue"] ? any : any;
|
|
249
250
|
};
|
|
@@ -253,7 +254,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
253
254
|
} : Omit<{
|
|
254
255
|
type: PropType<boolean>;
|
|
255
256
|
default: boolean;
|
|
256
|
-
}, "
|
|
257
|
+
}, "type" | "default"> & {
|
|
257
258
|
type: PropType<unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"]>;
|
|
258
259
|
default: unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"];
|
|
259
260
|
};
|
|
@@ -263,7 +264,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
263
264
|
} : Omit<{
|
|
264
265
|
type: PropType<boolean>;
|
|
265
266
|
default: boolean;
|
|
266
|
-
}, "
|
|
267
|
+
}, "type" | "default"> & {
|
|
267
268
|
type: PropType<unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"]>;
|
|
268
269
|
default: unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"];
|
|
269
270
|
};
|
|
@@ -273,7 +274,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
273
274
|
} : Omit<{
|
|
274
275
|
type: PropType<boolean>;
|
|
275
276
|
default: () => false;
|
|
276
|
-
}, "
|
|
277
|
+
}, "type" | "default"> & {
|
|
277
278
|
type: PropType<unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"]>;
|
|
278
279
|
default: unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"];
|
|
279
280
|
};
|
|
@@ -295,7 +296,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
295
296
|
} : Omit<{
|
|
296
297
|
type: PropType<string>;
|
|
297
298
|
default: string;
|
|
298
|
-
}, "
|
|
299
|
+
}, "type" | "default"> & {
|
|
299
300
|
type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
|
|
300
301
|
default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
|
|
301
302
|
};
|
|
@@ -325,7 +326,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
325
326
|
} : Omit<{
|
|
326
327
|
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
327
328
|
validator(value: string): boolean;
|
|
328
|
-
}, "
|
|
329
|
+
}, "type" | "default"> & {
|
|
329
330
|
type: PropType<unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : NonNullable<"success" | "warning" | "error" | undefined> | Defaults["status"]>;
|
|
330
331
|
default: unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : NonNullable<"success" | "warning" | "error" | undefined> | Defaults["status"];
|
|
331
332
|
};
|
|
@@ -355,7 +356,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
355
356
|
} : Omit<{
|
|
356
357
|
type: PropType<string>;
|
|
357
358
|
default: string;
|
|
358
|
-
}, "
|
|
359
|
+
}, "type" | "default"> & {
|
|
359
360
|
type: PropType<unknown extends Defaults["tabindex"] ? string : string | Defaults["tabindex"]>;
|
|
360
361
|
default: unknown extends Defaults["tabindex"] ? string : string | Defaults["tabindex"];
|
|
361
362
|
};
|
|
@@ -365,7 +366,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
365
366
|
} : Omit<{
|
|
366
367
|
type: PropType<string>;
|
|
367
368
|
default: string;
|
|
368
|
-
}, "
|
|
369
|
+
}, "type" | "default"> & {
|
|
369
370
|
type: PropType<unknown extends Defaults["type"] ? string : string | Defaults["type"]>;
|
|
370
371
|
default: unknown extends Defaults["type"] ? string : string | Defaults["type"];
|
|
371
372
|
};
|
|
@@ -379,23 +380,23 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
379
380
|
} : Omit<{
|
|
380
381
|
type: PropType<any[]>;
|
|
381
382
|
default: () => never[];
|
|
382
|
-
}, "
|
|
383
|
+
}, "type" | "default"> & {
|
|
383
384
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
384
385
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
385
386
|
};
|
|
386
387
|
itemKey: unknown extends Defaults["itemKey"] ? Omit<{
|
|
387
388
|
type: PropType<string>;
|
|
388
389
|
default: string;
|
|
389
|
-
}, "
|
|
390
|
+
}, "type" | "default"> & {
|
|
390
391
|
type: PropType<string>;
|
|
391
392
|
default: string;
|
|
392
393
|
} : Omit<Omit<{
|
|
393
394
|
type: PropType<string>;
|
|
394
395
|
default: string;
|
|
395
|
-
}, "
|
|
396
|
+
}, "type" | "default"> & {
|
|
396
397
|
type: PropType<string>;
|
|
397
398
|
default: string;
|
|
398
|
-
}, "
|
|
399
|
+
}, "type" | "default"> & {
|
|
399
400
|
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
400
401
|
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
401
402
|
};
|
|
@@ -405,23 +406,23 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
405
406
|
} : Omit<{
|
|
406
407
|
type: PropType<string>;
|
|
407
408
|
default: string;
|
|
408
|
-
}, "
|
|
409
|
+
}, "type" | "default"> & {
|
|
409
410
|
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
410
411
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
411
412
|
};
|
|
412
413
|
itemChildren: unknown extends Defaults["itemChildren"] ? Omit<{
|
|
413
414
|
type: PropType<string | boolean>;
|
|
414
415
|
default: string;
|
|
415
|
-
}, "
|
|
416
|
+
}, "type" | "default"> & {
|
|
416
417
|
type: PropType<NonNullable<string | boolean>>;
|
|
417
418
|
default: NonNullable<string | boolean>;
|
|
418
419
|
} : Omit<Omit<{
|
|
419
420
|
type: PropType<string | boolean>;
|
|
420
421
|
default: string;
|
|
421
|
-
}, "
|
|
422
|
+
}, "type" | "default"> & {
|
|
422
423
|
type: PropType<NonNullable<string | boolean>>;
|
|
423
424
|
default: NonNullable<string | boolean>;
|
|
424
|
-
}, "
|
|
425
|
+
}, "type" | "default"> & {
|
|
425
426
|
type: PropType<unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : NonNullable<NonNullable<string | boolean>> | Defaults["itemChildren"]>;
|
|
426
427
|
default: unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : NonNullable<NonNullable<string | boolean>> | Defaults["itemChildren"];
|
|
427
428
|
};
|
|
@@ -443,7 +444,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
443
444
|
} : Omit<{
|
|
444
445
|
type: PropType<SelectEquals>;
|
|
445
446
|
default: typeof deepEqual;
|
|
446
|
-
}, "
|
|
447
|
+
}, "type" | "default"> & {
|
|
447
448
|
type: PropType<unknown extends Defaults["valueEquals"] ? SelectEquals : SelectEquals | Defaults["valueEquals"]>;
|
|
448
449
|
default: unknown extends Defaults["valueEquals"] ? SelectEquals : SelectEquals | Defaults["valueEquals"];
|
|
449
450
|
};
|
|
@@ -457,17 +458,19 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
457
458
|
} : Omit<{
|
|
458
459
|
type: (StringConstructor | NumberConstructor)[];
|
|
459
460
|
default: number;
|
|
460
|
-
}, "
|
|
461
|
+
}, "type" | "default"> & {
|
|
461
462
|
type: PropType<unknown extends Defaults["maxHeight"] ? string | number : NonNullable<string | number> | Defaults["maxHeight"]>;
|
|
462
463
|
default: unknown extends Defaults["maxHeight"] ? string | number : NonNullable<string | number> | Defaults["maxHeight"];
|
|
463
464
|
};
|
|
464
|
-
|
|
465
|
-
type:
|
|
465
|
+
dropdownIcon: unknown extends Defaults["dropdownIcon"] ? {
|
|
466
|
+
type: PropType<YIconIconProp>;
|
|
467
|
+
default: string;
|
|
466
468
|
} : Omit<{
|
|
467
|
-
type:
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
type: PropType<YIconIconProp>;
|
|
470
|
+
default: string;
|
|
471
|
+
}, "type" | "default"> & {
|
|
472
|
+
type: PropType<unknown extends Defaults["dropdownIcon"] ? YIconIconProp : NonNullable<YIconIconProp> | Defaults["dropdownIcon"]>;
|
|
473
|
+
default: unknown extends Defaults["dropdownIcon"] ? YIconIconProp : NonNullable<YIconIconProp> | Defaults["dropdownIcon"];
|
|
471
474
|
};
|
|
472
475
|
openDelay: unknown extends Defaults["openDelay"] ? {
|
|
473
476
|
type: PropType<number>;
|
|
@@ -475,7 +478,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
475
478
|
} : Omit<{
|
|
476
479
|
type: PropType<number>;
|
|
477
480
|
default: number;
|
|
478
|
-
}, "
|
|
481
|
+
}, "type" | "default"> & {
|
|
479
482
|
type: PropType<unknown extends Defaults["openDelay"] ? number : number | Defaults["openDelay"]>;
|
|
480
483
|
default: unknown extends Defaults["openDelay"] ? number : number | Defaults["openDelay"];
|
|
481
484
|
};
|
|
@@ -485,7 +488,7 @@ export declare const pressYSelectPropsOptions: <Defaults extends {
|
|
|
485
488
|
} : Omit<{
|
|
486
489
|
type: PropType<number>;
|
|
487
490
|
default: number;
|
|
488
|
-
}, "
|
|
491
|
+
}, "type" | "default"> & {
|
|
489
492
|
type: PropType<unknown extends Defaults["closeDelay"] ? number : number | Defaults["closeDelay"]>;
|
|
490
493
|
default: unknown extends Defaults["closeDelay"] ? number : number | Defaults["closeDelay"];
|
|
491
494
|
};
|
|
@@ -494,7 +497,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
494
497
|
position: Omit<{
|
|
495
498
|
type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
496
499
|
default: string;
|
|
497
|
-
}, "
|
|
500
|
+
}, "type" | "default"> & {
|
|
498
501
|
type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
|
|
499
502
|
default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
500
503
|
};
|
|
@@ -577,7 +580,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
577
580
|
itemKey: Omit<{
|
|
578
581
|
type: PropType<string>;
|
|
579
582
|
default: string;
|
|
580
|
-
}, "
|
|
583
|
+
}, "type" | "default"> & {
|
|
581
584
|
type: PropType<string>;
|
|
582
585
|
default: string;
|
|
583
586
|
};
|
|
@@ -588,7 +591,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
588
591
|
itemChildren: Omit<{
|
|
589
592
|
type: PropType<string | boolean>;
|
|
590
593
|
default: string;
|
|
591
|
-
}, "
|
|
594
|
+
}, "type" | "default"> & {
|
|
592
595
|
type: PropType<NonNullable<string | boolean>>;
|
|
593
596
|
default: NonNullable<string | boolean>;
|
|
594
597
|
};
|
|
@@ -604,8 +607,9 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
604
607
|
type: (StringConstructor | NumberConstructor)[];
|
|
605
608
|
default: number;
|
|
606
609
|
};
|
|
607
|
-
|
|
608
|
-
type:
|
|
610
|
+
dropdownIcon: {
|
|
611
|
+
type: PropType<YIconIconProp>;
|
|
612
|
+
default: string;
|
|
609
613
|
};
|
|
610
614
|
openDelay: {
|
|
611
615
|
type: PropType<number>;
|
|
@@ -734,7 +738,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
734
738
|
coordinateStrategy: Omit<{
|
|
735
739
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
736
740
|
default: string;
|
|
737
|
-
}, "
|
|
741
|
+
}, "type" | "default"> & {
|
|
738
742
|
type: PropType<string | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
739
743
|
default: string | import("../../composables/coordinate").CoordinateStrategyFn;
|
|
740
744
|
};
|
|
@@ -905,6 +909,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
905
909
|
};
|
|
906
910
|
layerGroup: import("vue").ComputedRef<HTMLElement>;
|
|
907
911
|
active: import("vue").WritableComputedRef<boolean>;
|
|
912
|
+
finish: import("vue").ShallowRef<boolean>;
|
|
908
913
|
rendered: import("vue").ComputedRef<boolean>;
|
|
909
914
|
lazyValue: import("vue").ComputedRef<any>;
|
|
910
915
|
onAfterUpdate: () => void;
|
|
@@ -2588,6 +2593,10 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
2588
2593
|
classes: import("vue").ComputedRef<{
|
|
2589
2594
|
'y-menu': boolean;
|
|
2590
2595
|
}>;
|
|
2596
|
+
children: import("vue").ShallowRef<any[]>;
|
|
2597
|
+
parent: import("../layer/active-stack").ActiveStackProvide | null;
|
|
2598
|
+
active: import("vue").WritableComputedRef<boolean>;
|
|
2599
|
+
hovered: import("vue").ComputedRef<boolean>;
|
|
2591
2600
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "afterLeave")[], string, {
|
|
2592
2601
|
disabled: boolean;
|
|
2593
2602
|
contentStyles: import("vue").CSSProperties;
|
|
@@ -2642,7 +2651,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
2642
2651
|
coordinateStrategy: Omit<{
|
|
2643
2652
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
2644
2653
|
default: string;
|
|
2645
|
-
}, "
|
|
2654
|
+
}, "type" | "default"> & {
|
|
2646
2655
|
type: PropType<string | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
2647
2656
|
default: string | import("../../composables/coordinate").CoordinateStrategyFn;
|
|
2648
2657
|
};
|
|
@@ -2813,6 +2822,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
2813
2822
|
};
|
|
2814
2823
|
layerGroup: import("vue").ComputedRef<HTMLElement>;
|
|
2815
2824
|
active: import("vue").WritableComputedRef<boolean>;
|
|
2825
|
+
finish: import("vue").ShallowRef<boolean>;
|
|
2816
2826
|
rendered: import("vue").ComputedRef<boolean>;
|
|
2817
2827
|
lazyValue: import("vue").ComputedRef<any>;
|
|
2818
2828
|
onAfterUpdate: () => void;
|
|
@@ -4496,6 +4506,10 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4496
4506
|
classes: import("vue").ComputedRef<{
|
|
4497
4507
|
'y-menu': boolean;
|
|
4498
4508
|
}>;
|
|
4509
|
+
children: import("vue").ShallowRef<any[]>;
|
|
4510
|
+
parent: import("../layer/active-stack").ActiveStackProvide | null;
|
|
4511
|
+
active: import("vue").WritableComputedRef<boolean>;
|
|
4512
|
+
hovered: import("vue").ComputedRef<boolean>;
|
|
4499
4513
|
}> & {} & import("vue").ComponentCustomProperties & {}) | undefined>;
|
|
4500
4514
|
baseEl: import("vue").ComputedRef<any>;
|
|
4501
4515
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -4506,7 +4520,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4506
4520
|
position: Omit<{
|
|
4507
4521
|
type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
4508
4522
|
default: string;
|
|
4509
|
-
}, "
|
|
4523
|
+
}, "type" | "default"> & {
|
|
4510
4524
|
type: PropType<NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">>;
|
|
4511
4525
|
default: NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
4512
4526
|
};
|
|
@@ -4589,7 +4603,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4589
4603
|
itemKey: Omit<{
|
|
4590
4604
|
type: PropType<string>;
|
|
4591
4605
|
default: string;
|
|
4592
|
-
}, "
|
|
4606
|
+
}, "type" | "default"> & {
|
|
4593
4607
|
type: PropType<string>;
|
|
4594
4608
|
default: string;
|
|
4595
4609
|
};
|
|
@@ -4600,7 +4614,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4600
4614
|
itemChildren: Omit<{
|
|
4601
4615
|
type: PropType<string | boolean>;
|
|
4602
4616
|
default: string;
|
|
4603
|
-
}, "
|
|
4617
|
+
}, "type" | "default"> & {
|
|
4604
4618
|
type: PropType<NonNullable<string | boolean>>;
|
|
4605
4619
|
default: NonNullable<string | boolean>;
|
|
4606
4620
|
};
|
|
@@ -4616,8 +4630,9 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4616
4630
|
type: (StringConstructor | NumberConstructor)[];
|
|
4617
4631
|
default: number;
|
|
4618
4632
|
};
|
|
4619
|
-
|
|
4620
|
-
type:
|
|
4633
|
+
dropdownIcon: {
|
|
4634
|
+
type: PropType<YIconIconProp>;
|
|
4635
|
+
default: string;
|
|
4621
4636
|
};
|
|
4622
4637
|
openDelay: {
|
|
4623
4638
|
type: PropType<number>;
|
|
@@ -4652,6 +4667,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4652
4667
|
itemText: string;
|
|
4653
4668
|
itemChildren: NonNullable<string | boolean>;
|
|
4654
4669
|
returnItem: boolean;
|
|
4670
|
+
dropdownIcon: YIconIconProp;
|
|
4655
4671
|
multiple: boolean;
|
|
4656
4672
|
weakEquals: boolean;
|
|
4657
4673
|
valueEquals: SelectEquals;
|
|
@@ -4664,7 +4680,7 @@ export declare const YSelect: import("vue").DefineComponent<{
|
|
|
4664
4680
|
menu: any;
|
|
4665
4681
|
'menu-prepend': any;
|
|
4666
4682
|
'menu-append': any;
|
|
4667
|
-
'
|
|
4683
|
+
'dropdown-icon': any;
|
|
4668
4684
|
item: {
|
|
4669
4685
|
item: any;
|
|
4670
4686
|
selected: boolean;
|
|
@@ -36,7 +36,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
36
36
|
} : Omit<{
|
|
37
37
|
type: PropType<string>;
|
|
38
38
|
default: string;
|
|
39
|
-
}, "
|
|
39
|
+
}, "type" | "default"> & {
|
|
40
40
|
type: PropType<unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"]>;
|
|
41
41
|
default: unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"];
|
|
42
42
|
};
|
|
@@ -66,7 +66,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
66
66
|
} : Omit<{
|
|
67
67
|
type: BooleanConstructor;
|
|
68
68
|
default: undefined;
|
|
69
|
-
}, "
|
|
69
|
+
}, "type" | "default"> & {
|
|
70
70
|
type: PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
|
|
71
71
|
default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
|
|
72
72
|
};
|
|
@@ -76,7 +76,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
76
76
|
} : Omit<{
|
|
77
77
|
type: null;
|
|
78
78
|
default: import("vue").InjectionKey<import("../../composables/choice").ChoiceProvide>;
|
|
79
|
-
}, "
|
|
79
|
+
}, "type" | "default"> & {
|
|
80
80
|
type: PropType<unknown extends Defaults["injectSymbol"] ? any : any>;
|
|
81
81
|
default: unknown extends Defaults["injectSymbol"] ? any : any;
|
|
82
82
|
};
|
|
@@ -84,7 +84,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
84
84
|
type: PropType<string>;
|
|
85
85
|
} : Omit<{
|
|
86
86
|
type: PropType<string>;
|
|
87
|
-
}, "
|
|
87
|
+
}, "type" | "default"> & {
|
|
88
88
|
type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
|
|
89
89
|
default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
|
|
90
90
|
};
|
|
@@ -102,7 +102,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
102
102
|
} : Omit<{
|
|
103
103
|
type: BooleanConstructor;
|
|
104
104
|
default: boolean;
|
|
105
|
-
}, "
|
|
105
|
+
}, "type" | "default"> & {
|
|
106
106
|
type: PropType<unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"]>;
|
|
107
107
|
default: unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"];
|
|
108
108
|
};
|
|
@@ -112,7 +112,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
112
112
|
} : Omit<{
|
|
113
113
|
type: BooleanConstructor;
|
|
114
114
|
default: boolean;
|
|
115
|
-
}, "
|
|
115
|
+
}, "type" | "default"> & {
|
|
116
116
|
type: PropType<unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"]>;
|
|
117
117
|
default: unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"];
|
|
118
118
|
};
|
|
@@ -122,7 +122,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
122
122
|
} : Omit<{
|
|
123
123
|
type: BooleanConstructor;
|
|
124
124
|
default: boolean;
|
|
125
|
-
}, "
|
|
125
|
+
}, "type" | "default"> & {
|
|
126
126
|
type: PropType<unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"]>;
|
|
127
127
|
default: unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"];
|
|
128
128
|
};
|
|
@@ -130,23 +130,23 @@ export declare const pressYTabPropsOptions: <Defaults extends {
|
|
|
130
130
|
type: StringConstructor;
|
|
131
131
|
} : Omit<{
|
|
132
132
|
type: StringConstructor;
|
|
133
|
-
}, "
|
|
133
|
+
}, "type" | "default"> & {
|
|
134
134
|
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
135
135
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
136
136
|
};
|
|
137
137
|
noWave: unknown extends Defaults["noWave"] ? Omit<{
|
|
138
138
|
type: BooleanConstructor;
|
|
139
139
|
default: boolean;
|
|
140
|
-
}, "
|
|
140
|
+
}, "type" | "default"> & {
|
|
141
141
|
type: PropType<boolean>;
|
|
142
142
|
default: boolean;
|
|
143
143
|
} : Omit<Omit<{
|
|
144
144
|
type: BooleanConstructor;
|
|
145
145
|
default: boolean;
|
|
146
|
-
}, "
|
|
146
|
+
}, "type" | "default"> & {
|
|
147
147
|
type: PropType<boolean>;
|
|
148
148
|
default: boolean;
|
|
149
|
-
}, "
|
|
149
|
+
}, "type" | "default"> & {
|
|
150
150
|
type: PropType<unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"]>;
|
|
151
151
|
default: unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"];
|
|
152
152
|
};
|
|
@@ -206,7 +206,7 @@ export declare const YTab: import("vue").DefineComponent<{
|
|
|
206
206
|
noWave: Omit<{
|
|
207
207
|
type: BooleanConstructor;
|
|
208
208
|
default: boolean;
|
|
209
|
-
}, "
|
|
209
|
+
}, "type" | "default"> & {
|
|
210
210
|
type: PropType<boolean>;
|
|
211
211
|
default: boolean;
|
|
212
212
|
};
|
|
@@ -256,7 +256,7 @@ export declare const YTab: import("vue").DefineComponent<{
|
|
|
256
256
|
noWave: Omit<{
|
|
257
257
|
type: BooleanConstructor;
|
|
258
258
|
default: boolean;
|
|
259
|
-
}, "
|
|
259
|
+
}, "type" | "default"> & {
|
|
260
260
|
type: PropType<boolean>;
|
|
261
261
|
default: boolean;
|
|
262
262
|
};
|
|
@@ -264,18 +264,18 @@ export declare const YTab: import("vue").DefineComponent<{
|
|
|
264
264
|
hideIndicator: PropType<boolean>;
|
|
265
265
|
indicatorColor: PropType<string>;
|
|
266
266
|
}>>, {
|
|
267
|
+
icon: boolean;
|
|
268
|
+
disabled: boolean;
|
|
267
269
|
replace: boolean;
|
|
268
270
|
small: boolean;
|
|
269
271
|
loading: boolean;
|
|
270
272
|
active: boolean;
|
|
271
273
|
injectSymbol: any;
|
|
272
|
-
icon: boolean;
|
|
273
274
|
outlined: boolean;
|
|
274
275
|
rounded: boolean;
|
|
275
276
|
filled: boolean;
|
|
276
277
|
noWave: boolean;
|
|
277
278
|
exact: boolean;
|
|
278
|
-
disabled: boolean;
|
|
279
279
|
selectedClass: string;
|
|
280
280
|
}, SlotsType<{
|
|
281
281
|
default?: any;
|