@knime/kds-components 0.30.3 → 0.30.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/index.css +169 -14
  3. package/dist/index.js +850 -438
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +1 -2
  6. package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
  7. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +1 -2
  8. package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
  9. package/dist/src/containers/ContextMenu/KdsContextMenu.vue.d.ts.map +1 -1
  10. package/dist/src/containers/Menu/KdsMenu.vue.d.ts +5 -5
  11. package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -1
  12. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts +43 -0
  13. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts.map +1 -0
  14. package/dist/src/forms/ToggleSwitch/enums.d.ts +11 -0
  15. package/dist/src/forms/ToggleSwitch/enums.d.ts.map +1 -0
  16. package/dist/src/forms/ToggleSwitch/index.d.ts +4 -0
  17. package/dist/src/forms/ToggleSwitch/index.d.ts.map +1 -0
  18. package/dist/src/forms/ToggleSwitch/types.d.ts +18 -0
  19. package/dist/src/forms/ToggleSwitch/types.d.ts.map +1 -0
  20. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
  21. package/dist/src/forms/index.d.ts +2 -0
  22. package/dist/src/forms/index.d.ts.map +1 -1
  23. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  24. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
  25. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +1682 -0
  26. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -0
  27. package/dist/src/forms/inputs/DateTimeInput/index.d.ts +3 -0
  28. package/dist/src/forms/inputs/DateTimeInput/index.d.ts.map +1 -0
  29. package/dist/src/forms/inputs/DateTimeInput/types.d.ts +10 -0
  30. package/dist/src/forms/inputs/DateTimeInput/types.d.ts.map +1 -0
  31. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
  32. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  33. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  34. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +1682 -0
  35. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -0
  36. package/dist/src/forms/inputs/ZonedDateTimeInput/index.d.ts +3 -0
  37. package/dist/src/forms/inputs/ZonedDateTimeInput/index.d.ts.map +1 -0
  38. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts +9 -0
  39. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts.map +1 -0
  40. package/dist/src/forms/inputs/index.d.ts +4 -0
  41. package/dist/src/forms/inputs/index.d.ts.map +1 -1
  42. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +2 -3
  43. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
  44. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +2 -3
  45. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
  46. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -9,14 +9,14 @@ import './index.css';const kdsAvatarSize = {
9
9
  };
10
10
  const kdsAvatarSizes = Object.values(kdsAvatarSize);
11
11
 
12
- const _hoisted_1$15 = ["role", "title", "aria-hidden", "aria-label", "data-color"];
13
- const _hoisted_2$H = ["src"];
14
- const _hoisted_3$u = {
12
+ const _hoisted_1$18 = ["role", "title", "aria-hidden", "aria-label", "data-color"];
13
+ const _hoisted_2$J = ["src"];
14
+ const _hoisted_3$v = {
15
15
  key: 1,
16
16
  class: "kds-avatar-initials",
17
17
  "aria-hidden": "true"
18
18
  };
19
- const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
20
20
  __name: "KdsAvatar",
21
21
  props: {
22
22
  initials: {},
@@ -80,10 +80,10 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
80
80
  alt: "",
81
81
  "aria-hidden": "true",
82
82
  onError: onImageError
83
- }, null, 40, _hoisted_2$H)) : (openBlock(), createElementBlock("div", _hoisted_3$u, [
83
+ }, null, 40, _hoisted_2$J)) : (openBlock(), createElementBlock("div", _hoisted_3$v, [
84
84
  createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
85
85
  ]))
86
- ], 10, _hoisted_1$15);
86
+ ], 10, _hoisted_1$18);
87
87
  };
88
88
  }
89
89
  });
@@ -96,16 +96,16 @@ const _export_sfc = (sfc, props) => {
96
96
  return target;
97
97
  };
98
98
 
99
- const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-9e1a5abe"]]);
99
+ const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-9e1a5abe"]]);
100
100
 
101
- const _hoisted_1$14 = ["aria-label"];
102
- const _hoisted_2$G = { class: "avatars" };
103
- const _hoisted_3$t = {
101
+ const _hoisted_1$17 = ["aria-label"];
102
+ const _hoisted_2$I = { class: "avatars" };
103
+ const _hoisted_3$u = {
104
104
  key: 0,
105
105
  class: "more-count",
106
106
  "aria-hidden": "true"
107
107
  };
108
- const _sfc_main$1F = /* @__PURE__ */ defineComponent({
108
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
109
109
  __name: "KdsAvatarCounter",
110
110
  props: {
111
111
  moreCount: { default: 0 },
@@ -125,7 +125,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
125
125
  role: "group",
126
126
  "aria-label": ariaLabel.value
127
127
  }, [
128
- createElementVNode("div", _hoisted_2$G, [
128
+ createElementVNode("div", _hoisted_2$I, [
129
129
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.avatars, (avatar, index) => {
130
130
  return openBlock(), createBlock(KdsAvatar, {
131
131
  key: index,
@@ -139,13 +139,13 @@ const _sfc_main$1F = /* @__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$t, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
143
- ], 8, _hoisted_1$14);
142
+ __props.moreCount > 0 ? (openBlock(), createElementBlock("div", _hoisted_3$u, " +" + toDisplayString(__props.moreCount), 1)) : createCommentVNode("", true)
143
+ ], 8, _hoisted_1$17);
144
144
  };
145
145
  }
146
146
  });
147
147
 
148
- const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-1aef516d"]]);
148
+ const KdsAvatarCounter = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-1aef516d"]]);
149
149
 
150
150
  const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
151
151
  const v = glob$1[path$13];
@@ -202,7 +202,7 @@ function useIcon({
202
202
  };
203
203
  }
204
204
 
205
- const _sfc_main$1E = /* @__PURE__ */ defineComponent({
205
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
206
206
  __name: "KdsIcon",
207
207
  props: {
208
208
  name: {},
@@ -232,7 +232,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
232
232
  }
233
233
  });
234
234
 
235
- const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-bff4f419"]]);
235
+ const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-bff4f419"]]);
236
236
 
237
237
  const ID_TO_ICON_MAP = {
238
238
  // Flow Variables
@@ -584,8 +584,8 @@ const kdsDataTypeSize = {
584
584
  };
585
585
  const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
586
586
 
587
- const _hoisted_1$13 = ["title"];
588
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
587
+ const _hoisted_1$16 = ["title"];
588
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
589
589
  __name: "KdsDataType",
590
590
  props: {
591
591
  iconName: { default: "unknown-datatype" },
@@ -626,12 +626,12 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
626
626
  "aria-hidden": "true",
627
627
  focusable: "false"
628
628
  }, null, 8, ["class"]))
629
- ], 10, _hoisted_1$13);
629
+ ], 10, _hoisted_1$16);
630
630
  };
631
631
  }
632
632
  });
633
633
 
634
- const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-38e9537f"]]);
634
+ const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-38e9537f"]]);
635
635
 
636
636
  const kdsBadgeVariant = {
637
637
  NEUTRAL: "neutral",
@@ -648,8 +648,8 @@ const kdsBadgeSize = {
648
648
  };
649
649
  const kdsBadgeSizes = Object.values(kdsBadgeSize);
650
650
 
651
- const _hoisted_1$12 = { class: "label-wrapper" };
652
- const _sfc_main$1C = /* @__PURE__ */ defineComponent({
651
+ const _hoisted_1$15 = { class: "label-wrapper" };
652
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
653
653
  __name: "KdsBadge",
654
654
  props: {
655
655
  label: {},
@@ -671,13 +671,13 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
671
671
  name: __props.leadingIcon,
672
672
  size: sizeToIconSize[__props.size]
673
673
  }, null, 8, ["name", "size"])) : createCommentVNode("", true),
674
- createElementVNode("span", _hoisted_1$12, toDisplayString(__props.label), 1)
674
+ createElementVNode("span", _hoisted_1$15, toDisplayString(__props.label), 1)
675
675
  ], 2);
676
676
  };
677
677
  }
678
678
  });
679
679
 
680
- const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-df64f7cf"]]);
680
+ const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-df64f7cf"]]);
681
681
 
682
682
  const kdsProgressBarSize = {
683
683
  MEDIUM: "medium",
@@ -685,13 +685,13 @@ const kdsProgressBarSize = {
685
685
  };
686
686
  const kdsProgressBarSizes = Object.values(kdsProgressBarSize);
687
687
 
688
- const _hoisted_1$11 = ["title", "aria-label"];
689
- const _hoisted_2$F = {
688
+ const _hoisted_1$14 = ["title", "aria-label"];
689
+ const _hoisted_2$H = {
690
690
  key: 0,
691
691
  class: "indeterminate-bar",
692
692
  "aria-hidden": "true"
693
693
  };
694
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
694
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
695
695
  __name: "KdsProgressBar",
696
696
  props: {
697
697
  size: { default: () => kdsProgressBarSize.MEDIUM },
@@ -727,14 +727,14 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
727
727
  title: title.value,
728
728
  "aria-label": title.value,
729
729
  class: "progress"
730
- }, __props.indeterminate ? {} : { value: progressValue.value, max: 100 }), null, 16, _hoisted_1$11),
731
- __props.indeterminate ? (openBlock(), createElementBlock("span", _hoisted_2$F)) : createCommentVNode("", true)
730
+ }, __props.indeterminate ? {} : { value: progressValue.value, max: 100 }), null, 16, _hoisted_1$14),
731
+ __props.indeterminate ? (openBlock(), createElementBlock("span", _hoisted_2$H)) : createCommentVNode("", true)
732
732
  ], 2);
733
733
  };
734
734
  }
735
735
  });
736
736
 
737
- const KdsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-884d689a"]]);
737
+ const KdsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-884d689a"]]);
738
738
 
739
739
  const kdsColorSwatchType = {
740
740
  LEARNER: "learner",
@@ -753,14 +753,14 @@ const kdsColorSwatchSize = {
753
753
  };
754
754
  const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
755
755
 
756
- const _hoisted_1$10 = ["role", "title", "aria-hidden", "aria-label"];
756
+ const _hoisted_1$13 = ["role", "title", "aria-hidden", "aria-label"];
757
757
  const RGBA_SHORT_HEX_LENGTH = 4;
758
758
  const RGBA_LONG_HEX_LENGTH = 8;
759
759
  const ALPHA_NIBBLE_INDEX = 3;
760
760
  const ALPHA_BYTE_START = 6;
761
761
  const RGB_SHORT_HEX_LENGTH = 3;
762
762
  const RGB_LONG_HEX_LENGTH = 6;
763
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
763
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
764
764
  __name: "KdsColorSwatch",
765
765
  props: {
766
766
  color: {},
@@ -835,12 +835,12 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
835
835
  style: normalizeStyle(swatchStyle.value),
836
836
  "aria-hidden": hasTitle.value ? void 0 : "true",
837
837
  "aria-label": hasTitle.value ? accessibleTitle.value : void 0
838
- }, null, 14, _hoisted_1$10);
838
+ }, null, 14, _hoisted_1$13);
839
839
  };
840
840
  }
841
841
  });
842
842
 
843
- const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-91e0130d"]]);
843
+ const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-91e0130d"]]);
844
844
 
845
845
  const kdsDarkModeType = {
846
846
  LIGHT: "light",
@@ -960,9 +960,9 @@ function useKdsIsTruncated(elementRef) {
960
960
  return { isTruncated };
961
961
  }
962
962
 
963
- const _hoisted_1$$ = ["title", "aria-label"];
964
- const _hoisted_2$E = ["title"];
965
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
963
+ const _hoisted_1$12 = ["title", "aria-label"];
964
+ const _hoisted_2$G = ["title"];
965
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
966
966
  __name: "KdsLiveStatus",
967
967
  props: {
968
968
  status: { default: "red" },
@@ -991,13 +991,13 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
991
991
  ref: labelEl,
992
992
  class: "label",
993
993
  title: unref(isTruncated) ? __props.label : void 0
994
- }, toDisplayString(__props.label), 9, _hoisted_2$E)) : createCommentVNode("", true)
995
- ], 10, _hoisted_1$$);
994
+ }, toDisplayString(__props.label), 9, _hoisted_2$G)) : createCommentVNode("", true)
995
+ ], 10, _hoisted_1$12);
996
996
  };
997
997
  }
998
998
  });
999
999
 
1000
- const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-f20c5c00"]]);
1000
+ const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__scopeId", "data-v-f20c5c00"]]);
1001
1001
 
1002
1002
  const kdsLiveStatusStatus = {
1003
1003
  RED: "red",
@@ -1013,8 +1013,8 @@ const kdsLiveStatusSize = {
1013
1013
  };
1014
1014
  const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
1015
1015
 
1016
- const _hoisted_1$_ = ["data-style"];
1017
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
1016
+ const _hoisted_1$11 = ["data-style"];
1017
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
1018
1018
  __name: "KdsLoadingSpinner",
1019
1019
  props: {
1020
1020
  size: { default: "medium" },
@@ -1039,12 +1039,12 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
1039
1039
  cy: "60",
1040
1040
  r: "50"
1041
1041
  }, null, -1)
1042
- ])], 10, _hoisted_1$_);
1042
+ ])], 10, _hoisted_1$11);
1043
1043
  };
1044
1044
  }
1045
1045
  });
1046
1046
 
1047
- const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-54835dc0"]]);
1047
+ const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-54835dc0"]]);
1048
1048
 
1049
1049
  const kdsLoadingSpinnerVariant = {
1050
1050
  ON_PRIMARY: "onPrimary",
@@ -1054,14 +1054,14 @@ const kdsLoadingSpinnerVariants = Object.values(
1054
1054
  kdsLoadingSpinnerVariant
1055
1055
  );
1056
1056
 
1057
- const _hoisted_1$Z = ["role"];
1058
- const _hoisted_2$D = { class: "header" };
1059
- const _hoisted_3$s = { class: "headline" };
1060
- const _hoisted_4$o = {
1057
+ const _hoisted_1$10 = ["role"];
1058
+ const _hoisted_2$F = { class: "header" };
1059
+ const _hoisted_3$t = { class: "headline" };
1060
+ const _hoisted_4$p = {
1061
1061
  key: 0,
1062
1062
  class: "body"
1063
1063
  };
1064
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
1064
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
1065
1065
  __name: "KdsInlineMessage",
1066
1066
  props: {
1067
1067
  headline: {},
@@ -1092,21 +1092,21 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
1092
1092
  class: normalizeClass(classes.value),
1093
1093
  role: role.value
1094
1094
  }, [
1095
- createElementVNode("div", _hoisted_2$D, [
1095
+ createElementVNode("div", _hoisted_2$F, [
1096
1096
  createVNode(KdsIcon, {
1097
1097
  class: "icon",
1098
1098
  name: iconName.value,
1099
1099
  size: "small"
1100
1100
  }, null, 8, ["name"]),
1101
- createElementVNode("div", _hoisted_3$s, toDisplayString(props.headline), 1)
1101
+ createElementVNode("div", _hoisted_3$t, toDisplayString(props.headline), 1)
1102
1102
  ]),
1103
- props.description ? (openBlock(), createElementBlock("div", _hoisted_4$o, toDisplayString(props.description), 1)) : createCommentVNode("", true)
1104
- ], 10, _hoisted_1$Z);
1103
+ props.description ? (openBlock(), createElementBlock("div", _hoisted_4$p, toDisplayString(props.description), 1)) : createCommentVNode("", true)
1104
+ ], 10, _hoisted_1$10);
1105
1105
  };
1106
1106
  }
1107
1107
  });
1108
1108
 
1109
- const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-194a0dfd"]]);
1109
+ const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-194a0dfd"]]);
1110
1110
 
1111
1111
  const kdsInlineMessageVariant = {
1112
1112
  ERROR: "error",
@@ -1116,7 +1116,7 @@ const kdsInlineMessageVariant = {
1116
1116
  };
1117
1117
  const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
1118
1118
 
1119
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
1119
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
1120
1120
  __name: "KdsMissingValueIcon",
1121
1121
  props: {
1122
1122
  size: {}
@@ -1132,13 +1132,13 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
1132
1132
  }
1133
1133
  });
1134
1134
 
1135
- const KdsMissingValueIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-df682150"]]);
1135
+ const KdsMissingValueIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-df682150"]]);
1136
1136
 
1137
- const _hoisted_1$Y = { class: "donut-container" };
1138
- const _hoisted_2$C = ["height", "width", "viewBox"];
1139
- const _hoisted_3$r = ["r", "stroke-width"];
1140
- const _hoisted_4$n = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1141
- const _hoisted_5$d = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1137
+ const _hoisted_1$$ = { class: "donut-container" };
1138
+ const _hoisted_2$E = ["height", "width", "viewBox"];
1139
+ const _hoisted_3$s = ["r", "stroke-width"];
1140
+ const _hoisted_4$o = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1141
+ const _hoisted_5$e = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
1142
1142
  const _hoisted_6$b = {
1143
1143
  key: 0,
1144
1144
  class: "donut-text"
@@ -1150,7 +1150,7 @@ const _hoisted_8$3 = {
1150
1150
  };
1151
1151
  const radius = 22;
1152
1152
  const innerRadius = 10;
1153
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1153
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
1154
1154
  __name: "KdsDonutChart",
1155
1155
  props: {
1156
1156
  value: {},
@@ -1194,7 +1194,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1194
1194
  const transformWedge = computed(() => `rotate(-90, ${radius}, ${radius})`);
1195
1195
  const disabled = computed(() => !Number.isFinite(__props.maxValue));
1196
1196
  return (_ctx, _cache) => {
1197
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
1197
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
1198
1198
  (openBlock(), createElementBlock("svg", {
1199
1199
  height: diameter.value,
1200
1200
  width: diameter.value,
@@ -1208,7 +1208,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1208
1208
  r: r.value,
1209
1209
  "stroke-width": strokeWidth.value,
1210
1210
  fill: "transparent"
1211
- }, null, 8, _hoisted_3$r),
1211
+ }, null, 8, _hoisted_3$s),
1212
1212
  __props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
1213
1213
  key: 0,
1214
1214
  class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
@@ -1220,7 +1220,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1220
1220
  "stroke-dashoffset": secondaryStrokeDashOffset.value,
1221
1221
  fill: "transparent",
1222
1222
  transform: transformWedge.value
1223
- }, null, 10, _hoisted_4$n)) : createCommentVNode("", true),
1223
+ }, null, 10, _hoisted_4$o)) : createCommentVNode("", true),
1224
1224
  !disabled.value ? (openBlock(), createElementBlock("circle", {
1225
1225
  key: 1,
1226
1226
  class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
@@ -1232,8 +1232,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1232
1232
  "stroke-dashoffset": strokeDashOffset.value,
1233
1233
  fill: "transparent",
1234
1234
  transform: transformWedge.value
1235
- }, null, 10, _hoisted_5$d)) : createCommentVNode("", true)
1236
- ], 8, _hoisted_2$C)),
1235
+ }, null, 10, _hoisted_5$e)) : createCommentVNode("", true)
1236
+ ], 8, _hoisted_2$E)),
1237
1237
  __props.title ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
