@knime/kds-components 0.24.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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$W = ["role", "title", "aria-hidden", "aria-label"];
13
- const _hoisted_2$x = ["src"];
14
- const _hoisted_3$n = {
12
+ const _hoisted_1$X = ["role", "title", "aria-hidden", "aria-label"];
13
+ const _hoisted_2$y = ["src"];
14
+ const _hoisted_3$o = {
15
15
  key: 1,
16
16
  class: "kds-avatar-initials",
17
17
  "aria-hidden": "true"
18
18
  };
19
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
19
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20
20
  __name: "KdsAvatar",
21
21
  props: {
22
22
  initials: {},
@@ -59,10 +59,10 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
59
59
  alt: "",
60
60
  "aria-hidden": "true",
61
61
  onError: onImageError
62
- }, null, 40, _hoisted_2$x)) : (openBlock(), createElementBlock("div", _hoisted_3$n, [
62
+ }, null, 40, _hoisted_2$y)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
63
63
  createElementVNode("span", null, toDisplayString(displayedInitials.value), 1)
64
64
  ]))
65
- ], 10, _hoisted_1$W);
65
+ ], 10, _hoisted_1$X);
66
66
  };
67
67
  }
68
68
  });
@@ -75,7 +75,7 @@ const _export_sfc = (sfc, props) => {
75
75
  return target;
76
76
  };
77
77
 
78
- const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-c90668bf"]]);
78
+ const KdsAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-c90668bf"]]);
79
79
 
80
80
  const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
81
81
  const v = glob$1[path$13];
@@ -117,7 +117,7 @@ function useIcon({
117
117
  return iconComponent;
118
118
  }
119
119
 
120
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
120
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
121
121
  __name: "KdsIcon",
122
122
  props: {
123
123
  name: {},
@@ -146,7 +146,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
146
146
  }
147
147
  });
148
148
 
149
- const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-fb124eb6"]]);
149
+ const KdsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-fb124eb6"]]);
150
150
 
151
151
  const ID_TO_ICON_MAP = {
152
152
  // Flow Variables
@@ -483,8 +483,8 @@ const kdsDataTypeSize = {
483
483
  };
484
484
  const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
485
485
 
486
- const _hoisted_1$V = ["title"];
487
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
486
+ const _hoisted_1$W = ["title"];
487
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
488
488
  __name: "KdsDataType",
489
489
  props: {
490
490
  iconName: { default: "unknown-datatype" },
@@ -524,12 +524,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
524
524
  "aria-hidden": "true",
525
525
  focusable: "false"
526
526
  }, null, 8, ["class"]))
527
- ], 10, _hoisted_1$V);
527
+ ], 10, _hoisted_1$W);
528
528
  };
529
529
  }
530
530
  });
531
531
 
532
- const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3b8ebdbd"]]);
532
+ const KdsDataType = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-3b8ebdbd"]]);
533
533
 
534
534
  const kdsBadgeVariant = {
535
535
  NEUTRAL: "neutral",
@@ -546,8 +546,8 @@ const kdsBadgeSize = {
546
546
  };
547
547
  const kdsBadgeSizes = Object.values(kdsBadgeSize);
548
548
 
549
- const _hoisted_1$U = { class: "label-wrapper" };
550
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
549
+ const _hoisted_1$V = { class: "label-wrapper" };
550
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
551
551
  __name: "KdsBadge",
552
552
  props: {
553
553
  label: {},
@@ -569,13 +569,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
569
569
  name: __props.leadingIcon,
570
570
  size: sizeToIconSize[__props.size]
571
571
  }, null, 8, ["name", "size"])) : createCommentVNode("", true),
572
- createElementVNode("span", _hoisted_1$U, toDisplayString(__props.label), 1)
572
+ createElementVNode("span", _hoisted_1$V, toDisplayString(__props.label), 1)
573
573
  ], 2);
574
574
  };
575
575
  }
576
576
  });
577
577
 
578
- const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-df64f7cf"]]);
578
+ const KdsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-df64f7cf"]]);
579
579
 
580
580
  const kdsColorSwatchType = {
581
581
  LEARNER: "learner",
@@ -594,14 +594,14 @@ const kdsColorSwatchSize = {
594
594
  };
595
595
  const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
596
596
 
597
- const _hoisted_1$T = ["role", "title", "aria-hidden", "aria-label"];
597
+ const _hoisted_1$U = ["role", "title", "aria-hidden", "aria-label"];
598
598
  const RGBA_SHORT_HEX_LENGTH = 4;
599
599
  const RGBA_LONG_HEX_LENGTH = 8;
600
600
  const ALPHA_NIBBLE_INDEX = 3;
601
601
  const ALPHA_BYTE_START = 6;
602
602
  const RGB_SHORT_HEX_LENGTH = 3;
603
603
  const RGB_LONG_HEX_LENGTH = 6;
604
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
604
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
605
605
  __name: "KdsColorSwatch",
606
606
  props: {
607
607
  color: {},
@@ -676,12 +676,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
676
676
  style: normalizeStyle(swatchStyle.value),
677
677
  "aria-hidden": hasTitle.value ? void 0 : "true",
678
678
  "aria-label": hasTitle.value ? accessibleTitle.value : void 0
679
- }, null, 14, _hoisted_1$T);
679
+ }, null, 14, _hoisted_1$U);
680
680
  };
681
681
  }
682
682
  });
683
683
 
684
- const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-91e0130d"]]);
684
+ const KdsColorSwatch = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-91e0130d"]]);
685
685
 
686
686
  const kdsDarkModeType = {
687
687
  LIGHT: "light",
@@ -801,9 +801,9 @@ function useKdsIsTruncated(elementRef) {
801
801
  return { isTruncated };
802
802
  }
803
803
 
804
- const _hoisted_1$S = ["title", "aria-label"];
805
- const _hoisted_2$w = ["title"];
806
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
804
+ const _hoisted_1$T = ["title", "aria-label"];
805
+ const _hoisted_2$x = ["title"];
806
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
807
807
  __name: "KdsLiveStatus",
808
808
  props: {
809
809
  status: { default: "red" },
@@ -832,13 +832,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
832
832
  ref: labelEl,
833
833
  class: "label",
834
834
  title: unref(isTruncated) ? __props.label : void 0
835
- }, toDisplayString(__props.label), 9, _hoisted_2$w)) : createCommentVNode("", true)
836
- ], 10, _hoisted_1$S);
835
+ }, toDisplayString(__props.label), 9, _hoisted_2$x)) : createCommentVNode("", true)
836
+ ], 10, _hoisted_1$T);
837
837
  };
838
838
  }
839
839
  });
840
840
 
841
- const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-01555495"]]);
841
+ const KdsLiveStatus = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-01555495"]]);
842
842
 
843
843
  const kdsLiveStatusStatus = {
844
844
  RED: "red",
@@ -854,8 +854,8 @@ const kdsLiveStatusSize = {
854
854
  };
855
855
  const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
856
856
 
857
- const _hoisted_1$R = ["data-style"];
858
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
857
+ const _hoisted_1$S = ["data-style"];
858
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
859
859
  __name: "KdsLoadingSpinner",
860
860
  props: {
861
861
  size: { default: "medium" },
@@ -880,12 +880,12 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
880
880
  cy: "60",
881
881
  r: "50"
882
882
  }, null, -1)
883
- ])], 10, _hoisted_1$R);
883
+ ])], 10, _hoisted_1$S);
884
884
  };
885
885
  }
886
886
  });
887
887
 
888
- const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-54835dc0"]]);
888
+ const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-54835dc0"]]);
889
889
 
890
890
  const kdsLoadingSpinnerVariant = {
891
891
  ON_PRIMARY: "onPrimary",
@@ -895,14 +895,14 @@ const kdsLoadingSpinnerVariants = Object.values(
895
895
  kdsLoadingSpinnerVariant
896
896
  );
897
897
 
898
- const _hoisted_1$Q = ["role"];
899
- const _hoisted_2$v = { class: "header" };
900
- const _hoisted_3$m = { class: "headline" };
901
- const _hoisted_4$h = {
898
+ const _hoisted_1$R = ["role"];
899
+ const _hoisted_2$w = { class: "header" };
900
+ const _hoisted_3$n = { class: "headline" };
901
+ const _hoisted_4$i = {
902
902
  key: 0,
903
903
  class: "body"
904
904
  };
905
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
905
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
906
906
  __name: "KdsInlineMessage",
907
907
  props: {
908
908
  headline: {},
@@ -933,21 +933,21 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
933
933
  class: normalizeClass(classes.value),
934
934
  role: role.value
935
935
  }, [
936
- createElementVNode("div", _hoisted_2$v, [
936
+ createElementVNode("div", _hoisted_2$w, [
937
937
  createVNode(KdsIcon, {
938
938
  class: "icon",
939
939
  name: iconName.value,
940
940
  size: "small"
941
941
  }, null, 8, ["name"]),
942
- createElementVNode("div", _hoisted_3$m, toDisplayString(props.headline), 1)
942
+ createElementVNode("div", _hoisted_3$n, toDisplayString(props.headline), 1)
943
943
  ]),
944
- props.description ? (openBlock(), createElementBlock("div", _hoisted_4$h, toDisplayString(props.description), 1)) : createCommentVNode("", true)
945
- ], 10, _hoisted_1$Q);
944
+ props.description ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(props.description), 1)) : createCommentVNode("", true)
945
+ ], 10, _hoisted_1$R);
946
946
  };
947
947
  }
948
948
  });
949
949
 
950
- const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-af14056f"]]);
950
+ const KdsInlineMessage = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-af14056f"]]);
951
951
 
952
952
  const kdsInlineMessageVariant = {
953
953
  ERROR: "error",
@@ -957,10 +957,10 @@ const kdsInlineMessageVariant = {
957
957
  };
958
958
  const kdsInlineMessageVariants = Object.values(kdsInlineMessageVariant);
959
959
 
960
- const _hoisted_1$P = { class: "donut-container" };
961
- const _hoisted_2$u = ["height", "width", "viewBox"];
962
- const _hoisted_3$l = ["r", "stroke-width"];
963
- const _hoisted_4$g = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
960
+ const _hoisted_1$Q = { class: "donut-container" };
961
+ const _hoisted_2$v = ["height", "width", "viewBox"];
962
+ const _hoisted_3$m = ["r", "stroke-width"];
963
+ const _hoisted_4$h = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
964
964
  const _hoisted_5$8 = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
965
965
  const _hoisted_6$7 = {
966
966
  key: 0,
@@ -974,7 +974,7 @@ const _hoisted_8$2 = {
974
974
  const radius = 22;
975
975
  const innerRadius = 10;
976
976
  const backgroundStrokeOffset = 0.5;
977
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
977
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
978
978
  __name: "KdsDonutChart",
979
979
  props: {
980
980
  value: {},
@@ -1022,7 +1022,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1022
1022
  const transformWedge = computed(() => `rotate(-90, ${radius}, ${radius})`);
1023
1023
  const disabled = computed(() => !Number.isFinite(__props.maxValue));
1024
1024
  return (_ctx, _cache) => {
1025
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
1025
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
1026
1026
  (openBlock(), createElementBlock("svg", {
1027
1027
  height: diameter.value,
1028
1028
  width: diameter.value,
@@ -1036,7 +1036,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1036
1036
  r: r.value,
1037
1037
  "stroke-width": backgroundStrokeWidth.value,
1038
1038
  fill: "transparent"
1039
- }, null, 8, _hoisted_3$l),
1039
+ }, null, 8, _hoisted_3$m),
1040
1040
  __props.secondaryValue && !disabled.value ? (openBlock(), createElementBlock("circle", {
1041
1041
  key: 0,
1042
1042
  class: normalizeClass(["value-wedge", "secondary-circle", { animate: __props.animate }]),
@@ -1048,7 +1048,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1048
1048
  "stroke-dashoffset": secondaryStrokeDashOffset.value,
1049
1049
  fill: "transparent",
1050
1050
  transform: transformWedge.value
1051
- }, null, 10, _hoisted_4$g)) : createCommentVNode("", true),
1051
+ }, null, 10, _hoisted_4$h)) : createCommentVNode("", true),
1052
1052
  !disabled.value ? (openBlock(), createElementBlock("circle", {
1053
1053
  key: 1,
1054
1054
  class: normalizeClass(["value-wedge", "primary-circle", { animate: __props.animate }]),
@@ -1061,7 +1061,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1061
1061
  fill: "transparent",
1062
1062
  transform: transformWedge.value
1063
1063
  }, null, 10, _hoisted_5$8)) : createCommentVNode("", true)
1064
- ], 8, _hoisted_2$u)),
1064
+ ], 8, _hoisted_2$v)),
1065
1065
  __props.title ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
1066
1066
  createElementVNode("div", _hoisted_7$3, toDisplayString(__props.title), 1),
1067
1067
  __props.subText ? (openBlock(), createElementBlock("div", _hoisted_8$2, toDisplayString(__props.subText), 1)) : createCommentVNode("", true)
@@ -1071,22 +1071,22 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1071
1071
  }
1072
1072
  });
1073
1073
 
1074
- const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-66e88c70"]]);
1074
+ const KdsDonutChart = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-66e88c70"]]);
1075
1075
 
1076
- const _sfc_main$1f = { };
1076
+ const _sfc_main$1h = { };
1077
1077
 
1078
- const _hoisted_1$O = { class: "kds-divider" };
1078
+ const _hoisted_1$P = { class: "kds-divider" };
1079
1079
 
1080
1080
  function _sfc_render(_ctx, _cache) {
1081
- return (openBlock(), createElementBlock("hr", _hoisted_1$O))
1081
+ return (openBlock(), createElementBlock("hr", _hoisted_1$P))
1082
1082
  }
1083
- const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1f, [['render',_sfc_render],['__scopeId',"data-v-4d059bd3"]]);
1083
+ const KdsDivider = /*#__PURE__*/_export_sfc(_sfc_main$1h, [['render',_sfc_render],['__scopeId',"data-v-4d059bd3"]]);
1084
1084
 
1085
- const _hoisted_1$N = {
1085
+ const _hoisted_1$O = {
1086
1086
  key: 0,
1087
1087
  class: "label"
1088
1088
  };
1089
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1089
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1090
1090
  __name: "BaseButton",
1091
1091
  props: {
1092
1092
  size: { default: "medium" },
@@ -1147,7 +1147,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1147
1147
  size: iconSize.value
1148
1148
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
1149
1149
  ], true),
1150
- props.label ? (openBlock(), createElementBlock("span", _hoisted_1$N, toDisplayString(props.label), 1)) : createCommentVNode("", true),
1150
+ props.label ? (openBlock(), createElementBlock("span", _hoisted_1$O, toDisplayString(props.label), 1)) : createCommentVNode("", true),
1151
1151
  props.trailingIcon && props.label ? (openBlock(), createBlock(KdsIcon, {
1152
1152
  key: 1,
1153
1153
  name: props.trailingIcon,
@@ -1160,9 +1160,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1160
1160
  }
1161
1161
  });
1162
1162
 
1163
- const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-a696a1ec"]]);
1163
+ const BaseButton = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-a696a1ec"]]);
1164
1164
 
