fantasia-ui 0.2.43 → 0.2.44

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.
@@ -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, inject, createBlock, resolveDynamicComponent, nextTick, onUnmounted, Teleport, withModifiers, withKeys, isRef, vModelText, createTextVNode, TransitionGroup, useSlots, onMounted, onBeforeUnmount, render, h, provide, readonly, reactive, toRefs, createStaticVNode } from "vue";
41
41
  import { CloseCircleOutline, EyeOutline, EyeOffOutline, StarOutline, StarHalf, Star, ChevronDownOutline, ChevronBackOutline, EllipsisHorizontal, ChevronForwardOutline, CloseCircle, Close, Person, CloseOutline, InformationCircleOutline, AlertCircleOutline, WarningOutline, CheckmarkCircleOutline, InformationCircle, Warning, CheckmarkCircle, CloudUpload, DocumentOutline, RemoveOutline, AddOutline, ChevronUpOutline, AlertCircle } from "@vicons/ionicons5";
42
42
  import { useEventListener } from "@vueuse/core";
43
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
43
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
44
44
  __name: "FIcon",
45
45
  props: {
46
46
  color: {},
@@ -64,20 +64,20 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
64
64
  };
65
65
  }
66
66
  });
67
- const _export_sfc$3 = (sfc, props) => {
67
+ const _export_sfc$4 = (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$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__scopeId", "data-v-baf7de0c"]]);
74
+ const FIcon$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$N, [["__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$x = {
76
+ const _hoisted_1$y = {
77
77
  key: 0,
78
78
  class: "loop cubes"
79
79
  };
80
- const _hoisted_2$r = {
80
+ const _hoisted_2$s = {
81
81
  key: 2,
82
82
  class: "msg"
83
83
  };
@@ -94,7 +94,7 @@ const _sfc_main$I = /* @__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$x, [
97
+ _ctx.type === "cubes" ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
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$I = /* @__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$r, toDisplayString(props.text), 1)) : createCommentVNode("", true)
108
+ props.text ? (openBlock(), createElementBlock("p", _hoisted_2$s, toDisplayString(props.text), 1)) : createCommentVNode("", true)
109
109
  ], 2);
110
110
  };
111
111
  }
112
112
  });
113
- const FLoading = /* @__PURE__ */ _export_sfc$3(_sfc_main$I, [["__scopeId", "data-v-20f58a50"]]);
114
- const _hoisted_1$w = { class: "f-image" };
115
- const _hoisted_2$q = {
113
+ const FLoading = /* @__PURE__ */ _export_sfc$4(_sfc_main$I, [["__scopeId", "data-v-20f58a50"]]);
114
+ const _hoisted_1$x = { class: "f-image" };
115
+ const _hoisted_2$r = {
116
116
  key: 0,
117
117
  class: "f-image__placeholder"
118
118
  };
119
- const _hoisted_3$m = {
119
+ const _hoisted_3$n = {
120
120
  key: 0,
121
121
  class: "f-image__error"
122
122
  };
123
- const _hoisted_4$f = ["src", "loading"];
123
+ const _hoisted_4$g = ["src", "loading"];
124
124
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
125
125
  __name: "FImage",
126
126
  props: {
@@ -138,10 +138,10 @@ const _sfc_main$H = /* @__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$w, [
141
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
142
142
  createVNode(Transition, { name: "fade" }, {
143
143
  default: withCtx(() => [
144
- unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
144
+ unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
145
145
  createVNode(FLoading, { type: "classic first" })
146
146
  ])) : createCommentVNode("", true)
147
147
  ]),
@@ -149,9 +149,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
149
149
  }),
150
150
  createVNode(Transition, { name: "fade" }, {
151
151
  default: withCtx(() => [
152
- unref(status) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
152
+ unref(status) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
153
153
  renderSlot(_ctx.$slots, "error", {}, () => [
154
- createVNode(FIcon$3, { size: "48px" }, {
154
+ createVNode(FIcon$4, { size: "48px" }, {
155
155
  default: withCtx(() => [
156
156
  createVNode(unref(PictureError))
157
157
  ]),
@@ -169,16 +169,16 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
169
169
  class: "f-image__img",
170
170
  onLoad,
171
171
  onError
172
- }, null, 44, _hoisted_4$f), [
172
+ }, null, 44, _hoisted_4$g), [
173
173
  [vShow, unref(status) === "loaded"]
174
174
  ])
175
175
  ]);
176
176
  };
177
177
  }
178
178
  });
179
- const FImage = /* @__PURE__ */ _export_sfc$3(_sfc_main$H, [["__scopeId", "data-v-e959ab10"]]);
180
- const _hoisted_1$v = ["type", "value", "placeholder"];
181
- const _hoisted_2$p = { class: "f-input__suffix" };
179
+ const FImage = /* @__PURE__ */ _export_sfc$4(_sfc_main$H, [["__scopeId", "data-v-e959ab10"]]);
180
+ const _hoisted_1$w = ["type", "value", "placeholder"];
181
+ const _hoisted_2$q = { class: "f-input__suffix" };
182
182
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
183
183
  __name: "FInput",
184
184
  props: /* @__PURE__ */ mergeModels({
@@ -244,9 +244,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
244
244
  onBlur,
245
245
  onFocus,
246
246
  class: "f-input__inner"
247
- }, null, 40, _hoisted_1$v),
248
- createElementVNode("div", _hoisted_2$p, [
249
- unref(showClearIcon) ? (openBlock(), createBlock(FIcon$3, {
247
+ }, null, 40, _hoisted_1$w),
248
+ createElementVNode("div", _hoisted_2$q, [
249
+ unref(showClearIcon) ? (openBlock(), createBlock(FIcon$4, {
250
250
  key: 0,
251
251
  onClick: clearValue,
252
252
  class: "icon-btn"
@@ -256,7 +256,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
256
256
  ]),
257
257
  _: 1
258
258
  })) : createCommentVNode("", true),
259
- unref(showPasswordIcon) ? (openBlock(), createBlock(FIcon$3, {
259
+ unref(showPasswordIcon) ? (openBlock(), createBlock(FIcon$4, {
260
260
  key: 1,
261
261
  onClick: togglePassword,
262
262
  class: "icon-btn"
@@ -272,9 +272,9 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
272
272
  };
273
273
  }
274
274
  });
275
- const FInput = /* @__PURE__ */ _export_sfc$3(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
276
- const _hoisted_1$u = ["onMousemove"];
277
- const _hoisted_2$o = {
275
+ const FInput = /* @__PURE__ */ _export_sfc$4(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
276
+ const _hoisted_1$v = ["onMousemove"];
277
+ const _hoisted_2$p = {
278
278
  key: 0,
279
279
  class: "f-rate__score"
280
280
  };
@@ -352,7 +352,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
352
352
  onMousemove: ($event) => onMouseMove($event, index),
353
353
  onClick
354
354
  }, [
355
- createVNode(FIcon$3, {
355
+ createVNode(FIcon$4, {
356
356
  color: getStarColor(index),
357
357
  size: unref(starSize)
358
358
  }, {
@@ -361,22 +361,22 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
361
361
  ]),
362
362
  _: 2
363
363
  }, 1032, ["color", "size"])
364
- ], 40, _hoisted_1$u);
364
+ ], 40, _hoisted_1$v);
365
365
  }), 128)),
366
- props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$o, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
366
+ props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$p, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
367
367
  ], 34);
368
368
  };
369
369
  }
370
370
  });
371
- const FRate = /* @__PURE__ */ _export_sfc$3(_sfc_main$F, [["__scopeId", "data-v-3b5c4f14"]]);
372
- const _hoisted_1$t = { class: "f-dropdown-wrapper" };
373
- const _hoisted_2$n = { class: "f-dropdown-content" };
374
- const _hoisted_3$l = ["onClick"];
375
- const _hoisted_4$e = {
371
+ const FRate = /* @__PURE__ */ _export_sfc$4(_sfc_main$F, [["__scopeId", "data-v-3b5c4f14"]]);
372
+ const _hoisted_1$u = { class: "f-dropdown-wrapper" };
373
+ const _hoisted_2$o = { class: "f-dropdown-content" };
374
+ const _hoisted_3$m = ["onClick"];
375
+ const _hoisted_4$f = {
376
376
  key: 0,
377
377
  class: "opt-icon"
378
378
  };
379
- const _hoisted_5$c = { class: "opt-label" };
379
+ const _hoisted_5$d = { class: "opt-label" };
380
380
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
381
381
  __name: "FDropdown",
382
382
  props: {
@@ -549,7 +549,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
549
549
  });
550
550
  useEventListener(window, "click", handleWindowClick);
551
551
  return (_ctx, _cache) => {
552
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
552
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
553
553
  createElementVNode("div", {
554
554
  ref_key: "triggerRef",
555
555
  ref: triggerRef,
@@ -579,18 +579,18 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
579
579
  class: "f-dropdown-bridge",
580
580
  style: normalizeStyle(unref(bridgeStyle))
581
581
  }, null, 4)) : createCommentVNode("", true),
582
- createElementVNode("div", _hoisted_2$n, [
582
+ createElementVNode("div", _hoisted_2$o, [
583
583
  _ctx.options && _ctx.options.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.options, (opt) => {
584
584
  return openBlock(), createElementBlock("div", {
585
585
  key: opt.key,
586
586
  class: normalizeClass(["f-dropdown-option", { "is-disabled": opt.disabled }]),
587
587
  onClick: ($event) => handleOptionClick(opt)
588
588
  }, [
589
- opt.icon ? (openBlock(), createElementBlock("span", _hoisted_4$e, [
589
+ opt.icon ? (openBlock(), createElementBlock("span", _hoisted_4$f, [
590
590
  (openBlock(), createBlock(resolveDynamicComponent(opt.icon)))
591
591
  ])) : createCommentVNode("", true),
592
- createElementVNode("span", _hoisted_5$c, toDisplayString(opt.label), 1)
593
- ], 10, _hoisted_3$l);
592
+ createElementVNode("span", _hoisted_5$d, toDisplayString(opt.label), 1)
593
+ ], 10, _hoisted_3$m);
594
594
  }), 128)) : renderSlot(_ctx.$slots, "content", { key: 1 }, void 0, true)
595
595
  ])
596
596
  ], 36)) : createCommentVNode("", true)
