@1337exp/taoui 5.31.0 → 5.32.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
@@ -72,6 +72,7 @@ const builtin = {
72
72
  copy: { body: '<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M15 9V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7a2 2 0 002 2h3"/>' },
73
73
  sun: { body: '<circle cx="12" cy="12" r="4.25"/><path d="M12 3.75L12 1M18.45 6.86L20.6 5.14M20.04 13.84L22.72 14.45M15.58 19.43L16.77 21.91M8.42 19.43L7.23 21.91M3.96 13.84L1.28 14.45M5.55 6.86L3.4 5.14"/>' },
74
74
  moon: { body: '<path d="M20 14.5A8 8 0 019.5 4a8 8 0 1010.5 10.5z"/>' },
75
+ monitor: { body: '<rect x="2.5" y="4" width="19" height="12.5" rx="2"/><path d="M8 20.5h8M12 16.5v4"/>' },
75
76
  calendar: { body: '<rect x="4" y="5.5" width="16" height="14.5" rx="2"/><path d="M4 10h16M8.5 3.5v4M15.5 3.5v4"/>' },
76
77
  info: { body: '<circle cx="12" cy="12" r="9"/><path d="M12 11v5.5"/>' + dot(12, 7.8, 1.1) },
77
78
  "alert-triangle": { body: '<path d="M12 4L2.8 19.5h18.4z"/><path d="M12 10v4.5"/>' + dot(12, 17.2, 1.1) },
@@ -109,9 +110,9 @@ function resolveTaoIcon(name) {
109
110
  return name.startsWith(TAO_ICON_PREFIX) ? builtin[name.slice(TAO_ICON_PREFIX.length)] : registered[name];
110
111
  }
111
112
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
112
- const _hoisted_1$18 = { class: "tao-icon" };
113
- const _hoisted_2$10 = ["viewBox", "width", "height", "innerHTML"];
114
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
113
+ const _hoisted_1$19 = { class: "tao-icon" };
114
+ const _hoisted_2$11 = ["viewBox", "width", "height", "innerHTML"];
115
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
115
116
  ...{ name: "TaoIcon" },
116
117
  __name: "TaoIcon",
117
118
  props: {
@@ -131,7 +132,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
131
132
  }
132
133
  const box = computed(() => props.size ? `${props.size}px` : "1em");
133
134
  return (_ctx, _cache) => {
134
- return openBlock(), createElementBlock("span", _hoisted_1$18, [
135
+ return openBlock(), createElementBlock("span", _hoisted_1$19, [
135
136
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
136
137
  def.value ? (openBlock(), createElementBlock("svg", {
137
138
  key: 0,
@@ -147,7 +148,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
147
148
  "aria-hidden": "true",
148
149
  focusable: "false",
149
150
  innerHTML: def.value.body
150
- }, null, 10, _hoisted_2$10)) : (openBlock(), createElementBlock("i", {
151
+ }, null, 10, _hoisted_2$11)) : (openBlock(), createElementBlock("i", {
151
152
  key: 1,
152
153
  class: normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
153
154
  style: normalizeStyle(props.size ? `font-size: ${props.size}px` : "")
@@ -164,7 +165,7 @@ const _export_sfc = (sfc, props) => {
164
165
  }
165
166
  return target;
166
167
  };
167
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-ef842331"]]);
168
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-ef842331"]]);
168
169
  const localeEn = {
169
170
  code: "en-US",
170
171
  alert: { closeLabel: "Close", detailsLabel: "Details" },
@@ -200,7 +201,8 @@ const localeEn = {
200
201
  confirm: { ok: "OK", cancel: "Cancel" },
201
202
  copy: { copyLabel: "Copy", successText: "Copied!" },
202
203
  tour: { nextLabel: "Next", prevLabel: "Back", skipLabel: "Skip", doneLabel: "Done", progressLabel: "Step {n} of {count}" },
203
- themeToggle: { toLightLabel: "Switch to the light theme", toDarkLabel: "Switch to the dark theme" },
204
+ presetInput: { nextLabel: "Next value", prevLabel: "Previous value" },
205
+ themeToggle: { toLightLabel: "Switch to the light theme", toDarkLabel: "Switch to the dark theme", toSystemLabel: "Switch to the system theme" },
204
206
  loader: { label: "Loading" },
205
207
  date: {
206
208
  placeholder: "Date",
@@ -435,7 +437,8 @@ const localeRu = {
435
437
  confirm: { ok: "ОК", cancel: "Отмена" },
436
438
  copy: { copyLabel: "Копировать", successText: "Скопировано!" },
437
439
  tour: { nextLabel: "Далее", prevLabel: "Назад", skipLabel: "Пропустить", doneLabel: "Готово", progressLabel: "Шаг {n} из {count}" },
438
- themeToggle: { toLightLabel: "Включить светлую тему", toDarkLabel: "Включить тёмную тему" },
440
+ presetInput: { nextLabel: "Следующее значение", prevLabel: "Предыдущее значение" },
441
+ themeToggle: { toLightLabel: "Включить светлую тему", toDarkLabel: "Включить тёмную тему", toSystemLabel: "Включить системную тему" },
439
442
  loader: { label: "Загрузка" },
440
443
  date: {
441
444
  placeholder: "Дата",
@@ -597,18 +600,18 @@ function pluralForm(forms, n, code) {
597
600
  }
598
601
  return forms[category] ?? forms.other;
599
602
  }
600
- const _hoisted_1$17 = ["role", "aria-hidden"];
601
- const _hoisted_2$$ = {
603
+ const _hoisted_1$18 = ["role", "aria-hidden"];
604
+ const _hoisted_2$10 = {
602
605
  key: 0,
603
606
  class: "tao-loader__ellipsis",
604
607
  "aria-hidden": "true"
605
608
  };
606
- const _hoisted_3$S = {
609
+ const _hoisted_3$T = {
607
610
  key: 1,
608
611
  class: "tao-loader__ring",
609
612
  "aria-hidden": "true"
610
613
  };
611
- const _hoisted_4$H = {
614
+ const _hoisted_4$I = {
612
615
  key: 2,
613
616
  class: "tao-loader__swap",
614
617
  "aria-hidden": "true"
@@ -622,7 +625,7 @@ const _hoisted_6$q = {
622
625
  key: 4,
623
626
  class: "tao-sr-only"
624
627
  };
625
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
628
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
626
629
  ...{ name: "TaoLoader" },
627
630
  __name: "TaoLoader",
628
631
  props: {
@@ -660,31 +663,31 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
660
663
  role: __props.decorative ? void 0 : "status",
661
664
  "aria-hidden": __props.decorative ? "true" : void 0
662
665
  }, [
663
- __props.variant === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$$, [..._cache[0] || (_cache[0] = [
666
+ __props.variant === "dots" ? (openBlock(), createElementBlock("div", _hoisted_2$10, [..._cache[0] || (_cache[0] = [
664
667
  createElementVNode("div", null, null, -1),
665
668
  createElementVNode("div", null, null, -1),
666
669
  createElementVNode("div", null, null, -1),
667
670
  createElementVNode("div", null, null, -1)
668
- ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$S)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$H, [..._cache[1] || (_cache[1] = [
671
+ ])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$T)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$I, [..._cache[1] || (_cache[1] = [
669
672
  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)
670
673
  ])])) : (openBlock(), createElementBlock("span", _hoisted_5$w)),
671
674
  !__props.decorative ? (openBlock(), createElementBlock("span", _hoisted_6$q, toDisplayString(unref(l10n).label), 1)) : createCommentVNode("", true)
672
- ], 14, _hoisted_1$17);
675
+ ], 14, _hoisted_1$18);
673
676
  };
674
677
  }
675
678
  });
676
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-03f29efb"]]);
677
- const _hoisted_1$16 = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
678
- const _hoisted_2$_ = {
679
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-03f29efb"]]);
680
+ const _hoisted_1$17 = ["type", "aria-pressed", "aria-keyshortcuts", "title", "aria-busy", "disabled"];
681
+ const _hoisted_2$$ = {
679
682
  key: 2,
680
683
  class: "tao-button__content"
681
684
  };
682
- const _hoisted_3$R = {
685
+ const _hoisted_3$S = {
683
686
  key: 4,
684
687
  class: "tao-button__shortcut",
685
688
  "aria-hidden": "true"
686
689
  };
687
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
690
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
688
691
  ...{ name: "TaoButton" },
689
692
  __name: "TaoButton",
690
693
  props: {
@@ -767,7 +770,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
767
770
  class: "tao-button__icon",
768
771
  name: __props.icon
769
772
  }, null, 8, ["name"])) : createCommentVNode("", true),
770
- hasContent() ? (openBlock(), createElementBlock("span", _hoisted_2$_, [
773
+ hasContent() ? (openBlock(), createElementBlock("span", _hoisted_2$$, [
771
774
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
772
775
  ])) : createCommentVNode("", true),
773
776
  __props.iconEnd ? (openBlock(), createBlock(TaoIcon, {
@@ -775,12 +778,12 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
775
778
  class: "tao-button__icon",
776
779
  name: __props.iconEnd
777
780
  }, null, 8, ["name"])) : createCommentVNode("", true),
778
- __props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$R, toDisplayString(__props.shortcut), 1)) : createCommentVNode("", true)
779
- ], 14, _hoisted_1$16);
781
+ __props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$S, toDisplayString(__props.shortcut), 1)) : createCommentVNode("", true)
782
+ ], 14, _hoisted_1$17);
780
783
  };
781
784
  }
782
785
  });
783
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-be24f74d"]]);
786
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-be24f74d"]]);
784
787
  function toCssLength(value) {
785
788
  if (value === void 0 || value === null || value === "") {
786
789
  return void 0;
@@ -799,7 +802,7 @@ function stripeClasses(stripe, tone = "accent") {
799
802
  function surfaceClass(surface) {
800
803
  return surface && surface !== "flat" ? `tao-surface-${surface}` : void 0;
801
804
  }
802
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
805
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
803
806
  ...{ name: "TaoBlock" },
804
807
  __name: "TaoBlock",
805
808
  props: {
@@ -832,7 +835,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
832
835
  };
833
836
  }
834
837
  });
835
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-1fc66575"]]);
838
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-1fc66575"]]);
836
839
  function useControlAttrs() {
837
840
  const attrs = useAttrs();
838
841
  return {
@@ -854,16 +857,16 @@ function useField(props) {
854
857
  const describedBy = computed(() => field?.describedBy.value);
855
858
  return { field, controlId, invalid, describedBy, localId };
856
859
  }
857
- const _hoisted_1$15 = {
860
+ const _hoisted_1$16 = {
858
861
  key: 0,
859
862
  class: "tao-input__affix tao-input__affix--prefix"
860
863
  };
861
- const _hoisted_2$Z = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
862
- const _hoisted_3$Q = {
864
+ const _hoisted_2$_ = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
865
+ const _hoisted_3$R = {
863
866
  key: 1,
864
867
  class: "tao-input__affix tao-input__affix--suffix"
865
868
  };
866
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
869
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
867
870
  ...{ name: "TaoInput", inheritAttrs: false },
868
871
  __name: "TaoInput",
869
872
  props: {
@@ -911,7 +914,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
911
914
  "tao-input-shell--suffix": has("suffix")
912
915
  }])
913
916
  }, [
914
- has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$15, [
917
+ has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$16, [
915
918
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
916
919
  ])) : createCommentVNode("", true),
917
920
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
@@ -926,8 +929,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
926
929
  onInput: handleInput,
927
930
  onBlur: handleBlur,
928
931
  onFocus: handleFocus
929
- }), null, 16, _hoisted_2$Z),
930
- has("suffix") ? (openBlock(), createElementBlock("span", _hoisted_3$Q, [
932
+ }), null, 16, _hoisted_2$_),
933
+ has("suffix") ? (openBlock(), createElementBlock("span", _hoisted_3$R, [
931
934
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
932
935
  ])) : createCommentVNode("", true)
933
936
  ], 2)
@@ -935,17 +938,17 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
935
938
  };
936
939
  }
937
940
  });
938
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-66bc5496"]]);
939
- const _hoisted_1$14 = {
941
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-66bc5496"]]);
942
+ const _hoisted_1$15 = {
940
943
  key: 0,
941
944
  class: "tao-input-group__addon tao-input-group__addon--before"
942
945
  };
943
- const _hoisted_2$Y = { class: "tao-input-group__field" };
944
- const _hoisted_3$P = {
946
+ const _hoisted_2$Z = { class: "tao-input-group__field" };
947
+ const _hoisted_3$Q = {
945
948
  key: 1,
946
949
  class: "tao-input-group__addon tao-input-group__addon--after"
947
950
  };
948
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
951
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
949
952
  ...{ name: "TaoInputGroup" },
950
953
  __name: "TaoInputGroup",
951
954
  props: {
@@ -972,30 +975,30 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
972
975
  onFocusin: onFocusIn,
973
976
  onFocusout: onFocusOut
974
977
  }, [
975
- has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$14, [
978
+ has("before") ? (openBlock(), createElementBlock("div", _hoisted_1$15, [
976
979
  renderSlot(_ctx.$slots, "before", {}, void 0, true)
977
980
  ])) : createCommentVNode("", true),
978
- createElementVNode("div", _hoisted_2$Y, [
981
+ createElementVNode("div", _hoisted_2$Z, [
979
982
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
980
983
  ]),
981
- has("after") ? (openBlock(), createElementBlock("div", _hoisted_3$P, [
984
+ has("after") ? (openBlock(), createElementBlock("div", _hoisted_3$Q, [
982
985
  renderSlot(_ctx.$slots, "after", {}, void 0, true)
983
986
  ])) : createCommentVNode("", true)
984
987
  ], 34);
985
988
  };
986
989
  }
987
990
  });
988
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-d38f6b53"]]);
989
- const _hoisted_1$13 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
990
- const _hoisted_2$X = {
991
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-d38f6b53"]]);
992
+ const _hoisted_1$14 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
993
+ const _hoisted_2$Y = {
991
994
  key: 0,
992
995
  class: "tao-input-number__steppers"
993
996
  };
994
- const _hoisted_3$O = ["aria-label", "disabled"];
995
- const _hoisted_4$G = { "aria-hidden": "true" };
997
+ const _hoisted_3$P = ["aria-label", "disabled"];
998
+ const _hoisted_4$H = { "aria-hidden": "true" };
996
999
  const _hoisted_5$v = ["aria-label", "disabled"];
997
1000
  const _hoisted_6$p = { "aria-hidden": "true" };
998
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1001
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
999
1002
  ...{ name: "TaoInputNumber", inheritAttrs: false },
1000
1003
  __name: "TaoInputNumber",
1001
1004
  props: {
@@ -1154,8 +1157,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1154
1157
  onFocus,
1155
1158
  onBlur,
1156
1159
  onKeydown: onKeydown2
1157
- }), null, 16, _hoisted_1$13),
1158
- __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$X, [
1160
+ }), null, 16, _hoisted_1$14),
1161
+ __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$Y, [
1159
1162
  createElementVNode("button", {
1160
1163
  type: "button",
1161
1164
  class: "tao-input-number__step",
@@ -1164,12 +1167,12 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1164
1167
  disabled: __props.disabled || atMax.value,
1165
1168
  onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
1166
1169
  }, [
1167
- createElementVNode("span", _hoisted_4$G, [
1170
+ createElementVNode("span", _hoisted_4$H, [
1168
1171
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1169
1172
  createVNode(TaoIcon, { name: "tao-plus" })
1170
1173
  ], true)
1171
1174
  ])
1172
- ], 8, _hoisted_3$O),
1175
+ ], 8, _hoisted_3$P),
1173
1176
  createElementVNode("button", {
1174
1177
  type: "button",
1175
1178
  class: "tao-input-number__step",
@@ -1189,13 +1192,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1189
1192
  };
1190
1193
  }
1191
1194
  });
1192
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-dc5bb759"]]);
1193
- const _hoisted_1$12 = ["aria-label", "disabled"];
1194
- const _hoisted_2$W = { "aria-hidden": "true" };
1195
- const _hoisted_3$N = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1196
- const _hoisted_4$F = ["aria-label", "disabled"];
1195
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-dc5bb759"]]);
1196
+ const _hoisted_1$13 = ["aria-label", "disabled"];
1197
+ const _hoisted_2$X = { "aria-hidden": "true" };
1198
+ const _hoisted_3$O = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1199
+ const _hoisted_4$G = ["aria-label", "disabled"];
1197
1200
  const _hoisted_5$u = { "aria-hidden": "true" };
1198
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1201
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1199
1202
  ...{ name: "TaoQuantity", inheritAttrs: false },
1200
1203
  __name: "TaoQuantity",
1201
1204
  props: {
@@ -1335,12 +1338,12 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1335
1338
  disabled: minusDisabled.value,
1336
1339
  onClick: onDec
1337
1340
  }, [
1338
- createElementVNode("span", _hoisted_2$W, [
1341
+ createElementVNode("span", _hoisted_2$X, [
1339
1342
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
1340
1343
  createVNode(TaoIcon, { name: "tao-minus" })
1341
1344
  ], true)
1342
1345
  ])
1343
- ], 8, _hoisted_1$12),
1346
+ ], 8, _hoisted_1$13),
1344
1347
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
1345
1348
  id: unref(controlId),
1346
1349
  class: "tao-quantity__input",
@@ -1360,7 +1363,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1360
1363
  onFocus,
1361
1364
  onBlur,
1362
1365
  onKeydown: onKeydown2
1363
- }), null, 16, _hoisted_3$N),
1366
+ }), null, 16, _hoisted_3$O),
1364
1367
  createElementVNode("button", {
1365
1368
  type: "button",
1366
1369
  class: "tao-quantity__btn tao-quantity__btn--inc",
@@ -1373,25 +1376,25 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1373
1376
  createVNode(TaoIcon, { name: "tao-plus" })
1374
1377
  ], true)
1375
1378
  ])
1376
- ], 8, _hoisted_4$F)
1379
+ ], 8, _hoisted_4$G)
1377
1380
  ], 16);
1378
1381
  };
1379
1382
  }
1380
1383
  });
