@1337exp/taoui 5.37.3 → 5.39.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
@@ -110,9 +110,9 @@ function resolveTaoIcon(name) {
110
110
  return name.startsWith(TAO_ICON_PREFIX) ? builtin[name.slice(TAO_ICON_PREFIX.length)] : registered[name];
111
111
  }
112
112
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
113
- const _hoisted_1$1b = { class: "tao-icon" };
114
- const _hoisted_2$12 = ["viewBox", "width", "height", "innerHTML"];
115
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
113
+ const _hoisted_1$1c = { class: "tao-icon" };
114
+ const _hoisted_2$13 = ["viewBox", "width", "height", "innerHTML"];
115
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
116
116
  ...{ name: "TaoIcon" },
117
117
  __name: "TaoIcon",
118
118
  props: {
@@ -132,7 +132,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
132
132
  }
133
133
  const box = computed(() => props.size ? `${props.size}px` : "1em");
134
134
  return (_ctx, _cache) => {
135
- return openBlock(), createElementBlock("span", _hoisted_1$1b, [
135
+ return openBlock(), createElementBlock("span", _hoisted_1$1c, [
136
136
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
137
137
  def.value ? (openBlock(), createElementBlock("svg", {
138
138
  key: 0,
@@ -148,7 +148,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
148
148
  "aria-hidden": "true",
149
149
  focusable: "false",
150
150
  innerHTML: def.value.body
151
- }, null, 10, _hoisted_2$12)) : (openBlock(), createElementBlock("i", {
151
+ }, null, 10, _hoisted_2$13)) : (openBlock(), createElementBlock("i", {
152
152
  key: 1,
153
153
  class: normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
154
154
  style: normalizeStyle(props.size ? `font-size: ${props.size}px` : "")
@@ -165,7 +165,7 @@ const _export_sfc = (sfc, props) => {
165
165
  }
166
166
  return target;
167
167
  };
168
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-ef842331"]]);
168
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-ef842331"]]);
169
169
  const localeEn = {
170
170
  code: "en-US",
171
171
  alert: { closeLabel: "Close", detailsLabel: "Details" },
@@ -237,6 +237,7 @@ const localeEn = {
237
237
  inputNumber: { incrementLabel: "Increase", decrementLabel: "Decrease" },
238
238
  list: { emptyText: "Nothing here" },
239
239
  modal: { closeLabel: "Close" },
240
+ docTabs: { label: "Open documents", closeLabel: "Close", dirtyLabel: "unsaved changes" },
240
241
  commandPalette: { label: "Commands", placeholder: "Type a command…", emptyText: "No commands found" },
241
242
  toolbar: { overflowLabel: "More" },
242
243
  pagination: {
@@ -474,6 +475,7 @@ const localeRu = {
474
475
  inputNumber: { incrementLabel: "Увеличить", decrementLabel: "Уменьшить" },
475
476
  list: { emptyText: "Ничего нет" },
476
477
  modal: { closeLabel: "Закрыть" },
478
+ docTabs: { label: "Открытые документы", closeLabel: "Закрыть", dirtyLabel: "есть несохранённые изменения" },
477
479
  commandPalette: { label: "Команды", placeholder: "Введите команду…", emptyText: "Команд не найдено" },
478
480
  toolbar: { overflowLabel: "Ещё" },
479
481
  pagination: {
@@ -602,8 +604,8 @@ function pluralForm(forms, n, code) {
602
604
  }
603
605
  return forms[category] ?? forms.other;
604
606
  }
605
- const _hoisted_1$1a = ["role", "aria-hidden"];
606
- const _hoisted_2$11 = {
607
+ const _hoisted_1$1b = ["role", "aria-hidden"];
608
+ const _hoisted_2$12 = {
607
609
  key: 0,
608
610
  class: "tao-loader__ellipsis",
609
611
  "aria-hidden": "true"
@@ -613,12 +615,12 @@ const _hoisted_3$U = {
613
615
  class: "tao-loader__ring",
614
616
  "aria-hidden": "true"
615
617
  };
616
- const _hoisted_4$J = {
618
+ const _hoisted_4$K = {
617
619
  key: 2,
618
620
  class: "tao-loader__swap",
619
621
  "aria-hidden": "true"
620
622
  };
621
- const _hoisted_5$x = {
623
+ const _hoisted_5$y = {
622
624
  key: 3,
623
625
  class: "tao-loader__pulse",
624
626
  "aria-hidden": "true"
@@ -627,7 +629,7 @@ const _hoisted_6$r = {
627
629
  key: 4,
628
630
  class: "tao-sr-only"
629
631
  };
630
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
632
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
631
633
  ...{ name: "TaoLoader" },
632
634
  __name: "TaoLoader",
633
635
  props: {
@@ -665,22 +667,22 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
665
667
  role: __props.decorative ? void 0 : "status",
666
668
  "aria-hidden": __props.decorative ? "true" : void 0
667
669
  }, [
668
- __props.variant === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$11, [..._cache[0] || (_cache[0] = [
670
+ __props.variant === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$12, [..._cache[0] || (_cache[0] = [
669
671
  createElementVNode("div", null, null, -1),
670
672
  createElementVNode("div", null, null, -1),
671
673
  createElementVNode("div", null, null, -1),
672
674
  createElementVNode("div", null, null, -1)
673
- ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$U)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$J, [..._cache[1] || (_cache[1] = [
675
+ ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$U)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$K, [..._cache[1] || (_cache[1] = [
674
676
  createStaticVNode('<span class="tao-loader__axis" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span><span class="tao-loader__axis tao-loader__axis--cross" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span>', 2)
675
- ])])) : (openBlock(), createElementBlock("span", _hoisted_5$x)),
677
+ ])])) : (openBlock(), createElementBlock("span", _hoisted_5$y)),
676
678
  !__props.decorative ? (openBlock(), createElementBlock("span", _hoisted_6$r, toDisplayString(unref(l10n).label), 1)) : createCommentVNode("", true)
677
- ], 14, _hoisted_1$1a);
679
+ ], 14, _hoisted_1$1b);
678
680
  };
679
681
  }
680
682
  });
681
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-03f29efb"]]);
682
- const _hoisted_1$19 = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
683
- const _hoisted_2$10 = {
683
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__scopeId", "data-v-03f29efb"]]);
684
+ const _hoisted_1$1a = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
685
+ const _hoisted_2$11 = {
684
686
  key: 2,
685
687
  class: "tao-button__content"
686
688
  };
@@ -689,7 +691,7 @@ const _hoisted_3$T = {
689
691
  class: "tao-button__shortcut",
690
692
  "aria-hidden": "true"
691
693
  };
692
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
694
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
693
695
  ...{ name: "TaoButton" },
694
696
  __name: "TaoButton",
695
697
  props: {
@@ -772,7 +774,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
772
774
  class: "tao-button__icon",
773
775
  name: __props.icon
774
776
  }, null, 8, ["name"])) : createCommentVNode("", true),
775
- hasContent() ? (openBlock(), createElementBlock("span", _hoisted_2$10, [
777
+ hasContent() ? (openBlock(), createElementBlock("span", _hoisted_2$11, [
776
778
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
777
779
  ])) : createCommentVNode("", true),
778
780
  __props.iconEnd ? (openBlock(), createBlock(TaoIcon, {
@@ -781,11 +783,11 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
781
783
  name: __props.iconEnd
782
784
  }, null, 8, ["name"])) : createCommentVNode("", true),
783
785
  __props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$T, toDisplayString(__props.shortcut), 1)) : createCommentVNode("", true)
784
- ], 14, _hoisted_1$19);
786
+ ], 14, _hoisted_1$1a);
785
787
  };
786
788
  }
787
789
  });
788
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-be24f74d"]]);
790
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-be24f74d"]]);
789
791
  function toCssLength(value) {
790
792
  if (value === void 0 || value === null || value === "") {
791
793
  return void 0;
@@ -804,7 +806,7 @@ function stripeClasses(stripe, tone = "accent") {
804
806
  function surfaceClass(surface) {
805
807
  return surface && surface !== "flat" ? `tao-surface-${surface}` : void 0;
806
808
  }
807
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
809
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
808
810
  ...{ name: "TaoBlock" },
809
811
  __name: "TaoBlock",
810
812
  props: {
@@ -837,7 +839,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
837
839
  };
838
840
  }
839
841
  });
840
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-1fc66575"]]);
842
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-1fc66575"]]);
841
843
  function useControlAttrs() {
842
844
  const attrs = useAttrs();
843
845
  return {
@@ -859,16 +861,16 @@ function useField(props) {
859
861
  const describedBy = computed(() => field?.describedBy.value);
860
862
  return { field, controlId, invalid, describedBy, localId };
861
863
  }
862
- const _hoisted_1$18 = {
864
+ const _hoisted_1$19 = {
863
865
  key: 0,
864
866
  class: "tao-input__affix tao-input__affix--prefix"
865
867
  };
866
- const _hoisted_2$$ = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
868
+ const _hoisted_2$10 = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
867
869
  const _hoisted_3$S = {
868
870
  key: 1,
869
871
  class: "tao-input__affix tao-input__affix--suffix"
870
872
  };
871
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
873
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
872
874
  ...{ name: "TaoInput", inheritAttrs: false },
873
875
  __name: "TaoInput",
874
876
  props: {
@@ -916,7 +918,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
916
918
  "tao-input-shell--suffix": has("suffix")
917
919
  }])
918
920
  }, [
919
- has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$18, [
921
+ has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$19, [
920
922
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
921
923
  ])) : createCommentVNode("", true),
922
924
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
@@ -931,7 +933,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
931
933
  onInput: handleInput,
932
934
  onBlur: handleBlur,
933
935
  onFocus: handleFocus
934
- }), null, 16, _hoisted_2$$),
936
+ }), null, 16, _hoisted_2$10),
935
937
  has("suffix") ? (openBlock(), createElementBlock("span", _hoisted_3$S, [
936
938
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
937
939
  ])) : createCommentVNode("", true)
@@ -940,17 +942,17 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
940
942
  };
941
943
  }
942
944
  });
943
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-66bc5496"]]);
944
- const _hoisted_1$17 = {
945
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-66bc5496"]]);
946
+ const _hoisted_1$18 = {
945
947
  key: 0,
946
948
  class: "tao-input-group__addon tao-input-group__addon--before"
947
949
  };
948
- const _hoisted_2$_ = { class: "tao-input-group__field" };
950
+ const _hoisted_2$$ = { class: "tao-input-group__field" };
949
951
  const _hoisted_3$R = {
950
952
  key: 1,
951
953
  class: "tao-input-group__addon tao-input-group__addon--after"
952
954
  };
953
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
955
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
954
956
  ...{ name: "TaoInputGroup" },
955
957
  __name: "TaoInputGroup",
956
958
  props: {
@@ -977,10 +979,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
977
979
  onFocusin: onFocusIn,
978
980
  onFocusout: onFocusOut
979
981
  }, [
980
- has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$17, [
982
+ has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
981
983
  renderSlot(_ctx.$slots, "before", {}, void 0, true)
982
984
  ])) : createCommentVNode("", true),
983
- createElementVNode("div", _hoisted_2$_, [
985
+ createElementVNode("div", _hoisted_2$$, [
984
986
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
985
987
  ]),
986
988
  has("after") ? (openBlock(), createElementBlock("div", _hoisted_3$R, [
@@ -990,17 +992,17 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
990
992
  };
991
993
  }
992
994
  });
993
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-d38f6b53"]]);
994
- const _hoisted_1$16 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
995
- const _hoisted_2$Z = {
995
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-d38f6b53"]]);
996
+ const _hoisted_1$17 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
997
+ const _hoisted_2$_ = {
996
998
  key: 0,
997
999
  class: "tao-input-number__steppers"
998
1000
  };
999
1001
  const _hoisted_3$Q = ["aria-label", "disabled"];
1000
- const _hoisted_4$I = { "aria-hidden": "true" };
1001
- const _hoisted_5$w = ["aria-label", "disabled"];
1002
+ const _hoisted_4$J = { "aria-hidden": "true" };
1003
+ const _hoisted_5$x = ["aria-label", "disabled"];
1002
1004
  const _hoisted_6$q = { "aria-hidden": "true" };
1003
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1005
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
1004
1006
  ...{ name: "TaoInputNumber", inheritAttrs: false },
1005
1007
  __name: "TaoInputNumber",
1006
1008
  props: {
@@ -1159,8 +1161,8 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1159
1161
  onFocus,
1160
1162
  onBlur,
1161
1163
  onKeydown: onKeydown2
1162
- }), null, 16, _hoisted_1$16),
1163
- __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$Z, [
1164
+ }), null, 16, _hoisted_1$17),
1165
+ __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$_, [
1164
1166
  createElementVNode("button", {
1165
1167
  type: "button",
1166
1168
  class: "tao-input-number__step",
@@ -1169,7 +1171,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1169
1171
  disabled: __props.disabled || atMax.value,
1170
1172
  onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
1171
1173
  }, [
1172
- createElementVNode("span", _hoisted_4$I, [
1174
+ createElementVNode("span", _hoisted_4$J, [
1173
1175
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1174
1176
  createVNode(TaoIcon, { name: "tao-plus" })
1175
1177
  ], true)
@@ -1188,19 +1190,19 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1188
1190
  createVNode(TaoIcon, { name: "tao-minus" })
1189
1191
  ], true)
1190
1192
  ])
1191
- ], 8, _hoisted_5$w)
1193
+ ], 8, _hoisted_5$x)
1192
1194
  ])) : createCommentVNode("", true)
1193
1195
  ], 16);
1194
1196
  };
1195
1197
  }
1196
1198
  });
1197
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-dc5bb759"]]);
1198
- const _hoisted_1$15 = ["aria-label", "disabled"];
1199
- const _hoisted_2$Y = { "aria-hidden": "true" };
1199
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-dc5bb759"]]);
1200
+ const _hoisted_1$16 = ["aria-label", "disabled"];
1201
+ const _hoisted_2$Z = { "aria-hidden": "true" };
1200
1202
  const _hoisted_3$P = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1201
- const _hoisted_4$H = ["aria-label", "disabled"];
1202
- const _hoisted_5$v = { "aria-hidden": "true" };
1203
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1203
+ const _hoisted_4$I = ["aria-label", "disabled"];
1204
+ const _hoisted_5$w = { "aria-hidden": "true" };
1205
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1204
1206
  ...{ name: "TaoQuantity", inheritAttrs: false },
1205
1207
  __name: "TaoQuantity",
1206
1208
  props: {
@@ -1340,12 +1342,12 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1340
1342
  disabled: minusDisabled.value,
1341
1343
  onClick: onDec
1342
1344
  }, [
1343
- createElementVNode("span", _hoisted_2$Y, [
1345
+ createElementVNode("span", _hoisted_2$Z, [
1344
1346
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
1345
1347
  createVNode(TaoIcon, { name: "tao-minus" })
1346
1348
  ], true)
1347
1349
  ])
1348
- ], 8, _hoisted_1$15),
1350
+ ], 8, _hoisted_1$16),
1349
1351
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
1350
1352
  id: unref(controlId),
1351
1353
  class: "tao-quantity__input",
@@ -1373,22 +1375,22 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1373
1375
  disabled: plusDisabled.value,
1374
1376
  onClick: onInc
1375
1377
  }, [
1376
- createElementVNode("span", _hoisted_5$v, [
1378
+ createElementVNode("span", _hoisted_5$w, [
1377
1379
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1378
1380
  createVNode(TaoIcon, { name: "tao-plus" })
1379
1381
  ], true)
1380
1382
  ])
1381
- ], 8, _hoisted_4$H)
1383
+ ], 8, _hoisted_4$I)
1382
1384
  ], 16);
1383
1385
  };
1384
1386
  }
1385
1387
  });
