fit2cloud-ui-plus 0.0.1-beta.10 → 0.0.1-beta.11

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 (148) hide show
  1. package/README.md +61 -9
  2. package/lib/fit2cloud-ui-plus.es.js +700 -99
  3. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  4. package/package.json +5 -3
  5. package/src/components/filter-bar/index.d.ts +2 -0
  6. package/src/components/filter-bar/types.d.ts +22 -0
  7. package/src/components/read-write-switch/index.d.ts +2 -0
  8. package/src/components/read-write-switch/types.d.ts +4 -0
  9. package/src/components/speed-dial/FuSpeedDial.vue +289 -0
  10. package/src/components/speed-dial/FuSpeedDial.vue.d.ts +218 -0
  11. package/src/components/speed-dial/FuSpeedDialActionButton.vue +88 -0
  12. package/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +32 -0
  13. package/src/components/speed-dial/FuSpeedDialButton.vue +45 -0
  14. package/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +42 -0
  15. package/src/components/speed-dial/FuSpeedDialItem.vue +82 -0
  16. package/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +12 -0
  17. package/src/components/speed-dial/index.d.ts +2 -0
  18. package/src/components/speed-dial/index.ts +11 -0
  19. package/src/components/speed-dial/types.d.ts +8 -0
  20. package/src/components/speed-dial/types.ts +12 -0
  21. package/src/components/split-pane/FuSplitPane.vue.d.ts +59 -0
  22. package/src/components/split-pane/index.d.ts +2 -0
  23. package/src/components/table/index.d.ts +2 -0
  24. package/src/components/table/table-column-select/utils.d.ts +8 -0
  25. package/src/components/table/types.d.ts +2 -0
  26. package/src/components/tabs/FuTabs.vue.d.ts +54 -0
  27. package/src/components/tabs/index.d.ts +2 -0
  28. package/src/hooks/index.d.ts +3 -0
  29. package/src/hooks/use-global-config/index.d.ts +1 -0
  30. package/src/hooks/use-locale/index.d.ts +14 -0
  31. package/src/hooks/use-size/index.d.ts +5 -0
  32. package/src/index.d.ts +7 -0
  33. package/src/locale/index.d.ts +10 -0
  34. package/src/locale/lang/en.d.ts +59 -0
  35. package/src/locale/lang/zh-cn.d.ts +59 -0
  36. package/src/locale/lang/zh-tw.d.ts +59 -0
  37. package/src/styles/components/speed-dial.scss +1 -51
  38. package/src/tools/size.d.ts +4 -0
  39. package/src/tools/theme.d.ts +1 -0
  40. package/src/tools/time.d.ts +2 -0
  41. package/src/tools/types.d.ts +8 -0
  42. package/src/tools/utils.d.ts +2 -0
  43. package/src/tools/vnode.d.ts +9 -0
  44. package/types/examples/App.vue.d.ts +2 -0
  45. package/types/examples/components/CodeExample.vue.d.ts +29 -0
  46. package/types/examples/components/DocumentTable.vue.d.ts +14 -0
  47. package/types/examples/components/Markdown.vue.d.ts +12 -0
  48. package/types/examples/layout/components/AppHeader.vue.d.ts +2 -0
  49. package/types/examples/layout/components/Sidebar.vue.d.ts +2 -0
  50. package/types/examples/layout/index.vue.d.ts +2 -0
  51. package/types/examples/main.d.ts +2 -0
  52. package/types/examples/pages/filter-bar/attributes.d.ts +63 -0
  53. package/types/examples/pages/filter-bar/demo/BaseFilterBar.vue.d.ts +2 -0
  54. package/types/examples/pages/filter-bar/demo/SetConditionsDemo.vue.d.ts +2 -0
  55. package/types/examples/pages/filter-bar/demo/SlotDemo.vue.d.ts +2 -0
  56. package/types/examples/pages/filter-bar/index.vue.d.ts +2 -0
  57. package/types/examples/pages/index.d.ts +3 -0
  58. package/types/examples/pages/read-write-switch/attributes.d.ts +63 -0
  59. package/types/examples/pages/read-write-switch/demo/BaseDemo.vue.d.ts +2 -0
  60. package/types/examples/pages/read-write-switch/demo/CustomContentDemo.vue.d.ts +2 -0
  61. package/types/examples/pages/read-write-switch/demo/InputRwSwitchDemo.vue.d.ts +2 -0
  62. package/types/examples/pages/read-write-switch/demo/ReadSwitchDemo.vue.d.ts +2 -0
  63. package/types/examples/pages/read-write-switch/demo/SelectRwSwitchDemo.vue.d.ts +2 -0
  64. package/types/examples/pages/read-write-switch/demo/TableInnerEditDemo.vue.d.ts +2 -0
  65. package/types/examples/pages/read-write-switch/demo/WriteSwitchDemo.vue.d.ts +2 -0
  66. package/types/examples/pages/read-write-switch/index.vue.d.ts +2 -0
  67. package/types/examples/pages/speed-dial/attributes.d.ts +63 -0
  68. package/types/examples/pages/speed-dial/demo/BaseSpeedDial.vue.d.ts +2 -0
  69. package/types/examples/pages/speed-dial/demo/SpeedDialCustom.vue.d.ts +2 -0
  70. package/types/examples/pages/speed-dial/demo/SpeedDialPosition.vue.d.ts +2 -0
  71. package/types/examples/pages/speed-dial/demo/SpeedDialTrigger.vue.d.ts +2 -0
  72. package/types/examples/pages/speed-dial/index.vue.d.ts +2 -0
  73. package/types/examples/pages/split-pane/attributes.d.ts +63 -0
  74. package/types/examples/pages/split-pane/demo/BaseSplit.vue.d.ts +2 -0
  75. package/types/examples/pages/split-pane/demo/CustomResizer.vue.d.ts +2 -0
  76. package/types/examples/pages/split-pane/demo/NestSplit.vue.d.ts +2 -0
  77. package/types/examples/pages/split-pane/demo/ResizerType.vue.d.ts +2 -0
  78. package/types/examples/pages/split-pane/index.vue.d.ts +2 -0
  79. package/types/examples/pages/table/attributes.d.ts +121 -0
  80. package/types/examples/pages/table/demo/BaseTable.vue.d.ts +2 -0
  81. package/types/examples/pages/table/demo/DropdownColumn.vue.d.ts +2 -0
  82. package/types/examples/pages/table/demo/DropdownColumnSlot.vue.d.ts +2 -0
  83. package/types/examples/pages/table/demo/SaveSelectColumn.vue.d.ts +2 -0
  84. package/types/examples/pages/table/demo/SelectColumn.vue.d.ts +2 -0
  85. package/types/examples/pages/table/demo/TableOperations.vue.d.ts +2 -0
  86. package/types/examples/pages/table/demo/TablePagination.vue.d.ts +2 -0
  87. package/types/examples/pages/table/index.vue.d.ts +2 -0
  88. package/types/examples/pages/tabs/attributes.d.ts +63 -0
  89. package/types/examples/pages/tabs/demo/AddCloseTab.vue.d.ts +2 -0
  90. package/types/examples/pages/tabs/index.vue.d.ts +2 -0
  91. package/types/examples/router/doc-routes.d.ts +12 -0
  92. package/types/examples/router/index.d.ts +4 -0
  93. package/types/plugins/example-transform.d.ts +5 -0
  94. package/types/src/components/filter-bar/FuFilter.vue.d.ts +39 -0
  95. package/types/src/components/filter-bar/FuFilterBar.vue.d.ts +22 -0
  96. package/types/src/components/filter-bar/FuFilterConditions.vue.d.ts +8 -0
  97. package/types/src/components/filter-bar/FuSearchInput.vue.d.ts +17 -0
  98. package/types/src/components/filter-bar/filter-components/FuFilterDate.vue.d.ts +36 -0
  99. package/types/src/components/filter-bar/filter-components/FuFilterDateTime.vue.d.ts +36 -0
  100. package/types/src/components/filter-bar/filter-components/FuFilterOption.vue.d.ts +24 -0
  101. package/types/src/components/filter-bar/filter-components/FuFilterSelect.vue.d.ts +66 -0
  102. package/types/src/components/filter-bar/index.d.ts +2 -0
  103. package/types/src/components/filter-bar/types.d.ts +22 -0
  104. package/types/src/components/read-write-switch/FuInputRwSwitch.vue.d.ts +21 -0
  105. package/types/src/components/read-write-switch/FuReadWriteSwitch.vue.d.ts +23 -0
  106. package/types/src/components/read-write-switch/FuSelectRwSwitch.vue.d.ts +33 -0
  107. package/types/src/components/read-write-switch/index.d.ts +2 -0
  108. package/types/src/components/read-write-switch/types.d.ts +4 -0
  109. package/types/src/components/speed-dial/FuSpeedDial.vue.d.ts +218 -0
  110. package/types/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +32 -0
  111. package/types/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +42 -0
  112. package/types/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +12 -0
  113. package/types/src/components/speed-dial/index.d.ts +2 -0
  114. package/types/src/components/speed-dial/types.d.ts +8 -0
  115. package/types/src/components/split-pane/FuSplitPane.vue.d.ts +59 -0
  116. package/types/src/components/split-pane/index.d.ts +2 -0
  117. package/types/src/components/table/FuTable.vue.d.ts +18 -0
  118. package/types/src/components/table/FuTableBody.d.ts +3 -0
  119. package/types/src/components/table/FuTableColumnDropdown.vue.d.ts +50 -0
  120. package/types/src/components/table/FuTablePagination.vue.d.ts +47 -0
  121. package/types/src/components/table/index.d.ts +2 -0
  122. package/types/src/components/table/table-column-select/FuTableColumnSelect.vue.d.ts +10 -0
  123. package/types/src/components/table/table-column-select/FuTableColumnSelectDialog.vue.d.ts +23 -0
  124. package/types/src/components/table/table-column-select/FuTableColumnSelectPopover.vue.d.ts +34 -0
  125. package/types/src/components/table/table-column-select/utils.d.ts +8 -0
  126. package/types/src/components/table/table-operations/FuTableButton.vue.d.ts +13 -0
  127. package/types/src/components/table/table-operations/FuTableMoreButton.vue.d.ts +37 -0
  128. package/types/src/components/table/table-operations/FuTableOperations.vue.d.ts +46 -0
  129. package/types/src/components/table/types.d.ts +2 -0
  130. package/types/src/components/tabs/FuTabs.vue.d.ts +54 -0
  131. package/types/src/components/tabs/index.d.ts +2 -0
  132. package/types/src/hooks/index.d.ts +3 -0
  133. package/types/src/hooks/use-global-config/index.d.ts +1 -0
  134. package/types/src/hooks/use-locale/index.d.ts +14 -0
  135. package/types/src/hooks/use-size/index.d.ts +5 -0
  136. package/types/src/index.d.ts +7 -0
  137. package/types/src/locale/index.d.ts +10 -0
  138. package/types/src/locale/lang/en.d.ts +59 -0
  139. package/types/src/locale/lang/zh-cn.d.ts +59 -0
  140. package/types/src/locale/lang/zh-tw.d.ts +59 -0
  141. package/types/src/tools/size.d.ts +4 -0
  142. package/types/src/tools/theme.d.ts +1 -0
  143. package/types/src/tools/time.d.ts +2 -0
  144. package/types/src/tools/types.d.ts +8 -0
  145. package/types/src/tools/utils.d.ts +2 -0
  146. package/types/src/tools/vnode.d.ts +9 -0
  147. package/src/.DS_Store +0 -0
  148. package/src/components/.DS_Store +0 -0
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
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, isVNode, Comment, useSlots, onUpdated, withDirectives, 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, withDirectives, isVNode, Comment, onUpdated, vShow, normalizeProps, guardReactiveProps } from "vue";
21
21
  const COMPONENTS_SIZE = ["", "default", "small", "large"];
