@1337exp/taoui 5.1.1 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, useSlots, useAttrs, unref, createCommentVNode, createBlock, inject, useId, ref, createElementVNode, provide, shallowRef, watch, createVNode, toValue, onBeforeUnmount, Teleport, Transition, withCtx, toDisplayString, nextTick, Fragment, renderList, createTextVNode, onMounted, mergeProps, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, withModifiers, onBeforeMount, resolveComponent, getCurrentInstance, reactive, withKeys, withDirectives, vModelText, TransitionGroup, onUpdated, createApp } from "vue";
1
+ import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, useSlots, useAttrs, unref, createCommentVNode, createBlock, inject, useId, ref, createElementVNode, provide, shallowRef, watch, createVNode, toValue, onBeforeUnmount, Teleport, Transition, withCtx, toDisplayString, nextTick, Fragment, renderList, createTextVNode, onMounted, mergeProps, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, withModifiers, onBeforeMount, resolveComponent, toRef, withDirectives, vShow, getCurrentInstance, reactive, withKeys, vModelText, TransitionGroup, onUpdated, createApp } from "vue";
2
2
  function isDev() {
3
3
  try {
4
4
  return process.env.NODE_ENV !== "production";
@@ -66,6 +66,9 @@ const builtin = {
66
66
  "circle-dashed": { body: '<circle cx="12" cy="12" r="7.5" stroke-dasharray="24 12"/>' },
67
67
  "check-circle": { body: '<circle cx="12" cy="12" r="9"/><path d="M8 12.3l2.8 2.8L16 9.5"/>' },
68
68
  folder: { body: '<path d="M3.5 7a2 2 0 012-2h4l2 2.5h7a2 2 0 012 2V17a2 2 0 01-2 2h-13a2 2 0 01-2-2z"/>' },
69
+ "align-left": { body: '<path d="M4 6.5h16M4 12h10M4 17.5h16"/>', grid: true },
70
+ "align-center": { body: '<path d="M4 6.5h16M7 12h10M4 17.5h16"/>', grid: true },
71
+ "align-right": { body: '<path d="M4 6.5h16M10 12h10M4 17.5h16"/>', grid: true },
69
72
  file: { body: '<path d="M14 3.5H7.5A1.5 1.5 0 006 5v14a1.5 1.5 0 001.5 1.5h9A1.5 1.5 0 0018 19V7.5z"/><path d="M14 3.5v4h4"/>' }
70
73
  };
71
74
  const registered = shallowReactive({});
@@ -81,9 +84,9 @@ function resolveTaoIcon(name) {
81
84
  return name.startsWith(TAO_ICON_PREFIX) ? builtin[name.slice(TAO_ICON_PREFIX.length)] : registered[name];
82
85
  }
83
86
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
84
- const _hoisted_1$$ = { class: "tao-icon" };
85
- const _hoisted_2$U = ["viewBox", "width", "height", "innerHTML"];
86
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
87
+ const _hoisted_1$15 = { class: "tao-icon" };
88
+ const _hoisted_2$X = ["viewBox", "width", "height", "innerHTML"];
89
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
87
90
  ...{ name: "TaoIcon" },
88
91
  __name: "TaoIcon",
89
92
  props: {
@@ -103,7 +106,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
103
106
  }
104
107
  const box = computed(() => props.size ? `${props.size}px` : "1em");
105
108
  return (_ctx, _cache) => {
106
- return openBlock(), createElementBlock("span", _hoisted_1$$, [
109
+ return openBlock(), createElementBlock("span", _hoisted_1$15, [
107
110
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
108
111
  def.value ? (openBlock(), createElementBlock("svg", {
109
112
  key: 0,
@@ -119,7 +122,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
119
122
  "aria-hidden": "true",
120
123
  focusable: "false",
121
124
  innerHTML: def.value.body
122
- }, null, 10, _hoisted_2$U)) : (openBlock(), createElementBlock("i", {
125
+ }, null, 10, _hoisted_2$X)) : (openBlock(), createElementBlock("i", {
123
126
  key: 1,
124
127
  class: normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
125
128
  style: normalizeStyle(props.size ? `font-size: ${props.size}px` : "")
@@ -136,17 +139,17 @@ const _export_sfc = (sfc, props) => {
136
139
  }
137
140
  return target;
138
141
  };
139
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-ef842331"]]);
140
- const _hoisted_1$_ = ["type", "disabled"];
141
- const _hoisted_2$T = {
142
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-ef842331"]]);
143
+ const _hoisted_1$14 = ["type", "aria-pressed", "disabled"];
144
+ const _hoisted_2$W = {
142
145
  key: 0,
143
146
  class: "tao-button__loader"
144
147
  };
145
- const _hoisted_3$L = {
148
+ const _hoisted_3$O = {
146
149
  key: 2,
147
150
  class: "tao-button__content"
148
151
  };
149
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
152
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
150
153
  ...{ name: "TaoButton" },
151
154
  __name: "TaoButton",
152
155
  props: {
@@ -159,9 +162,10 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
159
162
  block: { type: Boolean, default: false },
160
163
  icon: { default: "" },
161
164
  iconEnd: { default: "" },
162
- minWidth: { default: void 0 }
165
+ minWidth: { default: void 0 },
166
+ pressed: { type: Boolean, default: void 0 }
163
167
  },
164
- emits: ["click"],
168
+ emits: ["click", "update:pressed"],
165
169
  setup(__props, { emit: __emit }) {
166
170
  const props = __props;
167
171
  const minWidthStyle = computed(
@@ -177,6 +181,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
177
181
  function handleClick(event) {
178
182
  if (!props.disabled && !props.loading) {
179
183
  emit("click", event);
184
+ if (props.pressed !== void 0) {
185
+ emit("update:pressed", !props.pressed);
186
+ }
180
187
  }
181
188
  }
182
189
  return (_ctx, _cache) => {
@@ -190,21 +197,23 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
190
197
  "tao-button--loading": __props.loading,
191
198
  "tao-button--block": __props.block,
192
199
  "tao-button--icon-only": iconOnly.value,
193
- "tao-button--toned": !!__props.tone && __props.tone !== "accent"
200
+ "tao-button--toned": !!__props.tone && __props.tone !== "accent",
201
+ "tao-button--pressed": __props.pressed === true
194
202
  }
195
203
  ]]),
196
204
  style: normalizeStyle(minWidthStyle.value),
197
205
  type: __props.type,
206
+ "aria-pressed": __props.pressed === void 0 ? void 0 : __props.pressed,
198
207
  disabled: __props.disabled || __props.loading,
199
208
  onClick: handleClick
200
209
  }, [
201
- __props.loading ? (openBlock(), createElementBlock("span", _hoisted_2$T)) : createCommentVNode("", true),
210
+ __props.loading ? (openBlock(), createElementBlock("span", _hoisted_2$W)) : createCommentVNode("", true),
202
211
  __props.icon ? (openBlock(), createBlock(TaoIcon, {
203
212
  key: 1,
204
213
  class: "tao-button__icon",
205
214
  name: __props.icon
206
215
  }, null, 8, ["name"])) : createCommentVNode("", true),
207
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$L, [
216
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$O, [
208
217
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
209
218
  ])) : createCommentVNode("", true),
210
219
  __props.iconEnd ? (openBlock(), createBlock(TaoIcon, {
@@ -212,11 +221,11 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
212
221
  class: "tao-button__icon",
213
222
  name: __props.iconEnd
214
223
  }, null, 8, ["name"])) : createCommentVNode("", true)
215
- ], 14, _hoisted_1$_);
224
+ ], 14, _hoisted_1$14);
216
225
  };
217
226
  }
218
227
  });
219
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-ee9d958a"]]);
228
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-2fd6b7f2"]]);
220
229
  function toCssLength(value) {
221
230
  if (value === void 0 || value === null || value === "") {
222
231
  return void 0;
@@ -235,7 +244,7 @@ function stripeClasses(stripe, tone = "accent") {
235
244
  function surfaceClass(surface) {
236
245
  return surface && surface !== "flat" ? `tao-surface-${surface}` : void 0;
237
246
  }
238
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
247
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
239
248
  ...{ name: "TaoBlock" },
240
249
  __name: "TaoBlock",
241
250
  props: {
@@ -268,7 +277,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
268
277
  };
269
278
  }
270
279
  });
271
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-1fc66575"]]);
280
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-1fc66575"]]);
272
281
  const formFieldKey = Symbol("taoFormField");
273
282
  function useField(props) {
274
283
  const field = inject(formFieldKey, null);
@@ -278,16 +287,16 @@ function useField(props) {
278
287
  const describedBy = computed(() => field?.describedBy.value);
279
288
  return { field, controlId, invalid, describedBy, localId };
280
289
  }
281
- const _hoisted_1$Z = {
290
+ const _hoisted_1$13 = {
282
291
  key: 0,
283
292
  class: "tao-input__affix tao-input__affix--prefix"
284
293
  };
285
- const _hoisted_2$S = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
286
- const _hoisted_3$K = {
294
+ const _hoisted_2$V = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
295
+ const _hoisted_3$N = {
287
296
  key: 1,
288
297
  class: "tao-input__affix tao-input__affix--suffix"
289
298
  };
290
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
299
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
291
300
  ...{ name: "TaoInput" },
292
301
  __name: "TaoInput",
293
302
  props: {
@@ -330,7 +339,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
330
339
  "tao-input-shell--suffix": _ctx.$slots.suffix
331
340
  }])
332
341
  }, [
333
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$Z, [
342
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$13, [
334
343
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
335
344
  ])) : createCommentVNode("", true),
336
345
  createElementVNode("input", {
@@ -345,8 +354,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
345
354
  onInput: handleInput,
346
355
  onBlur: handleBlur,
347
356
  onFocus: handleFocus
348
- }, null, 42, _hoisted_2$S),
349
- _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$K, [
357
+ }, null, 42, _hoisted_2$V),
358
+ _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$N, [
350
359
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
351
360
  ])) : createCommentVNode("", true)
352
361
  ], 2)
@@ -354,17 +363,17 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
354
363
  };
355
364
  }
356
365
  });
357
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-3153785f"]]);
358
- const _hoisted_1$Y = {
366
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-3153785f"]]);
367
+ const _hoisted_1$12 = {
359
368
  key: 0,
360
369
  class: "tao-input-group__addon tao-input-group__addon--before"
361
370
  };
362
- const _hoisted_2$R = { class: "tao-input-group__field" };
363
- const _hoisted_3$J = {
371
+ const _hoisted_2$U = { class: "tao-input-group__field" };
372
+ const _hoisted_3$M = {
364
373
  key: 1,
365
374
  class: "tao-input-group__addon tao-input-group__addon--after"
366
375
  };
367
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
376
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
368
377
  ...{ name: "TaoInputGroup" },
369
378
  __name: "TaoInputGroup",
370
379
  props: {
@@ -389,20 +398,20 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
389
398
  onFocusin: onFocusIn,
390
399
  onFocusout: onFocusOut
391
400
  }, [
392
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
401
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_1$12, [
393
402
  renderSlot(_ctx.$slots, "before", {}, void 0, true)
394
403
  ])) : createCommentVNode("", true),
395
- createElementVNode("div", _hoisted_2$R, [
404
+ createElementVNode("div", _hoisted_2$U, [
396
405
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
397
406
  ]),
398
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_3$J, [
407
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
399
408
  renderSlot(_ctx.$slots, "after", {}, void 0, true)
400
409
  ])) : createCommentVNode("", true)
401
410
  ], 34);
402
411
  };
403
412
  }
404
413
  });
405
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-55b2d297"]]);
414
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-55b2d297"]]);
406
415
  const localeEn = {
407
416
  code: "en-US",
408
417
  alert: { closeLabel: "Close", detailsLabel: "Details" },
@@ -776,16 +785,16 @@ function useLocaleText(props, section) {
776
785
  function formatText(template, values) {
777
786
  return template.replace(/\{(\w+)\}/g, (match, key) => key in values ? String(values[key]) : match);
778
787
  }
779
- const _hoisted_1$X = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
780
- const _hoisted_2$Q = {
788
+ const _hoisted_1$11 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
789
+ const _hoisted_2$T = {
781
790
  key: 0,
782
791
  class: "tao-input-number__steppers"
783
792
  };
784
- const _hoisted_3$I = ["aria-label", "disabled"];
785
- const _hoisted_4$A = { "aria-hidden": "true" };
786
- const _hoisted_5$r = ["aria-label", "disabled"];
787
- const _hoisted_6$l = { "aria-hidden": "true" };
788
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
793
+ const _hoisted_3$L = ["aria-label", "disabled"];
794
+ const _hoisted_4$D = { "aria-hidden": "true" };
795
+ const _hoisted_5$t = ["aria-label", "disabled"];
796
+ const _hoisted_6$m = { "aria-hidden": "true" };
797
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
789
798
  ...{ name: "TaoInputNumber" },
790
799
  __name: "TaoInputNumber",
791
800
  props: {
@@ -942,8 +951,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
942
951
  onFocus,
943
952
  onBlur,
944
953
  onKeydown: onKeydown2
945
- }, null, 40, _hoisted_1$X),
946
- __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
954
+ }, null, 40, _hoisted_1$11),
955
+ __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
947
956
  createElementVNode("button", {
948
957
  type: "button",
949
958
  class: "tao-input-number__step",
@@ -952,12 +961,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
952
961
  disabled: __props.disabled || atMax.value,
953
962
  onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
954
963
  }, [
955
- createElementVNode("span", _hoisted_4$A, [
964
+ createElementVNode("span", _hoisted_4$D, [
956
965
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
957
966
  createVNode(TaoIcon, { name: "tao-plus" })
958
967
  ], true)
959
968
  ])
960
- ], 8, _hoisted_3$I),
969
+ ], 8, _hoisted_3$L),
961
970
  createElementVNode("button", {
962
971
  type: "button",
963
972
  class: "tao-input-number__step",
@@ -966,24 +975,24 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
966
975
  disabled: __props.disabled || atMin.value,
967
976
  onClick: _cache[1] || (_cache[1] = ($event) => bump(-1))
968
977
  }, [
969
- createElementVNode("span", _hoisted_6$l, [
978
+ createElementVNode("span", _hoisted_6$m, [
970
979
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
971
980
  createVNode(TaoIcon, { name: "tao-minus" })
972
981
  ], true)
973
982
  ])
974
- ], 8, _hoisted_5$r)
983
+ ], 8, _hoisted_5$t)
975
984
  ])) : createCommentVNode("", true)
