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

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 (50) hide show
  1. package/lib/fit2cloud-ui-plus.es.js +284 -856
  2. package/lib/fit2cloud-ui-plus.umd.js +1 -1
  3. package/package.json +3 -1
  4. package/src/.DS_Store +0 -0
  5. package/src/components/.DS_Store +0 -0
  6. package/src/components/filter-bar/FuFilter.vue +18 -13
  7. package/src/components/filter-bar/FuFilterBar.vue +14 -11
  8. package/src/components/filter-bar/FuSearchInput.vue +8 -2
  9. package/src/components/filter-bar/filter-components/FuFilterDate.vue +17 -13
  10. package/src/components/filter-bar/filter-components/FuFilterDateTime.vue +16 -13
  11. package/src/components/filter-bar/filter-components/FuFilterSelect.vue +17 -12
  12. package/src/components/filter-bar/index.ts +11 -12
  13. package/src/components/split-pane/FuSplitPane.vue +2 -2
  14. package/src/components/table/FuTable.vue +10 -11
  15. package/src/components/table/{table-column-dropdown/FuTableColumnDropdown.vue → FuTableColumnDropdown.vue} +0 -0
  16. package/src/components/table/index.ts +11 -7
  17. package/src/components/table/table-column-select/FuTableColumnSelectDialog.vue +3 -9
  18. package/src/components/table/table-column-select/FuTableColumnSelectPopover.vue +27 -24
  19. package/src/components/table/table-operations/FuTableButton.vue +1 -4
  20. package/src/components/table/table-operations/FuTableMoreButton.vue +1 -1
  21. package/src/components/table/table-operations/FuTableOperations.vue +1 -2
  22. package/src/components/table/types.ts +3 -0
  23. package/src/hooks/index.ts +2 -0
  24. package/src/hooks/use-global-config/index.ts +0 -15
  25. package/src/hooks/use-size/index.ts +29 -0
  26. package/src/styles/common/variables.scss +1 -1
  27. package/src/styles/components/filter-bar.scss +3 -3
  28. package/src/tools/size.ts +6 -0
  29. package/src/tools/theme.ts +0 -12
  30. package/src/components/speed-dial/FuSpeedDial.vue +0 -278
  31. package/src/components/speed-dial/FuSpeedDialActionButton.vue +0 -88
  32. package/src/components/speed-dial/FuSpeedDialButton.vue +0 -42
  33. package/src/components/speed-dial/FuSpeedDialItem.vue +0 -88
  34. package/src/components/speed-dial/index.ts +0 -11
  35. package/src/components/steps/FuHorizontalNavigation.vue +0 -18
  36. package/src/components/steps/FuHorizontalSteps.vue +0 -94
  37. package/src/components/steps/FuStep.vue +0 -13
  38. package/src/components/steps/FuSteps.vue +0 -22
  39. package/src/components/steps/FuStepsFooter.ts +0 -79
  40. package/src/components/steps/FuVerticalNavigation.vue +0 -35
  41. package/src/components/steps/FuVerticalSteps.vue +0 -79
  42. package/src/components/steps/Stepper.ts +0 -188
  43. package/src/components/steps/index.ts +0 -11
  44. package/src/components/table/table-column-dropdown/index.ts +0 -7
  45. package/src/components/table/table-column-select/index.ts +0 -8
  46. package/src/components/table/table-operations/index.ts +0 -12
  47. package/src/components/virtual-scroller/FuVirtualHorizontalScroll.js +0 -96
  48. package/src/components/virtual-scroller/FuVirtualScroll.js +0 -15
  49. package/src/components/virtual-scroller/FuVirtualVerticalScroll.js +0 -95
  50. package/src/components/virtual-scroller/index.js +0 -10
@@ -17,7 +17,9 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, mergeProps, getCurrentInstance, inject, computed, unref, isRef, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createVNode, withCtx, provide, onMounted, createTextVNode, createCommentVNode, renderSlot, resolveDynamicComponent, toHandlers, nextTick, normalizeClass, withModifiers, h, normalizeStyle, Transition, useSlots, reactive, withDirectives, isVNode, Comment, 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, isVNode, Comment, useSlots, onUpdated, withDirectives, vShow, normalizeProps, guardReactiveProps } from "vue";
21
+ const COMPONENTS_SIZE = ["", "default", "small", "large"];
22
+ const validateSize = (val) => ["", ...COMPONENTS_SIZE].includes(val);
21
23
  var _export_sfc = (sfc, props) => {
22
24
  const target = sfc.__vccOpts || sfc;
23
25
  for (const [key, val] of props) {
@@ -26,8 +28,12 @@ var _export_sfc = (sfc, props) => {
26
28
  return target;
27
29
  };
28
30
  const __default__$f = { name: "FuSearchInput" };
29
- const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
31
+ const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$f), {
30
32
  props: {
33
+ size: {
34
+ type: String,
35
+ validator: validateSize
36
+ },
31
37
  value: String
32
38
  },
33
39
  emits: ["input", "change"],
@@ -59,18 +65,21 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
59
65
  onInput: input,
60
66
  onBlur: blur,
61
67
  onKeydown: keydown
62
- }, _ctx.$attrs, { clearable: "" }), null, 16, ["modelValue"]);
68
+ }, _ctx.$attrs, {
69
+ clearable: "",
70
+ size: __props.size
71
+ }), null, 16, ["modelValue", "size"]);
63
72
  };
64
73
  }
65
74
  }));
66
- var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
75
+ var FuSearchInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuSearchInput.vue"]]);
67
76
  const globalConfig = ref();
