yuyeon 0.3.2-rc.9 → 0.3.4-beta.9
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 +3414 -3201
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/draggable/YDraggable.js.map +1 -1
- package/lib/components/draggable/index.js +2 -0
- package/lib/components/draggable/index.js.map +1 -0
- package/lib/components/field-input/YFieldInput.js +4 -2
- package/lib/components/field-input/YFieldInput.js.map +1 -1
- package/lib/components/input/YInput.scss +1 -1
- package/lib/components/radio/YRadio.js +58 -0
- package/lib/components/radio/YRadio.js.map +1 -0
- package/lib/components/radio/YRadio.scss +38 -0
- package/lib/components/radio/YRadioIcon.js +33 -0
- package/lib/components/radio/YRadioIcon.js.map +1 -0
- package/lib/components/radio/YRadioIcon.scss +44 -0
- package/lib/components/radio/index.js +3 -0
- package/lib/components/radio/index.js.map +1 -0
- package/lib/components/select/YSelect.js +0 -1
- package/lib/components/select/YSelect.js.map +1 -1
- package/lib/components/table/YDataTable.js +26 -13
- package/lib/components/table/YDataTable.js.map +1 -1
- package/lib/components/table/YDataTableBody.js +14 -18
- package/lib/components/table/YDataTableBody.js.map +1 -1
- package/lib/components/table/YDataTableControl.js +8 -6
- package/lib/components/table/YDataTableControl.js.map +1 -1
- package/lib/components/table/YDataTableControl.scss +10 -0
- package/lib/components/table/YDataTableLayerRow.js +87 -0
- package/lib/components/table/YDataTableLayerRow.js.map +1 -0
- package/lib/components/table/YDataTableLayerRow.vue +7 -6
- package/lib/components/table/YDataTableLayerRows.js +60 -0
- package/lib/components/table/YDataTableLayerRows.js.map +1 -0
- package/lib/components/table/YDataTableLayerRows.scss +14 -0
- package/lib/components/table/YDataTableRow.js +13 -5
- package/lib/components/table/YDataTableRow.js.map +1 -1
- package/lib/components/table/YDataTableRows.scss +14 -0
- package/lib/components/table/YDataTableServer.js +20 -8
- package/lib/components/table/YDataTableServer.js.map +1 -1
- package/lib/components/table/composables/expand.js +49 -0
- package/lib/components/table/composables/expand.js.map +1 -0
- package/lib/components/table/composables/items.js +8 -2
- package/lib/components/table/composables/items.js.map +1 -1
- package/lib/components/table/index.js +2 -0
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/types/item.js.map +1 -1
- package/lib/components/text-highlighter/YTextHighlighter.js +2 -1
- package/lib/components/text-highlighter/YTextHighlighter.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js +6 -2
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/lib/composables/style-color.js +1 -2
- package/lib/composables/style-color.js.map +1 -1
- package/lib/composables/theme/index.js +8 -1
- package/lib/composables/theme/index.js.map +1 -1
- package/lib/composables/validation.js +7 -4
- package/lib/composables/validation.js.map +1 -1
- package/lib/directives/index.js +3 -0
- package/lib/directives/index.js.map +1 -0
- package/lib/directives/plate-wave/index.js +2 -2
- package/lib/directives/plate-wave/index.js.map +1 -1
- package/lib/directives/theme-class/index.js +24 -0
- package/lib/directives/theme-class/index.js.map +1 -0
- package/lib/util/string.js +3 -0
- package/lib/util/string.js.map +1 -1
- package/package.json +13 -2
- package/types/abstract/items.d.ts +4 -4
- package/types/components/badge/YBadge.d.ts +4 -7
- package/types/components/button/YButton.d.ts +8 -8
- package/types/components/chip/YChip.d.ts +1 -4
- package/types/components/date-picker/YDateCalendar.d.ts +1 -1
- package/types/components/date-picker/YDatePicker.d.ts +1 -1
- package/types/components/date-picker/YDatePickerControl.d.ts +5 -5
- package/types/components/dialog/YDialog.d.ts +58 -58
- package/types/components/draggable/index.d.ts +1 -0
- package/types/components/dropdown/YDropdown.d.ts +55 -55
- package/types/components/field-input/YFieldInput.d.ts +19 -13
- package/types/components/hover/YHover.d.ts +3 -3
- package/types/components/icon/YIcon.d.ts +2 -2
- package/types/components/img/YImg.d.ts +5 -5
- package/types/components/input/YInput.d.ts +9 -9
- package/types/components/ip-field/YIpv4Field.d.ts +1 -1
- package/types/components/layer/YLayer.d.ts +26 -26
- package/types/components/layer/content.d.ts +1 -1
- package/types/components/layer/scroll-strategies.d.ts +1 -1
- package/types/components/list/YListItem.d.ts +1 -1
- package/types/components/menu/YMenu.d.ts +9 -9
- package/types/components/pagination/YPagination.d.ts +5 -5
- package/types/components/radio/YRadio.d.ts +25 -0
- package/types/components/radio/YRadioIcon.d.ts +6 -0
- package/types/components/radio/index.d.ts +2 -0
- package/types/components/select/YSelect.d.ts +68 -62
- package/types/components/snackbar/YSnackbar.d.ts +33 -33
- package/types/components/switch/YSwitch.d.ts +10 -10
- package/types/components/tab/YTab.d.ts +12 -12
- package/types/components/tab/YTabs.d.ts +4 -4
- package/types/components/table/YDataTable.d.ts +40 -15
- package/types/components/table/YDataTableBody.d.ts +3 -5
- package/types/components/table/YDataTableControl.d.ts +14 -2
- package/types/components/table/YDataTableHead.d.ts +2 -2
- package/types/components/table/YDataTableLayerRow.d.ts +22 -0
- package/types/components/table/YDataTableLayerRows.d.ts +9 -0
- package/types/components/table/YDataTableServer.d.ts +60 -26
- package/types/components/table/YTable.d.ts +4 -4
- package/types/components/table/composables/expand.d.ts +42 -0
- package/types/components/table/composables/header.d.ts +1 -1
- package/types/components/table/composables/items.d.ts +3 -3
- package/types/components/table/composables/pagination.d.ts +2 -2
- package/types/components/table/composables/selection.d.ts +3 -3
- package/types/components/table/composables/sorting.d.ts +1 -1
- package/types/components/table/index.d.ts +2 -0
- package/types/components/table/types/item.d.ts +1 -0
- package/types/components/textarea/YTextarea.d.ts +18 -18
- package/types/components/tooltip/YTooltip.d.ts +46 -46
- package/types/components/tree-view/YTreeView.d.ts +4 -4
- package/types/components/tree-view/YTreeViewNode.d.ts +8 -8
- package/types/composables/choice.d.ts +1 -1
- package/types/composables/coordinate/index.d.ts +8 -8
- package/types/composables/form.d.ts +2 -2
- package/types/composables/icon.d.ts +2 -2
- package/types/composables/list-items.d.ts +10 -10
- package/types/composables/style-color.d.ts +0 -1
- package/types/composables/theme/index.d.ts +1 -0
- package/types/composables/transition.d.ts +1 -1
- package/types/composables/validation.d.ts +3 -3
- package/types/directives/index.d.ts +2 -0
- package/types/directives/plate-wave/index.d.ts +7 -1
- package/types/shims.d.ts +64 -56
- package/types/util/string.d.ts +1 -0
- /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
|
@@ -11,6 +11,8 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
11
11
|
sortDescIcon?: unknown;
|
|
12
12
|
dualSortIcon?: unknown;
|
|
13
13
|
sticky?: unknown;
|
|
14
|
+
enableExpand?: unknown;
|
|
15
|
+
expanded?: unknown;
|
|
14
16
|
enableSelect?: unknown;
|
|
15
17
|
selectStrategy?: unknown;
|
|
16
18
|
modelValue?: unknown;
|
|
@@ -42,7 +44,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
42
44
|
} : Omit<{
|
|
43
45
|
type: PropType<string>;
|
|
44
46
|
default: string;
|
|
45
|
-
}, "
|
|
47
|
+
}, "type" | "default"> & {
|
|
46
48
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
47
49
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
48
50
|
};
|
|
@@ -50,7 +52,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
50
52
|
type: PropType<boolean>;
|
|
51
53
|
} : Omit<{
|
|
52
54
|
type: PropType<boolean>;
|
|
53
|
-
}, "
|
|
55
|
+
}, "type" | "default"> & {
|
|
54
56
|
type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
|
|
55
57
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
56
58
|
};
|
|
@@ -58,7 +60,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
58
60
|
type: PropType<string | number>;
|
|
59
61
|
} : Omit<{
|
|
60
62
|
type: PropType<string | number>;
|
|
61
|
-
}, "
|
|
63
|
+
}, "type" | "default"> & {
|
|
62
64
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
63
65
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
64
66
|
};
|
|
@@ -66,7 +68,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
66
68
|
type: PropType<boolean>;
|
|
67
69
|
} : Omit<{
|
|
68
70
|
type: PropType<boolean>;
|
|
69
|
-
}, "
|
|
71
|
+
}, "type" | "default"> & {
|
|
70
72
|
type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
|
|
71
73
|
default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
|
|
72
74
|
};
|
|
@@ -84,7 +86,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
84
86
|
} : Omit<{
|
|
85
87
|
type: StringConstructor;
|
|
86
88
|
default: string;
|
|
87
|
-
}, "
|
|
89
|
+
}, "type" | "default"> & {
|
|
88
90
|
type: PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
|
|
89
91
|
default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
|
|
90
92
|
};
|
|
@@ -94,7 +96,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
94
96
|
} : Omit<{
|
|
95
97
|
type: StringConstructor;
|
|
96
98
|
default: string;
|
|
97
|
-
}, "
|
|
99
|
+
}, "type" | "default"> & {
|
|
98
100
|
type: PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
|
|
99
101
|
default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
|
|
100
102
|
};
|
|
@@ -106,6 +108,20 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
106
108
|
type: PropType<unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"]>;
|
|
107
109
|
default: unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"];
|
|
108
110
|
};
|
|
111
|
+
enableExpand: unknown extends Defaults["enableExpand"] ? BooleanConstructor : {
|
|
112
|
+
type: PropType<unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"]>;
|
|
113
|
+
default: unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"];
|
|
114
|
+
};
|
|
115
|
+
expanded: unknown extends Defaults["expanded"] ? {
|
|
116
|
+
type: PropType<readonly string[]>;
|
|
117
|
+
default: () => never[];
|
|
118
|
+
} : Omit<{
|
|
119
|
+
type: PropType<readonly string[]>;
|
|
120
|
+
default: () => never[];
|
|
121
|
+
}, "type" | "default"> & {
|
|
122
|
+
type: PropType<unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"]>;
|
|
123
|
+
default: unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"];
|
|
124
|
+
};
|
|
109
125
|
enableSelect: unknown extends Defaults["enableSelect"] ? BooleanConstructor : {
|
|
110
126
|
type: PropType<unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"]>;
|
|
111
127
|
default: unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"];
|
|
@@ -116,7 +132,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
116
132
|
} : Omit<{
|
|
117
133
|
type: PropType<"page" | "all" | "single">;
|
|
118
134
|
default: string;
|
|
119
|
-
}, "
|
|
135
|
+
}, "type" | "default"> & {
|
|
120
136
|
type: PropType<unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"]>;
|
|
121
137
|
default: unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"];
|
|
122
138
|
};
|
|
@@ -126,7 +142,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
126
142
|
} : Omit<{
|
|
127
143
|
type: PropType<readonly any[]>;
|
|
128
144
|
default: () => never[];
|
|
129
|
-
}, "
|
|
145
|
+
}, "type" | "default"> & {
|
|
130
146
|
type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
|
|
131
147
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
132
148
|
};
|
|
@@ -136,7 +152,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
136
152
|
} : Omit<{
|
|
137
153
|
type: PropType<string | typeof import('../../util').deepEqual>;
|
|
138
154
|
default: () => typeof import('../../util').deepEqual;
|
|
139
|
-
}, "
|
|
155
|
+
}, "type" | "default"> & {
|
|
140
156
|
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"]>;
|
|
141
157
|
default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"];
|
|
142
158
|
};
|
|
@@ -152,7 +168,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
152
168
|
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
153
169
|
}[]>;
|
|
154
170
|
default: () => never[];
|
|
155
|
-
}, "
|
|
171
|
+
}, "type" | "default"> & {
|
|
156
172
|
type: PropType<unknown extends Defaults["sortBy"] ? readonly {
|
|
157
173
|
readonly key: string;
|
|
158
174
|
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
@@ -174,7 +190,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
174
190
|
} : Omit<{
|
|
175
191
|
type: PropType<any[]>;
|
|
176
192
|
default: () => never[];
|
|
177
|
-
}, "
|
|
193
|
+
}, "type" | "default"> & {
|
|
178
194
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
179
195
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
180
196
|
};
|
|
@@ -184,7 +200,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
184
200
|
} : Omit<{
|
|
185
201
|
type: PropType<any>;
|
|
186
202
|
default: string;
|
|
187
|
-
}, "
|
|
203
|
+
}, "type" | "default"> & {
|
|
188
204
|
type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
|
|
189
205
|
default: unknown extends Defaults["itemKey"] ? any : any;
|
|
190
206
|
};
|
|
@@ -194,7 +210,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
194
210
|
} : Omit<{
|
|
195
211
|
type: PropType<any>;
|
|
196
212
|
default: null;
|
|
197
|
-
}, "
|
|
213
|
+
}, "type" | "default"> & {
|
|
198
214
|
type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
|
|
199
215
|
default: unknown extends Defaults["itemSelectable"] ? any : any;
|
|
200
216
|
};
|
|
@@ -240,7 +256,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
240
256
|
readonly mustSort?: boolean | undefined;
|
|
241
257
|
}[]>;
|
|
242
258
|
default: () => never[];
|
|
243
|
-
}, "
|
|
259
|
+
}, "type" | "default"> & {
|
|
244
260
|
type: PropType<unknown extends Defaults["headers"] ? readonly {
|
|
245
261
|
readonly key: string;
|
|
246
262
|
readonly text: string;
|
|
@@ -338,7 +354,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
338
354
|
} : Omit<{
|
|
339
355
|
type: StringConstructor;
|
|
340
356
|
default: string;
|
|
341
|
-
}, "
|
|
357
|
+
}, "type" | "default"> & {
|
|
342
358
|
type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
|
|
343
359
|
default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
|
|
344
360
|
};
|
|
@@ -397,6 +413,11 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
397
413
|
};
|
|
398
414
|
dualSortIcon: BooleanConstructor;
|
|
399
415
|
sticky: BooleanConstructor;
|
|
416
|
+
enableExpand: BooleanConstructor;
|
|
417
|
+
expanded: {
|
|
418
|
+
type: PropType<readonly string[]>;
|
|
419
|
+
default: () => never[];
|
|
420
|
+
};
|
|
400
421
|
enableSelect: BooleanConstructor;
|
|
401
422
|
selectStrategy: {
|
|
402
423
|
type: PropType<"page" | "all" | "single">;
|
|
@@ -475,6 +496,9 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
475
496
|
type: PropType<string | number>;
|
|
476
497
|
default: number;
|
|
477
498
|
};
|
|
499
|
+
paginationProps: {
|
|
500
|
+
type: ObjectConstructor;
|
|
501
|
+
};
|
|
478
502
|
}, {
|
|
479
503
|
paginatedItems: import('vue').ComputedRef<readonly any[]>;
|
|
480
504
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -483,6 +507,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
483
507
|
'update:pageSize': (pageSize: number) => true;
|
|
484
508
|
'update:sortBy': (sortBy: any) => true;
|
|
485
509
|
'update:options': (options: any) => true;
|
|
510
|
+
'update:expanded': (expanded: any[]) => true;
|
|
486
511
|
'click:row': (e: Event, value: {
|
|
487
512
|
row: any;
|
|
488
513
|
}) => true;
|
|
@@ -21,7 +21,7 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
|
|
|
21
21
|
} : Omit<{
|
|
22
22
|
type: PropType<readonly DataTableItem<any>[]>;
|
|
23
23
|
default: () => never[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "type" | "default"> & {
|
|
25
25
|
type: PropType<unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"]>;
|
|
26
26
|
default: unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"];
|
|
27
27
|
};
|
|
@@ -43,7 +43,7 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
|
|
|
43
43
|
} : Omit<{
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
default: string;
|
|
46
|
-
}, "
|
|
46
|
+
}, "type" | "default"> & {
|
|
47
47
|
type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
|
|
48
48
|
default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
|
|
49
49
|
};
|
|
@@ -95,7 +95,5 @@ export declare const YDataTableBody: import('vue').DefineComponent<{
|
|
|
95
95
|
'onContextmenu:row': PropType<(e: Event, value: any) => void>;
|
|
96
96
|
'onMousedown:row': PropType<(e: Event, value: any) => void>;
|
|
97
97
|
'onKeydown:row': PropType<(e: Event, value: any) => void>;
|
|
98
|
-
}, {
|
|
99
|
-
rowRefs: import('vue').Ref<any[], any[]>;
|
|
100
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row")[], "click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row">;
|
|
98
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row")[], "click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row">;
|
|
101
99
|
export type YDataTableBody = InstanceType<typeof YDataTableBody>;
|
|
@@ -6,6 +6,7 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
6
6
|
pageLength?: unknown;
|
|
7
7
|
setPageSize?: unknown;
|
|
8
8
|
setPage?: unknown;
|
|
9
|
+
paginationProps?: unknown;
|
|
9
10
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
10
11
|
page: unknown extends Defaults["page"] ? {
|
|
11
12
|
type: PropType<string | number>;
|
|
@@ -13,7 +14,7 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
13
14
|
} : Omit<{
|
|
14
15
|
type: PropType<string | number>;
|
|
15
16
|
default: number;
|
|
16
|
-
}, "
|
|
17
|
+
}, "type" | "default"> & {
|
|
17
18
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
18
19
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
19
20
|
};
|
|
@@ -23,7 +24,7 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
23
24
|
} : Omit<{
|
|
24
25
|
type: PropType<string | number>;
|
|
25
26
|
default: number;
|
|
26
|
-
}, "
|
|
27
|
+
}, "type" | "default"> & {
|
|
27
28
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
28
29
|
default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
|
|
29
30
|
};
|
|
@@ -39,6 +40,14 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
39
40
|
type: PropType<unknown extends Defaults["setPage"] ? (page: number) => void : ((page: number) => void) | Defaults["setPage"]>;
|
|
40
41
|
default: unknown extends Defaults["setPage"] ? (page: number) => void : ((page: number) => void) | Defaults["setPage"];
|
|
41
42
|
};
|
|
43
|
+
paginationProps: unknown extends Defaults["paginationProps"] ? {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
} : Omit<{
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
}, "type" | "default"> & {
|
|
48
|
+
type: PropType<unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"]>;
|
|
49
|
+
default: unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"];
|
|
50
|
+
};
|
|
42
51
|
};
|
|
43
52
|
export declare const YDataTableControl: import('vue').DefineComponent<{
|
|
44
53
|
page: {
|
|
@@ -52,5 +61,8 @@ export declare const YDataTableControl: import('vue').DefineComponent<{
|
|
|
52
61
|
pageLength: PropType<number>;
|
|
53
62
|
setPageSize: PropType<(pageSize: number) => void>;
|
|
54
63
|
setPage: PropType<(page: number) => void>;
|
|
64
|
+
paginationProps: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
};
|
|
55
67
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
56
68
|
export type YDataTableControl = InstanceType<typeof YDataTableControl>;
|
|
@@ -15,7 +15,7 @@ export declare const pressYDataTableHeadProps: <Defaults extends {
|
|
|
15
15
|
} : Omit<{
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type YDataTableLayerRowDefaultSlotProps = {
|
|
4
|
+
item: any;
|
|
5
|
+
width: number | undefined;
|
|
6
|
+
height: number | undefined;
|
|
7
|
+
scrollTop: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const YDataTableLayerRow: import('vue').DefineComponent<{
|
|
10
|
+
layerProps: PropType<any>;
|
|
11
|
+
item: PropType<any>;
|
|
12
|
+
width: {
|
|
13
|
+
type: PropType<number>;
|
|
14
|
+
};
|
|
15
|
+
scrollTop: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
headRect: PropType<DOMRect>;
|
|
20
|
+
classes: PropType<(item: any) => string[] | string>;
|
|
21
|
+
styles: PropType<(item: any, originStyle: any) => any>;
|
|
22
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const YDataTableLayerRows: import('vue').DefineComponent<{
|
|
4
|
+
layerProps: PropType<any>;
|
|
5
|
+
items: PropType<any[]>;
|
|
6
|
+
classes: PropType<(item: any) => string[] | string>;
|
|
7
|
+
styles: PropType<(item: any, originStyle: any) => any>;
|
|
8
|
+
single: PropType<boolean>;
|
|
9
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -11,6 +11,8 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
11
11
|
sortDescIcon?: unknown;
|
|
12
12
|
dualSortIcon?: unknown;
|
|
13
13
|
sticky?: unknown;
|
|
14
|
+
enableExpand?: unknown;
|
|
15
|
+
expanded?: unknown;
|
|
14
16
|
enableSelect?: unknown;
|
|
15
17
|
selectStrategy?: unknown;
|
|
16
18
|
modelValue?: unknown;
|
|
@@ -37,6 +39,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
37
39
|
'onKeydown:row'?: unknown;
|
|
38
40
|
page?: unknown;
|
|
39
41
|
pageSize?: unknown;
|
|
42
|
+
paginationProps?: unknown;
|
|
40
43
|
total?: unknown;
|
|
41
44
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
42
45
|
tag: unknown extends Defaults["tag"] ? {
|
|
@@ -45,7 +48,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
45
48
|
} : Omit<{
|
|
46
49
|
type: PropType<string>;
|
|
47
50
|
default: string;
|
|
48
|
-
}, "
|
|
51
|
+
}, "type" | "default"> & {
|
|
49
52
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
50
53
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
51
54
|
};
|
|
@@ -53,7 +56,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
53
56
|
type: PropType<boolean>;
|
|
54
57
|
} : Omit<{
|
|
55
58
|
type: PropType<boolean>;
|
|
56
|
-
}, "
|
|
59
|
+
}, "type" | "default"> & {
|
|
57
60
|
type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
|
|
58
61
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
59
62
|
};
|
|
@@ -61,7 +64,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
61
64
|
type: PropType<string | number>;
|
|
62
65
|
} : Omit<{
|
|
63
66
|
type: PropType<string | number>;
|
|
64
|
-
}, "
|
|
67
|
+
}, "type" | "default"> & {
|
|
65
68
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
66
69
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
67
70
|
};
|
|
@@ -69,7 +72,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
69
72
|
type: PropType<boolean>;
|
|
70
73
|
} : Omit<{
|
|
71
74
|
type: PropType<boolean>;
|
|
72
|
-
}, "
|
|
75
|
+
}, "type" | "default"> & {
|
|
73
76
|
type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
|
|
74
77
|
default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
|
|
75
78
|
};
|
|
@@ -87,7 +90,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
87
90
|
} : Omit<{
|
|
88
91
|
type: StringConstructor;
|
|
89
92
|
default: string;
|
|
90
|
-
}, "
|
|
93
|
+
}, "type" | "default"> & {
|
|
91
94
|
type: PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
|
|
92
95
|
default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
|
|
93
96
|
};
|
|
@@ -97,7 +100,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
97
100
|
} : Omit<{
|
|
98
101
|
type: StringConstructor;
|
|
99
102
|
default: string;
|
|
100
|
-
}, "
|
|
103
|
+
}, "type" | "default"> & {
|
|
101
104
|
type: PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
|
|
102
105
|
default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
|
|
103
106
|
};
|
|
@@ -109,6 +112,20 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
109
112
|
type: PropType<unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"]>;
|
|
110
113
|
default: unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"];
|
|
111
114
|
};
|
|
115
|
+
enableExpand: unknown extends Defaults["enableExpand"] ? BooleanConstructor : {
|
|
116
|
+
type: PropType<unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"]>;
|
|
117
|
+
default: unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"];
|
|
118
|
+
};
|
|
119
|
+
expanded: unknown extends Defaults["expanded"] ? {
|
|
120
|
+
type: PropType<readonly string[]>;
|
|
121
|
+
default: () => never[];
|
|
122
|
+
} : Omit<{
|
|
123
|
+
type: PropType<readonly string[]>;
|
|
124
|
+
default: () => never[];
|
|
125
|
+
}, "type" | "default"> & {
|
|
126
|
+
type: PropType<unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"]>;
|
|
127
|
+
default: unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"];
|
|
128
|
+
};
|
|
112
129
|
enableSelect: unknown extends Defaults["enableSelect"] ? BooleanConstructor : {
|
|
113
130
|
type: PropType<unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"]>;
|
|
114
131
|
default: unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"];
|
|
@@ -119,7 +136,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
119
136
|
} : Omit<{
|
|
120
137
|
type: PropType<"page" | "all" | "single">;
|
|
121
138
|
default: string;
|
|
122
|
-
}, "
|
|
139
|
+
}, "type" | "default"> & {
|
|
123
140
|
type: PropType<unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"]>;
|
|
124
141
|
default: unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"];
|
|
125
142
|
};
|
|
@@ -129,19 +146,19 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
129
146
|
} : Omit<{
|
|
130
147
|
type: PropType<readonly any[]>;
|
|
131
148
|
default: () => never[];
|
|
132
|
-
}, "
|
|
149
|
+
}, "type" | "default"> & {
|
|
133
150
|
type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
|
|
134
151
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
135
152
|
};
|
|
136
153
|
itemComparator: unknown extends Defaults["itemComparator"] ? {
|
|
137
|
-
type: PropType<string | typeof import('../../util').deepEqual>;
|
|
138
|
-
default: () => typeof import('../../util').deepEqual;
|
|
154
|
+
type: PropType<string | typeof import('../../util/common').deepEqual>;
|
|
155
|
+
default: () => typeof import('../../util/common').deepEqual;
|
|
139
156
|
} : Omit<{
|
|
140
|
-
type: PropType<string | typeof import('../../util').deepEqual>;
|
|
141
|
-
default: () => typeof import('../../util').deepEqual;
|
|
142
|
-
}, "
|
|
143
|
-
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"]>;
|
|
144
|
-
default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"];
|
|
157
|
+
type: PropType<string | typeof import('../../util/common').deepEqual>;
|
|
158
|
+
default: () => typeof import('../../util/common').deepEqual;
|
|
159
|
+
}, "type" | "default"> & {
|
|
160
|
+
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util/common').deepEqual : NonNullable<string | typeof import('../../util/common').deepEqual> | Defaults["itemComparator"]>;
|
|
161
|
+
default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util/common').deepEqual : NonNullable<string | typeof import('../../util/common').deepEqual> | Defaults["itemComparator"];
|
|
145
162
|
};
|
|
146
163
|
sortBy: unknown extends Defaults["sortBy"] ? {
|
|
147
164
|
type: PropType<readonly {
|
|
@@ -155,7 +172,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
155
172
|
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
156
173
|
}[]>;
|
|
157
174
|
default: () => never[];
|
|
158
|
-
}, "
|
|
175
|
+
}, "type" | "default"> & {
|
|
159
176
|
type: PropType<unknown extends Defaults["sortBy"] ? readonly {
|
|
160
177
|
readonly key: string;
|
|
161
178
|
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
@@ -177,7 +194,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
177
194
|
} : Omit<{
|
|
178
195
|
type: PropType<any[]>;
|
|
179
196
|
default: () => never[];
|
|
180
|
-
}, "
|
|
197
|
+
}, "type" | "default"> & {
|
|
181
198
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
182
199
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
183
200
|
};
|
|
@@ -187,7 +204,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
187
204
|
} : Omit<{
|
|
188
205
|
type: PropType<any>;
|
|
189
206
|
default: string;
|
|
190
|
-
}, "
|
|
207
|
+
}, "type" | "default"> & {
|
|
191
208
|
type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
|
|
192
209
|
default: unknown extends Defaults["itemKey"] ? any : any;
|
|
193
210
|
};
|
|
@@ -197,7 +214,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
197
214
|
} : Omit<{
|
|
198
215
|
type: PropType<any>;
|
|
199
216
|
default: null;
|
|
200
|
-
}, "
|
|
217
|
+
}, "type" | "default"> & {
|
|
201
218
|
type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
|
|
202
219
|
default: unknown extends Defaults["itemSelectable"] ? any : any;
|
|
203
220
|
};
|
|
@@ -243,7 +260,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
243
260
|
readonly mustSort?: boolean | undefined;
|
|
244
261
|
}[]>;
|
|
245
262
|
default: () => never[];
|
|
246
|
-
}, "
|
|
263
|
+
}, "type" | "default"> & {
|
|
247
264
|
type: PropType<unknown extends Defaults["headers"] ? readonly {
|
|
248
265
|
readonly key: string;
|
|
249
266
|
readonly text: string;
|
|
@@ -341,7 +358,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
341
358
|
} : Omit<{
|
|
342
359
|
type: StringConstructor;
|
|
343
360
|
default: string;
|
|
344
|
-
}, "
|
|
361
|
+
}, "type" | "default"> & {
|
|
345
362
|
type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
|
|
346
363
|
default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
|
|
347
364
|
};
|
|
@@ -379,7 +396,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
379
396
|
} : Omit<{
|
|
380
397
|
type: PropType<string | number>;
|
|
381
398
|
default: number;
|
|
382
|
-
}, "
|
|
399
|
+
}, "type" | "default"> & {
|
|
383
400
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
384
401
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
385
402
|
};
|
|
@@ -389,17 +406,25 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
389
406
|
} : Omit<{
|
|
390
407
|
type: PropType<string | number>;
|
|
391
408
|
default: number;
|
|
392
|
-
}, "
|
|
409
|
+
}, "type" | "default"> & {
|
|
393
410
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
394
411
|
default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
|
|
395
412
|
};
|
|
413
|
+
paginationProps: unknown extends Defaults["paginationProps"] ? {
|
|
414
|
+
type: ObjectConstructor;
|
|
415
|
+
} : Omit<{
|
|
416
|
+
type: ObjectConstructor;
|
|
417
|
+
}, "type" | "default"> & {
|
|
418
|
+
type: PropType<unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"]>;
|
|
419
|
+
default: unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"];
|
|
420
|
+
};
|
|
396
421
|
total: unknown extends Defaults["total"] ? {
|
|
397
422
|
type: PropType<string | number>;
|
|
398
423
|
required: true;
|
|
399
424
|
} : Omit<{
|
|
400
425
|
type: PropType<string | number>;
|
|
401
426
|
required: true;
|
|
402
|
-
}, "
|
|
427
|
+
}, "type" | "default"> & {
|
|
403
428
|
type: PropType<unknown extends Defaults["total"] ? string | number : NonNullable<string | number> | Defaults["total"]>;
|
|
404
429
|
default: unknown extends Defaults["total"] ? string | number : NonNullable<string | number> | Defaults["total"];
|
|
405
430
|
};
|
|
@@ -430,6 +455,11 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
430
455
|
};
|
|
431
456
|
dualSortIcon: BooleanConstructor;
|
|
432
457
|
sticky: BooleanConstructor;
|
|
458
|
+
enableExpand: BooleanConstructor;
|
|
459
|
+
expanded: {
|
|
460
|
+
type: PropType<readonly string[]>;
|
|
461
|
+
default: () => never[];
|
|
462
|
+
};
|
|
433
463
|
enableSelect: BooleanConstructor;
|
|
434
464
|
selectStrategy: {
|
|
435
465
|
type: PropType<"page" | "all" | "single">;
|
|
@@ -440,8 +470,8 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
440
470
|
default: () => never[];
|
|
441
471
|
};
|
|
442
472
|
itemComparator: {
|
|
443
|
-
type: PropType<string | typeof import('../../util').deepEqual>;
|
|
444
|
-
default: () => typeof import('../../util').deepEqual;
|
|
473
|
+
type: PropType<string | typeof import('../../util/common').deepEqual>;
|
|
474
|
+
default: () => typeof import('../../util/common').deepEqual;
|
|
445
475
|
};
|
|
446
476
|
sortBy: {
|
|
447
477
|
type: PropType<readonly {
|
|
@@ -508,6 +538,9 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
508
538
|
type: PropType<string | number>;
|
|
509
539
|
default: number;
|
|
510
540
|
};
|
|
541
|
+
paginationProps: {
|
|
542
|
+
type: ObjectConstructor;
|
|
543
|
+
};
|
|
511
544
|
total: {
|
|
512
545
|
type: PropType<string | number>;
|
|
513
546
|
required: true;
|
|
@@ -518,6 +551,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
518
551
|
'update:pageSize': (pageSize: number) => true;
|
|
519
552
|
'update:sortBy': (sortBy: any) => true;
|
|
520
553
|
'update:options': (options: any) => true;
|
|
554
|
+
'update:expanded': (expanded: any[]) => true;
|
|
521
555
|
'click:row': (e: Event, value: {
|
|
522
556
|
row: any;
|
|
523
557
|
}) => true;
|
|
@@ -13,7 +13,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
13
13
|
} : Omit<{
|
|
14
14
|
type: PropType<string>;
|
|
15
15
|
default: string;
|
|
16
|
-
}, "
|
|
16
|
+
}, "type" | "default"> & {
|
|
17
17
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
18
18
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
19
19
|
};
|
|
@@ -21,7 +21,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
21
21
|
type: PropType<boolean>;
|
|
22
22
|
} : Omit<{
|
|
23
23
|
type: PropType<boolean>;
|
|
24
|
-
}, "
|
|
24
|
+
}, "type" | "default"> & {
|
|
25
25
|
type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
|
|
26
26
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
27
27
|
};
|
|
@@ -29,7 +29,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
29
29
|
type: PropType<string | number>;
|
|
30
30
|
} : Omit<{
|
|
31
31
|
type: PropType<string | number>;
|
|
32
|
-
}, "
|
|
32
|
+
}, "type" | "default"> & {
|
|
33
33
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
34
34
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
35
35
|
};
|
|
@@ -37,7 +37,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
37
37
|
type: PropType<boolean>;
|
|
38
38
|
} : Omit<{
|
|
39
39
|
type: PropType<boolean>;
|
|
40
|
-
}, "
|
|
40
|
+
}, "type" | "default"> & {
|
|
41
41
|
type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
|
|
42
42
|
default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
|
|
43
43
|
};
|