@1337exp/taoui 5.27.0 → 5.28.0

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
@@ -1,4 +1,4 @@
1
- import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, ref, inject, provide, shallowRef, unref, createElementVNode, createStaticVNode, toDisplayString, createCommentVNode, useSlots, useAttrs, createBlock, useId, mergeProps, watch, createVNode, toValue, onBeforeUnmount, Teleport, Transition, withCtx, nextTick, Fragment, renderList, createTextVNode, onMounted, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, withModifiers, onBeforeMount, resolveComponent, toRef, withDirectives, vShow, getCurrentInstance, reactive, withKeys, vModelText, TransitionGroup, onUpdated, createApp } from "vue";
1
+ import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, ref, inject, provide, shallowRef, unref, createElementVNode, createStaticVNode, toDisplayString, createCommentVNode, useSlots, useAttrs, createBlock, useId, mergeProps, watch, createVNode, toValue, onBeforeUnmount, nextTick, onMounted, Teleport, Transition, withCtx, Fragment, renderList, createTextVNode, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, withModifiers, onBeforeMount, resolveComponent, toRef, withDirectives, vShow, getCurrentInstance, reactive, withKeys, vModelText, TransitionGroup, onUpdated, createApp } from "vue";
2
2
  function isDev() {
3
3
  try {
4
4
  return process.env.NODE_ENV !== "production";
@@ -99,7 +99,7 @@ function resolveTaoIcon(name) {
99
99
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
100
100
  const _hoisted_1$18 = { class: "tao-icon" };
101
101
  const _hoisted_2$_ = ["viewBox", "width", "height", "innerHTML"];
102
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
102
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
103
103
  ...{ name: "TaoIcon" },
104
104
  __name: "TaoIcon",
105
105
  props: {
@@ -152,7 +152,7 @@ const _export_sfc = (sfc, props) => {
152
152
  }
153
153
  return target;
154
154
  };
155
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-ef842331"]]);
155
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-ef842331"]]);
156
156
  const localeEn = {
157
157
  code: "en-US",
158
158
  alert: { closeLabel: "Close", detailsLabel: "Details" },
@@ -606,7 +606,7 @@ const _hoisted_6$q = {
606
606
  key: 4,
607
607
  class: "tao-sr-only"
608
608
  };
609
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
609
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
610
610
  ...{ name: "TaoLoader" },
611
611
  __name: "TaoLoader",
612
612
  props: {
@@ -657,7 +657,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
657
657
  };
658
658
  }
659
659
  });
660
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-03f29efb"]]);
660
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-03f29efb"]]);
661
661
  const _hoisted_1$16 = ["type", "aria-pressed", "aria-keyshortcuts", "aria-busy", "disabled"];
662
662
  const _hoisted_2$Y = {
663
663
  key: 2,
@@ -668,7 +668,7 @@ const _hoisted_3$P = {
668
668
  class: "tao-button__shortcut",
669
669
  "aria-hidden": "true"
670
670
  };
671
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
671
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
672
672
  ...{ name: "TaoButton" },
673
673
  __name: "TaoButton",
674
674
  props: {
@@ -755,7 +755,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
755
755
  };
756
756
  }
757
757
  });
758
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-278f587a"]]);
758
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-278f587a"]]);
759
759
  function toCssLength(value) {
760
760
  if (value === void 0 || value === null || value === "") {
761
761
  return void 0;
@@ -774,7 +774,7 @@ function stripeClasses(stripe, tone = "accent") {
774
774
  function surfaceClass(surface) {
775
775
  return surface && surface !== "flat" ? `tao-surface-${surface}` : void 0;
776
776
  }
777
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
777
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
778
778
  ...{ name: "TaoBlock" },
779
779
  __name: "TaoBlock",
780
780
  props: {
@@ -807,7 +807,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
807
807
  };
808
808
  }
809
809
  });
810
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-1fc66575"]]);
810
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-1fc66575"]]);
811
811
  function useControlAttrs() {
812
812
  const attrs = useAttrs();
813
813
  return {
@@ -838,7 +838,7 @@ const _hoisted_3$O = {
838
838
  key: 1,
839
839
  class: "tao-input__affix tao-input__affix--suffix"
840
840
  };
841
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
841
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
842
842
  ...{ name: "TaoInput", inheritAttrs: false },
843
843
  __name: "TaoInput",
844
844
  props: {
@@ -908,7 +908,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
908
908
  };
909
909
  }
910
910
  });
911
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-5b617319"]]);
911
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-5b617319"]]);
912
912
  const _hoisted_1$14 = {
913
913
  key: 0,
914
914
  class: "tao-input-group__addon tao-input-group__addon--before"
@@ -918,7 +918,7 @@ const _hoisted_3$N = {
918
918
  key: 1,
919
919
  class: "tao-input-group__addon tao-input-group__addon--after"
920
920
  };
921
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
921
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
922
922
  ...{ name: "TaoInputGroup" },
923
923
  __name: "TaoInputGroup",
924
924
  props: {
@@ -956,7 +956,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
956
956
  };
957
957
  }
958
958
  });
959
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-55b2d297"]]);
959
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-55b2d297"]]);
960
960
  const _hoisted_1$13 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
961
961
  const _hoisted_2$V = {
962
962
  key: 0,
@@ -966,7 +966,7 @@ const _hoisted_3$M = ["aria-label", "disabled"];
966
966
  const _hoisted_4$F = { "aria-hidden": "true" };
967
967
  const _hoisted_5$v = ["aria-label", "disabled"];
968
968
  const _hoisted_6$p = { "aria-hidden": "true" };
969
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
969
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
970
970
  ...{ name: "TaoInputNumber", inheritAttrs: false },
971
971
  __name: "TaoInputNumber",
972
972
  props: {
@@ -1160,13 +1160,13 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1160
1160
  };
1161
1161
  }
1162
1162
  });
1163
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-dc5bb759"]]);
1163
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-dc5bb759"]]);
1164
1164
  const _hoisted_1$12 = ["aria-label", "disabled"];