976
985
  ], 2);
977
986
  };
978
987
  }
979
988
  });
980
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-46475c32"]]);
981
- const _hoisted_1$W = ["aria-label", "disabled"];
982
- const _hoisted_2$P = { "aria-hidden": "true" };
983
- const _hoisted_3$H = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
984
- const _hoisted_4$z = ["aria-label", "disabled"];
985
- const _hoisted_5$q = { "aria-hidden": "true" };
986
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
989
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-46475c32"]]);
990
+ const _hoisted_1$10 = ["aria-label", "disabled"];
991
+ const _hoisted_2$S = { "aria-hidden": "true" };
992
+ const _hoisted_3$K = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
993
+ const _hoisted_4$C = ["aria-label", "disabled"];
994
+ const _hoisted_5$s = { "aria-hidden": "true" };
995
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
987
996
  ...{ name: "TaoQuantity" },
988
997
  __name: "TaoQuantity",
989
998
  props: {
@@ -1122,12 +1131,12 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1122
1131
  disabled: minusDisabled.value,
1123
1132
  onClick: onDec
1124
1133
  }, [
1125
- createElementVNode("span", _hoisted_2$P, [
1134
+ createElementVNode("span", _hoisted_2$S, [
1126
1135
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
1127
1136
  createVNode(TaoIcon, { name: "tao-minus" })
1128
1137
  ], true)
1129
1138
  ])
1130
- ], 8, _hoisted_1$W),
1139
+ ], 8, _hoisted_1$10),
1131
1140
  createElementVNode("input", {
1132
1141
  id: unref(controlId),
1133
1142
  class: "tao-quantity__input",
@@ -1147,7 +1156,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1147
1156
  onFocus,
1148
1157
  onBlur,
1149
1158
  onKeydown: onKeydown2
1150
- }, null, 40, _hoisted_3$H),
1159
+ }, null, 40, _hoisted_3$K),
1151
1160
  createElementVNode("button", {
1152
1161
  type: "button",
1153
1162
  class: "tao-quantity__btn tao-quantity__btn--inc",
@@ -1155,46 +1164,46 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1155
1164
  disabled: plusDisabled.value,
1156
1165
  onClick: onInc
1157
1166
  }, [
1158
- createElementVNode("span", _hoisted_5$q, [
1167
+ createElementVNode("span", _hoisted_5$s, [
1159
1168
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1160
1169
  createVNode(TaoIcon, { name: "tao-plus" })
1161
1170
  ], true)
1162
1171
  ])
1163
- ], 8, _hoisted_4$z)
1172
+ ], 8, _hoisted_4$C)
1164
1173
  ], 2);
1165
1174
  };
1166
1175
  }
1167
1176
  });
1168
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-f4fe9350"]]);
1169
- const _hoisted_1$V = {
1177
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-f4fe9350"]]);
1178
+ const _hoisted_1$$ = {
1170
1179
  key: 0,
1171
1180
  class: "tao-card__media"
1172
1181
  };
1173
- const _hoisted_2$O = {
1182
+ const _hoisted_2$R = {
1174
1183
  key: 0,
1175
1184
  class: "tao-card__overlay"
1176
1185
  };
1177
- const _hoisted_3$G = {
1186
+ const _hoisted_3$J = {
1178
1187
  key: 1,
1179
1188
  class: "tao-card__overlay"
1180
1189
  };
1181
- const _hoisted_4$y = {
1190
+ const _hoisted_4$B = {
1182
1191
  key: 0,
1183
1192
  class: "tao-card__header"
1184
1193
  };
1185
- const _hoisted_5$p = {
1194
+ const _hoisted_5$r = {
1186
1195
  key: 1,
1187
1196
  class: "tao-card__title-block"
1188
1197
  };
1189
- const _hoisted_6$k = {
1198
+ const _hoisted_6$l = {
1190
1199
  key: 0,
1191
1200
  class: "tao-card__title"
1192
1201
  };
1193
- const _hoisted_7$g = {
1202
+ const _hoisted_7$h = {
1194
1203
  key: 1,
1195
1204
  class: "tao-card__sub"
1196
1205
  };
1197
- const _hoisted_8$a = {
1206
+ const _hoisted_8$b = {
1198
1207
  key: 2,
1199
1208
  class: "tao-card__body"
1200
1209
  };
@@ -1207,7 +1216,7 @@ const _hoisted_10$4 = {
1207
1216
  class: "tao-card__corner"
1208
1217
  };
1209
1218
  const _hoisted_11$4 = ["aria-label"];
1210
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1219
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1211
1220
  ...{ name: "TaoCard" },
1212
1221
  __name: "TaoCard",
1213
1222
  props: {
@@ -1260,12 +1269,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1260
1269
  }]]),
1261
1270
  style: normalizeStyle(radiusStyle.value)
1262
1271
  }, [
1263
- _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
1272
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
1264
1273
  renderSlot(_ctx.$slots, "media", {}, void 0, true),
1265
- _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$O, [
1274
+ _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$R, [
1266
1275
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1267
1276
  ])) : createCommentVNode("", true)
1268
- ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
1277
+ ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$J, [
1269
1278
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1270
1279
  ])) : createCommentVNode("", true),
1271
1280
  hasContent.value ? (openBlock(), createElementBlock("div", {
@@ -1273,18 +1282,18 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1273
1282
  class: "tao-card__content",
1274
1283
  style: normalizeStyle(paddingStyle.value)
1275
1284
  }, [
1276
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$y, [
1285
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$B, [
1277
1286
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
1278
1287
  ])) : createCommentVNode("", true),
1279
- _ctx.$slots.title || _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_5$p, [
1280
- _ctx.$slots.title ? (openBlock(), createElementBlock("h2", _hoisted_6$k, [
1288
+ _ctx.$slots.title || _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
1289
+ _ctx.$slots.title ? (openBlock(), createElementBlock("h2", _hoisted_6$l, [
1281
1290
  renderSlot(_ctx.$slots, "title", {}, void 0, true)
1282
1291
  ])) : createCommentVNode("", true),
1283
- _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_7$g, [
1292
+ _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_7$h, [
1284
1293
  renderSlot(_ctx.$slots, "sub", {}, void 0, true)
1285
1294
  ])) : createCommentVNode("", true)
1286
1295
  ])) : createCommentVNode("", true),
1287
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
1296
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_8$b, [
1288
1297
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1289
1298
  ])) : createCommentVNode("", true),
1290
1299
  _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_9$6, [
@@ -1310,7 +1319,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1310
1319
  };
1311
1320
  }
1312
1321
  });
1313
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-10c58c01"]]);
1322
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-10c58c01"]]);
1314
1323
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1315
1324
  function getFocusable(root) {
1316
1325
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1432,21 +1441,21 @@ function useLayer(open, options = {}) {
1432
1441
  onBeforeUnmount(leave);
1433
1442
  return { isTop: () => stack[stack.length - 1] === layer };
1434
1443
  }
1435
- const _hoisted_1$U = ["aria-labelledby"];
1436
- const _hoisted_2$N = {
1444
+ const _hoisted_1$_ = ["aria-labelledby"];
1445
+ const _hoisted_2$Q = {
1437
1446
  key: 0,
1438
1447
  class: "tao-modal__header"
1439
1448
  };
1440
- const _hoisted_3$F = ["id"];
1441
- const _hoisted_4$x = { key: 1 };
1442
- const _hoisted_5$o = ["aria-label"];
1443
- const _hoisted_6$j = { "aria-hidden": "true" };
1444
- const _hoisted_7$f = { class: "tao-modal__content" };
1445
- const _hoisted_8$9 = {
1449
+ const _hoisted_3$I = ["id"];
1450
+ const _hoisted_4$A = { key: 1 };
1451
+ const _hoisted_5$q = ["aria-label"];
1452
+ const _hoisted_6$k = { "aria-hidden": "true" };
1453
+ const _hoisted_7$g = { class: "tao-modal__content" };
1454
+ const _hoisted_8$a = {
1446
1455
  key: 1,
1447
1456
  class: "tao-modal__footer"
1448
1457
  };
1449
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1458
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1450
1459
  ...{ name: "TaoModal" },
1451
1460
  __name: "TaoModal",
1452
1461
  props: {
@@ -1523,13 +1532,13 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1523
1532
  "aria-labelledby": __props.title ? unref(titleId) : void 0,
1524
1533
  tabindex: "-1"
1525
1534
  }, [
1526
- __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$N, [
1535
+ __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
1527
1536
  renderSlot(_ctx.$slots, "header", {}, () => [
1528
1537
  __props.title ? (openBlock(), createElementBlock("h2", {
1529
1538
  key: 0,
1530
1539
  id: unref(titleId),
1531
1540
  class: "tao-modal__title"
1532
- }, toDisplayString(__props.title), 9, _hoisted_3$F)) : (openBlock(), createElementBlock("span", _hoisted_4$x))
1541
+ }, toDisplayString(__props.title), 9, _hoisted_3$I)) : (openBlock(), createElementBlock("span", _hoisted_4$A))
1533
1542
  ], true),
1534
1543
  __props.closable ? (openBlock(), createElementBlock("button", {
1535
1544
  key: 0,
@@ -1538,20 +1547,20 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1538
1547
  "aria-label": unref(l10n).closeLabel,
1539
1548
  onClick: close
1540
1549
  }, [
1541
- createElementVNode("span", _hoisted_6$j, [
1550
+ createElementVNode("span", _hoisted_6$k, [
1542
1551
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
1543
1552
  createVNode(TaoIcon, { name: "tao-close" })
1544
1553
  ], true)
1545
1554
  ])
1546
- ], 8, _hoisted_5$o)) : createCommentVNode("", true)
1555
+ ], 8, _hoisted_5$q)) : createCommentVNode("", true)
1547
1556
  ])) : createCommentVNode("", true),
1548
- createElementVNode("div", _hoisted_7$f, [
1557
+ createElementVNode("div", _hoisted_7$g, [
1549
1558
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1550
1559
  ]),
1551
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_8$9, [
1560
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
1552
1561
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1553
1562
  ])) : createCommentVNode("", true)
1554
- ], 8, _hoisted_1$U)
1563
+ ], 8, _hoisted_1$_)
1555
1564
  ], 32)) : createCommentVNode("", true)
1556
1565
  ]),
1557
1566
  _: 3
@@ -1560,10 +1569,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1560
1569
  };
1561
1570
  }
1562
1571
  });
1563
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-81f06602"]]);
1564
- const _hoisted_1$T = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1565
- const _hoisted_2$M = ["id", "aria-labelledby"];
1566
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1572
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-81f06602"]]);
1573
+ const _hoisted_1$Z = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1574
+ const _hoisted_2$P = ["id", "aria-labelledby"];
1575
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1567
1576
  ...{ name: "TaoTabs" },
1568
1577
  __name: "TaoTabs",
1569
1578
  props: {
@@ -1658,7 +1667,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1658
1667
  }, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1659
1668
  createTextVNode(toDisplayString(tab.label), 1)
1660
1669
  ], 64))
1661
- ], 8, _hoisted_1$T);
1670
+ ], 8, _hoisted_1$Z);
1662
1671
  }), 128))
1663
1672
  ], 36),
1664
1673
  createElementVNode("div", {
@@ -1668,12 +1677,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1668
1677
  "aria-labelledby": tabId(__props.modelValue)
1669
1678
  }, [
1670
1679
  renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
1671
- ], 8, _hoisted_2$M)
1680
+ ], 8, _hoisted_2$P)
1672
1681
  ], 2);
1673
1682
  };
1674
1683
  }
1675
1684
  });
1676
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-70811078"]]);
1685
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-70811078"]]);
1677
1686
  function listenFocusLoss(onLoss) {
1678
1687
  function onVisibilityChange() {
1679
1688
  if (document.hidden) {
@@ -1767,22 +1776,22 @@ function normalizeMarks(marks, min, max, format = String) {
1767
1776
  function isMarkActive(markValue, values) {
1768
1777
  return values.length === 2 ? markValue >= values[0] && markValue <= values[1] : markValue <= (values[0] ?? 0);
1769
1778
  }
1770
- const _hoisted_1$S = ["aria-disabled"];
1771
- const _hoisted_2$L = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "onKeydown"];
1772
- const _hoisted_3$E = {
1779
+ const _hoisted_1$Y = ["aria-disabled"];
1780
+ const _hoisted_2$O = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "onKeydown"];
1781
+ const _hoisted_3$H = {
1773
1782
  key: 0,
1774
1783
  class: "tao-slider__value"
1775
1784
  };
1776
- const _hoisted_4$w = {
1785
+ const _hoisted_4$z = {
1777
1786
  key: 0,
1778
1787
  class: "tao-slider__marks"
1779
1788
  };
1780
- const _hoisted_5$n = ["disabled", "onClick"];
1781
- const _hoisted_6$i = {
1789
+ const _hoisted_5$p = ["disabled", "onClick"];
1790
+ const _hoisted_6$j = {
1782
1791
  key: 0,
1783
1792
  class: "tao-slider__mark-label"
1784
1793
  };
1785
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
1794
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1786
1795
  ...{ name: "TaoSliderBase" },
1787
1796
  __name: "TaoSliderBase",
1788
1797
  props: {
@@ -2004,15 +2013,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2004
2013
  "aria-describedby": unref(describedBy),
2005
2014
  onKeydown: ($event) => onKeydown2($event, i),
2006
2015
  onBlur: _cache[0] || (_cache[0] = ($event) => pointerFocus.value = false)
2007
- }, null, 46, _hoisted_2$L);
2016
+ }, null, 46, _hoisted_2$O);
2008
2017
  }), 128)),
2009
- __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_3$E, [
2018
+ __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_3$H, [
2010
2019
  renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
2011
2020
  createTextVNode(toDisplayString(barText.value), 1),
2012
2021
  renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
2013
2022
  ])) : createCommentVNode("", true)
2014
2023
  ], 544),
2015
- markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$w, [
2024
+ markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$z, [
2016
2025
  (openBlock(true), createElementBlock(Fragment, null, renderList(markList.value, (mark) => {
2017
2026
  return openBlock(), createElementBlock("button", {
2018
2027
  key: mark.value,
@@ -2028,7 +2037,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2028
2037
  onClick: ($event) => onMarkClick(mark)
2029
2038
  }, [
2030
2039
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "tao-slider__tick" }, null, -1)),
2031
- mark.label ? (openBlock(), createElementBlock("span", _hoisted_6$i, [
2040
+ mark.label ? (openBlock(), createElementBlock("span", _hoisted_6$j, [
2032
2041
  renderSlot(_ctx.$slots, "mark", {
2033
2042
  mark,
2034
2043
  active: unref(isMarkActive)(mark.value, values.value)
@@ -2036,15 +2045,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2036
2045
  createTextVNode(toDisplayString(mark.label), 1)
2037
2046
  ], true)
2038
2047
  ])) : createCommentVNode("", true)
2039
- ], 14, _hoisted_5$n);
2048
+ ], 14, _hoisted_5$p);
2040
2049
  }), 128))
