@knime/kds-components 0.30.2 → 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 (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/index.css +238 -85
  3. package/dist/index.js +857 -443
  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/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
  13. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts +43 -0
  14. package/dist/src/forms/ToggleSwitch/KdsToggleSwitch.vue.d.ts.map +1 -0
  15. package/dist/src/forms/ToggleSwitch/enums.d.ts +11 -0
  16. package/dist/src/forms/ToggleSwitch/enums.d.ts.map +1 -0
  17. package/dist/src/forms/ToggleSwitch/index.d.ts +4 -0
  18. package/dist/src/forms/ToggleSwitch/index.d.ts.map +1 -0
  19. package/dist/src/forms/ToggleSwitch/types.d.ts +18 -0
  20. package/dist/src/forms/ToggleSwitch/types.d.ts.map +1 -0
  21. package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
  22. package/dist/src/forms/index.d.ts +2 -0
  23. package/dist/src/forms/index.d.ts.map +1 -1
  24. package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
  25. package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
  26. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +1682 -0
  27. package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -0
  28. package/dist/src/forms/inputs/DateTimeInput/index.d.ts +3 -0
  29. package/dist/src/forms/inputs/DateTimeInput/index.d.ts.map +1 -0
  30. package/dist/src/forms/inputs/DateTimeInput/types.d.ts +10 -0
  31. package/dist/src/forms/inputs/DateTimeInput/types.d.ts.map +1 -0
  32. package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
  33. package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
  34. package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
  35. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +1682 -0
  36. package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -0
  37. package/dist/src/forms/inputs/ZonedDateTimeInput/index.d.ts +3 -0
  38. package/dist/src/forms/inputs/ZonedDateTimeInput/index.d.ts.map +1 -0
  39. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts +9 -0
  40. package/dist/src/forms/inputs/ZonedDateTimeInput/types.d.ts.map +1 -0
  41. package/dist/src/forms/inputs/index.d.ts +4 -0
  42. package/dist/src/forms/inputs/index.d.ts.map +1 -1
  43. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +2 -3
  44. package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
  45. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +2 -3
  46. package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
  47. package/dist/src/forms/selects/TwinList/TwinListBody.vue.d.ts.map +1 -1
  48. package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
  49. package/dist/src/overlays/Popover/enums.d.ts +3 -1
  50. package/dist/src/overlays/Popover/enums.d.ts.map +1 -1
  51. package/dist/src/overlays/Popover/types.d.ts +2 -2
  52. 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-5fdfbce2"]]);
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" },
@@ -981,7 +981,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
981
981
  return openBlock(), createElementBlock("span", {
982
982
  class: normalizeClass(["kds-live-status", __props.status, `size-${__props.size}`]),
983
983
  role: "img",
984
- title: accessibleTitle.value,
984
+ title: !__props.label ? accessibleTitle.value : void 0,
985
985
  "aria-label": accessibleTitle.value
986
986
  }, [
987
987
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "dot" }, null, -1)),
@@ -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-01555495"]]);
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,22 +2712,24 @@ 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-9dc6d3f6"]]);
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",
2729
+ TOP_CENTER: "top-center",
2729
2730
  TOP_RIGHT: "top-right",
2730
2731
  BOTTOM_LEFT: "bottom-left",
2732
+ BOTTOM_CENTER: "bottom-center",
2731
2733
  BOTTOM_RIGHT: "bottom-right",
2732
2734
  CUSTOM: "custom"
2733
2735
  };
@@ -2744,12 +2746,12 @@ const kdsPopoverType = {
2744
2746
  };
2745
2747
  const kdsPopoverTypes = Object.values(kdsPopoverType);
2746
2748
 
2747
- const _hoisted_1$Q = ["id", "popover", "role"];
2748
- const _hoisted_2$w = {
2749
+ const _hoisted_1$T = ["id", "popover", "role"];
2750
+ const _hoisted_2$y = {
2749
2751
  key: 0,
2750
2752
  class: "kds-popover-default-content"
2751
2753
  };
2752
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
2754
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
2753
2755
  __name: "KdsPopover",
2754
2756
  props: /* @__PURE__ */ mergeModels({
2755
2757
  role: {},
@@ -2807,21 +2809,21 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
2807
2809
  onToggle
2808
2810
  }, [
2809
2811
  renderSlot(_ctx.$slots, "default", {}, () => [
2810
- 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)
2811
2813
  ], true)
2812
- ], 46, _hoisted_1$Q);
2814
+ ], 46, _hoisted_1$T);
2813
2815
  };
2814
2816
  }
2815
2817
  });
2816
2818
 
2817
- const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-3354d162"]]);
2819
+ const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-f41f0af7"]]);
2818
2820
 
2819
2821
  const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2820
2822
  __proto__: null,
2821
2823
  default: KdsPopover
2822
2824
  }, Symbol.toStringTag, { value: 'Module' }));
2823
2825
 
2824
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2826
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
2825
2827
  ...{
2826
2828
  inheritAttrs: false
2827
2829
  },
@@ -2861,12 +2863,22 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2861
2863
  const menuContainerEl = useTemplateRef("menuContainer");
2862
2864
  const menuButtonEl = useTemplateRef("menuButton");
2863
2865
  const menuId = useId();
2864
- watch(isMenuOpen, async (menuOpen) => {
2866
+ watch(isMenuOpen, (menuOpen, _oldVal, onCleanup) => {
2865
2867
  if (!menuOpen) {
2866
2868
  return;
2867
2869
  }
2868
- await nextTick();
2869
- 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);
2870
2882
  });
2871
2883
  const onItemClick = (itemId) => {
2872
2884
  isMenuOpen.value = false;
@@ -2875,12 +2887,12 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2875
2887
  __expose({ menuButtonEl });
2876
2888
  return (_ctx, _cache) => {
2877
2889
  return openBlock(), createElementBlock(Fragment, null, [
2878
- createVNode(_sfc_main$1p, mergeProps({ ref: "menuButton" }, toggleButtonProps.value, {
2890
+ createVNode(_sfc_main$1s, mergeProps({ ref: "menuButton" }, toggleButtonProps.value, {
2879
2891
  modelValue: isMenuOpen.value,
2880
2892
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event),
2881
2893
  "aria-haspopup": "menu",
2882
2894
  "aria-expanded": isMenuOpen.value,
2883
- "aria-controls": unref(menuId),
2895
+ "aria-controls": isMenuOpen.value ? unref(menuId) : void 0,
2884
2896
  style: popoverEl.value?.anchorStyle
2885
2897
  }), null, 16, ["modelValue", "aria-expanded", "aria-controls", "style"]),
2886
2898
  createVNode(KdsPopover, {
@@ -2891,13 +2903,14 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2891
2903
  "aria-label": "Menu"
2892
2904
  }, {
2893
2905
  default: withCtx(() => [
2894
- createVNode(KdsMenuContainer, {
2906
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
2907
+ key: 0,
2895
2908
  id: unref(menuId),
2896
2909
  ref: "menuContainer",
2897
2910
  items: props.items,
2898
2911
  "menu-max-height": __props.menuMaxHeight,
2899
2912
  onItemClick
2900
- }, null, 8, ["id", "items", "menu-max-height"])
2913
+ }, null, 8, ["id", "items", "menu-max-height"])) : createCommentVNode("", true)
2901
2914
  ]),
2902
2915
  _: 1
2903
2916
  }, 8, ["modelValue"])
@@ -2906,7 +2919,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
2906
2919
  }
2907
2920
  });
2908
2921
 
2909
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2922
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
2910
2923
  __name: "KdsSplitButton",
2911
2924
  props: {
2912
2925
  dataTestId: {},
@@ -2933,10 +2946,22 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2933
2946
  isMenuOpen.value = false;
2934
2947
  emit("itemClick", itemId);
2935
2948
  }
2936
- watch(isMenuOpen, (open) => {
2937
- if (open) {
2938
- nextTick(() => menuContainer.value?.focus());
2949
+ watch(isMenuOpen, (open, _oldVal, onCleanup) => {
2950
+ if (!open) {
2951
+ return;
2939
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);
2940
2965
  });
2941
2966
  return (_ctx, _cache) => {
2942
2967
  return openBlock(), createElementBlock("div", {
@@ -2964,7 +2989,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2964
2989
  ariaLabel: "More options",
2965
2990
  "aria-haspopup": "menu",
2966
2991
  "aria-expanded": isMenuOpen.value,
2967
- "aria-controls": unref(menuId),
2992
+ "aria-controls": isMenuOpen.value ? unref(menuId) : void 0,
2968
2993
  style: normalizeStyle(popoverEl.value?.anchorStyle),
2969
2994
  onClick: _cache[1] || (_cache[1] = ($event) => isMenuOpen.value = !isMenuOpen.value)
2970
2995
  }, null, 8, ["size", "variant", "disabled", "aria-expanded", "aria-controls", "style"]),
@@ -2976,7 +3001,8 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2976
3001
  placement: "bottom-left"
2977
3002
  }, {
2978
3003
  default: withCtx(() => [
2979
- createVNode(KdsMenuContainer, {
3004
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
3005
+ key: 0,
2980
3006
  id: unref(menuId),
2981
3007
  ref_key: "menuContainer",
2982
3008
  ref: menuContainer,
@@ -2985,7 +3011,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2985
3011
  "aria-label": "Actions",
2986
3012
  onItemClick,
2987
3013
  onKeydown: _cache[2] || (_cache[2] = withKeys(($event) => isMenuOpen.value = false, ["escape"]))
2988
- }, null, 8, ["id", "items", "menu-max-height"])
3014
+ }, null, 8, ["id", "items", "menu-max-height"])) : createCommentVNode("", true)
2989
3015
  ]),
2990
3016
  _: 1
2991
3017
  }, 8, ["modelValue"])
@@ -2994,7 +3020,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
2994
3020
  }
2995
3021
  });
2996
3022
 
2997
- 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"]]);
2998
3024
 
2999
3025
  const kdsButtonSize = {
3000
3026
  XSMALL: "xsmall",
@@ -3010,17 +3036,17 @@ const kdsButtonVariant = {
3010
3036
  };
3011
3037
  const kdsButtonVariants = Object.values(kdsButtonVariant);
3012
3038
 
3013
- const _hoisted_1$P = ["aria-disabled"];
3014
- const _hoisted_2$v = { class: "kds-empty-state-headline" };
3015
- 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 = {
3016
3042
  key: 1,
3017
3043
  class: "kds-empty-state-description"
3018
3044
  };
3019
- const _hoisted_4$l = {
3045
+ const _hoisted_4$m = {
3020
3046
  key: 2,
3021
3047
  class: "kds-empty-state-action"
3022
3048
  };
3023
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3049
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
3024
3050
  __name: "KdsEmptyState",
3025
3051
  props: {
3026
3052
  headline: {},
@@ -3038,13 +3064,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3038
3064
  () => props.button && "to" in props.button && props.button.to !== void 0
3039
3065
  );
3040
3066
  const buttonComponent = computed(
3041
- () => isLinkButton.value ? _sfc_main$1r : _sfc_main$1s
3067
+ () => isLinkButton.value ? _sfc_main$1u : _sfc_main$1v
3042
3068
  );
3043
3069
  const isSecondaryLinkButton = computed(
3044
3070
  () => props.secondaryButton && "to" in props.secondaryButton && props.secondaryButton.to !== void 0
3045
3071
  );
3046
3072
  const secondaryButtonComponent = computed(
3047
- () => isSecondaryLinkButton.value ? _sfc_main$1r : _sfc_main$1s
3073
+ () => isSecondaryLinkButton.value ? _sfc_main$1u : _sfc_main$1v
3048
3074
  );
3049
3075
  return (_ctx, _cache) => {
3050
3076
  return openBlock(), createElementBlock("div", {
@@ -3058,9 +3084,9 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3058
3084
  variant: "onSurface",
3059
3085
  "aria-hidden": "true"
3060
3086
  })) : createCommentVNode("", true),
3061
- createElementVNode("p", _hoisted_2$v, toDisplayString(props.headline), 1),
3062
- props.description ? (openBlock(), createElementBlock("p", _hoisted_3$o, toDisplayString(props.description), 1)) : createCommentVNode("", true),
3063
- 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, [
3064
3090
  (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
3065
3091
  disabled: props.button?.disabled || __props.disabled,
3066
3092
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
@@ -3070,16 +3096,16 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3070
3096
  onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
3071
3097
  }), null, 16, ["disabled"])) : createCommentVNode("", true)
