fantasia-ui 0.2.44 → 0.2.45

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$N = /* @__PURE__ */ defineComponent({
43
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
44
44
  __name: "FIcon",
45
45
  props: {
46
46
  color: {},
@@ -64,20 +64,20 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
64
64
  };
65
65
  }
66
66
  });
67
- const _export_sfc$4 = (sfc, props) => {
67
+ const _export_sfc$5 = (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$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$N, [["__scopeId", "data-v-baf7de0c"]]);
74
+ const FIcon$5 = /* @__PURE__ */ _export_sfc$5(_sfc_main$O, [["__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$y = {
76
+ const _hoisted_1$z = {
77
77
  key: 0,
78
78
  class: "loop cubes"
79
79
  };
80
- const _hoisted_2$s = {
80
+ const _hoisted_2$t = {
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$y, [
97
+ _ctx.type === "cubes" ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
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$s, toDisplayString(props.text), 1)) : createCommentVNode("", true)
108
+ props.text ? (openBlock(), createElementBlock("p", _hoisted_2$t, toDisplayString(props.text), 1)) : createCommentVNode("", true)
109
109
  ], 2);
110
110
  };
111
111
  }
112
112
  });
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 = {
113
+ const FLoading = /* @__PURE__ */ _export_sfc$5(_sfc_main$I, [["__scopeId", "data-v-20f58a50"]]);
114
+ const _hoisted_1$y = { class: "f-image" };
115
+ const _hoisted_2$s = {
116
116
  key: 0,
117
117
  class: "f-image__placeholder"
118
118
  };
119
- const _hoisted_3$n = {
119
+ const _hoisted_3$o = {
120
120
  key: 0,
121
121
  class: "f-image__error"
122
122
  };
123
- const _hoisted_4$g = ["src", "loading"];
123
+ const _hoisted_4$h = ["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$x, [
141
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
142
142
  createVNode(Transition, { name: "fade" }, {
143
143
  default: withCtx(() => [
144
- unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
144
+ unref(status) === "loading" ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
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$n, [
152
+ unref(status) === "error" ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
153
153
  renderSlot(_ctx.$slots, "error", {}, () => [
154
- createVNode(FIcon$4, { size: "48px" }, {
154
+ createVNode(FIcon$5, { 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$g), [
172
+ }, null, 44, _hoisted_4$h), [
173
173
  [vShow, unref(status) === "loaded"]
174
174
  ])
175
175
  ]);
176
176
  };
177
177
  }
178
178
  });
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" };
179
+ const FImage = /* @__PURE__ */ _export_sfc$5(_sfc_main$H, [["__scopeId", "data-v-e959ab10"]]);
180
+ const _hoisted_1$x = ["type", "value", "placeholder"];
181
+ const _hoisted_2$r = { 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$w),
248
- createElementVNode("div", _hoisted_2$q, [
249
- unref(showClearIcon) ? (openBlock(), createBlock(FIcon$4, {
247
+ }, null, 40, _hoisted_1$x),
248
+ createElementVNode("div", _hoisted_2$r, [
249
+ unref(showClearIcon) ? (openBlock(), createBlock(FIcon$5, {
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$4, {
259
+ unref(showPasswordIcon) ? (openBlock(), createBlock(FIcon$5, {
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$4(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
276
- const _hoisted_1$v = ["onMousemove"];
277
- const _hoisted_2$p = {
275
+ const FInput = /* @__PURE__ */ _export_sfc$5(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
276
+ const _hoisted_1$w = ["onMousemove"];
277
+ const _hoisted_2$q = {
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$4, {
355
+ createVNode(FIcon$5, {
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$v);
364
+ ], 40, _hoisted_1$w);
365
365
  }), 128)),
366
- props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$p, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
366
+ props.showText ? (openBlock(), createElementBlock("span", _hoisted_2$q, toDisplayString(unref(scoreText)), 1)) : createCommentVNode("", true)
367
367
  ], 34);
368
368
  };
369
369
  }
370
370
  });
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 = {
371
+ const FRate = /* @__PURE__ */ _export_sfc$5(_sfc_main$F, [["__scopeId", "data-v-3b5c4f14"]]);
372
+ const _hoisted_1$v = { class: "f-dropdown-wrapper" };
373
+ const _hoisted_2$p = { class: "f-dropdown-content" };
374
+ const _hoisted_3$n = ["onClick"];
375
+ const _hoisted_4$g = {
376
376
  key: 0,
377
377
  class: "opt-icon"
378
378
  };
379
- const _hoisted_5$d = { class: "opt-label" };
379
+ const _hoisted_5$e = { 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$u, [
552
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
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$o, [
582
+ createElementVNode("div", _hoisted_2$p, [
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$f, [
589
+ opt.icon ? (openBlock(), createElementBlock("span", _hoisted_4$g, [
590
590
  (openBlock(), createBlock(resolveDynamicComponent(opt.icon)))
591
591
  ])) : createCommentVNode("", true),
592
- createElementVNode("span", _hoisted_5$d, toDisplayString(opt.label), 1)
593
- ], 10, _hoisted_3$m);
592
+ createElementVNode("span", _hoisted_5$e, toDisplayString(opt.label), 1)
593
+ ], 10, _hoisted_3$n);
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$4(_sfc_main$E, [["__scopeId", "data-v-834f9929"]]);
605
+ const FDropdown = /* @__PURE__ */ _export_sfc$5(_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$4, { class: "f-select__arrow" }, {
664
+ createVNode(FIcon$5, { 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$4(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
678
- const _hoisted_1$t = {
677
+ const FSelect = /* @__PURE__ */ _export_sfc$5(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
678
+ const _hoisted_1$u = {
679
679
  key: 0,
680
680
  class: "f-pagination"
681
681
  };
682
- const _hoisted_2$n = {
682
+ const _hoisted_2$o = {
683
683
  key: 0,
684
684
  class: "f-pagination__total"
685
685
  };
686
- const _hoisted_3$l = {
686
+ const _hoisted_3$m = {
687
687
  key: 1,
688
688
  class: "f-pagination__size"
689
689
  };
690
- const _hoisted_4$e = ["value"];
691
- const _hoisted_5$c = ["value"];
690
+ const _hoisted_4$f = ["value"];
691
+ const _hoisted_5$d = ["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$t, [
755
+ return !_ctx.hideOnSingle || unref(pageCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
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$n, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
758
+ item === "total" ? (openBlock(), createElementBlock("span", _hoisted_2$o, " 共 " + toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
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$c);
768
+ }, toDisplayString(s) + " 条/页", 9, _hoisted_5$d);
769
769
  }), 128))
770
- ], 40, _hoisted_4$e)
770
+ ], 40, _hoisted_4$f)
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$4, null, {
776
+ createVNode(FIcon$5, 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$4, null, {
786
+ createVNode(FIcon$5, 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$4, null, {
804
+ createVNode(FIcon$5, 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$4(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
832
- const _hoisted_1$s = {
831
+ const FPagination = /* @__PURE__ */ _export_sfc$5(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
832
+ const _hoisted_1$t = {
833
833
  key: 0,
834
834
  class: "f-card__header"
835
835
  };
836
- const _hoisted_2$m = {
836
+ const _hoisted_2$n = {
837
837
  key: 0,
838
838
  class: "f-card__header-extra"
839
839
  };
840
- const _hoisted_3$k = {
840
+ const _hoisted_3$l = {
841
841
  key: 1,
842
842
  class: "f-card__cover"
843
843
  };
844
- const _hoisted_4$d = {
844
+ const _hoisted_4$e = {
845
845
  key: 2,
846
846
  class: "f-card__body"
847
847
  };
848
- const _hoisted_5$b = {
848
+ const _hoisted_5$c = {
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$s, [
885
+ _ctx.$slots.header || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
886
886
  renderSlot(_ctx.$slots, "header", {}, void 0, true),
887
- _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
887
+ _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
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$k, [
891
+ _ctx.$slots.cover ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
892
892
  renderSlot(_ctx.$slots, "cover", {}, void 0, true)
893
893
  ])) : createCommentVNode("", true),
894
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$d, [
894
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$e, [
895
895
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
896
896
  ])) : createCommentVNode("", true),
897
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
897
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
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$4(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
924
- const _hoisted_1$r = {
923
+ const FCard = /* @__PURE__ */ _export_sfc$5(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
924
+ const _hoisted_1$s = {
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$r)) : createCommentVNode("", true),
952
+ _ctx.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_1$s)) : createCommentVNode("", true),
953
953
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
954
- _ctx.closable ? (openBlock(), createBlock(FIcon$4, {
954
+ _ctx.closable ? (openBlock(), createBlock(FIcon$5, {
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$4(_sfc_main$A, [["__scopeId", "data-v-02bd5aa6"]]);
968
+ const FTag = /* @__PURE__ */ _export_sfc$5(_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$4(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1074
- const _hoisted_1$q = { class: "f-progress" };
1075
- const _hoisted_2$l = {
1073
+ const FTooltip = /* @__PURE__ */ _export_sfc$5(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1074
+ const _hoisted_1$r = { class: "f-progress" };
1075
+ const _hoisted_2$m = {
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$q, [
1091
+ return openBlock(), createElementBlock("div", _hoisted_1$r, [
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$l, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
1104
+ _ctx.showText ? (openBlock(), createElementBlock("span", _hoisted_2$m, toDisplayString(unref(clampedPercent)) + "%", 1)) : createCommentVNode("", true)
1105
1105
  ]);
1106
1106
  };
1107
1107
  }
1108
1108
  });
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" };
1109
+ const FProgress = /* @__PURE__ */ _export_sfc$5(_sfc_main$y, [["__scopeId", "data-v-c2164d6e"]]);
1110
+ const _hoisted_1$q = { class: "f-tabs__nav-container" };
1111
+ const _hoisted_2$l = { class: "f-tabs__nav" };
1112
+ const _hoisted_3$k = ["onClick"];
1113
+ const _hoisted_4$d = { 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$p, [
1148
- createElementVNode("div", _hoisted_2$k, [
1147
+ createElementVNode("div", _hoisted_1$q, [
1148
+ createElementVNode("div", _hoisted_2$l, [
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$c, toDisplayString(tab.label), 1)
1159
- ], 10, _hoisted_3$j);
1158
+ createElementVNode("span", _hoisted_4$d, toDisplayString(tab.label), 1)
1159
+ ], 10, _hoisted_3$k);
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$4(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1178
- const _hoisted_1$o = {
1177
+ const FTabs = /* @__PURE__ */ _export_sfc$5(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1178
+ const _hoisted_1$p = {
1179
1179
  class: "f-breadcrumb__current",
1180
1180
  "aria-current": "page"
1181
1181
  };
1182
- const _hoisted_2$j = ["href"];
1183
- const _hoisted_3$i = {
1182
+ const _hoisted_2$k = ["href"];
1183
+ const _hoisted_3$j = {
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$o, toDisplayString(item.label), 1)
1215
+ createElementVNode("span", _hoisted_1$p, 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$j)) : (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(item.label), 1))
1220
+ }, toDisplayString(item.label), 9, _hoisted_2$k)) : (openBlock(), createElementBlock("span", _hoisted_3$j, 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$4(_sfc_main$w, [["__scopeId", "data-v-55b15358"]]);
1230
+ const FBreadcrumb = /* @__PURE__ */ _export_sfc$5(_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$4(_sfc_main$v, [["__scopeId", "data-v-5a8b0cb4"]]);
1272
+ const FCol = /* @__PURE__ */ _export_sfc$5(_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$4(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1327
- const _hoisted_1$n = { class: "f-space__item" };
1328
- const _hoisted_2$i = {
1326
+ const FRow = /* @__PURE__ */ _export_sfc$5(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1327
+ const _hoisted_1$o = { class: "f-space__item" };
1328
+ const _hoisted_2$j = {
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$n, [
1387
+ createElementVNode("div", _hoisted_1$o, [
1388
1388
  (openBlock(), createBlock(resolveDynamicComponent(child)))
1389
1389
  ]),
1390
- _ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$i, toDisplayString(_ctx.split), 1)) : createCommentVNode("", true)
1390
+ _ctx.split && index < unref(children).length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$j, 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$4(_sfc_main$t, [["__scopeId", "data-v-5fb3b1a0"]]);
1397
+ const FSpace = /* @__PURE__ */ _export_sfc$5(_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$4(_sfc_main$s, [["__scopeId", "data-v-08450ddf"]]);
1418
+ const FContainer = /* @__PURE__ */ _export_sfc$5(_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$4(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1447
- const _hoisted_1$m = ["src", "alt"];
1446
+ const FDivider = /* @__PURE__ */ _export_sfc$5(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1447
+ const _hoisted_1$n = ["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$m)) : (openBlock(), createBlock(FIcon$4, {
1480
+ }, null, 8, _hoisted_1$n)) : (openBlock(), createBlock(FIcon$5, {
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$4(_sfc_main$q, [["__scopeId", "data-v-b3665268"]]);
1493
+ const FAvatar = /* @__PURE__ */ _export_sfc$5(_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$M = /* @__PURE__ */ defineComponent({
1513
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
1514
1514
  __name: "FIcon",
1515
1515
  props: {
1516
1516
  color: {},
@@ -1534,14 +1534,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1534
1534
  };
1535
1535
  }
1536
1536
  });
1537
- const _export_sfc$3 = (sfc, props) => {
1537
+ const _export_sfc$4 = (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$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__scopeId", "data-v-baf7de0c"]]);
1544
+ const FIcon$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$N, [["__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$L = /* @__PURE__ */ defineComponent({
1561
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1562
1562
  __name: "FIcon",
1563
1563
  props: {
1564
1564
  color: {},
@@ -1582,14 +1582,14 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1582
1582
  };
1583
1583
  }
1584
1584
  });
1585
- const _export_sfc$2 = (sfc, props) => {
1585
+ const _export_sfc$3 = (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$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1592
+ const FIcon$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__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$J = /* @__PURE__ */ defineComponent({
1609
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1610
1610
  __name: "FIcon",
1611
1611
  props: {
1612
1612
  color: {},
@@ -1630,14 +1630,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1630
1630
  };
1631
1631
  }
1632
1632
  });
1633
- const _export_sfc = (sfc, props) => {
1633
+ const _export_sfc$2 = (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 = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1640
+ const FIcon$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1641
1641
  var __defProp2222 = Object.defineProperty;
1642
1642
  var __getOwnPropSymbols2222 = Object.getOwnPropertySymbols;
1643
1643
  var __hasOwnProp2222 = Object.prototype.hasOwnProperty;
@@ -1654,7 +1654,7 @@ var __spreadValues2222 = (a, b) => {
1654
1654
  }
1655
1655
  return a;
1656
1656
  };
1657
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
1657
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1658
1658
  __name: "FIcon",
1659
1659
  props: {
1660
1660
  color: {},
@@ -1678,14 +1678,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1678
1678
  };
1679
1679
  }
1680
1680
  });
1681
- const _export_sfc$1 = (sfc, props) => {
1681
+ const _export_sfc = (sfc, props) => {
1682
1682
  const target = sfc.__vccOpts || sfc;
1683
1683
  for (const [key, val] of props) {
1684
1684
  target[key] = val;
1685
1685
  }
1686
1686
  return target;
1687
1687
  };
1688
- const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1688
+ const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1689
1689
  var __defProp22222 = Object.defineProperty;
1690
1690
  var __getOwnPropSymbols22222 = Object.getOwnPropertySymbols;
1691
1691
  var __hasOwnProp22222 = Object.prototype.hasOwnProperty;
@@ -1702,6 +1702,38 @@ var __spreadValues22222 = (a, b) => {
1702
1702
  }
1703
1703
  return a;
1704
1704
  };
1705
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1706
+ __name: "FIcon",
1707
+ props: {
1708
+ color: {},
1709
+ size: { default: "1em" }
1710
+ },
1711
+ setup(__props) {
1712
+ const props = __props;
1713
+ const style = computed(() => ({
1714
+ width: typeof props.size === "number" ? `${props.size}px` : props.size,
1715
+ height: typeof props.size === "number" ? `${props.size}px` : props.size,
1716
+ color: props.color
1717
+ }));
1718
+ return (_ctx, _cache) => {
1719
+ return openBlock(), createElementBlock("span", {
1720
+ role: "img",
1721
+ class: "f-icon",
1722
+ style: normalizeStyle(unref(style))
1723
+ }, [
1724
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
1725
+ ], 4);
1726
+ };
1727
+ }
1728
+ });
1729
+ const _export_sfc$1 = (sfc, props) => {
1730
+ const target = sfc.__vccOpts || sfc;
1731
+ for (const [key, val] of props) {
1732
+ target[key] = val;
1733
+ }
1734
+ return target;
1735
+ };
1736
+ const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1705
1737
  var __defProp222222 = Object.defineProperty;
1706
1738
  var __getOwnPropSymbols222222 = Object.getOwnPropertySymbols;
1707
1739
  var __hasOwnProp222222 = Object.prototype.hasOwnProperty;
@@ -1766,6 +1798,22 @@ var __spreadValues222222222 = (a, b) => {
1766
1798
  }
1767
1799
  return a;
1768
1800
  };
1801
+ var __defProp2222222222 = Object.defineProperty;
1802
+ var __getOwnPropSymbols2222222222 = Object.getOwnPropertySymbols;
1803
+ var __hasOwnProp2222222222 = Object.prototype.hasOwnProperty;
1804
+ var __propIsEnum2222222222 = Object.prototype.propertyIsEnumerable;
1805
+ var __defNormalProp2222222222 = (obj, key, value) => key in obj ? __defProp2222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1806
+ var __spreadValues2222222222 = (a, b) => {
1807
+ for (var prop in b || (b = {}))
1808
+ if (__hasOwnProp2222222222.call(b, prop))
1809
+ __defNormalProp2222222222(a, prop, b[prop]);
1810
+ if (__getOwnPropSymbols2222222222)
1811
+ for (var prop of __getOwnPropSymbols2222222222(b)) {
1812
+ if (__propIsEnum2222222222.call(b, prop))
1813
+ __defNormalProp2222222222(a, prop, b[prop]);
1814
+ }
1815
+ return a;
1816
+ };
1769
1817
  const _hoisted_1$f$1 = { class: "f-checkbox__wrapper" };
1770
1818
  const _hoisted_2$d$1 = ["checked", "disabled"];
1771
1819
  const _hoisted_3$d$1 = {
@@ -1778,7 +1826,7 @@ const _hoisted_3$d$1 = {
1778
1826
  label: {},
1779
1827
  disabled: { type: Boolean }
1780
1828
  }, {
1781
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1829
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1782
1830
  "modelModifiers": {}
1783
1831
  }),
1784
1832
  emits: ["update:modelValue"],
@@ -1815,7 +1863,7 @@ const _hoisted_3$d$1 = {
1815
1863
  maskColor: { default: "black" },
1816
1864
  showMask: { type: Boolean, default: true }
1817
1865
  }, {
1818
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1866
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1819
1867
  "modelModifiers": {}
1820
1868
  }),
1821
1869
  emits: ["update:modelValue"],
@@ -1863,22 +1911,6 @@ const _hoisted_3$d$1 = {
1863
1911
  };
1864
1912
  }
1865
1913
  });
1866
- var __defProp2222222222 = Object.defineProperty;
1867
- var __getOwnPropSymbols2222222222 = Object.getOwnPropertySymbols;
1868
- var __hasOwnProp2222222222 = Object.prototype.hasOwnProperty;
1869
- var __propIsEnum2222222222 = Object.prototype.propertyIsEnumerable;
1870
- var __defNormalProp2222222222 = (obj, key, value) => key in obj ? __defProp2222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1871
- var __spreadValues2222222222 = (a, b) => {
1872
- for (var prop in b || (b = {}))
1873
- if (__hasOwnProp2222222222.call(b, prop))
1874
- __defNormalProp2222222222(a, prop, b[prop]);
1875
- if (__getOwnPropSymbols2222222222)
1876
- for (var prop of __getOwnPropSymbols2222222222(b)) {
1877
- if (__propIsEnum2222222222.call(b, prop))
1878
- __defNormalProp2222222222(a, prop, b[prop]);
1879
- }
1880
- return a;
1881
- };
1882
1914
  var __defProp22222222222 = Object.defineProperty;
1883
1915
  var __getOwnPropSymbols22222222222 = Object.getOwnPropertySymbols;
1884
1916
  var __hasOwnProp22222222222 = Object.prototype.hasOwnProperty;
@@ -1895,6 +1927,22 @@ var __spreadValues22222222222 = (a, b) => {
1895
1927
  }
1896
1928
  return a;
1897
1929
  };
1930
+ var __defProp222222222222 = Object.defineProperty;
1931
+ var __getOwnPropSymbols222222222222 = Object.getOwnPropertySymbols;
1932
+ var __hasOwnProp222222222222 = Object.prototype.hasOwnProperty;
1933
+ var __propIsEnum222222222222 = Object.prototype.propertyIsEnumerable;
1934
+ var __defNormalProp222222222222 = (obj, key, value) => key in obj ? __defProp222222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1935
+ var __spreadValues222222222222 = (a, b) => {
1936
+ for (var prop in b || (b = {}))
1937
+ if (__hasOwnProp222222222222.call(b, prop))
1938
+ __defNormalProp222222222222(a, prop, b[prop]);
1939
+ if (__getOwnPropSymbols222222222222)
1940
+ for (var prop of __getOwnPropSymbols222222222222(b)) {
1941
+ if (__propIsEnum222222222222.call(b, prop))
1942
+ __defNormalProp222222222222(a, prop, b[prop]);
1943
+ }
1944
+ return a;
1945
+ };
1898
1946
  const _hoisted_1$d$1 = { class: "f-checkbox__wrapper" };
1899
1947
  const _hoisted_2$b$1 = ["checked", "disabled"];
1900
1948
  const _hoisted_3$b$1 = {
@@ -1907,7 +1955,7 @@ const _hoisted_3$b$1 = {
1907
1955
  label: {},
1908
1956
  disabled: { type: Boolean }
1909
1957
  }, {
1910
- "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1958
+ "modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
1911
1959
  "modelModifiers": {}
1912
1960
  }),
1913
1961
  emits: ["update:modelValue"],
@@ -1944,7 +1992,7 @@ const _hoisted_3$b$1 = {
1944
1992
  maskColor: { default: "black" },
1945
1993
  showMask: { type: Boolean, default: true }
1946
1994
  }, {
1947
- "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1995
+ "modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
1948
1996
  "modelModifiers": {}
1949
1997
  }),
1950
1998
  emits: ["update:modelValue"],
@@ -2004,7 +2052,7 @@ const _hoisted_3$b$2 = {
2004
2052
  label: {},
2005
2053
  disabled: { type: Boolean }
2006
2054
  }, {
2007
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
2055
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
2008
2056
  "modelModifiers": {}
2009
2057
  }),
2010
2058
  emits: ["update:modelValue"],
@@ -2041,7 +2089,7 @@ const _hoisted_3$b$2 = {
2041
2089
  maskColor: { default: "black" },
2042
2090
  showMask: { type: Boolean, default: true }
2043
2091
  }, {
2044
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
2092
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
2045
2093
  "modelModifiers": {}
2046
2094
  }),
2047
2095
  emits: ["update:modelValue"],
@@ -2101,7 +2149,7 @@ const _hoisted_3$b$3 = {
2101
2149
  label: {},
2102
2150
  disabled: { type: Boolean }
2103
2151
  }, {
2104
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2152
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2105
2153
  "modelModifiers": {}
2106
2154
  }),
2107
2155
  emits: ["update:modelValue"],
@@ -2138,7 +2186,7 @@ const _hoisted_3$b$3 = {
2138
2186
  maskColor: { default: "black" },
2139
2187
  showMask: { type: Boolean, default: true }
2140
2188
  }, {
2141
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2189
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2142
2190
  "modelModifiers": {}
2143
2191
  }),
2144
2192
  emits: ["update:modelValue"],
@@ -2198,7 +2246,7 @@ const _hoisted_3$b$4 = {
2198
2246
  label: {},
2199
2247
  disabled: { type: Boolean }
2200
2248
  }, {
2201
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2249
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2202
2250
  "modelModifiers": {}
2203
2251
  }),
2204
2252
  emits: ["update:modelValue"],
@@ -2235,7 +2283,7 @@ const _hoisted_3$b$4 = {
2235
2283
  maskColor: { default: "black" },
2236
2284
  showMask: { type: Boolean, default: true }
2237
2285
  }, {
2238
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2286
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2239
2287
  "modelModifiers": {}
2240
2288
  }),
2241
2289
  emits: ["update:modelValue"],
@@ -2295,7 +2343,7 @@ const _hoisted_3$b$5 = {
2295
2343
  label: {},
2296
2344
  disabled: { type: Boolean }
2297
2345
  }, {
2298
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2346
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2299
2347
  "modelModifiers": {}
2300
2348
  }),
2301
2349
  emits: ["update:modelValue"],
@@ -2332,7 +2380,7 @@ const _hoisted_3$b$5 = {
2332
2380
  maskColor: { default: "black" },
2333
2381
  showMask: { type: Boolean, default: true }
2334
2382
  }, {
2335
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2383
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2336
2384
  "modelModifiers": {}
2337
2385
  }),
2338
2386
  emits: ["update:modelValue"],
@@ -2392,7 +2440,7 @@ const _hoisted_3$b$6 = {
2392
2440
  label: {},
2393
2441
  disabled: { type: Boolean }
2394
2442
  }, {
2395
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2443
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2396
2444
  "modelModifiers": {}
2397
2445
  }),
2398
2446
  emits: ["update:modelValue"],
@@ -2429,7 +2477,7 @@ const _hoisted_3$b$6 = {
2429
2477
  maskColor: { default: "black" },
2430
2478
  showMask: { type: Boolean, default: true }
2431
2479
  }, {
2432
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2480
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2433
2481
  "modelModifiers": {}
2434
2482
  }),
2435
2483
  emits: ["update:modelValue"],
@@ -2489,7 +2537,7 @@ const _hoisted_3$b$7 = {
2489
2537
  label: {},
2490
2538
  disabled: { type: Boolean }
2491
2539
  }, {
2492
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2540
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2493
2541
  "modelModifiers": {}
2494
2542
  }),
2495
2543
  emits: ["update:modelValue"],
@@ -2526,7 +2574,7 @@ const _hoisted_3$b$7 = {
2526
2574
  maskColor: { default: "black" },
2527
2575
  showMask: { type: Boolean, default: true }
2528
2576
  }, {
2529
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2577
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2530
2578
  "modelModifiers": {}
2531
2579
  }),
2532
2580
  emits: ["update:modelValue"],
@@ -2699,7 +2747,7 @@ const _hoisted_3$c$1 = {
2699
2747
  label: {},
2700
2748
  disabled: { type: Boolean }
2701
2749
  }, {
2702
- "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
2750
+ "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2703
2751
  "modelModifiers": {}
2704
2752
  }),
2705
2753
  emits: ["update:modelValue"],
@@ -2758,7 +2806,7 @@ const _hoisted_5$8 = {
2758
2806
  destroyOnClose: { type: Boolean, default: false },
2759
2807
  beforeClose: {}
2760
2808
  }, {
2761
- "modelValue": __spreadValues222({ type: Boolean }, { required: true }),
2809
+ "modelValue": __spreadValues2222({ type: Boolean }, { required: true }),
2762
2810
  "modelModifiers": {}
2763
2811
  }),
2764
2812
  emits: /* @__PURE__ */ mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
@@ -3029,7 +3077,7 @@ const _hoisted_3$c$2 = {
3029
3077
  label: {},
3030
3078
  disabled: { type: Boolean }
3031
3079
  }, {
3032
- "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
3080
+ "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
3033
3081
  "modelModifiers": {}
3034
3082
  }),
3035
3083
  emits: ["update:modelValue"],
@@ -3088,7 +3136,7 @@ const _hoisted_5$9 = {
3088
3136
  destroyOnClose: { type: Boolean, default: false },
3089
3137
  beforeClose: {}
3090
3138
  }, {
3091
- "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
3139
+ "modelValue": __spreadValues222({ type: Boolean }, { required: true }),
3092
3140
  "modelModifiers": {}
3093
3141
  }),
3094
3142
  emits: /* @__PURE__ */ mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
@@ -3359,7 +3407,7 @@ const _hoisted_3$c$3 = {
3359
3407
  label: {},
3360
3408
  disabled: { type: Boolean }
3361
3409
  }, {
3362
- "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3410
+ "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
3363
3411
  "modelModifiers": {}
3364
3412
  }),
3365
3413
  emits: ["update:modelValue"],
@@ -3389,6 +3437,336 @@ const _hoisted_3$c$3 = {
3389
3437
  };
3390
3438
  }
3391
3439
  });
3440
+ const _hoisted_1$l = {
3441
+ key: 0,
3442
+ class: "f-dialog__icon"
3443
+ };
3444
+ const _hoisted_2$h = { class: "f-dialog__title" };
3445
+ const _hoisted_3$h = { class: "f-dialog__body" };
3446
+ const _hoisted_4$b = { key: 0 };
3447
+ const _hoisted_5$a = {
3448
+ key: 2,
3449
+ class: "f-dialog__footer"
3450
+ };
3451
+ /* @__PURE__ */ defineComponent({
3452
+ __name: "FDialog",
3453
+ props: /* @__PURE__ */ mergeModels({
3454
+ title: { default: "提示" },
3455
+ content: {},
3456
+ width: { default: "500px" },
3457
+ type: { default: "default" },
3458
+ confirmText: { default: "确定" },
3459
+ cancelText: { default: "取消" },
3460
+ showCancel: { type: Boolean, default: true },
3461
+ showClose: { type: Boolean, default: true },
3462
+ closeOnClickModal: { type: Boolean, default: true },
3463
+ closeOnEsc: { type: Boolean, default: true },
3464
+ center: { type: Boolean, default: false },
3465
+ fullscreen: { type: Boolean, default: false },
3466
+ destroyOnClose: { type: Boolean, default: false },
3467
+ beforeClose: {}
3468
+ }, {
3469
+ "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
3470
+ "modelModifiers": {}
3471
+ }),
3472
+ emits: /* @__PURE__ */ mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
3473
+ setup(__props, { emit: __emit }) {
3474
+ const props = __props;
3475
+ const emit = __emit;
3476
+ const visible = useModel(__props, "modelValue");
3477
+ const handleClose = () => {
3478
+ visible.value = false;
3479
+ emit("close");
3480
+ };
3481
+ const handleConfirm = () => {
3482
+ emit("confirm");
3483
+ if (props.beforeClose) {
3484
+ props.beforeClose(() => {
3485
+ visible.value = false;
3486
+ });
3487
+ } else {
3488
+ visible.value = false;
3489
+ }
3490
+ };
3491
+ const handleCancel = () => {
3492
+ emit("cancel");
3493
+ handleClose();
3494
+ };
3495
+ const handleOverlayClick = (e) => {
3496
+ if (props.closeOnClickModal && e.target === e.currentTarget) {
3497
+ handleClose();
3498
+ }
3499
+ };
3500
+ const handleKeydown = (e) => {
3501
+ if (props.closeOnEsc && e.key === "Escape") {
3502
+ handleClose();
3503
+ }
3504
+ };
3505
+ onMounted(() => {
3506
+ if (props.closeOnEsc) {
3507
+ window.addEventListener("keydown", handleKeydown);
3508
+ }
3509
+ emit("open");
3510
+ });
3511
+ onBeforeUnmount(() => {
3512
+ if (props.closeOnEsc) {
3513
+ window.removeEventListener("keydown", handleKeydown);
3514
+ }
3515
+ });
3516
+ const iconMap = {
3517
+ info: InformationCircleOutline,
3518
+ success: CheckmarkCircleOutline,
3519
+ warning: WarningOutline,
3520
+ failed: AlertCircleOutline,
3521
+ primary: InformationCircleOutline,
3522
+ default: InformationCircleOutline
3523
+ };
3524
+ const hasIcon = computed(() => props.type && props.type !== "default");
3525
+ return (_ctx, _cache) => {
3526
+ return openBlock(), createBlock(Teleport, { to: "body" }, [
3527
+ createVNode(Transition, { name: "f-dialog-fade" }, {
3528
+ default: withCtx(() => [
3529
+ visible.value ? (openBlock(), createElementBlock("div", {
3530
+ key: 0,
3531
+ class: "f-dialog-overlay",
3532
+ onClick: handleOverlayClick
3533
+ }, [
3534
+ createVNode(Transition, { name: "f-dialog-zoom" }, {
3535
+ default: withCtx(() => [
3536
+ visible.value ? (openBlock(), createElementBlock("div", {
3537
+ key: 0,
3538
+ class: normalizeClass(["f-dialog", [
3539
+ `f-dialog--${_ctx.type}`,
3540
+ {
3541
+ "is-center": _ctx.center,
3542
+ "is-fullscreen": _ctx.fullscreen
3543
+ }
3544
+ ]]),
3545
+ style: normalizeStyle({ width: _ctx.fullscreen ? "100%" : _ctx.width })
3546
+ }, [
3547
+ _ctx.showClose ? (openBlock(), createElementBlock("button", {
3548
+ key: 0,
3549
+ type: "button",
3550
+ class: "f-dialog__close",
3551
+ onClick: handleClose
3552
+ }, [
3553
+ createVNode(FIcon$3, null, {
3554
+ default: withCtx(() => [
3555
+ createVNode(unref(CloseOutline))
3556
+ ]),
3557
+ _: 1
3558
+ })
3559
+ ])) : createCommentVNode("", true),
3560
+ _ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("div", {
3561
+ key: 1,
3562
+ class: normalizeClass(["f-dialog__header", { "has-icon": unref(hasIcon) }])
3563
+ }, [
3564
+ renderSlot(_ctx.$slots, "header", {}, () => [
3565
+ unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
3566
+ createVNode(FIcon$3, null, {
3567
+ default: withCtx(() => [
3568
+ (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
3569
+ ]),
3570
+ _: 1
3571
+ })
3572
+ ])) : createCommentVNode("", true),
3573
+ createElementVNode("h3", _hoisted_2$h, toDisplayString(_ctx.title), 1)
3574
+ ], true)
3575
+ ], 2)) : createCommentVNode("", true),
3576
+ createElementVNode("div", _hoisted_3$h, [
3577
+ renderSlot(_ctx.$slots, "default", {}, () => [
3578
+ _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$b, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
3579
+ ], true)
3580
+ ]),
3581
+ _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
3582
+ renderSlot(_ctx.$slots, "footer", {}, () => [
3583
+ _ctx.showCancel ? (openBlock(), createBlock(FButton$3, {
3584
+ key: 0,
3585
+ onClick: handleCancel
3586
+ }, {
3587
+ default: withCtx(() => [
3588
+ createTextVNode(toDisplayString(_ctx.cancelText), 1)
3589
+ ]),
3590
+ _: 1
3591
+ })) : createCommentVNode("", true),
3592
+ createVNode(FButton$3, {
3593
+ type: "primary",
3594
+ onClick: handleConfirm
3595
+ }, {
3596
+ default: withCtx(() => [
3597
+ createTextVNode(toDisplayString(_ctx.confirmText), 1)
3598
+ ]),
3599
+ _: 1
3600
+ })
3601
+ ], true)
3602
+ ])) : createCommentVNode("", true)
3603
+ ], 6)) : createCommentVNode("", true)
3604
+ ]),
3605
+ _: 3
3606
+ })
3607
+ ])) : createCommentVNode("", true)
3608
+ ]),
3609
+ _: 3
3610
+ })
3611
+ ]);
3612
+ };
3613
+ }
3614
+ });
3615
+ const _hoisted_1$i$4 = ["type", "disabled"];
3616
+ const _hoisted_2$e$4 = { class: "f-button__inner" };
3617
+ const _hoisted_3$e$4 = {
3618
+ key: 0,
3619
+ class: "f-loader"
3620
+ };
3621
+ const _hoisted_4$8$4 = {
3622
+ key: 2,
3623
+ class: "f-button__text"
3624
+ };
3625
+ const _sfc_main$o$4 = /* @__PURE__ */ defineComponent({
3626
+ __name: "FButton",
3627
+ props: {
3628
+ type: {},
3629
+ size: {},
3630
+ nativeType: { default: "button" },
3631
+ loading: { type: Boolean },
3632
+ disabled: { type: Boolean },
3633
+ round: { type: [Boolean, Number] },
3634
+ circle: { type: Boolean },
3635
+ plain: { type: Boolean },
3636
+ text: { type: Boolean },
3637
+ block: { type: Boolean },
3638
+ icon: {},
3639
+ active: { type: Boolean },
3640
+ bgColor: {},
3641
+ color: {}
3642
+ },
3643
+ setup(__props) {
3644
+ const SIZE_MAP = {
3645
+ small: { h: "24px", p: "0 8px", f: "12px", i: "14px" },
3646
+ normal: { h: "32px", p: "0 12px", f: "13px", i: "16px" },
3647
+ large: { h: "40px", p: "0 16px", f: "14px", i: "18px" }
3648
+ };
3649
+ const props = __props;
3650
+ const slots = useSlots();
3651
+ const groupContext = inject("FButtonGroupContext", null);
3652
+ const mergedSize = computed(() => {
3653
+ var _a, _b;
3654
+ return (_b = (_a = props.size) != null ? _a : groupContext == null ? void 0 : groupContext.size) != null ? _b : "normal";
3655
+ });
3656
+ const mergedType = computed(() => {
3657
+ var _a, _b;
3658
+ return (_b = (_a = props.type) != null ? _a : groupContext == null ? void 0 : groupContext.type) != null ? _b : "default";
3659
+ });
3660
+ const isDisabled = computed(() => props.disabled || props.loading || (groupContext == null ? void 0 : groupContext.disabled));
3661
+ const hasText = computed(() => !!slots.default);
3662
+ const buttonStyle = computed(() => {
3663
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3664
+ const style = {
3665
+ height: s.h,
3666
+ padding: props.circle ? "0" : s.p,
3667
+ fontSize: s.f,
3668
+ minWidth: props.circle ? s.h : "auto",
3669
+ backgroundColor: props.bgColor,
3670
+ color: props.color
3671
+ };
3672
+ if (props.circle) {
3673
+ style.borderRadius = "50%";
3674
+ style.width = s.h;
3675
+ } else if (typeof props.round === "number") {
3676
+ style.borderRadius = `${props.round}px`;
3677
+ } else if (props.round === true) {
3678
+ style.borderRadius = "999px";
3679
+ }
3680
+ return style;
3681
+ });
3682
+ const iconSize = computed(() => {
3683
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3684
+ return s.i;
3685
+ });
3686
+ return (_ctx, _cache) => {
3687
+ return openBlock(), createElementBlock("button", {
3688
+ type: _ctx.nativeType,
3689
+ class: normalizeClass(["f-button", [
3690
+ `f-button--${unref(mergedType)}`,
3691
+ `f-button--${unref(mergedSize)}`,
3692
+ {
3693
+ "is-disabled": unref(isDisabled),
3694
+ "is-loading": _ctx.loading,
3695
+ "is-active": _ctx.active,
3696
+ "is-text": _ctx.text,
3697
+ "is-icon-only": !unref(hasText) && (_ctx.icon || _ctx.$slots.icon)
3698
+ }
3699
+ ]]),
3700
+ disabled: unref(isDisabled),
3701
+ style: normalizeStyle(unref(buttonStyle))
3702
+ }, [
3703
+ createElementVNode("span", _hoisted_2$e$4, [
3704
+ _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$e$4)) : createCommentVNode("", true),
3705
+ !_ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3706
+ _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$3), {
3707
+ key: 0,
3708
+ class: "f-button__icon",
3709
+ style: normalizeStyle({ fontSize: unref(iconSize) })
3710
+ }, {
3711
+ default: withCtx(() => [
3712
+ renderSlot(_ctx.$slots, "icon", {}, () => [
3713
+ _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : createCommentVNode("", true)
3714
+ ], true)
3715
+ ]),
3716
+ _: 3
3717
+ }, 8, ["style"])) : createCommentVNode("", true)
3718
+ ], 64)) : createCommentVNode("", true),
3719
+ unref(hasText) ? (openBlock(), createElementBlock("span", _hoisted_4$8$4, [
3720
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
3721
+ ])) : createCommentVNode("", true)
3722
+ ])
3723
+ ], 14, _hoisted_1$i$4);
3724
+ };
3725
+ }
3726
+ });
3727
+ const FButton$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$o$4, [["__scopeId", "data-v-41be5001"]]);
3728
+ const _hoisted_1$e$4 = { class: "f-checkbox__wrapper" };
3729
+ const _hoisted_2$c$4 = ["checked", "disabled"];
3730
+ const _hoisted_3$c$4 = {
3731
+ key: 0,
3732
+ class: "f-checkbox__label"
3733
+ };
3734
+ /* @__PURE__ */ defineComponent({
3735
+ __name: "FCheckbox",
3736
+ props: /* @__PURE__ */ mergeModels({
3737
+ label: {},
3738
+ disabled: { type: Boolean }
3739
+ }, {
3740
+ "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3741
+ "modelModifiers": {}
3742
+ }),
3743
+ emits: ["update:modelValue"],
3744
+ setup(__props) {
3745
+ const modelValue = useModel(__props, "modelValue");
3746
+ const props = __props;
3747
+ const handleChange = (e) => {
3748
+ if (props.disabled) return;
3749
+ const target = e.target;
3750
+ modelValue.value = target.checked;
3751
+ };
3752
+ return (_ctx, _cache) => {
3753
+ return openBlock(), createElementBlock("label", {
3754
+ class: normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
3755
+ }, [
3756
+ createElementVNode("span", _hoisted_1$e$4, [
3757
+ createElementVNode("input", {
3758
+ type: "checkbox",
3759
+ checked: modelValue.value,
3760
+ disabled: _ctx.disabled,
3761
+ onChange: handleChange
3762
+ }, null, 40, _hoisted_2$c$4),
3763
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
3764
+ ]),
3765
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$c$4, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true)
3766
+ ], 2);
3767
+ };
3768
+ }
3769
+ });
3392
3770
  const _hoisted_1$2$1 = { class: "f-message__content" };
3393
3771
  const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3394
3772
  __name: "FMessage",
@@ -3460,7 +3838,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3460
3838
  onMouseenter: clearTimer,
3461
3839
  onMouseleave: startTimer
3462
3840
  }, [
3463
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
3841
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
3464
3842
  key: 0,
3465
3843
  class: "f-message__icon"
3466
3844
  }, {
@@ -3477,7 +3855,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3477
3855
  "aria-label": "close",
3478
3856
  onClick: close
3479
3857
  }, [
3480
- createVNode(FIcon$3, null, {
3858
+ createVNode(FIcon$4, null, {
3481
3859
  default: withCtx(() => [
3482
3860
  createVNode(unref(Close))
3483
3861
  ]),
@@ -3491,7 +3869,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
3491
3869
  };
3492
3870
  }
3493
3871
  });
3494
- const FMessageComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3872
+ const FMessageComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3495
3873
  const GAP$1$1 = 16;
3496
3874
  const BASE_OFFSET$1$1 = 20;
3497
3875
  let seed$1$1 = 0;
@@ -3647,7 +4025,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3647
4025
  onMouseleave: startTimer,
3648
4026
  onClick: handleClick
3649
4027
  }, [
3650
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$3, {
4028
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
3651
4029
  key: 0,
3652
4030
  class: "f-notification__icon"
3653
4031
  }, {
@@ -3667,7 +4045,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3667
4045
  "aria-label": "close",
3668
4046
  onClick: withModifiers(close, ["stop"])
3669
4047
  }, [
3670
- createVNode(FIcon$3, null, {
4048
+ createVNode(FIcon$4, null, {
3671
4049
  default: withCtx(() => [
3672
4050
  createVNode(unref(Close))
3673
4051
  ]),
@@ -3681,7 +4059,7 @@ const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
3681
4059
  };
3682
4060
  }
3683
4061
  });
3684
- const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
4062
+ const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
3685
4063
  const GAP$2 = 16;
3686
4064
  const BASE_OFFSET$2 = 20;
3687
4065
  let seed$2 = 0;
@@ -3770,14 +4148,14 @@ FNotification$1.closeAll = (position) => {
3770
4148
  });
3771
4149
  });
3772
4150
  };
3773
- const _hoisted_1$l = {
4151
+ const _hoisted_1$m = {
3774
4152
  key: 0,
3775
4153
  class: "f-dialog__icon"
3776
4154
  };
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 = {
4155
+ const _hoisted_2$i = { class: "f-dialog__title" };
4156
+ const _hoisted_3$i = { class: "f-dialog__body" };
4157
+ const _hoisted_4$c = { key: 0 };
4158
+ const _hoisted_5$b = {
3781
4159
  key: 2,
3782
4160
  class: "f-dialog__footer"
3783
4161
  };
@@ -3883,7 +4261,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3883
4261
  class: "f-dialog__close",
3884
4262
  onClick: handleClose
3885
4263
  }, [
3886
- createVNode(FIcon$3, null, {
4264
+ createVNode(FIcon$4, null, {
3887
4265
  default: withCtx(() => [
3888
4266
  createVNode(unref(CloseOutline))
3889
4267
  ]),
@@ -3895,25 +4273,25 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3895
4273
  class: normalizeClass(["f-dialog__header", { "has-icon": unref(hasIcon) }])
3896
4274
  }, [
3897
4275
  renderSlot(_ctx.$slots, "header", {}, () => [
3898
- unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
3899
- createVNode(FIcon$3, null, {
4276
+ unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
4277
+ createVNode(FIcon$4, null, {
3900
4278
  default: withCtx(() => [
3901
4279
  (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
3902
4280
  ]),
3903
4281
  _: 1
3904
4282
  })
3905
4283
  ])) : createCommentVNode("", true),
3906
- createElementVNode("h3", _hoisted_2$h, toDisplayString(_ctx.title), 1)
4284
+ createElementVNode("h3", _hoisted_2$i, toDisplayString(_ctx.title), 1)
3907
4285
  ], true)
3908
4286
  ], 2)) : createCommentVNode("", true),
3909
- createElementVNode("div", _hoisted_3$h, [
4287
+ createElementVNode("div", _hoisted_3$i, [
3910
4288
  renderSlot(_ctx.$slots, "default", {}, () => [
3911
- _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$b, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
4289
+ _ctx.content ? (openBlock(), createElementBlock("p", _hoisted_4$c, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
3912
4290
  ], true)
3913
4291
  ]),
3914
- _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
4292
+ _ctx.$slots.footer || _ctx.showCancel ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
3915
4293
  renderSlot(_ctx.$slots, "footer", {}, () => [
3916
- _ctx.showCancel ? (openBlock(), createBlock(FButton$3, {
4294
+ _ctx.showCancel ? (openBlock(), createBlock(FButton$4, {
3917
4295
  key: 0,
3918
4296
  onClick: handleCancel
3919
4297
  }, {
@@ -3922,7 +4300,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3922
4300
  ]),
3923
4301
  _: 1
3924
4302
  })) : createCommentVNode("", true),
3925
- createVNode(FButton$3, {
4303
+ createVNode(FButton$4, {
3926
4304
  type: "primary",
3927
4305
  onClick: handleConfirm
3928
4306
  }, {
@@ -3945,7 +4323,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3945
4323
  };
3946
4324
  }
3947
4325
  });
3948
- const FDialogComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
4326
+ const FDialogComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
3949
4327
  const showDialog$1 = (options) => {
3950
4328
  return new Promise((resolve) => {
3951
4329
  const container = document.createElement("div");
@@ -4117,7 +4495,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4117
4495
  createElementVNode("span", _hoisted_2$e, [
4118
4496
  _ctx.loading ? (openBlock(), createElementBlock("span", _hoisted_3$e)) : createCommentVNode("", true),
4119
4497
  !_ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
4120
- _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$3), {
4498
+ _ctx.$slots.icon || _ctx.icon ? (openBlock(), createBlock(unref(FIcon$4), {
4121
4499
  key: 0,
4122
4500
  class: "f-button__icon",
4123
4501
  style: normalizeStyle({ fontSize: unref(iconSize) })
@@ -4138,7 +4516,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4138
4516
  };
4139
4517
  }
4140
4518
  });
4141
- const FButton = /* @__PURE__ */ _export_sfc$4(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
4519
+ const FButton = /* @__PURE__ */ _export_sfc$5(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
4142
4520
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
4143
4521
  __name: "FTypography",
4144
4522
  props: {
@@ -4161,7 +4539,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
4161
4539
  };
4162
4540
  }
4163
4541
  });
4164
- const FTypography = /* @__PURE__ */ _export_sfc$4(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
4542
+ const FTypography = /* @__PURE__ */ _export_sfc$5(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
4165
4543
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
4166
4544
  __name: "FText",
4167
4545
  props: {
@@ -4220,7 +4598,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
4220
4598
  };
4221
4599
  }
4222
4600
  });
4223
- const FText = /* @__PURE__ */ _export_sfc$4(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
4601
+ const FText = /* @__PURE__ */ _export_sfc$5(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
4224
4602
  const _hoisted_1$h = ["href", "target", "rel"];
4225
4603
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
4226
4604
  __name: "FLink",
@@ -4249,7 +4627,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
4249
4627
  };
4250
4628
  }
4251
4629
  });
4252
- const FLink = /* @__PURE__ */ _export_sfc$4(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
4630
+ const FLink = /* @__PURE__ */ _export_sfc$5(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
4253
4631
  const _hoisted_1$g = { class: "f-badge" };
4254
4632
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
4255
4633
  __name: "FBadge",
@@ -4291,7 +4669,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
4291
4669
  };
4292
4670
  }
4293
4671
  });
4294
- const FBadge = /* @__PURE__ */ _export_sfc$4(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
4672
+ const FBadge = /* @__PURE__ */ _export_sfc$5(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
4295
4673
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
4296
4674
  __name: "FAffix",
4297
4675
  props: {
@@ -4320,7 +4698,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
4320
4698
  };
4321
4699
  }
4322
4700
  });
4323
- const FAffix = /* @__PURE__ */ _export_sfc$4(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
4701
+ const FAffix = /* @__PURE__ */ _export_sfc$5(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
4324
4702
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
4325
4703
  __name: "FForm",
4326
4704
  props: {
@@ -4378,7 +4756,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
4378
4756
  };
4379
4757
  }
4380
4758
  });
4381
- const FForm = /* @__PURE__ */ _export_sfc$4(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4759
+ const FForm = /* @__PURE__ */ _export_sfc$5(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4382
4760
  const validateSingleField = (value, rules) => __async(null, null, function* () {
4383
4761
  const ruleArray = Array.isArray(rules) ? rules : [rules];
4384
4762
  for (let rule of ruleArray) {
@@ -4551,7 +4929,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
4551
4929
  };
4552
4930
  }
4553
4931
  });
4554
- const FFormItem = /* @__PURE__ */ _export_sfc$4(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4932
+ const FFormItem = /* @__PURE__ */ _export_sfc$5(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4555
4933
  const _hoisted_1$e = { class: "f-checkbox__wrapper" };
4556
4934
  const _hoisted_2$c = ["checked", "disabled"];
4557
4935
  const _hoisted_3$c = {
@@ -4594,7 +4972,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
4594
4972
  };
4595
4973
  }
4596
4974
  });
4597
- const FCheckbox = /* @__PURE__ */ _export_sfc$4(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4975
+ const FCheckbox = /* @__PURE__ */ _export_sfc$5(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4598
4976
  const _hoisted_1$d = { class: "alert__body" };
4599
4977
  const _hoisted_2$b = { class: "alert__title" };
4600
4978
  const _hoisted_3$b = { class: "alert__content" };
@@ -4618,7 +4996,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
4618
4996
  return openBlock(), createElementBlock("div", {
4619
4997
  class: normalizeClass(["alert", `alert--${_ctx.type}`])
4620
4998
  }, [
4621
- createVNode(FIcon$4, { class: "alert__icon" }, {
4999
+ createVNode(FIcon$5, { class: "alert__icon" }, {
4622
5000
  default: withCtx(() => [
4623
5001
  (openBlock(), createBlock(resolveDynamicComponent(unref(config).icon)))
4624
5002
  ]),
@@ -4636,7 +5014,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
4636
5014
  };
4637
5015
  }
4638
5016
  });
4639
- const FAlert = /* @__PURE__ */ _export_sfc$4(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
5017
+ const FAlert = /* @__PURE__ */ _export_sfc$5(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
4640
5018
  const _hoisted_1$c = { class: "f-editor__toolbar" };
4641
5019
  const _hoisted_2$a = { class: "f-editor__status" };
4642
5020
  const _hoisted_3$a = { class: "f-editor__lines" };
@@ -4898,7 +5276,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
4898
5276
  };
4899
5277
  }
4900
5278
  });
4901
- const FEditor = /* @__PURE__ */ _export_sfc$4(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
5279
+ const FEditor = /* @__PURE__ */ _export_sfc$5(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
4902
5280
  const _hoisted_1$b = { class: "f-table" };
4903
5281
  const _hoisted_2$9 = {
4904
5282
  key: 0,
@@ -5103,7 +5481,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
5103
5481
  };
5104
5482
  }
5105
5483
  });
5106
- const FTable = /* @__PURE__ */ _export_sfc$4(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
5484
+ const FTable = /* @__PURE__ */ _export_sfc$5(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
5107
5485
  const _hoisted_1$a = { class: "f-upload" };
5108
5486
  const _hoisted_2$8 = { class: "f-upload__label" };
5109
5487
  const _hoisted_3$8 = ["accept"];
@@ -5179,7 +5557,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5179
5557
  onChange: onFileChange
5180
5558
  }, null, 40, _hoisted_3$8),
5181
5559
  renderSlot(_ctx.$slots, "default", {}, () => [
5182
- createVNode(FIcon$4, { size: 40 }, {
5560
+ createVNode(FIcon$5, { size: 40 }, {
5183
5561
  default: withCtx(() => [
5184
5562
  createVNode(unref(CloudUpload))
5185
5563
  ]),
@@ -5191,7 +5569,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5191
5569
  ])
5192
5570
  ], 34),
5193
5571
  file.value ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
5194
- createVNode(FIcon$4, null, {
5572
+ createVNode(FIcon$5, null, {
5195
5573
  default: withCtx(() => [
5196
5574
  createVNode(unref(DocumentOutline))
5197
5575
  ]),
@@ -5205,7 +5583,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5205
5583
  "show-text": ""
5206
5584
  }, null, 8, ["percent"])) : createCommentVNode("", true)
5207
5585
  ]),
5208
- createVNode(FIcon$4, {
5586
+ createVNode(FIcon$5, {
5209
5587
  onClick: withModifiers(clearFile, ["stop"]),
5210
5588
  onMouseenter: _cache[0] || (_cache[0] = ($event) => isCloseHover.value = true),
5211
5589
  onMouseleave: _cache[1] || (_cache[1] = ($event) => isCloseHover.value = false),
@@ -5221,7 +5599,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5221
5599
  };
5222
5600
  }
5223
5601
  });
5224
- const FUpload = /* @__PURE__ */ _export_sfc$4(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
5602
+ const FUpload = /* @__PURE__ */ _export_sfc$5(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
5225
5603
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
5226
5604
  __name: "FButtonGroup",
5227
5605
  props: {
@@ -5243,7 +5621,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5243
5621
  };
5244
5622
  }
5245
5623
  });
5246
- const FButtonGroup = /* @__PURE__ */ _export_sfc$4(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
5624
+ const FButtonGroup = /* @__PURE__ */ _export_sfc$5(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
5247
5625
  const _hoisted_1$9 = { class: "f-collapse" };
5248
5626
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
5249
5627
  __name: "FCollapse",
@@ -6295,7 +6673,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6295
6673
  onMouseup: stopRepeat,
6296
6674
  onMouseleave: stopRepeat
6297
6675
  }, [
6298
- createVNode(unref(FIcon$3), null, {
6676
+ createVNode(unref(FIcon$4), null, {
6299
6677
  default: withCtx(() => [
6300
6678
  createVNode(unref(RemoveOutline))
6301
6679
  ]),
@@ -6327,7 +6705,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6327
6705
  onMouseup: stopRepeat,
6328
6706
  onMouseleave: stopRepeat
6329
6707
  }, [
6330
- createVNode(unref(FIcon$3), null, {
6708
+ createVNode(unref(FIcon$4), null, {
6331
6709
  default: withCtx(() => [
6332
6710
  createVNode(unref(AddOutline))
6333
6711
  ]),
@@ -6344,7 +6722,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6344
6722
  onMouseup: stopRepeat,
6345
6723
  onMouseleave: stopRepeat
6346
6724
  }, [
6347
- createVNode(unref(FIcon$3), null, {
6725
+ createVNode(unref(FIcon$4), null, {
6348
6726
  default: withCtx(() => [
6349
6727
  createVNode(unref(ChevronUpOutline))
6350
6728
  ]),
@@ -6360,7 +6738,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6360
6738
  onMouseup: stopRepeat,
6361
6739
  onMouseleave: stopRepeat
6362
6740
  }, [
6363
- createVNode(unref(FIcon$3), null, {
6741
+ createVNode(unref(FIcon$4), null, {
6364
6742
  default: withCtx(() => [
6365
6743
  createVNode(unref(ChevronDownOutline))
6366
6744
  ]),
@@ -6372,7 +6750,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6372
6750
  };
6373
6751
  }
6374
6752
  });
6375
- const FInputNumber = /* @__PURE__ */ _export_sfc$4(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
6753
+ const FInputNumber = /* @__PURE__ */ _export_sfc$5(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
6376
6754
  const _hoisted_1$3 = { class: "f-result__icon" };
6377
6755
  const _hoisted_2$2 = {
6378
6756
  key: 0,
@@ -6422,7 +6800,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6422
6800
  }, [
6423
6801
  createElementVNode("div", _hoisted_1$3, [
6424
6802
  renderSlot(_ctx.$slots, "icon", {}, () => [
6425
- unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(FIcon$4, {
6803
+ unref(showCode) ? (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(_ctx.status), 1)) : (openBlock(), createBlock(FIcon$5, {
6426
6804
  key: 1,
6427
6805
  size: 72
6428
6806
  }, {
@@ -6453,7 +6831,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6453
6831
  };
6454
6832
  }
6455
6833
  });
6456
- const FResult = /* @__PURE__ */ _export_sfc$4(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6834
+ const FResult = /* @__PURE__ */ _export_sfc$5(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6457
6835
  const _hoisted_1$2 = { class: "f-message__content" };
6458
6836
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6459
6837
  __name: "FMessage",
@@ -6525,7 +6903,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6525
6903
  onMouseenter: clearTimer,
6526
6904
  onMouseleave: startTimer
6527
6905
  }, [
6528
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
6906
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$5, {
6529
6907
  key: 0,
6530
6908
  class: "f-message__icon"
6531
6909
  }, {
@@ -6542,7 +6920,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6542
6920
  "aria-label": "close",
6543
6921
  onClick: close
6544
6922
  }, [
6545
- createVNode(FIcon$4, null, {
6923
+ createVNode(FIcon$5, null, {
6546
6924
  default: withCtx(() => [
6547
6925
  createVNode(unref(Close))
6548
6926
  ]),
@@ -6556,7 +6934,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
6556
6934
  };
6557
6935
  }
6558
6936
  });
6559
- const FMessageComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6937
+ const FMessageComp = /* @__PURE__ */ _export_sfc$5(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6560
6938
  const GAP$1 = 16;
6561
6939
  const BASE_OFFSET$1 = 20;
6562
6940
  let seed$1 = 0;
@@ -6712,7 +7090,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6712
7090
  onMouseleave: startTimer,
6713
7091
  onClick: handleClick
6714
7092
  }, [
6715
- _ctx.showIcon ? (openBlock(), createBlock(FIcon$4, {
7093
+ _ctx.showIcon ? (openBlock(), createBlock(FIcon$5, {
6716
7094
  key: 0,
6717
7095
  class: "f-notification__icon"
6718
7096
  }, {
@@ -6732,7 +7110,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6732
7110
  "aria-label": "close",
6733
7111
  onClick: withModifiers(close, ["stop"])
6734
7112
  }, [
6735
- createVNode(FIcon$4, null, {
7113
+ createVNode(FIcon$5, null, {
6736
7114
  default: withCtx(() => [
6737
7115
  createVNode(unref(Close))
6738
7116
  ]),
@@ -6746,7 +7124,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6746
7124
  };
6747
7125
  }
6748
7126
  });
6749
- const FNotificationComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
7127
+ const FNotificationComp = /* @__PURE__ */ _export_sfc$5(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
6750
7128
  const GAP = 16;
6751
7129
  const BASE_OFFSET = 20;
6752
7130
  let seed = 0;
@@ -6948,7 +7326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6948
7326
  class: "f-dialog__close",
6949
7327
  onClick: handleClose
6950
7328
  }, [
6951
- createVNode(FIcon$4, null, {
7329
+ createVNode(FIcon$5, null, {
6952
7330
  default: withCtx(() => [
6953
7331
  createVNode(unref(CloseOutline))
6954
7332
  ]),
@@ -6961,7 +7339,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
6961
7339
  }, [
6962
7340
  renderSlot(_ctx.$slots, "header", {}, () => [
6963
7341
  unref(hasIcon) ? (openBlock(), createElementBlock("div", _hoisted_1, [
6964
- createVNode(FIcon$4, null, {
7342
+ createVNode(FIcon$5, null, {
6965
7343
  default: withCtx(() => [
6966
7344
  (openBlock(), createBlock(resolveDynamicComponent(iconMap[_ctx.type])))
6967
7345
  ]),
@@ -7010,7 +7388,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
7010
7388
  };
7011
7389
  }
7012
7390
  });
7013
- const FDialogComp = /* @__PURE__ */ _export_sfc$4(_sfc_main, [["__scopeId", "data-v-991352de"]]);
7391
+ const FDialogComp = /* @__PURE__ */ _export_sfc$5(_sfc_main, [["__scopeId", "data-v-991352de"]]);
7014
7392
  const showDialog = (options) => {
7015
7393
  return new Promise((resolve) => {
7016
7394
  const container = document.createElement("div");
@@ -7114,7 +7492,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
7114
7492
  FEmpty: _sfc_main$7,
7115
7493
  FForm,
7116
7494
  FFormItem,
7117
- FIcon: FIcon$4,
7495
+ FIcon: FIcon$5,
7118
7496
  FImage,
7119
7497
  FInput,
7120
7498
  FInputNumber,
@@ -7166,7 +7544,7 @@ export {
7166
7544
  _sfc_main$7 as FEmpty,
7167
7545
  FForm,
7168
7546
  FFormItem,
7169
- FIcon$4 as FIcon,
7547
+ FIcon$5 as FIcon,
7170
7548
  FImage,
7171
7549
  FInput,
7172
7550
  FInputNumber,