@web-utils/component 4.0.9 → 4.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/chat/index.mjs +2 -3
  2. package/chunks/FormTemp.Bu2VCxUh.mjs +2 -2
  3. package/confirm-button/index.mjs +9 -14
  4. package/confirmable/index.mjs +8 -13
  5. package/data-display/index.mjs +1 -1
  6. package/data-table-picker/index.mjs +8 -10
  7. package/editable-tree/index.mjs +2 -3
  8. package/element-dialog/index.mjs +2 -3
  9. package/flex-column/index.mjs +5 -6
  10. package/flex-item/index.mjs +5 -6
  11. package/flex-row/index.mjs +2 -3
  12. package/flow/index.mjs +2 -3
  13. package/flow-designer/index.mjs +2 -2
  14. package/flow-node/index.mjs +3 -4
  15. package/flow-viewer/index.mjs +2 -2
  16. package/form-button/index.mjs +1 -1
  17. package/form-cascader/index.mjs +13 -17
  18. package/form-checkbox/index.mjs +7 -12
  19. package/form-checkbox-group/index.mjs +9 -14
  20. package/form-date-picker/index.mjs +5 -10
  21. package/form-holder/index.mjs +4 -5
  22. package/form-input/index.mjs +6 -11
  23. package/form-input-cron-expression/index.mjs +8 -13
  24. package/form-input-email/index.mjs +12 -17
  25. package/form-input-id-card/index.mjs +15 -19
  26. package/form-input-number/index.mjs +16 -23
  27. package/form-input-phone-number/index.mjs +8 -12
  28. package/form-input-tag/index.mjs +7 -12
  29. package/form-input-time/index.mjs +2 -7
  30. package/form-item/index.mjs +2 -6
  31. package/form-radio-group/index.mjs +7 -12
  32. package/form-select/index.mjs +2 -6
  33. package/form-switch/index.mjs +7 -12
  34. package/form-table/index.mjs +22 -28
  35. package/form-table-plus/index.mjs +10 -14
  36. package/form-textarea/index.mjs +6 -11
  37. package/form-tree-select/index.mjs +9 -17
  38. package/form-tree-select-multiple/index.mjs +11 -19
  39. package/form-view/index.mjs +2 -2
  40. package/fy-array/index.mjs +2 -5
  41. package/fy-cascader/index.mjs +13 -17
  42. package/fy-checkbox/index.mjs +19 -23
  43. package/fy-code/index.mjs +9 -10
  44. package/fy-curd/index.mjs +4 -6
  45. package/fy-date/index.mjs +5 -9
  46. package/fy-draggable/index.mjs +2 -3
  47. package/fy-dynamic/index.mjs +11 -14
  48. package/fy-empty/index.mjs +3 -4
  49. package/fy-form/index.mjs +2 -5
  50. package/fy-form-design/index.mjs +4 -4
  51. package/fy-input/index.mjs +10 -14
  52. package/fy-input-color/index.mjs +11 -15
  53. package/fy-input-icon/index.mjs +6 -10
  54. package/fy-input-map/index.mjs +5 -8
  55. package/fy-input-number/index.mjs +12 -16
  56. package/fy-input-table/index.mjs +2 -5
  57. package/fy-input-tree/index.mjs +2 -5
  58. package/fy-radio/index.mjs +9 -13
  59. package/fy-rate/index.mjs +7 -11
  60. package/fy-select/index.mjs +2 -4
  61. package/fy-slider/index.mjs +7 -10
  62. package/fy-switch/index.mjs +5 -9
  63. package/fy-time/index.mjs +3 -6
  64. package/fy-title/index.mjs +12 -16
  65. package/fy-u-editor/index.mjs +2 -3
  66. package/fy-upload/index.mjs +2 -4
  67. package/image-cropper/index.mjs +2 -3
  68. package/license/index.mjs +2 -3
  69. package/package.json +1 -1
  70. package/page-skeleton/index.mjs +6 -6
  71. package/pageable-table/index.mjs +2 -5
  72. package/pageable-view/index.mjs +6 -7
  73. package/photo-swipe/index.mjs +5 -7
  74. package/picker-table-view/index.mjs +23 -24
  75. package/present-view/index.mjs +2 -2
  76. package/record-video/index.mjs +10 -11
  77. package/resize-observer/index.mjs +2 -3
  78. package/search/index.mjs +2 -4
  79. package/sign/index.mjs +2 -3
  80. package/split-pane/index.mjs +2 -2
  81. package/swiper/index.mjs +2 -2
  82. package/table-column/index.mjs +2 -5
  83. package/table-view/index.mjs +2 -3
  84. package/text-ellipsis/index.mjs +2 -3
  85. package/toolbar/index.mjs +2 -3
  86. package/toolbar-button/index.mjs +2 -3
  87. package/verify/index.mjs +7 -8
  88. package/watermark/index.mjs +14 -15
  89. package/web-types.json +1 -1
