@1337exp/taoui 1.11.1 → 1.11.2

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, renderSlot, computed, normalizeStyle, inject, useId, ref, unref, watch, createTextVNode, useSlots, onBeforeUnmount, createBlock, Teleport, createVNode, Transition, withCtx, withModifiers, nextTick, Fragment, renderList, onMounted, provide, resolveDynamicComponent, useCssVars, reactive, onBeforeMount, withDirectives, vModelText, getCurrentInstance, mergeProps, TransitionGroup, onUpdated, createApp } from "vue";
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, renderSlot, computed, normalizeStyle, inject, useId, ref, unref, watch, createTextVNode, useSlots, onBeforeUnmount, createBlock, Teleport, createVNode, Transition, withCtx, nextTick, Fragment, renderList, onMounted, provide, resolveDynamicComponent, withModifiers, useCssVars, reactive, onBeforeMount, withDirectives, vModelText, getCurrentInstance, mergeProps, TransitionGroup, onUpdated, createApp } from "vue";
2
2
  const _hoisted_1$P = ["type", "disabled"];
3
3
  const _hoisted_2$I = {
4
4
  key: 0,
@@ -64,7 +64,7 @@ const _export_sfc = (sfc, props) => {
64
64
  }
65
65
  return target;
66
66
  };
67
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c3034f66"]]);
67
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1e1847ba"]]);
68
68
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
69
69
  ...{ name: "TaoBlock" },
70
70
  __name: "TaoBlock",
@@ -97,7 +97,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
97
97
  };
98
98
  }
99
99
  });
100
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-feb87e36"]]);
100
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-722277c0"]]);
101
101
  const formFieldKey = Symbol("taoFormField");
102
102
  const _hoisted_1$O = { class: "tao-input-wrapper" };
103
103
  const _hoisted_2$H = ["for"];
@@ -190,7 +190,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
190
190
  };
191
191
  }
192
192
  });
193
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-b522e041"]]);
193
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-8e122e7e"]]);
194
194
  const _hoisted_1$N = {
195
195
  key: 0,
196
196
  class: "tao-input-group__addon tao-input-group__addon--before"
@@ -235,7 +235,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
235
235
  };
236
236
  }
237
237
  });
238
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f06bb3b1"]]);
238
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-2c03e481"]]);
239
239
  const _hoisted_1$M = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
240
240
  const _hoisted_2$F = {
241
241
  key: 0,
@@ -431,7 +431,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
431
431
  };
432
432
  }
433
433
  });
434
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-331dd958"]]);
434
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f2141b0c"]]);
435
435
  const _hoisted_1$L = ["aria-label", "disabled"];
436
436
  const _hoisted_2$E = { "aria-hidden": "true" };
437
437
  const _hoisted_3$x = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
@@ -617,7 +617,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
617
617
  };
618
618
  }
619
619
  });
620
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c9c7c8b4"]]);
620
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-821124cf"]]);
621
621
  const _hoisted_1$K = {
622
622
  key: 0,
623
623
  class: "tao-card__cover"
@@ -745,7 +745,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
745
745
  };
746
746
  }
747
747
  });
748
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f4fc87bb"]]);
748
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-aceee56b"]]);
749
749
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
750
750
  function getFocusable(root) {
751
751
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -830,6 +830,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
830
830
  const titleId = useId();
831
831
  let previousFocus = null;
832
832
  let scrollHeld = false;
833
+ let pointerDownOnOverlay = false;
833
834
  function close() {
834
835
  if (!props.closable) {
835
836
  return;
@@ -878,6 +879,15 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
878
879
  trapTab(event, panelRef.value);
879
880
  }
880
881
  }
882
+ function onOverlayPointerDown(event) {
883
+ pointerDownOnOverlay = event.target === event.currentTarget;
884
+ }
885
+ function onOverlayPointerUp(event) {
886
+ if (pointerDownOnOverlay && event.target === event.currentTarget) {
887
+ close();
888
+ }
889
+ pointerDownOnOverlay = false;
890
+ }
881
891
  watch(
882
892
  () => props.modelValue,
883
893
  (isOpen) => {
@@ -906,7 +916,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
906
916
  __props.modelValue ? (openBlock(), createElementBlock("div", {
907
917
  key: 0,
908
918
  class: "tao-modal-overlay",
909
- onClick: withModifiers(close, ["self"]),
919
+ onPointerdown: onOverlayPointerDown,
920
+ onPointerup: onOverlayPointerUp,
910
921
  onKeydown
911
922
  }, [
912
923
  createElementVNode("div", {
@@ -955,7 +966,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
955
966
  };
956
967
  }
957
968
  });
958
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-102cfd66"]]);
969
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-7a8f28aa"]]);
959
970
  const _hoisted_1$I = { class: "tao-tabs" };
960
971
  const _hoisted_2$B = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
961
972
  const _hoisted_3$u = ["id", "aria-labelledby"];
@@ -1063,7 +1074,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
1063
1074
  };
1064
1075
  }
1065
1076
  });