1165
1165
  const _hoisted_2$U = { "aria-hidden": "true" };
1166
1166
  const _hoisted_3$L = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1167
1167
  const _hoisted_4$E = ["aria-label", "disabled"];
1168
1168
  const _hoisted_5$u = { "aria-hidden": "true" };
1169
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1169
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1170
1170
  ...{ name: "TaoQuantity", inheritAttrs: false },
1171
1171
  __name: "TaoQuantity",
1172
1172
  props: {
@@ -1349,7 +1349,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1349
1349
  };
1350
1350
  }
1351
1351
  });
1352
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-6453479c"]]);
1352
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-6453479c"]]);
1353
1353
  const _hoisted_1$11 = {
1354
1354
  key: 0,
1355
1355
  class: "tao-card__media"
@@ -1391,7 +1391,7 @@ const _hoisted_10$5 = {
1391
1391
  class: "tao-card__corner"
1392
1392
  };
1393
1393
  const _hoisted_11$4 = ["aria-label"];
1394
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1394
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1395
1395
  ...{ name: "TaoCard" },
1396
1396
  __name: "TaoCard",
1397
1397
  props: {
@@ -1494,7 +1494,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1494
1494
  };
1495
1495
  }
1496
1496
  });
1497
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-72c9a80f"]]);
1497
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-72c9a80f"]]);
1498
1498
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1499
1499
  function getFocusable(root) {
1500
1500
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1616,6 +1616,46 @@ function useLayer(open, options = {}) {
1616
1616
  onBeforeUnmount(leave);
1617
1617
  return { isTop: () => stack[stack.length - 1] === layer };
1618
1618
  }
1619
+ function centringNudge(box, panel) {
1620
+ return Math.abs(Math.round(box) - Math.round(panel)) % 2 === 1 ? 1 : 0;
1621
+ }
1622
+ function useWholePixelPanel(panel, open) {
1623
+ let observer = null;
1624
+ function snap() {
1625
+ const el = panel.value;
1626
+ const box = el?.parentElement;
1627
+ if (!el || !box) {
1628
+ return;
1629
+ }
1630
+ el.style.marginTop = "";
1631
+ el.style.marginTop = centringNudge(box.clientHeight, el.offsetHeight) ? "1px" : "";
1632
+ }
1633
+ function stop() {
1634
+ observer?.disconnect();
1635
+ observer = null;
1636
+ }
1637
+ watch(
1638
+ open,
1639
+ async (isOpen) => {
1640
+ stop();
1641
+ if (!isOpen) {
1642
+ return;
1643
+ }
1644
+ await nextTick();
1645
+ snap();
1646
+ if (panel.value && typeof ResizeObserver !== "undefined") {
1647
+ observer = new ResizeObserver(snap);
1648
+ observer.observe(panel.value);
1649
+ }
1650
+ },
1651
+ { immediate: true }
1652
+ );
1653
+ onMounted(() => window.addEventListener("resize", snap));
1654
+ onBeforeUnmount(() => {
1655
+ window.removeEventListener("resize", snap);
1656
+ stop();
1657
+ });
1658
+ }
1619
1659
  const _hoisted_1$10 = ["aria-labelledby"];
1620
1660
  const _hoisted_2$S = {
1621
1661
  key: 0,
@@ -1630,7 +1670,7 @@ const _hoisted_8$c = {
1630
1670
  key: 1,
1631
1671
  class: "tao-modal__footer"
1632
1672
  };
1633
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1673
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1634
1674
  ...{ name: "TaoModal", inheritAttrs: false },
1635
1675
  __name: "TaoModal",
1636
1676
  props: {
@@ -1679,6 +1719,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1679
1719
  }
1680
1720
  pointerDownOnOverlay = false;
1681
1721
  }
1722
+ useWholePixelPanel(panelRef, () => props.modelValue);
1682
1723
  useLayer(() => props.modelValue, { lockScroll: true, restoreFocus: true, onEscape: close });
1683
1724
  watch(
1684
1725
  () => props.modelValue,
@@ -1749,10 +1790,10 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1749
1790
  };
1750
1791
  }
1751
1792
  });
1752
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-ea0d125e"]]);
1793
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-347eb7af"]]);
1753
1794
  const _hoisted_1$$ = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1754
1795
  const _hoisted_2$R = ["id", "aria-labelledby"];
1755
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1796
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1756
1797
  ...{ name: "TaoTabs" },
1757
1798
  __name: "TaoTabs",
1758
1799
  props: {
@@ -1862,7 +1903,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1862
1903
  };
1863
1904
  }
1864
1905
  });
1865
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-70811078"]]);
1906
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-70811078"]]);
1866
1907
  function listenFocusLoss(onLoss) {
1867
1908
  function onVisibilityChange() {
1868
1909
  if (document.hidden) {
@@ -2390,7 +2431,7 @@ const _hoisted_6$m = {
2390
2431
  key: 0,
2391
2432
  class: "tao-slider__mark-label"
2392
2433
  };
2393
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2434
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2394
2435
  ...{ name: "TaoSliderBase" },
2395
2436
  __name: "TaoSliderBase",
2396
2437
  props: {
@@ -2716,8 +2757,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2716
2757
  };
2717
2758
  }
2718
2759
  });
2719
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-f2374981"]]);
2720
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2760
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-f2374981"]]);
2761
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2721
2762
  ...{ name: "TaoSlider" },
2722
2763
  __name: "TaoSlider",
2723
2764
  props: {
@@ -2789,7 +2830,7 @@ const _hoisted_3$H = {
2789
2830
  key: 0,
2790
2831
  class: "tao-scrubber__time"
2791
2832
  };
2792
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2833
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2793
2834
  ...{ name: "TaoScrubber" },
2794
2835
  __name: "TaoScrubber",
2795
2836
  props: {
@@ -2860,7 +2901,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2860
2901
  }, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
2861
2902
  ]),
