@1337exp/taoui 5.8.3 → 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -95,9 +95,9 @@ function resolveTaoIcon(name) {
95
95
  return name.startsWith(TAO_ICON_PREFIX) ? builtin[name.slice(TAO_ICON_PREFIX.length)] : registered[name];
96
96
  }
97
97
  const taoIconNames = Object.keys(builtin).map((name) => TAO_ICON_PREFIX + name);
98
- const _hoisted_1$15 = { class: "tao-icon" };
99
- const _hoisted_2$X = ["viewBox", "width", "height", "innerHTML"];
100
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
98
+ const _hoisted_1$16 = { class: "tao-icon" };
99
+ const _hoisted_2$Y = ["viewBox", "width", "height", "innerHTML"];
100
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
101
101
  ...{ name: "TaoIcon" },
102
102
  __name: "TaoIcon",
103
103
  props: {
@@ -117,7 +117,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
117
117
  }
118
118
  const box = computed(() => props.size ? `${props.size}px` : "1em");
119
119
  return (_ctx, _cache) => {
120
- return openBlock(), createElementBlock("span", _hoisted_1$15, [
120
+ return openBlock(), createElementBlock("span", _hoisted_1$16, [
121
121
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
122
122
  def.value ? (openBlock(), createElementBlock("svg", {
123
123
  key: 0,
@@ -133,7 +133,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
133
133
  "aria-hidden": "true",
134
134
  focusable: "false",
135
135
  innerHTML: def.value.body
136
- }, null, 10, _hoisted_2$X)) : (openBlock(), createElementBlock("i", {
136
+ }, null, 10, _hoisted_2$Y)) : (openBlock(), createElementBlock("i", {
137
137
  key: 1,
138
138
  class: normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
139
139
  style: normalizeStyle(props.size ? `font-size: ${props.size}px` : "")
@@ -150,17 +150,17 @@ const _export_sfc = (sfc, props) => {
150
150
  }
151
151
  return target;
152
152
  };
153
- const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-ef842331"]]);
154
- const _hoisted_1$14 = ["type", "aria-pressed", "disabled"];
155
- const _hoisted_2$W = {
153
+ const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-ef842331"]]);
154
+ const _hoisted_1$15 = ["type", "aria-pressed", "disabled"];
155
+ const _hoisted_2$X = {
156
156
  key: 0,
157
157
  class: "tao-button__loader"
158
158
  };
159
- const _hoisted_3$O = {
159
+ const _hoisted_3$P = {
160
160
  key: 2,
161
161
  class: "tao-button__content"
162
162
  };
163
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
163
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
164
164
  ...{ name: "TaoButton" },
165
165
  __name: "TaoButton",
166
166
  props: {
@@ -218,13 +218,13 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
218
218
  disabled: __props.disabled || __props.loading,
219
219
  onClick: handleClick
220
220
  }, [
221
- __props.loading ? (openBlock(), createElementBlock("span", _hoisted_2$W)) : createCommentVNode("", true),
221
+ __props.loading ? (openBlock(), createElementBlock("span", _hoisted_2$X)) : createCommentVNode("", true),
222
222
  __props.icon ? (openBlock(), createBlock(TaoIcon, {
223
223
  key: 1,
224
224
  class: "tao-button__icon",
225
225
  name: __props.icon
226
226
  }, null, 8, ["name"])) : createCommentVNode("", true),
227
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$O, [
227
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$P, [
228
228
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
229
229
  ])) : createCommentVNode("", true),
230
230
  __props.iconEnd ? (openBlock(), createBlock(TaoIcon, {
@@ -232,11 +232,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
232
232
  class: "tao-button__icon",
233
233
  name: __props.iconEnd
234
234
  }, null, 8, ["name"])) : createCommentVNode("", true)
235
- ], 14, _hoisted_1$14);
235
+ ], 14, _hoisted_1$15);
236
236
  };
237
237
  }
238
238
  });
239
- const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-475b0135"]]);
239
+ const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-475b0135"]]);
240
240
  function toCssLength(value) {
241
241
  if (value === void 0 || value === null || value === "") {
242
242
  return void 0;
@@ -255,7 +255,7 @@ function stripeClasses(stripe, tone = "accent") {
255
255
  function surfaceClass(surface) {
256
256
  return surface && surface !== "flat" ? `tao-surface-${surface}` : void 0;
257
257
  }
258
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
258
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
259
259
  ...{ name: "TaoBlock" },
260
260
  __name: "TaoBlock",
261
261
  props: {
@@ -288,7 +288,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
288
288
  };
289
289
  }
290
290
  });
291
- const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-1fc66575"]]);
291
+ const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-1fc66575"]]);
292
292
  function useControlAttrs() {
293
293
  const attrs = useAttrs();
294
294
  return {
@@ -310,16 +310,16 @@ function useField(props) {
310
310
  const describedBy = computed(() => field?.describedBy.value);
311
311
  return { field, controlId, invalid, describedBy, localId };
312
312
  }
313
- const _hoisted_1$13 = {
313
+ const _hoisted_1$14 = {
314
314
  key: 0,
315
315
  class: "tao-input__affix tao-input__affix--prefix"
316
316
  };
317
- const _hoisted_2$V = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
318
- const _hoisted_3$N = {
317
+ const _hoisted_2$W = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
318
+ const _hoisted_3$O = {
319
319
  key: 1,
320
320
  class: "tao-input__affix tao-input__affix--suffix"
321
321
  };
322
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
322
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
323
323
  ...{ name: "TaoInput", inheritAttrs: false },
324
324
  __name: "TaoInput",
325
325
  props: {
@@ -329,6 +329,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
329
329
  disabled: { type: Boolean, default: false },
330
330
  size: {},
331
331
  error: { type: Boolean, default: false },
332
+ variant: { default: "outline" },
332
333
  id: {}
333
334
  },
334
335
  emits: ["update:modelValue", "blur", "focus"],
@@ -356,6 +357,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
356
357
  }), [
357
358
  createElementVNode("div", {
358
359
  class: normalizeClass(["tao-input-shell", {
360
+ [`tao-input-shell--${__props.variant}`]: __props.variant !== "outline",
359
361
  "tao-input-shell--focused": focused.value,
360
362
  "tao-input-shell--invalid": unref(invalid),
361
363
  "tao-input-shell--disabled": __props.disabled,
@@ -363,7 +365,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
363
365
  "tao-input-shell--suffix": _ctx.$slots.suffix
364
366
  }])
365
367
  }, [
366
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$13, [
368
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$14, [
367
369
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
368
370
  ])) : createCommentVNode("", true),
369
371
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
@@ -378,8 +380,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
378
380
  onInput: handleInput,
379
381
  onBlur: handleBlur,
380
382
  onFocus: handleFocus
381
- }), null, 16, _hoisted_2$V),
382
- _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$N, [
383
+ }), null, 16, _hoisted_2$W),
384
+ _ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$O, [
383
385
  renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
384
386
  ])) : createCommentVNode("", true)
385
387
  ], 2)
@@ -387,17 +389,17 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
387
389
  };
388
390
  }
389
391
  });
390
- const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-8dd01619"]]);
391
- const _hoisted_1$12 = {
392
+ const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-5b617319"]]);
393
+ const _hoisted_1$13 = {
392
394
  key: 0,
393
395
  class: "tao-input-group__addon tao-input-group__addon--before"
394
396
  };
395
- const _hoisted_2$U = { class: "tao-input-group__field" };
396
- const _hoisted_3$M = {
397
+ const _hoisted_2$V = { class: "tao-input-group__field" };
398
+ const _hoisted_3$N = {
397
399
  key: 1,
398
400
  class: "tao-input-group__addon tao-input-group__addon--after"
399
401
  };
400
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
402
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
401
403
  ...{ name: "TaoInputGroup" },
402
404
  __name: "TaoInputGroup",
403
405
  props: {
@@ -422,24 +424,24 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
422
424
  onFocusin: onFocusIn,
423
425
  onFocusout: onFocusOut
424
426
  }, [
425
- _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_1$12, [
427
+ _ctx.$slots.before ? (openBlock(), createElementBlock("div", _hoisted_1$13, [
426
428
  renderSlot(_ctx.$slots, "before", {}, void 0, true)
427
429
  ])) : createCommentVNode("", true),
428
- createElementVNode("div", _hoisted_2$U, [
430
+ createElementVNode("div", _hoisted_2$V, [
429
431
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
430
432
  ]),
431
- _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
433
+ _ctx.$slots.after ? (openBlock(), createElementBlock("div", _hoisted_3$N, [
432
434
  renderSlot(_ctx.$slots, "after", {}, void 0, true)
433
435
  ])) : createCommentVNode("", true)
434
436
  ], 34);
435
437
  };
436
438
  }
437
439
  });
438
- const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-55b2d297"]]);
440
+ const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-55b2d297"]]);
439
441
  const localeEn = {
440
442
  code: "en-US",
441
443
  alert: { closeLabel: "Close", detailsLabel: "Details" },
442
- pinCode: { successText: "The code is correct", errorText: "Wrong code" },
444
+ pinCode: { successText: "The code is correct", errorText: "Wrong code", cellLabel: "Character {n} of {count}" },
443
445
  avatar: {
444
446
  fallbackLabel: "Avatar",
445
447
  notificationsLabel: "{count} notifications",
@@ -667,7 +669,7 @@ function hasToastViewport() {
667
669
  const localeRu = {
668
670
  code: "ru-RU",
669
671
  alert: { closeLabel: "Закрыть", detailsLabel: "Подробнее" },
670
- pinCode: { successText: "Код верный", errorText: "Неверный код" },
672
+ pinCode: { successText: "Код верный", errorText: "Неверный код", cellLabel: "Символ {n} из {count}" },
671
673
  avatar: {
672
674
  fallbackLabel: "Аватар",
673
675
  notificationsLabel: "{count} уведомлений",
@@ -818,16 +820,16 @@ function useLocaleText(props, section) {
818
820
  function formatText(template, values) {
819
821
  return template.replace(/\{(\w+)\}/g, (match, key) => key in values ? String(values[key]) : match);
820
822
  }
821
- const _hoisted_1$11 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
822
- const _hoisted_2$T = {
823
+ const _hoisted_1$12 = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
824
+ const _hoisted_2$U = {
823
825
  key: 0,
824
826
  class: "tao-input-number__steppers"
825
827
  };
826
- const _hoisted_3$L = ["aria-label", "disabled"];
827
- const _hoisted_4$D = { "aria-hidden": "true" };
828
- const _hoisted_5$u = ["aria-label", "disabled"];
829
- const _hoisted_6$n = { "aria-hidden": "true" };
830
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
828
+ const _hoisted_3$M = ["aria-label", "disabled"];
829
+ const _hoisted_4$E = { "aria-hidden": "true" };
830
+ const _hoisted_5$v = ["aria-label", "disabled"];
831
+ const _hoisted_6$o = { "aria-hidden": "true" };
832
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
831
833
  ...{ name: "TaoInputNumber", inheritAttrs: false },
832
834
  __name: "TaoInputNumber",
833
835
  props: {
@@ -840,6 +842,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
840
842
  error: { type: Boolean, default: false },
841
843
  size: {},
842
844
  placeholder: { default: "" },
845
+ variant: { default: "outline" },
843
846
  controls: { type: Boolean, default: true },
844
847
  incrementLabel: {},
845
848
  decrementLabel: {}
@@ -964,7 +967,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
964
967
  const atMax = computed(() => props.max !== void 0 && (props.modelValue ?? 0) >= props.max);
965
968
  return (_ctx, _cache) => {
966
969
  return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
967
- class: ["tao-input-number", [unref(sizeClass)(__props.size), { "tao-input-number--invalid": unref(invalid), "tao-input-number--controls": __props.controls }]]
970
+ class: ["tao-input-number", [unref(sizeClass)(__props.size), { [`tao-input-number--${__props.variant}`]: __props.variant !== "outline", "tao-input-number--invalid": unref(invalid), "tao-input-number--controls": __props.controls }]]
968
971
  }), [
969
972
  createElementVNode("input", mergeProps(unref(controlAttrs)(), {
970
973
  id: unref(controlId),
@@ -985,8 +988,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
985
988
  onFocus,
986
989
  onBlur,
987
990
  onKeydown: onKeydown2
988
- }), null, 16, _hoisted_1$11),
989
- __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
991
+ }), null, 16, _hoisted_1$12),
992
+ __props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$U, [
990
993
  createElementVNode("button", {
991
994
  type: "button",
992
995
  class: "tao-input-number__step",
@@ -995,12 +998,12 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
995
998
  disabled: __props.disabled || atMax.value,
996
999
  onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
997
1000
  }, [
998
- createElementVNode("span", _hoisted_4$D, [
1001
+ createElementVNode("span", _hoisted_4$E, [
999
1002
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1000
1003
  createVNode(TaoIcon, { name: "tao-plus" })
1001
1004
  ], true)
1002
1005
  ])
1003
- ], 8, _hoisted_3$L),
1006
+ ], 8, _hoisted_3$M),
1004
1007
  createElementVNode("button", {
1005
1008
  type: "button",
1006
1009
  class: "tao-input-number__step",
@@ -1009,25 +1012,25 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1009
1012
  disabled: __props.disabled || atMin.value,
1010
1013
  onClick: _cache[1] || (_cache[1] = ($event) => bump(-1))
1011
1014
  }, [
1012
- createElementVNode("span", _hoisted_6$n, [
1015
+ createElementVNode("span", _hoisted_6$o, [
1013
1016
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
1014
1017
  createVNode(TaoIcon, { name: "tao-minus" })
1015
1018
  ], true)
1016
1019
  ])
1017
- ], 8, _hoisted_5$u)
1020
+ ], 8, _hoisted_5$v)
1018
1021
  ])) : createCommentVNode("", true)
1019
1022
  ], 16);
1020
1023
  };
1021
1024
  }
1022
1025
  });
