@knime/kds-components 1.1.3 → 1.1.5
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/CHANGELOG.md +15 -0
- package/dist/index.css +357 -236
- package/dist/index.js +1373 -726
- package/dist/index.js.map +1 -1
- package/dist/src/accessories/Icon/KdsDataType.vue.d.ts.map +1 -1
- package/dist/src/accessories/Icon/KdsIcon.vue.d.ts.map +1 -1
- package/dist/src/accessories/Icon/aliases.d.ts +18 -0
- package/dist/src/accessories/Icon/aliases.d.ts.map +1 -0
- package/dist/src/accessories/Icon/useIcon.d.ts +5 -0
- package/dist/src/accessories/Icon/useIcon.d.ts.map +1 -1
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts +8 -4
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/ActionButton/types.d.ts +2 -0
- package/dist/src/buttons/ActionButton/types.d.ts.map +1 -1
- package/dist/src/buttons/BaseButton.vue.d.ts +10 -2
- package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +4 -2
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +4 -2
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +4 -2
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts +38 -15
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +68 -30
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts +8 -4
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts +16 -3
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts +4 -2
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts +10 -2
- package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/BaseFormFieldWrapper.vue.d.ts +18 -4
- package/dist/src/forms/_helper/BaseFormFieldWrapper.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/InfoPopover/InfoPopover.vue.d.ts +10 -5
- package/dist/src/forms/_helper/InfoPopover/InfoPopover.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +18 -9
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +18 -9
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/VariablePopover/VariablePopover.vue.d.ts +10 -5
- package/dist/src/forms/_helper/VariablePopover/VariablePopover.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/BaseInput.vue.d.ts +18 -3
- package/dist/src/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +4 -2
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +10 -5
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +4 -2
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +38 -19
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +10 -5
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +6 -3
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +6 -3
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +6 -3
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +10 -5
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +10 -5
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts +28 -14
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts +18 -9
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +6 -3
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +38 -19
- package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts +6 -3
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +10 -5
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +10 -5
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts +6 -3
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/SortableListBox/KdsSortableListBox.vue.d.ts +4 -4
- package/dist/src/forms/selects/SortableListBox/types.d.ts +1 -1
- package/dist/src/forms/selects/SortableListBox/types.d.ts.map +1 -1
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts +9 -3
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/BaseCard.vue.d.ts +34 -5
- package/dist/src/layouts/Card/BaseCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/CardHeader.vue.d.ts +18 -3
- package/dist/src/layouts/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsCard.vue.d.ts +26 -4
- package/dist/src/layouts/Card/KdsCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts +26 -4
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts +26 -4
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts +26 -4
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts +10 -2
- package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/src/layouts/Navigation/types.d.ts +1 -1
- package/dist/src/layouts/Navigation/types.d.ts.map +1 -1
- package/dist/src/layouts/ResizeContainer/KdsResizeContainer.vue.d.ts +13 -3
- package/dist/src/layouts/ResizeContainer/KdsResizeContainer.vue.d.ts.map +1 -1
- package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts +33 -0
- package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts.map +1 -0
- package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts +17 -0
- package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts.map +1 -0
- package/dist/src/layouts/Tree/BaseTree/context.d.ts +4 -0
- package/dist/src/layouts/Tree/BaseTree/context.d.ts.map +1 -0
- package/dist/src/layouts/Tree/BaseTree/renderNode.d.ts +35 -0
- package/dist/src/layouts/Tree/BaseTree/renderNode.d.ts.map +1 -0
- package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts +11 -0
- package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts.map +1 -0
- package/dist/src/layouts/Tree/KdsTree.vue.d.ts +159 -0
- package/dist/src/layouts/Tree/KdsTree.vue.d.ts.map +1 -0
- package/dist/src/layouts/Tree/index.d.ts +3 -0
- package/dist/src/layouts/Tree/index.d.ts.map +1 -0
- package/dist/src/layouts/Tree/types.d.ts +100 -0
- package/dist/src/layouts/Tree/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 +38 -9
- package/dist/src/overlays/Modal/KdsModal.vue.d.ts.map +1 -1
- package/dist/src/overlays/Modal/KdsModalLayout.vue.d.ts +18 -3
- package/dist/src/overlays/Modal/KdsModalLayout.vue.d.ts.map +1 -1
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts +10 -2
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/src/overlays/SideDrawer/KdsSideDrawer.vue.d.ts +10 -2
- package/dist/src/overlays/SideDrawer/KdsSideDrawer.vue.d.ts.map +1 -1
- package/dist/src/{containers/FileExplorer/useKeyPressedUntilMouseClick/index.d.ts → util/useKeyPressedUntilMouseClick.d.ts} +1 -1
- package/dist/src/util/useKeyPressedUntilMouseClick.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/src/containers/FileExplorer/useKeyPressedUntilMouseClick/index.d.ts.map +0 -1
- package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts +0 -3
- package/dist/src/containers/FileExplorer/utils/filterSlotsForDynamicColumns.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, effectScope, defineComponent, createPropsRestProxy, watch, computed, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, normalizeStyle, createCommentVNode, shallowRef, markRaw, readonly, toRef, resolveDynamicComponent, mergeProps, createTextVNode, withCtx, renderSlot, h as h$1, useSlots, getCurrentInstance, useCssVars, createVNode, useTemplateRef, nextTick, withModifiers, useModel, useId, mergeModels, createSlots, normalizeProps, guardReactiveProps, watchEffect, onMounted, onUnmounted, inject, provide, resolveComponent, withKeys, useAttrs, defineAsyncComponent, toRefs, vShow, onBeforeUpdate, onBeforeUnmount, isRef, vModelText } from 'vue';
|
|
1
|
+
import { ref, effectScope, defineComponent, createPropsRestProxy, watch, computed, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, normalizeStyle, createCommentVNode, shallowRef, markRaw, readonly, toRef, resolveDynamicComponent, mergeProps, createTextVNode, withCtx, renderSlot, h as h$1, useSlots, getCurrentInstance, useCssVars, createVNode, useTemplateRef, nextTick, withModifiers, useModel, useId, mergeModels, createSlots, normalizeProps, guardReactiveProps, watchEffect, onMounted, onUnmounted, inject, provide, resolveComponent, withKeys, useAttrs, defineAsyncComponent, toRefs, vShow, onBeforeUpdate, onBeforeUnmount, isRef, vModelText, toRaw } from 'vue';
|
|
2
2
|
import { useResizeObserver, useMutationObserver, useEventListener, useElementSize, onClickOutside, useVirtualList, useMousePressed, useTemplateRefsList, useLocalStorage, useDark, usePreferredDark } from '@vueuse/core';
|
|
3
3
|
|
|
4
4
|
import './index.css';function elementOverflowsHorizontally(element) {
|
|
@@ -248,14 +248,14 @@ const kdsAvatarSize = {
|
|
|
248
248
|
};
|
|
249
249
|
const kdsAvatarSizes = Object.values(kdsAvatarSize);
|
|
250
250
|
|
|
251
|
-
const _hoisted_1$
|
|
252
|
-
const _hoisted_2$
|
|
253
|
-
const _hoisted_3$
|
|
251
|
+
const _hoisted_1$1e = ["role", "aria-hidden", "aria-label", "data-color"];
|
|
252
|
+
const _hoisted_2$L = ["src"];
|
|
253
|
+
const _hoisted_3$w = {
|
|
254
254
|
key: 1,
|
|
255
255
|
class: "kds-avatar-initials",
|
|
256
256
|
"aria-hidden": "true"
|
|
257
257
|
};
|
|
258
|
-
const _sfc_main$
|
|
258
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
259
259
|
__name: "KdsAvatar",
|
|
260
260
|
props: {
|
|
261
261
|
initials: {},
|
|
@@ -318,10 +318,10 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
318
318
|
alt: "",
|
|
319
319
|
"aria-hidden": "true",
|
|
320
320
|
onError: onImageError
|
|
321
|
-
}, null, 40, _hoisted_2$
|
|
321
|
+
}, null, 40, _hoisted_2$L)) : (openBlock(), createElementBlock("div", _hoisted_3$w, [
|
|
322
322
|
createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
|
|
323
323
|
]))
|
|
324
|
-
], 10, _hoisted_1$
|
|
324
|
+
], 10, _hoisted_1$1e)), [
|
|
325
325
|
[unref(vKdsTooltip), hasTitle.value ? accessibleTitle.value : void 0]
|
|
326
326
|
]);
|
|
327
327
|
};
|
|
@@ -336,16 +336,16 @@ const _export_sfc = (sfc, props) => {
|
|
|
336
336
|
return target;
|
|
337
337
|
};
|
|
338
338
|
|
|
339
|
-
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
339
|
+
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-a75804e1"]]);
|
|
340
340
|
|
|
341
|
-
const _hoisted_1$
|
|
342
|
-
const _hoisted_2$
|
|
343
|
-
const _hoisted_3$
|
|
341
|
+
const _hoisted_1$1d = ["aria-label"];
|
|
342
|
+
const _hoisted_2$K = { class: "avatars" };
|
|
343
|
+
const _hoisted_3$v = {
|
|
344
344
|
key: 0,
|
|
345
345
|
class: "more-count",
|
|
346
346
|
"aria-hidden": "true"
|
|
347
347
|
};
|
|
348
|
-
const _sfc_main$
|
|
348
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
349
349
|
__name: "KdsAvatarCounter",
|
|
350
350
|
props: {
|
|
351
351
|
moreCount: { default: 0 },
|
|
@@ -365,7 +365,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
365
365
|
role: "group",
|
|
366
366
|
"aria-label": ariaLabel.value
|
|
367
367
|
}, [
|
|
368
|
-
createElementVNode("div", _hoisted_2$
|
|
368
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
369
369
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
|
|
370
370
|
return openBlock(), createBlock(KdsAvatar, {
|
|
371
371
|
key: index,
|
|
@@ -379,13 +379,13 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
}, null, 8, ["style", "size", "initials", "title", "src"]);
|
|
380
380
|
}), 128))
|
|
381
381
|
]),
|
|
382
|
-
__props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
383
|
-
], 8, _hoisted_1$
|
|
382
|
+
__props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$v, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
|
|
383
|
+
], 8, _hoisted_1$1d);
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
|
|
388
|
-
const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
388
|
+
const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__scopeId", "data-v-1aef516d"]]);
|
|
389
389
|
|
|
390
390
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
391
391
|
const v = glob$1[path$13];
|
|
@@ -395,25 +395,38 @@ const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
|
395
395
|
});
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
+
const iconCache = /* @__PURE__ */ new Map();
|
|
399
|
+
const iconLoadPromises = /* @__PURE__ */ new Map();
|
|
398
400
|
function useIcon({
|
|
399
401
|
name,
|
|
400
402
|
folder
|
|
401
403
|
}) {
|
|
402
|
-
const iconCache = /* @__PURE__ */ new Map();
|
|
403
404
|
const iconComponent = shallowRef(null);
|
|
404
405
|
const status = shallowRef("loading");
|
|
405
406
|
watch(
|
|
406
407
|
() => name.value,
|
|
407
408
|
(newName) => {
|
|
408
|
-
|
|
409
|
-
|
|
409
|
+
const cacheKey = `${folder}/${newName}`;
|
|
410
|
+
if (iconCache.has(cacheKey)) {
|
|
411
|
+
iconComponent.value = iconCache.get(cacheKey);
|
|
410
412
|
status.value = "loaded";
|
|
411
413
|
return;
|
|
412
414
|
}
|
|
413
415
|
status.value = "loading";
|
|
414
|
-
__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/auto-configure.svg": () => import('./auto-configure-BU7AIhL7.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/cell-renderer.svg": () => import('./cell-renderer-DGnkQWTq.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/collection.svg": () => import('./collection-BBXRVj4b.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/column-width.svg": () => import('./column-width-Cjb-6nqI.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-D43FaHi-.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/duplicate.svg": () => import('./duplicate-Mtq886XD.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/feedback.svg": () => import('./feedback-CSzO39Ck.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-move.svg": () => import('./folder-move-6L5NfoIs.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-table.svg": () => import('./import-table-BaqmTPnF.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-component.svg": () => import('./linked-component-BOb5aj87.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/login.svg": () => import('./login-DGaxAy8E.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/path-separator.svg": () => import('./path-separator-DRnUilGA.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/random-seed.svg": () => import('./random-seed-BmLMj_2x.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/table-statistics.svg": () => import('./table-statistics-y-P6EXGX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/table.svg": () => import('./table-Pffb9Oig.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/update-file.svg": () => import('./update-file-5lTfm97G.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/validate.svg": () => import('./validate-CD0_eO0m.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) => {
|
|
415
|
-
|
|
416
|
-
iconCache.set(newName, component);
|
|
416
|
+
let loadPromise = iconLoadPromises.get(cacheKey);
|
|
417
|
+
if (!loadPromise) {
|
|
418
|
+
loadPromise = __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/auto-configure.svg": () => import('./auto-configure-BU7AIhL7.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/cell-renderer.svg": () => import('./cell-renderer-DGnkQWTq.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/collection.svg": () => import('./collection-BBXRVj4b.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/column-width.svg": () => import('./column-width-Cjb-6nqI.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-D43FaHi-.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/duplicate.svg": () => import('./duplicate-Mtq886XD.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/feedback.svg": () => import('./feedback-CSzO39Ck.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-move.svg": () => import('./folder-move-6L5NfoIs.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-table.svg": () => import('./import-table-BaqmTPnF.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-component.svg": () => import('./linked-component-BOb5aj87.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/login.svg": () => import('./login-DGaxAy8E.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/path-separator.svg": () => import('./path-separator-DRnUilGA.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/random-seed.svg": () => import('./random-seed-BmLMj_2x.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/table-statistics.svg": () => import('./table-statistics-y-P6EXGX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/table.svg": () => import('./table-Pffb9Oig.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/update-file.svg": () => import('./update-file-5lTfm97G.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/validate.svg": () => import('./validate-CD0_eO0m.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) => {
|
|
419
|
+
const component = markRaw(module.default);
|
|
420
|
+
iconCache.set(cacheKey, component);
|
|
421
|
+
iconLoadPromises.delete(cacheKey);
|
|
422
|
+
return component;
|
|
423
|
+
}).catch((error) => {
|
|
424
|
+
iconLoadPromises.delete(cacheKey);
|
|
425
|
+
throw error;
|
|
426
|
+
});
|
|
427
|
+
iconLoadPromises.set(cacheKey, loadPromise);
|
|
428
|
+
}
|
|
429
|
+
loadPromise.then((component) => {
|
|
417
430
|
if (name.value !== newName) {
|
|
418
431
|
return;
|
|
419
432
|
}
|
|
@@ -442,7 +455,8 @@ function useIcon({
|
|
|
442
455
|
};
|
|
443
456
|
}
|
|
444
457
|
|
|
445
|
-
const
|
|
458
|
+
const _hoisted_1$1c = ["data-kds-icon-name"];
|
|
459
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
446
460
|
__name: "KdsIcon",
|
|
447
461
|
props: {
|
|
448
462
|
name: {},
|
|
@@ -460,19 +474,21 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
460
474
|
return unref(iconComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent)), {
|
|
461
475
|
key: 0,
|
|
462
476
|
class: normalizeClass(["kds-icon", __props.size, { disabled: __props.disabled }]),
|
|
477
|
+
"data-kds-icon-name": props.name,
|
|
463
478
|
"aria-hidden": "true",
|
|
464
479
|
focusable: "false"
|
|
465
|
-
}, null, 8, ["class"])) : (openBlock(), createElementBlock("span", {
|
|
480
|
+
}, null, 8, ["class", "data-kds-icon-name"])) : (openBlock(), createElementBlock("span", {
|
|
466
481
|
key: 1,
|
|
467
482
|
class: normalizeClass(["kds-icon", __props.size, { disabled: __props.disabled }]),
|
|
483
|
+
"data-kds-icon-name": props.name,
|
|
468
484
|
"aria-hidden": "true",
|
|
469
485
|
focusable: "false"
|
|
470
|
-
}, null,
|
|
486
|
+
}, null, 10, _hoisted_1$1c));
|
|
471
487
|
};
|
|
472
488
|
}
|
|
473
489
|
});
|
|
474
490
|
|
|
475
|
-
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
491
|
+
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__scopeId", "data-v-9a9cd3e8"]]);
|
|
476
492
|
|
|
477
493
|
const ID_TO_ICON_MAP = {
|
|
478
494
|
// Flow Variables
|
|
@@ -825,7 +841,8 @@ const kdsDataTypeSize = {
|
|
|
825
841
|
};
|
|
826
842
|
const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
|
|
827
843
|
|
|
828
|
-
const
|
|
844
|
+
const _hoisted_1$1b = ["data-kds-icon-name"];
|
|
845
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
829
846
|
__name: "KdsDataType",
|
|
830
847
|
props: {
|
|
831
848
|
iconName: { default: "unknown-datatype" },
|
|
@@ -858,21 +875,22 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
858
875
|
__expose({ status });
|
|
859
876
|
return (_ctx, _cache) => {
|
|
860
877
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
861
|
-
class: normalizeClass(["kds-data-type-icon-container", __props.size, { disabled: __props.disabled }])
|
|
878
|
+
class: normalizeClass(["kds-data-type-icon-container", __props.size, { disabled: __props.disabled }]),
|
|
879
|
+
"data-kds-icon-name": iconName.value
|
|
862
880
|
}, [
|
|
863
881
|
(openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent)), {
|
|
864
882
|
class: normalizeClass(["kds-icon", "kds-data-type-icon", iconSize.value]),
|
|
865
883
|
"aria-hidden": "true",
|
|
866
884
|
focusable: "false"
|
|
867
885
|
}, null, 8, ["class"]))
|
|
868
|
-
],
|
|
886
|
+
], 10, _hoisted_1$1b)), [
|
|
869
887
|
[unref(vKdsTooltip), __props.iconTitle]
|
|
870
888
|
]);
|
|
871
889
|
};
|
|
872
890
|
}
|
|
873
891
|
});
|
|
874
892
|
|
|
875
|
-
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
893
|
+
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__scopeId", "data-v-b929f2eb"]]);
|
|
876
894
|
|
|
877
895
|
const kdsBadgeVariant = {
|
|
878
896
|
NEUTRAL: "neutral",
|
|
@@ -889,8 +907,8 @@ const kdsBadgeSize = {
|
|
|
889
907
|
};
|
|
890
908
|
const kdsBadgeSizes = Object.values(kdsBadgeSize);
|
|
891
909
|
|
|
892
|
-
const _hoisted_1$
|
|
893
|
-
const _sfc_main$
|
|
910
|
+
const _hoisted_1$1a = { class: "label-wrapper" };
|
|
911
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
894
912
|
__name: "KdsBadge",
|
|
895
913
|
props: {
|
|
896
914
|
label: {},
|
|
@@ -912,13 +930,13 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
912
930
|
name: __props.leadingIcon,
|
|
913
931
|
size: sizeToIconSize[__props.size]
|
|
914
932
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true),
|
|
915
|
-
createElementVNode("span", _hoisted_1$
|
|
933
|
+
createElementVNode("span", _hoisted_1$1a, toDisplayString(__props.label), 1)
|
|
916
934
|
], 2);
|
|
917
935
|
};
|
|
918
936
|
}
|
|
919
937
|
});
|
|
920
938
|
|
|
921
|
-
const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
939
|
+
const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__scopeId", "data-v-df64f7cf"]]);
|
|
922
940
|
|
|
923
941
|
const kdsProgressBarSize = {
|
|
924
942
|
MEDIUM: "medium",
|
|
@@ -926,13 +944,13 @@ const kdsProgressBarSize = {
|
|
|
926
944
|
};
|
|
927
945
|
const kdsProgressBarSizes = Object.values(kdsProgressBarSize);
|
|
928
946
|
|
|
929
|
-
const _hoisted_1$
|
|
930
|
-
const _hoisted_2$
|
|
947
|
+
const _hoisted_1$19 = ["aria-label"];
|
|
948
|
+
const _hoisted_2$J = {
|
|
931
949
|
key: 0,
|
|
932
950
|
class: "indeterminate-bar",
|
|
933
951
|
"aria-hidden": "true"
|
|
934
952
|
};
|
|
935
|
-
const _sfc_main$
|
|
953
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
936
954
|
__name: "KdsProgressBar",
|
|
937
955
|
props: {
|
|
938
956
|
size: { default: () => kdsProgressBarSize.MEDIUM },
|
|
@@ -967,16 +985,16 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
967
985
|
withDirectives(createElementVNode("progress", mergeProps({
|
|
968
986
|
"aria-label": title.value,
|
|
969
987
|
class: "progress"
|
|
970
|
-
}, __props.indeterminate ? {} : { value: progressValue.value, max: 100 }), null, 16, _hoisted_1$
|
|
988
|
+
}, __props.indeterminate ? {} : { value: progressValue.value, max: 100 }), null, 16, _hoisted_1$19), [
|
|
971
989
|
[unref(vKdsTooltip), title.value]
|
|
972
990
|
]),
|
|
973
|
-
__props.indeterminate ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
991
|
+
__props.indeterminate ? (openBlock(), createElementBlock("span", _hoisted_2$J)) : createCommentVNode("", true)
|
|
974
992
|
], 2);
|
|
975
993
|
};
|
|
976
994
|
}
|
|
977
995
|
});
|
|
978
996
|
|
|
979
|
-
const KdsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
997
|
+
const KdsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-06930dc4"]]);
|
|
980
998
|
|
|
981
999
|
const kdsColorSwatchType = {
|
|
982
1000
|
LEARNER: "learner",
|
|
@@ -995,14 +1013,14 @@ const kdsColorSwatchSize = {
|
|
|
995
1013
|
};
|
|
996
1014
|
const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
|
|
997
1015
|
|
|
998
|
-
const _hoisted_1$
|
|
1016
|
+
const _hoisted_1$18 = ["role", "aria-hidden", "aria-label"];
|
|
999
1017
|
const RGBA_SHORT_HEX_LENGTH = 4;
|
|
1000
1018
|
const RGBA_LONG_HEX_LENGTH = 8;
|
|
1001
1019
|
const ALPHA_NIBBLE_INDEX = 3;
|
|
1002
1020
|
const ALPHA_BYTE_START = 6;
|
|
1003
1021
|
const RGB_SHORT_HEX_LENGTH = 3;
|
|
1004
1022
|
const RGB_LONG_HEX_LENGTH = 6;
|
|
1005
|
-
const _sfc_main$
|
|
1023
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
1006
1024
|
__name: "KdsColorSwatch",
|
|
1007
1025
|
props: {
|
|
1008
1026
|
color: {},
|
|
@@ -1076,21 +1094,21 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
1076
1094
|
style: normalizeStyle(swatchStyle.value),
|
|
1077
1095
|
"aria-hidden": hasTitle.value ? void 0 : "true",
|
|
1078
1096
|
"aria-label": hasTitle.value ? accessibleTitle.value : void 0
|
|
1079
|
-
}, null, 14, _hoisted_1$
|
|
1097
|
+
}, null, 14, _hoisted_1$18)), [
|
|
1080
1098
|
[unref(vKdsTooltip), hasTitle.value ? accessibleTitle.value : void 0]
|
|
1081
1099
|
]);
|
|
1082
1100
|
};
|
|
1083
1101
|
}
|
|
1084
1102
|
});
|
|
1085
1103
|
|
|
1086
|
-
const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1104
|
+
const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-b91cf470"]]);
|
|
1087
1105
|
|
|
1088
|
-
const _hoisted_1$
|
|
1089
|
-
const _hoisted_2$
|
|
1106
|
+
const _hoisted_1$17 = ["aria-label"];
|
|
1107
|
+
const _hoisted_2$I = {
|
|
1090
1108
|
key: 0,
|
|
1091
1109
|
class: "label"
|
|
1092
1110
|
};
|
|
1093
|
-
const _sfc_main$
|
|
1111
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
1094
1112
|
__name: "KdsLiveStatus",
|
|
1095
1113
|
props: {
|
|
1096
1114
|
status: { default: "red" },
|
|
@@ -1110,19 +1128,19 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
1110
1128
|
"aria-label": accessibleTitle.value
|
|
1111
1129
|
}, [
|
|
1112
1130
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "dot" }, null, -1)),
|
|
1113
|
-
__props.label ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$
|
|
1131
|
+
__props.label ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$I, [
|
|
1114
1132
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
1115
1133
|
])), [
|
|
1116
1134
|
[unref(vKdsTooltip), __props.label, "truncated"]
|
|
1117
1135
|
]) : createCommentVNode("", true)
|
|
1118
|
-
], 10, _hoisted_1$
|
|
1136
|
+
], 10, _hoisted_1$17)), [
|
|
1119
1137
|
[unref(vKdsTooltip), !__props.label ? accessibleTitle.value : void 0]
|
|
1120
1138
|
]);
|
|
1121
1139
|
};
|
|
1122
1140
|
}
|
|
1123
1141
|
});
|
|
1124
1142
|
|
|
1125
|
-
const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1143
|
+
const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-e67b29f5"]]);
|
|
1126
1144
|
|
|
1127
1145
|
const kdsLiveStatusStatus = {
|
|
1128
1146
|
RED: "red",
|
|
@@ -1138,8 +1156,8 @@ const kdsLiveStatusSize = {
|
|
|
1138
1156
|
};
|
|
1139
1157
|
const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
|
|
1140
1158
|
|
|
1141
|
-
const _hoisted_1$
|
|
1142
|
-
const _sfc_main$
|
|
1159
|
+
const _hoisted_1$16 = ["data-style"];
|
|
1160
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
1143
1161
|
__name: "KdsLoadingSpinner",
|
|
1144
1162
|
props: {
|
|
1145
1163
|
size: { default: "medium" },
|
|
@@ -1164,12 +1182,12 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
1164
1182
|
cy: "60",
|
|
1165
1183
|
r: "50"
|
|
1166
1184
|
}, null, -1)
|
|
1167
|
-
])], 10, _hoisted_1$
|
|
1185
|
+
])], 10, _hoisted_1$16);
|
|
1168
1186
|
};
|
|
1169
1187
|
}
|
|
1170
1188
|
});
|
|
1171
1189
|
|
|
1172
|
-
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1190
|
+
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-54835dc0"]]);
|
|
1173
1191
|
|
|
1174
1192
|
const kdsLoadingSpinnerVariant = {
|
|
1175
1193
|
ON_PRIMARY: "onPrimary",
|
|
@@ -1179,7 +1197,7 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
1179
1197
|
kdsLoadingSpinnerVariant
|
|
1180
1198
|
);
|
|
1181
1199
|
|
|
1182
|
-
const _sfc_main$
|
|
1200
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
1183
1201
|
__name: "KdsMissingValueIcon",
|
|
1184
1202
|
props: {
|
|
1185
1203
|
size: {}
|
|
@@ -1195,13 +1213,13 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
1195
1213
|
}
|
|
1196
1214
|
});
|
|
1197
1215
|
|
|
1198
|
-
const KdsMissingValueIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1216
|
+
const KdsMissingValueIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-df682150"]]);
|
|
1199
1217
|
|
|
1200
|
-
const _hoisted_1$
|
|
1201
|
-
const _hoisted_2$
|
|
1202
|
-
const _hoisted_3$
|
|
1203
|
-
const _hoisted_4$
|
|
1204
|
-
const _hoisted_5$
|
|
1218
|
+
const _hoisted_1$15 = { class: "donut-container" };
|
|
1219
|
+
const _hoisted_2$H = ["height", "width", "viewBox"];
|
|
1220
|
+
const _hoisted_3$u = ["r", "stroke-width"];
|
|
1221
|
+
const _hoisted_4$q = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1222
|
+
const _hoisted_5$g = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1205
1223
|
const _hoisted_6$b = {
|
|
1206
1224
|
key: 0,
|
|
1207
1225
|
class: "donut-text"
|
|
@@ -1213,7 +1231,7 @@ const _hoisted_8$3 = {
|
|
|
1213
1231
|
};
|
|
1214
1232
|
const radius = 22;
|
|
1215
1233
|
const innerRadius = 10;
|
|
1216
|
-
const _sfc_main$
|
|
1234
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
1217
1235
|
__name: "KdsDonutChart",
|
|
1218
1236
|
props: {
|
|
1219
1237
|
value: {},
|
|
@@ -1257,7 +1275,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1257
1275
|
const transformWedge = computed(() => `rotate(-90, ${radius}, ${radius})`);
|
|
1258
1276
|
const disabled = computed(() => !Number.isFinite(__props.maxValue));
|
|
1259
1277
|
return (_ctx, _cache) => {
|
|
1260
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1278
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
1261
1279
|
(openBlock(), createElementBlock("svg", {
|
|
1262
1280
|
height: diameter.value,
|
|
1263
1281
|
width: diameter.value,
|
|
@@ -1271,7 +1289,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1271
1289
|
r: r.value,
|
|
1272
1290
|
"stroke-width": strokeWidth.value,
|
|
1273
1291
|
fill: "transparent"
|
|
1274
|
-
}, null, 8, _hoisted_3$
|
|
1292
|
+
}, null, 8, _hoisted_3$u),
|
|
1275
1293
|
__props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1276
1294
|
key: 0,
|
|
1277
1295
|
class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
|
|
@@ -1283,7 +1301,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1283
1301
|
"stroke-dashoffset": secondaryStrokeDashOffset.value,
|
|
1284
1302
|
fill: "transparent",
|
|
1285
1303
|
transform: transformWedge.value
|
|
1286
|
-
}, null, 10, _hoisted_4$
|
|
1304
|
+
}, null, 10, _hoisted_4$q)) : createCommentVNode("", true),
|
|
1287
1305
|
!disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1288
1306
|
key: 1,
|
|
1289
1307
|
class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
|
|
@@ -1295,8 +1313,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1295
1313
|
"stroke-dashoffset": strokeDashOffset.value,
|
|
1296
1314
|
fill: "transparent",
|
|
1297
1315
|
transform: transformWedge.value
|
|
1298
|
-
}, null, 10, _hoisted_5$
|
|
1299
|
-
], 8, _hoisted_2$
|
|
1316
|
+
}, null, 10, _hoisted_5$g)) : createCommentVNode("", true)
|
|
1317
|
+
], 8, _hoisted_2$H)),
|
|
1300
1318
|
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
|
|
1301
1319
|
createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
|
|
1302
1320
|
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
|
|
@@ -1306,22 +1324,22 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
1306
1324
|
}
|
|
1307
1325
|
});
|
|
1308
1326
|
|
|
1309
|
-
const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1327
|
+
const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-f5faf61c"]]);
|
|
1310
1328
|
|
|
1311
|
-
const _sfc_main$
|
|
1329
|
+
const _sfc_main$1D = { };
|
|
1312
1330
|
|
|
1313
|
-
const _hoisted_1$
|
|
1331
|
+
const _hoisted_1$14 = { class: "kds-divider" };
|
|
1314
1332
|
|
|
1315
1333
|
function _sfc_render$1(_ctx, _cache) {
|
|
1316
|
-
return (openBlock(), createElementBlock("hr", _hoisted_1$
|
|
1334
|
+
return (openBlock(), createElementBlock("hr", _hoisted_1$14))
|
|
1317
1335
|
}
|
|
1318
|
-
const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
1336
|
+
const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1D, [['render',_sfc_render$1],['__scopeId',"data-v-4d059bd3"]]);
|
|
1319
1337
|
|
|
1320
|
-
const _hoisted_1$
|
|
1338
|
+
const _hoisted_1$13 = {
|
|
1321
1339
|
key: 0,
|
|
1322
1340
|
class: "label"
|
|
1323
1341
|
};
|
|
1324
|
-
const _sfc_main$
|
|
1342
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
1325
1343
|
__name: "BaseButton",
|
|
1326
1344
|
props: {
|
|
1327
1345
|
dataTestId: {},
|
|
@@ -1384,7 +1402,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
1384
1402
|
size: iconSize.value
|
|
1385
1403
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
1386
1404
|
], true),
|
|
1387
|
-
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1405
|
+
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$13, toDisplayString(props.label), 1)) : createCommentVNode("", true),
|
|
1388
1406
|
props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
|
|
1389
1407
|
key: 1,
|
|
1390
1408
|
name: props.trailingIcon,
|
|
@@ -1399,9 +1417,9 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
1399
1417
|
}
|
|
1400
1418
|
});
|
|
1401
1419
|
|
|
1402
|
-
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1420
|
+
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-ee3f8b5d"]]);
|
|
1403
1421
|
|
|
1404
|
-
const _sfc_main$
|
|
1422
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
1405
1423
|
__name: "KdsButton",
|
|
1406
1424
|
props: {
|
|
1407
1425
|
dataTestId: {},
|
|
@@ -1467,7 +1485,7 @@ function isExternalUrl(url) {
|
|
|
1467
1485
|
return true;
|
|
1468
1486
|
}
|
|
1469
1487
|
|
|
1470
|
-
const _sfc_main$
|
|
1488
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
1471
1489
|
__name: "KdsLinkButton",
|
|
1472
1490
|
props: {
|
|
1473
1491
|
dataTestId: {},
|
|
@@ -1750,14 +1768,14 @@ const kdsModalVariants = Object.values(kdsModalVariant);
|
|
|
1750
1768
|
width: kdsModalWidth.MEDIUM,
|
|
1751
1769
|
closedby: kdsModalClosedBy.CLOSEREQUEST});
|
|
1752
1770
|
|
|
1753
|
-
const _hoisted_1
|
|
1754
|
-
const _hoisted_2$
|
|
1755
|
-
const _hoisted_3$
|
|
1756
|
-
const _hoisted_4$
|
|
1771
|
+
const _hoisted_1$12 = { class: "modal-header" };
|
|
1772
|
+
const _hoisted_2$G = { class: "modal-header-headline" };
|
|
1773
|
+
const _hoisted_3$t = ["data-variant"];
|
|
1774
|
+
const _hoisted_4$p = {
|
|
1757
1775
|
key: 0,
|
|
1758
1776
|
class: "modal-footer"
|
|
1759
1777
|
};
|
|
1760
|
-
const _sfc_main$
|
|
1778
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
1761
1779
|
...{ inheritAttrs: false },
|
|
1762
1780
|
__name: "KdsModalLayout",
|
|
1763
1781
|
props: {
|
|
@@ -1769,19 +1787,19 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1769
1787
|
},
|
|
1770
1788
|
setup(__props) {
|
|
1771
1789
|
useCssVars((_ctx) => ({
|
|
1772
|
-
"
|
|
1790
|
+
"v6361116e": _ctx.overflow
|
|
1773
1791
|
}));
|
|
1774
1792
|
const props = createPropsRestProxy(__props, ["headline", "variant", "overflow"]);
|
|
1775
1793
|
return (_ctx, _cache) => {
|
|
1776
1794
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1777
|
-
createElementVNode("header", _hoisted_1
|
|
1795
|
+
createElementVNode("header", _hoisted_1$12, [
|
|
1778
1796
|
props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
1779
1797
|
key: 0,
|
|
1780
1798
|
name: props.leadingIcon,
|
|
1781
1799
|
size: "medium"
|
|
1782
1800
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
1783
|
-
createElementVNode("div", _hoisted_2$
|
|
1784
|
-
createVNode(_sfc_main$
|
|
1801
|
+
createElementVNode("div", _hoisted_2$G, toDisplayString(__props.headline), 1),
|
|
1802
|
+
createVNode(_sfc_main$1B, {
|
|
1785
1803
|
"leading-icon": "x-close",
|
|
1786
1804
|
variant: "transparent",
|
|
1787
1805
|
size: "medium",
|
|
@@ -1795,8 +1813,8 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1795
1813
|
"data-variant": __props.variant
|
|
1796
1814
|
}, [
|
|
1797
1815
|
renderSlot(_ctx.$slots, "body", {}, void 0, true)
|
|
1798
|
-
], 8, _hoisted_3$
|
|
1799
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$
|
|
1816
|
+
], 8, _hoisted_3$t),
|
|
1817
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_4$p, [
|
|
1800
1818
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
1801
1819
|
])) : createCommentVNode("", true)
|
|
1802
1820
|
], 64);
|
|
@@ -1804,10 +1822,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1804
1822
|
}
|
|
1805
1823
|
});
|
|
1806
1824
|
|
|
1807
|
-
const KdsModalLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1825
|
+
const KdsModalLayout = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-3b9d0ae0"]]);
|
|
1808
1826
|
|
|
1809
|
-
const _hoisted_1$
|
|
1810
|
-
const _sfc_main$
|
|
1827
|
+
const _hoisted_1$11 = ["closedby"];
|
|
1828
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
1811
1829
|
__name: "KdsModal",
|
|
1812
1830
|
props: {
|
|
1813
1831
|
leadingIcon: {},
|
|
@@ -1822,7 +1840,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
1822
1840
|
emits: ["close", "closed"],
|
|
1823
1841
|
setup(__props, { emit: __emit }) {
|
|
1824
1842
|
useCssVars((_ctx) => ({
|
|
1825
|
-
"
|
|
1843
|
+
"v8f271084": _ctx.overflow
|
|
1826
1844
|
}));
|
|
1827
1845
|
const emit = __emit;
|
|
1828
1846
|
const dialog = useTemplateRef("dialogElement");
|
|
@@ -1909,16 +1927,16 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
1909
1927
|
_: 3
|
|
1910
1928
|
}, 8, ["headline", "leading-icon", "variant", "overflow"])
|
|
1911
1929
|
], true)
|
|
1912
|
-
], 42, _hoisted_1$
|
|
1930
|
+
], 42, _hoisted_1$11)) : createCommentVNode("", true);
|
|
1913
1931
|
};
|
|
1914
1932
|
}
|
|
1915
1933
|
});
|
|
1916
1934
|
|
|
1917
|
-
const KdsModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1935
|
+
const KdsModal = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-1f306093"]]);
|
|
1918
1936
|
|
|
1919
|
-
const _hoisted_1$
|
|
1920
|
-
const _hoisted_2$
|
|
1921
|
-
const _sfc_main$
|
|
1937
|
+
const _hoisted_1$10 = ["id"];
|
|
1938
|
+
const _hoisted_2$F = { class: "subtext-text" };
|
|
1939
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
1922
1940
|
__name: "KdsSubText",
|
|
1923
1941
|
props: {
|
|
1924
1942
|
id: {},
|
|
@@ -1949,27 +1967,27 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
1949
1967
|
variant: "onSurface",
|
|
1950
1968
|
"aria-hidden": "true"
|
|
1951
1969
|
})) : createCommentVNode("", true),
|
|
1952
|
-
createElementVNode("span", _hoisted_2$
|
|
1953
|
-
], 10, _hoisted_1$
|
|
1970
|
+
createElementVNode("span", _hoisted_2$F, toDisplayString(props.subText), 1)
|
|
1971
|
+
], 10, _hoisted_1$10)) : createCommentVNode("", true);
|
|
1954
1972
|
};
|
|
1955
1973
|
}
|
|
1956
1974
|
});
|
|
1957
1975
|
|
|
1958
|
-
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1976
|
+
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-2e6ba10c"]]);
|
|
1959
1977
|
|
|
1960
|
-
const _hoisted_1
|
|
1961
|
-
const _hoisted_2$
|
|
1962
|
-
const _hoisted_3$
|
|
1978
|
+
const _hoisted_1$$ = ["disabled", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
1979
|
+
const _hoisted_2$E = { class: "control" };
|
|
1980
|
+
const _hoisted_3$s = {
|
|
1963
1981
|
key: 0,
|
|
1964
1982
|
class: "content"
|
|
1965
1983
|
};
|
|
1966
|
-
const _hoisted_4$
|
|
1967
|
-
const _hoisted_5$
|
|
1984
|
+
const _hoisted_4$o = { class: "label" };
|
|
1985
|
+
const _hoisted_5$f = ["id"];
|
|
1968
1986
|
const _hoisted_6$a = {
|
|
1969
1987
|
key: 0,
|
|
1970
1988
|
class: "subtext-wrapper"
|
|
1971
1989
|
};
|
|
1972
|
-
const _sfc_main$
|
|
1990
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
1973
1991
|
__name: "BaseCheckbox",
|
|
1974
1992
|
props: /* @__PURE__ */ mergeModels({
|
|
1975
1993
|
disabled: { type: Boolean, default: false },
|
|
@@ -2041,7 +2059,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
2041
2059
|
role: "checkbox",
|
|
2042
2060
|
onClick: handleClick
|
|
2043
2061
|
}, [
|
|
2044
|
-
createElementVNode("div", _hoisted_2$
|
|
2062
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
2045
2063
|
icon.value ? (openBlock(), createBlock(KdsIcon, {
|
|
2046
2064
|
key: 0,
|
|
2047
2065
|
name: icon.value,
|
|
@@ -2049,15 +2067,15 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
2049
2067
|
size: "xsmall"
|
|
2050
2068
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
2051
2069
|
]),
|
|
2052
|
-
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2053
|
-
createElementVNode("div", _hoisted_4$
|
|
2070
|
+
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
2071
|
+
createElementVNode("div", _hoisted_4$o, toDisplayString(props.label), 1),
|
|
2054
2072
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
2055
2073
|
key: 0,
|
|
2056
2074
|
id: unref(helperId),
|
|
2057
2075
|
class: "helper-text"
|
|
2058
|
-
}, toDisplayString(props.helperText), 9, _hoisted_5$
|
|
2076
|
+
}, toDisplayString(props.helperText), 9, _hoisted_5$f)) : createCommentVNode("", true)
|
|
2059
2077
|
])) : createCommentVNode("", true)
|
|
2060
|
-
], 10, _hoisted_1
|
|
2078
|
+
], 10, _hoisted_1$$)), [
|
|
2061
2079
|
[unref(vKdsTooltip), props.title]
|
|
2062
2080
|
]),
|
|
2063
2081
|
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
@@ -2073,9 +2091,9 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
2073
2091
|
}
|
|
2074
2092
|
});
|
|
2075
2093
|
|
|
2076
|
-
const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2094
|
+
const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-5138a023"]]);
|
|
2077
2095
|
|
|
2078
|
-
const _sfc_main$
|
|
2096
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
2079
2097
|
__name: "KdsCheckbox",
|
|
2080
2098
|
props: /* @__PURE__ */ mergeModels({
|
|
2081
2099
|
disabled: { type: Boolean, default: false },
|
|
@@ -2184,16 +2202,16 @@ const useKdsDynamicModal = () => {
|
|
|
2184
2202
|
};
|
|
2185
2203
|
};
|
|
2186
2204
|
|
|
2187
|
-
const _hoisted_1$
|
|
2205
|
+
const _hoisted_1$_ = {
|
|
2188
2206
|
key: 1,
|
|
2189
2207
|
class: "confirmation"
|
|
2190
2208
|
};
|
|
2191
|
-
const _hoisted_2$
|
|
2192
|
-
const _hoisted_3$
|
|
2209
|
+
const _hoisted_2$D = { class: "message" };
|
|
2210
|
+
const _hoisted_3$r = {
|
|
2193
2211
|
key: 0,
|
|
2194
2212
|
class: "ask-again"
|
|
2195
2213
|
};
|
|
2196
|
-
const _sfc_main$
|
|
2214
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
2197
2215
|
__name: "KdsDynamicModalProvider",
|
|
2198
2216
|
setup(__props) {
|
|
2199
2217
|
const askAgain = ref(false);
|
|
@@ -2246,10 +2264,10 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
2246
2264
|
unref(config)?.type === "confirm" ? {
|
|
2247
2265
|
name: "body",
|
|
2248
2266
|
fn: withCtx(() => [
|
|
2249
|
-
unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2250
|
-
createElementVNode("div", _hoisted_2$
|
|
2251
|
-
unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2252
|
-
createVNode(_sfc_main$
|
|
2267
|
+
unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
2268
|
+
createElementVNode("div", _hoisted_2$D, toDisplayString(unref(config).value.message), 1),
|
|
2269
|
+
unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
2270
|
+
createVNode(_sfc_main$1v, {
|
|
2253
2271
|
modelValue: askAgain.value,
|
|
2254
2272
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
|
|
2255
2273
|
label: unref(config).value.doNotAskAgain.label,
|
|
@@ -2264,7 +2282,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
2264
2282
|
name: "footer",
|
|
2265
2283
|
fn: withCtx(() => [
|
|
2266
2284
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
|
|
2267
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2285
|
+
return openBlock(), createBlock(_sfc_main$1B, {
|
|
2268
2286
|
key: index,
|
|
2269
2287
|
destructive: button.destructive,
|
|
2270
2288
|
autofocus: button.autofocus,
|
|
@@ -2294,7 +2312,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
2294
2312
|
}
|
|
2295
2313
|
});
|
|
2296
2314
|
|
|
2297
|
-
const KdsDynamicModalProvider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2315
|
+
const KdsDynamicModalProvider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-41fc8d84"]]);
|
|
2298
2316
|
|
|
2299
2317
|
const kdsPopoverPlacement = {
|
|
2300
2318
|
TOP_LEFT: "top-left",
|
|
@@ -2318,12 +2336,12 @@ const kdsPopoverType = {
|
|
|
2318
2336
|
};
|
|
2319
2337
|
const kdsPopoverTypes = Object.values(kdsPopoverType);
|
|
2320
2338
|
|
|
2321
|
-
const _hoisted_1$
|
|
2322
|
-
const _hoisted_2$
|
|
2339
|
+
const _hoisted_1$Z = ["id", "popover", "role"];
|
|
2340
|
+
const _hoisted_2$C = {
|
|
2323
2341
|
key: 0,
|
|
2324
2342
|
class: "kds-popover-default-content"
|
|
2325
2343
|
};
|
|
2326
|
-
const _sfc_main$
|
|
2344
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
2327
2345
|
__name: "KdsPopover",
|
|
2328
2346
|
props: /* @__PURE__ */ mergeModels({
|
|
2329
2347
|
modelValue: { type: Boolean },
|
|
@@ -2382,22 +2400,22 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
2382
2400
|
onToggle
|
|
2383
2401
|
}, [
|
|
2384
2402
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2385
|
-
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2403
|
+
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$C, toDisplayString(props.content), 1)) : createCommentVNode("", true)
|
|
2386
2404
|
], true)
|
|
2387
|
-
], 46, _hoisted_1$
|
|
2405
|
+
], 46, _hoisted_1$Z);
|
|
2388
2406
|
};
|
|
2389
2407
|
}
|
|
2390
2408
|
});
|
|
2391
2409
|
|
|
2392
|
-
const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2410
|
+
const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-3d51a946"]]);
|
|
2393
2411
|
|
|
2394
2412
|
const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2395
2413
|
__proto__: null,
|
|
2396
2414
|
default: KdsPopover
|
|
2397
2415
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2398
2416
|
|
|
2399
|
-
const _hoisted_1$
|
|
2400
|
-
const _sfc_main$
|
|
2417
|
+
const _hoisted_1$Y = ["data-width"];
|
|
2418
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
2401
2419
|
__name: "KdsSideDrawer",
|
|
2402
2420
|
props: {
|
|
2403
2421
|
isExpanded: { type: Boolean, default: false },
|
|
@@ -2426,19 +2444,19 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
2426
2444
|
"data-width": __props.width
|
|
2427
2445
|
}, [
|
|
2428
2446
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2429
|
-
], 8, _hoisted_1$
|
|
2447
|
+
], 8, _hoisted_1$Y);
|
|
2430
2448
|
};
|
|
2431
2449
|
}
|
|
2432
2450
|
});
|
|
2433
2451
|
|
|
2434
|
-
const KdsSideDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2452
|
+
const KdsSideDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-2ee82be5"]]);
|
|
2435
2453
|
|
|
2436
|
-
const _hoisted_1$
|
|
2437
|
-
const _hoisted_2$
|
|
2454
|
+
const _hoisted_1$X = { class: "label" };
|
|
2455
|
+
const _hoisted_2$B = {
|
|
2438
2456
|
key: 1,
|
|
2439
2457
|
class: "file-size"
|
|
2440
2458
|
};
|
|
2441
|
-
const _sfc_main$
|
|
2459
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
2442
2460
|
__name: "KdsLink",
|
|
2443
2461
|
props: {
|
|
2444
2462
|
to: {},
|
|
@@ -2528,13 +2546,13 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
2528
2546
|
onClick
|
|
2529
2547
|
}, {
|
|
2530
2548
|
default: withCtx(() => [
|
|
2531
|
-
createElementVNode("span", _hoisted_1$
|
|
2549
|
+
createElementVNode("span", _hoisted_1$X, toDisplayString(__props.label), 1),
|
|
2532
2550
|
variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
|
|
2533
2551
|
key: 0,
|
|
2534
2552
|
name: "external-link",
|
|
2535
2553
|
size: "xsmall"
|
|
2536
2554
|
})) : createCommentVNode("", true),
|
|
2537
|
-
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2555
|
+
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$B, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
|
|
2538
2556
|
]),
|
|
2539
2557
|
_: 1
|
|
2540
2558
|
}, 8, ["class", "to", "download", "target", "rel", "aria-disabled"])), [
|
|
@@ -2544,7 +2562,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
2544
2562
|
}
|
|
2545
2563
|
});
|
|
2546
2564
|
|
|
2547
|
-
const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2565
|
+
const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-7e5b55c9"]]);
|
|
2548
2566
|
|
|
2549
2567
|
const kdsLinkSize = {
|
|
2550
2568
|
SMALL: "small",
|
|
@@ -2552,7 +2570,7 @@ const kdsLinkSize = {
|
|
|
2552
2570
|
};
|
|
2553
2571
|
const kdsLinkSizes = Object.values(kdsLinkSize);
|
|
2554
2572
|
|
|
2555
|
-
const _sfc_main$
|
|
2573
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
2556
2574
|
__name: "KdsToggleButton",
|
|
2557
2575
|
props: /* @__PURE__ */ mergeModels({
|
|
2558
2576
|
dataTestId: {},
|
|
@@ -2590,9 +2608,9 @@ const kdsToggleButtonVariant = {
|
|
|
2590
2608
|
};
|
|
2591
2609
|
const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
2592
2610
|
|
|
2593
|
-
const _hoisted_1$
|
|
2594
|
-
const _hoisted_2$
|
|
2595
|
-
const _sfc_main$
|
|
2611
|
+
const _hoisted_1$W = ["data-visible"];
|
|
2612
|
+
const _hoisted_2$A = ["data-visible"];
|
|
2613
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
2596
2614
|
__name: "KdsProgressButton",
|
|
2597
2615
|
props: /* @__PURE__ */ mergeModels({
|
|
2598
2616
|
dataTestId: {},
|
|
@@ -2655,7 +2673,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
2655
2673
|
name: props.leadingIcon,
|
|
2656
2674
|
size: iconSize.value
|
|
2657
2675
|
}, null, 8, ["name", "size"])
|
|
2658
|
-
], 8, _hoisted_1$
|
|
2676
|
+
], 8, _hoisted_1$W),
|
|
2659
2677
|
createElementVNode("span", {
|
|
2660
2678
|
class: "spinner",
|
|
2661
2679
|
"data-visible": state.value === "progress"
|
|
@@ -2664,7 +2682,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
2664
2682
|
size: iconSize.value,
|
|
2665
2683
|
variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
|
|
2666
2684
|
}, null, 8, ["size", "variant"])
|
|
2667
|
-
], 8, _hoisted_2$
|
|
2685
|
+
], 8, _hoisted_2$A)
|
|
2668
2686
|
], 2)
|
|
2669
2687
|
]),
|
|
2670
2688
|
_: 1
|
|
@@ -2673,7 +2691,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
2673
2691
|
}
|
|
2674
2692
|
});
|
|
2675
2693
|
|
|
2676
|
-
const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2694
|
+
const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-ca9c134c"]]);
|
|
2677
2695
|
|
|
2678
2696
|
const kdsProgressButtonState = {
|
|
2679
2697
|
DEFAULT: "default",
|
|
@@ -2909,7 +2927,7 @@ const useStableItemIds = (options) => {
|
|
|
2909
2927
|
return { itemsWithPrefix, idPrefix, toUnprefixedId };
|
|
2910
2928
|
};
|
|
2911
2929
|
|
|
2912
|
-
const _sfc_main$
|
|
2930
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
2913
2931
|
__name: "ListItemAccessory",
|
|
2914
2932
|
props: {
|
|
2915
2933
|
accessory: {},
|
|
@@ -2952,17 +2970,21 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2952
2970
|
|
|
2953
2971
|
const kdsListItemAccessorySize = {
|
|
2954
2972
|
SMALL: "small",
|
|
2973
|
+
MEDIUM: "medium",
|
|
2955
2974
|
LARGE: "large"
|
|
2956
2975
|
};
|
|
2976
|
+
Object.values(
|
|
2977
|
+
kdsListItemAccessorySize
|
|
2978
|
+
);
|
|
2957
2979
|
|
|
2958
|
-
const _hoisted_1$
|
|
2959
|
-
const _hoisted_2$
|
|
2980
|
+
const _hoisted_1$V = ["id", "role", "aria-selected", "aria-disabled"];
|
|
2981
|
+
const _hoisted_2$z = {
|
|
2960
2982
|
key: 0,
|
|
2961
2983
|
class: "accessory"
|
|
2962
2984
|
};
|
|
2963
|
-
const _hoisted_3$
|
|
2964
|
-
const _hoisted_4$
|
|
2965
|
-
const _hoisted_5$
|
|
2985
|
+
const _hoisted_3$q = { class: "content" };
|
|
2986
|
+
const _hoisted_4$n = { class: "label" };
|
|
2987
|
+
const _hoisted_5$e = {
|
|
2966
2988
|
key: 0,
|
|
2967
2989
|
class: "prefix"
|
|
2968
2990
|
};
|
|
@@ -2979,7 +3001,7 @@ const _hoisted_9$2 = {
|
|
|
2979
3001
|
key: 3,
|
|
2980
3002
|
class: "trailing-item-reserve-space"
|
|
2981
3003
|
};
|
|
2982
|
-
const _sfc_main$
|
|
3004
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
2983
3005
|
__name: "KdsListItem",
|
|
2984
3006
|
props: {
|
|
2985
3007
|
id: {},
|
|
@@ -3033,16 +3055,16 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3033
3055
|
]),
|
|
3034
3056
|
onClick
|
|
3035
3057
|
}, [
|
|
3036
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
3037
|
-
createVNode(_sfc_main$
|
|
3058
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$z, [
|
|
3059
|
+
createVNode(_sfc_main$1o, {
|
|
3038
3060
|
accessory: props.accessory,
|
|
3039
3061
|
size: accessorySize.value,
|
|
3040
3062
|
disabled: __props.disabled
|
|
3041
3063
|
}, null, 8, ["accessory", "size", "disabled"])
|
|
3042
3064
|
])) : createCommentVNode("", true),
|
|
3043
|
-
createElementVNode("span", _hoisted_3$
|
|
3044
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$
|
|
3045
|
-
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
3065
|
+
createElementVNode("span", _hoisted_3$q, [
|
|
3066
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_4$n, [
|
|
3067
|
+
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$e, "(Missing) ")) : createCommentVNode("", true),
|
|
3046
3068
|
createElementVNode("span", {
|
|
3047
3069
|
class: normalizeClass({ special: __props.special })
|
|
3048
3070
|
}, toDisplayString(props.text), 3)
|
|
@@ -3069,20 +3091,20 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3069
3091
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
3070
3092
|
!props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
|
|
3071
3093
|
])
|
|
3072
|
-
], 10, _hoisted_1$
|
|
3094
|
+
], 10, _hoisted_1$V);
|
|
3073
3095
|
};
|
|
3074
3096
|
}
|
|
3075
3097
|
});
|
|
3076
3098
|
|
|
3077
|
-
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3099
|
+
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-634ca251"]]);
|
|
3078
3100
|
|
|
3079
|
-
const _hoisted_1$
|
|
3080
|
-
const _hoisted_2$
|
|
3101
|
+
const _hoisted_1$U = { class: "kds-list-item-section-title" };
|
|
3102
|
+
const _hoisted_2$y = {
|
|
3081
3103
|
key: 0,
|
|
3082
3104
|
class: "icon"
|
|
3083
3105
|
};
|
|
3084
|
-
const _hoisted_3$
|
|
3085
|
-
const _sfc_main$
|
|
3106
|
+
const _hoisted_3$p = { class: "label" };
|
|
3107
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3086
3108
|
__name: "ListItemSectionTitle",
|
|
3087
3109
|
props: {
|
|
3088
3110
|
label: {},
|
|
@@ -3091,14 +3113,14 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3091
3113
|
setup(__props) {
|
|
3092
3114
|
const props = __props;
|
|
3093
3115
|
return (_ctx, _cache) => {
|
|
3094
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3095
|
-
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
3116
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
3117
|
+
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$y, [
|
|
3096
3118
|
createVNode(KdsIcon, {
|
|
3097
3119
|
name: props.leadingIcon,
|
|
3098
3120
|
size: "small"
|
|
3099
3121
|
}, null, 8, ["name"])
|
|
3100
3122
|
])) : createCommentVNode("", true),
|
|
3101
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_3$
|
|
3123
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_3$p, [
|
|
3102
3124
|
createTextVNode(toDisplayString(props.label), 1)
|
|
3103
3125
|
])), [
|
|
3104
3126
|
[unref(vKdsTooltip), props.label, "truncated"]
|
|
@@ -3108,9 +3130,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3108
3130
|
}
|
|
3109
3131
|
});
|
|
3110
3132
|
|
|
3111
|
-
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3133
|
+
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-9a2c8038"]]);
|
|
3112
3134
|
|
|
3113
|
-
const _sfc_main$
|
|
3135
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
3114
3136
|
__name: "KdsMenuItem",
|
|
3115
3137
|
props: {
|
|
3116
3138
|
item: {},
|
|
@@ -3280,14 +3302,14 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
3280
3302
|
}
|
|
3281
3303
|
});
|
|
3282
3304
|
|
|
3283
|
-
const KdsMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3305
|
+
const KdsMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-a4ac96c7"]]);
|
|
3284
3306
|
|
|
3285
3307
|
const ContainerDepthKey = /* @__PURE__ */ Symbol("ContainerDepth");
|
|
3286
3308
|
const ChildItemKey = /* @__PURE__ */ Symbol("ChildItem");
|
|
3287
3309
|
|
|
3288
|
-
const _hoisted_1$
|
|
3289
|
-
const _hoisted_2$
|
|
3290
|
-
const _sfc_main$
|
|
3310
|
+
const _hoisted_1$T = ["id", "aria-label", "aria-activedescendant"];
|
|
3311
|
+
const _hoisted_2$x = ["id"];
|
|
3312
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
3291
3313
|
__name: "KdsMenuContainer",
|
|
3292
3314
|
props: {
|
|
3293
3315
|
id: {},
|
|
@@ -3513,19 +3535,19 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3513
3535
|
items: item.children ?? [],
|
|
3514
3536
|
onItemClick: _cache[0] || (_cache[0] = ($event) => emit("itemClick", $event))
|
|
3515
3537
|
}, null, 8, ["id", "ariaLabel", "items"])
|
|
3516
|
-
], 44, _hoisted_2$
|
|
3538
|
+
], 44, _hoisted_2$x)
|
|
3517
3539
|
]),
|
|
3518
3540
|
_: 2
|
|
3519
3541
|
}, 1032, ["item", "is-last", "active-id", "variant", "onClick", "onMouseenter"]);
|
|
3520
3542
|
}), 128))
|
|
3521
|
-
], 44, _hoisted_1$
|
|
3543
|
+
], 44, _hoisted_1$T);
|
|
3522
3544
|
};
|
|
3523
3545
|
}
|
|
3524
3546
|
});
|
|
3525
3547
|
|
|
3526
|
-
const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3548
|
+
const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-5b299c60"]]);
|
|
3527
3549
|
|
|
3528
|
-
const _sfc_main$
|
|
3550
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
3529
3551
|
...{
|
|
3530
3552
|
inheritAttrs: false
|
|
3531
3553
|
},
|
|
@@ -3590,7 +3612,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3590
3612
|
__expose({ menuButtonEl });
|
|
3591
3613
|
return (_ctx, _cache) => {
|
|
3592
3614
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3593
|
-
createVNode(_sfc_main$
|
|
3615
|
+
createVNode(_sfc_main$1q, mergeProps({ ref: "menuButton" }, toggleButtonProps.value, {
|
|
3594
3616
|
modelValue: isMenuOpen.value,
|
|
3595
3617
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event),
|
|
3596
3618
|
"aria-haspopup": "menu",
|
|
@@ -3622,7 +3644,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3622
3644
|
}
|
|
3623
3645
|
});
|
|
3624
3646
|
|
|
3625
|
-
const _sfc_main$
|
|
3647
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
3626
3648
|
__name: "KdsSplitButton",
|
|
3627
3649
|
props: {
|
|
3628
3650
|
dataTestId: {},
|
|
@@ -3723,7 +3745,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
3723
3745
|
}
|
|
3724
3746
|
});
|
|
3725
3747
|
|
|
3726
|
-
const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3748
|
+
const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-e4c177cd"]]);
|
|
3727
3749
|
|
|
3728
3750
|
const kdsActionButtonType = {
|
|
3729
3751
|
BUTTON: "button",
|
|
@@ -3732,12 +3754,12 @@ const kdsActionButtonType = {
|
|
|
3732
3754
|
const kdsActionButtonTypes = Object.values(kdsActionButtonType);
|
|
3733
3755
|
|
|
3734
3756
|
const typeToComponent = {
|
|
3735
|
-
KdsButton: _sfc_main$
|
|
3736
|
-
KdsLinkButton: _sfc_main$
|
|
3757
|
+
KdsButton: _sfc_main$1B,
|
|
3758
|
+
KdsLinkButton: _sfc_main$1A,
|
|
3737
3759
|
KdsSplitButton,
|
|
3738
|
-
KdsMenuButton: _sfc_main$
|
|
3760
|
+
KdsMenuButton: _sfc_main$1j,
|
|
3739
3761
|
KdsProgressButton,
|
|
3740
|
-
KdsToggleButton: _sfc_main$
|
|
3762
|
+
KdsToggleButton: _sfc_main$1q
|
|
3741
3763
|
};
|
|
3742
3764
|
const fullBindings = (entry) => ({
|
|
3743
3765
|
...entry.meta
|
|
@@ -3831,13 +3853,13 @@ const toMenuItem = (entry) => {
|
|
|
3831
3853
|
}
|
|
3832
3854
|
};
|
|
3833
3855
|
|
|
3834
|
-
const _hoisted_1$
|
|
3856
|
+
const _hoisted_1$S = {
|
|
3835
3857
|
ref: "measureContainer",
|
|
3836
3858
|
class: "kds-button-group-measure",
|
|
3837
3859
|
"aria-hidden": "true",
|
|
3838
3860
|
inert: ""
|
|
3839
3861
|
};
|
|
3840
|
-
const _sfc_main$
|
|
3862
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
3841
3863
|
...{ inheritAttrs: false },
|
|
3842
3864
|
__name: "KdsResponsiveButtonGroup",
|
|
3843
3865
|
props: {
|
|
@@ -3986,7 +4008,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
3986
4008
|
});
|
|
3987
4009
|
return (_ctx, _cache) => {
|
|
3988
4010
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3989
|
-
createElementVNode("div", _hoisted_1$
|
|
4011
|
+
createElementVNode("div", _hoisted_1$S, [
|
|
3990
4012
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button) => {
|
|
3991
4013
|
return openBlock(), createBlock(resolveDynamicComponent(unref(typeToComponent)[button.type]), mergeProps({
|
|
3992
4014
|
key: `full-${button.id}`,
|
|
@@ -4005,7 +4027,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4005
4027
|
unref(iconOnlyBindings)(iconItem.entry, iconItem.leadingIcon, iconItem.label)
|
|
4006
4028
|
), null, 16);
|
|
4007
4029
|
}), 128)),
|
|
4008
|
-
createVNode(_sfc_main$
|
|
4030
|
+
createVNode(_sfc_main$1j, {
|
|
4009
4031
|
ref: "measureMenuButton",
|
|
4010
4032
|
"leading-icon": "more-actions",
|
|
4011
4033
|
ariaLabel: "More actions",
|
|
@@ -4020,7 +4042,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4020
4042
|
key: visible.entry.id
|
|
4021
4043
|
}, { ref_for: true }, visibleBindings(visible)), null, 16);
|
|
4022
4044
|
}), 128)),
|
|
4023
|
-
overflowMenuItems.value.length ? (openBlock(), createBlock(_sfc_main$
|
|
4045
|
+
overflowMenuItems.value.length ? (openBlock(), createBlock(_sfc_main$1j, {
|
|
4024
4046
|
key: 0,
|
|
4025
4047
|
"leading-icon": "more-actions",
|
|
4026
4048
|
ariaLabel: "More actions",
|
|
@@ -4032,7 +4054,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
4032
4054
|
}
|
|
4033
4055
|
});
|
|
4034
4056
|
|
|
4035
|
-
const KdsResponsiveButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4057
|
+
const KdsResponsiveButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-59d058df"]]);
|
|
4036
4058
|
|
|
4037
4059
|
const kdsResponsiveButtonGroupAlignment = {
|
|
4038
4060
|
LEFT: "left",
|
|
@@ -4057,17 +4079,17 @@ const kdsButtonVariant = {
|
|
|
4057
4079
|
};
|
|
4058
4080
|
const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
4059
4081
|
|
|
4060
|
-
const _hoisted_1$
|
|
4061
|
-
const _hoisted_2$
|
|
4062
|
-
const _hoisted_3$
|
|
4082
|
+
const _hoisted_1$R = ["aria-disabled"];
|
|
4083
|
+
const _hoisted_2$w = { class: "kds-empty-state-headline" };
|
|
4084
|
+
const _hoisted_3$o = {
|
|
4063
4085
|
key: 1,
|
|
4064
4086
|
class: "kds-empty-state-description"
|
|
4065
4087
|
};
|
|
4066
|
-
const _hoisted_4$
|
|
4088
|
+
const _hoisted_4$m = {
|
|
4067
4089
|
key: 2,
|
|
4068
4090
|
class: "kds-empty-state-action"
|
|
4069
4091
|
};
|
|
4070
|
-
const _sfc_main$
|
|
4092
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
4071
4093
|
__name: "KdsEmptyState",
|
|
4072
4094
|
props: {
|
|
4073
4095
|
headline: {},
|
|
@@ -4085,13 +4107,13 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4085
4107
|
() => props.button && "to" in props.button && props.button.to !== void 0
|
|
4086
4108
|
);
|
|
4087
4109
|
const buttonComponent = computed(
|
|
4088
|
-
() => isLinkButton.value ? _sfc_main$
|
|
4110
|
+
() => isLinkButton.value ? _sfc_main$1A : _sfc_main$1B
|
|
4089
4111
|
);
|
|
4090
4112
|
const isSecondaryLinkButton = computed(
|
|
4091
4113
|
() => props.secondaryButton && "to" in props.secondaryButton && props.secondaryButton.to !== void 0
|
|
4092
4114
|
);
|
|
4093
4115
|
const secondaryButtonComponent = computed(
|
|
4094
|
-
() => isSecondaryLinkButton.value ? _sfc_main$
|
|
4116
|
+
() => isSecondaryLinkButton.value ? _sfc_main$1A : _sfc_main$1B
|
|
4095
4117
|
);
|
|
4096
4118
|
return (_ctx, _cache) => {
|
|
4097
4119
|
return openBlock(), createElementBlock("div", {
|
|
@@ -4105,9 +4127,9 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4105
4127
|
variant: "onSurface",
|
|
4106
4128
|
"aria-hidden": "true"
|
|
4107
4129
|
})) : createCommentVNode("", true),
|
|
4108
|
-
createElementVNode("p", _hoisted_2$
|
|
4109
|
-
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
4110
|
-
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4130
|
+
createElementVNode("p", _hoisted_2$w, toDisplayString(props.headline), 1),
|
|
4131
|
+
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$o, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
4132
|
+
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
|
|
4111
4133
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
4112
4134
|
disabled: props.button?.disabled || __props.disabled,
|
|
4113
4135
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
|
|
@@ -4117,16 +4139,16 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
4117
4139
|
onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
|
|
4118
4140
|
}), null, 16, ["disabled"])) : createCommentVNode("", true)
|
|
4119
4141
|
])) : createCommentVNode("", true)
|
|
4120
|
-
], 10, _hoisted_1$
|
|
4142
|
+
], 10, _hoisted_1$R);
|
|
4121
4143
|
};
|
|
4122
4144
|
}
|
|
4123
4145
|
});
|
|
4124
4146
|
|
|
4125
|
-
const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4147
|
+
const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-f5b36ba8"]]);
|
|
4126
4148
|
|
|
4127
|
-
const _hoisted_1$
|
|
4149
|
+
const _hoisted_1$Q = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
|
|
4128
4150
|
const loadingStateText = "Loading entries";
|
|
4129
|
-
const _sfc_main$
|
|
4151
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
4130
4152
|
__name: "KdsListContainer",
|
|
4131
4153
|
props: {
|
|
4132
4154
|
possibleValues: {},
|
|
@@ -4249,19 +4271,19 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
4249
4271
|
"loading-spinner": __props.loading
|
|
4250
4272
|
}, null, 8, ["headline", "loading-spinner"])
|
|
4251
4273
|
])) : createCommentVNode("", true)
|
|
4252
|
-
], 16, _hoisted_1$
|
|
4274
|
+
], 16, _hoisted_1$Q);
|
|
4253
4275
|
};
|
|
4254
4276
|
}
|
|
4255
4277
|
});
|
|
4256
4278
|
|
|
4257
|
-
const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4279
|
+
const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-05f72bc6"]]);
|
|
4258
4280
|
|
|
4259
4281
|
const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
4260
4282
|
__proto__: null,
|
|
4261
4283
|
default: KdsListContainer
|
|
4262
4284
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
4263
4285
|
|
|
4264
|
-
const _sfc_main$
|
|
4286
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
4265
4287
|
...{ inheritAttrs: false },
|
|
4266
4288
|
__name: "KdsMenu",
|
|
4267
4289
|
props: {
|
|
@@ -4361,7 +4383,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
4361
4383
|
}
|
|
4362
4384
|
});
|
|
4363
4385
|
|
|
4364
|
-
const _sfc_main$
|
|
4386
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
4365
4387
|
...{ inheritAttrs: false },
|
|
4366
4388
|
__name: "KdsContextMenu",
|
|
4367
4389
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -4442,9 +4464,43 @@ const kdsDimensionComponentHeight2p25x = 36;
|
|
|
4442
4464
|
const kdsSpacingContainer0p10x = 1;
|
|
4443
4465
|
const kdsSpacingContainer0p25x = 4;
|
|
4444
4466
|
|
|
4445
|
-
const
|
|
4446
|
-
|
|
4447
|
-
|
|
4467
|
+
const defaultKeys = [
|
|
4468
|
+
"Tab",
|
|
4469
|
+
"ArrowUp",
|
|
4470
|
+
"ArrowDown",
|
|
4471
|
+
"ArrowLeft",
|
|
4472
|
+
"ArrowRight",
|
|
4473
|
+
" ",
|
|
4474
|
+
"Enter"
|
|
4475
|
+
];
|
|
4476
|
+
const useKeyPressedUntilMouseClick = (keys = defaultKeys) => {
|
|
4477
|
+
const hasUsedKeyboard = ref(false);
|
|
4478
|
+
const turnKeyboardUsageOn = (event) => {
|
|
4479
|
+
if (keys.includes(event.key)) {
|
|
4480
|
+
hasUsedKeyboard.value = true;
|
|
4481
|
+
}
|
|
4482
|
+
};
|
|
4483
|
+
const turnKeyboardUsageOff = () => {
|
|
4484
|
+
hasUsedKeyboard.value = false;
|
|
4485
|
+
};
|
|
4486
|
+
onMounted(() => {
|
|
4487
|
+
document.addEventListener("keydown", turnKeyboardUsageOn, {
|
|
4488
|
+
capture: true
|
|
4489
|
+
});
|
|
4490
|
+
document.addEventListener("pointerdown", turnKeyboardUsageOff, {
|
|
4491
|
+
capture: true
|
|
4492
|
+
});
|
|
4493
|
+
});
|
|
4494
|
+
onUnmounted(() => {
|
|
4495
|
+
document.removeEventListener("keydown", turnKeyboardUsageOn, true);
|
|
4496
|
+
document.removeEventListener("pointerdown", turnKeyboardUsageOff, true);
|
|
4497
|
+
});
|
|
4498
|
+
return hasUsedKeyboard;
|
|
4499
|
+
};
|
|
4500
|
+
|
|
4501
|
+
const _hoisted_1$P = { class: "kds-label-wrapper" };
|
|
4502
|
+
const _hoisted_2$v = ["id", "for"];
|
|
4503
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
4448
4504
|
__name: "KdsLabel",
|
|
4449
4505
|
props: {
|
|
4450
4506
|
label: {},
|
|
@@ -4459,14 +4515,14 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4459
4515
|
() => Promise.resolve().then(() => KdsInfoToggleButton$1)
|
|
4460
4516
|
);
|
|
4461
4517
|
return (_ctx, _cache) => {
|
|
4462
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4518
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
4463
4519
|
withDirectives((openBlock(), createElementBlock("label", {
|
|
4464
4520
|
id: props.id,
|
|
4465
4521
|
for: props.for,
|
|
4466
4522
|
class: "label"
|
|
4467
4523
|
}, [
|
|
4468
4524
|
createTextVNode(toDisplayString(props.label), 1)
|
|
4469
|
-
], 8, _hoisted_2$
|
|
4525
|
+
], 8, _hoisted_2$v)), [
|
|
4470
4526
|
[unref(vKdsTooltip), props.label, "truncated"]
|
|
4471
4527
|
]),
|
|
4472
4528
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
@@ -4479,9 +4535,9 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
4479
4535
|
}
|
|
4480
4536
|
});
|
|
4481
4537
|
|
|
4482
|
-
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4538
|
+
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-9b0cb89b"]]);
|
|
4483
4539
|
|
|
4484
|
-
const _sfc_main$
|
|
4540
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
4485
4541
|
__name: "BaseFormFieldWrapper",
|
|
4486
4542
|
props: {
|
|
4487
4543
|
id: {},
|
|
@@ -4533,7 +4589,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
4533
4589
|
}
|
|
4534
4590
|
});
|
|
4535
4591
|
|
|
4536
|
-
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4592
|
+
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-49715bc1"]]);
|
|
4537
4593
|
|
|
4538
4594
|
const MIN_SEGMENT_INDEX = 0;
|
|
4539
4595
|
const LARGE_STEP = 10;
|
|
@@ -5213,17 +5269,17 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
|
|
|
5213
5269
|
};
|
|
5214
5270
|
};
|
|
5215
5271
|
|
|
5216
|
-
const _hoisted_1$
|
|
5272
|
+
const _hoisted_1$O = {
|
|
5217
5273
|
key: 0,
|
|
5218
5274
|
class: "icon-wrapper leading"
|
|
5219
5275
|
};
|
|
5220
|
-
const _hoisted_2$
|
|
5276
|
+
const _hoisted_2$u = {
|
|
5221
5277
|
key: 1,
|
|
5222
5278
|
class: "leading-slot"
|
|
5223
5279
|
};
|
|
5224
|
-
const _hoisted_3$
|
|
5225
|
-
const _hoisted_4$
|
|
5226
|
-
const _hoisted_5$
|
|
5280
|
+
const _hoisted_3$n = ["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"];
|
|
5281
|
+
const _hoisted_4$l = ["aria-disabled"];
|
|
5282
|
+
const _hoisted_5$d = {
|
|
5227
5283
|
key: 4,
|
|
5228
5284
|
class: "trailing-slot"
|
|
5229
5285
|
};
|
|
@@ -5231,7 +5287,7 @@ const _hoisted_6$8 = {
|
|
|
5231
5287
|
key: 5,
|
|
5232
5288
|
class: "icon-wrapper trailing"
|
|
5233
5289
|
};
|
|
5234
|
-
const _sfc_main$
|
|
5290
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
5235
5291
|
__name: "BaseInput",
|
|
5236
5292
|
props: /* @__PURE__ */ mergeModels({
|
|
5237
5293
|
id: {},
|
|
@@ -5382,13 +5438,13 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5382
5438
|
}),
|
|
5383
5439
|
onClick: handleContainerClick
|
|
5384
5440
|
}, [
|
|
5385
|
-
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5441
|
+
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
5386
5442
|
props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
5387
5443
|
key: 0,
|
|
5388
5444
|
name: props.leadingIcon
|
|
5389
5445
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
5390
5446
|
])) : createCommentVNode("", true),
|
|
5391
|
-
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5447
|
+
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$u, [
|
|
5392
5448
|
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
5393
5449
|
])) : createCommentVNode("", true),
|
|
5394
5450
|
createElementVNode("input", {
|
|
@@ -5433,7 +5489,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5433
5489
|
onCut: handleInputCut,
|
|
5434
5490
|
onDrop: handleInputDrop,
|
|
5435
5491
|
onDragend: handleInputDragEnd
|
|
5436
|
-
}, null, 42, _hoisted_3$
|
|
5492
|
+
}, null, 42, _hoisted_3$n),
|
|
5437
5493
|
props.unit ? (openBlock(), createElementBlock("span", {
|
|
5438
5494
|
key: 2,
|
|
5439
5495
|
class: normalizeClass({
|
|
@@ -5442,8 +5498,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5442
5498
|
disabled: __props.disabled
|
|
5443
5499
|
}),
|
|
5444
5500
|
"aria-disabled": __props.disabled || void 0
|
|
5445
|
-
}, toDisplayString(props.unit), 11, _hoisted_4$
|
|
5446
|
-
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$
|
|
5501
|
+
}, toDisplayString(props.unit), 11, _hoisted_4$l)) : createCommentVNode("", true),
|
|
5502
|
+
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1B, {
|
|
5447
5503
|
key: 3,
|
|
5448
5504
|
class: "clear-button",
|
|
5449
5505
|
size: "xsmall",
|
|
@@ -5453,7 +5509,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5453
5509
|
title: "Clear",
|
|
5454
5510
|
onClick: withModifiers(clearAndFocusInput, ["stop"])
|
|
5455
5511
|
})) : createCommentVNode("", true),
|
|
5456
|
-
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
5512
|
+
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
5457
5513
|
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
5458
5514
|
])) : createCommentVNode("", true),
|
|
5459
5515
|
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
|
|
@@ -5466,9 +5522,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
5466
5522
|
}
|
|
5467
5523
|
});
|
|
5468
5524
|
|
|
5469
|
-
const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5525
|
+
const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-3455a62d"]]);
|
|
5470
5526
|
|
|
5471
|
-
const _sfc_main$
|
|
5527
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
5472
5528
|
__name: "KdsTextInput",
|
|
5473
5529
|
props: /* @__PURE__ */ mergeModels({
|
|
5474
5530
|
description: {},
|
|
@@ -5637,9 +5693,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
5637
5693
|
}
|
|
5638
5694
|
});
|
|
5639
5695
|
|
|
5640
|
-
const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5696
|
+
const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-dd35e2a4"]]);
|
|
5641
5697
|
|
|
5642
|
-
const _sfc_main$
|
|
5698
|
+
const _sfc_main$18 = defineComponent({
|
|
5643
5699
|
name: "FileExplorerItemBase",
|
|
5644
5700
|
props: {
|
|
5645
5701
|
isSelected: {
|
|
@@ -5657,7 +5713,7 @@ const _sfc_main$15 = defineComponent({
|
|
|
5657
5713
|
}
|
|
5658
5714
|
});
|
|
5659
5715
|
|
|
5660
|
-
const _hoisted_1$
|
|
5716
|
+
const _hoisted_1$N = ["aria-disabled"];
|
|
5661
5717
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5662
5718
|
return openBlock(), createElementBlock("tr", {
|
|
5663
5719
|
class: normalizeClass(["file-explorer-item-base", {
|
|
@@ -5670,9 +5726,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5670
5726
|
"aria-disabled": _ctx.disabled ? "true" : void 0
|
|
5671
5727
|
}, [
|
|
5672
5728
|
renderSlot(_ctx.$slots, "default")
|
|
5673
|
-
], 10, _hoisted_1$
|
|
5729
|
+
], 10, _hoisted_1$N);
|
|
5674
5730
|
}
|
|
5675
|
-
const FileExplorerItemBase = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5731
|
+
const FileExplorerItemBase = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render], ["__scopeId", "data-v-aad38d13"]]);
|
|
5676
5732
|
|
|
5677
5733
|
const INVALID_NAME_CHARACTERS = /[*?#:";<>%~|/\\]/;
|
|
5678
5734
|
const NAME_CHAR_LIMIT = 255;
|
|
@@ -5711,35 +5767,25 @@ const useNameValidator = (options) => {
|
|
|
5711
5767
|
};
|
|
5712
5768
|
};
|
|
5713
5769
|
|
|
5714
|
-
const
|
|
5715
|
-
|
|
5716
|
-
for (const [key, value] of Object.entries(slots)) {
|
|
5717
|
-
if (key.startsWith("dynamicColumn")) {
|
|
5718
|
-
result[key] = value;
|
|
5719
|
-
}
|
|
5720
|
-
}
|
|
5721
|
-
return result;
|
|
5722
|
-
};
|
|
5723
|
-
|
|
5724
|
-
const _hoisted_1$J = { class: "item-icon" };
|
|
5725
|
-
const _hoisted_2$s = {
|
|
5770
|
+
const _hoisted_1$M = { class: "item-icon" };
|
|
5771
|
+
const _hoisted_2$t = {
|
|
5726
5772
|
key: 0,
|
|
5727
5773
|
class: "open-indicator"
|
|
5728
5774
|
};
|
|
5729
|
-
const _hoisted_3$
|
|
5775
|
+
const _hoisted_3$m = {
|
|
5730
5776
|
key: 0,
|
|
5731
5777
|
class: "inner"
|
|
5732
5778
|
};
|
|
5733
|
-
const _hoisted_4$
|
|
5779
|
+
const _hoisted_4$k = {
|
|
5734
5780
|
key: 0,
|
|
5735
5781
|
class: "item-error"
|
|
5736
5782
|
};
|
|
5737
|
-
const _hoisted_5$
|
|
5783
|
+
const _hoisted_5$c = { class: "inner" };
|
|
5738
5784
|
const _hoisted_6$7 = {
|
|
5739
5785
|
key: 0,
|
|
5740
5786
|
class: /* @__PURE__ */ normalizeClass(["column"])
|
|
5741
5787
|
};
|
|
5742
|
-
const _sfc_main$
|
|
5788
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
5743
5789
|
__name: "FileExplorerItem",
|
|
5744
5790
|
props: {
|
|
5745
5791
|
blacklistedNames: {},
|
|
@@ -5814,7 +5860,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5814
5860
|
});
|
|
5815
5861
|
const slots = useSlots();
|
|
5816
5862
|
const dynamicColumnSlotNames = computed(
|
|
5817
|
-
() => Object.keys(
|
|
5863
|
+
() => Object.keys(slots).filter((key) => key.startsWith("dynamicColumn"))
|
|
5818
5864
|
);
|
|
5819
5865
|
return (_ctx, _cache) => {
|
|
5820
5866
|
return openBlock(), createBlock(FileExplorerItemBase, {
|
|
@@ -5840,8 +5886,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5840
5886
|
onDblclick: _cache[11] || (_cache[11] = ($event) => !unref(isRenameActive) && emit("dblclick", $event))
|
|
5841
5887
|
}, {
|
|
5842
5888
|
default: withCtx(() => [
|
|
5843
|
-
createElementVNode("td", _hoisted_1$
|
|
5844
|
-
__props.item.isOpen ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5889
|
+
createElementVNode("td", _hoisted_1$M, [
|
|
5890
|
+
__props.item.isOpen ? (openBlock(), createElementBlock("span", _hoisted_2$t)) : createCommentVNode("", true),
|
|
5845
5891
|
createVNode(KdsIcon, {
|
|
5846
5892
|
name: __props.item.icon || (__props.item.isDirectory ? "folder" : "file"),
|
|
5847
5893
|
size: "small"
|
|
@@ -5854,7 +5900,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5854
5900
|
}]),
|
|
5855
5901
|
"data-test-id": "item-name"
|
|
5856
5902
|
}, [
|
|
5857
|
-
!unref(isRenameActive) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5903
|
+
!unref(isRenameActive) ? (openBlock(), createElementBlock("div", _hoisted_3$m, toDisplayString(__props.item.name), 1)) : (openBlock(), createElementBlock("div", {
|
|
5858
5904
|
key: 1,
|
|
5859
5905
|
ref_key: "renameInputContainer",
|
|
5860
5906
|
ref: renameInputContainer,
|
|
@@ -5871,7 +5917,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5871
5917
|
error: !unref(isValid),
|
|
5872
5918
|
onKeydown: _cache[1] || (_cache[1] = withModifiers(($event) => onRenameSubmit($event), ["stop"]))
|
|
5873
5919
|
}, null, 8, ["modelValue", "error"]),
|
|
5874
|
-
!unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
5920
|
+
!unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
5875
5921
|
createElementVNode("span", null, toDisplayString(unref(errorMessage)), 1)
|
|
5876
5922
|
])) : createCommentVNode("", true)
|
|
5877
5923
|
], 512))
|
|
@@ -5883,7 +5929,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5883
5929
|
key: `dynamicColumn-${name}`,
|
|
5884
5930
|
class: normalizeClass(["column", "dynamic-column"])
|
|
5885
5931
|
}, [
|
|
5886
|
-
createElementVNode("div", _hoisted_5$
|
|
5932
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
5887
5933
|
renderSlot(_ctx.$slots, name, {
|
|
5888
5934
|
isRenameActive: unref(isRenameActive),
|
|
5889
5935
|
isSelected: __props.isSelected
|
|
@@ -5901,9 +5947,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
5901
5947
|
}
|
|
5902
5948
|
});
|
|
5903
5949
|
|
|
5904
|
-
const FileExplorerItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5950
|
+
const FileExplorerItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-dc2117b4"]]);
|
|
5905
5951
|
|
|
5906
|
-
const _sfc_main$
|
|
5952
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
5907
5953
|
__name: "FileExplorerItemBack",
|
|
5908
5954
|
props: {
|
|
5909
5955
|
isDragging: { type: Boolean }
|
|
@@ -5932,7 +5978,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
5932
5978
|
}
|
|
5933
5979
|
});
|
|
5934
5980
|
|
|
5935
|
-
const FileExplorerItemBack = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5981
|
+
const FileExplorerItemBack = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-6053576d"]]);
|
|
5936
5982
|
|
|
5937
5983
|
const getInitialState = () => ({
|
|
5938
5984
|
anchorHistory: [],
|
|
@@ -12797,40 +12843,6 @@ const useItemDragging = (options) => {
|
|
|
12797
12843
|
};
|
|
12798
12844
|
};
|
|
12799
12845
|
|
|
12800
|
-
const defaultKeys = [
|
|
12801
|
-
"Tab",
|
|
12802
|
-
"ArrowUp",
|
|
12803
|
-
"ArrowDown",
|
|
12804
|
-
"ArrowLeft",
|
|
12805
|
-
"ArrowRight",
|
|
12806
|
-
" ",
|
|
12807
|
-
"Enter"
|
|
12808
|
-
];
|
|
12809
|
-
const useKeyPressedUntilMouseClick = (keys = defaultKeys) => {
|
|
12810
|
-
const hasUsedKeyboard = ref(false);
|
|
12811
|
-
const turnKeyboardUsageOn = (event) => {
|
|
12812
|
-
if (keys.includes(event.key)) {
|
|
12813
|
-
hasUsedKeyboard.value = true;
|
|
12814
|
-
}
|
|
12815
|
-
};
|
|
12816
|
-
const turnKeyboardUsageOff = () => {
|
|
12817
|
-
hasUsedKeyboard.value = false;
|
|
12818
|
-
};
|
|
12819
|
-
onMounted(() => {
|
|
12820
|
-
document.addEventListener("keydown", turnKeyboardUsageOn, {
|
|
12821
|
-
capture: true
|
|
12822
|
-
});
|
|
12823
|
-
document.addEventListener("pointerdown", turnKeyboardUsageOff, {
|
|
12824
|
-
capture: true
|
|
12825
|
-
});
|
|
12826
|
-
});
|
|
12827
|
-
onUnmounted(() => {
|
|
12828
|
-
document.removeEventListener("keydown", turnKeyboardUsageOn, true);
|
|
12829
|
-
document.removeEventListener("pointerdown", turnKeyboardUsageOff, true);
|
|
12830
|
-
});
|
|
12831
|
-
return hasUsedKeyboard;
|
|
12832
|
-
};
|
|
12833
|
-
|
|
12834
12846
|
const ELEMENT_ID = "kds-file-explorer-context-menu-anchor-helper";
|
|
12835
12847
|
const remove = () => {
|
|
12836
12848
|
document.querySelector(`#${ELEMENT_ID}`)?.remove();
|
|
@@ -12854,12 +12866,12 @@ const popoverAnchor = {
|
|
|
12854
12866
|
remove
|
|
12855
12867
|
};
|
|
12856
12868
|
|
|
12857
|
-
const _hoisted_1$
|
|
12858
|
-
const _hoisted_2$
|
|
12869
|
+
const _hoisted_1$L = { class: "file-explorer" };
|
|
12870
|
+
const _hoisted_2$s = {
|
|
12859
12871
|
key: 0,
|
|
12860
12872
|
class: "empty"
|
|
12861
12873
|
};
|
|
12862
|
-
const _sfc_main$
|
|
12874
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
12863
12875
|
__name: "KdsFileExplorer",
|
|
12864
12876
|
props: /* @__PURE__ */ mergeModels({
|
|
12865
12877
|
activeRenamedItemId: {},
|
|
@@ -12885,7 +12897,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
12885
12897
|
emits: /* @__PURE__ */ mergeModels(["update:selectedItemIds", "changeDirectory", "openFile", "moveItems", "dragend", "drag", "renameFile"], ["update:activeRenamedItemId"]),
|
|
12886
12898
|
setup(__props, { emit: __emit }) {
|
|
12887
12899
|
useCssVars((_ctx) => ({
|
|
12888
|
-
"
|
|
12900
|
+
"v4225dc64": itemHeight.value + "px"
|
|
12889
12901
|
}));
|
|
12890
12902
|
const props = __props;
|
|
12891
12903
|
const activeRenamedItemId = useModel(__props, "activeRenamedItemId");
|
|
@@ -13186,10 +13198,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
13186
13198
|
});
|
|
13187
13199
|
const slots = useSlots();
|
|
13188
13200
|
const dynamicColumnSlotNames = computed(
|
|
13189
|
-
() => Object.keys(
|
|
13201
|
+
() => Object.keys(slots).filter((key) => key.startsWith("dynamicColumn"))
|
|
13190
13202
|
);
|
|
13191
13203
|
return (_ctx, _cache) => {
|
|
13192
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13204
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
13193
13205
|
createElementVNode("table", mergeProps({
|
|
13194
13206
|
tabindex: "0",
|
|
13195
13207
|
class: ["scroll-container", { "keyboard-focus": unref(keyPressedUntilMouseClick) }],
|
|
@@ -13260,7 +13272,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
13260
13272
|
hasOptionsMenu.value ? {
|
|
13261
13273
|
name: "optionsMenu",
|
|
13262
13274
|
fn: withCtx(() => [
|
|
13263
|
-
createVNode(_sfc_main$
|
|
13275
|
+
createVNode(_sfc_main$1q, {
|
|
13264
13276
|
tabindex: "-1",
|
|
13265
13277
|
"model-value": contextMenuAnchor.value?.item.id === item.id && contextMenuAnchor.value.openedBy === "optionsMenu",
|
|
13266
13278
|
size: __props.size === "small" ? "xsmall" : "small",
|
|
@@ -13286,7 +13298,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
13286
13298
|
} : void 0
|
|
13287
13299
|
]), 1032, ["class", "disabled", "item", "is-dragging", "is-selected", "is-rename-active", "blacklisted-names", "is-dragging-enabled", "has-options-menu", "onDragstart", "onDragenter", "onDragleave", "onDragend", "onDrag", "onClick", "onContextmenu", "onKeydown", "onDrop", "onDblclick"]);
|
|
13288
13300
|
}), 128)),
|
|
13289
|
-
__props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$
|
|
13301
|
+
__props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$s, [
|
|
13290
13302
|
createElementVNode("td", null, [
|
|
13291
13303
|
createVNode(KdsEmptyState, mergeProps({
|
|
13292
13304
|
headline: __props.emptyState?.headline ?? "Folder is empty"
|
|
@@ -13338,7 +13350,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
13338
13350
|
}
|
|
13339
13351
|
});
|
|
13340
13352
|
|
|
13341
|
-
const KdsFileExplorer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13353
|
+
const KdsFileExplorer = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-10e65eb3"]]);
|
|
13342
13354
|
|
|
13343
13355
|
const kdsFileExplorerSize = {
|
|
13344
13356
|
SMALL: "small",
|
|
@@ -13354,14 +13366,14 @@ const kdsFileExplorerDraggingAnimationModes = Object.values(
|
|
|
13354
13366
|
kdsFileExplorerDraggingAnimationMode
|
|
13355
13367
|
);
|
|
13356
13368
|
|
|
13357
|
-
const _hoisted_1$
|
|
13358
|
-
const _hoisted_2$
|
|
13359
|
-
const _hoisted_3$
|
|
13360
|
-
const _hoisted_4$
|
|
13361
|
-
const _hoisted_5$
|
|
13369
|
+
const _hoisted_1$K = { class: "kds-preview-list" };
|
|
13370
|
+
const _hoisted_2$r = { class: "kds-preview-list-title-row" };
|
|
13371
|
+
const _hoisted_3$l = { class: "kds-preview-list-content" };
|
|
13372
|
+
const _hoisted_4$j = { class: "kds-preview-list-headline" };
|
|
13373
|
+
const _hoisted_5$b = ["aria-label"];
|
|
13362
13374
|
const _hoisted_6$6 = { class: "kds-preview-list-show-hide" };
|
|
13363
13375
|
const DEFAULT_MAX_VISIBLE_ITEMS = 6;
|
|
13364
|
-
const _sfc_main$
|
|
13376
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
13365
13377
|
__name: "KdsPreviewList",
|
|
13366
13378
|
props: /* @__PURE__ */ mergeModels({
|
|
13367
13379
|
expanded: { type: Boolean },
|
|
@@ -13396,8 +13408,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13396
13408
|
})
|
|
13397
13409
|
);
|
|
13398
13410
|
return (_ctx, _cache) => {
|
|
13399
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
13400
|
-
createElementVNode("header", _hoisted_2$
|
|
13411
|
+
return openBlock(), createElementBlock("section", _hoisted_1$K, [
|
|
13412
|
+
createElementVNode("header", _hoisted_2$r, [
|
|
13401
13413
|
__props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
13402
13414
|
key: 0,
|
|
13403
13415
|
size: "small",
|
|
@@ -13407,10 +13419,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13407
13419
|
name: __props.leadingIcon,
|
|
13408
13420
|
size: "small"
|
|
13409
13421
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
13410
|
-
createElementVNode("div", _hoisted_3$
|
|
13411
|
-
createElementVNode("span", _hoisted_4$
|
|
13422
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
13423
|
+
createElementVNode("span", _hoisted_4$j, toDisplayString(props.headline), 1)
|
|
13412
13424
|
]),
|
|
13413
|
-
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$
|
|
13425
|
+
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$1B, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
|
|
13414
13426
|
]),
|
|
13415
13427
|
withDirectives(createElementVNode("div", {
|
|
13416
13428
|
id: bodyId,
|
|
@@ -13443,12 +13455,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13443
13455
|
}, ["stop"]))
|
|
13444
13456
|
}, null, 8, ["id", "text", "accessory"]);
|
|
13445
13457
|
}), 128))
|
|
13446
|
-
], 8, _hoisted_5$
|
|
13458
|
+
], 8, _hoisted_5$b)) : createCommentVNode("", true)
|
|
13447
13459
|
], 512), [
|
|
13448
13460
|
[vShow, expanded.value]
|
|
13449
13461
|
]),
|
|
13450
13462
|
createElementVNode("footer", _hoisted_6$6, [
|
|
13451
|
-
createVNode(_sfc_main$
|
|
13463
|
+
createVNode(_sfc_main$1B, {
|
|
13452
13464
|
class: "kds-preview-list-toggle",
|
|
13453
13465
|
label: expanded.value ? "Hide all" : "Show all",
|
|
13454
13466
|
"trailing-icon": expanded.value ? "chevron-up" : "chevron-down",
|
|
@@ -13464,13 +13476,13 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
13464
13476
|
}
|
|
13465
13477
|
});
|
|
13466
13478
|
|
|
13467
|
-
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13479
|
+
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a11103f6"]]);
|
|
13468
13480
|
|
|
13469
|
-
const _hoisted_1$
|
|
13470
|
-
const _hoisted_2$
|
|
13471
|
-
const _hoisted_3$
|
|
13472
|
-
const _hoisted_4$
|
|
13473
|
-
const _sfc_main$
|
|
13481
|
+
const _hoisted_1$J = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
13482
|
+
const _hoisted_2$q = ["id"];
|
|
13483
|
+
const _hoisted_3$k = { class: "legend-text" };
|
|
13484
|
+
const _hoisted_4$i = { class: "kds-fieldset-content" };
|
|
13485
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
13474
13486
|
__name: "BaseFieldsetWrapper",
|
|
13475
13487
|
props: {
|
|
13476
13488
|
id: {},
|
|
@@ -13509,7 +13521,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
13509
13521
|
id: legendId.value,
|
|
13510
13522
|
class: "kds-fieldset-legend"
|
|
13511
13523
|
}, [
|
|
13512
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_3$
|
|
13524
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_3$k, [
|
|
13513
13525
|
createTextVNode(toDisplayString(props.label), 1)
|
|
13514
13526
|
])), [
|
|
13515
13527
|
[unref(vKdsTooltip), props.label, "truncated"]
|
|
@@ -13519,8 +13531,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
13519
13531
|
content: props.description,
|
|
13520
13532
|
hidden: !isHovered.value
|
|
13521
13533
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
13522
|
-
], 8, _hoisted_2$
|
|
13523
|
-
createElementVNode("div", _hoisted_4$
|
|
13534
|
+
], 8, _hoisted_2$q)) : createCommentVNode("", true),
|
|
13535
|
+
createElementVNode("div", _hoisted_4$i, [
|
|
13524
13536
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
13525
13537
|
]),
|
|
13526
13538
|
createVNode(KdsSubText, {
|
|
@@ -13530,14 +13542,14 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
13530
13542
|
validating: props.validating,
|
|
13531
13543
|
"preserve-sub-text-space": props.preserveSubTextSpace
|
|
13532
13544
|
}, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
|
|
13533
|
-
], 40, _hoisted_1$
|
|
13545
|
+
], 40, _hoisted_1$J);
|
|
13534
13546
|
};
|
|
13535
13547
|
}
|
|
13536
13548
|
});
|
|
13537
13549
|
|
|
13538
|
-
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13550
|
+
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-f3228e9e"]]);
|
|
13539
13551
|
|
|
13540
|
-
const _sfc_main
|
|
13552
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
13541
13553
|
__name: "KdsCheckboxGroup",
|
|
13542
13554
|
props: /* @__PURE__ */ mergeModels({
|
|
13543
13555
|
id: {},
|
|
@@ -13617,7 +13629,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
13617
13629
|
}
|
|
13618
13630
|
});
|
|
13619
13631
|
|
|
13620
|
-
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
13632
|
+
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-c6536296"]]);
|
|
13621
13633
|
|
|
13622
13634
|
const kdsCheckboxGroupAlignment = {
|
|
13623
13635
|
VERTICAL: "vertical",
|
|
@@ -13646,18 +13658,18 @@ const kdsToggleSwitchLabelPositions = Object.values(
|
|
|
13646
13658
|
kdsToggleSwitchLabelPosition
|
|
13647
13659
|
);
|
|
13648
13660
|
|
|
13649
|
-
const _hoisted_1$
|
|
13650
|
-
const _hoisted_2$
|
|
13651
|
-
const _hoisted_3$
|
|
13661
|
+
const _hoisted_1$I = ["disabled", "aria-label", "aria-checked"];
|
|
13662
|
+
const _hoisted_2$p = { class: "control" };
|
|
13663
|
+
const _hoisted_3$j = {
|
|
13652
13664
|
class: "knob",
|
|
13653
13665
|
"aria-hidden": "true"
|
|
13654
13666
|
};
|
|
13655
|
-
const _hoisted_4$
|
|
13667
|
+
const _hoisted_4$h = {
|
|
13656
13668
|
key: 0,
|
|
13657
13669
|
class: "content"
|
|
13658
13670
|
};
|
|
13659
|
-
const _hoisted_5$
|
|
13660
|
-
const _sfc_main$
|
|
13671
|
+
const _hoisted_5$a = { class: "label" };
|
|
13672
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
13661
13673
|
__name: "KdsToggleSwitch",
|
|
13662
13674
|
props: /* @__PURE__ */ mergeModels({
|
|
13663
13675
|
disabled: { type: Boolean, default: false },
|
|
@@ -13697,37 +13709,37 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
13697
13709
|
role: "switch",
|
|
13698
13710
|
onClick: handleClick
|
|
13699
13711
|
}, [
|
|
13700
|
-
createElementVNode("div", _hoisted_2$
|
|
13701
|
-
createElementVNode("div", _hoisted_3$
|
|
13712
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
13713
|
+
createElementVNode("div", _hoisted_3$j, [
|
|
13702
13714
|
createVNode(KdsIcon, {
|
|
13703
13715
|
name: isChecked.value ? "checkmark" : "x-close",
|
|
13704
13716
|
size: __props.size === "small" ? "xsmall" : "small"
|
|
13705
13717
|
}, null, 8, ["name", "size"])
|
|
13706
13718
|
])
|
|
13707
13719
|
]),
|
|
13708
|
-
props.label ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
13709
|
-
createElementVNode("span", _hoisted_5$
|
|
13720
|
+
props.label ? (openBlock(), createElementBlock("div", _hoisted_4$h, [
|
|
13721
|
+
createElementVNode("span", _hoisted_5$a, toDisplayString(props.label), 1)
|
|
13710
13722
|
])) : createCommentVNode("", true)
|
|
13711
|
-
], 10, _hoisted_1$
|
|
13723
|
+
], 10, _hoisted_1$I);
|
|
13712
13724
|
};
|
|
13713
13725
|
}
|
|
13714
13726
|
});
|
|
13715
13727
|
|
|
13716
|
-
const KdsToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13728
|
+
const KdsToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-417fc16d"]]);
|
|
13717
13729
|
|
|
13718
|
-
const _hoisted_1$
|
|
13719
|
-
const _hoisted_2$
|
|
13720
|
-
const _hoisted_3$
|
|
13730
|
+
const _hoisted_1$H = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
|
|
13731
|
+
const _hoisted_2$o = { class: "control" };
|
|
13732
|
+
const _hoisted_3$i = {
|
|
13721
13733
|
key: 0,
|
|
13722
13734
|
class: "dot",
|
|
13723
13735
|
viewBox: "0 0 2 2",
|
|
13724
13736
|
"aria-hidden": "true",
|
|
13725
13737
|
focusable: "false"
|
|
13726
13738
|
};
|
|
13727
|
-
const _hoisted_4$
|
|
13728
|
-
const _hoisted_5$
|
|
13739
|
+
const _hoisted_4$g = { class: "content" };
|
|
13740
|
+
const _hoisted_5$9 = { class: "label" };
|
|
13729
13741
|
const _hoisted_6$5 = ["id"];
|
|
13730
|
-
const _sfc_main$
|
|
13742
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
13731
13743
|
__name: "KdsRadioButton",
|
|
13732
13744
|
props: /* @__PURE__ */ mergeModels({
|
|
13733
13745
|
modelValue: { type: Boolean },
|
|
@@ -13768,8 +13780,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13768
13780
|
type: "button",
|
|
13769
13781
|
onClick: handleClick
|
|
13770
13782
|
}, [
|
|
13771
|
-
createElementVNode("div", _hoisted_2$
|
|
13772
|
-
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
13783
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
13784
|
+
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$i, [..._cache[0] || (_cache[0] = [
|
|
13773
13785
|
createElementVNode("circle", {
|
|
13774
13786
|
cx: "1",
|
|
13775
13787
|
cy: "1",
|
|
@@ -13777,20 +13789,20 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
13777
13789
|
}, null, -1)
|
|
13778
13790
|
])])) : createCommentVNode("", true)
|
|
13779
13791
|
]),
|
|
13780
|
-
createElementVNode("div", _hoisted_4$
|
|
13781
|
-
createElementVNode("div", _hoisted_5$
|
|
13792
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
13793
|
+
createElementVNode("div", _hoisted_5$9, toDisplayString(props.text), 1),
|
|
13782
13794
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
13783
13795
|
key: 0,
|
|
13784
13796
|
id: `${unref(id)}-helper`,
|
|
13785
13797
|
class: "helper-text"
|
|
13786
13798
|
}, toDisplayString(props.helperText), 9, _hoisted_6$5)) : createCommentVNode("", true)
|
|
13787
13799
|
])
|
|
13788
|
-
], 10, _hoisted_1$
|
|
13800
|
+
], 10, _hoisted_1$H);
|
|
13789
13801
|
};
|
|
13790
13802
|
}
|
|
13791
13803
|
});
|
|
13792
13804
|
|
|
13793
|
-
const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13805
|
+
const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-f4f6392a"]]);
|
|
13794
13806
|
|
|
13795
13807
|
const useRadioSelection = ({
|
|
13796
13808
|
selectedId,
|
|
@@ -13912,7 +13924,7 @@ const useRadioSelection = ({
|
|
|
13912
13924
|
};
|
|
13913
13925
|
};
|
|
13914
13926
|
|
|
13915
|
-
const _sfc_main
|
|
13927
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
13916
13928
|
__name: "KdsRadioButtonGroup",
|
|
13917
13929
|
props: /* @__PURE__ */ mergeModels({
|
|
13918
13930
|
modelValue: {},
|
|
@@ -13988,14 +14000,14 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
13988
14000
|
}
|
|
13989
14001
|
});
|
|
13990
14002
|
|
|
13991
|
-
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
14003
|
+
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d78ed4a2"]]);
|
|
13992
14004
|
|
|
13993
|
-
const _hoisted_1$
|
|
13994
|
-
const _hoisted_2$
|
|
14005
|
+
const _hoisted_1$G = ["aria-checked", "aria-label", "disabled", "tabindex"];
|
|
14006
|
+
const _hoisted_2$n = {
|
|
13995
14007
|
key: 1,
|
|
13996
14008
|
class: "option-label"
|
|
13997
14009
|
};
|
|
13998
|
-
const _sfc_main$
|
|
14010
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
13999
14011
|
__name: "ValueSwitchItem",
|
|
14000
14012
|
props: {
|
|
14001
14013
|
selected: { type: Boolean },
|
|
@@ -14031,7 +14043,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
14031
14043
|
name: props.leadingIcon,
|
|
14032
14044
|
size: __props.size
|
|
14033
14045
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true),
|
|
14034
|
-
props.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$
|
|
14046
|
+
props.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2$n, [
|
|
14035
14047
|
createTextVNode(toDisplayString(props.text), 1)
|
|
14036
14048
|
])), [
|
|
14037
14049
|
[unref(vKdsTooltip), props.text, "truncated"]
|
|
@@ -14041,14 +14053,14 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
14041
14053
|
name: props.trailingIcon,
|
|
14042
14054
|
size: __props.size
|
|
14043
14055
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
14044
|
-
], 10, _hoisted_1$
|
|
14056
|
+
], 10, _hoisted_1$G)), [
|
|
14045
14057
|
[unref(vKdsTooltip), props.title || void 0]
|
|
14046
14058
|
]);
|
|
14047
14059
|
};
|
|
14048
14060
|
}
|
|
14049
14061
|
});
|
|
14050
14062
|
|
|
14051
|
-
const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14063
|
+
const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-158bc82b"]]);
|
|
14052
14064
|
|
|
14053
14065
|
const useValueSwitchIconHiding = ({
|
|
14054
14066
|
width,
|
|
@@ -14099,7 +14111,7 @@ const useValueSwitchIconHiding = ({
|
|
|
14099
14111
|
};
|
|
14100
14112
|
};
|
|
14101
14113
|
|
|
14102
|
-
const _sfc_main$
|
|
14114
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
14103
14115
|
__name: "KdsValueSwitch",
|
|
14104
14116
|
props: /* @__PURE__ */ mergeModels({
|
|
14105
14117
|
modelValue: {},
|
|
@@ -14189,7 +14201,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
14189
14201
|
}
|
|
14190
14202
|
});
|
|
14191
14203
|
|
|
14192
|
-
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14204
|
+
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-f6d51795"]]);
|
|
14193
14205
|
|
|
14194
14206
|
const kdsRadioButtonGroupAlignment = {
|
|
14195
14207
|
VERTICAL: "vertical",
|
|
@@ -14380,7 +14392,7 @@ const createKdsNumberParser = (params) => {
|
|
|
14380
14392
|
|
|
14381
14393
|
const REPEAT_INITIAL_DELAY_MS = 400;
|
|
14382
14394
|
const REPEAT_INTERVAL_MS = 100;
|
|
14383
|
-
const _sfc_main$
|
|
14395
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
14384
14396
|
__name: "KdsNumberInput",
|
|
14385
14397
|
props: /* @__PURE__ */ mergeModels({
|
|
14386
14398
|
description: {},
|
|
@@ -14567,7 +14579,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14567
14579
|
onBlur: handleBlur
|
|
14568
14580
|
}), {
|
|
14569
14581
|
trailing: withCtx(() => [
|
|
14570
|
-
createVNode(_sfc_main$
|
|
14582
|
+
createVNode(_sfc_main$1B, {
|
|
14571
14583
|
size: "xsmall",
|
|
14572
14584
|
variant: "outlined",
|
|
14573
14585
|
"leading-icon": "minus",
|
|
@@ -14579,7 +14591,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
14579
14591
|
onPointerleave: stopRepeating,
|
|
14580
14592
|
onPointercancel: stopRepeating
|
|
14581
14593
|
}, null, 8, ["ariaLabel", "disabled"]),
|
|
14582
|
-
createVNode(_sfc_main$
|
|
14594
|
+
createVNode(_sfc_main$1B, {
|
|
14583
14595
|
size: "xsmall",
|
|
14584
14596
|
variant: "outlined",
|
|
14585
14597
|
"leading-icon": "plus",
|
|
@@ -14746,8 +14758,8 @@ const removeAlphaFromHexInput = (next) => {
|
|
|
14746
14758
|
return next;
|
|
14747
14759
|
};
|
|
14748
14760
|
|
|
14749
|
-
const _hoisted_1$
|
|
14750
|
-
const _sfc_main$
|
|
14761
|
+
const _hoisted_1$F = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
|
|
14762
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
14751
14763
|
__name: "ColorPickerSlider",
|
|
14752
14764
|
props: /* @__PURE__ */ mergeModels({
|
|
14753
14765
|
label: {},
|
|
@@ -14831,16 +14843,16 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14831
14843
|
onKeydown: onKeyDown
|
|
14832
14844
|
}, [..._cache[5] || (_cache[5] = [
|
|
14833
14845
|
createElementVNode("div", { class: "handle" }, null, -1)
|
|
14834
|
-
])], 40, _hoisted_1$
|
|
14846
|
+
])], 40, _hoisted_1$F);
|
|
14835
14847
|
};
|
|
14836
14848
|
}
|
|
14837
14849
|
});
|
|
14838
14850
|
|
|
14839
|
-
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14851
|
+
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-f4be2bd4"]]);
|
|
14840
14852
|
|
|
14841
|
-
const _hoisted_1$
|
|
14842
|
-
const _hoisted_2$
|
|
14843
|
-
const _hoisted_3$
|
|
14853
|
+
const _hoisted_1$E = { class: "kds-color-picker" };
|
|
14854
|
+
const _hoisted_2$m = ["aria-valuetext"];
|
|
14855
|
+
const _hoisted_3$h = { class: "value-inputs" };
|
|
14844
14856
|
const DEFAULT_HUE_DEG = 270;
|
|
14845
14857
|
const DEFAULT_SATURATION = 0.8;
|
|
14846
14858
|
const DEFAULT_VALUE = 0.9;
|
|
@@ -14854,7 +14866,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
|
|
|
14854
14866
|
const HUE_KEYBOARD_STEP_DEG = 1;
|
|
14855
14867
|
const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
|
|
14856
14868
|
const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
|
|
14857
|
-
const _sfc_main$
|
|
14869
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
14858
14870
|
__name: "ColorPicker",
|
|
14859
14871
|
props: /* @__PURE__ */ mergeModels({
|
|
14860
14872
|
modelValue: {}
|
|
@@ -15004,7 +15016,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15004
15016
|
}
|
|
15005
15017
|
};
|
|
15006
15018
|
return (_ctx, _cache) => {
|
|
15007
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15019
|
+
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
15008
15020
|
createElementVNode("div", {
|
|
15009
15021
|
ref_key: "colorspaceEl",
|
|
15010
15022
|
ref: colorspaceEl,
|
|
@@ -15032,7 +15044,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15032
15044
|
class: "handle",
|
|
15033
15045
|
style: normalizeStyle(colorspaceHandleStyle.value)
|
|
15034
15046
|
}, null, 4)
|
|
15035
|
-
], 44, _hoisted_2$
|
|
15047
|
+
], 44, _hoisted_2$m),
|
|
15036
15048
|
createVNode(ColorPickerSlider, {
|
|
15037
15049
|
modelValue: hue.value,
|
|
15038
15050
|
"onUpdate:modelValue": [
|
|
@@ -15067,7 +15079,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15067
15079
|
step: KEYBOARD_STEP,
|
|
15068
15080
|
"large-step": KEYBOARD_LARGE_STEP
|
|
15069
15081
|
}, null, 8, ["modelValue", "value-now", "value-text"]),
|
|
15070
|
-
createElementVNode("div", _hoisted_3$
|
|
15082
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
15071
15083
|
createVNode(KdsTextInput, {
|
|
15072
15084
|
"model-value": hexInputValue.value,
|
|
15073
15085
|
ariaLabel: "Color hex value",
|
|
@@ -15075,7 +15087,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15075
15087
|
"onUpdate:modelValue": updateFromTextValue,
|
|
15076
15088
|
onFocusout: onHexInputFocusOut
|
|
15077
15089
|
}, null, 8, ["model-value"]),
|
|
15078
|
-
createVNode(_sfc_main$
|
|
15090
|
+
createVNode(_sfc_main$Y, {
|
|
15079
15091
|
"model-value": alphaPercent.value,
|
|
15080
15092
|
ariaLabel: "Alpha percentage",
|
|
15081
15093
|
min: 0,
|
|
@@ -15090,7 +15102,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
15090
15102
|
}
|
|
15091
15103
|
});
|
|
15092
15104
|
|
|
15093
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15105
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-6728e280"]]);
|
|
15094
15106
|
|
|
15095
15107
|
const HEX_LENGTH_1 = 1;
|
|
15096
15108
|
const HEX_LENGTH_2 = 2;
|
|
@@ -15164,7 +15176,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
|
|
|
15164
15176
|
return { handleFocusOut };
|
|
15165
15177
|
};
|
|
15166
15178
|
|
|
15167
|
-
const _sfc_main$
|
|
15179
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
15168
15180
|
__name: "KdsColorInput",
|
|
15169
15181
|
props: /* @__PURE__ */ mergeModels({
|
|
15170
15182
|
description: {},
|
|
@@ -15228,7 +15240,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
15228
15240
|
}, null, 8, ["color", "style"])
|
|
15229
15241
|
]),
|
|
15230
15242
|
trailing: withCtx(() => [
|
|
15231
|
-
createVNode(unref(_sfc_main$
|
|
15243
|
+
createVNode(unref(_sfc_main$1q), {
|
|
15232
15244
|
modelValue: open.value,
|
|
15233
15245
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
15234
15246
|
size: "xsmall",
|
|
@@ -15269,7 +15281,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
15269
15281
|
}
|
|
15270
15282
|
});
|
|
15271
15283
|
|
|
15272
|
-
const _sfc_main$
|
|
15284
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
15273
15285
|
__name: "KdsPasswordInput",
|
|
15274
15286
|
props: /* @__PURE__ */ mergeModels({
|
|
15275
15287
|
description: {},
|
|
@@ -15331,7 +15343,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
15331
15343
|
onBlur: handleBlur
|
|
15332
15344
|
}), {
|
|
15333
15345
|
trailing: withCtx(() => [
|
|
15334
|
-
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$
|
|
15346
|
+
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
15335
15347
|
key: 0,
|
|
15336
15348
|
modelValue: showValue.value,
|
|
15337
15349
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
|
|
@@ -15371,7 +15383,7 @@ const kdsPasswordInputAutocompletes = Object.values(
|
|
|
15371
15383
|
kdsPasswordInputAutocomplete
|
|
15372
15384
|
);
|
|
15373
15385
|
|
|
15374
|
-
const _sfc_main$
|
|
15386
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
15375
15387
|
__name: "KdsUsernameInput",
|
|
15376
15388
|
props: /* @__PURE__ */ mergeModels({
|
|
15377
15389
|
description: {},
|
|
@@ -19383,17 +19395,17 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
|
|
|
19383
19395
|
DateTimeFormat: Xn
|
|
19384
19396
|
}));
|
|
19385
19397
|
|
|
19386
|
-
const _hoisted_1$
|
|
19398
|
+
const _hoisted_1$D = {
|
|
19387
19399
|
role: "row",
|
|
19388
19400
|
class: "kds-date-picker-header-row"
|
|
19389
19401
|
};
|
|
19390
|
-
const _hoisted_2$
|
|
19391
|
-
const _hoisted_3$
|
|
19392
|
-
const _hoisted_4$
|
|
19402
|
+
const _hoisted_2$l = ["aria-label"];
|
|
19403
|
+
const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
|
|
19404
|
+
const _hoisted_4$f = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
|
|
19393
19405
|
const REFERENCE_YEAR$2 = 2024;
|
|
19394
19406
|
const DAYS_PER_WEEK = 7;
|
|
19395
19407
|
const TOTAL_CELLS = 42;
|
|
19396
|
-
const _sfc_main$
|
|
19408
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
19397
19409
|
__name: "DatePickerDayGrid",
|
|
19398
19410
|
props: {
|
|
19399
19411
|
modelValue: {},
|
|
@@ -19688,17 +19700,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
19688
19700
|
role: "grid",
|
|
19689
19701
|
"aria-label": "Calendar"
|
|
19690
19702
|
}, [
|
|
19691
|
-
createElementVNode("div", _hoisted_1$
|
|
19703
|
+
createElementVNode("div", _hoisted_1$D, [
|
|
19692
19704
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
|
|
19693
19705
|
return openBlock(), createElementBlock("div", {
|
|
19694
19706
|
key: day,
|
|
19695
19707
|
role: "columnheader",
|
|
19696
19708
|
"aria-label": unref(DAY_FULL_LABELS)[i],
|
|
19697
19709
|
class: "kds-date-picker-weekday"
|
|
19698
|
-
}, toDisplayString(day), 9, _hoisted_2$
|
|
19710
|
+
}, toDisplayString(day), 9, _hoisted_2$l);
|
|
19699
19711
|
}), 128))
|
|
19700
19712
|
]),
|
|
19701
|
-
createElementVNode("div", _hoisted_3$
|
|
19713
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
19702
19714
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
|
|
19703
19715
|
return openBlock(), createElementBlock("div", {
|
|
19704
19716
|
key: wi,
|
|
@@ -19727,7 +19739,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
19727
19739
|
onClick: ($event) => selectDate(day),
|
|
19728
19740
|
onKeydown: onDayKeydown,
|
|
19729
19741
|
onFocus: ($event) => onDayFocus(day)
|
|
19730
|
-
}, toDisplayString(day.day), 43, _hoisted_4$
|
|
19742
|
+
}, toDisplayString(day.day), 43, _hoisted_4$f);
|
|
19731
19743
|
}), 128))
|
|
19732
19744
|
]);
|
|
19733
19745
|
}), 128))
|
|
@@ -19737,13 +19749,13 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
19737
19749
|
}
|
|
19738
19750
|
});
|
|
19739
19751
|
|
|
19740
|
-
const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19752
|
+
const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-51807b35"]]);
|
|
19741
19753
|
|
|
19742
|
-
const _hoisted_1$
|
|
19754
|
+
const _hoisted_1$C = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
19743
19755
|
const REFERENCE_YEAR$1 = 2024;
|
|
19744
19756
|
const MONTHS_PER_YEAR$1 = 12;
|
|
19745
19757
|
const MONTH_GRID_COLS = 3;
|
|
19746
|
-
const _sfc_main$
|
|
19758
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
19747
19759
|
__name: "DatePickerMonthGrid",
|
|
19748
19760
|
props: {
|
|
19749
19761
|
modelValue: {},
|
|
@@ -19933,7 +19945,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
19933
19945
|
onClick: ($event) => selectMonth(cell.month),
|
|
19934
19946
|
onKeydown: ($event) => onKeydown($event, cell.month),
|
|
19935
19947
|
onFocus: ($event) => focusedCell.value = cell.month
|
|
19936
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
19948
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$C);
|
|
19937
19949
|
}), 128))
|
|
19938
19950
|
]);
|
|
19939
19951
|
}), 128))
|
|
@@ -19942,12 +19954,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
19942
19954
|
}
|
|
19943
19955
|
});
|
|
19944
19956
|
|
|
19945
|
-
const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19957
|
+
const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-63d96e84"]]);
|
|
19946
19958
|
|
|
19947
|
-
const _hoisted_1$
|
|
19959
|
+
const _hoisted_1$B = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
19948
19960
|
const YEAR_PAGE_SIZE$1 = 15;
|
|
19949
19961
|
const YEAR_GRID_COLS = 3;
|
|
19950
|
-
const _sfc_main$
|
|
19962
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
19951
19963
|
__name: "DatePickerYearGrid",
|
|
19952
19964
|
props: {
|
|
19953
19965
|
modelValue: {},
|
|
@@ -20105,7 +20117,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
20105
20117
|
onClick: ($event) => selectYear(cell.year),
|
|
20106
20118
|
onKeydown: ($event) => onKeydown($event, cell.year),
|
|
20107
20119
|
onFocus: ($event) => focusedCell.value = cell.year
|
|
20108
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
20120
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$B);
|
|
20109
20121
|
}), 128))
|
|
20110
20122
|
]);
|
|
20111
20123
|
}), 128))
|
|
@@ -20114,22 +20126,22 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
20114
20126
|
}
|
|
20115
20127
|
});
|
|
20116
20128
|
|
|
20117
|
-
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20129
|
+
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-270d55b9"]]);
|
|
20118
20130
|
|
|
20119
|
-
const _hoisted_1$
|
|
20120
|
-
const _hoisted_2$
|
|
20121
|
-
const _hoisted_3$
|
|
20122
|
-
const _hoisted_4$
|
|
20131
|
+
const _hoisted_1$A = { class: "kds-date-picker" };
|
|
20132
|
+
const _hoisted_2$k = { class: "kds-date-picker-header" };
|
|
20133
|
+
const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
|
|
20134
|
+
const _hoisted_4$e = {
|
|
20123
20135
|
key: 1,
|
|
20124
20136
|
class: "kds-date-picker-header-static-label",
|
|
20125
20137
|
"aria-live": "polite"
|
|
20126
20138
|
};
|
|
20127
|
-
const _hoisted_5$
|
|
20139
|
+
const _hoisted_5$8 = { class: "kds-date-picker-nav-block" };
|
|
20128
20140
|
const _hoisted_6$4 = { class: "kds-date-picker-body" };
|
|
20129
20141
|
const MONTHS_PER_YEAR = 12;
|
|
20130
20142
|
const YEAR_PAGE_SIZE = 15;
|
|
20131
20143
|
const REFERENCE_YEAR = 2024;
|
|
20132
|
-
const _sfc_main$
|
|
20144
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
20133
20145
|
__name: "KdsDatePicker",
|
|
20134
20146
|
props: /* @__PURE__ */ mergeModels({
|
|
20135
20147
|
modelValue: {},
|
|
@@ -20326,10 +20338,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
20326
20338
|
});
|
|
20327
20339
|
__expose({ focus });
|
|
20328
20340
|
return (_ctx, _cache) => {
|
|
20329
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20330
|
-
createElementVNode("div", _hoisted_2$
|
|
20331
|
-
createElementVNode("div", _hoisted_3$
|
|
20332
|
-
view.value === "day" ? (openBlock(), createBlock(_sfc_main$
|
|
20341
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
20342
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
20343
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
20344
|
+
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1B, {
|
|
20333
20345
|
key: 0,
|
|
20334
20346
|
variant: "transparent",
|
|
20335
20347
|
size: "small",
|
|
@@ -20338,7 +20350,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
20338
20350
|
disabled: prevYearDisabled.value,
|
|
20339
20351
|
onClick: onPrevYear
|
|
20340
20352
|
}, null, 8, ["disabled"])) : createCommentVNode("", true),
|
|
20341
|
-
createVNode(_sfc_main$
|
|
20353
|
+
createVNode(_sfc_main$1B, {
|
|
20342
20354
|
variant: "transparent",
|
|
20343
20355
|
size: "small",
|
|
20344
20356
|
"leading-icon": "chevron-left",
|
|
@@ -20347,16 +20359,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
20347
20359
|
onClick: onPrev
|
|
20348
20360
|
}, null, 8, ["ariaLabel", "disabled"])
|
|
20349
20361
|
]),
|
|
20350
|
-
view.value !== "year" ? (openBlock(), createBlock(_sfc_main$
|
|
20362
|
+
view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1B, {
|
|
20351
20363
|
key: 0,
|
|
20352
20364
|
class: "kds-date-picker-header-label",
|
|
20353
20365
|
variant: "transparent",
|
|
20354
20366
|
size: "small",
|
|
20355
20367
|
label: headerLabel.value,
|
|
20356
20368
|
onClick: onHeaderLabelClick
|
|
20357
|
-
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
20358
|
-
createElementVNode("div", _hoisted_5$
|
|
20359
|
-
createVNode(_sfc_main$
|
|
20369
|
+
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(headerLabel.value), 1)),
|
|
20370
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
20371
|
+
createVNode(_sfc_main$1B, {
|
|
20360
20372
|
variant: "transparent",
|
|
20361
20373
|
size: "small",
|
|
20362
20374
|
"leading-icon": "chevron-right",
|
|
@@ -20364,7 +20376,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
20364
20376
|
disabled: nextDisabled.value,
|
|
20365
20377
|
onClick: onNext
|
|
20366
20378
|
}, null, 8, ["ariaLabel", "disabled"]),
|
|
20367
|
-
view.value === "day" ? (openBlock(), createBlock(_sfc_main$
|
|
20379
|
+
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1B, {
|
|
20368
20380
|
key: 0,
|
|
20369
20381
|
variant: "transparent",
|
|
20370
20382
|
size: "small",
|
|
@@ -20416,7 +20428,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
20416
20428
|
}
|
|
20417
20429
|
});
|
|
20418
20430
|
|
|
20419
|
-
const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20431
|
+
const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-e46d7e18"]]);
|
|
20420
20432
|
|
|
20421
20433
|
const YEAR_END_INDEX = 4;
|
|
20422
20434
|
const MONTH_START_INDEX = 4;
|
|
@@ -20519,7 +20531,7 @@ const useDateInputMask = (modelValue) => {
|
|
|
20519
20531
|
|
|
20520
20532
|
const incompleteDateMessage = "Invalid date format. Please provide year (YYYY), month (MM), and day (DD).";
|
|
20521
20533
|
const MONTH_NAME_SAMPLE_YEAR = 2001;
|
|
20522
|
-
const _sfc_main$
|
|
20534
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
20523
20535
|
__name: "KdsDateInput",
|
|
20524
20536
|
props: /* @__PURE__ */ mergeModels({
|
|
20525
20537
|
description: {},
|
|
@@ -20649,7 +20661,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
20649
20661
|
onBlur: onTextInputBlur
|
|
20650
20662
|
}), {
|
|
20651
20663
|
trailing: withCtx(() => [
|
|
20652
|
-
createVNode(_sfc_main$
|
|
20664
|
+
createVNode(_sfc_main$1q, {
|
|
20653
20665
|
modelValue: popoverIsVisible.value,
|
|
20654
20666
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
20655
20667
|
size: "xsmall",
|
|
@@ -20698,8 +20710,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
20698
20710
|
}
|
|
20699
20711
|
});
|
|
20700
20712
|
|
|
20701
|
-
const _hoisted_1$
|
|
20702
|
-
const _sfc_main$
|
|
20713
|
+
const _hoisted_1$z = { class: "kds-date-time-format-popover" };
|
|
20714
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
20703
20715
|
__name: "DateTimeFormatPopover",
|
|
20704
20716
|
props: /* @__PURE__ */ mergeModels({
|
|
20705
20717
|
selection: {},
|
|
@@ -20838,7 +20850,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
20838
20850
|
}));
|
|
20839
20851
|
});
|
|
20840
20852
|
return (_ctx, _cache) => {
|
|
20841
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20853
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
20842
20854
|
modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
|
|
20843
20855
|
key: 0,
|
|
20844
20856
|
"model-value": effectiveSelectedMode.value,
|
|
@@ -20870,9 +20882,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
20870
20882
|
}
|
|
20871
20883
|
});
|
|
20872
20884
|
|
|
20873
|
-
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20885
|
+
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-5c547e68"]]);
|
|
20874
20886
|
|
|
20875
|
-
const _sfc_main$
|
|
20887
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
20876
20888
|
__name: "KdsDateTimeFormatInput",
|
|
20877
20889
|
props: /* @__PURE__ */ mergeModels({
|
|
20878
20890
|
description: {},
|
|
@@ -20920,7 +20932,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
20920
20932
|
autocomplete: props.autocomplete
|
|
20921
20933
|
}), {
|
|
20922
20934
|
trailing: withCtx(() => [
|
|
20923
|
-
createVNode(unref(_sfc_main$
|
|
20935
|
+
createVNode(unref(_sfc_main$1q), {
|
|
20924
20936
|
modelValue: open.value,
|
|
20925
20937
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
20926
20938
|
size: "xsmall",
|
|
@@ -21007,7 +21019,7 @@ const buildRegexFromPatternInput = (input, options) => {
|
|
|
21007
21019
|
return `^(?!.*${withCase}).*$`;
|
|
21008
21020
|
};
|
|
21009
21021
|
|
|
21010
|
-
const _sfc_main$
|
|
21022
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
21011
21023
|
__name: "KdsPatternInput",
|
|
21012
21024
|
props: /* @__PURE__ */ mergeModels({
|
|
21013
21025
|
description: {},
|
|
@@ -21094,7 +21106,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21094
21106
|
clearable: ""
|
|
21095
21107
|
}), {
|
|
21096
21108
|
trailing: withCtx(() => [
|
|
21097
|
-
createVNode(_sfc_main$
|
|
21109
|
+
createVNode(_sfc_main$1q, {
|
|
21098
21110
|
modelValue: caseSensitive.value,
|
|
21099
21111
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
|
|
21100
21112
|
size: "xsmall",
|
|
@@ -21104,7 +21116,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21104
21116
|
ariaLabel: "Case sensitivity",
|
|
21105
21117
|
disabled: __props.disabled
|
|
21106
21118
|
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
21107
|
-
createVNode(_sfc_main$
|
|
21119
|
+
createVNode(_sfc_main$1q, {
|
|
21108
21120
|
modelValue: excludeMatches.value,
|
|
21109
21121
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
|
|
21110
21122
|
size: "xsmall",
|
|
@@ -21114,7 +21126,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21114
21126
|
ariaLabel: "Exclude matches",
|
|
21115
21127
|
disabled: __props.disabled
|
|
21116
21128
|
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
21117
|
-
createVNode(_sfc_main$
|
|
21129
|
+
createVNode(_sfc_main$1q, {
|
|
21118
21130
|
modelValue: useRegex.value,
|
|
21119
21131
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
|
|
21120
21132
|
size: "xsmall",
|
|
@@ -21134,7 +21146,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21134
21146
|
}
|
|
21135
21147
|
});
|
|
21136
21148
|
|
|
21137
|
-
const _sfc_main$
|
|
21149
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
21138
21150
|
__name: "KdsSearchInput",
|
|
21139
21151
|
props: /* @__PURE__ */ mergeModels({
|
|
21140
21152
|
description: {},
|
|
@@ -21288,11 +21300,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21288
21300
|
}
|
|
21289
21301
|
});
|
|
21290
21302
|
|
|
21291
|
-
const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21303
|
+
const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-37efab14"]]);
|
|
21292
21304
|
|
|
21293
|
-
const _hoisted_1$
|
|
21305
|
+
const _hoisted_1$y = ["rows", "placeholder", "disabled", "autocomplete"];
|
|
21294
21306
|
const DEFAULT_ROWS = 3;
|
|
21295
|
-
const _sfc_main$
|
|
21307
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
21296
21308
|
__name: "KdsTextarea",
|
|
21297
21309
|
props: /* @__PURE__ */ mergeModels({
|
|
21298
21310
|
description: {},
|
|
@@ -21359,7 +21371,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21359
21371
|
placeholder: __props.placeholder,
|
|
21360
21372
|
disabled: __props.disabled,
|
|
21361
21373
|
autocomplete: props.autocomplete
|
|
21362
|
-
}), null, 16, _hoisted_1$
|
|
21374
|
+
}), null, 16, _hoisted_1$y), [
|
|
21363
21375
|
[vModelText, modelValue.value]
|
|
21364
21376
|
])
|
|
21365
21377
|
]),
|
|
@@ -21369,16 +21381,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21369
21381
|
}
|
|
21370
21382
|
});
|
|
21371
21383
|
|
|
21372
|
-
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21384
|
+
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-36211819"]]);
|
|
21373
21385
|
|
|
21374
|
-
const _hoisted_1$
|
|
21375
|
-
const _hoisted_2$
|
|
21376
|
-
const _hoisted_3$
|
|
21377
|
-
const _hoisted_4$
|
|
21386
|
+
const _hoisted_1$x = { class: "kds-time-picker" };
|
|
21387
|
+
const _hoisted_2$j = { class: "kds-time-picker-fields" };
|
|
21388
|
+
const _hoisted_3$e = { class: "kds-time-picker-fields" };
|
|
21389
|
+
const _hoisted_4$d = {
|
|
21378
21390
|
key: 0,
|
|
21379
21391
|
class: "kds-time-picker-fields"
|
|
21380
21392
|
};
|
|
21381
|
-
const _hoisted_5$
|
|
21393
|
+
const _hoisted_5$7 = {
|
|
21382
21394
|
key: 1,
|
|
21383
21395
|
class: "kds-time-picker-actions"
|
|
21384
21396
|
};
|
|
@@ -21390,7 +21402,7 @@ const MAX_HOUR = 23;
|
|
|
21390
21402
|
const MAX_MINUTE = 59;
|
|
21391
21403
|
const MAX_SECOND = 59;
|
|
21392
21404
|
const MAX_MILLISECOND = 999;
|
|
21393
|
-
const _sfc_main$
|
|
21405
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
21394
21406
|
__name: "TimePicker",
|
|
21395
21407
|
props: /* @__PURE__ */ mergeModels({
|
|
21396
21408
|
modelValue: {},
|
|
@@ -21478,9 +21490,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21478
21490
|
};
|
|
21479
21491
|
__expose({ focus });
|
|
21480
21492
|
return (_ctx, _cache) => {
|
|
21481
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21482
|
-
createElementVNode("div", _hoisted_2$
|
|
21483
|
-
createVNode(_sfc_main$
|
|
21493
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
21494
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
21495
|
+
createVNode(_sfc_main$Y, {
|
|
21484
21496
|
ref: "hourInput",
|
|
21485
21497
|
modelValue: hour.value,
|
|
21486
21498
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
|
|
@@ -21490,7 +21502,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21490
21502
|
max: MAX_HOUR,
|
|
21491
21503
|
step: 1
|
|
21492
21504
|
}, null, 8, ["modelValue"]),
|
|
21493
|
-
createVNode(_sfc_main$
|
|
21505
|
+
createVNode(_sfc_main$Y, {
|
|
21494
21506
|
modelValue: minute.value,
|
|
21495
21507
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
|
|
21496
21508
|
class: "kds-time-picker-field",
|
|
@@ -21505,8 +21517,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21505
21517
|
class: "kds-time-picker-divider"
|
|
21506
21518
|
})) : createCommentVNode("", true),
|
|
21507
21519
|
showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
21508
|
-
createElementVNode("div", _hoisted_3$
|
|
21509
|
-
createVNode(_sfc_main$
|
|
21520
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
21521
|
+
createVNode(_sfc_main$Y, {
|
|
21510
21522
|
ref: "secondInput",
|
|
21511
21523
|
modelValue: second.value,
|
|
21512
21524
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => second.value = $event),
|
|
@@ -21516,7 +21528,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21516
21528
|
max: MAX_SECOND,
|
|
21517
21529
|
step: 1
|
|
21518
21530
|
}, null, 8, ["modelValue"]),
|
|
21519
|
-
createVNode(_sfc_main$
|
|
21531
|
+
createVNode(_sfc_main$1B, {
|
|
21520
21532
|
class: "kds-time-picker-field-trash",
|
|
21521
21533
|
variant: "transparent",
|
|
21522
21534
|
"leading-icon": "trash",
|
|
@@ -21525,8 +21537,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21525
21537
|
onClick: removeSeconds
|
|
21526
21538
|
})
|
|
21527
21539
|
]),
|
|
21528
|
-
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21529
|
-
createVNode(_sfc_main$
|
|
21540
|
+
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
|
|
21541
|
+
createVNode(_sfc_main$Y, {
|
|
21530
21542
|
ref: "millisecondInput",
|
|
21531
21543
|
modelValue: millisecond.value,
|
|
21532
21544
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => millisecond.value = $event),
|
|
@@ -21539,7 +21551,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21539
21551
|
max: MAX_MILLISECOND,
|
|
21540
21552
|
step: 1
|
|
21541
21553
|
}, null, 8, ["modelValue"]),
|
|
21542
|
-
createVNode(_sfc_main$
|
|
21554
|
+
createVNode(_sfc_main$1B, {
|
|
21543
21555
|
class: "kds-time-picker-field-trash",
|
|
21544
21556
|
variant: "transparent",
|
|
21545
21557
|
"leading-icon": "trash",
|
|
@@ -21547,8 +21559,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21547
21559
|
title: "Remove milliseconds",
|
|
21548
21560
|
onClick: removeMilliseconds
|
|
21549
21561
|
})
|
|
21550
|
-
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
21551
|
-
createVNode(_sfc_main$
|
|
21562
|
+
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
21563
|
+
createVNode(_sfc_main$1B, {
|
|
21552
21564
|
variant: "outlined",
|
|
21553
21565
|
size: "small",
|
|
21554
21566
|
"leading-icon": "plus",
|
|
@@ -21557,7 +21569,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21557
21569
|
})
|
|
21558
21570
|
])) : createCommentVNode("", true)
|
|
21559
21571
|
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
21560
|
-
createVNode(_sfc_main$
|
|
21572
|
+
createVNode(_sfc_main$1B, {
|
|
21561
21573
|
variant: "outlined",
|
|
21562
21574
|
size: "small",
|
|
21563
21575
|
"leading-icon": "plus",
|
|
@@ -21570,7 +21582,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21570
21582
|
}
|
|
21571
21583
|
});
|
|
21572
21584
|
|
|
21573
|
-
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21585
|
+
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-0b8a4eba"]]);
|
|
21574
21586
|
|
|
21575
21587
|
const HOURS_END_INDEX = 2;
|
|
21576
21588
|
const MINUTES_START_INDEX = 2;
|
|
@@ -21780,7 +21792,7 @@ const useTimeInputMask = (modelValue, granularityRef) => {
|
|
|
21780
21792
|
};
|
|
21781
21793
|
|
|
21782
21794
|
const invalidTimeMessage = "The entered time is invalid.";
|
|
21783
|
-
const _sfc_main$
|
|
21795
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
21784
21796
|
__name: "KdsTimeInput",
|
|
21785
21797
|
props: /* @__PURE__ */ mergeModels({
|
|
21786
21798
|
description: {},
|
|
@@ -21897,7 +21909,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21897
21909
|
onBlur: onTextInputBlur
|
|
21898
21910
|
}), {
|
|
21899
21911
|
trailing: withCtx(() => [
|
|
21900
|
-
createVNode(_sfc_main$
|
|
21912
|
+
createVNode(_sfc_main$1q, {
|
|
21901
21913
|
modelValue: popoverIsVisible.value,
|
|
21902
21914
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
21903
21915
|
size: "xsmall",
|
|
@@ -22159,11 +22171,11 @@ const stripInactiveFields = (duration, usedFormat) => {
|
|
|
22159
22171
|
};
|
|
22160
22172
|
const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
|
|
22161
22173
|
|
|
22162
|
-
const _hoisted_1$
|
|
22163
|
-
const _hoisted_2$
|
|
22164
|
-
const _hoisted_3$
|
|
22165
|
-
const _hoisted_4$
|
|
22166
|
-
const _sfc_main$
|
|
22174
|
+
const _hoisted_1$w = { class: "kds-interval-popover" };
|
|
22175
|
+
const _hoisted_2$i = { class: "kds-interval-popover-header" };
|
|
22176
|
+
const _hoisted_3$d = { class: "kds-interval-popover-content" };
|
|
22177
|
+
const _hoisted_4$c = { class: "kds-interval-popover-grid" };
|
|
22178
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
22167
22179
|
__name: "IntervalInputPopover",
|
|
22168
22180
|
props: /* @__PURE__ */ mergeModels({
|
|
22169
22181
|
modelValue: {},
|
|
@@ -22259,8 +22271,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22259
22271
|
}
|
|
22260
22272
|
});
|
|
22261
22273
|
return (_ctx, _cache) => {
|
|
22262
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22263
|
-
createElementVNode("div", _hoisted_2$
|
|
22274
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
22275
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
22264
22276
|
_cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
|
|
22265
22277
|
props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
22266
22278
|
key: 0,
|
|
@@ -22272,7 +22284,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22272
22284
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
22273
22285
|
]),
|
|
22274
22286
|
_cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
|
|
22275
|
-
createElementVNode("div", _hoisted_3$
|
|
22287
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
22276
22288
|
props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
22277
22289
|
key: 0,
|
|
22278
22290
|
modelValue: direction.value,
|
|
@@ -22282,9 +22294,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22282
22294
|
variant: "muted",
|
|
22283
22295
|
"possible-values": directionOptions
|
|
22284
22296
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
22285
|
-
createElementVNode("div", _hoisted_4$
|
|
22297
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
22286
22298
|
mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
|
|
22287
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
22299
|
+
return openBlock(), createBlock(unref(_sfc_main$Y), {
|
|
22288
22300
|
key,
|
|
22289
22301
|
"model-value": activeFields.value[key],
|
|
22290
22302
|
label: fieldLabels[key] ?? unref(toTitleCase)(key),
|
|
@@ -22294,7 +22306,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22294
22306
|
"onUpdate:modelValue": ($event) => updateField(key, $event)
|
|
22295
22307
|
}, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
|
|
22296
22308
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(durationNumericKeys), (key) => {
|
|
22297
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
22309
|
+
return openBlock(), createBlock(unref(_sfc_main$Y), {
|
|
22298
22310
|
key,
|
|
22299
22311
|
"model-value": activeFields.value[key],
|
|
22300
22312
|
label: fieldLabels[key] ?? unref(toTitleCase)(key),
|
|
@@ -22311,9 +22323,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
22311
22323
|
}
|
|
22312
22324
|
});
|
|
22313
22325
|
|
|
22314
|
-
const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22326
|
+
const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-02541fd1"]]);
|
|
22315
22327
|
|
|
22316
|
-
const _sfc_main$
|
|
22328
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
22317
22329
|
__name: "KdsIntervalInput",
|
|
22318
22330
|
props: /* @__PURE__ */ mergeModels({
|
|
22319
22331
|
description: {},
|
|
@@ -22476,7 +22488,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22476
22488
|
onKeydown: withKeys(withModifiers(commitTypedInput, ["prevent"]), ["enter"])
|
|
22477
22489
|
}), {
|
|
22478
22490
|
trailing: withCtx(() => [
|
|
22479
|
-
createVNode(unref(_sfc_main$
|
|
22491
|
+
createVNode(unref(_sfc_main$1q), {
|
|
22480
22492
|
modelValue: isPopoverOpen.value,
|
|
22481
22493
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopoverOpen.value = $event),
|
|
22482
22494
|
size: "xsmall",
|
|
@@ -22525,8 +22537,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22525
22537
|
}
|
|
22526
22538
|
});
|
|
22527
22539
|
|
|
22528
|
-
const _hoisted_1$
|
|
22529
|
-
const _sfc_main$
|
|
22540
|
+
const _hoisted_1$v = { class: "kds-date-time-input" };
|
|
22541
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
22530
22542
|
__name: "KdsDateTimeInput",
|
|
22531
22543
|
props: /* @__PURE__ */ mergeModels({
|
|
22532
22544
|
id: {},
|
|
@@ -22600,8 +22612,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
22600
22612
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
22601
22613
|
}, {
|
|
22602
22614
|
default: withCtx(() => [
|
|
22603
|
-
createElementVNode("div", _hoisted_1$
|
|
22604
|
-
createVNode(_sfc_main$
|
|
22615
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
22616
|
+
createVNode(_sfc_main$O, {
|
|
22605
22617
|
ref_key: "dateInput",
|
|
22606
22618
|
ref: dateInput,
|
|
22607
22619
|
"aria-label": "Date",
|
|
@@ -22612,7 +22624,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
22612
22624
|
"max-date": __props.maxDate,
|
|
22613
22625
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => datePart.value = $event)
|
|
22614
22626
|
}, null, 8, ["model-value", "disabled", "error", "min-date", "max-date"]),
|
|
22615
|
-
createVNode(_sfc_main$
|
|
22627
|
+
createVNode(_sfc_main$H, {
|
|
22616
22628
|
ref_key: "timeInput",
|
|
22617
22629
|
ref: timeInput,
|
|
22618
22630
|
"aria-label": "Time",
|
|
@@ -22632,21 +22644,21 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
22632
22644
|
}
|
|
22633
22645
|
});
|
|
22634
22646
|
|
|
22635
|
-
const KdsDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22647
|
+
const KdsDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-f2ad3cef"]]);
|
|
22636
22648
|
|
|
22637
|
-
const _hoisted_1$
|
|
22638
|
-
const _hoisted_2$
|
|
22649
|
+
const _hoisted_1$u = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
|
|
22650
|
+
const _hoisted_2$h = {
|
|
22639
22651
|
key: 0,
|
|
22640
22652
|
class: "leading",
|
|
22641
22653
|
"aria-hidden": "true"
|
|
22642
22654
|
};
|
|
22643
|
-
const _hoisted_3$
|
|
22644
|
-
const _hoisted_4$
|
|
22655
|
+
const _hoisted_3$c = ["id"];
|
|
22656
|
+
const _hoisted_4$b = {
|
|
22645
22657
|
class: "trailing",
|
|
22646
22658
|
"aria-hidden": "true"
|
|
22647
22659
|
};
|
|
22648
22660
|
const TRIGGER_REF = "triggerEl";
|
|
22649
|
-
const _sfc_main$
|
|
22661
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
22650
22662
|
__name: "BaseDropdown",
|
|
22651
22663
|
props: /* @__PURE__ */ mergeModels({
|
|
22652
22664
|
text: {},
|
|
@@ -22726,8 +22738,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22726
22738
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
|
|
22727
22739
|
onKeydown
|
|
22728
22740
|
}, [
|
|
22729
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
22730
|
-
createVNode(_sfc_main$
|
|
22741
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$h, [
|
|
22742
|
+
createVNode(_sfc_main$1o, {
|
|
22731
22743
|
accessory: props.accessory,
|
|
22732
22744
|
size: "medium"
|
|
22733
22745
|
}, null, 8, ["accessory"])
|
|
@@ -22738,28 +22750,28 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22738
22750
|
placeholder: !props.text && !__props.disabled,
|
|
22739
22751
|
missing: __props.missing
|
|
22740
22752
|
}])
|
|
22741
|
-
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$
|
|
22742
|
-
createElementVNode("span", _hoisted_4$
|
|
22753
|
+
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$c),
|
|
22754
|
+
createElementVNode("span", _hoisted_4$b, [
|
|
22743
22755
|
createVNode(KdsIcon, {
|
|
22744
22756
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
22745
22757
|
size: "small"
|
|
22746
22758
|
}, null, 8, ["name"])
|
|
22747
22759
|
])
|
|
22748
|
-
], 42, _hoisted_1$
|
|
22760
|
+
], 42, _hoisted_1$u);
|
|
22749
22761
|
};
|
|
22750
22762
|
}
|
|
22751
22763
|
});
|
|
22752
22764
|
|
|
22753
|
-
const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22765
|
+
const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1bb2d375"]]);
|
|
22754
22766
|
|
|
22755
22767
|
const DROPDOWN_SEARCH_THRESHOLD = 12;
|
|
22756
22768
|
|
|
22757
|
-
const _hoisted_1$
|
|
22758
|
-
const _hoisted_2$
|
|
22769
|
+
const _hoisted_1$t = { class: "kds-dropdown-container" };
|
|
22770
|
+
const _hoisted_2$g = {
|
|
22759
22771
|
key: 0,
|
|
22760
22772
|
class: "kds-dropdown-container-sticky-top"
|
|
22761
22773
|
};
|
|
22762
|
-
const _sfc_main$
|
|
22774
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
22763
22775
|
__name: "DropdownContainer",
|
|
22764
22776
|
props: /* @__PURE__ */ mergeModels({
|
|
22765
22777
|
emptyText: {},
|
|
@@ -22843,8 +22855,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22843
22855
|
}
|
|
22844
22856
|
});
|
|
22845
22857
|
return (_ctx, _cache) => {
|
|
22846
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22847
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
22858
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
22859
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
22848
22860
|
createVNode(BaseInput, {
|
|
22849
22861
|
ref_key: "searchEl",
|
|
22850
22862
|
ref: searchEl,
|
|
@@ -22876,9 +22888,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22876
22888
|
}
|
|
22877
22889
|
});
|
|
22878
22890
|
|
|
22879
|
-
const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22891
|
+
const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0a6ce241"]]);
|
|
22880
22892
|
|
|
22881
|
-
const _sfc_main$
|
|
22893
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
22882
22894
|
__name: "KdsDropdown",
|
|
22883
22895
|
props: /* @__PURE__ */ mergeModels({
|
|
22884
22896
|
placeholder: { default: "Select" },
|
|
@@ -22994,9 +23006,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
22994
23006
|
}
|
|
22995
23007
|
});
|
|
22996
23008
|
|
|
22997
|
-
const _hoisted_1$
|
|
22998
|
-
const _hoisted_2$
|
|
22999
|
-
const _sfc_main$
|
|
23009
|
+
const _hoisted_1$s = { class: "kds-zoned-date-time-input" };
|
|
23010
|
+
const _hoisted_2$f = { class: "date-time-row" };
|
|
23011
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
23000
23012
|
__name: "KdsZonedDateTimeInput",
|
|
23001
23013
|
props: /* @__PURE__ */ mergeModels({
|
|
23002
23014
|
id: {},
|
|
@@ -23107,9 +23119,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23107
23119
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
23108
23120
|
}, {
|
|
23109
23121
|
default: withCtx(() => [
|
|
23110
|
-
createElementVNode("div", _hoisted_1$
|
|
23111
|
-
createElementVNode("div", _hoisted_2$
|
|
23112
|
-
createVNode(_sfc_main$
|
|
23122
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
23123
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
23124
|
+
createVNode(_sfc_main$O, {
|
|
23113
23125
|
ref_key: "dateInput",
|
|
23114
23126
|
ref: dateInput,
|
|
23115
23127
|
"aria-label": "Date",
|
|
@@ -23118,7 +23130,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23118
23130
|
error: __props.error,
|
|
23119
23131
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => datePart.value = $event)
|
|
23120
23132
|
}, null, 8, ["model-value", "disabled", "error"]),
|
|
23121
|
-
createVNode(_sfc_main$
|
|
23133
|
+
createVNode(_sfc_main$H, {
|
|
23122
23134
|
ref_key: "timeInput",
|
|
23123
23135
|
ref: timeInput,
|
|
23124
23136
|
"aria-label": "Time",
|
|
@@ -23131,7 +23143,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23131
23143
|
"onUpdate:granularity": _cache[2] || (_cache[2] = ($event) => granularity.value = $event)
|
|
23132
23144
|
}, null, 8, ["model-value", "granularity", "max-granularity", "disabled", "error"])
|
|
23133
23145
|
]),
|
|
23134
|
-
createVNode(_sfc_main$
|
|
23146
|
+
createVNode(_sfc_main$B, {
|
|
23135
23147
|
modelValue: timeZonePart.value,
|
|
23136
23148
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => timeZonePart.value = $event),
|
|
23137
23149
|
"possible-values": __props.possibleValues ?? [],
|
|
@@ -23147,11 +23159,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23147
23159
|
}
|
|
23148
23160
|
});
|
|
23149
23161
|
|
|
23150
|
-
const KdsZonedDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23162
|
+
const KdsZonedDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-7dcebccd"]]);
|
|
23151
23163
|
|
|
23152
|
-
const _hoisted_1$
|
|
23153
|
-
const _hoisted_2$
|
|
23154
|
-
const _sfc_main$
|
|
23164
|
+
const _hoisted_1$r = ["disabled"];
|
|
23165
|
+
const _hoisted_2$e = { class: "label" };
|
|
23166
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
23155
23167
|
__name: "KdsListItemButton",
|
|
23156
23168
|
props: {
|
|
23157
23169
|
label: {},
|
|
@@ -23174,28 +23186,28 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23174
23186
|
size: "small",
|
|
23175
23187
|
disabled: __props.disabled
|
|
23176
23188
|
}, null, 8, ["name", "disabled"]),
|
|
23177
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_2$
|
|
23189
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_2$e, [
|
|
23178
23190
|
createTextVNode(toDisplayString(props.label), 1)
|
|
23179
23191
|
])), [
|
|
23180
23192
|
[unref(vKdsTooltip), props.label, "truncated"]
|
|
23181
23193
|
])
|
|
23182
|
-
], 8, _hoisted_1$
|
|
23194
|
+
], 8, _hoisted_1$r);
|
|
23183
23195
|
};
|
|
23184
23196
|
}
|
|
23185
23197
|
});
|
|
23186
23198
|
|
|
23187
|
-
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23199
|
+
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-12d42f4a"]]);
|
|
23188
23200
|
|
|
23189
|
-
const _hoisted_1$
|
|
23190
|
-
const _hoisted_2$
|
|
23201
|
+
const _hoisted_1$q = { class: "kds-multi-select-dropdown-options" };
|
|
23202
|
+
const _hoisted_2$d = {
|
|
23191
23203
|
key: 0,
|
|
23192
23204
|
class: "kds-multi-select-dropdown-search"
|
|
23193
23205
|
};
|
|
23194
|
-
const _hoisted_3$
|
|
23206
|
+
const _hoisted_3$b = {
|
|
23195
23207
|
key: 1,
|
|
23196
23208
|
class: "kds-multi-select-dropdown-footer"
|
|
23197
23209
|
};
|
|
23198
|
-
const _sfc_main$
|
|
23210
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
23199
23211
|
__name: "MultiSelectDropdownContainer",
|
|
23200
23212
|
props: /* @__PURE__ */ mergeModels({
|
|
23201
23213
|
emptyText: {},
|
|
@@ -23318,8 +23330,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23318
23330
|
}
|
|
23319
23331
|
});
|
|
23320
23332
|
return (_ctx, _cache) => {
|
|
23321
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23322
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
23333
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
23334
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
23323
23335
|
createVNode(BaseInput, {
|
|
23324
23336
|
ref_key: "searchEl",
|
|
23325
23337
|
ref: searchEl,
|
|
@@ -23348,7 +23360,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23348
23360
|
"aria-label": "Dropdown options",
|
|
23349
23361
|
onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
|
|
23350
23362
|
}, null, 8, ["class", "possible-values", "loading", "empty-text", "controlled-externally"]),
|
|
23351
|
-
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23363
|
+
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
23352
23364
|
createVNode(unref(KdsListItemButton), {
|
|
23353
23365
|
label: anyVisibleSelected.value ? "Clear all" : "Select all",
|
|
23354
23366
|
"leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
|
|
@@ -23361,9 +23373,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23361
23373
|
}
|
|
23362
23374
|
});
|
|
23363
23375
|
|
|
23364
|
-
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23376
|
+
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-68fe366f"]]);
|
|
23365
23377
|
|
|
23366
|
-
const _sfc_main$
|
|
23378
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
23367
23379
|
__name: "KdsMultiSelectDropdown",
|
|
23368
23380
|
props: /* @__PURE__ */ mergeModels({
|
|
23369
23381
|
placeholder: { default: "Select" },
|
|
@@ -23507,9 +23519,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
23507
23519
|
}
|
|
23508
23520
|
});
|
|
23509
23521
|
|
|
23510
|
-
const _hoisted_1$
|
|
23511
|
-
const _hoisted_2$
|
|
23512
|
-
const _sfc_main$
|
|
23522
|
+
const _hoisted_1$p = { class: "kds-resize-handle-area" };
|
|
23523
|
+
const _hoisted_2$c = ["aria-label"];
|
|
23524
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
23513
23525
|
__name: "ResizeHandle",
|
|
23514
23526
|
props: {
|
|
23515
23527
|
numberOfHandles: { default: 1 },
|
|
@@ -23531,7 +23543,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
23531
23543
|
return `calc((100% - ${n - 1} * ${gap}) / ${2 * n})`;
|
|
23532
23544
|
});
|
|
23533
23545
|
return (_ctx, _cache) => {
|
|
23534
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23546
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
23535
23547
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedNumberOfHandles.value, (i) => {
|
|
23536
23548
|
return openBlock(), createElementBlock("button", {
|
|
23537
23549
|
key: i,
|
|
@@ -23540,22 +23552,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
23540
23552
|
type: "button"
|
|
23541
23553
|
}, [..._cache[0] || (_cache[0] = [
|
|
23542
23554
|
createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
|
|
23543
|
-
])], 8, _hoisted_2$
|
|
23555
|
+
])], 8, _hoisted_2$c);
|
|
23544
23556
|
}), 128))
|
|
23545
23557
|
]);
|
|
23546
23558
|
};
|
|
23547
23559
|
}
|
|
23548
23560
|
});
|
|
23549
23561
|
|
|
23550
|
-
const ResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23562
|
+
const ResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-df3803d4"]]);
|
|
23551
23563
|
|
|
23552
|
-
const _hoisted_1$
|
|
23564
|
+
const _hoisted_1$o = {
|
|
23553
23565
|
ref: "content",
|
|
23554
23566
|
class: "kds-resize-container-content"
|
|
23555
23567
|
};
|
|
23556
23568
|
const DEFAULT_INITIAL_HEIGHT = 200;
|
|
23557
23569
|
const KEYBOARD_RESIZE_STEP = 10;
|
|
23558
|
-
const _sfc_main$
|
|
23570
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
23559
23571
|
__name: "KdsResizeContainer",
|
|
23560
23572
|
props: {
|
|
23561
23573
|
height: { default: () => DEFAULT_INITIAL_HEIGHT },
|
|
@@ -23618,7 +23630,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23618
23630
|
return openBlock(), createElementBlock("div", {
|
|
23619
23631
|
class: normalizeClass(["kds-resize-container", { dragging: unref(activePointerId) !== null }])
|
|
23620
23632
|
}, [
|
|
23621
|
-
createElementVNode("div", _hoisted_1$
|
|
23633
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
23622
23634
|
renderSlot(_ctx.$slots, "default", { contentStyle: contentStyle.value }, void 0, true)
|
|
23623
23635
|
], 512),
|
|
23624
23636
|
createVNode(ResizeHandle, {
|
|
@@ -23636,7 +23648,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
23636
23648
|
}
|
|
23637
23649
|
});
|
|
23638
23650
|
|
|
23639
|
-
const KdsResizeContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23651
|
+
const KdsResizeContainer = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-7aabab3a"]]);
|
|
23640
23652
|
|
|
23641
23653
|
const CLICK_META_KEY_TIMEOUT = 250;
|
|
23642
23654
|
const useMultiSelectListBoxSelection = ({
|
|
@@ -23928,17 +23940,17 @@ const useMultiSelectListBoxSelection = ({
|
|
|
23928
23940
|
};
|
|
23929
23941
|
};
|
|
23930
23942
|
|
|
23931
|
-
const _hoisted_1$
|
|
23932
|
-
const _hoisted_2$
|
|
23933
|
-
const _hoisted_3$
|
|
23943
|
+
const _hoisted_1$n = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
|
|
23944
|
+
const _hoisted_2$b = { class: "kds-multiselect-list-box-content-grid" };
|
|
23945
|
+
const _hoisted_3$a = {
|
|
23934
23946
|
key: 0,
|
|
23935
23947
|
class: "kds-multiselect-sticky-bottom"
|
|
23936
23948
|
};
|
|
23937
|
-
const _hoisted_4$
|
|
23949
|
+
const _hoisted_4$a = {
|
|
23938
23950
|
key: 0,
|
|
23939
23951
|
class: "kds-multiselect-empty"
|
|
23940
23952
|
};
|
|
23941
|
-
const _sfc_main$
|
|
23953
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
23942
23954
|
__name: "KdsMultiSelectListBox",
|
|
23943
23955
|
props: /* @__PURE__ */ mergeModels({
|
|
23944
23956
|
description: {},
|
|
@@ -24192,7 +24204,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
24192
24204
|
onBlur: _cache[17] || (_cache[17] = //@ts-ignore
|
|
24193
24205
|
(...args) => unref(onBlur) && unref(onBlur)(...args))
|
|
24194
24206
|
}), [
|
|
24195
|
-
createElementVNode("div", _hoisted_2$
|
|
24207
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
24196
24208
|
createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
|
|
24197
24209
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
|
|
24198
24210
|
return openBlock(), createBlock(unref(KdsListItem), {
|
|
@@ -24219,7 +24231,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
24219
24231
|
}, null, 8, ["id", "class", "text", "accessory", "missing", "special", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
|
|
24220
24232
|
}), 128))
|
|
24221
24233
|
], 16),
|
|
24222
|
-
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
24234
|
+
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
24223
24235
|
createVNode(unref(KdsListItem), {
|
|
24224
24236
|
id: generateOptionId(visibleBottomValue.value.id),
|
|
24225
24237
|
text: visibleBottomValue.value.text,
|
|
@@ -24239,8 +24251,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
24239
24251
|
}, null, 8, ["id", "text", "accessory", "missing", "data-option-index", "selected", "disabled", "active", "trailing-icon"])
|
|
24240
24252
|
])) : createCommentVNode("", true)
|
|
24241
24253
|
])
|
|
24242
|
-
], 16, _hoisted_1$
|
|
24243
|
-
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
24254
|
+
], 16, _hoisted_1$n),
|
|
24255
|
+
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
24244
24256
|
createVNode(KdsEmptyState, {
|
|
24245
24257
|
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
24246
24258
|
"loading-spinner": __props.loading,
|
|
@@ -24258,16 +24270,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
24258
24270
|
}
|
|
24259
24271
|
});
|
|
24260
24272
|
|
|
24261
|
-
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24273
|
+
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-06a9fd0e"]]);
|
|
24262
24274
|
|
|
24263
|
-
const _hoisted_1$
|
|
24264
|
-
const _hoisted_2$
|
|
24265
|
-
const _hoisted_3$
|
|
24266
|
-
const _hoisted_4$
|
|
24275
|
+
const _hoisted_1$m = { class: "kds-list-column" };
|
|
24276
|
+
const _hoisted_2$a = { class: "kds-list-header" };
|
|
24277
|
+
const _hoisted_3$9 = { class: "kds-list-label" };
|
|
24278
|
+
const _hoisted_4$9 = {
|
|
24267
24279
|
key: 0,
|
|
24268
24280
|
class: "kds-list-count"
|
|
24269
24281
|
};
|
|
24270
|
-
const _hoisted_5$
|
|
24282
|
+
const _hoisted_5$6 = { class: "kds-button-column" };
|
|
24271
24283
|
const _hoisted_6$2 = { class: "kds-list-column" };
|
|
24272
24284
|
const _hoisted_7$1 = { class: "kds-list-header" };
|
|
24273
24285
|
const _hoisted_8$1 = { class: "kds-list-label" };
|
|
@@ -24276,7 +24288,7 @@ const _hoisted_9$1 = {
|
|
|
24276
24288
|
class: "kds-list-count"
|
|
24277
24289
|
};
|
|
24278
24290
|
const UNKNOWN_VALUE_ID = "__unknown-value-option__";
|
|
24279
|
-
const _sfc_main$
|
|
24291
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
24280
24292
|
__name: "TwinListBody",
|
|
24281
24293
|
props: /* @__PURE__ */ mergeModels({
|
|
24282
24294
|
disabled: { type: Boolean, default: false },
|
|
@@ -24450,10 +24462,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24450
24462
|
class: "kds-twin-list-body",
|
|
24451
24463
|
style: normalizeStyle(contentStyle)
|
|
24452
24464
|
}, [
|
|
24453
|
-
createElementVNode("div", _hoisted_1$
|
|
24454
|
-
createElementVNode("div", _hoisted_2$
|
|
24455
|
-
createElementVNode("span", _hoisted_3$
|
|
24456
|
-
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
24465
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
24466
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
24467
|
+
createElementVNode("span", _hoisted_3$9, toDisplayString(__props.excludeLabel), 1),
|
|
24468
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$9, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
24457
24469
|
]),
|
|
24458
24470
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
24459
24471
|
modelValue: leftSelected.value,
|
|
@@ -24472,8 +24484,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24472
24484
|
onKeyEnter: moveRight
|
|
24473
24485
|
}, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
|
|
24474
24486
|
]),
|
|
24475
|
-
createElementVNode("div", _hoisted_5$
|
|
24476
|
-
createVNode(unref(_sfc_main$
|
|
24487
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
24488
|
+
createVNode(unref(_sfc_main$1B), {
|
|
24477
24489
|
"leading-icon": "chevron-right",
|
|
24478
24490
|
ariaLabel: "Move selected values right",
|
|
24479
24491
|
title: "Move selected values right",
|
|
@@ -24482,7 +24494,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24482
24494
|
disabled: effectiveDisabled.value || leftSelected.value.length === 0,
|
|
24483
24495
|
onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
|
|
24484
24496
|
}, null, 8, ["disabled"]),
|
|
24485
|
-
createVNode(unref(_sfc_main$
|
|
24497
|
+
createVNode(unref(_sfc_main$1B), {
|
|
24486
24498
|
"leading-icon": "chevron-right-double",
|
|
24487
24499
|
ariaLabel: "Move all values right",
|
|
24488
24500
|
title: "Move all values right",
|
|
@@ -24494,7 +24506,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24494
24506
|
...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
|
|
24495
24507
|
]))
|
|
24496
24508
|
}, null, 8, ["disabled"]),
|
|
24497
|
-
createVNode(unref(_sfc_main$
|
|
24509
|
+
createVNode(unref(_sfc_main$1B), {
|
|
24498
24510
|
"leading-icon": "chevron-left",
|
|
24499
24511
|
ariaLabel: "Move selected values left",
|
|
24500
24512
|
title: "Move selected values left",
|
|
@@ -24503,7 +24515,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24503
24515
|
disabled: effectiveDisabled.value || rightSelected.value.length === 0,
|
|
24504
24516
|
onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
|
|
24505
24517
|
}, null, 8, ["disabled"]),
|
|
24506
|
-
createVNode(unref(_sfc_main$
|
|
24518
|
+
createVNode(unref(_sfc_main$1B), {
|
|
24507
24519
|
"leading-icon": "chevron-left-double",
|
|
24508
24520
|
ariaLabel: "Move all values left",
|
|
24509
24521
|
title: "Move all values left",
|
|
@@ -24546,7 +24558,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
24546
24558
|
}
|
|
24547
24559
|
});
|
|
24548
24560
|
|
|
24549
|
-
const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24561
|
+
const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-eb1bc043"]]);
|
|
24550
24562
|
|
|
24551
24563
|
const kdsTwinListSearchMode = {
|
|
24552
24564
|
MANUAL: "manual",
|
|
@@ -24555,7 +24567,7 @@ const kdsTwinListSearchMode = {
|
|
|
24555
24567
|
};
|
|
24556
24568
|
const kdsTwinListSearchModes = Object.values(kdsTwinListSearchMode);
|
|
24557
24569
|
|
|
24558
|
-
const _sfc_main$
|
|
24570
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
24559
24571
|
__name: "TwinListHeader",
|
|
24560
24572
|
props: /* @__PURE__ */ mergeModels({
|
|
24561
24573
|
filterTypes: { default: () => void 0 },
|
|
@@ -24631,7 +24643,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
24631
24643
|
ariaLabel: "Search values",
|
|
24632
24644
|
placeholder: "Search",
|
|
24633
24645
|
disabled: __props.disabled
|
|
24634
|
-
}, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$
|
|
24646
|
+
}, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$L), {
|
|
24635
24647
|
key: 2,
|
|
24636
24648
|
modelValue: pattern.value,
|
|
24637
24649
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
|
|
@@ -24645,7 +24657,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
24645
24657
|
placeholder: "Pattern",
|
|
24646
24658
|
disabled: __props.disabled,
|
|
24647
24659
|
"onUpdate:regex": _cache[6] || (_cache[6] = ($event) => emit("update:regex", $event))
|
|
24648
|
-
}, null, 8, ["modelValue", "case-sensitive", "exclude-matches", "use-regex", "disabled"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
24660
|
+
}, null, 8, ["modelValue", "case-sensitive", "exclude-matches", "use-regex", "disabled"])) : (openBlock(), createBlock(unref(_sfc_main$x), {
|
|
24649
24661
|
key: 3,
|
|
24650
24662
|
modelValue: selectedTypes.value,
|
|
24651
24663
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTypes.value = $event),
|
|
@@ -24659,8 +24671,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
24659
24671
|
}
|
|
24660
24672
|
});
|
|
24661
24673
|
|
|
24662
|
-
const _hoisted_1$
|
|
24663
|
-
const _sfc_main$
|
|
24674
|
+
const _hoisted_1$l = { class: "kds-twin-list" };
|
|
24675
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
24664
24676
|
__name: "KdsTwinList",
|
|
24665
24677
|
props: /* @__PURE__ */ mergeModels({
|
|
24666
24678
|
description: {},
|
|
@@ -24800,8 +24812,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
24800
24812
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
24801
24813
|
}, {
|
|
24802
24814
|
default: withCtx(() => [
|
|
24803
|
-
createElementVNode("div", _hoisted_1$
|
|
24804
|
-
createVNode(_sfc_main$
|
|
24815
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
24816
|
+
createVNode(_sfc_main$s, {
|
|
24805
24817
|
mode: mode.value,
|
|
24806
24818
|
"onUpdate:mode": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
|
|
24807
24819
|
pattern: pattern.value,
|
|
@@ -24842,7 +24854,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
24842
24854
|
}
|
|
24843
24855
|
});
|
|
24844
24856
|
|
|
24845
|
-
const KdsTwinList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
24857
|
+
const KdsTwinList = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-1a9327b5"]]);
|
|
24846
24858
|
|
|
24847
24859
|
const useSortableListBoxReorder = ({
|
|
24848
24860
|
orderedIds,
|
|
@@ -24901,11 +24913,11 @@ const useSortableListBoxReorder = ({
|
|
|
24901
24913
|
};
|
|
24902
24914
|
};
|
|
24903
24915
|
|
|
24904
|
-
const _hoisted_1$
|
|
24905
|
-
const _hoisted_2$
|
|
24906
|
-
const _hoisted_3$
|
|
24907
|
-
const _hoisted_4$
|
|
24908
|
-
const _sfc_main$
|
|
24916
|
+
const _hoisted_1$k = { class: "kds-sortable-list-box-wrapper" };
|
|
24917
|
+
const _hoisted_2$9 = { class: "kds-sortable-top-buttons" };
|
|
24918
|
+
const _hoisted_3$8 = { class: "kds-sortable-top-buttons-left" };
|
|
24919
|
+
const _hoisted_4$8 = { class: "kds-sortable-footer-buttons" };
|
|
24920
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
24909
24921
|
__name: "KdsSortableListBox",
|
|
24910
24922
|
props: /* @__PURE__ */ mergeModels({
|
|
24911
24923
|
modelValue: {},
|
|
@@ -24963,10 +24975,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
24963
24975
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
24964
24976
|
}), {
|
|
24965
24977
|
default: withCtx(() => [
|
|
24966
|
-
createElementVNode("div", _hoisted_1$
|
|
24967
|
-
createElementVNode("div", _hoisted_2$
|
|
24968
|
-
createElementVNode("div", _hoisted_3$
|
|
24969
|
-
createVNode(_sfc_main$
|
|
24978
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
24979
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
24980
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
24981
|
+
createVNode(_sfc_main$1B, {
|
|
24970
24982
|
size: "small",
|
|
24971
24983
|
variant: "transparent",
|
|
24972
24984
|
"leading-icon": "sort-descending",
|
|
@@ -24974,7 +24986,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
24974
24986
|
disabled: __props.disabled,
|
|
24975
24987
|
onClick: _cache[0] || (_cache[0] = ($event) => applyReorder(unref(sortByText)(true, optionLookup.value)))
|
|
24976
24988
|
}, null, 8, ["disabled"]),
|
|
24977
|
-
createVNode(_sfc_main$
|
|
24989
|
+
createVNode(_sfc_main$1B, {
|
|
24978
24990
|
size: "small",
|
|
24979
24991
|
variant: "transparent",
|
|
24980
24992
|
"leading-icon": "sort-ascending",
|
|
@@ -24983,7 +24995,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
24983
24995
|
onClick: _cache[1] || (_cache[1] = ($event) => applyReorder(unref(sortByText)(false, optionLookup.value)))
|
|
24984
24996
|
}, null, 8, ["disabled"])
|
|
24985
24997
|
]),
|
|
24986
|
-
createVNode(_sfc_main$
|
|
24998
|
+
createVNode(_sfc_main$1B, {
|
|
24987
24999
|
size: "small",
|
|
24988
25000
|
variant: "transparent",
|
|
24989
25001
|
destructive: "",
|
|
@@ -25004,8 +25016,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
25004
25016
|
ariaLabel: formFieldProps.label ?? formFieldProps.ariaLabel ?? ""
|
|
25005
25017
|
/* fallback only for TS */
|
|
25006
25018
|
}, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
|
|
25007
|
-
createElementVNode("div", _hoisted_4$
|
|
25008
|
-
createVNode(_sfc_main$
|
|
25019
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
25020
|
+
createVNode(_sfc_main$1B, {
|
|
25009
25021
|
size: "small",
|
|
25010
25022
|
variant: "transparent",
|
|
25011
25023
|
"leading-icon": "to-top",
|
|
@@ -25014,7 +25026,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
25014
25026
|
disabled: __props.disabled || !unref(canMoveUp),
|
|
25015
25027
|
onClick: moveToTop
|
|
25016
25028
|
}, null, 8, ["disabled"]),
|
|
25017
|
-
createVNode(_sfc_main$
|
|
25029
|
+
createVNode(_sfc_main$1B, {
|
|
25018
25030
|
size: "small",
|
|
25019
25031
|
variant: "transparent",
|
|
25020
25032
|
"leading-icon": "to-bottom",
|
|
@@ -25023,7 +25035,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
25023
25035
|
disabled: __props.disabled || !unref(canMoveDown),
|
|
25024
25036
|
onClick: moveToBottom
|
|
25025
25037
|
}, null, 8, ["disabled"]),
|
|
25026
|
-
createVNode(_sfc_main$
|
|
25038
|
+
createVNode(_sfc_main$1B, {
|
|
25027
25039
|
size: "small",
|
|
25028
25040
|
variant: "transparent",
|
|
25029
25041
|
"leading-icon": "arrow-up",
|
|
@@ -25032,7 +25044,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
25032
25044
|
disabled: __props.disabled || !unref(canMoveUp),
|
|
25033
25045
|
onClick: moveUp
|
|
25034
25046
|
}, null, 8, ["disabled"]),
|
|
25035
|
-
createVNode(_sfc_main$
|
|
25047
|
+
createVNode(_sfc_main$1B, {
|
|
25036
25048
|
size: "small",
|
|
25037
25049
|
variant: "transparent",
|
|
25038
25050
|
"leading-icon": "arrow-down",
|
|
@@ -25050,10 +25062,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
25050
25062
|
}
|
|
25051
25063
|
});
|
|
25052
25064
|
|
|
25053
|
-
const KdsSortableListBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25065
|
+
const KdsSortableListBox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ee7b63e2"]]);
|
|
25054
25066
|
|
|
25055
|
-
const _hoisted_1$
|
|
25056
|
-
const _sfc_main$
|
|
25067
|
+
const _hoisted_1$j = { class: "kds-info-popover-content" };
|
|
25068
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
25057
25069
|
__name: "InfoPopover",
|
|
25058
25070
|
props: {
|
|
25059
25071
|
content: {}
|
|
@@ -25061,7 +25073,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
25061
25073
|
setup(__props) {
|
|
25062
25074
|
const props = __props;
|
|
25063
25075
|
return (_ctx, _cache) => {
|
|
25064
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25076
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
25065
25077
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
25066
25078
|
createTextVNode(toDisplayString(props.content), 1)
|
|
25067
25079
|
], true)
|
|
@@ -25070,11 +25082,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
25070
25082
|
}
|
|
25071
25083
|
});
|
|
25072
25084
|
|
|
25073
|
-
const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25085
|
+
const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-92b68551"]]);
|
|
25074
25086
|
|
|
25075
|
-
const _hoisted_1$
|
|
25087
|
+
const _hoisted_1$i = ["aria-pressed", "aria-expanded", "aria-controls"];
|
|
25076
25088
|
const TITLE = "Click for more information";
|
|
25077
|
-
const _sfc_main$
|
|
25089
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
25078
25090
|
__name: "KdsInfoToggleButton",
|
|
25079
25091
|
props: /* @__PURE__ */ mergeModels({
|
|
25080
25092
|
modelValue: { type: Boolean },
|
|
@@ -25116,7 +25128,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
25116
25128
|
name: "circle-question",
|
|
25117
25129
|
size: "small"
|
|
25118
25130
|
})
|
|
25119
|
-
], 16, _hoisted_1$
|
|
25131
|
+
], 16, _hoisted_1$i)), [
|
|
25120
25132
|
[unref(vKdsTooltip), modelValue.value ? void 0 : TITLE]
|
|
25121
25133
|
]),
|
|
25122
25134
|
createVNode(KdsPopover, {
|
|
@@ -25146,18 +25158,18 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
25146
25158
|
}
|
|
25147
25159
|
});
|
|
25148
25160
|
|
|
25149
|
-
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25161
|
+
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-dbbdabd8"]]);
|
|
25150
25162
|
|
|
25151
25163
|
const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
25152
25164
|
__proto__: null,
|
|
25153
25165
|
default: KdsInfoToggleButton
|
|
25154
25166
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
25155
25167
|
|
|
25156
|
-
const _hoisted_1$
|
|
25168
|
+
const _hoisted_1$h = {
|
|
25157
25169
|
class: "kds-variable-popover",
|
|
25158
25170
|
tabindex: "0"
|
|
25159
25171
|
};
|
|
25160
|
-
const _sfc_main$
|
|
25172
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
25161
25173
|
__name: "VariablePopover",
|
|
25162
25174
|
props: {
|
|
25163
25175
|
content: {}
|
|
@@ -25165,7 +25177,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
25165
25177
|
setup(__props) {
|
|
25166
25178
|
const props = __props;
|
|
25167
25179
|
return (_ctx, _cache) => {
|
|
25168
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25180
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
25169
25181
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
25170
25182
|
createTextVNode(toDisplayString(props.content), 1)
|
|
25171
25183
|
], true)
|
|
@@ -25174,10 +25186,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
25174
25186
|
}
|
|
25175
25187
|
});
|
|
25176
25188
|
|
|
25177
|
-
const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25189
|
+
const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-345e63f3"]]);
|
|
25178
25190
|
|
|
25179
|
-
const _hoisted_1$
|
|
25180
|
-
const _sfc_main$
|
|
25191
|
+
const _hoisted_1$g = ["aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
|
|
25192
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
25181
25193
|
__name: "KdsVariableToggleButton",
|
|
25182
25194
|
props: /* @__PURE__ */ mergeModels({
|
|
25183
25195
|
modelValue: { type: Boolean },
|
|
@@ -25266,7 +25278,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
25266
25278
|
name: iconName.value,
|
|
25267
25279
|
size: "small"
|
|
25268
25280
|
}, null, 8, ["name"])
|
|
25269
|
-
], 16, _hoisted_1$
|
|
25281
|
+
], 16, _hoisted_1$g)), [
|
|
25270
25282
|
[unref(vKdsTooltip), modelValue.value ? void 0 : title.value]
|
|
25271
25283
|
]),
|
|
25272
25284
|
createVNode(KdsPopover, {
|
|
@@ -25296,15 +25308,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
25296
25308
|
}
|
|
25297
25309
|
});
|
|
25298
25310
|
|
|
25299
|
-
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25311
|
+
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d5057ed8"]]);
|
|
25300
25312
|
|
|
25301
|
-
const _hoisted_1$
|
|
25302
|
-
const _hoisted_2$
|
|
25303
|
-
const _hoisted_3$
|
|
25304
|
-
const _hoisted_4$
|
|
25305
|
-
const _hoisted_5$
|
|
25313
|
+
const _hoisted_1$f = { class: "kds-accordion" };
|
|
25314
|
+
const _hoisted_2$8 = ["name", "open", "onToggle"];
|
|
25315
|
+
const _hoisted_3$7 = ["aria-disabled", "tabindex", "onClick", "onKeydown"];
|
|
25316
|
+
const _hoisted_4$7 = { class: "kds-accordion-headline-container" };
|
|
25317
|
+
const _hoisted_5$5 = { class: "kds-accordion-headline" };
|
|
25306
25318
|
const _hoisted_6$1 = { class: "kds-accordion-content" };
|
|
25307
|
-
const _sfc_main$
|
|
25319
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
25308
25320
|
__name: "KdsAccordion",
|
|
25309
25321
|
props: /* @__PURE__ */ mergeModels({
|
|
25310
25322
|
modelValue: {},
|
|
@@ -25430,7 +25442,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
25430
25442
|
() => __props.singleExpand ? `kds-accordion-${accordionId}` : void 0
|
|
25431
25443
|
);
|
|
25432
25444
|
return (_ctx, _cache) => {
|
|
25433
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25445
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
25434
25446
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
25435
25447
|
return openBlock(), createElementBlock("details", {
|
|
25436
25448
|
key: item.id,
|
|
@@ -25448,56 +25460,56 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
25448
25460
|
onClick: ($event) => onSummaryClick($event, item),
|
|
25449
25461
|
onKeydown: ($event) => handleTriggerKeydown($event, item)
|
|
25450
25462
|
}, [
|
|
25451
|
-
createElementVNode("span", _hoisted_4$
|
|
25463
|
+
createElementVNode("span", _hoisted_4$7, [
|
|
25452
25464
|
item.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
25453
25465
|
key: 0,
|
|
25454
25466
|
name: item.leadingIcon,
|
|
25455
25467
|
size: "small",
|
|
25456
25468
|
disabled: item.disabled
|
|
25457
25469
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
25458
|
-
createElementVNode("span", _hoisted_5$
|
|
25470
|
+
createElementVNode("span", _hoisted_5$5, toDisplayString(item.headline), 1)
|
|
25459
25471
|
]),
|
|
25460
25472
|
createVNode(KdsIcon, {
|
|
25461
25473
|
name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
|
|
25462
25474
|
size: "small"
|
|
25463
25475
|
}, null, 8, ["name"])
|
|
25464
|
-
], 40, _hoisted_3$
|
|
25476
|
+
], 40, _hoisted_3$7),
|
|
25465
25477
|
createElementVNode("div", _hoisted_6$1, [
|
|
25466
25478
|
renderSlot(_ctx.$slots, item.id, { item }, void 0, true)
|
|
25467
25479
|
])
|
|
25468
|
-
], 40, _hoisted_2$
|
|
25480
|
+
], 40, _hoisted_2$8);
|
|
25469
25481
|
}), 128))
|
|
25470
25482
|
]);
|
|
25471
25483
|
};
|
|
25472
25484
|
}
|
|
25473
25485
|
});
|
|
25474
25486
|
|
|
25475
|
-
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25487
|
+
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-35f28ed3"]]);
|
|
25476
25488
|
|
|
25477
|
-
const _hoisted_1$
|
|
25478
|
-
const _hoisted_2$
|
|
25489
|
+
const _hoisted_1$e = { class: "kds-card-header" };
|
|
25490
|
+
const _hoisted_2$7 = {
|
|
25479
25491
|
key: 0,
|
|
25480
25492
|
class: "accessory"
|
|
25481
25493
|
};
|
|
25482
|
-
const _hoisted_3$
|
|
25483
|
-
const _hoisted_4$
|
|
25494
|
+
const _hoisted_3$6 = { key: 1 };
|
|
25495
|
+
const _hoisted_4$6 = {
|
|
25484
25496
|
key: 2,
|
|
25485
25497
|
class: "actions",
|
|
25486
25498
|
"data-kds-card-secondary-action": ""
|
|
25487
25499
|
};
|
|
25488
|
-
const _sfc_main$
|
|
25500
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
25489
25501
|
__name: "CardHeader",
|
|
25490
25502
|
props: {
|
|
25491
25503
|
headline: {}
|
|
25492
25504
|
},
|
|
25493
25505
|
setup(__props) {
|
|
25494
25506
|
return (_ctx, _cache) => {
|
|
25495
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25496
|
-
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
25507
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
25508
|
+
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
25497
25509
|
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
25498
25510
|
])) : createCommentVNode("", true),
|
|
25499
|
-
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$
|
|
25500
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
25511
|
+
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$6, toDisplayString(__props.headline), 1)) : createCommentVNode("", true),
|
|
25512
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
25501
25513
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
25502
25514
|
])) : createCommentVNode("", true)
|
|
25503
25515
|
]);
|
|
@@ -25505,9 +25517,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
25505
25517
|
}
|
|
25506
25518
|
});
|
|
25507
25519
|
|
|
25508
|
-
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25520
|
+
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-aacb597b"]]);
|
|
25509
25521
|
|
|
25510
|
-
const _sfc_main$
|
|
25522
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
25511
25523
|
__name: "BaseCard",
|
|
25512
25524
|
props: {
|
|
25513
25525
|
variant: {},
|
|
@@ -25546,9 +25558,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
25546
25558
|
}
|
|
25547
25559
|
});
|
|
25548
25560
|
|
|
25549
|
-
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25561
|
+
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-7d838f91"]]);
|
|
25550
25562
|
|
|
25551
|
-
const _sfc_main$
|
|
25563
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
25552
25564
|
__name: "KdsCard",
|
|
25553
25565
|
props: {
|
|
25554
25566
|
variant: { default: "outlined" },
|
|
@@ -25585,8 +25597,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
25585
25597
|
}
|
|
25586
25598
|
});
|
|
25587
25599
|
|
|
25588
|
-
const _hoisted_1$
|
|
25589
|
-
const _sfc_main$
|
|
25600
|
+
const _hoisted_1$d = ["aria-label", "aria-labelledby", "disabled"];
|
|
25601
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
25590
25602
|
__name: "KdsClickableCard",
|
|
25591
25603
|
props: {
|
|
25592
25604
|
variant: { default: "filled" },
|
|
@@ -25619,7 +25631,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
25619
25631
|
disabled: __props.disabled,
|
|
25620
25632
|
"data-kds-card-primary-action": "",
|
|
25621
25633
|
onClick
|
|
25622
|
-
}, null, 8, _hoisted_1$
|
|
25634
|
+
}, null, 8, _hoisted_1$d)
|
|
25623
25635
|
]),
|
|
25624
25636
|
default: withCtx(() => [
|
|
25625
25637
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -25645,9 +25657,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
25645
25657
|
}
|
|
25646
25658
|
});
|
|
25647
25659
|
|
|
25648
|
-
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25660
|
+
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8b314672"]]);
|
|
25649
25661
|
|
|
25650
|
-
const _sfc_main$
|
|
25662
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
25651
25663
|
__name: "KdsLinkCard",
|
|
25652
25664
|
props: {
|
|
25653
25665
|
variant: { default: "filled" },
|
|
@@ -25711,10 +25723,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
25711
25723
|
}
|
|
25712
25724
|
});
|
|
25713
25725
|
|
|
25714
|
-
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25726
|
+
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-4b8002a1"]]);
|
|
25715
25727
|
|
|
25716
|
-
const _hoisted_1$
|
|
25717
|
-
const _sfc_main$
|
|
25728
|
+
const _hoisted_1$c = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
|
|
25729
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
25718
25730
|
__name: "KdsSelectableCard",
|
|
25719
25731
|
props: /* @__PURE__ */ mergeModels({
|
|
25720
25732
|
modelValue: { type: Boolean },
|
|
@@ -25753,7 +25765,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
25753
25765
|
"aria-pressed": modelValue.value,
|
|
25754
25766
|
"data-kds-card-primary-action": "",
|
|
25755
25767
|
onClick
|
|
25756
|
-
}, null, 8, _hoisted_1$
|
|
25768
|
+
}, null, 8, _hoisted_1$c)
|
|
25757
25769
|
]),
|
|
25758
25770
|
default: withCtx(() => [
|
|
25759
25771
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -25779,7 +25791,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
25779
25791
|
}
|
|
25780
25792
|
});
|
|
25781
25793
|
|
|
25782
|
-
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25794
|
+
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-ac11a0a2"]]);
|
|
25783
25795
|
|
|
25784
25796
|
const kdsCardVariant = {
|
|
25785
25797
|
FILLED: "filled",
|
|
@@ -25801,17 +25813,17 @@ const kdsPanelBodyVariant = {
|
|
|
25801
25813
|
};
|
|
25802
25814
|
const kdsPanelBodyVariants = Object.values(kdsPanelBodyVariant);
|
|
25803
25815
|
|
|
25804
|
-
const _hoisted_1$
|
|
25805
|
-
const _hoisted_2$
|
|
25816
|
+
const _hoisted_1$b = { class: "kds-panel" };
|
|
25817
|
+
const _hoisted_2$6 = {
|
|
25806
25818
|
key: 0,
|
|
25807
25819
|
class: "kds-panel-header"
|
|
25808
25820
|
};
|
|
25809
|
-
const _hoisted_3$
|
|
25810
|
-
const _hoisted_4$
|
|
25821
|
+
const _hoisted_3$5 = ["id"];
|
|
25822
|
+
const _hoisted_4$5 = {
|
|
25811
25823
|
key: 0,
|
|
25812
25824
|
class: "kds-panel-headline-text"
|
|
25813
25825
|
};
|
|
25814
|
-
const _hoisted_5$
|
|
25826
|
+
const _hoisted_5$4 = {
|
|
25815
25827
|
key: 1,
|
|
25816
25828
|
class: "kds-panel-header-trailing"
|
|
25817
25829
|
};
|
|
@@ -25822,7 +25834,7 @@ const _hoisted_7 = {
|
|
|
25822
25834
|
};
|
|
25823
25835
|
const _hoisted_8 = { class: "kds-panel-footer-leading" };
|
|
25824
25836
|
const _hoisted_9 = { class: "kds-panel-footer-trailing" };
|
|
25825
|
-
const _sfc_main$
|
|
25837
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
25826
25838
|
__name: "KdsPanel",
|
|
25827
25839
|
props: {
|
|
25828
25840
|
headline: {},
|
|
@@ -25854,37 +25866,37 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25854
25866
|
() => isBodyKeyboardFocusable.value && !bodyAriaLabel.value ? slotHeadlineId.value : void 0
|
|
25855
25867
|
);
|
|
25856
25868
|
return (_ctx, _cache) => {
|
|
25857
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25858
|
-
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
25869
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
25870
|
+
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
25859
25871
|
__props.headline ? (openBlock(), createElementBlock("div", {
|
|
25860
25872
|
key: 0,
|
|
25861
25873
|
id: unref(headlineId),
|
|
25862
25874
|
class: "kds-panel-headline"
|
|
25863
25875
|
}, [
|
|
25864
|
-
typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$
|
|
25876
|
+
typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$5, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1B, mergeProps({ key: 1 }, __props.headline.props, {
|
|
25865
25877
|
size: "small",
|
|
25866
25878
|
onClick: __props.headline.onClick
|
|
25867
|
-
}), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$
|
|
25879
|
+
}), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1j, mergeProps({ key: 2 }, __props.headline.props, {
|
|
25868
25880
|
size: "small",
|
|
25869
25881
|
onItemClick: __props.headline.onItemClick
|
|
25870
25882
|
}), null, 16, ["onItemClick"])) : createCommentVNode("", true)
|
|
25871
|
-
], 8, _hoisted_3$
|
|
25872
|
-
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
25883
|
+
], 8, _hoisted_3$5)) : createCommentVNode("", true),
|
|
25884
|
+
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
25873
25885
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
|
|
25874
25886
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
25875
|
-
action.type === "button" ? (openBlock(), createBlock(_sfc_main$
|
|
25887
|
+
action.type === "button" ? (openBlock(), createBlock(_sfc_main$1B, mergeProps({
|
|
25876
25888
|
key: 0,
|
|
25877
25889
|
ref_for: true
|
|
25878
25890
|
}, action.props, {
|
|
25879
25891
|
size: "small",
|
|
25880
25892
|
onClick: action.onClick
|
|
25881
|
-
}), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$
|
|
25893
|
+
}), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1q, mergeProps({
|
|
25882
25894
|
key: 1,
|
|
25883
25895
|
ref_for: true
|
|
25884
25896
|
}, action.props, {
|
|
25885
25897
|
size: "small",
|
|
25886
25898
|
"onUpdate:modelValue": action.onUpdateModelValue
|
|
25887
|
-
}), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$
|
|
25899
|
+
}), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1j, mergeProps({
|
|
25888
25900
|
key: 2,
|
|
25889
25901
|
ref_for: true
|
|
25890
25902
|
}, action.props, {
|
|
@@ -25913,7 +25925,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25913
25925
|
__props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
25914
25926
|
createElementVNode("div", _hoisted_8, [
|
|
25915
25927
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
|
|
25916
|
-
return openBlock(), createBlock(_sfc_main$
|
|
25928
|
+
return openBlock(), createBlock(_sfc_main$1B, mergeProps({
|
|
25917
25929
|
key: `leading-${index}`
|
|
25918
25930
|
}, { ref_for: true }, action.props, {
|
|
25919
25931
|
onClick: action.onClick
|
|
@@ -25922,7 +25934,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25922
25934
|
]),
|
|
25923
25935
|
createElementVNode("div", _hoisted_9, [
|
|
25924
25936
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
|
|
25925
|
-
return openBlock(), createBlock(_sfc_main$
|
|
25937
|
+
return openBlock(), createBlock(_sfc_main$1B, mergeProps({
|
|
25926
25938
|
key: `trailing-${index}`
|
|
25927
25939
|
}, { ref_for: true }, action.props, {
|
|
25928
25940
|
onClick: action.onClick
|
|
@@ -25935,9 +25947,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
25935
25947
|
}
|
|
25936
25948
|
});
|
|
25937
25949
|
|
|
25938
|
-
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25950
|
+
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-64966fb2"]]);
|
|
25939
25951
|
|
|
25940
|
-
const _sfc_main$
|
|
25952
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
25941
25953
|
__name: "TabBarItemAccessory",
|
|
25942
25954
|
props: {
|
|
25943
25955
|
accessory: {},
|
|
@@ -26067,15 +26079,15 @@ const useTabBarAdaptiveLayout = ({
|
|
|
26067
26079
|
};
|
|
26068
26080
|
};
|
|
26069
26081
|
|
|
26070
|
-
const _hoisted_1$
|
|
26071
|
-
const _hoisted_2$
|
|
26072
|
-
const _hoisted_3$
|
|
26073
|
-
const _hoisted_4$
|
|
26082
|
+
const _hoisted_1$a = { class: "kds-tab-bar-wrapper" };
|
|
26083
|
+
const _hoisted_2$5 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
26084
|
+
const _hoisted_3$4 = { class: "kds-tab-label" };
|
|
26085
|
+
const _hoisted_4$4 = {
|
|
26074
26086
|
key: 1,
|
|
26075
26087
|
class: "kds-tab-indicator"
|
|
26076
26088
|
};
|
|
26077
26089
|
const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
|
|
26078
|
-
const _sfc_main$
|
|
26090
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
26079
26091
|
__name: "KdsTabBar",
|
|
26080
26092
|
props: /* @__PURE__ */ mergeModels({
|
|
26081
26093
|
modelValue: {},
|
|
@@ -26200,7 +26212,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
26200
26212
|
{ immediate: true }
|
|
26201
26213
|
);
|
|
26202
26214
|
return (_ctx, _cache) => {
|
|
26203
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26215
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
26204
26216
|
createElementVNode("div", {
|
|
26205
26217
|
ref_key: "availableWidthContainer",
|
|
26206
26218
|
ref: availableWidthContainer,
|
|
@@ -26229,15 +26241,15 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
26229
26241
|
onClick: ($event) => selectTab(tab),
|
|
26230
26242
|
onKeydown: ($event) => handleKeydown($event, tab)
|
|
26231
26243
|
}, [
|
|
26232
|
-
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$
|
|
26244
|
+
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
26233
26245
|
key: 0,
|
|
26234
26246
|
accessory: tab.accessory,
|
|
26235
26247
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
26236
26248
|
disabled: isTabDisabled(tab)
|
|
26237
26249
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
26238
|
-
createElementVNode("span", _hoisted_3$
|
|
26239
|
-
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
26240
|
-
], 42, _hoisted_2$
|
|
26250
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(tab.label), 1),
|
|
26251
|
+
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$4)) : createCommentVNode("", true)
|
|
26252
|
+
], 42, _hoisted_2$5)), [
|
|
26241
26253
|
[unref(vKdsTooltip), getTabTitle(tab)]
|
|
26242
26254
|
]);
|
|
26243
26255
|
}), 128))
|
|
@@ -26247,7 +26259,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
26247
26259
|
}
|
|
26248
26260
|
});
|
|
26249
26261
|
|
|
26250
|
-
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26262
|
+
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-b5cb982f"]]);
|
|
26251
26263
|
|
|
26252
26264
|
const kdsTabBarSize = {
|
|
26253
26265
|
SMALL: "small",
|
|
@@ -26255,7 +26267,7 @@ const kdsTabBarSize = {
|
|
|
26255
26267
|
};
|
|
26256
26268
|
const kdsTabBarSizes = Object.values(kdsTabBarSize);
|
|
26257
26269
|
|
|
26258
|
-
const _sfc_main$
|
|
26270
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
26259
26271
|
__name: "LoadingSkeletonItem",
|
|
26260
26272
|
props: {
|
|
26261
26273
|
shape: { default: "text" }
|
|
@@ -26270,24 +26282,24 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
26270
26282
|
}
|
|
26271
26283
|
});
|
|
26272
26284
|
|
|
26273
|
-
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26285
|
+
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b7565402"]]);
|
|
26274
26286
|
|
|
26275
|
-
const _hoisted_1$
|
|
26287
|
+
const _hoisted_1$9 = {
|
|
26276
26288
|
key: 0,
|
|
26277
26289
|
class: "kds-loading-skeleton",
|
|
26278
26290
|
"aria-busy": "true"
|
|
26279
26291
|
};
|
|
26280
|
-
const _hoisted_2$
|
|
26292
|
+
const _hoisted_2$4 = {
|
|
26281
26293
|
key: 0,
|
|
26282
26294
|
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
26283
26295
|
};
|
|
26284
|
-
const _hoisted_3$
|
|
26285
|
-
const _hoisted_4$
|
|
26296
|
+
const _hoisted_3$3 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
26297
|
+
const _hoisted_4$3 = {
|
|
26286
26298
|
key: 1,
|
|
26287
26299
|
class: "kds-loading-skeleton-input-with-label"
|
|
26288
26300
|
};
|
|
26289
|
-
const _hoisted_5$
|
|
26290
|
-
const _sfc_main$
|
|
26301
|
+
const _hoisted_5$3 = { class: "kds-loading-skeleton-list-item-text" };
|
|
26302
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
26291
26303
|
__name: "KdsLoadingSkeleton",
|
|
26292
26304
|
props: {
|
|
26293
26305
|
variant: { default: "text" },
|
|
@@ -26297,25 +26309,25 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
26297
26309
|
},
|
|
26298
26310
|
setup(__props) {
|
|
26299
26311
|
useCssVars((_ctx) => ({
|
|
26300
|
-
"
|
|
26312
|
+
"v78e8b31c": _ctx.repeatGap
|
|
26301
26313
|
}));
|
|
26302
26314
|
return (_ctx, _cache) => {
|
|
26303
|
-
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26315
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
26304
26316
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
26305
26317
|
return openBlock(), createElementBlock(Fragment, {
|
|
26306
26318
|
key: `skeleton-${index}`
|
|
26307
26319
|
}, [
|
|
26308
|
-
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
26320
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
26309
26321
|
createVNode(LoadingSkeletonItem, {
|
|
26310
26322
|
shape: "text",
|
|
26311
26323
|
class: "headline"
|
|
26312
26324
|
}),
|
|
26313
|
-
createElementVNode("div", _hoisted_3$
|
|
26325
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
26314
26326
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
26315
26327
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
26316
26328
|
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
26317
26329
|
])
|
|
26318
|
-
])) : __props.variant === "input-with-label" ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
26330
|
+
])) : __props.variant === "input-with-label" ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
26319
26331
|
createVNode(LoadingSkeletonItem, {
|
|
26320
26332
|
shape: "label",
|
|
26321
26333
|
class: "label"
|
|
@@ -26335,7 +26347,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
26335
26347
|
createVNode(LoadingSkeletonItem, {
|
|
26336
26348
|
shape: __props.variant.startsWith("list-item-large") ? "icon-large" : "icon-small"
|
|
26337
26349
|
}, null, 8, ["shape"]),
|
|
26338
|
-
createElementVNode("div", _hoisted_5$
|
|
26350
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
26339
26351
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
26340
26352
|
__props.variant.endsWith("subtext") ? (openBlock(), createBlock(LoadingSkeletonItem, {
|
|
26341
26353
|
key: 0,
|
|
@@ -26355,7 +26367,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
26355
26367
|
}
|
|
26356
26368
|
});
|
|
26357
26369
|
|
|
26358
|
-
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26370
|
+
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b3b70d6e"]]);
|
|
26359
26371
|
|
|
26360
26372
|
const loadingSkeletonItemShape = {
|
|
26361
26373
|
TEXT: "text",
|
|
@@ -26383,8 +26395,8 @@ const kdsLoadingSkeletonVariants = Object.values(
|
|
|
26383
26395
|
kdsLoadingSkeletonVariant
|
|
26384
26396
|
);
|
|
26385
26397
|
|
|
26386
|
-
const _hoisted_1$
|
|
26387
|
-
const _sfc_main$
|
|
26398
|
+
const _hoisted_1$8 = { class: "label" };
|
|
26399
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
26388
26400
|
__name: "KdsNavItem",
|
|
26389
26401
|
props: {
|
|
26390
26402
|
label: {},
|
|
@@ -26453,7 +26465,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
26453
26465
|
size: "medium",
|
|
26454
26466
|
disabled: __props.disabled
|
|
26455
26467
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
26456
|
-
withDirectives((openBlock(), createElementBlock("span", _hoisted_1$
|
|
26468
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_1$8, [
|
|
26457
26469
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
26458
26470
|
])), [
|
|
26459
26471
|
[unref(vKdsTooltip), __props.label, "truncated"]
|
|
@@ -26474,7 +26486,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
26474
26486
|
disabled: __props.disabled
|
|
26475
26487
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
26476
26488
|
__props.badge ? (openBlock(), createBlock(unref(KdsBadge), mergeProps({ key: 1 }, __props.badge, { size: "xxsmall" }), null, 16)) : createCommentVNode("", true),
|
|
26477
|
-
__props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$
|
|
26489
|
+
__props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1B), mergeProps({ key: 2 }, __props.trailingButton, {
|
|
26478
26490
|
size: "xsmall",
|
|
26479
26491
|
onClick: onButtonClick
|
|
26480
26492
|
}), null, 16)) : createCommentVNode("", true)
|
|
@@ -26484,10 +26496,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
26484
26496
|
}
|
|
26485
26497
|
});
|
|
26486
26498
|
|
|
26487
|
-
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26499
|
+
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-14836519"]]);
|
|
26488
26500
|
|
|
26489
|
-
const _hoisted_1$
|
|
26490
|
-
const _sfc_main$
|
|
26501
|
+
const _hoisted_1$7 = ["aria-label"];
|
|
26502
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
26491
26503
|
__name: "KdsNavigation",
|
|
26492
26504
|
props: /* @__PURE__ */ mergeModels({
|
|
26493
26505
|
modelValue: {},
|
|
@@ -26529,28 +26541,28 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
26529
26541
|
})) : createCommentVNode("", true)
|
|
26530
26542
|
]);
|
|
26531
26543
|
}), 128))
|
|
26532
|
-
], 8, _hoisted_1$
|
|
26544
|
+
], 8, _hoisted_1$7);
|
|
26533
26545
|
};
|
|
26534
26546
|
}
|
|
26535
26547
|
});
|
|
26536
26548
|
|
|
26537
|
-
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26549
|
+
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ceb3e9ac"]]);
|
|
26538
26550
|
|
|
26539
|
-
const _hoisted_1$
|
|
26551
|
+
const _hoisted_1$6 = {
|
|
26540
26552
|
key: 1,
|
|
26541
26553
|
class: "breadcrumb-label"
|
|
26542
26554
|
};
|
|
26543
|
-
const _hoisted_2$
|
|
26544
|
-
const _hoisted_3$
|
|
26555
|
+
const _hoisted_2$3 = ["aria-label", "aria-current"];
|
|
26556
|
+
const _hoisted_3$2 = {
|
|
26545
26557
|
key: 1,
|
|
26546
26558
|
class: "breadcrumb-label"
|
|
26547
26559
|
};
|
|
26548
|
-
const _hoisted_4$
|
|
26549
|
-
const _hoisted_5$
|
|
26560
|
+
const _hoisted_4$2 = ["aria-label", "aria-current"];
|
|
26561
|
+
const _hoisted_5$2 = {
|
|
26550
26562
|
key: 1,
|
|
26551
26563
|
class: "breadcrumb-label"
|
|
26552
26564
|
};
|
|
26553
|
-
const _sfc_main$
|
|
26565
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
26554
26566
|
__name: "BreadcrumbItem",
|
|
26555
26567
|
props: {
|
|
26556
26568
|
item: {},
|
|
@@ -26585,7 +26597,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26585
26597
|
name: __props.item.leadingIcon,
|
|
26586
26598
|
class: "breadcrumb-icon"
|
|
26587
26599
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
26588
|
-
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_1$
|
|
26600
|
+
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_1$6, [
|
|
26589
26601
|
createTextVNode(toDisplayString(__props.item.text), 1)
|
|
26590
26602
|
])), [
|
|
26591
26603
|
[unref(vKdsTooltip), __props.item.title, "truncated"]
|
|
@@ -26605,12 +26617,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26605
26617
|
name: __props.item.leadingIcon,
|
|
26606
26618
|
class: "breadcrumb-icon"
|
|
26607
26619
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
26608
|
-
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$
|
|
26620
|
+
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_3$2, [
|
|
26609
26621
|
createTextVNode(toDisplayString(__props.item.text), 1)
|
|
26610
26622
|
])), [
|
|
26611
26623
|
[unref(vKdsTooltip), __props.item.title, "truncated"]
|
|
26612
26624
|
]) : createCommentVNode("", true)
|
|
26613
|
-
], 8, _hoisted_2$
|
|
26625
|
+
], 8, _hoisted_2$3)) : (openBlock(), createElementBlock("span", {
|
|
26614
26626
|
key: 2,
|
|
26615
26627
|
class: "kds-breadcrumb-item",
|
|
26616
26628
|
"aria-label": __props.item.ariaLabel,
|
|
@@ -26621,17 +26633,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
26621
26633
|
name: __props.item.leadingIcon,
|
|
26622
26634
|
class: "breadcrumb-icon"
|
|
26623
26635
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
26624
|
-
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_5$
|
|
26636
|
+
__props.item.text ? withDirectives((openBlock(), createElementBlock("span", _hoisted_5$2, [
|
|
26625
26637
|
createTextVNode(toDisplayString(__props.item.text), 1)
|
|
26626
26638
|
])), [
|
|
26627
26639
|
[unref(vKdsTooltip), __props.item.title, "truncated"]
|
|
26628
26640
|
]) : createCommentVNode("", true)
|
|
26629
|
-
], 8, _hoisted_4$
|
|
26641
|
+
], 8, _hoisted_4$2));
|
|
26630
26642
|
};
|
|
26631
26643
|
}
|
|
26632
26644
|
});
|
|
26633
26645
|
|
|
26634
|
-
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26646
|
+
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-432d445a"]]);
|
|
26635
26647
|
|
|
26636
26648
|
const useBreadcrumbAdaptiveLayout = (listRef, itemRefs, itemsSource) => {
|
|
26637
26649
|
const { width: listWidth } = useElementSize(listRef);
|
|
@@ -26730,8 +26742,8 @@ const useBreadcrumbAdaptiveLayout = (listRef, itemRefs, itemsSource) => {
|
|
|
26730
26742
|
});
|
|
26731
26743
|
};
|
|
26732
26744
|
|
|
26733
|
-
const _hoisted_1$
|
|
26734
|
-
const _sfc_main$
|
|
26745
|
+
const _hoisted_1$5 = ["aria-label"];
|
|
26746
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
26735
26747
|
__name: "KdsBreadcrumb",
|
|
26736
26748
|
props: {
|
|
26737
26749
|
items: {},
|
|
@@ -26778,46 +26790,44 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
26778
26790
|
], 2);
|
|
26779
26791
|
}), 128))
|
|
26780
26792
|
], 512)
|
|
26781
|
-
], 8, _hoisted_1$
|
|
26793
|
+
], 8, _hoisted_1$5)) : createCommentVNode("", true);
|
|
26782
26794
|
};
|
|
26783
26795
|
}
|
|
26784
26796
|
});
|
|
26785
26797
|
|
|
26786
|
-
const KdsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26798
|
+
const KdsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-8661f06f"]]);
|
|
26787
26799
|
|
|
26788
|
-
const _sfc_main$
|
|
26800
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
26789
26801
|
__name: "ActionButton",
|
|
26790
26802
|
props: {
|
|
26791
26803
|
type: {},
|
|
26792
26804
|
props: {},
|
|
26793
26805
|
onClick: { type: Function },
|
|
26794
|
-
size: {}
|
|
26806
|
+
size: { default: "medium" }
|
|
26795
26807
|
},
|
|
26796
26808
|
setup(__props) {
|
|
26797
|
-
const props = __props;
|
|
26809
|
+
const props = createPropsRestProxy(__props, ["size"]);
|
|
26798
26810
|
return (_ctx, _cache) => {
|
|
26799
|
-
return props.type === unref(kdsActionButtonType).BUTTON ? (openBlock(), createBlock(_sfc_main$
|
|
26800
|
-
size:
|
|
26811
|
+
return props.type === unref(kdsActionButtonType).BUTTON ? (openBlock(), createBlock(_sfc_main$1B, mergeProps({ key: 0 }, props.props, {
|
|
26812
|
+
size: __props.size,
|
|
26801
26813
|
onClick: _cache[0] || (_cache[0] = (e) => props.onClick?.(e))
|
|
26802
|
-
}), null, 16, ["size"])) : props.type === unref(kdsActionButtonType).LINK_BUTTON ? (openBlock(), createBlock(_sfc_main$
|
|
26803
|
-
size: props.size
|
|
26804
|
-
}), null, 16, ["size"])) : createCommentVNode("", true);
|
|
26814
|
+
}), null, 16, ["size"])) : props.type === unref(kdsActionButtonType).LINK_BUTTON ? (openBlock(), createBlock(_sfc_main$1A, mergeProps({ key: 1 }, props.props, { size: __props.size }), null, 16, ["size"])) : createCommentVNode("", true);
|
|
26805
26815
|
};
|
|
26806
26816
|
}
|
|
26807
26817
|
});
|
|
26808
26818
|
|
|
26809
|
-
const _hoisted_1$
|
|
26810
|
-
const _hoisted_2$
|
|
26811
|
-
const _hoisted_3 = { class: "headline" };
|
|
26812
|
-
const _hoisted_4 = {
|
|
26819
|
+
const _hoisted_1$4 = ["role"];
|
|
26820
|
+
const _hoisted_2$2 = { class: "header" };
|
|
26821
|
+
const _hoisted_3$1 = { class: "headline" };
|
|
26822
|
+
const _hoisted_4$1 = {
|
|
26813
26823
|
key: 0,
|
|
26814
26824
|
class: "body"
|
|
26815
26825
|
};
|
|
26816
|
-
const _hoisted_5 = {
|
|
26826
|
+
const _hoisted_5$1 = {
|
|
26817
26827
|
key: 1,
|
|
26818
26828
|
class: "buttons"
|
|
26819
26829
|
};
|
|
26820
|
-
const _sfc_main$
|
|
26830
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
26821
26831
|
__name: "KdsInlineMessage",
|
|
26822
26832
|
props: {
|
|
26823
26833
|
headline: {},
|
|
@@ -26848,28 +26858,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26848
26858
|
class: normalizeClass(["kds-inline-message", __props.variant]),
|
|
26849
26859
|
role: role.value
|
|
26850
26860
|
}, [
|
|
26851
|
-
createElementVNode("div", _hoisted_2$
|
|
26861
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
26852
26862
|
createVNode(unref(KdsIcon), {
|
|
26853
26863
|
class: "icon",
|
|
26854
26864
|
name: iconName.value,
|
|
26855
26865
|
size: "small"
|
|
26856
26866
|
}, null, 8, ["name"]),
|
|
26857
|
-
createElementVNode("div", _hoisted_3, toDisplayString(props.headline), 1)
|
|
26867
|
+
createElementVNode("div", _hoisted_3$1, toDisplayString(props.headline), 1)
|
|
26858
26868
|
]),
|
|
26859
|
-
props.description ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
26860
|
-
__props.actions?.length ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
26869
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$1, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
26870
|
+
__props.actions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
26861
26871
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.actions, (button) => {
|
|
26862
|
-
return openBlock(), createBlock(_sfc_main$
|
|
26872
|
+
return openBlock(), createBlock(_sfc_main$5, mergeProps({
|
|
26863
26873
|
key: button.props.label ?? button.props.ariaLabel
|
|
26864
26874
|
}, { ref_for: true }, button, { size: "small" }), null, 16);
|
|
26865
26875
|
}), 128))
|
|
26866
26876
|
])) : createCommentVNode("", true)
|
|
26867
|
-
], 10, _hoisted_1$
|
|
26877
|
+
], 10, _hoisted_1$4);
|
|
26868
26878
|
};
|
|
26869
26879
|
}
|
|
26870
26880
|
});
|
|
26871
26881
|
|
|
26872
|
-
const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26882
|
+
const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7573041c"]]);
|
|
26873
26883
|
|
|
26874
26884
|
const kdsInlineMessageVariant = {
|
|
26875
26885
|
ERROR: "error",
|
|
@@ -26879,6 +26889,643 @@ const kdsInlineMessageVariant = {
|
|
|
26879
26889
|
};
|
|
26880
26890
|
const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
26881
26891
|
|
|
26892
|
+
const TreeInjectionKey = /* @__PURE__ */ Symbol("TreeInjectionKey");
|
|
26893
|
+
|
|
26894
|
+
const RenderNode = defineComponent({
|
|
26895
|
+
name: "RenderNode",
|
|
26896
|
+
props: {
|
|
26897
|
+
titleClasses: {
|
|
26898
|
+
type: String,
|
|
26899
|
+
default: ""
|
|
26900
|
+
},
|
|
26901
|
+
node: {
|
|
26902
|
+
type: Object,
|
|
26903
|
+
required: true
|
|
26904
|
+
},
|
|
26905
|
+
context: {
|
|
26906
|
+
type: Object,
|
|
26907
|
+
required: true
|
|
26908
|
+
}
|
|
26909
|
+
},
|
|
26910
|
+
setup(props) {
|
|
26911
|
+
const { context, node, titleClasses } = toRefs(props);
|
|
26912
|
+
return () => {
|
|
26913
|
+
if (context.value.renderNode) {
|
|
26914
|
+
return context.value.renderNode(node.value);
|
|
26915
|
+
}
|
|
26916
|
+
if (context.value.slots.node) {
|
|
26917
|
+
return renderSlot(context.value.slots, "node", { node: node.value });
|
|
26918
|
+
}
|
|
26919
|
+
return h$1("span", { class: titleClasses.value }, node.value.name);
|
|
26920
|
+
};
|
|
26921
|
+
}
|
|
26922
|
+
});
|
|
26923
|
+
|
|
26924
|
+
const _hoisted_1$3 = ["id", "aria-level", "aria-expanded", "aria-selected", "aria-disabled"];
|
|
26925
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
26926
|
+
__name: "TreeNode",
|
|
26927
|
+
props: {
|
|
26928
|
+
node: {},
|
|
26929
|
+
selectedKeys: {},
|
|
26930
|
+
expandedKeys: {},
|
|
26931
|
+
focusKey: { default: () => void 0 },
|
|
26932
|
+
idPrefix: { default: "tree" }
|
|
26933
|
+
},
|
|
26934
|
+
emits: ["selectChange", "toggleExpand"],
|
|
26935
|
+
setup(__props, { emit: __emit }) {
|
|
26936
|
+
const showArrow = computed(() => __props.node.hasChildren);
|
|
26937
|
+
const domId = computed(() => `${__props.idPrefix}_${__props.node.key}`);
|
|
26938
|
+
const isExpanded = computed(() => __props.expandedKeys.has(__props.node.key));
|
|
26939
|
+
const isSelected = computed(() => __props.selectedKeys.has(__props.node.key));
|
|
26940
|
+
const isDisabled = computed(() => __props.node.disabled);
|
|
26941
|
+
const isFocused = computed(() => __props.focusKey === __props.node.key);
|
|
26942
|
+
const emit = __emit;
|
|
26943
|
+
const treeContext = inject(TreeInjectionKey);
|
|
26944
|
+
const treeNodeStyle = computed(() => ({
|
|
26945
|
+
"--virtual-tree-level": __props.node.level
|
|
26946
|
+
}));
|
|
26947
|
+
const nodeClasses = computed(() => [
|
|
26948
|
+
"virtual-tree-node",
|
|
26949
|
+
{
|
|
26950
|
+
selected: isSelected.value,
|
|
26951
|
+
focused: isFocused.value,
|
|
26952
|
+
disabled: isDisabled.value
|
|
26953
|
+
}
|
|
26954
|
+
]);
|
|
26955
|
+
const titleClasses = computed(() => {
|
|
26956
|
+
let result = "node-title";
|
|
26957
|
+
if (isFocused.value) {
|
|
26958
|
+
result += " focused";
|
|
26959
|
+
}
|
|
26960
|
+
if (isSelected.value) {
|
|
26961
|
+
result += " selected";
|
|
26962
|
+
}
|
|
26963
|
+
if (isDisabled.value) {
|
|
26964
|
+
result += " disabled";
|
|
26965
|
+
}
|
|
26966
|
+
return result;
|
|
26967
|
+
});
|
|
26968
|
+
const handleSelect = (event) => {
|
|
26969
|
+
event.stopPropagation();
|
|
26970
|
+
if (!isDisabled.value) {
|
|
26971
|
+
emit("selectChange", __props.node);
|
|
26972
|
+
}
|
|
26973
|
+
};
|
|
26974
|
+
const handleExpand = () => {
|
|
26975
|
+
if (showArrow.value) {
|
|
26976
|
+
const state = !treeContext.getExpandedKeys().includes(__props.node.key);
|
|
26977
|
+
emit("toggleExpand", {
|
|
26978
|
+
state,
|
|
26979
|
+
node: __props.node
|
|
26980
|
+
});
|
|
26981
|
+
}
|
|
26982
|
+
};
|
|
26983
|
+
const arrowClick = (event) => {
|
|
26984
|
+
event.stopPropagation();
|
|
26985
|
+
handleExpand();
|
|
26986
|
+
};
|
|
26987
|
+
return (_ctx, _cache) => {
|
|
26988
|
+
return openBlock(), createElementBlock("div", {
|
|
26989
|
+
id: domId.value,
|
|
26990
|
+
class: normalizeClass(nodeClasses.value),
|
|
26991
|
+
style: normalizeStyle(treeNodeStyle.value),
|
|
26992
|
+
role: "treeitem",
|
|
26993
|
+
"aria-level": __props.node.level + 1,
|
|
26994
|
+
"aria-expanded": showArrow.value ? isExpanded.value : void 0,
|
|
26995
|
+
"aria-selected": isSelected.value,
|
|
26996
|
+
"aria-disabled": isDisabled.value || void 0,
|
|
26997
|
+
onClick: handleExpand
|
|
26998
|
+
}, [
|
|
26999
|
+
createElementVNode("div", {
|
|
27000
|
+
class: normalizeClass([
|
|
27001
|
+
"node-arrow",
|
|
27002
|
+
__props.node.loading ? "loading" : "",
|
|
27003
|
+
isExpanded.value ? "expanded" : ""
|
|
27004
|
+
]),
|
|
27005
|
+
onClick: arrowClick
|
|
27006
|
+
}, [
|
|
27007
|
+
showArrow.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
27008
|
+
__props.node.loading ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
27009
|
+
key: 0,
|
|
27010
|
+
size: "small"
|
|
27011
|
+
})) : (openBlock(), createBlock(KdsIcon, {
|
|
27012
|
+
key: 1,
|
|
27013
|
+
name: "chevron-right",
|
|
27014
|
+
size: "small"
|
|
27015
|
+
}))
|
|
27016
|
+
], 64)) : createCommentVNode("", true)
|
|
27017
|
+
], 2),
|
|
27018
|
+
createElementVNode("div", {
|
|
27019
|
+
class: "node-content node-text",
|
|
27020
|
+
onClick: handleSelect
|
|
27021
|
+
}, [
|
|
27022
|
+
createVNode(unref(RenderNode), {
|
|
27023
|
+
"title-classes": titleClasses.value,
|
|
27024
|
+
context: unref(treeContext),
|
|
27025
|
+
node: __props.node
|
|
27026
|
+
}, null, 8, ["title-classes", "context", "node"])
|
|
27027
|
+
])
|
|
27028
|
+
], 14, _hoisted_1$3);
|
|
27029
|
+
};
|
|
27030
|
+
}
|
|
27031
|
+
});
|
|
27032
|
+
|
|
27033
|
+
class BaseTreeNode {
|
|
27034
|
+
key;
|
|
27035
|
+
name;
|
|
27036
|
+
level;
|
|
27037
|
+
accessory;
|
|
27038
|
+
customSlot;
|
|
27039
|
+
disabled;
|
|
27040
|
+
loading = false;
|
|
27041
|
+
hasChildren = false;
|
|
27042
|
+
children = [];
|
|
27043
|
+
parentKey;
|
|
27044
|
+
parentKeys = [];
|
|
27045
|
+
origin;
|
|
27046
|
+
constructor(options, parent) {
|
|
27047
|
+
this.key = options.nodeKey;
|
|
27048
|
+
this.name = options.name;
|
|
27049
|
+
this.accessory = options.accessory;
|
|
27050
|
+
this.customSlot = options.customSlot;
|
|
27051
|
+
this.disabled = options.disabled ?? false;
|
|
27052
|
+
this.parentKey = parent?.key;
|
|
27053
|
+
this.parentKeys = parent ? [...parent.parentKeys, parent.key] : [];
|
|
27054
|
+
this.level = parent ? parent.level + 1 : 0;
|
|
27055
|
+
this.origin = toRaw(options);
|
|
27056
|
+
}
|
|
27057
|
+
}
|
|
27058
|
+
|
|
27059
|
+
function coerceTreeNodes(source, parent) {
|
|
27060
|
+
const recursion = (list, parentNode) => {
|
|
27061
|
+
return list.map((item) => {
|
|
27062
|
+
const node = item instanceof BaseTreeNode ? item : new BaseTreeNode(item, parentNode);
|
|
27063
|
+
node.children = item.children?.length ? recursion(item.children, node) : [];
|
|
27064
|
+
node.hasChildren = item.hasChildren || node.children.length > 0;
|
|
27065
|
+
return node;
|
|
27066
|
+
});
|
|
27067
|
+
};
|
|
27068
|
+
return recursion(source, parent);
|
|
27069
|
+
}
|
|
27070
|
+
function getFlattenTreeData(tree) {
|
|
27071
|
+
const nodes = [];
|
|
27072
|
+
function recursion(list) {
|
|
27073
|
+
list.forEach((node) => {
|
|
27074
|
+
nodes.push(node);
|
|
27075
|
+
recursion(node.children);
|
|
27076
|
+
});
|
|
27077
|
+
}
|
|
27078
|
+
recursion(tree);
|
|
27079
|
+
return nodes;
|
|
27080
|
+
}
|
|
27081
|
+
function getKey2TreeNode(flattenTreeData) {
|
|
27082
|
+
const key2TreeNode = {};
|
|
27083
|
+
flattenTreeData.forEach((node) => {
|
|
27084
|
+
key2TreeNode[node.key] = node;
|
|
27085
|
+
});
|
|
27086
|
+
return key2TreeNode;
|
|
27087
|
+
}
|
|
27088
|
+
function useTreeData(source) {
|
|
27089
|
+
const treeData = coerceTreeNodes(source);
|
|
27090
|
+
const flattenTreeData = getFlattenTreeData(treeData);
|
|
27091
|
+
const key2TreeNode = getKey2TreeNode(flattenTreeData);
|
|
27092
|
+
return { treeData, flattenTreeData, key2TreeNode };
|
|
27093
|
+
}
|
|
27094
|
+
|
|
27095
|
+
const _hoisted_1$2 = {
|
|
27096
|
+
key: 1,
|
|
27097
|
+
class: "virtual-tree-wrap"
|
|
27098
|
+
};
|
|
27099
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
27100
|
+
__name: "BaseTree",
|
|
27101
|
+
props: {
|
|
27102
|
+
source: { default: () => [] },
|
|
27103
|
+
defaultSelectedKey: { default: "" },
|
|
27104
|
+
defaultExpandedKeys: { default: () => [] },
|
|
27105
|
+
selectable: { type: Boolean, default: true },
|
|
27106
|
+
virtual: { type: Boolean, default: false },
|
|
27107
|
+
idPrefix: { default: "tree" },
|
|
27108
|
+
loadData: { type: Function, default: void 0 },
|
|
27109
|
+
renderNode: { type: Function, default: void 0 }
|
|
27110
|
+
},
|
|
27111
|
+
emits: ["selectChange", "expandChange", "focusChange", "keydown"],
|
|
27112
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27113
|
+
const VIRTUAL_HEIGHT = kdsDimensionComponentHeight1p5x;
|
|
27114
|
+
const emit = __emit;
|
|
27115
|
+
const flattenTreeData = ref([]);
|
|
27116
|
+
const key2TreeNode = ref({});
|
|
27117
|
+
watch(
|
|
27118
|
+
() => __props.source,
|
|
27119
|
+
(newVal) => {
|
|
27120
|
+
const result = useTreeData(newVal);
|
|
27121
|
+
flattenTreeData.value = result.flattenTreeData;
|
|
27122
|
+
key2TreeNode.value = result.key2TreeNode;
|
|
27123
|
+
},
|
|
27124
|
+
{
|
|
27125
|
+
immediate: true
|
|
27126
|
+
}
|
|
27127
|
+
);
|
|
27128
|
+
const expandedKeys = ref(/* @__PURE__ */ new Set());
|
|
27129
|
+
const visibleList = computed(() => {
|
|
27130
|
+
return flattenTreeData.value.filter((node) => {
|
|
27131
|
+
const isRoot = !node.parentKey;
|
|
27132
|
+
const isVisibleNode = node.parentKeys.every(
|
|
27133
|
+
(key) => expandedKeys.value.has(key)
|
|
27134
|
+
);
|
|
27135
|
+
return isRoot || isVisibleNode;
|
|
27136
|
+
});
|
|
27137
|
+
});
|
|
27138
|
+
const { containerProps, wrapperProps, list } = useVirtualList(visibleList, {
|
|
27139
|
+
itemHeight: VIRTUAL_HEIGHT
|
|
27140
|
+
});
|
|
27141
|
+
watch(
|
|
27142
|
+
() => __props.defaultExpandedKeys,
|
|
27143
|
+
(newVal) => {
|
|
27144
|
+
expandedKeys.value.clear();
|
|
27145
|
+
expandedKeys.value = new Set(newVal);
|
|
27146
|
+
},
|
|
27147
|
+
{
|
|
27148
|
+
immediate: true
|
|
27149
|
+
}
|
|
27150
|
+
);
|
|
27151
|
+
const loading = ref(false);
|
|
27152
|
+
function loadChildren(node) {
|
|
27153
|
+
if (!__props.loadData) {
|
|
27154
|
+
return;
|
|
27155
|
+
}
|
|
27156
|
+
node.loading = true;
|
|
27157
|
+
loading.value = true;
|
|
27158
|
+
__props.loadData(node, (children) => {
|
|
27159
|
+
node.loading = false;
|
|
27160
|
+
loading.value = false;
|
|
27161
|
+
if (children.length) {
|
|
27162
|
+
lazyLoad(node, children);
|
|
27163
|
+
} else {
|
|
27164
|
+
node.children = [];
|
|
27165
|
+
node.hasChildren = false;
|
|
27166
|
+
}
|
|
27167
|
+
});
|
|
27168
|
+
}
|
|
27169
|
+
function addOrDelete(expanded) {
|
|
27170
|
+
return expanded ? "add" : "delete";
|
|
27171
|
+
}
|
|
27172
|
+
function toggleExpand({ state, node, source }) {
|
|
27173
|
+
if (loading.value) {
|
|
27174
|
+
return;
|
|
27175
|
+
}
|
|
27176
|
+
expandedKeys.value[addOrDelete(state)](node.key);
|
|
27177
|
+
if (state && !node.children.length) {
|
|
27178
|
+
loadChildren(node);
|
|
27179
|
+
}
|
|
27180
|
+
emit("expandChange", { state, node, source: source || "click" });
|
|
27181
|
+
}
|
|
27182
|
+
function clearChildren(node) {
|
|
27183
|
+
const indexInFlattenData = flattenTreeData.value.findIndex(
|
|
27184
|
+
(item) => item.key === node.key
|
|
27185
|
+
);
|
|
27186
|
+
const size = getFlattenTreeData(node.children).length;
|
|
27187
|
+
node.children = [];
|
|
27188
|
+
flattenTreeData.value.splice(indexInFlattenData + 1, size);
|
|
27189
|
+
}
|
|
27190
|
+
function lazyLoad(node, children) {
|
|
27191
|
+
const indexInFlattenData = flattenTreeData.value.findIndex(
|
|
27192
|
+
(item) => item.key === node.key
|
|
27193
|
+
);
|
|
27194
|
+
const childrenData = coerceTreeNodes(children, node);
|
|
27195
|
+
node.children = childrenData;
|
|
27196
|
+
const childrenFlattenData = getFlattenTreeData(childrenData);
|
|
27197
|
+
flattenTreeData.value.splice(
|
|
27198
|
+
indexInFlattenData + 1,
|
|
27199
|
+
0,
|
|
27200
|
+
...childrenFlattenData
|
|
27201
|
+
);
|
|
27202
|
+
const key2ChildrenNode = getKey2TreeNode(childrenFlattenData);
|
|
27203
|
+
Object.assign(key2TreeNode.value, key2ChildrenNode);
|
|
27204
|
+
for (const item of childrenFlattenData) {
|
|
27205
|
+
if (expandedKeys.value.has(item.key)) {
|
|
27206
|
+
nextTick(() => {
|
|
27207
|
+
toggleExpand({ state: true, node: item });
|
|
27208
|
+
}).catch(() => {
|
|
27209
|
+
});
|
|
27210
|
+
}
|
|
27211
|
+
}
|
|
27212
|
+
}
|
|
27213
|
+
const selectedKeys = ref(/* @__PURE__ */ new Set());
|
|
27214
|
+
watch(
|
|
27215
|
+
() => __props.defaultSelectedKey,
|
|
27216
|
+
(newVal) => {
|
|
27217
|
+
const newSelectedNode = newVal ? key2TreeNode.value?.[newVal] : void 0;
|
|
27218
|
+
if (newSelectedNode) {
|
|
27219
|
+
selectChange(newSelectedNode);
|
|
27220
|
+
} else {
|
|
27221
|
+
clearSelection();
|
|
27222
|
+
}
|
|
27223
|
+
},
|
|
27224
|
+
{
|
|
27225
|
+
immediate: true
|
|
27226
|
+
}
|
|
27227
|
+
);
|
|
27228
|
+
const selectedNode = computed(
|
|
27229
|
+
() => key2TreeNode.value[Array.from(selectedKeys.value.values())[0]]
|
|
27230
|
+
);
|
|
27231
|
+
const focusKey = ref();
|
|
27232
|
+
function focusChange(node) {
|
|
27233
|
+
if (!node) {
|
|
27234
|
+
return;
|
|
27235
|
+
}
|
|
27236
|
+
focusKey.value = node.key;
|
|
27237
|
+
emit("focusChange", { node });
|
|
27238
|
+
}
|
|
27239
|
+
function onFocusOut() {
|
|
27240
|
+
focusKey.value = void 0;
|
|
27241
|
+
emit("focusChange", { node: null });
|
|
27242
|
+
}
|
|
27243
|
+
const isKeyboardInteraction = useKeyPressedUntilMouseClick();
|
|
27244
|
+
function onFocusIn() {
|
|
27245
|
+
const focusNode = focusKey.value ? key2TreeNode.value[focusKey.value] : null;
|
|
27246
|
+
const restored = selectedNode.value ?? focusNode;
|
|
27247
|
+
if (restored) {
|
|
27248
|
+
focusChange(restored);
|
|
27249
|
+
return;
|
|
27250
|
+
}
|
|
27251
|
+
if (isKeyboardInteraction.value) {
|
|
27252
|
+
focusChange(flattenTreeData.value?.at(0));
|
|
27253
|
+
}
|
|
27254
|
+
}
|
|
27255
|
+
function handleKeyboardNavigation(event) {
|
|
27256
|
+
const { key } = event;
|
|
27257
|
+
if (!focusKey.value) {
|
|
27258
|
+
return;
|
|
27259
|
+
}
|
|
27260
|
+
const currentFocusedNode = key2TreeNode.value[focusKey.value];
|
|
27261
|
+
const getNextNode = (node, offset) => {
|
|
27262
|
+
if (!node) {
|
|
27263
|
+
return void 0;
|
|
27264
|
+
}
|
|
27265
|
+
const index = visibleList.value.findIndex(({ key: key2 }) => key2 === node.key);
|
|
27266
|
+
return visibleList.value?.[index + offset];
|
|
27267
|
+
};
|
|
27268
|
+
const arrowRight = () => {
|
|
27269
|
+
event.stopPropagation();
|
|
27270
|
+
event.preventDefault();
|
|
27271
|
+
if (currentFocusedNode.hasChildren) {
|
|
27272
|
+
if (expandedKeys.value.has(currentFocusedNode.key)) {
|
|
27273
|
+
focusChange(getNextNode(currentFocusedNode, 1));
|
|
27274
|
+
} else {
|
|
27275
|
+
toggleExpand({ node: currentFocusedNode, state: true, source: "key" });
|
|
27276
|
+
}
|
|
27277
|
+
}
|
|
27278
|
+
};
|
|
27279
|
+
const arrowLeft = () => {
|
|
27280
|
+
event.stopPropagation();
|
|
27281
|
+
event.preventDefault();
|
|
27282
|
+
if (expandedKeys.value.has(currentFocusedNode.key)) {
|
|
27283
|
+
toggleExpand({ node: currentFocusedNode, state: false, source: "key" });
|
|
27284
|
+
} else if (currentFocusedNode.parentKey) {
|
|
27285
|
+
focusChange(key2TreeNode.value[currentFocusedNode.parentKey]);
|
|
27286
|
+
}
|
|
27287
|
+
};
|
|
27288
|
+
switch (key) {
|
|
27289
|
+
case "ArrowUp":
|
|
27290
|
+
event.preventDefault();
|
|
27291
|
+
focusChange(getNextNode(currentFocusedNode, -1));
|
|
27292
|
+
break;
|
|
27293
|
+
case "ArrowDown":
|
|
27294
|
+
event.preventDefault();
|
|
27295
|
+
focusChange(getNextNode(currentFocusedNode, 1));
|
|
27296
|
+
break;
|
|
27297
|
+
case "ArrowLeft":
|
|
27298
|
+
event.preventDefault();
|
|
27299
|
+
arrowLeft();
|
|
27300
|
+
break;
|
|
27301
|
+
case "ArrowRight":
|
|
27302
|
+
event.preventDefault();
|
|
27303
|
+
arrowRight();
|
|
27304
|
+
break;
|
|
27305
|
+
}
|
|
27306
|
+
emit("keydown", { event, node: currentFocusedNode });
|
|
27307
|
+
}
|
|
27308
|
+
function clearSelection() {
|
|
27309
|
+
if (!selectedKeys.value.size) {
|
|
27310
|
+
return;
|
|
27311
|
+
}
|
|
27312
|
+
const preSelectedNode = key2TreeNode.value[Array.from(selectedKeys.value.values())[0]];
|
|
27313
|
+
selectedKeys.value.clear();
|
|
27314
|
+
emit("selectChange", { preSelectedNode, node: void 0 });
|
|
27315
|
+
}
|
|
27316
|
+
function selectChange(node) {
|
|
27317
|
+
if (!__props.selectable) {
|
|
27318
|
+
return;
|
|
27319
|
+
}
|
|
27320
|
+
if (node.disabled) {
|
|
27321
|
+
clearSelection();
|
|
27322
|
+
return;
|
|
27323
|
+
}
|
|
27324
|
+
const preSelectedNode = key2TreeNode.value[Array.from(selectedKeys.value.values())[0]];
|
|
27325
|
+
selectedKeys.value.clear();
|
|
27326
|
+
selectedKeys.value.add(node.key);
|
|
27327
|
+
focusChange(node);
|
|
27328
|
+
emit("selectChange", { preSelectedNode, node });
|
|
27329
|
+
}
|
|
27330
|
+
const context = {
|
|
27331
|
+
renderNode: __props.renderNode,
|
|
27332
|
+
slots: useSlots(),
|
|
27333
|
+
expandedKeys: expandedKeys.value,
|
|
27334
|
+
getExpandedKeys: () => [...expandedKeys.value],
|
|
27335
|
+
getSelectedNode: () => selectedNode.value,
|
|
27336
|
+
toggleExpand: (nodeKey, state) => toggleExpand({
|
|
27337
|
+
state: state ?? !expandedKeys.value.has(nodeKey),
|
|
27338
|
+
node: key2TreeNode.value[nodeKey],
|
|
27339
|
+
source: "api"
|
|
27340
|
+
}),
|
|
27341
|
+
loadChildren: (nodeKey) => loadChildren(key2TreeNode.value[nodeKey]),
|
|
27342
|
+
clearChildren: (nodeKey) => clearChildren(key2TreeNode.value[nodeKey])
|
|
27343
|
+
};
|
|
27344
|
+
__expose(toRaw(context));
|
|
27345
|
+
provide(TreeInjectionKey, context);
|
|
27346
|
+
return (_ctx, _cache) => {
|
|
27347
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
27348
|
+
class: "virtual-tree",
|
|
27349
|
+
role: "tree",
|
|
27350
|
+
"aria-multiselectable": "false",
|
|
27351
|
+
tabindex: "0"
|
|
27352
|
+
}, __props.virtual ? unref(containerProps) : {}, {
|
|
27353
|
+
onKeydown: handleKeyboardNavigation,
|
|
27354
|
+
onFocusin: onFocusIn,
|
|
27355
|
+
onFocusout: onFocusOut
|
|
27356
|
+
}), [
|
|
27357
|
+
__props.virtual ? (openBlock(), createElementBlock("div", mergeProps({
|
|
27358
|
+
key: 0,
|
|
27359
|
+
class: "virtual-tree-wrap virtual"
|
|
27360
|
+
}, unref(wrapperProps)), [
|
|
27361
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), ({ data: item }) => {
|
|
27362
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
27363
|
+
key: item.key,
|
|
27364
|
+
style: normalizeStyle({ height: `${unref(VIRTUAL_HEIGHT)}px` }),
|
|
27365
|
+
node: item,
|
|
27366
|
+
"id-prefix": __props.idPrefix,
|
|
27367
|
+
"selected-keys": selectedKeys.value,
|
|
27368
|
+
"expanded-keys": expandedKeys.value,
|
|
27369
|
+
"focus-key": focusKey.value,
|
|
27370
|
+
onToggleExpand: toggleExpand,
|
|
27371
|
+
onSelectChange: selectChange
|
|
27372
|
+
}, null, 8, ["style", "node", "id-prefix", "selected-keys", "expanded-keys", "focus-key"]);
|
|
27373
|
+
}), 128))
|
|
27374
|
+
], 16)) : (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
27375
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleList.value, (item) => {
|
|
27376
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
27377
|
+
key: item.key,
|
|
27378
|
+
node: item,
|
|
27379
|
+
"id-prefix": __props.idPrefix,
|
|
27380
|
+
"selected-keys": selectedKeys.value,
|
|
27381
|
+
"expanded-keys": expandedKeys.value,
|
|
27382
|
+
"focus-key": focusKey.value,
|
|
27383
|
+
onToggleExpand: toggleExpand,
|
|
27384
|
+
onSelectChange: selectChange
|
|
27385
|
+
}, null, 8, ["node", "id-prefix", "selected-keys", "expanded-keys", "focus-key"]);
|
|
27386
|
+
}), 128))
|
|
27387
|
+
]))
|
|
27388
|
+
], 16);
|
|
27389
|
+
};
|
|
27390
|
+
}
|
|
27391
|
+
});
|
|
27392
|
+
|
|
27393
|
+
const _hoisted_1$1 = { class: "tree-node-wrapper" };
|
|
27394
|
+
const _hoisted_2$1 = ["onClick"];
|
|
27395
|
+
const _hoisted_3 = { class: "tree-node-label" };
|
|
27396
|
+
const _hoisted_4 = {
|
|
27397
|
+
key: 1,
|
|
27398
|
+
class: "tree-node leaf"
|
|
27399
|
+
};
|
|
27400
|
+
const _hoisted_5 = { class: "tree-node-label" };
|
|
27401
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
27402
|
+
__name: "KdsTree",
|
|
27403
|
+
props: {
|
|
27404
|
+
source: {},
|
|
27405
|
+
loadData: { type: Function, default: void 0 },
|
|
27406
|
+
selectable: { type: Boolean, default: true },
|
|
27407
|
+
expandedKeys: { default: () => [] },
|
|
27408
|
+
idPrefix: { default: "tree" },
|
|
27409
|
+
virtual: { type: Boolean, default: false }
|
|
27410
|
+
},
|
|
27411
|
+
emits: ["keydown", "selectChange", "expandChange"],
|
|
27412
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27413
|
+
const emit = __emit;
|
|
27414
|
+
const baseTree = ref();
|
|
27415
|
+
const focusedNodeKey = ref();
|
|
27416
|
+
const selectedKey = ref();
|
|
27417
|
+
const keyPressedUntilMouseClick = useKeyPressedUntilMouseClick();
|
|
27418
|
+
const domNodeId = (key) => key ? `${__props.idPrefix}_${key}` : void 0;
|
|
27419
|
+
const onFocusChange = async ({ node }) => {
|
|
27420
|
+
focusedNodeKey.value = node?.key ?? null;
|
|
27421
|
+
if (__props.selectable && focusedNodeKey.value) {
|
|
27422
|
+
selectedKey.value = node?.disabled ? void 0 : focusedNodeKey.value.toString();
|
|
27423
|
+
}
|
|
27424
|
+
if (!keyPressedUntilMouseClick.value) {
|
|
27425
|
+
return;
|
|
27426
|
+
}
|
|
27427
|
+
await nextTick();
|
|
27428
|
+
const id = domNodeId(focusedNodeKey.value);
|
|
27429
|
+
const element = id ? document.getElementById(id) : null;
|
|
27430
|
+
element?.scrollIntoView({
|
|
27431
|
+
behavior: "smooth",
|
|
27432
|
+
block: "nearest"
|
|
27433
|
+
});
|
|
27434
|
+
};
|
|
27435
|
+
const onTreeKeydown = ({ event, node }) => {
|
|
27436
|
+
const { key } = event;
|
|
27437
|
+
const toggleExpand = () => {
|
|
27438
|
+
event.stopPropagation();
|
|
27439
|
+
event.preventDefault();
|
|
27440
|
+
if (node.origin.hasChildren) {
|
|
27441
|
+
baseTree.value.toggleExpand(node.key);
|
|
27442
|
+
}
|
|
27443
|
+
};
|
|
27444
|
+
if (key === "Enter") {
|
|
27445
|
+
toggleExpand();
|
|
27446
|
+
}
|
|
27447
|
+
emit("keydown", { event, node });
|
|
27448
|
+
};
|
|
27449
|
+
const onExpandableClick = (node) => {
|
|
27450
|
+
baseTree.value?.toggleExpand(node.key);
|
|
27451
|
+
};
|
|
27452
|
+
const isTreeNodeExpandable = (node) => {
|
|
27453
|
+
return node.origin.hasChildren || node.origin.children;
|
|
27454
|
+
};
|
|
27455
|
+
const onSelectChange = ({ node, preSelectedNode }) => {
|
|
27456
|
+
if (!__props.selectable) {
|
|
27457
|
+
return;
|
|
27458
|
+
}
|
|
27459
|
+
emit("selectChange", { node, preSelectedNode });
|
|
27460
|
+
};
|
|
27461
|
+
__expose({
|
|
27462
|
+
getExpandedKeys: () => baseTree.value?.getExpandedKeys(),
|
|
27463
|
+
toggleExpand: (nodeKey, state) => baseTree.value?.toggleExpand(nodeKey, state),
|
|
27464
|
+
getSelectedTreeNode: () => __props.selectable ? baseTree.value?.getSelectedNode() : void 0,
|
|
27465
|
+
loadChildren: (nodeKey) => baseTree.value?.loadChildren(nodeKey),
|
|
27466
|
+
clearChildren: (nodeKey) => baseTree.value?.clearChildren(nodeKey)
|
|
27467
|
+
});
|
|
27468
|
+
return (_ctx, _cache) => {
|
|
27469
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
|
27470
|
+
ref_key: "baseTree",
|
|
27471
|
+
ref: baseTree,
|
|
27472
|
+
class: normalizeClass(["virtual-tree", { "keyboard-nav": unref(keyPressedUntilMouseClick) }]),
|
|
27473
|
+
source: __props.source,
|
|
27474
|
+
"load-data": __props.loadData,
|
|
27475
|
+
selectable: __props.selectable,
|
|
27476
|
+
"default-selected-key": selectedKey.value,
|
|
27477
|
+
"default-expanded-keys": __props.expandedKeys,
|
|
27478
|
+
"id-prefix": __props.idPrefix,
|
|
27479
|
+
"aria-activedescendant": domNodeId(focusedNodeKey.value),
|
|
27480
|
+
virtual: __props.virtual,
|
|
27481
|
+
onKeydown: onTreeKeydown,
|
|
27482
|
+
onFocusChange,
|
|
27483
|
+
onSelectChange,
|
|
27484
|
+
onExpandChange: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("expandChange", $event))
|
|
27485
|
+
}, {
|
|
27486
|
+
node: withCtx(({ node }) => [
|
|
27487
|
+
createElementVNode("span", _hoisted_1$1, [
|
|
27488
|
+
isTreeNodeExpandable(node) ? (openBlock(), createElementBlock("span", {
|
|
27489
|
+
key: 0,
|
|
27490
|
+
class: "tree-node expandable",
|
|
27491
|
+
onClick: () => onExpandableClick(node)
|
|
27492
|
+
}, [
|
|
27493
|
+
renderSlot(_ctx.$slots, node.customSlot ?? "expandable", { treeNode: node }, () => [
|
|
27494
|
+
node.accessory ? (openBlock(), createBlock(_sfc_main$1o, {
|
|
27495
|
+
key: 0,
|
|
27496
|
+
accessory: node.accessory,
|
|
27497
|
+
size: unref(kdsListItemAccessorySize).SMALL
|
|
27498
|
+
}, null, 8, ["accessory", "size"])) : createCommentVNode("", true),
|
|
27499
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_3, [
|
|
27500
|
+
createTextVNode(toDisplayString(node.name), 1)
|
|
27501
|
+
])), [
|
|
27502
|
+
[unref(vKdsTooltip), node.name, "truncated"]
|
|
27503
|
+
])
|
|
27504
|
+
], true)
|
|
27505
|
+
], 8, _hoisted_2$1)) : (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
27506
|
+
renderSlot(_ctx.$slots, node.customSlot ?? "leaf", { treeNode: node }, () => [
|
|
27507
|
+
node.accessory ? (openBlock(), createBlock(_sfc_main$1o, {
|
|
27508
|
+
key: 0,
|
|
27509
|
+
accessory: node.accessory,
|
|
27510
|
+
size: unref(kdsListItemAccessorySize).SMALL
|
|
27511
|
+
}, null, 8, ["accessory", "size"])) : createCommentVNode("", true),
|
|
27512
|
+
withDirectives((openBlock(), createElementBlock("span", _hoisted_5, [
|
|
27513
|
+
createTextVNode(toDisplayString(node.name), 1)
|
|
27514
|
+
])), [
|
|
27515
|
+
[unref(vKdsTooltip), node.name, "truncated"]
|
|
27516
|
+
])
|
|
27517
|
+
], true)
|
|
27518
|
+
]))
|
|
27519
|
+
])
|
|
27520
|
+
]),
|
|
27521
|
+
_: 3
|
|
27522
|
+
}, 8, ["class", "source", "load-data", "selectable", "default-selected-key", "default-expanded-keys", "id-prefix", "aria-activedescendant", "virtual"]);
|
|
27523
|
+
};
|
|
27524
|
+
}
|
|
27525
|
+
});
|
|
27526
|
+
|
|
27527
|
+
const KdsTree = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5d13b0e7"]]);
|
|
27528
|
+
|
|
26882
27529
|
const ExternalLinkIconUrl = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20viewBox='0%200%2012%2012'%3e%3cpath%20d='M5.5%201.5h-3a1%201%200%200%200-1%201v7a1%201%200%200%200%201%201h7a1%201%200%200%200%201-1v-3m0-5L6%205.892M10.5%201.5v2.75m0-2.75H7.75'%20vector-effect='non-scaling-stroke'/%3e%3c/svg%3e";
|
|
26883
27530
|
|
|
26884
27531
|
const _hoisted_1 = ["innerHTML"];
|
|
@@ -26997,5 +27644,5 @@ const useKdsLegacyMode = (initialValue = false) => {
|
|
|
26997
27644
|
};
|
|
26998
27645
|
};
|
|
26999
27646
|
|
|
27000
|
-
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, KdsBreadcrumb, _sfc_main$
|
|
27647
|
+
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, KdsBreadcrumb, _sfc_main$1B as KdsButton, _sfc_main$i as KdsCard, _sfc_main$1v as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$V as KdsColorInput, KdsColorSwatch, _sfc_main$1d as KdsContextMenu, KdsDataType, _sfc_main$O as KdsDateInput, _sfc_main$M as KdsDateTimeFormatInput, KdsDateTimeInput, KdsDescription, KdsDivider, KdsDonutChart, _sfc_main$B as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsFileExplorer, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$F as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1A as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$1e as KdsMenu, _sfc_main$1j as KdsMenuButton, KdsMissingValueIcon, KdsModal, KdsModalLayout, _sfc_main$x as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$Y as KdsNumberInput, KdsPanel, _sfc_main$U as KdsPasswordInput, _sfc_main$L as KdsPatternInput, KdsPopover, KdsPreviewList, KdsProgressBar, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSideDrawer, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$H as KdsTimeInput, _sfc_main$1q as KdsToggleButton, KdsToggleSwitch, KdsTree, KdsTwinList, _sfc_main$T as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, KdsZonedDateTimeInput, kdsActionButtonType, kdsActionButtonTypes, 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, kdsFileExplorerDraggingAnimationMode, kdsFileExplorerDraggingAnimationModes, kdsFileExplorerSize, kdsFileExplorerSizes, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLinkSize, kdsLinkSizes, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPanelBodyOverflow, kdsPanelBodyOverflows, kdsPanelBodyVariant, kdsPanelBodyVariants, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsPopoverPlacement, kdsPopoverPlacements, kdsPopoverRole, kdsPopoverRoles, kdsPopoverType, kdsPopoverTypes, kdsProgressBarSize, kdsProgressBarSizes, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsToggleSwitchLabelPosition, kdsToggleSwitchLabelPositions, kdsToggleSwitchSize, kdsToggleSwitchSizes, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode, vKdsTooltip };
|
|
27001
27648
|
//# sourceMappingURL=index.js.map
|