1386
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-6453479c"]]);
1387
- const _hoisted_1$14 = {
1388
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-6453479c"]]);
1389
+ const _hoisted_1$15 = {
1388
1390
  key: 0,
1389
1391
  class: "tao-card__media"
1390
1392
  };
1391
- const _hoisted_2$X = {
1393
+ const _hoisted_2$Y = {
1392
1394
  key: 0,
1393
1395
  class: "tao-card__overlay"
1394
1396
  };
@@ -1396,11 +1398,11 @@ const _hoisted_3$O = {
1396
1398
  key: 1,
1397
1399
  class: "tao-card__overlay"
1398
1400
  };
1399
- const _hoisted_4$G = {
1401
+ const _hoisted_4$H = {
1400
1402
  key: 0,
1401
1403
  class: "tao-card__header"
1402
1404
  };
1403
- const _hoisted_5$u = {
1405
+ const _hoisted_5$v = {
1404
1406
  key: 1,
1405
1407
  class: "tao-card__title-block"
1406
1408
  };
@@ -1425,7 +1427,7 @@ const _hoisted_10$6 = {
1425
1427
  class: "tao-card__corner"
1426
1428
  };
1427
1429
  const _hoisted_11$5 = ["aria-label"];
1428
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1430
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1429
1431
  ...{ name: "TaoCard" },
1430
1432
  __name: "TaoCard",
1431
1433
  props: {
@@ -1479,9 +1481,9 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1479
1481
  }]]),
1480
1482
  style: normalizeStyle(radiusStyle.value)
1481
1483
  }, [
1482
- _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$14, [
1484
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$15, [
1483
1485
  renderSlot(_ctx.$slots, "media", {}, void 0, true),
1484
- _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$X, [
1486
+ _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$Y, [
1485
1487
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1486
1488
  ])) : createCommentVNode("", true)
1487
1489
  ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$O, [
@@ -1492,10 +1494,10 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1492
1494
  class: "tao-card__content",
1493
1495
  style: normalizeStyle(paddingStyle.value)
1494
1496
  }, [
1495
- has("header") ? (openBlock(), createElementBlock("div", _hoisted_4$G, [
1497
+ has("header") ? (openBlock(), createElementBlock("div", _hoisted_4$H, [
1496
1498
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
1497
1499
  ])) : createCommentVNode("", true),
1498
- has("title") || has("sub") ? (openBlock(), createElementBlock("div", _hoisted_5$u, [
1500
+ has("title") || has("sub") ? (openBlock(), createElementBlock("div", _hoisted_5$v, [
1499
1501
  has("title") ? (openBlock(), createElementBlock("h2", _hoisted_6$p, [
1500
1502
  renderSlot(_ctx.$slots, "title", {}, void 0, true)
1501
1503
  ])) : createCommentVNode("", true),
@@ -1529,7 +1531,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1529
1531
  };
1530
1532
  }
1531
1533
  });
1532
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-4096cfb6"]]);
1534
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-4096cfb6"]]);
1533
1535
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1534
1536
  function getFocusable(root) {
1535
1537
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1705,21 +1707,21 @@ function useWholePixelPanel(panel, open) {
1705
1707
  stop();
1706
1708
  });
1707
1709
  }
1708
- const _hoisted_1$13 = ["aria-labelledby"];
1709
- const _hoisted_2$W = {
1710
+ const _hoisted_1$14 = ["aria-labelledby"];
1711
+ const _hoisted_2$X = {
1710
1712
  key: 0,
1711
1713
  class: "tao-modal__header"
1712
1714
  };
1713
1715
  const _hoisted_3$N = ["id"];
1714
- const _hoisted_4$F = { key: 1 };
1715
- const _hoisted_5$t = ["aria-label"];
1716
+ const _hoisted_4$G = { key: 1 };
1717
+ const _hoisted_5$u = ["aria-label"];
1716
1718
  const _hoisted_6$o = { "aria-hidden": "true" };
1717
1719
  const _hoisted_7$k = { class: "tao-modal__content" };
1718
1720
  const _hoisted_8$d = {
1719
1721
  key: 1,
1720
1722
  class: "tao-modal__footer"
1721
1723
  };
1722
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1724
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1723
1725
  ...{ name: "TaoModal", inheritAttrs: false },
1724
1726
  __name: "TaoModal",
1725
1727
  props: {
@@ -1804,13 +1806,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1804
1806
  "aria-labelledby": __props.title ? unref(titleId) : void 0,
1805
1807
  tabindex: "-1"
1806
1808
  }), [
1807
- __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$W, [
1809
+ __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$X, [
1808
1810
  renderSlot(_ctx.$slots, "header", {}, () => [
1809
1811
  __props.title ? (openBlock(), createElementBlock("h2", {
1810
1812
  key: 0,
1811
1813
  id: unref(titleId),
1812
1814
  class: "tao-modal__title"
1813
- }, toDisplayString(__props.title), 9, _hoisted_3$N)) : (openBlock(), createElementBlock("span", _hoisted_4$F))
1815
+ }, toDisplayString(__props.title), 9, _hoisted_3$N)) : (openBlock(), createElementBlock("span", _hoisted_4$G))
1814
1816
  ], true),
1815
1817
  __props.closable ? (openBlock(), createElementBlock("button", {
1816
1818
  key: 0,
@@ -1824,7 +1826,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1824
1826
  createVNode(TaoIcon, { name: "tao-close" })
1825
1827
  ], true)
1826
1828
  ])
1827
- ], 8, _hoisted_5$t)) : createCommentVNode("", true)
1829
+ ], 8, _hoisted_5$u)) : createCommentVNode("", true)
1828
1830
  ])) : createCommentVNode("", true),
1829
1831
  createElementVNode("div", _hoisted_7$k, [
1830
1832
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -1832,7 +1834,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1832
1834
  has("footer") ? (openBlock(), createElementBlock("div", _hoisted_8$d, [
1833
1835
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1834
1836
  ])) : createCommentVNode("", true)
1835
- ], 16, _hoisted_1$13)
1837
+ ], 16, _hoisted_1$14)
1836
1838
  ], 34)) : createCommentVNode("", true)
1837
1839
  ]),
1838
1840
  _: 3
@@ -1841,10 +1843,10 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1841
1843
  };
1842
1844
  }
1843
1845
  });
1844
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-d0ba0ca9"]]);
1845
- const _hoisted_1$12 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1846
- const _hoisted_2$V = ["id", "aria-labelledby"];
1847
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1846
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-d0ba0ca9"]]);
1847
+ const _hoisted_1$13 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1848
+ const _hoisted_2$W = ["id", "aria-labelledby"];
1849
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1848
1850
  ...{ name: "TaoTabs" },
1849
1851
  __name: "TaoTabs",
1850
1852
  props: {
@@ -1939,7 +1941,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1939
1941
  }, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1940
1942
  createTextVNode(toDisplayString(tab.label), 1)
1941
1943
  ], 64))
1942
- ], 8, _hoisted_1$12);
1944
+ ], 8, _hoisted_1$13);
1943
1945
  }), 128))
1944
1946
  ], 36),
1945
1947
  createElementVNode("div", {
@@ -1949,12 +1951,12 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1949
1951
  "aria-labelledby": tabId(__props.modelValue)
1950
1952
  }, [
1951
1953
  renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
1952
- ], 8, _hoisted_2$V)
1954
+ ], 8, _hoisted_2$W)
1953
1955
  ], 2);
1954
1956
  };
1955
1957
  }
1956
1958
  });
1957
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-70811078"]]);
1959
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-70811078"]]);
1958
1960
  function listenFocusLoss(onLoss) {
1959
1961
  function onVisibilityChange() {
1960
1962
  if (document.hidden) {
@@ -2467,14 +2469,14 @@ function zoneGradient(zones, min, max, vertical = false, dimmed = false) {
2467
2469
  const stops = zones.map((z) => `${dimmed && z.reveal ? "transparent" : z.color} ${ratioOf(z.from, min, max) * 100}% ${ratioOf(z.to, min, max) * 100}%`);
2468
2470
  return `linear-gradient(${vertical ? "to top" : "to right"}, ${stops.join(", ")})`;
2469
2471
  }
2470
- const _hoisted_1$11 = ["aria-disabled"];
2471
- const _hoisted_2$U = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
2472
+ const _hoisted_1$12 = ["aria-disabled"];
2473
+ const _hoisted_2$V = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
2472
2474
  const _hoisted_3$M = {
2473
2475
  key: 2,
2474
2476
  class: "tao-slider__value"
2475
2477
  };
2476
- const _hoisted_4$E = ["aria-label", "onKeydown"];
2477
- const _hoisted_5$s = {
2478
+ const _hoisted_4$F = ["aria-label", "onKeydown"];
2479
+ const _hoisted_5$t = {
2478
2480
  key: 0,
2479
2481
  class: "tao-slider__marks"
2480
2482
  };
@@ -2483,7 +2485,7 @@ const _hoisted_7$j = {
2483
2485
  key: 0,
2484
2486
  class: "tao-slider__mark-label"
2485
2487
  };
2486
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2488
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
2487
2489
  ...{ name: "TaoSliderBase" },
2488
2490
  __name: "TaoSliderBase",
2489
2491
  props: {
@@ -2813,7 +2815,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2813
2815
  "aria-keyshortcuts": __props.editable ? "Enter F2" : void 0,
2814
2816
  onKeydown: ($event) => onKeydown2($event, i),
2815
2817
  onBlur: _cache[0] || (_cache[0] = ($event) => pointerFocus.value = false)
2816
- }, null, 46, _hoisted_2$U),
2818
+ }, null, 46, _hoisted_2$V),
2817
2819
  __props.bubble ? (openBlock(), createElementBlock("div", {
2818
2820
  key: 0,
2819
2821
  class: normalizeClass(["tao-slider__bubble", { "tao-slider__bubble--auto": bubbleAuto(v) }]),
@@ -2858,11 +2860,11 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2858
2860
  }, ["stop"])),
2859
2861
  onWheel: _cache[7] || (_cache[7] = withModifiers(() => {
2860
2862
  }, ["stop"]))
2861
- }, null, 40, _hoisted_4$E)), [
2863
+ }, null, 40, _hoisted_4$F)), [
2862
2864
  [vModelText, draft.value]
2863
2865
  ]) : createCommentVNode("", true)
2864
2866
  ], 34),
2865
- markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
2867
+ markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5$t, [
2866
2868
  (openBlock(true), createElementBlock(Fragment, null, renderList(markList.value, (mark) => {
2867
2869
  return openBlock(), createElementBlock("button", {
2868
2870
  key: mark.value,
@@ -2889,12 +2891,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2889
2891
  ], 14, _hoisted_6$n);
2890
2892
  }), 128))
2891
2893
  ])) : createCommentVNode("", true)
2892
- ], 42, _hoisted_1$11);
2894
+ ], 42, _hoisted_1$12);
2893
2895
  };
2894
2896
  }
2895
2897
  });
2896
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-8ec84551"]]);
2897
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
2898
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-8ec84551"]]);
2899
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
2898
2900
  ...{ name: "TaoSlider" },
2899
2901
  __name: "TaoSlider",
2900
2902
  props: {
@@ -2962,13 +2964,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
2962
2964
  };
2963
2965
  }
2964
2966
  });
2965
- const _hoisted_1$10 = { class: "tao-scrubber__controls" };
2966
- const _hoisted_2$T = { class: "tao-scrubber__track" };
2967
+ const _hoisted_1$11 = { class: "tao-scrubber__controls" };
2968
+ const _hoisted_2$U = { class: "tao-scrubber__track" };
2967
2969
  const _hoisted_3$L = {
2968
2970
  key: 0,
2969
2971
  class: "tao-scrubber__time"
2970
2972
  };
2971
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
2973
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
2972
2974
  ...{ name: "TaoScrubber" },
2973
2975
  __name: "TaoScrubber",
2974
2976
  props: {
@@ -3008,7 +3010,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3008
3010
  return openBlock(), createElementBlock("div", {
3009
3011
  class: normalizeClass(["tao-scrubber", [unref(sizeClass)(__props.size), `tao-scrubber--${__props.variant}`, { "tao-scrubber--marks-start": __props.marksSide === "start", "tao-scrubber--disabled": __props.disabled }]])
3010
3012
  }, [
3011
- createElementVNode("div", _hoisted_1$10, [
3013
+ createElementVNode("div", _hoisted_1$11, [
3012
3014
  createVNode(TaoButton, {
3013
3015
  size: "small",
3014
3016
  variant: "secondary",
@@ -3038,8 +3040,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3038
3040
  _: 1
3039
3041
  }, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
3040
3042
  ]),
3041
- createElementVNode("div", _hoisted_2$T, [
3042
- createVNode(_sfc_main$1c, {
3043
+ createElementVNode("div", _hoisted_2$U, [
3044
+ createVNode(_sfc_main$1d, {
3043
3045
  "model-value": __props.modelValue,
3044
3046
  min: 0,
3045
3047
  max: __props.length,
@@ -3075,7 +3077,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3075
3077
  };
3076
3078
  }
3077
3079
  });
3078
- const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-517dc331"]]);
3080
+ const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-517dc331"]]);
3079
3081
  const opposite = { top: "bottom", bottom: "top", left: "right", right: "left" };
3080
3082
  function computePosition(input) {
3081
3083
  const { anchor, size, viewport, placement = "bottom-start", gap = 4, pad = 8, flip = true } = input;
@@ -3203,7 +3205,7 @@ function useFloating(anchor, panel, open, options = {}) {
3203
3205
  });
3204
3206
  return { style, side, anchorOffset, placed, update };
3205
3207
  }
3206
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3208
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
3207
3209
  ...{ name: "TaoTooltip" },
3208
3210
  __name: "TaoTooltip",
3209
3211
  props: {
@@ -3281,7 +3283,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3281
3283
  };
3282
3284
  }
3283
3285
  });
3284
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-32ae3936"]]);
3286
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-32ae3936"]]);
3285
3287
  const resolved = ["compact", "default", "comfortable"];
3286
3288
  function densityClass(density) {
3287
3289
  return density ? `tao-density-${density}` : void 0;
@@ -3321,8 +3323,8 @@ function useDismiss(open, inside, onDismiss) {
3321
3323
  );
3322
3324
  onBeforeUnmount(stop);
3323
3325
  }
3324
- const _hoisted_1$$ = { class: "tao-popover" };
3325
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3326
+ const _hoisted_1$10 = { class: "tao-popover" };
3327
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
3326
3328
  ...{ name: "TaoPopover" },
3327
3329
  __name: "TaoPopover",
3328
3330
  props: {
@@ -3380,7 +3382,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3380
3382
  }
3381
3383
  });
3382
3384
  return (_ctx, _cache) => {
3383
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
3385
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
3384
3386
  createElementVNode("div", {
3385
3387
  ref_key: "triggerRef",
3386
3388
  ref: triggerRef,
@@ -3409,7 +3411,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3409
3411
  };
3410
3412
  }
3411
3413
  });
3412
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-5c39ad1c"]]);
3414
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-5c39ad1c"]]);
3413
3415
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
3414
3416
  function frameStyle(bordered) {
3415
3417
  if (bordered === void 0 || bordered === null) {
@@ -3417,14 +3419,14 @@ function frameStyle(bordered) {
3417
3419
  }
3418
3420
  return bordered ? { "--tao-frame-alpha": "100%", "--tao-frame-tint": "0%", "--tao-frame-fill": "0%" } : { "--tao-frame-alpha": "0%", "--tao-frame-tint": "6%", "--tao-frame-fill": "100%" };
3419
3421
  }
3420
- const _hoisted_1$_ = ["aria-expanded", "aria-controls"];
3421
- const _hoisted_2$S = {
3422
+ const _hoisted_1$$ = ["aria-expanded", "aria-controls"];
3423
+ const _hoisted_2$T = {
3422
3424
  key: 0,
3423
3425
  class: "tao-spoiler__title"
3424
3426
  };
3425
3427
  const _hoisted_3$K = ["id"];
3426
- const _hoisted_4$D = { class: "tao-spoiler__content-inner" };
3427
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3428
+ const _hoisted_4$E = { class: "tao-spoiler__content-inner" };
3429
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
3428
3430
  ...{ name: "TaoSpoiler" },
3429
3431
  __name: "TaoSpoiler",
3430
3432
  props: {
@@ -3498,12 +3500,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3498
3500
  class: normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }]),
3499
3501
  name: "tao-chevron-right"
3500
3502
  }, null, 8, ["class"]),
3501
- __props.title || has("title") ? (openBlock(), createElementBlock("span", _hoisted_2$S, [
3503
+ __props.title || has("title") ? (openBlock(), createElementBlock("span", _hoisted_2$T, [
3502
3504
  renderSlot(_ctx.$slots, "title", {}, () => [
3503
3505
  createTextVNode(toDisplayString(__props.title), 1)
3504
3506
  ], true)
3505
3507
  ])) : createCommentVNode("", true)
3506
- ], 8, _hoisted_1$_),
3508
+ ], 8, _hoisted_1$$),
3507
3509
  createVNode(Transition, {
3508
3510
  name: "tao-spoiler-slide",
3509
3511
  onBeforeEnter,
@@ -3517,7 +3519,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3517
3519
  id: unref(panelId),
3518
3520
  class: "tao-spoiler__content"
3519
3521
  }, [
3520
- createElementVNode("div", _hoisted_4$D, [
3522
+ createElementVNode("div", _hoisted_4$E, [
3521
3523
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3522
3524
  ])
3523
3525
  ], 8, _hoisted_3$K)) : createCommentVNode("", true)
@@ -3528,9 +3530,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3528
3530
  };
3529
3531
  }
3530
3532
  });
3531
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-e9a2fb77"]]);
3532
- const _hoisted_1$Z = { class: "tao-spoiler-group" };
3533
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3533
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-e9a2fb77"]]);
3534
+ const _hoisted_1$_ = { class: "tao-spoiler-group" };
3535
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3534
3536
  ...{ name: "TaoSpoilerGroup" },
3535
3537
  __name: "TaoSpoilerGroup",
3536
3538
  props: {
@@ -3555,15 +3557,15 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3555
3557
  setOpen
3556
3558
  });
3557
3559
  return (_ctx, _cache) => {
3558
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
3560
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
3559
3561
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3560
3562
  ]);
3561
3563
  };
3562
3564
  }
3563
3565
  });
3564
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-7986fd2a"]]);
3565
- const _hoisted_1$Y = ["aria-label"];
3566
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3566
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-7986fd2a"]]);
3567
+ const _hoisted_1$Z = ["aria-label"];
3568
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3567
3569
  ...{ name: "TaoCopy" },
3568
3570
  __name: "TaoCopy",
3569
3571
  props: {
@@ -3635,7 +3637,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3635
3637
  name: "tao-copy",
3636
3638
  size: 16
3637
3639
  })
3638
- ], 10, _hoisted_1$Y)
3640
+ ], 10, _hoisted_1$Z)
3639
3641
  ], true),