3072
3098
  ])) : createCommentVNode("", true)
3073
- ], 10, _hoisted_1$P);
3099
+ ], 10, _hoisted_1$S);
3074
3100
  };
3075
3101
  }
3076
3102
  });
3077
3103
 
3078
- 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"]]);
3079
3105
 
3080
- const _hoisted_1$O = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
3106
+ const _hoisted_1$R = ["aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
3081
3107
  const loadingStateText = "Loading entries";
3082
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3108
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
3083
3109
  __name: "KdsListContainer",
3084
3110
  props: {
3085
3111
  possibleValues: {},
@@ -3202,19 +3228,19 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
3202
3228
  "loading-spinner": __props.loading
3203
3229
  }, null, 8, ["headline", "loading-spinner"])
3204
3230
  ])) : createCommentVNode("", true)
3205
- ], 16, _hoisted_1$O);
3231
+ ], 16, _hoisted_1$R);
3206
3232
  };
3207
3233
  }
3208
3234
  });
3209
3235
 
3210
- 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"]]);
3211
3237
 
3212
3238
  const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3213
3239
  __proto__: null,
3214
3240
  default: KdsListContainer
3215
3241
  }, Symbol.toStringTag, { value: 'Module' }));
3216
3242
 
3217
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3243
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
3218
3244
  ...{ inheritAttrs: false },
3219
3245
  __name: "KdsMenu",
3220
3246
  props: {
@@ -3231,12 +3257,22 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3231
3257
  const popoverEl = useTemplateRef("popover");
3232
3258
  const menuContainerEl = useTemplateRef("menuContainer");
3233
3259
  const menuId = useId();
3234
- watch(isMenuOpen, async () => {
3260
+ watch(isMenuOpen, (_newVal, _oldVal, onCleanup) => {
3235
3261
  if (!isMenuOpen.value) {
3236
3262
  return;
3237
3263
  }
3238
- await nextTick();
3239
- 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);
3240
3276
  });
3241
3277
  const onItemClick = (itemId) => {
3242
3278
  isMenuOpen.value = false;
@@ -3256,7 +3292,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3256
3292
  const ariaAttrs = {
3257
3293
  "aria-haspopup": "menu",
3258
3294
  "aria-expanded": isMenuOpen.value,
3259
- "aria-controls": menuId
3295
+ "aria-controls": isMenuOpen.value ? menuId : void 0
3260
3296
  };
3261
3297
  if (!popoverEl.value) {
3262
3298
  return ariaAttrs;
@@ -3286,7 +3322,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3286
3322
  "aria-label": "Menu"
3287
3323
  }, {
3288
3324
  default: withCtx(() => [
3289
- createVNode(KdsMenuContainer, {
3325
+ isMenuOpen.value ? (openBlock(), createBlock(KdsMenuContainer, {
3326
+ key: 0,
3290
3327
  id: unref(menuId),
3291
3328
  ref: "menuContainer",
3292
3329
  items: props.items,
@@ -3294,7 +3331,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3294
3331
  variant: __props.variant,
3295
3332
  "aria-label": props.ariaLabel,
3296
3333
  onItemClick
3297
- }, null, 8, ["id", "items", "menu-max-height", "variant", "aria-label"])
3334
+ }, null, 8, ["id", "items", "menu-max-height", "variant", "aria-label"])) : createCommentVNode("", true)
3298
3335
  ]),
3299
3336
  _: 1
3300
3337
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -3303,7 +3340,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
3303
3340
  }
3304
3341
  });
3305
3342
 
3306
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3343
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
3307
3344
  ...{ inheritAttrs: false },
3308
3345
  __name: "KdsContextMenu",
3309
3346
  props: /* @__PURE__ */ mergeModels({
@@ -3328,12 +3365,22 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3328
3365
  emit("itemClick", itemId);
3329
3366
  };
3330
3367
  const menuContainerEl = useTemplateRef("menuContainer");
3331
- watch(open, async (isOpen) => {
3368
+ watch(open, (isOpen, _oldVal, onCleanup) => {
3332
3369
  if (!isOpen) {
3333
3370
  return;
3334
3371
  }
3335
- await nextTick();
3336
- 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);
3337
3384
  });
3338
3385
  return (_ctx, _cache) => {
3339
3386
  return openBlock(), createBlock(KdsPopover, {
@@ -3345,7 +3392,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3345
3392
  "aria-label": "Menu"
3346
3393
  }, {
3347
3394
  default: withCtx(() => [
3348
- createVNode(KdsMenuContainer, {
3395
+ open.value ? (openBlock(), createBlock(KdsMenuContainer, {
3396
+ key: 0,
3349
3397
  id: props.id,
3350
3398
  ref: "menuContainer",
3351
3399
  "aria-label": props.ariaLabel,
@@ -3355,7 +3403,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3355
3403
  onItemClick,
3356
3404
  onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {
3357
3405
  }, ["prevent"]))
3358
- }, null, 8, ["id", "aria-label", "items", "menu-max-height", "variant"])
3406
+ }, null, 8, ["id", "aria-label", "items", "menu-max-height", "variant"])) : createCommentVNode("", true)
3359
3407
  ]),
3360
3408
  _: 1
3361
3409
  }, 8, ["modelValue", "custom-placement-position", "popover-type"]);
@@ -3392,9 +3440,9 @@ const kdsDimensionComponentHeight2p25x = 36;
3392
3440
  const kdsSpacingContainer0p10x = 1;
3393
3441
  const kdsSpacingContainer0p25x = 4;
3394
3442
 
3395
- const _hoisted_1$N = { class: "kds-label-wrapper" };
3396
- const _hoisted_2$u = ["id", "for", "title"];
3397
- 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({
3398
3446
  __name: "KdsLabel",
3399
3447
  props: {
3400
3448
  label: {},
@@ -3411,7 +3459,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3411
3459
  const labelEl = useTemplateRef("labelEl");
3412
3460
  const { isTruncated } = useKdsIsTruncated(labelEl);
3413
3461
  return (_ctx, _cache) => {
3414
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
3462
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
3415
3463
  createElementVNode("label", {
3416
3464
  id: props.id,
3417
3465
  ref_key: "labelEl",
@@ -3419,7 +3467,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3419
3467
  for: props.for,
3420
3468
  class: "label",
3421
3469
  title: unref(isTruncated) ? props.label : void 0
3422
- }, toDisplayString(props.label), 9, _hoisted_2$u),
3470
+ }, toDisplayString(props.label), 9, _hoisted_2$w),
3423
3471
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
3424
3472
  key: 0,
3425
3473
  content: props.description,
@@ -3430,11 +3478,11 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3430
3478
  }
3431
3479
  });
3432
3480
 
3433
- 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"]]);
3434
3482
 
3435
- const _hoisted_1$M = ["id"];
3436
- const _hoisted_2$t = { class: "subtext-text" };
3437
- 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({
3438
3486
  __name: "KdsSubText",
3439
3487
  props: {
3440
3488
  id: {},
@@ -3465,15 +3513,15 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3465
3513
  variant: "onSurface",
3466
3514
  "aria-hidden": "true"
3467
3515
  })) : createCommentVNode("", true),
3468
- createElementVNode("span", _hoisted_2$t, toDisplayString(props.subText), 1)
3469
- ], 10, _hoisted_1$M)) : createCommentVNode("", true);
3516
+ createElementVNode("span", _hoisted_2$v, toDisplayString(props.subText), 1)
3517
+ ], 10, _hoisted_1$P)) : createCommentVNode("", true);
3470
3518
  };
3471
3519
  }
3472
3520
  });
3473
3521
 
3474
- 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"]]);
3475
3523
 
3476
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3524
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
3477
3525
  __name: "BaseFormFieldWrapper",
3478
3526
  props: {
3479
3527
  id: {},
@@ -3525,7 +3573,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3525
3573
  }
3526
3574
  });
3527
3575
 
3528
- 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"]]);
3529
3577
 
3530
3578
  const MIN_SEGMENT_INDEX = 0;
3531
3579
  const LARGE_STEP = 10;
@@ -4205,17 +4253,17 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
4205
4253
  };
4206
4254
  };
4207
4255
 
4208
- const _hoisted_1$L = {
4256
+ const _hoisted_1$O = {
4209
4257
  key: 0,
4210
4258
  class: "icon-wrapper leading"
4211
4259
  };
4212
- const _hoisted_2$s = {
4260
+ const _hoisted_2$u = {
4213
4261
  key: 1,
4214
4262
  class: "leading-slot"
4215
4263
  };
4216
- 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"];
4217
- const _hoisted_4$k = ["aria-disabled"];
4218
- 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 = {
4219
4267
  key: 4,
4220
4268
  class: "trailing-slot"
4221
4269
  };
@@ -4223,7 +4271,7 @@ const _hoisted_6$9 = {
4223
4271
  key: 5,
4224
4272
  class: "icon-wrapper trailing"
4225
4273
  };
4226
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4274
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
4227
4275
  __name: "BaseInput",
4228
4276
  props: /* @__PURE__ */ mergeModels({
4229
4277
  id: {},
@@ -4374,13 +4422,13 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4374
4422
  }),
4375
4423
  onClick: handleContainerClick
4376
4424
  }, [
4377
- props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$L, [
4425
+ props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
4378
4426
  props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
4379
4427
  key: 0,
4380
4428
  name: props.leadingIcon
4381
4429
  }, null, 8, ["name"])) : createCommentVNode("", true)
4382
4430
  ])) : createCommentVNode("", true),
4383
- _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
4431
+ _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$u, [
4384
4432
  renderSlot(_ctx.$slots, "leading", {}, void 0, true)
4385
4433
  ])) : createCommentVNode("", true),
4386
4434
  createElementVNode("input", {
@@ -4425,7 +4473,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4425
4473
  onCut: handleInputCut,
4426
4474
  onDrop: handleInputDrop,
4427
4475
  onDragend: handleInputDragEnd
4428
- }, null, 42, _hoisted_3$n),
4476
+ }, null, 42, _hoisted_3$o),
4429
4477
  props.unit ? (openBlock(), createElementBlock("span", {
4430
4478
  key: 2,
4431
4479
  class: normalizeClass({
@@ -4434,8 +4482,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4434
4482
  disabled: __props.disabled
4435
4483
  }),
4436
4484
  "aria-disabled": __props.disabled || void 0
4437
- }, toDisplayString(props.unit), 11, _hoisted_4$k)) : createCommentVNode("", true),
4438
- __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, {
4439
4487
  key: 3,
4440
4488
  class: "clear-button",
4441
4489
  size: "xsmall",
@@ -4445,7 +4493,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4445
4493
  title: "Clear",
4446
4494
  onClick: withModifiers(clearAndFocusInput, ["stop"])
4447
4495
  })) : createCommentVNode("", true),
4448
- _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
4496
+ _ctx.$slots.trailing ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
4449
4497
  renderSlot(_ctx.$slots, "trailing", {}, void 0, true)
4450
4498
  ])) : createCommentVNode("", true),
4451
4499
  props.trailingIcon ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
@@ -4458,9 +4506,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4458
4506
  }
4459
4507
  });
4460
4508
 
4461
- 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"]]);
4462
4510
 
4463
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4511
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
4464
4512
  __name: "KdsTextInput",