68
77
  function useGlobalConfig(key, defaultValue = void 0) {
69
78
  const config = getCurrentInstance() ? inject(Symbol(), globalConfig) : globalConfig;
70
79
  if (key) {
71
80
  return computed(() => {
72
- var _a2, _b;
73
- return (_b = (_a2 = config.value) == null ? void 0 : _a2[key]) != null ? _b : defaultValue;
81
+ var _a, _b;
82
+ return (_b = (_a = config.value) == null ? void 0 : _a[key]) != null ? _b : defaultValue;
74
83
  });
75
84
  } else {
76
85
  return config;
@@ -125,9 +134,9 @@ function isSymbol(value) {
125
134
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
126
135
  }
127
136
  function arrayMap(array, iteratee) {
128
- var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
129
- while (++index2 < length) {
130
- 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);
131
140
  }
132
141
  return result;
133
142
  }
@@ -254,10 +263,10 @@ function hashSet(key, value) {
254
263
  return this;
255
264
  }
256
265
  function Hash(entries) {
257
- var index2 = -1, length = entries == null ? 0 : entries.length;
266
+ var index = -1, length = entries == null ? 0 : entries.length;
258
267
  this.clear();
259
- while (++index2 < length) {
260
- var entry = entries[index2];
268
+ while (++index < length) {
269
+ var entry = entries[index];
261
270
  this.set(entry[0], entry[1]);
262
271
  }
263
272
  }
@@ -282,41 +291,41 @@ function assocIndexOf(array, key) {
282
291
  var arrayProto = Array.prototype;
283
292
  var splice = arrayProto.splice;
284
293
  function listCacheDelete(key) {
285
- var data = this.__data__, index2 = assocIndexOf(data, key);
286
- if (index2 < 0) {
294
+ var data = this.__data__, index = assocIndexOf(data, key);
295
+ if (index < 0) {
287
296
  return false;
288
297
  }
289
298
  var lastIndex = data.length - 1;
290
- if (index2 == lastIndex) {
299
+ if (index == lastIndex) {
291
300
  data.pop();
292
301
  } else {
293
- splice.call(data, index2, 1);
302
+ splice.call(data, index, 1);
294
303
  }
295
304
  --this.size;
296
305
  return true;
297
306
  }
298
307
  function listCacheGet(key) {
299
- var data = this.__data__, index2 = assocIndexOf(data, key);
300
- 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];
301
310
  }
302
311
  function listCacheHas(key) {
303
312
  return assocIndexOf(this.__data__, key) > -1;
304
313
  }
305
314
  function listCacheSet(key, value) {
306
- var data = this.__data__, index2 = assocIndexOf(data, key);
307
- if (index2 < 0) {
315
+ var data = this.__data__, index = assocIndexOf(data, key);
316
+ if (index < 0) {
308
317
  ++this.size;
309
318
  data.push([key, value]);
310
319
  } else {
311
- data[index2][1] = value;
320
+ data[index][1] = value;
312
321
  }
313
322
  return this;
314
323
  }
315
324
  function ListCache(entries) {
316
- var index2 = -1, length = entries == null ? 0 : entries.length;
325
+ var index = -1, length = entries == null ? 0 : entries.length;
317
326
  this.clear();
318
- while (++index2 < length) {
319
- var entry = entries[index2];
327
+ while (++index < length) {
328
+ var entry = entries[index];
320
329
  this.set(entry[0], entry[1]);
321
330
  }
322
331
  }
@@ -325,13 +334,13 @@ ListCache.prototype["delete"] = listCacheDelete;
325
334
  ListCache.prototype.get = listCacheGet;
326
335
  ListCache.prototype.has = listCacheHas;
327
336
  ListCache.prototype.set = listCacheSet;
328
- var Map$1 = getNative(root$1, "Map");
329
- var Map$2 = Map$1;
337
+ var Map = getNative(root$1, "Map");
338
+ var Map$1 = Map;
330
339
  function mapCacheClear() {
331
340
  this.size = 0;
332
341
  this.__data__ = {
333
342
  "hash": new Hash(),
334
- "map": new (Map$2 || ListCache)(),
343
+ "map": new (Map$1 || ListCache)(),
335
344
  "string": new Hash()
336
345
  };
337
346
  }
@@ -361,10 +370,10 @@ function mapCacheSet(key, value) {
361
370
  return this;
362
371
  }
363
372
  function MapCache(entries) {
364
- var index2 = -1, length = entries == null ? 0 : entries.length;
373
+ var index = -1, length = entries == null ? 0 : entries.length;
365
374
  this.clear();
366
- while (++index2 < length) {
367
- var entry = entries[index2];
375
+ while (++index < length) {
376
+ var entry = entries[index];
368
377
  this.set(entry[0], entry[1]);
369
378
  }
370
379
  }
@@ -434,11 +443,11 @@ function toKey(value) {
434
443
  }
435
444
  function baseGet(object, path) {
436
445
  path = castPath(path, object);
437
- var index2 = 0, length = path.length;
438
- while (object != null && index2 < length) {
439
- object = object[toKey(path[index2++])];
446
+ var index = 0, length = path.length;
447
+ while (object != null && index < length) {
448
+ object = object[toKey(path[index++])];
440
449
  }
441
- return index2 && index2 == length ? object : void 0;
450
+ return index && index == length ? object : void 0;
442
451
  }
443
452
  function get(object, path, defaultValue) {
444
453
  var result = object == null ? void 0 : baseGet(object, path);
@@ -504,8 +513,8 @@ var Chinese = {
504
513
  };
505
514
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
506
515
  const translate = (path, option, locale) => get(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => {
507
- var _a2;
508
- return `${(_a2 = option == null ? void 0 : option[key]) != null ? _a2 : `{${key}}`}`;
516
+ var _a;
517
+ return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;
509
518
  });
510
519
  const buildLocaleContext = (locale) => {
511
520
  const lang = computed(() => unref(locale).name);
@@ -520,18 +529,19 @@ const useLocale = () => {
520
529
  const locale = useGlobalConfig("locale");
521
530
  return buildLocaleContext(computed(() => locale.value || Chinese));
522
531
  };
523
- const _hoisted_1$c = { class: "fu-filter-conditions" };
532
+ const _hoisted_1$a = { class: "fu-filter-conditions" };
524
533
  const _hoisted_2$7 = { class: "condition-text" };
525
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
534
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
535
+ __name: "FuFilterConditions",
526
536
  props: {
527
537
  conditions: Array
528
538
  },
529
539
  emits: ["change"],
530
540
  setup(__props, { emit }) {
531
541
  const props = __props;
532
- function remove(index2) {
533
- var _a2;
534
- (_a2 = props.conditions) == null ? void 0 : _a2.splice(index2, 1);
542
+ function remove(index) {
543
+ var _a;
544
+ (_a = props.conditions) == null ? void 0 : _a.splice(index, 1);
535
545
  emit("change", props.conditions);
536
546
  }
537
547
  function text(condition) {
@@ -540,16 +550,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
540
550
  return (_ctx, _cache) => {
541
551
  const _component_CloseBold = resolveComponent("CloseBold");
542
552
  const _component_el_icon = resolveComponent("el-icon");
543
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
544
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index2) => {
553
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
554
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.conditions, (condition, index) => {
545
555
  return openBlock(), createElementBlock("div", {
546
556
  class: "fu-filter-conditions__item",
547
- key: index2
557
+ key: index
548
558
  }, [
549
559
  createElementVNode("div", _hoisted_2$7, toDisplayString(text(condition)), 1),
550
560
  createVNode(_component_el_icon, {
551
561
  class: "fu-scale-click",
552
- onClick: ($event) => remove(index2)
562
+ onClick: ($event) => remove(index)
553
563
  }, {
554
564
  default: withCtx(() => [
555
565
  createVNode(_component_CloseBold)
@@ -562,17 +572,21 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
562
572
  };
563
573
  }
564
574
  });
565
- var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
575
+ var FuFilterConditions = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterConditions.vue"]]);
566
576
  const selectKey = Symbol("SelectKey");
567
577
  const referenceKey = Symbol("ReferenceKey");
568
- const _hoisted_1$b = { class: "fu-filter__result" };
578
+ const _hoisted_1$9 = { class: "fu-filter__result" };
569
579
  const _hoisted_2$6 = { style: { "opacity": "0.6" } };
570
- const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
580
+ const _hoisted_3$5 = /* @__PURE__ */ createElementVNode("div", { class: "fu-filter__split" }, null, -1);
571
581
  const _hoisted_4$2 = { class: "drawer-body" };
572
582
  const _hoisted_5$1 = { class: "drawer-footer" };
573
583
  const __default__$e = { name: "FuFilter" };
574
- const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
584
+ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$e), {
575
585
  props: {
586
+ size: {
587
+ type: String,
588
+ validator: validateSize
589
+ },
576
590
  count: {
577
591
  type: Number,
578
592
  default: 0
@@ -598,16 +612,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
598
612
  clearInterval(rightTimer);
599
613
  }
600
614
  function left() {
601
- var _a2;
602
- let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
615
+ var _a;
616
+ let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
603
617
  leftTimer = setInterval(() => {
604
618
  if (el)
605
619
  el.scrollLeft -= 15;
606
620
  }, 50);
607
621
  }
608
622
  function right() {
609
- var _a2;
610
- let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
623
+ var _a;
624
+ let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
611
625
  rightTimer = setInterval(() => {
612
626
  if (el)
613
627
  el.scrollLeft += 15;
@@ -615,8 +629,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
615
629
  }
616
630
  function change() {
617
631
  nextTick(() => {
618
- var _a2;
619
- let el = (_a2 = conditionsRef.value) == null ? void 0 : _a2.$el;
632
+ var _a;
633
+ let el = (_a = conditionsRef.value) == null ? void 0 : _a.$el;
620
634
  scroll.value = el != null && (el == null ? void 0 : el.getBoundingClientRect().width) >= scrollWidth.value;
621
635
  });
622
636
  emit("filter", conditions.value);
@@ -689,11 +703,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
689
703
  ref_key: "filterRef",
690
704
  ref: filterRef
691
705
  }, [
692
- createElementVNode("div", _hoisted_1$b, [
706
+ createElementVNode("div", _hoisted_1$9, [
693
707
  createTextVNode(toDisplayString(__props.count) + " ", 1),
694
708
  createElementVNode("span", _hoisted_2$6, toDisplayString(unref(t)("fu.filter_bar.results")), 1)
695
709
  ]),
696
- _hoisted_3$4,
710
+ _hoisted_3$5,
697
711
  scroll.value ? (openBlock(), createElementBlock("div", {
698
712
  key: 0,
699
713
  class: "fu-filter__scroll",
@@ -754,21 +768,23 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
754
768
  return openBlock(), createBlock(resolveDynamicComponent(c.component), mergeProps({ key: i }, c, {
755
769
  ref_for: true,
756
770
  ref: c.field
757
- }, toHandlers(c)), null, 16);
771
+ }, toHandlers(c), { size: __props.size }), null, 16, ["size"]);
758
772
  }), 128))
759
773
  ])
760
774
  ]),
761
775
  createElementVNode("div", _hoisted_5$1, [
762
776
  renderSlot(_ctx.$slots, "footer", {}, () => [
763
777
  createVNode(_component_el_button, {
778
+ size: __props.size,
764
779
  onClick: _cache[0] || (_cache[0] = ($event) => drawer.value = false)
765
780
  }, {
766
781
  default: withCtx(() => [
767
782
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.cancel")), 1)
768
783
  ]),
769
784
  _: 1
770
- }),
785
+ }, 8, ["size"]),
771
786
  createVNode(_component_el_button, {
787
+ size: __props.size,
772
788
  type: "primary",
773
789
  onClick: filter
774
790
  }, {
@@ -776,7 +792,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
776
792
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.search")), 1)
777
793
  ]),
778
794
  _: 1
779
- })
795
+ }, 8, ["size"])
780
796
  ])
781
797
  ])
782
798
  ]),
@@ -786,16 +802,20 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
786
802
  };
787
803
  }
788
804
  }));
789
- var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
790
- const _hoisted_1$a = { class: "fu-filter-bar" };
805
+ var FuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilter.vue"]]);
806
+ const _hoisted_1$8 = { class: "fu-filter-bar" };
791
807
  const _hoisted_2$5 = { class: "fu-filter-bar__top" };
792
- const _hoisted_3$3 = { class: "top_left" };
808
+ const _hoisted_3$4 = { class: "top_left" };
793
809
  const _hoisted_4$1 = { class: "top_right" };
794
810
  const _hoisted_5 = { key: 0 };
795
811
  const _hoisted_6 = { class: "fu-filter-bar__bottom" };
796
812
  const __default__$d = { name: "FuFilterBar" };
797
- const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
813
+ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$d), {
798
814
  props: {
815
+ size: {
816
+ type: String,
817
+ validator: validateSize
818
+ },
799
819
  resultCount: Number,
800
820
  quickPlaceholder: String,
801
821
  components: Array
@@ -807,8 +827,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
807
827
  const conditions = ref([]);
808
828
  const filterRef = ref();
809
829
  function open() {
810
- var _a2;
811
- (_a2 = filterRef.value) == null ? void 0 : _a2.open();
830
+ var _a;
831
+ (_a = filterRef.value) == null ? void 0 : _a.open();
812
832
  }
813
833
  function change() {
814
834
  emit("exec", conditionObj.value);
@@ -818,8 +838,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
818
838
  emit("exec", conditionObj.value);
819
839
  }
820
840
  function setConditions(conditionObj2) {
821
- var _a2;
822
- (_a2 = filterRef.value) == null ? void 0 : _a2.setConditions(conditionObj2);
841
+ var _a;
842
+ (_a = filterRef.value) == null ? void 0 : _a.setConditions(conditionObj2);
823
843
  }
824
844
  const conditionObj = computed(() => {
825
845
  let obj = { quick: quick.value };
@@ -833,30 +853,31 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
833
853
  });
834
854
  return (_ctx, _cache) => {
835
855
  const _component_el_button = resolveComponent("el-button");
836
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
856
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
837
857
  createElementVNode("div", _hoisted_2$5, [
838
- createElementVNode("div", _hoisted_3$3, [
858
+ createElementVNode("div", _hoisted_3$4, [
839
859
  renderSlot(_ctx.$slots, "tl")
840
860
  ]),
841
861
  createElementVNode("div", _hoisted_4$1, [
842
862
  renderSlot(_ctx.$slots, "tr", {}, () => [
843
- createCommentVNode(' :size="configSize" '),
844
863
  createVNode(FuSearchInput, {
864
+ size: __props.size,
845
865
  modelValue: quick.value,
846
866
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => quick.value = $event),
847
867
  placeholder: __props.quickPlaceholder,
848
868
  onChange: change
849
- }, null, 8, ["modelValue", "placeholder"]),
869
+ }, null, 8, ["size", "modelValue", "placeholder"]),
850
870
  createVNode(_component_el_button, {
851
871
  onClick: open,
852
- icon: "Filter"
872
+ icon: "Filter",
873
+ size: __props.size
853
874
  }, {
854
875
  default: withCtx(() => [
855
876
  createTextVNode(toDisplayString(unref(t)("fu.filter_bar.filter")) + " ", 1),
856
877
  conditions.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5, "(" + toDisplayString(conditions.value.length) + ")", 1)) : createCommentVNode("v-if", true)
857
878
  ]),
858
879
  _: 1
859
- })
880
+ }, 8, ["size"])
860
881
  ]),
861
882
  renderSlot(_ctx.$slots, "buttons")
862
883
  ])
@@ -867,21 +888,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
867
888
  ref: filterRef,
868
889
  onFilter: filter,
869
890
  count: __props.resultCount,
870
- components: __props.components
891
+ components: __props.components,
892
+ size: __props.size
871
893
  }, {
872
894
  default: withCtx(() => [
873
895
  renderSlot(_ctx.$slots, "default")
874
896
  ]),
875
897
  _: 3
876
- }, 8, ["count", "components"])
898
+ }, 8, ["count", "components", "size"])
877
899
  ])
