fit2cloud-ui-plus 1.0.9 → 1.1.1

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.
Files changed (32) hide show
  1. package/lib/fit2cloud-ui-plus.es.js +657 -182
  2. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  3. package/package.json +1 -1
  4. package/src/components/steps/FuHorizontalNavigation.vue +26 -0
  5. package/src/components/steps/FuHorizontalSteps.vue +103 -0
  6. package/src/components/steps/FuStep.vue +11 -0
  7. package/src/components/steps/FuStepButton.vue +8 -0
  8. package/src/components/steps/FuSteps.vue +43 -0
  9. package/src/components/steps/FuStepsFooter.ts +75 -0
  10. package/src/components/steps/FuVerticalNavigation.vue +41 -0
  11. package/src/components/steps/FuVerticalSteps.vue +94 -0
  12. package/src/components/steps/Stepper.ts +171 -0
  13. package/src/components/steps/index.ts +10 -0
  14. package/src/components/steps/types.ts +29 -0
  15. package/types/examples/pages/steps/attributes.d.ts +63 -0
  16. package/types/examples/pages/steps/demo/BaseSteps.vue.d.ts +2 -0
  17. package/types/examples/pages/steps/demo/CustomFooterDemo.vue.d.ts +2 -0
  18. package/types/examples/pages/steps/demo/SettingFooterDemo.vue.d.ts +2 -0
  19. package/types/examples/pages/steps/demo/StepsHooksDemo.vue.d.ts +2 -0
  20. package/types/examples/pages/steps/demo/VerticalSteps.vue.d.ts +2 -0
  21. package/types/examples/pages/steps/index.vue.d.ts +2 -0
  22. package/types/src/components/steps/FuHorizontalNavigation.vue.d.ts +13 -0
  23. package/types/src/components/steps/FuHorizontalSteps.vue.d.ts +6 -0
  24. package/types/src/components/steps/FuStep.vue.d.ts +2 -0
  25. package/types/src/components/steps/FuStepButton.vue.d.ts +2 -0
  26. package/types/src/components/steps/FuSteps.vue.d.ts +12 -0
  27. package/types/src/components/steps/FuStepsFooter.d.ts +6 -0
  28. package/types/src/components/steps/FuVerticalNavigation.vue.d.ts +14 -0
  29. package/types/src/components/steps/FuVerticalSteps.vue.d.ts +6 -0
  30. package/types/src/components/steps/Stepper.d.ts +39 -0
  31. package/types/src/components/steps/index.d.ts +2 -0
  32. package/types/src/components/steps/types.d.ts +27 -0
@@ -17,7 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { ref, getCurrentInstance, inject, computed, provide, unref, isRef, defineComponent, watch, resolveComponent, openBlock, createBlock, mergeProps, onMounted, onUpdated, withCtx, createElementVNode, toDisplayString, nextTick, createElementBlock, Fragment, renderList, createVNode, withDirectives, createTextVNode, createCommentVNode, vShow, renderSlot, resolveDynamicComponent, normalizeClass, withModifiers, h, vModelText, normalizeStyle, Transition, useSlots, isVNode, Comment, normalizeProps, guardReactiveProps } from "vue";
20
+ var __publicField = (obj, key, value) => {
21
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
22
+ return value;
23
+ };
24
+ import { ref, getCurrentInstance, inject, computed, provide, unref, isRef, defineComponent, watch, resolveComponent, openBlock, createBlock, mergeProps, onMounted, onUpdated, withCtx, createElementVNode, toDisplayString, nextTick, createElementBlock, Fragment, renderList, createVNode, withDirectives, createTextVNode, createCommentVNode, vShow, renderSlot, resolveDynamicComponent, normalizeClass, withModifiers, h, vModelText, normalizeStyle, Transition, useSlots, normalizeProps, guardReactiveProps, resolveDirective, isVNode, Comment } from "vue";
21
25
  const COMPONENTS_SIZE = ["", "default", "small", "large"];
22
26
  const validateSize = (val) => ["", ...COMPONENTS_SIZE].includes(val);
23
27
  const globalConfig = ref();
@@ -514,8 +518,8 @@ var _export_sfc = (sfc, props) => {
514
518
  }
515
519
  return target;
516
520
  };
517
- const __default__$t = { name: "FuFilterInput" };
518
- const _sfc_main$C = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$t), {
521
+ const __default__$u = { name: "FuFilterInput" };
522
+ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$u), {
519
523
  props: {
520
524
  size: {
521
525
  type: String,
@@ -565,8 +569,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
565
569
  };
566
570
  }
567
571
  }));
568
- var FuFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterInput.vue"]]);
569
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
572
+ var FuFilterInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterInput.vue"]]);
573
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
570
574
  __name: "FuFilterConditionText",
571
575
  props: {
572
576
  condition: {
@@ -609,9 +613,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
609
613
  };
610
614
  }
611
615
  });
612
- var FuFilterConditionText = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditionText.vue"]]);
613
- const _hoisted_1$n = { class: "fu-filter-conditions" };
614
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
616
+ var FuFilterConditionText = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditionText.vue"]]);
617
+ const _hoisted_1$o = { class: "fu-filter-conditions" };
618
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
615
619
  __name: "FuFilterConditions",
616
620
  props: {
617
621
  conditions: Array
@@ -627,7 +631,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
627
631
  return (_ctx, _cache) => {
628
632
  const _component_CloseBold = resolveComponent("CloseBold");
629
633
  const _component_el_icon = resolveComponent("el-icon");
630
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
634
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
631
635
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index) => {
632
636
  return openBlock(), createElementBlock("div", {
633
637
  class: "fu-filter-conditions__item",
@@ -649,16 +653,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
649
653
  };
650
654
  }
651
655
  });
652
- var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
656
+ var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
653
657
  const selectKey = Symbol("SelectKey");
654
658
  const referenceKey$1 = Symbol("ReferenceKey");
655
- const _hoisted_1$m = { class: "fu-filter__result" };
659
+ const _hoisted_1$n = { class: "fu-filter__result" };
656
660
  const _hoisted_2$f = { style: { "opacity": "0.6" } };
657
661
  const _hoisted_3$d = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
658
662
  const _hoisted_4$2 = { class: "drawer-body" };
659
663
  const _hoisted_5$1 = { class: "drawer-footer" };
660
- const __default__$s = { name: "FuFilter" };
661
- const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$s), {
664
+ const __default__$t = { name: "FuFilter" };
665
+ const _sfc_main$G = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$t), {
662
666
  props: {
663
667
  size: {
664
668
  type: String,
@@ -679,7 +683,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
679
683
  emits: ["filter"],
680
684
  setup(__props, { expose, emit }) {
681
685
  const props = __props;
682
- const { t } = useLocale();
686
+ const { t: t2 } = useLocale();
683
687
  const filterRef = ref(null);
684
688
  const conditionsRef = ref(null);
685
689
  const configSize = useSize();
@@ -788,9 +792,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
788
792
  ref_key: "filterRef",
789
793
  ref: filterRef
790
794
  }, [
791
- createElementVNode("div", _hoisted_1$m, [
795
+ createElementVNode("div", _hoisted_1$n, [
792
796
  createTextVNode(toDisplayString(__props.count) + " ", 1),
793
- createElementVNode("span", _hoisted_2$f, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
797
+ createElementVNode("span", _hoisted_2$f, toDisplayString(unref(t2)("fu.filter_bar.results")), 1)
794
798
  ]),
795
799
  _hoisted_3$d,
796
800
  scroll.value ? (openBlock(), createElementBlock("div", {
@@ -836,7 +840,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
836
840
  ]),
837
841
  _: 1
838
842
  }),
839
- createTextVNode(" " + toDisplayString(unref(t)("fu.filter_bar.clear")), 1)
843
+ createTextVNode(" " + toDisplayString(unref(t2)("fu.filter_bar.clear")), 1)
840
844
  ])) : createCommentVNode("v-if", true)
841
845
  ], 512), [
842
846
  [vShow, unref(show)]
@@ -844,7 +848,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
844
848
  createVNode(_component_el_drawer, {
845
849
  size: __props.drawerWidth,
846
850
  class: "fu-filter__drawer",
847
- title: unref(t)("fu.filter_bar.drawer_title"),
851
+ title: unref(t2)("fu.filter_bar.drawer_title"),
848
852
  modelValue: drawer.value,
849
853
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => drawer.value = $event),
850
854
  onOpen: initComponents
@@ -864,7 +868,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
864
868
  onClick: _cache[0] || (_cache[0] = ($event) => drawer.value = false)
865
869
  }, {
866
870
  default: withCtx(() => [
867
- createTextVNode(toDisplayString(unref(t)("fu.filter_bar.cancel")), 1)
871
+ createTextVNode(toDisplayString(unref(t2)("fu.filter_bar.cancel")), 1)
868
872
  ]),
869
873
  _: 1
870
874
  }, 8, ["size"]),
@@ -874,7 +878,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
874
878
  onClick: filter
875
879
  }, {
876
880
  default: withCtx(() => [
877
- createTextVNode(toDisplayString(unref(t)("fu.filter_bar.search")), 1)
881
+ createTextVNode(toDisplayString(unref(t2)("fu.filter_bar.search")), 1)
878
882
  ]),
879
883
  _: 1
880
884
  }, 8, ["size"])
@@ -887,15 +891,15 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
887
891
  };
888
892
  }
889
893
  }));
890
- var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
891
- const _hoisted_1$l = { class: "fu-filter-bar" };
894
+ var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
895
+ const _hoisted_1$m = { class: "fu-filter-bar" };
892
896
  const _hoisted_2$e = { class: "fu-filter-bar__top" };