2862
2903
  createElementVNode("div", _hoisted_2$P, [
2863
- createVNode(_sfc_main$18, {
2904
+ createVNode(_sfc_main$19, {
2864
2905
  "model-value": __props.modelValue,
2865
2906
  min: 0,
2866
2907
  max: __props.length,
@@ -2896,7 +2937,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2896
2937
  };
2897
2938
  }
2898
2939
  });
2899
- const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-517dc331"]]);
2940
+ const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-517dc331"]]);
2900
2941
  const opposite = { top: "bottom", bottom: "top", left: "right", right: "left" };
2901
2942
  function computePosition(input) {
2902
2943
  const { anchor, size, viewport, placement = "bottom-start", gap = 4, pad = 8, flip = true } = input;
@@ -2928,6 +2969,8 @@ function computePosition(input) {
2928
2969
  }
2929
2970
  left = Math.max(pad, Math.min(left, viewport.width - pad - size.width));
2930
2971
  top = Math.max(pad, Math.min(top, viewport.height - pad - size.height));
2972
+ left = Math.round(left);
2973
+ top = Math.round(top);
2931
2974
  return {
2932
2975
  top,
2933
2976
  left,
@@ -3022,7 +3065,7 @@ function useFloating(anchor, panel, open, options = {}) {
3022
3065
  });
3023
3066
  return { style, side, anchorOffset, placed, update };
3024
3067
  }
3025
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3068
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
3026
3069
  ...{ name: "TaoTooltip" },
3027
3070
  __name: "TaoTooltip",
3028
3071
  props: {
@@ -3100,7 +3143,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3100
3143
  };
3101
3144
  }
3102
3145
  });
3103
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-32ae3936"]]);
3146
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-32ae3936"]]);
3104
3147
  function useDismiss(open, inside, onDismiss) {
3105
3148
  function onPointer(event) {
3106
3149
  const target = event.target;
@@ -3130,7 +3173,7 @@ function useDismiss(open, inside, onDismiss) {
3130
3173
  onBeforeUnmount(stop);
3131
3174
  }
3132
3175
  const _hoisted_1$Y = { class: "tao-popover" };
3133
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3176
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3134
3177
  ...{ name: "TaoPopover" },
3135
3178
  __name: "TaoPopover",
3136
3179
  props: {
@@ -3213,7 +3256,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3213
3256
  };
3214
3257
  }
3215
3258
  });
3216
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-6822af1e"]]);
3259
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-6822af1e"]]);
3217
3260
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
3218
3261
  function frameStyle(bordered) {
3219
3262
  if (bordered === void 0 || bordered === null) {
@@ -3228,7 +3271,7 @@ const _hoisted_2$O = {
3228
3271
  };
3229
3272
  const _hoisted_3$G = ["id"];
3230
3273
  const _hoisted_4$A = { class: "tao-spoiler__content-inner" };
3231
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3274
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3232
3275
  ...{ name: "TaoSpoiler" },
3233
3276
  __name: "TaoSpoiler",
3234
3277
  props: {
@@ -3330,9 +3373,9 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3330
3373
  };
3331
3374
  }
3332
3375
  });
3333
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-1e16d6d1"]]);
3376
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-1e16d6d1"]]);
3334
3377
  const _hoisted_1$W = { class: "tao-spoiler-group" };
3335
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3378
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3336
3379
  ...{ name: "TaoSpoilerGroup" },
3337
3380
  __name: "TaoSpoilerGroup",
3338
3381
  props: {
@@ -3363,9 +3406,9 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3363
3406
  };
3364
3407
  }
3365
3408
  });
3366
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-7986fd2a"]]);
3409
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7986fd2a"]]);
3367
3410
  const _hoisted_1$V = ["aria-label"];
3368
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3411
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3369
3412
  ...{ name: "TaoCopy" },
3370
3413
  __name: "TaoCopy",
3371
3414
  props: {
@@ -3453,7 +3496,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3453
3496
  };
3454
3497
  }
3455
3498
  });
3456
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-e181129d"]]);
3499
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-e181129d"]]);
3457
3500
  function readTaoMode(el) {
3458
3501
  const mode = el.getAttribute("data-tao-mode");
3459
3502
  if (mode === "light" || mode === "dark") {
@@ -3468,7 +3511,7 @@ function applyTaoMode(el, mode) {
3468
3511
  el.setAttribute("data-tao-theme", mode);
3469
3512
  }
3470
3513
  }
3471
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3514
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3472
3515
  ...{ name: "TaoThemeToggle" },
3473
3516
  __name: "TaoThemeToggle",
3474
3517
  props: {
@@ -3609,7 +3652,7 @@ const _hoisted_8$b = {
3609
3652
  };
3610
3653
  const _hoisted_9$8 = { class: "tao-tour__progress-text" };
3611
3654
  const _hoisted_10$4 = { class: "tao-tour__actions" };
3612
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3655
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3613
3656
  ...{ name: "TaoTour" },
3614
3657
  __name: "TaoTour",
3615
3658
  props: {
@@ -3866,7 +3909,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3866
3909
  };
3867
3910
  }
3868
3911
  });
3869
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3912
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3870
3913
  ...{ name: "TaoContainer" },
3871
3914
  __name: "TaoContainer",
3872
3915
  props: {
@@ -3885,8 +3928,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3885
3928
  };
3886
3929
  }
3887
3930
  });
3888
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a5e36052"]]);
3889
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
3931
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-a5e36052"]]);
3932
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3890
3933
  ...{ name: "TaoFlex" },
3891
3934
  __name: "TaoFlex",
3892
3935
  props: {
@@ -3917,7 +3960,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
3917
3960
  };
3918
3961
  }
3919
3962
  });
3920
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3963
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
3921
3964
  ...{ name: "TaoSpace" },
3922
3965
  __name: "TaoSpace",
3923
3966
  props: {
@@ -3938,7 +3981,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3938
3981
  };
3939
3982
  }
3940
3983
  });
