@knime/kds-components 0.23.2 → 0.24.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.
- package/dist/index.css +577 -1523
- package/dist/index.js +8924 -11446
- package/dist/index.js.map +1 -1
- package/dist/src/{containers/ListItem/ListItemDivider/ListItemDivider.vue.d.ts → accessories/Divider/KdsDivider.vue.d.ts} +1 -1
- package/dist/src/accessories/Divider/KdsDivider.vue.d.ts.map +1 -0
- package/dist/src/accessories/Divider/index.d.ts +2 -0
- package/dist/src/accessories/Divider/index.d.ts.map +1 -0
- package/dist/src/accessories/index.d.ts +1 -0
- package/dist/src/accessories/index.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +71 -38
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +71 -38
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
- package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts +14 -0
- package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts.map +1 -0
- package/dist/src/containers/ContextMenu/index.d.ts +3 -0
- package/dist/src/containers/ContextMenu/index.d.ts.map +1 -0
- package/dist/src/containers/ContextMenu/types.d.ts +35 -0
- package/dist/src/containers/ContextMenu/types.d.ts.map +1 -0
- package/dist/src/containers/ListContainer/KdsListContainer.vue.d.ts +1 -0
- package/dist/src/containers/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/ListContainer/types.d.ts +2 -0
- package/dist/src/containers/ListContainer/types.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts +25 -3
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts +363 -0
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -0
- package/dist/src/containers/Menu/index.d.ts +3 -0
- package/dist/src/containers/Menu/index.d.ts.map +1 -0
- package/dist/src/containers/Menu/types.d.ts +13 -0
- package/dist/src/containers/Menu/types.d.ts.map +1 -0
- package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts +1 -28
- package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts +14 -0
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts.map +1 -0
- package/dist/src/containers/MenuContainer/types.d.ts +23 -5
- package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
- package/dist/src/containers/_helpers/useListItemKeyboardNav.d.ts +27 -0
- package/dist/src/containers/_helpers/useListItemKeyboardNav.d.ts.map +1 -0
- package/dist/src/containers/_helpers/useStableItemIds.d.ts +19 -0
- package/dist/src/containers/_helpers/useStableItemIds.d.ts.map +1 -0
- package/dist/src/containers/index.d.ts +5 -2
- package/dist/src/containers/index.d.ts.map +1 -1
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +136 -16
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/KdsLabel.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +136 -16
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/BaseInput.vue.d.ts +7 -0
- package/dist/src/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +68 -8
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +184 -99
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDatePicker.vue.d.ts +88 -0
- package/dist/src/forms/inputs/DateInput/KdsDatePicker.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerDayGrid.vue.d.ts +17 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerDayGrid.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerMonthGrid.vue.d.ts +14 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerMonthGrid.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerYearGrid.vue.d.ts +14 -0
- package/dist/src/forms/inputs/DateInput/_helper/DatePickerYearGrid.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/_helper/types.d.ts +18 -0
- package/dist/src/forms/inputs/DateInput/_helper/types.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/dateUtils.d.ts +4 -3
- package/dist/src/forms/inputs/DateInput/dateUtils.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/enums.d.ts +7 -0
- package/dist/src/forms/inputs/DateInput/enums.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateInput/index.d.ts +1 -1
- package/dist/src/forms/inputs/DateInput/index.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/types.d.ts +22 -6
- package/dist/src/forms/inputs/DateInput/types.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/useDateInputMask.d.ts +12 -0
- package/dist/src/forms/inputs/DateInput/useDateInputMask.d.ts.map +1 -0
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +68 -8
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/IntervalInput/IntervalInputPopover.vue.d.ts +16 -0
- package/dist/src/forms/inputs/IntervalInput/IntervalInputPopover.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +398 -0
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/IntervalInput/enums.d.ts +12 -0
- package/dist/src/forms/inputs/IntervalInput/enums.d.ts.map +1 -0
- package/dist/src/forms/inputs/IntervalInput/index.d.ts +4 -0
- package/dist/src/forms/inputs/IntervalInput/index.d.ts.map +1 -0
- package/dist/src/forms/inputs/IntervalInput/intervalUtils.d.ts +31 -0
- package/dist/src/forms/inputs/IntervalInput/intervalUtils.d.ts.map +1 -0
- package/dist/src/forms/inputs/IntervalInput/types.d.ts +19 -0
- package/dist/src/forms/inputs/IntervalInput/types.d.ts.map +1 -0
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +8 -1
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +8 -1
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +8 -1
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +80 -11
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +80 -11
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts +1221 -0
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts +886 -0
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -0
- package/dist/src/forms/inputs/TimeInput/enums.d.ts +7 -0
- package/dist/src/forms/inputs/TimeInput/enums.d.ts.map +1 -0
- package/dist/src/forms/inputs/TimeInput/index.d.ts +4 -0
- package/dist/src/forms/inputs/TimeInput/index.d.ts.map +1 -0
- package/dist/src/forms/inputs/TimeInput/types.d.ts +15 -0
- package/dist/src/forms/inputs/TimeInput/types.d.ts.map +1 -0
- package/dist/src/forms/inputs/TimeInput/useTimeInputMask.d.ts +13 -0
- package/dist/src/forms/inputs/TimeInput/useTimeInputMask.d.ts.map +1 -0
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +8 -1
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/UsernameInput/enums.d.ts +1 -1
- package/dist/src/forms/inputs/index.d.ts +4 -0
- package/dist/src/forms/inputs/index.d.ts.map +1 -1
- package/dist/src/forms/inputs/useInputSegments.d.ts +16 -0
- package/dist/src/forms/inputs/useInputSegments.d.ts.map +1 -0
- package/dist/src/forms/inputs/useInputSegments.helpers.d.ts +64 -0
- package/dist/src/forms/inputs/useInputSegments.helpers.d.ts.map +1 -0
- package/dist/src/forms/inputs/useInputSegmentsDnd.d.ts +20 -0
- package/dist/src/forms/inputs/useInputSegmentsDnd.d.ts.map +1 -0
- package/dist/src/forms/inputs/useInputSegmentsMouse.d.ts +19 -0
- package/dist/src/forms/inputs/useInputSegmentsMouse.d.ts.map +1 -0
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts +12 -3
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +80 -11
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +80 -11
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +12 -3
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/layouts/Navigation/KdsNavItem/KdsNavItem.vue.d.ts +12 -0
- package/dist/src/layouts/Navigation/KdsNavItem/KdsNavItem.vue.d.ts.map +1 -0
- package/dist/src/layouts/Navigation/KdsNavItem/index.d.ts +3 -0
- package/dist/src/layouts/Navigation/KdsNavItem/index.d.ts.map +1 -0
- package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts +21 -0
- package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts.map +1 -0
- package/dist/src/layouts/Navigation/KdsNavigation.vue.d.ts +14 -0
- package/dist/src/layouts/Navigation/KdsNavigation.vue.d.ts.map +1 -0
- package/dist/src/layouts/Navigation/index.d.ts +5 -0
- package/dist/src/layouts/Navigation/index.d.ts.map +1 -0
- package/dist/src/layouts/Navigation/types.d.ts +14 -0
- package/dist/src/layouts/Navigation/types.d.ts.map +1 -0
- package/dist/src/layouts/index.d.ts +2 -0
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts +52 -7
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/src/overlays/Popover/enums.d.ts +2 -1
- package/dist/src/overlays/Popover/enums.d.ts.map +1 -1
- package/dist/src/overlays/Popover/types.d.ts +34 -11
- package/dist/src/overlays/Popover/types.d.ts.map +1 -1
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +71 -38
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/src/containers/ListItem/ListItemDivider/ListItemDivider.vue.d.ts.map +0 -1
- package/dist/src/containers/ListItem/ListItemDivider/index.d.ts +0 -2
- package/dist/src/containers/ListItem/ListItemDivider/index.d.ts.map +0 -1
|
@@ -1,93 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
id?: string;
|
|
10
|
-
} & {
|
|
11
|
-
error?: boolean | undefined;
|
|
12
|
-
subText?: string | undefined;
|
|
13
|
-
validating?: boolean | undefined;
|
|
14
|
-
preserveSubTextSpace?: boolean | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
autocomplete?: string;
|
|
19
|
-
} & {
|
|
20
|
-
datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
21
|
-
datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
22
|
-
}) | ({
|
|
23
|
-
modelValue?: string;
|
|
24
|
-
} & {
|
|
25
|
-
description?: string;
|
|
26
|
-
} & {
|
|
27
|
-
label?: never;
|
|
28
|
-
ariaLabel: string;
|
|
29
|
-
} & {
|
|
30
|
-
id?: string;
|
|
31
|
-
} & {
|
|
32
|
-
error?: boolean | undefined;
|
|
33
|
-
subText?: string | undefined;
|
|
34
|
-
validating?: boolean | undefined;
|
|
35
|
-
preserveSubTextSpace?: boolean | undefined;
|
|
36
|
-
} & {
|
|
37
|
-
placeholder?: string;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
autocomplete?: string;
|
|
40
|
-
} & {
|
|
41
|
-
datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
42
|
-
datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
43
|
-
}), {
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
import { Temporal } from 'temporal-polyfill';
|
|
3
|
+
import { KdsDateInputProps } from './types.ts';
|
|
4
|
+
type __VLS_Props = KdsDateInputProps;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
modelValue?: Temporal.PlainDate | null;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
44
9
|
focus: () => void;
|
|
45
10
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
-
"update:modelValue": (value:
|
|
47
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
48
|
-
modelValue?:
|
|
49
|
-
} & {
|
|
50
|
-
description?: string;
|
|
51
|
-
} & {
|
|
52
|
-
label: string;
|
|
53
|
-
ariaLabel?: never;
|
|
54
|
-
} & {
|
|
55
|
-
id?: string;
|
|
56
|
-
} & {
|
|
57
|
-
error?: boolean | undefined;
|
|
58
|
-
subText?: string | undefined;
|
|
59
|
-
validating?: boolean | undefined;
|
|
60
|
-
preserveSubTextSpace?: boolean | undefined;
|
|
61
|
-
} & {
|
|
62
|
-
placeholder?: string;
|
|
63
|
-
disabled?: boolean;
|
|
64
|
-
autocomplete?: string;
|
|
65
|
-
} & {
|
|
66
|
-
datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
67
|
-
datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
68
|
-
}) | ({
|
|
69
|
-
modelValue?: string;
|
|
70
|
-
} & {
|
|
71
|
-
description?: string;
|
|
72
|
-
} & {
|
|
73
|
-
label?: never;
|
|
74
|
-
ariaLabel: string;
|
|
75
|
-
} & {
|
|
76
|
-
id?: string;
|
|
77
|
-
} & {
|
|
78
|
-
error?: boolean | undefined;
|
|
79
|
-
subText?: string | undefined;
|
|
80
|
-
validating?: boolean | undefined;
|
|
81
|
-
preserveSubTextSpace?: boolean | undefined;
|
|
82
|
-
} & {
|
|
83
|
-
placeholder?: string;
|
|
84
|
-
disabled?: boolean;
|
|
85
|
-
autocomplete?: string;
|
|
86
|
-
} & {
|
|
87
|
-
datePickerMin?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
88
|
-
datePickerMax?: import('v-calendar/dist/types/src/use/datePicker.js').DatePickerDate;
|
|
89
|
-
})> & Readonly<{
|
|
90
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
+
"update:modelValue": (value: Temporal.PlainDate | null) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: Temporal.PlainDate | null) => any) | undefined;
|
|
91
14
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
92
15
|
baseInput: ({
|
|
93
16
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -123,11 +46,13 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
123
46
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
124
47
|
readonly clearable?: boolean | undefined;
|
|
125
48
|
readonly pattern?: string | undefined;
|
|
49
|
+
readonly segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig | undefined;
|
|
126
50
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
127
51
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
128
52
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
129
53
|
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
130
54
|
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
55
|
+
readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
131
56
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
132
57
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
133
58
|
$attrs: import('vue').Attrs;
|
|
@@ -142,7 +67,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
142
67
|
$root: import('vue').ComponentPublicInstance | null;
|
|
143
68
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
144
69
|
$host: Element | null;
|
|
145
|
-
$emit: ((event: "input", event: Event) => void) & ((event: "click", event: MouseEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void);
|
|
70
|
+
$emit: ((event: "input", event: Event) => void) & ((event: "click", event: MouseEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "paste", event: ClipboardEvent) => void) & ((event: "update:modelValue", value: string) => void);
|
|
146
71
|
$el: HTMLDivElement;
|
|
147
72
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
148
73
|
modelValue?: string;
|
|
@@ -176,12 +101,14 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
176
101
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
177
102
|
clearable?: boolean;
|
|
178
103
|
pattern?: string;
|
|
104
|
+
segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
179
105
|
}> & Readonly<{
|
|
180
106
|
onInput?: ((event: Event) => any) | undefined;
|
|
181
107
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
182
108
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
183
109
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
184
110
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
111
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
185
112
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
186
113
|
}>, {
|
|
187
114
|
focus: () => void;
|
|
@@ -191,6 +118,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
191
118
|
blur: (event: FocusEvent) => any;
|
|
192
119
|
focus: (event: FocusEvent) => any;
|
|
193
120
|
keydown: (event: KeyboardEvent) => any;
|
|
121
|
+
paste: (event: ClipboardEvent) => any;
|
|
194
122
|
"update:modelValue": (value: string) => any;
|
|
195
123
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
196
124
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -210,7 +138,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
210
138
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
211
139
|
};
|
|
212
140
|
$forceUpdate: () => void;
|
|
213
|
-
$nextTick: typeof
|
|
141
|
+
$nextTick: typeof nextTick;
|
|
214
142
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
215
143
|
} & Readonly<{}> & Omit<Readonly<{
|
|
216
144
|
modelValue?: string;
|
|
@@ -244,12 +172,14 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
244
172
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
245
173
|
clearable?: boolean;
|
|
246
174
|
pattern?: string;
|
|
175
|
+
segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
247
176
|
}> & Readonly<{
|
|
248
177
|
onInput?: ((event: Event) => any) | undefined;
|
|
249
178
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
250
179
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
251
180
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
252
181
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
182
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
253
183
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
254
184
|
}>, "focus"> & {
|
|
255
185
|
focus: () => void;
|
|
@@ -262,16 +192,30 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
262
192
|
popoverRef: ({
|
|
263
193
|
$: import('vue').ComponentInternalInstance;
|
|
264
194
|
$data: {};
|
|
265
|
-
$props: {
|
|
195
|
+
$props: ({
|
|
266
196
|
readonly modelValue?: boolean | undefined;
|
|
267
|
-
readonly placement?: import('../../../overlays/Popover/types.ts').KdsPopoverPlacement | undefined;
|
|
268
197
|
readonly role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole | undefined;
|
|
269
198
|
readonly popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType | undefined;
|
|
270
199
|
readonly fullWidth?: boolean | undefined;
|
|
271
200
|
readonly maxInlineSize?: string | undefined;
|
|
272
201
|
readonly content?: string | undefined;
|
|
202
|
+
readonly placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom"> | undefined;
|
|
203
|
+
readonly customPlacementPosition?: never | undefined;
|
|
273
204
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
274
|
-
}
|
|
205
|
+
} | {
|
|
206
|
+
readonly modelValue?: boolean | undefined;
|
|
207
|
+
readonly role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole | undefined;
|
|
208
|
+
readonly popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType | undefined;
|
|
209
|
+
readonly fullWidth?: boolean | undefined;
|
|
210
|
+
readonly maxInlineSize?: string | undefined;
|
|
211
|
+
readonly content?: string | undefined;
|
|
212
|
+
readonly placement: "custom";
|
|
213
|
+
readonly customPlacementPosition: {
|
|
214
|
+
x: number;
|
|
215
|
+
y: number;
|
|
216
|
+
};
|
|
217
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
218
|
+
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
275
219
|
$attrs: import('vue').Attrs;
|
|
276
220
|
$refs: {
|
|
277
221
|
[x: string]: unknown;
|
|
@@ -286,9 +230,32 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
286
230
|
$host: Element | null;
|
|
287
231
|
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
288
232
|
$el: HTMLDivElement;
|
|
289
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
233
|
+
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
290
234
|
modelValue?: boolean;
|
|
291
|
-
} &
|
|
235
|
+
} & {
|
|
236
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
237
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
238
|
+
fullWidth?: boolean;
|
|
239
|
+
maxInlineSize?: string;
|
|
240
|
+
content?: string;
|
|
241
|
+
} & {
|
|
242
|
+
placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom">;
|
|
243
|
+
customPlacementPosition?: never;
|
|
244
|
+
}) | ({
|
|
245
|
+
modelValue?: boolean;
|
|
246
|
+
} & {
|
|
247
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
248
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
249
|
+
fullWidth?: boolean;
|
|
250
|
+
maxInlineSize?: string;
|
|
251
|
+
content?: string;
|
|
252
|
+
} & {
|
|
253
|
+
placement: "custom";
|
|
254
|
+
customPlacementPosition: {
|
|
255
|
+
x: number;
|
|
256
|
+
y: number;
|
|
257
|
+
};
|
|
258
|
+
})> & Readonly<{
|
|
292
259
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
293
260
|
}>, {
|
|
294
261
|
anchorStyle: Record<string, string>;
|
|
@@ -313,13 +280,36 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
313
280
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
314
281
|
};
|
|
315
282
|
$forceUpdate: () => void;
|
|
316
|
-
$nextTick: typeof
|
|
283
|
+
$nextTick: typeof nextTick;
|
|
317
284
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
318
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
285
|
+
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
319
286
|
modelValue?: boolean;
|
|
320
|
-
} &
|
|
287
|
+
} & {
|
|
288
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
289
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
290
|
+
fullWidth?: boolean;
|
|
291
|
+
maxInlineSize?: string;
|
|
292
|
+
content?: string;
|
|
293
|
+
} & {
|
|
294
|
+
placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom">;
|
|
295
|
+
customPlacementPosition?: never;
|
|
296
|
+
}) | ({
|
|
297
|
+
modelValue?: boolean;
|
|
298
|
+
} & {
|
|
299
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
300
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
301
|
+
fullWidth?: boolean;
|
|
302
|
+
maxInlineSize?: string;
|
|
303
|
+
content?: string;
|
|
304
|
+
} & {
|
|
305
|
+
placement: "custom";
|
|
306
|
+
customPlacementPosition: {
|
|
307
|
+
x: number;
|
|
308
|
+
y: number;
|
|
309
|
+
};
|
|
310
|
+
})> & Readonly<{
|
|
321
311
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
322
|
-
}
|
|
312
|
+
}>), "anchorStyle" | "popoverId"> & {
|
|
323
313
|
anchorStyle: Record<string, string>;
|
|
324
314
|
popoverId: string;
|
|
325
315
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -327,6 +317,101 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
327
317
|
default?(_: {}): any;
|
|
328
318
|
};
|
|
329
319
|
}) | null;
|
|
320
|
+
datePickerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
321
|
+
modelValue?: Temporal.PlainDate | null;
|
|
322
|
+
} & import('./types.ts').KdsDatePickerProps> & Readonly<{
|
|
323
|
+
"onUpdate:modelValue"?: ((value: Temporal.PlainDate | null) => any) | undefined;
|
|
324
|
+
}>, {
|
|
325
|
+
focus: () => void;
|
|
326
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
327
|
+
"update:modelValue": (value: Temporal.PlainDate | null) => any;
|
|
328
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
329
|
+
dayGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types.ts').DatePickerDayGridProps> & Readonly<{
|
|
330
|
+
onDateSelect?: ((date: Temporal.PlainDate) => any) | undefined;
|
|
331
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
332
|
+
"onUpdate:focusMonth"?: ((month: number) => any) | undefined;
|
|
333
|
+
}>, {
|
|
334
|
+
focus: () => void;
|
|
335
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
336
|
+
dateSelect: (date: Temporal.PlainDate) => any;
|
|
337
|
+
"update:focusYear": (year: number) => any;
|
|
338
|
+
"update:focusMonth": (month: number) => any;
|
|
339
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
340
|
+
gridRef: HTMLDivElement;
|
|
341
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
342
|
+
P: {};
|
|
343
|
+
B: {};
|
|
344
|
+
D: {};
|
|
345
|
+
C: {};
|
|
346
|
+
M: {};
|
|
347
|
+
Defaults: {};
|
|
348
|
+
}, Readonly<import('./_helper/types.ts').DatePickerDayGridProps> & Readonly<{
|
|
349
|
+
onDateSelect?: ((date: Temporal.PlainDate) => any) | undefined;
|
|
350
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
351
|
+
"onUpdate:focusMonth"?: ((month: number) => any) | undefined;
|
|
352
|
+
}>, {
|
|
353
|
+
focus: () => void;
|
|
354
|
+
}, {}, {}, {}, {}> | null;
|
|
355
|
+
monthGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types.ts').DatePickerMonthGridProps> & Readonly<{
|
|
356
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
357
|
+
onMonthSelect?: ((year: number, month: number) => any) | undefined;
|
|
358
|
+
}>, {
|
|
359
|
+
focus: () => void;
|
|
360
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
361
|
+
"update:focusYear": (year: number) => any;
|
|
362
|
+
monthSelect: (year: number, month: number) => any;
|
|
363
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
364
|
+
gridRef: HTMLDivElement;
|
|
365
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
366
|
+
P: {};
|
|
367
|
+
B: {};
|
|
368
|
+
D: {};
|
|
369
|
+
C: {};
|
|
370
|
+
M: {};
|
|
371
|
+
Defaults: {};
|
|
372
|
+
}, Readonly<import('./_helper/types.ts').DatePickerMonthGridProps> & Readonly<{
|
|
373
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
374
|
+
onMonthSelect?: ((year: number, month: number) => any) | undefined;
|
|
375
|
+
}>, {
|
|
376
|
+
focus: () => void;
|
|
377
|
+
}, {}, {}, {}, {}> | null;
|
|
378
|
+
yearGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types.ts').DatePickerYearGridProps> & Readonly<{
|
|
379
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
380
|
+
onYearSelect?: ((year: number) => any) | undefined;
|
|
381
|
+
}>, {
|
|
382
|
+
focus: () => void;
|
|
383
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
384
|
+
"update:focusYear": (year: number) => any;
|
|
385
|
+
yearSelect: (year: number) => any;
|
|
386
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
387
|
+
gridRef: HTMLDivElement;
|
|
388
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
389
|
+
P: {};
|
|
390
|
+
B: {};
|
|
391
|
+
D: {};
|
|
392
|
+
C: {};
|
|
393
|
+
M: {};
|
|
394
|
+
Defaults: {};
|
|
395
|
+
}, Readonly<import('./_helper/types.ts').DatePickerYearGridProps> & Readonly<{
|
|
396
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
397
|
+
onYearSelect?: ((year: number) => any) | undefined;
|
|
398
|
+
}>, {
|
|
399
|
+
focus: () => void;
|
|
400
|
+
}, {}, {}, {}, {}> | null;
|
|
401
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
402
|
+
P: {};
|
|
403
|
+
B: {};
|
|
404
|
+
D: {};
|
|
405
|
+
C: {};
|
|
406
|
+
M: {};
|
|
407
|
+
Defaults: {};
|
|
408
|
+
}, Readonly<{
|
|
409
|
+
modelValue?: Temporal.PlainDate | null;
|
|
410
|
+
} & import('./types.ts').KdsDatePickerProps> & Readonly<{
|
|
411
|
+
"onUpdate:modelValue"?: ((value: Temporal.PlainDate | null) => any) | undefined;
|
|
412
|
+
}>, {
|
|
413
|
+
focus: () => void;
|
|
414
|
+
}, {}, {}, {}, {}> | null;
|
|
330
415
|
}, HTMLDivElement>;
|
|
331
416
|
export default _default;
|
|
332
417
|
//# sourceMappingURL=KdsDateInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDateInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/KdsDateInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsDateInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/KdsDateInput.vue"],"names":[],"mappings":"AA4LA,OAAO,EAAY,QAAQ,EAA8B,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAS7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGpD,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAsHrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;CACtC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAqPuhP,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB7pP,wBAUG"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
import { KdsDatePickerProps } from './types';
|
|
3
|
+
type __VLS_Props = KdsDatePickerProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: Temporal.PlainDate | null;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
focus: () => void;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: Temporal.PlainDate | null) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: Temporal.PlainDate | null) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
dayGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types').DatePickerDayGridProps> & Readonly<{
|
|
15
|
+
onDateSelect?: ((date: Temporal.PlainDate) => any) | undefined;
|
|
16
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
17
|
+
"onUpdate:focusMonth"?: ((month: number) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
dateSelect: (date: Temporal.PlainDate) => any;
|
|
22
|
+
"update:focusYear": (year: number) => any;
|
|
23
|
+
"update:focusMonth": (month: number) => any;
|
|
24
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
25
|
+
gridRef: HTMLDivElement;
|
|
26
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<import('./_helper/types').DatePickerDayGridProps> & Readonly<{
|
|
34
|
+
onDateSelect?: ((date: Temporal.PlainDate) => any) | undefined;
|
|
35
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
36
|
+
"onUpdate:focusMonth"?: ((month: number) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
focus: () => void;
|
|
39
|
+
}, {}, {}, {}, {}> | null;
|
|
40
|
+
monthGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types').DatePickerMonthGridProps> & Readonly<{
|
|
41
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
42
|
+
onMonthSelect?: ((year: number, month: number) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
focus: () => void;
|
|
45
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
+
"update:focusYear": (year: number) => any;
|
|
47
|
+
monthSelect: (year: number, month: number) => any;
|
|
48
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
49
|
+
gridRef: HTMLDivElement;
|
|
50
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
51
|
+
P: {};
|
|
52
|
+
B: {};
|
|
53
|
+
D: {};
|
|
54
|
+
C: {};
|
|
55
|
+
M: {};
|
|
56
|
+
Defaults: {};
|
|
57
|
+
}, Readonly<import('./_helper/types').DatePickerMonthGridProps> & Readonly<{
|
|
58
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
59
|
+
onMonthSelect?: ((year: number, month: number) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
focus: () => void;
|
|
62
|
+
}, {}, {}, {}, {}> | null;
|
|
63
|
+
yearGridRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./_helper/types').DatePickerYearGridProps> & Readonly<{
|
|
64
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
65
|
+
onYearSelect?: ((year: number) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
focus: () => void;
|
|
68
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
+
"update:focusYear": (year: number) => any;
|
|
70
|
+
yearSelect: (year: number) => any;
|
|
71
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
72
|
+
gridRef: HTMLDivElement;
|
|
73
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
74
|
+
P: {};
|
|
75
|
+
B: {};
|
|
76
|
+
D: {};
|
|
77
|
+
C: {};
|
|
78
|
+
M: {};
|
|
79
|
+
Defaults: {};
|
|
80
|
+
}, Readonly<import('./_helper/types').DatePickerYearGridProps> & Readonly<{
|
|
81
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
82
|
+
onYearSelect?: ((year: number) => any) | undefined;
|
|
83
|
+
}>, {
|
|
84
|
+
focus: () => void;
|
|
85
|
+
}, {}, {}, {}, {}> | null;
|
|
86
|
+
}, HTMLDivElement>;
|
|
87
|
+
export default _default;
|
|
88
|
+
//# sourceMappingURL=KdsDatePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/KdsDatePicker.vue"],"names":[],"mappings":"AAgYA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAO7C,OAAO,KAAK,EAAE,kBAAkB,EAAqB,MAAM,SAAS,CAAC;AAYrE,KAAK,WAAW,GAAG,kBAAkB,CAAC;AA0NtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;CACtC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2VhB,wBAUG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
import { DatePickerDayGridProps } from './types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<DatePickerDayGridProps, {
|
|
4
|
+
focus: () => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
dateSelect: (date: Temporal.PlainDate) => any;
|
|
7
|
+
"update:focusYear": (year: number) => any;
|
|
8
|
+
"update:focusMonth": (month: number) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<DatePickerDayGridProps> & Readonly<{
|
|
10
|
+
onDateSelect?: ((date: Temporal.PlainDate) => any) | undefined;
|
|
11
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
12
|
+
"onUpdate:focusMonth"?: ((month: number) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
gridRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=DatePickerDayGrid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePickerDayGrid.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/forms/inputs/DateInput/_helper/DatePickerDayGrid.vue"],"names":[],"mappings":"AA8eA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;AA2ctD,wBAUG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DatePickerMonthGridProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DatePickerMonthGridProps, {
|
|
3
|
+
focus: () => void;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:focusYear": (year: number) => any;
|
|
6
|
+
monthSelect: (year: number, month: number) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<DatePickerMonthGridProps> & Readonly<{
|
|
8
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
9
|
+
onMonthSelect?: ((year: number, month: number) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
gridRef: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=DatePickerMonthGrid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePickerMonthGrid.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/forms/inputs/DateInput/_helper/DatePickerMonthGrid.vue"],"names":[],"mappings":"AAoSA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;AAwRxD,wBAUG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DatePickerYearGridProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DatePickerYearGridProps, {
|
|
3
|
+
focus: () => void;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:focusYear": (year: number) => any;
|
|
6
|
+
yearSelect: (year: number) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<DatePickerYearGridProps> & Readonly<{
|
|
8
|
+
"onUpdate:focusYear"?: ((year: number) => any) | undefined;
|
|
9
|
+
onYearSelect?: ((year: number) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
gridRef: HTMLDivElement;
|
|
12
|
+
}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=DatePickerYearGrid.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePickerYearGrid.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/forms/inputs/DateInput/_helper/DatePickerYearGrid.vue"],"names":[],"mappings":"AAiQA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;AAqPvD,wBAUG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
export type DatePickerSharedProps = {
|
|
3
|
+
modelValue: Temporal.PlainDate | null;
|
|
4
|
+
minDate?: Temporal.PlainDate | null;
|
|
5
|
+
maxDate?: Temporal.PlainDate | null;
|
|
6
|
+
};
|
|
7
|
+
export type DatePickerDayGridProps = DatePickerSharedProps & {
|
|
8
|
+
focusYear: number;
|
|
9
|
+
focusMonth: number;
|
|
10
|
+
};
|
|
11
|
+
export type DatePickerMonthGridProps = DatePickerSharedProps & {
|
|
12
|
+
focusYear: number;
|
|
13
|
+
focusMonth: number;
|
|
14
|
+
};
|
|
15
|
+
export type DatePickerYearGridProps = DatePickerSharedProps & {
|
|
16
|
+
focusYear: number;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/forms/inputs/DateInput/_helper/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GAAG;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,qBAAqB,GAAG;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG;IAC5D,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
export declare const tryParseAnyDate: (value: string) => Temporal.PlainDate | null;
|
|
3
|
+
export declare const parseDateString: (value: string) => Temporal.PlainDate | null;
|
|
4
|
+
export declare const formatPlainDateToString: (date: Temporal.PlainDate | null) => string;
|
|
4
5
|
//# sourceMappingURL=dateUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateUtils.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/dateUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"dateUtils.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/dateUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,QAAQ,CAAC,SAAS,GAAG,IA+BpE,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,QAAQ,CAAC,SAAS,GAAG,IAepE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,MAAM,QAAQ,CAAC,SAAS,GAAG,IAAI,KAC9B,MAKF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,kBAAkB,8BAAmC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/DateInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
|