@1337exp/taoui 1.6.1 → 1.8.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.cjs CHANGED
@@ -2,17 +2,17 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TaoUI = {}, global.Vue));
3
3
  })(this, function(exports2, vue) {
4
4
  "use strict";
5
- const _hoisted_1$N = ["type", "disabled"];
6
- const _hoisted_2$G = {
5
+ const _hoisted_1$P = ["type", "disabled"];
6
+ const _hoisted_2$I = {
7
7
  key: 0,
8
8
  class: "tao-button__loader"
9
9
  };
10
- const _hoisted_3$A = {
10
+ const _hoisted_3$B = {
11
11
  key: 1,
12
12
  class: "tao-button__icon"
13
13
  };
14
- const _hoisted_4$u = { class: "tao-button__content" };
15
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14
+ const _hoisted_4$v = { class: "tao-button__content" };
15
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
16
16
  ...{ name: "TaoButton" },
17
17
  __name: "TaoButton",
18
18
  props: {
@@ -51,12 +51,12 @@
51
51
  disabled: __props.disabled || __props.loading,
52
52
  onClick: handleClick
53
53
  }, [
54
- __props.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G)) : vue.createCommentVNode("", true),
55
- __props.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$A, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
56
- vue.createElementVNode("span", _hoisted_4$u, [
54
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$I)) : vue.createCommentVNode("", true),
55
+ __props.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$B, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
56
+ vue.createElementVNode("span", _hoisted_4$v, [
57
57
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
58
58
  ])
59
- ], 10, _hoisted_1$N);
59
+ ], 10, _hoisted_1$P);
60
60
  };
61
61
  }
62
62
  });
@@ -67,8 +67,8 @@
67
67
  }
68
68
  return target;
69
69
  };
70
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-c3034f66"]]);
71
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
70
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c3034f66"]]);
71
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
72
72
  ...{ name: "TaoBlock" },
73
73
  __name: "TaoBlock",
74
74
  props: {
@@ -100,24 +100,24 @@
100
100
  };
101
101
  }
102
102
  });
103
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-feb87e36"]]);
103
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-feb87e36"]]);
104
104
  const formFieldKey = Symbol("taoFormField");
105
- const _hoisted_1$M = { class: "tao-input-wrapper" };
106
- const _hoisted_2$F = ["for"];
107
- const _hoisted_3$z = {
105
+ const _hoisted_1$O = { class: "tao-input-wrapper" };
106
+ const _hoisted_2$H = ["for"];
107
+ const _hoisted_3$A = {
108
108
  key: 0,
109
109
  class: "tao-input__affix tao-input__affix--prefix"
110
110
  };
111
- const _hoisted_4$t = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
112
- const _hoisted_5$l = {
111
+ const _hoisted_4$u = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
112
+ const _hoisted_5$m = {
113
113
  key: 1,
114
114
  class: "tao-input__affix tao-input__affix--suffix"
115
115
  };
116
- const _hoisted_6$g = {
116
+ const _hoisted_6$h = {
117
117
  key: 1,
118
118
  class: "tao-input__error"
119
119
  };
120
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
120
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
121
121
  ...{ name: "TaoInput" },
122
122
  __name: "TaoInput",
123
123
  props: {
@@ -153,12 +153,12 @@
153
153
  emit("focus", event);
154
154
  }
155
155
  return (_ctx, _cache) => {
156
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
156
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
157
157
  __props.label && !vue.unref(field) ? (vue.openBlock(), vue.createElementBlock("label", {
158
158
  key: 0,
159
159
  class: "tao-input__label",
160
160
  for: controlId.value
161
- }, vue.toDisplayString(__props.label), 9, _hoisted_2$F)) : vue.createCommentVNode("", true),
161
+ }, vue.toDisplayString(__props.label), 9, _hoisted_2$H)) : vue.createCommentVNode("", true),
162
162
  vue.createElementVNode("div", {
163
163
  class: vue.normalizeClass(["tao-input-shell", {
164
164
  "tao-input-shell--focused": focused.value,
@@ -168,7 +168,7 @@
168
168
  "tao-input-shell--suffix": _ctx.$slots.suffix
169
169
  }])
170
170
  }, [
171
- _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$z, [
171
+ _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$A, [
172
172
  vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
173
173
  ])) : vue.createCommentVNode("", true),
174
174
  vue.createElementVNode("input", {
@@ -183,27 +183,27 @@
183
183
  onInput: handleInput,
184
184
  onBlur: handleBlur,
185
185
  onFocus: handleFocus
186
- }, null, 42, _hoisted_4$t),
187
- _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$l, [
186
+ }, null, 42, _hoisted_4$u),
187
+ _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$m, [
188
188
  vue.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
189
189
  ])) : vue.createCommentVNode("", true)
190
190
  ], 2),
191
- __props.error && __props.errorMessage ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$g, vue.toDisplayString(__props.errorMessage), 1)) : vue.createCommentVNode("", true)
191
+ __props.error && __props.errorMessage ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$h, vue.toDisplayString(__props.errorMessage), 1)) : vue.createCommentVNode("", true)
192
192
  ]);
193
193
  };
194
194
  }
195
195
  });
196
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-b522e041"]]);
197
- const _hoisted_1$L = {
196
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-b522e041"]]);
197
+ const _hoisted_1$N = {
198
198
  key: 0,
199
199
  class: "tao-input-group__addon tao-input-group__addon--before"
200
200
  };
201
- const _hoisted_2$E = { class: "tao-input-group__field" };
202
- const _hoisted_3$y = {
201
+ const _hoisted_2$G = { class: "tao-input-group__field" };
202
+ const _hoisted_3$z = {
203
203
  key: 1,
204
204
  class: "tao-input-group__addon tao-input-group__addon--after"
205
205
  };
206
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
206
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
207
207
  ...{ name: "TaoInputGroup" },
208
208
  __name: "TaoInputGroup",
209
209
  setup(__props) {
@@ -225,30 +225,30 @@
225
225
  onFocusin: onFocusIn,
226
226
  onFocusout: onFocusOut
227
227
  }, [
228
- _ctx.$slots.before ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
228
+ _ctx.$slots.before ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
229
229
  vue.renderSlot(_ctx.$slots, "before", {}, void 0, true)
230
230
  ])) : vue.createCommentVNode("", true),
231
- vue.createElementVNode("div", _hoisted_2$E, [
231
+ vue.createElementVNode("div", _hoisted_2$G, [
232
232
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
233
233
  ]),
234
- _ctx.$slots.after ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$y, [
234
+ _ctx.$slots.after ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$z, [
235
235
  vue.renderSlot(_ctx.$slots, "after", {}, void 0, true)
236
236
  ])) : vue.createCommentVNode("", true)
237
237
  ], 34);
238
238
  };
239
239
  }
240
240
  });
241
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-f06bb3b1"]]);
242
- const _hoisted_1$K = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
243
- const _hoisted_2$D = {
241
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f06bb3b1"]]);
242
+ const _hoisted_1$M = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
243
+ const _hoisted_2$F = {
244
244
  key: 0,
245
245
  class: "tao-input-number__steppers"
246
246
  };
247
- const _hoisted_3$x = ["aria-label", "disabled"];
248
- const _hoisted_4$s = { "aria-hidden": "true" };
249
- const _hoisted_5$k = ["aria-label", "disabled"];
250
- const _hoisted_6$f = { "aria-hidden": "true" };
251
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
247
+ const _hoisted_3$y = ["aria-label", "disabled"];
248
+ const _hoisted_4$t = { "aria-hidden": "true" };
249
+ const _hoisted_5$l = ["aria-label", "disabled"];
250
+ const _hoisted_6$g = { "aria-hidden": "true" };
251
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
252
252
  ...{ name: "TaoInputNumber" },
253
253
  __name: "TaoInputNumber",
254
254
  props: {
@@ -399,8 +399,8 @@
399
399
  onFocus,
400
400
  onBlur,
401
401
  onKeydown
402
- }, null, 40, _hoisted_1$K),
403
- __props.controls ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, [
402
+ }, null, 40, _hoisted_1$M),
403
+ __props.controls ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$F, [
404
404
  vue.createElementVNode("button", {
405
405
  type: "button",
406
406
  class: "tao-input-number__step",
@@ -409,12 +409,12 @@
409
409
  disabled: __props.disabled || atMax.value,
410
410
  onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
411
411
  }, [
412
- vue.createElementVNode("span", _hoisted_4$s, [
412
+ vue.createElementVNode("span", _hoisted_4$t, [
413
413
  vue.renderSlot(_ctx.$slots, "increment-icon", {}, () => [
414
414
  _cache[2] || (_cache[2] = vue.createTextVNode("+", -1))
415
415
  ], true)
416
416
  ])
417
- ], 8, _hoisted_3$x),
417
+ ], 8, _hoisted_3$y),
418
418
  vue.createElementVNode("button", {
419
419
  type: "button",
420
420
  class: "tao-input-number__step",
@@ -423,24 +423,24 @@
423
423
  disabled: __props.disabled || atMin.value,
424
424
  onClick: _cache[1] || (_cache[1] = ($event) => bump(-1))
425
425
  }, [
426
- vue.createElementVNode("span", _hoisted_6$f, [
426
+ vue.createElementVNode("span", _hoisted_6$g, [
427
427
  vue.renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
428
428
  _cache[3] || (_cache[3] = vue.createTextVNode("−", -1))
429
429
  ], true)
430
430
  ])
431
- ], 8, _hoisted_5$k)
431
+ ], 8, _hoisted_5$l)
432
432
  ])) : vue.createCommentVNode("", true)
433
433
  ], 2);
434
434
  };
435
435
  }
436
436
  });
437
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-331dd958"]]);
438
- const _hoisted_1$J = ["aria-label", "disabled"];
439
- const _hoisted_2$C = { "aria-hidden": "true" };
440
- const _hoisted_3$w = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
441
- const _hoisted_4$r = ["aria-label", "disabled"];
442
- const _hoisted_5$j = { "aria-hidden": "true" };
443
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
437
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-331dd958"]]);
438
+ const _hoisted_1$L = ["aria-label", "disabled"];
439
+ const _hoisted_2$E = { "aria-hidden": "true" };
440
+ const _hoisted_3$x = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
441
+ const _hoisted_4$s = ["aria-label", "disabled"];
442
+ const _hoisted_5$k = { "aria-hidden": "true" };
443
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
444
444
  ...{ name: "TaoQuantity" },
445
445
  __name: "TaoQuantity",
446
446
  props: {
@@ -577,12 +577,12 @@
577
577
  disabled: minusDisabled.value,
578
578
  onClick: onDec
579
579
  }, [
580
- vue.createElementVNode("span", _hoisted_2$C, [
580
+ vue.createElementVNode("span", _hoisted_2$E, [
581
581
  vue.renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
582
582
  _cache[0] || (_cache[0] = vue.createTextVNode("−", -1))
583
583
  ], true)
584
584
  ])
585
- ], 8, _hoisted_1$J),
585
+ ], 8, _hoisted_1$L),
586
586
  vue.createElementVNode("input", {
587
587
  id: controlId.value,
588
588
  class: "tao-quantity__input",
@@ -602,7 +602,7 @@
602
602
  onFocus,
603
603
  onBlur,
604
604
  onKeydown
605
- }, null, 40, _hoisted_3$w),
605
+ }, null, 40, _hoisted_3$x),
606
606
  vue.createElementVNode("button", {
607
607
  type: "button",
608
608
  class: "tao-quantity__btn tao-quantity__btn--inc",
@@ -610,35 +610,35 @@
610
610
  disabled: plusDisabled.value,
611
611
  onClick: onInc
612
612
  }, [
613
- vue.createElementVNode("span", _hoisted_5$j, [
613
+ vue.createElementVNode("span", _hoisted_5$k, [
614
614
  vue.renderSlot(_ctx.$slots, "increment-icon", {}, () => [
615
615
  _cache[1] || (_cache[1] = vue.createTextVNode("+", -1))
616
616
  ], true)
617
617
  ])
618
- ], 8, _hoisted_4$r)
618
+ ], 8, _hoisted_4$s)
619
619
  ], 2);
620
620
  };
621
621
  }
622
622
  });
623
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-c9c7c8b4"]]);
624
- const _hoisted_1$I = {
623
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c9c7c8b4"]]);
624
+ const _hoisted_1$K = {
625
625
  key: 0,
626
626
  class: "tao-card__cover"
627
627
  };
628
- const _hoisted_2$B = {
628
+ const _hoisted_2$D = {
629
629
  key: 0,
630
630
  class: "tao-card__header-title"
631
631
  };
632
- const _hoisted_3$v = { key: 0 };
633
- const _hoisted_4$q = {
632
+ const _hoisted_3$w = { key: 0 };
633
+ const _hoisted_4$r = {
634
634
  key: 2,
635
635
  class: "tao-card__title-block"
636
636
  };
637
- const _hoisted_5$i = {
637
+ const _hoisted_5$j = {
638
638
  key: 0,
639
639
  class: "tao-card__title"
640
640
  };
641
- const _hoisted_6$e = {
641
+ const _hoisted_6$f = {
642
642
  key: 1,
643
643
  class: "tao-card__sub"
644
644
  };
@@ -650,7 +650,7 @@
650
650
  key: 4,
651
651
  class: "tao-card__footer"
652
652
  };
653
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
653
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
654
654
  ...{ name: "TaoCard" },
655
655
  __name: "TaoCard",
656
656
  props: {
@@ -682,14 +682,14 @@
682
682
  }]),
683
683
  style: vue.normalizeStyle(radiusStyle.value)
684
684
  }, [
685
- _ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
685
+ _ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
686
686
  vue.renderSlot(_ctx.$slots, "cover", {}, void 0, true)
687
687
  ])) : vue.createCommentVNode("", true),
