@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/TimePicker.vue"],"names":[],"mappings":"AA0RA,OAAO,EAAY,QAAQ,EAAkB,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAM7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAYvD,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,uBAAuB,CAAC;CACzC,CAAC;AAyHF,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,uBAAuB,CAAC;CACvC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoU6jG,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBnsG,wBAUG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const kdsTimeInputGranularity: {
|
|
2
|
+
readonly MINUTE: "minute";
|
|
3
|
+
readonly SECOND: "second";
|
|
4
|
+
readonly MILLISECOND: "millisecond";
|
|
5
|
+
};
|
|
6
|
+
export declare const kdsTimeInputGranularities: ("minute" | "second" | "millisecond")[];
|
|
7
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AAEX,eAAO,MAAM,yBAAyB,yCAAyC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAC7E,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KdsInputFieldProps } from '../types';
|
|
2
|
+
import { kdsTimeInputGranularity } from './enums';
|
|
3
|
+
export type KdsTimeInputGranularity = (typeof kdsTimeInputGranularity)[keyof typeof kdsTimeInputGranularity];
|
|
4
|
+
export type KdsTimeInputProps = Omit<KdsInputFieldProps, "placeholder"> & {
|
|
5
|
+
/**
|
|
6
|
+
* The finest (maximum) granularity the user is allowed to choose in the
|
|
7
|
+
* time picker. The picker's "Add seconds" / "Add milliseconds" buttons are
|
|
8
|
+
* hidden once the maximum is reached, and an initial `granularity` finer
|
|
9
|
+
* than `maxGranularity` is clamped down to `maxGranularity`.
|
|
10
|
+
*
|
|
11
|
+
* Default: `"minute"`.
|
|
12
|
+
*/
|
|
13
|
+
maxGranularity?: KdsTimeInputGranularity;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,GAAG;IACxE;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Temporal } from 'temporal-polyfill';
|
|
3
|
+
import { KdsInputSegmentsConfig } from '../useInputSegments';
|
|
4
|
+
import { KdsTimeInputGranularity } from './types';
|
|
5
|
+
export declare const useTimeInputMask: (modelValue: Ref<Temporal.PlainTime | null>, granularityRef: Ref<KdsTimeInputGranularity>) => {
|
|
6
|
+
displayValue: Ref<string, string>;
|
|
7
|
+
isEmpty: import('vue').ComputedRef<boolean>;
|
|
8
|
+
isComplete: import('vue').ComputedRef<boolean>;
|
|
9
|
+
isValidTime: import('vue').ComputedRef<boolean>;
|
|
10
|
+
parsedTime: import('vue').ComputedRef<Temporal.PlainTime | null>;
|
|
11
|
+
segments: import('vue').ComputedRef<KdsInputSegmentsConfig>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useTimeInputMask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTimeInputMask.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/useTimeInputMask.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAkC,MAAM,KAAK,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EACL,KAAK,sBAAsB,EAI5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA8JvD,eAAO,MAAM,gBAAgB,GAC3B,YAAY,GAAG,CAAC,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC,EAC1C,gBAAgB,GAAG,CAAC,uBAAuB,CAAC;;;;;;;CA0F7C,CAAC"}
|
|
@@ -44,11 +44,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
44
44
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
45
45
|
readonly clearable?: boolean | undefined;
|
|
46
46
|
readonly pattern?: string | undefined;
|
|
47
|
+
readonly segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig | undefined;
|
|
47
48
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
48
49
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
49
50
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
50
51
|
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
51
52
|
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
53
|
+
readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
52
54
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
55
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
54
56
|
$attrs: import('vue').Attrs;
|
|
@@ -63,7 +65,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
63
65
|
$root: import('vue').ComponentPublicInstance | null;
|
|
64
66
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
65
67
|
$host: Element | null;
|
|
66
|
-
$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);
|
|
68
|
+
$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);
|
|
67
69
|
$el: HTMLDivElement;
|
|
68
70
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
69
71
|
modelValue?: string;
|
|
@@ -97,12 +99,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
97
99
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
98
100
|
clearable?: boolean;
|
|
99
101
|
pattern?: string;
|
|
102
|
+
segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
100
103
|
}> & Readonly<{
|
|
101
104
|
onInput?: ((event: Event) => any) | undefined;
|
|
102
105
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
103
106
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
104
107
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
105
108
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
109
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
106
110
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
107
111
|
}>, {
|
|
108
112
|
focus: () => void;
|
|
@@ -112,6 +116,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
112
116
|
blur: (event: FocusEvent) => any;
|
|
113
117
|
focus: (event: FocusEvent) => any;
|
|
114
118
|
keydown: (event: KeyboardEvent) => any;
|
|
119
|
+
paste: (event: ClipboardEvent) => any;
|
|
115
120
|
"update:modelValue": (value: string) => any;
|
|
116
121
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
117
122
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -165,12 +170,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
165
170
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
166
171
|
clearable?: boolean;
|
|
167
172
|
pattern?: string;
|
|
173
|
+
segments?: import('../useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
168
174
|
}> & Readonly<{
|
|
169
175
|
onInput?: ((event: Event) => any) | undefined;
|
|
170
176
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
171
177
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
172
178
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
173
179
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
180
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
174
181
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
175
182
|
}>, "focus"> & {
|
|
176
183
|
focus: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsUsernameInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/UsernameInput/KdsUsernameInput.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,KAAK,WAAW,GAAG,qBAAqB,CAAC;AAuBzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"KdsUsernameInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/UsernameInput/KdsUsernameInput.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,KAAK,WAAW,GAAG,qBAAqB,CAAC;AAuBzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA+Gs/oB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB5npB,wBAUG"}
|
|
@@ -2,5 +2,5 @@ export declare const kdsUsernameInputAutocomplete: {
|
|
|
2
2
|
readonly USERNAME: "username";
|
|
3
3
|
readonly OFF: "off";
|
|
4
4
|
};
|
|
5
|
-
export declare const kdsUsernameInputAutocompletes: ("
|
|
5
|
+
export declare const kdsUsernameInputAutocompletes: ("username" | "off")[];
|
|
6
6
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -18,4 +18,8 @@ export * from './TextInput';
|
|
|
18
18
|
export type * from './TextInput';
|
|
19
19
|
export * from './Textarea';
|
|
20
20
|
export type * from './Textarea';
|
|
21
|
+
export * from './TimeInput';
|
|
22
|
+
export type * from './TimeInput';
|
|
23
|
+
export * from './IntervalInput';
|
|
24
|
+
export type * from './IntervalInput';
|
|
21
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC;AAEpC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { KdsInputSegmentsConfig } from './useInputSegments.helpers';
|
|
3
|
+
export type { KdsInputSegment, KdsInputSegmentsConfig, } from './useInputSegments.helpers';
|
|
4
|
+
export { getInputSegmentDigitIndices, getInputSegmentsTemplateValue, isInputSegmentsComplete, isInputSegmentsEmpty, stepSegment, } from './useInputSegments.helpers';
|
|
5
|
+
export declare const useInputSegments: (modelValue: Ref<string>, getInputElement: () => HTMLInputElement | null, configRef: Ref<KdsInputSegmentsConfig | undefined>) => {
|
|
6
|
+
handleClick: (event: MouseEvent) => void;
|
|
7
|
+
handleBlur: () => void;
|
|
8
|
+
handleFocus: () => void;
|
|
9
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
10
|
+
handleCut: (event: ClipboardEvent) => void;
|
|
11
|
+
handlePaste: (event: ClipboardEvent) => void;
|
|
12
|
+
handlePointerDown: () => void;
|
|
13
|
+
handleDrop: (event: DragEvent) => void;
|
|
14
|
+
handleDragEnd: (event: DragEvent) => void;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=useInputSegments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInputSegments.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/useInputSegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAmB,MAAM,KAAK,CAAC;AAEhD,OAAO,EACL,KAAK,sBAAsB,EAQ5B,MAAM,4BAA4B,CAAC;AAIpC,YAAY,EACV,eAAe,EACf,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,uBAAuB,EACvB,oBAAoB,EACpB,WAAW,GACZ,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,gBAAgB,GAC3B,YAAY,GAAG,CAAC,MAAM,CAAC,EACvB,iBAAiB,MAAM,gBAAgB,GAAG,IAAI,EAC9C,WAAW,GAAG,CAAC,sBAAsB,GAAG,SAAS,CAAC;;;;2BA0cpB,aAAa;uBA/DjB,cAAc;;;;;CAyHzC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const MIN_SEGMENT_INDEX = 0;
|
|
2
|
+
export declare const LARGE_STEP = 10;
|
|
3
|
+
export type KdsInputSegment = {
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
template: readonly string[];
|
|
7
|
+
/** Lowest valid integer for this segment (used by arrow stepping). */
|
|
8
|
+
min: number;
|
|
9
|
+
/** Highest valid integer for this segment (used by arrow stepping and typed-digit normalisation). */
|
|
10
|
+
max: number;
|
|
11
|
+
};
|
|
12
|
+
export type KdsInputSegmentsConfig = {
|
|
13
|
+
template: readonly string[];
|
|
14
|
+
segments: readonly KdsInputSegment[];
|
|
15
|
+
parsePastedText?: (text: string) => string | null;
|
|
16
|
+
};
|
|
17
|
+
export declare const isDigitChar: (char: string | undefined) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true when the pointer click landed far past the end of the rendered
|
|
20
|
+
* text (more than `TRAILING_CLICK_TOLERANCE_PX` pixels of empty space to the
|
|
21
|
+
* right). In that case we treat the click as "clicked outside the text" so
|
|
22
|
+
* the caller can skip the normal caret-based segment resolution and apply its
|
|
23
|
+
* own fallback selection behavior.
|
|
24
|
+
*/
|
|
25
|
+
export declare const isClickPastText: (input: HTMLInputElement, event: MouseEvent) => boolean;
|
|
26
|
+
export declare const getSteppingDelta: (event: KeyboardEvent) => number | null;
|
|
27
|
+
export declare const getSegmentLength: (segment: KdsInputSegment) => number;
|
|
28
|
+
/**
|
|
29
|
+
* If the buffer is full and its numeric value falls outside
|
|
30
|
+
* `[segment.min, segment.max]`, replace it with the clamped boundary value.
|
|
31
|
+
* Example: typing `15` for a month segment (max 12) clamps to `12`.
|
|
32
|
+
*/
|
|
33
|
+
export declare const clampSegmentBuffer: (segment: KdsInputSegment, buffer: string[]) => void;
|
|
34
|
+
/** Highest valid leading digit for a segment, derived from its `max`. */
|
|
35
|
+
export declare const getMaxFirstDigit: (segment: KdsInputSegment) => number;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the next integer value for a segment after applying `delta`, wrapping
|
|
38
|
+
* around `[segment.min, segment.max]`. If `currentValue` is `undefined`
|
|
39
|
+
* (segment is still at the template with no digits typed yet), a positive
|
|
40
|
+
* delta returns `segment.min` and a negative delta returns `segment.max`.
|
|
41
|
+
*/
|
|
42
|
+
export declare const stepSegment: (segment: Pick<KdsInputSegment, "min" | "max">, currentValue: number | undefined, delta: number) => number;
|
|
43
|
+
/**
|
|
44
|
+
* Resolve the segment that should be selected when the user clicks at the
|
|
45
|
+
* given caret position.
|
|
46
|
+
*
|
|
47
|
+
* Rules (in order):
|
|
48
|
+
* 1. If the caret is inside a segment, select that segment.
|
|
49
|
+
* 2. If the caret is on a separator (or past the last segment), prefer the
|
|
50
|
+
* **previous** segment — the one the user just clicked past. This matches
|
|
51
|
+
* the common expectation that clicking right after a segment keeps focus
|
|
52
|
+
* on that segment (e.g. clicking between `MM` and `-DD` selects month).
|
|
53
|
+
*
|
|
54
|
+
* Callers that want to distinguish "just past the text" from "far past the
|
|
55
|
+
* text" must do so before calling this function (based on the pointer's X
|
|
56
|
+
* coordinate vs the rendered text width).
|
|
57
|
+
*/
|
|
58
|
+
export declare const resolveClickedSegment: (segments: readonly KdsInputSegment[], position: number) => number;
|
|
59
|
+
export declare const spansMultipleSegments: (segments: readonly KdsInputSegment[], start: number, end: number) => boolean;
|
|
60
|
+
export declare const getInputSegmentDigitIndices: (segments: readonly KdsInputSegment[]) => number[];
|
|
61
|
+
export declare const getInputSegmentsTemplateValue: (config: KdsInputSegmentsConfig) => string;
|
|
62
|
+
export declare const isInputSegmentsEmpty: (displayValue: string, config: KdsInputSegmentsConfig) => boolean;
|
|
63
|
+
export declare const isInputSegmentsComplete: (displayValue: string, config: KdsInputSegmentsConfig) => boolean;
|
|
64
|
+
//# sourceMappingURL=useInputSegments.helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInputSegments.helpers.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/useInputSegments.helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,UAAU,KAAK,CAAC;AAK7B,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAC;IACZ,qGAAqG;IACrG,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,QAAQ,EAAE,SAAS,eAAe,EAAE,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,GAAG,SAAS,YACF,CAAC;AAInD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAC1B,OAAO,gBAAgB,EACvB,OAAO,UAAU,KAChB,OAsCF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,aAAa,KAAG,MAAM,GAAG,IAchE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,SAAS,eAAe,WACxB,CAAC;AAElC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,eAAe,EACxB,QAAQ,MAAM,EAAE,SAwBjB,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,gBAAgB,GAAI,SAAS,eAAe,WACmB,CAAC;AAE7E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GACtB,SAAS,IAAI,CAAC,eAAe,EAAE,KAAK,GAAG,KAAK,CAAC,EAC7C,cAAc,MAAM,GAAG,SAAS,EAChC,OAAO,MAAM,KACZ,MAQF,CAAC;AAwBF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,GAChC,UAAU,SAAS,eAAe,EAAE,EACpC,UAAU,MAAM,KACf,MAcF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,UAAU,SAAS,eAAe,EAAE,EACpC,OAAO,MAAM,EACb,KAAK,MAAM,YAEkE,CAAC;AAEhF,eAAO,MAAM,2BAA2B,GACtC,UAAU,SAAS,eAAe,EAAE,aAOnC,CAAC;AAEJ,eAAO,MAAM,6BAA6B,GAAI,QAAQ,sBAAsB,WAClD,CAAC;AAE3B,eAAO,MAAM,oBAAoB,GAC/B,cAAc,MAAM,EACpB,QAAQ,sBAAsB,YAI7B,CAAC;AAEJ,eAAO,MAAM,uBAAuB,GAClC,cAAc,MAAM,EACpB,QAAQ,sBAAsB,YAI7B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { KdsInputSegment, KdsInputSegmentsConfig } from './useInputSegments.helpers';
|
|
2
|
+
type SegmentDndDeps = {
|
|
3
|
+
getConfig: () => KdsInputSegmentsConfig | undefined;
|
|
4
|
+
getSegments: () => readonly KdsInputSegment[];
|
|
5
|
+
getBuffers: () => string[][];
|
|
6
|
+
setAutoPadded: (segmentIndex: number, value: boolean) => void;
|
|
7
|
+
fillBuffersFromString: (source: string) => void;
|
|
8
|
+
renderAll: () => void;
|
|
9
|
+
writeModelValue: () => void;
|
|
10
|
+
selectSegment: (segmentIndex: number, options?: {
|
|
11
|
+
resetOnNextDigit?: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const createSegmentDndHandlers: (deps: SegmentDndDeps) => {
|
|
15
|
+
handlePaste: (event: ClipboardEvent) => void;
|
|
16
|
+
handleDrop: (event: DragEvent) => void;
|
|
17
|
+
handleDragEnd: (event: DragEvent) => void;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useInputSegmentsDnd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInputSegmentsDnd.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/useInputSegmentsDnd.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAEpC,KAAK,cAAc,GAAG;IACpB,SAAS,EAAE,MAAM,sBAAsB,GAAG,SAAS,CAAC;IACpD,WAAW,EAAE,MAAM,SAAS,eAAe,EAAE,CAAC;IAC9C,UAAU,EAAE,MAAM,MAAM,EAAE,EAAE,CAAC;IAC7B,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9D,qBAAqB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,CACb,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE;QAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE,KACrC,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,MAAM,cAAc;yBAgB/B,cAAc;wBASf,SAAS;2BAaN,SAAS;CA0BxC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KdsInputSegment, KdsInputSegmentsConfig } from './useInputSegments.helpers';
|
|
2
|
+
export type KdsSegmentMouseHandlersDeps = {
|
|
3
|
+
getConfig: () => KdsInputSegmentsConfig | undefined;
|
|
4
|
+
getInputElement: () => HTMLInputElement | null;
|
|
5
|
+
getSegments: () => readonly KdsInputSegment[];
|
|
6
|
+
getActiveSegmentIndex: () => number;
|
|
7
|
+
getSkipFocusSelection: () => boolean;
|
|
8
|
+
setSkipFocusSelection: (value: boolean) => void;
|
|
9
|
+
cancelScheduledSelection: () => void;
|
|
10
|
+
normalizeSegment: (segmentIndex: number) => void;
|
|
11
|
+
selectSegment: (segmentIndex: number) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const createSegmentMouseHandlers: (deps: KdsSegmentMouseHandlersDeps) => {
|
|
14
|
+
handleFocus: () => void;
|
|
15
|
+
handleBlur: () => void;
|
|
16
|
+
handlePointerDown: () => void;
|
|
17
|
+
handleClick: (event: MouseEvent) => void;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=useInputSegmentsMouse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInputSegmentsMouse.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/useInputSegmentsMouse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAOpC,MAAM,MAAM,2BAA2B,GAAG;IACxC,SAAS,EAAE,MAAM,sBAAsB,GAAG,SAAS,CAAC;IACpD,eAAe,EAAE,MAAM,gBAAgB,GAAG,IAAI,CAAC;IAC/C,WAAW,EAAE,MAAM,SAAS,eAAe,EAAE,CAAC;IAC9C,qBAAqB,EAAE,MAAM,MAAM,CAAC;IACpC,qBAAqB,EAAE,MAAM,OAAO,CAAC;IACrC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,gBAAgB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,MAAM,2BAA2B;;;;yBA6BL,UAAU;CA4CvC,CAAC"}
|
|
@@ -46,11 +46,13 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
46
46
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
47
47
|
readonly clearable?: boolean | undefined;
|
|
48
48
|
readonly pattern?: string | undefined;
|
|
49
|
+
readonly segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig | undefined;
|
|
49
50
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
50
51
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
51
52
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
52
53
|
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
53
54
|
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
55
|
+
readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
54
56
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
57
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
56
58
|
$attrs: import('vue').Attrs;
|
|
@@ -65,7 +67,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
65
67
|
$root: import('vue').ComponentPublicInstance | null;
|
|
66
68
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
67
69
|
$host: Element | null;
|
|
68
|
-
$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);
|
|
69
71
|
$el: HTMLDivElement;
|
|
70
72
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
71
73
|
modelValue?: string;
|
|
@@ -99,12 +101,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
99
101
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
100
102
|
clearable?: boolean;
|
|
101
103
|
pattern?: string;
|
|
104
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
102
105
|
}> & Readonly<{
|
|
103
106
|
onInput?: ((event: Event) => any) | undefined;
|
|
104
107
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
105
108
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
106
109
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
107
110
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
111
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
108
112
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
109
113
|
}>, {
|
|
110
114
|
focus: () => void;
|
|
@@ -114,6 +118,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
114
118
|
blur: (event: FocusEvent) => any;
|
|
115
119
|
focus: (event: FocusEvent) => any;
|
|
116
120
|
keydown: (event: KeyboardEvent) => any;
|
|
121
|
+
paste: (event: ClipboardEvent) => any;
|
|
117
122
|
"update:modelValue": (value: string) => any;
|
|
118
123
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
119
124
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -167,12 +172,14 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
167
172
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
168
173
|
clearable?: boolean;
|
|
169
174
|
pattern?: string;
|
|
175
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
170
176
|
}> & Readonly<{
|
|
171
177
|
onInput?: ((event: Event) => any) | undefined;
|
|
172
178
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
173
179
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
174
180
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
175
181
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
182
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
176
183
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
177
184
|
}>, "focus"> & {
|
|
178
185
|
focus: () => void;
|
|
@@ -182,7 +189,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
182
189
|
trailing?(_: {}): any;
|
|
183
190
|
};
|
|
184
191
|
}) | null;
|
|
185
|
-
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
192
|
+
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
186
193
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
187
194
|
}>, {
|
|
188
195
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -190,6 +197,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
190
197
|
handleBlur: () => void;
|
|
191
198
|
activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
|
|
192
199
|
focus: () => void;
|
|
200
|
+
scrollSelectedIntoView: () => void;
|
|
193
201
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
194
202
|
itemClick: (id?: string | undefined) => any;
|
|
195
203
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -201,7 +209,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
201
209
|
C: {};
|
|
202
210
|
M: {};
|
|
203
211
|
Defaults: {};
|
|
204
|
-
}, Readonly<import('
|
|
212
|
+
}, Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
205
213
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
206
214
|
}>, {
|
|
207
215
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -209,6 +217,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
|
209
217
|
handleBlur: () => void;
|
|
210
218
|
activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
|
|
211
219
|
focus: () => void;
|
|
220
|
+
scrollSelectedIntoView: () => void;
|
|
212
221
|
}, {}, {}, {}, {}> | null;
|
|
213
222
|
}, HTMLDivElement>;
|
|
214
223
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/DropdownContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/DropdownContainer.vue"],"names":[],"mappings":"AAmKA,OAAO,KAAK,EAAE,sBAAsB,EAAqB,MAAM,SAAS,CAAC;AAEzE,KAAK,WAAW,GAAG,sBAAsB,CAAC;AAwG1C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAoK21Z,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBj+Z,wBAUG"}
|
|
@@ -83,16 +83,30 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
83
83
|
popoverEl: ({
|
|
84
84
|
$: import('vue').ComponentInternalInstance;
|
|
85
85
|
$data: {};
|
|
86
|
-
$props: {
|
|
86
|
+
$props: ({
|
|
87
87
|
readonly modelValue?: boolean | undefined;
|
|
88
|
-
readonly placement?: import('../../../overlays/Popover/types.ts').KdsPopoverPlacement | undefined;
|
|
89
88
|
readonly role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole | undefined;
|
|
90
89
|
readonly popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType | undefined;
|
|
91
90
|
readonly fullWidth?: boolean | undefined;
|
|
92
91
|
readonly maxInlineSize?: string | undefined;
|
|
93
92
|
readonly content?: string | undefined;
|
|
93
|
+
readonly placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom"> | undefined;
|
|
94
|
+
readonly customPlacementPosition?: never | undefined;
|
|
94
95
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
95
|
-
}
|
|
96
|
+
} | {
|
|
97
|
+
readonly modelValue?: boolean | undefined;
|
|
98
|
+
readonly role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole | undefined;
|
|
99
|
+
readonly popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType | undefined;
|
|
100
|
+
readonly fullWidth?: boolean | undefined;
|
|
101
|
+
readonly maxInlineSize?: string | undefined;
|
|
102
|
+
readonly content?: string | undefined;
|
|
103
|
+
readonly placement: "custom";
|
|
104
|
+
readonly customPlacementPosition: {
|
|
105
|
+
x: number;
|
|
106
|
+
y: number;
|
|
107
|
+
};
|
|
108
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
109
|
+
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
96
110
|
$attrs: import('vue').Attrs;
|
|
97
111
|
$refs: {
|
|
98
112
|
[x: string]: unknown;
|
|
@@ -107,9 +121,32 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
107
121
|
$host: Element | null;
|
|
108
122
|
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
109
123
|
$el: HTMLDivElement;
|
|
110
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
124
|
+
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
111
125
|
modelValue?: boolean;
|
|
112
|
-
} &
|
|
126
|
+
} & {
|
|
127
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
128
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
129
|
+
fullWidth?: boolean;
|
|
130
|
+
maxInlineSize?: string;
|
|
131
|
+
content?: string;
|
|
132
|
+
} & {
|
|
133
|
+
placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom">;
|
|
134
|
+
customPlacementPosition?: never;
|
|
135
|
+
}) | ({
|
|
136
|
+
modelValue?: boolean;
|
|
137
|
+
} & {
|
|
138
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
139
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
140
|
+
fullWidth?: boolean;
|
|
141
|
+
maxInlineSize?: string;
|
|
142
|
+
content?: string;
|
|
143
|
+
} & {
|
|
144
|
+
placement: "custom";
|
|
145
|
+
customPlacementPosition: {
|
|
146
|
+
x: number;
|
|
147
|
+
y: number;
|
|
148
|
+
};
|
|
149
|
+
})> & Readonly<{
|
|
113
150
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
114
151
|
}>, {
|
|
115
152
|
anchorStyle: Record<string, string>;
|
|
@@ -136,11 +173,34 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
136
173
|
$forceUpdate: () => void;
|
|
137
174
|
$nextTick: typeof nextTick;
|
|
138
175
|
$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;
|
|
139
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
176
|
+
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
140
177
|
modelValue?: boolean;
|
|
141
|
-
} &
|
|
178
|
+
} & {
|
|
179
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
180
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
181
|
+
fullWidth?: boolean;
|
|
182
|
+
maxInlineSize?: string;
|
|
183
|
+
content?: string;
|
|
184
|
+
} & {
|
|
185
|
+
placement?: Exclude<import('../../../overlays/Popover/types.ts').KdsPopoverPlacement, "custom">;
|
|
186
|
+
customPlacementPosition?: never;
|
|
187
|
+
}) | ({
|
|
188
|
+
modelValue?: boolean;
|
|
189
|
+
} & {
|
|
190
|
+
role?: import('../../../overlays/Popover/types.ts').KdsPopoverRole;
|
|
191
|
+
popoverType?: import('../../../overlays/Popover/types.ts').KdsPopoverType;
|
|
192
|
+
fullWidth?: boolean;
|
|
193
|
+
maxInlineSize?: string;
|
|
194
|
+
content?: string;
|
|
195
|
+
} & {
|
|
196
|
+
placement: "custom";
|
|
197
|
+
customPlacementPosition: {
|
|
198
|
+
x: number;
|
|
199
|
+
y: number;
|
|
200
|
+
};
|
|
201
|
+
})> & Readonly<{
|
|
142
202
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
143
|
-
}
|
|
203
|
+
}>), "anchorStyle" | "popoverId"> & {
|
|
144
204
|
anchorStyle: Record<string, string>;
|
|
145
205
|
popoverId: string;
|
|
146
206
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -193,11 +253,13 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
193
253
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
194
254
|
readonly clearable?: boolean | undefined;
|
|
195
255
|
readonly pattern?: string | undefined;
|
|
256
|
+
readonly segments?: import('../../inputs/useInputSegments.helpers.ts').KdsInputSegmentsConfig | undefined;
|
|
196
257
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
197
258
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
198
259
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
199
260
|
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
200
261
|
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
262
|
+
readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
201
263
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
202
264
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
203
265
|
$attrs: import('vue').Attrs;
|
|
@@ -212,7 +274,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
212
274
|
$root: import('vue').ComponentPublicInstance | null;
|
|
213
275
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
214
276
|
$host: Element | null;
|
|
215
|
-
$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);
|
|
277
|
+
$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);
|
|
216
278
|
$el: HTMLDivElement;
|
|
217
279
|
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
218
280
|
modelValue?: string;
|
|
@@ -246,12 +308,14 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
246
308
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
247
309
|
clearable?: boolean;
|
|
248
310
|
pattern?: string;
|
|
311
|
+
segments?: import('../../inputs/useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
249
312
|
}> & Readonly<{
|
|
250
313
|
onInput?: ((event: Event) => any) | undefined;
|
|
251
314
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
252
315
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
253
316
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
254
317
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
318
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
255
319
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
256
320
|
}>, {
|
|
257
321
|
focus: () => void;
|
|
@@ -261,6 +325,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
261
325
|
blur: (event: FocusEvent) => any;
|
|
262
326
|
focus: (event: FocusEvent) => any;
|
|
263
327
|
keydown: (event: KeyboardEvent) => any;
|
|
328
|
+
paste: (event: ClipboardEvent) => any;
|
|
264
329
|
"update:modelValue": (value: string) => any;
|
|
265
330
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
266
331
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -314,12 +379,14 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
314
379
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
315
380
|
clearable?: boolean;
|
|
316
381
|
pattern?: string;
|
|
382
|
+
segments?: import('../../inputs/useInputSegments.helpers.ts').KdsInputSegmentsConfig;
|
|
317
383
|
}> & Readonly<{
|
|
318
384
|
onInput?: ((event: Event) => any) | undefined;
|
|
319
385
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
320
386
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
321
387
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
322
388
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
389
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
323
390
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
324
391
|
}>, "focus"> & {
|
|
325
392
|
focus: () => void;
|
|
@@ -329,7 +396,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
329
396
|
trailing?(_: {}): any;
|
|
330
397
|
};
|
|
331
398
|
}) | null;
|
|
332
|
-
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../../
|
|
399
|
+
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../../index.ts').KdsListContainerProps> & Readonly<{
|
|
333
400
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
334
401
|
}>, {
|
|
335
402
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -337,6 +404,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
337
404
|
handleBlur: () => void;
|
|
338
405
|
activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
|
|
339
406
|
focus: () => void;
|
|
407
|
+
scrollSelectedIntoView: () => void;
|
|
340
408
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
341
409
|
itemClick: (id?: string | undefined) => any;
|
|
342
410
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -348,7 +416,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
348
416
|
C: {};
|
|
349
417
|
M: {};
|
|
350
418
|
Defaults: {};
|
|
351
|
-
}, Readonly<import('../../../
|
|
419
|
+
}, Readonly<import('../../../index.ts').KdsListContainerProps> & Readonly<{
|
|
352
420
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
353
421
|
}>, {
|
|
354
422
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -356,6 +424,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
356
424
|
handleBlur: () => void;
|
|
357
425
|
activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
|
|
358
426
|
focus: () => void;
|
|
427
|
+
scrollSelectedIntoView: () => void;
|
|
359
428
|
}, {}, {}, {}, {}> | null;
|
|
360
429
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
361
430
|
P: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsDropdown.vue"],"names":[],"mappings":"AA8FA,OAAO,EAAY,QAAQ,EAAoC,MAAM,KAAK,CAAC;;iBA+C9D,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM
|
|
1
|
+
{"version":3,"file":"KdsDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsDropdown.vue"],"names":[],"mappings":"AA8FA,OAAO,EAAY,QAAQ,EAAoC,MAAM,KAAK,CAAC;;iBA+C9D,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiMi6e,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjB1if,wBASG"}
|