@cyberpunk-vue/components 1.13.12 → 1.13.13
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 +5 -5
- 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 +1436 -1373
- 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 +5 -5
- package/dist/select/src/select.vue.d.ts +2 -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
|
@@ -106,8 +106,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
106
106
|
onClear?: (() => any) | undefined;
|
|
107
107
|
onBlur?: (() => any) | undefined;
|
|
108
108
|
onChange?: ((value: string | number) => any) | undefined;
|
|
109
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
110
109
|
onFocus?: (() => any) | undefined;
|
|
110
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
111
111
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
113
|
open: () => void;
|
|
@@ -119,8 +119,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
119
119
|
clear: () => void;
|
|
120
120
|
blur: () => void;
|
|
121
121
|
change: (value: string | number) => void;
|
|
122
|
-
"update:modelValue": (value: string | number) => void;
|
|
123
122
|
focus: () => void;
|
|
123
|
+
"update:modelValue": (value: string | number) => void;
|
|
124
124
|
visibleChange: (visible: boolean) => void;
|
|
125
125
|
}, import('vue').PublicProps, {
|
|
126
126
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -245,8 +245,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
245
245
|
onClear?: (() => any) | undefined;
|
|
246
246
|
onBlur?: (() => any) | undefined;
|
|
247
247
|
onChange?: ((value: string | number) => any) | undefined;
|
|
248
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
249
248
|
onFocus?: (() => any) | undefined;
|
|
249
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
250
250
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
251
251
|
}>, {
|
|
252
252
|
open: () => void;
|
|
@@ -369,8 +369,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
369
369
|
onClear?: (() => any) | undefined;
|
|
370
370
|
onBlur?: (() => any) | undefined;
|
|
371
371
|
onChange?: ((value: string | number) => any) | undefined;
|
|
372
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
373
372
|
onFocus?: (() => any) | undefined;
|
|
373
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
374
374
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
375
375
|
}>, {
|
|
376
376
|
open: () => void;
|
|
@@ -382,8 +382,8 @@ export declare const CpSelect: import('../utils').SFCWithInstall<{
|
|
|
382
382
|
clear: () => void;
|
|
383
383
|
blur: () => void;
|
|
384
384
|
change: (value: string | number) => void;
|
|
385
|
-
"update:modelValue": (value: string | number) => void;
|
|
386
385
|
focus: () => void;
|
|
386
|
+
"update:modelValue": (value: string | number) => void;
|
|
387
387
|
visibleChange: (visible: boolean) => void;
|
|
388
388
|
}, string, {
|
|
389
389
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -117,8 +117,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
117
117
|
clear: () => void;
|
|
118
118
|
blur: () => void;
|
|
119
119
|
change: (value: string | number) => void;
|
|
120
|
-
"update:modelValue": (value: string | number) => void;
|
|
121
120
|
focus: () => void;
|
|
121
|
+
"update:modelValue": (value: string | number) => void;
|
|
122
122
|
visibleChange: (visible: boolean) => void;
|
|
123
123
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
124
124
|
readonly modelValue: {
|
|
@@ -209,8 +209,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
209
209
|
onClear?: (() => any) | undefined;
|
|
210
210
|
onBlur?: (() => any) | undefined;
|
|
211
211
|
onChange?: ((value: string | number) => any) | undefined;
|
|
212
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
213
212
|
onFocus?: (() => any) | undefined;
|
|
213
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
214
214
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
215
215
|
}>, {
|
|
216
216
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
package/dist/slider/index.d.ts
CHANGED
|
@@ -76,8 +76,8 @@ export declare const CpSlider: import('../utils').SFCWithInstall<import('vue').D
|
|
|
76
76
|
}>, {
|
|
77
77
|
sliderRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
78
78
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
|
-
input: (value: number | [number, number]) => void;
|
|
80
79
|
change: (value: number | [number, number]) => void;
|
|
80
|
+
input: (value: number | [number, number]) => void;
|
|
81
81
|
"update:modelValue": (value: number | [number, number]) => void;
|
|
82
82
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
83
83
|
readonly modelValue: {
|
|
@@ -141,8 +141,8 @@ export declare const CpSlider: import('../utils').SFCWithInstall<import('vue').D
|
|
|
141
141
|
readonly default: undefined;
|
|
142
142
|
};
|
|
143
143
|
}>> & Readonly<{
|
|
144
|
-
onInput?: ((value: number | [number, number]) => any) | undefined;
|
|
145
144
|
onChange?: ((value: number | [number, number]) => any) | undefined;
|
|
145
|
+
onInput?: ((value: number | [number, number]) => any) | undefined;
|
|
146
146
|
"onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined;
|
|
147
147
|
}>, {
|
|
148
148
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -62,8 +62,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
62
|
}>, {
|
|
63
63
|
sliderRef: import('vue').Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
|
-
input: (value: number | [number, number]) => void;
|
|
66
65
|
change: (value: number | [number, number]) => void;
|
|
66
|
+
input: (value: number | [number, number]) => void;
|
|
67
67
|
"update:modelValue": (value: number | [number, number]) => void;
|
|
68
68
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
69
69
|
readonly modelValue: {
|
|
@@ -127,8 +127,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
127
127
|
readonly default: undefined;
|
|
128
128
|
};
|
|
129
129
|
}>> & Readonly<{
|
|
130
|
-
onInput?: ((value: number | [number, number]) => any) | undefined;
|
|
131
130
|
onChange?: ((value: number | [number, number]) => any) | undefined;
|
|
131
|
+
onInput?: ((value: number | [number, number]) => any) | undefined;
|
|
132
132
|
"onUpdate:modelValue"?: ((value: number | [number, number]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
package/dist/textarea/index.d.ts
CHANGED
|
@@ -55,11 +55,11 @@ export declare const CpTextarea: import('../utils').SFCWithInstall<import('vue')
|
|
|
55
55
|
blur: () => void | undefined;
|
|
56
56
|
textareaRef: import('vue').Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
57
57
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
-
input: (value: string, event: Event) => void;
|
|
59
58
|
blur: (event: FocusEvent) => void;
|
|
60
59
|
change: (value: string) => void;
|
|
61
|
-
"update:modelValue": (value: string) => void;
|
|
62
60
|
focus: (event: FocusEvent) => void;
|
|
61
|
+
input: (value: string, event: Event) => void;
|
|
62
|
+
"update:modelValue": (value: string) => void;
|
|
63
63
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
64
64
|
readonly modelValue: {
|
|
65
65
|
readonly type: StringConstructor;
|
|
@@ -113,11 +113,11 @@ export declare const CpTextarea: import('../utils').SFCWithInstall<import('vue')
|
|
|
113
113
|
readonly default: "";
|
|
114
114
|
};
|
|
115
115
|
}>> & Readonly<{
|
|
116
|
-
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
117
116
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
118
117
|
onChange?: ((value: string) => any) | undefined;
|
|
119
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
118
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
119
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
121
121
|
}>, {
|
|
122
122
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
123
123
|
readonly color: string;
|
|
@@ -63,11 +63,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
63
63
|
blur: () => void | undefined;
|
|
64
64
|
textareaRef: import('vue').Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
65
65
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
-
input: (value: string, event: Event) => void;
|
|
67
66
|
blur: (event: FocusEvent) => void;
|
|
68
67
|
change: (value: string) => void;
|
|
69
|
-
"update:modelValue": (value: string) => void;
|
|
70
68
|
focus: (event: FocusEvent) => void;
|
|
69
|
+
input: (value: string, event: Event) => void;
|
|
70
|
+
"update:modelValue": (value: string) => void;
|
|
71
71
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
72
|
readonly modelValue: {
|
|
73
73
|
readonly type: StringConstructor;
|
|
@@ -129,11 +129,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
129
129
|
readonly default: "";
|
|
130
130
|
};
|
|
131
131
|
}>> & Readonly<{
|
|
132
|
-
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
133
132
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
134
133
|
onChange?: ((value: string) => any) | undefined;
|
|
135
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
136
134
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
135
|
+
onInput?: ((value: string, event: Event) => any) | undefined;
|
|
136
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
137
137
|
}>, {
|
|
138
138
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
139
139
|
readonly color: string;
|