3941
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d6fec8bb"]]);
3984
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d6fec8bb"]]);
3942
3985
  const FULL_SPAN = 999;
3943
3986
  function perSize(value, fallback, compactPlain) {
3944
3987
  if (value === void 0 || value === null) {
@@ -3955,7 +3998,7 @@ function perSize(value, fallback, compactPlain) {
3955
3998
  }
3956
3999
  const spanNumber = (span) => span === "full" ? FULL_SPAN : Math.max(1, Math.round(span));
3957
4000
  const _hoisted_1$T = { class: "tao-grid__cells" };
3958
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
4001
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
3959
4002
  ...{ name: "TaoGrid" },
3960
4003
  __name: "TaoGrid",
3961
4004
  props: {
@@ -3990,8 +4033,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
3990
4033
  };
3991
4034
  }
3992
4035
  });
3993
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-e95541e2"]]);
3994
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
4036
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-e95541e2"]]);
4037
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
3995
4038
  ...{ name: "TaoGridItem" },
3996
4039
  __name: "TaoGridItem",
3997
4040
  props: {
@@ -4027,7 +4070,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4027
4070
  };
4028
4071
  }
4029
4072
  });
4030
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-d42e5e67"]]);
4073
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d42e5e67"]]);
4031
4074
  const _hoisted_1$S = { class: "tao-split__pane tao-split__pane--start" };
4032
4075
  const _hoisted_2$M = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
4033
4076
  const _hoisted_3$E = { class: "tao-split__pane tao-split__pane--end" };
@@ -4035,7 +4078,7 @@ const _hoisted_4$y = {
4035
4078
  key: 0,
4036
4079
  class: "tao-split__shield"
4037
4080
  };
4038
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
4081
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
4039
4082
  ...{ name: "TaoSplit" },
4040
4083
  __name: "TaoSplit",
4041
4084
  props: {
@@ -4364,11 +4407,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4364
4407
  };
4365
4408
  }
4366
4409
  });
4367
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-316b0d45"]]);
4410
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-316b0d45"]]);
4368
4411
  const _hoisted_1$R = { class: "tao-image" };
4369
4412
  const _hoisted_2$L = ["src", "alt", "loading"];
4370
4413
  const _hoisted_3$D = { class: "tao-image__placeholder" };
4371
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
4414
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4372
4415
  ...{ name: "TaoImage" },
4373
4416
  __name: "TaoImage",
4374
4417
  props: {
@@ -4418,7 +4461,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4418
4461
  };
4419
4462
  }
4420
4463
  });
4421
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-61f47c52"]]);
4464
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-61f47c52"]]);
4422
4465
  const _hoisted_1$Q = ["for"];
4423
4466
  const _hoisted_2$K = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
4424
4467
  const _hoisted_3$C = {
@@ -4429,7 +4472,7 @@ const _hoisted_4$x = {
4429
4472
  key: 1,
4430
4473
  class: "tao-checkbox__label"
4431
4474
  };
4432
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
4475
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4433
4476
  ...{ name: "TaoCheckbox", inheritAttrs: false },
4434
4477
  __name: "TaoCheckbox",
4435
4478
  props: {
@@ -4510,7 +4553,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4510
4553
  };
4511
4554
  }
4512
4555
  });
4513
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-55451432"]]);
4556
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-55451432"]]);
4514
4557
  const _hoisted_1$P = {
4515
4558
  key: 0,
4516
4559
  class: "tao-tag__prefix"
@@ -4518,7 +4561,7 @@ const _hoisted_1$P = {
4518
4561
  const _hoisted_2$J = { class: "tao-tag__text" };
4519
4562
  const _hoisted_3$B = ["aria-label"];
4520
4563
  const _hoisted_4$w = { "aria-hidden": "true" };
4521
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
4564
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4522
4565
  ...{ name: "TaoTag" },
4523
4566
  __name: "TaoTag",
4524
4567
  props: {
@@ -4583,7 +4626,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4583
4626
  };
4584
4627
  }
4585
4628
  });
4586
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-03794ffd"]]);
4629
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-03794ffd"]]);
4587
4630
  const _hoisted_1$O = ["role", "aria-hidden"];
4588
4631
  const _hoisted_2$I = {
4589
4632
  key: 1,
@@ -4593,7 +4636,7 @@ const _hoisted_3$A = {
4593
4636
  key: 2,
4594
4637
  class: "tao-divider__line tao-divider__line--end"
4595
4638
  };
4596
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
4639
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4597
4640
  ...{ name: "TaoDivider" },
4598
4641
  __name: "TaoDivider",
4599
4642
  props: {
@@ -4634,13 +4677,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
4634
4677
  };
4635
4678
  }
4636
4679
  });
4637
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-5899337f"]]);
4680
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-5899337f"]]);
4638
4681
  const _hoisted_1$N = {
4639
4682
  key: 0,
4640
4683
  class: "tao-fieldset__legend"
4641
4684
  };
4642
4685
  const _hoisted_2$H = { class: "tao-fieldset__body" };
4643
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
4686
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
4644
4687
  ...{ name: "TaoFieldset" },
4645
4688
  __name: "TaoFieldset",
4646
4689
  props: {
@@ -4664,8 +4707,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4664
4707
  };
4665
4708
  }
4666
4709
  });
4667
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-3445dafd"]]);
4668
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4710
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-3445dafd"]]);
4711
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4669
4712
  ...{ name: "TaoAnimatedBorder" },
4670
4713
  __name: "TaoAnimatedBorder",
4671
4714
  props: {
@@ -4708,10 +4751,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4708
4751
  };
4709
4752
  }
4710
4753
  });
4711
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86ba074e"]]);
4754
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-86ba074e"]]);
4712
4755
  const _hoisted_1$M = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
4713
4756
  const _hoisted_2$G = ["id"];
4714
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
4757
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
4715
4758
  ...{ name: "TaoTextarea", inheritAttrs: false },
4716
4759
  __name: "TaoTextarea",