1238
1238
  createElementVNode("div", _hoisted_7$4, toDisplayString(__props.title), 1),
1239
1239
  __props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$3, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
@@ -1243,22 +1243,22 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1243
1243
  }
1244
1244
  });
1245
1245
 
1246
- const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-f5faf61c"]]);
1246
+ const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-f5faf61c"]]);
1247
1247
 
1248
- const _sfc_main$1u = { };
1248
+ const _sfc_main$1x = { };
1249
1249
 
1250
- const _hoisted_1$X = { class: "kds-divider" };
1250
+ const _hoisted_1$_ = { class: "kds-divider" };
1251
1251
 
1252
1252
  function _sfc_render$1(_ctx, _cache) {
1253
- return (openBlock(), createElementBlock("hr", _hoisted_1$X))
1253
+ return (openBlock(), createElementBlock("hr", _hoisted_1$_))
1254
1254
  }
1255
- const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1u, [['render',_sfc_render$1],['__scopeId',"data-v-4d059bd3"]]);
1255
+ const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1x, [['render',_sfc_render$1],['__scopeId',"data-v-4d059bd3"]]);
1256
1256
 
1257
- const _hoisted_1$W = {
1257
+ const _hoisted_1$Z = {
1258
1258
  key: 0,
1259
1259
  class: "label"
1260
1260
  };
1261
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
1261
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
1262
1262
  __name: "BaseButton",
1263
1263
  props: {
1264
1264
  dataTestId: {},
@@ -1322,7 +1322,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
1322
1322
  size: iconSize.value
1323
1323
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
1324
1324
  ], true),
1325
- props.label ? (openBlock(), createElementBlock("span", _hoisted_1$W, toDisplayString(props.label), 1)) : createCommentVNode("", true),
1325
+ props.label ? (openBlock(), createElementBlock("span", _hoisted_1$Z, toDisplayString(props.label), 1)) : createCommentVNode("", true),
1326
1326
  props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
1327
1327
  key: 1,
1328
1328
  name: props.trailingIcon,
@@ -1335,9 +1335,9 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
1335
1335
  }
1336
1336
  });
1337
1337
 
1338
- const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-24ade73a"]]);
1338
+ const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__scopeId", "data-v-24ade73a"]]);
1339
1339
 
1340
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
1340
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
1341
1341
  __name: "KdsButton",
1342
1342
  props: {
1343
1343
  dataTestId: {},
@@ -1403,7 +1403,7 @@ function isExternalUrl(url) {
1403
1403
  return true;
1404
1404
  }
1405
1405
 
1406
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
1406
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
1407
1407
  __name: "KdsLinkButton",
1408
1408
  props: {
1409
1409
  dataTestId: {},
@@ -1633,12 +1633,12 @@ function prettyBytes(number, options) {
1633
1633
  return applyFixedWidth(result, options.fixedWidth);
1634
1634
  }
1635
1635
 
1636
- const _hoisted_1$V = { class: "label" };
1637
- const _hoisted_2$B = {
1636
+ const _hoisted_1$Y = { class: "label" };
1637
+ const _hoisted_2$D = {
1638
1638
  key: 1,
1639
1639
  class: "file-size"
1640
1640
  };
1641
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
1641
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
1642
1642
  __name: "KdsLink",
1643
1643
  props: {
1644
1644
  to: {},
@@ -1728,13 +1728,13 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
1728
1728
  onClick
1729
1729
  }, {
1730
1730
  default: withCtx(() => [
1731
- createElementVNode("span", _hoisted_1$V, toDisplayString(__props.label), 1),
1731
+ createElementVNode("span", _hoisted_1$Y, toDisplayString(__props.label), 1),
1732
1732
  variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
1733
1733
  key: 0,
1734
1734
  name: "external-link",
1735
1735
  size: "xsmall"
1736
1736
  })) : createCommentVNode("", true),
1737
- normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$B, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1737
+ normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$D, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1738
1738
  ]),
1739
1739
  _: 1
1740
1740
  }, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
@@ -1742,9 +1742,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
1742
1742
  }
1743
1743
  });
1744
1744
 
1745
- const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-56e748a8"]]);
1745
+ const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-56e748a8"]]);
1746
1746
 
1747
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
1747
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
1748
1748
  __name: "KdsToggleButton",
1749
1749
  props: /* @__PURE__ */ mergeModels({
1750
1750
  dataTestId: {},
@@ -1781,9 +1781,9 @@ const kdsToggleButtonVariant = {
1781
1781
  };
1782
1782
  const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
1783
1783
 
1784
- const _hoisted_1$U = ["data-visible"];
1785
- const _hoisted_2$A = ["data-visible"];
1786
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1784
+ const _hoisted_1$X = ["data-visible"];
1785
+ const _hoisted_2$C = ["data-visible"];
1786
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
1787
1787
  __name: "KdsProgressButton",
1788
1788
  props: /* @__PURE__ */ mergeModels({
1789
1789
  dataTestId: {},
@@ -1845,7 +1845,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1845
1845
  name: props.leadingIcon,
1846
1846
  size: iconSize.value
1847
1847
  }, null, 8, ["name", "size"])
1848
- ], 8, _hoisted_1$U),
1848
+ ], 8, _hoisted_1$X),
1849
1849
  createElementVNode("span", {
1850
1850
  class: "spinner",
1851
1851
  "data-visible": state.value === "progress"
@@ -1854,7 +1854,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1854
1854
  size: iconSize.value,
1855
1855
  variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
1856
1856
  }, null, 8, ["size", "variant"])
1857
- ], 8, _hoisted_2$A)
1857
+ ], 8, _hoisted_2$C)
1858
1858
  ], 2)
1859
1859
  ]),
1860
1860
  _: 1
@@ -1863,7 +1863,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1863
1863
  }
1864
1864
  });
1865
1865
 
1866
- const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-d38d7ade"]]);
1866
+ const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-d38d7ade"]]);
1867
1867
 
1868
1868
  const kdsProgressButtonState = {
1869
1869
  DEFAULT: "default",
@@ -2099,7 +2099,7 @@ const useStableItemIds = (options) => {
2099
2099
  return { itemsWithPrefix, idPrefix, toUnprefixedId };
2100
2100
  };
2101
2101
 
2102
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
2102
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
2103
2103
  __name: "ListItemAccessory",
2104
2104
  props: {
2105
2105
  accessory: {},
@@ -2145,14 +2145,14 @@ const kdsListItemAccessorySize = {
2145
2145
  LARGE: "large"
2146
2146
  };
2147
2147
 
2148
- const _hoisted_1$T = ["id", "role", "aria-selected", "aria-disabled"];
2149
- const _hoisted_2$z = {
2148
+ const _hoisted_1$W = ["id", "role", "aria-selected", "aria-disabled"];
2149
+ const _hoisted_2$B = {
2150
2150
  key: 0,
2151
2151
  class: "accessory"
2152
2152
  };
2153
- const _hoisted_3$q = { class: "content" };
2154
- const _hoisted_4$m = ["title"];
2155
- const _hoisted_5$c = {
2153
+ const _hoisted_3$r = { class: "content" };
2154
+ const _hoisted_4$n = ["title"];
2155
+ const _hoisted_5$d = {
2156
2156
  key: 0,
2157
2157
  class: "prefix"
2158
2158
  };
@@ -2166,7 +2166,7 @@ const _hoisted_9$2 = {
2166
2166
  key: 3,
2167
2167
  class: "trailing-item-reserve-space"
2168
2168
  };
2169
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
2169
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
2170
2170
  __name: "KdsListItem",
2171
2171
  props: {
2172
2172
  id: {},
@@ -2224,25 +2224,25 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
2224
2224
  ]),
2225
2225
  onClick
2226
2226
  }, [
2227
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$z, [
2228
- createVNode(_sfc_main$1n, {
2227
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$B, [
2228
+ createVNode(_sfc_main$1q, {
2229
2229
  accessory: props.accessory,
2230
2230
  size: accessorySize.value,
2231
2231
  disabled: __props.disabled
2232
2232
  }, null, 8, ["accessory", "size", "disabled"])
2233
2233
  ])) : createCommentVNode("", true),
2234
- createElementVNode("span", _hoisted_3$q, [
2234
+ createElementVNode("span", _hoisted_3$r, [
2235
2235
  createElementVNode("span", {
2236
2236
  ref_key: "labelEl",
2237
2237
  ref: labelEl,
2238
2238
  class: "label",
2239
2239
  title: unref(isLabelTruncated) ? props.text : void 0
2240
2240
  }, [
2241
- __props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$c, "(Missing) ")) : createCommentVNode("", true),
2241
+ __props.missing ? (openBlock(), createElementBlock("span", _hoisted_5$d, "(Missing) ")) : createCommentVNode("", true),
2242
2242
  createElementVNode("span", {
2243
2243
  class: normalizeClass({ special: __props.special })
2244
2244
  }, toDisplayString(props.text), 3)
2245
- ], 8, _hoisted_4$m),
2245
+ ], 8, _hoisted_4$n),
2246
2246
  props.subText ? (openBlock(), createElementBlock("span", {
2247
2247
  key: 0,
2248
2248
  ref_key: "subtextEl",
@@ -2265,20 +2265,20 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
2265
2265
  }, null, 8, ["name"])) : createCommentVNode("", true),
2266
2266
  !props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$2)) : createCommentVNode("", true)
2267
2267
  ])
2268
- ], 10, _hoisted_1$T);
2268
+ ], 10, _hoisted_1$W);
2269
2269
  };
2270
2270
  }
2271
2271
  });
2272
2272
 
2273
- const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-a3d6c86f"]]);
2273
+ const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-a3d6c86f"]]);
2274
2274
 
2275
- const _hoisted_1$S = { class: "kds-list-item-section-title" };
2276
- const _hoisted_2$y = {
2275
+ const _hoisted_1$V = { class: "kds-list-item-section-title" };
2276
+ const _hoisted_2$A = {
2277
2277
  key: 0,
2278
2278
  class: "icon"
2279
2279
  };
2280
- const _hoisted_3$p = ["title"];
2281
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
2280
+ const _hoisted_3$q = ["title"];
2281
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
2282
2282
  __name: "ListItemSectionTitle",
2283
2283
  props: {
2284
2284
  label: {},
@@ -2289,8 +2289,8 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
2289
2289
  const labelEl = useTemplateRef("labelEl");
2290
2290
  const { isTruncated } = useKdsIsTruncated(labelEl);
2291
2291
  return (_ctx, _cache) => {
2292
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
2293
- props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$y, [
2292
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
2293
+ props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$A, [
2294
2294
  createVNode(KdsIcon, {
2295
2295
  name: props.leadingIcon,
2296
2296
  size: "small"
@@ -2301,15 +2301,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
2301
2301
  ref: labelEl,
2302
2302
  class: "label",
2303
2303
  title: unref(isTruncated) ? props.label : void 0
2304
- }, toDisplayString(props.label), 9, _hoisted_3$p)
2304
+ }, toDisplayString(props.label), 9, _hoisted_3$q)
2305
2305
  ]);
2306
2306
  };
2307
2307
  }
2308
2308
  });
2309
2309
 
2310
- const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-5eeb1226"]]);
2310
+ const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-5eeb1226"]]);
2311
2311
 
2312
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
2312
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
2313
2313
  __name: "KdsMenuItem",
2314
2314
  props: {
2315
2315
  item: {},
@@ -2479,14 +2479,14 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
2479
2479
  }
2480
2480
  });
2481
2481
 
2482
- const KdsMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-96d9cfba"]]);
2482
+ const KdsMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-96d9cfba"]]);
2483
2483
 
2484
2484
  const ContainerDepthKey = /* @__PURE__ */ Symbol("ContainerDepth");
2485
2485
  const ChildItemKey = /* @__PURE__ */ Symbol("ChildItem");
2486
2486
 
2487
- const _hoisted_1$R = ["id", "aria-label", "aria-activedescendant"];
2488
- const _hoisted_2$x = ["id"];
2489
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
2487
+ const _hoisted_1$U = ["id", "aria-label", "aria-activedescendant"];
2488
+ const _hoisted_2$z = ["id"];
2489
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
2490
2490
  __name: "KdsMenuContainer",
2491
2491
  props: {
2492
2492
  id: {},
@@ -2712,17 +2712,17 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
2712
2712
  items: item.children ?? [],
2713
2713
  onItemClick: _cache[0] || (_cache[0] = ($event) => emit("itemClick", $event))
2714
2714
  }, null, 8, ["id", "ariaLabel", "items"])
2715
- ], 44, _hoisted_2$x)
2715
+ ], 44, _hoisted_2$z)
2716
2716
  ]),
2717
2717
  _: 2
2718
2718
  }, 1032, ["item", "is-last", "active-id", "variant", "onClick", "onMouseenter"]);
2719
2719
  }), 128))
2720
- ], 44, _hoisted_1$R);
2720
+ ], 44, _hoisted_1$U);
2721
2721
  };
2722
2722
  }
2723
2723
  });
2724
2724
 
2725
- const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-ae4f1dab"]]);
2725
+ const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-ae4f1dab"]]);
2726
2726
 
2727
2727
  const kdsPopoverPlacement = {
2728
2728
  TOP_LEFT: "top-left",
@@ -2746,12 +2746,12 @@ const kdsPopoverType = {
2746
2746
  };
2747
2747
  const kdsPopoverTypes = Object.values(kdsPopoverType);
2748
2748
 
2749
- const _hoisted_1$Q = ["id", "popover", "role"];
2750
- const _hoisted_2$w = {
2749
+ const _hoisted_1$T = ["id", "popover", "role"];
2750
+ const _hoisted_2$y = {
2751
2751
  key: 0,
2752
2752
  class: "kds-popover-default-content"
2753
2753
  };
2754
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
2754
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
2755
2755
  __name: "KdsPopover",
2756
2756
  props: /* @__PURE__ */ mergeModels({
2757
2757
  role: {},
@@ -2809,21 +2809,21 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
2809
2809
  onToggle
2810
2810
  }, [
2811
2811
  renderSlot(_ctx.$slots, "default", {}, () => [
2812
- props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$w, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2812
+ props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$y, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2813
2813
  ], true)
2814
- ], 46, _hoisted_1$Q);
2814
+ ], 46, _hoisted_1$T);
2815
2815
  };
2816
2816
  }
2817
2817
  });
2818
2818
 
2819
- const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-f41f0af7"]]);
2819
+ const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-f41f0af7"]]);
2820
2820
 
2821
2821
  const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2822
2822
  __proto__: null,
2823
2823
  default: KdsPopover
2824
2824
  }, Symbol.toStringTag, { value: 'Module' }));
2825
2825
 
2826
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2826
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
2827
2827
  ...{
2828
2828
  inheritAttrs: false
2829
2829
  },
@@ -2863,12 +2863,22 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2863
2863
  const menuContainerEl = useTemplateRef("menuContainer");
2864
2864
  const menuButtonEl = useTemplateRef("menuButton");
2865
2865
  const menuId = useId();
2866
- watch(isMenuOpen, async (menuOpen) => {
2866
+ watch(isMenuOpen, (menuOpen, _oldVal, onCleanup) => {
2867
2867
  if (!menuOpen) {
2868
2868
  return;
2869
2869
  }
2870
- await nextTick();
2871
- menuContainerEl.value?.focus();
2870
+ if (menuContainerEl.value) {
2871
+ menuContainerEl.value.focus();
2872
+ return;
2873
+ }
2874
+ const stop = watch(
2875
+ menuContainerEl,
2876
+ (el) => {
2877
+ el?.focus();
2878
+ },
2879
+ { once: true }
2880
+ );
2881
+ onCleanup(stop);
2872
2882
  });
2873
2883
  const onItemClick = (itemId) => {
2874
2884
  isMenuOpen.value = false;
@@ -2877,12 +2887,12 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2877
2887
  __expose({ menuButtonEl });
2878
2888
  return (_ctx, _cache) => {
2879
2889
  return openBlock(), createElementBlock(Fragment, null, [
2880
- createVNode(_sfc_main$1p, mergeProps({ ref: "menuButton" }, toggleButtonProps.value, {
2890
+ createVNode(_sfc_main$1s, mergeProps({ ref: "menuButton" }, toggleButtonProps.value, {
2881
2891
  modelValue: isMenuOpen.value,
2882
2892
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event),
2883
2893
  "aria-haspopup": "menu",
2884
2894
  "aria-expanded": isMenuOpen.value,
2885
- "aria-controls": unref(menuId),
2895
+ "aria-controls": isMenuOpen.value ? unref(menuId) : void 0,
2886
2896
  style: popoverEl.value?.anchorStyle
2887
2897
  }), null, 16, ["modelValue", "aria-expanded", "aria-controls", "style"]),
2888
2898
  createVNode(KdsPopover, {
@@ -2893,13 +2903,14 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2893
2903
  "aria-label": "Menu"
2894
2904
  }, {
2895
2905
  default: withCtx(() => [
2896
- createVNode(KdsMenuContainer, {
2906
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
2907
+ key: 0,
2897
2908
  id: unref(menuId),
2898
2909
  ref: "menuContainer",
2899
2910
  items: props.items,
2900
2911
  "menu-max-height": __props.menuMaxHeight,
2901
2912
  onItemClick
2902
- }, null, 8, ["id", "items", "menu-max-height"])
2913
+ }, null, 8, ["id", "items", "menu-max-height"])) : createCommentVNode("", true)
2903
2914
  ]),
2904
2915
  _: 1
2905
2916
  }, 8, ["modelValue"])
@@ -2908,7 +2919,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2908
2919
  }
2909
2920
  });
2910
2921
 
2911
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2922
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
2912
2923
  __name: "KdsSplitButton",
2913
2924
  props: {
2914
2925
  dataTestId: {},
@@ -2935,10 +2946,22 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2935
2946
  isMenuOpen.value = false;
2936
2947
  emit("itemClick", itemId);
2937
2948
  }
2938
- watch(isMenuOpen, (open) => {
2939
- if (open) {
2940
- nextTick(() => menuContainer.value?.focus());
2949
+ watch(isMenuOpen, (open, _oldVal, onCleanup) => {
2950
+ if (!open) {
2951
+ return;
2941
2952
  }
2953
+ if (menuContainer.value) {
2954
+ menuContainer.value.focus();
2955
+ return;
2956
+ }
2957
+ const stop = watch(
2958
+ menuContainer,
2959
+ (el) => {
2960
+ el?.focus();
2961
+ },
2962
+ { once: true }
2963
+ );
2964
+ onCleanup(stop);
2942
2965
  });
2943
2966
  return (_ctx, _cache) => {
2944
2967
  return openBlock(), createElementBlock("div", {
@@ -2966,7 +2989,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2966
2989
  ariaLabel: "More options",
2967
2990
  "aria-haspopup": "menu",
2968
2991
  "aria-expanded": isMenuOpen.value,
2969
- "aria-controls": unref(menuId),
2992
+ "aria-controls": isMenuOpen.value ? unref(menuId) : void 0,
2970
2993
  style: normalizeStyle(popoverEl.value?.anchorStyle),
2971
2994
  onClick: _cache[1] || (_cache[1] = ($event) => isMenuOpen.value = !isMenuOpen.value)
2972
2995
  }, null, 8, ["size", "variant", "disabled", "aria-expanded", "aria-controls", "style"]),
@@ -2978,7 +3001,8 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2978
3001
  placement: "bottom-left"
2979
3002
  }, {
2980
3003
  default: withCtx(() => [
2981
- createVNode(KdsMenuContainer, {
3004
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
3005
+ key: 0,
2982
3006
  id: unref(menuId),
2983
3007
  ref_key: "menuContainer",
2984
3008
  ref: menuContainer,
@@ -2987,7 +3011,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2987
3011
  "aria-label": "Actions",
2988
3012
  onItemClick,
2989
3013
  onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => isMenuOpen.value = false, ["escape"]))
2990
- }, null, 8, ["id", "items", "menu-max-height"])
3014
+ }, null, 8, ["id", "items", "menu-max-height"])) : createCommentVNode("", true)
2991
3015
  ]),
2992
3016
  _: 1
2993
3017
  }, 8, ["modelValue"])
