@1337exp/taoui 1.6.1 → 1.7.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 +15 -0
- package/README.ru.md +15 -0
- package/dist/index.cjs +576 -405
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +220 -51
- package/dist/index.mjs +576 -405
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +180 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.TaoUI = {}, global.Vue));
|
|
3
3
|
})(this, function(exports2, vue) {
|
|
4
4
|
"use strict";
|
|
5
|
-
const _hoisted_1$
|
|
6
|
-
const _hoisted_2$
|
|
5
|
+
const _hoisted_1$P = ["type", "disabled"];
|
|
6
|
+
const _hoisted_2$I = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "tao-button__loader"
|
|
9
9
|
};
|
|
10
|
-
const _hoisted_3$
|
|
10
|
+
const _hoisted_3$B = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "tao-button__icon"
|
|
13
13
|
};
|
|
14
|
-
const _hoisted_4$
|
|
15
|
-
const _sfc_main$
|
|
14
|
+
const _hoisted_4$v = { class: "tao-button__content" };
|
|
15
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
16
16
|
...{ name: "TaoButton" },
|
|
17
17
|
__name: "TaoButton",
|
|
18
18
|
props: {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
disabled: __props.disabled || __props.loading,
|
|
52
52
|
onClick: handleClick
|
|
53
53
|
}, [
|
|
54
|
-
__props.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
55
|
-
__props.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
56
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
54
|
+
__props.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$I)) : vue.createCommentVNode("", true),
|
|
55
|
+
__props.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$B, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
|
|
56
|
+
vue.createElementVNode("span", _hoisted_4$v, [
|
|
57
57
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
58
58
|
])
|
|
59
|
-
], 10, _hoisted_1$
|
|
59
|
+
], 10, _hoisted_1$P);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
}
|
|
68
68
|
return target;
|
|
69
69
|
};
|
|
70
|
-
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
71
|
-
const _sfc_main$
|
|
70
|
+
const TaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-c3034f66"]]);
|
|
71
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
72
72
|
...{ name: "TaoBlock" },
|
|
73
73
|
__name: "TaoBlock",
|
|
74
74
|
props: {
|
|
@@ -100,24 +100,24 @@
|
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
|
-
const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
103
|
+
const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-feb87e36"]]);
|
|
104
104
|
const formFieldKey = Symbol("taoFormField");
|
|
105
|
-
const _hoisted_1$
|
|
106
|
-
const _hoisted_2$
|
|
107
|
-
const _hoisted_3$
|
|
105
|
+
const _hoisted_1$O = { class: "tao-input-wrapper" };
|
|
106
|
+
const _hoisted_2$H = ["for"];
|
|
107
|
+
const _hoisted_3$A = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "tao-input__affix tao-input__affix--prefix"
|
|
110
110
|
};
|
|
111
|
-
const _hoisted_4$
|
|
112
|
-
const _hoisted_5$
|
|
111
|
+
const _hoisted_4$u = ["id", "type", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby"];
|
|
112
|
+
const _hoisted_5$m = {
|
|
113
113
|
key: 1,
|
|
114
114
|
class: "tao-input__affix tao-input__affix--suffix"
|
|
115
115
|
};
|
|
116
|
-
const _hoisted_6$
|
|
116
|
+
const _hoisted_6$h = {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "tao-input__error"
|
|
119
119
|
};
|
|
120
|
-
const _sfc_main$
|
|
120
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
121
121
|
...{ name: "TaoInput" },
|
|
122
122
|
__name: "TaoInput",
|
|
123
123
|
props: {
|
|
@@ -153,12 +153,12 @@
|
|
|
153
153
|
emit("focus", event);
|
|
154
154
|
}
|
|
155
155
|
return (_ctx, _cache) => {
|
|
156
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
156
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
157
157
|
__props.label && !vue.unref(field) ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
158
158
|
key: 0,
|
|
159
159
|
class: "tao-input__label",
|
|
160
160
|
for: controlId.value
|
|
161
|
-
}, vue.toDisplayString(__props.label), 9, _hoisted_2$
|
|
161
|
+
}, vue.toDisplayString(__props.label), 9, _hoisted_2$H)) : vue.createCommentVNode("", true),
|
|
162
162
|
vue.createElementVNode("div", {
|
|
163
163
|
class: vue.normalizeClass(["tao-input-shell", {
|
|
164
164
|
"tao-input-shell--focused": focused.value,
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"tao-input-shell--suffix": _ctx.$slots.suffix
|
|
169
169
|
}])
|
|
170
170
|
}, [
|
|
171
|
-
_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
171
|
+
_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$A, [
|
|
172
172
|
vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
173
173
|
])) : vue.createCommentVNode("", true),
|
|
174
174
|
vue.createElementVNode("input", {
|
|
@@ -183,27 +183,27 @@
|
|
|
183
183
|
onInput: handleInput,
|
|
184
184
|
onBlur: handleBlur,
|
|
185
185
|
onFocus: handleFocus
|
|
186
|
-
}, null, 42, _hoisted_4$
|
|
187
|
-
_ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
186
|
+
}, null, 42, _hoisted_4$u),
|
|
187
|
+
_ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$m, [
|
|
188
188
|
vue.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
189
189
|
])) : vue.createCommentVNode("", true)
|
|
190
190
|
], 2),
|
|
191
|
-
__props.error && __props.errorMessage ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
191
|
+
__props.error && __props.errorMessage ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$h, vue.toDisplayString(__props.errorMessage), 1)) : vue.createCommentVNode("", true)
|
|
192
192
|
]);
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
197
|
-
const _hoisted_1$
|
|
196
|
+
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-b522e041"]]);
|
|
197
|
+
const _hoisted_1$N = {
|
|
198
198
|
key: 0,
|
|
199
199
|
class: "tao-input-group__addon tao-input-group__addon--before"
|
|
200
200
|
};
|
|
201
|
-
const _hoisted_2$
|
|
202
|
-
const _hoisted_3$
|
|
201
|
+
const _hoisted_2$G = { class: "tao-input-group__field" };
|
|
202
|
+
const _hoisted_3$z = {
|
|
203
203
|
key: 1,
|
|
204
204
|
class: "tao-input-group__addon tao-input-group__addon--after"
|
|
205
205
|
};
|
|
206
|
-
const _sfc_main$
|
|
206
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
207
207
|
...{ name: "TaoInputGroup" },
|
|
208
208
|
__name: "TaoInputGroup",
|
|
209
209
|
setup(__props) {
|
|
@@ -225,30 +225,30 @@
|
|
|
225
225
|
onFocusin: onFocusIn,
|
|
226
226
|
onFocusout: onFocusOut
|
|
227
227
|
}, [
|
|
228
|
-
_ctx.$slots.before ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
228
|
+
_ctx.$slots.before ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
229
229
|
vue.renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
230
230
|
])) : vue.createCommentVNode("", true),
|
|
231
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
231
|
+
vue.createElementVNode("div", _hoisted_2$G, [
|
|
232
232
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
233
233
|
]),
|
|
234
|
-
_ctx.$slots.after ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
234
|
+
_ctx.$slots.after ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$z, [
|
|
235
235
|
vue.renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
236
236
|
])) : vue.createCommentVNode("", true)
|
|
237
237
|
], 34);
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
|
-
const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
242
|
-
const _hoisted_1$
|
|
243
|
-
const _hoisted_2$
|
|
241
|
+
const TaoInputGroup = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f06bb3b1"]]);
|
|
242
|
+
const _hoisted_1$M = ["id", "value", "placeholder", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
243
|
+
const _hoisted_2$F = {
|
|
244
244
|
key: 0,
|
|
245
245
|
class: "tao-input-number__steppers"
|
|
246
246
|
};
|
|
247
|
-
const _hoisted_3$
|
|
248
|
-
const _hoisted_4$
|
|
249
|
-
const _hoisted_5$
|
|
250
|
-
const _hoisted_6$
|
|
251
|
-
const _sfc_main$
|
|
247
|
+
const _hoisted_3$y = ["aria-label", "disabled"];
|
|
248
|
+
const _hoisted_4$t = { "aria-hidden": "true" };
|
|
249
|
+
const _hoisted_5$l = ["aria-label", "disabled"];
|
|
250
|
+
const _hoisted_6$g = { "aria-hidden": "true" };
|
|
251
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
252
252
|
...{ name: "TaoInputNumber" },
|
|
253
253
|
__name: "TaoInputNumber",
|
|
254
254
|
props: {
|
|
@@ -399,8 +399,8 @@
|
|
|
399
399
|
onFocus,
|
|
400
400
|
onBlur,
|
|
401
401
|
onKeydown
|
|
402
|
-
}, null, 40, _hoisted_1$
|
|
403
|
-
__props.controls ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
402
|
+
}, null, 40, _hoisted_1$M),
|
|
403
|
+
__props.controls ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$F, [
|
|
404
404
|
vue.createElementVNode("button", {
|
|
405
405
|
type: "button",
|
|
406
406
|
class: "tao-input-number__step",
|
|
@@ -409,12 +409,12 @@
|
|
|
409
409
|
disabled: __props.disabled || atMax.value,
|
|
410
410
|
onClick: _cache[0] || (_cache[0] = ($event) => bump(1))
|
|
411
411
|
}, [
|
|
412
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
412
|
+
vue.createElementVNode("span", _hoisted_4$t, [
|
|
413
413
|
vue.renderSlot(_ctx.$slots, "increment-icon", {}, () => [
|
|
414
414
|
_cache[2] || (_cache[2] = vue.createTextVNode("+", -1))
|
|
415
415
|
], true)
|
|
416
416
|
])
|
|
417
|
-
], 8, _hoisted_3$
|
|
417
|
+
], 8, _hoisted_3$y),
|
|
418
418
|
vue.createElementVNode("button", {
|
|
419
419
|
type: "button",
|
|
420
420
|
class: "tao-input-number__step",
|
|
@@ -423,24 +423,24 @@
|
|
|
423
423
|
disabled: __props.disabled || atMin.value,
|
|
424
424
|
onClick: _cache[1] || (_cache[1] = ($event) => bump(-1))
|
|
425
425
|
}, [
|
|
426
|
-
vue.createElementVNode("span", _hoisted_6$
|
|
426
|
+
vue.createElementVNode("span", _hoisted_6$g, [
|
|
427
427
|
vue.renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
|
|
428
428
|
_cache[3] || (_cache[3] = vue.createTextVNode("−", -1))
|
|
429
429
|
], true)
|
|
430
430
|
])
|
|
431
|
-
], 8, _hoisted_5$
|
|
431
|
+
], 8, _hoisted_5$l)
|
|
432
432
|
])) : vue.createCommentVNode("", true)
|
|
433
433
|
], 2);
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
|
-
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
438
|
-
const _hoisted_1$
|
|
439
|
-
const _hoisted_2$
|
|
440
|
-
const _hoisted_3$
|
|
441
|
-
const _hoisted_4$
|
|
442
|
-
const _hoisted_5$
|
|
443
|
-
const _sfc_main$
|
|
437
|
+
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-331dd958"]]);
|
|
438
|
+
const _hoisted_1$L = ["aria-label", "disabled"];
|
|
439
|
+
const _hoisted_2$E = { "aria-hidden": "true" };
|
|
440
|
+
const _hoisted_3$x = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
441
|
+
const _hoisted_4$s = ["aria-label", "disabled"];
|
|
442
|
+
const _hoisted_5$k = { "aria-hidden": "true" };
|
|
443
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
444
444
|
...{ name: "TaoQuantity" },
|
|
445
445
|
__name: "TaoQuantity",
|
|
446
446
|
props: {
|
|
@@ -577,12 +577,12 @@
|
|
|
577
577
|
disabled: minusDisabled.value,
|
|
578
578
|
onClick: onDec
|
|
579
579
|
}, [
|
|
580
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
580
|
+
vue.createElementVNode("span", _hoisted_2$E, [
|
|
581
581
|
vue.renderSlot(_ctx.$slots, "decrement-icon", {}, () => [
|
|
582
582
|
_cache[0] || (_cache[0] = vue.createTextVNode("−", -1))
|
|
583
583
|
], true)
|
|
584
584
|
])
|
|
585
|
-
], 8, _hoisted_1$
|
|
585
|
+
], 8, _hoisted_1$L),
|
|
586
586
|
vue.createElementVNode("input", {
|
|
587
587
|
id: controlId.value,
|
|
588
588
|
class: "tao-quantity__input",
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
onFocus,
|
|
603
603
|
onBlur,
|
|
604
604
|
onKeydown
|
|
605
|
-
}, null, 40, _hoisted_3$
|
|
605
|
+
}, null, 40, _hoisted_3$x),
|
|
606
606
|
vue.createElementVNode("button", {
|
|
607
607
|
type: "button",
|
|
608
608
|
class: "tao-quantity__btn tao-quantity__btn--inc",
|
|
@@ -610,35 +610,35 @@
|
|
|
610
610
|
disabled: plusDisabled.value,
|
|
611
611
|
onClick: onInc
|
|
612
612
|
}, [
|
|
613
|
-
vue.createElementVNode("span", _hoisted_5$
|
|
613
|
+
vue.createElementVNode("span", _hoisted_5$k, [
|
|
614
614
|
vue.renderSlot(_ctx.$slots, "increment-icon", {}, () => [
|
|
615
615
|
_cache[1] || (_cache[1] = vue.createTextVNode("+", -1))
|
|
616
616
|
], true)
|
|
617
617
|
])
|
|
618
|
-
], 8, _hoisted_4$
|
|
618
|
+
], 8, _hoisted_4$s)
|
|
619
619
|
], 2);
|
|
620
620
|
};
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
|
-
const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
624
|
-
const _hoisted_1$
|
|
623
|
+
const TaoQuantity = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c9c7c8b4"]]);
|
|
624
|
+
const _hoisted_1$K = {
|
|
625
625
|
key: 0,
|
|
626
626
|
class: "tao-card__cover"
|
|
627
627
|
};
|
|
628
|
-
const _hoisted_2$
|
|
628
|
+
const _hoisted_2$D = {
|
|
629
629
|
key: 0,
|
|
630
630
|
class: "tao-card__header-title"
|
|
631
631
|
};
|
|
632
|
-
const _hoisted_3$
|
|
633
|
-
const _hoisted_4$
|
|
632
|
+
const _hoisted_3$w = { key: 0 };
|
|
633
|
+
const _hoisted_4$r = {
|
|
634
634
|
key: 2,
|
|
635
635
|
class: "tao-card__title-block"
|
|
636
636
|
};
|
|
637
|
-
const _hoisted_5$
|
|
637
|
+
const _hoisted_5$j = {
|
|
638
638
|
key: 0,
|
|
639
639
|
class: "tao-card__title"
|
|
640
640
|
};
|
|
641
|
-
const _hoisted_6$
|
|
641
|
+
const _hoisted_6$f = {
|
|
642
642
|
key: 1,
|
|
643
643
|
class: "tao-card__sub"
|
|
644
644
|
};
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
key: 4,
|
|
651
651
|
class: "tao-card__footer"
|
|
652
652
|
};
|
|
653
|
-
const _sfc_main$
|
|
653
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
654
654
|
...{ name: "TaoCard" },
|
|
655
655
|
__name: "TaoCard",
|
|
656
656
|
props: {
|
|
@@ -682,14 +682,14 @@
|
|
|
682
682
|
}]),
|
|
683
683
|
style: vue.normalizeStyle(radiusStyle.value)
|
|
684
684
|
}, [
|
|
685
|
-
_ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
685
|
+
_ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
|
|
686
686
|
vue.renderSlot(_ctx.$slots, "cover", {}, void 0, true)
|
|
687
687
|
])) : vue.createCommentVNode("", true),
|
|
688
688
|
vue.createElementVNode("div", {
|
|
689
689
|
class: "tao-card__content",
|
|
690
690
|
style: vue.normalizeStyle(paddingStyle.value)
|
|
691
691
|
}, [
|
|
692
|
-
_ctx.$slots.headerTitle ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$
|
|
692
|
+
_ctx.$slots.headerTitle ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$D, [
|
|
693
693
|
vue.renderSlot(_ctx.$slots, "headerTitle", {}, void 0, true)
|
|
694
694
|
])) : vue.createCommentVNode("", true),
|
|
695
695
|
_ctx.$slots.header || _ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -699,15 +699,15 @@
|
|
|
699
699
|
vue.createElementVNode("span", null, [
|
|
700
700
|
vue.renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
701
701
|
]),
|
|
702
|
-
_ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
702
|
+
_ctx.$slots.headerSecondary ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$w, [
|
|
703
703
|
vue.renderSlot(_ctx.$slots, "headerSecondary", {}, void 0, true)
|
|
704
704
|
])) : vue.createCommentVNode("", true)
|
|
705
705
|
], 2)) : vue.createCommentVNode("", true),
|
|
706
|
-
_ctx.$slots.title || _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
707
|
-
_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_5$
|
|
706
|
+
_ctx.$slots.title || _ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$r, [
|
|
707
|
+
_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_5$j, [
|
|
708
708
|
vue.renderSlot(_ctx.$slots, "title", {}, void 0, true)
|
|
709
709
|
])) : vue.createCommentVNode("", true),
|
|
710
|
-
_ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$
|
|
710
|
+
_ctx.$slots.sub ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$f, [
|
|
711
711
|
vue.renderSlot(_ctx.$slots, "sub", {}, void 0, true)
|
|
712
712
|
])) : vue.createCommentVNode("", true)
|
|
713
713
|
])) : vue.createCommentVNode("", true),
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
};
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
|
-
const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
725
|
+
const TaoCard = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-2ff3d055"]]);
|
|
726
726
|
const FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
727
727
|
function getFocusable(root) {
|
|
728
728
|
return [...root.querySelectorAll(FOCUSABLE)].filter(
|
|
@@ -776,21 +776,21 @@
|
|
|
776
776
|
previousOverflow = "";
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
-
const _hoisted_1$
|
|
780
|
-
const _hoisted_2$
|
|
779
|
+
const _hoisted_1$J = ["aria-labelledby"];
|
|
780
|
+
const _hoisted_2$C = {
|
|
781
781
|
key: 0,
|
|
782
782
|
class: "tao-modal__header"
|
|
783
783
|
};
|
|
784
|
-
const _hoisted_3$
|
|
785
|
-
const _hoisted_4$
|
|
786
|
-
const _hoisted_5$
|
|
787
|
-
const _hoisted_6$
|
|
784
|
+
const _hoisted_3$v = ["id"];
|
|
785
|
+
const _hoisted_4$q = { key: 1 };
|
|
786
|
+
const _hoisted_5$i = ["aria-label"];
|
|
787
|
+
const _hoisted_6$e = { "aria-hidden": "true" };
|
|
788
788
|
const _hoisted_7$b = { class: "tao-modal__content" };
|
|
789
789
|
const _hoisted_8$a = {
|
|
790
790
|
key: 1,
|
|
791
791
|
class: "tao-modal__footer"
|
|
792
792
|
};
|
|
793
|
-
const _sfc_main$
|
|
793
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
794
794
|
...{ name: "TaoModal" },
|
|
795
795
|
__name: "TaoModal",
|
|
796
796
|
props: {
|
|
@@ -895,13 +895,13 @@
|
|
|
895
895
|
"aria-labelledby": __props.title ? vue.unref(titleId) : void 0,
|
|
896
896
|
tabindex: "-1"
|
|
897
897
|
}, [
|
|
898
|
-
__props.title || _ctx.$slots.header || __props.closable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
898
|
+
__props.title || _ctx.$slots.header || __props.closable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, [
|
|
899
899
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
900
900
|
__props.title ? (vue.openBlock(), vue.createElementBlock("h2", {
|
|
901
901
|
key: 0,
|
|
902
902
|
id: vue.unref(titleId),
|
|
903
903
|
class: "tao-modal__title"
|
|
904
|
-
}, vue.toDisplayString(__props.title), 9, _hoisted_3$
|
|
904
|
+
}, vue.toDisplayString(__props.title), 9, _hoisted_3$v)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$q))
|
|
905
905
|
], true),
|
|
906
906
|
__props.closable ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
907
907
|
key: 0,
|
|
@@ -910,12 +910,12 @@
|
|
|
910
910
|
"aria-label": __props.closeLabel,
|
|
911
911
|
onClick: close
|
|
912
912
|
}, [
|
|
913
|
-
vue.createElementVNode("span", _hoisted_6$
|
|
913
|
+
vue.createElementVNode("span", _hoisted_6$e, [
|
|
914
914
|
vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
915
915
|
_cache[0] || (_cache[0] = vue.createTextVNode("×", -1))
|
|
916
916
|
], true)
|
|
917
917
|
])
|
|
918
|
-
], 8, _hoisted_5$
|
|
918
|
+
], 8, _hoisted_5$i)) : vue.createCommentVNode("", true)
|
|
919
919
|
])) : vue.createCommentVNode("", true),
|
|
920
920
|
vue.createElementVNode("div", _hoisted_7$b, [
|
|
921
921
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$a, [
|
|
924
924
|
vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
925
925
|
])) : vue.createCommentVNode("", true)
|
|
926
|
-
], 8, _hoisted_1$
|
|
926
|
+
], 8, _hoisted_1$J)
|
|
927
927
|
], 32)) : vue.createCommentVNode("", true)
|
|
928
928
|
]),
|
|
929
929
|
_: 3
|
|
@@ -932,11 +932,11 @@
|
|
|
932
932
|
};
|
|
933
933
|
}
|
|
934
934
|
});
|
|
935
|
-
const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
936
|
-
const _hoisted_1$
|
|
937
|
-
const _hoisted_2$
|
|
938
|
-
const _hoisted_3$
|
|
939
|
-
const _sfc_main$
|
|
935
|
+
const TaoModal = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-102cfd66"]]);
|
|
936
|
+
const _hoisted_1$I = { class: "tao-tabs" };
|
|
937
|
+
const _hoisted_2$B = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"];
|
|
938
|
+
const _hoisted_3$u = ["id", "aria-labelledby"];
|
|
939
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
940
940
|
...{ name: "TaoTabs" },
|
|
941
941
|
__name: "TaoTabs",
|
|
942
942
|
props: {
|
|
@@ -1000,7 +1000,7 @@
|
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
return (_ctx, _cache) => {
|
|
1003
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1003
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
1004
1004
|
vue.createElementVNode("div", {
|
|
1005
1005
|
class: "tao-tabs__list",
|
|
1006
1006
|
role: "tablist",
|
|
@@ -1025,7 +1025,7 @@
|
|
|
1025
1025
|
}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
1026
1026
|
vue.createTextVNode(vue.toDisplayString(tab.label), 1)
|
|
1027
1027
|
], 64))
|
|
1028
|
-
], 8, _hoisted_2$
|
|
1028
|
+
], 8, _hoisted_2$B);
|
|
1029
1029
|
}), 128))
|
|
1030
1030
|
], 32),
|
|
1031
1031
|
vue.createElementVNode("div", {
|
|
@@ -1035,12 +1035,12 @@
|
|
|
1035
1035
|
"aria-labelledby": tabId(__props.modelValue)
|
|
1036
1036
|
}, [
|
|
1037
1037
|
vue.renderSlot(_ctx.$slots, "default", { activeTab: __props.modelValue }, void 0, true)
|
|
1038
|
-
], 8, _hoisted_3$
|
|
1038
|
+
], 8, _hoisted_3$u)
|
|
1039
1039
|
]);
|
|
1040
1040
|
};
|
|
1041
1041
|
}
|
|
1042
1042
|
});
|
|
1043
|
-
const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1043
|
+
const TaoTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-bf16735e"]]);
|
|
1044
1044
|
function listenFocusLoss(onLoss) {
|
|
1045
1045
|
function onVisibilityChange() {
|
|
1046
1046
|
if (document.hidden) {
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
window.removeEventListener("pagehide", onLoss);
|
|
1057
1057
|
};
|
|
1058
1058
|
}
|
|
1059
|
-
const _sfc_main$
|
|
1059
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
1060
1060
|
...{ name: "TaoTooltip" },
|
|
1061
1061
|
__name: "TaoTooltip",
|
|
1062
1062
|
props: {
|
|
@@ -1218,9 +1218,9 @@
|
|
|
1218
1218
|
};
|
|
1219
1219
|
}
|
|
1220
1220
|
});
|
|
1221
|
-
const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1222
|
-
const _hoisted_1$
|
|
1223
|
-
const _sfc_main$
|
|
1221
|
+
const TaoTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-926dfa73"]]);
|
|
1222
|
+
const _hoisted_1$H = { class: "tao-popover" };
|
|
1223
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
1224
1224
|
...{ name: "TaoPopover" },
|
|
1225
1225
|
__name: "TaoPopover",
|
|
1226
1226
|
props: {
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
unbindDismiss();
|
|
1390
1390
|
});
|
|
1391
1391
|
return (_ctx, _cache) => {
|
|
1392
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1392
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
|
|
1393
1393
|
vue.createElementVNode("div", {
|
|
1394
1394
|
ref_key: "triggerRef",
|
|
1395
1395
|
ref: triggerRef,
|
|
@@ -1418,17 +1418,17 @@
|
|
|
1418
1418
|
};
|
|
1419
1419
|
}
|
|
1420
1420
|
});
|
|
1421
|
-
const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1421
|
+
const TaoPopover = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-afd791a7"]]);
|
|
1422
1422
|
const spoilerGroupKey = Symbol("taoSpoilerGroup");
|
|
1423
|
-
const _hoisted_1$
|
|
1424
|
-
const _hoisted_2$
|
|
1425
|
-
const _hoisted_3$
|
|
1423
|
+
const _hoisted_1$G = { class: "tao-spoiler" };
|
|
1424
|
+
const _hoisted_2$A = ["aria-expanded", "aria-controls"];
|
|
1425
|
+
const _hoisted_3$t = {
|
|
1426
1426
|
key: 0,
|
|
1427
1427
|
class: "tao-spoiler__title"
|
|
1428
1428
|
};
|
|
1429
|
-
const _hoisted_4$
|
|
1430
|
-
const _hoisted_5$
|
|
1431
|
-
const _sfc_main$
|
|
1429
|
+
const _hoisted_4$p = ["id"];
|
|
1430
|
+
const _hoisted_5$h = { class: "tao-spoiler__content-inner" };
|
|
1431
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
1432
1432
|
...{ name: "TaoSpoiler" },
|
|
1433
1433
|
__name: "TaoSpoiler",
|
|
1434
1434
|
props: {
|
|
@@ -1483,7 +1483,7 @@
|
|
|
1483
1483
|
});
|
|
1484
1484
|
}
|
|
1485
1485
|
return (_ctx, _cache) => {
|
|
1486
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1486
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
1487
1487
|
vue.createElementVNode("button", {
|
|
1488
1488
|
type: "button",
|
|
1489
1489
|
class: "tao-spoiler__header",
|
|
@@ -1494,12 +1494,12 @@
|
|
|
1494
1494
|
vue.createElementVNode("span", {
|
|
1495
1495
|
class: vue.normalizeClass(["tao-spoiler__icon", { "tao-spoiler__icon--open": isOpen.value }])
|
|
1496
1496
|
}, "▶", 2),
|
|
1497
|
-
__props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
1497
|
+
__props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$t, [
|
|
1498
1498
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1499
1499
|
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
1500
1500
|
], true)
|
|
1501
1501
|
])) : vue.createCommentVNode("", true)
|
|
1502
|
-
], 8, _hoisted_2$
|
|
1502
|
+
], 8, _hoisted_2$A),
|
|
1503
1503
|
vue.createVNode(vue.Transition, {
|
|
1504
1504
|
name: "tao-spoiler-slide",
|
|
1505
1505
|
onBeforeEnter,
|
|
@@ -1513,10 +1513,10 @@
|
|
|
1513
1513
|
id: vue.unref(panelId),
|
|
1514
1514
|
class: "tao-spoiler__content"
|
|
1515
1515
|
}, [
|
|
1516
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
1516
|
+
vue.createElementVNode("div", _hoisted_5$h, [
|
|
1517
1517
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1518
1518
|
])
|
|
1519
|
-
], 8, _hoisted_4$
|
|
1519
|
+
], 8, _hoisted_4$p)) : vue.createCommentVNode("", true)
|
|
1520
1520
|
]),
|
|
1521
1521
|
_: 3
|
|
1522
1522
|
})
|
|
@@ -1524,9 +1524,9 @@
|
|
|
1524
1524
|
};
|
|
1525
1525
|
}
|
|
1526
1526
|
});
|
|
1527
|
-
const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1528
|
-
const _hoisted_1$
|
|
1529
|
-
const _sfc_main$
|
|
1527
|
+
const TaoSpoiler = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ccb052cf"]]);
|
|
1528
|
+
const _hoisted_1$F = { class: "tao-spoiler-group" };
|
|
1529
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
1530
1530
|
...{ name: "TaoSpoilerGroup" },
|
|
1531
1531
|
__name: "TaoSpoilerGroup",
|
|
1532
1532
|
props: {
|
|
@@ -1551,15 +1551,15 @@
|
|
|
1551
1551
|
setOpen
|
|
1552
1552
|
});
|
|
1553
1553
|
return (_ctx, _cache) => {
|
|
1554
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1554
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
1555
1555
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1556
1556
|
]);
|
|
1557
1557
|
};
|
|
1558
1558
|
}
|
|
1559
1559
|
});
|
|
1560
|
-
const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1561
|
-
const _hoisted_1$
|
|
1562
|
-
const _sfc_main$
|
|
1560
|
+
const TaoSpoilerGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-118970dd"]]);
|
|
1561
|
+
const _hoisted_1$E = ["aria-label"];
|
|
1562
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
1563
1563
|
...{ name: "TaoCopy" },
|
|
1564
1564
|
__name: "TaoCopy",
|
|
1565
1565
|
props: {
|
|
@@ -1694,7 +1694,7 @@
|
|
|
1694
1694
|
"stroke-width": "2"
|
|
1695
1695
|
})
|
|
1696
1696
|
], -1)
|
|
1697
|
-
])], 10, _hoisted_1$
|
|
1697
|
+
])], 10, _hoisted_1$E)
|
|
1698
1698
|
], true),
|
|
1699
1699
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
1700
1700
|
copied.value && __props.tip && __props.successMessage ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -1710,8 +1710,8 @@
|
|
|
1710
1710
|
};
|
|
1711
1711
|
}
|
|
1712
1712
|
});
|
|
1713
|
-
const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1714
|
-
const _sfc_main$
|
|
1713
|
+
const TaoCopy = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-38d3381d"]]);
|
|
1714
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
1715
1715
|
...{ name: "TaoContainer" },
|
|
1716
1716
|
__name: "TaoContainer",
|
|
1717
1717
|
props: {
|
|
@@ -1728,8 +1728,8 @@
|
|
|
1728
1728
|
};
|
|
1729
1729
|
}
|
|
1730
1730
|
});
|
|
1731
|
-
const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1732
|
-
const _sfc_main$
|
|
1731
|
+
const TaoContainer = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4c0deb90"]]);
|
|
1732
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
1733
1733
|
...{ name: "TaoFlex" },
|
|
1734
1734
|
__name: "TaoFlex",
|
|
1735
1735
|
props: {
|
|
@@ -1760,7 +1760,7 @@
|
|
|
1760
1760
|
};
|
|
1761
1761
|
}
|
|
1762
1762
|
});
|
|
1763
|
-
const _sfc_main$
|
|
1763
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
1764
1764
|
...{ name: "TaoSpace" },
|
|
1765
1765
|
__name: "TaoSpace",
|
|
1766
1766
|
props: {
|
|
@@ -1780,15 +1780,15 @@
|
|
|
1780
1780
|
};
|
|
1781
1781
|
}
|
|
1782
1782
|
});
|
|
1783
|
-
const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1784
|
-
const _hoisted_1$
|
|
1785
|
-
const _hoisted_2$
|
|
1786
|
-
const _hoisted_3$
|
|
1787
|
-
const _hoisted_4$
|
|
1783
|
+
const TaoSpace = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-698ca712"]]);
|
|
1784
|
+
const _hoisted_1$D = { class: "tao-split__pane tao-split__pane--start" };
|
|
1785
|
+
const _hoisted_2$z = ["aria-orientation", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "tabindex"];
|
|
1786
|
+
const _hoisted_3$s = { class: "tao-split__pane tao-split__pane--end" };
|
|
1787
|
+
const _hoisted_4$o = {
|
|
1788
1788
|
key: 0,
|
|
1789
1789
|
class: "tao-split__shield"
|
|
1790
1790
|
};
|
|
1791
|
-
const _sfc_main$
|
|
1791
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
1792
1792
|
...{ name: "TaoSplit" },
|
|
1793
1793
|
__name: "TaoSplit",
|
|
1794
1794
|
props: {
|
|
@@ -2073,7 +2073,7 @@
|
|
|
2073
2073
|
]]),
|
|
2074
2074
|
style: vue.normalizeStyle({ "--tao-split-start": `${startPx.value}px` })
|
|
2075
2075
|
}, [
|
|
2076
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
2076
|
+
vue.createElementVNode("div", _hoisted_1$D, [
|
|
2077
2077
|
vue.renderSlot(_ctx.$slots, "start", {}, void 0, true)
|
|
2078
2078
|
]),
|
|
2079
2079
|
vue.createElementVNode("div", {
|
|
@@ -2096,18 +2096,18 @@
|
|
|
2096
2096
|
onKeydown,
|
|
2097
2097
|
onDragstart: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
2098
2098
|
}, ["prevent"]))
|
|
2099
|
-
}, null, 40, _hoisted_2$
|
|
2100
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2099
|
+
}, null, 40, _hoisted_2$z),
|
|
2100
|
+
vue.createElementVNode("div", _hoisted_3$s, [
|
|
2101
2101
|
vue.renderSlot(_ctx.$slots, "end", {}, void 0, true)
|
|
2102
2102
|
]),
|
|
2103
|
-
isDragging.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
2103
|
+
isDragging.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$o)) : vue.createCommentVNode("", true)
|
|
2104
2104
|
], 6);
|
|
2105
2105
|
};
|
|
2106
2106
|
}
|
|
2107
2107
|
});
|
|
2108
|
-
const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2109
|
-
const _hoisted_1$
|
|
2110
|
-
const _sfc_main$
|
|
2108
|
+
const TaoSplit = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f44196dc"]]);
|
|
2109
|
+
const _hoisted_1$C = { class: "tao-icon" };
|
|
2110
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
2111
2111
|
...{ name: "TaoIcon" },
|
|
2112
2112
|
__name: "TaoIcon",
|
|
2113
2113
|
props: {
|
|
@@ -2122,7 +2122,7 @@
|
|
|
2122
2122
|
}));
|
|
2123
2123
|
const props = __props;
|
|
2124
2124
|
return (_ctx, _cache) => {
|
|
2125
|
-
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2125
|
+
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$C, [
|
|
2126
2126
|
vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
|
|
2127
2127
|
vue.createElementVNode("i", {
|
|
2128
2128
|
class: vue.normalizeClass(["tao-icon__value", [`icon-${props.name}`, { "tao-icon__value--invert": props.invert }]]),
|
|
@@ -2133,8 +2133,8 @@
|
|
|
2133
2133
|
};
|
|
2134
2134
|
}
|
|
2135
2135
|
});
|
|
2136
|
-
const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2137
|
-
const _sfc_main$
|
|
2136
|
+
const TaoIcon = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-145b2cfc"]]);
|
|
2137
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
2138
2138
|
...{ name: "TaoLoader" },
|
|
2139
2139
|
__name: "TaoLoader",
|
|
2140
2140
|
props: {
|
|
@@ -2195,11 +2195,11 @@
|
|
|
2195
2195
|
};
|
|
2196
2196
|
}
|
|
2197
2197
|
});
|
|
2198
|
-
const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2199
|
-
const _hoisted_1$
|
|
2200
|
-
const _hoisted_2$
|
|
2201
|
-
const _hoisted_3$
|
|
2202
|
-
const _sfc_main$
|
|
2198
|
+
const TaoLoader = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-75a40018"]]);
|
|
2199
|
+
const _hoisted_1$B = { class: "tao-image" };
|
|
2200
|
+
const _hoisted_2$y = ["src", "alt", "loading"];
|
|
2201
|
+
const _hoisted_3$r = { class: "tao-image__placeholder" };
|
|
2202
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
2203
2203
|
...{ name: "TaoImage" },
|
|
2204
2204
|
__name: "TaoImage",
|
|
2205
2205
|
props: {
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
hasError.value = false;
|
|
2231
2231
|
});
|
|
2232
2232
|
return (_ctx, _cache) => {
|
|
2233
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2233
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
2234
2234
|
__props.src && !hasError.value ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
2235
2235
|
key: 0,
|
|
2236
2236
|
class: vue.normalizeClass({ "tao-image__img--hidden": !isLoaded.value, "tao-image__img--pixelated": props.pixelated }),
|
|
@@ -2241,26 +2241,26 @@
|
|
|
2241
2241
|
draggable: "false",
|
|
2242
2242
|
onLoad: handleLoad,
|
|
2243
2243
|
onError: handleError
|
|
2244
|
-
}, null, 42, _hoisted_2$
|
|
2244
|
+
}, null, 42, _hoisted_2$y)) : vue.createCommentVNode("", true),
|
|
2245
2245
|
!__props.src || hasError.value ? vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2246
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2246
|
+
vue.createElementVNode("div", _hoisted_3$r, vue.toDisplayString(__props.placeholderText), 1)
|
|
2247
2247
|
], true, 1) : vue.createCommentVNode("", true)
|
|
2248
2248
|
]);
|
|
2249
2249
|
};
|
|
2250
2250
|
}
|
|
2251
2251
|
});
|
|
2252
|
-
const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2253
|
-
const _hoisted_1$
|
|
2254
|
-
const _hoisted_2$
|
|
2255
|
-
const _hoisted_3$
|
|
2252
|
+
const TaoImage = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-aea39025"]]);
|
|
2253
|
+
const _hoisted_1$A = ["for"];
|
|
2254
|
+
const _hoisted_2$x = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
|
|
2255
|
+
const _hoisted_3$q = {
|
|
2256
2256
|
key: 0,
|
|
2257
2257
|
class: "tao-checkbox__label"
|
|
2258
2258
|
};
|
|
2259
|
-
const _hoisted_4$
|
|
2259
|
+
const _hoisted_4$n = {
|
|
2260
2260
|
key: 1,
|
|
2261
2261
|
class: "tao-checkbox__label"
|
|
2262
2262
|
};
|
|
2263
|
-
const _sfc_main$
|
|
2263
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
2264
2264
|
...{ name: "TaoCheckbox" },
|
|
2265
2265
|
__name: "TaoCheckbox",
|
|
2266
2266
|
props: {
|
|
@@ -2330,25 +2330,25 @@
|
|
|
2330
2330
|
"aria-invalid": invalid.value || void 0,
|
|
2331
2331
|
"aria-describedby": describedBy.value,
|
|
2332
2332
|
onChange: onInputChange
|
|
2333
|
-
}, null, 40, _hoisted_2$
|
|
2333
|
+
}, null, 40, _hoisted_2$x),
|
|
2334
2334
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
|
|
2335
|
-
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
2335
|
+
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$n, [
|
|
2336
2336
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2337
2337
|
])),
|
|
2338
2338
|
vue.renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
|
|
2339
|
-
], 10, _hoisted_1$
|
|
2339
|
+
], 10, _hoisted_1$A);
|
|
2340
2340
|
};
|
|
2341
2341
|
}
|
|
2342
2342
|
});
|
|
2343
|
-
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2344
|
-
const _hoisted_1$
|
|
2343
|
+
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-f6b0e565"]]);
|
|
2344
|
+
const _hoisted_1$z = {
|
|
2345
2345
|
key: 0,
|
|
2346
2346
|
class: "tao-tag__prefix"
|
|
2347
2347
|
};
|
|
2348
|
-
const _hoisted_2$
|
|
2349
|
-
const _hoisted_3$
|
|
2350
|
-
const _hoisted_4$
|
|
2351
|
-
const _sfc_main$
|
|
2348
|
+
const _hoisted_2$w = { class: "tao-tag__text" };
|
|
2349
|
+
const _hoisted_3$p = ["aria-label"];
|
|
2350
|
+
const _hoisted_4$m = { "aria-hidden": "true" };
|
|
2351
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
2352
2352
|
...{ name: "TaoTag" },
|
|
2353
2353
|
__name: "TaoTag",
|
|
2354
2354
|
props: {
|
|
@@ -2388,10 +2388,10 @@
|
|
|
2388
2388
|
]]),
|
|
2389
2389
|
style: vue.normalizeStyle(style.value)
|
|
2390
2390
|
}, [
|
|
2391
|
-
_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2391
|
+
_ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$z, [
|
|
2392
2392
|
vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
2393
2393
|
])) : vue.createCommentVNode("", true),
|
|
2394
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
2394
|
+
vue.createElementVNode("span", _hoisted_2$w, [
|
|
2395
2395
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2396
2396
|
]),
|
|
2397
2397
|
__props.closable ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -2401,27 +2401,27 @@
|
|
|
2401
2401
|
"aria-label": __props.closeLabel,
|
|
2402
2402
|
onClick: vue.withModifiers(onClose, ["stop"])
|
|
2403
2403
|
}, [
|
|
2404
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
2404
|
+
vue.createElementVNode("span", _hoisted_4$m, [
|
|
2405
2405
|
vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
2406
2406
|
_cache[0] || (_cache[0] = vue.createTextVNode("✕", -1))
|
|
2407
2407
|
], true)
|
|
2408
2408
|
])
|
|
2409
|
-
], 8, _hoisted_3$
|
|
2409
|
+
], 8, _hoisted_3$p)) : vue.createCommentVNode("", true)
|
|
2410
2410
|
], 6);
|
|
2411
2411
|
};
|
|
2412
2412
|
}
|
|
2413
2413
|
});
|
|
2414
|
-
const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2415
|
-
const _hoisted_1$
|
|
2414
|
+
const TaoTag = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-f353f529"]]);
|
|
2415
|
+
const _hoisted_1$y = {
|
|
2416
2416
|
key: 1,
|
|
2417
2417
|
class: "tao-divider-text"
|
|
2418
2418
|
};
|
|
2419
|
-
const _hoisted_2$
|
|
2420
|
-
const _hoisted_3$
|
|
2419
|
+
const _hoisted_2$v = { class: "tao-divider-text__value" };
|
|
2420
|
+
const _hoisted_3$o = {
|
|
2421
2421
|
key: 2,
|
|
2422
2422
|
class: "tao-divider-line"
|
|
2423
2423
|
};
|
|
2424
|
-
const _sfc_main$
|
|
2424
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
2425
2425
|
...{ name: "TaoDivider" },
|
|
2426
2426
|
__name: "TaoDivider",
|
|
2427
2427
|
props: {
|
|
@@ -2435,23 +2435,23 @@
|
|
|
2435
2435
|
return __props.variant === "gap" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
2436
2436
|
key: 0,
|
|
2437
2437
|
class: vue.normalizeClass(["tao-divider-gap", `tao-divider-gap--${gapSize.value}`])
|
|
2438
|
-
}, null, 2)) : __props.variant === "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2438
|
+
}, null, 2)) : __props.variant === "text" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
|
|
2439
2439
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "tao-divider-text__line tao-divider-text__line--left" }, null, -1)),
|
|
2440
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
2440
|
+
vue.createElementVNode("span", _hoisted_2$v, [
|
|
2441
2441
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2442
2442
|
]),
|
|
2443
2443
|
_cache[1] || (_cache[1] = vue.createElementVNode("span", { class: "tao-divider-text__line tao-divider-text__line--right" }, null, -1))
|
|
2444
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
2444
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$o));
|
|
2445
2445
|
};
|
|
2446
2446
|
}
|
|
2447
2447
|
});
|
|
2448
|
-
const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2449
|
-
const _hoisted_1$
|
|
2448
|
+
const TaoDivider = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-8187a15d"]]);
|
|
2449
|
+
const _hoisted_1$x = {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: "tao-fieldset__legend"
|
|
2452
2452
|
};
|
|
2453
|
-
const _hoisted_2$
|
|
2454
|
-
const _sfc_main$
|
|
2453
|
+
const _hoisted_2$u = { class: "tao-fieldset__body" };
|
|
2454
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
2455
2455
|
...{ name: "TaoFieldset" },
|
|
2456
2456
|
__name: "TaoFieldset",
|
|
2457
2457
|
props: {
|
|
@@ -2463,20 +2463,20 @@
|
|
|
2463
2463
|
return vue.openBlock(), vue.createElementBlock("fieldset", {
|
|
2464
2464
|
class: vue.normalizeClass(["tao-fieldset", `tao-fieldset--${__props.align}`])
|
|
2465
2465
|
}, [
|
|
2466
|
-
__props.legend || _ctx.$slots.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_1$
|
|
2466
|
+
__props.legend || _ctx.$slots.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_1$x, [
|
|
2467
2467
|
vue.renderSlot(_ctx.$slots, "legend", {}, () => [
|
|
2468
2468
|
vue.createTextVNode(vue.toDisplayString(__props.legend), 1)
|
|
2469
2469
|
], true)
|
|
2470
2470
|
])) : vue.createCommentVNode("", true),
|
|
2471
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2471
|
+
vue.createElementVNode("div", _hoisted_2$u, [
|
|
2472
2472
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2473
2473
|
])
|
|
2474
2474
|
], 2);
|
|
2475
2475
|
};
|
|
2476
2476
|
}
|
|
2477
2477
|
});
|
|
2478
|
-
const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2479
|
-
const _sfc_main$
|
|
2478
|
+
const TaoFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-34440ba5"]]);
|
|
2479
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
2480
2480
|
...{ name: "TaoAnimatedBorder" },
|
|
2481
2481
|
__name: "TaoAnimatedBorder",
|
|
2482
2482
|
props: {
|
|
@@ -2500,18 +2500,18 @@
|
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
2502
|
});
|
|
2503
|
-
const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2504
|
-
const _hoisted_1$
|
|
2503
|
+
const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-f1534571"]]);
|
|
2504
|
+
const _hoisted_1$w = {
|
|
2505
2505
|
key: 0,
|
|
2506
2506
|
class: "tao-textarea tao-textarea--dummy"
|
|
2507
2507
|
};
|
|
2508
|
-
const _hoisted_2$
|
|
2508
|
+
const _hoisted_2$t = {
|
|
2509
2509
|
key: 1,
|
|
2510
2510
|
class: "tao-textarea-wrap"
|
|
2511
2511
|
};
|
|
2512
|
-
const _hoisted_3$
|
|
2513
|
-
const _hoisted_4$
|
|
2514
|
-
const _sfc_main$
|
|
2512
|
+
const _hoisted_3$n = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "rows", "value", "aria-invalid", "aria-describedby"];
|
|
2513
|
+
const _hoisted_4$l = ["id"];
|
|
2514
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
2515
2515
|
...{ name: "TaoTextarea" },
|
|
2516
2516
|
__name: "TaoTextarea",
|
|
2517
2517
|
props: {
|
|
@@ -2608,7 +2608,7 @@
|
|
|
2608
2608
|
vue.nextTick(autoResize);
|
|
2609
2609
|
});
|
|
2610
2610
|
return (_ctx, _cache) => {
|
|
2611
|
-
return __props.dummy ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
2611
|
+
return __props.dummy ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$w, vue.toDisplayString(__props.modelValue), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$t, [
|
|
2612
2612
|
vue.createElementVNode("textarea", {
|
|
2613
2613
|
id: controlId.value,
|
|
2614
2614
|
ref_key: "textareaRef",
|
|
@@ -2637,21 +2637,21 @@
|
|
|
2637
2637
|
onFocus,
|
|
2638
2638
|
onBlur,
|
|
2639
2639
|
onKeydown
|
|
2640
|
-
}, null, 42, _hoisted_3$
|
|
2640
|
+
}, null, 42, _hoisted_3$n),
|
|
2641
2641
|
__props.count ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
2642
2642
|
key: 0,
|
|
2643
2643
|
id: counterId.value,
|
|
2644
2644
|
class: vue.normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
|
|
2645
|
-
}, vue.toDisplayString(countLabel.value), 11, _hoisted_4$
|
|
2645
|
+
}, vue.toDisplayString(countLabel.value), 11, _hoisted_4$l)) : vue.createCommentVNode("", true)
|
|
2646
2646
|
]));
|
|
2647
2647
|
};
|
|
2648
2648
|
}
|
|
2649
2649
|
});
|
|
2650
|
-
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2651
|
-
const _hoisted_1$
|
|
2652
|
-
const _hoisted_2$
|
|
2650
|
+
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-2534c0c4"]]);
|
|
2651
|
+
const _hoisted_1$v = ["tabindex", "aria-label"];
|
|
2652
|
+
const _hoisted_2$s = { class: "tao-scroll-top__content" };
|
|
2653
2653
|
const RIPPLE_DURATION = 750;
|
|
2654
|
-
const _sfc_main$
|
|
2654
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
2655
2655
|
...{ name: "TaoScrollTop" },
|
|
2656
2656
|
__name: "TaoScrollTop",
|
|
2657
2657
|
props: {
|
|
@@ -2752,7 +2752,7 @@
|
|
|
2752
2752
|
"aria-label": props.ariaLabel,
|
|
2753
2753
|
onClick: vue.withModifiers(onClick, ["prevent"])
|
|
2754
2754
|
}, [
|
|
2755
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2755
|
+
vue.createElementVNode("div", _hoisted_2$s, [
|
|
2756
2756
|
vue.createElementVNode("div", {
|
|
2757
2757
|
class: vue.normalizeClass([{ "tao-scroll-top__ripple--active": isRippleActive.value }, "tao-scroll-top__ripple"]),
|
|
2758
2758
|
style: vue.normalizeStyle(rippleStyle)
|
|
@@ -2769,33 +2769,33 @@
|
|
|
2769
2769
|
], -1))
|
|
2770
2770
|
], true)
|
|
2771
2771
|
])
|
|
2772
|
-
], 14, _hoisted_1$
|
|
2772
|
+
], 14, _hoisted_1$v)) : vue.createCommentVNode("", true)
|
|
2773
2773
|
]),
|
|
2774
2774
|
_: 3
|
|
2775
2775
|
});
|
|
2776
2776
|
};
|
|
2777
2777
|
}
|
|
2778
2778
|
});
|
|
2779
|
-
const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2780
|
-
const _hoisted_1$
|
|
2781
|
-
const _hoisted_2$
|
|
2779
|
+
const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-59678649"]]);
|
|
2780
|
+
const _hoisted_1$u = { class: "tao-progress" };
|
|
2781
|
+
const _hoisted_2$r = {
|
|
2782
2782
|
key: 0,
|
|
2783
2783
|
class: "tao-progress__side"
|
|
2784
2784
|
};
|
|
2785
|
-
const _hoisted_3$
|
|
2786
|
-
const _hoisted_4$
|
|
2785
|
+
const _hoisted_3$m = { class: "tao-progress__main" };
|
|
2786
|
+
const _hoisted_4$k = {
|
|
2787
2787
|
key: 0,
|
|
2788
2788
|
class: "tao-progress__percentage"
|
|
2789
2789
|
};
|
|
2790
|
-
const _hoisted_5$
|
|
2790
|
+
const _hoisted_5$g = {
|
|
2791
2791
|
key: 1,
|
|
2792
2792
|
class: "tao-progress__side"
|
|
2793
2793
|
};
|
|
2794
|
-
const _hoisted_6$
|
|
2794
|
+
const _hoisted_6$d = {
|
|
2795
2795
|
key: 0,
|
|
2796
2796
|
class: "tao-progress__percentage"
|
|
2797
2797
|
};
|
|
2798
|
-
const _sfc_main$
|
|
2798
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
2799
2799
|
...{ name: "TaoProgress" },
|
|
2800
2800
|
__name: "TaoProgress",
|
|
2801
2801
|
props: {
|
|
@@ -2826,16 +2826,16 @@
|
|
|
2826
2826
|
() => hasRight.value ? `(${props.progress}%)` : `${props.progress}%`
|
|
2827
2827
|
);
|
|
2828
2828
|
return (_ctx, _cache) => {
|
|
2829
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2829
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
2830
2830
|
vue.createElementVNode("div", {
|
|
2831
2831
|
class: vue.normalizeClass(["tao-progress__container", { "tao-progress__container--over": showOverPercent.value }]),
|
|
2832
2832
|
style: vue.normalizeStyle({ minWidth: `${minW.value}px`, maxWidth: `${maxW.value}px` })
|
|
2833
2833
|
}, [
|
|
2834
|
-
_ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
2834
|
+
_ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
|
|
2835
2835
|
vue.renderSlot(_ctx.$slots, "left", {}, void 0, true)
|
|
2836
2836
|
])) : vue.createCommentVNode("", true),
|
|
2837
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2838
|
-
showOverPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
2837
|
+
vue.createElementVNode("div", _hoisted_3$m, [
|
|
2838
|
+
showOverPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$k, vue.toDisplayString(__props.progress) + "%", 1)) : vue.createCommentVNode("", true),
|
|
2839
2839
|
vue.createElementVNode("div", {
|
|
2840
2840
|
class: "tao-progress__track",
|
|
2841
2841
|
style: vue.normalizeStyle({ height: `${__props.height}px` })
|
|
@@ -2846,23 +2846,23 @@
|
|
|
2846
2846
|
}, null, 6)
|
|
2847
2847
|
], 4)
|
|
2848
2848
|
]),
|
|
2849
|
-
_ctx.$slots.right || showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
2849
|
+
_ctx.$slots.right || showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
|
|
2850
2850
|
vue.renderSlot(_ctx.$slots, "right", {}, void 0, true),
|
|
2851
|
-
showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
2851
|
+
showEndPercent.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$d, vue.toDisplayString(endPercentLabel.value), 1)) : vue.createCommentVNode("", true)
|
|
2852
2852
|
])) : vue.createCommentVNode("", true)
|
|
2853
2853
|
], 6)
|
|
2854
2854
|
]);
|
|
2855
2855
|
};
|
|
2856
2856
|
}
|
|
2857
2857
|
});
|
|
2858
|
-
const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2859
|
-
const _hoisted_1$
|
|
2860
|
-
const _hoisted_2$
|
|
2861
|
-
const _hoisted_3$
|
|
2858
|
+
const TaoProgress = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-54c13718"]]);
|
|
2859
|
+
const _hoisted_1$t = ["id", "tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-describedby"];
|
|
2860
|
+
const _hoisted_2$q = ["placeholder"];
|
|
2861
|
+
const _hoisted_3$l = {
|
|
2862
2862
|
key: 1,
|
|
2863
2863
|
class: "tao-slider__value"
|
|
2864
2864
|
};
|
|
2865
|
-
const _sfc_main$
|
|
2865
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
2866
2866
|
...{ name: "TaoSlider" },
|
|
2867
2867
|
__name: "TaoSlider",
|
|
2868
2868
|
props: {
|
|
@@ -3079,24 +3079,24 @@
|
|
|
3079
3079
|
onKeydown: onShadowKeydown,
|
|
3080
3080
|
onPointerdown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
3081
3081
|
}, ["stop"]))
|
|
3082
|
-
}, null, 40, _hoisted_2$
|
|
3082
|
+
}, null, 40, _hoisted_2$q)), [
|
|
3083
3083
|
[vue.vModelText, shadowModel.value]
|
|
3084
|
-
]) : __props.showValue ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
3084
|
+
]) : __props.showValue ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
|
|
3085
3085
|
vue.renderSlot(_ctx.$slots, "pre-value", {}, void 0, true),
|
|
3086
3086
|
vue.createTextVNode(vue.toDisplayString(__props.modelValue), 1),
|
|
3087
3087
|
vue.renderSlot(_ctx.$slots, "post-value", {}, void 0, true)
|
|
3088
3088
|
])) : vue.createCommentVNode("", true)
|
|
3089
|
-
], 42, _hoisted_1$
|
|
3089
|
+
], 42, _hoisted_1$t);
|
|
3090
3090
|
};
|
|
3091
3091
|
}
|
|
3092
3092
|
});
|
|
3093
|
-
const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3094
|
-
const _hoisted_1$
|
|
3095
|
-
const _hoisted_2$
|
|
3096
|
-
const _hoisted_3$
|
|
3097
|
-
const _hoisted_4$
|
|
3098
|
-
const _hoisted_5$
|
|
3099
|
-
const _hoisted_6$
|
|
3093
|
+
const TaoSlider = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-24a38782"]]);
|
|
3094
|
+
const _hoisted_1$s = { class: "tao-file-drop" };
|
|
3095
|
+
const _hoisted_2$p = { class: "tao-file-drop__row" };
|
|
3096
|
+
const _hoisted_3$k = ["aria-label"];
|
|
3097
|
+
const _hoisted_4$j = { "aria-hidden": "true" };
|
|
3098
|
+
const _hoisted_5$f = ["accept", "multiple"];
|
|
3099
|
+
const _hoisted_6$c = {
|
|
3100
3100
|
key: 0,
|
|
3101
3101
|
class: "tao-file-drop__list"
|
|
3102
3102
|
};
|
|
@@ -3104,7 +3104,7 @@
|
|
|
3104
3104
|
const _hoisted_8$9 = { class: "tao-file-drop__meta" };
|
|
3105
3105
|
const _hoisted_9$4 = ["aria-label", "onClick"];
|
|
3106
3106
|
const _hoisted_10$4 = { "aria-hidden": "true" };
|
|
3107
|
-
const _sfc_main$
|
|
3107
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
3108
3108
|
...{ name: "TaoFileDrop" },
|
|
3109
3109
|
__name: "TaoFileDrop",
|
|
3110
3110
|
props: {
|
|
@@ -3235,8 +3235,8 @@
|
|
|
3235
3235
|
});
|
|
3236
3236
|
vue.onBeforeUnmount(() => stopFocusLoss == null ? void 0 : stopFocusLoss());
|
|
3237
3237
|
return (_ctx, _cache) => {
|
|
3238
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
3239
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
3238
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
3239
|
+
vue.createElementVNode("div", _hoisted_2$p, [
|
|
3240
3240
|
__props.showClear && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
3241
3241
|
key: 0,
|
|
3242
3242
|
type: "button",
|
|
@@ -3244,12 +3244,12 @@
|
|
|
3244
3244
|
"aria-label": __props.clearLabel,
|
|
3245
3245
|
onClick: requestClear
|
|
3246
3246
|
}, [
|
|
3247
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
3247
|
+
vue.createElementVNode("span", _hoisted_4$j, [
|
|
3248
3248
|
vue.renderSlot(_ctx.$slots, "clear-icon", {}, () => [
|
|
3249
3249
|
_cache[1] || (_cache[1] = vue.createTextVNode("✕", -1))
|
|
3250
3250
|
], true)
|
|
3251
3251
|
])
|
|
3252
|
-
], 8, _hoisted_3$
|
|
3252
|
+
], 8, _hoisted_3$k)) : vue.createCommentVNode("", true),
|
|
3253
3253
|
vue.createElementVNode("label", {
|
|
3254
3254
|
class: vue.normalizeClass(["tao-file-drop__zone", [`tao-file-drop__zone--${__props.size}`, { "tao-file-drop__zone--dragging": isDragging.value }]]),
|
|
3255
3255
|
onDragover: handleDragOver,
|
|
@@ -3269,10 +3269,10 @@
|
|
|
3269
3269
|
onChange: handleFileSelect,
|
|
3270
3270
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
3271
3271
|
}, ["stop"]))
|
|
3272
|
-
}, null, 40, _hoisted_5$
|
|
3272
|
+
}, null, 40, _hoisted_5$f)
|
|
3273
3273
|
], 34)
|
|
3274
3274
|
]),
|
|
3275
|
-
__props.list && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6$
|
|
3275
|
+
__props.list && __props.modelValue.length ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_6$c, [
|
|
3276
3276
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.modelValue, (file, index) => {
|
|
3277
3277
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
3278
3278
|
key: fileKey(file, index),
|
|
@@ -3299,15 +3299,15 @@
|
|
|
3299
3299
|
};
|
|
3300
3300
|
}
|
|
3301
3301
|
});
|
|
3302
|
-
const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3303
|
-
const _hoisted_1$
|
|
3304
|
-
const _hoisted_2$
|
|
3302
|
+
const TaoFileDrop = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4b36e2a3"]]);
|
|
3303
|
+
const _hoisted_1$r = ["aria-expanded", "aria-label"];
|
|
3304
|
+
const _hoisted_2$o = {
|
|
3305
3305
|
key: 1,
|
|
3306
3306
|
"aria-hidden": "true"
|
|
3307
3307
|
};
|
|
3308
|
-
const _hoisted_3$
|
|
3309
|
-
const _hoisted_4$
|
|
3310
|
-
const _sfc_main$
|
|
3308
|
+
const _hoisted_3$j = ["onClick", "onMouseenter"];
|
|
3309
|
+
const _hoisted_4$i = { key: 1 };
|
|
3310
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
3311
3311
|
...{ name: "TaoDropdownMenu" },
|
|
3312
3312
|
__name: "TaoDropdownMenu",
|
|
3313
3313
|
props: {
|
|
@@ -3444,12 +3444,12 @@
|
|
|
3444
3444
|
"aria-label": _ctx.$slots.button ? void 0 : __props.menuLabel,
|
|
3445
3445
|
onClick: toggleMenu
|
|
3446
3446
|
}, [
|
|
3447
|
-
_ctx.$slots.button ? vue.renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
3447
|
+
_ctx.$slots.button ? vue.renderSlot(_ctx.$slots, "button", {}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$o, [
|
|
3448
3448
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
3449
3449
|
_cache[0] || (_cache[0] = vue.createTextVNode("⋮", -1))
|
|
3450
3450
|
], true)
|
|
3451
3451
|
]))
|
|
3452
|
-
], 8, _hoisted_1$
|
|
3452
|
+
], 8, _hoisted_1$r),
|
|
3453
3453
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
3454
3454
|
isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
3455
3455
|
key: 0,
|
|
@@ -3474,8 +3474,8 @@
|
|
|
3474
3474
|
id: action.id,
|
|
3475
3475
|
ico: action.ico,
|
|
3476
3476
|
text: action.name
|
|
3477
|
-
}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
3478
|
-
], 42, _hoisted_3$
|
|
3477
|
+
}, void 0, true, 0) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$i, vue.toDisplayString(action.name), 1))
|
|
3478
|
+
], 42, _hoisted_3$j);
|
|
3479
3479
|
}), 128))
|
|
3480
3480
|
], 36)) : vue.createCommentVNode("", true)
|
|
3481
3481
|
]))
|
|
@@ -3483,10 +3483,10 @@
|
|
|
3483
3483
|
};
|
|
3484
3484
|
}
|
|
3485
3485
|
});
|
|
3486
|
-
const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3487
|
-
const _hoisted_1$
|
|
3488
|
-
const _hoisted_2$
|
|
3489
|
-
const _sfc_main$
|
|
3486
|
+
const TaoDropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cbfa7294"]]);
|
|
3487
|
+
const _hoisted_1$q = ["aria-invalid", "aria-describedby"];
|
|
3488
|
+
const _hoisted_2$n = ["id", "value", "placeholder", "type", "inputmode", "pattern", "maxlength", "onInput", "onPaste", "onKeydown", "onFocus"];
|
|
3489
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
3490
3490
|
...{ name: "TaoPinCode" },
|
|
3491
3491
|
__name: "TaoPinCode",
|
|
3492
3492
|
props: {
|
|
@@ -3695,14 +3695,14 @@
|
|
|
3695
3695
|
onKeydown: ($event) => onKeydown($event, index),
|
|
3696
3696
|
onFocus: ($event) => onFocus(index),
|
|
3697
3697
|
onBlur
|
|
3698
|
-
}, null, 42, _hoisted_2$
|
|
3698
|
+
}, null, 42, _hoisted_2$n);
|
|
3699
3699
|
}), 128))
|
|
3700
|
-
], 8, _hoisted_1$
|
|
3700
|
+
], 8, _hoisted_1$q);
|
|
3701
3701
|
};
|
|
3702
3702
|
}
|
|
3703
3703
|
});
|
|
3704
|
-
const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3705
|
-
const _sfc_main$
|
|
3704
|
+
const TaoPinCode = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-44474500"]]);
|
|
3705
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
3706
3706
|
...{ name: "TaoLink" },
|
|
3707
3707
|
__name: "TaoLink",
|
|
3708
3708
|
props: {
|
|
@@ -3744,8 +3744,8 @@
|
|
|
3744
3744
|
};
|
|
3745
3745
|
}
|
|
3746
3746
|
});
|
|
3747
|
-
const _hoisted_1$
|
|
3748
|
-
const _sfc_main$
|
|
3747
|
+
const _hoisted_1$p = ["for"];
|
|
3748
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
3749
3749
|
...{ name: "TaoFormField" },
|
|
3750
3750
|
__name: "TaoFormField",
|
|
3751
3751
|
props: {
|
|
@@ -3795,7 +3795,7 @@
|
|
|
3795
3795
|
class: "tao-form-field__label",
|
|
3796
3796
|
for: vue.unref(id),
|
|
3797
3797
|
onClick: onLabelClick
|
|
3798
|
-
}, vue.toDisplayString(__props.label), 9, _hoisted_1$
|
|
3798
|
+
}, vue.toDisplayString(__props.label), 9, _hoisted_1$p)) : vue.createCommentVNode("", true),
|
|
3799
3799
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
3800
3800
|
__props.error ? (vue.openBlock(), vue.createElementBlock("p", {
|
|
3801
3801
|
key: 1,
|
|
@@ -3810,12 +3810,12 @@
|
|
|
3810
3810
|
};
|
|
3811
3811
|
}
|
|
3812
3812
|
});
|
|
3813
|
-
const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3814
|
-
const _hoisted_1$
|
|
3815
|
-
const _hoisted_2$
|
|
3816
|
-
const _hoisted_3$
|
|
3817
|
-
const _hoisted_4$
|
|
3818
|
-
const _sfc_main$
|
|
3813
|
+
const TaoFormField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-edd0be31"]]);
|
|
3814
|
+
const _hoisted_1$o = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
|
|
3815
|
+
const _hoisted_2$m = { class: "tao-select__value" };
|
|
3816
|
+
const _hoisted_3$i = ["aria-activedescendant"];
|
|
3817
|
+
const _hoisted_4$h = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
|
|
3818
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
3819
3819
|
...{ name: "TaoSelect" },
|
|
3820
3820
|
__name: "TaoSelect",
|
|
3821
3821
|
props: {
|
|
@@ -4033,14 +4033,14 @@
|
|
|
4033
4033
|
onClick: toggle,
|
|
4034
4034
|
onKeydown: onTriggerKeydown
|
|
4035
4035
|
}, [
|
|
4036
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
4036
|
+
vue.createElementVNode("span", _hoisted_2$m, vue.toDisplayString(((_a = selected.value) == null ? void 0 : _a.label) ?? __props.placeholder), 1),
|
|
4037
4037
|
vue.createElementVNode("span", {
|
|
4038
4038
|
class: vue.normalizeClass(["tao-select__chevron", { "tao-select__chevron--custom": _ctx.$slots.chevron }]),
|
|
4039
4039
|
"aria-hidden": "true"
|
|
4040
4040
|
}, [
|
|
4041
4041
|
vue.renderSlot(_ctx.$slots, "chevron", {}, void 0, true)
|
|
4042
4042
|
], 2)
|
|
4043
|
-
], 42, _hoisted_1$
|
|
4043
|
+
], 42, _hoisted_1$o),
|
|
4044
4044
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
4045
4045
|
open.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
4046
4046
|
key: 0,
|
|
@@ -4076,9 +4076,9 @@
|
|
|
4076
4076
|
}, ["prevent"])),
|
|
4077
4077
|
onClick: ($event) => selectOption(option),
|
|
4078
4078
|
onMouseenter: ($event) => !option.disabled && (activeIndex.value = index)
|
|
4079
|
-
}, vue.toDisplayString(option.label), 43, _hoisted_4$
|
|
4079
|
+
}, vue.toDisplayString(option.label), 43, _hoisted_4$h);
|
|
4080
4080
|
}), 128))
|
|
4081
|
-
], 40, _hoisted_3$
|
|
4081
|
+
], 40, _hoisted_3$i),
|
|
4082
4082
|
selected.value ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
4083
4083
|
key: 0,
|
|
4084
4084
|
type: "button",
|
|
@@ -4097,14 +4097,14 @@
|
|
|
4097
4097
|
};
|
|
4098
4098
|
}
|
|
4099
4099
|
});
|
|
4100
|
-
const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4101
|
-
const _hoisted_1$
|
|
4102
|
-
const _hoisted_2$
|
|
4100
|
+
const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-d9b336d8"]]);
|
|
4101
|
+
const _hoisted_1$n = ["id", "aria-expanded", "aria-activedescendant", "aria-invalid", "aria-describedby", "disabled", "placeholder", "value"];
|
|
4102
|
+
const _hoisted_2$l = {
|
|
4103
4103
|
key: 0,
|
|
4104
4104
|
class: "tao-combobox__empty"
|
|
4105
4105
|
};
|
|
4106
|
-
const _hoisted_3$
|
|
4107
|
-
const _sfc_main$
|
|
4106
|
+
const _hoisted_3$h = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
|
|
4107
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
4108
4108
|
...{ name: "TaoCombobox" },
|
|
4109
4109
|
__name: "TaoCombobox",
|
|
4110
4110
|
props: {
|
|
@@ -4525,7 +4525,7 @@
|
|
|
4525
4525
|
onFocus,
|
|
4526
4526
|
onBlur,
|
|
4527
4527
|
onKeydown: onInputKeydown
|
|
4528
|
-
}, null, 40, _hoisted_1$
|
|
4528
|
+
}, null, 40, _hoisted_1$n),
|
|
4529
4529
|
vue.createElementVNode("span", {
|
|
4530
4530
|
class: vue.normalizeClass(["tao-combobox__chevron", { "tao-combobox__chevron--custom": _ctx.$slots.chevron }]),
|
|
4531
4531
|
"aria-hidden": "true"
|
|
@@ -4548,7 +4548,7 @@
|
|
|
4548
4548
|
class: "tao-combobox__list",
|
|
4549
4549
|
role: "listbox"
|
|
4550
4550
|
}, [
|
|
4551
|
-
!rows.value.length ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$
|
|
4551
|
+
!rows.value.length ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$l, [
|
|
4552
4552
|
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
4553
4553
|
vue.createTextVNode(vue.toDisplayString(__props.emptyText), 1)
|
|
4554
4554
|
], true)
|
|
@@ -4578,7 +4578,7 @@
|
|
|
4578
4578
|
], true, 0) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
4579
4579
|
vue.createTextVNode(vue.toDisplayString(row.option.label), 1)
|
|
4580
4580
|
], 64))
|
|
4581
|
-
], 42, _hoisted_3$
|
|
4581
|
+
], 42, _hoisted_3$h);
|
|
4582
4582
|
}), 128))
|
|
4583
4583
|
], 512),
|
|
4584
4584
|
selected.value ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
@@ -4598,7 +4598,7 @@
|
|
|
4598
4598
|
};
|
|
4599
4599
|
}
|
|
4600
4600
|
});
|
|
4601
|
-
const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4601
|
+
const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-131d254d"]]);
|
|
4602
4602
|
const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
4603
4603
|
function formatTaoDateIso(parts) {
|
|
4604
4604
|
return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
|
|
@@ -4741,15 +4741,15 @@
|
|
|
4741
4741
|
};
|
|
4742
4742
|
});
|
|
4743
4743
|
}
|
|
4744
|
-
const _hoisted_1$
|
|
4745
|
-
const _hoisted_2$
|
|
4746
|
-
const _hoisted_3$
|
|
4744
|
+
const _hoisted_1$m = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
|
|
4745
|
+
const _hoisted_2$k = { class: "tao-date__value" };
|
|
4746
|
+
const _hoisted_3$g = {
|
|
4747
4747
|
class: "tao-date__icon",
|
|
4748
4748
|
"aria-hidden": "true"
|
|
4749
4749
|
};
|
|
4750
|
-
const _hoisted_4$
|
|
4751
|
-
const _hoisted_5$
|
|
4752
|
-
const _hoisted_6$
|
|
4750
|
+
const _hoisted_4$g = ["aria-label"];
|
|
4751
|
+
const _hoisted_5$e = { class: "tao-date__header" };
|
|
4752
|
+
const _hoisted_6$b = ["aria-label"];
|
|
4753
4753
|
const _hoisted_7$9 = { "aria-hidden": "true" };
|
|
4754
4754
|
const _hoisted_8$8 = { class: "tao-date__month" };
|
|
4755
4755
|
const _hoisted_9$3 = ["aria-label"];
|
|
@@ -4765,7 +4765,7 @@
|
|
|
4765
4765
|
const _hoisted_13$1 = ["aria-label", "aria-selected", "disabled", "onClick"];
|
|
4766
4766
|
const _hoisted_14$1 = { class: "tao-date__footer" };
|
|
4767
4767
|
const _hoisted_15 = ["disabled"];
|
|
4768
|
-
const _sfc_main$
|
|
4768
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
4769
4769
|
...{ name: "TaoDate" },
|
|
4770
4770
|
__name: "TaoDate",
|
|
4771
4771
|
props: {
|
|
@@ -4994,8 +4994,8 @@
|
|
|
4994
4994
|
onClick: toggle,
|
|
4995
4995
|
onKeydown: onTriggerKeydown
|
|
4996
4996
|
}, [
|
|
4997
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
4998
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
4997
|
+
vue.createElementVNode("span", _hoisted_2$k, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
|
|
4998
|
+
vue.createElementVNode("span", _hoisted_3$g, [
|
|
4999
4999
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
5000
5000
|
_cache[4] || (_cache[4] = vue.createElementVNode("svg", {
|
|
5001
5001
|
viewBox: "0 0 16 16",
|
|
@@ -5023,7 +5023,7 @@
|
|
|
5023
5023
|
], -1))
|
|
5024
5024
|
], true)
|
|
5025
5025
|
])
|
|
5026
|
-
], 42, _hoisted_1$
|
|
5026
|
+
], 42, _hoisted_1$m),
|
|
5027
5027
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
5028
5028
|
open.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5029
5029
|
key: 0,
|
|
@@ -5037,7 +5037,7 @@
|
|
|
5037
5037
|
style: vue.normalizeStyle(panelStyle.value),
|
|
5038
5038
|
onKeydown: onPanelKeydown
|
|
5039
5039
|
}, [
|
|
5040
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
5040
|
+
vue.createElementVNode("div", _hoisted_5$e, [
|
|
5041
5041
|
vue.createElementVNode("button", {
|
|
5042
5042
|
type: "button",
|
|
5043
5043
|
class: "tao-date__nav",
|
|
@@ -5063,7 +5063,7 @@
|
|
|
5063
5063
|
], -1))
|
|
5064
5064
|
], true)
|
|
5065
5065
|
])
|
|
5066
|
-
], 8, _hoisted_6$
|
|
5066
|
+
], 8, _hoisted_6$b),
|
|
5067
5067
|
vue.createElementVNode("p", _hoisted_8$8, vue.toDisplayString(monthLabel.value), 1),
|
|
5068
5068
|
vue.createElementVNode("button", {
|
|
5069
5069
|
type: "button",
|
|
@@ -5141,22 +5141,22 @@
|
|
|
5141
5141
|
], true)
|
|
5142
5142
|
])) : vue.createCommentVNode("", true)
|
|
5143
5143
|
])
|
|
5144
|
-
], 44, _hoisted_4$
|
|
5144
|
+
], 44, _hoisted_4$g)) : vue.createCommentVNode("", true)
|
|
5145
5145
|
]))
|
|
5146
5146
|
], 2);
|
|
5147
5147
|
};
|
|
5148
5148
|
}
|
|
5149
5149
|
});
|
|
5150
|
-
const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5151
|
-
const _hoisted_1$
|
|
5152
|
-
const _hoisted_2$
|
|
5153
|
-
const _hoisted_3$
|
|
5150
|
+
const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ebd437a8"]]);
|
|
5151
|
+
const _hoisted_1$l = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
|
|
5152
|
+
const _hoisted_2$j = { class: "tao-date-range__value" };
|
|
5153
|
+
const _hoisted_3$f = {
|
|
5154
5154
|
class: "tao-date-range__icon",
|
|
5155
5155
|
"aria-hidden": "true"
|
|
5156
5156
|
};
|
|
5157
|
-
const _hoisted_4$
|
|
5158
|
-
const _hoisted_5$
|
|
5159
|
-
const _hoisted_6$
|
|
5157
|
+
const _hoisted_4$f = ["aria-label"];
|
|
5158
|
+
const _hoisted_5$d = { class: "tao-date__header" };
|
|
5159
|
+
const _hoisted_6$a = ["aria-label"];
|
|
5160
5160
|
const _hoisted_7$8 = { "aria-hidden": "true" };
|
|
5161
5161
|
const _hoisted_8$7 = { class: "tao-date__month" };
|
|
5162
5162
|
const _hoisted_9$2 = ["aria-label"];
|
|
@@ -5168,7 +5168,7 @@
|
|
|
5168
5168
|
const _hoisted_12 = ["aria-label", "aria-selected", "disabled", "onMouseenter", "onClick"];
|
|
5169
5169
|
const _hoisted_13 = { class: "tao-date__footer" };
|
|
5170
5170
|
const _hoisted_14 = ["disabled"];
|
|
5171
|
-
const _sfc_main$
|
|
5171
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
5172
5172
|
...{ name: "TaoDateRange" },
|
|
5173
5173
|
__name: "TaoDateRange",
|
|
5174
5174
|
props: {
|
|
@@ -5451,8 +5451,8 @@
|
|
|
5451
5451
|
onClick: toggle,
|
|
5452
5452
|
onKeydown: onTriggerKeydown
|
|
5453
5453
|
}, [
|
|
5454
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
5455
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
5454
|
+
vue.createElementVNode("span", _hoisted_2$j, vue.toDisplayString(displayLabel.value || __props.placeholder), 1),
|
|
5455
|
+
vue.createElementVNode("span", _hoisted_3$f, [
|
|
5456
5456
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
5457
5457
|
_cache[3] || (_cache[3] = vue.createElementVNode("svg", {
|
|
5458
5458
|
viewBox: "0 0 16 16",
|
|
@@ -5480,7 +5480,7 @@
|
|
|
5480
5480
|
], -1))
|
|
5481
5481
|
], true)
|
|
5482
5482
|
])
|
|
5483
|
-
], 42, _hoisted_1$
|
|
5483
|
+
], 42, _hoisted_1$l),
|
|
5484
5484
|
(vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
|
|
5485
5485
|
open.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5486
5486
|
key: 0,
|
|
@@ -5494,7 +5494,7 @@
|
|
|
5494
5494
|
style: vue.normalizeStyle(panelStyle.value),
|
|
5495
5495
|
onKeydown: onPanelKeydown
|
|
5496
5496
|
}, [
|
|
5497
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
5497
|
+
vue.createElementVNode("div", _hoisted_5$d, [
|
|
5498
5498
|
vue.createElementVNode("button", {
|
|
5499
5499
|
type: "button",
|
|
5500
5500
|
class: "tao-date__nav",
|
|
@@ -5520,7 +5520,7 @@
|
|
|
5520
5520
|
], -1))
|
|
5521
5521
|
], true)
|
|
5522
5522
|
])
|
|
5523
|
-
], 8, _hoisted_6$
|
|
5523
|
+
], 8, _hoisted_6$a),
|
|
5524
5524
|
vue.createElementVNode("p", _hoisted_8$7, vue.toDisplayString(monthLabel.value), 1),
|
|
5525
5525
|
vue.createElementVNode("button", {
|
|
5526
5526
|
type: "button",
|
|
@@ -5607,24 +5607,24 @@
|
|
|
5607
5607
|
], true)
|
|
5608
5608
|
])) : vue.createCommentVNode("", true)
|
|
5609
5609
|
])
|
|
5610
|
-
], 44, _hoisted_4$
|
|
5610
|
+
], 44, _hoisted_4$f)) : vue.createCommentVNode("", true)
|
|
5611
5611
|
]))
|
|
5612
5612
|
], 2);
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
});
|
|
5616
|
-
const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5617
|
-
const _hoisted_1$
|
|
5618
|
-
const _hoisted_2$
|
|
5619
|
-
const _hoisted_3$
|
|
5616
|
+
const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-aa589793"]]);
|
|
5617
|
+
const _hoisted_1$k = ["for"];
|
|
5618
|
+
const _hoisted_2$i = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby"];
|
|
5619
|
+
const _hoisted_3$e = {
|
|
5620
5620
|
key: 0,
|
|
5621
5621
|
class: "tao-switch__label"
|
|
5622
5622
|
};
|
|
5623
|
-
const _hoisted_4$
|
|
5623
|
+
const _hoisted_4$e = {
|
|
5624
5624
|
key: 1,
|
|
5625
5625
|
class: "tao-switch__label"
|
|
5626
5626
|
};
|
|
5627
|
-
const _sfc_main$
|
|
5627
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
5628
5628
|
...{ name: "TaoSwitch" },
|
|
5629
5629
|
__name: "TaoSwitch",
|
|
5630
5630
|
props: {
|
|
@@ -5665,33 +5665,33 @@
|
|
|
5665
5665
|
"aria-invalid": invalid.value || void 0,
|
|
5666
5666
|
"aria-describedby": describedBy.value,
|
|
5667
5667
|
onChange: toggle
|
|
5668
|
-
}, null, 40, _hoisted_2$
|
|
5668
|
+
}, null, 40, _hoisted_2$i),
|
|
5669
5669
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", {
|
|
5670
5670
|
class: "tao-switch__track",
|
|
5671
5671
|
"aria-hidden": "true"
|
|
5672
5672
|
}, [
|
|
5673
5673
|
vue.createElementVNode("span", { class: "tao-switch__thumb" })
|
|
5674
5674
|
], -1)),
|
|
5675
|
-
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
5675
|
+
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, vue.toDisplayString(__props.label), 1)) : _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$e, [
|
|
5676
5676
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5677
5677
|
])) : vue.createCommentVNode("", true)
|
|
5678
|
-
], 10, _hoisted_1$
|
|
5678
|
+
], 10, _hoisted_1$k);
|
|
5679
5679
|
};
|
|
5680
5680
|
}
|
|
5681
5681
|
});
|
|
5682
|
-
const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5682
|
+
const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-17ce5000"]]);
|
|
5683
5683
|
const radioGroupKey = Symbol("taoRadioGroup");
|
|
5684
|
-
const _hoisted_1$
|
|
5685
|
-
const _hoisted_2$
|
|
5686
|
-
const _hoisted_3$
|
|
5684
|
+
const _hoisted_1$j = ["for"];
|
|
5685
|
+
const _hoisted_2$h = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-describedby"];
|
|
5686
|
+
const _hoisted_3$d = {
|
|
5687
5687
|
key: 0,
|
|
5688
5688
|
class: "tao-radio__label"
|
|
5689
5689
|
};
|
|
5690
|
-
const _hoisted_4$
|
|
5690
|
+
const _hoisted_4$d = {
|
|
5691
5691
|
key: 1,
|
|
5692
5692
|
class: "tao-radio__label"
|
|
5693
5693
|
};
|
|
5694
|
-
const _sfc_main$
|
|
5694
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
5695
5695
|
...{ name: "TaoRadio" },
|
|
5696
5696
|
__name: "TaoRadio",
|
|
5697
5697
|
props: {
|
|
@@ -5744,25 +5744,25 @@
|
|
|
5744
5744
|
"aria-invalid": !vue.unref(group) && invalid.value || void 0,
|
|
5745
5745
|
"aria-describedby": describedBy.value,
|
|
5746
5746
|
onChange
|
|
5747
|
-
}, null, 40, _hoisted_2$
|
|
5747
|
+
}, null, 40, _hoisted_2$h),
|
|
5748
5748
|
_cache[0] || (_cache[0] = vue.createElementVNode("span", {
|
|
5749
5749
|
class: "tao-radio__dot",
|
|
5750
5750
|
"aria-hidden": "true"
|
|
5751
5751
|
}, null, -1)),
|
|
5752
|
-
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
5752
|
+
__props.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$d, vue.toDisplayString(__props.label), 1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$d, [
|
|
5753
5753
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5754
5754
|
]))
|
|
5755
|
-
], 10, _hoisted_1$
|
|
5755
|
+
], 10, _hoisted_1$j);
|
|
5756
5756
|
};
|
|
5757
5757
|
}
|
|
5758
5758
|
});
|
|
5759
|
-
const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5760
|
-
const _hoisted_1$
|
|
5761
|
-
const _hoisted_2$
|
|
5759
|
+
const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-e79d1fb6"]]);
|
|
5760
|
+
const _hoisted_1$i = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
|
|
5761
|
+
const _hoisted_2$g = {
|
|
5762
5762
|
key: 0,
|
|
5763
5763
|
class: "tao-radio-group__legend"
|
|
5764
5764
|
};
|
|
5765
|
-
const _sfc_main$
|
|
5765
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
5766
5766
|
...{ name: "TaoRadioGroup" },
|
|
5767
5767
|
__name: "TaoRadioGroup",
|
|
5768
5768
|
props: {
|
|
@@ -5804,20 +5804,20 @@
|
|
|
5804
5804
|
"aria-invalid": invalid.value || void 0,
|
|
5805
5805
|
"aria-labelledby": labelledBy.value
|
|
5806
5806
|
}, [
|
|
5807
|
-
__props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$
|
|
5807
|
+
__props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$g, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
|
|
5808
5808
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5809
|
-
], 10, _hoisted_1$
|
|
5809
|
+
], 10, _hoisted_1$i);
|
|
5810
5810
|
};
|
|
5811
5811
|
}
|
|
5812
5812
|
});
|
|
5813
|
-
const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5813
|
+
const TaoRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6f6fa977"]]);
|
|
5814
5814
|
const segmentedKey = Symbol("taoSegmented");
|
|
5815
|
-
const _hoisted_1$
|
|
5816
|
-
const _hoisted_2$
|
|
5815
|
+
const _hoisted_1$h = ["disabled", "aria-describedby", "aria-invalid", "aria-labelledby", "id"];
|
|
5816
|
+
const _hoisted_2$f = {
|
|
5817
5817
|
key: 0,
|
|
5818
5818
|
class: "tao-segmented__legend"
|
|
5819
5819
|
};
|
|
5820
|
-
const _sfc_main$
|
|
5820
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
5821
5821
|
...{ name: "TaoSegmented" },
|
|
5822
5822
|
__name: "TaoSegmented",
|
|
5823
5823
|
props: {
|
|
@@ -5928,7 +5928,7 @@
|
|
|
5928
5928
|
"aria-labelledby": __props.legend ? void 0 : vue.unref(field) ? `${vue.unref(field).id}-label` : void 0,
|
|
5929
5929
|
id: (_a = vue.unref(field)) == null ? void 0 : _a.id
|
|
5930
5930
|
}, [
|
|
5931
|
-
__props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$
|
|
5931
|
+
__props.legend ? (vue.openBlock(), vue.createElementBlock("legend", _hoisted_2$f, vue.toDisplayString(__props.legend), 1)) : vue.createCommentVNode("", true),
|
|
5932
5932
|
vue.createElementVNode("div", {
|
|
5933
5933
|
ref_key: "trackRef",
|
|
5934
5934
|
ref: trackRef,
|
|
@@ -5941,24 +5941,24 @@
|
|
|
5941
5941
|
}, null, 4),
|
|
5942
5942
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5943
5943
|
], 512)
|
|
5944
|
-
], 10, _hoisted_1$
|
|
5944
|
+
], 10, _hoisted_1$h);
|
|
5945
5945
|
};
|
|
5946
5946
|
}
|
|
5947
5947
|
});
|
|
5948
|
-
const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5949
|
-
const _hoisted_1$
|
|
5950
|
-
const _hoisted_2$
|
|
5951
|
-
const _hoisted_3$
|
|
5952
|
-
const _hoisted_4$
|
|
5948
|
+
const TaoSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-af757a32"]]);
|
|
5949
|
+
const _hoisted_1$g = ["for"];
|
|
5950
|
+
const _hoisted_2$e = ["id", "name", "value", "checked", "disabled", "aria-label"];
|
|
5951
|
+
const _hoisted_3$c = { class: "tao-segmented-option__face" };
|
|
5952
|
+
const _hoisted_4$c = {
|
|
5953
5953
|
key: 0,
|
|
5954
5954
|
class: "tao-segmented-option__icon",
|
|
5955
5955
|
"aria-hidden": "true"
|
|
5956
5956
|
};
|
|
5957
|
-
const _hoisted_5$
|
|
5957
|
+
const _hoisted_5$c = {
|
|
5958
5958
|
key: 1,
|
|
5959
5959
|
class: "tao-segmented-option__label"
|
|
5960
5960
|
};
|
|
5961
|
-
const _hoisted_6$
|
|
5961
|
+
const _hoisted_6$9 = {
|
|
5962
5962
|
key: 2,
|
|
5963
5963
|
class: "tao-segmented-option__sr"
|
|
5964
5964
|
};
|
|
@@ -5966,7 +5966,7 @@
|
|
|
5966
5966
|
key: 3,
|
|
5967
5967
|
class: "tao-segmented-option__count"
|
|
5968
5968
|
};
|
|
5969
|
-
const _sfc_main$
|
|
5969
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
5970
5970
|
...{ name: "TaoSegmentedOption" },
|
|
5971
5971
|
__name: "TaoSegmentedOption",
|
|
5972
5972
|
props: {
|
|
@@ -6040,38 +6040,38 @@
|
|
|
6040
6040
|
disabled: isDisabled.value,
|
|
6041
6041
|
"aria-label": __props.ariaLabel,
|
|
6042
6042
|
onChange
|
|
6043
|
-
}, null, 40, _hoisted_2$
|
|
6044
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
6045
|
-
__props.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$
|
|
6043
|
+
}, null, 40, _hoisted_2$e),
|
|
6044
|
+
vue.createElementVNode("span", _hoisted_3$c, [
|
|
6045
|
+
__props.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$c, [
|
|
6046
6046
|
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
6047
6047
|
vue.createTextVNode(vue.toDisplayString(__props.icon), 1)
|
|
6048
6048
|
], true)
|
|
6049
6049
|
])) : vue.createCommentVNode("", true),
|
|
6050
|
-
hasLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
6050
|
+
hasLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$c, [
|
|
6051
6051
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6052
6052
|
vue.createTextVNode(vue.toDisplayString(__props.label), 1)
|
|
6053
6053
|
], true)
|
|
6054
|
-
])) : __props.ariaLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$
|
|
6054
|
+
])) : __props.ariaLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$9, vue.toDisplayString(__props.ariaLabel), 1)) : vue.createCommentVNode("", true),
|
|
6055
6055
|
countLabel.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$7, vue.toDisplayString(countLabel.value), 1)) : vue.createCommentVNode("", true)
|
|
6056
6056
|
])
|
|
6057
|
-
], 10, _hoisted_1$
|
|
6057
|
+
], 10, _hoisted_1$g);
|
|
6058
6058
|
};
|
|
6059
6059
|
}
|
|
6060
6060
|
});
|
|
6061
|
-
const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6062
|
-
const _hoisted_1$
|
|
6063
|
-
const _hoisted_2$
|
|
6064
|
-
const _hoisted_3$
|
|
6061
|
+
const TaoSegmentedOption = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1a9357a1"]]);
|
|
6062
|
+
const _hoisted_1$f = ["role", "aria-live"];
|
|
6063
|
+
const _hoisted_2$d = { class: "tao-alert__body" };
|
|
6064
|
+
const _hoisted_3$b = {
|
|
6065
6065
|
key: 0,
|
|
6066
6066
|
class: "tao-alert__title"
|
|
6067
6067
|
};
|
|
6068
|
-
const _hoisted_4$
|
|
6068
|
+
const _hoisted_4$b = {
|
|
6069
6069
|
key: 1,
|
|
6070
6070
|
class: "tao-alert__message"
|
|
6071
6071
|
};
|
|
6072
|
-
const _hoisted_5$
|
|
6073
|
-
const _hoisted_6$
|
|
6074
|
-
const _sfc_main$
|
|
6072
|
+
const _hoisted_5$b = ["aria-label"];
|
|
6073
|
+
const _hoisted_6$8 = { "aria-hidden": "true" };
|
|
6074
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
6075
6075
|
...{ name: "TaoAlert" },
|
|
6076
6076
|
__name: "TaoAlert",
|
|
6077
6077
|
props: {
|
|
@@ -6092,9 +6092,9 @@
|
|
|
6092
6092
|
role: tone.value === "error" ? "alert" : "status",
|
|
6093
6093
|
"aria-live": live.value
|
|
6094
6094
|
}, [
|
|
6095
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
6096
|
-
__props.title ? (vue.openBlock(), vue.createElementBlock("strong", _hoisted_3$
|
|
6097
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$
|
|
6095
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
6096
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock("strong", _hoisted_3$b, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
|
|
6097
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, [
|
|
6098
6098
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6099
6099
|
])) : vue.createCommentVNode("", true)
|
|
6100
6100
|
]),
|
|
@@ -6105,30 +6105,30 @@
|
|
|
6105
6105
|
"aria-label": __props.closeLabel,
|
|
6106
6106
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
6107
6107
|
}, [
|
|
6108
|
-
vue.createElementVNode("span", _hoisted_6$
|
|
6108
|
+
vue.createElementVNode("span", _hoisted_6$8, [
|
|
6109
6109
|
vue.renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
6110
6110
|
_cache[1] || (_cache[1] = vue.createTextVNode("×", -1))
|
|
6111
6111
|
], true)
|
|
6112
6112
|
])
|
|
6113
|
-
], 8, _hoisted_5$
|
|
6114
|
-
], 10, _hoisted_1$
|
|
6113
|
+
], 8, _hoisted_5$b)) : vue.createCommentVNode("", true)
|
|
6114
|
+
], 10, _hoisted_1$f);
|
|
6115
6115
|
};
|
|
6116
6116
|
}
|
|
6117
6117
|
});
|
|
6118
|
-
const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6119
|
-
const _hoisted_1$
|
|
6120
|
-
const _hoisted_2$
|
|
6121
|
-
const _hoisted_3$
|
|
6122
|
-
const _hoisted_4$
|
|
6123
|
-
const _hoisted_5$
|
|
6124
|
-
const _hoisted_6$
|
|
6118
|
+
const TaoAlert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1a1dbef3"]]);
|
|
6119
|
+
const _hoisted_1$e = { key: 0 };
|
|
6120
|
+
const _hoisted_2$c = ["aria-sort"];
|
|
6121
|
+
const _hoisted_3$a = ["onClick"];
|
|
6122
|
+
const _hoisted_4$a = { key: 1 };
|
|
6123
|
+
const _hoisted_5$a = { key: 0 };
|
|
6124
|
+
const _hoisted_6$7 = ["colspan"];
|
|
6125
6125
|
const _hoisted_7$6 = ["onClick"];
|
|
6126
6126
|
const _hoisted_8$6 = {
|
|
6127
6127
|
key: 0,
|
|
6128
6128
|
class: "tao-table__loading",
|
|
6129
6129
|
"aria-busy": "true"
|
|
6130
6130
|
};
|
|
6131
|
-
const _sfc_main$
|
|
6131
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
6132
6132
|
...{ name: "TaoTable" },
|
|
6133
6133
|
__name: "TaoTable",
|
|
6134
6134
|
props: {
|
|
@@ -6209,7 +6209,7 @@
|
|
|
6209
6209
|
"tao-table--sticky": __props.sticky
|
|
6210
6210
|
}])
|
|
6211
6211
|
}, [
|
|
6212
|
-
__props.caption ? (vue.openBlock(), vue.createElementBlock("caption", _hoisted_1$
|
|
6212
|
+
__props.caption ? (vue.openBlock(), vue.createElementBlock("caption", _hoisted_1$e, vue.toDisplayString(__props.caption), 1)) : vue.createCommentVNode("", true),
|
|
6213
6213
|
vue.createElementVNode("thead", null, [
|
|
6214
6214
|
vue.createElementVNode("tr", null, [
|
|
6215
6215
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.columns, (column) => {
|
|
@@ -6233,13 +6233,13 @@
|
|
|
6233
6233
|
}]),
|
|
6234
6234
|
"aria-hidden": "true"
|
|
6235
6235
|
}, null, 2)
|
|
6236
|
-
], 8, _hoisted_3$
|
|
6237
|
-
], 12, _hoisted_2$
|
|
6236
|
+
], 8, _hoisted_3$a)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$a, vue.toDisplayString(column.label), 1))
|
|
6237
|
+
], 12, _hoisted_2$c);
|
|
6238
6238
|
}), 128))
|
|
6239
6239
|
])
|
|
6240
6240
|
]),
|
|
6241
6241
|
vue.createElementVNode("tbody", null, [
|
|
6242
|
-
isEmpty.value ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$
|
|
6242
|
+
isEmpty.value ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5$a, [
|
|
6243
6243
|
vue.createElementVNode("td", {
|
|
6244
6244
|
class: "tao-table__empty",
|
|
6245
6245
|
colspan: colCount.value
|
|
@@ -6247,7 +6247,7 @@
|
|
|
6247
6247
|
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
6248
6248
|
vue.createTextVNode(vue.toDisplayString(__props.emptyText), 1)
|
|
6249
6249
|
], true)
|
|
6250
|
-
], 8, _hoisted_6$
|
|
6250
|
+
], 8, _hoisted_6$7)
|
|
6251
6251
|
])) : vue.createCommentVNode("", true),
|
|
6252
6252
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.rows, (row, index) => {
|
|
6253
6253
|
return vue.openBlock(), vue.createElementBlock("tr", {
|
|
@@ -6289,7 +6289,7 @@
|
|
|
6289
6289
|
};
|
|
6290
6290
|
}
|
|
6291
6291
|
});
|
|
6292
|
-
const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6292
|
+
const TaoTable = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-5ce586b8"]]);
|
|
6293
6293
|
function buildPaginationItems(page, pageCount, siblingCount = 1) {
|
|
6294
6294
|
if (pageCount <= 0) {
|
|
6295
6295
|
return [];
|
|
@@ -6314,15 +6314,15 @@
|
|
|
6314
6314
|
items.push({ type: "page", page: pageCount });
|
|
6315
6315
|
return items;
|
|
6316
6316
|
}
|
|
6317
|
-
const _hoisted_1$
|
|
6318
|
-
const _hoisted_2$
|
|
6317
|
+
const _hoisted_1$d = ["aria-label"];
|
|
6318
|
+
const _hoisted_2$b = {
|
|
6319
6319
|
key: 0,
|
|
6320
6320
|
class: "tao-pagination__total"
|
|
6321
6321
|
};
|
|
6322
|
-
const _hoisted_3$
|
|
6323
|
-
const _hoisted_4$
|
|
6324
|
-
const _hoisted_5$
|
|
6325
|
-
const _hoisted_6$
|
|
6322
|
+
const _hoisted_3$9 = { class: "tao-pagination__pages" };
|
|
6323
|
+
const _hoisted_4$9 = ["aria-label", "disabled"];
|
|
6324
|
+
const _hoisted_5$9 = { "aria-hidden": "true" };
|
|
6325
|
+
const _hoisted_6$6 = ["aria-label", "disabled", "onClick"];
|
|
6326
6326
|
const _hoisted_7$5 = {
|
|
6327
6327
|
key: 1,
|
|
6328
6328
|
class: "tao-pagination__ellipsis",
|
|
@@ -6331,7 +6331,7 @@
|
|
|
6331
6331
|
const _hoisted_8$5 = ["aria-current", "aria-label", "disabled", "onClick"];
|
|
6332
6332
|
const _hoisted_9$1 = ["aria-label", "disabled"];
|
|
6333
6333
|
const _hoisted_10$1 = { "aria-hidden": "true" };
|
|
6334
|
-
const _sfc_main$
|
|
6334
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
6335
6335
|
...{ name: "TaoPagination" },
|
|
6336
6336
|
__name: "TaoPagination",
|
|
6337
6337
|
props: {
|
|
@@ -6384,7 +6384,7 @@
|
|
|
6384
6384
|
class: vue.normalizeClass(["tao-pagination", `tao-pagination--${__props.size}`]),
|
|
6385
6385
|
"aria-label": __props.ariaLabel
|
|
6386
6386
|
}, [
|
|
6387
|
-
__props.showTotal ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$
|
|
6387
|
+
__props.showTotal ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$b, [
|
|
6388
6388
|
vue.renderSlot(_ctx.$slots, "total", {
|
|
6389
6389
|
from: from.value,
|
|
6390
6390
|
to: to.value,
|
|
@@ -6397,7 +6397,7 @@
|
|
|
6397
6397
|
], 64))
|
|
6398
6398
|
], true)
|
|
6399
6399
|
])) : vue.createCommentVNode("", true),
|
|
6400
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
6400
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
6401
6401
|
vue.createElementVNode("button", {
|
|
6402
6402
|
type: "button",
|
|
6403
6403
|
class: "tao-pagination__btn",
|
|
@@ -6405,12 +6405,12 @@
|
|
|
6405
6405
|
disabled: __props.disabled || current.value <= 1,
|
|
6406
6406
|
onClick: _cache[0] || (_cache[0] = ($event) => goTo(current.value - 1))
|
|
6407
6407
|
}, [
|
|
6408
|
-
vue.createElementVNode("span", _hoisted_5$
|
|
6408
|
+
vue.createElementVNode("span", _hoisted_5$9, [
|
|
6409
6409
|
vue.renderSlot(_ctx.$slots, "prev-icon", {}, () => [
|
|
6410
6410
|
_cache[2] || (_cache[2] = vue.createTextVNode("‹", -1))
|
|
6411
6411
|
], true)
|
|
6412
6412
|
])
|
|
6413
|
-
], 8, _hoisted_4$
|
|
6413
|
+
], 8, _hoisted_4$9),
|
|
6414
6414
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item) => {
|
|
6415
6415
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
6416
6416
|
key: item.type === "page" ? item.page : item.id
|
|
@@ -6422,7 +6422,7 @@
|
|
|
6422
6422
|
"aria-label": item.id === "left" ? __props.jumpPrevLabel.replace("{n}", String(__props.jump)) : __props.jumpNextLabel.replace("{n}", String(__props.jump)),
|
|
6423
6423
|
disabled: __props.disabled,
|
|
6424
6424
|
onClick: ($event) => goTo(item.id === "left" ? current.value - __props.jump : current.value + __props.jump)
|
|
6425
|
-
}, " … ", 8, _hoisted_6$
|
|
6425
|
+
}, " … ", 8, _hoisted_6$6)) : item.type === "ellipsis" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$5, "…")) : (vue.openBlock(), vue.createElementBlock("button", {
|
|
6426
6426
|
key: 2,
|
|
6427
6427
|
type: "button",
|
|
6428
6428
|
class: vue.normalizeClass(["tao-pagination__btn", { "tao-pagination__btn--current": item.page === current.value }]),
|
|
@@ -6447,29 +6447,29 @@
|
|
|
6447
6447
|
])
|
|
6448
6448
|
], 8, _hoisted_9$1)
|
|
6449
6449
|
])
|
|
6450
|
-
], 10, _hoisted_1$
|
|
6450
|
+
], 10, _hoisted_1$d);
|
|
6451
6451
|
};
|
|
6452
6452
|
}
|
|
6453
6453
|
});
|
|
6454
|
-
const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6455
|
-
const _hoisted_1$
|
|
6456
|
-
const _hoisted_2$
|
|
6454
|
+
const TaoPagination = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-37f3d381"]]);
|
|
6455
|
+
const _hoisted_1$c = { class: "tao-empty" };
|
|
6456
|
+
const _hoisted_2$a = {
|
|
6457
6457
|
key: 0,
|
|
6458
6458
|
class: "tao-empty__icon"
|
|
6459
6459
|
};
|
|
6460
|
-
const _hoisted_3$
|
|
6460
|
+
const _hoisted_3$8 = {
|
|
6461
6461
|
key: 1,
|
|
6462
6462
|
class: "tao-empty__title"
|
|
6463
6463
|
};
|
|
6464
|
-
const _hoisted_4$
|
|
6464
|
+
const _hoisted_4$8 = {
|
|
6465
6465
|
key: 2,
|
|
6466
6466
|
class: "tao-empty__text"
|
|
6467
6467
|
};
|
|
6468
|
-
const _hoisted_5$
|
|
6468
|
+
const _hoisted_5$8 = {
|
|
6469
6469
|
key: 3,
|
|
6470
6470
|
class: "tao-empty__action"
|
|
6471
6471
|
};
|
|
6472
|
-
const _sfc_main$
|
|
6472
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
6473
6473
|
...{ name: "TaoEmpty" },
|
|
6474
6474
|
__name: "TaoEmpty",
|
|
6475
6475
|
props: {
|
|
@@ -6477,22 +6477,189 @@
|
|
|
6477
6477
|
},
|
|
6478
6478
|
setup(__props) {
|
|
6479
6479
|
return (_ctx, _cache) => {
|
|
6480
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6481
|
-
_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
6480
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
6481
|
+
_ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
|
|
6482
6482
|
vue.renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
6483
6483
|
])) : vue.createCommentVNode("", true),
|
|
6484
|
-
__props.title ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$
|
|
6485
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$
|
|
6484
|
+
__props.title ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$8, vue.toDisplayString(__props.title), 1)) : vue.createCommentVNode("", true),
|
|
6485
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$8, [
|
|
6486
6486
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6487
6487
|
])) : vue.createCommentVNode("", true),
|
|
6488
|
-
_ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
6488
|
+
_ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
|
|
6489
6489
|
vue.renderSlot(_ctx.$slots, "action", {}, void 0, true)
|
|
6490
6490
|
])) : vue.createCommentVNode("", true)
|
|
6491
6491
|
]);
|
|
6492
6492
|
};
|
|
6493
6493
|
}
|
|
6494
6494
|
});
|
|
6495
|
-
const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6495
|
+
const TaoEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-8056884d"]]);
|
|
6496
|
+
const taoListKey = Symbol("taoList");
|
|
6497
|
+
const _hoisted_1$b = ["aria-label"];
|
|
6498
|
+
const _hoisted_2$9 = {
|
|
6499
|
+
key: 0,
|
|
6500
|
+
class: "tao-list__empty"
|
|
6501
|
+
};
|
|
6502
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
6503
|
+
...{ name: "TaoList" },
|
|
6504
|
+
__name: "TaoList",
|
|
6505
|
+
props: {
|
|
6506
|
+
size: { default: "medium" },
|
|
6507
|
+
bordered: { type: Boolean, default: true },
|
|
6508
|
+
divided: { type: Boolean, default: true },
|
|
6509
|
+
maxHeight: {},
|
|
6510
|
+
empty: { type: Boolean, default: false },
|
|
6511
|
+
ariaLabel: { default: "" }
|
|
6512
|
+
},
|
|
6513
|
+
setup(__props) {
|
|
6514
|
+
const props = __props;
|
|
6515
|
+
const size = vue.computed(() => props.size);
|
|
6516
|
+
vue.provide(taoListKey, { size });
|
|
6517
|
+
const listStyle = vue.computed(() => {
|
|
6518
|
+
if (props.maxHeight === void 0 || props.maxHeight === "") {
|
|
6519
|
+
return void 0;
|
|
6520
|
+
}
|
|
6521
|
+
const value = typeof props.maxHeight === "number" ? `${props.maxHeight}px` : props.maxHeight;
|
|
6522
|
+
return { maxHeight: value };
|
|
6523
|
+
});
|
|
6524
|
+
return (_ctx, _cache) => {
|
|
6525
|
+
return vue.openBlock(), vue.createElementBlock("ul", {
|
|
6526
|
+
class: vue.normalizeClass(["tao-list", [
|
|
6527
|
+
`tao-list--${size.value}`,
|
|
6528
|
+
{
|
|
6529
|
+
"tao-list--bordered": __props.bordered,
|
|
6530
|
+
"tao-list--divided": __props.divided,
|
|
6531
|
+
"tao-list--plain": !__props.bordered,
|
|
6532
|
+
"tao-list--empty": __props.empty,
|
|
6533
|
+
"tao-list--scroll": Boolean(__props.maxHeight)
|
|
6534
|
+
}
|
|
6535
|
+
]]),
|
|
6536
|
+
style: vue.normalizeStyle(listStyle.value),
|
|
6537
|
+
"aria-label": __props.ariaLabel || void 0
|
|
6538
|
+
}, [
|
|
6539
|
+
__props.empty ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$9, [
|
|
6540
|
+
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
6541
|
+
_cache[0] || (_cache[0] = vue.createTextVNode("Ничего нет", -1))
|
|
6542
|
+
], true)
|
|
6543
|
+
])) : vue.renderSlot(_ctx.$slots, "default", {}, void 0, true, 1)
|
|
6544
|
+
], 14, _hoisted_1$b);
|
|
6545
|
+
};
|
|
6546
|
+
}
|
|
6547
|
+
});
|
|
6548
|
+
const TaoList = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-798c83a3"]]);
|
|
6549
|
+
const _hoisted_1$a = ["aria-current", "aria-disabled"];
|
|
6550
|
+
const _hoisted_2$8 = {
|
|
6551
|
+
key: 0,
|
|
6552
|
+
class: "tao-list-item__prefix"
|
|
6553
|
+
};
|
|
6554
|
+
const _hoisted_3$7 = { class: "tao-list-item__text" };
|
|
6555
|
+
const _hoisted_4$7 = { class: "tao-list-item__title" };
|
|
6556
|
+
const _hoisted_5$7 = {
|
|
6557
|
+
key: 0,
|
|
6558
|
+
class: "tao-list-item__description"
|
|
6559
|
+
};
|
|
6560
|
+
const _hoisted_6$5 = {
|
|
6561
|
+
key: 1,
|
|
6562
|
+
class: "tao-list-item__suffix"
|
|
6563
|
+
};
|
|
6564
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
6565
|
+
...{ name: "TaoListItem" },
|
|
6566
|
+
__name: "TaoListItem",
|
|
6567
|
+
props: {
|
|
6568
|
+
title: { default: "" },
|
|
6569
|
+
description: { default: "" },
|
|
6570
|
+
selected: { type: Boolean, default: false },
|
|
6571
|
+
disabled: { type: Boolean, default: false },
|
|
6572
|
+
active: { type: Boolean, default: false },
|
|
6573
|
+
clickable: { type: Boolean, default: false },
|
|
6574
|
+
size: {},
|
|
6575
|
+
actionAlways: { type: Boolean, default: false }
|
|
6576
|
+
},
|
|
6577
|
+
emits: ["click"],
|
|
6578
|
+
setup(__props, { emit: __emit }) {
|
|
6579
|
+
const props = __props;
|
|
6580
|
+
const emit = __emit;
|
|
6581
|
+
const slots = vue.useSlots();
|
|
6582
|
+
const list = vue.inject(taoListKey, null);
|
|
6583
|
+
const sizeClass = vue.computed(() => {
|
|
6584
|
+
const size = props.size ?? (list == null ? void 0 : list.size.value) ?? "medium";
|
|
6585
|
+
if (size === "small") {
|
|
6586
|
+
return "s";
|
|
6587
|
+
}
|
|
6588
|
+
if (size === "large") {
|
|
6589
|
+
return "l";
|
|
6590
|
+
}
|
|
6591
|
+
return "m";
|
|
6592
|
+
});
|
|
6593
|
+
const hasAction = vue.computed(() => Boolean(slots.action));
|
|
6594
|
+
const hasPrefix = vue.computed(() => Boolean(slots.prefix));
|
|
6595
|
+
const hasSuffix = vue.computed(() => Boolean(slots.suffix));
|
|
6596
|
+
const hasDescription = vue.computed(() => Boolean(props.description || slots.description));
|
|
6597
|
+
function onHitClick(event) {
|
|
6598
|
+
if (props.disabled || !props.clickable) {
|
|
6599
|
+
return;
|
|
6600
|
+
}
|
|
6601
|
+
emit("click", event);
|
|
6602
|
+
}
|
|
6603
|
+
return (_ctx, _cache) => {
|
|
6604
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
|
6605
|
+
class: vue.normalizeClass(["tao-list-item", [
|
|
6606
|
+
`tao-list-item--${sizeClass.value}`,
|
|
6607
|
+
{
|
|
6608
|
+
"tao-list-item--selected": __props.selected,
|
|
6609
|
+
"tao-list-item--disabled": __props.disabled,
|
|
6610
|
+
"tao-list-item--active": __props.active,
|
|
6611
|
+
"tao-list-item--clickable": __props.clickable,
|
|
6612
|
+
"tao-list-item--has-action": hasAction.value,
|
|
6613
|
+
"tao-list-item--action-always": __props.actionAlways
|
|
6614
|
+
}
|
|
6615
|
+
]]),
|
|
6616
|
+
"aria-current": !__props.clickable && __props.selected ? "true" : void 0,
|
|
6617
|
+
"aria-disabled": __props.disabled || void 0
|
|
6618
|
+
}, [
|
|
6619
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.clickable ? "button" : "div"), {
|
|
6620
|
+
class: "tao-list-item__hit",
|
|
6621
|
+
type: __props.clickable ? "button" : void 0,
|
|
6622
|
+
disabled: __props.clickable ? __props.disabled : void 0,
|
|
6623
|
+
"aria-current": __props.clickable && __props.selected ? "true" : void 0,
|
|
6624
|
+
onClick: onHitClick
|
|
6625
|
+
}, {
|
|
6626
|
+
default: vue.withCtx(() => [
|
|
6627
|
+
hasPrefix.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$8, [
|
|
6628
|
+
vue.renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
6629
|
+
])) : vue.createCommentVNode("", true),
|
|
6630
|
+
vue.createElementVNode("span", _hoisted_3$7, [
|
|
6631
|
+
vue.createElementVNode("span", _hoisted_4$7, [
|
|
6632
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
6633
|
+
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
6634
|
+
], true)
|
|
6635
|
+
]),
|
|
6636
|
+
hasDescription.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$7, [
|
|
6637
|
+
vue.renderSlot(_ctx.$slots, "description", {}, () => [
|
|
6638
|
+
vue.createTextVNode(vue.toDisplayString(__props.description), 1)
|
|
6639
|
+
], true)
|
|
6640
|
+
])) : vue.createCommentVNode("", true)
|
|
6641
|
+
]),
|
|
6642
|
+
hasSuffix.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$5, [
|
|
6643
|
+
vue.renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
6644
|
+
])) : vue.createCommentVNode("", true)
|
|
6645
|
+
]),
|
|
6646
|
+
_: 3
|
|
6647
|
+
}, 8, ["type", "disabled", "aria-current"])),
|
|
6648
|
+
hasAction.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
6649
|
+
key: 0,
|
|
6650
|
+
class: "tao-list-item__action",
|
|
6651
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
6652
|
+
}, ["stop"])),
|
|
6653
|
+
onKeydown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
6654
|
+
}, ["stop"]))
|
|
6655
|
+
}, [
|
|
6656
|
+
vue.renderSlot(_ctx.$slots, "action", {}, void 0, true)
|
|
6657
|
+
], 32)) : vue.createCommentVNode("", true)
|
|
6658
|
+
], 10, _hoisted_1$a);
|
|
6659
|
+
};
|
|
6660
|
+
}
|
|
6661
|
+
});
|
|
6662
|
+
const TaoListItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-878b7727"]]);
|
|
6496
6663
|
const _hoisted_1$9 = {
|
|
6497
6664
|
class: "tao-skeleton-group",
|
|
6498
6665
|
"aria-hidden": true
|
|
@@ -6844,7 +7011,7 @@
|
|
|
6844
7011
|
class: "tao-breadcrumb__item"
|
|
6845
7012
|
}, [
|
|
6846
7013
|
index > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$4, "/")) : vue.createCommentVNode("", true),
|
|
6847
|
-
index === __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, vue.toDisplayString(item.label), 1)) : item.to ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
7014
|
+
index === __props.items.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$4, vue.toDisplayString(item.label), 1)) : item.to ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
|
|
6848
7015
|
key: 2,
|
|
6849
7016
|
class: "tao-breadcrumb__link",
|
|
6850
7017
|
to: item.to
|
|
@@ -8513,7 +8680,7 @@
|
|
|
8513
8680
|
TaoSpoilerGroup,
|
|
8514
8681
|
TaoCopy,
|
|
8515
8682
|
TaoContainer,
|
|
8516
|
-
_sfc_main$
|
|
8683
|
+
_sfc_main$I,
|
|
8517
8684
|
TaoSpace,
|
|
8518
8685
|
TaoSplit,
|
|
8519
8686
|
TaoIcon,
|
|
@@ -8531,7 +8698,7 @@
|
|
|
8531
8698
|
TaoFileDrop,
|
|
8532
8699
|
TaoDropdownMenu,
|
|
8533
8700
|
TaoPinCode,
|
|
8534
|
-
_sfc_main$
|
|
8701
|
+
_sfc_main$q,
|
|
8535
8702
|
TaoFormField,
|
|
8536
8703
|
TaoSelect,
|
|
8537
8704
|
TaoCombobox,
|
|
@@ -8546,6 +8713,8 @@
|
|
|
8546
8713
|
TaoTable,
|
|
8547
8714
|
TaoPagination,
|
|
8548
8715
|
TaoEmpty,
|
|
8716
|
+
TaoList,
|
|
8717
|
+
TaoListItem,
|
|
8549
8718
|
TaoSkeleton,
|
|
8550
8719
|
TaoDrawer,
|
|
8551
8720
|
TaoAvatar,
|
|
@@ -8585,14 +8754,16 @@
|
|
|
8585
8754
|
exports2.TaoEmpty = TaoEmpty;
|
|
8586
8755
|
exports2.TaoFieldset = TaoFieldset;
|
|
8587
8756
|
exports2.TaoFileDrop = TaoFileDrop;
|
|
8588
|
-
exports2.TaoFlex = _sfc_main$
|
|
8757
|
+
exports2.TaoFlex = _sfc_main$I;
|
|
8589
8758
|
exports2.TaoFormField = TaoFormField;
|
|
8590
8759
|
exports2.TaoIcon = TaoIcon;
|
|
8591
8760
|
exports2.TaoImage = TaoImage;
|
|
8592
8761
|
exports2.TaoInput = TaoInput;
|
|
8593
8762
|
exports2.TaoInputGroup = TaoInputGroup;
|
|
8594
8763
|
exports2.TaoInputNumber = TaoInputNumber;
|
|
8595
|
-
exports2.TaoLink = _sfc_main$
|
|
8764
|
+
exports2.TaoLink = _sfc_main$q;
|
|
8765
|
+
exports2.TaoList = TaoList;
|
|
8766
|
+
exports2.TaoListItem = TaoListItem;
|
|
8596
8767
|
exports2.TaoLoader = TaoLoader;
|
|
8597
8768
|
exports2.TaoModal = TaoModal;
|
|
8598
8769
|
exports2.TaoPagination = TaoPagination;
|