4465
4513
  props: /* @__PURE__ */ mergeModels({
4466
4514
  description: {},
@@ -4519,7 +4567,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4519
4567
  isFocused.value = true;
4520
4568
  if (hasFilteredSuggestions.value) {
4521
4569
  popoverOpen.value = true;
4522
- listContainerRef.value?.handleFocus();
4523
4570
  }
4524
4571
  };
4525
4572
  const onBlur = () => {
@@ -4532,7 +4579,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4532
4579
  }
4533
4580
  if (has) {
4534
4581
  popoverOpen.value = true;
4535
- listContainerRef.value?.handleFocus();
4536
4582
  } else {
4537
4583
  closePopover();
4538
4584
  }
@@ -4544,7 +4590,6 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4544
4590
  if (!popoverOpen.value) {
4545
4591
  if (event.key !== "Enter" && event.key !== "Escape") {
4546
4592
  popoverOpen.value = true;
4547
- listContainerRef.value?.handleFocus();
4548
4593
  }
4549
4594
  return;
4550
4595
  } else if (event.key === "Escape") {
@@ -4592,7 +4637,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4592
4637
  "aria-haspopup": hasSuggestions.value ? "listbox" : void 0,
4593
4638
  "aria-expanded": hasSuggestions.value ? popoverOpen.value : void 0,
4594
4639
  "aria-autocomplete": hasSuggestions.value ? "list" : void 0,
4595
- "aria-controls": hasSuggestions.value ? unref(suggestionId) : void 0,
4640
+ "aria-controls": hasSuggestions.value && popoverOpen.value ? unref(suggestionId) : void 0,
4596
4641
  "aria-activedescendant": listContainerRef.value?.activeDescendant,
4597
4642
  style: hasSuggestions.value ? popoverRef.value?.anchorStyle : void 0,
4598
4643
  onFocus,
@@ -4610,7 +4655,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4610
4655
  "popover-type": "manual"
4611
4656
  }, {
4612
4657
  default: withCtx(() => [
4613
- createVNode(unref(KdsListContainer), {
4658
+ popoverOpen.value ? (openBlock(), createBlock(unref(KdsListContainer), {
4659
+ key: 0,
4614
4660
  id: unref(suggestionId),
4615
4661
  ref_key: "listContainerRef",
4616
4662
  ref: listContainerRef,
@@ -4619,7 +4665,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4619
4665
  "controlled-externally": "",
4620
4666
  "aria-label": "Suggestions",
4621
4667
  onItemClick
4622
- }, null, 8, ["id", "possible-values"])
4668
+ }, null, 8, ["id", "possible-values"])) : createCommentVNode("", true)
4623
4669
  ]),
4624
4670
  _: 1
4625
4671
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -4630,9 +4676,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4630
4676
  }
4631
4677
  });
4632
4678
 
4633
- 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"]]);
4634
4680
 
4635
- const _sfc_main$16 = defineComponent({
4681
+ const _sfc_main$19 = defineComponent({
4636
4682
  name: "FileExplorerItemBase",
4637
4683
  props: {
4638
4684
  isSelected: {
@@ -4650,7 +4696,7 @@ const _sfc_main$16 = defineComponent({
4650
4696
  }
4651
4697
  });
4652
4698
 
4653
- const _hoisted_1$K = ["aria-disabled"];
4699
+ const _hoisted_1$N = ["aria-disabled"];
4654
4700
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4655
4701
  return openBlock(), createElementBlock("tr", {
4656
4702
  class: normalizeClass(["file-explorer-item-base", {
@@ -4663,9 +4709,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4663
4709
  "aria-disabled": _ctx.disabled ? "true" : void 0
4664
4710
  }, [
4665
4711
  renderSlot(_ctx.$slots, "default")
4666
- ], 10, _hoisted_1$K);
4712
+ ], 10, _hoisted_1$N);
4667
4713
  }
4668
- 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"]]);
4669
4715
 
4670
4716
  const INVALID_NAME_CHARACTERS = /[*?#:";<>%~|/\\]/;
4671
4717
  const NAME_CHAR_LIMIT = 255;
@@ -4714,17 +4760,17 @@ const filterSlotsForDynamicColumns = (slots) => {
4714
4760
  return result;
4715
4761
  };
4716
4762
 
4717
- const _hoisted_1$J = { class: "item-icon" };
4718
- const _hoisted_2$r = {
4763
+ const _hoisted_1$M = { class: "item-icon" };
4764
+ const _hoisted_2$t = {
4719
4765
  key: 0,
4720
4766
  class: "open-indicator"
4721
4767
  };
4722
- const _hoisted_3$m = ["title"];
4723
- const _hoisted_4$j = {
4768
+ const _hoisted_3$n = ["title"];
4769
+ const _hoisted_4$k = {
4724
4770
  key: 0,
4725
4771
  class: "inner"
4726
4772
  };
4727
- const _hoisted_5$a = {
4773
+ const _hoisted_5$b = {
4728
4774
  key: 0,
4729
4775
  class: "item-error"
4730
4776
  };
@@ -4733,7 +4779,7 @@ const _hoisted_7$2 = {
4733
4779
  key: 0,
4734
4780
  class: /* @__PURE__ */ normalizeClass(["column"])
4735
4781
  };
4736
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4782
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
4737
4783
  __name: "FileExplorerItem",
4738
4784
  props: {
4739
4785
  blacklistedNames: {},
@@ -4834,8 +4880,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4834
4880
  onDblclick: _cache[11] || (_cache[11] = ($event) => !unref(isRenameActive) && emit("dblclick", $event))
4835
4881
  }, {
4836
4882
  default: withCtx(() => [
4837
- createElementVNode("td", _hoisted_1$J, [
4838
- __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),
4839
4885
  createVNode(KdsIcon, {
4840
4886
  name: __props.item.icon || (__props.item.isDirectory ? "folder" : "file"),
4841
4887
  size: "small"
@@ -4849,7 +4895,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4849
4895
  "data-test-id": "item-name",
4850
4896
  title: __props.item.name
4851
4897
  }, [
4852
- !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", {
4853
4899
  key: 1,
4854
4900
  ref_key: "renameInputContainer",
4855
4901
  ref: renameInputContainer,
@@ -4867,11 +4913,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4867
4913
  error: !unref(isValid),
4868
4914
  onKeydown: _cache[1] || (_cache[1] = withModifiers(($event) => onRenameSubmit($event), ["stop"]))
4869
4915
  }, null, 8, ["modelValue", "error"]),
4870
- !unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
4916
+ !unref(isValid) ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
4871
4917
  createElementVNode("span", null, toDisplayString(unref(errorMessage)), 1)
4872
4918
  ])) : createCommentVNode("", true)
4873
4919
  ], 512))
4874
- ], 10, _hoisted_3$m),
4920
+ ], 10, _hoisted_3$n),
4875
4921
  (openBlock(true), createElementBlock(Fragment, null, renderList(dynamicColumnSlotNames.value, (name) => {
4876
4922
  return openBlock(), createElementBlock("td", {
4877
4923
  key: `dynamicColumn-${name}`,
@@ -4895,9 +4941,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
4895
4941
  }
4896
4942
  });
4897
4943
 
4898
- 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"]]);
4899
4945
 
4900
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4946
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
4901
4947
  __name: "FileExplorerItemBack",
4902
4948
  props: {
4903
4949
  isDragging: { type: Boolean }
@@ -4925,7 +4971,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4925
4971
  }
4926
4972
  });
4927
4973
 
4928
- 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"]]);
4929
4975
 
4930
4976
  const getInitialState = () => ({
4931
4977
  anchorHistory: [],
@@ -11821,12 +11867,12 @@ const popoverAnchor = {
11821
11867
  remove
11822
11868
  };
11823
11869
 
11824
- const _hoisted_1$I = { class: "file-explorer" };
11825
- const _hoisted_2$q = {
11870
+ const _hoisted_1$L = { class: "file-explorer" };
11871
+ const _hoisted_2$s = {
11826
11872
  key: 0,
11827
11873
  class: "empty"
11828
11874
  };
11829
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
11875
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
11830
11876
  __name: "KdsFileExplorer",
11831
11877
  props: /* @__PURE__ */ mergeModels({
11832
11878
  size: { default: "large" },
@@ -12155,7 +12201,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12155
12201
  () => Object.keys(filterSlotsForDynamicColumns(slots))
12156
12202
  );
12157
12203
  return (_ctx, _cache) => {
12158
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
12204
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
12159
12205
  createElementVNode("table", mergeProps({
12160
12206
  tabindex: "0",
12161
12207
  class: ["scroll-container", { "keyboard-focus": unref(keyPressedUntilMouseClick) }],
@@ -12226,7 +12272,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12226
12272
  hasOptionsMenu.value ? {
12227
12273
  name: "optionsMenu",
12228
12274
  fn: withCtx(() => [
12229
- createVNode(_sfc_main$1p, {
12275
+ createVNode(_sfc_main$1s, {
12230
12276
  tabindex: "-1",
12231
12277
  "model-value": contextMenuAnchor.value?.item.id === item.id && contextMenuAnchor.value.openedBy === "optionsMenu",
12232
12278
  size: __props.size === "small" ? "xsmall" : "small",
@@ -12252,7 +12298,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12252
12298
  } : void 0
12253
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"]);
12254
12300
  }), 128)),
12255
- __props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$q, [
12301
+ __props.items.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_2$s, [
12256
12302
  createElementVNode("td", null, [
12257
12303
  createVNode(KdsEmptyState, mergeProps({
12258
12304
  headline: __props.emptyState?.headline ?? "Folder is empty"
@@ -12304,7 +12350,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12304
12350
  }
12305
12351
  });
12306
12352
 
12307
- 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"]]);
12308
12354
 
12309
12355
  const kdsFileExplorerSize = {
12310
12356
  SMALL: "small",
@@ -12320,14 +12366,14 @@ const kdsFileExplorerDraggingAnimationModes = Object.values(
12320
12366
  kdsFileExplorerDraggingAnimationMode
12321
12367
  );
12322
12368
 
12323
- const _hoisted_1$H = { class: "kds-preview-list" };
12324
- const _hoisted_2$p = { class: "kds-preview-list-title-row" };
12325
- const _hoisted_3$l = { class: "kds-preview-list-content" };
12326
- const _hoisted_4$i = { class: "kds-preview-list-headline" };
12327
- 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"];
12328
12374
  const _hoisted_6$7 = { class: "kds-preview-list-show-hide" };
12329
12375
  const DEFAULT_MAX_VISIBLE_ITEMS = 6;
12330
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12376
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
12331
12377
  __name: "KdsPreviewList",
12332
12378
  props: /* @__PURE__ */ mergeModels({
12333
12379
  headline: {},
@@ -12361,8 +12407,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12361
12407
  })
12362
12408
  );
12363
12409
  return (_ctx, _cache) => {
12364
- return openBlock(), createElementBlock("section", _hoisted_1$H, [
12365
- createElementVNode("header", _hoisted_2$p, [
12410
+ return openBlock(), createElementBlock("section", _hoisted_1$K, [
12411
+ createElementVNode("header", _hoisted_2$r, [
12366
12412
  __props.loading && !expanded.value ? (openBlock(), createBlock(KdsLoadingSpinner, {
12367
12413
  key: 0,
12368
12414
  size: "small",
@@ -12372,10 +12418,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12372
12418
  name: __props.leadingIcon,
12373
12419
  size: "small"
12374
12420
  }, null, 8, ["name"])) : createCommentVNode("", true),
12375
- createElementVNode("div", _hoisted_3$l, [
12376
- 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)
12377
12423
  ]),
12378
- __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)
12379
12425
  ]),
12380
12426
  withDirectives(createElementVNode("div", {
12381
12427
  id: bodyId,
@@ -12408,12 +12454,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12408
12454
  }, ["stop"]))
12409
12455
  }, null, 8, ["id", "text", "accessory"]);
12410
12456
  }), 128))
12411
- ], 8, _hoisted_5$9)) : createCommentVNode("", true)
12457
+ ], 8, _hoisted_5$a)) : createCommentVNode("", true)
12412
12458
  ], 512), [
12413
12459
  [vShow, expanded.value]
12414
12460
  ]),
12415
12461
  createElementVNode("footer", _hoisted_6$7, [
12416
- createVNode(_sfc_main$1s, {
12462
+ createVNode(_sfc_main$1v, {
12417
12463
  class: "kds-preview-list-toggle",
12418
12464
  label: expanded.value ? "Hide all" : "Show all",
12419
12465
  "trailing-icon": expanded.value ? "chevron-up" : "chevron-down",
@@ -12429,21 +12475,21 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
12429
12475
  }
12430
12476
  });
12431
12477
 
12432
- 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"]]);
12433
12479
 
12434
- const _hoisted_1$G = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
12435
- const _hoisted_2$o = { class: "control" };
12436
- 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 = {
12437
12483
  key: 0,
12438
12484
  class: "content"
12439
12485
  };
12440
- const _hoisted_4$h = { class: "label" };
12441
- const _hoisted_5$8 = ["id"];
12486
+ const _hoisted_4$i = { class: "label" };
12487
+ const _hoisted_5$9 = ["id"];
12442
12488
  const _hoisted_6$6 = {
12443
12489
  key: 0,
12444
12490
  class: "subtext-wrapper"
12445
12491
  };
12446
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12492
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
12447
12493
  __name: "BaseCheckbox",
12448
12494
  props: /* @__PURE__ */ mergeModels({
12449
12495
  disabled: { type: Boolean, default: false },
@@ -12516,7 +12562,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12516
12562
  role: "checkbox",
12517
12563
  onClick: handleClick
12518
12564
  }, [
12519
- createElementVNode("div", _hoisted_2$o, [
12565
+ createElementVNode("div", _hoisted_2$q, [
12520
12566
  icon.value ? (openBlock(), createBlock(KdsIcon, {
12521
12567
  key: 0,
12522
12568
  name: icon.value,
@@ -12524,15 +12570,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12524
12570
  size: "xsmall"
12525
12571
  }, null, 8, ["name"])) : createCommentVNode("", true)
12526
12572
  ]),
12527
- props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
12528
- 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),
12529
12575
  props.helperText ? (openBlock(), createElementBlock("div", {
12530
12576
  key: 0,
12531
12577
  id: unref(helperId),
12532
12578
  class: "helper-text"
12533
- }, toDisplayString(props.helperText), 9, _hoisted_5$8)) : createCommentVNode("", true)
12579
+ }, toDisplayString(props.helperText), 9, _hoisted_5$9)) : createCommentVNode("", true)
12534
12580
  ])) : createCommentVNode("", true)
12535
- ], 10, _hoisted_1$G),
12581
+ ], 10, _hoisted_1$J),
12536
12582
  props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
12537
12583
  createVNode(KdsSubText, {
12538
12584
  id: unref(descriptionId),
@@ -12546,9 +12592,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12546
12592
  }
12547
12593
  });
12548
12594
 
12549
- 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"]]);
12550
12596
 
12551
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
12597
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
12552
12598
  __name: "KdsCheckbox",
12553
12599
  props: /* @__PURE__ */ mergeModels({
12554
12600
  disabled: { type: Boolean, default: false },
@@ -12578,11 +12624,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
12578
12624
  }
12579
12625
  });
12580
12626
 
12581
- const _hoisted_1$F = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
12582
- const _hoisted_2$n = ["id"];
12583
- const _hoisted_3$j = ["title"];
12584
- const _hoisted_4$g = { class: "kds-fieldset-content" };
12585
- 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({
12586
12632
  __name: "BaseFieldsetWrapper",
12587
12633
  props: {
12588
12634
  id: {},
@@ -12628,14 +12674,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12628
12674
  ref: legendTextEl,
12629
12675
  class: "legend-text",
12630
12676
  title: unref(isTruncated) ? props.label : void 0
12631
- }, toDisplayString(props.label), 9, _hoisted_3$j),
12677
+ }, toDisplayString(props.label), 9, _hoisted_3$k),
12632
12678
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
12633
12679
  key: 0,
12634
12680
  content: props.description,
12635
12681
  hidden: !isHovered.value
12636
12682
  }, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
