yuyeon 0.0.42-rc2 → 0.0.42-rc24

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 (114) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +3762 -3475
  3. package/dist/yuyeon.umd.cjs +6 -6
  4. package/lib/components/date-picker/YDateCalendar.scss +82 -82
  5. package/lib/components/date-picker/YDatePickerControl.mjs.map +1 -1
  6. package/lib/components/dialog/YDialog.mjs +4 -1
  7. package/lib/components/dialog/YDialog.mjs.map +1 -1
  8. package/lib/components/dialog/YDialog.scss +2 -0
  9. package/lib/components/divider/YDivider.mjs.map +1 -1
  10. package/lib/components/dropdown/YDropdown.mjs +11 -5
  11. package/lib/components/dropdown/YDropdown.mjs.map +1 -1
  12. package/lib/components/dropdown/YDropdown.scss +3 -8
  13. package/lib/components/field-input/YFieldInput.mjs +22 -15
  14. package/lib/components/field-input/YFieldInput.mjs.map +1 -1
  15. package/lib/components/icon/YIcon.mjs +62 -0
  16. package/lib/components/icon/YIcon.mjs.map +1 -0
  17. package/lib/components/icon/YIcon.scss +18 -0
  18. package/lib/components/icon/index.mjs +2 -0
  19. package/lib/components/icon/index.mjs.map +1 -0
  20. package/lib/components/icon/poly.mjs +57 -0
  21. package/lib/components/icon/poly.mjs.map +1 -0
  22. package/lib/components/icons/index.mjs +14 -0
  23. package/lib/components/icons/index.mjs.map +1 -1
  24. package/lib/components/index.mjs +2 -1
  25. package/lib/components/index.mjs.map +1 -1
  26. package/lib/components/input/YInput.mjs +173 -308
  27. package/lib/components/input/YInput.mjs.map +1 -1
  28. package/lib/components/input/index.mjs.map +1 -1
  29. package/lib/components/layer/YLayer.mjs +3 -1
  30. package/lib/components/layer/YLayer.mjs.map +1 -1
  31. package/lib/components/layer/active-stack.mjs.map +1 -1
  32. package/lib/components/menu/YMenu.mjs +16 -4
  33. package/lib/components/menu/YMenu.mjs.map +1 -1
  34. package/lib/components/select/YSelect.mjs +27 -12
  35. package/lib/components/select/YSelect.mjs.map +1 -1
  36. package/lib/components/select/YSelect.scss +3 -8
  37. package/lib/components/tab/types.mjs.map +1 -1
  38. package/lib/components/textarea/YTextarea.mjs +159 -0
  39. package/lib/components/textarea/YTextarea.mjs.map +1 -0
  40. package/lib/components/textarea/YTextarea.scss +25 -0
  41. package/lib/components/textarea/index.mjs +2 -0
  42. package/lib/components/textarea/index.mjs.map +1 -0
  43. package/lib/components/tree-view/YTreeView.mjs.map +1 -1
  44. package/lib/components/tree-view/YTreeViewNode.mjs.map +1 -1
  45. package/lib/composables/communication.mjs.map +1 -1
  46. package/lib/composables/icon.mjs +161 -0
  47. package/lib/composables/icon.mjs.map +1 -1
  48. package/lib/composables/theme/index.mjs.map +1 -1
  49. package/lib/composables/validation.mjs +101 -0
  50. package/lib/composables/validation.mjs.map +1 -0
  51. package/lib/index.mjs +3 -0
  52. package/lib/index.mjs.map +1 -1
  53. package/lib/styles/util/_mixin.scss +34 -34
  54. package/lib/types/index.mjs.map +1 -1
  55. package/lib/util/date/adapters/yuyeon-date-adapter.mjs +1 -1
  56. package/lib/util/date/adapters/yuyeon-date-adapter.mjs.map +1 -1
  57. package/lib/util/date/built-in.mjs +6 -2
  58. package/lib/util/date/built-in.mjs.map +1 -1
  59. package/package.json +2 -2
  60. package/types/abstract/items.d.ts +4 -4
  61. package/types/components/button/YButton.d.ts +10 -10
  62. package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
  63. package/types/components/date-picker/YDateCalendar.d.ts +10 -4
  64. package/types/components/dialog/YDialog.d.ts +4 -1
  65. package/types/components/dropdown/YDropdown.d.ts +34 -13
  66. package/types/components/field-input/YFieldInput.d.ts +121 -53
  67. package/types/components/form/YForm.d.ts +1 -1
  68. package/types/components/icon/YIcon.d.ts +81 -0
  69. package/types/components/icon/index.d.ts +1 -0
  70. package/types/components/icons/YIconCheckbox.d.ts +2 -2
  71. package/types/components/icons/YIconSort.d.ts +2 -2
  72. package/types/components/icons/index.d.ts +48 -0
  73. package/types/components/index.d.ts +2 -1
  74. package/types/components/input/YInput.d.ts +120 -91
  75. package/types/components/layer/YLayer.d.ts +20 -19
  76. package/types/components/layer/active-stack.d.ts +1 -2
  77. package/types/components/list/YListItem.d.ts +2 -2
  78. package/types/components/menu/YMenu.d.ts +8 -3
  79. package/types/components/pagination/YPagination.d.ts +8 -6
  80. package/types/components/progress-bar/YProgressBar.d.ts +1 -1
  81. package/types/components/select/YSelect.d.ts +1483 -272
  82. package/types/components/snackbar/YSnackbar.d.ts +3 -1
  83. package/types/components/switch/YSwitch.d.ts +1 -1
  84. package/types/components/tab/YTab.d.ts +15 -15
  85. package/types/components/tab/YTabs.d.ts +5 -5
  86. package/types/components/tab/types.d.ts +1 -0
  87. package/types/components/table/YDataTable.d.ts +18 -18
  88. package/types/components/table/YDataTableBody.d.ts +5 -5
  89. package/types/components/table/YDataTableControl.d.ts +2 -2
  90. package/types/components/table/YDataTableHead.d.ts +2 -2
  91. package/types/components/table/YDataTableServer.d.ts +21 -21
  92. package/types/components/table/YTable.d.ts +4 -4
  93. package/types/components/table/composibles/header.d.ts +1 -1
  94. package/types/components/table/composibles/items.d.ts +3 -3
  95. package/types/components/table/composibles/pagination.d.ts +8 -4
  96. package/types/components/table/composibles/selection.d.ts +2 -2
  97. package/types/components/table/composibles/sorting.d.ts +4 -2
  98. package/types/components/textarea/YTextarea.d.ts +664 -0
  99. package/types/components/textarea/index.d.ts +1 -0
  100. package/types/components/tooltip/YTooltip.d.ts +9 -8
  101. package/types/components/tree-view/YTreeView.d.ts +4 -4
  102. package/types/components/tree-view/YTreeViewNode.d.ts +9 -9
  103. package/types/composables/choice.d.ts +1 -1
  104. package/types/composables/communication.d.ts +7 -2
  105. package/types/composables/coordinate/index.d.ts +6 -6
  106. package/types/composables/focus.d.ts +3 -1
  107. package/types/composables/icon.d.ts +96 -0
  108. package/types/composables/list-items.d.ts +10 -10
  109. package/types/composables/theme/index.d.ts +2 -2
  110. package/types/composables/validation.d.ts +75 -0
  111. package/types/globals.d.ts +12 -7
  112. package/types/shims.d.ts +88 -85
  113. package/types/types/index.d.ts +5 -0
  114. package/types/util/date/built-in.d.ts +2 -2