1165
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1165
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1166
1166
  __name: "KdsButton",
1167
1167
  props: {
1168
1168
  size: {},
@@ -1227,7 +1227,7 @@ function isExternalUrl(url) {
1227
1227
  return true;
1228
1228
  }
1229
1229
 
1230
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1230
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1231
1231
  __name: "KdsLinkButton",
1232
1232
  props: {
1233
1233
  size: {},
@@ -1456,12 +1456,12 @@ function prettyBytes(number, options) {
1456
1456
  return applyFixedWidth(result, options.fixedWidth);
1457
1457
  }
1458
1458
 
1459
- const _hoisted_1$M = { class: "label" };
1460
- const _hoisted_2$t = {
1459
+ const _hoisted_1$N = { class: "label" };
1460
+ const _hoisted_2$u = {
1461
1461
  key: 1,
1462
1462
  class: "file-size"
1463
1463
  };
1464
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1464
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1465
1465
  __name: "KdsLink",
1466
1466
  props: {
1467
1467
  to: {},
@@ -1551,13 +1551,13 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1551
1551
  onClick
1552
1552
  }, {
1553
1553
  default: withCtx(() => [
1554
- createElementVNode("span", _hoisted_1$M, toDisplayString(__props.label), 1),
1554
+ createElementVNode("span", _hoisted_1$N, toDisplayString(__props.label), 1),
1555
1555
  variant.value === "external" ? (openBlock(), createBlock(KdsIcon, {
1556
1556
  key: 0,
1557
1557
  name: "external-link",
1558
1558
  size: "xsmall"
1559
1559
  })) : createCommentVNode("", true),
1560
- normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$t, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1560
+ normalizedFileSize.value ? (openBlock(), createElementBlock("span", _hoisted_2$u, toDisplayString(normalizedFileSize.value), 1)) : createCommentVNode("", true)
1561
1561
  ]),
1562
1562
  _: 1
1563
1563
  }, 8, ["class", "to", "download", "target", "rel", "title", "aria-disabled"]);
@@ -1565,9 +1565,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1565
1565
  }
1566
1566
  });
1567
1567
 
1568
- const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-56e748a8"]]);
1568
+ const KdsLink = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-56e748a8"]]);
1569
1569
 
1570
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1570
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1571
1571
  __name: "KdsToggleButton",
1572
1572
  props: /* @__PURE__ */ mergeModels({
1573
1573
  size: {},
@@ -1603,9 +1603,9 @@ const kdsToggleButtonVariant = {
1603
1603
  };
1604
1604
  const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
1605
1605
 
1606
- const _hoisted_1$L = ["data-visible"];
1607
- const _hoisted_2$s = ["data-visible"];
1608
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1606
+ const _hoisted_1$M = ["data-visible"];
1607
+ const _hoisted_2$t = ["data-visible"];
1608
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1609
1609
  __name: "KdsProgressButton",
1610
1610
  props: /* @__PURE__ */ mergeModels({
1611
1611
  size: { default: "medium" },
@@ -1666,7 +1666,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1666
1666
  name: props.leadingIcon,
1667
1667
  size: iconSize.value
1668
1668
  }, null, 8, ["name", "size"])
1669
- ], 8, _hoisted_1$L),
1669
+ ], 8, _hoisted_1$M),
1670
1670
  createElementVNode("span", {
1671
1671
  class: "spinner",
1672
1672
  "data-visible": state.value === "progress"
@@ -1675,7 +1675,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1675
1675
  size: iconSize.value,
1676
1676
  variant: __props.variant === "filled" ? "onPrimary" : "onSurface"
1677
1677
  }, null, 8, ["size", "variant"])
1678
- ], 8, _hoisted_2$s)
1678
+ ], 8, _hoisted_2$t)
1679
1679
  ], 2)
1680
1680
  ]),
1681
1681
  _: 1
@@ -1684,7 +1684,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1684
1684
  }
1685
1685
  });
1686
1686
 
1687
- const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-d38d7ade"]]);
1687
+ const KdsProgressButton = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-d38d7ade"]]);
1688
1688
 
1689
1689
  const kdsProgressButtonState = {
1690
1690
  DEFAULT: "default",
@@ -1910,7 +1910,7 @@ const useStableItemIds = (options) => {
1910
1910
  return { itemsWithPrefix, idPrefix, toUnprefixedId };
1911
1911
  };
1912
1912
 
1913
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1913
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1914
1914
  __name: "ListItemAccessory",
1915
1915
  props: {
1916
1916
  accessory: {},
@@ -1956,13 +1956,13 @@ const kdsListItemAccessorySize = {
1956
1956
  LARGE: "large"
1957
1957
  };
1958
1958
 
1959
- const _hoisted_1$K = ["id", "role", "aria-selected", "aria-disabled"];
1960
- const _hoisted_2$r = {
1959
+ const _hoisted_1$L = ["id", "role", "aria-selected", "aria-disabled"];
1960
+ const _hoisted_2$s = {
1961
1961
  key: 0,
1962
1962
  class: "accessory"
1963
1963
  };
1964
- const _hoisted_3$k = { class: "content" };
1965
- const _hoisted_4$f = ["title"];
1964
+ const _hoisted_3$l = { class: "content" };
1965
+ const _hoisted_4$g = ["title"];
1966
1966
  const _hoisted_5$7 = {
1967
1967
  key: 0,
1968
1968
  class: "prefix"
@@ -1977,7 +1977,7 @@ const _hoisted_9$1 = {
1977
1977
  key: 3,
1978
1978
  class: "trailing-item-reserve-space"
1979
1979
  };
1980
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1980
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1981
1981
  __name: "KdsListItem",
1982
1982
  props: {
1983
1983
  id: {},
@@ -2035,14 +2035,14 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2035
2035
  ]),
2036
2036
  onClick
2037
2037
  }, [
2038
- props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$r, [
2039
- createVNode(_sfc_main$18, {
2038
+ props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$s, [
2039
+ createVNode(_sfc_main$1a, {
2040
2040
  accessory: props.accessory,
2041
2041
  size: accessorySize.value,
2042
2042
  disabled: __props.disabled
2043
2043
  }, null, 8, ["accessory", "size", "disabled"])
2044
2044
  ])) : createCommentVNode("", true),
2045
- createElementVNode("span", _hoisted_3$k, [
2045
+ createElementVNode("span", _hoisted_3$l, [
2046
2046
  createElementVNode("span", {
2047
2047
  ref_key: "labelEl",
2048
2048
  ref: labelEl,
@@ -2053,7 +2053,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2053
2053
  createElementVNode("span", {
2054
2054
  class: normalizeClass({ special: __props.special })
2055
2055
  }, toDisplayString(props.label), 3)
2056
- ], 8, _hoisted_4$f),
2056
+ ], 8, _hoisted_4$g),
2057
2057
  props.subText ? (openBlock(), createElementBlock("span", {
2058
2058
  key: 0,
2059
2059
  ref_key: "subtextEl",
@@ -2076,20 +2076,20 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2076
2076
  }, null, 8, ["name"])) : createCommentVNode("", true),
2077
2077
  !props.shortcut && !props.trailingIcon && !props.badge ? (openBlock(), createElementBlock("span", _hoisted_9$1)) : createCommentVNode("", true)
2078
2078
  ])
2079
- ], 10, _hoisted_1$K);
2079
+ ], 10, _hoisted_1$L);
2080
2080
  };
2081
2081
  }
2082
2082
  });
2083
2083
 
2084
- const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-def6165b"]]);
2084
+ const KdsListItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-def6165b"]]);
2085
2085
 
2086
- const _hoisted_1$J = { class: "kds-list-item-section-title" };
2087
- const _hoisted_2$q = {
2086
+ const _hoisted_1$K = { class: "kds-list-item-section-title" };
2087
+ const _hoisted_2$r = {
2088
2088
  key: 0,
2089
2089
  class: "icon"
2090
2090
  };
2091
- const _hoisted_3$j = ["title"];
2092
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2091
+ const _hoisted_3$k = ["title"];
2092
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2093
2093
  __name: "ListItemSectionTitle",
2094
2094
  props: {
2095
2095
  label: {},
@@ -2100,8 +2100,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2100
2100
  const labelEl = useTemplateRef("labelEl");
2101
2101
  const { isTruncated } = useKdsIsTruncated(labelEl);
2102
2102
  return (_ctx, _cache) => {
2103
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
2104
- props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$q, [
2103
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
2104
+ props.leadingIcon ? (openBlock(), createElementBlock("span", _hoisted_2$r, [
2105
2105
  createVNode(KdsIcon, {
2106
2106
  name: props.leadingIcon,
2107
2107
  size: "small"
@@ -2112,15 +2112,15 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2112
2112
  ref: labelEl,
2113
2113
  class: "label",
2114
2114
  title: unref(isTruncated) ? props.label : void 0
2115
- }, toDisplayString(props.label), 9, _hoisted_3$j)
2115
+ }, toDisplayString(props.label), 9, _hoisted_3$k)
2116
2116
  ]);
2117
2117
  };
2118
2118
  }
2119
2119
  });
2120
2120
 
2121
- const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-5eeb1226"]]);
2121
+ const ListItemSectionTitle = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-5eeb1226"]]);
2122
2122
 
2123
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2123
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2124
2124
  __name: "KdsMenuItem",
2125
2125
  props: {
2126
2126
  item: {},
@@ -2164,8 +2164,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2164
2164
  }
2165
2165
  });
2166
2166
 
2167
- const _hoisted_1$I = ["id", "aria-label", "aria-activedescendant"];
2168
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2167
+ const _hoisted_1$J = ["id", "aria-label", "aria-activedescendant"];
2168
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2169
2169
  __name: "KdsMenuContainer",
2170
2170
  props: {
2171
2171
  id: {},
@@ -2230,7 +2230,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2230
2230
  "aria-activedescendant": unref(activeId)
2231
2231
  }, [
2232
2232
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(itemsWithPrefix), (item, index) => {
2233
- return openBlock(), createBlock(_sfc_main$15, {
2233
+ return openBlock(), createBlock(_sfc_main$17, {
2234
2234
  key: item.id,
2235
2235
  item,
2236
2236
  "is-last": index === unref(itemsWithPrefix).length - 1,
@@ -2239,12 +2239,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2239
2239
  onClick: ($event) => handleItemInteraction(item, $event)
2240
2240
  }, null, 8, ["item", "is-last", "active-id", "variant", "onClick"]);
2241
2241
  }), 128))
2242
- ], 12, _hoisted_1$I);
2242
+ ], 12, _hoisted_1$J);
2243
2243
  };
2244
2244
  }
2245
2245
  });
2246
2246
 
2247
- const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-68200614"]]);
2247
+ const KdsMenuContainer = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-68200614"]]);
2248
2248
 
2249
2249
  const kdsPopoverPlacement = {
2250
2250
  CUSTOM: "custom"
@@ -2252,12 +2252,12 @@ const kdsPopoverPlacement = {
2252
2252
  const kdsPopoverType = {
2253
2253
  AUTO: "auto"};
2254
2254
 
2255
- const _hoisted_1$H = ["id", "popover", "role"];
2256
- const _hoisted_2$p = {
2255
+ const _hoisted_1$I = ["id", "popover", "role"];
2256
+ const _hoisted_2$q = {
2257
2257
  key: 0,
2258
2258
  class: "kds-popover-default-content"
2259
2259
  };
2260
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2260
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2261
2261
  __name: "KdsPopover",
2262
2262
  props: /* @__PURE__ */ mergeModels({
2263
2263
  role: {},
@@ -2315,21 +2315,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2315
2315
  onToggle
2316
2316
  }, [
2317
2317
  renderSlot(_ctx.$slots, "default", {}, () => [
2318
- props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$p, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2318
+ props.content?.trim().length ? (openBlock(), createElementBlock("div", _hoisted_2$q, toDisplayString(props.content), 1)) : createCommentVNode("", true)
2319
2319
  ], true)
2320
- ], 46, _hoisted_1$H);
2320
+ ], 46, _hoisted_1$I);
2321
2321
  };
2322
2322
  }
2323
2323
  });
2324
2324
 
2325
- const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-1e5f9d24"]]);
2325
+ const KdsPopover = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-1e5f9d24"]]);
2326
2326
 
2327
2327
  const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2328
2328
  __proto__: null,
2329
2329
  default: KdsPopover
2330
2330
  }, Symbol.toStringTag, { value: 'Module' }));
2331
2331
 
2332
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2332
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2333
2333
  ...{
2334
2334
  inheritAttrs: false
2335
2335
  },
@@ -2379,7 +2379,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2379
2379
  __expose({ menuButtonEl });
2380
2380
  return (_ctx, _cache) => {
2381
2381
  return openBlock(), createElementBlock(Fragment, null, [
2382
- createVNode(_sfc_main$1a, mergeProps({
2382
+ createVNode(_sfc_main$1c, mergeProps({
2383
2383
  ref: "menuButton",
2384
2384
  modelValue: isMenuOpen.value,
2385
2385
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event)
@@ -2412,7 +2412,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2412
2412
  }
2413
2413
  });
2414
2414
 
2415
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2415
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2416
2416
  __name: "KdsSplitButton",
2417
2417
  props: {
2418
2418
  size: { default: "medium" },
@@ -2499,7 +2499,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2499
2499
  }
2500
2500
  });
2501
2501
 
2502
- const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-8f48b87a"]]);
2502
+ const KdsSplitButton = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-8f48b87a"]]);
2503
2503
 
2504
2504
  const kdsButtonSize = {
2505
2505
  XSMALL: "xsmall",
@@ -2515,17 +2515,17 @@ const kdsButtonVariant = {
2515
2515
  };
2516
2516
  const kdsButtonVariants = Object.values(kdsButtonVariant);
2517
2517
 
2518
- const _hoisted_1$G = ["aria-disabled"];
2519
- const _hoisted_2$o = { class: "kds-empty-state-headline" };
2520
- const _hoisted_3$i = {
2518
+ const _hoisted_1$H = ["aria-disabled"];
2519
+ const _hoisted_2$p = { class: "kds-empty-state-headline" };
2520
+ const _hoisted_3$j = {
2521
2521
  key: 1,
2522
2522
  class: "kds-empty-state-description"
2523
2523
  };
2524
- const _hoisted_4$e = {
2524
+ const _hoisted_4$f = {
2525
2525
  key: 2,
2526
2526
  class: "kds-empty-state-action"
2527
2527
  };
2528
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2528
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2529
2529
  __name: "KdsEmptyState",
2530
2530
  props: {
2531
2531
  headline: {},
@@ -2543,13 +2543,13 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2543
2543
  () => props.button && "to" in props.button && props.button.to !== void 0
2544
2544
  );
2545
2545
  const buttonComponent = computed(
2546
- () => isLinkButton.value ? _sfc_main$1c : _sfc_main$1d
2546
+ () => isLinkButton.value ? _sfc_main$1e : _sfc_main$1f
2547
2547
  );
2548
2548
  const isSecondaryLinkButton = computed(
2549
2549
  () => props.secondaryButton && "to" in props.secondaryButton && props.secondaryButton.to !== void 0
2550
2550
  );
2551
2551
  const secondaryButtonComponent = computed(
2552
- () => isSecondaryLinkButton.value ? _sfc_main$1c : _sfc_main$1d
2552
+ () => isSecondaryLinkButton.value ? _sfc_main$1e : _sfc_main$1f
2553
2553
  );
2554
2554
  return (_ctx, _cache) => {
2555
2555
  return openBlock(), createElementBlock("div", {
@@ -2563,9 +2563,9 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2563
2563
  variant: "onSurface",
2564
2564
  "aria-hidden": "true"
2565
2565
  })) : createCommentVNode("", true),
2566
- createElementVNode("p", _hoisted_2$o, toDisplayString(props.headline), 1),
2567
- props.description ? (openBlock(), createElementBlock("p", _hoisted_3$i, toDisplayString(props.description), 1)) : createCommentVNode("", true),
2568
- props.button ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
2566
+ createElementVNode("p", _hoisted_2$p, toDisplayString(props.headline), 1),
2567
+ props.description ? (openBlock(), createElementBlock("p", _hoisted_3$j, toDisplayString(props.description), 1)) : createCommentVNode("", true),
2568
+ props.button ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
2569
2569
  (openBlock(), createBlock(resolveDynamicComponent(buttonComponent.value), mergeProps(props.button, {
2570
2570
  disabled: props.button?.disabled || __props.disabled,
2571
2571
  onClick: _cache[0] || (_cache[0] = ($event) => !__props.disabled && emit("buttonClick", $event))
@@ -2575,17 +2575,17 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2575
2575
  onClick: _cache[1] || (_cache[1] = ($event) => !__props.disabled && emit("secondaryButtonClick", $event))
2576
2576
  }), null, 16, ["disabled"])) : createCommentVNode("", true)
2577
2577
  ])) : createCommentVNode("", true)
2578
- ], 10, _hoisted_1$G);
2578
+ ], 10, _hoisted_1$H);
2579
2579
  };