3640
3642
  (openBlock(), createBlock(Teleport, { to: "body" }, [
3641
3643
  copied.value && __props.tip && doneText.value ? (openBlock(), createElementBlock("div", {
@@ -3651,7 +3653,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3651
3653
  };
3652
3654
  }
3653
3655
  });
3654
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-e181129d"]]);
3656
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-e181129d"]]);
3655
3657
  function readTaoMode(el) {
3656
3658
  const mode = el.getAttribute("data-tao-mode");
3657
3659
  if (mode === "light" || mode === "dark") {
@@ -3676,7 +3678,7 @@ function resolveTaoMode(choice) {
3676
3678
  return choice === "system" ? systemTaoMode() : choice;
3677
3679
  }
3678
3680
  const CHOICE_ATTR = "data-tao-mode-choice";
3679
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3681
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3680
3682
  ...{ name: "TaoThemeToggle" },
3681
3683
  __name: "TaoThemeToggle",
3682
3684
  props: {
@@ -3850,18 +3852,18 @@ function holeClipPath(hole, viewport, radius) {
3850
3852
  function isInView(rect, viewport, margin = 0) {
3851
3853
  return rect.top >= margin && rect.left >= margin && rect.top + rect.height <= viewport.height - margin && rect.left + rect.width <= viewport.width - margin;
3852
3854
  }
3853
- const _hoisted_1$X = {
3855
+ const _hoisted_1$Y = {
3854
3856
  key: 0,
3855
3857
  class: "tao-tour"
3856
3858
  };
3857
- const _hoisted_2$R = {
3859
+ const _hoisted_2$S = {
3858
3860
  key: 1,
3859
3861
  class: "tao-tour__dim",
3860
3862
  "aria-hidden": "true"
3861
3863
  };
3862
3864
  const _hoisted_3$J = ["aria-labelledby", "aria-describedby"];
3863
- const _hoisted_4$C = ["id"];
3864
- const _hoisted_5$r = ["id"];
3865
+ const _hoisted_4$D = ["id"];
3866
+ const _hoisted_5$s = ["id"];
3865
3867
  const _hoisted_6$m = { class: "tao-tour__footer" };
3866
3868
  const _hoisted_7$i = {
3867
3869
  key: 0,
@@ -3873,7 +3875,7 @@ const _hoisted_8$c = {
3873
3875
  };
3874
3876
  const _hoisted_9$9 = { class: "tao-tour__progress-text" };
3875
3877
  const _hoisted_10$5 = { class: "tao-tour__actions" };
3876
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3878
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3877
3879
  ...{ name: "TaoTour" },
3878
3880
  __name: "TaoTour",
3879
3881
  props: {
@@ -4033,7 +4035,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4033
4035
  }
4034
4036
  return (_ctx, _cache) => {
4035
4037
  return openBlock(), createBlock(Teleport, { to: "body" }, [
4036
- __props.step ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
4038
+ __props.step ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
4037
4039
  createElementVNode("div", {
4038
4040
  class: "tao-tour__blocker",
4039
4041
  style: normalizeStyle(blockerStyle.value),
@@ -4044,7 +4046,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4044
4046
  class: "tao-tour__hole",
4045
4047
  style: normalizeStyle(holeStyle.value),
4046
4048
  "aria-hidden": "true"
4047
- }, null, 4)) : (openBlock(), createElementBlock("div", _hoisted_2$R)),
4049
+ }, null, 4)) : (openBlock(), createElementBlock("div", _hoisted_2$S)),
4048
4050
  createElementVNode("div", {
4049
4051
  ref_key: "cardRef",
4050
4052
  ref: cardRef,
@@ -4071,12 +4073,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4071
4073
  key: 0,
4072
4074
  id: unref(titleId),
4073
4075
  class: "tao-tour__title"
4074
- }, toDisplayString(__props.step.title), 9, _hoisted_4$C)) : createCommentVNode("", true),
4076
+ }, toDisplayString(__props.step.title), 9, _hoisted_4$D)) : createCommentVNode("", true),
4075
4077
  __props.step.text ? (openBlock(), createElementBlock("p", {
4076
4078
  key: 1,
4077
4079
  id: unref(textId),
4078
4080
  class: "tao-tour__text"
4079
- }, toDisplayString(__props.step.text), 9, _hoisted_5$r)) : createCommentVNode("", true)
4081
+ }, toDisplayString(__props.step.text), 9, _hoisted_5$s)) : createCommentVNode("", true)
4080
4082
  ]),
4081
4083
  createElementVNode("div", _hoisted_6$m, [
4082
4084
  __props.count > 1 ? (openBlock(), createElementBlock("span", _hoisted_7$i, [
@@ -4130,7 +4132,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4130
4132
  };
4131
4133
  }
4132
4134
  });
4133
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
4135
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
4134
4136
  ...{ name: "TaoContainer" },
4135
4137
  __name: "TaoContainer",
4136
4138
  props: {
@@ -4149,8 +4151,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
4149
4151
  };
4150
4152
  }
4151
4153
  });
4152
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-a5e36052"]]);
4153
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
4154
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a5e36052"]]);
4155
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
4154
4156
  ...{ name: "TaoFlex" },
4155
4157
  __name: "TaoFlex",
4156
4158
  props: {
@@ -4181,7 +4183,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
4181
4183
  };
4182
4184
  }
4183
4185
  });
4184
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
4186
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
4185
4187
  ...{ name: "TaoSpace" },
4186
4188
  __name: "TaoSpace",
4187
4189
  props: {
@@ -4202,7 +4204,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
4202
4204
  };
4203
4205
  }
4204
4206
  });
4205
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-d6fec8bb"]]);
4207
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-d6fec8bb"]]);
4206
4208
  const FULL_SPAN = 999;
4207
4209
  function perSize(value, fallback, compactPlain) {
4208
4210
  if (value === void 0 || value === null) {
@@ -4218,8 +4220,8 @@ function perSize(value, fallback, compactPlain) {
4218
4220
  return { compact, medium, expanded };
4219
4221
  }
4220
4222
  const spanNumber = (span) => span === "full" ? FULL_SPAN : Math.max(1, Math.round(span));
4221
- const _hoisted_1$W = { class: "tao-grid__cells" };
4222
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4223
+ const _hoisted_1$X = { class: "tao-grid__cells" };
4224
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
4223
4225
  ...{ name: "TaoGrid" },
4224
4226
  __name: "TaoGrid",
4225
4227
  props: {
@@ -4247,15 +4249,15 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4247
4249
  class: normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
4248
4250
  style: normalizeStyle(gridStyle.value)
4249
4251
  }, [
4250
- createElementVNode("div", _hoisted_1$W, [
4252
+ createElementVNode("div", _hoisted_1$X, [
4251
4253
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4252
4254
  ])
4253
4255
  ], 6);
4254
4256
  };
4255
4257
  }
4256
4258
  });
4257
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-e95541e2"]]);
4258
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4259
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-e95541e2"]]);
4260
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4259
4261
  ...{ name: "TaoGridItem" },
4260
4262
  __name: "TaoGridItem",
4261
4263
  props: {
@@ -4291,15 +4293,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4291
4293
  };
4292
4294
  }
4293
4295
  });
4294
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d42e5e67"]]);
4295
- const _hoisted_1$V = { class: "tao-split__pane tao-split__pane--start" };
4296
- const _hoisted_2$Q = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
4296
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-d42e5e67"]]);
4297
+ const _hoisted_1$W = { class: "tao-split__pane tao-split__pane--start" };
4298
+ const _hoisted_2$R = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
4297
4299
  const _hoisted_3$I = { class: "tao-split__pane tao-split__pane--end" };
4298
- const _hoisted_4$B = {
4300
+ const _hoisted_4$C = {
4299
4301
  key: 0,
4300
4302
  class: "tao-split__shield"
4301
4303
  };
4302
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4304
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4303
4305
  ...{ name: "TaoSplit" },
4304
4306
  __name: "TaoSplit",
4305
4307
  props: {
@@ -4596,7 +4598,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4596
4598
  ]]),
4597
4599
  style: normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
4598
4600
  }, [
4599
- createElementVNode("div", _hoisted_1$V, [
4601
+ createElementVNode("div", _hoisted_1$W, [
4600
4602
  renderSlot(_ctx.$slots, "start", {}, void 0, true)
4601
4603
  ]),
4602
4604
  createElementVNode("div", {
@@ -4619,20 +4621,20 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4619
4621
  onKeydown: onKeydown2,
4620
4622
  onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
4621
4623
  }, ["prevent"]))
4622
- }, null, 40, _hoisted_2$Q),
4624
+ }, null, 40, _hoisted_2$R),
4623
4625
  createElementVNode("div", _hoisted_3$I, [
4624
4626
  renderSlot(_ctx.$slots, "end", {}, void 0, true)
4625
4627
  ]),
4626
- isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$B)) : createCommentVNode("", true)
4628
+ isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$C)) : createCommentVNode("", true)
4627
4629
  ], 6);
4628
4630
  };
4629
4631
  }
4630
4632
  });
4631
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-316b0d45"]]);
4632
- const _hoisted_1$U = { class: "tao-image" };
4633
- const _hoisted_2$P = ["src", "alt", "loading"];
4633
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-316b0d45"]]);
4634
+ const _hoisted_1$V = { class: "tao-image" };
4635
+ const _hoisted_2$Q = ["src", "alt", "loading"];
4634
4636
  const _hoisted_3$H = { class: "tao-image__placeholder" };
4635
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4637
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4636
4638
  ...{ name: "TaoImage" },
4637
4639
  __name: "TaoImage",
4638
4640
  props: {
@@ -4663,7 +4665,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4663
4665
  hasError.value = false;
4664
4666
  });
4665
4667
  return (_ctx, _cache) => {
4666
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
4668
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
4667
4669
  __props.src && !hasError.value ? (openBlock(), createElementBlock("img", {
4668
4670
  key: 0,
4669
4671
  class: normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
@@ -4674,7 +4676,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4674
4676
  draggable: "false",
4675
4677
  onLoad: handleLoad,
4676
4678
  onError: handleError
4677
- }, null, 42, _hoisted_2$P)) : createCommentVNode("", true),
4679
+ }, null, 42, _hoisted_2$Q)) : createCommentVNode("", true),
4678
4680
  !__props.src || hasError.value ? renderSlot(_ctx.$slots, "default", {}, () => [
4679
4681
  createElementVNode("div", _hoisted_3$H, toDisplayString(__props.placeholderText), 1)
4680
4682
  ], true, 1) : createCommentVNode("", true)
@@ -4682,18 +4684,18 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4682
4684
  };
4683
4685
  }
4684
4686
  });
4685
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-61f47c52"]]);
4686
- const _hoisted_1$T = ["for"];
4687
- const _hoisted_2$O = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
4687
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-61f47c52"]]);
4688
+ const _hoisted_1$U = ["for"];
4689
+ const _hoisted_2$P = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
4688
4690
  const _hoisted_3$G = {
4689
4691
  key: 0,
4690
4692
  class: "tao-checkbox__label"
4691
4693
  };
4692
- const _hoisted_4$A = {
4694
+ const _hoisted_4$B = {
4693
4695
  key: 1,
4694
4696
  class: "tao-checkbox__label"
4695
4697
  };
4696
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4698
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4697
4699
  ...{ name: "TaoCheckbox", inheritAttrs: false },
4698
4700
  __name: "TaoCheckbox",
4699
4701
  props: {
@@ -4764,25 +4766,25 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4764
4766
  "aria-invalid": unref(invalid) || void 0,
4765
4767
  "aria-describedby": unref(describedBy),
4766
4768
  onChange: onInputChange
4767
- }), null, 16, _hoisted_2$O),
4769
+ }), null, 16, _hoisted_2$P),
4768
4770
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
4769
- __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$G, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$A, [
4771
+ __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$G, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$B, [
4770
4772
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4771
4773
  ])),
4772
4774
  renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
4773
- ], 16, _hoisted_1$T);
4775
+ ], 16, _hoisted_1$U);
4774
4776
  };
4775
4777
  }
4776
4778
  });
4777
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-55451432"]]);
4778
- const _hoisted_1$S = {
4779
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-55451432"]]);
4780
+ const _hoisted_1$T = {
4779
4781
  key: 0,
4780
4782
  class: "tao-tag__prefix"
4781
4783
  };
4782
- const _hoisted_2$N = { class: "tao-tag__text" };
4784
+ const _hoisted_2$O = { class: "tao-tag__text" };
4783
4785
  const _hoisted_3$F = ["aria-label"];
4784
- const _hoisted_4$z = { "aria-hidden": "true" };
4785
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
4786
+ const _hoisted_4$A = { "aria-hidden": "true" };
4787
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4786
4788
  ...{ name: "TaoTag" },
4787
4789
  __name: "TaoTag",
4788
4790
  props: {
@@ -4825,10 +4827,10 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4825
4827
  ]]),
4826
4828
  style: normalizeStyle(style.value)
4827
4829
  }, [
4828
- has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$S, [
4830
+ has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$T, [
4829
4831
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
4830
4832
  ])) : createCommentVNode("", true),
4831
- createElementVNode("span", _hoisted_2$N, [
4833
+ createElementVNode("span", _hoisted_2$O, [
4832
4834
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4833
4835
  ]),
4834
4836
  __props.closable ? (openBlock(), createElementBlock("button", {
@@ -4838,7 +4840,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4838
4840
  "aria-label": unref(l10n).closeLabel,
4839
4841
  onClick: withModifiers(onClose, ["stop"])
4840
4842
  }, [
4841
- createElementVNode("span", _hoisted_4$z, [
4843
+ createElementVNode("span", _hoisted_4$A, [
4842
4844
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
4843
4845
  createVNode(TaoIcon, { name: "tao-close" })
4844
4846
  ], true)
@@ -4848,9 +4850,9 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4848
4850
  };
4849
4851
  }
4850
4852
  });
4851
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-0af1f161"]]);
4852
- const _hoisted_1$R = ["role", "aria-hidden"];
4853
- const _hoisted_2$M = {
4853
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-0af1f161"]]);
4854
+ const _hoisted_1$S = ["role", "aria-hidden"];
4855
+ const _hoisted_2$N = {
4854
4856
  key: 1,
4855
4857
  class: "tao-divider__text"
4856
4858
  };
@@ -4858,7 +4860,7 @@ const _hoisted_3$E = {
4858
4860
  key: 2,
4859
4861
  class: "tao-divider__line tao-divider__line--end"
4860
4862
  };
4861
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
4863
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4862
4864
  ...{ name: "TaoDivider" },
4863
4865
  __name: "TaoDivider",
4864
4866
  props: {
@@ -4890,23 +4892,23 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4890
4892
  key: 0,
4891
4893
  class: normalizeClass(["tao-divider__line", { "tao-divider__line--start": hasLabel.value }])
4892
4894
  }, null, 2)) : createCommentVNode("", true),
4893
- hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$M, [
4895
+ hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$N, [
4894
4896
  renderSlot(_ctx.$slots, "default", {}, () => [
4895
4897
  createTextVNode(toDisplayString(__props.text), 1)
4896
4898
  ], true)
4897
4899
  ])) : createCommentVNode("", true),
4898
4900
  __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$E)) : createCommentVNode("", true)
4899
- ], 10, _hoisted_1$R);
4901
+ ], 10, _hoisted_1$S);
4900
4902
  };
4901
4903
  }
4902
4904
  });
4903
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c4a941aa"]]);
4904
- const _hoisted_1$Q = {
4905
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-c4a941aa"]]);
4906
+ const _hoisted_1$R = {
4905
4907
  key: 0,
4906
4908
  class: "tao-fieldset__legend"
4907
4909
  };
4908
- const _hoisted_2$L = { class: "tao-fieldset__body" };
4909
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
4910
+ const _hoisted_2$M = { class: "tao-fieldset__body" };
4911
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4910
4912
  ...{ name: "TaoFieldset" },
4911
4913
  __name: "TaoFieldset",
4912
4914
  props: {
@@ -4920,20 +4922,20 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4920
4922
  return openBlock(), createElementBlock("fieldset", {
4921
4923
  class: normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
4922
4924
  }, [
4923
- __props.legend || has("legend") ? (openBlock(), createElementBlock("legend", _hoisted_1$Q, [
4925
+ __props.legend || has("legend") ? (openBlock(), createElementBlock("legend", _hoisted_1$R, [
4924
4926
  renderSlot(_ctx.$slots, "legend", {}, () => [
4925
4927
  createTextVNode(toDisplayString(__props.legend), 1)
4926
4928
  ], true)
4927
4929
  ])) : createCommentVNode("", true),
4928
- createElementVNode("div", _hoisted_2$L, [
4930
+ createElementVNode("div", _hoisted_2$M, [
4929
4931
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4930
4932
  ])
4931
4933
  ], 2);
4932
4934
  };
4933
4935
  }
4934
4936
  });
4935
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-3ab4beaf"]]);
4936
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
4937
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-3ab4beaf"]]);
4938
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4937
4939
  ...{ name: "TaoAnimatedBorder" },
4938
4940
  __name: "TaoAnimatedBorder",
4939
4941
  props: {
@@ -4976,10 +4978,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4976
4978
  };
4977
4979
  }
4978
4980
  });
4979
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-86ba074e"]]);
4980
- const _hoisted_1$P = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
4981
- const _hoisted_2$K = ["id"];
4982
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
4981
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-86ba074e"]]);
4982
+ const _hoisted_1$Q = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
4983
+ const _hoisted_2$L = ["id"];
4984
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4983
4985
  ...{ name: "TaoTextarea", inheritAttrs: false },
4984
4986
  __name: "TaoTextarea",
4985
4987
  props: {
@@ -5117,25 +5119,25 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
5117
5119
  onFocus,
5118
5120
  onBlur,
5119
5121
  onKeydown: onKeydown2
5120
- }), null, 16, _hoisted_1$P),
5122
+ }), null, 16, _hoisted_1$Q),
5121
5123
  __props.count ? (openBlock(), createElementBlock("span", {
5122
5124
  key: 0,
5123
5125
  id: counterId.value,
5124
5126
  class: normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
5125
- }, toDisplayString(countLabel.value), 11, _hoisted_2$K)) : createCommentVNode("", true)
5127
+ }, toDisplayString(countLabel.value), 11, _hoisted_2$L)) : createCommentVNode("", true)
5126
5128
  ], 16);
5127
5129
  };
5128
5130
  }
5129
5131
  });
5130
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-9aaf7131"]]);
5131
- const _hoisted_1$O = ["aria-label"];
5132
- const _hoisted_2$J = { class: "tao-scroll-top__content" };
5132
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-9aaf7131"]]);
5133
+ const _hoisted_1$P = ["aria-label"];
5134
+ const _hoisted_2$K = { class: "tao-scroll-top__content" };
5133
5135
  const _hoisted_3$D = {
5134
5136
  key: 0,
5135
5137
  class: "tao-scroll-top__text",
5136
5138
  "aria-hidden": "true"
5137
5139
  };
5138
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
5140
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
5139
5141
  ...{ name: "TaoScrollTop", inheritAttrs: false },
5140
5142
  __name: "TaoScrollTop",
5141
5143
  props: {
@@ -5230,7 +5232,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5230
5232
  "aria-label": accessibleName.value,
5231
5233
  onClick: withModifiers(goToTop, ["prevent"])
5232
5234
  }), [
5233
- createElementVNode("span", _hoisted_2$J, [
5235
+ createElementVNode("span", _hoisted_2$K, [
5234
5236
  isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$D, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
5235
5237
  renderSlot(_ctx.$slots, "default", {}, () => [
5236
5238
  createVNode(TaoIcon, {
@@ -5240,7 +5242,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5240
5242
  })
5241
5243
  ], true)
5242
5244
  ])
5243
- ], 16, _hoisted_1$O),
5245
+ ], 16, _hoisted_1$P),
5244
5246
  !isText.value && caption.value ? (openBlock(), createElementBlock("span", {
5245
5247
  key: 0,
5246
5248
  class: normalizeClass(["tao-scroll-top__label", `tao-scroll-top__label--${captionSide.value}`]),
@@ -5253,18 +5255,18 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5253
5255
  };
5254
5256
  }
5255
5257
  });