878
900
  ]);
879
901
  };
880
902
  }
881
903
  }));
882
- var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
883
- const _hoisted_1$9 = ["onClick"];
884
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
904
+ var FuFilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/FuFilterBar.vue"]]);
905
+ const _hoisted_1$7 = ["onClick"];
906
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
907
+ __name: "FuFilterOption",
885
908
  props: {
886
909
  value: {
887
910
  type: [String, Number],
@@ -912,18 +935,22 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
912
935
  return openBlock(), createElementBlock("div", {
913
936
  class: normalizeClass(["fu-filter-option", { "is-selected": unref(selected), "is-disabled": __props.disabled }]),
914
937
  onClick: withModifiers(click, ["stop"])
915
- }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$9);
938
+ }, toDisplayString(__props.label || __props.value), 11, _hoisted_1$7);
916
939
  };
917
940
  }
918
941
  });
919
- var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
920
- const _hoisted_1$8 = { class: "fu-filter-component" };
942
+ var FuFilterOption = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterOption.vue"]]);
943
+ const _hoisted_1$6 = { class: "fu-filter-component" };
921
944
  const _hoisted_2$4 = { class: "fu-filter-component__label" };
922
- const _hoisted_3$2 = { class: "fu-filter-component__content" };
945
+ const _hoisted_3$3 = { class: "fu-filter-component__content" };
923
946
  const _hoisted_4 = { class: "fu-filter-option" };
924
947
  const __default__$c = { name: "FuFilterSelect" };
925
- const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
948
+ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$c), {
926
949
  props: {
950
+ size: {
951
+ type: String,
952
+ validator: validateSize
953
+ },
927
954
  multiple: {
928
955
  type: Boolean,
929
956
  default: false
@@ -983,8 +1010,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
983
1010
  return;
984
1011
  }
985
1012
  if (selected) {
986
- let index2 = selection.value.indexOf(value);
987
- selection.value.splice(index2, 1);
1013
+ let index = selection.value.indexOf(value);
1014
+ selection.value.splice(index, 1);
988
1015
  } else {
989
1016
  selection.value.push(value);
990
1017
  }
@@ -1027,9 +1054,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1027
1054
  const _component_Plus = resolveComponent("Plus");
1028
1055
  const _component_el_icon = resolveComponent("el-icon");
1029
1056
  const _component_el_popover = resolveComponent("el-popover");
1030
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
1057
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
1031
1058
  createElementVNode("div", _hoisted_2$4, toDisplayString(__props.label), 1),
1032
- createElementVNode("div", _hoisted_3$2, [
1059
+ createElementVNode("div", _hoisted_3$3, [
1033
1060
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(showOptions), (o) => {
1034
1061
  return openBlock(), createBlock(FuFilterOption, {
1035
1062
  label: o.label,
@@ -1063,6 +1090,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1063
1090
  multiple: __props.multiple,
1064
1091
  onChange: change,
1065
1092
  teleported: false,
1093
+ size: __props.size,
1066
1094
  placeholder: unref(t)("fu.search_bar.please_select")
1067
1095
  }), {
1068
1096
  default: withCtx(() => [
@@ -1084,7 +1112,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1084
1112
  }), 128))
1085
1113
  ]),
1086
1114
  _: 1
1087
- }, 16, ["modelValue", "multiple", "placeholder"])
1115
+ }, 16, ["modelValue", "multiple", "size", "placeholder"])
1088
1116
  ]),
1089
1117
  _: 1
1090
1118
  })
@@ -1093,7 +1121,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1093
1121
  };
1094
1122
  }
1095
1123
  }));
1096
- var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1124
+ var FuFilterSelect = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterSelect.vue"]]);
1097
1125
  const getCheckDate = (timestamp) => {
1098
1126
  if (!timestamp)
1099
1127
  return false;
@@ -1123,12 +1151,16 @@ const dateFormat = (timestamp) => {
1123
1151
  const d = (dt.getDate() + "").padStart(2, "0");
1124
1152
  return `${y}-${m}-${d}`;
1125
1153
  };
1126
- const _hoisted_1$7 = { class: "fu-filter-component" };
1154
+ const _hoisted_1$5 = { class: "fu-filter-component" };
1127
1155
  const _hoisted_2$3 = { class: "fu-filter-component__label" };
1128
- const _hoisted_3$1 = { class: "fu-filter-component__content" };
1156
+ const _hoisted_3$2 = { class: "fu-filter-component__content" };
1129
1157
  const __default__$b = { name: "FuFilterDate" };
1130
- const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1158
+ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$b), {
1131
1159
  props: {
1160
+ size: {
1161
+ type: String,
1162
+ validator: validateSize
1163
+ },
1132
1164
  label: String,
1133
1165
  field: {
1134
1166
  type: String,
@@ -1165,33 +1197,38 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1165
1197
  });
1166
1198
  return (_ctx, _cache) => {
1167
1199
  const _component_el_date_picker = resolveComponent("el-date-picker");
1168
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
1200
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
1169
1201
  createElementVNode("div", _hoisted_2$3, toDisplayString(__props.label), 1),
1170
- createElementVNode("div", _hoisted_3$1, [
1171
- createCommentVNode(' :size="configSize" '),
1202
+ createElementVNode("div", _hoisted_3$2, [
1203
+ createCommentVNode("configSize"),
1172
1204
  createVNode(_component_el_date_picker, mergeProps({
1173
1205
  class: "fu-filter-date",
1174
1206
  modelValue: value.value,
1175
1207
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1176
1208
  }, _ctx.$attrs, {
1209
+ size: __props.size,
1177
1210
  placeholder: unref(t)("fu.search_bar.select_date"),
1178
1211
  type: "daterange",
1179
1212
  "value-format": __props.valueFormat,
1180
1213
  "start-placeholder": unref(t)("fu.search_bar.start_date"),
1181
1214
  "end-placeholder": unref(t)("fu.search_bar.end_date")
1182
- }), null, 16, ["modelValue", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1215
+ }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1183
1216
  ])
1184
1217
  ]);
1185
1218
  };
1186
1219
  }
1187
1220
  }));
1188
- var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1189
- const _hoisted_1$6 = { class: "fu-filter-component" };
1221
+ var FuFilterDate = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDate.vue"]]);
1222
+ const _hoisted_1$4 = { class: "fu-filter-component" };
1190
1223
  const _hoisted_2$2 = { class: "fu-filter-component__label" };
1191
- const _hoisted_3 = { class: "fu-filter-component__content" };
1224
+ const _hoisted_3$1 = { class: "fu-filter-component__content" };
1192
1225
  const __default__$a = { name: "FuFilterDateTime" };
1193
- const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1226
+ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$a), {
1194
1227
  props: {
1228
+ size: {
1229
+ type: String,
1230
+ validator: validateSize
1231
+ },
1195
1232
  label: String,
1196
1233
  field: {
1197
1234
  type: String,
@@ -1228,40 +1265,39 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1228
1265
  });
1229
1266
  return (_ctx, _cache) => {
1230
1267
  const _component_el_date_picker = resolveComponent("el-date-picker");
1231
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
1268
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
1232
1269
  createElementVNode("div", _hoisted_2$2, toDisplayString(__props.label), 1),
1233
- createElementVNode("div", _hoisted_3, [
1270
+ createElementVNode("div", _hoisted_3$1, [
1234
1271
  createCommentVNode(' :size="configSize" '),
1235
1272
  createVNode(_component_el_date_picker, mergeProps({
1236
1273
  class: "fu-filter-date",
1237
1274
  modelValue: value.value,
1238
1275
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
1239
1276
  }, _ctx.$attrs, {
1277
+ size: __props.size,
1240
1278
  placeholder: unref(t)("fu.search_bar.select_date_time"),
1241
1279
  type: "datetimerange",
1242
1280
  "value-format": __props.valueFormat,
1243
1281
  "start-placeholder": unref(t)("fu.search_bar.start_date_time"),
1244
1282
  "end-placeholder": unref(t)("fu.search_bar.end_date_time")
1245
- }), null, 16, ["modelValue", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1283
+ }), null, 16, ["modelValue", "size", "placeholder", "value-format", "start-placeholder", "end-placeholder"])
1246
1284
  ])
1247
1285
  ]);
1248
1286
  };
