@knime/kds-components 0.20.1 → 0.22.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/{db-database-DYNQa14y.js → circle-unchecked-DOoOn6iz.js} +4 -4
- package/dist/circle-unchecked-DOoOn6iz.js.map +1 -0
- package/dist/db-database-CyCrPzu-.js +23 -0
- package/dist/db-database-CyCrPzu-.js.map +1 -0
- package/dist/folder-search-DDOYg0f6.js +23 -0
- package/dist/folder-search-DDOYg0f6.js.map +1 -0
- package/dist/hide-eye-BrIKmBWt.js +23 -0
- package/dist/hide-eye-BrIKmBWt.js.map +1 -0
- package/dist/index.css +423 -105
- package/dist/index.js +1623 -544
- package/dist/index.js.map +1 -1
- package/dist/menu-BSS_QnZi.js +23 -0
- package/dist/menu-BSS_QnZi.js.map +1 -0
- package/dist/pin-B6vKBZDp.js +23 -0
- package/dist/pin-B6vKBZDp.js.map +1 -0
- package/dist/python-Bn3ET_9Z.js +23 -0
- package/dist/python-Bn3ET_9Z.js.map +1 -0
- package/dist/src/buttons/BaseButton.vue.d.ts +8 -0
- package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +40 -17
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts +2 -24
- package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +158 -0
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -0
- package/dist/src/buttons/KdsSplitButton/index.d.ts +3 -0
- package/dist/src/buttons/KdsSplitButton/index.d.ts.map +1 -0
- package/dist/src/buttons/KdsSplitButton/types.d.ts +17 -0
- package/dist/src/buttons/KdsSplitButton/types.d.ts.map +1 -0
- package/dist/src/buttons/index.d.ts +6 -2
- package/dist/src/buttons/index.d.ts.map +1 -1
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts +8 -0
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLink/index.d.ts +3 -0
- package/dist/src/buttons/links/KdsLink/index.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLink/types.d.ts +30 -0
- package/dist/src/buttons/links/KdsLink/types.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts +27 -0
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/index.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/types.d.ts +4 -0
- package/dist/src/buttons/links/KdsLinkButton/types.d.ts.map +1 -0
- package/dist/src/buttons/links/docs.d.ts +2 -0
- package/dist/src/buttons/links/docs.d.ts.map +1 -0
- package/dist/src/buttons/links/linkTypes.d.ts +25 -0
- package/dist/src/buttons/links/linkTypes.d.ts.map +1 -0
- package/dist/src/buttons/types.d.ts +7 -1
- package/dist/src/buttons/types.d.ts.map +1 -1
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +2 -0
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +1 -0
- package/dist/src/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/List/ListContainer/types.d.ts +2 -0
- package/dist/src/forms/_helper/List/ListContainer/types.d.ts.map +1 -1
- package/dist/src/forms/_helper/MenuContainer/KdsMenuContainer.vue.d.ts +39 -0
- package/dist/src/forms/_helper/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -0
- package/dist/src/forms/_helper/MenuContainer/types.d.ts +39 -0
- package/dist/src/forms/_helper/MenuContainer/types.d.ts.map +1 -0
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +2 -0
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +1 -0
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +1 -0
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +1 -0
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +20 -0
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PatternInput/patternRegex.d.ts +0 -3
- package/dist/src/forms/inputs/PatternInput/patternRegex.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +3 -0
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +3 -0
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts +2 -0
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +3 -0
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +3 -0
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +2 -0
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts +22 -14
- package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/MultiSelectListBox/types.d.ts +6 -2
- package/dist/src/forms/selects/MultiSelectListBox/types.d.ts.map +1 -1
- package/dist/src/forms/selects/MultiSelectListBox/useMultiSelectListBoxSelection.d.ts.map +1 -1
- package/dist/src/forms/selects/TwinList/KdsTwinList.pageobject.d.ts +26 -0
- package/dist/src/forms/selects/TwinList/KdsTwinList.pageobject.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts +152 -0
- package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/TwinListBody.vue.d.ts +12 -0
- package/dist/src/forms/selects/TwinList/TwinListBody.vue.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/TwinListHeader.vue.d.ts +32 -0
- package/dist/src/forms/selects/TwinList/TwinListHeader.vue.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/enums.d.ts +7 -0
- package/dist/src/forms/selects/TwinList/enums.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/index.d.ts +4 -0
- package/dist/src/forms/selects/TwinList/index.d.ts.map +1 -0
- package/dist/src/forms/selects/TwinList/types.d.ts +94 -0
- package/dist/src/forms/selects/TwinList/types.d.ts.map +1 -0
- package/dist/src/forms/selects/index.d.ts +2 -0
- package/dist/src/forms/selects/index.d.ts.map +1 -1
- package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts +19 -0
- package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts.map +1 -0
- package/dist/src/layouts/LoadingSkeleton/LoadingSkeletonItem.vue.d.ts +4 -0
- package/dist/src/layouts/LoadingSkeleton/LoadingSkeletonItem.vue.d.ts.map +1 -0
- package/dist/src/layouts/LoadingSkeleton/enums.d.ts +33 -0
- package/dist/src/layouts/LoadingSkeleton/enums.d.ts.map +1 -0
- package/dist/src/layouts/LoadingSkeleton/index.d.ts +4 -0
- package/dist/src/layouts/LoadingSkeleton/index.d.ts.map +1 -0
- package/dist/src/layouts/LoadingSkeleton/types.d.ts +18 -0
- package/dist/src/layouts/LoadingSkeleton/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/Modal/KdsModal.vue.d.ts +1 -1
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/src/overlays/Popover/types.d.ts +5 -0
- package/dist/src/overlays/Popover/types.d.ts.map +1 -1
- package/dist/tag-_fZiuJaC.js +27 -0
- package/dist/tag-_fZiuJaC.js.map +1 -0
- package/dist/template-gallery-BtXi4GHd.js +23 -0
- package/dist/template-gallery-BtXi4GHd.js.map +1 -0
- package/dist/usage-827uIQyn.js +23 -0
- package/dist/usage-827uIQyn.js.map +1 -0
- package/package.json +6 -5
- package/dist/db-database-DYNQa14y.js.map +0 -1
- package/dist/src/buttons/KdsLinkButton/KdsLinkButton.vue.d.ts +0 -51
- package/dist/src/buttons/KdsLinkButton/KdsLinkButton.vue.d.ts.map +0 -1
- package/dist/src/buttons/KdsLinkButton/index.d.ts.map +0 -1
- package/dist/src/buttons/KdsLinkButton/types.d.ts +0 -24
- package/dist/src/buttons/KdsLinkButton/types.d.ts.map +0 -1
- /package/dist/src/buttons/{KdsLinkButton → links/KdsLinkButton}/index.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createPropsRestProxy, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, shallowRef, toRef, unref, createBlock, resolveDynamicComponent, createCommentVNode, normalizeStyle, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h, useSlots, getCurrentInstance, useModel, mergeModels, useId, nextTick, Fragment, renderList, watchEffect, useAttrs, defineAsyncComponent, onBeforeUpdate, withModifiers, reactive, onMounted, onUnmounted, toRefs, normalizeProps, inject,
|
|
1
|
+
import { defineComponent, createPropsRestProxy, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, shallowRef, toRef, unref, createBlock, resolveDynamicComponent, createCommentVNode, normalizeStyle, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h, useSlots, getCurrentInstance, useModel, mergeModels, useId, nextTick, Fragment, renderList, watchEffect, useAttrs, withKeys, defineAsyncComponent, onBeforeUpdate, withModifiers, reactive, onMounted, onUnmounted, toRefs, normalizeProps, inject, withDirectives, provide, guardReactiveProps, createTextVNode, isRef, resolveComponent, Transition, resolveDirective, toHandlers, onBeforeUnmount, vModelText, useCssVars, createSlots } from 'vue';
|
|
2
2
|
import { useLocalStorage, useDark, usePreferredDark, useResizeObserver, useMutationObserver, useElementSize, useMousePressed, useVirtualList, useTemplateRefsList } from '@vueuse/core';
|
|
3
3
|
|
|
4
4
|
import './index.css';const kdsAvatarSize = {
|
|
@@ -9,14 +9,14 @@ import './index.css';const kdsAvatarSize = {
|
|
|
9
9
|
};
|
|
10
10
|
const kdsAvatarSizes = Object.values(kdsAvatarSize);
|
|
11
11
|
|
|
12
|
-
const _hoisted_1$
|
|
13
|
-
const _hoisted_2$
|
|
14
|
-
const _hoisted_3$
|
|
12
|
+
const _hoisted_1$K = ["role", "title", "aria-hidden", "aria-label"];
|
|
13
|
+
const _hoisted_2$s = ["src"];
|
|
14
|
+
const _hoisted_3$i = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "kds-avatar-initials",
|
|
17
17
|
"aria-hidden": "true"
|
|
18
18
|
};
|
|
19
|
-
const _sfc_main$
|
|
19
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "KdsAvatar",
|
|
21
21
|
props: {
|
|
22
22
|
initials: {},
|
|
@@ -59,10 +59,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
59
59
|
alt: "",
|
|
60
60
|
"aria-hidden": "true",
|
|
61
61
|
onError: onImageError
|
|
62
|
-
}, null, 40, _hoisted_2$
|
|
62
|
+
}, null, 40, _hoisted_2$s)) : (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
63
63
|
createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
|
|
64
64
|
]))
|
|
65
|
-
], 10, _hoisted_1$
|
|
65
|
+
], 10, _hoisted_1$K);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
});
|
|
@@ -75,7 +75,7 @@ const _export_sfc$1 = (sfc, props) => {
|
|
|
75
75
|
return target;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const KdsAvatar = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
78
|
+
const KdsAvatar = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["__scopeId", "data-v-c90668bf"]]);
|
|
79
79
|
|
|
80
80
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
81
81
|
const v = glob$1[path$13];
|
|
@@ -98,7 +98,7 @@ function useIcon({
|
|
|
98
98
|
iconComponent.value = iconCache.get(newName);
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
|
-
__variableDynamicImportRuntimeHelper((/* #__PURE__ */ Object.assign({"../../../node_modules/@knime/kds-styles/dist/img/icons/add-user.svg": () => import('./add-user-BBT39sTb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/ai-general.svg": () => import('./ai-general-xv5Ym88e.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/annotation-mode.svg": () => import('./annotation-mode-C0YL12XP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-down.svg": () => import('./arrow-down-D8Q9vZG_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-up.svg": () => import('./arrow-up-DJlZjTYZ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-expand.svg": () => import('./arrows-expand-eXIczgyQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-move.svg": () => import('./arrows-move-CDiEl6Ry.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-order.svg": () => import('./arrows-order-DMoJXS-I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/back.svg": () => import('./back-D1kA9zuH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/bold.svg": () => import('./bold-C8dRggXe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/calendar.svg": () => import('./calendar-B6v1nLjF.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/case-sensitive.svg": () => import('./case-sensitive-CHP-__99.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/center-aligned.svg": () => import('./center-aligned--zRFP8Lf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/checkmark.svg": () => import('./checkmark-DOn23D5R.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-down.svg": () => import('./chevron-down-BsSG_C_8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left-double.svg": () => import('./chevron-left-double-D-EEhZoy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left.svg": () => import('./chevron-left-BKFnSetN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right-double.svg": () => import('./chevron-right-double-BgfwXKBg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right.svg": () => import('./chevron-right-CozOeJxa.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-up.svg": () => import('./chevron-up-FA-c_L5N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-error.svg": () => import('./circle-error-CwUp2gKh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-info.svg": () => import('./circle-info-CcCjmOUH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-question.svg": () => import('./circle-question-TFLpel6L.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-success.svg": () => import('./circle-success-CGkhxpZE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-download.svg": () => import('./cloud-download-CstHUDZv.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-knime.svg": () => import('./cloud-knime-CpZfWe3J.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-pending-changes.svg": () => import('./cloud-pending-changes-CWBUkOnb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-synced.svg": () => import('./cloud-synced-DlT_4y5Q.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-upload.svg": () => import('./cloud-upload-DQvu_3cc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-workflow.svg": () => import('./cloud-workflow-Bo_4KHLP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/code-block.svg": () => import('./code-block-DrOaCM3g.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/color-picker.svg": () => import('./color-picker-k6GkGnF5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/comment.svg": () => import('./comment-DL9ZR-vM.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/component.svg": () => import('./component-BArrSsoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/connection.svg": () => import('./connection-cIDhN_bU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/copy.svg": () => import('./copy-DAYm6-mo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cursor.svg": () => import('./cursor-DSIjd7yc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-app.svg": () => import('./data-app-BHCZS7qU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-value-view.svg": () => import('./data-value-view-DZAfZGqs.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/date-time.svg": () => import('./date-time-C3cmSAQm.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-browse.svg": () => import('./db-browse-BJj19qUq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-database.svg": () => import('./db-database-DYNQa14y.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-fetch.svg": () => import('./db-fetch-CJMHzQp5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-schema.svg": () => import('./db-schema-C4gtYXvd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table-view.svg": () => import('./db-table-view-CcF1plGQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table.svg": () => import('./db-table-DifKATf6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/deploy.svg": () => import('./deploy-Dr6jEhZU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/detect.svg": () => import('./detect-DkQik2ep.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/divider.svg": () => import('./divider-Bhqt1kvt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/duration.svg": () => import('./duration-Dfp9ox2I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/edit.svg": () => import('./edit-Bg040TR4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/education.svg": () => import('./education-CsB0t7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/error-panel.svg": () => import('./error-panel-BCvYjM5m.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute-all.svg": () => import('./execute-all-JZlJ6VtK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute.svg": () => import('./execute-CDtz4PKy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/expand-panel.svg": () => import('./expand-panel-C0-YqxWN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension-community.svg": () => import('./extension-community-BL7uY2lh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension.svg": () => import('./extension-DV2OG2b-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/external-link.svg": () => import('./external-link-D6c_uzZp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/eye.svg": () => import('./eye-DIQBS75n.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-export.svg": () => import('./file-export-Cm5xiHIP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-text.svg": () => import('./file-text-DCIkmzWQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file.svg": () => import('./file-D-fzxVWf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/filter.svg": () => import('./filter-BCzsHR5o.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-default.svg": () => import('./flow-variable-default-D8YRzPWl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in-out.svg": () => import('./flow-variable-in-out-v434yDUG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in.svg": () => import('./flow-variable-in-BiO5ppkU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-out.svg": () => import('./flow-variable-out-BuATVHTL.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-plus.svg": () => import('./folder-plus-0Z-aPAxX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-workflow.svg": () => import('./folder-workflow-hjaE8p-i.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder.svg": () => import('./folder-xz8Bw1k6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/forum.svg": () => import('./forum-CunE8Bpo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/function-catalog.svg": () => import('./function-catalog-CRXmv7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/home.svg": () => import('./home-CW06ROg3.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/import.svg": () => import('./import-Bjz9KZM-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/info.svg": () => import('./info-C8GezBIf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/interval.svg": () => import('./interval-CzQaVMPH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/italic.svg": () => import('./italic-B6SY7x6N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/key.svg": () => import('./key-9hybjORk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/layout-editor.svg": () => import('./layout-editor-At6vQ3aU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/left-aligned.svg": () => import('./left-aligned-C90MrNJd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/like.svg": () => import('./like-BwC1fMTh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/limit.svg": () => import('./limit-D84DMtQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/link.svg": () => import('./link-DH0XmQMp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/linked-metanode.svg": () => import('./linked-metanode-ojS3JQJp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-bulletpoint.svg": () => import('./list-bulletpoint-BLPnukaY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-number.svg": () => import('./list-number-C47JfmdB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-thumbs.svg": () => import('./list-thumbs-F5ICnK4Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list.svg": () => import('./list-CQmzxqnp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/local-filesystem.svg": () => import('./local-filesystem-fyrwOsG5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/lock.svg": () => import('./lock-B9qCq8wW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/metanode.svg": () => import('./metanode-BOoscDpe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/mini-map.svg": () => import('./mini-map-DKez_1T0.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-dialog.svg": () => import('./minimize-dialog-CsKInFjQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-side-panel.svg": () => import('./minimize-side-panel-DOe27uOi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minus.svg": () => import('./minus-CUOnFK-_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/more-actions.svg": () => import('./more-actions-r1Ai1cv8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/node-stack.svg": () => import('./node-stack-B2-NOdn1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-horiz.svg": () => import('./nodes-align-horiz-BNN1SQyE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-vert.svg": () => import('./nodes-align-vert-JG8gmWk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/open-in-new-window.svg": () => import('./open-in-new-window-BAU_-IMl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pan-mode.svg": () => import('./pan-mode-CGVZU5HB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/parameter.svg": () => import('./parameter-D3NI1oyc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pending-changes.svg": () => import('./pending-changes-BvFdyKn8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/placeholder.svg": () => import('./placeholder-CIq-OFkj.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/plus.svg": () => import('./plus-BGcbvgG4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/quote.svg": () => import('./quote-BhPMewQl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/re-execution.svg": () => import('./re-execution-CPa8UUdU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/redo.svg": () => import('./redo-BjctXrq6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/regex.svg": () => import('./regex-CErlWJQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reload.svg": () => import('./reload-CDm_DDdP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rename.svg": () => import('./rename-Cyk_xng4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/replace.svg": () => import('./replace-9aOLtKuD.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reset-all.svg": () => import('./reset-all-Buf5y-HV.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/resume-execution.svg": () => import('./resume-execution-CRqaKZqz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/right-aligned.svg": () => import('./right-aligned-2BkZ58o-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rocket.svg": () => import('./rocket-Bs46VoUh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save-as.svg": () => import('./save-as-CTnCvHfQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save.svg": () => import('./save-B7DzWjxS.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/schedule.svg": () => import('./schedule-DuSqromp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/search.svg": () => import('./search-gykfARpE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/secret-store.svg": () => import('./secret-store-_ZlpQRjr.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-cancel.svg": () => import('./selected-cancel-CS3Gep56.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-execution.svg": () => import('./selected-execution-BJxjtKXq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-reset.svg": () => import('./selected-reset-SMx6XDk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/send.svg": () => import('./send-G2BlBsxu.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/server-rack-workflow.svg": () => import('./server-rack-workflow-CBhKbyGY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/service.svg": () => import('./service-9hAt2V0T.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/settings.svg": () => import('./settings-BLMTAq-1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/share.svg": () => import('./share-BIrWLTtn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/shortcuts.svg": () => import('./shortcuts-fbNZWoSf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-ascending.svg": () => import('./sort-ascending-DNyV4Drg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-descending.svg": () => import('./sort-descending-BdIGPn-9.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-local.svg": () => import('./space-local-D4kTqwrB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-private.svg": () => import('./space-private-D06CTwvE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space.svg": () => import('./space-fMpb-o4-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stepwise-execution.svg": () => import('./stepwise-execution-C1mAO3z_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stop.svg": () => import('./stop-Cgmy2iPY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/strikethrough.svg": () => import('./strikethrough-DG4Ejxqk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/team.svg": () => import('./team-CtZLwOou.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/text.svg": () => import('./text-DFu-L62Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/textstyles.svg": () => import('./textstyles-j0GQtKYE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-down.svg": () => import('./thumbs-down-CiozrdIW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-up.svg": () => import('./thumbs-up-E4uRtjhi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/time.svg": () => import('./time-DU80J5X8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-bottom.svg": () => import('./to-bottom-B8wat1Dk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-top.svg": () => import('./to-top-CCAfU4xz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trash.svg": () => import('./trash-Dq5FHwNO.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trigger.svg": () => import('./trigger-Qns9VYQG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/underline.svg": () => import('./underline-CDZcVZHB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/undo.svg": () => import('./undo-CnghWcXK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/unlink.svg": () => import('./unlink-CL0kTZX2.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/user.svg": () => import('./user-DTq28OjK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/version.svg": () => import('./version-CSTTEeam.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/view-cards.svg": () => import('./view-cards-DS0Cpf95.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/warning.svg": () => import('./warning-CJC1Oij-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/workflow.svg": () => import('./workflow-n50o8jCH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/x-close.svg": () => import('./x-close-D-oEO9N9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/audio-datatype.svg": () => import('./audio-datatype-DyzJTMxb.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/binary-object-datatype.svg": () => import('./binary-object-datatype-DHZPEEoV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/bit-byte-vector-datatype.svg": () => import('./bit-byte-vector-datatype-XJ0yjm_4.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/boolean-datatype.svg": () => import('./boolean-datatype-B0SBV35e.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-list-datatype.svg": () => import('./collection-list-datatype-DDLoFog9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-set-datatype.svg": () => import('./collection-set-datatype-QGQHiErr.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-datatype.svg": () => import('./date-datatype-DX2o-Qoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-local-datatype.svg": () => import('./date-time-local-datatype-BRveWl93.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-zoned-datatype.svg": () => import('./date-time-zoned-datatype-CvUpjzJk.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/default-extension-datatype.svg": () => import('./default-extension-datatype-C7jbGM5d.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/document-datatype.svg": () => import('./document-datatype-CmWsp5e8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-date-based-datatype.svg": () => import('./duration-date-based-datatype-ZMMDq_rT.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-time-based-datatype.svg": () => import('./duration-time-based-datatype-DWj4ALsB.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/geo-datatype.svg": () => import('./geo-datatype-CTQgQTql.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/helm-datatype.svg": () => import('./helm-datatype-XIlHXQBP.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-png-datatype.svg": () => import('./image-png-datatype-CtnGTQlX.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-svg-datatype.svg": () => import('./image-svg-datatype-DgySAOGM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/json-datatype.svg": () => import('./json-datatype-DgHr_Q8U.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/labeling-datatype.svg": () => import('./labeling-datatype-CGG_DguN.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/linear-notation-molecule.svg": () => import('./linear-notation-molecule-CepA_vEp.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/message-datatype.svg": () => import('./message-datatype-Ds55YGMQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/microscope.svg": () => import('./microscope-CPwlykKH.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/model-pmml-datatype.svg": () => import('./model-pmml-datatype-kXlL8AWg.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/molecule.svg": () => import('./molecule-CT71Yhf1.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-datatype.svg": () => import('./number-double-datatype-B6nc4th6.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-vector-datatype.svg": () => import('./number-double-vector-datatype-D3rzzxjM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-integer-datatype.svg": () => import('./number-integer-datatype-BWoQkZ03.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/path-datatype.svg": () => import('./path-datatype-BD3D-7dL.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-datatype.svg": () => import('./string-datatype-CHI_qvxE.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-vector-datatype.svg": () => import('./string-vector-datatype-DhgtZI8f.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/subgraph-datatype.svg": () => import('./subgraph-datatype-BHBSS1-Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/term-datatype.svg": () => import('./term-datatype-CRrmVXQx.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/test-tube.svg": () => import('./test-tube-BsB8mbus.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/time-datatype.svg": () => import('./time-datatype-CBnmuYLa.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/tool-datatype.svg": () => import('./tool-datatype-l6cMJHHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/unknown-datatype.svg": () => import('./unknown-datatype-BEY7muOy.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/uri-datatype.svg": () => import('./uri-datatype-CJhmCZiq.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-boolean.svg": () => import('./variable-boolean-BzyG4BGV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-boolean.svg": () => import('./variable-collection-boolean-nWAd6a7R.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-double.svg": () => import('./variable-collection-double-h0sMrPKC.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-integer.svg": () => import('./variable-collection-integer-BZEs4wch.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-string.svg": () => import('./variable-collection-string-BPIuxyHK.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-conda-environment.svg": () => import('./variable-conda-environment-DZ5kqmc5.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-credential.svg": () => import('./variable-credential-D32ztDmY.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-integer.svg": () => import('./variable-integer-CtoE3pq3.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-number-double.svg": () => import('./variable-number-double-D5CGjCM8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-path.svg": () => import('./variable-path-Dyuv7RmO.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-string.svg": () => import('./variable-string-JWu8Gafe.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-unknown.svg": () => import('./variable-unknown-DYSdcnPs.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/xml-datatype.svg": () => import('./xml-datatype-BlUTXDpw.js')})), `../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`, 10).then((module) => {
|
|
101
|
+
__variableDynamicImportRuntimeHelper((/* #__PURE__ */ Object.assign({"../../../node_modules/@knime/kds-styles/dist/img/icons/add-user.svg": () => import('./add-user-BBT39sTb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/ai-general.svg": () => import('./ai-general-xv5Ym88e.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/annotation-mode.svg": () => import('./annotation-mode-C0YL12XP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-down.svg": () => import('./arrow-down-D8Q9vZG_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-up.svg": () => import('./arrow-up-DJlZjTYZ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-expand.svg": () => import('./arrows-expand-eXIczgyQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-move.svg": () => import('./arrows-move-CDiEl6Ry.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-order.svg": () => import('./arrows-order-DMoJXS-I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/back.svg": () => import('./back-D1kA9zuH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/bold.svg": () => import('./bold-C8dRggXe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/calendar.svg": () => import('./calendar-B6v1nLjF.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/case-sensitive.svg": () => import('./case-sensitive-CHP-__99.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/center-aligned.svg": () => import('./center-aligned--zRFP8Lf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/checkmark.svg": () => import('./checkmark-DOn23D5R.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-down.svg": () => import('./chevron-down-BsSG_C_8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left-double.svg": () => import('./chevron-left-double-D-EEhZoy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left.svg": () => import('./chevron-left-BKFnSetN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right-double.svg": () => import('./chevron-right-double-BgfwXKBg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right.svg": () => import('./chevron-right-CozOeJxa.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-up.svg": () => import('./chevron-up-FA-c_L5N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-error.svg": () => import('./circle-error-CwUp2gKh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-info.svg": () => import('./circle-info-CcCjmOUH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-question.svg": () => import('./circle-question-TFLpel6L.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-success.svg": () => import('./circle-success-CGkhxpZE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-unchecked.svg": () => import('./circle-unchecked-DOoOn6iz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-download.svg": () => import('./cloud-download-CstHUDZv.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-knime.svg": () => import('./cloud-knime-CpZfWe3J.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-pending-changes.svg": () => import('./cloud-pending-changes-CWBUkOnb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-synced.svg": () => import('./cloud-synced-DlT_4y5Q.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-upload.svg": () => import('./cloud-upload-DQvu_3cc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-workflow.svg": () => import('./cloud-workflow-Bo_4KHLP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/code-block.svg": () => import('./code-block-DrOaCM3g.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/color-picker.svg": () => import('./color-picker-k6GkGnF5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/comment.svg": () => import('./comment-DL9ZR-vM.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/component.svg": () => import('./component-BArrSsoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/connection.svg": () => import('./connection-cIDhN_bU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/copy.svg": () => import('./copy-DAYm6-mo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cursor.svg": () => import('./cursor-DSIjd7yc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-app.svg": () => import('./data-app-BHCZS7qU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-value-view.svg": () => import('./data-value-view-DZAfZGqs.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/date-time.svg": () => import('./date-time-C3cmSAQm.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-browse.svg": () => import('./db-browse-BJj19qUq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-database.svg": () => import('./db-database-CyCrPzu-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-fetch.svg": () => import('./db-fetch-CJMHzQp5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-schema.svg": () => import('./db-schema-C4gtYXvd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table-view.svg": () => import('./db-table-view-CcF1plGQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table.svg": () => import('./db-table-DifKATf6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/deploy.svg": () => import('./deploy-Dr6jEhZU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/detect.svg": () => import('./detect-DkQik2ep.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/divider.svg": () => import('./divider-Bhqt1kvt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/duration.svg": () => import('./duration-Dfp9ox2I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/edit.svg": () => import('./edit-Bg040TR4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/education.svg": () => import('./education-CsB0t7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/error-panel.svg": () => import('./error-panel-BCvYjM5m.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute-all.svg": () => import('./execute-all-JZlJ6VtK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute.svg": () => import('./execute-CDtz4PKy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/expand-panel.svg": () => import('./expand-panel-C0-YqxWN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension-community.svg": () => import('./extension-community-BL7uY2lh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension.svg": () => import('./extension-DV2OG2b-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/external-link.svg": () => import('./external-link-D6c_uzZp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/eye.svg": () => import('./eye-DIQBS75n.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-export.svg": () => import('./file-export-Cm5xiHIP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-text.svg": () => import('./file-text-DCIkmzWQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file.svg": () => import('./file-D-fzxVWf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/filter.svg": () => import('./filter-BCzsHR5o.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-default.svg": () => import('./flow-variable-default-D8YRzPWl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in-out.svg": () => import('./flow-variable-in-out-v434yDUG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in.svg": () => import('./flow-variable-in-BiO5ppkU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-out.svg": () => import('./flow-variable-out-BuATVHTL.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-plus.svg": () => import('./folder-plus-0Z-aPAxX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-search.svg": () => import('./folder-search-DDOYg0f6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-workflow.svg": () => import('./folder-workflow-hjaE8p-i.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder.svg": () => import('./folder-xz8Bw1k6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/forum.svg": () => import('./forum-CunE8Bpo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/function-catalog.svg": () => import('./function-catalog-CRXmv7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/hide-eye.svg": () => import('./hide-eye-BrIKmBWt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/home.svg": () => import('./home-CW06ROg3.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/import.svg": () => import('./import-Bjz9KZM-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/info.svg": () => import('./info-C8GezBIf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/interval.svg": () => import('./interval-CzQaVMPH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/italic.svg": () => import('./italic-B6SY7x6N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/key.svg": () => import('./key-9hybjORk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/layout-editor.svg": () => import('./layout-editor-At6vQ3aU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/left-aligned.svg": () => import('./left-aligned-C90MrNJd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/like.svg": () => import('./like-BwC1fMTh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/limit.svg": () => import('./limit-D84DMtQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/link.svg": () => import('./link-DH0XmQMp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/linked-metanode.svg": () => import('./linked-metanode-ojS3JQJp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-bulletpoint.svg": () => import('./list-bulletpoint-BLPnukaY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-number.svg": () => import('./list-number-C47JfmdB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-thumbs.svg": () => import('./list-thumbs-F5ICnK4Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list.svg": () => import('./list-CQmzxqnp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/local-filesystem.svg": () => import('./local-filesystem-fyrwOsG5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/lock.svg": () => import('./lock-B9qCq8wW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/menu.svg": () => import('./menu-BSS_QnZi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/metanode.svg": () => import('./metanode-BOoscDpe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/mini-map.svg": () => import('./mini-map-DKez_1T0.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-dialog.svg": () => import('./minimize-dialog-CsKInFjQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-side-panel.svg": () => import('./minimize-side-panel-DOe27uOi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minus.svg": () => import('./minus-CUOnFK-_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/more-actions.svg": () => import('./more-actions-r1Ai1cv8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/node-stack.svg": () => import('./node-stack-B2-NOdn1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-horiz.svg": () => import('./nodes-align-horiz-BNN1SQyE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-vert.svg": () => import('./nodes-align-vert-JG8gmWk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/open-in-new-window.svg": () => import('./open-in-new-window-BAU_-IMl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pan-mode.svg": () => import('./pan-mode-CGVZU5HB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/parameter.svg": () => import('./parameter-D3NI1oyc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pending-changes.svg": () => import('./pending-changes-BvFdyKn8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pin.svg": () => import('./pin-B6vKBZDp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/placeholder.svg": () => import('./placeholder-CIq-OFkj.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/plus.svg": () => import('./plus-BGcbvgG4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/python.svg": () => import('./python-Bn3ET_9Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/quote.svg": () => import('./quote-BhPMewQl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/re-execution.svg": () => import('./re-execution-CPa8UUdU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/redo.svg": () => import('./redo-BjctXrq6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/regex.svg": () => import('./regex-CErlWJQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reload.svg": () => import('./reload-CDm_DDdP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rename.svg": () => import('./rename-Cyk_xng4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/replace.svg": () => import('./replace-9aOLtKuD.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reset-all.svg": () => import('./reset-all-Buf5y-HV.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/resume-execution.svg": () => import('./resume-execution-CRqaKZqz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/right-aligned.svg": () => import('./right-aligned-2BkZ58o-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rocket.svg": () => import('./rocket-Bs46VoUh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save-as.svg": () => import('./save-as-CTnCvHfQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save.svg": () => import('./save-B7DzWjxS.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/schedule.svg": () => import('./schedule-DuSqromp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/search.svg": () => import('./search-gykfARpE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/secret-store.svg": () => import('./secret-store-_ZlpQRjr.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-cancel.svg": () => import('./selected-cancel-CS3Gep56.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-execution.svg": () => import('./selected-execution-BJxjtKXq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-reset.svg": () => import('./selected-reset-SMx6XDk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/send.svg": () => import('./send-G2BlBsxu.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/server-rack-workflow.svg": () => import('./server-rack-workflow-CBhKbyGY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/service.svg": () => import('./service-9hAt2V0T.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/settings.svg": () => import('./settings-BLMTAq-1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/share.svg": () => import('./share-BIrWLTtn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/shortcuts.svg": () => import('./shortcuts-fbNZWoSf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-ascending.svg": () => import('./sort-ascending-DNyV4Drg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-descending.svg": () => import('./sort-descending-BdIGPn-9.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-local.svg": () => import('./space-local-D4kTqwrB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-private.svg": () => import('./space-private-D06CTwvE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space.svg": () => import('./space-fMpb-o4-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stepwise-execution.svg": () => import('./stepwise-execution-C1mAO3z_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stop.svg": () => import('./stop-Cgmy2iPY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/strikethrough.svg": () => import('./strikethrough-DG4Ejxqk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/tag.svg": () => import('./tag-_fZiuJaC.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/team.svg": () => import('./team-CtZLwOou.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/template-gallery.svg": () => import('./template-gallery-BtXi4GHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/text.svg": () => import('./text-DFu-L62Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/textstyles.svg": () => import('./textstyles-j0GQtKYE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-down.svg": () => import('./thumbs-down-CiozrdIW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-up.svg": () => import('./thumbs-up-E4uRtjhi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/time.svg": () => import('./time-DU80J5X8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-bottom.svg": () => import('./to-bottom-B8wat1Dk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-top.svg": () => import('./to-top-CCAfU4xz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trash.svg": () => import('./trash-Dq5FHwNO.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trigger.svg": () => import('./trigger-Qns9VYQG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/underline.svg": () => import('./underline-CDZcVZHB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/undo.svg": () => import('./undo-CnghWcXK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/unlink.svg": () => import('./unlink-CL0kTZX2.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/usage.svg": () => import('./usage-827uIQyn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/user.svg": () => import('./user-DTq28OjK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/version.svg": () => import('./version-CSTTEeam.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/view-cards.svg": () => import('./view-cards-DS0Cpf95.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/warning.svg": () => import('./warning-CJC1Oij-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/workflow.svg": () => import('./workflow-n50o8jCH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/x-close.svg": () => import('./x-close-D-oEO9N9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/audio-datatype.svg": () => import('./audio-datatype-DyzJTMxb.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/binary-object-datatype.svg": () => import('./binary-object-datatype-DHZPEEoV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/bit-byte-vector-datatype.svg": () => import('./bit-byte-vector-datatype-XJ0yjm_4.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/boolean-datatype.svg": () => import('./boolean-datatype-B0SBV35e.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-list-datatype.svg": () => import('./collection-list-datatype-DDLoFog9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-set-datatype.svg": () => import('./collection-set-datatype-QGQHiErr.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-datatype.svg": () => import('./date-datatype-DX2o-Qoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-local-datatype.svg": () => import('./date-time-local-datatype-BRveWl93.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-zoned-datatype.svg": () => import('./date-time-zoned-datatype-CvUpjzJk.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/default-extension-datatype.svg": () => import('./default-extension-datatype-C7jbGM5d.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/document-datatype.svg": () => import('./document-datatype-CmWsp5e8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-date-based-datatype.svg": () => import('./duration-date-based-datatype-ZMMDq_rT.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-time-based-datatype.svg": () => import('./duration-time-based-datatype-DWj4ALsB.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/geo-datatype.svg": () => import('./geo-datatype-CTQgQTql.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/helm-datatype.svg": () => import('./helm-datatype-XIlHXQBP.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-png-datatype.svg": () => import('./image-png-datatype-CtnGTQlX.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-svg-datatype.svg": () => import('./image-svg-datatype-DgySAOGM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/json-datatype.svg": () => import('./json-datatype-DgHr_Q8U.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/labeling-datatype.svg": () => import('./labeling-datatype-CGG_DguN.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/linear-notation-molecule.svg": () => import('./linear-notation-molecule-CepA_vEp.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/message-datatype.svg": () => import('./message-datatype-Ds55YGMQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/microscope.svg": () => import('./microscope-CPwlykKH.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/model-pmml-datatype.svg": () => import('./model-pmml-datatype-kXlL8AWg.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/molecule.svg": () => import('./molecule-CT71Yhf1.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-datatype.svg": () => import('./number-double-datatype-B6nc4th6.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-vector-datatype.svg": () => import('./number-double-vector-datatype-D3rzzxjM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-integer-datatype.svg": () => import('./number-integer-datatype-BWoQkZ03.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/path-datatype.svg": () => import('./path-datatype-BD3D-7dL.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-datatype.svg": () => import('./string-datatype-CHI_qvxE.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-vector-datatype.svg": () => import('./string-vector-datatype-DhgtZI8f.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/subgraph-datatype.svg": () => import('./subgraph-datatype-BHBSS1-Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/term-datatype.svg": () => import('./term-datatype-CRrmVXQx.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/test-tube.svg": () => import('./test-tube-BsB8mbus.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/time-datatype.svg": () => import('./time-datatype-CBnmuYLa.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/tool-datatype.svg": () => import('./tool-datatype-l6cMJHHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/unknown-datatype.svg": () => import('./unknown-datatype-BEY7muOy.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/uri-datatype.svg": () => import('./uri-datatype-CJhmCZiq.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-boolean.svg": () => import('./variable-boolean-BzyG4BGV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-boolean.svg": () => import('./variable-collection-boolean-nWAd6a7R.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-double.svg": () => import('./variable-collection-double-h0sMrPKC.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-integer.svg": () => import('./variable-collection-integer-BZEs4wch.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-string.svg": () => import('./variable-collection-string-BPIuxyHK.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-conda-environment.svg": () => import('./variable-conda-environment-DZ5kqmc5.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-credential.svg": () => import('./variable-credential-D32ztDmY.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-integer.svg": () => import('./variable-integer-CtoE3pq3.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-number-double.svg": () => import('./variable-number-double-D5CGjCM8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-path.svg": () => import('./variable-path-Dyuv7RmO.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-string.svg": () => import('./variable-string-JWu8Gafe.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-unknown.svg": () => import('./variable-unknown-DYSdcnPs.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/xml-datatype.svg": () => import('./xml-datatype-BlUTXDpw.js')})), `../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`, 10).then((module) => {
|
|
102
102
|
iconCache.set(newName, module.default);
|
|
103
103
|
iconComponent.value = module.default;
|
|
104
104
|
}).catch((error) => {
|
|
@@ -117,7 +117,7 @@ function useIcon({
|
|
|
117
117
|
return iconComponent;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
const _sfc_main
|
|
120
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
121
121
|
__name: "KdsIcon",
|
|
122
122
|
props: {
|
|
123
123
|
name: {},
|
|
@@ -146,7 +146,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main
|
|
149
|
+
const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["__scopeId", "data-v-fb124eb6"]]);
|
|
150
150
|
|
|
151
151
|
const ID_TO_ICON_MAP = {
|
|
152
152
|
// Flow Variables
|
|
@@ -264,6 +264,7 @@ const iconNames = [
|
|
|
264
264
|
"circle-info",
|
|
265
265
|
"circle-question",
|
|
266
266
|
"circle-success",
|
|
267
|
+
"circle-unchecked",
|
|
267
268
|
"cloud-download",
|
|
268
269
|
"cloud-knime",
|
|
269
270
|
"cloud-pending-changes",
|
|
@@ -309,10 +310,12 @@ const iconNames = [
|
|
|
309
310
|
"flow-variable-in",
|
|
310
311
|
"flow-variable-out",
|
|
311
312
|
"folder-plus",
|
|
313
|
+
"folder-search",
|
|
312
314
|
"folder-workflow",
|
|
313
315
|
"folder",
|
|
314
316
|
"forum",
|
|
315
317
|
"function-catalog",
|
|
318
|
+
"hide-eye",
|
|
316
319
|
"home",
|
|
317
320
|
"import",
|
|
318
321
|
"info",
|
|
@@ -331,6 +334,7 @@ const iconNames = [
|
|
|
331
334
|
"list",
|
|
332
335
|
"local-filesystem",
|
|
333
336
|
"lock",
|
|
337
|
+
"menu",
|
|
334
338
|
"metanode",
|
|
335
339
|
"mini-map",
|
|
336
340
|
"minimize-dialog",
|
|
@@ -344,8 +348,10 @@ const iconNames = [
|
|
|
344
348
|
"pan-mode",
|
|
345
349
|
"parameter",
|
|
346
350
|
"pending-changes",
|
|
351
|
+
"pin",
|
|
347
352
|
"placeholder",
|
|
348
353
|
"plus",
|
|
354
|
+
"python",
|
|
349
355
|
"quote",
|
|
350
356
|
"re-execution",
|
|
351
357
|
"redo",
|
|
@@ -379,7 +385,9 @@ const iconNames = [
|
|
|
379
385
|
"stepwise-execution",
|
|
380
386
|
"stop",
|
|
381
387
|
"strikethrough",
|
|
388
|
+
"tag",
|
|
382
389
|
"team",
|
|
390
|
+
"template-gallery",
|
|
383
391
|
"text",
|
|
384
392
|
"textstyles",
|
|
385
393
|
"thumbs-down",
|
|
@@ -392,6 +400,7 @@ const iconNames = [
|
|
|
392
400
|
"underline",
|
|
393
401
|
"undo",
|
|
394
402
|
"unlink",
|
|
403
|
+
"usage",
|
|
395
404
|
"user",
|
|
396
405
|
"version",
|
|
397
406
|
"view-cards",
|
|
@@ -474,8 +483,8 @@ const kdsDataTypeSize = {
|
|
|
474
483
|
};
|
|
475
484
|
const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
|
|
476
485
|
|
|
477
|
-
const _hoisted_1$
|
|
478
|
-
const _sfc_main$
|
|
486
|
+
const _hoisted_1$J = ["title"];
|
|
487
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
479
488
|
__name: "KdsDataType",
|
|
480
489
|
props: {
|
|
481
490
|
iconName: { default: "unknown-datatype" },
|
|
@@ -515,12 +524,12 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
515
524
|
"aria-hidden": "true",
|
|
516
525
|
focusable: "false"
|
|
517
526
|
}, null, 8, ["class"]))
|
|
518
|
-
], 10, _hoisted_1$
|
|
527
|
+
], 10, _hoisted_1$J);
|
|
519
528
|
};
|
|
520
529
|
}
|
|
521
530
|
});
|
|
522
531
|
|
|
523
|
-
const KdsDataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
532
|
+
const KdsDataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["__scopeId", "data-v-3b8ebdbd"]]);
|
|
524
533
|
|
|
525
534
|
const kdsBadgeVariant = {
|
|
526
535
|
NEUTRAL: "neutral",
|
|
@@ -537,8 +546,8 @@ const kdsBadgeSize = {
|
|
|
537
546
|
};
|
|
538
547
|
const kdsBadgeSizes = Object.values(kdsBadgeSize);
|
|
539
548
|
|
|
540
|
-
const _hoisted_1$
|
|
541
|
-
const _sfc_main$
|
|
549
|
+
const _hoisted_1$I = { class: "label-wrapper" };
|
|
550
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
542
551
|
__name: "KdsBadge",
|
|
543
552
|
props: {
|
|
544
553
|
label: {},
|
|
@@ -560,13 +569,13 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
560
569
|
name: __props.leadingIcon,
|
|
561
570
|
size: sizeToIconSize[__props.size]
|
|
562
571
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true),
|
|
563
|
-
createElementVNode("span", _hoisted_1$
|
|
572
|
+
createElementVNode("span", _hoisted_1$I, toDisplayString(__props.label), 1)
|
|
564
573
|
], 2);
|
|
565
574
|
};
|
|
566
575
|
}
|
|
567
576
|
});
|
|
568
577
|
|
|
569
|
-
const KdsBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
578
|
+
const KdsBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["__scopeId", "data-v-df64f7cf"]]);
|
|
570
579
|
|
|
571
580
|
const kdsColorSwatchType = {
|
|
572
581
|
LEARNER: "learner",
|
|
@@ -585,8 +594,8 @@ const kdsColorSwatchSize = {
|
|
|
585
594
|
};
|
|
586
595
|
const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
|
|
587
596
|
|
|
588
|
-
const _hoisted_1$
|
|
589
|
-
const _sfc_main$
|
|
597
|
+
const _hoisted_1$H = ["role", "title", "aria-hidden", "aria-label"];
|
|
598
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
590
599
|
__name: "KdsColorSwatch",
|
|
591
600
|
props: {
|
|
592
601
|
color: {},
|
|
@@ -621,12 +630,12 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
621
630
|
style: normalizeStyle({ backgroundColor: backgroundColor.value }),
|
|
622
631
|
"aria-hidden": hasTitle.value ? void 0 : "true",
|
|
623
632
|
"aria-label": hasTitle.value ? accessibleTitle.value : void 0
|
|
624
|
-
}, null, 14, _hoisted_1$
|
|
633
|
+
}, null, 14, _hoisted_1$H);
|
|
625
634
|
};
|
|
626
635
|
}
|
|
627
636
|
});
|
|
628
637
|
|
|
629
|
-
const KdsColorSwatch = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
638
|
+
const KdsColorSwatch = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["__scopeId", "data-v-2e300e76"]]);
|
|
630
639
|
|
|
631
640
|
const kdsDarkModeType = {
|
|
632
641
|
LIGHT: "light",
|
|
@@ -746,9 +755,9 @@ function useKdsIsTruncated(elementRef) {
|
|
|
746
755
|
return { isTruncated };
|
|
747
756
|
}
|
|
748
757
|
|
|
749
|
-
const _hoisted_1$
|
|
750
|
-
const _hoisted_2$
|
|
751
|
-
const _sfc_main$
|
|
758
|
+
const _hoisted_1$G = ["title", "aria-label"];
|
|
759
|
+
const _hoisted_2$r = ["title"];
|
|
760
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
752
761
|
__name: "KdsLiveStatus",
|
|
753
762
|
props: {
|
|
754
763
|
status: { default: "red" },
|
|
@@ -777,13 +786,13 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
777
786
|
ref: labelEl,
|
|
778
787
|
class: "label",
|
|
779
788
|
title: unref(isTruncated) ? __props.label : void 0
|
|
780
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
781
|
-
], 10, _hoisted_1$
|
|
789
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$r)) : createCommentVNode("", true)
|
|
790
|
+
], 10, _hoisted_1$G);
|
|
782
791
|
};
|
|
783
792
|
}
|
|
784
793
|
});
|
|
785
794
|
|
|
786
|
-
const KdsLiveStatus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
795
|
+
const KdsLiveStatus = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["__scopeId", "data-v-01555495"]]);
|
|
787
796
|
|
|
788
797
|
const kdsLiveStatusStatus = {
|
|
789
798
|
RED: "red",
|
|
@@ -799,8 +808,8 @@ const kdsLiveStatusSize = {
|
|
|
799
808
|
};
|
|
800
809
|
const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
|
|
801
810
|
|
|
802
|
-
const _hoisted_1$
|
|
803
|
-
const _sfc_main$
|
|
811
|
+
const _hoisted_1$F = ["data-style"];
|
|
812
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
804
813
|
__name: "KdsLoadingSpinner",
|
|
805
814
|
props: {
|
|
806
815
|
size: { default: "medium" },
|
|
@@ -825,12 +834,12 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
825
834
|
cy: "60",
|
|
826
835
|
r: "50"
|
|
827
836
|
}, null, -1)
|
|
828
|
-
])], 10, _hoisted_1$
|
|
837
|
+
])], 10, _hoisted_1$F);
|
|
829
838
|
};
|
|
830
839
|
}
|
|
831
840
|
});
|
|
832
841
|
|
|
833
|
-
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
842
|
+
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["__scopeId", "data-v-54835dc0"]]);
|
|
834
843
|
|
|
835
844
|
const kdsLoadingSpinnerVariant = {
|
|
836
845
|
ON_PRIMARY: "onPrimary",
|
|
@@ -840,14 +849,14 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
840
849
|
kdsLoadingSpinnerVariant
|
|
841
850
|
);
|
|
842
851
|
|
|
843
|
-
const _hoisted_1$
|
|
844
|
-
const _hoisted_2$
|
|
845
|
-
const _hoisted_3$
|
|
846
|
-
const _hoisted_4$
|
|
852
|
+
const _hoisted_1$E = ["role"];
|
|
853
|
+
const _hoisted_2$q = { class: "header" };
|
|
854
|
+
const _hoisted_3$h = { class: "headline" };
|
|
855
|
+
const _hoisted_4$d = {
|
|
847
856
|
key: 0,
|
|
848
857
|
class: "body"
|
|
849
858
|
};
|
|
850
|
-
const _sfc_main$
|
|
859
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
851
860
|
__name: "KdsInlineMessage",
|
|
852
861
|
props: {
|
|
853
862
|
headline: {},
|
|
@@ -878,21 +887,21 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
878
887
|
class: normalizeClass(classes.value),
|
|
879
888
|
role: role.value
|
|
880
889
|
}, [
|
|
881
|
-
createElementVNode("div", _hoisted_2$
|
|
890
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
882
891
|
createVNode(KdsIcon, {
|
|
883
892
|
class: "icon",
|
|
884
893
|
name: iconName.value,
|
|
885
894
|
size: "small"
|
|
886
895
|
}, null, 8, ["name"]),
|
|
887
|
-
createElementVNode("div", _hoisted_3$
|
|
896
|
+
createElementVNode("div", _hoisted_3$h, toDisplayString(props.headline), 1)
|
|
888
897
|
]),
|
|
889
|
-
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
890
|
-
], 10, _hoisted_1$
|
|
898
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$d, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
899
|
+
], 10, _hoisted_1$E);
|
|
891
900
|
};
|
|
892
901
|
}
|
|
893
902
|
});
|
|
894
903
|
|
|
895
|
-
const KdsInlineMessage = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
904
|
+
const KdsInlineMessage = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["__scopeId", "data-v-af14056f"]]);
|
|
896
905
|
|
|
897
906
|
const kdsInlineMessageVariant = {
|
|
898
907
|
ERROR: "error",
|
|
@@ -902,11 +911,11 @@ const kdsInlineMessageVariant = {
|
|
|
902
911
|
};
|
|
903
912
|
const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
904
913
|
|
|
905
|
-
const _hoisted_1$
|
|
914
|
+
const _hoisted_1$D = {
|
|
906
915
|
key: 0,
|
|
907
916
|
class: "label"
|
|
908
917
|
};
|
|
909
|
-
const _sfc_main$
|
|
918
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
910
919
|
__name: "BaseButton",
|
|
911
920
|
props: {
|
|
912
921
|
size: { default: "medium" },
|
|
@@ -921,11 +930,12 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
921
930
|
success: { type: Boolean, default: false },
|
|
922
931
|
error: { type: Boolean, default: false },
|
|
923
932
|
toggled: { type: Boolean, default: false },
|
|
933
|
+
removeBorderRadius: { default: () => void 0 },
|
|
924
934
|
component: { default: "button" }
|
|
925
935
|
},
|
|
926
936
|
emits: ["click"],
|
|
927
937
|
setup(__props, { emit: __emit }) {
|
|
928
|
-
const props = createPropsRestProxy(__props, ["component", "size", "destructive", "success", "error", "disabled", "toggled"]);
|
|
938
|
+
const props = createPropsRestProxy(__props, ["component", "size", "destructive", "success", "error", "disabled", "toggled", "removeBorderRadius"]);
|
|
929
939
|
const emit = __emit;
|
|
930
940
|
const classes = computed(() => [
|
|
931
941
|
"button",
|
|
@@ -935,7 +945,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
935
945
|
{ disabled: __props.disabled },
|
|
936
946
|
{ toggled: __props.toggled },
|
|
937
947
|
{ success: __props.success },
|
|
938
|
-
{ error: __props.error }
|
|
948
|
+
{ error: __props.error },
|
|
949
|
+
__props.removeBorderRadius ? `remove-border-radius-${__props.removeBorderRadius}` : void 0
|
|
939
950
|
]);
|
|
940
951
|
const iconSize = computed(() => {
|
|
941
952
|
if (__props.size === "xsmall") {
|
|
@@ -965,7 +976,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
965
976
|
size: iconSize.value
|
|
966
977
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
967
978
|
], true),
|
|
968
|
-
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
979
|
+
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(props.label), 1)) : createCommentVNode("", true),
|
|
969
980
|
props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
|
|
970
981
|
key: 1,
|
|
971
982
|
name: props.trailingIcon,
|
|
@@ -978,9 +989,9 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
978
989
|
}
|
|
979
990
|
});
|
|
980
991
|
|
|
981
|
-
const BaseButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
992
|
+
const BaseButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["__scopeId", "data-v-a696a1ec"]]);
|
|
982
993
|
|
|
983
|
-
const _sfc_main
|
|
994
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
984
995
|
__name: "KdsButton",
|
|
985
996
|
props: {
|
|
986
997
|
size: {},
|
|
@@ -1034,7 +1045,7 @@ const resolveNuxtLinkComponent = () => {
|
|
|
1034
1045
|
return fallbackComponent;
|
|
1035
1046
|
};
|
|
1036
1047
|
|
|
1037
|
-
const _sfc_main$
|
|
1048
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
1038
1049
|
__name: "KdsLinkButton",
|
|
1039
1050
|
props: {
|
|
1040
1051
|
size: {},
|
|
@@ -1047,7 +1058,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1047
1058
|
ariaLabel: {},
|
|
1048
1059
|
destructive: { type: Boolean },
|
|
1049
1060
|
to: {},
|
|
1050
|
-
download: { type: Boolean },
|
|
1061
|
+
download: { type: Boolean, default: () => void 0 },
|
|
1051
1062
|
target: { default: null },
|
|
1052
1063
|
rel: { default: null }
|
|
1053
1064
|
},
|
|
@@ -1074,7 +1085,307 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1074
1085
|
}
|
|
1075
1086
|
});
|
|
1076
1087
|
|
|
1077
|
-
const
|
|
1088
|
+
const BYTE_UNITS = [
|
|
1089
|
+
'B',
|
|
1090
|
+
'kB',
|
|
1091
|
+
'MB',
|
|
1092
|
+
'GB',
|
|
1093
|
+
'TB',
|
|
1094
|
+
'PB',
|
|
1095
|
+
'EB',
|
|
1096
|
+
'ZB',
|
|
1097
|
+
'YB',
|
|
1098
|
+
];
|
|
1099
|
+
|
|
1100
|
+
const BIBYTE_UNITS = [
|
|
1101
|
+
'B',
|
|
1102
|
+
'KiB',
|
|
1103
|
+
'MiB',
|
|
1104
|
+
'GiB',
|
|
1105
|
+
'TiB',
|
|
1106
|
+
'PiB',
|
|
1107
|
+
'EiB',
|
|
1108
|
+
'ZiB',
|
|
1109
|
+
'YiB',
|
|
1110
|
+
];
|
|
1111
|
+
|
|
1112
|
+
const BIT_UNITS = [
|
|
1113
|
+
'b',
|
|
1114
|
+
'kbit',
|
|
1115
|
+
'Mbit',
|
|
1116
|
+
'Gbit',
|
|
1117
|
+
'Tbit',
|
|
1118
|
+
'Pbit',
|
|
1119
|
+
'Ebit',
|
|
1120
|
+
'Zbit',
|
|
1121
|
+
'Ybit',
|
|
1122
|
+
];
|
|
1123
|
+
|
|
1124
|
+
const BIBIT_UNITS = [
|
|
1125
|
+
'b',
|
|
1126
|
+
'kibit',
|
|
1127
|
+
'Mibit',
|
|
1128
|
+
'Gibit',
|
|
1129
|
+
'Tibit',
|
|
1130
|
+
'Pibit',
|
|
1131
|
+
'Eibit',
|
|
1132
|
+
'Zibit',
|
|
1133
|
+
'Yibit',
|
|
1134
|
+
];
|
|
1135
|
+
|
|
1136
|
+
/*
|
|
1137
|
+
Formats the given number using `Number#toLocaleString`.
|
|
1138
|
+
- If locale is a string, the value is expected to be a locale-key (for example: `de`).
|
|
1139
|
+
- If locale is true, the system default locale is used for translation.
|
|
1140
|
+
- If no value for locale is specified, the number is returned unmodified.
|
|
1141
|
+
*/
|
|
1142
|
+
const toLocaleString = (number, locale, options) => {
|
|
1143
|
+
let result = number;
|
|
1144
|
+
if (typeof locale === 'string' || Array.isArray(locale)) {
|
|
1145
|
+
result = number.toLocaleString(locale, options);
|
|
1146
|
+
} else if (locale === true || options !== undefined) {
|
|
1147
|
+
result = number.toLocaleString(undefined, options);
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
return result;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
const log10 = numberOrBigInt => {
|
|
1154
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1155
|
+
return Math.log10(numberOrBigInt);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
const string = numberOrBigInt.toString(10);
|
|
1159
|
+
|
|
1160
|
+
return string.length + Math.log10(`0.${string.slice(0, 15)}`);
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
const log = numberOrBigInt => {
|
|
1164
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1165
|
+
return Math.log(numberOrBigInt);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
return log10(numberOrBigInt) * Math.log(10);
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
const divide = (numberOrBigInt, divisor) => {
|
|
1172
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1173
|
+
return numberOrBigInt / divisor;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
const integerPart = numberOrBigInt / BigInt(divisor);
|
|
1177
|
+
const remainder = numberOrBigInt % BigInt(divisor);
|
|
1178
|
+
return Number(integerPart) + (Number(remainder) / divisor);
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
const applyFixedWidth = (result, fixedWidth) => {
|
|
1182
|
+
if (fixedWidth === undefined) {
|
|
1183
|
+
return result;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
if (typeof fixedWidth !== 'number' || !Number.isSafeInteger(fixedWidth) || fixedWidth < 0) {
|
|
1187
|
+
throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof fixedWidth}: ${fixedWidth}`);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if (fixedWidth === 0) {
|
|
1191
|
+
return result;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
return result.length < fixedWidth ? result.padStart(fixedWidth, ' ') : result;
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
const buildLocaleOptions = options => {
|
|
1198
|
+
const {minimumFractionDigits, maximumFractionDigits} = options;
|
|
1199
|
+
|
|
1200
|
+
if (minimumFractionDigits === undefined && maximumFractionDigits === undefined) {
|
|
1201
|
+
return undefined;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
return {
|
|
1205
|
+
...(minimumFractionDigits !== undefined && {minimumFractionDigits}),
|
|
1206
|
+
...(maximumFractionDigits !== undefined && {maximumFractionDigits}),
|
|
1207
|
+
roundingMode: 'trunc',
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
function prettyBytes(number, options) {
|
|
1212
|
+
if (typeof number !== 'bigint' && !Number.isFinite(number)) {
|
|
1213
|
+
throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
options = {
|
|
1217
|
+
bits: false,
|
|
1218
|
+
binary: false,
|
|
1219
|
+
space: true,
|
|
1220
|
+
nonBreakingSpace: false,
|
|
1221
|
+
...options,
|
|
1222
|
+
};
|
|
1223
|
+
|
|
1224
|
+
const UNITS = options.bits
|
|
1225
|
+
? (options.binary ? BIBIT_UNITS : BIT_UNITS)
|
|
1226
|
+
: (options.binary ? BIBYTE_UNITS : BYTE_UNITS);
|
|
1227
|
+
|
|
1228
|
+
const separator = options.space ? (options.nonBreakingSpace ? '\u00A0' : ' ') : '';
|
|
1229
|
+
|
|
1230
|
+
// Handle signed zero case
|
|
1231
|
+
const isZero = typeof number === 'number' ? number === 0 : number === 0n;
|
|
1232
|
+
if (options.signed && isZero) {
|
|
1233
|
+
const result = ` 0${separator}${UNITS[0]}`;
|
|
1234
|
+
return applyFixedWidth(result, options.fixedWidth);
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
const isNegative = number < 0;
|
|
1238
|
+
const prefix = isNegative ? '-' : (options.signed ? '+' : '');
|
|
1239
|
+
|
|
1240
|
+
if (isNegative) {
|
|
1241
|
+
number = -number;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
const localeOptions = buildLocaleOptions(options);
|
|
1245
|
+
let result;
|
|
1246
|
+
|
|
1247
|
+
if (number < 1) {
|
|
1248
|
+
const numberString = toLocaleString(number, options.locale, localeOptions);
|
|
1249
|
+
result = prefix + numberString + separator + UNITS[0];
|
|
1250
|
+
} else {
|
|
1251
|
+
const exponent = Math.min(Math.floor(options.binary ? log(number) / Math.log(1024) : log10(number) / 3), UNITS.length - 1);
|
|
1252
|
+
number = divide(number, (options.binary ? 1024 : 1000) ** exponent);
|
|
1253
|
+
|
|
1254
|
+
if (!localeOptions) {
|
|
1255
|
+
const minPrecision = Math.max(3, Math.floor(number).toString().length);
|
|
1256
|
+
number = number.toPrecision(minPrecision);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
const numberString = toLocaleString(Number(number), options.locale, localeOptions);
|
|
1260
|
+
const unit = UNITS[exponent];
|
|
1261
|
+
result = prefix + numberString + separator + unit;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
return applyFixedWidth(result, options.fixedWidth);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
const _hoisted_1$C = { class: "label" };
|
|
1268
|
+
const _hoisted_2$p = {
|
|
1269
|
+
key: 1,
|
|
1270
|
+
class: "file-size"
|
|
1271
|
+
};
|
|
1272
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
1273
|
+
__name: "KdsLink",
|
|
1274
|
+
props: {
|
|
1275
|
+
to: {},
|
|
1276
|
+
label: {},
|
|
1277
|
+
title: {},
|
|
1278
|
+
disabled: { type: Boolean, default: false },
|
|
1279
|
+
download: { type: Boolean, default: false },
|
|
1280
|
+
target: {},
|
|
1281
|
+
rel: {},
|
|
1282
|
+
fileSize: {}
|
|
1283
|
+
},
|
|
1284
|
+
emits: ["click"],
|
|
1285
|
+
setup(__props, { emit: __emit }) {
|
|
1286
|
+
const emit = __emit;
|
|
1287
|
+
const linkComponent = resolveNuxtLinkComponent();
|
|
1288
|
+
function inferVariantFromTo(to) {
|
|
1289
|
+
const normalized = to.trim();
|
|
1290
|
+
if (!normalized) {
|
|
1291
|
+
return "internal";
|
|
1292
|
+
}
|
|
1293
|
+
if (normalized.startsWith("#") || normalized.startsWith("/") && !normalized.startsWith("//") || normalized.startsWith("./") || normalized.startsWith("../") || normalized.startsWith("?")) {
|
|
1294
|
+
return "internal";
|
|
1295
|
+
}
|
|
1296
|
+
return "external";
|
|
1297
|
+
}
|
|
1298
|
+
const variant = computed(() => {
|
|
1299
|
+
if (__props.download || __props.fileSize !== void 0) {
|
|
1300
|
+
return "document";
|
|
1301
|
+
}
|
|
1302
|
+
return inferVariantFromTo(__props.to);
|
|
1303
|
+
});
|
|
1304
|
+
const effectiveTarget = computed(
|
|
1305
|
+
() => __props.target ?? (variant.value === "external" ? "_blank" : void 0)
|
|
1306
|
+
);
|
|
1307
|
+
const effectiveTitle = computed(() => {
|
|
1308
|
+
const baseTitle = (__props.title ?? __props.label).trim();
|
|
1309
|
+
if (!baseTitle) {
|
|
1310
|
+
return void 0;
|
|
1311
|
+
}
|
|
1312
|
+
if (variant.value === "external") {
|
|
1313
|
+
return effectiveTarget.value === "_blank" ? `${baseTitle} (opens in a new tab)` : baseTitle;
|
|
1314
|
+
}
|
|
1315
|
+
if (__props.download === true) {
|
|
1316
|
+
return `Download ${baseTitle}`;
|
|
1317
|
+
}
|
|
1318
|
+
return `Open ${baseTitle}`;
|
|
1319
|
+
});
|
|
1320
|
+
const component = computed(() => {
|
|
1321
|
+
if (__props.disabled) {
|
|
1322
|
+
return "span";
|
|
1323
|
+
}
|
|
1324
|
+
return linkComponent;
|
|
1325
|
+
});
|
|
1326
|
+
const effectiveTo = computed(() => __props.disabled ? void 0 : __props.to);
|
|
1327
|
+
const effectiveRel = computed(() => {
|
|
1328
|
+
if (__props.target !== "_blank") {
|
|
1329
|
+
return __props.rel ?? void 0;
|
|
1330
|
+
}
|
|
1331
|
+
if (!__props.rel) {
|
|
1332
|
+
return "noopener noreferrer";
|
|
1333
|
+
}
|
|
1334
|
+
const relTokens = __props.rel.split(/\s+/).filter(Boolean);
|
|
1335
|
+
if (!relTokens.includes("noopener")) {
|
|
1336
|
+
relTokens.push("noopener");
|
|
1337
|
+
}
|
|
1338
|
+
if (!relTokens.includes("noreferrer")) {
|
|
1339
|
+
relTokens.push("noreferrer");
|
|
1340
|
+
}
|
|
1341
|
+
return relTokens.join(" ");
|
|
1342
|
+
});
|
|
1343
|
+
const normalizedFileSize = computed(() => {
|
|
1344
|
+
if (typeof __props.fileSize !== "number" || !Number.isFinite(__props.fileSize) || __props.fileSize < 0) {
|
|
1345
|
+
return "";
|
|
1346
|
+
}
|
|
1347
|
+
const formattedFileSize = prettyBytes(__props.fileSize);
|
|
1348
|
+
if (!formattedFileSize) {
|
|
1349
|
+
return "";
|
|
1350
|
+
}
|
|
1351
|
+
return ` (${formattedFileSize})`;
|
|
1352
|
+
});
|
|
1353
|
+
function onClick(event) {
|
|
1354
|
+
if (__props.disabled) {
|
|
1355
|
+
event.preventDefault();
|
|
1356
|
+
return;
|
|
1357
|
+
}
|
|
1358
|
+
emit("click", event);
|
|
1359
|
+
}
|
|
1360
|
+
return (_ctx, _cache) => {
|
|
1361
|
+
return openBlock(), createBlock(resolveDynamicComponent(component.value), {
|
|
1362
|
+
class: normalizeClass(["kds-link", `variant-${variant.value}`, { disabled: __props.disabled }]),
|
|
1363
|
+
to: effectiveTo.value,
|
|
1364
|
+
download: __props.disabled ? void 0 : __props.download,
|
|
1365
|
+
target: effectiveTarget.value,
|
|
1366
|
+
rel: effectiveRel.value,
|
|
1367
|
+
title: effectiveTitle.value,
|
|
1368
|
+
"aria-disabled": __props.disabled ? "true" : void 0,
|
|
1369
|
+
onClick
|
|
1370
|
+
}, {
|
|
1371
|
+
default: withCtx(() => [
|
|
1372
|
+
createElementVNode("span", _hoisted_1$C, toDisplayString(__props.label), 1),
|
|
1373
|
+
variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
|
|
1374
|
+
key: 0,
|
|
1375
|
+
name: "external-link",
|
|
1376
|
+
size: "xsmall"
|
|
1377
|
+
})) : createCommentVNode("", true),
|
|
1378
|
+
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$p, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
|
|
1379
|
+
]),
|
|
1380
|
+
_: 1
|
|
1381
|
+
}, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1385
|
+
|
|
1386
|
+
const KdsLink = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["__scopeId", "data-v-65e776f1"]]);
|
|
1387
|
+
|
|
1388
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
1078
1389
|
__name: "KdsToggleButton",
|
|
1079
1390
|
props: /* @__PURE__ */ mergeModels({
|
|
1080
1391
|
size: {},
|
|
@@ -1110,9 +1421,9 @@ const kdsToggleButtonVariant = {
|
|
|
1110
1421
|
};
|
|
1111
1422
|
const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
1112
1423
|
|
|
1113
|
-
const _hoisted_1$
|
|
1114
|
-
const _hoisted_2$
|
|
1115
|
-
const _sfc_main$
|
|
1424
|
+
const _hoisted_1$B = ["data-visible"];
|
|
1425
|
+
const _hoisted_2$o = ["data-visible"];
|
|
1426
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
1116
1427
|
__name: "KdsProgressButton",
|
|
1117
1428
|
props: /* @__PURE__ */ mergeModels({
|
|
1118
1429
|
size: { default: "medium" },
|
|
@@ -1173,7 +1484,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1173
1484
|
name: props.leadingIcon,
|
|
1174
1485
|
size: iconSize.value
|
|
1175
1486
|
}, null, 8, ["name", "size"])
|
|
1176
|
-
], 8, _hoisted_1$
|
|
1487
|
+
], 8, _hoisted_1$B),
|
|
1177
1488
|
createElementVNode("span", {
|
|
1178
1489
|
class: "spinner",
|
|
1179
1490
|
"data-visible": state.value === "progress"
|
|
@@ -1182,7 +1493,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1182
1493
|
size: iconSize.value,
|
|
1183
1494
|
variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
|
|
1184
1495
|
}, null, 8, ["size", "variant"])
|
|
1185
|
-
], 8, _hoisted_2$
|
|
1496
|
+
], 8, _hoisted_2$o)
|
|
1186
1497
|
], 2)
|
|
1187
1498
|
]),
|
|
1188
1499
|
_: 1
|
|
@@ -1191,7 +1502,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
1191
1502
|
}
|
|
1192
1503
|
});
|
|
1193
1504
|
|
|
1194
|
-
const KdsProgressButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1505
|
+
const KdsProgressButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["__scopeId", "data-v-d38d7ade"]]);
|
|
1195
1506
|
|
|
1196
1507
|
const kdsProgressButtonState = {
|
|
1197
1508
|
DEFAULT: "default",
|
|
@@ -1201,17 +1512,17 @@ const kdsProgressButtonState = {
|
|
|
1201
1512
|
};
|
|
1202
1513
|
const kdsProgressButtonStates = Object.values(kdsProgressButtonState);
|
|
1203
1514
|
|
|
1204
|
-
const _hoisted_1$
|
|
1205
|
-
const _hoisted_2$
|
|
1206
|
-
const _hoisted_3$
|
|
1515
|
+
const _hoisted_1$A = { class: "kds-empty-state" };
|
|
1516
|
+
const _hoisted_2$n = { class: "kds-empty-state-headline" };
|
|
1517
|
+
const _hoisted_3$g = {
|
|
1207
1518
|
key: 1,
|
|
1208
1519
|
class: "kds-empty-state-description"
|
|
1209
1520
|
};
|
|
1210
|
-
const _hoisted_4$
|
|
1521
|
+
const _hoisted_4$c = {
|
|
1211
1522
|
key: 2,
|
|
1212
1523
|
class: "kds-empty-state-action"
|
|
1213
1524
|
};
|
|
1214
|
-
const _sfc_main$
|
|
1525
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
1215
1526
|
__name: "KdsEmptyState",
|
|
1216
1527
|
props: {
|
|
1217
1528
|
headline: {},
|
|
@@ -1227,10 +1538,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1227
1538
|
() => props.button && "to" in props.button && props.button.to !== void 0
|
|
1228
1539
|
);
|
|
1229
1540
|
const buttonComponent = computed(
|
|
1230
|
-
() => isLinkButton.value ? _sfc_main$
|
|
1541
|
+
() => isLinkButton.value ? _sfc_main$_ : _sfc_main$$
|
|
1231
1542
|
);
|
|
1232
1543
|
return (_ctx, _cache) => {
|
|
1233
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1544
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
1234
1545
|
props.loadingSpinner ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
1235
1546
|
key: 0,
|
|
1236
1547
|
"data-testid": "loading-spinner",
|
|
@@ -1238,9 +1549,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1238
1549
|
variant: "onSurface",
|
|
1239
1550
|
"aria-hidden": "true"
|
|
1240
1551
|
})) : createCommentVNode("", true),
|
|
1241
|
-
createElementVNode("p", _hoisted_2$
|
|
1242
|
-
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
1243
|
-
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1552
|
+
createElementVNode("p", _hoisted_2$n, toDisplayString(props.headline), 1),
|
|
1553
|
+
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$g, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
1554
|
+
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
1244
1555
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
1245
1556
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("buttonClick", $event))
|
|
1246
1557
|
}), null, 16))
|
|
@@ -1250,9 +1561,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1250
1561
|
}
|
|
1251
1562
|
});
|
|
1252
1563
|
|
|
1253
|
-
const KdsEmptyState = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1564
|
+
const KdsEmptyState = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-5da4d570"]]);
|
|
1254
1565
|
|
|
1255
|
-
const _sfc_main$
|
|
1566
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
1256
1567
|
__name: "ListItemAccessory",
|
|
1257
1568
|
props: {
|
|
1258
1569
|
accessory: {},
|
|
@@ -1303,28 +1614,28 @@ const kdsListItemVariant = {
|
|
|
1303
1614
|
LARGE: "large"
|
|
1304
1615
|
};
|
|
1305
1616
|
|
|
1306
|
-
const _hoisted_1$
|
|
1307
|
-
const _hoisted_2$
|
|
1617
|
+
const _hoisted_1$z = ["id", "role", "aria-selected", "aria-disabled"];
|
|
1618
|
+
const _hoisted_2$m = {
|
|
1308
1619
|
key: 0,
|
|
1309
1620
|
class: "accessory"
|
|
1310
1621
|
};
|
|
1311
|
-
const _hoisted_3$
|
|
1312
|
-
const _hoisted_4$
|
|
1313
|
-
const _hoisted_5$
|
|
1622
|
+
const _hoisted_3$f = { class: "content" };
|
|
1623
|
+
const _hoisted_4$b = ["title"];
|
|
1624
|
+
const _hoisted_5$7 = {
|
|
1314
1625
|
key: 0,
|
|
1315
1626
|
class: "prefix"
|
|
1316
1627
|
};
|
|
1317
|
-
const _hoisted_6$
|
|
1318
|
-
const _hoisted_7 = { class: "trailing-item" };
|
|
1319
|
-
const _hoisted_8 = {
|
|
1628
|
+
const _hoisted_6$5 = ["title"];
|
|
1629
|
+
const _hoisted_7$1 = { class: "trailing-item" };
|
|
1630
|
+
const _hoisted_8$1 = {
|
|
1320
1631
|
key: 0,
|
|
1321
1632
|
class: "shortcut"
|
|
1322
1633
|
};
|
|
1323
|
-
const _hoisted_9 = {
|
|
1634
|
+
const _hoisted_9$1 = {
|
|
1324
1635
|
key: 2,
|
|
1325
1636
|
class: "trailing-item-reserve-space"
|
|
1326
1637
|
};
|
|
1327
|
-
const _sfc_main$
|
|
1638
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
1328
1639
|
__name: "KdsListItem",
|
|
1329
1640
|
props: {
|
|
1330
1641
|
id: {},
|
|
@@ -1378,64 +1689,64 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
1378
1689
|
]),
|
|
1379
1690
|
onClick
|
|
1380
1691
|
}, [
|
|
1381
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1382
|
-
createVNode(_sfc_main$
|
|
1692
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$m, [
|
|
1693
|
+
createVNode(_sfc_main$V, {
|
|
1383
1694
|
accessory: props.accessory,
|
|
1384
1695
|
size: accessorySize.value,
|
|
1385
1696
|
disabled: __props.disabled
|
|
1386
1697
|
}, null, 8, ["accessory", "size", "disabled"])
|
|
1387
1698
|
])) : createCommentVNode("", true),
|
|
1388
|
-
createElementVNode("span", _hoisted_3$
|
|
1699
|
+
createElementVNode("span", _hoisted_3$f, [
|
|
1389
1700
|
createElementVNode("span", {
|
|
1390
1701
|
ref_key: "labelEl",
|
|
1391
1702
|
ref: labelEl,
|
|
1392
1703
|
class: "label",
|
|
1393
1704
|
title: unref(isLabelTruncated) ? props.label : void 0
|
|
1394
1705
|
}, [
|
|
1395
|
-
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
1706
|
+
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$7, "(Missing) ")) : createCommentVNode("", true),
|
|
1396
1707
|
createElementVNode("span", {
|
|
1397
1708
|
class: normalizeClass({ special: __props.special })
|
|
1398
1709
|
}, toDisplayString(props.label), 3)
|
|
1399
|
-
], 8, _hoisted_4$
|
|
1710
|
+
], 8, _hoisted_4$b),
|
|
1400
1711
|
props.subText ? (openBlock(), createElementBlock("span", {
|
|
1401
1712
|
key: 0,
|
|
1402
1713
|
ref_key: "subtextEl",
|
|
1403
1714
|
ref: subtextEl,
|
|
1404
1715
|
class: "subtext",
|
|
1405
1716
|
title: unref(isSubtextTruncated) ? props.subText : void 0
|
|
1406
|
-
}, toDisplayString(props.subText), 9, _hoisted_6$
|
|
1717
|
+
}, toDisplayString(props.subText), 9, _hoisted_6$5)) : createCommentVNode("", true)
|
|
1407
1718
|
]),
|
|
1408
|
-
createElementVNode("span", _hoisted_7, [
|
|
1409
|
-
props.shortcut ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(props.shortcut), 1)) : createCommentVNode("", true),
|
|
1719
|
+
createElementVNode("span", _hoisted_7$1, [
|
|
1720
|
+
props.shortcut ? (openBlock(), createElementBlock("span", _hoisted_8$1, toDisplayString(props.shortcut), 1)) : createCommentVNode("", true),
|
|
1410
1721
|
props.trailingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
1411
1722
|
key: 1,
|
|
1412
1723
|
name: props.trailingIcon,
|
|
1413
1724
|
size: "small"
|
|
1414
|
-
}, null, 8, ["name"])) : (openBlock(), createElementBlock("span", _hoisted_9))
|
|
1725
|
+
}, null, 8, ["name"])) : (openBlock(), createElementBlock("span", _hoisted_9$1))
|
|
1415
1726
|
])
|
|
1416
|
-
], 10, _hoisted_1$
|
|
1727
|
+
], 10, _hoisted_1$z);
|
|
1417
1728
|
};
|
|
1418
1729
|
}
|
|
1419
1730
|
});
|
|
1420
1731
|
|
|
1421
|
-
const KdsListItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1732
|
+
const KdsListItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-0df9684f"]]);
|
|
1422
1733
|
|
|
1423
|
-
const _sfc_main$
|
|
1734
|
+
const _sfc_main$T = { };
|
|
1424
1735
|
|
|
1425
|
-
const _hoisted_1$
|
|
1736
|
+
const _hoisted_1$y = { class: "kds-list-item-divider" };
|
|
1426
1737
|
|
|
1427
1738
|
function _sfc_render$8(_ctx, _cache) {
|
|
1428
|
-
return (openBlock(), createElementBlock("hr", _hoisted_1$
|
|
1739
|
+
return (openBlock(), createElementBlock("hr", _hoisted_1$y))
|
|
1429
1740
|
}
|
|
1430
|
-
const ListItemDivider = /*#__PURE__*/_export_sfc$1(_sfc_main$
|
|
1741
|
+
const ListItemDivider = /*#__PURE__*/_export_sfc$1(_sfc_main$T, [['render',_sfc_render$8],['__scopeId',"data-v-3ee92695"]]);
|
|
1431
1742
|
|
|
1432
|
-
const _hoisted_1$
|
|
1433
|
-
const _hoisted_2$
|
|
1743
|
+
const _hoisted_1$x = { class: "kds-list-item-section-title" };
|
|
1744
|
+
const _hoisted_2$l = {
|
|
1434
1745
|
key: 0,
|
|
1435
1746
|
class: "icon"
|
|
1436
1747
|
};
|
|
1437
|
-
const _hoisted_3$
|
|
1438
|
-
const _sfc_main$
|
|
1748
|
+
const _hoisted_3$e = ["title"];
|
|
1749
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
1439
1750
|
__name: "ListItemSectionTitle",
|
|
1440
1751
|
props: {
|
|
1441
1752
|
label: {},
|
|
@@ -1446,8 +1757,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1446
1757
|
const labelEl = useTemplateRef("labelEl");
|
|
1447
1758
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
1448
1759
|
return (_ctx, _cache) => {
|
|
1449
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1450
|
-
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1760
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
1761
|
+
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$l, [
|
|
1451
1762
|
createVNode(KdsIcon, {
|
|
1452
1763
|
name: props.leadingIcon,
|
|
1453
1764
|
size: "small"
|
|
@@ -1458,18 +1769,18 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1458
1769
|
ref: labelEl,
|
|
1459
1770
|
class: "label",
|
|
1460
1771
|
title: unref(isTruncated) ? props.label : void 0
|
|
1461
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
1772
|
+
}, toDisplayString(props.label), 9, _hoisted_3$e)
|
|
1462
1773
|
]);
|
|
1463
1774
|
};
|
|
1464
1775
|
}
|
|
1465
1776
|
});
|
|
1466
1777
|
|
|
1467
|
-
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1778
|
+
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-53382531"]]);
|
|
1468
1779
|
|
|
1469
|
-
const _hoisted_1$
|
|
1470
|
-
const _hoisted_2$
|
|
1780
|
+
const _hoisted_1$w = ["role", "aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
|
|
1781
|
+
const _hoisted_2$k = ["role"];
|
|
1471
1782
|
const loadingStateText = "Loading entries";
|
|
1472
|
-
const _sfc_main$
|
|
1783
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
1473
1784
|
__name: "KdsListContainer",
|
|
1474
1785
|
props: {
|
|
1475
1786
|
possibleValues: {},
|
|
@@ -1639,7 +1950,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1639
1950
|
handleFocus,
|
|
1640
1951
|
/** Notify the list that its controlling element lost focus */
|
|
1641
1952
|
handleBlur,
|
|
1642
|
-
activeDescendant: activeId
|
|
1953
|
+
activeDescendant: activeId,
|
|
1954
|
+
/** Moves focus to the list container element */
|
|
1955
|
+
focus: () => {
|
|
1956
|
+
containerEl.value?.focus();
|
|
1957
|
+
}
|
|
1643
1958
|
});
|
|
1644
1959
|
return (_ctx, _cache) => {
|
|
1645
1960
|
return openBlock(), createElementBlock("div", mergeProps(_ctx.$attrs, {
|
|
@@ -1649,7 +1964,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1649
1964
|
"aria-busy": __props.loading,
|
|
1650
1965
|
"aria-label": props.ariaLabel,
|
|
1651
1966
|
"aria-activedescendant": !props.controlledExternally && activeId.value ? activeId.value : void 0,
|
|
1652
|
-
class: [
|
|
1967
|
+
class: [
|
|
1968
|
+
"kds-list-container",
|
|
1969
|
+
{ standalone: !props.controlledExternally, menu: __props.role === "menu" }
|
|
1970
|
+
],
|
|
1653
1971
|
tabindex: props.controlledExternally ? void 0 : 0,
|
|
1654
1972
|
onKeydown: handleKeydown,
|
|
1655
1973
|
onFocus: handleFocus,
|
|
@@ -1703,31 +2021,76 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1703
2021
|
headline: __props.loading ? loadingStateText : __props.emptyText,
|
|
1704
2022
|
"loading-spinner": __props.loading
|
|
1705
2023
|
}, null, 8, ["headline", "loading-spinner"])
|
|
1706
|
-
], 8, _hoisted_2$
|
|
1707
|
-
], 16, _hoisted_1$
|
|
2024
|
+
], 8, _hoisted_2$k)) : createCommentVNode("", true)
|
|
2025
|
+
], 16, _hoisted_1$w);
|
|
1708
2026
|
};
|
|
1709
2027
|
}
|
|
1710
2028
|
});
|
|
1711
2029
|
|
|
1712
|
-
const KdsListContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2030
|
+
const KdsListContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-446a5ba1"]]);
|
|
1713
2031
|
|
|
1714
2032
|
const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1715
2033
|
__proto__: null,
|
|
1716
2034
|
default: KdsListContainer
|
|
1717
2035
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1718
2036
|
|
|
1719
|
-
const _hoisted_1$
|
|
1720
|
-
const
|
|
2037
|
+
const _hoisted_1$v = { class: "kds-menu-container" };
|
|
2038
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
2039
|
+
__name: "KdsMenuContainer",
|
|
2040
|
+
props: {
|
|
2041
|
+
id: {},
|
|
2042
|
+
ariaLabel: { default: "Actions" },
|
|
2043
|
+
items: {},
|
|
2044
|
+
menuMaxHeight: {}
|
|
2045
|
+
},
|
|
2046
|
+
emits: ["itemClick"],
|
|
2047
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2048
|
+
const props = createPropsRestProxy(__props, ["ariaLabel", "menuMaxHeight"]);
|
|
2049
|
+
const emit = __emit;
|
|
2050
|
+
const listContainerEl = useTemplateRef("listContainerEl");
|
|
2051
|
+
const onItemClick = (itemId) => {
|
|
2052
|
+
if (itemId) {
|
|
2053
|
+
emit("itemClick", itemId);
|
|
2054
|
+
}
|
|
2055
|
+
};
|
|
2056
|
+
__expose({
|
|
2057
|
+
focus: () => {
|
|
2058
|
+
listContainerEl.value?.focus();
|
|
2059
|
+
}
|
|
2060
|
+
});
|
|
2061
|
+
return (_ctx, _cache) => {
|
|
2062
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
2063
|
+
createVNode(KdsListContainer, {
|
|
2064
|
+
id: props.id,
|
|
2065
|
+
ref_key: "listContainerEl",
|
|
2066
|
+
ref: listContainerEl,
|
|
2067
|
+
"possible-values": props.items,
|
|
2068
|
+
"empty-text": "Menu is empty",
|
|
2069
|
+
"aria-label": __props.ariaLabel,
|
|
2070
|
+
role: "menu",
|
|
2071
|
+
style: normalizeStyle({ maxHeight: __props.menuMaxHeight }),
|
|
2072
|
+
onItemClick
|
|
2073
|
+
}, null, 8, ["id", "possible-values", "aria-label", "style"])
|
|
2074
|
+
]);
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
const KdsMenuContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-d87656d8"]]);
|
|
2080
|
+
|
|
2081
|
+
const _hoisted_1$u = ["id", "popover", "role"];
|
|
2082
|
+
const _hoisted_2$j = {
|
|
1721
2083
|
key: 0,
|
|
1722
2084
|
class: "kds-popover-default-content"
|
|
1723
2085
|
};
|
|
1724
|
-
const _sfc_main$
|
|
2086
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
1725
2087
|
__name: "KdsPopover",
|
|
1726
2088
|
props: /* @__PURE__ */ mergeModels({
|
|
1727
2089
|
placement: { default: "bottom-left" },
|
|
1728
2090
|
role: {},
|
|
1729
2091
|
popoverType: { default: "auto" },
|
|
1730
2092
|
fullWidth: { type: Boolean, default: false },
|
|
2093
|
+
maxInlineSize: { default: () => void 0 },
|
|
1731
2094
|
content: {}
|
|
1732
2095
|
}, {
|
|
1733
2096
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -1735,7 +2098,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1735
2098
|
}),
|
|
1736
2099
|
emits: ["update:modelValue"],
|
|
1737
2100
|
setup(__props, { expose: __expose }) {
|
|
1738
|
-
const props = createPropsRestProxy(__props, ["placement", "popoverType", "fullWidth"]);
|
|
2101
|
+
const props = createPropsRestProxy(__props, ["placement", "popoverType", "fullWidth", "maxInlineSize"]);
|
|
1739
2102
|
const open = useModel(__props, "modelValue");
|
|
1740
2103
|
const popoverEl = useTemplateRef("popoverEl");
|
|
1741
2104
|
const popoverId = useId();
|
|
@@ -1759,26 +2122,26 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1759
2122
|
ref: popoverEl,
|
|
1760
2123
|
class: normalizeClass(["kds-popover", ["floating", __props.placement, { "full-width": __props.fullWidth }]]),
|
|
1761
2124
|
popover: __props.popoverType,
|
|
1762
|
-
style: normalizeStyle({ "position-anchor": anchorName }),
|
|
2125
|
+
style: normalizeStyle({ "position-anchor": anchorName, "max-inline-size": __props.maxInlineSize }),
|
|
1763
2126
|
role: props.role,
|
|
1764
2127
|
onToggle
|
|
1765
2128
|
}, [
|
|
1766
2129
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1767
|
-
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2130
|
+
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$j, toDisplayString(props.content), 1)) : createCommentVNode("", true)
|
|
1768
2131
|
], true)
|
|
1769
|
-
], 46, _hoisted_1$
|
|
2132
|
+
], 46, _hoisted_1$u);
|
|
1770
2133
|
};
|
|
1771
2134
|
}
|
|
1772
2135
|
});
|
|
1773
2136
|
|
|
1774
|
-
const KdsPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2137
|
+
const KdsPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-83c11cee"]]);
|
|
1775
2138
|
|
|
1776
2139
|
const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1777
2140
|
__proto__: null,
|
|
1778
2141
|
default: KdsPopover
|
|
1779
2142
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1780
2143
|
|
|
1781
|
-
const _sfc_main$
|
|
2144
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
1782
2145
|
...{
|
|
1783
2146
|
inheritAttrs: false
|
|
1784
2147
|
},
|
|
@@ -1811,63 +2174,47 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1811
2174
|
});
|
|
1812
2175
|
const isMenuOpen = ref(false);
|
|
1813
2176
|
const popoverEl = useTemplateRef("popoverEl");
|
|
1814
|
-
const
|
|
2177
|
+
const menuContainer = useTemplateRef("menuContainer");
|
|
1815
2178
|
const menuId = useId();
|
|
1816
|
-
|
|
1817
|
-
if (!
|
|
1818
|
-
return
|
|
2179
|
+
watch(isMenuOpen, async (menuOpen) => {
|
|
2180
|
+
if (!menuOpen) {
|
|
2181
|
+
return;
|
|
1819
2182
|
}
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
overflowY: "auto"
|
|
1823
|
-
};
|
|
2183
|
+
await nextTick();
|
|
2184
|
+
menuContainer.value?.focus();
|
|
1824
2185
|
});
|
|
1825
2186
|
const onItemClick = (itemId) => {
|
|
1826
|
-
if (!itemId) {
|
|
1827
|
-
return;
|
|
1828
|
-
}
|
|
1829
2187
|
isMenuOpen.value = false;
|
|
1830
2188
|
emit("itemClick", itemId);
|
|
1831
2189
|
};
|
|
1832
2190
|
return (_ctx, _cache) => {
|
|
1833
2191
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1834
|
-
createVNode(_sfc_main$
|
|
2192
|
+
createVNode(_sfc_main$Y, mergeProps({
|
|
1835
2193
|
modelValue: isMenuOpen.value,
|
|
1836
2194
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event)
|
|
1837
2195
|
}, toggleButtonProps.value, {
|
|
1838
2196
|
"aria-haspopup": "menu",
|
|
1839
2197
|
"aria-expanded": isMenuOpen.value,
|
|
1840
2198
|
"aria-controls": unref(menuId),
|
|
1841
|
-
style: popoverEl.value?.anchorStyle
|
|
1842
|
-
|
|
1843
|
-
onKeydown: _cache[1] || (_cache[1] = ($event) => isMenuOpen.value && listContainerEl.value?.handleKeydown),
|
|
1844
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => isMenuOpen.value = false)
|
|
1845
|
-
}), null, 16, ["modelValue", "aria-expanded", "aria-controls", "style", "onFocus"]),
|
|
2199
|
+
style: popoverEl.value?.anchorStyle
|
|
2200
|
+
}), null, 16, ["modelValue", "aria-expanded", "aria-controls", "style"]),
|
|
1846
2201
|
createVNode(KdsPopover, {
|
|
1847
2202
|
ref_key: "popoverEl",
|
|
1848
2203
|
ref: popoverEl,
|
|
1849
2204
|
modelValue: isMenuOpen.value,
|
|
1850
|
-
"onUpdate:modelValue": _cache[
|
|
2205
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isMenuOpen.value = $event),
|
|
1851
2206
|
placement: "bottom-left",
|
|
1852
2207
|
"aria-label": "Menu"
|
|
1853
2208
|
}, {
|
|
1854
2209
|
default: withCtx(() => [
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
"possible-values": __props.items,
|
|
1864
|
-
"empty-text": "Menu is empty",
|
|
1865
|
-
"aria-label": "Actions",
|
|
1866
|
-
role: "menu",
|
|
1867
|
-
"controlled-externally": "",
|
|
1868
|
-
onItemClick
|
|
1869
|
-
}, null, 8, ["id", "possible-values"])
|
|
1870
|
-
], 4)
|
|
2210
|
+
createVNode(KdsMenuContainer, {
|
|
2211
|
+
id: unref(menuId),
|
|
2212
|
+
ref_key: "menuContainer",
|
|
2213
|
+
ref: menuContainer,
|
|
2214
|
+
items: props.items,
|
|
2215
|
+
"menu-max-height": __props.menuMaxHeight,
|
|
2216
|
+
onItemClick
|
|
2217
|
+
}, null, 8, ["id", "items", "menu-max-height"])
|
|
1871
2218
|
]),
|
|
1872
2219
|
_: 1
|
|
1873
2220
|
}, 8, ["modelValue"])
|
|
@@ -1876,7 +2223,94 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1876
2223
|
}
|
|
1877
2224
|
});
|
|
1878
2225
|
|
|
1879
|
-
const
|
|
2226
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
2227
|
+
__name: "KdsSplitButton",
|
|
2228
|
+
props: {
|
|
2229
|
+
size: { default: "medium" },
|
|
2230
|
+
disabled: { type: Boolean },
|
|
2231
|
+
title: {},
|
|
2232
|
+
variant: { default: "filled" },
|
|
2233
|
+
label: {},
|
|
2234
|
+
leadingIcon: {},
|
|
2235
|
+
trailingIcon: {},
|
|
2236
|
+
ariaLabel: {},
|
|
2237
|
+
alternativeActions: {},
|
|
2238
|
+
menuMaxHeight: {}
|
|
2239
|
+
},
|
|
2240
|
+
emits: ["click", "clickItem"],
|
|
2241
|
+
setup(__props, { emit: __emit }) {
|
|
2242
|
+
const props = createPropsRestProxy(__props, ["variant", "size", "alternativeActions", "menuMaxHeight"]);
|
|
2243
|
+
const emit = __emit;
|
|
2244
|
+
const isMenuOpen = ref(false);
|
|
2245
|
+
const popoverEl = useTemplateRef("popoverEl");
|
|
2246
|
+
const menuContainer = useTemplateRef("menuContainer");
|
|
2247
|
+
const menuId = useId();
|
|
2248
|
+
function onItemClick(itemId) {
|
|
2249
|
+
isMenuOpen.value = false;
|
|
2250
|
+
emit("clickItem", itemId);
|
|
2251
|
+
}
|
|
2252
|
+
watch(isMenuOpen, (open) => {
|
|
2253
|
+
if (open) {
|
|
2254
|
+
nextTick(() => menuContainer.value?.focus());
|
|
2255
|
+
}
|
|
2256
|
+
});
|
|
2257
|
+
return (_ctx, _cache) => {
|
|
2258
|
+
return openBlock(), createElementBlock("div", {
|
|
2259
|
+
class: normalizeClass({
|
|
2260
|
+
"kds-split-button": true,
|
|
2261
|
+
[__props.variant]: true,
|
|
2262
|
+
[__props.size]: true,
|
|
2263
|
+
disabled: props.disabled
|
|
2264
|
+
})
|
|
2265
|
+
}, [
|
|
2266
|
+
createVNode(BaseButton, mergeProps(props, {
|
|
2267
|
+
class: ["kds-split-button-primary", __props.variant],
|
|
2268
|
+
size: __props.size,
|
|
2269
|
+
variant: __props.variant,
|
|
2270
|
+
"remove-border-radius": "right",
|
|
2271
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("click", $event))
|
|
2272
|
+
}), null, 16, ["class", "size", "variant"]),
|
|
2273
|
+
createVNode(BaseButton, {
|
|
2274
|
+
class: "kds-split-button-secondary",
|
|
2275
|
+
"remove-border-radius": "left",
|
|
2276
|
+
size: __props.size,
|
|
2277
|
+
variant: __props.variant,
|
|
2278
|
+
"leading-icon": "chevron-down",
|
|
2279
|
+
disabled: props.disabled,
|
|
2280
|
+
ariaLabel: "More options",
|
|
2281
|
+
"aria-haspopup": "menu",
|
|
2282
|
+
"aria-expanded": isMenuOpen.value,
|
|
2283
|
+
"aria-controls": unref(menuId),
|
|
2284
|
+
style: normalizeStyle(popoverEl.value?.anchorStyle),
|
|
2285
|
+
onClick: _cache[1] || (_cache[1] = ($event) => isMenuOpen.value = !isMenuOpen.value)
|
|
2286
|
+
}, null, 8, ["size", "variant", "disabled", "aria-expanded", "aria-controls", "style"]),
|
|
2287
|
+
createVNode(KdsPopover, {
|
|
2288
|
+
ref_key: "popoverEl",
|
|
2289
|
+
ref: popoverEl,
|
|
2290
|
+
modelValue: isMenuOpen.value,
|
|
2291
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isMenuOpen.value = $event),
|
|
2292
|
+
placement: "bottom-left"
|
|
2293
|
+
}, {
|
|
2294
|
+
default: withCtx(() => [
|
|
2295
|
+
createVNode(KdsMenuContainer, {
|
|
2296
|
+
id: unref(menuId),
|
|
2297
|
+
ref_key: "menuContainer",
|
|
2298
|
+
ref: menuContainer,
|
|
2299
|
+
items: __props.alternativeActions,
|
|
2300
|
+
"menu-max-height": __props.menuMaxHeight,
|
|
2301
|
+
"aria-label": "Actions",
|
|
2302
|
+
onItemClick,
|
|
2303
|
+
onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => isMenuOpen.value = false, ["escape"]))
|
|
2304
|
+
}, null, 8, ["id", "items", "menu-max-height"])
|
|
2305
|
+
]),
|
|
2306
|
+
_: 1
|
|
2307
|
+
}, 8, ["modelValue"])
|
|
2308
|
+
], 2);
|
|
2309
|
+
};
|
|
2310
|
+
}
|
|
2311
|
+
});
|
|
2312
|
+
|
|
2313
|
+
const KdsSplitButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["__scopeId", "data-v-f9ca012e"]]);
|
|
1880
2314
|
|
|
1881
2315
|
const kdsButtonSize = {
|
|
1882
2316
|
XSMALL: "xsmall",
|
|
@@ -1892,9 +2326,9 @@ const kdsButtonVariant = {
|
|
|
1892
2326
|
};
|
|
1893
2327
|
const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
1894
2328
|
|
|
1895
|
-
const _hoisted_1$
|
|
1896
|
-
const _hoisted_2$
|
|
1897
|
-
const _sfc_main$
|
|
2329
|
+
const _hoisted_1$t = { class: "kds-label-wrapper" };
|
|
2330
|
+
const _hoisted_2$i = ["id", "for", "title"];
|
|
2331
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
1898
2332
|
__name: "KdsLabel",
|
|
1899
2333
|
props: {
|
|
1900
2334
|
label: {},
|
|
@@ -1911,7 +2345,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1911
2345
|
const labelEl = useTemplateRef("labelEl");
|
|
1912
2346
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
1913
2347
|
return (_ctx, _cache) => {
|
|
1914
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2348
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
1915
2349
|
createElementVNode("label", {
|
|
1916
2350
|
id: props.id,
|
|
1917
2351
|
ref_key: "labelEl",
|
|
@@ -1919,7 +2353,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1919
2353
|
for: props.for,
|
|
1920
2354
|
class: "label",
|
|
1921
2355
|
title: unref(isTruncated) ? props.label : void 0
|
|
1922
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
2356
|
+
}, toDisplayString(props.label), 9, _hoisted_2$i),
|
|
1923
2357
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
1924
2358
|
key: 0,
|
|
1925
2359
|
content: props.description,
|
|
@@ -1930,11 +2364,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1930
2364
|
}
|
|
1931
2365
|
});
|
|
1932
2366
|
|
|
1933
|
-
const KdsLabel = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2367
|
+
const KdsLabel = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["__scopeId", "data-v-13bea091"]]);
|
|
1934
2368
|
|
|
1935
|
-
const _hoisted_1$
|
|
1936
|
-
const _hoisted_2$
|
|
1937
|
-
const _sfc_main$
|
|
2369
|
+
const _hoisted_1$s = ["id"];
|
|
2370
|
+
const _hoisted_2$h = { class: "subtext-text" };
|
|
2371
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1938
2372
|
__name: "KdsSubText",
|
|
1939
2373
|
props: {
|
|
1940
2374
|
id: {},
|
|
@@ -1965,27 +2399,27 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1965
2399
|
variant: "onSurface",
|
|
1966
2400
|
"aria-hidden": "true"
|
|
1967
2401
|
})) : createCommentVNode("", true),
|
|
1968
|
-
createElementVNode("span", _hoisted_2$
|
|
1969
|
-
], 10, _hoisted_1$
|
|
2402
|
+
createElementVNode("span", _hoisted_2$h, toDisplayString(props.subText), 1)
|
|
2403
|
+
], 10, _hoisted_1$s)) : createCommentVNode("", true);
|
|
1970
2404
|
};
|
|
1971
2405
|
}
|
|
1972
2406
|
});
|
|
1973
2407
|
|
|
1974
|
-
const KdsSubText = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2408
|
+
const KdsSubText = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["__scopeId", "data-v-2e6ba10c"]]);
|
|
1975
2409
|
|
|
1976
|
-
const _hoisted_1$
|
|
1977
|
-
const _hoisted_2$
|
|
1978
|
-
const _hoisted_3$
|
|
2410
|
+
const _hoisted_1$r = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
2411
|
+
const _hoisted_2$g = { class: "control" };
|
|
2412
|
+
const _hoisted_3$d = {
|
|
1979
2413
|
key: 0,
|
|
1980
2414
|
class: "content"
|
|
1981
2415
|
};
|
|
1982
|
-
const _hoisted_4$
|
|
1983
|
-
const _hoisted_5$
|
|
1984
|
-
const _hoisted_6$
|
|
2416
|
+
const _hoisted_4$a = { class: "label" };
|
|
2417
|
+
const _hoisted_5$6 = ["id"];
|
|
2418
|
+
const _hoisted_6$4 = {
|
|
1985
2419
|
key: 0,
|
|
1986
2420
|
class: "subtext-wrapper"
|
|
1987
2421
|
};
|
|
1988
|
-
const _sfc_main$
|
|
2422
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
1989
2423
|
__name: "BaseCheckbox",
|
|
1990
2424
|
props: /* @__PURE__ */ mergeModels({
|
|
1991
2425
|
disabled: { type: Boolean, default: false },
|
|
@@ -2058,7 +2492,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2058
2492
|
role: "checkbox",
|
|
2059
2493
|
onClick: handleClick
|
|
2060
2494
|
}, [
|
|
2061
|
-
createElementVNode("div", _hoisted_2$
|
|
2495
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
2062
2496
|
icon.value ? (openBlock(), createBlock(KdsIcon, {
|
|
2063
2497
|
key: 0,
|
|
2064
2498
|
name: icon.value,
|
|
@@ -2066,16 +2500,16 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2066
2500
|
size: "xsmall"
|
|
2067
2501
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
2068
2502
|
]),
|
|
2069
|
-
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2070
|
-
createElementVNode("div", _hoisted_4$
|
|
2503
|
+
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
|
|
2504
|
+
createElementVNode("div", _hoisted_4$a, toDisplayString(props.label), 1),
|
|
2071
2505
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
2072
2506
|
key: 0,
|
|
2073
2507
|
id: unref(helperId),
|
|
2074
2508
|
class: "helper-text"
|
|
2075
|
-
}, toDisplayString(props.helperText), 9, _hoisted_5$
|
|
2509
|
+
}, toDisplayString(props.helperText), 9, _hoisted_5$6)) : createCommentVNode("", true)
|
|
2076
2510
|
])) : createCommentVNode("", true)
|
|
2077
|
-
], 10, _hoisted_1$
|
|
2078
|
-
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2511
|
+
], 10, _hoisted_1$r),
|
|
2512
|
+
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
2079
2513
|
createVNode(KdsSubText, {
|
|
2080
2514
|
id: unref(descriptionId),
|
|
2081
2515
|
"sub-text": props.subText,
|
|
@@ -2088,9 +2522,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2088
2522
|
}
|
|
2089
2523
|
});
|
|
2090
2524
|
|
|
2091
|
-
const BaseCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2525
|
+
const BaseCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-7bfc5667"]]);
|
|
2092
2526
|
|
|
2093
|
-
const _sfc_main$
|
|
2527
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
2094
2528
|
__name: "KdsCheckbox",
|
|
2095
2529
|
props: /* @__PURE__ */ mergeModels({
|
|
2096
2530
|
disabled: { type: Boolean, default: false },
|
|
@@ -2120,11 +2554,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
2120
2554
|
}
|
|
2121
2555
|
});
|
|
2122
2556
|
|
|
2123
|
-
const _hoisted_1$
|
|
2124
|
-
const _hoisted_2$
|
|
2125
|
-
const _hoisted_3$
|
|
2126
|
-
const _hoisted_4$
|
|
2127
|
-
const _sfc_main$
|
|
2557
|
+
const _hoisted_1$q = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
2558
|
+
const _hoisted_2$f = ["id"];
|
|
2559
|
+
const _hoisted_3$c = ["title"];
|
|
2560
|
+
const _hoisted_4$9 = { class: "kds-fieldset-content" };
|
|
2561
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
2128
2562
|
__name: "BaseFieldsetWrapper",
|
|
2129
2563
|
props: {
|
|
2130
2564
|
id: {},
|
|
@@ -2170,14 +2604,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2170
2604
|
ref: legendTextEl,
|
|
2171
2605
|
class: "legend-text",
|
|
2172
2606
|
title: unref(isTruncated) ? props.label : void 0
|
|
2173
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
2607
|
+
}, toDisplayString(props.label), 9, _hoisted_3$c),
|
|
2174
2608
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
2175
2609
|
key: 0,
|
|
2176
2610
|
content: props.description,
|
|
2177
2611
|
hidden: !isHovered.value
|
|
2178
2612
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
2179
|
-
], 8, _hoisted_2$
|
|
2180
|
-
createElementVNode("div", _hoisted_4$
|
|
2613
|
+
], 8, _hoisted_2$f)) : createCommentVNode("", true),
|
|
2614
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
2181
2615
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2182
2616
|
]),
|
|
2183
2617
|
createVNode(KdsSubText, {
|
|
@@ -2187,14 +2621,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2187
2621
|
validating: props.validating,
|
|
2188
2622
|
"preserve-sub-text-space": props.preserveSubTextSpace
|
|
2189
2623
|
}, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
|
|
2190
|
-
], 40, _hoisted_1$
|
|
2624
|
+
], 40, _hoisted_1$q);
|
|
2191
2625
|
};
|
|
2192
2626
|
}
|
|
2193
2627
|
});
|
|
2194
2628
|
|
|
2195
|
-
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2629
|
+
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["__scopeId", "data-v-a44731da"]]);
|
|
2196
2630
|
|
|
2197
|
-
const _sfc_main$
|
|
2631
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
2198
2632
|
__name: "KdsCheckboxGroup",
|
|
2199
2633
|
props: /* @__PURE__ */ mergeModels({
|
|
2200
2634
|
id: {},
|
|
@@ -2273,7 +2707,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2273
2707
|
}
|
|
2274
2708
|
});
|
|
2275
2709
|
|
|
2276
|
-
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2710
|
+
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-c6536296"]]);
|
|
2277
2711
|
|
|
2278
2712
|
const kdsCheckboxGroupAlignment = {
|
|
2279
2713
|
VERTICAL: "vertical",
|
|
@@ -2289,19 +2723,19 @@ const kdsCheckboxValue = {
|
|
|
2289
2723
|
};
|
|
2290
2724
|
const kdsCheckboxValues = Object.values(kdsCheckboxValue);
|
|
2291
2725
|
|
|
2292
|
-
const _hoisted_1$
|
|
2293
|
-
const _hoisted_2$
|
|
2294
|
-
const _hoisted_3$
|
|
2726
|
+
const _hoisted_1$p = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
|
|
2727
|
+
const _hoisted_2$e = { class: "control" };
|
|
2728
|
+
const _hoisted_3$b = {
|
|
2295
2729
|
key: 0,
|
|
2296
2730
|
class: "dot",
|
|
2297
2731
|
viewBox: "0 0 2 2",
|
|
2298
2732
|
"aria-hidden": "true",
|
|
2299
2733
|
focusable: "false"
|
|
2300
2734
|
};
|
|
2301
|
-
const _hoisted_4$
|
|
2302
|
-
const _hoisted_5$
|
|
2303
|
-
const _hoisted_6$
|
|
2304
|
-
const _sfc_main$
|
|
2735
|
+
const _hoisted_4$8 = { class: "content" };
|
|
2736
|
+
const _hoisted_5$5 = { class: "label" };
|
|
2737
|
+
const _hoisted_6$3 = ["id"];
|
|
2738
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
2305
2739
|
__name: "KdsRadioButton",
|
|
2306
2740
|
props: /* @__PURE__ */ mergeModels({
|
|
2307
2741
|
text: {},
|
|
@@ -2341,8 +2775,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2341
2775
|
type: "button",
|
|
2342
2776
|
onClick: handleClick
|
|
2343
2777
|
}, [
|
|
2344
|
-
createElementVNode("div", _hoisted_2$
|
|
2345
|
-
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
2778
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
2779
|
+
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$b, [..._cache[0] || (_cache[0] = [
|
|
2346
2780
|
createElementVNode("circle", {
|
|
2347
2781
|
cx: "1",
|
|
2348
2782
|
cy: "1",
|
|
@@ -2350,20 +2784,20 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2350
2784
|
}, null, -1)
|
|
2351
2785
|
])])) : createCommentVNode("", true)
|
|
2352
2786
|
]),
|
|
2353
|
-
createElementVNode("div", _hoisted_4$
|
|
2354
|
-
createElementVNode("div", _hoisted_5$
|
|
2787
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
2788
|
+
createElementVNode("div", _hoisted_5$5, toDisplayString(props.text), 1),
|
|
2355
2789
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
2356
2790
|
key: 0,
|
|
2357
2791
|
id: `${unref(id)}-helper`,
|
|
2358
2792
|
class: "helper-text"
|
|
2359
|
-
}, toDisplayString(props.helperText), 9, _hoisted_6$
|
|
2793
|
+
}, toDisplayString(props.helperText), 9, _hoisted_6$3)) : createCommentVNode("", true)
|
|
2360
2794
|
])
|
|
2361
|
-
], 10, _hoisted_1$
|
|
2795
|
+
], 10, _hoisted_1$p);
|
|
2362
2796
|
};
|
|
2363
2797
|
}
|
|
2364
2798
|
});
|
|
2365
2799
|
|
|
2366
|
-
const KdsRadioButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2800
|
+
const KdsRadioButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["__scopeId", "data-v-f4f6392a"]]);
|
|
2367
2801
|
|
|
2368
2802
|
const useRadioSelection = ({
|
|
2369
2803
|
selectedId,
|
|
@@ -2485,7 +2919,7 @@ const useRadioSelection = ({
|
|
|
2485
2919
|
};
|
|
2486
2920
|
};
|
|
2487
2921
|
|
|
2488
|
-
const _sfc_main$
|
|
2922
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
2489
2923
|
__name: "KdsRadioButtonGroup",
|
|
2490
2924
|
props: /* @__PURE__ */ mergeModels({
|
|
2491
2925
|
id: {},
|
|
@@ -2560,10 +2994,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2560
2994
|
}
|
|
2561
2995
|
});
|
|
2562
2996
|
|
|
2563
|
-
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2997
|
+
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-d78ed4a2"]]);
|
|
2564
2998
|
|
|
2565
|
-
const _hoisted_1$
|
|
2566
|
-
const _sfc_main$
|
|
2999
|
+
const _hoisted_1$o = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
|
|
3000
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
2567
3001
|
__name: "ValueSwitchItem",
|
|
2568
3002
|
props: {
|
|
2569
3003
|
selected: { type: Boolean },
|
|
@@ -2613,12 +3047,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2613
3047
|
name: props.trailingIcon,
|
|
2614
3048
|
size: __props.size
|
|
2615
3049
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
2616
|
-
], 10, _hoisted_1$
|
|
3050
|
+
], 10, _hoisted_1$o);
|
|
2617
3051
|
};
|
|
2618
3052
|
}
|
|
2619
3053
|
});
|
|
2620
3054
|
|
|
2621
|
-
const ValueSwitchItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3055
|
+
const ValueSwitchItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-5c6f0f1f"]]);
|
|
2622
3056
|
|
|
2623
3057
|
const useValueSwitchIconHiding = ({
|
|
2624
3058
|
width,
|
|
@@ -2669,7 +3103,7 @@ const useValueSwitchIconHiding = ({
|
|
|
2669
3103
|
};
|
|
2670
3104
|
};
|
|
2671
3105
|
|
|
2672
|
-
const _sfc_main$
|
|
3106
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
2673
3107
|
__name: "KdsValueSwitch",
|
|
2674
3108
|
props: /* @__PURE__ */ mergeModels({
|
|
2675
3109
|
id: {},
|
|
@@ -2756,7 +3190,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
2756
3190
|
}
|
|
2757
3191
|
});
|
|
2758
3192
|
|
|
2759
|
-
const KdsValueSwitch = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3193
|
+
const KdsValueSwitch = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-640271e0"]]);
|
|
2760
3194
|
|
|
2761
3195
|
const kdsRadioButtonGroupAlignment = {
|
|
2762
3196
|
VERTICAL: "vertical",
|
|
@@ -2776,7 +3210,7 @@ const kdsValueSwitchVariant = {
|
|
|
2776
3210
|
};
|
|
2777
3211
|
const kdsValueSwitchVariants = Object.values(kdsValueSwitchVariant);
|
|
2778
3212
|
|
|
2779
|
-
const _sfc_main$
|
|
3213
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
2780
3214
|
__name: "BaseFormFieldWrapper",
|
|
2781
3215
|
props: {
|
|
2782
3216
|
id: {},
|
|
@@ -2828,27 +3262,27 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2828
3262
|
}
|
|
2829
3263
|
});
|
|
2830
3264
|
|
|
2831
|
-
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3265
|
+
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-5d99c134"]]);
|
|
2832
3266
|
|
|
2833
|
-
const _hoisted_1$
|
|
3267
|
+
const _hoisted_1$n = {
|
|
2834
3268
|
key: 0,
|
|
2835
3269
|
class: "icon-wrapper leading"
|
|
2836
3270
|
};
|
|
2837
|
-
const _hoisted_2$
|
|
3271
|
+
const _hoisted_2$d = {
|
|
2838
3272
|
key: 1,
|
|
2839
3273
|
class: "leading-slot"
|
|
2840
3274
|
};
|
|
2841
|
-
const _hoisted_3$
|
|
2842
|
-
const _hoisted_4$
|
|
2843
|
-
const _hoisted_5$
|
|
3275
|
+
const _hoisted_3$a = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "pattern", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant", "aria-haspopup", "aria-controls", "aria-expanded", "aria-autocomplete"];
|
|
3276
|
+
const _hoisted_4$7 = ["aria-disabled"];
|
|
3277
|
+
const _hoisted_5$4 = {
|
|
2844
3278
|
key: 4,
|
|
2845
3279
|
class: "trailing-slot"
|
|
2846
3280
|
};
|
|
2847
|
-
const _hoisted_6$
|
|
3281
|
+
const _hoisted_6$2 = {
|
|
2848
3282
|
key: 5,
|
|
2849
3283
|
class: "icon-wrapper trailing"
|
|
2850
3284
|
};
|
|
2851
|
-
const _sfc_main$
|
|
3285
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
2852
3286
|
__name: "BaseInput",
|
|
2853
3287
|
props: /* @__PURE__ */ mergeModels({
|
|
2854
3288
|
id: {},
|
|
@@ -2927,13 +3361,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2927
3361
|
}),
|
|
2928
3362
|
onClick: handleContainerClick
|
|
2929
3363
|
}, [
|
|
2930
|
-
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3364
|
+
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
2931
3365
|
props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
2932
3366
|
key: 0,
|
|
2933
3367
|
name: props.leadingIcon
|
|
2934
3368
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
2935
3369
|
])) : createCommentVNode("", true),
|
|
2936
|
-
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3370
|
+
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
2937
3371
|
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
2938
3372
|
])) : createCommentVNode("", true),
|
|
2939
3373
|
createElementVNode("input", {
|
|
@@ -2969,7 +3403,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2969
3403
|
onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur", $event)),
|
|
2970
3404
|
onKeydown: _cache[2] || (_cache[2] = ($event) => emit("keydown", $event)),
|
|
2971
3405
|
onClick: _cache[3] || (_cache[3] = ($event) => emit("click", $event))
|
|
2972
|
-
}, null, 42, _hoisted_3$
|
|
3406
|
+
}, null, 42, _hoisted_3$a),
|
|
2973
3407
|
props.unit ? (openBlock(), createElementBlock("span", {
|
|
2974
3408
|
key: 2,
|
|
2975
3409
|
class: normalizeClass({
|
|
@@ -2978,8 +3412,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2978
3412
|
disabled: __props.disabled
|
|
2979
3413
|
}),
|
|
2980
3414
|
"aria-disabled": __props.disabled || void 0
|
|
2981
|
-
}, toDisplayString(props.unit), 11, _hoisted_4$
|
|
2982
|
-
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main
|
|
3415
|
+
}, toDisplayString(props.unit), 11, _hoisted_4$7)) : createCommentVNode("", true),
|
|
3416
|
+
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$$, {
|
|
2983
3417
|
key: 3,
|
|
2984
3418
|
class: "clear-button",
|
|
2985
3419
|
type: "button",
|
|
@@ -2990,10 +3424,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2990
3424
|
title: "Clear",
|
|
2991
3425
|
onClick: withModifiers(clearAndFocusInput, ["stop"])
|
|
2992
3426
|
})) : createCommentVNode("", true),
|
|
2993
|
-
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
3427
|
+
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
2994
3428
|
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
2995
3429
|
])) : createCommentVNode("", true),
|
|
2996
|
-
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
3430
|
+
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
2997
3431
|
createVNode(KdsIcon, {
|
|
2998
3432
|
name: props.trailingIcon
|
|
2999
3433
|
}, null, 8, ["name"])
|
|
@@ -3003,7 +3437,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
3003
3437
|
}
|
|
3004
3438
|
});
|
|
3005
3439
|
|
|
3006
|
-
const BaseInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3440
|
+
const BaseInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-92291903"]]);
|
|
3007
3441
|
|
|
3008
3442
|
const usePointerHandler = (updateFromEvent) => {
|
|
3009
3443
|
const activePointerId = ref(null);
|
|
@@ -3043,7 +3477,7 @@ const usePointerHandler = (updateFromEvent) => {
|
|
|
3043
3477
|
};
|
|
3044
3478
|
};
|
|
3045
3479
|
|
|
3046
|
-
const _sfc_main$
|
|
3480
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
3047
3481
|
__name: "KdsTextInput",
|
|
3048
3482
|
props: /* @__PURE__ */ mergeModels({
|
|
3049
3483
|
description: {},
|
|
@@ -3213,7 +3647,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3213
3647
|
}
|
|
3214
3648
|
});
|
|
3215
3649
|
|
|
3216
|
-
const KdsTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3650
|
+
const KdsTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-1740ce83"]]);
|
|
3217
3651
|
|
|
3218
3652
|
const HEX_RADIX = 16;
|
|
3219
3653
|
const RGB_MAX = 255;
|
|
@@ -3335,9 +3769,9 @@ const hsvToRgb = ({ h, s, v }) => {
|
|
|
3335
3769
|
};
|
|
3336
3770
|
const hsvToHex = (hsv) => rgbToHex(hsvToRgb(hsv));
|
|
3337
3771
|
|
|
3338
|
-
const _hoisted_1$
|
|
3339
|
-
const _hoisted_2$
|
|
3340
|
-
const _hoisted_3$
|
|
3772
|
+
const _hoisted_1$m = { class: "kds-color-picker" };
|
|
3773
|
+
const _hoisted_2$c = ["aria-valuetext"];
|
|
3774
|
+
const _hoisted_3$9 = ["aria-valuenow", "aria-valuetext"];
|
|
3341
3775
|
const DEFAULT_HUE_DEG = 270;
|
|
3342
3776
|
const DEFAULT_SATURATION = 0.8;
|
|
3343
3777
|
const DEFAULT_VALUE = 0.9;
|
|
@@ -3349,7 +3783,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
|
|
|
3349
3783
|
const HUE_KEYBOARD_STEP_DEG = 1;
|
|
3350
3784
|
const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
|
|
3351
3785
|
const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
|
|
3352
|
-
const _sfc_main$
|
|
3786
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
3353
3787
|
__name: "ColorPicker",
|
|
3354
3788
|
props: {
|
|
3355
3789
|
"modelValue": { default: "" },
|
|
@@ -3500,7 +3934,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3500
3934
|
}
|
|
3501
3935
|
};
|
|
3502
3936
|
return (_ctx, _cache) => {
|
|
3503
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3937
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
3504
3938
|
createElementVNode("div", {
|
|
3505
3939
|
ref_key: "colorspaceEl",
|
|
3506
3940
|
ref: colorspaceEl,
|
|
@@ -3529,7 +3963,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3529
3963
|
class: "handle",
|
|
3530
3964
|
style: normalizeStyle(colorspaceHandleStyle.value)
|
|
3531
3965
|
}, null, 4)
|
|
3532
|
-
], 44, _hoisted_2$
|
|
3966
|
+
], 44, _hoisted_2$c),
|
|
3533
3967
|
createElementVNode("div", {
|
|
3534
3968
|
ref_key: "hueEl",
|
|
3535
3969
|
ref: hueEl,
|
|
@@ -3559,7 +3993,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3559
3993
|
class: "handle",
|
|
3560
3994
|
style: normalizeStyle(hueHandleStyle.value)
|
|
3561
3995
|
}, null, 4)
|
|
3562
|
-
], 40, _hoisted_3$
|
|
3996
|
+
], 40, _hoisted_3$9),
|
|
3563
3997
|
createVNode(KdsTextInput, {
|
|
3564
3998
|
"model-value": modelValue.value,
|
|
3565
3999
|
ariaLabel: "Color hex value",
|
|
@@ -3571,7 +4005,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3571
4005
|
}
|
|
3572
4006
|
});
|
|
3573
4007
|
|
|
3574
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
4008
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-74392b20"]]);
|
|
3575
4009
|
|
|
3576
4010
|
const HEX_LENGTH_1 = 1;
|
|
3577
4011
|
const HEX_LENGTH_2 = 2;
|
|
@@ -3631,7 +4065,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
|
|
|
3631
4065
|
return { handleFocusOut };
|
|
3632
4066
|
};
|
|
3633
4067
|
|
|
3634
|
-
const _sfc_main$
|
|
4068
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
3635
4069
|
__name: "KdsColorInput",
|
|
3636
4070
|
props: /* @__PURE__ */ mergeModels({
|
|
3637
4071
|
description: {},
|
|
@@ -3694,7 +4128,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3694
4128
|
}, null, 8, ["color", "style"])
|
|
3695
4129
|
]),
|
|
3696
4130
|
trailing: withCtx(() => [
|
|
3697
|
-
createVNode(unref(_sfc_main$
|
|
4131
|
+
createVNode(unref(_sfc_main$Y), {
|
|
3698
4132
|
modelValue: open.value,
|
|
3699
4133
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
3700
4134
|
size: "xsmall",
|
|
@@ -3734,7 +4168,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3734
4168
|
}
|
|
3735
4169
|
});
|
|
3736
4170
|
|
|
3737
|
-
const _sfc_main$
|
|
4171
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
3738
4172
|
__name: "KdsPasswordInput",
|
|
3739
4173
|
props: /* @__PURE__ */ mergeModels({
|
|
3740
4174
|
description: {},
|
|
@@ -3795,7 +4229,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
3795
4229
|
onBlur: handleBlur
|
|
3796
4230
|
}), {
|
|
3797
4231
|
trailing: withCtx(() => [
|
|
3798
|
-
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$
|
|
4232
|
+
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$Y, {
|
|
3799
4233
|
key: 0,
|
|
3800
4234
|
modelValue: showValue.value,
|
|
3801
4235
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
|
|
@@ -3836,7 +4270,7 @@ const kdsPasswordInputAutocompletes = Object.values(
|
|
|
3836
4270
|
kdsPasswordInputAutocomplete
|
|
3837
4271
|
);
|
|
3838
4272
|
|
|
3839
|
-
const _sfc_main$
|
|
4273
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
3840
4274
|
__name: "KdsUsernameInput",
|
|
3841
4275
|
props: /* @__PURE__ */ mergeModels({
|
|
3842
4276
|
description: {},
|
|
@@ -12547,7 +12981,7 @@ const _hoisted_4$1$1 = {
|
|
|
12547
12981
|
key: 2,
|
|
12548
12982
|
class: "vc-day-layer vc-day-box-center-bottom"
|
|
12549
12983
|
};
|
|
12550
|
-
const _hoisted_5$1 = { class: "vc-bars" };
|
|
12984
|
+
const _hoisted_5$1$1 = { class: "vc-bars" };
|
|
12551
12985
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12552
12986
|
const _component_CalendarSlot = resolveComponent("CalendarSlot");
|
|
12553
12987
|
const _directive_popover = resolveDirective("popover");
|
|
@@ -12597,7 +13031,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12597
13031
|
])
|
|
12598
13032
|
])) : createCommentVNode("", true),
|
|
12599
13033
|
_ctx.hasBars ? (openBlock(), createElementBlock("div", _hoisted_4$1$1, [
|
|
12600
|
-
createElementVNode("div", _hoisted_5$1, [
|
|
13034
|
+
createElementVNode("div", _hoisted_5$1$1, [
|
|
12601
13035
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bars, ({ key, class: bgClass, style }) => {
|
|
12602
13036
|
return openBlock(), createElementBlock("span", {
|
|
12603
13037
|
key,
|
|
@@ -13676,15 +14110,15 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
|
|
|
13676
14110
|
};
|
|
13677
14111
|
}
|
|
13678
14112
|
});
|
|
13679
|
-
const _hoisted_1$
|
|
14113
|
+
const _hoisted_1$l = {
|
|
13680
14114
|
key: 0,
|
|
13681
14115
|
class: "vc-time-header"
|
|
13682
14116
|
};
|
|
13683
|
-
const _hoisted_2$
|
|
13684
|
-
const _hoisted_3$
|
|
13685
|
-
const _hoisted_4$
|
|
13686
|
-
const _hoisted_5 = { class: "vc-time-year" };
|
|
13687
|
-
const _hoisted_6 = { class: "vc-time-select-group" };
|
|
14117
|
+
const _hoisted_2$b = { class: "vc-time-weekday" };
|
|
14118
|
+
const _hoisted_3$8 = { class: "vc-time-month" };
|
|
14119
|
+
const _hoisted_4$6 = { class: "vc-time-day" };
|
|
14120
|
+
const _hoisted_5$3 = { class: "vc-time-year" };
|
|
14121
|
+
const _hoisted_6$1 = { class: "vc-time-select-group" };
|
|
13688
14122
|
const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
|
|
13689
14123
|
__name: "TimePicker",
|
|
13690
14124
|
props: {
|
|
@@ -13717,16 +14151,16 @@ const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
|
|
|
13717
14151
|
}, [
|
|
13718
14152
|
createVNode(_sfc_main$i$1, { name: "time-header" }, {
|
|
13719
14153
|
default: withCtx(() => [
|
|
13720
|
-
unref(showHeader) && unref(date) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
13721
|
-
createElementVNode("span", _hoisted_2$
|
|
13722
|
-
createElementVNode("span", _hoisted_3$
|
|
13723
|
-
createElementVNode("span", _hoisted_4$
|
|
13724
|
-
createElementVNode("span", _hoisted_5, toDisplayString(unref(locale).formatDate(unref(date), "YYYY")), 1)
|
|
14154
|
+
unref(showHeader) && unref(date) ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
14155
|
+
createElementVNode("span", _hoisted_2$b, toDisplayString(unref(locale).formatDate(unref(date), "WWW")), 1),
|
|
14156
|
+
createElementVNode("span", _hoisted_3$8, toDisplayString(unref(locale).formatDate(unref(date), "MMM")), 1),
|
|
14157
|
+
createElementVNode("span", _hoisted_4$6, toDisplayString(unref(locale).formatDate(unref(date), "D")), 1),
|
|
14158
|
+
createElementVNode("span", _hoisted_5$3, toDisplayString(unref(locale).formatDate(unref(date), "YYYY")), 1)
|
|
13725
14159
|
])) : createCommentVNode("", true)
|
|
13726
14160
|
]),
|
|
13727
14161
|
_: 1
|
|
13728
14162
|
}),
|
|
13729
|
-
createElementVNode("div", _hoisted_6, [
|
|
14163
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
13730
14164
|
createVNode(_sfc_main$c$1, {
|
|
13731
14165
|
name: "Clock",
|
|
13732
14166
|
size: "17"
|
|
@@ -13870,7 +14304,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
|
|
|
13870
14304
|
};
|
|
13871
14305
|
}
|
|
13872
14306
|
});
|
|
13873
|
-
const _sfc_main$
|
|
14307
|
+
const _sfc_main$v = defineComponent({
|
|
13874
14308
|
inheritAttrs: false,
|
|
13875
14309
|
emits,
|
|
13876
14310
|
props: propsDef,
|
|
@@ -13889,7 +14323,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13889
14323
|
createVNode(_component_DatePickerPopover, normalizeProps(guardReactiveProps(_ctx.$attrs)), null, 16)
|
|
13890
14324
|
], 64)) : (openBlock(), createBlock(_component_DatePickerBase, normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)), null, 16));
|
|
13891
14325
|
}
|
|
13892
|
-
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14326
|
+
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render]]);
|
|
13893
14327
|
|
|
13894
14328
|
const tryParseAnyDate = (value) => {
|
|
13895
14329
|
if (!value) {
|
|
@@ -13937,7 +14371,7 @@ const formatDateToString = (date) => {
|
|
|
13937
14371
|
|
|
13938
14372
|
const legacyDateFormat = "yyyy-MM-dd";
|
|
13939
14373
|
const invalidDateFormatMessage = "Invalid date format. The expected date format is yyyy-MM-dd (e.g. 2026-03-11).";
|
|
13940
|
-
const _sfc_main$
|
|
14374
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
13941
14375
|
__name: "KdsDateInput",
|
|
13942
14376
|
props: /* @__PURE__ */ mergeModels({
|
|
13943
14377
|
description: {},
|
|
@@ -14018,7 +14452,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
14018
14452
|
onBlur: onTextInputBlur
|
|
14019
14453
|
}), {
|
|
14020
14454
|
trailing: withCtx(() => [
|
|
14021
|
-
createVNode(_sfc_main$
|
|
14455
|
+
createVNode(_sfc_main$Y, {
|
|
14022
14456
|
modelValue: popoverIsVisible.value,
|
|
14023
14457
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
14024
14458
|
type: "button",
|
|
@@ -14073,8 +14507,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
14073
14507
|
}
|
|
14074
14508
|
});
|
|
14075
14509
|
|
|
14076
|
-
const _hoisted_1$
|
|
14077
|
-
const _sfc_main$
|
|
14510
|
+
const _hoisted_1$k = { class: "kds-date-time-format-popover" };
|
|
14511
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
14078
14512
|
__name: "DateTimeFormatPopover",
|
|
14079
14513
|
props: /* @__PURE__ */ mergeModels({
|
|
14080
14514
|
allDefaultFormats: {},
|
|
@@ -14212,7 +14646,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
14212
14646
|
}));
|
|
14213
14647
|
});
|
|
14214
14648
|
return (_ctx, _cache) => {
|
|
14215
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14649
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
14216
14650
|
modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
|
|
14217
14651
|
key: 0,
|
|
14218
14652
|
"model-value": effectiveSelectedMode.value,
|
|
@@ -14244,9 +14678,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
14244
14678
|
}
|
|
14245
14679
|
});
|
|
14246
14680
|
|
|
14247
|
-
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
14681
|
+
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-f75ebe1b"]]);
|
|
14248
14682
|
|
|
14249
|
-
const _sfc_main$
|
|
14683
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
14250
14684
|
__name: "KdsDateTimeFormatInput",
|
|
14251
14685
|
props: /* @__PURE__ */ mergeModels({
|
|
14252
14686
|
description: {},
|
|
@@ -14293,7 +14727,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
14293
14727
|
autocomplete: props.autocomplete
|
|
14294
14728
|
}), {
|
|
14295
14729
|
trailing: withCtx(() => [
|
|
14296
|
-
createVNode(unref(_sfc_main$
|
|
14730
|
+
createVNode(unref(_sfc_main$Y), {
|
|
14297
14731
|
modelValue: open.value,
|
|
14298
14732
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
14299
14733
|
size: "xsmall",
|
|
@@ -14486,7 +14920,7 @@ const createKdsNumberParser = (params) => {
|
|
|
14486
14920
|
|
|
14487
14921
|
const REPEAT_INITIAL_DELAY_MS = 400;
|
|
14488
14922
|
const REPEAT_INTERVAL_MS = 100;
|
|
14489
|
-
const _sfc_main$
|
|
14923
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
14490
14924
|
__name: "KdsNumberInput",
|
|
14491
14925
|
props: /* @__PURE__ */ mergeModels({
|
|
14492
14926
|
description: {},
|
|
@@ -14672,7 +15106,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
14672
15106
|
onBlur: handleBlur
|
|
14673
15107
|
}), {
|
|
14674
15108
|
trailing: withCtx(() => [
|
|
14675
|
-
createVNode(_sfc_main
|
|
15109
|
+
createVNode(_sfc_main$$, {
|
|
14676
15110
|
type: "button",
|
|
14677
15111
|
size: "xsmall",
|
|
14678
15112
|
variant: "outlined",
|
|
@@ -14685,7 +15119,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
14685
15119
|
onPointerleave: stopRepeating,
|
|
14686
15120
|
onPointercancel: stopRepeating
|
|
14687
15121
|
}, null, 8, ["ariaLabel", "disabled"]),
|
|
14688
|
-
createVNode(_sfc_main
|
|
15122
|
+
createVNode(_sfc_main$$, {
|
|
14689
15123
|
type: "button",
|
|
14690
15124
|
size: "xsmall",
|
|
14691
15125
|
variant: "outlined",
|
|
@@ -14724,78 +15158,17 @@ const wildcardToRegexBody = (pattern) => {
|
|
|
14724
15158
|
}
|
|
14725
15159
|
return body;
|
|
14726
15160
|
};
|
|
14727
|
-
const regexBodyToWildcard = (regexBody) => {
|
|
14728
|
-
let wildcard = "";
|
|
14729
|
-
for (let i = 0; i < regexBody.length; i += 1) {
|
|
14730
|
-
const char = regexBody[i];
|
|
14731
|
-
if (char === "\\") {
|
|
14732
|
-
const next = regexBody[i + 1];
|
|
14733
|
-
if (next === void 0) {
|
|
14734
|
-
return void 0;
|
|
14735
|
-
}
|
|
14736
|
-
wildcard += next;
|
|
14737
|
-
i += 1;
|
|
14738
|
-
continue;
|
|
14739
|
-
}
|
|
14740
|
-
if (char === ".") {
|
|
14741
|
-
const next = regexBody[i + 1];
|
|
14742
|
-
if (next === "*") {
|
|
14743
|
-
wildcard += "*";
|
|
14744
|
-
i += 1;
|
|
14745
|
-
continue;
|
|
14746
|
-
}
|
|
14747
|
-
wildcard += "?";
|
|
14748
|
-
continue;
|
|
14749
|
-
}
|
|
14750
|
-
if (/[[\]{}()+^$|]/.test(char)) {
|
|
14751
|
-
return void 0;
|
|
14752
|
-
}
|
|
14753
|
-
wildcard += char;
|
|
14754
|
-
}
|
|
14755
|
-
return wildcard;
|
|
14756
|
-
};
|
|
14757
|
-
const CASE_INSENSITIVE_PREFIX = "(?i:";
|
|
14758
|
-
const stripOuterGroup = (pattern, prefix) => {
|
|
14759
|
-
const trimmed = pattern.trim();
|
|
14760
|
-
if (trimmed.startsWith(prefix) && trimmed.endsWith(")")) {
|
|
14761
|
-
return trimmed.slice(prefix.length, -1);
|
|
14762
|
-
}
|
|
14763
|
-
return trimmed;
|
|
14764
|
-
};
|
|
14765
15161
|
const buildRegexFromPatternInput = (input, options) => {
|
|
14766
15162
|
const body = options.useRegex ? input : wildcardToRegexBody(input);
|
|
14767
15163
|
const grouped = `(?:${body})`;
|
|
14768
|
-
const withCase = options.caseSensitive ? grouped :
|
|
15164
|
+
const withCase = options.caseSensitive ? grouped : `(?i:${grouped})`;
|
|
14769
15165
|
if (!options.excludeMatches) {
|
|
14770
15166
|
return withCase;
|
|
14771
15167
|
}
|
|
14772
15168
|
return `^(?!.*${withCase}).*$`;
|
|
14773
15169
|
};
|
|
14774
|
-
const stripOuterNonCapturingGroup = (pattern) => stripOuterGroup(pattern, "(?:");
|
|
14775
|
-
const stripCaseInsensitiveWrapper = (pattern) => stripOuterGroup(pattern, CASE_INSENSITIVE_PREFIX);
|
|
14776
|
-
const tryParseExcluded = (regex) => {
|
|
14777
|
-
const match = /^\^\(\?!\.\*([\s\S]*)\)\.\*\$$/.exec(regex.trim());
|
|
14778
|
-
if (!match) {
|
|
14779
|
-
return {};
|
|
14780
|
-
}
|
|
14781
|
-
return { excludedInner: match[1] };
|
|
14782
|
-
};
|
|
14783
|
-
const parseRegexToPatternInputValue = (regex, options) => {
|
|
14784
|
-
if (regex === "") {
|
|
14785
|
-
return "";
|
|
14786
|
-
}
|
|
14787
|
-
const { excludedInner } = tryParseExcluded(regex);
|
|
14788
|
-
const inner = excludedInner ?? regex;
|
|
14789
|
-
const withoutCase = options.caseSensitive ? inner : stripCaseInsensitiveWrapper(inner);
|
|
14790
|
-
const body = stripOuterNonCapturingGroup(withoutCase);
|
|
14791
|
-
if (options.useRegex) {
|
|
14792
|
-
return body;
|
|
14793
|
-
}
|
|
14794
|
-
const wildcard = regexBodyToWildcard(body);
|
|
14795
|
-
return wildcard ?? body;
|
|
14796
|
-
};
|
|
14797
15170
|
|
|
14798
|
-
const _sfc_main$
|
|
15171
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
14799
15172
|
__name: "KdsPatternInput",
|
|
14800
15173
|
props: /* @__PURE__ */ mergeModels({
|
|
14801
15174
|
description: {},
|
|
@@ -14811,42 +15184,46 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
14811
15184
|
autocomplete: {}
|
|
14812
15185
|
}, {
|
|
14813
15186
|
"modelValue": { default: "" },
|
|
14814
|
-
"modelModifiers": {}
|
|
15187
|
+
"modelModifiers": {},
|
|
15188
|
+
"caseSensitive": { type: Boolean, ...{ default: false } },
|
|
15189
|
+
"caseSensitiveModifiers": {},
|
|
15190
|
+
"excludeMatches": { type: Boolean, ...{
|
|
15191
|
+
default: false
|
|
15192
|
+
} },
|
|
15193
|
+
"excludeMatchesModifiers": {},
|
|
15194
|
+
"useRegex": { type: Boolean, ...{ default: false } },
|
|
15195
|
+
"useRegexModifiers": {}
|
|
14815
15196
|
}),
|
|
14816
|
-
emits: ["update:modelValue"],
|
|
14817
|
-
setup(__props, { expose: __expose }) {
|
|
15197
|
+
emits: /* @__PURE__ */ mergeModels(["update:regex"], ["update:modelValue", "update:caseSensitive", "update:excludeMatches", "update:useRegex"]),
|
|
15198
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14818
15199
|
const props = createPropsRestProxy(__props, ["disabled", "error", "validating", "preserveSubTextSpace"]);
|
|
14819
|
-
const
|
|
14820
|
-
const
|
|
14821
|
-
const caseSensitive =
|
|
14822
|
-
const excludeMatches =
|
|
14823
|
-
const useRegex =
|
|
14824
|
-
const rebuildRegexFromUi = () => {
|
|
14825
|
-
regex.value = buildRegexFromPatternInput(uiValue.value, {
|
|
14826
|
-
caseSensitive: caseSensitive.value,
|
|
14827
|
-
excludeMatches: excludeMatches.value,
|
|
14828
|
-
useRegex: useRegex.value
|
|
14829
|
-
});
|
|
14830
|
-
};
|
|
15200
|
+
const emit = __emit;
|
|
15201
|
+
const modelValue = useModel(__props, "modelValue");
|
|
15202
|
+
const caseSensitive = useModel(__props, "caseSensitive");
|
|
15203
|
+
const excludeMatches = useModel(__props, "excludeMatches");
|
|
15204
|
+
const useRegex = useModel(__props, "useRegex");
|
|
14831
15205
|
watch(
|
|
14832
|
-
|
|
14833
|
-
(
|
|
14834
|
-
|
|
14835
|
-
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
|
|
15206
|
+
[modelValue, caseSensitive, excludeMatches, useRegex],
|
|
15207
|
+
([value, cs, em, ur]) => {
|
|
15208
|
+
emit(
|
|
15209
|
+
"update:regex",
|
|
15210
|
+
buildRegexFromPatternInput(value, {
|
|
15211
|
+
caseSensitive: cs,
|
|
15212
|
+
excludeMatches: em,
|
|
15213
|
+
useRegex: ur
|
|
15214
|
+
})
|
|
15215
|
+
);
|
|
14839
15216
|
},
|
|
14840
15217
|
{ immediate: true }
|
|
14841
15218
|
);
|
|
14842
|
-
const
|
|
14843
|
-
() => caseSensitive.value ? "Match case-
|
|
15219
|
+
const caseSensitiveTitle = computed(
|
|
15220
|
+
() => caseSensitive.value ? "Match case-insensitive" : "Match case-sensitive"
|
|
14844
15221
|
);
|
|
14845
|
-
const
|
|
14846
|
-
() => excludeMatches.value ? "
|
|
15222
|
+
const excludeMatchesTitle = computed(
|
|
15223
|
+
() => excludeMatches.value ? "Include matches" : "Exclude matches"
|
|
14847
15224
|
);
|
|
14848
|
-
const
|
|
14849
|
-
() => useRegex.value ? "Use
|
|
15225
|
+
const patternModeTitle = computed(
|
|
15226
|
+
() => useRegex.value ? "Use wildcard pattern" : "Use regex pattern"
|
|
14850
15227
|
);
|
|
14851
15228
|
const baseInput = useTemplateRef("baseInput");
|
|
14852
15229
|
__expose({
|
|
@@ -14863,11 +15240,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
14863
15240
|
ref_key: "baseInput",
|
|
14864
15241
|
ref: baseInput
|
|
14865
15242
|
}, slotProps, {
|
|
14866
|
-
modelValue:
|
|
14867
|
-
"onUpdate:modelValue": [
|
|
14868
|
-
_cache[3] || (_cache[3] = ($event) => uiValue.value = $event),
|
|
14869
|
-
rebuildRegexFromUi
|
|
14870
|
-
],
|
|
15243
|
+
modelValue: modelValue.value,
|
|
15244
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => modelValue.value = $event),
|
|
14871
15245
|
type: "text",
|
|
14872
15246
|
placeholder: props.placeholder,
|
|
14873
15247
|
disabled: __props.disabled,
|
|
@@ -14877,45 +15251,36 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
14877
15251
|
clearable: ""
|
|
14878
15252
|
}), {
|
|
14879
15253
|
trailing: withCtx(() => [
|
|
14880
|
-
createVNode(_sfc_main$
|
|
15254
|
+
createVNode(_sfc_main$Y, {
|
|
14881
15255
|
modelValue: caseSensitive.value,
|
|
14882
|
-
"onUpdate:modelValue": [
|
|
14883
|
-
_cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
|
|
14884
|
-
rebuildRegexFromUi
|
|
14885
|
-
],
|
|
15256
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
|
|
14886
15257
|
size: "xsmall",
|
|
14887
15258
|
variant: "outlined",
|
|
14888
15259
|
"leading-icon": "case-sensitive",
|
|
14889
|
-
title:
|
|
14890
|
-
ariaLabel:
|
|
15260
|
+
title: caseSensitiveTitle.value,
|
|
15261
|
+
ariaLabel: "Case sensitivity",
|
|
14891
15262
|
disabled: __props.disabled
|
|
14892
|
-
}, null, 8, ["modelValue", "title", "
|
|
14893
|
-
createVNode(_sfc_main$
|
|
15263
|
+
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
15264
|
+
createVNode(_sfc_main$Y, {
|
|
14894
15265
|
modelValue: excludeMatches.value,
|
|
14895
|
-
"onUpdate:modelValue": [
|
|
14896
|
-
_cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
|
|
14897
|
-
rebuildRegexFromUi
|
|
14898
|
-
],
|
|
15266
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
|
|
14899
15267
|
size: "xsmall",
|
|
14900
15268
|
variant: "outlined",
|
|
14901
15269
|
"leading-icon": "arrows-order",
|
|
14902
|
-
title:
|
|
14903
|
-
ariaLabel:
|
|
15270
|
+
title: excludeMatchesTitle.value,
|
|
15271
|
+
ariaLabel: "Exclude matches",
|
|
14904
15272
|
disabled: __props.disabled
|
|
14905
|
-
}, null, 8, ["modelValue", "title", "
|
|
14906
|
-
createVNode(_sfc_main$
|
|
15273
|
+
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
15274
|
+
createVNode(_sfc_main$Y, {
|
|
14907
15275
|
modelValue: useRegex.value,
|
|
14908
|
-
"onUpdate:modelValue": [
|
|
14909
|
-
_cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
|
|
14910
|
-
rebuildRegexFromUi
|
|
14911
|
-
],
|
|
15276
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
|
|
14912
15277
|
size: "xsmall",
|
|
14913
15278
|
variant: "outlined",
|
|
14914
15279
|
"leading-icon": "regex",
|
|
14915
|
-
title:
|
|
14916
|
-
ariaLabel:
|
|
15280
|
+
title: patternModeTitle.value,
|
|
15281
|
+
ariaLabel: "Regex mode",
|
|
14917
15282
|
disabled: __props.disabled
|
|
14918
|
-
}, null, 8, ["modelValue", "title", "
|
|
15283
|
+
}, null, 8, ["modelValue", "title", "disabled"])
|
|
14919
15284
|
]),
|
|
14920
15285
|
_: 1
|
|
14921
15286
|
}, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"])
|
|
@@ -14926,7 +15291,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
14926
15291
|
}
|
|
14927
15292
|
});
|
|
14928
15293
|
|
|
14929
|
-
const _sfc_main$
|
|
15294
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
14930
15295
|
__name: "KdsSearchInput",
|
|
14931
15296
|
props: /* @__PURE__ */ mergeModels({
|
|
14932
15297
|
description: {},
|
|
@@ -15047,6 +15412,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
15047
15412
|
modelValue: resultsOpen.value,
|
|
15048
15413
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => resultsOpen.value = $event),
|
|
15049
15414
|
"full-width": "",
|
|
15415
|
+
"max-inline-size": "anchor-size(width)",
|
|
15050
15416
|
"popover-type": "manual",
|
|
15051
15417
|
"aria-label": "Search results container"
|
|
15052
15418
|
}, {
|
|
@@ -15077,11 +15443,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
15077
15443
|
}
|
|
15078
15444
|
});
|
|
15079
15445
|
|
|
15080
|
-
const KdsSearchInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
15446
|
+
const KdsSearchInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-b1809b6d"]]);
|
|
15081
15447
|
|
|
15082
|
-
const _hoisted_1$
|
|
15448
|
+
const _hoisted_1$j = ["rows", "placeholder", "disabled", "autocomplete"];
|
|
15083
15449
|
const DEFAULT_ROWS = 3;
|
|
15084
|
-
const _sfc_main$
|
|
15450
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
15085
15451
|
__name: "KdsTextarea",
|
|
15086
15452
|
props: /* @__PURE__ */ mergeModels({
|
|
15087
15453
|
description: {},
|
|
@@ -15142,7 +15508,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15142
15508
|
placeholder: __props.placeholder,
|
|
15143
15509
|
disabled: __props.disabled,
|
|
15144
15510
|
autocomplete: props.autocomplete
|
|
15145
|
-
}), null, 16, _hoisted_1$
|
|
15511
|
+
}), null, 16, _hoisted_1$j), [
|
|
15146
15512
|
[vModelText, modelValue.value]
|
|
15147
15513
|
])
|
|
15148
15514
|
]),
|
|
@@ -15152,20 +15518,20 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15152
15518
|
}
|
|
15153
15519
|
});
|
|
15154
15520
|
|
|
15155
|
-
const KdsTextarea = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
15521
|
+
const KdsTextarea = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-bdf12ef9"]]);
|
|
15156
15522
|
|
|
15157
|
-
const _hoisted_1$
|
|
15158
|
-
const _hoisted_2$
|
|
15523
|
+
const _hoisted_1$i = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
|
|
15524
|
+
const _hoisted_2$a = {
|
|
15159
15525
|
key: 0,
|
|
15160
15526
|
class: "leading",
|
|
15161
15527
|
"aria-hidden": "true"
|
|
15162
15528
|
};
|
|
15163
|
-
const _hoisted_3$
|
|
15164
|
-
const _hoisted_4$
|
|
15529
|
+
const _hoisted_3$7 = ["id"];
|
|
15530
|
+
const _hoisted_4$5 = {
|
|
15165
15531
|
class: "trailing",
|
|
15166
15532
|
"aria-hidden": "true"
|
|
15167
15533
|
};
|
|
15168
|
-
const _sfc_main$
|
|
15534
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
15169
15535
|
__name: "BaseDropdown",
|
|
15170
15536
|
props: /* @__PURE__ */ mergeModels({
|
|
15171
15537
|
text: {},
|
|
@@ -15237,8 +15603,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15237
15603
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
|
|
15238
15604
|
onKeydown
|
|
15239
15605
|
}, [
|
|
15240
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
15241
|
-
createVNode(_sfc_main$
|
|
15606
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$a, [
|
|
15607
|
+
createVNode(_sfc_main$V, {
|
|
15242
15608
|
accessory: props.accessory,
|
|
15243
15609
|
size: "medium"
|
|
15244
15610
|
}, null, 8, ["accessory"])
|
|
@@ -15249,23 +15615,23 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15249
15615
|
placeholder: !props.text && !__props.disabled,
|
|
15250
15616
|
missing: __props.missing
|
|
15251
15617
|
}])
|
|
15252
|
-
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$
|
|
15253
|
-
createElementVNode("span", _hoisted_4$
|
|
15618
|
+
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$7),
|
|
15619
|
+
createElementVNode("span", _hoisted_4$5, [
|
|
15254
15620
|
createVNode(KdsIcon, {
|
|
15255
15621
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
15256
15622
|
size: "small"
|
|
15257
15623
|
}, null, 8, ["name"])
|
|
15258
15624
|
])
|
|
15259
|
-
], 42, _hoisted_1$
|
|
15625
|
+
], 42, _hoisted_1$i);
|
|
15260
15626
|
};
|
|
15261
15627
|
}
|
|
15262
15628
|
});
|
|
15263
15629
|
|
|
15264
|
-
const BaseDropdown = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
15630
|
+
const BaseDropdown = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-cf3becf9"]]);
|
|
15265
15631
|
|
|
15266
|
-
const _hoisted_1$
|
|
15267
|
-
const _hoisted_2$
|
|
15268
|
-
const _sfc_main$
|
|
15632
|
+
const _hoisted_1$h = { class: "kds-dropdown-container" };
|
|
15633
|
+
const _hoisted_2$9 = { class: "kds-dropdown-container-sticky-top" };
|
|
15634
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
15269
15635
|
__name: "DropdownContainer",
|
|
15270
15636
|
props: /* @__PURE__ */ mergeModels({
|
|
15271
15637
|
emptyText: {},
|
|
@@ -15332,8 +15698,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15332
15698
|
focus: () => searchEl.value?.focus()
|
|
15333
15699
|
});
|
|
15334
15700
|
return (_ctx, _cache) => {
|
|
15335
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15336
|
-
createElementVNode("div", _hoisted_2$
|
|
15701
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
15702
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
15337
15703
|
createVNode(BaseInput, {
|
|
15338
15704
|
ref_key: "searchEl",
|
|
15339
15705
|
ref: searchEl,
|
|
@@ -15365,9 +15731,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15365
15731
|
}
|
|
15366
15732
|
});
|
|
15367
15733
|
|
|
15368
|
-
const DropdownContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
15734
|
+
const DropdownContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-9f49ff8b"]]);
|
|
15369
15735
|
|
|
15370
|
-
const _sfc_main$
|
|
15736
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
15371
15737
|
__name: "KdsDropdown",
|
|
15372
15738
|
props: /* @__PURE__ */ mergeModels({
|
|
15373
15739
|
placeholder: { default: "Select" },
|
|
@@ -15461,9 +15827,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
15461
15827
|
}
|
|
15462
15828
|
});
|
|
15463
15829
|
|
|
15464
|
-
const _hoisted_1$
|
|
15465
|
-
const _hoisted_2$
|
|
15466
|
-
const _sfc_main$
|
|
15830
|
+
const _hoisted_1$g = ["disabled"];
|
|
15831
|
+
const _hoisted_2$8 = ["title"];
|
|
15832
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
15467
15833
|
__name: "KdsListItemButton",
|
|
15468
15834
|
props: {
|
|
15469
15835
|
label: {},
|
|
@@ -15493,21 +15859,21 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15493
15859
|
ref: labelEl,
|
|
15494
15860
|
class: "label",
|
|
15495
15861
|
title: unref(isLabelTruncated) ? props.label : void 0
|
|
15496
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
15497
|
-
], 8, _hoisted_1$
|
|
15862
|
+
}, toDisplayString(props.label), 9, _hoisted_2$8)
|
|
15863
|
+
], 8, _hoisted_1$g);
|
|
15498
15864
|
};
|
|
15499
15865
|
}
|
|
15500
15866
|
});
|
|
15501
15867
|
|
|
15502
|
-
const KdsListItemButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
15868
|
+
const KdsListItemButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-13945d12"]]);
|
|
15503
15869
|
|
|
15504
|
-
const _hoisted_1$
|
|
15505
|
-
const _hoisted_2$
|
|
15506
|
-
const _hoisted_3$
|
|
15870
|
+
const _hoisted_1$f = { class: "kds-multi-select-dropdown-options" };
|
|
15871
|
+
const _hoisted_2$7 = { class: "kds-multi-select-dropdown-search" };
|
|
15872
|
+
const _hoisted_3$6 = {
|
|
15507
15873
|
key: 0,
|
|
15508
15874
|
class: "kds-multi-select-dropdown-footer"
|
|
15509
15875
|
};
|
|
15510
|
-
const _sfc_main$
|
|
15876
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
15511
15877
|
__name: "MultiSelectDropdownContainer",
|
|
15512
15878
|
props: /* @__PURE__ */ mergeModels({
|
|
15513
15879
|
emptyText: {},
|
|
@@ -15623,8 +15989,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15623
15989
|
}
|
|
15624
15990
|
});
|
|
15625
15991
|
return (_ctx, _cache) => {
|
|
15626
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15627
|
-
createElementVNode("div", _hoisted_2$
|
|
15992
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
15993
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
15628
15994
|
createVNode(BaseInput, {
|
|
15629
15995
|
ref_key: "searchEl",
|
|
15630
15996
|
ref: searchEl,
|
|
@@ -15653,7 +16019,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15653
16019
|
"aria-label": "Dropdown options",
|
|
15654
16020
|
onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
|
|
15655
16021
|
}, null, 8, ["class", "possible-values", "loading", "empty-text"]),
|
|
15656
|
-
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16022
|
+
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
15657
16023
|
createVNode(unref(KdsListItemButton), {
|
|
15658
16024
|
label: anyVisibleSelected.value ? "Clear all" : "Select all",
|
|
15659
16025
|
"leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
|
|
@@ -15666,9 +16032,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15666
16032
|
}
|
|
15667
16033
|
});
|
|
15668
16034
|
|
|
15669
|
-
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
16035
|
+
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-9b631765"]]);
|
|
15670
16036
|
|
|
15671
|
-
const _sfc_main$
|
|
16037
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
15672
16038
|
__name: "KdsMultiSelectDropdown",
|
|
15673
16039
|
props: /* @__PURE__ */ mergeModels({
|
|
15674
16040
|
placeholder: { default: "Select" },
|
|
@@ -15793,10 +16159,11 @@ const kdsDimensionComponentHeight12p5x = 200;
|
|
|
15793
16159
|
const kdsDimensionComponentHeight1p5x = 24;
|
|
15794
16160
|
const kdsDimensionComponentHeight20x = 320;
|
|
15795
16161
|
const kdsSpacingContainer0p10x = 1;
|
|
16162
|
+
const kdsSpacingContainer0p25x = 4;
|
|
15796
16163
|
|
|
15797
|
-
const _hoisted_1$
|
|
15798
|
-
const _hoisted_2$
|
|
15799
|
-
const _sfc_main$
|
|
16164
|
+
const _hoisted_1$e = { class: "kds-resize-handle-area" };
|
|
16165
|
+
const _hoisted_2$6 = ["aria-label"];
|
|
16166
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
15800
16167
|
__name: "ResizeHandle",
|
|
15801
16168
|
props: {
|
|
15802
16169
|
numberOfHandles: { default: 1 },
|
|
@@ -15818,7 +16185,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15818
16185
|
return `calc((100% - ${n - 1} * ${gap}) / ${2 * n})`;
|
|
15819
16186
|
});
|
|
15820
16187
|
return (_ctx, _cache) => {
|
|
15821
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16188
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
15822
16189
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedNumberOfHandles.value, (i) => {
|
|
15823
16190
|
return openBlock(), createElementBlock("button", {
|
|
15824
16191
|
key: i,
|
|
@@ -15827,22 +16194,22 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15827
16194
|
type: "button"
|
|
15828
16195
|
}, [..._cache[0] || (_cache[0] = [
|
|
15829
16196
|
createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
|
|
15830
|
-
])], 8, _hoisted_2$
|
|
16197
|
+
])], 8, _hoisted_2$6);
|
|
15831
16198
|
}), 128))
|
|
15832
16199
|
]);
|
|
15833
16200
|
};
|
|
15834
16201
|
}
|
|
15835
16202
|
});
|
|
15836
16203
|
|
|
15837
|
-
const ResizeHandle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
16204
|
+
const ResizeHandle = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-df3803d4"]]);
|
|
15838
16205
|
|
|
15839
|
-
const _hoisted_1$
|
|
16206
|
+
const _hoisted_1$d = {
|
|
15840
16207
|
ref: "content",
|
|
15841
16208
|
class: "kds-resize-container-content"
|
|
15842
16209
|
};
|
|
15843
16210
|
const DEFAULT_INITIAL_HEIGHT = 200;
|
|
15844
16211
|
const KEYBOARD_RESIZE_STEP = 10;
|
|
15845
|
-
const _sfc_main$
|
|
16212
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
15846
16213
|
__name: "KdsResizeContainer",
|
|
15847
16214
|
props: {
|
|
15848
16215
|
height: { default: () => DEFAULT_INITIAL_HEIGHT },
|
|
@@ -15905,7 +16272,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
15905
16272
|
return openBlock(), createElementBlock("div", {
|
|
15906
16273
|
class: normalizeClass(["kds-resize-container", { dragging: unref(activePointerId) !== null }])
|
|
15907
16274
|
}, [
|
|
15908
|
-
createElementVNode("div", _hoisted_1$
|
|
16275
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
15909
16276
|
renderSlot(_ctx.$slots, "default", { contentStyle: contentStyle.value }, void 0, true)
|
|
15910
16277
|
], 512),
|
|
15911
16278
|
createVNode(ResizeHandle, {
|
|
@@ -15922,7 +16289,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
15922
16289
|
}
|
|
15923
16290
|
});
|
|
15924
16291
|
|
|
15925
|
-
const KdsResizeContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
16292
|
+
const KdsResizeContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__scopeId", "data-v-403e065b"]]);
|
|
15926
16293
|
|
|
15927
16294
|
const CLICK_META_KEY_TIMEOUT = 250;
|
|
15928
16295
|
const useMultiSelectListBoxSelection = ({
|
|
@@ -15936,6 +16303,7 @@ const useMultiSelectListBoxSelection = ({
|
|
|
15936
16303
|
const isKeyboardNavigating = ref(false);
|
|
15937
16304
|
const shiftStartIndex = ref(-1);
|
|
15938
16305
|
const draggingStartIndex = ref(-1);
|
|
16306
|
+
const draggingLastIndex = ref(-1);
|
|
15939
16307
|
const draggingInverseMode = ref(false);
|
|
15940
16308
|
const mouseTriggeredFocus = ref(false);
|
|
15941
16309
|
const selectedSet = computed(() => new Set(modelValue.value));
|
|
@@ -16047,6 +16415,7 @@ const useMultiSelectListBoxSelection = ({
|
|
|
16047
16415
|
const index = getDataOptionIndex(e.target);
|
|
16048
16416
|
if (index !== void 0) {
|
|
16049
16417
|
draggingStartIndex.value = Number(index);
|
|
16418
|
+
draggingLastIndex.value = Number(index);
|
|
16050
16419
|
}
|
|
16051
16420
|
};
|
|
16052
16421
|
const onDrag = (e) => {
|
|
@@ -16057,9 +16426,14 @@ const useMultiSelectListBoxSelection = ({
|
|
|
16057
16426
|
if (dataIndex === void 0) {
|
|
16058
16427
|
return;
|
|
16059
16428
|
}
|
|
16429
|
+
const numericIndex = Number(dataIndex);
|
|
16430
|
+
if (numericIndex === draggingLastIndex.value) {
|
|
16431
|
+
return;
|
|
16432
|
+
}
|
|
16433
|
+
draggingLastIndex.value = numericIndex;
|
|
16060
16434
|
let sectionValues = getPossibleValuesInSection(
|
|
16061
16435
|
draggingStartIndex.value,
|
|
16062
|
-
|
|
16436
|
+
numericIndex
|
|
16063
16437
|
);
|
|
16064
16438
|
if (draggingInverseMode.value) {
|
|
16065
16439
|
sectionValues = modelValue.value.filter(
|
|
@@ -16070,6 +16444,7 @@ const useMultiSelectListBoxSelection = ({
|
|
|
16070
16444
|
};
|
|
16071
16445
|
const onStopDrag = () => {
|
|
16072
16446
|
draggingStartIndex.value = -1;
|
|
16447
|
+
draggingLastIndex.value = -1;
|
|
16073
16448
|
draggingInverseMode.value = false;
|
|
16074
16449
|
};
|
|
16075
16450
|
useMousePressed({
|
|
@@ -16204,23 +16579,19 @@ const useMultiSelectListBoxSelection = ({
|
|
|
16204
16579
|
};
|
|
16205
16580
|
};
|
|
16206
16581
|
|
|
16207
|
-
const _hoisted_1$
|
|
16208
|
-
const _hoisted_2$
|
|
16209
|
-
const _hoisted_3$
|
|
16582
|
+
const _hoisted_1$c = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
|
|
16583
|
+
const _hoisted_2$5 = { class: "kds-multiselect-list-box-content-grid" };
|
|
16584
|
+
const _hoisted_3$5 = {
|
|
16210
16585
|
key: 0,
|
|
16211
16586
|
class: "kds-multiselect-sticky-bottom"
|
|
16212
16587
|
};
|
|
16213
|
-
const _hoisted_4$
|
|
16588
|
+
const _hoisted_4$4 = {
|
|
16214
16589
|
key: 0,
|
|
16215
16590
|
class: "kds-multiselect-empty"
|
|
16216
16591
|
};
|
|
16217
|
-
const _sfc_main$
|
|
16592
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
16218
16593
|
__name: "KdsMultiSelectListBox",
|
|
16219
16594
|
props: /* @__PURE__ */ mergeModels({
|
|
16220
|
-
possibleValues: {},
|
|
16221
|
-
disabled: { type: Boolean, default: false },
|
|
16222
|
-
useResizeHandle: { type: Boolean, default: false },
|
|
16223
|
-
bottomValue: {},
|
|
16224
16595
|
description: {},
|
|
16225
16596
|
label: {},
|
|
16226
16597
|
ariaLabel: {},
|
|
@@ -16228,7 +16599,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16228
16599
|
subText: {},
|
|
16229
16600
|
error: { type: Boolean, default: false },
|
|
16230
16601
|
validating: { type: Boolean, default: false },
|
|
16231
|
-
preserveSubTextSpace: { type: Boolean, default: false }
|
|
16602
|
+
preserveSubTextSpace: { type: Boolean, default: false },
|
|
16603
|
+
possibleValues: {},
|
|
16604
|
+
disabled: { type: Boolean, default: false },
|
|
16605
|
+
useResizeHandle: { type: Boolean, default: false },
|
|
16606
|
+
bottomValue: {},
|
|
16607
|
+
emptyStateLabel: { default: "No entries in this list" },
|
|
16608
|
+
loading: { type: Boolean, default: false }
|
|
16232
16609
|
}, {
|
|
16233
16610
|
"modelValue": { default: () => [] },
|
|
16234
16611
|
"modelModifiers": {}
|
|
@@ -16242,44 +16619,45 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16242
16619
|
return () => slots.default?.({ contentStyle: void 0 });
|
|
16243
16620
|
}
|
|
16244
16621
|
});
|
|
16245
|
-
const props = createPropsRestProxy(__props, ["disabled", "error", "validating", "preserveSubTextSpace", "useResizeHandle"]);
|
|
16622
|
+
const props = createPropsRestProxy(__props, ["disabled", "error", "validating", "preserveSubTextSpace", "useResizeHandle", "emptyStateLabel", "loading"]);
|
|
16246
16623
|
const modelValue = useModel(__props, "modelValue");
|
|
16624
|
+
const effectiveDisabled = computed(() => __props.disabled || __props.loading);
|
|
16625
|
+
const visiblePossibleValues = computed(
|
|
16626
|
+
() => __props.loading ? [] : props.possibleValues
|
|
16627
|
+
);
|
|
16628
|
+
const visibleBottomValue = computed(
|
|
16629
|
+
() => __props.loading ? void 0 : props.bottomValue
|
|
16630
|
+
);
|
|
16247
16631
|
const emit = __emit;
|
|
16248
16632
|
const idPrefix = useId();
|
|
16249
16633
|
const generateOptionId = (itemId) => `${idPrefix}-option-${encodeURIComponent(itemId)}`;
|
|
16250
16634
|
const allValues = computed(
|
|
16251
|
-
() =>
|
|
16635
|
+
() => visibleBottomValue.value ? [...visiblePossibleValues.value, visibleBottomValue.value] : visiblePossibleValues.value
|
|
16252
16636
|
);
|
|
16253
|
-
const bottomIndex = computed(() =>
|
|
16637
|
+
const bottomIndex = computed(() => visiblePossibleValues.value.length);
|
|
16254
16638
|
const {
|
|
16255
16639
|
containerProps,
|
|
16256
16640
|
wrapperProps,
|
|
16257
16641
|
list: virtualList,
|
|
16258
16642
|
scrollTo
|
|
16259
|
-
} = useVirtualList(
|
|
16260
|
-
|
|
16261
|
-
|
|
16262
|
-
|
|
16263
|
-
|
|
16264
|
-
() => props.possibleValues,
|
|
16265
|
-
() => {
|
|
16266
|
-
const el = containerProps.ref.value;
|
|
16267
|
-
if (!el) {
|
|
16268
|
-
return;
|
|
16269
|
-
}
|
|
16270
|
-
scrollTo(
|
|
16271
|
-
Math.max(
|
|
16272
|
-
Math.min(
|
|
16273
|
-
Math.floor(el.scrollTop / OPTION_LINE_HEIGHT),
|
|
16274
|
-
props.possibleValues.length - 1
|
|
16275
|
-
),
|
|
16276
|
-
0
|
|
16277
|
-
)
|
|
16278
|
-
);
|
|
16643
|
+
} = useVirtualList(visiblePossibleValues, { itemHeight: OPTION_LINE_HEIGHT });
|
|
16644
|
+
watch(visiblePossibleValues, () => {
|
|
16645
|
+
const el = containerProps.ref.value;
|
|
16646
|
+
if (!el) {
|
|
16647
|
+
return;
|
|
16279
16648
|
}
|
|
16280
|
-
|
|
16649
|
+
scrollTo(
|
|
16650
|
+
Math.max(
|
|
16651
|
+
Math.min(
|
|
16652
|
+
Math.floor(el.scrollTop / OPTION_LINE_HEIGHT),
|
|
16653
|
+
visiblePossibleValues.value.length - 1
|
|
16654
|
+
),
|
|
16655
|
+
0
|
|
16656
|
+
)
|
|
16657
|
+
);
|
|
16658
|
+
});
|
|
16281
16659
|
const scrollToIndex = (index) => {
|
|
16282
|
-
if (index === bottomIndex.value &&
|
|
16660
|
+
if (index === bottomIndex.value && visibleBottomValue.value) {
|
|
16283
16661
|
return;
|
|
16284
16662
|
}
|
|
16285
16663
|
const item = allValues.value[index];
|
|
@@ -16293,7 +16671,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16293
16671
|
const itemEl = globalThis.document.getElementById(generateOptionId(item.id));
|
|
16294
16672
|
if (itemEl) {
|
|
16295
16673
|
itemEl.scrollIntoView({ block: "nearest" });
|
|
16296
|
-
if (
|
|
16674
|
+
if (visibleBottomValue.value) {
|
|
16297
16675
|
const stickyEl = el.querySelector(".kds-multiselect-sticky-bottom");
|
|
16298
16676
|
if (stickyEl) {
|
|
16299
16677
|
const itemRect = itemEl.getBoundingClientRect();
|
|
@@ -16329,37 +16707,37 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16329
16707
|
} = useMultiSelectListBoxSelection({
|
|
16330
16708
|
modelValue,
|
|
16331
16709
|
allValues,
|
|
16332
|
-
disabled: toRef(() =>
|
|
16710
|
+
disabled: toRef(() => effectiveDisabled.value),
|
|
16333
16711
|
generateOptionId,
|
|
16334
16712
|
scrollToIndex
|
|
16335
16713
|
});
|
|
16336
16714
|
const handleDblClick = (id, index) => {
|
|
16337
|
-
if (!
|
|
16715
|
+
if (!effectiveDisabled.value) {
|
|
16338
16716
|
emit("doubleClickOnItem", id, index);
|
|
16339
16717
|
}
|
|
16340
16718
|
};
|
|
16341
16719
|
const handleShiftDblClick = () => {
|
|
16342
|
-
if (!
|
|
16720
|
+
if (!effectiveDisabled.value) {
|
|
16343
16721
|
emit("doubleClickShift", modelValue.value);
|
|
16344
16722
|
}
|
|
16345
16723
|
};
|
|
16346
16724
|
const onArrowLeft = () => {
|
|
16347
|
-
if (!
|
|
16725
|
+
if (!effectiveDisabled.value) {
|
|
16348
16726
|
emit("keyArrowLeft", modelValue.value);
|
|
16349
16727
|
}
|
|
16350
16728
|
};
|
|
16351
16729
|
const onArrowRight = () => {
|
|
16352
|
-
if (!
|
|
16730
|
+
if (!effectiveDisabled.value) {
|
|
16353
16731
|
emit("keyArrowRight", modelValue.value);
|
|
16354
16732
|
}
|
|
16355
16733
|
};
|
|
16356
16734
|
const onEnter = () => {
|
|
16357
|
-
if (!
|
|
16735
|
+
if (!effectiveDisabled.value) {
|
|
16358
16736
|
emit("keyEnter", modelValue.value);
|
|
16359
16737
|
}
|
|
16360
16738
|
};
|
|
16361
16739
|
const focus = () => {
|
|
16362
|
-
if (!
|
|
16740
|
+
if (!effectiveDisabled.value) {
|
|
16363
16741
|
containerProps.ref.value?.focus();
|
|
16364
16742
|
}
|
|
16365
16743
|
};
|
|
@@ -16388,14 +16766,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16388
16766
|
createElementVNode("div", mergeProps(unref(containerProps), {
|
|
16389
16767
|
id: slotProps.id,
|
|
16390
16768
|
role: "listbox",
|
|
16391
|
-
tabindex:
|
|
16769
|
+
tabindex: effectiveDisabled.value ? -1 : 0,
|
|
16392
16770
|
"aria-multiselectable": "true",
|
|
16393
16771
|
"aria-labelledby": slotProps.ariaLabelledby,
|
|
16394
16772
|
"aria-describedby": slotProps.ariaDescribedby,
|
|
16395
16773
|
"aria-label": slotProps.ariaLabel,
|
|
16396
16774
|
"aria-invalid": slotProps.ariaInvalid,
|
|
16397
16775
|
"aria-activedescendant": unref(activeDescendantId),
|
|
16398
|
-
"aria-disabled":
|
|
16776
|
+
"aria-disabled": effectiveDisabled.value,
|
|
16399
16777
|
class: "kds-multiselect-list-box-list",
|
|
16400
16778
|
onKeydown: [
|
|
16401
16779
|
_cache[4] || (_cache[4] = withKeys(withModifiers(
|
|
@@ -16461,7 +16839,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16461
16839
|
onBlur: _cache[17] || (_cache[17] = //@ts-ignore
|
|
16462
16840
|
(...args) => unref(onBlur) && unref(onBlur)(...args))
|
|
16463
16841
|
}), [
|
|
16464
|
-
createElementVNode("div", _hoisted_2$
|
|
16842
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
16465
16843
|
createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
|
|
16466
16844
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
|
|
16467
16845
|
return openBlock(), createBlock(unref(KdsListItem), {
|
|
@@ -16476,9 +16854,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16476
16854
|
missing: item.missing,
|
|
16477
16855
|
"data-option-index": index,
|
|
16478
16856
|
selected: unref(isCurrentValue)(item.id),
|
|
16479
|
-
disabled:
|
|
16857
|
+
disabled: effectiveDisabled.value,
|
|
16480
16858
|
active: unref(isKeyboardNavigating) && unref(currentKeyNavIndex) === index,
|
|
16481
|
-
"trailing-icon": item.missing && !
|
|
16859
|
+
"trailing-icon": item.missing && !effectiveDisabled.value ? "trash" : unref(isCurrentValue)(item.id) ? "checkmark" : void 0,
|
|
16482
16860
|
onDblclick: [
|
|
16483
16861
|
withModifiers(($event) => handleDblClick(item.id, index), ["exact"]),
|
|
16484
16862
|
_cache[0] || (_cache[0] = withModifiers(($event) => handleShiftDblClick(), ["shift"]))
|
|
@@ -16487,29 +16865,32 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16487
16865
|
}, null, 8, ["id", "class", "label", "accessory", "missing", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
|
|
16488
16866
|
}), 128))
|
|
16489
16867
|
], 16),
|
|
16490
|
-
|
|
16868
|
+
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
16491
16869
|
createVNode(unref(KdsListItem), {
|
|
16492
|
-
id: generateOptionId(
|
|
16493
|
-
label:
|
|
16494
|
-
accessory:
|
|
16495
|
-
missing:
|
|
16870
|
+
id: generateOptionId(visibleBottomValue.value.id),
|
|
16871
|
+
label: visibleBottomValue.value.text,
|
|
16872
|
+
accessory: visibleBottomValue.value.accessory,
|
|
16873
|
+
missing: visibleBottomValue.value.missing,
|
|
16496
16874
|
"data-option-index": bottomIndex.value,
|
|
16497
|
-
selected: unref(isCurrentValue)(
|
|
16498
|
-
disabled:
|
|
16875
|
+
selected: unref(isCurrentValue)(visibleBottomValue.value.id),
|
|
16876
|
+
disabled: effectiveDisabled.value,
|
|
16499
16877
|
active: unref(isKeyboardNavigating) && unref(currentKeyNavIndex) === bottomIndex.value,
|
|
16500
16878
|
special: "",
|
|
16501
|
-
"trailing-icon":
|
|
16502
|
-
onClick: _cache[1] || (_cache[1] = ($event) => unref(handleClick)($event,
|
|
16879
|
+
"trailing-icon": visibleBottomValue.value.missing && !effectiveDisabled.value ? "trash" : unref(isCurrentValue)(visibleBottomValue.value.id) ? "checkmark" : void 0,
|
|
16880
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(handleClick)($event, visibleBottomValue.value.id, bottomIndex.value)),
|
|
16503
16881
|
onDblclick: [
|
|
16504
16882
|
_cache[2] || (_cache[2] = withModifiers(($event) => handleShiftDblClick(), ["shift"])),
|
|
16505
|
-
_cache[3] || (_cache[3] = withModifiers(($event) => handleDblClick(
|
|
16883
|
+
_cache[3] || (_cache[3] = withModifiers(($event) => handleDblClick(visibleBottomValue.value.id, bottomIndex.value), ["exact"]))
|
|
16506
16884
|
]
|
|
16507
16885
|
}, null, 8, ["id", "label", "accessory", "missing", "data-option-index", "selected", "disabled", "active", "trailing-icon"])
|
|
16508
16886
|
])) : createCommentVNode("", true)
|
|
16509
16887
|
])
|
|
16510
|
-
], 16, _hoisted_1$
|
|
16511
|
-
|
|
16512
|
-
createVNode(KdsEmptyState, {
|
|
16888
|
+
], 16, _hoisted_1$c),
|
|
16889
|
+
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
16890
|
+
createVNode(KdsEmptyState, {
|
|
16891
|
+
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
16892
|
+
"loading-spinner": __props.loading
|
|
16893
|
+
}, null, 8, ["headline", "loading-spinner"])
|
|
16513
16894
|
])) : createCommentVNode("", true)
|
|
16514
16895
|
], 4)
|
|
16515
16896
|
]),
|
|
@@ -16522,10 +16903,581 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16522
16903
|
}
|
|
16523
16904
|
});
|
|
16524
16905
|
|
|
16525
|
-
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
16906
|
+
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-9fde3128"]]);
|
|
16526
16907
|
|
|
16527
|
-
const _hoisted_1$
|
|
16528
|
-
const
|
|
16908
|
+
const _hoisted_1$b = { class: "kds-list-column" };
|
|
16909
|
+
const _hoisted_2$4 = { class: "kds-list-header" };
|
|
16910
|
+
const _hoisted_3$4 = { class: "kds-list-label" };
|
|
16911
|
+
const _hoisted_4$3 = {
|
|
16912
|
+
key: 0,
|
|
16913
|
+
class: "kds-list-count"
|
|
16914
|
+
};
|
|
16915
|
+
const _hoisted_5$1 = { class: "kds-button-column" };
|
|
16916
|
+
const _hoisted_6 = { class: "kds-list-column" };
|
|
16917
|
+
const _hoisted_7 = { class: "kds-list-header" };
|
|
16918
|
+
const _hoisted_8 = { class: "kds-list-label" };
|
|
16919
|
+
const _hoisted_9 = {
|
|
16920
|
+
key: 0,
|
|
16921
|
+
class: "kds-list-count"
|
|
16922
|
+
};
|
|
16923
|
+
const UNKNOWN_VALUE_ID = "__unknown-value-option__";
|
|
16924
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
16925
|
+
__name: "TwinListBody",
|
|
16926
|
+
props: /* @__PURE__ */ mergeModels({
|
|
16927
|
+
disabled: { type: Boolean, default: false },
|
|
16928
|
+
possibleValues: {},
|
|
16929
|
+
searchTerm: { default: "" },
|
|
16930
|
+
excludeLabel: { default: "Exclude" },
|
|
16931
|
+
includeLabel: { default: "Include" },
|
|
16932
|
+
unknownValuesText: { default: "Unknown columns" },
|
|
16933
|
+
emptyStateLabel: {},
|
|
16934
|
+
loading: { type: Boolean, default: false }
|
|
16935
|
+
}, {
|
|
16936
|
+
"modelValue": { required: true },
|
|
16937
|
+
"modelModifiers": {}
|
|
16938
|
+
}),
|
|
16939
|
+
emits: ["update:modelValue"],
|
|
16940
|
+
setup(__props) {
|
|
16941
|
+
const props = createPropsRestProxy(__props, ["disabled", "searchTerm", "excludeLabel", "includeLabel", "unknownValuesText", "loading"]);
|
|
16942
|
+
const modelValue = useModel(__props, "modelValue");
|
|
16943
|
+
const effectiveDisabled = computed(() => __props.disabled || __props.loading);
|
|
16944
|
+
const leftSelected = ref([]);
|
|
16945
|
+
const rightSelected = ref([]);
|
|
16946
|
+
watch(leftSelected, (ids) => {
|
|
16947
|
+
if (ids.length > 0) {
|
|
16948
|
+
rightSelected.value = [];
|
|
16949
|
+
}
|
|
16950
|
+
});
|
|
16951
|
+
watch(rightSelected, (ids) => {
|
|
16952
|
+
if (ids.length > 0) {
|
|
16953
|
+
leftSelected.value = [];
|
|
16954
|
+
}
|
|
16955
|
+
});
|
|
16956
|
+
watch(effectiveDisabled, (isDisabled) => {
|
|
16957
|
+
if (isDisabled) {
|
|
16958
|
+
leftSelected.value = [];
|
|
16959
|
+
rightSelected.value = [];
|
|
16960
|
+
}
|
|
16961
|
+
});
|
|
16962
|
+
const knownIds = computed(
|
|
16963
|
+
() => new Set(props.possibleValues.map((v) => String(v.id)))
|
|
16964
|
+
);
|
|
16965
|
+
const missingExcludedIds = computed(
|
|
16966
|
+
() => modelValue.value.excludedValues.map(String).filter((id) => !knownIds.value.has(id))
|
|
16967
|
+
);
|
|
16968
|
+
const missingIncludedIds = computed(
|
|
16969
|
+
() => modelValue.value.includedValues.map(String).filter((id) => !knownIds.value.has(id))
|
|
16970
|
+
);
|
|
16971
|
+
const excludedItems = computed(() => {
|
|
16972
|
+
const excludedSet = new Set(modelValue.value.excludedValues.map(String));
|
|
16973
|
+
return props.possibleValues.filter((v) => excludedSet.has(String(v.id)));
|
|
16974
|
+
});
|
|
16975
|
+
const includedItems = computed(() => {
|
|
16976
|
+
const includedSet = new Set(modelValue.value.includedValues.map(String));
|
|
16977
|
+
return props.possibleValues.filter((v) => includedSet.has(String(v.id)));
|
|
16978
|
+
});
|
|
16979
|
+
const matchesSearch = (item) => item.text.toLowerCase().includes(__props.searchTerm.toLowerCase());
|
|
16980
|
+
const toMissingOption = (id, selectedSet) => ({
|
|
16981
|
+
id,
|
|
16982
|
+
text: id,
|
|
16983
|
+
missing: true,
|
|
16984
|
+
selected: selectedSet.has(id)
|
|
16985
|
+
});
|
|
16986
|
+
const filteredExcludedItems = computed(
|
|
16987
|
+
() => __props.searchTerm ? excludedItems.value.filter(matchesSearch) : excludedItems.value
|
|
16988
|
+
);
|
|
16989
|
+
const filteredIncludedItems = computed(
|
|
16990
|
+
() => __props.searchTerm ? includedItems.value.filter(matchesSearch) : includedItems.value
|
|
16991
|
+
);
|
|
16992
|
+
const toListOption = (item, selectedSet) => ({
|
|
16993
|
+
id: String(item.id),
|
|
16994
|
+
text: item.text,
|
|
16995
|
+
accessory: item.accessory,
|
|
16996
|
+
selected: selectedSet.has(String(item.id))
|
|
16997
|
+
});
|
|
16998
|
+
const leftOptions = computed(() => {
|
|
16999
|
+
const selectedSet = new Set(leftSelected.value);
|
|
17000
|
+
return [
|
|
17001
|
+
...missingExcludedIds.value.map((id) => toMissingOption(id, selectedSet)),
|
|
17002
|
+
...filteredExcludedItems.value.map(
|
|
17003
|
+
(item) => toListOption(item, selectedSet)
|
|
17004
|
+
)
|
|
17005
|
+
];
|
|
17006
|
+
});
|
|
17007
|
+
const rightOptions = computed(() => {
|
|
17008
|
+
const selectedSet = new Set(rightSelected.value);
|
|
17009
|
+
return [
|
|
17010
|
+
...missingIncludedIds.value.map((id) => toMissingOption(id, selectedSet)),
|
|
17011
|
+
...filteredIncludedItems.value.map(
|
|
17012
|
+
(item) => toListOption(item, selectedSet)
|
|
17013
|
+
)
|
|
17014
|
+
];
|
|
17015
|
+
});
|
|
17016
|
+
const unknownValueOption = computed(() => ({
|
|
17017
|
+
text: __props.unknownValuesText,
|
|
17018
|
+
id: UNKNOWN_VALUE_ID
|
|
17019
|
+
}));
|
|
17020
|
+
const showUnknownValues = computed(
|
|
17021
|
+
() => modelValue.value.includeUnknownValues !== null
|
|
17022
|
+
);
|
|
17023
|
+
const moveRight = (ids) => {
|
|
17024
|
+
if (effectiveDisabled.value) {
|
|
17025
|
+
return;
|
|
17026
|
+
}
|
|
17027
|
+
const idsToMove = new Set([...ids].map(String));
|
|
17028
|
+
if (idsToMove.size === 0) {
|
|
17029
|
+
return;
|
|
17030
|
+
}
|
|
17031
|
+
const moveUnknown = idsToMove.has(UNKNOWN_VALUE_ID);
|
|
17032
|
+
idsToMove.delete(UNKNOWN_VALUE_ID);
|
|
17033
|
+
const missingIds = new Set(missingExcludedIds.value);
|
|
17034
|
+
const knownToMove = new Set(
|
|
17035
|
+
[...idsToMove].filter((id) => !missingIds.has(id))
|
|
17036
|
+
);
|
|
17037
|
+
modelValue.value = {
|
|
17038
|
+
includeUnknownValues: moveUnknown || modelValue.value.includeUnknownValues,
|
|
17039
|
+
excludedValues: modelValue.value.excludedValues.filter(
|
|
17040
|
+
(id) => !idsToMove.has(String(id))
|
|
17041
|
+
),
|
|
17042
|
+
includedValues: [
|
|
17043
|
+
...modelValue.value.includedValues,
|
|
17044
|
+
...modelValue.value.excludedValues.filter(
|
|
17045
|
+
(id) => knownToMove.has(String(id))
|
|
17046
|
+
)
|
|
17047
|
+
]
|
|
17048
|
+
};
|
|
17049
|
+
rightSelected.value = [
|
|
17050
|
+
...knownToMove,
|
|
17051
|
+
...moveUnknown ? [UNKNOWN_VALUE_ID] : []
|
|
17052
|
+
];
|
|
17053
|
+
};
|
|
17054
|
+
const moveLeft = (ids) => {
|
|
17055
|
+
if (effectiveDisabled.value) {
|
|
17056
|
+
return;
|
|
17057
|
+
}
|
|
17058
|
+
const idsToMove = new Set([...ids].map(String));
|
|
17059
|
+
if (idsToMove.size === 0) {
|
|
17060
|
+
return;
|
|
17061
|
+
}
|
|
17062
|
+
const moveUnknown = idsToMove.has(UNKNOWN_VALUE_ID);
|
|
17063
|
+
idsToMove.delete(UNKNOWN_VALUE_ID);
|
|
17064
|
+
const missingIds = new Set(missingIncludedIds.value);
|
|
17065
|
+
const knownToMove = new Set(
|
|
17066
|
+
[...idsToMove].filter((id) => !missingIds.has(id))
|
|
17067
|
+
);
|
|
17068
|
+
modelValue.value = {
|
|
17069
|
+
includeUnknownValues: !moveUnknown && modelValue.value.includeUnknownValues,
|
|
17070
|
+
includedValues: modelValue.value.includedValues.filter(
|
|
17071
|
+
(id) => !idsToMove.has(String(id))
|
|
17072
|
+
),
|
|
17073
|
+
excludedValues: [
|
|
17074
|
+
...modelValue.value.excludedValues,
|
|
17075
|
+
...modelValue.value.includedValues.filter(
|
|
17076
|
+
(id) => knownToMove.has(String(id))
|
|
17077
|
+
)
|
|
17078
|
+
]
|
|
17079
|
+
};
|
|
17080
|
+
leftSelected.value = [
|
|
17081
|
+
...knownToMove,
|
|
17082
|
+
...moveUnknown ? [UNKNOWN_VALUE_ID] : []
|
|
17083
|
+
];
|
|
17084
|
+
};
|
|
17085
|
+
return (_ctx, _cache) => {
|
|
17086
|
+
return openBlock(), createBlock(unref(KdsResizeContainer), {
|
|
17087
|
+
"number-of-handles": 2,
|
|
17088
|
+
height: 320,
|
|
17089
|
+
"min-height": 200,
|
|
17090
|
+
"handle-gap": `${unref(kdsSpacingContainer0p25x) * 2 + unref(kdsDimensionComponentHeight1p5x)}px`
|
|
17091
|
+
}, {
|
|
17092
|
+
default: withCtx(({ contentStyle }) => [
|
|
17093
|
+
createElementVNode("div", {
|
|
17094
|
+
class: "kds-twin-list-body",
|
|
17095
|
+
style: normalizeStyle(contentStyle)
|
|
17096
|
+
}, [
|
|
17097
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
17098
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
17099
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(__props.excludeLabel), 1),
|
|
17100
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
17101
|
+
]),
|
|
17102
|
+
createVNode(unref(KdsMultiSelectListBox), {
|
|
17103
|
+
modelValue: leftSelected.value,
|
|
17104
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => leftSelected.value = $event),
|
|
17105
|
+
class: "kds-list-box",
|
|
17106
|
+
"possible-values": leftOptions.value,
|
|
17107
|
+
ariaLabel: __props.excludeLabel,
|
|
17108
|
+
disabled: effectiveDisabled.value,
|
|
17109
|
+
loading: __props.loading,
|
|
17110
|
+
"empty-state-label": props.emptyStateLabel,
|
|
17111
|
+
"bottom-value": showUnknownValues.value && modelValue.value.includeUnknownValues === false ? unknownValueOption.value : void 0,
|
|
17112
|
+
onDoubleClickOnItem: _cache[1] || (_cache[1] = ($event) => moveRight(leftSelected.value)),
|
|
17113
|
+
onDoubleClickShift: moveRight,
|
|
17114
|
+
onKeyArrowRight: moveRight,
|
|
17115
|
+
onKeyEnter: moveRight
|
|
17116
|
+
}, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "loading", "empty-state-label", "bottom-value"])
|
|
17117
|
+
]),
|
|
17118
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
17119
|
+
createVNode(unref(_sfc_main$$), {
|
|
17120
|
+
"leading-icon": "chevron-right",
|
|
17121
|
+
ariaLabel: "Move selected values right",
|
|
17122
|
+
title: "Move selected values right",
|
|
17123
|
+
variant: "transparent",
|
|
17124
|
+
size: "small",
|
|
17125
|
+
disabled: effectiveDisabled.value || leftSelected.value.length === 0,
|
|
17126
|
+
onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
|
|
17127
|
+
}, null, 8, ["disabled"]),
|
|
17128
|
+
createVNode(unref(_sfc_main$$), {
|
|
17129
|
+
"leading-icon": "chevron-right-double",
|
|
17130
|
+
ariaLabel: "Move all values right",
|
|
17131
|
+
title: "Move all values right",
|
|
17132
|
+
variant: "transparent",
|
|
17133
|
+
size: "small",
|
|
17134
|
+
disabled: effectiveDisabled.value || excludedItems.value.length === 0 && (!showUnknownValues.value || modelValue.value.includeUnknownValues === true),
|
|
17135
|
+
onClick: _cache[3] || (_cache[3] = ($event) => moveRight([
|
|
17136
|
+
...modelValue.value.excludedValues,
|
|
17137
|
+
...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
|
|
17138
|
+
]))
|
|
17139
|
+
}, null, 8, ["disabled"]),
|
|
17140
|
+
createVNode(unref(_sfc_main$$), {
|
|
17141
|
+
"leading-icon": "chevron-left",
|
|
17142
|
+
ariaLabel: "Move selected values left",
|
|
17143
|
+
title: "Move selected values left",
|
|
17144
|
+
variant: "transparent",
|
|
17145
|
+
size: "small",
|
|
17146
|
+
disabled: effectiveDisabled.value || rightSelected.value.length === 0,
|
|
17147
|
+
onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
|
|
17148
|
+
}, null, 8, ["disabled"]),
|
|
17149
|
+
createVNode(unref(_sfc_main$$), {
|
|
17150
|
+
"leading-icon": "chevron-left-double",
|
|
17151
|
+
ariaLabel: "Move all values left",
|
|
17152
|
+
title: "Move all values left",
|
|
17153
|
+
variant: "transparent",
|
|
17154
|
+
size: "small",
|
|
17155
|
+
disabled: effectiveDisabled.value || includedItems.value.length === 0 && (!showUnknownValues.value || modelValue.value.includeUnknownValues === false),
|
|
17156
|
+
onClick: _cache[5] || (_cache[5] = ($event) => moveLeft([
|
|
17157
|
+
...modelValue.value.includedValues,
|
|
17158
|
+
...showUnknownValues.value && modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
|
|
17159
|
+
]))
|
|
17160
|
+
}, null, 8, ["disabled"])
|
|
17161
|
+
]),
|
|
17162
|
+
createElementVNode("div", _hoisted_6, [
|
|
17163
|
+
createElementVNode("div", _hoisted_7, [
|
|
17164
|
+
createElementVNode("span", _hoisted_8, toDisplayString(__props.includeLabel), 1),
|
|
17165
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(rightOptions.value.length) + " of " + toDisplayString(includedItems.value.length), 1)) : createCommentVNode("", true)
|
|
17166
|
+
]),
|
|
17167
|
+
createVNode(unref(KdsMultiSelectListBox), {
|
|
17168
|
+
modelValue: rightSelected.value,
|
|
17169
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => rightSelected.value = $event),
|
|
17170
|
+
class: "kds-list-box",
|
|
17171
|
+
"possible-values": rightOptions.value,
|
|
17172
|
+
ariaLabel: __props.includeLabel,
|
|
17173
|
+
disabled: effectiveDisabled.value,
|
|
17174
|
+
loading: __props.loading,
|
|
17175
|
+
"empty-state-label": props.emptyStateLabel,
|
|
17176
|
+
"bottom-value": showUnknownValues.value && modelValue.value.includeUnknownValues === true ? unknownValueOption.value : void 0,
|
|
17177
|
+
onDoubleClickOnItem: _cache[7] || (_cache[7] = ($event) => moveLeft(rightSelected.value)),
|
|
17178
|
+
onDoubleClickShift: moveLeft,
|
|
17179
|
+
onKeyArrowLeft: moveLeft,
|
|
17180
|
+
onKeyEnter: moveLeft
|
|
17181
|
+
}, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "loading", "empty-state-label", "bottom-value"])
|
|
17182
|
+
])
|
|
17183
|
+
], 4)
|
|
17184
|
+
]),
|
|
17185
|
+
_: 1
|
|
17186
|
+
}, 8, ["handle-gap"]);
|
|
17187
|
+
};
|
|
17188
|
+
}
|
|
17189
|
+
});
|
|
17190
|
+
|
|
17191
|
+
const TwinListBody = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__scopeId", "data-v-e05644d2"]]);
|
|
17192
|
+
|
|
17193
|
+
const kdsTwinListSearchMode = {
|
|
17194
|
+
MANUAL: "manual",
|
|
17195
|
+
PATTERN: "pattern",
|
|
17196
|
+
TYPE: "type"
|
|
17197
|
+
};
|
|
17198
|
+
const kdsTwinListSearchModes = Object.values(kdsTwinListSearchMode);
|
|
17199
|
+
|
|
17200
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
17201
|
+
__name: "TwinListHeader",
|
|
17202
|
+
props: /* @__PURE__ */ mergeModels({
|
|
17203
|
+
filterTypes: { default: () => void 0 },
|
|
17204
|
+
enablePatternFilter: { type: Boolean, default: false },
|
|
17205
|
+
disabled: { type: Boolean, default: false }
|
|
17206
|
+
}, {
|
|
17207
|
+
"mode": {
|
|
17208
|
+
default: kdsTwinListSearchMode.MANUAL
|
|
17209
|
+
},
|
|
17210
|
+
"modeModifiers": {},
|
|
17211
|
+
"pattern": { default: "" },
|
|
17212
|
+
"patternModifiers": {},
|
|
17213
|
+
"searchTerm": { default: "" },
|
|
17214
|
+
"searchTermModifiers": {},
|
|
17215
|
+
"selectedTypes": {
|
|
17216
|
+
default: () => []
|
|
17217
|
+
},
|
|
17218
|
+
"selectedTypesModifiers": {},
|
|
17219
|
+
"caseSensitive": { type: Boolean, ...{ default: false } },
|
|
17220
|
+
"caseSensitiveModifiers": {},
|
|
17221
|
+
"excludeMatches": { type: Boolean, ...{
|
|
17222
|
+
default: false
|
|
17223
|
+
} },
|
|
17224
|
+
"excludeMatchesModifiers": {},
|
|
17225
|
+
"useRegex": { type: Boolean, ...{ default: false } },
|
|
17226
|
+
"useRegexModifiers": {}
|
|
17227
|
+
}),
|
|
17228
|
+
emits: /* @__PURE__ */ mergeModels(["update:regex"], ["update:mode", "update:pattern", "update:searchTerm", "update:selectedTypes", "update:caseSensitive", "update:excludeMatches", "update:useRegex"]),
|
|
17229
|
+
setup(__props, { emit: __emit }) {
|
|
17230
|
+
const emit = __emit;
|
|
17231
|
+
const mode = useModel(__props, "mode");
|
|
17232
|
+
const pattern = useModel(__props, "pattern");
|
|
17233
|
+
const searchTerm = useModel(__props, "searchTerm");
|
|
17234
|
+
const selectedTypes = useModel(__props, "selectedTypes");
|
|
17235
|
+
const caseSensitive = useModel(__props, "caseSensitive");
|
|
17236
|
+
const excludeMatches = useModel(__props, "excludeMatches");
|
|
17237
|
+
const useRegex = useModel(__props, "useRegex");
|
|
17238
|
+
const modes = computed(() => [
|
|
17239
|
+
{ id: kdsTwinListSearchMode.MANUAL, text: "Manual" },
|
|
17240
|
+
...__props.enablePatternFilter ? [{ id: kdsTwinListSearchMode.PATTERN, text: "Pattern" }] : [],
|
|
17241
|
+
...__props.filterTypes ? [{ id: kdsTwinListSearchMode.TYPE, text: "Type" }] : []
|
|
17242
|
+
]);
|
|
17243
|
+
watch(
|
|
17244
|
+
[mode, () => __props.enablePatternFilter, () => __props.filterTypes],
|
|
17245
|
+
() => {
|
|
17246
|
+
if (!modes.value.some(({ id }) => id === mode.value)) {
|
|
17247
|
+
mode.value = kdsTwinListSearchMode.MANUAL;
|
|
17248
|
+
}
|
|
17249
|
+
},
|
|
17250
|
+
{ immediate: true }
|
|
17251
|
+
);
|
|
17252
|
+
watch(mode, (newMode, oldMode) => {
|
|
17253
|
+
if (oldMode === kdsTwinListSearchMode.MANUAL && newMode !== kdsTwinListSearchMode.MANUAL) {
|
|
17254
|
+
searchTerm.value = "";
|
|
17255
|
+
}
|
|
17256
|
+
});
|
|
17257
|
+
return (_ctx, _cache) => {
|
|
17258
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
17259
|
+
modes.value.length > 1 ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
17260
|
+
key: 0,
|
|
17261
|
+
modelValue: mode.value,
|
|
17262
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
|
|
17263
|
+
ariaLabel: "Selection mode",
|
|
17264
|
+
disabled: __props.disabled,
|
|
17265
|
+
size: "small",
|
|
17266
|
+
variant: "muted",
|
|
17267
|
+
"possible-values": modes.value
|
|
17268
|
+
}, null, 8, ["modelValue", "disabled", "possible-values"])) : createCommentVNode("", true),
|
|
17269
|
+
mode.value === unref(kdsTwinListSearchMode).MANUAL ? (openBlock(), createBlock(unref(KdsSearchInput), {
|
|
17270
|
+
key: 1,
|
|
17271
|
+
modelValue: searchTerm.value,
|
|
17272
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchTerm.value = $event),
|
|
17273
|
+
ariaLabel: "Search values",
|
|
17274
|
+
placeholder: "Search",
|
|
17275
|
+
disabled: __props.disabled
|
|
17276
|
+
}, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
17277
|
+
key: 2,
|
|
17278
|
+
modelValue: pattern.value,
|
|
17279
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
|
|
17280
|
+
"case-sensitive": caseSensitive.value,
|
|
17281
|
+
"onUpdate:caseSensitive": _cache[3] || (_cache[3] = ($event) => caseSensitive.value = $event),
|
|
17282
|
+
"exclude-matches": excludeMatches.value,
|
|
17283
|
+
"onUpdate:excludeMatches": _cache[4] || (_cache[4] = ($event) => excludeMatches.value = $event),
|
|
17284
|
+
"use-regex": useRegex.value,
|
|
17285
|
+
"onUpdate:useRegex": _cache[5] || (_cache[5] = ($event) => useRegex.value = $event),
|
|
17286
|
+
ariaLabel: "Pattern",
|
|
17287
|
+
placeholder: "Pattern",
|
|
17288
|
+
disabled: __props.disabled,
|
|
17289
|
+
"onUpdate:regex": _cache[6] || (_cache[6] = ($event) => emit("update:regex", $event))
|
|
17290
|
+
}, null, 8, ["modelValue", "case-sensitive", "exclude-matches", "use-regex", "disabled"])) : (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
17291
|
+
key: 3,
|
|
17292
|
+
modelValue: selectedTypes.value,
|
|
17293
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTypes.value = $event),
|
|
17294
|
+
"possible-values": __props.filterTypes ?? [],
|
|
17295
|
+
loading: __props.filterTypes === void 0,
|
|
17296
|
+
ariaLabel: "Selected types",
|
|
17297
|
+
disabled: __props.disabled
|
|
17298
|
+
}, null, 8, ["modelValue", "possible-values", "loading", "disabled"]))
|
|
17299
|
+
], 64);
|
|
17300
|
+
};
|
|
17301
|
+
}
|
|
17302
|
+
});
|
|
17303
|
+
|
|
17304
|
+
const _hoisted_1$a = { class: "kds-twin-list" };
|
|
17305
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
17306
|
+
__name: "KdsTwinList",
|
|
17307
|
+
props: /* @__PURE__ */ mergeModels({
|
|
17308
|
+
description: {},
|
|
17309
|
+
label: {},
|
|
17310
|
+
ariaLabel: {},
|
|
17311
|
+
id: {},
|
|
17312
|
+
subText: {},
|
|
17313
|
+
error: { type: Boolean, default: false },
|
|
17314
|
+
validating: { type: Boolean, default: false },
|
|
17315
|
+
preserveSubTextSpace: { type: Boolean, default: false },
|
|
17316
|
+
disabled: { type: Boolean, default: false },
|
|
17317
|
+
possibleValues: {},
|
|
17318
|
+
filterTypes: { default: () => void 0 },
|
|
17319
|
+
enablePatternFilter: { type: Boolean, default: false },
|
|
17320
|
+
excludeLabel: {},
|
|
17321
|
+
includeLabel: {},
|
|
17322
|
+
unknownValuesText: {},
|
|
17323
|
+
emptyStateLabel: {},
|
|
17324
|
+
loading: { type: Boolean, default: false }
|
|
17325
|
+
}, {
|
|
17326
|
+
"mode": {
|
|
17327
|
+
default: kdsTwinListSearchMode.MANUAL
|
|
17328
|
+
},
|
|
17329
|
+
"modeModifiers": {},
|
|
17330
|
+
"manuallyIncluded": {
|
|
17331
|
+
default: () => []
|
|
17332
|
+
},
|
|
17333
|
+
"manuallyIncludedModifiers": {},
|
|
17334
|
+
"manuallyExcluded": {
|
|
17335
|
+
default: () => []
|
|
17336
|
+
},
|
|
17337
|
+
"manuallyExcludedModifiers": {},
|
|
17338
|
+
"includeUnknownValues": { type: [Boolean, null], ...{ default: null } },
|
|
17339
|
+
"includeUnknownValuesModifiers": {},
|
|
17340
|
+
"pattern": { default: "" },
|
|
17341
|
+
"patternModifiers": {},
|
|
17342
|
+
"selectedTypes": {
|
|
17343
|
+
default: () => []
|
|
17344
|
+
},
|
|
17345
|
+
"selectedTypesModifiers": {},
|
|
17346
|
+
"caseSensitive": { type: Boolean, ...{ default: false } },
|
|
17347
|
+
"caseSensitiveModifiers": {},
|
|
17348
|
+
"excludeMatches": { type: Boolean, ...{
|
|
17349
|
+
default: false
|
|
17350
|
+
} },
|
|
17351
|
+
"excludeMatchesModifiers": {},
|
|
17352
|
+
"useRegex": { type: Boolean, ...{ default: false } },
|
|
17353
|
+
"useRegexModifiers": {}
|
|
17354
|
+
}),
|
|
17355
|
+
emits: ["update:mode", "update:manuallyIncluded", "update:manuallyExcluded", "update:includeUnknownValues", "update:pattern", "update:selectedTypes", "update:caseSensitive", "update:excludeMatches", "update:useRegex"],
|
|
17356
|
+
setup(__props) {
|
|
17357
|
+
const props = createPropsRestProxy(__props, ["disabled", "possibleValues", "filterTypes", "enablePatternFilter", "loading", "error", "validating", "preserveSubTextSpace"]);
|
|
17358
|
+
const mode = useModel(__props, "mode");
|
|
17359
|
+
const manuallyIncluded = useModel(__props, "manuallyIncluded");
|
|
17360
|
+
const manuallyExcluded = useModel(__props, "manuallyExcluded");
|
|
17361
|
+
const includeUnknownValues = useModel(
|
|
17362
|
+
__props,
|
|
17363
|
+
"includeUnknownValues"
|
|
17364
|
+
);
|
|
17365
|
+
const pattern = useModel(__props, "pattern");
|
|
17366
|
+
const selectedTypes = useModel(__props, "selectedTypes");
|
|
17367
|
+
const caseSensitive = useModel(__props, "caseSensitive");
|
|
17368
|
+
const excludeMatches = useModel(__props, "excludeMatches");
|
|
17369
|
+
const useRegex = useModel(__props, "useRegex");
|
|
17370
|
+
const searchTerm = ref("");
|
|
17371
|
+
const patternRegex = ref("");
|
|
17372
|
+
const allIds = computed(() => __props.possibleValues.map(({ id }) => id));
|
|
17373
|
+
const effectiveBodyModel = computed({
|
|
17374
|
+
get() {
|
|
17375
|
+
switch (mode.value) {
|
|
17376
|
+
case kdsTwinListSearchMode.PATTERN: {
|
|
17377
|
+
const trimmedPattern = patternRegex.value.trim();
|
|
17378
|
+
if (trimmedPattern === "") {
|
|
17379
|
+
const included2 = [];
|
|
17380
|
+
const includedSet2 = new Set(included2);
|
|
17381
|
+
return {
|
|
17382
|
+
includedValues: included2,
|
|
17383
|
+
excludedValues: allIds.value.filter((id) => !includedSet2.has(id)),
|
|
17384
|
+
includeUnknownValues: null
|
|
17385
|
+
};
|
|
17386
|
+
}
|
|
17387
|
+
let regexp = null;
|
|
17388
|
+
try {
|
|
17389
|
+
regexp = new RegExp(`^(?:${trimmedPattern})$`);
|
|
17390
|
+
} catch {
|
|
17391
|
+
regexp = null;
|
|
17392
|
+
}
|
|
17393
|
+
const included = regexp ? __props.possibleValues.filter((item) => regexp.test(item.text)).map(({ id }) => id) : [];
|
|
17394
|
+
const includedSet = new Set(included);
|
|
17395
|
+
return {
|
|
17396
|
+
includedValues: included,
|
|
17397
|
+
excludedValues: allIds.value.filter((id) => !includedSet.has(id)),
|
|
17398
|
+
includeUnknownValues: null
|
|
17399
|
+
};
|
|
17400
|
+
}
|
|
17401
|
+
case kdsTwinListSearchMode.TYPE: {
|
|
17402
|
+
const included = __props.possibleValues.filter((item) => selectedTypes.value.includes(item.type ?? "")).map(({ id }) => id);
|
|
17403
|
+
const includedSet = new Set(included);
|
|
17404
|
+
return {
|
|
17405
|
+
includedValues: included,
|
|
17406
|
+
excludedValues: allIds.value.filter((id) => !includedSet.has(id)),
|
|
17407
|
+
includeUnknownValues: null
|
|
17408
|
+
};
|
|
17409
|
+
}
|
|
17410
|
+
default:
|
|
17411
|
+
return {
|
|
17412
|
+
includedValues: manuallyIncluded.value,
|
|
17413
|
+
excludedValues: manuallyExcluded.value,
|
|
17414
|
+
includeUnknownValues: includeUnknownValues.value
|
|
17415
|
+
};
|
|
17416
|
+
}
|
|
17417
|
+
},
|
|
17418
|
+
set(value) {
|
|
17419
|
+
manuallyIncluded.value = value.includedValues;
|
|
17420
|
+
manuallyExcluded.value = value.excludedValues;
|
|
17421
|
+
includeUnknownValues.value = value.includeUnknownValues;
|
|
17422
|
+
}
|
|
17423
|
+
});
|
|
17424
|
+
return (_ctx, _cache) => {
|
|
17425
|
+
return openBlock(), createBlock(BaseFieldsetWrapper, {
|
|
17426
|
+
id: props.id,
|
|
17427
|
+
label: props.label,
|
|
17428
|
+
ariaLabel: props.ariaLabel,
|
|
17429
|
+
description: props.description,
|
|
17430
|
+
"sub-text": props.subText,
|
|
17431
|
+
error: __props.error,
|
|
17432
|
+
validating: __props.validating,
|
|
17433
|
+
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
17434
|
+
}, {
|
|
17435
|
+
default: withCtx(() => [
|
|
17436
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
17437
|
+
createVNode(_sfc_main$d, {
|
|
17438
|
+
mode: mode.value,
|
|
17439
|
+
"onUpdate:mode": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
|
|
17440
|
+
pattern: pattern.value,
|
|
17441
|
+
"onUpdate:pattern": _cache[1] || (_cache[1] = ($event) => pattern.value = $event),
|
|
17442
|
+
"search-term": searchTerm.value,
|
|
17443
|
+
"onUpdate:searchTerm": _cache[2] || (_cache[2] = ($event) => searchTerm.value = $event),
|
|
17444
|
+
"selected-types": selectedTypes.value,
|
|
17445
|
+
"onUpdate:selectedTypes": _cache[3] || (_cache[3] = ($event) => selectedTypes.value = $event),
|
|
17446
|
+
"case-sensitive": caseSensitive.value,
|
|
17447
|
+
"onUpdate:caseSensitive": _cache[4] || (_cache[4] = ($event) => caseSensitive.value = $event),
|
|
17448
|
+
"exclude-matches": excludeMatches.value,
|
|
17449
|
+
"onUpdate:excludeMatches": _cache[5] || (_cache[5] = ($event) => excludeMatches.value = $event),
|
|
17450
|
+
"use-regex": useRegex.value,
|
|
17451
|
+
"onUpdate:useRegex": _cache[6] || (_cache[6] = ($event) => useRegex.value = $event),
|
|
17452
|
+
disabled: __props.disabled,
|
|
17453
|
+
"filter-types": __props.filterTypes,
|
|
17454
|
+
"enable-pattern-filter": __props.enablePatternFilter,
|
|
17455
|
+
"onUpdate:regex": _cache[7] || (_cache[7] = ($event) => patternRegex.value = $event)
|
|
17456
|
+
}, null, 8, ["mode", "pattern", "search-term", "selected-types", "case-sensitive", "exclude-matches", "use-regex", "disabled", "filter-types", "enable-pattern-filter"]),
|
|
17457
|
+
createVNode(TwinListBody, {
|
|
17458
|
+
modelValue: effectiveBodyModel.value,
|
|
17459
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => effectiveBodyModel.value = $event),
|
|
17460
|
+
disabled: __props.disabled || mode.value !== unref(kdsTwinListSearchMode).MANUAL,
|
|
17461
|
+
"possible-values": __props.possibleValues,
|
|
17462
|
+
"search-term": searchTerm.value,
|
|
17463
|
+
"exclude-label": props.excludeLabel,
|
|
17464
|
+
"include-label": props.includeLabel,
|
|
17465
|
+
"unknown-values-text": props.unknownValuesText,
|
|
17466
|
+
"empty-state-label": props.emptyStateLabel,
|
|
17467
|
+
loading: __props.loading
|
|
17468
|
+
}, null, 8, ["modelValue", "disabled", "possible-values", "search-term", "exclude-label", "include-label", "unknown-values-text", "empty-state-label", "loading"])
|
|
17469
|
+
])
|
|
17470
|
+
]),
|
|
17471
|
+
_: 1
|
|
17472
|
+
}, 8, ["id", "label", "ariaLabel", "description", "sub-text", "error", "validating", "preserve-sub-text-space"]);
|
|
17473
|
+
};
|
|
17474
|
+
}
|
|
17475
|
+
});
|
|
17476
|
+
|
|
17477
|
+
const KdsTwinList = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-c46b28b5"]]);
|
|
17478
|
+
|
|
17479
|
+
const _hoisted_1$9 = { class: "kds-info-popover-content" };
|
|
17480
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
16529
17481
|
__name: "InfoPopover",
|
|
16530
17482
|
props: {
|
|
16531
17483
|
content: {}
|
|
@@ -16533,7 +17485,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16533
17485
|
setup(__props) {
|
|
16534
17486
|
const props = __props;
|
|
16535
17487
|
return (_ctx, _cache) => {
|
|
16536
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17488
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
16537
17489
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
16538
17490
|
createTextVNode(toDisplayString(props.content), 1)
|
|
16539
17491
|
], true)
|
|
@@ -16542,11 +17494,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16542
17494
|
}
|
|
16543
17495
|
});
|
|
16544
17496
|
|
|
16545
|
-
const InfoPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
17497
|
+
const InfoPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-951f2a2b"]]);
|
|
16546
17498
|
|
|
16547
|
-
const _hoisted_1$
|
|
17499
|
+
const _hoisted_1$8 = ["aria-pressed", "aria-expanded", "aria-controls"];
|
|
16548
17500
|
const TITLE = "Click for more information";
|
|
16549
|
-
const _sfc_main$
|
|
17501
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
16550
17502
|
__name: "KdsInfoToggleButton",
|
|
16551
17503
|
props: /* @__PURE__ */ mergeModels({
|
|
16552
17504
|
content: {},
|
|
@@ -16588,7 +17540,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16588
17540
|
name: "circle-question",
|
|
16589
17541
|
size: "small"
|
|
16590
17542
|
})
|
|
16591
|
-
], 16, _hoisted_1$
|
|
17543
|
+
], 16, _hoisted_1$8),
|
|
16592
17544
|
createVNode(KdsPopover, {
|
|
16593
17545
|
ref_key: "popoverEl",
|
|
16594
17546
|
ref: popoverEl,
|
|
@@ -16615,18 +17567,18 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16615
17567
|
}
|
|
16616
17568
|
});
|
|
16617
17569
|
|
|
16618
|
-
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
17570
|
+
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "data-v-2e9ef96a"]]);
|
|
16619
17571
|
|
|
16620
17572
|
const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
16621
17573
|
__proto__: null,
|
|
16622
17574
|
default: KdsInfoToggleButton
|
|
16623
17575
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
16624
17576
|
|
|
16625
|
-
const _hoisted_1$
|
|
17577
|
+
const _hoisted_1$7 = {
|
|
16626
17578
|
class: "kds-variable-popover",
|
|
16627
17579
|
tabindex: "0"
|
|
16628
17580
|
};
|
|
16629
|
-
const _sfc_main$
|
|
17581
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
16630
17582
|
__name: "VariablePopover",
|
|
16631
17583
|
props: {
|
|
16632
17584
|
content: {}
|
|
@@ -16634,7 +17586,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16634
17586
|
setup(__props) {
|
|
16635
17587
|
const props = __props;
|
|
16636
17588
|
return (_ctx, _cache) => {
|
|
16637
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17589
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16638
17590
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
16639
17591
|
createTextVNode(toDisplayString(props.content), 1)
|
|
16640
17592
|
], true)
|
|
@@ -16643,10 +17595,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16643
17595
|
}
|
|
16644
17596
|
});
|
|
16645
17597
|
|
|
16646
|
-
const VariablePopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
17598
|
+
const VariablePopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-8a0c56d0"]]);
|
|
16647
17599
|
|
|
16648
|
-
const _hoisted_1$
|
|
16649
|
-
const _sfc_main$
|
|
17600
|
+
const _hoisted_1$6 = ["title", "aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
|
|
17601
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
16650
17602
|
__name: "KdsVariableToggleButton",
|
|
16651
17603
|
props: /* @__PURE__ */ mergeModels({
|
|
16652
17604
|
content: {},
|
|
@@ -16735,7 +17687,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16735
17687
|
name: iconName.value,
|
|
16736
17688
|
size: "small"
|
|
16737
17689
|
}, null, 8, ["name"])
|
|
16738
|
-
], 16, _hoisted_1$
|
|
17690
|
+
], 16, _hoisted_1$6),
|
|
16739
17691
|
createVNode(KdsPopover, {
|
|
16740
17692
|
ref_key: "popoverEl",
|
|
16741
17693
|
ref: popoverEl,
|
|
@@ -16763,10 +17715,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16763
17715
|
}
|
|
16764
17716
|
});
|
|
16765
17717
|
|
|
16766
|
-
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
17718
|
+
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-b6d29842"]]);
|
|
16767
17719
|
|
|
16768
|
-
const _hoisted_1$
|
|
16769
|
-
const _sfc_main$
|
|
17720
|
+
const _hoisted_1$5 = ["aria-label", "aria-labelledby", "aria-pressed", "disabled"];
|
|
17721
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16770
17722
|
__name: "KdsCardClickable",
|
|
16771
17723
|
props: /* @__PURE__ */ mergeModels({
|
|
16772
17724
|
variant: { default: "filled" },
|
|
@@ -16801,12 +17753,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16801
17753
|
onClick: handleClick
|
|
16802
17754
|
}, [
|
|
16803
17755
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16804
|
-
], 10, _hoisted_1$
|
|
17756
|
+
], 10, _hoisted_1$5);
|
|
16805
17757
|
};
|
|
16806
17758
|
}
|
|
16807
17759
|
});
|
|
16808
17760
|
|
|
16809
|
-
const KdsCardClickable = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
17761
|
+
const KdsCardClickable = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__scopeId", "data-v-4607badd"]]);
|
|
16810
17762
|
|
|
16811
17763
|
const kdsCardVariant = {
|
|
16812
17764
|
FILLED: "filled",
|
|
@@ -16815,7 +17767,7 @@ const kdsCardVariant = {
|
|
|
16815
17767
|
};
|
|
16816
17768
|
const kdsCardVariants = Object.values(kdsCardVariant);
|
|
16817
17769
|
|
|
16818
|
-
const _sfc_main$
|
|
17770
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
16819
17771
|
__name: "TabBarItemAccessory",
|
|
16820
17772
|
props: {
|
|
16821
17773
|
accessory: {},
|
|
@@ -16945,15 +17897,15 @@ const useTabBarAdaptiveLayout = ({
|
|
|
16945
17897
|
};
|
|
16946
17898
|
};
|
|
16947
17899
|
|
|
16948
|
-
const _hoisted_1$
|
|
16949
|
-
const _hoisted_2$
|
|
16950
|
-
const _hoisted_3$
|
|
16951
|
-
const _hoisted_4$
|
|
17900
|
+
const _hoisted_1$4 = { class: "kds-tab-bar-wrapper" };
|
|
17901
|
+
const _hoisted_2$3 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
17902
|
+
const _hoisted_3$3 = { class: "kds-tab-label" };
|
|
17903
|
+
const _hoisted_4$2 = {
|
|
16952
17904
|
key: 1,
|
|
16953
17905
|
class: "kds-tab-indicator"
|
|
16954
17906
|
};
|
|
16955
17907
|
const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
|
|
16956
|
-
const _sfc_main$
|
|
17908
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
16957
17909
|
__name: "KdsTabBar",
|
|
16958
17910
|
props: /* @__PURE__ */ mergeModels({
|
|
16959
17911
|
tabs: {},
|
|
@@ -17077,7 +18029,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
17077
18029
|
{ immediate: true }
|
|
17078
18030
|
);
|
|
17079
18031
|
return (_ctx, _cache) => {
|
|
17080
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18032
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
17081
18033
|
createElementVNode("div", {
|
|
17082
18034
|
ref_key: "availableWidthContainer",
|
|
17083
18035
|
ref: availableWidthContainer,
|
|
@@ -17107,15 +18059,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
17107
18059
|
onClick: ($event) => selectTab(tab),
|
|
17108
18060
|
onKeydown: ($event) => handleKeydown($event, tab)
|
|
17109
18061
|
}, [
|
|
17110
|
-
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$
|
|
18062
|
+
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$6, {
|
|
17111
18063
|
key: 0,
|
|
17112
18064
|
accessory: tab.accessory,
|
|
17113
18065
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
17114
18066
|
disabled: isTabDisabled(tab)
|
|
17115
18067
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
17116
|
-
createElementVNode("span", _hoisted_3$
|
|
17117
|
-
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
17118
|
-
], 42, _hoisted_2$
|
|
18068
|
+
createElementVNode("span", _hoisted_3$3, toDisplayString(tab.label), 1),
|
|
18069
|
+
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : createCommentVNode("", true)
|
|
18070
|
+
], 42, _hoisted_2$3);
|
|
17119
18071
|
}), 128))
|
|
17120
18072
|
], 2)
|
|
17121
18073
|
]);
|
|
@@ -17123,7 +18075,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
17123
18075
|
}
|
|
17124
18076
|
});
|
|
17125
18077
|
|
|
17126
|
-
const KdsTabBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
18078
|
+
const KdsTabBar = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-d5737ccf"]]);
|
|
17127
18079
|
|
|
17128
18080
|
const kdsTabBarSize = {
|
|
17129
18081
|
SMALL: "small",
|
|
@@ -17131,6 +18083,133 @@ const kdsTabBarSize = {
|
|
|
17131
18083
|
};
|
|
17132
18084
|
const kdsTabBarSizes = Object.values(kdsTabBarSize);
|
|
17133
18085
|
|
|
18086
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
18087
|
+
__name: "LoadingSkeletonItem",
|
|
18088
|
+
props: {
|
|
18089
|
+
shape: { default: "text" }
|
|
18090
|
+
},
|
|
18091
|
+
setup(__props) {
|
|
18092
|
+
return (_ctx, _cache) => {
|
|
18093
|
+
return openBlock(), createElementBlock("div", {
|
|
18094
|
+
class: normalizeClass(["kds-loading-skeleton-item", __props.shape]),
|
|
18095
|
+
"aria-hidden": "true"
|
|
18096
|
+
}, null, 2);
|
|
18097
|
+
};
|
|
18098
|
+
}
|
|
18099
|
+
});
|
|
18100
|
+
|
|
18101
|
+
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-86829b28"]]);
|
|
18102
|
+
|
|
18103
|
+
const _hoisted_1$3 = {
|
|
18104
|
+
key: 0,
|
|
18105
|
+
class: "kds-loading-skeleton",
|
|
18106
|
+
"aria-busy": "true"
|
|
18107
|
+
};
|
|
18108
|
+
const _hoisted_2$2 = {
|
|
18109
|
+
key: 0,
|
|
18110
|
+
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
18111
|
+
};
|
|
18112
|
+
const _hoisted_3$2 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
18113
|
+
const _hoisted_4$1 = {
|
|
18114
|
+
key: 1,
|
|
18115
|
+
class: "kds-loading-skeleton-input-with-label"
|
|
18116
|
+
};
|
|
18117
|
+
const _hoisted_5 = { class: "kds-loading-skeleton-list-item-text" };
|
|
18118
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
18119
|
+
__name: "KdsLoadingSkeleton",
|
|
18120
|
+
props: {
|
|
18121
|
+
variant: { default: "text" },
|
|
18122
|
+
loading: { type: Boolean, default: true },
|
|
18123
|
+
repeat: { default: 1 },
|
|
18124
|
+
repeatGap: { default: "var(--kds-spacing-container-1x)" }
|
|
18125
|
+
},
|
|
18126
|
+
setup(__props) {
|
|
18127
|
+
useCssVars((_ctx) => ({
|
|
18128
|
+
"v59c08829": _ctx.repeatGap
|
|
18129
|
+
}));
|
|
18130
|
+
return (_ctx, _cache) => {
|
|
18131
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
18132
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
18133
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
18134
|
+
key: `skeleton-${index}`
|
|
18135
|
+
}, [
|
|
18136
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
18137
|
+
createVNode(LoadingSkeletonItem, {
|
|
18138
|
+
shape: "text",
|
|
18139
|
+
class: "headline"
|
|
18140
|
+
}),
|
|
18141
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
18142
|
+
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
18143
|
+
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
18144
|
+
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
18145
|
+
])
|
|
18146
|
+
])) : __props.variant === "input-with-label" ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
18147
|
+
createVNode(LoadingSkeletonItem, {
|
|
18148
|
+
shape: "label",
|
|
18149
|
+
class: "label"
|
|
18150
|
+
}),
|
|
18151
|
+
createVNode(LoadingSkeletonItem, { shape: "input-with-label" })
|
|
18152
|
+
])) : __props.variant?.startsWith("list-item-") ? (openBlock(), createElementBlock("div", {
|
|
18153
|
+
key: 2,
|
|
18154
|
+
class: normalizeClass([
|
|
18155
|
+
"kds-loading-skeleton-list-item",
|
|
18156
|
+
{
|
|
18157
|
+
"kds-loading-skeleton-list-item-large": __props.variant.startsWith("list-item-large"),
|
|
18158
|
+
"kds-loading-skeleton-list-item-large-with-subtext": __props.variant === "list-item-large-with-subtext",
|
|
18159
|
+
"kds-loading-skeleton-list-item-small": __props.variant.startsWith("list-item-small")
|
|
18160
|
+
}
|
|
18161
|
+
])
|
|
18162
|
+
}, [
|
|
18163
|
+
createVNode(LoadingSkeletonItem, {
|
|
18164
|
+
shape: __props.variant.startsWith("list-item-large") ? "icon-large" : "icon-small"
|
|
18165
|
+
}, null, 8, ["shape"]),
|
|
18166
|
+
createElementVNode("div", _hoisted_5, [
|
|
18167
|
+
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
18168
|
+
__props.variant.endsWith("subtext") ? (openBlock(), createBlock(LoadingSkeletonItem, {
|
|
18169
|
+
key: 0,
|
|
18170
|
+
shape: "text"
|
|
18171
|
+
})) : createCommentVNode("", true)
|
|
18172
|
+
])
|
|
18173
|
+
], 2)) : (openBlock(), createBlock(LoadingSkeletonItem, {
|
|
18174
|
+
key: 3,
|
|
18175
|
+
shape: __props.variant
|
|
18176
|
+
}, null, 8, ["shape"]))
|
|
18177
|
+
], 64);
|
|
18178
|
+
}), 128))
|
|
18179
|
+
])) : (openBlock(), createElementBlock("div", mergeProps({ key: 1 }, _ctx.$attrs, { "aria-busy": "false" }), [
|
|
18180
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18181
|
+
], 16));
|
|
18182
|
+
};
|
|
18183
|
+
}
|
|
18184
|
+
});
|
|
18185
|
+
|
|
18186
|
+
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__scopeId", "data-v-e6597718"]]);
|
|
18187
|
+
|
|
18188
|
+
const loadingSkeletonItemShape = {
|
|
18189
|
+
TEXT: "text",
|
|
18190
|
+
LABEL: "label",
|
|
18191
|
+
ICON_LARGE: "icon-large",
|
|
18192
|
+
ICON_MEDIUM: "icon-medium",
|
|
18193
|
+
ICON_SMALL: "icon-small",
|
|
18194
|
+
BUTTON_LARGE: "button-large",
|
|
18195
|
+
BUTTON_MEDIUM: "button-medium",
|
|
18196
|
+
BUTTON_SMALL: "button-small",
|
|
18197
|
+
BUTTON_XSMALL: "button-xsmall",
|
|
18198
|
+
CARD: "card",
|
|
18199
|
+
INPUT_WITH_LABEL: "input-with-label"
|
|
18200
|
+
};
|
|
18201
|
+
const kdsLoadingSkeletonVariant = {
|
|
18202
|
+
...loadingSkeletonItemShape,
|
|
18203
|
+
HEADLINE_WITH_PARAGRAPH: "headline-with-paragraph",
|
|
18204
|
+
LIST_ITEM_LARGE: "list-item-large",
|
|
18205
|
+
LIST_ITEM_LARGE_WITH_SUBTEXT: "list-item-large-with-subtext",
|
|
18206
|
+
LIST_ITEM_SMALL: "list-item-small",
|
|
18207
|
+
LIST_ITEM_SMALL_WITH_SUBTEXT: "list-item-small-with-subtext"
|
|
18208
|
+
};
|
|
18209
|
+
const kdsLoadingSkeletonVariants = Object.values(
|
|
18210
|
+
kdsLoadingSkeletonVariant
|
|
18211
|
+
);
|
|
18212
|
+
|
|
17134
18213
|
const createUnwrappedPromise = () => {
|
|
17135
18214
|
let resolve = () => {
|
|
17136
18215
|
};
|
|
@@ -17209,7 +18288,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17209
18288
|
size: "medium"
|
|
17210
18289
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17211
18290
|
createElementVNode("div", _hoisted_2$1, toDisplayString(__props.headline), 1),
|
|
17212
|
-
createVNode(_sfc_main
|
|
18291
|
+
createVNode(_sfc_main$$, {
|
|
17213
18292
|
"leading-icon": "x-close",
|
|
17214
18293
|
variant: "transparent",
|
|
17215
18294
|
size: "medium",
|
|
@@ -17482,7 +18561,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17482
18561
|
unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
17483
18562
|
createElementVNode("div", _hoisted_2, toDisplayString(unref(config).value.message), 1),
|
|
17484
18563
|
unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
17485
|
-
createVNode(_sfc_main$
|
|
18564
|
+
createVNode(_sfc_main$J, {
|
|
17486
18565
|
modelValue: askAgain.value,
|
|
17487
18566
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
|
|
17488
18567
|
label: unref(config).value.doNotAskAgain.label,
|
|
@@ -17497,7 +18576,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17497
18576
|
name: "footer",
|
|
17498
18577
|
fn: withCtx(() => [
|
|
17499
18578
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
|
|
17500
|
-
return openBlock(), createBlock(_sfc_main
|
|
18579
|
+
return openBlock(), createBlock(_sfc_main$$, {
|
|
17501
18580
|
key: index,
|
|
17502
18581
|
destructive: button.destructive,
|
|
17503
18582
|
autofocus: button.autofocus,
|
|
@@ -17529,5 +18608,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17529
18608
|
|
|
17530
18609
|
const KdsDynamicModalProvider = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-41fc8d84"]]);
|
|
17531
18610
|
|
|
17532
|
-
export { KdsAvatar, KdsBadge, _sfc_main
|
|
18611
|
+
export { KdsAvatar, KdsBadge, _sfc_main$$ as KdsButton, KdsCardClickable, _sfc_main$J as KdsCheckbox, KdsCheckboxGroup, _sfc_main$y as KdsColorInput, KdsColorSwatch, KdsDataType, _sfc_main$u as KdsDateInput, _sfc_main$s as KdsDateTimeFormatInput, _sfc_main$l as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, KdsLabel, KdsLink, _sfc_main$_ as KdsLinkButton, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$O as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$i as KdsMultiSelectDropdown, KdsMultiSelectListBox, _sfc_main$r as KdsNumberInput, _sfc_main$x as KdsPasswordInput, _sfc_main$q as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsSearchInput, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$Y as KdsToggleButton, KdsTwinList, _sfc_main$w as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
|
|
17533
18612
|
//# sourceMappingURL=index.js.map
|