1066
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-a17ac487"]]);
1077
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e86f4b77"]]);
1067
1078
  function listenFocusLoss(onLoss) {
1068
1079
  function onVisibilityChange() {
1069
1080
  if (document.hidden) {
@@ -1241,7 +1252,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
1241
1252
  };
1242
1253
  }
1243
1254
  });
1244
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-926dfa73"]]);
1255
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-09caf2f5"]]);
1245
1256
  const _hoisted_1$H = { class: "tao-popover" };
1246
1257
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
1247
1258
  ...{ name: "TaoPopover" },
@@ -1441,7 +1452,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
1441
1452
  };
1442
1453
  }
1443
1454
  });
1444
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-afd791a7"]]);
1455
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-3e488e1b"]]);
1445
1456
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
1446
1457
  const _hoisted_1$G = { class: "tao-spoiler" };
1447
1458
  const _hoisted_2$A = ["aria-expanded", "aria-controls"];
@@ -1547,7 +1558,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
1547
1558
  };
1548
1559
  }
1549
1560
  });
1550
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-ccb052cf"]]);
1561
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e1fe99f4"]]);
1551
1562
  const _hoisted_1$F = { class: "tao-spoiler-group" };
1552
1563
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
1553
1564
  ...{ name: "TaoSpoilerGroup" },
@@ -1580,7 +1591,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
1580
1591
  };
1581
1592
  }
1582
1593
  });
1583
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-118970dd"]]);
1594
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-7986fd2a"]]);
1584
1595
  const _hoisted_1$E = ["aria-label"];
1585
1596
  const _sfc_main$M = /* @__PURE__ */ defineComponent({
1586
1597
  ...{ name: "TaoCopy" },
@@ -1733,7 +1744,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1733
1744
  };
1734
1745
  }
1735
1746
  });
1736
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-907e0264"]]);
1747
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-66582e9a"]]);
1737
1748
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
1738
1749
  ...{ name: "TaoContainer" },
1739
1750
  __name: "TaoContainer",
@@ -1751,7 +1762,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1751
1762
  };
1752
1763
  }
1753
1764
  });
1754
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4c0deb90"]]);
1765
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-ccecf8f5"]]);
1755
1766
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
1756
1767
  ...{ name: "TaoFlex" },
1757
1768
  __name: "TaoFlex",
@@ -1803,7 +1814,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1803
1814
  };
1804
1815
  }
1805
1816
  });
1806
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-698ca712"]]);
1817
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-993a9000"]]);
1807
1818
  const _sfc_main$I = /* @__PURE__ */ defineComponent({
1808
1819
  ...{ name: "TaoGrid" },
1809
1820
  __name: "TaoGrid",
@@ -1830,7 +1841,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
1830
1841
  };
1831
1842
  }
1832
1843
  });
1833
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bd5bc452"]]);
1844
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-cd1476cf"]]);
1834
1845
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
1835
1846
  ...{ name: "TaoGridItem" },
1836
1847
  __name: "TaoGridItem",
@@ -1854,7 +1865,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1854
1865
  };
1855
1866
  }
1856
1867
  });
1857
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-43bd1e34"]]);
1868
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ad288026"]]);
1858
1869
  const _hoisted_1$D = { class: "tao-split__pane tao-split__pane--start" };
1859
1870
  const _hoisted_2$z = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