1249
1287
  }
1250
1288
  }));
1251
- var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
1252
- var index$1 = {
1253
- install: (app) => {
1254
- app.component(FuFilterBar.name, FuFilterBar);
1255
- app.component(FuFilter.name, FuFilter);
1256
- app.component(FuSearchInput.name, FuSearchInput);
1257
- app.component(FuFilterSelect.name, FuFilterSelect);
1258
- app.component(FuFilterDate.name, FuFilterDate);
1259
- app.component(FuFilterDateTime.name, FuFilterDateTime);
1260
- }
1289
+ var FuFilterDateTime = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/filter-bar/filter-components/FuFilterDateTime.vue"]]);
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);
1261
1297
  };
1262
1298
  var __glob_1_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1263
1299
  __proto__: null,
1264
- "default": index$1
1300
+ "default": FuSearchInput
1265
1301
  }, Symbol.toStringTag, { value: "Module" }));
1266
1302
  const uuid = function() {
1267
1303
  let d = new Date().getTime();
@@ -1279,7 +1315,7 @@ const uuid = function() {
1279
1315
  });
1280
1316
  };
1281
1317
  const TRIGGERS = ["manual", "onClick", "onDblclick"];
1282
- const _sfc_main$h = defineComponent({
1318
+ const _sfc_main$d = defineComponent({
1283
1319
  name: "FuReadWriteSwitch",
1284
1320
  props: {
1285
1321
  modelValue: Boolean,
@@ -1347,9 +1383,9 @@ const _sfc_main$h = defineComponent({
1347
1383
  };
1348
1384
  }
1349
1385
  });
1350
- var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1386
+ var FuReadWriteSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuReadWriteSwitch.vue"]]);
1351
1387
  const __default__$9 = { name: "FuInputRwSwitch" };
1352
- const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1388
+ const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$9), {
1353
1389
  props: {
1354
1390
  modelValue: [String, Number],
1355
1391
  writeTrigger: {
@@ -1400,9 +1436,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1400
1436
  };
1401
1437
  }
1402
1438
  }));
1403
- var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1439
+ var FuInputRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuInputRwSwitch.vue"]]);
1404
1440
  const __default__$8 = { name: "FuSelectRwSwitch" };
1405
- const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1441
+ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$8), {
1406
1442
  props: {
1407
1443
  modelValue: [String, Number],
1408
1444
  options: {
@@ -1478,7 +1514,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1478
1514
  };
1479
1515
  }
1480
1516
  }));
1481
- var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1517
+ var FuSelectRwSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/read-write-switch/FuSelectRwSwitch.vue"]]);
1482
1518
  FuReadWriteSwitch.install = (app) => {
1483
1519
  app.component(FuReadWriteSwitch.name, FuReadWriteSwitch);
1484
1520
  app.component(FuInputRwSwitch.name, FuInputRwSwitch);
@@ -1488,606 +1524,12 @@ var __glob_1_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
1488
1524
  __proto__: null,
1489
1525
  "default": FuReadWriteSwitch
1490
1526
  }, Symbol.toStringTag, { value: "Module" }));