1381
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-6453479c"]]);
1382
- const _hoisted_1$11 = {
1384
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-6453479c"]]);
1385
+ const _hoisted_1$12 = {
1383
1386
  key: 0,
1384
1387
  class: "tao-card__media"
1385
1388
  };
1386
- const _hoisted_2$V = {
1389
+ const _hoisted_2$W = {
1387
1390
  key: 0,
1388
1391
  class: "tao-card__overlay"
1389
1392
  };
1390
- const _hoisted_3$M = {
1393
+ const _hoisted_3$N = {
1391
1394
  key: 1,
1392
1395
  class: "tao-card__overlay"
1393
1396
  };
1394
- const _hoisted_4$E = {
1397
+ const _hoisted_4$F = {
1395
1398
  key: 0,
1396
1399
  class: "tao-card__header"
1397
1400
  };
@@ -1420,7 +1423,7 @@ const _hoisted_10$5 = {
1420
1423
  class: "tao-card__corner"
1421
1424
  };
1422
1425
  const _hoisted_11$4 = ["aria-label"];
1423
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1426
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1424
1427
  ...{ name: "TaoCard" },
1425
1428
  __name: "TaoCard",
1426
1429
  props: {
@@ -1474,12 +1477,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1474
1477
  }]]),
1475
1478
  style: normalizeStyle(radiusStyle.value)
1476
1479
  }, [
1477
- _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$11, [
1480
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$12, [
1478
1481
  renderSlot(_ctx.$slots, "media", {}, void 0, true),
1479
- _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$V, [
1482
+ _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$W, [
1480
1483
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1481
1484
  ])) : createCommentVNode("", true)
1482
- ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
1485
+ ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$N, [
1483
1486
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1484
1487
  ])) : createCommentVNode("", true),
1485
1488
  hasContent.value ? (openBlock(), createElementBlock("div", {
@@ -1487,7 +1490,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1487
1490
  class: "tao-card__content",
1488
1491
  style: normalizeStyle(paddingStyle.value)
1489
1492
  }, [
1490
- has("header") ? (openBlock(), createElementBlock("div", _hoisted_4$E, [
1493
+ has("header") ? (openBlock(), createElementBlock("div", _hoisted_4$F, [
1491
1494
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
1492
1495
  ])) : createCommentVNode("", true),
1493
1496
  has("title") || has("sub") ? (openBlock(), createElementBlock("div", _hoisted_5$t, [
@@ -1524,7 +1527,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1524
1527
  };
1525
1528
  }
1526
1529
  });
1527
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-4096cfb6"]]);
1530
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-4096cfb6"]]);
1528
1531
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1529
1532
  function getFocusable(root) {
1530
1533
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1686,13 +1689,13 @@ function useWholePixelPanel(panel, open) {
1686
1689
  stop();
1687
1690
  });
1688
1691
  }
1689
- const _hoisted_1$10 = ["aria-labelledby"];
1690
- const _hoisted_2$U = {
1692
+ const _hoisted_1$11 = ["aria-labelledby"];
1693
+ const _hoisted_2$V = {
1691
1694
  key: 0,
1692
1695
  class: "tao-modal__header"
1693
1696
  };
1694
- const _hoisted_3$L = ["id"];
1695
- const _hoisted_4$D = { key: 1 };
1697
+ const _hoisted_3$M = ["id"];
1698
+ const _hoisted_4$E = { key: 1 };
1696
1699
  const _hoisted_5$s = ["aria-label"];
1697
1700
  const _hoisted_6$n = { "aria-hidden": "true" };
1698
1701
  const _hoisted_7$j = { class: "tao-modal__content" };
@@ -1700,7 +1703,7 @@ const _hoisted_8$c = {
1700
1703
  key: 1,
1701
1704
  class: "tao-modal__footer"
1702
1705
  };
1703
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1706
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1704
1707
  ...{ name: "TaoModal", inheritAttrs: false },
1705
1708
  __name: "TaoModal",
1706
1709
  props: {
@@ -1785,13 +1788,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1785
1788
  "aria-labelledby": __props.title ? unref(titleId) : void 0,
1786
1789
  tabindex: "-1"
1787
1790
  }), [
1788
- __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$U, [
1791
+ __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$V, [
1789
1792
  renderSlot(_ctx.$slots, "header", {}, () => [
1790
1793
  __props.title ? (openBlock(), createElementBlock("h2", {
1791
1794
  key: 0,
1792
1795
  id: unref(titleId),
1793
1796
  class: "tao-modal__title"
1794
- }, toDisplayString(__props.title), 9, _hoisted_3$L)) : (openBlock(), createElementBlock("span", _hoisted_4$D))
1797
+ }, toDisplayString(__props.title), 9, _hoisted_3$M)) : (openBlock(), createElementBlock("span", _hoisted_4$E))
1795
1798
  ], true),
1796
1799
  __props.closable ? (openBlock(), createElementBlock("button", {
1797
1800
  key: 0,
@@ -1813,7 +1816,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1813
1816
  has("footer") ? (openBlock(), createElementBlock("div", _hoisted_8$c, [
1814
1817
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1815
1818
  ])) : createCommentVNode("", true)
1816
- ], 16, _hoisted_1$10)
1819
+ ], 16, _hoisted_1$11)
1817
1820
  ], 34)) : createCommentVNode("", true)
1818
1821
  ]),
1819
1822
  _: 3
@@ -1822,10 +1825,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1822
1825
  };
1823
1826
  }
1824
1827
  });
1825
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-855470e7"]]);
1826
- const _hoisted_1$$ = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1827
- const _hoisted_2$T = ["id", "aria-labelledby"];
1828
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1828
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-855470e7"]]);
1829
+ const _hoisted_1$10 = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1830
+ const _hoisted_2$U = ["id", "aria-labelledby"];
1831
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1829
1832
  ...{ name: "TaoTabs" },
1830
1833
  __name: "TaoTabs",
1831
1834
  props: {
@@ -1920,7 +1923,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1920
1923
  }, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1921
1924
  createTextVNode(toDisplayString(tab.label), 1)
1922
1925
  ], 64))
1923
- ], 8, _hoisted_1$$);
1926
+ ], 8, _hoisted_1$10);
1924
1927
  }), 128))
1925
1928
  ], 36),
1926
1929
  createElementVNode("div", {
@@ -1930,12 +1933,12 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1930
1933
  "aria-labelledby": tabId(__props.modelValue)
1931
1934
  }, [
1932
1935
  renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
1933
- ], 8, _hoisted_2$T)
1936
+ ], 8, _hoisted_2$U)
1934
1937
  ], 2);
1935
1938
  };
1936
1939
  }
1937
1940
  });
1938
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-70811078"]]);
1941
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-70811078"]]);
1939
1942
  function listenFocusLoss(onLoss) {
1940
1943
  function onVisibilityChange() {
1941
1944
  if (document.hidden) {
@@ -2448,13 +2451,13 @@ function zoneGradient(zones, min, max, vertical = false, dimmed = false) {
2448
2451
  const stops = zones.map((z) => `${dimmed && z.reveal ? "transparent" : z.color} ${ratioOf(z.from, min, max) * 100}% ${ratioOf(z.to, min, max) * 100}%`);
2449
2452
  return `linear-gradient(${vertical ? "to top" : "to right"}, ${stops.join(", ")})`;
2450
2453
  }
2451
- const _hoisted_1$_ = ["aria-disabled"];
2452
- const _hoisted_2$S = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
2453
- const _hoisted_3$K = {
2454
+ const _hoisted_1$$ = ["aria-disabled"];
2455
+ const _hoisted_2$T = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
2456
+ const _hoisted_3$L = {
2454
2457
  key: 2,
2455
2458
  class: "tao-slider__value"
2456
2459
  };
2457
- const _hoisted_4$C = ["aria-label", "onKeydown"];
2460
+ const _hoisted_4$D = ["aria-label", "onKeydown"];
2458
2461
  const _hoisted_5$r = {
2459
2462
  key: 0,
2460
2463
  class: "tao-slider__marks"
@@ -2464,7 +2467,7 @@ const _hoisted_7$i = {
2464
2467
  key: 0,
2465
2468
  class: "tao-slider__mark-label"
2466
2469
  };
2467
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2470
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
2468
2471
  ...{ name: "TaoSliderBase" },
2469
2472
  __name: "TaoSliderBase",
2470
2473
  props: {
@@ -2794,7 +2797,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2794
2797
  "aria-keyshortcuts": __props.editable ? "Enter F2" : void 0,
2795
2798
  onKeydown: ($event) => onKeydown2($event, i),
2796
2799
  onBlur: _cache[0] || (_cache[0] = ($event) => pointerFocus.value = false)
2797
- }, null, 46, _hoisted_2$S),
2800
+ }, null, 46, _hoisted_2$T),
2798
2801
  __props.bubble ? (openBlock(), createElementBlock("div", {
2799
2802
  key: 0,
2800
2803
  class: normalizeClass(["tao-slider__bubble", { "tao-slider__bubble--auto": bubbleAuto(v) }]),
@@ -2810,7 +2813,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2810
2813
  ], 6)) : createCommentVNode("", true)
2811
2814
  ], 64);
2812
2815
  }), 128)),
2813
- __props.showValue && editing.value === null ? (openBlock(), createElementBlock("div", _hoisted_3$K, [
2816
+ __props.showValue && editing.value === null ? (openBlock(), createElementBlock("div", _hoisted_3$L, [
2814
2817
  renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
2815
2818
  createTextVNode(toDisplayString(barText.value), 1),
2816
2819
  renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
@@ -2839,7 +2842,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2839
2842
  }, ["stop"])),
2840
2843
  onWheel: _cache[7] || (_cache[7] = withModifiers(() => {
2841
2844
  }, ["stop"]))
2842
- }, null, 40, _hoisted_4$C)), [
2845
+ }, null, 40, _hoisted_4$D)), [
2843
2846
  [vModelText, draft.value]
2844
2847
  ]) : createCommentVNode("", true)
2845
2848
  ], 34),
@@ -2870,12 +2873,12 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2870
2873
  ], 14, _hoisted_6$m);
2871
2874
  }), 128))
2872
2875
  ])) : createCommentVNode("", true)
2873
- ], 42, _hoisted_1$_);
2876
+ ], 42, _hoisted_1$$);
2874
2877
  };
2875
2878
  }
2876
2879
  });
2877
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-8ec84551"]]);
2878
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2880
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-8ec84551"]]);
2881
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2879
2882
  ...{ name: "TaoSlider" },
2880
2883
  __name: "TaoSlider",
2881
2884
  props: {
@@ -2943,13 +2946,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2943
2946
  };
2944
2947
  }
2945
2948
  });
2946
- const _hoisted_1$Z = { class: "tao-scrubber__controls" };
2947
- const _hoisted_2$R = { class: "tao-scrubber__track" };
2948
- const _hoisted_3$J = {
2949
+ const _hoisted_1$_ = { class: "tao-scrubber__controls" };
2950
+ const _hoisted_2$S = { class: "tao-scrubber__track" };
2951
+ const _hoisted_3$K = {
2949
2952
  key: 0,
2950
2953
  class: "tao-scrubber__time"
2951
2954
  };
2952
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2955
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2953
2956
  ...{ name: "TaoScrubber" },
2954
2957
  __name: "TaoScrubber",
2955
2958
  props: {
@@ -2989,7 +2992,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2989
2992
  return openBlock(), createElementBlock("div", {
2990
2993
  class: normalizeClass(["tao-scrubber", [unref(sizeClass)(__props.size), `tao-scrubber--${__props.variant}`, { "tao-scrubber--marks-start": __props.marksSide === "start", "tao-scrubber--disabled": __props.disabled }]])
2991
2994
  }, [
2992
- createElementVNode("div", _hoisted_1$Z, [
2995
+ createElementVNode("div", _hoisted_1$_, [
2993
2996
  createVNode(TaoButton, {
2994
2997
  size: "small",
2995
2998
  variant: "secondary",
@@ -3019,8 +3022,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3019
3022
  _: 1
3020
3023
  }, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
3021
3024
  ]),
3022
- createElementVNode("div", _hoisted_2$R, [
3023
- createVNode(_sfc_main$19, {
3025
+ createElementVNode("div", _hoisted_2$S, [
3026
+ createVNode(_sfc_main$1a, {
3024
3027
  "model-value": __props.modelValue,
3025
3028
  min: 0,
3026
3029
  max: __props.length,
@@ -3043,7 +3046,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3043
3046
  } : void 0
3044
3047
  ]), 1032, ["model-value", "max", "step", "marks", "marks-side", "variant", "size", "disabled"])
3045
3048
  ]),
3046
- __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$J, [
3049
+ __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$K, [
3047
3050
  renderSlot(_ctx.$slots, "time", {
3048
3051
  time: __props.modelValue,
3049
3052
  length: __props.length,
@@ -3056,7 +3059,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3056
3059
  };
3057
3060
  }
3058
3061
  });
3059
- const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-517dc331"]]);
3062
+ const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-517dc331"]]);
3060
3063
  const opposite = { top: "bottom", bottom: "top", left: "right", right: "left" };
3061
3064
  function computePosition(input) {
3062
3065
  const { anchor, size, viewport, placement = "bottom-start", gap = 4, pad = 8, flip = true } = input;
@@ -3184,7 +3187,7 @@ function useFloating(anchor, panel, open, options = {}) {
3184
3187
  });
3185
3188
  return { style, side, anchorOffset, placed, update };
3186
3189
  }
3187
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3190
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
3188
3191
  ...{ name: "TaoTooltip" },
3189
3192
  __name: "TaoTooltip",
3190
3193
  props: {
@@ -3262,7 +3265,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3262
3265
  };
3263
3266
  }
3264
3267
  });
3265
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-32ae3936"]]);
3268
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-32ae3936"]]);
3266
3269
  const resolved = ["compact", "default", "comfortable"];
3267
3270
  function densityClass(density) {
3268
3271
  return density ? `tao-density-${density}` : void 0;
@@ -3302,8 +3305,8 @@ function useDismiss(open, inside, onDismiss) {
3302
3305
  );
3303
3306
  onBeforeUnmount(stop);
3304
3307
  }
3305
- const _hoisted_1$Y = { class: "tao-popover" };
3306
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3308
+ const _hoisted_1$Z = { class: "tao-popover" };
3309
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3307
3310
  ...{ name: "TaoPopover" },
3308
3311
  __name: "TaoPopover",
3309
3312
  props: {
@@ -3361,7 +3364,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3361
3364
  }
3362
3365
  });
3363
3366
  return (_ctx, _cache) => {
3364
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
3367
+ return openBlock(), createElementBlock("div", _hoisted_1$Z, [
3365
3368
  createElementVNode("div", {
3366
3369
  ref_key: "triggerRef",
3367
3370
  ref: triggerRef,
@@ -3390,7 +3393,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3390
3393
  };
3391
3394
  }
3392
3395
  });
3393
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-5b104664"]]);
3396
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-5b104664"]]);
3394
3397
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
3395
3398
  function frameStyle(bordered) {
3396
3399
  if (bordered === void 0 || bordered === null) {
@@ -3398,14 +3401,14 @@ function frameStyle(bordered) {
3398
3401
  }
3399
3402
  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%" };
3400
3403
  }
3401
- const _hoisted_1$X = ["aria-expanded", "aria-controls"];
3402
- const _hoisted_2$Q = {
3404
+ const _hoisted_1$Y = ["aria-expanded", "aria-controls"];
3405
+ const _hoisted_2$R = {
3403
3406
  key: 0,
3404
3407
  class: "tao-spoiler__title"
3405
3408
  };
3406
- const _hoisted_3$I = ["id"];
3407
- const _hoisted_4$B = { class: "tao-spoiler__content-inner" };
3408
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3409
+ const _hoisted_3$J = ["id"];
3410
+ const _hoisted_4$C = { class: "tao-spoiler__content-inner" };
3411
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3409
3412
  ...{ name: "TaoSpoiler" },
3410
3413
  __name: "TaoSpoiler",
3411
3414
  props: {
@@ -3479,12 +3482,12 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3479
3482
  class: normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }]),
3480
3483
  name: "tao-chevron-right"
3481
3484
  }, null, 8, ["class"]),
3482
- __props.title || has("title") ? (openBlock(), createElementBlock("span", _hoisted_2$Q, [
3485
+ __props.title || has("title") ? (openBlock(), createElementBlock("span", _hoisted_2$R, [
3483
3486
  renderSlot(_ctx.$slots, "title", {}, () => [
3484
3487
  createTextVNode(toDisplayString(__props.title), 1)
3485
3488
  ], true)
3486
3489
  ])) : createCommentVNode("", true)
3487
- ], 8, _hoisted_1$X),
3490
+ ], 8, _hoisted_1$Y),
3488
3491
  createVNode(Transition, {
3489
3492
  name: "tao-spoiler-slide",
3490
3493
  onBeforeEnter,
@@ -3498,10 +3501,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3498
3501
  id: unref(panelId),
3499
3502
  class: "tao-spoiler__content"
3500
3503
  }, [
3501
- createElementVNode("div", _hoisted_4$B, [
3504
+ createElementVNode("div", _hoisted_4$C, [
3502
3505
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3503
3506
  ])
3504
- ], 8, _hoisted_3$I)) : createCommentVNode("", true)
3507
+ ], 8, _hoisted_3$J)) : createCommentVNode("", true)
3505
3508
  ]),
3506
3509
  _: 3
3507
3510
  })
@@ -3509,9 +3512,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3509
3512
  };
3510
3513
  }
3511
3514
  });
3512
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-e9a2fb77"]]);
3513
- const _hoisted_1$W = { class: "tao-spoiler-group" };
3514
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3515
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-e9a2fb77"]]);
3516
+ const _hoisted_1$X = { class: "tao-spoiler-group" };
3517
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3515
3518
  ...{ name: "TaoSpoilerGroup" },
3516
3519
  __name: "TaoSpoilerGroup",
3517
3520
  props: {
@@ -3536,15 +3539,15 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3536
3539
  setOpen
3537
3540
  });
3538
3541
  return (_ctx, _cache) => {
3539
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
3542
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
3540
3543
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3541
3544
  ]);
3542
3545
  };
3543
3546
  }
3544
3547
  });
3545
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7986fd2a"]]);
3546
- const _hoisted_1$V = ["aria-label"];
3547
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3548
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-7986fd2a"]]);
3549
+ const _hoisted_1$W = ["aria-label"];
3550
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3548
3551
  ...{ name: "TaoCopy" },
3549
3552
  __name: "TaoCopy",
3550
3553
  props: {
@@ -3616,7 +3619,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3616
3619
  name: "tao-copy",
3617
3620
  size: 16
3618
3621
  })