688
688
  vue.createElementVNode("div", {
689
689
  class: "tao-card__content",
690
690
  style: vue.normalizeStyle(paddingStyle.value)
691
691
  }, [
692
- _ctx.$slots.headerTitle ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$B, [
692
+ _ctx.$slots.headerTitle ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$D, [
693
693
  vue.renderSlot(_ctx.$slots, "headerTitle", {}, void 0, true)
694
694
  ])) : vue.createCommentVNode("", true),
695
695
  _ctx.$slots.header || _ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -699,15 +699,15 @@
699
699
  vue.createElementVNode("span", null, [
700
700
  vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
701
701
  ]),
702
- _ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$v, [
702
+ _ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$w, [
703
703
  vue.renderSlot(_ctx.$slots, "headerSecondary", {}, void 0, true)
704
704
  ])) : vue.createCommentVNode("", true)
705
705
  ], 2)) : vue.createCommentVNode("", true),
706
- _ctx.$slots.title || _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$q, [
707
- _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_5$i, [
706
+ _ctx.$slots.title || _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$r, [
707
+ _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_5$j, [
708
708
  vue.renderSlot(_ctx.$slots, "title", {}, void 0, true)
709
709
  ])) : vue.createCommentVNode("", true),
710
- _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$e, [
710
+ _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$f, [
711
711
  vue.renderSlot(_ctx.$slots, "sub", {}, void 0, true)
712
712
  ])) : vue.createCommentVNode("", true)
713
713
  ])) : vue.createCommentVNode("", true),
@@ -722,7 +722,7 @@
722
722
  };
723
723
  }
724
724
  });
725
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-2ff3d055"]]);
725
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2ff3d055"]]);
726
726
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
727
727
  function getFocusable(root) {
728
728
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -776,21 +776,21 @@
776
776
  previousOverflow = "";
777
777
  }
778
778
  }
779
- const _hoisted_1$H = ["aria-labelledby"];
780
- const _hoisted_2$A = {
779
+ const _hoisted_1$J = ["aria-labelledby"];
780
+ const _hoisted_2$C = {
781
781
  key: 0,
782
782
  class: "tao-modal__header"
783
783
  };
784
- const _hoisted_3$u = ["id"];
785
- const _hoisted_4$p = { key: 1 };
786
- const _hoisted_5$h = ["aria-label"];
787
- const _hoisted_6$d = { "aria-hidden": "true" };
784
+ const _hoisted_3$v = ["id"];
785
+ const _hoisted_4$q = { key: 1 };
786
+ const _hoisted_5$i = ["aria-label"];
787
+ const _hoisted_6$e = { "aria-hidden": "true" };
788
788
  const _hoisted_7$b = { class: "tao-modal__content" };
789
789
  const _hoisted_8$a = {
790
790
  key: 1,
791
791
  class: "tao-modal__footer"
792
792
  };
793
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
793
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
794
794
  ...{ name: "TaoModal" },
795
795
  __name: "TaoModal",
796
796
  props: {
@@ -895,13 +895,13 @@
895
895
  "aria-labelledby": __props.title ? vue.unref(titleId) : void 0,
896
896
  tabindex: "-1"
897
897
  }, [
898
- __props.title || _ctx.$slots.header || __props.closable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A, [
898
+ __props.title || _ctx.$slots.header || __props.closable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
899
899
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
900
900
  __props.title ? (vue.openBlock(), vue.createElementBlock("h2", {
901
901
  key: 0,
902
902
  id: vue.unref(titleId),
903
903
  class: "tao-modal__title"
904
- }, vue.toDisplayString(__props.title), 9, _hoisted_3$u)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$p))
904
+ }, vue.toDisplayString(__props.title), 9, _hoisted_3$v)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$q))
905
905
  ], true),
906
906
  __props.closable ? (vue.openBlock(), vue.createElementBlock("button", {
907
907
  key: 0,
@@ -910,12 +910,12 @@
910
910
  "aria-label": __props.closeLabel,
911
911
  onClick: close
912
912
  }, [
913
- vue.createElementVNode("span", _hoisted_6$d, [
913
+ vue.createElementVNode("span", _hoisted_6$e, [
914
914
  vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
915
915
  _cache[0] || (_cache[0] = vue.createTextVNode("×", -1))
916
916
  ], true)
917
917
  ])
918
- ], 8, _hoisted_5$h)) : vue.createCommentVNode("", true)
918
+ ], 8, _hoisted_5$i)) : vue.createCommentVNode("", true)
919
919
  ])) : vue.createCommentVNode("", true),
920
920
  vue.createElementVNode("div", _hoisted_7$b, [
921
921
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -923,7 +923,7 @@
923
923
  _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$a, [
924
924
  vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
925
925
  ])) : vue.createCommentVNode("", true)
926
- ], 8, _hoisted_1$H)
926
+ ], 8, _hoisted_1$J)
927
927
  ], 32)) : vue.createCommentVNode("", true)
928
928
  ]),
929
929
  _: 3
@@ -932,11 +932,11 @@
932
932
  };
933
933
  }
934
934
  });
935
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-102cfd66"]]);
936
- const _hoisted_1$G = { class: "tao-tabs" };
937
- const _hoisted_2$z = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
938
- const _hoisted_3$t = ["id", "aria-labelledby"];
939
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
935
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-102cfd66"]]);
936
+ const _hoisted_1$I = { class: "tao-tabs" };
937
+ const _hoisted_2$B = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
938
+ const _hoisted_3$u = ["id", "aria-labelledby"];
939
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
940
940
  ...{ name: "TaoTabs" },
941
941
  __name: "TaoTabs",
942
942
  props: {
@@ -1000,7 +1000,7 @@
1000
1000
  }
1001
1001
  }
1002
1002
  return (_ctx, _cache) => {
1003
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
1003
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
1004
1004
  vue.createElementVNode("div", {
1005
1005
  class: "tao-tabs__list",
1006
1006
  role: "tablist",
@@ -1025,7 +1025,7 @@
1025
1025
  }, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
1026
1026
  vue.createTextVNode(vue.toDisplayString(tab.label), 1)
1027
1027
  ], 64))
1028
- ], 8, _hoisted_2$z);
1028
+ ], 8, _hoisted_2$B);
1029
1029
  }), 128))
1030
1030
  ], 32),
1031
1031
  vue.createElementVNode("div", {
@@ -1035,12 +1035,12 @@
1035
1035
  "aria-labelledby": tabId(__props.modelValue)
1036
1036
  }, [
1037
1037
  vue.renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
1038
- ], 8, _hoisted_3$t)
1038
+ ], 8, _hoisted_3$u)
1039
1039
  ]);
1040
1040
  };
1041
1041
  }
1042
1042
  });
1043
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-bf16735e"]]);
1043
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bf16735e"]]);
1044
1044
  function listenFocusLoss(onLoss) {
1045
1045
  function onVisibilityChange() {
1046
1046
  if (document.hidden) {
@@ -1056,7 +1056,7 @@
1056
1056
  window.removeEventListener("pagehide", onLoss);
1057
1057
  };
1058
1058
  }
1059
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1059
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
1060
1060
  ...{ name: "TaoTooltip" },
1061
1061
  __name: "TaoTooltip",
1062
1062
  props: {
@@ -1218,9 +1218,9 @@
1218
1218
  };
1219
1219
  }
1220
1220
  });
1221
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-926dfa73"]]);
1222
- const _hoisted_1$F = { class: "tao-popover" };
1223
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1221
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-926dfa73"]]);
1222
+ const _hoisted_1$H = { class: "tao-popover" };
1223
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1224
1224
  ...{ name: "TaoPopover" },
1225
1225
  __name: "TaoPopover",
1226
1226
  props: {
@@ -1389,7 +1389,7 @@
1389
1389
  unbindDismiss();
1390
1390
  });
1391
1391
  return (_ctx, _cache) => {
1392
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
1392
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
1393
1393
  vue.createElementVNode("div", {
1394
1394
  ref_key: "triggerRef",
1395
1395
  ref: triggerRef,
@@ -1418,17 +1418,17 @@
1418
1418
  };
1419
1419
  }
1420
1420
  });
1421
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-afd791a7"]]);
1421
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-afd791a7"]]);
1422
1422
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
1423
- const _hoisted_1$E = { class: "tao-spoiler" };
1424
- const _hoisted_2$y = ["aria-expanded", "aria-controls"];
1425
- const _hoisted_3$s = {
1423
+ const _hoisted_1$G = { class: "tao-spoiler" };
1424
+ const _hoisted_2$A = ["aria-expanded", "aria-controls"];
1425
+ const _hoisted_3$t = {
1426
1426
  key: 0,
1427
1427
  class: "tao-spoiler__title"
1428
1428
  };
1429
- const _hoisted_4$o = ["id"];
1430
- const _hoisted_5$g = { class: "tao-spoiler__content-inner" };
1431
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1429
+ const _hoisted_4$p = ["id"];
1430
+ const _hoisted_5$h = { class: "tao-spoiler__content-inner" };
1431
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1432
1432
  ...{ name: "TaoSpoiler" },
1433
1433
  __name: "TaoSpoiler",
1434
1434
  props: {
@@ -1483,7 +1483,7 @@
1483
1483
  });
1484
1484
  }
1485
1485
  return (_ctx, _cache) => {
1486
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
1486
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
1487
1487
  vue.createElementVNode("button", {
1488
1488
  type: "button",
1489
1489
  class: "tao-spoiler__header",
@@ -1494,12 +1494,12 @@
1494
1494
  vue.createElementVNode("span", {
1495
1495
  class: vue.normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }])
1496
1496
  }, "▶", 2),
1497
- __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$s, [
1497
+ __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$t, [
1498
1498
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
1499
1499
  vue.createTextVNode(vue.toDisplayString(__props.title), 1)
1500
1500
  ], true)
1501
1501
  ])) : vue.createCommentVNode("", true)
1502
- ], 8, _hoisted_2$y),
1502
+ ], 8, _hoisted_2$A),
1503
1503
  vue.createVNode(vue.Transition, {
1504
1504
  name: "tao-spoiler-slide",
1505
1505
  onBeforeEnter,
@@ -1513,10 +1513,10 @@
1513
1513
  id: vue.unref(panelId),
1514
1514
  class: "tao-spoiler__content"
1515
1515
  }, [
1516
- vue.createElementVNode("div", _hoisted_5$g, [
1516
+ vue.createElementVNode("div", _hoisted_5$h, [
1517
1517
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1518
1518
  ])
1519
- ], 8, _hoisted_4$o)) : vue.createCommentVNode("", true)
1519
+ ], 8, _hoisted_4$p)) : vue.createCommentVNode("", true)
1520
1520
  ]),
1521
1521
  _: 3
1522
1522
  })
@@ -1524,9 +1524,9 @@
1524
1524
  };
1525
1525
  }
1526
1526
  });
1527
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-ccb052cf"]]);
1528
- const _hoisted_1$D = { class: "tao-spoiler-group" };
1529
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1527
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-ccb052cf"]]);
1528
+ const _hoisted_1$F = { class: "tao-spoiler-group" };
1529
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1530
1530
  ...{ name: "TaoSpoilerGroup" },
1531
1531
  __name: "TaoSpoilerGroup",
1532
1532
  props: {
@@ -1551,15 +1551,15 @@
1551
1551
  setOpen
1552
1552
  });
1553
1553
  return (_ctx, _cache) => {
1554
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
1554
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
1555
1555
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1556
1556
  ]);
1557
1557
  };
1558
1558
  }
1559
1559
  });
1560
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-118970dd"]]);
1561
- const _hoisted_1$C = ["aria-label"];
1562
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1560
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-118970dd"]]);
1561
+ const _hoisted_1$E = ["aria-label"];
1562
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1563
1563
  ...{ name: "TaoCopy" },
1564
1564
  __name: "TaoCopy",
1565
1565
  props: {
@@ -1694,7 +1694,7 @@
1694
1694
  "stroke-width": "2"
1695
1695
  })
1696
1696
  ], -1)
1697
- ])], 10, _hoisted_1$C)
1697
+ ])], 10, _hoisted_1$E)
1698
1698
  ], true),
1699
1699
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
1700
1700
  copied.value && __props.tip && __props.successMessage ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -1710,8 +1710,8 @@