4717
4760
  props: {
@@ -4859,7 +4902,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
4859
4902
  };
4860
4903
  }
4861
4904
  });
4862
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-9aaf7131"]]);
4905
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-9aaf7131"]]);
4863
4906
  const _hoisted_1$L = ["aria-label"];
4864
4907
  const _hoisted_2$F = { class: "tao-scroll-top__content" };
4865
4908
  const _hoisted_3$z = {
@@ -4867,7 +4910,7 @@ const _hoisted_3$z = {
4867
4910
  class: "tao-scroll-top__text",
4868
4911
  "aria-hidden": "true"
4869
4912
  };
4870
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
4913
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
4871
4914
  ...{ name: "TaoScrollTop", inheritAttrs: false },
4872
4915
  __name: "TaoScrollTop",
4873
4916
  props: {
@@ -4985,7 +5028,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
4985
5028
  };
4986
5029
  }
4987
5030
  });
4988
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-69ee603c"]]);
5031
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-69ee603c"]]);
4989
5032
  const _hoisted_1$K = { class: "tao-progress" };
4990
5033
  const _hoisted_2$E = {
4991
5034
  key: 0,
@@ -5004,7 +5047,7 @@ const _hoisted_6$k = {
5004
5047
  key: 0,
5005
5048
  class: "tao-progress__percentage"
5006
5049
  };
5007
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
5050
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5008
5051
  ...{ name: "TaoProgress" },
5009
5052
  __name: "TaoProgress",
5010
5053
  props: {
@@ -5062,8 +5105,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5062
5105
  };
5063
5106
  }
5064
5107
  });
5065
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-4de488a6"]]);
5066
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
5108
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-4de488a6"]]);
5109
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5067
5110
  ...{ name: "TaoRangeSlider" },
5068
5111
  __name: "TaoRangeSlider",
5069
5112
  props: {
@@ -5168,7 +5211,7 @@ const _hoisted_6$j = { class: "tao-file-drop__name" };
5168
5211
  const _hoisted_7$g = { class: "tao-file-drop__meta" };
5169
5212
  const _hoisted_8$a = ["aria-label", "onClick"];
5170
5213
  const _hoisted_9$7 = { "aria-hidden": "true" };
5171
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
5214
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5172
5215
  ...{ name: "TaoFileDrop", inheritAttrs: false },
5173
5216
  __name: "TaoFileDrop",
5174
5217
  props: {
@@ -5349,7 +5392,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5349
5392
  };
5350
5393
  }
5351
5394
  });
5352
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-093403e5"]]);
5395
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-093403e5"]]);
5353
5396
  function isMenuSelectable(item) {
5354
5397
  return item.type !== "separator" && item.type !== "label" && !item.disabled;
5355
5398
  }
@@ -5468,7 +5511,7 @@ const _hoisted_7$f = {
5468
5511
  class: "tao-menu__arrow",
5469
5512
  "aria-hidden": "true"
5470
5513
  };
5471
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
5514
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5472
5515
  ...{ name: "TaoMenu" },
5473
5516
  __name: "TaoMenu",
5474
5517
  props: {
@@ -5715,7 +5758,7 @@ const _hoisted_3$v = {
5715
5758
  key: 1,
5716
5759
  "aria-hidden": "true"
5717
5760
  };
5718
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
5761
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5719
5762
  ...{ name: "TaoDropdownMenu" },
5720
5763
  __name: "TaoDropdownMenu",
5721
5764
  props: {
@@ -5768,7 +5811,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5768
5811
  ], true)
5769
5812
  ]))
5770
5813
  ], 42, _hoisted_2$B),
5771
- createVNode(_sfc_main$K, {
5814
+ createVNode(_sfc_main$L, {
5772
5815
  items: __props.items,
5773
5816
  open: isOpen.value,
5774
5817
  anchor: triggerRef.value,
@@ -5790,8 +5833,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5790
5833
  };
5791
5834
  }
5792
5835
  });
5793
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-0e71d618"]]);
5794
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
5836
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-0e71d618"]]);
5837
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5795
5838
  ...{ name: "TaoContextMenu" },
5796
5839
  __name: "TaoContextMenu",
5797
5840
  props: {
@@ -5844,7 +5887,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5844
5887
  "aria-hidden": "true",
5845
5888
  style: normalizeStyle({ left: `${point.value.x}px`, top: `${point.value.y}px` })
5846
5889
  }, null, 4),
5847
- createVNode(_sfc_main$K, {
5890
+ createVNode(_sfc_main$L, {
5848
5891
  items: __props.items,
5849
5892
  open: isOpen.value,
5850
5893
  anchor: anchor.value,
@@ -5866,10 +5909,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5866
5909
  };
5867
5910
  }
5868
5911
  });
5869
- const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-65a7f071"]]);
5912
+ const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-65a7f071"]]);
5870
5913
  const _hoisted_1$G = ["aria-label"];
5871
5914
  const _hoisted_2$A = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
5872
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
5915
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5873
5916
  ...{ name: "TaoMenubar" },
5874
5917
  __name: "TaoMenubar",
5875
5918
  props: {
@@ -6000,7 +6043,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6000
6043
  onMouseenter: ($event) => onEnter(index),
6001
6044
  onFocus: ($event) => current2.value = index
6002
6045
  }, toDisplayString(entry.label), 43, _hoisted_2$A),