@@ -29,7 +29,9 @@ export declare const YSnackbar: import("vue").DefineComponent<{
29
29
  default: number;
30
30
  };
31
31
  }, {
32
- active: import("vue").WritableComputedRef<any>;
32
+ active: import("vue").WritableComputedRef<any> & {
33
+ readonly rxValue: any;
34
+ };
33
35
  hover: import("vue").Ref<boolean>;
34
36
  classes: import("vue").ComputedRef<{
35
37
  'y-snackbar': boolean;
@@ -96,8 +96,8 @@ export declare const YSwitch: import("vue").DefineComponent<{
96
96
  default: string;
97
97
  };
98
98
  }>>, {
99
- loading: boolean;
100
99
  disabled: boolean;
100
+ loading: boolean;
101
101
  input: boolean | any[];
102
102
  stickOut: boolean;
103
103
  stateLabel: boolean;
@@ -36,7 +36,7 @@ export declare const pressYTabPropsOptions: <Defaults extends {
36
36
  } : Omit<{
37
37
  type: PropType<string>;
38
38
  default: string;
39
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
146
+ }, "type" | "default"> & {
147
147
  type: PropType<boolean>;
148
148
  default: boolean;
149
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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
- }, "default" | "type"> & {
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;
@@ -15,7 +15,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
15
15
  } : Omit<{
16
16
  type: null;
17
17
  default: undefined;
18
- }, "default" | "type"> & {
18
+ }, "type" | "default"> & {
19
19
  type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
20
20
  default: unknown extends Defaults["modelValue"] ? any : any;
21
21
  };
@@ -29,7 +29,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
29
29
  } : Omit<{
30
30
  type: PropType<NonNullable<boolean | "force">>;
31
31
  default: NonNullable<boolean | "force">;
32
- }, "default" | "type"> & {
32
+ }, "type" | "default"> & {
33
33
  type: PropType<unknown extends Defaults["mandatory"] ? NonNullable<boolean | "force"> : Defaults["mandatory"] | NonNullable<NonNullable<boolean | "force">>>;
34
34
  default: unknown extends Defaults["mandatory"] ? NonNullable<boolean | "force"> : Defaults["mandatory"] | NonNullable<NonNullable<boolean | "force">>;
35
35
  };
@@ -43,7 +43,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
43
43
  } : Omit<{
44
44
  type: PropType<string>;
45
45
  default: string;
46
- }, "default" | "type"> & {
46
+ }, "type" | "default"> & {
47
47
  type: PropType<unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"]>;
48
48
  default: unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"];
49
49
  };