1491
- var _a;
1492
- const isClient = typeof window !== "undefined";
1493
- isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1494
- Object.freeze({});
1495
- Object.freeze([]);
1496
- const isArray = Array.isArray;
1497
- const isElement = (e) => {
1498
- if (typeof Element === "undefined")
1499
- return false;
1500
- return e instanceof Element;
1501
- };
1502
- const nodeList = /* @__PURE__ */ new Map();
1503
- let startClick;
1504
- if (isClient) {
1505
- document.addEventListener("mousedown", (e) => startClick = e);
1506
- document.addEventListener("mouseup", (e) => {
1507
- for (const handlers of nodeList.values()) {
1508
- for (const { documentHandler } of handlers) {
1509
- documentHandler(e, startClick);
1510
- }
1511
- }
1512
- });
1513
- }
1514
- function createDocumentHandler(el, binding) {
1515
- let excludes = [];
1516
- if (Array.isArray(binding.arg)) {
1517
- excludes = binding.arg;
1518
- } else if (isElement(binding.arg)) {
1519
- excludes.push(binding.arg);
1520
- }
1521
- return function(mouseup, mousedown) {
1522
- const popperRef = binding.instance.popperRef;
1523
- const mouseUpTarget = mouseup.target;
1524
- const mouseDownTarget = mousedown == null ? void 0 : mousedown.target;
1525
- const isBound = !binding || !binding.instance;
1526
- const isTargetExists = !mouseUpTarget || !mouseDownTarget;
1527
- const isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
1528
- const isSelf = el === mouseUpTarget;
1529
- const isTargetExcluded = excludes.length && excludes.some((item) => item == null ? void 0 : item.contains(mouseUpTarget)) || excludes.length && excludes.includes(mouseDownTarget);
1530
- const isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
1531
- if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
1532
- return;
1533
- }
1534
- binding.value(mouseup, mousedown);
1535
- };
1536
- }
1537
- const ClickOutside = {
1538
- beforeMount(el, binding) {
1539
- if (!nodeList.has(el)) {
1540
- nodeList.set(el, []);
1541
- }
1542
- nodeList.get(el).push({
1543
- documentHandler: createDocumentHandler(el, binding),
1544
- bindingFn: binding.value
1545
- });
1546
- },
1547
- updated(el, binding) {
1548
- if (!nodeList.has(el)) {
1549
- nodeList.set(el, []);
1550
- }
1551
- const handlers = nodeList.get(el);
1552
- const oldHandlerIndex = handlers.findIndex((item) => item.bindingFn === binding.oldValue);
1553
- const newHandler = {
1554
- documentHandler: createDocumentHandler(el, binding),
1555
- bindingFn: binding.value
1556
- };
1557
- if (oldHandlerIndex >= 0) {
1558
- handlers.splice(oldHandlerIndex, 1, newHandler);
1559
- } else {
1560
- handlers.push(newHandler);
1561
- }
1562
- },
1563
- unmounted(el) {
1564
- nodeList.delete(el);
1565
- }
1566
- };
1567
- const COMPONENTS_TYPE = ["default", "primary", "success", "warning", "danger", "info"];
1568
- const validateType = (value) => {
1569
- if (!value)
1570
- return true;
1571
- if (COMPONENTS_TYPE.includes(value)) {
1572
- return true;
1573
- }
1574
- console.error("types is not contains " + value);
1575
- return false;
1576
- };
1577
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1578
- props: {
1579
- type: {
1580
- type: String,
1581
- default: "default",
1582
- validator: validateType
1583
- },
1584
- rotate: Boolean,
1585
- disabled: Boolean,
1586
- active: Boolean,
1587
- icon: String,
1588
- size: {
1589
- type: String,
1590
- default: "32px"
1591
- },
1592
- backgroundColor: String,
1593
- color: String,
1594
- fontSize: String
1595
- },
1596
- setup(__props) {
1597
- return (_ctx, _cache) => {
1598
- return openBlock(), createElementBlock("div", {
1599
- class: normalizeClass([
1600
- "fu-speed-dial-button",
1601
- "fu-speed-dial-button--" + __props.type,
1602
- {
1603
- "fu-speed-dial-button--rotate": __props.rotate,
1604
- "is-disabled": __props.disabled,
1605
- "is-active": __props.active
1606
- }
1607
- ]),
1608
- style: normalizeStyle({
1609
- width: __props.size,
1610
- height: __props.size,
1611
- backgroundColor: __props.backgroundColor,
1612
- color: __props.color,
1613
- fontSize: __props.fontSize
1614
- })
1615
- }, [
1616
- renderSlot(_ctx.$slots, "default", {}, () => [
1617
- createElementVNode("i", {
1618
- class: normalizeClass(__props.icon)
1619
- }, null, 2)
1620
- ])
1621
- ], 6);
1622
- };
1623
- }
1624
- });
1625
- var FuSpeedDialButton = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialButton.vue"]]);
1626
- const _hoisted_1$5 = { class: "fu-speed-dial-action-button" };
1627
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1628
- props: {
1629
- index: Number,
1630
- icon: {
1631
- type: String,
1632
- default: "el-icon-plus"
1633
- },
1634
- titleClass: String,
1635
- titleBgColor: String,
1636
- titleColor: String,
1637
- buttonClass: String,
1638
- bgColor: String,
1639
- color: String,
1640
- title: [String, Number]
1641
- },
1642
- emits: ["click"],
1643
- setup(__props, { emit }) {
1644
- const props = __props;
1645
- const FuSpeedDial2 = inject("FuSpeedDial");
1646
- const config = computed(() => {
1647
- return FuSpeedDial2.config;
1648
- });
1649
- const direction = computed(() => {
1650
- return FuSpeedDial2.direction;
1651
- });
1652
- computed(() => {
1653
- return FuSpeedDial2.clickClose;
1654
- });
1655
- const titleSize = computed(() => {
1656
- let size = config.value.fab.size + "px";
1657
- let style = { position: "absolute", height: size };
1658
- if (["top", "bottom"].includes(direction.value)) {
1659
- style["text-align"] = "right";
1660
- style["right"] = size;
1661
- } else {
1662
- style["text-align"] = "center";
1663
- style["min-width"] = size;
1664
- if (props.index % 2 === 0) {
1665
- style.top = size;
1666
- } else {
1667
- style.top = "-" + size;
1668
- }
1669
- }
1670
- return style;
1671
- });
1672
- const titleStyle = computed(() => {
1673
- let backgroundColor = props.titleBgColor;
1674
- let color = props.titleColor;
1675
- let fontSize = config.value.item.titleFontSize;
1676
- return { backgroundColor, color, fontSize };
1677
- });
1678
- const buttonProps = computed(() => {
1679
- let backgroundColor = props.bgColor;
1680
- let color = props.color;
1681
- let fontSize = config.value.item.buttonFontSize;
1682
- let size = config.value.item.size + "px";
1683
- return { backgroundColor, color, fontSize, size };
1684
- });
1685
- function click(e) {
1686
- const { index: index2, title } = props;
1687
- emit("click", { index: index2, title }, e);
1688
- FuSpeedDial2.close();
1689
- }
1690
- return (_ctx, _cache) => {
1691
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
1692
- __props.title ? (openBlock(), createElementBlock("div", {
1693
- key: 0,
1694
- class: "fu-speed-dial-action-button__title",
1695
- style: normalizeStyle(unref(titleSize))
1696
- }, [
1697
- renderSlot(_ctx.$slots, "title", {}, () => [
1698
- createElementVNode("div", {
1699
- class: normalizeClass(["fu-speed-dial-action-button__text", __props.titleClass]),
1700
- style: normalizeStyle(unref(titleStyle)),
1701
- onClick: click
1702
- }, toDisplayString(__props.title), 7)
1703
- ])
1704
- ], 4)) : createCommentVNode("v-if", true),
1705
- renderSlot(_ctx.$slots, "default", {}, () => [
1706
- createVNode(FuSpeedDialButton, mergeProps({ class: __props.buttonClass }, unref(buttonProps), {
1707
- icon: __props.icon,
1708
- onClick: click
1709
- }), null, 16, ["class", "icon"])
1710
- ])
1711
- ]);
1712
- };
1713
- }
1714
- });
1715
- var FuSpeedDialActionButton = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialActionButton.vue"]]);
1716
- const __default__$7 = { name: "FuSpeedDialItem" };
1717
- const _sfc_main$c = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
1718
- props: {
1719
- index: {
1720
- type: Number,
1721
- required: true
1722
- }
1723
- },
1724
- setup(__props) {
1725
- const props = __props;
1726
- const FuSpeedDial2 = inject("FuSpeedDial");
1727
- const config = computed(() => {
1728
- return FuSpeedDial2.config;
1729
- });
1730
- const direction = computed(() => {
1731
- return FuSpeedDial2.direction;
1732
- });
1733
- const isActive = computed(() => {
1734
- return FuSpeedDial2.active;
1735
- });
1736
- computed(() => {
1737
- return FuSpeedDial2.size;
1738
- });
1739
- const spacing = computed(() => {
1740
- return config.value.item.spacing || 0;
1741
- });
1742
- const directionPosition = computed(() => {
1743
- if (["top", "left"].includes(direction.value)) {
1744
- return -config.value.fab.size - spacing.value;
1745
- }
1746
- return config.value.fab.size + spacing.value;
1747
- });
1748
- const itemSize = computed(() => {
1749
- let size2 = config.value.fab.size + "px";
1750
- return {
1751
- width: size2,
1752
- height: size2
1753
- };
1754
- });
1755
- function setPosition(el, position) {
1756
- if (["top", "bottom"].includes(direction.value)) {
1757
- el.style.transform = "translateY(" + position + ")";
1758
- } else {
1759
- el.style.transform = "translateX(" + position + ")";
1760
- }
1761
- }
1762
- function beforeEnter(el) {
1763
- el.style.transition = "all 0.3s";
1764
- el.style.position = "absolute";
1765
- setPosition(el, 0);
1766
- el.style.opacity = "0";
1767
- }
1768
- function enter(el, done) {
1769
- let position = props.index * directionPosition.value + "px";
1770
- setTimeout(() => {
1771
- setPosition(el, position);
1772
- el.style.opacity = "1";
1773
- done();
1774
- });
1775
- }
1776
- function leave(el, done) {
1777
- setPosition(el, 0);
1778
- el.style.opacity = "0";
1779
- setTimeout(() => {
1780
- done();
1781
- }, 200);
1782
- }
1783
- return (_ctx, _cache) => {
1784
- return openBlock(), createBlock(Transition, {
1785
- css: false,
1786
- onBeforeEnter: beforeEnter,
1787
- onEnter: enter,
1788
- onLeave: leave
1789
- }, {
1790
- default: withCtx(() => [
1791
- unref(isActive) ? (openBlock(), createElementBlock("div", {
1792
- key: 0,
1793
- class: "fu-speed-dial-item",
1794
- style: normalizeStyle(unref(itemSize))
1795
- }, [
1796
- renderSlot(_ctx.$slots, "default", {}, () => [
1797
- createVNode(FuSpeedDialActionButton, mergeProps({ index: __props.index }, _ctx.$attrs), null, 16, ["index"])
1798
- ])
1799
- ], 4)) : createCommentVNode("v-if", true)
1800
- ]),
1801
- _: 3
1802
- });
1803
- };
1804
- }
1805
- }));
1806
- var FuSpeedDialItem = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDialItem.vue"]]);
1807
- const _hoisted_1$4 = { class: "fu-speed-dial__content" };
1808
- const __default__$6 = { name: "FuSpeedDial" };
1809
- const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
1810
- props: {
1811
- id: String,
1812
- value: Boolean,
1813
- type: {
1814
- type: String,
1815
- default: "primary"
1816
- },
1817
- items: Array,
1818
- size: {
1819
- type: String,
1820
- default: "default",
1821
- validator: (value) => ["big", "default", "medium", "small"].includes(value)
1822
- },
1823
- direction: {
1824
- type: String,
1825
- default: "top",
1826
- validator: (value) => ["top", "bottom", "left", "right"].includes(value)
1827
- },
1828
- icon: {
1829
- type: String,
1830
- default: "el-icon-plus"
1831
- },
1832
- activeIcon: {
1833
- type: String,
1834
- default: "el-icon-close"
1835
- },
1836
- movable: {
1837
- type: Boolean,
1838
- default: false
1839
- },
1840
- position: {
1841
- type: String,
1842
- validator: (value) => ["absolute", "fixed"].includes(value)
1843
- },
1844
- left: String,
1845
- top: String,
1846
- right: String,
1847
- bottom: String,
1848
- zIndex: {
1849
- type: [String, Number],
1850
- default: 99
1851
- },
1852
- itemClickClose: {
1853
- type: Boolean,
1854
- default: true
1855
- },
1856
- outsideClose: {
1857
- type: Boolean,
1858
- default: true
1859
- },
1860
- manual: {
1861
- type: Boolean,
1862
- default: false
1863
- },
1864
- localKey: String,
1865
- sizeOptions: {
1866
- type: Object,
1867
- default: () => {
1868
- return {
1869
- big: {
1870
- fab: { size: 56, fontSize: "18px" },
1871
- item: { size: 40, spacing: 0, titleFontSize: "14px", buttonFontSize: "18px" }
1872
- },
1873
- default: {
1874
- fab: { size: 40, fontSize: "16px" },
1875
- item: { size: 32, spacing: 0, titleFontSize: "14px", buttonFontSize: "16px" }
1876
- },
1877
- medium: {
1878
- fab: { size: 36, fontSize: "14px" },
1879
- item: { size: 28, spacing: 0, titleFontSize: "12px", buttonFontSize: "14px" }
1880
- },
1881
- small: {
1882
- fab: { size: 32, fontSize: "12px" },
1883
- item: { size: 24, spacing: 0, titleFontSize: "12px", buttonFontSize: "12px" }
1884
- }
1885
- };
1886
- }
1887
- }
1888
- },
1889
- emits: ["close", "outside-click", "click"],
1890
- setup(__props, { expose, emit }) {
1891
- const props = __props;
1892
- const slots = useSlots();
1893
- const instance = getCurrentInstance();
1894
- const { zIndex, position, left, top, right, bottom } = props;
1895
- const active = ref(false);
1896
- const moving = ref(false);
1897
- const style = reactive({ zIndex, position, left, top, right, bottom });
1898
- const updateStyle = function() {
1899
- style.value = { zIndex, position, left, top, right, bottom };
1900
- };
1901
- provide("FuSpeedDial", instance);
1902
- watch(() => props.value, (v) => {
1903
- active.value = v;
1904
- });
1905
- watch(() => props.position, updateStyle);
1906
- watch(() => props.zIndex, updateStyle);
1907
- watch(() => props.left, updateStyle);
1908
- watch(() => props.right, updateStyle);
1909
- watch(() => props.top, updateStyle);
1910
- watch(() => props.bottom, updateStyle);
1911
- const saveKey = computed(() => {
1912
- return "Fu-SD-" + props.localKey;
1913
- });
1914
- const hashChildren = computed(() => {
1915
- if (props.items && props.items.length > 0) {
1916
- return true;
1917
- }
1918
- return slots && slots.default;
1919
- });
1920
- const config = computed(() => {
1921
- return props.sizeOptions[props.size] || props.sizeOptions["default"];
1922
- });
1923
- const buttonProps = computed(() => {
1924
- let type = props.type;
1925
- let rotate = true;
1926
- let activeValue = active.value;
1927
- let size = config.value.fab.size + "px";
1928
- let fontSize = config.value.fab.fontSize;
1929
- let icon = props.activeIcon === props.icon ? props.icon : active.value ? props.activeIcon : props.icon;
1930
- return { type, rotate, active: activeValue, size, fontSize, icon };
1931
- });
1932
- const spacing = computed(() => {
1933
- let spacing2 = config.value.item.spacing || 0;
1934
- spacing2 += (config.value.fab.size - config.value.item.size) / 2;
1935
- return spacing2;
1936
- });
1937
- const contentPosition = computed(() => {
1938
- let position2 = config.value.fab.size + spacing.value;
1939
- if (["top", "left"].includes(props.direction)) {
1940
- position2 = -config.value.fab.size - spacing.value;
1941
- }
1942
- let style2 = { position: "absolute", zIndex: props.zIndex };
1943
- if (["top", "bottom"].includes(props.direction)) {
1944
- style2.top = position2 + "px";
1945
- } else {
1946
- style2.top = 0;
1947
- style2.left = position2 + "px";
1948
- }
1949
- return style2;
1950
- });
1951
- function toggle(active2) {
1952
- if (!moving.value && hashChildren.value) {
1953
- active2.value = active2 === void 0 ? !active2.value : active2;
1954
- }
1955
- }
1956
- function outsideClickClose() {
1957
- if (props.outsideClose && !props.manual) {
1958
- toggle(false);
1959
- }
1960
- emit("outside-click", [props.id, active.value]);
1961
- }
1962
- function click(e) {
1963
- if (!props.manual) {
1964
- toggle();
1965
- }
1966
- emit("click", [props.id, active.value], e);
1967
- }
1968
- function mousedown() {
1969
- if (moving.value) {
1970
- document.addEventListener("mousemove", mousemove);
1971
- document.addEventListener("mouseup", mouseup);
1972
- }
1973
- }
1974
- function mousemove(e) {
1975
- moving.value = true;
1976
- if (props.position === "fixed") {
1977
- const el = instance.vnode.el;
1978
- const rect = el.getBoundingClientRect();
1979
- let left2 = e.clientX - rect.width / 2;
1980
- let top2 = e.clientY - rect.height / 2;
1981
- style.value.left = left2 + "px";
1982
- style.value.top = top2 + "px";
1983
- delete style.value.right;
1984
- delete style.value.bottom;
1985
- }
1986
- if (props.position === "absolute") {
1987
- const { offsetLeft, offsetTop, clientWidth, clientHeight, offsetParent } = this.$el;
1988
- const maxWidth = offsetParent.clientWidth - clientWidth;
1989
- const maxHeight = offsetParent.clientHeight - clientHeight;
1990
- let left2 = offsetLeft + e.movementX;
1991
- let top2 = offsetTop + e.movementY;
1992
- if (left2 > 0 && left2 < maxWidth) {
1993
- style.value.left = left2 + "px";
1994
- delete style.value.right;
1995
- }
1996
- if (top2 > 0 && top2 < maxHeight) {
1997
- style.value.top = top2 + "px";
1998
- delete style.value.bottom;
1999
- }
2000
- }
2001
- }
2002
- function mouseup() {
2003
- writePosition();
2004
- document.removeEventListener("mousemove", mousemove);
2005
- document.removeEventListener("mouseup", mouseup);
2006
- setTimeout(() => moving.value = false);
2007
- }
2008
- function writePosition() {
2009
- if (props.localKey) {
2010
- localStorage.setItem(saveKey.value, JSON.stringify(style.value));
2011
- }
2012
- }
2013
- function readPosition() {
2014
- let position2 = localStorage.getItem(saveKey.value);
2015
- try {
2016
- localStorage.getItem(saveKey.value);
2017
- if (position2) {
2018
- style.value = JSON.parse(position2);
2019
- }
2020
- } catch (e) {
2021
- console.warn(saveKey.value + " error", e);
2022
- }
2023
- }
2024
- function itemClick(arg, e) {
2025
- console.log(arg);
2026
- const { index: index2 } = arg;
2027
- if (index2 !== void 0) {
2028
- const item = props.items[index2];
2029
- if (item.click && typeof item.click === "function")
2030
- return item.click(arg, e);
2031
- }
2032
- }
2033
- function close() {
2034
- if (props.itemClickClose && !props.manual) {
2035
- toggle(false);
2036
- }
2037
- emit("close", [props.id, active.value]);
2038
- }
2039
- onMounted(() => {
2040
- readPosition();
2041
- });
2042
- expose({
2043
- close
2044
- });
2045
- return (_ctx, _cache) => {
2046
- return withDirectives((openBlock(), createElementBlock("div", {
2047
- class: "fu-speed-dial",
2048
- style: normalizeStyle(unref(style))
2049
- }, [
2050
- createElementVNode("div", _hoisted_1$4, [
2051
- renderSlot(_ctx.$slots, "fab", {}, () => [
2052
- createVNode(FuSpeedDialButton, mergeProps(unref(buttonProps), {
2053
- onClick: click,
2054
- onMousedown: mousedown
2055
- }), null, 16)
2056
- ]),
2057
- createElementVNode("div", {
2058
- style: normalizeStyle(unref(contentPosition))
2059
- }, [
2060
- renderSlot(_ctx.$slots, "default", {}, () => [
2061
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index2) => {
2062
- return openBlock(), createBlock(FuSpeedDialItem, mergeProps({
2063
- index: index2,
2064
- key: index2
2065
- }, item, { onClick: itemClick }), null, 16, ["index"]);
2066
- }), 128))
2067
- ])
2068
- ], 4)
2069
- ])
2070
- ], 4)), [
2071
- [unref(ClickOutside), outsideClickClose]
2072
- ]);
2073
- };
2074
- }
2075
- }));
2076
- var FuSpeedDial = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/speed-dial/FuSpeedDial.vue"]]);
2077
- FuSpeedDial.install = (app) => {
2078
- app.component(FuSpeedDial.name, FuSpeedDial);
2079
- app.component(FuSpeedDialItem.name, FuSpeedDialItem);
2080
- };
2081
- var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2082
- __proto__: null,
2083
- "default": FuSpeedDial
2084
- }, Symbol.toStringTag, { value: "Module" }));
2085
1527
  const _hoisted_1$3 = {
2086
1528
  key: 0,
2087
1529
  class: "icon"
2088
1530
  };
