fit2cloud-ui-plus 0.0.1-beta.7 → 0.0.1-beta.8

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.
@@ -17,11 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __publicField = (obj, key, value) => {
21
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
22
- return value;
23
- };
24
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, mergeProps, getCurrentInstance, inject, computed, unref, isRef, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createVNode, withCtx, provide, onMounted, createTextVNode, createCommentVNode, renderSlot, resolveDynamicComponent, toHandlers, nextTick, normalizeClass, withModifiers, h, withDirectives, vModelText, useSlots, normalizeStyle, Transition, reactive, onUpdated, vShow, normalizeProps, guardReactiveProps } from "vue";
20
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, mergeProps, getCurrentInstance, inject, computed, unref, isRef, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createVNode, withCtx, provide, onMounted, createTextVNode, createCommentVNode, renderSlot, resolveDynamicComponent, toHandlers, nextTick, normalizeClass, withModifiers, h, normalizeStyle, Transition, useSlots, reactive, withDirectives, isVNode, Comment, onUpdated, vShow, normalizeProps, guardReactiveProps } from "vue";
25
21
  var _export_sfc = (sfc, props) => {
26
22
  const target = sfc.__vccOpts || sfc;
27
23
  for (const [key, val] of props) {
@@ -29,8 +25,8 @@ var _export_sfc = (sfc, props) => {
29
25
  }
30
26
  return target;
31
27
  };
32
- const __default__$i = { name: "FuSearchInput" };
33
- const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$i), {
28
+ const __default__$f = { name: "FuSearchInput" };
29
+ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
34
30
  props: {
35
31
  value: String
36
32
  },
@@ -67,14 +63,14 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
67
63
  };
68
64
  }
69
65
  }));
70
- var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
66
+ var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
71
67
  const globalConfig = ref();