1023
- const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-d9855e01"]]);
1024
- const _hoisted_1$10 = ["aria-label", "disabled"];
1025
- const _hoisted_2$S = { "aria-hidden": "true" };
1026
- const _hoisted_3$K = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1027
- const _hoisted_4$C = ["aria-label", "disabled"];
1028
- const _hoisted_5$t = { "aria-hidden": "true" };
1029
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1030
- ...{ name: "TaoQuantity" },
1026
+ const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-dc5bb759"]]);
1027
+ const _hoisted_1$11 = ["aria-label", "disabled"];
1028
+ const _hoisted_2$T = { "aria-hidden": "true" };
1029
+ const _hoisted_3$L = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
1030
+ const _hoisted_4$D = ["aria-label", "disabled"];
1031
+ const _hoisted_5$u = { "aria-hidden": "true" };
1032
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1033
+ ...{ name: "TaoQuantity", inheritAttrs: false },
1031
1034
  __name: "TaoQuantity",
1032
1035
  props: {
1033
1036
  modelValue: { default: 1 },
@@ -1044,6 +1047,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1044
1047
  },
1045
1048
  emits: ["update:modelValue", "change", "dec", "inc", "blur", "focus"],
1046
1049
  setup(__props, { emit: __emit }) {
1050
+ const { rootAttrs, controlAttrs } = useControlAttrs();
1047
1051
  const props = __props;
1048
1052
  const l10n = useLocaleText(props, "quantity");
1049
1053
  const emit = __emit;
@@ -1148,16 +1152,16 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1148
1152
  const plusDisabled = computed(() => props.disabled || atMax.value);
1149
1153
  const minusLabel = computed(() => atMin.value && props.allowRemove ? l10n.value.removeLabel : l10n.value.decrementLabel);
1150
1154
  return (_ctx, _cache) => {
1151
- return openBlock(), createElementBlock("div", {
1152
- class: normalizeClass(["tao-quantity", [
1155
+ return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
1156
+ class: ["tao-quantity", [
1153
1157
  unref(sizeClass)(__props.size),
1154
1158
  {
1155
1159
  "tao-quantity--invalid": unref(invalid),
1156
1160
  "tao-quantity--focused": focused.value,
1157
1161
  "tao-quantity--disabled": __props.disabled
1158
1162
  }
1159
- ]])
1160
- }, [
1163
+ ]]
1164
+ }), [
1161
1165
  createElementVNode("button", {
1162
1166
  type: "button",
1163
1167
  class: "tao-quantity__btn tao-quantity__btn--dec",
@@ -1165,13 +1169,13 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1165
1169
  disabled: minusDisabled.value,
1166
1170
  onClick: onDec
1167
1171
  }, [
1168
- createElementVNode("span", _hoisted_2$S, [
1172
+ createElementVNode("span", _hoisted_2$T, [
1169
1173
  renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
1170
1174
  createVNode(TaoIcon, { name: "tao-minus" })
1171
1175
  ], true)
1172
1176
  ])
1173
- ], 8, _hoisted_1$10),
1174
- createElementVNode("input", {
1177
+ ], 8, _hoisted_1$11),
1178
+ createElementVNode("input", mergeProps(unref(controlAttrs)(), {
1175
1179
  id: unref(controlId),
1176
1180
  class: "tao-quantity__input",
1177
1181
  type: "text",
@@ -1190,7 +1194,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1190
1194
  onFocus,
1191
1195
  onBlur,
1192
1196
  onKeydown: onKeydown2
1193
- }, null, 40, _hoisted_3$K),
1197
+ }), null, 16, _hoisted_3$L),
1194
1198
  createElementVNode("button", {
1195
1199
  type: "button",
1196
1200
  class: "tao-quantity__btn tao-quantity__btn--inc",
@@ -1198,46 +1202,46 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1198
1202
  disabled: plusDisabled.value,
1199
1203
  onClick: onInc
1200
1204
  }, [
1201
- createElementVNode("span", _hoisted_5$t, [
1205
+ createElementVNode("span", _hoisted_5$u, [
1202
1206
  renderSlot(_ctx.$slots, "increment-icon", {}, () => [
1203
1207
  createVNode(TaoIcon, { name: "tao-plus" })
1204
1208
  ], true)
1205
1209
  ])
1206
- ], 8, _hoisted_4$C)
1207
- ], 2);
1210
+ ], 8, _hoisted_4$D)
1211
+ ], 16);
1208
1212
  };
1209
1213
  }
1210
1214
  });
1211
- const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-f4fe9350"]]);
1212
- const _hoisted_1$$ = {
1215
+ const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-6453479c"]]);
1216
+ const _hoisted_1$10 = {
1213
1217
  key: 0,
1214
1218
  class: "tao-card__media"
1215
1219
  };
1216
- const _hoisted_2$R = {
1220
+ const _hoisted_2$S = {
1217
1221
  key: 0,
1218
1222
  class: "tao-card__overlay"
1219
1223
  };
1220
- const _hoisted_3$J = {
1224
+ const _hoisted_3$K = {
1221
1225
  key: 1,
1222
1226
  class: "tao-card__overlay"
1223
1227
  };
1224
- const _hoisted_4$B = {
1228
+ const _hoisted_4$C = {
1225
1229
  key: 0,
1226
1230
  class: "tao-card__header"
1227
1231
  };
1228
- const _hoisted_5$s = {
1232
+ const _hoisted_5$t = {
1229
1233
  key: 1,
1230
1234
  class: "tao-card__title-block"
1231
1235
  };
1232
- const _hoisted_6$m = {
1236
+ const _hoisted_6$n = {
1233
1237
  key: 0,
1234
1238
  class: "tao-card__title"
1235
1239
  };
1236
- const _hoisted_7$h = {
1240
+ const _hoisted_7$i = {
1237
1241
  key: 1,
1238
1242
  class: "tao-card__sub"
1239
1243
  };
1240
- const _hoisted_8$b = {
1244
+ const _hoisted_8$c = {
1241
1245
  key: 2,
1242
1246
  class: "tao-card__body"
1243
1247
  };
@@ -1250,7 +1254,7 @@ const _hoisted_10$4 = {
1250
1254
  class: "tao-card__corner"
1251
1255
  };
1252
1256
  const _hoisted_11$4 = ["aria-label"];
1253
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1257
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1254
1258
  ...{ name: "TaoCard" },
1255
1259
  __name: "TaoCard",
1256
1260
  props: {
@@ -1303,12 +1307,12 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1303
1307
  }]]),
1304
1308
  style: normalizeStyle(radiusStyle.value)
1305
1309
  }, [
1306
- _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
1310
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_1$10, [
1307
1311
  renderSlot(_ctx.$slots, "media", {}, void 0, true),
1308
- _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$R, [
1312
+ _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$S, [
1309
1313
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1310
1314
  ])) : createCommentVNode("", true)
1311
- ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$J, [
1315
+ ])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$K, [
1312
1316
  renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
1313
1317
  ])) : createCommentVNode("", true),
1314
1318
  hasContent.value ? (openBlock(), createElementBlock("div", {
@@ -1316,18 +1320,18 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1316
1320
  class: "tao-card__content",
1317
1321
  style: normalizeStyle(paddingStyle.value)
1318
1322
  }, [
1319
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$B, [
1323
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_4$C, [
1320
1324
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
1321
1325
  ])) : createCommentVNode("", true),
1322
- _ctx.$slots.title || _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
1323
- _ctx.$slots.title ? (openBlock(), createElementBlock("h2", _hoisted_6$m, [
1326
+ _ctx.$slots.title || _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_5$t, [
1327
+ _ctx.$slots.title ? (openBlock(), createElementBlock("h2", _hoisted_6$n, [
1324
1328
  renderSlot(_ctx.$slots, "title", {}, void 0, true)
1325
1329
  ])) : createCommentVNode("", true),
1326
- _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_7$h, [
1330
+ _ctx.$slots.sub ? (openBlock(), createElementBlock("div", _hoisted_7$i, [
1327
1331
  renderSlot(_ctx.$slots, "sub", {}, void 0, true)
1328
1332
  ])) : createCommentVNode("", true)
1329
1333
  ])) : createCommentVNode("", true),
1330
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_8$b, [
1334
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_8$c, [
1331
1335
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1332
1336
  ])) : createCommentVNode("", true),
1333
1337
  _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_9$8, [
@@ -1353,7 +1357,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1353
1357
  };
1354
1358
  }
1355
1359
  });
1356
- const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-72c9a80f"]]);
1360
+ const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-72c9a80f"]]);
1357
1361
  const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1358
1362
  function getFocusable(root) {
1359
1363
  return [...root.querySelectorAll(FOCUSABLE)].filter(
@@ -1475,21 +1479,21 @@ function useLayer(open, options = {}) {
1475
1479
  onBeforeUnmount(leave);
1476
1480
  return { isTop: () => stack[stack.length - 1] === layer };
1477
1481
  }
1478
- const _hoisted_1$_ = ["aria-labelledby"];
1479
- const _hoisted_2$Q = {
1482
+ const _hoisted_1$$ = ["aria-labelledby"];
1483
+ const _hoisted_2$R = {
1480
1484
  key: 0,
1481
1485
  class: "tao-modal__header"
1482
1486
  };
1483
- const _hoisted_3$I = ["id"];
1484
- const _hoisted_4$A = { key: 1 };
1485
- const _hoisted_5$r = ["aria-label"];
1486
- const _hoisted_6$l = { "aria-hidden": "true" };
1487
- const _hoisted_7$g = { class: "tao-modal__content" };
1488
- const _hoisted_8$a = {
1487
+ const _hoisted_3$J = ["id"];
1488
+ const _hoisted_4$B = { key: 1 };
1489
+ const _hoisted_5$s = ["aria-label"];
1490
+ const _hoisted_6$m = { "aria-hidden": "true" };
1491
+ const _hoisted_7$h = { class: "tao-modal__content" };
1492
+ const _hoisted_8$b = {
1489
1493
  key: 1,
1490
1494
  class: "tao-modal__footer"
1491
1495
  };
1492
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1496
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1493
1497
  ...{ name: "TaoModal" },
1494
1498
  __name: "TaoModal",
1495
1499
  props: {
@@ -1570,13 +1574,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1570
1574
  "aria-labelledby": __props.title ? unref(titleId) : void 0,
1571
1575
  tabindex: "-1"
1572
1576
  }, [
1573
- __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$Q, [
1577
+ __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("div", _hoisted_2$R, [
1574
1578
  renderSlot(_ctx.$slots, "header", {}, () => [
1575
1579
  __props.title ? (openBlock(), createElementBlock("h2", {
1576
1580
  key: 0,
1577
1581
  id: unref(titleId),
1578
1582
  class: "tao-modal__title"
1579
- }, toDisplayString(__props.title), 9, _hoisted_3$I)) : (openBlock(), createElementBlock("span", _hoisted_4$A))
1583
+ }, toDisplayString(__props.title), 9, _hoisted_3$J)) : (openBlock(), createElementBlock("span", _hoisted_4$B))
1580
1584
  ], true),
1581
1585
  __props.closable ? (openBlock(), createElementBlock("button", {
1582
1586
  key: 0,
@@ -1585,20 +1589,20 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1585
1589
  "aria-label": unref(l10n).closeLabel,
1586
1590
  onClick: close
1587
1591
  }, [
1588
- createElementVNode("span", _hoisted_6$l, [
1592
+ createElementVNode("span", _hoisted_6$m, [
1589
1593
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
1590
1594
  createVNode(TaoIcon, { name: "tao-close" })
1591
1595
  ], true)
1592
1596
  ])
1593
- ], 8, _hoisted_5$r)) : createCommentVNode("", true)
1597
+ ], 8, _hoisted_5$s)) : createCommentVNode("", true)
1594
1598
  ])) : createCommentVNode("", true),
1595
- createElementVNode("div", _hoisted_7$g, [
1599
+ createElementVNode("div", _hoisted_7$h, [
1596
1600
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1597
1601
  ]),
1598
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_8$a, [
1602
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_8$b, [
1599
1603
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1600
1604
  ])) : createCommentVNode("", true)
1601
- ], 8, _hoisted_1$_)
1605
+ ], 8, _hoisted_1$$)
1602
1606
  ], 34)) : createCommentVNode("", true)
1603
1607
  ]),
1604
1608
  _: 3
@@ -1607,10 +1611,10 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1607
1611
  };
1608
1612
  }
1609
1613
  });
1610
- const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-4beb767f"]]);
1611
- const _hoisted_1$Z = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1612
- const _hoisted_2$P = ["id", "aria-labelledby"];
1613
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1614
+ const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-4beb767f"]]);
1615
+ const _hoisted_1$_ = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
1616
+ const _hoisted_2$Q = ["id", "aria-labelledby"];
1617
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1614
1618
  ...{ name: "TaoTabs" },
1615
1619
  __name: "TaoTabs",
1616
1620
  props: {
@@ -1705,7 +1709,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1705
1709
  }, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1706
1710
  createTextVNode(toDisplayString(tab.label), 1)
1707
1711
  ], 64))
1708
- ], 8, _hoisted_1$Z);
1712
+ ], 8, _hoisted_1$_);
1709
1713
  }), 128))
1710
1714
  ], 36),
1711
1715
  createElementVNode("div", {
@@ -1715,12 +1719,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1715
1719
  "aria-labelledby": tabId(__props.modelValue)
1716
1720
  }, [
1717
1721
  renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
1718
- ], 8, _hoisted_2$P)
1722
+ ], 8, _hoisted_2$Q)
1719
1723
  ], 2);
1720
1724
  };
1721
1725
  }
1722
1726
  });
1723
- const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-70811078"]]);
1727
+ const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-70811078"]]);
1724
1728
  function listenFocusLoss(onLoss) {
1725
1729
  function onVisibilityChange() {
1726
1730
  if (document.hidden) {
@@ -1814,22 +1818,22 @@ function normalizeMarks(marks, min, max, format = String) {
1814
1818
  function isMarkActive(markValue, values) {
1815
1819
  return values.length === 2 ? markValue >= values[0] && markValue <= values[1] : markValue <= (values[0] ?? 0);
1816
1820
  }
1817
- const _hoisted_1$Y = ["aria-disabled"];
1818
- 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"];
1819
- const _hoisted_3$H = {
1821
+ const _hoisted_1$Z = ["aria-disabled"];
1822
+ const _hoisted_2$P = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "onKeydown"];
1823
+ const _hoisted_3$I = {
1820
1824
  key: 0,
1821
1825
  class: "tao-slider__value"
1822
1826
  };
1823
- const _hoisted_4$z = {
1827
+ const _hoisted_4$A = {
1824
1828
  key: 0,
1825
1829
  class: "tao-slider__marks"
1826
1830
  };
1827
- const _hoisted_5$q = ["disabled", "onClick"];
1828
- const _hoisted_6$k = {
1831
+ const _hoisted_5$r = ["disabled", "onClick"];
1832
+ const _hoisted_6$l = {
1829
1833
  key: 0,
1830
1834
  class: "tao-slider__mark-label"
1831
1835
  };
1832
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1836
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1833
1837
  ...{ name: "TaoSliderBase" },
1834
1838
  __name: "TaoSliderBase",
1835
1839
  props: {
@@ -2051,15 +2055,15 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2051
2055
  "aria-describedby": unref(describedBy),
2052
2056
  onKeydown: ($event) => onKeydown2($event, i),
2053
2057
  onBlur: _cache[0] || (_cache[0] = ($event) => pointerFocus.value = false)
2054
- }, null, 46, _hoisted_2$O);
2058
+ }, null, 46, _hoisted_2$P);
2055
2059
  }), 128)),