5256
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-abce6609"]]);
5257
- const _hoisted_1$N = { class: "tao-progress" };
5258
- const _hoisted_2$I = {
5258
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-abce6609"]]);
5259
+ const _hoisted_1$O = { class: "tao-progress" };
5260
+ const _hoisted_2$J = {
5259
5261
  key: 0,
5260
5262
  class: "tao-progress__side"
5261
5263
  };
5262
5264
  const _hoisted_3$C = { class: "tao-progress__main" };
5263
- const _hoisted_4$y = {
5265
+ const _hoisted_4$z = {
5264
5266
  key: 0,
5265
5267
  class: "tao-progress__percentage"
5266
5268
  };
5267
- const _hoisted_5$q = {
5269
+ const _hoisted_5$r = {
5268
5270
  key: 1,
5269
5271
  class: "tao-progress__side"
5270
5272
  };
@@ -5272,7 +5274,7 @@ const _hoisted_6$l = {
5272
5274
  key: 0,
5273
5275
  class: "tao-progress__percentage"
5274
5276
  };
5275
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
5277
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5276
5278
  ...{ name: "TaoProgress" },
5277
5279
  __name: "TaoProgress",
5278
5280
  props: {
@@ -5302,16 +5304,16 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5302
5304
  () => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
5303
5305
  );
5304
5306
  return (_ctx, _cache) => {
5305
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
5307
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
5306
5308
  createElementVNode("div", {
5307
5309
  class: normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
5308
5310
  style: normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
5309
5311
  }, [
5310
- has("left") ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
5312
+ has("left") ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
5311
5313
  renderSlot(_ctx.$slots, "left", {}, void 0, true)
5312
5314
  ])) : createCommentVNode("", true),
5313
5315
  createElementVNode("div", _hoisted_3$C, [
5314
- showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
5316
+ showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$z, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
5315
5317
  createElementVNode("div", {
5316
5318
  class: "tao-progress__track",
5317
5319
  style: normalizeStyle({ height: `${__props.height}px` })
@@ -5322,7 +5324,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5322
5324
  }, null, 6)
5323
5325
  ], 4)
5324
5326
  ]),
5325
- has("right") || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$q, [
5327
+ has("right") || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
5326
5328
  renderSlot(_ctx.$slots, "right", {}, void 0, true),
5327
5329
  showEndPercent.value ? (openBlock(), createElementBlock("span", _hoisted_6$l, toDisplayString(endPercentLabel.value), 1)) : createCommentVNode("", true)
5328
5330
  ])) : createCommentVNode("", true)
@@ -5331,8 +5333,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5331
5333
  };
5332
5334
  }
5333
5335
  });
5334
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-35c69b59"]]);
5335
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5336
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-35c69b59"]]);
5337
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5336
5338
  ...{ name: "TaoRangeSlider" },
5337
5339
  __name: "TaoRangeSlider",
5338
5340
  props: {
@@ -5427,11 +5429,11 @@ function partitionByAccept(files, accept) {
5427
5429
  }
5428
5430
  return { accepted, rejected };
5429
5431
  }
5430
- const _hoisted_1$M = { class: "tao-file-drop__row" };
5431
- const _hoisted_2$H = ["aria-label"];
5432
+ const _hoisted_1$N = { class: "tao-file-drop__row" };
5433
+ const _hoisted_2$I = ["aria-label"];
5432
5434
  const _hoisted_3$B = { "aria-hidden": "true" };
5433
- const _hoisted_4$x = ["accept", "multiple"];
5434
- const _hoisted_5$p = {
5435
+ const _hoisted_4$y = ["accept", "multiple"];
5436
+ const _hoisted_5$q = {
5435
5437
  key: 0,
5436
5438
  class: "tao-file-drop__list"
5437
5439
  };
@@ -5439,7 +5441,7 @@ const _hoisted_6$k = { class: "tao-file-drop__name" };
5439
5441
  const _hoisted_7$h = { class: "tao-file-drop__meta" };
5440
5442
  const _hoisted_8$b = ["aria-label", "onClick"];
5441
5443
  const _hoisted_9$8 = { "aria-hidden": "true" };
5442
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
5444
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5443
5445
  ...{ name: "TaoFileDrop", inheritAttrs: false },
5444
5446
  __name: "TaoFileDrop",
5445
5447
  props: {
@@ -5557,7 +5559,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5557
5559
  return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
5558
5560
  class: ["tao-file-drop", unref(sizeClass)(__props.size)]
5559
5561
  }), [
5560
- createElementVNode("div", _hoisted_1$M, [
5562
+ createElementVNode("div", _hoisted_1$N, [
5561
5563
  __props.showClear && __props.modelValue.length ? (openBlock(), createElementBlock("button", {
5562
5564
  key: 0,
5563
5565
  type: "button",
@@ -5570,7 +5572,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5570
5572
  createVNode(TaoIcon, { name: "tao-close" })
5571
5573
  ], true)
5572
5574
  ])
5573
- ], 8, _hoisted_2$H)) : createCommentVNode("", true),
5575
+ ], 8, _hoisted_2$I)) : createCommentVNode("", true),
5574
5576
  createElementVNode("label", {
5575
5577
  class: normalizeClass(["tao-file-drop__zone", { "tao-file-drop__zone--dragging": isDragging.value }]),
5576
5578
  onDragover: handleDragOver,
@@ -5590,10 +5592,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5590
5592
  onChange: handleFileSelect,
5591
5593
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
5592
5594
  }, ["stop"]))
5593
- }), null, 16, _hoisted_4$x)
5595
+ }), null, 16, _hoisted_4$y)
5594
5596
  ], 34)
5595
5597
  ]),
5596
- __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$p, [
5598
+ __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$q, [
5597
5599
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (file, index) => {
5598
5600
  return openBlock(), createElementBlock("li", {
5599
5601
  key: fileKey(file, index),
@@ -5620,7 +5622,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5620
5622
  };
5621
5623
  }
5622
5624
  });
5623
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-093403e5"]]);
5625
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-093403e5"]]);
5624
5626
  function isMenuSelectable(item) {
5625
5627
  return item.type !== "separator" && item.type !== "label" && !item.disabled;
5626
5628
  }
@@ -5706,8 +5708,8 @@ function useListNav(options) {
5706
5708
  }
5707
5709
  return { onKeydown: onKeydown2 };
5708
5710
  }
5709
- const _hoisted_1$L = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
5710
- const _hoisted_2$G = {
5711
+ const _hoisted_1$M = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
5712
+ const _hoisted_2$H = {
5711
5713
  key: 0,
5712
5714
  class: "tao-menu__separator",
5713
5715
  role: "separator"
@@ -5717,8 +5719,8 @@ const _hoisted_3$A = {
5717
5719
  class: "tao-menu__label",
5718
5720
  role: "presentation"
5719
5721
  };
5720
- const _hoisted_4$w = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
5721
- const _hoisted_5$o = { class: "tao-menu__text" };
5722
+ const _hoisted_4$x = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
5723
+ const _hoisted_5$p = { class: "tao-menu__text" };
5722
5724
  const _hoisted_6$j = {
5723
5725
  key: 1,
5724
5726
  class: "tao-menu__shortcut"
@@ -5728,7 +5730,7 @@ const _hoisted_7$g = {
5728
5730
  class: "tao-menu__arrow",
5729
5731
  "aria-hidden": "true"
5730
5732
  };
5731
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
5733
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5732
5734
  ...{ name: "TaoMenu" },
5733
5735
  __name: "TaoMenu",
5734
5736
  props: {
@@ -5911,7 +5913,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5911
5913
  return openBlock(), createElementBlock(Fragment, {
5912
5914
  key: "id" in item ? item.id : `${item.type}-${index}`
5913
5915
  }, [
5914
- item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$G)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$A, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5916
+ item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$H)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$A, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5915
5917
  createElementVNode("div", {
5916
5918
  id: itemId(index),
5917
5919
  ref_for: true,
@@ -5946,11 +5948,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5946
5948
  class: "tao-menu__icon",
5947
5949
  name: item.icon
5948
5950
  }, null, 8, ["name"])) : createCommentVNode("", true),
5949
- createElementVNode("span", _hoisted_5$o, toDisplayString(item.label), 1)
5951
+ createElementVNode("span", _hoisted_5$p, toDisplayString(item.label), 1)
5950
5952
  ]),
5951
5953
  "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$j, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
5952
5954
  "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$g)) : createCommentVNode("", true)
5953
- ], 42, _hoisted_4$w),
5955
+ ], 42, _hoisted_4$x),
5954
5956
  "items" in item && item.items && openSub.value === index ? (openBlock(), createBlock(_component_TaoMenu, {
5955
5957
  key: 0,
5956
5958
  items: item.items,
@@ -5964,18 +5966,18 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5964
5966
  ], 64))
5965
5967
  ], 64);
5966
5968
  }), 128))
5967
- ], 46, _hoisted_1$L)) : createCommentVNode("", true)
5969
+ ], 46, _hoisted_1$M)) : createCommentVNode("", true)
5968
5970
  ]);
5969
5971
  };
5970
5972
  }
5971
5973
  });
5972
- const _hoisted_1$K = { class: "tao-dropdown-menu" };
5973
- const _hoisted_2$F = ["tabindex", "aria-expanded", "aria-label"];
5974
+ const _hoisted_1$L = { class: "tao-dropdown-menu" };
5975
+ const _hoisted_2$G = ["tabindex", "aria-expanded", "aria-label"];
5974
5976
  const _hoisted_3$z = {
5975
5977
  key: 1,
5976
5978
  "aria-hidden": "true"
5977
5979
  };
5978
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
5980
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5979
5981
  ...{ name: "TaoDropdownMenu" },
5980
5982
  __name: "TaoDropdownMenu",
5981
5983
  props: {
@@ -6009,7 +6011,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6009
6011
  }
6010
6012
  }
6011
6013
  return (_ctx, _cache) => {
6012
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
6014
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
6013
6015
  createElementVNode("button", {
6014
6016
  ref_key: "triggerRef",
6015
6017
  ref: triggerRef,
@@ -6027,8 +6029,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6027
6029
  createVNode(TaoIcon, { name: "tao-more-vertical" })
6028
6030
  ], true)
6029
6031
  ]))
6030
- ], 42, _hoisted_2$F),
6031
- createVNode(_sfc_main$O, {
6032
+ ], 42, _hoisted_2$G),
6033
+ createVNode(_sfc_main$P, {
6032
6034
  items: __props.items,
6033
6035
  open: isOpen.value,
6034
6036
  anchor: triggerRef.value,
@@ -6050,8 +6052,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6050
6052
  };
6051
6053
  }
6052
6054
  });
6053
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-0e71d618"]]);
6054
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
6055
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-0e71d618"]]);
6056
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6055
6057
  ...{ name: "TaoContextMenu" },
6056
6058
  __name: "TaoContextMenu",
6057
6059
  props: {
@@ -6104,7 +6106,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6104
6106
  "aria-hidden": "true",
6105
6107
  style: normalizeStyle({ left: `${point.value.x}px`, top: `${point.value.y}px` })
6106
6108
  }, null, 4),
6107
- createVNode(_sfc_main$O, {
6109
+ createVNode(_sfc_main$P, {
6108
6110
  items: __props.items,
6109
6111
  open: isOpen.value,
6110
6112
  anchor: anchor.value,
@@ -6126,10 +6128,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6126
6128
  };
6127
6129
  }
6128
6130
  });
6129
- const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-65a7f071"]]);
6130
- const _hoisted_1$J = ["aria-label"];
6131
- const _hoisted_2$E = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
6132
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
6131
+ const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-65a7f071"]]);
6132
+ const _hoisted_1$K = ["aria-label"];
6133
+ const _hoisted_2$F = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
6134
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6133
6135
  ...{ name: "TaoMenubar" },
6134
6136
  __name: "TaoMenubar",
6135
6137
  props: {
@@ -6259,8 +6261,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6259
6261
  onKeydown: ($event) => onKeydown2($event, index),
6260
6262
  onMouseenter: ($event) => onEnter(index),
6261
6263
  onFocus: ($event) => current2.value = index
6262
- }, toDisplayString(entry.label), 43, _hoisted_2$E),
6263
- hasMenu(index) ? (openBlock(), createBlock(_sfc_main$O, {
6264
+ }, toDisplayString(entry.label), 43, _hoisted_2$F),
6265
+ hasMenu(index) ? (openBlock(), createBlock(_sfc_main$P, {
6264
6266
  key: 0,
6265
6267
  items: entry.items,
6266
6268
  open: openIndex.value === index,
@@ -6282,11 +6284,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6282
6284
  ]), 1032, ["items", "open", "anchor", "label", "close-on-scroll"])) : createCommentVNode("", true)
6283
6285
  ], 64);
6284
6286
  }), 128))
6285
- ], 14, _hoisted_1$J);
6287
+ ], 14, _hoisted_1$K);
6286
6288
  };
6287
6289
  }
6288
6290
  });
6289
- const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-446c1c49"]]);
6291
+ const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-446c1c49"]]);
6290
6292
  const toolbarKey = Symbol("tao-toolbar");
6291
6293
  function planOverflow(entries, available, gap, moreWidth) {
6292
6294
  const away = /* @__PURE__ */ new Set();
@@ -6370,11 +6372,11 @@ function isTextField(el) {
6370
6372
  }
6371
6373
  return el instanceof HTMLInputElement && TEXT_INPUT.test(el.type);
6372
6374
  }
6373
- const _hoisted_1$I = ["aria-label", "aria-orientation"];
6374
- const _hoisted_2$D = ["data-tao-away"];
6375
+ const _hoisted_1$J = ["aria-label", "aria-orientation"];
6376
+ const _hoisted_2$E = ["data-tao-away"];
6375
6377
  const _hoisted_3$y = ["aria-label"];
6376
- const _hoisted_4$v = ["aria-label"];
6377
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
6378
+ const _hoisted_4$w = ["aria-label"];
6379
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6378
6380
  ...{ name: "TaoToolbar" },
6379
6381
  __name: "TaoToolbar",
6380
6382
  props: {
@@ -6722,7 +6724,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6722
6724
  "aria-expanded": open.value,
6723
6725
  onClick: toggle
6724
6726
  }, null, 8, ["aria-label", "aria-expanded"])
6725
- ], 8, _hoisted_2$D)) : createCommentVNode("", true),
6727
+ ], 8, _hoisted_2$E)) : createCommentVNode("", true),
6726
6728
  managed.value ? (openBlock(), createBlock(Teleport, {
6727
6729
  key: 1,
6728
6730
  to: "body"
@@ -6747,18 +6749,18 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6747
6749
  (...args) => unref(menu).onFocusin && unref(menu).onFocusin(...args)),
6748
6750
  onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
6749
6751
  (...args) => unref(menu).onKeydown && unref(menu).onKeydown(...args))
6750
- }, null, 40, _hoisted_4$v)
6752
+ }, null, 40, _hoisted_4$w)
6751
6753
  ], 14, _hoisted_3$y)) : createCommentVNode("", true)
6752
6754
  ])) : createCommentVNode("", true)
6753
- ], 46, _hoisted_1$I);
6755
+ ], 46, _hoisted_1$J);
6754
6756
  };
6755
6757
  }
6756
6758
  });
6757
- const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-cdccb5ab"]]);
6758
- const _hoisted_1$H = ["aria-label"];
6759
- const _hoisted_2$C = ["data-tao-away", "hidden"];
6759
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-cdccb5ab"]]);
6760
+ const _hoisted_1$I = ["aria-label"];
6761
+ const _hoisted_2$D = ["data-tao-away", "hidden"];
6760
6762
  const _hoisted_3$x = ["aria-label"];
6761
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
6763
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6762
6764
  ...{ name: "TaoToolbarGroup", inheritAttrs: false },
6763
6765
  __name: "TaoToolbarGroup",
6764
6766
  props: {
@@ -6795,7 +6797,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6795
6797
  "aria-label": __props.label
6796
6798
  }, _ctx.$attrs), [
6797
6799
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6798
- ], 16, _hoisted_1$H)) : (openBlock(), createElementBlock("div", {
6800
+ ], 16, _hoisted_1$I)) : (openBlock(), createElementBlock("div", {
6799
6801
  key: 1,
6800
6802
  ref_key: "host",
6801
6803
  ref: host,
@@ -6816,13 +6818,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6816
6818
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6817
6819
  ], 16, _hoisted_3$x)
6818
6820
  ], 8, ["to", "disabled"]))
6819
- ], 8, _hoisted_2$C));
6821
+ ], 8, _hoisted_2$D));
6820
6822
  };
6821
6823
  }
6822
6824
  });
6823
- const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-61688996"]]);
6824
- const _hoisted_1$G = ["aria-orientation", "data-tao-away"];
6825
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
6825
+ const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-61688996"]]);
6826
+ const _hoisted_1$H = ["aria-orientation", "data-tao-away"];
6827
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6826
6828
  ...{ name: "TaoToolbarSeparator" },
6827
6829
  __name: "TaoToolbarSeparator",
6828
6830
  setup(__props) {
@@ -6851,11 +6853,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6851
6853
  role: "separator",
6852
6854
  "aria-orientation": orientation.value,
6853
6855
  "data-tao-away": unit.away.value ? "" : void 0
6854
- }, null, 10, _hoisted_1$G);
6856
+ }, null, 10, _hoisted_1$H);
6855
6857
  };
6856
6858
  }
6857
6859
  });
6858
- const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3555f99a"]]);
6860
+ const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-3555f99a"]]);
6859
6861
  const TAO_CHART_COLORS = 6;
6860
6862
  const chartColorVar = (index) => `var(--tao-color-chart-${index % TAO_CHART_COLORS + 1})`;
6861
6863
  const finite = (v) => typeof v === "number" && Number.isFinite(v);
@@ -7027,16 +7029,16 @@ function watchTaoChartTheme(apply, el) {
7027
7029
  media?.removeEventListener("change", run);
7028
7030
  };
7029
7031
  }