@@ -602,7 +602,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
602
602
  };
603
603
  }
604
604
  });
605
- const FDropdown = /* @__PURE__ */ _export_sfc$3(_sfc_main$E, [["__scopeId", "data-v-834f9929"]]);
605
+ const FDropdown = /* @__PURE__ */ _export_sfc$4(_sfc_main$E, [["__scopeId", "data-v-834f9929"]]);
606
606
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
607
607
  __name: "FSelect",
608
608
  props: /* @__PURE__ */ mergeModels({
@@ -661,7 +661,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
661
661
  createElementVNode("span", {
662
662
  class: normalizeClass(["f-select__label", { "is-placeholder": !unref(hasValue) }])
663
663
  }, toDisplayString(unref(selectedLabel)), 3),
664
- createVNode(FIcon$3, { class: "f-select__arrow" }, {
664
+ createVNode(FIcon$4, { class: "f-select__arrow" }, {
665
665
  default: withCtx(() => [
666
666
  createVNode(unref(ChevronDownOutline))
667
667
  ]),
@@ -674,21 +674,21 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
674
674
  };
675
675
  }
676
676
  });
677
- const FSelect = /* @__PURE__ */ _export_sfc$3(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
678
- const _hoisted_1$s = {
677
+ const FSelect = /* @__PURE__ */ _export_sfc$4(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
678
+ const _hoisted_1$t = {
679
679
  key: 0,
680
680
  class: "f-pagination"
681
681
  };
682
- const _hoisted_2$m = {
682
+ const _hoisted_2$n = {
683
683
  key: 0,
684
684
  class: "f-pagination__total"
685
685
  };
686
- const _hoisted_3$k = {
686
+ const _hoisted_3$l = {
687
687
  key: 1,
688
688
  class: "f-pagination__size"
689
689
  };
690
- const _hoisted_4$d = ["value"];
691
- const _hoisted_5$b = ["value"];
690
+ const _hoisted_4$e = ["value"];
691
+ const _hoisted_5$c = ["value"];
692
692
  const _hoisted_6$7 = {
693
693
  key: 3,
694
694
  class: "f-pagination__list"
@@ -752,10 +752,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
752
752
  jumpInput.value = "";
753
753
  };
754
754
  return (_ctx, _cache) => {
755
- return !_ctx.hideOnSingle || unref(pageCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
755
+ return !_ctx.hideOnSingle || unref(pageCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
756
756
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(layoutItems), (item) => {
757
757
  return openBlock(), createElementBlock(Fragment, { key: item }, [
758
- item === "total" ? (openBlock(), createElementBlock("span", _hoisted_2$m, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
758
+ item === "total" ? (openBlock(), createElementBlock("span", _hoisted_2$n, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
759
759
  createElementVNode("select", {
760
760
  class: "size-select",
761
761
  value: _ctx.pageSize,
@@ -765,15 +765,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
765
765
  return openBlock(), createElementBlock("option", {
766
766
  key: s,
767
767
  value: s
768
- }, toDisplayString(s) + " 条/页", 9, _hoisted_5$b);
768
+ }, toDisplayString(s) + " 条/页", 9, _hoisted_5$c);
769
769
  }), 128))
770
- ], 40, _hoisted_4$d)
770
+ ], 40, _hoisted_4$e)
771
771
  ])) : item === "prev" ? (openBlock(), createElementBlock("button", {
772
772
  key: 2,
773
773
  class: normalizeClass(["page-btn", { disabled: currentPage.value === 1 }]),
774
774
  onClick: _cache[0] || (_cache[0] = ($event) => go(currentPage.value - 1))
775
775
  }, [
776
- createVNode(FIcon$3, null, {
776
+ createVNode(FIcon$4, null, {
777
777
  default: withCtx(() => [
778
778
  createVNode(unref(ChevronBackOutline))
779
779
  ]),
@@ -783,7 +783,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
783
783
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(pages), (page, index) => {
784
784
  return openBlock(), createElementBlock(Fragment, { key: index }, [
785
785
  page === "..." ? (openBlock(), createElementBlock("li", _hoisted_7$3, [
786
- createVNode(FIcon$3, null, {
786
+ createVNode(FIcon$4, null, {
787
787
  default: withCtx(() => [
788
788
  createVNode(unref(EllipsisHorizontal))
789
789
  ]),
@@ -801,7 +801,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
801
801
  class: normalizeClass(["page-btn", { disabled: currentPage.value === unref(pageCount) }]),
802
802
  onClick: _cache[1] || (_cache[1] = ($event) => go(currentPage.value + 1))
803
803
  }, [
804
- createVNode(FIcon$3, null, {
804
+ createVNode(FIcon$4, null, {
805
805
  default: withCtx(() => [
806
806
  createVNode(unref(ChevronForwardOutline))
807
807
  ]),
@@ -828,24 +828,24 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
828
828
  };
829
829
  }
830
830
  });
831
- const FPagination = /* @__PURE__ */ _export_sfc$3(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
832
- const _hoisted_1$r = {
831
+ const FPagination = /* @__PURE__ */ _export_sfc$4(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
832
+ const _hoisted_1$s = {
833
833
  key: 0,
834
834
  class: "f-card__header"
835
835
  };
836
- const _hoisted_2$l = {
836
+ const _hoisted_2$m = {
837
837
  key: 0,
838
838
  class: "f-card__header-extra"
839
839
  };
840
- const _hoisted_3$j = {
840
+ const _hoisted_3$k = {
841
841
  key: 1,
842
842
  class: "f-card__cover"
843
843
  };
844
- const _hoisted_4$c = {
844
+ const _hoisted_4$d = {
845
845
  key: 2,
846
846
  class: "f-card__body"
847
847
  };
848
- const _hoisted_5$a = {
848
+ const _hoisted_5$b = {
849
849
  key: 3,
850
850
  class: "f-card__footer"
851
851
  };
@@ -882,19 +882,19 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
882
882
  class: normalizeClass(["f-card", [`f-card--${_ctx.direction}`, { "is-hoverable": _ctx.hoverable }]])
883
883
  }, [
884
884
  _ctx.direction === "vertical" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
885
- _ctx.$slots.header || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
885
+ _ctx.$slots.header || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
886
886
  renderSlot(_ctx.$slots, "header", {}, void 0, true),
887
- _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
887
+ _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
888
888
  renderSlot(_ctx.$slots, "header-extra", {}, void 0, true)
889
889
  ])) : createCommentVNode("", true)
890
890
  ])) : createCommentVNode("", true),
891
- _ctx.$slots.cover ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
891
+ _ctx.$slots.cover ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
892
892
  renderSlot(_ctx.$slots, "cover", {}, void 0, true)
893
893
  ])) : createCommentVNode("", true),
894
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
894
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
895
895
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
896
896
  ])) : createCommentVNode("", true),
897
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
897
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
898
898
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
899
899
  ])) : createCommentVNode("", true)
900
900
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -920,8 +920,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
920
920
  };
921
921
  }
922
922
  });
923
- const FCard = /* @__PURE__ */ _export_sfc$3(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
924
- const _hoisted_1$q = {
923
+ const FCard = /* @__PURE__ */ _export_sfc$4(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
924
+ const _hoisted_1$r = {
925
925
  key: 0,
926
926
  class: "f-tag__dot"
927
927
  };
@@ -949,9 +949,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
949
949
  onMouseenter: _cache[1] || (_cache[1] = ($event) => isHover.value = true),
950
950
  onMouseleave: _cache[2] || (_cache[2] = ($event) => isHover.value = false)
951
951
  }, [
952
- _ctx.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_1$q)) : createCommentVNode("", true),
952
+ _ctx.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_1$r)) : createCommentVNode("", true),
953
953
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
954
- _ctx.closable ? (openBlock(), createBlock(FIcon$3, {
954
+ _ctx.closable ? (openBlock(), createBlock(FIcon$4, {
955
955
  key: 1,
956
956
  class: "f-tag__close",
957
957
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("close"), ["stop"]))
@@ -965,7 +965,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
965
965
  };
966
966
  }
967
967
  });
968
- const FTag = /* @__PURE__ */ _export_sfc$3(_sfc_main$A, [["__scopeId", "data-v-02bd5aa6"]]);
968
+ const FTag = /* @__PURE__ */ _export_sfc$4(_sfc_main$A, [["__scopeId", "data-v-02bd5aa6"]]);
969
969
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
970
970
  __name: "FTooltip",
971
971
  props: {
@@ -1070,9 +1070,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
1070
1070
  };
1071
1071
  }
1072
1072
  });
1073
- const FTooltip = /* @__PURE__ */ _export_sfc$3(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1074
- const _hoisted_1$p = { class: "f-progress" };
1075
- const _hoisted_2$k = {
1073
+ const FTooltip = /* @__PURE__ */ _export_sfc$4(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1074
+ const _hoisted_1$q = { class: "f-progress" };
1075
+ const _hoisted_2$l = {
1076
1076
  key: 0,
1077
1077
  class: "f-progress__text"
1078
1078
  };
@@ -1088,7 +1088,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
1088
1088
  const props = __props;
1089
1089
  const clampedPercent = computed(() => Math.min(100, Math.max(0, props.percent)));
1090
1090
  return (_ctx, _cache) => {
1091
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
1091
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
1092
1092
  createElementVNode("div", {
1093
1093
  class: "f-progress__track",
1094
1094
  style: normalizeStyle({ height: `${_ctx.height}px` })
@@ -1101,16 +1101,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
1101
1101
  })
1102
1102
  }, null, 4)
1103
1103
  ], 4),
1104
- _ctx.showText ? (openBlock(), createElementBlock("span", _hoisted_2$k, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
1104
+ _ctx.showText ? (openBlock(), createElementBlock("span", _hoisted_2$l, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
1105
1105
  ]);
1106
1106
  };
1107
1107
  }
1108
1108
  });
1109
- const FProgress = /* @__PURE__ */ _export_sfc$3(_sfc_main$y, [["__scopeId", "data-v-c2164d6e"]]);
1110
- const _hoisted_1$o = { class: "f-tabs__nav-container" };
1111
- const _hoisted_2$j = { class: "f-tabs__nav" };
1112
- const _hoisted_3$i = ["onClick"];
1113
- const _hoisted_4$b = { class: "f-tabs__label" };
1109
+ const FProgress = /* @__PURE__ */ _export_sfc$4(_sfc_main$y, [["__scopeId", "data-v-c2164d6e"]]);
1110
+ const _hoisted_1$p = { class: "f-tabs__nav-container" };
1111
+ const _hoisted_2$k = { class: "f-tabs__nav" };
1112
+ const _hoisted_3$j = ["onClick"];
1113
+ const _hoisted_4$c = { class: "f-tabs__label" };
1114
1114
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
1115
1115
  __name: "FTabs",
1116
1116
  props: {
@@ -1144,8 +1144,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1144
1144
  return openBlock(), createElementBlock("div", {
1145
1145
  class: normalizeClass(["f-tabs", [`f-tabs--${_ctx.type}`]])
1146
1146
  }, [
1147
- createElementVNode("div", _hoisted_1$o, [
1148
- createElementVNode("div", _hoisted_2$j, [
1147
+ createElementVNode("div", _hoisted_1$p, [
1148
+ createElementVNode("div", _hoisted_2$k, [
1149
1149
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
1150
1150
  return openBlock(), createElementBlock("div", {
1151
1151
  key: tab.name,
@@ -1155,8 +1155,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1155
1155
  }]),
1156
1156
  onClick: ($event) => setActiveTab(tab.name, tab.disabled)
1157
1157
  }, [
1158
- createElementVNode("span", _hoisted_4$b, toDisplayString(tab.label), 1)
1159
- ], 10, _hoisted_3$i);
1158
+ createElementVNode("span", _hoisted_4$c, toDisplayString(tab.label), 1)
1159
+ ], 10, _hoisted_3$j);
1160
1160
  }), 128))
1161
1161
  ])
1162
1162
  ]),
@@ -1174,13 +1174,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1174
1174
  };
1175
1175
  }
1176
1176
  });