22
22
  const validateSize = (val) => ["", ...COMPONENTS_SIZE].includes(val);
23
23
  var _export_sfc = (sfc, props) => {
@@ -27,8 +27,8 @@ var _export_sfc = (sfc, props) => {
27
27
  }
28
28
  return target;
29
29
  };
30
- const __default__$f = { name: "FuSearchInput" };
31
- const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
30
+ const __default__$h = { name: "FuSearchInput" };
31
+ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
32
32
  props: {
33
33
  size: {
34
34
  type: String,
@@ -72,14 +72,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
72
72
  };
73
73
  }
74
74
  }));
75
- var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
75
+ var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
76
76
  const globalConfig = ref();
77
77
  function useGlobalConfig(key, defaultValue = void 0) {
78
78
  const config = getCurrentInstance() ? inject(Symbol(), globalConfig) : globalConfig;
79
79
  if (key) {
80
80
  return computed(() => {
81
- var _a, _b;
82
- return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
81
+ var _a2, _b;
82
+ return (_b = (_a2 = config.value) == null ? void 0 : _a2[key]) != null ? _b : defaultValue;
83
83
  });
84
84
  } else {
85
85
  return config;
@@ -334,13 +334,13 @@ ListCache.prototype["delete"] = listCacheDelete;
334
334
  ListCache.prototype.get = listCacheGet;
335
335
  ListCache.prototype.has = listCacheHas;
336
336
  ListCache.prototype.set = listCacheSet;
337
- var Map = getNative(root$1, "Map");
338
- var Map$1 = Map;
337
+ var Map$1 = getNative(root$1, "Map");
338
+ var Map$2 = Map$1;
339
339
  function mapCacheClear() {
340
340
  this.size = 0;
341
341
  this.__data__ = {
342
342
  "hash": new Hash(),
343
- "map": new (Map$1 || ListCache)(),
343
+ "map": new (Map$2 || ListCache)(),
344
344
  "string": new Hash()
345
345
  };
346
346
  }
@@ -513,8 +513,8 @@ var Chinese = {
513
513
  };
514
514
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
515
515
  const translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => {
516
- var _a;
517
- return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;
516
+ var _a2;
517
+ return `${(_a2 = option == null ? void 0 : option[key]) != null ? _a2 : `{${key}}`}`;
518
518
  });
519
519
  const buildLocaleContext = (locale) => {
520
520
  const lang = computed(() => unref(locale).name);
@@ -529,9 +529,9 @@ const useLocale = () => {
529
529
  const locale = useGlobalConfig("locale");
530
530
  return buildLocaleContext(computed(() => locale.value || Chinese));
531
531
  };
532
- const _hoisted_1$a = { class: "fu-filter-conditions" };
532
+ const _hoisted_1$c = { class: "fu-filter-conditions" };
533
533
  const _hoisted_2$7 = { class: "condition-text" };
534
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
534
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
535
535
  __name: "FuFilterConditions",
536
536
  props: {
537
537
  conditions: Array
@@ -540,8 +540,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
540
540
  setup(__props, { emit }) {
541
541
  const props = __props;
542
542
  function remove(index) {
543
- var _a;
544
- (_a = props.conditions) == null ? void 0 : _a.splice(index, 1);
543
+ var _a2;
544
+ (_a2 = props.conditions) == null ? void 0 : _a2.splice(index, 1);
545
545
  emit("change", props.conditions);
546
546
  }
547
547
  function text(condition) {
@@ -550,7 +550,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
550
550
  return (_ctx, _cache) => {
551
551
  const _component_CloseBold = resolveComponent("CloseBold");
552
552
  const _component_el_icon = resolveComponent("el-icon");
553
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
553
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
554
554
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index) => {
555
555
  return openBlock(), createElementBlock("div", {
556
556
  class: "fu-filter-conditions__item",
@@ -572,16 +572,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
572
572
  };
573
573
  }
574
574
  });
575
- var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
575
+ var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
576
576
  const selectKey = Symbol("SelectKey");
577
577
  const referenceKey = Symbol("ReferenceKey");
578
- const _hoisted_1$9 = { class: "fu-filter__result" };
578
+ const _hoisted_1$b = { class: "fu-filter__result" };
579
579
  const _hoisted_2$6 = { style: { "opacity": "0.6" } };
580
580
  const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
581
581
  const _hoisted_4$2 = { class: "drawer-body" };
582
582
  const _hoisted_5$1 = { class: "drawer-footer" };
583
- const __default__$e = { name: "FuFilter" };
584
- const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
583
+ const __default__$g = { name: "FuFilter" };
584
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
585
585
  props: {
586
586
  size: {
587
587
  type: String,
@@ -612,16 +612,16 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
612
612
  clearInterval(rightTimer);
613
613
  }
614
614
  function left() {
615
- var _a;
616
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
615
+ var _a2;
616
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
617
617
  leftTimer = setInterval(() => {
618
618
  if (el)
619
619
  el.scrollLeft -= 15;
620
620
  }, 50);
621
621
  }
622
622
  function right() {
623
- var _a;
624
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
623
+ var _a2;
624
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
625
625
  rightTimer = setInterval(() => {
626
626
  if (el)
627
627
  el.scrollLeft += 15;
@@ -629,8 +629,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
629
629
  }
630
630
  function change() {
631
631
  nextTick(() => {
632
- var _a;
633
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
632
+ var _a2;
633
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
634
634
  scroll.value = el != null && (el == null ? void 0 : el.getBoundingClientRect().width) >= scrollWidth.value;
635
635
  });
636
636
  emit("filter", conditions.value);
@@ -703,7 +703,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
703
703
  ref_key: "filterRef",
704
704
  ref: filterRef
705
705
  }, [
706
- createElementVNode("div", _hoisted_1$9, [
706
+ createElementVNode("div", _hoisted_1$b, [
707
707
  createTextVNode(toDisplayString(__props.count) + " ", 1),
708
708
  createElementVNode("span", _hoisted_2$6, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
709
709
  ]),
@@ -802,15 +802,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
802
802
  };
803
803
  }
804
804
  }));
805
- var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
806
- const _hoisted_1$8 = { class: "fu-filter-bar" };
805
+ var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
806
+ const _hoisted_1$a = { class: "fu-filter-bar" };
807
807
  const _hoisted_2$5 = { class: "fu-filter-bar__top" };
808
808
  const _hoisted_3$3 = { class: "top_left" };
809
809
  const _hoisted_4$1 = { class: "top_right" };
810
810
  const _hoisted_5 = { key: 0 };
811
811
  const _hoisted_6 = { class: "fu-filter-bar__bottom" };
812
- const __default__$d = { name: "FuFilterBar" };
813
- const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
812
+ const __default__$f = { name: "FuFilterBar" };
813
+ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
814
814
  props: {
815
815
  size: {
816
816
  type: String,
@@ -827,8 +827,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
827
827
  const conditions = ref([]);
828
828
  const filterRef = ref();
829
829
  function open() {
830
- var _a;
831
- (_a = filterRef.value) == null ? void 0 : _a.open();
830
+ var _a2;
831
+ (_a2 = filterRef.value) == null ? void 0 : _a2.open();
832
832
  }
833
833
  function change() {
834
834
  emit("exec", conditionObj.value);
@@ -838,8 +838,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
838
838
  emit("exec", conditionObj.value);
839
839
  }
840
840
  function setConditions(conditionObj2) {
841
- var _a;
842
- (_a = filterRef.value) == null ? void 0 : _a.setConditions(conditionObj2);
841
+ var _a2;
842
+ (_a2 = filterRef.value) == null ? void 0 : _a2.setConditions(conditionObj2);
843
843
  }
844
844
  const conditionObj = computed(() => {
845
845
  let obj = { quick: quick.value };
@@ -853,7 +853,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
853
853
  });
854
854
  return (_ctx, _cache) => {
855
855
  const _component_el_button = resolveComponent("el-button");
856
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
856
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
857
857
  createElementVNode("div", _hoisted_2$5, [
858
858
  createElementVNode("div", _hoisted_3$3, [
859
859
  renderSlot(_ctx.$slots, "tl")
@@ -901,9 +901,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
901
901
  };
902
902
  }
903
903
  }));
904
- var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
905
- const _hoisted_1$7 = ["onClick"];
906
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
904
+ var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
905
+ const _hoisted_1$9 = ["onClick"];
906
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
907
907
  __name: "FuFilterOption",
908
908
  props: {
909
909
  value: {
@@ -935,17 +935,17 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
935
935
  return openBlock(), createElementBlock("div", {
936
936
  class: normalizeClass(["fu-filter-option", { "is-selected": unref(selected), "is-disabled": __props.disabled }]),
937
937
  onClick: withModifiers(click, ["stop"])
938
- }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$7);
938
+ }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$9);
939
939
  };
940
940
  }
941
941
  });
942
- var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
943
- const _hoisted_1$6 = { class: "fu-filter-component" };
942
+ var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
943
+ const _hoisted_1$8 = { class: "fu-filter-component" };
944
944
  const _hoisted_2$4 = { class: "fu-filter-component__label" };
945
945
  const _hoisted_3$2 = { class: "fu-filter-component__content" };
946
946
  const _hoisted_4 = { class: "fu-filter-option" };
947
- const __default__$c = { name: "FuFilterSelect" };
948
- const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
947
+ const __default__$e = { name: "FuFilterSelect" };
948
+ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
949
949
  props: {
950
950
  size: {
951
951
  type: String,
@@ -1054,7 +1054,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1054
1054
  const _component_Plus = resolveComponent("Plus");
1055
1055
  const _component_el_icon = resolveComponent("el-icon");
1056
1056
  const _component_el_popover = resolveComponent("el-popover");
1057
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
1057
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
1058
1058
  createElementVNode("div", _hoisted_2$4, toDisplayString(__props.label), 1),
1059
1059
  createElementVNode("div", _hoisted_3$2, [
1060
1060
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
@@ -1121,7 +1121,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1121
1121
  };
1122
1122
  }
1123
1123
  }));
1124
- var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1124
+ var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1125
1125
  const getCheckDate = (timestamp) => {
1126
1126
  if (!timestamp)
1127
1127
  return false;
@@ -1151,11 +1151,11 @@ const dateFormat = (timestamp) => {
1151
1151
  const d = (dt.getDate() + "").padStart(2, "0");
1152
1152
  return `${y}-${m}-${d}`;
1153
1153
  };
1154
- const _hoisted_1$5 = { class: "fu-filter-component" };
1154
+ const _hoisted_1$7 = { class: "fu-filter-component" };
1155
1155
  const _hoisted_2$3 = { class: "fu-filter-component__label" };
1156
1156
  const _hoisted_3$1 = { class: "fu-filter-component__content" };
1157
- const __default__$b = { name: "FuFilterDate" };
1158
- const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1157
+ const __default__$d = { name: "FuFilterDate" };
1158
+ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
1159
1159
  props: {
1160
1160
  size: {
1161
1161
  type: String,
@@ -1197,7 +1197,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1197
1197
  });
1198
1198
  return (_ctx, _cache) => {
1199
1199
  const _component_el_date_picker = resolveComponent("el-date-picker");
1200
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
1200
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
1201
1201
  createElementVNode("div", _hoisted_2$3, toDisplayString(__props.label), 1),
1202
1202
  createElementVNode("div", _hoisted_3$1, [
1203
1203
  createCommentVNode("configSize"),
@@ -1218,12 +1218,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1218
1218
  };
1219
1219
  }
1220
1220
  }));
1221
- var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1222
- const _hoisted_1$4 = { class: "fu-filter-component" };
1221
+ var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1222
+ const _hoisted_1$6 = { class: "fu-filter-component" };
1223
1223
  const _hoisted_2$2 = { class: "fu-filter-component__label" };
1224
1224
  const _hoisted_3 = { class: "fu-filter-component__content" };
1225
- const __default__$a = { name: "FuFilterDateTime" };
1226
- const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1225
+ const __default__$c = { name: "FuFilterDateTime" };
1226
+ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
1227
1227
  props: {
1228
1228
  size: {
1229
1229
  type: String,
@@ -1265,7 +1265,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1265
1265
  });
1266
1266
  return (_ctx, _cache) => {
1267
1267
  const _component_el_date_picker = resolveComponent("el-date-picker");
1268
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
1268
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
1269
1269
  createElementVNode("div", _hoisted_2$2, toDisplayString(__props.label), 1),
1270
1270
  createElementVNode("div", _hoisted_3, [
1271
1271
  createCommentVNode(' :size="configSize" '),
@@ -1286,7 +1286,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1286
1286
  };
1287
1287
  }
1288
1288
  }));