2056
- __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_3$H, [
2060
+ __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_3$I, [
2057
2061
  renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
2058
2062
  createTextVNode(toDisplayString(barText.value), 1),
2059
2063
  renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
2060
2064
  ])) : createCommentVNode("", true)
2061
2065
  ], 34),
2062
- markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$z, [
2066
+ markList.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$A, [
2063
2067
  (openBlock(true), createElementBlock(Fragment, null, renderList(markList.value, (mark) => {
2064
2068
  return openBlock(), createElementBlock("button", {
2065
2069
  key: mark.value,
@@ -2075,7 +2079,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2075
2079
  onClick: ($event) => onMarkClick(mark)
2076
2080
  }, [
2077
2081
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "tao-slider__tick" }, null, -1)),
2078
- mark.label ? (openBlock(), createElementBlock("span", _hoisted_6$k, [
2082
+ mark.label ? (openBlock(), createElementBlock("span", _hoisted_6$l, [
2079
2083
  renderSlot(_ctx.$slots, "mark", {
2080
2084
  mark,
2081
2085
  active: unref(isMarkActive)(mark.value, values.value)
@@ -2083,15 +2087,15 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2083
2087
  createTextVNode(toDisplayString(mark.label), 1)
2084
2088
  ], true)
2085
2089
  ])) : createCommentVNode("", true)
2086
- ], 14, _hoisted_5$q);
2090
+ ], 14, _hoisted_5$r);
2087
2091
  }), 128))
2088
2092
  ])) : createCommentVNode("", true)
2089
- ], 42, _hoisted_1$Y);
2093
+ ], 42, _hoisted_1$Z);
2090
2094
  };
2091
2095
  }
2092
2096
  });
2093
- const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-992bdfd9"]]);
2094
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2097
+ const TaoSliderBase = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-992bdfd9"]]);
2098
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2095
2099
  ...{ name: "TaoSlider" },
2096
2100
  __name: "TaoSlider",
2097
2101
  props: {
@@ -2148,13 +2152,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2148
2152
  };
2149
2153
  }
2150
2154
  });
2151
- const _hoisted_1$X = { class: "tao-scrubber__controls" };
2152
- const _hoisted_2$N = { class: "tao-scrubber__track" };
2153
- const _hoisted_3$G = {
2155
+ const _hoisted_1$Y = { class: "tao-scrubber__controls" };
2156
+ const _hoisted_2$O = { class: "tao-scrubber__track" };
2157
+ const _hoisted_3$H = {
2154
2158
  key: 0,
2155
2159
  class: "tao-scrubber__time"
2156
2160
  };
2157
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2161
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2158
2162
  ...{ name: "TaoScrubber" },
2159
2163
  __name: "TaoScrubber",
2160
2164
  props: {
@@ -2194,7 +2198,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2194
2198
  return openBlock(), createElementBlock("div", {
2195
2199
  class: normalizeClass(["tao-scrubber", [unref(sizeClass)(__props.size), `tao-scrubber--${__props.variant}`, { "tao-scrubber--marks-start": __props.marksSide === "start", "tao-scrubber--disabled": __props.disabled }]])
2196
2200
  }, [
2197
- createElementVNode("div", _hoisted_1$X, [
2201
+ createElementVNode("div", _hoisted_1$Y, [
2198
2202
  createVNode(TaoButton, {
2199
2203
  size: "small",
2200
2204
  variant: "secondary",
@@ -2224,8 +2228,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2224
2228
  _: 1
2225
2229
  }, 8, ["disabled", "aria-label"])) : createCommentVNode("", true)
2226
2230
  ]),
2227
- createElementVNode("div", _hoisted_2$N, [
2228
- createVNode(_sfc_main$16, {
2231
+ createElementVNode("div", _hoisted_2$O, [
2232
+ createVNode(_sfc_main$17, {
2229
2233
  "model-value": __props.modelValue,
2230
2234
  min: 0,
2231
2235
  max: __props.length,
@@ -2248,7 +2252,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2248
2252
  } : void 0
2249
2253
  ]), 1032, ["model-value", "max", "step", "marks", "marks-side", "variant", "size", "disabled"])
2250
2254
  ]),
2251
- __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
2255
+ __props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$H, [
2252
2256
  renderSlot(_ctx.$slots, "time", {
2253
2257
  time: __props.modelValue,
2254
2258
  length: __props.length,
@@ -2261,7 +2265,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2261
2265
  };
2262
2266
  }
2263
2267
  });
2264
- const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-517dc331"]]);
2268
+ const TaoScrubber = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-517dc331"]]);
2265
2269
  const opposite = { top: "bottom", bottom: "top", left: "right", right: "left" };
2266
2270
  function computePosition(input) {
2267
2271
  const { anchor, size, viewport, placement = "bottom-start", gap = 4, pad = 8, flip = true } = input;
@@ -2387,7 +2391,7 @@ function useFloating(anchor, panel, open, options = {}) {
2387
2391
  });
2388
2392
  return { style, side, anchorOffset, placed, update };
2389
2393
  }
2390
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2394
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2391
2395
  ...{ name: "TaoTooltip" },
2392
2396
  __name: "TaoTooltip",
2393
2397
  props: {
@@ -2465,7 +2469,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2465
2469
  };
2466
2470
  }
2467
2471
  });
2468
- const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-32ae3936"]]);
2472
+ const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-32ae3936"]]);
2469
2473
  function useDismiss(open, inside, onDismiss) {
2470
2474
  function onPointer(event) {
2471
2475
  const target = event.target;
@@ -2494,8 +2498,8 @@ function useDismiss(open, inside, onDismiss) {
2494
2498
  );
2495
2499
  onBeforeUnmount(stop);
2496
2500
  }
2497
- const _hoisted_1$W = { class: "tao-popover" };
2498
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2501
+ const _hoisted_1$X = { class: "tao-popover" };
2502
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2499
2503
  ...{ name: "TaoPopover" },
2500
2504
  __name: "TaoPopover",
2501
2505
  props: {
@@ -2549,7 +2553,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2549
2553
  }
2550
2554
  });
2551
2555
  return (_ctx, _cache) => {
2552
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
2556
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
2553
2557
  createElementVNode("div", {
2554
2558
  ref_key: "triggerRef",
2555
2559
  ref: triggerRef,
@@ -2578,17 +2582,17 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2578
2582
  };
2579
2583
  }
2580
2584
  });
2581
- const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-6822af1e"]]);
2585
+ const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-6822af1e"]]);
2582
2586
  const spoilerGroupKey = Symbol("taoSpoilerGroup");
2583
- const _hoisted_1$V = { class: "tao-spoiler" };
2584
- const _hoisted_2$M = ["aria-expanded", "aria-controls"];
2585
- const _hoisted_3$F = {
2587
+ const _hoisted_1$W = { class: "tao-spoiler" };
2588
+ const _hoisted_2$N = ["aria-expanded", "aria-controls"];
2589
+ const _hoisted_3$G = {
2586
2590
  key: 0,
2587
2591
  class: "tao-spoiler__title"
2588
2592
  };
2589
- const _hoisted_4$y = ["id"];
2590
- const _hoisted_5$p = { class: "tao-spoiler__content-inner" };
2591
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2593
+ const _hoisted_4$z = ["id"];
2594
+ const _hoisted_5$q = { class: "tao-spoiler__content-inner" };
2595
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
2592
2596
  ...{ name: "TaoSpoiler" },
2593
2597
  __name: "TaoSpoiler",
2594
2598
  props: {
@@ -2644,7 +2648,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2644
2648
  });
2645
2649
  }
2646
2650
  return (_ctx, _cache) => {
2647
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
2651
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
2648
2652
  createElementVNode("button", {
2649
2653
  type: "button",
2650
2654
  class: "tao-spoiler__header",
@@ -2656,12 +2660,12 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2656
2660
  class: normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }]),
2657
2661
  name: "tao-chevron-right"
2658
2662
  }, null, 8, ["class"]),
2659
- __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3$F, [
2663
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_3$G, [
2660
2664
  renderSlot(_ctx.$slots, "title", {}, () => [
2661
2665
  createTextVNode(toDisplayString(__props.title), 1)
2662
2666
  ], true)
2663
2667
  ])) : createCommentVNode("", true)
2664
- ], 8, _hoisted_2$M),
2668
+ ], 8, _hoisted_2$N),
2665
2669
  createVNode(Transition, {
2666
2670
  name: "tao-spoiler-slide",
2667
2671
  onBeforeEnter,
@@ -2675,10 +2679,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2675
2679
  id: unref(panelId),
2676
2680
  class: "tao-spoiler__content"
2677
2681
  }, [
2678
- createElementVNode("div", _hoisted_5$p, [
2682
+ createElementVNode("div", _hoisted_5$q, [
2679
2683
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2680
2684
  ])
2681
- ], 8, _hoisted_4$y)) : createCommentVNode("", true)
2685
+ ], 8, _hoisted_4$z)) : createCommentVNode("", true)
2682
2686
  ]),
2683
2687
  _: 3
2684
2688
  })
@@ -2686,9 +2690,9 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2686
2690
  };
2687
2691
  }
2688
2692
  });
2689
- const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-042715ba"]]);
2690
- const _hoisted_1$U = { class: "tao-spoiler-group" };
2691
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2693
+ const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-042715ba"]]);
2694
+ const _hoisted_1$V = { class: "tao-spoiler-group" };
2695
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
2692
2696
  ...{ name: "TaoSpoilerGroup" },
2693
2697
  __name: "TaoSpoilerGroup",
2694
2698
  props: {
@@ -2713,15 +2717,15 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2713
2717
  setOpen
2714
2718
  });
2715
2719
  return (_ctx, _cache) => {
2716
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
2720
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
2717
2721
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2718
2722
  ]);
2719
2723
  };
2720
2724
  }
2721
2725
  });
2722
- const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-7986fd2a"]]);
2723
- const _hoisted_1$T = ["aria-label"];
2724
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2726
+ const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-7986fd2a"]]);
2727
+ const _hoisted_1$U = ["aria-label"];
2728
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
2725
2729
  ...{ name: "TaoCopy" },
2726
2730
  __name: "TaoCopy",
2727
2731
  props: {
@@ -2792,7 +2796,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2792
2796
  name: "tao-copy",
2793
2797
  size: 16
2794
2798
  })
2795
- ], 10, _hoisted_1$T)
2799
+ ], 10, _hoisted_1$U)
2796
2800
  ], true),
2797
2801
  (openBlock(), createBlock(Teleport, { to: "body" }, [
2798
2802
  copied.value && __props.tip && doneText.value ? (openBlock(), createElementBlock("div", {
@@ -2808,8 +2812,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2808
2812
  };
2809
2813
  }
2810
2814
  });
2811
- const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-1fb47e53"]]);
2812
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2815
+ const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-1fb47e53"]]);
2816
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
2813
2817
  ...{ name: "TaoContainer" },
2814
2818
  __name: "TaoContainer",
2815
2819
  props: {
@@ -2828,8 +2832,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2828
2832
  };
2829
2833
  }
2830
2834
  });
2831
- const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-a5e36052"]]);
2832
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2835
+ const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-a5e36052"]]);
2836
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
2833
2837
  ...{ name: "TaoFlex" },
2834
2838
  __name: "TaoFlex",
2835
2839
  props: {
@@ -2860,7 +2864,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2860
2864
  };
2861
2865
  }
2862
2866
  });
2863
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2867
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
2864
2868
  ...{ name: "TaoSpace" },
2865
2869
  __name: "TaoSpace",
2866
2870
  props: {
@@ -2881,7 +2885,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2881
2885
  };
2882
2886
  }
2883
2887
  });
2884
- const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d6fec8bb"]]);
2888
+ const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-d6fec8bb"]]);
2885
2889
  const FULL_SPAN = 999;
2886
2890
  function perSize(value, fallback, compactPlain) {
2887
2891
  if (value === void 0 || value === null) {
@@ -2897,8 +2901,8 @@ function perSize(value, fallback, compactPlain) {
2897
2901
  return { compact, medium, expanded };
2898
2902
  }
2899
2903
  const spanNumber = (span) => span === "full" ? FULL_SPAN : Math.max(1, Math.round(span));
2900
- const _hoisted_1$S = { class: "tao-grid__cells" };
2901
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2904
+ const _hoisted_1$T = { class: "tao-grid__cells" };
2905
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
2902
2906
  ...{ name: "TaoGrid" },
2903
2907
  __name: "TaoGrid",
2904
2908
  props: {
@@ -2926,15 +2930,15 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2926
2930
  class: normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
2927
2931
  style: normalizeStyle(gridStyle.value)
2928
2932
  }, [
2929
- createElementVNode("div", _hoisted_1$S, [
2933
+ createElementVNode("div", _hoisted_1$T, [
2930
2934
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2931
2935
  ])
2932
2936
  ], 6);
2933
2937
  };
2934
2938
  }
2935
2939
  });
2936
- const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-e95541e2"]]);
2937
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
2940
+ const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-e95541e2"]]);
2941
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
2938
2942
  ...{ name: "TaoGridItem" },
2939
2943
  __name: "TaoGridItem",
2940
2944
  props: {
@@ -2970,15 +2974,15 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
2970
2974
  };
2971
2975
  }
2972
2976
  });