1710
1710
  };
1711
1711
  }
1712
1712
  });
1713
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-38d3381d"]]);
1714
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1713
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-38d3381d"]]);
1714
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1715
1715
  ...{ name: "TaoContainer" },
1716
1716
  __name: "TaoContainer",
1717
1717
  props: {
@@ -1728,8 +1728,8 @@
1728
1728
  };
1729
1729
  }
1730
1730
  });
1731
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-4c0deb90"]]);
1732
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1731
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4c0deb90"]]);
1732
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1733
1733
  ...{ name: "TaoFlex" },
1734
1734
  __name: "TaoFlex",
1735
1735
  props: {
@@ -1760,7 +1760,7 @@
1760
1760
  };
1761
1761
  }
1762
1762
  });
1763
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
1763
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1764
1764
  ...{ name: "TaoSpace" },
1765
1765
  __name: "TaoSpace",
1766
1766
  props: {
@@ -1780,15 +1780,66 @@
1780
1780
  };
1781
1781
  }
1782
1782
  });
1783
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-698ca712"]]);
1784
- const _hoisted_1$B = { class: "tao-split__pane tao-split__pane--start" };
1785
- const _hoisted_2$x = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
1786
- const _hoisted_3$r = { class: "tao-split__pane tao-split__pane--end" };
1787
- const _hoisted_4$n = {
1783
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-698ca712"]]);
1784
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1785
+ ...{ name: "TaoGrid" },
1786
+ __name: "TaoGrid",
1787
+ props: {
1788
+ min: { default: "220px" },
1789
+ cols: { default: 0 },
1790
+ gap: { default: "var(--tao-space-4)" }
1791
+ },
1792
+ setup(__props) {
1793
+ const props = __props;
1794
+ const isFixed = vue.computed(() => props.cols > 0);
1795
+ const gridStyle = vue.computed(() => ({
1796
+ "--tao-grid-min": props.min,
1797
+ "--tao-grid-cols": isFixed.value ? String(props.cols) : void 0,
1798
+ "--tao-grid-gap": props.gap
1799
+ }));
1800
+ return (_ctx, _cache) => {
1801
+ return vue.openBlock(), vue.createElementBlock("div", {
1802
+ class: vue.normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
1803
+ style: vue.normalizeStyle(gridStyle.value)
1804
+ }, [
1805
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1806
+ ], 6);
1807
+ };
1808
+ }
1809
+ });
1810
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bd5bc452"]]);
1811
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1812
+ ...{ name: "TaoGridItem" },
1813
+ __name: "TaoGridItem",
1814
+ props: {
1815
+ col: { default: 1 },
1816
+ row: { default: 1 }
1817
+ },
1818
+ setup(__props) {
1819
+ const props = __props;
1820
+ const itemStyle = vue.computed(() => ({
1821
+ "--tao-grid-col": String(Math.max(1, props.col)),
1822
+ "--tao-grid-row": String(Math.max(1, props.row))
1823
+ }));
1824
+ return (_ctx, _cache) => {
1825
+ return vue.openBlock(), vue.createElementBlock("div", {
1826
+ class: "tao-grid-item",
1827
+ style: vue.normalizeStyle(itemStyle.value)
1828
+ }, [
1829
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1830
+ ], 4);
1831
+ };
1832
+ }
1833
+ });
1834
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-43bd1e34"]]);
1835
+ const _hoisted_1$D = { class: "tao-split__pane tao-split__pane--start" };
1836
+ const _hoisted_2$z = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
1837
+ const _hoisted_3$s = { class: "tao-split__pane tao-split__pane--end" };
1838
+ const _hoisted_4$o = {
1788
1839
  key: 0,
1789
1840
  class: "tao-split__shield"
1790
1841
  };
1791
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
1842
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1792
1843
  ...{ name: "TaoSplit" },
1793
1844
  __name: "TaoSplit",
1794
1845
  props: {
@@ -2073,7 +2124,7 @@
2073
2124
  ]]),
2074
2125
  style: vue.normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
2075
2126
  }, [
2076
- vue.createElementVNode("div", _hoisted_1$B, [
2127
+ vue.createElementVNode("div", _hoisted_1$D, [
2077
2128
  vue.renderSlot(_ctx.$slots, "start", {}, void 0, true)
2078
2129
  ]),
2079
2130
  vue.createElementVNode("div", {
@@ -2096,18 +2147,18 @@
2096
2147
  onKeydown,
2097
2148
  onDragstart: _cache[0] || (_cache[0] = vue.withModifiers(() => {
2098
2149
  }, ["prevent"]))
2099
- }, null, 40, _hoisted_2$x),
2100
- vue.createElementVNode("div", _hoisted_3$r, [
2150
+ }, null, 40, _hoisted_2$z),
2151
+ vue.createElementVNode("div", _hoisted_3$s, [
2101
2152
  vue.renderSlot(_ctx.$slots, "end", {}, void 0, true)
2102
2153
  ]),
2103
- isDragging.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$n)) : vue.createCommentVNode("", true)
2154
+ isDragging.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$o)) : vue.createCommentVNode("", true)
2104
2155
  ], 6);
2105
2156
  };
2106
2157
  }
2107
2158
  });
2108
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-f44196dc"]]);
2109
- const _hoisted_1$A = { class: "tao-icon" };
2110
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2159
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f44196dc"]]);
2160
+ const _hoisted_1$C = { class: "tao-icon" };
2161
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2111
2162
  ...{ name: "TaoIcon" },
2112
2163
  __name: "TaoIcon",
2113
2164
  props: {
@@ -2122,7 +2173,7 @@
2122
2173
  }));
2123
2174
  const props = __props;
2124
2175
  return (_ctx, _cache) => {
2125
- return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$A, [
2176
+ return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$C, [
2126
2177
  vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
2127
2178
  vue.createElementVNode("i", {
2128
2179
  class: vue.normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
@@ -2133,8 +2184,8 @@
2133
2184
  };
2134
2185
  }
2135
2186
  });
2136
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-145b2cfc"]]);
2137
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2187
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-145b2cfc"]]);
2188
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2138
2189
  ...{ name: "TaoLoader" },
2139
2190
  __name: "TaoLoader",
2140
2191
  props: {
@@ -2195,11 +2246,11 @@
2195
2246
  };
2196
2247
  }
2197
2248
  });
2198
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-75a40018"]]);
2199
- const _hoisted_1$z = { class: "tao-image" };
2200
- const _hoisted_2$w = ["src", "alt", "loading"];
2201
- const _hoisted_3$q = { class: "tao-image__placeholder" };
2202
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2249
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-75a40018"]]);
2250
+ const _hoisted_1$B = { class: "tao-image" };
2251
+ const _hoisted_2$y = ["src", "alt", "loading"];
2252
+ const _hoisted_3$r = { class: "tao-image__placeholder" };
2253
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2203
2254
  ...{ name: "TaoImage" },
2204
2255
  __name: "TaoImage",
2205
2256
  props: {
@@ -2230,7 +2281,7 @@
2230
2281
  hasError.value = false;
2231
2282
  });
2232
2283
  return (_ctx, _cache) => {
2233
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
2284
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
2234
2285
  __props.src && !hasError.value ? (vue.openBlock(), vue.createElementBlock("img", {
2235
2286
  key: 0,
2236
2287
  class: vue.normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
@@ -2241,26 +2292,26 @@
2241
2292
  draggable: "false",
2242
2293
  onLoad: handleLoad,
2243
2294
  onError: handleError
2244
- }, null, 42, _hoisted_2$w)) : vue.createCommentVNode("", true),
2295
+ }, null, 42, _hoisted_2$y)) : vue.createCommentVNode("", true),
2245
2296
  !__props.src || hasError.value ? vue.renderSlot(_ctx.$slots, "default", {}, () => [
2246
- vue.createElementVNode("div", _hoisted_3$q, vue.toDisplayString(__props.placeholderText), 1)
2297
+ vue.createElementVNode("div", _hoisted_3$r, vue.toDisplayString(__props.placeholderText), 1)
2247
2298
  ], true, 1) : vue.createCommentVNode("", true)
2248
2299
  ]);
2249
2300
  };
2250
2301
  }
2251
2302
  });
2252
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-aea39025"]]);
2253
- const _hoisted_1$y = ["for"];
2254
- const _hoisted_2$v = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
2255
- const _hoisted_3$p = {
2303
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-aea39025"]]);
2304
+ const _hoisted_1$A = ["for"];
2305
+ const _hoisted_2$x = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
2306
+ const _hoisted_3$q = {
2256
2307
  key: 0,
2257
2308
  class: "tao-checkbox__label"
2258
2309
  };
2259
- const _hoisted_4$m = {
2310
+ const _hoisted_4$n = {
2260
2311
  key: 1,
2261
2312
  class: "tao-checkbox__label"
2262
2313
  };
2263
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2314
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2264
2315
  ...{ name: "TaoCheckbox" },
2265
2316
  __name: "TaoCheckbox",
2266
2317
  props: {
@@ -2330,25 +2381,25 @@
2330
2381
  "aria-invalid": invalid.value || void 0,
2331
2382
  "aria-describedby": describedBy.value,
2332
2383
  onChange: onInputChange
2333
- }, null, 40, _hoisted_2$v),
2384
+ }, null, 40, _hoisted_2$x),
2334
2385
  _cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
2335
- __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$p, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$m, [
2386
+ __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$n, [
2336
2387
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2337
2388
  ])),
2338
2389
  vue.renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
2339
- ], 10, _hoisted_1$y);
2390
+ ], 10, _hoisted_1$A);
2340
2391
  };
2341
2392
  }
2342
2393
  });
2343
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-f6b0e565"]]);
2344
- const _hoisted_1$x = {
2394
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f6b0e565"]]);
2395
+ const _hoisted_1$z = {
2345
2396
  key: 0,
2346
2397
  class: "tao-tag__prefix"
2347
2398
  };
2348
- const _hoisted_2$u = { class: "tao-tag__text" };
2349
- const _hoisted_3$o = ["aria-label"];
2350
- const _hoisted_4$l = { "aria-hidden": "true" };
2351
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2399
+ const _hoisted_2$w = { class: "tao-tag__text" };
2400
+ const _hoisted_3$p = ["aria-label"];
2401
+ const _hoisted_4$m = { "aria-hidden": "true" };
2402
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2352
2403
  ...{ name: "TaoTag" },
2353
2404
  __name: "TaoTag",
2354
2405
  props: {
@@ -2388,10 +2439,10 @@
2388
2439
  ]]),
2389
2440
  style: vue.normalizeStyle(style.value)
2390
2441
  }, [
2391
- _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$x, [
2442
+ _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, [
2392
2443
  vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
2393
2444
  ])) : vue.createCommentVNode("", true),
2394
- vue.createElementVNode("span", _hoisted_2$u, [
2445
+ vue.createElementVNode("span", _hoisted_2$w, [
2395
2446
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2396
2447
  ]),
2397
2448
  __props.closable ? (vue.openBlock(), vue.createElementBlock("button", {
@@ -2401,27 +2452,27 @@
2401
2452
  "aria-label": __props.closeLabel,
2402
2453
  onClick: vue.withModifiers(onClose, ["stop"])
2403
2454
  }, [
2404
- vue.createElementVNode("span", _hoisted_4$l, [
2455
+ vue.createElementVNode("span", _hoisted_4$m, [
2405
2456
  vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
2406
2457
  _cache[0] || (_cache[0] = vue.createTextVNode("✕", -1))
2407
2458
  ], true)
2408
2459
  ])
2409
- ], 8, _hoisted_3$o)) : vue.createCommentVNode("", true)
2460
+ ], 8, _hoisted_3$p)) : vue.createCommentVNode("", true)
2410
2461
  ], 6);
2411
2462
  };
2412
2463
  }
2413
2464
  });
2414
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f353f529"]]);
2415
- const _hoisted_1$w = {
2465
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-f353f529"]]);
2466
+ const _hoisted_1$y = {
2416
2467
  key: 1,
2417
2468
  class: "tao-divider-text"
2418
2469
  };
2419
- const _hoisted_2$t = { class: "tao-divider-text__value" };
2420
- const _hoisted_3$n = {
2470
+ const _hoisted_2$v = { class: "tao-divider-text__value" };
2471
+ const _hoisted_3$o = {
2421
2472
  key: 2,
2422
2473
  class: "tao-divider-line"
2423
2474
  };
2424
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2475
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2425
2476
  ...{ name: "TaoDivider" },
2426
2477
  __name: "TaoDivider",
2427
2478
  props: {
@@ -2435,23 +2486,23 @@
2435
2486
  return __props.variant === "gap" ? (vue.openBlock(), vue.createElementBlock("div", {
2436
2487
  key: 0,
2437
2488
  class: vue.normalizeClass(["tao-divider-gap", `tao-divider-gap--${gapSize.value}`])
2438
- }, null, 2)) : __props.variant === "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
2489
+ }, null, 2)) : __props.variant === "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
2439
2490
  _cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "tao-divider-text__line tao-divider-text__line--left" }, null, -1)),
