yuyeon 0.0.42-rc6 → 0.0.42-rc8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/yuyeon.js +3129 -2941
- package/dist/yuyeon.umd.cjs +6 -6
- package/lib/components/dropdown/YDropdown.mjs +11 -5
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.scss +3 -8
- package/lib/components/icon/YIcon.mjs +62 -0
- package/lib/components/icon/YIcon.mjs.map +1 -0
- package/lib/components/icon/YIcon.scss +18 -0
- package/lib/components/icon/index.mjs +2 -0
- package/lib/components/icon/index.mjs.map +1 -0
- package/lib/components/icon/poly.mjs +57 -0
- package/lib/components/icon/poly.mjs.map +1 -0
- package/lib/components/icons/index.mjs +14 -0
- package/lib/components/icons/index.mjs.map +1 -1
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +2 -0
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/active-stack.mjs.map +1 -1
- package/lib/components/menu/YMenu.mjs +16 -4
- package/lib/components/menu/YMenu.mjs.map +1 -1
- package/lib/components/select/YSelect.mjs +9 -6
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/select/YSelect.scss +3 -8
- package/lib/composables/icon.mjs +141 -0
- package/lib/composables/icon.mjs.map +1 -1
- package/lib/composables/theme/index.mjs.map +1 -1
- package/lib/index.mjs +3 -0
- package/lib/index.mjs.map +1 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.mjs +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.mjs.map +1 -1
- package/lib/util/date/built-in.mjs +6 -2
- package/lib/util/date/built-in.mjs.map +1 -1
- package/package.json +2 -2
- package/types/abstract/items.d.ts +4 -4
- package/types/components/button/YButton.d.ts +10 -10
- package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
- package/types/components/date-picker/YDateCalendar.d.ts +1 -1
- package/types/components/dialog/YDialog.d.ts +1 -0
- package/types/components/dropdown/YDropdown.d.ts +34 -13
- package/types/components/field-input/YFieldInput.d.ts +10 -10
- package/types/components/form/YForm.d.ts +1 -1
- package/types/components/icon/YIcon.d.ts +81 -0
- package/types/components/icon/index.d.ts +1 -0
- package/types/components/icons/YIconCheckbox.d.ts +2 -2
- package/types/components/icons/YIconSort.d.ts +2 -2
- package/types/components/icons/index.d.ts +48 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +7 -7
- package/types/components/layer/YLayer.d.ts +20 -19
- package/types/components/layer/active-stack.d.ts +1 -2
- package/types/components/list/YListItem.d.ts +2 -2
- package/types/components/menu/YMenu.d.ts +8 -3
- package/types/components/pagination/YPagination.d.ts +5 -5
- package/types/components/progress-bar/YProgressBar.d.ts +1 -1
- package/types/components/select/YSelect.d.ts +74 -58
- package/types/components/switch/YSwitch.d.ts +1 -1
- package/types/components/tab/YTab.d.ts +15 -15
- package/types/components/tab/YTabs.d.ts +5 -5
- package/types/components/table/YDataTable.d.ts +18 -18
- package/types/components/table/YDataTableBody.d.ts +5 -5
- package/types/components/table/YDataTableControl.d.ts +2 -2
- package/types/components/table/YDataTableHead.d.ts +2 -2
- package/types/components/table/YDataTableServer.d.ts +21 -21
- package/types/components/table/YTable.d.ts +4 -4
- package/types/components/table/composibles/header.d.ts +1 -1
- package/types/components/table/composibles/items.d.ts +3 -3
- package/types/components/table/composibles/pagination.d.ts +2 -2
- package/types/components/table/composibles/selection.d.ts +2 -2
- package/types/components/table/composibles/sorting.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +10 -10
- package/types/components/tooltip/YTooltip.d.ts +9 -8
- package/types/components/tree-view/YTreeView.d.ts +4 -4
- package/types/components/tree-view/YTreeViewNode.d.ts +9 -9
- package/types/composables/choice.d.ts +1 -1
- package/types/composables/coordinate/index.d.ts +6 -6
- package/types/composables/icon.d.ts +96 -0
- package/types/composables/list-items.d.ts +10 -10
- package/types/composables/theme/index.d.ts +2 -2
- package/types/globals.d.ts +12 -7
- package/types/shims.d.ts +88 -87
- package/types/types/index.d.ts +5 -0
- package/types/util/date/built-in.d.ts +2 -2
|
@@ -15,7 +15,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
|
|
|
15
15
|
} : Omit<{
|
|
16
16
|
type: null;
|
|
17
17
|
default: undefined;
|
|
18
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
}, {}>;
|
|
@@ -35,7 +35,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
35
35
|
} : Omit<{
|
|
36
36
|
type: PropType<string>;
|
|
37
37
|
default: string;
|
|
38
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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"] ? (
|
|
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
|
-
}, "
|
|
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: (
|
|
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: (
|
|
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
|
-
}, "
|
|
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"] ? (
|
|
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
|
-
}, "
|
|
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: (
|
|
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: (
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
};
|
|
@@ -38,7 +38,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
38
38
|
} : Omit<{
|
|
39
39
|
type: PropType<string>;
|
|
40
40
|
default: string;
|
|
41
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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"] ? (
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
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: (
|
|
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: (
|
|
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[];
|
|
@@ -11,7 +11,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
11
11
|
} : Omit<{
|
|
12
12
|
type: PropType<string>;
|
|
13
13
|
default: string;
|
|
14
|
-
}, "
|
|
14
|
+
}, "type" | "default"> & {
|
|
15
15
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
16
16
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
17
17
|
};
|
|
@@ -19,7 +19,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
19
19
|
type: PropType<boolean>;
|
|
20
20
|
} : Omit<{
|
|
21
21
|
type: PropType<boolean>;
|
|
22
|
-
}, "
|
|
22
|
+
}, "type" | "default"> & {
|
|
23
23
|
type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
|
|
24
24
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
25
25
|
};
|
|
@@ -27,7 +27,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
27
27
|
type: PropType<string | number>;
|
|
28
28
|
} : Omit<{
|
|
29
29
|
type: PropType<string | number>;
|
|
30
|
-
}, "
|
|
30
|
+
}, "type" | "default"> & {
|
|
31
31
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
32
32
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
33
33
|
};
|
|
@@ -35,7 +35,7 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
35
35
|
type: PropType<boolean>;
|
|
36
36
|
} : Omit<{
|
|
37
37
|
type: PropType<boolean>;
|
|
38
|
-
}, "
|
|
38
|
+
}, "type" | "default"> & {
|
|
39
39
|
type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
|
|
40
40
|
default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
|
|
41
41
|
};
|
|
@@ -9,7 +9,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
9
9
|
} : Omit<{
|
|
10
10
|
type: PropType<DataTableHeader[] | DataTableHeader[][]>;
|
|
11
11
|
default: () => never[];
|
|
12
|
-
}, "
|
|
12
|
+
}, "type" | "default"> & {
|
|
13
13
|
type: PropType<unknown extends Defaults["headers"] ? DataTableHeader[] | DataTableHeader[][] : NonNullable<DataTableHeader[] | DataTableHeader[][]> | Defaults["headers"]>;
|
|
14
14
|
default: unknown extends Defaults["headers"] ? DataTableHeader[] | DataTableHeader[][] : NonNullable<DataTableHeader[] | DataTableHeader[][]> | Defaults["headers"];
|
|
15
15
|
};
|
|
@@ -18,7 +18,7 @@ export declare const pressDataTableItemsProps: <Defaults extends {
|
|
|
18
18
|
} : Omit<{
|
|
19
19
|
type: PropType<any[]>;
|
|
20
20
|
default: () => never[];
|
|
21
|
-
}, "
|
|
21
|
+
}, "type" | "default"> & {
|
|
22
22
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
23
23
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
24
24
|
};
|
|
@@ -28,7 +28,7 @@ export declare const pressDataTableItemsProps: <Defaults extends {
|
|
|
28
28
|
} : Omit<{
|
|
29
29
|
type: PropType<any>;
|
|
30
30
|
default: string;
|
|
31
|
-
}, "
|
|
31
|
+
}, "type" | "default"> & {
|
|
32
32
|
type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
|
|
33
33
|
default: unknown extends Defaults["itemKey"] ? any : any;
|
|
34
34
|
};
|
|
@@ -38,7 +38,7 @@ export declare const pressDataTableItemsProps: <Defaults extends {
|
|
|
38
38
|
} : Omit<{
|
|
39
39
|
type: PropType<any>;
|
|
40
40
|
default: null;
|
|
41
|
-
}, "
|
|
41
|
+
}, "type" | "default"> & {
|
|
42
42
|
type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
|
|
43
43
|
default: unknown extends Defaults["itemSelectable"] ? any : any;
|
|
44
44
|
};
|
|
@@ -22,7 +22,7 @@ export declare const pressDataTablePaginationProps: <Defaults extends {
|
|
|
22
22
|
} : Omit<{
|
|
23
23
|
type: PropType<string | number>;
|
|
24
24
|
default: number;
|
|
25
|
-
}, "
|
|
25
|
+
}, "type" | "default"> & {
|
|
26
26
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
27
27
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
28
28
|
};
|
|
@@ -32,7 +32,7 @@ export declare const pressDataTablePaginationProps: <Defaults extends {
|
|
|
32
32
|
} : Omit<{
|
|
33
33
|
type: PropType<string | number>;
|
|
34
34
|
default: number;
|
|
35
|
-
}, "
|
|
35
|
+
}, "type" | "default"> & {
|
|
36
36
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
37
37
|
default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
|
|
38
38
|
};
|
|
@@ -38,7 +38,7 @@ export declare const pressDataTableSelectionProps: <Defaults extends {
|
|
|
38
38
|
} : Omit<{
|
|
39
39
|
type: PropType<"page" | "all" | "single">;
|
|
40
40
|
default: string;
|
|
41
|
-
}, "
|
|
41
|
+
}, "type" | "default"> & {
|
|
42
42
|
type: PropType<unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"]>;
|
|
43
43
|
default: unknown extends Defaults["selectStrategy"] ? "page" | "all" | "single" : NonNullable<"page" | "all" | "single"> | Defaults["selectStrategy"];
|
|
44
44
|
};
|
|
@@ -48,7 +48,7 @@ export declare const pressDataTableSelectionProps: <Defaults extends {
|
|
|
48
48
|
} : Omit<{
|
|
49
49
|
type: PropType<readonly any[]>;
|
|
50
50
|
default: () => never[];
|
|
51
|
-
}, "
|
|
51
|
+
}, "type" | "default"> & {
|
|
52
52
|
type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
|
|
53
53
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
54
54
|
};
|
|
@@ -10,7 +10,7 @@ export declare const pressDataTableSortProps: <Defaults extends {
|
|
|
10
10
|
} : Omit<{
|
|
11
11
|
type: PropType<readonly SortOption[]>;
|
|
12
12
|
default: () => never[];
|
|
13
|
-
}, "
|
|
13
|
+
}, "type" | "default"> & {
|
|
14
14
|
type: PropType<unknown extends Defaults["sortBy"] ? readonly SortOption[] : readonly SortOption[] | Defaults["sortBy"]>;
|
|
15
15
|
default: unknown extends Defaults["sortBy"] ? readonly SortOption[] : readonly SortOption[] | Defaults["sortBy"];
|
|
16
16
|
};
|