fit2cloud-ui-plus 0.0.1-beta.5 → 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.
Files changed (36) hide show
  1. package/lib/fit2cloud-ui-plus.es.js +343 -682
  2. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  3. package/package.json +2 -2
  4. package/src/components/filter-bar/FuFilter.vue +1 -1
  5. package/src/components/read-write-switch/FuInputRwSwitch.vue +9 -5
  6. package/src/components/read-write-switch/FuReadWriteSwitch.vue +38 -36
  7. package/src/components/read-write-switch/FuSelectRwSwitch.vue +11 -7
  8. package/src/components/read-write-switch/types.ts +4 -0
  9. package/src/components/speed-dial/FuSpeedDial.vue +8 -10
  10. package/src/components/split-pane/FuSplitPane.vue +1 -1
  11. package/src/components/table/FuTable.vue +19 -27
  12. package/src/components/table/FuTableBody.ts +38 -34
  13. package/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue +5 -2
  14. package/src/components/table/table-column-select/FuTableColumnSelectDialog.vue +12 -11
  15. package/src/components/table/table-column-select/FuTableColumnSelectPopover.vue +9 -9
  16. package/src/components/table/table-column-select/utils.ts +10 -7
  17. package/src/components/table/table-operations/FuTableMoreButton.vue +4 -2
  18. package/src/components/table/table-operations/FuTableOperations.vue +5 -5
  19. package/src/components/tabs/FuTabs.vue +4 -2
  20. package/src/styles/common/variables.scss +1 -5
  21. package/src/styles/components/split-pane.scss +1 -1
  22. package/src/styles/components/steps.scss +2 -2
  23. package/src/styles/components/table.scss +3 -5
  24. package/src/styles/components/tabs.scss +1 -1
  25. package/src/styles/index.scss +0 -1
  26. package/src/tools/types.ts +9 -0
  27. package/src/tools/utils.ts +36 -36
  28. package/src/tools/vnode.ts +47 -0
  29. package/src/components/search-bar/FuComplexSearch.vue +0 -108
  30. package/src/components/search-bar/FuQuickSearch.vue +0 -43
  31. package/src/components/search-bar/FuSearchBar.vue +0 -165
  32. package/src/components/search-bar/FuSearchBarButton.vue +0 -14
  33. package/src/components/search-bar/FuSearchContions.vue +0 -24
  34. package/src/components/search-bar/index.ts +0 -13
  35. package/src/components/search-bar/store.ts +0 -25
  36. package/src/styles/components/search-bar.scss +0 -285