2973
- const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-d42e5e67"]]);
2974
- const _hoisted_1$R = { class: "tao-split__pane tao-split__pane--start" };
2975
- const _hoisted_2$L = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
2976
- const _hoisted_3$E = { class: "tao-split__pane tao-split__pane--end" };
2977
- const _hoisted_4$x = {
2977
+ const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-d42e5e67"]]);
2978
+ const _hoisted_1$S = { class: "tao-split__pane tao-split__pane--start" };
2979
+ const _hoisted_2$M = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
2980
+ const _hoisted_3$F = { class: "tao-split__pane tao-split__pane--end" };
2981
+ const _hoisted_4$y = {
2978
2982
  key: 0,
2979
2983
  class: "tao-split__shield"
2980
2984
  };
2981
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
2985
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
2982
2986
  ...{ name: "TaoSplit" },
2983
2987
  __name: "TaoSplit",
2984
2988
  props: {
@@ -3275,7 +3279,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3275
3279
  ]]),
3276
3280
  style: normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
3277
3281
  }, [
3278
- createElementVNode("div", _hoisted_1$R, [
3282
+ createElementVNode("div", _hoisted_1$S, [
3279
3283
  renderSlot(_ctx.$slots, "start", {}, void 0, true)
3280
3284
  ]),
3281
3285
  createElementVNode("div", {
@@ -3298,17 +3302,17 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3298
3302
  onKeydown: onKeydown2,
3299
3303
  onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
3300
3304
  }, ["prevent"]))
3301
- }, null, 40, _hoisted_2$L),
3302
- createElementVNode("div", _hoisted_3$E, [
3305
+ }, null, 40, _hoisted_2$M),
3306
+ createElementVNode("div", _hoisted_3$F, [
3303
3307
  renderSlot(_ctx.$slots, "end", {}, void 0, true)
3304
3308
  ]),
3305
- isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$x)) : createCommentVNode("", true)
3309
+ isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$y)) : createCommentVNode("", true)
3306
3310
  ], 6);
3307
3311
  };
3308
3312
  }
3309
3313
  });
3310
- const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-316b0d45"]]);
3311
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
3314
+ const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-316b0d45"]]);
3315
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
3312
3316
  ...{ name: "TaoLoader" },
3313
3317
  __name: "TaoLoader",
3314
3318
  props: {
@@ -3369,11 +3373,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
3369
3373
  };
3370
3374
  }
3371
3375
  });
3372
- const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-49a9f1b2"]]);
3373
- const _hoisted_1$Q = { class: "tao-image" };
3374
- const _hoisted_2$K = ["src", "alt", "loading"];
3375
- const _hoisted_3$D = { class: "tao-image__placeholder" };
3376
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
3376
+ const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-49a9f1b2"]]);
3377
+ const _hoisted_1$R = { class: "tao-image" };
3378
+ const _hoisted_2$L = ["src", "alt", "loading"];
3379
+ const _hoisted_3$E = { class: "tao-image__placeholder" };
3380
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
3377
3381
  ...{ name: "TaoImage" },
3378
3382
  __name: "TaoImage",
3379
3383
  props: {
@@ -3404,7 +3408,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3404
3408
  hasError.value = false;
3405
3409
  });
3406
3410
  return (_ctx, _cache) => {
3407
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
3411
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
3408
3412
  __props.src && !hasError.value ? (openBlock(), createElementBlock("img", {
3409
3413
  key: 0,
3410
3414
  class: normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
@@ -3415,26 +3419,26 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3415
3419
  draggable: "false",
3416
3420
  onLoad: handleLoad,
3417
3421
  onError: handleError
3418
- }, null, 42, _hoisted_2$K)) : createCommentVNode("", true),
3422
+ }, null, 42, _hoisted_2$L)) : createCommentVNode("", true),
3419
3423
  !__props.src || hasError.value ? renderSlot(_ctx.$slots, "default", {}, () => [
3420
- createElementVNode("div", _hoisted_3$D, toDisplayString(__props.placeholderText), 1)
3424
+ createElementVNode("div", _hoisted_3$E, toDisplayString(__props.placeholderText), 1)
3421
3425
  ], true, 1) : createCommentVNode("", true)
3422
3426
  ]);
3423
3427
  };
3424
3428
  }
3425
3429
  });
3426
- const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-61f47c52"]]);
3427
- const _hoisted_1$P = ["for"];
3428
- const _hoisted_2$J = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
3429
- const _hoisted_3$C = {
3430
+ const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-61f47c52"]]);
3431
+ const _hoisted_1$Q = ["for"];
3432
+ const _hoisted_2$K = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
3433
+ const _hoisted_3$D = {
3430
3434
  key: 0,
3431
3435
  class: "tao-checkbox__label"
3432
3436
  };
3433
- const _hoisted_4$w = {
3437
+ const _hoisted_4$x = {
3434
3438
  key: 1,
3435
3439
  class: "tao-checkbox__label"
3436
3440
  };
3437
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
3441
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
3438
3442
  ...{ name: "TaoCheckbox", inheritAttrs: false },
3439
3443
  __name: "TaoCheckbox",
3440
3444
  props: {
@@ -3505,25 +3509,25 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3505
3509
  "aria-invalid": unref(invalid) || void 0,
3506
3510
  "aria-describedby": unref(describedBy),
3507
3511
  onChange: onInputChange
3508
- }), null, 16, _hoisted_2$J),
3512
+ }), null, 16, _hoisted_2$K),
3509
3513
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
3510
- __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$C, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$w, [
3514
+ __props.label ? (openBlock(), createElementBlock("span", _hoisted_3$D, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$x, [
3511
3515
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3512
3516
  ])),
3513
3517
  renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
3514
- ], 16, _hoisted_1$P);
3518
+ ], 16, _hoisted_1$Q);
3515
3519
  };
3516
3520
  }
3517
3521
  });
3518
- const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-64c6f73a"]]);
3519
- const _hoisted_1$O = {
3522
+ const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-64c6f73a"]]);
3523
+ const _hoisted_1$P = {
3520
3524
  key: 0,
3521
3525
  class: "tao-tag__prefix"
3522
3526
  };
3523
- const _hoisted_2$I = { class: "tao-tag__text" };
3524
- const _hoisted_3$B = ["aria-label"];
3525
- const _hoisted_4$v = { "aria-hidden": "true" };
3526
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
3527
+ const _hoisted_2$J = { class: "tao-tag__text" };
3528
+ const _hoisted_3$C = ["aria-label"];
3529
+ const _hoisted_4$w = { "aria-hidden": "true" };
3530
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3527
3531
  ...{ name: "TaoTag" },
3528
3532
  __name: "TaoTag",
3529
3533
  props: {
@@ -3565,10 +3569,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3565
3569
  ]]),
3566
3570
  style: normalizeStyle(style.value)
3567
3571
  }, [
3568
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$O, [
3572
+ _ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$P, [
3569
3573
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
3570
3574
  ])) : createCommentVNode("", true),
3571
- createElementVNode("span", _hoisted_2$I, [
3575
+ createElementVNode("span", _hoisted_2$J, [
3572
3576
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3573
3577
  ]),
3574
3578
  __props.closable ? (openBlock(), createElementBlock("button", {
@@ -3578,27 +3582,27 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3578
3582
  "aria-label": unref(l10n).closeLabel,
3579
3583
  onClick: withModifiers(onClose, ["stop"])
3580
3584
  }, [
3581
- createElementVNode("span", _hoisted_4$v, [
3585
+ createElementVNode("span", _hoisted_4$w, [
3582
3586
  renderSlot(_ctx.$slots, "close-icon", {}, () => [
3583
3587
  createVNode(TaoIcon, { name: "tao-close" })
3584
3588
  ], true)
3585
3589
  ])
3586
- ], 8, _hoisted_3$B)) : createCommentVNode("", true)
3590
+ ], 8, _hoisted_3$C)) : createCommentVNode("", true)
3587
3591
  ], 6);
3588
3592
  };
3589
3593
  }
3590
3594
  });
3591
- const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-03794ffd"]]);
3592
- const _hoisted_1$N = ["role", "aria-hidden"];
3593
- const _hoisted_2$H = {
3595
+ const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-03794ffd"]]);
3596
+ const _hoisted_1$O = ["role", "aria-hidden"];
3597
+ const _hoisted_2$I = {
3594
3598
  key: 1,
3595
3599
  class: "tao-divider__text"
3596
3600
  };
3597
- const _hoisted_3$A = {
3601
+ const _hoisted_3$B = {
3598
3602
  key: 2,
3599
3603
  class: "tao-divider__line tao-divider__line--end"
3600
3604
  };
3601
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
3605
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
3602
3606
  ...{ name: "TaoDivider" },
3603
3607
  __name: "TaoDivider",
3604
3608
  props: {
@@ -3629,23 +3633,23 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
3629
3633
  key: 0,
3630
3634
  class: normalizeClass(["tao-divider__line", { "tao-divider__line--start": hasLabel.value }])
3631
3635
  }, null, 2)) : createCommentVNode("", true),
3632
- hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$H, [
3636
+ hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$I, [
3633
3637
  renderSlot(_ctx.$slots, "default", {}, () => [
3634
3638
  createTextVNode(toDisplayString(__props.text), 1)
3635
3639
  ], true)
3636
3640
  ])) : createCommentVNode("", true),
3637
- __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$A)) : createCommentVNode("", true)
3638
- ], 10, _hoisted_1$N);
3641
+ __props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$B)) : createCommentVNode("", true)
3642
+ ], 10, _hoisted_1$O);
3639
3643
  };
3640
3644
  }
3641
3645
  });
3642
- const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-662ed0ea"]]);
3643
- const _hoisted_1$M = {
3646
+ const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-662ed0ea"]]);
3647
+ const _hoisted_1$N = {
3644
3648
  key: 0,
3645
3649
  class: "tao-fieldset__legend"
3646
3650
  };
3647
- const _hoisted_2$G = { class: "tao-fieldset__body" };
3648
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3651
+ const _hoisted_2$H = { class: "tao-fieldset__body" };
3652
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
3649
3653
  ...{ name: "TaoFieldset" },
3650
3654
  __name: "TaoFieldset",
3651
3655
  props: {
@@ -3657,20 +3661,20 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3657
3661
  return openBlock(), createElementBlock("fieldset", {
3658
3662
  class: normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
3659
3663
  }, [
3660
- __props.legend || _ctx.$slots.legend ? (openBlock(), createElementBlock("legend", _hoisted_1$M, [
3664
+ __props.legend || _ctx.$slots.legend ? (openBlock(), createElementBlock("legend", _hoisted_1$N, [
3661
3665
  renderSlot(_ctx.$slots, "legend", {}, () => [
3662
3666
  createTextVNode(toDisplayString(__props.legend), 1)
3663
3667
  ], true)
3664
3668
  ])) : createCommentVNode("", true),
3665
- createElementVNode("div", _hoisted_2$G, [
3669
+ createElementVNode("div", _hoisted_2$H, [
3666
3670
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3667
3671
  ])
3668
3672
  ], 2);
3669
3673
  };
3670
3674
  }
3671
3675
  });
3672
- const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-3445dafd"]]);
3673
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
3676
+ const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-3445dafd"]]);
3677
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
3674
3678
  ...{ name: "TaoAnimatedBorder" },
3675
3679
  __name: "TaoAnimatedBorder",
3676
3680
  props: {
@@ -3713,10 +3717,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3713
3717
  };
3714
3718
  }
3715
3719
  });
3716
- const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-86ba074e"]]);
3717
- const _hoisted_1$L = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
3718
- const _hoisted_2$F = ["id"];
3719
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
3720
+ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86ba074e"]]);
3721
+ const _hoisted_1$M = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
3722
+ const _hoisted_2$G = ["id"];
3723
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3720
3724
  ...{ name: "TaoTextarea", inheritAttrs: false },
3721
3725
  __name: "TaoTextarea",
3722
3726
  props: {
@@ -3850,25 +3854,25 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3850
3854
  onFocus,
3851
3855
  onBlur,
3852
3856
  onKeydown: onKeydown2
3853
- }), null, 16, _hoisted_1$L),
3857
+ }), null, 16, _hoisted_1$M),
3854
3858
  __props.count ? (openBlock(), createElementBlock("span", {
3855
3859
  key: 0,
3856
3860
  id: counterId.value,
3857
3861
  class: normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
3858
- }, toDisplayString(countLabel.value), 11, _hoisted_2$F)) : createCommentVNode("", true)
3862
+ }, toDisplayString(countLabel.value), 11, _hoisted_2$G)) : createCommentVNode("", true)
3859
3863
  ], 16);
3860
3864
  };
3861
3865
  }
3862
3866
  });
3863
- const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-a428dc8a"]]);
3864
- const _hoisted_1$K = ["aria-label"];
3865
- const _hoisted_2$E = { class: "tao-scroll-top__content" };
3866
- const _hoisted_3$z = {
3867
+ const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-a428dc8a"]]);
3868
+ const _hoisted_1$L = ["aria-label"];
3869
+ const _hoisted_2$F = { class: "tao-scroll-top__content" };
3870
+ const _hoisted_3$A = {
3867
3871
  key: 0,
3868
3872
  class: "tao-scroll-top__text",
3869
3873
  "aria-hidden": "true"
3870
3874
  };
3871
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
3875
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3872
3876
  ...{ name: "TaoScrollTop", inheritAttrs: false },
3873
3877
  __name: "TaoScrollTop",
3874
3878
  props: {
@@ -3963,8 +3967,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3963
3967
  "aria-label": accessibleName.value,
3964
3968
  onClick: withModifiers(goToTop, ["prevent"])
3965
3969
  }), [
3966
- createElementVNode("span", _hoisted_2$E, [
3967
- isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
3970
+ createElementVNode("span", _hoisted_2$F, [
3971
+ isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$A, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
3968
3972
  renderSlot(_ctx.$slots, "default", {}, () => [
3969
3973
  createVNode(TaoIcon, {
3970
3974
  class: "tao-scroll-top__icon",
@@ -3973,7 +3977,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3973
3977
  })
3974
3978
  ], true)
3975
3979
  ])
3976
- ], 16, _hoisted_1$K),
3980
+ ], 16, _hoisted_1$L),
3977
3981
  !isText.value && caption.value ? (openBlock(), createElementBlock("span", {
3978
3982
  key: 0,
3979
3983
  class: normalizeClass(["tao-scroll-top__label", `tao-scroll-top__label--${captionSide.value}`]),
@@ -3986,26 +3990,26 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3986
3990
  };
3987
3991
  }
3988
3992
  });
