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.
@@ -41,7 +41,7 @@ var __async = (__this, __arguments, generator) => {
41
41
  });
42
42
  };
43
43
 
44
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
44
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
45
45
  __name: "FIcon",
46
46
  props: {
47
47
  color: {},
@@ -65,20 +65,20 @@ var __async = (__this, __arguments, generator) => {
65
65
  };
66
66
  }
67
67
  });
68
- const _export_sfc$4 = (sfc, props) => {
68
+ const _export_sfc$5 = (sfc, props) => {
69
69
  const target = sfc.__vccOpts || sfc;
70
70
  for (const [key, val] of props) {
71
71
  target[key] = val;
72
72
  }
73
73
  return target;
74
74
  };
75
- const FIcon$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$N, [["__scopeId", "data-v-baf7de0c"]]);
75
+ const FIcon$5 = /* @__PURE__ */ _export_sfc$5(_sfc_main$O, [["__scopeId", "data-v-baf7de0c"]]);
76
76
  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";
77
- const _hoisted_1$y = {
77
+ const _hoisted_1$z = {
78
78
  key: 0,
79
79
  class: "loop cubes"
80
80
  };
81
- const _hoisted_2$s = {
81
+ const _hoisted_2$t = {
82
82
  key: 2,
83
83
  class: "msg"
84
84
  };
@@ -95,7 +95,7 @@ var __async = (__this, __arguments, generator) => {
95
95
  return vue.openBlock(), vue.createElementBlock("div", {
96
96
  class: vue.normalizeClass(["flex-center-col size-full loading-container", { "global-mask": _ctx.mask }])
97
97
  }, [
98
- _ctx.type === "cubes" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
98
+ _ctx.type === "cubes" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
99
99
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(6, (i) => {
100
100
  return vue.createElementVNode("div", {
101
101
  class: "item cubes",
@@ -106,22 +106,22 @@ var __async = (__this, __arguments, generator) => {
106
106
  key: 1,
107
107
  class: vue.normalizeClass(["loader", _ctx.type])
108
108
  }, null, 2)),
109
- props.text ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$s, vue.toDisplayString(props.text), 1)) : vue.createCommentVNode("", true)
109
+ props.text ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$t, vue.toDisplayString(props.text), 1)) : vue.createCommentVNode("", true)
110
110
  ], 2);
111
111
  };
112
112
  }
113
113
  });
114
- const FLoading = /* @__PURE__ */ _export_sfc$4(_sfc_main$I, [["__scopeId", "data-v-20f58a50"]]);
115
- const _hoisted_1$x = { class: "f-image" };
116
- const _hoisted_2$r = {
114
+ const FLoading = /* @__PURE__ */ _export_sfc$5(_sfc_main$I, [["__scopeId", "data-v-20f58a50"]]);
115
+ const _hoisted_1$y = { class: "f-image" };
116
+ const _hoisted_2$s = {
117
117
  key: 0,
118
118
  class: "f-image__placeholder"
119
119
  };
120
- const _hoisted_3$n = {
120
+ const _hoisted_3$o = {
121
121
  key: 0,
122
122
  class: "f-image__error"
123
123
  };
124
- const _hoisted_4$g = ["src", "loading"];
124
+ const _hoisted_4$h = ["src", "loading"];
125
125
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
126
126
  __name: "FImage",
127
127
  props: {
@@ -139,10 +139,10 @@ var __async = (__this, __arguments, generator) => {
139
139
  const onLoad = () => status.value = "loaded";
140
140
  const onError = () => status.value = "error";
141
141
  return (_ctx, _cache) => {
142
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
142
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
143
143
  vue.createVNode(vue.Transition, { name: "fade" }, {
144
144
  default: vue.withCtx(() => [
145
- vue.unref(status) === "loading" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, [
145
+ vue.unref(status) === "loading" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, [
146
146
  vue.createVNode(FLoading, { type: "classic first" })
147
147
  ])) : vue.createCommentVNode("", true)
148
148
  ]),
@@ -150,9 +150,9 @@ var __async = (__this, __arguments, generator) => {
150
150
  }),
151
151
  vue.createVNode(vue.Transition, { name: "fade" }, {
152
152
  default: vue.withCtx(() => [
153
- vue.unref(status) === "error" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
153
+ vue.unref(status) === "error" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$o, [
154
154
  vue.renderSlot(_ctx.$slots, "error", {}, () => [
155
- vue.createVNode(FIcon$4, { size: "48px" }, {
155
+ vue.createVNode(FIcon$5, { size: "48px" }, {
156
156
  default: vue.withCtx(() => [
157
157
  vue.createVNode(vue.unref(PictureError))
158
158
  ]),
@@ -170,16 +170,16 @@ var __async = (__this, __arguments, generator) => {
170
170
  class: "f-image__img",
171
171
  onLoad,
172
172
  onError
173
- }, null, 44, _hoisted_4$g), [
173
+ }, null, 44, _hoisted_4$h), [
174
174
  [vue.vShow, vue.unref(status) === "loaded"]
175
175
  ])
176
176
  ]);
177
177
  };
178
178
  }
179
179
  });
180
- const FImage = /* @__PURE__ */ _export_sfc$4(_sfc_main$H, [["__scopeId", "data-v-e959ab10"]]);
181
- const _hoisted_1$w = ["type", "value", "placeholder"];
182
- const _hoisted_2$q = { class: "f-input__suffix" };
180
+ const FImage = /* @__PURE__ */ _export_sfc$5(_sfc_main$H, [["__scopeId", "data-v-e959ab10"]]);
181
+ const _hoisted_1$x = ["type", "value", "placeholder"];
182
+ const _hoisted_2$r = { class: "f-input__suffix" };
183
183
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
184
184
  __name: "FInput",
185
185
  props: /* @__PURE__ */ vue.mergeModels({
@@ -245,9 +245,9 @@ var __async = (__this, __arguments, generator) => {
245
245
  onBlur,
246
246
  onFocus,
247
247
  class: "f-input__inner"
248
- }, null, 40, _hoisted_1$w),
249
- vue.createElementVNode("div", _hoisted_2$q, [
250
- vue.unref(showClearIcon) ? (vue.openBlock(), vue.createBlock(FIcon$4, {
248
+ }, null, 40, _hoisted_1$x),
249
+ vue.createElementVNode("div", _hoisted_2$r, [
250
+ vue.unref(showClearIcon) ? (vue.openBlock(), vue.createBlock(FIcon$5, {
251
251
  key: 0,
252
252
  onClick: clearValue,
253
253
  class: "icon-btn"
@@ -257,7 +257,7 @@ var __async = (__this, __arguments, generator) => {
257
257
  ]),
258
258
  _: 1
259
259
  })) : vue.createCommentVNode("", true),
260
- vue.unref(showPasswordIcon) ? (vue.openBlock(), vue.createBlock(FIcon$4, {
260
+ vue.unref(showPasswordIcon) ? (vue.openBlock(), vue.createBlock(FIcon$5, {
261
261
  key: 1,
262
262
  onClick: togglePassword,
263
263
  class: "icon-btn"
@@ -273,9 +273,9 @@ var __async = (__this, __arguments, generator) => {
273
273
  };
274
274
  }
275
275
  });
276
- const FInput = /* @__PURE__ */ _export_sfc$4(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
277
- const _hoisted_1$v = ["onMousemove"];
278
- const _hoisted_2$p = {
276
+ const FInput = /* @__PURE__ */ _export_sfc$5(_sfc_main$G, [["__scopeId", "data-v-68f468e1"]]);
277
+ const _hoisted_1$w = ["onMousemove"];
278
+ const _hoisted_2$q = {
279
279
  key: 0,
280
280
  class: "f-rate__score"
281
281
  };
@@ -353,7 +353,7 @@ var __async = (__this, __arguments, generator) => {
353
353
  onMousemove: ($event) => onMouseMove($event, index),
354
354
  onClick
355
355
  }, [
356
- vue.createVNode(FIcon$4, {
356
+ vue.createVNode(FIcon$5, {
357
357
  color: getStarColor(index),
358
358
  size: vue.unref(starSize)
359
359
  }, {
@@ -362,22 +362,22 @@ var __async = (__this, __arguments, generator) => {
362
362
  ]),
363
363
  _: 2
364
364
  }, 1032, ["color", "size"])
365
- ], 40, _hoisted_1$v);
365
+ ], 40, _hoisted_1$w);
366
366
  }), 128)),
367
- props.showText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$p, vue.toDisplayString(vue.unref(scoreText)), 1)) : vue.createCommentVNode("", true)
367
+ props.showText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$q, vue.toDisplayString(vue.unref(scoreText)), 1)) : vue.createCommentVNode("", true)
368
368
  ], 34);
369
369
  };
370
370
  }
371
371
  });
372
- const FRate = /* @__PURE__ */ _export_sfc$4(_sfc_main$F, [["__scopeId", "data-v-3b5c4f14"]]);
373
- const _hoisted_1$u = { class: "f-dropdown-wrapper" };
374
- const _hoisted_2$o = { class: "f-dropdown-content" };
375
- const _hoisted_3$m = ["onClick"];
376
- const _hoisted_4$f = {
372
+ const FRate = /* @__PURE__ */ _export_sfc$5(_sfc_main$F, [["__scopeId", "data-v-3b5c4f14"]]);
373
+ const _hoisted_1$v = { class: "f-dropdown-wrapper" };
374
+ const _hoisted_2$p = { class: "f-dropdown-content" };
375
+ const _hoisted_3$n = ["onClick"];
376
+ const _hoisted_4$g = {
377
377
  key: 0,
378
378
  class: "opt-icon"
379
379
  };
380
- const _hoisted_5$d = { class: "opt-label" };
380
+ const _hoisted_5$e = { class: "opt-label" };
381
381
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
382
382
  __name: "FDropdown",
383
383
  props: {
@@ -550,7 +550,7 @@ var __async = (__this, __arguments, generator) => {
550
550
  });
551
551
  core.useEventListener(window, "click", handleWindowClick);
552
552
  return (_ctx, _cache) => {
553
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
553
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
554
554
  vue.createElementVNode("div", {
555
555
  ref_key: "triggerRef",
556
556
  ref: triggerRef,
@@ -580,18 +580,18 @@ var __async = (__this, __arguments, generator) => {
580
580
  class: "f-dropdown-bridge",
581
581
  style: vue.normalizeStyle(vue.unref(bridgeStyle))
582
582
  }, null, 4)) : vue.createCommentVNode("", true),
583
- vue.createElementVNode("div", _hoisted_2$o, [
583
+ vue.createElementVNode("div", _hoisted_2$p, [
584
584
  _ctx.options && _ctx.options.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.options, (opt) => {
585
585
  return vue.openBlock(), vue.createElementBlock("div", {
586
586
  key: opt.key,
587
587
  class: vue.normalizeClass(["f-dropdown-option", { "is-disabled": opt.disabled }]),
588
588
  onClick: ($event) => handleOptionClick(opt)
589
589
  }, [
590
- opt.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$f, [
590
+ opt.icon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$g, [
591
591
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(opt.icon)))
592
592
  ])) : vue.createCommentVNode("", true),
593
- vue.createElementVNode("span", _hoisted_5$d, vue.toDisplayString(opt.label), 1)
594
- ], 10, _hoisted_3$m);
593
+ vue.createElementVNode("span", _hoisted_5$e, vue.toDisplayString(opt.label), 1)
594
+ ], 10, _hoisted_3$n);
595
595
  }), 128)) : vue.renderSlot(_ctx.$slots, "content", { key: 1 }, void 0, true)
596
596
  ])
597
597
  ], 36)) : vue.createCommentVNode("", true)
@@ -603,7 +603,7 @@ var __async = (__this, __arguments, generator) => {
603
603
  };
604
604
  }
605
605
  });
