@cyberpunk-vue/components 1.13.12 → 1.13.14
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/button/index.d.ts +3 -3
- package/dist/button/src/button.vue.d.ts +1 -1
- package/dist/date-picker/index.d.ts +5 -5
- package/dist/date-picker/src/base-picker.vue.d.ts +2 -2
- package/dist/date-picker/src/date-picker-select.vue.d.ts +2 -2
- package/dist/date-time-picker/index.d.ts +5 -5
- package/dist/date-time-picker/src/date-time-picker.vue.d.ts +2 -2
- package/dist/dialog/index.d.ts +23 -8
- package/dist/dialog/src/dialog.d.ts +9 -1
- package/dist/dialog/src/dialog.vue.d.ts +12 -3
- package/dist/dropdown/index.d.ts +35 -5
- package/dist/dropdown/src/dropdown.d.ts +8 -0
- package/dist/image/index.d.ts +3 -3
- package/dist/image/src/image.vue.d.ts +1 -1
- package/dist/image-preview/index.d.ts +26 -11
- package/dist/image-preview/src/image-preview.d.ts +9 -1
- package/dist/image-preview/src/image-preview.vue.d.ts +13 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4335 -4247
- package/dist/input/index.d.ts +10 -10
- package/dist/input/src/input.vue.d.ts +4 -4
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/src/input-number.vue.d.ts +2 -2
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/src/menu.vue.d.ts +2 -2
- package/dist/menu-nav/index.d.ts +2 -2
- package/dist/menu-nav/src/menu-nav.vue.d.ts +2 -2
- package/dist/notification/index.d.ts +11 -11
- package/dist/notification/src/notification.vue.d.ts +4 -4
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/src/popover.vue.d.ts +2 -2
- package/dist/select/index.d.ts +35 -5
- package/dist/select/src/select.d.ts +16 -0
- package/dist/select/src/select.vue.d.ts +20 -2
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/src/slider.vue.d.ts +2 -2
- package/dist/textarea/index.d.ts +4 -4
- package/dist/textarea/src/textarea.vue.d.ts +4 -4
- package/dist/time-picker/index.d.ts +5 -5
- package/dist/time-picker/src/time-picker.vue.d.ts +2 -2
- package/dist/tree/index.d.ts +3 -3
- package/dist/tree/src/tree.vue.d.ts +1 -1
- package/dist/upload/index.d.ts +13 -13
- package/dist/upload/src/upload.vue.d.ts +5 -5
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/overlay-stack.d.ts +13 -0
- package/package.json +4 -4
package/dist/input/index.d.ts
CHANGED
|
@@ -92,22 +92,22 @@ export declare const CpInput: import('../utils').SFCWithInstall<{
|
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{
|
|
94
94
|
onClear?: (() => any) | undefined;
|
|
95
|
-
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
96
95
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
97
96
|
onChange?: ((value: string | number) => any) | undefined;
|
|
98
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
99
97
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
98
|
+
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
99
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
100
100
|
}>, {
|
|
101
101
|
focus: () => void | undefined;
|
|
102
102
|
blur: () => void | undefined;
|
|
103
103
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
104
104
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
105
105
|
clear: () => void;
|
|
106
|
-
input: (value: string | number, event: Event) => void;
|
|
107
106
|
blur: (event: FocusEvent) => void;
|
|
108
107
|
change: (value: string | number) => void;
|
|
109
|
-
"update:modelValue": (value: string | number) => void;
|
|
110
108
|
focus: (event: FocusEvent) => void;
|
|
109
|
+
input: (value: string | number, event: Event) => void;
|
|
110
|
+
"update:modelValue": (value: string | number) => void;
|
|
111
111
|
}, import('vue').PublicProps, {
|
|
112
112
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
113
113
|
readonly type: import('.').InputType;
|
|
@@ -211,11 +211,11 @@ export declare const CpInput: import('../utils').SFCWithInstall<{
|
|
|
211
211
|
};
|
|
212
212
|
}>> & Readonly<{
|
|
213
213
|
onClear?: (() => any) | undefined;
|
|
214
|
-
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
215
214
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
216
215
|
onChange?: ((value: string | number) => any) | undefined;
|
|
217
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
218
216
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
217
|
+
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
218
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
219
219
|
}>, {
|
|
220
220
|
focus: () => void | undefined;
|
|
221
221
|
blur: () => void | undefined;
|
|
@@ -318,22 +318,22 @@ export declare const CpInput: import('../utils').SFCWithInstall<{
|
|
|
318
318
|
};
|
|
319
319
|
}>> & Readonly<{
|
|
320
320
|
onClear?: (() => any) | undefined;
|
|
321
|
-
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
322
321
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
323
322
|
onChange?: ((value: string | number) => any) | undefined;
|
|
324
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
325
323
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
324
|
+
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
325
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
326
326
|
}>, {
|
|
327
327
|
focus: () => void | undefined;
|
|
328
328
|
blur: () => void | undefined;
|
|
329
329
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
330
330
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
331
331
|
clear: () => void;
|
|
332
|
-
input: (value: string | number, event: Event) => void;
|
|
333
332
|
blur: (event: FocusEvent) => void;
|
|
334
333
|
change: (value: string | number) => void;
|
|
335
|
-
"update:modelValue": (value: string | number) => void;
|
|
336
334
|
focus: (event: FocusEvent) => void;
|
|
335
|
+
input: (value: string | number, event: Event) => void;
|
|
336
|
+
"update:modelValue": (value: string | number) => void;
|
|
337
337
|
}, string, {
|
|
338
338
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
339
339
|
readonly type: import('.').InputType;
|
|
@@ -89,11 +89,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
89
89
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
90
90
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
91
|
clear: () => void;
|
|
92
|
-
input: (value: string | number, event: Event) => void;
|
|
93
92
|
blur: (event: FocusEvent) => void;
|
|
94
93
|
change: (value: string | number) => void;
|
|
95
|
-
"update:modelValue": (value: string | number) => void;
|
|
96
94
|
focus: (event: FocusEvent) => void;
|
|
95
|
+
input: (value: string | number, event: Event) => void;
|
|
96
|
+
"update:modelValue": (value: string | number) => void;
|
|
97
97
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
98
98
|
readonly modelValue: {
|
|
99
99
|
readonly type: import('vue').PropType<string | number>;
|
|
@@ -169,11 +169,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
169
169
|
};
|
|
170
170
|
}>> & Readonly<{
|
|
171
171
|
onClear?: (() => any) | undefined;
|
|
172
|
-
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
173
172
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
174
173
|
onChange?: ((value: string | number) => any) | undefined;
|
|
175
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
176
174
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
175
|
+
onInput?: ((value: string | number, event: Event) => any) | undefined;
|
|
176
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
177
177
|
}>, {
|
|
178
178
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
179
179
|
readonly type: import('./input').InputType;
|
|
@@ -54,8 +54,8 @@ export declare const CpInputNumber: import('../utils').SFCWithInstall<import('vu
|
|
|
54
54
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
55
|
blur: (event: FocusEvent) => void;
|
|
56
56
|
change: (value: number, oldValue: number) => void;
|
|
57
|
-
"update:modelValue": (value: number) => void;
|
|
58
57
|
focus: (event: FocusEvent) => void;
|
|
58
|
+
"update:modelValue": (value: number) => void;
|
|
59
59
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
60
60
|
readonly modelValue: {
|
|
61
61
|
readonly type: NumberConstructor;
|
|
@@ -108,8 +108,8 @@ export declare const CpInputNumber: import('../utils').SFCWithInstall<import('vu
|
|
|
108
108
|
}>> & Readonly<{
|
|
109
109
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
110
110
|
onChange?: ((value: number, oldValue: number) => any) | undefined;
|
|
111
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
112
111
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
112
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
115
115
|
readonly color: string;
|
|
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
54
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
55
|
blur: (event: FocusEvent) => void;
|
|
56
56
|
change: (value: number, oldValue: number) => void;
|
|
57
|
-
"update:modelValue": (value: number) => void;
|
|
58
57
|
focus: (event: FocusEvent) => void;
|
|
58
|
+
"update:modelValue": (value: number) => void;
|
|
59
59
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
60
60
|
readonly modelValue: {
|
|
61
61
|
readonly type: NumberConstructor;
|
|
@@ -108,8 +108,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
108
108
|
}>> & Readonly<{
|
|
109
109
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
110
110
|
onChange?: ((value: number, oldValue: number) => any) | undefined;
|
|
111
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
112
111
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
112
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
115
115
|
readonly color: string;
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -60,12 +60,12 @@ export declare const CpMenu: import('../utils').SFCWithInstall<{
|
|
|
60
60
|
readonly default: false;
|
|
61
61
|
};
|
|
62
62
|
}>> & Readonly<{
|
|
63
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
64
63
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
64
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
65
65
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
66
66
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
-
select: (index: string, indexPath: string[]) => void;
|
|
68
67
|
close: (index: string, indexPath: string[]) => void;
|
|
68
|
+
select: (index: string, indexPath: string[]) => void;
|
|
69
69
|
open: (index: string, indexPath: string[]) => void;
|
|
70
70
|
}, import('vue').PublicProps, {
|
|
71
71
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -132,8 +132,8 @@ export declare const CpMenu: import('../utils').SFCWithInstall<{
|
|
|
132
132
|
readonly default: false;
|
|
133
133
|
};
|
|
134
134
|
}>> & Readonly<{
|
|
135
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
136
135
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
136
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
137
137
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
138
138
|
}>, {}, {}, {}, {}, {
|
|
139
139
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -197,12 +197,12 @@ export declare const CpMenu: import('../utils').SFCWithInstall<{
|
|
|
197
197
|
readonly default: false;
|
|
198
198
|
};
|
|
199
199
|
}>> & Readonly<{
|
|
200
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
201
200
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
201
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
202
202
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
203
203
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
204
|
-
select: (index: string, indexPath: string[]) => void;
|
|
205
204
|
close: (index: string, indexPath: string[]) => void;
|
|
205
|
+
select: (index: string, indexPath: string[]) => void;
|
|
206
206
|
open: (index: string, indexPath: string[]) => void;
|
|
207
207
|
}, string, {
|
|
208
208
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -53,8 +53,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
53
53
|
readonly default: false;
|
|
54
54
|
};
|
|
55
55
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
select: (index: string, indexPath: string[]) => void;
|
|
57
56
|
close: (index: string, indexPath: string[]) => void;
|
|
57
|
+
select: (index: string, indexPath: string[]) => void;
|
|
58
58
|
open: (index: string, indexPath: string[]) => void;
|
|
59
59
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
60
60
|
readonly mode: {
|
|
@@ -102,8 +102,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
102
102
|
readonly default: false;
|
|
103
103
|
};
|
|
104
104
|
}>> & Readonly<{
|
|
105
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
106
105
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
106
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
107
107
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
package/dist/menu-nav/index.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export declare const CpMenuNav: import('../utils').SFCWithInstall<import('vue').
|
|
|
60
60
|
readonly default: false;
|
|
61
61
|
};
|
|
62
62
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
-
select: (index: string, indexPath: string[]) => void;
|
|
64
63
|
close: (index: string, indexPath: string[]) => void;
|
|
64
|
+
select: (index: string, indexPath: string[]) => void;
|
|
65
65
|
open: (index: string, indexPath: string[]) => void;
|
|
66
66
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
67
67
|
readonly data: {
|
|
@@ -113,8 +113,8 @@ export declare const CpMenuNav: import('../utils').SFCWithInstall<import('vue').
|
|
|
113
113
|
readonly default: false;
|
|
114
114
|
};
|
|
115
115
|
}>> & Readonly<{
|
|
116
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
117
116
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
117
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
118
118
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
119
119
|
}>, {
|
|
120
120
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -49,8 +49,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
49
|
readonly default: false;
|
|
50
50
|
};
|
|
51
51
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
|
-
select: (index: string, indexPath: string[]) => void;
|
|
53
52
|
close: (index: string, indexPath: string[]) => void;
|
|
53
|
+
select: (index: string, indexPath: string[]) => void;
|
|
54
54
|
open: (index: string, indexPath: string[]) => void;
|
|
55
55
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
56
|
readonly data: {
|
|
@@ -102,8 +102,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
102
102
|
readonly default: false;
|
|
103
103
|
};
|
|
104
104
|
}>> & Readonly<{
|
|
105
|
-
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
106
105
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
106
|
+
onSelect?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
107
107
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -114,18 +114,20 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
114
114
|
};
|
|
115
115
|
}>> & Readonly<{
|
|
116
116
|
onClick?: (() => any) | undefined;
|
|
117
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
118
117
|
onClose?: (() => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
119
119
|
onDestroy?: (() => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
close: () => void;
|
|
122
122
|
visible: import('vue').Ref<boolean, boolean>;
|
|
123
123
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
124
124
|
click: () => void;
|
|
125
|
-
"update:modelValue": (value: boolean) => void;
|
|
126
125
|
close: () => void;
|
|
126
|
+
"update:modelValue": (value: boolean) => void;
|
|
127
127
|
destroy: () => void;
|
|
128
128
|
}, import('vue').PublicProps, {
|
|
129
|
+
readonly zIndex: number;
|
|
130
|
+
readonly id: string;
|
|
129
131
|
readonly width: string | number;
|
|
130
132
|
readonly type: import('.').NotificationType;
|
|
131
133
|
readonly color: string;
|
|
@@ -137,7 +139,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
137
139
|
readonly modelValue: boolean;
|
|
138
140
|
readonly position: import('.').NotificationPosition;
|
|
139
141
|
readonly animationDuration: number;
|
|
140
|
-
readonly zIndex: number;
|
|
141
142
|
readonly borderColor: string;
|
|
142
143
|
readonly offset: number;
|
|
143
144
|
readonly bgColor: string;
|
|
@@ -148,7 +149,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
148
149
|
}> | (() => import('vue').VNode);
|
|
149
150
|
readonly showClose: boolean;
|
|
150
151
|
readonly titleColor: string;
|
|
151
|
-
readonly id: string;
|
|
152
152
|
readonly dangerouslyUseHTMLString: boolean;
|
|
153
153
|
readonly _verticalOffset: number;
|
|
154
154
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -253,13 +253,15 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
253
253
|
};
|
|
254
254
|
}>> & Readonly<{
|
|
255
255
|
onClick?: (() => any) | undefined;
|
|
256
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
257
256
|
onClose?: (() => any) | undefined;
|
|
257
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
258
258
|
onDestroy?: (() => any) | undefined;
|
|
259
259
|
}>, {
|
|
260
260
|
close: () => void;
|
|
261
261
|
visible: import('vue').Ref<boolean, boolean>;
|
|
262
262
|
}, {}, {}, {}, {
|
|
263
|
+
readonly zIndex: number;
|
|
264
|
+
readonly id: string;
|
|
263
265
|
readonly width: string | number;
|
|
264
266
|
readonly type: import('.').NotificationType;
|
|
265
267
|
readonly color: string;
|
|
@@ -271,7 +273,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
271
273
|
readonly modelValue: boolean;
|
|
272
274
|
readonly position: import('.').NotificationPosition;
|
|
273
275
|
readonly animationDuration: number;
|
|
274
|
-
readonly zIndex: number;
|
|
275
276
|
readonly borderColor: string;
|
|
276
277
|
readonly offset: number;
|
|
277
278
|
readonly bgColor: string;
|
|
@@ -282,7 +283,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
282
283
|
}> | (() => import('vue').VNode);
|
|
283
284
|
readonly showClose: boolean;
|
|
284
285
|
readonly titleColor: string;
|
|
285
|
-
readonly id: string;
|
|
286
286
|
readonly dangerouslyUseHTMLString: boolean;
|
|
287
287
|
readonly _verticalOffset: number;
|
|
288
288
|
}>;
|
|
@@ -384,18 +384,20 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
384
384
|
};
|
|
385
385
|
}>> & Readonly<{
|
|
386
386
|
onClick?: (() => any) | undefined;
|
|
387
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
388
387
|
onClose?: (() => any) | undefined;
|
|
388
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
389
389
|
onDestroy?: (() => any) | undefined;
|
|
390
390
|
}>, {
|
|
391
391
|
close: () => void;
|
|
392
392
|
visible: import('vue').Ref<boolean, boolean>;
|
|
393
393
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
394
394
|
click: () => void;
|
|
395
|
-
"update:modelValue": (value: boolean) => void;
|
|
396
395
|
close: () => void;
|
|
396
|
+
"update:modelValue": (value: boolean) => void;
|
|
397
397
|
destroy: () => void;
|
|
398
398
|
}, string, {
|
|
399
|
+
readonly zIndex: number;
|
|
400
|
+
readonly id: string;
|
|
399
401
|
readonly width: string | number;
|
|
400
402
|
readonly type: import('.').NotificationType;
|
|
401
403
|
readonly color: string;
|
|
@@ -407,7 +409,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
407
409
|
readonly modelValue: boolean;
|
|
408
410
|
readonly position: import('.').NotificationPosition;
|
|
409
411
|
readonly animationDuration: number;
|
|
410
|
-
readonly zIndex: number;
|
|
411
412
|
readonly borderColor: string;
|
|
412
413
|
readonly offset: number;
|
|
413
414
|
readonly bgColor: string;
|
|
@@ -418,7 +419,6 @@ export declare const CpNotification: import('../utils').SFCWithInstall<{
|
|
|
418
419
|
}> | (() => import('vue').VNode);
|
|
419
420
|
readonly showClose: boolean;
|
|
420
421
|
readonly titleColor: string;
|
|
421
|
-
readonly id: string;
|
|
422
422
|
readonly dangerouslyUseHTMLString: boolean;
|
|
423
423
|
readonly _verticalOffset: number;
|
|
424
424
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -115,8 +115,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
115
|
visible: import('vue').Ref<boolean, boolean>;
|
|
116
116
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
117
117
|
click: () => void;
|
|
118
|
-
"update:modelValue": (value: boolean) => void;
|
|
119
118
|
close: () => void;
|
|
119
|
+
"update:modelValue": (value: boolean) => void;
|
|
120
120
|
destroy: () => void;
|
|
121
121
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
122
122
|
readonly id: {
|
|
@@ -213,10 +213,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
213
213
|
};
|
|
214
214
|
}>> & Readonly<{
|
|
215
215
|
onClick?: (() => any) | undefined;
|
|
216
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
217
216
|
onClose?: (() => any) | undefined;
|
|
217
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
218
218
|
onDestroy?: (() => any) | undefined;
|
|
219
219
|
}>, {
|
|
220
|
+
readonly zIndex: number;
|
|
221
|
+
readonly id: string;
|
|
220
222
|
readonly width: string | number;
|
|
221
223
|
readonly type: import('./notification').NotificationType;
|
|
222
224
|
readonly color: string;
|
|
@@ -228,7 +230,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
228
230
|
readonly modelValue: boolean;
|
|
229
231
|
readonly position: import('./notification').NotificationPosition;
|
|
230
232
|
readonly animationDuration: number;
|
|
231
|
-
readonly zIndex: number;
|
|
232
233
|
readonly borderColor: string;
|
|
233
234
|
readonly offset: number;
|
|
234
235
|
readonly bgColor: string;
|
|
@@ -239,7 +240,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
239
240
|
}> | (() => VNode);
|
|
240
241
|
readonly showClose: boolean;
|
|
241
242
|
readonly titleColor: string;
|
|
242
|
-
readonly id: string;
|
|
243
243
|
readonly dangerouslyUseHTMLString: boolean;
|
|
244
244
|
readonly _verticalOffset: number;
|
|
245
245
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/dist/popover/index.d.ts
CHANGED
|
@@ -93,8 +93,8 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
93
93
|
readonly default: "flip";
|
|
94
94
|
};
|
|
95
95
|
}>> & Readonly<{
|
|
96
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
97
96
|
onClose?: (() => any) | undefined;
|
|
97
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
98
98
|
onOpen?: (() => any) | undefined;
|
|
99
99
|
}>, {
|
|
100
100
|
open: () => void;
|
|
@@ -102,8 +102,8 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
102
102
|
toggle: () => void;
|
|
103
103
|
updatePosition: () => void;
|
|
104
104
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
105
|
-
"update:modelValue": (value: boolean) => void;
|
|
106
105
|
close: () => void;
|
|
106
|
+
"update:modelValue": (value: boolean) => void;
|
|
107
107
|
open: () => void;
|
|
108
108
|
}, import('vue').PublicProps, {
|
|
109
109
|
readonly width: string | number;
|
|
@@ -233,8 +233,8 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
233
233
|
readonly default: "flip";
|
|
234
234
|
};
|
|
235
235
|
}>> & Readonly<{
|
|
236
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
237
236
|
onClose?: (() => any) | undefined;
|
|
237
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
238
238
|
onOpen?: (() => any) | undefined;
|
|
239
239
|
}>, {
|
|
240
240
|
open: () => void;
|
|
@@ -363,8 +363,8 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
363
363
|
readonly default: "flip";
|
|
364
364
|
};
|
|
365
365
|
}>> & Readonly<{
|
|
366
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
367
366
|
onClose?: (() => any) | undefined;
|
|
367
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
368
368
|
onOpen?: (() => any) | undefined;
|
|
369
369
|
}>, {
|
|
370
370
|
open: () => void;
|
|
@@ -372,8 +372,8 @@ export declare const CpPopover: import('../utils').SFCWithInstall<{
|
|
|
372
372
|
toggle: () => void;
|
|
373
373
|
updatePosition: () => void;
|
|
374
374
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
375
|
-
"update:modelValue": (value: boolean) => void;
|
|
376
375
|
close: () => void;
|
|
376
|
+
"update:modelValue": (value: boolean) => void;
|
|
377
377
|
open: () => void;
|
|
378
378
|
}, string, {
|
|
379
379
|
readonly width: string | number;
|
|
@@ -116,8 +116,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
116
116
|
/** @description 更新位置 */
|
|
117
117
|
updatePosition: () => void;
|
|
118
118
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
119
|
-
"update:modelValue": (value: boolean) => void;
|
|
120
119
|
close: () => void;
|
|
120
|
+
"update:modelValue": (value: boolean) => void;
|
|
121
121
|
open: () => void;
|
|
122
122
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
123
123
|
readonly modelValue: {
|
|
@@ -213,8 +213,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
213
213
|
readonly default: "flip";
|
|
214
214
|
};
|
|
215
215
|
}>> & Readonly<{
|
|
216
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
217
216
|
onClose?: (() => any) | undefined;
|
|
217
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
218
218
|
onOpen?: (() => any) | undefined;
|
|
219
219
|
}>, {
|
|
220
220
|
readonly width: string | number;
|
package/dist/select/index.d.ts
CHANGED
|
@@ -82,6 +82,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
82
82
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
83
83
|
readonly default: "body";
|
|
84
84
|
};
|
|
85
|
+
readonly zIndex: {
|
|
86
|
+
readonly type: NumberConstructor;
|
|
87
|
+
readonly default: 2000;
|
|
88
|
+
};
|
|
89
|
+
readonly stackPriority: {
|
|
90
|
+
readonly type: NumberConstructor;
|
|
91
|
+
readonly default: undefined;
|
|
92
|
+
};
|
|
85
93
|
readonly maxHeight: {
|
|
86
94
|
readonly type: NumberConstructor;
|
|
87
95
|
readonly default: 256;
|
|
@@ -106,8 +114,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
106
114
|
onClear?: (() => any) | undefined;
|
|
107
115
|
onBlur?: (() => any) | undefined;
|
|
108
116
|
onChange?: ((value: string | number) => any) | undefined;
|
|
109
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
110
117
|
onFocus?: (() => any) | undefined;
|
|
118
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
111
119
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
112
120
|
}>, {
|
|
113
121
|
open: () => void;
|
|
@@ -119,11 +127,13 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
119
127
|
clear: () => void;
|
|
120
128
|
blur: () => void;
|
|
121
129
|
change: (value: string | number) => void;
|
|
122
|
-
"update:modelValue": (value: string | number) => void;
|
|
123
130
|
focus: () => void;
|
|
131
|
+
"update:modelValue": (value: string | number) => void;
|
|
124
132
|
visibleChange: (visible: boolean) => void;
|
|
125
133
|
}, import('vue').PublicProps, {
|
|
126
134
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
135
|
+
readonly zIndex: number;
|
|
136
|
+
readonly stackPriority: number;
|
|
127
137
|
readonly width: string | number;
|
|
128
138
|
readonly color: string;
|
|
129
139
|
readonly variant: import('.').SelectVariant;
|
|
@@ -221,6 +231,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
221
231
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
222
232
|
readonly default: "body";
|
|
223
233
|
};
|
|
234
|
+
readonly zIndex: {
|
|
235
|
+
readonly type: NumberConstructor;
|
|
236
|
+
readonly default: 2000;
|
|
237
|
+
};
|
|
238
|
+
readonly stackPriority: {
|
|
239
|
+
readonly type: NumberConstructor;
|
|
240
|
+
readonly default: undefined;
|
|
241
|
+
};
|
|
224
242
|
readonly maxHeight: {
|
|
225
243
|
readonly type: NumberConstructor;
|
|
226
244
|
readonly default: 256;
|
|
@@ -245,8 +263,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
245
263
|
onClear?: (() => any) | undefined;
|
|
246
264
|
onBlur?: (() => any) | undefined;
|
|
247
265
|
onChange?: ((value: string | number) => any) | undefined;
|
|
248
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
249
266
|
onFocus?: (() => any) | undefined;
|
|
267
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
250
268
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
251
269
|
}>, {
|
|
252
270
|
open: () => void;
|
|
@@ -256,6 +274,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
256
274
|
blur: () => void;
|
|
257
275
|
}, {}, {}, {}, {
|
|
258
276
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
277
|
+
readonly zIndex: number;
|
|
278
|
+
readonly stackPriority: number;
|
|
259
279
|
readonly width: string | number;
|
|
260
280
|
readonly color: string;
|
|
261
281
|
readonly variant: import('.').SelectVariant;
|
|
@@ -345,6 +365,14 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
345
365
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
346
366
|
readonly default: "body";
|
|
347
367
|
};
|
|
368
|
+
readonly zIndex: {
|
|
369
|
+
readonly type: NumberConstructor;
|
|
370
|
+
readonly default: 2000;
|
|
371
|
+
};
|
|
372
|
+
readonly stackPriority: {
|
|
373
|
+
readonly type: NumberConstructor;
|
|
374
|
+
readonly default: undefined;
|
|
375
|
+
};
|
|
348
376
|
readonly maxHeight: {
|
|
349
377
|
readonly type: NumberConstructor;
|
|
350
378
|
readonly default: 256;
|
|
@@ -369,8 +397,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
369
397
|
onClear?: (() => any) | undefined;
|
|
370
398
|
onBlur?: (() => any) | undefined;
|
|
371
399
|
onChange?: ((value: string | number) => any) | undefined;
|
|
372
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
373
400
|
onFocus?: (() => any) | undefined;
|
|
401
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
374
402
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
375
403
|
}>, {
|
|
376
404
|
open: () => void;
|
|
@@ -382,11 +410,13 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
382
410
|
clear: () => void;
|
|
383
411
|
blur: () => void;
|
|
384
412
|
change: (value: string | number) => void;
|
|
385
|
-
"update:modelValue": (value: string | number) => void;
|
|
386
413
|
focus: () => void;
|
|
414
|
+
"update:modelValue": (value: string | number) => void;
|
|
387
415
|
visibleChange: (visible: boolean) => void;
|
|
388
416
|
}, string, {
|
|
389
417
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
418
|
+
readonly zIndex: number;
|
|
419
|
+
readonly stackPriority: number;
|
|
390
420
|
readonly width: string | number;
|
|
391
421
|
readonly color: string;
|
|
392
422
|
readonly variant: import('.').SelectVariant;
|
|
@@ -202,6 +202,22 @@ export declare const selectProps: {
|
|
|
202
202
|
readonly type: PropType<string | HTMLElement>;
|
|
203
203
|
readonly default: "body";
|
|
204
204
|
};
|
|
205
|
+
/**
|
|
206
|
+
* 基础 z-index。打开下拉面板时会进入全局前台弹层栈,并以该值为基础自动分配层级
|
|
207
|
+
* @default 2000
|
|
208
|
+
*/
|
|
209
|
+
readonly zIndex: {
|
|
210
|
+
readonly type: NumberConstructor;
|
|
211
|
+
readonly default: 2000;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* 下拉面板栈优先级。不设置时会继承所在 Dialog 的栈优先级
|
|
215
|
+
* @default undefined
|
|
216
|
+
*/
|
|
217
|
+
readonly stackPriority: {
|
|
218
|
+
readonly type: NumberConstructor;
|
|
219
|
+
readonly default: undefined;
|
|
220
|
+
};
|
|
205
221
|
/**
|
|
206
222
|
* 下拉面板最大高度 (px)
|
|
207
223
|
* @default 256
|
|
@@ -82,6 +82,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
82
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
83
83
|
readonly default: "body";
|
|
84
84
|
};
|
|
85
|
+
readonly zIndex: {
|
|
86
|
+
readonly type: NumberConstructor;
|
|
87
|
+
readonly default: 2000;
|
|
88
|
+
};
|
|
89
|
+
readonly stackPriority: {
|
|
90
|
+
readonly type: NumberConstructor;
|
|
91
|
+
readonly default: undefined;
|
|
92
|
+
};
|
|
85
93
|
readonly maxHeight: {
|
|
86
94
|
readonly type: NumberConstructor;
|
|
87
95
|
readonly default: 256;
|
|
@@ -117,8 +125,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
117
125
|
clear: () => void;
|
|
118
126
|
blur: () => void;
|
|
119
127
|
change: (value: string | number) => void;
|
|
120
|
-
"update:modelValue": (value: string | number) => void;
|
|
121
128
|
focus: () => void;
|
|
129
|
+
"update:modelValue": (value: string | number) => void;
|
|
122
130
|
visibleChange: (visible: boolean) => void;
|
|
123
131
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
124
132
|
readonly modelValue: {
|
|
@@ -185,6 +193,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
185
193
|
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
186
194
|
readonly default: "body";
|
|
187
195
|
};
|
|
196
|
+
readonly zIndex: {
|
|
197
|
+
readonly type: NumberConstructor;
|
|
198
|
+
readonly default: 2000;
|
|
199
|
+
};
|
|
200
|
+
readonly stackPriority: {
|
|
201
|
+
readonly type: NumberConstructor;
|
|
202
|
+
readonly default: undefined;
|
|
203
|
+
};
|
|
188
204
|
readonly maxHeight: {
|
|
189
205
|
readonly type: NumberConstructor;
|
|
190
206
|
readonly default: 256;
|
|
@@ -209,11 +225,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
209
225
|
onClear?: (() => any) | undefined;
|
|
210
226
|
onBlur?: (() => any) | undefined;
|
|
211
227
|
onChange?: ((value: string | number) => any) | undefined;
|
|
212
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
213
228
|
onFocus?: (() => any) | undefined;
|
|
229
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
214
230
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
215
231
|
}>, {
|
|
216
232
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
233
|
+
readonly zIndex: number;
|
|
234
|
+
readonly stackPriority: number;
|
|
217
235
|
readonly width: string | number;
|
|
218
236
|
readonly color: string;
|
|
219
237
|
readonly variant: import('./select').SelectVariant;
|