12637
- ], 8, _hoisted_2$n)) : createCommentVNode("", true),
12638
- createElementVNode("div", _hoisted_4$g, [
12683
+ ], 8, _hoisted_2$p)) : createCommentVNode("", true),
12684
+ createElementVNode("div", _hoisted_4$h, [
12639
12685
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
12640
12686
  ]),
12641
12687
  createVNode(KdsSubText, {
@@ -12645,14 +12691,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12645
12691
  validating: props.validating,
12646
12692
  "preserve-sub-text-space": props.preserveSubTextSpace
12647
12693
  }, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
12648
- ], 40, _hoisted_1$F);
12694
+ ], 40, _hoisted_1$I);
12649
12695
  };
12650
12696
  }
12651
12697
  });
12652
12698
 
12653
- const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a44731da"]]);
12699
+ const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-a44731da"]]);
12654
12700
 
12655
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12701
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
12656
12702
  __name: "KdsCheckboxGroup",
12657
12703
  props: /* @__PURE__ */ mergeModels({
12658
12704
  id: {},
@@ -12731,7 +12777,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12731
12777
  }
12732
12778
  });
12733
12779
 
12734
- const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-c6536296"]]);
12780
+ const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-c6536296"]]);
12735
12781
 
12736
12782
  const kdsCheckboxGroupAlignment = {
12737
12783
  VERTICAL: "vertical",
@@ -12747,8 +12793,89 @@ const kdsCheckboxValue = {
12747
12793
  };
12748
12794
  const kdsCheckboxValues = Object.values(kdsCheckboxValue);
12749
12795
 
12750
- const _hoisted_1$E = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
12751
- 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" };
12752
12879
  const _hoisted_3$i = {
12753
12880
  key: 0,
12754
12881
  class: "dot",
@@ -12759,7 +12886,7 @@ const _hoisted_3$i = {
12759
12886
  const _hoisted_4$f = { class: "content" };
12760
12887
  const _hoisted_5$7 = { class: "label" };
12761
12888
  const _hoisted_6$5 = ["id"];
12762
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12889
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
12763
12890
  __name: "KdsRadioButton",
12764
12891
  props: /* @__PURE__ */ mergeModels({
12765
12892
  text: {},
@@ -12799,7 +12926,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12799
12926
  type: "button",
12800
12927
  onClick: handleClick
12801
12928
  }, [
12802
- createElementVNode("div", _hoisted_2$m, [
12929
+ createElementVNode("div", _hoisted_2$n, [
12803
12930
  modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$i, [..._cache[0] || (_cache[0] = [
12804
12931
  createElementVNode("circle", {
12805
12932
  cx: "1",
@@ -12816,12 +12943,12 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12816
12943
  class: "helper-text"
12817
12944
  }, toDisplayString(props.helperText), 9, _hoisted_6$5)) : createCommentVNode("", true)
12818
12945
  ])
12819
- ], 10, _hoisted_1$E);
12946
+ ], 10, _hoisted_1$G);
12820
12947
  };
12821
12948
  }
12822
12949
  });
12823
12950
 
12824
- const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-f4f6392a"]]);
12951
+ const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f4f6392a"]]);
12825
12952
 
12826
12953
  const useRadioSelection = ({
12827
12954
  selectedId,
@@ -12943,7 +13070,7 @@ const useRadioSelection = ({
12943
13070
  };
12944
13071
  };
12945
13072
 
12946
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13073
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12947
13074
  __name: "KdsRadioButtonGroup",
12948
13075
  props: /* @__PURE__ */ mergeModels({
12949
13076
  id: {},
@@ -13018,10 +13145,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13018
13145
  }
13019
13146
  });
13020
13147
 
13021
- const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d78ed4a2"]]);
13148
+ const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d78ed4a2"]]);
13022
13149
 
13023
- const _hoisted_1$D = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
13024
- 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({
13025
13152
  __name: "ValueSwitchItem",
13026
13153
  props: {
13027
13154
  selected: { type: Boolean },
@@ -13071,12 +13198,12 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13071
13198
  name: props.trailingIcon,
13072
13199
  size: __props.size
13073
13200
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
13074
- ], 10, _hoisted_1$D);
13201
+ ], 10, _hoisted_1$F);
13075
13202
  };
13076
13203
  }
13077
13204
  });
13078
13205
 
13079
- 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"]]);
13080
13207
 