3989
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-80a1abef"]]);
3990
- const _hoisted_1$J = { class: "tao-progress" };
3991
- const _hoisted_2$D = {
3993
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-80a1abef"]]);
3994
+ const _hoisted_1$K = { class: "tao-progress" };
3995
+ const _hoisted_2$E = {
3992
3996
  key: 0,
3993
3997
  class: "tao-progress__side"
3994
3998
  };
3995
- const _hoisted_3$y = { class: "tao-progress__main" };
3996
- const _hoisted_4$u = {
3999
+ const _hoisted_3$z = { class: "tao-progress__main" };
4000
+ const _hoisted_4$v = {
3997
4001
  key: 0,
3998
4002
  class: "tao-progress__percentage"
3999
4003
  };
4000
- const _hoisted_5$o = {
4004
+ const _hoisted_5$p = {
4001
4005
  key: 1,
4002
4006
  class: "tao-progress__side"
4003
4007
  };
4004
- const _hoisted_6$j = {
4008
+ const _hoisted_6$k = {
4005
4009
  key: 0,
4006
4010
  class: "tao-progress__percentage"
4007
4011
  };
4008
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
4012
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
4009
4013
  ...{ name: "TaoProgress" },
4010
4014
  __name: "TaoProgress",
4011
4015
  props: {
@@ -4034,16 +4038,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
4034
4038
  () => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
4035
4039
  );
4036
4040
  return (_ctx, _cache) => {
4037
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
4041
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
4038
4042
  createElementVNode("div", {
4039
4043
  class: normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
4040
4044
  style: normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
4041
4045
  }, [
4042
- _ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
4046
+ _ctx.$slots.left ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
4043
4047
  renderSlot(_ctx.$slots, "left", {}, void 0, true)
4044
4048
  ])) : createCommentVNode("", true),
4045
- createElementVNode("div", _hoisted_3$y, [
4046
- showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
4049
+ createElementVNode("div", _hoisted_3$z, [
4050
+ showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$v, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
4047
4051
  createElementVNode("div", {
4048
4052
  class: "tao-progress__track",
4049
4053
  style: normalizeStyle({ height: `${__props.height}px` })
@@ -4054,17 +4058,17 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
4054
4058
  }, null, 6)
4055
4059
  ], 4)
4056
4060
  ]),
4057
- _ctx.$slots.right || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$o, [
4061
+ _ctx.$slots.right || showEndPercent.value ? (openBlock(), createElementBlock("div", _hoisted_5$p, [
4058
4062
  renderSlot(_ctx.$slots, "right", {}, void 0, true),
4059
- showEndPercent.value ? (openBlock(), createElementBlock("span", _hoisted_6$j, toDisplayString(endPercentLabel.value), 1)) : createCommentVNode("", true)
4063
+ showEndPercent.value ? (openBlock(), createElementBlock("span", _hoisted_6$k, toDisplayString(endPercentLabel.value), 1)) : createCommentVNode("", true)
4060
4064
  ])) : createCommentVNode("", true)
4061
4065
  ], 6)
4062
4066
  ]);
4063
4067
  };
4064
4068
  }
4065
4069
  });
4066
- const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-4de488a6"]]);
4067
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
4070
+ const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-4de488a6"]]);
4071
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
4068
4072
  ...{ name: "TaoRangeSlider" },
4069
4073
  __name: "TaoRangeSlider",
4070
4074
  props: {
@@ -4121,20 +4125,20 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
4121
4125
  };
4122
4126
  }
4123
4127
  });
4124
- const _hoisted_1$I = { class: "tao-file-drop__row" };
4125
- const _hoisted_2$C = ["aria-label"];
4126
- const _hoisted_3$x = { "aria-hidden": "true" };
4127
- const _hoisted_4$t = ["accept", "multiple"];
4128
- const _hoisted_5$n = {
4128
+ const _hoisted_1$J = { class: "tao-file-drop__row" };
4129
+ const _hoisted_2$D = ["aria-label"];
4130
+ const _hoisted_3$y = { "aria-hidden": "true" };
4131
+ const _hoisted_4$u = ["accept", "multiple"];
4132
+ const _hoisted_5$o = {
4129
4133
  key: 0,
4130
4134
  class: "tao-file-drop__list"
4131
4135
  };
4132
- const _hoisted_6$i = { class: "tao-file-drop__name" };
4133
- const _hoisted_7$f = { class: "tao-file-drop__meta" };
4134
- const _hoisted_8$9 = ["aria-label", "onClick"];
4136
+ const _hoisted_6$j = { class: "tao-file-drop__name" };
4137
+ const _hoisted_7$g = { class: "tao-file-drop__meta" };
4138
+ const _hoisted_8$a = ["aria-label", "onClick"];
4135
4139
  const _hoisted_9$7 = { "aria-hidden": "true" };
4136
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
4137
- ...{ name: "TaoFileDrop" },
4140
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
4141
+ ...{ name: "TaoFileDrop", inheritAttrs: false },
4138
4142
  __name: "TaoFileDrop",
4139
4143
  props: {
4140
4144
  modelValue: { default: () => [] },
@@ -4149,6 +4153,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4149
4153
  },
4150
4154
  emits: ["update:modelValue", "change", "clear-request"],
4151
4155
  setup(__props, { emit: __emit }) {
4156
+ const { rootAttrs, controlAttrs } = useControlAttrs();
4152
4157
  const appLocale = useTaoLocale();
4153
4158
  const props = __props;
4154
4159
  const l10n = useLocaleText(props, "fileDrop");
@@ -4266,10 +4271,10 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4266
4271
  });
4267
4272
  onBeforeUnmount(() => stopFocusLoss?.());
4268
4273
  return (_ctx, _cache) => {
4269
- return openBlock(), createElementBlock("div", {
4270
- class: normalizeClass(["tao-file-drop", unref(sizeClass)(__props.size)])
4271
- }, [
4272
- createElementVNode("div", _hoisted_1$I, [
4274
+ return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
4275
+ class: ["tao-file-drop", unref(sizeClass)(__props.size)]
4276
+ }), [
4277
+ createElementVNode("div", _hoisted_1$J, [
4273
4278
  __props.showClear && __props.modelValue.length ? (openBlock(), createElementBlock("button", {
4274
4279
  key: 0,
4275
4280
  type: "button",
@@ -4277,12 +4282,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4277
4282
  "aria-label": unref(l10n).clearLabel,
4278
4283
  onClick: requestClear
4279
4284
  }, [
4280
- createElementVNode("span", _hoisted_3$x, [
4285
+ createElementVNode("span", _hoisted_3$y, [
4281
4286
  renderSlot(_ctx.$slots, "clear-icon", {}, () => [
4282
4287
  createVNode(TaoIcon, { name: "tao-close" })
4283
4288
  ], true)
4284
4289
  ])
4285
- ], 8, _hoisted_2$C)) : createCommentVNode("", true),
4290
+ ], 8, _hoisted_2$D)) : createCommentVNode("", true),
4286
4291
  createElementVNode("label", {
4287
4292
  class: normalizeClass(["tao-file-drop__zone", { "tao-file-drop__zone--dragging": isDragging.value }]),
4288
4293
  onDragover: handleDragOver,
@@ -4292,7 +4297,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4292
4297
  renderSlot(_ctx.$slots, "default", {}, () => [
4293
4298
  createTextVNode(toDisplayString(unref(appLocale).fileDrop.zoneText), 1)
4294
4299
  ], true),
4295
- createElementVNode("input", {
4300
+ createElementVNode("input", mergeProps(unref(controlAttrs)(), {
4296
4301
  ref_key: "fileInput",
4297
4302
  ref: fileInput,
4298
4303
  class: "tao-sr-only",
@@ -4302,17 +4307,17 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4302
4307
  onChange: handleFileSelect,
4303
4308
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
4304
4309
  }, ["stop"]))
4305
- }, null, 40, _hoisted_4$t)
4310
+ }), null, 16, _hoisted_4$u)
4306
4311
  ], 34)
4307
4312
  ]),
4308
- __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$n, [
4313
+ __props.list && __props.modelValue.length ? (openBlock(), createElementBlock("ul", _hoisted_5$o, [
4309
4314
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (file, index) => {
4310
4315
  return openBlock(), createElementBlock("li", {
4311
4316
  key: fileKey(file, index),
4312
4317
  class: "tao-file-drop__file"
4313
4318
  }, [
4314
- createElementVNode("span", _hoisted_6$i, toDisplayString(file.name), 1),
4315
- createElementVNode("span", _hoisted_7$f, toDisplayString(sizeLabel(file.size)), 1),
4319
+ createElementVNode("span", _hoisted_6$j, toDisplayString(file.name), 1),
4320
+ createElementVNode("span", _hoisted_7$g, toDisplayString(sizeLabel(file.size)), 1),
4316
4321
  createElementVNode("button", {
4317
4322
  type: "button",
4318
4323
  class: "tao-file-drop__remove",
@@ -4324,15 +4329,15 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4324
4329
  createVNode(TaoIcon, { name: "tao-close" })
4325
4330
  ], true)
4326
4331
  ])
4327
- ], 8, _hoisted_8$9)
4332
+ ], 8, _hoisted_8$a)
4328
4333
  ]);
4329
4334
  }), 128))
4330
4335
  ])) : createCommentVNode("", true)
4331
- ], 2);
4336
+ ], 16);
4332
4337
  };
4333
4338
  }
4334
4339
  });
4335
- const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-123e60a6"]]);
4340
+ const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-21fc24d9"]]);
4336
4341
  function isMenuSelectable(item) {
4337
4342
  return item.type !== "separator" && item.type !== "label" && !item.disabled;
4338
4343
  }
@@ -4429,29 +4434,29 @@ function useListNav(options) {
4429
4434
  }
4430
4435
  return { onKeydown: onKeydown2 };
4431
4436
  }
4432
- const _hoisted_1$H = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
4433
- const _hoisted_2$B = {
4437
+ const _hoisted_1$I = ["aria-label", "aria-activedescendant", "data-tao-menu-root"];
4438
+ const _hoisted_2$C = {
4434
4439
  key: 0,
4435
4440
  class: "tao-menu__separator",
4436
4441
  role: "separator"
4437
4442
  };
4438
- const _hoisted_3$w = {
4443
+ const _hoisted_3$x = {
4439
4444
  key: 1,
4440
4445
  class: "tao-menu__label",
4441
4446
  role: "presentation"
4442
4447
  };
4443
- const _hoisted_4$s = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
4444
- const _hoisted_5$m = { class: "tao-menu__text" };
4445
- const _hoisted_6$h = {
4448
+ const _hoisted_4$t = ["id", "role", "aria-checked", "aria-disabled", "aria-haspopup", "aria-expanded", "aria-keyshortcuts", "onClick", "onMouseenter"];
4449
+ const _hoisted_5$n = { class: "tao-menu__text" };
4450
+ const _hoisted_6$i = {
4446
4451
  key: 1,
4447
4452
  class: "tao-menu__shortcut"
4448
4453
  };
4449
- const _hoisted_7$e = {
4454
+ const _hoisted_7$f = {
4450
4455
  key: 2,
4451
4456
  class: "tao-menu__arrow",
4452
4457
  "aria-hidden": "true"
4453
4458
  };
4454
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
4459
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
4455
4460
  ...{ name: "TaoMenu" },
4456
4461
  __name: "TaoMenu",
4457
4462
  props: {
@@ -4634,7 +4639,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4634
4639
  return openBlock(), createElementBlock(Fragment, {
4635
4640
  key: "id" in item ? item.id : `${item.type}-${index}`
4636
4641
  }, [
4637
- 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 }, [
4642
+ item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$C)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$x, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
4638
4643
  createElementVNode("div", {
4639
4644
  id: itemId(index),
4640
4645
  ref_for: true,
@@ -4669,11 +4674,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4669
4674
  class: "tao-menu__icon",
4670
4675
  name: item.icon
4671
4676
  }, null, 8, ["name"])) : createCommentVNode("", true),
4672
- createElementVNode("span", _hoisted_5$m, toDisplayString(item.label), 1)
4677
+ createElementVNode("span", _hoisted_5$n, toDisplayString(item.label), 1)
4673
4678
  ]),
4674
- "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$h, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
4675
- "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$e)) : createCommentVNode("", true)
4676
- ], 42, _hoisted_4$s),
4679
+ "shortcut" in item && item.shortcut ? (openBlock(), createElementBlock("span", _hoisted_6$i, toDisplayString(item.shortcut), 1)) : createCommentVNode("", true),
4680
+ "items" in item && item.items ? (openBlock(), createElementBlock("span", _hoisted_7$f)) : createCommentVNode("", true)
4681
+ ], 42, _hoisted_4$t),
4677
4682
  "items" in item && item.items && openSub.value === index ? (openBlock(), createBlock(_component_TaoMenu, {
4678
4683
  key: 0,
4679
4684
  items: item.items,
@@ -4687,18 +4692,18 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4687
4692
  ], 64))
4688
4693
  ], 64);
4689
4694
  }), 128))
4690
- ], 46, _hoisted_1$H)) : createCommentVNode("", true)
4695
+ ], 46, _hoisted_1$I)) : createCommentVNode("", true)
4691
4696
  ]);
4692
4697
  };
4693
4698
  }
4694
4699
  });
4695
- const _hoisted_1$G = { class: "tao-dropdown-menu" };
4696
- const _hoisted_2$A = ["aria-expanded", "aria-label"];
4697
- const _hoisted_3$v = {
4700
+ const _hoisted_1$H = { class: "tao-dropdown-menu" };
4701
+ const _hoisted_2$B = ["aria-expanded", "aria-label"];
4702
+ const _hoisted_3$w = {
4698
4703
  key: 1,
4699
4704
  "aria-hidden": "true"
4700
4705
  };
4701
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
4706
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4702
4707
  ...{ name: "TaoDropdownMenu" },
4703
4708
  __name: "TaoDropdownMenu",
4704
4709
  props: {
@@ -4730,7 +4735,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4730
4735
  }
4731
4736
  }