2089
- const __default__$5 = { name: "FuSplitPane" };
2090
- const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
1531
+ const __default__$7 = { name: "FuSplitPane" };
1532
+ const _sfc_main$a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$7), {
2091
1533
  props: {
2092
1534
  min: {
2093
1535
  type: [Number, String],
@@ -2293,18 +1735,13 @@ var FuSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "/Users/w
2293
1735
  FuSplitPane.install = (app) => {
2294
1736
  app.component(FuSplitPane.name, FuSplitPane);
2295
1737
  };
2296
- var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1738
+ var __glob_1_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2297
1739
  __proto__: null,
2298
1740
  "default": FuSplitPane
2299
1741
  }, Symbol.toStringTag, { value: "Module" }));
2300
- var index = {
2301
- install: (app) => {
2302
- }
2303
- };
2304
- var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2305
- __proto__: null,
2306
- "default": index
2307
- }, Symbol.toStringTag, { value: "Module" }));
1742
+ Object.freeze({});
1743
+ Object.freeze([]);
1744
+ const isArray = Array.isArray;
2308
1745
  function isFragment(node) {
2309
1746
  return isVNode(node) && node.type === Fragment;
2310
1747
  }
@@ -2369,8 +1806,9 @@ const FuTableBody = (props, context) => {
2369
1806
  });
2370
1807
  return nodes;
2371
1808
  };
2372
- const __default__$4 = { name: "FuTable" };
2373
- const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
1809
+ const LocalKey = Symbol("LocalKey");
1810
+ const __default__$6 = { name: "FuTable" };
1811
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$6), {
2374
1812
  props: {
2375
1813
  columns: Array,
2376
1814
  refresh: {
@@ -2380,9 +1818,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2380
1818
  localKey: String
2381
1819
  },
2382
1820
  setup(__props) {
2383
- var _a2, _b;
1821
+ var _a, _b;
2384
1822
  const props = __props;
2385
- const slots = (_b = (_a2 = useSlots()).default) == null ? void 0 : _b.call(_a2);
1823
+ const slots = (_b = (_a = useSlots()).default) == null ? void 0 : _b.call(_a);
2386
1824
  const key = ref(0);
2387
1825
  const prefix = "FU-T-";
2388
1826
  const cleanColumns = (columns) => {
@@ -2420,8 +1858,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2420
1858
  }
2421
1859
  if (columns.some((col) => col.label === void 0)) {
2422
1860
  columns.forEach((col, i) => {
2423
- var _a3;
2424
- (_a3 = col.label) != null ? _a3 : col.label = getLabel(nodes[i]);
1861
+ var _a2;
1862
+ (_a2 = col.label) != null ? _a2 : col.label = getLabel(nodes[i]);
2425
1863
  });
2426
1864
  }
2427
1865
  };
@@ -2465,7 +1903,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2465
1903
  initColumns(children, props.columns);
2466
1904
  }
2467
1905
  });