2041
2050
  ])) : createCommentVNode("", true)
2042
- ], 42, _hoisted_1$S);
2051
+ ], 42, _hoisted_1$Y);
2043
2052
  };
2044
2053
  }
2045
2054
  });
2046
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-6085dc4f"]]);
2047
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2055
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-6085dc4f"]]);
2056
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2048
2057
  ...{ name: "TaoSlider" },
2049
2058
  __name: "TaoSlider",
2050
2059
  props: {
@@ -2101,13 +2110,13 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2101
2110
  };
2102
2111
  }
2103
2112
  });
2104
- const _hoisted_1$R = { class: "tao-scrubber__controls" };
2105
- const _hoisted_2$K = { class: "tao-scrubber__track" };
2106
- const _hoisted_3$D = {
2113
+ const _hoisted_1$X = { class: "tao-scrubber__controls" };
2114
+ const _hoisted_2$N = { class: "tao-scrubber__track" };
2115
+ const _hoisted_3$G = {
2107
2116
  key: 0,
2108
2117
  class: "tao-scrubber__time"
2109
2118
  };
2110
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2119
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2111
2120
  ...{ name: "TaoScrubber" },
2112
2121
  __name: "TaoScrubber",
2113
2122
  props: {
@@ -2147,7 +2156,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2147
2156
  return openBlock(), createElementBlock("div", {
2148
2157
  class: normalizeClass(["tao-scrubber", [unref(sizeClass)(__props.size), `tao-scrubber--${__props.variant}`, { "tao-scrubber--marks-start": __props.marksSide === "start", "tao-scrubber--disabled": __props.disabled }]])
2149
2158
  }, [
2150
- createElementVNode("div", _hoisted_1$R, [
2159
+ createElementVNode("div", _hoisted_1$X, [
2151
2160
  createVNode(TaoButton, {
2152
2161
  size: "small",
2153
2162
  variant: "secondary",
@@ -2177,8 +2186,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2177
2186
  _: 1
2178
2187
  }, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
2179
2188
  ]),
2180
- createElementVNode("div", _hoisted_2$K, [
2181
- createVNode(_sfc_main$10, {
2189
+ createElementVNode("div", _hoisted_2$N, [
2190
+ createVNode(_sfc_main$16, {
2182
2191
  "model-value": __props.modelValue,
2183
2192
  min: 0,
2184
2193
  max: __props.length,
@@ -2201,7 +2210,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2201
2210
  } : void 0
2202
2211
  ]), 1032, ["model-value", "max", "step", "marks", "marks-side", "variant", "size", "disabled"])
2203
2212
  ]),
2204
- __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$D, [
2213
+ __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
2205
2214
  renderSlot(_ctx.$slots, "time", {
2206
2215
  time: __props.modelValue,
2207
2216
  length: __props.length,
@@ -2214,7 +2223,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2214
2223
  };
2215
2224
  }
2216
2225
  });
2217
- const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-517dc331"]]);
2226
+ const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-517dc331"]]);
2218
2227
  const opposite = { top: "bottom", bottom: "top", left: "right", right: "left" };
2219
2228
  function computePosition(input) {
2220
2229
  const { anchor, size, viewport, placement = "bottom-start", gap = 4, pad = 8, flip = true } = input;
@@ -2340,7 +2349,7 @@ function useFloating(anchor, panel, open, options = {}) {
2340
2349
  });
2341
2350
  return { style, side, anchorOffset, placed, update };
2342
2351
  }
2343
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2352
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2344
2353
  ...{ name: "TaoTooltip" },
2345
2354
  __name: "TaoTooltip",
2346
2355
  props: {
@@ -2418,7 +2427,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2418
2427
  };
2419
2428
  }
2420
2429
  });
2421
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-32ae3936"]]);
2430
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-32ae3936"]]);
2422
2431
  function useDismiss(open, inside, onDismiss) {
2423
2432
  function onPointer(event) {
2424
2433
  const target = event.target;
@@ -2447,8 +2456,8 @@ function useDismiss(open, inside, onDismiss) {
2447
2456
  );
2448
2457
  onBeforeUnmount(stop);
2449
2458
  }
2450
- const _hoisted_1$Q = { class: "tao-popover" };
2451
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2459
+ const _hoisted_1$W = { class: "tao-popover" };
2460
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2452
2461
  ...{ name: "TaoPopover" },
2453
2462
  __name: "TaoPopover",
2454
2463
  props: {
@@ -2502,7 +2511,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2502
2511
  }
2503
2512
  });
2504
2513
  return (_ctx, _cache) => {
2505
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
2514
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
2506
2515
  createElementVNode("div", {
2507
2516
  ref_key: "triggerRef",
2508
2517
  ref: triggerRef,
@@ -2531,17 +2540,17 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2531
2540
  };
2532
2541
  }
2533
2542
  });
2534
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-6822af1e"]]);
2543
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-6822af1e"]]);
2535
2544
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
2536
- const _hoisted_1$P = { class: "tao-spoiler" };
2537
- const _hoisted_2$J = ["aria-expanded", "aria-controls"];
2538
- const _hoisted_3$C = {
2545
+ const _hoisted_1$V = { class: "tao-spoiler" };
2546
+ const _hoisted_2$M = ["aria-expanded", "aria-controls"];
2547
+ const _hoisted_3$F = {
2539
2548
  key: 0,
2540
2549
  class: "tao-spoiler__title"
2541
2550
  };
2542
- const _hoisted_4$v = ["id"];
2543
- const _hoisted_5$m = { class: "tao-spoiler__content-inner" };
2544
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2551
+ const _hoisted_4$y = ["id"];
2552
+ const _hoisted_5$o = { class: "tao-spoiler__content-inner" };
2553
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2545
2554
  ...{ name: "TaoSpoiler" },
2546
2555
  __name: "TaoSpoiler",
2547
2556
  props: {
@@ -2597,7 +2606,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2597
2606
  });
2598
2607
  }
2599
2608
  return (_ctx, _cache) => {
2600
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
2609
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
2601
2610
  createElementVNode("button", {
2602
2611
  type: "button",
2603
2612
  class: "tao-spoiler__header",
@@ -2609,12 +2618,12 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2609
2618
  class: normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }]),
2610
2619
  name: "tao-chevron-right"
2611
2620
  }, null, 8, ["class"]),
2612
- __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3$C, [
2621
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3$F, [
2613
2622
  renderSlot(_ctx.$slots, "title", {}, () => [
2614
2623
  createTextVNode(toDisplayString(__props.title), 1)
2615
2624
  ], true)
2616
2625
  ])) : createCommentVNode("", true)
2617
- ], 8, _hoisted_2$J),
2626
+ ], 8, _hoisted_2$M),
2618
2627
  createVNode(Transition, {
2619
2628
  name: "tao-spoiler-slide",
2620
2629
  onBeforeEnter,
@@ -2628,10 +2637,10 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2628
2637
  id: unref(panelId),
2629
2638
  class: "tao-spoiler__content"
2630
2639
  }, [
2631
- createElementVNode("div", _hoisted_5$m, [
2640
+ createElementVNode("div", _hoisted_5$o, [
2632
2641
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2633
2642
  ])
2634
- ], 8, _hoisted_4$v)) : createCommentVNode("", true)
2643
+ ], 8, _hoisted_4$y)) : createCommentVNode("", true)
2635
2644
  ]),
2636
2645
  _: 3
2637
2646
  })
@@ -2639,9 +2648,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2639
2648
  };
2640
2649
  }
2641
2650
  });
2642
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f759a4e5"]]);
2643
- const _hoisted_1$O = { class: "tao-spoiler-group" };
2644
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
2651
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-f759a4e5"]]);
2652
+ const _hoisted_1$U = { class: "tao-spoiler-group" };
2653
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2645
2654
  ...{ name: "TaoSpoilerGroup" },
2646
2655
  __name: "TaoSpoilerGroup",
2647
2656
  props: {
@@ -2666,15 +2675,15 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
2666
2675
  setOpen
2667
2676
  });
2668
2677
  return (_ctx, _cache) => {
2669
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
2678
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
2670
2679
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2671
2680
  ]);
2672
2681
  };
2673
2682
  }
2674
2683
  });
2675
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-7986fd2a"]]);
2676
- const _hoisted_1$N = ["aria-label"];
2677
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
2684
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-7986fd2a"]]);
2685
+ const _hoisted_1$T = ["aria-label"];
2686
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2678
2687
  ...{ name: "TaoCopy" },
2679
2688
  __name: "TaoCopy",
2680
2689
  props: {
@@ -2745,7 +2754,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
2745
2754
  name: "tao-copy",
2746
2755
  size: 16
2747
2756
  })
2748
- ], 10, _hoisted_1$N)
2757
+ ], 10, _hoisted_1$T)
2749
2758
  ], true),
2750
2759
  (openBlock(), createBlock(Teleport, { to: "body" }, [
2751
2760
  copied.value && __props.tip && doneText.value ? (openBlock(), createElementBlock("div", {
@@ -2761,8 +2770,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
2761
2770
  };
2762
2771
  }
2763
2772
  });
2764
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-456b4811"]]);
2765
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
2773
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-456b4811"]]);
2774
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2766
2775
  ...{ name: "TaoContainer" },
2767
2776
  __name: "TaoContainer",
2768
2777
  props: {
@@ -2781,8 +2790,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
2781
2790
  };
2782
2791
  }
2783
2792
  });
2784
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-a5e36052"]]);
2785
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
2793
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a5e36052"]]);
2794
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2786
2795
  ...{ name: "TaoFlex" },
2787
2796
  __name: "TaoFlex",
2788
2797
  props: {
@@ -2813,7 +2822,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2813
2822
  };
2814
2823
  }
2815
2824
  });
2816
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
2825
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2817
2826
  ...{ name: "TaoSpace" },
2818
2827
  __name: "TaoSpace",
2819
2828
  props: {
@@ -2834,7 +2843,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2834
2843
  };
2835
2844
  }
2836
2845
  });
2837
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-d6fec8bb"]]);
2846
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d6fec8bb"]]);
2838
2847
  const FULL_SPAN = 999;
2839
2848
  function perSize(value, fallback, compactPlain) {
2840
2849
  if (value === void 0 || value === null) {
@@ -2850,8 +2859,8 @@ function perSize(value, fallback, compactPlain) {
2850
2859
  return { compact, medium, expanded };
2851
2860
  }
2852
2861
  const spanNumber = (span) => span === "full" ? FULL_SPAN : Math.max(1, Math.round(span));
2853
- const _hoisted_1$M = { class: "tao-grid__cells" };
2854
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
2862
+ const _hoisted_1$S = { class: "tao-grid__cells" };
2863
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2855
2864
  ...{ name: "TaoGrid" },
2856
2865
  __name: "TaoGrid",
2857
2866
  props: {
@@ -2879,15 +2888,15 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2879
2888
  class: normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
2880
2889
  style: normalizeStyle(gridStyle.value)
2881
2890
  }, [
2882
- createElementVNode("div", _hoisted_1$M, [
2891
+ createElementVNode("div", _hoisted_1$S, [
2883
2892
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2884
2893
  ])
2885
2894
  ], 6);
2886
2895
  };
2887
2896
  }
2888
2897
  });
2889
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-e95541e2"]]);
2890
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
2898
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-e95541e2"]]);
2899
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
2891
2900
  ...{ name: "TaoGridItem" },
2892
2901
  __name: "TaoGridItem",
2893
2902
  props: {
@@ -2923,15 +2932,15 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2923
2932
  };
2924
2933
  }
2925
2934
  });
2926
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-d42e5e67"]]);
2927
- const _hoisted_1$L = { class: "tao-split__pane tao-split__pane--start" };
2928
- const _hoisted_2$I = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
2929
- const _hoisted_3$B = { class: "tao-split__pane tao-split__pane--end" };
2930
- const _hoisted_4$u = {
2935
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-d42e5e67"]]);
2936
+ const _hoisted_1$R = { class: "tao-split__pane tao-split__pane--start" };
2937
+ const _hoisted_2$L = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
2938
+ const _hoisted_3$E = { class: "tao-split__pane tao-split__pane--end" };
2939
+ const _hoisted_4$x = {
2931
2940
  key: 0,
2932
2941
  class: "tao-split__shield"
2933
2942
  };
2934
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2943
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
2935
2944
  ...{ name: "TaoSplit" },
2936
2945
  __name: "TaoSplit",
2937
2946
  props: {
@@ -3228,7 +3237,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3228
3237
  ]]),
3229
3238
  style: normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
3230
3239
  }, [
3231
- createElementVNode("div", _hoisted_1$L, [
3240
+ createElementVNode("div", _hoisted_1$R, [
3232
3241
  renderSlot(_ctx.$slots, "start", {}, void 0, true)
3233
3242
  ]),
3234
3243
  createElementVNode("div", {
@@ -3251,17 +3260,17 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3251
3260
  onKeydown: onKeydown2,
3252
3261
  onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
3253
3262
  }, ["prevent"]))
3254
- }, null, 40, _hoisted_2$I),
3255
- createElementVNode("div", _hoisted_3$B, [
3263
+ }, null, 40, _hoisted_2$L),
3264
+ createElementVNode("div", _hoisted_3$E, [
3256
3265
  renderSlot(_ctx.$slots, "end", {}, void 0, true)
3257
3266
  ]),
3258
- isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$u)) : createCommentVNode("", true)
3267
+ isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$x)) : createCommentVNode("", true)
3259
3268
  ], 6);
3260
3269
  };
3261
3270
  }
3262
3271
  });
3263
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-316b0d45"]]);
3264
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
3272
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-316b0d45"]]);
3273
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
3265
3274
  ...{ name: "TaoLoader" },
3266
3275
  __name: "TaoLoader",
3267
3276
  props: {
@@ -3322,11 +3331,11 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3322
3331
  };
3323
3332
  }
3324
3333
  });