@@ -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/q4speed/fit2cloud2.0/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$c = { 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$c, 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/q4speed/fit2cloud2.0/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$b = { 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$b, 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/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
794
- const _hoisted_1$e = { class: "fu-filter-bar" };
795
- const _hoisted_2$a = { 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$a, [
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/q4speed/fit2cloud2.0/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/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
924
- const _hoisted_1$c = { class: "fu-filter-component" };
925
- const _hoisted_2$9 = { 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$9, 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/q4speed/fit2cloud2.0/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$8 = { 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$8, 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/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1193
- const _hoisted_1$a = { class: "fu-filter-component" };
1194
- const _hoisted_2$7 = { 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$7, 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/q4speed/fit2cloud2.0/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);
@@ -1282,15 +1278,15 @@ const uuid = function() {
1282
1278
  return (c === "x" ? r : r & 3 | 8).toString(16);
1283
1279
  });
1284
1280
  };
1285
- const TRIGGERS = ["manual", "click", "dblclick"];
1286
- const _sfc_main$m = defineComponent({
1281
+ const TRIGGERS = ["manual", "onClick", "onDblclick"];
1282
+ const _sfc_main$h = defineComponent({
1287
1283
  name: "FuReadWriteSwitch",
1288
1284
  props: {
1289
- value: Boolean,
1285
+ modelValue: Boolean,
1290
1286
  data: [String, Number, Boolean],
1291
1287
  writeTrigger: {
1292
1288
  type: String,
1293
- default: "click",
1289
+ default: "onClick",
1294
1290
  validator: (value) => {
1295
1291
  return TRIGGERS.includes(value);
1296
1292
  }
@@ -1298,9 +1294,8 @@ const _sfc_main$m = defineComponent({
1298
1294
  },
1299
1295
  setup(props, { slots, emit }) {
1300
1296
  const id = ref(uuid());
1301
- const write = ref(props.value === void 0 ? false : props.value);
1302
- watch(() => props.value, (v) => {
1303
- console.log(v);
1297
+ const write = ref(props.modelValue === void 0 ? false : props.modelValue);
1298
+ watch(() => props.modelValue, (v) => {
1304
1299
  if (v === write.value)
1305
1300
  return;
1306
1301
  if (v) {
@@ -1310,7 +1305,7 @@ const _sfc_main$m = defineComponent({
1310
1305
  }
1311
1306
  });
1312
1307
  function change() {
1313
- emit("input", write.value);
1308
+ emit("update:modelValue", write.value);
1314
1309
  emit("change", [props.data, write.value]);
1315
1310
  }
1316
1311
  function switchWrite() {
@@ -1329,46 +1324,47 @@ const _sfc_main$m = defineComponent({
1329
1324
  write.value = false;
1330
1325
  change();
1331
1326
  }
1332
- const context = {
1333
- class: "fu-read-write-switch",
1334
- attrs: { id: id.value },
1335
- on: {}
1327
+ return () => {
1328
+ const context = {
1329
+ class: "fu-read-write-switch",
1330
+ id: id.value
1331
+ };
1332
+ if (!write.value && props.writeTrigger !== TRIGGERS[0]) {
1333
+ context[props.writeTrigger] = switchWrite;
1334
+ }
1335
+ let children = props.data;
1336
+ if (!write.value && slots.read) {
1337
+ children = slots.read({
1338
+ write: switchWrite
1339
+ });
1340
+ }
1341
+ if (write.value && slots.default) {
1342
+ children = slots.default({
1343
+ read: switchRead
1344
+ });
1345
+ }
1346
+ return h("div", context, children);
1336
1347
  };
1337
- if (!write.value && props.writeTrigger !== TRIGGERS[0]) {
1338
- context.on[props.writeTrigger] = switchWrite;
1339
- }
1340
- let children = props.data;
1341
- if (!write.value && slots.read) {
1342
- children = slots.read({
1343
- write: switchWrite
1344
- });
1345
- }
1346
- if (write.value && slots.default) {
1347
- children = slots.default({
1348
- read: switchRead
1349
- });
1350
- }
1351
- return () => h("div", context, children);
1352
1348
  }
1353
1349
  });
1354
- var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/q4speed/fit2cloud2.0/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
- value: [String, Number],
1354
+ modelValue: [String, Number],
1359
1355
  writeTrigger: {
1360
1356
  type: String,
1361
- default: "click",
1357
+ default: "onClick",
1362
1358
  validator: (value) => {
1363
- return ["click", "dblclick"].includes(value);
1359
+ return ["onClick", "onDblclick"].includes(value);
1364
1360
  }
1365
1361
  }
1366
1362
  },
1367
1363
  emits: ["input", "blur"],
1368
1364
  setup(__props, { emit }) {
1369
1365
  const props = __props;
1370
- const data = ref(props.value);
1371
- watch(() => props.value, (v) => {
1366
+ const data = ref(props.modelValue);
1367
+ watch(() => props.modelValue, (v) => {
1372
1368
  data.value = v;
1373
1369
  });
1374
1370
  function input(e) {
@@ -1385,8 +1381,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1385
1381
  }
1386
1382
  return (_ctx, _cache) => {
1387
1383
  const _component_el_input = resolveComponent("el-input");
1388
- const _component_fu_read_write_switch = resolveComponent("fu-read-write-switch");
1389
- return openBlock(), createBlock(_component_fu_read_write_switch, {
1384
+ return openBlock(), createBlock(FuReadWriteSwitch, {
1390
1385
  "write-trigger": __props.writeTrigger,
1391
1386
  data: data.value
1392
1387
  }, {
@@ -1405,25 +1400,28 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1405
1400
  };
1406
1401
  }
1407
1402
  }));
1408
- var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1409
- const __default__$b = { name: "FuSelectRwSwitch" };
1410
- 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), {
1411
1406
  props: {
1412
- value: [String, Number],
1413
- options: Array,
1407
+ modelValue: [String, Number],
1408
+ options: {
1409
+ type: Array,
1410
+ default: []
1411
+ },
1414
1412
  writeTrigger: {
1415
1413
  type: String,
1416
- default: "click",
1414
+ default: "onClick",
1417
1415
  validator: (value) => {
1418
- return ["click", "dblclick"].includes(value);
1416
+ return ["onClick", "onDblclick"].includes(value);
1419
1417
  }
1420
1418
  }
1421
1419
  },
1422
1420
  emits: ["input", "blur", "change"],
1423
1421
  setup(__props, { emit }) {
1424
1422
  const props = __props;
1425
- const data = ref(props.value);
1426
- watch(() => props.value, (v) => {
1423
+ const data = ref(props.modelValue);
1424
+ watch(() => props.modelValue, (v) => {
1427
1425
  data.value = v;
1428
1426
  });
1429
1427
  function input(e) {
@@ -1480,7 +1478,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1480
1478
  };
1481
1479
  }
1482
1480
  }));
1483
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/q4speed/fit2cloud2.0/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"]]);
1484
1482
  FuReadWriteSwitch.install = (app) => {
1485
1483
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1486
1484
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1490,440 +1488,82 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1490
1488
  __proto__: null,
1491
1489
  "default": FuReadWriteSwitch
1492
1490
  }, Symbol.toStringTag, { value: "Module" }));
1493
- const _hoisted_1$9 = {
1494
- 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;
1495
1501
  };
1496
- const _hoisted_2$6 = ["placeholder"];
1497
- const __default__$a = { name: "FuQuickSearch" };
1498
- const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1499
- props: {
1500
- value: String,
1501
- placeholder: String,
1502
- useIcon: {
1503
- type: Boolean,
1504
- default: true
1505
- }
1506
- },
1507
- emits: ["input", "change"],
1508
- setup(__props, { emit }) {
1509
- const props = __props;
1510
- const quick = ref("");
1511
- watch(() => props.value, (val) => {
1512
- quick.value = val;
1513
- });
1514
- function input(e) {
1515
- emit("input", quick.value, e);
1516
- }
1517
- function blur(e) {
1518
- emit("change", quick.value, e);
1519
- }
1520
- function keydown(e) {
1521
- const event = e;
1522
- if (event.key === "Enter") {
1523
- 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);
1524
1510
  }
1525
1511
  }
1526
- return (_ctx, _cache) => {
1527
- const _component_Search = resolveComponent("Search");
1528
- const _component_el_icon = resolveComponent("el-icon");
1529
- return openBlock(), createElementBlock(Fragment, null, [
1530
- createCommentVNode(" , 'fu-quick-search--' + configSize "),
1531
- createElementVNode("div", _hoisted_1$9, [
1532
- __props.useIcon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
1533
- default: withCtx(() => [
1534
- createVNode(_component_Search)
1535
- ]),
1536
- _: 1
1537
- })) : createCommentVNode("v-if", true),
1538
- createElementVNode("label", null, [
1539
- withDirectives(createElementVNode("input", {
1540
- placeholder: __props.placeholder,
1541
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
1542
- onInput: input,
1543
- onBlur: blur,
1544
- onKeydown: keydown
1545
- }, null, 40, _hoisted_2$6), [
1546
- [vModelText, quick.value]
1547
- ])
1548
- ])
1549
- ])
1550
- ], 2112);
1551
- };
1552
- }
1553
- }));
1554
- var FuQuickSearch = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/search-bar/FuQuickSearch.vue"]]);
1555
- const __default__$9 = { name: "FuSearchBarButton" };
1556
- const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1557
- props: {
1558
- tooltip: String
1559
- },
1560
- setup(__props) {
1561
- return (_ctx, _cache) => {
1562
- const _component_el_button = resolveComponent("el-button");
1563
- const _component_el_tooltip = resolveComponent("el-tooltip");
1564
- return openBlock(), createBlock(_component_el_tooltip, {
1565
- content: __props.tooltip,
1566
- disabled: !__props.tooltip
1567
- }, {
1568
- default: withCtx(() => [
1569
- createCommentVNode(' :size="configSize" '),
1570
- createVNode(_component_el_button, mergeProps({
1571
- class: "fu-search-bar-button",
1572
- circle: ""
1573
- }, _ctx.$attrs), null, 16),
1574
- createCommentVNode(" <slot></slot> "),
1575
- 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 ")
1576
- ]),
1577
- _: 1
1578
- }, 8, ["content", "disabled"]);
1579
- };
1580
- }
1581
- }));
1582
- var FuSearchBarButton = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/search-bar/FuSearchBarButton.vue"]]);
1583
- const _hoisted_1$8 = { class: "fu-complex-search" };
1584
- const _hoisted_2$5 = { class: "fu-complex-components__body" };
1585
- const _hoisted_3$2 = { class: "fu-complex-components__footer" };
1586
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1587
- props: {
1588
- components: Array
1589
- },
1590
- emits: ["close", "change"],
1591
- setup(__props, { emit }) {
1592
- const props = __props;
1593
- const slots = useSlots();
1594
- const instance = getCurrentInstance();
1595
- const { t } = useLocale();
1596
- const active = ref(false);
1597
- function closePopover() {
1598
- emit("close");
1599
- }
1600
- function toggle() {
1601
- active.value = !active.value;
1602
- refs.value.forEach((r) => {
1603
- if (r == null ? void 0 : r.init) {
1604
- r.init();
1605
- } else {
1606
- console.warn("init undefined", r);
1607
- }
1608
- });
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, []);
1609
1541
  }
1610
- function ok() {
1611
- active.value = false;
1612
- let conditions = [];
1613
- refs.value.forEach((r) => {
1614
- let condition;
1615
- if (r.getCondition) {
1616
- condition = r.getCondition();
1617
- } else {
1618
- console.warn("getCondition undefined", r);
1619
- }
1620
- if (condition && condition.value !== void 0) {
1621
- conditions.push(condition);
1622
- }
1623
- });
1624
- emit("change", conditions);
1625
- }
1626
- const refs = computed(() => {
1627
- var _a, _b;
1628
- let refs2 = [];
1629
- if ((_a = slots.default) == null ? void 0 : _a.call(slots)[0].children.length) {
1630
- (_b = slots.default) == null ? void 0 : _b.call(slots).forEach((component) => {
1631
- refs2.push(component.componentInstance);
1632
- });
1633
- } else {
1634
- props.components.forEach((c) => {
1635
- refs2.push(instance.refs[c.field][0]);
1636
- });
1637
- }
1638
- return refs2;
1542
+ nodeList.get(el).push({
1543
+ documentHandler: createDocumentHandler(el, binding),
1544
+ bindingFn: binding.value
1639
1545
  });
1640
- return (_ctx, _cache) => {
1641
- const _component_el_button = resolveComponent("el-button");
1642
- const _component_el_popover = resolveComponent("el-popover");
1643
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
1644
- createVNode(_component_el_popover, {
1645
- trigger: "manual",
1646
- modelValue: active.value,
1647
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => active.value = $event),
1648
- "show-arrow": false,
1649
- onHide: closePopover,
1650
- "popper-class": "fu-complex-components"
1651
- }, {
1652
- reference: withCtx(() => [
1653
- createCommentVNode(' :size="configSize" '),
1654
- createVNode(FuSearchBarButton, {
1655
- icon: "ArrowRight",
1656
- onClick: toggle,
1657
- class: normalizeClass(["fu-complex-search__trigger", { "is-active": active.value }]),
1658
- tooltip: unref(t)("fu.search_bar.adv_search")
1659
- }, null, 8, ["class", "tooltip"])
1660
- ]),
1661
- default: withCtx(() => [
1662
- createElementVNode("div", _hoisted_2$5, [
1663
- renderSlot(_ctx.$slots, "default", {}, () => [
1664
- createCommentVNode(' :size="configSize" '),
1665
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c, i) => {
1666
- return openBlock(), createBlock(resolveDynamicComponent(c.component), mergeProps({ key: i }, c, {
1667
- ref_for: true,
1668
- ref: c.field
1669
- }, toHandlers(c)), null, 16);
1670
- }), 128))
1671
- ])
1672
- ]),
1673
- createElementVNode("div", _hoisted_3$2, [
1674
- createCommentVNode(' :size="configSize" '),
1675
- createVNode(_component_el_button, {
1676
- onClick: _cache[0] || (_cache[0] = ($event) => active.value = false)
1677
- }, {
1678
- default: withCtx(() => [
1679
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.cancel")), 1)
1680
- ]),
1681
- _: 1
1682
- }),
1683
- createVNode(_component_el_button, {
1684
- type: "primary",
1685
- onClick: ok
1686
- }, {
1687
- default: withCtx(() => [
1688
- createTextVNode(toDisplayString(unref(t)("fu.search_bar.ok")), 1)
1689
- ]),
1690
- _: 1
1691
- })
1692
- ])
1693
- ]),
1694
- _: 3
1695
- }, 8, ["modelValue"])
1696
- ]);
1697
- };
1698
- }
1699
- });
1700
- var FuComplexSearch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/search-bar/FuComplexSearch.vue"]]);
1701
- const _hoisted_1$7 = {
1702
- class: /* @__PURE__ */ normalizeClass(["fu-search-conditions"])
1703
- };
1704
- const _hoisted_2$4 = { key: 0 };
1705
- const _hoisted_3$1 = { key: 1 };
1706
- const _hoisted_4 = { class: "condition-value" };
1707
- const _hoisted_5 = ["onClick"];
1708
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1709
- props: {
1710
- conditions: Array
1711
1546
  },
