fit2cloud-ui-plus 0.0.1-beta.1 → 0.0.1-beta.12

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 (208) hide show
  1. package/README.md +61 -9
  2. package/lib/fit2cloud-ui-plus.es.js +553 -866
  3. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  4. package/package.json +9 -12
  5. package/src/components/filter-bar/FuFilter.vue +19 -14
  6. package/src/components/filter-bar/FuFilterBar.vue +16 -11
  7. package/src/components/filter-bar/FuSearchInput.vue +8 -2
  8. package/src/components/filter-bar/filter-components/FuFilterDate.vue +17 -13
  9. package/src/components/filter-bar/filter-components/FuFilterDateTime.vue +16 -13
  10. package/src/components/filter-bar/filter-components/FuFilterSelect.vue +17 -12
  11. package/src/components/filter-bar/index.d.ts +2 -0
  12. package/src/components/filter-bar/index.ts +11 -12
  13. package/src/components/filter-bar/types.d.ts +22 -0
  14. package/src/components/read-write-switch/FuInputRwSwitch.vue +9 -5
  15. package/src/components/read-write-switch/FuReadWriteSwitch.vue +38 -36
  16. package/src/components/read-write-switch/FuSelectRwSwitch.vue +11 -7
  17. package/src/components/read-write-switch/index.d.ts +2 -0
  18. package/src/components/read-write-switch/types.d.ts +4 -0
  19. package/src/components/read-write-switch/types.ts +4 -0
  20. package/src/components/speed-dial/FuSpeedDial.vue +78 -69
  21. package/src/components/speed-dial/FuSpeedDial.vue.d.ts +218 -0
  22. package/src/components/speed-dial/FuSpeedDialActionButton.vue +55 -55
  23. package/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +32 -0
  24. package/src/components/speed-dial/FuSpeedDialButton.vue +14 -11
  25. package/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +42 -0
  26. package/src/components/speed-dial/FuSpeedDialItem.vue +9 -15
  27. package/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +12 -0
  28. package/src/components/speed-dial/index.d.ts +2 -0
  29. package/src/components/speed-dial/types.d.ts +8 -0
  30. package/src/components/speed-dial/types.ts +12 -0
  31. package/src/components/split-pane/FuSplitPane.vue +3 -3
  32. package/src/components/split-pane/FuSplitPane.vue.d.ts +59 -0
  33. package/src/components/split-pane/index.d.ts +2 -0
  34. package/src/components/table/FuTable.vue +16 -25
  35. package/src/components/table/FuTableBody.ts +38 -34
  36. package/src/components/table/{table-column-dropdown/FuTableColumnDropdown.vue → FuTableColumnDropdown.vue} +5 -2
  37. package/src/components/table/index.d.ts +2 -0
  38. package/src/components/table/index.ts +11 -7
  39. package/src/components/table/table-column-select/FuTableColumnSelectDialog.vue +15 -20
  40. package/src/components/table/table-column-select/FuTableColumnSelectPopover.vue +12 -11
  41. package/src/components/table/table-column-select/utils.d.ts +8 -0
  42. package/src/components/table/table-column-select/utils.ts +10 -7
  43. package/src/components/table/table-operations/FuTableButton.vue +1 -4
  44. package/src/components/table/table-operations/FuTableMoreButton.vue +5 -3
  45. package/src/components/table/table-operations/FuTableOperations.vue +6 -7
  46. package/src/components/table/types.d.ts +2 -0
  47. package/src/components/table/types.ts +3 -0
  48. package/src/components/tabs/FuTabs.vue +4 -2
  49. package/src/components/tabs/FuTabs.vue.d.ts +54 -0
  50. package/src/components/tabs/index.d.ts +2 -0
  51. package/src/hooks/index.d.ts +3 -0
  52. package/src/hooks/index.ts +2 -0
  53. package/src/hooks/use-global-config/index.d.ts +1 -0
  54. package/src/hooks/use-global-config/index.ts +0 -15
  55. package/src/hooks/use-locale/index.d.ts +14 -0
  56. package/src/hooks/use-size/index.d.ts +5 -0
  57. package/src/hooks/use-size/index.ts +29 -0
  58. package/src/index.d.ts +7 -0
  59. package/src/locale/index.d.ts +10 -0
  60. package/src/locale/lang/en.d.ts +59 -0
  61. package/src/locale/lang/zh-cn.d.ts +59 -0
  62. package/src/locale/lang/zh-tw.d.ts +59 -0
  63. package/src/styles/common/variables.scss +2 -6
  64. package/src/styles/components/filter-bar.scss +3 -3
  65. package/src/styles/components/speed-dial.scss +1 -51
  66. package/src/styles/components/split-pane.scss +1 -1
  67. package/src/styles/components/steps.scss +2 -2
  68. package/src/styles/components/table.scss +3 -5
  69. package/src/styles/components/tabs.scss +1 -1
  70. package/src/styles/index.scss +0 -1
  71. package/src/tools/size.d.ts +4 -0
  72. package/src/tools/size.ts +6 -0
  73. package/src/tools/theme.d.ts +1 -0
  74. package/src/tools/theme.ts +0 -12
  75. package/src/tools/time.d.ts +2 -0
  76. package/src/tools/types.d.ts +8 -0
  77. package/src/tools/types.ts +9 -0
  78. package/src/tools/utils.d.ts +2 -0
  79. package/src/tools/utils.ts +36 -36
  80. package/src/tools/vnode.d.ts +9 -0
  81. package/src/tools/vnode.ts +47 -0
  82. package/types/examples/App.vue.d.ts +2 -0
  83. package/types/examples/components/CodeExample.vue.d.ts +29 -0
  84. package/types/examples/components/DocumentTable.vue.d.ts +14 -0
  85. package/types/examples/components/Markdown.vue.d.ts +12 -0
  86. package/types/examples/layout/components/AppHeader.vue.d.ts +2 -0
  87. package/types/examples/layout/components/Sidebar.vue.d.ts +2 -0
  88. package/types/examples/layout/index.vue.d.ts +2 -0
  89. package/types/examples/main.d.ts +2 -0
  90. package/types/examples/pages/filter-bar/attributes.d.ts +63 -0
  91. package/types/examples/pages/filter-bar/demo/BaseFilterBar.vue.d.ts +2 -0
  92. package/types/examples/pages/filter-bar/demo/SetConditionsDemo.vue.d.ts +2 -0
  93. package/types/examples/pages/filter-bar/demo/SlotDemo.vue.d.ts +2 -0
  94. package/types/examples/pages/filter-bar/index.vue.d.ts +2 -0
  95. package/types/examples/pages/index.d.ts +3 -0
  96. package/types/examples/pages/read-write-switch/attributes.d.ts +63 -0
  97. package/types/examples/pages/read-write-switch/demo/BaseDemo.vue.d.ts +2 -0
  98. package/types/examples/pages/read-write-switch/demo/CustomContentDemo.vue.d.ts +2 -0
  99. package/types/examples/pages/read-write-switch/demo/InputRwSwitchDemo.vue.d.ts +2 -0
  100. package/types/examples/pages/read-write-switch/demo/ReadSwitchDemo.vue.d.ts +2 -0
  101. package/types/examples/pages/read-write-switch/demo/SelectRwSwitchDemo.vue.d.ts +2 -0
  102. package/types/examples/pages/read-write-switch/demo/TableInnerEditDemo.vue.d.ts +2 -0
  103. package/types/examples/pages/read-write-switch/demo/WriteSwitchDemo.vue.d.ts +2 -0
  104. package/types/examples/pages/read-write-switch/index.vue.d.ts +2 -0
  105. package/types/examples/pages/speed-dial/attributes.d.ts +63 -0
  106. package/types/examples/pages/speed-dial/demo/BaseSpeedDial.vue.d.ts +2 -0
  107. package/types/examples/pages/speed-dial/demo/SpeedDialCustom.vue.d.ts +2 -0
  108. package/types/examples/pages/speed-dial/demo/SpeedDialPosition.vue.d.ts +2 -0
  109. package/types/examples/pages/speed-dial/demo/SpeedDialTrigger.vue.d.ts +2 -0
  110. package/types/examples/pages/speed-dial/index.vue.d.ts +2 -0
  111. package/types/examples/pages/split-pane/attributes.d.ts +63 -0
  112. package/types/examples/pages/split-pane/demo/BaseSplit.vue.d.ts +2 -0
  113. package/types/examples/pages/split-pane/demo/CustomResizer.vue.d.ts +2 -0
  114. package/types/examples/pages/split-pane/demo/NestSplit.vue.d.ts +2 -0
  115. package/types/examples/pages/split-pane/demo/ResizerType.vue.d.ts +2 -0
  116. package/types/examples/pages/split-pane/index.vue.d.ts +2 -0
  117. package/types/examples/pages/table/attributes.d.ts +121 -0
  118. package/types/examples/pages/table/demo/BaseTable.vue.d.ts +2 -0
  119. package/types/examples/pages/table/demo/DropdownColumn.vue.d.ts +2 -0
  120. package/types/examples/pages/table/demo/DropdownColumnSlot.vue.d.ts +2 -0
  121. package/types/examples/pages/table/demo/SaveSelectColumn.vue.d.ts +2 -0
  122. package/types/examples/pages/table/demo/SelectColumn.vue.d.ts +2 -0
  123. package/types/examples/pages/table/demo/TableOperations.vue.d.ts +2 -0
  124. package/types/examples/pages/table/demo/TablePagination.vue.d.ts +2 -0
  125. package/types/examples/pages/table/index.vue.d.ts +2 -0
  126. package/types/examples/pages/tabs/attributes.d.ts +63 -0
  127. package/types/examples/pages/tabs/demo/AddCloseTab.vue.d.ts +2 -0
  128. package/types/examples/pages/tabs/index.vue.d.ts +2 -0
  129. package/types/examples/router/doc-routes.d.ts +12 -0
  130. package/types/examples/router/index.d.ts +4 -0
  131. package/types/plugins/example-transform.d.ts +5 -0
  132. package/types/src/components/filter-bar/FuFilter.vue.d.ts +39 -0
  133. package/types/src/components/filter-bar/FuFilterBar.vue.d.ts +22 -0
  134. package/types/src/components/filter-bar/FuFilterConditions.vue.d.ts +8 -0
  135. package/types/src/components/filter-bar/FuSearchInput.vue.d.ts +17 -0
  136. package/types/src/components/filter-bar/filter-components/FuFilterDate.vue.d.ts +36 -0
  137. package/types/src/components/filter-bar/filter-components/FuFilterDateTime.vue.d.ts +36 -0
  138. package/types/src/components/filter-bar/filter-components/FuFilterOption.vue.d.ts +24 -0
  139. package/types/src/components/filter-bar/filter-components/FuFilterSelect.vue.d.ts +66 -0
  140. package/types/src/components/filter-bar/index.d.ts +2 -0
  141. package/types/src/components/filter-bar/types.d.ts +22 -0
  142. package/types/src/components/read-write-switch/FuInputRwSwitch.vue.d.ts +21 -0
  143. package/types/src/components/read-write-switch/FuReadWriteSwitch.vue.d.ts +23 -0
  144. package/types/src/components/read-write-switch/FuSelectRwSwitch.vue.d.ts +33 -0
  145. package/types/src/components/read-write-switch/index.d.ts +2 -0
  146. package/types/src/components/read-write-switch/types.d.ts +4 -0
  147. package/types/src/components/speed-dial/FuSpeedDial.vue.d.ts +218 -0
  148. package/types/src/components/speed-dial/FuSpeedDialActionButton.vue.d.ts +32 -0
  149. package/types/src/components/speed-dial/FuSpeedDialButton.vue.d.ts +42 -0
  150. package/types/src/components/speed-dial/FuSpeedDialItem.vue.d.ts +12 -0
  151. package/types/src/components/speed-dial/index.d.ts +2 -0
  152. package/types/src/components/speed-dial/types.d.ts +8 -0
  153. package/types/src/components/split-pane/FuSplitPane.vue.d.ts +59 -0
  154. package/types/src/components/split-pane/index.d.ts +2 -0
  155. package/types/src/components/table/FuTable.vue.d.ts +18 -0
  156. package/types/src/components/table/FuTableBody.d.ts +3 -0
  157. package/types/src/components/table/FuTableColumnDropdown.vue.d.ts +50 -0
  158. package/types/src/components/table/FuTablePagination.vue.d.ts +47 -0
  159. package/types/src/components/table/index.d.ts +2 -0
  160. package/types/src/components/table/table-column-select/FuTableColumnSelect.vue.d.ts +10 -0
  161. package/types/src/components/table/table-column-select/FuTableColumnSelectDialog.vue.d.ts +23 -0
  162. package/types/src/components/table/table-column-select/FuTableColumnSelectPopover.vue.d.ts +34 -0
  163. package/types/src/components/table/table-column-select/utils.d.ts +8 -0
  164. package/types/src/components/table/table-operations/FuTableButton.vue.d.ts +13 -0
  165. package/types/src/components/table/table-operations/FuTableMoreButton.vue.d.ts +37 -0
  166. package/types/src/components/table/table-operations/FuTableOperations.vue.d.ts +46 -0
  167. package/types/src/components/table/types.d.ts +2 -0
  168. package/types/src/components/tabs/FuTabs.vue.d.ts +54 -0
  169. package/types/src/components/tabs/index.d.ts +2 -0
  170. package/types/src/hooks/index.d.ts +3 -0
  171. package/types/src/hooks/use-global-config/index.d.ts +1 -0
  172. package/types/src/hooks/use-locale/index.d.ts +14 -0
  173. package/types/src/hooks/use-size/index.d.ts +5 -0
  174. package/types/src/index.d.ts +7 -0
  175. package/types/src/locale/index.d.ts +10 -0
  176. package/types/src/locale/lang/en.d.ts +59 -0
  177. package/types/src/locale/lang/zh-cn.d.ts +59 -0
  178. package/types/src/locale/lang/zh-tw.d.ts +59 -0
  179. package/types/src/tools/size.d.ts +4 -0
  180. package/types/src/tools/theme.d.ts +1 -0
  181. package/types/src/tools/time.d.ts +2 -0
  182. package/types/src/tools/types.d.ts +8 -0
  183. package/types/src/tools/utils.d.ts +2 -0
  184. package/types/src/tools/vnode.d.ts +9 -0
  185. package/src/components/search-bar/FuComplexSearch.vue +0 -108
  186. package/src/components/search-bar/FuQuickSearch.vue +0 -43
  187. package/src/components/search-bar/FuSearchBar.vue +0 -165
  188. package/src/components/search-bar/FuSearchBarButton.vue +0 -14
  189. package/src/components/search-bar/FuSearchContions.vue +0 -24
  190. package/src/components/search-bar/index.ts +0 -13
  191. package/src/components/search-bar/store.ts +0 -25
  192. package/src/components/steps/FuHorizontalNavigation.vue +0 -18
  193. package/src/components/steps/FuHorizontalSteps.vue +0 -94
  194. package/src/components/steps/FuStep.vue +0 -13
  195. package/src/components/steps/FuSteps.vue +0 -22
  196. package/src/components/steps/FuStepsFooter.ts +0 -79
  197. package/src/components/steps/FuVerticalNavigation.vue +0 -35
  198. package/src/components/steps/FuVerticalSteps.vue +0 -79
  199. package/src/components/steps/Stepper.ts +0 -188
  200. package/src/components/steps/index.ts +0 -11
  201. package/src/components/table/table-column-dropdown/index.ts +0 -7
  202. package/src/components/table/table-column-select/index.ts +0 -8
  203. package/src/components/table/table-operations/index.ts +0 -12
  204. package/src/components/virtual-scroller/FuVirtualHorizontalScroll.js +0 -96
  205. package/src/components/virtual-scroller/FuVirtualScroll.js +0 -15
  206. package/src/components/virtual-scroller/FuVirtualVerticalScroll.js +0 -95
  207. package/src/components/virtual-scroller/index.js +0 -10
  208. package/src/styles/components/search-bar.scss +0 -285