13081
13208
  const useValueSwitchIconHiding = ({
13082
13209
  width,
@@ -13127,7 +13254,7 @@ const useValueSwitchIconHiding = ({
13127
13254
  };
13128
13255
  };
13129
13256
 
13130
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
13257
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
13131
13258
  __name: "KdsValueSwitch",
13132
13259
  props: /* @__PURE__ */ mergeModels({
13133
13260
  id: {},
@@ -13216,7 +13343,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13216
13343
  }
13217
13344
  });
13218
13345
 
13219
- 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"]]);
13220
13347
 
13221
13348
  const kdsRadioButtonGroupAlignment = {
13222
13349
  VERTICAL: "vertical",
@@ -13407,7 +13534,7 @@ const createKdsNumberParser = (params) => {
13407
13534
 
13408
13535
  const REPEAT_INITIAL_DELAY_MS = 400;
13409
13536
  const REPEAT_INTERVAL_MS = 100;
13410
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
13537
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13411
13538
  __name: "KdsNumberInput",
13412
13539
  props: /* @__PURE__ */ mergeModels({
13413
13540
  description: {},
@@ -13593,7 +13720,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13593
13720
  onBlur: handleBlur
13594
13721
  }), {
13595
13722
  trailing: withCtx(() => [
13596
- createVNode(_sfc_main$1s, {
13723
+ createVNode(_sfc_main$1v, {
13597
13724
  size: "xsmall",
13598
13725
  variant: "outlined",
13599
13726
  "leading-icon": "minus",
@@ -13605,7 +13732,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13605
13732
  onPointerleave: stopRepeating,
13606
13733
  onPointercancel: stopRepeating
13607
13734
  }, null, 8, ["ariaLabel", "disabled"]),
13608
- createVNode(_sfc_main$1s, {
13735
+ createVNode(_sfc_main$1v, {
13609
13736
  size: "xsmall",
13610
13737
  variant: "outlined",
13611
13738
  "leading-icon": "plus",
@@ -13772,8 +13899,8 @@ const removeAlphaFromHexInput = (next) => {
13772
13899
  return next;
13773
13900
  };
13774
13901
 
13775
- const _hoisted_1$C = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
13776
- 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({
13777
13904
  __name: "ColorPickerSlider",
13778
13905
  props: /* @__PURE__ */ mergeModels({
13779
13906
  label: {},
@@ -13857,15 +13984,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
13857
13984
  onKeydown: onKeyDown
13858
13985
  }, [..._cache[5] || (_cache[5] = [
13859
13986
  createElementVNode("div", { class: "handle" }, null, -1)
13860
- ])], 40, _hoisted_1$C);
13987
+ ])], 40, _hoisted_1$E);
13861
13988
  };
13862
13989
  }
13863
13990
  });
13864
13991
 
13865
- 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"]]);
13866
13993
 
13867
- const _hoisted_1$B = { class: "kds-color-picker" };
13868
- const _hoisted_2$l = ["aria-valuetext"];
13994
+ const _hoisted_1$D = { class: "kds-color-picker" };
13995
+ const _hoisted_2$m = ["aria-valuetext"];
13869
13996
  const _hoisted_3$h = { class: "value-inputs" };
13870
13997
  const DEFAULT_HUE_DEG = 270;
13871
13998
  const DEFAULT_SATURATION = 0.8;
@@ -13880,7 +14007,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
13880
14007
  const HUE_KEYBOARD_STEP_DEG = 1;
13881
14008
  const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
13882
14009
  const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
13883
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
14010
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
13884
14011
  __name: "ColorPicker",
13885
14012
  props: {
13886
14013
  "modelValue": { default: "" },
@@ -14028,7 +14155,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14028
14155
  }
14029
14156
  };
14030
14157
  return (_ctx, _cache) => {
14031
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
14158
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
14032
14159
  createElementVNode("div", {
14033
14160
  ref_key: "colorspaceEl",
14034
14161
  ref: colorspaceEl,
@@ -14056,7 +14183,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14056
14183
  class: "handle",
14057
14184
  style: normalizeStyle(colorspaceHandleStyle.value)
14058
14185
  }, null, 4)
14059
- ], 44, _hoisted_2$l),
14186
+ ], 44, _hoisted_2$m),
14060
14187
  createVNode(ColorPickerSlider, {
14061
14188
  modelValue: hue.value,
14062
14189
  "onUpdate:modelValue": [
@@ -14099,7 +14226,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14099
14226
  "onUpdate:modelValue": updateFromTextValue,
14100
14227
  onFocusout: onHexInputFocusOut
14101
14228
  }, null, 8, ["model-value"]),
14102
- createVNode(_sfc_main$V, {
14229
+ createVNode(_sfc_main$X, {
14103
14230
  "model-value": alphaPercent.value,
14104
14231
  ariaLabel: "Alpha percentage",
14105
14232
  min: 0,
@@ -14114,7 +14241,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14114
14241
  }
14115
14242
  });
14116
14243
 
14117
- 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"]]);
14118
14245
 
14119
14246
  const HEX_LENGTH_1 = 1;
14120
14247
  const HEX_LENGTH_2 = 2;
@@ -14188,7 +14315,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
14188
14315
  return { handleFocusOut };
14189
14316
  };
14190
14317
 
14191
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
14318
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14192
14319
  __name: "KdsColorInput",
14193
14320
  props: /* @__PURE__ */ mergeModels({
14194
14321
  description: {},
@@ -14251,7 +14378,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14251
14378
  }, null, 8, ["color", "style"])
14252
14379
  ]),
14253
14380
  trailing: withCtx(() => [
14254
- createVNode(unref(_sfc_main$1p), {
14381
+ createVNode(unref(_sfc_main$1s), {
14255
14382
  modelValue: open.value,
14256
14383
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
14257
14384
  size: "xsmall",
@@ -14276,10 +14403,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14276
14403
  "aria-label": "Color picker"
14277
14404
  }, {
14278
14405
  default: withCtx(() => [
14279
- createVNode(ColorPicker, {
14406
+ open.value ? (openBlock(), createBlock(ColorPicker, {
14407
+ key: 0,
14280
14408
  modelValue: modelValue.value,
14281
14409
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => modelValue.value = $event)
14282
- }, null, 8, ["modelValue"])
14410
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true)
14283
14411
  ]),
14284
14412
  _: 1
14285
14413
  }, 8, ["modelValue"])
@@ -14291,7 +14419,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14291
14419
  }
14292
14420
  });
14293
14421
 
14294
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
14422
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14295
14423
  __name: "KdsPasswordInput",
14296
14424
  props: /* @__PURE__ */ mergeModels({
14297
14425
  description: {},
@@ -14352,7 +14480,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14352
14480
  onBlur: handleBlur
14353
14481
  }), {
14354
14482
  trailing: withCtx(() => [
14355
- __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1p, {
14483
+ __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1s, {
14356
14484
  key: 0,
14357
14485
  modelValue: showValue.value,
14358
14486
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
@@ -14392,7 +14520,7 @@ const kdsPasswordInputAutocompletes = Object.values(
14392
14520
  kdsPasswordInputAutocomplete
14393
14521
  );
14394
14522
 
14395
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14523
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14396
14524
  __name: "KdsUsernameInput",
14397
14525
  props: /* @__PURE__ */ mergeModels({
14398
14526
  description: {},
@@ -18403,17 +18531,17 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
18403
18531
  DateTimeFormat: Xn
18404
18532
  }));
18405
18533
 
18406
- const _hoisted_1$A = {
18534
+ const _hoisted_1$C = {
18407
18535
  role: "row",
18408
18536
  class: "kds-date-picker-header-row"
18409
18537
  };
18410
- const _hoisted_2$k = ["aria-label"];
18538
+ const _hoisted_2$l = ["aria-label"];
18411
18539
  const _hoisted_3$g = { class: "kds-date-picker-day-grid" };
18412
18540
  const _hoisted_4$e = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
18413
18541
  const REFERENCE_YEAR$2 = 2024;
18414
18542
  const DAYS_PER_WEEK = 7;
18415
18543
  const TOTAL_CELLS = 42;
18416
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
18544
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
18417
18545
  __name: "DatePickerDayGrid",
18418
18546
  props: {
18419
18547
  modelValue: {},
@@ -18708,14 +18836,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18708
18836
  role: "grid",
18709
18837
  "aria-label": "Calendar"
18710
18838
  }, [
18711
- createElementVNode("div", _hoisted_1$A, [
18839
+ createElementVNode("div", _hoisted_1$C, [
18712
18840
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
18713
18841
  return openBlock(), createElementBlock("div", {
18714
18842
  key: day,
18715
18843
  role: "columnheader",
18716
18844
  "aria-label": unref(DAY_FULL_LABELS)[i],
18717
18845
  class: "kds-date-picker-weekday"
18718
- }, toDisplayString(day), 9, _hoisted_2$k);
18846
+ }, toDisplayString(day), 9, _hoisted_2$l);
18719
18847
  }), 128))
18720
18848
  ]),
18721
18849
  createElementVNode("div", _hoisted_3$g, [
@@ -18757,13 +18885,13 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18757
18885
  }
18758
18886
  });
18759
18887
 
18760
- 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"]]);
18761
18889
 
18762
- 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"];
18763
18891
  const REFERENCE_YEAR$1 = 2024;
18764
18892
  const MONTHS_PER_YEAR$1 = 12;
18765
18893
  const MONTH_GRID_COLS = 3;
18766
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
18894
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
18767
18895
  __name: "DatePickerMonthGrid",
18768
18896
  props: {
18769
18897
  modelValue: {},
@@ -18953,7 +19081,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18953
19081
  onClick: ($event) => selectMonth(cell.month),
18954
19082
  onKeydown: ($event) => onKeydown($event, cell.month),
18955
19083
  onFocus: ($event) => focusedCell.value = cell.month
18956
- }, toDisplayString(cell.label), 43, _hoisted_1$z);
19084
+ }, toDisplayString(cell.label), 43, _hoisted_1$B);
18957
19085
  }), 128))
18958
19086
  ]);
18959
19087
  }), 128))
@@ -18962,12 +19090,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
18962
19090
  }
18963
19091
  });
18964
19092
 
18965
- 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"]]);
18966
19094
 
18967
- 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"];
18968
19096
  const YEAR_PAGE_SIZE$1 = 15;
18969
19097
  const YEAR_GRID_COLS = 3;
18970
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
19098
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
18971
19099
  __name: "DatePickerYearGrid",
18972
19100
  props: {
18973
19101
  modelValue: {},
@@ -19125,7 +19253,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19125
19253
  onClick: ($event) => selectYear(cell.year),
19126
19254
  onKeydown: ($event) => onKeydown($event, cell.year),
19127
19255
  onFocus: ($event) => focusedCell.value = cell.year
19128
- }, toDisplayString(cell.label), 43, _hoisted_1$y);
19256
+ }, toDisplayString(cell.label), 43, _hoisted_1$A);
19129
19257
  }), 128))
19130
19258
  ]);
19131
19259
  }), 128))
@@ -19134,10 +19262,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19134
19262
  }
19135
19263
  });
19136
19264
 
19137
- 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"]]);
19138
19266
 
19139
- const _hoisted_1$x = { class: "kds-date-picker" };
19140
- 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" };
19141
19269
  const _hoisted_3$f = { class: "kds-date-picker-nav-block" };