1712
- emits: ["change"],
1713
- setup(__props, { emit }) {
1714
- const props = __props;
1715
- function remove(index2) {
1716
- props.conditions.splice(index2, 1);
1717
- emit("change", props.conditions);
1718
- }
1719
- return (_ctx, _cache) => {
1720
- return openBlock(), createElementBlock(Fragment, null, [
1721
- createCommentVNode(" , 'fu-search-conditions--' + configSize "),
1722
- createElementVNode("div", _hoisted_1$7, [
1723
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index2) => {
1724
- return openBlock(), createElementBlock("div", {
1725
- class: "fu-search-conditions__item",
1726
- key: index2
1727
- }, [
1728
- condition.label ? (openBlock(), createElementBlock("div", _hoisted_2$4, toDisplayString(condition.label), 1)) : createCommentVNode("v-if", true),
1729
- condition.operatorLabel ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(condition.operatorLabel), 1)) : createCommentVNode("v-if", true),
1730
- createElementVNode("div", _hoisted_4, toDisplayString(condition.valueLabel), 1),
1731
- createElementVNode("i", {
1732
- class: "el-icon-close condition-remove",
1733
- onClick: ($event) => remove(index2)
1734
- }, null, 8, _hoisted_5)
1735
- ]);
1736
- }), 128))
1737
- ])
1738
- ], 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
1739
1556
  };