2580
2580
  }
2581
2581
  });
2582
2582
 
2583
- const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-e913660a"]]);
2583
+ const KdsEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-e913660a"]]);
2584
2584
 
2585
- const _hoisted_1$F = ["role", "aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
2586
- const _hoisted_2$n = ["role"];
2585
+ const _hoisted_1$G = ["role", "aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
2586
+ const _hoisted_2$o = ["role"];
2587
2587
  const loadingStateText = "Loading entries";
2588
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2588
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2589
2589
  __name: "KdsListContainer",
2590
2590
  props: {
2591
2591
  possibleValues: {},
@@ -2713,20 +2713,20 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2713
2713
  headline: __props.loading ? loadingStateText : __props.emptyText,
2714
2714
  "loading-spinner": __props.loading
2715
2715
  }, null, 8, ["headline", "loading-spinner"])
2716
- ], 8, _hoisted_2$n)) : createCommentVNode("", true)
2717
- ], 16, _hoisted_1$F);
2716
+ ], 8, _hoisted_2$o)) : createCommentVNode("", true)
2717
+ ], 16, _hoisted_1$G);
2718
2718
  };
2719
2719
  }
2720
2720
  });
2721
2721
 
2722
- const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-5e1d539e"]]);
2722
+ const KdsListContainer = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-5e1d539e"]]);
2723
2723
 
2724
2724
  const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
2725
2725
  __proto__: null,
2726
2726
  default: KdsListContainer
2727
2727
  }, Symbol.toStringTag, { value: 'Module' }));
2728
2728
 
2729
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2729
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2730
2730
  ...{ inheritAttrs: false },
2731
2731
  __name: "KdsMenu",
2732
2732
  props: {
@@ -2815,7 +2815,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2815
2815
  }
2816
2816
  });
2817
2817
 
2818
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2818
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2819
2819
  ...{ inheritAttrs: false },
2820
2820
  __name: "KdsContextMenu",
2821
2821
  props: /* @__PURE__ */ mergeModels({
@@ -2866,9 +2866,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2866
2866
  }
2867
2867
  });
2868
2868
 
2869
- const _hoisted_1$E = { class: "kds-label-wrapper" };
2870
- const _hoisted_2$m = ["id", "for", "title"];
2871
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2869
+ const _hoisted_1$F = { class: "kds-label-wrapper" };
2870
+ const _hoisted_2$n = ["id", "for", "title"];
2871
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2872
2872
  __name: "KdsLabel",
2873
2873
  props: {
2874
2874
  label: {},
@@ -2885,7 +2885,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2885
2885
  const labelEl = useTemplateRef("labelEl");
2886
2886
  const { isTruncated } = useKdsIsTruncated(labelEl);
2887
2887
  return (_ctx, _cache) => {
2888
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
2888
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
2889
2889
  createElementVNode("label", {
2890
2890
  id: props.id,
2891
2891
  ref_key: "labelEl",
@@ -2893,7 +2893,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2893
2893
  for: props.for,
2894
2894
  class: "label",
2895
2895
  title: unref(isTruncated) ? props.label : void 0
2896
- }, toDisplayString(props.label), 9, _hoisted_2$m),
2896
+ }, toDisplayString(props.label), 9, _hoisted_2$n),
2897
2897
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
2898
2898
  key: 0,
2899
2899
  content: props.description,
@@ -2904,11 +2904,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2904
2904
  }
2905
2905
  });
2906
2906
 
2907
- const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-efe3313e"]]);
2907
+ const KdsLabel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-efe3313e"]]);
2908
2908
 
2909
- const _hoisted_1$D = ["id"];
2910
- const _hoisted_2$l = { class: "subtext-text" };
2911
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
2909
+ const _hoisted_1$E = ["id"];
2910
+ const _hoisted_2$m = { class: "subtext-text" };
2911
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2912
2912
  __name: "KdsSubText",
2913
2913
  props: {
2914
2914
  id: {},
@@ -2939,27 +2939,27 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
2939
2939
  variant: "onSurface",
2940
2940
  "aria-hidden": "true"
2941
2941
  })) : createCommentVNode("", true),
2942
- createElementVNode("span", _hoisted_2$l, toDisplayString(props.subText), 1)
2943
- ], 10, _hoisted_1$D)) : createCommentVNode("", true);
2942
+ createElementVNode("span", _hoisted_2$m, toDisplayString(props.subText), 1)
2943
+ ], 10, _hoisted_1$E)) : createCommentVNode("", true);
2944
2944
  };
2945
2945
  }
2946
2946
  });
2947
2947
 
2948
- const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-2e6ba10c"]]);
2948
+ const KdsSubText = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-2e6ba10c"]]);
2949
2949
 
2950
- const _hoisted_1$C = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
2951
- const _hoisted_2$k = { class: "control" };
2952
- const _hoisted_3$h = {
2950
+ const _hoisted_1$D = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
2951
+ const _hoisted_2$l = { class: "control" };
2952
+ const _hoisted_3$i = {
2953
2953
  key: 0,
2954
2954
  class: "content"
2955
2955
  };
2956
- const _hoisted_4$d = { class: "label" };
2956
+ const _hoisted_4$e = { class: "label" };
2957
2957
  const _hoisted_5$6 = ["id"];
2958
2958
  const _hoisted_6$5 = {
2959
2959
  key: 0,
2960
2960
  class: "subtext-wrapper"
2961
2961
  };
2962
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
2962
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2963
2963
  __name: "BaseCheckbox",
2964
2964
  props: /* @__PURE__ */ mergeModels({
2965
2965
  disabled: { type: Boolean, default: false },
@@ -3032,7 +3032,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3032
3032
  role: "checkbox",
3033
3033
  onClick: handleClick
3034
3034
  }, [
3035
- createElementVNode("div", _hoisted_2$k, [
3035
+ createElementVNode("div", _hoisted_2$l, [
3036
3036
  icon.value ? (openBlock(), createBlock(KdsIcon, {
3037
3037
  key: 0,
3038
3038
  name: icon.value,
@@ -3040,15 +3040,15 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3040
3040
  size: "xsmall"
3041
3041
  }, null, 8, ["name"])) : createCommentVNode("", true)
3042
3042
  ]),
3043
- props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
3044
- createElementVNode("div", _hoisted_4$d, toDisplayString(props.label), 1),
3043
+ props.label || props.helperText ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
3044
+ createElementVNode("div", _hoisted_4$e, toDisplayString(props.label), 1),
3045
3045
  props.helperText ? (openBlock(), createElementBlock("div", {
3046
3046
  key: 0,
3047
3047
  id: unref(helperId),
3048
3048
  class: "helper-text"
3049
3049
  }, toDisplayString(props.helperText), 9, _hoisted_5$6)) : createCommentVNode("", true)
3050
3050
  ])) : createCommentVNode("", true)
3051
- ], 10, _hoisted_1$C),
3051
+ ], 10, _hoisted_1$D),
3052
3052
  props.subText || props.preserveSubTextSpace ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
3053
3053
  createVNode(KdsSubText, {
3054
3054
  id: unref(descriptionId),
@@ -3062,9 +3062,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3062
3062
  }
3063
3063
  });
3064
3064
 
3065
- const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-7bfc5667"]]);
3065
+ const BaseCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-7bfc5667"]]);
3066
3066
 
3067
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
3067
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
3068
3068
  __name: "KdsCheckbox",
3069
3069
  props: /* @__PURE__ */ mergeModels({
3070
3070
  disabled: { type: Boolean, default: false },
@@ -3094,11 +3094,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
3094
3094
  }
3095
3095
  });
3096
3096
 
3097
- const _hoisted_1$B = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
3098
- const _hoisted_2$j = ["id"];
3099
- const _hoisted_3$g = ["title"];
3100
- const _hoisted_4$c = { class: "kds-fieldset-content" };
3101
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
3097
+ const _hoisted_1$C = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby"];
3098
+ const _hoisted_2$k = ["id"];
3099
+ const _hoisted_3$h = ["title"];
3100
+ const _hoisted_4$d = { class: "kds-fieldset-content" };
3101
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3102
3102
  __name: "BaseFieldsetWrapper",
3103
3103
  props: {
3104
3104
  id: {},
@@ -3144,14 +3144,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3144
3144
  ref: legendTextEl,
3145
3145
  class: "legend-text",
3146
3146
  title: unref(isTruncated) ? props.label : void 0
3147
- }, toDisplayString(props.label), 9, _hoisted_3$g),
3147
+ }, toDisplayString(props.label), 9, _hoisted_3$h),
3148
3148
  props.description ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
3149
3149
  key: 0,
3150
3150
  content: props.description,
3151
3151
  hidden: !isHovered.value
3152
3152
  }, null, 8, ["content", "hidden"])) : createCommentVNode("", true)
3153
- ], 8, _hoisted_2$j)) : createCommentVNode("", true),
3154
- createElementVNode("div", _hoisted_4$c, [
3153
+ ], 8, _hoisted_2$k)) : createCommentVNode("", true),
3154
+ createElementVNode("div", _hoisted_4$d, [
3155
3155
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3156
3156
  ]),
3157
3157
  createVNode(KdsSubText, {
@@ -3161,14 +3161,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3161
3161
  validating: props.validating,
3162
3162
  "preserve-sub-text-space": props.preserveSubTextSpace
3163
3163
  }, null, 8, ["id", "sub-text", "error", "validating", "preserve-sub-text-space"])
3164
- ], 40, _hoisted_1$B);
3164
+ ], 40, _hoisted_1$C);
3165
3165
  };
3166
3166
  }
3167
3167
  });
3168
3168
 
3169
- const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-a44731da"]]);
3169
+ const BaseFieldsetWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-a44731da"]]);
3170
3170
 
3171
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
3171
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
3172
3172
  __name: "KdsCheckboxGroup",
3173
3173
  props: /* @__PURE__ */ mergeModels({
3174
3174
  id: {},
@@ -3247,7 +3247,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3247
3247
  }
3248
3248
  });
3249
3249
 
3250
- const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-c6536296"]]);
3250
+ const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-c6536296"]]);
3251
3251
 
3252
3252
  const kdsCheckboxGroupAlignment = {
3253
3253
  VERTICAL: "vertical",
@@ -3263,19 +3263,19 @@ const kdsCheckboxValue = {
3263
3263
  };
3264
3264
  const kdsCheckboxValues = Object.values(kdsCheckboxValue);
3265
3265
 
3266
- const _hoisted_1$A = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
3267
- const _hoisted_2$i = { class: "control" };
3268
- const _hoisted_3$f = {
3266
+ const _hoisted_1$B = ["aria-checked", "aria-describedby", "aria-invalid", "disabled"];
3267
+ const _hoisted_2$j = { class: "control" };
3268
+ const _hoisted_3$g = {
3269
3269
  key: 0,
3270
3270
  class: "dot",
3271
3271
  viewBox: "0 0 2 2",
3272
3272
  "aria-hidden": "true",
3273
3273
  focusable: "false"
3274
3274
  };
3275
- const _hoisted_4$b = { class: "content" };
3275
+ const _hoisted_4$c = { class: "content" };
3276
3276
  const _hoisted_5$5 = { class: "label" };
3277
3277
  const _hoisted_6$4 = ["id"];
3278
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
3278
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3279
3279
  __name: "KdsRadioButton",
3280
3280
  props: /* @__PURE__ */ mergeModels({
3281
3281
  text: {},
@@ -3315,8 +3315,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3315
3315
  type: "button",
3316
3316
  onClick: handleClick
3317
3317
  }, [
3318
- createElementVNode("div", _hoisted_2$i, [
3319
- modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$f, [..._cache[0] || (_cache[0] = [
3318
+ createElementVNode("div", _hoisted_2$j, [
3319
+ modelValue.value ? (openBlock(), createElementBlock("svg", _hoisted_3$g, [..._cache[0] || (_cache[0] = [
3320
3320
  createElementVNode("circle", {
3321
3321
  cx: "1",
3322
3322
  cy: "1",
@@ -3324,7 +3324,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3324
3324
  }, null, -1)
3325
3325
  ])])) : createCommentVNode("", true)
3326
3326
  ]),
3327
- createElementVNode("div", _hoisted_4$b, [
3327
+ createElementVNode("div", _hoisted_4$c, [
3328
3328
  createElementVNode("div", _hoisted_5$5, toDisplayString(props.text), 1),
3329
3329
  props.helperText ? (openBlock(), createElementBlock("div", {
3330
3330
  key: 0,
@@ -3332,12 +3332,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3332
3332
  class: "helper-text"
3333
3333
  }, toDisplayString(props.helperText), 9, _hoisted_6$4)) : createCommentVNode("", true)
3334
3334
  ])
3335
- ], 10, _hoisted_1$A);
3335
+ ], 10, _hoisted_1$B);
3336
3336
  };
3337
3337
  }
3338
3338
  });
3339
3339
 
3340
- const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-f4f6392a"]]);
3340
+ const KdsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f4f6392a"]]);
3341
3341
 
3342
3342
  const useRadioSelection = ({
3343
3343
  selectedId,
@@ -3459,7 +3459,7 @@ const useRadioSelection = ({
3459
3459
  };
3460
3460
  };
3461
3461
 
3462
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
3462
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3463
3463
  __name: "KdsRadioButtonGroup",
3464
3464
  props: /* @__PURE__ */ mergeModels({
3465
3465
  id: {},
@@ -3534,10 +3534,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
3534
3534
  }
3535
3535
  });
3536
3536
 
3537
- const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-d78ed4a2"]]);
3537
+ const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-d78ed4a2"]]);
3538
3538
 
3539
- const _hoisted_1$z = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
3540
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3539
+ const _hoisted_1$A = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
3540
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3541
3541
  __name: "ValueSwitchItem",
3542
3542
  props: {
3543
3543
  selected: { type: Boolean },
@@ -3587,12 +3587,12 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3587
3587
  name: props.trailingIcon,
3588
3588
  size: __props.size
3589
3589
  }, null, 8, ["name", "size"])) : createCommentVNode("", true)
3590
- ], 10, _hoisted_1$z);
3590
+ ], 10, _hoisted_1$A);
3591
3591
  };
