fantasia-ui 0.2.26 → 0.2.27
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.css +32 -32
- package/dist/fantasia-ui.es.js +313 -199
- package/dist/fantasia-ui.umd.js +313 -199
- package/package.json +1 -1
package/dist/fantasia-ui.es.js
CHANGED
|
@@ -40,7 +40,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
40
40
|
import { defineComponent, computed, createElementBlock, openBlock, normalizeStyle, unref, renderSlot, normalizeClass, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, ref, watch, createVNode, withDirectives, Transition, withCtx, vShow, mergeModels, useModel, readonly, vModelDynamic, createBlock, nextTick, onUnmounted, Teleport, withModifiers, resolveDynamicComponent, withKeys, isRef, vModelText, createTextVNode, TransitionGroup, useSlots, inject, provide, onMounted, onBeforeUnmount, reactive, toRefs, createStaticVNode } from "vue";
|
|
41
41
|
import { Search, StarOutline, StarHalf, Star, ChevronDownOutline, ChevronBackOutline, EllipsisHorizontal, ChevronForwardOutline, CloseCircle, Close, Person, InformationCircleOutline, WarningOutline, AlertCircleOutline, CheckmarkCircleOutline, CloudUpload, DocumentOutline, InformationCircle, AlertCircle, CheckmarkCircle } from "@vicons/ionicons5";
|
|
42
42
|
import { useEventListener } from "@vueuse/core";
|
|
43
|
-
const _sfc_main$
|
|
43
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
44
44
|
__name: "FIcon",
|
|
45
45
|
props: {
|
|
46
46
|
color: {},
|
|
@@ -64,20 +64,20 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
-
const _export_sfc
|
|
67
|
+
const _export_sfc = (sfc, props) => {
|
|
68
68
|
const target = sfc.__vccOpts || sfc;
|
|
69
69
|
for (const [key, val] of props) {
|
|
70
70
|
target[key] = val;
|
|
71
71
|
}
|
|
72
72
|
return target;
|
|
73
73
|
};
|
|
74
|
-
const FIcon
|
|
74
|
+
const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__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$E = {
|
|
77
77
|
key: 0,
|
|
78
78
|
class: "loop cubes"
|
|
79
79
|
};
|
|
80
|
-
const _hoisted_2$
|
|
80
|
+
const _hoisted_2$y = {
|
|
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$E, [
|
|
98
98
|
(openBlock(), createElementBlock(Fragment, null, renderList(6, (i) => {
|
|
99
99
|
return createElementVNode("div", {
|
|
100
100
|
class: "item cubes",
|
|
@@ -105,18 +105,18 @@ 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$y, toDisplayString(props.text), 1)) : createCommentVNode("", true)
|
|
109
109
|
], 2);
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
|
-
const FLoading = /* @__PURE__ */ _export_sfc
|
|
114
|
-
const _hoisted_1$
|
|
115
|
-
const _hoisted_2$
|
|
113
|
+
const FLoading = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-20f58a50"]]);
|
|
114
|
+
const _hoisted_1$D = { class: "f-image" };
|
|
115
|
+
const _hoisted_2$x = {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "f-image__placeholder"
|
|
118
118
|
};
|
|
119
|
-
const _hoisted_3$
|
|
119
|
+
const _hoisted_3$u = {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "f-image__error"
|
|
122
122
|
};
|
|
@@ -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$D, [
|
|
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$x, [
|
|
145
145
|
createVNode(FLoading, { type: "classic first" })
|
|
146
146
|
])) : createCommentVNode("", true)
|
|
147
147
|
]),
|
|
@@ -149,9 +149,9 @@ 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$u, [
|
|
153
153
|
renderSlot(_ctx.$slots, "error", {}, () => [
|
|
154
|
-
createVNode(FIcon
|
|
154
|
+
createVNode(FIcon, { size: "48px" }, {
|
|
155
155
|
default: withCtx(() => [
|
|
156
156
|
createVNode(unref(PictureError))
|
|
157
157
|
]),
|
|
@@ -176,8 +176,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
|
-
const FImage = /* @__PURE__ */ _export_sfc
|
|
180
|
-
const _hoisted_1$
|
|
179
|
+
const FImage = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-e959ab10"]]);
|
|
180
|
+
const _hoisted_1$C = ["type", "placeholder", "disabled", "readonly", "name", "id"];
|
|
181
181
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
182
182
|
__name: "FInput",
|
|
183
183
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -213,7 +213,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
213
213
|
return openBlock(), createElementBlock("div", {
|
|
214
214
|
class: normalizeClass(["f-input", { "is-disabled": _ctx.disabled, "is-readonly": "readonly" in _ctx ? _ctx.readonly : unref(readonly) }])
|
|
215
215
|
}, [
|
|
216
|
-
createVNode(FIcon
|
|
216
|
+
createVNode(FIcon, { class: "f-input__icon" }, {
|
|
217
217
|
default: withCtx(() => [
|
|
218
218
|
createVNode(unref(Search))
|
|
219
219
|
]),
|
|
@@ -232,16 +232,16 @@ 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$C), [
|
|
236
236
|
[vModelDynamic, model.value]
|
|
237
237
|
])
|
|
238
238
|
], 2);
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
|
-
const FInput = /* @__PURE__ */ _export_sfc
|
|
243
|
-
const _hoisted_1$
|
|
244
|
-
const _hoisted_2$
|
|
242
|
+
const FInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-9af0fbbe"]]);
|
|
243
|
+
const _hoisted_1$B = ["onMousemove"];
|
|
244
|
+
const _hoisted_2$w = {
|
|
245
245
|
key: 0,
|
|
246
246
|
class: "f-rate__score"
|
|
247
247
|
};
|
|
@@ -319,7 +319,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
319
319
|
onMousemove: ($event) => onMouseMove($event, index),
|
|
320
320
|
onClick
|
|
321
321
|
}, [
|
|
322
|
-
createVNode(FIcon
|
|
322
|
+
createVNode(FIcon, {
|
|
323
323
|
color: getStarColor(index),
|
|
324
324
|
size: unref(starSize)
|
|
325
325
|
}, {
|
|
@@ -328,17 +328,17 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
328
328
|
]),
|
|
329
329
|
_: 2
|
|
330
330
|
}, 1032, ["color", "size"])
|
|
331
|
-
], 40, _hoisted_1$
|
|
331
|
+
], 40, _hoisted_1$B);
|
|
332
332
|
}), 128)),
|
|
333
|
-
props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
333
|
+
props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$w, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
|
|
334
334
|
], 34);
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
const FRate = /* @__PURE__ */ _export_sfc
|
|
339
|
-
const _hoisted_1$
|
|
340
|
-
const _hoisted_2$
|
|
341
|
-
const _hoisted_3$
|
|
338
|
+
const FRate = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3b5c4f14"]]);
|
|
339
|
+
const _hoisted_1$A = { class: "f-dropdown-wrapper" };
|
|
340
|
+
const _hoisted_2$v = { class: "f-dropdown-content" };
|
|
341
|
+
const _hoisted_3$t = ["onClick"];
|
|
342
342
|
const _hoisted_4$b = {
|
|
343
343
|
key: 0,
|
|
344
344
|
class: "opt-icon"
|
|
@@ -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$A, [
|
|
517
517
|
createElementVNode("div", {
|
|
518
518
|
ref_key: "triggerRef",
|
|
519
519
|
ref: triggerRef,
|
|
@@ -543,7 +543,7 @@ 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$v, [
|
|
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,
|
|
@@ -554,7 +554,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
554
554
|
(openBlock(), createBlock(resolveDynamicComponent(opt.icon)))
|
|
555
555
|
])) : createCommentVNode("", true),
|
|
556
556
|
createElementVNode("span", _hoisted_5$a, toDisplayString(opt.label), 1)
|
|
557
|
-
], 10, _hoisted_3$
|
|
557
|
+
], 10, _hoisted_3$t);
|
|
558
558
|
}), 128)) : renderSlot(_ctx.$slots, "content", { key: 1 }, void 0, true)
|
|
559
559
|
])
|
|
560
560
|
], 36)) : createCommentVNode("", true)
|
|
@@ -566,7 +566,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
|
-
const FDropdown = /* @__PURE__ */ _export_sfc
|
|
569
|
+
const FDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-addb3a3b"]]);
|
|
570
570
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
571
571
|
__name: "FSelect",
|
|
572
572
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -614,7 +614,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
614
614
|
createElementVNode("span", {
|
|
615
615
|
class: normalizeClass(["f-select__label", { "is-placeholder": !unref(hasValue) }])
|
|
616
616
|
}, toDisplayString(unref(selectedLabel)), 3),
|
|
617
|
-
createVNode(FIcon
|
|
617
|
+
createVNode(FIcon, { class: "f-select__arrow" }, {
|
|
618
618
|
default: withCtx(() => [
|
|
619
619
|
createVNode(unref(ChevronDownOutline))
|
|
620
620
|
]),
|
|
@@ -627,16 +627,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
|
-
const FSelect = /* @__PURE__ */ _export_sfc
|
|
631
|
-
const _hoisted_1$
|
|
630
|
+
const FSelect = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-61444561"]]);
|
|
631
|
+
const _hoisted_1$z = {
|
|
632
632
|
key: 0,
|
|
633
633
|
class: "f-pagination"
|
|
634
634
|
};
|
|
635
|
-
const _hoisted_2$
|
|
635
|
+
const _hoisted_2$u = {
|
|
636
636
|
key: 0,
|
|
637
637
|
class: "f-pagination__total"
|
|
638
638
|
};
|
|
639
|
-
const _hoisted_3$
|
|
639
|
+
const _hoisted_3$s = {
|
|
640
640
|
key: 1,
|
|
641
641
|
class: "f-pagination__size"
|
|
642
642
|
};
|
|
@@ -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$z, [
|
|
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$u, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
712
712
|
createElementVNode("select", {
|
|
713
713
|
class: "size-select",
|
|
714
714
|
value: _ctx.pageSize,
|
|
@@ -726,7 +726,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
726
726
|
class: normalizeClass(["page-btn", { disabled: currentPage.value === 1 }]),
|
|
727
727
|
onClick: _cache[0] || (_cache[0] = ($event) => go(currentPage.value - 1))
|
|
728
728
|
}, [
|
|
729
|
-
createVNode(FIcon
|
|
729
|
+
createVNode(FIcon, null, {
|
|
730
730
|
default: withCtx(() => [
|
|
731
731
|
createVNode(unref(ChevronBackOutline))
|
|
732
732
|
]),
|
|
@@ -736,7 +736,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
736
736
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pages), (page, index) => {
|
|
737
737
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
738
738
|
page === "..." ? (openBlock(), createElementBlock("li", _hoisted_7$3, [
|
|
739
|
-
createVNode(FIcon
|
|
739
|
+
createVNode(FIcon, null, {
|
|
740
740
|
default: withCtx(() => [
|
|
741
741
|
createVNode(unref(EllipsisHorizontal))
|
|
742
742
|
]),
|
|
@@ -754,7 +754,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
754
754
|
class: normalizeClass(["page-btn", { disabled: currentPage.value === unref(pageCount) }]),
|
|
755
755
|
onClick: _cache[1] || (_cache[1] = ($event) => go(currentPage.value + 1))
|
|
756
756
|
}, [
|
|
757
|
-
createVNode(FIcon
|
|
757
|
+
createVNode(FIcon, null, {
|
|
758
758
|
default: withCtx(() => [
|
|
759
759
|
createVNode(unref(ChevronForwardOutline))
|
|
760
760
|
]),
|
|
@@ -781,16 +781,16 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
781
781
|
};
|
|
782
782
|
}
|
|
783
783
|
});
|
|
784
|
-
const FPagination = /* @__PURE__ */ _export_sfc
|
|
785
|
-
const _hoisted_1$
|
|
784
|
+
const FPagination = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-930f8b20"]]);
|
|
785
|
+
const _hoisted_1$y = {
|
|
786
786
|
key: 0,
|
|
787
787
|
class: "f-card__header"
|
|
788
788
|
};
|
|
789
|
-
const _hoisted_2$
|
|
789
|
+
const _hoisted_2$t = {
|
|
790
790
|
key: 0,
|
|
791
791
|
class: "f-card__header-extra"
|
|
792
792
|
};
|
|
793
|
-
const _hoisted_3$
|
|
793
|
+
const _hoisted_3$r = {
|
|
794
794
|
key: 1,
|
|
795
795
|
class: "f-card__cover"
|
|
796
796
|
};
|
|
@@ -835,13 +835,13 @@ 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$y, [
|
|
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$t, [
|
|
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$r, [
|
|
845
845
|
renderSlot(_ctx.$slots, "cover", {}, void 0, true)
|
|
846
846
|
])) : createCommentVNode("", true),
|
|
847
847
|
_ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
|
|
@@ -873,8 +873,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
|
-
const FCard = /* @__PURE__ */ _export_sfc
|
|
877
|
-
const _hoisted_1$
|
|
876
|
+
const FCard = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-a66fa373"]]);
|
|
877
|
+
const _hoisted_1$x = {
|
|
878
878
|
key: 0,
|
|
879
879
|
class: "f-tag__dot"
|
|
880
880
|
};
|
|
@@ -902,9 +902,9 @@ 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$x)) : createCommentVNode("", true),
|
|
906
906
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
907
|
-
_ctx.closable ? (openBlock(), createBlock(FIcon
|
|
907
|
+
_ctx.closable ? (openBlock(), createBlock(FIcon, {
|
|
908
908
|
key: 1,
|
|
909
909
|
class: "f-tag__close",
|
|
910
910
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("close"), ["stop"]))
|
|
@@ -918,7 +918,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
|
-
const FTag = /* @__PURE__ */ _export_sfc
|
|
921
|
+
const FTag = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-02bd5aa6"]]);
|
|
922
922
|
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
923
923
|
__name: "FTooltip",
|
|
924
924
|
props: {
|
|
@@ -1023,9 +1023,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
1025
|
});
|
|
1026
|
-
const FTooltip = /* @__PURE__ */ _export_sfc
|
|
1027
|
-
const _hoisted_1$
|
|
1028
|
-
const _hoisted_2$
|
|
1026
|
+
const FTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-be9acca7"]]);
|
|
1027
|
+
const _hoisted_1$w = { class: "f-progress" };
|
|
1028
|
+
const _hoisted_2$s = {
|
|
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$w, [
|
|
1045
1045
|
createElementVNode("div", {
|
|
1046
1046
|
class: "f-progress__track",
|
|
1047
1047
|
style: normalizeStyle({ height: `${_ctx.height}px` })
|
|
@@ -1054,15 +1054,15 @@ 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$s, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
|
|
1058
1058
|
]);
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
1061
|
});
|
|
1062
|
-
const FProgress = /* @__PURE__ */ _export_sfc
|
|
1063
|
-
const _hoisted_1$
|
|
1064
|
-
const _hoisted_2$
|
|
1065
|
-
const _hoisted_3$
|
|
1062
|
+
const FProgress = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c2164d6e"]]);
|
|
1063
|
+
const _hoisted_1$v = { class: "f-tabs__nav-container" };
|
|
1064
|
+
const _hoisted_2$r = { class: "f-tabs__nav" };
|
|
1065
|
+
const _hoisted_3$q = ["onClick"];
|
|
1066
1066
|
const _hoisted_4$8 = { class: "f-tabs__label" };
|
|
1067
1067
|
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
1068
1068
|
__name: "FTabs",
|
|
@@ -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$v, [
|
|
1101
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
1102
1102
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
1103
1103
|
return openBlock(), createElementBlock("div", {
|
|
1104
1104
|
key: tab.name,
|
|
@@ -1109,7 +1109,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1109
1109
|
onClick: ($event) => setActiveTab(tab.name, tab.disabled)
|
|
1110
1110
|
}, [
|
|
1111
1111
|
createElementVNode("span", _hoisted_4$8, toDisplayString(tab.label), 1)
|
|
1112
|
-
], 10, _hoisted_3$
|
|
1112
|
+
], 10, _hoisted_3$q);
|
|
1113
1113
|
}), 128))
|
|
1114
1114
|
])
|
|
1115
1115
|
]),
|
|
@@ -1127,13 +1127,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
1129
|
});
|
|
1130
|
-
const FTabs = /* @__PURE__ */ _export_sfc
|
|
1131
|
-
const _hoisted_1$
|
|
1130
|
+
const FTabs = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-268fc654"]]);
|
|
1131
|
+
const _hoisted_1$u = {
|
|
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$q = ["href"];
|
|
1136
|
+
const _hoisted_3$p = {
|
|
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$u, 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$q)) : (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString(item.label), 1))
|
|
1174
1174
|
], 64);
|
|
1175
1175
|
}), 128))
|
|
1176
1176
|
]),
|
|
@@ -1180,7 +1180,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
1180
1180
|
};
|
|
1181
1181
|
}
|
|
1182
1182
|
});
|
|
1183
|
-
const FBreadcrumb = /* @__PURE__ */ _export_sfc
|
|
1183
|
+
const FBreadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-bb787dcc"]]);
|
|
1184
1184
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
1185
1185
|
__name: "FCol",
|
|
1186
1186
|
props: {
|
|
@@ -1222,7 +1222,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
1222
1222
|
};
|
|
1223
1223
|
}
|
|
1224
1224
|
});
|
|
1225
|
-
const FCol = /* @__PURE__ */ _export_sfc
|
|
1225
|
+
const FCol = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-5a8b0cb4"]]);
|
|
1226
1226
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1227
1227
|
__name: "FRow",
|
|
1228
1228
|
props: {
|
|
@@ -1276,9 +1276,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1276
1276
|
};
|
|
1277
1277
|
}
|
|
1278
1278
|
});
|
|
1279
|
-
const FRow = /* @__PURE__ */ _export_sfc
|
|
1280
|
-
const _hoisted_1$
|
|
1281
|
-
const _hoisted_2$
|
|
1279
|
+
const FRow = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-72f62339"]]);
|
|
1280
|
+
const _hoisted_1$t = { class: "f-space__item" };
|
|
1281
|
+
const _hoisted_2$p = {
|
|
1282
1282
|
key: 0,
|
|
1283
1283
|
class: "f-space__split",
|
|
1284
1284
|
"aria-hidden": "true"
|
|
@@ -1337,17 +1337,17 @@ 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$t, [
|
|
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$p, toDisplayString(_ctx.split), 1)) : createCommentVNode("", true)
|
|
1344
1344
|
], 64);
|
|
1345
1345
|
}), 128))
|
|
1346
1346
|
], 4);
|
|
1347
1347
|
};
|
|
1348
1348
|
}
|
|
1349
1349
|
});
|
|
1350
|
-
const FSpace = /* @__PURE__ */ _export_sfc
|
|
1350
|
+
const FSpace = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-5fb3b1a0"]]);
|
|
1351
1351
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1352
1352
|
__name: "FContainer",
|
|
1353
1353
|
props: {
|
|
@@ -1368,7 +1368,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
1370
1370
|
});
|
|
1371
|
-
const FContainer = /* @__PURE__ */ _export_sfc
|
|
1371
|
+
const FContainer = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-08450ddf"]]);
|
|
1372
1372
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1373
1373
|
__name: "FDivider",
|
|
1374
1374
|
props: {
|
|
@@ -1396,8 +1396,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1396
1396
|
};
|
|
1397
1397
|
}
|
|
1398
1398
|
});
|
|
1399
|
-
const FDivider = /* @__PURE__ */ _export_sfc
|
|
1400
|
-
const _hoisted_1$
|
|
1399
|
+
const FDivider = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-512ee743"]]);
|
|
1400
|
+
const _hoisted_1$s = ["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$s)) : (openBlock(), createBlock(FIcon, {
|
|
1434
1434
|
key: 1,
|
|
1435
1435
|
size: 24
|
|
1436
1436
|
}, {
|
|
@@ -1443,10 +1443,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1443
1443
|
};
|
|
1444
1444
|
}
|
|
1445
1445
|
});
|
|
1446
|
-
const FAvatar = /* @__PURE__ */ _export_sfc
|
|
1447
|
-
const _hoisted_1$
|
|
1448
|
-
const _hoisted_2$
|
|
1449
|
-
const _hoisted_3$
|
|
1446
|
+
const FAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b3665268"]]);
|
|
1447
|
+
const _hoisted_1$r = ["type", "disabled"];
|
|
1448
|
+
const _hoisted_2$o = { class: "f-button__inner" };
|
|
1449
|
+
const _hoisted_3$o = {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
class: "f-loader"
|
|
1452
1452
|
};
|
|
@@ -1507,7 +1507,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1507
1507
|
style.borderRadius = "50%";
|
|
1508
1508
|
} else if (typeof props.round === "number") {
|
|
1509
1509
|
style.borderRadius = `${props.round}px`;
|
|
1510
|
-
} else if (props.round) {
|
|
1510
|
+
} else if (props.round === true) {
|
|
1511
1511
|
style.borderRadius = "999px";
|
|
1512
1512
|
}
|
|
1513
1513
|
return style;
|
|
@@ -1529,8 +1529,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1529
1529
|
disabled: unref(isDisabled),
|
|
1530
1530
|
style: normalizeStyle(unref(buttonStyle))
|
|
1531
1531
|
}, [
|
|
1532
|
-
createElementVNode("span", _hoisted_2$
|
|
1533
|
-
_ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1532
|
+
createElementVNode("span", _hoisted_2$o, [
|
|
1533
|
+
_ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$o)) : _ctx.icon ? (openBlock(), createElementBlock("i", {
|
|
1534
1534
|
key: 1,
|
|
1535
1535
|
class: normalizeClass(["f-icon", _ctx.icon])
|
|
1536
1536
|
}, null, 2)) : _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$7, [
|
|
@@ -1540,11 +1540,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1540
1540
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1541
1541
|
])) : createCommentVNode("", true)
|
|
1542
1542
|
])
|
|
1543
|
-
], 14, _hoisted_1$
|
|
1543
|
+
], 14, _hoisted_1$r);
|
|
1544
1544
|
};
|
|
1545
1545
|
}
|
|
1546
1546
|
});
|
|
1547
|
-
const FButton = /* @__PURE__ */ _export_sfc
|
|
1547
|
+
const FButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-6ac4c38d"]]);
|
|
1548
1548
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1549
1549
|
__name: "FTypography",
|
|
1550
1550
|
props: {
|
|
@@ -1567,7 +1567,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1567
1567
|
};
|
|
1568
1568
|
}
|
|
1569
1569
|
});
|
|
1570
|
-
const FTypography = /* @__PURE__ */ _export_sfc
|
|
1570
|
+
const FTypography = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-50e044db"]]);
|
|
1571
1571
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1572
1572
|
__name: "FText",
|
|
1573
1573
|
props: {
|
|
@@ -1626,8 +1626,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1626
1626
|
};
|
|
1627
1627
|
}
|
|
1628
1628
|
});
|
|
1629
|
-
const FText = /* @__PURE__ */ _export_sfc
|
|
1630
|
-
const _hoisted_1$
|
|
1629
|
+
const FText = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-8bcfc6b3"]]);
|
|
1630
|
+
const _hoisted_1$q = ["href", "target", "rel"];
|
|
1631
1631
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1632
1632
|
__name: "FLink",
|
|
1633
1633
|
props: {
|
|
@@ -1651,12 +1651,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1651
1651
|
rel: props.target === "_blank" ? "noopener noreferrer" : void 0
|
|
1652
1652
|
}, [
|
|
1653
1653
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1654
|
-
], 10, _hoisted_1$
|
|
1654
|
+
], 10, _hoisted_1$q);
|
|
1655
1655
|
};
|
|
1656
1656
|
}
|
|
1657
1657
|
});
|
|
1658
|
-
const FLink = /* @__PURE__ */ _export_sfc
|
|
1659
|
-
const _hoisted_1$
|
|
1658
|
+
const FLink = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-daaa3e25"]]);
|
|
1659
|
+
const _hoisted_1$p = { class: "f-badge" };
|
|
1660
1660
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1661
1661
|
__name: "FBadge",
|
|
1662
1662
|
props: {
|
|
@@ -1686,7 +1686,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1686
1686
|
return map[props.placement];
|
|
1687
1687
|
});
|
|
1688
1688
|
return (_ctx, _cache) => {
|
|
1689
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1689
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
1690
1690
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1691
1691
|
_ctx.dot || _ctx.value !== void 0 && _ctx.value !== "" ? (openBlock(), createElementBlock("span", {
|
|
1692
1692
|
key: 0,
|
|
@@ -1697,7 +1697,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1697
1697
|
};
|
|
1698
1698
|
}
|
|
1699
1699
|
});
|
|
1700
|
-
const FBadge = /* @__PURE__ */ _export_sfc
|
|
1700
|
+
const FBadge = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-be6947ff"]]);
|
|
1701
1701
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1702
1702
|
__name: "FAffix",
|
|
1703
1703
|
props: {
|
|
@@ -1726,7 +1726,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
1728
|
});
|
|
1729
|
-
const FAffix = /* @__PURE__ */ _export_sfc
|
|
1729
|
+
const FAffix = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8506d679"]]);
|
|
1730
1730
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1731
1731
|
__name: "FForm",
|
|
1732
1732
|
props: {
|
|
@@ -1784,7 +1784,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1784
1784
|
};
|
|
1785
1785
|
}
|
|
1786
1786
|
});
|
|
1787
|
-
const FForm = /* @__PURE__ */ _export_sfc
|
|
1787
|
+
const FForm = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-21f7de9b"]]);
|
|
1788
1788
|
const validateSingleField = (value, rules) => __async(null, null, function* () {
|
|
1789
1789
|
const ruleArray = Array.isArray(rules) ? rules : [rules];
|
|
1790
1790
|
for (let rule of ruleArray) {
|
|
@@ -1866,12 +1866,12 @@ const checkRange = (value, rule) => {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
return void 0;
|
|
1868
1868
|
};
|
|
1869
|
-
const _hoisted_1$
|
|
1869
|
+
const _hoisted_1$o = {
|
|
1870
1870
|
key: 0,
|
|
1871
1871
|
class: "star"
|
|
1872
1872
|
};
|
|
1873
|
-
const _hoisted_2$
|
|
1874
|
-
const _hoisted_3$
|
|
1873
|
+
const _hoisted_2$n = { class: "f-form-item__content" };
|
|
1874
|
+
const _hoisted_3$n = {
|
|
1875
1875
|
key: 0,
|
|
1876
1876
|
class: "f-form-item__error"
|
|
1877
1877
|
};
|
|
@@ -1941,14 +1941,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1941
1941
|
textAlign: unref(labelPosition) === "top" ? "left" : unref(labelPosition)
|
|
1942
1942
|
})
|
|
1943
1943
|
}, [
|
|
1944
|
-
unref(isRequired) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1944
|
+
unref(isRequired) ? (openBlock(), createElementBlock("span", _hoisted_1$o, "*")) : createCommentVNode("", true),
|
|
1945
1945
|
createTextVNode(" " + toDisplayString(_ctx.label) + ": ", 1)
|
|
1946
1946
|
], 4)) : createCommentVNode("", true),
|
|
1947
|
-
createElementVNode("div", _hoisted_2$
|
|
1947
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
1948
1948
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1949
1949
|
createVNode(Transition, { name: "err-slide" }, {
|
|
1950
1950
|
default: withCtx(() => [
|
|
1951
|
-
unref(errorMsg) ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
1951
|
+
unref(errorMsg) ? (openBlock(), createElementBlock("p", _hoisted_3$n, toDisplayString(unref(errorMsg)), 1)) : createCommentVNode("", true)
|
|
1952
1952
|
]),
|
|
1953
1953
|
_: 1
|
|
1954
1954
|
})
|
|
@@ -1957,10 +1957,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1957
1957
|
};
|
|
1958
1958
|
}
|
|
1959
1959
|
});
|
|
1960
|
-
const FFormItem = /* @__PURE__ */ _export_sfc
|
|
1961
|
-
const _hoisted_1$
|
|
1962
|
-
const _hoisted_2$
|
|
1963
|
-
const _hoisted_3$
|
|
1960
|
+
const FFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c3d6ec01"]]);
|
|
1961
|
+
const _hoisted_1$n = { class: "f-checkbox__wrapper" };
|
|
1962
|
+
const _hoisted_2$m = ["checked", "disabled"];
|
|
1963
|
+
const _hoisted_3$m = {
|
|
1964
1964
|
key: 0,
|
|
1965
1965
|
class: "f-checkbox__label"
|
|
1966
1966
|
};
|
|
@@ -1986,21 +1986,21 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1986
1986
|
return openBlock(), createElementBlock("label", {
|
|
1987
1987
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
1988
1988
|
}, [
|
|
1989
|
-
createElementVNode("span", _hoisted_1$
|
|
1989
|
+
createElementVNode("span", _hoisted_1$n, [
|
|
1990
1990
|
createElementVNode("input", {
|
|
1991
1991
|
type: "checkbox",
|
|
1992
1992
|
checked: modelValue.value,
|
|
1993
1993
|
disabled: _ctx.disabled,
|
|
1994
1994
|
onChange: handleChange
|
|
1995
|
-
}, null, 40, _hoisted_2$
|
|
1995
|
+
}, null, 40, _hoisted_2$m),
|
|
1996
1996
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
1997
1997
|
]),
|
|
1998
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1998
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$m, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
1999
1999
|
], 2);
|
|
2000
2000
|
};
|
|
2001
2001
|
}
|
|
2002
2002
|
});
|
|
2003
|
-
const FCheckbox = /* @__PURE__ */ _export_sfc
|
|
2003
|
+
const FCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-633b283a"]]);
|
|
2004
2004
|
const _hoisted_1$b = { class: "alert__body" };
|
|
2005
2005
|
const _hoisted_2$a = { class: "alert__title" };
|
|
2006
2006
|
const _hoisted_3$a = { class: "alert__content" };
|
|
@@ -2024,7 +2024,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2024
2024
|
return openBlock(), createElementBlock("div", {
|
|
2025
2025
|
class: normalizeClass(["alert", `alert--${_ctx.type}`])
|
|
2026
2026
|
}, [
|
|
2027
|
-
createVNode(FIcon
|
|
2027
|
+
createVNode(FIcon, { class: "alert__icon" }, {
|
|
2028
2028
|
default: withCtx(() => [
|
|
2029
2029
|
(openBlock(), createBlock(resolveDynamicComponent(unref(config).icon)))
|
|
2030
2030
|
]),
|
|
@@ -2042,7 +2042,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2042
2042
|
};
|
|
2043
2043
|
}
|
|
2044
2044
|
});
|
|
2045
|
-
const FAlert = /* @__PURE__ */ _export_sfc
|
|
2045
|
+
const FAlert = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f16678ef"]]);
|
|
2046
2046
|
const _hoisted_1$9 = { class: "f-editor__toolbar" };
|
|
2047
2047
|
const _hoisted_2$8 = { class: "f-editor__status" };
|
|
2048
2048
|
const _hoisted_3$8 = { class: "f-editor__lines" };
|
|
@@ -2304,7 +2304,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2304
2304
|
};
|
|
2305
2305
|
}
|
|
2306
2306
|
});
|
|
2307
|
-
const FEditor = /* @__PURE__ */ _export_sfc
|
|
2307
|
+
const FEditor = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-6d590649"]]);
|
|
2308
2308
|
const _hoisted_1$8 = { class: "f-table" };
|
|
2309
2309
|
const _hoisted_2$7 = {
|
|
2310
2310
|
key: 0,
|
|
@@ -2509,7 +2509,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2509
2509
|
};
|
|
2510
2510
|
}
|
|
2511
2511
|
});
|
|
2512
|
-
const FTable = /* @__PURE__ */ _export_sfc
|
|
2512
|
+
const FTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-22daf8be"]]);
|
|
2513
2513
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2514
2514
|
__name: "FDialog",
|
|
2515
2515
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2565,7 +2565,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2565
2565
|
};
|
|
2566
2566
|
}
|
|
2567
2567
|
});
|
|
2568
|
-
const FDialog = /* @__PURE__ */ _export_sfc
|
|
2568
|
+
const FDialog = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-31496822"]]);
|
|
2569
2569
|
const _hoisted_1$7 = { class: "f-upload" };
|
|
2570
2570
|
const _hoisted_2$6 = { class: "f-upload__label" };
|
|
2571
2571
|
const _hoisted_3$6 = ["accept"];
|
|
@@ -2641,7 +2641,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2641
2641
|
onChange: onFileChange
|
|
2642
2642
|
}, null, 40, _hoisted_3$6),
|
|
2643
2643
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2644
|
-
createVNode(FIcon
|
|
2644
|
+
createVNode(FIcon, { size: 40 }, {
|
|
2645
2645
|
default: withCtx(() => [
|
|
2646
2646
|
createVNode(unref(CloudUpload))
|
|
2647
2647
|
]),
|
|
@@ -2653,7 +2653,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2653
2653
|
])
|
|
2654
2654
|
], 34),
|
|
2655
2655
|
file.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
2656
|
-
createVNode(FIcon
|
|
2656
|
+
createVNode(FIcon, null, {
|
|
2657
2657
|
default: withCtx(() => [
|
|
2658
2658
|
createVNode(unref(DocumentOutline))
|
|
2659
2659
|
]),
|
|
@@ -2667,7 +2667,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2667
2667
|
"show-text": ""
|
|
2668
2668
|
}, null, 8, ["percent"])) : createCommentVNode("", true)
|
|
2669
2669
|
]),
|
|
2670
|
-
createVNode(FIcon
|
|
2670
|
+
createVNode(FIcon, {
|
|
2671
2671
|
onClick: withModifiers(clearFile, ["stop"]),
|
|
2672
2672
|
onMouseenter: _cache[0] || (_cache[0] = ($event) => isCloseHover.value = true),
|
|
2673
2673
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => isCloseHover.value = false),
|
|
@@ -2683,7 +2683,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2683
2683
|
};
|
|
2684
2684
|
}
|
|
2685
2685
|
});
|
|
2686
|
-
const FUpload = /* @__PURE__ */ _export_sfc
|
|
2686
|
+
const FUpload = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-07b95a32"]]);
|
|
2687
2687
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2688
2688
|
__name: "FButtonGroup",
|
|
2689
2689
|
props: {
|
|
@@ -2700,11 +2700,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2700
2700
|
class: normalizeClass(["f-button-group", { "f-button-group--vertical": _ctx.vertical }]),
|
|
2701
2701
|
role: "group"
|
|
2702
2702
|
}, [
|
|
2703
|
-
renderSlot(_ctx.$slots, "default")
|
|
2703
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2704
2704
|
], 2);
|
|
2705
2705
|
};
|
|
2706
2706
|
}
|
|
2707
2707
|
});
|
|
2708
|
+
const FButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-db0c0166"]]);
|
|
2708
2709
|
const _hoisted_1$6 = { class: "f-collapse" };
|
|
2709
2710
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2710
2711
|
__name: "FCollapse",
|
|
@@ -3870,7 +3871,7 @@ var __spreadValues2 = (a, b) => {
|
|
|
3870
3871
|
}
|
|
3871
3872
|
return a;
|
|
3872
3873
|
};
|
|
3873
|
-
const _sfc_main$
|
|
3874
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
3874
3875
|
__name: "FIcon",
|
|
3875
3876
|
props: {
|
|
3876
3877
|
color: {},
|
|
@@ -3894,17 +3895,17 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
3894
3895
|
};
|
|
3895
3896
|
}
|
|
3896
3897
|
});
|
|
3897
|
-
const _export_sfc = (sfc, props) => {
|
|
3898
|
+
const _export_sfc$1 = (sfc, props) => {
|
|
3898
3899
|
const target = sfc.__vccOpts || sfc;
|
|
3899
3900
|
for (const [key, val] of props) {
|
|
3900
3901
|
target[key] = val;
|
|
3901
3902
|
}
|
|
3902
3903
|
return target;
|
|
3903
3904
|
};
|
|
3904
|
-
const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3905
|
-
const _hoisted_1$
|
|
3906
|
-
const _hoisted_2$
|
|
3907
|
-
const _hoisted_3$
|
|
3905
|
+
const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-baf7de0c"]]);
|
|
3906
|
+
const _hoisted_1$m = { class: "f-checkbox__wrapper" };
|
|
3907
|
+
const _hoisted_2$l = ["checked", "disabled"];
|
|
3908
|
+
const _hoisted_3$l = {
|
|
3908
3909
|
key: 0,
|
|
3909
3910
|
class: "f-checkbox__label"
|
|
3910
3911
|
};
|
|
@@ -3930,16 +3931,16 @@ const _hoisted_3$k = {
|
|
|
3930
3931
|
return openBlock(), createElementBlock("label", {
|
|
3931
3932
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
3932
3933
|
}, [
|
|
3933
|
-
createElementVNode("span", _hoisted_1$
|
|
3934
|
+
createElementVNode("span", _hoisted_1$m, [
|
|
3934
3935
|
createElementVNode("input", {
|
|
3935
3936
|
type: "checkbox",
|
|
3936
3937
|
checked: modelValue.value,
|
|
3937
3938
|
disabled: _ctx.disabled,
|
|
3938
3939
|
onChange: handleChange
|
|
3939
|
-
}, null, 40, _hoisted_2$
|
|
3940
|
+
}, null, 40, _hoisted_2$l),
|
|
3940
3941
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
3941
3942
|
]),
|
|
3942
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
3943
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$l, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
3943
3944
|
], 2);
|
|
3944
3945
|
};
|
|
3945
3946
|
}
|
|
@@ -4015,9 +4016,9 @@ var __spreadValues22 = (a, b) => {
|
|
|
4015
4016
|
}
|
|
4016
4017
|
return a;
|
|
4017
4018
|
};
|
|
4018
|
-
const _hoisted_1$
|
|
4019
|
-
const _hoisted_2$
|
|
4020
|
-
const _hoisted_3$
|
|
4019
|
+
const _hoisted_1$l = { class: "f-checkbox__wrapper" };
|
|
4020
|
+
const _hoisted_2$k = ["checked", "disabled"];
|
|
4021
|
+
const _hoisted_3$k = {
|
|
4021
4022
|
key: 0,
|
|
4022
4023
|
class: "f-checkbox__label"
|
|
4023
4024
|
};
|
|
@@ -4043,16 +4044,16 @@ const _hoisted_3$j = {
|
|
|
4043
4044
|
return openBlock(), createElementBlock("label", {
|
|
4044
4045
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4045
4046
|
}, [
|
|
4046
|
-
createElementVNode("span", _hoisted_1$
|
|
4047
|
+
createElementVNode("span", _hoisted_1$l, [
|
|
4047
4048
|
createElementVNode("input", {
|
|
4048
4049
|
type: "checkbox",
|
|
4049
4050
|
checked: modelValue.value,
|
|
4050
4051
|
disabled: _ctx.disabled,
|
|
4051
4052
|
onChange: handleChange
|
|
4052
|
-
}, null, 40, _hoisted_2$
|
|
4053
|
+
}, null, 40, _hoisted_2$k),
|
|
4053
4054
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4054
4055
|
]),
|
|
4055
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4056
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$k, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4056
4057
|
], 2);
|
|
4057
4058
|
};
|
|
4058
4059
|
}
|
|
@@ -4128,9 +4129,9 @@ var __spreadValues222 = (a, b) => {
|
|
|
4128
4129
|
}
|
|
4129
4130
|
return a;
|
|
4130
4131
|
};
|
|
4131
|
-
const _hoisted_1$
|
|
4132
|
-
const _hoisted_2$
|
|
4133
|
-
const _hoisted_3$
|
|
4132
|
+
const _hoisted_1$k = { class: "f-checkbox__wrapper" };
|
|
4133
|
+
const _hoisted_2$j = ["checked", "disabled"];
|
|
4134
|
+
const _hoisted_3$j = {
|
|
4134
4135
|
key: 0,
|
|
4135
4136
|
class: "f-checkbox__label"
|
|
4136
4137
|
};
|
|
@@ -4156,16 +4157,16 @@ const _hoisted_3$i = {
|
|
|
4156
4157
|
return openBlock(), createElementBlock("label", {
|
|
4157
4158
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4158
4159
|
}, [
|
|
4159
|
-
createElementVNode("span", _hoisted_1$
|
|
4160
|
+
createElementVNode("span", _hoisted_1$k, [
|
|
4160
4161
|
createElementVNode("input", {
|
|
4161
4162
|
type: "checkbox",
|
|
4162
4163
|
checked: modelValue.value,
|
|
4163
4164
|
disabled: _ctx.disabled,
|
|
4164
4165
|
onChange: handleChange
|
|
4165
|
-
}, null, 40, _hoisted_2$
|
|
4166
|
+
}, null, 40, _hoisted_2$j),
|
|
4166
4167
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4167
4168
|
]),
|
|
4168
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4169
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$j, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4169
4170
|
], 2);
|
|
4170
4171
|
};
|
|
4171
4172
|
}
|
|
@@ -4241,9 +4242,9 @@ var __spreadValues2222 = (a, b) => {
|
|
|
4241
4242
|
}
|
|
4242
4243
|
return a;
|
|
4243
4244
|
};
|
|
4244
|
-
const _hoisted_1$
|
|
4245
|
-
const _hoisted_2$
|
|
4246
|
-
const _hoisted_3$
|
|
4245
|
+
const _hoisted_1$j = { class: "f-checkbox__wrapper" };
|
|
4246
|
+
const _hoisted_2$i = ["checked", "disabled"];
|
|
4247
|
+
const _hoisted_3$i = {
|
|
4247
4248
|
key: 0,
|
|
4248
4249
|
class: "f-checkbox__label"
|
|
4249
4250
|
};
|
|
@@ -4269,16 +4270,16 @@ const _hoisted_3$h = {
|
|
|
4269
4270
|
return openBlock(), createElementBlock("label", {
|
|
4270
4271
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4271
4272
|
}, [
|
|
4272
|
-
createElementVNode("span", _hoisted_1$
|
|
4273
|
+
createElementVNode("span", _hoisted_1$j, [
|
|
4273
4274
|
createElementVNode("input", {
|
|
4274
4275
|
type: "checkbox",
|
|
4275
4276
|
checked: modelValue.value,
|
|
4276
4277
|
disabled: _ctx.disabled,
|
|
4277
4278
|
onChange: handleChange
|
|
4278
|
-
}, null, 40, _hoisted_2$
|
|
4279
|
+
}, null, 40, _hoisted_2$i),
|
|
4279
4280
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4280
4281
|
]),
|
|
4281
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4282
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4282
4283
|
], 2);
|
|
4283
4284
|
};
|
|
4284
4285
|
}
|
|
@@ -4354,9 +4355,9 @@ var __spreadValues22222 = (a, b) => {
|
|
|
4354
4355
|
}
|
|
4355
4356
|
return a;
|
|
4356
4357
|
};
|
|
4357
|
-
const _hoisted_1$
|
|
4358
|
-
const _hoisted_2$
|
|
4359
|
-
const _hoisted_3$
|
|
4358
|
+
const _hoisted_1$i = { class: "f-checkbox__wrapper" };
|
|
4359
|
+
const _hoisted_2$h = ["checked", "disabled"];
|
|
4360
|
+
const _hoisted_3$h = {
|
|
4360
4361
|
key: 0,
|
|
4361
4362
|
class: "f-checkbox__label"
|
|
4362
4363
|
};
|
|
@@ -4382,16 +4383,16 @@ const _hoisted_3$g = {
|
|
|
4382
4383
|
return openBlock(), createElementBlock("label", {
|
|
4383
4384
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4384
4385
|
}, [
|
|
4385
|
-
createElementVNode("span", _hoisted_1$
|
|
4386
|
+
createElementVNode("span", _hoisted_1$i, [
|
|
4386
4387
|
createElementVNode("input", {
|
|
4387
4388
|
type: "checkbox",
|
|
4388
4389
|
checked: modelValue.value,
|
|
4389
4390
|
disabled: _ctx.disabled,
|
|
4390
4391
|
onChange: handleChange
|
|
4391
|
-
}, null, 40, _hoisted_2$
|
|
4392
|
+
}, null, 40, _hoisted_2$h),
|
|
4392
4393
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4393
4394
|
]),
|
|
4394
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4395
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4395
4396
|
], 2);
|
|
4396
4397
|
};
|
|
4397
4398
|
}
|
|
@@ -4467,9 +4468,9 @@ var __spreadValues222222 = (a, b) => {
|
|
|
4467
4468
|
}
|
|
4468
4469
|
return a;
|
|
4469
4470
|
};
|
|
4470
|
-
const _hoisted_1$
|
|
4471
|
-
const _hoisted_2$
|
|
4472
|
-
const _hoisted_3$
|
|
4471
|
+
const _hoisted_1$h = { class: "f-checkbox__wrapper" };
|
|
4472
|
+
const _hoisted_2$g = ["checked", "disabled"];
|
|
4473
|
+
const _hoisted_3$g = {
|
|
4473
4474
|
key: 0,
|
|
4474
4475
|
class: "f-checkbox__label"
|
|
4475
4476
|
};
|
|
@@ -4495,16 +4496,16 @@ const _hoisted_3$f = {
|
|
|
4495
4496
|
return openBlock(), createElementBlock("label", {
|
|
4496
4497
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4497
4498
|
}, [
|
|
4498
|
-
createElementVNode("span", _hoisted_1$
|
|
4499
|
+
createElementVNode("span", _hoisted_1$h, [
|
|
4499
4500
|
createElementVNode("input", {
|
|
4500
4501
|
type: "checkbox",
|
|
4501
4502
|
checked: modelValue.value,
|
|
4502
4503
|
disabled: _ctx.disabled,
|
|
4503
4504
|
onChange: handleChange
|
|
4504
|
-
}, null, 40, _hoisted_2$
|
|
4505
|
+
}, null, 40, _hoisted_2$g),
|
|
4505
4506
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4506
4507
|
]),
|
|
4507
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4508
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$g, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4508
4509
|
], 2);
|
|
4509
4510
|
};
|
|
4510
4511
|
}
|
|
@@ -4580,9 +4581,9 @@ var __spreadValues2222222 = (a, b) => {
|
|
|
4580
4581
|
}
|
|
4581
4582
|
return a;
|
|
4582
4583
|
};
|
|
4583
|
-
const _hoisted_1$
|
|
4584
|
-
const _hoisted_2$
|
|
4585
|
-
const _hoisted_3$
|
|
4584
|
+
const _hoisted_1$g = { class: "f-checkbox__wrapper" };
|
|
4585
|
+
const _hoisted_2$f = ["checked", "disabled"];
|
|
4586
|
+
const _hoisted_3$f = {
|
|
4586
4587
|
key: 0,
|
|
4587
4588
|
class: "f-checkbox__label"
|
|
4588
4589
|
};
|
|
@@ -4608,16 +4609,16 @@ const _hoisted_3$e = {
|
|
|
4608
4609
|
return openBlock(), createElementBlock("label", {
|
|
4609
4610
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4610
4611
|
}, [
|
|
4611
|
-
createElementVNode("span", _hoisted_1$
|
|
4612
|
+
createElementVNode("span", _hoisted_1$g, [
|
|
4612
4613
|
createElementVNode("input", {
|
|
4613
4614
|
type: "checkbox",
|
|
4614
4615
|
checked: modelValue.value,
|
|
4615
4616
|
disabled: _ctx.disabled,
|
|
4616
4617
|
onChange: handleChange
|
|
4617
|
-
}, null, 40, _hoisted_2$
|
|
4618
|
+
}, null, 40, _hoisted_2$f),
|
|
4618
4619
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4619
4620
|
]),
|
|
4620
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4621
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4621
4622
|
], 2);
|
|
4622
4623
|
};
|
|
4623
4624
|
}
|
|
@@ -4693,9 +4694,9 @@ var __spreadValues22222222 = (a, b) => {
|
|
|
4693
4694
|
}
|
|
4694
4695
|
return a;
|
|
4695
4696
|
};
|
|
4696
|
-
const _hoisted_1$
|
|
4697
|
-
const _hoisted_2$
|
|
4698
|
-
const _hoisted_3$
|
|
4697
|
+
const _hoisted_1$f = { class: "f-checkbox__wrapper" };
|
|
4698
|
+
const _hoisted_2$e = ["checked", "disabled"];
|
|
4699
|
+
const _hoisted_3$e = {
|
|
4699
4700
|
key: 0,
|
|
4700
4701
|
class: "f-checkbox__label"
|
|
4701
4702
|
};
|
|
@@ -4721,16 +4722,16 @@ const _hoisted_3$d = {
|
|
|
4721
4722
|
return openBlock(), createElementBlock("label", {
|
|
4722
4723
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4723
4724
|
}, [
|
|
4724
|
-
createElementVNode("span", _hoisted_1$
|
|
4725
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
4725
4726
|
createElementVNode("input", {
|
|
4726
4727
|
type: "checkbox",
|
|
4727
4728
|
checked: modelValue.value,
|
|
4728
4729
|
disabled: _ctx.disabled,
|
|
4729
4730
|
onChange: handleChange
|
|
4730
|
-
}, null, 40, _hoisted_2$
|
|
4731
|
+
}, null, 40, _hoisted_2$e),
|
|
4731
4732
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4732
4733
|
]),
|
|
4733
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4734
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$e, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4734
4735
|
], 2);
|
|
4735
4736
|
};
|
|
4736
4737
|
}
|
|
@@ -4806,9 +4807,9 @@ var __spreadValues222222222 = (a, b) => {
|
|
|
4806
4807
|
}
|
|
4807
4808
|
return a;
|
|
4808
4809
|
};
|
|
4809
|
-
const _hoisted_1$
|
|
4810
|
-
const _hoisted_2$
|
|
4811
|
-
const _hoisted_3$
|
|
4810
|
+
const _hoisted_1$e = { class: "f-checkbox__wrapper" };
|
|
4811
|
+
const _hoisted_2$d = ["checked", "disabled"];
|
|
4812
|
+
const _hoisted_3$d = {
|
|
4812
4813
|
key: 0,
|
|
4813
4814
|
class: "f-checkbox__label"
|
|
4814
4815
|
};
|
|
@@ -4834,16 +4835,16 @@ const _hoisted_3$c = {
|
|
|
4834
4835
|
return openBlock(), createElementBlock("label", {
|
|
4835
4836
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4836
4837
|
}, [
|
|
4837
|
-
createElementVNode("span", _hoisted_1$
|
|
4838
|
+
createElementVNode("span", _hoisted_1$e, [
|
|
4838
4839
|
createElementVNode("input", {
|
|
4839
4840
|
type: "checkbox",
|
|
4840
4841
|
checked: modelValue.value,
|
|
4841
4842
|
disabled: _ctx.disabled,
|
|
4842
4843
|
onChange: handleChange
|
|
4843
|
-
}, null, 40, _hoisted_2$
|
|
4844
|
+
}, null, 40, _hoisted_2$d),
|
|
4844
4845
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4845
4846
|
]),
|
|
4846
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4847
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$d, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4847
4848
|
], 2);
|
|
4848
4849
|
};
|
|
4849
4850
|
}
|
|
@@ -4919,9 +4920,9 @@ var __spreadValues2222222222 = (a, b) => {
|
|
|
4919
4920
|
}
|
|
4920
4921
|
return a;
|
|
4921
4922
|
};
|
|
4922
|
-
const _hoisted_1$
|
|
4923
|
-
const _hoisted_2$
|
|
4924
|
-
const _hoisted_3$
|
|
4923
|
+
const _hoisted_1$d = { class: "f-checkbox__wrapper" };
|
|
4924
|
+
const _hoisted_2$c = ["checked", "disabled"];
|
|
4925
|
+
const _hoisted_3$c = {
|
|
4925
4926
|
key: 0,
|
|
4926
4927
|
class: "f-checkbox__label"
|
|
4927
4928
|
};
|
|
@@ -4947,16 +4948,16 @@ const _hoisted_3$b = {
|
|
|
4947
4948
|
return openBlock(), createElementBlock("label", {
|
|
4948
4949
|
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
4949
4950
|
}, [
|
|
4950
|
-
createElementVNode("span", _hoisted_1$
|
|
4951
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
4951
4952
|
createElementVNode("input", {
|
|
4952
4953
|
type: "checkbox",
|
|
4953
4954
|
checked: modelValue.value,
|
|
4954
4955
|
disabled: _ctx.disabled,
|
|
4955
4956
|
onChange: handleChange
|
|
4956
|
-
}, null, 40, _hoisted_2$
|
|
4957
|
+
}, null, 40, _hoisted_2$c),
|
|
4957
4958
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
4958
4959
|
]),
|
|
4959
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
4960
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$c, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
4960
4961
|
], 2);
|
|
4961
4962
|
};
|
|
4962
4963
|
}
|
|
@@ -5032,6 +5033,119 @@ var __spreadValues22222222222 = (a, b) => {
|
|
|
5032
5033
|
}
|
|
5033
5034
|
return a;
|
|
5034
5035
|
};
|
|
5036
|
+
const _hoisted_1$c = { class: "f-checkbox__wrapper" };
|
|
5037
|
+
const _hoisted_2$b = ["checked", "disabled"];
|
|
5038
|
+
const _hoisted_3$b = {
|
|
5039
|
+
key: 0,
|
|
5040
|
+
class: "f-checkbox__label"
|
|
5041
|
+
};
|
|
5042
|
+
/* @__PURE__ */ defineComponent({
|
|
5043
|
+
__name: "FCheckbox",
|
|
5044
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5045
|
+
label: {},
|
|
5046
|
+
disabled: { type: Boolean }
|
|
5047
|
+
}, {
|
|
5048
|
+
"modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
|
|
5049
|
+
"modelModifiers": {}
|
|
5050
|
+
}),
|
|
5051
|
+
emits: ["update:modelValue"],
|
|
5052
|
+
setup(__props) {
|
|
5053
|
+
const modelValue = useModel(__props, "modelValue");
|
|
5054
|
+
const props = __props;
|
|
5055
|
+
const handleChange = (e) => {
|
|
5056
|
+
if (props.disabled) return;
|
|
5057
|
+
const target = e.target;
|
|
5058
|
+
modelValue.value = target.checked;
|
|
5059
|
+
};
|
|
5060
|
+
return (_ctx, _cache) => {
|
|
5061
|
+
return openBlock(), createElementBlock("label", {
|
|
5062
|
+
class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
|
|
5063
|
+
}, [
|
|
5064
|
+
createElementVNode("span", _hoisted_1$c, [
|
|
5065
|
+
createElementVNode("input", {
|
|
5066
|
+
type: "checkbox",
|
|
5067
|
+
checked: modelValue.value,
|
|
5068
|
+
disabled: _ctx.disabled,
|
|
5069
|
+
onChange: handleChange
|
|
5070
|
+
}, null, 40, _hoisted_2$b),
|
|
5071
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
|
|
5072
|
+
]),
|
|
5073
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
|
|
5074
|
+
], 2);
|
|
5075
|
+
};
|
|
5076
|
+
}
|
|
5077
|
+
});
|
|
5078
|
+
/* @__PURE__ */ defineComponent({
|
|
5079
|
+
__name: "FDialog",
|
|
5080
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5081
|
+
maskClosable: { type: Boolean, default: true },
|
|
5082
|
+
maskColor: { default: "black" },
|
|
5083
|
+
showMask: { type: Boolean, default: true }
|
|
5084
|
+
}, {
|
|
5085
|
+
"modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
|
|
5086
|
+
"modelModifiers": {}
|
|
5087
|
+
}),
|
|
5088
|
+
emits: ["update:modelValue"],
|
|
5089
|
+
setup(__props) {
|
|
5090
|
+
const props = __props;
|
|
5091
|
+
const visible = useModel(__props, "modelValue");
|
|
5092
|
+
const handleMaskClick = () => {
|
|
5093
|
+
if (props.maskClosable) visible.value = false;
|
|
5094
|
+
};
|
|
5095
|
+
const maskBackgroundColor = computed(() => {
|
|
5096
|
+
if (!props.showMask) return "transparent";
|
|
5097
|
+
switch (props.maskColor) {
|
|
5098
|
+
case "white":
|
|
5099
|
+
return "rgba(255, 255, 255, 0.5)";
|
|
5100
|
+
case "black":
|
|
5101
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5102
|
+
case "transparent":
|
|
5103
|
+
return "transparent";
|
|
5104
|
+
default:
|
|
5105
|
+
return "rgba(0, 0, 0, 0.5)";
|
|
5106
|
+
}
|
|
5107
|
+
});
|
|
5108
|
+
return (_ctx, _cache) => {
|
|
5109
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
5110
|
+
createVNode(Transition, { name: "fade" }, {
|
|
5111
|
+
default: withCtx(() => [
|
|
5112
|
+
visible.value ? (openBlock(), createElementBlock("div", {
|
|
5113
|
+
key: 0,
|
|
5114
|
+
class: "f-dialog-mask",
|
|
5115
|
+
style: normalizeStyle({ backgroundColor: unref(maskBackgroundColor) }),
|
|
5116
|
+
onClick: handleMaskClick
|
|
5117
|
+
}, [
|
|
5118
|
+
createElementVNode("div", {
|
|
5119
|
+
class: "f-dialog-container",
|
|
5120
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
5121
|
+
}, ["stop"]))
|
|
5122
|
+
}, [
|
|
5123
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5124
|
+
])
|
|
5125
|
+
], 4)) : createCommentVNode("", true)
|
|
5126
|
+
]),
|
|
5127
|
+
_: 3
|
|
5128
|
+
})
|
|
5129
|
+
]);
|
|
5130
|
+
};
|
|
5131
|
+
}
|
|
5132
|
+
});
|
|
5133
|
+
var __defProp222222222222 = Object.defineProperty;
|
|
5134
|
+
var __getOwnPropSymbols222222222222 = Object.getOwnPropertySymbols;
|
|
5135
|
+
var __hasOwnProp222222222222 = Object.prototype.hasOwnProperty;
|
|
5136
|
+
var __propIsEnum222222222222 = Object.prototype.propertyIsEnumerable;
|
|
5137
|
+
var __defNormalProp222222222222 = (obj, key, value) => key in obj ? __defProp222222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
5138
|
+
var __spreadValues222222222222 = (a, b) => {
|
|
5139
|
+
for (var prop in b || (b = {}))
|
|
5140
|
+
if (__hasOwnProp222222222222.call(b, prop))
|
|
5141
|
+
__defNormalProp222222222222(a, prop, b[prop]);
|
|
5142
|
+
if (__getOwnPropSymbols222222222222)
|
|
5143
|
+
for (var prop of __getOwnPropSymbols222222222222(b)) {
|
|
5144
|
+
if (__propIsEnum222222222222.call(b, prop))
|
|
5145
|
+
__defNormalProp222222222222(a, prop, b[prop]);
|
|
5146
|
+
}
|
|
5147
|
+
return a;
|
|
5148
|
+
};
|
|
5035
5149
|
const _hoisted_1$a = { class: "f-checkbox__wrapper" };
|
|
5036
5150
|
const _hoisted_2$9 = ["checked", "disabled"];
|
|
5037
5151
|
const _hoisted_3$9 = {
|
|
@@ -5044,7 +5158,7 @@ const _hoisted_3$9 = {
|
|
|
5044
5158
|
label: {},
|
|
5045
5159
|
disabled: { type: Boolean }
|
|
5046
5160
|
}, {
|
|
5047
|
-
"modelValue":
|
|
5161
|
+
"modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
|
|
5048
5162
|
"modelModifiers": {}
|
|
5049
5163
|
}),
|
|
5050
5164
|
emits: ["update:modelValue"],
|
|
@@ -5081,7 +5195,7 @@ const _hoisted_3$9 = {
|
|
|
5081
5195
|
maskColor: { default: "black" },
|
|
5082
5196
|
showMask: { type: Boolean, default: true }
|
|
5083
5197
|
}, {
|
|
5084
|
-
"modelValue":
|
|
5198
|
+
"modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
|
|
5085
5199
|
"modelModifiers": {}
|
|
5086
5200
|
}),
|
|
5087
5201
|
emits: ["update:modelValue"],
|
|
@@ -5178,7 +5292,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5178
5292
|
}, [
|
|
5179
5293
|
createElementVNode("div", _hoisted_1, [
|
|
5180
5294
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
5181
|
-
unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(unref(FIcon), {
|
|
5295
|
+
unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(unref(FIcon$1), {
|
|
5182
5296
|
key: 1,
|
|
5183
5297
|
size: 72
|
|
5184
5298
|
}, {
|
|
@@ -5209,7 +5323,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5209
5323
|
};
|
|
5210
5324
|
}
|
|
5211
5325
|
});
|
|
5212
|
-
const FResult = /* @__PURE__ */ _export_sfc
|
|
5326
|
+
const FResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c8f97d09"]]);
|
|
5213
5327
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5214
5328
|
__proto__: null,
|
|
5215
5329
|
FAffix,
|
|
@@ -5218,7 +5332,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
5218
5332
|
FBadge,
|
|
5219
5333
|
FBreadcrumb,
|
|
5220
5334
|
FButton,
|
|
5221
|
-
FButtonGroup
|
|
5335
|
+
FButtonGroup,
|
|
5222
5336
|
FCard,
|
|
5223
5337
|
FCheckbox,
|
|
5224
5338
|
FCol,
|
|
@@ -5233,7 +5347,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
5233
5347
|
FEmpty: _sfc_main$4,
|
|
5234
5348
|
FForm,
|
|
5235
5349
|
FFormItem,
|
|
5236
|
-
FIcon
|
|
5350
|
+
FIcon,
|
|
5237
5351
|
FImage,
|
|
5238
5352
|
FInput,
|
|
5239
5353
|
FInputNumber: _sfc_main$1,
|
|
@@ -5268,7 +5382,7 @@ export {
|
|
|
5268
5382
|
FBadge,
|
|
5269
5383
|
FBreadcrumb,
|
|
5270
5384
|
FButton,
|
|
5271
|
-
|
|
5385
|
+
FButtonGroup,
|
|
5272
5386
|
FCard,
|
|
5273
5387
|
FCheckbox,
|
|
5274
5388
|
FCol,
|
|
@@ -5283,7 +5397,7 @@ export {
|
|
|
5283
5397
|
_sfc_main$4 as FEmpty,
|
|
5284
5398
|
FForm,
|
|
5285
5399
|
FFormItem,
|
|
5286
|
-
FIcon
|
|
5400
|
+
FIcon,
|
|
5287
5401
|
FImage,
|
|
5288
5402
|
FInput,
|
|
5289
5403
|
_sfc_main$1 as FInputNumber,
|