3619
- ], 10, _hoisted_1$V)
3622
+ ], 10, _hoisted_1$W)
3620
3623
  ], true),
3621
3624
  (openBlock(), createBlock(Teleport, { to: "body" }, [
3622
3625
  copied.value && __props.tip && doneText.value ? (openBlock(), createElementBlock("div", {
@@ -3632,7 +3635,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3632
3635
  };
3633
3636
  }
3634
3637
  });
3635
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-e181129d"]]);
3638
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-e181129d"]]);
3636
3639
  function readTaoMode(el) {
3637
3640
  const mode = el.getAttribute("data-tao-mode");
3638
3641
  if (mode === "light" || mode === "dark") {
@@ -3647,16 +3650,29 @@ function applyTaoMode(el, mode) {
3647
3650
  el.setAttribute("data-tao-theme", mode);
3648
3651
  }
3649
3652
  }
3650
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3653
+ function systemTaoMode() {
3654
+ if (typeof matchMedia === "undefined") {
3655
+ return "dark";
3656
+ }
3657
+ return matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
3658
+ }
3659
+ function resolveTaoMode(choice) {
3660
+ return choice === "system" ? systemTaoMode() : choice;
3661
+ }
3662
+ const CHOICE_ATTR = "data-tao-mode-choice";
3663
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3651
3664
  ...{ name: "TaoThemeToggle" },
3652
3665
  __name: "TaoThemeToggle",
3653
3666
  props: {
3654
3667
  modelValue: { default: void 0 },
3655
3668
  apply: { type: Boolean, default: true },
3669
+ system: { type: Boolean, default: false },
3656
3670
  size: { default: void 0 },
3657
3671
  variant: { default: "ghost" },
3672
+ tone: { default: "neutral" },
3658
3673
  toLightLabel: { default: void 0 },
3659
- toDarkLabel: { default: void 0 }
3674
+ toDarkLabel: { default: void 0 },
3675
+ toSystemLabel: { default: void 0 }
3660
3676
  },
3661
3677
  emits: ["update:modelValue", "change"],
3662
3678
  setup(__props, { emit: __emit }) {
@@ -3664,70 +3680,123 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3664
3680
  const emit = __emit;
3665
3681
  const l10n = useLocaleText(props, "themeToggle");
3666
3682
  const own = ref("dark");
3667
- const mode = computed(() => props.modelValue ?? own.value);
3683
+ const systemMode = ref("dark");
3684
+ const choice = computed(() => {
3685
+ const value = props.modelValue ?? own.value;
3686
+ return value === "system" && !props.system ? systemMode.value : value;
3687
+ });
3688
+ const mode = computed(() => choice.value === "system" ? systemMode.value : choice.value);
3689
+ function readChoice(root) {
3690
+ const current2 = readTaoMode(root);
3691
+ return props.system && root.getAttribute(CHOICE_ATTR) === "system" && current2 === systemTaoMode() ? "system" : current2;
3692
+ }
3693
+ function write(value) {
3694
+ if (!props.apply || typeof document === "undefined") {
3695
+ return;
3696
+ }
3697
+ const root = document.documentElement;
3698
+ applyTaoMode(root, resolveTaoMode(value));
3699
+ if (value === "system") {
3700
+ root.setAttribute(CHOICE_ATTR, "system");
3701
+ } else {
3702
+ root.removeAttribute(CHOICE_ATTR);
3703
+ }
3704
+ }
3668
3705
  let observer = null;
3706
+ let media = null;
3707
+ function onSystemChange() {
3708
+ systemMode.value = systemTaoMode();
3709
+ if (choice.value === "system") {
3710
+ write("system");
3711
+ }
3712
+ }
3669
3713
  onMounted(() => {
3670
3714
  const root = document.documentElement;
3715
+ systemMode.value = systemTaoMode();
3716
+ if (typeof matchMedia !== "undefined") {
3717
+ media = matchMedia("(prefers-color-scheme: light)");
3718
+ media.addEventListener("change", onSystemChange);
3719
+ }
3671
3720
  if (props.modelValue === void 0) {
3672
- own.value = readTaoMode(root);
3721
+ own.value = readChoice(root);
3673
3722
  observer = new MutationObserver(() => {
3674
3723
  if (props.modelValue === void 0) {
3675
- own.value = readTaoMode(root);
3724
+ own.value = readChoice(root);
3725
+ if (props.system && own.value !== "system" && root.hasAttribute(CHOICE_ATTR)) {
3726
+ root.removeAttribute(CHOICE_ATTR);
3727
+ }
3676
3728
  }
3677
3729
  });
3678
3730
  observer.observe(root, { attributes: true, attributeFilter: ["data-tao-mode", "data-tao-theme"] });
3679
- } else if (props.apply) {
3680
- applyTaoMode(root, props.modelValue);
3731
+ } else {
3732
+ write(props.modelValue);
3681
3733
  }
3682
3734
  });
3683
3735
  onBeforeUnmount(() => {
3684
3736
  observer?.disconnect();
3685
3737
  observer = null;
3738
+ media?.removeEventListener("change", onSystemChange);
3739
+ media = null;
3686
3740
  });
3687
3741
  watch(
3688
3742
  () => props.modelValue,
3689
3743
  (value) => {
3690
- if (value && props.apply && typeof document !== "undefined") {
3691
- applyTaoMode(document.documentElement, value);
3744
+ if (value) {
3745
+ write(value);
3692
3746
  }
3693
3747
  }
3694
3748
  );
3695
- function toggle() {
3696
- const next = mode.value === "dark" ? "light" : "dark";
3697
- own.value = next;
3698
- if (props.apply && typeof document !== "undefined") {
3699
- applyTaoMode(document.documentElement, next);
3749
+ const next = computed(() => {
3750
+ if (!props.system) {
3751
+ return mode.value === "dark" ? "light" : "dark";
3700
3752
  }
3701
- emit("update:modelValue", next);
3702
- emit("change", next);
3753
+ return choice.value === "system" ? "light" : choice.value === "light" ? "dark" : "system";
3754
+ });
3755
+ function toggle() {
3756
+ const value = next.value;
3757
+ own.value = value;
3758
+ write(value);
3759
+ emit("update:modelValue", value);
3760
+ emit("change", value);
3703
3761
  }
3704
- const icon = computed(() => mode.value === "dark" ? "tao-sun" : "tao-moon");
3705
- const label = computed(() => mode.value === "dark" ? l10n.value.toLightLabel : l10n.value.toDarkLabel);
3762
+ const icon = computed(() => {
3763
+ if (props.system) {
3764
+ return choice.value === "system" ? "tao-monitor" : choice.value === "dark" ? "tao-moon" : "tao-sun";
3765
+ }
3766
+ return mode.value === "dark" ? "tao-sun" : "tao-moon";
3767
+ });
3768
+ const label = computed(() => {
3769
+ const t = l10n.value;
3770
+ return next.value === "system" ? t.toSystemLabel : next.value === "light" ? t.toLightLabel : t.toDarkLabel;
3771
+ });
3706
3772
  return (_ctx, _cache) => {
3707
3773
  return _ctx.$slots.icon ? (openBlock(), createBlock(TaoButton, {
3708
3774
  key: 0,
3709
3775
  class: "tao-theme-toggle tao-theme-toggle--custom",
3710
3776
  size: __props.size,
3711
3777
  variant: __props.variant,
3778
+ tone: __props.tone,
3712
3779
  "aria-label": label.value,
3713
3780
  onClick: toggle
3714
3781
  }, {
3715
3782
  default: withCtx(() => [
3716
3783
  renderSlot(_ctx.$slots, "icon", {
3717
3784
  mode: mode.value,
3718
- next: mode.value === "dark" ? "light" : "dark"
3785
+ choice: choice.value,
3786
+ next: next.value
3719
3787
  })
3720
3788
  ]),
3721
3789
  _: 3
3722
- }, 8, ["size", "variant", "aria-label"])) : (openBlock(), createBlock(TaoButton, {
3790
+ }, 8, ["size", "variant", "tone", "aria-label"])) : (openBlock(), createBlock(TaoButton, {
3723
3791
  key: 1,
3724
3792
  class: "tao-theme-toggle",
3725
3793
  icon: icon.value,
3726
3794
  size: __props.size,
3727
3795
  variant: __props.variant,
3796
+ tone: __props.tone,
3728
3797
  "aria-label": label.value,
3729
3798
  onClick: toggle
3730
- }, null, 8, ["icon", "size", "variant", "aria-label"]));
3799
+ }, null, 8, ["icon", "size", "variant", "tone", "aria-label"]));
3731
3800
  };
3732
3801
  }
3733
3802
  });
@@ -3765,17 +3834,17 @@ function holeClipPath(hole, viewport, radius) {
3765
3834
  function isInView(rect, viewport, margin = 0) {
3766
3835
  return rect.top >= margin && rect.left >= margin && rect.top + rect.height <= viewport.height - margin && rect.left + rect.width <= viewport.width - margin;
3767
3836
  }
3768
- const _hoisted_1$U = {
3837
+ const _hoisted_1$V = {
3769
3838
  key: 0,
3770
3839
  class: "tao-tour"
3771
3840
  };
3772
- const _hoisted_2$P = {
3841
+ const _hoisted_2$Q = {
3773
3842
  key: 1,
3774
3843
  class: "tao-tour__dim",
3775
3844
  "aria-hidden": "true"
3776
3845
  };
3777
- const _hoisted_3$H = ["aria-labelledby", "aria-describedby"];
3778
- const _hoisted_4$A = ["id"];
3846
+ const _hoisted_3$I = ["aria-labelledby", "aria-describedby"];
3847
+ const _hoisted_4$B = ["id"];
3779
3848
  const _hoisted_5$q = ["id"];
3780
3849
  const _hoisted_6$l = { class: "tao-tour__footer" };
3781
3850
  const _hoisted_7$h = {
@@ -3788,7 +3857,7 @@ const _hoisted_8$b = {
3788
3857
  };
3789
3858
  const _hoisted_9$8 = { class: "tao-tour__progress-text" };
3790
3859
  const _hoisted_10$4 = { class: "tao-tour__actions" };
3791
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3860
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3792
3861
  ...{ name: "TaoTour" },
3793
3862
  __name: "TaoTour",
3794
3863
  props: {
@@ -3948,7 +4017,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3948
4017
  }
3949
4018
  return (_ctx, _cache) => {
3950
4019
  return openBlock(), createBlock(Teleport, { to: "body" }, [
3951
- __props.step ? (openBlock(), createElementBlock("div", _hoisted_1$U, [
4020
+ __props.step ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
3952
4021
  createElementVNode("div", {
3953
4022
  class: "tao-tour__blocker",
3954
4023
  style: normalizeStyle(blockerStyle.value),
@@ -3959,7 +4028,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3959
4028
  class: "tao-tour__hole",
3960
4029
  style: normalizeStyle(holeStyle.value),
3961
4030
  "aria-hidden": "true"
3962
- }, null, 4)) : (openBlock(), createElementBlock("div", _hoisted_2$P)),
4031
+ }, null, 4)) : (openBlock(), createElementBlock("div", _hoisted_2$Q)),
3963
4032
  createElementVNode("div", {
3964
4033
  ref_key: "cardRef",
3965
4034
  ref: cardRef,
@@ -3986,7 +4055,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3986
4055
  key: 0,
3987
4056
  id: unref(titleId),
3988
4057
  class: "tao-tour__title"
3989
- }, toDisplayString(__props.step.title), 9, _hoisted_4$A)) : createCommentVNode("", true),
4058
+ }, toDisplayString(__props.step.title), 9, _hoisted_4$B)) : createCommentVNode("", true),
3990
4059
  __props.step.text ? (openBlock(), createElementBlock("p", {
3991
4060
  key: 1,
3992
4061
  id: unref(textId),
@@ -4039,13 +4108,13 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
4039
4108
  })
4040
4109
  ])
4041
4110
  ])
4042
- ], 46, _hoisted_3$H)
4111
+ ], 46, _hoisted_3$I)
4043
4112
  ])) : createCommentVNode("", true)
4044
4113
  ]);
4045
4114
  };
4046
4115
  }
4047
4116
  });
4048
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4117
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
4049
4118
  ...{ name: "TaoContainer" },
4050
4119
  __name: "TaoContainer",
4051
4120
  props: {
@@ -4064,8 +4133,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4064
4133
  };
4065
4134
  }
4066
4135
  });
4067
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-a5e36052"]]);
4068
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4136
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-a5e36052"]]);
4137
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
4069
4138
  ...{ name: "TaoFlex" },
4070
4139
  __name: "TaoFlex",
4071
4140
  props: {
@@ -4096,7 +4165,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4096
4165
  };
4097
4166
  }
4098
4167
  });
4099
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4168
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4100
4169
  ...{ name: "TaoSpace" },
4101
4170
  __name: "TaoSpace",
4102
4171
  props: {
@@ -4117,7 +4186,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4117
4186
  };
4118
4187
  }
4119
4188
  });
4120
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d6fec8bb"]]);
4189
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-d6fec8bb"]]);
4121
4190
  const FULL_SPAN = 999;
4122
4191
  function perSize(value, fallback, compactPlain) {
4123
4192
  if (value === void 0 || value === null) {
@@ -4133,8 +4202,8 @@ function perSize(value, fallback, compactPlain) {
4133
4202
  return { compact, medium, expanded };
4134
4203
  }
4135
4204
  const spanNumber = (span) => span === "full" ? FULL_SPAN : Math.max(1, Math.round(span));
4136
- const _hoisted_1$T = { class: "tao-grid__cells" };
4137
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4205
+ const _hoisted_1$U = { class: "tao-grid__cells" };
4206
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4138
4207
  ...{ name: "TaoGrid" },
4139
4208
  __name: "TaoGrid",
4140
4209
  props: {
@@ -4162,15 +4231,15 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4162
4231
  class: normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
4163
4232
  style: normalizeStyle(gridStyle.value)
4164
4233
  }, [
4165
- createElementVNode("div", _hoisted_1$T, [
4234
+ createElementVNode("div", _hoisted_1$U, [
4166
4235
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4167
4236
  ])
4168
4237
  ], 6);
4169
4238
  };
4170
4239
  }
4171
4240
  });
4172
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-e95541e2"]]);
4173
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4241
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-e95541e2"]]);
4242
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
4174
4243
  ...{ name: "TaoGridItem" },
4175
4244
  __name: "TaoGridItem",
4176
4245
  props: {
@@ -4206,15 +4275,15 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4206
4275
  };
4207
4276
  }
4208
4277
  });
4209
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d42e5e67"]]);
4210
- const _hoisted_1$S = { class: "tao-split__pane tao-split__pane--start" };
4211
- const _hoisted_2$O = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
4212
- const _hoisted_3$G = { class: "tao-split__pane tao-split__pane--end" };
4213
- const _hoisted_4$z = {
4278
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d42e5e67"]]);
4279
+ const _hoisted_1$T = { class: "tao-split__pane tao-split__pane--start" };
4280
+ const _hoisted_2$P = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
4281
+ const _hoisted_3$H = { class: "tao-split__pane tao-split__pane--end" };
4282
+ const _hoisted_4$A = {
4214
4283
  key: 0,
4215
4284
  class: "tao-split__shield"
4216
4285
  };
4217
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
4286
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4218
4287
  ...{ name: "TaoSplit" },
4219
4288
  __name: "TaoSplit",
4220
4289
  props: {
@@ -4511,7 +4580,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4511
4580
  ]]),
4512
4581
  style: normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
4513
4582
  }, [
4514
- createElementVNode("div", _hoisted_1$S, [
4583
+ createElementVNode("div", _hoisted_1$T, [
4515
4584
  renderSlot(_ctx.$slots, "start", {}, void 0, true)
4516
4585
  ]),
4517
4586
  createElementVNode("div", {
@@ -4534,20 +4603,20 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4534
4603
  onKeydown: onKeydown2,
4535
4604
  onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
4536
4605
  }, ["prevent"]))
4537
- }, null, 40, _hoisted_2$O),
4538
- createElementVNode("div", _hoisted_3$G, [
4606
+ }, null, 40, _hoisted_2$P),
4607
+ createElementVNode("div", _hoisted_3$H, [
4539
4608
  renderSlot(_ctx.$slots, "end", {}, void 0, true)
4540
4609
  ]),
4541
- isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$z)) : createCommentVNode("", true)
4610
+ isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$A)) : createCommentVNode("", true)
4542
4611
  ], 6);
4543
4612
  };
4544
4613
  }
4545
4614
  });
4546
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-316b0d45"]]);
4547
- const _hoisted_1$R = { class: "tao-image" };
4548
- const _hoisted_2$N = ["src", "alt", "loading"];
4549
- const _hoisted_3$F = { class: "tao-image__placeholder" };
4550
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
4615
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-316b0d45"]]);
4616
+ const _hoisted_1$S = { class: "tao-image" };
4617
+ const _hoisted_2$O = ["src", "alt", "loading"];
4618
+ const _hoisted_3$G = { class: "tao-image__placeholder" };
4619
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4551
4620
  ...{ name: "TaoImage" },
4552
4621
  __name: "TaoImage",
4553
4622
  props: {
@@ -4578,7 +4647,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4578
4647
  hasError.value = false;
4579
4648
  });
4580
4649
  return (_ctx, _cache) => {
4581
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
4650
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
4582
4651
  __props.src && !hasError.value ? (openBlock(), createElementBlock("img", {
4583
4652
  key: 0,
4584
4653
  class: normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
@@ -4589,26 +4658,26 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4589
4658
  draggable: "false",
4590
4659
  onLoad: handleLoad,
4591
4660
  onError: handleError
4592
- }, null, 42, _hoisted_2$N)) : createCommentVNode("", true),
4661
+ }, null, 42, _hoisted_2$O)) : createCommentVNode("", true),
4593
4662
  !__props.src || hasError.value ? renderSlot(_ctx.$slots, "default", {}, () => [
4594
- createElementVNode("div", _hoisted_3$F, toDisplayString(__props.placeholderText), 1)
4663
+ createElementVNode("div", _hoisted_3$G, toDisplayString(__props.placeholderText), 1)
4595
4664
  ], true, 1) : createCommentVNode("", true)
4596
4665
  ]);
4597
4666
  };
4598
4667
  }
4599
4668
  });