2440
- vue.createElementVNode("span", _hoisted_2$t, [
2491
+ vue.createElementVNode("span", _hoisted_2$v, [
2441
2492
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2442
2493
  ]),
2443
2494
  _cache[1] || (_cache[1] = vue.createElementVNode("span", { class: "tao-divider-text__line tao-divider-text__line--right" }, null, -1))
2444
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n));
2495
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$o));
2445
2496
  };
2446
2497
  }
2447
2498
  });
2448
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-8187a15d"]]);
2449
- const _hoisted_1$v = {
2499
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-8187a15d"]]);
2500
+ const _hoisted_1$x = {
2450
2501
  key: 0,
2451
2502
  class: "tao-fieldset__legend"
2452
2503
  };
2453
- const _hoisted_2$s = { class: "tao-fieldset__body" };
2454
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2504
+ const _hoisted_2$u = { class: "tao-fieldset__body" };
2505
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2455
2506
  ...{ name: "TaoFieldset" },
2456
2507
  __name: "TaoFieldset",
2457
2508
  props: {
@@ -2463,20 +2514,20 @@
2463
2514
  return vue.openBlock(), vue.createElementBlock("fieldset", {
2464
2515
  class: vue.normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
2465
2516
  }, [
2466
- __props.legend || _ctx.$slots.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_1$v, [
2517
+ __props.legend || _ctx.$slots.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_1$x, [
2467
2518
  vue.renderSlot(_ctx.$slots, "legend", {}, () => [
2468
2519
  vue.createTextVNode(vue.toDisplayString(__props.legend), 1)
2469
2520
  ], true)
2470
2521
  ])) : vue.createCommentVNode("", true),
2471
- vue.createElementVNode("div", _hoisted_2$s, [
2522
+ vue.createElementVNode("div", _hoisted_2$u, [
2472
2523
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2473
2524
  ])
2474
2525
  ], 2);
2475
2526
  };
2476
2527
  }
2477
2528
  });
2478
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-34440ba5"]]);
2479
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2529
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-34440ba5"]]);
2530
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2480
2531
  ...{ name: "TaoAnimatedBorder" },
2481
2532
  __name: "TaoAnimatedBorder",
2482
2533
  props: {
@@ -2500,18 +2551,18 @@
2500
2551
  };
2501
2552
  }
2502
2553
  });
2503
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-f1534571"]]);
2504
- const _hoisted_1$u = {
2554
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-f1534571"]]);
2555
+ const _hoisted_1$w = {
2505
2556
  key: 0,
2506
2557
  class: "tao-textarea tao-textarea--dummy"
2507
2558
  };
2508
- const _hoisted_2$r = {
2559
+ const _hoisted_2$t = {
2509
2560
  key: 1,
2510
2561
  class: "tao-textarea-wrap"
2511
2562
  };
2512
- const _hoisted_3$m = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "rows", "value", "aria-invalid", "aria-describedby"];
2513
- const _hoisted_4$k = ["id"];
2514
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
2563
+ const _hoisted_3$n = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "rows", "value", "aria-invalid", "aria-describedby"];
2564
+ const _hoisted_4$l = ["id"];
2565
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2515
2566
  ...{ name: "TaoTextarea" },
2516
2567
  __name: "TaoTextarea",
2517
2568
  props: {
@@ -2608,7 +2659,7 @@
2608
2659
  vue.nextTick(autoResize);
2609
2660
  });
2610
2661
  return (_ctx, _cache) => {
2611
- return __props.dummy ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$u, vue.toDisplayString(__props.modelValue), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
2662
+ return __props.dummy ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$w, vue.toDisplayString(__props.modelValue), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$t, [
2612
2663
  vue.createElementVNode("textarea", {
2613
2664
  id: controlId.value,
2614
2665
  ref_key: "textareaRef",
@@ -2637,21 +2688,21 @@
2637
2688
  onFocus,
2638
2689
  onBlur,
2639
2690
  onKeydown
2640
- }, null, 42, _hoisted_3$m),
2691
+ }, null, 42, _hoisted_3$n),
2641
2692
  __props.count ? (vue.openBlock(), vue.createElementBlock("span", {
2642
2693
  key: 0,
2643
2694
  id: counterId.value,
2644
2695
  class: vue.normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
2645
- }, vue.toDisplayString(countLabel.value), 11, _hoisted_4$k)) : vue.createCommentVNode("", true)
2696
+ }, vue.toDisplayString(countLabel.value), 11, _hoisted_4$l)) : vue.createCommentVNode("", true)
2646
2697
  ]));
2647
2698
  };
2648
2699
  }
2649
2700
  });
2650
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-2534c0c4"]]);
2651
- const _hoisted_1$t = ["tabindex", "aria-label"];
2652
- const _hoisted_2$q = { class: "tao-scroll-top__content" };
2701
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2534c0c4"]]);
2702
+ const _hoisted_1$v = ["tabindex", "aria-label"];
2703
+ const _hoisted_2$s = { class: "tao-scroll-top__content" };
2653
2704
  const RIPPLE_DURATION = 750;
2654
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2705
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2655
2706
  ...{ name: "TaoScrollTop" },
2656
2707
  __name: "TaoScrollTop",
2657
2708
  props: {
@@ -2752,7 +2803,7 @@
2752
2803
  "aria-label": props.ariaLabel,
2753
2804
  onClick: vue.withModifiers(onClick, ["prevent"])
2754
2805
  }, [
2755
- vue.createElementVNode("div", _hoisted_2$q, [
2806
+ vue.createElementVNode("div", _hoisted_2$s, [
2756
2807
  vue.createElementVNode("div", {
2757
2808
  class: vue.normalizeClass([{ "tao-scroll-top__ripple--active": isRippleActive.value }, "tao-scroll-top__ripple"]),
2758
2809
  style: vue.normalizeStyle(rippleStyle)
@@ -2769,33 +2820,33 @@
2769
2820
  ], -1))
2770
2821
  ], true)
2771
2822
  ])
2772
- ], 14, _hoisted_1$t)) : vue.createCommentVNode("", true)
2823
+ ], 14, _hoisted_1$v)) : vue.createCommentVNode("", true)
2773
2824
  ]),
2774
2825
  _: 3
2775
2826
  });
2776
2827
  };
2777
2828
  }
2778
2829
  });
2779
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-59678649"]]);
2780
- const _hoisted_1$s = { class: "tao-progress" };
2781
- const _hoisted_2$p = {
2830
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-59678649"]]);
2831
+ const _hoisted_1$u = { class: "tao-progress" };
2832
+ const _hoisted_2$r = {
2782
2833
  key: 0,
2783
2834
  class: "tao-progress__side"
2784
2835
  };
2785
- const _hoisted_3$l = { class: "tao-progress__main" };
2786
- const _hoisted_4$j = {
2836
+ const _hoisted_3$m = { class: "tao-progress__main" };
2837
+ const _hoisted_4$k = {
2787
2838
  key: 0,
2788
2839
  class: "tao-progress__percentage"
2789
2840
  };
2790
- const _hoisted_5$f = {
2841
+ const _hoisted_5$g = {
2791
2842
  key: 1,
2792
2843
  class: "tao-progress__side"
2793
2844
  };
2794
- const _hoisted_6$c = {
2845
+ const _hoisted_6$d = {
2795
2846
  key: 0,
2796
2847
  class: "tao-progress__percentage"
2797
2848
  };
2798
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
2849
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
2799
2850
  ...{ name: "TaoProgress" },
2800
2851
  __name: "TaoProgress",
2801
2852
  props: {
@@ -2826,16 +2877,16 @@
2826
2877
  () => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
2827
2878
  );
2828
2879
  return (_ctx, _cache) => {
2829
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
2880
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
2830
2881
  vue.createElementVNode("div", {
2831
2882
  class: vue.normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
2832
2883
  style: vue.normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
2833
2884
  }, [
2834
- _ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$p, [
2885
+ _ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
2835
2886
  vue.renderSlot(_ctx.$slots, "left", {}, void 0, true)
2836
2887
  ])) : vue.createCommentVNode("", true),
2837
- vue.createElementVNode("div", _hoisted_3$l, [
2838
- showOverPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$j, vue.toDisplayString(__props.progress) + "%", 1)) : vue.createCommentVNode("", true),
2888
+ vue.createElementVNode("div", _hoisted_3$m, [
2889
+ showOverPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$k, vue.toDisplayString(__props.progress) + "%", 1)) : vue.createCommentVNode("", true),
2839
2890
  vue.createElementVNode("div", {
2840
2891
  class: "tao-progress__track",
2841
2892
  style: vue.normalizeStyle({ height: `${__props.height}px` })
@@ -2846,23 +2897,23 @@
2846
2897
  }, null, 6)
2847
2898
  ], 4)
2848
2899
  ]),
2849
- _ctx.$slots.right || showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$f, [
2900
+ _ctx.$slots.right || showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
2850
2901
  vue.renderSlot(_ctx.$slots, "right", {}, void 0, true),
2851
- showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$c, vue.toDisplayString(endPercentLabel.value), 1)) : vue.createCommentVNode("", true)
2902
+ showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$d, vue.toDisplayString(endPercentLabel.value), 1)) : vue.createCommentVNode("", true)
2852
2903
  ])) : vue.createCommentVNode("", true)
2853
2904
  ], 6)
2854
2905
  ]);
2855
2906
  };
2856
2907
  }
2857
2908
  });
2858
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-54c13718"]]);
2859
- const _hoisted_1$r = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-describedby"];
2860
- const _hoisted_2$o = ["placeholder"];
2861
- const _hoisted_3$k = {
2909
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-54c13718"]]);
2910
+ const _hoisted_1$t = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-describedby"];
2911
+ const _hoisted_2$q = ["placeholder"];
2912
+ const _hoisted_3$l = {
2862
2913
  key: 1,
2863
2914
  class: "tao-slider__value"
2864
2915
  };
2865
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
2916
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2866
2917
  ...{ name: "TaoSlider" },
2867
2918
  __name: "TaoSlider",
2868
2919
  props: {
@@ -3079,24 +3130,24 @@
3079
3130
  onKeydown: onShadowKeydown,
3080
3131
  onPointerdown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
3081
3132
  }, ["stop"]))
3082
- }, null, 40, _hoisted_2$o)), [
3133
+ }, null, 40, _hoisted_2$q)), [
3083
3134
  [vue.vModelText, shadowModel.value]
3084
- ]) : __props.showValue ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$k, [
3135
+ ]) : __props.showValue ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
3085
3136
  vue.renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
3086
3137
  vue.createTextVNode(vue.toDisplayString(__props.modelValue), 1),
3087
3138
  vue.renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
3088
3139
  ])) : vue.createCommentVNode("", true)
3089
- ], 42, _hoisted_1$r);
3140
+ ], 42, _hoisted_1$t);
3090
3141
  };
3091
3142
  }
3092
3143
  });
3093
- const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-24a38782"]]);
3094
- const _hoisted_1$q = { class: "tao-file-drop" };
3095
- const _hoisted_2$n = { class: "tao-file-drop__row" };
3096
- const _hoisted_3$j = ["aria-label"];
3097
- const _hoisted_4$i = { "aria-hidden": "true" };
3098
- const _hoisted_5$e = ["accept", "multiple"];
3099
- const _hoisted_6$b = {
3144
+ const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-24a38782"]]);
3145
+ const _hoisted_1$s = { class: "tao-file-drop" };
3146
+ const _hoisted_2$p = { class: "tao-file-drop__row" };
3147
+ const _hoisted_3$k = ["aria-label"];
3148
+ const _hoisted_4$j = { "aria-hidden": "true" };
3149
+ const _hoisted_5$f = ["accept", "multiple"];
3150
+ const _hoisted_6$c = {
3100
3151
  key: 0,
3101
3152
  class: "tao-file-drop__list"
3102
3153
  };
@@ -3104,7 +3155,7 @@
3104
3155
  const _hoisted_8$9 = { class: "tao-file-drop__meta" };
3105
3156
  const _hoisted_9$4 = ["aria-label", "onClick"];
3106
3157
  const _hoisted_10$4 = { "aria-hidden": "true" };
3107
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3158
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3108
3159
  ...{ name: "TaoFileDrop" },
3109
3160
  __name: "TaoFileDrop",
3110
3161
  props: {
@@ -3235,8 +3286,8 @@
3235
3286
  });
3236
3287
  vue.onBeforeUnmount(() => stopFocusLoss == null ? void 0 : stopFocusLoss());