@@ -17,11 +17,9 @@ 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, withDirectives, isVNode, Comment, onUpdated, vShow, normalizeProps, guardReactiveProps } from "vue";
21
+ const COMPONENTS_SIZE = ["", "default", "small", "large"];
22
+ const validateSize = (val) => ["", ...COMPONENTS_SIZE].includes(val);
25
23
  var _export_sfc = (sfc, props) => {
26
24
  const target = sfc.__vccOpts || sfc;
27
25
  for (const [key, val] of props) {
@@ -29,9 +27,13 @@ var _export_sfc = (sfc, props) => {
29
27
  }
30
28
  return target;
31
29
  };
32
- const __default__$i = { name: "FuSearchInput" };
33
- const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$i), {
30
+ const __default__$h = { name: "FuSearchInput" };
31
+ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$h), {
34
32
  props: {
33
+ size: {
34
+ type: String,
35
+ validator: validateSize
36
+ },
35
37
  value: String
36
38
  },
37
39
  emits: ["input", "change"],
@@ -63,18 +65,21 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
63
65
  onInput: input,
64
66
  onBlur: blur,
65
67
  onKeydown: keydown
66
- }, _ctx.$attrs, { clearable: "" }), null, 16, ["modelValue"]);
68
+ }, _ctx.$attrs, {
69
+ clearable: "",
70
+ size: __props.size
71
+ }), null, 16, ["modelValue", "size"]);
67
72
  };
68
73
  }
69
74
  }));
70
- var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "/Users/q4speed/fit2cloud2.0/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"]]);
71
76
  const globalConfig = ref();
