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
|
@@ -7,7 +7,7 @@ export declare const YIconCheckbox: import("vue").DefineComponent<{
|
|
|
7
7
|
indeterminate: BooleanConstructor;
|
|
8
8
|
disabled: BooleanConstructor;
|
|
9
9
|
}>>, {
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
indeterminate: boolean;
|
|
12
10
|
checked: boolean;
|
|
11
|
+
indeterminate: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
13
|
}, {}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
export declare const YIconSort: import("vue").DefineComponent<{
|
|
3
3
|
direction: {
|
|
4
|
-
type: PropType<"
|
|
4
|
+
type: PropType<"asc" | "desc">;
|
|
5
5
|
};
|
|
6
6
|
disabled: {
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
};
|
|
9
9
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
10
|
direction: {
|
|
11
|
-
type: PropType<"
|
|
11
|
+
type: PropType<"asc" | "desc">;
|
|
12
12
|
};
|
|
13
13
|
disabled: {
|
|
14
14
|
type: BooleanConstructor;
|
|
@@ -3,3 +3,51 @@ export * from './YIconClear';
|
|
|
3
3
|
export * from './YIconCheckbox';
|
|
4
4
|
export * from './YIconPageControl';
|
|
5
5
|
export * from './YIconSort';
|
|
6
|
+
export declare const builtSet: {
|
|
7
|
+
expand: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
8
|
+
dropdown: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
clear: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
10
|
+
checkbox: import("vue").DefineComponent<{
|
|
11
|
+
checked: BooleanConstructor;
|
|
12
|
+
indeterminate: BooleanConstructor;
|
|
13
|
+
disabled: BooleanConstructor;
|
|
14
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
checked: BooleanConstructor;
|
|
16
|
+
indeterminate: BooleanConstructor;
|
|
17
|
+
disabled: BooleanConstructor;
|
|
18
|
+
}>>, {
|
|
19
|
+
checked: boolean;
|
|
20
|
+
indeterminate: boolean;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}, {}>;
|
|
23
|
+
pageControl: import("vue").DefineComponent<{
|
|
24
|
+
type: {
|
|
25
|
+
type: import("vue").PropType<"next" | "prev" | "first" | "last">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
type: {
|
|
30
|
+
type: import("vue").PropType<"next" | "prev" | "first" | "last">;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
type: "next" | "prev" | "first" | "last";
|
|
35
|
+
}, {}>;
|
|
36
|
+
sort: import("vue").DefineComponent<{
|
|
37
|
+
direction: {
|
|
38
|
+
type: import("vue").PropType<"asc" | "desc">;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
direction: {
|
|
45
|
+
type: import("vue").PropType<"asc" | "desc">;
|
|
46
|
+
};
|
|
47
|
+
disabled: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
};
|
|
50
|
+
}>>, {
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
}, {}>;
|
|
53
|
+
};
|
|
@@ -39,7 +39,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
39
39
|
type: PropType<string | number>;
|
|
40
40
|
} : Omit<{
|
|
41
41
|
type: PropType<string | number>;
|
|
42
|
-
}, "
|
|
42
|
+
}, "type" | "default"> & {
|
|
43
43
|
type: PropType<unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"]>;
|
|
44
44
|
default: unknown extends Defaults["width"] ? string | number : NonNullable<string | number> | Defaults["width"];
|
|
45
45
|
};
|
|
@@ -53,7 +53,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
53
53
|
} : Omit<{
|
|
54
54
|
type: PropType<string>;
|
|
55
55
|
default: string;
|
|
56
|
-
}, "
|
|
56
|
+
}, "type" | "default"> & {
|
|
57
57
|
type: PropType<unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"]>;
|
|
58
58
|
default: unknown extends Defaults["displayTag"] ? string : string | Defaults["displayTag"];
|
|
59
59
|
};
|
|
@@ -65,7 +65,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
65
65
|
type: PropType<any>;
|
|
66
66
|
} : Omit<{
|
|
67
67
|
type: PropType<any>;
|
|
68
|
-
}, "
|
|
68
|
+
}, "type" | "default"> & {
|
|
69
69
|
type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
|
|
70
70
|
default: unknown extends Defaults["modelValue"] ? any : any;
|
|
71
71
|
};
|
|
@@ -75,7 +75,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
75
75
|
} : Omit<{
|
|
76
76
|
type: PropType<boolean>;
|
|
77
77
|
default: boolean;
|
|
78
|
-
}, "
|
|
78
|
+
}, "type" | "default"> & {
|
|
79
79
|
type: PropType<unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"]>;
|
|
80
80
|
default: unknown extends Defaults["autoSelect"] ? boolean : boolean | Defaults["autoSelect"];
|
|
81
81
|
};
|
|
@@ -85,7 +85,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
85
85
|
} : Omit<{
|
|
86
86
|
type: PropType<boolean>;
|
|
87
87
|
default: boolean;
|
|
88
|
-
}, "
|
|
88
|
+
}, "type" | "default"> & {
|
|
89
89
|
type: PropType<unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"]>;
|
|
90
90
|
default: unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"];
|
|
91
91
|
};
|
|
@@ -95,7 +95,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
95
95
|
} : Omit<{
|
|
96
96
|
type: PropType<boolean>;
|
|
97
97
|
default: () => false;
|
|
98
|
-
}, "
|
|
98
|
+
}, "type" | "default"> & {
|
|
99
99
|
type: PropType<unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"]>;
|
|
100
100
|
default: unknown extends Defaults["floated"] ? boolean : boolean | Defaults["floated"];
|
|
101
101
|
};
|
|
@@ -141,7 +141,7 @@ export declare const pressYInputPropsOptions: <Defaults extends {
|
|
|
141
141
|
} : Omit<{
|
|
142
142
|
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
143
143
|
validator(value: string): boolean;
|
|
144
|
-
}, "
|
|
144
|
+
}, "type" | "default"> & {
|
|
145
145
|
type: PropType<unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : NonNullable<"success" | "warning" | "error" | undefined> | Defaults["status"]>;
|
|
146
146
|
default: unknown extends Defaults["status"] ? "success" | "warning" | "error" | undefined : NonNullable<"success" | "warning" | "error" | undefined> | Defaults["status"];
|
|
147
147
|
};
|
|
@@ -57,7 +57,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
57
57
|
} : Omit<{
|
|
58
58
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
59
59
|
default: string;
|
|
60
|
-
}, "
|
|
60
|
+
}, "type" | "default"> & {
|
|
61
61
|
type: PropType<unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn> | Defaults["coordinateStrategy"]>;
|
|
62
62
|
default: unknown extends Defaults["coordinateStrategy"] ? "levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn : NonNullable<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn> | Defaults["coordinateStrategy"];
|
|
63
63
|
};
|
|
@@ -67,7 +67,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
67
67
|
} : Omit<{
|
|
68
68
|
type: PropType<"default" | "top" | "end" | "right" | "bottom" | "left" | "start">;
|
|
69
69
|
default: string;
|
|
70
|
-
}, "
|
|
70
|
+
}, "type" | "default"> & {
|
|
71
71
|
type: PropType<unknown extends Defaults["position"] ? "default" | "top" | "end" | "right" | "bottom" | "left" | "start" : NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> | Defaults["position"]>;
|
|
72
72
|
default: unknown extends Defaults["position"] ? "default" | "top" | "end" | "right" | "bottom" | "left" | "start" : NonNullable<"default" | "top" | "end" | "right" | "bottom" | "left" | "start"> | Defaults["position"];
|
|
73
73
|
};
|
|
@@ -77,7 +77,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
77
77
|
} : Omit<{
|
|
78
78
|
type: PropType<"end" | "start" | "center">;
|
|
79
79
|
default: string;
|
|
80
|
-
}, "
|
|
80
|
+
}, "type" | "default"> & {
|
|
81
81
|
type: PropType<unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"]>;
|
|
82
82
|
default: unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"];
|
|
83
83
|
};
|
|
@@ -87,7 +87,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
87
87
|
} : Omit<{
|
|
88
88
|
type: StringConstructor;
|
|
89
89
|
default: string;
|
|
90
|
-
}, "
|
|
90
|
+
}, "type" | "default"> & {
|
|
91
91
|
type: PropType<unknown extends Defaults["origin"] ? string : string | Defaults["origin"]>;
|
|
92
92
|
default: unknown extends Defaults["origin"] ? string : string | Defaults["origin"];
|
|
93
93
|
};
|
|
@@ -95,7 +95,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
95
95
|
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
96
96
|
} : Omit<{
|
|
97
97
|
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
98
|
-
}, "
|
|
98
|
+
}, "type" | "default"> & {
|
|
99
99
|
type: PropType<unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"]>;
|
|
100
100
|
default: unknown extends Defaults["offset"] ? string | number | unknown[] : NonNullable<string | number | unknown[]> | Defaults["offset"];
|
|
101
101
|
};
|
|
@@ -105,7 +105,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
105
105
|
} : Omit<{
|
|
106
106
|
type: NumberConstructor;
|
|
107
107
|
default: number;
|
|
108
|
-
}, "
|
|
108
|
+
}, "type" | "default"> & {
|
|
109
109
|
type: PropType<unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"]>;
|
|
110
110
|
default: unknown extends Defaults["viewportMargin"] ? number : number | Defaults["viewportMargin"];
|
|
111
111
|
};
|
|
@@ -119,7 +119,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
119
119
|
is?: import("vue").Component | undefined;
|
|
120
120
|
})>;
|
|
121
121
|
default: string;
|
|
122
|
-
}, "
|
|
122
|
+
}, "type" | "default"> & {
|
|
123
123
|
type: PropType<unknown extends Defaults["transition"] ? string | (import("vue").TransitionProps & {
|
|
124
124
|
is?: import("vue").Component | undefined;
|
|
125
125
|
}) : Defaults["transition"] | NonNullable<string | (import("vue").TransitionProps & {
|
|
@@ -139,7 +139,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
139
139
|
type: PropType<boolean>;
|
|
140
140
|
} : Omit<{
|
|
141
141
|
type: PropType<boolean>;
|
|
142
|
-
}, "
|
|
142
|
+
}, "type" | "default"> & {
|
|
143
143
|
type: PropType<unknown extends Defaults["modelValue"] ? boolean : boolean | Defaults["modelValue"]>;
|
|
144
144
|
default: unknown extends Defaults["modelValue"] ? boolean : boolean | Defaults["modelValue"];
|
|
145
145
|
};
|
|
@@ -147,7 +147,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
147
147
|
type: PropType<boolean>;
|
|
148
148
|
} : Omit<{
|
|
149
149
|
type: PropType<boolean>;
|
|
150
|
-
}, "
|
|
150
|
+
}, "type" | "default"> & {
|
|
151
151
|
type: PropType<unknown extends Defaults["scrim"] ? boolean : boolean | Defaults["scrim"]>;
|
|
152
152
|
default: unknown extends Defaults["scrim"] ? boolean : boolean | Defaults["scrim"];
|
|
153
153
|
};
|
|
@@ -155,7 +155,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
155
155
|
type: PropType<number>;
|
|
156
156
|
} : Omit<{
|
|
157
157
|
type: PropType<number>;
|
|
158
|
-
}, "
|
|
158
|
+
}, "type" | "default"> & {
|
|
159
159
|
type: PropType<unknown extends Defaults["scrimOpacity"] ? number : number | Defaults["scrimOpacity"]>;
|
|
160
160
|
default: unknown extends Defaults["scrimOpacity"] ? number : number | Defaults["scrimOpacity"];
|
|
161
161
|
};
|
|
@@ -163,7 +163,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
163
163
|
type: PropType<boolean>;
|
|
164
164
|
} : Omit<{
|
|
165
165
|
type: PropType<boolean>;
|
|
166
|
-
}, "
|
|
166
|
+
}, "type" | "default"> & {
|
|
167
167
|
type: PropType<unknown extends Defaults["eager"] ? boolean : boolean | Defaults["eager"]>;
|
|
168
168
|
default: unknown extends Defaults["eager"] ? boolean : boolean | Defaults["eager"];
|
|
169
169
|
};
|
|
@@ -171,7 +171,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
171
171
|
type: PropType<string | string[] | Record<string, any>>;
|
|
172
172
|
} : Omit<{
|
|
173
173
|
type: PropType<string | string[] | Record<string, any>>;
|
|
174
|
-
}, "
|
|
174
|
+
}, "type" | "default"> & {
|
|
175
175
|
type: PropType<unknown extends Defaults["classes"] ? string | string[] | Record<string, any> : Defaults["classes"] | NonNullable<string | string[] | Record<string, any>>>;
|
|
176
176
|
default: unknown extends Defaults["classes"] ? string | string[] | Record<string, any> : Defaults["classes"] | NonNullable<string | string[] | Record<string, any>>;
|
|
177
177
|
};
|
|
@@ -179,7 +179,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
179
179
|
type: PropType<string | string[] | Record<string, any>>;
|
|
180
180
|
} : Omit<{
|
|
181
181
|
type: PropType<string | string[] | Record<string, any>>;
|
|
182
|
-
}, "
|
|
182
|
+
}, "type" | "default"> & {
|
|
183
183
|
type: PropType<unknown extends Defaults["contentClasses"] ? string | string[] | Record<string, any> : NonNullable<string | string[] | Record<string, any>> | Defaults["contentClasses"]>;
|
|
184
184
|
default: unknown extends Defaults["contentClasses"] ? string | string[] | Record<string, any> : NonNullable<string | string[] | Record<string, any>> | Defaults["contentClasses"];
|
|
185
185
|
};
|
|
@@ -187,7 +187,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
187
187
|
type: PropType<boolean>;
|
|
188
188
|
} : Omit<{
|
|
189
189
|
type: PropType<boolean>;
|
|
190
|
-
}, "
|
|
190
|
+
}, "type" | "default"> & {
|
|
191
191
|
type: PropType<unknown extends Defaults["closeClickScrim"] ? boolean : boolean | Defaults["closeClickScrim"]>;
|
|
192
192
|
default: unknown extends Defaults["closeClickScrim"] ? boolean : boolean | Defaults["closeClickScrim"];
|
|
193
193
|
};
|
|
@@ -197,7 +197,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
197
197
|
} : Omit<{
|
|
198
198
|
type: PropType<CSSProperties>;
|
|
199
199
|
default: () => void;
|
|
200
|
-
}, "
|
|
200
|
+
}, "type" | "default"> & {
|
|
201
201
|
type: PropType<unknown extends Defaults["contentStyles"] ? CSSProperties : CSSProperties | Defaults["contentStyles"]>;
|
|
202
202
|
default: unknown extends Defaults["contentStyles"] ? CSSProperties : CSSProperties | Defaults["contentStyles"];
|
|
203
203
|
};
|
|
@@ -207,7 +207,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
207
207
|
} : Omit<{
|
|
208
208
|
type: PropType<boolean>;
|
|
209
209
|
default: boolean;
|
|
210
|
-
}, "
|
|
210
|
+
}, "type" | "default"> & {
|
|
211
211
|
type: PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
|
|
212
212
|
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
213
213
|
};
|
|
@@ -217,7 +217,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
217
217
|
} : Omit<{
|
|
218
218
|
type: PropType<boolean>;
|
|
219
219
|
default: boolean;
|
|
220
|
-
}, "
|
|
220
|
+
}, "type" | "default"> & {
|
|
221
221
|
type: PropType<unknown extends Defaults["openOnHover"] ? boolean : boolean | Defaults["openOnHover"]>;
|
|
222
222
|
default: unknown extends Defaults["openOnHover"] ? boolean : boolean | Defaults["openOnHover"];
|
|
223
223
|
};
|
|
@@ -227,7 +227,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
227
227
|
} : Omit<{
|
|
228
228
|
type: PropType<number>;
|
|
229
229
|
default: number;
|
|
230
|
-
}, "
|
|
230
|
+
}, "type" | "default"> & {
|
|
231
231
|
type: PropType<unknown extends Defaults["openDelay"] ? number : number | Defaults["openDelay"]>;
|
|
232
232
|
default: unknown extends Defaults["openDelay"] ? number : number | Defaults["openDelay"];
|
|
233
233
|
};
|
|
@@ -237,7 +237,7 @@ export declare const pressYLayerProps: <Defaults extends {
|
|
|
237
237
|
} : Omit<{
|
|
238
238
|
type: PropType<number>;
|
|
239
239
|
default: number;
|
|
240
|
-
}, "
|
|
240
|
+
}, "type" | "default"> & {
|
|
241
241
|
type: PropType<unknown extends Defaults["closeDelay"] ? number : number | Defaults["closeDelay"]>;
|
|
242
242
|
default: unknown extends Defaults["closeDelay"] ? number : number | Defaults["closeDelay"];
|
|
243
243
|
};
|
|
@@ -329,6 +329,7 @@ export declare const YLayer: import("vue").DefineComponent<{
|
|
|
329
329
|
};
|
|
330
330
|
layerGroup: import("vue").ComputedRef<HTMLElement>;
|
|
331
331
|
active: import("vue").WritableComputedRef<boolean>;
|
|
332
|
+
finish: import("vue").ShallowRef<boolean>;
|
|
332
333
|
rendered: import("vue").ComputedRef<boolean>;
|
|
333
334
|
lazyValue: import("vue").ComputedRef<any>;
|
|
334
335
|
onAfterUpdate: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
2
|
import { YLayer } from './YLayer';
|
|
3
|
-
interface ActiveStackProvide {
|
|
3
|
+
export interface ActiveStackProvide {
|
|
4
4
|
push: (instance: any) => void;
|
|
5
5
|
pop: (instance?: any) => void;
|
|
6
6
|
clear: () => void;
|
|
@@ -13,4 +13,3 @@ export declare function useActiveStack($el: Ref<typeof YLayer | undefined>, acti
|
|
|
13
13
|
parent: ActiveStackProvide | null;
|
|
14
14
|
children: import("vue").ShallowRef<any[]>;
|
|
15
15
|
};
|
|
16
|
-
export {};
|
|
@@ -14,7 +14,7 @@ export declare const pressYListItemProps: <Defaults extends {
|
|
|
14
14
|
} : Omit<{
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
default: string;
|
|
17
|
-
}, "
|
|
17
|
+
}, "type" | "default"> & {
|
|
18
18
|
type: import("vue").PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
19
19
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
20
20
|
};
|
|
@@ -48,7 +48,7 @@ export declare const YListItem: import("vue").DefineComponent<{
|
|
|
48
48
|
}>> & {
|
|
49
49
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
disabled: boolean;
|
|
52
51
|
tag: string;
|
|
52
|
+
disabled: boolean;
|
|
53
53
|
}, {}>;
|
|
54
54
|
export type YListItem = InstanceType<typeof YListItem>;
|
|
@@ -10,7 +10,7 @@ export declare const YMenuPropOptions: {
|
|
|
10
10
|
coordinateStrategy: Omit<{
|
|
11
11
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
12
12
|
default: string;
|
|
13
|
-
}, "
|
|
13
|
+
}, "type" | "default"> & {
|
|
14
14
|
type: PropType<string | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
15
15
|
default: string | import("../../composables/coordinate").CoordinateStrategyFn;
|
|
16
16
|
};
|
|
@@ -117,7 +117,7 @@ export declare const YMenu: import("vue").DefineComponent<{
|
|
|
117
117
|
coordinateStrategy: Omit<{
|
|
118
118
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
119
119
|
default: string;
|
|
120
|
-
}, "
|
|
120
|
+
}, "type" | "default"> & {
|
|
121
121
|
type: PropType<string | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
122
122
|
default: string | import("../../composables/coordinate").CoordinateStrategyFn;
|
|
123
123
|
};
|
|
@@ -285,6 +285,7 @@ export declare const YMenu: import("vue").DefineComponent<{
|
|
|
285
285
|
};
|
|
286
286
|
layerGroup: import("vue").ComputedRef<HTMLElement>;
|
|
287
287
|
active: import("vue").WritableComputedRef<boolean>;
|
|
288
|
+
finish: import("vue").ShallowRef<boolean>;
|
|
288
289
|
rendered: import("vue").ComputedRef<boolean>;
|
|
289
290
|
lazyValue: import("vue").ComputedRef<any>;
|
|
290
291
|
onAfterUpdate: () => void;
|
|
@@ -1968,6 +1969,10 @@ export declare const YMenu: import("vue").DefineComponent<{
|
|
|
1968
1969
|
classes: import("vue").ComputedRef<{
|
|
1969
1970
|
'y-menu': boolean;
|
|
1970
1971
|
}>;
|
|
1972
|
+
children: import("vue").ShallowRef<any[]>;
|
|
1973
|
+
parent: import("../layer/active-stack").ActiveStackProvide | null;
|
|
1974
|
+
active: import("vue").WritableComputedRef<boolean>;
|
|
1975
|
+
hovered: import("vue").ComputedRef<boolean>;
|
|
1971
1976
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "afterLeave")[], "update:modelValue" | "afterLeave", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1972
1977
|
transition: {
|
|
1973
1978
|
default: string;
|
|
@@ -1985,7 +1990,7 @@ export declare const YMenu: import("vue").DefineComponent<{
|
|
|
1985
1990
|
coordinateStrategy: Omit<{
|
|
1986
1991
|
type: PropType<"levitation" | "arrangement" | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
1987
1992
|
default: string;
|
|
1988
|
-
}, "
|
|
1993
|
+
}, "type" | "default"> & {
|
|
1989
1994
|
type: PropType<string | import("../../composables/coordinate").CoordinateStrategyFn>;
|
|
1990
1995
|
default: string | import("../../composables/coordinate").CoordinateStrategyFn;
|
|
1991
1996
|
};
|
|
@@ -18,7 +18,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
18
18
|
} : Omit<{
|
|
19
19
|
type: (StringConstructor | NumberConstructor)[];
|
|
20
20
|
default: number;
|
|
21
|
-
}, "
|
|
21
|
+
}, "type" | "default"> & {
|
|
22
22
|
type: PropType<unknown extends Defaults["start"] ? string | number : NonNullable<string | number> | Defaults["start"]>;
|
|
23
23
|
default: unknown extends Defaults["start"] ? string | number : NonNullable<string | number> | Defaults["start"];
|
|
24
24
|
};
|
|
@@ -28,7 +28,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
28
28
|
} : Omit<{
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: (props: any) => number;
|
|
31
|
-
}, "
|
|
31
|
+
}, "type" | "default"> & {
|
|
32
32
|
type: PropType<unknown extends Defaults["modelValue"] ? number : number | Defaults["modelValue"]>;
|
|
33
33
|
default: unknown extends Defaults["modelValue"] ? number : number | Defaults["modelValue"];
|
|
34
34
|
};
|
|
@@ -44,7 +44,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
44
44
|
type: (StringConstructor | NumberConstructor)[];
|
|
45
45
|
default: number;
|
|
46
46
|
validator: (val: number) => boolean;
|
|
47
|
-
}, "
|
|
47
|
+
}, "type" | "default"> & {
|
|
48
48
|
type: PropType<unknown extends Defaults["length"] ? string | number : NonNullable<string | number> | Defaults["length"]>;
|
|
49
49
|
default: unknown extends Defaults["length"] ? string | number : NonNullable<string | number> | Defaults["length"];
|
|
50
50
|
};
|
|
@@ -62,7 +62,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
62
62
|
} : Omit<{
|
|
63
63
|
type: (StringConstructor | NumberConstructor)[];
|
|
64
64
|
default: number;
|
|
65
|
-
}, "
|
|
65
|
+
}, "type" | "default"> & {
|
|
66
66
|
type: PropType<unknown extends Defaults["gap"] ? string | number : NonNullable<string | number> | Defaults["gap"]>;
|
|
67
67
|
default: unknown extends Defaults["gap"] ? string | number : NonNullable<string | number> | Defaults["gap"];
|
|
68
68
|
};
|
|
@@ -84,7 +84,7 @@ export declare const pressYPaginationProps: <Defaults extends {
|
|
|
84
84
|
} : Omit<{
|
|
85
85
|
type: PropType<"end" | "start" | "center">;
|
|
86
86
|
default: string;
|
|
87
|
-
}, "
|
|
87
|
+
}, "type" | "default"> & {
|
|
88
88
|
type: PropType<unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"]>;
|
|
89
89
|
default: unknown extends Defaults["align"] ? "end" | "start" | "center" : NonNullable<"end" | "start" | "center"> | Defaults["align"];
|
|
90
90
|
};
|