@@ -1,20 +1,16 @@
1
- import { f as c } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { h as s, d as i, n as m } from "../chunks/index.B2TRddqf.mjs";
1
+ import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { h as s, d as i, n as h } from "../chunks/index.B2TRddqf.mjs";
3
3
  import { S as u } from "../chunks/sub-table-plus-props.BVsD71hT.mjs";
4
- import { isString as a, isArray as h, trace as b, warning as _ } from "@web-utils/core";
4
+ import { isString as a, isArray as m, trace as b, warning as _ } from "@web-utils/core";
5
5
  import { a as w } from "../chunks/form-validate.CVarNHKX.mjs";
6
6
  import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- import "../chunks/form-item.LWjePsPa.mjs";
8
- import "element-ui/lib/col";
9
- import "element-ui/lib/form-item";
10
- import "async-validator";
11
7
  const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), v = {
12
8
  name: "FormTablePlus",
13
- mixins: [c, u],
9
+ mixins: [p, u],
14
10
  bus: {
15
11
  reloadTableView(r) {
16
12
  if (this._viewIds)
17
- if (a(r) || h(r)) {
13
+ if (a(r) || m(r)) {
18
14
  let e = r;
19
15
  a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
20
16
  } else
@@ -34,7 +30,7 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
34
30
  },
35
31
  computed: {
36
32
  inputProps() {
37
- return i({ ...m(this.$attrs), ...this.$props }, k);
33
+ return i({ ...h(this.$attrs), ...this.$props }, k);
38
34
  },
39
35
  listeners() {
40
36
  const r = i(this.$listeners, "input", !1);
@@ -74,8 +70,8 @@ var P = function() {
74
70
  var e = this, l = e._self._c;
75
71
  return l("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, "prefix-add": "", disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
76
72
  return [l("SubTablePlus", e._g(e._b({ ref: "table", class: { "is-readonly": e.readonly }, attrs: { value: e.value, prop: e.prop, "fetch-api": e.fetchApi, "on-row-db-click": e.onRowDbClick, columns: e.columns, "show-message": e.showMessage, readonly: e.readonly, disabled: e.inputDisabled, "toolbar-menus": e.toolbarMenus, "handle-menus": e.handleMenus, "bottom-add-button": e.bottomAddButton, placeholder: e.computePlaceholder, descs: e.descs, "page-size": e.pageSize }, on: { input: (t) => e.$emit("input", t) }, scopedSlots: e._u([e._l(e.columns, function(t) {
77
- return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: p, required: f }) {
78
- return [e._t(t.prop, null, { row: o, column: n, index: d, prop: p, required: f })];
73
+ return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: f, required: c }) {
74
+ return [e._t(t.prop, null, { row: o, column: n, index: d, prop: f, required: c })];
79
75
  } };
80
76
  }), { key: "columns", fn: function({ columns: t }) {
81
77
  return [e._t("columns", null, { columns: t })];
@@ -107,7 +103,7 @@ var P = function() {
107
103
  null,
108
104
  null
109
105
  );
110
- const q = g.exports;
106
+ const F = g.exports;
111
107
  export {
112
- q as default
108
+ F as default
113
109
  };
@@ -1,13 +1,8 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { c as i, d as a, n as s } from "../chunks/index.B2TRddqf.mjs";
3
- import l from "element-ui/lib/input";
2
+ import { c as a, d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
3
+ import i from "element-ui/lib/input";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- const p = i(l).filter(
5
+ const p = a(i).filter(
11
6
  (o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
12
7
  ), m = {
13
8
  name: "FormTextarea",
@@ -35,7 +30,7 @@ const p = i(l).filter(
35
30
  },
36
31
  computed: {
37
32
  inputProps() {
38
- return a({ ...s(this.$attrs), ...this.$props }, p);
33
+ return s({ ...l(this.$attrs), ...this.$props }, p);
39
34
  }
40
35
  }
41
36
  };
@@ -56,7 +51,7 @@ var f = function() {
56
51
  null,
57
52
  null
58
53
  );
59
- const I = d.exports;
54
+ const b = d.exports;
60
55
  export {
61
- I as default
56
+ b as default
62
57
  };
@@ -1,18 +1,10 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { v as n, d as s, n as o } from "../chunks/index.B2TRddqf.mjs";
3
- import a from "../vue-tree-select/index.mjs";
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
3
+ import o from "../vue-tree-select/index.mjs";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- import "vue";
11
- import "lodash-es";
12
- import "../chunks/helper.BiMLcEEk.mjs";
13
- const p = Object.keys(a.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
5
+ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
14
6
  name: "FormTreeSelect",
15
- mixins: [i],
7
+ mixins: [n],
16
8
  props: {
17
9
  value: [String, Number, Array],
18
10
  multiple: Boolean,
@@ -25,12 +17,12 @@ const p = Object.keys(a.mixins[0].props).filter((r) => !["value", "placeholder",
25
17
  },
26
18
  computed: {
27
19
  inputProps() {
28
- return s({ ...o(this.$attrs), ...this.$props }, p);
20
+ return a({ ...i(this.$attrs), ...this.$props }, p);
29
21
  }
30
22
  },
31
23
  watch: {
32
24
  async value(r) {
33
- this.isValidValue = await n(this.prop, r, this.computeRules);
25
+ this.isValidValue = await s(this.prop, r, this.computeRules);
34
26
  }
35
27
  },
36
28
  methods: {
@@ -74,7 +66,7 @@ var c = function() {
74
66
  null,
75
67
  null
76
68
  );
77
- const $ = f.exports;
69
+ const y = f.exports;
78
70
  export {
79
- $ as default
71
+ y as default
80
72
  };
@@ -1,18 +1,10 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { v as n, d as s, n as o } from "../chunks/index.B2TRddqf.mjs";
3
- import a from "../vue-tree-select/index.mjs";
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
3
+ import o from "../vue-tree-select/index.mjs";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- import "vue";
11
- import "lodash-es";
12
- import "../chunks/helper.BiMLcEEk.mjs";
13
- const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), c = {
5
+ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
14
6
  name: "FormTreeSelectMultiple",
15
- mixins: [i],
7
+ mixins: [n],
16
8
  props: {
17
9
  value: Array
18
10
  },
@@ -23,12 +15,12 @@ const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder",
23
15
  },
24
16
  computed: {
25
17
  inputProps() {
26
- return s({ ...o(this.$attrs), ...this.$props }, p);
18
+ return a({ ...i(this.$attrs), ...this.$props }, c);
27
19
  }
28
20
  },
29
21
  watch: {
30
22
  async value(t) {
31
- this.isValidValue = await n(this.prop, t, this.computeRules);
23
+ this.isValidValue = await s(this.prop, t, this.computeRules);
32
24
  }
33
25
  },
34
26
  methods: {
@@ -53,7 +45,7 @@ const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder",
53
45
  }
54
46
  }
55
47
  };
56
- var d = function() {
48
+ var p = function() {
57
49
  var e = this, l = e._self._c;
58
50
  return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
59
51
  return [e._t("default", function() {
@@ -73,14 +65,14 @@ var d = function() {
73
65
  return [e._t("tips")];
74
66
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
75
67
  }, m = [], f = /* @__PURE__ */ u(
76
- c,
77
68
  d,
69
+ p,
78
70
  m,
79
71
  !1,
80
72
  null,
81
73
  null
82
74
  );
83
- const $ = f.exports;
75
+ const y = f.exports;
84
76
  export {
85
- $ as default
77
+ y as default
86
78
  };
@@ -1,7 +1,7 @@
1
1
  import { isInContainer as d, animate as m, hasOwn as a, toStringArray as h } from "@web-utils/core";
2
2
  import { merge as p } from "@web-utils/integrations/lodash";
3
- import b from "./resize-observer/index.mjs";
4
- import "./resize-observer/style.css";
3
+ import b from "../resize-observer/index.mjs";
4
+ import "../resize-observer/style.css";
5
5
  import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
6
  const f = [
7
7
  "back",
@@ -1,9 +1,6 @@
1
1
  import { p as a, e as l } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { i as o } from "../chunks/util.DqFv_pWg.mjs";
3
3
  import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/slot.DXIbhGat.mjs";
5
- import "@web-utils/core";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const p = {
8
5
  name: "FyArray",
9
6
  mixins: [a, l],
@@ -67,7 +64,7 @@ var u = function() {
67
64
  null,
68
65
  null
69
66
  );
70
- const g = m.exports;
67
+ const v = m.exports;
71
68
  export {
72
- g as default
69
+ v as default
73
70
  };
@@ -1,9 +1,5 @@
1
1
  import { p, e as d } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "../chunks/util.DqFv_pWg.mjs";
4
- import "@web-utils/core";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
3
  const h = {
8
4
  name: "FyCascader",
9
5
  mixins: [p, d],
@@ -54,17 +50,17 @@ const h = {
54
50
  multiple: this.multiple,
55
51
  emitPath: this.emitPath,
56
52
  lazy: this.lazy,
57
- lazyLoad: (s, e) => {
53
+ lazyLoad: (r, e) => {
58
54
  var l;
59
- const t = (a) => {
60
- const o = (i, n, c) => {
61
- i.forEach((r) => {
62
- r[this.valueKey] === n ? r[this.childrenKey] = c : r[this.childrenKey] && o(r[this.childrenKey]);
55
+ const a = (t) => {
56
+ const n = (o, i, c) => {
57
+ o.forEach((s) => {
58
+ s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
63
59
  });
64
60
  };
65
- o(this.dic, s[this.valueKey], a), e(a);
61
+ n(this.dic, r[this.valueKey], t), e(t);
66
62
  };
67
- (l = this.lazyLoad) == null || l.call(this, s, t);
63
+ (l = this.lazyLoad) == null || l.call(this, r, a);
68
64
  },
69
65
  expandTrigger: this.expandTrigger
70
66
  };
@@ -72,11 +68,11 @@ const h = {
72
68
  }
73
69
  };
74
70
  var f = function() {
75
- var e = this, t = e._self._c;
76
- return t("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
71
+ var e = this, a = e._self._c;
72
+ return a("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
77
73
  return e.handleClick.apply(null, arguments);
78
- } }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: a }) {
79
- return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: a }) : t("span", [e._v(e._s(l[e.labelKey]))])];
74
+ } }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: t }) {
75
+ return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: t }) : a("span", [e._v(e._s(l[e.labelKey]))])];
80
76
  } }], null, !0), model: { value: e.text, callback: function(l) {
81
77
  e.text = l;
82
78
  }, expression: "text" } });
@@ -88,7 +84,7 @@ var f = function() {
88
84
  null,
89
85
  null
90
86
  );
91
- const K = m.exports;
87
+ const b = m.exports;
92
88
  export {
93
- K as default
89
+ b as default
94
90
  };
@@ -1,12 +1,8 @@
1
- import { p as s, e as i } from "../chunks/event.9aDS6jcw.mjs";
2
- import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "../chunks/util.DqFv_pWg.mjs";
4
- import "@web-utils/core";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
- const r = {
1
+ import { p as s, e as c } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const h = {
8
4
  name: "FyCheckbox",
9
- mixins: [s, i],
5
+ mixins: [s, c],
10
6
  props: {
11
7
  all: {
12
8
  type: Boolean,
@@ -38,31 +34,31 @@ const r = {
38
34
  handleCheckChange() {
39
35
  const a = this.text;
40
36
  if (!this.all) return;
41
- const e = a.length, n = this.dic.length;
42
- this.checkAll = e === n, this.isIndeterminate = e > 0 && e < n;
37
+ const e = a.length, t = this.dic.length;
38
+ this.checkAll = e === t, this.isIndeterminate = e > 0 && e < t;
43
39
  }
44
40
  }
45
41
  };
46
- var o = function() {
47
- var e = this, n = e._self._c;
48
- return n("div", { staticClass: "avue-checkbox" }, [e.all ? n("ElCheckbox", { attrs: { disabled: e.disabled, indeterminate: e.isIndeterminate }, on: { change: e.handleCheckAll }, model: { value: e.checkAll, callback: function(t) {
49
- e.checkAll = t;
50
- }, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), n("ElCheckboxGroup", { attrs: { disabled: e.disabled, size: e.size, min: e.min, max: e.max }, on: { change: e.handleCheckChange }, nativeOn: { click: function(t) {
42
+ var r = function() {
43
+ var e = this, t = e._self._c;
44
+ return t("div", { staticClass: "avue-checkbox" }, [e.all ? t("ElCheckbox", { attrs: { disabled: e.disabled, indeterminate: e.isIndeterminate }, on: { change: e.handleCheckAll }, model: { value: e.checkAll, callback: function(n) {
45
+ e.checkAll = n;
46
+ }, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), t("ElCheckboxGroup", { attrs: { disabled: e.disabled, size: e.size, min: e.min, max: e.max }, on: { change: e.handleCheckChange }, nativeOn: { click: function(n) {
51
47
  return e.handleClick.apply(null, arguments);
52
- } }, model: { value: e.text, callback: function(t) {
53
- e.text = t;
54
- }, expression: "text" } }, e._l(e.dic, function(t, l) {
55
- return n(e.componentName, { key: l, tag: "Component", attrs: { label: t[e.valueKey], border: e.border, size: e.size, readonly: e.readonly, disabled: t[e.disabledKey] } }, [e._v(" " + e._s(t[e.labelKey]) + " ")]);
48
+ } }, model: { value: e.text, callback: function(n) {
49
+ e.text = n;
50
+ }, expression: "text" } }, e._l(e.dic, function(n, l) {
51
+ return t(e.componentName, { key: l, tag: "Component", attrs: { label: n[e.valueKey], border: e.border, size: e.size, readonly: e.readonly, disabled: n[e.disabledKey] } }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
56
52
  }), 1)], 1);
57
- }, h = [], d = /* @__PURE__ */ c(
53
+ }, o = [], d = /* @__PURE__ */ i(
54
+ h,
58
55
  r,
59
56
  o,
60
- h,
61
57
  !1,
62
58
  null,
63
59
  null
64
60
  );
65
- const C = d.exports;
61
+ const k = d.exports;
66
62
  export {
67
- C as default
63
+ k as default
68
64
  };
package/fy-code/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  import o from "element-ui/lib/scrollbar";
2
2
  import { s as n } from "../chunks/util.DqFv_pWg.mjs";
3
3
  import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "@web-utils/core";
5
4
  const s = {
6
5
  name: "FyCode",
7
6
  components: {
@@ -31,21 +30,21 @@ const s = {
31
30
  setPx: n
32
31
  }
33
32
  };
34
- var i = function() {
35
- var t = this, e = t._self._c;
36
- return e("div", { staticClass: "avue-code" }, [e("ElScrollbar", { style: t.styleName }, [e("pre", [t._v(" "), e("code", { ref: "container", class: t.syntax }, [t._v(`
37
- `), t._t("default"), t._v(`
38
- `)], 2), t._v(`
33
+ var a = function() {
34
+ var e = this, t = e._self._c;
35
+ return t("div", { staticClass: "avue-code" }, [t("ElScrollbar", { style: e.styleName }, [t("pre", [e._v(" "), t("code", { ref: "container", class: e.syntax }, [e._v(`
36
+ `), e._t("default"), e._v(`
37
+ `)], 2), e._v(`
39
38
  `)])])], 1);
40
- }, a = [], l = /* @__PURE__ */ r(
39
+ }, i = [], l = /* @__PURE__ */ r(
41
40
  s,
42
- i,
43
41
  a,
42
+ i,
44
43
  !1,
45
44
  null,
46
45
  null
47
46
  );
48
- const _ = l.exports;
47
+ const m = l.exports;
49
48
  export {
50
- _ as default
49
+ m as default
51
50
  };
package/fy-curd/index.mjs CHANGED
@@ -8,10 +8,8 @@ import { s as M } from "../chunks/slot.DXIbhGat.mjs";
8
8
  import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
9
9
  import { F as L, d as w } from "../chunks/FormTemp.Bu2VCxUh.mjs";
10
10
  import { s as V } from "../chunks/dic.Dkl-leRW.mjs";
11
- import R from "./icon-temp/index.mjs";
12
- import "./icon-temp/style.css";
13
- import "@web-utils/integrations/dayjs";
14
- import "./fy-u-editor/style.css";
11
+ import R from "../icon-temp/index.mjs";
12
+ import "../icon-temp/style.css";
15
13
  const p = {
16
14
  menuWidth: 220,
17
15
  menuFixed: "right",
@@ -1875,7 +1873,7 @@ var Ue = function() {
1875
1873
  null,
1876
1874
  null
1877
1875
  );
1878
- const ct = qe.exports;
1876
+ const ot = qe.exports;
1879
1877
  export {
1880
- ct as default
1878
+ ot as default
1881
1879
  };
package/fy-date/index.mjs CHANGED
@@ -1,12 +1,8 @@
1
- import { p as r, e as l } from "../chunks/event.9aDS6jcw.mjs";
1
+ import { p as l, e as r } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "../chunks/util.DqFv_pWg.mjs";
4
- import "@web-utils/core";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
3
  const o = {
8
4
  name: "FyDate",
9
- mixins: [r, l],
5
+ mixins: [l, r],
10
6
  props: {
11
7
  editable: Boolean,
12
8
  unlinkPanels: Boolean,
@@ -31,7 +27,7 @@ var i = function() {
31
27
  } }, model: { value: e.text, callback: function(t) {
32
28
  e.text = t;
33
29
  }, expression: "text" } })], 1);
34
- }, s = [], p = /* @__PURE__ */ n(
30
+ }, s = [], d = /* @__PURE__ */ n(
35
31
  o,
36
32
  i,
37
33
  s,
@@ -39,7 +35,7 @@ var i = function() {
39
35
  null,
40
36
  null
41
37
  );
42
- const g = p.exports;
38
+ const f = d.exports;
43
39
  export {
44
- g as default
40
+ f as default
45
41
  };
@@ -1,6 +1,5 @@
1
1
  import { w as a, s as l } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const v = {
5
4
  name: "FyDraggable",
6
5
  props: {
@@ -313,7 +312,7 @@ var g = function() {
313
312
  null,
314
313
  null
315
314
  );
316
- const T = _.exports;
315
+ const L = _.exports;
317
316
  export {
318
- T as default
317
+ L as default
319
318
  };
@@ -1,9 +1,6 @@
1
1
  import { p as d, e as u } from "../chunks/event.9aDS6jcw.mjs";
2
- import { d as o, o as l } from "../chunks/util.DqFv_pWg.mjs";
2
+ import { d as l, o } from "../chunks/util.DqFv_pWg.mjs";
3
3
  import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/slot.DXIbhGat.mjs";
5
- import "@web-utils/core";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const h = {
8
5
  name: "FyDynamic",
9
6
  mixins: [d, u],
@@ -32,7 +29,7 @@ const h = {
32
29
  return this.max ? this.text.length !== this.max : !0;
33
30
  },
34
31
  showIndex() {
35
- return l(this.children.index, !0);
32
+ return o(this.children.index, !0);
36
33
  },
37
34
  showType() {
38
35
  return this.children.type || "crud";
@@ -90,7 +87,7 @@ const h = {
90
87
  emptyBtn: !1,
91
88
  submitBtn: !1,
92
89
  ...(() => {
93
- const t = o(this.children);
90
+ const t = l(this.children);
94
91
  return delete t.column, t;
95
92
  })(),
96
93
  ...(() => {
@@ -110,7 +107,7 @@ const h = {
110
107
  return this.columnOption.forEach((e) => {
111
108
  t.push(
112
109
  Object.assign(e, {
113
- cell: l(e.cell, this.isCrud)
110
+ cell: o(e.cell, this.isCrud)
114
111
  })
115
112
  );
116
113
  }), {
@@ -129,7 +126,7 @@ const h = {
129
126
  this.initData();
130
127
  },
131
128
  methods: {
132
- deepClone: o,
129
+ deepClone: l,
133
130
  handleSelectionChange(t) {
134
131
  var e;
135
132
  (e = this.selectionChange) == null || e.call(this, t);
@@ -167,7 +164,7 @@ const h = {
167
164
  },
168
165
  delRow(t) {
169
166
  const e = () => {
170
- const n = o(this.text);
167
+ const n = l(this.text);
171
168
  n.splice(t, 1), this.text = n, this.reload = Math.random();
172
169
  };
173
170
  typeof this.rowDel == "function" ? this.rowDel(this.text[t], e) : e();
@@ -182,7 +179,7 @@ const h = {
182
179
  }
183
180
  }
184
181
  };
185
- var m = function() {
182
+ var f = function() {
186
183
  var e = this, n = e._self._c;
187
184
  return n("div", { key: e.reload, staticClass: "avue-dynamic" }, [e.isForm ? [n("div", { staticClass: "avue-dynamic__header" }, [!e.readonly && !e.disabled && !e.addBtn ? n("ElButton", { attrs: { size: "mini", circle: "", disabled: e.disabled, type: "primary", icon: "el-icon-plus" }, on: { click: e.addRow } }) : e._e()], 1), n("div", e._l(e.text, function(r, i) {
188
185
  return n("div", { key: i, staticClass: "avue-dynamic__row", on: { mouseenter: function(s) {
@@ -213,15 +210,15 @@ var m = function() {
213
210
  return [e._t(r, null, null, i)];
214
211
  } };
215
212
  })], null, !0) }) : e._e()], 2);
216
- }, f = [], p = /* @__PURE__ */ c(
213
+ }, m = [], p = /* @__PURE__ */ c(
217
214
  h,
218
- m,
219
215
  f,
216
+ m,
220
217
  !1,
221
218
  null,
222
219
  null
223
220
  );
224
- const g = p.exports;
221
+ const _ = p.exports;
225
222
  export {
226
- g as default
223
+ _ as default
227
224
  };
@@ -1,6 +1,5 @@
1
1
  import { s as g } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { n as A } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- import "@web-utils/core";
4
3
  const N = {
5
4
  name: "FyEmpty",
6
5
  props: {
@@ -23,7 +22,7 @@ const N = {
23
22
  var j = function() {
24
23
  var M = this, I = M._self._c;
25
24
  return I("div", { staticClass: "avue-empty" }, [I("div", { staticClass: "avue-empty__image", style: { height: M.setPx(M.size) } }, [I("img", { attrs: { src: M.image, alt: "" } })]), I("p", { staticClass: "avue-empty__desc" }, [M._v(" " + M._s(M.desc) + " ")]), M._t("default")], 2);
26
- }, T = [], i = /* @__PURE__ */ A(
25
+ }, T = [], L = /* @__PURE__ */ A(
27
26
  N,
28
27
  j,
29
28
  T,
@@ -31,7 +30,7 @@ var j = function() {
31
30
  null,
32
31
  null
33
32
  );
34
- const C = i.exports;
33
+ const u = L.exports;
35
34
  export {
36
- C as default
35
+ u as default
37
36
  };
package/fy-form/index.mjs CHANGED
@@ -6,9 +6,6 @@ import { s as U } from "../chunks/dic.Dkl-leRW.mjs";
6
6
  import { p as K } from "../chunks/packages.ByyangTp.mjs";
7
7
  import { isBlank as u } from "@web-utils/core";
8
8
  import { n as $ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
9
- import "@web-utils/integrations/dayjs";
10
- import "./fy-u-editor/style.css";
11
- import "../chunks/slot.DXIbhGat.mjs";
12
9
  const q = (i, e, r, s) => {
13
10
  if (!s) return;
14
11
  if (!window.Mock) {
@@ -637,7 +634,7 @@ var oe = function() {
637
634
  null,
638
635
  null
639
636
  );
640
- const Se = le.exports;
637
+ const _e = le.exports;
641
638
  export {
642
- Se as default
639
+ _e as default
643
640
  };
@@ -1,11 +1,11 @@
1
1
  import { isBlank as E } from "@web-utils/core";
2
- import f from "./monaco-editor/index.mjs";
3
- import "./monaco-editor/style.css";
2
+ import f from "../monaco-editor/index.mjs";
3
+ import "../monaco-editor/style.css";
4
4
  import b from "vuedraggable";
5
5
  import { c as v } from "../chunks/json-beautifier.Bp3GslGm.mjs";
6
6
  import { d as p, z as u } from "../chunks/util.DqFv_pWg.mjs";
7
7
  import { cloneDeep as g } from "@web-utils/integrations/lodash";
8
- import "./fy-u-editor/style.css";
8
+ import "../fy-u-editor/style.css";
9
9
  import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
10
  const _ = [
11
11
  {
@@ -514,7 +514,7 @@ const _ = [
514
514
  }
515
515
  }, I = {
516
516
  name: "WidgetFormItem",
517
- components: { FyUEditor: () => import("./fy-u-editor/index.mjs") },
517
+ components: { FyUEditor: () => import("../fy-u-editor/index.mjs") },
518
518
  props: {
519
519
  item: {
520
520
  type: Object,