72
77
  function useGlobalConfig(key, defaultValue = void 0) {
73
78
  const config = getCurrentInstance() ? inject(Symbol(), globalConfig) : globalConfig;
74
79
  if (key) {
75
80
  return computed(() => {
76
- var _a, _b;
77
- 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;
78
83
  });
79
84
  } else {
80
85
  return config;
@@ -129,21 +134,21 @@ function isSymbol(value) {
129
134
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
130
135
  }
131
136
  function arrayMap(array, iteratee) {
132
- var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
133
- while (++index2 < length) {
134
- result[index2] = iteratee(array[index2], index2, array);
137
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
138
+ while (++index < length) {
139
+ result[index] = iteratee(array[index], index, array);
135
140
  }
136
141
  return result;
137
142
  }
138
- var isArray = Array.isArray;
139
- var isArray$1 = isArray;
143
+ var isArray$1 = Array.isArray;
144
+ var isArray$2 = isArray$1;
140
145
  var INFINITY$1 = 1 / 0;
141
146
  var symbolProto = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
142
147
  function baseToString(value) {
143
148
  if (typeof value == "string") {
144
149
  return value;
145
150
  }
146
- if (isArray$1(value)) {
151
+ if (isArray$2(value)) {
147
152
  return arrayMap(value, baseToString) + "";
148
153
  }
149
154
  if (isSymbol(value)) {
@@ -213,7 +218,7 @@ function eq(value, other) {
213
218
  }
214
219
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
215
220
  function isKey(value, object) {
216
- if (isArray$1(value)) {
221
+ if (isArray$2(value)) {
217
222
  return false;
218
223
  }
219
224
  var type = typeof value;
@@ -258,10 +263,10 @@ function hashSet(key, value) {
258
263
  return this;
259
264
  }
260
265
  function Hash(entries) {
261
- var index2 = -1, length = entries == null ? 0 : entries.length;
266
+ var index = -1, length = entries == null ? 0 : entries.length;
262
267
  this.clear();
263
- while (++index2 < length) {
264
- var entry = entries[index2];
268
+ while (++index < length) {
269
+ var entry = entries[index];
265
270
  this.set(entry[0], entry[1]);
266
271
  }
267
272
  }
@@ -286,41 +291,41 @@ function assocIndexOf(array, key) {
286
291
  var arrayProto = Array.prototype;
287
292
  var splice = arrayProto.splice;
288
293
  function listCacheDelete(key) {
289
- var data = this.__data__, index2 = assocIndexOf(data, key);
290
- if (index2 < 0) {
294
+ var data = this.__data__, index = assocIndexOf(data, key);
295
+ if (index < 0) {
291
296
  return false;
292
297
  }
293
298
  var lastIndex = data.length - 1;
294
- if (index2 == lastIndex) {
299
+ if (index == lastIndex) {
295
300
  data.pop();
296
301
  } else {
297
- splice.call(data, index2, 1);
302
+ splice.call(data, index, 1);
298
303
  }
299
304
  --this.size;
300
305
  return true;
301
306
  }
302
307
  function listCacheGet(key) {
303
- var data = this.__data__, index2 = assocIndexOf(data, key);
304
- return index2 < 0 ? void 0 : data[index2][1];
308
+ var data = this.__data__, index = assocIndexOf(data, key);
309
+ return index < 0 ? void 0 : data[index][1];
305
310
  }
306
311
  function listCacheHas(key) {
307
312
  return assocIndexOf(this.__data__, key) > -1;
308
313
  }
309
314
  function listCacheSet(key, value) {
310
- var data = this.__data__, index2 = assocIndexOf(data, key);
311
- if (index2 < 0) {
315
+ var data = this.__data__, index = assocIndexOf(data, key);
316
+ if (index < 0) {
312
317
  ++this.size;
313
318
  data.push([key, value]);
314
319
  } else {
315
- data[index2][1] = value;
320
+ data[index][1] = value;
316
321
  }
317
322
  return this;
318
323
  }
319
324
  function ListCache(entries) {
320
- var index2 = -1, length = entries == null ? 0 : entries.length;
325
+ var index = -1, length = entries == null ? 0 : entries.length;
321
326
  this.clear();
322
- while (++index2 < length) {
323
- var entry = entries[index2];
327
+ while (++index < length) {
328
+ var entry = entries[index];
324
329
  this.set(entry[0], entry[1]);
325
330
  }
326
331
  }
@@ -365,10 +370,10 @@ function mapCacheSet(key, value) {
365
370
  return this;
366
371
  }
367
372
  function MapCache(entries) {
368
- var index2 = -1, length = entries == null ? 0 : entries.length;
373
+ var index = -1, length = entries == null ? 0 : entries.length;
369
374
  this.clear();
370
- while (++index2 < length) {
371
- var entry = entries[index2];
375
+ while (++index < length) {
376
+ var entry = entries[index];
372
377
  this.set(entry[0], entry[1]);
373
378
  }
374
379
  }
@@ -423,7 +428,7 @@ function toString(value) {
423
428
  return value == null ? "" : baseToString(value);
424
429
  }
425
430
  function castPath(value, object) {
426
- if (isArray$1(value)) {
431
+ if (isArray$2(value)) {
427
432
  return value;
428
433
  }
429
434
  return isKey(value, object) ? [value] : stringToPath$1(toString(value));
@@ -438,11 +443,11 @@ function toKey(value) {
438
443
  }
439
444
  function baseGet(object, path) {
440
445
  path = castPath(path, object);
441
- var index2 = 0, length = path.length;
442
- while (object != null && index2 < length) {
443
- object = object[toKey(path[index2++])];
446
+ var index = 0, length = path.length;
447
+ while (object != null && index < length) {
448
+ object = object[toKey(path[index++])];
444
449
  }
445
- return index2 && index2 == length ? object : void 0;
450
+ return index && index == length ? object : void 0;
446
451
  }
447
452
  function get(object, path, defaultValue) {
448
453
  var result = object == null ? void 0 : baseGet(object, path);
@@ -508,8 +513,8 @@ var Chinese = {
508
513
  };
509
514
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
510
515
  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}}`}`;
516
+ var _a2;
517
+ return `${(_a2 = option == null ? void 0 : option[key]) != null ? _a2 : `{${key}}`}`;
513
518
  });
514
519
  const buildLocaleContext = (locale) => {
515
520
  const lang = computed(() => unref(locale).name);
@@ -524,18 +529,19 @@ const useLocale = () => {
524
529
  const locale = useGlobalConfig("locale");
525
530
  return buildLocaleContext(computed(() => locale.value || Chinese));
526
531
  };
527
- const _hoisted_1$g = { class: "fu-filter-conditions" };
528
- const _hoisted_2$c = { class: "condition-text" };
529
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
532
+ const _hoisted_1$c = { class: "fu-filter-conditions" };
533
+ const _hoisted_2$7 = { class: "condition-text" };
534
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
535
+ __name: "FuFilterConditions",
530
536
  props: {
531
537
  conditions: Array
532
538
  },
533
539
  emits: ["change"],
534
540
  setup(__props, { emit }) {
535
541
  const props = __props;
536
- function remove(index2) {
537
- var _a;
538
- (_a = props.conditions) == null ? void 0 : _a.splice(index2, 1);
542
+ function remove(index) {
543
+ var _a2;
544
+ (_a2 = props.conditions) == null ? void 0 : _a2.splice(index, 1);
539
545
  emit("change", props.conditions);
540
546
  }
541
547
  function text(condition) {
@@ -544,16 +550,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
544
550
  return (_ctx, _cache) => {
545
551
  const _component_CloseBold = resolveComponent("CloseBold");
546
552
  const _component_el_icon = resolveComponent("el-icon");
547
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
548
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index2) => {
553
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
554
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index) => {
549
555
  return openBlock(), createElementBlock("div", {
550
556
  class: "fu-filter-conditions__item",
551
- key: index2
557
+ key: index
552
558
  }, [
553
- createElementVNode("div", _hoisted_2$c, toDisplayString(text(condition)), 1),
559
+ createElementVNode("div", _hoisted_2$7, toDisplayString(text(condition)), 1),
554
560
  createVNode(_component_el_icon, {
555
561
  class: "fu-scale-click",
556
- onClick: ($event) => remove(index2)
562
+ onClick: ($event) => remove(index)
557
563
  }, {
558
564
  default: withCtx(() => [
559
565
  createVNode(_component_CloseBold)
@@ -566,17 +572,21 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
566
572
  };
567
573
  }
568
574
  });
569
- var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "/Users/q4speed/fit2cloud2.0/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"]]);
570
576
  const selectKey = Symbol("SelectKey");
571
577
  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), {
578
+ const _hoisted_1$b = { class: "fu-filter__result" };
579
+ const _hoisted_2$6 = { style: { "opacity": "0.6" } };
580
+ const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
581
+ const _hoisted_4$2 = { class: "drawer-body" };
582
+ const _hoisted_5$1 = { class: "drawer-footer" };
583
+ const __default__$g = { name: "FuFilter" };
584
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$g), {
579
585
  props: {
586
+ size: {
587
+ type: String,
588
+ validator: validateSize
589
+ },
580
590
  count: {
581
591
  type: Number,
582
592
  default: 0
@@ -602,16 +612,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
602
612
  clearInterval(rightTimer);
603
613
  }
604
614
  function left() {
605
- var _a;
606
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
615
+ var _a2;
616
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
607
617
  leftTimer = setInterval(() => {
608
618
  if (el)
609
619
  el.scrollLeft -= 15;
610
620
  }, 50);
611
621
  }
612
622
  function right() {
613
- var _a;
614
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
623
+ var _a2;
624
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
615
625
  rightTimer = setInterval(() => {
616
626
  if (el)
617
627
  el.scrollLeft += 15;
@@ -619,8 +629,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
619
629
  }
620
630
  function change() {
621
631
  nextTick(() => {
622
- var _a;
623
- let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
632
+ var _a2;
633
+ let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
624
634
  scroll.value = el != null && (el == null ? void 0 : el.getBoundingClientRect().width) >= scrollWidth.value;
625
635
  });
626
636
  emit("filter", conditions.value);
@@ -693,11 +703,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
693
703
  ref_key: "filterRef",
694
704
  ref: filterRef
695
705
  }, [
696
- createElementVNode("div", _hoisted_1$f, [
706
+ createElementVNode("div", _hoisted_1$b, [
697
707
  createTextVNode(toDisplayString(__props.count) + " ", 1),
698
- createElementVNode("span", _hoisted_2$b, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
708
+ createElementVNode("span", _hoisted_2$6, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
699
709
  ]),
700
- _hoisted_3$7,
710
+ _hoisted_3$4,
701
711
  scroll.value ? (openBlock(), createElementBlock("div", {
702
712
  key: 0,
703
713
  class: "fu-filter__scroll",
@@ -752,27 +762,29 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
752
762
  onOpen: initComponents
753
763
  }, {
754
764
  default: withCtx(() => [
755
- createElementVNode("div", _hoisted_4$3, [
765
+ createElementVNode("div", _hoisted_4$2, [
756
766
  renderSlot(_ctx.$slots, "default", {}, () => [
757
767
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.components, (c, i) => {
758
768
  return openBlock(), createBlock(resolveDynamicComponent(c.component), mergeProps({ key: i }, c, {
759
769
  ref_for: true,
760
770
  ref: c.field
761
- }, toHandlers(c)), null, 16);
771
+ }, toHandlers(c), { size: __props.size }), null, 16, ["size"]);
762
772
  }), 128))
763
773
  ])
764
774
  ]),
765
- createElementVNode("div", _hoisted_5$2, [
775
+ createElementVNode("div", _hoisted_5$1, [
766
776
  renderSlot(_ctx.$slots, "footer", {}, () => [
767
777
  createVNode(_component_el_button, {
778
+ size: __props.size,
768
779
  onClick: _cache[0] || (_cache[0] = ($event) => drawer.value = false)
769
780
  }, {
770
781
  default: withCtx(() => [
771
782
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.cancel")), 1)
772
783
  ]),
773
784
  _: 1
774
- }),
785
+ }, 8, ["size"]),
775
786
  createVNode(_component_el_button, {
787
+ size: __props.size,
776
788
  type: "primary",
777
789
  onClick: filter
778
790
  }, {
@@ -780,7 +792,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
780
792
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.search")), 1)
781
793
  ]),
782
794
  _: 1
783
- })
795
+ }, 8, ["size"])
784
796
  ])
785
797
  ])
786
798
  ]),
@@ -790,16 +802,20 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
790
802
  };
791
803
  }
792
804
  }));
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 };
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
+ const _hoisted_2$5 = { class: "fu-filter-bar__top" };
808
+ const _hoisted_3$3 = { class: "top_left" };
809
+ const _hoisted_4$1 = { class: "top_right" };
810
+ const _hoisted_5 = { key: 0 };
799
811
  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), {
812
+ const __default__$f = { name: "FuFilterBar" };
813
+ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
802
814
  props: {
815
+ size: {
816
+ type: String,
817
+ validator: validateSize
818
+ },
803
819
  resultCount: Number,
804
820
  quickPlaceholder: String,
805
821
  components: Array
@@ -811,8 +827,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
811
827
  const conditions = ref([]);
812
828
  const filterRef = ref();
813
829
  function open() {
814
- var _a;
815
- (_a = filterRef.value) == null ? void 0 : _a.open();
830
+ var _a2;
831
+ (_a2 = filterRef.value) == null ? void 0 : _a2.open();
816
832
  }
817
833
  function change() {
818
834
  emit("exec", conditionObj.value);
@@ -822,8 +838,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
822
838
  emit("exec", conditionObj.value);
823
839
  }
824
840
  function setConditions(conditionObj2) {
825
- var _a;
826
- (_a = filterRef.value) == null ? void 0 : _a.setConditions(conditionObj2);
841
+ var _a2;
842
+ (_a2 = filterRef.value) == null ? void 0 : _a2.setConditions(conditionObj2);
827
843
  }
828
844
  const conditionObj = computed(() => {
829
845
  let obj = { quick: quick.value };
@@ -837,30 +853,31 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
837
853
  });
838
854
  return (_ctx, _cache) => {
839
855
  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, [
856
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
857
+ createElementVNode("div", _hoisted_2$5, [
858
+ createElementVNode("div", _hoisted_3$3, [
843
859
  renderSlot(_ctx.$slots, "tl")
844
860
  ]),
845
- createElementVNode("div", _hoisted_4$2, [
861
+ createElementVNode("div", _hoisted_4$1, [
846
862
  renderSlot(_ctx.$slots, "tr", {}, () => [
847
- createCommentVNode(' :size="configSize" '),
848
863
  createVNode(FuSearchInput, {
864
+ size: __props.size,
849
865
  modelValue: quick.value,
850
866
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
851
867
  placeholder: __props.quickPlaceholder,
852
868
  onChange: change
853
- }, null, 8, ["modelValue", "placeholder"]),
869
+ }, null, 8, ["size", "modelValue", "placeholder"]),
854
870
  createVNode(_component_el_button, {
855
871
  onClick: open,
856
- icon: "Filter"
872
+ icon: "Filter",
873
+ size: __props.size
857
874
  }, {
858
875
  default: withCtx(() => [
859
876
  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)
877
+ conditions.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5, "(" + toDisplayString(conditions.value.length) + ")", 1)) : createCommentVNode("v-if", true)
861
878
  ]),
862
879
  _: 1
863
- })
880
+ }, 8, ["size"])
864
881
  ]),
865
882
  renderSlot(_ctx.$slots, "buttons")
866
883
  ])
@@ -871,21 +888,23 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
871
888
  ref: filterRef,
872
889
  onFilter: filter,
873
890
  count: __props.resultCount,
874
- components: __props.components
891
+ components: __props.components,
892
+ size: __props.size
875
893
  }, {
876
894
  default: withCtx(() => [
877
895
  renderSlot(_ctx.$slots, "default")
878
896
  ]),
879
897
  _: 3
880
- }, 8, ["count", "components"])
898
+ }, 8, ["count", "components", "size"])
881
899
  ])
882
900
  ]);
883
901
  };
884
902
  }
885
903
  }));
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({
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
+ __name: "FuFilterOption",
889
908
  props: {
890
909
  value: {
891
910
  type: [String, Number],
@@ -916,18 +935,22 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
916
935
  return openBlock(), createElementBlock("div", {
917
936
  class: normalizeClass(["fu-filter-option", { "is-selected": unref(selected), "is-disabled": __props.disabled }]),
918
937
  onClick: withModifiers(click, ["stop"])
919
- }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$d);
938
+ }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$9);
920
939
  };
921
940
  }
922
941
  });
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), {
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
+ const _hoisted_2$4 = { class: "fu-filter-component__label" };
945
+ const _hoisted_3$2 = { class: "fu-filter-component__content" };
946
+ const _hoisted_4 = { class: "fu-filter-option" };
947
+ const __default__$e = { name: "FuFilterSelect" };
948
+ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
930
949
  props: {
950
+ size: {
951
+ type: String,
952
+ validator: validateSize
953
+ },
931
954
  multiple: {
932
955
  type: Boolean,
933
956
  default: false
@@ -987,8 +1010,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
987
1010
  return;
988
1011
  }
989
1012
  if (selected) {
990
- let index2 = selection.value.indexOf(value);
991
- selection.value.splice(index2, 1);
1013
+ let index = selection.value.indexOf(value);
1014
+ selection.value.splice(index, 1);
992
1015
  } else {
993
1016
  selection.value.push(value);
994
1017
  }
@@ -1031,9 +1054,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1031
1054
  const _component_Plus = resolveComponent("Plus");
1032
1055
  const _component_el_icon = resolveComponent("el-icon");
1033
1056
  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, [
1057
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
1058
+ createElementVNode("div", _hoisted_2$4, toDisplayString(__props.label), 1),
1059
+ createElementVNode("div", _hoisted_3$2, [
1037
1060
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
1038
1061
  return openBlock(), createBlock(FuFilterOption, {
1039
1062
  label: o.label,
@@ -1049,7 +1072,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1049
1072
  width: "240"
1050
1073
  }, {
1051
1074
  reference: withCtx(() => [
1052
- createElementVNode("div", _hoisted_4$1, [
1075
+ createElementVNode("div", _hoisted_4, [
1053
1076
  createVNode(_component_el_icon, null, {
1054
1077
  default: withCtx(() => [
1055
1078
  createVNode(_component_Plus)
@@ -1067,6 +1090,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1067
1090
  multiple: __props.multiple,
1068
1091
  onChange: change,
1069
1092
  teleported: false,
1093
+ size: __props.size,
1070
1094
  placeholder: unref(t)("fu.search_bar.please_select")
1071
1095
  }), {
1072
1096
  default: withCtx(() => [
@@ -1088,7 +1112,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1088
1112
  }), 128))
1089
1113
  ]),
1090
1114
  _: 1
1091
- }, 16, ["modelValue", "multiple", "placeholder"])
1115
+ }, 16, ["modelValue", "multiple", "size", "placeholder"])
1092
1116
  ]),
1093
1117
  _: 1
1094
1118
  })
@@ -1097,7 +1121,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1097
1121
  };
1098
1122
  }
1099
1123
  }));
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"]]);
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"]]);
1101
1125
  const getCheckDate = (timestamp) => {
1102
1126
  if (!timestamp)
1103
1127
  return false;
@@ -1127,12 +1151,16 @@ const dateFormat = (timestamp) => {
1127
1151
  const d = (dt.getDate() + "").padStart(2, "0");
1128
1152
  return `${y}-${m}-${d}`;
1129
1153
  };
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), {
1154
+ const _hoisted_1$7 = { class: "fu-filter-component" };
1155
+ const _hoisted_2$3 = { class: "fu-filter-component__label" };
1156
+ const _hoisted_3$1 = { class: "fu-filter-component__content" };
1157
+ const __default__$d = { name: "FuFilterDate" };
1158
+ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
1135
1159
  props: {
1160
+ size: {
1161
+ type: String,
1162
+ validator: validateSize
1163
+ },
1136
1164
  label: String,
1137
1165
  field: {
1138
1166
  type: String,
@@ -1169,33 +1197,38 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1169
1197
  });
1170
1198
  return (_ctx, _cache) => {
1171
1199
  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, [
1175
- createCommentVNode(' :size="configSize" '),
1200
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
1201
+ createElementVNode("div", _hoisted_2$3, toDisplayString(__props.label), 1),
1202
+ createElementVNode("div", _hoisted_3$1, [
1203
+ createCommentVNode("configSize"),
1176
1204
  createVNode(_component_el_date_picker, mergeProps({
1177
1205
  class: "fu-filter-date",
1178
1206
  modelValue: value.value,
1179
1207
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1180
1208
  }, _ctx.$attrs, {
1209
+ size: __props.size,
1181
1210
  placeholder: unref(t)("fu.search_bar.select_date"),
1182
1211
  type: "daterange",
1183
1212
  "value-format": __props.valueFormat,
1184
1213
  "start-placeholder": unref(t)("fu.search_bar.start_date"),
1185
1214
  "end-placeholder": unref(t)("fu.search_bar.end_date")
1186
- }), null, 16, ["modelValue", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1215
+ }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1187
1216
  ])
1188
1217
  ]);
1189
1218
  };
1190
1219
  }