3237
3288
  return (_ctx, _cache) => {
3238
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
3239
- vue.createElementVNode("div", _hoisted_2$n, [
3289
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
3290
+ vue.createElementVNode("div", _hoisted_2$p, [
3240
3291
  __props.showClear && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("button", {
3241
3292
  key: 0,
3242
3293
  type: "button",
@@ -3244,12 +3295,12 @@
3244
3295
  "aria-label": __props.clearLabel,
3245
3296
  onClick: requestClear
3246
3297
  }, [
3247
- vue.createElementVNode("span", _hoisted_4$i, [
3298
+ vue.createElementVNode("span", _hoisted_4$j, [
3248
3299
  vue.renderSlot(_ctx.$slots, "clear-icon", {}, () => [
3249
3300
  _cache[1] || (_cache[1] = vue.createTextVNode("✕", -1))
3250
3301
  ], true)
3251
3302
  ])
3252
- ], 8, _hoisted_3$j)) : vue.createCommentVNode("", true),
3303
+ ], 8, _hoisted_3$k)) : vue.createCommentVNode("", true),
3253
3304
  vue.createElementVNode("label", {
3254
3305
  class: vue.normalizeClass(["tao-file-drop__zone", [`tao-file-drop__zone--${__props.size}`, { "tao-file-drop__zone--dragging": isDragging.value }]]),
3255
3306
  onDragover: handleDragOver,
@@ -3269,10 +3320,10 @@
3269
3320
  onChange: handleFileSelect,
3270
3321
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
3271
3322
  }, ["stop"]))
3272
- }, null, 40, _hoisted_5$e)
3323
+ }, null, 40, _hoisted_5$f)
3273
3324
  ], 34)
3274
3325
  ]),
3275
- __props.list && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6$b, [
3326
+ __props.list && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6$c, [
3276
3327
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.modelValue, (file, index) => {
3277
3328
  return vue.openBlock(), vue.createElementBlock("li", {
3278
3329
  key: fileKey(file, index),
@@ -3299,15 +3350,15 @@
3299
3350
  };
3300
3351
  }
3301
3352
  });
3302
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-4b36e2a3"]]);
3303
- const _hoisted_1$p = ["aria-expanded", "aria-label"];
3304
- const _hoisted_2$m = {
3353
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4b36e2a3"]]);
3354
+ const _hoisted_1$r = ["aria-expanded", "aria-label"];
3355
+ const _hoisted_2$o = {
3305
3356
  key: 1,
3306
3357
  "aria-hidden": "true"
3307
3358
  };
3308
- const _hoisted_3$i = ["onClick", "onMouseenter"];
3309
- const _hoisted_4$h = { key: 1 };
3310
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
3359
+ const _hoisted_3$j = ["onClick", "onMouseenter"];
3360
+ const _hoisted_4$i = { key: 1 };
3361
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3311
3362
  ...{ name: "TaoDropdownMenu" },
3312
3363
  __name: "TaoDropdownMenu",
3313
3364
  props: {
@@ -3444,12 +3495,12 @@
3444
3495
  "aria-label": _ctx.$slots.button ? void 0 : __props.menuLabel,
3445
3496
  onClick: toggleMenu
3446
3497
  }, [
3447
- _ctx.$slots.button ? vue.renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$m, [
3498
+ _ctx.$slots.button ? vue.renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$o, [
3448
3499
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
3449
3500
  _cache[0] || (_cache[0] = vue.createTextVNode("⋮", -1))
3450
3501
  ], true)
3451
3502
  ]))
3452
- ], 8, _hoisted_1$p),
3503
+ ], 8, _hoisted_1$r),
3453
3504
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
3454
3505
  isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", {
3455
3506
  key: 0,
@@ -3474,8 +3525,8 @@
3474
3525
  id: action.id,
3475
3526
  ico: action.ico,
3476
3527
  text: action.name
3477
- }, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$h, vue.toDisplayString(action.name), 1))
3478
- ], 42, _hoisted_3$i);
3528
+ }, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$i, vue.toDisplayString(action.name), 1))
3529
+ ], 42, _hoisted_3$j);
3479
3530
  }), 128))
3480
3531
  ], 36)) : vue.createCommentVNode("", true)
3481
3532
  ]))
@@ -3483,10 +3534,10 @@
3483
3534
  };
3484
3535
  }
3485
3536
  });
3486
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-4750fe54"]]);
3487
- const _hoisted_1$o = ["aria-invalid", "aria-describedby"];
3488
- const _hoisted_2$l = ["id", "value", "placeholder", "type", "inputmode", "pattern", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
3489
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
3537
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cbfa7294"]]);
3538
+ const _hoisted_1$q = ["aria-invalid", "aria-describedby"];
3539
+ const _hoisted_2$n = ["id", "value", "placeholder", "type", "inputmode", "pattern", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
3540
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3490
3541
  ...{ name: "TaoPinCode" },
3491
3542
  __name: "TaoPinCode",
3492
3543
  props: {
@@ -3695,14 +3746,14 @@
3695
3746
  onKeydown: ($event) => onKeydown($event, index),
3696
3747
  onFocus: ($event) => onFocus(index),
3697
3748
  onBlur
3698
- }, null, 42, _hoisted_2$l);
3749
+ }, null, 42, _hoisted_2$n);
3699
3750
  }), 128))
3700
- ], 8, _hoisted_1$o);
3751
+ ], 8, _hoisted_1$q);
3701
3752
  };
3702
3753
  }
3703
3754
  });
3704
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-44474500"]]);
3705
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
3755
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-44474500"]]);
3756
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
3706
3757
  ...{ name: "TaoLink" },
3707
3758
  __name: "TaoLink",
3708
3759
  props: {
@@ -3744,8 +3795,8 @@
3744
3795
  };
3745
3796
  }
3746
3797
  });
3747
- const _hoisted_1$n = ["for"];
3748
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
3798
+ const _hoisted_1$p = ["for"];
3799
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
3749
3800
  ...{ name: "TaoFormField" },
3750
3801
  __name: "TaoFormField",
3751
3802
  props: {
@@ -3795,7 +3846,7 @@
3795
3846
  class: "tao-form-field__label",
3796
3847
  for: vue.unref(id),
3797
3848
  onClick: onLabelClick
3798
- }, vue.toDisplayString(__props.label), 9, _hoisted_1$n)) : vue.createCommentVNode("", true),
3849
+ }, vue.toDisplayString(__props.label), 9, _hoisted_1$p)) : vue.createCommentVNode("", true),
3799
3850
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
3800
3851
  __props.error ? (vue.openBlock(), vue.createElementBlock("p", {
3801
3852
  key: 1,
@@ -3810,12 +3861,12 @@
3810
3861
  };
3811
3862
  }
3812
3863
  });
3813
- const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-edd0be31"]]);
3814
- const _hoisted_1$m = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
3815
- const _hoisted_2$k = { class: "tao-select__value" };
3816
- const _hoisted_3$h = ["aria-activedescendant"];
3817
- const _hoisted_4$g = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
3818
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
3864
+ const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-edd0be31"]]);
3865
+ const _hoisted_1$o = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
3866
+ const _hoisted_2$m = { class: "tao-select__value" };
3867
+ const _hoisted_3$i = ["aria-activedescendant"];
3868
+ const _hoisted_4$h = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
3869
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
3819
3870
  ...{ name: "TaoSelect" },
3820
3871
  __name: "TaoSelect",
3821
3872
  props: {
@@ -4033,14 +4084,14 @@
4033
4084
  onClick: toggle,
4034
4085
  onKeydown: onTriggerKeydown
4035
4086
  }, [
4036
- vue.createElementVNode("span", _hoisted_2$k, vue.toDisplayString(((_a = selected.value) == null ? void 0 : _a.label) ?? __props.placeholder), 1),
4087
+ vue.createElementVNode("span", _hoisted_2$m, vue.toDisplayString(((_a = selected.value) == null ? void 0 : _a.label) ?? __props.placeholder), 1),
4037
4088
  vue.createElementVNode("span", {
4038
4089
  class: vue.normalizeClass(["tao-select__chevron", { "tao-select__chevron--custom": _ctx.$slots.chevron }]),
4039
4090
  "aria-hidden": "true"
4040
4091
  }, [
4041
4092
  vue.renderSlot(_ctx.$slots, "chevron", {}, void 0, true)
4042
4093
  ], 2)
4043
- ], 42, _hoisted_1$m),
4094
+ ], 42, _hoisted_1$o),
4044
4095
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
4045
4096
  open.value ? (vue.openBlock(), vue.createElementBlock("div", {
4046
4097
  key: 0,
@@ -4076,9 +4127,9 @@
4076
4127
  }, ["prevent"])),
4077
4128
  onClick: ($event) => selectOption(option),
4078
4129
  onMouseenter: ($event) => !option.disabled && (activeIndex.value = index)
4079
- }, vue.toDisplayString(option.label), 43, _hoisted_4$g);
4130
+ }, vue.toDisplayString(option.label), 43, _hoisted_4$h);
4080
4131
  }), 128))
4081
- ], 40, _hoisted_3$h),
4132
+ ], 40, _hoisted_3$i),
4082
4133
  selected.value ? (vue.openBlock(), vue.createElementBlock("button", {
4083
4134
  key: 0,
4084
4135
  type: "button",
@@ -4097,14 +4148,14 @@
4097
4148
  };
4098
4149
  }
4099
4150
  });
4100
- const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d9b336d8"]]);
4101
- const _hoisted_1$l = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
4102
- const _hoisted_2$j = {
4151
+ const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-d9b336d8"]]);
4152
+ const _hoisted_1$n = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
4153
+ const _hoisted_2$l = {
4103
4154
  key: 0,
4104
4155
  class: "tao-combobox__empty"
4105
4156
  };
4106
- const _hoisted_3$g = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
4107
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4157
+ const _hoisted_3$h = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
4158
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
4108
4159
  ...{ name: "TaoCombobox" },
4109
4160
  __name: "TaoCombobox",
4110
4161
  props: {
@@ -4525,7 +4576,7 @@
4525
4576
  onFocus,
4526
4577
  onBlur,
4527
4578
  onKeydown: onInputKeydown
4528
- }, null, 40, _hoisted_1$l),
4579
+ }, null, 40, _hoisted_1$n),
4529
4580
  vue.createElementVNode("span", {
4530
4581
  class: vue.normalizeClass(["tao-combobox__chevron", { "tao-combobox__chevron--custom": _ctx.$slots.chevron }]),
4531
4582
  "aria-hidden": "true"
@@ -4548,7 +4599,7 @@
4548
4599
  class: "tao-combobox__list",
4549
4600
  role: "listbox"
4550
4601
  }, [
4551
- !rows.value.length ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$j, [
4602
+ !rows.value.length ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$l, [
4552
4603
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
4553
4604
  vue.createTextVNode(vue.toDisplayString(__props.emptyText), 1)
4554
4605
  ], true)
@@ -4578,7 +4629,7 @@
4578
4629
  ], true, 0) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
4579
4630
  vue.createTextVNode(vue.toDisplayString(row.option.label), 1)
4580
4631
  ], 64))
4581
- ], 42, _hoisted_3$g);
4632
+ ], 42, _hoisted_3$h);
4582
4633
  }), 128))
4583
4634
  ], 512),
4584
4635
  selected.value ? (vue.openBlock(), vue.createElementBlock("button", {
@@ -4598,7 +4649,7 @@
4598
4649
  };
4599
4650
  }
4600
4651
  });
4601
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-131d254d"]]);
4652
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-131d254d"]]);
4602
4653
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
4603
4654
  function formatTaoDateIso(parts) {
4604
4655
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -4741,15 +4792,15 @@
4741
4792
  };
4742
4793
  });
4743
4794
  }
4744
- const _hoisted_1$k = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
4745
- const _hoisted_2$i = { class: "tao-date__value" };
4746
- const _hoisted_3$f = {
4795
+ const _hoisted_1$m = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
4796
+ const _hoisted_2$k = { class: "tao-date__value" };
4797
+ const _hoisted_3$g = {
4747
4798
  class: "tao-date__icon",
4748
4799
  "aria-hidden": "true"
4749
4800
  };
4750
- const _hoisted_4$f = ["aria-label"];
4751
- const _hoisted_5$d = { class: "tao-date__header" };
4752
- const _hoisted_6$a = ["aria-label"];
4801
+ const _hoisted_4$g = ["aria-label"];
4802
+ const _hoisted_5$e = { class: "tao-date__header" };
4803
+ const _hoisted_6$b = ["aria-label"];
4753
4804
  const _hoisted_7$9 = { "aria-hidden": "true" };
4754
4805
  const _hoisted_8$8 = { class: "tao-date__month" };
4755
4806
  const _hoisted_9$3 = ["aria-label"];
@@ -4765,7 +4816,7 @@
4765
4816
  const _hoisted_13$1 = ["aria-label", "aria-selected", "disabled", "onClick"];
4766
4817
  const _hoisted_14$1 = { class: "tao-date__footer" };
4767
4818
  const _hoisted_15 = ["disabled"];
4768
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
4819
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4769
4820
  ...{ name: "TaoDate" },
4770
4821
  __name: "TaoDate",
4771
4822
  props: {
@@ -4994,8 +5045,8 @@
4994
5045
  onClick: toggle,
4995
5046
  onKeydown: onTriggerKeydown
4996
5047
  }, [
4997
- vue.createElementVNode("span", _hoisted_2$i, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
4998
- vue.createElementVNode("span", _hoisted_3$f, [
5048
+ vue.createElementVNode("span", _hoisted_2$k, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
5049
+ vue.createElementVNode("span", _hoisted_3$g, [
4999
5050
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
5000
5051
  _cache[4] || (_cache[4] = vue.createElementVNode("svg", {
5001
5052
  viewBox: "0 0 16 16",
@@ -5023,7 +5074,7 @@
5023
5074
  ], -1))
5024
5075
  ], true)
5025
5076
  ])
5026
- ], 42, _hoisted_1$k),
5077
+ ], 42, _hoisted_1$m),
5027
5078
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
5028
5079
  open.value ? (vue.openBlock(), vue.createElementBlock("div", {
5029
5080
  key: 0,
@@ -5037,7 +5088,7 @@
5037
5088
  style: vue.normalizeStyle(panelStyle.value),
5038
5089
  onKeydown: onPanelKeydown
5039
5090
  }, [
5040
- vue.createElementVNode("div", _hoisted_5$d, [
5091
+ vue.createElementVNode("div", _hoisted_5$e, [
5041
5092
  vue.createElementVNode("button", {
5042
5093
  type: "button",
5043
5094
  class: "tao-date__nav",
@@ -5063,7 +5114,7 @@
5063
5114
  ], -1))
5064
5115
  ], true)
5065
5116
  ])
5066
- ], 8, _hoisted_6$a),
5117
+ ], 8, _hoisted_6$b),
5067
5118
  vue.createElementVNode("p", _hoisted_8$8, vue.toDisplayString(monthLabel.value), 1),