606
- const FDropdown = /* @__PURE__ */ _export_sfc$4(_sfc_main$E, [["__scopeId", "data-v-834f9929"]]);
606
+ const FDropdown = /* @__PURE__ */ _export_sfc$5(_sfc_main$E, [["__scopeId", "data-v-834f9929"]]);
607
607
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
608
608
  __name: "FSelect",
609
609
  props: /* @__PURE__ */ vue.mergeModels({
@@ -662,7 +662,7 @@ var __async = (__this, __arguments, generator) => {
662
662
  vue.createElementVNode("span", {
663
663
  class: vue.normalizeClass(["f-select__label", { "is-placeholder": !vue.unref(hasValue) }])
664
664
  }, vue.toDisplayString(vue.unref(selectedLabel)), 3),
665
- vue.createVNode(FIcon$4, { class: "f-select__arrow" }, {
665
+ vue.createVNode(FIcon$5, { class: "f-select__arrow" }, {
666
666
  default: vue.withCtx(() => [
667
667
  vue.createVNode(vue.unref(ionicons5.ChevronDownOutline))
668
668
  ]),
@@ -675,21 +675,21 @@ var __async = (__this, __arguments, generator) => {
675
675
  };
676
676
  }
677
677
  });
678
- const FSelect = /* @__PURE__ */ _export_sfc$4(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
679
- const _hoisted_1$t = {
678
+ const FSelect = /* @__PURE__ */ _export_sfc$5(_sfc_main$D, [["__scopeId", "data-v-fc1ceb39"]]);
679
+ const _hoisted_1$u = {
680
680
  key: 0,
681
681
  class: "f-pagination"
682
682
  };
683
- const _hoisted_2$n = {
683
+ const _hoisted_2$o = {
684
684
  key: 0,
685
685
  class: "f-pagination__total"
686
686
  };
687
- const _hoisted_3$l = {
687
+ const _hoisted_3$m = {
688
688
  key: 1,
689
689
  class: "f-pagination__size"
690
690
  };
691
- const _hoisted_4$e = ["value"];
692
- const _hoisted_5$c = ["value"];
691
+ const _hoisted_4$f = ["value"];
692
+ const _hoisted_5$d = ["value"];
693
693
  const _hoisted_6$7 = {
694
694
  key: 3,
695
695
  class: "f-pagination__list"
@@ -753,10 +753,10 @@ var __async = (__this, __arguments, generator) => {
753
753
  jumpInput.value = "";
754
754
  };
755
755
  return (_ctx, _cache) => {
756
- return !_ctx.hideOnSingle || vue.unref(pageCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
756
+ return !_ctx.hideOnSingle || vue.unref(pageCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
757
757
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(layoutItems), (item) => {
758
758
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: item }, [
759
- item === "total" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$n, " 共 " + vue.toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
759
+ item === "total" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$o, " 共 " + vue.toDisplayString(_ctx.total) + " 条 ", 1)) : item === "sizes" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
760
760
  vue.createElementVNode("select", {
761
761
  class: "size-select",
762
762
  value: _ctx.pageSize,
@@ -766,15 +766,15 @@ var __async = (__this, __arguments, generator) => {
766
766
  return vue.openBlock(), vue.createElementBlock("option", {
767
767
  key: s,
768
768
  value: s
769
- }, vue.toDisplayString(s) + " 条/页", 9, _hoisted_5$c);
769
+ }, vue.toDisplayString(s) + " 条/页", 9, _hoisted_5$d);
770
770
  }), 128))
771
- ], 40, _hoisted_4$e)
771
+ ], 40, _hoisted_4$f)
772
772
  ])) : item === "prev" ? (vue.openBlock(), vue.createElementBlock("button", {
773
773
  key: 2,
774
774
  class: vue.normalizeClass(["page-btn", { disabled: currentPage.value === 1 }]),
775
775
  onClick: _cache[0] || (_cache[0] = ($event) => go(currentPage.value - 1))
776
776
  }, [
777
- vue.createVNode(FIcon$4, null, {
777
+ vue.createVNode(FIcon$5, null, {
778
778
  default: vue.withCtx(() => [
779
779
  vue.createVNode(vue.unref(ionicons5.ChevronBackOutline))
780
780
  ]),
@@ -784,7 +784,7 @@ var __async = (__this, __arguments, generator) => {
784
784
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pages), (page, index) => {
785
785
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index }, [
786
786
  page === "..." ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_7$3, [
787
- vue.createVNode(FIcon$4, null, {
787
+ vue.createVNode(FIcon$5, null, {
788
788
  default: vue.withCtx(() => [
789
789
  vue.createVNode(vue.unref(ionicons5.EllipsisHorizontal))
790
790
  ]),
@@ -802,7 +802,7 @@ var __async = (__this, __arguments, generator) => {
802
802
  class: vue.normalizeClass(["page-btn", { disabled: currentPage.value === vue.unref(pageCount) }]),
803
803
  onClick: _cache[1] || (_cache[1] = ($event) => go(currentPage.value + 1))
804
804
  }, [
805
- vue.createVNode(FIcon$4, null, {
805
+ vue.createVNode(FIcon$5, null, {
806
806
  default: vue.withCtx(() => [
807
807
  vue.createVNode(vue.unref(ionicons5.ChevronForwardOutline))
808
808
  ]),
@@ -829,24 +829,24 @@ var __async = (__this, __arguments, generator) => {
829
829
  };
830
830
  }
831
831
  });
832
- const FPagination = /* @__PURE__ */ _export_sfc$4(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
833
- const _hoisted_1$s = {
832
+ const FPagination = /* @__PURE__ */ _export_sfc$5(_sfc_main$C, [["__scopeId", "data-v-930f8b20"]]);
833
+ const _hoisted_1$t = {
834
834
  key: 0,
835
835
  class: "f-card__header"
836
836
  };
837
- const _hoisted_2$m = {
837
+ const _hoisted_2$n = {
838
838
  key: 0,
839
839
  class: "f-card__header-extra"
840
840
  };
841
- const _hoisted_3$k = {
841
+ const _hoisted_3$l = {
842
842
  key: 1,
843
843
  class: "f-card__cover"
844
844
  };
845
- const _hoisted_4$d = {
845
+ const _hoisted_4$e = {
846
846
  key: 2,
847
847
  class: "f-card__body"
848
848
  };
849
- const _hoisted_5$b = {
849
+ const _hoisted_5$c = {
850
850
  key: 3,
851
851
  class: "f-card__footer"
852
852
  };
@@ -883,19 +883,19 @@ var __async = (__this, __arguments, generator) => {
883
883
  class: vue.normalizeClass(["f-card", [`f-card--${_ctx.direction}`, { "is-hoverable": _ctx.hoverable }]])
884
884
  }, [
885
885
  _ctx.direction === "vertical" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
886
- _ctx.$slots.header || _ctx.$slots["header-extra"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
886
+ _ctx.$slots.header || _ctx.$slots["header-extra"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
887
887
  vue.renderSlot(_ctx.$slots, "header", {}, void 0, true),
888
- _ctx.$slots["header-extra"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
888
+ _ctx.$slots["header-extra"] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
889
889
  vue.renderSlot(_ctx.$slots, "header-extra", {}, void 0, true)
890
890
  ])) : vue.createCommentVNode("", true)
891
891
  ])) : vue.createCommentVNode("", true),
892
- _ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$k, [
892
+ _ctx.$slots.cover ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
893
893
  vue.renderSlot(_ctx.$slots, "cover", {}, void 0, true)
894
894
  ])) : vue.createCommentVNode("", true),
895
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
895
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$e, [
896
896
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
897
897
  ])) : vue.createCommentVNode("", true),
898
- _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$b, [
898
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
899
899
  vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
900
900
  ])) : vue.createCommentVNode("", true)
901
901
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
@@ -921,8 +921,8 @@ var __async = (__this, __arguments, generator) => {
921
921
  };
922
922
  }
923
923
  });
924
- const FCard = /* @__PURE__ */ _export_sfc$4(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
925
- const _hoisted_1$r = {
924
+ const FCard = /* @__PURE__ */ _export_sfc$5(_sfc_main$B, [["__scopeId", "data-v-a66fa373"]]);
925
+ const _hoisted_1$s = {
926
926
  key: 0,
927
927
  class: "f-tag__dot"
928
928
  };
@@ -950,9 +950,9 @@ var __async = (__this, __arguments, generator) => {
950
950
  onMouseenter: _cache[1] || (_cache[1] = ($event) => isHover.value = true),
951
951
  onMouseleave: _cache[2] || (_cache[2] = ($event) => isHover.value = false)
952
952
  }, [
953
- _ctx.type === "dot" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$r)) : vue.createCommentVNode("", true),
953
+ _ctx.type === "dot" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$s)) : vue.createCommentVNode("", true),
954
954
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
955
- _ctx.closable ? (vue.openBlock(), vue.createBlock(FIcon$4, {
955
+ _ctx.closable ? (vue.openBlock(), vue.createBlock(FIcon$5, {
956
956
  key: 1,
957
957
  class: "f-tag__close",
958
958
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emit("close"), ["stop"]))
@@ -966,7 +966,7 @@ var __async = (__this, __arguments, generator) => {
966
966
  };
967
967
  }
968
968
  });
969
- const FTag = /* @__PURE__ */ _export_sfc$4(_sfc_main$A, [["__scopeId", "data-v-02bd5aa6"]]);
969
+ const FTag = /* @__PURE__ */ _export_sfc$5(_sfc_main$A, [["__scopeId", "data-v-02bd5aa6"]]);
970
970
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
971
971
  __name: "FTooltip",
972
972
  props: {
@@ -1071,9 +1071,9 @@ var __async = (__this, __arguments, generator) => {
1071
1071
  };
1072
1072
  }
1073
1073
  });
1074
- const FTooltip = /* @__PURE__ */ _export_sfc$4(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1075
- const _hoisted_1$q = { class: "f-progress" };
1076
- const _hoisted_2$l = {
1074
+ const FTooltip = /* @__PURE__ */ _export_sfc$5(_sfc_main$z, [["__scopeId", "data-v-be9acca7"]]);
1075
+ const _hoisted_1$r = { class: "f-progress" };
1076
+ const _hoisted_2$m = {
1077
1077
  key: 0,
1078
1078
  class: "f-progress__text"
1079
1079
  };
@@ -1089,7 +1089,7 @@ var __async = (__this, __arguments, generator) => {
1089
1089
  const props = __props;
1090
1090
  const clampedPercent = vue.computed(() => Math.min(100, Math.max(0, props.percent)));
1091
1091
  return (_ctx, _cache) => {
1092
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
1092
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
1093
1093
  vue.createElementVNode("div", {
1094
1094
  class: "f-progress__track",
1095
1095
  style: vue.normalizeStyle({ height: `${_ctx.height}px` })
@@ -1102,16 +1102,16 @@ var __async = (__this, __arguments, generator) => {
1102
1102
  })
1103
1103
  }, null, 4)
1104
1104
  ], 4),
1105
- _ctx.showText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$l, vue.toDisplayString(vue.unref(clampedPercent)) + "%", 1)) : vue.createCommentVNode("", true)
1105
+ _ctx.showText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$m, vue.toDisplayString(vue.unref(clampedPercent)) + "%", 1)) : vue.createCommentVNode("", true)
1106
1106
  ]);
1107
1107
  };
1108
1108
  }
1109
1109
  });