1740
- }
1741
- });
1742
- var FuSearchConditions = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/search-bar/FuSearchContions.vue"]]);
1743
- class ComplexCondition {
1744
- constructor(options) {
1745
- __publicField(this, "field");
1746
- __publicField(this, "label");
1747
- __publicField(this, "operator");
1748
- __publicField(this, "operatorLabel");
1749
- __publicField(this, "value");
1750
- __publicField(this, "valueLabel");
1751
- this.field = options.field;
1752
- this.label = options.label;
1753
- this.operator = options.operator;
1754
- this.operatorLabel = options.operatorLabel;
1755
- this.value = options.value;
1756
- this.valueLabel = options.valueLabel || options.value;
1757
- }
1758
- }
1759
- const _hoisted_1$6 = { class: "fu-search-bar" };
1760
- const _hoisted_2$3 = { class: "fu-search-bar__content" };
1761
- const _hoisted_3 = { class: "fu-search-bar__buttons" };
1762
- const __default__$8 = { name: "FuSearchBar" };
1763
- const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1764
- props: {
1765
- quickKey: {
1766
- type: String,
1767
- default: "quick"
1768
- },
1769
- quickPlaceholder: String,
1770
- useCleanButton: {
1771
- type: Boolean,
1772
- default: true
1773
- },
1774
- useRefreshButton: {
1775
- type: Boolean,
1776
- default: false
1777
- },
1778
- useQuickSearch: {
1779
- type: Boolean,
1780
- default: true
1781
- },
1782
- components: Array
1783
- },
1784
- emits: ["close", "exec"],
1785
- setup(__props, { emit }) {
1786
- const props = __props;
1787
- const { t } = useLocale();
1788
- const slots = useSlots();
1789
- const quick = ref("");
1790
- const conditions = ref([]);
1791
- const complex = ref();
1792
- function merge(source, target) {
1793
- let conditions2 = source.concat(target);
1794
- let conditionMap = /* @__PURE__ */ new Map();
1795
- for (let condition2 of conditions2) {
1796
- conditionMap.set(condition2.field, condition2);
1797
- }
1798
- let result = [];
1799
- conditionMap.forEach((c) => {
1800
- result.push(c);
1801
- });
1802
- return result;
1803
- }
1804
- function closePopover() {
1805
- emit("close");
1806
- }
1807
- function quickChange(value, e) {
1808
- if (value) {
1809
- const field = props.quickKey;
1810
- const valueLabel = value;
1811
- conditions.value = merge(conditions.value, [new ComplexCondition({ field, value, valueLabel })]);
1812
- exec();
1813
- quick.value = "";
1814
- }
1815
- }
1816
- function change(conditions2) {
1817
- conditions2.value = merge(conditions2.value, conditions2);
1818
- exec();
1819
- }
1820
- function clean() {
1821
- quick.value = "";
1822
- conditions.value = [];
1823
- emit("exec", conditions.value);
1824
- }
1825
- function refresh() {
1826
- complex.value.close();
1827
- exec();
1828
- }
1829
- function exec() {
1830
- if (!showComplex) {
1831
- emit("exec", quick.value);
1832
- return;
1833
- }
1834
- emit("exec", condition.value);
1557
+ if (oldHandlerIndex >= 0) {
1558
+ handlers.splice(oldHandlerIndex, 1, newHandler);
1559
+ } else {
1560
+ handlers.push(newHandler);
1835
1561
  }
1836
- const placeholder = computed(() => {
1837
- return props.quickPlaceholder ? props.quickPlaceholder : t("fu.search_bar.search");
1838
- });
1839
- const showComplex = computed(() => {
1840
- var _a;
1841
- if (slots == null ? void 0 : slots.complex)
1842
- return true;
1843
- return ((_a = props.components) == null ? void 0 : _a.length) > 0;
1844
- });
1845
- const showClean = computed(() => {
1846
- return props.useCleanButton && showComplex && (conditions.value.length > 0 || quick.value);
1847
- });
1848
- const showRefresh = computed(() => {
1849
- return props.useRefreshButton && showComplex;
1850
- });
1851
- const condition = computed(() => {
1852
- const condition2 = {};
1853
- if (conditions.value.length > 0) {
1854
- conditions.value.forEach((c) => {
1855
- const { field, operator, value } = c;
1856
- condition2[c.field] = { field, operator, value };
1857
- });
1858
- }
1859
- return condition2;
1860
- });
1861
- return (_ctx, _cache) => {
1862
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
1863
- createElementVNode("div", _hoisted_2$3, [
1864
- createCommentVNode(' :size="configSize" '),
1865
- unref(showComplex) ? (openBlock(), createBlock(FuComplexSearch, {
1866
- key: 0,
1867
- ref_key: "complex",
1868
- ref: complex,
1869
- components: __props.components,
1870
- onChange: change,
1871
- onClose: closePopover
1872
- }, {
1873
- default: withCtx(() => [
1874
- renderSlot(_ctx.$slots, "complex")
1875
- ]),
1876
- _: 3
1877
- }, 8, ["components"])) : createCommentVNode("v-if", true),
1878
- createCommentVNode(' :size="configSize" '),
1879
- unref(showComplex) ? (openBlock(), createBlock(FuSearchConditions, {
1880
- key: 1,
1881
- conditions: conditions.value,
1882
- onChange: change
1883
- }, null, 8, ["conditions"])) : createCommentVNode("v-if", true),
1884
- createCommentVNode(' :size="configSize" '),
1885
- __props.useQuickSearch ? (openBlock(), createBlock(FuQuickSearch, {
1886
- key: 2,
1887
- "use-icon": !unref(showComplex),
1888
- placeholder: unref(placeholder),
1889
- modelValue: quick.value,
1890
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
1891
- onChange: quickChange
1892
- }, null, 8, ["use-icon", "placeholder", "modelValue"])) : createCommentVNode("v-if", true)
1893
- ]),
1894
- createElementVNode("div", _hoisted_3, [
1895
- renderSlot(_ctx.$slots, "buttons", {}, () => [
1896
- createCommentVNode(' :size="configSize" '),
1897
- unref(showClean) ? (openBlock(), createBlock(FuSearchBarButton, {
1898
- key: 0,
1899
- icon: "Close",
1900
- onClick: clean,
1901
- tooltip: unref(t)("fu.search_bar.clean")
1902
- }, null, 8, ["tooltip"])) : createCommentVNode("v-if", true),
1903
- createCommentVNode(' :size="configSize" '),
1904
- unref(showRefresh) ? (openBlock(), createBlock(FuSearchBarButton, {
1905
- key: 1,
1906
- icon: "Refresh",
1907
- onClick: refresh,
1908
- tooltip: unref(t)("fu.search_bar.refresh")
1909
- }, null, 8, ["tooltip"])) : createCommentVNode("v-if", true),
1910
- renderSlot(_ctx.$slots, "default")
1911
- ])
1912
- ])
1913
- ]);
1914
- };
1562
+ },
1563
+ unmounted(el) {
1564
+ nodeList.delete(el);
1915
1565
  }