6003
- hasMenu(index) ? (openBlock(), createBlock(_sfc_main$K, {
6046
+ hasMenu(index) ? (openBlock(), createBlock(_sfc_main$L, {
6004
6047
  key: 0,
6005
6048
  items: entry.items,
6006
6049
  open: openIndex.value === index,
@@ -6026,7 +6069,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6026
6069
  };
6027
6070
  }
6028
6071
  });
6029
- const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-446c1c49"]]);
6072
+ const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-446c1c49"]]);
6030
6073
  const toolbarKey = Symbol("tao-toolbar");
6031
6074
  const ITEMS = 'button, a[href], input, select, textarea, [role="button"], [data-tao-toolbar-item]';
6032
6075
  const TEXT_INPUT = /^(text|search|email|url|tel|password|number|date|time|datetime-local|month|week)$/;
@@ -6080,7 +6123,7 @@ function isTextField(el) {
6080
6123
  return el instanceof HTMLInputElement && TEXT_INPUT.test(el.type);
6081
6124
  }
6082
6125
  const _hoisted_1$F = ["aria-label", "aria-orientation"];
6083
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
6126
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6084
6127
  ...{ name: "TaoToolbar" },
6085
6128
  __name: "TaoToolbar",
6086
6129
  props: {
@@ -6176,9 +6219,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6176
6219
  };
6177
6220
  }
6178
6221
  });
6179
- const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-ba64d699"]]);
6222
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ba64d699"]]);
6180
6223
  const _hoisted_1$E = ["aria-label"];
6181
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
6224
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6182
6225
  ...{ name: "TaoToolbarGroup" },
6183
6226
  __name: "TaoToolbarGroup",
6184
6227
  props: {
@@ -6197,9 +6240,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6197
6240
  };
6198
6241
  }
6199
6242
  });
6200
- const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1840d8d6"]]);
6243
+ const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1840d8d6"]]);
6201
6244
  const _hoisted_1$D = ["aria-orientation"];
6202
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
6245
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6203
6246
  ...{ name: "TaoToolbarSeparator" },
6204
6247
  __name: "TaoToolbarSeparator",
6205
6248
  setup(__props) {
@@ -6214,7 +6257,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6214
6257
  };
6215
6258
  }
6216
6259
  });
6217
- const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-7a0063e1"]]);
6260
+ const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-7a0063e1"]]);
6218
6261
  const TAO_CHART_COLORS = 6;
6219
6262
  const chartColorVar = (index) => `var(--tao-color-chart-${index % TAO_CHART_COLORS + 1})`;
6220
6263
  const finite = (v) => typeof v === "number" && Number.isFinite(v);
@@ -6395,7 +6438,7 @@ const _hoisted_2$z = {
6395
6438
  };
6396
6439
  const _hoisted_3$u = ["d"];
6397
6440
  const _hoisted_4$s = ["d"];
6398
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
6441
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6399
6442
  ...{ name: "TaoSparkline" },
6400
6443
  __name: "TaoSparkline",
6401
6444
  props: {
@@ -6448,7 +6491,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
6448
6491
  };
6449
6492
  }
6450
6493
  });
6451
- const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-76664226"]]);
6494
+ const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-76664226"]]);
6452
6495
  const _hoisted_1$B = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
6453
6496
  const _hoisted_2$y = {
6454
6497
  key: 0,
@@ -6461,7 +6504,7 @@ const _hoisted_4$r = {
6461
6504
  class: "tao-meter__value"
6462
6505
  };
6463
6506
  const _hoisted_5$m = { class: "tao-meter__track" };
6464
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
6507
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
6465
6508
  ...{ name: "TaoMeter" },
6466
6509
  __name: "TaoMeter",
6467
6510
  props: {
@@ -6509,7 +6552,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6509
6552
  };
6510
6553
  }
6511
6554
  });
6512
- const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-17e24a8e"]]);
6555
+ const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-17e24a8e"]]);
6513
6556
  const _hoisted_1$A = ["aria-label"];
6514
6557
  const _hoisted_2$x = ["viewBox", "width", "height"];
6515
6558
  const _hoisted_3$s = ["cx", "cy", "r", "stroke-width"];
@@ -6526,7 +6569,7 @@ const _hoisted_6$h = {
6526
6569
  };
6527
6570
  const _hoisted_7$e = { class: "tao-donut__name" };
6528
6571
  const _hoisted_8$9 = { class: "tao-donut__share" };
6529
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
6572
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6530
6573
  ...{ name: "TaoDonut" },
6531
6574
  __name: "TaoDonut",
6532
6575
  props: {
@@ -6629,7 +6672,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
6629
6672
  };
6630
6673
  }
6631
6674
  });
6632
- const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-30b93ef0"]]);
6675
+ const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-30b93ef0"]]);
6633
6676
  const _hoisted_1$z = ["aria-label", "aria-rowcount", "aria-colcount"];
6634
6677
  const _hoisted_2$w = {
6635
6678
  class: "tao-heatmap__row tao-heatmap__head",
@@ -6648,7 +6691,7 @@ const _hoisted_8$8 = {
6648
6691
  class: "tao-heatmap__legend",
6649
6692
  "aria-hidden": "true"
6650
6693
  };
6651
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
6694
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
6652
6695
  ...{ name: "TaoHeatmap" },
6653
6696
  __name: "TaoHeatmap",
6654
6697
  props: {
@@ -6891,7 +6934,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6891
6934
  };
6892
6935
  }
6893
6936
  });
6894
- const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-496996ae"]]);
6937
+ const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-496996ae"]]);
6895
6938
  const _hoisted_1$y = { class: "tao-nav__shell" };
6896
6939
  const _hoisted_2$v = ["aria-label"];
6897
6940
  const _hoisted_3$q = { class: "tao-nav__column" };
@@ -6925,7 +6968,7 @@ const _hoisted_14$1 = {
6925
6968
  key: 0,
6926
6969
  class: "tao-nav__content"
6927
6970
  };
6928
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
6971
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6929
6972
  ...{ name: "TaoNav" },
6930
6973
  __name: "TaoNav",
6931
6974
  props: {
@@ -7065,7 +7108,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7065
7108
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7066
7109
  ])) : createCommentVNode("", true)
7067
7110
  ]),
