@citruslime/ui 3.0.0-beta.7 → 3.0.0-beta.9

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.
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  timeZone?: string | null | undefined;
12
12
  placeholder?: string | null | undefined;
13
13
  initialDate?: string | null | undefined;
14
- quickDateScope?: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null | undefined;
14
+ quickDateScope?: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null | undefined;
15
15
  dateFormatLocale?: string | null | undefined;
16
16
  }>, {
17
17
  type: string;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
38
  timeZone?: string | null | undefined;
39
39
  placeholder?: string | null | undefined;
40
40
  initialDate?: string | null | undefined;
41
- quickDateScope?: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null | undefined;
41
+ quickDateScope?: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null | undefined;
42
42
  dateFormatLocale?: string | null | undefined;
43
43
  }>, {
44
44
  type: string;
@@ -60,10 +60,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
60
60
  placeholder: string | null;
61
61
  min: string | null;
62
62
  max: string | null;
63
+ dateFormatLocale: string | null;
63
64
  timeZone: string | null;
64
65
  initialDate: string | null;
65
66
  quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
66
- dateFormatLocale: string | null;
67
67
  }, {}>;
68
68
  export default _default;
69
69
  type __VLS_WithDefaults<P, D> = {
@@ -43,9 +43,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
43
43
  "onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
44
44
  }, {
45
45
  group: string;
46
+ step: number;
46
47
  highlightWhenValid: boolean;
47
48
  inputSpecificClasses: string;
48
- step: number;
49
49
  }, {}>;
50
50
  export default _default;
51
51
  type __VLS_WithDefaults<P, D> = {
@@ -51,8 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
51
  "onEdit-end"?: (() => any) | undefined;
52
52
  }, {
53
53
  data: FilterResponse<unknown> | null;
54
- timeZone: string | null;
55
54
  dateFormatLocale: string | null;
55
+ timeZone: string | null;
56
56
  options: Partial<GridConfig>;
57
57
  headerDisplayTimezone: string | null;
58
58
  }, {}>, Readonly<Record<string, (props: import("./types").CellSlot & Partial<{
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
28
  showValidationMessages?: boolean | undefined;
29
29
  hideRequiredAsterisk?: boolean | undefined;
30
30
  initialDate?: string | null | undefined;
31
- quickDateScope?: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null | undefined;
31
+ quickDateScope?: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null | undefined;
32
32
  dateFormatLocale?: string | null | undefined;
33
33
  currencyOptions?: CurrencyInputOptions | undefined;
34
34
  }>, {
@@ -95,6 +95,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
95
95
  type: import("vue").PropType<string | null>;
96
96
  default: null;
97
97
  };
98
+ dateFormatLocale: {
99
+ type: import("vue").PropType<string | null>;
100
+ default: null;
101
+ };
98
102
  timeZone: {
99
103
  type: import("vue").PropType<string | null>;
100
104
  default: null;
@@ -104,11 +108,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
104
108
  default: null;
105
109
  };
106
110
  quickDateScope: {
107
- 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")[] | "none" | null>;
108
- default: null;
109
- };
110
- dateFormatLocale: {
111
- type: import("vue").PropType<string | null>;
111
+ type: import("vue").PropType<"none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null>;
112
112
  default: null;
113
113
  };
114
114
  }, {
@@ -144,6 +144,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
144
144
  type: import("vue").PropType<string | null>;
145
145
  default: null;
146
146
  };
147
+ dateFormatLocale: {
148
+ type: import("vue").PropType<string | null>;
149
+ default: null;
150
+ };
147
151
  timeZone: {
148
152
  type: import("vue").PropType<string | null>;
149
153
  default: null;
@@ -153,11 +157,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
153
157
  default: null;
154
158
  };
155
159
  quickDateScope: {
156
- 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")[] | "none" | null>;
157
- default: null;
158
- };
159
- dateFormatLocale: {
160
- type: import("vue").PropType<string | null>;
160
+ type: import("vue").PropType<"none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null>;
161
161
  default: null;
162
162
  };