5068
5119
  vue.createElementVNode("button", {
5069
5120
  type: "button",
@@ -5141,22 +5192,22 @@
5141
5192
  ], true)
5142
5193
  ])) : vue.createCommentVNode("", true)
5143
5194
  ])
5144
- ], 44, _hoisted_4$f)) : vue.createCommentVNode("", true)
5195
+ ], 44, _hoisted_4$g)) : vue.createCommentVNode("", true)
5145
5196
  ]))
5146
5197
  ], 2);
5147
5198
  };
5148
5199
  }
5149
5200
  });
5150
- const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-ebd437a8"]]);
5151
- const _hoisted_1$j = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
5152
- const _hoisted_2$h = { class: "tao-date-range__value" };
5153
- const _hoisted_3$e = {
5201
+ const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ebd437a8"]]);
5202
+ const _hoisted_1$l = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
5203
+ const _hoisted_2$j = { class: "tao-date-range__value" };
5204
+ const _hoisted_3$f = {
5154
5205
  class: "tao-date-range__icon",
5155
5206
  "aria-hidden": "true"
5156
5207
  };
5157
- const _hoisted_4$e = ["aria-label"];
5158
- const _hoisted_5$c = { class: "tao-date__header" };
5159
- const _hoisted_6$9 = ["aria-label"];
5208
+ const _hoisted_4$f = ["aria-label"];
5209
+ const _hoisted_5$d = { class: "tao-date__header" };
5210
+ const _hoisted_6$a = ["aria-label"];
5160
5211
  const _hoisted_7$8 = { "aria-hidden": "true" };
5161
5212
  const _hoisted_8$7 = { class: "tao-date__month" };
5162
5213
  const _hoisted_9$2 = ["aria-label"];
@@ -5168,7 +5219,7 @@
5168
5219
  const _hoisted_12 = ["aria-label", "aria-selected", "disabled", "onMouseenter", "onClick"];
5169
5220
  const _hoisted_13 = { class: "tao-date__footer" };
5170
5221
  const _hoisted_14 = ["disabled"];
5171
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5222
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5172
5223
  ...{ name: "TaoDateRange" },
5173
5224
  __name: "TaoDateRange",
5174
5225
  props: {
@@ -5451,8 +5502,8 @@
5451
5502
  onClick: toggle,
5452
5503
  onKeydown: onTriggerKeydown
5453
5504
  }, [
5454
- vue.createElementVNode("span", _hoisted_2$h, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
5455
- vue.createElementVNode("span", _hoisted_3$e, [
5505
+ vue.createElementVNode("span", _hoisted_2$j, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
5506
+ vue.createElementVNode("span", _hoisted_3$f, [
5456
5507
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
5457
5508
  _cache[3] || (_cache[3] = vue.createElementVNode("svg", {
5458
5509
  viewBox: "0 0 16 16",
@@ -5480,7 +5531,7 @@
5480
5531
  ], -1))
5481
5532
  ], true)
5482
5533
  ])
5483
- ], 42, _hoisted_1$j),
5534
+ ], 42, _hoisted_1$l),
5484
5535
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
5485
5536
  open.value ? (vue.openBlock(), vue.createElementBlock("div", {
5486
5537
  key: 0,
@@ -5494,7 +5545,7 @@
5494
5545
  style: vue.normalizeStyle(panelStyle.value),
5495
5546
  onKeydown: onPanelKeydown
5496
5547
  }, [
5497
- vue.createElementVNode("div", _hoisted_5$c, [
5548
+ vue.createElementVNode("div", _hoisted_5$d, [
5498
5549
  vue.createElementVNode("button", {
5499
5550
  type: "button",
5500
5551
  class: "tao-date__nav",
@@ -5520,7 +5571,7 @@
5520
5571
  ], -1))
5521
5572
  ], true)
5522
5573
  ])
5523
- ], 8, _hoisted_6$9),
5574
+ ], 8, _hoisted_6$a),
5524
5575
  vue.createElementVNode("p", _hoisted_8$7, vue.toDisplayString(monthLabel.value), 1),
5525
5576
  vue.createElementVNode("button", {
5526
5577
  type: "button",
@@ -5607,24 +5658,24 @@
5607
5658
  ], true)
5608
5659
  ])) : vue.createCommentVNode("", true)
5609
5660
  ])
5610
- ], 44, _hoisted_4$e)) : vue.createCommentVNode("", true)
5661
+ ], 44, _hoisted_4$f)) : vue.createCommentVNode("", true)
5611
5662
  ]))
5612
5663
  ], 2);
5613
5664
  };
5614
5665
  }
5615
5666
  });
5616
- const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-aa589793"]]);
5617
- const _hoisted_1$i = ["for"];
5618
- const _hoisted_2$g = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
5619
- const _hoisted_3$d = {
5667
+ const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-aa589793"]]);
5668
+ const _hoisted_1$k = ["for"];
5669
+ const _hoisted_2$i = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
5670
+ const _hoisted_3$e = {
5620
5671
  key: 0,
5621
5672
  class: "tao-switch__label"
5622
5673
  };
5623
- const _hoisted_4$d = {
5674
+ const _hoisted_4$e = {
5624
5675
  key: 1,
5625
5676
  class: "tao-switch__label"
5626
5677
  };
5627
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5678
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5628
5679
  ...{ name: "TaoSwitch" },
5629
5680
  __name: "TaoSwitch",
5630
5681
  props: {
@@ -5665,33 +5716,33 @@
5665
5716
  "aria-invalid": invalid.value || void 0,
5666
5717
  "aria-describedby": describedBy.value,
5667
5718
  onChange: toggle
5668
- }, null, 40, _hoisted_2$g),
5719
+ }, null, 40, _hoisted_2$i),
5669
5720
  _cache[0] || (_cache[0] = vue.createElementVNode("span", {
5670
5721
  class: "tao-switch__track",
5671
5722
  "aria-hidden": "true"
5672
5723
  }, [
5673
5724
  vue.createElementVNode("span", { class: "tao-switch__thumb" })
5674
5725
  ], -1)),
5675
- __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$d, vue.toDisplayString(__props.label), 1)) : _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$d, [
5726
+ __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, vue.toDisplayString(__props.label), 1)) : _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$e, [
5676
5727
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
5677
5728
  ])) : vue.createCommentVNode("", true)
5678
- ], 10, _hoisted_1$i);
5729
+ ], 10, _hoisted_1$k);
5679
5730
  };
5680
5731
  }
5681
5732
  });
5682
- const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-17ce5000"]]);
5733
+ const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-17ce5000"]]);
5683
5734
  const radioGroupKey = Symbol("taoRadioGroup");
5684
- const _hoisted_1$h = ["for"];
5685
- const _hoisted_2$f = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-describedby"];
5686
- const _hoisted_3$c = {
5735
+ const _hoisted_1$j = ["for"];
5736
+ const _hoisted_2$h = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-describedby"];
5737
+ const _hoisted_3$d = {
5687
5738
  key: 0,
5688
5739
  class: "tao-radio__label"
5689
5740
  };
5690
- const _hoisted_4$c = {
5741
+ const _hoisted_4$d = {
5691
5742
  key: 1,
5692
5743
  class: "tao-radio__label"
5693
5744
  };
5694
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5745
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5695
5746
  ...{ name: "TaoRadio" },
5696
5747
  __name: "TaoRadio",
5697
5748
  props: {
@@ -5744,25 +5795,25 @@
5744
5795
  "aria-invalid": !vue.unref(group) && invalid.value || void 0,
5745
5796
  "aria-describedby": describedBy.value,
5746
5797
  onChange
5747
- }, null, 40, _hoisted_2$f),
5798
+ }, null, 40, _hoisted_2$h),
5748
5799
  _cache[0] || (_cache[0] = vue.createElementVNode("span", {
5749
5800
  class: "tao-radio__dot",
5750
5801
  "aria-hidden": "true"
5751
5802
  }, null, -1)),
5752
- __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$c, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$c, [
5803
+ __props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$d, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$d, [
5753
5804
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
5754
5805
  ]))
5755
- ], 10, _hoisted_1$h);
5806
+ ], 10, _hoisted_1$j);
5756
5807
  };
5757
5808
  }
5758
5809
  });
5759
- const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-e79d1fb6"]]);
5760
- const _hoisted_1$g = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
5761
- const _hoisted_2$e = {
5810
+ const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-e79d1fb6"]]);
5811
+ const _hoisted_1$i = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
5812
+ const _hoisted_2$g = {
5762
5813
  key: 0,
5763
5814
  class: "tao-radio-group__legend"
5764
5815
  };
5765
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5816
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5766
5817
  ...{ name: "TaoRadioGroup" },
5767
5818
  __name: "TaoRadioGroup",
5768
5819
  props: {
@@ -5804,20 +5855,20 @@
5804
5855
  "aria-invalid": invalid.value || void 0,
5805
5856
  "aria-labelledby": labelledBy.value
5806
5857
  }, [
5807
- __props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$e, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
5858
+ __props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$g, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
5808
5859
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
5809
- ], 10, _hoisted_1$g);
5860
+ ], 10, _hoisted_1$i);
5810
5861
  };
5811
5862
  }
5812
5863
  });
5813
- const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-6f6fa977"]]);
5864
+ const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6f6fa977"]]);
5814
5865
  const segmentedKey = Symbol("taoSegmented");
5815
- const _hoisted_1$f = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
5816
- const _hoisted_2$d = {
5866
+ const _hoisted_1$h = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
5867
+ const _hoisted_2$f = {
5817
5868
  key: 0,
5818
5869
  class: "tao-segmented__legend"
5819
5870
  };
5820
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5871
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5821
5872
  ...{ name: "TaoSegmented" },
5822
5873
  __name: "TaoSegmented",
5823
5874
  props: {
@@ -5928,7 +5979,7 @@
5928
5979
  "aria-labelledby": __props.legend ? void 0 : vue.unref(field) ? `${vue.unref(field).id}-label` : void 0,
5929
5980
  id: (_a = vue.unref(field)) == null ? void 0 : _a.id
5930
5981
  }, [
5931
- __props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$d, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
5982
+ __props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$f, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
5932
5983
  vue.createElementVNode("div", {
5933
5984
  ref_key: "trackRef",
5934
5985
  ref: trackRef,
@@ -5941,24 +5992,24 @@
5941
5992
  }, null, 4),
5942
5993
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
5943
5994
  ], 512)
5944
- ], 10, _hoisted_1$f);
5995
+ ], 10, _hoisted_1$h);
5945
5996
  };
5946
5997
  }
5947
5998
  });
