@creatorsn/vfluent3 0.3.10 → 0.3.11

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.
Files changed (42) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/types/packages/calendar-date-picker/index.d.ts +54 -23
  3. package/dist/types/packages/calendar-date-picker/source/index.vue.d.ts +54 -23
  4. package/dist/types/packages/calendar-view/index.d.ts +31 -116
  5. package/dist/types/packages/calendar-view/source/index.vue.d.ts +31 -116
  6. package/dist/types/packages/calendar-view/source/sub/dateSelector/dateUnit.vue.d.ts +37 -0
  7. package/dist/types/packages/calendar-view/source/sub/dateSelector/index.vue.d.ts +59 -0
  8. package/dist/types/packages/calendar-view/source/sub/monthSelector/index.vue.d.ts +40 -0
  9. package/dist/types/packages/calendar-view/source/sub/monthSelector/monthUnit.vue.d.ts +34 -0
  10. package/dist/types/packages/calendar-view/source/sub/yearSelector/index.vue.d.ts +37 -0
  11. package/dist/types/packages/calendar-view/source/sub/yearSelector/yearUnit.vue.d.ts +31 -0
  12. package/dist/types/packages/collapse/index.d.ts +3 -3
  13. package/dist/types/packages/collapse/source/index.vue.d.ts +3 -3
  14. package/dist/types/packages/date-picker/index.d.ts +156 -316
  15. package/dist/types/packages/date-picker/source/index.vue.d.ts +156 -316
  16. package/dist/types/packages/flip-view/index.d.ts +1 -1
  17. package/dist/types/packages/flip-view/source/index.vue.d.ts +1 -1
  18. package/dist/types/packages/navigation-panel/index.d.ts +5 -0
  19. package/dist/types/packages/navigation-panel/source/index.vue.d.ts +5 -0
  20. package/dist/types/packages/navigation-view/index.d.ts +8 -0
  21. package/dist/types/packages/navigation-view/source/index.vue.d.ts +8 -0
  22. package/dist/types/packages/search-box/index.d.ts +12 -12
  23. package/dist/types/packages/search-box/source/index.vue.d.ts +12 -12
  24. package/dist/types/packages/table-view/source/sub/defaultExtensions/date/index.d.ts +9 -11
  25. package/dist/types/packages/table-view/source/sub/defaultExtensions/email/index.d.ts +9 -11
  26. package/dist/types/packages/table-view/source/sub/defaultExtensions/number/index.d.ts +9 -11
  27. package/dist/types/packages/text-box/index.d.ts +15 -9
  28. package/dist/types/packages/text-box/source/index.vue.d.ts +15 -9
  29. package/dist/types/packages/text-field/index.d.ts +6 -6
  30. package/dist/types/packages/text-field/source/index.vue.d.ts +6 -6
  31. package/dist/types/packages/time-picker/index.d.ts +154 -1
  32. package/dist/types/packages/time-picker/source/index.vue.d.ts +154 -1
  33. package/dist/types/packages/verify-box/index.d.ts +3 -3
  34. package/dist/types/packages/verify-box/source/index.vue.d.ts +3 -3
  35. package/dist/vfluent3.js +14797 -14701
  36. package/dist/vfluent3.umd.cjs +15 -7
  37. package/package.json +1 -1
  38. package/dist/types/packages/calendar-date-picker/source/input/input.vue.d.ts +0 -2
  39. package/dist/types/packages/calendar-view/source/sub/dateBox.vue.d.ts +0 -2
  40. package/dist/types/packages/calendar-view/source/sub/monthBox.vue.d.ts +0 -2
  41. package/dist/types/packages/calendar-view/source/sub/yearBox.vue.d.ts +0 -2
  42. package/dist/types/packages/date-picker/source/index.d.ts +0 -321
@@ -1,339 +1,179 @@
1
1
  import "./style";
