yuyeon 0.2.1-rc.8 → 0.2.1

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 (43) hide show
  1. package/dist/yuyeon.js +576 -562
  2. package/dist/yuyeon.umd.cjs +2 -2
  3. package/lib/components/chip/YChip.mjs +1 -1
  4. package/lib/components/chip/YChip.mjs.map +1 -1
  5. package/lib/components/date-picker/YDatePicker.mjs +8 -2
  6. package/lib/components/date-picker/YDatePicker.mjs.map +1 -1
  7. package/lib/components/date-picker/YMonthPicker.mjs +8 -1
  8. package/lib/components/date-picker/YMonthPicker.mjs.map +1 -1
  9. package/lib/components/date-picker/YYearPicker.mjs +4 -0
  10. package/lib/components/date-picker/YYearPicker.mjs.map +1 -1
  11. package/lib/components/field-input/YFieldInput.mjs +1 -10
  12. package/lib/components/field-input/YFieldInput.mjs.map +1 -1
  13. package/lib/components/layer/YLayer.mjs +2 -1
  14. package/lib/components/layer/YLayer.mjs.map +1 -1
  15. package/lib/components/table/YDataTableHead.mjs +2 -1
  16. package/lib/components/table/YDataTableHead.mjs.map +1 -1
  17. package/lib/components/table/YDataTableRow.mjs +1 -1
  18. package/lib/components/table/YDataTableRow.mjs.map +1 -1
  19. package/lib/components/table/composibles/items.mjs +6 -1
  20. package/lib/components/table/composibles/items.mjs.map +1 -1
  21. package/lib/components/table/composibles/selection.mjs +1 -1
  22. package/lib/components/table/composibles/selection.mjs.map +1 -1
  23. package/lib/components/table/types/header.mjs.map +1 -1
  24. package/lib/composables/layer-group.mjs +2 -2
  25. package/lib/composables/layer-group.mjs.map +1 -1
  26. package/lib/util/color/const.mjs +1 -1
  27. package/lib/util/color/const.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/types/components/date-picker/YMonthPicker.d.ts +1 -1
  30. package/types/components/date-picker/YYearPicker.d.ts +1 -1
  31. package/types/components/dialog/YDialog.d.ts +7 -0
  32. package/types/components/dropdown/YDropdown.d.ts +6 -0
  33. package/types/components/layer/YLayer.d.ts +6 -0
  34. package/types/components/menu/YMenu.d.ts +3 -0
  35. package/types/components/select/YSelect.d.ts +31 -0
  36. package/types/components/snackbar/YSnackbar.d.ts +6 -0
  37. package/types/components/table/YDataTable.d.ts +10 -3
  38. package/types/components/table/YDataTableServer.d.ts +10 -3
  39. package/types/components/table/composibles/header.d.ts +8 -0
  40. package/types/components/table/composibles/selection.d.ts +2 -2
  41. package/types/components/table/types/header.d.ts +1 -0
  42. package/types/components/tooltip/YTooltip.d.ts +4 -0
  43. package/types/composables/layer-group.d.ts +1 -1
@@ -129,10 +129,10 @@ export declare const pressDataTableProps: <Defaults extends {
129
129
  };
