@knime/kds-components 0.26.2 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +199 -91
- package/dist/index.js +655 -363
- package/dist/index.js.map +1 -1
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/types.d.ts +5 -0
- package/dist/src/forms/RadioButton/types.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts +27 -0
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts.map +1 -0
- package/dist/src/layouts/Accordion/index.d.ts +3 -0
- package/dist/src/layouts/Accordion/index.d.ts.map +1 -0
- package/dist/src/layouts/Accordion/types.d.ts +34 -0
- package/dist/src/layouts/Accordion/types.d.ts.map +1 -0
- 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/Card/CardHeader.vue.d.ts +22 -0
- 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/{ContainerHeader/KdsContainerHeader.vue.d.ts → Panel/KdsPanel.vue.d.ts} +4 -5
- package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -0
- package/dist/src/layouts/Panel/index.d.ts +3 -0
- package/dist/src/layouts/Panel/index.d.ts.map +1 -0
- package/dist/src/layouts/Panel/types.d.ts +79 -0
- package/dist/src/layouts/Panel/types.d.ts.map +1 -0
- package/dist/src/layouts/index.d.ts +4 -6
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/package.json +3 -3
- 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/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts +0 -10
- package/dist/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts.map +0 -1
- package/dist/src/layouts/PanelButtonBar/index.d.ts +0 -3
- package/dist/src/layouts/PanelButtonBar/index.d.ts.map +0 -1
- package/dist/src/layouts/PanelButtonBar/types.d.ts +0 -15
- package/dist/src/layouts/PanelButtonBar/types.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts +0 -8
- package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/index.d.ts +0 -3
- package/dist/src/layouts/PanelHeader/index.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/types.d.ts +0 -7
- package/dist/src/layouts/PanelHeader/types.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -10,8 +10,8 @@ import './index.css';const kdsAvatarSize = {
|
|
|
10
10
|
const kdsAvatarSizes = Object.values(kdsAvatarSize);
|
|
11
11
|
|
|
12
12
|
const _hoisted_1$$ = ["role", "title", "aria-hidden", "aria-label", "data-color"];
|
|
13
|
-
const _hoisted_2$
|
|
14
|
-
const _hoisted_3$
|
|
13
|
+
const _hoisted_2$C = ["src"];
|
|
14
|
+
const _hoisted_3$t = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "kds-avatar-initials",
|
|
17
17
|
"aria-hidden": "true"
|
|
@@ -80,7 +80,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
80
80
|
alt: "",
|
|
81
81
|
"aria-hidden": "true",
|
|
82
82
|
onError: onImageError
|
|
83
|
-
}, null, 40, _hoisted_2$
|
|
83
|
+
}, null, 40, _hoisted_2$C)) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
84
84
|
createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
|
|
85
85
|
]))
|
|
86
86
|
], 10, _hoisted_1$$);
|
|
@@ -99,8 +99,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
99
99
|
const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-9e1a5abe"]]);
|
|
100
100
|
|
|
101
101
|
const _hoisted_1$_ = ["aria-label"];
|
|
102
|
-
const _hoisted_2$
|
|
103
|
-
const _hoisted_3$
|
|
102
|
+
const _hoisted_2$B = { class: "avatars" };
|
|
103
|
+
const _hoisted_3$s = {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: "more-count",
|
|
106
106
|
"aria-hidden": "true"
|
|
@@ -125,7 +125,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
role: "group",
|
|
126
126
|
"aria-label": ariaLabel.value
|
|
127
127
|
}, [
|
|
128
|
-
createElementVNode("div", _hoisted_2$
|
|
128
|
+
createElementVNode("div", _hoisted_2$B, [
|
|
129
129
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
|
|
130
130
|
return openBlock(), createBlock(KdsAvatar, {
|
|
131
131
|
key: index,
|
|
@@ -139,7 +139,7 @@ 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$
|
|
142
|
+
__props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$s, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
|
|
143
143
|
], 8, _hoisted_1$_);
|
|
144
144
|
};
|
|
145
145
|
}
|
|
@@ -873,7 +873,7 @@ function useKdsIsTruncated(elementRef) {
|
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
const _hoisted_1$W = ["title", "aria-label"];
|
|
876
|
-
const _hoisted_2$
|
|
876
|
+
const _hoisted_2$A = ["title"];
|
|
877
877
|
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
878
878
|
__name: "KdsLiveStatus",
|
|
879
879
|
props: {
|
|
@@ -903,7 +903,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
903
903
|
ref: labelEl,
|
|
904
904
|
class: "label",
|
|
905
905
|
title: unref(isTruncated) ? __props.label : void 0
|
|
906
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
906
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$A)) : createCommentVNode("", true)
|
|
907
907
|
], 10, _hoisted_1$W);
|
|
908
908
|
};
|
|
909
909
|
}
|
|
@@ -967,9 +967,9 @@ const kdsLoadingSpinnerVariants = Object.values(
|
|
|
967
967
|
);
|
|
968
968
|
|
|
969
969
|
const _hoisted_1$U = ["role"];
|
|
970
|
-
const _hoisted_2$
|
|
971
|
-
const _hoisted_3$
|
|
972
|
-
const _hoisted_4$
|
|
970
|
+
const _hoisted_2$z = { class: "header" };
|
|
971
|
+
const _hoisted_3$r = { class: "headline" };
|
|
972
|
+
const _hoisted_4$m = {
|
|
973
973
|
key: 0,
|
|
974
974
|
class: "body"
|
|
975
975
|
};
|
|
@@ -1004,15 +1004,15 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1004
1004
|
class: normalizeClass(classes.value),
|
|
1005
1005
|
role: role.value
|
|
1006
1006
|
}, [
|
|
1007
|
-
createElementVNode("div", _hoisted_2$
|
|
1007
|
+
createElementVNode("div", _hoisted_2$z, [
|
|
1008
1008
|
createVNode(KdsIcon, {
|
|
1009
1009
|
class: "icon",
|
|
1010
1010
|
name: iconName.value,
|
|
1011
1011
|
size: "small"
|
|
1012
1012
|
}, null, 8, ["name"]),
|
|
1013
|
-
createElementVNode("div", _hoisted_3$
|
|
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
|
}
|
|
@@ -1029,16 +1029,16 @@ const kdsInlineMessageVariant = {
|
|
|
1029
1029
|
const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
|
|
1030
1030
|
|
|
1031
1031
|
const _hoisted_1$T = { class: "donut-container" };
|
|
1032
|
-
const _hoisted_2$
|
|
1033
|
-
const _hoisted_3$
|
|
1034
|
-
const _hoisted_4$
|
|
1035
|
-
const _hoisted_5$
|
|
1036
|
-
const _hoisted_6$
|
|
1032
|
+
const _hoisted_2$y = ["height", "width", "viewBox"];
|
|
1033
|
+
const _hoisted_3$q = ["r", "stroke-width"];
|
|
1034
|
+
const _hoisted_4$l = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1035
|
+
const _hoisted_5$b = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
1036
|
+
const _hoisted_6$9 = {
|
|
1037
1037
|
key: 0,
|
|
1038
1038
|
class: "donut-text"
|
|
1039
1039
|
};
|
|
1040
1040
|
const _hoisted_7$3 = { class: "title" };
|
|
1041
|
-
const _hoisted_8$
|
|
1041
|
+
const _hoisted_8$3 = {
|
|
1042
1042
|
key: 0,
|
|
1043
1043
|
class: "sub-text"
|
|
1044
1044
|
};
|
|
@@ -1107,7 +1107,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1107
1107
|
r: r.value,
|
|
1108
1108
|
"stroke-width": backgroundStrokeWidth.value,
|
|
1109
1109
|
fill: "transparent"
|
|
1110
|
-
}, null, 8, _hoisted_3$
|
|
1110
|
+
}, null, 8, _hoisted_3$q),
|
|
1111
1111
|
__props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
|
|
1112
1112
|
key: 0,
|
|
1113
1113
|
class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
|
|
@@ -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 }]),
|
|
@@ -1131,11 +1131,11 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1131
1131
|
"stroke-dashoffset": strokeDashOffset.value,
|
|
1132
1132
|
fill: "transparent",
|
|
1133
1133
|
transform: transformWedge.value
|
|
1134
|
-
}, null, 10, _hoisted_5$
|
|
1135
|
-
], 8, _hoisted_2$
|
|
1136
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
1134
|
+
}, null, 10, _hoisted_5$b)) : createCommentVNode("", true)
|
|
1135
|
+
], 8, _hoisted_2$y)),
|
|
1136
|
+
__props.title ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
1137
1137
|
createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
|
|
1138
|
-
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
1138
|
+
__props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
|
|
1139
1139
|
])) : createCommentVNode("", true)
|
|
1140
1140
|
]);
|
|
1141
1141
|
};
|
|
@@ -1529,7 +1529,7 @@ function prettyBytes(number, options) {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
|
|
1531
1531
|
const _hoisted_1$Q = { class: "label" };
|
|
1532
|
-
const _hoisted_2$
|
|
1532
|
+
const _hoisted_2$x = {
|
|
1533
1533
|
key: 1,
|
|
1534
1534
|
class: "file-size"
|
|
1535
1535
|
};
|
|
@@ -1629,7 +1629,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1629
1629
|
name: "external-link",
|
|
1630
1630
|
size: "xsmall"
|
|
1631
1631
|
})) : createCommentVNode("", true),
|
|
1632
|
-
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1632
|
+
normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$x, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
|
|
1633
1633
|
]),
|
|
1634
1634
|
_: 1
|
|
1635
1635
|
}, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
|
|
@@ -1676,7 +1676,7 @@ const kdsToggleButtonVariant = {
|
|
|
1676
1676
|
const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
1677
1677
|
|
|
1678
1678
|
const _hoisted_1$P = ["data-visible"];
|
|
1679
|
-
const _hoisted_2$
|
|
1679
|
+
const _hoisted_2$w = ["data-visible"];
|
|
1680
1680
|
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
1681
1681
|
__name: "KdsProgressButton",
|
|
1682
1682
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1747,7 +1747,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1747
1747
|
size: iconSize.value,
|
|
1748
1748
|
variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
|
|
1749
1749
|
}, null, 8, ["size", "variant"])
|
|
1750
|
-
], 8, _hoisted_2$
|
|
1750
|
+
], 8, _hoisted_2$w)
|
|
1751
1751
|
], 2)
|
|
1752
1752
|
]),
|
|
1753
1753
|
_: 1
|
|
@@ -2027,23 +2027,23 @@ const kdsListItemAccessorySize = {
|
|
|
2027
2027
|
};
|
|
2028
2028
|
|
|
2029
2029
|
const _hoisted_1$O = ["id", "role", "aria-selected", "aria-disabled"];
|
|
2030
|
-
const _hoisted_2$
|
|
2030
|
+
const _hoisted_2$v = {
|
|
2031
2031
|
key: 0,
|
|
2032
2032
|
class: "accessory"
|
|
2033
2033
|
};
|
|
2034
|
-
const _hoisted_3$
|
|
2035
|
-
const _hoisted_4$
|
|
2036
|
-
const _hoisted_5$
|
|
2034
|
+
const _hoisted_3$p = { class: "content" };
|
|
2035
|
+
const _hoisted_4$k = ["title"];
|
|
2036
|
+
const _hoisted_5$a = {
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
class: "prefix"
|
|
2039
2039
|
};
|
|
2040
|
-
const _hoisted_6$
|
|
2040
|
+
const _hoisted_6$8 = ["title"];
|
|
2041
2041
|
const _hoisted_7$2 = { class: "trailing-item" };
|
|
2042
|
-
const _hoisted_8$
|
|
2042
|
+
const _hoisted_8$2 = {
|
|
2043
2043
|
key: 0,
|
|
2044
2044
|
class: "shortcut"
|
|
2045
2045
|
};
|
|
2046
|
-
const _hoisted_9$
|
|
2046
|
+
const _hoisted_9$2 = {
|
|
2047
2047
|
key: 3,
|
|
2048
2048
|
class: "trailing-item-reserve-space"
|
|
2049
2049
|
};
|
|
@@ -2105,35 +2105,35 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2105
2105
|
]),
|
|
2106
2106
|
onClick
|
|
2107
2107
|
}, [
|
|
2108
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2108
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$v, [
|
|
2109
2109
|
createVNode(_sfc_main$1g, {
|
|
2110
2110
|
accessory: props.accessory,
|
|
2111
2111
|
size: accessorySize.value,
|
|
2112
2112
|
disabled: __props.disabled
|
|
2113
2113
|
}, null, 8, ["accessory", "size", "disabled"])
|
|
2114
2114
|
])) : createCommentVNode("", true),
|
|
2115
|
-
createElementVNode("span", _hoisted_3$
|
|
2115
|
+
createElementVNode("span", _hoisted_3$p, [
|
|
2116
2116
|
createElementVNode("span", {
|
|
2117
2117
|
ref_key: "labelEl",
|
|
2118
2118
|
ref: labelEl,
|
|
2119
2119
|
class: "label",
|
|
2120
2120
|
title: unref(isLabelTruncated) ? props.text : void 0
|
|
2121
2121
|
}, [
|
|
2122
|
-
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
2122
|
+
__props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$a, "(Missing) ")) : createCommentVNode("", true),
|
|
2123
2123
|
createElementVNode("span", {
|
|
2124
2124
|
class: normalizeClass({ special: __props.special })
|
|
2125
2125
|
}, toDisplayString(props.text), 3)
|
|
2126
|
-
], 8, _hoisted_4$
|
|
2126
|
+
], 8, _hoisted_4$k),
|
|
2127
2127
|
props.subText ? (openBlock(), createElementBlock("span", {
|
|
2128
2128
|
key: 0,
|
|
2129
2129
|
ref_key: "subtextEl",
|
|
2130
2130
|
ref: subtextEl,
|
|
2131
2131
|
class: "subtext",
|
|
2132
2132
|
title: unref(isSubtextTruncated) ? props.subText : void 0
|
|
2133
|
-
}, toDisplayString(props.subText), 9, _hoisted_6$
|
|
2133
|
+
}, toDisplayString(props.subText), 9, _hoisted_6$8)) : createCommentVNode("", true)
|
|
2134
2134
|
]),
|
|
2135
2135
|
createElementVNode("span", _hoisted_7$2, [
|
|
2136
|
-
props.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_8$
|
|
2136
|
+
props.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_8$2, toDisplayString(props.shortcut), 1)) : props.badge ? (openBlock(), createBlock(KdsBadge, {
|
|
2137
2137
|
key: 1,
|
|
2138
2138
|
size: badgeSize.value,
|
|
2139
2139
|
label: props.badge.label,
|
|
@@ -2144,7 +2144,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2144
2144
|
size: "small",
|
|
2145
2145
|
name: props.trailingIcon
|
|
2146
2146
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
2147
|
-
!props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$
|
|
2147
|
+
!props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
|
|
2148
2148
|
])
|
|
2149
2149
|
], 10, _hoisted_1$O);
|
|
2150
2150
|
};
|
|
@@ -2154,11 +2154,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
2154
2154
|
const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-9625480f"]]);
|
|
2155
2155
|
|
|
2156
2156
|
const _hoisted_1$N = { class: "kds-list-item-section-title" };
|
|
2157
|
-
const _hoisted_2$
|
|
2157
|
+
const _hoisted_2$u = {
|
|
2158
2158
|
key: 0,
|
|
2159
2159
|
class: "icon"
|
|
2160
2160
|
};
|
|
2161
|
-
const _hoisted_3$
|
|
2161
|
+
const _hoisted_3$o = ["title"];
|
|
2162
2162
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2163
2163
|
__name: "ListItemSectionTitle",
|
|
2164
2164
|
props: {
|
|
@@ -2171,7 +2171,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2171
2171
|
const { isTruncated } = useKdsIsTruncated(labelEl);
|
|
2172
2172
|
return (_ctx, _cache) => {
|
|
2173
2173
|
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
2174
|
-
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2174
|
+
props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$u, [
|
|
2175
2175
|
createVNode(KdsIcon, {
|
|
2176
2176
|
name: props.leadingIcon,
|
|
2177
2177
|
size: "small"
|
|
@@ -2182,7 +2182,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2182
2182
|
ref: labelEl,
|
|
2183
2183
|
class: "label",
|
|
2184
2184
|
title: unref(isTruncated) ? props.label : void 0
|
|
2185
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
2185
|
+
}, toDisplayString(props.label), 9, _hoisted_3$o)
|
|
2186
2186
|
]);
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
@@ -2328,7 +2328,7 @@ const kdsPopoverType = {
|
|
|
2328
2328
|
AUTO: "auto"};
|
|
2329
2329
|
|
|
2330
2330
|
const _hoisted_1$L = ["id", "popover", "role"];
|
|
2331
|
-
const _hoisted_2$
|
|
2331
|
+
const _hoisted_2$t = {
|
|
2332
2332
|
key: 0,
|
|
2333
2333
|
class: "kds-popover-default-content"
|
|
2334
2334
|
};
|
|
@@ -2390,7 +2390,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
2390
2390
|
onToggle
|
|
2391
2391
|
}, [
|
|
2392
2392
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2393
|
-
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2393
|
+
props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(props.content), 1)) : createCommentVNode("", true)
|
|
2394
2394
|
], true)
|
|
2395
2395
|
], 46, _hoisted_1$L);
|
|
2396
2396
|
};
|
|
@@ -2591,12 +2591,12 @@ const kdsButtonVariant = {
|
|
|
2591
2591
|
const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
2592
2592
|
|
|
2593
2593
|
const _hoisted_1$K = ["aria-disabled"];
|
|
2594
|
-
const _hoisted_2$
|
|
2595
|
-
const _hoisted_3$
|
|
2594
|
+
const _hoisted_2$s = { class: "kds-empty-state-headline" };
|
|
2595
|
+
const _hoisted_3$n = {
|
|
2596
2596
|
key: 1,
|
|
2597
2597
|
class: "kds-empty-state-description"
|
|
2598
2598
|
};
|
|
2599
|
-
const _hoisted_4$
|
|
2599
|
+
const _hoisted_4$j = {
|
|
2600
2600
|
key: 2,
|
|
2601
2601
|
class: "kds-empty-state-action"
|
|
2602
2602
|
};
|
|
@@ -2638,9 +2638,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
2638
2638
|
variant: "onSurface",
|
|
2639
2639
|
"aria-hidden": "true"
|
|
2640
2640
|
})) : createCommentVNode("", true),
|
|
2641
|
-
createElementVNode("p", _hoisted_2$
|
|
2642
|
-
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
2643
|
-
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2641
|
+
createElementVNode("p", _hoisted_2$s, toDisplayString(props.headline), 1),
|
|
2642
|
+
props.description ? (openBlock(), createElementBlock("p", _hoisted_3$n, toDisplayString(props.description), 1)) : createCommentVNode("", true),
|
|
2643
|
+
props.button ? (openBlock(), createElementBlock("div", _hoisted_4$j, [
|
|
2644
2644
|
(openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
|
|
2645
2645
|
disabled: props.button?.disabled || __props.disabled,
|
|
2646
2646
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
|
|
@@ -2944,11 +2944,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
2944
2944
|
});
|
|
2945
2945
|
|
|
2946
2946
|
const _hoisted_1$I = { class: "kds-preview-list" };
|
|
2947
|
-
const _hoisted_2$
|
|
2948
|
-
const _hoisted_3$
|
|
2949
|
-
const _hoisted_4$
|
|
2950
|
-
const _hoisted_5$
|
|
2951
|
-
const _hoisted_6$
|
|
2947
|
+
const _hoisted_2$r = { class: "kds-preview-list-title-row" };
|
|
2948
|
+
const _hoisted_3$m = { class: "kds-preview-list-content" };
|
|
2949
|
+
const _hoisted_4$i = { class: "kds-preview-list-headline" };
|
|
2950
|
+
const _hoisted_5$9 = ["aria-label"];
|
|
2951
|
+
const _hoisted_6$7 = { class: "kds-preview-list-show-hide" };
|
|
2952
2952
|
const DEFAULT_MAX_VISIBLE_ITEMS = 6;
|
|
2953
2953
|
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
2954
2954
|
__name: "KdsPreviewList",
|
|
@@ -2985,7 +2985,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2985
2985
|
);
|
|
2986
2986
|
return (_ctx, _cache) => {
|
|
2987
2987
|
return openBlock(), createElementBlock("section", _hoisted_1$I, [
|
|
2988
|
-
createElementVNode("header", _hoisted_2$
|
|
2988
|
+
createElementVNode("header", _hoisted_2$r, [
|
|
2989
2989
|
__props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
|
|
2990
2990
|
key: 0,
|
|
2991
2991
|
size: "small",
|
|
@@ -2995,8 +2995,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
2995
2995
|
name: __props.leadingIcon,
|
|
2996
2996
|
size: "small"
|
|
2997
2997
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
2998
|
-
createElementVNode("div", _hoisted_3$
|
|
2999
|
-
createElementVNode("span", _hoisted_4$
|
|
2998
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
2999
|
+
createElementVNode("span", _hoisted_4$i, toDisplayString(props.headline), 1)
|
|
3000
3000
|
]),
|
|
3001
3001
|
__props.trailingButton ? (openBlock(), createBlock(_sfc_main$1l, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
|
|
3002
3002
|
]),
|
|
@@ -3031,11 +3031,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3031
3031
|
}, ["stop"]))
|
|
3032
3032
|
}, null, 8, ["id", "text", "accessory"]);
|
|
3033
3033
|
}), 128))
|
|
3034
|
-
], 8, _hoisted_5$
|
|
3034
|
+
], 8, _hoisted_5$9)) : createCommentVNode("", true)
|
|
3035
3035
|
], 512), [
|
|
3036
3036
|
[vShow, expanded.value]
|
|
3037
3037
|
]),
|
|
3038
|
-
createElementVNode("footer", _hoisted_6$
|
|
3038
|
+
createElementVNode("footer", _hoisted_6$7, [
|
|
3039
3039
|
createVNode(_sfc_main$1l, {
|
|
3040
3040
|
class: "kds-preview-list-toggle",
|
|
3041
3041
|
label: expanded.value ? "Hide all" : "Show all",
|
|
@@ -3055,7 +3055,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3055
3055
|
const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a11103f6"]]);
|
|
3056
3056
|
|
|
3057
3057
|
const _hoisted_1$H = { class: "kds-label-wrapper" };
|
|
3058
|
-
const _hoisted_2$
|
|
3058
|
+
const _hoisted_2$q = ["id", "for", "title"];
|
|
3059
3059
|
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3060
3060
|
__name: "KdsLabel",
|
|
3061
3061
|
props: {
|
|
@@ -3081,7 +3081,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3081
3081
|
for: props.for,
|
|
3082
3082
|
class: "label",
|
|
3083
3083
|
title: unref(isTruncated) ? props.label : void 0
|
|
3084
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
3084
|
+
}, toDisplayString(props.label), 9, _hoisted_2$q),
|
|
3085
3085
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3086
3086
|
key: 0,
|
|
3087
3087
|
content: props.description,
|
|
@@ -3095,7 +3095,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3095
3095
|
const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-efe3313e"]]);
|
|
3096
3096
|
|
|
3097
3097
|
const _hoisted_1$G = ["id"];
|
|
3098
|
-
const _hoisted_2$
|
|
3098
|
+
const _hoisted_2$p = { class: "subtext-text" };
|
|
3099
3099
|
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3100
3100
|
__name: "KdsSubText",
|
|
3101
3101
|
props: {
|
|
@@ -3127,7 +3127,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3127
3127
|
variant: "onSurface",
|
|
3128
3128
|
"aria-hidden": "true"
|
|
3129
3129
|
})) : createCommentVNode("", true),
|
|
3130
|
-
createElementVNode("span", _hoisted_2$
|
|
3130
|
+
createElementVNode("span", _hoisted_2$p, toDisplayString(props.subText), 1)
|
|
3131
3131
|
], 10, _hoisted_1$G)) : createCommentVNode("", true);
|
|
3132
3132
|
};
|
|
3133
3133
|
}
|
|
@@ -3136,14 +3136,14 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3136
3136
|
const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2e6ba10c"]]);
|
|
3137
3137
|
|
|
3138
3138
|
const _hoisted_1$F = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
3139
|
-
const _hoisted_2$
|
|
3140
|
-
const _hoisted_3$
|
|
3139
|
+
const _hoisted_2$o = { class: "control" };
|
|
3140
|
+
const _hoisted_3$l = {
|
|
3141
3141
|
key: 0,
|
|
3142
3142
|
class: "content"
|
|
3143
3143
|
};
|
|
3144
|
-
const _hoisted_4$
|
|
3145
|
-
const _hoisted_5$
|
|
3146
|
-
const _hoisted_6$
|
|
3144
|
+
const _hoisted_4$h = { class: "label" };
|
|
3145
|
+
const _hoisted_5$8 = ["id"];
|
|
3146
|
+
const _hoisted_6$6 = {
|
|
3147
3147
|
key: 0,
|
|
3148
3148
|
class: "subtext-wrapper"
|
|
3149
3149
|
};
|
|
@@ -3220,7 +3220,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3220
3220
|
role: "checkbox",
|
|
3221
3221
|
onClick: handleClick
|
|
3222
3222
|
}, [
|
|
3223
|
-
createElementVNode("div", _hoisted_2$
|
|
3223
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
3224
3224
|
icon.value ? (openBlock(), createBlock(KdsIcon, {
|
|
3225
3225
|
key: 0,
|
|
3226
3226
|
name: icon.value,
|
|
@@ -3228,16 +3228,16 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3228
3228
|
size: "xsmall"
|
|
3229
3229
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
3230
3230
|
]),
|
|
3231
|
-
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3232
|
-
createElementVNode("div", _hoisted_4$
|
|
3231
|
+
props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
3232
|
+
createElementVNode("div", _hoisted_4$h, toDisplayString(props.label), 1),
|
|
3233
3233
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3234
3234
|
key: 0,
|
|
3235
3235
|
id: unref(helperId),
|
|
3236
3236
|
class: "helper-text"
|
|
3237
|
-
}, toDisplayString(props.helperText), 9, _hoisted_5$
|
|
3237
|
+
}, toDisplayString(props.helperText), 9, _hoisted_5$8)) : createCommentVNode("", true)
|
|
3238
3238
|
])) : createCommentVNode("", true)
|
|
3239
3239
|
], 10, _hoisted_1$F),
|
|
3240
|
-
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
3240
|
+
props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
3241
3241
|
createVNode(KdsSubText, {
|
|
3242
3242
|
id: unref(descriptionId),
|
|
3243
3243
|
"sub-text": props.subText,
|
|
@@ -3283,9 +3283,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3283
3283
|
});
|
|
3284
3284
|
|
|
3285
3285
|
const _hoisted_1$E = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
3286
|
-
const _hoisted_2$
|
|
3287
|
-
const _hoisted_3$
|
|
3288
|
-
const _hoisted_4$
|
|
3286
|
+
const _hoisted_2$n = ["id"];
|
|
3287
|
+
const _hoisted_3$k = ["title"];
|
|
3288
|
+
const _hoisted_4$g = { class: "kds-fieldset-content" };
|
|
3289
3289
|
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3290
3290
|
__name: "BaseFieldsetWrapper",
|
|
3291
3291
|
props: {
|
|
@@ -3332,14 +3332,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3332
3332
|
ref: legendTextEl,
|
|
3333
3333
|
class: "legend-text",
|
|
3334
3334
|
title: unref(isTruncated) ? props.label : void 0
|
|
3335
|
-
}, toDisplayString(props.label), 9, _hoisted_3$
|
|
3335
|
+
}, toDisplayString(props.label), 9, _hoisted_3$k),
|
|
3336
3336
|
props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
|
|
3337
3337
|
key: 0,
|
|
3338
3338
|
content: props.description,
|
|
3339
3339
|
hidden: !isHovered.value
|
|
3340
3340
|
}, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
|
|
3341
|
-
], 8, _hoisted_2$
|
|
3342
|
-
createElementVNode("div", _hoisted_4$
|
|
3341
|
+
], 8, _hoisted_2$n)) : createCommentVNode("", true),
|
|
3342
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
3343
3343
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3344
3344
|
]),
|
|
3345
3345
|
createVNode(KdsSubText, {
|
|
@@ -3452,17 +3452,17 @@ const kdsCheckboxValue = {
|
|
|
3452
3452
|
const kdsCheckboxValues = Object.values(kdsCheckboxValue);
|
|
3453
3453
|
|
|
3454
3454
|
const _hoisted_1$D = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
|
|
3455
|
-
const _hoisted_2$
|
|
3456
|
-
const _hoisted_3$
|
|
3455
|
+
const _hoisted_2$m = { class: "control" };
|
|
3456
|
+
const _hoisted_3$j = {
|
|
3457
3457
|
key: 0,
|
|
3458
3458
|
class: "dot",
|
|
3459
3459
|
viewBox: "0 0 2 2",
|
|
3460
3460
|
"aria-hidden": "true",
|
|
3461
3461
|
focusable: "false"
|
|
3462
3462
|
};
|
|
3463
|
-
const _hoisted_4$
|
|
3464
|
-
const _hoisted_5$
|
|
3465
|
-
const _hoisted_6$
|
|
3463
|
+
const _hoisted_4$f = { class: "content" };
|
|
3464
|
+
const _hoisted_5$7 = { class: "label" };
|
|
3465
|
+
const _hoisted_6$5 = ["id"];
|
|
3466
3466
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
3467
3467
|
__name: "KdsRadioButton",
|
|
3468
3468
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3503,8 +3503,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3503
3503
|
type: "button",
|
|
3504
3504
|
onClick: handleClick
|
|
3505
3505
|
}, [
|
|
3506
|
-
createElementVNode("div", _hoisted_2$
|
|
3507
|
-
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
3506
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
3507
|
+
modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$j, [..._cache[0] || (_cache[0] = [
|
|
3508
3508
|
createElementVNode("circle", {
|
|
3509
3509
|
cx: "1",
|
|
3510
3510
|
cy: "1",
|
|
@@ -3512,13 +3512,13 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3512
3512
|
}, null, -1)
|
|
3513
3513
|
])])) : createCommentVNode("", true)
|
|
3514
3514
|
]),
|
|
3515
|
-
createElementVNode("div", _hoisted_4$
|
|
3516
|
-
createElementVNode("div", _hoisted_5$
|
|
3515
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
3516
|
+
createElementVNode("div", _hoisted_5$7, toDisplayString(props.text), 1),
|
|
3517
3517
|
props.helperText ? (openBlock(), createElementBlock("div", {
|
|
3518
3518
|
key: 0,
|
|
3519
3519
|
id: `${unref(id)}-helper`,
|
|
3520
3520
|
class: "helper-text"
|
|
3521
|
-
}, toDisplayString(props.helperText), 9, _hoisted_6$
|
|
3521
|
+
}, toDisplayString(props.helperText), 9, _hoisted_6$5)) : createCommentVNode("", true)
|
|
3522
3522
|
])
|
|
3523
3523
|
], 10, _hoisted_1$D);
|
|
3524
3524
|
};
|
|
@@ -3836,6 +3836,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
3836
3836
|
props: /* @__PURE__ */ mergeModels({
|
|
3837
3837
|
id: {},
|
|
3838
3838
|
label: {},
|
|
3839
|
+
ariaLabel: {},
|
|
3839
3840
|
possibleValues: {},
|
|
3840
3841
|
size: { default: "medium" },
|
|
3841
3842
|
variant: { default: "default" },
|
|
@@ -3878,6 +3879,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
3878
3879
|
ref_key: "fieldsetWrapper",
|
|
3879
3880
|
ref: fieldsetWrapper,
|
|
3880
3881
|
label: props.label,
|
|
3882
|
+
ariaLabel: props.ariaLabel,
|
|
3881
3883
|
role: "radiogroup",
|
|
3882
3884
|
class: normalizeClass({
|
|
3883
3885
|
"value-switch": true,
|
|
@@ -3913,12 +3915,12 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
3913
3915
|
], 2)
|
|
3914
3916
|
]),
|
|
3915
3917
|
_: 1
|
|
3916
|
-
}, 8, ["id", "label", "class", "aria-invalid", "sub-text", "preserve-sub-text-space", "error"]);
|
|
3918
|
+
}, 8, ["id", "label", "ariaLabel", "class", "aria-invalid", "sub-text", "preserve-sub-text-space", "error"]);
|
|
3917
3919
|
};
|
|
3918
3920
|
}
|
|
3919
3921
|
});
|
|
3920
3922
|
|
|
3921
|
-
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-
|
|
3923
|
+
const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f6d51795"]]);
|
|
3922
3924
|
|
|
3923
3925
|
const kdsRadioButtonGroupAlignment = {
|
|
3924
3926
|
VERTICAL: "vertical",
|
|
@@ -4674,17 +4676,17 @@ const _hoisted_1$B = {
|
|
|
4674
4676
|
key: 0,
|
|
4675
4677
|
class: "icon-wrapper leading"
|
|
4676
4678
|
};
|
|
4677
|
-
const _hoisted_2$
|
|
4679
|
+
const _hoisted_2$l = {
|
|
4678
4680
|
key: 1,
|
|
4679
4681
|
class: "leading-slot"
|
|
4680
4682
|
};
|
|
4681
|
-
const _hoisted_3$
|
|
4682
|
-
const _hoisted_4$
|
|
4683
|
-
const _hoisted_5$
|
|
4683
|
+
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$e = ["aria-disabled"];
|
|
4685
|
+
const _hoisted_5$6 = {
|
|
4684
4686
|
key: 4,
|
|
4685
4687
|
class: "trailing-slot"
|
|
4686
4688
|
};
|
|
4687
|
-
const _hoisted_6$
|
|
4689
|
+
const _hoisted_6$4 = {
|
|
4688
4690
|
key: 5,
|
|
4689
4691
|
class: "icon-wrapper trailing"
|
|
4690
4692
|
};
|
|
@@ -4845,7 +4847,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4845
4847
|
name: props.leadingIcon
|
|
4846
4848
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
4847
4849
|
])) : createCommentVNode("", true),
|
|
4848
|
-
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4850
|
+
_ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
|
|
4849
4851
|
renderSlot(_ctx.$slots, "leading", {}, void 0, true)
|
|
4850
4852
|
])) : createCommentVNode("", true),
|
|
4851
4853
|
createElementVNode("input", {
|
|
@@ -4890,7 +4892,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4890
4892
|
onCut: handleInputCut,
|
|
4891
4893
|
onDrop: handleInputDrop,
|
|
4892
4894
|
onDragend: handleInputDragEnd
|
|
4893
|
-
}, null, 42, _hoisted_3$
|
|
4895
|
+
}, null, 42, _hoisted_3$i),
|
|
4894
4896
|
props.unit ? (openBlock(), createElementBlock("span", {
|
|
4895
4897
|
key: 2,
|
|
4896
4898
|
class: normalizeClass({
|
|
@@ -4899,7 +4901,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4899
4901
|
disabled: __props.disabled
|
|
4900
4902
|
}),
|
|
4901
4903
|
"aria-disabled": __props.disabled || void 0
|
|
4902
|
-
}, toDisplayString(props.unit), 11, _hoisted_4$
|
|
4904
|
+
}, toDisplayString(props.unit), 11, _hoisted_4$e)) : createCommentVNode("", true),
|
|
4903
4905
|
__props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1l, {
|
|
4904
4906
|
key: 3,
|
|
4905
4907
|
class: "clear-button",
|
|
@@ -4910,10 +4912,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
4910
4912
|
title: "Clear",
|
|
4911
4913
|
onClick: withModifiers(clearAndFocusInput, ["stop"])
|
|
4912
4914
|
})) : createCommentVNode("", true),
|
|
4913
|
-
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
4915
|
+
_ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
|
|
4914
4916
|
renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
|
|
4915
4917
|
])) : createCommentVNode("", true),
|
|
4916
|
-
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
4918
|
+
props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
4917
4919
|
createVNode(KdsIcon, {
|
|
4918
4920
|
name: props.trailingIcon
|
|
4919
4921
|
}, null, 8, ["name"])
|
|
@@ -5726,8 +5728,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
5726
5728
|
const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f4be2bd4"]]);
|
|
5727
5729
|
|
|
5728
5730
|
const _hoisted_1$z = { class: "kds-color-picker" };
|
|
5729
|
-
const _hoisted_2$
|
|
5730
|
-
const _hoisted_3$
|
|
5731
|
+
const _hoisted_2$k = ["aria-valuetext"];
|
|
5732
|
+
const _hoisted_3$h = { class: "value-inputs" };
|
|
5731
5733
|
const DEFAULT_HUE_DEG = 270;
|
|
5732
5734
|
const DEFAULT_SATURATION = 0.8;
|
|
5733
5735
|
const DEFAULT_VALUE = 0.9;
|
|
@@ -5917,7 +5919,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5917
5919
|
class: "handle",
|
|
5918
5920
|
style: normalizeStyle(colorspaceHandleStyle.value)
|
|
5919
5921
|
}, null, 4)
|
|
5920
|
-
], 44, _hoisted_2$
|
|
5922
|
+
], 44, _hoisted_2$k),
|
|
5921
5923
|
createVNode(ColorPickerSlider, {
|
|
5922
5924
|
modelValue: hue.value,
|
|
5923
5925
|
"onUpdate:modelValue": [
|
|
@@ -5952,7 +5954,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5952
5954
|
step: KEYBOARD_STEP,
|
|
5953
5955
|
"large-step": KEYBOARD_LARGE_STEP
|
|
5954
5956
|
}, null, 8, ["modelValue", "value-now", "value-text"]),
|
|
5955
|
-
createElementVNode("div", _hoisted_3$
|
|
5957
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
5956
5958
|
createVNode(KdsTextInput, {
|
|
5957
5959
|
"model-value": hexInputValue.value,
|
|
5958
5960
|
ariaLabel: "Color hex value",
|
|
@@ -10268,9 +10270,9 @@ const _hoisted_1$y = {
|
|
|
10268
10270
|
role: "row",
|
|
10269
10271
|
class: "kds-date-picker-header-row"
|
|
10270
10272
|
};
|
|
10271
|
-
const _hoisted_2$
|
|
10272
|
-
const _hoisted_3$
|
|
10273
|
-
const _hoisted_4$
|
|
10273
|
+
const _hoisted_2$j = ["aria-label"];
|
|
10274
|
+
const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
|
|
10275
|
+
const _hoisted_4$d = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
|
|
10274
10276
|
const REFERENCE_YEAR$2 = 2024;
|
|
10275
10277
|
const DAYS_PER_WEEK = 7;
|
|
10276
10278
|
const TOTAL_CELLS = 42;
|
|
@@ -10576,10 +10578,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10576
10578
|
role: "columnheader",
|
|
10577
10579
|
"aria-label": unref(DAY_FULL_LABELS)[i],
|
|
10578
10580
|
class: "kds-date-picker-weekday"
|
|
10579
|
-
}, toDisplayString(day), 9, _hoisted_2$
|
|
10581
|
+
}, toDisplayString(day), 9, _hoisted_2$j);
|
|
10580
10582
|
}), 128))
|
|
10581
10583
|
]),
|
|
10582
|
-
createElementVNode("div", _hoisted_3$
|
|
10584
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
10583
10585
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
|
|
10584
10586
|
return openBlock(), createElementBlock("div", {
|
|
10585
10587
|
key: wi,
|
|
@@ -10608,7 +10610,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10608
10610
|
onClick: ($event) => selectDate(day),
|
|
10609
10611
|
onKeydown: onDayKeydown,
|
|
10610
10612
|
onFocus: ($event) => onDayFocus(day)
|
|
10611
|
-
}, toDisplayString(day.day), 43, _hoisted_4$
|
|
10613
|
+
}, toDisplayString(day.day), 43, _hoisted_4$d);
|
|
10612
10614
|
}), 128))
|
|
10613
10615
|
]);
|
|
10614
10616
|
}), 128))
|
|
@@ -10998,15 +11000,15 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10998
11000
|
const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-270d55b9"]]);
|
|
10999
11001
|
|
|
11000
11002
|
const _hoisted_1$v = { class: "kds-date-picker" };
|
|
11001
|
-
const _hoisted_2$
|
|
11002
|
-
const _hoisted_3$
|
|
11003
|
-
const _hoisted_4$
|
|
11003
|
+
const _hoisted_2$i = { class: "kds-date-picker-header" };
|
|
11004
|
+
const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
|
|
11005
|
+
const _hoisted_4$c = {
|
|
11004
11006
|
key: 1,
|
|
11005
11007
|
class: "kds-date-picker-header-static-label",
|
|
11006
11008
|
"aria-live": "polite"
|
|
11007
11009
|
};
|
|
11008
|
-
const _hoisted_5$
|
|
11009
|
-
const _hoisted_6$
|
|
11010
|
+
const _hoisted_5$5 = { class: "kds-date-picker-nav-block" };
|
|
11011
|
+
const _hoisted_6$3 = { class: "kds-date-picker-body" };
|
|
11010
11012
|
const MONTHS_PER_YEAR = 12;
|
|
11011
11013
|
const YEAR_PAGE_SIZE = 15;
|
|
11012
11014
|
const REFERENCE_YEAR = 2024;
|
|
@@ -11207,8 +11209,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11207
11209
|
__expose({ focus });
|
|
11208
11210
|
return (_ctx, _cache) => {
|
|
11209
11211
|
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
11210
|
-
createElementVNode("div", _hoisted_2$
|
|
11211
|
-
createElementVNode("div", _hoisted_3$
|
|
11212
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
11213
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
11212
11214
|
view.value === "day" ? (openBlock(), createBlock(_sfc_main$1l, {
|
|
11213
11215
|
key: 0,
|
|
11214
11216
|
variant: "transparent",
|
|
@@ -11234,8 +11236,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11234
11236
|
size: "small",
|
|
11235
11237
|
label: headerLabel.value,
|
|
11236
11238
|
onClick: onHeaderLabelClick
|
|
11237
|
-
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11238
|
-
createElementVNode("div", _hoisted_5$
|
|
11239
|
+
}, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$c, toDisplayString(headerLabel.value), 1)),
|
|
11240
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
11239
11241
|
createVNode(_sfc_main$1l, {
|
|
11240
11242
|
variant: "transparent",
|
|
11241
11243
|
size: "small",
|
|
@@ -11255,7 +11257,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
11255
11257
|
}, null, 8, ["disabled"])) : createCommentVNode("", true)
|
|
11256
11258
|
])
|
|
11257
11259
|
]),
|
|
11258
|
-
createElementVNode("div", _hoisted_6$
|
|
11260
|
+
createElementVNode("div", _hoisted_6$3, [
|
|
11259
11261
|
view.value === "day" ? (openBlock(), createBlock(DatePickerDayGrid, {
|
|
11260
11262
|
key: 0,
|
|
11261
11263
|
ref_key: "dayGridRef",
|
|
@@ -12242,18 +12244,17 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
12242
12244
|
const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8e5a54cf"]]);
|
|
12243
12245
|
|
|
12244
12246
|
const _hoisted_1$s = { class: "kds-time-picker" };
|
|
12245
|
-
const _hoisted_2$
|
|
12246
|
-
const _hoisted_3$
|
|
12247
|
-
const _hoisted_4$
|
|
12248
|
-
const _hoisted_5$2 = {
|
|
12247
|
+
const _hoisted_2$h = { class: "kds-time-picker-fields" };
|
|
12248
|
+
const _hoisted_3$e = { class: "kds-time-picker-fields" };
|
|
12249
|
+
const _hoisted_4$b = {
|
|
12249
12250
|
key: 0,
|
|
12250
12251
|
class: "kds-time-picker-fields"
|
|
12251
12252
|
};
|
|
12252
|
-
const
|
|
12253
|
+
const _hoisted_5$4 = {
|
|
12253
12254
|
key: 1,
|
|
12254
12255
|
class: "kds-time-picker-actions"
|
|
12255
12256
|
};
|
|
12256
|
-
const
|
|
12257
|
+
const _hoisted_6$2 = {
|
|
12257
12258
|
key: 2,
|
|
12258
12259
|
class: "kds-time-picker-actions"
|
|
12259
12260
|
};
|
|
@@ -12320,21 +12321,6 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12320
12321
|
get: () => modelValue.value?.millisecond ?? 0,
|
|
12321
12322
|
set: (value) => writeTime({ millisecond: value })
|
|
12322
12323
|
});
|
|
12323
|
-
const selectedTimeLabel = computed(() => {
|
|
12324
|
-
const time = Un.PlainTime.from({
|
|
12325
|
-
hour: clamp(modelValue.value?.hour ?? 0, 0, MAX_HOUR),
|
|
12326
|
-
minute: clamp(modelValue.value?.minute ?? 0, 0, MAX_MINUTE),
|
|
12327
|
-
second: showSecondInput.value ? clamp(modelValue.value?.second ?? 0, 0, MAX_SECOND) : 0,
|
|
12328
|
-
millisecond: showMillisecondInput.value ? clamp(modelValue.value?.millisecond ?? 0, 0, MAX_MILLISECOND) : 0
|
|
12329
|
-
});
|
|
12330
|
-
if (showMillisecondInput.value) {
|
|
12331
|
-
return time.toString({ smallestUnit: "millisecond" });
|
|
12332
|
-
}
|
|
12333
|
-
if (showSecondInput.value) {
|
|
12334
|
-
return time.toString({ smallestUnit: "second" });
|
|
12335
|
-
}
|
|
12336
|
-
return time.toString({ smallestUnit: "minute" });
|
|
12337
|
-
});
|
|
12338
12324
|
const addSeconds = async () => {
|
|
12339
12325
|
granularity.value = "second";
|
|
12340
12326
|
await nextTick();
|
|
@@ -12363,8 +12349,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12363
12349
|
__expose({ focus });
|
|
12364
12350
|
return (_ctx, _cache) => {
|
|
12365
12351
|
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
12366
|
-
createElementVNode("div", _hoisted_2$
|
|
12367
|
-
createElementVNode("div", _hoisted_3$c, [
|
|
12352
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
12368
12353
|
createVNode(_sfc_main$T, {
|
|
12369
12354
|
ref: "hourInput",
|
|
12370
12355
|
modelValue: hour.value,
|
|
@@ -12390,7 +12375,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12390
12375
|
class: "kds-time-picker-divider"
|
|
12391
12376
|
})) : createCommentVNode("", true),
|
|
12392
12377
|
showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
12393
|
-
createElementVNode("div",
|
|
12378
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
12394
12379
|
createVNode(_sfc_main$T, {
|
|
12395
12380
|
ref: "secondInput",
|
|
12396
12381
|
modelValue: second.value,
|
|
@@ -12410,7 +12395,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12410
12395
|
onClick: removeSeconds
|
|
12411
12396
|
})
|
|
12412
12397
|
]),
|
|
12413
|
-
showMillisecondInput.value ? (openBlock(), createElementBlock("div",
|
|
12398
|
+
showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
|
|
12414
12399
|
createVNode(_sfc_main$T, {
|
|
12415
12400
|
ref: "millisecondInput",
|
|
12416
12401
|
modelValue: millisecond.value,
|
|
@@ -12432,7 +12417,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12432
12417
|
title: "Remove milliseconds",
|
|
12433
12418
|
onClick: removeMilliseconds
|
|
12434
12419
|
})
|
|
12435
|
-
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div",
|
|
12420
|
+
])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
12436
12421
|
createVNode(_sfc_main$1l, {
|
|
12437
12422
|
variant: "outlined",
|
|
12438
12423
|
size: "small",
|
|
@@ -12441,7 +12426,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12441
12426
|
onClick: addMilliseconds
|
|
12442
12427
|
})
|
|
12443
12428
|
])) : createCommentVNode("", true)
|
|
12444
|
-
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div",
|
|
12429
|
+
], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
12445
12430
|
createVNode(_sfc_main$1l, {
|
|
12446
12431
|
variant: "outlined",
|
|
12447
12432
|
size: "small",
|
|
@@ -12455,7 +12440,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
12455
12440
|
}
|
|
12456
12441
|
});
|
|
12457
12442
|
|
|
12458
|
-
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
12443
|
+
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c2bc1234"]]);
|
|
12459
12444
|
|
|
12460
12445
|
const HOURS_END_INDEX = 2;
|
|
12461
12446
|
const MINUTES_START_INDEX = 2;
|
|
@@ -13043,9 +13028,9 @@ const stripInactiveFields = (duration, usedFormat) => {
|
|
|
13043
13028
|
const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
|
|
13044
13029
|
|
|
13045
13030
|
const _hoisted_1$r = { class: "kds-interval-popover" };
|
|
13046
|
-
const _hoisted_2$
|
|
13047
|
-
const _hoisted_3$
|
|
13048
|
-
const _hoisted_4$
|
|
13031
|
+
const _hoisted_2$g = { class: "kds-interval-popover-header" };
|
|
13032
|
+
const _hoisted_3$d = { class: "kds-interval-popover-content" };
|
|
13033
|
+
const _hoisted_4$a = { class: "kds-interval-popover-grid" };
|
|
13049
13034
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
13050
13035
|
__name: "IntervalInputPopover",
|
|
13051
13036
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -13141,7 +13126,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13141
13126
|
});
|
|
13142
13127
|
return (_ctx, _cache) => {
|
|
13143
13128
|
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
13144
|
-
createElementVNode("div", _hoisted_2$
|
|
13129
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
13145
13130
|
_cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
|
|
13146
13131
|
props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13147
13132
|
key: 0,
|
|
@@ -13153,7 +13138,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13153
13138
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
13154
13139
|
]),
|
|
13155
13140
|
_cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
|
|
13156
|
-
createElementVNode("div", _hoisted_3$
|
|
13141
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
13157
13142
|
props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
|
|
13158
13143
|
key: 0,
|
|
13159
13144
|
modelValue: direction.value,
|
|
@@ -13163,7 +13148,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13163
13148
|
variant: "muted",
|
|
13164
13149
|
"possible-values": directionOptions
|
|
13165
13150
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
13166
|
-
createElementVNode("div", _hoisted_4$
|
|
13151
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
13167
13152
|
mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
|
|
13168
13153
|
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
13169
13154
|
key,
|
|
@@ -13405,13 +13390,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
13405
13390
|
});
|
|
13406
13391
|
|
|
13407
13392
|
const _hoisted_1$q = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
|
|
13408
|
-
const _hoisted_2$
|
|
13393
|
+
const _hoisted_2$f = {
|
|
13409
13394
|
key: 0,
|
|
13410
13395
|
class: "leading",
|
|
13411
13396
|
"aria-hidden": "true"
|
|
13412
13397
|
};
|
|
13413
|
-
const _hoisted_3$
|
|
13414
|
-
const _hoisted_4$
|
|
13398
|
+
const _hoisted_3$c = ["id"];
|
|
13399
|
+
const _hoisted_4$9 = {
|
|
13415
13400
|
class: "trailing",
|
|
13416
13401
|
"aria-hidden": "true"
|
|
13417
13402
|
};
|
|
@@ -13487,7 +13472,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13487
13472
|
onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
|
|
13488
13473
|
onKeydown
|
|
13489
13474
|
}, [
|
|
13490
|
-
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
13475
|
+
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$f, [
|
|
13491
13476
|
createVNode(_sfc_main$1g, {
|
|
13492
13477
|
accessory: props.accessory,
|
|
13493
13478
|
size: "medium"
|
|
@@ -13499,8 +13484,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13499
13484
|
placeholder: !props.text && !__props.disabled,
|
|
13500
13485
|
missing: __props.missing
|
|
13501
13486
|
}])
|
|
13502
|
-
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$
|
|
13503
|
-
createElementVNode("span", _hoisted_4$
|
|
13487
|
+
}, toDisplayString(props.text ?? props.placeholder), 11, _hoisted_3$c),
|
|
13488
|
+
createElementVNode("span", _hoisted_4$9, [
|
|
13504
13489
|
createVNode(KdsIcon, {
|
|
13505
13490
|
name: open.value ? "chevron-up" : "chevron-down",
|
|
13506
13491
|
size: "small"
|
|
@@ -13516,7 +13501,7 @@ const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "da
|
|
|
13516
13501
|
const DROPDOWN_SEARCH_THRESHOLD = 12;
|
|
13517
13502
|
|
|
13518
13503
|
const _hoisted_1$p = { class: "kds-dropdown-container" };
|
|
13519
|
-
const _hoisted_2$
|
|
13504
|
+
const _hoisted_2$e = {
|
|
13520
13505
|
key: 0,
|
|
13521
13506
|
class: "kds-dropdown-container-sticky-top"
|
|
13522
13507
|
};
|
|
@@ -13605,7 +13590,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13605
13590
|
});
|
|
13606
13591
|
return (_ctx, _cache) => {
|
|
13607
13592
|
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
13608
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13593
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
13609
13594
|
createVNode(BaseInput, {
|
|
13610
13595
|
ref_key: "searchEl",
|
|
13611
13596
|
ref: searchEl,
|
|
@@ -13733,7 +13718,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13733
13718
|
});
|
|
13734
13719
|
|
|
13735
13720
|
const _hoisted_1$o = ["disabled"];
|
|
13736
|
-
const _hoisted_2$
|
|
13721
|
+
const _hoisted_2$d = ["title"];
|
|
13737
13722
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
13738
13723
|
__name: "KdsListItemButton",
|
|
13739
13724
|
props: {
|
|
@@ -13764,7 +13749,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13764
13749
|
ref: labelEl,
|
|
13765
13750
|
class: "label",
|
|
13766
13751
|
title: unref(isLabelTruncated) ? props.label : void 0
|
|
13767
|
-
}, toDisplayString(props.label), 9, _hoisted_2$
|
|
13752
|
+
}, toDisplayString(props.label), 9, _hoisted_2$d)
|
|
13768
13753
|
], 8, _hoisted_1$o);
|
|
13769
13754
|
};
|
|
13770
13755
|
}
|
|
@@ -13773,11 +13758,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13773
13758
|
const KdsListItemButton = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-21fb5571"]]);
|
|
13774
13759
|
|
|
13775
13760
|
const _hoisted_1$n = { class: "kds-multi-select-dropdown-options" };
|
|
13776
|
-
const _hoisted_2$
|
|
13761
|
+
const _hoisted_2$c = {
|
|
13777
13762
|
key: 0,
|
|
13778
13763
|
class: "kds-multi-select-dropdown-search"
|
|
13779
13764
|
};
|
|
13780
|
-
const _hoisted_3$
|
|
13765
|
+
const _hoisted_3$b = {
|
|
13781
13766
|
key: 1,
|
|
13782
13767
|
class: "kds-multi-select-dropdown-footer"
|
|
13783
13768
|
};
|
|
@@ -13905,7 +13890,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13905
13890
|
});
|
|
13906
13891
|
return (_ctx, _cache) => {
|
|
13907
13892
|
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
13908
|
-
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13893
|
+
searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
13909
13894
|
createVNode(BaseInput, {
|
|
13910
13895
|
ref_key: "searchEl",
|
|
13911
13896
|
ref: searchEl,
|
|
@@ -13934,7 +13919,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
13934
13919
|
"aria-label": "Dropdown options",
|
|
13935
13920
|
onItemClick: _cache[4] || (_cache[4] = ($event) => $event !== void 0 && onItemClick($event))
|
|
13936
13921
|
}, null, 8, ["class", "possible-values", "loading", "empty-text", "controlled-externally"]),
|
|
13937
|
-
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
13922
|
+
!__props.loading && visibleEnabledIds.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
13938
13923
|
createVNode(unref(KdsListItemButton), {
|
|
13939
13924
|
label: anyVisibleSelected.value ? "Clear all" : "Select all",
|
|
13940
13925
|
"leading-icon": anyVisibleSelected.value ? "trash" : "checkmark",
|
|
@@ -14077,7 +14062,7 @@ const kdsSpacingContainer0p10x = 1;
|
|
|
14077
14062
|
const kdsSpacingContainer0p25x = 4;
|
|
14078
14063
|
|
|
14079
14064
|
const _hoisted_1$m = { class: "kds-resize-handle-area" };
|
|
14080
|
-
const _hoisted_2$
|
|
14065
|
+
const _hoisted_2$b = ["aria-label"];
|
|
14081
14066
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
14082
14067
|
__name: "ResizeHandle",
|
|
14083
14068
|
props: {
|
|
@@ -14109,7 +14094,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
14109
14094
|
type: "button"
|
|
14110
14095
|
}, [..._cache[0] || (_cache[0] = [
|
|
14111
14096
|
createElementVNode("span", { class: "kds-resize-handle-line" }, null, -1)
|
|
14112
|
-
])], 8, _hoisted_2$
|
|
14097
|
+
])], 8, _hoisted_2$b);
|
|
14113
14098
|
}), 128))
|
|
14114
14099
|
]);
|
|
14115
14100
|
};
|
|
@@ -14498,12 +14483,12 @@ const useMultiSelectListBoxSelection = ({
|
|
|
14498
14483
|
};
|
|
14499
14484
|
|
|
14500
14485
|
const _hoisted_1$k = ["id", "tabindex", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-activedescendant", "aria-disabled", "onKeydown"];
|
|
14501
|
-
const _hoisted_2$
|
|
14502
|
-
const _hoisted_3$
|
|
14486
|
+
const _hoisted_2$a = { class: "kds-multiselect-list-box-content-grid" };
|
|
14487
|
+
const _hoisted_3$a = {
|
|
14503
14488
|
key: 0,
|
|
14504
14489
|
class: "kds-multiselect-sticky-bottom"
|
|
14505
14490
|
};
|
|
14506
|
-
const _hoisted_4$
|
|
14491
|
+
const _hoisted_4$8 = {
|
|
14507
14492
|
key: 0,
|
|
14508
14493
|
class: "kds-multiselect-empty"
|
|
14509
14494
|
};
|
|
@@ -14760,7 +14745,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14760
14745
|
onBlur: _cache[17] || (_cache[17] = //@ts-ignore
|
|
14761
14746
|
(...args) => unref(onBlur) && unref(onBlur)(...args))
|
|
14762
14747
|
}), [
|
|
14763
|
-
createElementVNode("div", _hoisted_2$
|
|
14748
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
14764
14749
|
createElementVNode("div", mergeProps({ class: "kds-multiselect-list-box-content" }, unref(wrapperProps)), [
|
|
14765
14750
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList), ({ data: item, index }) => {
|
|
14766
14751
|
return openBlock(), createBlock(unref(KdsListItem), {
|
|
@@ -14787,7 +14772,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14787
14772
|
}, null, 8, ["id", "class", "text", "accessory", "missing", "special", "data-option-index", "selected", "disabled", "active", "trailing-icon", "onDblclick", "onClick"]);
|
|
14788
14773
|
}), 128))
|
|
14789
14774
|
], 16),
|
|
14790
|
-
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
14775
|
+
visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
14791
14776
|
createVNode(unref(KdsListItem), {
|
|
14792
14777
|
id: generateOptionId(visibleBottomValue.value.id),
|
|
14793
14778
|
text: visibleBottomValue.value.text,
|
|
@@ -14808,7 +14793,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14808
14793
|
])) : createCommentVNode("", true)
|
|
14809
14794
|
])
|
|
14810
14795
|
], 16, _hoisted_1$k),
|
|
14811
|
-
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
14796
|
+
visiblePossibleValues.value.length === 0 && !visibleBottomValue.value ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
14812
14797
|
createVNode(KdsEmptyState, {
|
|
14813
14798
|
headline: __props.loading ? "Loading data…" : __props.emptyStateLabel,
|
|
14814
14799
|
"loading-spinner": __props.loading,
|
|
@@ -14829,17 +14814,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14829
14814
|
const KdsMultiSelectListBox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2c5e2dda"]]);
|
|
14830
14815
|
|
|
14831
14816
|
const _hoisted_1$j = { class: "kds-list-column" };
|
|
14832
|
-
const _hoisted_2$
|
|
14833
|
-
const _hoisted_3$
|
|
14834
|
-
const _hoisted_4$
|
|
14817
|
+
const _hoisted_2$9 = { class: "kds-list-header" };
|
|
14818
|
+
const _hoisted_3$9 = { class: "kds-list-label" };
|
|
14819
|
+
const _hoisted_4$7 = {
|
|
14835
14820
|
key: 0,
|
|
14836
14821
|
class: "kds-list-count"
|
|
14837
14822
|
};
|
|
14838
|
-
const _hoisted_5$
|
|
14839
|
-
const _hoisted_6 = { class: "kds-list-column" };
|
|
14840
|
-
const _hoisted_7 = { class: "kds-list-header" };
|
|
14841
|
-
const _hoisted_8 = { class: "kds-list-label" };
|
|
14842
|
-
const _hoisted_9 = {
|
|
14823
|
+
const _hoisted_5$3 = { class: "kds-button-column" };
|
|
14824
|
+
const _hoisted_6$1 = { class: "kds-list-column" };
|
|
14825
|
+
const _hoisted_7$1 = { class: "kds-list-header" };
|
|
14826
|
+
const _hoisted_8$1 = { class: "kds-list-label" };
|
|
14827
|
+
const _hoisted_9$1 = {
|
|
14843
14828
|
key: 0,
|
|
14844
14829
|
class: "kds-list-count"
|
|
14845
14830
|
};
|
|
@@ -15019,9 +15004,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15019
15004
|
style: normalizeStyle(contentStyle)
|
|
15020
15005
|
}, [
|
|
15021
15006
|
createElementVNode("div", _hoisted_1$j, [
|
|
15022
|
-
createElementVNode("div", _hoisted_2$
|
|
15023
|
-
createElementVNode("span", _hoisted_3$
|
|
15024
|
-
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
15007
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
15008
|
+
createElementVNode("span", _hoisted_3$9, toDisplayString(__props.excludeLabel), 1),
|
|
15009
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(leftOptions.value.length) + " of " + toDisplayString(excludedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15025
15010
|
]),
|
|
15026
15011
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
15027
15012
|
modelValue: leftSelected.value,
|
|
@@ -15040,7 +15025,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15040
15025
|
onKeyEnter: moveRight
|
|
15041
15026
|
}, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
|
|
15042
15027
|
]),
|
|
15043
|
-
createElementVNode("div", _hoisted_5$
|
|
15028
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
15044
15029
|
createVNode(unref(_sfc_main$1l), {
|
|
15045
15030
|
"leading-icon": "chevron-right",
|
|
15046
15031
|
ariaLabel: "Move selected values right",
|
|
@@ -15084,10 +15069,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15084
15069
|
]))
|
|
15085
15070
|
}, null, 8, ["disabled"])
|
|
15086
15071
|
]),
|
|
15087
|
-
createElementVNode("div", _hoisted_6, [
|
|
15088
|
-
createElementVNode("div", _hoisted_7, [
|
|
15089
|
-
createElementVNode("span", _hoisted_8, toDisplayString(__props.includeLabel), 1),
|
|
15090
|
-
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(rightOptions.value.length) + " of " + toDisplayString(includedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15072
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
15073
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
15074
|
+
createElementVNode("span", _hoisted_8$1, toDisplayString(__props.includeLabel), 1),
|
|
15075
|
+
!__props.loading && __props.searchTerm ? (openBlock(), createElementBlock("span", _hoisted_9$1, toDisplayString(rightOptions.value.length) + " of " + toDisplayString(includedItems.value.length), 1)) : createCommentVNode("", true)
|
|
15091
15076
|
]),
|
|
15092
15077
|
createVNode(unref(KdsMultiSelectListBox), {
|
|
15093
15078
|
modelValue: rightSelected.value,
|
|
@@ -15461,9 +15446,9 @@ const useSortableListBoxReorder = ({
|
|
|
15461
15446
|
};
|
|
15462
15447
|
|
|
15463
15448
|
const _hoisted_1$h = { class: "kds-sortable-list-box-wrapper" };
|
|
15464
|
-
const _hoisted_2$
|
|
15465
|
-
const _hoisted_3$
|
|
15466
|
-
const _hoisted_4$
|
|
15449
|
+
const _hoisted_2$8 = { class: "kds-sortable-top-buttons" };
|
|
15450
|
+
const _hoisted_3$8 = { class: "kds-sortable-top-buttons-left" };
|
|
15451
|
+
const _hoisted_4$6 = { class: "kds-sortable-footer-buttons" };
|
|
15467
15452
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
15468
15453
|
__name: "KdsSortableListBox",
|
|
15469
15454
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -15522,8 +15507,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15522
15507
|
}), {
|
|
15523
15508
|
default: withCtx(() => [
|
|
15524
15509
|
createElementVNode("div", _hoisted_1$h, [
|
|
15525
|
-
createElementVNode("div", _hoisted_2$
|
|
15526
|
-
createElementVNode("div", _hoisted_3$
|
|
15510
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
15511
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
15527
15512
|
createVNode(_sfc_main$1l, {
|
|
15528
15513
|
size: "small",
|
|
15529
15514
|
variant: "transparent",
|
|
@@ -15562,7 +15547,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
15562
15547
|
ariaLabel: formFieldProps.label ?? formFieldProps.ariaLabel ?? ""
|
|
15563
15548
|
/* fallback only for TS */
|
|
15564
15549
|
}, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
|
|
15565
|
-
createElementVNode("div", _hoisted_4$
|
|
15550
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
15566
15551
|
createVNode(_sfc_main$1l, {
|
|
15567
15552
|
size: "small",
|
|
15568
15553
|
variant: "transparent",
|
|
@@ -15851,10 +15836,207 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
15851
15836
|
|
|
15852
15837
|
const KdsVariableToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-b6d29842"]]);
|
|
15853
15838
|
|
|
15839
|
+
const _hoisted_1$c = { class: "kds-accordion" };
|
|
15840
|
+
const _hoisted_2$7 = ["id", "aria-expanded", "aria-controls", "disabled", "onClick", "onKeydown"];
|
|
15841
|
+
const _hoisted_3$7 = { class: "kds-accordion-headline-container" };
|
|
15842
|
+
const _hoisted_4$5 = { class: "kds-accordion-headline" };
|
|
15843
|
+
const _hoisted_5$2 = ["id", "aria-labelledby", "hidden"];
|
|
15854
15844
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
15845
|
+
__name: "KdsAccordion",
|
|
15846
|
+
props: /* @__PURE__ */ mergeModels({
|
|
15847
|
+
items: {},
|
|
15848
|
+
singleExpand: { type: Boolean, default: false }
|
|
15849
|
+
}, {
|
|
15850
|
+
"modelValue": { required: false },
|
|
15851
|
+
"modelModifiers": {}
|
|
15852
|
+
}),
|
|
15853
|
+
emits: ["update:modelValue"],
|
|
15854
|
+
setup(__props) {
|
|
15855
|
+
const itemIdsSet = computed(() => new Set(__props.items.map((item) => item.id)));
|
|
15856
|
+
const modelValue = useModel(__props, "modelValue");
|
|
15857
|
+
const getNormalizedExpandedItems = (expandedItemIds) => {
|
|
15858
|
+
const sanitizedExpandedItems = Array.from(new Set(expandedItemIds)).filter(
|
|
15859
|
+
(expandedItemId) => itemIdsSet.value.has(expandedItemId)
|
|
15860
|
+
);
|
|
15861
|
+
if (__props.singleExpand) {
|
|
15862
|
+
return sanitizedExpandedItems.slice(0, 1);
|
|
15863
|
+
}
|
|
15864
|
+
return sanitizedExpandedItems;
|
|
15865
|
+
};
|
|
15866
|
+
const normalizedModelExpandedItems = computed(
|
|
15867
|
+
() => getNormalizedExpandedItems(modelValue.value ?? [])
|
|
15868
|
+
);
|
|
15869
|
+
const setExpandedItems = (nextExpandedItems) => {
|
|
15870
|
+
modelValue.value = nextExpandedItems;
|
|
15871
|
+
};
|
|
15872
|
+
const areExpandedItemsEqual = (leftExpandedItems, rightExpandedItems) => leftExpandedItems.length === rightExpandedItems.length && leftExpandedItems.every(
|
|
15873
|
+
(value, index) => value === rightExpandedItems[index]
|
|
15874
|
+
);
|
|
15875
|
+
watch(
|
|
15876
|
+
() => [__props.items, __props.singleExpand, modelValue.value],
|
|
15877
|
+
() => {
|
|
15878
|
+
const currentModelExpandedItems = modelValue.value ?? [];
|
|
15879
|
+
const normalizedExpandedItems = normalizedModelExpandedItems.value;
|
|
15880
|
+
if (!areExpandedItemsEqual(currentModelExpandedItems, normalizedExpandedItems)) {
|
|
15881
|
+
setExpandedItems(normalizedExpandedItems);
|
|
15882
|
+
}
|
|
15883
|
+
},
|
|
15884
|
+
{ immediate: true }
|
|
15885
|
+
);
|
|
15886
|
+
const expandedItems = computed(() => normalizedModelExpandedItems.value);
|
|
15887
|
+
const isItemExpanded = (itemId) => expandedItems.value.includes(itemId);
|
|
15888
|
+
const toggleItem = (item) => {
|
|
15889
|
+
if (item.disabled) {
|
|
15890
|
+
return;
|
|
15891
|
+
}
|
|
15892
|
+
if (isItemExpanded(item.id)) {
|
|
15893
|
+
setExpandedItems(expandedItems.value.filter((id) => id !== item.id));
|
|
15894
|
+
return;
|
|
15895
|
+
}
|
|
15896
|
+
if (__props.singleExpand) {
|
|
15897
|
+
setExpandedItems([item.id]);
|
|
15898
|
+
return;
|
|
15899
|
+
}
|
|
15900
|
+
setExpandedItems([...expandedItems.value, item.id]);
|
|
15901
|
+
};
|
|
15902
|
+
const triggerRefs = ref({});
|
|
15903
|
+
const setTriggerRef = (itemId, triggerEl) => {
|
|
15904
|
+
let element = null;
|
|
15905
|
+
if (triggerEl instanceof Element) {
|
|
15906
|
+
element = triggerEl;
|
|
15907
|
+
} else if (triggerEl) {
|
|
15908
|
+
element = triggerEl.$el;
|
|
15909
|
+
}
|
|
15910
|
+
if (element instanceof HTMLButtonElement) {
|
|
15911
|
+
triggerRefs.value[itemId] = element;
|
|
15912
|
+
return;
|
|
15913
|
+
}
|
|
15914
|
+
delete triggerRefs.value[itemId];
|
|
15915
|
+
};
|
|
15916
|
+
const focusTrigger = (itemId) => {
|
|
15917
|
+
triggerRefs.value[itemId]?.focus();
|
|
15918
|
+
};
|
|
15919
|
+
const handleTriggerKeydown = (event, currentItem) => {
|
|
15920
|
+
const enabledItemIds = __props.items.filter((item) => !item.disabled).map((item) => item.id);
|
|
15921
|
+
const currentItemIndex = enabledItemIds.indexOf(currentItem.id);
|
|
15922
|
+
if (currentItemIndex === -1 || enabledItemIds.length < 2) {
|
|
15923
|
+
return;
|
|
15924
|
+
}
|
|
15925
|
+
switch (event.key) {
|
|
15926
|
+
case "ArrowDown": {
|
|
15927
|
+
event.preventDefault();
|
|
15928
|
+
const nextItemIndex = (currentItemIndex + 1) % enabledItemIds.length;
|
|
15929
|
+
focusTrigger(enabledItemIds[nextItemIndex]);
|
|
15930
|
+
break;
|
|
15931
|
+
}
|
|
15932
|
+
case "ArrowUp": {
|
|
15933
|
+
event.preventDefault();
|
|
15934
|
+
const nextItemIndex = (currentItemIndex - 1 + enabledItemIds.length) % enabledItemIds.length;
|
|
15935
|
+
focusTrigger(enabledItemIds[nextItemIndex]);
|
|
15936
|
+
break;
|
|
15937
|
+
}
|
|
15938
|
+
case "Home":
|
|
15939
|
+
event.preventDefault();
|
|
15940
|
+
focusTrigger(enabledItemIds[0]);
|
|
15941
|
+
break;
|
|
15942
|
+
case "End":
|
|
15943
|
+
event.preventDefault();
|
|
15944
|
+
focusTrigger(enabledItemIds[enabledItemIds.length - 1]);
|
|
15945
|
+
break;
|
|
15946
|
+
}
|
|
15947
|
+
};
|
|
15948
|
+
const accordionId = useId();
|
|
15949
|
+
const getItemTriggerId = (itemId) => `${accordionId}-trigger-${itemId}`;
|
|
15950
|
+
const getItemContentId = (itemId) => `${accordionId}-content-${itemId}`;
|
|
15951
|
+
return (_ctx, _cache) => {
|
|
15952
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
15953
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
15954
|
+
return openBlock(), createElementBlock("div", {
|
|
15955
|
+
key: item.id,
|
|
15956
|
+
class: "kds-accordion-item"
|
|
15957
|
+
}, [
|
|
15958
|
+
createElementVNode("button", {
|
|
15959
|
+
id: getItemTriggerId(item.id),
|
|
15960
|
+
ref_for: true,
|
|
15961
|
+
ref: (triggerEl) => setTriggerRef(item.id, triggerEl),
|
|
15962
|
+
class: "kds-accordion-header",
|
|
15963
|
+
type: "button",
|
|
15964
|
+
"aria-expanded": isItemExpanded(item.id),
|
|
15965
|
+
"aria-controls": getItemContentId(item.id),
|
|
15966
|
+
disabled: item.disabled,
|
|
15967
|
+
onClick: ($event) => toggleItem(item),
|
|
15968
|
+
onKeydown: ($event) => handleTriggerKeydown($event, item)
|
|
15969
|
+
}, [
|
|
15970
|
+
createElementVNode("span", _hoisted_3$7, [
|
|
15971
|
+
item.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
|
|
15972
|
+
key: 0,
|
|
15973
|
+
name: item.leadingIcon,
|
|
15974
|
+
size: "small",
|
|
15975
|
+
disabled: item.disabled
|
|
15976
|
+
}, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
|
|
15977
|
+
createElementVNode("span", _hoisted_4$5, toDisplayString(item.headline), 1)
|
|
15978
|
+
]),
|
|
15979
|
+
createVNode(KdsIcon, {
|
|
15980
|
+
name: isItemExpanded(item.id) ? "chevron-up" : "chevron-down",
|
|
15981
|
+
size: "small"
|
|
15982
|
+
}, null, 8, ["name"])
|
|
15983
|
+
], 40, _hoisted_2$7),
|
|
15984
|
+
createElementVNode("div", {
|
|
15985
|
+
id: getItemContentId(item.id),
|
|
15986
|
+
class: "kds-accordion-content",
|
|
15987
|
+
role: "group",
|
|
15988
|
+
"aria-labelledby": getItemTriggerId(item.id),
|
|
15989
|
+
hidden: !isItemExpanded(item.id)
|
|
15990
|
+
}, [
|
|
15991
|
+
renderSlot(_ctx.$slots, item.id, { item }, void 0, true)
|
|
15992
|
+
], 8, _hoisted_5$2)
|
|
15993
|
+
]);
|
|
15994
|
+
}), 128))
|
|
15995
|
+
]);
|
|
15996
|
+
};
|
|
15997
|
+
}
|
|
15998
|
+
});
|
|
15999
|
+
|
|
16000
|
+
const KdsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-66485734"]]);
|
|
16001
|
+
|
|
16002
|
+
const _hoisted_1$b = { class: "kds-card-header" };
|
|
16003
|
+
const _hoisted_2$6 = {
|
|
16004
|
+
key: 0,
|
|
16005
|
+
class: "accessory"
|
|
16006
|
+
};
|
|
16007
|
+
const _hoisted_3$6 = { key: 1 };
|
|
16008
|
+
const _hoisted_4$4 = {
|
|
16009
|
+
key: 2,
|
|
16010
|
+
class: "actions",
|
|
16011
|
+
"data-kds-card-secondary-action": ""
|
|
16012
|
+
};
|
|
16013
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
16014
|
+
__name: "CardHeader",
|
|
16015
|
+
props: {
|
|
16016
|
+
headline: {}
|
|
16017
|
+
},
|
|
16018
|
+
setup(__props) {
|
|
16019
|
+
return (_ctx, _cache) => {
|
|
16020
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
16021
|
+
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
16022
|
+
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16023
|
+
])) : createCommentVNode("", true),
|
|
16024
|
+
__props.headline ? (openBlock(), createElementBlock("h6", _hoisted_3$6, toDisplayString(__props.headline), 1)) : createCommentVNode("", true),
|
|
16025
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
16026
|
+
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16027
|
+
])) : createCommentVNode("", true)
|
|
16028
|
+
]);
|
|
16029
|
+
};
|
|
16030
|
+
}
|
|
16031
|
+
});
|
|
16032
|
+
|
|
16033
|
+
const CardHeader = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-9be14436"]]);
|
|
16034
|
+
|
|
16035
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
15855
16036
|
__name: "BaseCard",
|
|
15856
16037
|
props: {
|
|
15857
16038
|
variant: {},
|
|
16039
|
+
headline: {},
|
|
15858
16040
|
clickable: { type: Boolean, default: false },
|
|
15859
16041
|
selected: { type: Boolean, default: false }
|
|
15860
16042
|
},
|
|
@@ -15863,39 +16045,77 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
15863
16045
|
return openBlock(), createElementBlock("div", {
|
|
15864
16046
|
class: normalizeClass(["kds-base-card", [`variant-${__props.variant}`, { selected: __props.selected, clickable: __props.clickable }]])
|
|
15865
16047
|
}, [
|
|
16048
|
+
renderSlot(_ctx.$slots, "primary-action", {}, void 0, true),
|
|
16049
|
+
_ctx.$slots["header-accessory"] || _ctx.$slots["header-actions"] || __props.headline ? (openBlock(), createBlock(CardHeader, {
|
|
16050
|
+
key: 0,
|
|
16051
|
+
headline: __props.headline
|
|
16052
|
+
}, createSlots({ _: 2 }, [
|
|
16053
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16054
|
+
name: "accessory",
|
|
16055
|
+
fn: withCtx(() => [
|
|
16056
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16057
|
+
]),
|
|
16058
|
+
key: "0"
|
|
16059
|
+
} : void 0,
|
|
16060
|
+
_ctx.$slots["header-actions"] ? {
|
|
16061
|
+
name: "actions",
|
|
16062
|
+
fn: withCtx(() => [
|
|
16063
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16064
|
+
]),
|
|
16065
|
+
key: "1"
|
|
16066
|
+
} : void 0
|
|
16067
|
+
]), 1032, ["headline"])) : createCommentVNode("", true),
|
|
15866
16068
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
15867
16069
|
], 2);
|
|
15868
16070
|
};
|
|
15869
16071
|
}
|
|
15870
16072
|
});
|
|
15871
16073
|
|
|
15872
|
-
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16074
|
+
const BaseCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a1aff6d6"]]);
|
|
15873
16075
|
|
|
15874
|
-
const _sfc_main$
|
|
16076
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
15875
16077
|
__name: "KdsCard",
|
|
15876
16078
|
props: {
|
|
15877
|
-
variant: { default: "outlined" }
|
|
16079
|
+
variant: { default: "outlined" },
|
|
16080
|
+
headline: {}
|
|
15878
16081
|
},
|
|
15879
16082
|
setup(__props) {
|
|
15880
16083
|
return (_ctx, _cache) => {
|
|
15881
16084
|
return openBlock(), createBlock(BaseCard, {
|
|
15882
16085
|
variant: __props.variant,
|
|
15883
|
-
class: "kds-card"
|
|
15884
|
-
|
|
16086
|
+
class: "kds-card",
|
|
16087
|
+
headline: __props.headline
|
|
16088
|
+
}, createSlots({
|
|
15885
16089
|
default: withCtx(() => [
|
|
15886
16090
|
renderSlot(_ctx.$slots, "default")
|
|
15887
16091
|
]),
|
|
15888
|
-
_:
|
|
15889
|
-
},
|
|
16092
|
+
_: 2
|
|
16093
|
+
}, [
|
|
16094
|
+
_ctx.$slots["header-actions"] ? {
|
|
16095
|
+
name: "header-actions",
|
|
16096
|
+
fn: withCtx(() => [
|
|
16097
|
+
renderSlot(_ctx.$slots, "header-actions")
|
|
16098
|
+
]),
|
|
16099
|
+
key: "0"
|
|
16100
|
+
} : void 0,
|
|
16101
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16102
|
+
name: "header-accessory",
|
|
16103
|
+
fn: withCtx(() => [
|
|
16104
|
+
renderSlot(_ctx.$slots, "header-accessory")
|
|
16105
|
+
]),
|
|
16106
|
+
key: "1"
|
|
16107
|
+
} : void 0
|
|
16108
|
+
]), 1032, ["variant", "headline"]);
|
|
15890
16109
|
};
|
|
15891
16110
|
}
|
|
15892
16111
|
});
|
|
15893
16112
|
|
|
15894
|
-
const _hoisted_1$
|
|
15895
|
-
const _sfc_main$
|
|
16113
|
+
const _hoisted_1$a = ["aria-label", "aria-labelledby", "disabled"];
|
|
16114
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
15896
16115
|
__name: "KdsClickableCard",
|
|
15897
16116
|
props: {
|
|
15898
16117
|
variant: { default: "filled" },
|
|
16118
|
+
headline: {},
|
|
15899
16119
|
disabled: { type: Boolean, default: false },
|
|
15900
16120
|
ariaLabel: {},
|
|
15901
16121
|
ariaLabelledby: {}
|
|
@@ -15913,35 +16133,54 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15913
16133
|
return openBlock(), createBlock(BaseCard, {
|
|
15914
16134
|
variant: __props.variant,
|
|
15915
16135
|
clickable: !__props.disabled,
|
|
16136
|
+
headline: __props.headline,
|
|
15916
16137
|
class: "kds-clickable-card"
|
|
15917
|
-
}, {
|
|
15918
|
-
|
|
16138
|
+
}, createSlots({
|
|
16139
|
+
"primary-action": withCtx(() => [
|
|
15919
16140
|
createElementVNode("button", {
|
|
15920
16141
|
type: "button",
|
|
15921
|
-
"aria-label": __props.ariaLabel,
|
|
16142
|
+
"aria-label": __props.ariaLabel ? __props.ariaLabel : __props.headline,
|
|
15922
16143
|
"aria-labelledby": __props.ariaLabelledby,
|
|
15923
16144
|
disabled: __props.disabled,
|
|
15924
16145
|
"data-kds-card-primary-action": "",
|
|
15925
16146
|
onClick
|
|
15926
|
-
}, null, 8, _hoisted_1$
|
|
16147
|
+
}, null, 8, _hoisted_1$a)
|
|
16148
|
+
]),
|
|
16149
|
+
default: withCtx(() => [
|
|
15927
16150
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
15928
16151
|
]),
|
|
15929
|
-
_:
|
|
15930
|
-
},
|
|
16152
|
+
_: 2
|
|
16153
|
+
}, [
|
|
16154
|
+
_ctx.$slots["header-actions"] ? {
|
|
16155
|
+
name: "header-actions",
|
|
16156
|
+
fn: withCtx(() => [
|
|
16157
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16158
|
+
]),
|
|
16159
|
+
key: "0"
|
|
16160
|
+
} : void 0,
|
|
16161
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16162
|
+
name: "header-accessory",
|
|
16163
|
+
fn: withCtx(() => [
|
|
16164
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16165
|
+
]),
|
|
16166
|
+
key: "1"
|
|
16167
|
+
} : void 0
|
|
16168
|
+
]), 1032, ["variant", "clickable", "headline"]);
|
|
15931
16169
|
};
|
|
15932
16170
|
}
|
|
15933
16171
|
});
|
|
15934
16172
|
|
|
15935
|
-
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16173
|
+
const KdsClickableCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-04004cbf"]]);
|
|
15936
16174
|
|
|
15937
|
-
const _sfc_main$
|
|
16175
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
15938
16176
|
__name: "KdsLinkCard",
|
|
15939
16177
|
props: {
|
|
16178
|
+
variant: { default: "filled" },
|
|
16179
|
+
headline: {},
|
|
15940
16180
|
to: {},
|
|
15941
16181
|
download: { type: Boolean },
|
|
15942
16182
|
target: {},
|
|
15943
16183
|
rel: {},
|
|
15944
|
-
variant: { default: "filled" },
|
|
15945
16184
|
disabled: { type: Boolean, default: false },
|
|
15946
16185
|
ariaLabel: {},
|
|
15947
16186
|
ariaLabelledby: {}
|
|
@@ -15950,41 +16189,61 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15950
16189
|
const linkComponent = computed(() => {
|
|
15951
16190
|
return resolveNuxtLinkComponent();
|
|
15952
16191
|
});
|
|
16192
|
+
const ariaLabelWithFallback = computed(() => __props.ariaLabel || __props.headline);
|
|
15953
16193
|
return (_ctx, _cache) => {
|
|
15954
16194
|
return openBlock(), createBlock(BaseCard, {
|
|
15955
16195
|
variant: __props.variant,
|
|
15956
16196
|
clickable: !__props.disabled,
|
|
15957
16197
|
class: "kds-link-card",
|
|
15958
16198
|
"aria-disabled": __props.disabled ? true : void 0,
|
|
15959
|
-
"aria-label": __props.disabled ?
|
|
15960
|
-
"aria-labelledby": __props.disabled ? __props.ariaLabelledby : void 0
|
|
15961
|
-
|
|
15962
|
-
|
|
16199
|
+
"aria-label": __props.disabled ? ariaLabelWithFallback.value : void 0,
|
|
16200
|
+
"aria-labelledby": __props.disabled ? __props.ariaLabelledby : void 0,
|
|
16201
|
+
headline: __props.headline
|
|
16202
|
+
}, createSlots({
|
|
16203
|
+
"primary-action": withCtx(() => [
|
|
15963
16204
|
!__props.disabled ? (openBlock(), createBlock(resolveDynamicComponent(linkComponent.value), {
|
|
15964
16205
|
key: 0,
|
|
15965
16206
|
to: __props.to,
|
|
15966
16207
|
"data-kds-card-primary-action": "",
|
|
15967
|
-
"aria-label":
|
|
16208
|
+
"aria-label": ariaLabelWithFallback.value,
|
|
15968
16209
|
"aria-labelledby": __props.ariaLabelledby,
|
|
15969
16210
|
download: __props.download,
|
|
15970
16211
|
rel: __props.rel,
|
|
15971
16212
|
target: __props.target
|
|
15972
|
-
}, null, 8, ["to", "aria-label", "aria-labelledby", "download", "rel", "target"])) : createCommentVNode("", true)
|
|
16213
|
+
}, null, 8, ["to", "aria-label", "aria-labelledby", "download", "rel", "target"])) : createCommentVNode("", true)
|
|
16214
|
+
]),
|
|
16215
|
+
default: withCtx(() => [
|
|
15973
16216
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
15974
16217
|
]),
|
|
15975
|
-
_:
|
|
15976
|
-
},
|
|
16218
|
+
_: 2
|
|
16219
|
+
}, [
|
|
16220
|
+
_ctx.$slots["header-actions"] ? {
|
|
16221
|
+
name: "header-actions",
|
|
16222
|
+
fn: withCtx(() => [
|
|
16223
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16224
|
+
]),
|
|
16225
|
+
key: "0"
|
|
16226
|
+
} : void 0,
|
|
16227
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16228
|
+
name: "header-accessory",
|
|
16229
|
+
fn: withCtx(() => [
|
|
16230
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16231
|
+
]),
|
|
16232
|
+
key: "1"
|
|
16233
|
+
} : void 0
|
|
16234
|
+
]), 1032, ["variant", "clickable", "aria-disabled", "aria-label", "aria-labelledby", "headline"]);
|
|
15977
16235
|
};
|
|
15978
16236
|
}
|
|
15979
16237
|
});
|
|
15980
16238
|
|
|
15981
|
-
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16239
|
+
const KdsLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-1696fd9e"]]);
|
|
15982
16240
|
|
|
15983
|
-
const _hoisted_1$
|
|
15984
|
-
const _sfc_main$
|
|
16241
|
+
const _hoisted_1$9 = ["aria-label", "aria-labelledby", "disabled", "aria-pressed"];
|
|
16242
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
15985
16243
|
__name: "KdsSelectableCard",
|
|
15986
16244
|
props: /* @__PURE__ */ mergeModels({
|
|
15987
16245
|
variant: { default: "filled" },
|
|
16246
|
+
headline: {},
|
|
15988
16247
|
disabled: { type: Boolean, default: false },
|
|
15989
16248
|
ariaLabel: {},
|
|
15990
16249
|
ariaLabelledby: {}
|
|
@@ -16006,27 +16265,45 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16006
16265
|
variant: __props.variant,
|
|
16007
16266
|
selected: modelValue.value,
|
|
16008
16267
|
clickable: !__props.disabled,
|
|
16268
|
+
headline: __props.headline,
|
|
16009
16269
|
class: "kds-selectable-card"
|
|
16010
|
-
}, {
|
|
16011
|
-
|
|
16270
|
+
}, createSlots({
|
|
16271
|
+
"primary-action": withCtx(() => [
|
|
16012
16272
|
createElementVNode("button", {
|
|
16013
16273
|
type: "button",
|
|
16014
|
-
"aria-label": __props.ariaLabel,
|
|
16274
|
+
"aria-label": __props.ariaLabel ? __props.ariaLabel : __props.headline,
|
|
16015
16275
|
"aria-labelledby": __props.ariaLabelledby,
|
|
16016
16276
|
disabled: __props.disabled,
|
|
16017
16277
|
"aria-pressed": modelValue.value,
|
|
16018
16278
|
"data-kds-card-primary-action": "",
|
|
16019
16279
|
onClick
|
|
16020
|
-
}, null, 8, _hoisted_1$
|
|
16280
|
+
}, null, 8, _hoisted_1$9)
|
|
16281
|
+
]),
|
|
16282
|
+
default: withCtx(() => [
|
|
16021
16283
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16022
16284
|
]),
|
|
16023
|
-
_:
|
|
16024
|
-
},
|
|
16285
|
+
_: 2
|
|
16286
|
+
}, [
|
|
16287
|
+
_ctx.$slots["header-actions"] ? {
|
|
16288
|
+
name: "header-actions",
|
|
16289
|
+
fn: withCtx(() => [
|
|
16290
|
+
renderSlot(_ctx.$slots, "header-actions", {}, void 0, true)
|
|
16291
|
+
]),
|
|
16292
|
+
key: "0"
|
|
16293
|
+
} : void 0,
|
|
16294
|
+
_ctx.$slots["header-accessory"] ? {
|
|
16295
|
+
name: "header-accessory",
|
|
16296
|
+
fn: withCtx(() => [
|
|
16297
|
+
renderSlot(_ctx.$slots, "header-accessory", {}, void 0, true)
|
|
16298
|
+
]),
|
|
16299
|
+
key: "1"
|
|
16300
|
+
} : void 0
|
|
16301
|
+
]), 1032, ["variant", "selected", "clickable", "headline"]);
|
|
16025
16302
|
};
|
|
16026
16303
|
}
|
|
16027
16304
|
});
|
|
16028
16305
|
|
|
16029
|
-
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16306
|
+
const KdsSelectableCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-af9b9bf6"]]);
|
|
16030
16307
|
|
|
16031
16308
|
const kdsCardVariant = {
|
|
16032
16309
|
FILLED: "filled",
|
|
@@ -16035,35 +16312,118 @@ const kdsCardVariant = {
|
|
|
16035
16312
|
};
|
|
16036
16313
|
const kdsCardVariants = Object.values(kdsCardVariant);
|
|
16037
16314
|
|
|
16038
|
-
const _hoisted_1$
|
|
16039
|
-
const
|
|
16040
|
-
|
|
16315
|
+
const _hoisted_1$8 = { class: "kds-panel" };
|
|
16316
|
+
const _hoisted_2$5 = { class: "kds-panel-header" };
|
|
16317
|
+
const _hoisted_3$5 = ["id"];
|
|
16318
|
+
const _hoisted_4$3 = {
|
|
16319
|
+
key: 0,
|
|
16320
|
+
class: "kds-panel-headline-text"
|
|
16321
|
+
};
|
|
16322
|
+
const _hoisted_5$1 = {
|
|
16323
|
+
key: 0,
|
|
16324
|
+
class: "kds-panel-header-trailing"
|
|
16325
|
+
};
|
|
16326
|
+
const _hoisted_6 = ["aria-labelledby"];
|
|
16327
|
+
const _hoisted_7 = {
|
|
16328
|
+
key: 0,
|
|
16329
|
+
class: "kds-panel-footer"
|
|
16330
|
+
};
|
|
16331
|
+
const _hoisted_8 = { class: "kds-panel-footer-leading" };
|
|
16332
|
+
const _hoisted_9 = { class: "kds-panel-footer-trailing" };
|
|
16333
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
16334
|
+
__name: "KdsPanel",
|
|
16041
16335
|
props: {
|
|
16042
|
-
headline: {}
|
|
16336
|
+
headline: {},
|
|
16337
|
+
headlineTrailingActions: {},
|
|
16338
|
+
footerLeadingActions: {},
|
|
16339
|
+
footerTrailingActions: {}
|
|
16043
16340
|
},
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
const emit = __emit;
|
|
16047
|
-
const handleClick = (event) => emit("close", event);
|
|
16341
|
+
setup(__props) {
|
|
16342
|
+
const headlineId = useId();
|
|
16048
16343
|
return (_ctx, _cache) => {
|
|
16049
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16050
|
-
createElementVNode("
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16344
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
16345
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
16346
|
+
createElementVNode("div", {
|
|
16347
|
+
id: unref(headlineId),
|
|
16348
|
+
class: "kds-panel-headline"
|
|
16349
|
+
}, [
|
|
16350
|
+
typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$3, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1l, mergeProps({ key: 1 }, __props.headline.props, {
|
|
16351
|
+
size: "small",
|
|
16352
|
+
onClick: __props.headline.onClick
|
|
16353
|
+
}), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1a, mergeProps({ key: 2 }, __props.headline.props, {
|
|
16354
|
+
size: "small",
|
|
16355
|
+
onItemClick: __props.headline.onItemClick
|
|
16356
|
+
}), null, 16, ["onItemClick"])) : createCommentVNode("", true)
|
|
16357
|
+
], 8, _hoisted_3$5),
|
|
16358
|
+
__props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
16359
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
|
|
16360
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
16361
|
+
action.type === "button" ? (openBlock(), createBlock(_sfc_main$1l, mergeProps({
|
|
16362
|
+
key: 0,
|
|
16363
|
+
ref_for: true
|
|
16364
|
+
}, action.props, {
|
|
16365
|
+
size: "small",
|
|
16366
|
+
onClick: action.onClick
|
|
16367
|
+
}), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1i, mergeProps({
|
|
16368
|
+
key: 1,
|
|
16369
|
+
ref_for: true
|
|
16370
|
+
}, action.props, {
|
|
16371
|
+
size: "small",
|
|
16372
|
+
"onUpdate:modelValue": action.onUpdateModelValue
|
|
16373
|
+
}), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1a, mergeProps({
|
|
16374
|
+
key: 2,
|
|
16375
|
+
ref_for: true
|
|
16376
|
+
}, action.props, {
|
|
16377
|
+
size: "small",
|
|
16378
|
+
onItemClick: action.onItemClick
|
|
16379
|
+
}), null, 16, ["onItemClick"])) : action.type === "valueSwitch" ? (openBlock(), createBlock(KdsValueSwitch, mergeProps({
|
|
16380
|
+
key: 3,
|
|
16381
|
+
ref_for: true
|
|
16382
|
+
}, action.props, {
|
|
16383
|
+
size: "small",
|
|
16384
|
+
"onUpdate:modelValue": action.onUpdateModelValue
|
|
16385
|
+
}), null, 16, ["onUpdate:modelValue"])) : createCommentVNode("", true)
|
|
16386
|
+
], 64);
|
|
16387
|
+
}), 128))
|
|
16388
|
+
])) : createCommentVNode("", true)
|
|
16389
|
+
]),
|
|
16390
|
+
createElementVNode("div", {
|
|
16391
|
+
class: "kds-panel-body",
|
|
16392
|
+
tabindex: "0",
|
|
16393
|
+
"aria-labelledby": unref(headlineId)
|
|
16394
|
+
}, [
|
|
16395
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16396
|
+
], 8, _hoisted_6),
|
|
16397
|
+
__props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
16398
|
+
createElementVNode("div", _hoisted_8, [
|
|
16399
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
|
|
16400
|
+
return openBlock(), createBlock(_sfc_main$1l, mergeProps({
|
|
16401
|
+
key: `leading-${index}`
|
|
16402
|
+
}, { ref_for: true }, action.props, {
|
|
16403
|
+
size: "small",
|
|
16404
|
+
onClick: action.onClick
|
|
16405
|
+
}), null, 16, ["onClick"]);
|
|
16406
|
+
}), 128))
|
|
16407
|
+
]),
|
|
16408
|
+
createElementVNode("div", _hoisted_9, [
|
|
16409
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
|
|
16410
|
+
return openBlock(), createBlock(_sfc_main$1l, mergeProps({
|
|
16411
|
+
key: `trailing-${index}`
|
|
16412
|
+
}, { ref_for: true }, action.props, {
|
|
16413
|
+
size: "small",
|
|
16414
|
+
onClick: action.onClick
|
|
16415
|
+
}), null, 16, ["onClick"]);
|
|
16416
|
+
}), 128))
|
|
16417
|
+
])
|
|
16418
|
+
])) : createCommentVNode("", true)
|
|
16059
16419
|
]);
|
|
16060
16420
|
};
|
|
16061
16421
|
}
|
|
16062
16422
|
});
|
|
16063
16423
|
|
|
16064
|
-
const
|
|
16424
|
+
const KdsPanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c55a379c"]]);
|
|
16065
16425
|
|
|
16066
|
-
const _sfc_main$
|
|
16426
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
16067
16427
|
__name: "TabBarItemAccessory",
|
|
16068
16428
|
props: {
|
|
16069
16429
|
accessory: {},
|
|
@@ -16193,15 +16553,15 @@ const useTabBarAdaptiveLayout = ({
|
|
|
16193
16553
|
};
|
|
16194
16554
|
};
|
|
16195
16555
|
|
|
16196
|
-
const _hoisted_1$
|
|
16197
|
-
const _hoisted_2$
|
|
16198
|
-
const _hoisted_3$
|
|
16556
|
+
const _hoisted_1$7 = { class: "kds-tab-bar-wrapper" };
|
|
16557
|
+
const _hoisted_2$4 = ["id", "title", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick", "onKeydown"];
|
|
16558
|
+
const _hoisted_3$4 = { class: "kds-tab-label" };
|
|
16199
16559
|
const _hoisted_4$2 = {
|
|
16200
16560
|
key: 1,
|
|
16201
16561
|
class: "kds-tab-indicator"
|
|
16202
16562
|
};
|
|
16203
16563
|
const MIN_TAB_WIDTH_TOKEN = "--kds-dimension-component-width-4x";
|
|
16204
|
-
const _sfc_main$
|
|
16564
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
16205
16565
|
__name: "KdsTabBar",
|
|
16206
16566
|
props: /* @__PURE__ */ mergeModels({
|
|
16207
16567
|
tabs: {},
|
|
@@ -16325,7 +16685,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16325
16685
|
{ immediate: true }
|
|
16326
16686
|
);
|
|
16327
16687
|
return (_ctx, _cache) => {
|
|
16328
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16688
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16329
16689
|
createElementVNode("div", {
|
|
16330
16690
|
ref_key: "availableWidthContainer",
|
|
16331
16691
|
ref: availableWidthContainer,
|
|
@@ -16355,15 +16715,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16355
16715
|
onClick: ($event) => selectTab(tab),
|
|
16356
16716
|
onKeydown: ($event) => handleKeydown($event, tab)
|
|
16357
16717
|
}, [
|
|
16358
|
-
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$
|
|
16718
|
+
tab.accessory && !(tab.accessory.type === "icon" && unref(shouldHideIcons)) ? (openBlock(), createBlock(_sfc_main$9, {
|
|
16359
16719
|
key: 0,
|
|
16360
16720
|
accessory: tab.accessory,
|
|
16361
16721
|
"icon-size": __props.size === "large" ? "large" : "medium",
|
|
16362
16722
|
disabled: isTabDisabled(tab)
|
|
16363
16723
|
}, null, 8, ["accessory", "icon-size", "disabled"])) : createCommentVNode("", true),
|
|
16364
|
-
createElementVNode("span", _hoisted_3$
|
|
16724
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(tab.label), 1),
|
|
16365
16725
|
modelValue.value === tab.value ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : createCommentVNode("", true)
|
|
16366
|
-
], 42, _hoisted_2$
|
|
16726
|
+
], 42, _hoisted_2$4);
|
|
16367
16727
|
}), 128))
|
|
16368
16728
|
], 2)
|
|
16369
16729
|
]);
|
|
@@ -16371,7 +16731,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
16371
16731
|
}
|
|
16372
16732
|
});
|
|
16373
16733
|
|
|
16374
|
-
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16734
|
+
const KdsTabBar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-91f95f5f"]]);
|
|
16375
16735
|
|
|
16376
16736
|
const kdsTabBarSize = {
|
|
16377
16737
|
SMALL: "small",
|
|
@@ -16379,7 +16739,7 @@ const kdsTabBarSize = {
|
|
|
16379
16739
|
};
|
|
16380
16740
|
const kdsTabBarSizes = Object.values(kdsTabBarSize);
|
|
16381
16741
|
|
|
16382
|
-
const _sfc_main$
|
|
16742
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16383
16743
|
__name: "LoadingSkeletonItem",
|
|
16384
16744
|
props: {
|
|
16385
16745
|
shape: { default: "text" }
|
|
@@ -16394,24 +16754,24 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
16394
16754
|
}
|
|
16395
16755
|
});
|
|
16396
16756
|
|
|
16397
|
-
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16757
|
+
const LoadingSkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-86829b28"]]);
|
|
16398
16758
|
|
|
16399
|
-
const _hoisted_1$
|
|
16759
|
+
const _hoisted_1$6 = {
|
|
16400
16760
|
key: 0,
|
|
16401
16761
|
class: "kds-loading-skeleton",
|
|
16402
16762
|
"aria-busy": "true"
|
|
16403
16763
|
};
|
|
16404
|
-
const _hoisted_2$
|
|
16764
|
+
const _hoisted_2$3 = {
|
|
16405
16765
|
key: 0,
|
|
16406
16766
|
class: "kds-loading-skeleton-headline-with-paragraph"
|
|
16407
16767
|
};
|
|
16408
|
-
const _hoisted_3$
|
|
16768
|
+
const _hoisted_3$3 = { class: "kds-loading-skeleton-paragraph-lines" };
|
|
16409
16769
|
const _hoisted_4$1 = {
|
|
16410
16770
|
key: 1,
|
|
16411
16771
|
class: "kds-loading-skeleton-input-with-label"
|
|
16412
16772
|
};
|
|
16413
16773
|
const _hoisted_5 = { class: "kds-loading-skeleton-list-item-text" };
|
|
16414
|
-
const _sfc_main$
|
|
16774
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
16415
16775
|
__name: "KdsLoadingSkeleton",
|
|
16416
16776
|
props: {
|
|
16417
16777
|
variant: { default: "text" },
|
|
@@ -16424,17 +16784,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16424
16784
|
"v59c08829": _ctx.repeatGap
|
|
16425
16785
|
}));
|
|
16426
16786
|
return (_ctx, _cache) => {
|
|
16427
|
-
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16787
|
+
return __props.loading ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
16428
16788
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.repeat, (index) => {
|
|
16429
16789
|
return openBlock(), createElementBlock(Fragment, {
|
|
16430
16790
|
key: `skeleton-${index}`
|
|
16431
16791
|
}, [
|
|
16432
|
-
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16792
|
+
__props.variant === "headline-with-paragraph" ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
16433
16793
|
createVNode(LoadingSkeletonItem, {
|
|
16434
16794
|
shape: "text",
|
|
16435
16795
|
class: "headline"
|
|
16436
16796
|
}),
|
|
16437
|
-
createElementVNode("div", _hoisted_3$
|
|
16797
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
16438
16798
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16439
16799
|
createVNode(LoadingSkeletonItem, { shape: "text" }),
|
|
16440
16800
|
createVNode(LoadingSkeletonItem, { shape: "text" })
|
|
@@ -16479,7 +16839,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16479
16839
|
}
|
|
16480
16840
|
});
|
|
16481
16841
|
|
|
16482
|
-
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16842
|
+
const KdsLoadingSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e6597718"]]);
|
|
16483
16843
|
|
|
16484
16844
|
const loadingSkeletonItemShape = {
|
|
16485
16845
|
TEXT: "text",
|
|
@@ -16506,49 +16866,13 @@ const kdsLoadingSkeletonVariants = Object.values(
|
|
|
16506
16866
|
kdsLoadingSkeletonVariant
|
|
16507
16867
|
);
|
|
16508
16868
|
|
|
16509
|
-
const _hoisted_1$
|
|
16510
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16511
|
-
__name: "KdsPanelButtonBar",
|
|
16512
|
-
props: {
|
|
16513
|
-
applyLabel: { default: "Apply" },
|
|
16514
|
-
cancelLabel: { default: "Cancel" },
|
|
16515
|
-
disabled: { type: Boolean, default: false }
|
|
16516
|
-
},
|
|
16517
|
-
emits: ["cancel", "apply"],
|
|
16518
|
-
setup(__props, { emit: __emit }) {
|
|
16519
|
-
const emit = __emit;
|
|
16520
|
-
const handleCancel = (event) => emit("cancel", event);
|
|
16521
|
-
const handleApply = (event) => emit("apply", event);
|
|
16522
|
-
return (_ctx, _cache) => {
|
|
16523
|
-
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
16524
|
-
createVNode(_sfc_main$1l, {
|
|
16525
|
-
disabled: __props.disabled,
|
|
16526
|
-
label: __props.cancelLabel,
|
|
16527
|
-
size: "small",
|
|
16528
|
-
variant: "transparent",
|
|
16529
|
-
onClick: handleCancel
|
|
16530
|
-
}, null, 8, ["disabled", "label"]),
|
|
16531
|
-
createVNode(_sfc_main$1l, {
|
|
16532
|
-
disabled: __props.disabled,
|
|
16533
|
-
label: __props.applyLabel,
|
|
16534
|
-
size: "small",
|
|
16535
|
-
variant: "filled",
|
|
16536
|
-
onClick: handleApply
|
|
16537
|
-
}, null, 8, ["disabled", "label"])
|
|
16538
|
-
]);
|
|
16539
|
-
};
|
|
16540
|
-
}
|
|
16541
|
-
});
|
|
16542
|
-
|
|
16543
|
-
const KdsPanelButtonBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-aeb00620"]]);
|
|
16544
|
-
|
|
16545
|
-
const _hoisted_1$6 = {
|
|
16869
|
+
const _hoisted_1$5 = {
|
|
16546
16870
|
key: 0,
|
|
16547
16871
|
class: "indicator-selected"
|
|
16548
16872
|
};
|
|
16549
|
-
const _hoisted_2$
|
|
16550
|
-
const _hoisted_3$
|
|
16551
|
-
const _sfc_main$
|
|
16873
|
+
const _hoisted_2$2 = { class: "content" };
|
|
16874
|
+
const _hoisted_3$2 = { class: "trailing-items" };
|
|
16875
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
16552
16876
|
__name: "KdsNavItem",
|
|
16553
16877
|
props: {
|
|
16554
16878
|
label: {},
|
|
@@ -16619,8 +16943,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16619
16943
|
onClick
|
|
16620
16944
|
}), {
|
|
16621
16945
|
default: withCtx(() => [
|
|
16622
|
-
__props.selected ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16623
|
-
createElementVNode("span", _hoisted_2$
|
|
16946
|
+
__props.selected ? (openBlock(), createElementBlock("div", _hoisted_1$5)) : createCommentVNode("", true),
|
|
16947
|
+
createElementVNode("span", _hoisted_2$2, [
|
|
16624
16948
|
__props.leadingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
16625
16949
|
key: 0,
|
|
16626
16950
|
name: __props.leadingIcon,
|
|
@@ -16636,7 +16960,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16636
16960
|
]),
|
|
16637
16961
|
_: 1
|
|
16638
16962
|
}, 16, ["disabled", "aria-current", "title"])),
|
|
16639
|
-
createElementVNode("div", _hoisted_3$
|
|
16963
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
16640
16964
|
__props.trailingIcon ? (openBlock(), createBlock(unref(KdsIcon), {
|
|
16641
16965
|
key: 0,
|
|
16642
16966
|
class: "trailing-icon",
|
|
@@ -16652,10 +16976,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16652
16976
|
}
|
|
16653
16977
|
});
|
|
16654
16978
|
|
|
16655
|
-
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16979
|
+
const KdsNavItem = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d5db7ff7"]]);
|
|
16656
16980
|
|
|
16657
|
-
const _hoisted_1$
|
|
16658
|
-
const _sfc_main$
|
|
16981
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
16982
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
16659
16983
|
__name: "KdsNavigation",
|
|
16660
16984
|
props: /* @__PURE__ */ mergeModels({
|
|
16661
16985
|
ariaLabel: {},
|
|
@@ -16696,44 +17020,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16696
17020
|
})) : createCommentVNode("", true)
|
|
16697
17021
|
]);
|
|
16698
17022
|
}), 128))
|
|
16699
|
-
], 8, _hoisted_1$
|
|
16700
|
-
};
|
|
16701
|
-
}
|
|
16702
|
-
});
|
|
16703
|
-
|
|
16704
|
-
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6cc9519f"]]);
|
|
16705
|
-
|
|
16706
|
-
const _hoisted_1$4 = { class: "kds-container-header" };
|
|
16707
|
-
const _hoisted_2$2 = {
|
|
16708
|
-
key: 0,
|
|
16709
|
-
class: "accessory"
|
|
16710
|
-
};
|
|
16711
|
-
const _hoisted_3$2 = {
|
|
16712
|
-
key: 1,
|
|
16713
|
-
class: "actions",
|
|
16714
|
-
"data-kds-card-secondary-action": ""
|
|
16715
|
-
};
|
|
16716
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
16717
|
-
__name: "KdsContainerHeader",
|
|
16718
|
-
props: {
|
|
16719
|
-
title: {}
|
|
16720
|
-
},
|
|
16721
|
-
setup(__props) {
|
|
16722
|
-
return (_ctx, _cache) => {
|
|
16723
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
16724
|
-
_ctx.$slots.accessory ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
16725
|
-
renderSlot(_ctx.$slots, "accessory", {}, void 0, true)
|
|
16726
|
-
])) : createCommentVNode("", true),
|
|
16727
|
-
createElementVNode("h6", null, toDisplayString(__props.title), 1),
|
|
16728
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
16729
|
-
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
16730
|
-
])) : createCommentVNode("", true)
|
|
16731
|
-
]);
|
|
17023
|
+
], 8, _hoisted_1$4);
|
|
16732
17024
|
};
|
|
16733
17025
|
}
|
|
16734
17026
|
});
|
|
16735
17027
|
|
|
16736
|
-
const
|
|
17028
|
+
const KdsNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6cc9519f"]]);
|
|
16737
17029
|
|
|
16738
17030
|
const createUnwrappedPromise = () => {
|
|
16739
17031
|
let resolve = () => {
|
|
@@ -17284,5 +17576,5 @@ const kdsResponsiveButtonGroupAlignments = Object.values(
|
|
|
17284
17576
|
kdsResponsiveButtonGroupAlignment
|
|
17285
17577
|
);
|
|
17286
17578
|
|
|
17287
|
-
export { KdsAvatar, KdsAvatarCounter, KdsBadge, _sfc_main$1l as KdsButton, _sfc_main$
|
|
17579
|
+
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 };
|
|
17288
17580
|
//# sourceMappingURL=index.js.map
|