1177
- const FTabs = /* @__PURE__ */ _export_sfc$3(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1178
- const _hoisted_1$n = {
1177
+ const FTabs = /* @__PURE__ */ _export_sfc$4(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1178
+ const _hoisted_1$o = {
1179
1179
  class: "f-breadcrumb__current",
1180
1180
  "aria-current": "page"
1181
1181
  };
1182
- const _hoisted_2$i = ["href"];
1183
- const _hoisted_3$h = {
1182
+ const _hoisted_2$j = ["href"];
1183
+ const _hoisted_3$i = {
1184
1184
  key: 3,
1185
1185
  class: "f-breadcrumb__text"
1186
1186
  };
@@ -1212,12 +1212,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
1212
1212
  key: 1,
1213
1213
  item
1214
1214
  }, () => [
1215
- createElementVNode("span", _hoisted_1$n, toDisplayString(item.label), 1)
1215
+ createElementVNode("span", _hoisted_1$o, toDisplayString(item.label), 1)
1216
1216
  ], true) : item.href ? (openBlock(), createElementBlock("a", {
1217
1217
  key: 2,
1218
1218
  href: item.href,
1219
1219
  class: "f-breadcrumb__link"
1220
- }, toDisplayString(item.label), 9, _hoisted_2$i)) : (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(item.label), 1))
1220
+ }, toDisplayString(item.label), 9, _hoisted_2$j)) : (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(item.label), 1))
1221
1221
  ], 64);
1222
1222
  }), 128))
1223
1223
  ]),
@@ -1227,7 +1227,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
1227
1227
  };
1228
1228
  }
1229
1229
  });
1230
- const FBreadcrumb = /* @__PURE__ */ _export_sfc$3(_sfc_main$w, [["__scopeId", "data-v-55b15358"]]);
1230
+ const FBreadcrumb = /* @__PURE__ */ _export_sfc$4(_sfc_main$w, [["__scopeId", "data-v-55b15358"]]);
1231
1231
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
1232
1232
  __name: "FCol",
1233
1233
  props: {
@@ -1269,7 +1269,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1269
1269
  };
1270
1270
  }
1271
1271
  });
1272
- const FCol = /* @__PURE__ */ _export_sfc$3(_sfc_main$v, [["__scopeId", "data-v-5a8b0cb4"]]);
1272
+ const FCol = /* @__PURE__ */ _export_sfc$4(_sfc_main$v, [["__scopeId", "data-v-5a8b0cb4"]]);
1273
1273
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
1274
1274
  __name: "FRow",
1275
1275
  props: {
@@ -1323,9 +1323,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
1323
1323
  };
1324
1324
  }
1325
1325
  });
1326
- const FRow = /* @__PURE__ */ _export_sfc$3(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1327
- const _hoisted_1$m = { class: "f-space__item" };
1328
- const _hoisted_2$h = {
1326
+ const FRow = /* @__PURE__ */ _export_sfc$4(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1327
+ const _hoisted_1$n = { class: "f-space__item" };
1328
+ const _hoisted_2$i = {
1329
1329
  key: 0,
1330
1330
  class: "f-space__split",
1331
1331
  "aria-hidden": "true"
@@ -1384,17 +1384,17 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
1384
1384
  }, [
1385
1385
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(children), (child, index) => {
1386
1386
  return openBlock(), createElementBlock(Fragment, { key: index }, [
1387
- createElementVNode("div", _hoisted_1$m, [
1387
+ createElementVNode("div", _hoisted_1$n, [
1388
1388
  (openBlock(), createBlock(resolveDynamicComponent(child)))
1389
1389
  ]),
1390
- _ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$h, toDisplayString(_ctx.split), 1)) : createCommentVNode("", true)
1390
+ _ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$i, toDisplayString(_ctx.split), 1)) : createCommentVNode("", true)
1391
1391
  ], 64);
1392
1392
  }), 128))
1393
1393
  ], 4);
1394
1394
  };
1395
1395
  }
1396
1396
  });
1397
- const FSpace = /* @__PURE__ */ _export_sfc$3(_sfc_main$t, [["__scopeId", "data-v-5fb3b1a0"]]);
1397
+ const FSpace = /* @__PURE__ */ _export_sfc$4(_sfc_main$t, [["__scopeId", "data-v-5fb3b1a0"]]);
1398
1398
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
1399
1399
  __name: "FContainer",
1400
1400
  props: {
@@ -1415,7 +1415,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1415
1415
  };
1416
1416
  }
1417
1417
  });
1418
- const FContainer = /* @__PURE__ */ _export_sfc$3(_sfc_main$s, [["__scopeId", "data-v-08450ddf"]]);
1418
+ const FContainer = /* @__PURE__ */ _export_sfc$4(_sfc_main$s, [["__scopeId", "data-v-08450ddf"]]);
1419
1419
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
1420
1420
  __name: "FDivider",
1421
1421
  props: {
@@ -1443,8 +1443,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1443
1443
  };
1444
1444
  }
1445
1445
  });
1446
- const FDivider = /* @__PURE__ */ _export_sfc$3(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1447
- const _hoisted_1$l = ["src", "alt"];
1446
+ const FDivider = /* @__PURE__ */ _export_sfc$4(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1447
+ const _hoisted_1$m = ["src", "alt"];
1448
1448
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
1449
1449
  __name: "FAvatar",
1450
1450
  props: {
@@ -1477,7 +1477,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1477
1477
  key: 0,
1478
1478
  src: _ctx.src,
1479
1479
  alt: _ctx.alt
1480
- }, null, 8, _hoisted_1$l)) : (openBlock(), createBlock(FIcon$3, {
1480
+ }, null, 8, _hoisted_1$m)) : (openBlock(), createBlock(FIcon$4, {
1481
1481
  key: 1,
1482
1482
  size: 24
1483
1483
  }, {
@@ -1490,7 +1490,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1490
1490
  };
1491
1491
  }
1492
1492
  });
1493
- const FAvatar = /* @__PURE__ */ _export_sfc$3(_sfc_main$q, [["__scopeId", "data-v-b3665268"]]);
1493
+ const FAvatar = /* @__PURE__ */ _export_sfc$4(_sfc_main$q, [["__scopeId", "data-v-b3665268"]]);
1494
1494
  var __defProp2 = Object.defineProperty;
1495
1495
  var __defProps2 = Object.defineProperties;
1496
1496
  var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
@@ -1510,7 +1510,7 @@ var __spreadValues2 = (a, b) => {
1510
1510
  return a;
1511
1511
  };
1512
1512
  var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
1513
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
1513
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1514
1514
  __name: "FIcon",
1515
1515
  props: {
1516
1516
  color: {},
@@ -1534,14 +1534,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1534
1534
  };
1535
1535
  }
1536
1536
  });
1537
- const _export_sfc$2 = (sfc, props) => {
1537
+ const _export_sfc$3 = (sfc, props) => {
1538
1538
  const target = sfc.__vccOpts || sfc;
1539
1539
  for (const [key, val] of props) {
1540
1540
  target[key] = val;
1541
1541
  }
1542
1542
  return target;
1543
1543
  };
1544
- const FIcon$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1544
+ const FIcon$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__scopeId", "data-v-baf7de0c"]]);
1545
1545
  var __defProp22 = Object.defineProperty;
1546
1546
  var __getOwnPropSymbols22 = Object.getOwnPropertySymbols;
1547
1547
  var __hasOwnProp22 = Object.prototype.hasOwnProperty;
@@ -1558,7 +1558,7 @@ var __spreadValues22 = (a, b) => {
1558
1558
  }
1559
1559
  return a;
1560
1560
  };