19142
19270
  const _hoisted_4$d = {
19143
19271
  key: 1,
@@ -19149,7 +19277,7 @@ const _hoisted_6$4 = { class: "kds-date-picker-body" };
19149
19277
  const MONTHS_PER_YEAR = 12;
19150
19278
  const YEAR_PAGE_SIZE = 15;
19151
19279
  const REFERENCE_YEAR = 2024;
19152
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
19280
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
19153
19281
  __name: "KdsDatePicker",
19154
19282
  props: /* @__PURE__ */ mergeModels({
19155
19283
  minDate: {},
@@ -19345,10 +19473,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19345
19473
  });
19346
19474
  __expose({ focus });
19347
19475
  return (_ctx, _cache) => {
19348
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
19349
- createElementVNode("div", _hoisted_2$j, [
19476
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
19477
+ createElementVNode("div", _hoisted_2$k, [
19350
19478
  createElementVNode("div", _hoisted_3$f, [
19351
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1s, {
19479
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1v, {
19352
19480
  key: 0,
19353
19481
  variant: "transparent",
19354
19482
  size: "small",
@@ -19357,7 +19485,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19357
19485
  disabled: prevYearDisabled.value,
19358
19486
  onClick: onPrevYear
19359
19487
  }, null, 8, ["disabled"])) : createCommentVNode("", true),
19360
- createVNode(_sfc_main$1s, {
19488
+ createVNode(_sfc_main$1v, {
19361
19489
  variant: "transparent",
19362
19490
  size: "small",
19363
19491
  "leading-icon": "chevron-left",
@@ -19366,7 +19494,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19366
19494
  onClick: onPrev
19367
19495
  }, null, 8, ["ariaLabel", "disabled"])
19368
19496
  ]),
19369
- view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1s, {
19497
+ view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1v, {
19370
19498
  key: 0,
19371
19499
  class: "kds-date-picker-header-label",
19372
19500
  variant: "transparent",
@@ -19375,7 +19503,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19375
19503
  onClick: onHeaderLabelClick
19376
19504
  }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$d, toDisplayString(headerLabel.value), 1)),
19377
19505
  createElementVNode("div", _hoisted_5$6, [
19378
- createVNode(_sfc_main$1s, {
19506
+ createVNode(_sfc_main$1v, {
19379
19507
  variant: "transparent",
19380
19508
  size: "small",
19381
19509
  "leading-icon": "chevron-right",
@@ -19383,7 +19511,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19383
19511
  disabled: nextDisabled.value,
19384
19512
  onClick: onNext
19385
19513
  }, null, 8, ["ariaLabel", "disabled"]),
19386
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1s, {
19514
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1v, {
19387
19515
  key: 0,
19388
19516
  variant: "transparent",
19389
19517
  size: "small",
@@ -19435,7 +19563,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19435
19563
  }
19436
19564
  });
19437
19565
 
19438
- 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"]]);
19439
19567
 
19440
19568
  const YEAR_END_INDEX = 4;
19441
19569
  const MONTH_START_INDEX = 4;
@@ -19538,7 +19666,7 @@ const useDateInputMask = (modelValue) => {
19538
19666
 
19539
19667
  const incompleteDateMessage = "Invalid date format. Please provide year (YYYY), month (MM), and day (DD).";
19540
19668
  const MONTH_NAME_SAMPLE_YEAR = 2001;
19541
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
19669
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
19542
19670
  __name: "KdsDateInput",
19543
19671
  props: /* @__PURE__ */ mergeModels({
19544
19672
  description: {},
@@ -19667,7 +19795,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19667
19795
  onBlur: onTextInputBlur
19668
19796
  }), {
19669
19797
  trailing: withCtx(() => [
19670
- createVNode(_sfc_main$1p, {
19798
+ createVNode(_sfc_main$1s, {
19671
19799
  modelValue: popoverIsVisible.value,
19672
19800
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
19673
19801
  size: "xsmall",
@@ -19716,8 +19844,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19716
19844
  }
19717
19845
  });
19718
19846
 
19719
- const _hoisted_1$w = { class: "kds-date-time-format-popover" };
19720
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
19847
+ const _hoisted_1$y = { class: "kds-date-time-format-popover" };
19848
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
19721
19849
  __name: "DateTimeFormatPopover",
19722
19850
  props: /* @__PURE__ */ mergeModels({
19723
19851
  allDefaultFormats: {},
@@ -19855,7 +19983,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
19855
19983
  }));
19856
19984
  });
19857
19985
  return (_ctx, _cache) => {
19858
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
19986
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
19859
19987
  modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
19860
19988
  key: 0,
19861
19989
  "model-value": effectiveSelectedMode.value,
@@ -19887,9 +20015,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
19887
20015
  }
19888
20016
  });
19889
20017
 
19890
- 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"]]);
19891
20019
 
19892
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
20020
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
19893
20021
  __name: "KdsDateTimeFormatInput",
19894
20022
  props: /* @__PURE__ */ mergeModels({
19895
20023
  description: {},
@@ -19936,7 +20064,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19936
20064
  autocomplete: props.autocomplete
19937
20065
  }), {
19938
20066
  trailing: withCtx(() => [
19939
- createVNode(unref(_sfc_main$1p), {
20067
+ createVNode(unref(_sfc_main$1s), {
19940
20068
  modelValue: open.value,
19941
20069
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
19942
20070
  size: "xsmall",
@@ -19961,7 +20089,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19961
20089
  "aria-label": "Date time format selection dialog"
19962
20090
  }, {
19963
20091
  default: withCtx(() => [
19964
- createVNode(DateTimeFormatPopover, {
20092
+ open.value ? (openBlock(), createBlock(DateTimeFormatPopover, {
20093
+ key: 0,
19965
20094
  selection: modelValue.value,
19966
20095
  "all-default-formats": props.allDefaultFormats,
19967
20096
  "allowed-formats": props.allowedFormats,
@@ -19969,7 +20098,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
19969
20098
  modelValue.value = $event;
19970
20099
  open.value = false;
19971
20100
  })
19972
- }, null, 8, ["selection", "all-default-formats", "allowed-formats"])
20101
+ }, null, 8, ["selection", "all-default-formats", "allowed-formats"])) : createCommentVNode("", true)
19973
20102
  ]),
19974
20103
  _: 1
19975
20104
  }, 8, ["modelValue"])
@@ -20022,7 +20151,7 @@ const buildRegexFromPatternInput = (input, options) => {
20022
20151
  return `^(?!.*${withCase}).*$`;
20023
20152
  };
20024
20153
 
20025
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
20154
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20026
20155
  __name: "KdsPatternInput",
20027
20156
  props: /* @__PURE__ */ mergeModels({
20028
20157
  description: {},
@@ -20105,7 +20234,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20105
20234
  clearable: ""
20106
20235
  }), {
20107
20236
  trailing: withCtx(() => [
20108
- createVNode(_sfc_main$1p, {
20237
+ createVNode(_sfc_main$1s, {
20109
20238
  modelValue: caseSensitive.value,
20110
20239
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
20111
20240
  size: "xsmall",
@@ -20115,7 +20244,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20115
20244
  ariaLabel: "Case sensitivity",
20116
20245
  disabled: __props.disabled
20117
20246
  }, null, 8, ["modelValue", "title", "disabled"]),
20118
- createVNode(_sfc_main$1p, {
20247
+ createVNode(_sfc_main$1s, {
20119
20248
  modelValue: excludeMatches.value,
20120
20249
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
20121
20250
  size: "xsmall",
@@ -20125,7 +20254,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20125
20254
  ariaLabel: "Exclude matches",
20126
20255
  disabled: __props.disabled
20127
20256
  }, null, 8, ["modelValue", "title", "disabled"]),
20128
- createVNode(_sfc_main$1p, {
20257
+ createVNode(_sfc_main$1s, {
20129
20258
  modelValue: useRegex.value,
20130
20259
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
20131
20260
  size: "xsmall",
@@ -20145,7 +20274,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20145
20274
  }
20146
20275
  });
20147
20276
 
20148
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
20277
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20149
20278
  __name: "KdsSearchInput",
20150
20279
  props: /* @__PURE__ */ mergeModels({
20151
20280
  description: {},
@@ -20190,7 +20319,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20190
20319
  const onFocus = (event) => {
20191
20320
  if (props.results) {
20192
20321
  resultsOpen.value = true;
20193
- listContainerEl.value?.handleFocus();
20194
20322
  }
20195
20323
  emit("focus", event);
20196
20324
  };
@@ -20204,7 +20332,6 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20204
20332
  const onClick = () => {
20205
20333
  if (props.results && !resultsOpen.value) {
20206
20334
  resultsOpen.value = true;
20207
- listContainerEl.value?.handleFocus();
20208
20335
  }
20209
20336
  };
20210
20337
  const maxHeightStyle = computed(() => {
@@ -20253,7 +20380,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20253
20380
  role: __props.results ? "combobox" : void 0,
20254
20381
  "aria-activedescendant": resultsOpen.value ? listContainerEl.value?.activeDescendant : void 0,
20255
20382
  "aria-haspopup": __props.results ? "listbox" : void 0,
20256
- "aria-controls": __props.results ? unref(resultsId) : void 0,
20383
+ "aria-controls": __props.results && resultsOpen.value ? unref(resultsId) : void 0,
20257
20384
  "aria-expanded": __props.results ? resultsOpen.value : void 0,
20258
20385
  onKeydown: onKeyDown,
20259
20386
  onFocus,
@@ -20271,7 +20398,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20271
20398
  "aria-label": "Search results container"
20272
20399
  }, {
20273
20400
  default: withCtx(() => [
20274
- createElementVNode("div", {
20401
+ resultsOpen.value ? (openBlock(), createElementBlock("div", {
20402
+ key: 0,
20275
20403
  class: "kds-search-results-container",
20276
20404
  style: normalizeStyle(maxHeightStyle.value)
20277
20405
  }, [
@@ -20287,7 +20415,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20287
20415
  "aria-label": "Search results list",
20288
20416
  onItemClick: onResultClick
20289
20417
  }, null, 8, ["id", "possible-values"])
20290
- ], 4)
20418
+ ], 4)) : createCommentVNode("", true)
20291
20419
  ]),
20292
20420
  _: 1
20293
20421
  }, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -20298,11 +20426,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20298
20426
  }
20299
20427
  });
20300
20428
 
20301
- 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"]]);
20302
20430
 
20303
- const _hoisted_1$v = ["rows", "placeholder", "disabled", "autocomplete"];
20431
+ const _hoisted_1$x = ["rows", "placeholder", "disabled", "autocomplete"];
20304
20432
  const DEFAULT_ROWS = 3;
20305
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
20433
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20306
20434
  __name: "KdsTextarea",
20307
20435
  props: /* @__PURE__ */ mergeModels({
20308
20436
  description: {},
@@ -20368,7 +20496,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20368
20496
  placeholder: __props.placeholder,
20369
20497
  disabled: __props.disabled,
20370
20498
  autocomplete: props.autocomplete
20371
- }), null, 16, _hoisted_1$v), [
20499
+ }), null, 16, _hoisted_1$x), [
20372
20500
  [vModelText, modelValue.value]
20373
20501
  ])
20374
20502
  ]),
@@ -20378,10 +20506,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20378
20506
  }
20379
20507
  });
20380
20508
 
20381
- 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"]]);
20382
20510
 
20383
- const _hoisted_1$u = { class: "kds-time-picker" };
20384
- 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" };
20385
20513
  const _hoisted_3$e = { class: "kds-time-picker-fields" };
20386
20514
  const _hoisted_4$c = {
20387
20515
  key: 0,
@@ -20399,7 +20527,7 @@ const MAX_HOUR = 23;
20399
20527
  const MAX_MINUTE = 59;
20400
20528
  const MAX_SECOND = 59;
20401
20529
  const MAX_MILLISECOND = 999;
20402
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
20530
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
20403
20531
  __name: "TimePicker",
20404
20532
  props: /* @__PURE__ */ mergeModels({
20405
20533
  maxGranularity: {}
@@ -20485,9 +20613,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20485
20613
  };
20486
20614
  __expose({ focus });
20487
20615
  return (_ctx, _cache) => {
20488
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
20489
- createElementVNode("div", _hoisted_2$i, [
20490
- createVNode(_sfc_main$V, {
20616
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
20617
+ createElementVNode("div", _hoisted_2$j, [
20618
+ createVNode(_sfc_main$X, {
20491
20619
  ref: "hourInput",
20492
20620
  modelValue: hour.value,
20493
20621
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
@@ -20497,7 +20625,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20497
20625
  max: MAX_HOUR,
20498
20626
  step: 1
20499
20627
  }, null, 8, ["modelValue"]),
20500
- createVNode(_sfc_main$V, {
20628
+ createVNode(_sfc_main$X, {
20501
20629
  modelValue: minute.value,
20502
20630
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
20503
20631
  class: "kds-time-picker-field",
@@ -20513,7 +20641,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20513
20641
  })) : createCommentVNode("", true),
20514
20642
  showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
20515
20643
  createElementVNode("div", _hoisted_3$e, [
20516
- createVNode(_sfc_main$V, {
20644
+ createVNode(_sfc_main$X, {
20517
20645
  ref: "secondInput",
20518
20646
  modelValue: second.value,
20519
20647
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => second.value = $event),
@@ -20523,7 +20651,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20523
20651
  max: MAX_SECOND,
20524
20652
  step: 1
20525
20653
  }, null, 8, ["modelValue"]),
20526
- createVNode(_sfc_main$1s, {
20654
+ createVNode(_sfc_main$1v, {
20527
20655
  class: "kds-time-picker-field-trash",
20528
20656
  variant: "transparent",
20529
20657
  "leading-icon": "trash",
@@ -20533,7 +20661,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20533
20661
  })
20534
20662
  ]),
20535
20663
  showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
20536
- createVNode(_sfc_main$V, {
20664
+ createVNode(_sfc_main$X, {
20537
20665
  ref: "millisecondInput",
20538
20666
  modelValue: millisecond.value,
20539
20667
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => millisecond.value = $event),
@@ -20546,7 +20674,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20546
20674
  max: MAX_MILLISECOND,
20547
20675
  step: 1
20548
20676
  }, null, 8, ["modelValue"]),
20549
- createVNode(_sfc_main$1s, {
20677
+ createVNode(_sfc_main$1v, {
20550
20678
  class: "kds-time-picker-field-trash",
20551
20679
  variant: "transparent",
20552
20680
  "leading-icon": "trash",
@@ -20555,7 +20683,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20555
20683
  onClick: removeMilliseconds
20556
20684
  })
20557
20685
  ])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
20558
- createVNode(_sfc_main$1s, {
20686
+ createVNode(_sfc_main$1v, {
20559
20687
  variant: "outlined",
20560
20688
  size: "small",
20561
20689
  "leading-icon": "plus",
@@ -20564,7 +20692,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20564
20692
  })
20565
20693
  ])) : createCommentVNode("", true)
20566
20694
  ], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
20567
- createVNode(_sfc_main$1s, {
20695
+ createVNode(_sfc_main$1v, {
20568
20696
  variant: "outlined",
20569
20697
  size: "small",
20570
20698
  "leading-icon": "plus",
@@ -20577,7 +20705,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
20577
20705
  }
20578
20706
  });
20579
20707
 
20580
- 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"]]);
20581
20709
 
20582
20710
  const HOURS_END_INDEX = 2;
20583
20711
  const MINUTES_START_INDEX = 2;
@@ -20787,7 +20915,7 @@ const useTimeInputMask = (modelValue, granularityRef) => {
20787
20915
  };
20788
20916
 
20789
20917
  const invalidTimeMessage = "The entered time is invalid.";
20790
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
20918
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
20791
20919
  __name: "KdsTimeInput",
20792
20920
  props: /* @__PURE__ */ mergeModels({
20793
20921
  description: {},
@@ -20902,7 +21030,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
20902
21030
  onBlur: onTextInputBlur
20903
21031
  }), {
20904
21032
  trailing: withCtx(() => [
20905
- createVNode(_sfc_main$1p, {
21033
+ createVNode(_sfc_main$1s, {
20906
21034
  modelValue: popoverIsVisible.value,
20907
21035
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
20908
21036
  size: "xsmall",
@@ -21164,11 +21292,11 @@ const stripInactiveFields = (duration, usedFormat) => {
21164
21292
  };
21165
21293
  const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
21166
21294
 
21167
- const _hoisted_1$t = { class: "kds-interval-popover" };
21168
- 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" };
21169
21297
  const _hoisted_3$d = { class: "kds-interval-popover-content" };
21170
21298
  const _hoisted_4$b = { class: "kds-interval-popover-grid" };
21171
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
21299
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21172
21300
  __name: "IntervalInputPopover",
21173
21301
  props: /* @__PURE__ */ mergeModels({
21174
21302
  format: {},
@@ -21262,8 +21390,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21262
21390
  }
21263
21391
  });
21264
21392
  return (_ctx, _cache) => {
21265
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
21266
- createElementVNode("div", _hoisted_2$h, [
21393
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
21394
+ createElementVNode("div", _hoisted_2$i, [
21267
21395
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
21268
21396
  props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
21269
21397
  key: 0,
@@ -21287,7 +21415,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21287
21415
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
21288
21416
  createElementVNode("div", _hoisted_4$b, [
21289
21417
  mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
21290
- return openBlock(), createBlock(unref(_sfc_main$V), {
21418
+ return openBlock(), createBlock(unref(_sfc_main$X), {
21291
21419
  key,
21292
21420
  "model-value": activeFields.value[key],
21293
21421
  label: fieldLabels[key] ?? unref(toTitleCase)(key),
@@ -21297,7 +21425,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21297
21425
  "onUpdate:modelValue": ($event) => updateField(key, $event)
21298
21426
  }, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
21299
21427
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(durationNumericKeys), (key) => {
21300
- return openBlock(), createBlock(unref(_sfc_main$V), {
21428
+ return openBlock(), createBlock(unref(_sfc_main$X), {
21301
21429
  key,
21302
21430
  "model-value": activeFields.value[key],
21303
21431
  label: fieldLabels[key] ?? unref(toTitleCase)(key),
@@ -21314,9 +21442,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21314
21442
  }
21315
21443
  });
21316
21444
 
21317
- 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"]]);
21318
21446
 
21319
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
21447
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
21320
21448
  __name: "KdsIntervalInput",
21321
21449
  props: /* @__PURE__ */ mergeModels({
21322
21450
  description: {},
@@ -21478,7 +21606,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21478
21606
  onKeydown: withKeys(withModifiers(commitTypedInput, ["prevent"]), ["enter"])
21479
21607
  }), {
21480
21608
  trailing: withCtx(() => [
21481
- createVNode(unref(_sfc_main$1p), {
21609
+ createVNode(unref(_sfc_main$1s), {
21482
21610
  modelValue: isPopoverOpen.value,
21483
21611
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopoverOpen.value = $event),
21484
21612
  size: "xsmall",
@@ -21507,14 +21635,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21507
21635
  "aria-label": "Interval selection dialog"
21508
21636
  }, {
21509
21637
  default: withCtx(() => [
21510
- createVNode(IntervalInputPopover, {
21638
+ isPopoverOpen.value ? (openBlock(), createBlock(IntervalInputPopover, {
21639
+ key: 0,
21511
21640
  modelValue: popoverModelValue.value,
21512
21641
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => popoverModelValue.value = $event),
21513
21642
  "used-format": activeFormat.value,
21514
21643
  "onUpdate:usedFormat": _cache[7] || (_cache[7] = ($event) => activeFormat.value = $event),
21515
21644
  format: __props.format,
21516
21645
  "allow-descending": __props.allowDescending
21517
- }, null, 8, ["modelValue", "used-format", "format", "allow-descending"])
21646
+ }, null, 8, ["modelValue", "used-format", "format", "allow-descending"])) : createCommentVNode("", true)
21518
21647
  ]),
21519
21648
  _: 1
21520
21649
  }, 8, ["modelValue"])
@@ -21526,8 +21655,115 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21526
21655
  }
21527
21656
  });
21528
21657
 
21529
- const _hoisted_1$s = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
21530
- 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 = {
21531
21767
  key: 0,
21532
21768
  class: "leading",
21533
21769
  "aria-hidden": "true"
@@ -21538,7 +21774,7 @@ const _hoisted_4$a = {
21538
21774
  "aria-hidden": "true"
21539
21775
  };
21540
21776
  const TRIGGER_REF = "triggerEl";
21541
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
21777
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21542
21778
  __name: "BaseDropdown",
21543
21779
  props: /* @__PURE__ */ mergeModels({
21544
21780
  text: {},
@@ -21618,8 +21854,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21618
21854
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("click")),
21619
21855
  onKeydown
21620
21856
  }, [
21621
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$g, [
21622
- createVNode(_sfc_main$1n, {
21857
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$h, [
21858
+ createVNode(_sfc_main$1q, {
21623
21859
  accessory: props.accessory,
21624
21860
  size: "medium"
21625
21861
  }, null, 8, ["accessory"])
@@ -21637,21 +21873,21 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21637
21873
  size: "small"
21638
21874
  }, null, 8, ["name"])
21639
21875
  ])
21640
- ], 42, _hoisted_1$s);
21876
+ ], 42, _hoisted_1$t);
21641
21877
  };
21642
21878
  }
21643
21879
  });
21644
21880
 
21645
- 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"]]);
21646
21882
 
21647
21883
  const DROPDOWN_SEARCH_THRESHOLD = 12;
21648
21884
 
21649
- const _hoisted_1$r = { class: "kds-dropdown-container" };
21650
- const _hoisted_2$f = {
21885
+ const _hoisted_1$s = { class: "kds-dropdown-container" };
21886
+ const _hoisted_2$g = {
21651
21887
  key: 0,
21652
21888
  class: "kds-dropdown-container-sticky-top"
21653
21889
  };
21654
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
21890
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21655
21891
  __name: "DropdownContainer",
21656
21892
  props: /* @__PURE__ */ mergeModels({
21657
21893
  emptyText: {},
@@ -21735,8 +21971,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21735
21971
  }
21736
21972
  });
21737
21973
  return (_ctx, _cache) => {
21738
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
21739
- 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, [
21740
21976
  createVNode(BaseInput, {
21741
21977
  ref_key: "searchEl",
21742
21978
  ref: searchEl,
@@ -21768,9 +22004,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21768
22004
  }
21769
22005
  });
21770
22006
 
21771
- 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"]]);
21772
22008
 
21773
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
22009
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
21774
22010
  __name: "KdsDropdown",
21775
22011
  props: /* @__PURE__ */ mergeModels({
21776
22012
  placeholder: { default: "Select" },
@@ -21800,9 +22036,20 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21800
22036
  const selectedOption = computed(
21801
22037
  () => props.possibleValues.find((o) => o.id === modelValue.value)
21802
22038
  );
21803
- watchEffect(() => {
22039
+ watchEffect((onCleanup) => {
21804
22040
  if (open.value) {
21805
- 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);
21806
22053
  }
21807
22054
  });
21808
22055
  const closeDropdown = () => {
@@ -21853,7 +22100,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21853
22100
  "aria-label": "Dropdown menu"
21854
22101
  }, {
21855
22102
  default: withCtx(() => [
21856
- createVNode(DropdownContainer, {
22103
+ open.value ? (openBlock(), createBlock(DropdownContainer, {
22104
+ key: 0,
21857
22105
  ref_key: "dropdownContainerEl",
21858
22106
  ref: dropdownContainerEl,
21859
22107
  modelValue: modelValue.value,
@@ -21862,7 +22110,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21862
22110
  loading: __props.loading,
21863
22111
  "empty-text": "No entries found",
21864
22112
  onSelect: closeDropdown
21865
- }, null, 8, ["modelValue", "possible-values", "loading"])
22113
+ }, null, 8, ["modelValue", "possible-values", "loading"])) : createCommentVNode("", true)
21866
22114
  ]),
21867
22115
  _: 1
21868
22116
  }, 8, ["modelValue"])
@@ -21873,6 +22121,159 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
21873
22121
  }
21874
22122
  });
21875
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
+
21876
22277
  const _hoisted_1$q = ["disabled"];
21877
22278
  const _hoisted_2$e = ["title"];
21878
22279
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
@@ -22118,9 +22519,20 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22118
22519
  const dropdownContainerEl = useTemplateRef("dropdownContainerEl");
22119
22520
  const popoverEl = useTemplateRef("popoverEl");
22120
22521
  const baseDropdownEl = useTemplateRef("baseDropdownEl");
22121
- watchEffect(() => {
22522
+ watchEffect((onCleanup) => {
22122
22523
  if (open.value) {
22123
- 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);
22124
22536
  }
22125
22537
  });
22126
22538
  const addedOptions = ref([]);
@@ -22200,7 +22612,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22200
22612
  "aria-label": "Multi select dropdown options"
22201
22613
  }, {
22202
22614
  default: withCtx(() => [
22203
- createVNode(MultiSelectDropdownContainer, {
22615
+ open.value ? (openBlock(), createBlock(MultiSelectDropdownContainer, {
22616
+ key: 0,
22204
22617
  ref_key: "dropdownContainerEl",
22205
22618
  ref: dropdownContainerEl,
22206
22619
  modelValue: modelValue.value,
@@ -22210,7 +22623,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
22210
22623
  "allow-new-values": __props.allowNewValues,
22211
22624
  "empty-text": "No entries found",
22212
22625
  onAddValue
22213
- }, null, 8, ["modelValue", "possible-values", "loading", "allow-new-values"])
22626
+ }, null, 8, ["modelValue", "possible-values", "loading", "allow-new-values"])) : createCommentVNode("", true)
22214
22627
  ]),
22215
22628
  _: 1
22216
22629
  }, 8, ["modelValue"])
@@ -23154,8 +23567,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23154
23567
  return (_ctx, _cache) => {
23155
23568
  return openBlock(), createBlock(unref(KdsResizeContainer), {
23156
23569
  "number-of-handles": 2,
23157
- height: 320,
23158
- "min-height": 200,
23570
+ height: unref(kdsDimensionComponentHeight12p5x),
23571
+ "min-height": unref(kdsDimensionComponentHeight12p5x),
23159
23572
  "handle-gap": `${unref(kdsSpacingContainer0p25x) * 2 + unref(kdsDimensionComponentHeight1p5x)}px`
23160
23573
  }, {
23161
23574
  default: withCtx(({ contentStyle }) => [
@@ -23186,7 +23599,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23186
23599
  }, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
23187
23600
  ]),
23188
23601
  createElementVNode("div", _hoisted_5$4, [
23189
- createVNode(unref(_sfc_main$1s), {
23602
+ createVNode(unref(_sfc_main$1v), {
23190
23603
  "leading-icon": "chevron-right",
23191
23604
  ariaLabel: "Move selected values right",
23192
23605
  title: "Move selected values right",
@@ -23195,7 +23608,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23195
23608
  disabled: effectiveDisabled.value || leftSelected.value.length === 0,
23196
23609
  onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
23197
23610
  }, null, 8, ["disabled"]),
23198
- createVNode(unref(_sfc_main$1s), {
23611
+ createVNode(unref(_sfc_main$1v), {
23199
23612
  "leading-icon": "chevron-right-double",
23200
23613
  ariaLabel: "Move all values right",
23201
23614
  title: "Move all values right",
@@ -23207,7 +23620,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23207
23620
  ...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
23208
23621
  ]))
23209
23622
  }, null, 8, ["disabled"]),
23210
- createVNode(unref(_sfc_main$1s), {
23623
+ createVNode(unref(_sfc_main$1v), {
23211
23624
  "leading-icon": "chevron-left",
23212
23625
  ariaLabel: "Move selected values left",
23213
23626
  title: "Move selected values left",
@@ -23216,7 +23629,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23216
23629
  disabled: effectiveDisabled.value || rightSelected.value.length === 0,
23217
23630
  onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
23218
23631
  }, null, 8, ["disabled"]),
23219
- createVNode(unref(_sfc_main$1s), {
23632
+ createVNode(unref(_sfc_main$1v), {
23220
23633
  "leading-icon": "chevron-left-double",
23221
23634
  ariaLabel: "Move all values left",
23222
23635
  title: "Move all values left",
@@ -23254,12 +23667,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23254
23667
  ], 4)
23255
23668
  ]),
23256
23669
  _: 1
23257
- }, 8, ["handle-gap"]);
23670
+ }, 8, ["height", "min-height", "handle-gap"]);
23258
23671
  };
23259
23672
  }
23260
23673
  });
23261
23674
 
23262
- const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-11062d8e"]]);
23675
+ const TwinListBody = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-eb1bc043"]]);
23263
23676
 
23264
23677
  const kdsTwinListSearchMode = {
23265
23678
  MANUAL: "manual",
@@ -23344,7 +23757,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
23344
23757
  ariaLabel: "Search values",
23345
23758
  placeholder: "Search",
23346
23759
  disabled: __props.disabled
23347
- }, 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), {
23348
23761
  key: 2,
23349
23762
  modelValue: pattern.value,
23350
23763
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
@@ -23669,7 +24082,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23669
24082
  createElementVNode("div", _hoisted_1$j, [
23670
24083
  createElementVNode("div", _hoisted_2$9, [
23671
24084
  createElementVNode("div", _hoisted_3$8, [
23672
- createVNode(_sfc_main$1s, {
24085
+ createVNode(_sfc_main$1v, {
23673
24086
  size: "small",
23674
24087
  variant: "transparent",
23675
24088
  "leading-icon": "sort-descending",
@@ -23677,7 +24090,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23677
24090
  disabled: __props.disabled,
23678
24091
  onClick: _cache[0] || (_cache[0] = ($event) => applyReorder(unref(sortByText)(true, optionLookup.value)))
23679
24092
  }, null, 8, ["disabled"]),
23680
- createVNode(_sfc_main$1s, {
24093
+ createVNode(_sfc_main$1v, {
23681
24094
  size: "small",
23682
24095
  variant: "transparent",
23683
24096
  "leading-icon": "sort-ascending",
@@ -23686,7 +24099,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23686
24099
  onClick: _cache[1] || (_cache[1] = ($event) => applyReorder(unref(sortByText)(false, optionLookup.value)))
23687
24100
  }, null, 8, ["disabled"])
23688
24101
  ]),
23689
- createVNode(_sfc_main$1s, {
24102
+ createVNode(_sfc_main$1v, {
23690
24103
  size: "small",
23691
24104
  variant: "transparent",
23692
24105
  destructive: "",
@@ -23708,7 +24121,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23708
24121
  /* fallback only for TS */
23709
24122
  }, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
23710
24123
  createElementVNode("div", _hoisted_4$7, [
23711
- createVNode(_sfc_main$1s, {
24124
+ createVNode(_sfc_main$1v, {
23712
24125
  size: "small",
23713
24126
  variant: "transparent",
23714
24127
  "leading-icon": "to-top",
@@ -23717,7 +24130,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23717
24130
  disabled: __props.disabled || !unref(canMoveUp),
23718
24131
  onClick: moveToTop
23719
24132
  }, null, 8, ["disabled"]),
23720
- createVNode(_sfc_main$1s, {
24133
+ createVNode(_sfc_main$1v, {
23721
24134
  size: "small",
23722
24135
  variant: "transparent",
23723
24136
  "leading-icon": "to-bottom",
@@ -23726,7 +24139,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23726
24139
  disabled: __props.disabled || !unref(canMoveDown),
23727
24140
  onClick: moveToBottom
23728
24141
  }, null, 8, ["disabled"]),
23729
- createVNode(_sfc_main$1s, {
24142
+ createVNode(_sfc_main$1v, {
23730
24143
  size: "small",
23731
24144
  variant: "transparent",
23732
24145
  "leading-icon": "arrow-up",
@@ -23735,7 +24148,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23735
24148
  disabled: __props.disabled || !unref(canMoveUp),
23736
24149
  onClick: moveUp
23737
24150
  }, null, 8, ["disabled"]),
23738
- createVNode(_sfc_main$1s, {
24151
+ createVNode(_sfc_main$1v, {
23739
24152
  size: "small",
23740
24153
  variant: "transparent",
23741
24154
  "leading-icon": "arrow-down",
@@ -23830,14 +24243,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23830
24243
  "aria-label": "Description"
23831
24244
  }, {
23832
24245
  default: withCtx(() => [
23833
- createVNode(InfoPopover, {
24246
+ modelValue.value ? (openBlock(), createBlock(InfoPopover, {
24247
+ key: 0,
23834
24248
  content: props.content
23835
24249
  }, {
23836
24250
  default: withCtx(() => [
23837
24251
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
23838
24252
  ]),
23839
24253
  _: 3
23840
- }, 8, ["content"])
24254
+ }, 8, ["content"])) : createCommentVNode("", true)
23841
24255
  ]),
23842
24256
  _: 3
23843
24257
  }, 8, ["modelValue"])
@@ -23846,7 +24260,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
23846
24260
  }
23847
24261
  });
23848
24262
 
23849
- 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"]]);
23850
24264
 
23851
24265
  const KdsInfoToggleButton$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
23852
24266
  __proto__: null,
@@ -24556,10 +24970,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24556
24970
  id: unref(headlineId),
24557
24971
  class: "kds-panel-headline"
24558
24972
  }, [
24559
- 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, {
24560
24974
  size: "small",
24561
24975
  onClick: __props.headline.onClick
24562
- }), 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, {
24563
24977
  size: "small",
24564
24978
  onItemClick: __props.headline.onItemClick
24565
24979
  }), null, 16, ["onItemClick"])) : createCommentVNode("", true)
@@ -24567,19 +24981,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24567
24981
  __props.headlineTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
24568
24982
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.headlineTrailingActions, (action, index) => {
24569
24983
  return openBlock(), createElementBlock(Fragment, { key: index }, [
24570
- action.type === "button" ? (openBlock(), createBlock(_sfc_main$1s, mergeProps({
24984
+ action.type === "button" ? (openBlock(), createBlock(_sfc_main$1v, mergeProps({
24571
24985
  key: 0,
24572
24986
  ref_for: true
24573
24987
  }, action.props, {
24574
24988
  size: "small",
24575
24989
  onClick: action.onClick
24576
- }), 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({
24577
24991
  key: 1,
24578
24992
  ref_for: true
24579
24993
  }, action.props, {
24580
24994
  size: "small",
24581
24995
  "onUpdate:modelValue": action.onUpdateModelValue
24582
- }), 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({
24583
24997
  key: 2,
24584
24998
  ref_for: true
24585
24999
  }, action.props, {
@@ -24608,7 +25022,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24608
25022
  __props.footerLeadingActions?.length || __props.footerTrailingActions?.length ? (openBlock(), createElementBlock("div", _hoisted_7, [
24609
25023
  createElementVNode("div", _hoisted_8, [
24610
25024
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerLeadingActions, (action, index) => {
24611
- return openBlock(), createBlock(_sfc_main$1s, mergeProps({
25025
+ return openBlock(), createBlock(_sfc_main$1v, mergeProps({
24612
25026
  key: `leading-${index}`
24613
25027
  }, { ref_for: true }, action.props, {
24614
25028
  onClick: action.onClick
@@ -24617,7 +25031,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
24617
25031
  ]),
24618
25032
  createElementVNode("div", _hoisted_9, [
24619
25033
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.footerTrailingActions, (action, index) => {
24620
- return openBlock(), createBlock(_sfc_main$1s, mergeProps({
25034
+ return openBlock(), createBlock(_sfc_main$1v, mergeProps({
24621
25035
  key: `trailing-${index}`
24622
25036
  }, { ref_for: true }, action.props, {
24623
25037
  onClick: action.onClick
@@ -25168,7 +25582,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
25168
25582
  disabled: __props.disabled
25169
25583
  }, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
25170
25584
  __props.badge ? (openBlock(), createBlock(unref(KdsBadge), mergeProps({ key: 1 }, __props.badge, { size: "xxsmall" }), null, 16)) : createCommentVNode("", true),
25171
- __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, {
25172
25586
  size: "xsmall",
25173
25587
  onClick: onButtonClick
25174
25588
  }), null, 16)) : createCommentVNode("", true)
@@ -25531,7 +25945,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25531
25945
  size: "medium"
25532
25946
  }, null, 8, ["name"])) : createCommentVNode("", true),
25533
25947
  createElementVNode("div", _hoisted_2$2, toDisplayString(__props.headline), 1),
25534
- createVNode(_sfc_main$1s, {
25948
+ createVNode(_sfc_main$1v, {
25535
25949
  "leading-icon": "x-close",
25536
25950
  variant: "transparent",
25537
25951
  size: "medium",
@@ -25804,7 +26218,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
25804
26218
  unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$2, [
25805
26219
  createElementVNode("div", _hoisted_2$1, toDisplayString(unref(config).value.message), 1),
25806
26220
  unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
25807
- createVNode(_sfc_main$10, {
26221
+ createVNode(_sfc_main$13, {
25808
26222
  modelValue: askAgain.value,
25809
26223
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
25810
26224
  label: unref(config).value.doNotAskAgain.label,
@@ -25819,7 +26233,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
25819
26233
  name: "footer",
25820
26234
  fn: withCtx(() => [
25821
26235
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
25822
- return openBlock(), createBlock(_sfc_main$1s, {
26236
+ return openBlock(), createBlock(_sfc_main$1v, {
25823
26237
  key: index,
25824
26238
  destructive: button.destructive,
25825
26239
  autofocus: button.autofocus,
@@ -25947,7 +26361,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25947
26361
  return openBlock(), createElementBlock(Fragment, null, [
25948
26362
  createElementVNode("div", _hoisted_1$1, [
25949
26363
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button) => {
25950
- return openBlock(), createBlock(_sfc_main$1s, {
26364
+ return openBlock(), createBlock(_sfc_main$1v, {
25951
26365
  ref_for: true,
25952
26366
  ref: "measureButton",
25953
26367
  key: button.id,
@@ -25956,7 +26370,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25956
26370
  "leading-icon": button.leadingIcon
25957
26371
  }, null, 8, ["label", "variant", "leading-icon"]);
25958
26372
  }), 128)),
25959
- createVNode(_sfc_main$1h, {
26373
+ createVNode(_sfc_main$1k, {
25960
26374
  ref: "measureMenuButton",
25961
26375
  "leading-icon": "more-actions",
25962
26376
  ariaLabel: "More actions",
@@ -25967,7 +26381,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25967
26381
  class: ["kds-button-group", __props.alignment]
25968
26382
  }), [
25969
26383
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleButtons.value, (button) => {
25970
- return openBlock(), createBlock(_sfc_main$1s, {
26384
+ return openBlock(), createBlock(_sfc_main$1v, {
25971
26385
  key: button.id,
25972
26386
  label: button.label,
25973
26387
  variant: button.variant ?? "outlined",
@@ -25978,7 +26392,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
25978
26392
  onClick: ($event) => emit("buttonClick", button.id)
25979
26393
  }, null, 8, ["label", "variant", "disabled", "leading-icon", "destructive", "title", "onClick"]);
25980
26394
  }), 128)),
25981
- overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$1h, {
26395
+ overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$1k, {
25982
26396
  key: 0,
25983
26397
  "leading-icon": "more-actions",
25984
26398
  ariaLabel: "More actions",
@@ -26032,5 +26446,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26032
26446
 
26033
26447
  const KdsDescription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ed6ba7bb"]]);
26034
26448
 
26035
- 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 };
26036
26450
  //# sourceMappingURL=index.js.map