@cyberpunk-vue/components 1.13.4 → 1.13.6
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/date-picker/index.d.ts +585 -0
- package/dist/date-picker/src/base-picker.vue.d.ts +376 -0
- package/dist/date-picker/src/date-picker.d.ts +657 -0
- package/dist/date-picker/src/date-picker.vue.d.ts +349 -0
- package/dist/date-picker/src/date-utils.d.ts +28 -0
- package/dist/date-picker/src/instance.d.ts +2 -0
- package/dist/date-picker/src/picker.d.ts +1 -0
- package/dist/date-time-picker/index.d.ts +586 -0
- package/dist/date-time-picker/src/date-time-picker.d.ts +179 -0
- package/dist/date-time-picker/src/date-time-picker.vue.d.ts +349 -0
- package/dist/date-time-picker/src/instance.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +4151 -2719
- package/dist/table/index.d.ts +61 -5
- package/dist/table/src/table.d.ts +87 -2
- package/dist/table/src/table.vue.d.ts +36 -3
- package/dist/table-column/index.d.ts +51 -6
- package/dist/table-column/src/table-column.d.ts +39 -1
- package/dist/table-column/src/table-column.vue.d.ts +30 -3
- package/dist/time-picker/index.d.ts +583 -0
- package/dist/time-picker/src/instance.d.ts +2 -0
- package/dist/time-picker/src/time-picker.d.ts +178 -0
- package/dist/time-picker/src/time-picker.vue.d.ts +346 -0
- package/package.json +5 -4
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* CpDateTimePicker 组件 Props 定义
|
|
4
|
+
*
|
|
5
|
+
* @description 赛博朋克风格日期时间选择器,支持日期与时间组合选择以及日期时间范围选择。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```vue
|
|
9
|
+
* <CpDateTimePicker v-model="value" value-format="YYYY-MM-DD HH:mm:ss" />
|
|
10
|
+
* <CpDateTimePicker v-model="range" type="datetimerange" />
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @slots
|
|
14
|
+
* - `prefix` - 触发器前缀内容
|
|
15
|
+
* - `suffix` - 触发器后缀内容
|
|
16
|
+
* - `cell` - 自定义日期单元格内容
|
|
17
|
+
* - `footer` - 自定义面板底部操作区
|
|
18
|
+
*
|
|
19
|
+
* @exposes
|
|
20
|
+
* - `open` - 打开选择器浮层
|
|
21
|
+
* - `close` - 关闭选择器浮层
|
|
22
|
+
* - `toggle` - 切换选择器浮层
|
|
23
|
+
* - `focus` - 聚焦触发器
|
|
24
|
+
* - `blur` - 失焦触发器
|
|
25
|
+
* @category 表单组件
|
|
26
|
+
* @displayName CpDateTimePicker 日期时间选择器
|
|
27
|
+
*/
|
|
28
|
+
export declare const dateTimePickerProps: {
|
|
29
|
+
/**
|
|
30
|
+
* 日期时间选择器类型
|
|
31
|
+
* @default 'datetime'
|
|
32
|
+
*/
|
|
33
|
+
readonly type: {
|
|
34
|
+
readonly default: "datetime";
|
|
35
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerType>;
|
|
36
|
+
};
|
|
37
|
+
readonly modelValue: {
|
|
38
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerModelValue>;
|
|
39
|
+
readonly default: null;
|
|
40
|
+
};
|
|
41
|
+
readonly format: {
|
|
42
|
+
readonly type: StringConstructor;
|
|
43
|
+
readonly default: "";
|
|
44
|
+
};
|
|
45
|
+
readonly valueFormat: {
|
|
46
|
+
readonly type: StringConstructor;
|
|
47
|
+
readonly default: "";
|
|
48
|
+
};
|
|
49
|
+
readonly placeholder: {
|
|
50
|
+
readonly type: StringConstructor;
|
|
51
|
+
readonly default: "";
|
|
52
|
+
};
|
|
53
|
+
readonly startPlaceholder: {
|
|
54
|
+
readonly type: StringConstructor;
|
|
55
|
+
readonly default: "开始";
|
|
56
|
+
};
|
|
57
|
+
readonly endPlaceholder: {
|
|
58
|
+
readonly type: StringConstructor;
|
|
59
|
+
readonly default: "结束";
|
|
60
|
+
};
|
|
61
|
+
readonly rangeSeparator: {
|
|
62
|
+
readonly type: StringConstructor;
|
|
63
|
+
readonly default: " - ";
|
|
64
|
+
};
|
|
65
|
+
readonly disabled: {
|
|
66
|
+
readonly type: BooleanConstructor;
|
|
67
|
+
readonly default: false;
|
|
68
|
+
};
|
|
69
|
+
readonly readonly: {
|
|
70
|
+
readonly type: BooleanConstructor;
|
|
71
|
+
readonly default: false;
|
|
72
|
+
};
|
|
73
|
+
readonly editable: {
|
|
74
|
+
readonly type: BooleanConstructor;
|
|
75
|
+
readonly default: false;
|
|
76
|
+
};
|
|
77
|
+
readonly clearable: {
|
|
78
|
+
readonly type: BooleanConstructor;
|
|
79
|
+
readonly default: true;
|
|
80
|
+
};
|
|
81
|
+
readonly confirm: {
|
|
82
|
+
readonly type: import('vue').PropType<boolean | undefined>;
|
|
83
|
+
readonly default: undefined;
|
|
84
|
+
};
|
|
85
|
+
readonly size: {
|
|
86
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerSize>;
|
|
87
|
+
readonly default: "md";
|
|
88
|
+
};
|
|
89
|
+
readonly shape: {
|
|
90
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerShape>;
|
|
91
|
+
readonly default: "clip";
|
|
92
|
+
};
|
|
93
|
+
readonly variant: {
|
|
94
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerVariant>;
|
|
95
|
+
readonly default: "outline";
|
|
96
|
+
};
|
|
97
|
+
readonly color: {
|
|
98
|
+
readonly type: StringConstructor;
|
|
99
|
+
readonly default: "";
|
|
100
|
+
};
|
|
101
|
+
readonly inactiveColor: {
|
|
102
|
+
readonly type: StringConstructor;
|
|
103
|
+
readonly default: "";
|
|
104
|
+
};
|
|
105
|
+
readonly placeholderColor: {
|
|
106
|
+
readonly type: StringConstructor;
|
|
107
|
+
readonly default: "";
|
|
108
|
+
};
|
|
109
|
+
readonly width: {
|
|
110
|
+
readonly type: import('vue').PropType<string | number>;
|
|
111
|
+
readonly default: "";
|
|
112
|
+
};
|
|
113
|
+
readonly placement: {
|
|
114
|
+
readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
|
|
115
|
+
readonly default: "bottom-start";
|
|
116
|
+
};
|
|
117
|
+
readonly teleportTo: {
|
|
118
|
+
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
119
|
+
readonly default: "body";
|
|
120
|
+
};
|
|
121
|
+
readonly disabledDate: {
|
|
122
|
+
readonly type: import('vue').PropType<(date: Date) => boolean>;
|
|
123
|
+
readonly default: undefined;
|
|
124
|
+
};
|
|
125
|
+
readonly disabledHours: {
|
|
126
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').DisabledTimeResolver>;
|
|
127
|
+
readonly default: undefined;
|
|
128
|
+
};
|
|
129
|
+
readonly disabledMinutes: {
|
|
130
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').DisabledTimeResolver>;
|
|
131
|
+
readonly default: undefined;
|
|
132
|
+
};
|
|
133
|
+
readonly disabledSeconds: {
|
|
134
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').DisabledTimeResolver>;
|
|
135
|
+
readonly default: undefined;
|
|
136
|
+
};
|
|
137
|
+
readonly hourStep: {
|
|
138
|
+
readonly type: NumberConstructor;
|
|
139
|
+
readonly default: 1;
|
|
140
|
+
};
|
|
141
|
+
readonly minuteStep: {
|
|
142
|
+
readonly type: NumberConstructor;
|
|
143
|
+
readonly default: 1;
|
|
144
|
+
};
|
|
145
|
+
readonly secondStep: {
|
|
146
|
+
readonly type: NumberConstructor;
|
|
147
|
+
readonly default: 1;
|
|
148
|
+
};
|
|
149
|
+
readonly showSeconds: {
|
|
150
|
+
readonly type: BooleanConstructor;
|
|
151
|
+
readonly default: true;
|
|
152
|
+
};
|
|
153
|
+
readonly shortcuts: {
|
|
154
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerShortcut[]>;
|
|
155
|
+
readonly default: () => never[];
|
|
156
|
+
};
|
|
157
|
+
readonly defaultValue: {
|
|
158
|
+
readonly type: import('vue').PropType<import('../../date-picker/src/picker').PickerValueItem>;
|
|
159
|
+
readonly default: undefined;
|
|
160
|
+
};
|
|
161
|
+
readonly defaultTime: {
|
|
162
|
+
readonly type: import('vue').PropType<string | [string, string]>;
|
|
163
|
+
readonly default: undefined;
|
|
164
|
+
};
|
|
165
|
+
readonly unlinkPanels: {
|
|
166
|
+
readonly type: BooleanConstructor;
|
|
167
|
+
readonly default: false;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
export type DateTimePickerProps = ExtractPropTypes<typeof dateTimePickerProps>;
|
|
171
|
+
export declare const dateTimePickerEmits: {
|
|
172
|
+
'update:modelValue': (_value: import('../../date-picker/src/picker').PickerModelValue) => boolean;
|
|
173
|
+
change: (_value: import('../../date-picker/src/picker').PickerModelValue) => boolean;
|
|
174
|
+
clear: () => boolean;
|
|
175
|
+
focus: (event?: FocusEvent) => boolean;
|
|
176
|
+
blur: (event?: FocusEvent) => boolean;
|
|
177
|
+
visibleChange: (visible: boolean) => boolean;
|
|
178
|
+
};
|
|
179
|
+
export type DateTimePickerEmits = typeof dateTimePickerEmits;
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
prefix?(_: {}): any;
|
|
5
|
+
suffix?(_: {}): any;
|
|
6
|
+
cell?(_: {
|
|
7
|
+
cell: import('..').PickerCell;
|
|
8
|
+
}): any;
|
|
9
|
+
footer?(_: {
|
|
10
|
+
confirm: (false & (() => void)) | (true & (() => void));
|
|
11
|
+
cancel: () => void;
|
|
12
|
+
clear: (event?: MouseEvent) => void;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
readonly type: {
|
|
21
|
+
readonly default: "datetime";
|
|
22
|
+
readonly type: import('vue').PropType<import('..').PickerType>;
|
|
23
|
+
};
|
|
24
|
+
readonly modelValue: {
|
|
25
|
+
readonly type: import('vue').PropType<import('..').PickerModelValue>;
|
|
26
|
+
readonly default: null;
|
|
27
|
+
};
|
|
28
|
+
readonly format: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "";
|
|
31
|
+
};
|
|
32
|
+
readonly valueFormat: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "";
|
|
35
|
+
};
|
|
36
|
+
readonly placeholder: {
|
|
37
|
+
readonly type: StringConstructor;
|
|
38
|
+
readonly default: "";
|
|
39
|
+
};
|
|
40
|
+
readonly startPlaceholder: {
|
|
41
|
+
readonly type: StringConstructor;
|
|
42
|
+
readonly default: "开始";
|
|
43
|
+
};
|
|
44
|
+
readonly endPlaceholder: {
|
|
45
|
+
readonly type: StringConstructor;
|
|
46
|
+
readonly default: "结束";
|
|
47
|
+
};
|
|
48
|
+
readonly rangeSeparator: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: " - ";
|
|
51
|
+
};
|
|
52
|
+
readonly disabled: {
|
|
53
|
+
readonly type: BooleanConstructor;
|
|
54
|
+
readonly default: false;
|
|
55
|
+
};
|
|
56
|
+
readonly readonly: {
|
|
57
|
+
readonly type: BooleanConstructor;
|
|
58
|
+
readonly default: false;
|
|
59
|
+
};
|
|
60
|
+
readonly editable: {
|
|
61
|
+
readonly type: BooleanConstructor;
|
|
62
|
+
readonly default: false;
|
|
63
|
+
};
|
|
64
|
+
readonly clearable: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly default: true;
|
|
67
|
+
};
|
|
68
|
+
readonly confirm: {
|
|
69
|
+
readonly type: import('vue').PropType<boolean | undefined>;
|
|
70
|
+
readonly default: undefined;
|
|
71
|
+
};
|
|
72
|
+
readonly size: {
|
|
73
|
+
readonly type: import('vue').PropType<import('..').PickerSize>;
|
|
74
|
+
readonly default: "md";
|
|
75
|
+
};
|
|
76
|
+
readonly shape: {
|
|
77
|
+
readonly type: import('vue').PropType<import('..').PickerShape>;
|
|
78
|
+
readonly default: "clip";
|
|
79
|
+
};
|
|
80
|
+
readonly variant: {
|
|
81
|
+
readonly type: import('vue').PropType<import('..').PickerVariant>;
|
|
82
|
+
readonly default: "outline";
|
|
83
|
+
};
|
|
84
|
+
readonly color: {
|
|
85
|
+
readonly type: StringConstructor;
|
|
86
|
+
readonly default: "";
|
|
87
|
+
};
|
|
88
|
+
readonly inactiveColor: {
|
|
89
|
+
readonly type: StringConstructor;
|
|
90
|
+
readonly default: "";
|
|
91
|
+
};
|
|
92
|
+
readonly placeholderColor: {
|
|
93
|
+
readonly type: StringConstructor;
|
|
94
|
+
readonly default: "";
|
|
95
|
+
};
|
|
96
|
+
readonly width: {
|
|
97
|
+
readonly type: import('vue').PropType<string | number>;
|
|
98
|
+
readonly default: "";
|
|
99
|
+
};
|
|
100
|
+
readonly placement: {
|
|
101
|
+
readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
|
|
102
|
+
readonly default: "bottom-start";
|
|
103
|
+
};
|
|
104
|
+
readonly teleportTo: {
|
|
105
|
+
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
106
|
+
readonly default: "body";
|
|
107
|
+
};
|
|
108
|
+
readonly disabledDate: {
|
|
109
|
+
readonly type: import('vue').PropType<(date: Date) => boolean>;
|
|
110
|
+
readonly default: undefined;
|
|
111
|
+
};
|
|
112
|
+
readonly disabledHours: {
|
|
113
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
114
|
+
readonly default: undefined;
|
|
115
|
+
};
|
|
116
|
+
readonly disabledMinutes: {
|
|
117
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
118
|
+
readonly default: undefined;
|
|
119
|
+
};
|
|
120
|
+
readonly disabledSeconds: {
|
|
121
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
122
|
+
readonly default: undefined;
|
|
123
|
+
};
|
|
124
|
+
readonly hourStep: {
|
|
125
|
+
readonly type: NumberConstructor;
|
|
126
|
+
readonly default: 1;
|
|
127
|
+
};
|
|
128
|
+
readonly minuteStep: {
|
|
129
|
+
readonly type: NumberConstructor;
|
|
130
|
+
readonly default: 1;
|
|
131
|
+
};
|
|
132
|
+
readonly secondStep: {
|
|
133
|
+
readonly type: NumberConstructor;
|
|
134
|
+
readonly default: 1;
|
|
135
|
+
};
|
|
136
|
+
readonly showSeconds: {
|
|
137
|
+
readonly type: BooleanConstructor;
|
|
138
|
+
readonly default: true;
|
|
139
|
+
};
|
|
140
|
+
readonly shortcuts: {
|
|
141
|
+
readonly type: import('vue').PropType<import('..').PickerShortcut[]>;
|
|
142
|
+
readonly default: () => never[];
|
|
143
|
+
};
|
|
144
|
+
readonly defaultValue: {
|
|
145
|
+
readonly type: import('vue').PropType<import('..').PickerValueItem>;
|
|
146
|
+
readonly default: undefined;
|
|
147
|
+
};
|
|
148
|
+
readonly defaultTime: {
|
|
149
|
+
readonly type: import('vue').PropType<string | [string, string]>;
|
|
150
|
+
readonly default: undefined;
|
|
151
|
+
};
|
|
152
|
+
readonly unlinkPanels: {
|
|
153
|
+
readonly type: BooleanConstructor;
|
|
154
|
+
readonly default: false;
|
|
155
|
+
};
|
|
156
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
157
|
+
clear: () => void;
|
|
158
|
+
blur: (event?: FocusEvent | undefined) => void;
|
|
159
|
+
change: (_value: import('..').PickerModelValue) => void;
|
|
160
|
+
"update:modelValue": (_value: import('..').PickerModelValue) => void;
|
|
161
|
+
focus: (event?: FocusEvent | undefined) => void;
|
|
162
|
+
visibleChange: (visible: boolean) => void;
|
|
163
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
164
|
+
readonly type: {
|
|
165
|
+
readonly default: "datetime";
|
|
166
|
+
readonly type: import('vue').PropType<import('..').PickerType>;
|
|
167
|
+
};
|
|
168
|
+
readonly modelValue: {
|
|
169
|
+
readonly type: import('vue').PropType<import('..').PickerModelValue>;
|
|
170
|
+
readonly default: null;
|
|
171
|
+
};
|
|
172
|
+
readonly format: {
|
|
173
|
+
readonly type: StringConstructor;
|
|
174
|
+
readonly default: "";
|
|
175
|
+
};
|
|
176
|
+
readonly valueFormat: {
|
|
177
|
+
readonly type: StringConstructor;
|
|
178
|
+
readonly default: "";
|
|
179
|
+
};
|
|
180
|
+
readonly placeholder: {
|
|
181
|
+
readonly type: StringConstructor;
|
|
182
|
+
readonly default: "";
|
|
183
|
+
};
|
|
184
|
+
readonly startPlaceholder: {
|
|
185
|
+
readonly type: StringConstructor;
|
|
186
|
+
readonly default: "开始";
|
|
187
|
+
};
|
|
188
|
+
readonly endPlaceholder: {
|
|
189
|
+
readonly type: StringConstructor;
|
|
190
|
+
readonly default: "结束";
|
|
191
|
+
};
|
|
192
|
+
readonly rangeSeparator: {
|
|
193
|
+
readonly type: StringConstructor;
|
|
194
|
+
readonly default: " - ";
|
|
195
|
+
};
|
|
196
|
+
readonly disabled: {
|
|
197
|
+
readonly type: BooleanConstructor;
|
|
198
|
+
readonly default: false;
|
|
199
|
+
};
|
|
200
|
+
readonly readonly: {
|
|
201
|
+
readonly type: BooleanConstructor;
|
|
202
|
+
readonly default: false;
|
|
203
|
+
};
|
|
204
|
+
readonly editable: {
|
|
205
|
+
readonly type: BooleanConstructor;
|
|
206
|
+
readonly default: false;
|
|
207
|
+
};
|
|
208
|
+
readonly clearable: {
|
|
209
|
+
readonly type: BooleanConstructor;
|
|
210
|
+
readonly default: true;
|
|
211
|
+
};
|
|
212
|
+
readonly confirm: {
|
|
213
|
+
readonly type: import('vue').PropType<boolean | undefined>;
|
|
214
|
+
readonly default: undefined;
|
|
215
|
+
};
|
|
216
|
+
readonly size: {
|
|
217
|
+
readonly type: import('vue').PropType<import('..').PickerSize>;
|
|
218
|
+
readonly default: "md";
|
|
219
|
+
};
|
|
220
|
+
readonly shape: {
|
|
221
|
+
readonly type: import('vue').PropType<import('..').PickerShape>;
|
|
222
|
+
readonly default: "clip";
|
|
223
|
+
};
|
|
224
|
+
readonly variant: {
|
|
225
|
+
readonly type: import('vue').PropType<import('..').PickerVariant>;
|
|
226
|
+
readonly default: "outline";
|
|
227
|
+
};
|
|
228
|
+
readonly color: {
|
|
229
|
+
readonly type: StringConstructor;
|
|
230
|
+
readonly default: "";
|
|
231
|
+
};
|
|
232
|
+
readonly inactiveColor: {
|
|
233
|
+
readonly type: StringConstructor;
|
|
234
|
+
readonly default: "";
|
|
235
|
+
};
|
|
236
|
+
readonly placeholderColor: {
|
|
237
|
+
readonly type: StringConstructor;
|
|
238
|
+
readonly default: "";
|
|
239
|
+
};
|
|
240
|
+
readonly width: {
|
|
241
|
+
readonly type: import('vue').PropType<string | number>;
|
|
242
|
+
readonly default: "";
|
|
243
|
+
};
|
|
244
|
+
readonly placement: {
|
|
245
|
+
readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
|
|
246
|
+
readonly default: "bottom-start";
|
|
247
|
+
};
|
|
248
|
+
readonly teleportTo: {
|
|
249
|
+
readonly type: import('vue').PropType<string | HTMLElement>;
|
|
250
|
+
readonly default: "body";
|
|
251
|
+
};
|
|
252
|
+
readonly disabledDate: {
|
|
253
|
+
readonly type: import('vue').PropType<(date: Date) => boolean>;
|
|
254
|
+
readonly default: undefined;
|
|
255
|
+
};
|
|
256
|
+
readonly disabledHours: {
|
|
257
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
258
|
+
readonly default: undefined;
|
|
259
|
+
};
|
|
260
|
+
readonly disabledMinutes: {
|
|
261
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
262
|
+
readonly default: undefined;
|
|
263
|
+
};
|
|
264
|
+
readonly disabledSeconds: {
|
|
265
|
+
readonly type: import('vue').PropType<import('..').DisabledTimeResolver>;
|
|
266
|
+
readonly default: undefined;
|
|
267
|
+
};
|
|
268
|
+
readonly hourStep: {
|
|
269
|
+
readonly type: NumberConstructor;
|
|
270
|
+
readonly default: 1;
|
|
271
|
+
};
|
|
272
|
+
readonly minuteStep: {
|
|
273
|
+
readonly type: NumberConstructor;
|
|
274
|
+
readonly default: 1;
|
|
275
|
+
};
|
|
276
|
+
readonly secondStep: {
|
|
277
|
+
readonly type: NumberConstructor;
|
|
278
|
+
readonly default: 1;
|
|
279
|
+
};
|
|
280
|
+
readonly showSeconds: {
|
|
281
|
+
readonly type: BooleanConstructor;
|
|
282
|
+
readonly default: true;
|
|
283
|
+
};
|
|
284
|
+
readonly shortcuts: {
|
|
285
|
+
readonly type: import('vue').PropType<import('..').PickerShortcut[]>;
|
|
286
|
+
readonly default: () => never[];
|
|
287
|
+
};
|
|
288
|
+
readonly defaultValue: {
|
|
289
|
+
readonly type: import('vue').PropType<import('..').PickerValueItem>;
|
|
290
|
+
readonly default: undefined;
|
|
291
|
+
};
|
|
292
|
+
readonly defaultTime: {
|
|
293
|
+
readonly type: import('vue').PropType<string | [string, string]>;
|
|
294
|
+
readonly default: undefined;
|
|
295
|
+
};
|
|
296
|
+
readonly unlinkPanels: {
|
|
297
|
+
readonly type: BooleanConstructor;
|
|
298
|
+
readonly default: false;
|
|
299
|
+
};
|
|
300
|
+
}>> & Readonly<{
|
|
301
|
+
onClear?: (() => any) | undefined;
|
|
302
|
+
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
303
|
+
onChange?: ((_value: import('..').PickerModelValue) => any) | undefined;
|
|
304
|
+
"onUpdate:modelValue"?: ((_value: import('..').PickerModelValue) => any) | undefined;
|
|
305
|
+
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
306
|
+
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
307
|
+
}>, {
|
|
308
|
+
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
309
|
+
readonly width: string | number;
|
|
310
|
+
readonly format: string;
|
|
311
|
+
readonly type: import('..').PickerType;
|
|
312
|
+
readonly color: string;
|
|
313
|
+
readonly variant: import('..').PickerVariant;
|
|
314
|
+
readonly disabled: boolean;
|
|
315
|
+
readonly shape: import('..').PickerShape;
|
|
316
|
+
readonly placeholder: string;
|
|
317
|
+
readonly modelValue: import('..').PickerModelValue;
|
|
318
|
+
readonly readonly: boolean;
|
|
319
|
+
readonly clearable: boolean;
|
|
320
|
+
readonly placeholderColor: string;
|
|
321
|
+
readonly inactiveColor: string;
|
|
322
|
+
readonly teleportTo: string | HTMLElement;
|
|
323
|
+
readonly placement: import('@floating-ui/dom').Placement;
|
|
324
|
+
readonly confirm: boolean | undefined;
|
|
325
|
+
readonly valueFormat: string;
|
|
326
|
+
readonly startPlaceholder: string;
|
|
327
|
+
readonly endPlaceholder: string;
|
|
328
|
+
readonly rangeSeparator: string;
|
|
329
|
+
readonly editable: boolean;
|
|
330
|
+
readonly disabledDate: (date: Date) => boolean;
|
|
331
|
+
readonly disabledHours: import('..').DisabledTimeResolver;
|
|
332
|
+
readonly disabledMinutes: import('..').DisabledTimeResolver;
|
|
333
|
+
readonly disabledSeconds: import('..').DisabledTimeResolver;
|
|
334
|
+
readonly hourStep: number;
|
|
335
|
+
readonly minuteStep: number;
|
|
336
|
+
readonly secondStep: number;
|
|
337
|
+
readonly showSeconds: boolean;
|
|
338
|
+
readonly shortcuts: import('..').PickerShortcut[];
|
|
339
|
+
readonly defaultValue: import('..').PickerValueItem;
|
|
340
|
+
readonly defaultTime: string | [string, string];
|
|
341
|
+
readonly unlinkPanels: boolean;
|
|
342
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
343
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
344
|
+
export default _default;
|
|
345
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
346
|
+
new (): {
|
|
347
|
+
$slots: S;
|
|
348
|
+
};
|
|
349
|
+
};
|