1110
- const FProgress = /* @__PURE__ */ _export_sfc$4(_sfc_main$y, [["__scopeId", "data-v-c2164d6e"]]);
1111
- const _hoisted_1$p = { class: "f-tabs__nav-container" };
1112
- const _hoisted_2$k = { class: "f-tabs__nav" };
1113
- const _hoisted_3$j = ["onClick"];
1114
- const _hoisted_4$c = { class: "f-tabs__label" };
1110
+ const FProgress = /* @__PURE__ */ _export_sfc$5(_sfc_main$y, [["__scopeId", "data-v-c2164d6e"]]);
1111
+ const _hoisted_1$q = { class: "f-tabs__nav-container" };
1112
+ const _hoisted_2$l = { class: "f-tabs__nav" };
1113
+ const _hoisted_3$k = ["onClick"];
1114
+ const _hoisted_4$d = { class: "f-tabs__label" };
1115
1115
  const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
1116
1116
  __name: "FTabs",
1117
1117
  props: {
@@ -1145,8 +1145,8 @@ var __async = (__this, __arguments, generator) => {
1145
1145
  return vue.openBlock(), vue.createElementBlock("div", {
1146
1146
  class: vue.normalizeClass(["f-tabs", [`f-tabs--${_ctx.type}`]])
1147
1147
  }, [
1148
- vue.createElementVNode("div", _hoisted_1$p, [
1149
- vue.createElementVNode("div", _hoisted_2$k, [
1148
+ vue.createElementVNode("div", _hoisted_1$q, [
1149
+ vue.createElementVNode("div", _hoisted_2$l, [
1150
1150
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
1151
1151
  return vue.openBlock(), vue.createElementBlock("div", {
1152
1152
  key: tab.name,
@@ -1156,8 +1156,8 @@ var __async = (__this, __arguments, generator) => {
1156
1156
  }]),
1157
1157
  onClick: ($event) => setActiveTab(tab.name, tab.disabled)
1158
1158
  }, [
1159
- vue.createElementVNode("span", _hoisted_4$c, vue.toDisplayString(tab.label), 1)
1160
- ], 10, _hoisted_3$j);
1159
+ vue.createElementVNode("span", _hoisted_4$d, vue.toDisplayString(tab.label), 1)
1160
+ ], 10, _hoisted_3$k);
1161
1161
  }), 128))
1162
1162
  ])
1163
1163
  ]),
@@ -1175,13 +1175,13 @@ var __async = (__this, __arguments, generator) => {
1175
1175
  };
1176
1176
  }
1177
1177
  });
1178
- const FTabs = /* @__PURE__ */ _export_sfc$4(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1179
- const _hoisted_1$o = {
1178
+ const FTabs = /* @__PURE__ */ _export_sfc$5(_sfc_main$x, [["__scopeId", "data-v-268fc654"]]);
1179
+ const _hoisted_1$p = {
1180
1180
  class: "f-breadcrumb__current",
1181
1181
  "aria-current": "page"
1182
1182
  };
1183
- const _hoisted_2$j = ["href"];
1184
- const _hoisted_3$i = {
1183
+ const _hoisted_2$k = ["href"];
1184
+ const _hoisted_3$j = {
1185
1185
  key: 3,
1186
1186
  class: "f-breadcrumb__text"
1187
1187
  };
@@ -1213,12 +1213,12 @@ var __async = (__this, __arguments, generator) => {
1213
1213
  key: 1,
1214
1214
  item
1215
1215
  }, () => [
1216
- vue.createElementVNode("span", _hoisted_1$o, vue.toDisplayString(item.label), 1)
1216
+ vue.createElementVNode("span", _hoisted_1$p, vue.toDisplayString(item.label), 1)
1217
1217
  ], true) : item.href ? (vue.openBlock(), vue.createElementBlock("a", {
1218
1218
  key: 2,
1219
1219
  href: item.href,
1220
1220
  class: "f-breadcrumb__link"
1221
- }, vue.toDisplayString(item.label), 9, _hoisted_2$j)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$i, vue.toDisplayString(item.label), 1))
1221
+ }, vue.toDisplayString(item.label), 9, _hoisted_2$k)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$j, vue.toDisplayString(item.label), 1))
1222
1222
  ], 64);
1223
1223
  }), 128))
1224
1224
  ]),
@@ -1228,7 +1228,7 @@ var __async = (__this, __arguments, generator) => {
1228
1228
  };
1229
1229
  }
1230
1230
  });
1231
- const FBreadcrumb = /* @__PURE__ */ _export_sfc$4(_sfc_main$w, [["__scopeId", "data-v-55b15358"]]);
1231
+ const FBreadcrumb = /* @__PURE__ */ _export_sfc$5(_sfc_main$w, [["__scopeId", "data-v-55b15358"]]);
1232
1232
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
1233
1233
  __name: "FCol",
1234
1234
  props: {
@@ -1270,7 +1270,7 @@ var __async = (__this, __arguments, generator) => {
1270
1270
  };
1271
1271
  }
1272
1272
  });
1273
- const FCol = /* @__PURE__ */ _export_sfc$4(_sfc_main$v, [["__scopeId", "data-v-5a8b0cb4"]]);
1273
+ const FCol = /* @__PURE__ */ _export_sfc$5(_sfc_main$v, [["__scopeId", "data-v-5a8b0cb4"]]);
1274
1274
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
1275
1275
  __name: "FRow",
1276
1276
  props: {
@@ -1324,9 +1324,9 @@ var __async = (__this, __arguments, generator) => {
1324
1324
  };
1325
1325
  }
1326
1326
  });
1327
- const FRow = /* @__PURE__ */ _export_sfc$4(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1328
- const _hoisted_1$n = { class: "f-space__item" };
1329
- const _hoisted_2$i = {
1327
+ const FRow = /* @__PURE__ */ _export_sfc$5(_sfc_main$u, [["__scopeId", "data-v-72f62339"]]);
1328
+ const _hoisted_1$o = { class: "f-space__item" };
1329
+ const _hoisted_2$j = {
1330
1330
  key: 0,
1331
1331
  class: "f-space__split",
1332
1332
  "aria-hidden": "true"
@@ -1385,17 +1385,17 @@ var __async = (__this, __arguments, generator) => {
1385
1385
  }, [
1386
1386
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(children), (child, index) => {
1387
1387
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index }, [
1388
- vue.createElementVNode("div", _hoisted_1$n, [
1388
+ vue.createElementVNode("div", _hoisted_1$o, [
1389
1389
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(child)))
1390
1390
  ]),
1391
- _ctx.split && index < vue.unref(children).length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$i, vue.toDisplayString(_ctx.split), 1)) : vue.createCommentVNode("", true)
1391
+ _ctx.split && index < vue.unref(children).length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$j, vue.toDisplayString(_ctx.split), 1)) : vue.createCommentVNode("", true)
1392
1392
  ], 64);
1393
1393
  }), 128))
1394
1394
  ], 4);
1395
1395
  };
1396
1396
  }
1397
1397
  });
1398
- const FSpace = /* @__PURE__ */ _export_sfc$4(_sfc_main$t, [["__scopeId", "data-v-5fb3b1a0"]]);
1398
+ const FSpace = /* @__PURE__ */ _export_sfc$5(_sfc_main$t, [["__scopeId", "data-v-5fb3b1a0"]]);
1399
1399
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1400
1400
  __name: "FContainer",
1401
1401
  props: {
@@ -1416,7 +1416,7 @@ var __async = (__this, __arguments, generator) => {
1416
1416
  };
1417
1417
  }
1418
1418
  });
1419
- const FContainer = /* @__PURE__ */ _export_sfc$4(_sfc_main$s, [["__scopeId", "data-v-08450ddf"]]);
1419
+ const FContainer = /* @__PURE__ */ _export_sfc$5(_sfc_main$s, [["__scopeId", "data-v-08450ddf"]]);
1420
1420
  const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1421
1421
  __name: "FDivider",
1422
1422
  props: {
@@ -1444,8 +1444,8 @@ var __async = (__this, __arguments, generator) => {
1444
1444
  };
1445
1445
  }
1446
1446
  });
1447
- const FDivider = /* @__PURE__ */ _export_sfc$4(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1448
- const _hoisted_1$m = ["src", "alt"];
1447
+ const FDivider = /* @__PURE__ */ _export_sfc$5(_sfc_main$r, [["__scopeId", "data-v-512ee743"]]);
1448
+ const _hoisted_1$n = ["src", "alt"];
1449
1449
  const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1450
1450
  __name: "FAvatar",
1451
1451
  props: {
@@ -1478,7 +1478,7 @@ var __async = (__this, __arguments, generator) => {
1478
1478
  key: 0,
1479
1479
  src: _ctx.src,
1480
1480
  alt: _ctx.alt
1481
- }, null, 8, _hoisted_1$m)) : (vue.openBlock(), vue.createBlock(FIcon$4, {
1481
+ }, null, 8, _hoisted_1$n)) : (vue.openBlock(), vue.createBlock(FIcon$5, {
1482
1482
  key: 1,
1483
1483
  size: 24
1484
1484
  }, {
@@ -1491,7 +1491,7 @@ var __async = (__this, __arguments, generator) => {
1491
1491
  };
1492
1492
  }
1493
1493
  });
1494
- const FAvatar = /* @__PURE__ */ _export_sfc$4(_sfc_main$q, [["__scopeId", "data-v-b3665268"]]);
1494
+ const FAvatar = /* @__PURE__ */ _export_sfc$5(_sfc_main$q, [["__scopeId", "data-v-b3665268"]]);
1495
1495
  var __defProp2 = Object.defineProperty;
1496
1496
  var __defProps2 = Object.defineProperties;
1497
1497
  var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
@@ -1511,7 +1511,7 @@ var __async = (__this, __arguments, generator) => {
1511
1511
  return a;
1512
1512
  };
1513
1513
  var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
1514
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1514
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1515
1515
  __name: "FIcon",
1516
1516
  props: {
1517
1517
  color: {},
@@ -1535,14 +1535,14 @@ var __async = (__this, __arguments, generator) => {
1535
1535
  };
1536
1536
  }
1537
1537
  });
1538
- const _export_sfc$3 = (sfc, props) => {
1538
+ const _export_sfc$4 = (sfc, props) => {
1539
1539
  const target = sfc.__vccOpts || sfc;
1540
1540
  for (const [key, val] of props) {
1541
1541
  target[key] = val;
1542
1542
  }
1543
1543
  return target;
1544
1544
  };
1545
- const FIcon$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__scopeId", "data-v-baf7de0c"]]);
1545
+ const FIcon$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$N, [["__scopeId", "data-v-baf7de0c"]]);
1546
1546
  var __defProp22 = Object.defineProperty;
1547
1547
  var __getOwnPropSymbols22 = Object.getOwnPropertySymbols;
1548
1548
  var __hasOwnProp22 = Object.prototype.hasOwnProperty;
@@ -1559,7 +1559,7 @@ var __async = (__this, __arguments, generator) => {
1559
1559
  }
1560
1560
  return a;
1561
1561
  };
1562
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1562
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1563
1563
  __name: "FIcon",
1564
1564
  props: {
1565
1565
  color: {},
@@ -1583,14 +1583,14 @@ var __async = (__this, __arguments, generator) => {
1583
1583
  };
1584
1584
  }
1585
1585
  });
1586
- const _export_sfc$2 = (sfc, props) => {
1586
+ const _export_sfc$3 = (sfc, props) => {
1587
1587
  const target = sfc.__vccOpts || sfc;
1588
1588
  for (const [key, val] of props) {
1589
1589
  target[key] = val;
1590
1590
  }
1591
1591
  return target;
1592
1592
  };
1593
- const FIcon$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1593
+ const FIcon$3 = /* @__PURE__ */ _export_sfc$3(_sfc_main$M, [["__scopeId", "data-v-baf7de0c"]]);
1594
1594
  var __defProp222 = Object.defineProperty;
1595
1595
  var __getOwnPropSymbols222 = Object.getOwnPropertySymbols;
1596
1596
  var __hasOwnProp222 = Object.prototype.hasOwnProperty;
@@ -1607,7 +1607,7 @@ var __async = (__this, __arguments, generator) => {
1607
1607
  }
1608
1608
  return a;
1609
1609
  };