1916
- }));
1917
- var FuSearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/search-bar/FuSearchBar.vue"]]);
1918
- FuSearchBar.install = (app) => {
1919
- app.component(FuSearchBar.name, FuSearchBar);
1920
- app.component(FuSearchBarButton.name, FuSearchBarButton);
1921
- app.component(FuQuickSearch.name, FuQuickSearch);
1922
1566
  };
1923
- var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1924
- __proto__: null,
1925
- "default": FuSearchBar
1926
- }, Symbol.toStringTag, { value: "Module" }));
1927
1567
  const COMPONENTS_TYPE = ["default", "primary", "success", "warning", "danger", "info"];
1928
1568
  const validateType = (value) => {
1929
1569
  if (!value)
@@ -1982,7 +1622,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1982
1622
  };
1983
1623
  }
1984
1624
  });
1985
- var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
1625
+ var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
1986
1626
  const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
1987
1627
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
1988
1628
  props: {
@@ -2072,7 +1712,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2072
1712
  };
2073
1713
  }
2074
1714
  });
2075
- var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
1715
+ var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
2076
1716
  const __default__$7 = { name: "FuSpeedDialItem" };
2077
1717
  const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
2078
1718
  props: {
@@ -2163,7 +1803,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2163
1803
  };
2164
1804
  }
2165
1805
  }));
2166
- var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
1806
+ var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
2167
1807
  const _hoisted_1$4 = { class: "fu-speed-dial__content" };
2168
1808
  const __default__$6 = { name: "FuSpeedDial" };
2169
1809
  const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
@@ -2313,6 +1953,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2313
1953
  active2.value = active2 === void 0 ? !active2.value : active2;
2314
1954
  }
2315
1955
  }
1956
+ function outsideClickClose() {
1957
+ if (props.outsideClose && !props.manual) {
1958
+ toggle(false);
1959
+ }
1960
+ emit("outside-click", [props.id, active.value]);
1961
+ }
2316
1962
  function click(e) {
2317
1963
  if (!props.manual) {
2318
1964
  toggle();
@@ -2397,43 +2043,42 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2397
2043
  close
2398
2044
  });
2399
2045
  return (_ctx, _cache) => {
2400
- return openBlock(), createElementBlock(Fragment, null, [
2401
- createCommentVNode(' v-outside-click="outsideClickClose" '),
2402
- createElementVNode("div", {
2403
- class: "fu-speed-dial",
2404
- style: normalizeStyle(unref(style))
2405
- }, [
2406
- createElementVNode("div", _hoisted_1$4, [
2407
- renderSlot(_ctx.$slots, "fab", {}, () => [
2408
- createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
2409
- onClick: click,
2410
- onMousedown: mousedown
2411
- }), null, 16)
2412
- ]),
2413
- createElementVNode("div", {
2414
- style: normalizeStyle(unref(contentPosition))
2415
- }, [
2416
- renderSlot(_ctx.$slots, "default", {}, () => [
2417
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index2) => {
2418
- return openBlock(), createBlock(FuSpeedDialItem, mergeProps({
2419
- index: index2,
2420
- key: index2
2421
- }, item, { onClick: itemClick }), null, 16, ["index"]);
2422
- }), 128))
2423
- ])
2424
- ], 4)
2425
- ])
2426
- ], 4)
2427
- ], 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
+ ]);
2428
2073
  };