1561
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
1561
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1562
1562
  __name: "FIcon",
1563
1563
  props: {
1564
1564
  color: {},
@@ -1582,14 +1582,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1582
1582
  };
1583
1583
  }
1584
1584
  });
1585
- const _export_sfc = (sfc, props) => {
1585
+ const _export_sfc$2 = (sfc, props) => {
1586
1586
  const target = sfc.__vccOpts || sfc;
1587
1587
  for (const [key, val] of props) {
1588
1588
  target[key] = val;
1589
1589
  }
1590
1590
  return target;
1591
1591
  };
1592
- const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1592
+ const FIcon$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1593
1593
  var __defProp222 = Object.defineProperty;
1594
1594
  var __getOwnPropSymbols222 = Object.getOwnPropertySymbols;
1595
1595
  var __hasOwnProp222 = Object.prototype.hasOwnProperty;
@@ -1606,7 +1606,7 @@ var __spreadValues222 = (a, b) => {
1606
1606
  }
1607
1607
  return a;
1608
1608
  };
1609
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
1609
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1610
1610
  __name: "FIcon",
1611
1611
  props: {
1612
1612
  color: {},
@@ -1630,14 +1630,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1630
1630
  };
1631
1631
  }
1632
1632
  });
1633
- const _export_sfc$1 = (sfc, props) => {
1633
+ const _export_sfc = (sfc, props) => {
1634
1634
  const target = sfc.__vccOpts || sfc;
1635
1635
  for (const [key, val] of props) {
1636
1636
  target[key] = val;
1637
1637
  }
1638
1638
  return target;
1639
1639
  };
1640
- const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1640
+ const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1641
1641
  var __defProp2222 = Object.defineProperty;
1642
1642
  var __getOwnPropSymbols2222 = Object.getOwnPropertySymbols;
1643
1643
  var __hasOwnProp2222 = Object.prototype.hasOwnProperty;
@@ -1654,6 +1654,38 @@ var __spreadValues2222 = (a, b) => {
1654
1654
  }
1655
1655
  return a;
1656
1656
  };
1657
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1658
+ __name: "FIcon",
1659
+ props: {
1660
+ color: {},
1661
+ size: { default: "1em" }
1662
+ },
1663
+ setup(__props) {
1664
+ const props = __props;
1665
+ const style = computed(() => ({
1666
+ width: typeof props.size === "number" ? `${props.size}px` : props.size,
1667
+ height: typeof props.size === "number" ? `${props.size}px` : props.size,
1668
+ color: props.color
1669
+ }));
1670
+ return (_ctx, _cache) => {
1671
+ return openBlock(), createElementBlock("span", {
1672
+ role: "img",
1673
+ class: "f-icon",
1674
+ style: normalizeStyle(unref(style))
1675
+ }, [
1676
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
1677
+ ], 4);
1678
+ };
1679
+ }
1680
+ });
1681
+ const _export_sfc$1 = (sfc, props) => {
1682
+ const target = sfc.__vccOpts || sfc;
1683
+ for (const [key, val] of props) {
1684
+ target[key] = val;
1685
+ }
1686
+ return target;
1687
+ };
1688
+ const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1657
1689
  var __defProp22222 = Object.defineProperty;
1658
1690
  var __getOwnPropSymbols22222 = Object.getOwnPropertySymbols;
1659
1691
  var __hasOwnProp22222 = Object.prototype.hasOwnProperty;
@@ -1718,6 +1750,22 @@ var __spreadValues22222222 = (a, b) => {
1718
1750
  }
1719
1751
  return a;
1720
1752
  };
1753
+ var __defProp222222222 = Object.defineProperty;
1754
+ var __getOwnPropSymbols222222222 = Object.getOwnPropertySymbols;
1755
+ var __hasOwnProp222222222 = Object.prototype.hasOwnProperty;
1756
+ var __propIsEnum222222222 = Object.prototype.propertyIsEnumerable;
1757
+ var __defNormalProp222222222 = (obj, key, value) => key in obj ? __defProp222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1758
+ var __spreadValues222222222 = (a, b) => {
1759
+ for (var prop in b || (b = {}))
1760
+ if (__hasOwnProp222222222.call(b, prop))
1761
+ __defNormalProp222222222(a, prop, b[prop]);
1762
+ if (__getOwnPropSymbols222222222)
1763
+ for (var prop of __getOwnPropSymbols222222222(b)) {
1764
+ if (__propIsEnum222222222.call(b, prop))
1765
+ __defNormalProp222222222(a, prop, b[prop]);
1766
+ }
1767
+ return a;
1768
+ };
1721
1769
  const _hoisted_1$f$1 = { class: "f-checkbox__wrapper" };
1722
1770
  const _hoisted_2$d$1 = ["checked", "disabled"];
1723
1771
  const _hoisted_3$d$1 = {
@@ -1730,7 +1778,7 @@ const _hoisted_3$d$1 = {
1730
1778
  label: {},
1731
1779
  disabled: { type: Boolean }
1732
1780
  }, {
1733
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
1781
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1734
1782
  "modelModifiers": {}
1735
1783
  }),
1736
1784
  emits: ["update:modelValue"],
@@ -1767,7 +1815,7 @@ const _hoisted_3$d$1 = {
1767
1815
  maskColor: { default: "black" },
1768
1816
  showMask: { type: Boolean, default: true }
1769
1817
  }, {
1770
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
1818
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1771
1819
  "modelModifiers": {}
1772
1820
  }),
1773
1821
  emits: ["update:modelValue"],
@@ -1815,22 +1863,6 @@ const _hoisted_3$d$1 = {
1815
1863
  };
1816
1864
  }
1817
1865
  });
1818
- var __defProp222222222 = Object.defineProperty;
1819
- var __getOwnPropSymbols222222222 = Object.getOwnPropertySymbols;
1820
- var __hasOwnProp222222222 = Object.prototype.hasOwnProperty;
1821
- var __propIsEnum222222222 = Object.prototype.propertyIsEnumerable;
1822
- var __defNormalProp222222222 = (obj, key, value) => key in obj ? __defProp222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1823
- var __spreadValues222222222 = (a, b) => {
1824
- for (var prop in b || (b = {}))
1825
- if (__hasOwnProp222222222.call(b, prop))
1826
- __defNormalProp222222222(a, prop, b[prop]);
1827
- if (__getOwnPropSymbols222222222)
1828
- for (var prop of __getOwnPropSymbols222222222(b)) {
1829
- if (__propIsEnum222222222.call(b, prop))
1830
- __defNormalProp222222222(a, prop, b[prop]);
1831
- }
1832
- return a;
1833
- };
1834
1866
  var __defProp2222222222 = Object.defineProperty;
1835
1867
  var __getOwnPropSymbols2222222222 = Object.getOwnPropertySymbols;
1836
1868
  var __hasOwnProp2222222222 = Object.prototype.hasOwnProperty;
@@ -1847,6 +1879,22 @@ var __spreadValues2222222222 = (a, b) => {
1847
1879
  }
1848
1880
  return a;
1849
1881
  };
1882
+ var __defProp22222222222 = Object.defineProperty;
1883
+ var __getOwnPropSymbols22222222222 = Object.getOwnPropertySymbols;
1884
+ var __hasOwnProp22222222222 = Object.prototype.hasOwnProperty;
1885
+ var __propIsEnum22222222222 = Object.prototype.propertyIsEnumerable;
1886
+ var __defNormalProp22222222222 = (obj, key, value) => key in obj ? __defProp22222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1887
+ var __spreadValues22222222222 = (a, b) => {
1888
+ for (var prop in b || (b = {}))
1889
+ if (__hasOwnProp22222222222.call(b, prop))
1890
+ __defNormalProp22222222222(a, prop, b[prop]);
1891
+ if (__getOwnPropSymbols22222222222)
1892
+ for (var prop of __getOwnPropSymbols22222222222(b)) {
1893
+ if (__propIsEnum22222222222.call(b, prop))
1894
+ __defNormalProp22222222222(a, prop, b[prop]);
1895
+ }
1896
+ return a;
1897
+ };
1850
1898
  const _hoisted_1$d$1 = { class: "f-checkbox__wrapper" };
1851
1899
  const _hoisted_2$b$1 = ["checked", "disabled"];
1852
1900
  const _hoisted_3$b$1 = {
@@ -1859,7 +1907,7 @@ const _hoisted_3$b$1 = {
1859
1907
  label: {},
1860
1908
  disabled: { type: Boolean }
1861
1909
  }, {
1862
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1910
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1863
1911
  "modelModifiers": {}
1864
1912
  }),
1865
1913
  emits: ["update:modelValue"],
@@ -1896,7 +1944,7 @@ const _hoisted_3$b$1 = {
1896
1944
  maskColor: { default: "black" },
1897
1945
  showMask: { type: Boolean, default: true }
1898
1946
  }, {
1899
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1947
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1900
1948
  "modelModifiers": {}
1901
1949
  }),
1902
1950
  emits: ["update:modelValue"],
@@ -1956,7 +2004,7 @@ const _hoisted_3$b$2 = {
1956
2004
  label: {},
1957
2005
  disabled: { type: Boolean }
1958
2006
  }, {
1959
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2007
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1960
2008
  "modelModifiers": {}
1961
2009
  }),
1962
2010
  emits: ["update:modelValue"],
@@ -1993,7 +2041,7 @@ const _hoisted_3$b$2 = {
1993
2041
  maskColor: { default: "black" },
1994
2042
  showMask: { type: Boolean, default: true }
1995
2043
  }, {
1996
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2044
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1997
2045
  "modelModifiers": {}
1998
2046
  }),