3592
3592
  }
3593
3593
  });
3594
3594
 
3595
- const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-5c6f0f1f"]]);
3595
+ const ValueSwitchItem = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-5c6f0f1f"]]);
3596
3596
 
3597
3597
  const useValueSwitchIconHiding = ({
3598
3598
  width,
@@ -3643,7 +3643,7 @@ const useValueSwitchIconHiding = ({
3643
3643
  };
3644
3644
  };
3645
3645
 
3646
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
3646
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
3647
3647
  __name: "KdsValueSwitch",
3648
3648
  props: /* @__PURE__ */ mergeModels({
3649
3649
  id: {},
@@ -3730,7 +3730,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3730
3730
  }
3731
3731
  });
3732
3732
 
3733
- const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-640271e0"]]);
3733
+ const KdsValueSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-640271e0"]]);
3734
3734
 
3735
3735
  const kdsRadioButtonGroupAlignment = {
3736
3736
  VERTICAL: "vertical",
@@ -3750,7 +3750,7 @@ const kdsValueSwitchVariant = {
3750
3750
  };
3751
3751
  const kdsValueSwitchVariants = Object.values(kdsValueSwitchVariant);
3752
3752
 
3753
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
3753
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3754
3754
  __name: "BaseFormFieldWrapper",
3755
3755
  props: {
3756
3756
  id: {},
@@ -3802,7 +3802,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3802
3802
  }
3803
3803
  });
3804
3804
 
3805
- const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-5d99c134"]]);
3805
+ const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-5d99c134"]]);
3806
3806
 
3807
3807
  const MIN_SEGMENT_INDEX = 0;
3808
3808
  const LARGE_STEP = 10;
@@ -4482,16 +4482,16 @@ const useInputSegments = (modelValue, getInputElement, configRef) => {
4482
4482
  };
4483
4483
  };
4484
4484
 
4485
- const _hoisted_1$y = {
4485
+ const _hoisted_1$z = {
4486
4486
  key: 0,
4487
4487
  class: "icon-wrapper leading"
4488
4488
  };
4489
- const _hoisted_2$h = {
4489
+ const _hoisted_2$i = {
4490
4490
  key: 1,
4491
4491
  class: "leading-slot"
4492
4492
  };
4493
- const _hoisted_3$e = ["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"];
4494
- const _hoisted_4$a = ["aria-disabled"];
4493
+ const _hoisted_3$f = ["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"];
4494
+ const _hoisted_4$b = ["aria-disabled"];
4495
4495
  const _hoisted_5$4 = {
4496
4496
  key: 4,
4497
4497
  class: "trailing-slot"
@@ -4500,7 +4500,7 @@ const _hoisted_6$3 = {
4500
4500
  key: 5,
4501
4501
  class: "icon-wrapper trailing"
4502
4502
  };
4503
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
4503
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
4504
4504
  __name: "BaseInput",
4505
4505
  props: /* @__PURE__ */ mergeModels({
4506
4506
  id: {},
@@ -4651,13 +4651,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4651
4651
  }),
4652
4652
  onClick: handleContainerClick
4653
4653
  }, [
4654
- props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
4654
+ props.leadingIcon ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
4655
4655
  props.leadingIcon ? (openBlock(), createBlock(KdsIcon, {
4656
4656
  key: 0,
4657
4657
  name: props.leadingIcon
4658
4658
  }, null, 8, ["name"])) : createCommentVNode("", true)
4659
4659
  ])) : createCommentVNode("", true),
4660
- _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
4660
+ _ctx.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
4661
4661
  renderSlot(_ctx.$slots, "leading", {}, void 0, true)
4662
4662
  ])) : createCommentVNode("", true),
4663
4663
  createElementVNode("input", {
@@ -4702,7 +4702,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4702
4702
  onCut: handleInputCut,
4703
4703
  onDrop: handleInputDrop,
4704
4704
  onDragend: handleInputDragEnd
4705
- }, null, 42, _hoisted_3$e),
4705
+ }, null, 42, _hoisted_3$f),
4706
4706
  props.unit ? (openBlock(), createElementBlock("span", {
4707
4707
  key: 2,
4708
4708
  class: normalizeClass({
@@ -4711,8 +4711,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4711
4711
  disabled: __props.disabled
4712
4712
  }),
4713
4713
  "aria-disabled": __props.disabled || void 0
4714
- }, toDisplayString(props.unit), 11, _hoisted_4$a)) : createCommentVNode("", true),
4715
- __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1d, {
4714
+ }, toDisplayString(props.unit), 11, _hoisted_4$b)) : createCommentVNode("", true),
4715
+ __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createBlock(_sfc_main$1f, {
4716
4716
  key: 3,
4717
4717
  class: "clear-button",
4718
4718
  type: "button",
@@ -4736,7 +4736,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4736
4736
  }
4737
4737
  });
4738
4738
 
4739
- const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-69242818"]]);
4739
+ const BaseInput = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-69242818"]]);
4740
4740
 
4741
4741
  const usePointerHandler = (updateFromEvent) => {
4742
4742
  const activePointerId = ref(null);
@@ -4909,7 +4909,7 @@ const createKdsNumberParser = (params) => {
4909
4909
 
4910
4910
  const REPEAT_INITIAL_DELAY_MS = 400;
4911
4911
  const REPEAT_INTERVAL_MS = 100;
4912
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
4912
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
4913
4913
  __name: "KdsNumberInput",
4914
4914
  props: /* @__PURE__ */ mergeModels({
4915
4915
  description: {},
@@ -5095,7 +5095,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5095
5095
  onBlur: handleBlur
5096
5096
  }), {
5097
5097
  trailing: withCtx(() => [
5098
- createVNode(_sfc_main$1d, {
5098
+ createVNode(_sfc_main$1f, {
5099
5099
  type: "button",
5100
5100
  size: "xsmall",
5101
5101
  variant: "outlined",
@@ -5108,7 +5108,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5108
5108
  onPointerleave: stopRepeating,
5109
5109
  onPointercancel: stopRepeating
5110
5110
  }, null, 8, ["ariaLabel", "disabled"]),
5111
- createVNode(_sfc_main$1d, {
5111
+ createVNode(_sfc_main$1f, {
5112
5112
  type: "button",
5113
5113
  size: "xsmall",
5114
5114
  variant: "outlined",
@@ -5131,7 +5131,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5131
5131
  }
5132
5132
  });
5133
5133
 
5134
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
5134
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5135
5135
  __name: "KdsTextInput",
5136
5136
  props: /* @__PURE__ */ mergeModels({
5137
5137
  description: {},
@@ -5301,7 +5301,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5301
5301
  }
5302
5302
  });
5303
5303
 
5304
- const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-c9f1be40"]]);
5304
+ const KdsTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-c9f1be40"]]);
5305
5305
 
5306
5306
  const HEX_RADIX = 16;
5307
5307
  const RGB_MAX = 255;
@@ -5448,8 +5448,8 @@ const removeAlphaFromHexInput = (next) => {
5448
5448
  return next;
5449
5449
  };
5450
5450
 
5451
- const _hoisted_1$x = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
5452
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
5451
+ const _hoisted_1$y = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext"];
5452
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5453
5453
  __name: "ColorPickerSlider",
5454
5454
  props: /* @__PURE__ */ mergeModels({
5455
5455
  label: {},
@@ -5533,16 +5533,16 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5533
5533
  onKeydown: onKeyDown
5534
5534
  }, [..._cache[5] || (_cache[5] = [
5535
5535
  createElementVNode("div", { class: "handle" }, null, -1)
5536
- ])], 40, _hoisted_1$x);
5536
+ ])], 40, _hoisted_1$y);
5537
5537
  };
5538
5538
  }
5539
5539
  });
5540
5540
 
5541
- const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-f4be2bd4"]]);
5541
+ const ColorPickerSlider = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-f4be2bd4"]]);
5542
5542
 
5543
- const _hoisted_1$w = { class: "kds-color-picker" };
5544
- const _hoisted_2$g = ["aria-valuetext"];
5545
- const _hoisted_3$d = { class: "value-inputs" };
5543
+ const _hoisted_1$x = { class: "kds-color-picker" };
5544
+ const _hoisted_2$h = ["aria-valuetext"];
5545
+ const _hoisted_3$e = { class: "value-inputs" };
5546
5546
  const DEFAULT_HUE_DEG = 270;
5547
5547
  const DEFAULT_SATURATION = 0.8;
5548
5548
  const DEFAULT_VALUE = 0.9;
@@ -5556,7 +5556,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
5556
5556
  const HUE_KEYBOARD_STEP_DEG = 1;
5557
5557
  const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
5558
5558
  const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
5559
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
5559
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5560
5560
  __name: "ColorPicker",
5561
5561
  props: {
5562
5562
  "modelValue": { default: "" },
@@ -5704,7 +5704,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5704
5704
  }
5705
5705
  };
5706
5706
  return (_ctx, _cache) => {
5707
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
5707
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
5708
5708
  createElementVNode("div", {
5709
5709
  ref_key: "colorspaceEl",
5710
5710
  ref: colorspaceEl,
@@ -5732,7 +5732,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5732
5732
  class: "handle",
5733
5733
  style: normalizeStyle(colorspaceHandleStyle.value)
5734
5734
  }, null, 4)
5735
- ], 44, _hoisted_2$g),
5735
+ ], 44, _hoisted_2$h),
5736
5736
  createVNode(ColorPickerSlider, {
5737
5737
  modelValue: hue.value,
5738
5738
  "onUpdate:modelValue": [
@@ -5767,7 +5767,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5767
5767
  step: KEYBOARD_STEP,
5768
5768
  "large-step": KEYBOARD_LARGE_STEP
5769
5769
  }, null, 8, ["modelValue", "value-now", "value-text"]),
5770
- createElementVNode("div", _hoisted_3$d, [
5770
+ createElementVNode("div", _hoisted_3$e, [
5771
5771
  createVNode(KdsTextInput, {
5772
5772
  "model-value": hexInputValue.value,
5773
5773
  ariaLabel: "Color hex value",
@@ -5775,7 +5775,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5775
5775
  "onUpdate:modelValue": updateFromTextValue,
5776
5776
  onFocusout: onHexInputFocusOut
5777
5777
  }, null, 8, ["model-value"]),
5778
- createVNode(_sfc_main$M, {
5778
+ createVNode(_sfc_main$O, {
5779
5779
  "model-value": alphaPercent.value,
5780
5780
  ariaLabel: "Alpha percentage",
5781
5781
  min: 0,
@@ -5790,7 +5790,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5790
5790
  }
5791
5791
  });
5792
5792
 
5793
- const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-2daeaa68"]]);
5793
+ const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-2daeaa68"]]);
5794
5794
 
5795
5795
  const HEX_LENGTH_1 = 1;
5796
5796
  const HEX_LENGTH_2 = 2;
@@ -5864,7 +5864,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
5864
5864
  return { handleFocusOut };
5865
5865
  };
5866
5866
 
5867
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
5867
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5868
5868
  __name: "KdsColorInput",
5869
5869
  props: /* @__PURE__ */ mergeModels({
5870
5870
  description: {},
@@ -5927,7 +5927,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5927
5927
  }, null, 8, ["color", "style"])
5928
5928
  ]),
5929
5929
  trailing: withCtx(() => [
5930
- createVNode(unref(_sfc_main$1a), {
5930
+ createVNode(unref(_sfc_main$1c), {
5931
5931
  modelValue: open.value,
5932
5932
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
5933
5933
  size: "xsmall",
@@ -5967,7 +5967,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5967
5967
  }
5968
5968
  });
5969
5969
 
5970
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
5970
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5971
5971
  __name: "KdsPasswordInput",
5972
5972
  props: /* @__PURE__ */ mergeModels({
5973
5973
  description: {},
@@ -6028,7 +6028,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6028
6028
  onBlur: handleBlur
6029
6029
  }), {
6030
6030
  trailing: withCtx(() => [
6031
- __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1a, {
6031
+ __props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$1c, {
6032
6032
  key: 0,
6033
6033
  modelValue: showValue.value,
6034
6034
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
@@ -6069,7 +6069,7 @@ const kdsPasswordInputAutocompletes = Object.values(
6069
6069
  kdsPasswordInputAutocomplete
6070
6070
  );
6071
6071
 
6072
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
6072
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6073
6073
  __name: "KdsUsernameInput",
6074
6074
  props: /* @__PURE__ */ mergeModels({
6075
6075
  description: {},
@@ -10080,17 +10080,17 @@ const sn = /*@__PURE__*/ new WeakMap, cn = /*@__PURE__*/ sn.get.bind(sn), un = /
10080
10080
  DateTimeFormat: Xn
10081
10081
  }));
10082
10082
 
10083
- const _hoisted_1$v = {
10083
+ const _hoisted_1$w = {
10084
10084
  role: "row",
10085
10085
  class: "kds-date-picker-header-row"
10086
10086
  };
10087
- const _hoisted_2$f = ["aria-label"];
10088
- const _hoisted_3$c = { class: "kds-date-picker-day-grid" };
10089
- const _hoisted_4$9 = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
10087
+ const _hoisted_2$g = ["aria-label"];
10088
+ const _hoisted_3$d = { class: "kds-date-picker-day-grid" };
10089
+ const _hoisted_4$a = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onFocus"];
10090
10090
  const REFERENCE_YEAR$2 = 2024;
10091
10091
  const DAYS_PER_WEEK = 7;
10092
10092
  const TOTAL_CELLS = 42;
10093
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
10093
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
10094
10094
  __name: "DatePickerDayGrid",
10095
10095
  props: {
10096
10096
  modelValue: {},
@@ -10385,17 +10385,17 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10385
10385
  role: "grid",
10386
10386
  "aria-label": "Calendar"
10387
10387
  }, [
10388
- createElementVNode("div", _hoisted_1$v, [
10388
+ createElementVNode("div", _hoisted_1$w, [
10389
10389
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DAY_LABELS), (day, i) => {
10390
10390
  return openBlock(), createElementBlock("div", {
10391
10391
  key: day,
10392
10392
  role: "columnheader",
10393
10393
  "aria-label": unref(DAY_FULL_LABELS)[i],
10394
10394
  class: "kds-date-picker-weekday"
10395
- }, toDisplayString(day), 9, _hoisted_2$f);
10395
+ }, toDisplayString(day), 9, _hoisted_2$g);
10396
10396
  }), 128))
10397
10397
  ]),
10398
- createElementVNode("div", _hoisted_3$c, [
10398
+ createElementVNode("div", _hoisted_3$d, [
10399
10399
  (openBlock(true), createElementBlock(Fragment, null, renderList(weeks.value, (week, wi) => {
10400
10400
  return openBlock(), createElementBlock("div", {
10401
10401
  key: wi,
@@ -10424,7 +10424,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10424
10424
  onClick: ($event) => selectDate(day),
10425
10425
  onKeydown: onDayKeydown,
10426
10426
  onFocus: ($event) => onDayFocus(day)
10427
- }, toDisplayString(day.day), 43, _hoisted_4$9);
10427
+ }, toDisplayString(day.day), 43, _hoisted_4$a);
10428
10428
  }), 128))
10429
10429
  ]);
10430
10430
  }), 128))
@@ -10434,13 +10434,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10434
10434
  }
10435
10435
  });
10436
10436
 
10437
- const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-51807b35"]]);
10437
+ const DatePickerDayGrid = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-51807b35"]]);
10438
10438
 
10439
- const _hoisted_1$u = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
10439
+ const _hoisted_1$v = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
10440
10440
  const REFERENCE_YEAR$1 = 2024;
10441
10441
  const MONTHS_PER_YEAR$1 = 12;
10442
10442
  const MONTH_GRID_COLS = 3;
10443
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
10443
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
10444
10444
  __name: "DatePickerMonthGrid",
10445
10445
  props: {
10446
10446
  modelValue: {},
@@ -10630,7 +10630,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10630
10630
  onClick: ($event) => selectMonth(cell.month),
10631
10631
  onKeydown: ($event) => onKeydown($event, cell.month),
10632
10632
  onFocus: ($event) => focusedCell.value = cell.month
10633
- }, toDisplayString(cell.label), 43, _hoisted_1$u);
10633
+ }, toDisplayString(cell.label), 43, _hoisted_1$v);
10634
10634
  }), 128))