1191
1220
  }));
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), {
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
+ const _hoisted_2$2 = { class: "fu-filter-component__label" };
1224
+ const _hoisted_3 = { class: "fu-filter-component__content" };
1225
+ const __default__$c = { name: "FuFilterDateTime" };
1226
+ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
1198
1227
  props: {
1228
+ size: {
1229
+ type: String,
1230
+ validator: validateSize
1231
+ },
1199
1232
  label: String,
1200
1233
  field: {
1201
1234
  type: String,
@@ -1232,40 +1265,39 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1232
1265
  });
1233
1266
  return (_ctx, _cache) => {
1234
1267
  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, [
1268
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
1269
+ createElementVNode("div", _hoisted_2$2, toDisplayString(__props.label), 1),
1270
+ createElementVNode("div", _hoisted_3, [
1238
1271
  createCommentVNode(' :size="configSize" '),
1239
1272
  createVNode(_component_el_date_picker, mergeProps({
1240
1273
  class: "fu-filter-date",
1241
1274
  modelValue: value.value,
1242
1275
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1243
1276
  }, _ctx.$attrs, {
1277
+ size: __props.size,
1244
1278
  placeholder: unref(t)("fu.search_bar.select_date_time"),
1245
1279
  type: "datetimerange",
1246
1280
  "value-format": __props.valueFormat,
1247
1281
  "start-placeholder": unref(t)("fu.search_bar.start_date_time"),
1248
1282
  "end-placeholder": unref(t)("fu.search_bar.end_date_time")
1249
- }), null, 16, ["modelValue", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1283
+ }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1250
1284
  ])
1251
1285
  ]);
1252
1286
  };
1253
1287
  }
1254
1288
  }));
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"]]);
1256
- var index$1 = {
1257
- install: (app) => {
1258
- app.component(FuFilterBar.name, FuFilterBar);
1259
- app.component(FuFilter.name, FuFilter);
1260
- app.component(FuSearchInput.name, FuSearchInput);
1261
- app.component(FuFilterSelect.name, FuFilterSelect);
1262
- app.component(FuFilterDate.name, FuFilterDate);
1263
- app.component(FuFilterDateTime.name, FuFilterDateTime);
1264
- }
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
+ FuSearchInput.install = (app) => {
1291
+ app.component(FuFilterBar.name, FuFilterBar);
1292
+ app.component(FuFilter.name, FuFilter);
1293
+ app.component(FuSearchInput.name, FuSearchInput);
1294
+ app.component(FuFilterSelect.name, FuFilterSelect);
1295
+ app.component(FuFilterDate.name, FuFilterDate);
1296
+ app.component(FuFilterDateTime.name, FuFilterDateTime);
1265
1297
  };
1266
1298
  var __glob_1_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1267
1299
  __proto__: null,
1268
- "default": index$1
1300
+ "default": FuSearchInput
1269
1301
  }, Symbol.toStringTag, { value: "Module" }));
1270
1302
  const uuid = function() {
1271
1303
  let d = new Date().getTime();
@@ -1282,15 +1314,15 @@ const uuid = function() {
1282
1314
  return (c === "x" ? r : r & 3 | 8).toString(16);
1283
1315
  });
1284
1316
  };