7030
- const _hoisted_1$F = ["role", "aria-label", "aria-hidden"];
7031
- const _hoisted_2$B = {
7032
+ const _hoisted_1$G = ["role", "aria-label", "aria-hidden"];
7033
+ const _hoisted_2$C = {
7032
7034
  class: "tao-sparkline__svg",
7033
7035
  viewBox: "0 0 100 100",
7034
7036
  preserveAspectRatio: "none",
7035
7037
  "aria-hidden": "true"
7036
7038
  };
7037
7039
  const _hoisted_3$w = ["d"];
7038
- const _hoisted_4$u = ["d"];
7039
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
7040
+ const _hoisted_4$v = ["d"];
7041
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
7040
7042
  ...{ name: "TaoSparkline" },
7041
7043
  __name: "TaoSparkline",
7042
7044
  props: {
@@ -7068,7 +7070,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7068
7070
  "aria-label": __props.label,
7069
7071
  "aria-hidden": __props.label ? void 0 : "true"
7070
7072
  }, [
7071
- (openBlock(), createElementBlock("svg", _hoisted_2$B, [
7073
+ (openBlock(), createElementBlock("svg", _hoisted_2$C, [
7072
7074
  fill.value ? (openBlock(), createElementBlock("path", {
7073
7075
  key: 0,
7074
7076
  class: "tao-sparkline__area",
@@ -7077,7 +7079,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7077
7079
  createElementVNode("path", {
7078
7080
  class: "tao-sparkline__line",
7079
7081
  d: line.value
7080
- }, null, 8, _hoisted_4$u)
7082
+ }, null, 8, _hoisted_4$v)
7081
7083
  ])),
7082
7084
  __props.dot && last.value ? (openBlock(), createElementBlock("span", {
7083
7085
  key: 0,
@@ -7085,24 +7087,24 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7085
7087
  style: normalizeStyle({ left: inset(last.value[0]), top: inset(last.value[1]) }),
7086
7088
  "aria-hidden": "true"
7087
7089
  }, null, 4)) : createCommentVNode("", true)
7088
- ], 14, _hoisted_1$F);
7090
+ ], 14, _hoisted_1$G);
7089
7091
  };
7090
7092
  }
7091
7093
  });
7092
- const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-76664226"]]);
7093
- const _hoisted_1$E = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
7094
- const _hoisted_2$A = {
7094
+ const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-76664226"]]);
7095
+ const _hoisted_1$F = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
7096
+ const _hoisted_2$B = {
7095
7097
  key: 0,
7096
7098
  class: "tao-meter__head",
7097
7099
  "aria-hidden": "true"
7098
7100
  };
7099
7101
  const _hoisted_3$v = { class: "tao-meter__label" };
7100
- const _hoisted_4$t = {
7102
+ const _hoisted_4$u = {
7101
7103
  key: 0,
7102
7104
  class: "tao-meter__value"
7103
7105
  };
7104
- const _hoisted_5$n = { class: "tao-meter__track" };
7105
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
7106
+ const _hoisted_5$o = { class: "tao-meter__track" };
7107
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
7106
7108
  ...{ name: "TaoMeter" },
7107
7109
  __name: "TaoMeter",
7108
7110
  props: {
@@ -7136,26 +7138,26 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7136
7138
  "aria-valuetext": typeof __props.valueText === "string" ? __props.valueText : void 0,
7137
7139
  "aria-label": __props.label
7138
7140
  }, [
7139
- __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
7141
+ __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
7140
7142
  createElementVNode("span", _hoisted_3$v, toDisplayString(__props.label), 1),
7141
- shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$t, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
7143
+ shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
7142
7144
  ])) : createCommentVNode("", true),
7143
- createElementVNode("div", _hoisted_5$n, [
7145
+ createElementVNode("div", _hoisted_5$o, [
7144
7146
  createElementVNode("div", {
7145
7147
  class: "tao-meter__fill",
7146
7148
  style: normalizeStyle({ width: `${share.value * 100}%` })
7147
7149
  }, null, 4)
7148
7150
  ])
7149
- ], 10, _hoisted_1$E);
7151
+ ], 10, _hoisted_1$F);
7150
7152
  };
7151
7153
  }
7152
7154
  });
7153
- const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-17e24a8e"]]);
7154
- const _hoisted_1$D = ["aria-label"];
7155
- const _hoisted_2$z = ["viewBox", "width", "height"];
7155
+ const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-17e24a8e"]]);
7156
+ const _hoisted_1$E = ["aria-label"];
7157
+ const _hoisted_2$A = ["viewBox", "width", "height"];
7156
7158
  const _hoisted_3$u = ["cx", "cy", "r", "stroke-width"];
7157
- const _hoisted_4$s = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
7158
- const _hoisted_5$m = {
7159
+ const _hoisted_4$t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
7160
+ const _hoisted_5$n = {
7159
7161
  key: 0,
7160
7162
  class: "tao-donut__centre",
7161
7163
  "aria-hidden": "true"
@@ -7167,7 +7169,7 @@ const _hoisted_6$i = {
7167
7169
  };
7168
7170
  const _hoisted_7$f = { class: "tao-donut__name" };
7169
7171
  const _hoisted_8$a = { class: "tao-donut__share" };
7170
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
7172
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7171
7173
  ...{ name: "TaoDonut" },
7172
7174
  __name: "TaoDonut",
7173
7175
  props: {
@@ -7244,15 +7246,15 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7244
7246
  "stroke-dashoffset": -arc.start,
7245
7247
  transform: `rotate(-90 ${centre.value} ${centre.value})`,
7246
7248
  style: normalizeStyle({ stroke: arc.stroke })
7247
- }, null, 14, _hoisted_4$s)), [
7249
+ }, null, 14, _hoisted_4$t)), [
7248
7250
  [vShow, arc.length > 0]
7249
7251
  ]);
7250
7252
  }), 128))
7251
- ], 8, _hoisted_2$z)),
7252
- has("default") ? (openBlock(), createElementBlock("div", _hoisted_5$m, [
7253
+ ], 8, _hoisted_2$A)),
7254
+ has("default") ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
7253
7255
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7254
7256
  ])) : createCommentVNode("", true)
7255
- ], 12, _hoisted_1$D),
7257
+ ], 12, _hoisted_1$E),
7256
7258
  __props.legend && __props.segments ? (openBlock(), createElementBlock("ul", _hoisted_6$i, [
7257
7259
  (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
7258
7260
  return openBlock(), createElementBlock("li", {
@@ -7272,9 +7274,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7272
7274
  };
7273
7275
  }
7274
7276
  });
7275
- const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-51178c3f"]]);
7276
- const _hoisted_1$C = ["aria-label", "aria-rowcount", "aria-colcount"];
7277
- const _hoisted_2$y = {
7277
+ const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-51178c3f"]]);
7278
+ const _hoisted_1$D = ["aria-label", "aria-rowcount", "aria-colcount"];
7279
+ const _hoisted_2$z = {
7278
7280
  class: "tao-heatmap__row tao-heatmap__head",
7279
7281
  role: "row"
7280
7282
  };
@@ -7282,8 +7284,8 @@ const _hoisted_3$t = {
7282
7284
  class: "tao-heatmap__name",
7283
7285
  role: "rowheader"
7284
7286
  };
7285
- const _hoisted_4$r = ["data-r", "data-c", "tabindex", "onPointerenter", "onFocus"];
7286
- const _hoisted_5$l = { class: "tao-sr-only" };
7287
+ const _hoisted_4$s = ["data-r", "data-c", "tabindex", "onPointerenter", "onFocus"];
7288
+ const _hoisted_5$m = { class: "tao-sr-only" };
7287
7289
  const _hoisted_6$h = { class: "tao-heatmap__tip-where" };
7288
7290
  const _hoisted_7$e = { class: "tao-heatmap__tip-value" };
7289
7291
  const _hoisted_8$9 = {
@@ -7291,7 +7293,7 @@ const _hoisted_8$9 = {
7291
7293
  class: "tao-heatmap__legend",
7292
7294
  "aria-hidden": "true"
7293
7295
  };
7294
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
7296
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7295
7297
  ...{ name: "TaoHeatmap" },
7296
7298
  __name: "TaoHeatmap",
7297
7299
  props: {
@@ -7443,7 +7445,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7443
7445
  onPointerleave: hide,
7444
7446
  onFocusout: onFocusOut
7445
7447
  }, [
7446
- createElementVNode("div", _hoisted_2$y, [
7448
+ createElementVNode("div", _hoisted_2$z, [
7447
7449
  _cache[0] || (_cache[0] = createElementVNode("span", {
7448
7450
  class: "tao-heatmap__corner",
7449
7451
  role: "columnheader"
@@ -7487,12 +7489,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7487
7489
  style: normalizeStyle(levelStyle(cell.level)),
7488
7490
  "aria-hidden": "true"
7489
7491
  }, null, 6),
7490
- createElementVNode("span", _hoisted_5$l, toDisplayString(cell.text), 1)
7491
- ], 44, _hoisted_4$r);
7492
+ createElementVNode("span", _hoisted_5$m, toDisplayString(cell.text), 1)
7493
+ ], 44, _hoisted_4$s);
7492
7494
  }), 128))
7493
7495
  ]);
7494
7496
  }), 128))
7495
- ], 46, _hoisted_1$C),
7497
+ ], 46, _hoisted_1$D),
7496
7498
  tip.value ? (openBlock(), createElementBlock("div", {
7497
7499
  key: 0,
7498
7500
  ref_key: "tipRef",
@@ -7534,15 +7536,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7534
7536
  };
7535
7537
  }
7536
7538
  });
7537
- const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-496996ae"]]);
7538
- const _hoisted_1$B = { class: "tao-nav__shell" };
7539
- const _hoisted_2$x = ["aria-label"];
7539
+ const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-496996ae"]]);
7540
+ const _hoisted_1$C = { class: "tao-nav__shell" };
7541
+ const _hoisted_2$y = ["aria-label"];
7540
7542
  const _hoisted_3$s = { class: "tao-nav__column" };
7541
- const _hoisted_4$q = {
7543
+ const _hoisted_4$r = {
7542
7544
  key: 0,
7543
7545
  class: "tao-nav__action"
7544
7546
  };
7545
- const _hoisted_5$k = { class: "tao-nav__list" };
7547
+ const _hoisted_5$l = { class: "tao-nav__list" };
7546
7548
  const _hoisted_6$g = {
7547
7549
  key: 0,
7548
7550
  class: "tao-nav__icon",
@@ -7568,7 +7570,7 @@ const _hoisted_14$1 = {
7568
7570
  key: 0,
7569
7571
  class: "tao-nav__content"
7570
7572
  };
7571
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
7573
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7572
7574
  ...{ name: "TaoNav" },
7573
7575
  __name: "TaoNav",
7574
7576
  props: {
@@ -7631,16 +7633,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7631
7633
  return openBlock(), createElementBlock("div", {
7632
7634
  class: normalizeClass(["tao-nav", [`tao-nav--${__props.layout}`, `tao-nav--indicator-${__props.indicator}`, { "tao-nav--standalone": standalone.value, "tao-nav--floating": __props.floating, "tao-nav--badges-neutral": __props.badgeTone === "neutral" }]])
7633
7635
  }, [
7634
- createElementVNode("div", _hoisted_1$B, [
7636
+ createElementVNode("div", _hoisted_1$C, [
7635
7637
  createElementVNode("nav", {
7636
7638
  class: normalizeClass(["tao-nav__panel", unref(surfaceClass)(__props.surface)]),
7637
7639
  "aria-label": unref(l10n).ariaLabel
7638
7640
  }, [
7639
7641
  createElementVNode("div", _hoisted_3$s, [
7640
- has("action") ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
7642
+ has("action") ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
7641
7643
  renderSlot(_ctx.$slots, "action", {}, void 0, true)
7642
7644
  ])) : createCommentVNode("", true),
7643
- createElementVNode("ul", _hoisted_5$k, [
7645
+ createElementVNode("ul", _hoisted_5$l, [
7644
7646
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
7645
7647
  return openBlock(), createElementBlock("li", {
7646
7648
  key: item.id,
@@ -7704,12 +7706,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7704
7706
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
7705
7707
  ])) : createCommentVNode("", true)
7706
7708
  ])
7707
- ], 10, _hoisted_2$x),
7709
+ ], 10, _hoisted_2$y),
7708
7710
  !standalone.value ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
7709
7711
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7710
7712
  ])) : createCommentVNode("", true)
7711
7713
  ]),
7712
- overflowing.value ? (openBlock(), createBlock(_sfc_main$O, {
7714
+ overflowing.value ? (openBlock(), createBlock(_sfc_main$P, {
7713
7715
  key: 0,
7714
7716
  items: moreMenu.value,
7715
7717
  open: moreOpen.value,
@@ -7723,7 +7725,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7723
7725
  };
7724
7726
  }
7725
7727
  });
7726
- const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-83603250"]]);
7728
+ const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-83603250"]]);
7727
7729
  function visibleRows(nodes, expanded, children) {
7728
7730
  const rows = [];
7729
7731
  const ancestors = /* @__PURE__ */ new Set();
@@ -7773,18 +7775,18 @@ function toggleCheck(node, checked2, children) {
7773
7775
  }
7774
7776
  return next;
7775
7777
  }
7776
- const _hoisted_1$A = ["aria-label", "aria-multiselectable"];
7777
- const _hoisted_2$w = ["id", "tabindex", "aria-level", "aria-setsize", "aria-posinset", "aria-expanded", "aria-selected", "aria-checked", "aria-disabled", "aria-busy", "onKeydown", "onClick", "onFocus"];
7778
+ const _hoisted_1$B = ["aria-label", "aria-multiselectable"];
7779
+ const _hoisted_2$x = ["id", "tabindex", "aria-level", "aria-setsize", "aria-posinset", "aria-expanded", "aria-selected", "aria-checked", "aria-disabled", "aria-busy", "onKeydown", "onClick", "onFocus"];
7778
7780
  const _hoisted_3$r = ["onClick"];
7779
- const _hoisted_4$p = ["title"];
7780
- const _hoisted_5$j = ["onClick"];
7781
+ const _hoisted_4$q = ["title"];
7782
+ const _hoisted_5$k = ["onClick"];
7781
7783
  const _hoisted_6$f = {
7782
7784
  key: 1,
7783
7785
  class: "tao-tree__icon",
7784
7786
  "aria-hidden": "true"
7785
7787
  };
7786
7788
  const _hoisted_7$c = { class: "tao-tree__label" };
7787
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
7789
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7788
7790
  ...{ name: "TaoTree" },
7789
7791
  __name: "TaoTree",
7790
7792
  props: {
@@ -8054,7 +8056,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8054
8056
  key: 0,
8055
8057
  class: "tao-tree__spinner",
8056
8058
  title: unref(l10n).loadingLabel
8057
- }, null, 8, _hoisted_4$p)) : row.branch ? (openBlock(), createBlock(TaoIcon, {
8059
+ }, null, 8, _hoisted_4$q)) : row.branch ? (openBlock(), createBlock(TaoIcon, {
8058
8060
  key: 1,
8059
8061
  name: "tao-chevron-right"
8060
8062
  })) : createCommentVNode("", true)
@@ -8064,7 +8066,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8064
8066
  class: normalizeClass(["tao-tree__check", `tao-tree__check--${stateOf(row)}`]),
8065
8067
  "aria-hidden": "true",
8066
8068
  onClick: withModifiers(($event) => check(row), ["stop"])
8067
- }, null, 10, _hoisted_5$j)) : createCommentVNode("", true),
8069
+ }, null, 10, _hoisted_5$k)) : createCommentVNode("", true),
8068
8070
  _ctx.$slots.icon || row.node.icon ? (openBlock(), createElementBlock("span", _hoisted_6$f, [
8069
8071
  renderSlot(_ctx.$slots, "icon", mergeProps({ ref_for: true }, slotProps(row)), () => [
8070
8072
  createVNode(TaoIcon, {
@@ -8087,31 +8089,31 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8087
8089
  }, [
8088
8090
  renderSlot(_ctx.$slots, "actions", mergeProps({ ref_for: true }, slotProps(row)), void 0, true)
8089
8091
  ], 32)) : createCommentVNode("", true)
8090
- ], 46, _hoisted_2$w);
8092
+ ], 46, _hoisted_2$x);
8091
8093
  }), 128))
8092
- ], 10, _hoisted_1$A);
8094
+ ], 10, _hoisted_1$B);
8093
8095
  };
8094
8096
  }
8095
8097
  });
8096
- const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-ce3110d4"]]);
8097
- const _hoisted_1$z = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
8098
- const _hoisted_2$v = {
8098
+ const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-ce3110d4"]]);
8099
+ const _hoisted_1$A = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
8100
+ const _hoisted_2$w = {
8099
8101
  key: 0,
8100
8102
  class: "tao-checklist__legend"
8101
8103
  };
8102
8104
  const _hoisted_3$q = { key: 0 };
8103
- const _hoisted_4$o = {
8105
+ const _hoisted_4$p = {
8104
8106
  key: 1,
8105
8107
  class: "tao-checklist__counter",
8106
8108
  "aria-live": "polite"
8107
8109
  };
8108
- const _hoisted_5$i = { class: "tao-checklist__text" };
8110
+ const _hoisted_5$j = { class: "tao-checklist__text" };
8109
8111
  const _hoisted_6$e = { class: "tao-checklist__label" };
8110
8112
  const _hoisted_7$b = {
8111
8113
  key: 0,
8112
8114
  class: "tao-checklist__description"
8113
8115
  };
8114
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
8116
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8115
8117
  ...{ name: "TaoChecklist" },
8116
8118
  __name: "TaoChecklist",
8117
8119
  props: {
@@ -8176,9 +8178,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
8176
8178
  "aria-invalid": unref(invalid) || void 0,
8177
8179
  "aria-labelledby": labelledBy.value
8178
8180
  }, [
8179
- __props.legend || __props.counter ? (openBlock(), createElementBlock("legend", _hoisted_2$v, [
8181
+ __props.legend || __props.counter ? (openBlock(), createElementBlock("legend", _hoisted_2$w, [
8180
8182
  __props.legend ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
8181
- __props.counter ? (openBlock(), createElementBlock("span", _hoisted_4$o, toDisplayString(unref(formatText)(unref(l10n).counterText, { checked: checkedCount.value, total: __props.items.length })), 1)) : createCommentVNode("", true)
8183
+ __props.counter ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(unref(formatText)(unref(l10n).counterText, { checked: checkedCount.value, total: __props.items.length })), 1)) : createCommentVNode("", true)
8182
8184
  ])) : createCommentVNode("", true),
8183
8185
  __props.selectAll ? (openBlock(), createBlock(TaoCheckbox, {
8184
8186
  key: 1,
@@ -8205,7 +8207,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
8205
8207
  "onUpdate:modelValue": ($event) => setItem(item, $event)
8206
8208
  }, {
8207
8209
  default: withCtx(() => [
8208
- createElementVNode("span", _hoisted_5$i, [
8210
+ createElementVNode("span", _hoisted_5$j, [
8209
8211
  renderSlot(_ctx.$slots, "item", {
8210
8212
  item,
8211
8213
  checked: checked2.value.has(item.value)
@@ -8220,19 +8222,19 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
8220
8222
  ], 2);
8221
8223
  }), 128))
8222
8224
  ], 2)
8223
- ], 10, _hoisted_1$z);
8225
+ ], 10, _hoisted_1$A);
8224
8226
  };
8225
8227
  }
8226
8228
  });