5948
- const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-af757a32"]]);
5949
- const _hoisted_1$e = ["for"];
5950
- const _hoisted_2$c = ["id", "name", "value", "checked", "disabled", "aria-label"];
5951
- const _hoisted_3$b = { class: "tao-segmented-option__face" };
5952
- const _hoisted_4$b = {
5999
+ const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-af757a32"]]);
6000
+ const _hoisted_1$g = ["for"];
6001
+ const _hoisted_2$e = ["id", "name", "value", "checked", "disabled", "aria-label"];
6002
+ const _hoisted_3$c = { class: "tao-segmented-option__face" };
6003
+ const _hoisted_4$c = {
5953
6004
  key: 0,
5954
6005
  class: "tao-segmented-option__icon",
5955
6006
  "aria-hidden": "true"
5956
6007
  };
5957
- const _hoisted_5$b = {
6008
+ const _hoisted_5$c = {
5958
6009
  key: 1,
5959
6010
  class: "tao-segmented-option__label"
5960
6011
  };
5961
- const _hoisted_6$8 = {
6012
+ const _hoisted_6$9 = {
5962
6013
  key: 2,
5963
6014
  class: "tao-segmented-option__sr"
5964
6015
  };
@@ -5966,7 +6017,7 @@
5966
6017
  key: 3,
5967
6018
  class: "tao-segmented-option__count"
5968
6019
  };
5969
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
6020
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5970
6021
  ...{ name: "TaoSegmentedOption" },
5971
6022
  __name: "TaoSegmentedOption",
5972
6023
  props: {
@@ -6040,38 +6091,38 @@
6040
6091
  disabled: isDisabled.value,
6041
6092
  "aria-label": __props.ariaLabel,
6042
6093
  onChange
6043
- }, null, 40, _hoisted_2$c),
6044
- vue.createElementVNode("span", _hoisted_3$b, [
6045
- __props.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$b, [
6094
+ }, null, 40, _hoisted_2$e),
6095
+ vue.createElementVNode("span", _hoisted_3$c, [
6096
+ __props.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$c, [
6046
6097
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
6047
6098
  vue.createTextVNode(vue.toDisplayString(__props.icon), 1)
6048
6099
  ], true)
6049
6100
  ])) : vue.createCommentVNode("", true),
6050
- hasLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$b, [
6101
+ hasLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$c, [
6051
6102
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
6052
6103
  vue.createTextVNode(vue.toDisplayString(__props.label), 1)
6053
6104
  ], true)
6054
- ])) : __props.ariaLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$8, vue.toDisplayString(__props.ariaLabel), 1)) : vue.createCommentVNode("", true),
6105
+ ])) : __props.ariaLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$9, vue.toDisplayString(__props.ariaLabel), 1)) : vue.createCommentVNode("", true),
6055
6106
  countLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$7, vue.toDisplayString(countLabel.value), 1)) : vue.createCommentVNode("", true)
6056
6107
  ])
6057
- ], 10, _hoisted_1$e);
6108
+ ], 10, _hoisted_1$g);
6058
6109
  };
6059
6110
  }
6060
6111
  });
6061
- const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-1a9357a1"]]);
6062
- const _hoisted_1$d = ["role", "aria-live"];
6063
- const _hoisted_2$b = { class: "tao-alert__body" };
6064
- const _hoisted_3$a = {
6112
+ const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1a9357a1"]]);
6113
+ const _hoisted_1$f = ["role", "aria-live"];
6114
+ const _hoisted_2$d = { class: "tao-alert__body" };
6115
+ const _hoisted_3$b = {
6065
6116
  key: 0,
6066
6117
  class: "tao-alert__title"
6067
6118
  };
6068
- const _hoisted_4$a = {
6119
+ const _hoisted_4$b = {
6069
6120
  key: 1,
6070
6121
  class: "tao-alert__message"
6071
6122
  };
6072
- const _hoisted_5$a = ["aria-label"];
6073
- const _hoisted_6$7 = { "aria-hidden": "true" };
6074
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
6123
+ const _hoisted_5$b = ["aria-label"];
6124
+ const _hoisted_6$8 = { "aria-hidden": "true" };
6125
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
6075
6126
  ...{ name: "TaoAlert" },
6076
6127
  __name: "TaoAlert",
6077
6128
  props: {
@@ -6092,9 +6143,9 @@
6092
6143
  role: tone.value === "error" ? "alert" : "status",
6093
6144
  "aria-live": live.value
6094
6145
  }, [
6095
- vue.createElementVNode("div", _hoisted_2$b, [
6096
- __props.title ? (vue.openBlock(), vue.createElementBlock("strong", _hoisted_3$a, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
6097
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$a, [
6146
+ vue.createElementVNode("div", _hoisted_2$d, [
6147
+ __props.title ? (vue.openBlock(), vue.createElementBlock("strong", _hoisted_3$b, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
6148
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, [
6098
6149
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
6099
6150
  ])) : vue.createCommentVNode("", true)
6100
6151
  ]),
@@ -6105,30 +6156,30 @@
6105
6156
  "aria-label": __props.closeLabel,
6106
6157
  onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
6107
6158
  }, [
6108
- vue.createElementVNode("span", _hoisted_6$7, [
6159
+ vue.createElementVNode("span", _hoisted_6$8, [
6109
6160
  vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
6110
6161
  _cache[1] || (_cache[1] = vue.createTextVNode("×", -1))
6111
6162
  ], true)
6112
6163
  ])
6113
- ], 8, _hoisted_5$a)) : vue.createCommentVNode("", true)
6114
- ], 10, _hoisted_1$d);
6164
+ ], 8, _hoisted_5$b)) : vue.createCommentVNode("", true)
6165
+ ], 10, _hoisted_1$f);
6115
6166
  };
6116
6167
  }
6117
6168
  });
6118
- const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-1a1dbef3"]]);
6119
- const _hoisted_1$c = { key: 0 };
6120
- const _hoisted_2$a = ["aria-sort"];
6121
- const _hoisted_3$9 = ["onClick"];
6122
- const _hoisted_4$9 = { key: 1 };
6123
- const _hoisted_5$9 = { key: 0 };
6124
- const _hoisted_6$6 = ["colspan"];
6169
+ const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1a1dbef3"]]);
6170
+ const _hoisted_1$e = { key: 0 };
6171
+ const _hoisted_2$c = ["aria-sort"];
6172
+ const _hoisted_3$a = ["onClick"];
6173
+ const _hoisted_4$a = { key: 1 };
6174
+ const _hoisted_5$a = { key: 0 };
6175
+ const _hoisted_6$7 = ["colspan"];
6125
6176
  const _hoisted_7$6 = ["onClick"];
6126
6177
  const _hoisted_8$6 = {
6127
6178
  key: 0,
6128
6179
  class: "tao-table__loading",
6129
6180
  "aria-busy": "true"
6130
6181
  };
6131
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6182
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
6132
6183
  ...{ name: "TaoTable" },
6133
6184
  __name: "TaoTable",
6134
6185
  props: {
@@ -6209,7 +6260,7 @@
6209
6260
  "tao-table--sticky": __props.sticky
6210
6261
  }])
6211
6262
  }, [
6212
- __props.caption ? (vue.openBlock(), vue.createElementBlock("caption", _hoisted_1$c, vue.toDisplayString(__props.caption), 1)) : vue.createCommentVNode("", true),
6263
+ __props.caption ? (vue.openBlock(), vue.createElementBlock("caption", _hoisted_1$e, vue.toDisplayString(__props.caption), 1)) : vue.createCommentVNode("", true),
6213
6264
  vue.createElementVNode("thead", null, [
6214
6265
  vue.createElementVNode("tr", null, [
6215
6266
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, (column) => {
@@ -6233,13 +6284,13 @@
6233
6284
  }]),
6234
6285
  "aria-hidden": "true"
6235
6286
  }, null, 2)
6236
- ], 8, _hoisted_3$9)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, vue.toDisplayString(column.label), 1))
6237
- ], 12, _hoisted_2$a);
6287
+ ], 8, _hoisted_3$a)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$a, vue.toDisplayString(column.label), 1))
6288
+ ], 12, _hoisted_2$c);
6238
6289
  }), 128))
6239
6290
  ])
6240
6291
  ]),
6241
6292
  vue.createElementVNode("tbody", null, [
6242
- isEmpty.value ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$9, [
6293
+ isEmpty.value ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$a, [
6243
6294
  vue.createElementVNode("td", {
6244
6295
  class: "tao-table__empty",
6245
6296
  colspan: colCount.value
@@ -6247,7 +6298,7 @@
6247
6298
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
6248
6299
  vue.createTextVNode(vue.toDisplayString(__props.emptyText), 1)
6249
6300
  ], true)
6250
- ], 8, _hoisted_6$6)
6301
+ ], 8, _hoisted_6$7)
6251
6302
  ])) : vue.createCommentVNode("", true),
6252
6303
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.rows, (row, index) => {
6253
6304
  return vue.openBlock(), vue.createElementBlock("tr", {
@@ -6289,7 +6340,7 @@
6289
6340
  };
6290
6341
  }
6291
6342
  });
6292
- const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-5ce586b8"]]);
6343
+ const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5ce586b8"]]);
6293
6344
  function buildPaginationItems(page, pageCount, siblingCount = 1) {
6294
6345
  if (pageCount <= 0) {
6295
6346
  return [];
@@ -6314,15 +6365,15 @@
6314
6365
  items.push({ type: "page", page: pageCount });
6315
6366
  return items;
6316
6367
  }
6317
- const _hoisted_1$b = ["aria-label"];
6318
- const _hoisted_2$9 = {
6368
+ const _hoisted_1$d = ["aria-label"];
6369
+ const _hoisted_2$b = {
6319
6370
  key: 0,
6320
6371
  class: "tao-pagination__total"
6321
6372
  };
6322
- const _hoisted_3$8 = { class: "tao-pagination__pages" };
6323
- const _hoisted_4$8 = ["aria-label", "disabled"];
6324
- const _hoisted_5$8 = { "aria-hidden": "true" };
6325
- const _hoisted_6$5 = ["aria-label", "disabled", "onClick"];
6373
+ const _hoisted_3$9 = { class: "tao-pagination__pages" };
6374
+ const _hoisted_4$9 = ["aria-label", "disabled"];
6375
+ const _hoisted_5$9 = { "aria-hidden": "true" };
6376
+ const _hoisted_6$6 = ["aria-label", "disabled", "onClick"];
6326
6377
  const _hoisted_7$5 = {
6327
6378
  key: 1,
6328
6379
  class: "tao-pagination__ellipsis",
@@ -6331,7 +6382,7 @@
6331
6382
  const _hoisted_8$5 = ["aria-current", "aria-label", "disabled", "onClick"];
6332
6383
  const _hoisted_9$1 = ["aria-label", "disabled"];
6333
6384
  const _hoisted_10$1 = { "aria-hidden": "true" };
6334
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6385
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
6335
6386
  ...{ name: "TaoPagination" },
6336
6387
  __name: "TaoPagination",
6337
6388
  props: {
@@ -6384,7 +6435,7 @@
6384
6435
  class: vue.normalizeClass(["tao-pagination", `tao-pagination--${__props.size}`]),
6385
6436
  "aria-label": __props.ariaLabel
6386
6437
  }, [
6387
- __props.showTotal ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$9, [
6438
+ __props.showTotal ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$b, [
6388
6439
  vue.renderSlot(_ctx.$slots, "total", {
6389
6440
  from: from.value,
6390
6441
  to: to.value,
@@ -6397,7 +6448,7 @@
6397
6448
  ], 64))
6398
6449
  ], true)
6399
6450
  ])) : vue.createCommentVNode("", true),
6400
- vue.createElementVNode("div", _hoisted_3$8, [
6451
+ vue.createElementVNode("div", _hoisted_3$9, [
6401
6452
  vue.createElementVNode("button", {
6402
6453
  type: "button",
6403
6454
  class: "tao-pagination__btn",
@@ -6405,12 +6456,12 @@
6405
6456
  disabled: __props.disabled || current.value <= 1,
6406
6457
  onClick: _cache[0] || (_cache[0] = ($event) => goTo(current.value - 1))
6407
6458
  }, [
6408
- vue.createElementVNode("span", _hoisted_5$8, [
6459
+ vue.createElementVNode("span", _hoisted_5$9, [
6409
6460
  vue.renderSlot(_ctx.$slots, "prev-icon", {}, () => [
6410
6461
  _cache[2] || (_cache[2] = vue.createTextVNode("‹", -1))
6411
6462
  ], true)
6412
6463
  ])
6413
- ], 8, _hoisted_4$8),
6464
+ ], 8, _hoisted_4$9),
6414
6465
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item) => {
6415
6466
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
6416
6467
  key: item.type === "page" ? item.page : item.id
@@ -6422,7 +6473,7 @@
6422
6473
  "aria-label": item.id === "left" ? __props.jumpPrevLabel.replace("{n}", String(__props.jump)) : __props.jumpNextLabel.replace("{n}", String(__props.jump)),
6423
6474
  disabled: __props.disabled,
6424
6475
  onClick: ($event) => goTo(item.id === "left" ? current.value - __props.jump : current.value + __props.jump)
6425
- }, " … ", 8, _hoisted_6$5)) : item.type === "ellipsis" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$5, "…")) : (vue.openBlock(), vue.createElementBlock("button", {
6476
+ }, " … ", 8, _hoisted_6$6)) : item.type === "ellipsis" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$5, "…")) : (vue.openBlock(), vue.createElementBlock("button", {
6426
6477
  key: 2,
6427
6478
  type: "button",
6428
6479
  class: vue.normalizeClass(["tao-pagination__btn", { "tao-pagination__btn--current": item.page === current.value }]),
@@ -6447,29 +6498,29 @@
6447
6498
  ])
6448
6499
  ], 8, _hoisted_9$1)