893
897
  const _hoisted_3$c = { class: "top_left" };
894
898
  const _hoisted_4$1 = { class: "top_right" };
895
899
  const _hoisted_5 = { key: 0 };
896
900
  const _hoisted_6 = { class: "fu-filter-bar__bottom" };
897
- const __default__$r = { name: "FuFilterBar" };
898
- const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$r), {
901
+ const __default__$s = { name: "FuFilterBar" };
902
+ const _sfc_main$F = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$s), {
899
903
  props: {
900
904
  size: {
901
905
  type: String,
@@ -911,7 +915,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
911
915
  },
912
916
  emits: ["exec"],
913
917
  setup(__props, { expose, emit }) {
914
- const { t } = useLocale();
918
+ const { t: t2 } = useLocale();
915
919
  const configSize = useSize();
916
920
  const quick = ref("");
917
921
  const conditions = ref([]);
@@ -950,7 +954,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
950
954
  });
951
955
  return (_ctx, _cache) => {
952
956
  const _component_el_button = resolveComponent("el-button");
953
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
957
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
954
958
  createElementVNode("div", _hoisted_2$e, [
955
959
  createElementVNode("div", _hoisted_3$c, [
956
960
  renderSlot(_ctx.$slots, "tl")
@@ -972,7 +976,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
972
976
  size: unref(configSize)
973
977
  }, {
974
978
  default: withCtx(() => [
975
- createTextVNode(toDisplayString(unref(t)("fu.filter_bar.filter")) + " ", 1),
979
+ createTextVNode(toDisplayString(unref(t2)("fu.filter_bar.filter")) + " ", 1),
976
980
  conditions.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5, "(" + toDisplayString(conditions.value.length) + ")", 1)) : createCommentVNode("v-if", true)
977
981
  ]),
978
982
  _: 1
@@ -1000,9 +1004,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1000
1004
  };
1001
1005
  }
1002
1006
  }));
1003
- var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
1004
- const _hoisted_1$k = ["onClick"];
1005
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
1007
+ var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
1008
+ const _hoisted_1$l = ["onClick"];
1009
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1006
1010
  __name: "FuFilterOption",
1007
1011
  props: {
1008
1012
  value: {
@@ -1034,17 +1038,17 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1034
1038
  return openBlock(), createElementBlock("div", {
1035
1039
  class: normalizeClass(["fu-filter-option", { "is-selected": unref(selected), "is-disabled": __props.disabled }]),
1036
1040
  onClick: withModifiers(click, ["stop"])
1037
- }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$k);
1041
+ }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$l);
1038
1042
  };
1039
1043
  }
1040
1044
  });
1041
- var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
1042
- const _hoisted_1$j = { class: "fu-filter-component" };
1045
+ var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
1046
+ const _hoisted_1$k = { class: "fu-filter-component" };
1043
1047
  const _hoisted_2$d = { class: "fu-filter-component__label" };
1044
1048
  const _hoisted_3$b = { class: "fu-filter-component__content" };
1045
1049
  const _hoisted_4 = { class: "fu-filter-option" };
1046
- const __default__$q = { name: "FuFilterSelect" };
1047
- const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$q), {
1050
+ const __default__$r = { name: "FuFilterSelect" };
1051
+ const _sfc_main$D = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$r), {
1048
1052
  props: {
1049
1053
  size: {
1050
1054
  type: String,
@@ -1104,7 +1108,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1104
1108
  const showSelectAll = computed(() => {
1105
1109
  return props.useSelectAll && props.multiple;
1106
1110
  });
1107
- const { t } = useLocale();
1111
+ const { t: t2 } = useLocale();
1108
1112
  function change(v) {
1109
1113
  if (showSelectAll.value && (v == null ? void 0 : v.includes("-$SELECT-ALL$-"))) {
1110
1114
  selection.value = props.options.map((o) => o.value);
@@ -1161,7 +1165,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1161
1165
  const _component_Plus = resolveComponent("Plus");
1162
1166
  const _component_el_icon = resolveComponent("el-icon");
1163
1167
  const _component_el_popover = resolveComponent("el-popover");
1164
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
1168
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
1165
1169
  createElementVNode("div", _hoisted_2$d, toDisplayString(__props.label), 1),
1166
1170
  createElementVNode("div", _hoisted_3$b, [
1167
1171
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
@@ -1187,7 +1191,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1187
1191
  ]),
1188
1192
  _: 1
1189
1193
  }),
1190
- createTextVNode(" " + toDisplayString(unref(t)("fu.filter_bar.more")), 1)
1194
+ createTextVNode(" " + toDisplayString(unref(t2)("fu.filter_bar.more")), 1)
1191
1195
  ])
1192
1196
  ]),
1193
1197
  default: withCtx(() => [
@@ -1199,7 +1203,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1199
1203
  onChange: change,
1200
1204
  teleported: false,
1201
1205
  size: unref(configSize),
1202
- placeholder: unref(t)("fu.search_bar.please_select")
1206
+ placeholder: unref(t2)("fu.search_bar.please_select")
1203
1207
  }), {
1204
1208
  default: withCtx(() => [
1205
1209
  unref(showSelectAll) ? (openBlock(), createBlock(_component_el_option, {
@@ -1207,7 +1211,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1207
1211
  value: "-$SELECT-ALL$-"
1208
1212
  }, {
1209
1213
  default: withCtx(() => [
1210
- createElementVNode("div", { onClick: selectAll }, toDisplayString(unref(t)("fu.filter_bar.select_all")), 1)
1214
+ createElementVNode("div", { onClick: selectAll }, toDisplayString(unref(t2)("fu.filter_bar.select_all")), 1)
1211
1215
  ]),
1212
1216
  _: 1
1213
1217
  })) : createCommentVNode("v-if", true),
@@ -1229,12 +1233,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1229
1233
  };
1230
1234
  }
1231
1235
  }));
1232
- var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1233
- const _hoisted_1$i = { class: "fu-filter-component" };
1236
+ var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1237
+ const _hoisted_1$j = { class: "fu-filter-component" };
1234
1238
  const _hoisted_2$c = { class: "fu-filter-component__label" };
1235
1239
  const _hoisted_3$a = { class: "fu-filter-component__content" };
