@citruslime/ui 4.0.0-beta.8 → 4.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 +1 -1
- package/dist/citrus-lime-ui.es.js +4024 -3902
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
- package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
- package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
- package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
- package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
- package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
- package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
- package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
- package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
- package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
- package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
- package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
- package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
- package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
- package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
- package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
- package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
- package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
- package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
- package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
- package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
- package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
- package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
- package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
- package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
- package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
- package/dist/ui.css +1 -0
- package/dist/utils/injectionKeys.d.ts +1 -1
- package/package.json +13 -9
- package/dist/style.css +0 -1
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
required: boolean;
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
dateRangeSelected: boolean;
|
|
5
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
-
required: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
dateRangeSelected: boolean;
|
|
9
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToOption<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
5
|
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
clear: (args_0: void) => any;
|
|
8
|
+
togglePopover: (args_0: void) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onClear?: ((args_0?: void | undefined) => any) | undefined;
|
|
11
|
+
onTogglePopover?: ((args_0?: void | undefined) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,90 +1,27 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
}>, {}, {}, {}, {}, 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
|
-
}>> & Readonly<{
|
|
87
|
-
"onUpdate:modelValue"?: ((modelValue: DateRange | null) => any) | undefined;
|
|
1
|
+
import type { QuickDateName } from '../../calendar/quick-dates';
|
|
2
|
+
import type { PopoverPlacement, DateRange } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
minDate?: string | null;
|
|
5
|
+
maxDate?: string | null;
|
|
6
|
+
initialCalendarDate?: string | null;
|
|
7
|
+
dateFormatLocale?: string | null;
|
|
8
|
+
timeZone?: string | null;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
12
|
+
popoverPlacement?: PopoverPlacement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = {
|
|
15
|
+
default: () => any;
|
|
16
|
+
'help-text': () => any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
19
|
+
modelValue: DateRange | null;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: DateRange | null) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
"onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
|
|
88
25
|
}>, {
|
|
89
26
|
disabled: boolean;
|
|
90
27
|
required: boolean;
|
|
@@ -94,16 +31,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
94
31
|
dateFormatLocale: string | null;
|
|
95
32
|
timeZone: string | null;
|
|
96
33
|
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" |
|
|
98
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
99
|
-
|
|
100
|
-
'help-text': () => any;
|
|
101
|
-
}> & {
|
|
102
|
-
default: () => any;
|
|
103
|
-
'help-text': () => any;
|
|
104
|
-
}>;
|
|
34
|
+
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
105
37
|
export default _default;
|
|
106
|
-
type
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
107
39
|
new (): {
|
|
108
40
|
$slots: S;
|
|
109
41
|
};
|
|
@@ -1,111 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
disabled
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
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
|
-
};
|
|
46
|
-
showPopover: {
|
|
47
|
-
type: import("vue").PropType<boolean>;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
}>, {
|
|
1
|
+
import type { PopoverPlacement } from '../input-date-range/types';
|
|
2
|
+
import type { DateTimeCalendarType } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
type?: DateTimeCalendarType;
|
|
5
|
+
minDate?: string | null;
|
|
6
|
+
maxDate?: string | null;
|
|
7
|
+
initialCalendarDate?: string | null;
|
|
8
|
+
dateFormatLocale?: string | null;
|
|
9
|
+
timeZone?: string | null;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
placeholder?: string | null;
|
|
13
|
+
popoverPlacement?: PopoverPlacement;
|
|
14
|
+
showPopover?: boolean;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {
|
|
17
|
+
default: () => any;
|
|
18
|
+
'help-text': () => any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
21
|
+
modelValue: string | null;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
51
24
|
focus(): void;
|
|
52
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
required: true;
|
|
58
|
-
type: import("vue").PropType<string | null>;
|
|
59
|
-
};
|
|
60
|
-
type: {
|
|
61
|
-
type: import("vue").PropType<"time" | "date" | "datetime">;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
disabled: {
|
|
65
|
-
type: import("vue").PropType<boolean>;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
required: {
|
|
69
|
-
type: import("vue").PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
placeholder: {
|
|
73
|
-
type: import("vue").PropType<string | null>;
|
|
74
|
-
default: null;
|
|
75
|
-
};
|
|
76
|
-
minDate: {
|
|
77
|
-
type: import("vue").PropType<string | null>;
|
|
78
|
-
default: null;
|
|
79
|
-
};
|
|
80
|
-
maxDate: {
|
|
81
|
-
type: import("vue").PropType<string | null>;
|
|
82
|
-
default: null;
|
|
83
|
-
};
|
|
84
|
-
initialCalendarDate: {
|
|
85
|
-
type: import("vue").PropType<string | null>;
|
|
86
|
-
default: null;
|
|
87
|
-
};
|
|
88
|
-
dateFormatLocale: {
|
|
89
|
-
type: import("vue").PropType<string | null>;
|
|
90
|
-
default: null;
|
|
91
|
-
};
|
|
92
|
-
timeZone: {
|
|
93
|
-
type: import("vue").PropType<string | null>;
|
|
94
|
-
default: null;
|
|
95
|
-
};
|
|
96
|
-
popoverPlacement: {
|
|
97
|
-
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">;
|
|
98
|
-
default: string;
|
|
99
|
-
};
|
|
100
|
-
showPopover: {
|
|
101
|
-
type: import("vue").PropType<boolean>;
|
|
102
|
-
default: undefined;
|
|
103
|
-
};
|
|
104
|
-
}>> & Readonly<{
|
|
26
|
+
focus: () => any;
|
|
27
|
+
blur: () => any;
|
|
28
|
+
"update:modelValue": (value: string | null) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
105
30
|
onFocus?: (() => any) | undefined;
|
|
106
|
-
|
|
31
|
+
onBlur?: (() => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
107
33
|
}>, {
|
|
108
|
-
type:
|
|
34
|
+
type: DateTimeCalendarType;
|
|
109
35
|
disabled: boolean;
|
|
110
36
|
required: boolean;
|
|
111
37
|
placeholder: string | null;
|
|
@@ -116,15 +42,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
116
42
|
timeZone: string | null;
|
|
117
43
|
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
118
44
|
showPopover: boolean;
|
|
119
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
120
|
-
|
|
121
|
-
'help-text': () => any;
|
|
122
|
-
}> & {
|
|
123
|
-
default: () => any;
|
|
124
|
-
'help-text': () => any;
|
|
125
|
-
}>;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
126
47
|
export default _default;
|
|
127
|
-
type
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
128
49
|
new (): {
|
|
129
50
|
$slots: S;
|
|
130
51
|
};
|
|
@@ -1,49 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
showRequiredAsterisk: boolean;
|
|
3
|
-
errors?: string[] | null
|
|
4
|
-
labelPosition?:
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
labelPosition: string;
|
|
8
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
|
-
showRequiredAsterisk: boolean;
|
|
10
|
-
errors?: string[] | null | undefined;
|
|
11
|
-
labelPosition?: "above" | "right" | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
errors: null;
|
|
14
|
-
labelPosition: string;
|
|
15
|
-
}>>> & Readonly<{}>, {
|
|
16
|
-
errors: string[] | null;
|
|
17
|
-
labelPosition: "above" | "right";
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
19
|
-
default(): any;
|
|
20
|
-
label(): any;
|
|
21
|
-
helpText(): any;
|
|
22
|
-
}> & {
|
|
3
|
+
errors?: string[] | null;
|
|
4
|
+
labelPosition?: 'above' | 'right';
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
23
7
|
default(): any;
|
|
24
8
|
label(): any;
|
|
25
9
|
helpText(): any;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
10
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
errors: string[] | null;
|
|
13
|
+
labelPosition: "above" | "right";
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
18
|
new (): {
|
|
38
19
|
$slots: S;
|
|
39
20
|
};
|
|
40
21
|
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,144 +1,58 @@
|
|
|
1
|
-
import { NumberFormat } from '../../../utils/i18n/types';
|
|
2
1
|
import type { ExtendedNumberFormat } from '../../../utils/i18n/types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
locale: {
|
|
29
|
-
type: import("vue").PropType<string | null>;
|
|
30
|
-
default: null;
|
|
31
|
-
};
|
|
32
|
-
currency: {
|
|
33
|
-
type: import("vue").PropType<string | null>;
|
|
34
|
-
default: null;
|
|
35
|
-
};
|
|
36
|
-
format: {
|
|
37
|
-
type: import("vue").PropType<ExtendedNumberFormat>;
|
|
38
|
-
default: NumberFormat;
|
|
39
|
-
};
|
|
40
|
-
precision: {
|
|
41
|
-
type: import("vue").PropType<number>;
|
|
42
|
-
default: number;
|
|
43
|
-
};
|
|
44
|
-
min: {
|
|
45
|
-
type: import("vue").PropType<number | null>;
|
|
46
|
-
default: null;
|
|
47
|
-
};
|
|
48
|
-
showArrows: {
|
|
49
|
-
type: import("vue").PropType<boolean>;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
allowEmpty: {
|
|
53
|
-
type: import("vue").PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
errors?: string[] | null;
|
|
4
|
+
format?: ExtendedNumberFormat;
|
|
5
|
+
locale?: string | null;
|
|
6
|
+
currency?: string | null;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
placeholder?: string | null;
|
|
10
|
+
precision?: number;
|
|
11
|
+
min?: number | null;
|
|
12
|
+
max?: number | null;
|
|
13
|
+
showArrows?: boolean;
|
|
14
|
+
allowEmpty?: boolean;
|
|
15
|
+
selectOnFocus?: boolean;
|
|
16
|
+
allowKeyboardArrowKeyInput?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {
|
|
19
|
+
default: [];
|
|
20
|
+
'help-text': [];
|
|
21
|
+
};
|
|
22
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
23
|
+
modelValue: number | null;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
57
26
|
focus: () => void | undefined;
|
|
58
27
|
blur: () => void | undefined;
|
|
28
|
+
select: () => void;
|
|
59
29
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
-
|
|
61
|
-
blur: () =>
|
|
62
|
-
|
|
63
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
64
|
-
modelValue: {
|
|
65
|
-
required: true;
|
|
66
|
-
type: import("vue").PropType<number | null>;
|
|
67
|
-
};
|
|
68
|
-
disabled: {
|
|
69
|
-
type: import("vue").PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
max: {
|
|
73
|
-
type: import("vue").PropType<number | null>;
|
|
74
|
-
default: null;
|
|
75
|
-
};
|
|
76
|
-
required: {
|
|
77
|
-
type: import("vue").PropType<boolean>;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
errors: {
|
|
81
|
-
type: import("vue").PropType<string[] | null>;
|
|
82
|
-
default: null;
|
|
83
|
-
};
|
|
84
|
-
placeholder: {
|
|
85
|
-
type: import("vue").PropType<string | null>;
|
|
86
|
-
default: null;
|
|
87
|
-
};
|
|
88
|
-
locale: {
|
|
89
|
-
type: import("vue").PropType<string | null>;
|
|
90
|
-
default: null;
|
|
91
|
-
};
|
|
92
|
-
currency: {
|
|
93
|
-
type: import("vue").PropType<string | null>;
|
|
94
|
-
default: null;
|
|
95
|
-
};
|
|
96
|
-
format: {
|
|
97
|
-
type: import("vue").PropType<ExtendedNumberFormat>;
|
|
98
|
-
default: NumberFormat;
|
|
99
|
-
};
|
|
100
|
-
precision: {
|
|
101
|
-
type: import("vue").PropType<number>;
|
|
102
|
-
default: number;
|
|
103
|
-
};
|
|
104
|
-
min: {
|
|
105
|
-
type: import("vue").PropType<number | null>;
|
|
106
|
-
default: null;
|
|
107
|
-
};
|
|
108
|
-
showArrows: {
|
|
109
|
-
type: import("vue").PropType<boolean>;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
allowEmpty: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
}>> & Readonly<{
|
|
117
|
-
onBlur?: (() => any) | undefined;
|
|
30
|
+
focus: () => any;
|
|
31
|
+
blur: () => any;
|
|
32
|
+
"update:modelValue": (value: number | null) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
118
34
|
onFocus?: (() => any) | undefined;
|
|
119
|
-
|
|
35
|
+
onBlur?: (() => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
120
37
|
}>, {
|
|
121
38
|
disabled: boolean;
|
|
122
|
-
max: number | null;
|
|
123
39
|
required: boolean;
|
|
124
40
|
errors: string[] | null;
|
|
125
41
|
placeholder: string | null;
|
|
42
|
+
selectOnFocus: boolean;
|
|
126
43
|
locale: string | null;
|
|
127
44
|
currency: string | null;
|
|
128
45
|
format: ExtendedNumberFormat;
|
|
129
46
|
precision: number;
|
|
130
47
|
min: number | null;
|
|
48
|
+
max: number | null;
|
|
131
49
|
showArrows: boolean;
|
|
132
50
|
allowEmpty: boolean;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}> & {
|
|
137
|
-
default: [];
|
|
138
|
-
'help-text': [];
|
|
139
|
-
}>;
|
|
51
|
+
allowKeyboardArrowKeyInput: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
140
54
|
export default _default;
|
|
141
|
-
type
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
142
56
|
new (): {
|
|
143
57
|
$slots: S;
|
|
144
58
|
};
|