2468
- provide("localKey", props.localKey);
1906
+ provide(LocalKey, props.localKey);
2469
1907
  onUpdated(() => {
2470
1908
  updateNodes(children);
2471
1909
  updateColumns(children, props.columns);
@@ -2497,10 +1935,10 @@ const tableColumnSelect = (localKey) => {
2497
1935
  const columnsKey = computed(() => {
2498
1936
  return localKey ? "FU-T-" + localKey : "";
2499
1937
  });
2500
- function dragstart(event, index2) {
1938
+ function dragstart(event, index) {
2501
1939
  if (event.dataTransfer) {
2502
1940
  event.dataTransfer.effectAllowed = "move";
2503
- event.dataTransfer.setData("source_index", index2);
1941
+ event.dataTransfer.setData("source_index", index);
2504
1942
  }
2505
1943
  }
2506
1944
  function dragenter(event) {
@@ -2522,11 +1960,11 @@ const tableColumnSelect = (localKey) => {
2522
1960
  event.dataTransfer.clearData();
2523
1961
  }
2524
1962
  }
2525
- function drop(event, list, index2) {
2526
- var _a2;
1963
+ function drop(event, list, index) {
1964
+ var _a;
2527
1965
  let target = event.target;
2528
- let source_index = Number((_a2 = event.dataTransfer) == null ? void 0 : _a2.getData("source_index"));
2529
- let target_index = index2;
1966
+ let source_index = Number((_a = event.dataTransfer) == null ? void 0 : _a.getData("source_index"));
1967
+ let target_index = index;
2530
1968
  if (target_index > source_index) {
2531
1969
  list.splice(target_index + 1, 0, list[source_index]);
2532
1970
  list.splice(source_index, 1);
@@ -2547,9 +1985,11 @@ const tableColumnSelect = (localKey) => {
2547
1985
  drop
2548
1986
  };
2549
1987
  };
2550
- const _hoisted_1$2 = { class: "fu-table-column-select-popper__body" };
2551
- const _hoisted_2$1 = { class: "fu-table-column-select-popper__footer" };
1988
+ const _hoisted_1$2 = { style: { "display": "inline-block" } };
1989
+ const _hoisted_2$1 = { class: "fu-table-column-select-popper__body" };
1990
+ const _hoisted_3 = { class: "fu-table-column-select-popper__footer" };
2552
1991
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
1992
+ __name: "FuTableColumnSelectPopover",
2553
1993
  props: {
2554
1994
  icon: {
2555
1995
  type: String,
@@ -2568,7 +2008,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2568
2008
  setup(__props) {
2569
2009
  const props = __props;
2570
2010
  const { t } = useLocale();
2571
- const localKey = inject("localKey");
2011
+ const localKey = inject(LocalKey, void 0);
2572
2012
  const {
2573
2013
  columnsKey,
2574
2014
  dragstart,
@@ -2578,14 +2018,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2578
2018
  drop
2579
2019
  } = tableColumnSelect(localKey);
2580
2020
  const isFixAll = computed(() => {
2581
- var _a2;
2582
- return (_a2 = props.columns) == null ? void 0 : _a2.every((c) => {
2021
+ var _a;
2022
+ return (_a = props.columns) == null ? void 0 : _a.every((c) => {
2583
2023
  return c.fix;
2584
2024
  });
2585
2025
  });
2586
2026
  const hasSelect = computed(() => {
2587
- var _a2;
2588
- return ((_a2 = props.columns) == null ? void 0 : _a2.length) > 0 && !isFixAll.value;
2027
+ var _a;
2028
+ return ((_a = props.columns) == null ? void 0 : _a.length) > 0 && !isFixAll.value;
2589
2029
  });
2590
2030
  function reset() {
2591
2031
  if (columnsKey) {
@@ -2597,68 +2037,70 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2597
2037
  const _component_el_checkbox = resolveComponent("el-checkbox");
2598
2038
  const _component_el_button = resolveComponent("el-button");
2599
2039
  const _component_el_popover = resolveComponent("el-popover");
2600
- return withDirectives((openBlock(), createBlock(_component_el_popover, {
2601
- class: "fu-table-column-select",
2602
- "popper-class": "fu-table-column-select-popper",
2603
- trigger: __props.trigger,
2604
- "show-arrow": false
2605
- }, {
2606
- reference: withCtx(() => [
2607
- createVNode(_component_el_button, {
2608
- class: "fu-search-bar-button",
2609
- icon: __props.icon
2610
- }, {
2611
- default: withCtx(() => [
2612
- createTextVNode(toDisplayString(unref(t)("fu.table.custom_table_rows")), 1)
2613
- ]),
2614
- _: 1
2615
- }, 8, ["icon"])
2616
- ]),
2617
- default: withCtx(() => [
2618
- createElementVNode("h3", null, toDisplayString(unref(t)("fu.table.custom_table_fields")), 1),
2619
- createElementVNode("div", _hoisted_1$2, [
2620
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (c, i) => {
2621
- return openBlock(), createElementBlock("div", {
2622
- key: i,
2623
- class: "fu-table-column-select-popper__item"
2624
- }, [
2625
- withDirectives(createVNode(_component_el_checkbox, {
2626
- modelValue: c.show,
2627
- "onUpdate:modelValue": ($event) => c.show = $event,
2628
- checked: c.show !== false,
2629
- draggable: "true",
2630
- onDragstart: ($event) => unref(dragstart)($event, i),
2631
- onDragenter: unref(dragenter),
2632
- onDragleave: unref(dragleave),
2633
- onDragover: _cache[0] || (_cache[0] = withModifiers(() => {
2634
- }, ["prevent"])),
2635
- onDragend: unref(dragend),
2636
- onDrop: ($event) => unref(drop)($event, __props.columns, i)
2637
- }, {
2638
- default: withCtx(() => [
2639
- createTextVNode(toDisplayString(c.label), 1)
2640
- ]),
2641
- _: 2
2642
- }, 1032, ["modelValue", "onUpdate:modelValue", "checked", "onDragstart", "onDragenter", "onDragleave", "onDragend", "onDrop"]), [
2643
- [vShow, !c.fix]
2644
- ])
2645
- ]);
2646
- }), 128))
2647
- ]),
2648
- createElementVNode("div", _hoisted_2$1, [
2649
- unref(columnsKey) ? (openBlock(), createBlock(_component_el_button, {
2650
- key: 0,
2651
- onClick: reset
2040
+ return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$2, [
2041
+ createVNode(_component_el_popover, {
2042
+ class: "fu-table-column-select",
2043
+ "popper-class": "fu-table-column-select-popper",
2044
+ trigger: __props.trigger,
2045
+ "show-arrow": false
2046
+ }, {
2047
+ reference: withCtx(() => [
2048
+ createVNode(_component_el_button, {
2049
+ class: "fu-search-bar-button",
2050
+ icon: __props.icon
2652
2051
  }, {
2653
2052
  default: withCtx(() => [
2654
- createTextVNode(toDisplayString(unref(t)("fu.table.reset")), 1)
2053
+ createTextVNode(toDisplayString(unref(t)("fu.table.custom_table_rows")), 1)
2655
2054
  ]),
2656
2055
  _: 1
2657
- })) : createCommentVNode("v-if", true)
2658
- ])
2659
- ]),
2660
- _: 1
2661
- }, 8, ["trigger"])), [
2056
+ }, 8, ["icon"])
2057
+ ]),
2058
+ default: withCtx(() => [
2059
+ createElementVNode("h3", null, toDisplayString(unref(t)("fu.table.custom_table_fields")), 1),
2060
+ createElementVNode("div", _hoisted_2$1, [
2061
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (c, i) => {
2062
+ return openBlock(), createElementBlock("div", {
2063
+ key: i,
2064
+ class: "fu-table-column-select-popper__item"
2065
+ }, [
2066
+ withDirectives(createVNode(_component_el_checkbox, {
2067
+ modelValue: c.show,
2068
+ "onUpdate:modelValue": ($event) => c.show = $event,
2069
+ checked: c.show !== false,
2070
+ draggable: "true",
2071
+ onDragstart: ($event) => unref(dragstart)($event, i),
2072
+ onDragenter: unref(dragenter),
2073
+ onDragleave: unref(dragleave),
2074
+ onDragover: _cache[0] || (_cache[0] = withModifiers(() => {
2075
+ }, ["prevent"])),
2076
+ onDragend: unref(dragend),
2077
+ onDrop: ($event) => unref(drop)($event, __props.columns, i)
2078
+ }, {
2079
+ default: withCtx(() => [
2080
+ createTextVNode(toDisplayString(c.label), 1)
2081
+ ]),
2082
+ _: 2
2083
+ }, 1032, ["modelValue", "onUpdate:modelValue", "checked", "onDragstart", "onDragenter", "onDragleave", "onDragend", "onDrop"]), [
2084
+ [vShow, !c.fix]
2085
+ ])
2086
+ ]);
2087
+ }), 128))
2088
+ ]),
2089
+ createElementVNode("div", _hoisted_3, [
2090
+ unref(columnsKey) ? (openBlock(), createBlock(_component_el_button, {
2091
+ key: 0,
2092
+ onClick: reset
2093
+ }, {
2094
+ default: withCtx(() => [
2095
+ createTextVNode(toDisplayString(unref(t)("fu.table.reset")), 1)
2096
+ ]),
2097
+ _: 1
2098
+ })) : createCommentVNode("v-if", true)
2099
+ ])
2100
+ ]),
2101
+ _: 1
2102
+ }, 8, ["trigger"])
2103
+ ], 512)), [
2662
2104
  [vShow, unref(hasSelect)]
2663
2105
  ]);
2664
2106
  };
@@ -2667,16 +2109,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2667
2109
  var FuTableColumnSelectPopover = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelectPopover.vue"]]);
2668
2110
  const _hoisted_1$1 = { style: { "display": "inline-block" } };
2669
2111
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2112
+ __name: "FuTableColumnSelectDialog",
2670
2113
  props: {
2671
2114
  icon: {
2672
2115
  type: String,
2673
2116
  default: "Setting"
2674
2117
  },
2675
- trigger: {
2676
- type: String,
2677
- default: "hover",
2678
- validator: (value) => ["click", "hover"].includes(value)
2679
- },
2680
2118
  columns: {
2681
2119
  type: Array,
2682
2120
  default: () => []
@@ -2684,7 +2122,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2684
2122
  },
2685
2123
  setup(__props) {
2686
2124
  const props = __props;
2687
- const localKey = inject("localKey");
2125
+ const localKey = inject(LocalKey, void 0);
2688
2126
  const { t } = useLocale();
2689
2127
  const cloneColumn = (source, target) => {
2690
2128
  source.forEach((col) => {
@@ -2714,7 +2152,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2714
2152
  visible.value = false;
2715
2153
  }
2716
2154
  function reset() {
2717
- if (columnsKey) {
2155
+ if (columnsKey.value) {
2718
2156
  localStorage.removeItem(columnsKey.value);
2719
2157
  }
2720
2158
  props.columns.splice(0, props.columns.length);
@@ -2726,7 +2164,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2726
2164
  const _component_el_checkbox = resolveComponent("el-checkbox");
2727
2165
  const _component_el_dialog = resolveComponent("el-dialog");
2728
2166
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
2729
- createCommentVNode(' :size="configSize" '),
2730
2167
  createVNode(_component_el_button, {
2731
2168
  class: "fu-search-bar-button",
2732
2169
  icon: __props.icon,
@@ -2819,11 +2256,8 @@ const _sfc_main$6 = defineComponent({
2819
2256
  }
2820
2257
  });
2821
2258
  var FuTableColumnSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-select/FuTableColumnSelect.vue"]]);
2822
- FuTableColumnSelect.install = (app) => {
2823
- app.component(FuTableColumnSelect.name, FuTableColumnSelect);
2824
- };
2825
- const __default__$3 = { name: "FuTablePagination" };
2826
- const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
2259
+ const __default__$5 = { name: "FuTablePagination" };
2260
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$5), {
2827
2261
  props: {
2828
2262
  currentPage: {
2829
2263
  type: Number,
@@ -2871,12 +2305,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2871
2305
  }
2872
2306
  }));
2873
2307
  var FuTablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTablePagination.vue"]]);
2874
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2308
+ const __default__$4 = { name: "FuTableButton" };
2309
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
2875
2310
  props: {
2876
- size: {
2877
- type: String,
2878
- default: "default"
2879
- },
2880
2311
  label: String,
2881
2312
  disabled: Boolean,
2882
2313
  icon: Boolean
@@ -2901,9 +2332,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2901
2332
  }, 8, ["content", "disabled"]);
2902
2333
  };
2903
2334
  }
2904
- });
2335
+ }));
2905
2336
  var FuTableButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableButton.vue"]]);
2906
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2337
+ const __default__$3 = { name: "FuTableMoreButton" };
2338
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
2907
2339
  props: {
2908
2340
  row: Object,
2909
2341
  buttons: {
@@ -2977,7 +2409,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2977
2409
  _: 1
2978
2410
  })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2979
2411
  createTextVNode(toDisplayString(unref(t)("fu.table.more")), 1)
2980
- ], 2112))
2412
+ ], 64))
2981
2413
  ]),