163
163
  }>> & {
@@ -169,10 +169,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
169
169
  placeholder: string | null;
170
170
  min: string | null;
171
171
  max: string | null;
172
+ dateFormatLocale: string | null;
172
173
  timeZone: string | null;
173
174
  initialDate: string | null;
174
- quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null;
175
- dateFormatLocale: string | null;
175
+ quickDateScope: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null;
176
176
  }, {}> | import("vue").DefineComponent<{
177
177
  value: {
178
178
  required: true;
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
267
267
  showValidationMessages?: boolean | undefined;
268
268
  hideRequiredAsterisk?: boolean | undefined;
269
269
  initialDate?: string | null | undefined;
270
- quickDateScope?: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null | undefined;
270
+ quickDateScope?: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null | undefined;
271
271
  dateFormatLocale?: string | null | undefined;
272
272
  currencyOptions?: CurrencyInputOptions | undefined;
273
273
  }>, {
@@ -333,6 +333,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
333
333
  type: import("vue").PropType<string | null>;
334
334
  default: null;
335
335
  };
336
+ dateFormatLocale: {
337
+ type: import("vue").PropType<string | null>;
338
+ default: null;
339
+ };
336
340
  timeZone: {
337
341
  type: import("vue").PropType<string | null>;
338
342
  default: null;
@@ -342,11 +346,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
342
346
  default: null;
343
347
  };
344
348
  quickDateScope: {
345
- 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")[] | "none" | null>;
346
- default: null;
347
- };
348
- dateFormatLocale: {
349
- type: import("vue").PropType<string | null>;
349
+ type: import("vue").PropType<"none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null>;
350
350
  default: null;
351
351
  };
352
352
  }, {
@@ -382,6 +382,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
382
382
  type: import("vue").PropType<string | null>;
383
383
  default: null;
384
384
  };
385
+ dateFormatLocale: {
386
+ type: import("vue").PropType<string | null>;
387
+ default: null;
388
+ };
385
389
  timeZone: {
386
390
  type: import("vue").PropType<string | null>;
387
391
  default: null;
@@ -391,11 +395,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
391
395
  default: null;
392
396
  };
393
397
  quickDateScope: {
394
- 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")[] | "none" | null>;
395
- default: null;
396
- };
397
- dateFormatLocale: {
398
- type: import("vue").PropType<string | null>;
398
+ type: import("vue").PropType<"none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null>;
399
399
  default: null;
400
400
  };