1999
2047
  emits: ["update:modelValue"],
@@ -2053,7 +2101,7 @@ const _hoisted_3$b$3 = {
2053
2101
  label: {},
2054
2102
  disabled: { type: Boolean }
2055
2103
  }, {
2056
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2104
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2057
2105
  "modelModifiers": {}
2058
2106
  }),
2059
2107
  emits: ["update:modelValue"],
@@ -2090,7 +2138,7 @@ const _hoisted_3$b$3 = {
2090
2138
  maskColor: { default: "black" },
2091
2139
  showMask: { type: Boolean, default: true }
2092
2140
  }, {
2093
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2141
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2094
2142
  "modelModifiers": {}
2095
2143
  }),
2096
2144
  emits: ["update:modelValue"],
@@ -2150,7 +2198,7 @@ const _hoisted_3$b$4 = {
2150
2198
  label: {},
2151
2199
  disabled: { type: Boolean }
2152
2200
  }, {
2153
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2201
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2154
2202
  "modelModifiers": {}
2155
2203
  }),
2156
2204
  emits: ["update:modelValue"],
@@ -2187,7 +2235,7 @@ const _hoisted_3$b$4 = {
2187
2235
  maskColor: { default: "black" },
2188
2236
  showMask: { type: Boolean, default: true }
2189
2237
  }, {
2190
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2238
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2191
2239
  "modelModifiers": {}
2192
2240
  }),
2193
2241
  emits: ["update:modelValue"],
@@ -2247,7 +2295,7 @@ const _hoisted_3$b$5 = {
2247
2295
  label: {},
2248
2296
  disabled: { type: Boolean }
2249
2297
  }, {
2250
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2298
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2251
2299
  "modelModifiers": {}
2252
2300
  }),
2253
2301
  emits: ["update:modelValue"],
@@ -2284,7 +2332,7 @@ const _hoisted_3$b$5 = {
2284
2332
  maskColor: { default: "black" },
2285
2333
  showMask: { type: Boolean, default: true }
2286
2334
  }, {
2287
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2335
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2288
2336
  "modelModifiers": {}
2289
2337
  }),
2290
2338
  emits: ["update:modelValue"],
@@ -2344,7 +2392,7 @@ const _hoisted_3$b$6 = {
2344
2392
  label: {},
2345
2393
  disabled: { type: Boolean }
2346
2394
  }, {
2347
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2395
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2348
2396
  "modelModifiers": {}
2349
2397
  }),
2350
2398
  emits: ["update:modelValue"],
@@ -2381,7 +2429,7 @@ const _hoisted_3$b$6 = {
2381
2429
  maskColor: { default: "black" },
2382
2430
  showMask: { type: Boolean, default: true }
2383
2431
  }, {
2384
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2432
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2385
2433
  "modelModifiers": {}
2386
2434
  }),
2387
2435
  emits: ["update:modelValue"],
@@ -2441,7 +2489,7 @@ const _hoisted_3$b$7 = {
2441
2489
  label: {},
2442
2490
  disabled: { type: Boolean }
2443
2491
  }, {
2444
- "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
2492
+ "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2445
2493
  "modelModifiers": {}
2446
2494
  }),
2447
2495
  emits: ["update:modelValue"],
@@ -2478,7 +2526,7 @@ const _hoisted_3$b$7 = {
2478
2526
  maskColor: { default: "black" },
2479
2527
  showMask: { type: Boolean, default: true }
2480
2528
  }, {
2481
- "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
2529
+ "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2482
2530
  "modelModifiers": {}
2483
2531
  }),
2484
2532
  emits: ["update:modelValue"],
@@ -2651,7 +2699,7 @@ const _hoisted_3$c$1 = {
2651
2699
  label: {},
2652
2700
  disabled: { type: Boolean }
2653
2701
  }, {
2654
- "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
2702
+ "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
2655
2703
  "modelModifiers": {}
2656
2704
  }),
2657
2705
  emits: ["update:modelValue"],
@@ -2710,7 +2758,7 @@ const _hoisted_5$8 = {
2710
2758
  destroyOnClose: { type: Boolean, default: false },
2711
2759
  beforeClose: {}
2712
2760
  }, {
2713
- "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
2761
+ "modelValue": __spreadValues222({ type: Boolean }, { required: true }),
2714
2762
  "modelModifiers": {}
2715
2763
  }),
2716
2764
  emits: /* @__PURE__ */ mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
@@ -2981,7 +3029,7 @@ const _hoisted_3$c$2 = {
2981
3029
  label: {},
2982
3030
  disabled: { type: Boolean }
2983
3031
  }, {
2984
- "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3032
+ "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
2985
3033
  "modelModifiers": {}
2986
3034
  }),
2987
3035
  emits: ["update:modelValue"],
@@ -3011,6 +3059,336 @@ const _hoisted_3$c$2 = {
3011
3059
  };
3012
3060
  }
3013
3061
  });
