@knime/kds-components 0.13.2 → 0.14.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/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts +5 -2
- package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
- package/dist/forms/_helper/List/KdsListItem/enums.d.ts +6 -0
- package/dist/forms/_helper/List/KdsListItem/enums.d.ts.map +1 -0
- package/dist/forms/_helper/List/KdsListItem/types.d.ts +11 -2
- package/dist/forms/_helper/List/KdsListItem/types.d.ts.map +1 -1
- package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +17 -0
- package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListContainer/index.d.ts +3 -0
- package/dist/forms/_helper/List/ListContainer/index.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListContainer/types.d.ts +39 -0
- package/dist/forms/_helper/List/ListContainer/types.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts +2 -2
- package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts.map +1 -1
- package/dist/forms/_helper/List/ListItemAccessory/enums.d.ts +7 -0
- package/dist/forms/_helper/List/ListItemAccessory/enums.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListItemAccessory/types.d.ts +2 -0
- package/dist/forms/_helper/List/ListItemAccessory/types.d.ts.map +1 -1
- package/dist/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/forms/inputs/BaseInput.vue.d.ts +7 -0
- package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/forms/inputs/ColorInput/ColorPicker.vue.d.ts +13 -0
- package/dist/forms/inputs/ColorInput/ColorPicker.vue.d.ts.map +1 -0
- package/dist/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +98 -0
- package/dist/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/ColorInput/colorUtils.d.ts +21 -0
- package/dist/forms/inputs/ColorInput/colorUtils.d.ts.map +1 -0
- package/dist/forms/inputs/ColorInput/index.d.ts +2 -0
- package/dist/forms/inputs/ColorInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/ColorInput/useColorInputValidationOnFocusOut.d.ts +5 -0
- package/dist/forms/inputs/ColorInput/useColorInputValidationOnFocusOut.d.ts.map +1 -0
- package/dist/forms/inputs/ColorInput/usePointerHandler.d.ts +7 -0
- package/dist/forms/inputs/ColorInput/usePointerHandler.d.ts.map +1 -0
- package/dist/forms/inputs/index.d.ts +1 -0
- package/dist/forms/inputs/index.d.ts.map +1 -1
- package/dist/forms/inputs/types.d.ts +1 -0
- package/dist/forms/inputs/types.d.ts.map +1 -1
- package/dist/index.css +191 -120
- package/dist/index.js +796 -236
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsInfoToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue"],"names":[],"mappings":"AAsHA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;GAEG;AAEH,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAmB5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmGT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"KdsInfoToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue"],"names":[],"mappings":"AAsHA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;GAEG;AAEH,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAmB5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmGT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAiE60hB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;EAhDn+hB;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8By1hB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;OArBl+hB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -4,16 +4,19 @@ declare const _default: import('vue').DefineComponent<KdsListItemProps, {}, {},
|
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<KdsListItemProps> & Readonly<{
|
|
5
5
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
6
6
|
}>, {
|
|
7
|
+
variant: import('./types.ts').KdsListItemVariant;
|
|
7
8
|
disabled: boolean;
|
|
9
|
+
trailingIcon: import('packages/styles/dist/img/icons/def.ts').IconName;
|
|
8
10
|
subText: string;
|
|
9
11
|
selected: boolean;
|
|
10
12
|
active: boolean;
|
|
11
13
|
accessory: import('../ListItemAccessory/types.ts').KdsListItemAccessory;
|
|
14
|
+
shortcut: string;
|
|
12
15
|
special: boolean;
|
|
13
16
|
missing: boolean;
|
|
14
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
18
|
labelEl: HTMLSpanElement;
|
|
16
|
-
|
|
17
|
-
},
|
|
19
|
+
subtextEl: HTMLSpanElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
18
21
|
export default _default;
|
|
19
22
|
//# sourceMappingURL=KdsListItem.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/KdsListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/KdsListItem.vue"],"names":[],"mappings":"AA6QA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;AA6MnD,wBAUG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { KdsIconName } from '../../../../accessories';
|
|
1
2
|
import { KdsListItemAccessory } from '../ListItemAccessory/types.ts';
|
|
3
|
+
import { kdsListItemVariant } from './enums';
|
|
4
|
+
export type KdsListItemVariant = (typeof kdsListItemVariant)[keyof typeof kdsListItemVariant];
|
|
2
5
|
export type KdsListItemProps = {
|
|
3
6
|
/** Unique identifier for the list item (also used as DOM id for aria-activedescendant patterns). */
|
|
4
7
|
id: string;
|
|
@@ -6,13 +9,19 @@ export type KdsListItemProps = {
|
|
|
6
9
|
label: string;
|
|
7
10
|
/** Optional leading accessory (icon, data type, color swatch, avatar, or live status). */
|
|
8
11
|
accessory?: KdsListItemAccessory;
|
|
9
|
-
/**
|
|
12
|
+
/** One or two-line subtext shown below the label */
|
|
10
13
|
subText?: string;
|
|
14
|
+
/** Visual size variant of the list item. Influences accessory/icon sizing, gaps and typography. */
|
|
15
|
+
variant?: KdsListItemVariant;
|
|
16
|
+
/** Optional shortcut text shown at the end of the row (e.g. "Ctrl + 1"). Only shown when the item is not selected and not missing. */
|
|
17
|
+
shortcut?: string;
|
|
18
|
+
/** Optional trailing icon displayed at the end of the row (e.g. "checkmark" for selected, "trash" for missing). */
|
|
19
|
+
trailingIcon?: KdsIconName;
|
|
11
20
|
/** Applies "special content" styling (used when the content is not a standard data field). Only applies in singleline mode. */
|
|
12
21
|
special?: boolean;
|
|
13
22
|
/** Applies selected styling. */
|
|
14
23
|
selected?: boolean;
|
|
15
|
-
/** Highlights the item as the current keyboard-active option. */
|
|
24
|
+
/** Highlights the item as the current keyboard-active option with the focused outline. */
|
|
16
25
|
active?: boolean;
|
|
17
26
|
/** Applies missing/error styling and prepends "(Missing)". */
|
|
18
27
|
missing?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oGAAoG;IACpG,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IAEd,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/KdsListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oGAAoG;IACpG,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IAEd,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mGAAmG;IACnG,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,sIAAsI;IACtI,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,mHAAmH;IACnH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,+HAA+H;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { KdsListContainerProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<KdsListContainerProps, {
|
|
3
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
4
|
+
handleFocus: () => void;
|
|
5
|
+
handleBlur: () => void;
|
|
6
|
+
activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
itemClick: (id: string) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<KdsListContainerProps> & Readonly<{
|
|
10
|
+
onItemClick?: ((id: string) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
noEntriesText: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
containerEl: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=KdsListContainer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"AAgPA,OAAO,KAAK,EAA0B,qBAAqB,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;AAoS7E,wBAWG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { KdsListItemAccessory } from '../ListItemAccessory/types';
|
|
3
|
+
export type KdsListOption = {
|
|
4
|
+
id: string;
|
|
5
|
+
text: string;
|
|
6
|
+
/** Optional subtext shown below the main label (multiline list item layout) */
|
|
7
|
+
subText?: string;
|
|
8
|
+
/** Renders the item as selected */
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
/** Renders the label with emphasis (italic) for special content like columns */
|
|
11
|
+
special?: boolean;
|
|
12
|
+
/** Optional leading accessory (icon, data type, or color swatch) shown before the text */
|
|
13
|
+
accessory?: KdsListItemAccessory;
|
|
14
|
+
/** Disables the option in the list */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Shows the option as missing in the list */
|
|
17
|
+
missing?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type KdsListContainerProps = {
|
|
20
|
+
/** Possible values to show in the list */
|
|
21
|
+
possibleValues: KdsListOption[];
|
|
22
|
+
/** Text shown when no entries are provided */
|
|
23
|
+
noEntriesText?: string;
|
|
24
|
+
/** Accessible label for the listbox */
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
/** 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. */
|
|
27
|
+
controlledExternally?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type KdsListContainerExpose = {
|
|
30
|
+
/** Forward a keydown event to the list for keyboard navigation */
|
|
31
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
32
|
+
/** Notify the list that its controlling element received focus */
|
|
33
|
+
handleFocus: () => void;
|
|
34
|
+
/** Notify the list that its controlling element lost focus */
|
|
35
|
+
handleBlur: () => void;
|
|
36
|
+
/** The DOM id of the currently active (highlighted) option, or undefined. Prefixed to avoid DOM id collisions. */
|
|
37
|
+
activeDescendant: Readonly<Ref<string | undefined>>;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,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;CACnB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,0CAA0C;IAC1C,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,8CAA8C;IAC9C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6MAA6M;IAC7M,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,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;CACrD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { KdsListItemAccessory } from './types.ts';
|
|
1
|
+
import { KdsListItemAccessory, KdsListItemAccessorySize } from './types.ts';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
accessory: KdsListItemAccessory;
|
|
4
|
-
size:
|
|
4
|
+
size: KdsListItemAccessorySize;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemAccessory.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItemAccessory.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AAEpB,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,EAAE,wBAAwB,CAAC;CAChC,CAAC;;AAkHF,wBAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListItemAccessory/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAEX,eAAO,MAAM,yBAAyB,kCAErC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { KdsColorSwatchColor, KdsIconName, KdsLiveStatusStatus, KdsTypeIconName } from '../../../../accessories';
|
|
2
|
+
import { kdsListItemAccessorySize } from './enums';
|
|
3
|
+
export type KdsListItemAccessorySize = (typeof kdsListItemAccessorySize)[keyof typeof kdsListItemAccessorySize];
|
|
2
4
|
export type KdsIconAccessory = {
|
|
3
5
|
type: "icon";
|
|
4
6
|
name: KdsIconName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListItemAccessory/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,gBAAgB,GAChB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/_helper/List/ListItemAccessory/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACrB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,wBAAwB,GAClC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,gBAAgB,GAChB,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsVariableToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue"],"names":[],"mappings":"AAmLA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAE/D;;GAEG;AAEH,KAAK,WAAW,GAAG,4BAA4B,CAAC;AA0EhD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAqGT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"KdsVariableToggleButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue"],"names":[],"mappings":"AAmLA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAE/D;;GAEG;AAEH,KAAK,WAAW,GAAG,4BAA4B,CAAC;AA0EhD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAqGT,OAAO,IAA6B;;yBAZpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkE+2b,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;EAjDrgc;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA8B23b,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;OArBpgc,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -93,6 +93,11 @@ type BaseInputProps = {
|
|
|
93
93
|
* Human-readable value text (e.g. localized) for widgets like role="spinbutton".
|
|
94
94
|
*/
|
|
95
95
|
ariaValuetext?: string;
|
|
96
|
+
/**
|
|
97
|
+
* ID of the currently active descendant element (for aria-activedescendant).
|
|
98
|
+
* Used when the input controls an external listbox or similar widget.
|
|
99
|
+
*/
|
|
100
|
+
ariaActivedescendant?: string;
|
|
96
101
|
/**
|
|
97
102
|
* Unit shown next to the input value
|
|
98
103
|
*/
|
|
@@ -114,6 +119,7 @@ type __VLS_PublicProps = {
|
|
|
114
119
|
declare function __VLS_template(): {
|
|
115
120
|
attrs: Partial<{}>;
|
|
116
121
|
slots: {
|
|
122
|
+
leading?(_: {}): any;
|
|
117
123
|
trailing?(_: {}): any;
|
|
118
124
|
};
|
|
119
125
|
refs: {
|
|
@@ -164,6 +170,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
164
170
|
ariaValuemin: number;
|
|
165
171
|
ariaValuemax: number;
|
|
166
172
|
ariaValuetext: string;
|
|
173
|
+
ariaActivedescendant: string;
|
|
167
174
|
unit: string;
|
|
168
175
|
inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
169
176
|
clearable: boolean;
|
|
@@ -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":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
9
|
+
colorspaceEl: HTMLDivElement;
|
|
10
|
+
hueEl: HTMLDivElement;
|
|
11
|
+
}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ColorPicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/ColorPicker.vue"],"names":[],"mappings":"AAyiBA,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;AAsIF,wBASG"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { KdsColorInputProps } from '../types';
|
|
2
|
+
type __VLS_Props = KdsColorInputProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
placeholder: string;
|
|
12
|
+
name: string;
|
|
13
|
+
error: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
validating: boolean;
|
|
16
|
+
preserveSubTextSpace: boolean;
|
|
17
|
+
autocomplete: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
popoverEl: ({
|
|
20
|
+
$: import('vue').ComponentInternalInstance;
|
|
21
|
+
$data: {};
|
|
22
|
+
$props: {
|
|
23
|
+
readonly modelValue?: boolean | undefined;
|
|
24
|
+
readonly placement?: import('../../../overlays/Popover').KdsPopoverPlacement | undefined;
|
|
25
|
+
readonly role?: import('../../../overlays/Popover').KdsPopoverRole | undefined;
|
|
26
|
+
readonly fullWidth?: boolean | undefined;
|
|
27
|
+
readonly popoverAriaLabel: string;
|
|
28
|
+
readonly content?: string | undefined;
|
|
29
|
+
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
30
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
} & {
|
|
37
|
+
popoverEl: HTMLDivElement;
|
|
38
|
+
};
|
|
39
|
+
$slots: Readonly<{
|
|
40
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
43
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
44
|
+
$host: Element | null;
|
|
45
|
+
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
46
|
+
$el: HTMLDivElement;
|
|
47
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
48
|
+
modelValue?: boolean;
|
|
49
|
+
} & import('../../../overlays/Popover').KdsPopoverProps> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
anchorStyle: Record<string, string>;
|
|
53
|
+
popoverId: string;
|
|
54
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
|
+
"update:modelValue": (value: boolean) => any;
|
|
56
|
+
}, string, {
|
|
57
|
+
role: import('../../../overlays/Popover').KdsPopoverRole;
|
|
58
|
+
placement: import('../../../overlays/Popover').KdsPopoverPlacement;
|
|
59
|
+
fullWidth: boolean;
|
|
60
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
61
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
62
|
+
created?: (() => void) | (() => void)[];
|
|
63
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
64
|
+
mounted?: (() => void) | (() => void)[];
|
|
65
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
66
|
+
updated?: (() => void) | (() => void)[];
|
|
67
|
+
activated?: (() => void) | (() => void)[];
|
|
68
|
+
deactivated?: (() => void) | (() => void)[];
|
|
69
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
70
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
71
|
+
destroyed?: (() => void) | (() => void)[];
|
|
72
|
+
unmounted?: (() => void) | (() => void)[];
|
|
73
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
74
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
75
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
76
|
+
};
|
|
77
|
+
$forceUpdate: () => void;
|
|
78
|
+
$nextTick: typeof import('vue').nextTick;
|
|
79
|
+
$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;
|
|
80
|
+
} & Readonly<{
|
|
81
|
+
role: import('../../../overlays/Popover').KdsPopoverRole;
|
|
82
|
+
placement: import('../../../overlays/Popover').KdsPopoverPlacement;
|
|
83
|
+
fullWidth: boolean;
|
|
84
|
+
}> & Omit<Readonly<{
|
|
85
|
+
modelValue?: boolean;
|
|
86
|
+
} & import('../../../overlays/Popover').KdsPopoverProps> & Readonly<{
|
|
87
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
88
|
+
}>, "anchorStyle" | "popoverId" | ("role" | "placement" | "fullWidth")> & import('vue').ShallowUnwrapRef<{
|
|
89
|
+
anchorStyle: Record<string, string>;
|
|
90
|
+
popoverId: string;
|
|
91
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
92
|
+
$slots: {
|
|
93
|
+
default?(_: {}): any;
|
|
94
|
+
};
|
|
95
|
+
}) | null;
|
|
96
|
+
}, HTMLDivElement>;
|
|
97
|
+
export default _default;
|
|
98
|
+
//# sourceMappingURL=KdsColorInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsColorInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/KdsColorInput.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAmCtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiM6jd,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;AAxBnsd,wBAUG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type KdsRgbColor = {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
};
|
|
6
|
+
export type KdsHsvColor = {
|
|
7
|
+
/** Hue in degrees [0..360) */
|
|
8
|
+
h: number;
|
|
9
|
+
/** Saturation [0..1] */
|
|
10
|
+
s: number;
|
|
11
|
+
/** Value [0..1] */
|
|
12
|
+
v: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const clamp: (value: number, min: number, max: number) => number;
|
|
15
|
+
export declare const normalizeHexColor: (value: string) => string | null;
|
|
16
|
+
export declare const hexToRgb: (hex: string) => KdsRgbColor | null;
|
|
17
|
+
export declare const rgbToHex: ({ r, g, b }: KdsRgbColor) => string;
|
|
18
|
+
export declare const rgbToHsv: ({ r, g, b }: KdsRgbColor) => KdsHsvColor;
|
|
19
|
+
export declare const hsvToRgb: ({ h, s, v }: KdsHsvColor) => KdsRgbColor;
|
|
20
|
+
export declare const hsvToHex: (hsv: KdsHsvColor) => string;
|
|
21
|
+
//# sourceMappingURL=colorUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/colorUtils.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,CAAC,EAAE,MAAM,CAAC;IACV,wBAAwB;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAuBF,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,WACxB,CAAC;AAMtC,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,IAkB1D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG,WAAW,GAAG,IAoBpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,aAAa,WAAW,KAAG,MAMnD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,aAAa,WAAW,KAAG,WA6BnD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,aAAa,WAAW,KAAG,WAsCnD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,KAAK,WAAW,KAAG,MAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useColorInputValidationOnFocusOut.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/useColorInputValidationOnFocusOut.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAc,MAAM,KAAK,CAAC;AA2C3C,eAAO,MAAM,iCAAiC,GAAI,YAAY,GAAG,CAAC,MAAM,CAAC;4BAcxC,UAAU;CAoB1C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const usePointerHandler: (updateFromEvent: (event: PointerEvent) => void) => {
|
|
2
|
+
activePointerId: import('vue').Ref<number | null, number | null>;
|
|
3
|
+
onPointerDown: (event: PointerEvent) => void;
|
|
4
|
+
onPointerMove: (event: PointerEvent) => void;
|
|
5
|
+
onPointerUp: (event: PointerEvent) => void;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=usePointerHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePointerHandler.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/ColorInput/usePointerHandler.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAC5B,iBAAiB,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI;;2BAIhB,YAAY;2BAeZ,YAAY;yBAQJ,YAAY;CAsBnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,SAAS,CAAC"}
|
|
@@ -27,6 +27,7 @@ type KdsCommonInputProps = {
|
|
|
27
27
|
};
|
|
28
28
|
type KdsInputFieldProps = KdsFormFieldProps & KdsCommonInputProps;
|
|
29
29
|
export type KdsTextInputProps = KdsInputFieldProps;
|
|
30
|
+
export type KdsColorInputProps = Omit<KdsInputFieldProps, "required" | "readonly">;
|
|
30
31
|
export type KdsNumberInputProps = KdsInputFieldProps & {
|
|
31
32
|
/**
|
|
32
33
|
* Unit shown next to the input value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG;IAClD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,kBAAkB,EAClB,UAAU,GAAG,UAAU,CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAAG;IAClD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|