@citruslime/ui 3.0.0-beta.8 → 3.0.0
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/README.md +3 -3
- package/dist/citrus-lime-ui.es.js +3589 -3340
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +4 -4
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/grid/types.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input/cl-ui-input.vue.d.ts +25 -24
- package/dist/components/input/types.d.ts +1 -4
- package/dist/components/input-v2/index.d.ts +1 -0
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +21 -0
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +108 -0
- package/dist/components/input-v2/input-date-range/index.d.ts +3 -0
- package/dist/components/input-v2/input-date-range/types.d.ts +7 -0
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +9 -0
- package/dist/style.css +1 -1
- package/dist/utils/dates.d.ts +27 -5
- package/dist/utils/i18n/numbers.d.ts +9 -0
- package/dist/utils/i18n/types.d.ts +1 -0
- package/package.json +51 -51
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DateRange } from '../input
|
|
1
|
+
import type { DateRange } from '../input-v2';
|
|
2
2
|
import type { QuickDateName } from './quick-dates';
|
|
3
3
|
import type { CalendarType } from './types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
@@ -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?: "
|
|
14
|
+
quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "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?: "
|
|
41
|
+
quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
|
|
42
42
|
dateFormatLocale?: string | null | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
type: string;
|
|
@@ -62,8 +62,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
62
62
|
max: string | null;
|
|
63
63
|
dateFormatLocale: string | null;
|
|
64
64
|
timeZone: string | null;
|
|
65
|
-
initialDate: string | null;
|
|
66
65
|
quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
66
|
+
initialDate: string | null;
|
|
67
67
|
}, {}>;
|
|
68
68
|
export default _default;
|
|
69
69
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { DateFormat, NumberFormat } from '../../utils';
|
|
1
|
+
import type { DateFormat, ExtendedNumberFormat, NumberFormat } from '../../utils';
|
|
2
2
|
import type { QuickDateName } from '../calendar';
|
|
3
3
|
import type { ComboBoxItem } from '../combo-box';
|
|
4
4
|
import type { InputValueType } from '../input';
|
|
5
5
|
export interface GridConfig {
|
|
6
6
|
rowSelectionEnabled: boolean;
|
|
7
|
-
highlightRowSelection: boolean;
|
|
7
|
+
highlightRowSelection: boolean | 'cursor-pointer-only';
|
|
8
8
|
hideViewManager: boolean;
|
|
9
9
|
disableUnsavedChangesWarning: boolean;
|
|
10
10
|
}
|
|
@@ -22,7 +22,7 @@ export interface GridColumn<T = Record<string, unknown>> {
|
|
|
22
22
|
slotType?: Exclude<GridColumnType, 'slot'>;
|
|
23
23
|
listType?: Exclude<GridColumnType, 'list' | 'slot' | 'date' | 'datetime' | 'dateRange' | 'boolean'>;
|
|
24
24
|
listEntries?: GridColumnListEntry[];
|
|
25
|
-
format?: StringFormat | DateFormat | NumberFormat;
|
|
25
|
+
format?: StringFormat | DateFormat | NumberFormat | ExtendedNumberFormat;
|
|
26
26
|
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[];
|
|
27
27
|
maxLength?: number;
|
|
28
28
|
visible?: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { CurrencyInputOptions } from 'vue-currency-input';
|
|
2
2
|
import type { QuickDateName } from '../calendar/quick-dates';
|
|
3
|
-
import type {
|
|
3
|
+
import type { DateRange } from '../input-v2';
|
|
4
|
+
import type { InputValidationState, InputType, InputValueType } from './types';
|
|
4
5
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
5
|
-
inputType?: "number" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "reset" | "submit" | "url" | "
|
|
6
|
+
inputType?: "number" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "reset" | "submit" | "url" | "currency" | "datetime" | "dateRange" | undefined;
|
|
6
7
|
modelValue?: InputValueType;
|
|
7
8
|
label?: string | undefined;
|
|
8
9
|
isRequired?: boolean | undefined;
|
|
@@ -28,7 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
29
|
showValidationMessages?: boolean | undefined;
|
|
29
30
|
hideRequiredAsterisk?: boolean | undefined;
|
|
30
31
|
initialDate?: string | null | undefined;
|
|
31
|
-
quickDateScope?: "
|
|
32
|
+
quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
|
|
32
33
|
dateFormatLocale?: string | null | undefined;
|
|
33
34
|
currencyOptions?: CurrencyInputOptions | undefined;
|
|
34
35
|
}>, {
|
|
@@ -103,12 +104,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
103
104
|
type: import("vue").PropType<string | null>;
|
|
104
105
|
default: null;
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
-
type: import("vue").PropType<
|
|
107
|
+
quickDateScope: {
|
|
108
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
|
|
108
109
|
default: null;
|
|
109
110
|
};
|
|
110
|
-
|
|
111
|
-
type: import("vue").PropType<
|
|
111
|
+
initialDate: {
|
|
112
|
+
type: import("vue").PropType<string | null>;
|
|
112
113
|
default: null;
|
|
113
114
|
};
|
|
114
115
|
}, {
|
|
@@ -152,12 +153,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
152
153
|
type: import("vue").PropType<string | null>;
|
|
153
154
|
default: null;
|
|
154
155
|
};
|
|
155
|
-
|
|
156
|
-
type: import("vue").PropType<
|
|
156
|
+
quickDateScope: {
|
|
157
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
|
|
157
158
|
default: null;
|
|
158
159
|
};
|
|
159
|
-
|
|
160
|
-
type: import("vue").PropType<
|
|
160
|
+
initialDate: {
|
|
161
|
+
type: import("vue").PropType<string | null>;
|
|
161
162
|
default: null;
|
|
162
163
|
};
|
|
163
164
|
}>> & {
|
|
@@ -171,8 +172,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
171
172
|
max: string | null;
|
|
172
173
|
dateFormatLocale: string | null;
|
|
173
174
|
timeZone: string | null;
|
|
175
|
+
quickDateScope: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
|
|
174
176
|
initialDate: 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
177
|
}, {}> | import("vue").DefineComponent<{
|
|
177
178
|
value: {
|
|
178
179
|
required: true;
|
|
@@ -241,7 +242,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
241
242
|
"update:model-value": (args_0: InputValueType) => void;
|
|
242
243
|
validated: (args_0: boolean, args_1: InputValueType) => void;
|
|
243
244
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
244
|
-
inputType?: "number" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "reset" | "submit" | "url" | "
|
|
245
|
+
inputType?: "number" | "search" | "button" | "time" | "text" | "color" | "email" | "tel" | "password" | "checkbox" | "date" | "file" | "radio" | "range" | "reset" | "submit" | "url" | "currency" | "datetime" | "dateRange" | undefined;
|
|
245
246
|
modelValue?: InputValueType;
|
|
246
247
|
label?: string | undefined;
|
|
247
248
|
isRequired?: boolean | undefined;
|
|
@@ -267,7 +268,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
267
268
|
showValidationMessages?: boolean | undefined;
|
|
268
269
|
hideRequiredAsterisk?: boolean | undefined;
|
|
269
270
|
initialDate?: string | null | undefined;
|
|
270
|
-
quickDateScope?: "
|
|
271
|
+
quickDateScope?: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null | undefined;
|
|
271
272
|
dateFormatLocale?: string | null | undefined;
|
|
272
273
|
currencyOptions?: CurrencyInputOptions | undefined;
|
|
273
274
|
}>, {
|
|
@@ -341,12 +342,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
341
342
|
type: import("vue").PropType<string | null>;
|
|
342
343
|
default: null;
|
|
343
344
|
};
|
|
344
|
-
|
|
345
|
-
type: import("vue").PropType<
|
|
345
|
+
quickDateScope: {
|
|
346
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
|
|
346
347
|
default: null;
|
|
347
348
|
};
|
|
348
|
-
|
|
349
|
-
type: import("vue").PropType<
|
|
349
|
+
initialDate: {
|
|
350
|
+
type: import("vue").PropType<string | null>;
|
|
350
351
|
default: null;
|
|
351
352
|
};
|
|
352
353
|
}, {
|
|
@@ -390,12 +391,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
390
391
|
type: import("vue").PropType<string | null>;
|
|
391
392
|
default: null;
|
|
392
393
|
};
|
|
393
|
-
|
|
394
|
-
type: import("vue").PropType<
|
|
394
|
+
quickDateScope: {
|
|
395
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
|
|
395
396
|
default: null;
|
|
396
397
|
};
|
|
397
|
-
|
|
398
|
-
type: import("vue").PropType<
|
|
398
|
+
initialDate: {
|
|
399
|
+
type: import("vue").PropType<string | null>;
|
|
399
400
|
default: null;
|
|
400
401
|
};
|
|
401
402
|
}>> & {
|
|
@@ -409,8 +410,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
409
410
|
max: string | null;
|
|
410
411
|
dateFormatLocale: string | null;
|
|
411
412
|
timeZone: string | null;
|
|
413
|
+
quickDateScope: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
|
|
412
414
|
initialDate: 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
415
|
}, {}> | import("vue").DefineComponent<{
|
|
415
416
|
value: {
|
|
416
417
|
required: true;
|
|
@@ -489,8 +490,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
489
490
|
dateFormatLocale: string | null;
|
|
490
491
|
timeZone: string | null;
|
|
491
492
|
isRequired: boolean;
|
|
492
|
-
initialDate: string | null;
|
|
493
493
|
quickDateScope: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
494
|
+
initialDate: string | null;
|
|
494
495
|
currencyOptions: CurrencyInputOptions;
|
|
495
496
|
highlightWhenValid: boolean;
|
|
496
497
|
inputSpecificClasses: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DateRange } from '../input-v2';
|
|
1
2
|
export declare const inputTypes: readonly ["button", "checkbox", "color", "currency", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "url", "date", "datetime", "time", "dateRange"];
|
|
2
3
|
export type InputType = typeof inputTypes[number];
|
|
3
4
|
export type InputValueType = string | DateRange | number | boolean | null | undefined;
|
|
@@ -5,7 +6,3 @@ export interface InputValidationState {
|
|
|
5
6
|
valid: boolean;
|
|
6
7
|
message: string;
|
|
7
8
|
}
|
|
8
|
-
export interface DateRange {
|
|
9
|
-
start: string;
|
|
10
|
-
end: string;
|
|
11
|
-
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
required: boolean;
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
dateRangeSelected: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
[x: string]: (...args: unknown[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
|
+
required: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
dateRangeSelected: boolean;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { DateRange } from './types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<DateRange | null>;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
required: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
minDate: {
|
|
16
|
+
type: import("vue").PropType<string | null>;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
maxDate: {
|
|
20
|
+
type: import("vue").PropType<string | null>;
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
initialCalendarDate: {
|
|
24
|
+
type: import("vue").PropType<string | null>;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
dateFormatLocale: {
|
|
28
|
+
type: import("vue").PropType<string | null>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
timeZone: {
|
|
32
|
+
type: import("vue").PropType<string | null>;
|
|
33
|
+
default: null;
|
|
34
|
+
};
|
|
35
|
+
popoverPlacement: {
|
|
36
|
+
type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
quickDateScope: {
|
|
40
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("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
|
+
};
|
|
43
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
"update:modelValue": (modelValue: DateRange | null) => void;
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
modelValue: {
|
|
47
|
+
required: true;
|
|
48
|
+
type: import("vue").PropType<DateRange | null>;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
required: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
minDate: {
|
|
59
|
+
type: import("vue").PropType<string | null>;
|
|
60
|
+
default: null;
|
|
61
|
+
};
|
|
62
|
+
maxDate: {
|
|
63
|
+
type: import("vue").PropType<string | null>;
|
|
64
|
+
default: null;
|
|
65
|
+
};
|
|
66
|
+
initialCalendarDate: {
|
|
67
|
+
type: import("vue").PropType<string | null>;
|
|
68
|
+
default: null;
|
|
69
|
+
};
|
|
70
|
+
dateFormatLocale: {
|
|
71
|
+
type: import("vue").PropType<string | null>;
|
|
72
|
+
default: null;
|
|
73
|
+
};
|
|
74
|
+
timeZone: {
|
|
75
|
+
type: import("vue").PropType<string | null>;
|
|
76
|
+
default: null;
|
|
77
|
+
};
|
|
78
|
+
popoverPlacement: {
|
|
79
|
+
type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
quickDateScope: {
|
|
83
|
+
type: import("vue").PropType<"past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null>;
|
|
84
|
+
default: null;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
"onUpdate:modelValue"?: ((modelValue: DateRange | null) => any) | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
required: boolean;
|
|
91
|
+
minDate: string | null;
|
|
92
|
+
maxDate: string | null;
|
|
93
|
+
initialCalendarDate: string | null;
|
|
94
|
+
dateFormatLocale: string | null;
|
|
95
|
+
timeZone: string | null;
|
|
96
|
+
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
97
|
+
quickDateScope: "past" | "future" | "none" | ("today" | "this week" | "this month" | "this year" | "yesterday" | "last week" | "last month" | "last year" | "tomorrow" | "next week" | "next month" | "next year")[] | null;
|
|
98
|
+
}, {}>, Readonly<{
|
|
99
|
+
default: () => any;
|
|
100
|
+
}> & {
|
|
101
|
+
default: () => any;
|
|
102
|
+
}>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const popoverPlacements: readonly ["auto", "auto-start", "auto-end", "top-start", "top-end", "bottom-start", "bottom-end", "right-start", "right-end", "left-start", "left-end"];
|
|
2
|
+
export type DateRangeCalendarType = 'dateRange';
|
|
3
|
+
export type PopoverPlacement = typeof popoverPlacements[number] | undefined;
|
|
4
|
+
export interface DateRange {
|
|
5
|
+
start: string;
|
|
6
|
+
end: string;
|
|
7
|
+
}
|
|
@@ -39,6 +39,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
39
|
type: import("vue").PropType<string | null>;
|
|
40
40
|
default: null;
|
|
41
41
|
};
|
|
42
|
+
popoverPlacement: {
|
|
43
|
+
type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
42
46
|
}, {
|
|
43
47
|
focus(): void;
|
|
44
48
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -85,6 +89,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
85
89
|
type: import("vue").PropType<string | null>;
|
|
86
90
|
default: null;
|
|
87
91
|
};
|
|
92
|
+
popoverPlacement: {
|
|
93
|
+
type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
88
96
|
}>> & {
|
|
89
97
|
onFocus?: (() => any) | undefined;
|
|
90
98
|
"onUpdate:modelValue"?: ((modelValue: string | null) => any) | undefined;
|
|
@@ -98,6 +106,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
98
106
|
initialCalendarDate: string | null;
|
|
99
107
|
dateFormatLocale: string | null;
|
|
100
108
|
timeZone: string | null;
|
|
109
|
+
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
101
110
|
}, {}>, Readonly<{
|
|
102
111
|
default: () => any;
|
|
103
112
|
}> & {
|