130
130
  itemComparator: unknown extends Defaults["itemComparator"] ? {
131
131
  type: PropType<string | typeof import('../../util').deepEqual>;
132
- default: typeof import('../../util').deepEqual;
132
+ default: () => typeof import('../../util').deepEqual;
133
133
  } : Omit<{
134
134
  type: PropType<string | typeof import('../../util').deepEqual>;
135
- default: typeof import('../../util').deepEqual;
135
+ default: () => typeof import('../../util').deepEqual;
136
136
  }, "type" | "default"> & {
137
137
  type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"]>;
138
138
  default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"];
@@ -208,6 +208,7 @@ export declare const pressDataTableProps: <Defaults extends {
208
208
  readonly rowspan?: number | undefined;
209
209
  readonly fixed?: boolean | undefined;
210
210
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
211
+ readonly headerClasses?: string | readonly string[] | undefined;
211
212
  readonly align?: "start" | "end" | "center" | undefined;
212
213
  readonly width?: string | number | undefined;
213
214
  readonly minWidth?: string | undefined;
@@ -226,6 +227,7 @@ export declare const pressDataTableProps: <Defaults extends {
226
227
  readonly rowspan?: number | undefined;
227
228
  readonly fixed?: boolean | undefined;
228
229
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
230
+ readonly headerClasses?: string | readonly string[] | undefined;
229
231
  readonly align?: "start" | "end" | "center" | undefined;
230
232
  readonly width?: string | number | undefined;
231
233
  readonly minWidth?: string | undefined;
@@ -244,6 +246,7 @@ export declare const pressDataTableProps: <Defaults extends {
244
246
  readonly rowspan?: number | undefined;
245
247
  readonly fixed?: boolean | undefined;
246
248
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
249
+ readonly headerClasses?: string | readonly string[] | undefined;
247
250
  readonly align?: "start" | "end" | "center" | undefined;
248
251
  readonly width?: string | number | undefined;
249
252
  readonly minWidth?: string | undefined;
@@ -259,6 +262,7 @@ export declare const pressDataTableProps: <Defaults extends {
259
262
  readonly rowspan?: number | undefined;
260
263
  readonly fixed?: boolean | undefined;
261
264
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
265
+ readonly headerClasses?: string | readonly string[] | undefined;
262
266
  readonly align?: "start" | "end" | "center" | undefined;
263
267
  readonly width?: string | number | undefined;
264
268
  readonly minWidth?: string | undefined;
@@ -275,6 +279,7 @@ export declare const pressDataTableProps: <Defaults extends {
275
279
  readonly rowspan?: number | undefined;
276
280
  readonly fixed?: boolean | undefined;
277
281
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
282
+ readonly headerClasses?: string | readonly string[] | undefined;
278
283
  readonly align?: "start" | "end" | "center" | undefined;
279
284
  readonly width?: string | number | undefined;
280
285
  readonly minWidth?: string | undefined;
@@ -290,6 +295,7 @@ export declare const pressDataTableProps: <Defaults extends {
290
295
  readonly rowspan?: number | undefined;
291
296
  readonly fixed?: boolean | undefined;
292
297
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
298
+ readonly headerClasses?: string | readonly string[] | undefined;
293
299
  readonly align?: "start" | "end" | "center" | undefined;
294
300
  readonly width?: string | number | undefined;
295
301
  readonly minWidth?: string | undefined;
@@ -387,7 +393,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
387
393
  };
388
394
  itemComparator: {
389
395
  type: PropType<string | typeof import('../../util').deepEqual>;
390
- default: typeof import('../../util').deepEqual;
396
+ default: () => typeof import('../../util').deepEqual;
391
397
  };
392
398
  sortBy: {
393
399
  type: PropType<readonly {
@@ -418,6 +424,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
418
424
  readonly rowspan?: number | undefined;
419
425
  readonly fixed?: boolean | undefined;
420
426
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
427
+ readonly headerClasses?: string | readonly string[] | undefined;
421
428
  readonly align?: "start" | "end" | "center" | undefined;
422
429
  readonly width?: string | number | undefined;
423
430
  readonly minWidth?: string | undefined;
@@ -132,10 +132,10 @@ export declare const pressDataTableServerProps: <Defaults extends {
132
132
  };
133
133
  itemComparator: unknown extends Defaults["itemComparator"] ? {
134
134
  type: PropType<string | typeof import('../../util').deepEqual>;
135
- default: typeof import('../../util').deepEqual;
135
+ default: () => typeof import('../../util').deepEqual;
136
136
  } : Omit<{
137
137
  type: PropType<string | typeof import('../../util').deepEqual>;
138
- default: typeof import('../../util').deepEqual;
138
+ default: () => typeof import('../../util').deepEqual;
139
139
  }, "type" | "default"> & {
140
140
  type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"]>;
141
141
  default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"];
@@ -211,6 +211,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
211
211
  readonly rowspan?: number | undefined;
212
212
  readonly fixed?: boolean | undefined;
213
213
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
214
+ readonly headerClasses?: string | readonly string[] | undefined;
214
215
  readonly align?: "start" | "end" | "center" | undefined;
215
216
  readonly width?: string | number | undefined;
216
217
  readonly minWidth?: string | undefined;
@@ -229,6 +230,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
229
230
  readonly rowspan?: number | undefined;
230
231
  readonly fixed?: boolean | undefined;
231
232
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
233
+ readonly headerClasses?: string | readonly string[] | undefined;
232
234
  readonly align?: "start" | "end" | "center" | undefined;
233
235
  readonly width?: string | number | undefined;
234
236
  readonly minWidth?: string | undefined;
@@ -247,6 +249,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
247
249
  readonly rowspan?: number | undefined;
248
250
  readonly fixed?: boolean | undefined;
249
251
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
252
+ readonly headerClasses?: string | readonly string[] | undefined;
250
253
  readonly align?: "start" | "end" | "center" | undefined;
251
254
  readonly width?: string | number | undefined;
252
255
  readonly minWidth?: string | undefined;
@@ -262,6 +265,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
262
265
  readonly rowspan?: number | undefined;
263
266
  readonly fixed?: boolean | undefined;
264
267
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
268
+ readonly headerClasses?: string | readonly string[] | undefined;
265
269
  readonly align?: "start" | "end" | "center" | undefined;
266
270
  readonly width?: string | number | undefined;
267
271
  readonly minWidth?: string | undefined;
@@ -278,6 +282,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
278
282
  readonly rowspan?: number | undefined;
279
283
  readonly fixed?: boolean | undefined;
280
284
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
285
+ readonly headerClasses?: string | readonly string[] | undefined;
281
286
  readonly align?: "start" | "end" | "center" | undefined;
282
287
  readonly width?: string | number | undefined;
283
288
  readonly minWidth?: string | undefined;
@@ -293,6 +298,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
293
298
  readonly rowspan?: number | undefined;
294
299
  readonly fixed?: boolean | undefined;
295
300
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
301
+ readonly headerClasses?: string | readonly string[] | undefined;
296
302
  readonly align?: "start" | "end" | "center" | undefined;
297
303
  readonly width?: string | number | undefined;
298
304
  readonly minWidth?: string | undefined;
@@ -420,7 +426,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
420
426
  };
421
427
  itemComparator: {
422
428
  type: PropType<string | typeof import('../../util').deepEqual>;
423
- default: typeof import('../../util').deepEqual;
429
+ default: () => typeof import('../../util').deepEqual;
424
430
  };
425
431
  sortBy: {
426
432
  type: PropType<readonly {
@@ -451,6 +457,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
451
457
  readonly rowspan?: number | undefined;
452
458
  readonly fixed?: boolean | undefined;
453
459
  readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
460
+ readonly headerClasses?: string | readonly string[] | undefined;
454
461
  readonly align?: "start" | "end" | "center" | undefined;
455
462
  readonly width?: string | number | undefined;
456
463
  readonly minWidth?: string | undefined;
@@ -13,6 +13,7 @@ export declare const pressDataTableHeader: <Defaults extends {
13
13
  readonly rowspan?: number | undefined;
14
14
  readonly fixed?: boolean | undefined;
15
15
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
16
+ readonly headerClasses?: string | readonly string[] | undefined;
16
17
  readonly align?: "start" | "end" | "center" | undefined;
17
18
  readonly width?: string | number | undefined;
18
19
  readonly minWidth?: string | undefined;
@@ -31,6 +32,7 @@ export declare const pressDataTableHeader: <Defaults extends {
31
32
  readonly rowspan?: number | undefined;
32
33
  readonly fixed?: boolean | undefined;
33
34
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
35
+ readonly headerClasses?: string | readonly string[] | undefined;
34
36
  readonly align?: "start" | "end" | "center" | undefined;
35
37
  readonly width?: string | number | undefined;
36
38
  readonly minWidth?: string | undefined;
@@ -49,6 +51,7 @@ export declare const pressDataTableHeader: <Defaults extends {
49
51
  readonly rowspan?: number | undefined;
50
52
  readonly fixed?: boolean | undefined;
51
53
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
54
+ readonly headerClasses?: string | readonly string[] | undefined;
52
55
  readonly align?: "start" | "end" | "center" | undefined;
53
56
  readonly width?: string | number | undefined;
54
57
  readonly minWidth?: string | undefined;
@@ -64,6 +67,7 @@ export declare const pressDataTableHeader: <Defaults extends {
64
67
  readonly rowspan?: number | undefined;
65
68
  readonly fixed?: boolean | undefined;
66
69
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
70
+ readonly headerClasses?: string | readonly string[] | undefined;
67
71
  readonly align?: "start" | "end" | "center" | undefined;
68
72
  readonly width?: string | number | undefined;
69
73
  readonly minWidth?: string | undefined;
@@ -80,6 +84,7 @@ export declare const pressDataTableHeader: <Defaults extends {
80
84
  readonly rowspan?: number | undefined;
81
85
  readonly fixed?: boolean | undefined;
82
86
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
87
+ readonly headerClasses?: string | readonly string[] | undefined;
83
88
  readonly align?: "start" | "end" | "center" | undefined;
84
89
  readonly width?: string | number | undefined;
85
90
  readonly minWidth?: string | undefined;
@@ -95,6 +100,7 @@ export declare const pressDataTableHeader: <Defaults extends {
95
100
  readonly rowspan?: number | undefined;
96
101
  readonly fixed?: boolean | undefined;
97
102
  readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
103
+ readonly headerClasses?: string | readonly string[] | undefined;
98
104
  readonly align?: "start" | "end" | "center" | undefined;
99
105
  readonly width?: string | number | undefined;
100
106
  readonly minWidth?: string | undefined;
@@ -123,6 +129,7 @@ export declare function createHeader(props: HeaderProps, options?: {
123
129
  rowspan?: number | undefined;
124
130
  fixed?: boolean | undefined;
125
131
  classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
132
+ headerClasses?: string | string[] | undefined;
126
133
  align?: "start" | "end" | "center" | undefined;
127
134
  width?: string | number | undefined;
128
135
  minWidth?: string | undefined;
@@ -141,6 +148,7 @@ export declare function createHeader(props: HeaderProps, options?: {
141
148
  rowspan?: number | undefined;
142
149
  fixed?: boolean | undefined;
143
150
  classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
151
+ headerClasses?: string | string[] | undefined;
144
152
  align?: "start" | "end" | "center" | undefined;
145
153
  width?: string | number | undefined;
146
154
  minWidth?: string | undefined;
@@ -58,10 +58,10 @@ export declare const pressDataTableSelectionProps: <Defaults extends {
58
58
  };
59
59
  itemComparator: unknown extends Defaults["itemComparator"] ? {
60
60
  type: PropType<string | typeof deepEqual>;
61
- default: typeof deepEqual;
61
+ default: () => typeof deepEqual;
62
62
  } : Omit<{
63
63
  type: PropType<string | typeof deepEqual>;
64
- default: typeof deepEqual;
64
+ default: () => typeof deepEqual;
65
65
  }, "type" | "default"> & {
66
66
  type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof deepEqual : Defaults["itemComparator"] | NonNullable<string | typeof deepEqual>>;
67
67
  default: unknown extends Defaults["itemComparator"] ? string | typeof deepEqual : Defaults["itemComparator"] | NonNullable<string | typeof deepEqual>;
@@ -8,6 +8,7 @@ export type DataTableHeader = {
8
8
  rowspan?: number;
9
9
  fixed?: boolean;
10
10
  classes?: string | string[] | DataTableCellClassesFn;
11
+ headerClasses?: string | string[];
11
12
  align?: 'start' | 'end' | 'center';
12
13
  width?: number | string;
13
14
  minWidth?: string;
@@ -117,6 +117,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
117
117
  default: number;
118
118
  };
119
119
  contained: BooleanConstructor;
120
+ layerGroup: PropType<string | Element>;
120
121
  tooltipClasses: {
121
122
  type: PropType<string | string[] | Record<string, any>>;
122
123
  };
@@ -217,6 +218,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
217
218
  default: number;
218
219
  };
219
220
  contained: BooleanConstructor;
221
+ layerGroup: PropType<string | Element>;
220
222
  modal: PropType<boolean>;
221
223
  }, {
222
224
  complementClickOption: {
@@ -1932,6 +1934,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
1932
1934
  default: number;
1933
1935
  };
1934
1936
  contained: BooleanConstructor;
1937
+ layerGroup: PropType<string | Element>;
1935
1938
  modal: PropType<boolean>;
1936
1939
  }, {
1937
1940
  complementClickOption: {
@@ -3671,6 +3674,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
3671
3674
  default: number;
3672
3675
  };
3673
3676
  contained: BooleanConstructor;
3677
+ layerGroup: PropType<string | Element>;
3674
3678
  tooltipClasses: {
3675
3679
  type: PropType<string | string[] | Record<string, any>>;
3676
3680
  };
@@ -1,7 +1,7 @@
1
1
  import { ComponentInternalInstance, Ref } from 'vue';
2
2
 
3
3
  export declare const Y_LAYER_GROUP_CLASS_NAME = "y-layer-group";
4
- export declare function useLayerGroup(target?: Ref<string | Element>): {
4
+ export declare function useLayerGroup(target?: Ref<string | Element | undefined>): {
5
5
  layerGroup: import('vue').ComputedRef<HTMLElement>;
6
6
  layerGroupState: WeakMap<HTMLElement, Set<any>>;
7
7
  getActiveLayers: () => ComponentInternalInstance[];