2429
2074
  }
2430
2075
  }));
2431
- var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
2076
+ var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
2432
2077
  FuSpeedDial.install = (app) => {
2433
2078
  app.component(FuSpeedDial.name, FuSpeedDial);
2434
2079
  app.component(FuSpeedDialItem.name, FuSpeedDialItem);
2435
2080
  };
2436
- var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2081
+ var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2437
2082
  __proto__: null,
2438
2083
  "default": FuSpeedDial
2439
2084
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2441,7 +2086,6 @@ const _hoisted_1$3 = {
2441
2086
  key: 0,
2442
2087
  class: "icon"
2443
2088
  };
2444
- const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-more" }, null, -1);
2445
2089
  const __default__$5 = { name: "FuSplitPane" };
2446
2090
  const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
2447
2091
  props: {
@@ -2604,6 +2248,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2604
2248
  readValue();
2605
2249
  });
2606
2250
  return (_ctx, _cache) => {
2251
+ const _component_MoreFilled = resolveComponent("MoreFilled");
2252
+ const _component_el_icon = resolveComponent("el-icon");
2607
2253
  return openBlock(), createElementBlock("div", {
2608
2254
  style: normalizeStyle({ cursor: unref(cursor), userSelect: unref(userSelect) }),
2609
2255
  class: "fu-split-pane",
@@ -2624,7 +2270,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2624
2270
  }, [
2625
2271
  __props.resizerType === "resizer" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
2626
2272
  renderSlot(_ctx.$slots, "resizer", {}, () => [
2627
- _hoisted_2$2
2273
+ createVNode(_component_el_icon, { size: 10 }, {
2274
+ default: withCtx(() => [
2275
+ createVNode(_component_MoreFilled)
2276
+ ]),
2277
+ _: 1
2278
+ })
2628
2279
  ])
2629
2280
  ])) : createCommentVNode("v-if", true)
2630
2281
  ], 38),
@@ -2638,11 +2289,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2638
2289
  };
2639
2290
  }
2640
2291
  }));
2641
- var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
2292
+ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
2642
2293
  FuSplitPane.install = (app) => {
2643
2294
  app.component(FuSplitPane.name, FuSplitPane);
2644
2295
  };
2645
- var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2296
+ var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2646
2297
  __proto__: null,
2647
2298
  "default": FuSplitPane
2648
2299
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2650,10 +2301,35 @@ var index = {
2650
2301
  install: (app) => {
2651
2302
  }
2652
2303
  };
2653
- var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2304
+ var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2654
2305
  __proto__: null,
2655
2306
  "default": index
2656
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
+ }
2657
2333
  const isFix = (node) => {
2658
2334
  const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2659
2335
  const { fix } = node.props;
@@ -2673,20 +2349,22 @@ const getLabel = (node) => {
2673
2349
  return label;
2674
2350
  };
2675
2351
  const FuTableBody = (props, context) => {
2676
- const slots = context.slots.default();
2352
+ let slots = context.slots.default();
2677
2353
  const nodes = [];
2678
2354
  let { columns } = props;
2679
- const children = slots[0].children.filter((c) => c.type.name !== void 0);
2355
+ let children = getChildren(slots);
2680
2356
  if (!children)
2681
2357
  return nodes;
2682
2358
  if (!columns || (columns == null ? void 0 : columns.length) === 0)
2683
2359
  return children;
2684
2360
  columns.forEach((col) => {
2685
- let node = children.find((child) => {
2686
- return col.label === getLabel(child);
2687
- });
2688
- if (node && (isFix(node) || col.show !== false)) {
2689
- 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
+ }
2690
2368
  }
2691
2369
  });
2692
2370
  return nodes;
@@ -2702,42 +2380,25 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2702
2380
  localKey: String
2703
2381
  },
2704
2382
  setup(__props) {
2705
- var _a;
2383
+ var _a2, _b;
2706
2384
  const props = __props;
2707
- const slots = useSlots();
2385
+ const slots = (_b = (_a2 = useSlots()).default) == null ? void 0 : _b.call(_a2);
2708
2386
  const key = ref(0);
2709
2387
  const prefix = "FU-T-";
2710
- const isFix2 = (node) => {
2711
- const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2712
- const { fix } = node.props;
2713
- let { type } = node.props;
2714
- return fix !== void 0 && fix !== false || ["selection", "index", "expand"].includes(type) || includeTag;
2715
- };
2716
- const getLabel2 = (node) => {
2717
- if (node.props.label)
2718
- return node.props.label;
2719
- const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2720
- let { label, type } = node.props;
2721
- if (includeTag)
2722
- label = prefix + "dropdown";
2723
- label != null ? label : label = node.props.label;
2724
- label != null ? label : label = prefix + type;
2725
- return label;
2726
- };
2727
2388
  const cleanColumns = (columns) => {
2728
2389
  columns.splice(0, columns.length);
2729
2390
  };
2730
2391
  const updateNodes = (nodes) => {
2731
2392
  nodes.forEach((node) => {
2732
2393
  if (!node.type.key) {
2733
- node.type.key = getLabel2(node);
2394
+ node.type.key = getLabel(node);
2734
2395
  }
2735
2396
  });
2736
2397
  };
2737
2398
  const initColumns = (nodes, columns) => {
2738
2399
  nodes.forEach((node) => {
2739
- const label = getLabel2(node);
2740
- const fix = isFix2(node);
2400
+ const label = getLabel(node);
2401
+ const fix = isFix(node);
2741
2402
  const { show } = node.props;
2742
2403
  if (!label && !fix) {
2743
2404
  throw new Error("unfixed column's label is required.");
@@ -2759,15 +2420,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2759
2420
  }
2760
2421
  if (columns.some((col) => col.label === void 0)) {
2761
2422
  columns.forEach((col, i) => {
2762
- var _a2;
2763
- (_a2 = col.label) != null ? _a2 : col.label = getLabel2(nodes[i]);
2423
+ var _a3;
2424
+ (_a3 = col.label) != null ? _a3 : col.label = getLabel(nodes[i]);
2764
2425
  });
2765
2426
  }
2766
2427
  };
2767
2428
  const columnsKey = computed(() => {
2768
2429
  return prefix + props.localKey;
2769
2430
  });
2770
- 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
+ }
2771
2438
  watch(() => props.columns, () => {
2772
2439
  if (props.refresh) {
2773
2440
  key.value++;
@@ -2825,7 +2492,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2825
2492
  };
2826
2493
  }
2827
2494
  }));