10635
10635
  ]);
10636
10636
  }), 128))
@@ -10639,12 +10639,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10639
10639
  }
10640
10640
  });
10641
10641
 
10642
- const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-63d96e84"]]);
10642
+ const DatePickerMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-63d96e84"]]);
10643
10643
 
10644
- const _hoisted_1$t = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
10644
+ const _hoisted_1$u = ["aria-selected", "aria-disabled", "aria-label", "disabled", "tabindex", "onClick", "onKeydown", "onFocus"];
10645
10645
  const YEAR_PAGE_SIZE$1 = 15;
10646
10646
  const YEAR_GRID_COLS = 3;
10647
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
10647
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
10648
10648
  __name: "DatePickerYearGrid",
10649
10649
  props: {
10650
10650
  modelValue: {},
@@ -10802,7 +10802,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
10802
10802
  onClick: ($event) => selectYear(cell.year),
10803
10803
  onKeydown: ($event) => onKeydown($event, cell.year),
10804
10804
  onFocus: ($event) => focusedCell.value = cell.year
10805
- }, toDisplayString(cell.label), 43, _hoisted_1$t);
10805
+ }, toDisplayString(cell.label), 43, _hoisted_1$u);
10806
10806
  }), 128))
10807
10807
  ]);
10808
10808
  }), 128))
@@ -10811,12 +10811,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
10811
10811
  }
10812
10812
  });
10813
10813
 
10814
- const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-270d55b9"]]);
10814
+ const DatePickerYearGrid = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-270d55b9"]]);
10815
10815
 