4600
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-61f47c52"]]);
4601
- const _hoisted_1$Q = ["for"];
4602
- const _hoisted_2$M = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
4603
- const _hoisted_3$E = {
4669
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-61f47c52"]]);
4670
+ const _hoisted_1$R = ["for"];
4671
+ const _hoisted_2$N = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
4672
+ const _hoisted_3$F = {
4604
4673
  key: 0,
4605
4674
  class: "tao-checkbox__label"
4606
4675
  };
4607
- const _hoisted_4$y = {
4676
+ const _hoisted_4$z = {
4608
4677
  key: 1,
4609
4678
  class: "tao-checkbox__label"
4610
4679
  };
4611
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
4680
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4612
4681
  ...{ name: "TaoCheckbox", inheritAttrs: false },
4613
4682
  __name: "TaoCheckbox",
4614
4683
  props: {
@@ -4679,25 +4748,25 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4679
4748
  "aria-invalid": unref(invalid) || void 0,
4680
4749
  "aria-describedby": unref(describedBy),
4681
4750
  onChange: onInputChange
4682
- }), null, 16, _hoisted_2$M),
4751
+ }), null, 16, _hoisted_2$N),
4683
4752
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
4684
- __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$E, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$y, [
4753
+ __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$F, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$z, [
4685
4754
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4686
4755
  ])),
4687
4756
  renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
4688
- ], 16, _hoisted_1$Q);
4757
+ ], 16, _hoisted_1$R);
4689
4758
  };
4690
4759
  }
4691
4760
  });
4692
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-55451432"]]);
4693
- const _hoisted_1$P = {
4761
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-55451432"]]);
4762
+ const _hoisted_1$Q = {
4694
4763
  key: 0,
4695
4764
  class: "tao-tag__prefix"
4696
4765
  };
4697
- const _hoisted_2$L = { class: "tao-tag__text" };
4698
- const _hoisted_3$D = ["aria-label"];
4699
- const _hoisted_4$x = { "aria-hidden": "true" };
4700
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
4766
+ const _hoisted_2$M = { class: "tao-tag__text" };
4767
+ const _hoisted_3$E = ["aria-label"];
4768
+ const _hoisted_4$y = { "aria-hidden": "true" };
4769
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4701
4770
  ...{ name: "TaoTag" },
4702
4771
  __name: "TaoTag",
4703
4772
  props: {
@@ -4740,10 +4809,10 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4740
4809
  ]]),
4741
4810
  style: normalizeStyle(style.value)
4742
4811
  }, [
4743
- has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$P, [
4812
+ has("prefix") ? (openBlock(), createElementBlock("span", _hoisted_1$Q, [
4744
4813
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
4745
4814
  ])) : createCommentVNode("", true),
4746
- createElementVNode("span", _hoisted_2$L, [
4815
+ createElementVNode("span", _hoisted_2$M, [
4747
4816
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4748
4817
  ]),
4749
4818
  __props.closable ? (openBlock(), createElementBlock("button", {
@@ -4753,27 +4822,27 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4753
4822
  "aria-label": unref(l10n).closeLabel,
4754
4823
  onClick: withModifiers(onClose, ["stop"])
4755
4824
  }, [
4756
- createElementVNode("span", _hoisted_4$x, [
4825
+ createElementVNode("span", _hoisted_4$y, [
4757
4826
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
4758
4827
  createVNode(TaoIcon, { name: "tao-close" })
4759
4828
  ], true)
4760
4829
  ])
4761
- ], 8, _hoisted_3$D)) : createCommentVNode("", true)
4830
+ ], 8, _hoisted_3$E)) : createCommentVNode("", true)
4762
4831
  ], 6);
4763
4832
  };
4764
4833
  }
4765
4834
  });
4766
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-0af1f161"]]);
4767
- const _hoisted_1$O = ["role", "aria-hidden"];
4768
- const _hoisted_2$K = {
4835
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-0af1f161"]]);
4836
+ const _hoisted_1$P = ["role", "aria-hidden"];
4837
+ const _hoisted_2$L = {
4769
4838
  key: 1,
4770
4839
  class: "tao-divider__text"
4771
4840
  };
4772
- const _hoisted_3$C = {
4841
+ const _hoisted_3$D = {
4773
4842
  key: 2,
4774
4843
  class: "tao-divider__line tao-divider__line--end"
4775
4844
  };
4776
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
4845
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4777
4846
  ...{ name: "TaoDivider" },
4778
4847
  __name: "TaoDivider",
4779
4848
  props: {
@@ -4805,23 +4874,23 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4805
4874
  key: 0,
4806
4875
  class: normalizeClass(["tao-divider__line", { "tao-divider__line--start": hasLabel.value }])
4807
4876
  }, null, 2)) : createCommentVNode("", true),
4808
- hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, [
4877
+ hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$L, [
4809
4878
  renderSlot(_ctx.$slots, "default", {}, () => [
4810
4879
  createTextVNode(toDisplayString(__props.text), 1)
4811
4880
  ], true)
4812
4881
  ])) : createCommentVNode("", true),
4813
- __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$C)) : createCommentVNode("", true)
4814
- ], 10, _hoisted_1$O);
4882
+ __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$D)) : createCommentVNode("", true)
4883
+ ], 10, _hoisted_1$P);
4815
4884
  };
4816
4885
  }
4817
4886
  });
4818
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-c4a941aa"]]);
4819
- const _hoisted_1$N = {
4887
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c4a941aa"]]);
4888
+ const _hoisted_1$O = {
4820
4889
  key: 0,
4821
4890
  class: "tao-fieldset__legend"
4822
4891
  };
4823
- const _hoisted_2$J = { class: "tao-fieldset__body" };
4824
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
4892
+ const _hoisted_2$K = { class: "tao-fieldset__body" };
4893
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4825
4894
  ...{ name: "TaoFieldset" },
4826
4895
  __name: "TaoFieldset",
4827
4896
  props: {
@@ -4835,20 +4904,20 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
4835
4904
  return openBlock(), createElementBlock("fieldset", {
4836
4905
  class: normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
4837
4906
  }, [
4838
- __props.legend || has("legend") ? (openBlock(), createElementBlock("legend", _hoisted_1$N, [
4907
+ __props.legend || has("legend") ? (openBlock(), createElementBlock("legend", _hoisted_1$O, [
4839
4908
  renderSlot(_ctx.$slots, "legend", {}, () => [
4840
4909
  createTextVNode(toDisplayString(__props.legend), 1)
4841
4910
  ], true)
4842
4911
  ])) : createCommentVNode("", true),
4843
- createElementVNode("div", _hoisted_2$J, [
4912
+ createElementVNode("div", _hoisted_2$K, [
4844
4913
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4845
4914
  ])
4846
4915
  ], 2);
4847
4916
  };
4848
4917
  }
4849
4918
  });
4850
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-3ab4beaf"]]);
4851
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
4919
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-3ab4beaf"]]);
4920
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
4852
4921
  ...{ name: "TaoAnimatedBorder" },
4853
4922
  __name: "TaoAnimatedBorder",
4854
4923
  props: {
@@ -4891,10 +4960,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4891
4960
  };
4892
4961
  }
4893
4962
  });
4894
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-86ba074e"]]);
4895
- const _hoisted_1$M = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
4896
- const _hoisted_2$I = ["id"];
4897
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4963
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-86ba074e"]]);
4964
+ const _hoisted_1$N = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
4965
+ const _hoisted_2$J = ["id"];
4966
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4898
4967
  ...{ name: "TaoTextarea", inheritAttrs: false },
4899
4968
  __name: "TaoTextarea",
4900
4969
  props: {
@@ -5032,25 +5101,25 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5032
5101
  onFocus,
5033
5102
  onBlur,
5034
5103
  onKeydown: onKeydown2
5035
- }), null, 16, _hoisted_1$M),
5104
+ }), null, 16, _hoisted_1$N),
5036
5105
  __props.count ? (openBlock(), createElementBlock("span", {
5037
5106
  key: 0,
5038
5107
  id: counterId.value,
5039
5108
  class: normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
5040
- }, toDisplayString(countLabel.value), 11, _hoisted_2$I)) : createCommentVNode("", true)
5109
+ }, toDisplayString(countLabel.value), 11, _hoisted_2$J)) : createCommentVNode("", true)
5041
5110
  ], 16);
5042
5111
  };
5043
5112
  }
5044
5113
  });
5045
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-9aaf7131"]]);
5046
- const _hoisted_1$L = ["aria-label"];
5047
- const _hoisted_2$H = { class: "tao-scroll-top__content" };
5048
- const _hoisted_3$B = {
5114
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-9aaf7131"]]);
5115
+ const _hoisted_1$M = ["aria-label"];
5116
+ const _hoisted_2$I = { class: "tao-scroll-top__content" };
5117
+ const _hoisted_3$C = {
5049
5118
  key: 0,
5050
5119
  class: "tao-scroll-top__text",
5051
5120
  "aria-hidden": "true"
5052
5121
  };
5053
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
5122
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5054
5123
  ...{ name: "TaoScrollTop", inheritAttrs: false },
5055
5124
  __name: "TaoScrollTop",
5056
5125
  props: {
@@ -5145,8 +5214,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5145
5214
  "aria-label": accessibleName.value,
5146
5215
  onClick: withModifiers(goToTop, ["prevent"])
5147
5216
  }), [
5148
- createElementVNode("span", _hoisted_2$H, [
5149
- isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$B, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
5217
+ createElementVNode("span", _hoisted_2$I, [
5218
+ isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$C, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
5150
5219
  renderSlot(_ctx.$slots, "default", {}, () => [
5151
5220
  createVNode(TaoIcon, {
5152
5221
  class: "tao-scroll-top__icon",
@@ -5155,7 +5224,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5155
5224
  })
5156
5225
  ], true)
5157
5226
  ])
5158
- ], 16, _hoisted_1$L),
5227
+ ], 16, _hoisted_1$M),
5159
5228
  !isText.value && caption.value ? (openBlock(), createElementBlock("span", {
5160
5229
  key: 0,
5161
5230
  class: normalizeClass(["tao-scroll-top__label", `tao-scroll-top__label--${captionSide.value}`]),
@@ -5168,14 +5237,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5168
5237
  };
5169
5238
  }
5170
5239
  });
5171
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-69ee603c"]]);
5172
- const _hoisted_1$K = { class: "tao-progress" };
5173
- const _hoisted_2$G = {
5240
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-abce6609"]]);
5241
+ const _hoisted_1$L = { class: "tao-progress" };
5242
+ const _hoisted_2$H = {
5174
5243
  key: 0,
5175
5244
  class: "tao-progress__side"
5176
5245
  };
5177
- const _hoisted_3$A = { class: "tao-progress__main" };
5178
- const _hoisted_4$w = {
5246
+ const _hoisted_3$B = { class: "tao-progress__main" };
5247
+ const _hoisted_4$x = {
5179
5248
  key: 0,
5180
5249
  class: "tao-progress__percentage"
5181
5250
  };
@@ -5187,7 +5256,7 @@ const _hoisted_6$k = {
5187
5256
  key: 0,
5188
5257
  class: "tao-progress__percentage"
5189
5258
  };
5190
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
5259
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5191
5260
  ...{ name: "TaoProgress" },
5192
5261
  __name: "TaoProgress",
5193
5262
  props: {
@@ -5217,16 +5286,16 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5217
5286
  () => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
5218
5287
  );
5219
5288
  return (_ctx, _cache) => {
5220
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
5289
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
5221
5290
  createElementVNode("div", {
5222
5291
  class: normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
5223
5292
  style: normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
5224
5293
  }, [
5225
- has("left") ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
5294
+ has("left") ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
5226
5295
  renderSlot(_ctx.$slots, "left", {}, void 0, true)
5227
5296
  ])) : createCommentVNode("", true),
5228
- createElementVNode("div", _hoisted_3$A, [
5229
- showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
5297
+ createElementVNode("div", _hoisted_3$B, [
5298
+ showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$x, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
5230
5299
  createElementVNode("div", {
5231
5300
  class: "tao-progress__track",
5232
5301
  style: normalizeStyle({ height: `${__props.height}px` })
@@ -5246,8 +5315,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5246
5315
  };
5247
5316
  }
5248
5317
  });
5249
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-35c69b59"]]);
5250
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
5318
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-35c69b59"]]);
5319
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5251
5320
  ...{ name: "TaoRangeSlider" },
5252
5321
  __name: "TaoRangeSlider",
5253
5322
  props: {
@@ -5342,10 +5411,10 @@ function partitionByAccept(files, accept) {
5342
5411
  }
5343
5412
  return { accepted, rejected };
5344
5413
  }
5345
- const _hoisted_1$J = { class: "tao-file-drop__row" };
5346
- const _hoisted_2$F = ["aria-label"];
5347
- const _hoisted_3$z = { "aria-hidden": "true" };
5348
- const _hoisted_4$v = ["accept", "multiple"];
5414
+ const _hoisted_1$K = { class: "tao-file-drop__row" };
5415
+ const _hoisted_2$G = ["aria-label"];
5416
+ const _hoisted_3$A = { "aria-hidden": "true" };
5417
+ const _hoisted_4$w = ["accept", "multiple"];
5349
5418
  const _hoisted_5$o = {
5350
5419
  key: 0,
5351
5420
  class: "tao-file-drop__list"
@@ -5354,7 +5423,7 @@ const _hoisted_6$j = { class: "tao-file-drop__name" };
5354
5423
  const _hoisted_7$g = { class: "tao-file-drop__meta" };
5355
5424
  const _hoisted_8$a = ["aria-label", "onClick"];
5356
5425
  const _hoisted_9$7 = { "aria-hidden": "true" };
5357
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
5426
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5358
5427
  ...{ name: "TaoFileDrop", inheritAttrs: false },
5359
5428
  __name: "TaoFileDrop",
5360
5429
  props: {
@@ -5472,7 +5541,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5472
5541
  return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
5473
5542
  class: ["tao-file-drop", unref(sizeClass)(__props.size)]
5474
5543
  }), [
5475
- createElementVNode("div", _hoisted_1$J, [
5544
+ createElementVNode("div", _hoisted_1$K, [
5476
5545
  __props.showClear && __props.modelValue.length ? (openBlock(), createElementBlock("button", {
5477
5546
  key: 0,
5478
5547
  type: "button",
@@ -5480,12 +5549,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5480
5549
  "aria-label": unref(l10n).clearLabel,
5481
5550
  onClick: requestClear
5482
5551
  }, [
5483
- createElementVNode("span", _hoisted_3$z, [
5552
+ createElementVNode("span", _hoisted_3$A, [
5484
5553
  renderSlot(_ctx.$slots, "clear-icon", {}, () => [
5485
5554
  createVNode(TaoIcon, { name: "tao-close" })
5486
5555
  ], true)
5487
5556
  ])
5488
- ], 8, _hoisted_2$F)) : createCommentVNode("", true),
5557
+ ], 8, _hoisted_2$G)) : createCommentVNode("", true),
5489
5558
  createElementVNode("label", {
5490
5559
  class: normalizeClass(["tao-file-drop__zone", { "tao-file-drop__zone--dragging": isDragging.value }]),
5491
5560
  onDragover: handleDragOver,
@@ -5505,7 +5574,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5505
5574
  onChange: handleFileSelect,
5506
5575
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
5507
5576
  }, ["stop"]))
5508
- }), null, 16, _hoisted_4$v)
5577
+ }), null, 16, _hoisted_4$w)
5509
5578
  ], 34)
5510
5579
  ]),
5511
5580
  __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$o, [
@@ -5535,7 +5604,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5535
5604
  };
5536
5605
  }
5537
5606
  });
5538
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-093403e5"]]);
5607
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-093403e5"]]);
5539
5608
  function isMenuSelectable(item) {
5540
5609
  return item.type !== "separator" && item.type !== "label" && !item.disabled;
5541
5610
  }
@@ -5621,18 +5690,18 @@ function useListNav(options) {
5621
5690
  }
5622
5691
  return { onKeydown: onKeydown2 };
5623
5692
  }
5624
- const _hoisted_1$I = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
5625
- const _hoisted_2$E = {
5693
+ const _hoisted_1$J = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
5694
+ const _hoisted_2$F = {
5626
5695
  key: 0,
5627
5696
  class: "tao-menu__separator",
5628
5697
  role: "separator"
5629
5698
  };
5630
- const _hoisted_3$y = {
5699
+ const _hoisted_3$z = {
5631
5700
  key: 1,
5632
5701
  class: "tao-menu__label",
5633
5702
  role: "presentation"
5634
5703
  };
5635
- const _hoisted_4$u = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
5704
+ const _hoisted_4$v = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
5636
5705
  const _hoisted_5$n = { class: "tao-menu__text" };
5637
5706
  const _hoisted_6$i = {
5638
5707
  key: 1,
@@ -5643,7 +5712,7 @@ const _hoisted_7$f = {
5643
5712
  class: "tao-menu__arrow",
5644
5713
  "aria-hidden": "true"
5645
5714
  };
5646
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
5715
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5647
5716
  ...{ name: "TaoMenu" },
5648
5717
  __name: "TaoMenu",
5649
5718
  props: {
@@ -5826,7 +5895,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5826
5895
  return openBlock(), createElementBlock(Fragment, {
5827
5896
  key: "id" in item ? item.id : `${item.type}-${index}`
5828
5897
  }, [
5829
- item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$E)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$y, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5898
+ item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$F)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$z, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
5830
5899
  createElementVNode("div", {
5831
5900
  id: itemId(index),
5832
5901
  ref_for: true,
@@ -5865,7 +5934,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5865
5934
  ]),
5866
5935
  "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$i, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
5867
5936
  "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$f)) : createCommentVNode("", true)
5868
- ], 42, _hoisted_4$u),
5937
+ ], 42, _hoisted_4$v),
5869
5938
  "items" in item && item.items && openSub.value === index ? (openBlock(), createBlock(_component_TaoMenu, {
5870
5939
  key: 0,
5871
5940
  items: item.items,
@@ -5879,18 +5948,18 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5879
5948
  ], 64))
5880
5949
  ], 64);
5881
5950
  }), 128))
5882
- ], 46, _hoisted_1$I)) : createCommentVNode("", true)
5951
+ ], 46, _hoisted_1$J)) : createCommentVNode("", true)
5883
5952
  ]);
5884
5953
  };
5885
5954
  }
5886
5955
  });
