@citruslime/ui 2.5.0 → 2.5.1-beta.1

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.
@@ -6,14 +6,12 @@ declare function focus(): void;
6
6
  declare const _default: import("vue").DefineComponent<{
7
7
  date: {
8
8
  type: import("vue").PropType<string>;
9
- required: true;
10
9
  };
11
10
  events: {
12
11
  type: import("vue").PropType<PopoverEventHandlers>;
13
- required: true;
14
12
  };
15
13
  type: {
16
- type: import("vue").PropType<"time" | "date" | "datetime">;
14
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
17
15
  required: true;
18
16
  };
19
17
  placeholder: {
@@ -26,24 +24,25 @@ declare const _default: import("vue").DefineComponent<{
26
24
  };
27
25
  disabled: {
28
26
  type: import("vue").PropType<boolean>;
29
- required: true;
27
+ };
28
+ rangeSelected: {
29
+ type: import("vue").PropType<boolean>;
30
30
  };
31
31
  }, {
32
32
  focus: typeof focus;
33
33
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
34
  clear: () => void;
35
35
  reset: () => void;
36
+ togglePopover: () => void;
36
37
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
38
  date: {
38
39
  type: import("vue").PropType<string>;
39
- required: true;
40
40
  };
41
41
  events: {
42
42
  type: import("vue").PropType<PopoverEventHandlers>;
43
- required: true;
44
43
  };
45
44
  type: {
46
- type: import("vue").PropType<"time" | "date" | "datetime">;
45
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
47
46
  required: true;
48
47
  };
49
48
  placeholder: {
@@ -56,10 +55,13 @@ declare const _default: import("vue").DefineComponent<{
56
55
  };
57
56
  disabled: {
58
57
  type: import("vue").PropType<boolean>;
59
- required: true;
58
+ };
59
+ rangeSelected: {
60
+ type: import("vue").PropType<boolean>;
60
61
  };
61
62
  }>> & {
62
63
  onReset?: (() => any) | undefined;
63
64
  onClear?: (() => any) | undefined;
65
+ onTogglePopover?: (() => any) | undefined;
64
66
  }, {}, {}>;
65
67
  export default _default;
@@ -1,6 +1,7 @@
1
+ import type { DateRange } from '../input/types';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  type: {
3
- type: import("vue").PropType<"time" | "date" | "datetime">;
4
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
4
5
  default: string;
5
6
  };
6
7
  placeholder: {
@@ -16,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
16
17
  default: boolean;
17
18
  };
18
19
  date: {
19
- type: import("vue").PropType<string | null>;
20
+ type: import("vue").PropType<string | DateRange | null>;
20
21
  required: true;
21
22
  };
22
23
  max: {
@@ -35,13 +36,17 @@ declare const _default: import("vue").DefineComponent<{
35
36
  type: import("vue").PropType<string | null>;
36
37
  default: null;
37
38
  };
39
+ quickDateScope: {
40
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
41
+ default: null;
42
+ };
38
43
  }, {
39
44
  focus(): void;
40
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
- 'update:date': (args_0: string | null) => void;
46
+ "update:date": (value: string | DateRange | null) => void;
42
47
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
48
  type: {
44
- type: import("vue").PropType<"time" | "date" | "datetime">;
49
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
45
50
  default: string;
46
51
  };
47
52
  placeholder: {
@@ -57,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
57
62
  default: boolean;
58
63
  };
59
64
  date: {
60
- type: import("vue").PropType<string | null>;
65
+ type: import("vue").PropType<string | DateRange | null>;
61
66
  required: true;
62
67
  };
63
68
  max: {
@@ -76,10 +81,14 @@ declare const _default: import("vue").DefineComponent<{
76
81
  type: import("vue").PropType<string | null>;
77
82
  default: null;
78
83
  };
84
+ quickDateScope: {
85
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
86
+ default: null;
87
+ };
79
88
  }>> & {
80
- "onUpdate:date"?: ((args_0: string | null) => any) | undefined;
89
+ "onUpdate:date"?: ((value: string | DateRange | null) => any) | undefined;
81
90
  }, {
82
- type: "time" | "date" | "datetime";
91
+ type: "time" | "date" | "datetime" | "dateRange";
83
92
  placeholder: string | null;
84
93
  disabled: boolean;
85
94
  required: boolean;
@@ -87,5 +96,6 @@ declare const _default: import("vue").DefineComponent<{
87
96
  min: string | null;
88
97
  timeZone: string | null;
89
98
  initialDate: string | null;
99
+ quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
90
100
  }, {}>;
91
101
  export default _default;
@@ -0,0 +1,25 @@
1
+ import type { QuickDate } from './quick-dates';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ dates: {
4
+ type: import("vue").PropType<QuickDate[]>;
5
+ required: true;
6
+ };
7
+ selectedQuickDate: {
8
+ type: import("vue").PropType<QuickDate | null>;
9
+ required: true;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "quick-date-selected": (value: QuickDate) => void;
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ dates: {
15
+ type: import("vue").PropType<QuickDate[]>;
16
+ required: true;
17
+ };
18
+ selectedQuickDate: {
19
+ type: import("vue").PropType<QuickDate | null>;
20
+ required: true;
21
+ };
22
+ }>> & {
23
+ "onQuick-date-selected"?: ((value: QuickDate) => any) | undefined;
24
+ }, {}, {}>;
25
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import type { DateRange } from '../input/types';
2
+ import type { QuickDate } from './quick-dates';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ scope: {
5
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
6
+ required: true;
7
+ };
8
+ selectedQuickDate: {
9
+ type: import("vue").PropType<QuickDate | null>;
10
+ required: true;
11
+ };
12
+ currentDateRange: {
13
+ type: import("vue").PropType<DateRange | null>;
14
+ required: true;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "quick-date-selected": (value: QuickDate) => void;
18
+ "apply-button-clicked": () => void;
19
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ scope: {
21
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
22
+ required: true;
23
+ };
24
+ selectedQuickDate: {
25
+ type: import("vue").PropType<QuickDate | null>;
26
+ required: true;
27
+ };
28
+ currentDateRange: {
29
+ type: import("vue").PropType<DateRange | null>;
30
+ required: true;
31
+ };
32
+ }>> & {
33
+ "onQuick-date-selected"?: ((value: QuickDate) => any) | undefined;
34
+ "onApply-button-clicked"?: (() => any) | undefined;
35
+ }, {}, {}>;
36
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export declare const quickDateNames: readonly ["today", "this week", "this month", "this year", "yesterday", "last week", "last month", "last year", "tomorrow", "next week", "next month", "next year"];
2
+ export type QuickDateName = typeof quickDateNames[number];
3
+ export interface QuickDate {
4
+ name: QuickDateName;
5
+ scope: 'past' | 'future' | 'current';
6
+ translationKey: string;
7
+ range: 'day' | 'week' | 'month' | 'year';
8
+ }
9
+ export declare const currentQuickDates: QuickDate[];
10
+ export declare const pastQuickDates: QuickDate[];
11
+ export declare const futureQuickDates: QuickDate[];
12
+ export declare const allQuickDates: QuickDate[];
@@ -1,2 +1,2 @@
1
- export declare const calendarTypes: readonly ["date", "datetime", "time"];
1
+ export declare const calendarTypes: readonly ["date", "datetime", "time", "dateRange"];
2
2
  export type CalendarType = typeof calendarTypes[number];
@@ -13,14 +13,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
13
13
  type: import("vue").PropType<string | null>;
14
14
  required: true;
15
15
  };
16
- editMode: {
17
- type: import("vue").PropType<boolean>;
18
- default: boolean;
19
- };
20
16
  columns: {
21
17
  type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
22
18
  required: true;
23
19
  };
20
+ editMode: {
21
+ type: import("vue").PropType<boolean>;
22
+ default: boolean;
23
+ };
24
24
  options: {
25
25
  type: import("vue").PropType<Partial<GridConfig>>;
26
26
  required: true;
@@ -50,14 +50,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
50
50
  type: import("vue").PropType<string | null>;
51
51
  required: true;
52
52
  };
53
- editMode: {
54
- type: import("vue").PropType<boolean>;
55
- default: boolean;
56
- };
57
53
  columns: {
58
54
  type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
59
55
  required: true;
60
56
  };
57
+ editMode: {
58
+ type: import("vue").PropType<boolean>;
59
+ default: boolean;
60
+ };
61
61
  options: {
62
62
  type: import("vue").PropType<Partial<GridConfig>>;
63
63
  required: true;
@@ -9,14 +9,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
9
  type: import("vue").PropType<string | null>;
10
10
  required: true;
11
11
  };
12
- editMode: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
12
  columns: {
17
13
  type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
18
14
  required: true;
19
15
  };
16
+ editMode: {
17
+ type: import("vue").PropType<boolean>;
18
+ default: boolean;
19
+ };
20
20
  searchValue: {
21
21
  type: import("vue").PropType<string>;
22
22
  required: true;
@@ -35,14 +35,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
35
35
  type: import("vue").PropType<string | null>;
36
36
  required: true;
37
37
  };
38
- editMode: {
39
- type: import("vue").PropType<boolean>;
40
- default: boolean;
41
- };
42
38
  columns: {
43
39
  type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
44
40
  required: true;
45
41
  };
42
+ editMode: {
43
+ type: import("vue").PropType<boolean>;
44
+ default: boolean;
45
+ };
46
46
  searchValue: {
47
47
  type: import("vue").PropType<string>;
48
48
  required: true;
@@ -50,7 +50,7 @@ export declare function isGridColumn(objectToTest: GridColumn): boolean;
50
50
  * @returns True if the array is a GridColumn array; false otherwise.
51
51
  */
52
52
  export declare function isGridColumnArray(arrayToTest: GridColumn[]): boolean;
53
- export declare const stringFormats: readonly ["ellipsis"];
53
+ export declare const stringFormats: readonly ["ellipsis", "wrap-text"];
54
54
  export type StringFormat = typeof stringFormats[number];
55
55
  export declare enum FilterOperation {
56
56
  CONTAINS = 0,
@@ -1,4 +1,4 @@
1
- import type { InputValidationState, InputValueType } from './types';
1
+ import type { InputValidationState, InputValueType, DateRange } from './types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  label: {
4
4
  type: import("vue").PropType<string>;
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: import("vue").PropType<number>;
25
25
  default: number;
26
26
  };
27
+ group: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
27
31
  timeZone: {
28
32
  type: import("vue").PropType<string | null>;
29
33
  default: null;
@@ -32,8 +36,12 @@ declare const _default: import("vue").DefineComponent<{
32
36
  type: import("vue").PropType<string | null>;
33
37
  default: null;
34
38
  };
39
+ quickDateScope: {
40
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
41
+ default: null;
42
+ };
35
43
  modelValue: {
36
- type: import("vue").PropType<string | number | boolean | null>;
44
+ type: import("vue").PropType<string | number | boolean | DateRange | null>;
37
45
  default: undefined;
38
46
  };
39
47
  isRequired: {
@@ -41,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
41
49
  default: boolean;
42
50
  };
43
51
  inputType: {
44
- type: import("vue").PropType<"number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url">;
52
+ type: import("vue").PropType<"number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "dateRange" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url">;
45
53
  required: true;
46
54
  default: string;
47
55
  };
@@ -77,10 +85,6 @@ declare const _default: import("vue").DefineComponent<{
77
85
  type: import("vue").PropType<string>;
78
86
  default: string;
79
87
  };
80
- group: {
81
- type: import("vue").PropType<string>;
82
- default: string;
83
- };
84
88
  showLabel: {
85
89
  type: import("vue").PropType<boolean>;
86
90
  default: boolean;
@@ -119,7 +123,7 @@ declare const _default: import("vue").DefineComponent<{
119
123
  input: (args_0: {
120
124
  target: EventTarget | import("vue").DefineComponent<{
121
125
  type: {
122
- type: import("vue").PropType<"time" | "date" | "datetime">;
126
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
123
127
  default: string;
124
128
  };
125
129
  placeholder: {
@@ -135,7 +139,7 @@ declare const _default: import("vue").DefineComponent<{
135
139
  default: boolean;
136
140
  };
137
141
  date: {
138
- type: import("vue").PropType<string | null>;
142
+ type: import("vue").PropType<string | DateRange | null>;
139
143
  required: true;
140
144
  };
141
145
  max: {
@@ -154,13 +158,22 @@ declare const _default: import("vue").DefineComponent<{
154
158
  type: import("vue").PropType<string | null>;
155
159
  default: null;
156
160
  };
161
+ quickDateScope: {
162
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
163
+ default: null;
164
+ };
157
165
  }, {
166
+ /**
167
+ * Handles the `change` event of an input box.
168
+ *
169
+ * @param event The event that was fired.
170
+ */
158
171
  focus(): void;
159
172
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
160
- 'update:date': (args_0: string | null) => void;
173
+ "update:date": (value: string | DateRange | null) => void;
161
174
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
162
175
  type: {
163
- type: import("vue").PropType<"time" | "date" | "datetime">;
176
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
164
177
  default: string;
165
178
  };
166
179
  placeholder: {
@@ -176,7 +189,7 @@ declare const _default: import("vue").DefineComponent<{
176
189
  default: boolean;
177
190
  };
178
191
  date: {
179
- type: import("vue").PropType<string | null>;
192
+ type: import("vue").PropType<string | DateRange | null>;
180
193
  required: true;
181
194
  };
182
195
  max: {
@@ -195,10 +208,14 @@ declare const _default: import("vue").DefineComponent<{
195
208
  type: import("vue").PropType<string | null>;
196
209
  default: null;
197
210
  };
211
+ quickDateScope: {
212
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
213
+ default: null;
214
+ };
198
215
  }>> & {
199
- "onUpdate:date"?: ((args_0: string | null) => any) | undefined;
216
+ "onUpdate:date"?: ((value: string | DateRange | null) => any) | undefined;
200
217
  }, {
201
- type: "time" | "date" | "datetime";
218
+ type: "time" | "date" | "datetime" | "dateRange";
202
219
  placeholder: string | null;
203
220
  disabled: boolean;
204
221
  required: boolean;
@@ -206,6 +223,7 @@ declare const _default: import("vue").DefineComponent<{
206
223
  min: string | null;
207
224
  timeZone: string | null;
208
225
  initialDate: string | null;
226
+ quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
209
227
  }, {}> | import("vue").DefineComponent<{
210
228
  disabled: {
211
229
  type: import("vue").PropType<boolean>;
@@ -295,6 +313,10 @@ declare const _default: import("vue").DefineComponent<{
295
313
  type: import("vue").PropType<number>;
296
314
  default: number;
297
315
  };
316
+ group: {
317
+ type: import("vue").PropType<string>;
318
+ default: string;
319
+ };
298
320
  timeZone: {
299
321
  type: import("vue").PropType<string | null>;
300
322
  default: null;
@@ -303,8 +325,12 @@ declare const _default: import("vue").DefineComponent<{
303
325
  type: import("vue").PropType<string | null>;
304
326
  default: null;
305
327
  };
328
+ quickDateScope: {
329
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
330
+ default: null;
331
+ };
306
332
  modelValue: {
307
- type: import("vue").PropType<string | number | boolean | null>;
333
+ type: import("vue").PropType<string | number | boolean | DateRange | null>;
308
334
  default: undefined;
309
335
  };
310
336
  isRequired: {
@@ -312,7 +338,7 @@ declare const _default: import("vue").DefineComponent<{
312
338
  default: boolean;
313
339
  };
314
340
  inputType: {
315
- type: import("vue").PropType<"number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url">;
341
+ type: import("vue").PropType<"number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "dateRange" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url">;
316
342
  required: true;
317
343
  default: string;
318
344
  };
@@ -348,10 +374,6 @@ declare const _default: import("vue").DefineComponent<{
348
374
  type: import("vue").PropType<string>;
349
375
  default: string;
350
376
  };
351
- group: {
352
- type: import("vue").PropType<string>;
353
- default: string;
354
- };
355
377
  showLabel: {
356
378
  type: import("vue").PropType<boolean>;
357
379
  default: boolean;
@@ -386,7 +408,7 @@ declare const _default: import("vue").DefineComponent<{
386
408
  onInput?: ((args_0: {
387
409
  target: EventTarget | import("vue").DefineComponent<{
388
410
  type: {
389
- type: import("vue").PropType<"time" | "date" | "datetime">;
411
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
390
412
  default: string;
391
413
  };
392
414
  placeholder: {
@@ -402,7 +424,7 @@ declare const _default: import("vue").DefineComponent<{
402
424
  default: boolean;
403
425
  };
404
426
  date: {
405
- type: import("vue").PropType<string | null>;
427
+ type: import("vue").PropType<string | DateRange | null>;
406
428
  required: true;
407
429
  };
408
430
  max: {
@@ -421,13 +443,22 @@ declare const _default: import("vue").DefineComponent<{
421
443
  type: import("vue").PropType<string | null>;
422
444
  default: null;
423
445
  };
446
+ quickDateScope: {
447
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
448
+ default: null;
449
+ };
424
450
  }, {
451
+ /**
452
+ * Handles the `change` event of an input box.
453
+ *
454
+ * @param event The event that was fired.
455
+ */
425
456
  focus(): void;
426
457
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
427
- 'update:date': (args_0: string | null) => void;
458
+ "update:date": (value: string | DateRange | null) => void;
428
459
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
429
460
  type: {
430
- type: import("vue").PropType<"time" | "date" | "datetime">;
461
+ type: import("vue").PropType<"time" | "date" | "datetime" | "dateRange">;
431
462
  default: string;
432
463
  };
433
464
  placeholder: {
@@ -443,7 +474,7 @@ declare const _default: import("vue").DefineComponent<{
443
474
  default: boolean;
444
475
  };
445
476
  date: {
446
- type: import("vue").PropType<string | null>;
477
+ type: import("vue").PropType<string | DateRange | null>;
447
478
  required: true;
448
479
  };
449
480
  max: {
@@ -462,10 +493,14 @@ declare const _default: import("vue").DefineComponent<{
462
493
  type: import("vue").PropType<string | null>;
463
494
  default: null;
464
495
  };
496
+ quickDateScope: {
497
+ type: import("vue").PropType<"past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
498
+ default: null;
499
+ };
465
500
  }>> & {
466
- "onUpdate:date"?: ((args_0: string | null) => any) | undefined;
501
+ "onUpdate:date"?: ((value: string | DateRange | null) => any) | undefined;
467
502
  }, {
468
- type: "time" | "date" | "datetime";
503
+ type: "time" | "date" | "datetime" | "dateRange";
469
504
  placeholder: string | null;
470
505
  disabled: boolean;
471
506
  required: boolean;
@@ -473,6 +508,7 @@ declare const _default: import("vue").DefineComponent<{
473
508
  min: string | null;
474
509
  timeZone: string | null;
475
510
  initialDate: string | null;
511
+ quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
476
512
  }, {}> | import("vue").DefineComponent<{
477
513
  disabled: {
478
514
  type: import("vue").PropType<boolean>;
@@ -545,11 +581,13 @@ declare const _default: import("vue").DefineComponent<{
545
581
  max: string | number | null;
546
582
  min: string | number | null;
547
583
  step: number;
584
+ group: string;
548
585
  timeZone: string | null;
549
586
  initialDate: string | null;
550
- modelValue: string | number | boolean | null;
587
+ quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
588
+ modelValue: string | number | boolean | DateRange | null;
551
589
  isRequired: boolean;
552
- inputType: "number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url";
590
+ inputType: "number" | "button" | "time" | "text" | "color" | "search" | "date" | "datetime" | "dateRange" | "reset" | "checkbox" | "email" | "file" | "password" | "radio" | "range" | "submit" | "tel" | "url";
553
591
  customValidationFunction: (_name: string, _value: InputValueType) => InputValidationState;
554
592
  onInputFunction: (_value: InputValueType) => InputValueType;
555
593
  validateImmediately: boolean;
@@ -558,7 +596,6 @@ declare const _default: import("vue").DefineComponent<{
558
596
  requiredText: string;
559
597
  placeholderText: string;
560
598
  fileExtensions: string;
561
- group: string;
562
599
  showLabel: boolean;
563
600
  showArrows: boolean;
564
601
  highlightWhenValid: boolean;
@@ -1,7 +1,11 @@
1
- export declare const inputTypes: readonly ["button", "checkbox", "color", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "url", "date", "datetime", "time"];
1
+ export declare const inputTypes: readonly ["button", "checkbox", "color", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "url", "date", "datetime", "time", "dateRange"];
2
2
  export type InputType = typeof inputTypes[number];
3
- export type InputValueType = string | number | boolean | null | undefined;
3
+ export type InputValueType = string | DateRange | number | boolean | null | undefined;
4
4
  export interface InputValidationState {
5
5
  valid: boolean;
6
6
  message: string;
7
7
  }
8
+ export interface DateRange {
9
+ start: string;
10
+ end: string;
11
+ }