1610
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1610
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1611
1611
  __name: "FIcon",
1612
1612
  props: {
1613
1613
  color: {},
@@ -1631,14 +1631,14 @@ var __async = (__this, __arguments, generator) => {
1631
1631
  };
1632
1632
  }
1633
1633
  });
1634
- const _export_sfc = (sfc, props) => {
1634
+ const _export_sfc$2 = (sfc, props) => {
1635
1635
  const target = sfc.__vccOpts || sfc;
1636
1636
  for (const [key, val] of props) {
1637
1637
  target[key] = val;
1638
1638
  }
1639
1639
  return target;
1640
1640
  };
1641
- const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1641
+ const FIcon$2 = /* @__PURE__ */ _export_sfc$2(_sfc_main$L, [["__scopeId", "data-v-baf7de0c"]]);
1642
1642
  var __defProp2222 = Object.defineProperty;
1643
1643
  var __getOwnPropSymbols2222 = Object.getOwnPropertySymbols;
1644
1644
  var __hasOwnProp2222 = Object.prototype.hasOwnProperty;
@@ -1655,7 +1655,7 @@ var __async = (__this, __arguments, generator) => {
1655
1655
  }
1656
1656
  return a;
1657
1657
  };
1658
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1658
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1659
1659
  __name: "FIcon",
1660
1660
  props: {
1661
1661
  color: {},
@@ -1679,14 +1679,14 @@ var __async = (__this, __arguments, generator) => {
1679
1679
  };
1680
1680
  }
1681
1681
  });
1682
- const _export_sfc$1 = (sfc, props) => {
1682
+ const _export_sfc = (sfc, props) => {
1683
1683
  const target = sfc.__vccOpts || sfc;
1684
1684
  for (const [key, val] of props) {
1685
1685
  target[key] = val;
1686
1686
  }
1687
1687
  return target;
1688
1688
  };
1689
- const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1689
+ const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-baf7de0c"]]);
1690
1690
  var __defProp22222 = Object.defineProperty;
1691
1691
  var __getOwnPropSymbols22222 = Object.getOwnPropertySymbols;
1692
1692
  var __hasOwnProp22222 = Object.prototype.hasOwnProperty;
@@ -1703,6 +1703,38 @@ var __async = (__this, __arguments, generator) => {
1703
1703
  }
1704
1704
  return a;
1705
1705
  };
1706
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1707
+ __name: "FIcon",
1708
+ props: {
1709
+ color: {},
1710
+ size: { default: "1em" }
1711
+ },
1712
+ setup(__props) {
1713
+ const props = __props;
1714
+ const style = vue.computed(() => ({
1715
+ width: typeof props.size === "number" ? `${props.size}px` : props.size,
1716
+ height: typeof props.size === "number" ? `${props.size}px` : props.size,
1717
+ color: props.color
1718
+ }));
1719
+ return (_ctx, _cache) => {
1720
+ return vue.openBlock(), vue.createElementBlock("span", {
1721
+ role: "img",
1722
+ class: "f-icon",
1723
+ style: vue.normalizeStyle(vue.unref(style))
1724
+ }, [
1725
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1726
+ ], 4);
1727
+ };
1728
+ }
1729
+ });
1730
+ const _export_sfc$1 = (sfc, props) => {
1731
+ const target = sfc.__vccOpts || sfc;
1732
+ for (const [key, val] of props) {
1733
+ target[key] = val;
1734
+ }
1735
+ return target;
1736
+ };
1737
+ const FIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-baf7de0c"]]);
1706
1738
  var __defProp222222 = Object.defineProperty;
1707
1739
  var __getOwnPropSymbols222222 = Object.getOwnPropertySymbols;
1708
1740
  var __hasOwnProp222222 = Object.prototype.hasOwnProperty;
@@ -1767,6 +1799,22 @@ var __async = (__this, __arguments, generator) => {
1767
1799
  }
1768
1800
  return a;
1769
1801
  };
1802
+ var __defProp2222222222 = Object.defineProperty;
1803
+ var __getOwnPropSymbols2222222222 = Object.getOwnPropertySymbols;
1804
+ var __hasOwnProp2222222222 = Object.prototype.hasOwnProperty;
1805
+ var __propIsEnum2222222222 = Object.prototype.propertyIsEnumerable;
1806
+ var __defNormalProp2222222222 = (obj, key, value) => key in obj ? __defProp2222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1807
+ var __spreadValues2222222222 = (a, b) => {
1808
+ for (var prop in b || (b = {}))
1809
+ if (__hasOwnProp2222222222.call(b, prop))
1810
+ __defNormalProp2222222222(a, prop, b[prop]);
1811
+ if (__getOwnPropSymbols2222222222)
1812
+ for (var prop of __getOwnPropSymbols2222222222(b)) {
1813
+ if (__propIsEnum2222222222.call(b, prop))
1814
+ __defNormalProp2222222222(a, prop, b[prop]);
1815
+ }
1816
+ return a;
1817
+ };
1770
1818
  const _hoisted_1$f$1 = { class: "f-checkbox__wrapper" };
1771
1819
  const _hoisted_2$d$1 = ["checked", "disabled"];
1772
1820
  const _hoisted_3$d$1 = {
@@ -1779,7 +1827,7 @@ var __async = (__this, __arguments, generator) => {
1779
1827
  label: {},
1780
1828
  disabled: { type: Boolean }
1781
1829
  }, {
1782
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1830
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1783
1831
  "modelModifiers": {}
1784
1832
  }),
1785
1833
  emits: ["update:modelValue"],
@@ -1816,7 +1864,7 @@ var __async = (__this, __arguments, generator) => {
1816
1864
  maskColor: { default: "black" },
1817
1865
  showMask: { type: Boolean, default: true }
1818
1866
  }, {
1819
- "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
1867
+ "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
1820
1868
  "modelModifiers": {}
1821
1869
  }),
1822
1870
  emits: ["update:modelValue"],
@@ -1864,22 +1912,6 @@ var __async = (__this, __arguments, generator) => {
1864
1912
  };
1865
1913
  }
1866
1914
  });
1867
- var __defProp2222222222 = Object.defineProperty;
1868
- var __getOwnPropSymbols2222222222 = Object.getOwnPropertySymbols;
1869
- var __hasOwnProp2222222222 = Object.prototype.hasOwnProperty;
1870
- var __propIsEnum2222222222 = Object.prototype.propertyIsEnumerable;
1871
- var __defNormalProp2222222222 = (obj, key, value) => key in obj ? __defProp2222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1872
- var __spreadValues2222222222 = (a, b) => {
1873
- for (var prop in b || (b = {}))
1874
- if (__hasOwnProp2222222222.call(b, prop))
1875
- __defNormalProp2222222222(a, prop, b[prop]);
1876
- if (__getOwnPropSymbols2222222222)
1877
- for (var prop of __getOwnPropSymbols2222222222(b)) {
1878
- if (__propIsEnum2222222222.call(b, prop))
1879
- __defNormalProp2222222222(a, prop, b[prop]);
1880
- }
1881
- return a;
1882
- };
1883
1915
  var __defProp22222222222 = Object.defineProperty;
1884
1916
  var __getOwnPropSymbols22222222222 = Object.getOwnPropertySymbols;
1885
1917
  var __hasOwnProp22222222222 = Object.prototype.hasOwnProperty;
@@ -1896,6 +1928,22 @@ var __async = (__this, __arguments, generator) => {
1896
1928
  }
1897
1929
  return a;
1898
1930
  };
1931
+ var __defProp222222222222 = Object.defineProperty;
1932
+ var __getOwnPropSymbols222222222222 = Object.getOwnPropertySymbols;
1933
+ var __hasOwnProp222222222222 = Object.prototype.hasOwnProperty;
1934
+ var __propIsEnum222222222222 = Object.prototype.propertyIsEnumerable;
1935
+ var __defNormalProp222222222222 = (obj, key, value) => key in obj ? __defProp222222222222(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1936
+ var __spreadValues222222222222 = (a, b) => {
1937
+ for (var prop in b || (b = {}))
1938
+ if (__hasOwnProp222222222222.call(b, prop))
1939
+ __defNormalProp222222222222(a, prop, b[prop]);
1940
+ if (__getOwnPropSymbols222222222222)
1941
+ for (var prop of __getOwnPropSymbols222222222222(b)) {
1942
+ if (__propIsEnum222222222222.call(b, prop))
1943
+ __defNormalProp222222222222(a, prop, b[prop]);
1944
+ }
1945
+ return a;
1946
+ };
1899
1947
  const _hoisted_1$d$1 = { class: "f-checkbox__wrapper" };
1900
1948
  const _hoisted_2$b$1 = ["checked", "disabled"];
1901
1949
  const _hoisted_3$b$1 = {
@@ -1908,7 +1956,7 @@ var __async = (__this, __arguments, generator) => {
1908
1956
  label: {},
1909
1957
  disabled: { type: Boolean }
1910
1958
  }, {
1911
- "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1959
+ "modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
1912
1960
  "modelModifiers": {}
1913
1961
  }),
1914
1962
  emits: ["update:modelValue"],
@@ -1945,7 +1993,7 @@ var __async = (__this, __arguments, generator) => {
1945
1993
  maskColor: { default: "black" },
1946
1994
  showMask: { type: Boolean, default: true }
1947
1995
  }, {
1948
- "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
1996
+ "modelValue": __spreadValues222222222222({ type: Boolean }, { default: false }),
1949
1997
  "modelModifiers": {}
1950
1998
  }),
1951
1999
  emits: ["update:modelValue"],
@@ -2005,7 +2053,7 @@ var __async = (__this, __arguments, generator) => {
2005
2053
  label: {},
2006
2054
  disabled: { type: Boolean }
2007
2055
  }, {
2008
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
2056
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
2009
2057
  "modelModifiers": {}
2010
2058
  }),
2011
2059
  emits: ["update:modelValue"],
@@ -2042,7 +2090,7 @@ var __async = (__this, __arguments, generator) => {
2042
2090
  maskColor: { default: "black" },
2043
2091
  showMask: { type: Boolean, default: true }
2044
2092
  }, {
2045
- "modelValue": __spreadValues2222222222({ type: Boolean }, { default: false }),
2093
+ "modelValue": __spreadValues22222222222({ type: Boolean }, { default: false }),
2046
2094
  "modelModifiers": {}
2047
2095
  }),
2048
2096
  emits: ["update:modelValue"],
@@ -2102,7 +2150,7 @@ var __async = (__this, __arguments, generator) => {
2102
2150
  label: {},
2103
2151
  disabled: { type: Boolean }
2104
2152
  }, {
2105
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2153
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2106
2154
  "modelModifiers": {}
2107
2155
  }),
2108
2156
  emits: ["update:modelValue"],
@@ -2139,7 +2187,7 @@ var __async = (__this, __arguments, generator) => {
2139
2187
  maskColor: { default: "black" },
2140
2188
  showMask: { type: Boolean, default: true }
2141
2189
  }, {
2142
- "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2190
+ "modelValue": __spreadValues222222222({ type: Boolean }, { default: false }),
2143
2191
  "modelModifiers": {}
2144
2192
  }),
2145
2193
  emits: ["update:modelValue"],
@@ -2199,7 +2247,7 @@ var __async = (__this, __arguments, generator) => {
2199
2247
  label: {},
2200
2248
  disabled: { type: Boolean }
2201
2249
  }, {
2202
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2250
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2203
2251
  "modelModifiers": {}
2204
2252
  }),
2205
2253
  emits: ["update:modelValue"],