@@ -2996,7 +3020,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2996
3020
  }
2997
3021
  });
2998
3022
 
2999
- const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-8f48b87a"]]);
3023
+ const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-ebc30e66"]]);
3000
3024
 
3001
3025
  const kdsButtonSize = {
3002
3026
  XSMALL: "xsmall",
@@ -3012,17 +3036,17 @@ const kdsButtonVariant = {
3012
3036
  };
3013
3037
  const kdsButtonVariants = Object.values(kdsButtonVariant);
3014
3038
 
3015
- const _hoisted_1$P = ["aria-disabled"];
3016
- const _hoisted_2$v = { class: "kds-empty-state-headline" };
3017
- const _hoisted_3$o = {
3039
+ const _hoisted_1$S = ["aria-disabled"];
3040
+ const _hoisted_2$x = { class: "kds-empty-state-headline" };
3041
+ const _hoisted_3$p = {
3018
3042
  key: 1,
3019
3043
  class: "kds-empty-state-description"
3020
3044
  };
3021
- const _hoisted_4$l = {
3045
+ const _hoisted_4$m = {
3022
3046
  key: 2,
3023
3047
  class: "kds-empty-state-action"
3024
3048
  };
3025
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3049
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
3026
3050
  __name: "KdsEmptyState",
3027
3051
  props: {
3028
3052
  headline: {},
@@ -3040,13 +3064,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3040
3064
  () => props.button && "to" in props.button && props.button.to !== void 0
3041
3065
  );
3042
3066
  const buttonComponent = computed(
3043
- () => isLinkButton.value ? _sfc_main$1r : _sfc_main$1s
3067
+ () => isLinkButton.value ? _sfc_main$1u : _sfc_main$1v
3044
3068
  );
3045
3069
  const isSecondaryLinkButton = computed(
3046
3070
  () => props.secondaryButton && "to" in props.secondaryButton && props.secondaryButton.to !== void 0
3047
3071
  );
3048
3072
  const secondaryButtonComponent = computed(
3049
- () => isSecondaryLinkButton.value ? _sfc_main$1r : _sfc_main$1s
3073
+ () => isSecondaryLinkButton.value ? _sfc_main$1u : _sfc_main$1v
3050
3074
  );
3051
3075
  return (_ctx, _cache) => {
3052
3076
  return openBlock(), createElementBlock("div", {
@@ -3060,9 +3084,9 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3060
3084
  variant: "onSurface",
3061
3085
  "aria-hidden": "true"
3062
3086
  })) : createCommentVNode("", true),
3063
- createElementVNode("p", _hoisted_2$v, toDisplayString(props.headline), 1),
3064
- props.description ? (openBlock(), createElementBlock("p", _hoisted_3$o, toDisplayString(props.description), 1)) : createCommentVNode("", true),
3065
- props.button ? (openBlock(), createElementBlock("div", _hoisted_4$l, [
3087
+ createElementVNode("p", _hoisted_2$x, toDisplayString(props.headline), 1),
3088
+ props.description ? (openBlock(), createElementBlock("p", _hoisted_3$p, toDisplayString(props.description), 1)) : createCommentVNode("", true),
3089
+ props.button ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
3066
3090
  (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
3067
3091
  disabled: props.button?.disabled || __props.disabled,
3068
3092
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
@@ -3072,16 +3096,16 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3072
3096
  onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
3073
3097
  }), null, 16, ["disabled"])) : createCommentVNode("", true)
3074
3098
  ])) : createCommentVNode("", true)
3075
- ], 10, _hoisted_1$P);
3099
+ ], 10, _hoisted_1$S);
3076
3100
  };
3077
3101
  }
3078
3102
  });
3079
3103
 
3080
- const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-e913660a"]]);
3104
+ const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-e913660a"]]);
3081
3105
 
3082
- const _hoisted_1$O = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
3106
+ const _hoisted_1$R = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
3083
3107
  const loadingStateText = "Loading entries";
3084
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3108
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
3085
3109
  __name: "KdsListContainer",
3086
3110
  props: {
3087
3111
  possibleValues: {},
@@ -3204,19 +3228,19 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3204
3228
  "loading-spinner": __props.loading
3205
3229
  }, null, 8, ["headline", "loading-spinner"])
3206
3230
  ])) : createCommentVNode("", true)
3207
- ], 16, _hoisted_1$O);
3231
+ ], 16, _hoisted_1$R);
3208
3232
  };
3209
3233
  }
3210
3234
  });
3211
3235
 
3212
- const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-118706ad"]]);
3236
+ const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-118706ad"]]);
3213
3237
 
3214
3238
  const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3215
3239
  __proto__: null,
3216
3240
  default: KdsListContainer
3217
3241
  }, Symbol.toStringTag, { value: 'Module' }));
3218
3242
 
3219
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3243
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
3220
3244
  ...{ inheritAttrs: false },
3221
3245
  __name: "KdsMenu",
3222
3246
  props: {
@@ -3233,12 +3257,22 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3233
3257
  const popoverEl = useTemplateRef("popover");
3234
3258
  const menuContainerEl = useTemplateRef("menuContainer");
3235
3259
  const menuId = useId();
3236
- watch(isMenuOpen, async () => {
3260
+ watch(isMenuOpen, (_newVal, _oldVal, onCleanup) => {
3237
3261
  if (!isMenuOpen.value) {
3238
3262
  return;
3239
3263
  }
3240
- await nextTick();
3241
- menuContainerEl.value?.focus();
3264
+ if (menuContainerEl.value) {
3265
+ menuContainerEl.value.focus();
3266
+ return;
3267
+ }
3268
+ const stop = watch(
3269
+ menuContainerEl,
3270
+ (el) => {
3271
+ el?.focus();
3272
+ },
3273
+ { once: true }
3274
+ );
3275
+ onCleanup(stop);
3242
3276
  });
3243
3277
  const onItemClick = (itemId) => {
3244
3278
  isMenuOpen.value = false;
@@ -3258,7 +3292,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3258
3292
  const ariaAttrs = {
3259
3293
  "aria-haspopup": "menu",
3260
3294
  "aria-expanded": isMenuOpen.value,
3261
- "aria-controls": menuId
3295
+ "aria-controls": isMenuOpen.value ? menuId : void 0
3262
3296
  };
3263
3297
  if (!popoverEl.value) {
3264
3298
  return ariaAttrs;
@@ -3288,7 +3322,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3288
3322
  "aria-label": "Menu"
3289
3323
  }, {
3290
3324
  default: withCtx(() => [
3291
- createVNode(KdsMenuContainer, {
3325
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
3326
+ key: 0,
3292
3327
  id: unref(menuId),
3293
3328
  ref: "menuContainer",
3294
3329
  items: props.items,
@@ -3296,7 +3331,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3296
3331
  variant: __props.variant,
3297
3332
  "aria-label": props.ariaLabel,
3298
3333
  onItemClick
3299
- }, null, 8, ["id", "items", "menu-max-height", "variant", "aria-label"])
3334
+ }, null, 8, ["id", "items", "menu-max-height", "variant", "aria-label"])) : createCommentVNode("", true)
3300
3335
  ]),
3301
3336
  _: 1
3302
3337
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -3305,7 +3340,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3305
3340
  }
3306
3341
  });
3307
3342
 
3308
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3343
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3309
3344
  ...{ inheritAttrs: false },
3310
3345
  __name: "KdsContextMenu",
3311
3346
  props: /* @__PURE__ */ mergeModels({
@@ -3330,12 +3365,22 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3330
3365
  emit("itemClick", itemId);
3331
3366
  };
3332
3367
  const menuContainerEl = useTemplateRef("menuContainer");
3333
- watch(open, async (isOpen) => {
3368
+ watch(open, (isOpen, _oldVal, onCleanup) => {
3334
3369
  if (!isOpen) {
3335
3370
  return;
3336
3371
  }
3337
- await nextTick();
3338
- menuContainerEl.value?.focus();
3372
+ if (menuContainerEl.value) {
3373
+ menuContainerEl.value.focus();
3374
+ return;
3375
+ }
3376
+ const stop = watch(
3377
+ menuContainerEl,
3378
+ (el) => {
3379
+ el?.focus();
3380
+ },
3381
+ { once: true }
3382
+ );
3383
+ onCleanup(stop);
3339
3384
  });
3340
3385
  return (_ctx, _cache) => {
3341
3386
  return openBlock(), createBlock(KdsPopover, {
@@ -3347,7 +3392,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3347
3392
  "aria-label": "Menu"
3348
3393
  }, {
3349
3394
  default: withCtx(() => [
3350
- createVNode(KdsMenuContainer, {
3395
+ open.value ? (openBlock(), createBlock(KdsMenuContainer, {
3396
+ key: 0,
3351
3397
  id: props.id,
3352
3398
  ref: "menuContainer",
3353
3399
  "aria-label": props.ariaLabel,
@@ -3357,7 +3403,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3357
3403
  onItemClick,
3358
3404
  onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {
3359
3405
  }, ["prevent"]))
3360
- }, null, 8, ["id", "aria-label", "items", "menu-max-height", "variant"])
3406
+ }, null, 8, ["id", "aria-label", "items", "menu-max-height", "variant"])) : createCommentVNode("", true)
3361
3407
  ]),
3362
3408
  _: 1
3363
3409
  }, 8, ["modelValue", "custom-placement-position", "popover-type"]);
@@ -3394,9 +3440,9 @@ const kdsDimensionComponentHeight2p25x = 36;
3394
3440
  const kdsSpacingContainer0p10x = 1;
3395
3441
  const kdsSpacingContainer0p25x = 4;
3396
3442
 
3397
- const _hoisted_1$N = { class: "kds-label-wrapper" };
3398
- const _hoisted_2$u = ["id", "for", "title"];
3399
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3443
+ const _hoisted_1$Q = { class: "kds-label-wrapper" };
3444
+ const _hoisted_2$w = ["id", "for", "title"];
3445
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3400
3446
  __name: "KdsLabel",
3401
3447
  props: {
3402
3448
  label: {},
@@ -3413,7 +3459,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3413
3459
  const labelEl = useTemplateRef("labelEl");
3414
3460
  const { isTruncated } = useKdsIsTruncated(labelEl);
3415
3461
  return (_ctx, _cache) => {
3416
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
3462
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
3417
3463
  createElementVNode("label", {
3418
3464
  id: props.id,
3419
3465
  ref_key: "labelEl",
@@ -3421,7 +3467,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3421
3467
  for: props.for,
3422
3468
  class: "label",
3423
3469
  title: unref(isTruncated) ? props.label : void 0
3424
- }, toDisplayString(props.label), 9, _hoisted_2$u),
3470
+ }, toDisplayString(props.label), 9, _hoisted_2$w),
3425
3471
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
3426
3472
  key: 0,
3427
3473
  content: props.description,
@@ -3432,11 +3478,11 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3432
3478
  }
3433
3479
  });
3434
3480
 
3435
- const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-efe3313e"]]);
3481
+ const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-efe3313e"]]);
3436
3482
 
3437
- const _hoisted_1$M = ["id"];
3438
- const _hoisted_2$t = { class: "subtext-text" };
3439
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3483
+ const _hoisted_1$P = ["id"];
3484
+ const _hoisted_2$v = { class: "subtext-text" };
3485
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3440
3486
  __name: "KdsSubText",
3441
3487
  props: {
3442
3488
  id: {},
@@ -3467,15 +3513,15 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3467
3513
  variant: "onSurface",
3468
3514
  "aria-hidden": "true"
3469
3515
  })) : createCommentVNode("", true),
3470
- createElementVNode("span", _hoisted_2$t, toDisplayString(props.subText), 1)
3471
- ], 10, _hoisted_1$M)) : createCommentVNode("", true);
3516
+ createElementVNode("span", _hoisted_2$v, toDisplayString(props.subText), 1)
3517
+ ], 10, _hoisted_1$P)) : createCommentVNode("", true);
3472
3518
  };
3473
3519
  }
3474
3520
  });
3475
3521
 
3476
- const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-2e6ba10c"]]);
3522
+ const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-2e6ba10c"]]);
3477
3523
 
3478
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3524
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3479
3525
  __name: "BaseFormFieldWrapper",
3480
3526
  props: {
3481
3527
  id: {},
@@ -3527,7 +3573,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3527
3573
  }
3528
3574
  });
3529
3575
 
3530
- const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-5d99c134"]]);
3576
+ const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-5d99c134"]]);
3531
3577
 
3532
3578
  const MIN_SEGMENT_INDEX = 0;
3533
3579
  const LARGE_STEP = 10;
@@ -4207,17 +4253,17 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
4207
4253
  };
4208
4254
  };
4209
4255
 
4210
- const _hoisted_1$L = {
4256
+ const _hoisted_1$O = {
4211
4257
  key: 0,
4212
4258
  class: "icon-wrapper leading"
4213
4259
  };
4214
- const _hoisted_2$s = {
4260
+ const _hoisted_2$u = {
4215
4261
  key: 1,
4216
4262
  class: "leading-slot"
4217
4263
  };
4218
- const _hoisted_3$n = ["id", "value", "type", "inputmode", "placeholder", "disabled", "autocomplete", "min", "max", "step", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "role", "pattern", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-activedescendant", "aria-haspopup", "aria-controls", "aria-expanded", "aria-autocomplete"];
4219
- const _hoisted_4$k = ["aria-disabled"];
4220
- const _hoisted_5$b = {
4264
+ const _hoisted_3$o = ["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"];
4265
+ const _hoisted_4$l = ["aria-disabled"];
4266
+ const _hoisted_5$c = {
4221
4267
  key: 4,
4222
4268
  class: "trailing-slot"
4223
4269
  };
@@ -4225,7 +4271,7 @@ const _hoisted_6$9 = {
4225
4271
  key: 5,
4226
4272
  class: "icon-wrapper trailing"
4227
4273
  };
4228
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4274
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
4229
4275
  __name: "BaseInput",
4230
4276
  props: /* @__PURE__ */ mergeModels({
4231
4277
  id: {},
@@ -4376,13 +4422,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4376
4422
  }),
4377
4423
  onClick: handleContainerClick
4378
4424
  }, [
4379
- props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
4425
+ props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
4380
4426
  props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
4381
4427
  key: 0,
4382
4428
  name: props.leadingIcon
4383
4429
  }, null, 8, ["name"])) : createCommentVNode("", true)
4384
4430
  ])) : createCommentVNode("", true),
4385
- _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
4431
+ _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$u, [
4386
4432
  renderSlot(_ctx.$slots, "leading", {}, void 0, true)
4387
4433
  ])) : createCommentVNode("", true),
4388
4434
  createElementVNode("input", {
@@ -4427,7 +4473,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4427
4473
  onCut: handleInputCut,
4428
4474
  onDrop: handleInputDrop,
4429
4475
  onDragend: handleInputDragEnd
4430
- }, null, 42, _hoisted_3$n),
4476
+ }, null, 42, _hoisted_3$o),
4431
4477
  props.unit ? (openBlock(), createElementBlock("span", {
4432
4478
  key: 2,
4433
4479
  class: normalizeClass({
@@ -4436,8 +4482,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4436
4482
  disabled: __props.disabled
4437
4483
  }),
4438
4484
  "aria-disabled": __props.disabled || void 0
4439
- }, toDisplayString(props.unit), 11, _hoisted_4$k)) : createCommentVNode("", true),
4440
- __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1s, {
4485
+ }, toDisplayString(props.unit), 11, _hoisted_4$l)) : createCommentVNode("", true),
4486
+ __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1v, {
4441
4487
  key: 3,
4442
4488
  class: "clear-button",
4443
4489
  size: "xsmall",
@@ -4447,7 +4493,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4447
4493
  title: "Clear",
4448
4494
  onClick: withModifiers(clearAndFocusInput, ["stop"])
4449
4495
  })) : createCommentVNode("", true),
4450
- _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
4496
+ _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
4451
4497
  renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
4452
4498
  ])) : createCommentVNode("", true),
4453
4499
  props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
@@ -4460,9 +4506,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4460
4506
  }
4461
4507
  });
4462
4508
 
4463
- const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-93daa14e"]]);
4509
+ const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-93daa14e"]]);
4464
4510
 
4465
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4511
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
4466
4512
  __name: "KdsTextInput",