1236
- const __default__$p = { name: "FuFilterNormalSelect" };
1237
- const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$p), {
1240
+ const __default__$q = { name: "FuFilterNormalSelect" };
1241
+ const _sfc_main$C = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$q), {
1238
1242
  props: {
1239
1243
  size: {
1240
1244
  type: String,
@@ -1276,7 +1280,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1276
1280
  const showSelectAll = computed(() => {
1277
1281
  return props.useSelectAll && props.multiple;
1278
1282
  });
1279
- const { t } = useLocale();
1283
+ const { t: t2 } = useLocale();
1280
1284
  function change(v) {
1281
1285
  if (showSelectAll.value && (v == null ? void 0 : v.includes("-$SELECT-ALL$-"))) {
1282
1286
  selection.value = props.options.map((o) => o.value);
@@ -1330,7 +1334,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1330
1334
  return (_ctx, _cache) => {
1331
1335
  const _component_el_option = resolveComponent("el-option");
1332
1336
  const _component_el_select = resolveComponent("el-select");
1333
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
1337
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
1334
1338
  createElementVNode("div", _hoisted_2$c, toDisplayString(__props.label), 1),
1335
1339
  createElementVNode("div", _hoisted_3$a, [
1336
1340
  createVNode(_component_el_select, mergeProps({
@@ -1341,7 +1345,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1341
1345
  onChange: change,
1342
1346
  teleported: false,
1343
1347
  size: unref(configSize),
1344
- placeholder: unref(t)("fu.search_bar.please_select"),
1348
+ placeholder: unref(t2)("fu.search_bar.please_select"),
1345
1349
  class: "fu-filter-select"
1346
1350
  }), {
1347
1351
  default: withCtx(() => [
@@ -1350,7 +1354,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1350
1354
  value: "-$SELECT-ALL$-"
1351
1355
  }, {
1352
1356
  default: withCtx(() => [
1353
- createElementVNode("div", { onClick: selectAll }, toDisplayString(unref(t)("fu.filter_bar.select_all")), 1)
1357
+ createElementVNode("div", { onClick: selectAll }, toDisplayString(unref(t2)("fu.filter_bar.select_all")), 1)
1354
1358
  ]),
1355
1359
  _: 1
1356
1360
  })) : createCommentVNode("v-if", true),
@@ -1369,7 +1373,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1369
1373
  };
1370
1374
  }
1371
1375
  }));
1372
- var FuFilterNormalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterNormalSelect.vue"]]);
1376
+ var FuFilterNormalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterNormalSelect.vue"]]);
1373
1377
  const getCheckDate = (timestamp) => {
1374
1378
  if (!timestamp)
1375
1379
  return false;
@@ -1399,11 +1403,11 @@ const dateFormat = (timestamp) => {
1399
1403
  const d = (dt.getDate() + "").padStart(2, "0");
1400
1404
  return `${y}-${m}-${d}`;
1401
1405
  };
1402
- const _hoisted_1$h = { class: "fu-filter-component" };
1406
+ const _hoisted_1$i = { class: "fu-filter-component" };
1403
1407
  const _hoisted_2$b = { class: "fu-filter-component__label" };
1404
1408
  const _hoisted_3$9 = { class: "fu-filter-component__content" };
1405
- const __default__$o = { name: "FuFilterDate" };
1406
- const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$o), {
1409
+ const __default__$p = { name: "FuFilterDate" };
1410
+ const _sfc_main$B = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$p), {
1407
1411
  props: {
1408
1412
  size: {
1409
1413
  type: String,
@@ -1426,7 +1430,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1426
1430
  const valueLabel = computed(() => {
1427
1431
  return dateFormat(value.value[0]) + " - " + dateFormat(value.value[1]);
1428
1432
  });
1429
- const { t } = useLocale();
1433
+ const { t: t2 } = useLocale();
1430
1434
  function getCondition() {
1431
1435
  if (!value.value || value.value.length === 0)
1432
1436
  return;
@@ -1446,7 +1450,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1446
1450
  });
1447
1451
  return (_ctx, _cache) => {
1448
1452
  const _component_el_date_picker = resolveComponent("el-date-picker");
1449
- return openBlock(), createElementBlock("div", _hoisted_1$h, [
1453
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
1450
1454
  createElementVNode("div", _hoisted_2$b, toDisplayString(__props.label), 1),
1451
1455
  createElementVNode("div", _hoisted_3$9, [
1452
1456
  createCommentVNode("configSize"),
@@ -1456,23 +1460,23 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1456
1460
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1457
1461
  }, _ctx.$attrs, {
1458
1462
  size: unref(configSize),
1459
- placeholder: unref(t)("fu.search_bar.select_date"),
1463
+ placeholder: unref(t2)("fu.search_bar.select_date"),
1460
1464
  type: "daterange",
1461
1465
  "value-format": __props.valueFormat,
1462
- "start-placeholder": unref(t)("fu.search_bar.start_date"),
1463
- "end-placeholder": unref(t)("fu.search_bar.end_date")
1466
+ "start-placeholder": unref(t2)("fu.search_bar.start_date"),
1467
+ "end-placeholder": unref(t2)("fu.search_bar.end_date")
1464
1468
  }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1465
1469
  ])
1466
1470
  ]);
1467
1471
  };
1468
1472
  }
1469
1473
  }));
1470
- var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1471
- const _hoisted_1$g = { class: "fu-filter-component" };
1474
+ var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1475
+ const _hoisted_1$h = { class: "fu-filter-component" };
1472
1476
  const _hoisted_2$a = { class: "fu-filter-component__label" };
1473
1477
  const _hoisted_3$8 = { class: "fu-filter-component__content" };
1474
- const __default__$n = { name: "FuFilterDateTime" };
1475
- const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$n), {
1478
+ const __default__$o = { name: "FuFilterDateTime" };
1479
+ const _sfc_main$A = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$o), {
1476
1480
  props: {
1477
1481
  size: {
1478
1482
  type: String,
@@ -1495,7 +1499,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1495
1499
  const valueLabel = computed(() => {
1496
1500
  return datetimeFormat(value.value[0]) + " - " + datetimeFormat(value.value[1]);
1497
1501
  });
1498
- const { t } = useLocale();
1502
+ const { t: t2 } = useLocale();
1499
1503
  function getCondition() {
1500
1504
  if (!value.value || value.value.length === 0)
1501
1505
  return;
@@ -1515,7 +1519,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1515
1519
  });
1516
1520
  return (_ctx, _cache) => {
1517
1521
  const _component_el_date_picker = resolveComponent("el-date-picker");
1518
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
1522
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
1519
1523
  createElementVNode("div", _hoisted_2$a, toDisplayString(__props.label), 1),
1520
1524
  createElementVNode("div", _hoisted_3$8, [
1521
1525
  createCommentVNode(' :size="configSize" '),
@@ -1525,23 +1529,23 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1525
1529
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1526
1530
  }, _ctx.$attrs, {
1527
1531
  size: unref(configSize),
1528
- placeholder: unref(t)("fu.search_bar.select_date_time"),
1532
+ placeholder: unref(t2)("fu.search_bar.select_date_time"),
1529
1533
  type: "datetimerange",
1530
1534
  "value-format": __props.valueFormat,
1531
- "start-placeholder": unref(t)("fu.search_bar.start_date_time"),
1532
- "end-placeholder": unref(t)("fu.search_bar.end_date_time")
1535
+ "start-placeholder": unref(t2)("fu.search_bar.start_date_time"),
1536
+ "end-placeholder": unref(t2)("fu.search_bar.end_date_time")
1533
1537
  }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1534
1538
  ])
1535
1539
  ]);
1536
1540
  };
1537
1541
  }
1538
1542
  }));
1539
- var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1540
- const _hoisted_1$f = { class: "fu-filter-component" };
1543
+ var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1544
+ const _hoisted_1$g = { class: "fu-filter-component" };
1541
1545
  const _hoisted_2$9 = { class: "fu-filter-component__label" };
1542
1546
  const _hoisted_3$7 = { class: "fu-filter-component__content" };
1543
- const __default__$m = { name: "FuFilterInputText" };
1544
- const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$m), {
1547
+ const __default__$n = { name: "FuFilterInputText" };
1548
+ const _sfc_main$z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$n), {
1545
1549
  props: {
1546
1550
  size: {
1547
1551
  type: String,
@@ -1577,7 +1581,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1577
1581
  });
1578
1582
  return (_ctx, _cache) => {
1579
1583
  const _component_el_input = resolveComponent("el-input");
1580
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
1584
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
1581
1585
  createElementVNode("div", _hoisted_2$9, toDisplayString(__props.label), 1),
1582
1586
  createElementVNode("div", _hoisted_3$7, [
1583
1587
  createVNode(_component_el_input, mergeProps({
@@ -1590,7 +1594,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1590
1594
  };
1591
1595
  }
1592
1596
  }));
1593
- var FuFilterInputText = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterInputText.vue"]]);
1597
+ var FuFilterInputText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterInputText.vue"]]);
1594
1598
  FuFilterBar.install = (app) => {
1595
1599
  app.component(FuFilterBar.name, FuFilterBar);
1596
1600
  app.component(FuFilter.name, FuFilter);
@@ -1615,9 +1619,9 @@ const validateType = (value) => {
1615
1619
  console.error("types is not contains " + value);
1616
1620
  return false;
1617
1621
  };
1618
- const _hoisted_1$e = ["tabindex"];
1619
- const __default__$l = { name: "FuIconButton" };
1620
- const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$l), {
1622
+ const _hoisted_1$f = ["tabindex"];
1623
+ const __default__$m = { name: "FuIconButton" };
1624
+ const _sfc_main$y = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$m), {
1621
1625
  props: {
1622
1626
  name: String,
1623
1627
  size: {
@@ -1666,11 +1670,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1666
1670
  _: 1
1667
1671
  }, 8, ["color", "size", "class"])
1668
1672
  ])
1669
- ], 10, _hoisted_1$e);
1673
+ ], 10, _hoisted_1$f);
1670
1674
  };
1671
1675
  }
1672
1676
  }));
1673
- var FuIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/icon-button/FuIconButton.vue"]]);
1677
+ var FuIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/icon-button/FuIconButton.vue"]]);
1674
1678
  FuIconButton.install = (app) => {
1675
1679
  app.component(FuIconButton.name, FuIconButton);
1676
1680
  };
@@ -1694,7 +1698,7 @@ const uuid = function() {
1694
1698
  });
1695
1699
  };
1696
1700
  const TRIGGERS = ["manual", "onClick", "onDblclick"];
1697
- const _sfc_main$q = defineComponent({
1701
+ const _sfc_main$x = defineComponent({
1698
1702
  name: "FuReadWriteSwitch",
1699
1703
  props: {
1700
1704
  modelValue: Boolean,
@@ -1762,9 +1766,9 @@ const _sfc_main$q = defineComponent({
1762
1766
  };
1763
1767
  }
1764
1768
  });
1765
- var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1766
- const __default__$k = { name: "FuInputRwSwitch" };
1767
- const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$k), {
1769
+ var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1770
+ const __default__$l = { name: "FuInputRwSwitch" };
1771
+ const _sfc_main$w = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$l), {
1768
1772
  props: {
1769
1773
  modelValue: [String, Number],
1770
1774
  writeTrigger: {
@@ -1815,9 +1819,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1815
1819
  };
1816
1820
  }
1817
1821
  }));
1818
- var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1819
- const __default__$j = { name: "FuSelectRwSwitch" };
1820
- const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$j), {
1822
+ var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1823
+ const __default__$k = { name: "FuSelectRwSwitch" };
1824
+ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$k), {
1821
1825
  props: {
1822
1826
  modelValue: [String, Number],
1823
1827
  options: {
@@ -1899,7 +1903,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1899
1903
  };
1900
1904
  }
1901
1905
  }));
1902
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1906
+ var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1903
1907
  FuReadWriteSwitch.install = (app) => {
1904
1908
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1905
1909
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1909,9 +1913,9 @@ var __glob_2_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1909
1913
  __proto__: null,
1910
1914
  "default": FuReadWriteSwitch
1911
1915
  }, Symbol.toStringTag, { value: "Module" }));
1912
- const _hoisted_1$d = ["placeholder"];
1913
- const __default__$i = { name: "FuQuickSearch" };
1914
- const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$i), {
1916
+ const _hoisted_1$e = ["placeholder"];
1917
+ const __default__$j = { name: "FuQuickSearch" };
1918
+ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$j), {
1915
1919
  props: {
1916
1920
  size: {
1917
1921
  type: String,
@@ -1970,7 +1974,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1970
1974
  onBlur: blur,
1971
1975
  onFocus: focus,
1972
1976
  onKeydown: keydown
1973
- }, null, 40, _hoisted_1$d), [
1977
+ }, null, 40, _hoisted_1$e), [
1974
1978
  [vModelText, unref(value)]
1975
1979
  ])
1976
1980
  ])
@@ -1978,13 +1982,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1978
1982
  };
1979
1983
  }