3325
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-49a9f1b2"]]);
3326
- const _hoisted_1$K = { class: "tao-image" };
3327
- const _hoisted_2$H = ["src", "alt", "loading"];
3328
- const _hoisted_3$A = { class: "tao-image__placeholder" };
3329
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
3334
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-49a9f1b2"]]);
3335
+ const _hoisted_1$Q = { class: "tao-image" };
3336
+ const _hoisted_2$K = ["src", "alt", "loading"];
3337
+ const _hoisted_3$D = { class: "tao-image__placeholder" };
3338
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3330
3339
  ...{ name: "TaoImage" },
3331
3340
  __name: "TaoImage",
3332
3341
  props: {
@@ -3357,7 +3366,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3357
3366
  hasError.value = false;
3358
3367
  });
3359
3368
  return (_ctx, _cache) => {
3360
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
3369
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
3361
3370
  __props.src && !hasError.value ? (openBlock(), createElementBlock("img", {
3362
3371
  key: 0,
3363
3372
  class: normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
@@ -3368,26 +3377,26 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3368
3377
  draggable: "false",
3369
3378
  onLoad: handleLoad,
3370
3379
  onError: handleError
3371
- }, null, 42, _hoisted_2$H)) : createCommentVNode("", true),
3380
+ }, null, 42, _hoisted_2$K)) : createCommentVNode("", true),
3372
3381
  !__props.src || hasError.value ? renderSlot(_ctx.$slots, "default", {}, () => [
3373
- createElementVNode("div", _hoisted_3$A, toDisplayString(__props.placeholderText), 1)
3382
+ createElementVNode("div", _hoisted_3$D, toDisplayString(__props.placeholderText), 1)
3374
3383
  ], true, 1) : createCommentVNode("", true)
3375
3384
  ]);
3376
3385
  };
3377
3386
  }
3378
3387
  });
3379
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-61f47c52"]]);
3380
- const _hoisted_1$J = ["for"];
3381
- const _hoisted_2$G = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
3382
- const _hoisted_3$z = {
3388
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-61f47c52"]]);
3389
+ const _hoisted_1$P = ["for"];
3390
+ const _hoisted_2$J = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
3391
+ const _hoisted_3$C = {
3383
3392
  key: 0,
3384
3393
  class: "tao-checkbox__label"
3385
3394
  };
3386
- const _hoisted_4$t = {
3395
+ const _hoisted_4$w = {
3387
3396
  key: 1,
3388
3397
  class: "tao-checkbox__label"
3389
3398
  };
3390
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
3399
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3391
3400
  ...{ name: "TaoCheckbox" },
3392
3401
  __name: "TaoCheckbox",
3393
3402
  props: {
@@ -3457,25 +3466,25 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3457
3466
  "aria-invalid": unref(invalid) || void 0,
3458
3467
  "aria-describedby": unref(describedBy),
3459
3468
  onChange: onInputChange
3460
- }, null, 40, _hoisted_2$G),
3469
+ }, null, 40, _hoisted_2$J),
3461
3470
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
3462
- __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$t, [
3471
+ __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$C, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$w, [
3463
3472
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3464
3473
  ])),
3465
3474
  renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
3466
- ], 10, _hoisted_1$J);
3475
+ ], 10, _hoisted_1$P);
3467
3476
  };
3468
3477
  }
3469
3478
  });
3470
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-15f3b640"]]);
3471
- const _hoisted_1$I = {
3479
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-15f3b640"]]);
3480
+ const _hoisted_1$O = {
3472
3481
  key: 0,
3473
3482
  class: "tao-tag__prefix"
3474
3483
  };
3475
- const _hoisted_2$F = { class: "tao-tag__text" };
3476
- const _hoisted_3$y = ["aria-label"];
3477
- const _hoisted_4$s = { "aria-hidden": "true" };
3478
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
3484
+ const _hoisted_2$I = { class: "tao-tag__text" };
3485
+ const _hoisted_3$B = ["aria-label"];
3486
+ const _hoisted_4$v = { "aria-hidden": "true" };
3487
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3479
3488
  ...{ name: "TaoTag" },
3480
3489
  __name: "TaoTag",
3481
3490
  props: {
@@ -3517,10 +3526,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3517
3526
  ]]),
3518
3527
  style: normalizeStyle(style.value)
3519
3528
  }, [
3520
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$I, [
3529
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$O, [
3521
3530
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
3522
3531
  ])) : createCommentVNode("", true),
3523
- createElementVNode("span", _hoisted_2$F, [
3532
+ createElementVNode("span", _hoisted_2$I, [
3524
3533
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3525
3534
  ]),
3526
3535
  __props.closable ? (openBlock(), createElementBlock("button", {
@@ -3530,27 +3539,27 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3530
3539
  "aria-label": unref(l10n).closeLabel,
3531
3540
  onClick: withModifiers(onClose, ["stop"])
3532
3541
  }, [
3533
- createElementVNode("span", _hoisted_4$s, [
3542
+ createElementVNode("span", _hoisted_4$v, [
3534
3543
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
3535
3544
  createVNode(TaoIcon, { name: "tao-close" })
3536
3545
  ], true)
3537
3546
  ])
3538
- ], 8, _hoisted_3$y)) : createCommentVNode("", true)
3547
+ ], 8, _hoisted_3$B)) : createCommentVNode("", true)
3539
3548
  ], 6);
3540
3549
  };
3541
3550
  }
3542
3551
  });
3543
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-0b6ec06e"]]);
3544
- const _hoisted_1$H = ["role", "aria-hidden"];
3545
- const _hoisted_2$E = {
3552
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-0b6ec06e"]]);
3553
+ const _hoisted_1$N = ["role", "aria-hidden"];
3554
+ const _hoisted_2$H = {
3546
3555
  key: 1,
3547
3556
  class: "tao-divider__text"
3548
3557
  };
3549
- const _hoisted_3$x = {
3558
+ const _hoisted_3$A = {
3550
3559
  key: 2,
3551
3560
  class: "tao-divider__line tao-divider__line--end"
3552
3561
  };
3553
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
3562
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
3554
3563
  ...{ name: "TaoDivider" },
3555
3564
  __name: "TaoDivider",
3556
3565
  props: {
@@ -3581,23 +3590,23 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3581
3590
  key: 0,
3582
3591
  class: normalizeClass(["tao-divider__line", { "tao-divider__line--start": hasLabel.value }])
3583
3592
  }, null, 2)) : createCommentVNode("", true),
3584
- hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$E, [
3593
+ hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$H, [
3585
3594
  renderSlot(_ctx.$slots, "default", {}, () => [
3586
3595
  createTextVNode(toDisplayString(__props.text), 1)
3587
3596
  ], true)
3588
3597
  ])) : createCommentVNode("", true),
3589
- __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$x)) : createCommentVNode("", true)
3590
- ], 10, _hoisted_1$H);
3598
+ __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$A)) : createCommentVNode("", true)
3599
+ ], 10, _hoisted_1$N);
3591
3600
  };
3592
3601
  }
3593
3602
  });
3594
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-662ed0ea"]]);
3595
- const _hoisted_1$G = {
3603
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-662ed0ea"]]);
3604
+ const _hoisted_1$M = {
3596
3605
  key: 0,
3597
3606
  class: "tao-fieldset__legend"
3598
3607
  };
3599
- const _hoisted_2$D = { class: "tao-fieldset__body" };
3600
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
3608
+ const _hoisted_2$G = { class: "tao-fieldset__body" };
3609
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3601
3610
  ...{ name: "TaoFieldset" },
3602
3611
  __name: "TaoFieldset",
3603
3612
  props: {
@@ -3609,20 +3618,20 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3609
3618
  return openBlock(), createElementBlock("fieldset", {
3610
3619
  class: normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
3611
3620
  }, [
3612
- __props.legend || _ctx.$slots.legend ? (openBlock(), createElementBlock("legend", _hoisted_1$G, [
3621
+ __props.legend || _ctx.$slots.legend ? (openBlock(), createElementBlock("legend", _hoisted_1$M, [
3613
3622
  renderSlot(_ctx.$slots, "legend", {}, () => [
3614
3623
  createTextVNode(toDisplayString(__props.legend), 1)
3615
3624
  ], true)
3616
3625
  ])) : createCommentVNode("", true),
3617
- createElementVNode("div", _hoisted_2$D, [
3626
+ createElementVNode("div", _hoisted_2$G, [
3618
3627
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3619
3628
  ])
3620
3629
  ], 2);
3621
3630
  };
3622
3631
  }
3623
3632
  });
3624
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-3445dafd"]]);
3625
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
3633
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-3445dafd"]]);
3634
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3626
3635
  ...{ name: "TaoAnimatedBorder" },
3627
3636
  __name: "TaoAnimatedBorder",
3628
3637
  props: {
@@ -3665,10 +3674,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
3665
3674
  };
3666
3675
  }
3667
3676
  });
3668
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-86ba074e"]]);
3669
- const _hoisted_1$F = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
3670
- const _hoisted_2$C = ["id"];
3671
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
3677
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-86ba074e"]]);
3678
+ const _hoisted_1$L = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
3679
+ const _hoisted_2$F = ["id"];
3680
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3672
3681
  ...{ name: "TaoTextarea" },
3673
3682
  __name: "TaoTextarea",
3674
3683
  props: {
@@ -3801,25 +3810,25 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
3801
3810
  onFocus,
3802
3811
  onBlur,
3803
3812
  onKeydown: onKeydown2
3804
- }, null, 42, _hoisted_1$F),
3813
+ }, null, 42, _hoisted_1$L),
3805
3814
  __props.count ? (openBlock(), createElementBlock("span", {
3806
3815
  key: 0,
3807
3816
  id: counterId.value,
3808
3817
  class: normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
3809
- }, toDisplayString(countLabel.value), 11, _hoisted_2$C)) : createCommentVNode("", true)
3818
+ }, toDisplayString(countLabel.value), 11, _hoisted_2$F)) : createCommentVNode("", true)
3810
3819
  ], 2);
3811
3820
  };
3812
3821
  }
3813
3822
  });
3814
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-ec9daec9"]]);
3815
- const _hoisted_1$E = ["aria-label"];
3816
- const _hoisted_2$B = { class: "tao-scroll-top__content" };
3817
- const _hoisted_3$w = {
3823
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-ec9daec9"]]);
3824
+ const _hoisted_1$K = ["aria-label"];
3825
+ const _hoisted_2$E = { class: "tao-scroll-top__content" };
3826
+ const _hoisted_3$z = {
3818
3827
  key: 0,
3819
3828
  class: "tao-scroll-top__text",
3820
3829
  "aria-hidden": "true"
3821
3830
  };
3822
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
3831
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3823
3832
  ...{ name: "TaoScrollTop", inheritAttrs: false },
3824
3833
  __name: "TaoScrollTop",
3825
3834
  props: {
@@ -3914,8 +3923,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
3914
3923
  "aria-label": accessibleName.value,
3915
3924
  onClick: withModifiers(goToTop, ["prevent"])
3916
3925
  }), [
3917
- createElementVNode("span", _hoisted_2$B, [
3918
- isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
3926
+ createElementVNode("span", _hoisted_2$E, [
3927
+ isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
3919
3928
  renderSlot(_ctx.$slots, "default", {}, () => [
3920
3929
  createVNode(TaoIcon, {
3921
3930
  class: "tao-scroll-top__icon",
@@ -3924,7 +3933,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
3924
3933
  })
3925
3934
  ], true)
3926
3935
  ])
3927
- ], 16, _hoisted_1$E),
3936
+ ], 16, _hoisted_1$K),
3928
3937
  !isText.value && caption.value ? (openBlock(), createElementBlock("span", {
3929
3938
  key: 0,
3930
3939
  class: normalizeClass(["tao-scroll-top__label", `tao-scroll-top__label--${captionSide.value}`]),
@@ -3937,26 +3946,26 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
3937
3946
  };
3938
3947
  }
3939
3948
  });
3940
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-80a1abef"]]);
3941
- const _hoisted_1$D = { class: "tao-progress" };
3942
- const _hoisted_2$A = {
3949
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-80a1abef"]]);
3950
+ const _hoisted_1$J = { class: "tao-progress" };
3951
+ const _hoisted_2$D = {
3943
3952
  key: 0,
3944
3953
  class: "tao-progress__side"
3945
3954
  };
3946
- const _hoisted_3$v = { class: "tao-progress__main" };
3947
- const _hoisted_4$r = {
3955
+ const _hoisted_3$y = { class: "tao-progress__main" };
3956
+ const _hoisted_4$u = {
3948
3957
  key: 0,
3949
3958
  class: "tao-progress__percentage"
3950
3959
  };
3951
- const _hoisted_5$l = {
3960
+ const _hoisted_5$n = {
3952
3961
  key: 1,
3953
3962
  class: "tao-progress__side"
3954
3963
  };
3955
- const _hoisted_6$h = {
3964
+ const _hoisted_6$i = {
3956
3965
  key: 0,
3957
3966
  class: "tao-progress__percentage"
3958
3967
  };
3959
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
3968
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3960
3969
  ...{ name: "TaoProgress" },
3961
3970
  __name: "TaoProgress",
3962
3971
  props: {
@@ -3985,16 +3994,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
3985
3994
  () => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
3986
3995
  );
3987
3996
  return (_ctx, _cache) => {
3988
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
3997
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
3989
3998
  createElementVNode("div", {
3990
3999
  class: normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
3991
4000
  style: normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
3992
4001
  }, [
3993
- _ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
4002
+ _ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
3994
4003
  renderSlot(_ctx.$slots, "left", {}, void 0, true)
3995
4004
  ])) : createCommentVNode("", true),
3996
- createElementVNode("div", _hoisted_3$v, [
3997
- showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$r, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
4005
+ createElementVNode("div", _hoisted_3$y, [
4006
+ showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
3998
4007
  createElementVNode("div", {
3999
4008
  class: "tao-progress__track",
4000
4009
  style: normalizeStyle({ height: `${__props.height}px` })
@@ -4005,17 +4014,17 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4005
4014
  }, null, 6)
4006
4015
  ], 4)
4007
4016
  ]),
4008
- _ctx.$slots.right || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
4017
+ _ctx.$slots.right || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
4009
4018
  renderSlot(_ctx.$slots, "right", {}, void 0, true),
4010
- showEndPercent.value ? (openBlock(), createElementBlock("span", _hoisted_6$h, toDisplayString(endPercentLabel.value), 1)) : createCommentVNode("", true)
4019
+ showEndPercent.value ? (openBlock(), createElementBlock("span", _hoisted_6$i, toDisplayString(endPercentLabel.value), 1)) : createCommentVNode("", true)
4011
4020
  ])) : createCommentVNode("", true)
4012
4021
  ], 6)