4732
4737
  return (_ctx, _cache) => {
4733
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
4738
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
4734
4739
  createElementVNode("button", {
4735
4740
  ref_key: "triggerRef",
4736
4741
  ref: triggerRef,
@@ -4742,13 +4747,13 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4742
4747
  onClick: toggleMenu,
4743
4748
  onKeydown: onTriggerKeydown
4744
4749
  }, [
4745
- _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$v, [
4750
+ _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$w, [
4746
4751
  renderSlot(_ctx.$slots, "icon", {}, () => [
4747
4752
  createVNode(TaoIcon, { name: "tao-more-vertical" })
4748
4753
  ], true)
4749
4754
  ]))
4750
- ], 40, _hoisted_2$A),
4751
- createVNode(_sfc_main$J, {
4755
+ ], 40, _hoisted_2$B),
4756
+ createVNode(_sfc_main$K, {
4752
4757
  items: __props.items,
4753
4758
  open: isOpen.value,
4754
4759
  anchor: triggerRef.value,
@@ -4770,8 +4775,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4770
4775
  };
4771
4776
  }
4772
4777
  });
4773
- const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-e1b857ad"]]);
4774
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
4778
+ const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-e1b857ad"]]);
4779
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4775
4780
  ...{ name: "TaoContextMenu" },
4776
4781
  __name: "TaoContextMenu",
4777
4782
  props: {
@@ -4824,7 +4829,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
4824
4829
  "aria-hidden": "true",
4825
4830
  style: normalizeStyle({ left: `${point.value.x}px`, top: `${point.value.y}px` })
4826
4831
  }, null, 4),
4827
- createVNode(_sfc_main$J, {
4832
+ createVNode(_sfc_main$K, {
4828
4833
  items: __props.items,
4829
4834
  open: isOpen.value,
4830
4835
  anchor: anchor.value,
@@ -4846,10 +4851,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
4846
4851
  };
4847
4852
  }
4848
4853
  });
4849
- const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-65a7f071"]]);
4850
- const _hoisted_1$F = ["aria-label"];
4851
- const _hoisted_2$z = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
4852
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
4854
+ const TaoContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-65a7f071"]]);
4855
+ const _hoisted_1$G = ["aria-label"];
4856
+ const _hoisted_2$A = ["tabindex", "aria-haspopup", "aria-expanded", "aria-disabled", "onClick", "onKeydown", "onMouseenter", "onFocus"];
4857
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
4853
4858
  ...{ name: "TaoMenubar" },
4854
4859
  __name: "TaoMenubar",
4855
4860
  props: {
@@ -4977,8 +4982,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4977
4982
  onKeydown: ($event) => onKeydown2($event, index),
4978
4983
  onMouseenter: ($event) => onEnter(index),
4979
4984
  onFocus: ($event) => current2.value = index
4980
- }, toDisplayString(entry.label), 43, _hoisted_2$z),
4981
- hasMenu(index) ? (openBlock(), createBlock(_sfc_main$J, {
4985
+ }, toDisplayString(entry.label), 43, _hoisted_2$A),
4986
+ hasMenu(index) ? (openBlock(), createBlock(_sfc_main$K, {
4982
4987
  key: 0,
4983
4988
  items: entry.items,
4984
4989
  open: openIndex.value === index,
@@ -5000,11 +5005,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5000
5005
  ]), 1032, ["items", "open", "anchor", "label", "close-on-scroll"])) : createCommentVNode("", true)
5001
5006
  ], 64);
5002
5007
  }), 128))
5003
- ], 10, _hoisted_1$F);
5008
+ ], 10, _hoisted_1$G);
5004
5009
  };
5005
5010
  }
5006
5011
  });
5007
- const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-ce01bc7e"]]);
5012
+ const TaoMenubar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ce01bc7e"]]);
5008
5013
  const toolbarKey = Symbol("tao-toolbar");
5009
5014
  const ITEMS = 'button, a[href], input, select, textarea, [role="button"], [data-tao-toolbar-item]';
5010
5015
  const TEXT_INPUT = /^(text|search|email|url|tel|password|number|date|time|datetime-local|month|week)$/;
@@ -5057,8 +5062,8 @@ function isTextField(el) {
5057
5062
  }
5058
5063
  return el instanceof HTMLInputElement && TEXT_INPUT.test(el.type);
5059
5064
  }
5060
- const _hoisted_1$E = ["aria-label", "aria-orientation"];
5061
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
5065
+ const _hoisted_1$F = ["aria-label", "aria-orientation"];
5066
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
5062
5067
  ...{ name: "TaoToolbar" },
5063
5068
  __name: "TaoToolbar",
5064
5069
  props: {
@@ -5148,13 +5153,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5148
5153
  onKeydown: onKeydown2
5149
5154
  }, [
5150
5155
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5151
- ], 42, _hoisted_1$E);
5156
+ ], 42, _hoisted_1$F);
5152
5157
  };
5153
5158
  }
5154
5159
  });
5155
- const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ba418d50"]]);
5156
- const _hoisted_1$D = ["aria-label"];
5157
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
5160
+ const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-ba418d50"]]);
5161
+ const _hoisted_1$E = ["aria-label"];
5162
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5158
5163
  ...{ name: "TaoToolbarGroup" },
5159
5164
  __name: "TaoToolbarGroup",
5160
5165
  props: {
@@ -5169,13 +5174,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5169
5174
  "aria-label": __props.label
5170
5175
  }, [
5171
5176
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5172
- ], 10, _hoisted_1$D);
5177
+ ], 10, _hoisted_1$E);
5173
5178
  };
5174
5179
  }
5175
5180
  });
5176
- const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-1840d8d6"]]);
5177
- const _hoisted_1$C = ["aria-orientation"];
5178
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
5181
+ const TaoToolbarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1840d8d6"]]);
5182
+ const _hoisted_1$D = ["aria-orientation"];
5183
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
5179
5184
  ...{ name: "TaoToolbarSeparator" },
5180
5185
  __name: "TaoToolbarSeparator",
5181
5186
  setup(__props) {
@@ -5186,11 +5191,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5186
5191
  class: normalizeClass(["tao-toolbar-separator", `tao-toolbar-separator--${orientation.value}`]),
5187
5192
  role: "separator",
5188
5193
  "aria-orientation": orientation.value
5189
- }, null, 10, _hoisted_1$C);
5194
+ }, null, 10, _hoisted_1$D);
5190
5195
  };
5191
5196
  }
5192
5197
  });
5193
- const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7a0063e1"]]);
5198
+ const TaoToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-7a0063e1"]]);
5194
5199
  const TAO_CHART_COLORS = 6;
5195
5200
  const chartColorVar = (index) => `var(--tao-color-chart-${index % TAO_CHART_COLORS + 1})`;
5196
5201
  const finite = (v) => typeof v === "number" && Number.isFinite(v);
@@ -5228,6 +5233,41 @@ function sparklinePath(runs) {
5228
5233
  function sparklineArea(runs) {
5229
5234
  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("");
5230
5235
  }
5236
+ function niceFloor(x) {
5237
+ if (!(x > 0) || !Number.isFinite(x)) {
5238
+ return 0;
5239
+ }
5240
+ const magnitude = 10 ** Math.floor(Math.log10(x));
5241
+ const mantissa = [8, 6, 5, 4, 3, 2.5, 2, 1.5, 1].find((m) => m * magnitude <= x * (1 + 1e-9)) ?? 1;
5242
+ return round$1(mantissa * magnitude);
5243
+ }
5244
+ function heatmapSteps(values) {
5245
+ const real = values.flat().filter(finite);
5246
+ const max = real.length ? Math.max(...real) : 0;
5247
+ if (!(max > 0)) {
5248
+ return [];
5249
+ }
5250
+ const steps = [];
5251
+ for (const share of [0.1, 0.2, 0.4, 0.6, 0.8]) {
5252
+ const step = niceFloor(max * share);
5253
+ if (step > 0 && step > (steps[steps.length - 1] ?? 0)) {
5254
+ steps.push(step);
5255
+ }
5256
+ }
5257
+ return steps;
5258
+ }
5259
+ function heatmapLevel(value, steps) {
5260
+ if (!finite(value)) {
5261
+ return 0;
5262
+ }
5263
+ let level = 0;
5264
+ steps.forEach((step, i) => {
5265
+ if (value >= step) {
5266
+ level = i + 1;
5267
+ }
5268
+ });
5269
+ return level;
5270
+ }
5231
5271
  function meterTone(value, min, max, low, high, optimum) {
5232
5272
  if (!finite(low) && !finite(high)) {
5233
5273
  return "accent";
@@ -5327,16 +5367,16 @@ function watchTaoChartTheme(apply, el) {
5327
5367
  media?.removeEventListener("change", run);
5328
5368
  };
5329
5369
  }
5330
- const _hoisted_1$B = ["role", "aria-label", "aria-hidden"];
5331
- const _hoisted_2$y = {
5370
+ const _hoisted_1$C = ["role", "aria-label", "aria-hidden"];
5371
+ const _hoisted_2$z = {
5332
5372
  class: "tao-sparkline__svg",
5333
5373
  viewBox: "0 0 100 100",
5334
5374
  preserveAspectRatio: "none",
5335
5375
  "aria-hidden": "true"
5336
5376
  };
5337
- const _hoisted_3$u = ["d"];
5338
- const _hoisted_4$r = ["d"];
5339
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
5377
+ const _hoisted_3$v = ["d"];
5378
+ const _hoisted_4$s = ["d"];
5379
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
5340
5380
  ...{ name: "TaoSparkline" },
5341
5381
  __name: "TaoSparkline",
5342
5382
  props: {
@@ -5368,16 +5408,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5368
5408
  "aria-label": __props.label,
5369
5409
  "aria-hidden": __props.label ? void 0 : "true"
5370
5410
  }, [
5371
- (openBlock(), createElementBlock("svg", _hoisted_2$y, [
5411
+ (openBlock(), createElementBlock("svg", _hoisted_2$z, [
5372
5412
  fill.value ? (openBlock(), createElementBlock("path", {
5373
5413
  key: 0,
5374
5414
  class: "tao-sparkline__area",
5375
5415
  d: fill.value
5376
- }, null, 8, _hoisted_3$u)) : createCommentVNode("", true),
5416
+ }, null, 8, _hoisted_3$v)) : createCommentVNode("", true),
5377
5417
  createElementVNode("path", {
5378
5418
  class: "tao-sparkline__line",
5379
5419
  d: line.value
5380
- }, null, 8, _hoisted_4$r)
5420
+ }, null, 8, _hoisted_4$s)
5381
5421
  ])),
5382
5422
  __props.dot && last.value ? (openBlock(), createElementBlock("span", {
5383
5423
  key: 0,
@@ -5385,24 +5425,24 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5385
5425
  style: normalizeStyle({ left: inset(last.value[0]), top: inset(last.value[1]) }),
5386
5426
  "aria-hidden": "true"
5387
5427
  }, null, 4)) : createCommentVNode("", true)
5388
- ], 14, _hoisted_1$B);
5428
+ ], 14, _hoisted_1$C);
5389
5429
  };
5390
5430
  }
5391
5431
  });
5392
- const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-76664226"]]);
5393
- const _hoisted_1$A = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
5394
- const _hoisted_2$x = {
5432
+ const TaoSparkline = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-76664226"]]);
5433
+ const _hoisted_1$B = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-valuetext", "aria-label"];
5434
+ const _hoisted_2$y = {
5395
5435
  key: 0,
5396
5436
  class: "tao-meter__head",
5397
5437
  "aria-hidden": "true"
5398
5438
  };
5399
- const _hoisted_3$t = { class: "tao-meter__label" };
5400
- const _hoisted_4$q = {
5439
+ const _hoisted_3$u = { class: "tao-meter__label" };
5440
+ const _hoisted_4$r = {
5401
5441
  key: 0,
5402
5442
  class: "tao-meter__value"
5403
5443
  };
5404
- const _hoisted_5$l = { class: "tao-meter__track" };
5405
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
5444
+ const _hoisted_5$m = { class: "tao-meter__track" };
5445
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5406
5446
  ...{ name: "TaoMeter" },
5407
5447
  __name: "TaoMeter",
5408
5448
  props: {
@@ -5436,38 +5476,38 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
5436
5476
  "aria-valuetext": typeof __props.valueText === "string" ? __props.valueText : void 0,
5437
5477
  "aria-label": __props.label
5438
5478
  }, [
5439
- __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
5440
- createElementVNode("span", _hoisted_3$t, toDisplayString(__props.label), 1),
5441
- shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
5479
+ __props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
5480
+ createElementVNode("span", _hoisted_3$u, toDisplayString(__props.label), 1),
5481
+ shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$r, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
5442
5482
  ])) : createCommentVNode("", true),
5443
- createElementVNode("div", _hoisted_5$l, [
5483
+ createElementVNode("div", _hoisted_5$m, [
5444
5484
  createElementVNode("div", {
5445
5485
  class: "tao-meter__fill",
5446
5486
  style: normalizeStyle({ width: `${share.value * 100}%` })
5447
5487
  }, null, 4)
5448
5488
  ])
5449
- ], 10, _hoisted_1$A);
5489
+ ], 10, _hoisted_1$B);
5450
5490
  };
5451
5491
  }
5452
5492
  });
