@knime/kds-components 0.27.0 → 0.28.1
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 +112 -112
- package/dist/index.js +264 -176
- package/dist/index.js.map +1 -1
- package/dist/src/buttons/BaseButton.vue.d.ts +24 -4
- package/dist/src/buttons/BaseButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsButton/KdsButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsButton/KdsButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +72 -12
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts +24 -4
- package/dist/src/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts +24 -4
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/types.d.ts +2 -1
- package/dist/src/buttons/types.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/BaseCard.vue.d.ts +5 -6
- package/dist/src/layouts/Card/BaseCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/{ContainerHeader/KdsContainerHeader.vue.d.ts → Card/CardHeader.vue.d.ts} +5 -3
- package/dist/src/layouts/Card/CardHeader.vue.d.ts.map +1 -0
- package/dist/src/layouts/Card/KdsCard.vue.d.ts +4 -5
- package/dist/src/layouts/Card/KdsCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/types.d.ts +8 -5
- package/dist/src/layouts/Card/types.d.ts.map +1 -1
- package/dist/src/layouts/index.d.ts +0 -2
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +120 -20
- package/dist/src/patterns/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/types/testId.d.ts +7 -0
- package/dist/src/types/testId.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/src/layouts/ContainerHeader/KdsContainerHeader.vue.d.ts.map +0 -1
- package/dist/src/layouts/ContainerHeader/index.d.ts +0 -3
- package/dist/src/layouts/ContainerHeader/index.d.ts.map +0 -1
- package/dist/src/layouts/ContainerHeader/types.d.ts +0 -7
- package/dist/src/layouts/ContainerHeader/types.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -969,7 +969,7 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
969
969
|
const _hoisted_1$U = ["role"];
|
|
970
970
|
const _hoisted_2$z = { class: "header" };
|
|
971
971
|
const _hoisted_3$r = { class: "headline" };
|
|
972
|
-
const _hoisted_4$
|
|
972
|
+
const _hoisted_4$m = {
|
|
973
973
|
key: 0,
|
|
974
974
|
class: "body"
|
|
975
975
|
};
|
|
@@ -1012,7 +1012,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1012
1012
|
}, null, 8, ["name"]),
|
|
1013
1013
|
createElementVNode("div", _hoisted_3$r, toDisplayString(props.headline), 1)
|
|
1014
1014
|
]),
|
|
1015
|
-
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1015
|
+
props.description ? (openBlock(), createElementBlock("div", _hoisted_4$m, toDisplayString(props.description), 1)) : createCommentVNode("", true)
|
|
1016
1016
|
], 10, _hoisted_1$U);
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
@@ -1031,13 +1031,13 @@ const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
|
1031
1031
|
const _hoisted_1$T = { class: "donut-container" };
|
|
1032
1032
|
const _hoisted_2$y = ["height", "width", "viewBox"];
|
|
1033
1033
|
const _hoisted_3$q = ["r", "stroke-width"];
|
|
1034
|
-
const _hoisted_4$
|
|
1034
|
+
const _hoisted_4$l = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1035
1035
|
const _hoisted_5$b = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1036
1036
|
const _hoisted_6$9 = {
|
|
1037
1037
|
key: 0,
|
|
1038
1038
|
class: "donut-text"
|
|
1039
1039
|
};
|
|
1040
|
-
const _hoisted_7$
|
|
1040
|
+
const _hoisted_7$3 = { class: "title" };
|
|
1041
1041
|
const _hoisted_8$3 = {
|
|
1042
1042
|
key: 0,
|
|
1043
1043
|
class: "sub-text"
|
|
@@ -1119,7 +1119,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1119
1119
|
"stroke-dashoffset": secondaryStrokeDashOffset.value,
|
|
1120
1120
|
fill: "transparent",
|
|
1121
1121
|
transform: transformWedge.value
|
|
1122
|
-
}, null, 10, _hoisted_4$
|
|
1122
|
+
}, null, 10, _hoisted_4$l)) : createCommentVNode("", true),
|
|
1123
1123
|
!disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1124
1124
|
key: 1,
|
|
1125
1125
|
class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
|
|
@@ -1134,7 +1134,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1134
1134
|
}, null, 10, _hoisted_5$b)) : createCommentVNode("", true)
|
|
1135
1135
|
], 8, _hoisted_2$y)),
|
|
1136
1136
|
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
1137
|
-
createElementVNode("div", _hoisted_7$
|
|
1137
|
+
createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
|
|
1138
1138
|
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
|
|
1139
1139
|
])) : createCommentVNode("", true)
|
|
1140
1140
|
]);
|
|
@@ -1160,6 +1160,7 @@ const _hoisted_1$R = {
|
|
|
1160
1160
|
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
1161
1161
|
__name: "BaseButton",
|
|
1162
1162
|
props: {
|
|
1163
|
+
dataTestId: {},
|
|
1163
1164
|
size: { default: "medium" },
|
|
1164
1165
|
disabled: { type: Boolean, default: false },
|
|
1165
1166
|
title: {},
|
|
@@ -1209,6 +1210,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1209
1210
|
disabled: __props.disabled,
|
|
1210
1211
|
title: props.title,
|
|
1211
1212
|
"aria-label": props.ariaLabel,
|
|
1213
|
+
"data-test-id": props.dataTestId,
|
|
1212
1214
|
onClick: _cache[0] || (_cache[0] = ($event) => onClick($event))
|
|
1213
1215
|
}, {
|
|
1214
1216
|
default: withCtx(() => [
|
|
@@ -1227,16 +1229,17 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1227
1229
|
}, null, 8, ["name", "size"])) : createCommentVNode("", true)
|
|
1228
1230
|
]),
|
|
1229
1231
|
_: 3
|
|
1230
|
-
}, 8, ["type", "class", "disabled", "title", "aria-label"]);
|
|
1232
|
+
}, 8, ["type", "class", "disabled", "title", "aria-label", "data-test-id"]);
|
|
1231
1233
|
};
|
|
1232
1234
|
}
|
|
1233
1235
|
});
|
|
1234
1236
|
|
|
1235
|
-
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-
|
|
1237
|
+
const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-190ac311"]]);
|
|
1236
1238
|
|
|
1237
1239
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
1238
1240
|
__name: "KdsButton",
|
|
1239
1241
|
props: {
|
|
1242
|
+
dataTestId: {},
|
|
1240
1243
|
size: {},
|
|
1241
1244
|
disabled: { type: Boolean },
|
|
1242
1245
|
title: {},
|
|
@@ -1302,6 +1305,7 @@ function isExternalUrl(url) {
|
|
|
1302
1305
|
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
1303
1306
|
__name: "KdsLinkButton",
|
|
1304
1307
|
props: {
|
|
1308
|
+
dataTestId: {},
|
|
1305
1309
|
size: {},
|
|
1306
1310
|
disabled: { type: Boolean, default: false },
|
|
1307
1311
|
title: {},
|
|
@@ -1642,6 +1646,7 @@ const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v
|
|
|
1642
1646
|
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
1643
1647
|
__name: "KdsToggleButton",
|
|
1644
1648
|
props: /* @__PURE__ */ mergeModels({
|
|
1649
|
+
dataTestId: {},
|
|
1645
1650
|
size: {},
|
|
1646
1651
|
disabled: { type: Boolean },
|
|
1647
1652
|
title: {},
|
|
@@ -1680,6 +1685,7 @@ const _hoisted_2$w = ["data-visible"];
|
|
|
1680
1685
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
1681
1686
|
__name: "KdsProgressButton",
|
|
1682
1687
|
props: /* @__PURE__ */ mergeModels({
|
|
1688
|
+
dataTestId: {},
|
|
1683
1689
|
size: { default: "medium" },
|
|
1684
1690
|
disabled: { type: Boolean, default: false },
|
|
1685
1691
|
title: {},
|
|
@@ -2032,13 +2038,13 @@ const _hoisted_2$v = {
|
|
|
2032
2038
|
class: "accessory"
|
|
2033
2039
|
};
|
|
2034
2040
|
const _hoisted_3$p = { class: "content" };
|
|
2035
|
-
const _hoisted_4$
|
|
2041
|
+
const _hoisted_4$k = ["title"];
|
|
2036
2042
|
const _hoisted_5$a = {
|
|
2037
2043
|
key: 0,
|
|
2038
2044
|
class: "prefix"
|
|
2039
2045
|
};
|
|
2040
2046
|
const _hoisted_6$8 = ["title"];
|
|
2041
|
-
const _hoisted_7$
|
|
2047
|
+
const _hoisted_7$2 = { class: "trailing-item" };
|
|
2042
2048
|
const _hoisted_8$2 = {
|
|
2043
2049
|
key: 0,
|
|
2044
2050
|
class: "shortcut"
|
|
@@ -2123,7 +2129,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2123
2129
|
createElementVNode("span", {
|
|
2124
2130
|
class: normalizeClass({ special: __props.special })
|
|
2125
2131
|
}, toDisplayString(props.text), 3)
|
|
2126
|
-
], 8, _hoisted_4$
|
|
2132
|
+
], 8, _hoisted_4$k),
|
|
2127
2133
|
props.subText ? (openBlock(), createElementBlock("span", {
|
|
2128
2134
|
key: 0,
|
|
2129
2135
|
ref_key: "subtextEl",
|
|
@@ -2132,7 +2138,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2132
2138
|
title: unref(isSubtextTruncated) ? props.subText : void 0
|
|
2133
2139
|
}, toDisplayString(props.subText), 9, _hoisted_6$8)) : createCommentVNode("", true)
|
|
2134
2140
|
]),
|
|
2135
|
-
createElementVNode("span", _hoisted_7$
|
|
2141
|
+
createElementVNode("span", _hoisted_7$2, [
|
|
2136
2142
|
props.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_8$2, toDisplayString(props.shortcut), 1)) : props.badge ? (openBlock(), createBlock(KdsBadge, {
|
|
2137
2143
|
key: 1,
|
|
2138
2144
|
size: badgeSize.value,
|
|
@@ -2410,6 +2416,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
2410
2416
|
},
|
|
2411
2417
|
__name: "KdsMenuButton",
|
|
2412
2418
|
props: {
|
|
2419
|
+
dataTestId: {},
|
|
2413
2420
|
size: {},
|
|
2414
2421
|
disabled: { type: Boolean },
|
|
2415
2422
|
title: {},
|
|
@@ -2490,6 +2497,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
2490
2497
|
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2491
2498
|
__name: "KdsSplitButton",
|
|
2492
2499
|
props: {
|
|
2500
|
+
dataTestId: {},
|
|
2493
2501
|
size: { default: "medium" },
|
|
2494
2502
|
disabled: { type: Boolean },
|
|
2495
2503
|
title: {},
|
|
@@ -2596,7 +2604,7 @@ const _hoisted_3$n = {
|
|
|
2596
2604
|
key: 1,
|
|
2597
2605
|
class: "kds-empty-state-description"
|
|
2598
2606
|
};
|
|
2599
|
-
const _hoisted_4$
|
|
2607
|
+
const _hoisted_4$j = {
|
|
2600
2608
|
key: 2,
|
|
2601
2609
|
class: "kds-empty-state-action"
|
|
2602
2610
|
};
|
|
@@ -2640,7 +2648,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2640
2648
|
})) : createCommentVNode("", true),
|
|
2641
2649
|
createElementVNode("p", _hoisted_2$s, toDisplayString(props.headline), 1),
|
|
2642
2650
|
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$n, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
2643
|
-
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2651
|
+
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
2644
2652
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
2645
2653
|
disabled: props.button?.disabled || __props.disabled,
|
|
2646
2654
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
|
|
@@ -2946,7 +2954,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2946
2954
|
const _hoisted_1$I = { class: "kds-preview-list" };
|
|
2947
2955
|
const _hoisted_2$r = { class: "kds-preview-list-title-row" };
|
|
2948
2956
|
const _hoisted_3$m = { class: "kds-preview-list-content" };
|
|
2949
|
-
const _hoisted_4$
|
|
2957
|
+
const _hoisted_4$i = { class: "kds-preview-list-headline" };
|
|
2950
2958
|
const _hoisted_5$9 = ["aria-label"];
|
|
2951
2959
|
const _hoisted_6$7 = { class: "kds-preview-list-show-hide" };
|
|
2952
2960
|
const DEFAULT_MAX_VISIBLE_ITEMS = 6;
|
|
@@ -2996,7 +3004,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2996
3004
|
size: "small"
|
|
2997
3005
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
2998
3006
|
createElementVNode("div", _hoisted_3$m, [
|
|
2999
|
-
createElementVNode("span", _hoisted_4$
|
|
3007
|
+
createElementVNode("span", _hoisted_4$i, toDisplayString(props.headline), 1)
|
|
3000
3008
|
]),
|
|
3001
3009
|
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$1l, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
|
|
3002
3010
|
]),
|
|
@@ -3141,7 +3149,7 @@ const _hoisted_3$l = {
|
|
|
3141
3149
|
key: 0,
|
|
3142
3150
|
class: "content"
|
|
3143
3151
|
};
|
|
3144
|
-
const _hoisted_4$
|
|
3152
|
+
const _hoisted_4$h = { class: "label" };
|
|
3145
3153
|
const _hoisted_5$8 = ["id"];
|
|
3146
3154
|
const _hoisted_6$6 = {
|
|
3147
3155
|
key: 0,
|
|
@@ -3229,7 +3237,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3229
3237
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
3230
3238
|
]),
|
|
3231
3239
|
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
3232
|
-
createElementVNode("div", _hoisted_4$
|
|
3240
|
+
createElementVNode("div", _hoisted_4$h, toDisplayString(props.label), 1),
|
|
3233
3241
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3234
3242
|
key: 0,
|
|
3235
3243
|
id: unref(helperId),
|
|
@@ -3285,7 +3293,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3285
3293
|
const _hoisted_1$E = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
3286
3294
|
const _hoisted_2$n = ["id"];
|
|
3287
3295
|
const _hoisted_3$k = ["title"];
|
|
3288
|
-
const _hoisted_4$
|
|
3296
|
+
const _hoisted_4$g = { class: "kds-fieldset-content" };
|
|
3289
3297
|
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3290
3298
|
__name: "BaseFieldsetWrapper",
|
|
3291
3299
|
props: {
|
|
@@ -3339,7 +3347,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3339
3347
|
hidden: !isHovered.value
|
|
3340
3348
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
3341
3349
|
], 8, _hoisted_2$n)) : createCommentVNode("", true),
|
|
3342
|
-
createElementVNode("div", _hoisted_4$
|
|
3350
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
3343
3351
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3344
3352
|
]),
|
|
3345
3353
|
createVNode(KdsSubText, {
|
|
@@ -3460,7 +3468,7 @@ const _hoisted_3$j = {
|
|
|
3460
3468
|
"aria-hidden": "true",
|
|
3461
3469
|
focusable: "false"
|
|
3462
3470
|
};
|
|
3463
|
-
const _hoisted_4$
|
|
3471
|
+
const _hoisted_4$f = { class: "content" };
|
|
3464
3472
|
const _hoisted_5$7 = { class: "label" };
|
|
3465
3473
|
const _hoisted_6$5 = ["id"];
|
|
3466
3474
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
@@ -3512,7 +3520,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3512
3520
|
}, null, -1)
|
|
3513
3521
|
])])) : createCommentVNode("", true)
|
|
3514
3522
|
]),
|
|
3515
|
-
createElementVNode("div", _hoisted_4$
|
|
3523
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
3516
3524
|
createElementVNode("div", _hoisted_5$7, toDisplayString(props.text), 1),
|
|
3517
3525
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3518
3526
|
key: 0,
|
|
@@ -4681,7 +4689,7 @@ const _hoisted_2$l = {
|
|
|
4681
4689
|
class: "leading-slot"
|
|
4682
4690
|
};
|
|
4683
4691
|
const _hoisted_3$i = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "pattern", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant", "aria-haspopup", "aria-controls", "aria-expanded", "aria-autocomplete"];
|
|
4684
|
-
const _hoisted_4$
|
|
4692
|
+
const _hoisted_4$e = ["aria-disabled"];
|
|
4685
4693
|
const _hoisted_5$6 = {
|
|
4686
4694
|
key: 4,
|
|
4687
4695
|
class: "trailing-slot"
|
|
@@ -4901,7 +4909,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4901
4909
|
disabled: __props.disabled
|
|
4902
4910
|
}),
|
|
4903
4911
|
"aria-disabled": __props.disabled || void 0
|
|
4904
|
-
}, toDisplayString(props.unit), 11, _hoisted_4$
|
|
4912
|
+
}, toDisplayString(props.unit), 11, _hoisted_4$e)) : createCommentVNode("", true),
|
|
4905
4913
|
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1l, {
|
|
4906
4914
|
key: 3,
|
|
4907
4915
|
class: "clear-button",
|
|
@@ -10272,7 +10280,7 @@ const _hoisted_1$y = {
|
|
|
10272
10280
|
};
|
|
10273
10281
|
const _hoisted_2$j = ["aria-label"];
|
|
10274
10282
|
const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
|
|
10275
|
-
const _hoisted_4$
|
|
10283
|
+
const _hoisted_4$d = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
|
|
10276
10284
|
const REFERENCE_YEAR$2 = 2024;
|
|
10277
10285
|
const DAYS_PER_WEEK = 7;
|
|
10278
10286
|
const TOTAL_CELLS = 42;
|
|
@@ -10610,7 +10618,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10610
10618
|
onClick: ($event) => selectDate(day),
|
|
10611
10619
|
onKeydown: onDayKeydown,
|
|
10612
10620
|
onFocus: ($event) => onDayFocus(day)
|
|
10613
|
-
}, toDisplayString(day.day), 43, _hoisted_4$
|
|
10621
|
+
}, toDisplayString(day.day), 43, _hoisted_4$d);
|
|
10614
10622
|
}), 128))
|
|
10615
10623
|
]);
|
|
10616
10624
|
}), 128))
|
|
@@ -11002,7 +11010,7 @@ const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId
|
|
|
11002
11010
|
const _hoisted_1$v = { class: "kds-date-picker" };
|
|
11003
11011
|
const _hoisted_2$i = { class: "kds-date-picker-header" };
|
|
11004
11012
|
const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
|
|
11005
|
-
const _hoisted_4$
|
|
11013
|
+
const _hoisted_4$c = {
|
|
11006
11014
|
key: 1,
|
|
11007
11015
|
class: "kds-date-picker-header-static-label",
|
|
11008
11016
|
"aria-live": "polite"
|
|
@@ -11236,7 +11244,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11236
11244
|
size: "small",
|
|
11237
11245
|
label: headerLabel.value,
|
|
11238
11246
|
onClick: onHeaderLabelClick
|
|
11239
|
-
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11247
|
+
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$c, toDisplayString(headerLabel.value), 1)),
|
|
11240
11248
|
createElementVNode("div", _hoisted_5$5, [
|
|
11241
11249
|
createVNode(_sfc_main$1l, {
|
|
11242
11250
|
variant: "transparent",
|
|
@@ -12244,18 +12252,17 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12244
12252
|
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8e5a54cf"]]);
|
|
12245
12253
|
|
|
12246
12254
|
const _hoisted_1$s = { class: "kds-time-picker" };
|
|
12247
|
-
const _hoisted_2$h = { class: "kds-time-picker-
|
|
12255
|
+
const _hoisted_2$h = { class: "kds-time-picker-fields" };
|
|
12248
12256
|
const _hoisted_3$e = { class: "kds-time-picker-fields" };
|
|
12249
|
-
const _hoisted_4$
|
|
12250
|
-
const _hoisted_5$4 = {
|
|
12257
|
+
const _hoisted_4$b = {
|
|
12251
12258
|
key: 0,
|
|
12252
12259
|
class: "kds-time-picker-fields"
|
|
12253
12260
|
};
|
|
12254
|
-
const
|
|
12261
|
+
const _hoisted_5$4 = {
|
|
12255
12262
|
key: 1,
|
|
12256
12263
|
class: "kds-time-picker-actions"
|
|
12257
12264
|
};
|
|
12258
|
-
const
|
|
12265
|
+
const _hoisted_6$2 = {
|
|
12259
12266
|
key: 2,
|
|
12260
12267
|
class: "kds-time-picker-actions"
|
|
12261
12268
|
};
|
|
@@ -12322,21 +12329,6 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12322
12329
|
get: () => modelValue.value?.millisecond ?? 0,
|
|
12323
12330
|
set: (value) => writeTime({ millisecond: value })
|
|
12324
12331
|
});
|
|
12325
|
-
const selectedTimeLabel = computed(() => {
|
|
12326
|
-
const time = Un.PlainTime.from({
|
|
12327
|
-
hour: clamp(modelValue.value?.hour ?? 0, 0, MAX_HOUR),
|
|
12328
|
-
minute: clamp(modelValue.value?.minute ?? 0, 0, MAX_MINUTE),
|
|
12329
|
-
second: showSecondInput.value ? clamp(modelValue.value?.second ?? 0, 0, MAX_SECOND) : 0,
|
|
12330
|
-
millisecond: showMillisecondInput.value ? clamp(modelValue.value?.millisecond ?? 0, 0, MAX_MILLISECOND) : 0
|
|
12331
|
-
});
|
|
12332
|
-
if (showMillisecondInput.value) {
|
|
12333
|
-
return time.toString({ smallestUnit: "millisecond" });
|
|
12334
|
-
}
|
|
12335
|
-
if (showSecondInput.value) {
|
|
12336
|
-
return time.toString({ smallestUnit: "second" });
|
|
12337
|
-
}
|
|
12338
|
-
return time.toString({ smallestUnit: "minute" });
|
|
12339
|
-
});
|
|
12340
12332
|
const addSeconds = async () => {
|
|
12341
12333
|
granularity.value = "second";
|
|
12342
12334
|
await nextTick();
|
|
@@ -12365,8 +12357,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12365
12357
|
__expose({ focus });
|
|
12366
12358
|
return (_ctx, _cache) => {
|
|
12367
12359
|
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
12368
|
-
createElementVNode("div", _hoisted_2$h,
|
|
12369
|
-
createElementVNode("div", _hoisted_3$e, [
|
|
12360
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
12370
12361
|
createVNode(_sfc_main$T, {
|
|
12371
12362
|
ref: "hourInput",
|
|
12372
12363
|
modelValue: hour.value,
|
|
@@ -12392,7 +12383,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12392
12383
|
class: "kds-time-picker-divider"
|
|
12393
12384
|
})) : createCommentVNode("", true),
|
|
12394
12385
|
showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
12395
|
-
createElementVNode("div",
|
|
12386
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
12396
12387
|
createVNode(_sfc_main$T, {
|
|
12397
12388
|
ref: "secondInput",
|
|
12398
12389
|
modelValue: second.value,
|
|
@@ -12412,7 +12403,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12412
12403
|
onClick: removeSeconds
|
|
12413
12404
|
})
|
|
12414
12405
|
]),
|
|
12415
|
-
showMillisecondInput.value ? (openBlock(), createElementBlock("div",
|
|
12406
|
+
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
12416
12407
|
createVNode(_sfc_main$T, {
|
|
12417
12408
|
ref: "millisecondInput",
|
|
12418
12409
|
modelValue: millisecond.value,
|
|
@@ -12434,7 +12425,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12434
12425
|
title: "Remove milliseconds",
|
|
12435
12426
|
onClick: removeMilliseconds
|
|
12436
12427
|
})
|
|
12437
|
-
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div",
|
|
12428
|
+
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
12438
12429
|
createVNode(_sfc_main$1l, {
|
|
12439
12430
|
variant: "outlined",
|
|
12440
12431
|
size: "small",
|
|
@@ -12443,7 +12434,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12443
12434
|
onClick: addMilliseconds
|
|
12444
12435
|
})
|
|
12445
12436
|
])) : createCommentVNode("", true)
|
|
12446
|
-
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div",
|
|
12437
|
+
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
12447
12438
|
createVNode(_sfc_main$1l, {
|
|
12448
12439
|
variant: "outlined",
|
|
12449
12440
|
size: "small",
|
|
@@ -12457,7 +12448,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12457
12448
|
}
|
|
12458
12449
|
});
|
|
12459
12450
|
|
|
12460
|
-
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
12451
|
+
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c2bc1234"]]);
|
|
12461
12452
|
|
|
12462
12453
|
const HOURS_END_INDEX = 2;
|
|
12463
12454
|
const MINUTES_START_INDEX = 2;
|
|
@@ -13047,7 +13038,7 @@ const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerC
|
|
|
13047
13038
|
const _hoisted_1$r = { class: "kds-interval-popover" };
|
|
13048
13039
|
const _hoisted_2$g = { class: "kds-interval-popover-header" };
|
|
13049
13040
|
const _hoisted_3$d = { class: "kds-interval-popover-content" };
|
|
13050
|
-
const _hoisted_4$
|
|
13041
|
+
const _hoisted_4$a = { class: "kds-interval-popover-grid" };
|
|
13051
13042
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
13052
13043
|
__name: "IntervalInputPopover",
|
|
13053
13044
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13165,7 +13156,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13165
13156
|
variant: "muted",
|
|
13166
13157
|
"possible-values": directionOptions
|
|
13167
13158
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
13168
|
-
createElementVNode("div", _hoisted_4$
|
|
13159
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
13169
13160
|
mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
|
|
13170
13161
|
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
13171
13162
|
key,
|
|
@@ -13413,7 +13404,7 @@ const _hoisted_2$f = {
|
|
|
13413
13404
|
"aria-hidden": "true"
|
|
13414
13405
|
};
|
|
13415
13406
|
const _hoisted_3$c = ["id"];
|
|
13416
|
-
const _hoisted_4$
|
|
13407
|
+
const _hoisted_4$9 = {
|
|
13417
13408
|
class: "trailing",
|
|
13418
13409
|
"aria-hidden": "true"
|
|
13419
13410
|
};
|
|
@@ -13502,7 +13493,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13502
13493
|
missing: __props.missing
|
|
13503
13494
|
}])
|
|
13504
13495
|
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$c),
|
|
13505
|
-
createElementVNode("span", _hoisted_4$
|
|
13496
|
+
createElementVNode("span", _hoisted_4$9, [
|
|
13506
13497
|
createVNode(KdsIcon, {
|
|
13507
13498
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
13508
13499
|
size: "small"
|
|
@@ -14505,7 +14496,7 @@ const _hoisted_3$a = {
|
|
|
14505
14496
|
key: 0,
|
|
14506
14497
|
class: "kds-multiselect-sticky-bottom"
|
|
14507
14498
|
};
|
|
14508
|
-
const _hoisted_4$
|
|
14499
|
+
const _hoisted_4$8 = {
|
|
14509
14500
|
key: 0,
|
|
14510
14501
|
class: "kds-multiselect-empty"
|
|
14511
14502
|
};
|
|
@@ -14810,7 +14801,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14810
14801
|
])) : createCommentVNode("", true)
|
|
14811
14802
|
])
|
|
14812
14803
|
], 16, _hoisted_1$k),
|
|
14813
|
-
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14804
|
+
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
14814
14805
|
createVNode(KdsEmptyState, {
|
|
14815
14806
|
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
14816
14807
|
"loading-spinner": __props.loading,
|
|
@@ -14833,7 +14824,7 @@ const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scop
|
|
|
14833
14824
|
const _hoisted_1$j = { class: "kds-list-column" };
|
|
14834
14825
|
const _hoisted_2$9 = { class: "kds-list-header" };
|
|
14835
14826
|
const _hoisted_3$9 = { class: "kds-list-label" };
|
|
14836
|
-
const _hoisted_4$
|
|
14827
|
+
const _hoisted_4$7 = {
|
|
14837
14828
|
key: 0,
|
|
14838
14829
|
class: "kds-list-count"
|
|
14839
14830
|
};
|
|
@@ -15023,7 +15014,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15023
15014
|
createElementVNode("div", _hoisted_1$j, [
|
|
15024
15015
|
createElementVNode("div", _hoisted_2$9, [
|
|
15025
15016
|
createElementVNode("span", _hoisted_3$9, toDisplayString(__props.excludeLabel), 1),
|
|
15026
|
-
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
15017
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15027
15018
|
]),
|
|
15028
15019
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
15029
15020
|
modelValue: leftSelected.value,
|
|
@@ -15465,7 +15456,7 @@ const useSortableListBoxReorder = ({
|
|
|
15465
15456
|
const _hoisted_1$h = { class: "kds-sortable-list-box-wrapper" };
|
|
15466
15457
|
const _hoisted_2$8 = { class: "kds-sortable-top-buttons" };
|
|
15467
15458
|
const _hoisted_3$8 = { class: "kds-sortable-top-buttons-left" };
|
|
15468
|
-
const _hoisted_4$
|
|
15459
|
+
const _hoisted_4$6 = { class: "kds-sortable-footer-buttons" };
|
|
15469
15460
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
15470
15461
|
__name: "KdsSortableListBox",
|
|
15471
15462
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15564,7 +15555,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15564
15555
|
ariaLabel: formFieldProps.label ?? formFieldProps.ariaLabel ?? ""
|
|
15565
15556
|
/* fallback only for TS */
|
|
15566
15557
|
}, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
|
|
15567
|
-
createElementVNode("div", _hoisted_4$
|
|
15558
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
15568
15559
|
createVNode(_sfc_main$1l, {
|
|
15569
15560
|
size: "small",
|
|
15570
15561
|
variant: "transparent",
|
|
@@ -15856,7 +15847,7 @@ const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__sc
|
|
|
15856
15847
|
const _hoisted_1$c = { class: "kds-accordion" };
|
|
15857
15848
|
const _hoisted_2$7 = ["id", "aria-expanded", "aria-controls", "disabled", "onClick", "onKeydown"];
|
|
15858
15849
|
const _hoisted_3$7 = { class: "kds-accordion-headline-container" };
|
|
15859
|
-
const _hoisted_4$
|
|
15850
|
+
const _hoisted_4$5 = { class: "kds-accordion-headline" };
|
|
15860
15851
|
const _hoisted_5$2 = ["id", "aria-labelledby", "hidden"];
|
|
15861
15852
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
15862
15853
|
__name: "KdsAccordion",
|
|
@@ -15991,7 +15982,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15991
15982
|
size: "small",
|
|
15992
15983
|
disabled: item.disabled
|
|
15993
15984
|
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
15994
|
-
createElementVNode("span", _hoisted_4$
|
|
15985
|
+
createElementVNode("span", _hoisted_4$5, toDisplayString(item.headline), 1)
|
|
15995
15986
|
]),
|
|
15996
15987
|
createVNode(KdsIcon, {
|
|
15997
15988
|
name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
|
|
@@ -16016,10 +16007,44 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
16016
16007
|
|
|
16017
16008
|
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-66485734"]]);
|
|
16018
16009
|
|
|
16010
|
+
const _hoisted_1$b = { class: "kds-card-header" };
|
|
16011
|
+
const _hoisted_2$6 = {
|
|
16012
|
+
key: 0,
|
|
16013
|
+
class: "accessory"
|
|
16014
|
+
};
|
|
16015
|
+
const _hoisted_3$6 = { key: 1 };
|
|
16016
|
+
const _hoisted_4$4 = {
|
|
16017
|
+
key: 2,
|
|
16018
|
+
class: "actions",
|
|
16019
|
+
"data-kds-card-secondary-action": ""
|
|
16020
|
+
};
|
|
16019
16021
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
16022
|
+
__name: "CardHeader",
|
|
16023
|
+
props: {
|
|
16024
|
+
headline: {}
|
|
16025
|
+
},
|
|
16026
|
+
setup(__props) {
|
|
16027
|
+
return (_ctx, _cache) => {
|
|
16028
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
16029
|
+
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
16030
|
+
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16031
|
+
])) : createCommentVNode("", true),
|
|
16032
|
+
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$6, toDisplayString(__props.headline), 1)) : createCommentVNode("", true),
|
|
16033
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
16034
|
+
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16035
|
+
])) : createCommentVNode("", true)
|
|
16036
|
+
]);
|
|
16037
|
+
};
|
|
16038
|
+
}
|
|
16039
|
+
});
|
|
16040
|
+
|
|
16041
|
+
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-9be14436"]]);
|
|
16042
|
+
|
|
16043
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
16020
16044
|
__name: "BaseCard",
|
|
16021
16045
|
props: {
|
|
16022
16046
|
variant: {},
|
|
16047
|
+
headline: {},
|
|
16023
16048
|
clickable: { type: Boolean, default: false },
|
|
16024
16049
|
selected: { type: Boolean, default: false }
|
|
16025
16050
|
},
|
|
@@ -16028,39 +16053,77 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
16028
16053
|
return openBlock(), createElementBlock("div", {
|
|
16029
16054
|
class: normalizeClass(["kds-base-card", [`variant-${__props.variant}`, { selected: __props.selected, clickable: __props.clickable }]])
|
|
16030
16055
|
}, [
|
|
16056
|
+
renderSlot(_ctx.$slots, "primary-action", {}, void 0, true),
|
|
16057
|
+
_ctx.$slots["header-accessory"] || _ctx.$slots["header-actions"] || __props.headline ? (openBlock(), createBlock(CardHeader, {
|
|
16058
|
+
key: 0,
|
|
16059
|
+
headline: __props.headline
|
|
16060
|
+
}, createSlots({ _: 2 }, [
|
|
16061
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16062
|
+
name: "accessory",
|
|
16063
|
+
fn: withCtx(() => [
|
|
16064
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16065
|
+
]),
|
|
16066
|
+
key: "0"
|
|
16067
|
+
} : void 0,
|
|
16068
|
+
_ctx.$slots["header-actions"] ? {
|
|
16069
|
+
name: "actions",
|
|
16070
|
+
fn: withCtx(() => [
|
|
16071
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16072
|
+
]),
|
|
16073
|
+
key: "1"
|
|
16074
|
+
} : void 0
|
|
16075
|
+
]), 1032, ["headline"])) : createCommentVNode("", true),
|
|
16031
16076
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16032
16077
|
], 2);
|
|
16033
16078
|
};
|
|
16034
16079
|
}
|
|
16035
16080
|
});
|
|
16036
16081
|
|
|
16037
|
-
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16082
|
+
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a1aff6d6"]]);
|
|
16038
16083
|
|
|
16039
|
-
const _sfc_main$
|
|
16084
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
16040
16085
|
__name: "KdsCard",
|
|
16041
16086
|
props: {
|
|
16042
|
-
variant: { default: "outlined" }
|
|
16087
|
+
variant: { default: "outlined" },
|
|
16088
|
+
headline: {}
|
|
16043
16089
|
},
|
|
16044
16090
|
setup(__props) {
|
|
16045
16091
|
return (_ctx, _cache) => {
|
|
16046
16092
|
return openBlock(), createBlock(BaseCard, {
|
|
16047
16093
|
variant: __props.variant,
|
|
16048
|
-
class: "kds-card"
|
|
16049
|
-
|
|
16094
|
+
class: "kds-card",
|
|
16095
|
+
headline: __props.headline
|
|
16096
|
+
}, createSlots({
|
|
16050
16097
|
default: withCtx(() => [
|
|
16051
16098
|
renderSlot(_ctx.$slots, "default")
|
|
16052
16099
|
]),
|
|
16053
|
-
_:
|
|
16054
|
-
},
|
|
16100
|
+
_: 2
|
|
16101
|
+
}, [
|
|
16102
|
+
_ctx.$slots["header-actions"] ? {
|
|
16103
|
+
name: "header-actions",
|
|
16104
|
+
fn: withCtx(() => [
|
|
16105
|
+
renderSlot(_ctx.$slots, "header-actions")
|
|
16106
|
+
]),
|
|
16107
|
+
key: "0"
|
|
16108
|
+
} : void 0,
|
|
16109
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16110
|
+
name: "header-accessory",
|
|
16111
|
+
fn: withCtx(() => [
|
|
16112
|
+
renderSlot(_ctx.$slots, "header-accessory")
|
|
16113
|
+
]),
|
|
16114
|
+
key: "1"
|
|
16115
|
+
} : void 0
|
|
16116
|
+
]), 1032, ["variant", "headline"]);
|
|
16055
16117
|
};
|
|
16056
16118
|
}
|
|
16057
16119
|
});
|
|
16058
16120
|
|
|
16059
|
-
const _hoisted_1$
|
|
16060
|
-
const _sfc_main$
|
|
16121
|
+
const _hoisted_1$a = ["aria-label", "aria-labelledby", "disabled"];
|
|
16122
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
16061
16123
|
__name: "KdsClickableCard",
|
|
16062
16124
|
props: {
|
|
16063
16125
|
variant: { default: "filled" },
|
|
16126
|
+
headline: {},
|
|
16064
16127
|
disabled: { type: Boolean, default: false },
|
|
16065
16128
|
ariaLabel: {},
|
|
16066
16129
|
ariaLabelledby: {}
|
|
@@ -16078,35 +16141,54 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
16078
16141
|
return openBlock(), createBlock(BaseCard, {
|
|
16079
16142
|
variant: __props.variant,
|
|
16080
16143
|
clickable: !__props.disabled,
|
|
16144
|
+
headline: __props.headline,
|
|
16081
16145
|
class: "kds-clickable-card"
|
|
16082
|
-
}, {
|
|
16083
|
-
|
|
16146
|
+
}, createSlots({
|
|
16147
|
+
"primary-action": withCtx(() => [
|
|
16084
16148
|
createElementVNode("button", {
|
|
16085
16149
|
type: "button",
|
|
16086
|
-
"aria-label": __props.ariaLabel,
|
|
16150
|
+
"aria-label": __props.ariaLabel ? __props.ariaLabel : __props.headline,
|
|
16087
16151
|
"aria-labelledby": __props.ariaLabelledby,
|
|
16088
16152
|
disabled: __props.disabled,
|
|
16089
16153
|
"data-kds-card-primary-action": "",
|
|
16090
16154
|
onClick
|
|
16091
|
-
}, null, 8, _hoisted_1$
|
|
16155
|
+
}, null, 8, _hoisted_1$a)
|
|
16156
|
+
]),
|
|
16157
|
+
default: withCtx(() => [
|
|
16092
16158
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16093
16159
|
]),
|
|
16094
|
-
_:
|
|
16095
|
-
},
|
|
16160
|
+
_: 2
|
|
16161
|
+
}, [
|
|
16162
|
+
_ctx.$slots["header-actions"] ? {
|
|
16163
|
+
name: "header-actions",
|
|
16164
|
+
fn: withCtx(() => [
|
|
16165
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16166
|
+
]),
|
|
16167
|
+
key: "0"
|
|
16168
|
+
} : void 0,
|
|
16169
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16170
|
+
name: "header-accessory",
|
|
16171
|
+
fn: withCtx(() => [
|
|
16172
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16173
|
+
]),
|
|
16174
|
+
key: "1"
|
|
16175
|
+
} : void 0
|
|
16176
|
+
]), 1032, ["variant", "clickable", "headline"]);
|
|
16096
16177
|
};
|
|
16097
16178
|
}
|
|
16098
16179
|
});
|
|
16099
16180
|
|
|
16100
|
-
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16181
|
+
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-04004cbf"]]);
|
|
16101
16182
|
|
|
16102
|
-
const _sfc_main$
|
|
16183
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
16103
16184
|
__name: "KdsLinkCard",
|
|
16104
16185
|
props: {
|
|
16186
|
+
variant: { default: "filled" },
|
|
16187
|
+
headline: {},
|
|
16105
16188
|
to: {},
|
|
16106
16189
|
download: { type: Boolean },
|
|
16107
16190
|
target: {},
|
|
16108
16191
|
rel: {},
|
|
16109
|
-
variant: { default: "filled" },
|
|
16110
16192
|
disabled: { type: Boolean, default: false },
|
|
16111
16193
|
ariaLabel: {},
|
|
16112
16194
|
ariaLabelledby: {}
|
|
@@ -16115,41 +16197,61 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16115
16197
|
const linkComponent = computed(() => {
|
|
16116
16198
|
return resolveNuxtLinkComponent();
|
|
16117
16199
|
});
|
|
16200
|
+
const ariaLabelWithFallback = computed(() => __props.ariaLabel || __props.headline);
|
|
16118
16201
|
return (_ctx, _cache) => {
|
|
16119
16202
|
return openBlock(), createBlock(BaseCard, {
|
|
16120
16203
|
variant: __props.variant,
|
|
16121
16204
|
clickable: !__props.disabled,
|
|
16122
16205
|
class: "kds-link-card",
|
|
16123
16206
|
"aria-disabled": __props.disabled ? true : void 0,
|
|
16124
|
-
"aria-label": __props.disabled ?
|
|
16125
|
-
"aria-labelledby": __props.disabled ? __props.ariaLabelledby : void 0
|
|
16126
|
-
|
|
16127
|
-
|
|
16207
|
+
"aria-label": __props.disabled ? ariaLabelWithFallback.value : void 0,
|
|
16208
|
+
"aria-labelledby": __props.disabled ? __props.ariaLabelledby : void 0,
|
|
16209
|
+
headline: __props.headline
|
|
16210
|
+
}, createSlots({
|
|
16211
|
+
"primary-action": withCtx(() => [
|
|
16128
16212
|
!__props.disabled ? (openBlock(), createBlock(resolveDynamicComponent(linkComponent.value), {
|
|
16129
16213
|
key: 0,
|
|
16130
16214
|
to: __props.to,
|
|
16131
16215
|
"data-kds-card-primary-action": "",
|
|
16132
|
-
"aria-label":
|
|
16216
|
+
"aria-label": ariaLabelWithFallback.value,
|
|
16133
16217
|
"aria-labelledby": __props.ariaLabelledby,
|
|
16134
16218
|
download: __props.download,
|
|
16135
16219
|
rel: __props.rel,
|
|
16136
16220
|
target: __props.target
|
|
16137
|
-
}, null, 8, ["to", "aria-label", "aria-labelledby", "download", "rel", "target"])) : createCommentVNode("", true)
|
|
16221
|
+
}, null, 8, ["to", "aria-label", "aria-labelledby", "download", "rel", "target"])) : createCommentVNode("", true)
|
|
16222
|
+
]),
|
|
16223
|
+
default: withCtx(() => [
|
|
16138
16224
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16139
16225
|
]),
|
|
16140
|
-
_:
|
|
16141
|
-
},
|
|
16226
|
+
_: 2
|
|
16227
|
+
}, [
|
|
16228
|
+
_ctx.$slots["header-actions"] ? {
|
|
16229
|
+
name: "header-actions",
|
|
16230
|
+
fn: withCtx(() => [
|
|
16231
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16232
|
+
]),
|
|
16233
|
+
key: "0"
|
|
16234
|
+
} : void 0,
|
|
16235
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16236
|
+
name: "header-accessory",
|
|
16237
|
+
fn: withCtx(() => [
|
|
16238
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16239
|
+
]),
|
|
16240
|
+
key: "1"
|
|
16241
|
+
} : void 0
|
|
16242
|
+
]), 1032, ["variant", "clickable", "aria-disabled", "aria-label", "aria-labelledby", "headline"]);
|
|
16142
16243
|
};
|
|
16143
16244
|
}
|
|
16144
16245
|
});
|
|
16145
16246
|
|
|
16146
|
-
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16247
|
+
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-1696fd9e"]]);
|
|
16147
16248
|
|
|
16148
|
-
const _hoisted_1$
|
|
16149
|
-
const _sfc_main$
|
|
16249
|
+
const _hoisted_1$9 = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
|
|
16250
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
16150
16251
|
__name: "KdsSelectableCard",
|
|
16151
16252
|
props: /* @__PURE__ */ mergeModels({
|
|
16152
16253
|
variant: { default: "filled" },
|
|
16254
|
+
headline: {},
|
|
16153
16255
|
disabled: { type: Boolean, default: false },
|
|
16154
16256
|
ariaLabel: {},
|
|
16155
16257
|
ariaLabelledby: {}
|
|
@@ -16171,27 +16273,45 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
16171
16273
|
variant: __props.variant,
|
|
16172
16274
|
selected: modelValue.value,
|
|
16173
16275
|
clickable: !__props.disabled,
|
|
16276
|
+
headline: __props.headline,
|
|
16174
16277
|
class: "kds-selectable-card"
|
|
16175
|
-
}, {
|
|
16176
|
-
|
|
16278
|
+
}, createSlots({
|
|
16279
|
+
"primary-action": withCtx(() => [
|
|
16177
16280
|
createElementVNode("button", {
|
|
16178
16281
|
type: "button",
|
|
16179
|
-
"aria-label": __props.ariaLabel,
|
|
16282
|
+
"aria-label": __props.ariaLabel ? __props.ariaLabel : __props.headline,
|
|
16180
16283
|
"aria-labelledby": __props.ariaLabelledby,
|
|
16181
16284
|
disabled: __props.disabled,
|
|
16182
16285
|
"aria-pressed": modelValue.value,
|
|
16183
16286
|
"data-kds-card-primary-action": "",
|
|
16184
16287
|
onClick
|
|
16185
|
-
}, null, 8, _hoisted_1$
|
|
16288
|
+
}, null, 8, _hoisted_1$9)
|
|
16289
|
+
]),
|
|
16290
|
+
default: withCtx(() => [
|
|
16186
16291
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16187
16292
|
]),
|
|
16188
|
-
_:
|
|
16189
|
-
},
|
|
16293
|
+
_: 2
|
|
16294
|
+
}, [
|
|
16295
|
+
_ctx.$slots["header-actions"] ? {
|
|
16296
|
+
name: "header-actions",
|
|
16297
|
+
fn: withCtx(() => [
|
|
16298
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16299
|
+
]),
|
|
16300
|
+
key: "0"
|
|
16301
|
+
} : void 0,
|
|
16302
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16303
|
+
name: "header-accessory",
|
|
16304
|
+
fn: withCtx(() => [
|
|
16305
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16306
|
+
]),
|
|
16307
|
+
key: "1"
|
|
16308
|
+
} : void 0
|
|
16309
|
+
]), 1032, ["variant", "selected", "clickable", "headline"]);
|
|
16190
16310
|
};
|
|
16191
16311
|
}
|
|
16192
16312
|
});
|
|
16193
16313
|
|
|
16194
|
-
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16314
|
+
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-af9b9bf6"]]);
|
|
16195
16315
|
|
|
16196
16316
|
const kdsCardVariant = {
|
|
16197
16317
|
FILLED: "filled",
|
|
@@ -16200,9 +16320,9 @@ const kdsCardVariant = {
|
|
|
16200
16320
|
};
|
|
16201
16321
|
const kdsCardVariants = Object.values(kdsCardVariant);
|
|
16202
16322
|
|
|
16203
|
-
const _hoisted_1$
|
|
16204
|
-
const _hoisted_2$
|
|
16205
|
-
const _hoisted_3$
|
|
16323
|
+
const _hoisted_1$8 = { class: "kds-panel" };
|
|
16324
|
+
const _hoisted_2$5 = { class: "kds-panel-header" };
|
|
16325
|
+
const _hoisted_3$5 = ["id"];
|
|
16206
16326
|
const _hoisted_4$3 = {
|
|
16207
16327
|
key: 0,
|
|
16208
16328
|
class: "kds-panel-headline-text"
|
|
@@ -16218,7 +16338,7 @@ const _hoisted_7 = {
|
|
|
16218
16338
|
};
|
|
16219
16339
|
const _hoisted_8 = { class: "kds-panel-footer-leading" };
|
|
16220
16340
|
const _hoisted_9 = { class: "kds-panel-footer-trailing" };
|
|
16221
|
-
const _sfc_main$
|
|
16341
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
16222
16342
|
__name: "KdsPanel",
|
|
16223
16343
|
props: {
|
|
16224
16344
|
headline: {},
|
|
@@ -16229,8 +16349,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16229
16349
|
setup(__props) {
|
|
16230
16350
|
const headlineId = useId();
|
|
16231
16351
|
return (_ctx, _cache) => {
|
|
16232
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16233
|
-
createElementVNode("div", _hoisted_2$
|
|
16352
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
16353
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
16234
16354
|
createElementVNode("div", {
|
|
16235
16355
|
id: unref(headlineId),
|
|
16236
16356
|
class: "kds-panel-headline"
|
|
@@ -16242,7 +16362,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16242
16362
|
size: "small",
|
|
16243
16363
|
onItemClick: __props.headline.onItemClick
|
|
16244
16364
|
}), null, 16, ["onItemClick"])) : createCommentVNode("", true)
|
|
16245
|
-
], 8, _hoisted_3$
|
|
16365
|
+
], 8, _hoisted_3$5),
|
|
16246
16366
|
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
16247
16367
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
|
|
16248
16368
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
@@ -16309,9 +16429,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16309
16429
|
}
|
|
16310
16430
|
});
|
|
16311
16431
|
|
|
16312
|
-
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16432
|
+
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c55a379c"]]);
|
|
16313
16433
|
|
|
16314
|
-
const _sfc_main$
|
|
16434
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
16315
16435
|
__name: "TabBarItemAccessory",
|
|
16316
16436
|
props: {
|
|
16317
16437
|
accessory: {},
|
|
@@ -16441,15 +16561,15 @@ const useTabBarAdaptiveLayout = ({
|
|
|
16441
16561
|
};
|
|
16442
16562
|
};
|
|
16443
16563
|
|
|
16444
|
-
const _hoisted_1$
|
|
16445
|
-
const _hoisted_2$
|
|
16446
|
-
const _hoisted_3$
|
|
16564
|
+
const _hoisted_1$7 = { class: "kds-tab-bar-wrapper" };
|
|
16565
|
+
const _hoisted_2$4 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
16566
|
+
const _hoisted_3$4 = { class: "kds-tab-label" };
|
|
16447
16567
|
const _hoisted_4$2 = {
|
|
16448
16568
|
key: 1,
|
|
16449
16569
|
class: "kds-tab-indicator"
|
|
16450
16570
|
};
|
|
16451
16571
|
const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
|
|
16452
|
-
const _sfc_main$
|
|
16572
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
16453
16573
|
__name: "KdsTabBar",
|
|
16454
16574
|
props: /* @__PURE__ */ mergeModels({
|
|
16455
16575
|
tabs: {},
|
|
@@ -16573,7 +16693,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16573
16693
|
{ immediate: true }
|
|
16574
16694
|
);
|
|
16575
16695
|
return (_ctx, _cache) => {
|
|
16576
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16696
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16577
16697
|
createElementVNode("div", {
|
|
16578
16698
|
ref_key: "availableWidthContainer",
|
|
16579
16699
|
ref: availableWidthContainer,
|
|
@@ -16603,15 +16723,15 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16603
16723
|
onClick: ($event) => selectTab(tab),
|
|
16604
16724
|
onKeydown: ($event) => handleKeydown($event, tab)
|
|
16605
16725
|
}, [
|
|
16606
|
-
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$
|
|
16726
|
+
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$9, {
|
|
16607
16727
|
key: 0,
|
|
16608
16728
|
accessory: tab.accessory,
|
|
16609
16729
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
16610
16730
|
disabled: isTabDisabled(tab)
|
|
16611
16731
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
16612
|
-
createElementVNode("span", _hoisted_3$
|
|
16732
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(tab.label), 1),
|
|
16613
16733
|
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : createCommentVNode("", true)
|
|
16614
|
-
], 42, _hoisted_2$
|
|
16734
|
+
], 42, _hoisted_2$4);
|
|
16615
16735
|
}), 128))
|
|
16616
16736
|
], 2)
|
|
16617
16737
|
]);
|
|
@@ -16619,7 +16739,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16619
16739
|
}
|
|
16620
16740
|
});
|
|
16621
16741
|
|
|
16622
|
-
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16742
|
+
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-91f95f5f"]]);
|
|
16623
16743
|
|
|
16624
16744
|
const kdsTabBarSize = {
|
|
16625
16745
|
SMALL: "small",
|
|
@@ -16627,7 +16747,7 @@ const kdsTabBarSize = {
|
|
|
16627
16747
|
};
|
|
16628
16748
|
const kdsTabBarSizes = Object.values(kdsTabBarSize);
|
|
16629
16749
|
|
|
16630
|
-
const _sfc_main$
|
|
16750
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16631
16751
|
__name: "LoadingSkeletonItem",
|
|
16632
16752
|
props: {
|
|
16633
16753
|
shape: { default: "text" }
|
|
@@ -16642,24 +16762,24 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16642
16762
|
}
|
|
16643
16763
|
});
|
|
16644
16764
|
|
|
16645
|
-
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16765
|
+
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-86829b28"]]);
|
|
16646
16766
|
|
|
16647
|
-
const _hoisted_1$
|
|
16767
|
+
const _hoisted_1$6 = {
|
|
16648
16768
|
key: 0,
|
|
16649
16769
|
class: "kds-loading-skeleton",
|
|
16650
16770
|
"aria-busy": "true"
|
|
16651
16771
|
};
|
|
16652
|
-
const _hoisted_2$
|
|
16772
|
+
const _hoisted_2$3 = {
|
|
16653
16773
|
key: 0,
|
|
16654
16774
|
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
16655
16775
|
};
|
|
16656
|
-
const _hoisted_3$
|
|
16776
|
+
const _hoisted_3$3 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
16657
16777
|
const _hoisted_4$1 = {
|
|
16658
16778
|
key: 1,
|
|
16659
16779
|
class: "kds-loading-skeleton-input-with-label"
|
|
16660
16780
|
};
|
|
16661
16781
|
const _hoisted_5 = { class: "kds-loading-skeleton-list-item-text" };
|
|
16662
|
-
const _sfc_main$
|
|
16782
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
16663
16783
|
__name: "KdsLoadingSkeleton",
|
|
16664
16784
|
props: {
|
|
16665
16785
|
variant: { default: "text" },
|
|
@@ -16672,17 +16792,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16672
16792
|
"v59c08829": _ctx.repeatGap
|
|
16673
16793
|
}));
|
|
16674
16794
|
return (_ctx, _cache) => {
|
|
16675
|
-
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16795
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
16676
16796
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
16677
16797
|
return openBlock(), createElementBlock(Fragment, {
|
|
16678
16798
|
key: `skeleton-${index}`
|
|
16679
16799
|
}, [
|
|
16680
|
-
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16800
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
16681
16801
|
createVNode(LoadingSkeletonItem, {
|
|
16682
16802
|
shape: "text",
|
|
16683
16803
|
class: "headline"
|
|
16684
16804
|
}),
|
|
16685
|
-
createElementVNode("div", _hoisted_3$
|
|
16805
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
16686
16806
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16687
16807
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16688
16808
|
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
@@ -16727,7 +16847,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
16727
16847
|
}
|
|
16728
16848
|
});
|
|
16729
16849
|
|
|
16730
|
-
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16850
|
+
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e6597718"]]);
|
|
16731
16851
|
|
|
16732
16852
|
const loadingSkeletonItemShape = {
|
|
16733
16853
|
TEXT: "text",
|
|
@@ -16754,13 +16874,13 @@ const kdsLoadingSkeletonVariants = Object.values(
|
|
|
16754
16874
|
kdsLoadingSkeletonVariant
|
|
16755
16875
|
);
|
|
16756
16876
|
|
|
16757
|
-
const _hoisted_1$
|
|
16877
|
+
const _hoisted_1$5 = {
|
|
16758
16878
|
key: 0,
|
|
16759
16879
|
class: "indicator-selected"
|
|
16760
16880
|
};
|
|
16761
|
-
const _hoisted_2$
|
|
16762
|
-
const _hoisted_3$
|
|
16763
|
-
const _sfc_main$
|
|
16881
|
+
const _hoisted_2$2 = { class: "content" };
|
|
16882
|
+
const _hoisted_3$2 = { class: "trailing-items" };
|
|
16883
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
16764
16884
|
__name: "KdsNavItem",
|
|
16765
16885
|
props: {
|
|
16766
16886
|
label: {},
|
|
@@ -16831,8 +16951,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16831
16951
|
onClick
|
|
16832
16952
|
}), {
|
|
16833
16953
|
default: withCtx(() => [
|
|
16834
|
-
__props.selected ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16835
|
-
createElementVNode("span", _hoisted_2$
|
|
16954
|
+
__props.selected ? (openBlock(), createElementBlock("div", _hoisted_1$5)) : createCommentVNode("", true),
|
|
16955
|
+
createElementVNode("span", _hoisted_2$2, [
|
|
16836
16956
|
__props.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
16837
16957
|
key: 0,
|
|
16838
16958
|
name: __props.leadingIcon,
|
|
@@ -16848,7 +16968,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16848
16968
|
]),
|
|
16849
16969
|
_: 1
|
|
16850
16970
|
}, 16, ["disabled", "aria-current", "title"])),
|
|
16851
|
-
createElementVNode("div", _hoisted_3$
|
|
16971
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
16852
16972
|
__props.trailingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
16853
16973
|
key: 0,
|
|
16854
16974
|
class: "trailing-icon",
|
|
@@ -16864,10 +16984,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16864
16984
|
}
|
|
16865
16985
|
});
|
|
16866
16986
|
|
|
16867
|
-
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16987
|
+
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d5db7ff7"]]);
|
|
16868
16988
|
|
|
16869
|
-
const _hoisted_1$
|
|
16870
|
-
const _sfc_main$
|
|
16989
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
16990
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
16871
16991
|
__name: "KdsNavigation",
|
|
16872
16992
|
props: /* @__PURE__ */ mergeModels({
|
|
16873
16993
|
ariaLabel: {},
|
|
@@ -16908,44 +17028,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16908
17028
|
})) : createCommentVNode("", true)
|
|
16909
17029
|
]);
|
|
16910
17030
|
}), 128))
|
|
16911
|
-
], 8, _hoisted_1$
|
|
16912
|
-
};
|
|
16913
|
-
}
|
|
16914
|
-
});
|
|
16915
|
-
|
|
16916
|
-
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6cc9519f"]]);
|
|
16917
|
-
|
|
16918
|
-
const _hoisted_1$4 = { class: "kds-container-header" };
|
|
16919
|
-
const _hoisted_2$2 = {
|
|
16920
|
-
key: 0,
|
|
16921
|
-
class: "accessory"
|
|
16922
|
-
};
|
|
16923
|
-
const _hoisted_3$2 = {
|
|
16924
|
-
key: 1,
|
|
16925
|
-
class: "actions",
|
|
16926
|
-
"data-kds-card-secondary-action": ""
|
|
16927
|
-
};
|
|
16928
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
16929
|
-
__name: "KdsContainerHeader",
|
|
16930
|
-
props: {
|
|
16931
|
-
title: {}
|
|
16932
|
-
},
|
|
16933
|
-
setup(__props) {
|
|
16934
|
-
return (_ctx, _cache) => {
|
|
16935
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
16936
|
-
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
16937
|
-
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16938
|
-
])) : createCommentVNode("", true),
|
|
16939
|
-
createElementVNode("h6", null, toDisplayString(__props.title), 1),
|
|
16940
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
16941
|
-
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16942
|
-
])) : createCommentVNode("", true)
|
|
16943
|
-
]);
|
|
17031
|
+
], 8, _hoisted_1$4);
|
|
16944
17032
|
};
|
|
16945
17033
|
}
|
|
16946
17034
|
});
|
|
16947
17035
|
|
|
16948
|
-
const
|
|
17036
|
+
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6cc9519f"]]);
|
|
16949
17037
|
|
|
16950
17038
|
const createUnwrappedPromise = () => {
|
|
16951
17039
|
let resolve = () => {
|
|
@@ -17496,5 +17584,5 @@ const kdsResponsiveButtonGroupAlignments = Object.values(
|
|
|
17496
17584
|
kdsResponsiveButtonGroupAlignment
|
|
17497
17585
|
);
|
|
17498
17586
|
|
|
17499
|
-
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$1l as KdsButton, _sfc_main$
|
|
17587
|
+
export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$1l as KdsButton, _sfc_main$e as KdsCard, _sfc_main$10 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$P as KdsColorInput, KdsColorSwatch, _sfc_main$15 as KdsContextMenu, KdsDataType, _sfc_main$I as KdsDateInput, _sfc_main$G as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$w as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$z as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1k as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$16 as KdsMenu, _sfc_main$1a as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$t as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$T as KdsNumberInput, KdsPanel, _sfc_main$O as KdsPasswordInput, _sfc_main$F as KdsPatternInput, KdsPreviewList, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$B as KdsTimeInput, _sfc_main$1i as KdsToggleButton, KdsTwinList, _sfc_main$N as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
|
|
17500
17588
|
//# sourceMappingURL=index.js.map
|