2982
2414
  _: 1
2983
2415
  })
@@ -2986,7 +2418,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2986
2418
  });
2987
2419
  };
2988
2420
  }
2989
- });
2421
+ }));
2990
2422
  var FuTableMoreButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableMoreButton.vue"]]);
2991
2423
  const __default__$2 = { name: "FuTableOperations" };
2992
2424
  const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
@@ -2999,7 +2431,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2999
2431
  minWidth: [String, Number],
3000
2432
  ellipsis: {
3001
2433
  type: Number,
3002
- default: 3
2434
+ default: 2
3003
2435
  },
3004
2436
  buttons: {
3005
2437
  type: Array,
@@ -3040,12 +2472,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3040
2472
  };
3041
2473
  });
3042
2474
  function showButtons(row) {
3043
- var _a2;
3044
- return (_a2 = props.buttons) == null ? void 0 : _a2.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
2475
+ var _a;
2476
+ return (_a = props.buttons) == null ? void 0 : _a.filter((btn) => typeof btn.show === "function" ? btn.show(row) !== false : btn.show !== false);
3045
2477
  }
3046
2478
  function hasMore(row) {
3047
- var _a2;
3048
- return ((_a2 = showButtons(row)) == null ? void 0 : _a2.length) > props.ellipsis + 1;
2479
+ var _a;
2480
+ return ((_a = showButtons(row)) == null ? void 0 : _a.length) > props.ellipsis + 1;
3049
2481
  }
3050
2482
  return (_ctx, _cache) => {
3051
2483
  const _component_el_icon = resolveComponent("el-icon");
@@ -3077,7 +2509,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3077
2509
  _: 2
3078
2510
  }, 1024)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3079
2511
  createTextVNode(toDisplayString(btn.label), 1)
3080
- ], 2112))
2512
+ ], 64))
3081
2513
  ]),
3082
2514
  _: 2
3083
2515
  }, 1032, ["icon", "onClick", "disabled", "label", "type"]);
@@ -3095,11 +2527,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3095
2527
  }
3096
2528
  }));
3097
2529
  var FuTableOperations = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-operations/FuTableOperations.vue"]]);
3098
- FuTableOperations.install = (app) => {
3099
- app.component(FuTableOperations.name, FuTableOperations);
3100
- app.component(FuTableButton.name, FuTableButton);
3101
- app.component(FuTableMoreButton.name, FuTableMoreButton);
3102
- };
3103
2530
  const _hoisted_1 = { class: "fu-dropdown-link" };
3104
2531
  const _hoisted_2 = {
3105
2532
  key: 0,
@@ -3132,9 +2559,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3132
2559
  const instance = getCurrentInstance();
3133
2560
  const isShow = computed(() => {
3134
2561
  return function(row) {
3135
- var _a2, _b, _c;
2562
+ var _a, _b, _c;
3136
2563
  if (props.showType === "selected") {
3137
- const selection = (_c = (_b = (_a2 = instance == null ? void 0 : instance.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.store) == null ? void 0 : _c.getSelectionRows();
2564
+ 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();
3138
2565
  return selection.includes(row) && true;
3139
2566
  } else {
3140
2567
  return true;
@@ -3155,11 +2582,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3155
2582
  row
3156
2583
  };
3157
2584
  }
3158
- function show(index2) {
3159
- instance.refs[`dropdown${index2}`].handleOpen();
2585
+ function show(index) {
2586
+ instance.refs[`dropdown${index}`].handleOpen();
3160
2587
  }
3161
- function hide(index2) {
3162
- instance.refs[`dropdown${index2}`].handleClose();
2588
+ function hide(index) {
2589
+ instance.refs[`dropdown${index}`].handleClose();
3163
2590
  }
3164
2591
  expose({
3165
2592
  show,
@@ -3233,18 +2660,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3233
2660
  };
3234
2661
  }
3235
2662
  }));
3236
- var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/table-column-dropdown/FuTableColumnDropdown.vue"]]);
3237
- FuTableColumnDropdown.install = (app) => {
3238
- app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
3239
- };
2663
+ var FuTableColumnDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/Users/wangdan/\u5DE5\u4F5C/fit2cloud-ui-plus/src/components/table/FuTableColumnDropdown.vue"]]);
3240
2664
  FuTable.install = (app) => {
3241
2665
  app.component(FuTable.name, FuTable);
3242
2666
  app.component(FuTablePagination.name, FuTablePagination);
3243
- app.use(FuTableOperations.install);
3244
- app.use(FuTableColumnSelect.install);
3245
- app.use(FuTableColumnDropdown.install);
2667
+ app.component(FuTableColumnSelect.name, FuTableColumnSelect);
2668
+ app.component(FuTableColumnDropdown.name, FuTableColumnDropdown);
2669
+ app.component(FuTableOperations.name, FuTableOperations);
2670
+ app.component(FuTableButton.name, FuTableButton);
2671
+ app.component(FuTableMoreButton.name, FuTableMoreButton);
3246
2672
  };
3247
- var __glob_1_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2673
+ var __glob_1_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3248
2674
  __proto__: null,
3249
2675
  "default": FuTable
3250
2676
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3352,7 +2778,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
3352
2778
  }),
3353
2779
  __props.addButtonLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3354
2780
  createTextVNode(toDisplayString(__props.addButtonLabel), 1)
3355
- ], 2112)) : createCommentVNode("v-if", true)
2781
+ ], 64)) : createCommentVNode("v-if", true)
3356
2782
  ]),
3357
2783
  _: 1
3358
2784
  })
@@ -3375,7 +2801,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
3375
2801
  }),
3376
2802
  __props.addButtonLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3377
2803
  createTextVNode(toDisplayString(__props.addButtonLabel), 1)
3378
- ], 2112)) : createCommentVNode("v-if", true)
2804
+ ], 64)) : createCommentVNode("v-if", true)
3379
2805
  ]),
3380
2806
  _: 1
3381
2807
  })
@@ -3394,12 +2820,12 @@ var FuTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/wangdan/
3394
2820
  FuTabs.install = (app) => {
3395
2821
  app.component(FuTabs.name, FuTabs);
3396
2822
  };
3397
- var __glob_1_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2823
+ var __glob_1_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3398
2824
  __proto__: null,
3399
2825
  "default": FuTabs
3400
2826
  }, Symbol.toStringTag, { value: "Module" }));
3401
2827
  const name = "fit2cloud-ui-plus";
3402
- const version = "0.0.1-beta.8";
2828
+ const version = "0.0.1-beta.9";
3403
2829
  const main = "./lib/fit2cloud-ui-plus.es.js";
3404
2830
  const files = [
3405
2831
  "lib",
@@ -3421,9 +2847,11 @@ const dependencies = {
3421
2847
  "@element-plus/icons-vue": "^1.1.4",
3422
2848
  "element-plus": "^2.2.2",
3423
2849
  "github-markdown-css": "^5.1.0",
2850
+ "prism-theme-vars": "^0.2.3",
3424
2851
  prismjs: "^1.28.0",
3425
2852
  "vite-plugin-markdown": "^2.0.2",
3426
2853
  vue: "^3.2.37",
2854
+ "vue-clipboard3": "^2.0.0",
3427
2855
  "vue-router": "^4.0.14"
3428
2856
  };
3429
2857
  const devDependencies = {
@@ -3449,7 +2877,7 @@ var PackageJSON = {
3449
2877
  dependencies,
3450
2878
  devDependencies
3451
2879
  };
3452
- const components = { "./components/filter-bar/index.ts": __glob_1_0, "./components/read-write-switch/index.ts": __glob_1_1, "./components/speed-dial/index.ts": __glob_1_2, "./components/split-pane/index.ts": __glob_1_3, "./components/steps/index.ts": __glob_1_4, "./components/table/index.ts": __glob_1_5, "./components/tabs/index.ts": __glob_1_6 };
2880
+ const components = { "./components/filter-bar/index.ts": __glob_1_0, "./components/read-write-switch/index.ts": __glob_1_1, "./components/split-pane/index.ts": __glob_1_2, "./components/table/index.ts": __glob_1_3, "./components/tabs/index.ts": __glob_1_4 };
3453
2881
  const install = (app) => {
3454
2882
  Object.keys(components).forEach((key) => {
3455
2883
  let component = components[key].default;