@knime/kds-components 0.28.4 → 0.28.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-configure-BU7AIhL7.js +23 -0
- package/dist/auto-configure-BU7AIhL7.js.map +1 -0
- package/dist/cell-renderer-DGnkQWTq.js +23 -0
- package/dist/cell-renderer-DGnkQWTq.js.map +1 -0
- package/dist/column-width-Cjb-6nqI.js +23 -0
- package/dist/column-width-Cjb-6nqI.js.map +1 -0
- package/dist/index.css +182 -46
- package/dist/index.js +919 -557
- package/dist/index.js.map +1 -1
- package/dist/path-separator-DRnUilGA.js +23 -0
- package/dist/path-separator-DRnUilGA.js.map +1 -0
- package/dist/src/accessories/Icon/useIcon.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/enums.d.ts +2 -1
- package/dist/src/containers/ListItem/KdsListItem/enums.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts +8 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts +6 -2
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/types.d.ts +70 -12
- package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
- package/dist/src/containers/index.d.ts +1 -1
- package/dist/src/containers/index.d.ts.map +1 -1
- package/dist/src/layouts/Breadcrumb/BreadcrumbItem.vue.d.ts +8 -0
- package/dist/src/layouts/Breadcrumb/BreadcrumbItem.vue.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/KdsBreadcrumb.vue.d.ts +6 -0
- package/dist/src/layouts/Breadcrumb/KdsBreadcrumb.vue.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/index.d.ts +3 -0
- package/dist/src/layouts/Breadcrumb/index.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/types.d.ts +61 -0
- package/dist/src/layouts/Breadcrumb/types.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/useBreadcrumbAdaptiveLayout.d.ts +30 -0
- package/dist/src/layouts/Breadcrumb/useBreadcrumbAdaptiveLayout.d.ts.map +1 -0
- package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -1
- package/dist/src/layouts/index.d.ts +2 -0
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/dist/src/overlays/Modal/KdsModal.vue.d.ts +1 -1
- package/dist/table-statistics-y-P6EXGX.js +23 -0
- package/dist/table-statistics-y-P6EXGX.js.map +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createPropsRestProxy, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, createBlock, normalizeStyle, createCommentVNode, shallowRef, readonly, toRef, unref, resolveDynamicComponent, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h as h$1, useSlots, getCurrentInstance, useModel, mergeModels, onMounted, onUnmounted, nextTick, useId, watchEffect, useAttrs, withKeys,
|
|
1
|
+
import { defineComponent, createPropsRestProxy, ref, watch, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, Fragment, renderList, createBlock, normalizeStyle, createCommentVNode, shallowRef, markRaw, readonly, toRef, unref, resolveDynamicComponent, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h as h$1, useSlots, getCurrentInstance, useModel, mergeModels, onMounted, onUnmounted, nextTick, useId, withModifiers, watchEffect, useAttrs, withKeys, useCssVars, normalizeProps, withDirectives, vShow, defineAsyncComponent, onBeforeUpdate, onBeforeUnmount, isRef, vModelText, createTextVNode, createSlots, guardReactiveProps } from 'vue';
|
|
2
2
|
import { useLocalStorage, useDark, usePreferredDark, useResizeObserver, useMutationObserver, useElementSize, useMousePressed, useVirtualList, useTemplateRefsList } from '@vueuse/core';
|
|
3
3
|
|
|
4
4
|
import './index.css';const kdsAvatarSize = {
|
|
@@ -9,14 +9,14 @@ import './index.css';const kdsAvatarSize = {
|
|
|
9
9
|
};
|
|
10
10
|
const kdsAvatarSizes = Object.values(kdsAvatarSize);
|
|
11
11
|
|
|
12
|
-
const _hoisted_1$
|
|
13
|
-
const _hoisted_2$
|
|
14
|
-
const _hoisted_3$
|
|
12
|
+
const _hoisted_1$10 = ["role", "title", "aria-hidden", "aria-label", "data-color"];
|
|
13
|
+
const _hoisted_2$C = ["src"];
|
|
14
|
+
const _hoisted_3$t = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "kds-avatar-initials",
|
|
17
17
|
"aria-hidden": "true"
|
|
18
18
|
};
|
|
19
|
-
const _sfc_main$
|
|
19
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "KdsAvatar",
|
|
21
21
|
props: {
|
|
22
22
|
initials: {},
|
|
@@ -80,10 +80,10 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
80
80
|
alt: "",
|
|
81
81
|
"aria-hidden": "true",
|
|
82
82
|
onError: onImageError
|
|
83
|
-
}, null, 40, _hoisted_2$
|
|
83
|
+
}, null, 40, _hoisted_2$C)) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
84
84
|
createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
|
|
85
85
|
]))
|
|
86
|
-
], 10, _hoisted_1$
|
|
86
|
+
], 10, _hoisted_1$10);
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
});
|
|
@@ -96,16 +96,16 @@ const _export_sfc = (sfc, props) => {
|
|
|
96
96
|
return target;
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
99
|
+
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-9e1a5abe"]]);
|
|
100
100
|
|
|
101
|
-
const _hoisted_1
|
|
102
|
-
const _hoisted_2$
|
|
103
|
-
const _hoisted_3$
|
|
101
|
+
const _hoisted_1$$ = ["aria-label"];
|
|
102
|
+
const _hoisted_2$B = { class: "avatars" };
|
|
103
|
+
const _hoisted_3$s = {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "more-count",
|
|
106
106
|
"aria-hidden": "true"
|
|
107
107
|
};
|
|
108
|
-
const _sfc_main$
|
|
108
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
109
109
|
__name: "KdsAvatarCounter",
|
|
110
110
|
props: {
|
|
111
111
|
moreCount: { default: 0 },
|
|
@@ -125,7 +125,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
role: "group",
|
|
126
126
|
"aria-label": ariaLabel.value
|
|
127
127
|
}, [
|
|
128
|
-
createElementVNode("div", _hoisted_2$
|
|
128
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
129
129
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
|
|
130
130
|
return openBlock(), createBlock(KdsAvatar, {
|
|
131
131
|
key: index,
|
|
@@ -139,13 +139,13 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
139
139
|
}, null, 8, ["style", "size", "initials", "title", "src"]);
|
|
140
140
|
}), 128))
|
|
141
141
|
]),
|
|
142
|
-
__props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
143
|
-
], 8, _hoisted_1
|
|
142
|
+
__props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$s, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
|
|
143
|
+
], 8, _hoisted_1$$);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
148
|
+
const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-1aef516d"]]);
|
|
149
149
|
|
|
150
150
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
151
151
|
const v = glob$1[path$13];
|
|
@@ -171,12 +171,13 @@ function useIcon({
|
|
|
171
171
|
return;
|
|
172
172
|
}
|
|
173
173
|
status.value = "loading";
|
|
174
|
-
__variableDynamicImportRuntimeHelper((/* #__PURE__ */ Object.assign({"../../../node_modules/@knime/kds-styles/dist/img/icons/add-user.svg": () => import('./add-user-BBT39sTb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/ai-general.svg": () => import('./ai-general-xv5Ym88e.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/annotation-mode.svg": () => import('./annotation-mode-C0YL12XP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-down.svg": () => import('./arrow-down-D8Q9vZG_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrow-up.svg": () => import('./arrow-up-DJlZjTYZ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-expand.svg": () => import('./arrows-expand-eXIczgyQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-move.svg": () => import('./arrows-move-CDiEl6Ry.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/arrows-order.svg": () => import('./arrows-order-DMoJXS-I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/back.svg": () => import('./back-D1kA9zuH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/bold.svg": () => import('./bold-C8dRggXe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/calendar.svg": () => import('./calendar-B6v1nLjF.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/case-sensitive.svg": () => import('./case-sensitive-CHP-__99.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/center-aligned.svg": () => import('./center-aligned--zRFP8Lf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/checkmark.svg": () => import('./checkmark-DOn23D5R.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-down.svg": () => import('./chevron-down-BsSG_C_8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left-double.svg": () => import('./chevron-left-double-D-EEhZoy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-left.svg": () => import('./chevron-left-BKFnSetN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right-double.svg": () => import('./chevron-right-double-BgfwXKBg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-right.svg": () => import('./chevron-right-CozOeJxa.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/chevron-up.svg": () => import('./chevron-up-FA-c_L5N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-error.svg": () => import('./circle-error-CwUp2gKh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-info.svg": () => import('./circle-info-CcCjmOUH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-question.svg": () => import('./circle-question-TFLpel6L.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-success.svg": () => import('./circle-success-CGkhxpZE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/circle-unchecked.svg": () => import('./circle-unchecked-DOoOn6iz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-download.svg": () => import('./cloud-download-CstHUDZv.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-knime.svg": () => import('./cloud-knime-CpZfWe3J.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-pending-changes.svg": () => import('./cloud-pending-changes-CWBUkOnb.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-synced.svg": () => import('./cloud-synced-DlT_4y5Q.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-upload.svg": () => import('./cloud-upload-DQvu_3cc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cloud-workflow.svg": () => import('./cloud-workflow-Bo_4KHLP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/code-block.svg": () => import('./code-block-DrOaCM3g.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/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/comment.svg": () => import('./comment-DL9ZR-vM.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/component.svg": () => import('./component-BArrSsoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/connection.svg": () => import('./connection-cIDhN_bU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/copy.svg": () => import('./copy-DAYm6-mo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cursor.svg": () => import('./cursor-DSIjd7yc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-app.svg": () => import('./data-app-BHCZS7qU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-value-view.svg": () => import('./data-value-view-DZAfZGqs.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/date-time.svg": () => import('./date-time-C3cmSAQm.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-browse.svg": () => import('./db-browse-BJj19qUq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-database.svg": () => import('./db-database-CyCrPzu-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-fetch.svg": () => import('./db-fetch-CJMHzQp5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-schema.svg": () => import('./db-schema-C4gtYXvd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table-view.svg": () => import('./db-table-view-CcF1plGQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table.svg": () => import('./db-table-DifKATf6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/deploy.svg": () => import('./deploy-Dr6jEhZU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/detect.svg": () => import('./detect-DkQik2ep.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/divider.svg": () => import('./divider-Bhqt1kvt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/duration.svg": () => import('./duration-Dfp9ox2I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/edit.svg": () => import('./edit-Bg040TR4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/education.svg": () => import('./education-CsB0t7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/error-panel.svg": () => import('./error-panel-BCvYjM5m.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute-all.svg": () => import('./execute-all-JZlJ6VtK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute.svg": () => import('./execute-CDtz4PKy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/expand-panel.svg": () => import('./expand-panel-C0-YqxWN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension-community.svg": () => import('./extension-community-BL7uY2lh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension.svg": () => import('./extension-DV2OG2b-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/external-link.svg": () => import('./external-link-D6c_uzZp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/eye.svg": () => import('./eye-DIQBS75n.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-export.svg": () => import('./file-export-Cm5xiHIP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-text.svg": () => import('./file-text-DCIkmzWQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file.svg": () => import('./file-D-fzxVWf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/filter.svg": () => import('./filter-BCzsHR5o.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-default.svg": () => import('./flow-variable-default-D8YRzPWl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in-out.svg": () => import('./flow-variable-in-out-v434yDUG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in.svg": () => import('./flow-variable-in-BiO5ppkU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-out.svg": () => import('./flow-variable-out-BuATVHTL.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-plus.svg": () => import('./folder-plus-0Z-aPAxX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-search.svg": () => import('./folder-search-DDOYg0f6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-workflow.svg": () => import('./folder-workflow-hjaE8p-i.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder.svg": () => import('./folder-xz8Bw1k6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/forum.svg": () => import('./forum-CunE8Bpo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/function-catalog.svg": () => import('./function-catalog-CRXmv7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/hide-eye.svg": () => import('./hide-eye-BrIKmBWt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/home.svg": () => import('./home-CW06ROg3.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/import.svg": () => import('./import-Bjz9KZM-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/info.svg": () => import('./info-C8GezBIf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/interval.svg": () => import('./interval-CzQaVMPH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/italic.svg": () => import('./italic-B6SY7x6N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/key.svg": () => import('./key-9hybjORk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/layout-editor.svg": () => import('./layout-editor-At6vQ3aU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/left-aligned.svg": () => import('./left-aligned-C90MrNJd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/like.svg": () => import('./like-BwC1fMTh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/limit.svg": () => import('./limit-D84DMtQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/link.svg": () => import('./link-DH0XmQMp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/linked-metanode.svg": () => import('./linked-metanode-ojS3JQJp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-bulletpoint.svg": () => import('./list-bulletpoint-BLPnukaY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-number.svg": () => import('./list-number-C47JfmdB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-thumbs.svg": () => import('./list-thumbs-F5ICnK4Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list.svg": () => import('./list-CQmzxqnp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/local-filesystem.svg": () => import('./local-filesystem-fyrwOsG5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/lock.svg": () => import('./lock-B9qCq8wW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/menu.svg": () => import('./menu-BSS_QnZi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/metanode.svg": () => import('./metanode-BOoscDpe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/mini-map.svg": () => import('./mini-map-DKez_1T0.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-dialog.svg": () => import('./minimize-dialog-CsKInFjQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-side-panel.svg": () => import('./minimize-side-panel-DOe27uOi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minus.svg": () => import('./minus-CUOnFK-_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/more-actions.svg": () => import('./more-actions-r1Ai1cv8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/node-stack.svg": () => import('./node-stack-B2-NOdn1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-horiz.svg": () => import('./nodes-align-horiz-BNN1SQyE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-vert.svg": () => import('./nodes-align-vert-JG8gmWk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/open-in-new-window.svg": () => import('./open-in-new-window-BAU_-IMl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pan-mode.svg": () => import('./pan-mode-CGVZU5HB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/parameter.svg": () => import('./parameter-D3NI1oyc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pending-changes.svg": () => import('./pending-changes-BvFdyKn8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pin.svg": () => import('./pin-B6vKBZDp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/placeholder.svg": () => import('./placeholder-CIq-OFkj.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/plus.svg": () => import('./plus-BGcbvgG4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/python.svg": () => import('./python-Bn3ET_9Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/quote.svg": () => import('./quote-BhPMewQl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/re-execution.svg": () => import('./re-execution-CPa8UUdU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/redo.svg": () => import('./redo-BjctXrq6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/regex.svg": () => import('./regex-CErlWJQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reload.svg": () => import('./reload-CDm_DDdP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rename.svg": () => import('./rename-Cyk_xng4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/replace.svg": () => import('./replace-9aOLtKuD.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/reset-all.svg": () => import('./reset-all-Buf5y-HV.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/resume-execution.svg": () => import('./resume-execution-CRqaKZqz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/right-aligned.svg": () => import('./right-aligned-2BkZ58o-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/rocket.svg": () => import('./rocket-Bs46VoUh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save-as.svg": () => import('./save-as-CTnCvHfQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/save.svg": () => import('./save-B7DzWjxS.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/schedule.svg": () => import('./schedule-DuSqromp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/search.svg": () => import('./search-gykfARpE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/secret-store.svg": () => import('./secret-store-_ZlpQRjr.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-cancel.svg": () => import('./selected-cancel-CS3Gep56.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-execution.svg": () => import('./selected-execution-BJxjtKXq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/selected-reset.svg": () => import('./selected-reset-SMx6XDk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/send.svg": () => import('./send-G2BlBsxu.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/server-rack-workflow.svg": () => import('./server-rack-workflow-CBhKbyGY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/service.svg": () => import('./service-9hAt2V0T.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/settings.svg": () => import('./settings-BLMTAq-1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/share.svg": () => import('./share-BIrWLTtn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/shortcuts.svg": () => import('./shortcuts-fbNZWoSf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-ascending.svg": () => import('./sort-ascending-DNyV4Drg.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/sort-descending.svg": () => import('./sort-descending-BdIGPn-9.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-local.svg": () => import('./space-local-D4kTqwrB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space-private.svg": () => import('./space-private-D06CTwvE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/space.svg": () => import('./space-fMpb-o4-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stepwise-execution.svg": () => import('./stepwise-execution-C1mAO3z_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/stop.svg": () => import('./stop-Cgmy2iPY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/strikethrough.svg": () => import('./strikethrough-DG4Ejxqk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/tag.svg": () => import('./tag-_fZiuJaC.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/team.svg": () => import('./team-CtZLwOou.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/template-gallery.svg": () => import('./template-gallery-BtXi4GHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/text.svg": () => import('./text-DFu-L62Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/textstyles.svg": () => import('./textstyles-j0GQtKYE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-down.svg": () => import('./thumbs-down-CiozrdIW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-up.svg": () => import('./thumbs-up-E4uRtjhi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/time.svg": () => import('./time-DU80J5X8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-bottom.svg": () => import('./to-bottom-B8wat1Dk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-top.svg": () => import('./to-top-CCAfU4xz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trash.svg": () => import('./trash-Dq5FHwNO.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trigger.svg": () => import('./trigger-Qns9VYQG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/underline.svg": () => import('./underline-CDZcVZHB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/undo.svg": () => import('./undo-CnghWcXK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/unlink.svg": () => import('./unlink-CL0kTZX2.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/usage.svg": () => import('./usage-827uIQyn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/user.svg": () => import('./user-DTq28OjK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/version.svg": () => import('./version-CSTTEeam.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/view-cards.svg": () => import('./view-cards-DS0Cpf95.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/warning.svg": () => import('./warning-CJC1Oij-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/workflow.svg": () => import('./workflow-n50o8jCH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/x-close.svg": () => import('./x-close-D-oEO9N9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/audio-datatype.svg": () => import('./audio-datatype-DyzJTMxb.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/binary-object-datatype.svg": () => import('./binary-object-datatype-DHZPEEoV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/bit-byte-vector-datatype.svg": () => import('./bit-byte-vector-datatype-XJ0yjm_4.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/boolean-datatype.svg": () => import('./boolean-datatype-B0SBV35e.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-list-datatype.svg": () => import('./collection-list-datatype-DDLoFog9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-set-datatype.svg": () => import('./collection-set-datatype-QGQHiErr.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-datatype.svg": () => import('./date-datatype-DX2o-Qoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-local-datatype.svg": () => import('./date-time-local-datatype-BRveWl93.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-zoned-datatype.svg": () => import('./date-time-zoned-datatype-CvUpjzJk.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/default-extension-datatype.svg": () => import('./default-extension-datatype-C7jbGM5d.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/document-datatype.svg": () => import('./document-datatype-CmWsp5e8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-date-based-datatype.svg": () => import('./duration-date-based-datatype-ZMMDq_rT.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-time-based-datatype.svg": () => import('./duration-time-based-datatype-DWj4ALsB.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/geo-datatype.svg": () => import('./geo-datatype-CTQgQTql.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/helm-datatype.svg": () => import('./helm-datatype-XIlHXQBP.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-png-datatype.svg": () => import('./image-png-datatype-CtnGTQlX.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-svg-datatype.svg": () => import('./image-svg-datatype-DgySAOGM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/json-datatype.svg": () => import('./json-datatype-DgHr_Q8U.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/labeling-datatype.svg": () => import('./labeling-datatype-CGG_DguN.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/linear-notation-molecule.svg": () => import('./linear-notation-molecule-CepA_vEp.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/message-datatype.svg": () => import('./message-datatype-Ds55YGMQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/microscope.svg": () => import('./microscope-CPwlykKH.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/model-pmml-datatype.svg": () => import('./model-pmml-datatype-kXlL8AWg.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/molecule.svg": () => import('./molecule-CT71Yhf1.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-datatype.svg": () => import('./number-double-datatype-B6nc4th6.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-vector-datatype.svg": () => import('./number-double-vector-datatype-D3rzzxjM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-integer-datatype.svg": () => import('./number-integer-datatype-BWoQkZ03.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/path-datatype.svg": () => import('./path-datatype-BD3D-7dL.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-datatype.svg": () => import('./string-datatype-CHI_qvxE.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-vector-datatype.svg": () => import('./string-vector-datatype-DhgtZI8f.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/subgraph-datatype.svg": () => import('./subgraph-datatype-BHBSS1-Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/term-datatype.svg": () => import('./term-datatype-CRrmVXQx.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/test-tube.svg": () => import('./test-tube-BsB8mbus.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/time-datatype.svg": () => import('./time-datatype-CBnmuYLa.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/tool-datatype.svg": () => import('./tool-datatype-l6cMJHHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/unknown-datatype.svg": () => import('./unknown-datatype-BEY7muOy.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/uri-datatype.svg": () => import('./uri-datatype-CJhmCZiq.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-boolean.svg": () => import('./variable-boolean-BzyG4BGV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-boolean.svg": () => import('./variable-collection-boolean-nWAd6a7R.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-double.svg": () => import('./variable-collection-double-h0sMrPKC.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-integer.svg": () => import('./variable-collection-integer-BZEs4wch.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-string.svg": () => import('./variable-collection-string-BPIuxyHK.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-conda-environment.svg": () => import('./variable-conda-environment-DZ5kqmc5.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-credential.svg": () => import('./variable-credential-D32ztDmY.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-integer.svg": () => import('./variable-integer-CtoE3pq3.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-number-double.svg": () => import('./variable-number-double-D5CGjCM8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-path.svg": () => import('./variable-path-Dyuv7RmO.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-string.svg": () => import('./variable-string-JWu8Gafe.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-unknown.svg": () => import('./variable-unknown-DYSdcnPs.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/xml-datatype.svg": () => import('./xml-datatype-BlUTXDpw.js')})), `../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`, 10).then((module) => {
|
|
175
|
-
|
|
174
|
+
__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-DAYm6-mo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/cursor.svg": () => import('./cursor-DSIjd7yc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-app.svg": () => import('./data-app-BHCZS7qU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/data-value-view.svg": () => import('./data-value-view-DZAfZGqs.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/date-time.svg": () => import('./date-time-C3cmSAQm.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-browse.svg": () => import('./db-browse-BJj19qUq.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-database.svg": () => import('./db-database-CyCrPzu-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-fetch.svg": () => import('./db-fetch-CJMHzQp5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-schema.svg": () => import('./db-schema-C4gtYXvd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table-view.svg": () => import('./db-table-view-CcF1plGQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/db-table.svg": () => import('./db-table-DifKATf6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/deploy.svg": () => import('./deploy-Dr6jEhZU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/detect.svg": () => import('./detect-DkQik2ep.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/divider.svg": () => import('./divider-Bhqt1kvt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/duration.svg": () => import('./duration-Dfp9ox2I.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/edit.svg": () => import('./edit-Bg040TR4.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/education.svg": () => import('./education-CsB0t7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/error-panel.svg": () => import('./error-panel-BCvYjM5m.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute-all.svg": () => import('./execute-all-JZlJ6VtK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/execute.svg": () => import('./execute-CDtz4PKy.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/expand-panel.svg": () => import('./expand-panel-C0-YqxWN.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension-community.svg": () => import('./extension-community-BL7uY2lh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/extension.svg": () => import('./extension-DV2OG2b-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/external-link.svg": () => import('./external-link-D6c_uzZp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/eye.svg": () => import('./eye-DIQBS75n.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-export.svg": () => import('./file-export-Cm5xiHIP.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file-text.svg": () => import('./file-text-DCIkmzWQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/file.svg": () => import('./file-D-fzxVWf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/filter.svg": () => import('./filter-BCzsHR5o.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-default.svg": () => import('./flow-variable-default-D8YRzPWl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in-out.svg": () => import('./flow-variable-in-out-v434yDUG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-in.svg": () => import('./flow-variable-in-BiO5ppkU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/flow-variable-out.svg": () => import('./flow-variable-out-BuATVHTL.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-plus.svg": () => import('./folder-plus-0Z-aPAxX.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-search.svg": () => import('./folder-search-DDOYg0f6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder-workflow.svg": () => import('./folder-workflow-hjaE8p-i.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/folder.svg": () => import('./folder-xz8Bw1k6.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/forum.svg": () => import('./forum-CunE8Bpo.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/function-catalog.svg": () => import('./function-catalog-CRXmv7AG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/hide-eye.svg": () => import('./hide-eye-BrIKmBWt.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/home.svg": () => import('./home-CW06ROg3.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/import.svg": () => import('./import-Bjz9KZM-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/info.svg": () => import('./info-C8GezBIf.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/interval.svg": () => import('./interval-CzQaVMPH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/italic.svg": () => import('./italic-B6SY7x6N.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/key.svg": () => import('./key-9hybjORk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/layout-editor.svg": () => import('./layout-editor-At6vQ3aU.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/left-aligned.svg": () => import('./left-aligned-C90MrNJd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/like.svg": () => import('./like-BwC1fMTh.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/limit.svg": () => import('./limit-D84DMtQW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/link.svg": () => import('./link-DH0XmQMp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/linked-metanode.svg": () => import('./linked-metanode-ojS3JQJp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-bulletpoint.svg": () => import('./list-bulletpoint-BLPnukaY.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-number.svg": () => import('./list-number-C47JfmdB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list-thumbs.svg": () => import('./list-thumbs-F5ICnK4Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/list.svg": () => import('./list-CQmzxqnp.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/local-filesystem.svg": () => import('./local-filesystem-fyrwOsG5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/lock.svg": () => import('./lock-B9qCq8wW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/menu.svg": () => import('./menu-BSS_QnZi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/metanode.svg": () => import('./metanode-BOoscDpe.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/mini-map.svg": () => import('./mini-map-DKez_1T0.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-dialog.svg": () => import('./minimize-dialog-CsKInFjQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minimize-side-panel.svg": () => import('./minimize-side-panel-DOe27uOi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/minus.svg": () => import('./minus-CUOnFK-_.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/more-actions.svg": () => import('./more-actions-r1Ai1cv8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/node-stack.svg": () => import('./node-stack-B2-NOdn1.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-horiz.svg": () => import('./nodes-align-horiz-BNN1SQyE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/nodes-align-vert.svg": () => import('./nodes-align-vert-JG8gmWk5.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/open-in-new-window.svg": () => import('./open-in-new-window-BAU_-IMl.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/pan-mode.svg": () => import('./pan-mode-CGVZU5HB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/parameter.svg": () => import('./parameter-D3NI1oyc.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/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/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/tag.svg": () => import('./tag-_fZiuJaC.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/team.svg": () => import('./team-CtZLwOou.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/template-gallery.svg": () => import('./template-gallery-BtXi4GHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/text.svg": () => import('./text-DFu-L62Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/textstyles.svg": () => import('./textstyles-j0GQtKYE.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-down.svg": () => import('./thumbs-down-CiozrdIW.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/thumbs-up.svg": () => import('./thumbs-up-E4uRtjhi.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/time.svg": () => import('./time-DU80J5X8.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-bottom.svg": () => import('./to-bottom-B8wat1Dk.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/to-top.svg": () => import('./to-top-CCAfU4xz.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trash.svg": () => import('./trash-Dq5FHwNO.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/trigger.svg": () => import('./trigger-Qns9VYQG.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/underline.svg": () => import('./underline-CDZcVZHB.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/undo.svg": () => import('./undo-CnghWcXK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/unlink.svg": () => import('./unlink-CL0kTZX2.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/usage.svg": () => import('./usage-827uIQyn.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/user.svg": () => import('./user-DTq28OjK.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/version.svg": () => import('./version-CSTTEeam.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/view-cards.svg": () => import('./view-cards-DS0Cpf95.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/warning.svg": () => import('./warning-CJC1Oij-.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/workflow.svg": () => import('./workflow-n50o8jCH.js'),"../../../node_modules/@knime/kds-styles/dist/img/icons/x-close.svg": () => import('./x-close-D-oEO9N9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/audio-datatype.svg": () => import('./audio-datatype-DyzJTMxb.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/binary-object-datatype.svg": () => import('./binary-object-datatype-DHZPEEoV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/bit-byte-vector-datatype.svg": () => import('./bit-byte-vector-datatype-XJ0yjm_4.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/boolean-datatype.svg": () => import('./boolean-datatype-B0SBV35e.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-list-datatype.svg": () => import('./collection-list-datatype-DDLoFog9.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/collection-set-datatype.svg": () => import('./collection-set-datatype-QGQHiErr.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-datatype.svg": () => import('./date-datatype-DX2o-Qoi.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-local-datatype.svg": () => import('./date-time-local-datatype-BRveWl93.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/date-time-zoned-datatype.svg": () => import('./date-time-zoned-datatype-CvUpjzJk.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/default-extension-datatype.svg": () => import('./default-extension-datatype-C7jbGM5d.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/document-datatype.svg": () => import('./document-datatype-CmWsp5e8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-date-based-datatype.svg": () => import('./duration-date-based-datatype-ZMMDq_rT.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/duration-time-based-datatype.svg": () => import('./duration-time-based-datatype-DWj4ALsB.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/geo-datatype.svg": () => import('./geo-datatype-CTQgQTql.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/helm-datatype.svg": () => import('./helm-datatype-XIlHXQBP.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-png-datatype.svg": () => import('./image-png-datatype-CtnGTQlX.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/image-svg-datatype.svg": () => import('./image-svg-datatype-DgySAOGM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/json-datatype.svg": () => import('./json-datatype-DgHr_Q8U.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/labeling-datatype.svg": () => import('./labeling-datatype-CGG_DguN.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/linear-notation-molecule.svg": () => import('./linear-notation-molecule-CepA_vEp.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/message-datatype.svg": () => import('./message-datatype-Ds55YGMQ.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/microscope.svg": () => import('./microscope-CPwlykKH.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/model-pmml-datatype.svg": () => import('./model-pmml-datatype-kXlL8AWg.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/molecule.svg": () => import('./molecule-CT71Yhf1.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-datatype.svg": () => import('./number-double-datatype-B6nc4th6.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-double-vector-datatype.svg": () => import('./number-double-vector-datatype-D3rzzxjM.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/number-integer-datatype.svg": () => import('./number-integer-datatype-BWoQkZ03.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/path-datatype.svg": () => import('./path-datatype-BD3D-7dL.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-datatype.svg": () => import('./string-datatype-CHI_qvxE.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/string-vector-datatype.svg": () => import('./string-vector-datatype-DhgtZI8f.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/subgraph-datatype.svg": () => import('./subgraph-datatype-BHBSS1-Z.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/term-datatype.svg": () => import('./term-datatype-CRrmVXQx.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/test-tube.svg": () => import('./test-tube-BsB8mbus.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/time-datatype.svg": () => import('./time-datatype-CBnmuYLa.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/tool-datatype.svg": () => import('./tool-datatype-l6cMJHHd.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/unknown-datatype.svg": () => import('./unknown-datatype-BEY7muOy.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/uri-datatype.svg": () => import('./uri-datatype-CJhmCZiq.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-boolean.svg": () => import('./variable-boolean-BzyG4BGV.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-boolean.svg": () => import('./variable-collection-boolean-nWAd6a7R.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-double.svg": () => import('./variable-collection-double-h0sMrPKC.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-integer.svg": () => import('./variable-collection-integer-BZEs4wch.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-collection-string.svg": () => import('./variable-collection-string-BPIuxyHK.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-conda-environment.svg": () => import('./variable-conda-environment-DZ5kqmc5.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-credential.svg": () => import('./variable-credential-D32ztDmY.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-integer.svg": () => import('./variable-integer-CtoE3pq3.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-number-double.svg": () => import('./variable-number-double-D5CGjCM8.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-path.svg": () => import('./variable-path-Dyuv7RmO.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-string.svg": () => import('./variable-string-JWu8Gafe.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/variable-unknown.svg": () => import('./variable-unknown-DYSdcnPs.js'),"../../../node_modules/@knime/kds-styles/dist/img/type-icons/xml-datatype.svg": () => import('./xml-datatype-BlUTXDpw.js')})), `../../../node_modules/@knime/kds-styles/dist/img/${folder}/${newName}.svg`, 10).then((module) => {
|
|
175
|
+
const component = markRaw(module.default);
|
|
176
|
+
iconCache.set(newName, component);
|
|
176
177
|
if (name.value !== newName) {
|
|
177
178
|
return;
|
|
178
179
|
}
|
|
179
|
-
iconComponent.value =
|
|
180
|
+
iconComponent.value = component;
|
|
180
181
|
status.value = "loaded";
|
|
181
182
|
}).catch((error) => {
|
|
182
183
|
if (error.name === "AbortError") {
|
|
@@ -201,7 +202,7 @@ function useIcon({
|
|
|
201
202
|
};
|
|
202
203
|
}
|
|
203
204
|
|
|
204
|
-
const _sfc_main$
|
|
205
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
205
206
|
__name: "KdsIcon",
|
|
206
207
|
props: {
|
|
207
208
|
name: {},
|
|
@@ -231,7 +232,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
231
232
|
}
|
|
232
233
|
});
|
|
233
234
|
|
|
234
|
-
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
235
|
+
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-bff4f419"]]);
|
|
235
236
|
|
|
236
237
|
const ID_TO_ICON_MAP = {
|
|
237
238
|
// Flow Variables
|
|
@@ -333,10 +334,12 @@ const iconNames = [
|
|
|
333
334
|
"arrows-expand",
|
|
334
335
|
"arrows-move",
|
|
335
336
|
"arrows-order",
|
|
337
|
+
"auto-configure",
|
|
336
338
|
"back",
|
|
337
339
|
"bold",
|
|
338
340
|
"calendar",
|
|
339
341
|
"case-sensitive",
|
|
342
|
+
"cell-renderer",
|
|
340
343
|
"center-aligned",
|
|
341
344
|
"checkmark",
|
|
342
345
|
"chevron-down",
|
|
@@ -359,6 +362,7 @@ const iconNames = [
|
|
|
359
362
|
"code-block",
|
|
360
363
|
"collection",
|
|
361
364
|
"color-picker",
|
|
365
|
+
"column-width",
|
|
362
366
|
"comment",
|
|
363
367
|
"component",
|
|
364
368
|
"connection",
|
|
@@ -433,6 +437,7 @@ const iconNames = [
|
|
|
433
437
|
"open-in-new-window",
|
|
434
438
|
"pan-mode",
|
|
435
439
|
"parameter",
|
|
440
|
+
"path-separator",
|
|
436
441
|
"pending-changes",
|
|
437
442
|
"pin",
|
|
438
443
|
"placeholder",
|
|
@@ -471,6 +476,7 @@ const iconNames = [
|
|
|
471
476
|
"stepwise-execution",
|
|
472
477
|
"stop",
|
|
473
478
|
"strikethrough",
|
|
479
|
+
"table-statistics",
|
|
474
480
|
"tag",
|
|
475
481
|
"team",
|
|
476
482
|
"template-gallery",
|
|
@@ -569,8 +575,8 @@ const kdsDataTypeSize = {
|
|
|
569
575
|
};
|
|
570
576
|
const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
|
|
571
577
|
|
|
572
|
-
const _hoisted_1$
|
|
573
|
-
const _sfc_main$
|
|
578
|
+
const _hoisted_1$_ = ["title"];
|
|
579
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
574
580
|
__name: "KdsDataType",
|
|
575
581
|
props: {
|
|
576
582
|
iconName: { default: "unknown-datatype" },
|
|
@@ -611,12 +617,12 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
611
617
|
"aria-hidden": "true",
|
|
612
618
|
focusable: "false"
|
|
613
619
|
}, null, 8, ["class"]))
|
|
614
|
-
], 10, _hoisted_1$
|
|
620
|
+
], 10, _hoisted_1$_);
|
|
615
621
|
};
|
|
616
622
|
}
|
|
617
623
|
});
|
|
618
624
|
|
|
619
|
-
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
625
|
+
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-38e9537f"]]);
|
|
620
626
|
|
|
621
627
|
const kdsBadgeVariant = {
|
|
622
628
|
NEUTRAL: "neutral",
|
|
@@ -633,8 +639,8 @@ const kdsBadgeSize = {
|
|
|
633
639
|
};
|
|
634
640
|
const kdsBadgeSizes = Object.values(kdsBadgeSize);
|
|
635
641
|
|
|
636
|
-
const _hoisted_1$
|
|
637
|
-
const _sfc_main$
|
|
642
|
+
const _hoisted_1$Z = { class: "label-wrapper" };
|
|
643
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
638
644
|
__name: "KdsBadge",
|
|
639
645
|
props: {
|
|
640
646
|
label: {},
|
|
@@ -656,13 +662,13 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
656
662
|
name: __props.leadingIcon,
|
|
657
663
|
size: sizeToIconSize[__props.size]
|
|
658
664
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true),
|
|
659
|
-
createElementVNode("span", _hoisted_1$
|
|
665
|
+
createElementVNode("span", _hoisted_1$Z, toDisplayString(__props.label), 1)
|
|
660
666
|
], 2);
|
|
661
667
|
};
|
|
662
668
|
}
|
|
663
669
|
});
|
|
664
670
|
|
|
665
|
-
const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
671
|
+
const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-df64f7cf"]]);
|
|
666
672
|
|
|
667
673
|
const kdsColorSwatchType = {
|
|
668
674
|
LEARNER: "learner",
|
|
@@ -681,14 +687,14 @@ const kdsColorSwatchSize = {
|
|
|
681
687
|
};
|
|
682
688
|
const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
|
|
683
689
|
|
|
684
|
-
const _hoisted_1$
|
|
690
|
+
const _hoisted_1$Y = ["role", "title", "aria-hidden", "aria-label"];
|
|
685
691
|
const RGBA_SHORT_HEX_LENGTH = 4;
|
|
686
692
|
const RGBA_LONG_HEX_LENGTH = 8;
|
|
687
693
|
const ALPHA_NIBBLE_INDEX = 3;
|
|
688
694
|
const ALPHA_BYTE_START = 6;
|
|
689
695
|
const RGB_SHORT_HEX_LENGTH = 3;
|
|
690
696
|
const RGB_LONG_HEX_LENGTH = 6;
|
|
691
|
-
const _sfc_main$
|
|
697
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
692
698
|
__name: "KdsColorSwatch",
|
|
693
699
|
props: {
|
|
694
700
|
color: {},
|
|
@@ -763,12 +769,12 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
763
769
|
style: normalizeStyle(swatchStyle.value),
|
|
764
770
|
"aria-hidden": hasTitle.value ? void 0 : "true",
|
|
765
771
|
"aria-label": hasTitle.value ? accessibleTitle.value : void 0
|
|
766
|
-
}, null, 14, _hoisted_1$
|
|
772
|
+
}, null, 14, _hoisted_1$Y);
|
|
767
773
|
};
|
|
768
774
|
}
|
|
769
775
|
});
|
|
770
776
|
|
|
771
|
-
const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
777
|
+
const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-91e0130d"]]);
|
|
772
778
|
|
|
773
779
|
const kdsDarkModeType = {
|
|
774
780
|
LIGHT: "light",
|
|
@@ -888,9 +894,9 @@ function useKdsIsTruncated(elementRef) {
|
|
|
888
894
|
return { isTruncated };
|
|
889
895
|
}
|
|
890
896
|
|
|
891
|
-
const _hoisted_1$
|
|
892
|
-
const _hoisted_2$
|
|
893
|
-
const _sfc_main$
|
|
897
|
+
const _hoisted_1$X = ["title", "aria-label"];
|
|
898
|
+
const _hoisted_2$A = ["title"];
|
|
899
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
894
900
|
__name: "KdsLiveStatus",
|
|
895
901
|
props: {
|
|
896
902
|
status: { default: "red" },
|
|
@@ -919,13 +925,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
919
925
|
ref: labelEl,
|
|
920
926
|
class: "label",
|
|
921
927
|
title: unref(isTruncated) ? __props.label : void 0
|
|
922
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
923
|
-
], 10, _hoisted_1$
|
|
928
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$A)) : createCommentVNode("", true)
|
|
929
|
+
], 10, _hoisted_1$X);
|
|
924
930
|
};
|
|
925
931
|
}
|
|
926
932
|
});
|
|
927
933
|
|
|
928
|
-
const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
934
|
+
const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-01555495"]]);
|
|
929
935
|
|
|
930
936
|
const kdsLiveStatusStatus = {
|
|
931
937
|
RED: "red",
|
|
@@ -941,8 +947,8 @@ const kdsLiveStatusSize = {
|
|
|
941
947
|
};
|
|
942
948
|
const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
|
|
943
949
|
|
|
944
|
-
const _hoisted_1$
|
|
945
|
-
const _sfc_main$
|
|
950
|
+
const _hoisted_1$W = ["data-style"];
|
|
951
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
946
952
|
__name: "KdsLoadingSpinner",
|
|
947
953
|
props: {
|
|
948
954
|
size: { default: "medium" },
|
|
@@ -967,12 +973,12 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
967
973
|
cy: "60",
|
|
968
974
|
r: "50"
|
|
969
975
|
}, null, -1)
|
|
970
|
-
])], 10, _hoisted_1$
|
|
976
|
+
])], 10, _hoisted_1$W);
|
|
971
977
|
};
|
|
972
978
|
}
|
|
973
979
|
});
|
|
974
980
|
|
|
975
|
-
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
981
|
+
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-54835dc0"]]);
|
|
976
982
|
|
|
977
983
|
const kdsLoadingSpinnerVariant = {
|
|
978
984
|
ON_PRIMARY: "onPrimary",
|
|
@@ -982,14 +988,14 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
982
988
|
kdsLoadingSpinnerVariant
|
|
983
989
|
);
|
|
984
990
|
|
|
985
|
-
const _hoisted_1$
|
|
986
|
-
const _hoisted_2$
|
|
987
|
-
const _hoisted_3$
|
|
988
|
-
const _hoisted_4$
|
|
991
|
+
const _hoisted_1$V = ["role"];
|
|
992
|
+
const _hoisted_2$z = { class: "header" };
|
|
993
|
+
const _hoisted_3$r = { class: "headline" };
|
|
994
|
+
const _hoisted_4$n = {
|
|
989
995
|
key: 0,
|
|
990
996
|
class: "body"
|
|
991
997
|
};
|
|
992
|
-
const _sfc_main$
|
|
998
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
993
999
|
__name: "KdsInlineMessage",
|
|
994
1000
|
props: {
|
|
995
1001
|
headline: {},
|
|
@@ -1020,21 +1026,21 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1020
1026
|
class: normalizeClass(classes.value),
|
|
1021
1027
|
role: role.value
|
|
1022
1028
|
}, [
|
|
1023
|
-
createElementVNode("div", _hoisted_2$
|
|
1029
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
1024
1030
|
createVNode(KdsIcon, {
|
|
1025
1031
|
class: "icon",
|
|
1026
1032
|
name: iconName.value,
|
|
1027
1033
|
size: "small"
|
|
1028
1034
|
}, null, 8, ["name"]),
|
|
1029
|
-
createElementVNode("div", _hoisted_3$
|
|
1035
|
+
createElementVNode("div", _hoisted_3$r, toDisplayString(props.headline), 1)
|
|
1030
1036
|
]),
|
|
1031
|
-
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1032
|
-
], 10, _hoisted_1$
|
|
1037
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$n, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
1038
|
+
], 10, _hoisted_1$V);
|
|
1033
1039
|
};
|
|
1034
1040
|
}
|
|
1035
1041
|
});
|
|
1036
1042
|
|
|
1037
|
-
const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1043
|
+
const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-af14056f"]]);
|
|
1038
1044
|
|
|
1039
1045
|
const kdsInlineMessageVariant = {
|
|
1040
1046
|
ERROR: "error",
|
|
@@ -1044,11 +1050,11 @@ const kdsInlineMessageVariant = {
|
|
|
1044
1050
|
};
|
|
1045
1051
|
const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
1046
1052
|
|
|
1047
|
-
const _hoisted_1$
|
|
1048
|
-
const _hoisted_2$
|
|
1049
|
-
const _hoisted_3$
|
|
1050
|
-
const _hoisted_4$
|
|
1051
|
-
const _hoisted_5$
|
|
1053
|
+
const _hoisted_1$U = { class: "donut-container" };
|
|
1054
|
+
const _hoisted_2$y = ["height", "width", "viewBox"];
|
|
1055
|
+
const _hoisted_3$q = ["r", "stroke-width"];
|
|
1056
|
+
const _hoisted_4$m = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1057
|
+
const _hoisted_5$c = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1052
1058
|
const _hoisted_6$a = {
|
|
1053
1059
|
key: 0,
|
|
1054
1060
|
class: "donut-text"
|
|
@@ -1060,7 +1066,7 @@ const _hoisted_8$3 = {
|
|
|
1060
1066
|
};
|
|
1061
1067
|
const radius = 22;
|
|
1062
1068
|
const innerRadius = 10;
|
|
1063
|
-
const _sfc_main$
|
|
1069
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
1064
1070
|
__name: "KdsDonutChart",
|
|
1065
1071
|
props: {
|
|
1066
1072
|
value: {},
|
|
@@ -1104,7 +1110,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1104
1110
|
const transformWedge = computed(() => `rotate(-90, ${radius}, ${radius})`);
|
|
1105
1111
|
const disabled = computed(() => !Number.isFinite(__props.maxValue));
|
|
1106
1112
|
return (_ctx, _cache) => {
|
|
1107
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1113
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
1108
1114
|
(openBlock(), createElementBlock("svg", {
|
|
1109
1115
|
height: diameter.value,
|
|
1110
1116
|
width: diameter.value,
|
|
@@ -1118,7 +1124,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1118
1124
|
r: r.value,
|
|
1119
1125
|
"stroke-width": strokeWidth.value,
|
|
1120
1126
|
fill: "transparent"
|
|
1121
|
-
}, null, 8, _hoisted_3$
|
|
1127
|
+
}, null, 8, _hoisted_3$q),
|
|
1122
1128
|
__props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1123
1129
|
key: 0,
|
|
1124
1130
|
class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
|
|
@@ -1130,7 +1136,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1130
1136
|
"stroke-dashoffset": secondaryStrokeDashOffset.value,
|
|
1131
1137
|
fill: "transparent",
|
|
1132
1138
|
transform: transformWedge.value
|
|
1133
|
-
}, null, 10, _hoisted_4$
|
|
1139
|
+
}, null, 10, _hoisted_4$m)) : createCommentVNode("", true),
|
|
1134
1140
|
!disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1135
1141
|
key: 1,
|
|
1136
1142
|
class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
|
|
@@ -1142,8 +1148,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1142
1148
|
"stroke-dashoffset": strokeDashOffset.value,
|
|
1143
1149
|
fill: "transparent",
|
|
1144
1150
|
transform: transformWedge.value
|
|
1145
|
-
}, null, 10, _hoisted_5$
|
|
1146
|
-
], 8, _hoisted_2$
|
|
1151
|
+
}, null, 10, _hoisted_5$c)) : createCommentVNode("", true)
|
|
1152
|
+
], 8, _hoisted_2$y)),
|
|
1147
1153
|
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
1148
1154
|
createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
|
|
1149
1155
|
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
|
|
@@ -1153,22 +1159,22 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1153
1159
|
}
|
|
1154
1160
|
});
|
|
1155
1161
|
|
|
1156
|
-
const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1162
|
+
const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-f5faf61c"]]);
|
|
1157
1163
|
|
|
1158
|
-
const _sfc_main$
|
|
1164
|
+
const _sfc_main$1p = { };
|
|
1159
1165
|
|
|
1160
|
-
const _hoisted_1$
|
|
1166
|
+
const _hoisted_1$T = { class: "kds-divider" };
|
|
1161
1167
|
|
|
1162
1168
|
function _sfc_render(_ctx, _cache) {
|
|
1163
|
-
return (openBlock(), createElementBlock("hr", _hoisted_1$
|
|
1169
|
+
return (openBlock(), createElementBlock("hr", _hoisted_1$T))
|
|
1164
1170
|
}
|
|
1165
|
-
const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
1171
|
+
const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1p, [['render',_sfc_render],['__scopeId',"data-v-4d059bd3"]]);
|
|
1166
1172
|
|
|
1167
|
-
const _hoisted_1$
|
|
1173
|
+
const _hoisted_1$S = {
|
|
1168
1174
|
key: 0,
|
|
1169
1175
|
class: "label"
|
|
1170
1176
|
};
|
|
1171
|
-
const _sfc_main$
|
|
1177
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
1172
1178
|
__name: "BaseButton",
|
|
1173
1179
|
props: {
|
|
1174
1180
|
dataTestId: {},
|
|
@@ -1232,7 +1238,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1232
1238
|
size: iconSize.value
|
|
1233
1239
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
1234
1240
|
], true),
|
|
1235
|
-
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1241
|
+
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$S, toDisplayString(props.label), 1)) : createCommentVNode("", true),
|
|
1236
1242
|
props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
|
|
1237
1243
|
key: 1,
|
|
1238
1244
|
name: props.trailingIcon,
|
|
@@ -1245,9 +1251,9 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1245
1251
|
}
|
|
1246
1252
|
});
|
|
1247
1253
|
|
|
1248
|
-
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1254
|
+
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-190ac311"]]);
|
|
1249
1255
|
|
|
1250
|
-
const _sfc_main$
|
|
1256
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
1251
1257
|
__name: "KdsButton",
|
|
1252
1258
|
props: {
|
|
1253
1259
|
dataTestId: {},
|
|
@@ -1313,7 +1319,7 @@ function isExternalUrl(url) {
|
|
|
1313
1319
|
return true;
|
|
1314
1320
|
}
|
|
1315
1321
|
|
|
1316
|
-
const _sfc_main$
|
|
1322
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
1317
1323
|
__name: "KdsLinkButton",
|
|
1318
1324
|
props: {
|
|
1319
1325
|
dataTestId: {},
|
|
@@ -1543,12 +1549,12 @@ function prettyBytes(number, options) {
|
|
|
1543
1549
|
return applyFixedWidth(result, options.fixedWidth);
|
|
1544
1550
|
}
|
|
1545
1551
|
|
|
1546
|
-
const _hoisted_1$
|
|
1547
|
-
const _hoisted_2$
|
|
1552
|
+
const _hoisted_1$R = { class: "label" };
|
|
1553
|
+
const _hoisted_2$x = {
|
|
1548
1554
|
key: 1,
|
|
1549
1555
|
class: "file-size"
|
|
1550
1556
|
};
|
|
1551
|
-
const _sfc_main$
|
|
1557
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
1552
1558
|
__name: "KdsLink",
|
|
1553
1559
|
props: {
|
|
1554
1560
|
to: {},
|
|
@@ -1638,13 +1644,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1638
1644
|
onClick
|
|
1639
1645
|
}, {
|
|
1640
1646
|
default: withCtx(() => [
|
|
1641
|
-
createElementVNode("span", _hoisted_1$
|
|
1647
|
+
createElementVNode("span", _hoisted_1$R, toDisplayString(__props.label), 1),
|
|
1642
1648
|
variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
|
|
1643
1649
|
key: 0,
|
|
1644
1650
|
name: "external-link",
|
|
1645
1651
|
size: "xsmall"
|
|
1646
1652
|
})) : createCommentVNode("", true),
|
|
1647
|
-
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1653
|
+
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$x, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
|
|
1648
1654
|
]),
|
|
1649
1655
|
_: 1
|
|
1650
1656
|
}, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
|
|
@@ -1652,9 +1658,9 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1652
1658
|
}
|
|
1653
1659
|
});
|
|
1654
1660
|
|
|
1655
|
-
const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1661
|
+
const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-56e748a8"]]);
|
|
1656
1662
|
|
|
1657
|
-
const _sfc_main$
|
|
1663
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
1658
1664
|
__name: "KdsToggleButton",
|
|
1659
1665
|
props: /* @__PURE__ */ mergeModels({
|
|
1660
1666
|
dataTestId: {},
|
|
@@ -1691,9 +1697,9 @@ const kdsToggleButtonVariant = {
|
|
|
1691
1697
|
};
|
|
1692
1698
|
const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
1693
1699
|
|
|
1694
|
-
const _hoisted_1$
|
|
1695
|
-
const _hoisted_2$
|
|
1696
|
-
const _sfc_main$
|
|
1700
|
+
const _hoisted_1$Q = ["data-visible"];
|
|
1701
|
+
const _hoisted_2$w = ["data-visible"];
|
|
1702
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
1697
1703
|
__name: "KdsProgressButton",
|
|
1698
1704
|
props: /* @__PURE__ */ mergeModels({
|
|
1699
1705
|
dataTestId: {},
|
|
@@ -1755,7 +1761,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1755
1761
|
name: props.leadingIcon,
|
|
1756
1762
|
size: iconSize.value
|
|
1757
1763
|
}, null, 8, ["name", "size"])
|
|
1758
|
-
], 8, _hoisted_1$
|
|
1764
|
+
], 8, _hoisted_1$Q),
|
|
1759
1765
|
createElementVNode("span", {
|
|
1760
1766
|
class: "spinner",
|
|
1761
1767
|
"data-visible": state.value === "progress"
|
|
@@ -1764,7 +1770,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1764
1770
|
size: iconSize.value,
|
|
1765
1771
|
variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
|
|
1766
1772
|
}, null, 8, ["size", "variant"])
|
|
1767
|
-
], 8, _hoisted_2$
|
|
1773
|
+
], 8, _hoisted_2$w)
|
|
1768
1774
|
], 2)
|
|
1769
1775
|
]),
|
|
1770
1776
|
_: 1
|
|
@@ -1773,7 +1779,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1773
1779
|
}
|
|
1774
1780
|
});
|
|
1775
1781
|
|
|
1776
|
-
const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1782
|
+
const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-d38d7ade"]]);
|
|
1777
1783
|
|
|
1778
1784
|
const kdsProgressButtonState = {
|
|
1779
1785
|
DEFAULT: "default",
|
|
@@ -1997,7 +2003,7 @@ const useStableItemIds = (options) => {
|
|
|
1997
2003
|
return { itemsWithPrefix, idPrefix, toUnprefixedId };
|
|
1998
2004
|
};
|
|
1999
2005
|
|
|
2000
|
-
const _sfc_main$
|
|
2006
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
2001
2007
|
__name: "ListItemAccessory",
|
|
2002
2008
|
props: {
|
|
2003
2009
|
accessory: {},
|
|
@@ -2043,14 +2049,14 @@ const kdsListItemAccessorySize = {
|
|
|
2043
2049
|
LARGE: "large"
|
|
2044
2050
|
};
|
|
2045
2051
|
|
|
2046
|
-
const _hoisted_1$
|
|
2047
|
-
const _hoisted_2$
|
|
2052
|
+
const _hoisted_1$P = ["id", "role", "aria-selected", "aria-disabled"];
|
|
2053
|
+
const _hoisted_2$v = {
|
|
2048
2054
|
key: 0,
|
|
2049
2055
|
class: "accessory"
|
|
2050
2056
|
};
|
|
2051
|
-
const _hoisted_3$
|
|
2052
|
-
const _hoisted_4$
|
|
2053
|
-
const _hoisted_5$
|
|
2057
|
+
const _hoisted_3$p = { class: "content" };
|
|
2058
|
+
const _hoisted_4$l = ["title"];
|
|
2059
|
+
const _hoisted_5$b = {
|
|
2054
2060
|
key: 0,
|
|
2055
2061
|
class: "prefix"
|
|
2056
2062
|
};
|
|
@@ -2064,7 +2070,7 @@ const _hoisted_9$2 = {
|
|
|
2064
2070
|
key: 3,
|
|
2065
2071
|
class: "trailing-item-reserve-space"
|
|
2066
2072
|
};
|
|
2067
|
-
const _sfc_main$
|
|
2073
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
2068
2074
|
__name: "KdsListItem",
|
|
2069
2075
|
props: {
|
|
2070
2076
|
id: {},
|
|
@@ -2109,7 +2115,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2109
2115
|
id: props.id,
|
|
2110
2116
|
role: __props.role,
|
|
2111
2117
|
"aria-selected": __props.role === "option" ? __props.selected : void 0,
|
|
2112
|
-
"aria-disabled": __props.disabled,
|
|
2118
|
+
"aria-disabled": __props.role === "presentation" ? void 0 : __props.disabled,
|
|
2113
2119
|
class: normalizeClass([
|
|
2114
2120
|
"kds-list-item",
|
|
2115
2121
|
__props.variant,
|
|
@@ -2122,25 +2128,25 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2122
2128
|
]),
|
|
2123
2129
|
onClick
|
|
2124
2130
|
}, [
|
|
2125
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2126
|
-
createVNode(_sfc_main$
|
|
2131
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$v, [
|
|
2132
|
+
createVNode(_sfc_main$1i, {
|
|
2127
2133
|
accessory: props.accessory,
|
|
2128
2134
|
size: accessorySize.value,
|
|
2129
2135
|
disabled: __props.disabled
|
|
2130
2136
|
}, null, 8, ["accessory", "size", "disabled"])
|
|
2131
2137
|
])) : createCommentVNode("", true),
|
|
2132
|
-
createElementVNode("span", _hoisted_3$
|
|
2138
|
+
createElementVNode("span", _hoisted_3$p, [
|
|
2133
2139
|
createElementVNode("span", {
|
|
2134
2140
|
ref_key: "labelEl",
|
|
2135
2141
|
ref: labelEl,
|
|
2136
2142
|
class: "label",
|
|
2137
2143
|
title: unref(isLabelTruncated) ? props.text : void 0
|
|
2138
2144
|
}, [
|
|
2139
|
-
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
2145
|
+
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$b, "(Missing) ")) : createCommentVNode("", true),
|
|
2140
2146
|
createElementVNode("span", {
|
|
2141
2147
|
class: normalizeClass({ special: __props.special })
|
|
2142
2148
|
}, toDisplayString(props.text), 3)
|
|
2143
|
-
], 8, _hoisted_4$
|
|
2149
|
+
], 8, _hoisted_4$l),
|
|
2144
2150
|
props.subText ? (openBlock(), createElementBlock("span", {
|
|
2145
2151
|
key: 0,
|
|
2146
2152
|
ref_key: "subtextEl",
|
|
@@ -2163,20 +2169,20 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2163
2169
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
2164
2170
|
!props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
|
|
2165
2171
|
])
|
|
2166
|
-
], 10, _hoisted_1$
|
|
2172
|
+
], 10, _hoisted_1$P);
|
|
2167
2173
|
};
|
|
2168
2174
|
}
|
|
2169
2175
|
});
|
|
2170
2176
|
|
|
2171
|
-
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2177
|
+
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-a3d6c86f"]]);
|
|
2172
2178
|
|
|
2173
|
-
const _hoisted_1$
|
|
2174
|
-
const _hoisted_2$
|
|
2179
|
+
const _hoisted_1$O = { class: "kds-list-item-section-title" };
|
|
2180
|
+
const _hoisted_2$u = {
|
|
2175
2181
|
key: 0,
|
|
2176
2182
|
class: "icon"
|
|
2177
2183
|
};
|
|
2178
|
-
const _hoisted_3$
|
|
2179
|
-
const _sfc_main$
|
|
2184
|
+
const _hoisted_3$o = ["title"];
|
|
2185
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
2180
2186
|
__name: "ListItemSectionTitle",
|
|
2181
2187
|
props: {
|
|
2182
2188
|
label: {},
|
|
@@ -2187,8 +2193,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2187
2193
|
const labelEl = useTemplateRef("labelEl");
|
|
2188
2194
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
2189
2195
|
return (_ctx, _cache) => {
|
|
2190
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2191
|
-
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2196
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
2197
|
+
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$u, [
|
|
2192
2198
|
createVNode(KdsIcon, {
|
|
2193
2199
|
name: props.leadingIcon,
|
|
2194
2200
|
size: "small"
|
|
@@ -2199,15 +2205,15 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2199
2205
|
ref: labelEl,
|
|
2200
2206
|
class: "label",
|
|
2201
2207
|
title: unref(isTruncated) ? props.label : void 0
|
|
2202
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
2208
|
+
}, toDisplayString(props.label), 9, _hoisted_3$o)
|
|
2203
2209
|
]);
|
|
2204
2210
|
};
|
|
2205
2211
|
}
|
|
2206
2212
|
});
|
|
2207
2213
|
|
|
2208
|
-
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2214
|
+
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-5eeb1226"]]);
|
|
2209
2215
|
|
|
2210
|
-
const _sfc_main$
|
|
2216
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
2211
2217
|
__name: "KdsMenuItem",
|
|
2212
2218
|
props: {
|
|
2213
2219
|
item: {},
|
|
@@ -2216,7 +2222,70 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2216
2222
|
variant: {}
|
|
2217
2223
|
},
|
|
2218
2224
|
emits: ["click"],
|
|
2219
|
-
setup(__props) {
|
|
2225
|
+
setup(__props, { expose: __expose }) {
|
|
2226
|
+
const props = __props;
|
|
2227
|
+
const linkEl = useTemplateRef(
|
|
2228
|
+
"linkEl"
|
|
2229
|
+
);
|
|
2230
|
+
__expose({
|
|
2231
|
+
clickLink: () => {
|
|
2232
|
+
if (typeof props.item.to !== "string" || props.item.disabled) {
|
|
2233
|
+
return;
|
|
2234
|
+
}
|
|
2235
|
+
const ref = linkEl.value;
|
|
2236
|
+
if (!ref) {
|
|
2237
|
+
return;
|
|
2238
|
+
}
|
|
2239
|
+
const el = ref instanceof HTMLElement ? ref : ref.$el;
|
|
2240
|
+
el?.click();
|
|
2241
|
+
}
|
|
2242
|
+
});
|
|
2243
|
+
const isLink = computed(() => typeof props.item.to === "string");
|
|
2244
|
+
const isExternal = computed(
|
|
2245
|
+
() => typeof props.item.to === "string" && isExternalUrl(props.item.to)
|
|
2246
|
+
);
|
|
2247
|
+
const linkComponent = computed(() => {
|
|
2248
|
+
if (props.item.disabled) {
|
|
2249
|
+
return "span";
|
|
2250
|
+
}
|
|
2251
|
+
return resolveNuxtLinkComponent();
|
|
2252
|
+
});
|
|
2253
|
+
const effectiveTarget = computed(() => {
|
|
2254
|
+
if (!isLink.value) {
|
|
2255
|
+
return void 0;
|
|
2256
|
+
}
|
|
2257
|
+
const target = props.item.target;
|
|
2258
|
+
return target ?? (isExternal.value ? "_blank" : void 0);
|
|
2259
|
+
});
|
|
2260
|
+
const effectiveRel = computed(() => {
|
|
2261
|
+
if (!isLink.value) {
|
|
2262
|
+
return void 0;
|
|
2263
|
+
}
|
|
2264
|
+
const rel = props.item.rel;
|
|
2265
|
+
if (effectiveTarget.value !== "_blank") {
|
|
2266
|
+
return rel ?? void 0;
|
|
2267
|
+
}
|
|
2268
|
+
if (!rel) {
|
|
2269
|
+
return "noopener noreferrer";
|
|
2270
|
+
}
|
|
2271
|
+
const relTokens = rel.split(/\s+/).filter(Boolean);
|
|
2272
|
+
if (!relTokens.includes("noopener")) {
|
|
2273
|
+
relTokens.push("noopener");
|
|
2274
|
+
}
|
|
2275
|
+
if (!relTokens.includes("noreferrer")) {
|
|
2276
|
+
relTokens.push("noreferrer");
|
|
2277
|
+
}
|
|
2278
|
+
return relTokens.join(" ");
|
|
2279
|
+
});
|
|
2280
|
+
const effectiveTrailingIcon = computed(() => {
|
|
2281
|
+
if (isExternal.value && !props.item.shortcut && !props.item.badge) {
|
|
2282
|
+
return "external-link";
|
|
2283
|
+
}
|
|
2284
|
+
return void 0;
|
|
2285
|
+
});
|
|
2286
|
+
const effectiveTo = computed(
|
|
2287
|
+
() => props.item.disabled ? void 0 : props.item.to
|
|
2288
|
+
);
|
|
2220
2289
|
return (_ctx, _cache) => {
|
|
2221
2290
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2222
2291
|
__props.item.sectionHeadline ? (openBlock(), createBlock(unref(ListItemSectionTitle), mergeProps({
|
|
@@ -2225,9 +2294,42 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2225
2294
|
"leading-icon": __props.item.sectionHeadlineIcon,
|
|
2226
2295
|
role: "presentation",
|
|
2227
2296
|
"aria-hidden": "true"
|
|
2228
|
-
}, _ctx.$attrs), null, 16, ["label", "leading-icon"])) : (openBlock(), createBlock(
|
|
2297
|
+
}, _ctx.$attrs), null, 16, ["label", "leading-icon"])) : isLink.value ? (openBlock(), createBlock(resolveDynamicComponent(linkComponent.value), {
|
|
2229
2298
|
key: 1,
|
|
2230
2299
|
id: __props.item.id,
|
|
2300
|
+
ref_key: "linkEl",
|
|
2301
|
+
ref: linkEl,
|
|
2302
|
+
to: effectiveTo.value,
|
|
2303
|
+
download: __props.item.disabled ? void 0 : __props.item.download,
|
|
2304
|
+
target: effectiveTarget.value,
|
|
2305
|
+
rel: effectiveRel.value,
|
|
2306
|
+
"aria-disabled": __props.item.disabled ? "true" : void 0,
|
|
2307
|
+
tabindex: "-1",
|
|
2308
|
+
role: "menuitem",
|
|
2309
|
+
class: "kds-menu-item-link",
|
|
2310
|
+
onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
2311
|
+
}, ["prevent"])),
|
|
2312
|
+
onClick: _cache[1] || (_cache[1] = ($event) => !__props.item.disabled && _ctx.$emit("click", $event))
|
|
2313
|
+
}, {
|
|
2314
|
+
default: withCtx(() => [
|
|
2315
|
+
createVNode(unref(KdsListItem), mergeProps({
|
|
2316
|
+
id: `${__props.item.id}-content`,
|
|
2317
|
+
accessory: __props.item.accessory,
|
|
2318
|
+
text: __props.item.text,
|
|
2319
|
+
"sub-text": __props.item.subText,
|
|
2320
|
+
disabled: __props.item.disabled,
|
|
2321
|
+
active: __props.activeId === __props.item.id,
|
|
2322
|
+
variant: __props.variant,
|
|
2323
|
+
badge: __props.item.badge,
|
|
2324
|
+
shortcut: __props.item.shortcut,
|
|
2325
|
+
"trailing-icon": effectiveTrailingIcon.value,
|
|
2326
|
+
role: "presentation"
|
|
2327
|
+
}, _ctx.$attrs), null, 16, ["id", "accessory", "text", "sub-text", "disabled", "active", "variant", "badge", "shortcut", "trailing-icon"])
|
|
2328
|
+
]),
|
|
2329
|
+
_: 1
|
|
2330
|
+
}, 40, ["id", "to", "download", "target", "rel", "aria-disabled"])) : (openBlock(), createBlock(unref(KdsListItem), mergeProps({
|
|
2331
|
+
key: 2,
|
|
2332
|
+
id: __props.item.id,
|
|
2231
2333
|
accessory: __props.item.accessory,
|
|
2232
2334
|
text: __props.item.text,
|
|
2233
2335
|
"sub-text": __props.item.subText,
|
|
@@ -2238,10 +2340,10 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2238
2340
|
shortcut: __props.item.shortcut,
|
|
2239
2341
|
role: "menuitem"
|
|
2240
2342
|
}, _ctx.$attrs, {
|
|
2241
|
-
onClick: _cache[
|
|
2343
|
+
onClick: _cache[2] || (_cache[2] = ($event) => !__props.item.disabled && _ctx.$emit("click", $event))
|
|
2242
2344
|
}), null, 16, ["id", "accessory", "text", "sub-text", "disabled", "active", "variant", "badge", "shortcut"])),
|
|
2243
2345
|
__props.item.separator && !__props.isLast ? (openBlock(), createBlock(unref(KdsDivider), {
|
|
2244
|
-
key:
|
|
2346
|
+
key: 3,
|
|
2245
2347
|
class: "kds-list-item-divider",
|
|
2246
2348
|
role: "presentation",
|
|
2247
2349
|
"aria-hidden": "true"
|
|
@@ -2251,8 +2353,10 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2251
2353
|
}
|
|
2252
2354
|
});
|
|
2253
2355
|
|
|
2254
|
-
const
|
|
2255
|
-
|
|
2356
|
+
const KdsMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-00c46d78"]]);
|
|
2357
|
+
|
|
2358
|
+
const _hoisted_1$N = ["id", "aria-label", "aria-activedescendant"];
|
|
2359
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2256
2360
|
__name: "KdsMenuContainer",
|
|
2257
2361
|
props: {
|
|
2258
2362
|
id: {},
|
|
@@ -2275,8 +2379,18 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2275
2379
|
const enabledItems = computed(
|
|
2276
2380
|
() => selectableItems.value.filter((item) => !item.disabled)
|
|
2277
2381
|
);
|
|
2382
|
+
const containerEl = useTemplateRef("containerEl");
|
|
2383
|
+
const itemRefs = ref([]);
|
|
2384
|
+
const setItemRef = (el, index) => {
|
|
2385
|
+
if (el) {
|
|
2386
|
+
itemRefs.value[index] = el;
|
|
2387
|
+
}
|
|
2388
|
+
};
|
|
2278
2389
|
const handleItemInteraction = (item, event) => {
|
|
2279
2390
|
const id = toUnprefixedId(item?.id);
|
|
2391
|
+
if (!id) {
|
|
2392
|
+
return;
|
|
2393
|
+
}
|
|
2280
2394
|
const originalItem = props.items.find((i) => i.id === id);
|
|
2281
2395
|
try {
|
|
2282
2396
|
originalItem?.handler?.(originalItem, event);
|
|
@@ -2285,7 +2399,19 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2285
2399
|
}
|
|
2286
2400
|
emit("itemClick", id);
|
|
2287
2401
|
};
|
|
2288
|
-
const
|
|
2402
|
+
const onKeyboardActivate = (item, event) => {
|
|
2403
|
+
const id = toUnprefixedId(item?.id);
|
|
2404
|
+
if (!id) {
|
|
2405
|
+
return;
|
|
2406
|
+
}
|
|
2407
|
+
const originalItem = props.items.find((i) => i.id === id);
|
|
2408
|
+
if (originalItem?.to && !originalItem.disabled) {
|
|
2409
|
+
const idx = itemsWithPrefix.value.findIndex((i) => i.id === item?.id);
|
|
2410
|
+
itemRefs.value?.[idx]?.clickLink();
|
|
2411
|
+
return;
|
|
2412
|
+
}
|
|
2413
|
+
handleItemInteraction(item, event);
|
|
2414
|
+
};
|
|
2289
2415
|
const { activeId } = useListItemKeyboardNav({
|
|
2290
2416
|
containerEl,
|
|
2291
2417
|
enabledItems,
|
|
@@ -2293,10 +2419,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2293
2419
|
itemFocusStrategy: __props.itemFocusStrategy,
|
|
2294
2420
|
triggers: {
|
|
2295
2421
|
onEnter: (_activeId, item, event) => {
|
|
2296
|
-
|
|
2422
|
+
onKeyboardActivate(item, event);
|
|
2297
2423
|
},
|
|
2298
2424
|
onSpace: (_activeId, item, event) => {
|
|
2299
|
-
|
|
2425
|
+
onKeyboardActivate(item, event);
|
|
2300
2426
|
}
|
|
2301
2427
|
}
|
|
2302
2428
|
});
|
|
@@ -2322,8 +2448,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2322
2448
|
"aria-activedescendant": unref(activeId)
|
|
2323
2449
|
}, [
|
|
2324
2450
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(itemsWithPrefix), (item, index) => {
|
|
2325
|
-
return openBlock(), createBlock(
|
|
2451
|
+
return openBlock(), createBlock(KdsMenuItem, {
|
|
2326
2452
|
key: item.id,
|
|
2453
|
+
ref_for: true,
|
|
2454
|
+
ref: (el) => setItemRef(el, index),
|
|
2327
2455
|
item,
|
|
2328
2456
|
"is-last": index === unref(itemsWithPrefix).length - 1,
|
|
2329
2457
|
"active-id": unref(activeId),
|
|
@@ -2331,12 +2459,12 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2331
2459
|
onClick: ($event) => handleItemInteraction(item, $event)
|
|
2332
2460
|
}, null, 8, ["item", "is-last", "active-id", "variant", "onClick"]);
|
|
2333
2461
|
}), 128))
|
|
2334
|
-
], 12, _hoisted_1$
|
|
2462
|
+
], 12, _hoisted_1$N);
|
|
2335
2463
|
};
|
|
2336
2464
|
}
|
|
2337
2465
|
});
|
|
2338
2466
|
|
|
2339
|
-
const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2467
|
+
const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-cce3fc40"]]);
|
|
2340
2468
|
|
|
2341
2469
|
const kdsPopoverPlacement = {
|
|
2342
2470
|
CUSTOM: "custom"
|
|
@@ -2344,12 +2472,12 @@ const kdsPopoverPlacement = {
|
|
|
2344
2472
|
const kdsPopoverType = {
|
|
2345
2473
|
AUTO: "auto"};
|
|
2346
2474
|
|
|
2347
|
-
const _hoisted_1$
|
|
2348
|
-
const _hoisted_2$
|
|
2475
|
+
const _hoisted_1$M = ["id", "popover", "role"];
|
|
2476
|
+
const _hoisted_2$t = {
|
|
2349
2477
|
key: 0,
|
|
2350
2478
|
class: "kds-popover-default-content"
|
|
2351
2479
|
};
|
|
2352
|
-
const _sfc_main$
|
|
2480
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
2353
2481
|
__name: "KdsPopover",
|
|
2354
2482
|
props: /* @__PURE__ */ mergeModels({
|
|
2355
2483
|
role: {},
|
|
@@ -2407,21 +2535,21 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
2407
2535
|
onToggle
|
|
2408
2536
|
}, [
|
|
2409
2537
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2410
|
-
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2538
|
+
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(props.content), 1)) : createCommentVNode("", true)
|
|
2411
2539
|
], true)
|
|
2412
|
-
], 46, _hoisted_1$
|
|
2540
|
+
], 46, _hoisted_1$M);
|
|
2413
2541
|
};
|
|
2414
2542
|
}
|
|
2415
2543
|
});
|
|
2416
2544
|
|
|
2417
|
-
const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2545
|
+
const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-1e5f9d24"]]);
|
|
2418
2546
|
|
|
2419
2547
|
const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2420
2548
|
__proto__: null,
|
|
2421
2549
|
default: KdsPopover
|
|
2422
2550
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2423
2551
|
|
|
2424
|
-
const _sfc_main$
|
|
2552
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
2425
2553
|
...{
|
|
2426
2554
|
inheritAttrs: false
|
|
2427
2555
|
},
|
|
@@ -2472,7 +2600,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
2472
2600
|
__expose({ menuButtonEl });
|
|
2473
2601
|
return (_ctx, _cache) => {
|
|
2474
2602
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2475
|
-
createVNode(_sfc_main$
|
|
2603
|
+
createVNode(_sfc_main$1k, mergeProps({
|
|
2476
2604
|
ref: "menuButton",
|
|
2477
2605
|
modelValue: isMenuOpen.value,
|
|
2478
2606
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event)
|
|
@@ -2505,7 +2633,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
2505
2633
|
}
|
|
2506
2634
|
});
|
|
2507
2635
|
|
|
2508
|
-
const _sfc_main$
|
|
2636
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
2509
2637
|
__name: "KdsSplitButton",
|
|
2510
2638
|
props: {
|
|
2511
2639
|
dataTestId: {},
|
|
@@ -2593,7 +2721,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
2593
2721
|
}
|
|
2594
2722
|
});
|
|
2595
2723
|
|
|
2596
|
-
const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2724
|
+
const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-8f48b87a"]]);
|
|
2597
2725
|
|
|
2598
2726
|
const kdsButtonSize = {
|
|
2599
2727
|
XSMALL: "xsmall",
|
|
@@ -2609,17 +2737,17 @@ const kdsButtonVariant = {
|
|
|
2609
2737
|
};
|
|
2610
2738
|
const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
2611
2739
|
|
|
2612
|
-
const _hoisted_1$
|
|
2613
|
-
const _hoisted_2$
|
|
2614
|
-
const _hoisted_3$
|
|
2740
|
+
const _hoisted_1$L = ["aria-disabled"];
|
|
2741
|
+
const _hoisted_2$s = { class: "kds-empty-state-headline" };
|
|
2742
|
+
const _hoisted_3$n = {
|
|
2615
2743
|
key: 1,
|
|
2616
2744
|
class: "kds-empty-state-description"
|
|
2617
2745
|
};
|
|
2618
|
-
const _hoisted_4$
|
|
2746
|
+
const _hoisted_4$k = {
|
|
2619
2747
|
key: 2,
|
|
2620
2748
|
class: "kds-empty-state-action"
|
|
2621
2749
|
};
|
|
2622
|
-
const _sfc_main$
|
|
2750
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
2623
2751
|
__name: "KdsEmptyState",
|
|
2624
2752
|
props: {
|
|
2625
2753
|
headline: {},
|
|
@@ -2637,13 +2765,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2637
2765
|
() => props.button && "to" in props.button && props.button.to !== void 0
|
|
2638
2766
|
);
|
|
2639
2767
|
const buttonComponent = computed(
|
|
2640
|
-
() => isLinkButton.value ? _sfc_main$
|
|
2768
|
+
() => isLinkButton.value ? _sfc_main$1m : _sfc_main$1n
|
|
2641
2769
|
);
|
|
2642
2770
|
const isSecondaryLinkButton = computed(
|
|
2643
2771
|
() => props.secondaryButton && "to" in props.secondaryButton && props.secondaryButton.to !== void 0
|
|
2644
2772
|
);
|
|
2645
2773
|
const secondaryButtonComponent = computed(
|
|
2646
|
-
() => isSecondaryLinkButton.value ? _sfc_main$
|
|
2774
|
+
() => isSecondaryLinkButton.value ? _sfc_main$1m : _sfc_main$1n
|
|
2647
2775
|
);
|
|
2648
2776
|
return (_ctx, _cache) => {
|
|
2649
2777
|
return openBlock(), createElementBlock("div", {
|
|
@@ -2657,9 +2785,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2657
2785
|
variant: "onSurface",
|
|
2658
2786
|
"aria-hidden": "true"
|
|
2659
2787
|
})) : createCommentVNode("", true),
|
|
2660
|
-
createElementVNode("p", _hoisted_2$
|
|
2661
|
-
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
2662
|
-
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2788
|
+
createElementVNode("p", _hoisted_2$s, toDisplayString(props.headline), 1),
|
|
2789
|
+
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$n, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
2790
|
+
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
|
|
2663
2791
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
2664
2792
|
disabled: props.button?.disabled || __props.disabled,
|
|
2665
2793
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
|
|
@@ -2669,16 +2797,16 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2669
2797
|
onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
|
|
2670
2798
|
}), null, 16, ["disabled"])) : createCommentVNode("", true)
|
|
2671
2799
|
])) : createCommentVNode("", true)
|
|
2672
|
-
], 10, _hoisted_1$
|
|
2800
|
+
], 10, _hoisted_1$L);
|
|
2673
2801
|
};
|
|
2674
2802
|
}
|
|
2675
2803
|
});
|
|
2676
2804
|
|
|
2677
|
-
const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2805
|
+
const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-e913660a"]]);
|
|
2678
2806
|
|
|
2679
|
-
const _hoisted_1$
|
|
2807
|
+
const _hoisted_1$K = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
|
|
2680
2808
|
const loadingStateText = "Loading entries";
|
|
2681
|
-
const _sfc_main$
|
|
2809
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2682
2810
|
__name: "KdsListContainer",
|
|
2683
2811
|
props: {
|
|
2684
2812
|
possibleValues: {},
|
|
@@ -2801,19 +2929,19 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2801
2929
|
"loading-spinner": __props.loading
|
|
2802
2930
|
}, null, 8, ["headline", "loading-spinner"])
|
|
2803
2931
|
])) : createCommentVNode("", true)
|
|
2804
|
-
], 16, _hoisted_1$
|
|
2932
|
+
], 16, _hoisted_1$K);
|
|
2805
2933
|
};
|
|
2806
2934
|
}
|
|
2807
2935
|
});
|
|
2808
2936
|
|
|
2809
|
-
const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2937
|
+
const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-118706ad"]]);
|
|
2810
2938
|
|
|
2811
2939
|
const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
2812
2940
|
__proto__: null,
|
|
2813
2941
|
default: KdsListContainer
|
|
2814
2942
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
2815
2943
|
|
|
2816
|
-
const _sfc_main$
|
|
2944
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
2817
2945
|
...{ inheritAttrs: false },
|
|
2818
2946
|
__name: "KdsMenu",
|
|
2819
2947
|
props: {
|
|
@@ -2902,7 +3030,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
2902
3030
|
}
|
|
2903
3031
|
});
|
|
2904
3032
|
|
|
2905
|
-
const _sfc_main$
|
|
3033
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2906
3034
|
...{ inheritAttrs: false },
|
|
2907
3035
|
__name: "KdsContextMenu",
|
|
2908
3036
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2962,14 +3090,14 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2962
3090
|
}
|
|
2963
3091
|
});
|
|
2964
3092
|
|
|
2965
|
-
const _hoisted_1$
|
|
2966
|
-
const _hoisted_2$
|
|
2967
|
-
const _hoisted_3$
|
|
2968
|
-
const _hoisted_4$
|
|
2969
|
-
const _hoisted_5$
|
|
3093
|
+
const _hoisted_1$J = { class: "kds-preview-list" };
|
|
3094
|
+
const _hoisted_2$r = { class: "kds-preview-list-title-row" };
|
|
3095
|
+
const _hoisted_3$m = { class: "kds-preview-list-content" };
|
|
3096
|
+
const _hoisted_4$j = { class: "kds-preview-list-headline" };
|
|
3097
|
+
const _hoisted_5$a = ["aria-label"];
|
|
2970
3098
|
const _hoisted_6$8 = { class: "kds-preview-list-show-hide" };
|
|
2971
3099
|
const DEFAULT_MAX_VISIBLE_ITEMS = 6;
|
|
2972
|
-
const _sfc_main$
|
|
3100
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
2973
3101
|
__name: "KdsPreviewList",
|
|
2974
3102
|
props: /* @__PURE__ */ mergeModels({
|
|
2975
3103
|
headline: {},
|
|
@@ -3003,8 +3131,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3003
3131
|
})
|
|
3004
3132
|
);
|
|
3005
3133
|
return (_ctx, _cache) => {
|
|
3006
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
3007
|
-
createElementVNode("header", _hoisted_2$
|
|
3134
|
+
return openBlock(), createElementBlock("section", _hoisted_1$J, [
|
|
3135
|
+
createElementVNode("header", _hoisted_2$r, [
|
|
3008
3136
|
__props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
3009
3137
|
key: 0,
|
|
3010
3138
|
size: "small",
|
|
@@ -3014,10 +3142,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3014
3142
|
name: __props.leadingIcon,
|
|
3015
3143
|
size: "small"
|
|
3016
3144
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
3017
|
-
createElementVNode("div", _hoisted_3$
|
|
3018
|
-
createElementVNode("span", _hoisted_4$
|
|
3145
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
3146
|
+
createElementVNode("span", _hoisted_4$j, toDisplayString(props.headline), 1)
|
|
3019
3147
|
]),
|
|
3020
|
-
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$
|
|
3148
|
+
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$1n, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
|
|
3021
3149
|
]),
|
|
3022
3150
|
withDirectives(createElementVNode("div", {
|
|
3023
3151
|
id: bodyId,
|
|
@@ -3050,12 +3178,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3050
3178
|
}, ["stop"]))
|
|
3051
3179
|
}, null, 8, ["id", "text", "accessory"]);
|
|
3052
3180
|
}), 128))
|
|
3053
|
-
], 8, _hoisted_5$
|
|
3181
|
+
], 8, _hoisted_5$a)) : createCommentVNode("", true)
|
|
3054
3182
|
], 512), [
|
|
3055
3183
|
[vShow, expanded.value]
|
|
3056
3184
|
]),
|
|
3057
3185
|
createElementVNode("footer", _hoisted_6$8, [
|
|
3058
|
-
createVNode(_sfc_main$
|
|
3186
|
+
createVNode(_sfc_main$1n, {
|
|
3059
3187
|
class: "kds-preview-list-toggle",
|
|
3060
3188
|
label: expanded.value ? "Hide all" : "Show all",
|
|
3061
3189
|
"trailing-icon": expanded.value ? "chevron-up" : "chevron-down",
|
|
@@ -3071,11 +3199,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3071
3199
|
}
|
|
3072
3200
|
});
|
|
3073
3201
|
|
|
3074
|
-
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3202
|
+
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-a11103f6"]]);
|
|
3075
3203
|
|
|
3076
|
-
const _hoisted_1$
|
|
3077
|
-
const _hoisted_2$
|
|
3078
|
-
const _sfc_main$
|
|
3204
|
+
const _hoisted_1$I = { class: "kds-label-wrapper" };
|
|
3205
|
+
const _hoisted_2$q = ["id", "for", "title"];
|
|
3206
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3079
3207
|
__name: "KdsLabel",
|
|
3080
3208
|
props: {
|
|
3081
3209
|
label: {},
|
|
@@ -3092,7 +3220,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3092
3220
|
const labelEl = useTemplateRef("labelEl");
|
|
3093
3221
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
3094
3222
|
return (_ctx, _cache) => {
|
|
3095
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3223
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
3096
3224
|
createElementVNode("label", {
|
|
3097
3225
|
id: props.id,
|
|
3098
3226
|
ref_key: "labelEl",
|
|
@@ -3100,7 +3228,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3100
3228
|
for: props.for,
|
|
3101
3229
|
class: "label",
|
|
3102
3230
|
title: unref(isTruncated) ? props.label : void 0
|
|
3103
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
3231
|
+
}, toDisplayString(props.label), 9, _hoisted_2$q),
|
|
3104
3232
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3105
3233
|
key: 0,
|
|
3106
3234
|
content: props.description,
|
|
@@ -3111,11 +3239,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3111
3239
|
}
|
|
3112
3240
|
});
|
|
3113
3241
|
|
|
3114
|
-
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3242
|
+
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-efe3313e"]]);
|
|
3115
3243
|
|
|
3116
|
-
const _hoisted_1$
|
|
3117
|
-
const _hoisted_2$
|
|
3118
|
-
const _sfc_main$
|
|
3244
|
+
const _hoisted_1$H = ["id"];
|
|
3245
|
+
const _hoisted_2$p = { class: "subtext-text" };
|
|
3246
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3119
3247
|
__name: "KdsSubText",
|
|
3120
3248
|
props: {
|
|
3121
3249
|
id: {},
|
|
@@ -3146,27 +3274,27 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3146
3274
|
variant: "onSurface",
|
|
3147
3275
|
"aria-hidden": "true"
|
|
3148
3276
|
})) : createCommentVNode("", true),
|
|
3149
|
-
createElementVNode("span", _hoisted_2$
|
|
3150
|
-
], 10, _hoisted_1$
|
|
3277
|
+
createElementVNode("span", _hoisted_2$p, toDisplayString(props.subText), 1)
|
|
3278
|
+
], 10, _hoisted_1$H)) : createCommentVNode("", true);
|
|
3151
3279
|
};
|
|
3152
3280
|
}
|
|
3153
3281
|
});
|
|
3154
3282
|
|
|
3155
|
-
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3283
|
+
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-2e6ba10c"]]);
|
|
3156
3284
|
|
|
3157
|
-
const _hoisted_1$
|
|
3158
|
-
const _hoisted_2$
|
|
3159
|
-
const _hoisted_3$
|
|
3285
|
+
const _hoisted_1$G = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
3286
|
+
const _hoisted_2$o = { class: "control" };
|
|
3287
|
+
const _hoisted_3$l = {
|
|
3160
3288
|
key: 0,
|
|
3161
3289
|
class: "content"
|
|
3162
3290
|
};
|
|
3163
|
-
const _hoisted_4$
|
|
3164
|
-
const _hoisted_5$
|
|
3291
|
+
const _hoisted_4$i = { class: "label" };
|
|
3292
|
+
const _hoisted_5$9 = ["id"];
|
|
3165
3293
|
const _hoisted_6$7 = {
|
|
3166
3294
|
key: 0,
|
|
3167
3295
|
class: "subtext-wrapper"
|
|
3168
3296
|
};
|
|
3169
|
-
const _sfc_main$
|
|
3297
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3170
3298
|
__name: "BaseCheckbox",
|
|
3171
3299
|
props: /* @__PURE__ */ mergeModels({
|
|
3172
3300
|
disabled: { type: Boolean, default: false },
|
|
@@ -3239,7 +3367,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3239
3367
|
role: "checkbox",
|
|
3240
3368
|
onClick: handleClick
|
|
3241
3369
|
}, [
|
|
3242
|
-
createElementVNode("div", _hoisted_2$
|
|
3370
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
3243
3371
|
icon.value ? (openBlock(), createBlock(KdsIcon, {
|
|
3244
3372
|
key: 0,
|
|
3245
3373
|
name: icon.value,
|
|
@@ -3247,15 +3375,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3247
3375
|
size: "xsmall"
|
|
3248
3376
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
3249
3377
|
]),
|
|
3250
|
-
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3251
|
-
createElementVNode("div", _hoisted_4$
|
|
3378
|
+
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
3379
|
+
createElementVNode("div", _hoisted_4$i, toDisplayString(props.label), 1),
|
|
3252
3380
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3253
3381
|
key: 0,
|
|
3254
3382
|
id: unref(helperId),
|
|
3255
3383
|
class: "helper-text"
|
|
3256
|
-
}, toDisplayString(props.helperText), 9, _hoisted_5$
|
|
3384
|
+
}, toDisplayString(props.helperText), 9, _hoisted_5$9)) : createCommentVNode("", true)
|
|
3257
3385
|
])) : createCommentVNode("", true)
|
|
3258
|
-
], 10, _hoisted_1$
|
|
3386
|
+
], 10, _hoisted_1$G),
|
|
3259
3387
|
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
3260
3388
|
createVNode(KdsSubText, {
|
|
3261
3389
|
id: unref(descriptionId),
|
|
@@ -3269,9 +3397,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3269
3397
|
}
|
|
3270
3398
|
});
|
|
3271
3399
|
|
|
3272
|
-
const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3400
|
+
const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-7bfc5667"]]);
|
|
3273
3401
|
|
|
3274
|
-
const _sfc_main$
|
|
3402
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3275
3403
|
__name: "KdsCheckbox",
|
|
3276
3404
|
props: /* @__PURE__ */ mergeModels({
|
|
3277
3405
|
disabled: { type: Boolean, default: false },
|
|
@@ -3301,11 +3429,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3301
3429
|
}
|
|
3302
3430
|
});
|
|
3303
3431
|
|
|
3304
|
-
const _hoisted_1$
|
|
3305
|
-
const _hoisted_2$
|
|
3306
|
-
const _hoisted_3$
|
|
3307
|
-
const _hoisted_4$
|
|
3308
|
-
const _sfc_main
|
|
3432
|
+
const _hoisted_1$F = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
3433
|
+
const _hoisted_2$n = ["id"];
|
|
3434
|
+
const _hoisted_3$k = ["title"];
|
|
3435
|
+
const _hoisted_4$h = { class: "kds-fieldset-content" };
|
|
3436
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
3309
3437
|
__name: "BaseFieldsetWrapper",
|
|
3310
3438
|
props: {
|
|
3311
3439
|
id: {},
|
|
@@ -3351,14 +3479,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3351
3479
|
ref: legendTextEl,
|
|
3352
3480
|
class: "legend-text",
|
|
3353
3481
|
title: unref(isTruncated) ? props.label : void 0
|
|
3354
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
3482
|
+
}, toDisplayString(props.label), 9, _hoisted_3$k),
|
|
3355
3483
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3356
3484
|
key: 0,
|
|
3357
3485
|
content: props.description,
|
|
3358
3486
|
hidden: !isHovered.value
|
|
3359
3487
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
3360
|
-
], 8, _hoisted_2$
|
|
3361
|
-
createElementVNode("div", _hoisted_4$
|
|
3488
|
+
], 8, _hoisted_2$n)) : createCommentVNode("", true),
|
|
3489
|
+
createElementVNode("div", _hoisted_4$h, [
|
|
3362
3490
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3363
3491
|
]),
|
|
3364
3492
|
createVNode(KdsSubText, {
|
|
@@ -3368,14 +3496,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3368
3496
|
validating: props.validating,
|
|
3369
3497
|
"preserve-sub-text-space": props.preserveSubTextSpace
|
|
3370
3498
|
}, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
|
|
3371
|
-
], 40, _hoisted_1$
|
|
3499
|
+
], 40, _hoisted_1$F);
|
|
3372
3500
|
};
|
|
3373
3501
|
}
|
|
3374
3502
|
});
|
|
3375
3503
|
|
|
3376
|
-
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
3504
|
+
const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-a44731da"]]);
|
|
3377
3505
|
|
|
3378
|
-
const _sfc_main$
|
|
3506
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
3379
3507
|
__name: "KdsCheckboxGroup",
|
|
3380
3508
|
props: /* @__PURE__ */ mergeModels({
|
|
3381
3509
|
id: {},
|
|
@@ -3454,7 +3582,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
3454
3582
|
}
|
|
3455
3583
|
});
|
|
3456
3584
|
|
|
3457
|
-
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3585
|
+
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-c6536296"]]);
|
|
3458
3586
|
|
|
3459
3587
|
const kdsCheckboxGroupAlignment = {
|
|
3460
3588
|
VERTICAL: "vertical",
|
|
@@ -3470,19 +3598,19 @@ const kdsCheckboxValue = {
|
|
|
3470
3598
|
};
|
|
3471
3599
|
const kdsCheckboxValues = Object.values(kdsCheckboxValue);
|
|
3472
3600
|
|
|
3473
|
-
const _hoisted_1$
|
|
3474
|
-
const _hoisted_2$
|
|
3475
|
-
const _hoisted_3$
|
|
3601
|
+
const _hoisted_1$E = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
|
|
3602
|
+
const _hoisted_2$m = { class: "control" };
|
|
3603
|
+
const _hoisted_3$j = {
|
|
3476
3604
|
key: 0,
|
|
3477
3605
|
class: "dot",
|
|
3478
3606
|
viewBox: "0 0 2 2",
|
|
3479
3607
|
"aria-hidden": "true",
|
|
3480
3608
|
focusable: "false"
|
|
3481
3609
|
};
|
|
3482
|
-
const _hoisted_4$
|
|
3483
|
-
const _hoisted_5$
|
|
3610
|
+
const _hoisted_4$g = { class: "content" };
|
|
3611
|
+
const _hoisted_5$8 = { class: "label" };
|
|
3484
3612
|
const _hoisted_6$6 = ["id"];
|
|
3485
|
-
const _sfc_main
|
|
3613
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3486
3614
|
__name: "KdsRadioButton",
|
|
3487
3615
|
props: /* @__PURE__ */ mergeModels({
|
|
3488
3616
|
text: {},
|
|
@@ -3522,8 +3650,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3522
3650
|
type: "button",
|
|
3523
3651
|
onClick: handleClick
|
|
3524
3652
|
}, [
|
|
3525
|
-
createElementVNode("div", _hoisted_2$
|
|
3526
|
-
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
3653
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
3654
|
+
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$j, [..._cache[0] || (_cache[0] = [
|
|
3527
3655
|
createElementVNode("circle", {
|
|
3528
3656
|
cx: "1",
|
|
3529
3657
|
cy: "1",
|
|
@@ -3531,20 +3659,20 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3531
3659
|
}, null, -1)
|
|
3532
3660
|
])])) : createCommentVNode("", true)
|
|
3533
3661
|
]),
|
|
3534
|
-
createElementVNode("div", _hoisted_4$
|
|
3535
|
-
createElementVNode("div", _hoisted_5$
|
|
3662
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
3663
|
+
createElementVNode("div", _hoisted_5$8, toDisplayString(props.text), 1),
|
|
3536
3664
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3537
3665
|
key: 0,
|
|
3538
3666
|
id: `${unref(id)}-helper`,
|
|
3539
3667
|
class: "helper-text"
|
|
3540
3668
|
}, toDisplayString(props.helperText), 9, _hoisted_6$6)) : createCommentVNode("", true)
|
|
3541
3669
|
])
|
|
3542
|
-
], 10, _hoisted_1$
|
|
3670
|
+
], 10, _hoisted_1$E);
|
|
3543
3671
|
};
|
|
3544
3672
|
}
|
|
3545
3673
|
});
|
|
3546
3674
|
|
|
3547
|
-
const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
3675
|
+
const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f4f6392a"]]);
|
|
3548
3676
|
|
|
3549
3677
|
const useRadioSelection = ({
|
|
3550
3678
|
selectedId,
|
|
@@ -3666,7 +3794,7 @@ const useRadioSelection = ({
|
|
|
3666
3794
|
};
|
|
3667
3795
|
};
|
|
3668
3796
|
|
|
3669
|
-
const _sfc_main$
|
|
3797
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
3670
3798
|
__name: "KdsRadioButtonGroup",
|
|
3671
3799
|
props: /* @__PURE__ */ mergeModels({
|
|
3672
3800
|
id: {},
|
|
@@ -3741,10 +3869,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
3741
3869
|
}
|
|
3742
3870
|
});
|
|
3743
3871
|
|
|
3744
|
-
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3872
|
+
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d78ed4a2"]]);
|
|
3745
3873
|
|
|
3746
|
-
const _hoisted_1$
|
|
3747
|
-
const _sfc_main$
|
|
3874
|
+
const _hoisted_1$D = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
|
|
3875
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
3748
3876
|
__name: "ValueSwitchItem",
|
|
3749
3877
|
props: {
|
|
3750
3878
|
selected: { type: Boolean },
|
|
@@ -3794,12 +3922,12 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
3794
3922
|
name: props.trailingIcon,
|
|
3795
3923
|
size: __props.size
|
|
3796
3924
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
3797
|
-
], 10, _hoisted_1$
|
|
3925
|
+
], 10, _hoisted_1$D);
|
|
3798
3926
|
};
|
|
3799
3927
|
}
|
|
3800
3928
|
});
|
|
3801
3929
|
|
|
3802
|
-
const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3930
|
+
const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-5c6f0f1f"]]);
|
|
3803
3931
|
|
|
3804
3932
|
const useValueSwitchIconHiding = ({
|
|
3805
3933
|
width,
|
|
@@ -3850,7 +3978,7 @@ const useValueSwitchIconHiding = ({
|
|
|
3850
3978
|
};
|
|
3851
3979
|
};
|
|
3852
3980
|
|
|
3853
|
-
const _sfc_main$
|
|
3981
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
3854
3982
|
__name: "KdsValueSwitch",
|
|
3855
3983
|
props: /* @__PURE__ */ mergeModels({
|
|
3856
3984
|
id: {},
|
|
@@ -3939,7 +4067,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
3939
4067
|
}
|
|
3940
4068
|
});
|
|
3941
4069
|
|
|
3942
|
-
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4070
|
+
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f6d51795"]]);
|
|
3943
4071
|
|
|
3944
4072
|
const kdsRadioButtonGroupAlignment = {
|
|
3945
4073
|
VERTICAL: "vertical",
|
|
@@ -3959,7 +4087,7 @@ const kdsValueSwitchVariant = {
|
|
|
3959
4087
|
};
|
|
3960
4088
|
const kdsValueSwitchVariants = Object.values(kdsValueSwitchVariant);
|
|
3961
4089
|
|
|
3962
|
-
const _sfc_main$
|
|
4090
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
3963
4091
|
__name: "BaseFormFieldWrapper",
|
|
3964
4092
|
props: {
|
|
3965
4093
|
id: {},
|
|
@@ -4011,7 +4139,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
4011
4139
|
}
|
|
4012
4140
|
});
|
|
4013
4141
|
|
|
4014
|
-
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4142
|
+
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-5d99c134"]]);
|
|
4015
4143
|
|
|
4016
4144
|
const MIN_SEGMENT_INDEX = 0;
|
|
4017
4145
|
const LARGE_STEP = 10;
|
|
@@ -4691,17 +4819,17 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
|
|
|
4691
4819
|
};
|
|
4692
4820
|
};
|
|
4693
4821
|
|
|
4694
|
-
const _hoisted_1$
|
|
4822
|
+
const _hoisted_1$C = {
|
|
4695
4823
|
key: 0,
|
|
4696
4824
|
class: "icon-wrapper leading"
|
|
4697
4825
|
};
|
|
4698
|
-
const _hoisted_2$
|
|
4826
|
+
const _hoisted_2$l = {
|
|
4699
4827
|
key: 1,
|
|
4700
4828
|
class: "leading-slot"
|
|
4701
4829
|
};
|
|
4702
|
-
const _hoisted_3$
|
|
4703
|
-
const _hoisted_4$
|
|
4704
|
-
const _hoisted_5$
|
|
4830
|
+
const _hoisted_3$i = ["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"];
|
|
4831
|
+
const _hoisted_4$f = ["aria-disabled"];
|
|
4832
|
+
const _hoisted_5$7 = {
|
|
4705
4833
|
key: 4,
|
|
4706
4834
|
class: "trailing-slot"
|
|
4707
4835
|
};
|
|
@@ -4709,7 +4837,7 @@ const _hoisted_6$5 = {
|
|
|
4709
4837
|
key: 5,
|
|
4710
4838
|
class: "icon-wrapper trailing"
|
|
4711
4839
|
};
|
|
4712
|
-
const _sfc_main$
|
|
4840
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
4713
4841
|
__name: "BaseInput",
|
|
4714
4842
|
props: /* @__PURE__ */ mergeModels({
|
|
4715
4843
|
id: {},
|
|
@@ -4860,13 +4988,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4860
4988
|
}),
|
|
4861
4989
|
onClick: handleContainerClick
|
|
4862
4990
|
}, [
|
|
4863
|
-
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4991
|
+
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
4864
4992
|
props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
4865
4993
|
key: 0,
|
|
4866
4994
|
name: props.leadingIcon
|
|
4867
4995
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
4868
4996
|
])) : createCommentVNode("", true),
|
|
4869
|
-
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4997
|
+
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
|
|
4870
4998
|
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
4871
4999
|
])) : createCommentVNode("", true),
|
|
4872
5000
|
createElementVNode("input", {
|
|
@@ -4911,7 +5039,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4911
5039
|
onCut: handleInputCut,
|
|
4912
5040
|
onDrop: handleInputDrop,
|
|
4913
5041
|
onDragend: handleInputDragEnd
|
|
4914
|
-
}, null, 42, _hoisted_3$
|
|
5042
|
+
}, null, 42, _hoisted_3$i),
|
|
4915
5043
|
props.unit ? (openBlock(), createElementBlock("span", {
|
|
4916
5044
|
key: 2,
|
|
4917
5045
|
class: normalizeClass({
|
|
@@ -4920,8 +5048,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4920
5048
|
disabled: __props.disabled
|
|
4921
5049
|
}),
|
|
4922
5050
|
"aria-disabled": __props.disabled || void 0
|
|
4923
|
-
}, toDisplayString(props.unit), 11, _hoisted_4$
|
|
4924
|
-
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$
|
|
5051
|
+
}, toDisplayString(props.unit), 11, _hoisted_4$f)) : createCommentVNode("", true),
|
|
5052
|
+
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
4925
5053
|
key: 3,
|
|
4926
5054
|
class: "clear-button",
|
|
4927
5055
|
size: "xsmall",
|
|
@@ -4931,7 +5059,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4931
5059
|
title: "Clear",
|
|
4932
5060
|
onClick: withModifiers(clearAndFocusInput, ["stop"])
|
|
4933
5061
|
})) : createCommentVNode("", true),
|
|
4934
|
-
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
5062
|
+
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
4935
5063
|
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
4936
5064
|
])) : createCommentVNode("", true),
|
|
4937
5065
|
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
@@ -4944,7 +5072,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4944
5072
|
}
|
|
4945
5073
|
});
|
|
4946
5074
|
|
|
4947
|
-
const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5075
|
+
const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-b8ccb955"]]);
|
|
4948
5076
|
|
|
4949
5077
|
const usePointerHandler = (updateFromEvent) => {
|
|
4950
5078
|
const activePointerId = ref(null);
|
|
@@ -5117,7 +5245,7 @@ const createKdsNumberParser = (params) => {
|
|
|
5117
5245
|
|
|
5118
5246
|
const REPEAT_INITIAL_DELAY_MS = 400;
|
|
5119
5247
|
const REPEAT_INTERVAL_MS = 100;
|
|
5120
|
-
const _sfc_main$
|
|
5248
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
5121
5249
|
__name: "KdsNumberInput",
|
|
5122
5250
|
props: /* @__PURE__ */ mergeModels({
|
|
5123
5251
|
description: {},
|
|
@@ -5303,7 +5431,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
5303
5431
|
onBlur: handleBlur
|
|
5304
5432
|
}), {
|
|
5305
5433
|
trailing: withCtx(() => [
|
|
5306
|
-
createVNode(_sfc_main$
|
|
5434
|
+
createVNode(_sfc_main$1n, {
|
|
5307
5435
|
size: "xsmall",
|
|
5308
5436
|
variant: "outlined",
|
|
5309
5437
|
"leading-icon": "minus",
|
|
@@ -5315,7 +5443,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
5315
5443
|
onPointerleave: stopRepeating,
|
|
5316
5444
|
onPointercancel: stopRepeating
|
|
5317
5445
|
}, null, 8, ["ariaLabel", "disabled"]),
|
|
5318
|
-
createVNode(_sfc_main$
|
|
5446
|
+
createVNode(_sfc_main$1n, {
|
|
5319
5447
|
size: "xsmall",
|
|
5320
5448
|
variant: "outlined",
|
|
5321
5449
|
"leading-icon": "plus",
|
|
@@ -5337,7 +5465,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
5337
5465
|
}
|
|
5338
5466
|
});
|
|
5339
5467
|
|
|
5340
|
-
const _sfc_main$
|
|
5468
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
5341
5469
|
__name: "KdsTextInput",
|
|
5342
5470
|
props: /* @__PURE__ */ mergeModels({
|
|
5343
5471
|
description: {},
|
|
@@ -5507,7 +5635,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5507
5635
|
}
|
|
5508
5636
|
});
|
|
5509
5637
|
|
|
5510
|
-
const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5638
|
+
const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c9f1be40"]]);
|
|
5511
5639
|
|
|
5512
5640
|
const HEX_RADIX = 16;
|
|
5513
5641
|
const RGB_MAX = 255;
|
|
@@ -5654,8 +5782,8 @@ const removeAlphaFromHexInput = (next) => {
|
|
|
5654
5782
|
return next;
|
|
5655
5783
|
};
|
|
5656
5784
|
|
|
5657
|
-
const _hoisted_1$
|
|
5658
|
-
const _sfc_main$
|
|
5785
|
+
const _hoisted_1$B = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
|
|
5786
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
5659
5787
|
__name: "ColorPickerSlider",
|
|
5660
5788
|
props: /* @__PURE__ */ mergeModels({
|
|
5661
5789
|
label: {},
|
|
@@ -5739,16 +5867,16 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
5739
5867
|
onKeydown: onKeyDown
|
|
5740
5868
|
}, [..._cache[5] || (_cache[5] = [
|
|
5741
5869
|
createElementVNode("div", { class: "handle" }, null, -1)
|
|
5742
|
-
])], 40, _hoisted_1$
|
|
5870
|
+
])], 40, _hoisted_1$B);
|
|
5743
5871
|
};
|
|
5744
5872
|
}
|
|
5745
5873
|
});
|
|
5746
5874
|
|
|
5747
|
-
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5875
|
+
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f4be2bd4"]]);
|
|
5748
5876
|
|
|
5749
|
-
const _hoisted_1$
|
|
5750
|
-
const _hoisted_2$
|
|
5751
|
-
const _hoisted_3$
|
|
5877
|
+
const _hoisted_1$A = { class: "kds-color-picker" };
|
|
5878
|
+
const _hoisted_2$k = ["aria-valuetext"];
|
|
5879
|
+
const _hoisted_3$h = { class: "value-inputs" };
|
|
5752
5880
|
const DEFAULT_HUE_DEG = 270;
|
|
5753
5881
|
const DEFAULT_SATURATION = 0.8;
|
|
5754
5882
|
const DEFAULT_VALUE = 0.9;
|
|
@@ -5762,7 +5890,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
|
|
|
5762
5890
|
const HUE_KEYBOARD_STEP_DEG = 1;
|
|
5763
5891
|
const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
|
|
5764
5892
|
const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
|
|
5765
|
-
const _sfc_main$
|
|
5893
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
5766
5894
|
__name: "ColorPicker",
|
|
5767
5895
|
props: {
|
|
5768
5896
|
"modelValue": { default: "" },
|
|
@@ -5910,7 +6038,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5910
6038
|
}
|
|
5911
6039
|
};
|
|
5912
6040
|
return (_ctx, _cache) => {
|
|
5913
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6041
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
5914
6042
|
createElementVNode("div", {
|
|
5915
6043
|
ref_key: "colorspaceEl",
|
|
5916
6044
|
ref: colorspaceEl,
|
|
@@ -5938,7 +6066,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5938
6066
|
class: "handle",
|
|
5939
6067
|
style: normalizeStyle(colorspaceHandleStyle.value)
|
|
5940
6068
|
}, null, 4)
|
|
5941
|
-
], 44, _hoisted_2$
|
|
6069
|
+
], 44, _hoisted_2$k),
|
|
5942
6070
|
createVNode(ColorPickerSlider, {
|
|
5943
6071
|
modelValue: hue.value,
|
|
5944
6072
|
"onUpdate:modelValue": [
|
|
@@ -5973,7 +6101,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5973
6101
|
step: KEYBOARD_STEP,
|
|
5974
6102
|
"large-step": KEYBOARD_LARGE_STEP
|
|
5975
6103
|
}, null, 8, ["modelValue", "value-now", "value-text"]),
|
|
5976
|
-
createElementVNode("div", _hoisted_3$
|
|
6104
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
5977
6105
|
createVNode(KdsTextInput, {
|
|
5978
6106
|
"model-value": hexInputValue.value,
|
|
5979
6107
|
ariaLabel: "Color hex value",
|
|
@@ -5981,7 +6109,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5981
6109
|
"onUpdate:modelValue": updateFromTextValue,
|
|
5982
6110
|
onFocusout: onHexInputFocusOut
|
|
5983
6111
|
}, null, 8, ["model-value"]),
|
|
5984
|
-
createVNode(_sfc_main$
|
|
6112
|
+
createVNode(_sfc_main$V, {
|
|
5985
6113
|
"model-value": alphaPercent.value,
|
|
5986
6114
|
ariaLabel: "Alpha percentage",
|
|
5987
6115
|
min: 0,
|
|
@@ -5996,7 +6124,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5996
6124
|
}
|
|
5997
6125
|
});
|
|
5998
6126
|
|
|
5999
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6127
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-2daeaa68"]]);
|
|
6000
6128
|
|
|
6001
6129
|
const HEX_LENGTH_1 = 1;
|
|
6002
6130
|
const HEX_LENGTH_2 = 2;
|
|
@@ -6070,7 +6198,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
|
|
|
6070
6198
|
return { handleFocusOut };
|
|
6071
6199
|
};
|
|
6072
6200
|
|
|
6073
|
-
const _sfc_main$
|
|
6201
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
6074
6202
|
__name: "KdsColorInput",
|
|
6075
6203
|
props: /* @__PURE__ */ mergeModels({
|
|
6076
6204
|
description: {},
|
|
@@ -6133,7 +6261,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6133
6261
|
}, null, 8, ["color", "style"])
|
|
6134
6262
|
]),
|
|
6135
6263
|
trailing: withCtx(() => [
|
|
6136
|
-
createVNode(unref(_sfc_main$
|
|
6264
|
+
createVNode(unref(_sfc_main$1k), {
|
|
6137
6265
|
modelValue: open.value,
|
|
6138
6266
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
6139
6267
|
size: "xsmall",
|
|
@@ -6173,7 +6301,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6173
6301
|
}
|
|
6174
6302
|
});
|
|
6175
6303
|
|
|
6176
|
-
const _sfc_main$
|
|
6304
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
6177
6305
|
__name: "KdsPasswordInput",
|
|
6178
6306
|
props: /* @__PURE__ */ mergeModels({
|
|
6179
6307
|
description: {},
|
|
@@ -6234,7 +6362,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6234
6362
|
onBlur: handleBlur
|
|
6235
6363
|
}), {
|
|
6236
6364
|
trailing: withCtx(() => [
|
|
6237
|
-
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$
|
|
6365
|
+
__props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1k, {
|
|
6238
6366
|
key: 0,
|
|
6239
6367
|
modelValue: showValue.value,
|
|
6240
6368
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
|
|
@@ -6274,7 +6402,7 @@ const kdsPasswordInputAutocompletes = Object.values(
|
|
|
6274
6402
|
kdsPasswordInputAutocomplete
|
|
6275
6403
|
);
|
|
6276
6404
|
|
|
6277
|
-
const _sfc_main$
|
|
6405
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
6278
6406
|
__name: "KdsUsernameInput",
|
|
6279
6407
|
props: /* @__PURE__ */ mergeModels({
|
|
6280
6408
|
description: {},
|
|
@@ -10285,17 +10413,17 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
|
|
|
10285
10413
|
DateTimeFormat: Xn
|
|
10286
10414
|
}));
|
|
10287
10415
|
|
|
10288
|
-
const _hoisted_1$
|
|
10416
|
+
const _hoisted_1$z = {
|
|
10289
10417
|
role: "row",
|
|
10290
10418
|
class: "kds-date-picker-header-row"
|
|
10291
10419
|
};
|
|
10292
|
-
const _hoisted_2$
|
|
10293
|
-
const _hoisted_3$
|
|
10294
|
-
const _hoisted_4$
|
|
10420
|
+
const _hoisted_2$j = ["aria-label"];
|
|
10421
|
+
const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
|
|
10422
|
+
const _hoisted_4$e = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
|
|
10295
10423
|
const REFERENCE_YEAR$2 = 2024;
|
|
10296
10424
|
const DAYS_PER_WEEK = 7;
|
|
10297
10425
|
const TOTAL_CELLS = 42;
|
|
10298
|
-
const _sfc_main$
|
|
10426
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
10299
10427
|
__name: "DatePickerDayGrid",
|
|
10300
10428
|
props: {
|
|
10301
10429
|
modelValue: {},
|
|
@@ -10590,17 +10718,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10590
10718
|
role: "grid",
|
|
10591
10719
|
"aria-label": "Calendar"
|
|
10592
10720
|
}, [
|
|
10593
|
-
createElementVNode("div", _hoisted_1$
|
|
10721
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
10594
10722
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
|
|
10595
10723
|
return openBlock(), createElementBlock("div", {
|
|
10596
10724
|
key: day,
|
|
10597
10725
|
role: "columnheader",
|
|
10598
10726
|
"aria-label": unref(DAY_FULL_LABELS)[i],
|
|
10599
10727
|
class: "kds-date-picker-weekday"
|
|
10600
|
-
}, toDisplayString(day), 9, _hoisted_2$
|
|
10728
|
+
}, toDisplayString(day), 9, _hoisted_2$j);
|
|
10601
10729
|
}), 128))
|
|
10602
10730
|
]),
|
|
10603
|
-
createElementVNode("div", _hoisted_3$
|
|
10731
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
10604
10732
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
|
|
10605
10733
|
return openBlock(), createElementBlock("div", {
|
|
10606
10734
|
key: wi,
|
|
@@ -10629,7 +10757,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10629
10757
|
onClick: ($event) => selectDate(day),
|
|
10630
10758
|
onKeydown: onDayKeydown,
|
|
10631
10759
|
onFocus: ($event) => onDayFocus(day)
|
|
10632
|
-
}, toDisplayString(day.day), 43, _hoisted_4$
|
|
10760
|
+
}, toDisplayString(day.day), 43, _hoisted_4$e);
|
|
10633
10761
|
}), 128))
|
|
10634
10762
|
]);
|
|
10635
10763
|
}), 128))
|
|
@@ -10639,13 +10767,13 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10639
10767
|
}
|
|
10640
10768
|
});
|
|
10641
10769
|
|
|
10642
|
-
const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10770
|
+
const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-51807b35"]]);
|
|
10643
10771
|
|
|
10644
|
-
const _hoisted_1$
|
|
10772
|
+
const _hoisted_1$y = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
10645
10773
|
const REFERENCE_YEAR$1 = 2024;
|
|
10646
10774
|
const MONTHS_PER_YEAR$1 = 12;
|
|
10647
10775
|
const MONTH_GRID_COLS = 3;
|
|
10648
|
-
const _sfc_main$
|
|
10776
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
10649
10777
|
__name: "DatePickerMonthGrid",
|
|
10650
10778
|
props: {
|
|
10651
10779
|
modelValue: {},
|
|
@@ -10835,7 +10963,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10835
10963
|
onClick: ($event) => selectMonth(cell.month),
|
|
10836
10964
|
onKeydown: ($event) => onKeydown($event, cell.month),
|
|
10837
10965
|
onFocus: ($event) => focusedCell.value = cell.month
|
|
10838
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
10966
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$y);
|
|
10839
10967
|
}), 128))
|
|
10840
10968
|
]);
|
|
10841
10969
|
}), 128))
|
|
@@ -10844,12 +10972,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10844
10972
|
}
|
|
10845
10973
|
});
|
|
10846
10974
|
|
|
10847
|
-
const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10975
|
+
const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-63d96e84"]]);
|
|
10848
10976
|
|
|
10849
|
-
const _hoisted_1$
|
|
10977
|
+
const _hoisted_1$x = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
10850
10978
|
const YEAR_PAGE_SIZE$1 = 15;
|
|
10851
10979
|
const YEAR_GRID_COLS = 3;
|
|
10852
|
-
const _sfc_main$
|
|
10980
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10853
10981
|
__name: "DatePickerYearGrid",
|
|
10854
10982
|
props: {
|
|
10855
10983
|
modelValue: {},
|
|
@@ -11007,7 +11135,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11007
11135
|
onClick: ($event) => selectYear(cell.year),
|
|
11008
11136
|
onKeydown: ($event) => onKeydown($event, cell.year),
|
|
11009
11137
|
onFocus: ($event) => focusedCell.value = cell.year
|
|
11010
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
11138
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$x);
|
|
11011
11139
|
}), 128))
|
|
11012
11140
|
]);
|
|
11013
11141
|
}), 128))
|
|
@@ -11016,22 +11144,22 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11016
11144
|
}
|
|
11017
11145
|
});
|
|
11018
11146
|
|
|
11019
|
-
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11147
|
+
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-270d55b9"]]);
|
|
11020
11148
|
|
|
11021
|
-
const _hoisted_1$
|
|
11022
|
-
const _hoisted_2$
|
|
11023
|
-
const _hoisted_3$
|
|
11024
|
-
const _hoisted_4$
|
|
11149
|
+
const _hoisted_1$w = { class: "kds-date-picker" };
|
|
11150
|
+
const _hoisted_2$i = { class: "kds-date-picker-header" };
|
|
11151
|
+
const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
|
|
11152
|
+
const _hoisted_4$d = {
|
|
11025
11153
|
key: 1,
|
|
11026
11154
|
class: "kds-date-picker-header-static-label",
|
|
11027
11155
|
"aria-live": "polite"
|
|
11028
11156
|
};
|
|
11029
|
-
const _hoisted_5$
|
|
11157
|
+
const _hoisted_5$6 = { class: "kds-date-picker-nav-block" };
|
|
11030
11158
|
const _hoisted_6$4 = { class: "kds-date-picker-body" };
|
|
11031
11159
|
const MONTHS_PER_YEAR = 12;
|
|
11032
11160
|
const YEAR_PAGE_SIZE = 15;
|
|
11033
11161
|
const REFERENCE_YEAR = 2024;
|
|
11034
|
-
const _sfc_main$
|
|
11162
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
11035
11163
|
__name: "KdsDatePicker",
|
|
11036
11164
|
props: /* @__PURE__ */ mergeModels({
|
|
11037
11165
|
minDate: {},
|
|
@@ -11227,10 +11355,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11227
11355
|
});
|
|
11228
11356
|
__expose({ focus });
|
|
11229
11357
|
return (_ctx, _cache) => {
|
|
11230
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11231
|
-
createElementVNode("div", _hoisted_2$
|
|
11232
|
-
createElementVNode("div", _hoisted_3$
|
|
11233
|
-
view.value === "day" ? (openBlock(), createBlock(_sfc_main$
|
|
11358
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
11359
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
11360
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
11361
|
+
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
11234
11362
|
key: 0,
|
|
11235
11363
|
variant: "transparent",
|
|
11236
11364
|
size: "small",
|
|
@@ -11239,7 +11367,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11239
11367
|
disabled: prevYearDisabled.value,
|
|
11240
11368
|
onClick: onPrevYear
|
|
11241
11369
|
}, null, 8, ["disabled"])) : createCommentVNode("", true),
|
|
11242
|
-
createVNode(_sfc_main$
|
|
11370
|
+
createVNode(_sfc_main$1n, {
|
|
11243
11371
|
variant: "transparent",
|
|
11244
11372
|
size: "small",
|
|
11245
11373
|
"leading-icon": "chevron-left",
|
|
@@ -11248,16 +11376,16 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11248
11376
|
onClick: onPrev
|
|
11249
11377
|
}, null, 8, ["ariaLabel", "disabled"])
|
|
11250
11378
|
]),
|
|
11251
|
-
view.value !== "year" ? (openBlock(), createBlock(_sfc_main$
|
|
11379
|
+
view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
11252
11380
|
key: 0,
|
|
11253
11381
|
class: "kds-date-picker-header-label",
|
|
11254
11382
|
variant: "transparent",
|
|
11255
11383
|
size: "small",
|
|
11256
11384
|
label: headerLabel.value,
|
|
11257
11385
|
onClick: onHeaderLabelClick
|
|
11258
|
-
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11259
|
-
createElementVNode("div", _hoisted_5$
|
|
11260
|
-
createVNode(_sfc_main$
|
|
11386
|
+
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$d, toDisplayString(headerLabel.value), 1)),
|
|
11387
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
11388
|
+
createVNode(_sfc_main$1n, {
|
|
11261
11389
|
variant: "transparent",
|
|
11262
11390
|
size: "small",
|
|
11263
11391
|
"leading-icon": "chevron-right",
|
|
@@ -11265,7 +11393,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11265
11393
|
disabled: nextDisabled.value,
|
|
11266
11394
|
onClick: onNext
|
|
11267
11395
|
}, null, 8, ["ariaLabel", "disabled"]),
|
|
11268
|
-
view.value === "day" ? (openBlock(), createBlock(_sfc_main$
|
|
11396
|
+
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1n, {
|
|
11269
11397
|
key: 0,
|
|
11270
11398
|
variant: "transparent",
|
|
11271
11399
|
size: "small",
|
|
@@ -11317,7 +11445,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11317
11445
|
}
|
|
11318
11446
|
});
|
|
11319
11447
|
|
|
11320
|
-
const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11448
|
+
const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-e46d7e18"]]);
|
|
11321
11449
|
|
|
11322
11450
|
const YEAR_END_INDEX = 4;
|
|
11323
11451
|
const MONTH_START_INDEX = 4;
|
|
@@ -11420,7 +11548,7 @@ const useDateInputMask = (modelValue) => {
|
|
|
11420
11548
|
|
|
11421
11549
|
const incompleteDateMessage = "Invalid date format. Please provide year (YYYY), month (MM), and day (DD).";
|
|
11422
11550
|
const MONTH_NAME_SAMPLE_YEAR = 2001;
|
|
11423
|
-
const _sfc_main$
|
|
11551
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
11424
11552
|
__name: "KdsDateInput",
|
|
11425
11553
|
props: /* @__PURE__ */ mergeModels({
|
|
11426
11554
|
description: {},
|
|
@@ -11549,7 +11677,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11549
11677
|
onBlur: onTextInputBlur
|
|
11550
11678
|
}), {
|
|
11551
11679
|
trailing: withCtx(() => [
|
|
11552
|
-
createVNode(_sfc_main$
|
|
11680
|
+
createVNode(_sfc_main$1k, {
|
|
11553
11681
|
modelValue: popoverIsVisible.value,
|
|
11554
11682
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
11555
11683
|
size: "xsmall",
|
|
@@ -11598,8 +11726,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11598
11726
|
}
|
|
11599
11727
|
});
|
|
11600
11728
|
|
|
11601
|
-
const _hoisted_1$
|
|
11602
|
-
const _sfc_main$
|
|
11729
|
+
const _hoisted_1$v = { class: "kds-date-time-format-popover" };
|
|
11730
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
11603
11731
|
__name: "DateTimeFormatPopover",
|
|
11604
11732
|
props: /* @__PURE__ */ mergeModels({
|
|
11605
11733
|
allDefaultFormats: {},
|
|
@@ -11737,7 +11865,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
11737
11865
|
}));
|
|
11738
11866
|
});
|
|
11739
11867
|
return (_ctx, _cache) => {
|
|
11740
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11868
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
11741
11869
|
modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
|
|
11742
11870
|
key: 0,
|
|
11743
11871
|
"model-value": effectiveSelectedMode.value,
|
|
@@ -11769,9 +11897,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
11769
11897
|
}
|
|
11770
11898
|
});
|
|
11771
11899
|
|
|
11772
|
-
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11900
|
+
const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8c697d02"]]);
|
|
11773
11901
|
|
|
11774
|
-
const _sfc_main$
|
|
11902
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
11775
11903
|
__name: "KdsDateTimeFormatInput",
|
|
11776
11904
|
props: /* @__PURE__ */ mergeModels({
|
|
11777
11905
|
description: {},
|
|
@@ -11818,7 +11946,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
11818
11946
|
autocomplete: props.autocomplete
|
|
11819
11947
|
}), {
|
|
11820
11948
|
trailing: withCtx(() => [
|
|
11821
|
-
createVNode(unref(_sfc_main$
|
|
11949
|
+
createVNode(unref(_sfc_main$1k), {
|
|
11822
11950
|
modelValue: open.value,
|
|
11823
11951
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
11824
11952
|
size: "xsmall",
|
|
@@ -11904,7 +12032,7 @@ const buildRegexFromPatternInput = (input, options) => {
|
|
|
11904
12032
|
return `^(?!.*${withCase}).*$`;
|
|
11905
12033
|
};
|
|
11906
12034
|
|
|
11907
|
-
const _sfc_main$
|
|
12035
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
11908
12036
|
__name: "KdsPatternInput",
|
|
11909
12037
|
props: /* @__PURE__ */ mergeModels({
|
|
11910
12038
|
description: {},
|
|
@@ -11987,7 +12115,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
11987
12115
|
clearable: ""
|
|
11988
12116
|
}), {
|
|
11989
12117
|
trailing: withCtx(() => [
|
|
11990
|
-
createVNode(_sfc_main$
|
|
12118
|
+
createVNode(_sfc_main$1k, {
|
|
11991
12119
|
modelValue: caseSensitive.value,
|
|
11992
12120
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
|
|
11993
12121
|
size: "xsmall",
|
|
@@ -11997,7 +12125,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
11997
12125
|
ariaLabel: "Case sensitivity",
|
|
11998
12126
|
disabled: __props.disabled
|
|
11999
12127
|
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
12000
|
-
createVNode(_sfc_main$
|
|
12128
|
+
createVNode(_sfc_main$1k, {
|
|
12001
12129
|
modelValue: excludeMatches.value,
|
|
12002
12130
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
|
|
12003
12131
|
size: "xsmall",
|
|
@@ -12007,7 +12135,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12007
12135
|
ariaLabel: "Exclude matches",
|
|
12008
12136
|
disabled: __props.disabled
|
|
12009
12137
|
}, null, 8, ["modelValue", "title", "disabled"]),
|
|
12010
|
-
createVNode(_sfc_main$
|
|
12138
|
+
createVNode(_sfc_main$1k, {
|
|
12011
12139
|
modelValue: useRegex.value,
|
|
12012
12140
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
|
|
12013
12141
|
size: "xsmall",
|
|
@@ -12027,7 +12155,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12027
12155
|
}
|
|
12028
12156
|
});
|
|
12029
12157
|
|
|
12030
|
-
const _sfc_main$
|
|
12158
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
12031
12159
|
__name: "KdsSearchInput",
|
|
12032
12160
|
props: /* @__PURE__ */ mergeModels({
|
|
12033
12161
|
description: {},
|
|
@@ -12180,11 +12308,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12180
12308
|
}
|
|
12181
12309
|
});
|
|
12182
12310
|
|
|
12183
|
-
const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12311
|
+
const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3e274ed2"]]);
|
|
12184
12312
|
|
|
12185
|
-
const _hoisted_1$
|
|
12313
|
+
const _hoisted_1$u = ["rows", "placeholder", "disabled", "autocomplete"];
|
|
12186
12314
|
const DEFAULT_ROWS = 3;
|
|
12187
|
-
const _sfc_main$
|
|
12315
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
12188
12316
|
__name: "KdsTextarea",
|
|
12189
12317
|
props: /* @__PURE__ */ mergeModels({
|
|
12190
12318
|
description: {},
|
|
@@ -12250,7 +12378,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12250
12378
|
placeholder: __props.placeholder,
|
|
12251
12379
|
disabled: __props.disabled,
|
|
12252
12380
|
autocomplete: props.autocomplete
|
|
12253
|
-
}), null, 16, _hoisted_1$
|
|
12381
|
+
}), null, 16, _hoisted_1$u), [
|
|
12254
12382
|
[vModelText, modelValue.value]
|
|
12255
12383
|
])
|
|
12256
12384
|
]),
|
|
@@ -12260,16 +12388,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12260
12388
|
}
|
|
12261
12389
|
});
|
|
12262
12390
|
|
|
12263
|
-
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12391
|
+
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8e5a54cf"]]);
|
|
12264
12392
|
|
|
12265
|
-
const _hoisted_1$
|
|
12266
|
-
const _hoisted_2$
|
|
12267
|
-
const _hoisted_3$
|
|
12268
|
-
const _hoisted_4$
|
|
12393
|
+
const _hoisted_1$t = { class: "kds-time-picker" };
|
|
12394
|
+
const _hoisted_2$h = { class: "kds-time-picker-fields" };
|
|
12395
|
+
const _hoisted_3$e = { class: "kds-time-picker-fields" };
|
|
12396
|
+
const _hoisted_4$c = {
|
|
12269
12397
|
key: 0,
|
|
12270
12398
|
class: "kds-time-picker-fields"
|
|
12271
12399
|
};
|
|
12272
|
-
const _hoisted_5$
|
|
12400
|
+
const _hoisted_5$5 = {
|
|
12273
12401
|
key: 1,
|
|
12274
12402
|
class: "kds-time-picker-actions"
|
|
12275
12403
|
};
|
|
@@ -12281,7 +12409,7 @@ const MAX_HOUR = 23;
|
|
|
12281
12409
|
const MAX_MINUTE = 59;
|
|
12282
12410
|
const MAX_SECOND = 59;
|
|
12283
12411
|
const MAX_MILLISECOND = 999;
|
|
12284
|
-
const _sfc_main$
|
|
12412
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
12285
12413
|
__name: "TimePicker",
|
|
12286
12414
|
props: /* @__PURE__ */ mergeModels({
|
|
12287
12415
|
maxGranularity: {}
|
|
@@ -12367,9 +12495,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12367
12495
|
};
|
|
12368
12496
|
__expose({ focus });
|
|
12369
12497
|
return (_ctx, _cache) => {
|
|
12370
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12371
|
-
createElementVNode("div", _hoisted_2$
|
|
12372
|
-
createVNode(_sfc_main$
|
|
12498
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
12499
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
12500
|
+
createVNode(_sfc_main$V, {
|
|
12373
12501
|
ref: "hourInput",
|
|
12374
12502
|
modelValue: hour.value,
|
|
12375
12503
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
|
|
@@ -12379,7 +12507,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12379
12507
|
max: MAX_HOUR,
|
|
12380
12508
|
step: 1
|
|
12381
12509
|
}, null, 8, ["modelValue"]),
|
|
12382
|
-
createVNode(_sfc_main$
|
|
12510
|
+
createVNode(_sfc_main$V, {
|
|
12383
12511
|
modelValue: minute.value,
|
|
12384
12512
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
|
|
12385
12513
|
class: "kds-time-picker-field",
|
|
@@ -12394,8 +12522,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12394
12522
|
class: "kds-time-picker-divider"
|
|
12395
12523
|
})) : createCommentVNode("", true),
|
|
12396
12524
|
showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
12397
|
-
createElementVNode("div", _hoisted_3$
|
|
12398
|
-
createVNode(_sfc_main$
|
|
12525
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
12526
|
+
createVNode(_sfc_main$V, {
|
|
12399
12527
|
ref: "secondInput",
|
|
12400
12528
|
modelValue: second.value,
|
|
12401
12529
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => second.value = $event),
|
|
@@ -12405,7 +12533,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12405
12533
|
max: MAX_SECOND,
|
|
12406
12534
|
step: 1
|
|
12407
12535
|
}, null, 8, ["modelValue"]),
|
|
12408
|
-
createVNode(_sfc_main$
|
|
12536
|
+
createVNode(_sfc_main$1n, {
|
|
12409
12537
|
class: "kds-time-picker-field-trash",
|
|
12410
12538
|
variant: "transparent",
|
|
12411
12539
|
"leading-icon": "trash",
|
|
@@ -12414,8 +12542,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12414
12542
|
onClick: removeSeconds
|
|
12415
12543
|
})
|
|
12416
12544
|
]),
|
|
12417
|
-
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
12418
|
-
createVNode(_sfc_main$
|
|
12545
|
+
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
12546
|
+
createVNode(_sfc_main$V, {
|
|
12419
12547
|
ref: "millisecondInput",
|
|
12420
12548
|
modelValue: millisecond.value,
|
|
12421
12549
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => millisecond.value = $event),
|
|
@@ -12428,7 +12556,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12428
12556
|
max: MAX_MILLISECOND,
|
|
12429
12557
|
step: 1
|
|
12430
12558
|
}, null, 8, ["modelValue"]),
|
|
12431
|
-
createVNode(_sfc_main$
|
|
12559
|
+
createVNode(_sfc_main$1n, {
|
|
12432
12560
|
class: "kds-time-picker-field-trash",
|
|
12433
12561
|
variant: "transparent",
|
|
12434
12562
|
"leading-icon": "trash",
|
|
@@ -12436,8 +12564,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12436
12564
|
title: "Remove milliseconds",
|
|
12437
12565
|
onClick: removeMilliseconds
|
|
12438
12566
|
})
|
|
12439
|
-
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
12440
|
-
createVNode(_sfc_main$
|
|
12567
|
+
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
|
|
12568
|
+
createVNode(_sfc_main$1n, {
|
|
12441
12569
|
variant: "outlined",
|
|
12442
12570
|
size: "small",
|
|
12443
12571
|
"leading-icon": "plus",
|
|
@@ -12446,7 +12574,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12446
12574
|
})
|
|
12447
12575
|
])) : createCommentVNode("", true)
|
|
12448
12576
|
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
12449
|
-
createVNode(_sfc_main$
|
|
12577
|
+
createVNode(_sfc_main$1n, {
|
|
12450
12578
|
variant: "outlined",
|
|
12451
12579
|
size: "small",
|
|
12452
12580
|
"leading-icon": "plus",
|
|
@@ -12459,7 +12587,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12459
12587
|
}
|
|
12460
12588
|
});
|
|
12461
12589
|
|
|
12462
|
-
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12590
|
+
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-c2bc1234"]]);
|
|
12463
12591
|
|
|
12464
12592
|
const HOURS_END_INDEX = 2;
|
|
12465
12593
|
const MINUTES_START_INDEX = 2;
|
|
@@ -12669,7 +12797,7 @@ const useTimeInputMask = (modelValue, granularityRef) => {
|
|
|
12669
12797
|
};
|
|
12670
12798
|
|
|
12671
12799
|
const invalidTimeMessage = "The entered time is invalid.";
|
|
12672
|
-
const _sfc_main$
|
|
12800
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
12673
12801
|
__name: "KdsTimeInput",
|
|
12674
12802
|
props: /* @__PURE__ */ mergeModels({
|
|
12675
12803
|
description: {},
|
|
@@ -12784,7 +12912,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12784
12912
|
onBlur: onTextInputBlur
|
|
12785
12913
|
}), {
|
|
12786
12914
|
trailing: withCtx(() => [
|
|
12787
|
-
createVNode(_sfc_main$
|
|
12915
|
+
createVNode(_sfc_main$1k, {
|
|
12788
12916
|
modelValue: popoverIsVisible.value,
|
|
12789
12917
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
12790
12918
|
size: "xsmall",
|
|
@@ -13046,11 +13174,11 @@ const stripInactiveFields = (duration, usedFormat) => {
|
|
|
13046
13174
|
};
|
|
13047
13175
|
const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
|
|
13048
13176
|
|
|
13049
|
-
const _hoisted_1$
|
|
13050
|
-
const _hoisted_2$
|
|
13051
|
-
const _hoisted_3$
|
|
13052
|
-
const _hoisted_4$
|
|
13053
|
-
const _sfc_main$
|
|
13177
|
+
const _hoisted_1$s = { class: "kds-interval-popover" };
|
|
13178
|
+
const _hoisted_2$g = { class: "kds-interval-popover-header" };
|
|
13179
|
+
const _hoisted_3$d = { class: "kds-interval-popover-content" };
|
|
13180
|
+
const _hoisted_4$b = { class: "kds-interval-popover-grid" };
|
|
13181
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
13054
13182
|
__name: "IntervalInputPopover",
|
|
13055
13183
|
props: /* @__PURE__ */ mergeModels({
|
|
13056
13184
|
format: {},
|
|
@@ -13144,8 +13272,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13144
13272
|
}
|
|
13145
13273
|
});
|
|
13146
13274
|
return (_ctx, _cache) => {
|
|
13147
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13148
|
-
createElementVNode("div", _hoisted_2$
|
|
13275
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
13276
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
13149
13277
|
_cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
|
|
13150
13278
|
props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13151
13279
|
key: 0,
|
|
@@ -13157,7 +13285,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13157
13285
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
13158
13286
|
]),
|
|
13159
13287
|
_cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
|
|
13160
|
-
createElementVNode("div", _hoisted_3$
|
|
13288
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
13161
13289
|
props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13162
13290
|
key: 0,
|
|
13163
13291
|
modelValue: direction.value,
|
|
@@ -13167,9 +13295,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13167
13295
|
variant: "muted",
|
|
13168
13296
|
"possible-values": directionOptions
|
|
13169
13297
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
13170
|
-
createElementVNode("div", _hoisted_4$
|
|
13298
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
13171
13299
|
mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
|
|
13172
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13300
|
+
return openBlock(), createBlock(unref(_sfc_main$V), {
|
|
13173
13301
|
key,
|
|
13174
13302
|
"model-value": activeFields.value[key],
|
|
13175
13303
|
label: fieldLabels[key] ?? unref(toTitleCase)(key),
|
|
@@ -13179,7 +13307,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13179
13307
|
"onUpdate:modelValue": ($event) => updateField(key, $event)
|
|
13180
13308
|
}, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
|
|
13181
13309
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(durationNumericKeys), (key) => {
|
|
13182
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
13310
|
+
return openBlock(), createBlock(unref(_sfc_main$V), {
|
|
13183
13311
|
key,
|
|
13184
13312
|
"model-value": activeFields.value[key],
|
|
13185
13313
|
label: fieldLabels[key] ?? unref(toTitleCase)(key),
|
|
@@ -13196,9 +13324,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13196
13324
|
}
|
|
13197
13325
|
});
|
|
13198
13326
|
|
|
13199
|
-
const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13327
|
+
const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-02541fd1"]]);
|
|
13200
13328
|
|
|
13201
|
-
const _sfc_main$
|
|
13329
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
13202
13330
|
__name: "KdsIntervalInput",
|
|
13203
13331
|
props: /* @__PURE__ */ mergeModels({
|
|
13204
13332
|
description: {},
|
|
@@ -13360,7 +13488,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
13360
13488
|
onKeydown: withKeys(withModifiers(commitTypedInput, ["prevent"]), ["enter"])
|
|
13361
13489
|
}), {
|
|
13362
13490
|
trailing: withCtx(() => [
|
|
13363
|
-
createVNode(unref(_sfc_main$
|
|
13491
|
+
createVNode(unref(_sfc_main$1k), {
|
|
13364
13492
|
modelValue: isPopoverOpen.value,
|
|
13365
13493
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopoverOpen.value = $event),
|
|
13366
13494
|
size: "xsmall",
|
|
@@ -13408,18 +13536,18 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
13408
13536
|
}
|
|
13409
13537
|
});
|
|
13410
13538
|
|
|
13411
|
-
const _hoisted_1$
|
|
13412
|
-
const _hoisted_2$
|
|
13539
|
+
const _hoisted_1$r = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
|
|
13540
|
+
const _hoisted_2$f = {
|
|
13413
13541
|
key: 0,
|
|
13414
13542
|
class: "leading",
|
|
13415
13543
|
"aria-hidden": "true"
|
|
13416
13544
|
};
|
|
13417
|
-
const _hoisted_3$
|
|
13418
|
-
const _hoisted_4$
|
|
13545
|
+
const _hoisted_3$c = ["id"];
|
|
13546
|
+
const _hoisted_4$a = {
|
|
13419
13547
|
class: "trailing",
|
|
13420
13548
|
"aria-hidden": "true"
|
|
13421
13549
|
};
|
|
13422
|
-
const _sfc_main$
|
|
13550
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
13423
13551
|
__name: "BaseDropdown",
|
|
13424
13552
|
props: /* @__PURE__ */ mergeModels({
|
|
13425
13553
|
text: {},
|
|
@@ -13491,8 +13619,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13491
13619
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
|
|
13492
13620
|
onKeydown
|
|
13493
13621
|
}, [
|
|
13494
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
13495
|
-
createVNode(_sfc_main$
|
|
13622
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$f, [
|
|
13623
|
+
createVNode(_sfc_main$1i, {
|
|
13496
13624
|
accessory: props.accessory,
|
|
13497
13625
|
size: "medium"
|
|
13498
13626
|
}, null, 8, ["accessory"])
|
|
@@ -13503,28 +13631,28 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13503
13631
|
placeholder: !props.text && !__props.disabled,
|
|
13504
13632
|
missing: __props.missing
|
|
13505
13633
|
}])
|
|
13506
|
-
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$
|
|
13507
|
-
createElementVNode("span", _hoisted_4$
|
|
13634
|
+
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$c),
|
|
13635
|
+
createElementVNode("span", _hoisted_4$a, [
|
|
13508
13636
|
createVNode(KdsIcon, {
|
|
13509
13637
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
13510
13638
|
size: "small"
|
|
13511
13639
|
}, null, 8, ["name"])
|
|
13512
13640
|
])
|
|
13513
|
-
], 42, _hoisted_1$
|
|
13641
|
+
], 42, _hoisted_1$r);
|
|
13514
13642
|
};
|
|
13515
13643
|
}
|
|
13516
13644
|
});
|
|
13517
13645
|
|
|
13518
|
-
const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13646
|
+
const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-0f4de8fb"]]);
|
|
13519
13647
|
|
|
13520
13648
|
const DROPDOWN_SEARCH_THRESHOLD = 12;
|
|
13521
13649
|
|
|
13522
|
-
const _hoisted_1$
|
|
13523
|
-
const _hoisted_2$
|
|
13650
|
+
const _hoisted_1$q = { class: "kds-dropdown-container" };
|
|
13651
|
+
const _hoisted_2$e = {
|
|
13524
13652
|
key: 0,
|
|
13525
13653
|
class: "kds-dropdown-container-sticky-top"
|
|
13526
13654
|
};
|
|
13527
|
-
const _sfc_main$
|
|
13655
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
13528
13656
|
__name: "DropdownContainer",
|
|
13529
13657
|
props: /* @__PURE__ */ mergeModels({
|
|
13530
13658
|
emptyText: {},
|
|
@@ -13608,8 +13736,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13608
13736
|
}
|
|
13609
13737
|
});
|
|
13610
13738
|
return (_ctx, _cache) => {
|
|
13611
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13612
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13739
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
13740
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
13613
13741
|
createVNode(BaseInput, {
|
|
13614
13742
|
ref_key: "searchEl",
|
|
13615
13743
|
ref: searchEl,
|
|
@@ -13641,9 +13769,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13641
13769
|
}
|
|
13642
13770
|
});
|
|
13643
13771
|
|
|
13644
|
-
const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13772
|
+
const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cdb20fd2"]]);
|
|
13645
13773
|
|
|
13646
|
-
const _sfc_main$
|
|
13774
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
13647
13775
|
__name: "KdsDropdown",
|
|
13648
13776
|
props: /* @__PURE__ */ mergeModels({
|
|
13649
13777
|
placeholder: { default: "Select" },
|
|
@@ -13736,9 +13864,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13736
13864
|
}
|
|
13737
13865
|
});
|
|
13738
13866
|
|
|
13739
|
-
const _hoisted_1$
|
|
13740
|
-
const _hoisted_2$
|
|
13741
|
-
const _sfc_main$
|
|
13867
|
+
const _hoisted_1$p = ["disabled"];
|
|
13868
|
+
const _hoisted_2$d = ["title"];
|
|
13869
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
13742
13870
|
__name: "KdsListItemButton",
|
|
13743
13871
|
props: {
|
|
13744
13872
|
label: {},
|
|
@@ -13768,24 +13896,24 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13768
13896
|
ref: labelEl,
|
|
13769
13897
|
class: "label",
|
|
13770
13898
|
title: unref(isLabelTruncated) ? props.label : void 0
|
|
13771
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
13772
|
-
], 8, _hoisted_1$
|
|
13899
|
+
}, toDisplayString(props.label), 9, _hoisted_2$d)
|
|
13900
|
+
], 8, _hoisted_1$p);
|
|
13773
13901
|
};
|
|
13774
13902
|
}
|
|
13775
13903
|
});
|
|
13776
13904
|
|
|
13777
|
-
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13905
|
+
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-21fb5571"]]);
|
|
13778
13906
|
|
|
13779
|
-
const _hoisted_1$
|
|
13780
|
-
const _hoisted_2$
|
|
13907
|
+
const _hoisted_1$o = { class: "kds-multi-select-dropdown-options" };
|
|
13908
|
+
const _hoisted_2$c = {
|
|
13781
13909
|
key: 0,
|
|
13782
13910
|
class: "kds-multi-select-dropdown-search"
|
|
13783
13911
|
};
|
|
13784
|
-
const _hoisted_3$
|
|
13912
|
+
const _hoisted_3$b = {
|
|
13785
13913
|
key: 1,
|
|
13786
13914
|
class: "kds-multi-select-dropdown-footer"
|
|
13787
13915
|
};
|
|
13788
|
-
const _sfc_main$
|
|
13916
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
13789
13917
|
__name: "MultiSelectDropdownContainer",
|
|
13790
13918
|
props: /* @__PURE__ */ mergeModels({
|
|
13791
13919
|
emptyText: {},
|
|
@@ -13908,8 +14036,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13908
14036
|
}
|
|
13909
14037
|
});
|
|
13910
14038
|
return (_ctx, _cache) => {
|
|
13911
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13912
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
14039
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
14040
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
13913
14041
|
createVNode(BaseInput, {
|
|
13914
14042
|
ref_key: "searchEl",
|
|
13915
14043
|
ref: searchEl,
|
|
@@ -13938,7 +14066,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13938
14066
|
"aria-label": "Dropdown options",
|
|
13939
14067
|
onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
|
|
13940
14068
|
}, null, 8, ["class", "possible-values", "loading", "empty-text", "controlled-externally"]),
|
|
13941
|
-
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14069
|
+
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
13942
14070
|
createVNode(unref(KdsListItemButton), {
|
|
13943
14071
|
label: anyVisibleSelected.value ? "Clear all" : "Select all",
|
|
13944
14072
|
"leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
|
|
@@ -13951,9 +14079,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13951
14079
|
}
|
|
13952
14080
|
});
|
|
13953
14081
|
|
|
13954
|
-
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14082
|
+
const MultiSelectDropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-68fe366f"]]);
|
|
13955
14083
|
|
|
13956
|
-
const _sfc_main$
|
|
14084
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
13957
14085
|
__name: "KdsMultiSelectDropdown",
|
|
13958
14086
|
props: /* @__PURE__ */ mergeModels({
|
|
13959
14087
|
placeholder: { default: "Select" },
|
|
@@ -14080,9 +14208,9 @@ const kdsDimensionComponentHeight20x = 320;
|
|
|
14080
14208
|
const kdsSpacingContainer0p10x = 1;
|
|
14081
14209
|
const kdsSpacingContainer0p25x = 4;
|
|
14082
14210
|
|
|
14083
|
-
const _hoisted_1$
|
|
14084
|
-
const _hoisted_2$
|
|
14085
|
-
const _sfc_main$
|
|
14211
|
+
const _hoisted_1$n = { class: "kds-resize-handle-area" };
|
|
14212
|
+
const _hoisted_2$b = ["aria-label"];
|
|
14213
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
14086
14214
|
__name: "ResizeHandle",
|
|
14087
14215
|
props: {
|
|
14088
14216
|
numberOfHandles: { default: 1 },
|
|
@@ -14104,7 +14232,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14104
14232
|
return `calc((100% - ${n - 1} * ${gap}) / ${2 * n})`;
|
|
14105
14233
|
});
|
|
14106
14234
|
return (_ctx, _cache) => {
|
|
14107
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14235
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
14108
14236
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedNumberOfHandles.value, (i) => {
|
|
14109
14237
|
return openBlock(), createElementBlock("button", {
|
|
14110
14238
|
key: i,
|
|
@@ -14113,22 +14241,22 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14113
14241
|
type: "button"
|
|
14114
14242
|
}, [..._cache[0] || (_cache[0] = [
|
|
14115
14243
|
createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
|
|
14116
|
-
])], 8, _hoisted_2$
|
|
14244
|
+
])], 8, _hoisted_2$b);
|
|
14117
14245
|
}), 128))
|
|
14118
14246
|
]);
|
|
14119
14247
|
};
|
|
14120
14248
|
}
|
|
14121
14249
|
});
|
|
14122
14250
|
|
|
14123
|
-
const ResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14251
|
+
const ResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-df3803d4"]]);
|
|
14124
14252
|
|
|
14125
|
-
const _hoisted_1$
|
|
14253
|
+
const _hoisted_1$m = {
|
|
14126
14254
|
ref: "content",
|
|
14127
14255
|
class: "kds-resize-container-content"
|
|
14128
14256
|
};
|
|
14129
14257
|
const DEFAULT_INITIAL_HEIGHT = 200;
|
|
14130
14258
|
const KEYBOARD_RESIZE_STEP = 10;
|
|
14131
|
-
const _sfc_main$
|
|
14259
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
14132
14260
|
__name: "KdsResizeContainer",
|
|
14133
14261
|
props: {
|
|
14134
14262
|
height: { default: () => DEFAULT_INITIAL_HEIGHT },
|
|
@@ -14191,7 +14319,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14191
14319
|
return openBlock(), createElementBlock("div", {
|
|
14192
14320
|
class: normalizeClass(["kds-resize-container", { dragging: unref(activePointerId) !== null }])
|
|
14193
14321
|
}, [
|
|
14194
|
-
createElementVNode("div", _hoisted_1$
|
|
14322
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
14195
14323
|
renderSlot(_ctx.$slots, "default", { contentStyle: contentStyle.value }, void 0, true)
|
|
14196
14324
|
], 512),
|
|
14197
14325
|
createVNode(ResizeHandle, {
|
|
@@ -14209,7 +14337,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14209
14337
|
}
|
|
14210
14338
|
});
|
|
14211
14339
|
|
|
14212
|
-
const KdsResizeContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14340
|
+
const KdsResizeContainer = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-46b33b01"]]);
|
|
14213
14341
|
|
|
14214
14342
|
const CLICK_META_KEY_TIMEOUT = 250;
|
|
14215
14343
|
const useMultiSelectListBoxSelection = ({
|
|
@@ -14501,17 +14629,17 @@ const useMultiSelectListBoxSelection = ({
|
|
|
14501
14629
|
};
|
|
14502
14630
|
};
|
|
14503
14631
|
|
|
14504
|
-
const _hoisted_1$
|
|
14505
|
-
const _hoisted_2$
|
|
14506
|
-
const _hoisted_3$
|
|
14632
|
+
const _hoisted_1$l = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
|
|
14633
|
+
const _hoisted_2$a = { class: "kds-multiselect-list-box-content-grid" };
|
|
14634
|
+
const _hoisted_3$a = {
|
|
14507
14635
|
key: 0,
|
|
14508
14636
|
class: "kds-multiselect-sticky-bottom"
|
|
14509
14637
|
};
|
|
14510
|
-
const _hoisted_4$
|
|
14638
|
+
const _hoisted_4$9 = {
|
|
14511
14639
|
key: 0,
|
|
14512
14640
|
class: "kds-multiselect-empty"
|
|
14513
14641
|
};
|
|
14514
|
-
const _sfc_main$
|
|
14642
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
14515
14643
|
__name: "KdsMultiSelectListBox",
|
|
14516
14644
|
props: /* @__PURE__ */ mergeModels({
|
|
14517
14645
|
description: {},
|
|
@@ -14764,7 +14892,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14764
14892
|
onBlur: _cache[17] || (_cache[17] = //@ts-ignore
|
|
14765
14893
|
(...args) => unref(onBlur) && unref(onBlur)(...args))
|
|
14766
14894
|
}), [
|
|
14767
|
-
createElementVNode("div", _hoisted_2$
|
|
14895
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
14768
14896
|
createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
|
|
14769
14897
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
|
|
14770
14898
|
return openBlock(), createBlock(unref(KdsListItem), {
|
|
@@ -14791,7 +14919,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14791
14919
|
}, null, 8, ["id", "class", "text", "accessory", "missing", "special", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
|
|
14792
14920
|
}), 128))
|
|
14793
14921
|
], 16),
|
|
14794
|
-
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14922
|
+
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
14795
14923
|
createVNode(unref(KdsListItem), {
|
|
14796
14924
|
id: generateOptionId(visibleBottomValue.value.id),
|
|
14797
14925
|
text: visibleBottomValue.value.text,
|
|
@@ -14811,8 +14939,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14811
14939
|
}, null, 8, ["id", "text", "accessory", "missing", "data-option-index", "selected", "disabled", "active", "trailing-icon"])
|
|
14812
14940
|
])) : createCommentVNode("", true)
|
|
14813
14941
|
])
|
|
14814
|
-
], 16, _hoisted_1$
|
|
14815
|
-
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14942
|
+
], 16, _hoisted_1$l),
|
|
14943
|
+
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
14816
14944
|
createVNode(KdsEmptyState, {
|
|
14817
14945
|
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
14818
14946
|
"loading-spinner": __props.loading,
|
|
@@ -14830,16 +14958,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14830
14958
|
}
|
|
14831
14959
|
});
|
|
14832
14960
|
|
|
14833
|
-
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14961
|
+
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2c5e2dda"]]);
|
|
14834
14962
|
|
|
14835
|
-
const _hoisted_1$
|
|
14836
|
-
const _hoisted_2$
|
|
14837
|
-
const _hoisted_3$
|
|
14838
|
-
const _hoisted_4$
|
|
14963
|
+
const _hoisted_1$k = { class: "kds-list-column" };
|
|
14964
|
+
const _hoisted_2$9 = { class: "kds-list-header" };
|
|
14965
|
+
const _hoisted_3$9 = { class: "kds-list-label" };
|
|
14966
|
+
const _hoisted_4$8 = {
|
|
14839
14967
|
key: 0,
|
|
14840
14968
|
class: "kds-list-count"
|
|
14841
14969
|
};
|
|
14842
|
-
const _hoisted_5$
|
|
14970
|
+
const _hoisted_5$4 = { class: "kds-button-column" };
|
|
14843
14971
|
const _hoisted_6$2 = { class: "kds-list-column" };
|
|
14844
14972
|
const _hoisted_7$1 = { class: "kds-list-header" };
|
|
14845
14973
|
const _hoisted_8$1 = { class: "kds-list-label" };
|
|
@@ -14848,7 +14976,7 @@ const _hoisted_9$1 = {
|
|
|
14848
14976
|
class: "kds-list-count"
|
|
14849
14977
|
};
|
|
14850
14978
|
const UNKNOWN_VALUE_ID = "__unknown-value-option__";
|
|
14851
|
-
const _sfc_main$
|
|
14979
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
14852
14980
|
__name: "TwinListBody",
|
|
14853
14981
|
props: /* @__PURE__ */ mergeModels({
|
|
14854
14982
|
disabled: { type: Boolean, default: false },
|
|
@@ -15022,10 +15150,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15022
15150
|
class: "kds-twin-list-body",
|
|
15023
15151
|
style: normalizeStyle(contentStyle)
|
|
15024
15152
|
}, [
|
|
15025
|
-
createElementVNode("div", _hoisted_1$
|
|
15026
|
-
createElementVNode("div", _hoisted_2$
|
|
15027
|
-
createElementVNode("span", _hoisted_3$
|
|
15028
|
-
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
15153
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
15154
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
15155
|
+
createElementVNode("span", _hoisted_3$9, toDisplayString(__props.excludeLabel), 1),
|
|
15156
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$8, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15029
15157
|
]),
|
|
15030
15158
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
15031
15159
|
modelValue: leftSelected.value,
|
|
@@ -15044,8 +15172,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15044
15172
|
onKeyEnter: moveRight
|
|
15045
15173
|
}, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
|
|
15046
15174
|
]),
|
|
15047
|
-
createElementVNode("div", _hoisted_5$
|
|
15048
|
-
createVNode(unref(_sfc_main$
|
|
15175
|
+
createElementVNode("div", _hoisted_5$4, [
|
|
15176
|
+
createVNode(unref(_sfc_main$1n), {
|
|
15049
15177
|
"leading-icon": "chevron-right",
|
|
15050
15178
|
ariaLabel: "Move selected values right",
|
|
15051
15179
|
title: "Move selected values right",
|
|
@@ -15054,7 +15182,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15054
15182
|
disabled: effectiveDisabled.value || leftSelected.value.length === 0,
|
|
15055
15183
|
onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
|
|
15056
15184
|
}, null, 8, ["disabled"]),
|
|
15057
|
-
createVNode(unref(_sfc_main$
|
|
15185
|
+
createVNode(unref(_sfc_main$1n), {
|
|
15058
15186
|
"leading-icon": "chevron-right-double",
|
|
15059
15187
|
ariaLabel: "Move all values right",
|
|
15060
15188
|
title: "Move all values right",
|
|
@@ -15066,7 +15194,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15066
15194
|
...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
|
|
15067
15195
|
]))
|
|
15068
15196
|
}, null, 8, ["disabled"]),
|
|
15069
|
-
createVNode(unref(_sfc_main$
|
|
15197
|
+
createVNode(unref(_sfc_main$1n), {
|
|
15070
15198
|
"leading-icon": "chevron-left",
|
|
15071
15199
|
ariaLabel: "Move selected values left",
|
|
15072
15200
|
title: "Move selected values left",
|
|
@@ -15075,7 +15203,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15075
15203
|
disabled: effectiveDisabled.value || rightSelected.value.length === 0,
|
|
15076
15204
|
onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
|
|
15077
15205
|
}, null, 8, ["disabled"]),
|
|
15078
|
-
createVNode(unref(_sfc_main$
|
|
15206
|
+
createVNode(unref(_sfc_main$1n), {
|
|
15079
15207
|
"leading-icon": "chevron-left-double",
|
|
15080
15208
|
ariaLabel: "Move all values left",
|
|
15081
15209
|
title: "Move all values left",
|
|
@@ -15118,7 +15246,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15118
15246
|
}
|
|
15119
15247
|
});
|
|
15120
15248
|
|
|
15121
|
-
const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15249
|
+
const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-11062d8e"]]);
|
|
15122
15250
|
|
|
15123
15251
|
const kdsTwinListSearchMode = {
|
|
15124
15252
|
MANUAL: "manual",
|
|
@@ -15127,7 +15255,7 @@ const kdsTwinListSearchMode = {
|
|
|
15127
15255
|
};
|
|
15128
15256
|
const kdsTwinListSearchModes = Object.values(kdsTwinListSearchMode);
|
|
15129
15257
|
|
|
15130
|
-
const _sfc_main$
|
|
15258
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
15131
15259
|
__name: "TwinListHeader",
|
|
15132
15260
|
props: /* @__PURE__ */ mergeModels({
|
|
15133
15261
|
filterTypes: { default: () => void 0 },
|
|
@@ -15203,7 +15331,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15203
15331
|
ariaLabel: "Search values",
|
|
15204
15332
|
placeholder: "Search",
|
|
15205
15333
|
disabled: __props.disabled
|
|
15206
|
-
}, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15334
|
+
}, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$H), {
|
|
15207
15335
|
key: 2,
|
|
15208
15336
|
modelValue: pattern.value,
|
|
15209
15337
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
|
|
@@ -15217,7 +15345,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15217
15345
|
placeholder: "Pattern",
|
|
15218
15346
|
disabled: __props.disabled,
|
|
15219
15347
|
"onUpdate:regex": _cache[6] || (_cache[6] = ($event) => emit("update:regex", $event))
|
|
15220
|
-
}, null, 8, ["modelValue", "case-sensitive", "exclude-matches", "use-regex", "disabled"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
15348
|
+
}, null, 8, ["modelValue", "case-sensitive", "exclude-matches", "use-regex", "disabled"])) : (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
15221
15349
|
key: 3,
|
|
15222
15350
|
modelValue: selectedTypes.value,
|
|
15223
15351
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTypes.value = $event),
|
|
@@ -15231,8 +15359,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15231
15359
|
}
|
|
15232
15360
|
});
|
|
15233
15361
|
|
|
15234
|
-
const _hoisted_1$
|
|
15235
|
-
const _sfc_main$
|
|
15362
|
+
const _hoisted_1$j = { class: "kds-twin-list" };
|
|
15363
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
15236
15364
|
__name: "KdsTwinList",
|
|
15237
15365
|
props: /* @__PURE__ */ mergeModels({
|
|
15238
15366
|
description: {},
|
|
@@ -15363,8 +15491,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15363
15491
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
15364
15492
|
}, {
|
|
15365
15493
|
default: withCtx(() => [
|
|
15366
|
-
createElementVNode("div", _hoisted_1$
|
|
15367
|
-
createVNode(_sfc_main$
|
|
15494
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
15495
|
+
createVNode(_sfc_main$q, {
|
|
15368
15496
|
mode: mode.value,
|
|
15369
15497
|
"onUpdate:mode": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
|
|
15370
15498
|
pattern: pattern.value,
|
|
@@ -15405,7 +15533,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15405
15533
|
}
|
|
15406
15534
|
});
|
|
15407
15535
|
|
|
15408
|
-
const KdsTwinList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15536
|
+
const KdsTwinList = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-1a9327b5"]]);
|
|
15409
15537
|
|
|
15410
15538
|
const useSortableListBoxReorder = ({
|
|
15411
15539
|
orderedIds,
|
|
@@ -15464,11 +15592,11 @@ const useSortableListBoxReorder = ({
|
|
|
15464
15592
|
};
|
|
15465
15593
|
};
|
|
15466
15594
|
|
|
15467
|
-
const _hoisted_1$
|
|
15468
|
-
const _hoisted_2$
|
|
15469
|
-
const _hoisted_3$
|
|
15470
|
-
const _hoisted_4$
|
|
15471
|
-
const _sfc_main$
|
|
15595
|
+
const _hoisted_1$i = { class: "kds-sortable-list-box-wrapper" };
|
|
15596
|
+
const _hoisted_2$8 = { class: "kds-sortable-top-buttons" };
|
|
15597
|
+
const _hoisted_3$8 = { class: "kds-sortable-top-buttons-left" };
|
|
15598
|
+
const _hoisted_4$7 = { class: "kds-sortable-footer-buttons" };
|
|
15599
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
15472
15600
|
__name: "KdsSortableListBox",
|
|
15473
15601
|
props: /* @__PURE__ */ mergeModels({
|
|
15474
15602
|
possibleValues: {},
|
|
@@ -15525,10 +15653,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15525
15653
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
15526
15654
|
}), {
|
|
15527
15655
|
default: withCtx(() => [
|
|
15528
|
-
createElementVNode("div", _hoisted_1$
|
|
15529
|
-
createElementVNode("div", _hoisted_2$
|
|
15530
|
-
createElementVNode("div", _hoisted_3$
|
|
15531
|
-
createVNode(_sfc_main$
|
|
15656
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
15657
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
15658
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
15659
|
+
createVNode(_sfc_main$1n, {
|
|
15532
15660
|
size: "small",
|
|
15533
15661
|
variant: "transparent",
|
|
15534
15662
|
"leading-icon": "sort-descending",
|
|
@@ -15536,7 +15664,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15536
15664
|
disabled: __props.disabled,
|
|
15537
15665
|
onClick: _cache[0] || (_cache[0] = ($event) => applyReorder(unref(sortByText)(true, optionLookup.value)))
|
|
15538
15666
|
}, null, 8, ["disabled"]),
|
|
15539
|
-
createVNode(_sfc_main$
|
|
15667
|
+
createVNode(_sfc_main$1n, {
|
|
15540
15668
|
size: "small",
|
|
15541
15669
|
variant: "transparent",
|
|
15542
15670
|
"leading-icon": "sort-ascending",
|
|
@@ -15545,7 +15673,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15545
15673
|
onClick: _cache[1] || (_cache[1] = ($event) => applyReorder(unref(sortByText)(false, optionLookup.value)))
|
|
15546
15674
|
}, null, 8, ["disabled"])
|
|
15547
15675
|
]),
|
|
15548
|
-
createVNode(_sfc_main$
|
|
15676
|
+
createVNode(_sfc_main$1n, {
|
|
15549
15677
|
size: "small",
|
|
15550
15678
|
variant: "transparent",
|
|
15551
15679
|
destructive: "",
|
|
@@ -15566,8 +15694,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15566
15694
|
ariaLabel: formFieldProps.label ?? formFieldProps.ariaLabel ?? ""
|
|
15567
15695
|
/* fallback only for TS */
|
|
15568
15696
|
}, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
|
|
15569
|
-
createElementVNode("div", _hoisted_4$
|
|
15570
|
-
createVNode(_sfc_main$
|
|
15697
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
15698
|
+
createVNode(_sfc_main$1n, {
|
|
15571
15699
|
size: "small",
|
|
15572
15700
|
variant: "transparent",
|
|
15573
15701
|
"leading-icon": "to-top",
|
|
@@ -15576,7 +15704,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15576
15704
|
disabled: __props.disabled || !unref(canMoveUp),
|
|
15577
15705
|
onClick: moveToTop
|
|
15578
15706
|
}, null, 8, ["disabled"]),
|
|
15579
|
-
createVNode(_sfc_main$
|
|
15707
|
+
createVNode(_sfc_main$1n, {
|
|
15580
15708
|
size: "small",
|
|
15581
15709
|
variant: "transparent",
|
|
15582
15710
|
"leading-icon": "to-bottom",
|
|
@@ -15585,7 +15713,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15585
15713
|
disabled: __props.disabled || !unref(canMoveDown),
|
|
15586
15714
|
onClick: moveToBottom
|
|
15587
15715
|
}, null, 8, ["disabled"]),
|
|
15588
|
-
createVNode(_sfc_main$
|
|
15716
|
+
createVNode(_sfc_main$1n, {
|
|
15589
15717
|
size: "small",
|
|
15590
15718
|
variant: "transparent",
|
|
15591
15719
|
"leading-icon": "arrow-up",
|
|
@@ -15594,7 +15722,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15594
15722
|
disabled: __props.disabled || !unref(canMoveUp),
|
|
15595
15723
|
onClick: moveUp
|
|
15596
15724
|
}, null, 8, ["disabled"]),
|
|
15597
|
-
createVNode(_sfc_main$
|
|
15725
|
+
createVNode(_sfc_main$1n, {
|
|
15598
15726
|
size: "small",
|
|
15599
15727
|
variant: "transparent",
|
|
15600
15728
|
"leading-icon": "arrow-down",
|
|
@@ -15612,10 +15740,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15612
15740
|
}
|
|
15613
15741
|
});
|
|
15614
15742
|
|
|
15615
|
-
const KdsSortableListBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15743
|
+
const KdsSortableListBox = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ee7b63e2"]]);
|
|
15616
15744
|
|
|
15617
|
-
const _hoisted_1$
|
|
15618
|
-
const _sfc_main$
|
|
15745
|
+
const _hoisted_1$h = { class: "kds-info-popover-content" };
|
|
15746
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
15619
15747
|
__name: "InfoPopover",
|
|
15620
15748
|
props: {
|
|
15621
15749
|
content: {}
|
|
@@ -15623,7 +15751,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
15623
15751
|
setup(__props) {
|
|
15624
15752
|
const props = __props;
|
|
15625
15753
|
return (_ctx, _cache) => {
|
|
15626
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15754
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
15627
15755
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
15628
15756
|
createTextVNode(toDisplayString(props.content), 1)
|
|
15629
15757
|
], true)
|
|
@@ -15632,11 +15760,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
15632
15760
|
}
|
|
15633
15761
|
});
|
|
15634
15762
|
|
|
15635
|
-
const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15763
|
+
const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-951f2a2b"]]);
|
|
15636
15764
|
|
|
15637
|
-
const _hoisted_1$
|
|
15765
|
+
const _hoisted_1$g = ["aria-pressed", "aria-expanded", "aria-controls"];
|
|
15638
15766
|
const TITLE = "Click for more information";
|
|
15639
|
-
const _sfc_main$
|
|
15767
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
15640
15768
|
__name: "KdsInfoToggleButton",
|
|
15641
15769
|
props: /* @__PURE__ */ mergeModels({
|
|
15642
15770
|
content: {},
|
|
@@ -15678,7 +15806,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
15678
15806
|
name: "circle-question",
|
|
15679
15807
|
size: "small"
|
|
15680
15808
|
})
|
|
15681
|
-
], 16, _hoisted_1$
|
|
15809
|
+
], 16, _hoisted_1$g),
|
|
15682
15810
|
createVNode(KdsPopover, {
|
|
15683
15811
|
ref_key: "popoverEl",
|
|
15684
15812
|
ref: popoverEl,
|
|
@@ -15705,18 +15833,18 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
15705
15833
|
}
|
|
15706
15834
|
});
|
|
15707
15835
|
|
|
15708
|
-
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15836
|
+
const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2e9ef96a"]]);
|
|
15709
15837
|
|
|
15710
15838
|
const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
15711
15839
|
__proto__: null,
|
|
15712
15840
|
default: KdsInfoToggleButton
|
|
15713
15841
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
15714
15842
|
|
|
15715
|
-
const _hoisted_1$
|
|
15843
|
+
const _hoisted_1$f = {
|
|
15716
15844
|
class: "kds-variable-popover",
|
|
15717
15845
|
tabindex: "0"
|
|
15718
15846
|
};
|
|
15719
|
-
const _sfc_main$
|
|
15847
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
15720
15848
|
__name: "VariablePopover",
|
|
15721
15849
|
props: {
|
|
15722
15850
|
content: {}
|
|
@@ -15724,7 +15852,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15724
15852
|
setup(__props) {
|
|
15725
15853
|
const props = __props;
|
|
15726
15854
|
return (_ctx, _cache) => {
|
|
15727
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15855
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
15728
15856
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
15729
15857
|
createTextVNode(toDisplayString(props.content), 1)
|
|
15730
15858
|
], true)
|
|
@@ -15733,10 +15861,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15733
15861
|
}
|
|
15734
15862
|
});
|
|
15735
15863
|
|
|
15736
|
-
const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15864
|
+
const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-8a0c56d0"]]);
|
|
15737
15865
|
|
|
15738
|
-
const _hoisted_1$
|
|
15739
|
-
const _sfc_main$
|
|
15866
|
+
const _hoisted_1$e = ["title", "aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
|
|
15867
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
15740
15868
|
__name: "KdsVariableToggleButton",
|
|
15741
15869
|
props: /* @__PURE__ */ mergeModels({
|
|
15742
15870
|
content: {},
|
|
@@ -15825,7 +15953,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15825
15953
|
name: iconName.value,
|
|
15826
15954
|
size: "small"
|
|
15827
15955
|
}, null, 8, ["name"])
|
|
15828
|
-
], 16, _hoisted_1$
|
|
15956
|
+
], 16, _hoisted_1$e),
|
|
15829
15957
|
createVNode(KdsPopover, {
|
|
15830
15958
|
ref_key: "popoverEl",
|
|
15831
15959
|
ref: popoverEl,
|
|
@@ -15853,15 +15981,15 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15853
15981
|
}
|
|
15854
15982
|
});
|
|
15855
15983
|
|
|
15856
|
-
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15984
|
+
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-b6d29842"]]);
|
|
15857
15985
|
|
|
15858
|
-
const _hoisted_1$
|
|
15859
|
-
const _hoisted_2$
|
|
15860
|
-
const _hoisted_3$
|
|
15861
|
-
const _hoisted_4$
|
|
15862
|
-
const _hoisted_5$
|
|
15986
|
+
const _hoisted_1$d = { class: "kds-accordion" };
|
|
15987
|
+
const _hoisted_2$7 = ["name", "open", "onToggle"];
|
|
15988
|
+
const _hoisted_3$7 = ["aria-disabled", "tabindex", "onClick", "onKeydown"];
|
|
15989
|
+
const _hoisted_4$6 = { class: "kds-accordion-headline-container" };
|
|
15990
|
+
const _hoisted_5$3 = { class: "kds-accordion-headline" };
|
|
15863
15991
|
const _hoisted_6$1 = { class: "kds-accordion-content" };
|
|
15864
|
-
const _sfc_main$
|
|
15992
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
15865
15993
|
__name: "KdsAccordion",
|
|
15866
15994
|
props: /* @__PURE__ */ mergeModels({
|
|
15867
15995
|
items: {},
|
|
@@ -15986,7 +16114,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15986
16114
|
() => __props.singleExpand ? `kds-accordion-${accordionId}` : void 0
|
|
15987
16115
|
);
|
|
15988
16116
|
return (_ctx, _cache) => {
|
|
15989
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16117
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
15990
16118
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
15991
16119
|
return openBlock(), createElementBlock("details", {
|
|
15992
16120
|
key: item.id,
|
|
@@ -16004,56 +16132,56 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
16004
16132
|
onClick: ($event) => onSummaryClick($event, item),
|
|
16005
16133
|
onKeydown: ($event) => handleTriggerKeydown($event, item)
|
|
16006
16134
|
}, [
|
|
16007
|
-
createElementVNode("span", _hoisted_4$
|
|
16135
|
+
createElementVNode("span", _hoisted_4$6, [
|
|
16008
16136
|
item.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
16009
16137
|
key: 0,
|
|
16010
16138
|
name: item.leadingIcon,
|
|
16011
16139
|
size: "small",
|
|
16012
16140
|
disabled: item.disabled
|
|
16013
16141
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
16014
|
-
createElementVNode("span", _hoisted_5$
|
|
16142
|
+
createElementVNode("span", _hoisted_5$3, toDisplayString(item.headline), 1)
|
|
16015
16143
|
]),
|
|
16016
16144
|
createVNode(KdsIcon, {
|
|
16017
16145
|
name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
|
|
16018
16146
|
size: "small"
|
|
16019
16147
|
}, null, 8, ["name"])
|
|
16020
|
-
], 40, _hoisted_3$
|
|
16148
|
+
], 40, _hoisted_3$7),
|
|
16021
16149
|
createElementVNode("div", _hoisted_6$1, [
|
|
16022
16150
|
renderSlot(_ctx.$slots, item.id, { item }, void 0, true)
|
|
16023
16151
|
])
|
|
16024
|
-
], 40, _hoisted_2$
|
|
16152
|
+
], 40, _hoisted_2$7);
|
|
16025
16153
|
}), 128))
|
|
16026
16154
|
]);
|
|
16027
16155
|
};
|
|
16028
16156
|
}
|
|
16029
16157
|
});
|
|
16030
16158
|
|
|
16031
|
-
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16159
|
+
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0beea165"]]);
|
|
16032
16160
|
|
|
16033
|
-
const _hoisted_1$
|
|
16034
|
-
const _hoisted_2$
|
|
16161
|
+
const _hoisted_1$c = { class: "kds-card-header" };
|
|
16162
|
+
const _hoisted_2$6 = {
|
|
16035
16163
|
key: 0,
|
|
16036
16164
|
class: "accessory"
|
|
16037
16165
|
};
|
|
16038
|
-
const _hoisted_3$
|
|
16039
|
-
const _hoisted_4$
|
|
16166
|
+
const _hoisted_3$6 = { key: 1 };
|
|
16167
|
+
const _hoisted_4$5 = {
|
|
16040
16168
|
key: 2,
|
|
16041
16169
|
class: "actions",
|
|
16042
16170
|
"data-kds-card-secondary-action": ""
|
|
16043
16171
|
};
|
|
16044
|
-
const _sfc_main$
|
|
16172
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
16045
16173
|
__name: "CardHeader",
|
|
16046
16174
|
props: {
|
|
16047
16175
|
headline: {}
|
|
16048
16176
|
},
|
|
16049
16177
|
setup(__props) {
|
|
16050
16178
|
return (_ctx, _cache) => {
|
|
16051
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16052
|
-
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16179
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
16180
|
+
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
16053
16181
|
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16054
16182
|
])) : createCommentVNode("", true),
|
|
16055
|
-
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$
|
|
16056
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
16183
|
+
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$6, toDisplayString(__props.headline), 1)) : createCommentVNode("", true),
|
|
16184
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
16057
16185
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16058
16186
|
])) : createCommentVNode("", true)
|
|
16059
16187
|
]);
|
|
@@ -16061,9 +16189,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
16061
16189
|
}
|
|
16062
16190
|
});
|
|
16063
16191
|
|
|
16064
|
-
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16192
|
+
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-09093cc0"]]);
|
|
16065
16193
|
|
|
16066
|
-
const _sfc_main$
|
|
16194
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
16067
16195
|
__name: "BaseCard",
|
|
16068
16196
|
props: {
|
|
16069
16197
|
variant: {},
|
|
@@ -16102,9 +16230,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
16102
16230
|
}
|
|
16103
16231
|
});
|
|
16104
16232
|
|
|
16105
|
-
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16233
|
+
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a1aff6d6"]]);
|
|
16106
16234
|
|
|
16107
|
-
const _sfc_main$
|
|
16235
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
16108
16236
|
__name: "KdsCard",
|
|
16109
16237
|
props: {
|
|
16110
16238
|
variant: { default: "outlined" },
|
|
@@ -16141,8 +16269,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
16141
16269
|
}
|
|
16142
16270
|
});
|
|
16143
16271
|
|
|
16144
|
-
const _hoisted_1$
|
|
16145
|
-
const _sfc_main$
|
|
16272
|
+
const _hoisted_1$b = ["aria-label", "aria-labelledby", "disabled"];
|
|
16273
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
16146
16274
|
__name: "KdsClickableCard",
|
|
16147
16275
|
props: {
|
|
16148
16276
|
variant: { default: "filled" },
|
|
@@ -16175,7 +16303,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16175
16303
|
disabled: __props.disabled,
|
|
16176
16304
|
"data-kds-card-primary-action": "",
|
|
16177
16305
|
onClick
|
|
16178
|
-
}, null, 8, _hoisted_1$
|
|
16306
|
+
}, null, 8, _hoisted_1$b)
|
|
16179
16307
|
]),
|
|
16180
16308
|
default: withCtx(() => [
|
|
16181
16309
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -16201,9 +16329,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16201
16329
|
}
|
|
16202
16330
|
});
|
|
16203
16331
|
|
|
16204
|
-
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16332
|
+
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-04004cbf"]]);
|
|
16205
16333
|
|
|
16206
|
-
const _sfc_main$
|
|
16334
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
16207
16335
|
__name: "KdsLinkCard",
|
|
16208
16336
|
props: {
|
|
16209
16337
|
variant: { default: "filled" },
|
|
@@ -16267,10 +16395,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
16267
16395
|
}
|
|
16268
16396
|
});
|
|
16269
16397
|
|
|
16270
|
-
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16398
|
+
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-1696fd9e"]]);
|
|
16271
16399
|
|
|
16272
|
-
const _hoisted_1$
|
|
16273
|
-
const _sfc_main$
|
|
16400
|
+
const _hoisted_1$a = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
|
|
16401
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
16274
16402
|
__name: "KdsSelectableCard",
|
|
16275
16403
|
props: /* @__PURE__ */ mergeModels({
|
|
16276
16404
|
variant: { default: "filled" },
|
|
@@ -16308,7 +16436,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16308
16436
|
"aria-pressed": modelValue.value,
|
|
16309
16437
|
"data-kds-card-primary-action": "",
|
|
16310
16438
|
onClick
|
|
16311
|
-
}, null, 8, _hoisted_1$
|
|
16439
|
+
}, null, 8, _hoisted_1$a)
|
|
16312
16440
|
]),
|
|
16313
16441
|
default: withCtx(() => [
|
|
16314
16442
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -16334,7 +16462,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16334
16462
|
}
|
|
16335
16463
|
});
|
|
16336
16464
|
|
|
16337
|
-
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16465
|
+
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-af9b9bf6"]]);
|
|
16338
16466
|
|
|
16339
16467
|
const kdsCardVariant = {
|
|
16340
16468
|
FILLED: "filled",
|
|
@@ -16355,17 +16483,17 @@ const kdsPanelBodyVariant = {
|
|
|
16355
16483
|
};
|
|
16356
16484
|
const kdsPanelBodyVariants = Object.values(kdsPanelBodyVariant);
|
|
16357
16485
|
|
|
16358
|
-
const _hoisted_1$
|
|
16359
|
-
const _hoisted_2$
|
|
16486
|
+
const _hoisted_1$9 = { class: "kds-panel" };
|
|
16487
|
+
const _hoisted_2$5 = {
|
|
16360
16488
|
key: 0,
|
|
16361
16489
|
class: "kds-panel-header"
|
|
16362
16490
|
};
|
|
16363
|
-
const _hoisted_3$
|
|
16364
|
-
const _hoisted_4$
|
|
16491
|
+
const _hoisted_3$5 = ["id"];
|
|
16492
|
+
const _hoisted_4$4 = {
|
|
16365
16493
|
key: 0,
|
|
16366
16494
|
class: "kds-panel-headline-text"
|
|
16367
16495
|
};
|
|
16368
|
-
const _hoisted_5$
|
|
16496
|
+
const _hoisted_5$2 = {
|
|
16369
16497
|
key: 1,
|
|
16370
16498
|
class: "kds-panel-header-trailing"
|
|
16371
16499
|
};
|
|
@@ -16376,7 +16504,7 @@ const _hoisted_7 = {
|
|
|
16376
16504
|
};
|
|
16377
16505
|
const _hoisted_8 = { class: "kds-panel-footer-leading" };
|
|
16378
16506
|
const _hoisted_9 = { class: "kds-panel-footer-trailing" };
|
|
16379
|
-
const _sfc_main$
|
|
16507
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
16380
16508
|
__name: "KdsPanel",
|
|
16381
16509
|
props: {
|
|
16382
16510
|
headline: {},
|
|
@@ -16389,7 +16517,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16389
16517
|
},
|
|
16390
16518
|
setup(__props) {
|
|
16391
16519
|
useCssVars((_ctx) => ({
|
|
16392
|
-
"
|
|
16520
|
+
"v2ddcad1c": _ctx.bodyOverflow
|
|
16393
16521
|
}));
|
|
16394
16522
|
const headlineId = useId();
|
|
16395
16523
|
const hasHeader = computed(
|
|
@@ -16408,37 +16536,37 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16408
16536
|
() => isBodyKeyboardFocusable.value && !bodyAriaLabel.value ? slotHeadlineId.value : void 0
|
|
16409
16537
|
);
|
|
16410
16538
|
return (_ctx, _cache) => {
|
|
16411
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16412
|
-
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16539
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
16540
|
+
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
16413
16541
|
__props.headline ? (openBlock(), createElementBlock("div", {
|
|
16414
16542
|
key: 0,
|
|
16415
16543
|
id: unref(headlineId),
|
|
16416
16544
|
class: "kds-panel-headline"
|
|
16417
16545
|
}, [
|
|
16418
|
-
typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$
|
|
16546
|
+
typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$4, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1n, mergeProps({ key: 1 }, __props.headline.props, {
|
|
16419
16547
|
size: "small",
|
|
16420
16548
|
onClick: __props.headline.onClick
|
|
16421
|
-
}), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$
|
|
16549
|
+
}), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1c, mergeProps({ key: 2 }, __props.headline.props, {
|
|
16422
16550
|
size: "small",
|
|
16423
16551
|
onItemClick: __props.headline.onItemClick
|
|
16424
16552
|
}), null, 16, ["onItemClick"])) : createCommentVNode("", true)
|
|
16425
|
-
], 8, _hoisted_3$
|
|
16426
|
-
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
16553
|
+
], 8, _hoisted_3$5)) : createCommentVNode("", true),
|
|
16554
|
+
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
16427
16555
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
|
|
16428
16556
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
16429
|
-
action.type === "button" ? (openBlock(), createBlock(_sfc_main$
|
|
16557
|
+
action.type === "button" ? (openBlock(), createBlock(_sfc_main$1n, mergeProps({
|
|
16430
16558
|
key: 0,
|
|
16431
16559
|
ref_for: true
|
|
16432
16560
|
}, action.props, {
|
|
16433
16561
|
size: "small",
|
|
16434
16562
|
onClick: action.onClick
|
|
16435
|
-
}), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$
|
|
16563
|
+
}), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1k, mergeProps({
|
|
16436
16564
|
key: 1,
|
|
16437
16565
|
ref_for: true
|
|
16438
16566
|
}, action.props, {
|
|
16439
16567
|
size: "small",
|
|
16440
16568
|
"onUpdate:modelValue": action.onUpdateModelValue
|
|
16441
|
-
}), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$
|
|
16569
|
+
}), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1c, mergeProps({
|
|
16442
16570
|
key: 2,
|
|
16443
16571
|
ref_for: true
|
|
16444
16572
|
}, action.props, {
|
|
@@ -16467,20 +16595,18 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16467
16595
|
__props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
16468
16596
|
createElementVNode("div", _hoisted_8, [
|
|
16469
16597
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
|
|
16470
|
-
return openBlock(), createBlock(_sfc_main$
|
|
16598
|
+
return openBlock(), createBlock(_sfc_main$1n, mergeProps({
|
|
16471
16599
|
key: `leading-${index}`
|
|
16472
16600
|
}, { ref_for: true }, action.props, {
|
|
16473
|
-
size: "small",
|
|
16474
16601
|
onClick: action.onClick
|
|
16475
16602
|
}), null, 16, ["onClick"]);
|
|
16476
16603
|
}), 128))
|
|
16477
16604
|
]),
|
|
16478
16605
|
createElementVNode("div", _hoisted_9, [
|
|
16479
16606
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
|
|
16480
|
-
return openBlock(), createBlock(_sfc_main$
|
|
16607
|
+
return openBlock(), createBlock(_sfc_main$1n, mergeProps({
|
|
16481
16608
|
key: `trailing-${index}`
|
|
16482
16609
|
}, { ref_for: true }, action.props, {
|
|
16483
|
-
size: "small",
|
|
16484
16610
|
onClick: action.onClick
|
|
16485
16611
|
}), null, 16, ["onClick"]);
|
|
16486
16612
|
}), 128))
|
|
@@ -16491,9 +16617,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16491
16617
|
}
|
|
16492
16618
|
});
|
|
16493
16619
|
|
|
16494
|
-
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16620
|
+
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-d3124a50"]]);
|
|
16495
16621
|
|
|
16496
|
-
const _sfc_main$
|
|
16622
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
16497
16623
|
__name: "TabBarItemAccessory",
|
|
16498
16624
|
props: {
|
|
16499
16625
|
accessory: {},
|
|
@@ -16623,15 +16749,15 @@ const useTabBarAdaptiveLayout = ({
|
|
|
16623
16749
|
};
|
|
16624
16750
|
};
|
|
16625
16751
|
|
|
16626
|
-
const _hoisted_1$
|
|
16627
|
-
const _hoisted_2$
|
|
16628
|
-
const _hoisted_3$
|
|
16629
|
-
const _hoisted_4$
|
|
16752
|
+
const _hoisted_1$8 = { class: "kds-tab-bar-wrapper" };
|
|
16753
|
+
const _hoisted_2$4 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
16754
|
+
const _hoisted_3$4 = { class: "kds-tab-label" };
|
|
16755
|
+
const _hoisted_4$3 = {
|
|
16630
16756
|
key: 1,
|
|
16631
16757
|
class: "kds-tab-indicator"
|
|
16632
16758
|
};
|
|
16633
16759
|
const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
|
|
16634
|
-
const _sfc_main$
|
|
16760
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
16635
16761
|
__name: "KdsTabBar",
|
|
16636
16762
|
props: /* @__PURE__ */ mergeModels({
|
|
16637
16763
|
tabs: {},
|
|
@@ -16755,7 +16881,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16755
16881
|
{ immediate: true }
|
|
16756
16882
|
);
|
|
16757
16883
|
return (_ctx, _cache) => {
|
|
16758
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16884
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
16759
16885
|
createElementVNode("div", {
|
|
16760
16886
|
ref_key: "availableWidthContainer",
|
|
16761
16887
|
ref: availableWidthContainer,
|
|
@@ -16785,15 +16911,15 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16785
16911
|
onClick: ($event) => selectTab(tab),
|
|
16786
16912
|
onKeydown: ($event) => handleKeydown($event, tab)
|
|
16787
16913
|
}, [
|
|
16788
|
-
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$
|
|
16914
|
+
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$b, {
|
|
16789
16915
|
key: 0,
|
|
16790
16916
|
accessory: tab.accessory,
|
|
16791
16917
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
16792
16918
|
disabled: isTabDisabled(tab)
|
|
16793
16919
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
16794
|
-
createElementVNode("span", _hoisted_3$
|
|
16795
|
-
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
16796
|
-
], 42, _hoisted_2$
|
|
16920
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(tab.label), 1),
|
|
16921
|
+
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$3)) : createCommentVNode("", true)
|
|
16922
|
+
], 42, _hoisted_2$4);
|
|
16797
16923
|
}), 128))
|
|
16798
16924
|
], 2)
|
|
16799
16925
|
]);
|
|
@@ -16801,7 +16927,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16801
16927
|
}
|
|
16802
16928
|
});
|
|
16803
16929
|
|
|
16804
|
-
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16930
|
+
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-91f95f5f"]]);
|
|
16805
16931
|
|
|
16806
16932
|
const kdsTabBarSize = {
|
|
16807
16933
|
SMALL: "small",
|
|
@@ -16809,7 +16935,7 @@ const kdsTabBarSize = {
|
|
|
16809
16935
|
};
|
|
16810
16936
|
const kdsTabBarSizes = Object.values(kdsTabBarSize);
|
|
16811
16937
|
|
|
16812
|
-
const _sfc_main$
|
|
16938
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
16813
16939
|
__name: "LoadingSkeletonItem",
|
|
16814
16940
|
props: {
|
|
16815
16941
|
shape: { default: "text" }
|
|
@@ -16824,24 +16950,24 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16824
16950
|
}
|
|
16825
16951
|
});
|
|
16826
16952
|
|
|
16827
|
-
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16953
|
+
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-86829b28"]]);
|
|
16828
16954
|
|
|
16829
|
-
const _hoisted_1$
|
|
16955
|
+
const _hoisted_1$7 = {
|
|
16830
16956
|
key: 0,
|
|
16831
16957
|
class: "kds-loading-skeleton",
|
|
16832
16958
|
"aria-busy": "true"
|
|
16833
16959
|
};
|
|
16834
|
-
const _hoisted_2$
|
|
16960
|
+
const _hoisted_2$3 = {
|
|
16835
16961
|
key: 0,
|
|
16836
16962
|
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
16837
16963
|
};
|
|
16838
|
-
const _hoisted_3$
|
|
16839
|
-
const _hoisted_4$
|
|
16964
|
+
const _hoisted_3$3 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
16965
|
+
const _hoisted_4$2 = {
|
|
16840
16966
|
key: 1,
|
|
16841
16967
|
class: "kds-loading-skeleton-input-with-label"
|
|
16842
16968
|
};
|
|
16843
|
-
const _hoisted_5 = { class: "kds-loading-skeleton-list-item-text" };
|
|
16844
|
-
const _sfc_main$
|
|
16969
|
+
const _hoisted_5$1 = { class: "kds-loading-skeleton-list-item-text" };
|
|
16970
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
16845
16971
|
__name: "KdsLoadingSkeleton",
|
|
16846
16972
|
props: {
|
|
16847
16973
|
variant: { default: "text" },
|
|
@@ -16854,22 +16980,22 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16854
16980
|
"v59c08829": _ctx.repeatGap
|
|
16855
16981
|
}));
|
|
16856
16982
|
return (_ctx, _cache) => {
|
|
16857
|
-
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16983
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16858
16984
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
16859
16985
|
return openBlock(), createElementBlock(Fragment, {
|
|
16860
16986
|
key: `skeleton-${index}`
|
|
16861
16987
|
}, [
|
|
16862
|
-
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16988
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
16863
16989
|
createVNode(LoadingSkeletonItem, {
|
|
16864
16990
|
shape: "text",
|
|
16865
16991
|
class: "headline"
|
|
16866
16992
|
}),
|
|
16867
|
-
createElementVNode("div", _hoisted_3$
|
|
16993
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
16868
16994
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16869
16995
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16870
16996
|
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
16871
16997
|
])
|
|
16872
|
-
])) : __props.variant === "input-with-label" ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
16998
|
+
])) : __props.variant === "input-with-label" ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
16873
16999
|
createVNode(LoadingSkeletonItem, {
|
|
16874
17000
|
shape: "label",
|
|
16875
17001
|
class: "label"
|
|
@@ -16889,7 +17015,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16889
17015
|
createVNode(LoadingSkeletonItem, {
|
|
16890
17016
|
shape: __props.variant.startsWith("list-item-large") ? "icon-large" : "icon-small"
|
|
16891
17017
|
}, null, 8, ["shape"]),
|
|
16892
|
-
createElementVNode("div", _hoisted_5, [
|
|
17018
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
16893
17019
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16894
17020
|
__props.variant.endsWith("subtext") ? (openBlock(), createBlock(LoadingSkeletonItem, {
|
|
16895
17021
|
key: 0,
|
|
@@ -16909,7 +17035,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16909
17035
|
}
|
|
16910
17036
|
});
|
|
16911
17037
|
|
|
16912
|
-
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17038
|
+
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e6597718"]]);
|
|
16913
17039
|
|
|
16914
17040
|
const loadingSkeletonItemShape = {
|
|
16915
17041
|
TEXT: "text",
|
|
@@ -16936,7 +17062,7 @@ const kdsLoadingSkeletonVariants = Object.values(
|
|
|
16936
17062
|
kdsLoadingSkeletonVariant
|
|
16937
17063
|
);
|
|
16938
17064
|
|
|
16939
|
-
const _sfc_main$
|
|
17065
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16940
17066
|
__name: "KdsNavItem",
|
|
16941
17067
|
props: {
|
|
16942
17068
|
label: {},
|
|
@@ -17029,7 +17155,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17029
17155
|
disabled: __props.disabled
|
|
17030
17156
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
17031
17157
|
__props.badge ? (openBlock(), createBlock(unref(KdsBadge), mergeProps({ key: 1 }, __props.badge, { size: "xxsmall" }), null, 16)) : createCommentVNode("", true),
|
|
17032
|
-
__props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17158
|
+
__props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1n), mergeProps({ key: 2 }, __props.trailingButton, {
|
|
17033
17159
|
size: "xsmall",
|
|
17034
17160
|
onClick: onButtonClick
|
|
17035
17161
|
}), null, 16)) : createCommentVNode("", true)
|
|
@@ -17039,10 +17165,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17039
17165
|
}
|
|
17040
17166
|
});
|
|
17041
17167
|
|
|
17042
|
-
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17168
|
+
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-17711664"]]);
|
|
17043
17169
|
|
|
17044
|
-
const _hoisted_1$
|
|
17045
|
-
const _sfc_main$
|
|
17170
|
+
const _hoisted_1$6 = ["aria-label"];
|
|
17171
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
17046
17172
|
__name: "KdsNavigation",
|
|
17047
17173
|
props: /* @__PURE__ */ mergeModels({
|
|
17048
17174
|
ariaLabel: {},
|
|
@@ -17083,12 +17209,248 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17083
17209
|
})) : createCommentVNode("", true)
|
|
17084
17210
|
]);
|
|
17085
17211
|
}), 128))
|
|
17086
|
-
], 8, _hoisted_1$
|
|
17212
|
+
], 8, _hoisted_1$6);
|
|
17213
|
+
};
|
|
17214
|
+
}
|
|
17215
|
+
});
|
|
17216
|
+
|
|
17217
|
+
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6cc9519f"]]);
|
|
17218
|
+
|
|
17219
|
+
const _hoisted_1$5 = {
|
|
17220
|
+
key: 1,
|
|
17221
|
+
class: "breadcrumb-label"
|
|
17222
|
+
};
|
|
17223
|
+
const _hoisted_2$2 = ["aria-label", "aria-current", "title"];
|
|
17224
|
+
const _hoisted_3$2 = {
|
|
17225
|
+
key: 1,
|
|
17226
|
+
class: "breadcrumb-label"
|
|
17227
|
+
};
|
|
17228
|
+
const _hoisted_4$1 = ["aria-label", "aria-current", "title"];
|
|
17229
|
+
const _hoisted_5 = {
|
|
17230
|
+
key: 1,
|
|
17231
|
+
class: "breadcrumb-label"
|
|
17232
|
+
};
|
|
17233
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
17234
|
+
__name: "BreadcrumbItem",
|
|
17235
|
+
props: {
|
|
17236
|
+
item: {},
|
|
17237
|
+
isCurrentItem: { type: Boolean }
|
|
17238
|
+
},
|
|
17239
|
+
emits: ["itemClick"],
|
|
17240
|
+
setup(__props, { emit: __emit }) {
|
|
17241
|
+
const emit = __emit;
|
|
17242
|
+
const linkComponent = resolveNuxtLinkComponent();
|
|
17243
|
+
const isLinkItem = computed(
|
|
17244
|
+
() => !__props.isCurrentItem && "to" in __props.item && Boolean(__props.item.to)
|
|
17245
|
+
);
|
|
17246
|
+
const isButtonItem = computed(
|
|
17247
|
+
() => !__props.isCurrentItem && "handler" in __props.item && Boolean(__props.item.handler)
|
|
17248
|
+
);
|
|
17249
|
+
const onItemClick = () => {
|
|
17250
|
+
if ("handler" in __props.item && __props.item.handler) {
|
|
17251
|
+
emit("itemClick", __props.item);
|
|
17252
|
+
}
|
|
17253
|
+
};
|
|
17254
|
+
return (_ctx, _cache) => {
|
|
17255
|
+
return isLinkItem.value ? (openBlock(), createBlock(resolveDynamicComponent(unref(linkComponent)), {
|
|
17256
|
+
key: 0,
|
|
17257
|
+
class: "kds-breadcrumb-item",
|
|
17258
|
+
to: __props.item.to,
|
|
17259
|
+
"aria-label": __props.item.ariaLabel,
|
|
17260
|
+
"aria-current": __props.isCurrentItem ? "page" : void 0,
|
|
17261
|
+
title: __props.item.title
|
|
17262
|
+
}, {
|
|
17263
|
+
default: withCtx(() => [
|
|
17264
|
+
__props.item.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17265
|
+
key: 0,
|
|
17266
|
+
name: __props.item.leadingIcon,
|
|
17267
|
+
class: "breadcrumb-icon"
|
|
17268
|
+
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17269
|
+
__props.item.text ? (openBlock(), createElementBlock("span", _hoisted_1$5, toDisplayString(__props.item.text), 1)) : createCommentVNode("", true)
|
|
17270
|
+
]),
|
|
17271
|
+
_: 1
|
|
17272
|
+
}, 8, ["to", "aria-label", "aria-current", "title"])) : isButtonItem.value ? (openBlock(), createElementBlock("button", {
|
|
17273
|
+
key: 1,
|
|
17274
|
+
type: "button",
|
|
17275
|
+
class: "kds-breadcrumb-item",
|
|
17276
|
+
"aria-label": __props.item.ariaLabel,
|
|
17277
|
+
"aria-current": __props.isCurrentItem ? "page" : void 0,
|
|
17278
|
+
title: __props.item.title,
|
|
17279
|
+
onClick: onItemClick
|
|
17280
|
+
}, [
|
|
17281
|
+
__props.item.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17282
|
+
key: 0,
|
|
17283
|
+
name: __props.item.leadingIcon,
|
|
17284
|
+
class: "breadcrumb-icon"
|
|
17285
|
+
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17286
|
+
__props.item.text ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(__props.item.text), 1)) : createCommentVNode("", true)
|
|
17287
|
+
], 8, _hoisted_2$2)) : (openBlock(), createElementBlock("span", {
|
|
17288
|
+
key: 2,
|
|
17289
|
+
class: "kds-breadcrumb-item",
|
|
17290
|
+
"aria-label": __props.item.ariaLabel,
|
|
17291
|
+
"aria-current": __props.isCurrentItem ? "page" : void 0,
|
|
17292
|
+
title: __props.item.title
|
|
17293
|
+
}, [
|
|
17294
|
+
__props.item.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17295
|
+
key: 0,
|
|
17296
|
+
name: __props.item.leadingIcon,
|
|
17297
|
+
class: "breadcrumb-icon"
|
|
17298
|
+
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17299
|
+
__props.item.text ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.item.text), 1)) : createCommentVNode("", true)
|
|
17300
|
+
], 8, _hoisted_4$1));
|
|
17301
|
+
};
|
|
17302
|
+
}
|
|
17303
|
+
});
|
|
17304
|
+
|
|
17305
|
+
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-fd7537fc"]]);
|
|
17306
|
+
|
|
17307
|
+
const useBreadcrumbAdaptiveLayout = (listRef, itemRefs, itemsSource) => {
|
|
17308
|
+
const { width: listWidth } = useElementSize(listRef);
|
|
17309
|
+
const updateLayout = async () => {
|
|
17310
|
+
if (globalThis.window === void 0) {
|
|
17311
|
+
return;
|
|
17312
|
+
}
|
|
17313
|
+
await nextTick();
|
|
17314
|
+
await new Promise(
|
|
17315
|
+
(resolve) => requestAnimationFrame(() => resolve())
|
|
17316
|
+
);
|
|
17317
|
+
const els = itemRefs.value;
|
|
17318
|
+
const ol = listRef.value;
|
|
17319
|
+
if (els.length === 0 || !ol) {
|
|
17320
|
+
return;
|
|
17321
|
+
}
|
|
17322
|
+
const olStyle = getComputedStyle(ol);
|
|
17323
|
+
const cw = ol.clientWidth - Number.parseFloat(olStyle.paddingLeft) - Number.parseFloat(olStyle.paddingRight);
|
|
17324
|
+
if (cw <= 0) {
|
|
17325
|
+
return;
|
|
17326
|
+
}
|
|
17327
|
+
for (const el of els) {
|
|
17328
|
+
el.style.removeProperty("--kds-bc-max-width");
|
|
17329
|
+
}
|
|
17330
|
+
const floorWidths = els.map(
|
|
17331
|
+
(el) => Number.parseFloat(getComputedStyle(el).minWidth)
|
|
17332
|
+
);
|
|
17333
|
+
const naturalWidths = els.map((el) => el.getBoundingClientRect().width);
|
|
17334
|
+
const total = naturalWidths.reduce((sum, w) => sum + w, 0);
|
|
17335
|
+
if (total <= cw) {
|
|
17336
|
+
for (let i = 0; i < els.length; i++) {
|
|
17337
|
+
els[i].style.setProperty(
|
|
17338
|
+
"--kds-bc-natural-width",
|
|
17339
|
+
`${naturalWidths[i]}px`
|
|
17340
|
+
);
|
|
17341
|
+
}
|
|
17342
|
+
return;
|
|
17343
|
+
}
|
|
17344
|
+
const shrinkable = naturalWidths.map(
|
|
17345
|
+
(w, i) => Math.max(0, w - floorWidths[i])
|
|
17346
|
+
);
|
|
17347
|
+
const finalWidths = [...naturalWidths];
|
|
17348
|
+
let excess = total - cw;
|
|
17349
|
+
const distribute = (indices) => {
|
|
17350
|
+
if (excess <= 0 || indices.length === 0) {
|
|
17351
|
+
return;
|
|
17352
|
+
}
|
|
17353
|
+
const capacity = indices.reduce((sum, i) => sum + shrinkable[i], 0);
|
|
17354
|
+
if (capacity <= 0) {
|
|
17355
|
+
return;
|
|
17356
|
+
}
|
|
17357
|
+
if (excess >= capacity) {
|
|
17358
|
+
for (const i of indices) {
|
|
17359
|
+
finalWidths[i] = naturalWidths[i] - shrinkable[i];
|
|
17360
|
+
}
|
|
17361
|
+
excess -= capacity;
|
|
17362
|
+
} else {
|
|
17363
|
+
for (const i of indices) {
|
|
17364
|
+
const portion = shrinkable[i] / capacity * excess;
|
|
17365
|
+
finalWidths[i] = naturalWidths[i] - portion;
|
|
17366
|
+
}
|
|
17367
|
+
excess = 0;
|
|
17368
|
+
}
|
|
17369
|
+
};
|
|
17370
|
+
const n = els.length;
|
|
17371
|
+
const middle = [];
|
|
17372
|
+
for (let i = 1; i < n - 1; i++) {
|
|
17373
|
+
middle.push(i);
|
|
17374
|
+
}
|
|
17375
|
+
distribute(middle);
|
|
17376
|
+
if (n >= 1) {
|
|
17377
|
+
distribute([0]);
|
|
17378
|
+
}
|
|
17379
|
+
if (n >= 2) {
|
|
17380
|
+
distribute([n - 1]);
|
|
17381
|
+
}
|
|
17382
|
+
const SUBPIXEL_TOLERANCE = 0.5;
|
|
17383
|
+
for (let i = 0; i < n; i++) {
|
|
17384
|
+
els[i].style.setProperty(
|
|
17385
|
+
"--kds-bc-natural-width",
|
|
17386
|
+
`${naturalWidths[i]}px`
|
|
17387
|
+
);
|
|
17388
|
+
if (finalWidths[i] < naturalWidths[i] - SUBPIXEL_TOLERANCE) {
|
|
17389
|
+
els[i].style.setProperty(
|
|
17390
|
+
"--kds-bc-max-width",
|
|
17391
|
+
`${Math.max(finalWidths[i], floorWidths[i])}px`
|
|
17392
|
+
);
|
|
17393
|
+
} else {
|
|
17394
|
+
els[i].style.removeProperty("--kds-bc-max-width");
|
|
17395
|
+
}
|
|
17396
|
+
}
|
|
17397
|
+
};
|
|
17398
|
+
watch([listWidth, itemsSource], () => updateLayout(), {
|
|
17399
|
+
immediate: true,
|
|
17400
|
+
deep: true
|
|
17401
|
+
});
|
|
17402
|
+
};
|
|
17403
|
+
|
|
17404
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
17405
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
17406
|
+
__name: "KdsBreadcrumb",
|
|
17407
|
+
props: {
|
|
17408
|
+
items: {},
|
|
17409
|
+
ariaLabel: { default: () => void 0 }
|
|
17410
|
+
},
|
|
17411
|
+
setup(__props) {
|
|
17412
|
+
const rightMostItemIndex = computed(() => __props.items.length - 1);
|
|
17413
|
+
const isCurrentItem = (index) => index === rightMostItemIndex.value;
|
|
17414
|
+
const listRef = useTemplateRef("listRef");
|
|
17415
|
+
const itemRefs = useTemplateRefsList();
|
|
17416
|
+
useBreadcrumbAdaptiveLayout(listRef, itemRefs, () => __props.items);
|
|
17417
|
+
return (_ctx, _cache) => {
|
|
17418
|
+
return __props.items.length ? (openBlock(), createElementBlock("nav", {
|
|
17419
|
+
key: 0,
|
|
17420
|
+
"aria-label": __props.ariaLabel ?? "Breadcrumb"
|
|
17421
|
+
}, [
|
|
17422
|
+
createElementVNode("ol", {
|
|
17423
|
+
ref_key: "listRef",
|
|
17424
|
+
ref: listRef
|
|
17425
|
+
}, [
|
|
17426
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (breadcrumbItem, i) => {
|
|
17427
|
+
return openBlock(), createElementBlock("li", {
|
|
17428
|
+
key: `${breadcrumbItem.to ?? breadcrumbItem.text ?? "breadcrumb-item"}-${i}`,
|
|
17429
|
+
ref_for: true,
|
|
17430
|
+
ref: unref(itemRefs).set,
|
|
17431
|
+
class: normalizeClass({ current: isCurrentItem(i) })
|
|
17432
|
+
}, [
|
|
17433
|
+
createVNode(BreadcrumbItem, {
|
|
17434
|
+
item: breadcrumbItem,
|
|
17435
|
+
"is-current-item": isCurrentItem(i),
|
|
17436
|
+
onItemClick: ($event) => breadcrumbItem.handler?.($event)
|
|
17437
|
+
}, null, 8, ["item", "is-current-item", "onItemClick"]),
|
|
17438
|
+
i !== rightMostItemIndex.value ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17439
|
+
key: 0,
|
|
17440
|
+
name: "path-separator",
|
|
17441
|
+
size: "small",
|
|
17442
|
+
class: "path-separator",
|
|
17443
|
+
"aria-hidden": "true"
|
|
17444
|
+
})) : createCommentVNode("", true)
|
|
17445
|
+
], 2);
|
|
17446
|
+
}), 128))
|
|
17447
|
+
], 512)
|
|
17448
|
+
], 8, _hoisted_1$4)) : createCommentVNode("", true);
|
|
17087
17449
|
};
|
|
17088
17450
|
}
|
|
17089
17451
|
});
|
|
17090
17452
|
|
|
17091
|
-
const
|
|
17453
|
+
const KdsBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-e93667af"]]);
|
|
17092
17454
|
|
|
17093
17455
|
const createUnwrappedPromise = () => {
|
|
17094
17456
|
let resolve = () => {
|
|
@@ -17168,7 +17530,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
17168
17530
|
size: "medium"
|
|
17169
17531
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
17170
17532
|
createElementVNode("div", _hoisted_2$1, toDisplayString(__props.headline), 1),
|
|
17171
|
-
createVNode(_sfc_main$
|
|
17533
|
+
createVNode(_sfc_main$1n, {
|
|
17172
17534
|
"leading-icon": "x-close",
|
|
17173
17535
|
variant: "transparent",
|
|
17174
17536
|
size: "medium",
|
|
@@ -17441,7 +17803,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17441
17803
|
unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
17442
17804
|
createElementVNode("div", _hoisted_2, toDisplayString(unref(config).value.message), 1),
|
|
17443
17805
|
unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
17444
|
-
createVNode(_sfc_main$
|
|
17806
|
+
createVNode(_sfc_main$12, {
|
|
17445
17807
|
modelValue: askAgain.value,
|
|
17446
17808
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
|
|
17447
17809
|
label: unref(config).value.doNotAskAgain.label,
|
|
@@ -17456,7 +17818,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17456
17818
|
name: "footer",
|
|
17457
17819
|
fn: withCtx(() => [
|
|
17458
17820
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
|
|
17459
|
-
return openBlock(), createBlock(_sfc_main$
|
|
17821
|
+
return openBlock(), createBlock(_sfc_main$1n, {
|
|
17460
17822
|
key: index,
|
|
17461
17823
|
destructive: button.destructive,
|
|
17462
17824
|
autofocus: button.autofocus,
|
|
@@ -17584,7 +17946,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17584
17946
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17585
17947
|
createElementVNode("div", _hoisted_1, [
|
|
17586
17948
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button) => {
|
|
17587
|
-
return openBlock(), createBlock(_sfc_main$
|
|
17949
|
+
return openBlock(), createBlock(_sfc_main$1n, {
|
|
17588
17950
|
ref_for: true,
|
|
17589
17951
|
ref: "measureButton",
|
|
17590
17952
|
key: button.id,
|
|
@@ -17593,7 +17955,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17593
17955
|
"leading-icon": button.leadingIcon
|
|
17594
17956
|
}, null, 8, ["label", "variant", "leading-icon"]);
|
|
17595
17957
|
}), 128)),
|
|
17596
|
-
createVNode(_sfc_main$
|
|
17958
|
+
createVNode(_sfc_main$1c, {
|
|
17597
17959
|
ref: "measureMenuButton",
|
|
17598
17960
|
"leading-icon": "more-actions",
|
|
17599
17961
|
ariaLabel: "More actions",
|
|
@@ -17604,7 +17966,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17604
17966
|
class: ["kds-button-group", __props.alignment]
|
|
17605
17967
|
}), [
|
|
17606
17968
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleButtons.value, (button) => {
|
|
17607
|
-
return openBlock(), createBlock(_sfc_main$
|
|
17969
|
+
return openBlock(), createBlock(_sfc_main$1n, {
|
|
17608
17970
|
key: button.id,
|
|
17609
17971
|
label: button.label,
|
|
17610
17972
|
variant: button.variant ?? "outlined",
|
|
@@ -17615,7 +17977,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17615
17977
|
onClick: ($event) => emit("buttonClick", button.id)
|
|
17616
17978
|
}, null, 8, ["label", "variant", "disabled", "leading-icon", "destructive", "title", "onClick"]);
|
|
17617
17979
|
}), 128)),
|
|
17618
|
-
overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$
|
|
17980
|
+
overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$1c, {
|
|
17619
17981
|
key: 0,
|
|
17620
17982
|
"leading-icon": "more-actions",
|
|
17621
17983
|
ariaLabel: "More actions",
|
|
@@ -17639,5 +18001,5 @@ const kdsResponsiveButtonGroupAlignments = Object.values(
|
|
|
17639
18001
|
kdsResponsiveButtonGroupAlignment
|
|
17640
18002
|
);
|
|
17641
18003
|
|
|
17642
|
-
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$
|
|
18004
|
+
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, KdsBreadcrumb, _sfc_main$1n as KdsButton, _sfc_main$g as KdsCard, _sfc_main$12 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$R as KdsColorInput, KdsColorSwatch, _sfc_main$17 as KdsContextMenu, KdsDataType, _sfc_main$K as KdsDateInput, _sfc_main$I as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$y as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$B as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1m as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$18 as KdsMenu, _sfc_main$1c as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$v as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$V as KdsNumberInput, KdsPanel, _sfc_main$Q as KdsPasswordInput, _sfc_main$H as KdsPatternInput, KdsPreviewList, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$D as KdsTimeInput, _sfc_main$1k as KdsToggleButton, KdsTwinList, _sfc_main$P as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPanelBodyOverflow, kdsPanelBodyOverflows, kdsPanelBodyVariant, kdsPanelBodyVariants, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
|
|
17643
18005
|
//# sourceMappingURL=index.js.map
|