@@ -55,7 +55,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
55
55
  type: PropType<YTabPropItem[]>;
56
56
  } : Omit<{
57
57
  type: PropType<YTabPropItem[]>;
58
- }, "default" | "type"> & {
58
+ }, "type" | "default"> & {
59
59
  type: PropType<unknown extends Defaults["items"] ? YTabPropItem[] : YTabPropItem[] | Defaults["items"]>;
60
60
  default: unknown extends Defaults["items"] ? YTabPropItem[] : YTabPropItem[] | Defaults["items"];
61
61
  };
@@ -113,10 +113,10 @@ export declare const YTabs: import("vue").DefineComponent<{
113
113
  }>> & {
114
114
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
115
115
  }, {
116
+ tag: "div" | "nav" | "ol" | "ul";
116
117
  disabled: boolean;
117
118
  selectedClass: string;
118
119
  modelValue: any;
119
- tag: "div" | "nav" | "ol" | "ul";
120
120
  multiple: boolean;
121
121
  mandatory: NonNullable<boolean | "force">;
122
122
  }, {}>;
@@ -1,4 +1,5 @@
1
1
  export interface YTabPropItem {
2
2
  text: string;
3
3
  value: string;
4
+ [Key: string]: any;
4
5
  }
@@ -35,7 +35,7 @@ export declare const pressDataTableProps: <Defaults extends {
35
35
  } : Omit<{
36
36
  type: PropType<string>;
37
37
  default: string;
38
- }, "default" | "type"> & {
38
+ }, "type" | "default"> & {
39
39
  type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
40
40
  default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
41
41
  };
@@ -43,7 +43,7 @@ export declare const pressDataTableProps: <Defaults extends {
43
43
  type: PropType<boolean>;
44
44
  } : Omit<{
45
45
  type: PropType<boolean>;
46
- }, "default" | "type"> & {
46
+ }, "type" | "default"> & {
47
47
  type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
48
48
  default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
49
49
  };
@@ -51,7 +51,7 @@ export declare const pressDataTableProps: <Defaults extends {
51
51
  type: PropType<string | number>;
52
52
  } : Omit<{
53
53
  type: PropType<string | number>;
54
- }, "default" | "type"> & {
54
+ }, "type" | "default"> & {
55
55
  type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
56
56
  default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
57
57
  };
@@ -59,7 +59,7 @@ export declare const pressDataTableProps: <Defaults extends {
59
59
  type: PropType<boolean>;
60
60
  } : Omit<{
61
61
  type: PropType<boolean>;
62
- }, "default" | "type"> & {
62
+ }, "type" | "default"> & {
63
63
  type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
64
64
  default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
65
65
  };
