@1337exp/taoui 1.7.0 → 1.9.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/README.md +6 -1
- package/README.ru.md +6 -1
- package/dist/index.cjs +124 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +398 -271
- package/dist/index.mjs +124 -52
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +113 -40
- package/package.json +1 -1
- package/src/styles/primitives.css +3 -0
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ const _hoisted_3$B = {
|
|
|
9
9
|
class: "tao-button__icon"
|
|
10
10
|
};
|
|
11
11
|
const _hoisted_4$v = { class: "tao-button__content" };
|
|
12
|
-
const _sfc_main$
|
|
12
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
13
13
|
...{ name: "TaoButton" },
|
|
14
14
|
__name: "TaoButton",
|
|
15
15
|
props: {
|
|
@@ -64,8 +64,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
64
64
|
}
|
|
65
65
|
return target;
|
|
66
66
|
};
|
|
67
|
-
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
68
|
-
const _sfc_main$
|
|
67
|
+
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-c3034f66"]]);
|
|
68
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
69
69
|
...{ name: "TaoBlock" },
|
|
70
70
|
__name: "TaoBlock",
|
|
71
71
|
props: {
|
|
@@ -97,7 +97,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
-
const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
100
|
+
const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-feb87e36"]]);
|
|
101
101
|
const formFieldKey = Symbol("taoFormField");
|
|
102
102
|
const _hoisted_1$O = { class: "tao-input-wrapper" };
|
|
103
103
|
const _hoisted_2$H = ["for"];
|
|
@@ -114,7 +114,7 @@ const _hoisted_6$h = {
|
|
|
114
114
|
key: 1,
|
|
115
115
|
class: "tao-input__error"
|
|
116
116
|
};
|
|
117
|
-
const _sfc_main$
|
|
117
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
118
118
|
...{ name: "TaoInput" },
|
|
119
119
|
__name: "TaoInput",
|
|
120
120
|
props: {
|
|
@@ -190,7 +190,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
192
|
});
|
|
193
|
-
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
193
|
+
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-b522e041"]]);
|
|
194
194
|
const _hoisted_1$N = {
|
|
195
195
|
key: 0,
|
|
196
196
|
class: "tao-input-group__addon tao-input-group__addon--before"
|
|
@@ -200,7 +200,7 @@ const _hoisted_3$z = {
|
|
|
200
200
|
key: 1,
|
|
201
201
|
class: "tao-input-group__addon tao-input-group__addon--after"
|
|
202
202
|
};
|
|
203
|
-
const _sfc_main$
|
|
203
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
204
204
|
...{ name: "TaoInputGroup" },
|
|
205
205
|
__name: "TaoInputGroup",
|
|
206
206
|
setup(__props) {
|
|
@@ -235,7 +235,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
|
-
const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
238
|
+
const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f06bb3b1"]]);
|
|
239
239
|
const _hoisted_1$M = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
240
240
|
const _hoisted_2$F = {
|
|
241
241
|
key: 0,
|
|
@@ -245,7 +245,7 @@ const _hoisted_3$y = ["aria-label", "disabled"];
|
|
|
245
245
|
const _hoisted_4$t = { "aria-hidden": "true" };
|
|
246
246
|
const _hoisted_5$l = ["aria-label", "disabled"];
|
|
247
247
|
const _hoisted_6$g = { "aria-hidden": "true" };
|
|
248
|
-
const _sfc_main$
|
|
248
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
249
249
|
...{ name: "TaoInputNumber" },
|
|
250
250
|
__name: "TaoInputNumber",
|
|
251
251
|
props: {
|
|
@@ -431,13 +431,13 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
|
-
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
434
|
+
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-331dd958"]]);
|
|
435
435
|
const _hoisted_1$L = ["aria-label", "disabled"];
|
|
436
436
|
const _hoisted_2$E = { "aria-hidden": "true" };
|
|
437
437
|
const _hoisted_3$x = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
438
438
|
const _hoisted_4$s = ["aria-label", "disabled"];
|
|
439
439
|
const _hoisted_5$k = { "aria-hidden": "true" };
|
|
440
|
-
const _sfc_main$
|
|
440
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
441
441
|
...{ name: "TaoQuantity" },
|
|
442
442
|
__name: "TaoQuantity",
|
|
443
443
|
props: {
|
|
@@ -617,7 +617,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
|
-
const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
620
|
+
const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-c9c7c8b4"]]);
|
|
621
621
|
const _hoisted_1$K = {
|
|
622
622
|
key: 0,
|
|
623
623
|
class: "tao-card__cover"
|
|
@@ -647,7 +647,7 @@ const _hoisted_8$b = {
|
|
|
647
647
|
key: 4,
|
|
648
648
|
class: "tao-card__footer"
|
|
649
649
|
};
|
|
650
|
-
const _sfc_main$
|
|
650
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
651
651
|
...{ name: "TaoCard" },
|
|
652
652
|
__name: "TaoCard",
|
|
653
653
|
props: {
|
|
@@ -719,7 +719,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
719
719
|
};
|
|
720
720
|
}
|
|
721
721
|
});
|
|
722
|
-
const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
722
|
+
const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2ff3d055"]]);
|
|
723
723
|
const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
724
724
|
function getFocusable(root) {
|
|
725
725
|
return [...root.querySelectorAll(FOCUSABLE)].filter(
|
|
@@ -787,7 +787,7 @@ const _hoisted_8$a = {
|
|
|
787
787
|
key: 1,
|
|
788
788
|
class: "tao-modal__footer"
|
|
789
789
|
};
|
|
790
|
-
const _sfc_main$
|
|
790
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
791
791
|
...{ name: "TaoModal" },
|
|
792
792
|
__name: "TaoModal",
|
|
793
793
|
props: {
|
|
@@ -929,11 +929,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
931
|
});
|
|
932
|
-
const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
932
|
+
const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-102cfd66"]]);
|
|
933
933
|
const _hoisted_1$I = { class: "tao-tabs" };
|
|
934
934
|
const _hoisted_2$B = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
|
|
935
935
|
const _hoisted_3$u = ["id", "aria-labelledby"];
|
|
936
|
-
const _sfc_main$
|
|
936
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
937
937
|
...{ name: "TaoTabs" },
|
|
938
938
|
__name: "TaoTabs",
|
|
939
939
|
props: {
|
|
@@ -1037,7 +1037,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
1037
1037
|
};
|
|
1038
1038
|
}
|
|
1039
1039
|
});
|
|
1040
|
-
const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1040
|
+
const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bf16735e"]]);
|
|
1041
1041
|
function listenFocusLoss(onLoss) {
|
|
1042
1042
|
function onVisibilityChange() {
|
|
1043
1043
|
if (document.hidden) {
|
|
@@ -1053,7 +1053,7 @@ function listenFocusLoss(onLoss) {
|
|
|
1053
1053
|
window.removeEventListener("pagehide", onLoss);
|
|
1054
1054
|
};
|
|
1055
1055
|
}
|
|
1056
|
-
const _sfc_main$
|
|
1056
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
1057
1057
|
...{ name: "TaoTooltip" },
|
|
1058
1058
|
__name: "TaoTooltip",
|
|
1059
1059
|
props: {
|
|
@@ -1215,9 +1215,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
1215
1215
|
};
|
|
1216
1216
|
}
|
|
1217
1217
|
});
|
|
1218
|
-
const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1218
|
+
const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-926dfa73"]]);
|
|
1219
1219
|
const _hoisted_1$H = { class: "tao-popover" };
|
|
1220
|
-
const _sfc_main$
|
|
1220
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
1221
1221
|
...{ name: "TaoPopover" },
|
|
1222
1222
|
__name: "TaoPopover",
|
|
1223
1223
|
props: {
|
|
@@ -1415,7 +1415,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
1417
|
});
|
|
1418
|
-
const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1418
|
+
const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-afd791a7"]]);
|
|
1419
1419
|
const spoilerGroupKey = Symbol("taoSpoilerGroup");
|
|
1420
1420
|
const _hoisted_1$G = { class: "tao-spoiler" };
|
|
1421
1421
|
const _hoisted_2$A = ["aria-expanded", "aria-controls"];
|
|
@@ -1425,7 +1425,7 @@ const _hoisted_3$t = {
|
|
|
1425
1425
|
};
|
|
1426
1426
|
const _hoisted_4$p = ["id"];
|
|
1427
1427
|
const _hoisted_5$h = { class: "tao-spoiler__content-inner" };
|
|
1428
|
-
const _sfc_main$
|
|
1428
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
1429
1429
|
...{ name: "TaoSpoiler" },
|
|
1430
1430
|
__name: "TaoSpoiler",
|
|
1431
1431
|
props: {
|
|
@@ -1521,9 +1521,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
1523
|
});
|
|
1524
|
-
const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1524
|
+
const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-ccb052cf"]]);
|
|
1525
1525
|
const _hoisted_1$F = { class: "tao-spoiler-group" };
|
|
1526
|
-
const _sfc_main$
|
|
1526
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
1527
1527
|
...{ name: "TaoSpoilerGroup" },
|
|
1528
1528
|
__name: "TaoSpoilerGroup",
|
|
1529
1529
|
props: {
|
|
@@ -1554,9 +1554,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1554
1554
|
};
|
|
1555
1555
|
}
|
|
1556
1556
|
});
|
|
1557
|
-
const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1557
|
+
const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-118970dd"]]);
|
|
1558
1558
|
const _hoisted_1$E = ["aria-label"];
|
|
1559
|
-
const _sfc_main$
|
|
1559
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
1560
1560
|
...{ name: "TaoCopy" },
|
|
1561
1561
|
__name: "TaoCopy",
|
|
1562
1562
|
props: {
|
|
@@ -1707,8 +1707,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1707
1707
|
};
|
|
1708
1708
|
}
|
|
1709
1709
|
});
|
|
1710
|
-
const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1711
|
-
const _sfc_main$
|
|
1710
|
+
const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-38d3381d"]]);
|
|
1711
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1712
1712
|
...{ name: "TaoContainer" },
|
|
1713
1713
|
__name: "TaoContainer",
|
|
1714
1714
|
props: {
|
|
@@ -1725,8 +1725,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
1725
1725
|
};
|
|
1726
1726
|
}
|
|
1727
1727
|
});
|
|
1728
|
-
const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1729
|
-
const _sfc_main$
|
|
1728
|
+
const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-4c0deb90"]]);
|
|
1729
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
1730
1730
|
...{ name: "TaoFlex" },
|
|
1731
1731
|
__name: "TaoFlex",
|
|
1732
1732
|
props: {
|
|
@@ -1757,7 +1757,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1757
1757
|
};
|
|
1758
1758
|
}
|
|
1759
1759
|
});
|
|
1760
|
-
const _sfc_main$
|
|
1760
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
1761
1761
|
...{ name: "TaoSpace" },
|
|
1762
1762
|
__name: "TaoSpace",
|
|
1763
1763
|
props: {
|
|
@@ -1777,7 +1777,58 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1777
1777
|
};
|
|
1778
1778
|
}
|
|
1779
1779
|
});
|
|
1780
|
-
const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1780
|
+
const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-698ca712"]]);
|
|
1781
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
1782
|
+
...{ name: "TaoGrid" },
|
|
1783
|
+
__name: "TaoGrid",
|
|
1784
|
+
props: {
|
|
1785
|
+
min: { default: "220px" },
|
|
1786
|
+
cols: { default: 0 },
|
|
1787
|
+
gap: { default: "var(--tao-space-4)" }
|
|
1788
|
+
},
|
|
1789
|
+
setup(__props) {
|
|
1790
|
+
const props = __props;
|
|
1791
|
+
const isFixed = computed(() => props.cols > 0);
|
|
1792
|
+
const gridStyle = computed(() => ({
|
|
1793
|
+
"--tao-grid-min": props.min,
|
|
1794
|
+
"--tao-grid-cols": isFixed.value ? String(props.cols) : void 0,
|
|
1795
|
+
"--tao-grid-gap": props.gap
|
|
1796
|
+
}));
|
|
1797
|
+
return (_ctx, _cache) => {
|
|
1798
|
+
return openBlock(), createElementBlock("div", {
|
|
1799
|
+
class: normalizeClass(["tao-grid", { "tao-grid--fixed": isFixed.value }]),
|
|
1800
|
+
style: normalizeStyle(gridStyle.value)
|
|
1801
|
+
}, [
|
|
1802
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1803
|
+
], 6);
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
});
|
|
1807
|
+
const TaoGrid = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bd5bc452"]]);
|
|
1808
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
1809
|
+
...{ name: "TaoGridItem" },
|
|
1810
|
+
__name: "TaoGridItem",
|
|
1811
|
+
props: {
|
|
1812
|
+
col: { default: 1 },
|
|
1813
|
+
row: { default: 1 }
|
|
1814
|
+
},
|
|
1815
|
+
setup(__props) {
|
|
1816
|
+
const props = __props;
|
|
1817
|
+
const itemStyle = computed(() => ({
|
|
1818
|
+
"--tao-grid-col": String(Math.max(1, props.col)),
|
|
1819
|
+
"--tao-grid-row": String(Math.max(1, props.row))
|
|
1820
|
+
}));
|
|
1821
|
+
return (_ctx, _cache) => {
|
|
1822
|
+
return openBlock(), createElementBlock("div", {
|
|
1823
|
+
class: "tao-grid-item",
|
|
1824
|
+
style: normalizeStyle(itemStyle.value)
|
|
1825
|
+
}, [
|
|
1826
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1827
|
+
], 4);
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
});
|
|
1831
|
+
const TaoGridItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-43bd1e34"]]);
|
|
1781
1832
|
const _hoisted_1$D = { class: "tao-split__pane tao-split__pane--start" };
|
|
1782
1833
|
const _hoisted_2$z = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
|
|
1783
1834
|
const _hoisted_3$s = { class: "tao-split__pane tao-split__pane--end" };
|
|
@@ -2409,40 +2460,57 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2409
2460
|
}
|
|
2410
2461
|
});
|
|
2411
2462
|
const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-f353f529"]]);
|
|
2412
|
-
const _hoisted_1$y =
|
|
2463
|
+
const _hoisted_1$y = ["role", "aria-hidden"];
|
|
2464
|
+
const _hoisted_2$v = {
|
|
2413
2465
|
key: 1,
|
|
2414
|
-
class: "tao-
|
|
2466
|
+
class: "tao-divider__text"
|
|
2415
2467
|
};
|
|
2416
|
-
const _hoisted_2$v = { class: "tao-divider-text__value" };
|
|
2417
2468
|
const _hoisted_3$o = {
|
|
2418
2469
|
key: 2,
|
|
2419
|
-
class: "tao-
|
|
2470
|
+
class: "tao-divider__line tao-divider__line--end"
|
|
2420
2471
|
};
|
|
2421
2472
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
2422
2473
|
...{ name: "TaoDivider" },
|
|
2423
2474
|
__name: "TaoDivider",
|
|
2424
2475
|
props: {
|
|
2425
|
-
variant: { default: "
|
|
2426
|
-
size: { default: "medium" }
|
|
2476
|
+
variant: { default: "solid" },
|
|
2477
|
+
size: { default: "medium" },
|
|
2478
|
+
text: { default: "" },
|
|
2479
|
+
fade: { type: Boolean, default: false }
|
|
2427
2480
|
},
|
|
2428
2481
|
setup(__props) {
|
|
2429
2482
|
const props = __props;
|
|
2483
|
+
const slots = useSlots();
|
|
2430
2484
|
const gapSize = computed(() => props.size === "big" ? "large" : props.size);
|
|
2485
|
+
const hasLabel = computed(() => Boolean(props.text) || Boolean(slots.default));
|
|
2431
2486
|
return (_ctx, _cache) => {
|
|
2432
|
-
return
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2487
|
+
return openBlock(), createElementBlock("div", {
|
|
2488
|
+
class: normalizeClass(["tao-divider", [
|
|
2489
|
+
`tao-divider--${__props.variant}`,
|
|
2490
|
+
{
|
|
2491
|
+
"tao-divider--labeled": hasLabel.value,
|
|
2492
|
+
"tao-divider--fade": __props.fade && __props.variant !== "gap",
|
|
2493
|
+
[`tao-divider--gap-${gapSize.value}`]: __props.variant === "gap"
|
|
2494
|
+
}
|
|
2495
|
+
]]),
|
|
2496
|
+
role: __props.variant === "gap" && !hasLabel.value ? void 0 : "separator",
|
|
2497
|
+
"aria-hidden": __props.variant === "gap" && !hasLabel.value ? true : void 0
|
|
2498
|
+
}, [
|
|
2499
|
+
__props.variant !== "gap" ? (openBlock(), createElementBlock("span", {
|
|
2500
|
+
key: 0,
|
|
2501
|
+
class: normalizeClass(["tao-divider__line", { "tao-divider__line--start": hasLabel.value }])
|
|
2502
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
2503
|
+
hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_2$v, [
|
|
2504
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2505
|
+
createTextVNode(toDisplayString(__props.text), 1)
|
|
2506
|
+
], true)
|
|
2507
|
+
])) : createCommentVNode("", true),
|
|
2508
|
+
__props.variant !== "gap" && hasLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3$o)) : createCommentVNode("", true)
|
|
2509
|
+
], 10, _hoisted_1$y);
|
|
2442
2510
|
};
|
|
2443
2511
|
}
|
|
2444
2512
|
});
|
|
2445
|
-
const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
2513
|
+
const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-c1d072e5"]]);
|
|
2446
2514
|
const _hoisted_1$x = {
|
|
2447
2515
|
key: 0,
|
|
2448
2516
|
class: "tao-fieldset__legend"
|
|
@@ -8677,8 +8745,10 @@ const components = [
|
|
|
8677
8745
|
TaoSpoilerGroup,
|
|
8678
8746
|
TaoCopy,
|
|
8679
8747
|
TaoContainer,
|
|
8680
|
-
_sfc_main$
|
|
8748
|
+
_sfc_main$K,
|
|
8681
8749
|
TaoSpace,
|
|
8750
|
+
TaoGrid,
|
|
8751
|
+
TaoGridItem,
|
|
8682
8752
|
TaoSplit,
|
|
8683
8753
|
TaoIcon,
|
|
8684
8754
|
TaoLoader,
|
|
@@ -8752,8 +8822,10 @@ export {
|
|
|
8752
8822
|
TaoEmpty,
|
|
8753
8823
|
TaoFieldset,
|
|
8754
8824
|
TaoFileDrop,
|
|
8755
|
-
_sfc_main$
|
|
8825
|
+
_sfc_main$K as TaoFlex,
|
|
8756
8826
|
TaoFormField,
|
|
8827
|
+
TaoGrid,
|
|
8828
|
+
TaoGridItem,
|
|
8757
8829
|
TaoIcon,
|
|
8758
8830
|
TaoImage,
|
|
8759
8831
|
TaoInput,
|