2828
- var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTable.vue"]]);
2495
+ var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTable.vue"]]);
2829
2496
  const tableColumnSelect = (localKey) => {
2830
2497
  const columnsKey = computed(() => {
2831
2498
  return localKey ? "FU-T-" + localKey : "";
@@ -2838,14 +2505,16 @@ const tableColumnSelect = (localKey) => {
2838
2505
  }
2839
2506
  function dragenter(event) {
2840
2507
  event.preventDefault();
2841
- if (event.target) {
2842
- event.target.style.opacity = 0.2;
2508
+ let target = event.target;
2509
+ if (target) {
2510
+ target.style.opacity = ".2";
2843
2511
  }
2844
2512
  }
2845
2513
  function dragleave(event) {
2846
2514
  event.preventDefault();
2847
- if (event.target) {
2848
- event.target.style.opacity = "";
2515
+ let target = event.target;
2516
+ if (target) {
2517
+ target.style.opacity = "";
2849
2518
  }
2850
2519
  }
2851
2520
  function dragend(event) {
@@ -2854,8 +2523,9 @@ const tableColumnSelect = (localKey) => {
2854
2523
  }
2855
2524
  }
2856
2525
  function drop(event, list, index2) {
2857
- var _a;
2858
- let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
2526
+ var _a2;
2527
+ let target = event.target;
2528
+ let source_index = Number((_a2 = event.dataTransfer) == null ? void 0 : _a2.getData("source_index"));
2859
2529
  let target_index = index2;
2860
2530
  if (target_index > source_index) {
2861
2531
  list.splice(target_index + 1, 0, list[source_index]);
@@ -2864,8 +2534,8 @@ const tableColumnSelect = (localKey) => {
2864
2534
  list.splice(target_index, 0, list[source_index]);
2865
2535
  list.splice(source_index + 1, 1);
2866
2536
  }
2867
- if (event.target) {
2868
- event.target.style.opacity = "";
2537
+ if (target) {
2538
+ target.style.opacity = "";
2869
2539
  }
2870
2540
  }
2871
2541
  return {
@@ -2908,14 +2578,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2908
2578
  drop
2909
2579
  } = tableColumnSelect(localKey);
2910
2580
  const isFixAll = computed(() => {
2911
- var _a;
2912
- return (_a = props.columns) == null ? void 0 : _a.every((c) => {
2581
+ var _a2;
2582
+ return (_a2 = props.columns) == null ? void 0 : _a2.every((c) => {
2913
2583
  return c.fix;
2914
2584
  });
2915
2585
  });
2916
2586
  const hasSelect = computed(() => {
2917
- var _a;
2918
- 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;
2919
2589
  });
2920
2590
  function reset() {
2921
2591
  if (columnsKey) {
@@ -2994,7 +2664,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2994
2664
  };
2995
2665
  }
2996
2666
  });
2997
- var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
2667
+ var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
2998
2668
  const _hoisted_1$1 = { style: { "display": "inline-block" } };
2999
2669
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3000
2670
  props: {
@@ -3074,7 +2744,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3074
2744
  onOpen: open,
3075
2745
  "append-to-body": ""
3076
2746
  }, {
3077
- title: withCtx(() => [
2747
+ header: withCtx(() => [
3078
2748
  createElementVNode("h3", null, toDisplayString(unref(t)("fu.table.custom_table_fields")), 1),
3079
2749
  createVNode(_component_el_alert, {
3080
2750
  title: unref(t)("fu.table.custom_table_fields_desc"),
@@ -3103,7 +2773,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3103
2773
  })
3104
2774
  ]),
3105
2775
  default: withCtx(() => [
3106
- (openBlock(true), createElementBlock(Fragment, null, renderList(cloneColumns.value, (c, i) => {
2776
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(cloneColumns), (c, i) => {
3107
2777
  return withDirectives((openBlock(), createBlock(_component_el_checkbox, {
3108
2778
  key: i,
3109
2779
  modelValue: c.show,
@@ -3116,7 +2786,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3116
2786
  onDragover: _cache[1] || (_cache[1] = withModifiers(() => {
3117
2787
  }, ["prevent"])),
3118
2788
  onDragend: unref(dragend),
3119
- onDrop: ($event) => unref(drop)($event, cloneColumns.value, i)
2789
+ onDrop: ($event) => unref(drop)($event, unref(cloneColumns), i)
3120
2790
  }, {
3121
2791
  default: withCtx(() => [
3122
2792
  createTextVNode(toDisplayString(c.label), 1)
@@ -3133,7 +2803,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3133
2803
  };
3134
2804
  }
3135
2805
  });
3136
- var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectDialog.vue"]]);
2806
+ var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectDialog.vue"]]);
3137
2807
  const _sfc_main$6 = defineComponent({
3138
2808
  name: "FuTableColumnSelect",
3139
2809
  props: ["type"],
@@ -3148,7 +2818,7 @@ const _sfc_main$6 = defineComponent({
3148
2818
  };
3149
2819
  }
3150
2820
  });
3151
- var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
2821
+ var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
3152
2822
  FuTableColumnSelect.install = (app) => {
3153
2823
  app.component(FuTableColumnSelect.name, FuTableColumnSelect);
3154
2824
  };
@@ -3200,7 +2870,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3200
2870
  };
3201
2871
  }
3202
2872
  }));
3203
- var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
2873
+ var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
3204
2874
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3205
2875
  props: {
3206
2876
  size: {
@@ -3232,7 +2902,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3232
2902
  };
3233
2903
  }
3234
2904
  });
3235
- var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
2905
+ var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
3236
2906
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3237
2907
  props: {
3238
2908
  row: Object,
@@ -3278,7 +2948,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3278
2948
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (btn, i) => {
3279
2949
  return openBlock(), createBlock(_component_el_dropdown_item, {
3280
2950
  key: i,
3281
- icon: __props.type === "icon" && btn.icon,
2951
+ icon: __props.type === "icon" ? btn.icon : "",
3282
2952
  disabled: unref(disabled)(btn),
3283
2953
  command: btn
3284
2954
  }, {
@@ -3317,7 +2987,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3317
2987
  };
3318
2988
  }
3319
2989
  });
3320
- var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
2990
+ var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
3321
2991
  const __default__$2 = { name: "FuTableOperations" };
3322
2992
  const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
3323
2993
  props: {
@@ -3370,12 +3040,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3370
3040
  };
3371
3041
  });
3372
3042
  function showButtons(row) {
3373
- var _a;
3374
- 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);
3375
3045
  }
3376
3046
  function hasMore(row) {
3377
- var _a;
3378
- 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;
3379
3049
  }
3380
3050
  return (_ctx, _cache) => {
3381
3051
  const _component_el_icon = resolveComponent("el-icon");
@@ -3424,7 +3094,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3424
3094
  };
3425
3095
  }
3426
3096
  }));
3427
- var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
3097
+ var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
3428
3098
  FuTableOperations.install = (app) => {
3429
3099
  app.component(FuTableOperations.name, FuTableOperations);
3430
3100
  app.component(FuTableButton.name, FuTableButton);
@@ -3462,9 +3132,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3462
3132
  const instance = getCurrentInstance();
3463
3133
  const isShow = computed(() => {
3464
3134
  return function(row) {
3465
- var _a, _b, _c;
3135
+ var _a2, _b, _c;
3466
3136
  if (props.showType === "selected") {
3467
- 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();
3468
3138
  return selection.includes(row) && true;
3469
3139
  } else {
3470
3140
  return true;
@@ -3563,7 +3233,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3563
3233
  };
3564
3234
  }
3565
3235
  }));
3566
- var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue"]]);
3236
+ var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue"]]);
3567
3237
  FuTableColumnDropdown.install = (app) => {
3568
3238
  app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
3569
3239
  };
@@ -3574,7 +3244,7 @@ FuTable.install = (app) => {
3574
3244
  app.use(FuTableColumnSelect.install);
3575
3245
  app.use(FuTableColumnDropdown.install);
3576
3246
  };
3577
- var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3247
+ var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3578
3248
  __proto__: null,
3579
3249
  "default": FuTable
3580
3250
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3720,24 +3390,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
3720
3390
  };
3721
3391
  }
3722
3392
  }));
