fantasia-ui 0.2.28 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fantasia-ui.es.js
CHANGED
|
@@ -73,11 +73,11 @@ const _export_sfc$1 = (sfc, props) => {
|
|
|
73
73
|
};
|
|
74
74
|
const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-baf7de0c"]]);
|
|
75
75
|
const PictureError = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1780285609860'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='12961'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M894.4%20281.504a39.36%2039.36%200%200%200-27.104-11.808l-293.888-10.976-22.016%2046.88%2030.592%2087.2-55.2%2099.008%2022.4%2079.904%2056%2068.48%2081.024-70.496c7.808-6.88%2020.288-6.496%2027.104%201.216l103.904%20106.4c7.296%207.296%206.88%2019.2-0.928%2026.112a18.944%2018.944%200%200%201-13.76%204.896l-284.8-10.624-14.24%2038.72%2015.52%2034.592%20327.488%2011.808c21.504%200.8%2039.616-15.104%2040.096-35.52l18.208-439.296a34.368%2034.368%200%200%200-10.4-26.496zM684.096%20483.2c-32.32-1.184-57.28-26.88-56-57.088%201.28-30.592%2028.416-54.208%2060.288-52.992%2031.904%201.184%2057.312%2026.88%2056%2057.088-1.184%2030.208-28.384%2054.304-60.288%2052.992z%20m-211.104%20253.6l9.92-40.8-231.424%2015.104c-10.784%200.8-19.776-6.496-20.672-16.704a17.856%2017.856%200%200%201%204.672-13.504l171.52-186.272a18.048%2018.048%200%200%201%2014.208-6.112c5.184%200%2010.272%201.984%2014.176%205.696l57.28%2056.704-24.576-60.32%2044-104.288L472%20302.72l16.384-48.096-315.392%2020.8c-21.504%201.184-37.504%2018.784-36.192%2039.072l31.904%20439.424c0.384%209.792%205.184%2018.688%2013.408%2024.896%207.776%206.496%2017.696%209.792%2028%208.992l281.792-18.304-18.88-32.704z'%20p-id='12962'%3e%3c/path%3e%3c/svg%3e";
|
|
76
|
-
const _hoisted_1$
|
|
76
|
+
const _hoisted_1$H = {
|
|
77
77
|
key: 0,
|
|
78
78
|
class: "loop cubes"
|
|
79
79
|
};
|
|
80
|
-
const _hoisted_2$
|
|
80
|
+
const _hoisted_2$B = {
|
|
81
81
|
key: 2,
|
|
82
82
|
class: "msg"
|
|
83
83
|
};
|
|
@@ -94,7 +94,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
94
94
|
return openBlock(), createElementBlock("div", {
|
|
95
95
|
class: normalizeClass(["flex-center-col size-full loading-container", { "global-mask": _ctx.mask }])
|
|
96
96
|
}, [
|
|
97
|
-
_ctx.type === "cubes" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
97
|
+
_ctx.type === "cubes" ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
98
98
|
(openBlock(), createElementBlock(Fragment, null, renderList(6, (i) => {
|
|
99
99
|
return createElementVNode("div", {
|
|
100
100
|
class: "item cubes",
|
|
@@ -105,22 +105,22 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
key: 1,
|
|
106
106
|
class: normalizeClass(["loader", _ctx.type])
|
|
107
107
|
}, null, 2)),
|
|
108
|
-
props.text ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
108
|
+
props.text ? (openBlock(), createElementBlock("p", _hoisted_2$B, toDisplayString(props.text), 1)) : createCommentVNode("", true)
|
|
109
109
|
], 2);
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
113
|
const FLoading = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-20f58a50"]]);
|
|
114
|
-
const _hoisted_1$
|
|
115
|
-
const _hoisted_2$
|
|
114
|
+
const _hoisted_1$G = { class: "f-image" };
|
|
115
|
+
const _hoisted_2$A = {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "f-image__placeholder"
|
|
118
118
|
};
|
|
119
|
-
const _hoisted_3$
|
|
119
|
+
const _hoisted_3$x = {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "f-image__error"
|
|
122
122
|
};
|
|
123
|
-
const _hoisted_4$
|
|
123
|
+
const _hoisted_4$b = ["src", "loading"];
|
|
124
124
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
125
125
|
__name: "FImage",
|
|
126
126
|
props: {
|
|
@@ -138,10 +138,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
138
138
|
const onLoad = () => status.value = "loaded";
|
|
139
139
|
const onError = () => status.value = "error";
|
|
140
140
|
return (_ctx, _cache) => {
|
|
141
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
141
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
142
142
|
createVNode(Transition, { name: "fade" }, {
|
|
143
143
|
default: withCtx(() => [
|
|
144
|
-
unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
144
|
+
unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
145
145
|
createVNode(FLoading, { type: "classic first" })
|
|
146
146
|
])) : createCommentVNode("", true)
|
|
147
147
|
]),
|
|
@@ -149,7 +149,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
149
149
|
}),
|
|
150
150
|
createVNode(Transition, { name: "fade" }, {
|
|
151
151
|
default: withCtx(() => [
|
|
152
|
-
unref(status) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
152
|
+
unref(status) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
|
|
153
153
|
renderSlot(_ctx.$slots, "error", {}, () => [
|
|
154
154
|
createVNode(FIcon$1, { size: "48px" }, {
|
|
155
155
|
default: withCtx(() => [
|
|
@@ -169,7 +169,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
169
169
|
class: "f-image__img",
|
|
170
170
|
onLoad,
|
|
171
171
|
onError
|
|
172
|
-
}, null, 44, _hoisted_4$
|
|
172
|
+
}, null, 44, _hoisted_4$b), [
|
|
173
173
|
[vShow, unref(status) === "loaded"]
|
|
174
174
|
])
|
|
175
175
|
]);
|
|
@@ -177,7 +177,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
const FImage = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-e959ab10"]]);
|
|
180
|
-
const _hoisted_1$
|
|
180
|
+
const _hoisted_1$F = ["type", "placeholder", "disabled", "readonly", "name", "id"];
|
|
181
181
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
182
182
|
__name: "FInput",
|
|
183
183
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -232,7 +232,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
232
232
|
onChange: handleChange,
|
|
233
233
|
onFocus: handleFocus,
|
|
234
234
|
onBlur: handleBlur
|
|
235
|
-
}, null, 40, _hoisted_1$
|
|
235
|
+
}, null, 40, _hoisted_1$F), [
|
|
236
236
|
[vModelDynamic, model.value]
|
|
237
237
|
])
|
|
238
238
|
], 2);
|
|
@@ -240,8 +240,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
const FInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-9af0fbbe"]]);
|
|
243
|
-
const _hoisted_1$
|
|
244
|
-
const _hoisted_2$
|
|
243
|
+
const _hoisted_1$E = ["onMousemove"];
|
|
244
|
+
const _hoisted_2$z = {
|
|
245
245
|
key: 0,
|
|
246
246
|
class: "f-rate__score"
|
|
247
247
|
};
|
|
@@ -328,22 +328,22 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
328
328
|
]),
|
|
329
329
|
_: 2
|
|
330
330
|
}, 1032, ["color", "size"])
|
|
331
|
-
], 40, _hoisted_1$
|
|
331
|
+
], 40, _hoisted_1$E);
|
|
332
332
|
}), 128)),
|
|
333
|
-
props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
333
|
+
props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$z, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
|
|
334
334
|
], 34);
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
338
|
const FRate = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-3b5c4f14"]]);
|
|
339
|
-
const _hoisted_1$
|
|
340
|
-
const _hoisted_2$
|
|
341
|
-
const _hoisted_3$
|
|
342
|
-
const _hoisted_4$
|
|
339
|
+
const _hoisted_1$D = { class: "f-dropdown-wrapper" };
|
|
340
|
+
const _hoisted_2$y = { class: "f-dropdown-content" };
|
|
341
|
+
const _hoisted_3$w = ["onClick"];
|
|
342
|
+
const _hoisted_4$a = {
|
|
343
343
|
key: 0,
|
|
344
344
|
class: "opt-icon"
|
|
345
345
|
};
|
|
346
|
-
const _hoisted_5$
|
|
346
|
+
const _hoisted_5$9 = { class: "opt-label" };
|
|
347
347
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
348
348
|
__name: "FDropdown",
|
|
349
349
|
props: {
|
|
@@ -513,7 +513,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
513
513
|
});
|
|
514
514
|
useEventListener(window, "click", handleWindowClick);
|
|
515
515
|
return (_ctx, _cache) => {
|
|
516
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
516
|
+
return openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
517
517
|
createElementVNode("div", {
|
|
518
518
|
ref_key: "triggerRef",
|
|
519
519
|
ref: triggerRef,
|
|
@@ -543,18 +543,18 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
543
543
|
class: "f-dropdown-bridge",
|
|
544
544
|
style: normalizeStyle(unref(bridgeStyle))
|
|
545
545
|
}, null, 4)) : createCommentVNode("", true),
|
|
546
|
-
createElementVNode("div", _hoisted_2$
|
|
546
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
547
547
|
_ctx.options && _ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (opt) => {
|
|
548
548
|
return openBlock(), createElementBlock("div", {
|
|
549
549
|
key: opt.key,
|
|
550
550
|
class: normalizeClass(["f-dropdown-option", { "is-disabled": opt.disabled }]),
|
|
551
551
|
onClick: ($event) => handleOptionClick(opt)
|
|
552
552
|
}, [
|
|
553
|
-
opt.icon ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
553
|
+
opt.icon ? (openBlock(), createElementBlock("span", _hoisted_4$a, [
|
|
554
554
|
(openBlock(), createBlock(resolveDynamicComponent(opt.icon)))
|
|
555
555
|
])) : createCommentVNode("", true),
|
|
556
|
-
createElementVNode("span", _hoisted_5$
|
|
557
|
-
], 10, _hoisted_3$
|
|
556
|
+
createElementVNode("span", _hoisted_5$9, toDisplayString(opt.label), 1)
|
|
557
|
+
], 10, _hoisted_3$w);
|
|
558
558
|
}), 128)) : renderSlot(_ctx.$slots, "content", { key: 1 }, void 0, true)
|
|
559
559
|
])
|
|
560
560
|
], 36)) : createCommentVNode("", true)
|
|
@@ -628,20 +628,20 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
630
|
const FSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-61444561"]]);
|
|
631
|
-
const _hoisted_1$
|
|
631
|
+
const _hoisted_1$C = {
|
|
632
632
|
key: 0,
|
|
633
633
|
class: "f-pagination"
|
|
634
634
|
};
|
|
635
|
-
const _hoisted_2$
|
|
635
|
+
const _hoisted_2$x = {
|
|
636
636
|
key: 0,
|
|
637
637
|
class: "f-pagination__total"
|
|
638
638
|
};
|
|
639
|
-
const _hoisted_3$
|
|
639
|
+
const _hoisted_3$v = {
|
|
640
640
|
key: 1,
|
|
641
641
|
class: "f-pagination__size"
|
|
642
642
|
};
|
|
643
|
-
const _hoisted_4$
|
|
644
|
-
const _hoisted_5$
|
|
643
|
+
const _hoisted_4$9 = ["value"];
|
|
644
|
+
const _hoisted_5$8 = ["value"];
|
|
645
645
|
const _hoisted_6$7 = {
|
|
646
646
|
key: 3,
|
|
647
647
|
class: "f-pagination__list"
|
|
@@ -705,10 +705,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
705
705
|
jumpInput.value = "";
|
|
706
706
|
};
|
|
707
707
|
return (_ctx, _cache) => {
|
|
708
|
-
return !_ctx.hideOnSingle || unref(pageCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
708
|
+
return !_ctx.hideOnSingle || unref(pageCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
709
709
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(layoutItems), (item) => {
|
|
710
710
|
return openBlock(), createElementBlock(Fragment, { key: item }, [
|
|
711
|
-
item === "total" ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
711
|
+
item === "total" ? (openBlock(), createElementBlock("span", _hoisted_2$x, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
712
712
|
createElementVNode("select", {
|
|
713
713
|
class: "size-select",
|
|
714
714
|
value: _ctx.pageSize,
|
|
@@ -718,9 +718,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
718
718
|
return openBlock(), createElementBlock("option", {
|
|
719
719
|
key: s,
|
|
720
720
|
value: s
|
|
721
|
-
}, toDisplayString(s) + " 条/页", 9, _hoisted_5$
|
|
721
|
+
}, toDisplayString(s) + " 条/页", 9, _hoisted_5$8);
|
|
722
722
|
}), 128))
|
|
723
|
-
], 40, _hoisted_4$
|
|
723
|
+
], 40, _hoisted_4$9)
|
|
724
724
|
])) : item === "prev" ? (openBlock(), createElementBlock("button", {
|
|
725
725
|
key: 2,
|
|
726
726
|
class: normalizeClass(["page-btn", { disabled: currentPage.value === 1 }]),
|
|
@@ -782,23 +782,23 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
782
782
|
}
|
|
783
783
|
});
|
|
784
784
|
const FPagination = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-930f8b20"]]);
|
|
785
|
-
const _hoisted_1$
|
|
785
|
+
const _hoisted_1$B = {
|
|
786
786
|
key: 0,
|
|
787
787
|
class: "f-card__header"
|
|
788
788
|
};
|
|
789
|
-
const _hoisted_2$
|
|
789
|
+
const _hoisted_2$w = {
|
|
790
790
|
key: 0,
|
|
791
791
|
class: "f-card__header-extra"
|
|
792
792
|
};
|
|
793
|
-
const _hoisted_3$
|
|
793
|
+
const _hoisted_3$u = {
|
|
794
794
|
key: 1,
|
|
795
795
|
class: "f-card__cover"
|
|
796
796
|
};
|
|
797
|
-
const _hoisted_4$
|
|
797
|
+
const _hoisted_4$8 = {
|
|
798
798
|
key: 2,
|
|
799
799
|
class: "f-card__body"
|
|
800
800
|
};
|
|
801
|
-
const _hoisted_5$
|
|
801
|
+
const _hoisted_5$7 = {
|
|
802
802
|
key: 3,
|
|
803
803
|
class: "f-card__footer"
|
|
804
804
|
};
|
|
@@ -835,19 +835,19 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
835
835
|
class: normalizeClass(["f-card", [`f-card--${_ctx.direction}`, { "is-hoverable": _ctx.hoverable }]])
|
|
836
836
|
}, [
|
|
837
837
|
_ctx.direction === "vertical" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
838
|
-
_ctx.$slots.header || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
838
|
+
_ctx.$slots.header || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
839
839
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
840
|
-
_ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
840
|
+
_ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
841
841
|
renderSlot(_ctx.$slots, "header-extra", {}, void 0, true)
|
|
842
842
|
])) : createCommentVNode("", true)
|
|
843
843
|
])) : createCommentVNode("", true),
|
|
844
|
-
_ctx.$slots.cover ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
844
|
+
_ctx.$slots.cover ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
845
845
|
renderSlot(_ctx.$slots, "cover", {}, void 0, true)
|
|
846
846
|
])) : createCommentVNode("", true),
|
|
847
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
847
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
848
848
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
849
849
|
])) : createCommentVNode("", true),
|
|
850
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
850
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
851
851
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
852
852
|
])) : createCommentVNode("", true)
|
|
853
853
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -874,7 +874,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
876
|
const FCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-a66fa373"]]);
|
|
877
|
-
const _hoisted_1$
|
|
877
|
+
const _hoisted_1$A = {
|
|
878
878
|
key: 0,
|
|
879
879
|
class: "f-tag__dot"
|
|
880
880
|
};
|
|
@@ -902,7 +902,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
902
902
|
onMouseenter: _cache[1] || (_cache[1] = ($event) => isHover.value = true),
|
|
903
903
|
onMouseleave: _cache[2] || (_cache[2] = ($event) => isHover.value = false)
|
|
904
904
|
}, [
|
|
905
|
-
_ctx.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
905
|
+
_ctx.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_1$A)) : createCommentVNode("", true),
|
|
906
906
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
907
907
|
_ctx.closable ? (openBlock(), createBlock(FIcon$1, {
|
|
908
908
|
key: 1,
|
|
@@ -1024,8 +1024,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
1024
1024
|
}
|
|
1025
1025
|
});
|
|
1026
1026
|
const FTooltip = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-be9acca7"]]);
|
|
1027
|
-
const _hoisted_1$
|
|
1028
|
-
const _hoisted_2$
|
|
1027
|
+
const _hoisted_1$z = { class: "f-progress" };
|
|
1028
|
+
const _hoisted_2$v = {
|
|
1029
1029
|
key: 0,
|
|
1030
1030
|
class: "f-progress__text"
|
|
1031
1031
|
};
|
|
@@ -1041,7 +1041,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1041
1041
|
const props = __props;
|
|
1042
1042
|
const clampedPercent = computed(() => Math.min(100, Math.max(0, props.percent)));
|
|
1043
1043
|
return (_ctx, _cache) => {
|
|
1044
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1044
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
1045
1045
|
createElementVNode("div", {
|
|
1046
1046
|
class: "f-progress__track",
|
|
1047
1047
|
style: normalizeStyle({ height: `${_ctx.height}px` })
|
|
@@ -1054,16 +1054,16 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1054
1054
|
})
|
|
1055
1055
|
}, null, 4)
|
|
1056
1056
|
], 4),
|
|
1057
|
-
_ctx.showText ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1057
|
+
_ctx.showText ? (openBlock(), createElementBlock("span", _hoisted_2$v, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
|
|
1058
1058
|
]);
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
1061
|
});
|
|
1062
1062
|
const FProgress = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-c2164d6e"]]);
|
|
1063
|
-
const _hoisted_1$
|
|
1064
|
-
const _hoisted_2$
|
|
1065
|
-
const _hoisted_3$
|
|
1066
|
-
const _hoisted_4$
|
|
1063
|
+
const _hoisted_1$y = { class: "f-tabs__nav-container" };
|
|
1064
|
+
const _hoisted_2$u = { class: "f-tabs__nav" };
|
|
1065
|
+
const _hoisted_3$t = ["onClick"];
|
|
1066
|
+
const _hoisted_4$7 = { class: "f-tabs__label" };
|
|
1067
1067
|
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
1068
1068
|
__name: "FTabs",
|
|
1069
1069
|
props: {
|
|
@@ -1097,8 +1097,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1097
1097
|
return openBlock(), createElementBlock("div", {
|
|
1098
1098
|
class: normalizeClass(["f-tabs", [`f-tabs--${_ctx.type}`]])
|
|
1099
1099
|
}, [
|
|
1100
|
-
createElementVNode("div", _hoisted_1$
|
|
1101
|
-
createElementVNode("div", _hoisted_2$
|
|
1100
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
1101
|
+
createElementVNode("div", _hoisted_2$u, [
|
|
1102
1102
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
1103
1103
|
return openBlock(), createElementBlock("div", {
|
|
1104
1104
|
key: tab.name,
|
|
@@ -1108,8 +1108,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1108
1108
|
}]),
|
|
1109
1109
|
onClick: ($event) => setActiveTab(tab.name, tab.disabled)
|
|
1110
1110
|
}, [
|
|
1111
|
-
createElementVNode("span", _hoisted_4$
|
|
1112
|
-
], 10, _hoisted_3$
|
|
1111
|
+
createElementVNode("span", _hoisted_4$7, toDisplayString(tab.label), 1)
|
|
1112
|
+
], 10, _hoisted_3$t);
|
|
1113
1113
|
}), 128))
|
|
1114
1114
|
])
|
|
1115
1115
|
]),
|
|
@@ -1128,12 +1128,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1128
1128
|
}
|
|
1129
1129
|
});
|
|
1130
1130
|
const FTabs = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-268fc654"]]);
|
|
1131
|
-
const _hoisted_1$
|
|
1131
|
+
const _hoisted_1$x = {
|
|
1132
1132
|
class: "f-breadcrumb__current",
|
|
1133
1133
|
"aria-current": "page"
|
|
1134
1134
|
};
|
|
1135
|
-
const _hoisted_2$
|
|
1136
|
-
const _hoisted_3$
|
|
1135
|
+
const _hoisted_2$t = ["href"];
|
|
1136
|
+
const _hoisted_3$s = {
|
|
1137
1137
|
key: 3,
|
|
1138
1138
|
class: "f-breadcrumb__text"
|
|
1139
1139
|
};
|
|
@@ -1165,12 +1165,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
1165
1165
|
key: 1,
|
|
1166
1166
|
item
|
|
1167
1167
|
}, () => [
|
|
1168
|
-
createElementVNode("span", _hoisted_1$
|
|
1168
|
+
createElementVNode("span", _hoisted_1$x, toDisplayString(item.label), 1)
|
|
1169
1169
|
], true) : item.href ? (openBlock(), createElementBlock("a", {
|
|
1170
1170
|
key: 2,
|
|
1171
1171
|
href: item.href,
|
|
1172
1172
|
class: "f-breadcrumb__link"
|
|
1173
|
-
}, toDisplayString(item.label), 9, _hoisted_2$
|
|
1173
|
+
}, toDisplayString(item.label), 9, _hoisted_2$t)) : (openBlock(), createElementBlock("span", _hoisted_3$s, toDisplayString(item.label), 1))
|
|
1174
1174
|
], 64);
|
|
1175
1175
|
}), 128))
|
|
1176
1176
|
]),
|
|
@@ -1277,8 +1277,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1277
1277
|
}
|
|
1278
1278
|
});
|
|
1279
1279
|
const FRow = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-72f62339"]]);
|
|
1280
|
-
const _hoisted_1$
|
|
1281
|
-
const _hoisted_2$
|
|
1280
|
+
const _hoisted_1$w = { class: "f-space__item" };
|
|
1281
|
+
const _hoisted_2$s = {
|
|
1282
1282
|
key: 0,
|
|
1283
1283
|
class: "f-space__split",
|
|
1284
1284
|
"aria-hidden": "true"
|
|
@@ -1337,10 +1337,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1337
1337
|
}, [
|
|
1338
1338
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(children), (child, index) => {
|
|
1339
1339
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
1340
|
-
createElementVNode("div", _hoisted_1$
|
|
1340
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
1341
1341
|
(openBlock(), createBlock(resolveDynamicComponent(child)))
|
|
1342
1342
|
]),
|
|
1343
|
-
_ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1343
|
+
_ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$s, toDisplayString(_ctx.split), 1)) : createCommentVNode("", true)
|
|
1344
1344
|
], 64);
|
|
1345
1345
|
}), 128))
|
|
1346
1346
|
], 4);
|
|
@@ -1397,7 +1397,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1397
1397
|
}
|
|
1398
1398
|
});
|
|
1399
1399
|
const FDivider = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-512ee743"]]);
|
|
1400
|
-
const _hoisted_1$
|
|
1400
|
+
const _hoisted_1$v = ["src", "alt"];
|
|
1401
1401
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1402
1402
|
__name: "FAvatar",
|
|
1403
1403
|
props: {
|
|
@@ -1430,7 +1430,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
src: _ctx.src,
|
|
1432
1432
|
alt: _ctx.alt
|
|
1433
|
-
}, null, 8, _hoisted_1$
|
|
1433
|
+
}, null, 8, _hoisted_1$v)) : (openBlock(), createBlock(FIcon$1, {
|
|
1434
1434
|
key: 1,
|
|
1435
1435
|
size: 24
|
|
1436
1436
|
}, {
|
|
@@ -1444,20 +1444,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1444
1444
|
}
|
|
1445
1445
|
});
|
|
1446
1446
|
const FAvatar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-b3665268"]]);
|
|
1447
|
-
const _hoisted_1$
|
|
1448
|
-
const _hoisted_2$
|
|
1449
|
-
const _hoisted_3$
|
|
1447
|
+
const _hoisted_1$u = ["type", "disabled"];
|
|
1448
|
+
const _hoisted_2$r = { class: "f-button__inner" };
|
|
1449
|
+
const _hoisted_3$r = {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
class: "f-loader"
|
|
1452
1452
|
};
|
|
1453
|
-
const _hoisted_4$7 = {
|
|
1454
|
-
key: 2,
|
|
1455
|
-
class: "f-icon"
|
|
1456
|
-
};
|
|
1457
|
-
const _hoisted_5$7 = {
|
|
1458
|
-
key: 3,
|
|
1459
|
-
class: "f-button__content"
|
|
1460
|
-
};
|
|
1461
1453
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1462
1454
|
__name: "FButton",
|
|
1463
1455
|
props: {
|
|
@@ -1466,7 +1458,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1466
1458
|
nativeType: { default: "button" },
|
|
1467
1459
|
loading: { type: Boolean },
|
|
1468
1460
|
disabled: { type: Boolean },
|
|
1469
|
-
round: { type: [Boolean, Number]
|
|
1461
|
+
round: { type: [Boolean, Number] },
|
|
1470
1462
|
circle: { type: Boolean },
|
|
1471
1463
|
plain: { type: Boolean },
|
|
1472
1464
|
block: { type: Boolean },
|
|
@@ -1477,9 +1469,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1477
1469
|
},
|
|
1478
1470
|
setup(__props) {
|
|
1479
1471
|
const SIZE_MAP = {
|
|
1480
|
-
small: { h: "24px", p: "0 8px", f: "12px" },
|
|
1481
|
-
normal: { h: "32px", p: "0 12px", f: "13px" },
|
|
1482
|
-
large: { h: "40px", p: "0
|
|
1472
|
+
small: { h: "24px", p: "0 8px", f: "12px", i: "14px" },
|
|
1473
|
+
normal: { h: "32px", p: "0 12px", f: "13px", i: "16px" },
|
|
1474
|
+
large: { h: "40px", p: "0 16px", f: "14px", i: "18px" }
|
|
1483
1475
|
};
|
|
1484
1476
|
const props = __props;
|
|
1485
1477
|
const groupContext = inject("FButtonGroupContext", null);
|
|
@@ -1518,33 +1510,20 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1518
1510
|
class: normalizeClass(["f-button", [
|
|
1519
1511
|
`f-button--${unref(mergedType)}`,
|
|
1520
1512
|
`f-button--${unref(mergedSize)}`,
|
|
1521
|
-
{
|
|
1522
|
-
"is-disabled": unref(isDisabled),
|
|
1523
|
-
"is-loading": _ctx.loading,
|
|
1524
|
-
"is-plain": _ctx.plain,
|
|
1525
|
-
"is-block": _ctx.block,
|
|
1526
|
-
"is-active": _ctx.active
|
|
1527
|
-
}
|
|
1513
|
+
{ "is-disabled": unref(isDisabled), "is-loading": _ctx.loading, "is-active": _ctx.active }
|
|
1528
1514
|
]]),
|
|
1529
1515
|
disabled: unref(isDisabled),
|
|
1530
1516
|
style: normalizeStyle(unref(buttonStyle))
|
|
1531
1517
|
}, [
|
|
1532
|
-
createElementVNode("span", _hoisted_2$
|
|
1533
|
-
_ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1534
|
-
|
|
1535
|
-
class: normalizeClass(["f-icon", _ctx.icon])
|
|
1536
|
-
}, null, 2)) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$7, [
|
|
1537
|
-
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
1538
|
-
])) : createCommentVNode("", true),
|
|
1539
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_5$7, [
|
|
1540
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1541
|
-
])) : createCommentVNode("", true)
|
|
1518
|
+
createElementVNode("span", _hoisted_2$r, [
|
|
1519
|
+
_ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$r)) : createCommentVNode("", true),
|
|
1520
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1542
1521
|
])
|
|
1543
|
-
], 14, _hoisted_1$
|
|
1522
|
+
], 14, _hoisted_1$u);
|
|
1544
1523
|
};
|
|
1545
1524
|
}
|
|
1546
1525
|
});
|
|
1547
|
-
const FButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-
|
|
1526
|
+
const FButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-8ec1ff5a"]]);
|
|
1548
1527
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1549
1528
|
__name: "FTypography",
|
|
1550
1529
|
props: {
|
|
@@ -1627,7 +1606,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1627
1606
|
}
|
|
1628
1607
|
});
|
|
1629
1608
|
const FText = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__scopeId", "data-v-8bcfc6b3"]]);
|
|
1630
|
-
const _hoisted_1$
|
|
1609
|
+
const _hoisted_1$t = ["href", "target", "rel"];
|
|
1631
1610
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1632
1611
|
__name: "FLink",
|
|
1633
1612
|
props: {
|
|
@@ -1651,12 +1630,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1651
1630
|
rel: props.target === "_blank" ? "noopener noreferrer" : void 0
|
|
1652
1631
|
}, [
|
|
1653
1632
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1654
|
-
], 10, _hoisted_1$
|
|
1633
|
+
], 10, _hoisted_1$t);
|
|
1655
1634
|
};
|
|
1656
1635
|
}
|
|
1657
1636
|
});
|
|
1658
1637
|
const FLink = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__scopeId", "data-v-daaa3e25"]]);
|
|
1659
|
-
const _hoisted_1$
|
|
1638
|
+
const _hoisted_1$s = { class: "f-badge" };
|
|
1660
1639
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1661
1640
|
__name: "FBadge",
|
|
1662
1641
|
props: {
|
|
@@ -1686,7 +1665,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1686
1665
|
return map[props.placement];
|
|
1687
1666
|
});
|
|
1688
1667
|
return (_ctx, _cache) => {
|
|
1689
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1668
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
1690
1669
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1691
1670
|
_ctx.dot || _ctx.value !== void 0 && _ctx.value !== "" ? (openBlock(), createElementBlock("span", {
|
|
1692
1671
|
key: 0,
|
|
@@ -1866,12 +1845,12 @@ const checkRange = (value, rule) => {
|
|
|
1866
1845
|
}
|
|
1867
1846
|
return void 0;
|
|
1868
1847
|
};
|
|
1869
|
-
const _hoisted_1$
|
|
1848
|
+
const _hoisted_1$r = {
|
|
1870
1849
|
key: 0,
|
|
1871
1850
|
class: "star"
|
|
1872
1851
|
};
|
|
1873
|
-
const _hoisted_2$
|
|
1874
|
-
const _hoisted_3$
|
|
1852
|
+
const _hoisted_2$q = { class: "f-form-item__content" };
|
|
1853
|
+
const _hoisted_3$q = {
|
|
1875
1854
|
key: 0,
|
|
1876
1855
|
class: "f-form-item__error"
|
|
1877
1856
|
};
|
|
@@ -1941,14 +1920,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1941
1920
|
textAlign: unref(labelPosition) === "top" ? "left" : unref(labelPosition)
|
|
1942
1921
|
})
|
|
1943
1922
|
}, [
|
|
1944
|
-
unref(isRequired) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1923
|
+
unref(isRequired) ? (openBlock(), createElementBlock("span", _hoisted_1$r, "*")) : createCommentVNode("", true),
|
|
1945
1924
|
createTextVNode(" " + toDisplayString(_ctx.label) + ": ", 1)
|
|
1946
1925
|
], 4)) : createCommentVNode("", true),
|
|
1947
|
-
createElementVNode("div", _hoisted_2$
|
|
1926
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
1948
1927
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1949
1928
|
createVNode(Transition, { name: "err-slide" }, {
|
|
1950
1929
|
default: withCtx(() => [
|
|
1951
|
-
unref(errorMsg) ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
1930
|
+
unref(errorMsg) ? (openBlock(), createElementBlock("p", _hoisted_3$q, toDisplayString(unref(errorMsg)), 1)) : createCommentVNode("", true)
|
|
1952
1931
|
]),
|
|
1953
1932
|
_: 1
|
|
1954
1933
|
})
|
|
@@ -1958,9 +1937,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1958
1937
|
}
|
|
1959
1938
|
});
|
|
1960
1939
|
const FFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__scopeId", "data-v-c3d6ec01"]]);
|
|
1961
|
-
const _hoisted_1$
|
|
1962
|
-
const _hoisted_2$
|
|
1963
|
-
const _hoisted_3$
|
|
1940
|
+
const _hoisted_1$q = { class: "f-checkbox__wrapper" };
|
|
1941
|
+
const _hoisted_2$p = ["checked", "disabled"];
|
|
1942
|
+
const _hoisted_3$p = {
|
|
1964
1943
|
key: 0,
|
|
1965
1944
|
class: "f-checkbox__label"
|
|
1966
1945
|
};
|
|
@@ -1986,16 +1965,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1986
1965
|
return openBlock(), createElementBlock("label", {
|
|
1987
1966
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
1988
1967
|
}, [
|
|
1989
|
-
createElementVNode("span", _hoisted_1$
|
|
1968
|
+
createElementVNode("span", _hoisted_1$q, [
|
|
1990
1969
|
createElementVNode("input", {
|
|
1991
1970
|
type: "checkbox",
|
|
1992
1971
|
checked: modelValue.value,
|
|
1993
1972
|
disabled: _ctx.disabled,
|
|
1994
1973
|
onChange: handleChange
|
|
1995
|
-
}, null, 40, _hoisted_2$
|
|
1974
|
+
}, null, 40, _hoisted_2$p),
|
|
1996
1975
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
1997
1976
|
]),
|
|
1998
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1977
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
1999
1978
|
], 2);
|
|
2000
1979
|
};
|
|
2001
1980
|
}
|
|
@@ -2690,7 +2669,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2690
2669
|
size: { default: "normal" },
|
|
2691
2670
|
type: { default: "default" },
|
|
2692
2671
|
disabled: { type: Boolean },
|
|
2693
|
-
vertical: { type: Boolean }
|
|
2672
|
+
vertical: { type: Boolean, default: false }
|
|
2694
2673
|
},
|
|
2695
2674
|
setup(__props) {
|
|
2696
2675
|
const props = __props;
|
|
@@ -2705,7 +2684,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2705
2684
|
};
|
|
2706
2685
|
}
|
|
2707
2686
|
});
|
|
2708
|
-
const FButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-
|
|
2687
|
+
const FButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__scopeId", "data-v-15cf49dc"]]);
|
|
2709
2688
|
const _hoisted_1$6 = { class: "f-collapse" };
|
|
2710
2689
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2711
2690
|
__name: "FCollapse",
|
|
@@ -3903,9 +3882,9 @@ const _export_sfc = (sfc, props) => {
|
|
|
3903
3882
|
return target;
|
|
3904
3883
|
};
|
|
3905
3884
|
const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-baf7de0c"]]);
|
|
3906
|
-
const _hoisted_1$
|
|
3907
|
-
const _hoisted_2$
|
|
3908
|
-
const _hoisted_3$
|
|
3885
|
+
const _hoisted_1$p = { class: "f-checkbox__wrapper" };
|
|
3886
|
+
const _hoisted_2$o = ["checked", "disabled"];
|
|
3887
|
+
const _hoisted_3$o = {
|
|
3909
3888
|
key: 0,
|
|
3910
3889
|
class: "f-checkbox__label"
|
|
3911
3890
|
};
|
|
@@ -3931,16 +3910,16 @@ const _hoisted_3$m = {
|
|
|
3931
3910
|
return openBlock(), createElementBlock("label", {
|
|
3932
3911
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
3933
3912
|
}, [
|
|
3934
|
-
createElementVNode("span", _hoisted_1$
|
|
3913
|
+
createElementVNode("span", _hoisted_1$p, [
|
|
3935
3914
|
createElementVNode("input", {
|
|
3936
3915
|
type: "checkbox",
|
|
3937
3916
|
checked: modelValue.value,
|
|
3938
3917
|
disabled: _ctx.disabled,
|
|
3939
3918
|
onChange: handleChange
|
|
3940
|
-
}, null, 40, _hoisted_2$
|
|
3919
|
+
}, null, 40, _hoisted_2$o),
|
|
3941
3920
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
3942
3921
|
]),
|
|
3943
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
3922
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
3944
3923
|
], 2);
|
|
3945
3924
|
};
|
|
3946
3925
|
}
|
|
@@ -4016,9 +3995,9 @@ var __spreadValues22 = (a, b) => {
|
|
|
4016
3995
|
}
|
|
4017
3996
|
return a;
|
|
4018
3997
|
};
|
|
4019
|
-
const _hoisted_1$
|
|
4020
|
-
const _hoisted_2$
|
|
4021
|
-
const _hoisted_3$
|
|
3998
|
+
const _hoisted_1$o = { class: "f-checkbox__wrapper" };
|
|
3999
|
+
const _hoisted_2$n = ["checked", "disabled"];
|
|
4000
|
+
const _hoisted_3$n = {
|
|
4022
4001
|
key: 0,
|
|
4023
4002
|
class: "f-checkbox__label"
|
|
4024
4003
|
};
|
|
@@ -4044,16 +4023,16 @@ const _hoisted_3$l = {
|
|
|
4044
4023
|
return openBlock(), createElementBlock("label", {
|
|
4045
4024
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4046
4025
|
}, [
|
|
4047
|
-
createElementVNode("span", _hoisted_1$
|
|
4026
|
+
createElementVNode("span", _hoisted_1$o, [
|
|
4048
4027
|
createElementVNode("input", {
|
|
4049
4028
|
type: "checkbox",
|
|
4050
4029
|
checked: modelValue.value,
|
|
4051
4030
|
disabled: _ctx.disabled,
|
|
4052
4031
|
onChange: handleChange
|
|
4053
|
-
}, null, 40, _hoisted_2$
|
|
4032
|
+
}, null, 40, _hoisted_2$n),
|
|
4054
4033
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4055
4034
|
]),
|
|
4056
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4035
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4057
4036
|
], 2);
|
|
4058
4037
|
};
|
|
4059
4038
|
}
|
|
@@ -4129,9 +4108,9 @@ var __spreadValues222 = (a, b) => {
|
|
|
4129
4108
|
}
|
|
4130
4109
|
return a;
|
|
4131
4110
|
};
|
|
4132
|
-
const _hoisted_1$
|
|
4133
|
-
const _hoisted_2$
|
|
4134
|
-
const _hoisted_3$
|
|
4111
|
+
const _hoisted_1$n = { class: "f-checkbox__wrapper" };
|
|
4112
|
+
const _hoisted_2$m = ["checked", "disabled"];
|
|
4113
|
+
const _hoisted_3$m = {
|
|
4135
4114
|
key: 0,
|
|
4136
4115
|
class: "f-checkbox__label"
|
|
4137
4116
|
};
|
|
@@ -4157,16 +4136,16 @@ const _hoisted_3$k = {
|
|
|
4157
4136
|
return openBlock(), createElementBlock("label", {
|
|
4158
4137
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4159
4138
|
}, [
|
|
4160
|
-
createElementVNode("span", _hoisted_1$
|
|
4139
|
+
createElementVNode("span", _hoisted_1$n, [
|
|
4161
4140
|
createElementVNode("input", {
|
|
4162
4141
|
type: "checkbox",
|
|
4163
4142
|
checked: modelValue.value,
|
|
4164
4143
|
disabled: _ctx.disabled,
|
|
4165
4144
|
onChange: handleChange
|
|
4166
|
-
}, null, 40, _hoisted_2$
|
|
4145
|
+
}, null, 40, _hoisted_2$m),
|
|
4167
4146
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4168
4147
|
]),
|
|
4169
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4148
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$m, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4170
4149
|
], 2);
|
|
4171
4150
|
};
|
|
4172
4151
|
}
|
|
@@ -4242,9 +4221,9 @@ var __spreadValues2222 = (a, b) => {
|
|
|
4242
4221
|
}
|
|
4243
4222
|
return a;
|
|
4244
4223
|
};
|
|
4245
|
-
const _hoisted_1$
|
|
4246
|
-
const _hoisted_2$
|
|
4247
|
-
const _hoisted_3$
|
|
4224
|
+
const _hoisted_1$m = { class: "f-checkbox__wrapper" };
|
|
4225
|
+
const _hoisted_2$l = ["checked", "disabled"];
|
|
4226
|
+
const _hoisted_3$l = {
|
|
4248
4227
|
key: 0,
|
|
4249
4228
|
class: "f-checkbox__label"
|
|
4250
4229
|
};
|
|
@@ -4270,16 +4249,16 @@ const _hoisted_3$j = {
|
|
|
4270
4249
|
return openBlock(), createElementBlock("label", {
|
|
4271
4250
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4272
4251
|
}, [
|
|
4273
|
-
createElementVNode("span", _hoisted_1$
|
|
4252
|
+
createElementVNode("span", _hoisted_1$m, [
|
|
4274
4253
|
createElementVNode("input", {
|
|
4275
4254
|
type: "checkbox",
|
|
4276
4255
|
checked: modelValue.value,
|
|
4277
4256
|
disabled: _ctx.disabled,
|
|
4278
4257
|
onChange: handleChange
|
|
4279
|
-
}, null, 40, _hoisted_2$
|
|
4258
|
+
}, null, 40, _hoisted_2$l),
|
|
4280
4259
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4281
4260
|
]),
|
|
4282
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4261
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$l, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4283
4262
|
], 2);
|
|
4284
4263
|
};
|
|
4285
4264
|
}
|
|
@@ -4355,9 +4334,9 @@ var __spreadValues22222 = (a, b) => {
|
|
|
4355
4334
|
}
|
|
4356
4335
|
return a;
|
|
4357
4336
|
};
|
|
4358
|
-
const _hoisted_1$
|
|
4359
|
-
const _hoisted_2$
|
|
4360
|
-
const _hoisted_3$
|
|
4337
|
+
const _hoisted_1$l = { class: "f-checkbox__wrapper" };
|
|
4338
|
+
const _hoisted_2$k = ["checked", "disabled"];
|
|
4339
|
+
const _hoisted_3$k = {
|
|
4361
4340
|
key: 0,
|
|
4362
4341
|
class: "f-checkbox__label"
|
|
4363
4342
|
};
|
|
@@ -4383,16 +4362,16 @@ const _hoisted_3$i = {
|
|
|
4383
4362
|
return openBlock(), createElementBlock("label", {
|
|
4384
4363
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4385
4364
|
}, [
|
|
4386
|
-
createElementVNode("span", _hoisted_1$
|
|
4365
|
+
createElementVNode("span", _hoisted_1$l, [
|
|
4387
4366
|
createElementVNode("input", {
|
|
4388
4367
|
type: "checkbox",
|
|
4389
4368
|
checked: modelValue.value,
|
|
4390
4369
|
disabled: _ctx.disabled,
|
|
4391
4370
|
onChange: handleChange
|
|
4392
|
-
}, null, 40, _hoisted_2$
|
|
4371
|
+
}, null, 40, _hoisted_2$k),
|
|
4393
4372
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4394
4373
|
]),
|
|
4395
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4374
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$k, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4396
4375
|
], 2);
|
|
4397
4376
|
};
|
|
4398
4377
|
}
|
|
@@ -4468,9 +4447,9 @@ var __spreadValues222222 = (a, b) => {
|
|
|
4468
4447
|
}
|
|
4469
4448
|
return a;
|
|
4470
4449
|
};
|
|
4471
|
-
const _hoisted_1$
|
|
4472
|
-
const _hoisted_2$
|
|
4473
|
-
const _hoisted_3$
|
|
4450
|
+
const _hoisted_1$k = { class: "f-checkbox__wrapper" };
|
|
4451
|
+
const _hoisted_2$j = ["checked", "disabled"];
|
|
4452
|
+
const _hoisted_3$j = {
|
|
4474
4453
|
key: 0,
|
|
4475
4454
|
class: "f-checkbox__label"
|
|
4476
4455
|
};
|
|
@@ -4496,16 +4475,16 @@ const _hoisted_3$h = {
|
|
|
4496
4475
|
return openBlock(), createElementBlock("label", {
|
|
4497
4476
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4498
4477
|
}, [
|
|
4499
|
-
createElementVNode("span", _hoisted_1$
|
|
4478
|
+
createElementVNode("span", _hoisted_1$k, [
|
|
4500
4479
|
createElementVNode("input", {
|
|
4501
4480
|
type: "checkbox",
|
|
4502
4481
|
checked: modelValue.value,
|
|
4503
4482
|
disabled: _ctx.disabled,
|
|
4504
4483
|
onChange: handleChange
|
|
4505
|
-
}, null, 40, _hoisted_2$
|
|
4484
|
+
}, null, 40, _hoisted_2$j),
|
|
4506
4485
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4507
4486
|
]),
|
|
4508
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4487
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$j, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4509
4488
|
], 2);
|
|
4510
4489
|
};
|
|
4511
4490
|
}
|
|
@@ -4581,9 +4560,9 @@ var __spreadValues2222222 = (a, b) => {
|
|
|
4581
4560
|
}
|
|
4582
4561
|
return a;
|
|
4583
4562
|
};
|
|
4584
|
-
const _hoisted_1$
|
|
4585
|
-
const _hoisted_2$
|
|
4586
|
-
const _hoisted_3$
|
|
4563
|
+
const _hoisted_1$j = { class: "f-checkbox__wrapper" };
|
|
4564
|
+
const _hoisted_2$i = ["checked", "disabled"];
|
|
4565
|
+
const _hoisted_3$i = {
|
|
4587
4566
|
key: 0,
|
|
4588
4567
|
class: "f-checkbox__label"
|
|
4589
4568
|
};
|
|
@@ -4609,16 +4588,16 @@ const _hoisted_3$g = {
|
|
|
4609
4588
|
return openBlock(), createElementBlock("label", {
|
|
4610
4589
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4611
4590
|
}, [
|
|
4612
|
-
createElementVNode("span", _hoisted_1$
|
|
4591
|
+
createElementVNode("span", _hoisted_1$j, [
|
|
4613
4592
|
createElementVNode("input", {
|
|
4614
4593
|
type: "checkbox",
|
|
4615
4594
|
checked: modelValue.value,
|
|
4616
4595
|
disabled: _ctx.disabled,
|
|
4617
4596
|
onChange: handleChange
|
|
4618
|
-
}, null, 40, _hoisted_2$
|
|
4597
|
+
}, null, 40, _hoisted_2$i),
|
|
4619
4598
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4620
4599
|
]),
|
|
4621
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4600
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4622
4601
|
], 2);
|
|
4623
4602
|
};
|
|
4624
4603
|
}
|
|
@@ -4694,9 +4673,9 @@ var __spreadValues22222222 = (a, b) => {
|
|
|
4694
4673
|
}
|
|
4695
4674
|
return a;
|
|
4696
4675
|
};
|
|
4697
|
-
const _hoisted_1$
|
|
4698
|
-
const _hoisted_2$
|
|
4699
|
-
const _hoisted_3$
|
|
4676
|
+
const _hoisted_1$i = { class: "f-checkbox__wrapper" };
|
|
4677
|
+
const _hoisted_2$h = ["checked", "disabled"];
|
|
4678
|
+
const _hoisted_3$h = {
|
|
4700
4679
|
key: 0,
|
|
4701
4680
|
class: "f-checkbox__label"
|
|
4702
4681
|
};
|
|
@@ -4722,16 +4701,16 @@ const _hoisted_3$f = {
|
|
|
4722
4701
|
return openBlock(), createElementBlock("label", {
|
|
4723
4702
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4724
4703
|
}, [
|
|
4725
|
-
createElementVNode("span", _hoisted_1$
|
|
4704
|
+
createElementVNode("span", _hoisted_1$i, [
|
|
4726
4705
|
createElementVNode("input", {
|
|
4727
4706
|
type: "checkbox",
|
|
4728
4707
|
checked: modelValue.value,
|
|
4729
4708
|
disabled: _ctx.disabled,
|
|
4730
4709
|
onChange: handleChange
|
|
4731
|
-
}, null, 40, _hoisted_2$
|
|
4710
|
+
}, null, 40, _hoisted_2$h),
|
|
4732
4711
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4733
4712
|
]),
|
|
4734
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4713
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4735
4714
|
], 2);
|
|
4736
4715
|
};
|
|
4737
4716
|
}
|
|
@@ -4807,9 +4786,9 @@ var __spreadValues222222222 = (a, b) => {
|
|
|
4807
4786
|
}
|
|
4808
4787
|
return a;
|
|
4809
4788
|
};
|
|
4810
|
-
const _hoisted_1$
|
|
4811
|
-
const _hoisted_2$
|
|
4812
|
-
const _hoisted_3$
|
|
4789
|
+
const _hoisted_1$h = { class: "f-checkbox__wrapper" };
|
|
4790
|
+
const _hoisted_2$g = ["checked", "disabled"];
|
|
4791
|
+
const _hoisted_3$g = {
|
|
4813
4792
|
key: 0,
|
|
4814
4793
|
class: "f-checkbox__label"
|
|
4815
4794
|
};
|
|
@@ -4835,16 +4814,16 @@ const _hoisted_3$e = {
|
|
|
4835
4814
|
return openBlock(), createElementBlock("label", {
|
|
4836
4815
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4837
4816
|
}, [
|
|
4838
|
-
createElementVNode("span", _hoisted_1$
|
|
4817
|
+
createElementVNode("span", _hoisted_1$h, [
|
|
4839
4818
|
createElementVNode("input", {
|
|
4840
4819
|
type: "checkbox",
|
|
4841
4820
|
checked: modelValue.value,
|
|
4842
4821
|
disabled: _ctx.disabled,
|
|
4843
4822
|
onChange: handleChange
|
|
4844
|
-
}, null, 40, _hoisted_2$
|
|
4823
|
+
}, null, 40, _hoisted_2$g),
|
|
4845
4824
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4846
4825
|
]),
|
|
4847
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4826
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$g, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4848
4827
|
], 2);
|
|
4849
4828
|
};
|
|
4850
4829
|
}
|
|
@@ -4920,9 +4899,9 @@ var __spreadValues2222222222 = (a, b) => {
|
|
|
4920
4899
|
}
|
|
4921
4900
|
return a;
|
|
4922
4901
|
};
|
|
4923
|
-
const _hoisted_1$
|
|
4924
|
-
const _hoisted_2$
|
|
4925
|
-
const _hoisted_3$
|
|
4902
|
+
const _hoisted_1$g = { class: "f-checkbox__wrapper" };
|
|
4903
|
+
const _hoisted_2$f = ["checked", "disabled"];
|
|
4904
|
+
const _hoisted_3$f = {
|
|
4926
4905
|
key: 0,
|
|
4927
4906
|
class: "f-checkbox__label"
|
|
4928
4907
|
};
|
|
@@ -4948,16 +4927,16 @@ const _hoisted_3$d = {
|
|
|
4948
4927
|
return openBlock(), createElementBlock("label", {
|
|
4949
4928
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4950
4929
|
}, [
|
|
4951
|
-
createElementVNode("span", _hoisted_1$
|
|
4930
|
+
createElementVNode("span", _hoisted_1$g, [
|
|
4952
4931
|
createElementVNode("input", {
|
|
4953
4932
|
type: "checkbox",
|
|
4954
4933
|
checked: modelValue.value,
|
|
4955
4934
|
disabled: _ctx.disabled,
|
|
4956
4935
|
onChange: handleChange
|
|
4957
|
-
}, null, 40, _hoisted_2$
|
|
4936
|
+
}, null, 40, _hoisted_2$f),
|
|
4958
4937
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4959
4938
|
]),
|
|
4960
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4939
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4961
4940
|
], 2);
|
|
4962
4941
|
};
|
|
4963
4942
|
}
|
|
@@ -5033,9 +5012,9 @@ var __spreadValues22222222222 = (a, b) => {
|
|
|
5033
5012
|
}
|
|
5034
5013
|
return a;
|
|
5035
5014
|
};
|
|
5036
|
-
const _hoisted_1$
|
|
5037
|
-
const _hoisted_2$
|
|
5038
|
-
const _hoisted_3$
|
|
5015
|
+
const _hoisted_1$f = { class: "f-checkbox__wrapper" };
|
|
5016
|
+
const _hoisted_2$e = ["checked", "disabled"];
|
|
5017
|
+
const _hoisted_3$e = {
|
|
5039
5018
|
key: 0,
|
|
5040
5019
|
class: "f-checkbox__label"
|
|
5041
5020
|
};
|
|
@@ -5061,16 +5040,16 @@ const _hoisted_3$c = {
|
|
|
5061
5040
|
return openBlock(), createElementBlock("label", {
|
|
5062
5041
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
5063
5042
|
}, [
|
|
5064
|
-
createElementVNode("span", _hoisted_1$
|
|
5043
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
5065
5044
|
createElementVNode("input", {
|
|
5066
5045
|
type: "checkbox",
|
|
5067
5046
|
checked: modelValue.value,
|
|
5068
5047
|
disabled: _ctx.disabled,
|
|
5069
5048
|
onChange: handleChange
|
|
5070
|
-
}, null, 40, _hoisted_2$
|
|
5049
|
+
}, null, 40, _hoisted_2$e),
|
|
5071
5050
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
5072
5051
|
]),
|
|
5073
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
5052
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$e, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
5074
5053
|
], 2);
|
|
5075
5054
|
};
|
|
5076
5055
|
}
|
|
@@ -5146,9 +5125,9 @@ var __spreadValues222222222222 = (a, b) => {
|
|
|
5146
5125
|
}
|
|
5147
5126
|
return a;
|
|
5148
5127
|
};
|
|
5149
|
-
const _hoisted_1$
|
|
5150
|
-
const _hoisted_2$
|
|
5151
|
-
const _hoisted_3$
|
|
5128
|
+
const _hoisted_1$e = { class: "f-checkbox__wrapper" };
|
|
5129
|
+
const _hoisted_2$d = ["checked", "disabled"];
|
|
5130
|
+
const _hoisted_3$d = {
|
|
5152
5131
|
key: 0,
|
|
5153
5132
|
class: "f-checkbox__label"
|
|
5154
5133
|
};
|
|
@@ -5174,16 +5153,16 @@ const _hoisted_3$b = {
|
|
|
5174
5153
|
return openBlock(), createElementBlock("label", {
|
|
5175
5154
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
5176
5155
|
}, [
|
|
5177
|
-
createElementVNode("span", _hoisted_1$
|
|
5156
|
+
createElementVNode("span", _hoisted_1$e, [
|
|
5178
5157
|
createElementVNode("input", {
|
|
5179
5158
|
type: "checkbox",
|
|
5180
5159
|
checked: modelValue.value,
|
|
5181
5160
|
disabled: _ctx.disabled,
|
|
5182
5161
|
onChange: handleChange
|
|
5183
|
-
}, null, 40, _hoisted_2$
|
|
5162
|
+
}, null, 40, _hoisted_2$d),
|
|
5184
5163
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
5185
5164
|
]),
|
|
5186
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
5165
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$d, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
5187
5166
|
], 2);
|
|
5188
5167
|
};
|
|
5189
5168
|
}
|
|
@@ -5259,6 +5238,232 @@ var __spreadValues2222222222222 = (a, b) => {
|
|
|
5259
5238
|
}
|
|
5260
5239
|
return a;
|
|
5261
5240
|
};
|
|
5241
|
+
const _hoisted_1$d = { class: "f-checkbox__wrapper" };
|
|
5242
|
+
const _hoisted_2$c = ["checked", "disabled"];
|
|
5243
|
+
const _hoisted_3$c = {
|
|
5244
|
+
key: 0,
|
|
5245
|
+
class: "f-checkbox__label"
|
|
5246
|
+
};
|
|
5247
|
+
/* @__PURE__ */ defineComponent({
|
|
5248
|
+
__name: "FCheckbox",
|
|
5249
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5250
|
+
label: {},
|
|
5251
|
+
disabled: { type: Boolean }
|
|
5252
|
+
}, {
|
|
5253
|
+
"modelValue": __spreadValues2222222222222({ type: Boolean }, { default: false }),
|
|
5254
|
+
"modelModifiers": {}
|
|
5255
|
+
}),
|
|
5256
|
+
emits: ["update:modelValue"],
|
|
5257
|
+
setup(__props) {
|
|
5258
|
+
const modelValue = useModel(__props, "modelValue");
|
|
5259
|
+
const props = __props;
|
|
5260
|
+
const handleChange = (e) => {
|
|
5261
|
+
if (props.disabled) return;
|
|
5262
|
+
const target = e.target;
|
|
5263
|
+
modelValue.value = target.checked;
|
|
5264
|
+
};
|
|
5265
|
+
return (_ctx, _cache) => {
|
|
5266
|
+
return openBlock(), createElementBlock("label", {
|
|
5267
|
+
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
5268
|
+
}, [
|
|
5269
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
5270
|
+
createElementVNode("input", {
|
|
5271
|
+
type: "checkbox",
|
|
5272
|
+
checked: modelValue.value,
|
|
5273
|
+
disabled: _ctx.disabled,
|
|
5274
|
+
onChange: handleChange
|
|
5275
|
+
}, null, 40, _hoisted_2$c),
|
|
5276
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
5277
|
+
]),
|
|
5278
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
5279
|
+
], 2);
|
|
5280
|
+
};
|
|
5281
|
+
}
|
|
5282
|
+
});
|
|
5283
|
+
/* @__PURE__ */ defineComponent({
|
|
5284
|
+
__name: "FDialog",
|
|
5285
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5286
|
+
maskClosable: { type: Boolean, default: true },
|
|
5287
|
+
maskColor: { default: "black" },
|
|
5288
|
+
showMask: { type: Boolean, default: true }
|
|
5289
|
+
}, {
|
|
5290
|
+
"modelValue": __spreadValues2222222222222({ type: Boolean }, { default: false }),
|
|
5291
|
+
"modelModifiers": {}
|
|
5292
|
+
}),
|
|
5293
|
+
emits: ["update:modelValue"],
|
|
5294
|
+
setup(__props) {
|
|
5295
|
+
const props = __props;
|
|
5296
|
+
const visible = useModel(__props, "modelValue");
|
|
5297
|
+
const handleMaskClick = () => {
|
|
5298
|
+
if (props.maskClosable) visible.value = false;
|
|
5299
|
+
};
|
|
5300
|
+
const maskBackgroundColor = computed(() => {
|
|
5301
|
+
if (!props.showMask) return "transparent";
|
|
5302
|
+
switch (props.maskColor) {
|
|
5303
|
+
case "white":
|
|
5304
|
+
return "rgba(255, 255, 255, 0.5)";
|
|
5305
|
+
case "black":
|
|
5306
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5307
|
+
case "transparent":
|
|
5308
|
+
return "transparent";
|
|
5309
|
+
default:
|
|
5310
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5311
|
+
}
|
|
5312
|
+
});
|
|
5313
|
+
return (_ctx, _cache) => {
|
|
5314
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
5315
|
+
createVNode(Transition, { name: "fade" }, {
|
|
5316
|
+
default: withCtx(() => [
|
|
5317
|
+
visible.value ? (openBlock(), createElementBlock("div", {
|
|
5318
|
+
key: 0,
|
|
5319
|
+
class: "f-dialog-mask",
|
|
5320
|
+
style: normalizeStyle({ backgroundColor: unref(maskBackgroundColor) }),
|
|
5321
|
+
onClick: handleMaskClick
|
|
5322
|
+
}, [
|
|
5323
|
+
createElementVNode("div", {
|
|
5324
|
+
class: "f-dialog-container",
|
|
5325
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
5326
|
+
}, ["stop"]))
|
|
5327
|
+
}, [
|
|
5328
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5329
|
+
])
|
|
5330
|
+
], 4)) : createCommentVNode("", true)
|
|
5331
|
+
]),
|
|
5332
|
+
_: 3
|
|
5333
|
+
})
|
|
5334
|
+
]);
|
|
5335
|
+
};
|
|
5336
|
+
}
|
|
5337
|
+
});
|
|
5338
|
+
var __defProp22222222222222 = Object.defineProperty;
|
|
5339
|
+
var __getOwnPropSymbols22222222222222 = Object.getOwnPropertySymbols;
|
|
5340
|
+
var __hasOwnProp22222222222222 = Object.prototype.hasOwnProperty;
|
|
5341
|
+
var __propIsEnum22222222222222 = Object.prototype.propertyIsEnumerable;
|
|
5342
|
+
var __defNormalProp22222222222222 = (obj, key, value) => key in obj ? __defProp22222222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5343
|
+
var __spreadValues22222222222222 = (a, b) => {
|
|
5344
|
+
for (var prop in b || (b = {}))
|
|
5345
|
+
if (__hasOwnProp22222222222222.call(b, prop))
|
|
5346
|
+
__defNormalProp22222222222222(a, prop, b[prop]);
|
|
5347
|
+
if (__getOwnPropSymbols22222222222222)
|
|
5348
|
+
for (var prop of __getOwnPropSymbols22222222222222(b)) {
|
|
5349
|
+
if (__propIsEnum22222222222222.call(b, prop))
|
|
5350
|
+
__defNormalProp22222222222222(a, prop, b[prop]);
|
|
5351
|
+
}
|
|
5352
|
+
return a;
|
|
5353
|
+
};
|
|
5354
|
+
const _hoisted_1$c = { class: "f-checkbox__wrapper" };
|
|
5355
|
+
const _hoisted_2$b = ["checked", "disabled"];
|
|
5356
|
+
const _hoisted_3$b = {
|
|
5357
|
+
key: 0,
|
|
5358
|
+
class: "f-checkbox__label"
|
|
5359
|
+
};
|
|
5360
|
+
/* @__PURE__ */ defineComponent({
|
|
5361
|
+
__name: "FCheckbox",
|
|
5362
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5363
|
+
label: {},
|
|
5364
|
+
disabled: { type: Boolean }
|
|
5365
|
+
}, {
|
|
5366
|
+
"modelValue": __spreadValues22222222222222({ type: Boolean }, { default: false }),
|
|
5367
|
+
"modelModifiers": {}
|
|
5368
|
+
}),
|
|
5369
|
+
emits: ["update:modelValue"],
|
|
5370
|
+
setup(__props) {
|
|
5371
|
+
const modelValue = useModel(__props, "modelValue");
|
|
5372
|
+
const props = __props;
|
|
5373
|
+
const handleChange = (e) => {
|
|
5374
|
+
if (props.disabled) return;
|
|
5375
|
+
const target = e.target;
|
|
5376
|
+
modelValue.value = target.checked;
|
|
5377
|
+
};
|
|
5378
|
+
return (_ctx, _cache) => {
|
|
5379
|
+
return openBlock(), createElementBlock("label", {
|
|
5380
|
+
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
5381
|
+
}, [
|
|
5382
|
+
createElementVNode("span", _hoisted_1$c, [
|
|
5383
|
+
createElementVNode("input", {
|
|
5384
|
+
type: "checkbox",
|
|
5385
|
+
checked: modelValue.value,
|
|
5386
|
+
disabled: _ctx.disabled,
|
|
5387
|
+
onChange: handleChange
|
|
5388
|
+
}, null, 40, _hoisted_2$b),
|
|
5389
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
5390
|
+
]),
|
|
5391
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
5392
|
+
], 2);
|
|
5393
|
+
};
|
|
5394
|
+
}
|
|
5395
|
+
});
|
|
5396
|
+
/* @__PURE__ */ defineComponent({
|
|
5397
|
+
__name: "FDialog",
|
|
5398
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5399
|
+
maskClosable: { type: Boolean, default: true },
|
|
5400
|
+
maskColor: { default: "black" },
|
|
5401
|
+
showMask: { type: Boolean, default: true }
|
|
5402
|
+
}, {
|
|
5403
|
+
"modelValue": __spreadValues22222222222222({ type: Boolean }, { default: false }),
|
|
5404
|
+
"modelModifiers": {}
|
|
5405
|
+
}),
|
|
5406
|
+
emits: ["update:modelValue"],
|
|
5407
|
+
setup(__props) {
|
|
5408
|
+
const props = __props;
|
|
5409
|
+
const visible = useModel(__props, "modelValue");
|
|
5410
|
+
const handleMaskClick = () => {
|
|
5411
|
+
if (props.maskClosable) visible.value = false;
|
|
5412
|
+
};
|
|
5413
|
+
const maskBackgroundColor = computed(() => {
|
|
5414
|
+
if (!props.showMask) return "transparent";
|
|
5415
|
+
switch (props.maskColor) {
|
|
5416
|
+
case "white":
|
|
5417
|
+
return "rgba(255, 255, 255, 0.5)";
|
|
5418
|
+
case "black":
|
|
5419
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5420
|
+
case "transparent":
|
|
5421
|
+
return "transparent";
|
|
5422
|
+
default:
|
|
5423
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5424
|
+
}
|
|
5425
|
+
});
|
|
5426
|
+
return (_ctx, _cache) => {
|
|
5427
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
5428
|
+
createVNode(Transition, { name: "fade" }, {
|
|
5429
|
+
default: withCtx(() => [
|
|
5430
|
+
visible.value ? (openBlock(), createElementBlock("div", {
|
|
5431
|
+
key: 0,
|
|
5432
|
+
class: "f-dialog-mask",
|
|
5433
|
+
style: normalizeStyle({ backgroundColor: unref(maskBackgroundColor) }),
|
|
5434
|
+
onClick: handleMaskClick
|
|
5435
|
+
}, [
|
|
5436
|
+
createElementVNode("div", {
|
|
5437
|
+
class: "f-dialog-container",
|
|
5438
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
5439
|
+
}, ["stop"]))
|
|
5440
|
+
}, [
|
|
5441
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5442
|
+
])
|
|
5443
|
+
], 4)) : createCommentVNode("", true)
|
|
5444
|
+
]),
|
|
5445
|
+
_: 3
|
|
5446
|
+
})
|
|
5447
|
+
]);
|
|
5448
|
+
};
|
|
5449
|
+
}
|
|
5450
|
+
});
|
|
5451
|
+
var __defProp222222222222222 = Object.defineProperty;
|
|
5452
|
+
var __getOwnPropSymbols222222222222222 = Object.getOwnPropertySymbols;
|
|
5453
|
+
var __hasOwnProp222222222222222 = Object.prototype.hasOwnProperty;
|
|
5454
|
+
var __propIsEnum222222222222222 = Object.prototype.propertyIsEnumerable;
|
|
5455
|
+
var __defNormalProp222222222222222 = (obj, key, value) => key in obj ? __defProp222222222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5456
|
+
var __spreadValues222222222222222 = (a, b) => {
|
|
5457
|
+
for (var prop in b || (b = {}))
|
|
5458
|
+
if (__hasOwnProp222222222222222.call(b, prop))
|
|
5459
|
+
__defNormalProp222222222222222(a, prop, b[prop]);
|
|
5460
|
+
if (__getOwnPropSymbols222222222222222)
|
|
5461
|
+
for (var prop of __getOwnPropSymbols222222222222222(b)) {
|
|
5462
|
+
if (__propIsEnum222222222222222.call(b, prop))
|
|
5463
|
+
__defNormalProp222222222222222(a, prop, b[prop]);
|
|
5464
|
+
}
|
|
5465
|
+
return a;
|
|
5466
|
+
};
|
|
5262
5467
|
const _hoisted_1$a = { class: "f-checkbox__wrapper" };
|
|
5263
5468
|
const _hoisted_2$9 = ["checked", "disabled"];
|
|
5264
5469
|
const _hoisted_3$9 = {
|
|
@@ -5271,7 +5476,7 @@ const _hoisted_3$9 = {
|
|
|
5271
5476
|
label: {},
|
|
5272
5477
|
disabled: { type: Boolean }
|
|
5273
5478
|
}, {
|
|
5274
|
-
"modelValue":
|
|
5479
|
+
"modelValue": __spreadValues222222222222222({ type: Boolean }, { default: false }),
|
|
5275
5480
|
"modelModifiers": {}
|
|
5276
5481
|
}),
|
|
5277
5482
|
emits: ["update:modelValue"],
|
|
@@ -5308,7 +5513,7 @@ const _hoisted_3$9 = {
|
|
|
5308
5513
|
maskColor: { default: "black" },
|
|
5309
5514
|
showMask: { type: Boolean, default: true }
|
|
5310
5515
|
}, {
|
|
5311
|
-
"modelValue":
|
|
5516
|
+
"modelValue": __spreadValues222222222222222({ type: Boolean }, { default: false }),
|
|
5312
5517
|
"modelModifiers": {}
|
|
5313
5518
|
}),
|
|
5314
5519
|
emits: ["update:modelValue"],
|