5887
- const _hoisted_1$H = { class: "tao-dropdown-menu" };
5888
- const _hoisted_2$D = ["tabindex", "aria-expanded", "aria-label"];
5889
- const _hoisted_3$x = {
5956
+ const _hoisted_1$I = { class: "tao-dropdown-menu" };
5957
+ const _hoisted_2$E = ["tabindex", "aria-expanded", "aria-label"];
5958
+ const _hoisted_3$y = {
5890
5959
  key: 1,
5891
5960
  "aria-hidden": "true"
5892
5961
  };
5893
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
5962
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5894
5963
  ...{ name: "TaoDropdownMenu" },
5895
5964
  __name: "TaoDropdownMenu",
5896
5965
  props: {
@@ -5924,7 +5993,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5924
5993
  }
5925
5994
  }
5926
5995
  return (_ctx, _cache) => {
5927
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
5996
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
5928
5997
  createElementVNode("button", {
5929
5998
  ref_key: "triggerRef",
5930
5999
  ref: triggerRef,
@@ -5937,13 +6006,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5937
6006
  onClick: toggleMenu,
5938
6007
  onKeydown: onTriggerKeydown
5939
6008
  }, [
5940
- _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$x, [
6009
+ _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$y, [
5941
6010
  renderSlot(_ctx.$slots, "icon", {}, () => [
5942
6011
  createVNode(TaoIcon, { name: "tao-more-vertical" })
5943
6012
  ], true)
5944
6013
  ]))
5945
- ], 42, _hoisted_2$D),
5946
- createVNode(_sfc_main$L, {
6014
+ ], 42, _hoisted_2$E),
6015
+ createVNode(_sfc_main$M, {
5947
6016
  items: __props.items,
5948
6017
  open: isOpen.value,
5949
6018
  anchor: triggerRef.value,
@@ -5965,8 +6034,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5965
6034
  };
5966
6035
  }
5967
6036
  });
5968
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-0e71d618"]]);
5969
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
6037
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-0e71d618"]]);
6038
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5970
6039
  ...{ name: "TaoContextMenu" },
5971
6040
  __name: "TaoContextMenu",
5972
6041
  props: {
@@ -6019,7 +6088,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6019
6088
  "aria-hidden": "true",
6020
6089
  style: normalizeStyle({ left: `${point.value.x}px`, top: `${point.value.y}px` })
6021
6090
  }, null, 4),
6022
- createVNode(_sfc_main$L, {
6091
+ createVNode(_sfc_main$M, {
6023
6092
  items: __props.items,
6024
6093
  open: isOpen.value,
6025
6094
  anchor: anchor.value,
@@ -6041,10 +6110,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6041
6110
  };
6042
6111
  }
6043
6112
  });
6044
- const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-65a7f071"]]);
6045
- const _hoisted_1$G = ["aria-label"];
6046
- const _hoisted_2$C = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
6047
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
6113
+ const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-65a7f071"]]);
6114
+ const _hoisted_1$H = ["aria-label"];
6115
+ const _hoisted_2$D = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
6116
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6048
6117
  ...{ name: "TaoMenubar" },
6049
6118
  __name: "TaoMenubar",
6050
6119
  props: {
@@ -6174,8 +6243,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6174
6243
  onKeydown: ($event) => onKeydown2($event, index),
6175
6244
  onMouseenter: ($event) => onEnter(index),
6176
6245
  onFocus: ($event) => current2.value = index
6177
- }, toDisplayString(entry.label), 43, _hoisted_2$C),
6178
- hasMenu(index) ? (openBlock(), createBlock(_sfc_main$L, {
6246
+ }, toDisplayString(entry.label), 43, _hoisted_2$D),
6247
+ hasMenu(index) ? (openBlock(), createBlock(_sfc_main$M, {
6179
6248
  key: 0,
6180
6249
  items: entry.items,
6181
6250
  open: openIndex.value === index,
@@ -6197,11 +6266,11 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6197
6266
  ]), 1032, ["items", "open", "anchor", "label", "close-on-scroll"])) : createCommentVNode("", true)
6198
6267
  ], 64);
6199
6268
  }), 128))
6200
- ], 14, _hoisted_1$G);
6269
+ ], 14, _hoisted_1$H);
6201
6270
  };
6202
6271
  }
6203
6272
  });
6204
- const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-446c1c49"]]);
6273
+ const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-446c1c49"]]);
6205
6274
  const toolbarKey = Symbol("tao-toolbar");
6206
6275
  function planOverflow(entries, available, gap, moreWidth) {
6207
6276
  const away = /* @__PURE__ */ new Set();
@@ -6285,11 +6354,11 @@ function isTextField(el) {
6285
6354
  }
6286
6355
  return el instanceof HTMLInputElement && TEXT_INPUT.test(el.type);
6287
6356
  }
6288
- const _hoisted_1$F = ["aria-label", "aria-orientation"];
6289
- const _hoisted_2$B = ["data-tao-away"];
6290
- const _hoisted_3$w = ["aria-label"];
6291
- const _hoisted_4$t = ["aria-label"];
6292
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
6357
+ const _hoisted_1$G = ["aria-label", "aria-orientation"];
6358
+ const _hoisted_2$C = ["data-tao-away"];
6359
+ const _hoisted_3$x = ["aria-label"];
6360
+ const _hoisted_4$u = ["aria-label"];
6361
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6293
6362
  ...{ name: "TaoToolbar" },
6294
6363
  __name: "TaoToolbar",
6295
6364
  props: {
@@ -6637,7 +6706,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6637
6706
  "aria-expanded": open.value,
6638
6707
  onClick: toggle
6639
6708
  }, null, 8, ["aria-label", "aria-expanded"])
6640
- ], 8, _hoisted_2$B)) : createCommentVNode("", true),
6709
+ ], 8, _hoisted_2$C)) : createCommentVNode("", true),
6641
6710
  managed.value ? (openBlock(), createBlock(Teleport, {
6642
6711
  key: 1,
6643
6712
  to: "body"
@@ -6662,18 +6731,18 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6662
6731
  (...args) => unref(menu).onFocusin && unref(menu).onFocusin(...args)),
6663
6732
  onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
6664
6733
  (...args) => unref(menu).onKeydown && unref(menu).onKeydown(...args))
6665
- }, null, 40, _hoisted_4$t)
6666
- ], 14, _hoisted_3$w)) : createCommentVNode("", true)
6734
+ }, null, 40, _hoisted_4$u)
6735
+ ], 14, _hoisted_3$x)) : createCommentVNode("", true)
6667
6736
  ])) : createCommentVNode("", true)
6668
- ], 46, _hoisted_1$F);
6737
+ ], 46, _hoisted_1$G);
6669
6738
  };
6670
6739
  }
6671
6740
  });
6672
- const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-27fec442"]]);
6673
- const _hoisted_1$E = ["aria-label"];
6674
- const _hoisted_2$A = ["data-tao-away", "hidden"];
6675
- const _hoisted_3$v = ["aria-label"];
6676
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
6741
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-27fec442"]]);
6742
+ const _hoisted_1$F = ["aria-label"];
6743
+ const _hoisted_2$B = ["data-tao-away", "hidden"];
6744
+ const _hoisted_3$w = ["aria-label"];
6745
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6677
6746
  ...{ name: "TaoToolbarGroup", inheritAttrs: false },
6678
6747
  __name: "TaoToolbarGroup",
6679
6748
  props: {
@@ -6710,7 +6779,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6710
6779
  "aria-label": __props.label
6711
6780
  }, _ctx.$attrs), [
6712
6781
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6713
- ], 16, _hoisted_1$E)) : (openBlock(), createElementBlock("div", {
6782
+ ], 16, _hoisted_1$F)) : (openBlock(), createElementBlock("div", {
6714
6783
  key: 1,
6715
6784
  ref_key: "host",
6716
6785
  ref: host,
@@ -6729,15 +6798,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6729
6798
  "aria-label": __props.label
6730
6799
  }, _ctx.$attrs), [
6731
6800
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6732
- ], 16, _hoisted_3$v)
6801
+ ], 16, _hoisted_3$w)
6733
6802
  ], 8, ["to", "disabled"]))
6734
- ], 8, _hoisted_2$A));
6803
+ ], 8, _hoisted_2$B));
6735
6804
  };
6736
6805
  }
6737
6806
  });
6738
- const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-61688996"]]);
6739
- const _hoisted_1$D = ["aria-orientation", "data-tao-away"];
6740
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
6807
+ const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-61688996"]]);
6808
+ const _hoisted_1$E = ["aria-orientation", "data-tao-away"];
6809
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6741
6810
  ...{ name: "TaoToolbarSeparator" },
6742
6811
  __name: "TaoToolbarSeparator",
6743
6812
  setup(__props) {
@@ -6766,11 +6835,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6766
6835
  role: "separator",
6767
6836
  "aria-orientation": orientation.value,
6768
6837
  "data-tao-away": unit.away.value ? "" : void 0
6769
- }, null, 10, _hoisted_1$D);
6838
+ }, null, 10, _hoisted_1$E);
6770
6839
  };
6771
6840
  }
6772
6841
  });
6773
- const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-3555f99a"]]);
6842
+ const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3555f99a"]]);
6774
6843
  const TAO_CHART_COLORS = 6;
6775
6844
  const chartColorVar = (index) => `var(--tao-color-chart-${index % TAO_CHART_COLORS + 1})`;
6776
6845
  const finite = (v) => typeof v === "number" && Number.isFinite(v);
@@ -6942,16 +7011,16 @@ function watchTaoChartTheme(apply, el) {
6942
7011
  media?.removeEventListener("change", run);
6943
7012
  };
6944
7013
  }
6945
- const _hoisted_1$C = ["role", "aria-label", "aria-hidden"];
6946
- const _hoisted_2$z = {
7014
+ const _hoisted_1$D = ["role", "aria-label", "aria-hidden"];
7015
+ const _hoisted_2$A = {
6947
7016
  class: "tao-sparkline__svg",
6948
7017
  viewBox: "0 0 100 100",
6949
7018
  preserveAspectRatio: "none",
6950
7019
  "aria-hidden": "true"
6951
7020
  };
6952
- const _hoisted_3$u = ["d"];
6953
- const _hoisted_4$s = ["d"];
6954
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
7021
+ const _hoisted_3$v = ["d"];
7022
+ const _hoisted_4$t = ["d"];
7023
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6955
7024
  ...{ name: "TaoSparkline" },
6956
7025
  __name: "TaoSparkline",
6957
7026
  props: {
@@ -6983,16 +7052,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6983
7052
  "aria-label": __props.label,
6984
7053
  "aria-hidden": __props.label ? void 0 : "true"
6985
7054
  }, [
6986
- (openBlock(), createElementBlock("svg", _hoisted_2$z, [
7055
+ (openBlock(), createElementBlock("svg", _hoisted_2$A, [
6987
7056
  fill.value ? (openBlock(), createElementBlock("path", {
6988
7057
  key: 0,
6989
7058
  class: "tao-sparkline__area",
6990
7059
  d: fill.value
6991
- }, null, 8, _hoisted_3$u)) : createCommentVNode("", true),
7060
+ }, null, 8, _hoisted_3$v)) : createCommentVNode("", true),
6992
7061
  createElementVNode("path", {
6993
7062
  class: "tao-sparkline__line",
6994
7063
  d: line.value
6995
- }, null, 8, _hoisted_4$s)
7064
+ }, null, 8, _hoisted_4$t)
6996
7065
  ])),
6997
7066
  __props.dot && last.value ? (openBlock(), createElementBlock("span", {
6998
7067
  key: 0,
@@ -7000,24 +7069,24 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7000
7069
  style: normalizeStyle({ left: inset(last.value[0]), top: inset(last.value[1]) }),
7001
7070
  "aria-hidden": "true"
7002
7071
  }, null, 4)) : createCommentVNode("", true)
7003
- ], 14, _hoisted_1$C);
7072
+ ], 14, _hoisted_1$D);
7004
7073
  };
7005
7074
  }
7006
7075
  });
7007
- const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-76664226"]]);
7008
- const _hoisted_1$B = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
7009
- const _hoisted_2$y = {
7076
+ const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-76664226"]]);
7077
+ const _hoisted_1$C = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
7078
+ const _hoisted_2$z = {
7010
7079
  key: 0,
7011
7080
  class: "tao-meter__head",
7012
7081
  "aria-hidden": "true"
7013
7082
  };
7014
- const _hoisted_3$t = { class: "tao-meter__label" };
7015
- const _hoisted_4$r = {
7083
+ const _hoisted_3$u = { class: "tao-meter__label" };
7084
+ const _hoisted_4$s = {
7016
7085
  key: 0,
7017
7086
  class: "tao-meter__value"
7018
7087
  };
7019
7088
  const _hoisted_5$m = { class: "tao-meter__track" };
7020
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
7089
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7021
7090
  ...{ name: "TaoMeter" },
7022
7091
  __name: "TaoMeter",
7023
7092
  props: {
@@ -7051,9 +7120,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7051
7120
  "aria-valuetext": typeof __props.valueText === "string" ? __props.valueText : void 0,
7052
7121
  "aria-label": __props.label
7053
7122
  }, [
7054
- __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
7055
- createElementVNode("span", _hoisted_3$t, toDisplayString(__props.label), 1),
7056
- shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$r, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
7123
+ __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
7124
+ createElementVNode("span", _hoisted_3$u, toDisplayString(__props.label), 1),
7125
+ shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$s, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
7057
7126
  ])) : createCommentVNode("", true),
7058
7127
  createElementVNode("div", _hoisted_5$m, [
7059
7128
  createElementVNode("div", {
@@ -7061,15 +7130,15 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7061
7130
  style: normalizeStyle({ width: `${share.value * 100}%` })
7062
7131
  }, null, 4)
7063
7132
  ])
7064
- ], 10, _hoisted_1$B);
7133
+ ], 10, _hoisted_1$C);
7065
7134
  };
7066
7135
  }
7067
7136
  });
7068
- const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-17e24a8e"]]);
7069
- const _hoisted_1$A = ["aria-label"];
7070
- const _hoisted_2$x = ["viewBox", "width", "height"];
7071
- const _hoisted_3$s = ["cx", "cy", "r", "stroke-width"];
7072
- const _hoisted_4$q = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
7137
+ const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-17e24a8e"]]);
7138
+ const _hoisted_1$B = ["aria-label"];
7139
+ const _hoisted_2$y = ["viewBox", "width", "height"];
7140
+ const _hoisted_3$t = ["cx", "cy", "r", "stroke-width"];
7141
+ const _hoisted_4$r = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
7073
7142
  const _hoisted_5$l = {
7074
7143
  key: 0,
7075
7144
  class: "tao-donut__centre",
@@ -7082,7 +7151,7 @@ const _hoisted_6$h = {
7082
7151
  };
7083
7152
  const _hoisted_7$e = { class: "tao-donut__name" };
7084
7153
  const _hoisted_8$9 = { class: "tao-donut__share" };
7085
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
7154
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7086
7155
  ...{ name: "TaoDonut" },
7087
7156
  __name: "TaoDonut",
7088
7157
  props: {
@@ -7145,7 +7214,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7145
7214
  cy: centre.value,
7146
7215
  r: radius.value,
7147
7216
  "stroke-width": __props.thickness
7148
- }, null, 8, _hoisted_3$s),
7217
+ }, null, 8, _hoisted_3$t),
7149
7218
  (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
7150
7219
  return withDirectives((openBlock(), createElementBlock("circle", {
7151
7220
  key: arc.key,
@@ -7159,15 +7228,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7159
7228
  "stroke-dashoffset": -arc.start,
7160
7229
  transform: `rotate(-90 ${centre.value} ${centre.value})`,
7161
7230
  style: normalizeStyle({ stroke: arc.stroke })
7162
- }, null, 14, _hoisted_4$q)), [
7231
+ }, null, 14, _hoisted_4$r)), [
7163
7232
  [vShow, arc.length > 0]
7164
7233
  ]);
7165
7234
  }), 128))
7166
- ], 8, _hoisted_2$x)),
7235
+ ], 8, _hoisted_2$y)),
7167
7236
  has("default") ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
7168
7237
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7169
7238
  ])) : createCommentVNode("", true)
7170
- ], 12, _hoisted_1$A),
7239
+ ], 12, _hoisted_1$B),
7171
7240
  __props.legend && __props.segments ? (openBlock(), createElementBlock("ul", _hoisted_6$h, [
7172
7241
  (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
7173
7242
  return openBlock(), createElementBlock("li", {
@@ -7187,17 +7256,17 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7187
7256
  };
7188
7257
  }
7189
7258
  });
7190
- const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-51178c3f"]]);
7191
- const _hoisted_1$z = ["aria-label", "aria-rowcount", "aria-colcount"];
7192
- const _hoisted_2$w = {
7259
+ const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-51178c3f"]]);
7260
+ const _hoisted_1$A = ["aria-label", "aria-rowcount", "aria-colcount"];
7261
+ const _hoisted_2$x = {
7193
7262
  class: "tao-heatmap__row tao-heatmap__head",
7194
7263
  role: "row"
7195
7264
  };
7196
- const _hoisted_3$r = {
7265
+ const _hoisted_3$s = {
7197
7266
  class: "tao-heatmap__name",
7198
7267
  role: "rowheader"
7199
7268
  };
7200
- const _hoisted_4$p = ["data-r", "data-c", "tabindex", "onPointerenter", "onFocus"];
7269
+ const _hoisted_4$q = ["data-r", "data-c", "tabindex", "onPointerenter", "onFocus"];
7201
7270
  const _hoisted_5$k = { class: "tao-sr-only" };
7202
7271
  const _hoisted_6$g = { class: "tao-heatmap__tip-where" };
7203
7272
  const _hoisted_7$d = { class: "tao-heatmap__tip-value" };
@@ -7206,7 +7275,7 @@ const _hoisted_8$8 = {
7206
7275
  class: "tao-heatmap__legend",
7207
7276
  "aria-hidden": "true"
7208
7277
  };
7209
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
7278
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7210
7279
  ...{ name: "TaoHeatmap" },
7211
7280
  __name: "TaoHeatmap",
7212
7281
  props: {
@@ -7358,7 +7427,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7358
7427
  onPointerleave: hide,
7359
7428
  onFocusout: onFocusOut
7360
7429
  }, [
7361
- createElementVNode("div", _hoisted_2$w, [
7430
+ createElementVNode("div", _hoisted_2$x, [
7362
7431
  _cache[0] || (_cache[0] = createElementVNode("span", {
7363
7432
  class: "tao-heatmap__corner",
7364
7433
  role: "columnheader"
@@ -7381,7 +7450,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7381
7450
  class: "tao-heatmap__row",
7382
7451
  role: "row"
7383
7452
  }, [
7384
- createElementVNode("span", _hoisted_3$r, toDisplayString(row), 1),
7453
+ createElementVNode("span", _hoisted_3$s, toDisplayString(row), 1),
7385
7454
  (openBlock(true), createElementBlock(Fragment, null, renderList(grid.value[r], (cell, c) => {
7386
7455
  return openBlock(), createElementBlock("span", {
7387
7456
  key: cell.key,
@@ -7403,11 +7472,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7403
7472
  "aria-hidden": "true"
7404
7473
  }, null, 6),
7405
7474
  createElementVNode("span", _hoisted_5$k, toDisplayString(cell.text), 1)
7406
- ], 44, _hoisted_4$p);
7475
+ ], 44, _hoisted_4$q);
7407
7476
  }), 128))
7408
7477
  ]);
7409
7478
  }), 128))
7410
- ], 46, _hoisted_1$z),
7479
+ ], 46, _hoisted_1$A),
7411
7480
  tip.value ? (openBlock(), createElementBlock("div", {
7412
7481
  key: 0,
7413
7482
  ref_key: "tipRef",
@@ -7449,11 +7518,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7449
7518
  };
7450
7519
  }
7451
7520
  });