1980
1984
  }));
1981
- var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuQuickSearch.vue"]]);
1985
+ var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuQuickSearch.vue"]]);
1982
1986
  const referenceKey = Symbol("ReferenceKey");
1983
- const _hoisted_1$c = { class: "fu-complex-components" };
1987
+ const _hoisted_1$d = { class: "fu-complex-components" };
1984
1988
  const _hoisted_2$8 = { class: "fu-complex-components__body" };
1985
1989
  const _hoisted_3$6 = { class: "fu-complex-components__footer" };
1986
- const __default__$h = { name: "FuComplexSearch" };
1987
- const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
1990
+ const __default__$i = { name: "FuComplexSearch" };
1991
+ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$i), {
1988
1992
  props: {
1989
1993
  size: {
1990
1994
  type: String,
@@ -2000,7 +2004,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2000
2004
  const showComplex = computed(() => {
2001
2005
  return references ? references.value.length > 0 : false;
2002
2006
  });
2003
- const { t } = useLocale();
2007
+ const { t: t2 } = useLocale();
2004
2008
  function hide() {
2005
2009
  emit("close");
2006
2010
  }
@@ -2071,7 +2075,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2071
2075
  ])
2072
2076
  ]),
2073
2077
  default: withCtx(() => [
2074
- createElementVNode("div", _hoisted_1$c, [
2078
+ createElementVNode("div", _hoisted_1$d, [
2075
2079
  createElementVNode("div", _hoisted_2$8, [
2076
2080
  renderSlot(_ctx.$slots, "default", {}, () => [
2077
2081
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c) => {
@@ -2085,7 +2089,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2085
2089
  size: unref(configSize)
2086
2090
  }, {
2087
2091
  default: withCtx(() => [
2088
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.cancel")), 1)
2092
+ createTextVNode(toDisplayString(unref(t2)("fu.search_bar.cancel")), 1)
2089
2093
  ]),
2090
2094
  _: 1
2091
2095
  }, 8, ["size"]),
@@ -2095,7 +2099,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2095
2099
  size: unref(configSize)
2096
2100
  }, {
2097
2101
  default: withCtx(() => [
2098
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.ok")), 1)
2102
+ createTextVNode(toDisplayString(unref(t2)("fu.search_bar.ok")), 1)
2099
2103
  ]),
2100
2104
  _: 1
2101
2105
  }, 8, ["size"])
@@ -2107,9 +2111,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2107
2111
  };
2108
2112
  }
2109
2113
  }));
2110
- var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuComplexSearch.vue"]]);
2111
- const __default__$g = { name: "FuSearchBarButton" };
2112
- const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
2114
+ var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuComplexSearch.vue"]]);
2115
+ const __default__$h = { name: "FuSearchBarButton" };
2116
+ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
2113
2117
  props: {
2114
2118
  size: {
2115
2119
  type: String,
@@ -2138,12 +2142,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2138
2142
  };
2139
2143
  }
2140
2144
  }));
2141
- var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchBarButton.vue"]]);
2142
- const _hoisted_1$b = { class: "fu-search-conditions__item" };
2145
+ var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchBarButton.vue"]]);
2146
+ const _hoisted_1$c = { class: "fu-search-conditions__item" };
2143
2147
  const _hoisted_2$7 = { key: 0 };
2144
2148
  const _hoisted_3$5 = { class: "condition-value" };
2145
- const __default__$f = { name: "FuSearchConditions" };
2146
- const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
2149
+ const __default__$g = { name: "FuSearchConditions" };
2150
+ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
2147
2151
  props: {
2148
2152
  size: {
2149
2153
  type: String,
@@ -2169,7 +2173,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2169
2173
  class: normalizeClass(["fu-search-conditions", "fu-search-conditions--" + unref(configSize)])
2170
2174
  }, [
2171
2175
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index) => {
2172
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
2176
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
2173
2177
  condition.label ? (openBlock(), createElementBlock("div", _hoisted_2$7, toDisplayString(condition.label), 1)) : createCommentVNode("v-if", true),
2174
2178
  createElementVNode("div", _hoisted_3$5, toDisplayString(condition.valueLabel), 1),
2175
2179
  createVNode(_component_el_icon, {
@@ -2187,12 +2191,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2187
2191
  };
2188
2192
  }
2189
2193
  }));
2190
- var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchContions.vue"]]);
2191
- const _hoisted_1$a = { class: "fu-search-bar" };
2194
+ var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchContions.vue"]]);
2195
+ const _hoisted_1$b = { class: "fu-search-bar" };
2192
2196
  const _hoisted_2$6 = { class: "fu-search-bar__content" };
2193
2197
  const _hoisted_3$4 = { class: "fu-search-bar__buttons" };
2194
- const __default__$e = { name: "FuSearchBar" };
2195
- const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
2198
+ const __default__$f = { name: "FuSearchBar" };
2199
+ const _sfc_main$q = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
2196
2200
  props: {
2197
2201
  size: useSizeProp,
2198
2202
  quickKey: {
@@ -2224,7 +2228,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2224
2228
  provide(referenceKey, references);
2225
2229
  const configSize = useSize();
2226
2230
  const placeholder = computed(() => {
2227
- return props.quickPlaceholder ? props.quickPlaceholder : t("fu.search_bar.search");
2231
+ return props.quickPlaceholder ? props.quickPlaceholder : t2("fu.search_bar.search");
2228
2232
  });
2229
2233
  const showComplex = computed(() => {
2230
2234
  return references.value.length > 0;
@@ -2249,7 +2253,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2249
2253
  }
2250
2254
  return obj;
2251
2255
  });
2252
- const { t } = useLocale();
2256
+ const { t: t2 } = useLocale();
2253
2257
  function closePopover() {
2254
2258
  emit("close");
2255
2259
  }
@@ -2296,7 +2300,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2296
2300
  setConditions
2297
2301
  });
2298
2302
  return (_ctx, _cache) => {
2299
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
2303
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
2300
2304
  createElementVNode("div", _hoisted_2$6, [
2301
2305
  createVNode(FuComplexSearch, {
2302
2306
  ref_key: "complexRef",
@@ -2334,14 +2338,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2334
2338
  icon: "Close",
2335
2339
  onClick: clean,
2336
2340
  size: unref(configSize),
2337
- tooltip: unref(t)("fu.search_bar.clean")
2341
+ tooltip: unref(t2)("fu.search_bar.clean")
2338
2342
  }, null, 8, ["size", "tooltip"])) : createCommentVNode("v-if", true),
2339
2343
  unref(showRefresh) ? (openBlock(), createBlock(FuSearchBarButton, {
2340
2344
  key: 1,
2341
2345
  icon: "Refresh",
2342
2346
  onClick: refresh,
2343
2347
  size: unref(configSize),
2344
- tooltip: unref(t)("fu.search_bar.refresh")
2348
+ tooltip: unref(t2)("fu.search_bar.refresh")
2345
2349
  }, null, 8, ["size", "tooltip"])) : createCommentVNode("v-if", true),
2346
2350
  renderSlot(_ctx.$slots, "default")
2347
2351
  ])
@@ -2350,12 +2354,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2350
2354
  };
2351
2355
  }
2352
2356
  }));
2353
- var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchBar.vue"]]);
2354
- const _hoisted_1$9 = { class: "fu-complex-component" };
2357
+ var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/FuSearchBar.vue"]]);
2358
+ const _hoisted_1$a = { class: "fu-complex-component" };
2355
2359
  const _hoisted_2$5 = { class: "fu-complex-component__label" };
2356
2360
  const _hoisted_3$3 = { class: "fu-complex-component__content" };
2357
- const __default__$d = { name: "FuComplexSelect" };
2358
- const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
2361
+ const __default__$e = { name: "FuComplexSelect" };
2362
+ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
2359
2363
  props: {
2360
2364
  size: {
2361
2365
  type: String,
@@ -2390,7 +2394,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2390
2394
  }
2391
2395
  return getValueLabel(selection.value);
2392
2396
  });
2393
- const { t } = useLocale();
2397
+ const { t: t2 } = useLocale();
2394
2398
  function getValueLabel(value) {
2395
2399
  for (let o of props.options) {
2396
2400
  if (o.value === value) {
@@ -2420,12 +2424,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2420
2424
  return (_ctx, _cache) => {
2421
2425
  const _component_el_option = resolveComponent("el-option");
2422
2426
  const _component_el_select = resolveComponent("el-select");
2423
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
2427
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
2424
2428
  createElementVNode("div", _hoisted_2$5, toDisplayString(__props.label), 1),
2425
2429
  createElementVNode("div", _hoisted_3$3, [
2426
2430
  createVNode(_component_el_select, mergeProps({
2427
2431
  class: "fu-complex-select",
2428
- placeholder: unref(t)("fu.search_bar.please_select"),
2432
+ placeholder: unref(t2)("fu.search_bar.please_select"),
2429
2433
  modelValue: selection.value,
2430
2434
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selection.value = $event),
2431
2435
  size: unref(configSize)
@@ -2446,12 +2450,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2446
2450
  };
2447
2451
  }
2448
2452
  }));
2449
- var FuComplexSelect = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexSelect.vue"]]);
2450
- const _hoisted_1$8 = { class: "fu-complex-component" };
2453
+ var FuComplexSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexSelect.vue"]]);
2454
+ const _hoisted_1$9 = { class: "fu-complex-component" };
2451
2455
  const _hoisted_2$4 = { class: "fu-complex-component__label" };
2452
2456
  const _hoisted_3$2 = { class: "fu-complex-component__content" };
2453
- const __default__$c = { name: "FuComplexInput" };
2454
- const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
2457
+ const __default__$d = { name: "FuComplexInput" };
2458
+ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
2455
2459
  props: {
2456
2460
  size: {
2457
2461
  type: String,
@@ -2467,7 +2471,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2467
2471
  const props = __props;
2468
2472
  const inputValue = ref("");
2469
2473
  const configSize = useSize();
2470
- const { t } = useLocale();
2474
+ const { t: t2 } = useLocale();
2471
2475
  function getCondition() {
2472
2476
  if (!inputValue.value)
2473
2477
  return;
@@ -2489,13 +2493,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2489
2493
  });
2490
2494
  return (_ctx, _cache) => {
2491
2495
  const _component_el_input = resolveComponent("el-input");
2492
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
2496
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
2493
2497
  createElementVNode("div", _hoisted_2$4, toDisplayString(__props.label), 1),
2494
2498
  createElementVNode("div", _hoisted_3$2, [
2495
2499
  createVNode(_component_el_input, mergeProps({
2496
2500
  modelValue: inputValue.value,
2497
2501
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
2498
- placeholder: unref(t)("fu.search_bar.please_input"),
2502
+ placeholder: unref(t2)("fu.search_bar.please_input"),
2499
2503
  size: unref(configSize)
2500
2504
  }, _ctx.$attrs), null, 16, ["modelValue", "placeholder", "size"])
2501
2505
  ])
@@ -2503,12 +2507,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2503
2507
  };
2504
2508
  }
2505
2509
  }));