1289
- var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1289
+ var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1290
1290
  FuSearchInput.install = (app) => {
1291
1291
  app.component(FuFilterBar.name, FuFilterBar);
1292
1292
  app.component(FuFilter.name, FuFilter);
@@ -1315,7 +1315,7 @@ const uuid = function() {
1315
1315
  });
1316
1316
  };
1317
1317
  const TRIGGERS = ["manual", "onClick", "onDblclick"];
1318
- const _sfc_main$d = defineComponent({
1318
+ const _sfc_main$h = defineComponent({
1319
1319
  name: "FuReadWriteSwitch",
1320
1320
  props: {
1321
1321
  modelValue: Boolean,
@@ -1383,9 +1383,9 @@ const _sfc_main$d = defineComponent({
1383
1383
  };
1384
1384
  }
1385
1385
  });
1386
- var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1387
- const __default__$9 = { name: "FuInputRwSwitch" };
1388
- const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1386
+ var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1387
+ const __default__$b = { name: "FuInputRwSwitch" };
1388
+ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1389
1389
  props: {
1390
1390
  modelValue: [String, Number],
1391
1391
  writeTrigger: {
@@ -1436,9 +1436,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1436
1436
  };
1437
1437
  }
1438
1438
  }));
1439
- var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1440
- const __default__$8 = { name: "FuSelectRwSwitch" };
1441
- const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1439
+ var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1440
+ const __default__$a = { name: "FuSelectRwSwitch" };
1441
+ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1442
1442
  props: {
1443
1443
  modelValue: [String, Number],
1444
1444
  options: {
@@ -1514,7 +1514,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1514
1514
  };
1515
1515
  }