7452
- const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-496996ae"]]);
7453
- const _hoisted_1$y = { class: "tao-nav__shell" };
7454
- const _hoisted_2$v = ["aria-label"];
7455
- const _hoisted_3$q = { class: "tao-nav__column" };
7456
- const _hoisted_4$o = {
7521
+ const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-496996ae"]]);
7522
+ const _hoisted_1$z = { class: "tao-nav__shell" };
7523
+ const _hoisted_2$w = ["aria-label"];
7524
+ const _hoisted_3$r = { class: "tao-nav__column" };
7525
+ const _hoisted_4$p = {
7457
7526
  key: 0,
7458
7527
  class: "tao-nav__action"
7459
7528
  };
@@ -7483,7 +7552,7 @@ const _hoisted_14$1 = {
7483
7552
  key: 0,
7484
7553
  class: "tao-nav__content"
7485
7554
  };
7486
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
7555
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7487
7556
  ...{ name: "TaoNav" },
7488
7557
  __name: "TaoNav",
7489
7558
  props: {
@@ -7546,13 +7615,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7546
7615
  return openBlock(), createElementBlock("div", {
7547
7616
  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" }]])
7548
7617
  }, [
7549
- createElementVNode("div", _hoisted_1$y, [
7618
+ createElementVNode("div", _hoisted_1$z, [
7550
7619
  createElementVNode("nav", {
7551
7620
  class: normalizeClass(["tao-nav__panel", unref(surfaceClass)(__props.surface)]),
7552
7621
  "aria-label": unref(l10n).ariaLabel
7553
7622
  }, [
7554
- createElementVNode("div", _hoisted_3$q, [
7555
- has("action") ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
7623
+ createElementVNode("div", _hoisted_3$r, [
7624
+ has("action") ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
7556
7625
  renderSlot(_ctx.$slots, "action", {}, void 0, true)
7557
7626
  ])) : createCommentVNode("", true),
7558
7627
  createElementVNode("ul", _hoisted_5$j, [
@@ -7619,12 +7688,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7619
7688
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
7620
7689
  ])) : createCommentVNode("", true)
7621
7690
  ])
7622
- ], 10, _hoisted_2$v),
7691
+ ], 10, _hoisted_2$w),
7623
7692
  !standalone.value ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
7624
7693
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7625
7694
  ])) : createCommentVNode("", true)
7626
7695
  ]),
7627
- overflowing.value ? (openBlock(), createBlock(_sfc_main$L, {
7696
+ overflowing.value ? (openBlock(), createBlock(_sfc_main$M, {
7628
7697
  key: 0,
7629
7698
  items: moreMenu.value,
7630
7699
  open: moreOpen.value,
@@ -7638,7 +7707,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7638
7707
  };
7639
7708
  }
7640
7709
  });
7641
- const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-83603250"]]);
7710
+ const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-83603250"]]);
7642
7711
  function visibleRows(nodes, expanded, children) {
7643
7712
  const rows = [];
7644
7713
  const ancestors = /* @__PURE__ */ new Set();
@@ -7688,10 +7757,10 @@ function toggleCheck(node, checked2, children) {
7688
7757
  }
7689
7758
  return next;
7690
7759
  }
7691
- const _hoisted_1$x = ["aria-label", "aria-multiselectable"];
7692
- const _hoisted_2$u = ["id", "tabindex", "aria-level", "aria-setsize", "aria-posinset", "aria-expanded", "aria-selected", "aria-checked", "aria-disabled", "aria-busy", "onKeydown", "onClick", "onFocus"];
7693
- const _hoisted_3$p = ["onClick"];
7694
- const _hoisted_4$n = ["title"];
7760
+ const _hoisted_1$y = ["aria-label", "aria-multiselectable"];
7761
+ const _hoisted_2$v = ["id", "tabindex", "aria-level", "aria-setsize", "aria-posinset", "aria-expanded", "aria-selected", "aria-checked", "aria-disabled", "aria-busy", "onKeydown", "onClick", "onFocus"];
7762
+ const _hoisted_3$q = ["onClick"];
7763
+ const _hoisted_4$o = ["title"];
7695
7764
  const _hoisted_5$i = ["onClick"];
7696
7765
  const _hoisted_6$e = {
7697
7766
  key: 1,
@@ -7699,7 +7768,7 @@ const _hoisted_6$e = {
7699
7768
  "aria-hidden": "true"
7700
7769
  };
7701
7770
  const _hoisted_7$b = { class: "tao-tree__label" };
7702
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
7771
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7703
7772
  ...{ name: "TaoTree" },
7704
7773
  __name: "TaoTree",
7705
7774
  props: {
@@ -7969,11 +8038,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7969
8038
  key: 0,
7970
8039
  class: "tao-tree__spinner",
7971
8040
  title: unref(l10n).loadingLabel
7972
- }, null, 8, _hoisted_4$n)) : row.branch ? (openBlock(), createBlock(TaoIcon, {
8041
+ }, null, 8, _hoisted_4$o)) : row.branch ? (openBlock(), createBlock(TaoIcon, {
7973
8042
  key: 1,
7974
8043
  name: "tao-chevron-right"
7975
8044
  })) : createCommentVNode("", true)
7976
- ], 10, _hoisted_3$p),
8045
+ ], 10, _hoisted_3$q),
7977
8046
  __props.checkable ? (openBlock(), createElementBlock("span", {
7978
8047
  key: 0,
7979
8048
  class: normalizeClass(["tao-tree__check", `tao-tree__check--${stateOf(row)}`]),
@@ -8002,20 +8071,20 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8002
8071
  }, [
8003
8072
  renderSlot(_ctx.$slots, "actions", mergeProps({ ref_for: true }, slotProps(row)), void 0, true)
8004
8073
  ], 32)) : createCommentVNode("", true)
8005
- ], 46, _hoisted_2$u);
8074
+ ], 46, _hoisted_2$v);
8006
8075
  }), 128))
8007
- ], 10, _hoisted_1$x);
8076
+ ], 10, _hoisted_1$y);
8008
8077
  };
8009
8078
  }
8010
8079
  });
8011
- const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-ce3110d4"]]);
8012
- const _hoisted_1$w = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
8013
- const _hoisted_2$t = {
8080
+ const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-ce3110d4"]]);
8081
+ const _hoisted_1$x = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
8082
+ const _hoisted_2$u = {
8014
8083
  key: 0,
8015
8084
  class: "tao-checklist__legend"
8016
8085
  };
8017
- const _hoisted_3$o = { key: 0 };
8018
- const _hoisted_4$m = {
8086
+ const _hoisted_3$p = { key: 0 };
8087
+ const _hoisted_4$n = {
8019
8088
  key: 1,
8020
8089
  class: "tao-checklist__counter",
8021
8090
  "aria-live": "polite"
@@ -8026,7 +8095,7 @@ const _hoisted_7$a = {
8026
8095
  key: 0,
8027
8096
  class: "tao-checklist__description"
8028
8097
  };
8029
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
8098
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
8030
8099
  ...{ name: "TaoChecklist" },
8031
8100
  __name: "TaoChecklist",
8032
8101
  props: {
@@ -8091,9 +8160,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8091
8160
  "aria-invalid": unref(invalid) || void 0,
8092
8161
  "aria-labelledby": labelledBy.value
8093
8162
  }, [
8094
- __props.legend || __props.counter ? (openBlock(), createElementBlock("legend", _hoisted_2$t, [
8095
- __props.legend ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
8096
- __props.counter ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString(unref(formatText)(unref(l10n).counterText, { checked: checkedCount.value, total: __props.items.length })), 1)) : createCommentVNode("", true)
8163
+ __props.legend || __props.counter ? (openBlock(), createElementBlock("legend", _hoisted_2$u, [
8164
+ __props.legend ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
8165
+ __props.counter ? (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString(unref(formatText)(unref(l10n).counterText, { checked: checkedCount.value, total: __props.items.length })), 1)) : createCommentVNode("", true)
8097
8166
  ])) : createCommentVNode("", true),
8098
8167
  __props.selectAll ? (openBlock(), createBlock(TaoCheckbox, {
8099
8168
  key: 1,
@@ -8135,34 +8204,34 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8135
8204
  ], 2);
8136
8205
  }), 128))
8137
8206
  ], 2)
8138
- ], 10, _hoisted_1$w);
8207
+ ], 10, _hoisted_1$x);
8139
8208
  };
8140
8209
  }
8141
8210
  });
8142
- const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-4d3771ce"]]);
8211
+ const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4d3771ce"]]);
8143
8212
  function timelineState(index, activeIndex) {
8144
8213
  if (activeIndex < 0) {
8145
8214
  return "done";
8146
8215
  }
8147
8216
  return index < activeIndex ? "done" : index === activeIndex ? "current" : "upcoming";
8148
8217
  }
8149
- const _hoisted_1$v = ["aria-current"];
8150
- const _hoisted_2$s = {
8218
+ const _hoisted_1$w = ["aria-current"];
8219
+ const _hoisted_2$t = {
8151
8220
  class: "tao-timeline__rail",
8152
8221
  "aria-hidden": "true"
8153
8222
  };
8154
- const _hoisted_3$n = {
8223
+ const _hoisted_3$o = {
8155
8224
  key: 0,
8156
8225
  class: "tao-timeline__line"
8157
8226
  };
8158
- const _hoisted_4$l = { class: "tao-timeline__body" };
8227
+ const _hoisted_4$m = { class: "tao-timeline__body" };
8159
8228
  const _hoisted_5$g = ["datetime"];
8160
8229
  const _hoisted_6$c = { class: "tao-timeline__title" };
8161
8230
  const _hoisted_7$9 = {
8162
8231
  key: 1,
8163
8232
  class: "tao-timeline__description"
8164
8233
  };
8165
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
8234
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8166
8235
  ...{ name: "TaoTimeline" },
8167
8236
  __name: "TaoTimeline",
8168
8237
  props: {
@@ -8188,7 +8257,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8188
8257
  class: normalizeClass(["tao-timeline__item", [`tao-timeline__item--${slotProps(item, index).state}`, { "tao-timeline__item--far": index % 2 === 1 }]]),
8189
8258
  "aria-current": slotProps(item, index).active ? "step" : void 0
8190
8259
  }, [
8191
- createElementVNode("div", _hoisted_2$s, [
8260
+ createElementVNode("div", _hoisted_2$t, [
8192
8261
  createElementVNode("span", {
8193
8262
  class: normalizeClass(["tao-timeline__marker", [unref(toneClass)(item.tone), { "tao-timeline__marker--icon": item.icon || _ctx.$slots.marker }]])
8194
8263
  }, [
@@ -8199,9 +8268,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8199
8268
  }, null, 8, ["name"])) : createCommentVNode("", true)
8200
8269
  ], true)
8201
8270
  ], 2),
8202
- index < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_3$n)) : createCommentVNode("", true)
8271
+ index < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_3$o)) : createCommentVNode("", true)
8203
8272
  ]),
8204
- createElementVNode("div", _hoisted_4$l, [
8273
+ createElementVNode("div", _hoisted_4$m, [
8205
8274
  item.time ? (openBlock(), createElementBlock("time", {
8206
8275
  key: 0,
8207
8276
  class: "tao-timeline__time",
@@ -8215,22 +8284,22 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8215
8284
  item.description ? (openBlock(), createElementBlock("p", _hoisted_7$9, toDisplayString(item.description), 1)) : createCommentVNode("", true),
8216
8285
  renderSlot(_ctx.$slots, "content", mergeProps({ ref_for: true }, slotProps(item, index)), void 0, true)
8217
8286
  ])
8218
- ], 10, _hoisted_1$v);
8287
+ ], 10, _hoisted_1$w);
8219
8288
  }), 128))
8220
8289
  ], 2);
8221
8290
  };
8222
8291
  }
8223
8292
  });
8224
- const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-48847c47"]]);
8225
- const _hoisted_1$u = ["tabindex", "aria-hidden", "inert"];
8226
- const _hoisted_2$r = { class: "tao-marquee__item" };
8227
- const _hoisted_3$m = {
8293
+ const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-48847c47"]]);
8294
+ const _hoisted_1$v = ["tabindex", "aria-hidden", "inert"];
8295
+ const _hoisted_2$s = { class: "tao-marquee__item" };
8296
+ const _hoisted_3$n = {
8228
8297
  key: 0,
8229
8298
  class: "tao-marquee__item",
8230
8299
  "aria-hidden": "true",
8231
8300
  inert: ""
8232
8301
  };
8233
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
8302
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8234
8303
  ...{ name: "TaoMarquee" },
8235
8304
  __name: "TaoMarquee",
8236
8305
  props: {
@@ -8344,22 +8413,22 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8344
8413
  class: "tao-marquee__track",
8345
8414
  style: normalizeStyle(trackStyle.value)
8346
8415
  }, [
8347
- createElementVNode("span", _hoisted_2$r, [
8416
+ createElementVNode("span", _hoisted_2$s, [
8348
8417
  hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8349
8418
  createTextVNode(toDisplayString(__props.text), 1)
8350
8419
  ], 64))
8351
8420
  ]),
8352
- running.value ? (openBlock(), createElementBlock("span", _hoisted_3$m, [
8421
+ running.value ? (openBlock(), createElementBlock("span", _hoisted_3$n, [
8353
8422
  hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8354
8423
  createTextVNode(toDisplayString(__props.text), 1)
8355
8424
  ], 64))
8356
8425
  ])) : createCommentVNode("", true)
8357
8426
  ], 4)
8358
- ], 46, _hoisted_1$u);
8427
+ ], 46, _hoisted_1$v);
8359
8428
  };
8360
8429
  }
8361
8430
  });
8362
- const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-0d2fc5c4"]]);
8431
+ const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0d2fc5c4"]]);
8363
8432
  const PIN_CELL = "#";
8364
8433
  function parsePinFormat(format) {
8365
8434
  const mask = [...format];
@@ -8395,14 +8464,14 @@ function pinFromPaste(text, format, cells, accept) {
8395
8464
  if (chars.length === cells && chars.every((ch) => accept(ch))) return chars.map((ch) => accept(ch));
8396
8465
  return null;
8397
8466
  }
8398
- const _hoisted_1$t = ["aria-invalid", "aria-describedby"];
8399
- const _hoisted_2$q = {
8467
+ const _hoisted_1$u = ["aria-invalid", "aria-describedby"];
8468
+ const _hoisted_2$r = {
8400
8469
  key: 0,
8401
8470
  class: "tao-pin-code__separator",
8402
8471
  "aria-hidden": "true"
8403
8472
  };
8404
- const _hoisted_3$l = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "aria-label", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
8405
- const _hoisted_4$k = {
8473
+ const _hoisted_3$m = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "aria-label", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
8474
+ const _hoisted_4$l = {
8406
8475
  key: 0,
8407
8476
  class: "tao-pin-code__separator",
8408
8477
  "aria-hidden": "true"
@@ -8411,7 +8480,7 @@ const _hoisted_5$f = {
8411
8480
  class: "tao-sr-only",
8412
8481
  role: "status"
8413
8482
  };
8414
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
8483
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
8415
8484
  ...{ name: "TaoPinCode" },
8416
8485
  __name: "TaoPinCode",
8417
8486
  props: {
@@ -8640,7 +8709,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8640
8709
  }, [
8641
8710
  (openBlock(true), createElementBlock(Fragment, null, renderList(numbers.value, (num, index) => {
8642
8711
  return openBlock(), createElementBlock(Fragment, { key: index }, [
8643
- layout.value?.before[index] ? (openBlock(), createElementBlock("span", _hoisted_2$q, toDisplayString(layout.value.before[index]), 1)) : createCommentVNode("", true),
8712
+ layout.value?.before[index] ? (openBlock(), createElementBlock("span", _hoisted_2$r, toDisplayString(layout.value.before[index]), 1)) : createCommentVNode("", true),
8644
8713
  createElementVNode("input", {
8645
8714
  id: index === 0 ? unref(controlId) : void 0,
8646
8715
  ref_for: true,
@@ -8665,17 +8734,17 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8665
8734
  onKeydown: ($event) => onKeydown2($event, index),
8666
8735
  onFocus: ($event) => onFocus(index),
8667
8736
  onBlur
8668
- }, null, 46, _hoisted_3$l)
8737
+ }, null, 46, _hoisted_3$m)
8669
8738
  ], 64);
8670
8739
  }), 128)),
8671
- layout.value?.after ? (openBlock(), createElementBlock("span", _hoisted_4$k, toDisplayString(layout.value.after), 1)) : createCommentVNode("", true),
8740
+ layout.value?.after ? (openBlock(), createElementBlock("span", _hoisted_4$l, toDisplayString(layout.value.after), 1)) : createCommentVNode("", true),
8672
8741
  createElementVNode("span", _hoisted_5$f, toDisplayString(__props.status === "success" ? unref(l10n).successText : __props.status === "error" ? unref(l10n).errorText : ""), 1)
8673
- ], 10, _hoisted_1$t);
8742
+ ], 10, _hoisted_1$u);
8674
8743
  };
8675
8744
  }