6449
6500
  ])
6450
- ], 10, _hoisted_1$b);
6501
+ ], 10, _hoisted_1$d);
6451
6502
  };
6452
6503
  }
6453
6504
  });
6454
- const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-37f3d381"]]);
6455
- const _hoisted_1$a = { class: "tao-empty" };
6456
- const _hoisted_2$8 = {
6505
+ const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-37f3d381"]]);
6506
+ const _hoisted_1$c = { class: "tao-empty" };
6507
+ const _hoisted_2$a = {
6457
6508
  key: 0,
6458
6509
  class: "tao-empty__icon"
6459
6510
  };
6460
- const _hoisted_3$7 = {
6511
+ const _hoisted_3$8 = {
6461
6512
  key: 1,
6462
6513
  class: "tao-empty__title"
6463
6514
  };
6464
- const _hoisted_4$7 = {
6515
+ const _hoisted_4$8 = {
6465
6516
  key: 2,
6466
6517
  class: "tao-empty__text"
6467
6518
  };
6468
- const _hoisted_5$7 = {
6519
+ const _hoisted_5$8 = {
6469
6520
  key: 3,
6470
6521
  class: "tao-empty__action"
6471
6522
  };
6472
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6523
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6473
6524
  ...{ name: "TaoEmpty" },
6474
6525
  __name: "TaoEmpty",
6475
6526
  props: {
@@ -6477,22 +6528,189 @@
6477
6528
  },
6478
6529
  setup(__props) {
6479
6530
  return (_ctx, _cache) => {
6480
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
6481
- _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
6531
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
6532
+ _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
6482
6533
  vue.renderSlot(_ctx.$slots, "icon", {}, void 0, true)
6483
6534
  ])) : vue.createCommentVNode("", true),
6484
- __props.title ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$7, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
6485
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$7, [
6535
+ __props.title ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$8, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
6536
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$8, [
6486
6537
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
6487
6538
  ])) : vue.createCommentVNode("", true),
6488
- _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$7, [
6539
+ _ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
6489
6540
  vue.renderSlot(_ctx.$slots, "action", {}, void 0, true)
6490
6541
  ])) : vue.createCommentVNode("", true)
6491
6542
  ]);
6492
6543
  };
6493
6544
  }
6494
6545
  });
6495
- const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-8056884d"]]);
6546
+ const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8056884d"]]);
6547
+ const taoListKey = Symbol("taoList");
6548
+ const _hoisted_1$b = ["aria-label"];
6549
+ const _hoisted_2$9 = {
6550
+ key: 0,
6551
+ class: "tao-list__empty"
6552
+ };
6553
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6554
+ ...{ name: "TaoList" },
6555
+ __name: "TaoList",
6556
+ props: {
6557
+ size: { default: "medium" },
6558
+ bordered: { type: Boolean, default: true },
6559
+ divided: { type: Boolean, default: true },
6560
+ maxHeight: {},
6561
+ empty: { type: Boolean, default: false },
6562
+ ariaLabel: { default: "" }
6563
+ },
6564
+ setup(__props) {
6565
+ const props = __props;
6566
+ const size = vue.computed(() => props.size);
6567
+ vue.provide(taoListKey, { size });
6568
+ const listStyle = vue.computed(() => {
6569
+ if (props.maxHeight === void 0 || props.maxHeight === "") {
6570
+ return void 0;
6571
+ }
6572
+ const value = typeof props.maxHeight === "number" ? `${props.maxHeight}px` : props.maxHeight;
6573
+ return { maxHeight: value };
6574
+ });
6575
+ return (_ctx, _cache) => {
6576
+ return vue.openBlock(), vue.createElementBlock("ul", {
6577
+ class: vue.normalizeClass(["tao-list", [
6578
+ `tao-list--${size.value}`,
6579
+ {
6580
+ "tao-list--bordered": __props.bordered,
6581
+ "tao-list--divided": __props.divided,
6582
+ "tao-list--plain": !__props.bordered,
6583
+ "tao-list--empty": __props.empty,
6584
+ "tao-list--scroll": Boolean(__props.maxHeight)
6585
+ }
6586
+ ]]),
6587
+ style: vue.normalizeStyle(listStyle.value),
6588
+ "aria-label": __props.ariaLabel || void 0
6589
+ }, [
6590
+ __props.empty ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$9, [
6591
+ vue.renderSlot(_ctx.$slots, "empty", {}, () => [
6592
+ _cache[0] || (_cache[0] = vue.createTextVNode("Ничего нет", -1))
6593
+ ], true)
6594
+ ])) : vue.renderSlot(_ctx.$slots, "default", {}, void 0, true, 1)
6595
+ ], 14, _hoisted_1$b);
6596
+ };
6597
+ }
6598
+ });
6599
+ const TaoList = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-798c83a3"]]);
6600
+ const _hoisted_1$a = ["aria-current", "aria-disabled"];
6601
+ const _hoisted_2$8 = {
6602
+ key: 0,
6603
+ class: "tao-list-item__prefix"
6604
+ };
6605
+ const _hoisted_3$7 = { class: "tao-list-item__text" };
6606
+ const _hoisted_4$7 = { class: "tao-list-item__title" };
6607
+ const _hoisted_5$7 = {
6608
+ key: 0,
6609
+ class: "tao-list-item__description"
6610
+ };
6611
+ const _hoisted_6$5 = {
6612
+ key: 1,
6613
+ class: "tao-list-item__suffix"
6614
+ };
6615
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6616
+ ...{ name: "TaoListItem" },
6617
+ __name: "TaoListItem",
6618
+ props: {
6619
+ title: { default: "" },
6620
+ description: { default: "" },
6621
+ selected: { type: Boolean, default: false },
6622
+ disabled: { type: Boolean, default: false },
6623
+ active: { type: Boolean, default: false },
6624
+ clickable: { type: Boolean, default: false },
6625
+ size: {},
6626
+ actionAlways: { type: Boolean, default: false }
6627
+ },
6628
+ emits: ["click"],
6629
+ setup(__props, { emit: __emit }) {
6630
+ const props = __props;
6631
+ const emit = __emit;
6632
+ const slots = vue.useSlots();
6633
+ const list = vue.inject(taoListKey, null);
6634
+ const sizeClass = vue.computed(() => {
6635
+ const size = props.size ?? (list == null ? void 0 : list.size.value) ?? "medium";
6636
+ if (size === "small") {
6637
+ return "s";
6638
+ }
6639
+ if (size === "large") {
6640
+ return "l";
6641
+ }
6642
+ return "m";
6643
+ });
6644
+ const hasAction = vue.computed(() => Boolean(slots.action));
6645
+ const hasPrefix = vue.computed(() => Boolean(slots.prefix));
6646
+ const hasSuffix = vue.computed(() => Boolean(slots.suffix));
6647
+ const hasDescription = vue.computed(() => Boolean(props.description || slots.description));
6648
+ function onHitClick(event) {
6649
+ if (props.disabled || !props.clickable) {
6650
+ return;
6651
+ }
6652
+ emit("click", event);
6653
+ }
6654
+ return (_ctx, _cache) => {
6655
+ return vue.openBlock(), vue.createElementBlock("li", {
6656
+ class: vue.normalizeClass(["tao-list-item", [
6657
+ `tao-list-item--${sizeClass.value}`,
6658
+ {
6659
+ "tao-list-item--selected": __props.selected,
6660
+ "tao-list-item--disabled": __props.disabled,
6661
+ "tao-list-item--active": __props.active,
6662
+ "tao-list-item--clickable": __props.clickable,
6663
+ "tao-list-item--has-action": hasAction.value,
6664
+ "tao-list-item--action-always": __props.actionAlways
6665
+ }
6666
+ ]]),
6667
+ "aria-current": !__props.clickable && __props.selected ? "true" : void 0,
6668
+ "aria-disabled": __props.disabled || void 0
6669
+ }, [
6670
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.clickable ? "button" : "div"), {
6671
+ class: "tao-list-item__hit",
6672
+ type: __props.clickable ? "button" : void 0,
6673
+ disabled: __props.clickable ? __props.disabled : void 0,
6674
+ "aria-current": __props.clickable && __props.selected ? "true" : void 0,
6675
+ onClick: onHitClick
6676
+ }, {
6677
+ default: vue.withCtx(() => [
6678
+ hasPrefix.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$8, [
6679
+ vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
6680
+ ])) : vue.createCommentVNode("", true),
6681
+ vue.createElementVNode("span", _hoisted_3$7, [
6682
+ vue.createElementVNode("span", _hoisted_4$7, [
6683
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
6684
+ vue.createTextVNode(vue.toDisplayString(__props.title), 1)
6685
+ ], true)
6686
+ ]),
6687
+ hasDescription.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$7, [
6688
+ vue.renderSlot(_ctx.$slots, "description", {}, () => [
6689
+ vue.createTextVNode(vue.toDisplayString(__props.description), 1)
6690
+ ], true)
6691
+ ])) : vue.createCommentVNode("", true)
6692
+ ]),
6693
+ hasSuffix.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$5, [
6694
+ vue.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
6695
+ ])) : vue.createCommentVNode("", true)
6696
+ ]),
6697
+ _: 3
6698
+ }, 8, ["type", "disabled", "aria-current"])),
6699
+ hasAction.value ? (vue.openBlock(), vue.createElementBlock("div", {
6700
+ key: 0,
6701
+ class: "tao-list-item__action",
6702
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
6703
+ }, ["stop"])),
6704
+ onKeydown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
6705
+ }, ["stop"]))
6706
+ }, [
6707
+ vue.renderSlot(_ctx.$slots, "action", {}, void 0, true)
6708
+ ], 32)) : vue.createCommentVNode("", true)
6709
+ ], 10, _hoisted_1$a);
6710
+ };
6711
+ }
6712
+ });
6713
+ const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-878b7727"]]);
6496
6714
  const _hoisted_1$9 = {
6497
6715
  class: "tao-skeleton-group",
6498
6716
  "aria-hidden": true
@@ -6844,7 +7062,7 @@
6844
7062
  class: "tao-breadcrumb__item"
6845
7063
  }, [
6846
7064
  index > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$4, "/")) : vue.createCommentVNode("", true),
6847
- index === __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, vue.toDisplayString(item.label), 1)) : item.to ? (vue.openBlock(), vue.createBlock(_sfc_main$o, {
7065
+ index === __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, vue.toDisplayString(item.label), 1)) : item.to ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
6848
7066
  key: 2,
6849
7067
  class: "tao-breadcrumb__link",
6850
7068
  to: item.to
@@ -8513,8 +8731,10 @@
8513
8731
  TaoSpoilerGroup,
8514
8732
  TaoCopy,
8515
8733
  TaoContainer,
8516
- _sfc_main$G,
8734
+ _sfc_main$K,
8517
8735
  TaoSpace,
8736
+ TaoGrid,
8737
+ TaoGridItem,
8518
8738
  TaoSplit,
8519
8739
  TaoIcon,
8520
8740
  TaoLoader,
@@ -8531,7 +8751,7 @@
8531
8751
  TaoFileDrop,
8532
8752
  TaoDropdownMenu,
8533
8753
  TaoPinCode,
8534
- _sfc_main$o,
8754
+ _sfc_main$q,
8535
8755
  TaoFormField,
8536
8756
  TaoSelect,
8537
8757
  TaoCombobox,
@@ -8546,6 +8766,8 @@
8546
8766
  TaoTable,
8547
8767
  TaoPagination,
8548
8768
  TaoEmpty,
8769
+ TaoList,
8770
+ TaoListItem,
8549
8771
  TaoSkeleton,
8550
8772
  TaoDrawer,
8551
8773
  TaoAvatar,
@@ -8585,14 +8807,18 @@
8585
8807
  exports2.TaoEmpty = TaoEmpty;
8586
8808
  exports2.TaoFieldset = TaoFieldset;
8587
8809
  exports2.TaoFileDrop = TaoFileDrop;
8588
- exports2.TaoFlex = _sfc_main$G;
8810
+ exports2.TaoFlex = _sfc_main$K;
8589
8811
  exports2.TaoFormField = TaoFormField;
8812
+ exports2.TaoGrid = TaoGrid;
8813
+ exports2.TaoGridItem = TaoGridItem;
8590
8814
  exports2.TaoIcon = TaoIcon;
8591
8815
  exports2.TaoImage = TaoImage;
8592
8816
  exports2.TaoInput = TaoInput;
8593
8817
  exports2.TaoInputGroup = TaoInputGroup;
8594
8818
  exports2.TaoInputNumber = TaoInputNumber;
8595
- exports2.TaoLink = _sfc_main$o;
8819
+ exports2.TaoLink = _sfc_main$q;
8820
+ exports2.TaoList = TaoList;
8821
+ exports2.TaoListItem = TaoListItem;
8596
8822
  exports2.TaoLoader = TaoLoader;
8597
8823
  exports2.TaoModal = TaoModal;
8598
8824
  exports2.TaoPagination = TaoPagination;