1516
1516
  }));
1517
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1517
+ var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1518
1518
  FuReadWriteSwitch.install = (app) => {
1519
1519
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1520
1520
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1524,6 +1524,608 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1524
1524
  __proto__: null,
1525
1525
  "default": FuReadWriteSwitch
1526
1526
  }, Symbol.toStringTag, { value: "Module" }));
1527
+ var _a;
1528
+ const isClient = typeof window !== "undefined";
1529
+ isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1530
+ Object.freeze({});
1531
+ Object.freeze([]);
1532
+ const isArray = Array.isArray;
1533
+ const isElement = (e) => {
1534
+ if (typeof Element === "undefined")
1535
+ return false;
1536
+ return e instanceof Element;
1537
+ };
1538
+ const nodeList = /* @__PURE__ */ new Map();
1539
+ let startClick;
1540
+ if (isClient) {
1541
+ document.addEventListener("mousedown", (e) => startClick = e);
1542
+ document.addEventListener("mouseup", (e) => {
1543
+ for (const handlers of nodeList.values()) {
1544
+ for (const { documentHandler } of handlers) {
1545
+ documentHandler(e, startClick);
1546
+ }
1547
+ }
1548
+ });
1549
+ }
1550
+ function createDocumentHandler(el, binding) {
1551
+ let excludes = [];
1552
+ if (Array.isArray(binding.arg)) {
1553
+ excludes = binding.arg;
1554
+ } else if (isElement(binding.arg)) {
1555
+ excludes.push(binding.arg);
1556
+ }
1557
+ return function(mouseup, mousedown) {
1558
+ const popperRef = binding.instance.popperRef;
1559
+ const mouseUpTarget = mouseup.target;
1560
+ const mouseDownTarget = mousedown == null ? void 0 : mousedown.target;
1561
+ const isBound = !binding || !binding.instance;
1562
+ const isTargetExists = !mouseUpTarget || !mouseDownTarget;
1563
+ const isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
1564
+ const isSelf = el === mouseUpTarget;
1565
+ const isTargetExcluded = excludes.length && excludes.some((item) => item == null ? void 0 : item.contains(mouseUpTarget)) || excludes.length && excludes.includes(mouseDownTarget);
1566
+ const isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
1567
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
1568
+ return;
1569
+ }
1570
+ binding.value(mouseup, mousedown);
1571
+ };
1572
+ }
1573
+ const ClickOutside = {
1574
+ beforeMount(el, binding) {
1575
+ if (!nodeList.has(el)) {
1576
+ nodeList.set(el, []);
1577
+ }
1578
+ nodeList.get(el).push({
1579
+ documentHandler: createDocumentHandler(el, binding),
1580
+ bindingFn: binding.value
1581
+ });
1582
+ },
1583
+ updated(el, binding) {
1584
+ if (!nodeList.has(el)) {
1585
+ nodeList.set(el, []);
1586
+ }
1587
+ const handlers = nodeList.get(el);
1588
+ const oldHandlerIndex = handlers.findIndex((item) => item.bindingFn === binding.oldValue);
1589
+ const newHandler = {
1590
+ documentHandler: createDocumentHandler(el, binding),
1591
+ bindingFn: binding.value
1592
+ };
1593
+ if (oldHandlerIndex >= 0) {
1594
+ handlers.splice(oldHandlerIndex, 1, newHandler);
1595
+ } else {
1596
+ handlers.push(newHandler);
1597
+ }
1598
+ },
1599
+ unmounted(el) {
1600
+ nodeList.delete(el);
1601
+ }
1602
+ };
1603
+ const COMPONENTS_TYPE = ["default", "primary", "success", "warning", "danger", "info"];
1604
+ const validateType = (value) => {
1605
+ if (!value)
1606
+ return true;
1607
+ if (COMPONENTS_TYPE.includes(value)) {
1608
+ return true;
1609
+ }
1610
+ console.error("types is not contains " + value);
1611
+ return false;
1612
+ };
1613
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1614
+ __name: "FuSpeedDialButton",
1615
+ props: {
1616
+ type: {
1617
+ type: String,
1618
+ default: "default",
1619
+ validator: validateType
1620
+ },
1621
+ rotate: Boolean,
1622
+ disabled: Boolean,
1623
+ active: Boolean,
1624
+ icon: String,
1625
+ size: {
1626
+ type: String,
1627
+ default: "32px"
1628
+ },
1629
+ backgroundColor: String,
1630
+ color: String,
1631
+ fontSize: String
1632
+ },
1633
+ setup(__props) {
1634
+ return (_ctx, _cache) => {
1635
+ const _component_el_icon = resolveComponent("el-icon");
1636
+ return openBlock(), createElementBlock("div", {
1637
+ class: normalizeClass([
1638
+ "fu-speed-dial-button",
1639
+ "el-button",
1640
+ "el-button--" + __props.type,
1641
+ {
1642
+ "fu-speed-dial-button--rotate": __props.rotate,
1643
+ "is-disabled": __props.disabled,
1644
+ "is-active": __props.active
1645
+ }
1646
+ ]),
1647
+ style: normalizeStyle({
1648
+ width: __props.size,
1649
+ height: __props.size,
1650
+ backgroundColor: __props.backgroundColor,
1651
+ color: __props.color,
1652
+ fontSize: __props.fontSize
1653
+ })
1654
+ }, [
1655
+ renderSlot(_ctx.$slots, "default", {}, () => [
1656
+ createVNode(_component_el_icon, null, {
1657
+ default: withCtx(() => [
1658
+ (openBlock(), createBlock(resolveDynamicComponent(__props.icon)))
1659
+ ]),
1660
+ _: 1
1661
+ })
1662
+ ])
1663
+ ], 6);
1664
+ };
1665
+ }
1666
+ });
1667
+ var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
1668
+ const SpeedDialKey = Symbol("SpeedDialKey");
1669
+ const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
1670
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1671
+ __name: "FuSpeedDialActionButton",
1672
+ props: {
1673
+ index: Number,
1674
+ icon: {
1675
+ type: String,
1676
+ default: "Plus"
1677
+ },
1678
+ titleClass: String,
1679
+ titleBgColor: String,
1680
+ titleColor: String,
1681
+ buttonClass: String,
1682
+ bgColor: String,
1683
+ color: String,
1684
+ title: [String, Number]
1685
+ },
1686
+ emits: ["click"],
1687
+ setup(__props, { emit }) {
1688
+ const props = __props;
1689
+ const speedDialKey = inject(SpeedDialKey);
1690
+ const config = computed(() => {
1691
+ return speedDialKey == null ? void 0 : speedDialKey.config;
1692
+ });
1693
+ const direction = computed(() => {
1694
+ return (speedDialKey == null ? void 0 : speedDialKey.direction.value) || "";
1695
+ });
1696
+ const titleSize = computed(() => {
1697
+ var _a2;
1698
+ let size = ((_a2 = config.value) == null ? void 0 : _a2.fab.size) + "px";
1699
+ let style = { position: "absolute", height: size };
1700
+ if (["top", "bottom"].includes(direction.value)) {
1701
+ style["text-align"] = "right";
1702
+ style["right"] = size;
1703
+ } else {
1704
+ style["text-align"] = "center";
1705
+ style["min-width"] = size;
1706
+ if (props.index || 0 % 2 === 0) {
1707
+ style.top = size;
1708
+ } else {
1709
+ style.top = "-" + size;
1710
+ }
1711
+ }
1712
+ return style;
1713
+ });
1714
+ const titleStyle = computed(() => {
1715
+ var _a2;
1716
+ let backgroundColor = props.titleBgColor;
1717
+ let color = props.titleColor;
1718
+ let fontSize = (_a2 = config.value) == null ? void 0 : _a2.item.titleFontSize;
1719
+ return { backgroundColor, color, fontSize };
1720
+ });
1721
+ const buttonProps = computed(() => {
1722
+ var _a2, _b;
1723
+ let backgroundColor = props.bgColor;
1724
+ let color = props.color;
1725
+ let fontSize = (_a2 = config.value) == null ? void 0 : _a2.item.buttonFontSize;
1726
+ let size = ((_b = config.value) == null ? void 0 : _b.item.size) + "px";
1727
+ return { backgroundColor, color, fontSize, size };
1728
+ });
1729
+ function click(e) {
1730
+ const { index, title } = props;
1731
+ emit("click", { index, title }, e);
1732
+ speedDialKey == null ? void 0 : speedDialKey.close();
1733
+ }
1734
+ return (_ctx, _cache) => {
1735
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
1736
+ __props.title ? (openBlock(), createElementBlock("div", {
1737
+ key: 0,
1738
+ class: "fu-speed-dial-action-button__title",
1739
+ style: normalizeStyle(unref(titleSize))
1740
+ }, [
1741
+ renderSlot(_ctx.$slots, "title", {}, () => [
1742
+ createElementVNode("div", {
1743
+ class: normalizeClass(["fu-speed-dial-action-button__text", __props.titleClass]),
1744
+ style: normalizeStyle(unref(titleStyle)),
1745
+ onClick: click
1746
+ }, toDisplayString(__props.title), 7)
1747
+ ])
1748
+ ], 4)) : createCommentVNode("v-if", true),
1749
+ renderSlot(_ctx.$slots, "default", {}, () => [
1750
+ createVNode(FuSpeedDialButton, mergeProps({ class: __props.buttonClass }, unref(buttonProps), {
1751
+ icon: __props.icon,
1752
+ onClick: click
1753
+ }), null, 16, ["class", "icon"])
1754
+ ])
1755
+ ]);
1756
+ };
1757
+ }
1758
+ });
1759
+ var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
1760
+ const __default__$9 = { name: "FuSpeedDialItem" };
1761
+ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1762
+ props: {
1763
+ index: {
1764
+ type: Number,
1765
+ required: true
1766
+ }
1767
+ },
1768
+ setup(__props) {
1769
+ const props = __props;
1770
+ const speedDialKey = inject(SpeedDialKey);
1771
+ const config = computed(() => {
1772
+ return speedDialKey == null ? void 0 : speedDialKey.config;
1773
+ });
1774
+ const direction = computed(() => {
1775
+ return (speedDialKey == null ? void 0 : speedDialKey.direction.value) || "";
1776
+ });
1777
+ const isActive = computed(() => {
1778
+ var _a2;
1779
+ return (_a2 = speedDialKey == null ? void 0 : speedDialKey.active) == null ? void 0 : _a2.value;
1780
+ });
1781
+ const spacing = computed(() => {
1782
+ return config.value.item.spacing || 0;
1783
+ });
1784
+ const directionPosition = computed(() => {
1785
+ var _a2, _b, _c, _d;
1786
+ if (["top", "left"].includes(direction.value)) {
1787
+ return -((_b = (_a2 = config.value) == null ? void 0 : _a2.fab) == null ? void 0 : _b.size) - spacing.value;
1788
+ }
1789
+ return ((_d = (_c = config.value) == null ? void 0 : _c.fab) == null ? void 0 : _d.size) + spacing.value;
1790
+ });
1791
+ const itemSize = computed(() => {
1792
+ var _a2, _b;
1793
+ let size = ((_b = (_a2 = config.value) == null ? void 0 : _a2.fab) == null ? void 0 : _b.size) + "px";
1794
+ return {
1795
+ width: size,
1796
+ height: size
1797
+ };
1798
+ });
1799
+ function setPosition(el, position) {
1800
+ if (["top", "bottom"].includes(direction.value)) {
1801
+ el.style.transform = "translateY(" + position + ")";
1802
+ } else {
1803
+ el.style.transform = "translateX(" + position + ")";
1804
+ }
1805
+ }
1806
+ function beforeEnter(el) {
1807
+ el.style.transition = "all 0.3s";
1808
+ el.style.position = "absolute";
1809
+ setPosition(el, 0);
1810
+ el.style.opacity = "0";
1811
+ }
1812
+ function enter(el, done) {
1813
+ let position = props.index * directionPosition.value + "px";
1814
+ setTimeout(() => {
1815
+ setPosition(el, position);
1816
+ el.style.opacity = "1";
1817
+ done();
1818
+ });
1819
+ }
1820
+ function leave(el, done) {
1821
+ setPosition(el, 0);
1822
+ el.style.opacity = "0";
1823
+ setTimeout(() => {
1824
+ done();
1825
+ }, 200);
1826
+ }
1827
+ return (_ctx, _cache) => {
1828
+ return openBlock(), createBlock(Transition, {
1829
+ css: false,
1830
+ onBeforeEnter: beforeEnter,
1831
+ onEnter: enter,
1832
+ onLeave: leave
1833
+ }, {
1834
+ default: withCtx(() => [
1835
+ unref(isActive) ? (openBlock(), createElementBlock("div", {
1836
+ key: 0,
1837
+ class: "fu-speed-dial-item",
1838
+ style: normalizeStyle(unref(itemSize))
1839
+ }, [
1840
+ renderSlot(_ctx.$slots, "default", {}, () => [
1841
+ createVNode(FuSpeedDialActionButton, mergeProps({ index: __props.index }, _ctx.$attrs), null, 16, ["index"])
1842
+ ])
1843
+ ], 4)) : createCommentVNode("v-if", true)
1844
+ ]),
1845
+ _: 3
1846
+ });
1847
+ };
1848
+ }
1849
+ }));
1850
+ var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
1851
+ const _hoisted_1$4 = { class: "fu-speed-dial__content" };
1852
+ const __default__$8 = { name: "FuSpeedDial" };
1853
+ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1854
+ props: {
1855
+ modelValue: Boolean,
1856
+ id: String,
1857
+ type: {
1858
+ type: String,
1859
+ default: "primary"
1860
+ },
1861
+ items: Array,
1862
+ size: {
1863
+ type: String,
1864
+ default: "default",
1865
+ validator: (value) => ["large", "default", "small"].includes(value)
1866
+ },
1867
+ direction: {
1868
+ type: String,
1869
+ default: "top",
1870
+ validator: (value) => ["top", "bottom", "left", "right"].includes(value)
1871
+ },
1872
+ icon: {
1873
+ type: String,
1874
+ default: "Plus"
1875
+ },
1876
+ activeIcon: {
1877
+ type: String,
1878
+ default: "Close"
1879
+ },
1880
+ movable: {
1881
+ type: Boolean,
1882
+ default: false
1883
+ },
1884
+ position: {
1885
+ type: String,
1886
+ validator: (value) => ["absolute", "fixed"].includes(value)
1887
+ },
1888
+ left: String,
1889
+ top: String,
1890
+ right: String,
1891
+ bottom: String,
1892
+ zIndex: {
1893
+ type: [String, Number],
1894
+ default: 99
1895
+ },
1896
+ itemClickClose: {
1897
+ type: Boolean,
1898
+ default: true
1899
+ },
1900
+ outsideClose: {
1901
+ type: Boolean,
1902
+ default: true
1903
+ },
1904
+ manual: {
1905
+ type: Boolean,
1906
+ default: false
1907
+ },
1908
+ localKey: String,
1909
+ sizeOptions: {
1910
+ type: Object,
1911
+ default: () => {
1912
+ return {
1913
+ large: {
1914
+ fab: { size: 56, fontSize: "18px" },
1915
+ item: { size: 40, spacing: 0, titleFontSize: "14px", buttonFontSize: "18px" }
1916
+ },
1917
+ default: {
1918
+ fab: { size: 40, fontSize: "16px" },
1919
+ item: { size: 32, spacing: 0, titleFontSize: "14px", buttonFontSize: "16px" }
1920
+ },
1921
+ small: {
1922
+ fab: { size: 32, fontSize: "12px", padding: 0 },
1923
+ item: { size: 24, spacing: 0, titleFontSize: "12px", buttonFontSize: "12px" }
1924
+ }
1925
+ };
1926
+ }
1927
+ }
1928
+ },
1929
+ emits: ["close", "outside-click", "click"],
1930
+ setup(__props, { expose, emit }) {
1931
+ const props = __props;
1932
+ const slots = useSlots();
1933
+ const instance = getCurrentInstance();
1934
+ const active = ref(false);
1935
+ const moving = ref(false);
1936
+ const { zIndex, position, left, top, right, bottom } = props;
1937
+ const style = ref({ zIndex, position, left, top, right, bottom });
1938
+ watch(() => props.modelValue, (v) => {
1939
+ active.value = v;
1940
+ });
1941
+ watch(() => props.position, () => updateStyle());
1942
+ watch(() => props.zIndex, () => updateStyle());
1943
+ watch(() => props.left, () => updateStyle());
1944
+ watch(() => props.right, () => updateStyle());
1945
+ watch(() => props.top, () => updateStyle());
1946
+ watch(() => props.bottom, () => updateStyle());
1947
+ function updateStyle() {
1948
+ const { zIndex: zIndex2, position: position2, left: left2, top: top2, right: right2, bottom: bottom2 } = props;
1949
+ style.value = { zIndex: zIndex2, position: position2, left: left2, top: top2, right: right2, bottom: bottom2 };
1950
+ }
1951
+ const saveKey = computed(() => {
1952
+ return "Fu-SD-" + props.localKey;
1953
+ });
1954
+ const hashChildren = computed(() => {
1955
+ if (props.items && props.items.length > 0) {
1956
+ return true;
1957
+ }
1958
+ return slots && slots.default;
1959
+ });
1960
+ const config = computed(() => {
1961
+ return props.sizeOptions[props.size] || props.sizeOptions["default"];
1962
+ });
1963
+ const buttonProps = computed(() => {
1964
+ let rotate = true;
1965
+ let size = config.value.fab.size + "px";
1966
+ let fontSize = config.value.fab.fontSize;
1967
+ let icon = props.activeIcon === props.icon ? props.icon : active.value ? props.activeIcon : props.icon;
1968
+ return { type: props.type, rotate, active: active.value, size, fontSize, icon };
1969
+ });
1970
+ const spacing = computed(() => {
1971
+ let spacing2 = config.value.item.spacing || 0;
1972
+ spacing2 += (config.value.fab.size - config.value.item.size) / 2;
1973
+ return spacing2;
1974
+ });
1975
+ const contentPosition = computed(() => {
1976
+ let position2 = config.value.fab.size + spacing.value;
1977
+ if (["top", "left"].includes(props.direction)) {
1978
+ position2 = -config.value.fab.size - spacing.value;
1979
+ }
1980
+ let positionStyle = { position: "absolute", zIndex: props.zIndex };
1981
+ if (["top", "bottom"].includes(props.direction)) {
1982
+ positionStyle.top = position2 + "px";
1983
+ } else {
1984
+ positionStyle.top = 0;
1985
+ positionStyle.left = position2 + "px";
1986
+ }
1987
+ return positionStyle;
1988
+ });
1989
+ function toggle(bool) {
1990
+ if (!moving.value && hashChildren.value) {
1991
+ active.value = bool === void 0 ? !active.value : bool;
1992
+ }
1993
+ }
1994
+ function outsideClickClose() {
1995
+ if (props.outsideClose && !props.manual) {
1996
+ toggle(false);
1997
+ }
1998
+ emit("outside-click", [props.id, active.value]);
1999
+ }
2000
+ function click(e) {
2001
+ if (!props.manual) {
2002
+ toggle();
2003
+ }
2004
+ emit("click", [props.id, active.value], e);
2005
+ }
2006
+ function mousedown() {
2007
+ if (props.movable) {
2008
+ document.addEventListener("mousemove", mousemove);
2009
+ document.addEventListener("mouseup", mouseup);
2010
+ }
2011
+ }
2012
+ function mousemove(e) {
2013
+ moving.value = true;
2014
+ if (props.position === "fixed") {
2015
+ const el = instance == null ? void 0 : instance.vnode.el;
2016
+ const rect = el.getBoundingClientRect();
2017
+ let left2 = e.clientX - rect.width / 2;
2018
+ let top2 = e.clientY - rect.height / 2;
2019
+ style.value.left = left2 + "px";
2020
+ style.value.top = top2 + "px";
2021
+ delete style.value.right;
2022
+ delete style.value.bottom;
2023
+ }
2024
+ if (props.position === "absolute") {
2025
+ const { offsetLeft, offsetTop, clientWidth, clientHeight, offsetParent } = instance == null ? void 0 : instance.vnode.el;
2026
+ const maxWidth = offsetParent && offsetParent.clientWidth || 0 - clientWidth;
2027
+ const maxHeight = offsetParent && offsetParent.clientHeight || 0 - clientHeight;
2028
+ let left2 = offsetLeft + e.movementX;
2029
+ let top2 = offsetTop + e.movementY;
2030
+ if (left2 > 0 && left2 < maxWidth) {
2031
+ style.value.left = left2 + "px";
2032
+ delete style.value.right;
2033
+ }
2034
+ if (top2 > 0 && top2 < maxHeight) {
2035
+ style.value.top = top2 + "px";
2036
+ delete style.value.bottom;
2037
+ }
2038
+ }
2039
+ }
2040
+ function mouseup() {
2041
+ writePosition();
2042
+ document.removeEventListener("mousemove", mousemove);
2043
+ document.removeEventListener("mouseup", mouseup);
2044
+ setTimeout(() => moving.value = false);
2045
+ }
2046
+ function writePosition() {
2047
+ if (props.localKey) {
2048
+ localStorage.setItem(saveKey.value, JSON.stringify(style.value));
2049
+ }
2050
+ }
2051
+ function readPosition() {
2052
+ let position2 = localStorage.getItem(saveKey.value);
2053
+ try {
2054
+ localStorage.getItem(saveKey.value);
2055
+ if (position2) {
2056
+ style.value = JSON.parse(position2);
2057
+ }
2058
+ } catch (e) {
2059
+ console.warn(saveKey.value + " error", e);
2060
+ }
2061
+ }
2062
+ function itemClick(index) {
2063
+ if (index !== void 0) {
2064
+ const item = props.items[index];
2065
+ if (item.click && typeof item.click === "function")
2066
+ return item.click(index);
2067
+ }
2068
+ }
2069
+ function close() {
2070
+ if (props.itemClickClose && !props.manual) {
2071
+ toggle(false);
2072
+ }
2073
+ emit("close", [props.id, active.value]);
2074
+ }
2075
+ provide(SpeedDialKey, {
2076
+ config: config.value,
2077
+ direction: computed(() => props.direction),
2078
+ active,
2079
+ close
2080
+ });
2081
+ onMounted(() => {
2082
+ readPosition();
2083
+ });
2084
+ expose({
2085
+ close
2086
+ });
2087
+ return (_ctx, _cache) => {
2088
+ return withDirectives((openBlock(), createElementBlock("div", {
2089
+ class: "fu-speed-dial",
2090
+ style: normalizeStyle(style.value)
2091
+ }, [
2092
+ createElementVNode("div", _hoisted_1$4, [
2093
+ renderSlot(_ctx.$slots, "fab", {}, () => [
2094
+ createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
2095
+ onClick: click,
2096
+ onMousedown: mousedown
2097
+ }), null, 16)
2098
+ ]),
2099
+ createElementVNode("div", {
2100
+ style: normalizeStyle(unref(contentPosition))
2101
+ }, [
2102
+ renderSlot(_ctx.$slots, "default", {}, () => [
2103
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
2104
+ return openBlock(), createBlock(FuSpeedDialItem, mergeProps({
2105
+ index,
2106
+ key: index
2107
+ }, item, {
2108
+ onClick: ($event) => itemClick(index)
2109
+ }), null, 16, ["index", "onClick"]);
2110
+ }), 128))
2111
+ ])
2112
+ ], 4)
2113
+ ])
2114
+ ], 4)), [
2115
+ [unref(ClickOutside), outsideClickClose]
2116
+ ]);
2117
+ };
2118
+ }
2119
+ }));
2120
+ var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
2121
+ FuSpeedDial.install = (app) => {
2122
+ app.component(FuSpeedDial.name, FuSpeedDial);
2123
+ app.component(FuSpeedDialItem.name, FuSpeedDialItem);
2124
+ };
2125
+ var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2126
+ __proto__: null,
2127
+ "default": FuSpeedDial
2128
+ }, Symbol.toStringTag, { value: "Module" }));
1527
2129
  const _hoisted_1$3 = {
1528
2130
  key: 0,
1529
2131
  class: "icon"
@@ -1731,17 +2333,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1731
2333
  };