4467
4513
  props: /* @__PURE__ */ mergeModels({
4468
4514
  description: {},
@@ -4521,7 +4567,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4521
4567
  isFocused.value = true;
4522
4568
  if (hasFilteredSuggestions.value) {
4523
4569
  popoverOpen.value = true;
4524
- listContainerRef.value?.handleFocus();
4525
4570
  }
4526
4571
  };
4527
4572
  const onBlur = () => {
@@ -4534,7 +4579,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4534
4579
  }
4535
4580
  if (has) {
4536
4581
  popoverOpen.value = true;
4537
- listContainerRef.value?.handleFocus();
4538
4582
  } else {
4539
4583
  closePopover();
4540
4584
  }
@@ -4546,7 +4590,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4546
4590
  if (!popoverOpen.value) {
4547
4591
  if (event.key !== "Enter" && event.key !== "Escape") {
4548
4592
  popoverOpen.value = true;
4549
- listContainerRef.value?.handleFocus();
4550
4593
  }
4551
4594
  return;
4552
4595
  } else if (event.key === "Escape") {
@@ -4594,7 +4637,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4594
4637
  "aria-haspopup": hasSuggestions.value ? "listbox" : void 0,
4595
4638
  "aria-expanded": hasSuggestions.value ? popoverOpen.value : void 0,
4596
4639
  "aria-autocomplete": hasSuggestions.value ? "list" : void 0,
4597
- "aria-controls": hasSuggestions.value ? unref(suggestionId) : void 0,
4640
+ "aria-controls": hasSuggestions.value && popoverOpen.value ? unref(suggestionId) : void 0,
4598
4641
  "aria-activedescendant": listContainerRef.value?.activeDescendant,
4599
4642
  style: hasSuggestions.value ? popoverRef.value?.anchorStyle : void 0,
4600
4643
  onFocus,
@@ -4612,7 +4655,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4612
4655
  "popover-type": "manual"
4613
4656
  }, {
4614
4657
  default: withCtx(() => [
4615
- createVNode(unref(KdsListContainer), {
4658
+ popoverOpen.value ? (openBlock(), createBlock(unref(KdsListContainer), {
4659
+ key: 0,
4616
4660
  id: unref(suggestionId),
4617
4661
  ref_key: "listContainerRef",
4618
4662
  ref: listContainerRef,
@@ -4621,7 +4665,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4621
4665
  "controlled-externally": "",
4622
4666
  "aria-label": "Suggestions",
4623
4667
  onItemClick
4624
- }, null, 8, ["id", "possible-values"])
4668
+ }, null, 8, ["id", "possible-values"])) : createCommentVNode("", true)
4625
4669
  ]),
4626
4670
  _: 1
4627
4671
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -4632,9 +4676,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4632
4676
  }
4633
4677
  });
4634
4678
 
4635
- const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-83f45d15"]]);
4679
+ const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-dd35e2a4"]]);
4636
4680
 
4637
- const _sfc_main$16 = defineComponent({
4681
+ const _sfc_main$19 = defineComponent({
4638
4682
  name: "FileExplorerItemBase",
4639
4683
  props: {
4640
4684
  isSelected: {
@@ -4652,7 +4696,7 @@ const _sfc_main$16 = defineComponent({
4652
4696
  }
4653
4697
  });
4654
4698
 
4655
- const _hoisted_1$K = ["aria-disabled"];
4699
+ const _hoisted_1$N = ["aria-disabled"];
4656
4700
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4657
4701
  return openBlock(), createElementBlock("tr", {
4658
4702
  class: normalizeClass(["file-explorer-item-base", {
@@ -4665,9 +4709,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4665
4709
  "aria-disabled": _ctx.disabled ? "true" : void 0
4666
4710
  }, [
4667
4711
  renderSlot(_ctx.$slots, "default")
4668
- ], 10, _hoisted_1$K);
4712
+ ], 10, _hoisted_1$N);
4669
4713
  }
4670
- const FileExplorerItemBase = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render], ["__scopeId", "data-v-aad38d13"]]);
4714
+ const FileExplorerItemBase = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render], ["__scopeId", "data-v-aad38d13"]]);
4671
4715
 
4672
4716
  const INVALID_NAME_CHARACTERS = /[*?#:";<>%~|/\\]/;
4673
4717
  const NAME_CHAR_LIMIT = 255;
@@ -4716,17 +4760,17 @@ const filterSlotsForDynamicColumns = (slots) => {
4716
4760
  return result;
4717
4761
  };
4718
4762
 
4719
- const _hoisted_1$J = { class: "item-icon" };
4720
- const _hoisted_2$r = {
4763
+ const _hoisted_1$M = { class: "item-icon" };
4764
+ const _hoisted_2$t = {
4721
4765
  key: 0,
4722
4766
  class: "open-indicator"
4723
4767
  };
4724
- const _hoisted_3$m = ["title"];
4725
- const _hoisted_4$j = {
4768
+ const _hoisted_3$n = ["title"];
4769
+ const _hoisted_4$k = {
4726
4770
  key: 0,
4727
4771
  class: "inner"
4728
4772
  };
4729
- const _hoisted_5$a = {
4773
+ const _hoisted_5$b = {
4730
4774
  key: 0,
4731
4775
  class: "item-error"
4732
4776
  };
@@ -4735,7 +4779,7 @@ const _hoisted_7$2 = {
4735
4779
  key: 0,
4736
4780
  class: /* @__PURE__ */ normalizeClass(["column"])
4737
4781
  };
4738
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4782
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4739
4783
  __name: "FileExplorerItem",
4740
4784
  props: {
4741
4785
  blacklistedNames: {},
@@ -4836,8 +4880,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4836
4880
  onDblclick: _cache[11] || (_cache[11] = ($event) => !unref(isRenameActive) && emit("dblclick", $event))
4837
4881
  }, {
4838
4882
  default: withCtx(() => [
4839
- createElementVNode("td", _hoisted_1$J, [
4840
- __props.item.isOpen ? (openBlock(), createElementBlock("span", _hoisted_2$r)) : createCommentVNode("", true),
4883
+ createElementVNode("td", _hoisted_1$M, [
4884
+ __props.item.isOpen ? (openBlock(), createElementBlock("span", _hoisted_2$t)) : createCommentVNode("", true),
4841
4885
  createVNode(KdsIcon, {
4842
4886
  name: __props.item.icon || (__props.item.isDirectory ? "folder" : "file"),
4843
4887
  size: "small"
@@ -4851,7 +4895,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4851
4895
  "data-test-id": "item-name",
4852
4896
  title: __props.item.name
4853
4897
  }, [
4854
- !unref(isRenameActive) ? (openBlock(), createElementBlock("div", _hoisted_4$j, toDisplayString(__props.item.name), 1)) : (openBlock(), createElementBlock("div", {
4898
+ !unref(isRenameActive) ? (openBlock(), createElementBlock("div", _hoisted_4$k, toDisplayString(__props.item.name), 1)) : (openBlock(), createElementBlock("div", {
4855
4899
  key: 1,
4856
4900
  ref_key: "renameInputContainer",
4857
4901
  ref: renameInputContainer,
@@ -4869,11 +4913,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4869
4913
  error: !unref(isValid),
4870
4914
  onKeydown: _cache[1] || (_cache[1] = withModifiers(($event) => onRenameSubmit($event), ["stop"]))
4871
4915
  }, null, 8, ["modelValue", "error"]),
4872
- !unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
4916
+ !unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
4873
4917
  createElementVNode("span", null, toDisplayString(unref(errorMessage)), 1)
4874
4918
  ])) : createCommentVNode("", true)
4875
4919
  ], 512))
4876
- ], 10, _hoisted_3$m),
4920
+ ], 10, _hoisted_3$n),
4877
4921
  (openBlock(true), createElementBlock(Fragment, null, renderList(dynamicColumnSlotNames.value, (name) => {
4878
4922
  return openBlock(), createElementBlock("td", {
4879
4923
  key: `dynamicColumn-${name}`,
@@ -4897,9 +4941,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4897
4941
  }
4898
4942
  });
4899
4943
 
4900
- const FileExplorerItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-91cbcaae"]]);
4944
+ const FileExplorerItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-91cbcaae"]]);
4901
4945
 
4902
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4946
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4903
4947
  __name: "FileExplorerItemBack",
4904
4948
  props: {
4905
4949
  isDragging: { type: Boolean }
@@ -4927,7 +4971,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4927
4971
  }
4928
4972
  });
4929
4973
 
4930
- const FileExplorerItemBack = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a5de970a"]]);
4974
+ const FileExplorerItemBack = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-a5de970a"]]);
4931
4975
 
4932
4976
  const getInitialState = () => ({
4933
4977
  anchorHistory: [],
@@ -11823,12 +11867,12 @@ const popoverAnchor = {
11823
11867
  remove
11824
11868
  };
11825
11869
 
11826
- const _hoisted_1$I = { class: "file-explorer" };
11827
- const _hoisted_2$q = {
11870
+ const _hoisted_1$L = { class: "file-explorer" };
11871
+ const _hoisted_2$s = {
11828
11872
  key: 0,
11829
11873
  class: "empty"
11830
11874
  };
11831
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
11875
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
11832
11876
  __name: "KdsFileExplorer",
11833
11877
  props: /* @__PURE__ */ mergeModels({
11834
11878
  size: { default: "large" },
@@ -12157,7 +12201,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12157
12201
  () => Object.keys(filterSlotsForDynamicColumns(slots))
12158
12202
  );
12159
12203
  return (_ctx, _cache) => {
12160
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
12204
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
12161
12205
  createElementVNode("table", mergeProps({
12162
12206
  tabindex: "0",
12163
12207
  class: ["scroll-container", { "keyboard-focus": unref(keyPressedUntilMouseClick) }],
@@ -12228,7 +12272,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12228
12272
  hasOptionsMenu.value ? {
12229
12273
  name: "optionsMenu",
12230
12274
  fn: withCtx(() => [
12231
- createVNode(_sfc_main$1p, {
12275
+ createVNode(_sfc_main$1s, {
12232
12276
  tabindex: "-1",
12233
12277
  "model-value": contextMenuAnchor.value?.item.id === item.id && contextMenuAnchor.value.openedBy === "optionsMenu",
12234
12278
  size: __props.size === "small" ? "xsmall" : "small",
@@ -12254,7 +12298,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12254
12298
  } : void 0
12255
12299
  ]), 1032, ["class", "disabled", "item", "is-dragging", "is-selected", "is-rename-active", "blacklisted-names", "is-dragging-enabled", "has-options-menu", "onDragstart", "onDragenter", "onDragleave", "onDragend", "onDrag", "onClick", "onContextmenu", "onKeydown", "onDrop", "onDblclick"]);
12256
12300
  }), 128)),
12257
- __props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$q, [
12301
+ __props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$s, [
12258
12302
  createElementVNode("td", null, [
12259
12303
  createVNode(KdsEmptyState, mergeProps({
12260
12304
  headline: __props.emptyState?.headline ?? "Folder is empty"
@@ -12306,7 +12350,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12306
12350
  }
12307
12351
  });
12308
12352
 
12309
- const KdsFileExplorer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-da0e6dab"]]);
12353
+ const KdsFileExplorer = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-da0e6dab"]]);
12310
12354
 
12311
12355
  const kdsFileExplorerSize = {
12312
12356
  SMALL: "small",
@@ -12322,14 +12366,14 @@ const kdsFileExplorerDraggingAnimationModes = Object.values(
12322
12366
  kdsFileExplorerDraggingAnimationMode
12323
12367
  );
12324
12368
 
12325
- const _hoisted_1$H = { class: "kds-preview-list" };
12326
- const _hoisted_2$p = { class: "kds-preview-list-title-row" };
12327
- const _hoisted_3$l = { class: "kds-preview-list-content" };
12328
- const _hoisted_4$i = { class: "kds-preview-list-headline" };
12329
- const _hoisted_5$9 = ["aria-label"];
12369
+ const _hoisted_1$K = { class: "kds-preview-list" };
12370
+ const _hoisted_2$r = { class: "kds-preview-list-title-row" };
12371
+ const _hoisted_3$m = { class: "kds-preview-list-content" };
12372
+ const _hoisted_4$j = { class: "kds-preview-list-headline" };
12373
+ const _hoisted_5$a = ["aria-label"];
12330
12374
  const _hoisted_6$7 = { class: "kds-preview-list-show-hide" };
12331
12375
  const DEFAULT_MAX_VISIBLE_ITEMS = 6;
12332
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12376
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
12333
12377
  __name: "KdsPreviewList",
12334
12378
  props: /* @__PURE__ */ mergeModels({
12335
12379
  headline: {},
@@ -12363,8 +12407,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12363
12407
  })
12364
12408
  );
12365
12409
  return (_ctx, _cache) => {
12366
- return openBlock(), createElementBlock("section", _hoisted_1$H, [
12367
- createElementVNode("header", _hoisted_2$p, [
12410
+ return openBlock(), createElementBlock("section", _hoisted_1$K, [
12411
+ createElementVNode("header", _hoisted_2$r, [
12368
12412
  __props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
12369
12413
  key: 0,
12370
12414
  size: "small",
@@ -12374,10 +12418,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12374
12418
  name: __props.leadingIcon,
12375
12419
  size: "small"
12376
12420
  }, null, 8, ["name"])) : createCommentVNode("", true),
12377
- createElementVNode("div", _hoisted_3$l, [
12378
- createElementVNode("span", _hoisted_4$i, toDisplayString(props.headline), 1)
12421
+ createElementVNode("div", _hoisted_3$m, [
12422
+ createElementVNode("span", _hoisted_4$j, toDisplayString(props.headline), 1)
12379
12423
  ]),
12380
- __props.trailingButton ? (openBlock(), createBlock(_sfc_main$1s, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
12424
+ __props.trailingButton ? (openBlock(), createBlock(_sfc_main$1v, normalizeProps(mergeProps({ key: 2 }, trailingButtonProps.value)), null, 16)) : createCommentVNode("", true)
12381
12425
  ]),
12382
12426
  withDirectives(createElementVNode("div", {
12383
12427
  id: bodyId,
@@ -12410,12 +12454,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12410
12454
  }, ["stop"]))
12411
12455
  }, null, 8, ["id", "text", "accessory"]);
12412
12456
  }), 128))
12413
- ], 8, _hoisted_5$9)) : createCommentVNode("", true)
12457
+ ], 8, _hoisted_5$a)) : createCommentVNode("", true)
12414
12458
  ], 512), [
12415
12459
  [vShow, expanded.value]
12416
12460
  ]),
12417
12461
  createElementVNode("footer", _hoisted_6$7, [
12418
- createVNode(_sfc_main$1s, {
12462
+ createVNode(_sfc_main$1v, {
12419
12463
  class: "kds-preview-list-toggle",
12420
12464
  label: expanded.value ? "Hide all" : "Show all",
12421
12465
  "trailing-icon": expanded.value ? "chevron-up" : "chevron-down",
@@ -12431,21 +12475,21 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12431
12475
  }
12432
12476
  });
12433
12477
 
12434
- const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-a11103f6"]]);
12478
+ const KdsPreviewList = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-a11103f6"]]);
12435
12479
 
12436
- const _hoisted_1$G = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
12437
- const _hoisted_2$o = { class: "control" };
12438
- const _hoisted_3$k = {
12480
+ const _hoisted_1$J = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
12481
+ const _hoisted_2$q = { class: "control" };
12482
+ const _hoisted_3$l = {
12439
12483
  key: 0,
12440
12484
  class: "content"
12441
12485
  };
12442
- const _hoisted_4$h = { class: "label" };
12443
- const _hoisted_5$8 = ["id"];
12486
+ const _hoisted_4$i = { class: "label" };
12487
+ const _hoisted_5$9 = ["id"];
12444
12488
  const _hoisted_6$6 = {
12445
12489
  key: 0,
12446
12490
  class: "subtext-wrapper"
12447
12491
  };
12448
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12492
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
12449
12493
  __name: "BaseCheckbox",
12450
12494
  props: /* @__PURE__ */ mergeModels({
12451
12495
  disabled: { type: Boolean, default: false },
@@ -12518,7 +12562,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12518
12562
  role: "checkbox",
12519
12563
  onClick: handleClick
12520
12564
  }, [
12521
- createElementVNode("div", _hoisted_2$o, [
12565
+ createElementVNode("div", _hoisted_2$q, [
12522
12566
  icon.value ? (openBlock(), createBlock(KdsIcon, {
12523
12567
  key: 0,
12524
12568
  name: icon.value,
@@ -12526,15 +12570,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12526
12570
  size: "xsmall"
12527
12571
  }, null, 8, ["name"])) : createCommentVNode("", true)
12528
12572
  ]),
12529
- props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
12530
- createElementVNode("div", _hoisted_4$h, toDisplayString(props.label), 1),
12573
+ props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
12574
+ createElementVNode("div", _hoisted_4$i, toDisplayString(props.label), 1),
12531
12575
  props.helperText ? (openBlock(), createElementBlock("div", {
12532
12576
  key: 0,
12533
12577
  id: unref(helperId),
12534
12578
  class: "helper-text"
12535
- }, toDisplayString(props.helperText), 9, _hoisted_5$8)) : createCommentVNode("", true)
12579
+ }, toDisplayString(props.helperText), 9, _hoisted_5$9)) : createCommentVNode("", true)
12536
12580
  ])) : createCommentVNode("", true)
12537
- ], 10, _hoisted_1$G),
12581
+ ], 10, _hoisted_1$J),
12538
12582
  props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
12539
12583
  createVNode(KdsSubText, {
12540
12584
  id: unref(descriptionId),
@@ -12548,9 +12592,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12548
12592
  }
12549
12593
  });
12550
12594
 
12551
- const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-0bec87ad"]]);
12595
+ const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0bec87ad"]]);
12552
12596
 
12553
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
12597
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12554
12598
  __name: "KdsCheckbox",
12555
12599
  props: /* @__PURE__ */ mergeModels({
12556
12600
  disabled: { type: Boolean, default: false },
@@ -12580,11 +12624,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
12580
12624
  }
12581
12625
  });
12582
12626
 
12583
- const _hoisted_1$F = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
12584
- const _hoisted_2$n = ["id"];
12585
- const _hoisted_3$j = ["title"];
12586
- const _hoisted_4$g = { class: "kds-fieldset-content" };
12587
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12627
+ const _hoisted_1$I = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
12628
+ const _hoisted_2$p = ["id"];
12629
+ const _hoisted_3$k = ["title"];
12630
+ const _hoisted_4$h = { class: "kds-fieldset-content" };
12631
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12588
12632
  __name: "BaseFieldsetWrapper",
12589
12633
  props: {
12590
12634
  id: {},
@@ -12630,14 +12674,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12630
12674
  ref: legendTextEl,
12631
12675
  class: "legend-text",
12632
12676
  title: unref(isTruncated) ? props.label : void 0
12633
- }, toDisplayString(props.label), 9, _hoisted_3$j),
12677
+ }, toDisplayString(props.label), 9, _hoisted_3$k),
12634
12678
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
12635
12679
  key: 0,
12636
12680
  content: props.description,
12637
12681
  hidden: !isHovered.value
12638
12682
  }, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
12639
- ], 8, _hoisted_2$n)) : createCommentVNode("", true),
12640
- createElementVNode("div", _hoisted_4$g, [
12683
+ ], 8, _hoisted_2$p)) : createCommentVNode("", true),
12684
+ createElementVNode("div", _hoisted_4$h, [
12641
12685
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
12642
12686
  ]),