@@ -73,7 +73,7 @@ export declare const pressDataTableProps: <Defaults extends {
73
73
  } : Omit<{
74
74
  type: StringConstructor;
75
75
  default: string;
76
- }, "default" | "type"> & {
76
+ }, "type" | "default"> & {
77
77
  type: PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
78
78
  default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
79
79
  };
@@ -83,7 +83,7 @@ export declare const pressDataTableProps: <Defaults extends {
83
83
  } : Omit<{
84
84
  type: StringConstructor;
85
85
  default: string;
86
- }, "default" | "type"> & {
86
+ }, "type" | "default"> & {
87
87
  type: PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
88
88
  default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
89
89
  };
@@ -105,7 +105,7 @@ export declare const pressDataTableProps: <Defaults extends {
105
105
  } : Omit<{
106
106
  type: PropType<"page" | "all" | "single">;
107
107
  default: string;
108
- }, "default" | "type"> & {
108
+ }, "type" | "default"> & {
109
109
  type: PropType<unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : Defaults["selectStrategy"] | NonNullable<"page" | "all" | "single">>;
110
110
  default: unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : Defaults["selectStrategy"] | NonNullable<"page" | "all" | "single">;
111
111
  };
@@ -115,7 +115,7 @@ export declare const pressDataTableProps: <Defaults extends {
115
115
  } : Omit<{
116
116
  type: PropType<readonly any[]>;
117
117
  default: () => never[];
118
- }, "default" | "type"> & {
118
+ }, "type" | "default"> & {
119
119
  type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
120
120
  default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
121
121
  };
@@ -125,7 +125,7 @@ export declare const pressDataTableProps: <Defaults extends {
125
125
  } : Omit<{
126
126
  type: PropType<readonly import("./types").SortOption[]>;
127
127
  default: () => never[];
128
- }, "default" | "type"> & {
128
+ }, "type" | "default"> & {
129
129
  type: PropType<unknown extends Defaults["sortBy"] ? readonly import("./types").SortOption[] : readonly import("./types").SortOption[] | Defaults["sortBy"]>;
130
130
  default: unknown extends Defaults["sortBy"] ? readonly import("./types").SortOption[] : readonly import("./types").SortOption[] | Defaults["sortBy"];
131
131
  };
@@ -135,7 +135,7 @@ export declare const pressDataTableProps: <Defaults extends {
135
135
  } : Omit<{
136
136
  type: PropType<any[]>;
137
137
  default: () => never[];
138
- }, "default" | "type"> & {
138
+ }, "type" | "default"> & {
139
139
  type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
140
140
  default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
141
141
  };
@@ -145,7 +145,7 @@ export declare const pressDataTableProps: <Defaults extends {
145
145
  } : Omit<{
146
146
  type: PropType<any>;
147
147
  default: string;
148
- }, "default" | "type"> & {
148
+ }, "type" | "default"> & {
149
149
  type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
150
150
  default: unknown extends Defaults["itemKey"] ? any : any;
151
151
  };
@@ -155,7 +155,7 @@ export declare const pressDataTableProps: <Defaults extends {
155
155
  } : Omit<{
156
156
  type: PropType<any>;
157
157
  default: null;
158
- }, "default" | "type"> & {
158
+ }, "type" | "default"> & {
159
159
  type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
160
160
  default: unknown extends Defaults["itemSelectable"] ? any : any;
161
161
  };
@@ -169,7 +169,7 @@ export declare const pressDataTableProps: <Defaults extends {
169
169
  } : Omit<{
170
170
  type: PropType<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]>;
171
171
  default: () => never[];
172
- }, "default" | "type"> & {
172
+ }, "type" | "default"> & {
173
173
  type: PropType<unknown extends Defaults["headers"] ? import("./types").DataTableHeader[] | import("./types").DataTableHeader[][] : Defaults["headers"] | NonNullable<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]>>;
174
174
  default: unknown extends Defaults["headers"] ? import("./types").DataTableHeader[] | import("./types").DataTableHeader[][] : Defaults["headers"] | NonNullable<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]>;
175
175
  };
@@ -181,7 +181,7 @@ export declare const pressDataTableProps: <Defaults extends {
181
181
  type: PropType<unknown extends Defaults["search"] ? string : string | Defaults["search"]>;
182
182
  default: unknown extends Defaults["search"] ? string : string | Defaults["search"];
183
183
  };