8227
- const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-4d3771ce"]]);
8229
+ const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4d3771ce"]]);
8228
8230
  function timelineState(index, activeIndex) {
8229
8231
  if (activeIndex < 0) {
8230
8232
  return "done";
8231
8233
  }
8232
8234
  return index < activeIndex ? "done" : index === activeIndex ? "current" : "upcoming";
8233
8235
  }
8234
- const _hoisted_1$y = ["aria-current"];
8235
- const _hoisted_2$u = {
8236
+ const _hoisted_1$z = ["aria-current"];
8237
+ const _hoisted_2$v = {
8236
8238
  class: "tao-timeline__rail",
8237
8239
  "aria-hidden": "true"
8238
8240
  };
@@ -8240,14 +8242,14 @@ const _hoisted_3$p = {
8240
8242
  key: 0,
8241
8243
  class: "tao-timeline__line"
8242
8244
  };
8243
- const _hoisted_4$n = { class: "tao-timeline__body" };
8244
- const _hoisted_5$h = ["datetime"];
8245
+ const _hoisted_4$o = { class: "tao-timeline__body" };
8246
+ const _hoisted_5$i = ["datetime"];
8245
8247
  const _hoisted_6$d = { class: "tao-timeline__title" };
8246
8248
  const _hoisted_7$a = {
8247
8249
  key: 1,
8248
8250
  class: "tao-timeline__description"
8249
8251
  };
8250
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
8252
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
8251
8253
  ...{ name: "TaoTimeline" },
8252
8254
  __name: "TaoTimeline",
8253
8255
  props: {
@@ -8273,7 +8275,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8273
8275
  class: normalizeClass(["tao-timeline__item", [`tao-timeline__item--${slotProps(item, index).state}`, { "tao-timeline__item--far": index % 2 === 1 }]]),
8274
8276
  "aria-current": slotProps(item, index).active ? "step" : void 0
8275
8277
  }, [
8276
- createElementVNode("div", _hoisted_2$u, [
8278
+ createElementVNode("div", _hoisted_2$v, [
8277
8279
  createElementVNode("span", {
8278
8280
  class: normalizeClass(["tao-timeline__marker", [unref(toneClass)(item.tone), { "tao-timeline__marker--icon": item.icon || _ctx.$slots.marker }]])
8279
8281
  }, [
@@ -8286,12 +8288,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8286
8288
  ], 2),
8287
8289
  index < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_3$p)) : createCommentVNode("", true)
8288
8290
  ]),
8289
- createElementVNode("div", _hoisted_4$n, [
8291
+ createElementVNode("div", _hoisted_4$o, [
8290
8292
  item.time ? (openBlock(), createElementBlock("time", {
8291
8293
  key: 0,
8292
8294
  class: "tao-timeline__time",
8293
8295
  datetime: item.datetime
8294
- }, toDisplayString(item.time), 9, _hoisted_5$h)) : createCommentVNode("", true),
8296
+ }, toDisplayString(item.time), 9, _hoisted_5$i)) : createCommentVNode("", true),
8295
8297
  createElementVNode("div", _hoisted_6$d, [
8296
8298
  renderSlot(_ctx.$slots, "title", mergeProps({ ref_for: true }, slotProps(item, index)), () => [
8297
8299
  createTextVNode(toDisplayString(item.title), 1)
@@ -8300,22 +8302,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8300
8302
  item.description ? (openBlock(), createElementBlock("p", _hoisted_7$a, toDisplayString(item.description), 1)) : createCommentVNode("", true),
8301
8303
  renderSlot(_ctx.$slots, "content", mergeProps({ ref_for: true }, slotProps(item, index)), void 0, true)
8302
8304
  ])
8303
- ], 10, _hoisted_1$y);
8305
+ ], 10, _hoisted_1$z);
8304
8306
  }), 128))
8305
8307
  ], 2);
8306
8308
  };
8307
8309
  }
8308
8310
  });
8309
- const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-48847c47"]]);
8310
- const _hoisted_1$x = ["tabindex", "aria-hidden", "inert"];
8311
- const _hoisted_2$t = { class: "tao-marquee__item" };
8312
- const _hoisted_3$o = {
8313
- key: 0,
8314
- class: "tao-marquee__item",
8315
- "aria-hidden": "true",
8316
- inert: ""
8317
- };
8318
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
8311
+ const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-48847c47"]]);
8312
+ const _hoisted_1$y = ["tabindex", "aria-hidden", "inert"];
8313
+ const _hoisted_2$u = { class: "tao-marquee__item" };
8314
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
8319
8315
  ...{ name: "TaoMarquee" },
8320
8316
  __name: "TaoMarquee",
8321
8317
  props: {
@@ -8326,7 +8322,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8326
8322
  pauseOnHover: { type: Boolean, default: true },
8327
8323
  roundPause: { type: Boolean, default: void 0 },
8328
8324
  decorative: { type: Boolean, default: false },
8329
- paused: { type: Boolean, default: false }
8325
+ paused: { type: Boolean, default: false },
8326
+ fill: { type: Boolean, default: false },
8327
+ reverse: { type: Boolean, default: false }
8330
8328
  },
8331
8329
  setup(__props, { expose: __expose }) {
8332
8330
  const props = __props;
@@ -8341,10 +8339,15 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8341
8339
  let observer = null;
8342
8340
  let motionQuery = null;
8343
8341
  const overflowing = computed(() => itemWidth.value > boxWidth.value + 1);
8344
- const running = computed(() => overflowing.value && !reduce.value);
8342
+ const running = computed(() => (overflowing.value || props.fill && itemWidth.value > 0) && !reduce.value);
8345
8343
  const wrapping = computed(() => overflowing.value && reduce.value && !props.decorative);
8346
8344
  const restAtStart = computed(() => props.roundPause ?? !props.decorative);
8347
8345
  const stopped = computed(() => props.paused || tapped.value);
8346
+ const copies = computed(() => {
8347
+ if (!running.value) return 1;
8348
+ if (overflowing.value) return 2;
8349
+ return Math.min(100, Math.ceil(boxWidth.value / (itemWidth.value + props.gap)) + 1);
8350
+ });
8348
8351
  const trackStyle = computed(() => {
8349
8352
  const shift = itemWidth.value + props.gap;
8350
8353
  return {
@@ -8381,6 +8384,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8381
8384
  if (box.value && "ResizeObserver" in window) {
8382
8385
  observer = new ResizeObserver(measure);
8383
8386
  observer.observe(box.value);
8387
+ if (meter.value) observer.observe(meter.value);
8384
8388
  }
8385
8389
  });
8386
8390
  watch(
@@ -8406,7 +8410,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8406
8410
  "tao-marquee--stopped": stopped.value,
8407
8411
  "tao-marquee--hover-pause": __props.pauseOnHover && !__props.decorative,
8408
8412
  "tao-marquee--seamless": !restAtStart.value,
8409
- "tao-marquee--ghost": __props.decorative
8413
+ "tao-marquee--ghost": __props.decorative,
8414
+ "tao-marquee--reverse": __props.reverse
8410
8415
  }]),
8411
8416
  style: normalizeStyle({ "--_fade": `${__props.fade}px` }),
8412
8417
  tabindex: running.value && !__props.decorative ? 0 : void 0,
@@ -8429,22 +8434,29 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8429
8434
  class: "tao-marquee__track",
8430
8435
  style: normalizeStyle(trackStyle.value)
8431
8436
  }, [
8432
- createElementVNode("span", _hoisted_2$t, [
8437
+ createElementVNode("span", _hoisted_2$u, [
8433
8438
  hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8434
8439
  createTextVNode(toDisplayString(__props.text), 1)
8435
8440
  ], 64))
8436
8441
  ]),
8437
- running.value ? (openBlock(), createElementBlock("span", _hoisted_3$o, [
8438
- hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8439
- createTextVNode(toDisplayString(__props.text), 1)
8440
- ], 64))
8441
- ])) : createCommentVNode("", true)
8442
+ (openBlock(true), createElementBlock(Fragment, null, renderList(copies.value - 1, (n) => {
8443
+ return openBlock(), createElementBlock("span", {
8444
+ key: n,
8445
+ class: "tao-marquee__item",
8446
+ "aria-hidden": "true",
8447
+ inert: ""
8448
+ }, [
8449
+ hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8450
+ createTextVNode(toDisplayString(__props.text), 1)
8451
+ ], 64))
8452
+ ]);
8453
+ }), 128))
8442
8454
  ], 4)
8443
- ], 46, _hoisted_1$x);
8455
+ ], 46, _hoisted_1$y);
8444
8456
  };
8445
8457
  }
8446
8458
  });
8447
- const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-0d2fc5c4"]]);
8459
+ const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-0b681cd1"]]);
8448
8460
  const PIN_CELL = "#";
8449
8461
  function parsePinFormat(format) {
8450
8462
  const mask = [...format];
@@ -8480,23 +8492,23 @@ function pinFromPaste(text, format, cells, accept) {
8480
8492
  if (chars.length === cells && chars.every((ch) => accept(ch))) return chars.map((ch) => accept(ch));
8481
8493
  return null;
8482
8494
  }
8483
- const _hoisted_1$w = ["aria-invalid", "aria-describedby"];
8484
- const _hoisted_2$s = {
8495
+ const _hoisted_1$x = ["aria-invalid", "aria-describedby"];
8496
+ const _hoisted_2$t = {
8485
8497
  key: 0,
8486
8498
  class: "tao-pin-code__separator",
8487
8499
  "aria-hidden": "true"
8488
8500
  };
8489
- const _hoisted_3$n = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "aria-label", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
8490
- const _hoisted_4$m = {
8501
+ const _hoisted_3$o = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "aria-label", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
8502
+ const _hoisted_4$n = {
8491
8503
  key: 0,
8492
8504
  class: "tao-pin-code__separator",
8493
8505
  "aria-hidden": "true"
8494
8506
  };
8495
- const _hoisted_5$g = {
8507
+ const _hoisted_5$h = {
8496
8508
  class: "tao-sr-only",
8497
8509
  role: "status"
8498
8510
  };
8499
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
8511
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8500
8512
  ...{ name: "TaoPinCode" },
8501
8513
  __name: "TaoPinCode",
8502
8514
  props: {
@@ -8725,7 +8737,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8725
8737
  }, [
8726
8738
  (openBlock(true), createElementBlock(Fragment, null, renderList(numbers.value, (num, index) => {
8727
8739
  return openBlock(), createElementBlock(Fragment, { key: index }, [
8728
- layout.value?.before[index] ? (openBlock(), createElementBlock("span", _hoisted_2$s, toDisplayString(layout.value.before[index]), 1)) : createCommentVNode("", true),
8740
+ layout.value?.before[index] ? (openBlock(), createElementBlock("span", _hoisted_2$t, toDisplayString(layout.value.before[index]), 1)) : createCommentVNode("", true),
8729
8741
  createElementVNode("input", {
8730
8742
  id: index === 0 ? unref(controlId) : void 0,
8731
8743
  ref_for: true,
@@ -8750,17 +8762,17 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8750
8762
  onKeydown: ($event) => onKeydown2($event, index),
8751
8763
  onFocus: ($event) => onFocus(index),
8752
8764
  onBlur
8753
- }, null, 46, _hoisted_3$n)
8765
+ }, null, 46, _hoisted_3$o)
8754
8766
  ], 64);
8755
8767
  }), 128)),
8756
- layout.value?.after ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString(layout.value.after), 1)) : createCommentVNode("", true),
8757
- createElementVNode("span", _hoisted_5$g, toDisplayString(__props.status === "success" ? unref(l10n).successText : __props.status === "error" ? unref(l10n).errorText : ""), 1)
8758
- ], 10, _hoisted_1$w);
8768
+ layout.value?.after ? (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString(layout.value.after), 1)) : createCommentVNode("", true),
8769
+ createElementVNode("span", _hoisted_5$h, toDisplayString(__props.status === "success" ? unref(l10n).successText : __props.status === "error" ? unref(l10n).errorText : ""), 1)
8770
+ ], 10, _hoisted_1$x);
8759
8771
  };
8760
8772
  }
8761
8773
  });
8762
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-bb653baa"]]);
8763
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
8774
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-bb653baa"]]);
8775
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8764
8776
  ...{ name: "TaoLink" },
8765
8777
  __name: "TaoLink",
8766
8778
  props: {
@@ -8802,7 +8814,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8802
8814
  };
8803
8815
  }
8804
8816
  });
8805
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
8817
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8806
8818
  ...{ name: "TaoStretchedLink" },
8807
8819
  __name: "TaoStretchedLink",
8808
8820
  props: {
@@ -8814,7 +8826,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8814
8826
  setup(__props) {
8815
8827
  const props = __props;
8816
8828
  return (_ctx, _cache) => {
8817
- return openBlock(), createBlock(_sfc_main$x, mergeProps({ class: "tao-stretched-link" }, props), {
8829
+ return openBlock(), createBlock(_sfc_main$y, mergeProps({ class: "tao-stretched-link" }, props), {
8818
8830
  default: withCtx(() => [
8819
8831
  renderSlot(_ctx.$slots, "default")
8820
8832
  ]),
@@ -8823,8 +8835,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8823
8835
  };
8824
8836
  }
8825
8837
  });
8826
- const _hoisted_1$v = ["for"];
8827
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
8838
+ const _hoisted_1$w = ["for"];
8839
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8828
8840
  ...{ name: "TaoFormField" },
8829
8841
  __name: "TaoFormField",
8830
8842
  props: {
@@ -8874,7 +8886,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8874
8886
  class: "tao-form-field__label",
8875
8887
  for: unref(id),
8876
8888
  onClick: onLabelClick
8877
- }, toDisplayString(__props.label), 9, _hoisted_1$v)) : createCommentVNode("", true),
8889
+ }, toDisplayString(__props.label), 9, _hoisted_1$w)) : createCommentVNode("", true),
8878
8890
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
8879
8891
  __props.error ? (openBlock(), createElementBlock("p", {
8880
8892
  key: 1,
@@ -8889,12 +8901,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8889
8901
  };
8890
8902
  }
8891
8903
  });
8892
- const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f0778b06"]]);
8893
- const _hoisted_1$u = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
8894
- const _hoisted_2$r = { class: "tao-select__value" };
8895
- const _hoisted_3$m = ["aria-activedescendant"];
8896
- const _hoisted_4$l = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
8897
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
8904
+ const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-f0778b06"]]);
8905
+ const _hoisted_1$v = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
8906
+ const _hoisted_2$s = { class: "tao-select__value" };
8907
+ const _hoisted_3$n = ["aria-activedescendant"];
8908
+ const _hoisted_4$m = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
8909
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8898
8910
  ...{ name: "TaoSelect", inheritAttrs: false },
8899
8911
  __name: "TaoSelect",
8900
8912
  props: {
@@ -9042,14 +9054,14 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9042
9054
  onClick: toggle,
9043
9055
  onKeydown: onTriggerKeydown
9044
9056
  }), [
9045
- createElementVNode("span", _hoisted_2$r, toDisplayString(selected.value?.label ?? unref(l10n).placeholder), 1),
9057
+ createElementVNode("span", _hoisted_2$s, toDisplayString(selected.value?.label ?? unref(l10n).placeholder), 1),
9046
9058
  createElementVNode("span", {
9047
9059
  class: normalizeClass(["tao-select__chevron", { "tao-select__chevron--custom": _ctx.$slots.chevron }]),
9048
9060
  "aria-hidden": "true"
9049
9061
  }, [
9050
9062
  renderSlot(_ctx.$slots, "chevron", {}, void 0, true)
9051
9063
  ], 2)
9052
- ], 16, _hoisted_1$u),
9064
+ ], 16, _hoisted_1$v),
9053
9065
  (openBlock(), createBlock(Teleport, { to: "body" }, [
9054
9066
  open.value ? (openBlock(), createElementBlock("div", {
9055
9067
  key: 0,
@@ -9085,9 +9097,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9085
9097
  }, ["prevent"])),
9086
9098
  onClick: ($event) => selectOption(option),
9087
9099
  onMouseenter: ($event) => !option.disabled && (activeIndex.value = index)
9088
- }, toDisplayString(option.label), 43, _hoisted_4$l);
9100
+ }, toDisplayString(option.label), 43, _hoisted_4$m);
9089
9101
  }), 128))
9090
- ], 40, _hoisted_3$m),
9102
+ ], 40, _hoisted_3$n),
9091
9103
  __props.clearable && selected.value ? (openBlock(), createElementBlock("button", {
9092
9104
  key: 0,
9093
9105
  type: "button",
@@ -9106,14 +9118,14 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9106
9118
  };
9107
9119
  }
9108
9120
  });
9109
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-02851c84"]]);
9121
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-02851c84"]]);
9110
9122
  const segmentedKey = Symbol("taoSegmented");
9111
- const _hoisted_1$t = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9112
- const _hoisted_2$q = {
9123
+ const _hoisted_1$u = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9124
+ const _hoisted_2$r = {
9113
9125
  key: 0,
9114
9126
  class: "tao-segmented__legend"
9115
9127
  };
9116
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
9128
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
9117
9129
  ...{ name: "TaoSegmented" },
9118
9130
  __name: "TaoSegmented",
9119
9131
  props: {
@@ -9227,7 +9239,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9227
9239
  "aria-labelledby": __props.legend ? void 0 : unref(field) ? `${unref(field).id}-label` : void 0,
9228
9240
  id: unref(field)?.id
9229
9241
  }, [
9230
- __props.legend ? (openBlock(), createElementBlock("legend", _hoisted_2$q, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
9242
+ __props.legend ? (openBlock(), createElementBlock("legend", _hoisted_2$r, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
9231
9243
  createElementVNode("div", {
9232
9244
  ref_key: "trackRef",
9233
9245
  ref: trackRef,
@@ -9240,20 +9252,20 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9240
9252
  }, null, 4),
9241
9253
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
9242
9254
  ], 512)
9243
- ], 14, _hoisted_1$t);
9255
+ ], 14, _hoisted_1$u);
9244
9256
  };