8676
8745
  });
8677
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-bb653baa"]]);
8678
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
8746
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bb653baa"]]);
8747
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
8679
8748
  ...{ name: "TaoLink" },
8680
8749
  __name: "TaoLink",
8681
8750
  props: {
@@ -8717,7 +8786,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
8717
8786
  };
8718
8787
  }
8719
8788
  });
8720
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
8789
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
8721
8790
  ...{ name: "TaoStretchedLink" },
8722
8791
  __name: "TaoStretchedLink",
8723
8792
  props: {
@@ -8729,7 +8798,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
8729
8798
  setup(__props) {
8730
8799
  const props = __props;
8731
8800
  return (_ctx, _cache) => {
8732
- return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: "tao-stretched-link" }, props), {
8801
+ return openBlock(), createBlock(_sfc_main$v, mergeProps({ class: "tao-stretched-link" }, props), {
8733
8802
  default: withCtx(() => [
8734
8803
  renderSlot(_ctx.$slots, "default")
8735
8804
  ]),
@@ -8738,8 +8807,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
8738
8807
  };
8739
8808
  }
8740
8809
  });
8741
- const _hoisted_1$s = ["for"];
8742
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
8810
+ const _hoisted_1$t = ["for"];
8811
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
8743
8812
  ...{ name: "TaoFormField" },
8744
8813
  __name: "TaoFormField",
8745
8814
  props: {
@@ -8789,7 +8858,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
8789
8858
  class: "tao-form-field__label",
8790
8859
  for: unref(id),
8791
8860
  onClick: onLabelClick
8792
- }, toDisplayString(__props.label), 9, _hoisted_1$s)) : createCommentVNode("", true),
8861
+ }, toDisplayString(__props.label), 9, _hoisted_1$t)) : createCommentVNode("", true),
8793
8862
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
8794
8863
  __props.error ? (openBlock(), createElementBlock("p", {
8795
8864
  key: 1,
@@ -8804,12 +8873,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
8804
8873
  };
8805
8874
  }
8806
8875
  });
8807
- const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-f0778b06"]]);
8808
- const _hoisted_1$r = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
8809
- const _hoisted_2$p = { class: "tao-select__value" };
8810
- const _hoisted_3$k = ["aria-activedescendant"];
8811
- const _hoisted_4$j = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
8812
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
8876
+ const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-f0778b06"]]);
8877
+ const _hoisted_1$s = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
8878
+ const _hoisted_2$q = { class: "tao-select__value" };
8879
+ const _hoisted_3$l = ["aria-activedescendant"];
8880
+ const _hoisted_4$k = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
8881
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
8813
8882
  ...{ name: "TaoSelect", inheritAttrs: false },
8814
8883
  __name: "TaoSelect",
8815
8884
  props: {
@@ -8957,14 +9026,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
8957
9026
  onClick: toggle,
8958
9027
  onKeydown: onTriggerKeydown
8959
9028
  }), [
8960
- createElementVNode("span", _hoisted_2$p, toDisplayString(selected.value?.label ?? unref(l10n).placeholder), 1),
9029
+ createElementVNode("span", _hoisted_2$q, toDisplayString(selected.value?.label ?? unref(l10n).placeholder), 1),
8961
9030
  createElementVNode("span", {
8962
9031
  class: normalizeClass(["tao-select__chevron", { "tao-select__chevron--custom": _ctx.$slots.chevron }]),
8963
9032
  "aria-hidden": "true"
8964
9033
  }, [
8965
9034
  renderSlot(_ctx.$slots, "chevron", {}, void 0, true)
8966
9035
  ], 2)
8967
- ], 16, _hoisted_1$r),
9036
+ ], 16, _hoisted_1$s),
8968
9037
  (openBlock(), createBlock(Teleport, { to: "body" }, [
8969
9038
  open.value ? (openBlock(), createElementBlock("div", {
8970
9039
  key: 0,
@@ -9000,9 +9069,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9000
9069
  }, ["prevent"])),
9001
9070
  onClick: ($event) => selectOption(option),
9002
9071
  onMouseenter: ($event) => !option.disabled && (activeIndex.value = index)
9003
- }, toDisplayString(option.label), 43, _hoisted_4$j);
9072
+ }, toDisplayString(option.label), 43, _hoisted_4$k);
9004
9073
  }), 128))
9005
- ], 40, _hoisted_3$k),
9074
+ ], 40, _hoisted_3$l),
9006
9075
  __props.clearable && selected.value ? (openBlock(), createElementBlock("button", {
9007
9076
  key: 0,
9008
9077
  type: "button",
@@ -9021,14 +9090,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9021
9090
  };
9022
9091
  }
9023
9092
  });
9024
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-86083e38"]]);
9093
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-86083e38"]]);
9025
9094
  const segmentedKey = Symbol("taoSegmented");
9026
- const _hoisted_1$q = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9027
- const _hoisted_2$o = {
9095
+ const _hoisted_1$r = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
9096
+ const _hoisted_2$p = {
9028
9097
  key: 0,
9029
9098
  class: "tao-segmented__legend"
9030
9099
  };
9031
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
9100
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9032
9101
  ...{ name: "TaoSegmented" },
9033
9102
  __name: "TaoSegmented",
9034
9103
  props: {
@@ -9140,7 +9209,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9140
9209
  "aria-labelledby": __props.legend ? void 0 : unref(field) ? `${unref(field).id}-label` : void 0,
9141
9210
  id: unref(field)?.id
9142
9211
  }, [
9143
- __props.legend ? (openBlock(), createElementBlock("legend", _hoisted_2$o, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
9212
+ __props.legend ? (openBlock(), createElementBlock("legend", _hoisted_2$p, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
9144
9213
  createElementVNode("div", {
9145
9214
  ref_key: "trackRef",
9146
9215
  ref: trackRef,
@@ -9153,15 +9222,15 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9153
9222
  }, null, 4),
9154
9223
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
9155
9224
  ], 512)
9156
- ], 14, _hoisted_1$q);
9225
+ ], 14, _hoisted_1$r);
9157
9226
  };
9158
9227
  }
9159
9228
  });
9160
- const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-49ed8ced"]]);
9161
- const _hoisted_1$p = ["for"];
9162
- const _hoisted_2$n = ["id", "name", "value", "checked", "disabled", "aria-label"];
9163
- const _hoisted_3$j = { class: "tao-segmented-option__face" };
9164
- const _hoisted_4$i = {
9229
+ const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-49ed8ced"]]);
9230
+ const _hoisted_1$q = ["for"];
9231
+ const _hoisted_2$o = ["id", "name", "value", "checked", "disabled", "aria-label"];
9232
+ const _hoisted_3$k = { class: "tao-segmented-option__face" };
9233
+ const _hoisted_4$j = {
9165
9234
  key: 0,
9166
9235
  class: "tao-segmented-option__icon",
9167
9236
  "aria-hidden": "true"
@@ -9178,7 +9247,7 @@ const _hoisted_7$8 = {
9178
9247
  key: 3,
9179
9248
  class: "tao-segmented-option__count"
9180
9249
  };
9181
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
9250
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
9182
9251
  ...{ name: "TaoSegmentedOption" },
9183
9252
  __name: "TaoSegmentedOption",
9184
9253
  props: {
@@ -9249,9 +9318,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9249
9318
  disabled: isDisabled.value,
9250
9319
  "aria-label": __props.ariaLabel,
9251
9320
  onChange
9252
- }, null, 40, _hoisted_2$n),
9253
- createElementVNode("span", _hoisted_3$j, [
9254
- __props.icon || has("icon") ? (openBlock(), createElementBlock("span", _hoisted_4$i, [
9321
+ }, null, 40, _hoisted_2$o),
9322
+ createElementVNode("span", _hoisted_3$k, [
9323
+ __props.icon || has("icon") ? (openBlock(), createElementBlock("span", _hoisted_4$j, [
9255
9324
  renderSlot(_ctx.$slots, "icon", {}, () => [
9256
9325
  createVNode(TaoIcon, { name: __props.icon }, null, 8, ["name"])
9257
9326
  ], true)
@@ -9263,15 +9332,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9263
9332
  ])) : __props.ariaLabel ? (openBlock(), createElementBlock("span", _hoisted_6$b, toDisplayString(__props.ariaLabel), 1)) : createCommentVNode("", true),
9264
9333
  countLabel.value ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(countLabel.value), 1)) : createCommentVNode("", true)
9265
9334
  ])
9266
- ], 10, _hoisted_1$p);
9335
+ ], 10, _hoisted_1$q);
9267
9336
  };
9268
9337
  }
9269
9338
  });
9270
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-71f5d295"]]);
9271
- const _hoisted_1$o = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9272
- const _hoisted_2$m = { class: "tao-color-picker__strips" };
9273
- const _hoisted_3$i = { class: "tao-color-picker__row" };
9274
- const _hoisted_4$h = { class: "tao-color-picker__preview" };
9339
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-71f5d295"]]);
9340
+ const _hoisted_1$p = ["tabindex", "aria-label", "aria-valuetext", "aria-valuenow"];
9341
+ const _hoisted_2$n = { class: "tao-color-picker__strips" };
9342
+ const _hoisted_3$j = { class: "tao-color-picker__row" };
9343
+ const _hoisted_4$i = { class: "tao-color-picker__preview" };
9275
9344
  const _hoisted_5$d = {
9276
9345
  key: 0,
9277
9346
  class: "tao-color-picker__hex"
@@ -9283,7 +9352,7 @@ const _hoisted_6$a = {
9283
9352
  const _hoisted_7$7 = ["disabled", "aria-label", "title"];
9284
9353
  const _hoisted_8$6 = ["aria-label"];
9285
9354
  const _hoisted_9$5 = ["disabled", "aria-label", "title", "onClick"];
9286
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
9355
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
9287
9356
  ...{ name: "TaoColorPicker" },
9288
9357
  __name: "TaoColorPicker",
9289
9358
  props: {
@@ -9490,9 +9559,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9490
9559
  class: "tao-color-picker__cursor",
9491
9560
  style: normalizeStyle({ left: `${state.s * 100}%`, top: `${(1 - state.v) * 100}%`, backgroundColor: solidCss.value })
9492
9561
  }, null, 4)
9493
- ], 44, _hoisted_1$o),
9494
- createElementVNode("div", _hoisted_2$m, [
9495
- createVNode(_sfc_main$19, {
9562
+ ], 44, _hoisted_1$p),
9563
+ createElementVNode("div", _hoisted_2$n, [
9564
+ createVNode(_sfc_main$1a, {
9496
9565
  modelValue: hueValue.value,
9497
9566
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hueValue.value = $event),
9498
9567
  class: "tao-color-picker__hue",
@@ -9504,7 +9573,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9504
9573
  "aria-label": unref(l10n).hueLabel,
9505
9574
  onChange: _cache[1] || (_cache[1] = ($event) => emit("change", hex.value))
9506
9575
  }, null, 8, ["modelValue", "disabled", "aria-label"]),
9507
- __props.alpha ? (openBlock(), createBlock(_sfc_main$19, {
9576
+ __props.alpha ? (openBlock(), createBlock(_sfc_main$1a, {
9508
9577
  key: 0,
9509
9578
  modelValue: alphaValue.value,
9510
9579
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => alphaValue.value = $event),
@@ -9539,8 +9608,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9539
9608
  ]),
9540
9609
  _: 1
9541
9610
  }, 8, ["modelValue", "aria-label", "disabled"])) : createCommentVNode("", true),
9542
- createElementVNode("div", _hoisted_3$i, [
9543
- createElementVNode("span", _hoisted_4$h, [
9611
+ createElementVNode("div", _hoisted_3$j, [
9612
+ createElementVNode("span", _hoisted_4$i, [
9544
9613
  createElementVNode("span", {
9545
9614
  style: normalizeStyle({ backgroundColor: hex.value })
9546
9615
  }, null, 4)
@@ -9610,10 +9679,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9610
9679
  };
9611
9680
  }
9612
9681
  });
9613
- const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-54d56769"]]);
9614
- const _hoisted_1$n = ["disabled", "aria-label", "aria-expanded"];
9615
- const _hoisted_2$l = ["disabled"];
9616
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
9682
+ const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-54d56769"]]);
9683
+ const _hoisted_1$o = ["disabled", "aria-label", "aria-expanded"];
9684
+ const _hoisted_2$m = ["disabled"];
9685
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
9617
9686
  ...{ name: "TaoColorInput", inheritAttrs: false },
9618
9687
  __name: "TaoColorInput",
9619
9688
  props: {
@@ -9678,7 +9747,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9678
9747
  createElementVNode("span", {
9679
9748
  class: normalizeClass(["tao-color-input__text", { "tao-color-input__text--empty": empty.value }])
9680
9749
  }, toDisplayString(text.value), 3)
9681
- ], 16, _hoisted_1$n)
9750
+ ], 16, _hoisted_1$o)
9682
9751
  ]),
9683
9752
  default: withCtx(() => [
9684
9753
  createVNode(TaoColorPicker, {
@@ -9699,21 +9768,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9699
9768
  class: "tao-color-input__clear",
9700
9769
  disabled: empty.value,
9701
9770
  onClick: clear
9702
- }, toDisplayString(unref(l10n).clearText), 9, _hoisted_2$l)) : createCommentVNode("", true)
9771
+ }, toDisplayString(unref(l10n).clearText), 9, _hoisted_2$m)) : createCommentVNode("", true)
9703
9772
  ]),
9704
9773
  _: 1
9705
9774
  }, 16, ["placement", "disabled"]);
9706
9775
  };
9707
9776
  }
9708
9777
  });
9709
- const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-7e3f5d62"]]);
9710
- const _hoisted_1$m = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
9711
- const _hoisted_2$k = {
9778
+ const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-7e3f5d62"]]);
9779
+ const _hoisted_1$n = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
9780
+ const _hoisted_2$l = {
9712
9781
  key: 0,
9713
9782
  class: "tao-combobox__empty"
9714
9783
  };
9715
- const _hoisted_3$h = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
9716
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
9784
+ const _hoisted_3$i = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
9785
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
9717
9786
  ...{ name: "TaoCombobox", inheritAttrs: false },
9718
9787
  __name: "TaoCombobox",
9719
9788
  props: {
@@ -9761,8 +9830,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9761
9830
  return { value: props.modelValue, label: String(props.modelValue) };
9762
9831
  });
9763
9832
  const needle = computed(() => query.value.trim().toLowerCase());
9833
+ const typed = ref(false);
9764
9834
  const filtered = computed(() => {
9765
- if (!needle.value) {
9835
+ if (!needle.value || !typed.value) {
9766
9836
  return props.options;
9767
9837
  }
9768
9838
  return props.options.filter((option) => option.label.toLowerCase().includes(needle.value));
@@ -9801,6 +9871,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9801
9871
  }
9802
9872
  activeIndex.value = enabledIndexes.value[0] ?? -1;
9803
9873
  }
9874
+ watch(open, (isOpen) => {
9875
+ if (!isOpen) typed.value = false;
9876
+ });
9804
9877
  async function setOpen(next) {
9805
9878
  if (props.disabled) {
9806
9879
  return;
@@ -9927,6 +10000,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
9927
10000
  if (props.disabled) {
9928
10001
  return;
9929
10002
  }
10003
+ typed.value = true;
9930
10004
  void setOpen(true);
9931
10005
  resetActive();
9932
10006
  }
@@ -10082,7 +10156,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10082
10156
  onFocus,
10083
10157
  onBlur,
10084
10158
  onKeydown: onInputKeydown
10085
- }), null, 16, _hoisted_1$m),
10159
+ }), null, 16, _hoisted_1$n),
10086
10160
  createElementVNode("span", {
10087
10161
  class: normalizeClass(["tao-combobox__chevron", { "tao-combobox__chevron--custom": _ctx.$slots.chevron }]),
10088
10162
  "aria-hidden": "true"
@@ -10105,7 +10179,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10105
10179
  class: "tao-combobox__list",
10106
10180
  role: "listbox"
10107
10181
  }, [
10108
- !rows.value.length ? (openBlock(), createElementBlock("li", _hoisted_2$k, [
10182
+ !rows.value.length ? (openBlock(), createElementBlock("li", _hoisted_2$l, [
10109
10183
  renderSlot(_ctx.$slots, "empty", {}, () => [
10110
10184
  createTextVNode(toDisplayString(unref(l10n).emptyText), 1)
10111
10185
  ], true)
@@ -10135,7 +10209,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10135
10209
  ], true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
10136
10210
  createTextVNode(toDisplayString(row.option.label), 1)
10137
10211
  ], 64))
10138
- ], 42, _hoisted_3$h);
10212
+ ], 42, _hoisted_3$i);
10139
10213
  }), 128))
10140
10214
  ], 512),
10141
10215
  __props.clearable && selected.value ? (openBlock(), createElementBlock("button", {
@@ -10155,7 +10229,307 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10155
10229
  };
10156
10230
  }
10157
10231
  });