184
- loading: unknown extends Defaults["loading"] ? (BooleanConstructor | StringConstructor)[] : {
184
+ loading: unknown extends Defaults["loading"] ? (StringConstructor | BooleanConstructor)[] : {
185
185
  type: PropType<unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"]>;
186
186
  default: unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"];
187
187
  };
@@ -199,7 +199,7 @@ export declare const pressDataTableProps: <Defaults extends {
199
199
  } : Omit<{
200
200
  type: StringConstructor;
201
201
  default: string;
202
- }, "default" | "type"> & {
202
+ }, "type" | "default"> & {
203
203
  type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
204
204
  default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
205
205
  };
@@ -277,7 +277,7 @@ export declare const YDataTable: import("vue").DefineComponent<{
277
277
  };
278
278
  width: PropType<string | number>;
279
279
  search: PropType<string>;
280
- loading: (BooleanConstructor | StringConstructor)[];
280
+ loading: (StringConstructor | BooleanConstructor)[];
281
281
  loadingText: StringConstructor;
282
282
  hideNoData: BooleanConstructor;
283
283
  noDataText: {
@@ -364,7 +364,7 @@ export declare const YDataTable: import("vue").DefineComponent<{
364
364
  };
365
365
  width: PropType<string | number>;
366
366
  search: PropType<string>;
367
- loading: (BooleanConstructor | StringConstructor)[];
367
+ loading: (StringConstructor | BooleanConstructor)[];
368
368
  loadingText: StringConstructor;
369
369
  hideNoData: BooleanConstructor;
370
370
  noDataText: {
@@ -393,8 +393,8 @@ export declare const YDataTable: import("vue").DefineComponent<{
393
393
  "onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
394
394
  "onUpdate:options"?: ((options: any) => any) | undefined;
395
395
  }, {
396
- modelValue: readonly any[];
397
396
  tag: string;
397
+ modelValue: readonly any[];
398
398
  page: string | number;
399
399
  enableSelect: boolean;
400
400
  items: any[];
@@ -17,11 +17,11 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
17
17
  } : Omit<{
18
18
  type: PropType<readonly DataTableItem<any>[]>;
19
19
  default: () => never[];
20
- }, "default" | "type"> & {
20
+ }, "type" | "default"> & {
21
21
  type: PropType<unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"]>;
22
22
  default: unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"];
23
23
  };
24
- loading: unknown extends Defaults["loading"] ? (BooleanConstructor | StringConstructor)[] : {
24
+ loading: unknown extends Defaults["loading"] ? (StringConstructor | BooleanConstructor)[] : {
25
25
  type: PropType<unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"]>;
26
26
  default: unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"];
27
27
  };
@@ -39,7 +39,7 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
39
39
  } : Omit<{
40
40
  type: StringConstructor;
41
41
  default: string;
42
- }, "default" | "type"> & {
42
+ }, "type" | "default"> & {
43
43
  type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
44
44
  default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
45
45
  };
@@ -65,7 +65,7 @@ export declare const YDataTableBody: import("vue").DefineComponent<{
65
65
  type: PropType<readonly DataTableItem<any>[]>;
66
66
  default: () => never[];
67
67
  };
68
- loading: (BooleanConstructor | StringConstructor)[];
68
+ loading: (StringConstructor | BooleanConstructor)[];
69
69
  loadingText: StringConstructor;
70
70
  hideNoData: BooleanConstructor;
71
71
  noDataText: {
@@ -81,7 +81,7 @@ export declare const YDataTableBody: import("vue").DefineComponent<{
81
81
  type: PropType<readonly DataTableItem<any>[]>;
82
82
  default: () => never[];
83
83
  };
84
- loading: (BooleanConstructor | StringConstructor)[];
84
+ loading: (StringConstructor | BooleanConstructor)[];
85
85
  loadingText: StringConstructor;
86
86
  hideNoData: BooleanConstructor;
87
87
  noDataText: {
@@ -12,7 +12,7 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
12
12
  } : Omit<{
13
13
  type: PropType<string | number>;
14
14
  default: number;
15
- }, "default" | "type"> & {
15
+ }, "type" | "default"> & {
16
16
  type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
17
17
  default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
18
18
  };
@@ -22,7 +22,7 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
22
22
  } : Omit<{
23
23
  type: PropType<string | number>;
24
24
  default: number;
25
- }, "default" | "type"> & {
25
+ }, "type" | "default"> & {
26
26
  type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
27
27
  default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
28
28
  };
@@ -15,7 +15,7 @@ export declare const pressYDataTableHeadProps: <Defaults extends {
15
15
  } : Omit<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
- }, "default" | "type"> & {
18
+ }, "type" | "default"> & {
19
19
  type: import("vue").PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
20
20
  default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
21
21
  };
@@ -25,7 +25,7 @@ export declare const pressYDataTableHeadProps: <Defaults extends {
25
25
  } : Omit<{
26
26
  type: StringConstructor;
27
27
  default: string;
28
- }, "default" | "type"> & {
28
+ }, "type" | "default"> & {
29
29
  type: import("vue").PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
30
30
  default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
31
31
  };
@@ -38,7 +38,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
38
38
  } : Omit<{
39
39
  type: PropType<string>;
40
40
  default: string;
41
- }, "default" | "type"> & {
41
+ }, "type" | "default"> & {
42
42
  type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
43
43
  default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
44
44
  };
@@ -46,7 +46,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
46
46
  type: PropType<boolean>;
47
47
  } : Omit<{
48
48
  type: PropType<boolean>;
49
- }, "default" | "type"> & {
49
+ }, "type" | "default"> & {
50
50
  type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
51
51
  default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
52
52
  };