12643
12687
  createVNode(KdsSubText, {
@@ -12647,14 +12691,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12647
12691
  validating: props.validating,
12648
12692
  "preserve-sub-text-space": props.preserveSubTextSpace
12649
12693
  }, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
12650
- ], 40, _hoisted_1$F);
12694
+ ], 40, _hoisted_1$I);
12651
12695
  };
12652
12696
  }
12653
12697
  });
12654
12698
 
12655
- const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a44731da"]]);
12699
+ const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-a44731da"]]);
12656
12700
 
12657
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12701
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12658
12702
  __name: "KdsCheckboxGroup",
12659
12703
  props: /* @__PURE__ */ mergeModels({
12660
12704
  id: {},
@@ -12733,7 +12777,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12733
12777
  }
12734
12778
  });
12735
12779
 
12736
- const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-c6536296"]]);
12780
+ const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-c6536296"]]);
12737
12781
 
12738
12782
  const kdsCheckboxGroupAlignment = {
12739
12783
  VERTICAL: "vertical",
@@ -12749,8 +12793,89 @@ const kdsCheckboxValue = {
12749
12793
  };
12750
12794
  const kdsCheckboxValues = Object.values(kdsCheckboxValue);
12751
12795
 
12752
- const _hoisted_1$E = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
12753
- const _hoisted_2$m = { class: "control" };
12796
+ const kdsToggleSwitchSize = {
12797
+ SMALL: "small",
12798
+ MEDIUM: "medium"
12799
+ };
12800
+ const kdsToggleSwitchSizes = Object.values(kdsToggleSwitchSize);
12801
+ const kdsToggleSwitchLabelPosition = {
12802
+ RIGHT: "right",
12803
+ TOP: "top"
12804
+ };
12805
+ const kdsToggleSwitchLabelPositions = Object.values(
12806
+ kdsToggleSwitchLabelPosition
12807
+ );
12808
+
12809
+ const _hoisted_1$H = ["disabled", "aria-label", "aria-checked"];
12810
+ const _hoisted_2$o = { class: "control" };
12811
+ const _hoisted_3$j = {
12812
+ class: "knob",
12813
+ "aria-hidden": "true"
12814
+ };
12815
+ const _hoisted_4$g = {
12816
+ key: 0,
12817
+ class: "content"
12818
+ };
12819
+ const _hoisted_5$8 = { class: "label" };
12820
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
12821
+ __name: "KdsToggleSwitch",
12822
+ props: /* @__PURE__ */ mergeModels({
12823
+ disabled: { type: Boolean, default: false },
12824
+ size: { default: () => kdsToggleSwitchSize.MEDIUM },
12825
+ labelPosition: { default: () => kdsToggleSwitchLabelPosition.RIGHT },
12826
+ label: {},
12827
+ ariaLabel: {}
12828
+ }, {
12829
+ "modelValue": { type: Boolean, ...{ default: false } },
12830
+ "modelModifiers": {}
12831
+ }),
12832
+ emits: ["update:modelValue"],
12833
+ setup(__props) {
12834
+ const props = createPropsRestProxy(__props, ["size", "disabled", "labelPosition"]);
12835
+ const modelValue = useModel(__props, "modelValue");
12836
+ const isChecked = computed(() => modelValue.value === true);
12837
+ const handleClick = () => {
12838
+ if (__props.disabled) {
12839
+ return;
12840
+ }
12841
+ modelValue.value = !isChecked.value;
12842
+ };
12843
+ return (_ctx, _cache) => {
12844
+ return openBlock(), createElementBlock("button", {
12845
+ class: normalizeClass({
12846
+ "toggle-switch": true,
12847
+ checked: isChecked.value,
12848
+ disabled: __props.disabled,
12849
+ [__props.size]: true,
12850
+ [`label-${__props.labelPosition}`]: true
12851
+ }),
12852
+ disabled: __props.disabled,
12853
+ "aria-label": props.ariaLabel,
12854
+ "aria-checked": isChecked.value,
12855
+ type: "button",
12856
+ role: "switch",
12857
+ onClick: handleClick
12858
+ }, [
12859
+ createElementVNode("div", _hoisted_2$o, [
12860
+ createElementVNode("div", _hoisted_3$j, [
12861
+ createVNode(KdsIcon, {
12862
+ name: isChecked.value ? "checkmark" : "x-close",
12863
+ size: __props.size === "small" ? "xsmall" : "small"
12864
+ }, null, 8, ["name", "size"])
12865
+ ])
12866
+ ]),
12867
+ props.label ? (openBlock(), createElementBlock("div", _hoisted_4$g, [
12868
+ createElementVNode("span", _hoisted_5$8, toDisplayString(props.label), 1)
12869
+ ])) : createCommentVNode("", true)
12870
+ ], 10, _hoisted_1$H);
12871
+ };
12872
+ }
12873
+ });
12874
+
12875
+ const KdsToggleSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-417fc16d"]]);
12876
+
12877
+ const _hoisted_1$G = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
12878
+ const _hoisted_2$n = { class: "control" };
12754
12879
  const _hoisted_3$i = {
12755
12880
  key: 0,
12756
12881
  class: "dot",
@@ -12761,7 +12886,7 @@ const _hoisted_3$i = {
12761
12886
  const _hoisted_4$f = { class: "content" };
12762
12887
  const _hoisted_5$7 = { class: "label" };
12763
12888
  const _hoisted_6$5 = ["id"];
12764
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12889
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12765
12890
  __name: "KdsRadioButton",
12766
12891
  props: /* @__PURE__ */ mergeModels({
12767
12892
  text: {},
@@ -12801,7 +12926,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12801
12926
  type: "button",
12802
12927
  onClick: handleClick
12803
12928
  }, [
12804
- createElementVNode("div", _hoisted_2$m, [
12929
+ createElementVNode("div", _hoisted_2$n, [
12805
12930
  modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$i, [..._cache[0] || (_cache[0] = [
12806
12931
  createElementVNode("circle", {
12807
12932
  cx: "1",
@@ -12818,12 +12943,12 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12818
12943
  class: "helper-text"
12819
12944
  }, toDisplayString(props.helperText), 9, _hoisted_6$5)) : createCommentVNode("", true)
12820
12945
  ])
12821
- ], 10, _hoisted_1$E);
12946
+ ], 10, _hoisted_1$G);
12822
12947
  };
12823
12948
  }
12824
12949
  });
12825
12950
 
12826
- const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-f4f6392a"]]);
12951
+ const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f4f6392a"]]);
12827
12952
 
12828
12953
  const useRadioSelection = ({
12829
12954
  selectedId,
@@ -12945,7 +13070,7 @@ const useRadioSelection = ({
12945
13070
  };
12946
13071
  };
12947
13072
 
12948
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13073
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12949
13074
  __name: "KdsRadioButtonGroup",
12950
13075
  props: /* @__PURE__ */ mergeModels({
12951
13076
  id: {},
@@ -13020,10 +13145,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13020
13145
  }
13021
13146
  });
13022
13147
 
13023
- const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d78ed4a2"]]);
13148
+ const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d78ed4a2"]]);
13024
13149
 
13025
- const _hoisted_1$D = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
13026
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
13150
+ const _hoisted_1$F = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
13151
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
13027
13152
  __name: "ValueSwitchItem",
13028
13153
  props: {
13029
13154
  selected: { type: Boolean },
@@ -13073,12 +13198,12 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13073
13198
  name: props.trailingIcon,
13074
13199
  size: __props.size
13075
13200
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
13076
- ], 10, _hoisted_1$D);
13201
+ ], 10, _hoisted_1$F);
13077
13202
  };
13078
13203
  }
13079
13204
  });
13080
13205
 
13081
- const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-5c6f0f1f"]]);
13206
+ const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-5c6f0f1f"]]);
13082
13207
 
13083
13208
  const useValueSwitchIconHiding = ({
13084
13209
  width,
@@ -13129,7 +13254,7 @@ const useValueSwitchIconHiding = ({
13129
13254
  };
13130
13255
  };
13131
13256
 
13132
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
13257
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13133
13258
  __name: "KdsValueSwitch",
13134
13259
  props: /* @__PURE__ */ mergeModels({
13135
13260
  id: {},
@@ -13218,7 +13343,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13218
13343
  }
13219
13344
  });
13220
13345
 
13221
- const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f6d51795"]]);
13346
+ const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f6d51795"]]);
13222
13347
 
13223
13348
  const kdsRadioButtonGroupAlignment = {
13224
13349
  VERTICAL: "vertical",
@@ -13409,7 +13534,7 @@ const createKdsNumberParser = (params) => {
13409
13534
 
13410
13535
  const REPEAT_INITIAL_DELAY_MS = 400;
13411
13536
  const REPEAT_INTERVAL_MS = 100;
13412
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
13537
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13413
13538
  __name: "KdsNumberInput",
13414
13539
  props: /* @__PURE__ */ mergeModels({
13415
13540
  description: {},
@@ -13595,7 +13720,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13595
13720
  onBlur: handleBlur
13596
13721
  }), {
13597
13722
  trailing: withCtx(() => [
13598
- createVNode(_sfc_main$1s, {
13723
+ createVNode(_sfc_main$1v, {
13599
13724
  size: "xsmall",
13600
13725
  variant: "outlined",
13601
13726
  "leading-icon": "minus",
@@ -13607,7 +13732,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13607
13732
  onPointerleave: stopRepeating,
13608
13733
  onPointercancel: stopRepeating
13609
13734
  }, null, 8, ["ariaLabel", "disabled"]),
13610
- createVNode(_sfc_main$1s, {
13735
+ createVNode(_sfc_main$1v, {
13611
13736
  size: "xsmall",
13612
13737
  variant: "outlined",
13613
13738
  "leading-icon": "plus",
@@ -13774,8 +13899,8 @@ const removeAlphaFromHexInput = (next) => {
13774
13899
  return next;
13775
13900
  };
13776
13901
 
13777
- const _hoisted_1$C = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
13778
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
13902
+ const _hoisted_1$E = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
13903
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13779
13904
  __name: "ColorPickerSlider",
13780
13905
  props: /* @__PURE__ */ mergeModels({
13781
13906
  label: {},
@@ -13859,15 +13984,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
13859
13984
  onKeydown: onKeyDown
13860
13985
  }, [..._cache[5] || (_cache[5] = [
13861
13986
  createElementVNode("div", { class: "handle" }, null, -1)
13862
- ])], 40, _hoisted_1$C);
13987
+ ])], 40, _hoisted_1$E);
13863
13988
  };
13864
13989
  }
13865
13990
  });
13866
13991
 
13867
- const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f4be2bd4"]]);
13992
+ const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f4be2bd4"]]);
13868
13993
 
13869
- const _hoisted_1$B = { class: "kds-color-picker" };
13870
- const _hoisted_2$l = ["aria-valuetext"];
13994
+ const _hoisted_1$D = { class: "kds-color-picker" };
13995
+ const _hoisted_2$m = ["aria-valuetext"];
13871
13996
  const _hoisted_3$h = { class: "value-inputs" };
13872
13997
  const DEFAULT_HUE_DEG = 270;
13873
13998
  const DEFAULT_SATURATION = 0.8;
@@ -13882,7 +14007,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
13882
14007
  const HUE_KEYBOARD_STEP_DEG = 1;
13883
14008
  const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
13884
14009
  const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
13885
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
14010
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13886
14011
  __name: "ColorPicker",
13887
14012
  props: {
13888
14013
  "modelValue": { default: "" },
@@ -14030,7 +14155,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14030
14155
  }
14031
14156
  };
14032
14157
  return (_ctx, _cache) => {
14033
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
14158
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
14034
14159
  createElementVNode("div", {
14035
14160
  ref_key: "colorspaceEl",
14036
14161
  ref: colorspaceEl,
@@ -14058,7 +14183,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14058
14183
  class: "handle",
14059
14184
  style: normalizeStyle(colorspaceHandleStyle.value)
14060
14185
  }, null, 4)
14061
- ], 44, _hoisted_2$l),
14186
+ ], 44, _hoisted_2$m),
14062
14187
  createVNode(ColorPickerSlider, {
14063
14188
  modelValue: hue.value,
14064
14189
  "onUpdate:modelValue": [
@@ -14101,7 +14226,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14101
14226
  "onUpdate:modelValue": updateFromTextValue,
14102
14227
  onFocusout: onHexInputFocusOut
14103
14228
  }, null, 8, ["model-value"]),
14104
- createVNode(_sfc_main$V, {
14229
+ createVNode(_sfc_main$X, {
14105
14230
  "model-value": alphaPercent.value,
14106
14231
  ariaLabel: "Alpha percentage",
14107
14232
  min: 0,
@@ -14116,7 +14241,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14116
14241
  }
14117
14242
  });
14118
14243
 
14119
- const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2daeaa68"]]);
14244
+ const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-2daeaa68"]]);
14120
14245
 
14121
14246
  const HEX_LENGTH_1 = 1;
14122
14247
  const HEX_LENGTH_2 = 2;
@@ -14190,7 +14315,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
14190
14315
  return { handleFocusOut };
14191
14316
  };
14192
14317
 
14193
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
14318
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14194
14319
  __name: "KdsColorInput",
14195
14320
  props: /* @__PURE__ */ mergeModels({
14196
14321
  description: {},
@@ -14253,7 +14378,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14253
14378
  }, null, 8, ["color", "style"])
14254
14379
  ]),
14255
14380
  trailing: withCtx(() => [
14256
- createVNode(unref(_sfc_main$1p), {
14381
+ createVNode(unref(_sfc_main$1s), {
14257
14382
  modelValue: open.value,
14258
14383
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
14259
14384
  size: "xsmall",
@@ -14278,10 +14403,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14278
14403
  "aria-label": "Color picker"
14279
14404
  }, {
14280
14405
  default: withCtx(() => [
14281
- createVNode(ColorPicker, {
14406
+ open.value ? (openBlock(), createBlock(ColorPicker, {
14407
+ key: 0,
14282
14408
  modelValue: modelValue.value,
14283
14409
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => modelValue.value = $event)
14284
- }, null, 8, ["modelValue"])
14410
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true)
14285
14411
  ]),
14286
14412
  _: 1
14287
14413
  }, 8, ["modelValue"])
@@ -14293,7 +14419,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14293
14419
  }
14294
14420
  });
14295
14421
 
14296
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
14422
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14297
14423
  __name: "KdsPasswordInput",
14298
14424
  props: /* @__PURE__ */ mergeModels({
14299
14425
  description: {},
@@ -14354,7 +14480,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14354
14480
  onBlur: handleBlur
14355
14481
  }), {
14356
14482
  trailing: withCtx(() => [
14357
- __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1p, {
14483
+ __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1s, {
14358
14484
  key: 0,
14359
14485
  modelValue: showValue.value,
14360
14486
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
@@ -14394,7 +14520,7 @@ const kdsPasswordInputAutocompletes = Object.values(
14394
14520
  kdsPasswordInputAutocomplete
14395
14521
  );
14396
14522
 
14397
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14523
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14398
14524
  __name: "KdsUsernameInput",
14399
14525
  props: /* @__PURE__ */ mergeModels({
14400
14526
  description: {},
@@ -18405,17 +18531,17 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
18405
18531
  DateTimeFormat: Xn
18406
18532
  }));
18407
18533
 
18408
- const _hoisted_1$A = {
18534
+ const _hoisted_1$C = {
18409
18535
  role: "row",
18410
18536
  class: "kds-date-picker-header-row"
18411
18537
  };
18412
- const _hoisted_2$k = ["aria-label"];
18538
+ const _hoisted_2$l = ["aria-label"];
18413
18539
  const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
18414
18540
  const _hoisted_4$e = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
18415
18541
  const REFERENCE_YEAR$2 = 2024;
18416
18542
  const DAYS_PER_WEEK = 7;
18417
18543
  const TOTAL_CELLS = 42;
18418
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
18544
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
18419
18545
  __name: "DatePickerDayGrid",
18420
18546
  props: {
18421
18547
  modelValue: {},
@@ -18710,14 +18836,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18710
18836
  role: "grid",
18711
18837
  "aria-label": "Calendar"
18712
18838
  }, [
18713
- createElementVNode("div", _hoisted_1$A, [
18839
+ createElementVNode("div", _hoisted_1$C, [
18714
18840
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
18715
18841
  return openBlock(), createElementBlock("div", {
18716
18842
  key: day,
18717
18843
  role: "columnheader",
18718
18844
  "aria-label": unref(DAY_FULL_LABELS)[i],
18719
18845
  class: "kds-date-picker-weekday"
18720
- }, toDisplayString(day), 9, _hoisted_2$k);
18846
+ }, toDisplayString(day), 9, _hoisted_2$l);
18721
18847
  }), 128))
18722
18848
  ]),
18723
18849
  createElementVNode("div", _hoisted_3$g, [
@@ -18759,13 +18885,13 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18759
18885
  }
18760
18886
  });
18761
18887
 
18762
- const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-51807b35"]]);
18888
+ const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-51807b35"]]);
18763
18889
 
18764
- const _hoisted_1$z = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
18890
+ const _hoisted_1$B = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
18765
18891
  const REFERENCE_YEAR$1 = 2024;
18766
18892
  const MONTHS_PER_YEAR$1 = 12;
18767
18893
  const MONTH_GRID_COLS = 3;
18768
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
18894
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
18769
18895
  __name: "DatePickerMonthGrid",
18770
18896
  props: {
18771
18897
  modelValue: {},
@@ -18955,7 +19081,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18955
19081
  onClick: ($event) => selectMonth(cell.month),
18956
19082
  onKeydown: ($event) => onKeydown($event, cell.month),
18957
19083
  onFocus: ($event) => focusedCell.value = cell.month
18958
- }, toDisplayString(cell.label), 43, _hoisted_1$z);
19084
+ }, toDisplayString(cell.label), 43, _hoisted_1$B);
18959
19085
  }), 128))
18960
19086
  ]);
18961
19087
  }), 128))
@@ -18964,12 +19090,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18964
19090
  }
18965
19091
  });
18966
19092
 
18967
- const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-63d96e84"]]);
19093
+ const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-63d96e84"]]);
18968
19094
 
18969
- const _hoisted_1$y = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
19095
+ const _hoisted_1$A = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
18970
19096
  const YEAR_PAGE_SIZE$1 = 15;
18971
19097
  const YEAR_GRID_COLS = 3;
18972
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
19098
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18973
19099
  __name: "DatePickerYearGrid",
18974
19100
  props: {
18975
19101
  modelValue: {},
@@ -19127,7 +19253,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19127
19253
  onClick: ($event) => selectYear(cell.year),
19128
19254
  onKeydown: ($event) => onKeydown($event, cell.year),
19129
19255
  onFocus: ($event) => focusedCell.value = cell.year
19130
- }, toDisplayString(cell.label), 43, _hoisted_1$y);
19256
+ }, toDisplayString(cell.label), 43, _hoisted_1$A);
19131
19257
  }), 128))