3062
+ const _hoisted_1$k = {
3063
+ key: 0,
3064
+ class: "f-dialog__icon"
3065
+ };
3066
+ const _hoisted_2$g = { class: "f-dialog__title" };
3067
+ const _hoisted_3$g = { class: "f-dialog__body" };
3068
+ const _hoisted_4$a = { key: 0 };
3069
+ const _hoisted_5$9 = {
3070
+ key: 2,
3071
+ class: "f-dialog__footer"
3072
+ };
3073
+ /* @__PURE__ */ defineComponent({
3074
+ __name: "FDialog",
3075
+ props: /* @__PURE__ */ mergeModels({
3076
+ title: { default: "提示" },
3077
+ content: {},
3078
+ width: { default: "500px" },
3079
+ type: { default: "default" },
3080
+ confirmText: { default: "确定" },
3081
+ cancelText: { default: "取消" },
3082
+ showCancel: { type: Boolean, default: true },
3083
+ showClose: { type: Boolean, default: true },
3084
+ closeOnClickModal: { type: Boolean, default: true },
3085
+ closeOnEsc: { type: Boolean, default: true },
3086
+ center: { type: Boolean, default: false },
3087
+ fullscreen: { type: Boolean, default: false },
3088
+ destroyOnClose: { type: Boolean, default: false },
3089
+ beforeClose: {}
3090
+ }, {
3091
+ "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
3092
+ "modelModifiers": {}
3093
+ }),
3094
+ emits: /* @__PURE__ */ mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
3095
+ setup(__props, { emit: __emit }) {
3096
+ const props = __props;
3097
+ const emit = __emit;
3098
+ const visible = useModel(__props, "modelValue");
3099
+ const handleClose = () => {
3100
+ visible.value = false;
3101
+ emit("close");
3102
+ };
3103
+ const handleConfirm = () => {
3104
+ emit("confirm");
3105
+ if (props.beforeClose) {
3106
+ props.beforeClose(() => {
3107
+ visible.value = false;
3108
+ });
3109
+ } else {
3110
+ visible.value = false;
3111
+ }
3112
+ };
3113
+ const handleCancel = () => {
3114
+ emit("cancel");
3115
+ handleClose();
3116
+ };
3117
+ const handleOverlayClick = (e) => {
3118
+ if (props.closeOnClickModal && e.target === e.currentTarget) {
3119
+ handleClose();
3120
+ }
3121
+ };
3122
+ const handleKeydown = (e) => {
3123
+ if (props.closeOnEsc && e.key === "Escape") {
3124
+ handleClose();
3125
+ }
3126
+ };
3127
+ onMounted(() => {
3128
+ if (props.closeOnEsc) {
3129
+ window.addEventListener("keydown", handleKeydown);
3130
+ }
3131
+ emit("open");
3132
+ });
3133
+ onBeforeUnmount(() => {
3134
+ if (props.closeOnEsc) {
3135
+ window.removeEventListener("keydown", handleKeydown);
3136
+ }
3137
+ });
3138
+ const iconMap = {
3139
+ info: InformationCircleOutline,
3140
+ success: CheckmarkCircleOutline,
3141
+ warning: WarningOutline,
3142
+ failed: AlertCircleOutline,
3143
+ primary: InformationCircleOutline,
3144
+ default: InformationCircleOutline
3145
+ };
3146
+ const hasIcon = computed(() => props.type && props.type !== "default");
3147
+ return (_ctx, _cache) => {
3148
+ return openBlock(), createBlock(Teleport, { to: "body" }, [
3149
+ createVNode(Transition, { name: "f-dialog-fade" }, {
3150
+ default: withCtx(() => [
3151
+ visible.value ? (openBlock(), createElementBlock("div", {
3152
+ key: 0,
3153
+ class: "f-dialog-overlay",
3154
+ onClick: handleOverlayClick
3155
+ }, [
3156
+ createVNode(Transition, { name: "f-dialog-zoom" }, {
3157
+ default: withCtx(() => [
3158
+ visible.value ? (openBlock(), createElementBlock("div", {
3159
+ key: 0,
3160
+ class: normalizeClass(["f-dialog", [
3161
+ `f-dialog--${_ctx.type}`,
3162
+ {
3163
+ "is-center": _ctx.center,
3164
+ "is-fullscreen": _ctx.fullscreen
3165
+ }
3166
+ ]]),
3167
+ style: normalizeStyle({ width: _ctx.fullscreen ? "100%" : _ctx.width })
3168
+ }, [
3169
+ _ctx.showClose ? (openBlock(), createElementBlock("button", {
3170
+ key: 0,
3171
+ type: "button",
3172
+ class: "f-dialog__close",
3173
+ onClick: handleClose
3174
+ }, [
3175
+ createVNode(FIcon$2, null, {
3176
+ default: withCtx(() => [
3177
+ createVNode(unref(CloseOutline))
3178
+ ]),
3179
+ _: 1
3180
+ })
3181
+ ])) : createCommentVNode("", true),
3182
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("div", {
3183
+ key: 1,
3184
+ class: normalizeClass(["f-dialog__header", { "has-icon": unref(hasIcon) }])
3185
+ }, [
3186
+ renderSlot(_ctx.$slots, "header", {}, () => [
3187
+ unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
3188
+ createVNode(FIcon$2, null, {
3189
+ default: withCtx(() => [
3190
+ (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
3191
+ ]),
3192
+ _: 1
3193
+ })
3194
+ ])) : createCommentVNode("", true),
3195
+ createElementVNode("h3", _hoisted_2$g, toDisplayString(_ctx.title), 1)
3196
+ ], true)
3197
+ ], 2)) : createCommentVNode("", true),
3198
+ createElementVNode("div", _hoisted_3$g, [
3199
+ renderSlot(_ctx.$slots, "default", {}, () => [
3200
+ _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$a, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
3201
+ ], true)
3202
+ ]),
3203
+ _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
3204
+ renderSlot(_ctx.$slots, "footer", {}, () => [
3205
+ _ctx.showCancel ? (openBlock(), createBlock(FButton$2, {
3206
+ key: 0,
3207
+ onClick: handleCancel
3208
+ }, {
3209
+ default: withCtx(() => [
3210
+ createTextVNode(toDisplayString(_ctx.cancelText), 1)
3211
+ ]),
3212
+ _: 1
3213
+ })) : createCommentVNode("", true),
3214
+ createVNode(FButton$2, {
3215
+ type: "primary",
3216
+ onClick: handleConfirm
3217
+ }, {
3218
+ default: withCtx(() => [
3219
+ createTextVNode(toDisplayString(_ctx.confirmText), 1)
3220
+ ]),
3221
+ _: 1
3222
+ })
3223
+ ], true)
3224
+ ])) : createCommentVNode("", true)
3225
+ ], 6)) : createCommentVNode("", true)
3226
+ ]),
3227
+ _: 3
3228
+ })
3229
+ ])) : createCommentVNode("", true)
3230
+ ]),
3231
+ _: 3
3232
+ })
3233
+ ]);
3234
+ };
3235
+ }
3236
+ });
3237
+ const _hoisted_1$i$3 = ["type", "disabled"];
3238
+ const _hoisted_2$e$3 = { class: "f-button__inner" };
3239
+ const _hoisted_3$e$3 = {
3240
+ key: 0,
3241
+ class: "f-loader"
3242
+ };
3243
+ const _hoisted_4$8$3 = {
3244
+ key: 2,
3245
+ class: "f-button__text"
3246
+ };
3247
+ const _sfc_main$o$3 = /* @__PURE__ */ defineComponent({
3248
+ __name: "FButton",
3249
+ props: {
3250
+ type: {},
3251
+ size: {},
3252
+ nativeType: { default: "button" },
3253
+ loading: { type: Boolean },
3254
+ disabled: { type: Boolean },
3255
+ round: { type: [Boolean, Number] },
3256
+ circle: { type: Boolean },
3257
+ plain: { type: Boolean },
3258
+ text: { type: Boolean },
3259
+ block: { type: Boolean },
3260
+ icon: {},
3261
+ active: { type: Boolean },
3262
+ bgColor: {},
3263
+ color: {}
3264
+ },
3265
+ setup(__props) {
3266
+ const SIZE_MAP = {
3267
+ small: { h: "24px", p: "0 8px", f: "12px", i: "14px" },
3268
+ normal: { h: "32px", p: "0 12px", f: "13px", i: "16px" },
3269
+ large: { h: "40px", p: "0 16px", f: "14px", i: "18px" }
3270
+ };
3271
+ const props = __props;
3272
+ const slots = useSlots();
3273
+ const groupContext = inject("FButtonGroupContext", null);
3274
+ const mergedSize = computed(() => {
3275
+ var _a, _b;
3276
+ return (_b = (_a = props.size) != null ? _a : groupContext == null ? void 0 : groupContext.size) != null ? _b : "normal";
3277
+ });
3278
+ const mergedType = computed(() => {
3279
+ var _a, _b;
3280
+ return (_b = (_a = props.type) != null ? _a : groupContext == null ? void 0 : groupContext.type) != null ? _b : "default";
3281
+ });
3282
+ const isDisabled = computed(() => props.disabled || props.loading || (groupContext == null ? void 0 : groupContext.disabled));
3283
+ const hasText = computed(() => !!slots.default);
3284
+ const buttonStyle = computed(() => {
3285
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3286
+ const style = {
3287
+ height: s.h,
3288
+ padding: props.circle ? "0" : s.p,
3289
+ fontSize: s.f,
3290
+ minWidth: props.circle ? s.h : "auto",
3291
+ backgroundColor: props.bgColor,
3292
+ color: props.color
3293
+ };
3294
+ if (props.circle) {
3295
+ style.borderRadius = "50%";
3296
+ style.width = s.h;
3297
+ } else if (typeof props.round === "number") {
3298
+ style.borderRadius = `${props.round}px`;
3299
+ } else if (props.round === true) {
3300
+ style.borderRadius = "999px";
3301
+ }
3302
+ return style;
3303
+ });
3304
+ const iconSize = computed(() => {
3305
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3306
+ return s.i;
3307
+ });
3308
+ return (_ctx, _cache) => {
3309
+ return openBlock(), createElementBlock("button", {
3310
+ type: _ctx.nativeType,
3311
+ class: normalizeClass(["f-button", [
3312
+ `f-button--${unref(mergedType)}`,
3313
+ `f-button--${unref(mergedSize)}`,
3314
+ {
3315
+ "is-disabled": unref(isDisabled),
3316
+ "is-loading": _ctx.loading,
3317
+ "is-active": _ctx.active,
3318
+ "is-text": _ctx.text,
3319
+ "is-icon-only": !unref(hasText) && (_ctx.icon || _ctx.$slots.icon)
3320
+ }
3321
+ ]]),
3322
+ disabled: unref(isDisabled),
3323
+ style: normalizeStyle(unref(buttonStyle))
3324
+ }, [
3325
+ createElementVNode("span", _hoisted_2$e$3, [
3326
+ _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$e$3)) : createCommentVNode("", true),
3327
+ !_ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3328
+ _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$2), {
3329
+ key: 0,
3330
+ class: "f-button__icon",
3331
+ style: normalizeStyle({ fontSize: unref(iconSize) })
3332
+ }, {
3333
+ default: withCtx(() => [
3334
+ renderSlot(_ctx.$slots, "icon", {}, () => [
3335
+ _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : createCommentVNode("", true)
3336
+ ], true)
3337
+ ]),
3338
+ _: 3
3339
+ }, 8, ["style"])) : createCommentVNode("", true)
3340
+ ], 64)) : createCommentVNode("", true),
3341
+ unref(hasText) ? (openBlock(), createElementBlock("span", _hoisted_4$8$3, [
3342
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
3343
+ ])) : createCommentVNode("", true)
3344
+ ])
3345
+ ], 14, _hoisted_1$i$3);
3346
+ };
3347
+ }
3348
+ });
3349
+ const FButton$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$o$3, [["__scopeId", "data-v-41be5001"]]);
3350
+ const _hoisted_1$e$3 = { class: "f-checkbox__wrapper" };
3351
+ const _hoisted_2$c$3 = ["checked", "disabled"];
3352
+ const _hoisted_3$c$3 = {
3353
+ key: 0,
3354
+ class: "f-checkbox__label"
3355
+ };
3356
+ /* @__PURE__ */ defineComponent({
3357
+ __name: "FCheckbox",
3358
+ props: /* @__PURE__ */ mergeModels({
3359
+ label: {},
3360
+ disabled: { type: Boolean }
3361
+ }, {
3362
+ "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3363
+ "modelModifiers": {}
3364
+ }),
3365
+ emits: ["update:modelValue"],
3366
+ setup(__props) {
3367
+ const modelValue = useModel(__props, "modelValue");
3368
+ const props = __props;
3369
+ const handleChange = (e) => {
3370
+ if (props.disabled) return;
3371
+ const target = e.target;
3372
+ modelValue.value = target.checked;
3373
+ };
3374
+ return (_ctx, _cache) => {
3375
+ return openBlock(), createElementBlock("label", {
3376
+ class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
3377
+ }, [
3378
+ createElementVNode("span", _hoisted_1$e$3, [
3379
+ createElementVNode("input", {
3380
+ type: "checkbox",
3381
+ checked: modelValue.value,
3382
+ disabled: _ctx.disabled,
3383
+ onChange: handleChange
3384
+ }, null, 40, _hoisted_2$c$3),
3385
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
3386
+ ]),
3387
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$c$3, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
3388
+ ], 2);
3389
+ };
3390
+ }
3391
+ });
3014
3392
  const _hoisted_1$2$1 = { class: "f-message__content" };
3015
3393
  const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3016
3394
  __name: "FMessage",
@@ -3082,7 +3460,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3082
3460
  onMouseenter: clearTimer,
3083
3461
  onMouseleave: startTimer