@@ -54,7 +54,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
54
54
  type: PropType<string | number>;
55
55
  } : Omit<{
56
56
  type: PropType<string | number>;
57
- }, "default" | "type"> & {
57
+ }, "type" | "default"> & {
58
58
  type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
59
59
  default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
60
60
  };
@@ -62,7 +62,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
62
62
  type: PropType<boolean>;
63
63
  } : Omit<{
64
64
  type: PropType<boolean>;
65
- }, "default" | "type"> & {
65
+ }, "type" | "default"> & {
66
66
  type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
67
67
  default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
68
68
  };
@@ -76,7 +76,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
76
76
  } : Omit<{
77
77
  type: StringConstructor;
78
78
  default: string;
79
- }, "default" | "type"> & {
79
+ }, "type" | "default"> & {
80
80
  type: PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
81
81
  default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
82
82
  };
@@ -86,7 +86,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
86
86
  } : Omit<{
87
87
  type: StringConstructor;
88
88
  default: string;
89
- }, "default" | "type"> & {
89
+ }, "type" | "default"> & {
90
90
  type: PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
91
91
  default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
92
92
  };
@@ -108,7 +108,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
108
108
  } : Omit<{
109
109
  type: PropType<"page" | "all" | "single">;
110
110
  default: string;
111
- }, "default" | "type"> & {
111
+ }, "type" | "default"> & {
112
112
  type: PropType<unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"]>;
113
113
  default: unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"];
114
114
  };
@@ -118,7 +118,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
118
118
  } : Omit<{
119
119
  type: PropType<readonly any[]>;
120
120
  default: () => never[];
121
- }, "default" | "type"> & {
121
+ }, "type" | "default"> & {
122
122
  type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
123
123
  default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
124
124
  };
@@ -128,7 +128,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
128
128
  } : Omit<{
129
129
  type: PropType<readonly import("./types").SortOption[]>;
130
130
  default: () => never[];
131
- }, "default" | "type"> & {
131
+ }, "type" | "default"> & {
132
132
  type: PropType<unknown extends Defaults["sortBy"] ? readonly import("./types").SortOption[] : readonly import("./types").SortOption[] | Defaults["sortBy"]>;
133
133
  default: unknown extends Defaults["sortBy"] ? readonly import("./types").SortOption[] : readonly import("./types").SortOption[] | Defaults["sortBy"];
134
134
  };
@@ -138,7 +138,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
138
138
  } : Omit<{
139
139
  type: PropType<any[]>;
140
140
  default: () => never[];
141
- }, "default" | "type"> & {
141
+ }, "type" | "default"> & {
142
142
  type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
143
143
  default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
144
144
  };
@@ -148,7 +148,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
148
148
  } : Omit<{
149
149
  type: PropType<any>;
150
150
  default: string;
151
- }, "default" | "type"> & {
151
+ }, "type" | "default"> & {
152
152
  type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
153
153
  default: unknown extends Defaults["itemKey"] ? any : any;
154
154
  };