4013
4022
  ]);
4014
4023
  };
4015
4024
  }
4016
4025
  });
4017
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4de488a6"]]);
4018
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
4026
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-4de488a6"]]);
4027
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
4019
4028
  ...{ name: "TaoRangeSlider" },
4020
4029
  __name: "TaoRangeSlider",
4021
4030
  props: {
@@ -4072,19 +4081,19 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
4072
4081
  };
4073
4082
  }
4074
4083
  });
4075
- const _hoisted_1$C = { class: "tao-file-drop__row" };
4076
- const _hoisted_2$z = ["aria-label"];
4077
- const _hoisted_3$u = { "aria-hidden": "true" };
4078
- const _hoisted_4$q = ["accept", "multiple"];
4079
- const _hoisted_5$k = {
4084
+ const _hoisted_1$I = { class: "tao-file-drop__row" };
4085
+ const _hoisted_2$C = ["aria-label"];
4086
+ const _hoisted_3$x = { "aria-hidden": "true" };
4087
+ const _hoisted_4$t = ["accept", "multiple"];
4088
+ const _hoisted_5$m = {
4080
4089
  key: 0,
4081
4090
  class: "tao-file-drop__list"
4082
4091
  };
4083
- const _hoisted_6$g = { class: "tao-file-drop__name" };
4084
- const _hoisted_7$e = { class: "tao-file-drop__meta" };
4085
- const _hoisted_8$8 = ["aria-label", "onClick"];
4092
+ const _hoisted_6$h = { class: "tao-file-drop__name" };
4093
+ const _hoisted_7$f = { class: "tao-file-drop__meta" };
4094
+ const _hoisted_8$9 = ["aria-label", "onClick"];
4086
4095
  const _hoisted_9$5 = { "aria-hidden": "true" };
4087
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
4096
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4088
4097
  ...{ name: "TaoFileDrop" },
4089
4098
  __name: "TaoFileDrop",
4090
4099
  props: {
@@ -4220,7 +4229,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4220
4229
  return openBlock(), createElementBlock("div", {
4221
4230
  class: normalizeClass(["tao-file-drop", unref(sizeClass)(__props.size)])
4222
4231
  }, [
4223
- createElementVNode("div", _hoisted_1$C, [
4232
+ createElementVNode("div", _hoisted_1$I, [
4224
4233
  __props.showClear && __props.modelValue.length ? (openBlock(), createElementBlock("button", {
4225
4234
  key: 0,
4226
4235
  type: "button",
@@ -4228,12 +4237,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4228
4237
  "aria-label": unref(l10n).clearLabel,
4229
4238
  onClick: requestClear
4230
4239
  }, [
4231
- createElementVNode("span", _hoisted_3$u, [
4240
+ createElementVNode("span", _hoisted_3$x, [
4232
4241
  renderSlot(_ctx.$slots, "clear-icon", {}, () => [
4233
4242
  createVNode(TaoIcon, { name: "tao-close" })
4234
4243
  ], true)
4235
4244
  ])
4236
- ], 8, _hoisted_2$z)) : createCommentVNode("", true),
4245
+ ], 8, _hoisted_2$C)) : createCommentVNode("", true),
4237
4246
  createElementVNode("label", {
4238
4247
  class: normalizeClass(["tao-file-drop__zone", { "tao-file-drop__zone--dragging": isDragging.value }]),
4239
4248
  onDragover: handleDragOver,
@@ -4253,17 +4262,17 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4253
4262
  onChange: handleFileSelect,
4254
4263
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
4255
4264
  }, ["stop"]))
4256
- }, null, 40, _hoisted_4$q)
4265
+ }, null, 40, _hoisted_4$t)
4257
4266
  ], 34)
4258
4267
  ]),
4259
- __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$k, [
4268
+ __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$m, [
4260
4269
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (file, index) => {
4261
4270
  return openBlock(), createElementBlock("li", {
4262
4271
  key: fileKey(file, index),
4263
4272
  class: "tao-file-drop__file"
4264
4273
  }, [
4265
- createElementVNode("span", _hoisted_6$g, toDisplayString(file.name), 1),
4266
- createElementVNode("span", _hoisted_7$e, toDisplayString(sizeLabel(file.size)), 1),
4274
+ createElementVNode("span", _hoisted_6$h, toDisplayString(file.name), 1),
4275
+ createElementVNode("span", _hoisted_7$f, toDisplayString(sizeLabel(file.size)), 1),
4267
4276
  createElementVNode("button", {
4268
4277
  type: "button",
4269
4278
  class: "tao-file-drop__remove",
@@ -4275,7 +4284,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4275
4284
  createVNode(TaoIcon, { name: "tao-close" })
4276
4285
  ], true)
4277
4286
  ])
4278
- ], 8, _hoisted_8$8)
4287
+ ], 8, _hoisted_8$9)
4279
4288
  ]);
4280
4289
  }), 128))
4281
4290
  ])) : createCommentVNode("", true)
@@ -4283,7 +4292,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
4283
4292
  };
4284
4293
  }
4285
4294
  });
4286
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-123e60a6"]]);
4295
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-123e60a6"]]);
4287
4296
  function isMenuSelectable(item) {
4288
4297
  return item.type !== "separator" && item.type !== "label" && !item.disabled;
4289
4298
  }
@@ -4380,29 +4389,29 @@ function useListNav(options) {
4380
4389
  }
4381
4390
  return { onKeydown: onKeydown2 };
4382
4391
  }
4383
- const _hoisted_1$B = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
4384
- const _hoisted_2$y = {
4392
+ const _hoisted_1$H = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
4393
+ const _hoisted_2$B = {
4385
4394
  key: 0,
4386
4395
  class: "tao-menu__separator",
4387
4396
  role: "separator"
4388
4397
  };
4389
- const _hoisted_3$t = {
4398
+ const _hoisted_3$w = {
4390
4399
  key: 1,
4391
4400
  class: "tao-menu__label",
4392
4401
  role: "presentation"
4393
4402
  };
4394
- const _hoisted_4$p = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
4395
- const _hoisted_5$j = { class: "tao-menu__text" };
4396
- const _hoisted_6$f = {
4403
+ const _hoisted_4$s = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
4404
+ const _hoisted_5$l = { class: "tao-menu__text" };
4405
+ const _hoisted_6$g = {
4397
4406
  key: 1,
4398
4407
  class: "tao-menu__shortcut"
4399
4408
  };
4400
- const _hoisted_7$d = {
4409
+ const _hoisted_7$e = {
4401
4410
  key: 2,
4402
4411
  class: "tao-menu__arrow",
4403
4412
  "aria-hidden": "true"
4404
4413
  };
4405
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
4414
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4406
4415
  ...{ name: "TaoMenu" },
4407
4416
  __name: "TaoMenu",
4408
4417
  props: {
@@ -4585,7 +4594,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
4585
4594
  return openBlock(), createElementBlock(Fragment, {
4586
4595
  key: "id" in item ? item.id : `${item.type}-${index}`
4587
4596
  }, [
4588
- item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$y)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$t, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4597
+ item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$B)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$w, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4589
4598
  createElementVNode("div", {
4590
4599
  id: itemId(index),
4591
4600
  ref_for: true,
@@ -4620,11 +4629,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
4620
4629
  class: "tao-menu__icon",
4621
4630
  name: item.icon
4622
4631
  }, null, 8, ["name"])) : createCommentVNode("", true),
4623
- createElementVNode("span", _hoisted_5$j, toDisplayString(item.label), 1)
4632
+ createElementVNode("span", _hoisted_5$l, toDisplayString(item.label), 1)
4624
4633
  ]),
4625
- "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$f, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
4626
- "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$d)) : createCommentVNode("", true)
4627
- ], 42, _hoisted_4$p),
4634
+ "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$g, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
4635
+ "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$e)) : createCommentVNode("", true)
4636
+ ], 42, _hoisted_4$s),
4628
4637
  "items" in item && item.items && openSub.value === index ? (openBlock(), createBlock(_component_TaoMenu, {
4629
4638
  key: 0,
4630
4639
  items: item.items,
@@ -4638,18 +4647,18 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
4638
4647
  ], 64))
4639
4648
  ], 64);
4640
4649
  }), 128))
4641
- ], 46, _hoisted_1$B)) : createCommentVNode("", true)
4650
+ ], 46, _hoisted_1$H)) : createCommentVNode("", true)
4642
4651
  ]);
4643
4652
  };
4644
4653
  }
4645
4654
  });
4646
- const _hoisted_1$A = { class: "tao-dropdown-menu" };
4647
- const _hoisted_2$x = ["aria-expanded", "aria-label"];
4648
- const _hoisted_3$s = {
4655
+ const _hoisted_1$G = { class: "tao-dropdown-menu" };
4656
+ const _hoisted_2$A = ["aria-expanded", "aria-label"];
4657
+ const _hoisted_3$v = {
4649
4658
  key: 1,
4650
4659
  "aria-hidden": "true"
4651
4660
  };
4652
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
4661
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4653
4662
  ...{ name: "TaoDropdownMenu" },
4654
4663
  __name: "TaoDropdownMenu",
4655
4664
  props: {
@@ -4681,7 +4690,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
4681
4690
  }
4682
4691
  }
4683
4692
  return (_ctx, _cache) => {
4684
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
4693
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
4685
4694
  createElementVNode("button", {
4686
4695
  ref_key: "triggerRef",
4687
4696
  ref: triggerRef,
@@ -4693,13 +4702,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
4693
4702
  onClick: toggleMenu,
4694
4703
  onKeydown: onTriggerKeydown
4695
4704
  }, [
4696
- _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$s, [
4705
+ _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$v, [
4697
4706
  renderSlot(_ctx.$slots, "icon", {}, () => [
4698
4707
  createVNode(TaoIcon, { name: "tao-more-vertical" })
4699
4708
  ], true)
4700
4709
  ]))
4701
- ], 40, _hoisted_2$x),
4702
- createVNode(_sfc_main$D, {
4710
+ ], 40, _hoisted_2$A),
4711
+ createVNode(_sfc_main$J, {
4703
4712
  items: __props.items,
4704
4713
  open: isOpen.value,
4705
4714
  anchor: triggerRef.value,
@@ -4721,8 +4730,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
4721
4730
  };
4722
4731
  }
4723
4732
  });
4724
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d4e0951a"]]);
4725
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
4733
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-d4e0951a"]]);
4734
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
4726
4735
  ...{ name: "TaoContextMenu" },
4727
4736
  __name: "TaoContextMenu",
4728
4737
  props: {
@@ -4775,7 +4784,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
4775
4784
  "aria-hidden": "true",
4776
4785
  style: normalizeStyle({ left: `${point.value.x}px`, top: `${point.value.y}px` })
4777
4786
  }, null, 4),
4778
- createVNode(_sfc_main$D, {
4787
+ createVNode(_sfc_main$J, {
4779
4788
  items: __props.items,
4780
4789
  open: isOpen.value,
4781
4790
  anchor: anchor.value,
@@ -4797,10 +4806,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
4797
4806
  };
4798
4807
  }
4799
4808
  });
4800
- const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-65a7f071"]]);
4801
- const _hoisted_1$z = ["aria-label"];
4802
- const _hoisted_2$w = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
4803
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
4809
+ const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-65a7f071"]]);
4810
+ const _hoisted_1$F = ["aria-label"];
4811
+ const _hoisted_2$z = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
4812
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4804
4813
  ...{ name: "TaoMenubar" },
4805
4814
  __name: "TaoMenubar",
4806
4815
  props: {
@@ -4928,8 +4937,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
4928
4937
  onKeydown: ($event) => onKeydown2($event, index),
4929
4938
  onMouseenter: ($event) => onEnter(index),
4930
4939
  onFocus: ($event) => current2.value = index
4931
- }, toDisplayString(entry.label), 43, _hoisted_2$w),
4932
- hasMenu(index) ? (openBlock(), createBlock(_sfc_main$D, {
4940
+ }, toDisplayString(entry.label), 43, _hoisted_2$z),
4941
+ hasMenu(index) ? (openBlock(), createBlock(_sfc_main$J, {
4933
4942
  key: 0,
4934
4943
  items: entry.items,
4935
4944
  open: openIndex.value === index,
@@ -4951,32 +4960,603 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
4951
4960
  ]), 1032, ["items", "open", "anchor", "label", "close-on-scroll"])) : createCommentVNode("", true)
4952
4961
  ], 64);
4953
4962
  }), 128))