1285
- const TRIGGERS = ["manual", "click", "dblclick"];
1286
- const _sfc_main$m = defineComponent({
1317
+ const TRIGGERS = ["manual", "onClick", "onDblclick"];
1318
+ const _sfc_main$h = defineComponent({
1287
1319
  name: "FuReadWriteSwitch",
1288
1320
  props: {
1289
- value: Boolean,
1321
+ modelValue: Boolean,
1290
1322
  data: [String, Number, Boolean],
1291
1323
  writeTrigger: {
1292
1324
  type: String,
1293
- default: "click",
1325
+ default: "onClick",
1294
1326
  validator: (value) => {
1295
1327
  return TRIGGERS.includes(value);
1296
1328
  }
@@ -1298,9 +1330,8 @@ const _sfc_main$m = defineComponent({
1298
1330
  },
1299
1331
  setup(props, { slots, emit }) {
1300
1332
  const id = ref(uuid());
1301
- const write = ref(props.value === void 0 ? false : props.value);
1302
- watch(() => props.value, (v) => {
1303
- console.log(v);
1333
+ const write = ref(props.modelValue === void 0 ? false : props.modelValue);
1334
+ watch(() => props.modelValue, (v) => {
1304
1335
  if (v === write.value)
1305
1336
  return;
1306
1337
  if (v) {
@@ -1310,7 +1341,7 @@ const _sfc_main$m = defineComponent({
1310
1341
  }
1311
1342
  });
1312
1343
  function change() {
1313
- emit("input", write.value);
1344
+ emit("update:modelValue", write.value);
1314
1345
  emit("change", [props.data, write.value]);
1315
1346
  }
1316
1347
  function switchWrite() {
@@ -1329,46 +1360,47 @@ const _sfc_main$m = defineComponent({
1329
1360
  write.value = false;
1330
1361
  change();
1331
1362
  }
1332
- const context = {
1333
- class: "fu-read-write-switch",
1334
- attrs: { id: id.value },
1335
- on: {}
1363
+ return () => {
1364
+ const context = {
1365
+ class: "fu-read-write-switch",
1366
+ id: id.value
1367
+ };
1368
+ if (!write.value && props.writeTrigger !== TRIGGERS[0]) {
1369
+ context[props.writeTrigger] = switchWrite;
1370
+ }
1371
+ let children = props.data;
1372
+ if (!write.value && slots.read) {
1373
+ children = slots.read({
1374
+ write: switchWrite
1375
+ });
1376
+ }
1377
+ if (write.value && slots.default) {
1378
+ children = slots.default({
1379
+ read: switchRead
1380
+ });
1381
+ }
1382
+ return h("div", context, children);
1336
1383
  };
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
1384
  }
1353
1385
  });
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), {
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), {
1357
1389
  props: {
1358
- value: [String, Number],
1390
+ modelValue: [String, Number],
1359
1391
  writeTrigger: {
1360
1392
  type: String,
1361
- default: "click",
1393
+ default: "onClick",
1362
1394
  validator: (value) => {
1363
- return ["click", "dblclick"].includes(value);
1395
+ return ["onClick", "onDblclick"].includes(value);
1364
1396
  }
1365
1397
  }
1366
1398
  },
1367
1399
  emits: ["input", "blur"],
1368
1400
  setup(__props, { emit }) {
1369
1401
  const props = __props;
1370
- const data = ref(props.value);
1371
- watch(() => props.value, (v) => {
1402
+ const data = ref(props.modelValue);
1403
+ watch(() => props.modelValue, (v) => {
1372
1404
  data.value = v;
1373
1405
  });
1374
1406
  function input(e) {
@@ -1385,8 +1417,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1385
1417
  }
1386
1418
  return (_ctx, _cache) => {
1387
1419
  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, {
1420
+ return openBlock(), createBlock(FuReadWriteSwitch, {
1390
1421
  "write-trigger": __props.writeTrigger,
1391
1422
  data: data.value
1392
1423
  }, {
@@ -1405,25 +1436,28 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1405
1436
  };
1406
1437
  }
1407
1438
  }));
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), {
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), {
1411
1442
  props: {
1412
- value: [String, Number],
1413
- options: Array,
1443
+ modelValue: [String, Number],
1444
+ options: {
1445
+ type: Array,
1446
+ default: []
1447
+ },
1414
1448
  writeTrigger: {
1415
1449
  type: String,
1416
- default: "click",
1450
+ default: "onClick",
1417
1451
  validator: (value) => {
1418
- return ["click", "dblclick"].includes(value);
1452
+ return ["onClick", "onDblclick"].includes(value);
1419
1453
  }
1420
1454
  }
1421
1455
  },
1422
1456
  emits: ["input", "blur", "change"],
1423
1457
  setup(__props, { emit }) {
1424
1458
  const props = __props;
1425
- const data = ref(props.value);
1426
- watch(() => props.value, (v) => {
1459
+ const data = ref(props.modelValue);
1460
+ watch(() => props.modelValue, (v) => {
1427
1461
  data.value = v;
1428
1462
  });
1429
1463
  function input(e) {
@@ -1480,7 +1514,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1480
1514
  };
1481
1515
  }
1482
1516
  }));
1483
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/q4speed/fit2cloud2.0/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"]]);
1484
1518
  FuReadWriteSwitch.install = (app) => {
1485
1519
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1486
1520
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1490,440 +1524,82 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1490
1524
  __proto__: null,
1491
1525
  "default": FuReadWriteSwitch
1492
1526
  }, Symbol.toStringTag, { value: "Module" }));
1493
- const _hoisted_1$9 = {
1494
- class: /* @__PURE__ */ normalizeClass(["fu-quick-search"])
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;
1495
1537
  };
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);
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);
1524
1546
  }
1525
1547
  }
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
- });
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, []);
1609
1577
  }
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;
1578
+ nodeList.get(el).push({
1579
+ documentHandler: createDocumentHandler(el, binding),
1580
+ bindingFn: binding.value
1639
1581
  });
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
1582
  },
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);
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
1739
1592
  };
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);
1593
+ if (oldHandlerIndex >= 0) {
1594
+ handlers.splice(oldHandlerIndex, 1, newHandler);
1595
+ } else {
1596
+ handlers.push(newHandler);
1835
1597
  }
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
- };
1598
+ },
1599
+ unmounted(el) {
1600
+ nodeList.delete(el);
1915
1601
  }
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
1602
  };
1923
- var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1924
- __proto__: null,
1925
- "default": FuSearchBar
1926
- }, Symbol.toStringTag, { value: "Module" }));
1927
1603
  const COMPONENTS_TYPE = ["default", "primary", "success", "warning", "danger", "info"];