7068
- overflowing.value ? (openBlock(), createBlock(_sfc_main$K, {
7111
+ overflowing.value ? (openBlock(), createBlock(_sfc_main$L, {
7069
7112
  key: 0,
7070
7113
  items: moreMenu.value,
7071
7114
  open: moreOpen.value,
@@ -7079,7 +7122,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7079
7122
  };
7080
7123
  }
7081
7124
  });
7082
- const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-31b1af76"]]);
7125
+ const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-31b1af76"]]);
7083
7126
  function visibleRows(nodes, expanded, children) {
7084
7127
  const rows = [];
7085
7128
  const ancestors = /* @__PURE__ */ new Set();
@@ -7140,7 +7183,7 @@ const _hoisted_6$e = {
7140
7183
  "aria-hidden": "true"
7141
7184
  };
7142
7185
  const _hoisted_7$b = { class: "tao-tree__label" };
7143
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
7186
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7144
7187
  ...{ name: "TaoTree" },
7145
7188
  __name: "TaoTree",
7146
7189
  props: {
@@ -7449,7 +7492,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7449
7492
  };
7450
7493
  }
7451
7494
  });
7452
- const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-ce3110d4"]]);
7495
+ const TaoTree = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-ce3110d4"]]);
7453
7496
  const _hoisted_1$w = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
7454
7497
  const _hoisted_2$t = {
7455
7498
  key: 0,
@@ -7467,7 +7510,7 @@ const _hoisted_7$a = {
7467
7510
  key: 0,
7468
7511
  class: "tao-checklist__description"
7469
7512
  };
7470
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
7513
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7471
7514
  ...{ name: "TaoChecklist" },
7472
7515
  __name: "TaoChecklist",
7473
7516
  props: {
@@ -7580,7 +7623,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7580
7623
  };
7581
7624
  }
7582
7625
  });
7583
- const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4d3771ce"]]);
7626
+ const TaoChecklist = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-4d3771ce"]]);
7584
7627
  function timelineState(index, activeIndex) {
7585
7628
  if (activeIndex < 0) {
7586
7629
  return "done";
@@ -7603,7 +7646,7 @@ const _hoisted_7$9 = {
7603
7646
  key: 1,
7604
7647
  class: "tao-timeline__description"
7605
7648
  };
7606
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
7649
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7607
7650
  ...{ name: "TaoTimeline" },
7608
7651
  __name: "TaoTimeline",
7609
7652
  props: {
@@ -7662,7 +7705,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7662
7705
  };
7663
7706
  }
7664
7707
  });
7665
- const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-48847c47"]]);
7708
+ const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-48847c47"]]);
7666
7709
  const _hoisted_1$u = ["tabindex", "aria-hidden", "inert"];
7667
7710
  const _hoisted_2$r = { class: "tao-marquee__item" };
7668
7711
  const _hoisted_3$m = {
@@ -7671,7 +7714,7 @@ const _hoisted_3$m = {
7671
7714
  "aria-hidden": "true",
7672
7715
  inert: ""
7673
7716
  };
7674
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
7717
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7675
7718
  ...{ name: "TaoMarquee" },
7676
7719
  __name: "TaoMarquee",
7677
7720
  props: {
@@ -7799,7 +7842,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7799
7842
  };
7800
7843
  }
7801
7844
  });
7802
- const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-300f470a"]]);
7845
+ const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-300f470a"]]);
7803
7846
  const PIN_CELL = "#";
7804
7847
  function parsePinFormat(format) {
7805
7848
  const mask = [...format];
@@ -7851,7 +7894,7 @@ const _hoisted_5$f = {
7851
7894
  class: "tao-sr-only",
7852
7895
  role: "status"
7853
7896
  };
7854
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
7897
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7855
7898
  ...{ name: "TaoPinCode" },
7856
7899
  __name: "TaoPinCode",
7857
7900
  props: {
@@ -8114,8 +8157,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
8114
8157
  };
8115
8158
  }
8116
8159
  });
8117
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-bb653baa"]]);
8118
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
8160
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-bb653baa"]]);
8161
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
8119
8162
  ...{ name: "TaoLink" },
8120
8163
  __name: "TaoLink",
8121
8164
  props: {
@@ -8157,6 +8200,27 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
8157
8200
  };
8158
8201
  }
8159
8202
  });
8203
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
8204
+ ...{ name: "TaoStretchedLink" },
8205
+ __name: "TaoStretchedLink",
8206
+ props: {
8207
+ to: { default: void 0 },
8208
+ newTab: { type: Boolean, default: false },
8209
+ private: { type: Boolean, default: false },
8210
+ exactPath: { type: Boolean, default: false }
8211
+ },
8212
+ setup(__props) {
8213
+ const props = __props;
8214
+ return (_ctx, _cache) => {
8215
+ return openBlock(), createBlock(_sfc_main$u, mergeProps({ class: "tao-stretched-link" }, props), {
8216
+ default: withCtx(() => [
8217
+ renderSlot(_ctx.$slots, "default")
8218
+ ]),
8219
+ _: 3
8220
+ }, 16);
8221
+ };
8222
+ }
8223
+ });
8160
8224
  const _hoisted_1$s = ["for"];
8161
8225
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
8162
8226
  ...{ name: "TaoFormField" },
@@ -8910,7 +8974,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8910
8974
  }, null, 4)
8911
8975
  ], 44, _hoisted_1$o),