4954
- ], 10, _hoisted_1$z);
4963
+ ], 10, _hoisted_1$F);
4964
+ };
4965
+ }
4966
+ });
4967
+ const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-9d46a2dc"]]);
4968
+ const toolbarKey = Symbol("tao-toolbar");
4969
+ const ITEMS = 'button, a[href], input, select, textarea, [role="button"], [data-tao-toolbar-item]';
4970
+ const TEXT_INPUT = /^(text|search|email|url|tel|password|number|date|time|datetime-local|month|week)$/;
4971
+ function usable(el) {
4972
+ if (el.disabled || el.getAttribute("aria-disabled") === "true" || el.hidden) {
4973
+ return false;
4974
+ }
4975
+ return !el.parentElement?.closest(ITEMS);
4976
+ }
4977
+ function isRadio(el) {
4978
+ return el instanceof HTMLInputElement && el.type === "radio";
4979
+ }
4980
+ function toolbarStops(root) {
4981
+ const stops = [];
4982
+ for (const el of Array.from(root.querySelectorAll(ITEMS))) {
4983
+ if (!usable(el)) {
4984
+ continue;
4985
+ }
4986
+ const last = stops[stops.length - 1];
4987
+ if (isRadio(el) && el.name && last?.radio && last.els[0].name === el.name) {
4988
+ last.els.push(el);
4989
+ } else {
4990
+ stops.push({ els: [el], radio: isRadio(el) });
4991
+ }
4992
+ }
4993
+ return stops;
4994
+ }
4995
+ function stopTarget(stop) {
4996
+ return stop.radio && stop.els.find((el) => el.checked) || stop.els[0];
4997
+ }
4998
+ function applyRoving(stops, current2) {
4999
+ stops.forEach((stop, index) => {
5000
+ for (const el of stop.els) {
5001
+ if (index !== current2) {
5002
+ el.setAttribute("tabindex", "-1");
5003
+ } else if (stop.radio) {
5004
+ el.removeAttribute("tabindex");
5005
+ } else {
5006
+ el.setAttribute("tabindex", "0");
5007
+ }
5008
+ }
5009
+ });
5010
+ }
5011
+ function isTextField(el) {
5012
+ if (!(el instanceof HTMLElement)) {
5013
+ return false;
5014
+ }
5015
+ if (el instanceof HTMLTextAreaElement || el instanceof HTMLSelectElement || el.isContentEditable) {
5016
+ return true;
5017
+ }
5018
+ return el instanceof HTMLInputElement && TEXT_INPUT.test(el.type);
5019
+ }
5020
+ const _hoisted_1$E = ["aria-label", "aria-orientation"];
5021
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5022
+ ...{ name: "TaoToolbar" },
5023
+ __name: "TaoToolbar",
5024
+ props: {
5025
+ label: { default: void 0 },
5026
+ size: { default: void 0 },
5027
+ orientation: { default: "horizontal" },
5028
+ variant: { default: "panel" }
5029
+ },
5030
+ setup(__props) {
5031
+ const props = __props;
5032
+ provide(toolbarKey, { orientation: toRef(props, "orientation") });
5033
+ const root = ref(null);
5034
+ let current2 = 0;
5035
+ let observer;
5036
+ function refresh() {
5037
+ if (!root.value) {
5038
+ return;
5039
+ }
5040
+ const stops = toolbarStops(root.value);
5041
+ current2 = Math.min(current2, Math.max(0, stops.length - 1));
5042
+ applyRoving(stops, current2);
5043
+ }
5044
+ function onFocusin(event) {
5045
+ if (!root.value) {
5046
+ return;
5047
+ }
5048
+ const stops = toolbarStops(root.value);
5049
+ const index = stops.findIndex((stop) => stop.els.includes(event.target));
5050
+ if (index !== -1 && index !== current2) {
5051
+ current2 = index;
5052
+ applyRoving(stops, current2);
5053
+ }
5054
+ }
5055
+ function onKeydown2(event) {
5056
+ if (!root.value || event.altKey || event.ctrlKey || event.metaKey || isTextField(event.target)) {
5057
+ return;
5058
+ }
5059
+ const vertical = props.orientation === "vertical";
5060
+ const next = vertical ? "ArrowDown" : "ArrowRight";
5061
+ const prev = vertical ? "ArrowUp" : "ArrowLeft";
5062
+ if (![next, prev, "Home", "End"].includes(event.key)) {
5063
+ return;
5064
+ }
5065
+ const stops = toolbarStops(root.value);
5066
+ const target = event.target;
5067
+ const index = stops.findIndex((stop2) => stop2.els.includes(target));
5068
+ if (index === -1) {
5069
+ return;
5070
+ }
5071
+ const stop = stops[index];
5072
+ if (isRadio(target) && (event.key === next || event.key === prev)) {
5073
+ const edge = event.key === next ? stop.els[stop.els.length - 1] : stop.els[0];
5074
+ if (target !== edge) {
5075
+ return;
5076
+ }
5077
+ }
5078
+ let to;
5079
+ if (event.key === "Home") {
5080
+ to = 0;
5081
+ } else if (event.key === "End") {
5082
+ to = stops.length - 1;
5083
+ } else {
5084
+ to = (index + (event.key === next ? 1 : -1) + stops.length) % stops.length;
5085
+ }
5086
+ event.preventDefault();
5087
+ current2 = to;
5088
+ applyRoving(stops, current2);
5089
+ stopTarget(stops[to]).focus();
5090
+ }
5091
+ onMounted(() => {
5092
+ refresh();
5093
+ if (typeof MutationObserver !== "undefined" && root.value) {
5094
+ observer = new MutationObserver(refresh);
5095
+ observer.observe(root.value, { childList: true, subtree: true, attributeFilter: ["disabled", "aria-disabled"] });
5096
+ }
5097
+ });
5098
+ onBeforeUnmount(() => observer?.disconnect());
5099
+ return (_ctx, _cache) => {
5100
+ return openBlock(), createElementBlock("div", {
5101
+ ref_key: "root",
5102
+ ref: root,
5103
+ class: normalizeClass(["tao-toolbar", [unref(sizeClass)(__props.size), `tao-toolbar--${__props.variant}`, `tao-toolbar--${__props.orientation}`]]),
5104
+ role: "toolbar",
5105
+ "aria-label": __props.label,
5106
+ "aria-orientation": __props.orientation,
5107
+ onFocusin,
5108
+ onKeydown: onKeydown2
5109
+ }, [
5110
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
5111
+ ], 42, _hoisted_1$E);
4955
5112
  };
4956
5113
  }
4957
5114
  });
