@knime/kds-components 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +126 -83
- package/dist/index.js +963 -392
- package/dist/index.js.map +1 -1
- package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts +22 -1
- package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts.map +1 -1
- package/dist/src/containers/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/ListContainer/types.d.ts +10 -5
- package/dist/src/containers/ListContainer/types.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/types.d.ts +6 -0
- package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
- package/dist/src/containers/_helpers/types.d.ts +20 -0
- package/dist/src/containers/_helpers/types.d.ts.map +1 -0
- package/dist/src/containers/_helpers/useListItemKeyboardNav.d.ts +3 -1
- package/dist/src/containers/_helpers/useListItemKeyboardNav.d.ts.map +1 -1
- package/dist/src/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.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.map +1 -1
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/index.d.ts +2 -0
- package/dist/src/forms/inputs/index.d.ts.map +1 -1
- package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/src/containers/ListContainer/enums.d.ts +0 -6
- package/dist/src/containers/ListContainer/enums.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.vue.d.ts","sourceRoot":"","sources":["../../../src/buttons/BaseButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseButton.vue.d.ts","sourceRoot":"","sources":["../../../src/buttons/BaseButton.vue"],"names":[],"mappings":"AA+VA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,KAAK,CAAC;AAyD/C,iBAAS,cAAc;WAqGT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;gBA1KP,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;gBAAlB,MAAM,GAAG,SAAS;;;kFAkL9B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -9,6 +9,27 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
onItemClick?: ((id: string) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
14
|
+
onItemClick?: ((id: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
focus: () => void;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
itemClick: (id: string) => any;
|
|
19
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
20
|
+
containerEl: HTMLDivElement;
|
|
21
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
22
|
+
P: {};
|
|
23
|
+
B: {};
|
|
24
|
+
D: {};
|
|
25
|
+
C: {};
|
|
26
|
+
M: {};
|
|
27
|
+
Defaults: {};
|
|
28
|
+
}, Readonly<import('../MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
29
|
+
onItemClick?: ((id: string) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
focus: () => void;
|
|
32
|
+
}, {}, {}, {}, {}> | null;
|
|
33
|
+
}, any>;
|
|
13
34
|
export default _default;
|
|
14
35
|
//# sourceMappingURL=KdsContextMenu.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/ContextMenu/KdsContextMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/ContextMenu/KdsContextMenu.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAqCvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FhB,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"AA2MA,OAAO,KAAK,EAA0B,qBAAqB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;AA0Q7E,wBAUG"}
|
|
@@ -2,8 +2,7 @@ import { Ref } from 'vue';
|
|
|
2
2
|
import { KdsIconName } from '../../accessories';
|
|
3
3
|
import { KdsListItemVariant } from '../ListItem/KdsListItem';
|
|
4
4
|
import { KdsListItemAccessory } from '../ListItem/ListItemAccessory/types';
|
|
5
|
-
import {
|
|
6
|
-
export type KdsListContainerRole = (typeof kdsListContainerRole)[keyof typeof kdsListContainerRole];
|
|
5
|
+
import { ItemFocusStrategy } from '../_helpers/types';
|
|
7
6
|
export type KdsListOption = {
|
|
8
7
|
id: string;
|
|
9
8
|
text: string;
|
|
@@ -47,10 +46,16 @@ export type KdsListContainerProps = {
|
|
|
47
46
|
ariaLabel?: string;
|
|
48
47
|
/** When true, the list is controlled externally (e.g. by a search input). The list will not be focusable and the parent must forward events via the exposed handleKeydown/handleFocus/handleBlur methods. */
|
|
49
48
|
controlledExternally?: boolean;
|
|
50
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* When `true`, the active highlight can be cleared so that no item is active. ArrowUp from the first item and ArrowDown
|
|
51
|
+
* from the last item move to the unselected state. Useful for search result lists where the user may not want any pre-selection.
|
|
52
|
+
*/
|
|
51
53
|
allowNoSelection?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
|
|
54
|
+
/**
|
|
55
|
+
* How to set the active state for the child items when the container receives focus
|
|
56
|
+
* @default persistent
|
|
57
|
+
*/
|
|
58
|
+
itemFocusStrategy?: ItemFocusStrategy;
|
|
54
59
|
};
|
|
55
60
|
export type KdsListContainerExpose = {
|
|
56
61
|
/** Forward a keydown event to the list for keyboard navigation */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/ListContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/ListContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,kEAAkE;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6MAA6M;IAC7M,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,kEAAkE;IAClE,aAAa,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C,kEAAkE;IAClE,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,kHAAkH;IAClH,gBAAgB,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;IACpD,gDAAgD;IAChD,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,+DAA+D;IAC/D,sBAAsB,EAAE,MAAM,IAAI,CAAC;CACpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,SAAS,CAAC;;;;;;;;;;AAiKjB,wBAUG"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KdsBadgeVariant, KdsIconName } from '../../accessories';
|
|
2
2
|
import { KdsListItemVariant } from '../ListItem/KdsListItem';
|
|
3
3
|
import { KdsAvatarAccessory, KdsIconAccessory, KdsLiveStatusAccessory } from '../ListItem/ListItemAccessory/types';
|
|
4
|
+
import { ItemFocusStrategy } from '../_helpers/types';
|
|
4
5
|
type KdsMenuItemAccessory = KdsIconAccessory | KdsLiveStatusAccessory | KdsAvatarAccessory;
|
|
5
6
|
export type KdsMenuItem = {
|
|
6
7
|
id: string;
|
|
@@ -48,6 +49,11 @@ export type KdsMenuContainerProps = {
|
|
|
48
49
|
menuMaxHeight?: string;
|
|
49
50
|
/** Size variant for all the items in this container */
|
|
50
51
|
variant?: KdsListItemVariant;
|
|
52
|
+
/**
|
|
53
|
+
* How to set the active state for the child items when the container receives focus
|
|
54
|
+
* @default noop
|
|
55
|
+
*/
|
|
56
|
+
itemFocusStrategy?: ItemFocusStrategy;
|
|
51
57
|
};
|
|
52
58
|
export type KdsMenuContainerExpose = {
|
|
53
59
|
/** Moves focus to the menu list */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,oBAAoB,GACrB,gBAAgB,GAChB,sBAAsB,GACtB,kBAAkB,CAAC;AAEvB,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IAEb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAElC;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,yHAAyH;IACzH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B,CAAC;IAEF;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAC;IACX,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uDAAuD;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,mCAAmC;IACnC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
|
|
3
|
+
* How to handle which item is set as `active` when the container receives focus:
|
|
4
|
+
*
|
|
5
|
+
* - `noop`: Do nothing. No item is set as active initially; only the container gets the focus.
|
|
6
|
+
* This behavior is mostly interesting for containers that are usually opened via mouse
|
|
7
|
+
* interactions, where you don't want to force a focus on an item unless explicitly requested.
|
|
8
|
+
*
|
|
9
|
+
* - `persistent`: As the focus is moved in/out of the container, this mode would remember which was
|
|
10
|
+
* the item that was last set to `active` and set again if possible. When no value is initialized/remembered
|
|
11
|
+
* it defaults to the first item
|
|
12
|
+
* This behavior is mostly interesting for containers which are "attached" to some other form of text input
|
|
13
|
+
* (e.g combo-box, search input, dropdown, etc). In these cases, the majority of the interactions
|
|
14
|
+
* are initiated/driven by keyboard, and for UX and accessibility reasons it's best to automatically
|
|
15
|
+
* "focus" items in the list
|
|
16
|
+
*
|
|
17
|
+
* - `always-first`: Always set the first enabled item as active when the container receives focus.
|
|
18
|
+
*/
|
|
19
|
+
export type ItemFocusStrategy = "noop" | "always-first" | "persistent";
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/_helpers/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,cAAc,GAAG,YAAY,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, MaybeRefOrGetter, ShallowRef } from 'vue';
|
|
2
|
+
import { ItemFocusStrategy } from './types';
|
|
2
3
|
type ItemWithId = {
|
|
3
4
|
id: string;
|
|
4
5
|
};
|
|
@@ -10,6 +11,7 @@ type Options<T extends ItemWithId> = {
|
|
|
10
11
|
allowNoSelection?: boolean;
|
|
11
12
|
emptyOptionId?: string;
|
|
12
13
|
loading?: boolean;
|
|
14
|
+
itemFocusStrategy?: ItemFocusStrategy;
|
|
13
15
|
triggers?: {
|
|
14
16
|
onEnter?: (activeItemId: string, item: T, event: KeyboardEvent) => void;
|
|
15
17
|
onSpace?: (activeItemId: string, item: T, event: KeyboardEvent) => void;
|
|
@@ -18,7 +20,7 @@ type Options<T extends ItemWithId> = {
|
|
|
18
20
|
export declare const useListItemKeyboardNav: <T extends ItemWithId>(options: Options<T>) => {
|
|
19
21
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
20
22
|
activeId: Readonly<import('vue').Ref<string | undefined, string | undefined>>;
|
|
21
|
-
focus: () => void;
|
|
23
|
+
focus: (didIdsChange?: boolean) => void;
|
|
22
24
|
blur: () => void;
|
|
23
25
|
setActiveId: (id: string | undefined) => void;
|
|
24
26
|
scrollSelectedIntoView: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListItemKeyboardNav.d.ts","sourceRoot":"","sources":["../../../../src/containers/_helpers/useListItemKeyboardNav.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"useListItemKeyboardNav.d.ts","sourceRoot":"","sources":["../../../../src/containers/_helpers/useListItemKeyboardNav.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAOhB,MAAM,KAAK,CAAC;AAEb,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,KAAK,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjC,KAAK,OAAO,CAAC,CAAC,SAAS,UAAU,IAAI;IACnC,WAAW,EAAE,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C,eAAe,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,YAAY,EAAE,gBAAgB,CAAC,UAAU,GAAG,QAAQ,CAAC,CAAC;IAEtD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;QACxE,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;KACzE,CAAC;CACH,CAAC;AASF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,UAAU,EACzD,SAAS,OAAO,CAAC,CAAC,CAAC;2BA+CW,aAAa;;;;sBAgIlB,MAAM,GAAG,SAAS;;CAmC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/BaseInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/BaseInput.vue"],"names":[],"mappings":"AA2jBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,oBAAoB,CAAC;AAE5B,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC3E;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACxE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IACvD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACnC,CAAC;AAEF,KAAK,WAAW,GAAG,cAAc,CAAC;AAwLlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+KT,OAAO,IAA6B;;yBAZrB,GAAG;0BACD,GAAG;;;;;;EAgBjC;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAvOnB;;OAEG;;;;;;;;;;;;;;;;;;;;kBA+OH,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -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":"AA2LA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAmPqlP,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB3tP,wBAUG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
import { IntervalInputPopoverProps, KdsIntervalInputUsedFormat } from './types';
|
|
3
|
+
type __VLS_Props = IntervalInputPopoverProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue: Temporal.Duration;
|
|
6
|
+
"usedFormat": KdsIntervalInputUsedFormat;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: Temporal.Duration) => any;
|
|
10
|
+
"update:usedFormat": (value: KdsIntervalInputUsedFormat) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: Temporal.Duration) => any) | undefined;
|
|
13
|
+
"onUpdate:usedFormat"?: ((value: KdsIntervalInputUsedFormat) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=IntervalInputPopover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntervalInputPopover.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/IntervalInput/IntervalInputPopover.vue"],"names":[],"mappings":"AAiPA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAelD,OAAO,KAAK,EACV,yBAAyB,EAEzB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG,yBAAyB,CAAC;AAiH7C,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAC9B,YAAY,EAAE,0BAA0B,CAAC;CACxC,GAAG,WAAW,CAAC;;;;;;;;AAwLhB,wBAQG"}
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { Temporal } from 'temporal-polyfill';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<({
|
|
3
|
+
modelValue?: Temporal.Duration | null;
|
|
4
|
+
} & {
|
|
5
|
+
description?: string;
|
|
6
|
+
} & {
|
|
7
|
+
label: string;
|
|
8
|
+
ariaLabel?: never;
|
|
9
|
+
} & {
|
|
10
|
+
id?: string;
|
|
11
|
+
} & {
|
|
12
|
+
error?: boolean | undefined;
|
|
13
|
+
subText?: string | undefined;
|
|
14
|
+
validating?: boolean | undefined;
|
|
15
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
autocomplete?: string;
|
|
20
|
+
} & {
|
|
21
|
+
format?: import('./types').KdsIntervalInputFormat;
|
|
22
|
+
allowDescending?: boolean;
|
|
23
|
+
}) | ({
|
|
24
|
+
modelValue?: Temporal.Duration | null;
|
|
25
|
+
} & {
|
|
26
|
+
description?: string;
|
|
27
|
+
} & {
|
|
28
|
+
label?: never;
|
|
29
|
+
ariaLabel: string;
|
|
30
|
+
} & {
|
|
31
|
+
id?: string;
|
|
32
|
+
} & {
|
|
33
|
+
error?: boolean | undefined;
|
|
34
|
+
subText?: string | undefined;
|
|
35
|
+
validating?: boolean | undefined;
|
|
36
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
autocomplete?: string;
|
|
41
|
+
} & {
|
|
42
|
+
format?: import('./types').KdsIntervalInputFormat;
|
|
43
|
+
allowDescending?: boolean;
|
|
44
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"update:modelValue": (value: Temporal.Duration | null) => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
47
|
+
modelValue?: Temporal.Duration | null;
|
|
48
|
+
} & {
|
|
49
|
+
description?: string;
|
|
50
|
+
} & {
|
|
51
|
+
label: string;
|
|
52
|
+
ariaLabel?: never;
|
|
53
|
+
} & {
|
|
54
|
+
id?: string;
|
|
55
|
+
} & {
|
|
56
|
+
error?: boolean | undefined;
|
|
57
|
+
subText?: string | undefined;
|
|
58
|
+
validating?: boolean | undefined;
|
|
59
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
60
|
+
} & {
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
autocomplete?: string;
|
|
64
|
+
} & {
|
|
65
|
+
format?: import('./types').KdsIntervalInputFormat;
|
|
66
|
+
allowDescending?: boolean;
|
|
67
|
+
}) | ({
|
|
68
|
+
modelValue?: Temporal.Duration | null;
|
|
69
|
+
} & {
|
|
70
|
+
description?: string;
|
|
71
|
+
} & {
|
|
72
|
+
label?: never;
|
|
73
|
+
ariaLabel: string;
|
|
74
|
+
} & {
|
|
75
|
+
id?: string;
|
|
76
|
+
} & {
|
|
77
|
+
error?: boolean | undefined;
|
|
78
|
+
subText?: string | undefined;
|
|
79
|
+
validating?: boolean | undefined;
|
|
80
|
+
preserveSubTextSpace?: boolean | undefined;
|
|
81
|
+
} & {
|
|
82
|
+
placeholder?: string;
|
|
83
|
+
disabled?: boolean;
|
|
84
|
+
autocomplete?: string;
|
|
85
|
+
} & {
|
|
86
|
+
format?: import('./types').KdsIntervalInputFormat;
|
|
87
|
+
allowDescending?: boolean;
|
|
88
|
+
})> & Readonly<{
|
|
89
|
+
"onUpdate:modelValue"?: ((value: Temporal.Duration | null) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
91
|
+
baseInput: ({
|
|
92
|
+
$: import('vue').ComponentInternalInstance;
|
|
93
|
+
$data: {};
|
|
94
|
+
$props: {
|
|
95
|
+
readonly modelValue?: string | undefined;
|
|
96
|
+
readonly id?: string | undefined;
|
|
97
|
+
readonly type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | undefined;
|
|
98
|
+
readonly min?: number | string | undefined;
|
|
99
|
+
readonly max?: number | string | undefined;
|
|
100
|
+
readonly ariaExpanded?: boolean | undefined;
|
|
101
|
+
readonly step?: number | undefined;
|
|
102
|
+
readonly placeholder?: string | undefined;
|
|
103
|
+
readonly disabled?: boolean | undefined;
|
|
104
|
+
readonly leadingIcon?: import('../../..').KdsIconName | undefined;
|
|
105
|
+
readonly trailingIcon?: import('../../..').KdsIconName | undefined;
|
|
106
|
+
readonly error?: boolean | undefined;
|
|
107
|
+
readonly autocomplete?: string | undefined;
|
|
108
|
+
readonly ariaLabel?: string | undefined;
|
|
109
|
+
readonly ariaLabelledby?: string | undefined;
|
|
110
|
+
readonly ariaDescribedby?: string | undefined;
|
|
111
|
+
readonly ariaInvalid?: boolean | undefined;
|
|
112
|
+
readonly role?: string | undefined;
|
|
113
|
+
readonly ariaValuenow?: number | undefined;
|
|
114
|
+
readonly ariaValuemin?: number | undefined;
|
|
115
|
+
readonly ariaValuemax?: number | undefined;
|
|
116
|
+
readonly ariaValuetext?: string | undefined;
|
|
117
|
+
readonly ariaActivedescendant?: string | undefined;
|
|
118
|
+
readonly ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true" | undefined;
|
|
119
|
+
readonly ariaControls?: string | undefined;
|
|
120
|
+
readonly ariaAutocomplete?: "none" | "inline" | "list" | "both" | undefined;
|
|
121
|
+
readonly unit?: string | undefined;
|
|
122
|
+
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
123
|
+
readonly clearable?: boolean | undefined;
|
|
124
|
+
readonly pattern?: string | undefined;
|
|
125
|
+
readonly segments?: import('../useInputSegments.helpers').KdsInputSegmentsConfig | undefined;
|
|
126
|
+
readonly onInput?: ((event: Event) => any) | undefined;
|
|
127
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
128
|
+
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
129
|
+
readonly onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
130
|
+
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
131
|
+
readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
132
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
134
|
+
$attrs: import('vue').Attrs;
|
|
135
|
+
$refs: {
|
|
136
|
+
[x: string]: unknown;
|
|
137
|
+
} & {
|
|
138
|
+
input: HTMLInputElement;
|
|
139
|
+
};
|
|
140
|
+
$slots: Readonly<{
|
|
141
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
142
|
+
}>;
|
|
143
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
144
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
145
|
+
$host: Element | null;
|
|
146
|
+
$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);
|
|
147
|
+
$el: HTMLDivElement;
|
|
148
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
149
|
+
modelValue?: string;
|
|
150
|
+
} & {
|
|
151
|
+
id?: string;
|
|
152
|
+
type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
153
|
+
min?: number | string;
|
|
154
|
+
max?: number | string;
|
|
155
|
+
ariaExpanded?: boolean;
|
|
156
|
+
step?: number;
|
|
157
|
+
placeholder?: string;
|
|
158
|
+
disabled?: boolean;
|
|
159
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
160
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
161
|
+
error?: boolean;
|
|
162
|
+
autocomplete?: string;
|
|
163
|
+
ariaLabel?: string;
|
|
164
|
+
ariaLabelledby?: string;
|
|
165
|
+
ariaDescribedby?: string;
|
|
166
|
+
ariaInvalid?: boolean;
|
|
167
|
+
role?: string;
|
|
168
|
+
ariaValuenow?: number;
|
|
169
|
+
ariaValuemin?: number;
|
|
170
|
+
ariaValuemax?: number;
|
|
171
|
+
ariaValuetext?: string;
|
|
172
|
+
ariaActivedescendant?: string;
|
|
173
|
+
ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true";
|
|
174
|
+
ariaControls?: string;
|
|
175
|
+
ariaAutocomplete?: "none" | "inline" | "list" | "both";
|
|
176
|
+
unit?: string;
|
|
177
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
178
|
+
clearable?: boolean;
|
|
179
|
+
pattern?: string;
|
|
180
|
+
segments?: import('../useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
181
|
+
}> & Readonly<{
|
|
182
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
183
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
184
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
185
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
186
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
187
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
188
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
189
|
+
}>, {
|
|
190
|
+
focus: () => void;
|
|
191
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
192
|
+
input: (event: Event) => any;
|
|
193
|
+
click: (event: MouseEvent) => any;
|
|
194
|
+
blur: (event: FocusEvent) => any;
|
|
195
|
+
focus: (event: FocusEvent) => any;
|
|
196
|
+
keydown: (event: KeyboardEvent) => any;
|
|
197
|
+
paste: (event: ClipboardEvent) => any;
|
|
198
|
+
"update:modelValue": (value: string) => any;
|
|
199
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
200
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
201
|
+
created?: (() => void) | (() => void)[];
|
|
202
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
203
|
+
mounted?: (() => void) | (() => void)[];
|
|
204
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
205
|
+
updated?: (() => void) | (() => void)[];
|
|
206
|
+
activated?: (() => void) | (() => void)[];
|
|
207
|
+
deactivated?: (() => void) | (() => void)[];
|
|
208
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
209
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
210
|
+
destroyed?: (() => void) | (() => void)[];
|
|
211
|
+
unmounted?: (() => void) | (() => void)[];
|
|
212
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
213
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
214
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
215
|
+
};
|
|
216
|
+
$forceUpdate: () => void;
|
|
217
|
+
$nextTick: typeof import('vue').nextTick;
|
|
218
|
+
$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;
|
|
219
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
220
|
+
modelValue?: string;
|
|
221
|
+
} & {
|
|
222
|
+
id?: string;
|
|
223
|
+
type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
224
|
+
min?: number | string;
|
|
225
|
+
max?: number | string;
|
|
226
|
+
ariaExpanded?: boolean;
|
|
227
|
+
step?: number;
|
|
228
|
+
placeholder?: string;
|
|
229
|
+
disabled?: boolean;
|
|
230
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
231
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
232
|
+
error?: boolean;
|
|
233
|
+
autocomplete?: string;
|
|
234
|
+
ariaLabel?: string;
|
|
235
|
+
ariaLabelledby?: string;
|
|
236
|
+
ariaDescribedby?: string;
|
|
237
|
+
ariaInvalid?: boolean;
|
|
238
|
+
role?: string;
|
|
239
|
+
ariaValuenow?: number;
|
|
240
|
+
ariaValuemin?: number;
|
|
241
|
+
ariaValuemax?: number;
|
|
242
|
+
ariaValuetext?: string;
|
|
243
|
+
ariaActivedescendant?: string;
|
|
244
|
+
ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true";
|
|
245
|
+
ariaControls?: string;
|
|
246
|
+
ariaAutocomplete?: "none" | "inline" | "list" | "both";
|
|
247
|
+
unit?: string;
|
|
248
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
249
|
+
clearable?: boolean;
|
|
250
|
+
pattern?: string;
|
|
251
|
+
segments?: import('../useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
252
|
+
}> & Readonly<{
|
|
253
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
254
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
255
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
256
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
257
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
258
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
259
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
260
|
+
}>, "focus"> & {
|
|
261
|
+
focus: () => void;
|
|
262
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
263
|
+
$slots: {
|
|
264
|
+
leading?(_: {}): any;
|
|
265
|
+
trailing?(_: {}): any;
|
|
266
|
+
};
|
|
267
|
+
}) | null;
|
|
268
|
+
popoverEl: ({
|
|
269
|
+
$: import('vue').ComponentInternalInstance;
|
|
270
|
+
$data: {};
|
|
271
|
+
$props: ({
|
|
272
|
+
readonly modelValue?: boolean | undefined;
|
|
273
|
+
readonly role?: import('../../../overlays/Popover').KdsPopoverRole | undefined;
|
|
274
|
+
readonly popoverType?: import('../../../overlays/Popover').KdsPopoverType | undefined;
|
|
275
|
+
readonly fullWidth?: boolean | undefined;
|
|
276
|
+
readonly maxInlineSize?: string | undefined;
|
|
277
|
+
readonly content?: string | undefined;
|
|
278
|
+
readonly placement?: Exclude<import('../../../overlays/Popover').KdsPopoverPlacement, "custom"> | undefined;
|
|
279
|
+
readonly customPlacementPosition?: never | undefined;
|
|
280
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
281
|
+
} | {
|
|
282
|
+
readonly modelValue?: boolean | undefined;
|
|
283
|
+
readonly role?: import('../../../overlays/Popover').KdsPopoverRole | undefined;
|
|
284
|
+
readonly popoverType?: import('../../../overlays/Popover').KdsPopoverType | undefined;
|
|
285
|
+
readonly fullWidth?: boolean | undefined;
|
|
286
|
+
readonly maxInlineSize?: string | undefined;
|
|
287
|
+
readonly content?: string | undefined;
|
|
288
|
+
readonly placement: "custom";
|
|
289
|
+
readonly customPlacementPosition: {
|
|
290
|
+
x: number;
|
|
291
|
+
y: number;
|
|
292
|
+
};
|
|
293
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
294
|
+
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
295
|
+
$attrs: import('vue').Attrs;
|
|
296
|
+
$refs: {
|
|
297
|
+
[x: string]: unknown;
|
|
298
|
+
} & {
|
|
299
|
+
popoverEl: HTMLDivElement;
|
|
300
|
+
};
|
|
301
|
+
$slots: Readonly<{
|
|
302
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
303
|
+
}>;
|
|
304
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
305
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
306
|
+
$host: Element | null;
|
|
307
|
+
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
308
|
+
$el: HTMLDivElement;
|
|
309
|
+
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
310
|
+
modelValue?: boolean;
|
|
311
|
+
} & {
|
|
312
|
+
role?: import('../../../overlays/Popover').KdsPopoverRole;
|
|
313
|
+
popoverType?: import('../../../overlays/Popover').KdsPopoverType;
|
|
314
|
+
fullWidth?: boolean;
|
|
315
|
+
maxInlineSize?: string;
|
|
316
|
+
content?: string;
|
|
317
|
+
} & {
|
|
318
|
+
placement?: Exclude<import('../../../overlays/Popover').KdsPopoverPlacement, "custom">;
|
|
319
|
+
customPlacementPosition?: never;
|
|
320
|
+
}) | ({
|
|
321
|
+
modelValue?: boolean;
|
|
322
|
+
} & {
|
|
323
|
+
role?: import('../../../overlays/Popover').KdsPopoverRole;
|
|
324
|
+
popoverType?: import('../../../overlays/Popover').KdsPopoverType;
|
|
325
|
+
fullWidth?: boolean;
|
|
326
|
+
maxInlineSize?: string;
|
|
327
|
+
content?: string;
|
|
328
|
+
} & {
|
|
329
|
+
placement: "custom";
|
|
330
|
+
customPlacementPosition: {
|
|
331
|
+
x: number;
|
|
332
|
+
y: number;
|
|
333
|
+
};
|
|
334
|
+
})> & Readonly<{
|
|
335
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
336
|
+
}>, {
|
|
337
|
+
anchorStyle: Record<string, string>;
|
|
338
|
+
popoverId: string;
|
|
339
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
340
|
+
"update:modelValue": (value: boolean) => any;
|
|
341
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
342
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
343
|
+
created?: (() => void) | (() => void)[];
|
|
344
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
345
|
+
mounted?: (() => void) | (() => void)[];
|
|
346
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
347
|
+
updated?: (() => void) | (() => void)[];
|
|
348
|
+
activated?: (() => void) | (() => void)[];
|
|
349
|
+
deactivated?: (() => void) | (() => void)[];
|
|
350
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
351
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
352
|
+
destroyed?: (() => void) | (() => void)[];
|
|
353
|
+
unmounted?: (() => void) | (() => void)[];
|
|
354
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
355
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
356
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
357
|
+
};
|
|
358
|
+
$forceUpdate: () => void;
|
|
359
|
+
$nextTick: typeof import('vue').nextTick;
|
|
360
|
+
$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;
|
|
361
|
+
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
362
|
+
modelValue?: boolean;
|
|
363
|
+
} & {
|
|
364
|
+
role?: import('../../../overlays/Popover').KdsPopoverRole;
|
|
365
|
+
popoverType?: import('../../../overlays/Popover').KdsPopoverType;
|
|
366
|
+
fullWidth?: boolean;
|
|
367
|
+
maxInlineSize?: string;
|
|
368
|
+
content?: string;
|
|
369
|
+
} & {
|
|
370
|
+
placement?: Exclude<import('../../../overlays/Popover').KdsPopoverPlacement, "custom">;
|
|
371
|
+
customPlacementPosition?: never;
|
|
372
|
+
}) | ({
|
|
373
|
+
modelValue?: boolean;
|
|
374
|
+
} & {
|
|
375
|
+
role?: import('../../../overlays/Popover').KdsPopoverRole;
|
|
376
|
+
popoverType?: import('../../../overlays/Popover').KdsPopoverType;
|
|
377
|
+
fullWidth?: boolean;
|
|
378
|
+
maxInlineSize?: string;
|
|
379
|
+
content?: string;
|
|
380
|
+
} & {
|
|
381
|
+
placement: "custom";
|
|
382
|
+
customPlacementPosition: {
|
|
383
|
+
x: number;
|
|
384
|
+
y: number;
|
|
385
|
+
};
|
|
386
|
+
})> & Readonly<{
|
|
387
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
388
|
+
}>), "anchorStyle" | "popoverId"> & {
|
|
389
|
+
anchorStyle: Record<string, string>;
|
|
390
|
+
popoverId: string;
|
|
391
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
392
|
+
$slots: {
|
|
393
|
+
default?(_: {}): any;
|
|
394
|
+
};
|
|
395
|
+
}) | null;
|
|
396
|
+
}, HTMLDivElement>;
|
|
397
|
+
export default _default;
|
|
398
|
+
//# sourceMappingURL=KdsIntervalInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsIntervalInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/IntervalInput/KdsIntervalInput.vue"],"names":[],"mappings":"AAsQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;;iBAsMrC,QAAQ,CAAC,QAAQ,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;iBAAxB,QAAQ,CAAC,QAAQ,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;iBAAxB,QAAQ,CAAC,QAAQ,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;iBAAxB,QAAQ,CAAC,QAAQ,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAqP6wI,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBx6I,wBASG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const kdsIntervalInputFormat: {
|
|
2
|
+
readonly DATE: "date";
|
|
3
|
+
readonly TIME: "time";
|
|
4
|
+
readonly DATE_OR_TIME: "date_or_time";
|
|
5
|
+
};
|
|
6
|
+
export declare const kdsIntervalInputFormats: ("time" | "date" | "date_or_time")[];
|
|
7
|
+
export declare const kdsIntervalDirectionality: {
|
|
8
|
+
readonly ASCENDING: "ascending";
|
|
9
|
+
readonly DESCENDING: "descending";
|
|
10
|
+
};
|
|
11
|
+
export declare const kdsIntervalDirectionalities: ("ascending" | "descending")[];
|
|
12
|
+
//# sourceMappingURL=enums.d.ts.map
|