@@ -2236,7 +2284,7 @@ var __async = (__this, __arguments, generator) => {
2236
2284
  maskColor: { default: "black" },
2237
2285
  showMask: { type: Boolean, default: true }
2238
2286
  }, {
2239
- "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2287
+ "modelValue": __spreadValues22222222({ type: Boolean }, { default: false }),
2240
2288
  "modelModifiers": {}
2241
2289
  }),
2242
2290
  emits: ["update:modelValue"],
@@ -2296,7 +2344,7 @@ var __async = (__this, __arguments, generator) => {
2296
2344
  label: {},
2297
2345
  disabled: { type: Boolean }
2298
2346
  }, {
2299
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2347
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2300
2348
  "modelModifiers": {}
2301
2349
  }),
2302
2350
  emits: ["update:modelValue"],
@@ -2333,7 +2381,7 @@ var __async = (__this, __arguments, generator) => {
2333
2381
  maskColor: { default: "black" },
2334
2382
  showMask: { type: Boolean, default: true }
2335
2383
  }, {
2336
- "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2384
+ "modelValue": __spreadValues2222222({ type: Boolean }, { default: false }),
2337
2385
  "modelModifiers": {}
2338
2386
  }),
2339
2387
  emits: ["update:modelValue"],
@@ -2393,7 +2441,7 @@ var __async = (__this, __arguments, generator) => {
2393
2441
  label: {},
2394
2442
  disabled: { type: Boolean }
2395
2443
  }, {
2396
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2444
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2397
2445
  "modelModifiers": {}
2398
2446
  }),
2399
2447
  emits: ["update:modelValue"],
@@ -2430,7 +2478,7 @@ var __async = (__this, __arguments, generator) => {
2430
2478
  maskColor: { default: "black" },
2431
2479
  showMask: { type: Boolean, default: true }
2432
2480
  }, {
2433
- "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2481
+ "modelValue": __spreadValues222222({ type: Boolean }, { default: false }),
2434
2482
  "modelModifiers": {}
2435
2483
  }),
2436
2484
  emits: ["update:modelValue"],
@@ -2490,7 +2538,7 @@ var __async = (__this, __arguments, generator) => {
2490
2538
  label: {},
2491
2539
  disabled: { type: Boolean }
2492
2540
  }, {
2493
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2541
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2494
2542
  "modelModifiers": {}
2495
2543
  }),
2496
2544
  emits: ["update:modelValue"],
@@ -2527,7 +2575,7 @@ var __async = (__this, __arguments, generator) => {
2527
2575
  maskColor: { default: "black" },
2528
2576
  showMask: { type: Boolean, default: true }
2529
2577
  }, {
2530
- "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2578
+ "modelValue": __spreadValues22222({ type: Boolean }, { default: false }),
2531
2579
  "modelModifiers": {}
2532
2580
  }),
2533
2581
  emits: ["update:modelValue"],
@@ -2700,7 +2748,7 @@ var __async = (__this, __arguments, generator) => {
2700
2748
  label: {},
2701
2749
  disabled: { type: Boolean }
2702
2750
  }, {
2703
- "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
2751
+ "modelValue": __spreadValues2222({ type: Boolean }, { default: false }),
2704
2752
  "modelModifiers": {}
2705
2753
  }),
2706
2754
  emits: ["update:modelValue"],
@@ -2759,7 +2807,7 @@ var __async = (__this, __arguments, generator) => {
2759
2807
  destroyOnClose: { type: Boolean, default: false },
2760
2808
  beforeClose: {}
2761
2809
  }, {
2762
- "modelValue": __spreadValues222({ type: Boolean }, { required: true }),
2810
+ "modelValue": __spreadValues2222({ type: Boolean }, { required: true }),
2763
2811
  "modelModifiers": {}
2764
2812
  }),
2765
2813
  emits: /* @__PURE__ */ vue.mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
@@ -3030,7 +3078,7 @@ var __async = (__this, __arguments, generator) => {
3030
3078
  label: {},
3031
3079
  disabled: { type: Boolean }
3032
3080
  }, {
3033
- "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
3081
+ "modelValue": __spreadValues222({ type: Boolean }, { default: false }),
3034
3082
  "modelModifiers": {}
3035
3083
  }),
3036
3084
  emits: ["update:modelValue"],
@@ -3089,7 +3137,7 @@ var __async = (__this, __arguments, generator) => {
3089
3137
  destroyOnClose: { type: Boolean, default: false },
3090
3138
  beforeClose: {}
3091
3139
  }, {
3092
- "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
3140
+ "modelValue": __spreadValues222({ type: Boolean }, { required: true }),
3093
3141
  "modelModifiers": {}
3094
3142
  }),
3095
3143
  emits: /* @__PURE__ */ vue.mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
@@ -3360,7 +3408,7 @@ var __async = (__this, __arguments, generator) => {
3360
3408
  label: {},
3361
3409
  disabled: { type: Boolean }
3362
3410
  }, {
3363
- "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3411
+ "modelValue": __spreadValues22({ type: Boolean }, { default: false }),
3364
3412
  "modelModifiers": {}
3365
3413
  }),
3366
3414
  emits: ["update:modelValue"],
@@ -3390,6 +3438,336 @@ var __async = (__this, __arguments, generator) => {
3390
3438
  };
3391
3439
  }
3392
3440
  });