@@ -158,7 +158,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
158
158
  } : Omit<{
159
159
  type: PropType<any>;
160
160
  default: null;
161
- }, "default" | "type"> & {
161
+ }, "type" | "default"> & {
162
162
  type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
163
163
  default: unknown extends Defaults["itemSelectable"] ? any : any;
164
164
  };
@@ -172,7 +172,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
172
172
  } : Omit<{
173
173
  type: PropType<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]>;
174
174
  default: () => never[];
175
- }, "default" | "type"> & {
175
+ }, "type" | "default"> & {
176
176
  type: PropType<unknown extends Defaults["headers"] ? import("./types").DataTableHeader[] | import("./types").DataTableHeader[][] : NonNullable<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]> | Defaults["headers"]>;
177
177
  default: unknown extends Defaults["headers"] ? import("./types").DataTableHeader[] | import("./types").DataTableHeader[][] : NonNullable<import("./types").DataTableHeader[] | import("./types").DataTableHeader[][]> | Defaults["headers"];
178
178
  };
@@ -184,7 +184,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
184
184
  type: PropType<unknown extends Defaults["search"] ? string : string | Defaults["search"]>;
185
185
  default: unknown extends Defaults["search"] ? string : string | Defaults["search"];
186
186
  };
187
- loading: unknown extends Defaults["loading"] ? (BooleanConstructor | StringConstructor)[] : {
187
+ loading: unknown extends Defaults["loading"] ? (StringConstructor | BooleanConstructor)[] : {
188
188
  type: PropType<unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"]>;
189
189
  default: unknown extends Defaults["loading"] ? string | boolean : NonNullable<string | boolean> | Defaults["loading"];
190
190
  };
@@ -202,7 +202,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
202
202
  } : Omit<{
203
203
  type: StringConstructor;
204
204
  default: string;
205
- }, "default" | "type"> & {
205
+ }, "type" | "default"> & {
206
206
  type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
207
207
  default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
208
208
  };
@@ -228,7 +228,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
228
228
  } : Omit<{
229
229
  type: PropType<string | number>;
230
230
  default: number;
231
- }, "default" | "type"> & {
231
+ }, "type" | "default"> & {
232
232
  type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
233
233
  default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
234
234
  };
@@ -238,7 +238,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
238
238
  } : Omit<{
239
239
  type: PropType<string | number>;
240
240
  default: number;
241
- }, "default" | "type"> & {
241
+ }, "type" | "default"> & {
242
242
  type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
243
243
  default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
244
244
  };
@@ -248,7 +248,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
248
248
  } : Omit<{
249
249
  type: PropType<string | number>;
250
250
  required: true;
251
- }, "default" | "type"> & {
251
+ }, "type" | "default"> & {
252
252
  type: PropType<unknown extends Defaults["total"] ? string | number : NonNullable<string | number> | Defaults["total"]>;
253
253
  default: unknown extends Defaults["total"] ? string | number : NonNullable<string | number> | Defaults["total"];
254
254
  };
@@ -310,7 +310,7 @@ export declare const YDataTableServer: import("vue").DefineComponent<{
310
310
  };
311
311
  width: PropType<string | number>;
312
312
  search: PropType<string>;
313
- loading: (BooleanConstructor | StringConstructor)[];
313
+ loading: (StringConstructor | BooleanConstructor)[];
314
314
  loadingText: StringConstructor;
315
315
  hideNoData: BooleanConstructor;
316
316
  noDataText: {
@@ -399,7 +399,7 @@ export declare const YDataTableServer: import("vue").DefineComponent<{
399
399
  };
400
400
  width: PropType<string | number>;
401
401
  search: PropType<string>;
402
- loading: (BooleanConstructor | StringConstructor)[];
402
+ loading: (StringConstructor | BooleanConstructor)[];
403
403
  loadingText: StringConstructor;
404
404
  hideNoData: BooleanConstructor;
405
405
  noDataText: {
@@ -432,8 +432,8 @@ export declare const YDataTableServer: import("vue").DefineComponent<{
432
432
  "onUpdate:sortBy"?: ((sortBy: any) => any) | undefined;
433
433
  "onUpdate:options"?: ((options: any) => any) | undefined;
434
434
  }, {
435
- modelValue: readonly any[];
436
435
  tag: string;
436
+ modelValue: readonly any[];
437
437
  page: string | number;
438
438
  enableSelect: boolean;
439
439
  items: any[];