2506
- var FuComplexInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexInput.vue"]]);
2507
- const _hoisted_1$7 = { class: "fu-complex-component" };
2510
+ var FuComplexInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexInput.vue"]]);
2511
+ const _hoisted_1$8 = { class: "fu-complex-component" };
2508
2512
  const _hoisted_2$3 = { class: "fu-complex-component__label" };
2509
2513
  const _hoisted_3$1 = { class: "fu-complex-component__content" };
2510
- const __default__$b = { name: "FuComplexDate" };
2511
- const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
2514
+ const __default__$c = { name: "FuComplexDate" };
2515
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
2512
2516
  props: {
2513
2517
  size: {
2514
2518
  type: String,
@@ -2530,7 +2534,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2530
2534
  const valueLabel = computed(() => {
2531
2535
  return dateFormat(value.value[0]) + " ~ " + dateFormat(value.value[1]);
2532
2536
  });
2533
- const { t } = useLocale();
2537
+ const { t: t2 } = useLocale();
2534
2538
  const configSize = useSize();
2535
2539
  function getCondition() {
2536
2540
  if (!String(value.value))
@@ -2551,7 +2555,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2551
2555
  });
2552
2556
  return (_ctx, _cache) => {
2553
2557
  const _component_el_date_picker = resolveComponent("el-date-picker");
2554
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
2558
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
2555
2559
  createElementVNode("div", _hoisted_2$3, toDisplayString(__props.label), 1),
2556
2560
  createElementVNode("div", _hoisted_3$1, [
2557
2561
  createVNode(_component_el_date_picker, mergeProps({
@@ -2560,23 +2564,23 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2560
2564
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
2561
2565
  }, _ctx.$attrs, {
2562
2566
  size: unref(configSize),
2563
- placeholder: unref(t)("fu.search_bar.select_date"),
2567
+ placeholder: unref(t2)("fu.search_bar.select_date"),
2564
2568
  type: "daterange",
2565
2569
  "value-format": __props.valueFormat,
2566
- "start-placeholder": unref(t)("fu.search_bar.start_date"),
2567
- "end-placeholder": unref(t)("fu.search_bar.end_date")
2570
+ "start-placeholder": unref(t2)("fu.search_bar.start_date"),
2571
+ "end-placeholder": unref(t2)("fu.search_bar.end_date")
2568
2572
  }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
2569
2573
  ])
2570
2574
  ]);
2571
2575
  };
2572
2576
  }
2573
2577
  }));
2574
- var FuComplexDate = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexDate.vue"]]);
2575
- const _hoisted_1$6 = { class: "fu-complex-component" };
2578
+ var FuComplexDate = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexDate.vue"]]);
2579
+ const _hoisted_1$7 = { class: "fu-complex-component" };
2576
2580
  const _hoisted_2$2 = { class: "fu-complex-component__label" };
2577
2581
  const _hoisted_3 = { class: "fu-complex-component__content" };
2578
- const __default__$a = { name: "FuComplexDateTime" };
2579
- const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
2582
+ const __default__$b = { name: "FuComplexDateTime" };
2583
+ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
2580
2584
  props: {
2581
2585
  size: {
2582
2586
  type: String,
@@ -2599,7 +2603,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2599
2603
  const valueLabel = computed(() => {
2600
2604
  return datetimeFormat(value.value[0]) + " ~ " + datetimeFormat(value.value[1]);
2601
2605
  });
2602
- const { t } = useLocale();
2606
+ const { t: t2 } = useLocale();
2603
2607
  function getCondition() {
2604
2608
  if (!String(value.value))
2605
2609
  return;
@@ -2619,7 +2623,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2619
2623
  });
2620
2624
  return (_ctx, _cache) => {
2621
2625
  const _component_el_date_picker = resolveComponent("el-date-picker");
2622
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
2626
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
2623
2627
  createElementVNode("div", _hoisted_2$2, toDisplayString(__props.label), 1),
2624
2628
  createElementVNode("div", _hoisted_3, [
2625
2629
  createCommentVNode(' :size="configSize" '),
@@ -2629,18 +2633,18 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2629
2633
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
2630
2634
  }, _ctx.$attrs, {
2631
2635
  size: unref(configSize),
2632
- placeholder: unref(t)("fu.search_bar.select_date_time"),
2636
+ placeholder: unref(t2)("fu.search_bar.select_date_time"),
2633
2637
  type: "datetimerange",
2634
2638
  "value-format": __props.valueFormat,
2635
- "start-placeholder": unref(t)("fu.search_bar.start_date_time"),
2636
- "end-placeholder": unref(t)("fu.search_bar.end_date_time")
2639
+ "start-placeholder": unref(t2)("fu.search_bar.start_date_time"),
2640
+ "end-placeholder": unref(t2)("fu.search_bar.end_date_time")
2637
2641
  }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
2638
2642
  ])
2639
2643
  ]);
2640
2644
  };
2641
2645
  }
2642
2646
  }));
2643
- var FuComplexDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexDateTime.vue"]]);
2647
+ var FuComplexDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/search-bar/complex-components/FuComplexDateTime.vue"]]);
2644
2648
  FuSearchBar.install = (app) => {
2645
2649
  app.component(FuQuickSearch.name, FuQuickSearch);
2646
2650
  app.component(FuSearchBar.name, FuSearchBar);
@@ -2730,7 +2734,7 @@ const ClickOutside = {
2730
2734
  nodeList.delete(el);
2731
2735
  }
2732
2736
  };
2733
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
2737
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2734
2738
  __name: "FuSpeedDialButton",
2735
2739
  props: {
2736
2740
  type: {
@@ -2784,10 +2788,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2784
2788
  };
2785
2789
  }
2786
2790
  });
2787
- var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
2791
+ var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
2788
2792
  const SpeedDialKey = Symbol("SpeedDialKey");
2789
- const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
2790
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2793
+ const _hoisted_1$6 = { class: "fu-speed-dial-action-button" };
2794
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2791
2795
  __name: "FuSpeedDialActionButton",
2792
2796
  props: {
2793
2797
  index: Number,
@@ -2852,7 +2856,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2852
2856
  speedDialKey == null ? void 0 : speedDialKey.close();
2853
2857
  }
2854
2858
  return (_ctx, _cache) => {
2855
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
2859
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
2856
2860
  __props.title ? (openBlock(), createElementBlock("div", {
2857
2861
  key: 0,
2858
2862
  class: "fu-speed-dial-action-button__title",
@@ -2876,9 +2880,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2876
2880
  };
2877
2881
  }
2878
2882
  });
2879
- var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
2880
- const __default__$9 = { name: "FuSpeedDialItem" };
2881
- const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
2883
+ var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
2884
+ const __default__$a = { name: "FuSpeedDialItem" };
2885
+ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
2882
2886
  props: {
2883
2887
  index: {
2884
2888
  type: Number,
@@ -2967,10 +2971,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2967
2971
  };
2968
2972
  }
2969
2973
  }));
2970
- var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
2971
- const _hoisted_1$4 = { class: "fu-speed-dial__content" };
2972
- const __default__$8 = { name: "FuSpeedDial" };
2973
- const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
2974
+ var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
2975
+ const _hoisted_1$5 = { class: "fu-speed-dial__content" };
2976
+ const __default__$9 = { name: "FuSpeedDial" };
2977
+ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
2974
2978
  props: {
2975
2979
  modelValue: Boolean,
2976
2980
  id: String,
@@ -3209,7 +3213,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3209
3213
  class: "fu-speed-dial",
3210
3214
  style: normalizeStyle(style.value)
3211
3215
  }, [
3212
- createElementVNode("div", _hoisted_1$4, [
3216
+ createElementVNode("div", _hoisted_1$5, [
3213
3217
  renderSlot(_ctx.$slots, "fab", {}, () => [
3214
3218
  createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
3215
3219
  onClick: click,
@@ -3237,7 +3241,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3237
3241
  };
3238
3242
  }
3239
3243
  }));
3240
- var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
3244
+ var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
3241
3245
  FuSpeedDial.install = (app) => {
3242
3246
  app.component(FuSpeedDial.name, FuSpeedDial);
3243
3247
  app.component(FuSpeedDialItem.name, FuSpeedDialItem);
@@ -3246,12 +3250,12 @@ var __glob_2_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
3246
3250
  __proto__: null,
3247
3251
  "default": FuSpeedDial
3248
3252
  }, Symbol.toStringTag, { value: "Module" }));