19132
19258
  ]);
19133
19259
  }), 128))
@@ -19136,10 +19262,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19136
19262
  }
19137
19263
  });
19138
19264
 
19139
- const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-270d55b9"]]);
19265
+ const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-270d55b9"]]);
19140
19266
 
19141
- const _hoisted_1$x = { class: "kds-date-picker" };
19142
- const _hoisted_2$j = { class: "kds-date-picker-header" };
19267
+ const _hoisted_1$z = { class: "kds-date-picker" };
19268
+ const _hoisted_2$k = { class: "kds-date-picker-header" };
19143
19269
  const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
19144
19270
  const _hoisted_4$d = {
19145
19271
  key: 1,
@@ -19151,7 +19277,7 @@ const _hoisted_6$4 = { class: "kds-date-picker-body" };
19151
19277
  const MONTHS_PER_YEAR = 12;
19152
19278
  const YEAR_PAGE_SIZE = 15;
19153
19279
  const REFERENCE_YEAR = 2024;
19154
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
19280
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
19155
19281
  __name: "KdsDatePicker",
19156
19282
  props: /* @__PURE__ */ mergeModels({
19157
19283
  minDate: {},
@@ -19347,10 +19473,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19347
19473
  });
19348
19474
  __expose({ focus });
19349
19475
  return (_ctx, _cache) => {
19350
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
19351
- createElementVNode("div", _hoisted_2$j, [
19476
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
19477
+ createElementVNode("div", _hoisted_2$k, [
19352
19478
  createElementVNode("div", _hoisted_3$f, [
19353
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1s, {
19479
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1v, {
19354
19480
  key: 0,
19355
19481
  variant: "transparent",
19356
19482
  size: "small",
@@ -19359,7 +19485,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19359
19485
  disabled: prevYearDisabled.value,
19360
19486
  onClick: onPrevYear
19361
19487
  }, null, 8, ["disabled"])) : createCommentVNode("", true),
19362
- createVNode(_sfc_main$1s, {
19488
+ createVNode(_sfc_main$1v, {
19363
19489
  variant: "transparent",
19364
19490
  size: "small",
19365
19491
  "leading-icon": "chevron-left",
@@ -19368,7 +19494,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19368
19494
  onClick: onPrev
19369
19495
  }, null, 8, ["ariaLabel", "disabled"])
19370
19496
  ]),
19371
- view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1s, {
19497
+ view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1v, {
19372
19498
  key: 0,
19373
19499
  class: "kds-date-picker-header-label",
19374
19500
  variant: "transparent",
@@ -19377,7 +19503,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19377
19503
  onClick: onHeaderLabelClick
19378
19504
  }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$d, toDisplayString(headerLabel.value), 1)),
19379
19505
  createElementVNode("div", _hoisted_5$6, [
19380
- createVNode(_sfc_main$1s, {
19506
+ createVNode(_sfc_main$1v, {
19381
19507
  variant: "transparent",
19382
19508
  size: "small",
19383
19509
  "leading-icon": "chevron-right",
@@ -19385,7 +19511,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19385
19511
  disabled: nextDisabled.value,
19386
19512
  onClick: onNext
19387
19513
  }, null, 8, ["ariaLabel", "disabled"]),
19388
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1s, {
19514
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1v, {
19389
19515
  key: 0,
19390
19516
  variant: "transparent",
19391
19517
  size: "small",
@@ -19437,7 +19563,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19437
19563
  }
19438
19564
  });
19439
19565
 
19440
- const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-e46d7e18"]]);
19566
+ const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e46d7e18"]]);
19441
19567
 
19442
19568
  const YEAR_END_INDEX = 4;
19443
19569
  const MONTH_START_INDEX = 4;
@@ -19540,7 +19666,7 @@ const useDateInputMask = (modelValue) => {
19540
19666
 
19541
19667
  const incompleteDateMessage = "Invalid date format. Please provide year (YYYY), month (MM), and day (DD).";
19542
19668
  const MONTH_NAME_SAMPLE_YEAR = 2001;
19543
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
19669
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19544
19670
  __name: "KdsDateInput",
19545
19671
  props: /* @__PURE__ */ mergeModels({
19546
19672
  description: {},
@@ -19669,7 +19795,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19669
19795
  onBlur: onTextInputBlur
19670
19796
  }), {
19671
19797
  trailing: withCtx(() => [
19672
- createVNode(_sfc_main$1p, {
19798
+ createVNode(_sfc_main$1s, {
19673
19799
  modelValue: popoverIsVisible.value,
19674
19800
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
19675
19801
  size: "xsmall",
@@ -19718,8 +19844,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19718
19844
  }
19719
19845
  });
19720
19846
 
19721
- const _hoisted_1$w = { class: "kds-date-time-format-popover" };
19722
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
19847
+ const _hoisted_1$y = { class: "kds-date-time-format-popover" };
19848
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19723
19849
  __name: "DateTimeFormatPopover",
19724
19850
  props: /* @__PURE__ */ mergeModels({
19725
19851
  allDefaultFormats: {},
@@ -19857,7 +19983,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
19857
19983
  }));
19858
19984
  });
19859
19985
  return (_ctx, _cache) => {
19860
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
19986
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
19861
19987
  modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
19862
19988
  key: 0,
19863
19989
  "model-value": effectiveSelectedMode.value,
@@ -19889,9 +20015,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
19889
20015
  }
19890
20016
  });
19891
20017
 
19892
- const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-8c697d02"]]);
20018
+ const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-8c697d02"]]);
19893
20019
 
19894
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
20020
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19895
20021
  __name: "KdsDateTimeFormatInput",
19896
20022
  props: /* @__PURE__ */ mergeModels({
19897
20023
  description: {},
@@ -19938,7 +20064,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19938
20064
  autocomplete: props.autocomplete
19939
20065
  }), {
19940
20066
  trailing: withCtx(() => [
19941
- createVNode(unref(_sfc_main$1p), {
20067
+ createVNode(unref(_sfc_main$1s), {
19942
20068
  modelValue: open.value,
19943
20069
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
19944
20070
  size: "xsmall",
@@ -19963,7 +20089,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19963
20089
  "aria-label": "Date time format selection dialog"
19964
20090
  }, {
19965
20091
  default: withCtx(() => [
19966
- createVNode(DateTimeFormatPopover, {
20092
+ open.value ? (openBlock(), createBlock(DateTimeFormatPopover, {
20093
+ key: 0,
19967
20094
  selection: modelValue.value,
19968
20095
  "all-default-formats": props.allDefaultFormats,
19969
20096
  "allowed-formats": props.allowedFormats,
@@ -19971,7 +20098,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19971
20098
  modelValue.value = $event;
19972
20099
  open.value = false;
19973
20100
  })
19974
- }, null, 8, ["selection", "all-default-formats", "allowed-formats"])
20101
+ }, null, 8, ["selection", "all-default-formats", "allowed-formats"])) : createCommentVNode("", true)
19975
20102
  ]),
19976
20103
  _: 1
19977
20104
  }, 8, ["modelValue"])
@@ -20024,7 +20151,7 @@ const buildRegexFromPatternInput = (input, options) => {
20024
20151
  return `^(?!.*${withCase}).*$`;
20025
20152
  };
20026
20153
 
20027
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
20154
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20028
20155
  __name: "KdsPatternInput",
20029
20156
  props: /* @__PURE__ */ mergeModels({
20030
20157
  description: {},
@@ -20107,7 +20234,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20107
20234
  clearable: ""
20108
20235
  }), {
20109
20236
  trailing: withCtx(() => [
20110
- createVNode(_sfc_main$1p, {
20237
+ createVNode(_sfc_main$1s, {
20111
20238
  modelValue: caseSensitive.value,
20112
20239
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
20113
20240
  size: "xsmall",
@@ -20117,7 +20244,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20117
20244
  ariaLabel: "Case sensitivity",
20118
20245
  disabled: __props.disabled
20119
20246
  }, null, 8, ["modelValue", "title", "disabled"]),
20120
- createVNode(_sfc_main$1p, {
20247
+ createVNode(_sfc_main$1s, {
20121
20248
  modelValue: excludeMatches.value,
20122
20249
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
20123
20250
  size: "xsmall",
@@ -20127,7 +20254,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20127
20254
  ariaLabel: "Exclude matches",
20128
20255
  disabled: __props.disabled
20129
20256
  }, null, 8, ["modelValue", "title", "disabled"]),
20130
- createVNode(_sfc_main$1p, {
20257
+ createVNode(_sfc_main$1s, {
20131
20258
  modelValue: useRegex.value,
20132
20259
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
20133
20260
  size: "xsmall",
@@ -20147,7 +20274,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20147
20274
  }
20148
20275
  });
20149
20276
 
20150
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
20277
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20151
20278
  __name: "KdsSearchInput",
20152
20279
  props: /* @__PURE__ */ mergeModels({
20153
20280
  description: {},
@@ -20192,7 +20319,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20192
20319
  const onFocus = (event) => {
20193
20320
  if (props.results) {
20194
20321
  resultsOpen.value = true;
20195
- listContainerEl.value?.handleFocus();
20196
20322
  }
20197
20323
  emit("focus", event);
20198
20324
  };
@@ -20206,7 +20332,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20206
20332
  const onClick = () => {
20207
20333
  if (props.results && !resultsOpen.value) {
20208
20334
  resultsOpen.value = true;
20209
- listContainerEl.value?.handleFocus();
20210
20335
  }
20211
20336
  };
20212
20337
  const maxHeightStyle = computed(() => {
@@ -20255,7 +20380,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20255
20380
  role: __props.results ? "combobox" : void 0,
20256
20381
  "aria-activedescendant": resultsOpen.value ? listContainerEl.value?.activeDescendant : void 0,
20257
20382
  "aria-haspopup": __props.results ? "listbox" : void 0,
20258
- "aria-controls": __props.results ? unref(resultsId) : void 0,
20383
+ "aria-controls": __props.results && resultsOpen.value ? unref(resultsId) : void 0,
20259
20384
  "aria-expanded": __props.results ? resultsOpen.value : void 0,
20260
20385
  onKeydown: onKeyDown,
20261
20386
  onFocus,
@@ -20273,7 +20398,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20273
20398
  "aria-label": "Search results container"
20274
20399
  }, {
20275
20400
  default: withCtx(() => [
20276
- createElementVNode("div", {
20401
+ resultsOpen.value ? (openBlock(), createElementBlock("div", {
20402
+ key: 0,
20277
20403
  class: "kds-search-results-container",
20278
20404
  style: normalizeStyle(maxHeightStyle.value)
20279
20405
  }, [
@@ -20289,7 +20415,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20289
20415
  "aria-label": "Search results list",
20290
20416
  onItemClick: onResultClick
20291
20417
  }, null, 8, ["id", "possible-values"])
20292
- ], 4)
20418
+ ], 4)) : createCommentVNode("", true)
20293
20419
  ]),
20294
20420
  _: 1
20295
20421
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -20300,11 +20426,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20300
20426
  }
20301
20427
  });
20302
20428
 
20303
- const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-aec3e3d0"]]);
20429
+ const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8930f00a"]]);
20304
20430
 
20305
- const _hoisted_1$v = ["rows", "placeholder", "disabled", "autocomplete"];
20431
+ const _hoisted_1$x = ["rows", "placeholder", "disabled", "autocomplete"];
20306
20432
  const DEFAULT_ROWS = 3;
20307
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
20433
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20308
20434
  __name: "KdsTextarea",
20309
20435
  props: /* @__PURE__ */ mergeModels({
20310
20436
  description: {},
@@ -20370,7 +20496,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20370
20496
  placeholder: __props.placeholder,
20371
20497
  disabled: __props.disabled,
20372
20498
  autocomplete: props.autocomplete
20373
- }), null, 16, _hoisted_1$v), [
20499
+ }), null, 16, _hoisted_1$x), [
20374
20500
  [vModelText, modelValue.value]
20375
20501
  ])
20376
20502
  ]),
@@ -20380,10 +20506,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20380
20506
  }
20381
20507
  });
20382
20508
 
20383
- const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-36211819"]]);
20509
+ const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-36211819"]]);
20384
20510
 
20385
- const _hoisted_1$u = { class: "kds-time-picker" };
20386
- const _hoisted_2$i = { class: "kds-time-picker-fields" };
20511
+ const _hoisted_1$w = { class: "kds-time-picker" };
20512
+ const _hoisted_2$j = { class: "kds-time-picker-fields" };
20387
20513
  const _hoisted_3$e = { class: "kds-time-picker-fields" };
20388
20514
  const _hoisted_4$c = {
20389
20515
  key: 0,
@@ -20401,7 +20527,7 @@ const MAX_HOUR = 23;
20401
20527
  const MAX_MINUTE = 59;
20402
20528
  const MAX_SECOND = 59;
20403
20529
  const MAX_MILLISECOND = 999;
20404
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
20530
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20405
20531
  __name: "TimePicker",
20406
20532
  props: /* @__PURE__ */ mergeModels({
20407
20533
  maxGranularity: {}
@@ -20487,9 +20613,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20487
20613
  };
20488
20614
  __expose({ focus });
20489
20615
  return (_ctx, _cache) => {
20490
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
20491
- createElementVNode("div", _hoisted_2$i, [
20492
- createVNode(_sfc_main$V, {
20616
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
20617
+ createElementVNode("div", _hoisted_2$j, [
20618
+ createVNode(_sfc_main$X, {
20493
20619
  ref: "hourInput",
20494
20620
  modelValue: hour.value,
20495
20621
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
@@ -20499,7 +20625,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20499
20625
  max: MAX_HOUR,
20500
20626
  step: 1
20501
20627
  }, null, 8, ["modelValue"]),
20502
- createVNode(_sfc_main$V, {
20628
+ createVNode(_sfc_main$X, {
20503
20629
  modelValue: minute.value,
20504
20630
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
20505
20631
  class: "kds-time-picker-field",
@@ -20515,7 +20641,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20515
20641
  })) : createCommentVNode("", true),
20516
20642
  showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
20517
20643
  createElementVNode("div", _hoisted_3$e, [
20518
- createVNode(_sfc_main$V, {
20644
+ createVNode(_sfc_main$X, {
20519
20645
  ref: "secondInput",
20520
20646
  modelValue: second.value,
20521
20647
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => second.value = $event),
@@ -20525,7 +20651,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20525
20651
  max: MAX_SECOND,
20526
20652
  step: 1
20527
20653
  }, null, 8, ["modelValue"]),
20528
- createVNode(_sfc_main$1s, {
20654
+ createVNode(_sfc_main$1v, {
20529
20655
  class: "kds-time-picker-field-trash",
20530
20656
  variant: "transparent",
20531
20657
  "leading-icon": "trash",
@@ -20535,7 +20661,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20535
20661
  })
20536
20662
  ]),
20537
20663
  showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
20538
- createVNode(_sfc_main$V, {
20664
+ createVNode(_sfc_main$X, {
20539
20665
  ref: "millisecondInput",
20540
20666
  modelValue: millisecond.value,
20541
20667
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => millisecond.value = $event),
@@ -20548,7 +20674,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20548
20674
  max: MAX_MILLISECOND,
20549
20675
  step: 1
20550
20676
  }, null, 8, ["modelValue"]),
20551
- createVNode(_sfc_main$1s, {
20677
+ createVNode(_sfc_main$1v, {
20552
20678
  class: "kds-time-picker-field-trash",
20553
20679
  variant: "transparent",
20554
20680
  "leading-icon": "trash",
@@ -20557,7 +20683,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20557
20683
  onClick: removeMilliseconds
20558
20684
  })
20559
20685
  ])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
20560
- createVNode(_sfc_main$1s, {
20686
+ createVNode(_sfc_main$1v, {
20561
20687
  variant: "outlined",
20562
20688
  size: "small",
20563
20689
  "leading-icon": "plus",
@@ -20566,7 +20692,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20566
20692
  })
20567
20693
  ])) : createCommentVNode("", true)
20568
20694
  ], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
20569
- createVNode(_sfc_main$1s, {
20695
+ createVNode(_sfc_main$1v, {
20570
20696
  variant: "outlined",
20571
20697
  size: "small",
20572
20698
  "leading-icon": "plus",
@@ -20579,7 +20705,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20579
20705
  }
20580
20706
  });
20581
20707
 
20582
- const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-c2bc1234"]]);
20708
+ const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-c2bc1234"]]);
20583
20709
 
20584
20710
  const HOURS_END_INDEX = 2;
20585
20711
  const MINUTES_START_INDEX = 2;
@@ -20789,7 +20915,7 @@ const useTimeInputMask = (modelValue, granularityRef) => {
20789
20915
  };
20790
20916
 
20791
20917
  const invalidTimeMessage = "The entered time is invalid.";
20792
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
20918
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20793
20919
  __name: "KdsTimeInput",
20794
20920
  props: /* @__PURE__ */ mergeModels({
20795
20921
  description: {},
@@ -20904,7 +21030,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
20904
21030
  onBlur: onTextInputBlur
20905
21031
  }), {
20906
21032
  trailing: withCtx(() => [
20907
- createVNode(_sfc_main$1p, {
21033
+ createVNode(_sfc_main$1s, {
20908
21034
  modelValue: popoverIsVisible.value,
20909
21035
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
20910
21036
  size: "xsmall",
@@ -21166,11 +21292,11 @@ const stripInactiveFields = (duration, usedFormat) => {
21166
21292
  };
21167
21293
  const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
21168
21294
 
21169
- const _hoisted_1$t = { class: "kds-interval-popover" };
21170
- const _hoisted_2$h = { class: "kds-interval-popover-header" };
21295
+ const _hoisted_1$v = { class: "kds-interval-popover" };
21296
+ const _hoisted_2$i = { class: "kds-interval-popover-header" };
21171
21297
  const _hoisted_3$d = { class: "kds-interval-popover-content" };
21172
21298
  const _hoisted_4$b = { class: "kds-interval-popover-grid" };
21173
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
21299
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21174
21300
  __name: "IntervalInputPopover",
21175
21301
  props: /* @__PURE__ */ mergeModels({
21176
21302
  format: {},
@@ -21264,8 +21390,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21264
21390
  }
21265
21391
  });
21266
21392
  return (_ctx, _cache) => {
21267
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
21268
- createElementVNode("div", _hoisted_2$h, [
21393
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
21394
+ createElementVNode("div", _hoisted_2$i, [
21269
21395
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
21270
21396
  props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
21271
21397
  key: 0,
@@ -21289,7 +21415,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21289
21415
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
21290
21416
  createElementVNode("div", _hoisted_4$b, [
21291
21417
  mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
21292
- return openBlock(), createBlock(unref(_sfc_main$V), {
21418
+ return openBlock(), createBlock(unref(_sfc_main$X), {
21293
21419
  key,
21294
21420
  "model-value": activeFields.value[key],
21295
21421
  label: fieldLabels[key] ?? unref(toTitleCase)(key),
@@ -21299,7 +21425,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21299
21425
  "onUpdate:modelValue": ($event) => updateField(key, $event)
21300
21426
  }, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
21301
21427
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(durationNumericKeys), (key) => {
21302
- return openBlock(), createBlock(unref(_sfc_main$V), {
21428
+ return openBlock(), createBlock(unref(_sfc_main$X), {
21303
21429
  key,
21304
21430
  "model-value": activeFields.value[key],
21305
21431
  label: fieldLabels[key] ?? unref(toTitleCase)(key),
@@ -21316,9 +21442,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21316
21442
  }
21317
21443
  });
21318
21444
 
21319
- const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-02541fd1"]]);
21445
+ const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-02541fd1"]]);
21320
21446
 
21321
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
21447
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
21322
21448
  __name: "KdsIntervalInput",
21323
21449
  props: /* @__PURE__ */ mergeModels({
21324
21450
  description: {},
@@ -21480,7 +21606,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21480
21606
  onKeydown: withKeys(withModifiers(commitTypedInput, ["prevent"]), ["enter"])
21481
21607
  }), {
21482
21608
  trailing: withCtx(() => [
21483
- createVNode(unref(_sfc_main$1p), {
21609
+ createVNode(unref(_sfc_main$1s), {
21484
21610
  modelValue: isPopoverOpen.value,
21485
21611
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopoverOpen.value = $event),
21486
21612
  size: "xsmall",
@@ -21509,14 +21635,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21509
21635
  "aria-label": "Interval selection dialog"
21510
21636
  }, {
21511
21637
  default: withCtx(() => [
21512
- createVNode(IntervalInputPopover, {
21638
+ isPopoverOpen.value ? (openBlock(), createBlock(IntervalInputPopover, {
21639
+ key: 0,
21513
21640
  modelValue: popoverModelValue.value,
21514
21641
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => popoverModelValue.value = $event),
21515
21642
  "used-format": activeFormat.value,
21516
21643
  "onUpdate:usedFormat": _cache[7] || (_cache[7] = ($event) => activeFormat.value = $event),
21517
21644
  format: __props.format,
21518
21645
  "allow-descending": __props.allowDescending
21519
- }, null, 8, ["modelValue", "used-format", "format", "allow-descending"])
21646
+ }, null, 8, ["modelValue", "used-format", "format", "allow-descending"])) : createCommentVNode("", true)
21520
21647
  ]),
21521
21648
  _: 1
21522
21649
  }, 8, ["modelValue"])
@@ -21528,8 +21655,115 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21528
21655
  }
21529
21656
  });
21530
21657
 
21531
- const _hoisted_1$s = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
21532
- const _hoisted_2$g = {
21658
+ const _hoisted_1$u = { class: "kds-date-time-input" };
21659
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21660
+ __name: "KdsDateTimeInput",
21661
+ props: /* @__PURE__ */ mergeModels({
21662
+ id: {},
21663
+ label: {},
21664
+ ariaLabel: {},
21665
+ description: {},
21666
+ subText: {},
21667
+ error: { type: Boolean, default: false },
21668
+ validating: { type: Boolean, default: false },
21669
+ preserveSubTextSpace: { type: Boolean },
21670
+ disabled: { type: Boolean, default: false },
21671
+ minDate: {},
21672
+ maxDate: {},
21673
+ maxGranularity: { default: "minute" }
21674
+ }, {
21675
+ "modelValue": {
21676
+ default: null
21677
+ },
21678
+ "modelModifiers": {},
21679
+ "granularity": {
21680
+ default: "minute"
21681
+ },
21682
+ "granularityModifiers": {}
21683
+ }),
21684
+ emits: ["update:modelValue", "update:granularity"],
21685
+ setup(__props, { expose: __expose }) {
21686
+ const modelValue = useModel(__props, "modelValue");
21687
+ const granularity = useModel(__props, "granularity");
21688
+ const dateInput = useTemplateRef("dateInput");
21689
+ const timeInput = useTemplateRef("timeInput");
21690
+ const datePart = computed({
21691
+ get: () => modelValue.value?.toPlainDate() ?? null,
21692
+ set: (value) => {
21693
+ const time = modelValue.value?.toPlainTime() ?? null;
21694
+ if (value === null && time === null) {
21695
+ modelValue.value = null;
21696
+ return;
21697
+ }
21698
+ const d = value ?? Un.PlainDate.from("1970-01-01");
21699
+ const t = time ?? Un.PlainTime.from("00:00:00");
21700
+ modelValue.value = d.toPlainDateTime(t);
21701
+ }
21702
+ });
21703
+ const timePart = computed({
21704
+ get: () => modelValue.value?.toPlainTime() ?? null,
21705
+ set: (value) => {
21706
+ const date = modelValue.value?.toPlainDate() ?? null;
21707
+ if (date === null && value === null) {
21708
+ modelValue.value = null;
21709
+ return;
21710
+ }
21711
+ const d = date ?? Un.PlainDate.from("1970-01-01");
21712
+ const t = value ?? Un.PlainTime.from("00:00:00");
21713
+ modelValue.value = d.toPlainDateTime(t);
21714
+ }
21715
+ });
21716
+ __expose({
21717
+ focus: (options) => dateInput.value?.focus(options)
21718
+ });
21719
+ return (_ctx, _cache) => {
21720
+ return openBlock(), createBlock(BaseFieldsetWrapper, {
21721
+ id: __props.id,
21722
+ label: __props.label,
21723
+ "aria-label": __props.ariaLabel,
21724
+ description: __props.description,
21725
+ "sub-text": __props.subText,
21726
+ error: __props.error,
21727
+ validating: __props.validating,
21728
+ "preserve-sub-text-space": __props.preserveSubTextSpace
21729
+ }, {
21730
+ default: withCtx(() => [
21731
+ createElementVNode("div", _hoisted_1$u, [
21732
+ createVNode(_sfc_main$N, {
21733
+ ref_key: "dateInput",
21734
+ ref: dateInput,
21735
+ "aria-label": "Date",
21736
+ "model-value": datePart.value,
21737
+ disabled: __props.disabled,
21738
+ error: __props.error,
21739
+ "min-date": __props.minDate,
21740
+ "max-date": __props.maxDate,
21741
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => datePart.value = $event)
21742
+ }, null, 8, ["model-value", "disabled", "error", "min-date", "max-date"]),
21743
+ createVNode(_sfc_main$G, {
21744
+ ref_key: "timeInput",
21745
+ ref: timeInput,
21746
+ "aria-label": "Time",
21747
+ "model-value": timePart.value,
21748
+ granularity: granularity.value,
21749
+ "max-granularity": __props.maxGranularity,
21750
+ disabled: __props.disabled,
21751
+ error: __props.error,
21752
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => timePart.value = $event),
21753
+ "onUpdate:granularity": _cache[2] || (_cache[2] = ($event) => granularity.value = $event)
21754
+ }, null, 8, ["model-value", "granularity", "max-granularity", "disabled", "error"])
21755
+ ])
21756
+ ]),
21757
+ _: 1
21758
+ }, 8, ["id", "label", "aria-label", "description", "sub-text", "error", "validating", "preserve-sub-text-space"]);
21759
+ };
21760
+ }
21761
+ });
21762
+
21763
+ const KdsDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-f2ad3cef"]]);
21764
+
21765
+ const _hoisted_1$t = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
21766
+ const _hoisted_2$h = {
21533
21767
  key: 0,
21534
21768
  class: "leading",
21535
21769
  "aria-hidden": "true"
@@ -21540,7 +21774,7 @@ const _hoisted_4$a = {
21540
21774
  "aria-hidden": "true"
21541
21775
  };
21542
21776
  const TRIGGER_REF = "triggerEl";
21543
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
21777
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21544
21778
  __name: "BaseDropdown",
21545
21779
  props: /* @__PURE__ */ mergeModels({
21546
21780
  text: {},
@@ -21620,8 +21854,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21620
21854
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
21621
21855
  onKeydown
21622
21856
  }, [
21623
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
21624
- createVNode(_sfc_main$1n, {
21857
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$h, [
21858
+ createVNode(_sfc_main$1q, {
21625
21859
  accessory: props.accessory,
21626
21860
  size: "medium"
21627
21861
  }, null, 8, ["accessory"])
@@ -21639,21 +21873,21 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21639
21873
  size: "small"
21640
21874
  }, null, 8, ["name"])
21641
21875
  ])
21642
- ], 42, _hoisted_1$s);
21876
+ ], 42, _hoisted_1$t);
21643
21877
  };
21644
21878
  }
21645
21879
  });
21646
21880
 
21647
- const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1bb2d375"]]);
21881
+ const BaseDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1bb2d375"]]);
21648
21882
 
21649
21883
  const DROPDOWN_SEARCH_THRESHOLD = 12;
21650
21884
 
21651
- const _hoisted_1$r = { class: "kds-dropdown-container" };
21652
- const _hoisted_2$f = {
21885
+ const _hoisted_1$s = { class: "kds-dropdown-container" };
21886
+ const _hoisted_2$g = {
21653
21887
  key: 0,
21654
21888
  class: "kds-dropdown-container-sticky-top"
21655
21889
  };
21656
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
21890
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21657
21891
  __name: "DropdownContainer",
21658
21892
  props: /* @__PURE__ */ mergeModels({
21659
21893
  emptyText: {},
@@ -21737,8 +21971,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21737
21971
  }
21738
21972
  });
21739
21973
  return (_ctx, _cache) => {
21740
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
21741
- searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
21974
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
21975
+ searchable.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
21742
21976
  createVNode(BaseInput, {
21743
21977
  ref_key: "searchEl",
21744
21978
  ref: searchEl,
@@ -21770,9 +22004,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21770
22004
  }
21771
22005
  });
21772
22006
 
21773
- const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-0a6ce241"]]);
22007
+ const DropdownContainer = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-0a6ce241"]]);
21774
22008
 
21775
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
22009
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21776
22010
  __name: "KdsDropdown",
21777
22011
  props: /* @__PURE__ */ mergeModels({
21778
22012
  placeholder: { default: "Select" },
@@ -21802,9 +22036,20 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21802
22036
  const selectedOption = computed(
21803
22037
  () => props.possibleValues.find((o) => o.id === modelValue.value)
21804
22038
  );
21805
- watchEffect(() => {
22039
+ watchEffect((onCleanup) => {
21806
22040
  if (open.value) {
21807
- nextTick(() => dropdownContainerEl.value?.focus());
22041
+ if (dropdownContainerEl.value) {
22042
+ dropdownContainerEl.value.focus();
22043
+ return;
22044
+ }
22045
+ const stop = watch(
22046
+ dropdownContainerEl,
22047
+ (el) => {
22048
+ el?.focus();
22049
+ },
22050
+ { once: true }
22051
+ );
22052
+ onCleanup(stop);
21808
22053
  }
21809
22054
  });
21810
22055
  const closeDropdown = () => {
@@ -21855,7 +22100,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21855
22100
  "aria-label": "Dropdown menu"
21856
22101
  }, {
21857
22102
  default: withCtx(() => [
21858
- createVNode(DropdownContainer, {
22103
+ open.value ? (openBlock(), createBlock(DropdownContainer, {
22104
+ key: 0,
21859
22105
  ref_key: "dropdownContainerEl",
21860
22106
  ref: dropdownContainerEl,
21861
22107
  modelValue: modelValue.value,
@@ -21864,7 +22110,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21864
22110
  loading: __props.loading,
21865
22111
  "empty-text": "No entries found",
21866
22112
  onSelect: closeDropdown
21867
- }, null, 8, ["modelValue", "possible-values", "loading"])
22113
+ }, null, 8, ["modelValue", "possible-values", "loading"])) : createCommentVNode("", true)
21868
22114
  ]),
21869
22115
  _: 1
21870
22116
  }, 8, ["modelValue"])
@@ -21875,6 +22121,159 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21875
22121
  }
21876
22122
  });
21877
22123
 
22124
+ const _hoisted_1$r = { class: "kds-zoned-date-time-input" };
22125
+ const _hoisted_2$f = { class: "date-time-row" };
22126
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22127
+ __name: "KdsZonedDateTimeInput",
22128
+ props: /* @__PURE__ */ mergeModels({
22129
+ id: {},
22130
+ label: {},
22131
+ ariaLabel: {},
22132
+ description: {},
22133
+ subText: {},
22134
+ error: { type: Boolean, default: false },
22135
+ validating: { type: Boolean, default: false },
22136
+ preserveSubTextSpace: { type: Boolean },
22137
+ disabled: { type: Boolean, default: false },
22138
+ maxGranularity: { default: "minute" },
22139
+ possibleValues: {}
22140
+ }, {
22141
+ "modelValue": {
22142
+ default: null
22143
+ },
22144
+ "modelModifiers": {},
22145
+ "granularity": {
22146
+ default: "minute"
22147
+ },
22148
+ "granularityModifiers": {}
22149
+ }),
22150
+ emits: ["update:modelValue", "update:granularity"],
22151
+ setup(__props, { expose: __expose }) {
22152
+ const modelValue = useModel(__props, "modelValue");
22153
+ const granularity = useModel(__props, "granularity");
22154
+ const dateInput = useTemplateRef("dateInput");
22155
+ const timeInput = useTemplateRef("timeInput");
22156
+ const datePart = computed({
22157
+ get: () => modelValue.value?.toPlainDate() ?? null,
22158
+ set: (value) => {
22159
+ const time = modelValue.value?.toPlainTime() ?? null;
22160
+ const timeZone = modelValue.value?.timeZoneId ?? "";
22161
+ if (value === null && time === null) {
22162
+ modelValue.value = null;
22163
+ return;
22164
+ }
22165
+ const d = value ?? Un.PlainDate.from("1970-01-01");
22166
+ const t = time ?? Un.PlainTime.from("00:00:00");
22167
+ const dt = d.toPlainDateTime(t);
22168
+ if (timeZone) {
22169
+ try {
22170
+ modelValue.value = dt.toZonedDateTime(timeZone);
22171
+ return;
22172
+ } catch {
22173
+ }
22174
+ }
22175
+ modelValue.value = dt.toZonedDateTime("UTC");
22176
+ }
22177
+ });
22178
+ const timePart = computed({
22179
+ get: () => modelValue.value?.toPlainTime() ?? null,
22180
+ set: (value) => {
22181
+ const date = modelValue.value?.toPlainDate() ?? null;
22182
+ const timeZone = modelValue.value?.timeZoneId ?? "";
22183
+ if (date === null && value === null) {
22184
+ modelValue.value = null;
22185
+ return;
22186
+ }
22187
+ const d = date ?? Un.PlainDate.from("1970-01-01");
22188
+ const t = value ?? Un.PlainTime.from("00:00:00");
22189
+ const dt = d.toPlainDateTime(t);
22190
+ if (timeZone) {
22191
+ try {
22192
+ modelValue.value = dt.toZonedDateTime(timeZone);
22193
+ return;
22194
+ } catch {
22195
+ }
22196
+ }
22197
+ modelValue.value = dt.toZonedDateTime("UTC");
22198
+ }
22199
+ });
22200
+ const timeZonePart = computed({
22201
+ get: () => modelValue.value?.timeZoneId ?? "",
22202
+ set: (timeZone) => {
22203
+ if (!timeZone) {
22204
+ return;
22205
+ }
22206
+ const date = modelValue.value?.toPlainDate() ?? null;
22207
+ const time = modelValue.value?.toPlainTime() ?? null;
22208
+ if (date === null && time === null) {
22209
+ return;
22210
+ }
22211
+ const d = date ?? Un.PlainDate.from("1970-01-01");
22212
+ const t = time ?? Un.PlainTime.from("00:00:00");
22213
+ const dt = d.toPlainDateTime(t);
22214
+ try {
22215
+ modelValue.value = dt.toZonedDateTime(timeZone);
22216
+ } catch {
22217
+ }
22218
+ }
22219
+ });
22220
+ __expose({
22221
+ focus: (options) => dateInput.value?.focus(options)
22222
+ });
22223
+ return (_ctx, _cache) => {
22224
+ return openBlock(), createBlock(BaseFieldsetWrapper, {
22225
+ id: __props.id,
22226
+ label: __props.label,
22227
+ "aria-label": __props.ariaLabel,
22228
+ description: __props.description,
22229
+ "sub-text": __props.subText,
22230
+ error: __props.error,
22231
+ validating: __props.validating,
22232
+ "preserve-sub-text-space": __props.preserveSubTextSpace
22233
+ }, {
22234
+ default: withCtx(() => [
22235
+ createElementVNode("div", _hoisted_1$r, [
22236
+ createElementVNode("div", _hoisted_2$f, [
22237
+ createVNode(_sfc_main$N, {
22238
+ ref_key: "dateInput",
22239
+ ref: dateInput,
22240
+ "aria-label": "Date",
22241
+ "model-value": datePart.value,
22242
+ disabled: __props.disabled,
22243
+ error: __props.error,
22244
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => datePart.value = $event)
22245
+ }, null, 8, ["model-value", "disabled", "error"]),
22246
+ createVNode(_sfc_main$G, {
22247
+ ref_key: "timeInput",
22248
+ ref: timeInput,
22249
+ "aria-label": "Time",
22250
+ "model-value": timePart.value,
22251
+ granularity: granularity.value,
22252
+ "max-granularity": __props.maxGranularity,
22253
+ disabled: __props.disabled,
22254
+ error: __props.error,
22255
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => timePart.value = $event),
22256
+ "onUpdate:granularity": _cache[2] || (_cache[2] = ($event) => granularity.value = $event)
22257
+ }, null, 8, ["model-value", "granularity", "max-granularity", "disabled", "error"])
22258
+ ]),
22259
+ createVNode(_sfc_main$A, {
22260
+ modelValue: timeZonePart.value,
22261
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => timeZonePart.value = $event),
22262
+ "possible-values": __props.possibleValues ?? [],
22263
+ disabled: __props.disabled,
22264
+ error: __props.error,
22265
+ ariaLabel: "Timezone"
22266
+ }, null, 8, ["modelValue", "possible-values", "disabled", "error"])
22267
+ ])
22268
+ ]),
22269
+ _: 1
22270
+ }, 8, ["id", "label", "aria-label", "description", "sub-text", "error", "validating", "preserve-sub-text-space"]);
22271
+ };
22272
+ }
22273
+ });
22274
+
22275
+ const KdsZonedDateTimeInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7dcebccd"]]);
22276
+
21878
22277
  const _hoisted_1$q = ["disabled"];
21879
22278
  const _hoisted_2$e = ["title"];
21880
22279
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
@@ -22120,9 +22519,20 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22120
22519
  const dropdownContainerEl = useTemplateRef("dropdownContainerEl");
22121
22520
  const popoverEl = useTemplateRef("popoverEl");
22122
22521
  const baseDropdownEl = useTemplateRef("baseDropdownEl");
22123
- watchEffect(() => {
22522
+ watchEffect((onCleanup) => {
22124
22523
  if (open.value) {
22125
- nextTick(() => dropdownContainerEl.value?.focus());
22524
+ if (dropdownContainerEl.value) {
22525
+ dropdownContainerEl.value.focus();
22526
+ return;
22527
+ }
22528
+ const stop = watch(
22529
+ dropdownContainerEl,
22530
+ (el) => {
22531
+ el?.focus();
22532
+ },
22533
+ { once: true }
22534
+ );
22535
+ onCleanup(stop);
22126
22536
  }
22127
22537
  });
22128
22538
  const addedOptions = ref([]);
@@ -22202,7 +22612,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22202
22612
  "aria-label": "Multi select dropdown options"
22203
22613
  }, {
22204
22614
  default: withCtx(() => [
22205
- createVNode(MultiSelectDropdownContainer, {
22615
+ open.value ? (openBlock(), createBlock(MultiSelectDropdownContainer, {
22616
+ key: 0,
22206
22617
  ref_key: "dropdownContainerEl",
22207
22618
  ref: dropdownContainerEl,
22208
22619
  modelValue: modelValue.value,
@@ -22212,7 +22623,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22212
22623
  "allow-new-values": __props.allowNewValues,
22213
22624
  "empty-text": "No entries found",
22214
22625
  onAddValue
22215
- }, null, 8, ["modelValue", "possible-values", "loading", "allow-new-values"])
22626
+ }, null, 8, ["modelValue", "possible-values", "loading", "allow-new-values"])) : createCommentVNode("", true)
22216
22627
  ]),
22217
22628
  _: 1
22218
22629
  }, 8, ["modelValue"])
@@ -23188,7 +23599,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23188
23599
  }, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
23189
23600
  ]),
23190
23601
  createElementVNode("div", _hoisted_5$4, [
23191
- createVNode(unref(_sfc_main$1s), {
23602
+ createVNode(unref(_sfc_main$1v), {
23192
23603
  "leading-icon": "chevron-right",
23193
23604
  ariaLabel: "Move selected values right",
23194
23605
  title: "Move selected values right",
@@ -23197,7 +23608,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23197
23608
  disabled: effectiveDisabled.value || leftSelected.value.length === 0,
23198
23609
  onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
23199
23610
  }, null, 8, ["disabled"]),
23200
- createVNode(unref(_sfc_main$1s), {
23611
+ createVNode(unref(_sfc_main$1v), {
23201
23612
  "leading-icon": "chevron-right-double",
23202
23613
  ariaLabel: "Move all values right",
23203
23614
  title: "Move all values right",
@@ -23209,7 +23620,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23209
23620
  ...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
23210
23621
  ]))
23211
23622
  }, null, 8, ["disabled"]),
23212
- createVNode(unref(_sfc_main$1s), {
23623
+ createVNode(unref(_sfc_main$1v), {
23213
23624
  "leading-icon": "chevron-left",
23214
23625
  ariaLabel: "Move selected values left",
23215
23626
  title: "Move selected values left",
@@ -23218,7 +23629,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23218
23629
  disabled: effectiveDisabled.value || rightSelected.value.length === 0,
23219
23630
  onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
23220
23631
  }, null, 8, ["disabled"]),
23221
- createVNode(unref(_sfc_main$1s), {
23632
+ createVNode(unref(_sfc_main$1v), {
23222
23633
  "leading-icon": "chevron-left-double",
23223
23634
  ariaLabel: "Move all values left",
23224
23635
  title: "Move all values left",
@@ -23346,7 +23757,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
23346
23757
  ariaLabel: "Search values",
23347
23758
  placeholder: "Search",
23348
23759
  disabled: __props.disabled
23349
- }, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$I), {
23760
+ }, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$K), {
23350
23761
  key: 2,
23351
23762
  modelValue: pattern.value,
23352
23763
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
@@ -23671,7 +24082,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23671
24082
  createElementVNode("div", _hoisted_1$j, [
23672
24083
  createElementVNode("div", _hoisted_2$9, [
23673
24084
  createElementVNode("div", _hoisted_3$8, [
23674
- createVNode(_sfc_main$1s, {
24085
+ createVNode(_sfc_main$1v, {
23675
24086
  size: "small",
23676
24087
  variant: "transparent",
23677
24088
  "leading-icon": "sort-descending",
@@ -23679,7 +24090,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23679
24090
  disabled: __props.disabled,
23680
24091
  onClick: _cache[0] || (_cache[0] = ($event) => applyReorder(unref(sortByText)(true, optionLookup.value)))
23681
24092
  }, null, 8, ["disabled"]),
23682
- createVNode(_sfc_main$1s, {
24093
+ createVNode(_sfc_main$1v, {
23683
24094
  size: "small",
23684
24095
  variant: "transparent",
23685
24096
  "leading-icon": "sort-ascending",
@@ -23688,7 +24099,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23688
24099
  onClick: _cache[1] || (_cache[1] = ($event) => applyReorder(unref(sortByText)(false, optionLookup.value)))
23689
24100
  }, null, 8, ["disabled"])
23690
24101
  ]),
23691
- createVNode(_sfc_main$1s, {
24102
+ createVNode(_sfc_main$1v, {
23692
24103
  size: "small",
23693
24104
  variant: "transparent",
23694
24105
  destructive: "",
@@ -23710,7 +24121,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23710
24121
  /* fallback only for TS */
23711
24122
  }, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
23712
24123
  createElementVNode("div", _hoisted_4$7, [
23713
- createVNode(_sfc_main$1s, {
24124
+ createVNode(_sfc_main$1v, {
23714
24125
  size: "small",
23715
24126
  variant: "transparent",
23716
24127
  "leading-icon": "to-top",
@@ -23719,7 +24130,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23719
24130
  disabled: __props.disabled || !unref(canMoveUp),
23720
24131
  onClick: moveToTop
23721
24132
  }, null, 8, ["disabled"]),
23722
- createVNode(_sfc_main$1s, {
24133
+ createVNode(_sfc_main$1v, {
23723
24134
  size: "small",
23724
24135
  variant: "transparent",
23725
24136
  "leading-icon": "to-bottom",
@@ -23728,7 +24139,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23728
24139
  disabled: __props.disabled || !unref(canMoveDown),
23729
24140
  onClick: moveToBottom
23730
24141
  }, null, 8, ["disabled"]),
23731
- createVNode(_sfc_main$1s, {
24142
+ createVNode(_sfc_main$1v, {
23732
24143
  size: "small",
23733
24144
  variant: "transparent",
23734
24145
  "leading-icon": "arrow-up",
@@ -23737,7 +24148,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23737
24148
  disabled: __props.disabled || !unref(canMoveUp),
23738
24149
  onClick: moveUp
23739
24150
  }, null, 8, ["disabled"]),
23740
- createVNode(_sfc_main$1s, {
24151
+ createVNode(_sfc_main$1v, {
23741
24152
  size: "small",
23742
24153
  variant: "transparent",
23743
24154
  "leading-icon": "arrow-down",
@@ -23832,14 +24243,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23832
24243
  "aria-label": "Description"
23833
24244
  }, {
23834
24245
  default: withCtx(() => [
23835
- createVNode(InfoPopover, {
24246
+ modelValue.value ? (openBlock(), createBlock(InfoPopover, {
24247
+ key: 0,
23836
24248
  content: props.content
23837
24249
  }, {
23838
24250
  default: withCtx(() => [
23839
24251
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
23840
24252
  ]),
23841
24253
  _: 3
23842
- }, 8, ["content"])
24254
+ }, 8, ["content"])) : createCommentVNode("", true)
23843
24255
  ]),
23844
24256
  _: 3
23845
24257
  }, 8, ["modelValue"])
@@ -23848,7 +24260,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23848
24260
  }
23849
24261
  });
23850
24262
 
23851
- const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-2e9ef96a"]]);
24263
+ const KdsInfoToggleButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-67a8974e"]]);
23852
24264
 
23853
24265
  const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
23854
24266
  __proto__: null,
@@ -24558,10 +24970,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24558
24970
  id: unref(headlineId),
24559
24971
  class: "kds-panel-headline"
24560
24972
  }, [
24561
- typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$4, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1s, mergeProps({ key: 1 }, __props.headline.props, {
24973
+ typeof __props.headline === "string" ? (openBlock(), createElementBlock("h6", _hoisted_4$4, toDisplayString(__props.headline), 1)) : __props.headline.type === "button" ? (openBlock(), createBlock(_sfc_main$1v, mergeProps({ key: 1 }, __props.headline.props, {
24562
24974
  size: "small",
24563
24975
  onClick: __props.headline.onClick
24564
- }), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1h, mergeProps({ key: 2 }, __props.headline.props, {
24976
+ }), null, 16, ["onClick"])) : __props.headline.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1k, mergeProps({ key: 2 }, __props.headline.props, {
24565
24977
  size: "small",
24566
24978
  onItemClick: __props.headline.onItemClick
24567
24979
  }), null, 16, ["onItemClick"])) : createCommentVNode("", true)
@@ -24569,19 +24981,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24569
24981
  __props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
24570
24982
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
24571
24983
  return openBlock(), createElementBlock(Fragment, { key: index }, [
24572
- action.type === "button" ? (openBlock(), createBlock(_sfc_main$1s, mergeProps({
24984
+ action.type === "button" ? (openBlock(), createBlock(_sfc_main$1v, mergeProps({
24573
24985
  key: 0,
24574
24986
  ref_for: true
24575
24987
  }, action.props, {
24576
24988
  size: "small",
24577
24989
  onClick: action.onClick
24578
- }), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1p, mergeProps({
24990
+ }), null, 16, ["onClick"])) : action.type === "toggleButton" ? (openBlock(), createBlock(_sfc_main$1s, mergeProps({
24579
24991
  key: 1,
24580
24992
  ref_for: true
24581
24993
  }, action.props, {
24582
24994
  size: "small",
24583
24995
  "onUpdate:modelValue": action.onUpdateModelValue
24584
- }), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1h, mergeProps({
24996
+ }), null, 16, ["onUpdate:modelValue"])) : action.type === "menuButton" ? (openBlock(), createBlock(_sfc_main$1k, mergeProps({
24585
24997
  key: 2,
24586
24998
  ref_for: true
24587
24999
  }, action.props, {
@@ -24610,7 +25022,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24610
25022
  __props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
24611
25023
  createElementVNode("div", _hoisted_8, [
24612
25024
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
24613
- return openBlock(), createBlock(_sfc_main$1s, mergeProps({
25025
+ return openBlock(), createBlock(_sfc_main$1v, mergeProps({
24614
25026
  key: `leading-${index}`
24615
25027
  }, { ref_for: true }, action.props, {
24616
25028
  onClick: action.onClick
@@ -24619,7 +25031,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24619
25031
  ]),
24620
25032
  createElementVNode("div", _hoisted_9, [
24621
25033
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
24622
- return openBlock(), createBlock(_sfc_main$1s, mergeProps({
25034
+ return openBlock(), createBlock(_sfc_main$1v, mergeProps({
24623
25035
  key: `trailing-${index}`
24624
25036
  }, { ref_for: true }, action.props, {
24625
25037
  onClick: action.onClick
@@ -25170,7 +25582,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
25170
25582
  disabled: __props.disabled
25171
25583
  }, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
25172
25584
  __props.badge ? (openBlock(), createBlock(unref(KdsBadge), mergeProps({ key: 1 }, __props.badge, { size: "xxsmall" }), null, 16)) : createCommentVNode("", true),
25173
- __props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1s), mergeProps({ key: 2 }, __props.trailingButton, {
25585
+ __props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1v), mergeProps({ key: 2 }, __props.trailingButton, {
25174
25586
  size: "xsmall",
25175
25587
  onClick: onButtonClick
25176
25588
  }), null, 16)) : createCommentVNode("", true)
@@ -25533,7 +25945,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25533
25945
  size: "medium"
25534
25946
  }, null, 8, ["name"])) : createCommentVNode("", true),
25535
25947
  createElementVNode("div", _hoisted_2$2, toDisplayString(__props.headline), 1),
25536
- createVNode(_sfc_main$1s, {
25948
+ createVNode(_sfc_main$1v, {
25537
25949
  "leading-icon": "x-close",
25538
25950
  variant: "transparent",
25539
25951
  size: "medium",
@@ -25806,7 +26218,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
25806
26218
  unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$2, [
25807
26219
  createElementVNode("div", _hoisted_2$1, toDisplayString(unref(config).value.message), 1),
25808
26220
  unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
25809
- createVNode(_sfc_main$10, {
26221
+ createVNode(_sfc_main$13, {
25810
26222
  modelValue: askAgain.value,
25811
26223
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
25812
26224
  label: unref(config).value.doNotAskAgain.label,
@@ -25821,7 +26233,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
25821
26233
  name: "footer",
25822
26234
  fn: withCtx(() => [
25823
26235
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
25824
- return openBlock(), createBlock(_sfc_main$1s, {
26236
+ return openBlock(), createBlock(_sfc_main$1v, {
25825
26237
  key: index,
25826
26238
  destructive: button.destructive,
25827
26239
  autofocus: button.autofocus,
@@ -25949,7 +26361,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25949
26361
  return openBlock(), createElementBlock(Fragment, null, [
25950
26362
  createElementVNode("div", _hoisted_1$1, [
25951
26363
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button) => {
25952
- return openBlock(), createBlock(_sfc_main$1s, {
26364
+ return openBlock(), createBlock(_sfc_main$1v, {
25953
26365
  ref_for: true,
25954
26366
  ref: "measureButton",
25955
26367
  key: button.id,
@@ -25958,7 +26370,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25958
26370
  "leading-icon": button.leadingIcon
25959
26371
  }, null, 8, ["label", "variant", "leading-icon"]);
25960
26372
  }), 128)),
25961
- createVNode(_sfc_main$1h, {
26373
+ createVNode(_sfc_main$1k, {
25962
26374
  ref: "measureMenuButton",
25963
26375
  "leading-icon": "more-actions",
25964
26376
  ariaLabel: "More actions",
@@ -25969,7 +26381,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25969
26381
  class: ["kds-button-group", __props.alignment]
25970
26382
  }), [
25971
26383
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleButtons.value, (button) => {
25972
- return openBlock(), createBlock(_sfc_main$1s, {
26384
+ return openBlock(), createBlock(_sfc_main$1v, {
25973
26385
  key: button.id,
25974
26386
  label: button.label,
25975
26387
  variant: button.variant ?? "outlined",
@@ -25980,7 +26392,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25980
26392
  onClick: ($event) => emit("buttonClick", button.id)
25981
26393
  }, null, 8, ["label", "variant", "disabled", "leading-icon", "destructive", "title", "onClick"]);
25982
26394
  }), 128)),
25983
- overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$1h, {
26395
+ overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$1k, {
25984
26396
  key: 0,
25985
26397
  "leading-icon": "more-actions",
25986
26398
  ariaLabel: "More actions",
@@ -26034,5 +26446,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26034
26446
 
26035
26447
  const KdsDescription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ed6ba7bb"]]);
26036
26448
 
26037
- export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, KdsBreadcrumb, _sfc_main$1s as KdsButton, _sfc_main$h as KdsCard, _sfc_main$10 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$S as KdsColorInput, KdsColorSwatch, _sfc_main$1c as KdsContextMenu, KdsDataType, _sfc_main$L as KdsDateInput, _sfc_main$J as KdsDateTimeFormatInput, KdsDescription, KdsDivider, KdsDonutChart, _sfc_main$z as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsFileExplorer, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$C as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1r as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$1d as KdsMenu, _sfc_main$1h as KdsMenuButton, KdsMissingValueIcon, KdsModal, KdsModalLayout, _sfc_main$w as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$V as KdsNumberInput, KdsPanel, _sfc_main$R as KdsPasswordInput, _sfc_main$I as KdsPatternInput, KdsPopover, KdsPreviewList, KdsProgressBar, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$E as KdsTimeInput, _sfc_main$1p as KdsToggleButton, KdsTwinList, _sfc_main$Q 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, kdsFileExplorerDraggingAnimationMode, kdsFileExplorerDraggingAnimationModes, kdsFileExplorerSize, kdsFileExplorerSizes, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPanelBodyOverflow, kdsPanelBodyOverflows, kdsPanelBodyVariant, kdsPanelBodyVariants, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsPopoverPlacement, kdsPopoverPlacements, kdsPopoverRole, kdsPopoverRoles, kdsPopoverType, kdsPopoverTypes, kdsProgressBarSize, kdsProgressBarSizes, 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 };
26449
+ export { KdsAccordion, KdsAvatar, KdsAvatarCounter, KdsBadge, KdsBreadcrumb, _sfc_main$1v as KdsButton, _sfc_main$h as KdsCard, _sfc_main$13 as KdsCheckbox, KdsCheckboxGroup, KdsClickableCard, _sfc_main$U as KdsColorInput, KdsColorSwatch, _sfc_main$1f as KdsContextMenu, KdsDataType, _sfc_main$N as KdsDateInput, _sfc_main$L as KdsDateTimeFormatInput, KdsDateTimeInput, KdsDescription, KdsDivider, KdsDonutChart, _sfc_main$A as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsFileExplorer, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$E as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1u as KdsLinkButton, KdsLinkCard, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$1g as KdsMenu, _sfc_main$1k as KdsMenuButton, KdsMissingValueIcon, KdsModal, KdsModalLayout, _sfc_main$w as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$X as KdsNumberInput, KdsPanel, _sfc_main$T as KdsPasswordInput, _sfc_main$K as KdsPatternInput, KdsPopover, KdsPreviewList, KdsProgressBar, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSelectableCard, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$G as KdsTimeInput, _sfc_main$1s as KdsToggleButton, KdsToggleSwitch, KdsTwinList, _sfc_main$S as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, KdsZonedDateTimeInput, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsFileExplorerDraggingAnimationMode, kdsFileExplorerDraggingAnimationModes, kdsFileExplorerSize, kdsFileExplorerSizes, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPanelBodyOverflow, kdsPanelBodyOverflows, kdsPanelBodyVariant, kdsPanelBodyVariants, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsPopoverPlacement, kdsPopoverPlacements, kdsPopoverRole, kdsPopoverRoles, kdsPopoverType, kdsPopoverTypes, kdsProgressBarSize, kdsProgressBarSizes, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsToggleSwitchLabelPosition, kdsToggleSwitchLabelPositions, kdsToggleSwitchSize, kdsToggleSwitchSizes, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
26038
26450
  //# sourceMappingURL=index.js.map