1860
1871
  const _hoisted_3$s = { class: "tao-split__pane tao-split__pane--end" };
@@ -2179,7 +2190,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
2179
2190
  };
2180
2191
  }
2181
2192
  });
2182
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f44196dc"]]);
2193
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5bafcb66"]]);
2183
2194
  const _hoisted_1$C = { class: "tao-icon" };
2184
2195
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
2185
2196
  ...{ name: "TaoIcon" },
@@ -2192,7 +2203,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
2192
2203
  },
2193
2204
  setup(__props) {
2194
2205
  useCssVars((_ctx) => ({
2195
- "a2e86200": props.margin
2206
+ "v362f1a4c": props.margin
2196
2207
  }));
2197
2208
  const props = __props;
2198
2209
  return (_ctx, _cache) => {
@@ -2207,7 +2218,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
2207
2218
  };
2208
2219
  }
2209
2220
  });
2210
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-145b2cfc"]]);
2221
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-350b3502"]]);
2211
2222
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
2212
2223
  ...{ name: "TaoLoader" },
2213
2224
  __name: "TaoLoader",
@@ -2218,10 +2229,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
2218
2229
  },
2219
2230
  setup(__props) {
2220
2231
  useCssVars((_ctx) => ({
2221
- "d349d504": positions.value.first,
2222
- "d1c06f96": positions.value.third,
2223
- "v355d810c": positions.value.fourth,
2224
- "v09447532": positions.value.animationDistance
2232
+ "b4bda044": positions.value.first,
2233
+ "b3343ad6": positions.value.third,
2234
+ "v0edab2ac": positions.value.fourth,
2235
+ "v116f4fc7": positions.value.animationDistance
2225
2236
  }));
2226
2237
  const props = __props;
2227
2238
  const normalizedSize = computed(() => {
@@ -2269,7 +2280,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
2269
2280
  };
2270
2281
  }
2271
2282
  });
2272
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-75a40018"]]);
2283
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-49a9f1b2"]]);
2273
2284
  const _hoisted_1$B = { class: "tao-image" };
2274
2285
  const _hoisted_2$y = ["src", "alt", "loading"];
2275
2286
  const _hoisted_3$r = { class: "tao-image__placeholder" };
@@ -2323,7 +2334,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2323
2334
  };
2324
2335
  }
2325
2336
  });
2326
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-aea39025"]]);
2337
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-61f47c52"]]);
2327
2338
  const _hoisted_1$A = ["for"];
2328
2339
  const _hoisted_2$x = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
2329
2340
  const _hoisted_3$q = {
@@ -2414,7 +2425,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2414
2425
  };
2415
2426
  }
2416
2427
  });
2417
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-bb1ea2fb"]]);
2428
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f9c46f8c"]]);
2418
2429
  const _hoisted_1$z = {
2419
2430
  key: 0,
2420
2431
  class: "tao-tag__prefix"
@@ -2485,7 +2496,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2485
2496
  };
2486
2497
  }
2487
2498
  });
2488
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cbbbf8f3"]]);
2499
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-dd9c155b"]]);
2489
2500
  const _hoisted_1$y = ["role", "aria-hidden"];
2490
2501
  const _hoisted_2$v = {
2491
2502
  key: 1,
@@ -2536,7 +2547,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2536
2547
  };
2537
2548
  }
2538
2549
  });
2539
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-b8f809ac"]]);
2550
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a83aee10"]]);
2540
2551
  const _hoisted_1$x = {
2541
2552
  key: 0,
2542
2553
  class: "tao-fieldset__legend"
@@ -2566,7 +2577,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
2566
2577
  };
2567
2578
  }
2568
2579
  });
2569
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-34440ba5"]]);
2580
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3445dafd"]]);
2570
2581
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
2571
2582
  ...{ name: "TaoAnimatedBorder" },
2572
2583
  __name: "TaoAnimatedBorder",
@@ -2591,7 +2602,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
2591
2602
  };
2592
2603
  }
2593
2604
  });
2594
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-f1534571"]]);
2605
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-c9434028"]]);
2595
2606
  const _hoisted_1$w = {
2596
2607
  key: 0,
2597
2608
  class: "tao-textarea tao-textarea--dummy"
@@ -2738,7 +2749,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
2738
2749
  };
