@1337exp/taoui 5.38.2 → 5.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/README.ru.md +1 -1
- package/dist/index.d.ts +24 -0
- package/dist/index.js +89 -79
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/skills/taoui/references/components.md +3 -1
package/dist/index.js
CHANGED
|
@@ -610,7 +610,7 @@ const _hoisted_2$12 = {
|
|
|
610
610
|
class: "tao-loader__ellipsis",
|
|
611
611
|
"aria-hidden": "true"
|
|
612
612
|
};
|
|
613
|
-
const _hoisted_3$
|
|
613
|
+
const _hoisted_3$U = {
|
|
614
614
|
key: 1,
|
|
615
615
|
class: "tao-loader__ring",
|
|
616
616
|
"aria-hidden": "true"
|
|
@@ -672,7 +672,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
672
672
|
createElementVNode("div", null, null, -1),
|
|
673
673
|
createElementVNode("div", null, null, -1),
|
|
674
674
|
createElementVNode("div", null, null, -1)
|
|
675
|
-
])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
675
|
+
])])) : __props.variant === "ring" ? (openBlock(), createElementBlock("span", _hoisted_3$U)) : __props.variant === "diamonds" ? (openBlock(), createElementBlock("span", _hoisted_4$K, [..._cache[1] || (_cache[1] = [
|
|
676
676
|
createStaticVNode('<span class="tao-loader__axis" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span><span class="tao-loader__axis tao-loader__axis--cross" data-v-03f29efb><i class="tao-loader__swap-left" data-v-03f29efb></i><i class="tao-loader__swap-right" data-v-03f29efb></i><i class="tao-loader__swap-hollow" data-v-03f29efb></i></span>', 2)
|
|
677
677
|
])])) : (openBlock(), createElementBlock("span", _hoisted_5$y)),
|
|
678
678
|
!__props.decorative ? (openBlock(), createElementBlock("span", _hoisted_6$r, toDisplayString(unref(l10n).label), 1)) : createCommentVNode("", true)
|
|
@@ -686,7 +686,7 @@ const _hoisted_2$11 = {
|
|
|
686
686
|
key: 2,
|
|
687
687
|
class: "tao-button__content"
|
|
688
688
|
};
|
|
689
|
-
const _hoisted_3$
|
|
689
|
+
const _hoisted_3$T = {
|
|
690
690
|
key: 4,
|
|
691
691
|
class: "tao-button__shortcut",
|
|
692
692
|
"aria-hidden": "true"
|
|
@@ -782,7 +782,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
782
782
|
class: "tao-button__icon",
|
|
783
783
|
name: __props.iconEnd
|
|
784
784
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
785
|
-
__props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$
|
|
785
|
+
__props.shortcut && !isIconOnly() ? (openBlock(), createElementBlock("kbd", _hoisted_3$T, toDisplayString(__props.shortcut), 1)) : createCommentVNode("", true)
|
|
786
786
|
], 14, _hoisted_1$1a);
|
|
787
787
|
};
|
|
788
788
|
}
|
|
@@ -866,7 +866,7 @@ const _hoisted_1$19 = {
|
|
|
866
866
|
class: "tao-input__affix tao-input__affix--prefix"
|
|
867
867
|
};
|
|
868
868
|
const _hoisted_2$10 = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
|
|
869
|
-
const _hoisted_3$
|
|
869
|
+
const _hoisted_3$S = {
|
|
870
870
|
key: 1,
|
|
871
871
|
class: "tao-input__affix tao-input__affix--suffix"
|
|
872
872
|
};
|
|
@@ -934,7 +934,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
934
934
|
onBlur: handleBlur,
|
|
935
935
|
onFocus: handleFocus
|
|
936
936
|
}), null, 16, _hoisted_2$10),
|
|
937
|
-
has("suffix") ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
937
|
+
has("suffix") ? (openBlock(), createElementBlock("span", _hoisted_3$S, [
|
|
938
938
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
939
939
|
])) : createCommentVNode("", true)
|
|
940
940
|
], 2)
|
|
@@ -948,7 +948,7 @@ const _hoisted_1$18 = {
|
|
|
948
948
|
class: "tao-input-group__addon tao-input-group__addon--before"
|
|
949
949
|
};
|
|
950
950
|
const _hoisted_2$$ = { class: "tao-input-group__field" };
|
|
951
|
-
const _hoisted_3$
|
|
951
|
+
const _hoisted_3$R = {
|
|
952
952
|
key: 1,
|
|
953
953
|
class: "tao-input-group__addon tao-input-group__addon--after"
|
|
954
954
|
};
|
|
@@ -985,7 +985,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
985
985
|
createElementVNode("div", _hoisted_2$$, [
|
|
986
986
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
987
987
|
]),
|
|
988
|
-
has("after") ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
988
|
+
has("after") ? (openBlock(), createElementBlock("div", _hoisted_3$R, [
|
|
989
989
|
renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
990
990
|
])) : createCommentVNode("", true)
|
|
991
991
|
], 34);
|
|
@@ -998,7 +998,7 @@ const _hoisted_2$_ = {
|
|
|
998
998
|
key: 0,
|
|
999
999
|
class: "tao-input-number__steppers"
|
|
1000
1000
|
};
|
|
1001
|
-
const _hoisted_3$
|
|
1001
|
+
const _hoisted_3$Q = ["aria-label", "disabled"];
|
|
1002
1002
|
const _hoisted_4$J = { "aria-hidden": "true" };
|
|
1003
1003
|
const _hoisted_5$x = ["aria-label", "disabled"];
|
|
1004
1004
|
const _hoisted_6$q = { "aria-hidden": "true" };
|
|
@@ -1176,7 +1176,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1176
1176
|
createVNode(TaoIcon, { name: "tao-plus" })
|
|
1177
1177
|
], true)
|
|
1178
1178
|
])
|
|
1179
|
-
], 8, _hoisted_3$
|
|
1179
|
+
], 8, _hoisted_3$Q),
|
|
1180
1180
|
createElementVNode("button", {
|
|
1181
1181
|
type: "button",
|
|
1182
1182
|
class: "tao-input-number__step",
|
|
@@ -1199,7 +1199,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1199
1199
|
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-dc5bb759"]]);
|
|
1200
1200
|
const _hoisted_1$16 = ["aria-label", "disabled"];
|
|
1201
1201
|
const _hoisted_2$Z = { "aria-hidden": "true" };
|
|
1202
|
-
const _hoisted_3$
|
|
1202
|
+
const _hoisted_3$P = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
1203
1203
|
const _hoisted_4$I = ["aria-label", "disabled"];
|
|
1204
1204
|
const _hoisted_5$w = { "aria-hidden": "true" };
|
|
1205
1205
|
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
@@ -1367,7 +1367,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
1367
1367
|
onFocus,
|
|
1368
1368
|
onBlur,
|
|
1369
1369
|
onKeydown: onKeydown2
|
|
1370
|
-
}), null, 16, _hoisted_3$
|
|
1370
|
+
}), null, 16, _hoisted_3$P),
|
|
1371
1371
|
createElementVNode("button", {
|
|
1372
1372
|
type: "button",
|
|
1373
1373
|
class: "tao-quantity__btn tao-quantity__btn--inc",
|
|
@@ -1394,7 +1394,7 @@ const _hoisted_2$Y = {
|
|
|
1394
1394
|
key: 0,
|
|
1395
1395
|
class: "tao-card__overlay"
|
|
1396
1396
|
};
|
|
1397
|
-
const _hoisted_3$
|
|
1397
|
+
const _hoisted_3$O = {
|
|
1398
1398
|
key: 1,
|
|
1399
1399
|
class: "tao-card__overlay"
|
|
1400
1400
|
};
|
|
@@ -1486,7 +1486,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1486
1486
|
_ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_2$Y, [
|
|
1487
1487
|
renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
|
|
1488
1488
|
])) : createCommentVNode("", true)
|
|
1489
|
-
])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1489
|
+
])) : _ctx.$slots.overlay ? (openBlock(), createElementBlock("div", _hoisted_3$O, [
|
|
1490
1490
|
renderSlot(_ctx.$slots, "overlay", {}, void 0, true)
|
|
1491
1491
|
])) : createCommentVNode("", true),
|
|
1492
1492
|
hasContent.value ? (openBlock(), createElementBlock("div", {
|
|
@@ -1712,7 +1712,7 @@ const _hoisted_2$X = {
|
|
|
1712
1712
|
key: 0,
|
|
1713
1713
|
class: "tao-modal__header"
|
|
1714
1714
|
};
|
|
1715
|
-
const _hoisted_3$
|
|
1715
|
+
const _hoisted_3$N = ["id"];
|
|
1716
1716
|
const _hoisted_4$G = { key: 1 };
|
|
1717
1717
|
const _hoisted_5$u = ["aria-label"];
|
|
1718
1718
|
const _hoisted_6$o = { "aria-hidden": "true" };
|
|
@@ -1812,7 +1812,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
1812
1812
|
key: 0,
|
|
1813
1813
|
id: unref(titleId),
|
|
1814
1814
|
class: "tao-modal__title"
|
|
1815
|
-
}, toDisplayString(__props.title), 9, _hoisted_3$
|
|
1815
|
+
}, toDisplayString(__props.title), 9, _hoisted_3$N)) : (openBlock(), createElementBlock("span", _hoisted_4$G))
|
|
1816
1816
|
], true),
|
|
1817
1817
|
__props.closable ? (openBlock(), createElementBlock("button", {
|
|
1818
1818
|
key: 0,
|
|
@@ -2471,7 +2471,7 @@ function zoneGradient(zones, min, max, vertical = false, dimmed = false) {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
const _hoisted_1$12 = ["aria-disabled"];
|
|
2473
2473
|
const _hoisted_2$V = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "aria-orientation", "aria-disabled", "aria-invalid", "aria-describedby", "aria-keyshortcuts", "onKeydown"];
|
|
2474
|
-
const _hoisted_3$
|
|
2474
|
+
const _hoisted_3$M = {
|
|
2475
2475
|
key: 2,
|
|
2476
2476
|
class: "tao-slider__value"
|
|
2477
2477
|
};
|
|
@@ -2831,7 +2831,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
2831
2831
|
], 6)) : createCommentVNode("", true)
|
|
2832
2832
|
], 64);
|
|
2833
2833
|
}), 128)),
|
|
2834
|
-
__props.showValue && editing.value === null ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2834
|
+
__props.showValue && editing.value === null ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
|
|
2835
2835
|
renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
|
|
2836
2836
|
createTextVNode(toDisplayString(barText.value), 1),
|
|
2837
2837
|
renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
|
|
@@ -2966,7 +2966,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
2966
2966
|
});
|
|
2967
2967
|
const _hoisted_1$11 = { class: "tao-scrubber__controls" };
|
|
2968
2968
|
const _hoisted_2$U = { class: "tao-scrubber__track" };
|
|
2969
|
-
const _hoisted_3$
|
|
2969
|
+
const _hoisted_3$L = {
|
|
2970
2970
|
key: 0,
|
|
2971
2971
|
class: "tao-scrubber__time"
|
|
2972
2972
|
};
|
|
@@ -3064,7 +3064,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3064
3064
|
} : void 0
|
|
3065
3065
|
]), 1032, ["model-value", "max", "step", "marks", "marks-side", "variant", "size", "disabled"])
|
|
3066
3066
|
]),
|
|
3067
|
-
__props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3067
|
+
__props.showTime ? (openBlock(), createElementBlock("div", _hoisted_3$L, [
|
|
3068
3068
|
renderSlot(_ctx.$slots, "time", {
|
|
3069
3069
|
time: __props.modelValue,
|
|
3070
3070
|
length: __props.length,
|
|
@@ -3424,7 +3424,7 @@ const _hoisted_2$T = {
|
|
|
3424
3424
|
key: 0,
|
|
3425
3425
|
class: "tao-spoiler__title"
|
|
3426
3426
|
};
|
|
3427
|
-
const _hoisted_3$
|
|
3427
|
+
const _hoisted_3$K = ["id"];
|
|
3428
3428
|
const _hoisted_4$E = { class: "tao-spoiler__content-inner" };
|
|
3429
3429
|
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
3430
3430
|
...{ name: "TaoSpoiler" },
|
|
@@ -3522,7 +3522,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
3522
3522
|
createElementVNode("div", _hoisted_4$E, [
|
|
3523
3523
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3524
3524
|
])
|
|
3525
|
-
], 8, _hoisted_3$
|
|
3525
|
+
], 8, _hoisted_3$K)) : createCommentVNode("", true)
|
|
3526
3526
|
]),
|
|
3527
3527
|
_: 3
|
|
3528
3528
|
})
|
|
@@ -3861,7 +3861,7 @@ const _hoisted_2$S = {
|
|
|
3861
3861
|
class: "tao-tour__dim",
|
|
3862
3862
|
"aria-hidden": "true"
|
|
3863
3863
|
};
|
|
3864
|
-
const _hoisted_3$
|
|
3864
|
+
const _hoisted_3$J = ["aria-labelledby", "aria-describedby"];
|
|
3865
3865
|
const _hoisted_4$D = ["id"];
|
|
3866
3866
|
const _hoisted_5$s = ["id"];
|
|
3867
3867
|
const _hoisted_6$m = { class: "tao-tour__footer" };
|
|
@@ -4126,7 +4126,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
4126
4126
|
})
|
|
4127
4127
|
])
|
|
4128
4128
|
])
|
|
4129
|
-
], 46, _hoisted_3$
|
|
4129
|
+
], 46, _hoisted_3$J)
|
|
4130
4130
|
])) : createCommentVNode("", true)
|
|
4131
4131
|
]);
|
|
4132
4132
|
};
|
|
@@ -4296,7 +4296,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4296
4296
|
const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-d42e5e67"]]);
|
|
4297
4297
|
const _hoisted_1$W = { class: "tao-split__pane tao-split__pane--start" };
|
|
4298
4298
|
const _hoisted_2$R = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
|
|
4299
|
-
const _hoisted_3$
|
|
4299
|
+
const _hoisted_3$I = { class: "tao-split__pane tao-split__pane--end" };
|
|
4300
4300
|
const _hoisted_4$C = {
|
|
4301
4301
|
key: 0,
|
|
4302
4302
|
class: "tao-split__shield"
|
|
@@ -4622,7 +4622,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4622
4622
|
onDragstart: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
4623
4623
|
}, ["prevent"]))
|
|
4624
4624
|
}, null, 40, _hoisted_2$R),
|
|
4625
|
-
createElementVNode("div", _hoisted_3$
|
|
4625
|
+
createElementVNode("div", _hoisted_3$I, [
|
|
4626
4626
|
renderSlot(_ctx.$slots, "end", {}, void 0, true)
|
|
4627
4627
|
]),
|
|
4628
4628
|
isDragging.value ? (openBlock(), createElementBlock("div", _hoisted_4$C)) : createCommentVNode("", true)
|
|
@@ -4633,7 +4633,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4633
4633
|
const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-316b0d45"]]);
|
|
4634
4634
|
const _hoisted_1$V = { class: "tao-image" };
|
|
4635
4635
|
const _hoisted_2$Q = ["src", "alt", "loading"];
|
|
4636
|
-
const _hoisted_3$
|
|
4636
|
+
const _hoisted_3$H = { class: "tao-image__placeholder" };
|
|
4637
4637
|
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
4638
4638
|
...{ name: "TaoImage" },
|
|
4639
4639
|
__name: "TaoImage",
|
|
@@ -4678,7 +4678,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4678
4678
|
onError: handleError
|
|
4679
4679
|
}, null, 42, _hoisted_2$Q)) : createCommentVNode("", true),
|
|
4680
4680
|
!__props.src || hasError.value ? renderSlot(_ctx.$slots, "default", {}, () => [
|
|
4681
|
-
createElementVNode("div", _hoisted_3$
|
|
4681
|
+
createElementVNode("div", _hoisted_3$H, toDisplayString(__props.placeholderText), 1)
|
|
4682
4682
|
], true, 1) : createCommentVNode("", true)
|
|
4683
4683
|
]);
|
|
4684
4684
|
};
|
|
@@ -4687,7 +4687,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4687
4687
|
const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-61f47c52"]]);
|
|
4688
4688
|
const _hoisted_1$U = ["for"];
|
|
4689
4689
|
const _hoisted_2$P = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
|
|
4690
|
-
const _hoisted_3$
|
|
4690
|
+
const _hoisted_3$G = {
|
|
4691
4691
|
key: 0,
|
|
4692
4692
|
class: "tao-checkbox__label"
|
|
4693
4693
|
};
|
|
@@ -4768,7 +4768,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4768
4768
|
onChange: onInputChange
|
|
4769
4769
|
}), null, 16, _hoisted_2$P),
|
|
4770
4770
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
|
|
4771
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4771
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_3$G, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$B, [
|
|
4772
4772
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
4773
4773
|
])),
|
|
4774
4774
|
renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
|
|
@@ -4782,7 +4782,7 @@ const _hoisted_1$T = {
|
|
|
4782
4782
|
class: "tao-tag__prefix"
|
|
4783
4783
|
};
|
|
4784
4784
|
const _hoisted_2$O = { class: "tao-tag__text" };
|
|
4785
|
-
const _hoisted_3$
|
|
4785
|
+
const _hoisted_3$F = ["aria-label"];
|
|
4786
4786
|
const _hoisted_4$A = { "aria-hidden": "true" };
|
|
4787
4787
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
4788
4788
|
...{ name: "TaoTag" },
|
|
@@ -4845,7 +4845,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
4845
4845
|
createVNode(TaoIcon, { name: "tao-close" })
|
|
4846
4846
|
], true)
|
|
4847
4847
|
])
|
|
4848
|
-
], 8, _hoisted_3$
|
|
4848
|
+
], 8, _hoisted_3$F)) : createCommentVNode("", true)
|
|
4849
4849
|
], 6);
|
|
4850
4850
|
};
|
|
4851
4851
|
}
|
|
@@ -4856,7 +4856,7 @@ const _hoisted_2$N = {
|
|
|
4856
4856
|
key: 1,
|
|
4857
4857
|
class: "tao-divider__text"
|
|
4858
4858
|
};
|
|
4859
|
-
const _hoisted_3$
|
|
4859
|
+
const _hoisted_3$E = {
|
|
4860
4860
|
key: 2,
|
|
4861
4861
|
class: "tao-divider__line tao-divider__line--end"
|
|
4862
4862
|
};
|
|
@@ -4897,7 +4897,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
4897
4897
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
4898
4898
|
], true)
|
|
4899
4899
|
])) : createCommentVNode("", true),
|
|
4900
|
-
__props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4900
|
+
__props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$E)) : createCommentVNode("", true)
|
|
4901
4901
|
], 10, _hoisted_1$S);
|
|
4902
4902
|
};
|
|
4903
4903
|
}
|
|
@@ -5132,7 +5132,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
5132
5132
|
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-9aaf7131"]]);
|
|
5133
5133
|
const _hoisted_1$P = ["aria-label"];
|
|
5134
5134
|
const _hoisted_2$K = { class: "tao-scroll-top__content" };
|
|
5135
|
-
const _hoisted_3$
|
|
5135
|
+
const _hoisted_3$D = {
|
|
5136
5136
|
key: 0,
|
|
5137
5137
|
class: "tao-scroll-top__text",
|
|
5138
5138
|
"aria-hidden": "true"
|
|
@@ -5233,7 +5233,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
5233
5233
|
onClick: withModifiers(goToTop, ["prevent"])
|
|
5234
5234
|
}), [
|
|
5235
5235
|
createElementVNode("span", _hoisted_2$K, [
|
|
5236
|
-
isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
5236
|
+
isText.value && caption.value ? (openBlock(), createElementBlock("span", _hoisted_3$D, toDisplayString(caption.value), 1)) : createCommentVNode("", true),
|
|
5237
5237
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5238
5238
|
createVNode(TaoIcon, {
|
|
5239
5239
|
class: "tao-scroll-top__icon",
|
|
@@ -5261,7 +5261,7 @@ const _hoisted_2$J = {
|
|
|
5261
5261
|
key: 0,
|
|
5262
5262
|
class: "tao-progress__side"
|
|
5263
5263
|
};
|
|
5264
|
-
const _hoisted_3$
|
|
5264
|
+
const _hoisted_3$C = { class: "tao-progress__main" };
|
|
5265
5265
|
const _hoisted_4$z = {
|
|
5266
5266
|
key: 0,
|
|
5267
5267
|
class: "tao-progress__percentage"
|
|
@@ -5312,7 +5312,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5312
5312
|
has("left") ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
|
|
5313
5313
|
renderSlot(_ctx.$slots, "left", {}, void 0, true)
|
|
5314
5314
|
])) : createCommentVNode("", true),
|
|
5315
|
-
createElementVNode("div", _hoisted_3$
|
|
5315
|
+
createElementVNode("div", _hoisted_3$C, [
|
|
5316
5316
|
showOverPercent.value ? (openBlock(), createElementBlock("span", _hoisted_4$z, toDisplayString(__props.progress) + "%", 1)) : createCommentVNode("", true),
|
|
5317
5317
|
createElementVNode("div", {
|
|
5318
5318
|
class: "tao-progress__track",
|
|
@@ -5431,7 +5431,7 @@ function partitionByAccept(files, accept) {
|
|
|
5431
5431
|
}
|
|
5432
5432
|
const _hoisted_1$N = { class: "tao-file-drop__row" };
|
|
5433
5433
|
const _hoisted_2$I = ["aria-label"];
|
|
5434
|
-
const _hoisted_3$
|
|
5434
|
+
const _hoisted_3$B = { "aria-hidden": "true" };
|
|
5435
5435
|
const _hoisted_4$y = ["accept", "multiple"];
|
|
5436
5436
|
const _hoisted_5$q = {
|
|
5437
5437
|
key: 0,
|
|
@@ -5567,7 +5567,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5567
5567
|
"aria-label": unref(l10n).clearLabel,
|
|
5568
5568
|
onClick: requestClear
|
|
5569
5569
|
}, [
|
|
5570
|
-
createElementVNode("span", _hoisted_3$
|
|
5570
|
+
createElementVNode("span", _hoisted_3$B, [
|
|
5571
5571
|
renderSlot(_ctx.$slots, "clear-icon", {}, () => [
|
|
5572
5572
|
createVNode(TaoIcon, { name: "tao-close" })
|
|
5573
5573
|
], true)
|
|
@@ -5714,7 +5714,7 @@ const _hoisted_2$H = {
|
|
|
5714
5714
|
class: "tao-menu__separator",
|
|
5715
5715
|
role: "separator"
|
|
5716
5716
|
};
|
|
5717
|
-
const _hoisted_3$
|
|
5717
|
+
const _hoisted_3$A = {
|
|
5718
5718
|
key: 1,
|
|
5719
5719
|
class: "tao-menu__label",
|
|
5720
5720
|
role: "presentation"
|
|
@@ -5913,7 +5913,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5913
5913
|
return openBlock(), createElementBlock(Fragment, {
|
|
5914
5914
|
key: "id" in item ? item.id : `${item.type}-${index}`
|
|
5915
5915
|
}, [
|
|
5916
|
-
item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$H)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5916
|
+
item.type === "separator" ? (openBlock(), createElementBlock("div", _hoisted_2$H)) : item.type === "label" ? (openBlock(), createElementBlock("div", _hoisted_3$A, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
5917
5917
|
createElementVNode("div", {
|
|
5918
5918
|
id: itemId(index),
|
|
5919
5919
|
ref_for: true,
|
|
@@ -5973,7 +5973,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5973
5973
|
});
|
|
5974
5974
|
const _hoisted_1$L = { class: "tao-dropdown-menu" };
|
|
5975
5975
|
const _hoisted_2$G = ["tabindex", "aria-expanded", "aria-label"];
|
|
5976
|
-
const _hoisted_3$
|
|
5976
|
+
const _hoisted_3$z = {
|
|
5977
5977
|
key: 1,
|
|
5978
5978
|
"aria-hidden": "true"
|
|
5979
5979
|
};
|
|
@@ -6024,7 +6024,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6024
6024
|
onClick: toggleMenu,
|
|
6025
6025
|
onKeydown: onTriggerKeydown
|
|
6026
6026
|
}, [
|
|
6027
|
-
_ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$
|
|
6027
|
+
_ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (openBlock(), createElementBlock("span", _hoisted_3$z, [
|
|
6028
6028
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
6029
6029
|
createVNode(TaoIcon, { name: "tao-more-vertical" })
|
|
6030
6030
|
], true)
|
|
@@ -6374,7 +6374,7 @@ function isTextField(el) {
|
|
|
6374
6374
|
}
|
|
6375
6375
|
const _hoisted_1$J = ["aria-label", "aria-orientation"];
|
|
6376
6376
|
const _hoisted_2$E = ["data-tao-away"];
|
|
6377
|
-
const _hoisted_3$
|
|
6377
|
+
const _hoisted_3$y = ["aria-label"];
|
|
6378
6378
|
const _hoisted_4$w = ["aria-label"];
|
|
6379
6379
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
6380
6380
|
...{ name: "TaoToolbar" },
|
|
@@ -6750,7 +6750,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6750
6750
|
onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
|
|
6751
6751
|
(...args) => unref(menu).onKeydown && unref(menu).onKeydown(...args))
|
|
6752
6752
|
}, null, 40, _hoisted_4$w)
|
|
6753
|
-
], 14, _hoisted_3$
|
|
6753
|
+
], 14, _hoisted_3$y)) : createCommentVNode("", true)
|
|
6754
6754
|
])) : createCommentVNode("", true)
|
|
6755
6755
|
], 46, _hoisted_1$J);
|
|
6756
6756
|
};
|
|
@@ -6759,7 +6759,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6759
6759
|
const TaoToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-cdccb5ab"]]);
|
|
6760
6760
|
const _hoisted_1$I = ["aria-label"];
|
|
6761
6761
|
const _hoisted_2$D = ["data-tao-away", "hidden"];
|
|
6762
|
-
const _hoisted_3$
|
|
6762
|
+
const _hoisted_3$x = ["aria-label"];
|
|
6763
6763
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
6764
6764
|
...{ name: "TaoToolbarGroup", inheritAttrs: false },
|
|
6765
6765
|
__name: "TaoToolbarGroup",
|
|
@@ -6816,7 +6816,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
6816
6816
|
"aria-label": __props.label
|
|
6817
6817
|
}, _ctx.$attrs), [
|
|
6818
6818
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6819
|
-
], 16, _hoisted_3$
|
|
6819
|
+
], 16, _hoisted_3$x)
|
|
6820
6820
|
], 8, ["to", "disabled"]))
|
|
6821
6821
|
], 8, _hoisted_2$D));
|
|
6822
6822
|
};
|
|
@@ -7036,7 +7036,7 @@ const _hoisted_2$C = {
|
|
|
7036
7036
|
preserveAspectRatio: "none",
|
|
7037
7037
|
"aria-hidden": "true"
|
|
7038
7038
|
};
|
|
7039
|
-
const _hoisted_3$
|
|
7039
|
+
const _hoisted_3$w = ["d"];
|
|
7040
7040
|
const _hoisted_4$v = ["d"];
|
|
7041
7041
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
7042
7042
|
...{ name: "TaoSparkline" },
|
|
@@ -7075,7 +7075,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
7075
7075
|
key: 0,
|
|
7076
7076
|
class: "tao-sparkline__area",
|
|
7077
7077
|
d: fill.value
|
|
7078
|
-
}, null, 8, _hoisted_3$
|
|
7078
|
+
}, null, 8, _hoisted_3$w)) : createCommentVNode("", true),
|
|
7079
7079
|
createElementVNode("path", {
|
|
7080
7080
|
class: "tao-sparkline__line",
|
|
7081
7081
|
d: line.value
|
|
@@ -7098,7 +7098,7 @@ const _hoisted_2$B = {
|
|
|
7098
7098
|
class: "tao-meter__head",
|
|
7099
7099
|
"aria-hidden": "true"
|
|
7100
7100
|
};
|
|
7101
|
-
const _hoisted_3$
|
|
7101
|
+
const _hoisted_3$v = { class: "tao-meter__label" };
|
|
7102
7102
|
const _hoisted_4$u = {
|
|
7103
7103
|
key: 0,
|
|
7104
7104
|
class: "tao-meter__value"
|
|
@@ -7139,7 +7139,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
7139
7139
|
"aria-label": __props.label
|
|
7140
7140
|
}, [
|
|
7141
7141
|
__props.label || shown.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
7142
|
-
createElementVNode("span", _hoisted_3$
|
|
7142
|
+
createElementVNode("span", _hoisted_3$v, toDisplayString(__props.label), 1),
|
|
7143
7143
|
shown.value ? (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(shown.value), 1)) : createCommentVNode("", true)
|
|
7144
7144
|
])) : createCommentVNode("", true),
|
|
7145
7145
|
createElementVNode("div", _hoisted_5$o, [
|
|
@@ -7155,7 +7155,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
7155
7155
|
const TaoMeter = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-17e24a8e"]]);
|
|
7156
7156
|
const _hoisted_1$E = ["aria-label"];
|
|
7157
7157
|
const _hoisted_2$A = ["viewBox", "width", "height"];
|
|
7158
|
-
const _hoisted_3$
|
|
7158
|
+
const _hoisted_3$u = ["cx", "cy", "r", "stroke-width"];
|
|
7159
7159
|
const _hoisted_4$t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"];
|
|
7160
7160
|
const _hoisted_5$n = {
|
|
7161
7161
|
key: 0,
|
|
@@ -7232,7 +7232,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7232
7232
|
cy: centre.value,
|
|
7233
7233
|
r: radius.value,
|
|
7234
7234
|
"stroke-width": __props.thickness
|
|
7235
|
-
}, null, 8, _hoisted_3$
|
|
7235
|
+
}, null, 8, _hoisted_3$u),
|
|
7236
7236
|
(openBlock(true), createElementBlock(Fragment, null, renderList(arcs.value, (arc) => {
|
|
7237
7237
|
return withDirectives((openBlock(), createElementBlock("circle", {
|
|
7238
7238
|
key: arc.key,
|
|
@@ -7280,7 +7280,7 @@ const _hoisted_2$z = {
|
|
|
7280
7280
|
class: "tao-heatmap__row tao-heatmap__head",
|
|
7281
7281
|
role: "row"
|
|
7282
7282
|
};
|
|
7283
|
-
const _hoisted_3$
|
|
7283
|
+
const _hoisted_3$t = {
|
|
7284
7284
|
class: "tao-heatmap__name",
|
|
7285
7285
|
role: "rowheader"
|
|
7286
7286
|
};
|
|
@@ -7468,7 +7468,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7468
7468
|
class: "tao-heatmap__row",
|
|
7469
7469
|
role: "row"
|
|
7470
7470
|
}, [
|
|
7471
|
-
createElementVNode("span", _hoisted_3$
|
|
7471
|
+
createElementVNode("span", _hoisted_3$t, toDisplayString(row), 1),
|
|
7472
7472
|
(openBlock(true), createElementBlock(Fragment, null, renderList(grid.value[r], (cell, c) => {
|
|
7473
7473
|
return openBlock(), createElementBlock("span", {
|
|
7474
7474
|
key: cell.key,
|
|
@@ -7539,7 +7539,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7539
7539
|
const TaoHeatmap = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-496996ae"]]);
|
|
7540
7540
|
const _hoisted_1$C = { class: "tao-nav__shell" };
|
|
7541
7541
|
const _hoisted_2$y = ["aria-label"];
|
|
7542
|
-
const _hoisted_3$
|
|
7542
|
+
const _hoisted_3$s = { class: "tao-nav__column" };
|
|
7543
7543
|
const _hoisted_4$r = {
|
|
7544
7544
|
key: 0,
|
|
7545
7545
|
class: "tao-nav__action"
|
|
@@ -7638,7 +7638,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7638
7638
|
class: normalizeClass(["tao-nav__panel", unref(surfaceClass)(__props.surface)]),
|
|
7639
7639
|
"aria-label": unref(l10n).ariaLabel
|
|
7640
7640
|
}, [
|
|
7641
|
-
createElementVNode("div", _hoisted_3$
|
|
7641
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
7642
7642
|
has("action") ? (openBlock(), createElementBlock("div", _hoisted_4$r, [
|
|
7643
7643
|
renderSlot(_ctx.$slots, "action", {}, void 0, true)
|
|
7644
7644
|
])) : createCommentVNode("", true),
|
|
@@ -7777,7 +7777,7 @@ function toggleCheck(node, checked2, children) {
|
|
|
7777
7777
|
}
|
|
7778
7778
|
const _hoisted_1$B = ["aria-label", "aria-multiselectable"];
|
|
7779
7779
|
const _hoisted_2$x = ["id", "tabindex", "aria-level", "aria-setsize", "aria-posinset", "aria-expanded", "aria-selected", "aria-checked", "aria-disabled", "aria-busy", "onKeydown", "onClick", "onFocus"];
|
|
7780
|
-
const _hoisted_3$
|
|
7780
|
+
const _hoisted_3$r = ["onClick"];
|
|
7781
7781
|
const _hoisted_4$q = ["title"];
|
|
7782
7782
|
const _hoisted_5$k = ["onClick"];
|
|
7783
7783
|
const _hoisted_6$f = {
|
|
@@ -8060,7 +8060,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
8060
8060
|
key: 1,
|
|
8061
8061
|
name: "tao-chevron-right"
|
|
8062
8062
|
})) : createCommentVNode("", true)
|
|
8063
|
-
], 10, _hoisted_3$
|
|
8063
|
+
], 10, _hoisted_3$r),
|
|
8064
8064
|
__props.checkable ? (openBlock(), createElementBlock("span", {
|
|
8065
8065
|
key: 0,
|
|
8066
8066
|
class: normalizeClass(["tao-tree__check", `tao-tree__check--${stateOf(row)}`]),
|
|
@@ -8101,7 +8101,7 @@ const _hoisted_2$w = {
|
|
|
8101
8101
|
key: 0,
|
|
8102
8102
|
class: "tao-checklist__legend"
|
|
8103
8103
|
};
|
|
8104
|
-
const _hoisted_3$
|
|
8104
|
+
const _hoisted_3$q = { key: 0 };
|
|
8105
8105
|
const _hoisted_4$p = {
|
|
8106
8106
|
key: 1,
|
|
8107
8107
|
class: "tao-checklist__counter",
|
|
@@ -8179,7 +8179,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
8179
8179
|
"aria-labelledby": labelledBy.value
|
|
8180
8180
|
}, [
|
|
8181
8181
|
__props.legend || __props.counter ? (openBlock(), createElementBlock("legend", _hoisted_2$w, [
|
|
8182
|
-
__props.legend ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
8182
|
+
__props.legend ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString(__props.legend), 1)) : createCommentVNode("", true),
|
|
8183
8183
|
__props.counter ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(unref(formatText)(unref(l10n).counterText, { checked: checkedCount.value, total: __props.items.length })), 1)) : createCommentVNode("", true)
|
|
8184
8184
|
])) : createCommentVNode("", true),
|
|
8185
8185
|
__props.selectAll ? (openBlock(), createBlock(TaoCheckbox, {
|
|
@@ -8238,7 +8238,7 @@ const _hoisted_2$v = {
|
|
|
8238
8238
|
class: "tao-timeline__rail",
|
|
8239
8239
|
"aria-hidden": "true"
|
|
8240
8240
|
};
|
|
8241
|
-
const _hoisted_3$
|
|
8241
|
+
const _hoisted_3$p = {
|
|
8242
8242
|
key: 0,
|
|
8243
8243
|
class: "tao-timeline__line"
|
|
8244
8244
|
};
|
|
@@ -8286,7 +8286,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8286
8286
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
8287
8287
|
], true)
|
|
8288
8288
|
], 2),
|
|
8289
|
-
index < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
8289
|
+
index < __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_3$p)) : createCommentVNode("", true)
|
|
8290
8290
|
]),
|
|
8291
8291
|
createElementVNode("div", _hoisted_4$o, [
|
|
8292
8292
|
item.time ? (openBlock(), createElementBlock("time", {
|
|
@@ -8311,12 +8311,6 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
8311
8311
|
const TaoTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-48847c47"]]);
|
|
8312
8312
|
const _hoisted_1$y = ["tabindex", "aria-hidden", "inert"];
|
|
8313
8313
|
const _hoisted_2$u = { class: "tao-marquee__item" };
|
|
8314
|
-
const _hoisted_3$p = {
|
|
8315
|
-
key: 0,
|
|
8316
|
-
class: "tao-marquee__item",
|
|
8317
|
-
"aria-hidden": "true",
|
|
8318
|
-
inert: ""
|
|
8319
|
-
};
|
|
8320
8314
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
8321
8315
|
...{ name: "TaoMarquee" },
|
|
8322
8316
|
__name: "TaoMarquee",
|
|
@@ -8328,7 +8322,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8328
8322
|
pauseOnHover: { type: Boolean, default: true },
|
|
8329
8323
|
roundPause: { type: Boolean, default: void 0 },
|
|
8330
8324
|
decorative: { type: Boolean, default: false },
|
|
8331
|
-
paused: { type: Boolean, default: false }
|
|
8325
|
+
paused: { type: Boolean, default: false },
|
|
8326
|
+
fill: { type: Boolean, default: false },
|
|
8327
|
+
reverse: { type: Boolean, default: false }
|
|
8332
8328
|
},
|
|
8333
8329
|
setup(__props, { expose: __expose }) {
|
|
8334
8330
|
const props = __props;
|
|
@@ -8343,10 +8339,15 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8343
8339
|
let observer = null;
|
|
8344
8340
|
let motionQuery = null;
|
|
8345
8341
|
const overflowing = computed(() => itemWidth.value > boxWidth.value + 1);
|
|
8346
|
-
const running = computed(() => overflowing.value && !reduce.value);
|
|
8342
|
+
const running = computed(() => (overflowing.value || props.fill && itemWidth.value > 0) && !reduce.value);
|
|
8347
8343
|
const wrapping = computed(() => overflowing.value && reduce.value && !props.decorative);
|
|
8348
8344
|
const restAtStart = computed(() => props.roundPause ?? !props.decorative);
|
|
8349
8345
|
const stopped = computed(() => props.paused || tapped.value);
|
|
8346
|
+
const copies = computed(() => {
|
|
8347
|
+
if (!running.value) return 1;
|
|
8348
|
+
if (overflowing.value) return 2;
|
|
8349
|
+
return Math.min(100, Math.ceil(boxWidth.value / (itemWidth.value + props.gap)) + 1);
|
|
8350
|
+
});
|
|
8350
8351
|
const trackStyle = computed(() => {
|
|
8351
8352
|
const shift = itemWidth.value + props.gap;
|
|
8352
8353
|
return {
|
|
@@ -8383,6 +8384,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8383
8384
|
if (box.value && "ResizeObserver" in window) {
|
|
8384
8385
|
observer = new ResizeObserver(measure);
|
|
8385
8386
|
observer.observe(box.value);
|
|
8387
|
+
if (meter.value) observer.observe(meter.value);
|
|
8386
8388
|
}
|
|
8387
8389
|
});
|
|
8388
8390
|
watch(
|
|
@@ -8408,7 +8410,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8408
8410
|
"tao-marquee--stopped": stopped.value,
|
|
8409
8411
|
"tao-marquee--hover-pause": __props.pauseOnHover && !__props.decorative,
|
|
8410
8412
|
"tao-marquee--seamless": !restAtStart.value,
|
|
8411
|
-
"tao-marquee--ghost": __props.decorative
|
|
8413
|
+
"tao-marquee--ghost": __props.decorative,
|
|
8414
|
+
"tao-marquee--reverse": __props.reverse
|
|
8412
8415
|
}]),
|
|
8413
8416
|
style: normalizeStyle({ "--_fade": `${__props.fade}px` }),
|
|
8414
8417
|
tabindex: running.value && !__props.decorative ? 0 : void 0,
|
|
@@ -8436,17 +8439,24 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
8436
8439
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
8437
8440
|
], 64))
|
|
8438
8441
|
]),
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8442
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(copies.value - 1, (n) => {
|
|
8443
|
+
return openBlock(), createElementBlock("span", {
|
|
8444
|
+
key: n,
|
|
8445
|
+
class: "tao-marquee__item",
|
|
8446
|
+
"aria-hidden": "true",
|
|
8447
|
+
inert: ""
|
|
8448
|
+
}, [
|
|
8449
|
+
hasSlot.value ? renderSlot(_ctx.$slots, "default", {}, void 0, true, 0) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
8450
|
+
createTextVNode(toDisplayString(__props.text), 1)
|
|
8451
|
+
], 64))
|
|
8452
|
+
]);
|
|
8453
|
+
}), 128))
|
|
8444
8454
|
], 4)
|
|
8445
8455
|
], 46, _hoisted_1$y);
|
|
8446
8456
|
};
|
|
8447
8457
|
}
|
|
8448
8458
|
});
|
|
8449
|
-
const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
8459
|
+
const TaoMarquee = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-0b681cd1"]]);
|
|
8450
8460
|
const PIN_CELL = "#";
|
|
8451
8461
|
function parsePinFormat(format) {
|
|
8452
8462
|
const mask = [...format];
|