9245
9257
  }
9246
9258
  });
9247
- const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c4a6edd1"]]);
9248
- const _hoisted_1$s = ["for"];
9249
- const _hoisted_2$p = ["id", "name", "value", "checked", "disabled", "aria-label"];
9250
- const _hoisted_3$l = { class: "tao-segmented-option__face" };
9251
- const _hoisted_4$k = {
9259
+ const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c4a6edd1"]]);
9260
+ const _hoisted_1$t = ["for"];
9261
+ const _hoisted_2$q = ["id", "name", "value", "checked", "disabled", "aria-label"];
9262
+ const _hoisted_3$m = { class: "tao-segmented-option__face" };
9263
+ const _hoisted_4$l = {
9252
9264
  key: 0,
9253
9265
  class: "tao-segmented-option__icon",
9254
9266
  "aria-hidden": "true"
9255
9267
  };
9256
- const _hoisted_5$f = {
9268
+ const _hoisted_5$g = {
9257
9269
  key: 1,
9258
9270
  class: "tao-segmented-option__label"
9259
9271
  };
@@ -9265,7 +9277,7 @@ const _hoisted_7$9 = {
9265
9277
  key: 3,
9266
9278
  class: "tao-segmented-option__count"
9267
9279
  };
9268
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
9280
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9269
9281
  ...{ name: "TaoSegmentedOption" },
9270
9282
  __name: "TaoSegmentedOption",
9271
9283
  props: {
@@ -9336,30 +9348,30 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9336
9348
  disabled: isDisabled.value,
9337
9349
  "aria-label": __props.ariaLabel,
9338
9350
  onChange
9339
- }, null, 40, _hoisted_2$p),
9340
- createElementVNode("span", _hoisted_3$l, [
9341
- __props.icon || has("icon") ? (openBlock(), createElementBlock("span", _hoisted_4$k, [
9351
+ }, null, 40, _hoisted_2$q),
9352
+ createElementVNode("span", _hoisted_3$m, [
9353
+ __props.icon || has("icon") ? (openBlock(), createElementBlock("span", _hoisted_4$l, [
9342
9354
  renderSlot(_ctx.$slots, "icon", {}, () => [
9343
9355
  createVNode(TaoIcon, { name: __props.icon }, null, 8, ["name"])
9344
9356
  ], true)
9345
9357
  ])) : createCommentVNode("", true),
9346
- hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_5$f, [
9358
+ hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_5$g, [
9347
9359
  renderSlot(_ctx.$slots, "default", {}, () => [
9348
9360
  createTextVNode(toDisplayString(__props.label), 1)
9349
9361
  ], true)
9350
9362
  ])) : __props.ariaLabel ? (openBlock(), createElementBlock("span", _hoisted_6$c, toDisplayString(__props.ariaLabel), 1)) : createCommentVNode("", true),
9351
9363
  countLabel.value ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString(countLabel.value), 1)) : createCommentVNode("", true)
9352
9364
  ])
9353
- ], 10, _hoisted_1$s);
9365
+ ], 10, _hoisted_1$t);
9354
9366
  };
9355
9367
  }
9356
9368
  });
9357
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-71f5d295"]]);
9358
- const _hoisted_1$r = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9359
- const _hoisted_2$o = { class: "tao-color-picker__strips" };
9360
- const _hoisted_3$k = { class: "tao-color-picker__row tao-size-small" };
9361
- const _hoisted_4$j = { class: "tao-color-picker__preview" };
9362
- const _hoisted_5$e = {
9369
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-71f5d295"]]);
9370
+ const _hoisted_1$s = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9371
+ const _hoisted_2$p = { class: "tao-color-picker__strips" };
9372
+ const _hoisted_3$l = { class: "tao-color-picker__row tao-size-small" };
9373
+ const _hoisted_4$k = { class: "tao-color-picker__preview" };
9374
+ const _hoisted_5$f = {
9363
9375
  key: 0,
9364
9376
  class: "tao-color-picker__hex"
9365
9377
  };
@@ -9370,7 +9382,7 @@ const _hoisted_6$b = {
9370
9382
  const _hoisted_7$8 = ["disabled", "aria-label", "title"];
9371
9383
  const _hoisted_8$7 = ["aria-label"];
9372
9384
  const _hoisted_9$6 = ["disabled", "aria-label", "title", "onClick"];
9373
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
9385
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9374
9386
  ...{ name: "TaoColorPicker" },
9375
9387
  __name: "TaoColorPicker",
9376
9388
  props: {
@@ -9577,9 +9589,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9577
9589
  class: "tao-color-picker__cursor",
9578
9590
  style: normalizeStyle({ left: `${state.s * 100}%`, top: `${(1 - state.v) * 100}%`, backgroundColor: solidCss.value })
9579
9591
  }, null, 4)
9580
- ], 44, _hoisted_1$r),
9581
- createElementVNode("div", _hoisted_2$o, [
9582
- createVNode(_sfc_main$1c, {
9592
+ ], 44, _hoisted_1$s),
9593
+ createElementVNode("div", _hoisted_2$p, [
9594
+ createVNode(_sfc_main$1d, {
9583
9595
  modelValue: hueValue.value,
9584
9596
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hueValue.value = $event),
9585
9597
  class: "tao-color-picker__hue",
@@ -9591,7 +9603,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9591
9603
  "aria-label": unref(l10n).hueLabel,
9592
9604
  onChange: _cache[1] || (_cache[1] = ($event) => emit("change", hex.value))
9593
9605
  }, null, 8, ["modelValue", "disabled", "aria-label"]),
9594
- __props.alpha ? (openBlock(), createBlock(_sfc_main$1c, {
9606
+ __props.alpha ? (openBlock(), createBlock(_sfc_main$1d, {
9595
9607
  key: 0,
9596
9608
  modelValue: alphaValue.value,
9597
9609
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => alphaValue.value = $event),
@@ -9626,13 +9638,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9626
9638
  ]),
9627
9639
  _: 1
9628
9640
  }, 8, ["modelValue", "aria-label", "disabled"])) : createCommentVNode("", true),
9629
- createElementVNode("div", _hoisted_3$k, [
9630
- createElementVNode("span", _hoisted_4$j, [
9641
+ createElementVNode("div", _hoisted_3$l, [
9642
+ createElementVNode("span", _hoisted_4$k, [
9631
9643
  createElementVNode("span", {
9632
9644
  style: normalizeStyle({ backgroundColor: hex.value })
9633
9645
  }, null, 4)
9634
9646
  ]),
9635
- activeMode.value === "hex" ? (openBlock(), createElementBlock("label", _hoisted_5$e, [
9647
+ activeMode.value === "hex" ? (openBlock(), createElementBlock("label", _hoisted_5$f, [
9636
9648
  _cache[6] || (_cache[6] = createElementVNode("span", null, "HEX", -1)),
9637
9649
  createVNode(TaoInput, {
9638
9650
  modelValue: hexText.value,
@@ -9695,10 +9707,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9695
9707
  };
9696
9708
  }
9697
9709
  });
9698
- const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9e38bead"]]);
9699
- const _hoisted_1$q = ["disabled", "aria-label", "aria-expanded"];
9700
- const _hoisted_2$n = ["disabled"];
9701
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
9710
+ const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-9e38bead"]]);
9711
+ const _hoisted_1$r = ["disabled", "aria-label", "aria-expanded"];
9712
+ const _hoisted_2$o = ["disabled"];
9713
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9702
9714
  ...{ name: "TaoColorInput", inheritAttrs: false },
9703
9715
  __name: "TaoColorInput",
9704
9716
  props: {
@@ -9763,7 +9775,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9763
9775
  createElementVNode("span", {
9764
9776
  class: normalizeClass(["tao-color-input__text", { "tao-color-input__text--empty": empty.value }])
9765
9777
  }, toDisplayString(text.value), 3)
9766
- ], 16, _hoisted_1$q)
9778
+ ], 16, _hoisted_1$r)
9767
9779
  ]),
9768
9780
  default: withCtx(() => [
9769
9781
  createVNode(TaoColorPicker, {
@@ -9784,21 +9796,21 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9784
9796
  class: "tao-color-input__clear",
9785
9797
  disabled: empty.value,
9786
9798
  onClick: clear
9787
- }, toDisplayString(unref(l10n).clearText), 9, _hoisted_2$n)) : createCommentVNode("", true)
9799
+ }, toDisplayString(unref(l10n).clearText), 9, _hoisted_2$o)) : createCommentVNode("", true)
9788
9800
  ]),
9789
9801
  _: 1
9790
9802
  }, 16, ["placement", "disabled"]);
9791
9803
  };
9792
9804
  }
9793
9805
  });
9794
- const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7e3f5d62"]]);
9795
- const _hoisted_1$p = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
9796
- const _hoisted_2$m = {
9806
+ const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7e3f5d62"]]);
9807
+ const _hoisted_1$q = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
9808
+ const _hoisted_2$n = {
9797
9809
  key: 0,
9798
9810
  class: "tao-combobox__empty"
9799
9811
  };
9800
- const _hoisted_3$j = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
9801
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
9812
+ const _hoisted_3$k = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
9813
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9802
9814
  ...{ name: "TaoCombobox", inheritAttrs: false },
9803
9815
  __name: "TaoCombobox",
9804
9816
  props: {
@@ -10172,7 +10184,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10172
10184
  onFocus,
10173
10185
  onBlur,
10174
10186
  onKeydown: onInputKeydown
10175
- }), null, 16, _hoisted_1$p),
10187
+ }), null, 16, _hoisted_1$q),
10176
10188
  createElementVNode("span", {
10177
10189
  class: normalizeClass(["tao-combobox__chevron", { "tao-combobox__chevron--custom": _ctx.$slots.chevron }]),
10178
10190
  "aria-hidden": "true"
@@ -10195,7 +10207,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10195
10207
  class: "tao-combobox__list",
10196
10208
  role: "listbox"
10197
10209
  }, [
10198
- !rows.value.length ? (openBlock(), createElementBlock("li", _hoisted_2$m, [
10210
+ !rows.value.length ? (openBlock(), createElementBlock("li", _hoisted_2$n, [
10199
10211
  renderSlot(_ctx.$slots, "empty", {}, () => [
10200
10212
  createTextVNode(toDisplayString(unref(l10n).emptyText), 1)
10201
10213
  ], true)
@@ -10225,7 +10237,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10225
10237
  ], true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
10226
10238
  createTextVNode(toDisplayString(row.option.label), 1)
10227
10239
  ], 64))
10228
- ], 42, _hoisted_3$j);
10240
+ ], 42, _hoisted_3$k);
10229
10241
  }), 128))
10230
10242
  ], 512),
10231
10243
  __props.clearable && selected.value ? (openBlock(), createElementBlock("button", {
@@ -10245,7 +10257,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10245
10257
  };
10246
10258
  }
10247
10259
  });
10248
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-0e178aeb"]]);
10260
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e178aeb"]]);
10249
10261
  function presetLine(options) {
10250
10262
  const usable2 = options.filter((option) => !option.disabled);
10251
10263
  return [...usable2.filter((option) => !option.default), ...usable2.filter((option) => option.default)];
@@ -10292,11 +10304,11 @@ function parsePreset(text, options, { custom = true, min = 1, max = 999 } = {})
10292
10304
  const number = Math.round(Number(raw.replace(",", ".")));
10293
10305
  return number >= min && number <= max ? number : void 0;
10294
10306
  }
10295
- const _hoisted_1$o = ["id", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "value"];
10296
- const _hoisted_2$l = ["aria-label", "disabled"];
10297
- const _hoisted_3$i = ["aria-label", "disabled"];
10298
- const _hoisted_4$i = ["id", "aria-selected", "aria-disabled", "onClick"];
10299
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
10307
+ const _hoisted_1$p = ["id", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "value"];
10308
+ const _hoisted_2$m = ["aria-label", "disabled"];
10309
+ const _hoisted_3$j = ["aria-label", "disabled"];
10310
+ const _hoisted_4$j = ["id", "aria-selected", "aria-disabled", "onClick"];
10311
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10300
10312
  ...{ name: "TaoPresetInput", inheritAttrs: false },
10301
10313
  __name: "TaoPresetInput",
10302
10314
  props: {
@@ -10484,7 +10496,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10484
10496
  onBlur,
10485
10497
  onClick: openList,
10486
10498
  onKeydown: onKeydown2
10487
- }), null, 16, _hoisted_1$o)
10499
+ }), null, 16, _hoisted_1$p)
10488
10500
  ], 512),
10489
10501
  createElementVNode("div", {
10490
10502
  ref_key: "stepsRef",
@@ -10502,7 +10514,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10502
10514
  onClick: _cache[1] || (_cache[1] = ($event) => step(1))
10503
10515
  }, [
10504
10516
  createVNode(TaoIcon, { name: "tao-chevron-up" })
10505
- ], 40, _hoisted_2$l),
10517
+ ], 40, _hoisted_2$m),
10506
10518
  createElementVNode("button", {
10507
10519
  type: "button",
10508
10520
  tabindex: "-1",
@@ -10514,7 +10526,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10514
10526
  onClick: _cache[3] || (_cache[3] = ($event) => step(-1))
10515
10527
  }, [
10516
10528
  createVNode(TaoIcon, { name: "tao-chevron-down" })
10517
- ], 40, _hoisted_3$i)
10529
+ ], 40, _hoisted_3$j)
10518
10530
  ], 512),
10519
10531
  (openBlock(), createBlock(Teleport, { to: "body" }, [
10520
10532
  open.value ? (openBlock(), createElementBlock("ul", {
@@ -10537,7 +10549,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10537
10549
  "aria-selected": option.value === __props.modelValue,
10538
10550
  "aria-disabled": option.disabled ? true : void 0,
10539
10551
  onClick: ($event) => pick(option)
10540
- }, toDisplayString(option.label), 11, _hoisted_4$i);
10552
+ }, toDisplayString(option.label), 11, _hoisted_4$j);
10541
10553
  }), 128))
10542
10554
  ], 38)) : createCommentVNode("", true)
10543
10555
  ]))
@@ -10545,7 +10557,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10545
10557
  };
10546
10558
  }
10547
10559
  });
10548
- const TaoPresetInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-7682df3a"]]);
10560
+ const TaoPresetInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-7682df3a"]]);
10549
10561
  const fold = (text) => text.replace(/[^]/g, (ch) => {
10550
10562
  const lower = ch.toLowerCase();
10551
10563
  const same = lower.length === ch.length ? lower : ch;
@@ -10618,15 +10630,15 @@ function splitByRanges(label, ranges) {
10618
10630
  if (at < label.length) parts.push({ text: label.slice(at), lit: false });
10619
10631
  return parts.length ? parts : [{ text: label, lit: false }];
10620
10632
  }
10621
- const _hoisted_1$n = { class: "tao-command-list" };
10622
- const _hoisted_2$k = ["aria-activedescendant", "aria-label", "placeholder"];
10623
- const _hoisted_3$h = ["aria-label"];
10624
- const _hoisted_4$h = {
10633
+ const _hoisted_1$o = { class: "tao-command-list" };
10634
+ const _hoisted_2$l = ["aria-activedescendant", "aria-label", "placeholder"];
10635
+ const _hoisted_3$i = ["aria-label"];
10636
+ const _hoisted_4$i = {
10625
10637
  key: 0,
10626
10638
  class: "tao-command-list__group",
10627
10639
  role: "presentation"
10628
10640
  };
10629
- const _hoisted_5$d = ["id", "aria-selected", "aria-disabled", "onPointermove", "onClick"];
10641
+ const _hoisted_5$e = ["id", "aria-selected", "aria-disabled", "onPointermove", "onClick"];
10630
10642
  const _hoisted_6$a = { class: "tao-command-list__text" };
10631
10643
  const _hoisted_7$7 = { class: "tao-command-list__label" };
10632
10644
  const _hoisted_8$6 = { key: 0 };
@@ -10647,7 +10659,7 @@ const _hoisted_12$2 = {
10647
10659
  class: "tao-command-list__empty",
10648
10660
  role: "presentation"
10649
10661
  };
10650
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
10662
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10651
10663
  ...{ name: "TaoCommandList" },
10652
10664
  __name: "TaoCommandList",
10653
10665
  props: {
@@ -10762,7 +10774,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10762
10774
  }
10763
10775
  });
10764
10776
  return (_ctx, _cache) => {
10765
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
10777
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
10766
10778
  withDirectives(createElementVNode("input", {
10767
10779
  ref_key: "inputRef",
10768
10780
  ref: inputRef,
@@ -10779,7 +10791,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10779
10791
  "aria-label": __props.label ?? unref(l10n).label,
10780
10792
  placeholder: __props.placeholder ?? unref(l10n).placeholder,
10781
10793
  onKeydown: onKeydown2
10782
- }, null, 40, _hoisted_2$k), [
10794
+ }, null, 40, _hoisted_2$l), [
10783
10795
  [vModelText, query.value]
10784
10796
  ]),
10785
10797
  createElementVNode("ul", {
@@ -10792,7 +10804,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10792
10804
  return openBlock(), createElementBlock(Fragment, {
10793
10805
  key: row.kind === "group" ? `g-${i}` : row.match.item.id
10794
10806
  }, [
10795
- row.kind === "group" ? (openBlock(), createElementBlock("li", _hoisted_4$h, toDisplayString(row.title), 1)) : (openBlock(), createElementBlock("li", {
10807
+ row.kind === "group" ? (openBlock(), createElementBlock("li", _hoisted_4$i, toDisplayString(row.title), 1)) : (openBlock(), createElementBlock("li", {
10796
10808
  key: 1,
10797
10809
  id: optionId(row.index),
10798
10810
  class: normalizeClass(["tao-command-list__option", { "is-active": row.index === active.value, "is-disabled": row.match.item.disabled, "has-icon": row.match.item.icon }]),
@@ -10828,7 +10840,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10828
10840
  query.value.trim() && row.match.item.group ? (openBlock(), createElementBlock("span", _hoisted_10$3, toDisplayString(row.match.item.group), 1)) : createCommentVNode("", true),
10829
10841
  row.match.item.shortcut ? (openBlock(), createElementBlock("kbd", _hoisted_11$3, toDisplayString(row.match.item.shortcut), 1)) : createCommentVNode("", true)
10830
10842
  ], true)
10831
- ], 42, _hoisted_5$d))
10843
+ ], 42, _hoisted_5$e))
10832
10844
  ], 64);
10833
10845
  }), 128)),