1928
1604
  const validateType = (value) => {
1929
1605
  if (!value)
@@ -1935,6 +1611,7 @@ const validateType = (value) => {
1935
1611
  return false;
1936
1612
  };
1937
1613
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
1614
+ __name: "FuSpeedDialButton",
1938
1615
  props: {
1939
1616
  type: {
1940
1617
  type: String,
@@ -1955,10 +1632,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1955
1632
  },
1956
1633
  setup(__props) {
1957
1634
  return (_ctx, _cache) => {
1635
+ const _component_el_icon = resolveComponent("el-icon");
1958
1636
  return openBlock(), createElementBlock("div", {
1959
1637
  class: normalizeClass([
1960
1638
  "fu-speed-dial-button",
1961
- "fu-speed-dial-button--" + __props.type,
1639
+ "el-button",
1640
+ "el-button--" + __props.type,
1962
1641
  {
1963
1642
  "fu-speed-dial-button--rotate": __props.rotate,
1964
1643
  "is-disabled": __props.disabled,
@@ -1974,22 +1653,27 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1974
1653
  })
1975
1654
  }, [
1976
1655
  renderSlot(_ctx.$slots, "default", {}, () => [
1977
- createElementVNode("i", {
1978
- class: normalizeClass(__props.icon)
1979
- }, null, 2)
1656
+ createVNode(_component_el_icon, null, {
1657
+ default: withCtx(() => [
1658
+ (openBlock(), createBlock(resolveDynamicComponent(__props.icon)))
1659
+ ]),
1660
+ _: 1
1661
+ })
1980
1662
  ])
1981
1663
  ], 6);
1982
1664
  };
1983
1665
  }
1984
1666
  });
1985
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");
1986
1669
  const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
1987
1670
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
1671
+ __name: "FuSpeedDialActionButton",
1988
1672
  props: {
1989
1673
  index: Number,
1990
1674
  icon: {
1991
1675
  type: String,
1992
- default: "el-icon-plus"
1676
+ default: "Plus"
1993
1677
  },
1994
1678
  titleClass: String,
1995
1679
  titleBgColor: String,
@@ -2002,18 +1686,16 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2002
1686
  emits: ["click"],
2003
1687
  setup(__props, { emit }) {
2004
1688
  const props = __props;
2005
- const FuSpeedDial2 = inject("FuSpeedDial");
1689
+ const speedDialKey = inject(SpeedDialKey);
2006
1690
  const config = computed(() => {
2007
- return FuSpeedDial2.config;
1691
+ return speedDialKey == null ? void 0 : speedDialKey.config;
2008
1692
  });
2009
1693
  const direction = computed(() => {
2010
- return FuSpeedDial2.direction;
2011
- });
2012
- computed(() => {
2013
- return FuSpeedDial2.clickClose;
1694
+ return (speedDialKey == null ? void 0 : speedDialKey.direction.value) || "";
2014
1695
  });
2015
1696
  const titleSize = computed(() => {
2016
- let size = config.value.fab.size + "px";
1697
+ var _a2;
1698
+ let size = ((_a2 = config.value) == null ? void 0 : _a2.fab.size) + "px";
2017
1699
  let style = { position: "absolute", height: size };
2018
1700
  if (["top", "bottom"].includes(direction.value)) {
2019
1701
  style["text-align"] = "right";
@@ -2021,7 +1703,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2021
1703
  } else {
2022
1704
  style["text-align"] = "center";
2023
1705
  style["min-width"] = size;
2024
- if (props.index % 2 === 0) {
1706
+ if (props.index || 0 % 2 === 0) {
2025
1707
  style.top = size;
2026
1708
  } else {
2027
1709
  style.top = "-" + size;
@@ -2030,22 +1712,24 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2030
1712
  return style;
2031
1713
  });
2032
1714
  const titleStyle = computed(() => {
1715
+ var _a2;
2033
1716
  let backgroundColor = props.titleBgColor;
2034
1717
  let color = props.titleColor;
2035
- let fontSize = config.value.item.titleFontSize;
1718
+ let fontSize = (_a2 = config.value) == null ? void 0 : _a2.item.titleFontSize;
2036
1719
  return { backgroundColor, color, fontSize };
2037
1720
  });
2038
1721
  const buttonProps = computed(() => {
1722
+ var _a2, _b;
2039
1723
  let backgroundColor = props.bgColor;
2040
1724
  let color = props.color;
2041
- let fontSize = config.value.item.buttonFontSize;
2042
- let size = config.value.item.size + "px";
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";
2043
1727
  return { backgroundColor, color, fontSize, size };
2044
1728
  });
2045
1729
  function click(e) {
2046
- const { index: index2, title } = props;
2047
- emit("click", { index: index2, title }, e);
2048
- FuSpeedDial2.close();
1730
+ const { index, title } = props;
1731
+ emit("click", { index, title }, e);
1732
+ speedDialKey == null ? void 0 : speedDialKey.close();
2049
1733
  }
2050
1734
  return (_ctx, _cache) => {
2051
1735
  return openBlock(), createElementBlock("div", _hoisted_1$5, [
@@ -2073,8 +1757,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2073
1757
  }
2074
1758
  });
2075
1759
  var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
2076
- const __default__$7 = { name: "FuSpeedDialItem" };
2077
- const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
1760
+ const __default__$9 = { name: "FuSpeedDialItem" };
1761
+ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
2078
1762
  props: {
2079
1763
  index: {
2080
1764
  type: Number,
@@ -2083,33 +1767,33 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2083
1767
  },
2084
1768
  setup(__props) {
2085
1769
  const props = __props;
2086
- const FuSpeedDial2 = inject("FuSpeedDial");
1770
+ const speedDialKey = inject(SpeedDialKey);
2087
1771
  const config = computed(() => {
2088
- return FuSpeedDial2.config;
1772
+ return speedDialKey == null ? void 0 : speedDialKey.config;
2089
1773
  });
2090
1774
  const direction = computed(() => {
2091
- return FuSpeedDial2.direction;
1775
+ return (speedDialKey == null ? void 0 : speedDialKey.direction.value) || "";
2092
1776
  });
2093
1777
  const isActive = computed(() => {
2094
- return FuSpeedDial2.active;
2095
- });
2096
- computed(() => {
2097
- return FuSpeedDial2.size;
1778
+ var _a2;
1779
+ return (_a2 = speedDialKey == null ? void 0 : speedDialKey.active) == null ? void 0 : _a2.value;
2098
1780
  });
2099
1781
  const spacing = computed(() => {
2100
1782
  return config.value.item.spacing || 0;
2101
1783
  });
2102
1784
  const directionPosition = computed(() => {
1785
+ var _a2, _b, _c, _d;
2103
1786
  if (["top", "left"].includes(direction.value)) {
2104
- return -config.value.fab.size - spacing.value;
1787
+ return -((_b = (_a2 = config.value) == null ? void 0 : _a2.fab) == null ? void 0 : _b.size) - spacing.value;
2105
1788
  }
2106
- return config.value.fab.size + spacing.value;
1789
+ return ((_d = (_c = config.value) == null ? void 0 : _c.fab) == null ? void 0 : _d.size) + spacing.value;
2107
1790
  });
2108
1791
  const itemSize = computed(() => {
2109
- let size2 = config.value.fab.size + "px";
1792
+ var _a2, _b;
1793
+ let size = ((_b = (_a2 = config.value) == null ? void 0 : _a2.fab) == null ? void 0 : _b.size) + "px";
2110
1794
  return {
2111
- width: size2,
2112
- height: size2
1795
+ width: size,
1796
+ height: size
2113
1797
  };
2114
1798
  });
2115
1799
  function setPosition(el, position) {
@@ -2165,11 +1849,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2165
1849
  }));
2166
1850
  var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
2167
1851
  const _hoisted_1$4 = { class: "fu-speed-dial__content" };
2168
- const __default__$6 = { name: "FuSpeedDial" };
2169
- const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
1852
+ const __default__$8 = { name: "FuSpeedDial" };
1853
+ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
2170
1854
  props: {
1855
+ modelValue: Boolean,
2171
1856
  id: String,
2172
- value: Boolean,
2173
1857
  type: {
2174
1858
  type: String,
2175
1859
  default: "primary"
@@ -2178,7 +1862,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2178
1862
  size: {
2179
1863
  type: String,
2180
1864
  default: "default",
2181
- validator: (value) => ["big", "default", "medium", "small"].includes(value)
1865
+ validator: (value) => ["large", "default", "small"].includes(value)
2182
1866
  },
2183
1867
  direction: {
2184
1868
  type: String,
@@ -2187,11 +1871,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2187
1871
  },
2188
1872
  icon: {
2189
1873
  type: String,
2190
- default: "el-icon-plus"
1874
+ default: "Plus"
2191
1875
  },
2192
1876
  activeIcon: {
2193
1877
  type: String,
2194
- default: "el-icon-close"
1878
+ default: "Close"
2195
1879
  },
2196
1880
  movable: {
2197
1881
  type: Boolean,
@@ -2226,7 +1910,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2226
1910
  type: Object,
2227
1911
  default: () => {
2228
1912
  return {
2229
- big: {
1913
+ large: {
2230
1914
  fab: { size: 56, fontSize: "18px" },
2231
1915
  item: { size: 40, spacing: 0, titleFontSize: "14px", buttonFontSize: "18px" }
2232
1916
  },
@@ -2234,12 +1918,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2234
1918
  fab: { size: 40, fontSize: "16px" },
2235
1919
  item: { size: 32, spacing: 0, titleFontSize: "14px", buttonFontSize: "16px" }
2236
1920
  },
2237
- medium: {
2238
- fab: { size: 36, fontSize: "14px" },
2239
- item: { size: 28, spacing: 0, titleFontSize: "12px", buttonFontSize: "14px" }
2240
- },
2241
1921
  small: {
2242
- fab: { size: 32, fontSize: "12px" },
1922
+ fab: { size: 32, fontSize: "12px", padding: 0 },
2243
1923
  item: { size: 24, spacing: 0, titleFontSize: "12px", buttonFontSize: "12px" }
2244
1924
  }
2245
1925
  };
@@ -2251,23 +1931,23 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2251
1931
  const props = __props;
2252
1932
  const slots = useSlots();
2253
1933
  const instance = getCurrentInstance();
2254
- const { zIndex, position, left, top, right, bottom } = props;
2255
1934
  const active = ref(false);
2256
1935
  const moving = ref(false);
2257
- const style = reactive({ zIndex, position, left, top, right, bottom });
2258
- const updateStyle = function() {
2259
- style.value = { zIndex, position, left, top, right, bottom };
2260
- };
2261
- provide("FuSpeedDial", instance);
2262
- watch(() => props.value, (v) => {
1936
+ const { zIndex, position, left, top, right, bottom } = props;
1937
+ const style = ref({ zIndex, position, left, top, right, bottom });
1938
+ watch(() => props.modelValue, (v) => {
2263
1939
  active.value = v;
2264
1940
  });
2265
- watch(() => props.position, updateStyle);
2266
- watch(() => props.zIndex, updateStyle);
2267
- watch(() => props.left, updateStyle);
2268
- watch(() => props.right, updateStyle);
2269
- watch(() => props.top, updateStyle);
2270
- watch(() => props.bottom, updateStyle);
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
+ }
2271
1951
  const saveKey = computed(() => {
2272
1952
  return "Fu-SD-" + props.localKey;
2273
1953
  });
@@ -2281,13 +1961,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2281
1961
  return props.sizeOptions[props.size] || props.sizeOptions["default"];
2282
1962
  });
2283
1963
  const buttonProps = computed(() => {
2284
- let type = props.type;
2285
1964
  let rotate = true;
2286
- let activeValue = active.value;
2287
1965
  let size = config.value.fab.size + "px";
2288
1966
  let fontSize = config.value.fab.fontSize;
2289
1967
  let icon = props.activeIcon === props.icon ? props.icon : active.value ? props.activeIcon : props.icon;
2290
- return { type, rotate, active: activeValue, size, fontSize, icon };
1968
+ return { type: props.type, rotate, active: active.value, size, fontSize, icon };
2291
1969
  });
2292
1970
  const spacing = computed(() => {
2293
1971
  let spacing2 = config.value.item.spacing || 0;
@@ -2299,20 +1977,26 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2299
1977
  if (["top", "left"].includes(props.direction)) {
2300
1978
  position2 = -config.value.fab.size - spacing.value;
2301
1979
  }
2302
- let style2 = { position: "absolute", zIndex: props.zIndex };
1980
+ let positionStyle = { position: "absolute", zIndex: props.zIndex };
2303
1981
  if (["top", "bottom"].includes(props.direction)) {
2304
- style2.top = position2 + "px";
1982
+ positionStyle.top = position2 + "px";
2305
1983
  } else {
2306
- style2.top = 0;
2307
- style2.left = position2 + "px";
1984
+ positionStyle.top = 0;
1985
+ positionStyle.left = position2 + "px";
2308
1986
  }
2309
- return style2;
1987
+ return positionStyle;
2310
1988
  });
2311
- function toggle(active2) {
1989
+ function toggle(bool) {
2312
1990
  if (!moving.value && hashChildren.value) {
2313
- active2.value = active2 === void 0 ? !active2.value : active2;
1991
+ active.value = bool === void 0 ? !active.value : bool;
2314
1992
  }
2315
1993
  }
1994
+ function outsideClickClose() {
1995
+ if (props.outsideClose && !props.manual) {
1996
+ toggle(false);
1997
+ }
1998
+ emit("outside-click", [props.id, active.value]);
1999
+ }
2316
2000
  function click(e) {
2317
2001
  if (!props.manual) {
2318
2002
  toggle();
@@ -2320,7 +2004,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2320
2004
  emit("click", [props.id, active.value], e);
2321
2005
  }
2322
2006
  function mousedown() {
2323
- if (moving.value) {
2007
+ if (props.movable) {
2324
2008
  document.addEventListener("mousemove", mousemove);
2325
2009
  document.addEventListener("mouseup", mouseup);
2326
2010
  }
@@ -2328,7 +2012,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2328
2012
  function mousemove(e) {
2329
2013
  moving.value = true;
2330
2014
  if (props.position === "fixed") {
2331
- const el = instance.vnode.el;
2015
+ const el = instance == null ? void 0 : instance.vnode.el;
2332
2016
  const rect = el.getBoundingClientRect();
2333
2017
  let left2 = e.clientX - rect.width / 2;
2334
2018
  let top2 = e.clientY - rect.height / 2;
@@ -2338,9 +2022,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2338
2022
  delete style.value.bottom;
2339
2023
  }
2340
2024
  if (props.position === "absolute") {
2341
- const { offsetLeft, offsetTop, clientWidth, clientHeight, offsetParent } = this.$el;
2342
- const maxWidth = offsetParent.clientWidth - clientWidth;
2343
- const maxHeight = offsetParent.clientHeight - clientHeight;
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;
2344
2028
  let left2 = offsetLeft + e.movementX;
2345
2029
  let top2 = offsetTop + e.movementY;
2346
2030
  if (left2 > 0 && left2 < maxWidth) {
@@ -2375,13 +2059,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2375
2059
  console.warn(saveKey.value + " error", e);
2376
2060
  }
2377
2061
  }
2378
- function itemClick(arg, e) {
2379
- console.log(arg);
2380
- const { index: index2 } = arg;
2381
- if (index2 !== void 0) {
2382
- const item = props.items[index2];
2062
+ function itemClick(index) {
2063
+ if (index !== void 0) {
2064
+ const item = props.items[index];
2383
2065
  if (item.click && typeof item.click === "function")
2384
- return item.click(arg, e);
2066
+ return item.click(index);
2385
2067
  }
2386
2068
  }
2387
2069
  function close() {
@@ -2390,6 +2072,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2390
2072
  }
2391
2073
  emit("close", [props.id, active.value]);
2392
2074
  }
2075
+ provide(SpeedDialKey, {
2076
+ config: config.value,
2077
+ direction: computed(() => props.direction),
2078
+ active,
2079
+ close
2080
+ });
2393
2081
  onMounted(() => {
2394
2082
  readPosition();
2395
2083
  });
@@ -2397,34 +2085,35 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2397
2085
  close
2398
2086
  });
2399
2087
  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);
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
+ ]);
2428
2117
  };
2429
2118
  }
2430
2119
  }));
@@ -2433,7 +2122,7 @@ FuSpeedDial.install = (app) => {
2433
2122
  app.component(FuSpeedDial.name, FuSpeedDial);
2434
2123
  app.component(FuSpeedDialItem.name, FuSpeedDialItem);
2435
2124
  };
2436
- var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2125
+ var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2437
2126
  __proto__: null,
2438
2127
  "default": FuSpeedDial
2439
2128
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2441,9 +2130,8 @@ const _hoisted_1$3 = {
2441
2130
  key: 0,
2442
2131
  class: "icon"
2443
2132
  };
2444
- const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-more" }, null, -1);
2445
- const __default__$5 = { name: "FuSplitPane" };
2446
- const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
2133
+ const __default__$7 = { name: "FuSplitPane" };
2134
+ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
2447
2135
  props: {
2448
2136
  min: {
2449
2137
  type: [Number, String],
@@ -2604,6 +2292,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2604
2292
  readValue();
2605
2293
  });
2606
2294
  return (_ctx, _cache) => {
2295
+ const _component_MoreFilled = resolveComponent("MoreFilled");
2296
+ const _component_el_icon = resolveComponent("el-icon");
2607
2297
  return openBlock(), createElementBlock("div", {
2608
2298
  style: normalizeStyle({ cursor: unref(cursor), userSelect: unref(userSelect) }),
2609
2299
  class: "fu-split-pane",
@@ -2624,7 +2314,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2624
2314
  }, [
2625
2315
  __props.resizerType === "resizer" ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
2626
2316
  renderSlot(_ctx.$slots, "resizer", {}, () => [
2627
- _hoisted_2$2
2317
+ createVNode(_component_el_icon, { size: 10 }, {
2318
+ default: withCtx(() => [
2319
+ createVNode(_component_MoreFilled)
2320
+ ]),
2321
+ _: 1
2322
+ })
2628
2323
  ])
2629
2324
  ])) : createCommentVNode("v-if", true)
2630
2325
  ], 38),
@@ -2642,18 +2337,35 @@ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/q
2642
2337
  FuSplitPane.install = (app) => {
2643
2338
  app.component(FuSplitPane.name, FuSplitPane);
2644
2339
  };
2645
- var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2340
+ var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2646
2341
  __proto__: null,
2647
2342
  "default": FuSplitPane
2648
2343
  }, Symbol.toStringTag, { value: "Module" }));