4958
- const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9d46a2dc"]]);
5115
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ba418d50"]]);
5116
+ const _hoisted_1$D = ["aria-label"];
5117
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5118
+ ...{ name: "TaoToolbarGroup" },
5119
+ __name: "TaoToolbarGroup",
5120
+ props: {
5121
+ label: { default: void 0 },
5122
+ inset: { type: Boolean, default: false }
5123
+ },
5124
+ setup(__props) {
5125
+ return (_ctx, _cache) => {
5126
+ return openBlock(), createElementBlock("div", {
5127
+ class: normalizeClass(["tao-toolbar-group", { "tao-toolbar-group--inset": __props.inset }]),
5128
+ role: "group",
5129
+ "aria-label": __props.label
5130
+ }, [
5131
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
5132
+ ], 10, _hoisted_1$D);
5133
+ };
5134
+ }
5135
+ });
5136
+ const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1840d8d6"]]);
5137
+ const _hoisted_1$C = ["aria-orientation"];
5138
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5139
+ ...{ name: "TaoToolbarSeparator" },
5140
+ __name: "TaoToolbarSeparator",
5141
+ setup(__props) {
5142
+ const toolbar = inject(toolbarKey, null);
5143
+ const orientation = computed(() => toolbar?.orientation.value === "vertical" ? "horizontal" : "vertical");
5144
+ return (_ctx, _cache) => {
5145
+ return openBlock(), createElementBlock("div", {
5146
+ class: normalizeClass(["tao-toolbar-separator", `tao-toolbar-separator--${orientation.value}`]),
5147
+ role: "separator",
5148
+ "aria-orientation": orientation.value
5149
+ }, null, 10, _hoisted_1$C);
5150
+ };
5151
+ }
5152
+ });
5153
+ const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7a0063e1"]]);
5154
+ const TAO_CHART_COLORS = 6;
5155
+ const chartColorVar = (index) => `var(--tao-color-chart-${index % TAO_CHART_COLORS + 1})`;
5156
+ const finite = (v) => typeof v === "number" && Number.isFinite(v);
5157
+ function sparklineRuns(values, min, max) {
5158
+ const real = values.filter(finite);
5159
+ if (!real.length) {
5160
+ return [];
5161
+ }
5162
+ const lo = finite(min) ? min : Math.min(...real);
5163
+ const hi = finite(max) ? max : Math.max(...real);
5164
+ const span = hi - lo;
5165
+ const last = Math.max(1, values.length - 1);
5166
+ const runs = [];
5167
+ let run = [];
5168
+ values.forEach((v, i) => {
5169
+ if (!finite(v)) {
5170
+ if (run.length) {
5171
+ runs.push(run);
5172
+ }
5173
+ run = [];
5174
+ return;
5175
+ }
5176
+ const t = span > 0 ? (Math.min(hi, Math.max(lo, v)) - lo) / span : 0.5;
5177
+ run.push([round$1(i / last * 100), round$1((1 - t) * 100)]);
5178
+ });
5179
+ if (run.length) {
5180
+ runs.push(run);
5181
+ }
5182
+ return runs;
5183
+ }
5184
+ const round$1 = (n) => Math.round(n * 100) / 100;
5185
+ function sparklinePath(runs) {
5186
+ return runs.map((run) => run.length === 1 ? [run[0], [run[0][0] + 0.01, run[0][1]]] : run).map((run) => run.map(([x, y], i) => `${i ? "L" : "M"}${x} ${y}`).join("")).join("");
5187
+ }
5188
+ function sparklineArea(runs) {
5189
+ return runs.filter((run) => run.length > 1).map((run) => `M${run[0][0]} 100` + run.map(([x, y]) => `L${x} ${y}`).join("") + `L${run[run.length - 1][0]} 100Z`).join("");
5190
+ }
5191
+ function meterTone(value, min, max, low, high, optimum) {
5192
+ if (!finite(low) && !finite(high)) {
5193
+ return "accent";
5194
+ }
5195
+ const lo = finite(low) ? Math.max(min, low) : min;
5196
+ const hi = finite(high) ? Math.min(max, Math.max(lo, high)) : max;
5197
+ const region = (v) => v < lo ? 0 : v > hi ? 2 : 1;
5198
+ const best = region(finite(optimum) ? optimum : (min + max) / 2);
5199
+ const away = Math.abs(region(value) - best);
5200
+ return away === 0 ? "success" : away === 1 ? "warning" : "danger";
5201
+ }
5202
+ function fraction(value, min, max) {
5203
+ if (!(max > min) || !finite(value)) {
5204
+ return 0;
5205
+ }
5206
+ return Math.min(1, Math.max(0, (value - min) / (max - min)));
5207
+ }
5208
+ function donutArcs(values, gap = 1) {
5209
+ const parts = values.map((v) => finite(v) && v > 0 ? v : 0);
5210
+ const total = parts.reduce((a, b) => a + b, 0);
5211
+ if (total <= 0) {
5212
+ return parts.map(() => [0, 0]);
5213
+ }
5214
+ const shown = parts.filter((v) => v > 0).length;
5215
+ const space = shown > 1 ? gap : 0;
5216
+ let start = 0;
5217
+ return parts.map((v) => {
5218
+ const share = v / total * 100;
5219
+ const arc = v > 0 ? [round$1(start + space / 2), round$1(Math.max(0.3, share - space))] : [round$1(start), 0];
5220
+ start += share;
5221
+ return arc;
5222
+ });
5223
+ }
5224
+ function toRgb(computed2) {
5225
+ const value = computed2.trim();
5226
+ const srgb = /^color\(srgb\s+([\d.e-]+)\s+([\d.e-]+)\s+([\d.e-]+)(?:\s*\/\s*([\d.e-]+%?))?\s*\)$/i.exec(value);
5227
+ const rgb = /^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)(?:\s*[,/]\s*([\d.]+%?))?\s*\)$/i.exec(value);
5228
+ let channels;
5229
+ let alphaText;
5230
+ if (srgb) {
5231
+ channels = [srgb[1], srgb[2], srgb[3]].map((c) => Math.round(Math.min(1, Math.max(0, Number(c))) * 255));
5232
+ alphaText = srgb[4];
5233
+ } else if (rgb) {
5234
+ channels = [rgb[1], rgb[2], rgb[3]].map((c) => Math.round(Number(c)));
5235
+ alphaText = rgb[4];
5236
+ } else {
5237
+ return value;
5238
+ }
5239
+ const alpha = alphaText === void 0 ? 1 : alphaText.endsWith("%") ? Number(alphaText.slice(0, -1)) / 100 : Number(alphaText);
5240
+ return alpha >= 1 ? `rgb(${channels.join(", ")})` : `rgba(${channels.join(", ")}, ${round$1(alpha)})`;
5241
+ }
5242
+ function taoChartTheme(el) {
5243
+ const host = el ?? (typeof document === "undefined" ? null : document.body ?? document.documentElement);
5244
+ const empty = { colors: Array.from({ length: TAO_CHART_COLORS }, () => ""), text: "", textMuted: "", grid: "", axis: "", background: "", tooltip: "", tooltipText: "", danger: "", success: "", warning: "", fontFamily: "", fontSize: 12 };
5245
+ if (!host || typeof getComputedStyle === "undefined") {
5246
+ return empty;
5247
+ }
5248
+ const probe = host.ownerDocument.createElement("span");
5249
+ probe.style.display = "none";
5250
+ host.appendChild(probe);
5251
+ const color = (role) => {
5252
+ probe.style.color = `var(${role})`;
5253
+ return toRgb(getComputedStyle(probe).color);
5254
+ };
5255
+ const style = getComputedStyle(host);
5256
+ const theme = {
5257
+ colors: Array.from({ length: TAO_CHART_COLORS }, (_, i) => color(`--tao-color-chart-${i + 1}`)),
5258
+ text: color("--tao-color-text"),
5259
+ textMuted: color("--tao-color-text-muted"),
5260
+ grid: color("--tao-color-border"),
5261
+ axis: color("--tao-color-border-strong"),
5262
+ background: color("--tao-color-surface-raised"),
5263
+ tooltip: color("--tao-color-surface-raised"),
5264
+ tooltipText: color("--tao-color-text-strong"),
5265
+ danger: color("--tao-color-danger"),
5266
+ success: color("--tao-color-success"),
5267
+ warning: color("--tao-color-warning"),
5268
+ fontFamily: style.getPropertyValue("--tao-font-family").trim() || style.fontFamily,
5269
+ fontSize: 12
5270
+ };
5271
+ probe.remove();
5272
+ return theme;
5273
+ }
5274
+ function watchTaoChartTheme(apply, el) {
5275
+ if (typeof document === "undefined") {
5276
+ return () => {
5277
+ };
5278
+ }
5279
+ const run = () => apply(taoChartTheme(el));
5280
+ run();
5281
+ const observer = typeof MutationObserver === "undefined" ? void 0 : new MutationObserver(run);
5282
+ observer?.observe(document.documentElement, { attributes: true, attributeFilter: ["class", "style", "data-tao-theme", "data-tao-mode"] });
5283
+ const media = typeof matchMedia === "undefined" ? void 0 : matchMedia("(prefers-color-scheme: dark)");
5284
+ media?.addEventListener("change", run);
5285
+ return () => {
5286
+ observer?.disconnect();
5287
+ media?.removeEventListener("change", run);
5288
+ };
5289
+ }
5290
+ const _hoisted_1$B = ["role", "aria-label", "aria-hidden"];
5291
+ const _hoisted_2$y = {
5292
+ class: "tao-sparkline__svg",
5293
+ viewBox: "0 0 100 100",
5294
+ preserveAspectRatio: "none",
5295
+ "aria-hidden": "true"
5296
+ };
5297
+ const _hoisted_3$u = ["d"];
5298
+ const _hoisted_4$r = ["d"];
5299
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5300
+ ...{ name: "TaoSparkline" },
5301
+ __name: "TaoSparkline",
5302
+ props: {
5303
+ values: {},
5304
+ label: { default: void 0 },
5305
+ tone: { default: "accent" },
5306
+ area: { type: Boolean, default: false },
5307
+ dot: { type: Boolean, default: false },
5308
+ min: { default: void 0 },
5309
+ max: { default: void 0 },
5310
+ height: { default: 32 }
5311
+ },
5312
+ setup(__props) {
5313
+ const props = __props;
5314
+ const runs = computed(() => sparklineRuns(props.values, props.min, props.max));
5315
+ const line = computed(() => sparklinePath(runs.value));
5316
+ const fill = computed(() => props.area ? sparklineArea(runs.value) : "");
5317
+ const last = computed(() => {
5318
+ const run = runs.value[runs.value.length - 1];
5319
+ const point = run?.[run.length - 1];
5320
+ return point && point[0] === 100 ? point : void 0;
5321
+ });
5322
+ const inset = (n) => `calc(3px + (100% - 6px) * ${n / 100})`;
5323
+ return (_ctx, _cache) => {
5324
+ return openBlock(), createElementBlock("span", {
5325
+ class: normalizeClass(["tao-sparkline", unref(toneClass)(__props.tone)]),
5326
+ style: normalizeStyle({ height: unref(toCssLength)(__props.height) }),
5327
+ role: __props.label ? "img" : void 0,
5328
+ "aria-label": __props.label,
5329
+ "aria-hidden": __props.label ? void 0 : "true"
5330
+ }, [
5331
+ (openBlock(), createElementBlock("svg", _hoisted_2$y, [
5332
+ fill.value ? (openBlock(), createElementBlock("path", {
5333
+ key: 0,
5334
+ class: "tao-sparkline__area",
5335
+ d: fill.value
5336
+ }, null, 8, _hoisted_3$u)) : createCommentVNode("", true),
5337
+ createElementVNode("path", {
5338
+ class: "tao-sparkline__line",
5339
+ d: line.value
5340
+ }, null, 8, _hoisted_4$r)
5341
+ ])),
5342
+ __props.dot && last.value ? (openBlock(), createElementBlock("span", {
5343
+ key: 0,
5344
+ class: "tao-sparkline__dot",
5345
+ style: normalizeStyle({ left: inset(last.value[0]), top: inset(last.value[1]) }),
5346
+ "aria-hidden": "true"
5347
+ }, null, 4)) : createCommentVNode("", true)
5348
+ ], 14, _hoisted_1$B);
5349
+ };
5350
+ }
5351
+ });
5352
+ const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-76664226"]]);
5353
+ const _hoisted_1$A = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
5354
+ const _hoisted_2$x = {
5355
+ key: 0,
5356
+ class: "tao-meter__head",
5357
+ "aria-hidden": "true"
5358
+ };
5359
+ const _hoisted_3$t = { class: "tao-meter__label" };
5360
+ const _hoisted_4$q = {
5361
+ key: 0,
5362
+ class: "tao-meter__value"
5363
+ };
5364
+ const _hoisted_5$k = { class: "tao-meter__track" };
5365
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
5366
+ ...{ name: "TaoMeter" },
5367
+ __name: "TaoMeter",
5368
+ props: {
5369
+ value: {},
5370
+ min: { default: 0 },
5371
+ max: { default: 100 },
5372
+ low: { default: void 0 },
5373
+ high: { default: void 0 },
5374
+ optimum: { default: void 0 },
5375
+ label: { default: void 0 },
5376
+ valueText: { type: [String, Boolean], default: false },
5377
+ tone: { default: void 0 }
5378
+ },
5379
+ setup(__props) {
5380
+ const props = __props;
5381
+ const share = computed(() => fraction(props.value, props.min, props.max));
5382
+ const effectiveTone = computed(() => props.tone ?? meterTone(props.value, props.min, props.max, props.low, props.high, props.optimum));
5383
+ const shown = computed(() => {
5384
+ if (typeof props.valueText === "string") {
5385
+ return props.valueText;
5386
+ }
5387
+ return props.valueText ? String(props.value) : "";
5388
+ });
5389
+ return (_ctx, _cache) => {
5390
+ return openBlock(), createElementBlock("div", {
5391
+ class: normalizeClass(["tao-meter", [unref(toneClass)(effectiveTone.value), `tao-meter--${effectiveTone.value}`]]),
5392
+ role: "meter",
5393
+ "aria-valuenow": __props.value,
5394
+ "aria-valuemin": __props.min,
5395
+ "aria-valuemax": __props.max,
5396
+ "aria-valuetext": typeof __props.valueText === "string" ? __props.valueText : void 0,
5397
+ "aria-label": __props.label
5398
+ }, [
5399
+ __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
5400
+ createElementVNode("span", _hoisted_3$t, toDisplayString(__props.label), 1),
5401
+ shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
5402
+ ])) : createCommentVNode("", true),
5403
+ createElementVNode("div", _hoisted_5$k, [
5404
+ createElementVNode("div", {
5405
+ class: "tao-meter__fill",
5406
+ style: normalizeStyle({ width: `${share.value * 100}%` })
5407
+ }, null, 4)
5408
+ ])
5409
+ ], 10, _hoisted_1$A);
5410
+ };
5411
+ }
5412
+ });
5413
+ const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-17e24a8e"]]);
5414
+ const _hoisted_1$z = ["aria-label"];
5415
+ const _hoisted_2$w = ["viewBox", "width", "height"];
5416
+ const _hoisted_3$s = ["cx", "cy", "r", "stroke-width"];
5417
+ const _hoisted_4$p = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
5418
+ const _hoisted_5$j = {
5419
+ key: 0,
5420
+ class: "tao-donut__centre",
5421
+ "aria-hidden": "true"
5422
+ };
5423
+ const _hoisted_6$f = {
5424
+ key: 0,
5425
+ class: "tao-donut__legend",
5426
+ "aria-hidden": "true"
5427
+ };
5428
+ const _hoisted_7$d = { class: "tao-donut__name" };
5429
+ const _hoisted_8$8 = { class: "tao-donut__share" };
5430
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5431
+ ...{ name: "TaoDonut" },
5432
+ __name: "TaoDonut",
5433
+ props: {
5434
+ segments: { default: void 0 },
5435
+ value: { default: 0 },
5436
+ max: { default: 100 },
5437
+ tone: { default: "accent" },
5438
+ label: { default: void 0 },
5439
+ size: { default: 120 },
5440
+ thickness: { default: 12 },
5441
+ legend: { type: Boolean, default: false }
5442
+ },
5443
+ setup(__props) {
5444
+ const props = __props;
5445
+ const radius = computed(() => Math.max(1, (props.size - props.thickness) / 2));
5446
+ const centre = computed(() => props.size / 2);
5447
+ const total = computed(() => (props.segments ?? []).reduce((sum, s) => sum + (s.value > 0 ? s.value : 0), 0));
5448
+ const arcs = computed(() => {
5449
+ if (!props.segments) {
5450
+ const share = fraction(props.value, 0, props.max);
5451
+ return [{ key: "value", start: 0, length: share * 100, stroke: "var(--tao-tone)", tone: props.tone, label: "", share }];
5452
+ }
5453
+ const placed = donutArcs(props.segments.map((s) => s.value));
5454
+ return props.segments.map((s, i) => ({
5455
+ key: `${i}-${s.label}`,
5456
+ start: placed[i][0],
5457
+ length: placed[i][1],
5458
+ stroke: s.color ?? (s.tone ? "var(--tao-tone)" : chartColorVar(i)),
5459
+ tone: s.color ? void 0 : s.tone,
5460
+ label: s.label,
5461
+ share: total.value > 0 ? Math.max(0, s.value) / total.value : 0
5462
+ }));
5463
+ });
5464
+ const percent = (share) => `${Math.round(share * 100)}%`;
5465
+ const summary = computed(() => {
5466
+ const parts = props.segments ? arcs.value.map((arc) => `${arc.label} ${percent(arc.share)}`).join(", ") : `${props.value} / ${props.max}`;
5467
+ return props.label ? `${props.label}: ${parts}` : parts;
5468
+ });
5469
+ return (_ctx, _cache) => {
5470
+ return openBlock(), createElementBlock("div", {
5471
+ class: normalizeClass(["tao-donut", { "tao-donut--legend": __props.legend }])
5472
+ }, [
5473
+ createElementVNode("div", {
5474
+ class: "tao-donut__ring",
5475
+ style: normalizeStyle({ width: `${__props.size}px`, height: `${__props.size}px` }),
5476
+ role: "img",
5477
+ "aria-label": summary.value
5478
+ }, [
5479
+ (openBlock(), createElementBlock("svg", {
5480
+ viewBox: `0 0 ${__props.size} ${__props.size}`,
5481
+ width: __props.size,
5482
+ height: __props.size,
5483
+ "aria-hidden": "true"
5484
+ }, [
5485
+ createElementVNode("circle", {
5486
+ class: "tao-donut__track",
5487
+ cx: centre.value,
5488
+ cy: centre.value,
5489
+ r: radius.value,
5490
+ "stroke-width": __props.thickness
5491
+ }, null, 8, _hoisted_3$s),
5492
+ (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
5493
+ return withDirectives((openBlock(), createElementBlock("circle", {
5494
+ key: arc.key,
5495
+ class: normalizeClass(["tao-donut__arc", unref(toneClass)(arc.tone)]),
5496
+ cx: centre.value,
5497
+ cy: centre.value,
5498
+ r: radius.value,
5499
+ "stroke-width": __props.thickness,
5500
+ pathLength: "100",
5501
+ "stroke-dasharray": `${arc.length} ${100 - arc.length}`,
5502
+ "stroke-dashoffset": -arc.start,
5503
+ transform: `rotate(-90 ${centre.value} ${centre.value})`,
5504
+ style: normalizeStyle({ stroke: arc.stroke })
5505
+ }, null, 14, _hoisted_4$p)), [
5506
+ [vShow, arc.length > 0]
5507
+ ]);
5508
+ }), 128))
5509
+ ], 8, _hoisted_2$w)),
5510
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_5$j, [
5511
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
5512
+ ])) : createCommentVNode("", true)
5513
+ ], 12, _hoisted_1$z),
5514
+ __props.legend && __props.segments ? (openBlock(), createElementBlock("ul", _hoisted_6$f, [
5515
+ (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
5516
+ return openBlock(), createElementBlock("li", {
5517
+ key: arc.key,
5518
+ class: "tao-donut__item"
5519
+ }, [
5520
+ createElementVNode("span", {
5521
+ class: normalizeClass(["tao-donut__swatch", unref(toneClass)(arc.tone)]),
5522
+ style: normalizeStyle({ background: arc.stroke })
5523
+ }, null, 6),
5524
+ createElementVNode("span", _hoisted_7$d, toDisplayString(arc.label), 1),
5525
+ createElementVNode("span", _hoisted_8$8, toDisplayString(percent(arc.share)), 1)
5526
+ ]);
5527
+ }), 128))
5528
+ ])) : createCommentVNode("", true)
5529
+ ], 2);
5530
+ };
5531
+ }
5532
+ });
5533
+ const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30b93ef0"]]);
4959
5534
  const _hoisted_1$y = { class: "tao-nav__shell" };
4960
5535
  const _hoisted_2$v = ["aria-label"];
4961
- const _hoisted_3$r = { class: "tao-nav__list" };
5536
+ const _hoisted_3$r = { class: "tao-nav__column" };
4962
5537
  const _hoisted_4$o = {
5538
+ key: 0,
5539
+ class: "tao-nav__action"
5540
+ };
5541
+ const _hoisted_5$i = { class: "tao-nav__list" };
5542
+ const _hoisted_6$e = {
4963
5543
  key: 0,
4964
5544
  class: "tao-nav__icon",
4965
5545
  "aria-hidden": "true"
4966
5546
  };
