@1337exp/taoui 5.8.2 → 5.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/index.js +115 -94
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/skills/taoui/SKILL.md +2 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, useSlots, useAttrs, unref, createCommentVNode, createBlock, inject, useId, ref, createElementVNode, provide, shallowRef, watch, createVNode, toValue, onBeforeUnmount, Teleport, Transition, withCtx, toDisplayString, nextTick, Fragment, renderList, createTextVNode, onMounted,
|
|
1
|
+
import { shallowReactive, defineComponent, useCssVars, computed, openBlock, createElementBlock, renderSlot, normalizeClass, normalizeStyle, useSlots, useAttrs, unref, createCommentVNode, createBlock, inject, useId, ref, mergeProps, createElementVNode, provide, shallowRef, watch, createVNode, toValue, onBeforeUnmount, Teleport, Transition, withCtx, toDisplayString, nextTick, Fragment, renderList, createTextVNode, onMounted, createSlots, normalizeProps, guardReactiveProps, resolveDynamicComponent, withModifiers, onBeforeMount, resolveComponent, toRef, withDirectives, vShow, getCurrentInstance, reactive, withKeys, vModelText, TransitionGroup, onUpdated, createApp } from "vue";
|
|
2
2
|
function isDev() {
|
|
3
3
|
try {
|
|
4
4
|
return process.env.NODE_ENV !== "production";
|
|
@@ -289,6 +289,18 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
291
|
const TaoBlock = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-1fc66575"]]);
|
|
292
|
+
function useControlAttrs() {
|
|
293
|
+
const attrs = useAttrs();
|
|
294
|
+
return {
|
|
295
|
+
/** `class` and `style`, for the wrapper. / `class` и `style` — для обёртки. */
|
|
296
|
+
rootAttrs: () => ({ class: attrs.class, style: attrs.style }),
|
|
297
|
+
/** Everything else, for the control. / Всё остальное — для элемента управления. */
|
|
298
|
+
controlAttrs: () => {
|
|
299
|
+
const { class: _class, style: _style, ...rest } = attrs;
|
|
300
|
+
return rest;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
}
|
|
292
304
|
const formFieldKey = Symbol("taoFormField");
|
|
293
305
|
function useField(props) {
|
|
294
306
|
const field = inject(formFieldKey, null);
|
|
@@ -308,7 +320,7 @@ const _hoisted_3$N = {
|
|
|
308
320
|
class: "tao-input__affix tao-input__affix--suffix"
|
|
309
321
|
};
|
|
310
322
|
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
311
|
-
...{ name: "TaoInput" },
|
|
323
|
+
...{ name: "TaoInput", inheritAttrs: false },
|
|
312
324
|
__name: "TaoInput",
|
|
313
325
|
props: {
|
|
314
326
|
modelValue: { default: "" },
|
|
@@ -321,6 +333,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
321
333
|
},
|
|
322
334
|
emits: ["update:modelValue", "blur", "focus"],
|
|
323
335
|
setup(__props, { emit: __emit }) {
|
|
336
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
324
337
|
const props = __props;
|
|
325
338
|
const { controlId, invalid, describedBy } = useField(props);
|
|
326
339
|
const focused = ref(false);
|
|
@@ -338,9 +351,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
338
351
|
emit("focus", event);
|
|
339
352
|
}
|
|
340
353
|
return (_ctx, _cache) => {
|
|
341
|
-
return openBlock(), createElementBlock("div", {
|
|
342
|
-
class:
|
|
343
|
-
}, [
|
|
354
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
355
|
+
class: ["tao-input-wrapper", unref(sizeClass)(__props.size)]
|
|
356
|
+
}), [
|
|
344
357
|
createElementVNode("div", {
|
|
345
358
|
class: normalizeClass(["tao-input-shell", {
|
|
346
359
|
"tao-input-shell--focused": focused.value,
|
|
@@ -353,9 +366,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
353
366
|
_ctx.$slots.prefix ? (openBlock(), createElementBlock("span", _hoisted_1$13, [
|
|
354
367
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
355
368
|
])) : createCommentVNode("", true),
|
|
356
|
-
createElementVNode("input", {
|
|
369
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
357
370
|
id: unref(controlId),
|
|
358
|
-
class:
|
|
371
|
+
class: ["tao-input", { "tao-input--error": unref(invalid) }],
|
|
359
372
|
type: __props.type,
|
|
360
373
|
value: __props.modelValue,
|
|
361
374
|
placeholder: __props.placeholder,
|
|
@@ -365,16 +378,16 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
365
378
|
onInput: handleInput,
|
|
366
379
|
onBlur: handleBlur,
|
|
367
380
|
onFocus: handleFocus
|
|
368
|
-
}, null,
|
|
381
|
+
}), null, 16, _hoisted_2$V),
|
|
369
382
|
_ctx.$slots.suffix ? (openBlock(), createElementBlock("span", _hoisted_3$N, [
|
|
370
383
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
371
384
|
])) : createCommentVNode("", true)
|
|
372
385
|
], 2)
|
|
373
|
-
],
|
|
386
|
+
], 16);
|
|
374
387
|
};
|
|
375
388
|
}
|
|
376
389
|
});
|
|
377
|
-
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-
|
|
390
|
+
const TaoInput = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-8dd01619"]]);
|
|
378
391
|
const _hoisted_1$12 = {
|
|
379
392
|
key: 0,
|
|
380
393
|
class: "tao-input-group__addon tao-input-group__addon--before"
|
|
@@ -815,7 +828,7 @@ const _hoisted_4$D = { "aria-hidden": "true" };
|
|
|
815
828
|
const _hoisted_5$u = ["aria-label", "disabled"];
|
|
816
829
|
const _hoisted_6$n = { "aria-hidden": "true" };
|
|
817
830
|
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
818
|
-
...{ name: "TaoInputNumber" },
|
|
831
|
+
...{ name: "TaoInputNumber", inheritAttrs: false },
|
|
819
832
|
__name: "TaoInputNumber",
|
|
820
833
|
props: {
|
|
821
834
|
modelValue: { default: null },
|
|
@@ -833,6 +846,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
833
846
|
},
|
|
834
847
|
emits: ["update:modelValue", "commit", "blur", "focus"],
|
|
835
848
|
setup(__props, { emit: __emit }) {
|
|
849
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
836
850
|
const props = __props;
|
|
837
851
|
const l10n = useLocaleText(props, "inputNumber");
|
|
838
852
|
const emit = __emit;
|
|
@@ -949,10 +963,10 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
949
963
|
const atMin = computed(() => props.min !== void 0 && (props.modelValue ?? 0) <= props.min);
|
|
950
964
|
const atMax = computed(() => props.max !== void 0 && (props.modelValue ?? 0) >= props.max);
|
|
951
965
|
return (_ctx, _cache) => {
|
|
952
|
-
return openBlock(), createElementBlock("div", {
|
|
953
|
-
class:
|
|
954
|
-
}, [
|
|
955
|
-
createElementVNode("input", {
|
|
966
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
967
|
+
class: ["tao-input-number", [unref(sizeClass)(__props.size), { "tao-input-number--invalid": unref(invalid), "tao-input-number--controls": __props.controls }]]
|
|
968
|
+
}), [
|
|
969
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
956
970
|
id: unref(controlId),
|
|
957
971
|
class: "tao-input-number__input",
|
|
958
972
|
type: "text",
|
|
@@ -971,7 +985,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
971
985
|
onFocus,
|
|
972
986
|
onBlur,
|
|
973
987
|
onKeydown: onKeydown2
|
|
974
|
-
}, null,
|
|
988
|
+
}), null, 16, _hoisted_1$11),
|
|
975
989
|
__props.controls ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
|
|
976
990
|
createElementVNode("button", {
|
|
977
991
|
type: "button",
|
|
@@ -1002,11 +1016,11 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
1002
1016
|
])
|
|
1003
1017
|
], 8, _hoisted_5$u)
|
|
1004
1018
|
])) : createCommentVNode("", true)
|
|
1005
|
-
],
|
|
1019
|
+
], 16);
|
|
1006
1020
|
};
|
|
1007
1021
|
}
|
|
1008
1022
|
});
|
|
1009
|
-
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-
|
|
1023
|
+
const TaoInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-d9855e01"]]);
|
|
1010
1024
|
const _hoisted_1$10 = ["aria-label", "disabled"];
|
|
1011
1025
|
const _hoisted_2$S = { "aria-hidden": "true" };
|
|
1012
1026
|
const _hoisted_3$K = ["id", "value", "disabled", "aria-invalid", "aria-describedby", "aria-valuenow", "aria-valuemin", "aria-valuemax"];
|
|
@@ -3421,7 +3435,7 @@ const _hoisted_4$w = {
|
|
|
3421
3435
|
class: "tao-checkbox__label"
|
|
3422
3436
|
};
|
|
3423
3437
|
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
3424
|
-
...{ name: "TaoCheckbox" },
|
|
3438
|
+
...{ name: "TaoCheckbox", inheritAttrs: false },
|
|
3425
3439
|
__name: "TaoCheckbox",
|
|
3426
3440
|
props: {
|
|
3427
3441
|
checked: { type: Boolean, default: void 0 },
|
|
@@ -3434,6 +3448,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
3434
3448
|
},
|
|
3435
3449
|
emits: ["update:modelValue", "change"],
|
|
3436
3450
|
setup(__props, { emit: __emit }) {
|
|
3451
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
3437
3452
|
const props = __props;
|
|
3438
3453
|
const emit = __emit;
|
|
3439
3454
|
const { controlId, invalid, describedBy } = useField(props);
|
|
@@ -3473,12 +3488,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
3473
3488
|
{ flush: "post" }
|
|
3474
3489
|
);
|
|
3475
3490
|
return (_ctx, _cache) => {
|
|
3476
|
-
return openBlock(), createElementBlock("label", {
|
|
3477
|
-
class:
|
|
3491
|
+
return openBlock(), createElementBlock("label", mergeProps(unref(rootAttrs)(), {
|
|
3492
|
+
class: ["tao-checkbox", [unref(sizeClass)(__props.size), { "tao-checkbox--disabled": __props.disabled }]],
|
|
3478
3493
|
for: unref(controlId)
|
|
3479
|
-
}, [
|
|
3494
|
+
}), [
|
|
3480
3495
|
renderSlot(_ctx.$slots, "pre", { text: __props.label }, void 0, true),
|
|
3481
|
-
createElementVNode("input", {
|
|
3496
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
3482
3497
|
id: unref(controlId),
|
|
3483
3498
|
ref_key: "inputRef",
|
|
3484
3499
|
ref: inputRef,
|
|
@@ -3490,17 +3505,17 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
3490
3505
|
"aria-invalid": unref(invalid) || void 0,
|
|
3491
3506
|
"aria-describedby": unref(describedBy),
|
|
3492
3507
|
onChange: onInputChange
|
|
3493
|
-
}, null,
|
|
3508
|
+
}), null, 16, _hoisted_2$J),
|
|
3494
3509
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "tao-checkbox__box" }, null, -1)),
|
|
3495
3510
|
__props.label ? (openBlock(), createElementBlock("span", _hoisted_3$C, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$w, [
|
|
3496
3511
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3497
3512
|
])),
|
|
3498
3513
|
renderSlot(_ctx.$slots, "post", { text: __props.label }, void 0, true)
|
|
3499
|
-
],
|
|
3514
|
+
], 16, _hoisted_1$P);
|
|
3500
3515
|
};
|
|
3501
3516
|
}
|
|
3502
3517
|
});
|
|
3503
|
-
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-
|
|
3518
|
+
const TaoCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-64c6f73a"]]);
|
|
3504
3519
|
const _hoisted_1$O = {
|
|
3505
3520
|
key: 0,
|
|
3506
3521
|
class: "tao-tag__prefix"
|
|
@@ -3702,7 +3717,7 @@ const TaoAnimatedBorder = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId"
|
|
|
3702
3717
|
const _hoisted_1$L = ["id", "placeholder", "spellcheck", "autocomplete", "minlength", "maxlength", "disabled", "readonly", "rows", "value", "aria-invalid", "aria-describedby"];
|
|
3703
3718
|
const _hoisted_2$F = ["id"];
|
|
3704
3719
|
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
3705
|
-
...{ name: "TaoTextarea" },
|
|
3720
|
+
...{ name: "TaoTextarea", inheritAttrs: false },
|
|
3706
3721
|
__name: "TaoTextarea",
|
|
3707
3722
|
props: {
|
|
3708
3723
|
placeholder: { default: "" },
|
|
@@ -3727,6 +3742,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3727
3742
|
},
|
|
3728
3743
|
emits: ["update:modelValue", "change", "focus", "blur", "keydown"],
|
|
3729
3744
|
setup(__props, { emit: __emit }) {
|
|
3745
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
3730
3746
|
const props = __props;
|
|
3731
3747
|
const emit = __emit;
|
|
3732
3748
|
const { field, controlId, invalid } = useField(props);
|
|
@@ -3802,21 +3818,21 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3802
3818
|
nextTick(autoResize);
|
|
3803
3819
|
});
|
|
3804
3820
|
return (_ctx, _cache) => {
|
|
3805
|
-
return openBlock(), createElementBlock("div", {
|
|
3806
|
-
class:
|
|
3807
|
-
}, [
|
|
3808
|
-
createElementVNode("textarea", {
|
|
3821
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
3822
|
+
class: ["tao-textarea-wrap", unref(sizeClass)(__props.size)]
|
|
3823
|
+
}), [
|
|
3824
|
+
createElementVNode("textarea", mergeProps(unref(controlAttrs)(), {
|
|
3809
3825
|
id: unref(controlId),
|
|
3810
3826
|
ref_key: "textareaRef",
|
|
3811
3827
|
ref: textareaRef,
|
|
3812
|
-
class:
|
|
3828
|
+
class: ["tao-textarea", [
|
|
3813
3829
|
variantClasses.value,
|
|
3814
3830
|
alignClass.value,
|
|
3815
3831
|
{
|
|
3816
3832
|
"tao-textarea--no-resize": !__props.resize,
|
|
3817
3833
|
"tao-textarea--invalid": unref(invalid)
|
|
3818
3834
|
}
|
|
3819
|
-
]]
|
|
3835
|
+
]],
|
|
3820
3836
|
placeholder: __props.placeholder,
|
|
3821
3837
|
spellcheck: __props.spellcheck,
|
|
3822
3838
|
autocomplete: __props.autocomplete,
|
|
@@ -3834,17 +3850,17 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3834
3850
|
onFocus,
|
|
3835
3851
|
onBlur,
|
|
3836
3852
|
onKeydown: onKeydown2
|
|
3837
|
-
}, null,
|
|
3853
|
+
}), null, 16, _hoisted_1$L),
|
|
3838
3854
|
__props.count ? (openBlock(), createElementBlock("span", {
|
|
3839
3855
|
key: 0,
|
|
3840
3856
|
id: counterId.value,
|
|
3841
3857
|
class: normalizeClass(["tao-textarea__count", { "tao-textarea__count--limit": atLimit.value }])
|
|
3842
3858
|
}, toDisplayString(countLabel.value), 11, _hoisted_2$F)) : createCommentVNode("", true)
|
|
3843
|
-
],
|
|
3859
|
+
], 16);
|
|
3844
3860
|
};
|
|
3845
3861
|
}
|
|
3846
3862
|
});
|
|
3847
|
-
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-
|
|
3863
|
+
const TaoTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-a428dc8a"]]);
|
|
3848
3864
|
const _hoisted_1$K = ["aria-label"];
|
|
3849
3865
|
const _hoisted_2$E = { class: "tao-scroll-top__content" };
|
|
3850
3866
|
const _hoisted_3$z = {
|
|
@@ -6868,7 +6884,7 @@ const _hoisted_2$p = { class: "tao-select__value" };
|
|
|
6868
6884
|
const _hoisted_3$l = ["aria-activedescendant"];
|
|
6869
6885
|
const _hoisted_4$j = ["id", "aria-selected", "aria-disabled", "data-tao-select-index", "onClick", "onMouseenter"];
|
|
6870
6886
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
6871
|
-
...{ name: "TaoSelect" },
|
|
6887
|
+
...{ name: "TaoSelect", inheritAttrs: false },
|
|
6872
6888
|
__name: "TaoSelect",
|
|
6873
6889
|
props: {
|
|
6874
6890
|
modelValue: { default: null },
|
|
@@ -6882,6 +6898,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6882
6898
|
},
|
|
6883
6899
|
emits: ["update:modelValue", "change"],
|
|
6884
6900
|
setup(__props, { emit: __emit }) {
|
|
6901
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
6885
6902
|
const props = __props;
|
|
6886
6903
|
const l10n = useLocaleText(props, "select");
|
|
6887
6904
|
const emit = __emit;
|
|
@@ -6995,15 +7012,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6995
7012
|
}
|
|
6996
7013
|
});
|
|
6997
7014
|
return (_ctx, _cache) => {
|
|
6998
|
-
return openBlock(), createElementBlock("div", {
|
|
6999
|
-
class:
|
|
7000
|
-
}, [
|
|
7001
|
-
createElementVNode("button", {
|
|
7015
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
7016
|
+
class: ["tao-select", [unref(sizeClass)(__props.size), { "tao-select--open": open.value, "tao-select--invalid": unref(invalid) }]]
|
|
7017
|
+
}), [
|
|
7018
|
+
createElementVNode("button", mergeProps(unref(controlAttrs)(), {
|
|
7002
7019
|
id: unref(controlId),
|
|
7003
7020
|
ref_key: "triggerRef",
|
|
7004
7021
|
ref: triggerRef,
|
|
7005
7022
|
type: "button",
|
|
7006
|
-
class:
|
|
7023
|
+
class: ["tao-select__trigger", { "tao-select__trigger--placeholder": !selected.value }],
|
|
7007
7024
|
role: "combobox",
|
|
7008
7025
|
"aria-expanded": open.value,
|
|
7009
7026
|
"aria-haspopup": "listbox",
|
|
@@ -7013,7 +7030,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
7013
7030
|
disabled: __props.disabled,
|
|
7014
7031
|
onClick: toggle,
|
|
7015
7032
|
onKeydown: onTriggerKeydown
|
|
7016
|
-
}, [
|
|
7033
|
+
}), [
|
|
7017
7034
|
createElementVNode("span", _hoisted_2$p, toDisplayString(selected.value?.label ?? unref(l10n).placeholder), 1),
|
|
7018
7035
|
createElementVNode("span", {
|
|
7019
7036
|
class: normalizeClass(["tao-select__chevron", { "tao-select__chevron--custom": _ctx.$slots.chevron }]),
|
|
@@ -7021,7 +7038,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
7021
7038
|
}, [
|
|
7022
7039
|
renderSlot(_ctx.$slots, "chevron", {}, void 0, true)
|
|
7023
7040
|
], 2)
|
|
7024
|
-
],
|
|
7041
|
+
], 16, _hoisted_1$r),
|
|
7025
7042
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
7026
7043
|
open.value ? (openBlock(), createElementBlock("div", {
|
|
7027
7044
|
key: 0,
|
|
@@ -7074,11 +7091,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
7074
7091
|
], 32)) : createCommentVNode("", true)
|
|
7075
7092
|
], 6)) : createCommentVNode("", true)
|
|
7076
7093
|
]))
|
|
7077
|
-
],
|
|
7094
|
+
], 16);
|
|
7078
7095
|
};
|
|
7079
7096
|
}
|
|
7080
7097
|
});
|
|
7081
|
-
const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
7098
|
+
const TaoSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-86083e38"]]);
|
|
7082
7099
|
const clamp = (v, lo, hi) => Math.min(Math.max(v, lo), hi);
|
|
7083
7100
|
const byte = (v) => Math.round(clamp(v, 0, 255));
|
|
7084
7101
|
const hex2 = (v) => byte(v).toString(16).padStart(2, "0");
|
|
@@ -7840,7 +7857,7 @@ const _hoisted_2$k = {
|
|
|
7840
7857
|
};
|
|
7841
7858
|
const _hoisted_3$h = ["id", "aria-selected", "aria-disabled", "data-tao-combobox-index", "onClick", "onMouseenter"];
|
|
7842
7859
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
7843
|
-
...{ name: "TaoCombobox" },
|
|
7860
|
+
...{ name: "TaoCombobox", inheritAttrs: false },
|
|
7844
7861
|
__name: "TaoCombobox",
|
|
7845
7862
|
props: {
|
|
7846
7863
|
modelValue: { default: null },
|
|
@@ -7856,6 +7873,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
7856
7873
|
},
|
|
7857
7874
|
emits: ["update:modelValue", "change", "create"],
|
|
7858
7875
|
setup(__props, { emit: __emit }) {
|
|
7876
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
7859
7877
|
const appLocale = useTaoLocale();
|
|
7860
7878
|
const props = __props;
|
|
7861
7879
|
const l10n = useLocaleText(props, "combobox");
|
|
@@ -8164,23 +8182,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8164
8182
|
stopFocusLoss?.();
|
|
8165
8183
|
});
|
|
8166
8184
|
return (_ctx, _cache) => {
|
|
8167
|
-
return openBlock(), createElementBlock("div", {
|
|
8168
|
-
class:
|
|
8185
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
8186
|
+
class: ["tao-combobox", [
|
|
8169
8187
|
unref(sizeClass)(__props.size),
|
|
8170
8188
|
{
|
|
8171
8189
|
"tao-combobox--open": open.value,
|
|
8172
8190
|
"tao-combobox--invalid": unref(invalid),
|
|
8173
8191
|
"tao-combobox--disabled": __props.disabled
|
|
8174
8192
|
}
|
|
8175
|
-
]]
|
|
8176
|
-
}, [
|
|
8193
|
+
]]
|
|
8194
|
+
}), [
|
|
8177
8195
|
createElementVNode("div", {
|
|
8178
8196
|
ref_key: "fieldRef",
|
|
8179
8197
|
ref: fieldRef,
|
|
8180
8198
|
class: "tao-combobox__field",
|
|
8181
8199
|
onMousedown: onFieldMouseDown
|
|
8182
8200
|
}, [
|
|
8183
|
-
createElementVNode("input", {
|
|
8201
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
8184
8202
|
id: unref(controlId),
|
|
8185
8203
|
ref_key: "inputRef",
|
|
8186
8204
|
ref: inputRef,
|
|
@@ -8205,7 +8223,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8205
8223
|
onFocus,
|
|
8206
8224
|
onBlur,
|
|
8207
8225
|
onKeydown: onInputKeydown
|
|
8208
|
-
}, null,
|
|
8226
|
+
}), null, 16, _hoisted_1$m),
|
|
8209
8227
|
createElementVNode("span", {
|
|
8210
8228
|
class: normalizeClass(["tao-combobox__chevron", { "tao-combobox__chevron--custom": _ctx.$slots.chevron }]),
|
|
8211
8229
|
"aria-hidden": "true"
|
|
@@ -8274,11 +8292,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8274
8292
|
], 32)) : createCommentVNode("", true)
|
|
8275
8293
|
], 6)) : createCommentVNode("", true)
|
|
8276
8294
|
]))
|
|
8277
|
-
],
|
|
8295
|
+
], 16);
|
|
8278
8296
|
};
|
|
8279
8297
|
}
|
|
8280
8298
|
});
|
|
8281
|
-
const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
8299
|
+
const TaoCombobox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-f83c7ed3"]]);
|
|
8282
8300
|
const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
8283
8301
|
function formatTaoDateIso(parts) {
|
|
8284
8302
|
return `${String(parts.y).padStart(4, "0")}-${String(parts.m).padStart(2, "0")}-${String(parts.d).padStart(2, "0")}`;
|
|
@@ -8765,7 +8783,7 @@ const _hoisted_5$b = {
|
|
|
8765
8783
|
};
|
|
8766
8784
|
const _hoisted_6$8 = ["aria-label"];
|
|
8767
8785
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
8768
|
-
...{ name: "TaoDate" },
|
|
8786
|
+
...{ name: "TaoDate", inheritAttrs: false },
|
|
8769
8787
|
__name: "TaoDate",
|
|
8770
8788
|
props: {
|
|
8771
8789
|
modelValue: { default: null },
|
|
@@ -8787,6 +8805,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8787
8805
|
},
|
|
8788
8806
|
emits: ["update:modelValue", "change"],
|
|
8789
8807
|
setup(__props, { emit: __emit }) {
|
|
8808
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
8790
8809
|
const appLocale = useTaoLocale();
|
|
8791
8810
|
const props = __props;
|
|
8792
8811
|
const l10n = useLocaleText(props, "date");
|
|
@@ -8906,16 +8925,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8906
8925
|
}
|
|
8907
8926
|
}
|
|
8908
8927
|
return (_ctx, _cache) => {
|
|
8909
|
-
return openBlock(), createElementBlock("div", {
|
|
8910
|
-
class:
|
|
8911
|
-
}, [
|
|
8928
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
8929
|
+
class: ["tao-date", [unref(sizeClass)(__props.size), { "tao-date--open": open.value, "tao-date--invalid": unref(invalid), "tao-date--editable": __props.editable }]]
|
|
8930
|
+
}), [
|
|
8912
8931
|
__props.editable ? (openBlock(), createElementBlock("div", {
|
|
8913
8932
|
key: 0,
|
|
8914
8933
|
ref_key: "fieldRef",
|
|
8915
8934
|
ref: fieldRef,
|
|
8916
8935
|
class: normalizeClass(["tao-date__field", { "tao-date__field--disabled": __props.disabled }])
|
|
8917
8936
|
}, [
|
|
8918
|
-
createElementVNode("input", {
|
|
8937
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
8919
8938
|
id: unref(controlId),
|
|
8920
8939
|
ref_key: "inputRef",
|
|
8921
8940
|
ref: inputRef,
|
|
@@ -8931,7 +8950,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8931
8950
|
onInput,
|
|
8932
8951
|
onKeydown: onInputKeydown,
|
|
8933
8952
|
onBlur: commitText
|
|
8934
|
-
}, null,
|
|
8953
|
+
}), null, 16, _hoisted_1$k),
|
|
8935
8954
|
createElementVNode("button", {
|
|
8936
8955
|
type: "button",
|
|
8937
8956
|
class: "tao-date__toggle",
|
|
@@ -8949,13 +8968,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8949
8968
|
})
|
|
8950
8969
|
], true)
|
|
8951
8970
|
], 8, _hoisted_2$i)
|
|
8952
|
-
], 2)) : (openBlock(), createElementBlock("button", {
|
|
8953
|
-
key: 1,
|
|
8971
|
+
], 2)) : (openBlock(), createElementBlock("button", mergeProps({ key: 1 }, unref(controlAttrs)(), {
|
|
8954
8972
|
id: unref(controlId),
|
|
8955
8973
|
ref_key: "triggerRef",
|
|
8956
8974
|
ref: triggerRef,
|
|
8957
8975
|
type: "button",
|
|
8958
|
-
class:
|
|
8976
|
+
class: ["tao-date__trigger", { "tao-date__trigger--placeholder": !valueIso.value }],
|
|
8959
8977
|
role: "combobox",
|
|
8960
8978
|
"aria-expanded": open.value,
|
|
8961
8979
|
"aria-haspopup": "dialog",
|
|
@@ -8965,7 +8983,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8965
8983
|
disabled: __props.disabled,
|
|
8966
8984
|
onClick: toggle,
|
|
8967
8985
|
onKeydown: onTriggerKeydown
|
|
8968
|
-
}, [
|
|
8986
|
+
}), [
|
|
8969
8987
|
createElementVNode("span", _hoisted_4$f, toDisplayString(displayLabel.value || unref(l10n).placeholder), 1),
|
|
8970
8988
|
createElementVNode("span", _hoisted_5$b, [
|
|
8971
8989
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
@@ -8975,7 +8993,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8975
8993
|
})
|
|
8976
8994
|
], true)
|
|
8977
8995
|
])
|
|
8978
|
-
],
|
|
8996
|
+
], 16, _hoisted_3$f)),
|
|
8979
8997
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
8980
8998
|
open.value ? (openBlock(), createElementBlock("div", {
|
|
8981
8999
|
key: 0,
|
|
@@ -9033,11 +9051,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9033
9051
|
]), 1032, ["model-value", "min", "max", "locale", "today-text", "clear-text", "prev-month-label", "next-month-label"])
|
|
9034
9052
|
], 12, _hoisted_6$8)) : createCommentVNode("", true)
|
|
9035
9053
|
]))
|
|
9036
|
-
],
|
|
9054
|
+
], 16);
|
|
9037
9055
|
};
|
|
9038
9056
|
}
|
|
9039
9057
|
});
|
|
9040
|
-
const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
9058
|
+
const TaoDate = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-dd7a8c06"]]);
|
|
9041
9059
|
const _hoisted_1$j = ["id", "aria-expanded", "aria-invalid", "aria-describedby", "disabled"];
|
|
9042
9060
|
const _hoisted_2$h = { class: "tao-date-range__value" };
|
|
9043
9061
|
const _hoisted_3$e = {
|
|
@@ -9046,7 +9064,7 @@ const _hoisted_3$e = {
|
|
|
9046
9064
|
};
|
|
9047
9065
|
const _hoisted_4$e = ["aria-label"];
|
|
9048
9066
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
9049
|
-
...{ name: "TaoDateRange" },
|
|
9067
|
+
...{ name: "TaoDateRange", inheritAttrs: false },
|
|
9050
9068
|
__name: "TaoDateRange",
|
|
9051
9069
|
props: {
|
|
9052
9070
|
modelValue: { default: null },
|
|
@@ -9064,6 +9082,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9064
9082
|
},
|
|
9065
9083
|
emits: ["update:modelValue", "change"],
|
|
9066
9084
|
setup(__props, { emit: __emit }) {
|
|
9085
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
9067
9086
|
const appLocale = useTaoLocale();
|
|
9068
9087
|
const props = __props;
|
|
9069
9088
|
const l10n = useLocaleText(props, "dateRange");
|
|
@@ -9122,15 +9141,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9122
9141
|
}
|
|
9123
9142
|
}
|
|
9124
9143
|
return (_ctx, _cache) => {
|
|
9125
|
-
return openBlock(), createElementBlock("div", {
|
|
9126
|
-
class:
|
|
9127
|
-
}, [
|
|
9128
|
-
createElementVNode("button", {
|
|
9144
|
+
return openBlock(), createElementBlock("div", mergeProps(unref(rootAttrs)(), {
|
|
9145
|
+
class: ["tao-date-range", [unref(sizeClass)(__props.size), { "tao-date-range--open": open.value, "tao-date-range--invalid": unref(invalid) }]]
|
|
9146
|
+
}), [
|
|
9147
|
+
createElementVNode("button", mergeProps(unref(controlAttrs)(), {
|
|
9129
9148
|
id: unref(controlId),
|
|
9130
9149
|
ref_key: "triggerRef",
|
|
9131
9150
|
ref: triggerRef,
|
|
9132
9151
|
type: "button",
|
|
9133
|
-
class:
|
|
9152
|
+
class: ["tao-date-range__trigger", { "tao-date-range__trigger--placeholder": !committed.value }],
|
|
9134
9153
|
role: "combobox",
|
|
9135
9154
|
"aria-expanded": open.value,
|
|
9136
9155
|
"aria-haspopup": "dialog",
|
|
@@ -9140,7 +9159,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9140
9159
|
disabled: __props.disabled,
|
|
9141
9160
|
onClick: toggle,
|
|
9142
9161
|
onKeydown: onTriggerKeydown
|
|
9143
|
-
}, [
|
|
9162
|
+
}), [
|
|
9144
9163
|
createElementVNode("span", _hoisted_2$h, toDisplayString(displayLabel.value || unref(l10n).placeholder), 1),
|
|
9145
9164
|
createElementVNode("span", _hoisted_3$e, [
|
|
9146
9165
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
@@ -9150,7 +9169,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9150
9169
|
})
|
|
9151
9170
|
], true)
|
|
9152
9171
|
])
|
|
9153
|
-
],
|
|
9172
|
+
], 16, _hoisted_1$j),
|
|
9154
9173
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
9155
9174
|
open.value ? (openBlock(), createElementBlock("div", {
|
|
9156
9175
|
key: 0,
|
|
@@ -9208,11 +9227,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9208
9227
|
]), 1032, ["model-value", "min", "max", "locale", "today-text", "clear-text", "prev-month-label", "next-month-label"])
|
|
9209
9228
|
], 12, _hoisted_4$e)) : createCommentVNode("", true)
|
|
9210
9229
|
]))
|
|
9211
|
-
],
|
|
9230
|
+
], 16);
|
|
9212
9231
|
};
|
|
9213
9232
|
}
|
|
9214
9233
|
});
|
|
9215
|
-
const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
9234
|
+
const TaoDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-742078b1"]]);
|
|
9216
9235
|
const _hoisted_1$i = ["for"];
|
|
9217
9236
|
const _hoisted_2$g = ["id", "checked", "disabled", "aria-checked", "aria-invalid", "aria-describedby", "aria-busy"];
|
|
9218
9237
|
const _hoisted_3$d = {
|
|
@@ -9224,7 +9243,7 @@ const _hoisted_4$d = {
|
|
|
9224
9243
|
class: "tao-switch__label"
|
|
9225
9244
|
};
|
|
9226
9245
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
9227
|
-
...{ name: "TaoSwitch" },
|
|
9246
|
+
...{ name: "TaoSwitch", inheritAttrs: false },
|
|
9228
9247
|
__name: "TaoSwitch",
|
|
9229
9248
|
props: {
|
|
9230
9249
|
modelValue: { type: Boolean, default: false },
|
|
@@ -9236,6 +9255,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9236
9255
|
},
|
|
9237
9256
|
emits: ["update:modelValue", "change"],
|
|
9238
9257
|
setup(__props, { emit: __emit }) {
|
|
9258
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
9239
9259
|
const props = __props;
|
|
9240
9260
|
const emit = __emit;
|
|
9241
9261
|
const { controlId, invalid, describedBy } = useField(props);
|
|
@@ -9251,11 +9271,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9251
9271
|
emit("change", next);
|
|
9252
9272
|
}
|
|
9253
9273
|
return (_ctx, _cache) => {
|
|
9254
|
-
return openBlock(), createElementBlock("label", {
|
|
9255
|
-
class:
|
|
9274
|
+
return openBlock(), createElementBlock("label", mergeProps(unref(rootAttrs)(), {
|
|
9275
|
+
class: ["tao-switch", [unref(sizeClass)(__props.size), { "tao-switch--disabled": __props.disabled, "tao-switch--on": __props.modelValue, "tao-switch--invalid": unref(invalid), "tao-switch--loading": __props.loading }]],
|
|
9256
9276
|
for: unref(controlId)
|
|
9257
|
-
}, [
|
|
9258
|
-
createElementVNode("input", {
|
|
9277
|
+
}), [
|
|
9278
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
9259
9279
|
id: unref(controlId),
|
|
9260
9280
|
class: "tao-switch__input",
|
|
9261
9281
|
type: "checkbox",
|
|
@@ -9267,7 +9287,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9267
9287
|
"aria-describedby": unref(describedBy),
|
|
9268
9288
|
"aria-busy": __props.loading || void 0,
|
|
9269
9289
|
onChange: toggle
|
|
9270
|
-
}, null,
|
|
9290
|
+
}), null, 16, _hoisted_2$g),
|
|
9271
9291
|
_cache[0] || (_cache[0] = createElementVNode("span", {
|
|
9272
9292
|
class: "tao-switch__track",
|
|
9273
9293
|
"aria-hidden": "true"
|
|
@@ -9277,11 +9297,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9277
9297
|
__props.label ? (openBlock(), createElementBlock("span", _hoisted_3$d, toDisplayString(__props.label), 1)) : _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4$d, [
|
|
9278
9298
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9279
9299
|
])) : createCommentVNode("", true)
|
|
9280
|
-
],
|
|
9300
|
+
], 16, _hoisted_1$i);
|
|
9281
9301
|
};
|
|
9282
9302
|
}
|
|
9283
9303
|
});
|
|
9284
|
-
const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
9304
|
+
const TaoSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-538eb64b"]]);
|
|
9285
9305
|
const radioGroupKey = Symbol("taoRadioGroup");
|
|
9286
9306
|
const _hoisted_1$h = ["for"];
|
|
9287
9307
|
const _hoisted_2$f = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-describedby"];
|
|
@@ -9294,7 +9314,7 @@ const _hoisted_4$c = {
|
|
|
9294
9314
|
class: "tao-radio__label"
|
|
9295
9315
|
};
|
|
9296
9316
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
9297
|
-
...{ name: "TaoRadio" },
|
|
9317
|
+
...{ name: "TaoRadio", inheritAttrs: false },
|
|
9298
9318
|
__name: "TaoRadio",
|
|
9299
9319
|
props: {
|
|
9300
9320
|
value: { type: [String, Number, Boolean] },
|
|
@@ -9307,6 +9327,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
9307
9327
|
},
|
|
9308
9328
|
emits: ["update:modelValue", "change"],
|
|
9309
9329
|
setup(__props, { emit: __emit }) {
|
|
9330
|
+
const { rootAttrs, controlAttrs } = useControlAttrs();
|
|
9310
9331
|
const props = __props;
|
|
9311
9332
|
const emit = __emit;
|
|
9312
9333
|
const group = inject(radioGroupKey, null);
|
|
@@ -9332,11 +9353,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
9332
9353
|
emit("change", props.value);
|
|
9333
9354
|
}
|
|
9334
9355
|
return (_ctx, _cache) => {
|
|
9335
|
-
return openBlock(), createElementBlock("label", {
|
|
9336
|
-
class:
|
|
9356
|
+
return openBlock(), createElementBlock("label", mergeProps(unref(rootAttrs)(), {
|
|
9357
|
+
class: ["tao-radio", [unref(sizeClass)(__props.size), { "tao-radio--disabled": isDisabled.value, "tao-radio--invalid": unref(invalid) && !unref(group) }]],
|
|
9337
9358
|
for: controlId.value
|
|
9338
|
-
}, [
|
|
9339
|
-
createElementVNode("input", {
|
|
9359
|
+
}), [
|
|
9360
|
+
createElementVNode("input", mergeProps(unref(controlAttrs)(), {
|
|
9340
9361
|
id: controlId.value,
|
|
9341
9362
|
class: "tao-radio__input",
|
|
9342
9363
|
type: "radio",
|
|
@@ -9347,7 +9368,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
9347
9368
|
"aria-invalid": !unref(group) && unref(invalid) || void 0,
|
|
9348
9369
|
"aria-describedby": describedBy.value,
|
|
9349
9370
|
onChange
|
|
9350
|
-
}, null,
|
|
9371
|
+
}), null, 16, _hoisted_2$f),
|
|
9351
9372
|
_cache[0] || (_cache[0] = createElementVNode("span", {
|
|
9352
9373
|
class: "tao-radio__dot",
|
|
9353
9374
|
"aria-hidden": "true"
|
|
@@ -9355,11 +9376,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
9355
9376
|
__props.label ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(__props.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$c, [
|
|
9356
9377
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9357
9378
|
]))
|
|
9358
|
-
],
|
|
9379
|
+
], 16, _hoisted_1$h);
|
|
9359
9380
|
};
|
|
9360
9381
|
}
|
|
9361
9382
|
});
|
|
9362
|
-
const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
9383
|
+
const TaoRadio = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-7c95fa50"]]);
|
|
9363
9384
|
const _hoisted_1$g = ["id", "disabled", "aria-describedby", "aria-invalid", "aria-labelledby"];
|
|
9364
9385
|
const _hoisted_2$e = {
|
|
9365
9386
|
key: 0,
|