3249
- const _hoisted_1$3 = {
3253
+ const _hoisted_1$4 = {
3250
3254
  key: 0,
3251
3255
  class: "icon"
3252
3256
  };
3253
- const __default__$7 = { name: "FuSplitPane" };
3254
- const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
3257
+ const __default__$8 = { name: "FuSplitPane" };
3258
+ const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
3255
3259
  props: {
3256
3260
  min: {
3257
3261
  type: [Number, String],
@@ -3432,7 +3436,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3432
3436
  onMouseover: _cache[0] || (_cache[0] = ($event) => hover.value = true),
3433
3437
  onMouseleave: _cache[1] || (_cache[1] = ($event) => hover.value = false)
3434
3438
  }, [
3435
- __props.resizerType === "resizer" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
3439
+ __props.resizerType === "resizer" ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
3436
3440
  renderSlot(_ctx.$slots, "resizer", {}, () => [
3437
3441
  createVNode(_component_el_icon, { size: 10 }, {
3438
3442
  default: withCtx(() => [
@@ -3453,7 +3457,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3453
3457
  };
3454
3458
  }
3455
3459
  }));
3456
- var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
3460
+ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
3457
3461
  FuSplitPane.install = (app) => {
3458
3462
  app.component(FuSplitPane.name, FuSplitPane);
3459
3463
  };
@@ -3461,6 +3465,477 @@ var __glob_2_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
3461
3465
  __proto__: null,
3462
3466
  "default": FuSplitPane
3463
3467
  }, Symbol.toStringTag, { value: "Module" }));
3468
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
3469
+ __name: "FuHorizontalNavigation",
3470
+ props: {
3471
+ stepper: Object,
3472
+ steps: Array,
3473
+ disable: Function
3474
+ },
3475
+ emits: ["active"],
3476
+ setup(__props, { emit }) {
3477
+ const props = __props;
3478
+ const active = computed(() => {
3479
+ return props.stepper.index;
3480
+ });
3481
+ function click(index) {
3482
+ !props.disable(index) && emit("active", index);
3483
+ }
3484
+ return (_ctx, _cache) => {
3485
+ const _component_el_step = resolveComponent("el-step");
3486
+ const _component_el_steps = resolveComponent("el-steps");
3487
+ return openBlock(), createBlock(_component_el_steps, mergeProps({ active: unref(active) }, __props.stepper), {
3488
+ default: withCtx(() => [
3489
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.steps, (step, index) => {
3490
+ return openBlock(), createBlock(_component_el_step, mergeProps({ key: index }, step, {
3491
+ onClick: ($event) => click(index),
3492
+ class: __props.disable(index) && "fu-step--disable"
3493
+ }), null, 16, ["onClick", "class"]);
3494
+ }), 128))
3495
+ ]),
3496
+ _: 1
3497
+ }, 16, ["active"]);
3498
+ };
3499
+ }
3500
+ });
3501
+ var FuHorizontalNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuHorizontalNavigation.vue"]]);
3502
+ const _sfc_main$f = {};
3503
+ function _sfc_render(_ctx, _cache) {
3504
+ const _component_el_button = resolveComponent("el-button");
3505
+ return openBlock(), createBlock(_component_el_button, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
3506
+ default: withCtx(() => [
3507
+ renderSlot(_ctx.$slots, "default")
3508
+ ]),
3509
+ _: 3
3510
+ }, 16);
3511
+ }
3512
+ var FuStepButton = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render], ["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuStepButton.vue"]]);
3513
+ var FuStepsFooter = defineComponent({
3514
+ name: "FuStepsFooter",
3515
+ components: {
3516
+ FuStepButton
3517
+ },
3518
+ emits: ["stepperFn"],
3519
+ setup(props, { emit }) {
3520
+ const stepper = inject("stepper");
3521
+ const disabledButton = ref(false);
3522
+ const isFirst = computed(() => {
3523
+ return stepper.isFirst(stepper.index);
3524
+ });
3525
+ const isLast = computed(() => {
3526
+ return stepper.isLast(stepper.index);
3527
+ });
3528
+ const showCancel = computed(() => {
3529
+ return stepper.showCancel !== false;
3530
+ });
3531
+ const disabled = computed(() => {
3532
+ return (stepper == null ? void 0 : stepper.isLoading) || disabledButton.value;
3533
+ });
3534
+ function clickHandle(fnName) {
3535
+ stepper[fnName] ? stepper[fnName]() : emit("stepperFn", fnName);
3536
+ disabledButton.value = true;
3537
+ setTimeout(() => {
3538
+ disabledButton.value = false;
3539
+ }, 500);
3540
+ }
3541
+ const button = (value) => {
3542
+ return h(FuStepButton, {
3543
+ disabled: disabled.value,
3544
+ size: stepper.buttonSize,
3545
+ onClick: () => clickHandle(value)
3546
+ }, () => stepper[`${value}ButtonText`]);
3547
+ };
3548
+ return () => h("div", {
3549
+ class: `fu-steps__footer--${stepper.footerAlign}`
3550
+ }, [
3551
+ h("div", {
3552
+ class: "fu-steps__footer--block",
3553
+ style: "margin-right:10px"
3554
+ }, [showCancel.value && button("onCancel")]),
3555
+ h("div", {
3556
+ class: "fu-steps__footer--block"
3557
+ }, [
3558
+ !isFirst.value && button("prev"),
3559
+ isLast.value ? button("onFinish") : button("next")
3560
+ ])
3561
+ ]);
3562
+ }
3563
+ });
3564
+ const { t } = useLocale();
3565
+ class Stepper {
3566
+ constructor(options) {
3567
+ __publicField(this, "steps");
3568
+ __publicField(this, "index");
3569
+ __publicField(this, "activeSet");
3570
+ __publicField(this, "isLoading");
3571
+ __publicField(this, "onCancelButtonText");
3572
+ __publicField(this, "onFinishButtonText");
3573
+ __publicField(this, "prevButtonText");
3574
+ __publicField(this, "nextButtonText");
3575
+ __publicField(this, "buttonSize");
3576
+ __publicField(this, "footerAlign");
3577
+ __publicField(this, "showCancel");
3578
+ __publicField(this, "beforeActive");
3579
+ __publicField(this, "beforeLeave");
3580
+ __publicField(this, "height");
3581
+ options = options || {};
3582
+ this.steps = options.steps;
3583
+ this.index = options.index === void 0 ? 0 : options.index;
3584
+ this.activeSet = /* @__PURE__ */ new Set();
3585
+ this.isLoading = (options == null ? void 0 : options.isLoading) || false;
3586
+ this.onCancelButtonText = options.onCancelButtonText || t("fu.steps.cancel");
3587
+ this.onFinishButtonText = options.onFinishButtonText || t("fu.steps.finish");
3588
+ this.prevButtonText = options.prevButtonText || t("fu.steps.prev");
3589
+ this.nextButtonText = options.nextButtonText || t("fu.steps.next");
3590
+ this.buttonSize = options.buttonSize || "default";
3591
+ this.footerAlign = options.footerAlign || "flex";
3592
+ this.showCancel = options.showCancel === void 0 ? false : options.showCancel;
3593
+ this.beforeActive = options.beforeActive;
3594
+ this.beforeLeave = options.beforeLeave;
3595
+ this.height = options.height;
3596
+ }
3597
+ isFirst(index) {
3598
+ return index === 0;
3599
+ }
3600
+ isLast(index) {
3601
+ return index === this.steps.length - 1;
3602
+ }
3603
+ isActive(index) {
3604
+ return this.activeSet.has(index);
3605
+ }
3606
+ isCurrent(index) {
3607
+ return this.index === index;
3608
+ }
3609
+ async active(index) {
3610
+ const isValid = index >= 0 && index < this.steps.length && this.index !== index;
3611
+ const forward = index > this.index;
3612
+ if (isValid) {
3613
+ if (await this.executeBeforeLeave(this.index, forward) !== false) {
3614
+ if (await this.executeBeforeActive(index, forward) !== false) {
3615
+ this.index = index;
3616
+ this.activeSet.add(index);
3617
+ }
3618
+ }
3619
+ }
3620
+ }
3621
+ next() {
3622
+ if (!this.isLast(this.index)) {
3623
+ this.active(this.index + 1);
3624
+ }
3625
+ }
3626
+ prev() {
3627
+ if (!this.isFirst(this.index)) {
3628
+ this.active(this.index - 1);
3629
+ }
3630
+ }
3631
+ getStep(index) {
3632
+ if (this.steps && this.steps.length > index) {
3633
+ return this.steps[index];
3634
+ }
3635
+ }
3636
+ executeBeforeLeave(index, forward) {
3637
+ const step = this.getStep(index);
3638
+ if (step.beforeLeave) {
3639
+ return step.beforeLeave(step, forward);
3640
+ }
3641
+ if (this.beforeLeave) {
3642
+ return this.beforeLeave(step, forward);
3643
+ }
3644
+ }
3645
+ executeBeforeActive(index, forward) {
3646
+ const step = this.getStep(index);
3647
+ if (step.beforeActive) {
3648
+ return step.beforeActive(step, forward);
3649
+ }
3650
+ if (this.beforeActive) {
3651
+ return this.beforeActive(step, forward);
3652
+ }
3653
+ }
3654
+ }
3655
+ class Step {
3656
+ constructor(options) {
3657
+ __publicField(this, "id");
3658
+ __publicField(this, "index");
3659
+ __publicField(this, "beforeActive");
3660
+ __publicField(this, "beforeLeave");
3661
+ __publicField(this, "title");
3662
+ __publicField(this, "description");
3663
+ __publicField(this, "icon");
3664
+ __publicField(this, "status");
3665
+ options = options || {};
3666
+ this.id = options.id;
3667
+ this.index = options.index;
3668
+ this.beforeActive = options.beforeActive;
3669
+ this.beforeLeave = options.beforeLeave;
3670
+ this.title = options.title;
3671
+ this.description = options.description;
3672
+ this.icon = options.icon;
3673
+ this.status = options.status;
3674
+ }
3675
+ }
3676
+ const _sfc_main$e = defineComponent({
3677
+ name: "FuHorizontalSteps",
3678
+ components: {
3679
+ FuHorizontalNavigation,
3680
+ FuStepsFooter
3681
+ },
3682
+ emits: ["change"],
3683
+ setup(_, { attrs, slots, emit, expose }) {
3684
+ var _a2;
3685
+ const stepper = ref(new Stepper());
3686
+ (_a2 = stepper.value) == null ? void 0 : _a2.activeSet.add(0);
3687
+ watch(() => stepper.value.index, (value) => {
3688
+ emit("change", stepper.value.steps[value]);
3689
+ });
3690
+ const heightStyle = computed(() => {
3691
+ var _a3;
3692
+ return { height: parseInt((_a3 = stepper.value) == null ? void 0 : _a3.height) + "px" || "auto" };
3693
+ });
3694
+ function active(index) {
3695
+ var _a3;
3696
+ (_a3 = stepper.value) == null ? void 0 : _a3.active(index);
3697
+ }
3698
+ function disable(index) {
3699
+ var _a3;
3700
+ return !((_a3 = stepper.value) == null ? void 0 : _a3.isActive(index));
3701
+ }
3702
+ function next() {
3703
+ stepper.value.next();
3704
+ }
3705
+ function prev() {
3706
+ stepper.value.prev();
3707
+ }
3708
+ function $func(name2) {
3709
+ emit(name2);
3710
+ }
3711
+ provide("stepper", stepper.value);
3712
+ expose({
3713
+ next,
3714
+ prev,
3715
+ active
3716
+ });
3717
+ return () => {
3718
+ var _a3, _b, _c;
3719
+ let steps = [];
3720
+ if ((_a3 = slots.default) == null ? void 0 : _a3.call(slots)) {
3721
+ (_b = slots.default) == null ? void 0 : _b.call(slots).forEach((node, index) => {
3722
+ const options = __spreadValues({
3723
+ index
3724
+ }, node.props);
3725
+ const step = new Step(options);
3726
+ steps.push(step);
3727
+ });
3728
+ }
3729
+ stepper.value.steps = steps;
3730
+ stepper.value = Object.assign(stepper.value, attrs);
3731
+ return h("div", {
3732
+ class: ["fu-steps", "fu-steps--horizontal"]
3733
+ }, [
3734
+ h(FuHorizontalNavigation, {
3735
+ stepper: stepper.value,
3736
+ steps,
3737
+ disable,
3738
+ onActive: active
3739
+ }),
3740
+ h("div", { class: "fu-steps__wrapper" }, h("div", { class: "fu-steps__container", style: heightStyle.value }, h(Transition, { name: "carousel", mode: "out-in", tag: "p" }, () => {
3741
+ var _a4;
3742
+ return (_a4 = slots.default) == null ? void 0 : _a4.call(slots).map((item, index) => {
3743
+ item["key"] = index;
3744
+ return stepper.value.index === index && item;
3745
+ });
3746
+ }))),
3747
+ h("div", { class: "fu-steps__footer" }, ((_c = slots.footer) == null ? void 0 : _c.call(slots)) || h(FuStepsFooter, { onStepperFn: $func }))
3748
+ ]);
3749
+ };
3750
+ }
3751
+ });
3752
+ var FuHorizontalSteps = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuHorizontalSteps.vue"]]);
3753
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3754
+ __name: "FuVerticalNavigation",
3755
+ props: {
3756
+ stepper: Object,
3757
+ steps: Array,
3758
+ disable: Function
3759
+ },
3760
+ emits: ["active"],
3761
+ setup(__props, { emit }) {
3762
+ const props = __props;
3763
+ const active = computed(() => {
3764
+ return props.stepper.index;
3765
+ });
3766
+ const heightStyle = computed(() => {
3767
+ var _a2;
3768
+ return {
3769
+ height: parseInt((_a2 = props.stepper) == null ? void 0 : _a2.height) + "px" || "auto"
3770
+ };
3771
+ });
3772
+ function click(index) {
3773
+ !props.disable(index) && emit("active", index);
3774
+ }
3775
+ return (_ctx, _cache) => {
3776
+ const _component_el_collapse_transition = resolveComponent("el-collapse-transition");
3777
+ const _component_el_step = resolveComponent("el-step");
3778
+ const _component_el_steps = resolveComponent("el-steps");
3779
+ return openBlock(), createBlock(_component_el_steps, mergeProps({ active: unref(active) }, __props.stepper, { direction: "vertical" }), {
3780
+ default: withCtx(() => [
3781
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.steps, (step, i) => {
3782
+ return openBlock(), createBlock(_component_el_step, mergeProps({ key: i }, step, {
3783
+ onClick: ($event) => click(i),
3784
+ class: __props.disable(i) && "fu-step--disable"
3785
+ }), {
3786
+ description: withCtx(() => [
3787
+ createElementVNode("span", null, toDisplayString(step.description), 1),
3788
+ createVNode(_component_el_collapse_transition, null, {
3789
+ default: withCtx(() => [
3790
+ i === unref(active) ? (openBlock(), createElementBlock("div", {
3791
+ key: 0,
3792
+ class: "fu-steps__container",
3793
+ style: normalizeStyle(unref(heightStyle))
3794
+ }, [
3795
+ renderSlot(_ctx.$slots, "default", { step })
3796
+ ], 4)) : createCommentVNode("v-if", true)
3797
+ ]),
3798
+ _: 2
3799
+ }, 1024)
3800
+ ]),
3801
+ _: 2
3802
+ }, 1040, ["onClick", "class"]);
3803
+ }), 128))
3804
+ ]),
3805
+ _: 3
3806
+ }, 16, ["active"]);
3807
+ };
3808
+ }
3809
+ });
3810
+ var FuVerticalNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuVerticalNavigation.vue"]]);
3811
+ const _sfc_main$c = defineComponent({
3812
+ name: "FuVerticalSteps",
3813
+ components: { FuVerticalNavigation, FuStepsFooter },
3814
+ emits: ["change"],
3815
+ setup(_, { attrs, slots, emit, expose }) {
3816
+ const stepper = ref(new Stepper());
3817
+ stepper.value.activeSet.add(0);
3818
+ watch(() => stepper.value.index, (value) => {
3819
+ emit("change", stepper.value.steps[value]);
3820
+ });
3821
+ function active(index) {
3822
+ stepper.value.active(index);
3823
+ }
3824
+ function disable(index) {
3825
+ return !stepper.value.isActive(index);
3826
+ }
3827
+ function next() {
3828
+ stepper.value.next();
3829
+ }
3830
+ function prev() {
3831
+ stepper.value.prev();
3832
+ }
3833
+ function $func(name2) {
3834
+ emit(name2);
3835
+ }
3836
+ provide("stepper", stepper.value);
3837
+ expose({
3838
+ next,
3839
+ prev,
3840
+ active
3841
+ });
3842
+ return () => {
3843
+ var _a2, _b;
3844
+ let currentNode;
3845
+ let steps = [];
3846
+ if ((_a2 = slots.default) == null ? void 0 : _a2.call(slots)) {
3847
+ (_b = slots.default) == null ? void 0 : _b.call(slots).forEach((node, index) => {
3848
+ const options = __spreadValues({
3849
+ index
3850
+ }, node.props);
3851
+ const step = new Step(options);
3852
+ steps.push(step);
3853
+ if (stepper.value.isCurrent(index)) {
3854
+ currentNode = node;
3855
+ }
3856
+ });
3857
+ }
3858
+ stepper.value.steps = steps;
3859
+ stepper.value = Object.assign(stepper.value, attrs);
3860
+ return h("div", {
3861
+ class: ["fu-steps", "fu-steps--vertical"]
3862
+ }, [
3863
+ h(FuVerticalNavigation, {
3864
+ stepper: stepper.value,
3865
+ steps,
3866
+ disable,
3867
+ onActive: active
3868
+ }, () => currentNode),
3869
+ h("div", { class: "fu-steps__footer" }, h(FuStepsFooter, { onStepperFn: $func }))
3870
+ ]);
3871
+ };
3872
+ }
3873
+ });
3874
+ var FuVerticalSteps = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuVerticalSteps.vue"]]);
3875
+ const _sfc_main$b = defineComponent({
3876
+ name: "FuSteps",
3877
+ components: {
3878
+ FuHorizontalSteps,
3879
+ FuVerticalSteps
3880
+ },
3881
+ emits: ["change"],
3882
+ props: ["direction"],
3883
+ setup(props, { attrs, slots, emit, expose }) {
3884
+ const { direction } = props;
3885
+ const FuSteps2 = ref();
3886
+ function next() {
3887
+ var _a2;
3888
+ (_a2 = FuSteps2.value) == null ? void 0 : _a2.next();
3889
+ }
3890
+ function prev() {
3891
+ var _a2;
3892
+ (_a2 = FuSteps2.value) == null ? void 0 : _a2.prev();
3893
+ }
3894
+ function active(index) {
3895
+ var _a2;
3896
+ (_a2 = FuSteps2.value) == null ? void 0 : _a2.active(index);
3897
+ }
3898
+ function handleChange({ id, title, index }) {
3899
+ emit("change", { id, title, index });
3900
+ }
3901
+ expose({
3902
+ next,
3903
+ prev,
3904
+ active
3905
+ });
3906
+ if (direction === "vertical") {
3907
+ return () => h(FuVerticalSteps, __spreadValues({ ref: FuSteps2, onChange: handleChange }, attrs), slots);
3908
+ } else {
3909
+ return () => h(FuHorizontalSteps, __spreadValues({ ref: FuSteps2, onChange: handleChange }, attrs), slots);
3910
+ }
3911
+ }
3912
+ });
3913
+ var FuSteps = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuSteps.vue"]]);
3914
+ const _hoisted_1$3 = { class: "fu-step" };
3915
+ const __default__$7 = { name: "FuStep" };
3916
+ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
3917
+ setup(__props) {
3918
+ const stepper = inject("stepper");
3919
+ const loading = computed(() => stepper.isLoading || false);
3920
+ return (_ctx, _cache) => {
3921
+ const _directive_loading = resolveDirective("loading");
3922
+ return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$3, [
3923
+ renderSlot(_ctx.$slots, "default")
3924
+ ])), [
3925
+ [_directive_loading, unref(loading)]
3926
+ ]);
3927
+ };
3928
+ }
3929
+ }));
3930
+ var FuStep = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/runner/work/fit2cloud-ui-plus/fit2cloud-ui-plus/src/components/steps/FuStep.vue"]]);
3931
+ FuSteps.install = (app) => {
3932
+ app.component(FuStep.name, FuStep);
3933
+ app.component(FuSteps.name, FuSteps);
3934
+ };
3935
+ var __glob_2_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3936
+ __proto__: null,
3937
+ "default": FuSteps
3938
+ }, Symbol.toStringTag, { value: "Module" }));
3464
3939
  function isFragment(node) {
3465
3940
  return isVNode(node) && node.type === Fragment;
3466
3941
  }