1732
2334
  }
1733
2335
  }));
1734
- var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
2336
+ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/split-pane/FuSplitPane.vue"]]);
1735
2337
  FuSplitPane.install = (app) => {
1736
2338
  app.component(FuSplitPane.name, FuSplitPane);
1737
2339
  };
1738
- var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2340
+ var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1739
2341
  __proto__: null,
1740
2342
  "default": FuSplitPane
1741
2343
  }, Symbol.toStringTag, { value: "Module" }));
1742
- Object.freeze({});
1743
- Object.freeze([]);
1744
- const isArray = Array.isArray;
1745
2344
  function isFragment(node) {
1746
2345
  return isVNode(node) && node.type === Fragment;
1747
2346
  }
@@ -1818,9 +2417,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1818
2417
  localKey: String
1819
2418
  },
1820
2419
  setup(__props) {
1821
- var _a, _b;
2420
+ var _a2, _b;
1822
2421
  const props = __props;
1823
- const slots = (_b = (_a = useSlots()).default) == null ? void 0 : _b.call(_a);
2422
+ const slots = (_b = (_a2 = useSlots()).default) == null ? void 0 : _b.call(_a2);
1824
2423
  const key = ref(0);
1825
2424
  const prefix = "FU-T-";
1826
2425
  const cleanColumns = (columns) => {
@@ -1858,8 +2457,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1858
2457
  }
1859
2458
  if (columns.some((col) => col.label === void 0)) {
1860
2459
  columns.forEach((col, i) => {
1861
- var _a2;
1862
- (_a2 = col.label) != null ? _a2 : col.label = getLabel(nodes[i]);
2460
+ var _a3;
2461
+ (_a3 = col.label) != null ? _a3 : col.label = getLabel(nodes[i]);
1863
2462
  });
1864
2463
  }
1865
2464
  };