8912
8976
  createElementVNode("div", _hoisted_2$m, [
8913
- createVNode(_sfc_main$18, {
8977
+ createVNode(_sfc_main$19, {
8914
8978
  modelValue: hueValue.value,
8915
8979
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hueValue.value = $event),
8916
8980
  class: "tao-color-picker__hue",
@@ -8922,7 +8986,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8922
8986
  "aria-label": unref(l10n).hueLabel,
8923
8987
  onChange: _cache[1] || (_cache[1] = ($event) => emit("change", hex.value))
8924
8988
  }, null, 8, ["modelValue", "disabled", "aria-label"]),
8925
- __props.alpha ? (openBlock(), createBlock(_sfc_main$18, {
8989
+ __props.alpha ? (openBlock(), createBlock(_sfc_main$19, {
8926
8990
  key: 0,
8927
8991
  modelValue: alphaValue.value,
8928
8992
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => alphaValue.value = $event),
@@ -12025,7 +12089,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12025
12089
  class: "tao-breadcrumb__item"
12026
12090
  }, [
12027
12091
  index > 0 ? (openBlock(), createElementBlock("span", _hoisted_3$4, "/")) : createCommentVNode("", true),
12028
- index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$t, {
12092
+ index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(item.label), 1)) : item.to ? (openBlock(), createBlock(_sfc_main$u, {
12029
12093
  key: 2,
12030
12094
  class: "tao-breadcrumb__link",
12031
12095
  to: item.to
@@ -12182,7 +12246,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12182
12246
  };
12183
12247
  }
12184
12248
  });
12185
- const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-0607352a"]]);
12249
+ const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69fa7f4b"]]);
12186
12250
  const GLIDE_TIME = 325;
12187
12251
  const FLICK_SPEED = 0.3;
12188
12252
  function glideTarget(from, velocity, pitch, max) {
@@ -13108,6 +13172,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13108
13172
  unregisterConfirmHost();
13109
13173
  });
13110
13174
  useLayer(() => Boolean(currentConfirm.value), { lockScroll: true, restoreFocus: true, onEscape: () => answer(false) });
13175
+ useWholePixelPanel(panelRef, () => Boolean(currentConfirm.value));
13111
13176
  watch(
13112
13177
  () => currentConfirm.value?.id,
13113
13178
  async (id) => {
@@ -13202,7 +13267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13202
13267
  };
13203
13268
  }
13204
13269
  });
13205
- const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-388a5c5a"]]);
13270
+ const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3af3ec95"]]);
13206
13271
  const TYPE_TIMEOUT = {
13207
13272
  success: 3e3,
13208
13273
  danger: 5e3,
@@ -13681,10 +13746,10 @@ const components = [
13681
13746
  TaoSpoiler,
13682
13747
  TaoSpoilerGroup,
13683
13748
  TaoCopy,
13749
+ _sfc_main$12,
13684
13750
  _sfc_main$11,
13685
- _sfc_main$10,
13686
13751
  TaoContainer,
13687
- _sfc_main$_,
13752
+ _sfc_main$$,
13688
13753
  TaoSpace,
13689
13754
  TaoGrid,
13690
13755
  TaoGridItem,
@@ -13700,11 +13765,11 @@ const components = [
13700
13765
  TaoTextarea,
13701
13766
  TaoScrollTop,
13702
13767
  TaoProgress,
13703
- _sfc_main$18,
13704
- _sfc_main$M,
13768
+ _sfc_main$19,
13769
+ _sfc_main$N,
13705
13770
  TaoFileDrop,
13706
13771
  TaoDropdownMenu,
13707
- _sfc_main$K,
13772
+ _sfc_main$L,
13708
13773
  TaoMenubar,
13709
13774
  TaoToolbar,
13710
13775
  TaoToolbarGroup,
@@ -13720,6 +13785,7 @@ const components = [
13720
13785
  TaoMarquee,
13721
13786
  TaoContextMenu,
13722
13787
  TaoPinCode,
13788
+ _sfc_main$u,
13723
13789
  _sfc_main$t,
13724
13790
  TaoFormField,
13725
13791
  TaoSelect,
@@ -13794,7 +13860,7 @@ export {
13794
13860
  TaoEmpty,
13795
13861
  TaoFieldset,
13796
13862
  TaoFileDrop,
13797
- _sfc_main$_ as TaoFlex,
13863
+ _sfc_main$$ as TaoFlex,
13798
13864
  TaoFormField,
13799
13865
  TaoGrid,
13800
13866
  TaoGridItem,
@@ -13804,12 +13870,12 @@ export {
13804
13870
  TaoInput,
13805
13871
  TaoInputGroup,
13806
13872
  TaoInputNumber,
13807
- _sfc_main$t as TaoLink,
13873
+ _sfc_main$u as TaoLink,
13808
13874
  TaoList,
13809
13875
  TaoListItem,
13810
13876
  TaoLoader,
13811
13877
  TaoMarquee,
13812
- _sfc_main$K as TaoMenu,
13878
+ _sfc_main$L as TaoMenu,
13813
13879
  TaoMenubar,
13814
13880
  TaoMeter,
13815
13881
  TaoModal,
@@ -13821,33 +13887,34 @@ export {
13821
13887
  TaoQuantity,
13822
13888
  TaoRadio,
13823
13889
  TaoRadioGroup,
13824
- _sfc_main$M as TaoRangeSlider,
13890
+ _sfc_main$N as TaoRangeSlider,
13825
13891
  TaoScrollTop,
13826
13892
  TaoScrubber,
13827
13893
  TaoSegmented,
13828
13894
  TaoSegmentedOption,
13829
13895
  TaoSelect,
13830
13896
  TaoSkeleton,
13831
- _sfc_main$18 as TaoSlider,
13897
+ _sfc_main$19 as TaoSlider,
13832
13898
  TaoSpace,
13833
13899
  TaoSparkline,
13834
13900
  TaoSplit,
13835
13901
  TaoSpoiler,
13836
13902
  TaoSpoilerGroup,
13837
13903
  TaoStages,
13904
+ _sfc_main$t as TaoStretchedLink,
13838
13905
  TaoSwitch,
13839
13906
  TaoTable,
13840
13907
  TaoTabs,
13841
13908
  TaoTag,
13842
13909
  TaoTextarea,
13843
- _sfc_main$11 as TaoThemeToggle,
13910
+ _sfc_main$12 as TaoThemeToggle,
13844
13911
  TaoTimeline,
13845
13912
  TaoToastViewport,
13846
13913
  TaoToolbar,
13847
13914
  TaoToolbarGroup,
13848
13915
  TaoToolbarSeparator,
13849
13916
  TaoTooltip,
13850
- _sfc_main$10 as TaoTour,
13917
+ _sfc_main$11 as TaoTour,
13851
13918
  TaoTree,
13852
13919
  TaoUI,
13853
13920
  apcaContrast,