@@ -3746,7 +4221,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3746
4221
  },
3747
4222
  setup(__props) {
3748
4223
  const props = __props;
3749
- const { t } = useLocale();
4224
+ const { t: t2 } = useLocale();
3750
4225
  const localKey = inject(LocalKey, void 0);
3751
4226
  const {
3752
4227
  columnsKey,
@@ -3767,7 +4242,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3767
4242
  return ((_a2 = props.columns) == null ? void 0 : _a2.length) > 0 && !isFixAll.value;
3768
4243
  });
3769
4244
  const header = computed(() => {
3770
- return props.title || t("fu.table.custom_table_fields");
4245
+ return props.title || t2("fu.table.custom_table_fields");
3771
4246
  });
3772
4247
  function reset() {
3773
4248
  if (columnsKey) {
@@ -3792,7 +4267,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3792
4267
  icon: __props.icon
3793
4268
  }, {
3794
4269
  default: withCtx(() => [
3795
- createTextVNode(toDisplayString(unref(t)("fu.table.custom_table_rows")), 1)
4270
+ createTextVNode(toDisplayString(unref(t2)("fu.table.custom_table_rows")), 1)
3796
4271
  ]),
3797
4272
  _: 1
3798
4273
  }, 8, ["icon"])
@@ -3834,7 +4309,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3834
4309
  onClick: reset