3084
3462
  }, [
3085
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$2, {
3463
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
3086
3464
  key: 0,
3087
3465
  class: "f-message__icon"
3088
3466
  }, {
@@ -3099,7 +3477,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3099
3477
  "aria-label": "close",
3100
3478
  onClick: close
3101
3479
  }, [
3102
- createVNode(FIcon$2, null, {
3480
+ createVNode(FIcon$3, null, {
3103
3481
  default: withCtx(() => [
3104
3482
  createVNode(unref(Close))
3105
3483
  ]),
@@ -3113,7 +3491,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3113
3491
  };
3114
3492
  }
3115
3493
  });
3116
- const FMessageComp$1 = /* @__PURE__ */ _export_sfc$2(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3494
+ const FMessageComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3117
3495
  const GAP$1$1 = 16;
3118
3496
  const BASE_OFFSET$1$1 = 20;
3119
3497
  let seed$1$1 = 0;
@@ -3269,7 +3647,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3269
3647
  onMouseleave: startTimer,
3270
3648
  onClick: handleClick
3271
3649
  }, [
3272
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$2, {
3650
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
3273
3651
  key: 0,
3274
3652
  class: "f-notification__icon"
3275
3653
  }, {
@@ -3289,7 +3667,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3289
3667
  "aria-label": "close",
3290
3668
  onClick: withModifiers(close, ["stop"])
3291
3669
  }, [
3292
- createVNode(FIcon$2, null, {
3670
+ createVNode(FIcon$3, null, {
3293
3671
  default: withCtx(() => [
3294
3672
  createVNode(unref(Close))
3295
3673
  ]),
@@ -3303,7 +3681,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3303
3681
  };
3304
3682
  }
3305
3683
  });
3306
- const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$2(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
3684
+ const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
3307
3685
  const GAP$2 = 16;
3308
3686
  const BASE_OFFSET$2 = 20;
3309
3687
  let seed$2 = 0;
@@ -3392,14 +3770,14 @@ FNotification$1.closeAll = (position) => {
3392
3770
  });
3393
3771
  });
3394
3772
  };
3395
- const _hoisted_1$k = {
3773
+ const _hoisted_1$l = {
3396
3774
  key: 0,
3397
3775
  class: "f-dialog__icon"
3398
3776
  };
3399
- const _hoisted_2$g = { class: "f-dialog__title" };
3400
- const _hoisted_3$g = { class: "f-dialog__body" };
3401
- const _hoisted_4$a = { key: 0 };
3402
- const _hoisted_5$9 = {
3777
+ const _hoisted_2$h = { class: "f-dialog__title" };
3778
+ const _hoisted_3$h = { class: "f-dialog__body" };
3779
+ const _hoisted_4$b = { key: 0 };
3780
+ const _hoisted_5$a = {
3403
3781
  key: 2,
3404
3782
  class: "f-dialog__footer"
3405
3783
  };
@@ -3505,7 +3883,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3505
3883
  class: "f-dialog__close",
3506
3884
  onClick: handleClose
3507
3885
  }, [
3508
- createVNode(FIcon$2, null, {
3886
+ createVNode(FIcon$3, null, {
3509
3887
  default: withCtx(() => [
3510
3888
  createVNode(unref(CloseOutline))
3511
3889
  ]),
@@ -3517,25 +3895,25 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3517
3895
  class: normalizeClass(["f-dialog__header", { "has-icon": unref(hasIcon) }])
3518
3896
  }, [
3519
3897
  renderSlot(_ctx.$slots, "header", {}, () => [
3520
- unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
3521
- createVNode(FIcon$2, null, {
3898
+ unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
3899
+ createVNode(FIcon$3, null, {
3522
3900
  default: withCtx(() => [
3523
3901
  (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
3524
3902
  ]),
3525
3903
  _: 1
3526
3904
  })
3527
3905
  ])) : createCommentVNode("", true),
3528
- createElementVNode("h3", _hoisted_2$g, toDisplayString(_ctx.title), 1)
3906
+ createElementVNode("h3", _hoisted_2$h, toDisplayString(_ctx.title), 1)
3529
3907
  ], true)
3530
3908
  ], 2)) : createCommentVNode("", true),
3531
- createElementVNode("div", _hoisted_3$g, [
3909
+ createElementVNode("div", _hoisted_3$h, [
3532
3910
  renderSlot(_ctx.$slots, "default", {}, () => [
3533
- _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$a, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
3911
+ _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$b, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
3534
3912
  ], true)
3535
3913
  ]),
3536
- _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$9, [
3914
+ _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
3537
3915
  renderSlot(_ctx.$slots, "footer", {}, () => [
3538
- _ctx.showCancel ? (openBlock(), createBlock(FButton$2, {
3916
+ _ctx.showCancel ? (openBlock(), createBlock(FButton$3, {
3539
3917
  key: 0,
3540
3918
  onClick: handleCancel
3541
3919
  }, {
@@ -3544,7 +3922,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3544
3922
  ]),
3545
3923
  _: 1
3546
3924
  })) : createCommentVNode("", true),
3547
- createVNode(FButton$2, {
3925
+ createVNode(FButton$3, {
3548
3926
  type: "primary",
3549
3927
  onClick: handleConfirm
3550
3928
  }, {
@@ -3567,7 +3945,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3567
3945
  };
3568
3946
  }
3569
3947
  });
3570
- const FDialogComp$1 = /* @__PURE__ */ _export_sfc$2(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
3948
+ const FDialogComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
3571
3949
  const showDialog$1 = (options) => {
3572
3950
  return new Promise((resolve) => {
3573
3951
  const container = document.createElement("div");
@@ -3739,7 +4117,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
3739
4117
  createElementVNode("span", _hoisted_2$e, [
3740
4118
  _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$e)) : createCommentVNode("", true),
3741
4119
  !_ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3742
- _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$2), {
4120
+ _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$3), {
3743
4121
  key: 0,
3744
4122
  class: "f-button__icon",
3745
4123
  style: normalizeStyle({ fontSize: unref(iconSize) })
@@ -3760,7 +4138,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
3760
4138
  };
3761
4139
  }
3762
4140
  });
3763
- const FButton = /* @__PURE__ */ _export_sfc$3(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
4141
+ const FButton = /* @__PURE__ */ _export_sfc$4(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
3764
4142
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
3765
4143
  __name: "FTypography",
3766
4144
  props: {
@@ -3783,7 +4161,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
3783
4161
  };
3784
4162
  }
3785
4163
  });
3786
- const FTypography = /* @__PURE__ */ _export_sfc$3(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
4164
+ const FTypography = /* @__PURE__ */ _export_sfc$4(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
3787
4165
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
3788
4166
  __name: "FText",
3789
4167
  props: {
@@ -3842,7 +4220,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
3842
4220
  };
3843
4221
  }
3844
4222
  });
3845
- const FText = /* @__PURE__ */ _export_sfc$3(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
4223
+ const FText = /* @__PURE__ */ _export_sfc$4(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
3846
4224
  const _hoisted_1$h = ["href", "target", "rel"];
3847
4225
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
3848
4226
  __name: "FLink",
@@ -3871,7 +4249,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
3871
4249
  };
3872
4250
  }
3873
4251
  });
3874
- const FLink = /* @__PURE__ */ _export_sfc$3(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
4252
+ const FLink = /* @__PURE__ */ _export_sfc$4(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
3875
4253
  const _hoisted_1$g = { class: "f-badge" };
3876
4254
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
3877
4255
  __name: "FBadge",
@@ -3913,7 +4291,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
3913
4291
  };
3914
4292
  }
3915
4293
  });
3916
- const FBadge = /* @__PURE__ */ _export_sfc$3(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
4294
+ const FBadge = /* @__PURE__ */ _export_sfc$4(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
3917
4295
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
3918
4296
  __name: "FAffix",
3919
4297
  props: {
@@ -3942,7 +4320,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3942
4320
  };
3943
4321
  }
3944
4322
  });
3945
- const FAffix = /* @__PURE__ */ _export_sfc$3(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
4323
+ const FAffix = /* @__PURE__ */ _export_sfc$4(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
3946
4324
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
3947
4325
  __name: "FForm",
3948
4326
  props: {
@@ -4000,7 +4378,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
4000
4378
  };
4001
4379
  }
4002
4380
  });
4003
- const FForm = /* @__PURE__ */ _export_sfc$3(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4381
+ const FForm = /* @__PURE__ */ _export_sfc$4(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4004
4382
  const validateSingleField = (value, rules) => __async(null, null, function* () {
4005
4383
  const ruleArray = Array.isArray(rules) ? rules : [rules];
4006
4384
  for (let rule of ruleArray) {
@@ -4173,7 +4551,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
4173
4551
  };
4174
4552
  }
4175
4553
  });
4176
- const FFormItem = /* @__PURE__ */ _export_sfc$3(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4554
+ const FFormItem = /* @__PURE__ */ _export_sfc$4(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4177
4555
  const _hoisted_1$e = { class: "f-checkbox__wrapper" };
4178
4556
  const _hoisted_2$c = ["checked", "disabled"];
4179
4557
  const _hoisted_3$c = {
@@ -4216,7 +4594,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
4216
4594
  };
4217
4595
  }
4218
4596
  });
4219
- const FCheckbox = /* @__PURE__ */ _export_sfc$3(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4597
+ const FCheckbox = /* @__PURE__ */ _export_sfc$4(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4220
4598
  const _hoisted_1$d = { class: "alert__body" };
4221
4599
  const _hoisted_2$b = { class: "alert__title" };
4222
4600
  const _hoisted_3$b = { class: "alert__content" };
@@ -4240,7 +4618,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
4240
4618
  return openBlock(), createElementBlock("div", {
4241
4619
  class: normalizeClass(["alert", `alert--${_ctx.type}`])
4242
4620
  }, [
4243
- createVNode(FIcon$3, { class: "alert__icon" }, {
4621
+ createVNode(FIcon$4, { class: "alert__icon" }, {
4244
4622
  default: withCtx(() => [
4245
4623
  (openBlock(), createBlock(resolveDynamicComponent(unref(config).icon)))
4246
4624
  ]),
@@ -4258,7 +4636,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
4258
4636
  };
4259
4637
  }
4260
4638
  });
4261
- const FAlert = /* @__PURE__ */ _export_sfc$3(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
4639
+ const FAlert = /* @__PURE__ */ _export_sfc$4(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
4262
4640
  const _hoisted_1$c = { class: "f-editor__toolbar" };
4263
4641
  const _hoisted_2$a = { class: "f-editor__status" };
4264
4642
  const _hoisted_3$a = { class: "f-editor__lines" };
@@ -4520,7 +4898,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
4520
4898
  };
4521
4899
  }
4522
4900
  });
4523
- const FEditor = /* @__PURE__ */ _export_sfc$3(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
4901
+ const FEditor = /* @__PURE__ */ _export_sfc$4(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
4524
4902
  const _hoisted_1$b = { class: "f-table" };
4525
4903
  const _hoisted_2$9 = {
4526
4904
  key: 0,
@@ -4725,7 +5103,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
4725
5103
  };
4726
5104
  }
4727
5105
  });
4728
- const FTable = /* @__PURE__ */ _export_sfc$3(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
5106
+ const FTable = /* @__PURE__ */ _export_sfc$4(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
4729
5107
  const _hoisted_1$a = { class: "f-upload" };
4730
5108
  const _hoisted_2$8 = { class: "f-upload__label" };
4731
5109
  const _hoisted_3$8 = ["accept"];
@@ -4801,7 +5179,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4801
5179
  onChange: onFileChange
4802
5180
  }, null, 40, _hoisted_3$8),
4803
5181
  renderSlot(_ctx.$slots, "default", {}, () => [
4804
- createVNode(FIcon$3, { size: 40 }, {
5182
+ createVNode(FIcon$4, { size: 40 }, {
4805
5183
  default: withCtx(() => [
4806
5184
  createVNode(unref(CloudUpload))
4807
5185
  ]),
@@ -4813,7 +5191,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4813
5191
  ])
4814
5192
  ], 34),
4815
5193
  file.value ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
4816
- createVNode(FIcon$3, null, {
5194
+ createVNode(FIcon$4, null, {
4817
5195
  default: withCtx(() => [
4818
5196
  createVNode(unref(DocumentOutline))
4819
5197
  ]),
@@ -4827,7 +5205,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4827
5205
  "show-text": ""
4828
5206
  }, null, 8, ["percent"])) : createCommentVNode("", true)
4829
5207
  ]),
4830
- createVNode(FIcon$3, {
5208
+ createVNode(FIcon$4, {
4831
5209
  onClick: withModifiers(clearFile, ["stop"]),
4832
5210
  onMouseenter: _cache[0] || (_cache[0] = ($event) => isCloseHover.value = true),
4833
5211
  onMouseleave: _cache[1] || (_cache[1] = ($event) => isCloseHover.value = false),
@@ -4843,7 +5221,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4843
5221
  };
4844
5222
  }
4845
5223
  });
4846
- const FUpload = /* @__PURE__ */ _export_sfc$3(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
5224
+ const FUpload = /* @__PURE__ */ _export_sfc$4(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
4847
5225
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
4848
5226
  __name: "FButtonGroup",
4849
5227
  props: {
@@ -4865,7 +5243,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
4865
5243
  };
4866
5244
  }
4867
5245
  });
4868
- const FButtonGroup = /* @__PURE__ */ _export_sfc$3(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
5246
+ const FButtonGroup = /* @__PURE__ */ _export_sfc$4(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
4869
5247
  const _hoisted_1$9 = { class: "f-collapse" };
4870
5248
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
4871
5249
  __name: "FCollapse",
@@ -5917,7 +6295,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5917
6295
  onMouseup: stopRepeat,
5918
6296
  onMouseleave: stopRepeat
5919
6297
  }, [
5920
- createVNode(unref(FIcon$2), null, {
6298
+ createVNode(unref(FIcon$3), null, {
5921
6299
  default: withCtx(() => [
5922
6300
  createVNode(unref(RemoveOutline))
5923
6301
  ]),
@@ -5949,7 +6327,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5949
6327
  onMouseup: stopRepeat,
5950
6328
  onMouseleave: stopRepeat
5951
6329
  }, [
5952
- createVNode(unref(FIcon$2), null, {
6330
+ createVNode(unref(FIcon$3), null, {
5953
6331
  default: withCtx(() => [
5954
6332
  createVNode(unref(AddOutline))
5955
6333
  ]),
@@ -5966,7 +6344,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5966
6344
  onMouseup: stopRepeat,
5967
6345
  onMouseleave: stopRepeat
5968
6346
  }, [
5969
- createVNode(unref(FIcon$2), null, {
6347
+ createVNode(unref(FIcon$3), null, {
5970
6348
  default: withCtx(() => [
5971
6349
  createVNode(unref(ChevronUpOutline))
5972
6350
  ]),
@@ -5982,7 +6360,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5982
6360
  onMouseup: stopRepeat,
5983
6361
  onMouseleave: stopRepeat
5984
6362
  }, [
5985
- createVNode(unref(FIcon$2), null, {
6363
+ createVNode(unref(FIcon$3), null, {
5986
6364
  default: withCtx(() => [
5987
6365
  createVNode(unref(ChevronDownOutline))
5988
6366
  ]),
@@ -5994,7 +6372,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5994
6372
  };
5995
6373
  }
5996
6374
  });
5997
- const FInputNumber = /* @__PURE__ */ _export_sfc$3(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
6375
+ const FInputNumber = /* @__PURE__ */ _export_sfc$4(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
5998
6376
  const _hoisted_1$3 = { class: "f-result__icon" };
5999
6377
  const _hoisted_2$2 = {
6000
6378
  key: 0,
@@ -6044,7 +6422,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6044
6422
  }, [
6045
6423
  createElementVNode("div", _hoisted_1$3, [
6046
6424
  renderSlot(_ctx.$slots, "icon", {}, () => [
6047
- unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(FIcon$3, {
6425
+ unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(FIcon$4, {
6048
6426
  key: 1,
6049
6427
  size: 72
6050
6428
  }, {
@@ -6075,7 +6453,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6075
6453
  };
6076
6454
  }
6077
6455
  });
6078
- const FResult = /* @__PURE__ */ _export_sfc$3(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6456
+ const FResult = /* @__PURE__ */ _export_sfc$4(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6079
6457
  const _hoisted_1$2 = { class: "f-message__content" };
6080
6458
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6081
6459
  __name: "FMessage",
@@ -6147,7 +6525,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6147
6525
  onMouseenter: clearTimer,
6148
6526
  onMouseleave: startTimer
6149
6527
  }, [
6150
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
6528
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
6151
6529
  key: 0,
6152
6530
  class: "f-message__icon"
6153
6531
  }, {
@@ -6164,7 +6542,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6164
6542
  "aria-label": "close",
6165
6543
  onClick: close
6166
6544
  }, [
6167
- createVNode(FIcon$3, null, {
6545
+ createVNode(FIcon$4, null, {
6168
6546
  default: withCtx(() => [
6169
6547
  createVNode(unref(Close))
6170
6548
  ]),
@@ -6178,7 +6556,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6178
6556
  };
6179
6557
  }
6180
6558
  });
6181
- const FMessageComp = /* @__PURE__ */ _export_sfc$3(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6559
+ const FMessageComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6182
6560
  const GAP$1 = 16;
6183
6561
  const BASE_OFFSET$1 = 20;
6184
6562
  let seed$1 = 0;
@@ -6334,7 +6712,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6334
6712
  onMouseleave: startTimer,
6335
6713
  onClick: handleClick
6336
6714
  }, [
6337
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
6715
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
6338
6716
  key: 0,
6339
6717
  class: "f-notification__icon"
6340
6718
  }, {
@@ -6354,7 +6732,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6354
6732
  "aria-label": "close",
6355
6733
  onClick: withModifiers(close, ["stop"])
6356
6734
  }, [
6357
- createVNode(FIcon$3, null, {
6735
+ createVNode(FIcon$4, null, {
6358
6736
  default: withCtx(() => [
6359
6737
  createVNode(unref(Close))
6360
6738
  ]),
@@ -6368,7 +6746,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6368
6746
  };
6369
6747
  }
6370
6748
  });
6371
- const FNotificationComp = /* @__PURE__ */ _export_sfc$3(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
6749
+ const FNotificationComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
6372
6750
  const GAP = 16;
6373
6751
  const BASE_OFFSET = 20;
6374
6752
  let seed = 0;
@@ -6570,7 +6948,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6570
6948
  class: "f-dialog__close",
6571
6949
  onClick: handleClose
6572
6950
  }, [
6573
- createVNode(FIcon$3, null, {
6951
+ createVNode(FIcon$4, null, {
6574
6952
  default: withCtx(() => [
6575
6953
  createVNode(unref(CloseOutline))
6576
6954
  ]),
@@ -6583,7 +6961,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6583
6961
  }, [
6584
6962
  renderSlot(_ctx.$slots, "header", {}, () => [
6585
6963
  unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1, [
6586
- createVNode(FIcon$3, null, {
6964
+ createVNode(FIcon$4, null, {
6587
6965
  default: withCtx(() => [
6588
6966
  (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
6589
6967
  ]),
@@ -6632,7 +7010,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6632
7010
  };
6633
7011
  }
6634
7012
  });
6635
- const FDialogComp = /* @__PURE__ */ _export_sfc$3(_sfc_main, [["__scopeId", "data-v-991352de"]]);
7013
+ const FDialogComp = /* @__PURE__ */ _export_sfc$4(_sfc_main, [["__scopeId", "data-v-991352de"]]);
6636
7014
  const showDialog = (options) => {
6637
7015
  return new Promise((resolve) => {
6638
7016
  const container = document.createElement("div");
@@ -6736,7 +7114,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
6736
7114
  FEmpty: _sfc_main$7,
6737
7115
  FForm,
6738
7116
  FFormItem,
6739
- FIcon: FIcon$3,
7117
+ FIcon: FIcon$4,
6740
7118
  FImage,
6741
7119
  FInput,
6742
7120
  FInputNumber,
@@ -6788,7 +7166,7 @@ export {
6788
7166
  _sfc_main$7 as FEmpty,
6789
7167
  FForm,
6790
7168
  FFormItem,
6791
- FIcon$3 as FIcon,
7169
+ FIcon$4 as FIcon,
6792
7170
  FImage,
6793
7171
  FInput,
6794
7172
  FInputNumber,