72
68
  function useGlobalConfig(key, defaultValue = void 0) {
73
69
  const config = getCurrentInstance() ? inject(Symbol(), globalConfig) : globalConfig;
74
70
  if (key) {
75
71
  return computed(() => {
76
- var _a, _b;
77
- return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
72
+ var _a2, _b;
73
+ return (_b = (_a2 = config.value) == null ? void 0 : _a2[key]) != null ? _b : defaultValue;
78
74
  });
79
75
  } else {
80
76
  return config;
@@ -135,15 +131,15 @@ function arrayMap(array, iteratee) {
135
131
  }
136
132
  return result;
137
133
  }
138
- var isArray = Array.isArray;
139
- var isArray$1 = isArray;
134
+ var isArray$1 = Array.isArray;
135
+ var isArray$2 = isArray$1;
140
136
  var INFINITY$1 = 1 / 0;
141
137
  var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
142
138
  function baseToString(value) {
143
139
  if (typeof value == "string") {
144
140
  return value;
145
141
  }
146
- if (isArray$1(value)) {
142
+ if (isArray$2(value)) {
147
143
  return arrayMap(value, baseToString) + "";
148
144
  }
149
145
  if (isSymbol(value)) {
@@ -213,7 +209,7 @@ function eq(value, other) {
213
209
  }
214
210
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
215
211
  function isKey(value, object) {
216
- if (isArray$1(value)) {
212
+ if (isArray$2(value)) {
217
213
  return false;
218
214
  }
219
215
  var type = typeof value;
@@ -423,7 +419,7 @@ function toString(value) {
423
419
  return value == null ? "" : baseToString(value);
424
420
  }
425
421
  function castPath(value, object) {
426
- if (isArray$1(value)) {
422
+ if (isArray$2(value)) {
427
423
  return value;
428
424
  }
429
425
  return isKey(value, object) ? [value] : stringToPath$1(toString(value));
@@ -508,8 +504,8 @@ var Chinese = {
508
504
  };
509
505
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
510
506
  const translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => {
511
- var _a;
512
- return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;
507
+ var _a2;
508
+ return `${(_a2 = option == null ? void 0 : option[key]) != null ? _a2 : `{${key}}`}`;
513
509
  });
514
510
  const buildLocaleContext = (locale) => {
515
511
  const lang = computed(() => unref(locale).name);
@@ -524,9 +520,9 @@ const useLocale = () => {
524
520
  const locale = useGlobalConfig("locale");
525
521
  return buildLocaleContext(computed(() => locale.value || Chinese));
526
522
  };
527
- const _hoisted_1$g = { class: "fu-filter-conditions" };
528
- const _hoisted_2$b = { class: "condition-text" };
529
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
523
+ const _hoisted_1$c = { class: "fu-filter-conditions" };
524
+ const _hoisted_2$7 = { class: "condition-text" };
525
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
530
526
  props: {
531
527
  conditions: Array
532
528
  },
@@ -534,8 +530,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
534
530
  setup(__props, { emit }) {
535
531
  const props = __props;
536
532
  function remove(index2) {
537
- var _a;
538
- (_a = props.conditions) == null ? void 0 : _a.splice(index2, 1);
533
+ var _a2;
534
+ (_a2 = props.conditions) == null ? void 0 : _a2.splice(index2, 1);
539
535
  emit("change", props.conditions);
540
536
  }
541
537
  function text(condition) {
@@ -544,13 +540,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
544
540
  return (_ctx, _cache) => {
545
541
  const _component_CloseBold = resolveComponent("CloseBold");
546
542
  const _component_el_icon = resolveComponent("el-icon");
547
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
543
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
548
544
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index2) => {
549
545
  return openBlock(), createElementBlock("div", {
550
546
  class: "fu-filter-conditions__item",
551
547
  key: index2
552
548
  }, [
553
- createElementVNode("div", _hoisted_2$b, toDisplayString(text(condition)), 1),
549
+ createElementVNode("div", _hoisted_2$7, toDisplayString(text(condition)), 1),
554
550
  createVNode(_component_el_icon, {
555
551
  class: "fu-scale-click",
556
552
  onClick: ($event) => remove(index2)
@@ -566,16 +562,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
566
562
  };
567
563
  }
568
564
  });
569
- var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
565
+ var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
570
566
  const selectKey = Symbol("SelectKey");
571
567
  const referenceKey = Symbol("ReferenceKey");
572
- const _hoisted_1$f = { class: "fu-filter__result" };
573
- const _hoisted_2$a = { style: { "opacity": "0.6" } };
574
- const _hoisted_3$7 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
575
- const _hoisted_4$3 = { class: "drawer-body" };
576
- const _hoisted_5$2 = { class: "drawer-footer" };
577
- const __default__$h = { name: "FuFilter" };
578
- const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
568
+ const _hoisted_1$b = { class: "fu-filter__result" };
569
+ const _hoisted_2$6 = { style: { "opacity": "0.6" } };
570
+ const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
571
+ const _hoisted_4$2 = { class: "drawer-body" };
572
+ const _hoisted_5$1 = { class: "drawer-footer" };
573
+ const __default__$e = { name: "FuFilter" };
574
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
579
575
  props: {
580
576
  count: {
581
577
  type: Number,
@@ -602,16 +598,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
602
598
  clearInterval(rightTimer);
603
599
  }
604
600
  function left() {
605
- var _a;
606
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
601
+ var _a2;
602
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
607
603
  leftTimer = setInterval(() => {
608
604
  if (el)
609
605
  el.scrollLeft -= 15;
610
606
  }, 50);
611
607
  }
612
608
  function right() {
613
- var _a;
614
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
609
+ var _a2;
610
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
615
611
  rightTimer = setInterval(() => {
616
612
  if (el)
617
613
  el.scrollLeft += 15;
@@ -619,8 +615,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
619
615
  }
620
616
  function change() {
621
617
  nextTick(() => {
622
- var _a;
623
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
618
+ var _a2;
619
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
624
620
  scroll.value = el != null && (el == null ? void 0 : el.getBoundingClientRect().width) >= scrollWidth.value;
625
621
  });
626
622
  emit("filter", conditions.value);
@@ -693,11 +689,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
693
689
  ref_key: "filterRef",
694
690
  ref: filterRef
695
691
  }, [
696
- createElementVNode("div", _hoisted_1$f, [
692
+ createElementVNode("div", _hoisted_1$b, [
697
693
  createTextVNode(toDisplayString(__props.count) + " ", 1),
698
- createElementVNode("span", _hoisted_2$a, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
694
+ createElementVNode("span", _hoisted_2$6, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
699
695
  ]),
700
- _hoisted_3$7,
696
+ _hoisted_3$4,
701
697
  scroll.value ? (openBlock(), createElementBlock("div", {
702
698
  key: 0,
703
699
  class: "fu-filter__scroll",
@@ -752,7 +748,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
752
748
  onOpen: initComponents
753
749
  }, {
754
750
  default: withCtx(() => [
755
- createElementVNode("div", _hoisted_4$3, [
751
+ createElementVNode("div", _hoisted_4$2, [
756
752
  renderSlot(_ctx.$slots, "default", {}, () => [
757
753
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c, i) => {
758
754
  return openBlock(), createBlock(resolveDynamicComponent(c.component), mergeProps({ key: i }, c, {
@@ -762,7 +758,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
762
758
  }), 128))
763
759
  ])
764
760
  ]),
765
- createElementVNode("div", _hoisted_5$2, [
761
+ createElementVNode("div", _hoisted_5$1, [
766
762
  renderSlot(_ctx.$slots, "footer", {}, () => [
767
763
  createVNode(_component_el_button, {
768
764
  onClick: _cache[0] || (_cache[0] = ($event) => drawer.value = false)
@@ -790,15 +786,15 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
790
786
  };
791
787
  }
792
788
  }));
793
- var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
794
- const _hoisted_1$e = { class: "fu-filter-bar" };
795
- const _hoisted_2$9 = { class: "fu-filter-bar__top" };
796
- const _hoisted_3$6 = { class: "top_left" };
797
- const _hoisted_4$2 = { class: "top_right" };
798
- const _hoisted_5$1 = { key: 0 };
789
+ var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
790
+ const _hoisted_1$a = { class: "fu-filter-bar" };
791
+ const _hoisted_2$5 = { class: "fu-filter-bar__top" };
792
+ const _hoisted_3$3 = { class: "top_left" };
793
+ const _hoisted_4$1 = { class: "top_right" };
794
+ const _hoisted_5 = { key: 0 };
799
795
  const _hoisted_6 = { class: "fu-filter-bar__bottom" };
800
- const __default__$g = { name: "FuFilterBar" };
801
- const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
796
+ const __default__$d = { name: "FuFilterBar" };
797
+ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
802
798
  props: {
803
799
  resultCount: Number,
804
800
  quickPlaceholder: String,
@@ -811,8 +807,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
811
807
  const conditions = ref([]);
812
808
  const filterRef = ref();
813
809
  function open() {
814
- var _a;
815
- (_a = filterRef.value) == null ? void 0 : _a.open();
810
+ var _a2;
811
+ (_a2 = filterRef.value) == null ? void 0 : _a2.open();
816
812
  }
817
813
  function change() {
818
814
  emit("exec", conditionObj.value);
@@ -822,8 +818,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
822
818
  emit("exec", conditionObj.value);
823
819
  }
824
820
  function setConditions(conditionObj2) {
825
- var _a;
826
- (_a = filterRef.value) == null ? void 0 : _a.setConditions(conditionObj2);
821
+ var _a2;
822
+ (_a2 = filterRef.value) == null ? void 0 : _a2.setConditions(conditionObj2);
827
823
  }
828
824
  const conditionObj = computed(() => {
829
825
  let obj = { quick: quick.value };
@@ -837,12 +833,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
837
833
  });
838
834
  return (_ctx, _cache) => {
839
835
  const _component_el_button = resolveComponent("el-button");
840
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
841
- createElementVNode("div", _hoisted_2$9, [
842
- createElementVNode("div", _hoisted_3$6, [
836
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
837
+ createElementVNode("div", _hoisted_2$5, [
838
+ createElementVNode("div", _hoisted_3$3, [
843
839
  renderSlot(_ctx.$slots, "tl")
844
840
  ]),
845
- createElementVNode("div", _hoisted_4$2, [
841
+ createElementVNode("div", _hoisted_4$1, [
846
842
  renderSlot(_ctx.$slots, "tr", {}, () => [
847
843
  createCommentVNode(' :size="configSize" '),
848
844
  createVNode(FuSearchInput, {
@@ -857,7 +853,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
857
853
  }, {
858
854
  default: withCtx(() => [
859
855
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.filter")) + " ", 1),
860
- conditions.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$1, "(" + toDisplayString(conditions.value.length) + ")", 1)) : createCommentVNode("v-if", true)
856
+ conditions.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5, "(" + toDisplayString(conditions.value.length) + ")", 1)) : createCommentVNode("v-if", true)
861
857
  ]),
862
858
  _: 1
863
859
  })
@@ -883,9 +879,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
883
879
  };
884
880
  }
885
881
  }));
886
- var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
887
- const _hoisted_1$d = ["onClick"];
888
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
882
+ var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
883
+ const _hoisted_1$9 = ["onClick"];
884
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
889
885
  props: {
890
886
  value: {
891
887
  type: [String, Number],
@@ -916,17 +912,17 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
916
912
  return openBlock(), createElementBlock("div", {
917
913
  class: normalizeClass(["fu-filter-option", { "is-selected": unref(selected), "is-disabled": __props.disabled }]),
918
914
  onClick: withModifiers(click, ["stop"])
919
- }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$d);
915
+ }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$9);
920
916
  };
921
917
  }
922
918
  });
923
- var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
924
- const _hoisted_1$c = { class: "fu-filter-component" };
925
- const _hoisted_2$8 = { class: "fu-filter-component__label" };
926
- const _hoisted_3$5 = { class: "fu-filter-component__content" };
927
- const _hoisted_4$1 = { class: "fu-filter-option" };
928
- const __default__$f = { name: "FuFilterSelect" };
929
- const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
919
+ var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
920
+ const _hoisted_1$8 = { class: "fu-filter-component" };
921
+ const _hoisted_2$4 = { class: "fu-filter-component__label" };
922
+ const _hoisted_3$2 = { class: "fu-filter-component__content" };
923
+ const _hoisted_4 = { class: "fu-filter-option" };
924
+ const __default__$c = { name: "FuFilterSelect" };
925
+ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
930
926
  props: {
931
927
  multiple: {
932
928
  type: Boolean,
@@ -1031,9 +1027,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1031
1027
  const _component_Plus = resolveComponent("Plus");
1032
1028
  const _component_el_icon = resolveComponent("el-icon");
1033
1029
  const _component_el_popover = resolveComponent("el-popover");
1034
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
1035
- createElementVNode("div", _hoisted_2$8, toDisplayString(__props.label), 1),
1036
- createElementVNode("div", _hoisted_3$5, [
1030
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
1031
+ createElementVNode("div", _hoisted_2$4, toDisplayString(__props.label), 1),
1032
+ createElementVNode("div", _hoisted_3$2, [
1037
1033
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
1038
1034
  return openBlock(), createBlock(FuFilterOption, {
1039
1035
  label: o.label,
@@ -1049,7 +1045,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1049
1045
  width: "240"
1050
1046
  }, {
1051
1047
  reference: withCtx(() => [
1052
- createElementVNode("div", _hoisted_4$1, [
1048
+ createElementVNode("div", _hoisted_4, [
1053
1049
  createVNode(_component_el_icon, null, {
1054
1050
  default: withCtx(() => [
1055
1051
  createVNode(_component_Plus)
@@ -1097,7 +1093,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1097
1093
  };
1098
1094
  }
1099
1095
  }));
1100
- var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1096
+ var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1101
1097
  const getCheckDate = (timestamp) => {
1102
1098
  if (!timestamp)
1103
1099
  return false;
@@ -1127,11 +1123,11 @@ const dateFormat = (timestamp) => {
1127
1123
  const d = (dt.getDate() + "").padStart(2, "0");
1128
1124
  return `${y}-${m}-${d}`;
1129
1125
  };
1130
- const _hoisted_1$b = { class: "fu-filter-component" };
1131
- const _hoisted_2$7 = { class: "fu-filter-component__label" };
1132
- const _hoisted_3$4 = { class: "fu-filter-component__content" };
1133
- const __default__$e = { name: "FuFilterDate" };
1134
- const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
1126
+ const _hoisted_1$7 = { class: "fu-filter-component" };
1127
+ const _hoisted_2$3 = { class: "fu-filter-component__label" };
1128
+ const _hoisted_3$1 = { class: "fu-filter-component__content" };
1129
+ const __default__$b = { name: "FuFilterDate" };
1130
+ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1135
1131
  props: {
1136
1132
  label: String,
1137
1133
  field: {
@@ -1169,9 +1165,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1169
1165
  });
1170
1166
  return (_ctx, _cache) => {
1171
1167
  const _component_el_date_picker = resolveComponent("el-date-picker");
1172
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
1173
- createElementVNode("div", _hoisted_2$7, toDisplayString(__props.label), 1),
1174
- createElementVNode("div", _hoisted_3$4, [
1168
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
1169
+ createElementVNode("div", _hoisted_2$3, toDisplayString(__props.label), 1),
1170
+ createElementVNode("div", _hoisted_3$1, [
1175
1171
  createCommentVNode(' :size="configSize" '),
1176
1172
  createVNode(_component_el_date_picker, mergeProps({
1177
1173
  class: "fu-filter-date",
@@ -1189,12 +1185,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1189
1185
  };
1190
1186
  }
1191
1187
  }));
1192
- var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1193
- const _hoisted_1$a = { class: "fu-filter-component" };
1194
- const _hoisted_2$6 = { class: "fu-filter-component__label" };
1195
- const _hoisted_3$3 = { class: "fu-filter-component__content" };
1196
- const __default__$d = { name: "FuFilterDateTime" };
1197
- const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
1188
+ var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1189
+ const _hoisted_1$6 = { class: "fu-filter-component" };
1190
+ const _hoisted_2$2 = { class: "fu-filter-component__label" };
1191
+ const _hoisted_3 = { class: "fu-filter-component__content" };
1192
+ const __default__$a = { name: "FuFilterDateTime" };
1193
+ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1198
1194
  props: {
1199
1195
  label: String,
1200
1196
  field: {
@@ -1232,9 +1228,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1232
1228
  });
1233
1229
  return (_ctx, _cache) => {
1234
1230
  const _component_el_date_picker = resolveComponent("el-date-picker");
1235
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
1236
- createElementVNode("div", _hoisted_2$6, toDisplayString(__props.label), 1),
1237
- createElementVNode("div", _hoisted_3$3, [
1231
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
1232
+ createElementVNode("div", _hoisted_2$2, toDisplayString(__props.label), 1),
1233
+ createElementVNode("div", _hoisted_3, [
1238
1234
  createCommentVNode(' :size="configSize" '),
1239
1235
  createVNode(_component_el_date_picker, mergeProps({
1240
1236
  class: "fu-filter-date",
@@ -1252,7 +1248,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1252
1248
  };
1253
1249
  }
1254
1250
  }));
1255
- var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1251
+ var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1256
1252
  var index$1 = {
1257
1253
  install: (app) => {
1258
1254
  app.component(FuFilterBar.name, FuFilterBar);
@@ -1283,7 +1279,7 @@ const uuid = function() {
1283
1279
  });
1284
1280
  };
1285
1281
  const TRIGGERS = ["manual", "onClick", "onDblclick"];
1286
- const _sfc_main$m = defineComponent({
1282
+ const _sfc_main$h = defineComponent({
1287
1283
  name: "FuReadWriteSwitch",
1288
1284
  props: {
1289
1285
  modelValue: Boolean,
@@ -1351,9 +1347,9 @@ const _sfc_main$m = defineComponent({
1351
1347
  };
1352
1348
  }
1353
1349
  });
1354
- var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1355
- const __default__$c = { name: "FuInputRwSwitch" };
1356
- const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
1350
+ var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1351
+ const __default__$9 = { name: "FuInputRwSwitch" };
1352
+ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1357
1353
  props: {
1358
1354
  modelValue: [String, Number],
1359
1355
  writeTrigger: {
@@ -1404,9 +1400,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1404
1400
  };
1405
1401
  }
1406
1402
  }));
1407
- var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1408
- const __default__$b = { name: "FuSelectRwSwitch" };
1409
- const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1403
+ var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1404
+ const __default__$8 = { name: "FuSelectRwSwitch" };
1405
+ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1410
1406
  props: {
1411
1407
  modelValue: [String, Number],
1412
1408
  options: {
@@ -1482,7 +1478,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1482
1478
  };
1483
1479
  }
1484
1480
  }));
1485
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1481
+ var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1486
1482
  FuReadWriteSwitch.install = (app) => {
1487
1483
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1488
1484
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1492,440 +1488,82 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1492
1488
  __proto__: null,
1493
1489
  "default": FuReadWriteSwitch
1494
1490
  }, Symbol.toStringTag, { value: "Module" }));
1495
- const _hoisted_1$9 = {
1496
- class: /* @__PURE__ */ normalizeClass(["fu-quick-search"])
1491
+ var _a;
1492
+ const isClient = typeof window !== "undefined";
1493
+ isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1494
+ Object.freeze({});
1495
+ Object.freeze([]);
1496
+ const isArray = Array.isArray;
1497
+ const isElement = (e) => {
1498
+ if (typeof Element === "undefined")
1499
+ return false;
1500
+ return e instanceof Element;
1497
1501
  };
1498
- const _hoisted_2$5 = ["placeholder"];
1499
- const __default__$a = { name: "FuQuickSearch" };
1500
- const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1501
- props: {
1502
- value: String,
1503
- placeholder: String,
1504
- useIcon: {
1505
- type: Boolean,
1506
- default: true
1507
- }
1508
- },
1509
- emits: ["input", "change"],
1510
- setup(__props, { emit }) {
1511
- const props = __props;
1512
- const quick = ref("");
1513
- watch(() => props.value, (val) => {
1514
- quick.value = val;
1515
- });
1516
- function input(e) {
1517
- emit("input", quick.value, e);
1518
- }
1519
- function blur(e) {
1520
- emit("change", quick.value, e);
1521
- }
1522
- function keydown(e) {
1523
- const event = e;
1524
- if (event.key === "Enter") {
1525
- emit("change", quick.value, e);
1502
+ const nodeList = /* @__PURE__ */ new Map();
1503
+ let startClick;
1504
+ if (isClient) {
1505
+ document.addEventListener("mousedown", (e) => startClick = e);
1506
+ document.addEventListener("mouseup", (e) => {
1507
+ for (const handlers of nodeList.values()) {
1508
+ for (const { documentHandler } of handlers) {
1509
+ documentHandler(e, startClick);
1526
1510
  }
1527
1511
  }
1528
- return (_ctx, _cache) => {
1529
- const _component_Search = resolveComponent("Search");
1530
- const _component_el_icon = resolveComponent("el-icon");
1531
- return openBlock(), createElementBlock(Fragment, null, [
1532
- createCommentVNode(" , 'fu-quick-search--' + configSize "),
1533
- createElementVNode("div", _hoisted_1$9, [
1534
- __props.useIcon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
1535
- default: withCtx(() => [
1536
- createVNode(_component_Search)
1537
- ]),
1538
- _: 1
1539
- })) : createCommentVNode("v-if", true),
1540
- createElementVNode("label", null, [
1541
- withDirectives(createElementVNode("input", {
1542
- placeholder: __props.placeholder,
1543
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
1544
- onInput: input,
1545
- onBlur: blur,
1546
- onKeydown: keydown
1547
- }, null, 40, _hoisted_2$5), [
1548
- [vModelText, quick.value]
1549
- ])
1550
- ])
1551
- ])
1552
- ], 2112);
1553
- };
1554
- }
1555
- }));
1556
- var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuQuickSearch.vue"]]);
1557
- const __default__$9 = { name: "FuSearchBarButton" };
1558
- const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1559
- props: {
1560
- tooltip: String
1561
- },
1562
- setup(__props) {
1563
- return (_ctx, _cache) => {
1564
- const _component_el_button = resolveComponent("el-button");
1565
- const _component_el_tooltip = resolveComponent("el-tooltip");
1566
- return openBlock(), createBlock(_component_el_tooltip, {
1567
- content: __props.tooltip,
1568
- disabled: !__props.tooltip
1569
- }, {
1570
- default: withCtx(() => [
1571
- createCommentVNode(' :size="configSize" '),
1572
- createVNode(_component_el_button, mergeProps({
1573
- class: "fu-search-bar-button",
1574
- circle: ""
1575
- }, _ctx.$attrs), null, 16),
1576
- createCommentVNode(" <slot></slot> "),
1577
- createCommentVNode(" *****element\u95EE\u9898 \u52A0\u4E0A\u63D2\u69FD \u7A7A\u7684\u60C5\u51B5\u4E0B\u6E32\u67D3\u591A\u51FA\u4E00\u4E2Aspan\u6807\u7B7E\u95EE\u9898 \u5F85\u8003\u8651 ")
1578
- ]),
1579
- _: 1
1580
- }, 8, ["content", "disabled"]);
1581
- };
1582
- }
1583
- }));
1584
- var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchBarButton.vue"]]);
1585
- const _hoisted_1$8 = { class: "fu-complex-search" };
1586
- const _hoisted_2$4 = { class: "fu-complex-components__body" };
1587
- const _hoisted_3$2 = { class: "fu-complex-components__footer" };
1588
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1589
- props: {
1590
- components: Array
1591
- },
1592
- emits: ["close", "change"],
1593
- setup(__props, { emit }) {
1594
- const props = __props;
1595
- const slots = useSlots();
1596
- const instance = getCurrentInstance();
1597
- const { t } = useLocale();
1598
- const active = ref(false);
1599
- function closePopover() {
1600
- emit("close");
1601
- }
1602
- function toggle() {
1603
- active.value = !active.value;
1604
- refs.value.forEach((r) => {
1605
- if (r == null ? void 0 : r.init) {
1606
- r.init();
1607
- } else {
1608
- console.warn("init undefined", r);
1609
- }
1610
- });
1512
+ });
1513
+ }
1514
+ function createDocumentHandler(el, binding) {
1515
+ let excludes = [];
1516
+ if (Array.isArray(binding.arg)) {
1517
+ excludes = binding.arg;
1518
+ } else if (isElement(binding.arg)) {
1519
+ excludes.push(binding.arg);
1520
+ }
1521
+ return function(mouseup, mousedown) {
1522
+ const popperRef = binding.instance.popperRef;
1523
+ const mouseUpTarget = mouseup.target;
1524
+ const mouseDownTarget = mousedown == null ? void 0 : mousedown.target;
1525
+ const isBound = !binding || !binding.instance;
1526
+ const isTargetExists = !mouseUpTarget || !mouseDownTarget;
1527
+ const isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
1528
+ const isSelf = el === mouseUpTarget;
1529
+ const isTargetExcluded = excludes.length && excludes.some((item) => item == null ? void 0 : item.contains(mouseUpTarget)) || excludes.length && excludes.includes(mouseDownTarget);
1530
+ const isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
1531
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
1532
+ return;
1533
+ }
1534
+ binding.value(mouseup, mousedown);
1535
+ };
1536
+ }
1537
+ const ClickOutside = {
1538
+ beforeMount(el, binding) {
1539
+ if (!nodeList.has(el)) {
1540
+ nodeList.set(el, []);
1611
1541
  }
1612
- function ok() {
1613
- active.value = false;
1614
- let conditions = [];
1615
- refs.value.forEach((r) => {
1616
- let condition;
1617
- if (r.getCondition) {
1618
- condition = r.getCondition();
1619
- } else {
1620
- console.warn("getCondition undefined", r);
1621
- }
1622
- if (condition && condition.value !== void 0) {
1623
- conditions.push(condition);
1624
- }
1625
- });
1626
- emit("change", conditions);
1627
- }
1628
- const refs = computed(() => {
1629
- var _a, _b;
1630
- let refs2 = [];
1631
- if ((_a = slots.default) == null ? void 0 : _a.call(slots)[0].children.length) {
1632
- (_b = slots.default) == null ? void 0 : _b.call(slots).forEach((component) => {
1633
- refs2.push(component.componentInstance);
1634
- });
1635
- } else {
1636
- props.components.forEach((c) => {
1637
- refs2.push(instance.refs[c.field][0]);
1638
- });
1639
- }
1640
- return refs2;
1542
+ nodeList.get(el).push({
1543
+ documentHandler: createDocumentHandler(el, binding),
1544
+ bindingFn: binding.value
1641
1545
  });
1642
- return (_ctx, _cache) => {
1643
- const _component_el_button = resolveComponent("el-button");
1644
- const _component_el_popover = resolveComponent("el-popover");
1645
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
1646
- createVNode(_component_el_popover, {
1647
- trigger: "manual",
1648
- modelValue: active.value,
1649
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => active.value = $event),
1650
- "show-arrow": false,
1651
- onHide: closePopover,
1652
- "popper-class": "fu-complex-components"
1653
- }, {
1654
- reference: withCtx(() => [
1655
- createCommentVNode(' :size="configSize" '),
1656
- createVNode(FuSearchBarButton, {
1657
- icon: "ArrowRight",
1658
- onClick: toggle,
1659
- class: normalizeClass(["fu-complex-search__trigger", { "is-active": active.value }]),
1660
- tooltip: unref(t)("fu.search_bar.adv_search")
1661
- }, null, 8, ["class", "tooltip"])
1662
- ]),
1663
- default: withCtx(() => [
1664
- createElementVNode("div", _hoisted_2$4, [
1665
- renderSlot(_ctx.$slots, "default", {}, () => [
1666
- createCommentVNode(' :size="configSize" '),
1667
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c, i) => {
1668
- return openBlock(), createBlock(resolveDynamicComponent(c.component), mergeProps({ key: i }, c, {
1669
- ref_for: true,
1670
- ref: c.field
1671
- }, toHandlers(c)), null, 16);
1672
- }), 128))
1673
- ])
1674
- ]),
1675
- createElementVNode("div", _hoisted_3$2, [
1676
- createCommentVNode(' :size="configSize" '),
1677
- createVNode(_component_el_button, {
1678
- onClick: _cache[0] || (_cache[0] = ($event) => active.value = false)
1679
- }, {
1680
- default: withCtx(() => [
1681
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.cancel")), 1)
1682
- ]),
1683
- _: 1
1684
- }),
1685
- createVNode(_component_el_button, {
1686
- type: "primary",
1687
- onClick: ok
1688
- }, {
1689
- default: withCtx(() => [
1690
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.ok")), 1)
1691
- ]),
1692
- _: 1
1693
- })
1694
- ])
1695
- ]),
1696
- _: 3
1697
- }, 8, ["modelValue"])
1698
- ]);
1699
- };
1700
- }
1701
- });
1702
- var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuComplexSearch.vue"]]);
1703
- const _hoisted_1$7 = {
1704
- class: /* @__PURE__ */ normalizeClass(["fu-search-conditions"])
1705
- };
1706
- const _hoisted_2$3 = { key: 0 };
1707
- const _hoisted_3$1 = { key: 1 };
1708
- const _hoisted_4 = { class: "condition-value" };
1709
- const _hoisted_5 = ["onClick"];
1710
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1711
- props: {
1712
- conditions: Array
1713
1546
  },
1714
- emits: ["change"],
1715
- setup(__props, { emit }) {
1716
- const props = __props;
1717
- function remove(index2) {
1718
- props.conditions.splice(index2, 1);
1719
- emit("change", props.conditions);
1720
- }
1721
- return (_ctx, _cache) => {
1722
- return openBlock(), createElementBlock(Fragment, null, [
1723
- createCommentVNode(" , 'fu-search-conditions--' + configSize "),
1724
- createElementVNode("div", _hoisted_1$7, [
1725
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index2) => {
1726
- return openBlock(), createElementBlock("div", {
1727
- class: "fu-search-conditions__item",
1728
- key: index2
1729
- }, [
1730
- condition.label ? (openBlock(), createElementBlock("div", _hoisted_2$3, toDisplayString(condition.label), 1)) : createCommentVNode("v-if", true),
1731
- condition.operatorLabel ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(condition.operatorLabel), 1)) : createCommentVNode("v-if", true),
1732
- createElementVNode("div", _hoisted_4, toDisplayString(condition.valueLabel), 1),
1733
- createElementVNode("i", {
1734
- class: "el-icon-close condition-remove",
1735
- onClick: ($event) => remove(index2)
1736
- }, null, 8, _hoisted_5)
1737
- ]);
1738
- }), 128))
1739
- ])
1740
- ], 2112);
1547
+ updated(el, binding) {
1548
+ if (!nodeList.has(el)) {
1549
+ nodeList.set(el, []);
1550
+ }
1551
+ const handlers = nodeList.get(el);
1552
+ const oldHandlerIndex = handlers.findIndex((item) => item.bindingFn === binding.oldValue);
1553
+ const newHandler = {
1554
+ documentHandler: createDocumentHandler(el, binding),
1555
+ bindingFn: binding.value
1741
1556
  };
1742
- }
1743
- });
1744
- var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchContions.vue"]]);
1745
- class ComplexCondition {
1746
- constructor(options) {
1747
- __publicField(this, "field");
1748
- __publicField(this, "label");
1749
- __publicField(this, "operator");
1750
- __publicField(this, "operatorLabel");
1751
- __publicField(this, "value");
1752
- __publicField(this, "valueLabel");
1753
- this.field = options.field;
1754
- this.label = options.label;
1755
- this.operator = options.operator;
1756
- this.operatorLabel = options.operatorLabel;
1757
- this.value = options.value;
1758
- this.valueLabel = options.valueLabel || options.value;
1759
- }
1760
- }
1761
- const _hoisted_1$6 = { class: "fu-search-bar" };
1762
- const _hoisted_2$2 = { class: "fu-search-bar__content" };
1763
- const _hoisted_3 = { class: "fu-search-bar__buttons" };
1764
- const __default__$8 = { name: "FuSearchBar" };
1765
- const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1766
- props: {
1767
- quickKey: {
1768
- type: String,
1769
- default: "quick"
1770
- },
1771
- quickPlaceholder: String,
1772
- useCleanButton: {
1773
- type: Boolean,
1774
- default: true
1775
- },
1776
- useRefreshButton: {
1777
- type: Boolean,
1778
- default: false
1779
- },
1780
- useQuickSearch: {
1781
- type: Boolean,
1782
- default: true
1783
- },
1784
- components: Array
1785
- },
1786
- emits: ["close", "exec"],
1787
- setup(__props, { emit }) {
1788
- const props = __props;
1789
- const { t } = useLocale();
1790
- const slots = useSlots();
1791
- const quick = ref("");
1792
- const conditions = ref([]);
1793
- const complex = ref();
1794
- function merge(source, target) {
1795
- let conditions2 = source.concat(target);
1796
- let conditionMap = /* @__PURE__ */ new Map();
1797
- for (let condition2 of conditions2) {
1798
- conditionMap.set(condition2.field, condition2);
1799
- }
1800
- let result = [];
1801
- conditionMap.forEach((c) => {
1802
- result.push(c);
1803
- });
1804
- return result;
1805
- }
1806
- function closePopover() {
1807
- emit("close");
1808
- }
1809
- function quickChange(value, e) {
1810
- if (value) {
1811
- const field = props.quickKey;
1812
- const valueLabel = value;
1813
- conditions.value = merge(conditions.value, [new ComplexCondition({ field, value, valueLabel })]);
1814
- exec();
1815
- quick.value = "";
1816
- }
1817
- }
1818
- function change(conditions2) {
1819
- conditions2.value = merge(conditions2.value, conditions2);
1820
- exec();
1821
- }
1822
- function clean() {
1823
- quick.value = "";
1824
- conditions.value = [];
1825
- emit("exec", conditions.value);
1826
- }
1827
- function refresh() {
1828
- complex.value.close();
1829
- exec();
1830
- }
1831
- function exec() {
1832
- if (!showComplex) {
1833
- emit("exec", quick.value);
1834
- return;
1835
- }
1836
- emit("exec", condition.value);
1557
+ if (oldHandlerIndex >= 0) {
1558
+ handlers.splice(oldHandlerIndex, 1, newHandler);
1559
+ } else {
1560
+ handlers.push(newHandler);
1837
1561
  }
1838
- const placeholder = computed(() => {
1839
- return props.quickPlaceholder ? props.quickPlaceholder : t("fu.search_bar.search");
1840
- });
1841
- const showComplex = computed(() => {
1842
- var _a;
1843
- if (slots == null ? void 0 : slots.complex)
1844
- return true;
1845
- return ((_a = props.components) == null ? void 0 : _a.length) > 0;
1846
- });
1847
- const showClean = computed(() => {
1848
- return props.useCleanButton && showComplex && (conditions.value.length > 0 || quick.value);
1849
- });
1850
- const showRefresh = computed(() => {
1851
- return props.useRefreshButton && showComplex;
1852
- });
1853
- const condition = computed(() => {
1854
- const condition2 = {};
1855
- if (conditions.value.length > 0) {
1856
- conditions.value.forEach((c) => {
1857
- const { field, operator, value } = c;
1858
- condition2[c.field] = { field, operator, value };
1859
- });
1860
- }
1861
- return condition2;
1862
- });
1863
- return (_ctx, _cache) => {
1864
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
1865
- createElementVNode("div", _hoisted_2$2, [
1866
- createCommentVNode(' :size="configSize" '),
1867
- unref(showComplex) ? (openBlock(), createBlock(FuComplexSearch, {
1868
- key: 0,
1869
- ref_key: "complex",
1870
- ref: complex,
1871
- components: __props.components,
1872
- onChange: change,
1873
- onClose: closePopover
1874
- }, {
1875
- default: withCtx(() => [
1876
- renderSlot(_ctx.$slots, "complex")
1877
- ]),
1878
- _: 3
1879
- }, 8, ["components"])) : createCommentVNode("v-if", true),
1880
- createCommentVNode(' :size="configSize" '),
1881
- unref(showComplex) ? (openBlock(), createBlock(FuSearchConditions, {
1882
- key: 1,
1883
- conditions: conditions.value,
1884
- onChange: change
1885
- }, null, 8, ["conditions"])) : createCommentVNode("v-if", true),
1886
- createCommentVNode(' :size="configSize" '),
1887
- __props.useQuickSearch ? (openBlock(), createBlock(FuQuickSearch, {
1888
- key: 2,
1889
- "use-icon": !unref(showComplex),
1890
- placeholder: unref(placeholder),
1891
- modelValue: quick.value,
1892
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
1893
- onChange: quickChange
1894
- }, null, 8, ["use-icon", "placeholder", "modelValue"])) : createCommentVNode("v-if", true)
1895
- ]),
1896
- createElementVNode("div", _hoisted_3, [
1897
- renderSlot(_ctx.$slots, "buttons", {}, () => [
1898
- createCommentVNode(' :size="configSize" '),
1899
- unref(showClean) ? (openBlock(), createBlock(FuSearchBarButton, {
1900
- key: 0,
1901
- icon: "Close",
1902
- onClick: clean,
1903
- tooltip: unref(t)("fu.search_bar.clean")
1904
- }, null, 8, ["tooltip"])) : createCommentVNode("v-if", true),
1905
- createCommentVNode(' :size="configSize" '),
1906
- unref(showRefresh) ? (openBlock(), createBlock(FuSearchBarButton, {
1907
- key: 1,
1908
- icon: "Refresh",
1909
- onClick: refresh,
1910
- tooltip: unref(t)("fu.search_bar.refresh")
1911
- }, null, 8, ["tooltip"])) : createCommentVNode("v-if", true),
1912
- renderSlot(_ctx.$slots, "default")
1913
- ])
1914
- ])
1915
- ]);
1916
- };
1562
+ },
1563
+ unmounted(el) {
1564
+ nodeList.delete(el);
1917
1565
  }
1918
- }));
1919
- var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/search-bar/FuSearchBar.vue"]]);
1920
- FuSearchBar.install = (app) => {
1921
- app.component(FuSearchBar.name, FuSearchBar);
1922
- app.component(FuSearchBarButton.name, FuSearchBarButton);
1923
- app.component(FuQuickSearch.name, FuQuickSearch);
1924
1566
  };
1925
- var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1926
- __proto__: null,
1927
- "default": FuSearchBar
1928
- }, Symbol.toStringTag, { value: "Module" }));
1929
1567
  const COMPONENTS_TYPE = ["default", "primary", "success", "warning", "danger", "info"];
1930
1568
  const validateType = (value) => {
1931
1569
  if (!value)
@@ -2315,6 +1953,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2315
1953
  active2.value = active2 === void 0 ? !active2.value : active2;
2316
1954
  }
2317
1955
  }
1956
+ function outsideClickClose() {
1957
+ if (props.outsideClose && !props.manual) {
1958
+ toggle(false);
1959
+ }
1960
+ emit("outside-click", [props.id, active.value]);
1961
+ }
2318
1962
  function click(e) {
2319
1963
  if (!props.manual) {
2320
1964
  toggle();
@@ -2399,34 +2043,33 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2399
2043
  close
2400
2044
  });
2401
2045
  return (_ctx, _cache) => {
2402
- return openBlock(), createElementBlock(Fragment, null, [
2403
- createCommentVNode(' v-outside-click="outsideClickClose" '),
2404
- createElementVNode("div", {
2405
- class: "fu-speed-dial",
2406
- style: normalizeStyle(unref(style))
2407
- }, [
2408
- createElementVNode("div", _hoisted_1$4, [
2409
- renderSlot(_ctx.$slots, "fab", {}, () => [
2410
- createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
2411
- onClick: click,
2412
- onMousedown: mousedown
2413
- }), null, 16)
2414
- ]),
2415
- createElementVNode("div", {
2416
- style: normalizeStyle(unref(contentPosition))
2417
- }, [
2418
- renderSlot(_ctx.$slots, "default", {}, () => [
2419
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index2) => {
2420
- return openBlock(), createBlock(FuSpeedDialItem, mergeProps({
2421
- index: index2,
2422
- key: index2
2423
- }, item, { onClick: itemClick }), null, 16, ["index"]);
2424
- }), 128))
2425
- ])
2426
- ], 4)
2427
- ])
2428
- ], 4)
2429
- ], 2112);
2046
+ return withDirectives((openBlock(), createElementBlock("div", {
2047
+ class: "fu-speed-dial",
2048
+ style: normalizeStyle(unref(style))
2049
+ }, [
2050
+ createElementVNode("div", _hoisted_1$4, [
2051
+ renderSlot(_ctx.$slots, "fab", {}, () => [
2052
+ createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
2053
+ onClick: click,
2054
+ onMousedown: mousedown
2055
+ }), null, 16)
2056
+ ]),
2057
+ createElementVNode("div", {
2058
+ style: normalizeStyle(unref(contentPosition))
2059
+ }, [
2060
+ renderSlot(_ctx.$slots, "default", {}, () => [
2061
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index2) => {
2062
+ return openBlock(), createBlock(FuSpeedDialItem, mergeProps({
2063
+ index: index2,
2064
+ key: index2
2065
+ }, item, { onClick: itemClick }), null, 16, ["index"]);
2066
+ }), 128))
2067
+ ])
2068
+ ], 4)
2069
+ ])
2070
+ ], 4)), [
2071
+ [unref(ClickOutside), outsideClickClose]
2072
+ ]);
2430
2073
  };
2431
2074
  }
2432
2075
  }));
@@ -2435,7 +2078,7 @@ FuSpeedDial.install = (app) => {
2435
2078
  app.component(FuSpeedDial.name, FuSpeedDial);
2436
2079
  app.component(FuSpeedDialItem.name, FuSpeedDialItem);
2437
2080
  };
2438
- var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2081
+ var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2439
2082
  __proto__: null,
2440
2083
  "default": FuSpeedDial
2441
2084
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2650,7 +2293,7 @@ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/w
2650
2293
  FuSplitPane.install = (app) => {
2651
2294
  app.component(FuSplitPane.name, FuSplitPane);
2652
2295
  };
2653
- var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2296
+ var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2654
2297
  __proto__: null,
2655
2298
  "default": FuSplitPane
2656
2299
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2658,10 +2301,35 @@ var index = {
2658
2301
  install: (app) => {
2659
2302
  }
2660
2303
  };
2661
- var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2304
+ var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2662
2305
  __proto__: null,
2663
2306
  "default": index
2664
2307
  }, Symbol.toStringTag, { value: "Module" }));