3723
- var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/tabs/FuTabs.vue"]]);
3393
+ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/tabs/FuTabs.vue"]]);
3724
3394
  FuTabs.install = (app) => {
3725
3395
  app.component(FuTabs.name, FuTabs);
3726
3396
  };
3727
- var __glob_1_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3397
+ var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3728
3398
  __proto__: null,
3729
3399
  "default": FuTabs
3730
3400
  }, Symbol.toStringTag, { value: "Module" }));
3731
3401
  const name = "fit2cloud-ui-plus";
3732
- const version = "0.0.1-beta.1";
3733
- const main = "./lib/fit2cloud-ui-plus.umd.js";
3734
- const module = "./lib/fit2cloud-ui-plus.es.js";
3735
- const exports = {
3736
- ".": {
3737
- "import": "./lib/fit2cloud-ui-plus.es.js",
3738
- require: "./lib/fit2cloud-ui-plus.umd.js"
3739
- }
3740
- };
3402
+ const version = "0.0.1-beta.8";
3403
+ const main = "./lib/fit2cloud-ui-plus.es.js";
3741
3404
  const files = [
3742
3405
  "lib",
3743
3406
  "src"
@@ -3760,7 +3423,7 @@ const dependencies = {
3760
3423
  "github-markdown-css": "^5.1.0",
3761
3424
  prismjs: "^1.28.0",
3762
3425
  "vite-plugin-markdown": "^2.0.2",
3763
- vue: "^3.2.25",
3426
+ vue: "^3.2.37",
3764
3427
  "vue-router": "^4.0.14"
3765
3428
  };
3766
3429
  const devDependencies = {
@@ -3778,8 +3441,6 @@ var PackageJSON = {
3778
3441
  version,
3779
3442
  "private": false,
3780
3443
  main,
3781
- module,
3782
- exports,
3783
3444
  files,
3784
3445
  author,
3785
3446
  license,
@@ -3788,7 +3449,7 @@ var PackageJSON = {
3788
3449
  dependencies,
3789
3450
  devDependencies
3790
3451
  };
3791
- 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 };
3792
3453
  const install = (app) => {
3793
3454
  Object.keys(components).forEach((key) => {
3794
3455
  let component = components[key].default;