2649
- var index = {
2650
- install: (app) => {
2344
+ function isFragment(node) {
2345
+ return isVNode(node) && node.type === Fragment;
2346
+ }
2347
+ function isComment(node) {
2348
+ return isVNode(node) && node.type === Comment;
2349
+ }
2350
+ function isValidElementNode(node) {
2351
+ return isVNode(node) && !isFragment(node) && !isComment(node);
2352
+ }
2353
+ function isValidChildren(children) {
2354
+ return Array.isArray(children) ? isValidElementNode(children[0]) : false;
2355
+ }
2356
+ function getChildren(nodes, depth = 5) {
2357
+ let node = isArray(nodes) ? nodes[0] : nodes;
2358
+ if (isFragment(node)) {
2359
+ if (isValidChildren(node.children))
2360
+ return node.children;
2361
+ if (depth > 0) {
2362
+ return getChildren(node.children[0], depth - 1);
2363
+ }
2651
2364
  }
2652
- };
2653
- var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2654
- __proto__: null,
2655
- "default": index
2656
- }, Symbol.toStringTag, { value: "Module" }));
2365
+ if (isValidChildren(nodes))
2366
+ return nodes;
2367
+ return [];
2368
+ }
2657
2369
  const isFix = (node) => {
2658
2370
  const includeTag = node.type.name.indexOf("FuTableColumnDropdown") >= 0;
2659
2371
  const { fix } = node.props;
@@ -2673,26 +2385,29 @@ const getLabel = (node) => {
2673
2385
  return label;
2674
2386
  };
2675
2387
  const FuTableBody = (props, context) => {
2676
- const slots = context.slots.default();
2388
+ let slots = context.slots.default();
2677
2389
  const nodes = [];
2678
2390
  let { columns } = props;
2679
- const children = slots[0].children.filter((c) => c.type.name !== void 0);
2391
+ let children = getChildren(slots);
2680
2392
  if (!children)
2681
2393
  return nodes;
2682
2394
  if (!columns || (columns == null ? void 0 : columns.length) === 0)
2683
2395
  return children;
2684
2396
  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);
2397
+ if (isArray(children)) {
2398
+ let node = children.find((child) => {
2399
+ return col.label === getLabel(child) && child.type.name !== void 0;
2400
+ });
2401
+ if (node && (isFix(node) || col.show !== false)) {
2402
+ nodes.push(node);
2403
+ }
2690
2404
  }
2691
2405
  });
2692
2406
  return nodes;
2693
2407
  };
2694
- const __default__$4 = { name: "FuTable" };
2695
- const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
2408
+ const LocalKey = Symbol("LocalKey");
2409
+ const __default__$6 = { name: "FuTable" };
2410
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
2696
2411
  props: {
2697
2412
  columns: Array,
2698
2413
  refresh: {
@@ -2702,42 +2417,25 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2702
2417
  localKey: String
2703
2418
  },
2704
2419
  setup(__props) {
2705
- var _a;
2420
+ var _a2, _b;
2706
2421
  const props = __props;
2707
- const slots = useSlots();
2422
+ const slots = (_b = (_a2 = useSlots()).default) == null ? void 0 : _b.call(_a2);
2708
2423
  const key = ref(0);
2709
2424
  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
2425
  const cleanColumns = (columns) => {
2728
2426
  columns.splice(0, columns.length);
2729
2427
  };
2730
2428
  const updateNodes = (nodes) => {
2731
2429
  nodes.forEach((node) => {
2732
2430
  if (!node.type.key) {
2733
- node.type.key = getLabel2(node);
2431
+ node.type.key = getLabel(node);
2734
2432
  }
2735
2433
  });
2736
2434
  };
2737
2435
  const initColumns = (nodes, columns) => {
2738
2436
  nodes.forEach((node) => {
2739
- const label = getLabel2(node);
2740
- const fix = isFix2(node);
2437
+ const label = getLabel(node);
2438
+ const fix = isFix(node);
2741
2439
  const { show } = node.props;
2742
2440
  if (!label && !fix) {
2743
2441
  throw new Error("unfixed column's label is required.");
@@ -2759,15 +2457,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2759
2457
  }
2760
2458
  if (columns.some((col) => col.label === void 0)) {
2761
2459
  columns.forEach((col, i) => {
2762
- var _a2;
2763
- (_a2 = col.label) != null ? _a2 : col.label = getLabel2(nodes[i]);
2460
+ var _a3;
2461
+ (_a3 = col.label) != null ? _a3 : col.label = getLabel(nodes[i]);
2764
2462
  });
2765
2463
  }
2766
2464
  };
2767
2465
  const columnsKey = computed(() => {
2768
2466
  return prefix + props.localKey;
2769
2467
  });
2770
- const children = (_a = slots.default) == null ? void 0 : _a.call(slots).filter((c) => c.type.name !== void 0);
2468
+ let children;
2469
+ if (slots) {
2470
+ if (isValidChildren(slots)) {
2471
+ children = slots;
2472
+ }
2473
+ children = getChildren(slots);
2474
+ }
2771
2475
  watch(() => props.columns, () => {
2772
2476
  if (props.refresh) {
2773
2477
  key.value++;
@@ -2798,7 +2502,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2798
2502
  initColumns(children, props.columns);
2799
2503
  }
2800
2504
  });
2801
- provide("localKey", props.localKey);
2505
+ provide(LocalKey, props.localKey);
2802
2506
  onUpdated(() => {
2803
2507
  updateNodes(children);
2804
2508
  updateColumns(children, props.columns);
@@ -2830,22 +2534,24 @@ const tableColumnSelect = (localKey) => {
2830
2534
  const columnsKey = computed(() => {
2831
2535
  return localKey ? "FU-T-" + localKey : "";
2832
2536
  });
2833
- function dragstart(event, index2) {
2537
+ function dragstart(event, index) {
2834
2538
  if (event.dataTransfer) {
2835
2539
  event.dataTransfer.effectAllowed = "move";
2836
- event.dataTransfer.setData("source_index", index2);
2540
+ event.dataTransfer.setData("source_index", index);
2837
2541
  }
2838
2542
  }
2839
2543
  function dragenter(event) {
2840
2544
  event.preventDefault();
2841
- if (event.target) {
2842
- event.target.style.opacity = 0.2;
2545
+ let target = event.target;
2546
+ if (target) {
2547
+ target.style.opacity = ".2";
2843
2548
  }
2844
2549
  }
2845
2550
  function dragleave(event) {
2846
2551
  event.preventDefault();
2847
- if (event.target) {
2848
- event.target.style.opacity = "";
2552
+ let target = event.target;
2553
+ if (target) {
2554
+ target.style.opacity = "";
2849
2555
  }
2850
2556
  }
2851
2557
  function dragend(event) {
@@ -2853,10 +2559,11 @@ const tableColumnSelect = (localKey) => {
2853
2559
  event.dataTransfer.clearData();
2854
2560
  }
2855
2561
  }
2856
- function drop(event, list, index2) {
2857
- var _a;
2858
- let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
2859
- let target_index = index2;
2562
+ function drop(event, list, index) {
2563
+ var _a2;
2564
+ let target = event.target;
2565
+ let source_index = Number((_a2 = event.dataTransfer) == null ? void 0 : _a2.getData("source_index"));
2566
+ let target_index = index;
2860
2567
  if (target_index > source_index) {
2861
2568
  list.splice(target_index + 1, 0, list[source_index]);
2862
2569
  list.splice(source_index, 1);
@@ -2864,8 +2571,8 @@ const tableColumnSelect = (localKey) => {
2864
2571
  list.splice(target_index, 0, list[source_index]);
2865
2572
  list.splice(source_index + 1, 1);
2866
2573
  }
2867
- if (event.target) {
2868
- event.target.style.opacity = "";
2574
+ if (target) {
2575
+ target.style.opacity = "";
2869
2576
  }
2870
2577
  }
2871
2578
  return {
@@ -2880,6 +2587,7 @@ const tableColumnSelect = (localKey) => {
2880
2587
  const _hoisted_1$2 = { class: "fu-table-column-select-popper__body" };
2881
2588
  const _hoisted_2$1 = { class: "fu-table-column-select-popper__footer" };
2882
2589
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2590
+ __name: "FuTableColumnSelectPopover",
2883
2591
  props: {
2884
2592
  icon: {
2885
2593
  type: String,
@@ -2898,7 +2606,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2898
2606
  setup(__props) {
2899
2607
  const props = __props;
2900
2608
  const { t } = useLocale();
2901
- const localKey = inject("localKey");
2609
+ const localKey = inject(LocalKey, void 0);
2902
2610
  const {
2903
2611
  columnsKey,
2904
2612
  dragstart,
@@ -2908,14 +2616,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2908
2616
  drop
2909
2617
  } = tableColumnSelect(localKey);
2910
2618
  const isFixAll = computed(() => {
2911
- var _a;
2912
- return (_a = props.columns) == null ? void 0 : _a.every((c) => {
2619
+ var _a2;
2620
+ return (_a2 = props.columns) == null ? void 0 : _a2.every((c) => {
2913
2621
  return c.fix;
2914
2622
  });
2915
2623
  });
2916
2624
  const hasSelect = computed(() => {
2917
- var _a;
2918
- 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;
2919
2627
  });
2920
2628
  function reset() {
2921
2629
  if (columnsKey) {
@@ -2927,11 +2635,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2927
2635
  const _component_el_checkbox = resolveComponent("el-checkbox");
2928
2636
  const _component_el_button = resolveComponent("el-button");
2929
2637
  const _component_el_popover = resolveComponent("el-popover");
2930
- return withDirectives((openBlock(), createBlock(_component_el_popover, {
2638
+ return openBlock(), createBlock(_component_el_popover, {
2931
2639
  class: "fu-table-column-select",
2932
2640
  "popper-class": "fu-table-column-select-popper",
2933
2641
  trigger: __props.trigger,
2934
- "show-arrow": false
2642
+ "show-arrow": false,
2643
+ style: normalizeStyle({ "visibility": unref(hasSelect) ? "visible" : "hidden" })
2935
2644
  }, {
2936
2645
  reference: withCtx(() => [
2937
2646
  createVNode(_component_el_button, {
@@ -2988,25 +2697,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2988
2697
  ])
2989
2698
  ]),
2990
2699
  _: 1
2991
- }, 8, ["trigger"])), [
2992
- [vShow, unref(hasSelect)]
2993
- ]);
2700
+ }, 8, ["trigger", "style"]);
2994
2701
  };
2995
2702
  }
2996
2703
  });
2997
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"]]);
2998
2705
  const _hoisted_1$1 = { style: { "display": "inline-block" } };
2999
2706
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2707
+ __name: "FuTableColumnSelectDialog",
3000
2708
  props: {
3001
2709
  icon: {
3002
2710
  type: String,
3003
2711
  default: "Setting"
3004
2712
  },
3005
- trigger: {
3006
- type: String,
3007
- default: "hover",
3008
- validator: (value) => ["click", "hover"].includes(value)
3009
- },
3010
2713
  columns: {
3011
2714
  type: Array,
3012
2715
  default: () => []
@@ -3014,7 +2717,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3014
2717
  },
3015
2718
  setup(__props) {
3016
2719
  const props = __props;
3017
- const localKey = inject("localKey");
2720
+ const localKey = inject(LocalKey, void 0);
3018
2721
  const { t } = useLocale();
3019
2722
  const cloneColumn = (source, target) => {
3020
2723
  source.forEach((col) => {
@@ -3044,7 +2747,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3044
2747
  visible.value = false;
3045
2748
  }
3046
2749
  function reset() {
3047
- if (columnsKey) {
2750
+ if (columnsKey.value) {
3048
2751
  localStorage.removeItem(columnsKey.value);
3049
2752
  }
3050
2753
  props.columns.splice(0, props.columns.length);
@@ -3056,7 +2759,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3056
2759
  const _component_el_checkbox = resolveComponent("el-checkbox");
3057
2760
  const _component_el_dialog = resolveComponent("el-dialog");
3058
2761
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
3059
- createCommentVNode(' :size="configSize" '),
3060
2762
  createVNode(_component_el_button, {
3061
2763
  class: "fu-search-bar-button",
3062
2764
  icon: __props.icon,
@@ -3074,7 +2776,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3074
2776
  onOpen: open,
3075
2777
  "append-to-body": ""
3076
2778
  }, {
3077
- title: withCtx(() => [
2779
+ header: withCtx(() => [
3078
2780
  createElementVNode("h3", null, toDisplayString(unref(t)("fu.table.custom_table_fields")), 1),
3079
2781
  createVNode(_component_el_alert, {
3080
2782
  title: unref(t)("fu.table.custom_table_fields_desc"),
@@ -3103,7 +2805,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3103
2805
  })
3104
2806
  ]),
3105
2807
  default: withCtx(() => [
3106
- (openBlock(true), createElementBlock(Fragment, null, renderList(cloneColumns.value, (c, i) => {
2808
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(cloneColumns), (c, i) => {
3107
2809
  return withDirectives((openBlock(), createBlock(_component_el_checkbox, {
3108
2810
  key: i,
3109
2811
  modelValue: c.show,
@@ -3116,7 +2818,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3116
2818
  onDragover: _cache[1] || (_cache[1] = withModifiers(() => {
3117
2819
  }, ["prevent"])),
3118
2820
  onDragend: unref(dragend),
3119
- onDrop: ($event) => unref(drop)($event, cloneColumns.value, i)
2821
+ onDrop: ($event) => unref(drop)($event, unref(cloneColumns), i)
3120
2822
  }, {
3121
2823
  default: withCtx(() => [
3122
2824
  createTextVNode(toDisplayString(c.label), 1)
@@ -3149,11 +2851,8 @@ const _sfc_main$6 = defineComponent({
3149
2851
  }
3150
2852
  });
3151
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"]]);
3152
- FuTableColumnSelect.install = (app) => {
3153
- app.component(FuTableColumnSelect.name, FuTableColumnSelect);
3154
- };
3155
- const __default__$3 = { name: "FuTablePagination" };
3156
- const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
2854
+ const __default__$5 = { name: "FuTablePagination" };
2855
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
3157
2856
  props: {
3158
2857
  currentPage: {
3159
2858
  type: Number,
@@ -3201,12 +2900,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3201
2900
  }
3202
2901
  }));
3203
2902
  var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
3204
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2903
+ const __default__$4 = { name: "FuTableButton" };
2904
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
3205
2905
  props: {
3206
- size: {
3207
- type: String,
3208
- default: "default"
3209
- },
3210
2906
  label: String,
3211
2907
  disabled: Boolean,
3212
2908
  icon: Boolean
@@ -3231,9 +2927,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3231
2927
  }, 8, ["content", "disabled"]);
3232
2928
  };
3233
2929
  }
3234
- });
2930
+ }));
3235
2931
  var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
3236
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2932
+ const __default__$3 = { name: "FuTableMoreButton" };
2933
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
3237
2934
  props: {
3238
2935
  row: Object,
3239
2936
  buttons: {
@@ -3278,7 +2975,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3278
2975
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttons, (btn, i) => {
3279
2976
  return openBlock(), createBlock(_component_el_dropdown_item, {
3280
2977
  key: i,
3281
- icon: __props.type === "icon" && btn.icon,
2978
+ icon: __props.type === "icon" ? btn.icon : "",
3282
2979
  disabled: unref(disabled)(btn),
3283
2980
  command: btn
3284
2981
  }, {
@@ -3307,7 +3004,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3307
3004
  _: 1
3308
3005
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3309
3006
  createTextVNode(toDisplayString(unref(t)("fu.table.more")), 1)
3310
- ], 2112))
3007
+ ], 64))
3311
3008
  ]),
3312
3009
  _: 1
3313
3010
  })
@@ -3316,7 +3013,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3316
3013
  });
3317
3014
  };
3318
3015
  }
3319
- });
3016
+ }));
3320
3017
  var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
3321
3018
  const __default__$2 = { name: "FuTableOperations" };
3322
3019
  const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
@@ -3329,7 +3026,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3329
3026
  minWidth: [String, Number],
3330
3027
  ellipsis: {
3331
3028
  type: Number,
3332
- default: 3
3029
+ default: 2
3333
3030
  },
3334
3031
  buttons: {
3335
3032
  type: Array,
@@ -3370,12 +3067,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3370
3067
  };
3371
3068
  });
3372
3069
  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);
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);
3375
3072
  }
3376
3073
  function hasMore(row) {
3377
- var _a;
3378
- 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;
3379
3076
  }
3380
3077
  return (_ctx, _cache) => {
3381
3078
  const _component_el_icon = resolveComponent("el-icon");
@@ -3407,7 +3104,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3407
3104
  _: 2
3408
3105
  }, 1024)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3409
3106
  createTextVNode(toDisplayString(btn.label), 1)
3410
- ], 2112))
3107
+ ], 64))
3411
3108
  ]),
3412
3109
  _: 2
3413
3110
  }, 1032, ["icon", "onClick", "disabled", "label", "type"]);