3441
+ const _hoisted_1$l = {
3442
+ key: 0,
3443
+ class: "f-dialog__icon"
3444
+ };
3445
+ const _hoisted_2$h = { class: "f-dialog__title" };
3446
+ const _hoisted_3$h = { class: "f-dialog__body" };
3447
+ const _hoisted_4$b = { key: 0 };
3448
+ const _hoisted_5$a = {
3449
+ key: 2,
3450
+ class: "f-dialog__footer"
3451
+ };
3452
+ /* @__PURE__ */ vue.defineComponent({
3453
+ __name: "FDialog",
3454
+ props: /* @__PURE__ */ vue.mergeModels({
3455
+ title: { default: "提示" },
3456
+ content: {},
3457
+ width: { default: "500px" },
3458
+ type: { default: "default" },
3459
+ confirmText: { default: "确定" },
3460
+ cancelText: { default: "取消" },
3461
+ showCancel: { type: Boolean, default: true },
3462
+ showClose: { type: Boolean, default: true },
3463
+ closeOnClickModal: { type: Boolean, default: true },
3464
+ closeOnEsc: { type: Boolean, default: true },
3465
+ center: { type: Boolean, default: false },
3466
+ fullscreen: { type: Boolean, default: false },
3467
+ destroyOnClose: { type: Boolean, default: false },
3468
+ beforeClose: {}
3469
+ }, {
3470
+ "modelValue": __spreadValues22({ type: Boolean }, { required: true }),
3471
+ "modelModifiers": {}
3472
+ }),
3473
+ emits: /* @__PURE__ */ vue.mergeModels(["open", "close", "confirm", "cancel"], ["update:modelValue"]),
3474
+ setup(__props, { emit: __emit }) {
3475
+ const props = __props;
3476
+ const emit = __emit;
3477
+ const visible = vue.useModel(__props, "modelValue");
3478
+ const handleClose = () => {
3479
+ visible.value = false;
3480
+ emit("close");
3481
+ };
3482
+ const handleConfirm = () => {
3483
+ emit("confirm");
3484
+ if (props.beforeClose) {
3485
+ props.beforeClose(() => {
3486
+ visible.value = false;
3487
+ });
3488
+ } else {
3489
+ visible.value = false;
3490
+ }
3491
+ };
3492
+ const handleCancel = () => {
3493
+ emit("cancel");
3494
+ handleClose();
3495
+ };
3496
+ const handleOverlayClick = (e) => {
3497
+ if (props.closeOnClickModal && e.target === e.currentTarget) {
3498
+ handleClose();
3499
+ }
3500
+ };
3501
+ const handleKeydown = (e) => {
3502
+ if (props.closeOnEsc && e.key === "Escape") {
3503
+ handleClose();
3504
+ }
3505
+ };
3506
+ vue.onMounted(() => {
3507
+ if (props.closeOnEsc) {
3508
+ window.addEventListener("keydown", handleKeydown);
3509
+ }
3510
+ emit("open");
3511
+ });
3512
+ vue.onBeforeUnmount(() => {
3513
+ if (props.closeOnEsc) {
3514
+ window.removeEventListener("keydown", handleKeydown);
3515
+ }
3516
+ });
3517
+ const iconMap = {
3518
+ info: ionicons5.InformationCircleOutline,
3519
+ success: ionicons5.CheckmarkCircleOutline,
3520
+ warning: ionicons5.WarningOutline,
3521
+ failed: ionicons5.AlertCircleOutline,
3522
+ primary: ionicons5.InformationCircleOutline,
3523
+ default: ionicons5.InformationCircleOutline
3524
+ };
3525
+ const hasIcon = vue.computed(() => props.type && props.type !== "default");
3526
+ return (_ctx, _cache) => {
3527
+ return vue.openBlock(), vue.createBlock(vue.Teleport, { to: "body" }, [
3528
+ vue.createVNode(vue.Transition, { name: "f-dialog-fade" }, {
3529
+ default: vue.withCtx(() => [
3530
+ visible.value ? (vue.openBlock(), vue.createElementBlock("div", {
3531
+ key: 0,
3532
+ class: "f-dialog-overlay",
3533
+ onClick: handleOverlayClick
3534
+ }, [
3535
+ vue.createVNode(vue.Transition, { name: "f-dialog-zoom" }, {
3536
+ default: vue.withCtx(() => [
3537
+ visible.value ? (vue.openBlock(), vue.createElementBlock("div", {
3538
+ key: 0,
3539
+ class: vue.normalizeClass(["f-dialog", [
3540
+ `f-dialog--${_ctx.type}`,
3541
+ {
3542
+ "is-center": _ctx.center,
3543
+ "is-fullscreen": _ctx.fullscreen
3544
+ }
3545
+ ]]),
3546
+ style: vue.normalizeStyle({ width: _ctx.fullscreen ? "100%" : _ctx.width })
3547
+ }, [
3548
+ _ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
3549
+ key: 0,
3550
+ type: "button",
3551
+ class: "f-dialog__close",
3552
+ onClick: handleClose
3553
+ }, [
3554
+ vue.createVNode(FIcon$3, null, {
3555
+ default: vue.withCtx(() => [
3556
+ vue.createVNode(vue.unref(ionicons5.CloseOutline))
3557
+ ]),
3558
+ _: 1
3559
+ })
3560
+ ])) : vue.createCommentVNode("", true),
3561
+ _ctx.$slots.header || _ctx.title ? (vue.openBlock(), vue.createElementBlock("div", {
3562
+ key: 1,
3563
+ class: vue.normalizeClass(["f-dialog__header", { "has-icon": vue.unref(hasIcon) }])
3564
+ }, [
3565
+ vue.renderSlot(_ctx.$slots, "header", {}, () => [
3566
+ vue.unref(hasIcon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
3567
+ vue.createVNode(FIcon$3, null, {
3568
+ default: vue.withCtx(() => [
3569
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(iconMap[_ctx.type])))
3570
+ ]),
3571
+ _: 1
3572
+ })
3573
+ ])) : vue.createCommentVNode("", true),
3574
+ vue.createElementVNode("h3", _hoisted_2$h, vue.toDisplayString(_ctx.title), 1)
3575
+ ], true)
3576
+ ], 2)) : vue.createCommentVNode("", true),
3577
+ vue.createElementVNode("div", _hoisted_3$h, [
3578
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
3579
+ _ctx.content ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, vue.toDisplayString(_ctx.content), 1)) : vue.createCommentVNode("", true)
3580
+ ], true)
3581
+ ]),
3582
+ _ctx.$slots.footer || _ctx.showCancel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$a, [
3583
+ vue.renderSlot(_ctx.$slots, "footer", {}, () => [
3584
+ _ctx.showCancel ? (vue.openBlock(), vue.createBlock(FButton$3, {
3585
+ key: 0,
3586
+ onClick: handleCancel
3587
+ }, {
3588
+ default: vue.withCtx(() => [
3589
+ vue.createTextVNode(vue.toDisplayString(_ctx.cancelText), 1)
3590
+ ]),
3591
+ _: 1
3592
+ })) : vue.createCommentVNode("", true),
3593
+ vue.createVNode(FButton$3, {
3594
+ type: "primary",
3595
+ onClick: handleConfirm
3596
+ }, {
3597
+ default: vue.withCtx(() => [
3598
+ vue.createTextVNode(vue.toDisplayString(_ctx.confirmText), 1)
3599
+ ]),
3600
+ _: 1
3601
+ })
3602
+ ], true)
3603
+ ])) : vue.createCommentVNode("", true)
3604
+ ], 6)) : vue.createCommentVNode("", true)
3605
+ ]),
3606
+ _: 3
3607
+ })
3608
+ ])) : vue.createCommentVNode("", true)
3609
+ ]),
3610
+ _: 3
3611
+ })
3612
+ ]);
3613
+ };
3614
+ }
3615
+ });
3616
+ const _hoisted_1$i$4 = ["type", "disabled"];
3617
+ const _hoisted_2$e$4 = { class: "f-button__inner" };
3618
+ const _hoisted_3$e$4 = {
3619
+ key: 0,
3620
+ class: "f-loader"
3621
+ };
3622
+ const _hoisted_4$8$4 = {
3623
+ key: 2,
3624
+ class: "f-button__text"
3625
+ };
3626
+ const _sfc_main$o$4 = /* @__PURE__ */ vue.defineComponent({
3627
+ __name: "FButton",
3628
+ props: {
3629
+ type: {},
3630
+ size: {},
3631
+ nativeType: { default: "button" },
3632
+ loading: { type: Boolean },
3633
+ disabled: { type: Boolean },
3634
+ round: { type: [Boolean, Number] },
3635
+ circle: { type: Boolean },
3636
+ plain: { type: Boolean },
3637
+ text: { type: Boolean },
3638
+ block: { type: Boolean },
3639
+ icon: {},
3640
+ active: { type: Boolean },
3641
+ bgColor: {},
3642
+ color: {}
3643
+ },
3644
+ setup(__props) {
3645
+ const SIZE_MAP = {
3646
+ small: { h: "24px", p: "0 8px", f: "12px", i: "14px" },
3647
+ normal: { h: "32px", p: "0 12px", f: "13px", i: "16px" },
3648
+ large: { h: "40px", p: "0 16px", f: "14px", i: "18px" }
3649
+ };
3650
+ const props = __props;
3651
+ const slots = vue.useSlots();
3652
+ const groupContext = vue.inject("FButtonGroupContext", null);
3653
+ const mergedSize = vue.computed(() => {
3654
+ var _a, _b;
3655
+ return (_b = (_a = props.size) != null ? _a : groupContext == null ? void 0 : groupContext.size) != null ? _b : "normal";
3656
+ });
3657
+ const mergedType = vue.computed(() => {
3658
+ var _a, _b;
3659
+ return (_b = (_a = props.type) != null ? _a : groupContext == null ? void 0 : groupContext.type) != null ? _b : "default";
3660
+ });
3661
+ const isDisabled = vue.computed(() => props.disabled || props.loading || (groupContext == null ? void 0 : groupContext.disabled));
3662
+ const hasText = vue.computed(() => !!slots.default);
3663
+ const buttonStyle = vue.computed(() => {
3664
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3665
+ const style = {
3666
+ height: s.h,
3667
+ padding: props.circle ? "0" : s.p,
3668
+ fontSize: s.f,
3669
+ minWidth: props.circle ? s.h : "auto",
3670
+ backgroundColor: props.bgColor,
3671
+ color: props.color
3672
+ };
3673
+ if (props.circle) {
3674
+ style.borderRadius = "50%";
3675
+ style.width = s.h;
3676
+ } else if (typeof props.round === "number") {
3677
+ style.borderRadius = `${props.round}px`;
3678
+ } else if (props.round === true) {
3679
+ style.borderRadius = "999px";
3680
+ }
3681
+ return style;
3682
+ });
3683
+ const iconSize = vue.computed(() => {
3684
+ const s = SIZE_MAP[mergedSize.value] || SIZE_MAP.normal;
3685
+ return s.i;
3686
+ });
3687
+ return (_ctx, _cache) => {
3688
+ return vue.openBlock(), vue.createElementBlock("button", {
3689
+ type: _ctx.nativeType,
3690
+ class: vue.normalizeClass(["f-button", [
3691
+ `f-button--${vue.unref(mergedType)}`,
3692
+ `f-button--${vue.unref(mergedSize)}`,
3693
+ {
3694
+ "is-disabled": vue.unref(isDisabled),
3695
+ "is-loading": _ctx.loading,
3696
+ "is-active": _ctx.active,
3697
+ "is-text": _ctx.text,
3698
+ "is-icon-only": !vue.unref(hasText) && (_ctx.icon || _ctx.$slots.icon)
3699
+ }
3700
+ ]]),
3701
+ disabled: vue.unref(isDisabled),
3702
+ style: vue.normalizeStyle(vue.unref(buttonStyle))
3703
+ }, [
3704
+ vue.createElementVNode("span", _hoisted_2$e$4, [
3705
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e$4)) : vue.createCommentVNode("", true),
3706
+ !_ctx.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
3707
+ _ctx.$slots.icon || _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(FIcon$3), {
3708
+ key: 0,
3709
+ class: "f-button__icon",
3710
+ style: vue.normalizeStyle({ fontSize: vue.unref(iconSize) })
3711
+ }, {
3712
+ default: vue.withCtx(() => [
3713
+ vue.renderSlot(_ctx.$slots, "icon", {}, () => [
3714
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), { key: 0 })) : vue.createCommentVNode("", true)
3715
+ ], true)
3716
+ ]),
3717
+ _: 3
3718
+ }, 8, ["style"])) : vue.createCommentVNode("", true)
3719
+ ], 64)) : vue.createCommentVNode("", true),
3720
+ vue.unref(hasText) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$8$4, [
3721
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
3722
+ ])) : vue.createCommentVNode("", true)
3723
+ ])
3724
+ ], 14, _hoisted_1$i$4);
3725
+ };
3726
+ }
3727
+ });
3728
+ const FButton$4 = /* @__PURE__ */ _export_sfc$4(_sfc_main$o$4, [["__scopeId", "data-v-41be5001"]]);
3729
+ const _hoisted_1$e$4 = { class: "f-checkbox__wrapper" };
3730
+ const _hoisted_2$c$4 = ["checked", "disabled"];
3731
+ const _hoisted_3$c$4 = {
3732
+ key: 0,
3733
+ class: "f-checkbox__label"
3734
+ };
3735
+ /* @__PURE__ */ vue.defineComponent({
3736
+ __name: "FCheckbox",
3737
+ props: /* @__PURE__ */ vue.mergeModels({
3738
+ label: {},
3739
+ disabled: { type: Boolean }
3740
+ }, {
3741
+ "modelValue": __spreadValues2({ type: Boolean }, { default: false }),
3742
+ "modelModifiers": {}
3743
+ }),
3744
+ emits: ["update:modelValue"],
3745
+ setup(__props) {
3746
+ const modelValue = vue.useModel(__props, "modelValue");
3747
+ const props = __props;
3748
+ const handleChange = (e) => {
3749
+ if (props.disabled) return;
3750
+ const target = e.target;
3751
+ modelValue.value = target.checked;
3752
+ };
3753
+ return (_ctx, _cache) => {
3754
+ return vue.openBlock(), vue.createElementBlock("label", {
3755
+ class: vue.normalizeClass(["f-checkbox", { "is-disabled": _ctx.disabled }])
3756
+ }, [
3757
+ vue.createElementVNode("span", _hoisted_1$e$4, [
3758
+ vue.createElementVNode("input", {
3759
+ type: "checkbox",
3760
+ checked: modelValue.value,
3761
+ disabled: _ctx.disabled,
3762
+ onChange: handleChange
3763
+ }, null, 40, _hoisted_2$c$4),
3764
+ _cache[0] || (_cache[0] = vue.createElementVNode("span", { class: "f-checkbox__checkmark" }, null, -1))
3765
+ ]),
3766
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$c$4, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true)
3767
+ ], 2);
3768
+ };
3769
+ }
3770
+ });
3393
3771
  const _hoisted_1$2$1 = { class: "f-message__content" };