@@ -1930,7 +2529,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1930
2529
  };
1931
2530
  }
1932
2531
  }));
1933
- var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTable.vue"]]);
2532
+ var FuTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTable.vue"]]);
1934
2533
  const tableColumnSelect = (localKey) => {
1935
2534
  const columnsKey = computed(() => {
1936
2535
  return localKey ? "FU-T-" + localKey : "";
@@ -1961,9 +2560,9 @@ const tableColumnSelect = (localKey) => {
1961
2560
  }
1962
2561
  }
1963
2562
  function drop(event, list, index) {
1964
- var _a;
2563
+ var _a2;
1965
2564
  let target = event.target;
1966
- let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
2565
+ let source_index = Number((_a2 = event.dataTransfer) == null ? void 0 : _a2.getData("source_index"));
1967
2566
  let target_index = index;
1968
2567
  if (target_index > source_index) {
1969
2568
  list.splice(target_index + 1, 0, list[source_index]);
@@ -2017,14 +2616,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2017
2616
  drop
2018
2617
  } = tableColumnSelect(localKey);
2019
2618
  const isFixAll = computed(() => {
2020
- var _a;
2021
- return (_a = props.columns) == null ? void 0 : _a.every((c) => {
2619
+ var _a2;
2620
+ return (_a2 = props.columns) == null ? void 0 : _a2.every((c) => {
2022
2621
  return c.fix;
2023
2622
  });
2024
2623
  });
2025
2624
  const hasSelect = computed(() => {
2026
- var _a;
2027
- return ((_a = props.columns) == null ? void 0 : _a.length) > 0 && !isFixAll.value;
2625
+ var _a2;
2626
+ return ((_a2 = props.columns) == null ? void 0 : _a2.length) > 0 && !isFixAll.value;
2028
2627
  });
2029
2628
  function reset() {
2030
2629
  if (columnsKey) {
@@ -2102,7 +2701,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2102
2701
  };
2103
2702
  }
2104
2703
  });
2105
- var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
2704
+ var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
2106
2705
  const _hoisted_1$1 = { style: { "display": "inline-block" } };
2107
2706
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2108
2707
  __name: "FuTableColumnSelectDialog",
@@ -2236,7 +2835,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2236
2835
  };
2237
2836
  }
2238
2837
  });