401
401
  }>> & {
@@ -407,10 +407,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
407
407
  placeholder: string | null;
408
408
  min: string | null;
409
409
  max: string | null;
410
+ dateFormatLocale: string | null;
410
411
  timeZone: string | null;
411
412
  initialDate: string | null;
412
- quickDateScope: "past" | "future" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | "none" | null;
413
- dateFormatLocale: string | null;
413
+ quickDateScope: "none" | "past" | "future" | ("today" | "tomorrow" | "yesterday" | "this week" | "this month" | "this year" | "last week" | "last month" | "last year" | "next week" | "next month" | "next year")[] | null;
414
414
  }, {}> | import("vue").DefineComponent<{
415
415
  value: {
416
416
  required: true;
@@ -484,16 +484,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
484
484
  group: string;
485
485
  min: number | string | null;
486
486
  max: number | string | null;
487
+ showArrows: boolean;
488
+ step: number;
489
+ dateFormatLocale: string | null;
487
490
  timeZone: string | null;
491
+ isRequired: boolean;
488
492
  initialDate: string | null;
489
493
  quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
490
- dateFormatLocale: string | null;
491
- isRequired: boolean;
492
494
  currencyOptions: CurrencyInputOptions;
493
495
  highlightWhenValid: boolean;
494
496
  inputSpecificClasses: string;
495
- step: number;
496
- showArrows: boolean;
497
497
  inputType: InputType;
498
498
  customValidationFunction: (_name: string, _value: InputValueType) => InputValidationState;
499
499
  onInputFunction: (_value: InputValueType) => InputValueType;
@@ -2,3 +2,4 @@ export * from './input-text';
2
2
  export * from './input-number';
3
3
  export * from './input-checkbox';
4
4
  export * from './input-range';
5
+ export * from './input-datetime';
@@ -0,0 +1,111 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ modelValue: {
3
+ required: true;
4
+ type: import("vue").PropType<string | null>;
5
+ };
6
+ type: {
7
+ type: import("vue").PropType<"time" | "date" | "datetime">;
8
+ default: string;
9
+ };
10
+ disabled: {
11
+ type: import("vue").PropType<boolean>;
12
+ default: boolean;
13
+ };
14
+ required: {
15
+ type: import("vue").PropType<boolean>;
16
+ default: boolean;
17
+ };
18
+ placeholder: {
19
+ type: import("vue").PropType<string | null>;
20
+ default: null;
21
+ };
22
+ minDate: {
23
+ type: import("vue").PropType<string | null>;
24
+ default: null;
25
+ };
26
+ maxDate: {
27
+ type: import("vue").PropType<string | null>;
28
+ default: null;
29
+ };
30
+ initialCalendarDate: {
31
+ type: import("vue").PropType<string | null>;
32
+ default: null;
33
+ };
34
+ dateFormatLocale: {
35
+ type: import("vue").PropType<string | null>;
36
+ default: null;
37
+ };
38
+ timeZone: {
39
+ type: import("vue").PropType<string | null>;
40
+ default: null;
41
+ };
42
+ }, {
43
+ focus(): void;
44
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
+ "update:modelValue": (modelValue: string | null) => void;
46
+ focus: () => void;
47
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
+ modelValue: {
49
+ required: true;
50
+ type: import("vue").PropType<string | null>;
51
+ };
52
+ type: {
53
+ type: import("vue").PropType<"time" | "date" | "datetime">;
54
+ default: string;
55
+ };
56
+ disabled: {
57
+ type: import("vue").PropType<boolean>;
58
+ default: boolean;
59
+ };
60
+ required: {
61
+ type: import("vue").PropType<boolean>;
62
+ default: boolean;
63
+ };
64
+ placeholder: {
65
+ type: import("vue").PropType<string | null>;
66
+ default: null;
67
+ };
68
+ minDate: {
69
+ type: import("vue").PropType<string | null>;
70
+ default: null;
71
+ };
72
+ maxDate: {
73
+ type: import("vue").PropType<string | null>;
74
+ default: null;
75
+ };
76
+ initialCalendarDate: {
77
+ type: import("vue").PropType<string | null>;
78
+ default: null;
79
+ };
80
+ dateFormatLocale: {
81
+ type: import("vue").PropType<string | null>;
82
+ default: null;
83
+ };
84
+ timeZone: {
85
+ type: import("vue").PropType<string | null>;
86
+ default: null;
87
+ };
88
+ }>> & {
89
+ onFocus?: (() => any) | undefined;
90
+ "onUpdate:modelValue"?: ((modelValue: string | null) => any) | undefined;
91
+ }, {
92
+ type: "time" | "date" | "datetime";
93
+ disabled: boolean;
94
+ required: boolean;
95
+ placeholder: string | null;
96
+ minDate: string | null;
97
+ maxDate: string | null;
98
+ initialCalendarDate: string | null;
99
+ dateFormatLocale: string | null;
100
+ timeZone: string | null;
101
+ }, {}>, Readonly<{
102
+ default: () => any;
103
+ }> & {
104
+ default: () => any;
105
+ }>;
106
+ export default _default;
107
+ type __VLS_WithTemplateSlots<T, S> = T & {
108
+ new (): {
109
+ $slots: S;
110
+ };
111
+ };
@@ -0,0 +1,2 @@
1
+ export { default as clUiInputDateTime } from './cl-ui-input-datetime.vue';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ export declare const dateTimeCalendarTypes: readonly ["date", "datetime", "time"];
2
+ export type DateTimeCalendarType = typeof dateTimeCalendarTypes[number];
@@ -25,25 +25,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
25
  type: import("vue").PropType<string | null>;
26
26
  default: null;
27
27
  };