3394
3772
  const _sfc_main$2$1 = /* @__PURE__ */ vue.defineComponent({
3395
3773
  __name: "FMessage",
@@ -3461,7 +3839,7 @@ var __async = (__this, __arguments, generator) => {
3461
3839
  onMouseenter: clearTimer,
3462
3840
  onMouseleave: startTimer
3463
3841
  }, [
3464
- _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$3, {
3842
+ _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$4, {
3465
3843
  key: 0,
3466
3844
  class: "f-message__icon"
3467
3845
  }, {
@@ -3478,7 +3856,7 @@ var __async = (__this, __arguments, generator) => {
3478
3856
  "aria-label": "close",
3479
3857
  onClick: close
3480
3858
  }, [
3481
- vue.createVNode(FIcon$3, null, {
3859
+ vue.createVNode(FIcon$4, null, {
3482
3860
  default: vue.withCtx(() => [
3483
3861
  vue.createVNode(vue.unref(ionicons5.Close))
3484
3862
  ]),
@@ -3492,7 +3870,7 @@ var __async = (__this, __arguments, generator) => {
3492
3870
  };
3493
3871
  }
3494
3872
  });
3495
- const FMessageComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3873
+ const FMessageComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$2$1, [["__scopeId", "data-v-97556afa"]]);
3496
3874
  const GAP$1$1 = 16;
3497
3875
  const BASE_OFFSET$1$1 = 20;
3498
3876
  let seed$1$1 = 0;
@@ -3648,7 +4026,7 @@ var __async = (__this, __arguments, generator) => {
3648
4026
  onMouseleave: startTimer,
3649
4027
  onClick: handleClick
3650
4028
  }, [
3651
- _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$3, {
4029
+ _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$4, {
3652
4030
  key: 0,
3653
4031
  class: "f-notification__icon"
3654
4032
  }, {
@@ -3668,7 +4046,7 @@ var __async = (__this, __arguments, generator) => {
3668
4046
  "aria-label": "close",
3669
4047
  onClick: vue.withModifiers(close, ["stop"])
3670
4048
  }, [
3671
- vue.createVNode(FIcon$3, null, {
4049
+ vue.createVNode(FIcon$4, null, {
3672
4050
  default: vue.withCtx(() => [
3673
4051
  vue.createVNode(vue.unref(ionicons5.Close))
3674
4052
  ]),
@@ -3682,7 +4060,7 @@ var __async = (__this, __arguments, generator) => {
3682
4060
  };
3683
4061
  }
3684
4062
  });
3685
- const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
4063
+ const FNotificationComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$1$1, [["__scopeId", "data-v-0a7315d6"]]);
3686
4064
  const GAP$2 = 16;
3687
4065
  const BASE_OFFSET$2 = 20;
3688
4066
  let seed$2 = 0;
@@ -3771,14 +4149,14 @@ var __async = (__this, __arguments, generator) => {
3771
4149
  });
3772
4150
  });
3773
4151
  };
3774
- const _hoisted_1$l = {
4152
+ const _hoisted_1$m = {
3775
4153
  key: 0,
3776
4154
  class: "f-dialog__icon"
3777
4155
  };
3778
- const _hoisted_2$h = { class: "f-dialog__title" };
3779
- const _hoisted_3$h = { class: "f-dialog__body" };
3780
- const _hoisted_4$b = { key: 0 };
3781
- const _hoisted_5$a = {
4156
+ const _hoisted_2$i = { class: "f-dialog__title" };
4157
+ const _hoisted_3$i = { class: "f-dialog__body" };
4158
+ const _hoisted_4$c = { key: 0 };
4159
+ const _hoisted_5$b = {
3782
4160
  key: 2,
3783
4161
  class: "f-dialog__footer"
3784
4162
  };
@@ -3884,7 +4262,7 @@ var __async = (__this, __arguments, generator) => {
3884
4262
  class: "f-dialog__close",
3885
4263
  onClick: handleClose
3886
4264
  }, [
3887
- vue.createVNode(FIcon$3, null, {
4265
+ vue.createVNode(FIcon$4, null, {
3888
4266
  default: vue.withCtx(() => [
3889
4267
  vue.createVNode(vue.unref(ionicons5.CloseOutline))
3890
4268
  ]),
@@ -3896,25 +4274,25 @@ var __async = (__this, __arguments, generator) => {
3896
4274
  class: vue.normalizeClass(["f-dialog__header", { "has-icon": vue.unref(hasIcon) }])
3897
4275
  }, [
3898
4276
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
3899
- vue.unref(hasIcon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
3900
- vue.createVNode(FIcon$3, null, {
4277
+ vue.unref(hasIcon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
4278
+ vue.createVNode(FIcon$4, null, {
3901
4279
  default: vue.withCtx(() => [
3902
4280
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(iconMap[_ctx.type])))
3903
4281
  ]),
3904
4282
  _: 1
3905
4283
  })
3906
4284
  ])) : vue.createCommentVNode("", true),
3907
- vue.createElementVNode("h3", _hoisted_2$h, vue.toDisplayString(_ctx.title), 1)
4285
+ vue.createElementVNode("h3", _hoisted_2$i, vue.toDisplayString(_ctx.title), 1)
3908
4286
  ], true)
3909
4287
  ], 2)) : vue.createCommentVNode("", true),
3910
- vue.createElementVNode("div", _hoisted_3$h, [
4288
+ vue.createElementVNode("div", _hoisted_3$i, [
3911
4289
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
3912
- _ctx.content ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, vue.toDisplayString(_ctx.content), 1)) : vue.createCommentVNode("", true)
4290
+ _ctx.content ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$c, vue.toDisplayString(_ctx.content), 1)) : vue.createCommentVNode("", true)
3913
4291
  ], true)
3914
4292
  ]),
3915
- _ctx.$slots.footer || _ctx.showCancel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$a, [
4293
+ _ctx.$slots.footer || _ctx.showCancel ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$b, [
3916
4294
  vue.renderSlot(_ctx.$slots, "footer", {}, () => [
3917
- _ctx.showCancel ? (vue.openBlock(), vue.createBlock(FButton$3, {
4295
+ _ctx.showCancel ? (vue.openBlock(), vue.createBlock(FButton$4, {
3918
4296
  key: 0,
3919
4297
  onClick: handleCancel
3920
4298
  }, {
@@ -3923,7 +4301,7 @@ var __async = (__this, __arguments, generator) => {
3923
4301
  ]),
3924
4302
  _: 1
3925
4303
  })) : vue.createCommentVNode("", true),
3926
- vue.createVNode(FButton$3, {
4304
+ vue.createVNode(FButton$4, {
3927
4305
  type: "primary",
3928
4306
  onClick: handleConfirm
3929
4307
  }, {
@@ -3946,7 +4324,7 @@ var __async = (__this, __arguments, generator) => {
3946
4324
  };
3947
4325
  }
3948
4326
  });
3949
- const FDialogComp$1 = /* @__PURE__ */ _export_sfc$3(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
4327
+ const FDialogComp$1 = /* @__PURE__ */ _export_sfc$4(_sfc_main$p, [["__scopeId", "data-v-991352de"]]);
3950
4328
  const showDialog$1 = (options) => {
3951
4329
  return new Promise((resolve) => {
3952
4330
  const container = document.createElement("div");
@@ -4118,7 +4496,7 @@ var __async = (__this, __arguments, generator) => {
4118
4496
  vue.createElementVNode("span", _hoisted_2$e, [
4119
4497
  _ctx.loading ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e)) : vue.createCommentVNode("", true),
4120
4498
  !_ctx.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
4121
- _ctx.$slots.icon || _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(FIcon$3), {
4499
+ _ctx.$slots.icon || _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(FIcon$4), {
4122
4500
  key: 0,
4123
4501
  class: "f-button__icon",
4124
4502
  style: vue.normalizeStyle({ fontSize: vue.unref(iconSize) })
@@ -4139,7 +4517,7 @@ var __async = (__this, __arguments, generator) => {
4139
4517
  };
4140
4518
  }
4141
4519
  });
4142
- const FButton = /* @__PURE__ */ _export_sfc$4(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
4520
+ const FButton = /* @__PURE__ */ _export_sfc$5(_sfc_main$o, [["__scopeId", "data-v-41be5001"]]);
4143
4521
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
4144
4522
  __name: "FTypography",
4145
4523
  props: {
@@ -4162,7 +4540,7 @@ var __async = (__this, __arguments, generator) => {
4162
4540
  };
4163
4541
  }
4164
4542
  });
4165
- const FTypography = /* @__PURE__ */ _export_sfc$4(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
4543
+ const FTypography = /* @__PURE__ */ _export_sfc$5(_sfc_main$n, [["__scopeId", "data-v-50e044db"]]);
4166
4544
  const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4167
4545
  __name: "FText",
4168
4546
  props: {
@@ -4221,7 +4599,7 @@ var __async = (__this, __arguments, generator) => {
4221
4599
  };
4222
4600
  }
4223
4601
  });
4224
- const FText = /* @__PURE__ */ _export_sfc$4(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
4602
+ const FText = /* @__PURE__ */ _export_sfc$5(_sfc_main$m, [["__scopeId", "data-v-8bcfc6b3"]]);
4225
4603
  const _hoisted_1$h = ["href", "target", "rel"];
4226
4604
  const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4227
4605
  __name: "FLink",
@@ -4250,7 +4628,7 @@ var __async = (__this, __arguments, generator) => {
4250
4628
  };
4251
4629
  }
4252
4630
  });
4253
- const FLink = /* @__PURE__ */ _export_sfc$4(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
4631
+ const FLink = /* @__PURE__ */ _export_sfc$5(_sfc_main$l, [["__scopeId", "data-v-daaa3e25"]]);
4254
4632
  const _hoisted_1$g = { class: "f-badge" };
4255
4633
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
4256
4634
  __name: "FBadge",
@@ -4292,7 +4670,7 @@ var __async = (__this, __arguments, generator) => {
4292
4670
  };
4293
4671
  }
4294
4672
  });
4295
- const FBadge = /* @__PURE__ */ _export_sfc$4(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
4673
+ const FBadge = /* @__PURE__ */ _export_sfc$5(_sfc_main$k, [["__scopeId", "data-v-be6947ff"]]);
4296
4674
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
4297
4675
  __name: "FAffix",
4298
4676
  props: {
@@ -4321,7 +4699,7 @@ var __async = (__this, __arguments, generator) => {
4321
4699
  };
4322
4700
  }
4323
4701
  });
4324
- const FAffix = /* @__PURE__ */ _export_sfc$4(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
4702
+ const FAffix = /* @__PURE__ */ _export_sfc$5(_sfc_main$j, [["__scopeId", "data-v-8506d679"]]);
4325
4703
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
4326
4704
  __name: "FForm",
4327
4705
  props: {
@@ -4379,7 +4757,7 @@ var __async = (__this, __arguments, generator) => {
4379
4757
  };
4380
4758
  }
4381
4759
  });
4382
- const FForm = /* @__PURE__ */ _export_sfc$4(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4760
+ const FForm = /* @__PURE__ */ _export_sfc$5(_sfc_main$i, [["__scopeId", "data-v-21f7de9b"]]);
4383
4761
  const validateSingleField = (value, rules) => __async(null, null, function* () {
4384
4762
  const ruleArray = Array.isArray(rules) ? rules : [rules];
4385
4763
  for (let rule of ruleArray) {
@@ -4552,7 +4930,7 @@ var __async = (__this, __arguments, generator) => {
4552
4930
  };
4553
4931
  }
4554
4932
  });
4555
- const FFormItem = /* @__PURE__ */ _export_sfc$4(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4933
+ const FFormItem = /* @__PURE__ */ _export_sfc$5(_sfc_main$h, [["__scopeId", "data-v-c3d6ec01"]]);
4556
4934
  const _hoisted_1$e = { class: "f-checkbox__wrapper" };
4557
4935
  const _hoisted_2$c = ["checked", "disabled"];
4558
4936
  const _hoisted_3$c = {
@@ -4595,7 +4973,7 @@ var __async = (__this, __arguments, generator) => {
4595
4973
  };
4596
4974
  }
4597
4975
  });
4598
- const FCheckbox = /* @__PURE__ */ _export_sfc$4(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4976
+ const FCheckbox = /* @__PURE__ */ _export_sfc$5(_sfc_main$g, [["__scopeId", "data-v-633b283a"]]);
4599
4977
  const _hoisted_1$d = { class: "alert__body" };
4600
4978
  const _hoisted_2$b = { class: "alert__title" };
4601
4979
  const _hoisted_3$b = { class: "alert__content" };
@@ -4619,7 +4997,7 @@ var __async = (__this, __arguments, generator) => {
4619
4997
  return vue.openBlock(), vue.createElementBlock("div", {
4620
4998
  class: vue.normalizeClass(["alert", `alert--${_ctx.type}`])
4621
4999
  }, [
4622
- vue.createVNode(FIcon$4, { class: "alert__icon" }, {
5000
+ vue.createVNode(FIcon$5, { class: "alert__icon" }, {
4623
5001
  default: vue.withCtx(() => [
4624
5002
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(config).icon)))
4625
5003
  ]),
@@ -4637,7 +5015,7 @@ var __async = (__this, __arguments, generator) => {
4637
5015
  };
4638
5016
  }
4639
5017
  });
4640
- const FAlert = /* @__PURE__ */ _export_sfc$4(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
5018
+ const FAlert = /* @__PURE__ */ _export_sfc$5(_sfc_main$f, [["__scopeId", "data-v-f16678ef"]]);
4641
5019
  const _hoisted_1$c = { class: "f-editor__toolbar" };
4642
5020
  const _hoisted_2$a = { class: "f-editor__status" };
4643
5021
  const _hoisted_3$a = { class: "f-editor__lines" };
@@ -4899,7 +5277,7 @@ var __async = (__this, __arguments, generator) => {
4899
5277
  };
4900
5278
  }
4901
5279
  });
4902
- const FEditor = /* @__PURE__ */ _export_sfc$4(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
5280
+ const FEditor = /* @__PURE__ */ _export_sfc$5(_sfc_main$e, [["__scopeId", "data-v-6d590649"]]);
4903
5281
  const _hoisted_1$b = { class: "f-table" };
4904
5282
  const _hoisted_2$9 = {
4905
5283
  key: 0,
@@ -5104,7 +5482,7 @@ var __async = (__this, __arguments, generator) => {
5104
5482
  };
5105
5483
  }
5106
5484
  });
5107
- const FTable = /* @__PURE__ */ _export_sfc$4(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
5485
+ const FTable = /* @__PURE__ */ _export_sfc$5(_sfc_main$d, [["__scopeId", "data-v-01724962"]]);
5108
5486
  const _hoisted_1$a = { class: "f-upload" };
5109
5487
  const _hoisted_2$8 = { class: "f-upload__label" };
5110
5488
  const _hoisted_3$8 = ["accept"];
@@ -5180,7 +5558,7 @@ var __async = (__this, __arguments, generator) => {
5180
5558
  onChange: onFileChange
5181
5559
  }, null, 40, _hoisted_3$8),
5182
5560
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
5183
- vue.createVNode(FIcon$4, { size: 40 }, {
5561
+ vue.createVNode(FIcon$5, { size: 40 }, {
5184
5562
  default: vue.withCtx(() => [
5185
5563
  vue.createVNode(vue.unref(ionicons5.CloudUpload))
5186
5564
  ]),
@@ -5192,7 +5570,7 @@ var __async = (__this, __arguments, generator) => {
5192
5570
  ])
5193
5571
  ], 34),
5194
5572
  file.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
5195
- vue.createVNode(FIcon$4, null, {
5573
+ vue.createVNode(FIcon$5, null, {
5196
5574
  default: vue.withCtx(() => [
5197
5575
  vue.createVNode(vue.unref(ionicons5.DocumentOutline))
5198
5576
  ]),
@@ -5206,7 +5584,7 @@ var __async = (__this, __arguments, generator) => {
5206
5584
  "show-text": ""
5207
5585
  }, null, 8, ["percent"])) : vue.createCommentVNode("", true)
5208
5586
  ]),
5209
- vue.createVNode(FIcon$4, {
5587
+ vue.createVNode(FIcon$5, {
5210
5588
  onClick: vue.withModifiers(clearFile, ["stop"]),
5211
5589
  onMouseenter: _cache[0] || (_cache[0] = ($event) => isCloseHover.value = true),
5212
5590
  onMouseleave: _cache[1] || (_cache[1] = ($event) => isCloseHover.value = false),
@@ -5222,7 +5600,7 @@ var __async = (__this, __arguments, generator) => {
5222
5600
  };
5223
5601
  }
5224
5602
  });
5225
- const FUpload = /* @__PURE__ */ _export_sfc$4(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
5603
+ const FUpload = /* @__PURE__ */ _export_sfc$5(_sfc_main$c, [["__scopeId", "data-v-07b95a32"]]);
5226
5604
  const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
5227
5605
  __name: "FButtonGroup",
5228
5606
  props: {
@@ -5244,7 +5622,7 @@ var __async = (__this, __arguments, generator) => {
5244
5622
  };
5245
5623
  }
5246
5624
  });
5247
- const FButtonGroup = /* @__PURE__ */ _export_sfc$4(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
5625
+ const FButtonGroup = /* @__PURE__ */ _export_sfc$5(_sfc_main$b, [["__scopeId", "data-v-62561657"]]);
5248
5626
  const _hoisted_1$9 = { class: "f-collapse" };
5249
5627
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
5250
5628
  __name: "FCollapse",
@@ -6296,7 +6674,7 @@ var __async = (__this, __arguments, generator) => {
6296
6674
  onMouseup: stopRepeat,
6297
6675
  onMouseleave: stopRepeat
6298
6676
  }, [
6299
- vue.createVNode(vue.unref(FIcon$3), null, {
6677
+ vue.createVNode(vue.unref(FIcon$4), null, {
6300
6678
  default: vue.withCtx(() => [
6301
6679
  vue.createVNode(vue.unref(ionicons5.RemoveOutline))
6302
6680
  ]),
@@ -6328,7 +6706,7 @@ var __async = (__this, __arguments, generator) => {
6328
6706
  onMouseup: stopRepeat,
6329
6707
  onMouseleave: stopRepeat
6330
6708
  }, [
6331
- vue.createVNode(vue.unref(FIcon$3), null, {
6709
+ vue.createVNode(vue.unref(FIcon$4), null, {
6332
6710
  default: vue.withCtx(() => [
6333
6711
  vue.createVNode(vue.unref(ionicons5.AddOutline))
6334
6712
  ]),
@@ -6345,7 +6723,7 @@ var __async = (__this, __arguments, generator) => {
6345
6723
  onMouseup: stopRepeat,
6346
6724
  onMouseleave: stopRepeat
6347
6725
  }, [
6348
- vue.createVNode(vue.unref(FIcon$3), null, {
6726
+ vue.createVNode(vue.unref(FIcon$4), null, {
6349
6727
  default: vue.withCtx(() => [
6350
6728
  vue.createVNode(vue.unref(ionicons5.ChevronUpOutline))
6351
6729
  ]),
@@ -6361,7 +6739,7 @@ var __async = (__this, __arguments, generator) => {
6361
6739
  onMouseup: stopRepeat,
6362
6740
  onMouseleave: stopRepeat
6363
6741
  }, [
6364
- vue.createVNode(vue.unref(FIcon$3), null, {
6742
+ vue.createVNode(vue.unref(FIcon$4), null, {
6365
6743
  default: vue.withCtx(() => [
6366
6744
  vue.createVNode(vue.unref(ionicons5.ChevronDownOutline))
6367
6745
  ]),
@@ -6373,7 +6751,7 @@ var __async = (__this, __arguments, generator) => {
6373
6751
  };
6374
6752
  }
6375
6753
  });
6376
- const FInputNumber = /* @__PURE__ */ _export_sfc$4(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
6754
+ const FInputNumber = /* @__PURE__ */ _export_sfc$5(_sfc_main$4, [["__scopeId", "data-v-292cd24f"]]);
6377
6755
  const _hoisted_1$3 = { class: "f-result__icon" };
6378
6756
  const _hoisted_2$2 = {
6379
6757
  key: 0,
@@ -6423,7 +6801,7 @@ var __async = (__this, __arguments, generator) => {
6423
6801
  }, [
6424
6802
  vue.createElementVNode("div", _hoisted_1$3, [
6425
6803
  vue.renderSlot(_ctx.$slots, "icon", {}, () => [
6426
- vue.unref(showCode) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(_ctx.status), 1)) : (vue.openBlock(), vue.createBlock(FIcon$4, {
6804
+ vue.unref(showCode) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$2, vue.toDisplayString(_ctx.status), 1)) : (vue.openBlock(), vue.createBlock(FIcon$5, {
6427
6805
  key: 1,
6428
6806
  size: 72
6429
6807
  }, {
@@ -6454,7 +6832,7 @@ var __async = (__this, __arguments, generator) => {
6454
6832
  };
6455
6833
  }
6456
6834
  });
6457
- const FResult = /* @__PURE__ */ _export_sfc$4(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6835
+ const FResult = /* @__PURE__ */ _export_sfc$5(_sfc_main$3, [["__scopeId", "data-v-1667a865"]]);
6458
6836
  const _hoisted_1$2 = { class: "f-message__content" };
6459
6837
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6460
6838
  __name: "FMessage",
@@ -6526,7 +6904,7 @@ var __async = (__this, __arguments, generator) => {
6526
6904
  onMouseenter: clearTimer,
6527
6905
  onMouseleave: startTimer
6528
6906
  }, [
6529
- _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$4, {
6907
+ _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$5, {
6530
6908
  key: 0,
6531
6909
  class: "f-message__icon"
6532
6910
  }, {
@@ -6543,7 +6921,7 @@ var __async = (__this, __arguments, generator) => {
6543
6921
  "aria-label": "close",
6544
6922
  onClick: close
6545
6923
  }, [
6546
- vue.createVNode(FIcon$4, null, {
6924
+ vue.createVNode(FIcon$5, null, {
6547
6925
  default: vue.withCtx(() => [
6548
6926
  vue.createVNode(vue.unref(ionicons5.Close))
6549
6927
  ]),
@@ -6557,7 +6935,7 @@ var __async = (__this, __arguments, generator) => {
6557
6935
  };
6558
6936
  }
6559
6937
  });
6560
- const FMessageComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6938
+ const FMessageComp = /* @__PURE__ */ _export_sfc$5(_sfc_main$2, [["__scopeId", "data-v-97556afa"]]);
6561
6939
  const GAP$1 = 16;
6562
6940
  const BASE_OFFSET$1 = 20;
6563
6941
  let seed$1 = 0;
@@ -6713,7 +7091,7 @@ var __async = (__this, __arguments, generator) => {
6713
7091
  onMouseleave: startTimer,
6714
7092
  onClick: handleClick
6715
7093
  }, [
6716
- _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$4, {
7094
+ _ctx.showIcon ? (vue.openBlock(), vue.createBlock(FIcon$5, {
6717
7095
  key: 0,
6718
7096
  class: "f-notification__icon"
6719
7097
  }, {
@@ -6733,7 +7111,7 @@ var __async = (__this, __arguments, generator) => {
6733
7111
  "aria-label": "close",
6734
7112
  onClick: vue.withModifiers(close, ["stop"])
6735
7113
  }, [
6736
- vue.createVNode(FIcon$4, null, {
7114
+ vue.createVNode(FIcon$5, null, {
6737
7115
  default: vue.withCtx(() => [
6738
7116
  vue.createVNode(vue.unref(ionicons5.Close))
6739
7117
  ]),
@@ -6747,7 +7125,7 @@ var __async = (__this, __arguments, generator) => {
6747
7125
  };
6748
7126
  }
6749
7127
  });
6750
- const FNotificationComp = /* @__PURE__ */ _export_sfc$4(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
7128
+ const FNotificationComp = /* @__PURE__ */ _export_sfc$5(_sfc_main$1, [["__scopeId", "data-v-0a7315d6"]]);
6751
7129
  const GAP = 16;
6752
7130
  const BASE_OFFSET = 20;
6753
7131
  let seed = 0;
@@ -6949,7 +7327,7 @@ var __async = (__this, __arguments, generator) => {
6949
7327
  class: "f-dialog__close",
6950
7328
  onClick: handleClose
6951
7329
  }, [
6952
- vue.createVNode(FIcon$4, null, {
7330
+ vue.createVNode(FIcon$5, null, {
6953
7331
  default: vue.withCtx(() => [
6954
7332
  vue.createVNode(vue.unref(ionicons5.CloseOutline))
6955
7333
  ]),
@@ -6962,7 +7340,7 @@ var __async = (__this, __arguments, generator) => {
6962
7340
  }, [
6963
7341
  vue.renderSlot(_ctx.$slots, "header", {}, () => [
6964
7342
  vue.unref(hasIcon) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
6965
- vue.createVNode(FIcon$4, null, {
7343
+ vue.createVNode(FIcon$5, null, {
6966
7344
  default: vue.withCtx(() => [
6967
7345
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(iconMap[_ctx.type])))
6968
7346
  ]),
@@ -7011,7 +7389,7 @@ var __async = (__this, __arguments, generator) => {
7011
7389
  };
7012
7390
  }
7013
7391
  });
7014
- const FDialogComp = /* @__PURE__ */ _export_sfc$4(_sfc_main, [["__scopeId", "data-v-991352de"]]);
7392
+ const FDialogComp = /* @__PURE__ */ _export_sfc$5(_sfc_main, [["__scopeId", "data-v-991352de"]]);
7015
7393
  const showDialog = (options) => {
7016
7394
  return new Promise((resolve) => {
7017
7395
  const container = document.createElement("div");
@@ -7115,7 +7493,7 @@ var __async = (__this, __arguments, generator) => {
7115
7493
  FEmpty: _sfc_main$7,
7116
7494
  FForm,
7117
7495
  FFormItem,
7118
- FIcon: FIcon$4,
7496
+ FIcon: FIcon$5,
7119
7497
  FImage,
7120
7498
  FInput,
7121
7499
  FInputNumber,
@@ -7166,7 +7544,7 @@ var __async = (__this, __arguments, generator) => {
7166
7544
  exports2.FEmpty = _sfc_main$7;
7167
7545
  exports2.FForm = FForm;
7168
7546
  exports2.FFormItem = FFormItem;
7169
- exports2.FIcon = FIcon$4;
7547
+ exports2.FIcon = FIcon$5;
7170
7548
  exports2.FImage = FImage;
7171
7549
  exports2.FInput = FInput;
7172
7550
  exports2.FInputNumber = FInputNumber;