10816
- const _hoisted_1$s = { class: "kds-date-picker" };
10817
- const _hoisted_2$e = { class: "kds-date-picker-header" };
10818
- const _hoisted_3$b = { class: "kds-date-picker-nav-block" };
10819
- const _hoisted_4$8 = {
10816
+ const _hoisted_1$t = { class: "kds-date-picker" };
10817
+ const _hoisted_2$f = { class: "kds-date-picker-header" };
10818
+ const _hoisted_3$c = { class: "kds-date-picker-nav-block" };
10819
+ const _hoisted_4$9 = {
10820
10820
  key: 1,
10821
10821
  class: "kds-date-picker-header-static-label",
10822
10822
  "aria-live": "polite"
@@ -10826,7 +10826,7 @@ const _hoisted_6$2 = { class: "kds-date-picker-body" };
10826
10826
  const MONTHS_PER_YEAR = 12;
10827
10827
  const YEAR_PAGE_SIZE = 15;
10828
10828
  const REFERENCE_YEAR = 2024;
10829
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
10829
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
10830
10830
  __name: "KdsDatePicker",
10831
10831
  props: /* @__PURE__ */ mergeModels({
10832
10832
  minDate: {},
@@ -11022,10 +11022,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11022
11022
  });
11023
11023
  __expose({ focus });
11024
11024
  return (_ctx, _cache) => {
11025
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
11026
- createElementVNode("div", _hoisted_2$e, [
11027
- createElementVNode("div", _hoisted_3$b, [
11028
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1d, {
11025
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
11026
+ createElementVNode("div", _hoisted_2$f, [
11027
+ createElementVNode("div", _hoisted_3$c, [
11028
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1f, {
11029
11029
  key: 0,
11030
11030
  variant: "transparent",
11031
11031
  size: "small",
@@ -11034,7 +11034,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11034
11034
  disabled: prevYearDisabled.value,
11035
11035
  onClick: onPrevYear
11036
11036
  }, null, 8, ["disabled"])) : createCommentVNode("", true),
11037
- createVNode(_sfc_main$1d, {
11037
+ createVNode(_sfc_main$1f, {
11038
11038
  variant: "transparent",
11039
11039
  size: "small",
11040
11040
  "leading-icon": "chevron-left",
@@ -11043,16 +11043,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11043
11043
  onClick: onPrev
11044
11044
  }, null, 8, ["ariaLabel", "disabled"])
11045
11045
  ]),
11046
- view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1d, {
11046
+ view.value !== "year" ? (openBlock(), createBlock(_sfc_main$1f, {
11047
11047
  key: 0,
11048
11048
  class: "kds-date-picker-header-label",
11049
11049
  variant: "transparent",
11050
11050
  size: "small",
11051
11051
  label: headerLabel.value,
11052
11052
  onClick: onHeaderLabelClick
11053
- }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$8, toDisplayString(headerLabel.value), 1)),
11053
+ }, null, 8, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(headerLabel.value), 1)),
11054
11054
  createElementVNode("div", _hoisted_5$3, [
11055
- createVNode(_sfc_main$1d, {
11055
+ createVNode(_sfc_main$1f, {
11056
11056
  variant: "transparent",
11057
11057
  size: "small",
11058
11058
  "leading-icon": "chevron-right",
@@ -11060,7 +11060,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11060
11060
  disabled: nextDisabled.value,
11061
11061
  onClick: onNext
11062
11062
  }, null, 8, ["ariaLabel", "disabled"]),
11063
- view.value === "day" ? (openBlock(), createBlock(_sfc_main$1d, {
11063
+ view.value === "day" ? (openBlock(), createBlock(_sfc_main$1f, {
11064
11064
  key: 0,
11065
11065
  variant: "transparent",
11066
11066
  size: "small",
@@ -11112,7 +11112,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11112
11112
  }
11113
11113
  });
11114
11114
 
11115
- const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-e46d7e18"]]);
11115
+ const KdsDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-e46d7e18"]]);
11116
11116
 
11117
11117
  const YEAR_END_INDEX = 4;
11118
11118
  const MONTH_START_INDEX = 4;
@@ -11215,7 +11215,7 @@ const useDateInputMask = (modelValue) => {
11215
11215
 
11216
11216
  const incompleteDateMessage = "Invalid date format. Please provide year (YYYY), month (MM), and day (DD).";
11217
11217
  const MONTH_NAME_SAMPLE_YEAR = 2001;
11218
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
11218
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
11219
11219
  __name: "KdsDateInput",
11220
11220
  props: /* @__PURE__ */ mergeModels({
11221
11221
  description: {},
@@ -11328,7 +11328,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
11328
11328
  onBlur: onTextInputBlur
11329
11329
  }), {
11330
11330
  trailing: withCtx(() => [
11331
- createVNode(_sfc_main$1a, {
11331
+ createVNode(_sfc_main$1c, {
11332
11332
  modelValue: popoverIsVisible.value,
11333
11333
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
11334
11334
  type: "button",
@@ -11378,8 +11378,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
11378
11378
  }
11379
11379
  });
11380
11380
 
11381
- const _hoisted_1$r = { class: "kds-date-time-format-popover" };
11382
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
11381
+ const _hoisted_1$s = { class: "kds-date-time-format-popover" };
11382
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
11383
11383
  __name: "DateTimeFormatPopover",
11384
11384
  props: /* @__PURE__ */ mergeModels({
11385
11385
  allDefaultFormats: {},
@@ -11517,7 +11517,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
11517
11517
  }));
11518
11518
  });
11519
11519
  return (_ctx, _cache) => {
11520
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
11520
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
11521
11521
  modeOptions.value.length > 1 ? (openBlock(), createBlock(KdsValueSwitch, {
11522
11522
  key: 0,
11523
11523
  "model-value": effectiveSelectedMode.value,
@@ -11549,9 +11549,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
11549
11549
  }
11550
11550
  });
11551
11551
 
11552
- const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-8c697d02"]]);
11552
+ const DateTimeFormatPopover = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-8c697d02"]]);
11553
11553
 
11554
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
11554
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
11555
11555
  __name: "KdsDateTimeFormatInput",
11556
11556
  props: /* @__PURE__ */ mergeModels({
11557
11557
  description: {},
@@ -11598,7 +11598,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
11598
11598
  autocomplete: props.autocomplete
11599
11599
  }), {
11600
11600
  trailing: withCtx(() => [
11601
- createVNode(unref(_sfc_main$1a), {
11601
+ createVNode(unref(_sfc_main$1c), {
11602
11602
  modelValue: open.value,
11603
11603
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
11604
11604
  size: "xsmall",
@@ -11684,7 +11684,7 @@ const buildRegexFromPatternInput = (input, options) => {
11684
11684
  return `^(?!.*${withCase}).*$`;
11685
11685
  };
11686
11686
 
11687
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
11687
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
11688
11688
  __name: "KdsPatternInput",
11689
11689
  props: /* @__PURE__ */ mergeModels({
11690
11690
  description: {},
@@ -11767,7 +11767,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11767
11767
  clearable: ""
11768
11768
  }), {
11769
11769
  trailing: withCtx(() => [
11770
- createVNode(_sfc_main$1a, {
11770
+ createVNode(_sfc_main$1c, {
11771
11771
  modelValue: caseSensitive.value,
11772
11772
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
11773
11773
  size: "xsmall",
@@ -11777,7 +11777,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11777
11777
  ariaLabel: "Case sensitivity",
11778
11778
  disabled: __props.disabled
11779
11779
  }, null, 8, ["modelValue", "title", "disabled"]),
11780
- createVNode(_sfc_main$1a, {
11780
+ createVNode(_sfc_main$1c, {
11781
11781
  modelValue: excludeMatches.value,
11782
11782
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
11783
11783
  size: "xsmall",
@@ -11787,7 +11787,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11787
11787
  ariaLabel: "Exclude matches",
11788
11788
  disabled: __props.disabled
11789
11789
  }, null, 8, ["modelValue", "title", "disabled"]),
11790
- createVNode(_sfc_main$1a, {
11790
+ createVNode(_sfc_main$1c, {
11791
11791
  modelValue: useRegex.value,
11792
11792
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
11793
11793
  size: "xsmall",
@@ -11807,7 +11807,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11807
11807
  }
11808
11808
  });
11809
11809
 
11810
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
11810
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
11811
11811
  __name: "KdsSearchInput",
11812
11812
  props: /* @__PURE__ */ mergeModels({
11813
11813
  description: {},
@@ -11959,11 +11959,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
11959
11959
  }
11960
11960
  });
11961
11961
 
11962
- const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-3094963a"]]);
11962
+ const KdsSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3094963a"]]);
11963
11963
 
11964
- const _hoisted_1$q = ["rows", "placeholder", "disabled", "autocomplete"];
11964
+ const _hoisted_1$r = ["rows", "placeholder", "disabled", "autocomplete"];
11965
11965
  const DEFAULT_ROWS = 3;
11966
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
11966
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
11967
11967
  __name: "KdsTextarea",
11968
11968
  props: /* @__PURE__ */ mergeModels({
11969
11969
  description: {},
@@ -12024,7 +12024,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
12024
12024
  placeholder: __props.placeholder,
12025
12025
  disabled: __props.disabled,
12026
12026
  autocomplete: props.autocomplete
12027
- }), null, 16, _hoisted_1$q), [
12027
+ }), null, 16, _hoisted_1$r), [
12028
12028
  [vModelText, modelValue.value]
12029
12029
  ])
12030
12030
  ]),
@@ -12034,12 +12034,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
12034
12034
  }
12035
12035
  });
12036
12036
 
12037
- const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bdf12ef9"]]);
12037
+ const KdsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-bdf12ef9"]]);
12038
12038
 
12039
- const _hoisted_1$p = { class: "kds-time-picker" };
12040
- const _hoisted_2$d = { class: "kds-time-picker-selected-time" };
12041
- const _hoisted_3$a = { class: "kds-time-picker-fields" };
12042
- const _hoisted_4$7 = { class: "kds-time-picker-fields" };
12039
+ const _hoisted_1$q = { class: "kds-time-picker" };
12040
+ const _hoisted_2$e = { class: "kds-time-picker-selected-time" };
12041
+ const _hoisted_3$b = { class: "kds-time-picker-fields" };
12042
+ const _hoisted_4$8 = { class: "kds-time-picker-fields" };
12043
12043
  const _hoisted_5$2 = {
12044
12044
  key: 0,
12045
12045
  class: "kds-time-picker-fields"
@@ -12056,7 +12056,7 @@ const MAX_HOUR = 23;
12056
12056
  const MAX_MINUTE = 59;
12057
12057
  const MAX_SECOND = 59;
12058
12058
  const MAX_MILLISECOND = 999;
12059
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
12059
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
12060
12060
  __name: "TimePicker",
12061
12061
  props: /* @__PURE__ */ mergeModels({
12062
12062
  maxGranularity: {}
@@ -12157,10 +12157,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12157
12157
  };
12158
12158
  __expose({ focus });
12159
12159
  return (_ctx, _cache) => {
12160
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
12161
- createElementVNode("div", _hoisted_2$d, toDisplayString(selectedTimeLabel.value), 1),
12162
- createElementVNode("div", _hoisted_3$a, [
12163
- createVNode(_sfc_main$M, {
12160
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
12161
+ createElementVNode("div", _hoisted_2$e, toDisplayString(selectedTimeLabel.value), 1),
12162
+ createElementVNode("div", _hoisted_3$b, [
12163
+ createVNode(_sfc_main$O, {
12164
12164
  ref: "hourInput",
12165
12165
  modelValue: hour.value,
12166
12166
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hour.value = $event),
@@ -12170,7 +12170,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12170
12170
  max: MAX_HOUR,
12171
12171
  step: 1
12172
12172
  }, null, 8, ["modelValue"]),
12173
- createVNode(_sfc_main$M, {
12173
+ createVNode(_sfc_main$O, {
12174
12174
  modelValue: minute.value,
12175
12175
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => minute.value = $event),
12176
12176
  class: "kds-time-picker-field",
@@ -12185,8 +12185,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12185
12185
  class: "kds-time-picker-divider"
12186
12186
  })) : createCommentVNode("", true),
12187
12187
  showSecondInput.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
12188
- createElementVNode("div", _hoisted_4$7, [
12189
- createVNode(_sfc_main$M, {
12188
+ createElementVNode("div", _hoisted_4$8, [
12189
+ createVNode(_sfc_main$O, {
12190
12190
  ref: "secondInput",
12191
12191
  modelValue: second.value,
12192
12192
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => second.value = $event),
@@ -12196,7 +12196,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12196
12196
  max: MAX_SECOND,
12197
12197
  step: 1
12198
12198
  }, null, 8, ["modelValue"]),
12199
- createVNode(_sfc_main$1d, {
12199
+ createVNode(_sfc_main$1f, {
12200
12200
  class: "kds-time-picker-field-trash",
12201
12201
  variant: "transparent",
12202
12202
  "leading-icon": "trash",
@@ -12206,7 +12206,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12206
12206
  })
12207
12207
  ]),
12208
12208
  showMillisecondInput.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
12209
- createVNode(_sfc_main$M, {
12209
+ createVNode(_sfc_main$O, {
12210
12210
  ref: "millisecondInput",
12211
12211
  modelValue: millisecond.value,
12212
12212
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => millisecond.value = $event),
@@ -12219,7 +12219,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12219
12219
  max: MAX_MILLISECOND,
12220
12220
  step: 1
12221
12221
  }, null, 8, ["modelValue"]),
12222
- createVNode(_sfc_main$1d, {
12222
+ createVNode(_sfc_main$1f, {
12223
12223
  class: "kds-time-picker-field-trash",
12224
12224
  variant: "transparent",
12225
12225
  "leading-icon": "trash",
@@ -12228,7 +12228,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12228
12228
  onClick: removeMilliseconds
12229
12229
  })
12230
12230
  ])) : __props.maxGranularity === "millisecond" ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
12231
- createVNode(_sfc_main$1d, {
12231
+ createVNode(_sfc_main$1f, {
12232
12232
  variant: "outlined",
12233
12233
  size: "small",
12234
12234
  "leading-icon": "plus",
@@ -12237,7 +12237,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12237
12237
  })
12238
12238
  ])) : createCommentVNode("", true)
12239
12239
  ], 64)) : __props.maxGranularity !== "minute" ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
12240
- createVNode(_sfc_main$1d, {
12240
+ createVNode(_sfc_main$1f, {
12241
12241
  variant: "outlined",
12242
12242
  size: "small",
12243
12243
  "leading-icon": "plus",
@@ -12250,7 +12250,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12250
12250
  }
12251
12251
  });
12252
12252
 
12253
- const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c2f06c87"]]);
12253
+ const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-c2f06c87"]]);
12254
12254
 
12255
12255
  const HOURS_END_INDEX = 2;
12256
12256
  const MINUTES_START_INDEX = 2;
@@ -12460,7 +12460,7 @@ const useTimeInputMask = (modelValue, granularityRef) => {
12460
12460
  };
12461
12461
 
12462
12462
  const invalidTimeMessage = "The entered time is invalid.";
12463
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
12463
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
12464
12464
  __name: "KdsTimeInput",
12465
12465
  props: /* @__PURE__ */ mergeModels({
12466
12466
  description: {},
@@ -12575,7 +12575,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
12575
12575
  onBlur: onTextInputBlur
12576
12576
  }), {
12577
12577
  trailing: withCtx(() => [
12578
- createVNode(_sfc_main$1a, {
12578
+ createVNode(_sfc_main$1c, {
12579
12579
  modelValue: popoverIsVisible.value,
12580
12580
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
12581
12581
  type: "button",
@@ -12633,6 +12633,573 @@ const kdsTimeInputGranularity = {
12633
12633
  };
12634
12634
  const kdsTimeInputGranularities = Object.values(kdsTimeInputGranularity);
12635
12635
 
12636
+ const kdsIntervalInputFormat = {
12637
+ DATE: "date",
12638
+ TIME: "time",
12639
+ DATE_OR_TIME: "date_or_time"
12640
+ };
12641
+ const kdsIntervalInputFormats = Object.values(kdsIntervalInputFormat);
12642
+ const kdsIntervalDirectionality = {
12643
+ ASCENDING: "ascending",
12644
+ DESCENDING: "descending"
12645
+ };
12646
+ const kdsIntervalDirectionalities = Object.values(
12647
+ kdsIntervalDirectionality
12648
+ );
12649
+
12650
+ const periodNumericKeys = [
12651
+ "years",
12652
+ "months",
12653
+ "weeks",
12654
+ "days"
12655
+ ];
12656
+ const durationNumericKeys = [
12657
+ "hours",
12658
+ "minutes",
12659
+ "seconds",
12660
+ "milliseconds"
12661
+ ];
12662
+ const MILLISECONDS_MAX = 999;
12663
+ const getMax = (key) => key === "milliseconds" ? MILLISECONDS_MAX : Number.MAX_SAFE_INTEGER;
12664
+ const extractDurationFields = (duration) => ({
12665
+ years: duration.years,
12666
+ months: duration.months,
12667
+ weeks: duration.weeks,
12668
+ days: duration.days,
12669
+ hours: duration.hours,
12670
+ minutes: duration.minutes,
12671
+ seconds: duration.seconds,
12672
+ milliseconds: duration.milliseconds
12673
+ });
12674
+ const withDurationField = (duration, key, value) => Un.Duration.from({ ...extractDurationFields(duration), [key]: value });
12675
+ const zeroDuration = Un.Duration.from({ years: 0 });
12676
+ const createDefaultDuration = () => zeroDuration;
12677
+ const classifyDuration = (duration) => {
12678
+ const abs = duration.abs();
12679
+ const hasDate = abs.years > 0 || abs.months > 0 || abs.weeks > 0 || abs.days > 0;
12680
+ const hasTime = abs.hours > 0 || abs.minutes > 0 || abs.seconds > 0 || abs.milliseconds > 0;
12681
+ if (hasTime && !hasDate) {
12682
+ return kdsIntervalInputFormat.TIME;
12683
+ }
12684
+ return kdsIntervalInputFormat.DATE;
12685
+ };
12686
+ const formatPart = (value, unit) => {
12687
+ if (value === 0) {
12688
+ return "";
12689
+ }
12690
+ return value === 1 ? `${value} ${unit} ` : `${value} ${unit}s `;
12691
+ };
12692
+ const formatDurationToHumanReadable = (duration, usedFormat) => {
12693
+ const abs = duration.abs();
12694
+ let output = "";
12695
+ if (usedFormat === kdsIntervalInputFormat.DATE) {
12696
+ const hasDateParts = abs.years > 0 || abs.months > 0 || abs.weeks > 0 || abs.days > 0;
12697
+ if (!hasDateParts) {
12698
+ return "0 days";
12699
+ }
12700
+ output += formatPart(abs.years, "year");
12701
+ output += formatPart(abs.months, "month");
12702
+ output += formatPart(abs.weeks, "week");
12703
+ output += formatPart(abs.days, "day");
12704
+ } else {
12705
+ const hasTimeParts = abs.hours > 0 || abs.minutes > 0 || abs.seconds > 0 || abs.milliseconds > 0;
12706
+ if (!hasTimeParts) {
12707
+ return "0 seconds";
12708
+ }
12709
+ output += formatPart(abs.hours, "hour");
12710
+ output += formatPart(abs.minutes, "minute");
12711
+ const milliSecondsZero = abs.milliseconds === 0;
12712
+ if (abs.seconds !== 0 || !milliSecondsZero) {
12713
+ if (milliSecondsZero) {
12714
+ output += formatPart(abs.seconds, "second");
12715
+ } else {
12716
+ output += `${abs.seconds}.${abs.milliseconds.toString().padStart(3, "0")} seconds `;
12717
+ }
12718
+ }
12719
+ }
12720
+ if (duration.sign < 0) {
12721
+ output = `-(${output.trim()})`;
12722
+ }
12723
+ return output.trim();
12724
+ };
12725
+ const yearsPart = String.raw`(\d+)\s*y(?:ears?)?`;
12726
+ const monthsPart = String.raw`(\d+)\s*m(?:o(?:nths?)?)?`;
12727
+ const weeksPart = String.raw`(\d+)\s*w(?:eeks?)?`;
12728
+ const daysPart = String.raw`(\d+)\s*d(?:ays?)?`;
12729
+ const hoursPart = String.raw`(\d+)\s*h(?:ours?)?`;
12730
+ const minutesPart = String.raw`(\d+)\s*m(?:in(?:s|utes?)?)?`;
12731
+ const secondsPart = String.raw`(\d+)(?:[,.](\d{1,3}))?\s*s(?:ec(?:s|onds?)?)?`;
12732
+ const humanReadablePeriodRegex = new RegExp(
12733
+ String.raw`^(?:${yearsPart})?\s*(?:${monthsPart})?\s*(?:${weeksPart})?\s*(?:${daysPart})?\s*$`,
12734
+ "i"
12735
+ );
12736
+ const humanReadableDurationRegex = new RegExp(
12737
+ String.raw`^(?:${hoursPart})?\s*(?:${minutesPart})?\s*(?:${secondsPart})?$`,
12738
+ "i"
12739
+ );
12740
+ const negativeHumanReadablePeriodRegex = new RegExp(
12741
+ String.raw`^\s*-\s*\(\s*${humanReadablePeriodRegex.source.replaceAll(/[$^]/g, "")}\s*\)\s*$`,
12742
+ "i"
12743
+ );
12744
+ const negativeHumanReadablePeriodRegexWithSingleField = new RegExp(
12745
+ String.raw`^\s*-\s*(?:\s*${yearsPart}|${monthsPart}|${weeksPart}|${daysPart})\s*$`,
12746
+ "i"
12747
+ );
12748
+ const negativeHumanReadableDurationRegex = new RegExp(
12749
+ String.raw`^\s*-\s*\(\s*${humanReadableDurationRegex.source.replaceAll(/[$^]/g, "")}\s*\)\s*$`,
12750
+ "i"
12751
+ );
12752
+ const negativeHumanReadableDurationRegexWithSingleField = new RegExp(
12753
+ String.raw`^\s*-\s*(?:\s*${hoursPart}|${minutesPart}|${secondsPart})\s*$`,
12754
+ "i"
12755
+ );
12756
+ const extractPeriodFromMatch = (negative, match) => {
12757
+ const sign = negative ? -1 : 1;
12758
+ return Un.Duration.from({
12759
+ years: sign * parseInt(match[1] ?? "0", 10),
12760
+ months: sign * parseInt(match[2] ?? "0", 10),
12761
+ weeks: sign * parseInt(match[3] ?? "0", 10),
12762
+ days: sign * parseInt(match[4] ?? "0", 10)
12763
+ });
12764
+ };
12765
+ const extractDurationFromMatch = (negative, match) => {
12766
+ const sign = negative ? -1 : 1;
12767
+ const milliseconds = parseInt(match[4]?.padEnd(3, "0") ?? "0", 10);
12768
+ return Un.Duration.from({
12769
+ hours: sign * parseInt(match[1] ?? "0", 10),
12770
+ minutes: sign * parseInt(match[2] ?? "0", 10),
12771
+ seconds: sign * parseInt(match[3] ?? "0", 10),
12772
+ milliseconds: sign * milliseconds
12773
+ });
12774
+ };
12775
+ const parseHumanReadableInterval = (input) => {
12776
+ const trimmed = input?.trim();
12777
+ if (!trimmed) {
12778
+ return null;
12779
+ }
12780
+ const matchPositivePeriod = humanReadablePeriodRegex.exec(trimmed);
12781
+ const matchNegativePeriod = negativeHumanReadablePeriodRegex.exec(trimmed) ?? negativeHumanReadablePeriodRegexWithSingleField.exec(trimmed);
12782
+ const matchPositiveDuration = humanReadableDurationRegex.exec(trimmed);
12783
+ const matchNegativeDuration = negativeHumanReadableDurationRegex.exec(trimmed) ?? negativeHumanReadableDurationRegexWithSingleField.exec(trimmed);
12784
+ const matchPeriod = matchPositivePeriod ?? matchNegativePeriod;
12785
+ const matchDuration = matchPositiveDuration ?? matchNegativeDuration;
12786
+ const negative = (matchNegativePeriod ?? matchNegativeDuration) !== null;
12787
+ if (matchDuration && matchPeriod) {
12788
+ return null;
12789
+ }
12790
+ if (matchPeriod) {
12791
+ return extractPeriodFromMatch(negative, matchPeriod);
12792
+ }
12793
+ if (matchDuration) {
12794
+ return extractDurationFromMatch(negative, matchDuration);
12795
+ }
12796
+ return null;
12797
+ };
12798
+ const parseISOInterval = (input) => {
12799
+ try {
12800
+ return Un.Duration.from(input.trim());
12801
+ } catch {
12802
+ return null;
12803
+ }
12804
+ };
12805
+ const parseGenericInterval = (input) => parseISOInterval(input) ?? parseHumanReadableInterval(input);
12806
+ const validateIntervalInput = (input, expectedFormat) => {
12807
+ const duration = parseGenericInterval(input);
12808
+ if (!duration) {
12809
+ return { valid: false };
12810
+ }
12811
+ const actualType = classifyDuration(duration);
12812
+ if (expectedFormat !== kdsIntervalInputFormat.DATE_OR_TIME && actualType !== expectedFormat) {
12813
+ return { valid: false };
12814
+ }
12815
+ return {
12816
+ valid: true,
12817
+ type: actualType,
12818
+ negative: duration.sign < 0,
12819
+ duration
12820
+ };
12821
+ };
12822
+ const stripInactiveFields = (duration, usedFormat) => {
12823
+ const fields = extractDurationFields(duration);
12824
+ if (usedFormat === kdsIntervalInputFormat.DATE) {
12825
+ return Un.Duration.from({
12826
+ years: fields.years,
12827
+ months: fields.months,
12828
+ weeks: fields.weeks,
12829
+ days: fields.days
12830
+ });
12831
+ }
12832
+ return Un.Duration.from({
12833
+ hours: fields.hours,
12834
+ minutes: fields.minutes,
12835
+ seconds: fields.seconds,
12836
+ milliseconds: fields.milliseconds
12837
+ });
12838
+ };
12839
+ const toTitleCase = (key) => key.charAt(0).toUpperCase() + key.slice(1).toLowerCase();
12840
+
12841
+ const _hoisted_1$p = { class: "kds-interval-popover" };
12842
+ const _hoisted_2$d = { class: "kds-interval-popover-header" };
12843
+ const _hoisted_3$a = { class: "kds-interval-popover-content" };
12844
+ const _hoisted_4$7 = { class: "kds-interval-popover-grid" };
12845
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
12846
+ __name: "IntervalInputPopover",
12847
+ props: /* @__PURE__ */ mergeModels({
12848
+ format: {},
12849
+ allowDescending: { type: Boolean }
12850
+ }, {
12851
+ "modelValue": { required: true },
12852
+ "modelModifiers": {},
12853
+ "usedFormat": {
12854
+ required: true
12855
+ },
12856
+ "usedFormatModifiers": {}
12857
+ }),
12858
+ emits: ["update:modelValue", "update:usedFormat"],
12859
+ setup(__props) {
12860
+ const props = __props;
12861
+ const modelValue = useModel(__props, "modelValue");
12862
+ const mode = useModel(__props, "usedFormat");
12863
+ const draft = ref(modelValue.value);
12864
+ const isNegative = ref(modelValue.value.sign < 0);
12865
+ let isInternalEmit = false;
12866
+ watch(
12867
+ () => modelValue.value,
12868
+ (next) => {
12869
+ if (isInternalEmit) {
12870
+ isInternalEmit = false;
12871
+ return;
12872
+ }
12873
+ draft.value = next;
12874
+ isNegative.value = next.sign < 0;
12875
+ }
12876
+ );
12877
+ watch(
12878
+ () => props.allowDescending,
12879
+ (allowed) => {
12880
+ if (!allowed && isNegative.value) {
12881
+ isNegative.value = false;
12882
+ if (draft.value.sign < 0) {
12883
+ draft.value = draft.value.negated();
12884
+ }
12885
+ }
12886
+ }
12887
+ );
12888
+ const activeFields = computed(() => extractDurationFields(draft.value.abs()));
12889
+ const direction = computed({
12890
+ get: () => isNegative.value ? kdsIntervalDirectionality.DESCENDING : kdsIntervalDirectionality.ASCENDING,
12891
+ set(value) {
12892
+ const wantNeg = value === kdsIntervalDirectionality.DESCENDING;
12893
+ if (wantNeg === isNegative.value) {
12894
+ return;
12895
+ }
12896
+ isNegative.value = wantNeg;
12897
+ if (draft.value.sign !== 0) {
12898
+ draft.value = draft.value.negated();
12899
+ }
12900
+ }
12901
+ });
12902
+ const updateField = (key, value) => {
12903
+ if (!Number.isFinite(value)) {
12904
+ return;
12905
+ }
12906
+ const signedValue = isNegative.value ? -value : value;
12907
+ draft.value = withDurationField(
12908
+ draft.value,
12909
+ key,
12910
+ signedValue
12911
+ );
12912
+ };
12913
+ const modeOptions = [
12914
+ { id: kdsIntervalInputFormat.DATE, leadingIcon: "calendar", title: "Date" },
12915
+ { id: kdsIntervalInputFormat.TIME, leadingIcon: "time", title: "Time" }
12916
+ ];
12917
+ const directionOptions = [
12918
+ { id: kdsIntervalDirectionality.ASCENDING, text: "Forward" },
12919
+ { id: kdsIntervalDirectionality.DESCENDING, text: "Backward" }
12920
+ ];
12921
+ const fieldLabels = {
12922
+ years: "Year",
12923
+ months: "Month",
12924
+ weeks: "Week",
12925
+ days: "Day",
12926
+ hours: "Hour",
12927
+ minutes: "Minute",
12928
+ seconds: "Second",
12929
+ milliseconds: "Millisecond"
12930
+ };
12931
+ watch([draft, mode], () => {
12932
+ const stripped = stripInactiveFields(draft.value, mode.value);
12933
+ if (stripped.toString() !== modelValue.value.toString()) {
12934
+ isInternalEmit = true;
12935
+ modelValue.value = stripped;
12936
+ }
12937
+ });
12938
+ return (_ctx, _cache) => {
12939
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
12940
+ createElementVNode("div", _hoisted_2$d, [
12941
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "kds-interval-popover-title" }, "Interval value", -1)),
12942
+ props.format === unref(kdsIntervalInputFormat).DATE_OR_TIME ? (openBlock(), createBlock(unref(KdsValueSwitch), {
12943
+ key: 0,
12944
+ modelValue: mode.value,
12945
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => mode.value = $event),
12946
+ class: "kds-interval-header-switch",
12947
+ size: "small",
12948
+ "possible-values": modeOptions
12949
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true)
12950
+ ]),
12951
+ _cache[3] || (_cache[3] = createElementVNode("div", { class: "kds-interval-popover-divider" }, null, -1)),
12952
+ createElementVNode("div", _hoisted_3$a, [
12953
+ props.allowDescending ? (openBlock(), createBlock(unref(KdsValueSwitch), {
12954
+ key: 0,
12955
+ modelValue: direction.value,
12956
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => direction.value = $event),
12957
+ class: "kds-interval-popover-direction-switch",
12958
+ size: "small",
12959
+ variant: "muted",
12960
+ "possible-values": directionOptions
12961
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true),
12962
+ createElementVNode("div", _hoisted_4$7, [
12963
+ mode.value === unref(kdsIntervalInputFormat).DATE ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(periodNumericKeys), (key) => {
12964
+ return openBlock(), createBlock(unref(_sfc_main$O), {
12965
+ key,
12966
+ "model-value": activeFields.value[key],
12967
+ label: fieldLabels[key] ?? unref(toTitleCase)(key),
12968
+ min: 0,
12969
+ max: unref(getMax)(key),
12970
+ step: 1,
12971
+ "onUpdate:modelValue": ($event) => updateField(key, $event)
12972
+ }, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
12973
+ }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(durationNumericKeys), (key) => {
12974
+ return openBlock(), createBlock(unref(_sfc_main$O), {
12975
+ key,
12976
+ "model-value": activeFields.value[key],
12977
+ label: fieldLabels[key] ?? unref(toTitleCase)(key),
12978
+ min: 0,
12979
+ max: unref(getMax)(key),
12980
+ step: 1,
12981
+ "onUpdate:modelValue": ($event) => updateField(key, $event)
12982
+ }, null, 8, ["model-value", "label", "max", "onUpdate:modelValue"]);
12983
+ }), 128))
12984
+ ])
12985
+ ])
12986
+ ]);
12987
+ };
12988
+ }
12989
+ });
12990
+
12991
+ const IntervalInputPopover = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-02541fd1"]]);
12992
+
12993
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
12994
+ __name: "KdsIntervalInput",
12995
+ props: /* @__PURE__ */ mergeModels({
12996
+ description: {},
12997
+ label: {},
12998
+ ariaLabel: {},
12999
+ id: {},
13000
+ subText: {},
13001
+ error: { type: Boolean, default: false },
13002
+ validating: { type: Boolean, default: false },
13003
+ preserveSubTextSpace: { type: Boolean, default: false },
13004
+ placeholder: {},
13005
+ disabled: { type: Boolean, default: false },
13006
+ autocomplete: {},
13007
+ format: { default: () => kdsIntervalInputFormat.DATE_OR_TIME },
13008
+ allowDescending: { type: Boolean, default: true }
13009
+ }, {
13010
+ "modelValue": { default: null },
13011
+ "modelModifiers": {}
13012
+ }),
13013
+ emits: ["update:modelValue"],
13014
+ setup(__props) {
13015
+ const props = createPropsRestProxy(__props, ["disabled", "error", "validating", "preserveSubTextSpace", "allowDescending", "format"]);
13016
+ const modelValue = useModel(__props, "modelValue");
13017
+ const isPopoverOpen = ref(false);
13018
+ const isToggling = ref(false);
13019
+ const inputError = ref(false);
13020
+ const popoverRef = useTemplateRef("popoverEl");
13021
+ const baseInputRef = useTemplateRef("baseInput");
13022
+ const defaultFormat = kdsIntervalInputFormat.DATE;
13023
+ const resolveActiveFormat = (duration, fallback) => {
13024
+ if (__props.format === kdsIntervalInputFormat.DATE || __props.format === kdsIntervalInputFormat.TIME) {
13025
+ return __props.format;
13026
+ }
13027
+ return duration && !duration.blank ? classifyDuration(duration) : fallback;
13028
+ };
13029
+ const activeFormat = ref(
13030
+ resolveActiveFormat(modelValue.value, defaultFormat)
13031
+ );
13032
+ const inputValue = ref(
13033
+ modelValue.value ? formatDurationToHumanReadable(modelValue.value, activeFormat.value) : ""
13034
+ );
13035
+ const popoverModelValue = computed({
13036
+ get: () => modelValue.value ?? createDefaultDuration(),
13037
+ set: (value) => {
13038
+ modelValue.value = value;
13039
+ }
13040
+ });
13041
+ const isInputError = computed(() => __props.error || inputError.value);
13042
+ const isValidatingState = computed(
13043
+ () => __props.validating && !isInputError.value && !__props.disabled
13044
+ );
13045
+ const effectiveSubText = computed(() => {
13046
+ if (inputError.value) {
13047
+ return "Invalid interval value";
13048
+ }
13049
+ if (isValidatingState.value) {
13050
+ return props.subText || "Validating...";
13051
+ }
13052
+ return props.subText;
13053
+ });
13054
+ watch(inputValue, () => {
13055
+ inputError.value = false;
13056
+ });
13057
+ let isInternalUpdate = false;
13058
+ const commitTypedInput = () => {
13059
+ if (isToggling.value) {
13060
+ baseInputRef.value?.focus();
13061
+ return;
13062
+ }
13063
+ if (inputValue.value.trim().length === 0) {
13064
+ modelValue.value = null;
13065
+ activeFormat.value = resolveActiveFormat(null, defaultFormat);
13066
+ inputError.value = false;
13067
+ return;
13068
+ }
13069
+ const result = validateIntervalInput(inputValue.value, "date_or_time");
13070
+ if (!result.valid) {
13071
+ inputError.value = true;
13072
+ return;
13073
+ }
13074
+ if (!__props.allowDescending && result.negative) {
13075
+ inputError.value = true;
13076
+ return;
13077
+ }
13078
+ if (result.type !== activeFormat.value && __props.format !== kdsIntervalInputFormat.DATE_OR_TIME) {
13079
+ inputError.value = true;
13080
+ return;
13081
+ }
13082
+ inputError.value = false;
13083
+ isInternalUpdate = true;
13084
+ modelValue.value = result.duration;
13085
+ activeFormat.value = result.type;
13086
+ inputValue.value = formatDurationToHumanReadable(
13087
+ result.duration,
13088
+ result.type
13089
+ );
13090
+ };
13091
+ watch(
13092
+ () => modelValue.value,
13093
+ (next) => {
13094
+ if (isInternalUpdate) {
13095
+ isInternalUpdate = false;
13096
+ return;
13097
+ }
13098
+ if (!next) {
13099
+ inputValue.value = "";
13100
+ activeFormat.value = resolveActiveFormat(null, defaultFormat);
13101
+ inputError.value = false;
13102
+ return;
13103
+ }
13104
+ const nextFormat = resolveActiveFormat(next, activeFormat.value);
13105
+ inputValue.value = formatDurationToHumanReadable(next, nextFormat);
13106
+ activeFormat.value = nextFormat;
13107
+ inputError.value = false;
13108
+ }
13109
+ );
13110
+ watch(
13111
+ () => __props.format,
13112
+ (nextFormat) => {
13113
+ if (nextFormat === kdsIntervalInputFormat.DATE_OR_TIME) {
13114
+ return;
13115
+ }
13116
+ activeFormat.value = nextFormat;
13117
+ if (modelValue.value) {
13118
+ const stripped = stripInactiveFields(
13119
+ modelValue.value,
13120
+ nextFormat
13121
+ );
13122
+ isInternalUpdate = true;
13123
+ modelValue.value = stripped;
13124
+ inputValue.value = formatDurationToHumanReadable(
13125
+ stripped,
13126
+ nextFormat
13127
+ );
13128
+ }
13129
+ }
13130
+ );
13131
+ return (_ctx, _cache) => {
13132
+ return openBlock(), createBlock(BaseFormFieldWrapper, mergeProps(props, {
13133
+ error: isInputError.value,
13134
+ validating: isValidatingState.value,
13135
+ "preserve-sub-text-space": __props.preserveSubTextSpace,
13136
+ "sub-text": effectiveSubText.value
13137
+ }), {
13138
+ default: withCtx((slotProps) => [
13139
+ createElementVNode("div", {
13140
+ style: normalizeStyle(popoverRef.value?.anchorStyle)
13141
+ }, [
13142
+ createVNode(BaseInput, mergeProps({ ref: "baseInput" }, slotProps, {
13143
+ modelValue: inputValue.value,
13144
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => inputValue.value = $event),
13145
+ type: "text",
13146
+ placeholder: props.placeholder,
13147
+ disabled: __props.disabled,
13148
+ error: isInputError.value,
13149
+ validating: isValidatingState.value,
13150
+ autocomplete: props.autocomplete,
13151
+ onBlur: commitTypedInput,
13152
+ onKeydown: withKeys(withModifiers(commitTypedInput, ["prevent"]), ["enter"])
13153
+ }), {
13154
+ trailing: withCtx(() => [
13155
+ createVNode(unref(_sfc_main$1c), {
13156
+ modelValue: isPopoverOpen.value,
13157
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopoverOpen.value = $event),
13158
+ size: "xsmall",
13159
+ variant: "outlined",
13160
+ "leading-icon": "interval",
13161
+ "aria-controls": popoverRef.value?.popoverId,
13162
+ "aria-expanded": isPopoverOpen.value,
13163
+ "aria-haspopup": "dialog",
13164
+ disabled: __props.disabled,
13165
+ title: isPopoverOpen.value ? "Close interval picker" : "Open interval picker",
13166
+ ariaLabel: isPopoverOpen.value ? "Close interval picker" : "Open interval picker",
13167
+ onPointerdown: _cache[1] || (_cache[1] = ($event) => isToggling.value = true),
13168
+ onPointerup: _cache[2] || (_cache[2] = ($event) => isToggling.value = false),
13169
+ onPointerleave: _cache[3] || (_cache[3] = ($event) => isToggling.value = false),
13170
+ onPointercancel: _cache[4] || (_cache[4] = ($event) => isToggling.value = false)
13171
+ }, null, 8, ["modelValue", "aria-controls", "aria-expanded", "disabled", "title", "ariaLabel"])
13172
+ ]),
13173
+ _: 1
13174
+ }, 16, ["modelValue", "placeholder", "disabled", "error", "validating", "autocomplete", "onKeydown"]),
13175
+ createVNode(KdsPopover, {
13176
+ ref: "popoverEl",
13177
+ modelValue: isPopoverOpen.value,
13178
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isPopoverOpen.value = $event),
13179
+ placement: "bottom-right",
13180
+ role: "dialog",
13181
+ "aria-label": "Interval selection dialog"
13182
+ }, {
13183
+ default: withCtx(() => [
13184
+ createVNode(IntervalInputPopover, {
13185
+ modelValue: popoverModelValue.value,
13186
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => popoverModelValue.value = $event),
13187
+ "used-format": activeFormat.value,
13188
+ "onUpdate:usedFormat": _cache[7] || (_cache[7] = ($event) => activeFormat.value = $event),
13189
+ format: __props.format,
13190
+ "allow-descending": __props.allowDescending
13191
+ }, null, 8, ["modelValue", "used-format", "format", "allow-descending"])
13192
+ ]),
13193
+ _: 1
13194
+ }, 8, ["modelValue"])
13195
+ ], 4)
13196
+ ]),
13197
+ _: 1
13198
+ }, 16, ["error", "validating", "preserve-sub-text-space", "sub-text"]);
13199
+ };
13200
+ }
13201
+ });
13202
+
12636
13203
  const _hoisted_1$o = ["id", "aria-expanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-invalid", "aria-controls", "disabled"];
12637
13204
  const _hoisted_2$c = {
12638
13205
  key: 0,
@@ -12717,7 +13284,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
12717
13284
  onKeydown
12718
13285
  }, [
12719
13286
  props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$c, [
12720
- createVNode(_sfc_main$18, {
13287
+ createVNode(_sfc_main$1a, {
12721
13288
  accessory: props.accessory,
12722
13289
  size: "medium"
12723
13290
  }, null, 8, ["accessory"])
@@ -14270,7 +14837,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
14270
14837
  }, null, 8, ["modelValue", "possible-values", "ariaLabel", "disabled", "error", "loading", "empty-state-label", "bottom-value"])
14271
14838
  ]),
14272
14839
  createElementVNode("div", _hoisted_5$1, [
14273
- createVNode(unref(_sfc_main$1d), {
14840
+ createVNode(unref(_sfc_main$1f), {
14274
14841
  "leading-icon": "chevron-right",
14275
14842
  ariaLabel: "Move selected values right",
14276
14843
  title: "Move selected values right",
@@ -14279,7 +14846,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
14279
14846
  disabled: effectiveDisabled.value || leftSelected.value.length === 0,
14280
14847
  onClick: _cache[2] || (_cache[2] = ($event) => moveRight(leftSelected.value))
14281
14848
  }, null, 8, ["disabled"]),
14282
- createVNode(unref(_sfc_main$1d), {
14849
+ createVNode(unref(_sfc_main$1f), {
14283
14850
  "leading-icon": "chevron-right-double",
14284
14851
  ariaLabel: "Move all values right",
14285
14852
  title: "Move all values right",
@@ -14291,7 +14858,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
14291
14858
  ...showUnknownValues.value && !modelValue.value.includeUnknownValues ? [UNKNOWN_VALUE_ID] : []
14292
14859
  ]))
14293
14860
  }, null, 8, ["disabled"]),
14294
- createVNode(unref(_sfc_main$1d), {
14861
+ createVNode(unref(_sfc_main$1f), {
14295
14862
  "leading-icon": "chevron-left",
14296
14863
  ariaLabel: "Move selected values left",
14297
14864
  title: "Move selected values left",
@@ -14300,7 +14867,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
14300
14867
  disabled: effectiveDisabled.value || rightSelected.value.length === 0,
14301
14868
  onClick: _cache[4] || (_cache[4] = ($event) => moveLeft(rightSelected.value))
14302
14869
  }, null, 8, ["disabled"]),
14303
- createVNode(unref(_sfc_main$1d), {
14870
+ createVNode(unref(_sfc_main$1f), {
14304
14871
  "leading-icon": "chevron-left-double",
14305
14872
  ariaLabel: "Move all values left",
14306
14873
  title: "Move all values left",
@@ -14428,7 +14995,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
14428
14995
  ariaLabel: "Search values",
14429
14996
  placeholder: "Search",
14430
14997
  disabled: __props.disabled
14431
- }, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$y), {
14998
+ }, null, 8, ["modelValue", "disabled"])) : mode.value === unref(kdsTwinListSearchMode).PATTERN ? (openBlock(), createBlock(unref(_sfc_main$A), {
14432
14999
  key: 2,
14433
15000
  modelValue: pattern.value,
14434
15001
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => pattern.value = $event),
@@ -14753,7 +15320,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14753
15320
  createElementVNode("div", _hoisted_1$f, [
14754
15321
  createElementVNode("div", _hoisted_2$5, [
14755
15322
  createElementVNode("div", _hoisted_3$5, [
14756
- createVNode(_sfc_main$1d, {
15323
+ createVNode(_sfc_main$1f, {
14757
15324
  size: "small",
14758
15325
  variant: "transparent",
14759
15326
  "leading-icon": "sort-descending",
@@ -14761,7 +15328,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14761
15328
  disabled: __props.disabled,
14762
15329
  onClick: _cache[0] || (_cache[0] = ($event) => applyReorder(unref(sortByText)(true, optionLookup.value)))
14763
15330
  }, null, 8, ["disabled"]),
14764
- createVNode(_sfc_main$1d, {
15331
+ createVNode(_sfc_main$1f, {
14765
15332
  size: "small",
14766
15333
  variant: "transparent",
14767
15334
  "leading-icon": "sort-ascending",
@@ -14770,7 +15337,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14770
15337
  onClick: _cache[1] || (_cache[1] = ($event) => applyReorder(unref(sortByText)(false, optionLookup.value)))
14771
15338
  }, null, 8, ["disabled"])
14772
15339
  ]),
14773
- createVNode(_sfc_main$1d, {
15340
+ createVNode(_sfc_main$1f, {
14774
15341
  size: "small",
14775
15342
  variant: "transparent",
14776
15343
  destructive: "",
@@ -14792,7 +15359,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14792
15359
  /* fallback only for TS */
14793
15360
  }, null, 8, ["modelValue", "possible-values", "disabled", "error", "ariaLabel"]),
14794
15361
  createElementVNode("div", _hoisted_4$3, [
14795
- createVNode(_sfc_main$1d, {
15362
+ createVNode(_sfc_main$1f, {
14796
15363
  size: "small",
14797
15364
  variant: "transparent",
14798
15365
  "leading-icon": "to-top",
@@ -14801,7 +15368,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14801
15368
  disabled: __props.disabled || !unref(canMoveUp),
14802
15369
  onClick: moveToTop
14803
15370
  }, null, 8, ["disabled"]),
14804
- createVNode(_sfc_main$1d, {
15371
+ createVNode(_sfc_main$1f, {
14805
15372
  size: "small",
14806
15373
  variant: "transparent",
14807
15374
  "leading-icon": "to-bottom",
@@ -14810,7 +15377,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14810
15377
  disabled: __props.disabled || !unref(canMoveDown),
14811
15378
  onClick: moveToBottom
14812
15379
  }, null, 8, ["disabled"]),
14813
- createVNode(_sfc_main$1d, {
15380
+ createVNode(_sfc_main$1f, {
14814
15381
  size: "small",
14815
15382
  variant: "transparent",
14816
15383
  "leading-icon": "arrow-up",
@@ -14819,7 +15386,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14819
15386
  disabled: __props.disabled || !unref(canMoveUp),
14820
15387
  onClick: moveUp
14821
15388
  }, null, 8, ["disabled"]),
14822
- createVNode(_sfc_main$1d, {
15389
+ createVNode(_sfc_main$1f, {
14823
15390
  size: "small",
14824
15391
  variant: "transparent",
14825
15392
  "leading-icon": "arrow-down",
@@ -15143,7 +15710,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
15143
15710
  return (_ctx, _cache) => {
15144
15711
  return openBlock(), createElementBlock("div", _hoisted_1$9, [
15145
15712
  createElementVNode("h6", null, toDisplayString(__props.headline), 1),
15146
- createVNode(_sfc_main$1d, {
15713
+ createVNode(_sfc_main$1f, {
15147
15714
  class: "kds-close-button",
15148
15715
  type: "button",
15149
15716
  "leading-icon": "x-close",
@@ -15617,14 +16184,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
15617
16184
  const handleApply = (event) => emit("apply", event);
15618
16185
  return (_ctx, _cache) => {
15619
16186
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
15620
- createVNode(_sfc_main$1d, {
16187
+ createVNode(_sfc_main$1f, {
15621
16188
  disabled: __props.disabled,
15622
16189
  label: __props.cancelLabel,
15623
16190
  size: "small",
15624
16191
  variant: "transparent",
15625
16192
  onClick: handleCancel
15626
16193
  }, null, 8, ["disabled", "label"]),
15627
- createVNode(_sfc_main$1d, {
16194
+ createVNode(_sfc_main$1f, {
15628
16195
  disabled: __props.disabled,
15629
16196
  label: __props.applyLabel,
15630
16197
  size: "small",
@@ -15741,7 +16308,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
15741
16308
  disabled: __props.disabled
15742
16309
  }, null, 8, ["name", "disabled"])) : createCommentVNode("", true),
15743
16310
  __props.badge ? (openBlock(), createBlock(unref(KdsBadge), normalizeProps(mergeProps({ key: 1 }, badgeProps.value)), null, 16)) : createCommentVNode("", true),
15744
- __props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1d), mergeProps({ key: 2 }, buttonProps.value, { onClick: onButtonClick }), null, 16)) : createCommentVNode("", true)
16311
+ __props.trailingButton ? (openBlock(), createBlock(unref(_sfc_main$1f), mergeProps({ key: 2 }, buttonProps.value, { onClick: onButtonClick }), null, 16)) : createCommentVNode("", true)
15745
16312
  ])
15746
16313
  ], 2);
15747
16314
  };
@@ -15877,7 +16444,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
15877
16444
  size: "medium"
15878
16445
  }, null, 8, ["name"])) : createCommentVNode("", true),
15879
16446
  createElementVNode("div", _hoisted_2$1, toDisplayString(__props.headline), 1),
15880
- createVNode(_sfc_main$1d, {
16447
+ createVNode(_sfc_main$1f, {
15881
16448
  "leading-icon": "x-close",
15882
16449
  variant: "transparent",
15883
16450
  size: "medium",
@@ -16150,7 +16717,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
16150
16717
  unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$1, [
16151
16718
  createElementVNode("div", _hoisted_2, toDisplayString(unref(config).value.message), 1),
16152
16719
  unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
16153
- createVNode(_sfc_main$V, {
16720
+ createVNode(_sfc_main$X, {
16154
16721
  modelValue: askAgain.value,
16155
16722
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
16156
16723
  label: unref(config).value.doNotAskAgain.label,
@@ -16165,7 +16732,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
16165
16732
  name: "footer",
16166
16733
  fn: withCtx(() => [
16167
16734
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
16168
- return openBlock(), createBlock(_sfc_main$1d, {
16735
+ return openBlock(), createBlock(_sfc_main$1f, {
16169
16736
  key: index,
16170
16737
  destructive: button.destructive,
16171
16738
  autofocus: button.autofocus,
@@ -16293,7 +16860,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16293
16860
  return openBlock(), createElementBlock(Fragment, null, [
16294
16861
  createElementVNode("div", _hoisted_1, [
16295
16862
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (button) => {
16296
- return openBlock(), createBlock(_sfc_main$1d, {
16863
+ return openBlock(), createBlock(_sfc_main$1f, {
16297
16864
  ref_for: true,
16298
16865
  ref: "measureButton",
16299
16866
  key: button.id,
@@ -16302,7 +16869,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16302
16869
  "leading-icon": button.leadingIcon
16303
16870
  }, null, 8, ["label", "variant", "leading-icon"]);
16304
16871
  }), 128)),
16305
- createVNode(_sfc_main$12, {
16872
+ createVNode(_sfc_main$14, {
16306
16873
  ref: "measureMenuButton",
16307
16874
  "leading-icon": "more-actions",
16308
16875
  ariaLabel: "More actions",
@@ -16313,7 +16880,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16313
16880
  class: ["kds-button-group", __props.alignment]
16314
16881
  }), [
16315
16882
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleButtons.value, (button) => {
16316
- return openBlock(), createBlock(_sfc_main$1d, {
16883
+ return openBlock(), createBlock(_sfc_main$1f, {
16317
16884
  key: button.id,
16318
16885
  label: button.label,
16319
16886
  variant: button.variant ?? "outlined",
@@ -16324,7 +16891,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16324
16891
  onClick: ($event) => emit("buttonClick", button.id)
16325
16892
  }, null, 8, ["label", "variant", "disabled", "leading-icon", "destructive", "title", "onClick"]);
16326
16893
  }), 128)),
16327
- overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$12, {
16894
+ overflowButtons.value.length ? (openBlock(), createBlock(_sfc_main$14, {
16328
16895
  key: 0,
16329
16896
  "leading-icon": "more-actions",
16330
16897
  ariaLabel: "More actions",
@@ -16348,5 +16915,5 @@ const kdsResponsiveButtonGroupAlignments = Object.values(
16348
16915
  kdsResponsiveButtonGroupAlignment
16349
16916
  );
16350
16917
 
16351
- export { KdsAvatar, KdsBadge, _sfc_main$1d as KdsButton, KdsCardClickable, _sfc_main$V as KdsCheckbox, KdsCheckboxGroup, _sfc_main$I as KdsColorInput, KdsColorSwatch, _sfc_main$Z as KdsContextMenu, KdsDataType, _sfc_main$B as KdsDateInput, _sfc_main$z as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$r as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, KdsLabel, KdsLink, _sfc_main$1c as KdsLinkButton, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$_ as KdsMenu, _sfc_main$12 as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$o as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$M as KdsNumberInput, KdsPanelButtonBar, KdsPanelHeader, _sfc_main$H as KdsPasswordInput, _sfc_main$y as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$u as KdsTimeInput, _sfc_main$1a as KdsToggleButton, KdsTwinList, _sfc_main$G as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
16918
+ export { KdsAvatar, KdsBadge, _sfc_main$1f as KdsButton, KdsCardClickable, _sfc_main$X as KdsCheckbox, KdsCheckboxGroup, _sfc_main$K as KdsColorInput, KdsColorSwatch, _sfc_main$$ as KdsContextMenu, KdsDataType, _sfc_main$D as KdsDateInput, _sfc_main$B as KdsDateTimeFormatInput, KdsDivider, KdsDonutChart, _sfc_main$r as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, _sfc_main$u as KdsIntervalInput, KdsLabel, KdsLink, _sfc_main$1e as KdsLinkButton, KdsListContainer, KdsLiveStatus, KdsLoadingSkeleton, KdsLoadingSpinner, _sfc_main$10 as KdsMenu, _sfc_main$14 as KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$o as KdsMultiSelectDropdown, KdsNavItem, KdsNavigation, _sfc_main$O as KdsNumberInput, KdsPanelButtonBar, KdsPanelHeader, _sfc_main$J as KdsPasswordInput, _sfc_main$A as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsResponsiveButtonGroup, KdsSearchInput, KdsSortableListBox, KdsSplitButton, KdsSubText, KdsTabBar, KdsTextInput, KdsTextarea, _sfc_main$w as KdsTimeInput, _sfc_main$1c as KdsToggleButton, KdsTwinList, _sfc_main$I as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsIntervalDirectionalities, kdsIntervalDirectionality, kdsIntervalInputFormat, kdsIntervalInputFormats, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSkeletonVariant, kdsLoadingSkeletonVariants, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsResponsiveButtonGroupAlignment, kdsResponsiveButtonGroupAlignments, kdsTabBarSize, kdsTabBarSizes, kdsTemporalType, kdsTemporalTypes, kdsTimeInputGranularities, kdsTimeInputGranularity, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTwinListSearchMode, kdsTwinListSearchModes, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
16352
16919
  //# sourceMappingURL=index.js.map