2739
2750
  }
2740
2751
  });
2741
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2534c0c4"]]);
2752
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-3eb0e261"]]);
2742
2753
  const _hoisted_1$v = ["tabindex", "aria-label"];
2743
2754
  const _hoisted_2$s = { class: "tao-scroll-top__content" };
2744
2755
  const RIPPLE_DURATION = 750;
@@ -2867,7 +2878,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
2867
2878
  };
2868
2879
  }
2869
2880
  });
2870
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-59678649"]]);
2881
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-6db55fb5"]]);
2871
2882
  const _hoisted_1$u = { class: "tao-progress" };
2872
2883
  const _hoisted_2$r = {
2873
2884
  key: 0,
@@ -2946,7 +2957,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
2946
2957
  };
2947
2958
  }
2948
2959
  });
2949
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-54c13718"]]);
2960
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-1aae89cd"]]);
2950
2961
  const _hoisted_1$t = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-describedby"];
2951
2962
  const _hoisted_2$q = ["placeholder"];
2952
2963
  const _hoisted_3$l = {
@@ -3191,7 +3202,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
3191
3202
  };
3192
3203
  }
3193
3204
  });
3194
- const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-a0a9cca1"]]);
3205
+ const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-e2589857"]]);
3195
3206
  const _hoisted_1$s = { class: "tao-file-drop" };
3196
3207
  const _hoisted_2$p = { class: "tao-file-drop__row" };
3197
3208
  const _hoisted_3$k = ["aria-label"];
@@ -3400,7 +3411,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3400
3411
  };
3401
3412
  }
3402
3413
  });
3403
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4b36e2a3"]]);
3414
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-010f3f8f"]]);
3404
3415
  const _hoisted_1$r = ["aria-expanded", "aria-label"];
3405
3416
  const _hoisted_2$o = {
3406
3417
  key: 1,
@@ -3584,7 +3595,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3584
3595
  };
3585
3596
  }
3586
3597
  });
3587
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cbfa7294"]]);
3598
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-a5b3f392"]]);
3588
3599
  const _hoisted_1$q = ["aria-invalid", "aria-describedby"];
3589
3600
  const _hoisted_2$n = ["id", "value", "placeholder", "type", "inputmode", "pattern", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
3590
3601
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
@@ -3802,7 +3813,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3802
3813
  };
3803
3814
  }
3804
3815
  });
3805
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-44474500"]]);
3816
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-171d87a1"]]);
3806
3817
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
3807
3818
  ...{ name: "TaoLink" },
3808
3819
  __name: "TaoLink",
@@ -3911,7 +3922,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3911
3922
  };
3912
3923
  }
3913
3924
  });
3914
- const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-edd0be31"]]);
3925
+ const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-3f8cf057"]]);
3915
3926
  const _hoisted_1$o = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
3916
3927
  const _hoisted_2$m = { class: "tao-select__value" };
3917
3928
  const _hoisted_3$i = ["aria-activedescendant"];
@@ -4198,7 +4209,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4198
4209
  };
4199
4210
  }
4200
4211
  });
4201
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-d9b336d8"]]);
4212
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-854360a4"]]);
4202
4213
  const _hoisted_1$n = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
4203
4214
  const _hoisted_2$l = {
4204
4215
  key: 0,
@@ -4699,7 +4710,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
4699
4710
  };
4700
4711
  }
4701
4712
  });
4702
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-131d254d"]]);
4713
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-c1f14f5a"]]);
4703
4714
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
4704
4715
  function formatTaoDateIso(parts) {
4705
4716
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -5248,7 +5259,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
5248
5259
  };
5249
5260
  }
5250
5261
  });
5251
- const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ebd437a8"]]);
5262
+ const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a996d893"]]);
5252
5263
  const _hoisted_1$l = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
5253
5264
  const _hoisted_2$j = { class: "tao-date-range__value" };
5254
5265
  const _hoisted_3$f = {
@@ -5714,7 +5725,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
5714
5725
  };
5715
5726
  }
5716
5727
  });