5453
- const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-17e24a8e"]]);
5454
- const _hoisted_1$z = ["aria-label"];
5455
- const _hoisted_2$w = ["viewBox", "width", "height"];
5456
- const _hoisted_3$s = ["cx", "cy", "r", "stroke-width"];
5457
- const _hoisted_4$p = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
5458
- const _hoisted_5$k = {
5493
+ const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-17e24a8e"]]);
5494
+ const _hoisted_1$A = ["aria-label"];
5495
+ const _hoisted_2$x = ["viewBox", "width", "height"];
5496
+ const _hoisted_3$t = ["cx", "cy", "r", "stroke-width"];
5497
+ const _hoisted_4$q = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
5498
+ const _hoisted_5$l = {
5459
5499
  key: 0,
5460
5500
  class: "tao-donut__centre",
5461
5501
  "aria-hidden": "true"
5462
5502
  };
5463
- const _hoisted_6$g = {
5503
+ const _hoisted_6$h = {
5464
5504
  key: 0,
5465
5505
  class: "tao-donut__legend",
5466
5506
  "aria-hidden": "true"
5467
5507
  };
5468
- const _hoisted_7$d = { class: "tao-donut__name" };
5469
- const _hoisted_8$8 = { class: "tao-donut__share" };
5470
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
5508
+ const _hoisted_7$e = { class: "tao-donut__name" };
5509
+ const _hoisted_8$9 = { class: "tao-donut__share" };
5510
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
5471
5511
  ...{ name: "TaoDonut" },
5472
5512
  __name: "TaoDonut",
5473
5513
  props: {
@@ -5528,7 +5568,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5528
5568
  cy: centre.value,
5529
5569
  r: radius.value,
5530
5570
  "stroke-width": __props.thickness
5531
- }, null, 8, _hoisted_3$s),
5571
+ }, null, 8, _hoisted_3$t),
5532
5572
  (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
5533
5573
  return withDirectives((openBlock(), createElementBlock("circle", {
5534
5574
  key: arc.key,
@@ -5542,16 +5582,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5542
5582
  "stroke-dashoffset": -arc.start,
5543
5583
  transform: `rotate(-90 ${centre.value} ${centre.value})`,
5544
5584
  style: normalizeStyle({ stroke: arc.stroke })
5545
- }, null, 14, _hoisted_4$p)), [
5585
+ }, null, 14, _hoisted_4$q)), [
5546
5586
  [vShow, arc.length > 0]
5547
5587
  ]);
5548
5588
  }), 128))
5549
- ], 8, _hoisted_2$w)),
5550
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
5589
+ ], 8, _hoisted_2$x)),
5590
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
5551
5591
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5552
5592
  ])) : createCommentVNode("", true)
5553
- ], 12, _hoisted_1$z),
5554
- __props.legend && __props.segments ? (openBlock(), createElementBlock("ul", _hoisted_6$g, [
5593
+ ], 12, _hoisted_1$A),
5594
+ __props.legend && __props.segments ? (openBlock(), createElementBlock("ul", _hoisted_6$h, [
5555
5595
  (openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
5556
5596
  return openBlock(), createElementBlock("li", {
5557
5597
  key: arc.key,
@@ -5561,8 +5601,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5561
5601
  class: normalizeClass(["tao-donut__swatch", unref(toneClass)(arc.tone)]),
5562
5602
  style: normalizeStyle({ background: arc.stroke })
5563
5603
  }, null, 6),
5564
- createElementVNode("span", _hoisted_7$d, toDisplayString(arc.label), 1),
5565
- createElementVNode("span", _hoisted_8$8, toDisplayString(percent(arc.share)), 1)
5604
+ createElementVNode("span", _hoisted_7$e, toDisplayString(arc.label), 1),
5605
+ createElementVNode("span", _hoisted_8$9, toDisplayString(percent(arc.share)), 1)
5566
5606
  ]);
5567
5607
  }), 128))
5568
5608
  ])) : createCommentVNode("", true)
@@ -5570,7 +5610,269 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5570
5610
  };
5571
5611
  }
5572
5612
  });
5573
- const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30b93ef0"]]);
5613
+ const TaoDonut = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-30b93ef0"]]);
5614
+ const _hoisted_1$z = ["aria-label", "aria-rowcount", "aria-colcount"];
5615
+ const _hoisted_2$w = {
5616
+ class: "tao-heatmap__row tao-heatmap__head",
5617
+ role: "row"
5618
+ };
5619
+ const _hoisted_3$s = {
5620
+ class: "tao-heatmap__name",
5621
+ role: "rowheader"
5622
+ };
5623
+ const _hoisted_4$p = ["data-r", "data-c", "tabindex", "onPointerenter", "onFocus"];
5624
+ const _hoisted_5$k = { class: "tao-sr-only" };
5625
+ const _hoisted_6$g = { class: "tao-heatmap__tip-where" };
5626
+ const _hoisted_7$d = { class: "tao-heatmap__tip-value" };
5627
+ const _hoisted_8$8 = {
5628
+ key: 1,
5629
+ class: "tao-heatmap__legend",
5630
+ "aria-hidden": "true"
5631
+ };
5632
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5633
+ ...{ name: "TaoHeatmap" },
5634
+ __name: "TaoHeatmap",
5635
+ props: {
5636
+ values: {},
5637
+ rows: {},
5638
+ cols: {},
5639
+ steps: { default: void 0 },
5640
+ tone: { default: "accent" },
5641
+ label: { default: void 0 },
5642
+ legend: { type: Boolean, default: true },
5643
+ hatch: { default: 1 },
5644
+ labelEvery: { default: void 0 },
5645
+ colLabels: { default: "bottom" },
5646
+ cellHeight: { default: void 0 },
5647
+ gap: { default: 3 },
5648
+ format: { type: Function, default: void 0 }
5649
+ },
5650
+ setup(__props) {
5651
+ const props = __props;
5652
+ const locale = useTaoLocale();
5653
+ const numberFormat = computed(() => new Intl.NumberFormat(locale.value.code));
5654
+ const write = (value) => value === null || !Number.isFinite(value) ? "—" : props.format ? props.format(value) : numberFormat.value.format(value);
5655
+ const thresholds = computed(() => props.steps ? [...props.steps].sort((a, b) => a - b) : heatmapSteps(props.values));
5656
+ const top = computed(() => Math.max(1, thresholds.value.length));
5657
+ const grid = computed(
5658
+ () => props.rows.map(
5659
+ (_, r) => props.cols.map((_2, c) => {
5660
+ const raw = props.values[r]?.[c];
5661
+ const value = typeof raw === "number" && Number.isFinite(raw) ? raw : null;
5662
+ return { key: `${r}-${c}`, value, level: heatmapLevel(value, thresholds.value), text: write(value) };
5663
+ })
5664
+ )
5665
+ );
5666
+ const strength = (level) => Math.round(18 + 82 * (level - 1) / Math.max(1, top.value - 1));
5667
+ const levelStyle = (level) => level > 0 ? { "--_mix": `${top.value === 1 ? 100 : strength(level)}%` } : void 0;
5668
+ const levelClass = (level) => ({
5669
+ "tao-heatmap__fill--on": level > 0,
5670
+ "tao-heatmap__fill--hatch": level > 0 && level <= props.hatch && top.value > props.hatch
5671
+ });
5672
+ const legendItems = computed(() => thresholds.value.map((step, i) => ({ level: i + 1, text: `${write(step)}+` })));
5673
+ const fitEvery = ref(1);
5674
+ const every = computed(() => Math.max(1, Math.round(props.labelEvery ?? fitEvery.value)));
5675
+ const quietCol = (c) => every.value > 1 && c % every.value !== 0;
5676
+ const measure = ref(null);
5677
+ let observer;
5678
+ function fit() {
5679
+ const box = measure.value;
5680
+ const cell = root.value?.querySelector("[role=gridcell]");
5681
+ if (!box || !cell || props.labelEvery !== void 0) {
5682
+ return;
5683
+ }
5684
+ const widest = Math.max(0, ...[...box.children].map((el) => el.offsetWidth));
5685
+ const column = cell.getBoundingClientRect().width + props.gap;
5686
+ const need = column > 0 ? Math.ceil((widest + 8) / column) : 1;
5687
+ const n = props.cols.length;
5688
+ fitEvery.value = Array.from({ length: n }, (_, i) => i + 1).find((k) => k >= need && n % k === 0) ?? need;
5689
+ }
5690
+ onMounted(() => {
5691
+ fit();
5692
+ if (typeof ResizeObserver !== "undefined" && root.value) {
5693
+ observer = new ResizeObserver(() => fit());
5694
+ observer.observe(root.value);
5695
+ }
5696
+ });
5697
+ onBeforeUnmount(() => observer?.disconnect());
5698
+ watch(() => [props.cols, props.labelEvery, props.gap], () => nextTick(fit));
5699
+ const active = ref({ r: 0, c: 0 });
5700
+ const root = ref(null);
5701
+ const cellAt = (r, c) => root.value?.querySelector(`[data-r="${r}"][data-c="${c}"]`) ?? null;
5702
+ function move(r, c) {
5703
+ const rr = Math.min(props.rows.length - 1, Math.max(0, r));
5704
+ const cc = Math.min(props.cols.length - 1, Math.max(0, c));
5705
+ active.value = { r: rr, c: cc };
5706
+ cellAt(rr, cc)?.focus();
5707
+ }
5708
+ function onKeydown2(event) {
5709
+ const { r, c } = active.value;
5710
+ const last = { r: props.rows.length - 1, c: props.cols.length - 1 };
5711
+ const to = {
5712
+ ArrowRight: () => move(r, c + 1),
5713
+ ArrowLeft: () => move(r, c - 1),
5714
+ ArrowDown: () => move(r + 1, c),
5715
+ ArrowUp: () => move(r - 1, c),
5716
+ Home: () => move(event.ctrlKey ? 0 : r, 0),
5717
+ End: () => move(event.ctrlKey ? last.r : r, last.c),
5718
+ PageUp: () => move(0, c),
5719
+ PageDown: () => move(last.r, c)
5720
+ };
5721
+ const go = to[event.key];
5722
+ if (go) {
5723
+ event.preventDefault();
5724
+ go();
5725
+ }
5726
+ }
5727
+ const tipCell = ref(null);
5728
+ const tipRef = ref(null);
5729
+ const tipPlace = ref({ left: 0, top: 0, shown: false });
5730
+ const tip = computed(() => {
5731
+ if (!tipCell.value) {
5732
+ return null;
5733
+ }
5734
+ const { r, c } = tipCell.value;
5735
+ const cell = grid.value[r]?.[c];
5736
+ return cell ? { row: props.rows[r], col: props.cols[c], value: cell.value, text: cell.text } : null;
5737
+ });
5738
+ async function show(r, c) {
5739
+ tipCell.value = { r, c };
5740
+ tipPlace.value = { ...tipPlace.value, shown: false };
5741
+ await nextTick();
5742
+ const el = cellAt(r, c);
5743
+ const box = root.value;
5744
+ const bubble = tipRef.value;
5745
+ if (!el || !box || !bubble || tipCell.value?.r !== r || tipCell.value?.c !== c) {
5746
+ return;
5747
+ }
5748
+ const cellRect = el.getBoundingClientRect();
5749
+ const boxRect = box.getBoundingClientRect();
5750
+ const width = bubble.offsetWidth;
5751
+ const height = bubble.offsetHeight;
5752
+ const centre = cellRect.left - boxRect.left + cellRect.width / 2;
5753
+ const left = Math.round(Math.min(Math.max(0, centre - width / 2), Math.max(0, boxRect.width - width)));
5754
+ const above = cellRect.top - boxRect.top - height - 6;
5755
+ const below = cellRect.bottom - boxRect.top + 6;
5756
+ tipPlace.value = { left, top: Math.round(above >= 0 ? above : below), shown: true };
5757
+ }
5758
+ function hide() {
5759
+ tipCell.value = null;
5760
+ }
5761
+ function onFocusOut(event) {
5762
+ if (!root.value?.contains(event.relatedTarget)) {
5763
+ hide();
5764
+ }
5765
+ }
5766
+ const columns = computed(() => `auto repeat(${Math.max(1, props.cols.length)}, minmax(0, 1fr))`);
5767
+ return (_ctx, _cache) => {
5768
+ return openBlock(), createElementBlock("div", {
5769
+ ref_key: "root",
5770
+ ref: root,
5771
+ class: normalizeClass(["tao-heatmap", unref(toneClass)(__props.tone)])
5772
+ }, [
5773
+ createElementVNode("div", {
5774
+ class: normalizeClass(["tao-heatmap__grid", `tao-heatmap__grid--labels-${__props.colLabels}`]),
5775
+ role: "grid",
5776
+ "aria-label": __props.label,
5777
+ "aria-rowcount": __props.rows.length + 1,
5778
+ "aria-colcount": __props.cols.length + 1,
5779
+ style: normalizeStyle({ gridTemplateColumns: columns.value, gap: `${__props.gap}px` }),
5780
+ onKeydown: onKeydown2,
5781
+ onPointerleave: hide,
5782
+ onFocusout: onFocusOut
5783
+ }, [
5784
+ createElementVNode("div", _hoisted_2$w, [
5785
+ _cache[0] || (_cache[0] = createElementVNode("span", {
5786
+ class: "tao-heatmap__corner",
5787
+ role: "columnheader"
5788
+ }, null, -1)),
5789
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.cols, (col, c) => {
5790
+ return openBlock(), createElementBlock("span", {
5791
+ key: `col-${c}`,
5792
+ class: "tao-heatmap__col",
5793
+ role: "columnheader"
5794
+ }, [
5795
+ createElementVNode("span", {
5796
+ class: normalizeClass(quietCol(c) ? "tao-sr-only" : "tao-heatmap__col-text")
5797
+ }, toDisplayString(col), 3)
5798
+ ]);
5799
+ }), 128))
5800
+ ]),
5801
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.rows, (row, r) => {
5802
+ return openBlock(), createElementBlock("div", {
5803
+ key: `row-${r}`,
5804
+ class: "tao-heatmap__row",
5805
+ role: "row"
5806
+ }, [
5807
+ createElementVNode("span", _hoisted_3$s, toDisplayString(row), 1),
5808
+ (openBlock(true), createElementBlock(Fragment, null, renderList(grid.value[r], (cell, c) => {
5809
+ return openBlock(), createElementBlock("span", {
5810
+ key: cell.key,
5811
+ class: "tao-heatmap__cell",
5812
+ role: "gridcell",
5813
+ "data-r": r,
5814
+ "data-c": c,
5815
+ tabindex: active.value.r === r && active.value.c === c ? 0 : -1,
5816
+ style: normalizeStyle(__props.cellHeight ? { height: `${__props.cellHeight}px` } : void 0),
5817
+ onPointerenter: ($event) => show(r, c),
5818
+ onFocus: ($event) => {
5819
+ active.value = { r, c };
5820
+ show(r, c);
5821
+ }
5822
+ }, [
5823
+ createElementVNode("span", {
5824
+ class: normalizeClass(["tao-heatmap__fill", levelClass(cell.level)]),
5825
+ style: normalizeStyle(levelStyle(cell.level)),
5826
+ "aria-hidden": "true"
5827
+ }, null, 6),
5828
+ createElementVNode("span", _hoisted_5$k, toDisplayString(cell.text), 1)
5829
+ ], 44, _hoisted_4$p);
5830
+ }), 128))
5831
+ ]);
5832
+ }), 128))
5833
+ ], 46, _hoisted_1$z),
5834
+ tip.value ? (openBlock(), createElementBlock("div", {
5835
+ key: 0,
5836
+ ref_key: "tipRef",
5837
+ ref: tipRef,
5838
+ class: normalizeClass(["tao-heatmap__tip", { "tao-heatmap__tip--shown": tipPlace.value.shown }]),
5839
+ style: normalizeStyle({ left: `${tipPlace.value.left}px`, top: `${tipPlace.value.top}px` }),
5840
+ "aria-hidden": "true"
5841
+ }, [
5842
+ renderSlot(_ctx.$slots, "tip", normalizeProps(guardReactiveProps(tip.value)), () => [
5843
+ createElementVNode("span", _hoisted_6$g, toDisplayString(tip.value.row) + ", " + toDisplayString(tip.value.col), 1),
5844
+ createElementVNode("strong", _hoisted_7$d, toDisplayString(tip.value.text), 1)
5845
+ ], true)
5846
+ ], 6)) : createCommentVNode("", true),
5847
+ createElementVNode("div", {
5848
+ ref_key: "measure",
5849
+ ref: measure,
5850
+ class: "tao-heatmap__measure",
5851
+ "aria-hidden": "true"
5852
+ }, [
5853
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.cols, (col, c) => {
5854
+ return openBlock(), createElementBlock("span", { key: c }, toDisplayString(col), 1);
5855
+ }), 128))
5856
+ ], 512),
5857
+ __props.legend && legendItems.value.length ? (openBlock(), createElementBlock("ul", _hoisted_8$8, [
5858
+ (openBlock(true), createElementBlock(Fragment, null, renderList(legendItems.value, (item) => {
5859
+ return openBlock(), createElementBlock("li", {
5860
+ key: item.level,
5861
+ class: "tao-heatmap__legend-item"
5862
+ }, [
5863
+ createElementVNode("span", {
5864
+ class: normalizeClass(["tao-heatmap__swatch tao-heatmap__fill", levelClass(item.level)]),
5865
+ style: normalizeStyle(levelStyle(item.level))
5866
+ }, null, 6),
5867
+ createTextVNode(" " + toDisplayString(item.text), 1)
5868
+ ]);
5869
+ }), 128))
5870
+ ])) : createCommentVNode("", true)
5871
+ ], 2);
5872
+ };
5873
+ }
5874
+ });
5875
+ const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dad386aa"]]);
5574
5876
  const _hoisted_1$y = { class: "tao-nav__shell" };