2
2
  export declare const FvDatePicker: import("../../types/plugins/component-plugin").ComponentPlugin<{
3
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
- modelValue: {
5
- type: import("vue").PropType<Date>;
6
- default: () => Date;
7
- };
8
- disabled: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- hideMonth: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- hideDay: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- hideYear: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- showWeek: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- months: {
29
- type: import("vue").PropType<string[]>;
30
- default: () => string[];
31
- };
32
- weeks: {
33
- type: import("vue").PropType<string[]>;
34
- default: () => string[];
35
- };
36
- hoverColor: {
37
- type: StringConstructor;
38
- default: undefined;
39
- };
40
- inputBackground: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- selectedBackground: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- optionBackground: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- innerBorderColor: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- theme: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- lang: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- }>> & {
65
- onChange?: ((val: Date) => any) | undefined;
66
- onFocus?: (() => any) | undefined;
67
- "onUpdate:modelValue"?: ((val: Date) => any) | undefined;
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {
4
+ $props: {
5
+ readonly theme?: string | undefined;
6
+ readonly disabled?: boolean | undefined;
7
+ readonly lang?: string | undefined;
8
+ readonly modelValue?: Date | undefined;
9
+ readonly inputBackground?: string | undefined;
10
+ readonly selectedBackground?: string | undefined;
11
+ readonly months?: string[] | undefined;
12
+ readonly weeks?: string[] | undefined;
13
+ readonly hideYear?: boolean | undefined;
14
+ readonly hideMonth?: boolean | undefined;
15
+ readonly hideDay?: boolean | undefined;
16
+ readonly showWeek?: boolean | undefined;
17
+ readonly innerBorderColor?: string | undefined;
18
+ readonly optionBackground?: string | undefined;
19
+ readonly slideBtnBackground?: string | undefined;
20
+ readonly reverseLayout?: boolean | undefined;
21
+ readonly hoverColor?: string | undefined;
22
+ };
23
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
68
24
  }, {
69
- focus: () => void;
70
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
71
- "update:modelValue": (val: Date) => boolean;
72
- change: (val: Date) => boolean;
73
- focus: () => boolean;
74
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
75
- modelValue: {
76
- type: import("vue").PropType<Date>;
77
- default: () => Date;
25
+ show: boolean;
26
+ thisValue: Date;
27
+ dayList: never[];
28
+ monthSwiper: null;
29
+ daySwiper: null;
30
+ yearSwiper: null;
31
+ timer: {
32
+ debounce: null;
33
+ };
34
+ scrollCount: {
35
+ month: number;
36
+ day: number;
37
+ year: number;
78
38
  };
79
- disabled: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- hideMonth: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- hideDay: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- hideYear: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- showWeek: {
96
- type: BooleanConstructor;
97
- default: boolean;
98
- };
99
- months: {
100
- type: import("vue").PropType<string[]>;
101
- default: () => string[];
102
- };
103
- weeks: {
104
- type: import("vue").PropType<string[]>;
105
- default: () => string[];
106
- };
107
- hoverColor: {
108
- type: StringConstructor;
109
- default: undefined;
110
- };
111
- inputBackground: {
112
- type: StringConstructor;
113
- default: string;
114
- };
115
- selectedBackground: {
116
- type: StringConstructor;
117
- default: string;
118
- };
119
- optionBackground: {
120
- type: StringConstructor;
121
- default: string;
122
- };
123
- innerBorderColor: {
124
- type: StringConstructor;
125
- default: string;
126
- };
127
- theme: {
128
- type: StringConstructor;
129
- default: string;
130
- };
131
- lang: {
132
- type: StringConstructor;
133
- default: string;
134
- };
135
- }>> & {
136
- onChange?: ((val: Date) => any) | undefined;
137
- onFocus?: (() => any) | undefined;
138
- "onUpdate:modelValue"?: ((val: Date) => any) | undefined;
139
39
  }, {
140
- theme: string;
141
- disabled: boolean;
142
- lang: string;
143
- modelValue: Date;
144
- inputBackground: string;
145
- selectedBackground: string;
146
- months: string[];
147
- hideMonth: boolean;
148
- hideDay: boolean;
149
- hideYear: boolean;
150
- showWeek: boolean;
151
- weeks: string[];
152
- hoverColor: string;
153
- optionBackground: string;
154
- innerBorderColor: string;
155
- }, true, {}, {}, {
40
+ $theme(): string;
41
+ yearList(): number[];
42
+ virtualDayList(): any[];
43
+ virtualMonthList(): any[];
44
+ }, {
45
+ outSideClickInit(): void;
46
+ outSideClickEvent(event: any): void;
47
+ init(): void;
48
+ focus(): void;
49
+ getDayList(): void;
50
+ decodeDate(pos: any): number;
51
+ showDate(pos: any): any;
52
+ showItem(val: any, addWeek?: boolean): any;
53
+ syncTime(): void;
54
+ accept(): void;
55
+ scrollDispatch(swiper: any, key: any): void;
56
+ scrollExec(swiper: any, key: any): void;
57
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
156
58
  P: {};
157
59
  B: {};
158
60
  D: {};
159
61
  C: {};
160
62
  M: {};
161
63
  Defaults: {};
162
- }, Readonly<import("vue").ExtractPropTypes<{
163
- modelValue: {
164
- type: import("vue").PropType<Date>;
165
- default: () => Date;
166
- };
167
- disabled: {
168
- type: BooleanConstructor;
169
- default: boolean;
170
- };
171
- hideMonth: {
172
- type: BooleanConstructor;
173
- default: boolean;
174
- };
175
- hideDay: {
176
- type: BooleanConstructor;
177
- default: boolean;
178
- };
179
- hideYear: {
180
- type: BooleanConstructor;
181
- default: boolean;
182
- };
183
- showWeek: {
184
- type: BooleanConstructor;
185
- default: boolean;
186
- };
187
- months: {
188
- type: import("vue").PropType<string[]>;
189
- default: () => string[];
190
- };
191
- weeks: {
192
- type: import("vue").PropType<string[]>;
193
- default: () => string[];
194
- };
195
- hoverColor: {
196
- type: StringConstructor;
197
- default: undefined;
198
- };
199
- inputBackground: {
200
- type: StringConstructor;
201
- default: string;
202
- };
203
- selectedBackground: {
204
- type: StringConstructor;
205
- default: string;
206
- };
207
- optionBackground: {
208
- type: StringConstructor;
209
- default: string;
210
- };
211
- innerBorderColor: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- theme: {
216
- type: StringConstructor;
217
- default: string;
218
- };
219
- lang: {
220
- type: StringConstructor;
221
- default: string;
64
+ }, Readonly<import("vue").ExtractPropTypes<{}>>, {
65
+ $props: {
66
+ readonly theme?: string | undefined;
67
+ readonly disabled?: boolean | undefined;
68
+ readonly lang?: string | undefined;
69
+ readonly modelValue?: Date | undefined;
70
+ readonly inputBackground?: string | undefined;
71
+ readonly selectedBackground?: string | undefined;
72
+ readonly months?: string[] | undefined;
73
+ readonly weeks?: string[] | undefined;
74
+ readonly hideYear?: boolean | undefined;
75
+ readonly hideMonth?: boolean | undefined;
76
+ readonly hideDay?: boolean | undefined;
77
+ readonly showWeek?: boolean | undefined;
78
+ readonly innerBorderColor?: string | undefined;
79
+ readonly optionBackground?: string | undefined;
80
+ readonly slideBtnBackground?: string | undefined;
81
+ readonly reverseLayout?: boolean | undefined;
82
+ readonly hoverColor?: string | undefined;
83
+ };
84
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
85
+ }, {
86
+ show: boolean;
87
+ thisValue: Date;
88
+ dayList: never[];
89
+ monthSwiper: null;
90
+ daySwiper: null;
91
+ yearSwiper: null;
92
+ timer: {
93
+ debounce: null;
94
+ };
95
+ scrollCount: {
96
+ month: number;
97
+ day: number;
98
+ year: number;
222
99
  };
223
- }>> & {
224
- onChange?: ((val: Date) => any) | undefined;
225
- onFocus?: (() => any) | undefined;
226
- "onUpdate:modelValue"?: ((val: Date) => any) | undefined;
227
100
  }, {
228
- focus: () => void;
229
- }, {}, {}, {}, {
230
- theme: string;
231
- disabled: boolean;
232
- lang: string;
233
- modelValue: Date;
234
- inputBackground: string;
235
- selectedBackground: string;
236
- months: string[];
237
- hideMonth: boolean;
238
- hideDay: boolean;
239
- hideYear: boolean;
240
- showWeek: boolean;
241
- weeks: string[];
242
- hoverColor: string;
243
- optionBackground: string;
244
- innerBorderColor: string;
245
- }>;
101
+ $theme(): string;
102
+ yearList(): number[];
103
+ virtualDayList(): any[];
104
+ virtualMonthList(): any[];
105
+ }, {
106
+ outSideClickInit(): void;
107
+ outSideClickEvent(event: any): void;
108
+ init(): void;
109
+ focus(): void;
110
+ getDayList(): void;
111
+ decodeDate(pos: any): number;
112
+ showDate(pos: any): any;
113
+ showItem(val: any, addWeek?: boolean): any;
114
+ syncTime(): void;
115
+ accept(): void;
116
+ scrollDispatch(swiper: any, key: any): void;
117
+ scrollExec(swiper: any, key: any): void;
118
+ }, {}>;
246
119
  __isFragment?: undefined;
247
120
  __isTeleport?: undefined;
248
121
  __isSuspense?: undefined;
249
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
250
- modelValue: {
251
- type: import("vue").PropType<Date>;
252
- default: () => Date;
253
- };
254
- disabled: {
255
- type: BooleanConstructor;
256
- default: boolean;
257
- };
258
- hideMonth: {
259
- type: BooleanConstructor;
260
- default: boolean;
261
- };
262
- hideDay: {
263
- type: BooleanConstructor;
264
- default: boolean;
265
- };
266
- hideYear: {
267
- type: BooleanConstructor;
268
- default: boolean;
269
- };
270
- showWeek: {
271
- type: BooleanConstructor;
272
- default: boolean;
273
- };
274
- months: {
275
- type: import("vue").PropType<string[]>;
276
- default: () => string[];
277
- };
278
- weeks: {
279
- type: import("vue").PropType<string[]>;
280
- default: () => string[];
122
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
123
+ $props: {
124
+ readonly theme?: string | undefined;
125
+ readonly disabled?: boolean | undefined;
126
+ readonly lang?: string | undefined;
127
+ readonly modelValue?: Date | undefined;
128
+ readonly inputBackground?: string | undefined;
129
+ readonly selectedBackground?: string | undefined;
130
+ readonly months?: string[] | undefined;
131
+ readonly weeks?: string[] | undefined;
132
+ readonly hideYear?: boolean | undefined;
133
+ readonly hideMonth?: boolean | undefined;
134
+ readonly hideDay?: boolean | undefined;
135
+ readonly showWeek?: boolean | undefined;
136
+ readonly innerBorderColor?: string | undefined;
137
+ readonly optionBackground?: string | undefined;
138
+ readonly slideBtnBackground?: string | undefined;
139
+ readonly reverseLayout?: boolean | undefined;
140
+ readonly hoverColor?: string | undefined;
281
141
  };
282
- hoverColor: {
283
- type: StringConstructor;
284
- default: undefined;
285
- };
286
- inputBackground: {
287
- type: StringConstructor;
288
- default: string;
289
- };
290
- selectedBackground: {
291
- type: StringConstructor;
292
- default: string;
293
- };
294
- optionBackground: {
295
- type: StringConstructor;
296
- default: string;
297
- };
298
- innerBorderColor: {
299
- type: StringConstructor;
300
- default: string;
301
- };
302
- theme: {
303
- type: StringConstructor;
304
- default: string;
142
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
143
+ }, {
144
+ show: boolean;
145
+ thisValue: Date;
146
+ dayList: never[];
147
+ monthSwiper: null;
148
+ daySwiper: null;
149
+ yearSwiper: null;
150
+ timer: {
151
+ debounce: null;
305
152
  };
306
- lang: {
307
- type: StringConstructor;
308
- default: string;
153
+ scrollCount: {
154
+ month: number;
155
+ day: number;
156
+ year: number;
309
157
  };
310
- }>> & {
311
- onChange?: ((val: Date) => any) | undefined;
312
- onFocus?: (() => any) | undefined;
313
- "onUpdate:modelValue"?: ((val: Date) => any) | undefined;
314
158
  }, {
315
- focus: () => void;
316
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
317
- "update:modelValue": (val: Date) => boolean;
318
- change: (val: Date) => boolean;
319
- focus: () => boolean;
320
- }, string, {
321
- theme: string;
322
- disabled: boolean;
323
- lang: string;
324
- modelValue: Date;
325
- inputBackground: string;
326
- selectedBackground: string;
327
- months: string[];
328
- hideMonth: boolean;
329
- hideDay: boolean;
330
- hideYear: boolean;
331
- showWeek: boolean;
332
- weeks: string[];
333
- hoverColor: string;
334
- optionBackground: string;
335
- innerBorderColor: string;
336
- }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
159
+ $theme(): string;
160
+ yearList(): number[];
161
+ virtualDayList(): any[];
162
+ virtualMonthList(): any[];
163
+ }, {
164
+ outSideClickInit(): void;
165
+ outSideClickEvent(event: any): void;
166
+ init(): void;
167
+ focus(): void;
168
+ getDayList(): void;
169
+ decodeDate(pos: any): number;
170
+ showDate(pos: any): any;
171
+ showItem(val: any, addWeek?: boolean): any;
172
+ syncTime(): void;
173
+ accept(): void;
174
+ scrollDispatch(swiper: any, key: any): void;
175
+ scrollExec(swiper: any, key: any): void;
176
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
337
177
  $slots: {};
338
178
  })>;
339
179
  export default FvDatePicker;