2308
+ function isFragment(node) {
2309
+ return isVNode(node) && node.type === Fragment;
2310
+ }
2311
+ function isComment(node) {
2312
+ return isVNode(node) && node.type === Comment;
2313
+ }
2314
+ function isValidElementNode(node) {
2315
+ return isVNode(node) && !isFragment(node) && !isComment(node);
2316
+ }
2317
+ function isValidChildren(children) {
2318
+ return Array.isArray(children) ? isValidElementNode(children[0]) : false;
2319
+ }
2320
+ function getChildren(nodes, depth = 5) {
2321
+ let node = isArray(nodes) ? nodes[0] : nodes;
2322
+ if (isFragment(node)) {
2323
+ if (isValidChildren(node.children))
2324
+ return node.children;
2325
+ if (depth > 0) {
2326
+ return getChildren(node.children[0], depth - 1);
2327
+ }
2328
+ }
2329
+ if (isValidChildren(nodes))
2330
+ return nodes;
2331
+ return [];
2332
+ }
2665
2333
  const isFix = (node) => {
2666
2334
  const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2667
2335
  const { fix } = node.props;
@@ -2684,20 +2352,19 @@ const FuTableBody = (props, context) => {
2684
2352
  let slots = context.slots.default();
2685
2353
  const nodes = [];
2686
2354
  let { columns } = props;
2687
- if (typeof slots[0].children[0].type === "symbol") {
2688
- slots = slots[0].children;
2689
- }
2690
- const children = slots[0].children.filter((c) => c.type.name !== void 0);
2355
+ let children = getChildren(slots);
2691
2356
  if (!children)
2692
2357
  return nodes;
2693
2358
  if (!columns || (columns == null ? void 0 : columns.length) === 0)
2694
2359
  return children;
2695
2360
  columns.forEach((col) => {
2696
- let node = children.find((child) => {
2697
- return col.label === getLabel(child);
2698
- });
2699
- if (node && (isFix(node) || col.show !== false)) {
2700
- nodes.push(node);
2361
+ if (isArray(children)) {
2362
+ let node = children.find((child) => {
2363
+ return col.label === getLabel(child) && child.type.name !== void 0;
2364
+ });
2365
+ if (node && (isFix(node) || col.show !== false)) {
2366
+ nodes.push(node);
2367
+ }
2701
2368
  }
2702
2369
  });
2703
2370
  return nodes;
@@ -2713,42 +2380,25 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2713
2380
  localKey: String
2714
2381
  },
2715
2382
  setup(__props) {
2716
- var _a;
2383
+ var _a2, _b;
2717
2384
  const props = __props;
2718
- const slots = useSlots();
2385
+ const slots = (_b = (_a2 = useSlots()).default) == null ? void 0 : _b.call(_a2);
2719
2386
  const key = ref(0);
2720
2387
  const prefix = "FU-T-";
2721
- const isFix2 = (node) => {
2722
- const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2723
- const { fix } = node.props;
2724
- let { type } = node.props;
2725
- return fix !== void 0 && fix !== false || ["selection", "index", "expand"].includes(type) || includeTag;
2726
- };
2727
- const getLabel2 = (node) => {
2728
- if (node.props.label)
2729
- return node.props.label;
2730
- const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2731
- let { label, type } = node.props;
2732
- if (includeTag)
2733
- label = prefix + "dropdown";
2734
- label != null ? label : label = node.props.label;
2735
- label != null ? label : label = prefix + type;
2736
- return label;
2737
- };
2738
2388
  const cleanColumns = (columns) => {
2739
2389
  columns.splice(0, columns.length);
2740
2390
  };
2741
2391
  const updateNodes = (nodes) => {
2742
2392
  nodes.forEach((node) => {
2743
2393
  if (!node.type.key) {
2744
- node.type.key = getLabel2(node);
2394
+ node.type.key = getLabel(node);
2745
2395
  }
2746
2396
  });
2747
2397
  };
2748
2398
  const initColumns = (nodes, columns) => {
2749
2399
  nodes.forEach((node) => {
2750
- const label = getLabel2(node);
2751
- const fix = isFix2(node);
2400
+ const label = getLabel(node);
2401
+ const fix = isFix(node);
2752
2402
  const { show } = node.props;
2753
2403
  if (!label && !fix) {
2754
2404
  throw new Error("unfixed column's label is required.");
@@ -2770,15 +2420,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2770
2420
  }
2771
2421
  if (columns.some((col) => col.label === void 0)) {
2772
2422
  columns.forEach((col, i) => {
2773
- var _a2;
2774
- (_a2 = col.label) != null ? _a2 : col.label = getLabel2(nodes[i]);
2423
+ var _a3;
2424
+ (_a3 = col.label) != null ? _a3 : col.label = getLabel(nodes[i]);
2775
2425
  });
2776
2426
  }
2777
2427
  };
2778
2428
  const columnsKey = computed(() => {
2779
2429
  return prefix + props.localKey;
2780
2430
  });
2781
- const children = (_a = slots.default) == null ? void 0 : _a.call(slots).filter((c) => c.type.name !== void 0);
2431
+ let children;
2432
+ if (slots) {
2433
+ if (isValidChildren(slots)) {
2434
+ children = slots;
2435
+ }
2436
+ children = getChildren(slots);
2437
+ }
2782
2438
  watch(() => props.columns, () => {
2783
2439
  if (props.refresh) {
2784
2440
  key.value++;
@@ -2867,9 +2523,9 @@ const tableColumnSelect = (localKey) => {
2867
2523
  }
2868
2524
  }
2869
2525
  function drop(event, list, index2) {
2870
- var _a;
2526
+ var _a2;
2871
2527
  let target = event.target;
2872
- let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
2528
+ let source_index = Number((_a2 = event.dataTransfer) == null ? void 0 : _a2.getData("source_index"));
2873
2529
  let target_index = index2;
2874
2530
  if (target_index > source_index) {
2875
2531
  list.splice(target_index + 1, 0, list[source_index]);
@@ -2922,14 +2578,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2922
2578
  drop
2923
2579
  } = tableColumnSelect(localKey);
2924
2580
  const isFixAll = computed(() => {
2925
- var _a;
2926
- return (_a = props.columns) == null ? void 0 : _a.every((c) => {
2581
+ var _a2;
2582
+ return (_a2 = props.columns) == null ? void 0 : _a2.every((c) => {
2927
2583
  return c.fix;
2928
2584
  });
2929
2585
  });
2930
2586
  const hasSelect = computed(() => {
2931
- var _a;
2932
- return ((_a = props.columns) == null ? void 0 : _a.length) > 0 && !isFixAll.value;
2587
+ var _a2;
2588
+ return ((_a2 = props.columns) == null ? void 0 : _a2.length) > 0 && !isFixAll.value;
2933
2589
  });
2934
2590
  function reset() {
2935
2591
  if (columnsKey) {
@@ -3384,12 +3040,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3384
3040
  };
3385
3041
  });
3386
3042
  function showButtons(row) {
3387
- var _a;
3388
- return (_a = props.buttons) == null ? void 0 : _a.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
3043
+ var _a2;
3044
+ return (_a2 = props.buttons) == null ? void 0 : _a2.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
3389
3045
  }
3390
3046
  function hasMore(row) {
3391
- var _a;
3392
- return ((_a = showButtons(row)) == null ? void 0 : _a.length) > props.ellipsis + 1;
3047
+ var _a2;
3048
+ return ((_a2 = showButtons(row)) == null ? void 0 : _a2.length) > props.ellipsis + 1;
3393
3049
  }
3394
3050
  return (_ctx, _cache) => {
3395
3051
  const _component_el_icon = resolveComponent("el-icon");
@@ -3476,9 +3132,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3476
3132
  const instance = getCurrentInstance();
3477
3133
  const isShow = computed(() => {
3478
3134
  return function(row) {
3479
- var _a, _b, _c;
3135
+ var _a2, _b, _c;
3480
3136
  if (props.showType === "selected") {
3481
- const selection = (_c = (_b = (_a = instance == null ? void 0 : instance.parent) == null ? void 0 : _a.parent) == null ? void 0 : _b.store) == null ? void 0 : _c.getSelectionRows();
3137
+ const selection = (_c = (_b = (_a2 = instance == null ? void 0 : instance.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.store) == null ? void 0 : _c.getSelectionRows();
3482
3138
  return selection.includes(row) && true;
3483
3139
  } else {
3484
3140
  return true;
@@ -3588,7 +3244,7 @@ FuTable.install = (app) => {
3588
3244
  app.use(FuTableColumnSelect.install);
3589
3245
  app.use(FuTableColumnDropdown.install);
3590
3246
  };
3591
- var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3247
+ var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3592
3248
  __proto__: null,
3593
3249
  "default": FuTable
3594
3250
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3738,12 +3394,12 @@ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/wangdan/
3738
3394
  FuTabs.install = (app) => {
3739
3395
  app.component(FuTabs.name, FuTabs);
3740
3396
  };
3741
- var __glob_1_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3397
+ var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3742
3398
  __proto__: null,
3743
3399
  "default": FuTabs
3744
3400
  }, Symbol.toStringTag, { value: "Module" }));
3745
3401
  const name = "fit2cloud-ui-plus";
3746
- const version = "0.0.1-beta.7";
3402
+ const version = "0.0.1-beta.8";
3747
3403
  const main = "./lib/fit2cloud-ui-plus.es.js";
3748
3404
  const files = [
3749
3405
  "lib",
@@ -3767,7 +3423,7 @@ const dependencies = {
3767
3423
  "github-markdown-css": "^5.1.0",
3768
3424
  prismjs: "^1.28.0",
3769
3425
  "vite-plugin-markdown": "^2.0.2",
3770
- vue: "^3.2.25",
3426
+ vue: "^3.2.37",
3771
3427
  "vue-router": "^4.0.14"
3772
3428
  };
3773
3429
  const devDependencies = {
@@ -3793,7 +3449,7 @@ var PackageJSON = {
3793
3449
  dependencies,
3794
3450
  devDependencies
3795
3451
  };
3796
- const components = { "./components/filter-bar/index.ts": __glob_1_0, "./components/read-write-switch/index.ts": __glob_1_1, "./components/search-bar/index.ts": __glob_1_2, "./components/speed-dial/index.ts": __glob_1_3, "./components/split-pane/index.ts": __glob_1_4, "./components/steps/index.ts": __glob_1_5, "./components/table/index.ts": __glob_1_6, "./components/tabs/index.ts": __glob_1_7 };
3452
+ const components = { "./components/filter-bar/index.ts": __glob_1_0, "./components/read-write-switch/index.ts": __glob_1_1, "./components/speed-dial/index.ts": __glob_1_2, "./components/split-pane/index.ts": __glob_1_3, "./components/steps/index.ts": __glob_1_4, "./components/table/index.ts": __glob_1_5, "./components/tabs/index.ts": __glob_1_6 };
3797
3453
  const install = (app) => {
3798
3454
  Object.keys(components).forEach((key) => {
3799
3455
  let component = components[key].default;