5575
5877
  const _hoisted_2$v = ["aria-label"];
5576
5878
  const _hoisted_3$r = { class: "tao-nav__column" };
@@ -5735,7 +6037,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5735
6037
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5736
6038
  ])) : createCommentVNode("", true)
5737
6039
  ]),
5738
- overflowing.value ? (openBlock(), createBlock(_sfc_main$J, {
6040
+ overflowing.value ? (openBlock(), createBlock(_sfc_main$K, {
5739
6041
  key: 0,
5740
6042
  items: moreMenu.value,
5741
6043
  open: moreOpen.value,
@@ -6499,7 +6801,7 @@ const _hoisted_2$q = {
6499
6801
  class: "tao-pin-code__separator",
6500
6802
  "aria-hidden": "true"
6501
6803
  };
6502
- const _hoisted_3$m = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
6804
+ const _hoisted_3$m = ["id", "value", "placeholder", "type", "disabled", "aria-invalid", "inputmode", "pattern", "aria-label", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
6503
6805
  const _hoisted_4$k = {
6504
6806
  key: 0,
6505
6807
  class: "tao-pin-code__separator",
@@ -6754,6 +7056,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6754
7056
  inputmode: __props.numbersOnly ? "numeric" : "text",
6755
7057
  pattern: __props.numbersOnly ? "[0-9]" : void 0,
6756
7058
  autocomplete: "one-time-code",
7059
+ "aria-label": unref(formatText)(unref(l10n).cellLabel ?? unref(localeEn).pinCode.cellLabel, { n: index + 1, count: numbers.value.length }),
6757
7060
  maxlength: index === 0 ? count.value : 1,
6758
7061
  onInput: ($event) => onChange($event, index),
6759
7062
  onPaste: ($event) => onPaste($event, index),
@@ -6769,7 +7072,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6769
7072
  };
6770
7073
  }
6771
7074
  });
6772
- const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-089a9ee0"]]);
7075
+ const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-94bbb076"]]);
6773
7076
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
6774
7077
  ...{ name: "TaoLink" },
6775
7078
  __name: "TaoLink",
@@ -7637,7 +7940,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7637
7940
  const areaText = computed(() => `${Math.round(state.s * 100)}%, ${Math.round(state.v * 100)}%`);
7638
7941
  return (_ctx, _cache) => {
7639
7942
  return openBlock(), createElementBlock("div", {
7640
- class: normalizeClass(["tao-color-picker", [unref(sizeClass)(__props.size), { "tao-color-picker--disabled": __props.disabled }]])
7943
+ class: normalizeClass(["tao-color-picker", [unref(sizeClass)(__props.size), { "tao-color-picker--disabled": __props.disabled }]]),
7944
+ role: "group"
7641
7945
  }, [
7642
7946
  createElementVNode("div", {
7643
7947
  ref_key: "areaRef",
@@ -7663,7 +7967,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7663
7967
  }, null, 4)
7664
7968
  ], 44, _hoisted_1$o),
7665
7969
  createElementVNode("div", _hoisted_2$m, [
7666
- createVNode(_sfc_main$16, {
7970
+ createVNode(_sfc_main$17, {
7667
7971
  modelValue: hueValue.value,
7668
7972
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => hueValue.value = $event),
7669
7973
  class: "tao-color-picker__hue",
@@ -7675,7 +7979,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7675
7979
  "aria-label": unref(l10n).hueLabel,
7676
7980
  onChange: _cache[1] || (_cache[1] = ($event) => emit("change", hex.value))
7677
7981
  }, null, 8, ["modelValue", "disabled", "aria-label"]),
7678
- __props.alpha ? (openBlock(), createBlock(_sfc_main$16, {
7982
+ __props.alpha ? (openBlock(), createBlock(_sfc_main$17, {
7679
7983
  key: 0,
7680
7984
  modelValue: alphaValue.value,
7681
7985
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => alphaValue.value = $event),
@@ -7781,12 +8085,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
7781
8085
  };
7782
8086
  }
7783
8087
  });
7784
- const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-bebf52dc"]]);
8088
+ const TaoColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-54d56769"]]);
7785
8089
  const _hoisted_1$n = ["disabled", "aria-label", "aria-expanded"];
7786
8090
  const _hoisted_2$l = { class: "tao-color-input__swatch" };
7787
8091
  const _hoisted_3$i = { class: "tao-color-input__text" };
7788
8092
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
7789
- ...{ name: "TaoColorInput" },
8093
+ ...{ name: "TaoColorInput", inheritAttrs: false },
7790
8094
  __name: "TaoColorInput",
7791
8095
  props: {
7792
8096
  modelValue: {},
@@ -7803,32 +8107,34 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
7803
8107
  },
7804
8108
  emits: ["update:modelValue", "update:mode", "change"],
7805
8109
  setup(__props, { emit: __emit }) {
8110
+ const { rootAttrs, controlAttrs } = useControlAttrs();
7806
8111
  const props = __props;
7807
8112
  const emit = __emit;
7808
8113
  const l10n = useLocaleText(props, "colorPicker");
7809
8114
  const shown = computed(() => normalizeHex(props.modelValue, props.alpha) ?? props.modelValue);
8115
+ const buttonLabel = (given) => `${typeof given === "string" && given ? given : l10n.value.chooseLabel}: ${shown.value}`;
7810
8116
  return (_ctx, _cache) => {
7811
- return openBlock(), createBlock(TaoPopover, {
8117
+ return openBlock(), createBlock(TaoPopover, mergeProps(unref(rootAttrs)(), {
7812
8118
  placement: __props.placement,
7813
8119
  disabled: __props.disabled,
7814
8120
  class: "tao-color-input-root"
7815
- }, {
8121
+ }), {
7816
8122
  trigger: withCtx(({ open }) => [
7817
- createElementVNode("button", {
8123
+ createElementVNode("button", mergeProps(unref(controlAttrs)(), {
7818
8124
  type: "button",
7819
- class: normalizeClass(["tao-color-input", [unref(sizeClass)(__props.size), { "tao-color-input--open": open, "tao-color-input--invalid": __props.error }]]),
8125
+ class: ["tao-color-input", [unref(sizeClass)(__props.size), { "tao-color-input--open": open, "tao-color-input--invalid": __props.error }]],
7820
8126
  disabled: __props.disabled,
7821
- "aria-label": `${unref(l10n).chooseLabel}: ${shown.value}`,
8127
+ "aria-label": buttonLabel(_ctx.$attrs["aria-label"]),
7822
8128
  "aria-haspopup": "dialog",
7823
8129
  "aria-expanded": open
7824
- }, [
8130
+ }), [
7825
8131
  createElementVNode("span", _hoisted_2$l, [
7826
8132
  createElementVNode("span", {
7827
8133
  style: normalizeStyle({ backgroundColor: shown.value })
7828
8134
  }, null, 4)
7829
8135
  ]),
7830
8136
  createElementVNode("span", _hoisted_3$i, toDisplayString(shown.value), 1)
7831
- ], 10, _hoisted_1$n)
8137
+ ], 16, _hoisted_1$n)
7832
8138
  ]),
7833
8139
  default: withCtx(() => [
7834
8140
  createVNode(TaoColorPicker, {
@@ -7845,11 +8151,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
7845
8151
  }, null, 8, ["model-value", "alpha", "swatches", "modes", "mode", "eyedropper", "size"])
7846
8152
  ]),
7847
8153
  _: 1
7848
- }, 8, ["placement", "disabled"]);
8154
+ }, 16, ["placement", "disabled"]);
7849
8155
  };
7850
8156
  }
7851
8157
  });
7852
- const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-972c1011"]]);
8158
+ const TaoColorInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0df653c0"]]);
7853
8159
  const _hoisted_1$m = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
7854
8160
  const _hoisted_2$k = {
7855
8161
  key: 0,
@@ -7869,6 +8175,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
7869
8175
  clearText: {},
7870
8176
  clearable: { type: Boolean, default: true },
7871
8177
  size: {},
8178
+ variant: { default: "outline" },
7872
8179
  allowCreate: { type: Boolean, default: false }
7873
8180
  },
7874
8181
  emits: ["update:modelValue", "change", "create"],
@@ -8186,6 +8493,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8186
8493
  class: ["tao-combobox", [
8187
8494
  unref(sizeClass)(__props.size),
8188
8495
  {
8496
+ [`tao-combobox--${__props.variant}`]: __props.variant !== "outline",
8189
8497
  "tao-combobox--open": open.value,
8190
8498
  "tao-combobox--invalid": unref(invalid),
8191
8499
  "tao-combobox--disabled": __props.disabled
@@ -8296,7 +8604,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8296
8604
  };
8297
8605
  }
8298
8606
  });
8299
- const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-f83c7ed3"]]);
8607
+ const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0961b3a0"]]);
8300
8608
  const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
8301
8609
  function formatTaoDateIso(parts) {
8302
8610
  return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
@@ -12399,7 +12707,7 @@ const components = [
12399
12707
  TaoSpoilerGroup,
12400
12708
  TaoCopy,
12401
12709
  TaoContainer,
12402
- _sfc_main$_,
12710
+ _sfc_main$$,
12403
12711
  TaoSpace,
12404
12712
  TaoGrid,
12405
12713
  TaoGridItem,
@@ -12415,11 +12723,11 @@ const components = [
12415
12723
  TaoTextarea,
12416
12724
  TaoScrollTop,
12417
12725
  TaoProgress,
12418
- _sfc_main$16,
12419
- _sfc_main$L,
12726
+ _sfc_main$17,
12727
+ _sfc_main$M,
12420
12728
  TaoFileDrop,
12421
12729
  TaoDropdownMenu,
12422
- _sfc_main$J,
12730
+ _sfc_main$K,
12423
12731
  TaoMenubar,
12424
12732
  TaoToolbar,
12425
12733
  TaoToolbarGroup,
@@ -12427,6 +12735,7 @@ const components = [
12427
12735
  TaoSparkline,
12428
12736
  TaoMeter,
12429
12737
  TaoDonut,
12738
+ TaoHeatmap,
12430
12739
  TaoNav,
12431
12740
  TaoTree,
12432
12741
  TaoChecklist,
@@ -12508,10 +12817,11 @@ export {
12508
12817
  TaoEmpty,
12509
12818
  TaoFieldset,
12510
12819
  TaoFileDrop,
12511
- _sfc_main$_ as TaoFlex,
12820
+ _sfc_main$$ as TaoFlex,
12512
12821
  TaoFormField,
12513
12822
  TaoGrid,
12514
12823
  TaoGridItem,
12824
+ TaoHeatmap,
12515
12825
  TaoIcon,
12516
12826
  TaoImage,
12517
12827
  TaoInput,
@@ -12522,7 +12832,7 @@ export {
12522
12832
  TaoListItem,
12523
12833
  TaoLoader,
12524
12834
  TaoMarquee,
12525
- _sfc_main$J as TaoMenu,
12835
+ _sfc_main$K as TaoMenu,
12526
12836
  TaoMenubar,
12527
12837
  TaoMeter,
12528
12838
  TaoModal,
@@ -12534,14 +12844,14 @@ export {
12534
12844
  TaoQuantity,
12535
12845
  TaoRadio,
12536
12846
  TaoRadioGroup,
12537
- _sfc_main$L as TaoRangeSlider,
12847
+ _sfc_main$M as TaoRangeSlider,
12538
12848
  TaoScrollTop,
12539
12849
  TaoScrubber,
12540
12850
  TaoSegmented,
12541
12851
  TaoSegmentedOption,
12542
12852
  TaoSelect,
12543
12853
  TaoSkeleton,
12544
- _sfc_main$16 as TaoSlider,
12854
+ _sfc_main$17 as TaoSlider,
12545
12855
  TaoSpace,
12546
12856
  TaoSparkline,
12547
12857
  TaoSplit,