5717
- const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-aa589793"]]);
5728
+ const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-45e07f55"]]);
5718
5729
  const _hoisted_1$k = ["for"];
5719
5730
  const _hoisted_2$i = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
5720
5731
  const _hoisted_3$e = {
@@ -5780,7 +5791,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
5780
5791
  };
5781
5792
  }
5782
5793
  });
5783
- const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-17ce5000"]]);
5794
+ const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-bdc4c5d2"]]);
5784
5795
  const radioGroupKey = Symbol("taoRadioGroup");
5785
5796
  const _hoisted_1$j = ["for"];
5786
5797
  const _hoisted_2$h = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-describedby"];
@@ -5857,7 +5868,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
5857
5868
  };
5858
5869
  }
5859
5870
  });
5860
- const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-e79d1fb6"]]);
5871
+ const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dfcb7fe1"]]);
5861
5872
  const _hoisted_1$i = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
5862
5873
  const _hoisted_2$g = {
5863
5874
  key: 0,
@@ -5911,7 +5922,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
5911
5922
  };
5912
5923
  }
5913
5924
  });
5914
- const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6f6fa977"]]);
5925
+ const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bbef1c07"]]);
5915
5926
  const segmentedKey = Symbol("taoSegmented");
5916
5927
  const _hoisted_1$h = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
5917
5928
  const _hoisted_2$f = {
@@ -6046,7 +6057,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6046
6057
  };
6047
6058
  }
6048
6059
  });
6049
- const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-af757a32"]]);
6060
+ const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5b5c6d71"]]);
6050
6061
  const _hoisted_1$g = ["for"];
6051
6062
  const _hoisted_2$e = ["id", "name", "value", "checked", "disabled", "aria-label"];
6052
6063
  const _hoisted_3$c = { class: "tao-segmented-option__face" };
@@ -6159,7 +6170,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6159
6170
  };
6160
6171
  }
6161
6172
  });
6162
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-acd5de66"]]);
6173
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-f55dc6a0"]]);
6163
6174
  const _hoisted_1$f = ["role", "aria-live"];
6164
6175
  const _hoisted_2$d = { class: "tao-alert__body" };
6165
6176
  const _hoisted_3$b = {
@@ -6216,7 +6227,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6216
6227
  };
6217
6228
  }
6218
6229
  });
6219
- const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1a1dbef3"]]);
6230
+ const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1f1cb671"]]);
6220
6231
  const _hoisted_1$e = { key: 0 };
6221
6232
  const _hoisted_2$c = ["aria-sort"];
6222
6233
  const _hoisted_3$a = ["onClick"];
@@ -6404,7 +6415,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6404
6415
  };
6405
6416
  }
6406
6417
  });
6407
- const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-497e62e7"]]);
6418
+ const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6e3c280a"]]);
6408
6419
  function buildPaginationItems(page, pageCount, siblingCount = 1) {
6409
6420
  if (pageCount <= 0) {
6410
6421
  return [];
@@ -6566,7 +6577,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6566
6577
  };
6567
6578
  }
6568
6579
  });
6569
- const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-37f3d381"]]);
6580
+ const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-e4d7b7c4"]]);
6570
6581
  const _hoisted_1$c = { class: "tao-empty" };
6571
6582
  const _hoisted_2$a = {
6572
6583
  key: 0,
@@ -6607,7 +6618,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6607
6618
  };
6608
6619
  }
6609
6620
  });
6610
- const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8056884d"]]);
6621
+ const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5dc90ee9"]]);
6611
6622
  const taoListKey = Symbol("taoList");
6612
6623
  const _hoisted_1$b = ["aria-label"];
6613
6624
  const _hoisted_2$9 = {
@@ -6660,7 +6671,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6660
6671
  };
6661
6672
  }
6662
6673
  });
6663
- const TaoList = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-798c83a3"]]);
6674
+ const TaoList = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4117224e"]]);
6664
6675
  const _hoisted_1$a = ["aria-current", "aria-disabled"];
6665
6676
  const _hoisted_2$8 = {
6666
6677
  key: 0,
@@ -6774,7 +6785,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
6774
6785
  };
6775
6786
  }
6776
6787
  });