4967
- const _hoisted_5$i = { class: "tao-nav__label" };
4968
- const _hoisted_6$e = ["aria-hidden"];
4969
- const _hoisted_7$c = {
5547
+ const _hoisted_7$c = { class: "tao-nav__label" };
5548
+ const _hoisted_8$7 = ["aria-hidden"];
5549
+ const _hoisted_9$4 = {
4970
5550
  key: 0,
4971
5551
  class: "tao-nav__entry tao-nav__entry--more"
4972
5552
  };
4973
- const _hoisted_8$7 = ["aria-expanded"];
4974
- const _hoisted_9$4 = {
5553
+ const _hoisted_10$3 = ["aria-expanded"];
5554
+ const _hoisted_11$3 = {
4975
5555
  class: "tao-nav__icon",
4976
5556
  "aria-hidden": "true"
4977
5557
  };
4978
- const _hoisted_10$3 = { class: "tao-nav__label" };
4979
- const _hoisted_11$3 = {
5558
+ const _hoisted_12$2 = { class: "tao-nav__label" };
5559
+ const _hoisted_13$1 = {
4980
5560
  key: 0,
4981
5561
  class: "tao-nav__content"
4982
5562
  };
@@ -4989,7 +5569,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
4989
5569
  layout: { default: "auto" },
4990
5570
  maxBarItems: { default: 5 },
4991
5571
  ariaLabel: { default: void 0 },
4992
- moreLabel: { default: void 0 }
5572
+ moreLabel: { default: void 0 },
5573
+ floating: { type: Boolean, default: false }
4993
5574
  },
4994
5575
  emits: ["update:modelValue", "select"],
4995
5576
  setup(__props, { emit: __emit }) {
@@ -5036,79 +5617,84 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5036
5617
  }
5037
5618
  return (_ctx, _cache) => {
5038
5619
  return openBlock(), createElementBlock("div", {
5039
- class: normalizeClass(["tao-nav", [`tao-nav--${__props.layout}`, { "tao-nav--standalone": standalone.value }]])
5620
+ class: normalizeClass(["tao-nav", [`tao-nav--${__props.layout}`, { "tao-nav--standalone": standalone.value, "tao-nav--floating": __props.floating }]])
5040
5621
  }, [
5041
5622
  createElementVNode("div", _hoisted_1$y, [
5042
5623
  createElementVNode("nav", {
5043
5624
  class: "tao-nav__panel",
5044
5625
  "aria-label": unref(l10n).ariaLabel
5045
5626
  }, [
5046
- createElementVNode("ul", _hoisted_3$r, [
5047
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
5048
- return openBlock(), createElementBlock("li", {
5049
- key: item.id,
5050
- class: normalizeClass(["tao-nav__entry", { "tao-nav__entry--overflow": overflowing.value && index >= barCount.value }])
5051
- }, [
5052
- (openBlock(), createBlock(resolveDynamicComponent(item.href ? "a" : "button"), {
5053
- class: normalizeClass(["tao-nav__item", { "tao-nav__item--active": item.id === __props.modelValue }]),
5054
- href: item.href && !item.disabled ? item.href : void 0,
5055
- type: item.href ? void 0 : "button",
5056
- disabled: !item.href && item.disabled ? true : void 0,
5057
- "aria-disabled": item.href && item.disabled ? "true" : void 0,
5058
- "aria-current": item.id === __props.modelValue ? "page" : void 0,
5059
- onClick: ($event) => choose(item, $event)
5060
- }, {
5061
- default: withCtx(() => [
5062
- item.icon ? (openBlock(), createElementBlock("span", _hoisted_4$o, [
5063
- createVNode(TaoIcon, {
5064
- name: item.icon,
5065
- size: 20
5066
- }, null, 8, ["name"])
5067
- ])) : createCommentVNode("", true),
5068
- createElementVNode("span", _hoisted_5$i, [
5069
- renderSlot(_ctx.$slots, "label", {
5070
- item,
5071
- active: item.id === __props.modelValue
5072
- }, () => [
5073
- createTextVNode(toDisplayString(item.label), 1)
5074
- ], true)
5627
+ createElementVNode("div", _hoisted_3$r, [
5628
+ _ctx.$slots.action ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
5629
+ renderSlot(_ctx.$slots, "action", {}, void 0, true)
5630
+ ])) : createCommentVNode("", true),
5631
+ createElementVNode("ul", _hoisted_5$i, [
5632
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
5633
+ return openBlock(), createElementBlock("li", {
5634
+ key: item.id,
5635
+ class: normalizeClass(["tao-nav__entry", { "tao-nav__entry--overflow": overflowing.value && index >= barCount.value }])
5636
+ }, [
5637
+ (openBlock(), createBlock(resolveDynamicComponent(item.href ? "a" : "button"), {
5638
+ class: normalizeClass(["tao-nav__item", { "tao-nav__item--active": item.id === __props.modelValue }]),
5639
+ href: item.href && !item.disabled ? item.href : void 0,
5640
+ type: item.href ? void 0 : "button",
5641
+ disabled: !item.href && item.disabled ? true : void 0,
5642
+ "aria-disabled": item.href && item.disabled ? "true" : void 0,
5643
+ "aria-current": item.id === __props.modelValue ? "page" : void 0,
5644
+ onClick: ($event) => choose(item, $event)
5645
+ }, {
5646
+ default: withCtx(() => [
5647
+ item.icon ? (openBlock(), createElementBlock("span", _hoisted_6$e, [
5648
+ createVNode(TaoIcon, {
5649
+ name: item.icon,
5650
+ size: 20
5651
+ }, null, 8, ["name"])
5652
+ ])) : createCommentVNode("", true),
5653
+ createElementVNode("span", _hoisted_7$c, [
5654
+ renderSlot(_ctx.$slots, "label", {
5655
+ item,
5656
+ active: item.id === __props.modelValue
5657
+ }, () => [
5658
+ createTextVNode(toDisplayString(item.label), 1)
5659
+ ], true)
5660
+ ]),
5661
+ hasBadge(item) ? (openBlock(), createElementBlock("span", {
5662
+ key: 1,
5663
+ class: normalizeClass(["tao-nav__badge", { "tao-nav__badge--dot": item.badge === true }]),
5664
+ "aria-hidden": item.badge === true ? "true" : void 0
5665
+ }, toDisplayString(badgeText(item)), 11, _hoisted_8$7)) : createCommentVNode("", true)
5075
5666
  ]),
5076
- hasBadge(item) ? (openBlock(), createElementBlock("span", {
5077
- key: 1,
5078
- class: normalizeClass(["tao-nav__badge", { "tao-nav__badge--dot": item.badge === true }]),
5079
- "aria-hidden": item.badge === true ? "true" : void 0
5080
- }, toDisplayString(badgeText(item)), 11, _hoisted_6$e)) : createCommentVNode("", true)
5667
+ _: 2
5668
+ }, 1032, ["class", "href", "type", "disabled", "aria-disabled", "aria-current", "onClick"]))
5669
+ ], 2);
5670
+ }), 128)),
5671
+ overflowing.value ? (openBlock(), createElementBlock("li", _hoisted_9$4, [
5672
+ createElementVNode("button", {
5673
+ ref_key: "moreButton",
5674
+ ref: moreButton,
5675
+ type: "button",
5676
+ class: normalizeClass(["tao-nav__item", { "tao-nav__item--active": activeInOverflow.value }]),
5677
+ "aria-haspopup": "menu",
5678
+ "aria-expanded": moreOpen.value,
5679
+ onClick: _cache[0] || (_cache[0] = ($event) => moreOpen.value = !moreOpen.value)
5680
+ }, [
5681
+ createElementVNode("span", _hoisted_11$3, [
5682
+ createVNode(TaoIcon, {
5683
+ name: "tao-more-horizontal",
5684
+ size: 20
5685
+ })
5081
5686
  ]),
5082
- _: 2
5083
- }, 1032, ["class", "href", "type", "disabled", "aria-disabled", "aria-current", "onClick"]))
5084
- ], 2);
5085
- }), 128)),
5086
- overflowing.value ? (openBlock(), createElementBlock("li", _hoisted_7$c, [
5087
- createElementVNode("button", {
5088
- ref_key: "moreButton",
5089
- ref: moreButton,
5090
- type: "button",
5091
- class: normalizeClass(["tao-nav__item", { "tao-nav__item--active": activeInOverflow.value }]),
5092
- "aria-haspopup": "menu",
5093
- "aria-expanded": moreOpen.value,
5094
- onClick: _cache[0] || (_cache[0] = ($event) => moreOpen.value = !moreOpen.value)
5095
- }, [
5096
- createElementVNode("span", _hoisted_9$4, [
5097
- createVNode(TaoIcon, {
5098
- name: "tao-more-horizontal",
5099
- size: 20
5100
- })
5101
- ]),
5102
- createElementVNode("span", _hoisted_10$3, toDisplayString(unref(l10n).moreLabel), 1)
5103
- ], 10, _hoisted_8$7)
5104
- ])) : createCommentVNode("", true)
5687
+ createElementVNode("span", _hoisted_12$2, toDisplayString(unref(l10n).moreLabel), 1)
5688
+ ], 10, _hoisted_10$3)
5689
+ ])) : createCommentVNode("", true)
5690
+ ])
5105
5691
  ])
5106
5692
  ], 8, _hoisted_2$v),
5107
- !standalone.value ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
5693
+ !standalone.value ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
5108
5694
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5109
5695
  ])) : createCommentVNode("", true)
5110
5696
  ]),
5111
- overflowing.value ? (openBlock(), createBlock(_sfc_main$D, {
5697
+ overflowing.value ? (openBlock(), createBlock(_sfc_main$J, {
5112
5698
  key: 0,
5113
5699
  items: moreMenu.value,
5114
5700
  open: moreOpen.value,
@@ -5122,7 +5708,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5122
5708
  };
5123
5709
  }
5124
5710
  });
5125
- const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-48b3bbbe"]]);
5711
+ const TaoNav = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-afcef60e"]]);
5126
5712
  function visibleRows(nodes, expanded, children) {
5127
5713
  const rows = [];
5128
5714
  const walk = (list, level, parentId) => {
@@ -7035,7 +7621,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7035
7621
  }, null, 4)
7036
7622
  ], 44, _hoisted_1$o),
7037
7623
  createElementVNode("div", _hoisted_2$m, [
7038
- createVNode(_sfc_main$10, {
7624
+ createVNode(_sfc_main$16, {
7039
7625
  modelValue: hueValue.value,
7040
7626
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hueValue.value = $event),
7041
7627
  class: "tao-color-picker__hue",
@@ -7047,7 +7633,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7047
7633
  "aria-label": unref(l10n).hueLabel,
7048
7634
  onChange: _cache[1] || (_cache[1] = ($event) => emit("change", hex.value))
7049
7635
  }, null, 8, ["modelValue", "disabled", "aria-label"]),
7050
- __props.alpha ? (openBlock(), createBlock(_sfc_main$10, {
7636
+ __props.alpha ? (openBlock(), createBlock(_sfc_main$16, {
7051
7637
  key: 0,
7052
7638
  modelValue: alphaValue.value,
7053
7639
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => alphaValue.value = $event),
@@ -11327,7 +11913,15 @@ function buildPaletteRoles(def, mode) {
11327
11913
  "--tao-color-link-shadow": dark ? "0 0 1px color-mix(in srgb, var(--tao-color-accent) 10%, transparent), 0 0 6px color-mix(in srgb, var(--tao-color-accent) 60%, transparent)" : "none",
11328
11914
  "--tao-glass-fill": dark ? "color-mix(in srgb, var(--tao-color-surface-raised) 55%, transparent)" : "color-mix(in srgb, var(--tao-color-surface) 60%, transparent)",
11329
11915
  "--tao-bg-atmosphere": atmosphere(dark),
11330
- ...statusRoles
11916
+ ...statusRoles,
11917
+ // the series built on roles; violet and pink (chart-4, chart-6) are the theme's own, except that a palette
11918
+ // gives its second stop to chart-4: a violet accent would meet the fixed violet otherwise
11919
+ // серии на ролях; фиолетовый и розовый — свои у темы, только chart-4 палитра отдаёт второму стопу
11920
+ "--tao-color-chart-1": "var(--tao-color-accent)",
11921
+ "--tao-color-chart-2": "var(--tao-color-info)",
11922
+ "--tao-color-chart-3": "var(--tao-color-success)",
11923
+ "--tao-color-chart-4": "var(--tao-color-accent-2)",
11924
+ "--tao-color-chart-5": "var(--tao-color-warning)"
11331
11925
  };
11332
11926
  for (const name of TAO_STATUS_NAMES) {
11333
11927
  roles[`--tao-color-${name}-text-hover`] = `color-mix(in srgb, var(--tao-color-${name}-text) 85%, var(--tao-color-text-strong))`;
@@ -11447,7 +12041,7 @@ const components = [
11447
12041
  TaoSpoilerGroup,
11448
12042
  TaoCopy,
11449
12043
  TaoContainer,
11450
- _sfc_main$U,
12044
+ _sfc_main$_,
11451
12045
  TaoSpace,
11452
12046
  TaoGrid,
11453
12047
  TaoGridItem,
@@ -11463,12 +12057,18 @@ const components = [
11463
12057
  TaoTextarea,
11464
12058
  TaoScrollTop,
11465
12059
  TaoProgress,
11466
- _sfc_main$10,
11467
- _sfc_main$F,
12060
+ _sfc_main$16,
12061
+ _sfc_main$L,
11468
12062
  TaoFileDrop,
11469
12063
  TaoDropdownMenu,
11470
- _sfc_main$D,
12064
+ _sfc_main$J,
11471
12065
  TaoMenubar,
12066
+ TaoToolbar,
12067
+ TaoToolbarGroup,
12068
+ TaoToolbarSeparator,
12069
+ TaoSparkline,
12070
+ TaoMeter,
12071
+ TaoDonut,
11472
12072
  TaoNav,
11473
12073
  TaoTree,
11474
12074
  TaoChecklist,
@@ -11521,6 +12121,7 @@ const TaoUI = {
11521
12121
  }
11522
12122
  };
11523
12123
  export {
12124
+ TAO_CHART_COLORS,
11524
12125
  TaoAlert,
11525
12126
  TaoAnimatedBorder,
11526
12127
  TaoAvatar,
@@ -11543,12 +12144,13 @@ export {
11543
12144
  TaoDate,
11544
12145
  TaoDateRange,
11545
12146
  TaoDivider,
12147
+ TaoDonut,
11546
12148
  TaoDrawer,
11547
12149
  TaoDropdownMenu,
11548
12150
  TaoEmpty,
11549
12151
  TaoFieldset,
11550
12152
  TaoFileDrop,
11551
- _sfc_main$U as TaoFlex,
12153
+ _sfc_main$_ as TaoFlex,
11552
12154
  TaoFormField,
11553
12155
  TaoGrid,
11554
12156
  TaoGridItem,
@@ -11562,8 +12164,9 @@ export {
11562
12164
  TaoListItem,
11563
12165
  TaoLoader,
11564
12166
  TaoMarquee,
11565
- _sfc_main$D as TaoMenu,
12167
+ _sfc_main$J as TaoMenu,
11566
12168
  TaoMenubar,
12169
+ TaoMeter,
11567
12170
  TaoModal,
11568
12171
  TaoNav,
11569
12172
  TaoPagination,
@@ -11573,15 +12176,16 @@ export {
11573
12176
  TaoQuantity,
11574
12177
  TaoRadio,
11575
12178
  TaoRadioGroup,
11576
- _sfc_main$F as TaoRangeSlider,
12179
+ _sfc_main$L as TaoRangeSlider,
11577
12180
  TaoScrollTop,
11578
12181
  TaoScrubber,
11579
12182
  TaoSegmented,
11580
12183
  TaoSegmentedOption,
11581
12184
  TaoSelect,
11582
12185
  TaoSkeleton,
11583
- _sfc_main$10 as TaoSlider,
12186
+ _sfc_main$16 as TaoSlider,
11584
12187
  TaoSpace,
12188
+ TaoSparkline,
11585
12189
  TaoSplit,
11586
12190
  TaoSpoiler,
11587
12191
  TaoSpoilerGroup,
@@ -11593,6 +12197,9 @@ export {
11593
12197
  TaoTextarea,
11594
12198
  TaoTimeline,
11595
12199
  TaoToastViewport,
12200
+ TaoToolbar,
12201
+ TaoToolbarGroup,
12202
+ TaoToolbarSeparator,
11596
12203
  TaoTooltip,
11597
12204
  TaoTree,
11598
12205
  TaoUI,
@@ -11621,6 +12228,7 @@ export {
11621
12228
  rgbaToHsva,
11622
12229
  setTaoLocale,
11623
12230
  srgbToLinear,
12231
+ taoChartTheme,
11624
12232
  taoIconNames,
11625
12233
  taoLocale,
11626
12234
  paletteCss as taoPaletteCss,
@@ -11628,6 +12236,7 @@ export {
11628
12236
  toHex,
11629
12237
  toast,
11630
12238
  todayTaoDate,
11631
- toneClass
12239
+ toneClass,
12240
+ watchTaoChartTheme
11632
12241
  };
11633
12242
  //# sourceMappingURL=index.js.map