2239
- var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectDialog.vue"]]);
2838
+ var FuTableColumnSelectDialog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectDialog.vue"]]);
2240
2839
  const _sfc_main$6 = defineComponent({
2241
2840
  name: "FuTableColumnSelect",
2242
2841
  props: ["type"],
@@ -2251,7 +2850,7 @@ const _sfc_main$6 = defineComponent({
2251
2850
  };
2252
2851
  }
2253
2852
  });
2254
- var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
2853
+ var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
2255
2854
  const __default__$5 = { name: "FuTablePagination" };
2256
2855
  const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
2257
2856
  props: {
@@ -2300,7 +2899,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2300
2899
  };
2301
2900
  }
2302
2901
  }));
2303
- var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
2902
+ var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
2304
2903
  const __default__$4 = { name: "FuTableButton" };
2305
2904
  const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
2306
2905
  props: {
@@ -2329,7 +2928,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2329
2928
  };
2330
2929
  }
2331
2930
  }));
2332
- var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
2931
+ var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
2333
2932
  const __default__$3 = { name: "FuTableMoreButton" };
2334
2933
  const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
2335
2934
  props: {
@@ -2415,7 +3014,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2415
3014
  };
2416
3015
  }
2417
3016
  }));
2418
- var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
3017
+ var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
2419
3018
  const __default__$2 = { name: "FuTableOperations" };