10158
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0961b3a0"]]);
10232
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3e73b0e1"]]);
10233
+ function presetLine(options) {
10234
+ const usable2 = options.filter((option) => !option.disabled);
10235
+ return [...usable2.filter((option) => !option.default), ...usable2.filter((option) => option.default)];
10236
+ }
10237
+ function presetList(options) {
10238
+ return [...options.filter((option) => option.default), ...options.filter((option) => !option.default)];
10239
+ }
10240
+ function stepPreset(options, value, direction, loop = false) {
10241
+ const line = presetLine(options);
10242
+ if (!line.length) {
10243
+ return value;
10244
+ }
10245
+ const at = line.findIndex((option) => option.value === value);
10246
+ if (at >= 0) {
10247
+ const to = at + direction;
10248
+ const index = loop ? (to + line.length) % line.length : Math.min(Math.max(to, 0), line.length - 1);
10249
+ return line[index].value;
10250
+ }
10251
+ const fallback = line.find((option) => option.default);
10252
+ if (typeof value === "number") {
10253
+ const numbers = line.filter((option) => typeof option.value === "number");
10254
+ const near = direction > 0 ? numbers.find((option) => option.value > value) : [...numbers].reverse().find((option) => option.value < value);
10255
+ if (near) {
10256
+ return near.value;
10257
+ }
10258
+ return direction > 0 || loop ? fallback?.value ?? value : value;
10259
+ }
10260
+ return (direction > 0 ? line[0] : line[line.length - 1]).value;
10261
+ }
10262
+ function parsePreset(text, options, { custom = true, min = 1, max = 999 } = {}) {
10263
+ const raw = text.trim();
10264
+ const fallback = options.find((option) => option.default && !option.disabled);
10265
+ if (raw === "") {
10266
+ return fallback?.value;
10267
+ }
10268
+ const lower = raw.toLowerCase();
10269
+ const named = options.find((option) => !option.disabled && (option.label.toLowerCase() === lower || String(option.value).toLowerCase() === lower));
10270
+ if (named) {
10271
+ return named.value;
10272
+ }
10273
+ if (!custom || !/^\d+([.,]\d+)?$/.test(raw)) {
10274
+ return void 0;
10275
+ }
10276
+ const number = Math.round(Number(raw.replace(",", ".")));
10277
+ return number >= min && number <= max ? number : void 0;
10278
+ }
10279
+ const _hoisted_1$m = ["id", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "value"];
10280
+ const _hoisted_2$k = ["aria-label", "disabled"];
10281
+ const _hoisted_3$h = ["aria-label", "disabled"];
10282
+ const _hoisted_4$h = ["id", "aria-selected", "aria-disabled", "onClick"];
10283
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
10284
+ ...{ name: "TaoPresetInput", inheritAttrs: false },
10285
+ __name: "TaoPresetInput",
10286
+ props: {
10287
+ modelValue: { default: null },
10288
+ options: { default: () => [] },
10289
+ loop: { type: Boolean, default: false },
10290
+ custom: { type: Boolean, default: true },
10291
+ min: { default: 1 },
10292
+ max: { default: 999 },
10293
+ disabled: { type: Boolean, default: false },
10294
+ error: { type: Boolean, default: false },
10295
+ size: { default: void 0 },
10296
+ variant: { default: "filled" },
10297
+ nextLabel: { default: void 0 },
10298
+ prevLabel: { default: void 0 }
10299
+ },
10300
+ emits: ["update:modelValue", "change"],
10301
+ setup(__props, { emit: __emit }) {
10302
+ const { rootAttrs, controlAttrs } = useControlAttrs();
10303
+ const props = __props;
10304
+ const emit = __emit;
10305
+ const l10n = useLocaleText(props, "presetInput");
10306
+ const { controlId, invalid, describedBy, localId } = useField(props);
10307
+ const listId = `${localId}-list`;
10308
+ const open = ref(false);
10309
+ const fieldRef = ref(null);
10310
+ const stepsRef = ref(null);
10311
+ const panelRef = ref(null);
10312
+ const inputRef = ref(null);
10313
+ const panelSize = ref("medium");
10314
+ const panelDensity = ref("default");
10315
+ const list = computed(() => presetList(props.options));
10316
+ function labelOf(value) {
10317
+ if (value === null || value === void 0) {
10318
+ return "";
10319
+ }
10320
+ return props.options.find((option) => option.value === value)?.label ?? String(value);
10321
+ }
10322
+ const text = ref(labelOf(props.modelValue));
10323
+ const typed = ref(false);
10324
+ watch(
10325
+ () => [props.modelValue, props.options],
10326
+ () => {
10327
+ text.value = labelOf(props.modelValue);
10328
+ typed.value = false;
10329
+ },
10330
+ { deep: true }
10331
+ );
10332
+ const activeId = computed(() => {
10333
+ const index = list.value.findIndex((option) => option.value === props.modelValue);
10334
+ return open.value && index >= 0 ? `${listId}-opt-${index}` : void 0;
10335
+ });
10336
+ const { style: panelStyle, update: updatePosition } = useFloating(fieldRef, panelRef, open, { placement: "bottom" });
10337
+ useDismiss(open, () => [fieldRef.value, stepsRef.value, panelRef.value], () => closeAndCommit());
10338
+ useLayer(open, { onEscape: () => closeAndRevert() });
10339
+ function setValue(next) {
10340
+ if (next !== props.modelValue) {
10341
+ emit("update:modelValue", next);
10342
+ emit("change", next);
10343
+ }
10344
+ text.value = labelOf(next);
10345
+ typed.value = false;
10346
+ }
10347
+ function commit() {
10348
+ const parsed = parsePreset(text.value, props.options, { custom: props.custom, min: props.min, max: props.max });
10349
+ if (parsed !== void 0) {
10350
+ setValue(parsed);
10351
+ } else {
10352
+ text.value = labelOf(props.modelValue);
10353
+ typed.value = false;
10354
+ }
10355
+ }
10356
+ function closeAndCommit() {
10357
+ open.value = false;
10358
+ commit();
10359
+ }
10360
+ function closeAndRevert() {
10361
+ open.value = false;
10362
+ text.value = labelOf(props.modelValue);
10363
+ typed.value = false;
10364
+ }
10365
+ async function openList() {
10366
+ if (props.disabled || open.value) {
10367
+ return;
10368
+ }
10369
+ panelSize.value = resolveSize(fieldRef.value, props.size);
10370
+ panelDensity.value = resolveDensity(fieldRef.value);
10371
+ open.value = true;
10372
+ await nextTick();
10373
+ updatePosition();
10374
+ scrollSelectedIntoView();
10375
+ }
10376
+ function scrollSelectedIntoView() {
10377
+ panelRef.value?.querySelector('[aria-selected="true"]')?.scrollIntoView({ block: "nearest" });
10378
+ }
10379
+ function step(direction) {
10380
+ if (props.disabled) {
10381
+ return;
10382
+ }
10383
+ setValue(stepPreset(props.options, props.modelValue, direction, props.loop));
10384
+ void openList();
10385
+ void nextTick(scrollSelectedIntoView);
10386
+ }
10387
+ function jump(end) {
10388
+ const line = presetLine(props.options);
10389
+ const to = end ? line[line.length - 1] : line[0];
10390
+ if (to) {
10391
+ setValue(to.value);
10392
+ void openList();
10393
+ void nextTick(scrollSelectedIntoView);
10394
+ }
10395
+ }
10396
+ function pick(option) {
10397
+ if (option.disabled) {
10398
+ return;
10399
+ }
10400
+ setValue(option.value);
10401
+ open.value = false;
10402
+ }
10403
+ function onInput(event) {
10404
+ text.value = event.target.value;
10405
+ typed.value = true;
10406
+ }
10407
+ function onFocus() {
10408
+ if (props.disabled) {
10409
+ return;
10410
+ }
10411
+ void openList();
10412
+ void nextTick(() => inputRef.value?.select());
10413
+ }
10414
+ function onBlur() {
10415
+ closeAndCommit();
10416
+ }
10417
+ function onKeydown2(event) {
10418
+ if (props.disabled || event.altKey || event.ctrlKey || event.metaKey) {
10419
+ return;
10420
+ }
10421
+ if (event.key === "ArrowUp" || event.key === "ArrowDown") {
10422
+ event.preventDefault();
10423
+ step(event.key === "ArrowUp" ? 1 : -1);
10424
+ } else if ((event.key === "Home" || event.key === "End") && !typed.value) {
10425
+ event.preventDefault();
10426
+ jump(event.key === "End");
10427
+ } else if (event.key === "Enter") {
10428
+ event.preventDefault();
10429
+ closeAndCommit();
10430
+ }
10431
+ }
10432
+ return (_ctx, _cache) => {
10433
+ return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
10434
+ class: ["tao-preset-input", [
10435
+ unref(sizeClass)(__props.size),
10436
+ {
10437
+ [`tao-preset-input--${__props.variant}`]: __props.variant !== "filled",
10438
+ "tao-preset-input--open": open.value,
10439
+ "tao-preset-input--invalid": unref(invalid),
10440
+ "tao-preset-input--disabled": __props.disabled
10441
+ }
10442
+ ]]
10443
+ }), [
10444
+ createElementVNode("div", {
10445
+ ref_key: "fieldRef",
10446
+ ref: fieldRef,
10447
+ class: "tao-preset-input__field"
10448
+ }, [
10449
+ createElementVNode("input", mergeProps({ inputmode: "numeric" }, unref(controlAttrs)(), {
10450
+ id: unref(controlId),
10451
+ ref_key: "inputRef",
10452
+ ref: inputRef,
10453
+ class: "tao-preset-input__input",
10454
+ type: "text",
10455
+ role: "combobox",
10456
+ autocomplete: "off",
10457
+ "aria-autocomplete": "none",
10458
+ "aria-haspopup": "listbox",
10459
+ "aria-expanded": open.value,
10460
+ "aria-controls": open.value ? listId : void 0,
10461
+ "aria-activedescendant": activeId.value,
10462
+ "aria-invalid": unref(invalid) || void 0,
10463
+ "aria-describedby": unref(describedBy),
10464
+ disabled: __props.disabled,
10465
+ value: text.value,
10466
+ onInput,
10467
+ onFocus,
10468
+ onBlur,
10469
+ onClick: openList,
10470
+ onKeydown: onKeydown2
10471
+ }), null, 16, _hoisted_1$m)
10472
+ ], 512),
10473
+ createElementVNode("div", {
10474
+ ref_key: "stepsRef",
10475
+ ref: stepsRef,
10476
+ class: "tao-preset-input__steps"
10477
+ }, [
10478
+ createElementVNode("button", {
10479
+ type: "button",
10480
+ tabindex: "-1",
10481
+ class: "tao-preset-input__step",
10482
+ "aria-label": unref(l10n).nextLabel,
10483
+ disabled: __props.disabled,
10484
+ onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
10485
+ }, ["prevent"])),
10486
+ onClick: _cache[1] || (_cache[1] = ($event) => step(1))
10487
+ }, [
10488
+ createVNode(TaoIcon, { name: "tao-chevron-up" })
10489
+ ], 40, _hoisted_2$k),
10490
+ createElementVNode("button", {
10491
+ type: "button",
10492
+ tabindex: "-1",
10493
+ class: "tao-preset-input__step",
10494
+ "aria-label": unref(l10n).prevLabel,
10495
+ disabled: __props.disabled,
10496
+ onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
10497
+ }, ["prevent"])),
10498
+ onClick: _cache[3] || (_cache[3] = ($event) => step(-1))
10499
+ }, [
10500
+ createVNode(TaoIcon, { name: "tao-chevron-down" })
10501
+ ], 40, _hoisted_3$h)
10502
+ ], 512),
10503
+ (openBlock(), createBlock(Teleport, { to: "body" }, [
10504
+ open.value ? (openBlock(), createElementBlock("ul", {
10505
+ key: 0,
10506
+ id: listId,
10507
+ ref_key: "panelRef",
10508
+ ref: panelRef,
10509
+ class: normalizeClass(["tao-preset-input__panel", [unref(sizeClass)(panelSize.value), unref(densityClass)(panelDensity.value)]]),
10510
+ role: "listbox",
10511
+ style: normalizeStyle(unref(panelStyle)),
10512
+ onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
10513
+ }, ["prevent"]))
10514
+ }, [
10515
+ (openBlock(true), createElementBlock(Fragment, null, renderList(list.value, (option, index) => {
10516
+ return openBlock(), createElementBlock("li", {
10517
+ id: `${listId}-opt-${index}`,
10518
+ key: String(option.value),
10519
+ class: normalizeClass(["tao-preset-input__option", { "tao-preset-input__option--selected": option.value === __props.modelValue, "tao-preset-input__option--disabled": option.disabled }]),
10520
+ role: "option",
10521
+ "aria-selected": option.value === __props.modelValue,
10522
+ "aria-disabled": option.disabled ? true : void 0,
10523
+ onClick: ($event) => pick(option)
10524
+ }, toDisplayString(option.label), 11, _hoisted_4$h);
10525
+ }), 128))
10526
+ ], 38)) : createCommentVNode("", true)
10527
+ ]))
10528
+ ], 16);
10529
+ };
10530
+ }
10531
+ });
10532
+ const TaoPresetInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-c3da5775"]]);
10159
10533
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
10160
10534
  function formatTaoDateIso(parts) {
10161
10535
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -12616,7 +12990,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12616
12990
  class: "tao-breadcrumb__item"
12617
12991
  }, [
12618
12992
  index > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$4, "/")) : createCommentVNode("", true),
12619
- index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$u, {
12993
+ index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$v, {
12620
12994
  key: 2,
12621
12995
  class: "tao-breadcrumb__link",
12622
12996
  to: item.to
@@ -13748,10 +14122,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13748
14122
  "aria-describedby": unref(currentConfirm).message ? "tao-confirm-message" : void 0,
13749
14123
  tabindex: "-1"
13750
14124
  }, [
13751
- _cache[2] || (_cache[2] = createElementVNode("span", {
13752
- class: "tao-confirm__accent",
13753
- "aria-hidden": "true"
13754
- }, null, -1)),
13755
14125
  createElementVNode("span", _hoisted_2, [
13756
14126
  createVNode(TaoIcon, {
13757
14127
  name: unref(currentConfirm).danger ? "tao-x-circle" : "tao-info",
@@ -13794,7 +14164,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13794
14164
  };
13795
14165
  }
13796
14166
  });
13797
- const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3af3ec95"]]);
14167
+ const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c643528d"]]);
13798
14168
  const TYPE_TIMEOUT = {
13799
14169
  success: 3e3,
13800
14170
  danger: 5e3,
@@ -14273,10 +14643,10 @@ const components = [
14273
14643
  TaoSpoiler,
14274
14644
  TaoSpoilerGroup,
14275
14645
  TaoCopy,
14646
+ _sfc_main$13,
14276
14647
  _sfc_main$12,
14277
- _sfc_main$11,
14278
14648
  TaoContainer,
14279
- _sfc_main$$,
14649
+ _sfc_main$10,
14280
14650
  TaoSpace,
14281
14651
  TaoGrid,
14282
14652
  TaoGridItem,
@@ -14292,11 +14662,11 @@ const components = [
14292
14662
  TaoTextarea,
14293
14663
  TaoScrollTop,
14294
14664
  TaoProgress,
14295
- _sfc_main$19,
14296
- _sfc_main$N,
14665
+ _sfc_main$1a,
14666
+ _sfc_main$O,
14297
14667
  TaoFileDrop,
14298
14668
  TaoDropdownMenu,
14299
- _sfc_main$L,
14669
+ _sfc_main$M,
14300
14670
  TaoMenubar,
14301
14671
  TaoToolbar,
14302
14672
  TaoToolbarGroup,
@@ -14312,13 +14682,14 @@ const components = [
14312
14682
  TaoMarquee,
14313
14683
  TaoContextMenu,
14314
14684
  TaoPinCode,
14685
+ _sfc_main$v,
14315
14686
  _sfc_main$u,
14316
- _sfc_main$t,
14317
14687
  TaoFormField,
14318
14688
  TaoSelect,
14319
14689
  TaoColorInput,
14320
14690
  TaoColorPicker,
14321
14691
  TaoCombobox,
14692
+ TaoPresetInput,
14322
14693
  _sfc_main$l,
14323
14694
  TaoDate,
14324
14695
  TaoDateRange,
@@ -14387,7 +14758,7 @@ export {
14387
14758
  TaoEmpty,
14388
14759
  TaoFieldset,
14389
14760
  TaoFileDrop,
14390
- _sfc_main$$ as TaoFlex,
14761
+ _sfc_main$10 as TaoFlex,
14391
14762
  TaoFormField,
14392
14763
  TaoGrid,
14393
14764
  TaoGridItem,
@@ -14397,12 +14768,12 @@ export {
14397
14768
  TaoInput,
14398
14769
  TaoInputGroup,
14399
14770
  TaoInputNumber,
14400
- _sfc_main$u as TaoLink,
14771
+ _sfc_main$v as TaoLink,
14401
14772
  TaoList,
14402
14773
  TaoListItem,
14403
14774
  TaoLoader,
14404
14775
  TaoMarquee,
14405
- _sfc_main$L as TaoMenu,
14776
+ _sfc_main$M as TaoMenu,
14406
14777
  TaoMenubar,
14407
14778
  TaoMeter,
14408
14779
  TaoModal,
@@ -14410,38 +14781,39 @@ export {
14410
14781
  TaoPagination,
14411
14782
  TaoPinCode,
14412
14783
  TaoPopover,
14784
+ TaoPresetInput,
14413
14785
  TaoProgress,
14414
14786
  TaoQuantity,
14415
14787
  TaoRadio,
14416
14788
  TaoRadioGroup,
14417
- _sfc_main$N as TaoRangeSlider,
14789
+ _sfc_main$O as TaoRangeSlider,
14418
14790
  TaoScrollTop,
14419
14791
  TaoScrubber,
14420
14792
  TaoSegmented,
14421
14793
  TaoSegmentedOption,
14422
14794
  TaoSelect,
14423
14795
  TaoSkeleton,
14424
- _sfc_main$19 as TaoSlider,
14796
+ _sfc_main$1a as TaoSlider,
14425
14797
  TaoSpace,
14426
14798
  TaoSparkline,
14427
14799
  TaoSplit,
14428
14800
  TaoSpoiler,
14429
14801
  TaoSpoilerGroup,
14430
14802
  TaoStages,
14431
- _sfc_main$t as TaoStretchedLink,
14803
+ _sfc_main$u as TaoStretchedLink,
14432
14804
  TaoSwitch,
14433
14805
  TaoTable,
14434
14806
  TaoTabs,
14435
14807
  TaoTag,
14436
14808
  TaoTextarea,
14437
- _sfc_main$12 as TaoThemeToggle,
14809
+ _sfc_main$13 as TaoThemeToggle,
14438
14810
  TaoTimeline,
14439
14811
  TaoToastViewport,
14440
14812
  TaoToolbar,
14441
14813
  TaoToolbarGroup,
14442
14814
  TaoToolbarSeparator,
14443
14815
  TaoTooltip,
14444
- _sfc_main$11 as TaoTour,
14816
+ _sfc_main$12 as TaoTour,
14445
14817
  TaoTree,
14446
14818
  TaoUI,
14447
14819
  apcaContrast,
@@ -14473,11 +14845,13 @@ export {
14473
14845
  provideTaoLocale,
14474
14846
  readTaoMode,
14475
14847
  registerTaoIcons,
14848
+ resolveTaoMode,
14476
14849
  resolveTourTarget,
14477
14850
  rgbToHsl,
14478
14851
  rgbaToHsva,
14479
14852
  setTaoLocale,
14480
14853
  srgbToLinear,
14854
+ systemTaoMode,
14481
14855
  taoChartTheme,
14482
14856
  taoDateOrder,
14483
14857
  taoIconNames,