3835
4310
  }, {
3836
4311
  default: withCtx(() => [
3837
- createTextVNode(toDisplayString(unref(t)("fu.table.reset")), 1)
4312
+ createTextVNode(toDisplayString(unref(t2)("fu.table.reset")), 1)
3838
4313
  ]),
3839
4314
  _: 1
3840
4315
  })) : createCommentVNode("v-if", true)
@@ -3866,7 +4341,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3866
4341
  setup(__props) {
3867
4342
  const props = __props;
3868
4343
  const localKey = inject(LocalKey, void 0);
3869
- const { t } = useLocale();
4344
+ const { t: t2 } = useLocale();
3870
4345
  const cloneColumn = (source, target) => {
3871
4346
  source.forEach((col) => {
3872
4347
  target.push(Object.assign({}, col));
@@ -3884,7 +4359,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3884
4359
  const cloneColumns = ref([]);
3885
4360
  const visible = ref(false);
3886
4361
  const header = computed(() => {
3887
- return props.title || t("fu.table.custom_table_fields");
4362
+ return props.title || t2("fu.table.custom_table_fields");
3888
4363
  });
3889
4364
  function open() {
3890
4365
  cloneColumns.value = [];
@@ -3916,7 +4391,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3916
4391
  onClick: _cache[0] || (_cache[0] = ($event) => visible.value = true)
3917
4392
  }, {
3918
4393
  default: withCtx(() => [
3919
- createTextVNode(toDisplayString(unref(t)("fu.table.custom_table_rows")), 1)
4394
+ createTextVNode(toDisplayString(unref(t2)("fu.table.custom_table_rows")), 1)
3920
4395
  ]),
3921
4396
  _: 1
3922
4397
  }, 8, ["icon"]),
@@ -3930,7 +4405,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3930
4405
  header: withCtx(() => [
3931
4406
  createElementVNode("h3", null, toDisplayString(unref(header)), 1),
3932
4407
  createVNode(_component_el_alert, {
3933
- title: unref(t)("fu.table.custom_table_fields_desc"),
4408
+ title: unref(t2)("fu.table.custom_table_fields_desc"),
3934
4409
  type: "info",
3935
4410
  closable: false
3936
4411
  }, null, 8, ["title"])
@@ -3941,7 +4416,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3941
4416
  onClick: reset
3942
4417
  }, {
3943
4418
  default: withCtx(() => [
3944
- createTextVNode(toDisplayString(unref(t)("fu.table.reset")), 1)
4419
+ createTextVNode(toDisplayString(unref(t2)("fu.table.reset")), 1)
3945
4420
  ]),
3946
4421
  _: 1
3947
4422
  })) : createCommentVNode("v-if", true),
@@ -3950,7 +4425,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3950
4425
  onClick: ok
3951
4426
  }, {
3952
4427
  default: withCtx(() => [
3953
- createTextVNode(toDisplayString(unref(t)("fu.table.ok")), 1)
4428
+ createTextVNode(toDisplayString(unref(t2)("fu.table.ok")), 1)
3954
4429
  ]),
3955
4430
  _: 1
3956
4431
  })
@@ -4100,7 +4575,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
4100
4575
  },
4101
4576
  setup(__props) {
4102
4577
  const props = __props;
4103
- const { t } = useLocale();
4578
+ const { t: t2 } = useLocale();
4104
4579
  const disabled = computed(() => {
4105
4580
  return function(btn) {
4106
4581
  return typeof btn.disabled === "function" ? btn.disabled(props.row) : btn.disabled;
@@ -4154,7 +4629,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
4154
4629
  ]),
4155
4630
  _: 1
4156
4631
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
4157
- createTextVNode(toDisplayString(unref(t)("fu.table.more")), 1)
4632
+ createTextVNode(toDisplayString(unref(t2)("fu.table.more")), 1)
4158
4633
  ], 64))
4159
4634
  ]),
4160
4635
  _: 1
@@ -4416,7 +4891,7 @@ FuTable.install = (app) => {
4416
4891
  app.component(FuTableButton.name, FuTableButton);
4417
4892
  app.component(FuTableMoreButton.name, FuTableMoreButton);
4418
4893
  };
4419
- var __glob_2_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4894
+ var __glob_2_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4420
4895
  __proto__: null,
4421
4896
  "default": FuTable
4422
4897
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4567,12 +5042,12 @@ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/runner/w
4567
5042
  FuTabs.install = (app) => {
4568
5043
  app.component(FuTabs.name, FuTabs);
4569
5044
  };
4570
- var __glob_2_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5045
+ var __glob_2_8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4571
5046
  __proto__: null,
4572
5047
  "default": FuTabs
4573
5048
  }, Symbol.toStringTag, { value: "Module" }));
4574
5049
  const name = "fit2cloud-ui-plus";
4575
- const version = "1.0.9";
5050
+ const version = "1.1.1";
4576
5051
  const main = "./lib/fit2cloud-ui-plus.es.js";
4577
5052
  const files = [
4578
5053
  "lib",
@@ -4628,7 +5103,7 @@ var PackageJSON = {
4628
5103
  dependencies,
4629
5104
  devDependencies
4630
5105
  };
4631
- const components = { "./components/filter-bar/index.ts": __glob_2_0, "./components/icon-button/index.ts": __glob_2_1, "./components/read-write-switch/index.ts": __glob_2_2, "./components/search-bar/index.ts": __glob_2_3, "./components/speed-dial/index.ts": __glob_2_4, "./components/split-pane/index.ts": __glob_2_5, "./components/table/index.ts": __glob_2_6, "./components/tabs/index.ts": __glob_2_7 };
5106
+ const components = { "./components/filter-bar/index.ts": __glob_2_0, "./components/icon-button/index.ts": __glob_2_1, "./components/read-write-switch/index.ts": __glob_2_2, "./components/search-bar/index.ts": __glob_2_3, "./components/speed-dial/index.ts": __glob_2_4, "./components/split-pane/index.ts": __glob_2_5, "./components/steps/index.ts": __glob_2_6, "./components/table/index.ts": __glob_2_7, "./components/tabs/index.ts": __glob_2_8 };
4632
5107
  const install = (app, config) => {
4633
5108
  Object.keys(components).forEach((key) => {
4634
5109
  let component = components[key].default;