28
- min: {
29
- type: import("vue").PropType<number | null>;
30
- default: null;
31
- };
32
- max: {
33
- type: import("vue").PropType<number | null>;
34
- default: null;
35
- };
36
28
  currency: {
37
29
  type: import("vue").PropType<string | null>;
38
30
  default: null;
39
31
  };
32
+ format: {
33
+ type: import("vue").PropType<ExtendedNumberFormat>;
34
+ default: NumberFormat;
35
+ };
40
36
  precision: {
41
37
  type: import("vue").PropType<number>;
42
38
  default: number;
43
39
  };
44
- format: {
45
- type: import("vue").PropType<ExtendedNumberFormat>;
46
- default: NumberFormat;
40
+ min: {
41
+ type: import("vue").PropType<number | null>;
42
+ default: null;
43
+ };
44
+ max: {
45
+ type: import("vue").PropType<number | null>;
46
+ default: null;
47
47
  };
48
48
  showArrows: {
49
49
  type: import("vue").PropType<boolean>;
@@ -85,25 +85,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
85
  type: import("vue").PropType<string | null>;
86
86
  default: null;
87
87
  };
88
- min: {
89
- type: import("vue").PropType<number | null>;
90
- default: null;
91
- };
92
- max: {
93
- type: import("vue").PropType<number | null>;
94
- default: null;
95
- };
96
88
  currency: {
97
89
  type: import("vue").PropType<string | null>;
98
90
  default: null;
99
91
  };
92
+ format: {
93
+ type: import("vue").PropType<ExtendedNumberFormat>;
94
+ default: NumberFormat;
95
+ };
100
96
  precision: {
101
97
  type: import("vue").PropType<number>;
102
98
  default: number;
103
99
  };
104
- format: {
105
- type: import("vue").PropType<ExtendedNumberFormat>;
106
- default: NumberFormat;
100
+ min: {
101
+ type: import("vue").PropType<number | null>;
102
+ default: null;
103
+ };
104
+ max: {
105
+ type: import("vue").PropType<number | null>;
106
+ default: null;
107
107
  };
108
108
  showArrows: {
109
109
  type: import("vue").PropType<boolean>;
@@ -123,11 +123,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
123
123
  errors: string[];
124
124
  placeholder: string | null;
125
125
  locale: string | null;
126
- min: number | null;
127
- max: number | null;
128
126
  currency: string | null;
129
- precision: number;
130
127
  format: ExtendedNumberFormat;
128
+ precision: number;
129
+ min: number | null;
130
+ max: number | null;
131
131
  showArrows: boolean;
132
132
  allowEmpty: boolean;
133
133
  }, {}>, Readonly<{
@@ -19,6 +19,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
19
19
  type: import("vue").PropType<string | null>;
20
20
  default: null;
21
21
  };
22
+ precision: {
23
+ type: import("vue").PropType<number>;
24
+ default: number;
25
+ };
22
26
  min: {
23
27
  type: import("vue").PropType<number>;
24
28
  required: true;
@@ -27,10 +31,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
31
  type: import("vue").PropType<number>;
28
32
  required: true;
29
33
  };
30
- precision: {
31
- type: import("vue").PropType<number>;
32
- default: number;
33
- };
34
34
  }, {
35
35
  focus: () => any;
36
36
  blur: () => any;
@@ -57,6 +57,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
57
  type: import("vue").PropType<string | null>;
58
58
  default: null;
59
59
  };
60
+ precision: {
61
+ type: import("vue").PropType<number>;
62
+ default: number;
63
+ };
60
64
  min: {
61
65
  type: import("vue").PropType<number>;
62
66
  required: true;
@@ -65,10 +69,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
69
  type: import("vue").PropType<number>;
66
70
  required: true;
67
71
  };
68
- precision: {
69
- type: import("vue").PropType<number>;
70
- default: number;
71
- };
72
72
  }>> & {
73
73
  "onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
74
74
  }, {