@knime/kds-components 0.28.3 → 0.28.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +54 -75
- package/dist/index.js +304 -295
- package/dist/index.js.map +1 -1
- package/dist/src/accessories/Badge/enums.d.ts +1 -1
- package/dist/src/accessories/Icon/KdsDataType.vue.d.ts +3 -1
- package/dist/src/accessories/Icon/KdsDataType.vue.d.ts.map +1 -1
- package/dist/src/accessories/Icon/KdsIcon.vue.d.ts +3 -1
- package/dist/src/accessories/Icon/KdsIcon.vue.d.ts.map +1 -1
- package/dist/src/accessories/Icon/types.d.ts +8 -0
- package/dist/src/accessories/Icon/types.d.ts.map +1 -1
- package/dist/src/accessories/Icon/useIcon.d.ts +5 -1
- package/dist/src/accessories/Icon/useIcon.d.ts.map +1 -1
- package/dist/src/accessories/InlineMessage/enums.d.ts +1 -1
- package/dist/src/buttons/KdsProgressButton/enums.d.ts +1 -1
- package/dist/src/layouts/Navigation/KdsNavItem/KdsNavItem.vue.d.ts +1 -0
- package/dist/src/layouts/Navigation/KdsNavItem/KdsNavItem.vue.d.ts.map +1 -1
- package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts +3 -1
- package/dist/src/layouts/Navigation/KdsNavItem/types.d.ts.map +1 -1
- 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, toRef, unref, resolveDynamicComponent, useTemplateRef, createVNode, withCtx, renderSlot, mergeProps, h as h$1, useSlots, getCurrentInstance, useModel, mergeModels, onMounted, onUnmounted,
|
|
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, withModifiers, 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,9 +9,9 @@ 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$_ = ["role", "title", "aria-hidden", "aria-label", "data-color"];
|
|
13
|
+
const _hoisted_2$B = ["src"];
|
|
14
|
+
const _hoisted_3$s = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "kds-avatar-initials",
|
|
17
17
|
"aria-hidden": "true"
|
|
@@ -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$B)) : (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
84
84
|
createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
|
|
85
85
|
]))
|
|
86
|
-
], 10, _hoisted_1
|
|
86
|
+
], 10, _hoisted_1$_);
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
});
|
|
@@ -98,9 +98,9 @@ const _export_sfc = (sfc, props) => {
|
|
|
98
98
|
|
|
99
99
|
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-9e1a5abe"]]);
|
|
100
100
|
|
|
101
|
-
const _hoisted_1$
|
|
102
|
-
const _hoisted_2$
|
|
103
|
-
const _hoisted_3$
|
|
101
|
+
const _hoisted_1$Z = ["aria-label"];
|
|
102
|
+
const _hoisted_2$A = { class: "avatars" };
|
|
103
|
+
const _hoisted_3$r = {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "more-count",
|
|
106
106
|
"aria-hidden": "true"
|
|
@@ -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$A, [
|
|
129
129
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
|
|
130
130
|
return openBlock(), createBlock(KdsAvatar, {
|
|
131
131
|
key: index,
|
|
@@ -139,8 +139,8 @@ 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$r, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
|
|
143
|
+
], 8, _hoisted_1$Z);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
});
|
|
@@ -161,30 +161,44 @@ function useIcon({
|
|
|
161
161
|
}) {
|
|
162
162
|
const iconCache = /* @__PURE__ */ new Map();
|
|
163
163
|
const iconComponent = shallowRef(null);
|
|
164
|
+
const status = shallowRef("loading");
|
|
164
165
|
watch(
|
|
165
166
|
() => name.value,
|
|
166
167
|
(newName) => {
|
|
167
168
|
if (iconCache.has(newName)) {
|
|
168
169
|
iconComponent.value = iconCache.get(newName);
|
|
170
|
+
status.value = "loaded";
|
|
169
171
|
return;
|
|
170
172
|
}
|
|
173
|
+
status.value = "loading";
|
|
171
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) => {
|
|
172
175
|
iconCache.set(newName, module.default);
|
|
176
|
+
if (name.value !== newName) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
173
179
|
iconComponent.value = module.default;
|
|
180
|
+
status.value = "loaded";
|
|
174
181
|
}).catch((error) => {
|
|
175
182
|
if (error.name === "AbortError") {
|
|
176
183
|
return;
|
|
177
184
|
}
|
|
185
|
+
if (name.value !== newName) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
178
188
|
console.error(
|
|
179
189
|
`Failed to load icon "${newName}" from folder "${folder}":`,
|
|
180
190
|
error
|
|
181
191
|
);
|
|
182
192
|
iconComponent.value = null;
|
|
193
|
+
status.value = "error";
|
|
183
194
|
});
|
|
184
195
|
},
|
|
185
196
|
{ immediate: true }
|
|
186
197
|
);
|
|
187
|
-
return
|
|
198
|
+
return {
|
|
199
|
+
iconComponent: readonly(iconComponent),
|
|
200
|
+
status: readonly(status)
|
|
201
|
+
};
|
|
188
202
|
}
|
|
189
203
|
|
|
190
204
|
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
@@ -194,12 +208,13 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
194
208
|
size: { default: "medium" },
|
|
195
209
|
disabled: { type: Boolean, default: false }
|
|
196
210
|
},
|
|
197
|
-
setup(__props) {
|
|
211
|
+
setup(__props, { expose: __expose }) {
|
|
198
212
|
const props = createPropsRestProxy(__props, ["size", "disabled"]);
|
|
199
|
-
const iconComponent = useIcon({
|
|
213
|
+
const { iconComponent, status } = useIcon({
|
|
200
214
|
name: toRef(() => props.name),
|
|
201
215
|
folder: "icons"
|
|
202
216
|
});
|
|
217
|
+
__expose({ status });
|
|
203
218
|
return (_ctx, _cache) => {
|
|
204
219
|
return unref(iconComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent)), {
|
|
205
220
|
key: 0,
|
|
@@ -216,7 +231,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
216
231
|
}
|
|
217
232
|
});
|
|
218
233
|
|
|
219
|
-
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-
|
|
234
|
+
const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-bff4f419"]]);
|
|
220
235
|
|
|
221
236
|
const ID_TO_ICON_MAP = {
|
|
222
237
|
// Flow Variables
|
|
@@ -554,7 +569,7 @@ const kdsDataTypeSize = {
|
|
|
554
569
|
};
|
|
555
570
|
const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
|
|
556
571
|
|
|
557
|
-
const _hoisted_1$
|
|
572
|
+
const _hoisted_1$Y = ["title"];
|
|
558
573
|
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
559
574
|
__name: "KdsDataType",
|
|
560
575
|
props: {
|
|
@@ -563,7 +578,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
563
578
|
size: { default: "medium" },
|
|
564
579
|
disabled: { type: Boolean, default: false }
|
|
565
580
|
},
|
|
566
|
-
setup(__props) {
|
|
581
|
+
setup(__props, { expose: __expose }) {
|
|
567
582
|
const DATA_TYPE_SIZE_TO_ICON_SIZE = {
|
|
568
583
|
large: "medium",
|
|
569
584
|
medium: "small",
|
|
@@ -581,10 +596,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
581
596
|
}
|
|
582
597
|
return __props.iconName.startsWith("org.knime") ? "default-extension-datatype" : "unknown-datatype";
|
|
583
598
|
});
|
|
584
|
-
const iconComponent = useIcon({
|
|
599
|
+
const { iconComponent, status } = useIcon({
|
|
585
600
|
name: iconName,
|
|
586
601
|
folder: "type-icons"
|
|
587
602
|
});
|
|
603
|
+
__expose({ status });
|
|
588
604
|
return (_ctx, _cache) => {
|
|
589
605
|
return openBlock(), createElementBlock("div", {
|
|
590
606
|
class: normalizeClass(["kds-data-type-icon-container", __props.size, { disabled: __props.disabled }]),
|
|
@@ -595,12 +611,12 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
595
611
|
"aria-hidden": "true",
|
|
596
612
|
focusable: "false"
|
|
597
613
|
}, null, 8, ["class"]))
|
|
598
|
-
], 10, _hoisted_1$
|
|
614
|
+
], 10, _hoisted_1$Y);
|
|
599
615
|
};
|
|
600
616
|
}
|
|
601
617
|
});
|
|
602
618
|
|
|
603
|
-
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-
|
|
619
|
+
const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-38e9537f"]]);
|
|
604
620
|
|
|
605
621
|
const kdsBadgeVariant = {
|
|
606
622
|
NEUTRAL: "neutral",
|
|
@@ -617,7 +633,7 @@ const kdsBadgeSize = {
|
|
|
617
633
|
};
|
|
618
634
|
const kdsBadgeSizes = Object.values(kdsBadgeSize);
|
|
619
635
|
|
|
620
|
-
const _hoisted_1$
|
|
636
|
+
const _hoisted_1$X = { class: "label-wrapper" };
|
|
621
637
|
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
622
638
|
__name: "KdsBadge",
|
|
623
639
|
props: {
|
|
@@ -640,7 +656,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
640
656
|
name: __props.leadingIcon,
|
|
641
657
|
size: sizeToIconSize[__props.size]
|
|
642
658
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true),
|
|
643
|
-
createElementVNode("span", _hoisted_1$
|
|
659
|
+
createElementVNode("span", _hoisted_1$X, toDisplayString(__props.label), 1)
|
|
644
660
|
], 2);
|
|
645
661
|
};
|
|
646
662
|
}
|
|
@@ -665,7 +681,7 @@ const kdsColorSwatchSize = {
|
|
|
665
681
|
};
|
|
666
682
|
const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
|
|
667
683
|
|
|
668
|
-
const _hoisted_1$
|
|
684
|
+
const _hoisted_1$W = ["role", "title", "aria-hidden", "aria-label"];
|
|
669
685
|
const RGBA_SHORT_HEX_LENGTH = 4;
|
|
670
686
|
const RGBA_LONG_HEX_LENGTH = 8;
|
|
671
687
|
const ALPHA_NIBBLE_INDEX = 3;
|
|
@@ -747,7 +763,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
747
763
|
style: normalizeStyle(swatchStyle.value),
|
|
748
764
|
"aria-hidden": hasTitle.value ? void 0 : "true",
|
|
749
765
|
"aria-label": hasTitle.value ? accessibleTitle.value : void 0
|
|
750
|
-
}, null, 14, _hoisted_1$
|
|
766
|
+
}, null, 14, _hoisted_1$W);
|
|
751
767
|
};
|
|
752
768
|
}
|
|
753
769
|
});
|
|
@@ -872,8 +888,8 @@ function useKdsIsTruncated(elementRef) {
|
|
|
872
888
|
return { isTruncated };
|
|
873
889
|
}
|
|
874
890
|
|
|
875
|
-
const _hoisted_1$
|
|
876
|
-
const _hoisted_2$
|
|
891
|
+
const _hoisted_1$V = ["title", "aria-label"];
|
|
892
|
+
const _hoisted_2$z = ["title"];
|
|
877
893
|
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
878
894
|
__name: "KdsLiveStatus",
|
|
879
895
|
props: {
|
|
@@ -903,8 +919,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
903
919
|
ref: labelEl,
|
|
904
920
|
class: "label",
|
|
905
921
|
title: unref(isTruncated) ? __props.label : void 0
|
|
906
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
907
|
-
], 10, _hoisted_1$
|
|
922
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$z)) : createCommentVNode("", true)
|
|
923
|
+
], 10, _hoisted_1$V);
|
|
908
924
|
};
|
|
909
925
|
}
|
|
910
926
|
});
|
|
@@ -925,7 +941,7 @@ const kdsLiveStatusSize = {
|
|
|
925
941
|
};
|
|
926
942
|
const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
|
|
927
943
|
|
|
928
|
-
const _hoisted_1$
|
|
944
|
+
const _hoisted_1$U = ["data-style"];
|
|
929
945
|
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
930
946
|
__name: "KdsLoadingSpinner",
|
|
931
947
|
props: {
|
|
@@ -951,7 +967,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
951
967
|
cy: "60",
|
|
952
968
|
r: "50"
|
|
953
969
|
}, null, -1)
|
|
954
|
-
])], 10, _hoisted_1$
|
|
970
|
+
])], 10, _hoisted_1$U);
|
|
955
971
|
};
|
|
956
972
|
}
|
|
957
973
|
});
|
|
@@ -966,9 +982,9 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
966
982
|
kdsLoadingSpinnerVariant
|
|
967
983
|
);
|
|
968
984
|
|
|
969
|
-
const _hoisted_1$
|
|
970
|
-
const _hoisted_2$
|
|
971
|
-
const _hoisted_3$
|
|
985
|
+
const _hoisted_1$T = ["role"];
|
|
986
|
+
const _hoisted_2$y = { class: "header" };
|
|
987
|
+
const _hoisted_3$q = { class: "headline" };
|
|
972
988
|
const _hoisted_4$m = {
|
|
973
989
|
key: 0,
|
|
974
990
|
class: "body"
|
|
@@ -1004,16 +1020,16 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1004
1020
|
class: normalizeClass(classes.value),
|
|
1005
1021
|
role: role.value
|
|
1006
1022
|
}, [
|
|
1007
|
-
createElementVNode("div", _hoisted_2$
|
|
1023
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
1008
1024
|
createVNode(KdsIcon, {
|
|
1009
1025
|
class: "icon",
|
|
1010
1026
|
name: iconName.value,
|
|
1011
1027
|
size: "small"
|
|
1012
1028
|
}, null, 8, ["name"]),
|
|
1013
|
-
createElementVNode("div", _hoisted_3$
|
|
1029
|
+
createElementVNode("div", _hoisted_3$q, toDisplayString(props.headline), 1)
|
|
1014
1030
|
]),
|
|
1015
1031
|
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$m, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
1016
|
-
], 10, _hoisted_1$
|
|
1032
|
+
], 10, _hoisted_1$T);
|
|
1017
1033
|
};
|
|
1018
1034
|
}
|
|
1019
1035
|
});
|
|
@@ -1028,9 +1044,9 @@ const kdsInlineMessageVariant = {
|
|
|
1028
1044
|
};
|
|
1029
1045
|
const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
1030
1046
|
|
|
1031
|
-
const _hoisted_1$
|
|
1032
|
-
const _hoisted_2$
|
|
1033
|
-
const _hoisted_3$
|
|
1047
|
+
const _hoisted_1$S = { class: "donut-container" };
|
|
1048
|
+
const _hoisted_2$x = ["height", "width", "viewBox"];
|
|
1049
|
+
const _hoisted_3$p = ["r", "stroke-width"];
|
|
1034
1050
|
const _hoisted_4$l = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1035
1051
|
const _hoisted_5$b = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1036
1052
|
const _hoisted_6$a = {
|
|
@@ -1088,7 +1104,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1088
1104
|
const transformWedge = computed(() => `rotate(-90, ${radius}, ${radius})`);
|
|
1089
1105
|
const disabled = computed(() => !Number.isFinite(__props.maxValue));
|
|
1090
1106
|
return (_ctx, _cache) => {
|
|
1091
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1107
|
+
return openBlock(), createElementBlock("div", _hoisted_1$S, [
|
|
1092
1108
|
(openBlock(), createElementBlock("svg", {
|
|
1093
1109
|
height: diameter.value,
|
|
1094
1110
|
width: diameter.value,
|
|
@@ -1102,7 +1118,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1102
1118
|
r: r.value,
|
|
1103
1119
|
"stroke-width": strokeWidth.value,
|
|
1104
1120
|
fill: "transparent"
|
|
1105
|
-
}, null, 8, _hoisted_3$
|
|
1121
|
+
}, null, 8, _hoisted_3$p),
|
|
1106
1122
|
__props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1107
1123
|
key: 0,
|
|
1108
1124
|
class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
|
|
@@ -1127,7 +1143,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1127
1143
|
fill: "transparent",
|
|
1128
1144
|
transform: transformWedge.value
|
|
1129
1145
|
}, null, 10, _hoisted_5$b)) : createCommentVNode("", true)
|
|
1130
|
-
], 8, _hoisted_2$
|
|
1146
|
+
], 8, _hoisted_2$x)),
|
|
1131
1147
|
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
1132
1148
|
createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
|
|
1133
1149
|
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
|
|
@@ -1141,14 +1157,14 @@ const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "
|
|
|
1141
1157
|
|
|
1142
1158
|
const _sfc_main$1n = { };
|
|
1143
1159
|
|
|
1144
|
-
const _hoisted_1$
|
|
1160
|
+
const _hoisted_1$R = { class: "kds-divider" };
|
|
1145
1161
|
|
|
1146
1162
|
function _sfc_render(_ctx, _cache) {
|
|
1147
|
-
return (openBlock(), createElementBlock("hr", _hoisted_1$
|
|
1163
|
+
return (openBlock(), createElementBlock("hr", _hoisted_1$R))
|
|
1148
1164
|
}
|
|
1149
1165
|
const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1n, [['render',_sfc_render],['__scopeId',"data-v-4d059bd3"]]);
|
|
1150
1166
|
|
|
1151
|
-
const _hoisted_1$
|
|
1167
|
+
const _hoisted_1$Q = {
|
|
1152
1168
|
key: 0,
|
|
1153
1169
|
class: "label"
|
|
1154
1170
|
};
|
|
@@ -1216,7 +1232,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1216
1232
|
size: iconSize.value
|
|
1217
1233
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
1218
1234
|
], true),
|
|
1219
|
-
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1235
|
+
props.label ? (openBlock(), createElementBlock("span", _hoisted_1$Q, toDisplayString(props.label), 1)) : createCommentVNode("", true),
|
|
1220
1236
|
props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
|
|
1221
1237
|
key: 1,
|
|
1222
1238
|
name: props.trailingIcon,
|
|
@@ -1527,8 +1543,8 @@ function prettyBytes(number, options) {
|
|
|
1527
1543
|
return applyFixedWidth(result, options.fixedWidth);
|
|
1528
1544
|
}
|
|
1529
1545
|
|
|
1530
|
-
const _hoisted_1$
|
|
1531
|
-
const _hoisted_2$
|
|
1546
|
+
const _hoisted_1$P = { class: "label" };
|
|
1547
|
+
const _hoisted_2$w = {
|
|
1532
1548
|
key: 1,
|
|
1533
1549
|
class: "file-size"
|
|
1534
1550
|
};
|
|
@@ -1622,13 +1638,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1622
1638
|
onClick
|
|
1623
1639
|
}, {
|
|
1624
1640
|
default: withCtx(() => [
|
|
1625
|
-
createElementVNode("span", _hoisted_1$
|
|
1641
|
+
createElementVNode("span", _hoisted_1$P, toDisplayString(__props.label), 1),
|
|
1626
1642
|
variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
|
|
1627
1643
|
key: 0,
|
|
1628
1644
|
name: "external-link",
|
|
1629
1645
|
size: "xsmall"
|
|
1630
1646
|
})) : createCommentVNode("", true),
|
|
1631
|
-
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1647
|
+
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$w, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
|
|
1632
1648
|
]),
|
|
1633
1649
|
_: 1
|
|
1634
1650
|
}, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
|
|
@@ -1675,8 +1691,8 @@ const kdsToggleButtonVariant = {
|
|
|
1675
1691
|
};
|
|
1676
1692
|
const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
1677
1693
|
|
|
1678
|
-
const _hoisted_1$
|
|
1679
|
-
const _hoisted_2$
|
|
1694
|
+
const _hoisted_1$O = ["data-visible"];
|
|
1695
|
+
const _hoisted_2$v = ["data-visible"];
|
|
1680
1696
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
1681
1697
|
__name: "KdsProgressButton",
|
|
1682
1698
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1739,7 +1755,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1739
1755
|
name: props.leadingIcon,
|
|
1740
1756
|
size: iconSize.value
|
|
1741
1757
|
}, null, 8, ["name", "size"])
|
|
1742
|
-
], 8, _hoisted_1$
|
|
1758
|
+
], 8, _hoisted_1$O),
|
|
1743
1759
|
createElementVNode("span", {
|
|
1744
1760
|
class: "spinner",
|
|
1745
1761
|
"data-visible": state.value === "progress"
|
|
@@ -1748,7 +1764,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1748
1764
|
size: iconSize.value,
|
|
1749
1765
|
variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
|
|
1750
1766
|
}, null, 8, ["size", "variant"])
|
|
1751
|
-
], 8, _hoisted_2$
|
|
1767
|
+
], 8, _hoisted_2$v)
|
|
1752
1768
|
], 2)
|
|
1753
1769
|
]),
|
|
1754
1770
|
_: 1
|
|
@@ -2027,12 +2043,12 @@ const kdsListItemAccessorySize = {
|
|
|
2027
2043
|
LARGE: "large"
|
|
2028
2044
|
};
|
|
2029
2045
|
|
|
2030
|
-
const _hoisted_1$
|
|
2031
|
-
const _hoisted_2$
|
|
2046
|
+
const _hoisted_1$N = ["id", "role", "aria-selected", "aria-disabled"];
|
|
2047
|
+
const _hoisted_2$u = {
|
|
2032
2048
|
key: 0,
|
|
2033
2049
|
class: "accessory"
|
|
2034
2050
|
};
|
|
2035
|
-
const _hoisted_3$
|
|
2051
|
+
const _hoisted_3$o = { class: "content" };
|
|
2036
2052
|
const _hoisted_4$k = ["title"];
|
|
2037
2053
|
const _hoisted_5$a = {
|
|
2038
2054
|
key: 0,
|
|
@@ -2106,14 +2122,14 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2106
2122
|
]),
|
|
2107
2123
|
onClick
|
|
2108
2124
|
}, [
|
|
2109
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2125
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$u, [
|
|
2110
2126
|
createVNode(_sfc_main$1g, {
|
|
2111
2127
|
accessory: props.accessory,
|
|
2112
2128
|
size: accessorySize.value,
|
|
2113
2129
|
disabled: __props.disabled
|
|
2114
2130
|
}, null, 8, ["accessory", "size", "disabled"])
|
|
2115
2131
|
])) : createCommentVNode("", true),
|
|
2116
|
-
createElementVNode("span", _hoisted_3$
|
|
2132
|
+
createElementVNode("span", _hoisted_3$o, [
|
|
2117
2133
|
createElementVNode("span", {
|
|
2118
2134
|
ref_key: "labelEl",
|
|
2119
2135
|
ref: labelEl,
|
|
@@ -2147,19 +2163,19 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2147
2163
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
2148
2164
|
!props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
|
|
2149
2165
|
])
|
|
2150
|
-
], 10, _hoisted_1$
|
|
2166
|
+
], 10, _hoisted_1$N);
|
|
2151
2167
|
};
|
|
2152
2168
|
}
|
|
2153
2169
|
});
|
|
2154
2170
|
|
|
2155
2171
|
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-9625480f"]]);
|
|
2156
2172
|
|
|
2157
|
-
const _hoisted_1$
|
|
2158
|
-
const _hoisted_2$
|
|
2173
|
+
const _hoisted_1$M = { class: "kds-list-item-section-title" };
|
|
2174
|
+
const _hoisted_2$t = {
|
|
2159
2175
|
key: 0,
|
|
2160
2176
|
class: "icon"
|
|
2161
2177
|
};
|
|
2162
|
-
const _hoisted_3$
|
|
2178
|
+
const _hoisted_3$n = ["title"];
|
|
2163
2179
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2164
2180
|
__name: "ListItemSectionTitle",
|
|
2165
2181
|
props: {
|
|
@@ -2171,8 +2187,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2171
2187
|
const labelEl = useTemplateRef("labelEl");
|
|
2172
2188
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
2173
2189
|
return (_ctx, _cache) => {
|
|
2174
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2175
|
-
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2190
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
2191
|
+
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$t, [
|
|
2176
2192
|
createVNode(KdsIcon, {
|
|
2177
2193
|
name: props.leadingIcon,
|
|
2178
2194
|
size: "small"
|
|
@@ -2183,7 +2199,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2183
2199
|
ref: labelEl,
|
|
2184
2200
|
class: "label",
|
|
2185
2201
|
title: unref(isTruncated) ? props.label : void 0
|
|
2186
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
2202
|
+
}, toDisplayString(props.label), 9, _hoisted_3$n)
|
|
2187
2203
|
]);
|
|
2188
2204
|
};
|
|
2189
2205
|
}
|
|
@@ -2235,7 +2251,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2235
2251
|
}
|
|
2236
2252
|
});
|
|
2237
2253
|
|
|
2238
|
-
const _hoisted_1$
|
|
2254
|
+
const _hoisted_1$L = ["id", "aria-label", "aria-activedescendant"];
|
|
2239
2255
|
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
2240
2256
|
__name: "KdsMenuContainer",
|
|
2241
2257
|
props: {
|
|
@@ -2315,7 +2331,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
2315
2331
|
onClick: ($event) => handleItemInteraction(item, $event)
|
|
2316
2332
|
}, null, 8, ["item", "is-last", "active-id", "variant", "onClick"]);
|
|
2317
2333
|
}), 128))
|
|
2318
|
-
], 12, _hoisted_1$
|
|
2334
|
+
], 12, _hoisted_1$L);
|
|
2319
2335
|
};
|
|
2320
2336
|
}
|
|
2321
2337
|
});
|
|
@@ -2328,8 +2344,8 @@ const kdsPopoverPlacement = {
|
|
|
2328
2344
|
const kdsPopoverType = {
|
|
2329
2345
|
AUTO: "auto"};
|
|
2330
2346
|
|
|
2331
|
-
const _hoisted_1$
|
|
2332
|
-
const _hoisted_2$
|
|
2347
|
+
const _hoisted_1$K = ["id", "popover", "role"];
|
|
2348
|
+
const _hoisted_2$s = {
|
|
2333
2349
|
key: 0,
|
|
2334
2350
|
class: "kds-popover-default-content"
|
|
2335
2351
|
};
|
|
@@ -2391,9 +2407,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
2391
2407
|
onToggle
|
|
2392
2408
|
}, [
|
|
2393
2409
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2394
|
-
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2410
|
+
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$s, toDisplayString(props.content), 1)) : createCommentVNode("", true)
|
|
2395
2411
|
], true)
|
|
2396
|
-
], 46, _hoisted_1$
|
|
2412
|
+
], 46, _hoisted_1$K);
|
|
2397
2413
|
};
|
|
2398
2414
|
}
|
|
2399
2415
|
});
|
|
@@ -2593,9 +2609,9 @@ const kdsButtonVariant = {
|
|
|
2593
2609
|
};
|
|
2594
2610
|
const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
2595
2611
|
|
|
2596
|
-
const _hoisted_1$
|
|
2597
|
-
const _hoisted_2$
|
|
2598
|
-
const _hoisted_3$
|
|
2612
|
+
const _hoisted_1$J = ["aria-disabled"];
|
|
2613
|
+
const _hoisted_2$r = { class: "kds-empty-state-headline" };
|
|
2614
|
+
const _hoisted_3$m = {
|
|
2599
2615
|
key: 1,
|
|
2600
2616
|
class: "kds-empty-state-description"
|
|
2601
2617
|
};
|
|
@@ -2641,8 +2657,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2641
2657
|
variant: "onSurface",
|
|
2642
2658
|
"aria-hidden": "true"
|
|
2643
2659
|
})) : createCommentVNode("", true),
|
|
2644
|
-
createElementVNode("p", _hoisted_2$
|
|
2645
|
-
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
2660
|
+
createElementVNode("p", _hoisted_2$r, toDisplayString(props.headline), 1),
|
|
2661
|
+
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$m, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
2646
2662
|
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
2647
2663
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
2648
2664
|
disabled: props.button?.disabled || __props.disabled,
|
|
@@ -2653,14 +2669,14 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2653
2669
|
onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
|
|
2654
2670
|
}), null, 16, ["disabled"])) : createCommentVNode("", true)
|
|
2655
2671
|
])) : createCommentVNode("", true)
|
|
2656
|
-
], 10, _hoisted_1$
|
|
2672
|
+
], 10, _hoisted_1$J);
|
|
2657
2673
|
};
|
|
2658
2674
|
}
|
|
2659
2675
|
});
|
|
2660
2676
|
|
|
2661
2677
|
const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-e913660a"]]);
|
|
2662
2678
|
|
|
2663
|
-
const _hoisted_1$
|
|
2679
|
+
const _hoisted_1$I = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
|
|
2664
2680
|
const loadingStateText = "Loading entries";
|
|
2665
2681
|
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2666
2682
|
__name: "KdsListContainer",
|
|
@@ -2785,7 +2801,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
2785
2801
|
"loading-spinner": __props.loading
|
|
2786
2802
|
}, null, 8, ["headline", "loading-spinner"])
|
|
2787
2803
|
])) : createCommentVNode("", true)
|
|
2788
|
-
], 16, _hoisted_1$
|
|
2804
|
+
], 16, _hoisted_1$I);
|
|
2789
2805
|
};
|
|
2790
2806
|
}
|
|
2791
2807
|
});
|
|
@@ -2946,9 +2962,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2946
2962
|
}
|
|
2947
2963
|
});
|
|
2948
2964
|
|
|
2949
|
-
const _hoisted_1$
|
|
2950
|
-
const _hoisted_2$
|
|
2951
|
-
const _hoisted_3$
|
|
2965
|
+
const _hoisted_1$H = { class: "kds-preview-list" };
|
|
2966
|
+
const _hoisted_2$q = { class: "kds-preview-list-title-row" };
|
|
2967
|
+
const _hoisted_3$l = { class: "kds-preview-list-content" };
|
|
2952
2968
|
const _hoisted_4$i = { class: "kds-preview-list-headline" };
|
|
2953
2969
|
const _hoisted_5$9 = ["aria-label"];
|
|
2954
2970
|
const _hoisted_6$8 = { class: "kds-preview-list-show-hide" };
|
|
@@ -2987,8 +3003,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2987
3003
|
})
|
|
2988
3004
|
);
|
|
2989
3005
|
return (_ctx, _cache) => {
|
|
2990
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
2991
|
-
createElementVNode("header", _hoisted_2$
|
|
3006
|
+
return openBlock(), createElementBlock("section", _hoisted_1$H, [
|
|
3007
|
+
createElementVNode("header", _hoisted_2$q, [
|
|
2992
3008
|
__props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
2993
3009
|
key: 0,
|
|
2994
3010
|
size: "small",
|
|
@@ -2998,7 +3014,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2998
3014
|
name: __props.leadingIcon,
|
|
2999
3015
|
size: "small"
|
|
3000
3016
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
3001
|
-
createElementVNode("div", _hoisted_3$
|
|
3017
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
3002
3018
|
createElementVNode("span", _hoisted_4$i, toDisplayString(props.headline), 1)
|
|
3003
3019
|
]),
|
|
3004
3020
|
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$1l, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
|
|
@@ -3057,8 +3073,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3057
3073
|
|
|
3058
3074
|
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a11103f6"]]);
|
|
3059
3075
|
|
|
3060
|
-
const _hoisted_1$
|
|
3061
|
-
const _hoisted_2$
|
|
3076
|
+
const _hoisted_1$G = { class: "kds-label-wrapper" };
|
|
3077
|
+
const _hoisted_2$p = ["id", "for", "title"];
|
|
3062
3078
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3063
3079
|
__name: "KdsLabel",
|
|
3064
3080
|
props: {
|
|
@@ -3076,7 +3092,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3076
3092
|
const labelEl = useTemplateRef("labelEl");
|
|
3077
3093
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
3078
3094
|
return (_ctx, _cache) => {
|
|
3079
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3095
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
3080
3096
|
createElementVNode("label", {
|
|
3081
3097
|
id: props.id,
|
|
3082
3098
|
ref_key: "labelEl",
|
|
@@ -3084,7 +3100,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3084
3100
|
for: props.for,
|
|
3085
3101
|
class: "label",
|
|
3086
3102
|
title: unref(isTruncated) ? props.label : void 0
|
|
3087
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
3103
|
+
}, toDisplayString(props.label), 9, _hoisted_2$p),
|
|
3088
3104
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3089
3105
|
key: 0,
|
|
3090
3106
|
content: props.description,
|
|
@@ -3097,8 +3113,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3097
3113
|
|
|
3098
3114
|
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-efe3313e"]]);
|
|
3099
3115
|
|
|
3100
|
-
const _hoisted_1$
|
|
3101
|
-
const _hoisted_2$
|
|
3116
|
+
const _hoisted_1$F = ["id"];
|
|
3117
|
+
const _hoisted_2$o = { class: "subtext-text" };
|
|
3102
3118
|
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3103
3119
|
__name: "KdsSubText",
|
|
3104
3120
|
props: {
|
|
@@ -3130,17 +3146,17 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3130
3146
|
variant: "onSurface",
|
|
3131
3147
|
"aria-hidden": "true"
|
|
3132
3148
|
})) : createCommentVNode("", true),
|
|
3133
|
-
createElementVNode("span", _hoisted_2$
|
|
3134
|
-
], 10, _hoisted_1$
|
|
3149
|
+
createElementVNode("span", _hoisted_2$o, toDisplayString(props.subText), 1)
|
|
3150
|
+
], 10, _hoisted_1$F)) : createCommentVNode("", true);
|
|
3135
3151
|
};
|
|
3136
3152
|
}
|
|
3137
3153
|
});
|
|
3138
3154
|
|
|
3139
3155
|
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2e6ba10c"]]);
|
|
3140
3156
|
|
|
3141
|
-
const _hoisted_1$
|
|
3142
|
-
const _hoisted_2$
|
|
3143
|
-
const _hoisted_3$
|
|
3157
|
+
const _hoisted_1$E = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
3158
|
+
const _hoisted_2$n = { class: "control" };
|
|
3159
|
+
const _hoisted_3$k = {
|
|
3144
3160
|
key: 0,
|
|
3145
3161
|
class: "content"
|
|
3146
3162
|
};
|
|
@@ -3223,7 +3239,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3223
3239
|
role: "checkbox",
|
|
3224
3240
|
onClick: handleClick
|
|
3225
3241
|
}, [
|
|
3226
|
-
createElementVNode("div", _hoisted_2$
|
|
3242
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
3227
3243
|
icon.value ? (openBlock(), createBlock(KdsIcon, {
|
|
3228
3244
|
key: 0,
|
|
3229
3245
|
name: icon.value,
|
|
@@ -3231,7 +3247,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3231
3247
|
size: "xsmall"
|
|
3232
3248
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
3233
3249
|
]),
|
|
3234
|
-
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3250
|
+
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
|
|
3235
3251
|
createElementVNode("div", _hoisted_4$h, toDisplayString(props.label), 1),
|
|
3236
3252
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3237
3253
|
key: 0,
|
|
@@ -3239,7 +3255,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3239
3255
|
class: "helper-text"
|
|
3240
3256
|
}, toDisplayString(props.helperText), 9, _hoisted_5$8)) : createCommentVNode("", true)
|
|
3241
3257
|
])) : createCommentVNode("", true)
|
|
3242
|
-
], 10, _hoisted_1$
|
|
3258
|
+
], 10, _hoisted_1$E),
|
|
3243
3259
|
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
3244
3260
|
createVNode(KdsSubText, {
|
|
3245
3261
|
id: unref(descriptionId),
|
|
@@ -3285,9 +3301,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3285
3301
|
}
|
|
3286
3302
|
});
|
|
3287
3303
|
|
|
3288
|
-
const _hoisted_1$
|
|
3289
|
-
const _hoisted_2$
|
|
3290
|
-
const _hoisted_3$
|
|
3304
|
+
const _hoisted_1$D = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
3305
|
+
const _hoisted_2$m = ["id"];
|
|
3306
|
+
const _hoisted_3$j = ["title"];
|
|
3291
3307
|
const _hoisted_4$g = { class: "kds-fieldset-content" };
|
|
3292
3308
|
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3293
3309
|
__name: "BaseFieldsetWrapper",
|
|
@@ -3335,13 +3351,13 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3335
3351
|
ref: legendTextEl,
|
|
3336
3352
|
class: "legend-text",
|
|
3337
3353
|
title: unref(isTruncated) ? props.label : void 0
|
|
3338
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
3354
|
+
}, toDisplayString(props.label), 9, _hoisted_3$j),
|
|
3339
3355
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3340
3356
|
key: 0,
|
|
3341
3357
|
content: props.description,
|
|
3342
3358
|
hidden: !isHovered.value
|
|
3343
3359
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
3344
|
-
], 8, _hoisted_2$
|
|
3360
|
+
], 8, _hoisted_2$m)) : createCommentVNode("", true),
|
|
3345
3361
|
createElementVNode("div", _hoisted_4$g, [
|
|
3346
3362
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3347
3363
|
]),
|
|
@@ -3352,7 +3368,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3352
3368
|
validating: props.validating,
|
|
3353
3369
|
"preserve-sub-text-space": props.preserveSubTextSpace
|
|
3354
3370
|
}, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
|
|
3355
|
-
], 40, _hoisted_1$
|
|
3371
|
+
], 40, _hoisted_1$D);
|
|
3356
3372
|
};
|
|
3357
3373
|
}
|
|
3358
3374
|
});
|
|
@@ -3454,9 +3470,9 @@ const kdsCheckboxValue = {
|
|
|
3454
3470
|
};
|
|
3455
3471
|
const kdsCheckboxValues = Object.values(kdsCheckboxValue);
|
|
3456
3472
|
|
|
3457
|
-
const _hoisted_1$
|
|
3458
|
-
const _hoisted_2$
|
|
3459
|
-
const _hoisted_3$
|
|
3473
|
+
const _hoisted_1$C = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
|
|
3474
|
+
const _hoisted_2$l = { class: "control" };
|
|
3475
|
+
const _hoisted_3$i = {
|
|
3460
3476
|
key: 0,
|
|
3461
3477
|
class: "dot",
|
|
3462
3478
|
viewBox: "0 0 2 2",
|
|
@@ -3506,8 +3522,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3506
3522
|
type: "button",
|
|
3507
3523
|
onClick: handleClick
|
|
3508
3524
|
}, [
|
|
3509
|
-
createElementVNode("div", _hoisted_2$
|
|
3510
|
-
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
3525
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
3526
|
+
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$i, [..._cache[0] || (_cache[0] = [
|
|
3511
3527
|
createElementVNode("circle", {
|
|
3512
3528
|
cx: "1",
|
|
3513
3529
|
cy: "1",
|
|
@@ -3523,7 +3539,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3523
3539
|
class: "helper-text"
|
|
3524
3540
|
}, toDisplayString(props.helperText), 9, _hoisted_6$6)) : createCommentVNode("", true)
|
|
3525
3541
|
])
|
|
3526
|
-
], 10, _hoisted_1$
|
|
3542
|
+
], 10, _hoisted_1$C);
|
|
3527
3543
|
};
|
|
3528
3544
|
}
|
|
3529
3545
|
});
|
|
@@ -3727,7 +3743,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
3727
3743
|
|
|
3728
3744
|
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d78ed4a2"]]);
|
|
3729
3745
|
|
|
3730
|
-
const _hoisted_1$
|
|
3746
|
+
const _hoisted_1$B = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
|
|
3731
3747
|
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
3732
3748
|
__name: "ValueSwitchItem",
|
|
3733
3749
|
props: {
|
|
@@ -3778,7 +3794,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
3778
3794
|
name: props.trailingIcon,
|
|
3779
3795
|
size: __props.size
|
|
3780
3796
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
3781
|
-
], 10, _hoisted_1$
|
|
3797
|
+
], 10, _hoisted_1$B);
|
|
3782
3798
|
};
|
|
3783
3799
|
}
|
|
3784
3800
|
});
|
|
@@ -4675,15 +4691,15 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
|
|
|
4675
4691
|
};
|
|
4676
4692
|
};
|
|
4677
4693
|
|
|
4678
|
-
const _hoisted_1$
|
|
4694
|
+
const _hoisted_1$A = {
|
|
4679
4695
|
key: 0,
|
|
4680
4696
|
class: "icon-wrapper leading"
|
|
4681
4697
|
};
|
|
4682
|
-
const _hoisted_2$
|
|
4698
|
+
const _hoisted_2$k = {
|
|
4683
4699
|
key: 1,
|
|
4684
4700
|
class: "leading-slot"
|
|
4685
4701
|
};
|
|
4686
|
-
const _hoisted_3$
|
|
4702
|
+
const _hoisted_3$h = ["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"];
|
|
4687
4703
|
const _hoisted_4$e = ["aria-disabled"];
|
|
4688
4704
|
const _hoisted_5$6 = {
|
|
4689
4705
|
key: 4,
|
|
@@ -4844,13 +4860,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4844
4860
|
}),
|
|
4845
4861
|
onClick: handleContainerClick
|
|
4846
4862
|
}, [
|
|
4847
|
-
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4863
|
+
props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
4848
4864
|
props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
4849
4865
|
key: 0,
|
|
4850
4866
|
name: props.leadingIcon
|
|
4851
4867
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
4852
4868
|
])) : createCommentVNode("", true),
|
|
4853
|
-
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4869
|
+
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
|
|
4854
4870
|
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
4855
4871
|
])) : createCommentVNode("", true),
|
|
4856
4872
|
createElementVNode("input", {
|
|
@@ -4895,7 +4911,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4895
4911
|
onCut: handleInputCut,
|
|
4896
4912
|
onDrop: handleInputDrop,
|
|
4897
4913
|
onDragend: handleInputDragEnd
|
|
4898
|
-
}, null, 42, _hoisted_3$
|
|
4914
|
+
}, null, 42, _hoisted_3$h),
|
|
4899
4915
|
props.unit ? (openBlock(), createElementBlock("span", {
|
|
4900
4916
|
key: 2,
|
|
4901
4917
|
class: normalizeClass({
|
|
@@ -5638,7 +5654,7 @@ const removeAlphaFromHexInput = (next) => {
|
|
|
5638
5654
|
return next;
|
|
5639
5655
|
};
|
|
5640
5656
|
|
|
5641
|
-
const _hoisted_1$
|
|
5657
|
+
const _hoisted_1$z = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
|
|
5642
5658
|
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
5643
5659
|
__name: "ColorPickerSlider",
|
|
5644
5660
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -5723,16 +5739,16 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
5723
5739
|
onKeydown: onKeyDown
|
|
5724
5740
|
}, [..._cache[5] || (_cache[5] = [
|
|
5725
5741
|
createElementVNode("div", { class: "handle" }, null, -1)
|
|
5726
|
-
])], 40, _hoisted_1$
|
|
5742
|
+
])], 40, _hoisted_1$z);
|
|
5727
5743
|
};
|
|
5728
5744
|
}
|
|
5729
5745
|
});
|
|
5730
5746
|
|
|
5731
5747
|
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f4be2bd4"]]);
|
|
5732
5748
|
|
|
5733
|
-
const _hoisted_1$
|
|
5734
|
-
const _hoisted_2$
|
|
5735
|
-
const _hoisted_3$
|
|
5749
|
+
const _hoisted_1$y = { class: "kds-color-picker" };
|
|
5750
|
+
const _hoisted_2$j = ["aria-valuetext"];
|
|
5751
|
+
const _hoisted_3$g = { class: "value-inputs" };
|
|
5736
5752
|
const DEFAULT_HUE_DEG = 270;
|
|
5737
5753
|
const DEFAULT_SATURATION = 0.8;
|
|
5738
5754
|
const DEFAULT_VALUE = 0.9;
|
|
@@ -5894,7 +5910,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5894
5910
|
}
|
|
5895
5911
|
};
|
|
5896
5912
|
return (_ctx, _cache) => {
|
|
5897
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5913
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
5898
5914
|
createElementVNode("div", {
|
|
5899
5915
|
ref_key: "colorspaceEl",
|
|
5900
5916
|
ref: colorspaceEl,
|
|
@@ -5922,7 +5938,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5922
5938
|
class: "handle",
|
|
5923
5939
|
style: normalizeStyle(colorspaceHandleStyle.value)
|
|
5924
5940
|
}, null, 4)
|
|
5925
|
-
], 44, _hoisted_2$
|
|
5941
|
+
], 44, _hoisted_2$j),
|
|
5926
5942
|
createVNode(ColorPickerSlider, {
|
|
5927
5943
|
modelValue: hue.value,
|
|
5928
5944
|
"onUpdate:modelValue": [
|
|
@@ -5957,7 +5973,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5957
5973
|
step: KEYBOARD_STEP,
|
|
5958
5974
|
"large-step": KEYBOARD_LARGE_STEP
|
|
5959
5975
|
}, null, 8, ["modelValue", "value-now", "value-text"]),
|
|
5960
|
-
createElementVNode("div", _hoisted_3$
|
|
5976
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
5961
5977
|
createVNode(KdsTextInput, {
|
|
5962
5978
|
"model-value": hexInputValue.value,
|
|
5963
5979
|
ariaLabel: "Color hex value",
|
|
@@ -10269,12 +10285,12 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
|
|
|
10269
10285
|
DateTimeFormat: Xn
|
|
10270
10286
|
}));
|
|
10271
10287
|
|
|
10272
|
-
const _hoisted_1$
|
|
10288
|
+
const _hoisted_1$x = {
|
|
10273
10289
|
role: "row",
|
|
10274
10290
|
class: "kds-date-picker-header-row"
|
|
10275
10291
|
};
|
|
10276
|
-
const _hoisted_2$
|
|
10277
|
-
const _hoisted_3$
|
|
10292
|
+
const _hoisted_2$i = ["aria-label"];
|
|
10293
|
+
const _hoisted_3$f = { class: "kds-date-picker-day-grid" };
|
|
10278
10294
|
const _hoisted_4$d = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
|
|
10279
10295
|
const REFERENCE_YEAR$2 = 2024;
|
|
10280
10296
|
const DAYS_PER_WEEK = 7;
|
|
@@ -10574,17 +10590,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10574
10590
|
role: "grid",
|
|
10575
10591
|
"aria-label": "Calendar"
|
|
10576
10592
|
}, [
|
|
10577
|
-
createElementVNode("div", _hoisted_1$
|
|
10593
|
+
createElementVNode("div", _hoisted_1$x, [
|
|
10578
10594
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
|
|
10579
10595
|
return openBlock(), createElementBlock("div", {
|
|
10580
10596
|
key: day,
|
|
10581
10597
|
role: "columnheader",
|
|
10582
10598
|
"aria-label": unref(DAY_FULL_LABELS)[i],
|
|
10583
10599
|
class: "kds-date-picker-weekday"
|
|
10584
|
-
}, toDisplayString(day), 9, _hoisted_2$
|
|
10600
|
+
}, toDisplayString(day), 9, _hoisted_2$i);
|
|
10585
10601
|
}), 128))
|
|
10586
10602
|
]),
|
|
10587
|
-
createElementVNode("div", _hoisted_3$
|
|
10603
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
10588
10604
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
|
|
10589
10605
|
return openBlock(), createElementBlock("div", {
|
|
10590
10606
|
key: wi,
|
|
@@ -10625,7 +10641,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10625
10641
|
|
|
10626
10642
|
const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-51807b35"]]);
|
|
10627
10643
|
|
|
10628
|
-
const _hoisted_1$
|
|
10644
|
+
const _hoisted_1$w = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
10629
10645
|
const REFERENCE_YEAR$1 = 2024;
|
|
10630
10646
|
const MONTHS_PER_YEAR$1 = 12;
|
|
10631
10647
|
const MONTH_GRID_COLS = 3;
|
|
@@ -10819,7 +10835,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10819
10835
|
onClick: ($event) => selectMonth(cell.month),
|
|
10820
10836
|
onKeydown: ($event) => onKeydown($event, cell.month),
|
|
10821
10837
|
onFocus: ($event) => focusedCell.value = cell.month
|
|
10822
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
10838
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$w);
|
|
10823
10839
|
}), 128))
|
|
10824
10840
|
]);
|
|
10825
10841
|
}), 128))
|
|
@@ -10830,7 +10846,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10830
10846
|
|
|
10831
10847
|
const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-63d96e84"]]);
|
|
10832
10848
|
|
|
10833
|
-
const _hoisted_1$
|
|
10849
|
+
const _hoisted_1$v = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
|
|
10834
10850
|
const YEAR_PAGE_SIZE$1 = 15;
|
|
10835
10851
|
const YEAR_GRID_COLS = 3;
|
|
10836
10852
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
@@ -10991,7 +11007,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10991
11007
|
onClick: ($event) => selectYear(cell.year),
|
|
10992
11008
|
onKeydown: ($event) => onKeydown($event, cell.year),
|
|
10993
11009
|
onFocus: ($event) => focusedCell.value = cell.year
|
|
10994
|
-
}, toDisplayString(cell.label), 43, _hoisted_1$
|
|
11010
|
+
}, toDisplayString(cell.label), 43, _hoisted_1$v);
|
|
10995
11011
|
}), 128))
|
|
10996
11012
|
]);
|
|
10997
11013
|
}), 128))
|
|
@@ -11002,9 +11018,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
11002
11018
|
|
|
11003
11019
|
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-270d55b9"]]);
|
|
11004
11020
|
|
|
11005
|
-
const _hoisted_1$
|
|
11006
|
-
const _hoisted_2$
|
|
11007
|
-
const _hoisted_3$
|
|
11021
|
+
const _hoisted_1$u = { class: "kds-date-picker" };
|
|
11022
|
+
const _hoisted_2$h = { class: "kds-date-picker-header" };
|
|
11023
|
+
const _hoisted_3$e = { class: "kds-date-picker-nav-block" };
|
|
11008
11024
|
const _hoisted_4$c = {
|
|
11009
11025
|
key: 1,
|
|
11010
11026
|
class: "kds-date-picker-header-static-label",
|
|
@@ -11211,9 +11227,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11211
11227
|
});
|
|
11212
11228
|
__expose({ focus });
|
|
11213
11229
|
return (_ctx, _cache) => {
|
|
11214
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11215
|
-
createElementVNode("div", _hoisted_2$
|
|
11216
|
-
createElementVNode("div", _hoisted_3$
|
|
11230
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
11231
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
11232
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
11217
11233
|
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1l, {
|
|
11218
11234
|
key: 0,
|
|
11219
11235
|
variant: "transparent",
|
|
@@ -11582,7 +11598,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11582
11598
|
}
|
|
11583
11599
|
});
|
|
11584
11600
|
|
|
11585
|
-
const _hoisted_1$
|
|
11601
|
+
const _hoisted_1$t = { class: "kds-date-time-format-popover" };
|
|
11586
11602
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
11587
11603
|
__name: "DateTimeFormatPopover",
|
|
11588
11604
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -11721,7 +11737,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
11721
11737
|
}));
|
|
11722
11738
|
});
|
|
11723
11739
|
return (_ctx, _cache) => {
|
|
11724
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11740
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
11725
11741
|
modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
|
|
11726
11742
|
key: 0,
|
|
11727
11743
|
"model-value": effectiveSelectedMode.value,
|
|
@@ -12166,7 +12182,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
12166
12182
|
|
|
12167
12183
|
const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-3e274ed2"]]);
|
|
12168
12184
|
|
|
12169
|
-
const _hoisted_1$
|
|
12185
|
+
const _hoisted_1$s = ["rows", "placeholder", "disabled", "autocomplete"];
|
|
12170
12186
|
const DEFAULT_ROWS = 3;
|
|
12171
12187
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
12172
12188
|
__name: "KdsTextarea",
|
|
@@ -12234,7 +12250,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12234
12250
|
placeholder: __props.placeholder,
|
|
12235
12251
|
disabled: __props.disabled,
|
|
12236
12252
|
autocomplete: props.autocomplete
|
|
12237
|
-
}), null, 16, _hoisted_1$
|
|
12253
|
+
}), null, 16, _hoisted_1$s), [
|
|
12238
12254
|
[vModelText, modelValue.value]
|
|
12239
12255
|
])
|
|
12240
12256
|
]),
|
|
@@ -12246,9 +12262,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12246
12262
|
|
|
12247
12263
|
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8e5a54cf"]]);
|
|
12248
12264
|
|
|
12249
|
-
const _hoisted_1$
|
|
12250
|
-
const _hoisted_2$
|
|
12251
|
-
const _hoisted_3$
|
|
12265
|
+
const _hoisted_1$r = { class: "kds-time-picker" };
|
|
12266
|
+
const _hoisted_2$g = { class: "kds-time-picker-fields" };
|
|
12267
|
+
const _hoisted_3$d = { class: "kds-time-picker-fields" };
|
|
12252
12268
|
const _hoisted_4$b = {
|
|
12253
12269
|
key: 0,
|
|
12254
12270
|
class: "kds-time-picker-fields"
|
|
@@ -12351,8 +12367,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12351
12367
|
};
|
|
12352
12368
|
__expose({ focus });
|
|
12353
12369
|
return (_ctx, _cache) => {
|
|
12354
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12355
|
-
createElementVNode("div", _hoisted_2$
|
|
12370
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
12371
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
12356
12372
|
createVNode(_sfc_main$T, {
|
|
12357
12373
|
ref: "hourInput",
|
|
12358
12374
|
modelValue: hour.value,
|
|
@@ -12378,7 +12394,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12378
12394
|
class: "kds-time-picker-divider"
|
|
12379
12395
|
})) : createCommentVNode("", true),
|
|
12380
12396
|
showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
12381
|
-
createElementVNode("div", _hoisted_3$
|
|
12397
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
12382
12398
|
createVNode(_sfc_main$T, {
|
|
12383
12399
|
ref: "secondInput",
|
|
12384
12400
|
modelValue: second.value,
|
|
@@ -13030,9 +13046,9 @@ const stripInactiveFields = (duration, usedFormat) => {
|
|
|
13030
13046
|
};
|
|
13031
13047
|
const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
|
|
13032
13048
|
|
|
13033
|
-
const _hoisted_1$
|
|
13034
|
-
const _hoisted_2$
|
|
13035
|
-
const _hoisted_3$
|
|
13049
|
+
const _hoisted_1$q = { class: "kds-interval-popover" };
|
|
13050
|
+
const _hoisted_2$f = { class: "kds-interval-popover-header" };
|
|
13051
|
+
const _hoisted_3$c = { class: "kds-interval-popover-content" };
|
|
13036
13052
|
const _hoisted_4$a = { class: "kds-interval-popover-grid" };
|
|
13037
13053
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
13038
13054
|
__name: "IntervalInputPopover",
|
|
@@ -13128,8 +13144,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13128
13144
|
}
|
|
13129
13145
|
});
|
|
13130
13146
|
return (_ctx, _cache) => {
|
|
13131
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13132
|
-
createElementVNode("div", _hoisted_2$
|
|
13147
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
13148
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
13133
13149
|
_cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
|
|
13134
13150
|
props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13135
13151
|
key: 0,
|
|
@@ -13141,7 +13157,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13141
13157
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
13142
13158
|
]),
|
|
13143
13159
|
_cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
|
|
13144
|
-
createElementVNode("div", _hoisted_3$
|
|
13160
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
13145
13161
|
props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13146
13162
|
key: 0,
|
|
13147
13163
|
modelValue: direction.value,
|
|
@@ -13392,13 +13408,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
13392
13408
|
}
|
|
13393
13409
|
});
|
|
13394
13410
|
|
|
13395
|
-
const _hoisted_1$
|
|
13396
|
-
const _hoisted_2$
|
|
13411
|
+
const _hoisted_1$p = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
|
|
13412
|
+
const _hoisted_2$e = {
|
|
13397
13413
|
key: 0,
|
|
13398
13414
|
class: "leading",
|
|
13399
13415
|
"aria-hidden": "true"
|
|
13400
13416
|
};
|
|
13401
|
-
const _hoisted_3$
|
|
13417
|
+
const _hoisted_3$b = ["id"];
|
|
13402
13418
|
const _hoisted_4$9 = {
|
|
13403
13419
|
class: "trailing",
|
|
13404
13420
|
"aria-hidden": "true"
|
|
@@ -13475,7 +13491,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13475
13491
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
|
|
13476
13492
|
onKeydown
|
|
13477
13493
|
}, [
|
|
13478
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
13494
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$e, [
|
|
13479
13495
|
createVNode(_sfc_main$1g, {
|
|
13480
13496
|
accessory: props.accessory,
|
|
13481
13497
|
size: "medium"
|
|
@@ -13487,14 +13503,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13487
13503
|
placeholder: !props.text && !__props.disabled,
|
|
13488
13504
|
missing: __props.missing
|
|
13489
13505
|
}])
|
|
13490
|
-
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$
|
|
13506
|
+
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$b),
|
|
13491
13507
|
createElementVNode("span", _hoisted_4$9, [
|
|
13492
13508
|
createVNode(KdsIcon, {
|
|
13493
13509
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
13494
13510
|
size: "small"
|
|
13495
13511
|
}, null, 8, ["name"])
|
|
13496
13512
|
])
|
|
13497
|
-
], 42, _hoisted_1$
|
|
13513
|
+
], 42, _hoisted_1$p);
|
|
13498
13514
|
};
|
|
13499
13515
|
}
|
|
13500
13516
|
});
|
|
@@ -13503,8 +13519,8 @@ const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "da
|
|
|
13503
13519
|
|
|
13504
13520
|
const DROPDOWN_SEARCH_THRESHOLD = 12;
|
|
13505
13521
|
|
|
13506
|
-
const _hoisted_1$
|
|
13507
|
-
const _hoisted_2$
|
|
13522
|
+
const _hoisted_1$o = { class: "kds-dropdown-container" };
|
|
13523
|
+
const _hoisted_2$d = {
|
|
13508
13524
|
key: 0,
|
|
13509
13525
|
class: "kds-dropdown-container-sticky-top"
|
|
13510
13526
|
};
|
|
@@ -13592,8 +13608,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13592
13608
|
}
|
|
13593
13609
|
});
|
|
13594
13610
|
return (_ctx, _cache) => {
|
|
13595
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13596
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13611
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
13612
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
13597
13613
|
createVNode(BaseInput, {
|
|
13598
13614
|
ref_key: "searchEl",
|
|
13599
13615
|
ref: searchEl,
|
|
@@ -13720,8 +13736,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13720
13736
|
}
|
|
13721
13737
|
});
|
|
13722
13738
|
|
|
13723
|
-
const _hoisted_1$
|
|
13724
|
-
const _hoisted_2$
|
|
13739
|
+
const _hoisted_1$n = ["disabled"];
|
|
13740
|
+
const _hoisted_2$c = ["title"];
|
|
13725
13741
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
13726
13742
|
__name: "KdsListItemButton",
|
|
13727
13743
|
props: {
|
|
@@ -13752,20 +13768,20 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13752
13768
|
ref: labelEl,
|
|
13753
13769
|
class: "label",
|
|
13754
13770
|
title: unref(isLabelTruncated) ? props.label : void 0
|
|
13755
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
13756
|
-
], 8, _hoisted_1$
|
|
13771
|
+
}, toDisplayString(props.label), 9, _hoisted_2$c)
|
|
13772
|
+
], 8, _hoisted_1$n);
|
|
13757
13773
|
};
|
|
13758
13774
|
}
|
|
13759
13775
|
});
|
|
13760
13776
|
|
|
13761
13777
|
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-21fb5571"]]);
|
|
13762
13778
|
|
|
13763
|
-
const _hoisted_1$
|
|
13764
|
-
const _hoisted_2$
|
|
13779
|
+
const _hoisted_1$m = { class: "kds-multi-select-dropdown-options" };
|
|
13780
|
+
const _hoisted_2$b = {
|
|
13765
13781
|
key: 0,
|
|
13766
13782
|
class: "kds-multi-select-dropdown-search"
|
|
13767
13783
|
};
|
|
13768
|
-
const _hoisted_3$
|
|
13784
|
+
const _hoisted_3$a = {
|
|
13769
13785
|
key: 1,
|
|
13770
13786
|
class: "kds-multi-select-dropdown-footer"
|
|
13771
13787
|
};
|
|
@@ -13892,8 +13908,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13892
13908
|
}
|
|
13893
13909
|
});
|
|
13894
13910
|
return (_ctx, _cache) => {
|
|
13895
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13896
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13911
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
13912
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
|
|
13897
13913
|
createVNode(BaseInput, {
|
|
13898
13914
|
ref_key: "searchEl",
|
|
13899
13915
|
ref: searchEl,
|
|
@@ -13922,7 +13938,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13922
13938
|
"aria-label": "Dropdown options",
|
|
13923
13939
|
onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
|
|
13924
13940
|
}, null, 8, ["class", "possible-values", "loading", "empty-text", "controlled-externally"]),
|
|
13925
|
-
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13941
|
+
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
13926
13942
|
createVNode(unref(KdsListItemButton), {
|
|
13927
13943
|
label: anyVisibleSelected.value ? "Clear all" : "Select all",
|
|
13928
13944
|
"leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
|
|
@@ -14064,8 +14080,8 @@ const kdsDimensionComponentHeight20x = 320;
|
|
|
14064
14080
|
const kdsSpacingContainer0p10x = 1;
|
|
14065
14081
|
const kdsSpacingContainer0p25x = 4;
|
|
14066
14082
|
|
|
14067
|
-
const _hoisted_1$
|
|
14068
|
-
const _hoisted_2$
|
|
14083
|
+
const _hoisted_1$l = { class: "kds-resize-handle-area" };
|
|
14084
|
+
const _hoisted_2$a = ["aria-label"];
|
|
14069
14085
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
14070
14086
|
__name: "ResizeHandle",
|
|
14071
14087
|
props: {
|
|
@@ -14088,7 +14104,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14088
14104
|
return `calc((100% - ${n - 1} * ${gap}) / ${2 * n})`;
|
|
14089
14105
|
});
|
|
14090
14106
|
return (_ctx, _cache) => {
|
|
14091
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14107
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
14092
14108
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedNumberOfHandles.value, (i) => {
|
|
14093
14109
|
return openBlock(), createElementBlock("button", {
|
|
14094
14110
|
key: i,
|
|
@@ -14097,7 +14113,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14097
14113
|
type: "button"
|
|
14098
14114
|
}, [..._cache[0] || (_cache[0] = [
|
|
14099
14115
|
createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
|
|
14100
|
-
])], 8, _hoisted_2$
|
|
14116
|
+
])], 8, _hoisted_2$a);
|
|
14101
14117
|
}), 128))
|
|
14102
14118
|
]);
|
|
14103
14119
|
};
|
|
@@ -14106,7 +14122,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14106
14122
|
|
|
14107
14123
|
const ResizeHandle = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-df3803d4"]]);
|
|
14108
14124
|
|
|
14109
|
-
const _hoisted_1$
|
|
14125
|
+
const _hoisted_1$k = {
|
|
14110
14126
|
ref: "content",
|
|
14111
14127
|
class: "kds-resize-container-content"
|
|
14112
14128
|
};
|
|
@@ -14175,7 +14191,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14175
14191
|
return openBlock(), createElementBlock("div", {
|
|
14176
14192
|
class: normalizeClass(["kds-resize-container", { dragging: unref(activePointerId) !== null }])
|
|
14177
14193
|
}, [
|
|
14178
|
-
createElementVNode("div", _hoisted_1$
|
|
14194
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
14179
14195
|
renderSlot(_ctx.$slots, "default", { contentStyle: contentStyle.value }, void 0, true)
|
|
14180
14196
|
], 512),
|
|
14181
14197
|
createVNode(ResizeHandle, {
|
|
@@ -14485,9 +14501,9 @@ const useMultiSelectListBoxSelection = ({
|
|
|
14485
14501
|
};
|
|
14486
14502
|
};
|
|
14487
14503
|
|
|
14488
|
-
const _hoisted_1$
|
|
14489
|
-
const _hoisted_2$
|
|
14490
|
-
const _hoisted_3$
|
|
14504
|
+
const _hoisted_1$j = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
|
|
14505
|
+
const _hoisted_2$9 = { class: "kds-multiselect-list-box-content-grid" };
|
|
14506
|
+
const _hoisted_3$9 = {
|
|
14491
14507
|
key: 0,
|
|
14492
14508
|
class: "kds-multiselect-sticky-bottom"
|
|
14493
14509
|
};
|
|
@@ -14748,7 +14764,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14748
14764
|
onBlur: _cache[17] || (_cache[17] = //@ts-ignore
|
|
14749
14765
|
(...args) => unref(onBlur) && unref(onBlur)(...args))
|
|
14750
14766
|
}), [
|
|
14751
|
-
createElementVNode("div", _hoisted_2$
|
|
14767
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
14752
14768
|
createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
|
|
14753
14769
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
|
|
14754
14770
|
return openBlock(), createBlock(unref(KdsListItem), {
|
|
@@ -14775,7 +14791,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14775
14791
|
}, null, 8, ["id", "class", "text", "accessory", "missing", "special", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
|
|
14776
14792
|
}), 128))
|
|
14777
14793
|
], 16),
|
|
14778
|
-
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14794
|
+
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$9, [
|
|
14779
14795
|
createVNode(unref(KdsListItem), {
|
|
14780
14796
|
id: generateOptionId(visibleBottomValue.value.id),
|
|
14781
14797
|
text: visibleBottomValue.value.text,
|
|
@@ -14795,7 +14811,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14795
14811
|
}, null, 8, ["id", "text", "accessory", "missing", "data-option-index", "selected", "disabled", "active", "trailing-icon"])
|
|
14796
14812
|
])) : createCommentVNode("", true)
|
|
14797
14813
|
])
|
|
14798
|
-
], 16, _hoisted_1$
|
|
14814
|
+
], 16, _hoisted_1$j),
|
|
14799
14815
|
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
14800
14816
|
createVNode(KdsEmptyState, {
|
|
14801
14817
|
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
@@ -14816,9 +14832,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14816
14832
|
|
|
14817
14833
|
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2c5e2dda"]]);
|
|
14818
14834
|
|
|
14819
|
-
const _hoisted_1$
|
|
14820
|
-
const _hoisted_2$
|
|
14821
|
-
const _hoisted_3$
|
|
14835
|
+
const _hoisted_1$i = { class: "kds-list-column" };
|
|
14836
|
+
const _hoisted_2$8 = { class: "kds-list-header" };
|
|
14837
|
+
const _hoisted_3$8 = { class: "kds-list-label" };
|
|
14822
14838
|
const _hoisted_4$7 = {
|
|
14823
14839
|
key: 0,
|
|
14824
14840
|
class: "kds-list-count"
|
|
@@ -15006,9 +15022,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15006
15022
|
class: "kds-twin-list-body",
|
|
15007
15023
|
style: normalizeStyle(contentStyle)
|
|
15008
15024
|
}, [
|
|
15009
|
-
createElementVNode("div", _hoisted_1$
|
|
15010
|
-
createElementVNode("div", _hoisted_2$
|
|
15011
|
-
createElementVNode("span", _hoisted_3$
|
|
15025
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
15026
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
15027
|
+
createElementVNode("span", _hoisted_3$8, toDisplayString(__props.excludeLabel), 1),
|
|
15012
15028
|
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15013
15029
|
]),
|
|
15014
15030
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
@@ -15215,7 +15231,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
15215
15231
|
}
|
|
15216
15232
|
});
|
|
15217
15233
|
|
|
15218
|
-
const _hoisted_1$
|
|
15234
|
+
const _hoisted_1$h = { class: "kds-twin-list" };
|
|
15219
15235
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
15220
15236
|
__name: "KdsTwinList",
|
|
15221
15237
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15347,7 +15363,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
15347
15363
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
15348
15364
|
}, {
|
|
15349
15365
|
default: withCtx(() => [
|
|
15350
|
-
createElementVNode("div", _hoisted_1$
|
|
15366
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
15351
15367
|
createVNode(_sfc_main$o, {
|
|
15352
15368
|
mode: mode.value,
|
|
15353
15369
|
"onUpdate:mode": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
|
|
@@ -15448,9 +15464,9 @@ const useSortableListBoxReorder = ({
|
|
|
15448
15464
|
};
|
|
15449
15465
|
};
|
|
15450
15466
|
|
|
15451
|
-
const _hoisted_1$
|
|
15452
|
-
const _hoisted_2$
|
|
15453
|
-
const _hoisted_3$
|
|
15467
|
+
const _hoisted_1$g = { class: "kds-sortable-list-box-wrapper" };
|
|
15468
|
+
const _hoisted_2$7 = { class: "kds-sortable-top-buttons" };
|
|
15469
|
+
const _hoisted_3$7 = { class: "kds-sortable-top-buttons-left" };
|
|
15454
15470
|
const _hoisted_4$6 = { class: "kds-sortable-footer-buttons" };
|
|
15455
15471
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
15456
15472
|
__name: "KdsSortableListBox",
|
|
@@ -15509,9 +15525,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15509
15525
|
"preserve-sub-text-space": __props.preserveSubTextSpace
|
|
15510
15526
|
}), {
|
|
15511
15527
|
default: withCtx(() => [
|
|
15512
|
-
createElementVNode("div", _hoisted_1$
|
|
15513
|
-
createElementVNode("div", _hoisted_2$
|
|
15514
|
-
createElementVNode("div", _hoisted_3$
|
|
15528
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
15529
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
15530
|
+
createElementVNode("div", _hoisted_3$7, [
|
|
15515
15531
|
createVNode(_sfc_main$1l, {
|
|
15516
15532
|
size: "small",
|
|
15517
15533
|
variant: "transparent",
|
|
@@ -15598,7 +15614,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15598
15614
|
|
|
15599
15615
|
const KdsSortableListBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ee7b63e2"]]);
|
|
15600
15616
|
|
|
15601
|
-
const _hoisted_1$
|
|
15617
|
+
const _hoisted_1$f = { class: "kds-info-popover-content" };
|
|
15602
15618
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
15603
15619
|
__name: "InfoPopover",
|
|
15604
15620
|
props: {
|
|
@@ -15607,7 +15623,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
15607
15623
|
setup(__props) {
|
|
15608
15624
|
const props = __props;
|
|
15609
15625
|
return (_ctx, _cache) => {
|
|
15610
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15626
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
15611
15627
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
15612
15628
|
createTextVNode(toDisplayString(props.content), 1)
|
|
15613
15629
|
], true)
|
|
@@ -15618,7 +15634,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
15618
15634
|
|
|
15619
15635
|
const InfoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-951f2a2b"]]);
|
|
15620
15636
|
|
|
15621
|
-
const _hoisted_1$
|
|
15637
|
+
const _hoisted_1$e = ["aria-pressed", "aria-expanded", "aria-controls"];
|
|
15622
15638
|
const TITLE = "Click for more information";
|
|
15623
15639
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
15624
15640
|
__name: "KdsInfoToggleButton",
|
|
@@ -15662,7 +15678,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
15662
15678
|
name: "circle-question",
|
|
15663
15679
|
size: "small"
|
|
15664
15680
|
})
|
|
15665
|
-
], 16, _hoisted_1$
|
|
15681
|
+
], 16, _hoisted_1$e),
|
|
15666
15682
|
createVNode(KdsPopover, {
|
|
15667
15683
|
ref_key: "popoverEl",
|
|
15668
15684
|
ref: popoverEl,
|
|
@@ -15696,7 +15712,7 @@ const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.def
|
|
|
15696
15712
|
default: KdsInfoToggleButton
|
|
15697
15713
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
15698
15714
|
|
|
15699
|
-
const _hoisted_1$
|
|
15715
|
+
const _hoisted_1$d = {
|
|
15700
15716
|
class: "kds-variable-popover",
|
|
15701
15717
|
tabindex: "0"
|
|
15702
15718
|
};
|
|
@@ -15708,7 +15724,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15708
15724
|
setup(__props) {
|
|
15709
15725
|
const props = __props;
|
|
15710
15726
|
return (_ctx, _cache) => {
|
|
15711
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15727
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
15712
15728
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
15713
15729
|
createTextVNode(toDisplayString(props.content), 1)
|
|
15714
15730
|
], true)
|
|
@@ -15719,7 +15735,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
15719
15735
|
|
|
15720
15736
|
const VariablePopover = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8a0c56d0"]]);
|
|
15721
15737
|
|
|
15722
|
-
const _hoisted_1$
|
|
15738
|
+
const _hoisted_1$c = ["title", "aria-label", "aria-pressed", "aria-expanded", "aria-controls"];
|
|
15723
15739
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
15724
15740
|
__name: "KdsVariableToggleButton",
|
|
15725
15741
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15809,7 +15825,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15809
15825
|
name: iconName.value,
|
|
15810
15826
|
size: "small"
|
|
15811
15827
|
}, null, 8, ["name"])
|
|
15812
|
-
], 16, _hoisted_1$
|
|
15828
|
+
], 16, _hoisted_1$c),
|
|
15813
15829
|
createVNode(KdsPopover, {
|
|
15814
15830
|
ref_key: "popoverEl",
|
|
15815
15831
|
ref: popoverEl,
|
|
@@ -15839,9 +15855,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15839
15855
|
|
|
15840
15856
|
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-b6d29842"]]);
|
|
15841
15857
|
|
|
15842
|
-
const _hoisted_1$
|
|
15843
|
-
const _hoisted_2$
|
|
15844
|
-
const _hoisted_3$
|
|
15858
|
+
const _hoisted_1$b = { class: "kds-accordion" };
|
|
15859
|
+
const _hoisted_2$6 = ["name", "open", "onToggle"];
|
|
15860
|
+
const _hoisted_3$6 = ["aria-disabled", "tabindex", "onClick", "onKeydown"];
|
|
15845
15861
|
const _hoisted_4$5 = { class: "kds-accordion-headline-container" };
|
|
15846
15862
|
const _hoisted_5$2 = { class: "kds-accordion-headline" };
|
|
15847
15863
|
const _hoisted_6$1 = { class: "kds-accordion-content" };
|
|
@@ -15970,7 +15986,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15970
15986
|
() => __props.singleExpand ? `kds-accordion-${accordionId}` : void 0
|
|
15971
15987
|
);
|
|
15972
15988
|
return (_ctx, _cache) => {
|
|
15973
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15989
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
15974
15990
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
15975
15991
|
return openBlock(), createElementBlock("details", {
|
|
15976
15992
|
key: item.id,
|
|
@@ -16001,11 +16017,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
16001
16017
|
name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
|
|
16002
16018
|
size: "small"
|
|
16003
16019
|
}, null, 8, ["name"])
|
|
16004
|
-
], 40, _hoisted_3$
|
|
16020
|
+
], 40, _hoisted_3$6),
|
|
16005
16021
|
createElementVNode("div", _hoisted_6$1, [
|
|
16006
16022
|
renderSlot(_ctx.$slots, item.id, { item }, void 0, true)
|
|
16007
16023
|
])
|
|
16008
|
-
], 40, _hoisted_2$
|
|
16024
|
+
], 40, _hoisted_2$6);
|
|
16009
16025
|
}), 128))
|
|
16010
16026
|
]);
|
|
16011
16027
|
};
|
|
@@ -16014,12 +16030,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
16014
16030
|
|
|
16015
16031
|
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-0beea165"]]);
|
|
16016
16032
|
|
|
16017
|
-
const _hoisted_1$
|
|
16018
|
-
const _hoisted_2$
|
|
16033
|
+
const _hoisted_1$a = { class: "kds-card-header" };
|
|
16034
|
+
const _hoisted_2$5 = {
|
|
16019
16035
|
key: 0,
|
|
16020
16036
|
class: "accessory"
|
|
16021
16037
|
};
|
|
16022
|
-
const _hoisted_3$
|
|
16038
|
+
const _hoisted_3$5 = { key: 1 };
|
|
16023
16039
|
const _hoisted_4$4 = {
|
|
16024
16040
|
key: 2,
|
|
16025
16041
|
class: "actions",
|
|
@@ -16032,11 +16048,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
16032
16048
|
},
|
|
16033
16049
|
setup(__props) {
|
|
16034
16050
|
return (_ctx, _cache) => {
|
|
16035
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16036
|
-
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16051
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
16052
|
+
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
16037
16053
|
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16038
16054
|
])) : createCommentVNode("", true),
|
|
16039
|
-
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$
|
|
16055
|
+
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$5, toDisplayString(__props.headline), 1)) : createCommentVNode("", true),
|
|
16040
16056
|
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
16041
16057
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16042
16058
|
])) : createCommentVNode("", true)
|
|
@@ -16125,7 +16141,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
16125
16141
|
}
|
|
16126
16142
|
});
|
|
16127
16143
|
|
|
16128
|
-
const _hoisted_1$
|
|
16144
|
+
const _hoisted_1$9 = ["aria-label", "aria-labelledby", "disabled"];
|
|
16129
16145
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
16130
16146
|
__name: "KdsClickableCard",
|
|
16131
16147
|
props: {
|
|
@@ -16159,7 +16175,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16159
16175
|
disabled: __props.disabled,
|
|
16160
16176
|
"data-kds-card-primary-action": "",
|
|
16161
16177
|
onClick
|
|
16162
|
-
}, null, 8, _hoisted_1$
|
|
16178
|
+
}, null, 8, _hoisted_1$9)
|
|
16163
16179
|
]),
|
|
16164
16180
|
default: withCtx(() => [
|
|
16165
16181
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -16253,7 +16269,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
16253
16269
|
|
|
16254
16270
|
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-1696fd9e"]]);
|
|
16255
16271
|
|
|
16256
|
-
const _hoisted_1$
|
|
16272
|
+
const _hoisted_1$8 = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
|
|
16257
16273
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
16258
16274
|
__name: "KdsSelectableCard",
|
|
16259
16275
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -16292,7 +16308,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16292
16308
|
"aria-pressed": modelValue.value,
|
|
16293
16309
|
"data-kds-card-primary-action": "",
|
|
16294
16310
|
onClick
|
|
16295
|
-
}, null, 8, _hoisted_1$
|
|
16311
|
+
}, null, 8, _hoisted_1$8)
|
|
16296
16312
|
]),
|
|
16297
16313
|
default: withCtx(() => [
|
|
16298
16314
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -16339,12 +16355,12 @@ const kdsPanelBodyVariant = {
|
|
|
16339
16355
|
};
|
|
16340
16356
|
const kdsPanelBodyVariants = Object.values(kdsPanelBodyVariant);
|
|
16341
16357
|
|
|
16342
|
-
const _hoisted_1$
|
|
16343
|
-
const _hoisted_2$
|
|
16358
|
+
const _hoisted_1$7 = { class: "kds-panel" };
|
|
16359
|
+
const _hoisted_2$4 = {
|
|
16344
16360
|
key: 0,
|
|
16345
16361
|
class: "kds-panel-header"
|
|
16346
16362
|
};
|
|
16347
|
-
const _hoisted_3$
|
|
16363
|
+
const _hoisted_3$4 = ["id"];
|
|
16348
16364
|
const _hoisted_4$3 = {
|
|
16349
16365
|
key: 0,
|
|
16350
16366
|
class: "kds-panel-headline-text"
|
|
@@ -16392,8 +16408,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16392
16408
|
() => isBodyKeyboardFocusable.value && !bodyAriaLabel.value ? slotHeadlineId.value : void 0
|
|
16393
16409
|
);
|
|
16394
16410
|
return (_ctx, _cache) => {
|
|
16395
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16396
|
-
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16411
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16412
|
+
hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
16397
16413
|
__props.headline ? (openBlock(), createElementBlock("div", {
|
|
16398
16414
|
key: 0,
|
|
16399
16415
|
id: unref(headlineId),
|
|
@@ -16406,7 +16422,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16406
16422
|
size: "small",
|
|
16407
16423
|
onItemClick: __props.headline.onItemClick
|
|
16408
16424
|
}), null, 16, ["onItemClick"])) : createCommentVNode("", true)
|
|
16409
|
-
], 8, _hoisted_3$
|
|
16425
|
+
], 8, _hoisted_3$4)) : createCommentVNode("", true),
|
|
16410
16426
|
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
16411
16427
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
|
|
16412
16428
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
@@ -16607,9 +16623,9 @@ const useTabBarAdaptiveLayout = ({
|
|
|
16607
16623
|
};
|
|
16608
16624
|
};
|
|
16609
16625
|
|
|
16610
|
-
const _hoisted_1$
|
|
16611
|
-
const _hoisted_2$
|
|
16612
|
-
const _hoisted_3$
|
|
16626
|
+
const _hoisted_1$6 = { class: "kds-tab-bar-wrapper" };
|
|
16627
|
+
const _hoisted_2$3 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
16628
|
+
const _hoisted_3$3 = { class: "kds-tab-label" };
|
|
16613
16629
|
const _hoisted_4$2 = {
|
|
16614
16630
|
key: 1,
|
|
16615
16631
|
class: "kds-tab-indicator"
|
|
@@ -16739,7 +16755,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16739
16755
|
{ immediate: true }
|
|
16740
16756
|
);
|
|
16741
16757
|
return (_ctx, _cache) => {
|
|
16742
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16758
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
16743
16759
|
createElementVNode("div", {
|
|
16744
16760
|
ref_key: "availableWidthContainer",
|
|
16745
16761
|
ref: availableWidthContainer,
|
|
@@ -16775,9 +16791,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16775
16791
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
16776
16792
|
disabled: isTabDisabled(tab)
|
|
16777
16793
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
16778
|
-
createElementVNode("span", _hoisted_3$
|
|
16794
|
+
createElementVNode("span", _hoisted_3$3, toDisplayString(tab.label), 1),
|
|
16779
16795
|
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : createCommentVNode("", true)
|
|
16780
|
-
], 42, _hoisted_2$
|
|
16796
|
+
], 42, _hoisted_2$3);
|
|
16781
16797
|
}), 128))
|
|
16782
16798
|
], 2)
|
|
16783
16799
|
]);
|
|
@@ -16810,16 +16826,16 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16810
16826
|
|
|
16811
16827
|
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-86829b28"]]);
|
|
16812
16828
|
|
|
16813
|
-
const _hoisted_1$
|
|
16829
|
+
const _hoisted_1$5 = {
|
|
16814
16830
|
key: 0,
|
|
16815
16831
|
class: "kds-loading-skeleton",
|
|
16816
16832
|
"aria-busy": "true"
|
|
16817
16833
|
};
|
|
16818
|
-
const _hoisted_2$
|
|
16834
|
+
const _hoisted_2$2 = {
|
|
16819
16835
|
key: 0,
|
|
16820
16836
|
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
16821
16837
|
};
|
|
16822
|
-
const _hoisted_3$
|
|
16838
|
+
const _hoisted_3$2 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
16823
16839
|
const _hoisted_4$1 = {
|
|
16824
16840
|
key: 1,
|
|
16825
16841
|
class: "kds-loading-skeleton-input-with-label"
|
|
@@ -16838,17 +16854,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16838
16854
|
"v59c08829": _ctx.repeatGap
|
|
16839
16855
|
}));
|
|
16840
16856
|
return (_ctx, _cache) => {
|
|
16841
|
-
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16857
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
16842
16858
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
16843
16859
|
return openBlock(), createElementBlock(Fragment, {
|
|
16844
16860
|
key: `skeleton-${index}`
|
|
16845
16861
|
}, [
|
|
16846
|
-
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16862
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
16847
16863
|
createVNode(LoadingSkeletonItem, {
|
|
16848
16864
|
shape: "text",
|
|
16849
16865
|
class: "headline"
|
|
16850
16866
|
}),
|
|
16851
|
-
createElementVNode("div", _hoisted_3$
|
|
16867
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
16852
16868
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16853
16869
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16854
16870
|
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
@@ -16920,12 +16936,6 @@ const kdsLoadingSkeletonVariants = Object.values(
|
|
|
16920
16936
|
kdsLoadingSkeletonVariant
|
|
16921
16937
|
);
|
|
16922
16938
|
|
|
16923
|
-
const _hoisted_1$5 = {
|
|
16924
|
-
key: 0,
|
|
16925
|
-
class: "indicator-selected"
|
|
16926
|
-
};
|
|
16927
|
-
const _hoisted_2$2 = { class: "content" };
|
|
16928
|
-
const _hoisted_3$2 = { class: "trailing-items" };
|
|
16929
16939
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
16930
16940
|
__name: "KdsNavItem",
|
|
16931
16941
|
props: {
|
|
@@ -16940,34 +16950,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16940
16950
|
},
|
|
16941
16951
|
emits: ["click", "trailingButtonClick"],
|
|
16942
16952
|
setup(__props, { emit: __emit }) {
|
|
16953
|
+
useCssVars((_ctx) => ({
|
|
16954
|
+
"v29854424": paddingRight.value
|
|
16955
|
+
}));
|
|
16943
16956
|
const props = __props;
|
|
16944
16957
|
const emit = __emit;
|
|
16945
|
-
const onClick = (event) =>
|
|
16946
|
-
if (props.disabled) {
|
|
16947
|
-
event.stopPropagation();
|
|
16948
|
-
event.preventDefault();
|
|
16949
|
-
return;
|
|
16950
|
-
}
|
|
16951
|
-
emit("click", event);
|
|
16952
|
-
};
|
|
16958
|
+
const onClick = (event) => emit("click", event);
|
|
16953
16959
|
const onButtonClick = (event) => {
|
|
16954
16960
|
event.stopPropagation();
|
|
16955
16961
|
emit("trailingButtonClick", event);
|
|
16956
16962
|
};
|
|
16957
16963
|
const labelEl = useTemplateRef("labelEl");
|
|
16958
16964
|
const { isTruncated: isLabelTruncated } = useKdsIsTruncated(labelEl);
|
|
16959
|
-
const buttonProps = computed(() => {
|
|
16960
|
-
return {
|
|
16961
|
-
...props.trailingButton,
|
|
16962
|
-
size: "xsmall"
|
|
16963
|
-
};
|
|
16964
|
-
});
|
|
16965
|
-
const badgeProps = computed(() => {
|
|
16966
|
-
return {
|
|
16967
|
-
...props.badge,
|
|
16968
|
-
size: "xxsmall"
|
|
16969
|
-
};
|
|
16970
|
-
});
|
|
16971
16965
|
const navComponent = computed(() => {
|
|
16972
16966
|
if (props.disabled || !props.to) {
|
|
16973
16967
|
return "button";
|
|
@@ -16980,6 +16974,17 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16980
16974
|
}
|
|
16981
16975
|
return { to: props.to };
|
|
16982
16976
|
});
|
|
16977
|
+
const hasTrailingItems = computed(
|
|
16978
|
+
() => Boolean(props.trailingIcon) || Boolean(props.badge) || Boolean(props.trailingButton)
|
|
16979
|
+
);
|
|
16980
|
+
const trailingItemsEl = useTemplateRef("trailingItemsEl");
|
|
16981
|
+
const trailingItemsWidth = ref(0);
|
|
16982
|
+
useResizeObserver(trailingItemsEl, ([entry]) => {
|
|
16983
|
+
trailingItemsWidth.value = entry.contentRect.width;
|
|
16984
|
+
});
|
|
16985
|
+
const paddingRight = computed(
|
|
16986
|
+
() => hasTrailingItems.value ? `calc(${trailingItemsWidth.value}px + 2 * var(--kds-spacing-container-0-75x))` : "var(--kds-spacing-container-0-75x)"
|
|
16987
|
+
);
|
|
16983
16988
|
return (_ctx, _cache) => {
|
|
16984
16989
|
return openBlock(), createElementBlock("div", {
|
|
16985
16990
|
class: normalizeClass([
|
|
@@ -16997,40 +17002,44 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16997
17002
|
onClick
|
|
16998
17003
|
}), {
|
|
16999
17004
|
default: withCtx(() => [
|
|
17000
|
-
__props.
|
|
17001
|
-
|
|
17002
|
-
__props.leadingIcon
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
class: "label"
|
|
17012
|
-
}, toDisplayString(__props.label), 513)
|
|
17013
|
-
])
|
|
17005
|
+
__props.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17006
|
+
key: 0,
|
|
17007
|
+
name: __props.leadingIcon,
|
|
17008
|
+
size: "medium",
|
|
17009
|
+
disabled: __props.disabled
|
|
17010
|
+
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
17011
|
+
createElementVNode("span", {
|
|
17012
|
+
ref_key: "labelEl",
|
|
17013
|
+
ref: labelEl,
|
|
17014
|
+
class: "label"
|
|
17015
|
+
}, toDisplayString(__props.label), 513)
|
|
17014
17016
|
]),
|
|
17015
17017
|
_: 1
|
|
17016
17018
|
}, 16, ["disabled", "aria-current", "title"])),
|
|
17017
|
-
|
|
17019
|
+
hasTrailingItems.value ? (openBlock(), createElementBlock("div", {
|
|
17020
|
+
key: 0,
|
|
17021
|
+
ref_key: "trailingItemsEl",
|
|
17022
|
+
ref: trailingItemsEl,
|
|
17023
|
+
class: "trailing-items"
|
|
17024
|
+
}, [
|
|
17018
17025
|
__props.trailingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
17019
17026
|
key: 0,
|
|
17020
|
-
class: "trailing-icon",
|
|
17021
17027
|
name: __props.trailingIcon,
|
|
17022
17028
|
size: "small",
|
|
17023
17029
|
disabled: __props.disabled
|
|
17024
17030
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
17025
|
-
__props.badge ? (openBlock(), createBlock(unref(KdsBadge),
|
|
17026
|
-
__props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1l), mergeProps({ key: 2 },
|
|
17027
|
-
|
|
17031
|
+
__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$1l), mergeProps({ key: 2 }, __props.trailingButton, {
|
|
17033
|
+
size: "xsmall",
|
|
17034
|
+
onClick: onButtonClick
|
|
17035
|
+
}), null, 16)) : createCommentVNode("", true)
|
|
17036
|
+
], 512)) : createCommentVNode("", true)
|
|
17028
17037
|
], 2);
|
|
17029
17038
|
};
|
|
17030
17039
|
}
|
|
17031
17040
|
});
|
|
17032
17041
|
|
|
17033
|
-
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
17042
|
+
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-17711664"]]);
|
|
17034
17043
|
|
|
17035
17044
|
const _hoisted_1$4 = ["aria-label"];
|
|
17036
17045
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|