2420
3019
  const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
2421
3020
  props: {
@@ -2468,12 +3067,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2468
3067
  };
2469
3068
  });
2470
3069
  function showButtons(row) {
2471
- var _a;
2472
- return (_a = props.buttons) == null ? void 0 : _a.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
3070
+ var _a2;
3071
+ return (_a2 = props.buttons) == null ? void 0 : _a2.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
2473
3072
  }
2474
3073
  function hasMore(row) {
2475
- var _a;
2476
- return ((_a = showButtons(row)) == null ? void 0 : _a.length) > props.ellipsis + 1;
3074
+ var _a2;
3075
+ return ((_a2 = showButtons(row)) == null ? void 0 : _a2.length) > props.ellipsis + 1;
2477
3076
  }
2478
3077
  return (_ctx, _cache) => {
2479
3078
  const _component_el_icon = resolveComponent("el-icon");
@@ -2522,7 +3121,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2522
3121
  };
2523
3122
  }
2524
3123
  }));
2525
- var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
3124
+ var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
2526
3125
  const _hoisted_1 = { class: "fu-dropdown-link" };
2527
3126
  const _hoisted_2 = {
2528
3127
  key: 0,
@@ -2555,9 +3154,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2555
3154
  const instance = getCurrentInstance();
2556
3155
  const isShow = computed(() => {
2557
3156
  return function(row) {
2558
- var _a, _b, _c;
3157
+ var _a2, _b, _c;
2559
3158
  if (props.showType === "selected") {
2560
- 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();
3159
+ 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();
2561
3160
  return selection.includes(row) && true;
2562
3161
  } else {
2563
3162
  return true;
@@ -2656,7 +3255,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2656
3255
  };
2657
3256
  }
2658
3257
  }));
2659
- var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTableColumnDropdown.vue"]]);
3258
+ var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTableColumnDropdown.vue"]]);
2660
3259
  FuTable.install = (app) => {
2661
3260
  app.component(FuTable.name, FuTable);
2662
3261
  app.component(FuTablePagination.name, FuTablePagination);
@@ -2666,7 +3265,7 @@ FuTable.install = (app) => {
2666
3265
  app.component(FuTableButton.name, FuTableButton);
2667
3266
  app.component(FuTableMoreButton.name, FuTableMoreButton);
2668
3267
  };
2669
- var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3268
+ var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2670
3269
  __proto__: null,
2671
3270
  "default": FuTable
2672
3271
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2812,11 +3411,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
2812
3411
  };
2813
3412
  }
2814
3413
  }));
2815
- var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/tabs/FuTabs.vue"]]);
3414
+ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/tabs/FuTabs.vue"]]);
2816
3415
  FuTabs.install = (app) => {
2817
3416
  app.component(FuTabs.name, FuTabs);
2818
3417
  };
2819
- var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3418
+ var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2820
3419
  __proto__: null,
2821
3420
  "default": FuTabs
2822
3421
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2827,6 +3426,7 @@ const files = [
2827
3426
  "lib",
2828
3427
  "src"
2829
3428
  ];
3429
+ const types = "./types/index.d.ts";
2830
3430
  const author = "fit2cloud";
2831
3431
  const license = "GPL-3.0 License";
2832
3432
  const repository = {
@@ -2836,7 +3436,7 @@ const repository = {
2836
3436
  const scripts = {
2837
3437
  dev: "vite",
2838
3438
  build: "vite build",
2839
- "build-lib": "vite build --mode lib",
3439
+ "build-lib": "vite build --mode lib && vue-tsc --emitDeclarationOnly",
2840
3440
  preview: "vite preview"
2841
3441
  };
2842
3442
  const dependencies = {
@@ -2866,6 +3466,7 @@ var PackageJSON = {
2866
3466
  "private": false,
2867
3467
  main,
2868
3468
  files,
3469
+ types,
2869
3470
  author,
2870
3471
  license,
2871
3472
  repository,
@@ -2873,7 +3474,7 @@ var PackageJSON = {
2873
3474
  dependencies,
2874
3475
  devDependencies
2875
3476
  };
2876
- const components = { "./components/filter-bar/index.ts": __glob_1_0, "./components/read-write-switch/index.ts": __glob_1_1, "./components/split-pane/index.ts": __glob_1_2, "./components/table/index.ts": __glob_1_3, "./components/tabs/index.ts": __glob_1_4 };
3477
+ 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/table/index.ts": __glob_1_4, "./components/tabs/index.ts": __glob_1_5 };
2877
3478
  const install = (app) => {
2878
3479
  Object.keys(components).forEach((key) => {
2879
3480
  let component = components[key].default;