10834
10846
  !results.value.length ? (openBlock(), createElementBlock("li", _hoisted_12$2, [
@@ -10836,14 +10848,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10836
10848
  createTextVNode(toDisplayString(__props.emptyText ?? unref(l10n).emptyText), 1)
10837
10849
  ], true)
10838
10850
  ])) : createCommentVNode("", true)
10839
- ], 10, _hoisted_3$h)
10851
+ ], 10, _hoisted_3$i)
10840
10852
  ]);
10841
10853
  };
10842
10854
  }
10843
10855
  });
10844
- const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1010454e"]]);
10845
- const _hoisted_1$m = ["aria-modal", "aria-label"];
10846
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
10856
+ const TaoCommandList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1010454e"]]);
10857
+ const _hoisted_1$n = ["aria-modal", "aria-label"];
10858
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
10847
10859
  ...{ name: "TaoCommandPalette", inheritAttrs: false },
10848
10860
  __name: "TaoCommandPalette",
10849
10861
  props: {
@@ -10936,7 +10948,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10936
10948
  key: "1"
10937
10949
  } : void 0
10938
10950
  ]), 1032, ["items", "placeholder", "empty-text", "label", "limit"])
10939
- ], 16, _hoisted_1$m)
10951
+ ], 16, _hoisted_1$n)
10940
10952
  ], 34)) : createCommentVNode("", true)
10941
10953
  ]),
10942
10954
  _: 3
@@ -10945,7 +10957,227 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10945
10957
  };
10946
10958
  }
10947
10959
  });
10948
- const TaoCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-f1a6db01"]]);
10960
+ const TaoCommandPalette = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-f1a6db01"]]);
10961
+ function moveTarget(from, over, after, count) {
10962
+ if (from < 0 || over < 0 || from >= count || over >= count) return null;
10963
+ let to = over + (after ? 1 : 0);
10964
+ if (from < to) to--;
10965
+ return to === from ? null : to;
10966
+ }
10967
+ const _hoisted_1$m = ["aria-label"];
10968
+ const _hoisted_2$k = ["id", "aria-selected", "aria-controls", "tabindex", "title", "draggable", "onClick", "onDblclick", "onAuxclick", "onContextmenu", "onKeydown", "onDragstart", "onDragover"];
10969
+ const _hoisted_3$h = { class: "tao-doc-tabs__label" };
10970
+ const _hoisted_4$h = { class: "tao-sr-only" };
10971
+ const _hoisted_5$d = ["aria-label", "onClick"];
10972
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10973
+ ...{ name: "TaoDocTabs" },
10974
+ __name: "TaoDocTabs",
10975
+ props: {
10976
+ modelValue: {},
10977
+ items: {},
10978
+ controls: {},
10979
+ label: {},
10980
+ closeLabel: {},
10981
+ dirtyLabel: {},
10982
+ size: {}
10983
+ },
10984
+ emits: ["update:modelValue", "change", "close", "pin", "reorder", "menu"],
10985
+ setup(__props, { emit: __emit }) {
10986
+ const props = __props;
10987
+ const l10n = useLocaleText(props, "docTabs");
10988
+ const emit = __emit;
10989
+ const uid = useId();
10990
+ const tabId = (value) => `${uid}-${value}`;
10991
+ const listRef = ref(null);
10992
+ const closable = (tab) => tab.closable !== false;
10993
+ const instance = getCurrentInstance();
10994
+ const reorderable = () => Boolean(instance?.vnode.props?.onReorder) && props.items.length > 1;
10995
+ function select(value, focus = false) {
10996
+ emit("update:modelValue", value);
10997
+ if (value !== props.modelValue) emit("change", value);
10998
+ if (focus) void nextTick(() => document.getElementById(tabId(value))?.focus());
10999
+ }
11000
+ function indexOf(value) {
11001
+ return props.items.findIndex((t) => t.value === value);
11002
+ }
11003
+ function move(delta, from) {
11004
+ const n = props.items.length;
11005
+ if (!n) return;
11006
+ const here = indexOf(from);
11007
+ select(props.items[(here + delta + n) % n].value, true);
11008
+ }
11009
+ function onKeydown2(event, tab) {
11010
+ const key = event.key;
11011
+ const index = indexOf(tab.value);
11012
+ if (event.altKey && (key === "ArrowLeft" || key === "ArrowRight")) {
11013
+ if (!reorderable()) return;
11014
+ event.preventDefault();
11015
+ const to = moveTarget(index, key === "ArrowLeft" ? index - 1 : index + 1, key === "ArrowRight", props.items.length);
11016
+ if (to !== null) {
11017
+ emit("reorder", index, to);
11018
+ void nextTick(() => document.getElementById(tabId(tab.value))?.focus());
11019
+ }
11020
+ return;
11021
+ }
11022
+ if (key === "ArrowRight") {
11023
+ event.preventDefault();
11024
+ move(1, tab.value);
11025
+ } else if (key === "ArrowLeft") {
11026
+ event.preventDefault();
11027
+ move(-1, tab.value);
11028
+ } else if (key === "Home") {
11029
+ event.preventDefault();
11030
+ select(props.items[0].value, true);
11031
+ } else if (key === "End") {
11032
+ event.preventDefault();
11033
+ select(props.items[props.items.length - 1].value, true);
11034
+ } else if (key === "Delete" && closable(tab)) {
11035
+ event.preventDefault();
11036
+ emit("close", tab.value);
11037
+ } else if (key === "Enter" && tab.preview) {
11038
+ event.preventDefault();
11039
+ emit("pin", tab.value);
11040
+ } else if (key === "ContextMenu" || key === "F10" && event.shiftKey) {
11041
+ event.preventDefault();
11042
+ emit("menu", tab.value, event);
11043
+ }
11044
+ }
11045
+ function onAuxClick(event, tab) {
11046
+ if (event.button === 1 && closable(tab)) {
11047
+ event.preventDefault();
11048
+ emit("close", tab.value);
11049
+ }
11050
+ }
11051
+ function onContextMenu(event, tab) {
11052
+ event.preventDefault();
11053
+ emit("menu", tab.value, event);
11054
+ }
11055
+ const dragFrom = ref(-1);
11056
+ const dropMark = ref(null);
11057
+ function onDragStart(event, tab) {
11058
+ dragFrom.value = indexOf(tab.value);
11059
+ if (event.dataTransfer) {
11060
+ event.dataTransfer.effectAllowed = "move";
11061
+ event.dataTransfer.setData("text/plain", tab.value);
11062
+ }
11063
+ }
11064
+ const dropSlot = computed(() => {
11065
+ const mark = dropMark.value;
11066
+ if (!mark || moveTarget(dragFrom.value, mark.index, mark.after, props.items.length) === null) return -1;
11067
+ return mark.after ? mark.index + 1 : mark.index;
11068
+ });
11069
+ function onDragOver(event, tab) {
11070
+ if (dragFrom.value < 0) return;
11071
+ event.preventDefault();
11072
+ const rect = event.currentTarget.getBoundingClientRect();
11073
+ dropMark.value = { index: indexOf(tab.value), after: event.clientX > rect.left + rect.width / 2 };
11074
+ }
11075
+ function onDrop(event) {
11076
+ if (!dropMark.value) return;
11077
+ event.preventDefault();
11078
+ const to = moveTarget(dragFrom.value, dropMark.value.index, dropMark.value.after, props.items.length);
11079
+ if (to !== null) emit("reorder", dragFrom.value, to);
11080
+ onDragEnd();
11081
+ }
11082
+ function onDragEnd() {
11083
+ dragFrom.value = -1;
11084
+ dropMark.value = null;
11085
+ }
11086
+ function onWheel(event) {
11087
+ const el = listRef.value;
11088
+ if (!el || el.scrollWidth <= el.clientWidth || Math.abs(event.deltaX) > Math.abs(event.deltaY)) return;
11089
+ el.scrollLeft += event.deltaY;
11090
+ event.preventDefault();
11091
+ }
11092
+ function reveal() {
11093
+ const el = listRef.value;
11094
+ const tab = document.getElementById(tabId(props.modelValue));
11095
+ if (!el || !tab) return;
11096
+ const row = el.getBoundingClientRect();
11097
+ const box = tab.getBoundingClientRect();
11098
+ if (box.left < row.left) el.scrollLeft -= row.left - box.left;
11099
+ else if (box.right > row.right) el.scrollLeft += box.right - row.right;
11100
+ }
11101
+ watch(
11102
+ () => [props.modelValue, props.items.length],
11103
+ async () => {
11104
+ await nextTick();
11105
+ reveal();
11106
+ }
11107
+ );
11108
+ const tabindex = (tab, index) => tab.value === props.modelValue || !props.items.some((t) => t.value === props.modelValue) && index === 0 ? 0 : -1;
11109
+ return (_ctx, _cache) => {
11110
+ return openBlock(), createElementBlock("div", {
11111
+ class: normalizeClass(["tao-doc-tabs", unref(sizeClass)(__props.size)])
11112
+ }, [
11113
+ createElementVNode("div", {
11114
+ ref_key: "listRef",
11115
+ ref: listRef,
11116
+ class: "tao-doc-tabs__list",
11117
+ role: "tablist",
11118
+ "aria-label": __props.label ?? unref(l10n).label,
11119
+ onWheel,
11120
+ onDrop
11121
+ }, [
11122
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (tab, index) => {
11123
+ return openBlock(), createElementBlock("div", {
11124
+ id: tabId(tab.value),
11125
+ key: tab.value,
11126
+ class: normalizeClass(["tao-doc-tabs__tab", {
11127
+ "is-active": tab.value === __props.modelValue,
11128
+ "is-preview": tab.preview,
11129
+ "is-dirty": tab.dirty,
11130
+ "is-dragging": dragFrom.value === index,
11131
+ "drop-before": dropSlot.value === index,
11132
+ "drop-after": dropSlot.value === __props.items.length && index === __props.items.length - 1
11133
+ }]),
11134
+ role: "tab",
11135
+ "aria-selected": tab.value === __props.modelValue,
11136
+ "aria-controls": tab.value === __props.modelValue ? __props.controls : void 0,
11137
+ tabindex: tabindex(tab, index),
11138
+ title: tab.title,
11139
+ draggable: reorderable(),
11140
+ onClick: ($event) => select(tab.value),
11141
+ onDblclick: ($event) => tab.preview && emit("pin", tab.value),
11142
+ onAuxclick: ($event) => onAuxClick($event, tab),
11143
+ onContextmenu: ($event) => onContextMenu($event, tab),
11144
+ onKeydown: ($event) => onKeydown2($event, tab),
11145
+ onDragstart: ($event) => onDragStart($event, tab),
11146
+ onDragover: ($event) => onDragOver($event, tab),
11147
+ onDragend: onDragEnd
11148
+ }, [
11149
+ renderSlot(_ctx.$slots, "label", { tab }, () => [
11150
+ createElementVNode("span", _hoisted_3$h, toDisplayString(tab.label), 1)
11151
+ ], true),
11152
+ tab.dirty ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11153
+ _cache[0] || (_cache[0] = createElementVNode("span", {
11154
+ class: "tao-doc-tabs__dot",
11155
+ "aria-hidden": "true"
11156
+ }, null, -1)),
11157
+ createElementVNode("span", _hoisted_4$h, toDisplayString(__props.dirtyLabel ?? unref(l10n).dirtyLabel), 1)
11158
+ ], 64)) : createCommentVNode("", true),
11159
+ closable(tab) ? (openBlock(), createElementBlock("button", {
11160
+ key: 1,
11161
+ type: "button",
11162
+ class: "tao-doc-tabs__close",
11163
+ tabindex: "-1",
11164
+ "aria-hidden": "true",
11165
+ "aria-label": `${__props.closeLabel ?? unref(l10n).closeLabel} ${tab.label}`,
11166
+ onClick: withModifiers(($event) => emit("close", tab.value), ["stop"])
11167
+ }, [
11168
+ createVNode(TaoIcon, {
11169
+ name: "tao-close",
11170
+ "aria-hidden": "true"
11171
+ })
11172
+ ], 8, _hoisted_5$d)) : createCommentVNode("", true)
11173
+ ], 42, _hoisted_2$k);
11174
+ }), 128))
11175
+ ], 40, _hoisted_1$m)
11176
+ ], 2);
11177
+ };
11178
+ }
11179
+ });
11180
+ const TaoDocTabs = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0a708fd8"]]);
10949
11181
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
10950
11182
  function formatTaoDateIso(parts) {
10951
11183
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -13406,7 +13638,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13406
13638
  class: "tao-breadcrumb__item"
13407
13639
  }, [
13408
13640
  index > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$4, "/")) : createCommentVNode("", true),
13409
- index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$x, {
13641
+ index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$y, {
13410
13642
  key: 2,
13411
13643
  class: "tao-breadcrumb__link",
13412
13644
  to: item.to
@@ -15188,10 +15420,10 @@ const components = [
15188
15420
  TaoSpoiler,
15189
15421
  TaoSpoilerGroup,
15190
15422
  TaoCopy,
15423
+ _sfc_main$16,
15191
15424
  _sfc_main$15,
15192
- _sfc_main$14,
15193
15425
  TaoContainer,
15194
- _sfc_main$12,
15426
+ _sfc_main$13,
15195
15427
  TaoSpace,
15196
15428
  TaoGrid,
15197
15429
  TaoGridItem,
@@ -15207,11 +15439,11 @@ const components = [
15207
15439
  TaoTextarea,
15208
15440
  TaoScrollTop,
15209
15441
  TaoProgress,
15210
- _sfc_main$1c,
15211
- _sfc_main$Q,
15442
+ _sfc_main$1d,
15443
+ _sfc_main$R,
15212
15444
  TaoFileDrop,
15213
15445
  TaoDropdownMenu,
15214
- _sfc_main$O,
15446
+ _sfc_main$P,
15215
15447
  TaoMenubar,
15216
15448
  TaoToolbar,
15217
15449
  TaoToolbarGroup,
@@ -15227,8 +15459,8 @@ const components = [
15227
15459
  TaoMarquee,
15228
15460
  TaoContextMenu,
15229
15461
  TaoPinCode,
15462
+ _sfc_main$y,
15230
15463
  _sfc_main$x,
15231
- _sfc_main$w,
15232
15464
  TaoFormField,
15233
15465
  TaoSelect,
15234
15466
  TaoColorInput,
@@ -15237,6 +15469,7 @@ const components = [
15237
15469
  TaoPresetInput,
15238
15470
  TaoCommandList,
15239
15471
  TaoCommandPalette,
15472
+ TaoDocTabs,
15240
15473
  _sfc_main$l,
15241
15474
  TaoDate,
15242
15475
  TaoDateRange,
@@ -15301,13 +15534,14 @@ export {
15301
15534
  TaoDate,
15302
15535
  TaoDateRange,
15303
15536
  TaoDivider,
15537
+ TaoDocTabs,
15304
15538
  TaoDonut,
15305
15539
  TaoDrawer,
15306
15540
  TaoDropdownMenu,
15307
15541
  TaoEmpty,
15308
15542
  TaoFieldset,
15309
15543
  TaoFileDrop,
15310
- _sfc_main$12 as TaoFlex,
15544
+ _sfc_main$13 as TaoFlex,
15311
15545
  TaoFormField,
15312
15546
  TaoGrid,
15313
15547
  TaoGridItem,
@@ -15317,12 +15551,12 @@ export {
15317
15551
  TaoInput,
15318
15552
  TaoInputGroup,
15319
15553
  TaoInputNumber,
15320
- _sfc_main$x as TaoLink,
15554
+ _sfc_main$y as TaoLink,
15321
15555
  TaoList,
15322
15556
  TaoListItem,
15323
15557
  TaoLoader,
15324
15558
  TaoMarquee,
15325
- _sfc_main$O as TaoMenu,
15559
+ _sfc_main$P as TaoMenu,
15326
15560
  TaoMenubar,
15327
15561
  TaoMeter,
15328
15562
  TaoModal,
@@ -15335,34 +15569,34 @@ export {
15335
15569
  TaoQuantity,
15336
15570
  TaoRadio,
15337
15571
  TaoRadioGroup,
15338
- _sfc_main$Q as TaoRangeSlider,
15572
+ _sfc_main$R as TaoRangeSlider,
15339
15573
  TaoScrollTop,
15340
15574
  TaoScrubber,
15341
15575
  TaoSegmented,
15342
15576
  TaoSegmentedOption,
15343
15577
  TaoSelect,
15344
15578
  TaoSkeleton,
15345
- _sfc_main$1c as TaoSlider,
15579
+ _sfc_main$1d as TaoSlider,
15346
15580
  TaoSpace,
15347
15581
  TaoSparkline,
15348
15582
  TaoSplit,
15349
15583
  TaoSpoiler,
15350
15584
  TaoSpoilerGroup,
15351
15585
  TaoStages,
15352
- _sfc_main$w as TaoStretchedLink,
15586
+ _sfc_main$x as TaoStretchedLink,
15353
15587
  TaoSwitch,
15354
15588
  TaoTable,
15355
15589
  TaoTabs,
15356
15590
  TaoTag,
15357
15591
  TaoTextarea,
15358
- _sfc_main$15 as TaoThemeToggle,
15592
+ _sfc_main$16 as TaoThemeToggle,
15359
15593
  TaoTimeline,
15360
15594
  TaoToastViewport,
15361
15595
  TaoToolbar,
15362
15596
  TaoToolbarGroup,
15363
15597
  TaoToolbarSeparator,
15364
15598
  TaoTooltip,
15365
- _sfc_main$14 as TaoTour,
15599
+ _sfc_main$15 as TaoTour,
15366
15600
  TaoTree,
15367
15601
  TaoUI,
15368
15602
  apcaContrast,
@@ -15387,6 +15621,7 @@ export {
15387
15621
  matchTaoLanguage,
15388
15622
  menuReturnsFocus,
15389
15623
  mergeRanges,
15624
+ moveTarget,
15390
15625
  normalizeHex,
15391
15626
  parseAcceptLanguage,
15392
15627
  parseColor,