@@ -3425,11 +3122,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3425
3122
  }
3426
3123
  }));
3427
3124
  var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
3428
- FuTableOperations.install = (app) => {
3429
- app.component(FuTableOperations.name, FuTableOperations);
3430
- app.component(FuTableButton.name, FuTableButton);
3431
- app.component(FuTableMoreButton.name, FuTableMoreButton);
3432
- };
3433
3125
  const _hoisted_1 = { class: "fu-dropdown-link" };
3434
3126
  const _hoisted_2 = {
3435
3127
  key: 0,
@@ -3462,9 +3154,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3462
3154
  const instance = getCurrentInstance();
3463
3155
  const isShow = computed(() => {
3464
3156
  return function(row) {
3465
- var _a, _b, _c;
3157
+ var _a2, _b, _c;
3466
3158
  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();
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();
3468
3160
  return selection.includes(row) && true;
3469
3161
  } else {
3470
3162
  return true;
@@ -3485,11 +3177,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3485
3177
  row
3486
3178
  };
3487
3179
  }
3488
- function show(index2) {
3489
- instance.refs[`dropdown${index2}`].handleOpen();
3180
+ function show(index) {
3181
+ instance.refs[`dropdown${index}`].handleOpen();
3490
3182
  }
3491
- function hide(index2) {
3492
- instance.refs[`dropdown${index2}`].handleClose();
3183
+ function hide(index) {
3184
+ instance.refs[`dropdown${index}`].handleClose();
3493
3185
  }
3494
3186
  expose({
3495
3187
  show,
@@ -3563,18 +3255,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3563
3255
  };
3564
3256
  }
3565
3257
  }));
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"]]);
3567
- FuTableColumnDropdown.install = (app) => {
3568
- app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
3569
- };
3258
+ var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/q4speed/fit2cloud2.0/fit2cloud-ui-plus/src/components/table/FuTableColumnDropdown.vue"]]);
3570
3259
  FuTable.install = (app) => {
3571
3260
  app.component(FuTable.name, FuTable);
3572
3261
  app.component(FuTablePagination.name, FuTablePagination);
3573
- app.use(FuTableOperations.install);
3574
- app.use(FuTableColumnSelect.install);
3575
- app.use(FuTableColumnDropdown.install);
3262
+ app.component(FuTableColumnSelect.name, FuTableColumnSelect);
3263
+ app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
3264
+ app.component(FuTableOperations.name, FuTableOperations);
3265
+ app.component(FuTableButton.name, FuTableButton);
3266
+ app.component(FuTableMoreButton.name, FuTableMoreButton);
3576
3267
  };
3577
- var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3268
+ var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3578
3269
  __proto__: null,
3579
3270
  "default": FuTable
3580
3271
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3682,7 +3373,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
3682
3373
  }),
3683
3374
  __props.addButtonLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3684
3375
  createTextVNode(toDisplayString(__props.addButtonLabel), 1)
3685
- ], 2112)) : createCommentVNode("v-if", true)
3376
+ ], 64)) : createCommentVNode("v-if", true)
3686
3377
  ]),
3687
3378
  _: 1
3688
3379
  })
@@ -3705,7 +3396,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
3705
3396
  }),
3706
3397
  __props.addButtonLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3707
3398
  createTextVNode(toDisplayString(__props.addButtonLabel), 1)
3708
- ], 2112)) : createCommentVNode("v-if", true)
3399
+ ], 64)) : createCommentVNode("v-if", true)
3709
3400
  ]),
3710
3401
  _: 1
3711
3402
  })
@@ -3724,24 +3415,19 @@ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/q4speed/
3724
3415
  FuTabs.install = (app) => {
3725
3416
  app.component(FuTabs.name, FuTabs);
3726
3417
  };
3727
- var __glob_1_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3418
+ var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3728
3419
  __proto__: null,
3729
3420
  "default": FuTabs
3730
3421
  }, Symbol.toStringTag, { value: "Module" }));
3731
3422
  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
- };
3423
+ const version = "0.0.1-beta.12";
3424
+ const main = "./lib/fit2cloud-ui-plus.es.js";
3741
3425
  const files = [
3742
3426
  "lib",
3743
- "src"
3427
+ "src",
3428
+ "types"
3744
3429
  ];
3430
+ const types = "./types/src/index.d.ts";
3745
3431
  const author = "fit2cloud";
3746
3432
  const license = "GPL-3.0 License";
3747
3433
  const repository = {
@@ -3751,16 +3437,18 @@ const repository = {
3751
3437
  const scripts = {
3752
3438
  dev: "vite",
3753
3439
  build: "vite build",
3754
- "build-lib": "vite build --mode lib",
3440
+ "build-lib": "vite build --mode lib && vue-tsc --emitDeclarationOnly",
3755
3441
  preview: "vite preview"
3756
3442
  };
3757
3443
  const dependencies = {
3758
3444
  "@element-plus/icons-vue": "^1.1.4",
3759
3445
  "element-plus": "^2.2.2",
3760
3446
  "github-markdown-css": "^5.1.0",
3447
+ "prism-theme-vars": "^0.2.3",
3761
3448
  prismjs: "^1.28.0",
3762
3449
  "vite-plugin-markdown": "^2.0.2",
3763
- vue: "^3.2.25",
3450
+ vue: "^3.2.37",
3451
+ "vue-clipboard3": "^2.0.0",
3764
3452
  "vue-router": "^4.0.14"
3765
3453
  };
3766
3454
  const devDependencies = {
@@ -3778,9 +3466,8 @@ var PackageJSON = {
3778
3466
  version,
3779
3467
  "private": false,
3780
3468
  main,
3781
- module,
3782
- exports,
3783
3469
  files,
3470
+ types,
3784
3471
  author,
3785
3472
  license,
3786
3473
  repository,
@@ -3788,7 +3475,7 @@ var PackageJSON = {
3788
3475
  dependencies,
3789
3476
  devDependencies
3790
3477
  };
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 };
3478
+ 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 };
3792
3479
  const install = (app) => {
3793
3480
  Object.keys(components).forEach((key) => {
3794
3481
  let component = components[key].default;