6777
- const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-878b7727"]]);
6788
+ const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-359fce03"]]);
6778
6789
  const _hoisted_1$9 = {
6779
6790
  class: "tao-skeleton-group",
6780
6791
  "aria-hidden": true
@@ -6804,7 +6815,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6804
6815
  };
6805
6816
  }
6806
6817
  });
6807
- const TaoSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-e75c3ca1"]]);
6818
+ const TaoSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-bcd8d820"]]);
6808
6819
  const _hoisted_1$8 = ["aria-labelledby"];
6809
6820
  const _hoisted_2$7 = {
6810
6821
  key: 0,
@@ -6965,7 +6976,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6965
6976
  };
6966
6977
  }
6967
6978
  });
6968
- const TaoDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-10fb02f2"]]);
6979
+ const TaoDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-bfd8c34f"]]);
6969
6980
  const _hoisted_1$7 = ["title"];
6970
6981
  const _hoisted_2$6 = { class: "tao-avatar__face" };
6971
6982
  const _hoisted_3$5 = ["src", "alt"];
@@ -7089,7 +7100,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7089
7100
  };
7090
7101
  }
7091
7102
  });
7092
- const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-65ed2d7a"]]);
7103
+ const TaoAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-186c4676"]]);
7093
7104
  const _hoisted_1$6 = ["aria-label"];
7094
7105
  const _hoisted_2$5 = { class: "tao-breadcrumb__list" };
7095
7106
  const _hoisted_3$4 = {
@@ -7143,7 +7154,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7143
7154
  };
7144
7155
  }
7145
7156
  });
7146
- const TaoBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-94ab1f67"]]);
7157
+ const TaoBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2671c387"]]);
7147
7158
  const _hoisted_1$5 = ["aria-label"];
7148
7159
  const _hoisted_2$4 = {
7149
7160
  class: "tao-counter__row",
@@ -7225,7 +7236,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
7225
7236
  };
7226
7237
  }
7227
7238
  });
7228
- const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6b746f2f"]]);
7239
+ const TaoCounter = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9e11d2be"]]);
7229
7240
  const _hoisted_1$4 = { class: "tao-carousel__row" };
7230
7241
  const _hoisted_2$3 = ["aria-label", "disabled"];
7231
7242
  const _hoisted_3$3 = { "aria-hidden": "true" };
@@ -7673,7 +7684,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7673
7684
  };
7674
7685
  }
7675
7686
  });
7676
- const TaoCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b4139b57"]]);
7687
+ const TaoCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-74bcb7ec"]]);
7677
7688
  const _hoisted_1$3 = ["aria-label"];
7678
7689
  const _hoisted_2$2 = ["aria-label"];
7679
7690
  const _hoisted_3$2 = {
@@ -7808,7 +7819,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7808
7819
  };
7809
7820
  }
7810
7821
  });
7811
- const TaoStages = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b62db56d"]]);
7822
+ const TaoStages = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-d284b19d"]]);
7812
7823
  const TOAST_POSITIONS = [
7813
7824
  "topRight",
7814
7825
  "topLeft",
@@ -8115,7 +8126,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8115
8126
  };
8116
8127
  }
8117
8128
  });
8118
- const TaoToastItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-3909ff09"]]);
8129
+ const TaoToastItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-63520638"]]);
8119
8130
  const _hoisted_1$1 = { class: "tao-toast-slot__inner" };
8120
8131
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8121
8132
  ...{ name: "TaoToastViewport" },
@@ -8169,7 +8180,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8169
8180
  };
8170
8181
  }
8171
8182
  });
8172
- const TaoToastViewport = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-17111588"]]);
8183
+ const TaoToastViewport = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-d07e8a95"]]);
8173
8184
  const confirmDefaults = {
8174
8185
  ok: "ОК",
8175
8186
  cancel: "Отмена"
@@ -8419,7 +8430,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8419
8430
  };
8420
8431
  }
8421
8432
  });
8422
- const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d54ae27e"]]);
8433
+ const TaoConfirmHost = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9afd73fb"]]);
8423
8434
  const TYPE_TIMEOUT = {
8424
8435
  success: 3e3,
8425
8436
  error: 5e3,