@web-utils/component 4.0.6 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/chat/index.mjs +3 -2
  2. package/chunks/configComponents.CpKi15WN.mjs +49 -0
  3. package/chunks/{dictionary.D9gKwItv.mjs → dictionary.3O-Io7Vh.mjs} +1 -1
  4. package/chunks/index.BmYCjxZQ.mjs +47 -0
  5. package/confirm-button/index.mjs +14 -9
  6. package/confirmable/index.mjs +13 -8
  7. package/data-table-picker/index.mjs +10 -8
  8. package/editable-tree/index.mjs +3 -2
  9. package/element-dialog/index.mjs +3 -2
  10. package/flex-column/index.mjs +6 -5
  11. package/flex-item/index.mjs +6 -5
  12. package/flex-row/index.mjs +3 -2
  13. package/flow/index.mjs +3 -2
  14. package/flow-node/index.mjs +4 -3
  15. package/form-cascader/index.mjs +17 -13
  16. package/form-checkbox/index.mjs +12 -7
  17. package/form-checkbox-group/index.mjs +14 -9
  18. package/form-date-picker/index.mjs +10 -5
  19. package/form-holder/index.mjs +5 -4
  20. package/form-input/index.mjs +11 -6
  21. package/form-input-cron-expression/index.mjs +13 -8
  22. package/form-input-email/index.mjs +17 -12
  23. package/form-input-id-card/index.mjs +19 -15
  24. package/form-input-number/index.mjs +23 -16
  25. package/form-input-phone-number/index.mjs +12 -8
  26. package/form-input-tag/index.mjs +12 -7
  27. package/form-input-time/index.mjs +7 -2
  28. package/form-item/index.mjs +6 -2
  29. package/form-radio-group/index.mjs +12 -7
  30. package/form-select/index.mjs +6 -2
  31. package/form-switch/index.mjs +12 -7
  32. package/form-table/index.mjs +28 -22
  33. package/form-table-plus/index.mjs +14 -10
  34. package/form-textarea/index.mjs +11 -6
  35. package/form-tree-select/index.mjs +17 -9
  36. package/form-tree-select-multiple/index.mjs +19 -11
  37. package/fy-array/index.mjs +5 -2
  38. package/fy-cascader/index.mjs +17 -13
  39. package/fy-checkbox/index.mjs +23 -19
  40. package/fy-code/index.mjs +10 -9
  41. package/fy-curd/index.mjs +4 -2
  42. package/fy-date/index.mjs +9 -5
  43. package/fy-draggable/index.mjs +3 -2
  44. package/fy-dynamic/index.mjs +14 -11
  45. package/fy-empty/index.mjs +4 -3
  46. package/fy-form/index.mjs +5 -2
  47. package/fy-input/index.mjs +14 -10
  48. package/fy-input-color/index.mjs +15 -11
  49. package/fy-input-icon/index.mjs +8 -4
  50. package/fy-input-map/index.mjs +8 -5
  51. package/fy-input-number/index.mjs +16 -12
  52. package/fy-input-table/index.mjs +5 -2
  53. package/fy-input-tree/index.mjs +5 -2
  54. package/fy-radio/index.mjs +13 -9
  55. package/fy-rate/index.mjs +11 -7
  56. package/fy-select/index.mjs +4 -2
  57. package/fy-slider/index.mjs +10 -7
  58. package/fy-switch/index.mjs +9 -5
  59. package/fy-time/index.mjs +6 -3
  60. package/fy-title/index.mjs +16 -12
  61. package/fy-u-editor/index.mjs +3 -2
  62. package/fy-upload/index.mjs +4 -2
  63. package/image-cropper/index.mjs +3 -2
  64. package/index.mjs +682 -743
  65. package/license/index.mjs +3 -2
  66. package/package.json +1 -1
  67. package/pageable-table/index.mjs +6 -3
  68. package/pageable-view/index.mjs +7 -6
  69. package/photo-swipe/index.mjs +15 -56
  70. package/picker-table-view/index.mjs +24 -23
  71. package/record-video/index.mjs +11 -10
  72. package/resize-observer/index.mjs +3 -2
  73. package/search/index.mjs +4 -2
  74. package/sign/index.mjs +3 -2
  75. package/table-column/index.mjs +6 -3
  76. package/table-view/index.mjs +18 -17
  77. package/tabs-view/index.mjs +1 -1
  78. package/text-ellipsis/index.mjs +3 -2
  79. package/toolbar/index.mjs +4 -3
  80. package/toolbar-button/index.mjs +4 -3
  81. package/verify/index.mjs +8 -7
  82. package/watermark/index.mjs +15 -14
  83. package/web-types.json +1 -1
  84. package/chunks/configComponents.BHkQi547.mjs +0 -45
@@ -1,16 +1,20 @@
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";
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";
3
3
  import { S as u } from "../chunks/sub-table-plus-props.BVsD71hT.mjs";
4
- import { isString as a, isArray as m, trace as b, warning as _ } from "@web-utils/core";
4
+ import { isString as a, isArray as h, 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";
7
11
  const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), v = {
8
12
  name: "FormTablePlus",
9
- mixins: [p, u],
13
+ mixins: [c, u],
10
14
  bus: {
11
15
  reloadTableView(r) {
12
16
  if (this._viewIds)
13
- if (a(r) || m(r)) {
17
+ if (a(r) || h(r)) {
14
18
  let e = r;
15
19
  a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
16
20
  } else
@@ -30,7 +34,7 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
30
34
  },
31
35
  computed: {
32
36
  inputProps() {
33
- return i({ ...h(this.$attrs), ...this.$props }, k);
37
+ return i({ ...m(this.$attrs), ...this.$props }, k);
34
38
  },
35
39
  listeners() {
36
40
  const r = i(this.$listeners, "input", !1);
@@ -70,8 +74,8 @@ var P = function() {
70
74
  var e = this, l = e._self._c;
71
75
  return l("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, "prefix-add": "", disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
72
76
  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) {
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 })];
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 })];
75
79
  } };
76
80
  }), { key: "columns", fn: function({ columns: t }) {
77
81
  return [e._t("columns", null, { columns: t })];
@@ -103,7 +107,7 @@ var P = function() {
103
107
  null,
104
108
  null
105
109
  );
106
- const F = g.exports;
110
+ const q = g.exports;
107
111
  export {
108
- F as default
112
+ q as default
109
113
  };
@@ -1,8 +1,13 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { c as a, d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
3
- import i from "element-ui/lib/input";
2
+ import { c as i, d as a, n as s } from "../chunks/index.B2TRddqf.mjs";
3
+ import l from "element-ui/lib/input";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const p = a(i).filter(
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(
6
11
  (o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
7
12
  ), m = {
8
13
  name: "FormTextarea",
@@ -30,7 +35,7 @@ const p = a(i).filter(
30
35
  },
31
36
  computed: {
32
37
  inputProps() {
33
- return s({ ...l(this.$attrs), ...this.$props }, p);
38
+ return a({ ...s(this.$attrs), ...this.$props }, p);
34
39
  }
35
40
  }
36
41
  };
@@ -51,7 +56,7 @@ var f = function() {
51
56
  null,
52
57
  null
53
58
  );
54
- const b = d.exports;
59
+ const I = d.exports;
55
60
  export {
56
- b as default
61
+ I as default
57
62
  };
@@ -1,10 +1,18 @@
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";
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";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
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 = {
6
14
  name: "FormTreeSelect",
7
- mixins: [n],
15
+ mixins: [i],
8
16
  props: {
9
17
  value: [String, Number, Array],
10
18
  multiple: Boolean,
@@ -17,12 +25,12 @@ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder",
17
25
  },
18
26
  computed: {
19
27
  inputProps() {
20
- return a({ ...i(this.$attrs), ...this.$props }, p);
28
+ return s({ ...o(this.$attrs), ...this.$props }, p);
21
29
  }
22
30
  },
23
31
  watch: {
24
32
  async value(r) {
25
- this.isValidValue = await s(this.prop, r, this.computeRules);
33
+ this.isValidValue = await n(this.prop, r, this.computeRules);
26
34
  }
27
35
  },
28
36
  methods: {
@@ -66,7 +74,7 @@ var c = function() {
66
74
  null,
67
75
  null
68
76
  );
69
- const y = f.exports;
77
+ const $ = f.exports;
70
78
  export {
71
- y as default
79
+ $ as default
72
80
  };
@@ -1,10 +1,18 @@
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";
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";
4
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
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 = {
6
14
  name: "FormTreeSelectMultiple",
7
- mixins: [n],
15
+ mixins: [i],
8
16
  props: {
9
17
  value: Array
10
18
  },
@@ -15,12 +23,12 @@ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder",
15
23
  },
16
24
  computed: {
17
25
  inputProps() {
18
- return a({ ...i(this.$attrs), ...this.$props }, c);
26
+ return s({ ...o(this.$attrs), ...this.$props }, p);
19
27
  }
20
28
  },
21
29
  watch: {
22
30
  async value(t) {
23
- this.isValidValue = await s(this.prop, t, this.computeRules);
31
+ this.isValidValue = await n(this.prop, t, this.computeRules);
24
32
  }
25
33
  },
26
34
  methods: {
@@ -45,7 +53,7 @@ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder",
45
53
  }
46
54
  }
47
55
  };
48
- var p = function() {
56
+ var d = function() {
49
57
  var e = this, l = e._self._c;
50
58
  return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
51
59
  return [e._t("default", function() {
@@ -65,14 +73,14 @@ var p = function() {
65
73
  return [e._t("tips")];
66
74
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
67
75
  }, m = [], f = /* @__PURE__ */ u(
76
+ c,
68
77
  d,
69
- p,
70
78
  m,
71
79
  !1,
72
80
  null,
73
81
  null
74
82
  );
75
- const y = f.exports;
83
+ const $ = f.exports;
76
84
  export {
77
- y as default
85
+ $ as default
78
86
  };
@@ -1,6 +1,9 @@
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";
4
7
  const p = {
5
8
  name: "FyArray",
6
9
  mixins: [a, l],
@@ -64,7 +67,7 @@ var u = function() {
64
67
  null,
65
68
  null
66
69
  );
67
- const v = m.exports;
70
+ const g = m.exports;
68
71
  export {
69
- v as default
72
+ g as default
70
73
  };
@@ -1,5 +1,9 @@
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";
3
7
  const h = {
4
8
  name: "FyCascader",
5
9
  mixins: [p, d],
@@ -50,17 +54,17 @@ const h = {
50
54
  multiple: this.multiple,
51
55
  emitPath: this.emitPath,
52
56
  lazy: this.lazy,
53
- lazyLoad: (r, e) => {
57
+ lazyLoad: (s, e) => {
54
58
  var l;
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]);
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]);
59
63
  });
60
64
  };
61
- n(this.dic, r[this.valueKey], t), e(t);
65
+ o(this.dic, s[this.valueKey], a), e(a);
62
66
  };
63
- (l = this.lazyLoad) == null || l.call(this, r, a);
67
+ (l = this.lazyLoad) == null || l.call(this, s, t);
64
68
  },
65
69
  expandTrigger: this.expandTrigger
66
70
  };
@@ -68,11 +72,11 @@ const h = {
68
72
  }
69
73
  };
70
74
  var f = function() {
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) {
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) {
73
77
  return e.handleClick.apply(null, arguments);
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]))])];
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]))])];
76
80
  } }], null, !0), model: { value: e.text, callback: function(l) {
77
81
  e.text = l;
78
82
  }, expression: "text" } });
@@ -84,7 +88,7 @@ var f = function() {
84
88
  null,
85
89
  null
86
90
  );
87
- const b = m.exports;
91
+ const K = m.exports;
88
92
  export {
89
- b as default
93
+ K as default
90
94
  };
@@ -1,8 +1,12 @@
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 = {
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 = {
4
8
  name: "FyCheckbox",
5
- mixins: [s, c],
9
+ mixins: [s, i],
6
10
  props: {
7
11
  all: {
8
12
  type: Boolean,
@@ -34,31 +38,31 @@ const h = {
34
38
  handleCheckChange() {
35
39
  const a = this.text;
36
40
  if (!this.all) return;
37
- const e = a.length, t = this.dic.length;
38
- this.checkAll = e === t, this.isIndeterminate = e > 0 && e < t;
41
+ const e = a.length, n = this.dic.length;
42
+ this.checkAll = e === n, this.isIndeterminate = e > 0 && e < n;
39
43
  }
40
44
  }
41
45
  };
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) {
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) {
47
51
  return e.handleClick.apply(null, arguments);
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]) + " ")]);
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]) + " ")]);
52
56
  }), 1)], 1);
53
- }, o = [], d = /* @__PURE__ */ i(
54
- h,
57
+ }, h = [], d = /* @__PURE__ */ c(
55
58
  r,
56
59
  o,
60
+ h,
57
61
  !1,
58
62
  null,
59
63
  null
60
64
  );
61
- const k = d.exports;
65
+ const C = d.exports;
62
66
  export {
63
- k as default
67
+ C as default
64
68
  };
package/fy-code/index.mjs CHANGED
@@ -1,6 +1,7 @@
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";
4
5
  const s = {
5
6
  name: "FyCode",
6
7
  components: {
@@ -30,21 +31,21 @@ const s = {
30
31
  setPx: n
31
32
  }
32
33
  };
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(`
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(`
38
39
  `)])])], 1);
39
- }, i = [], l = /* @__PURE__ */ r(
40
+ }, a = [], l = /* @__PURE__ */ r(
40
41
  s,
41
- a,
42
42
  i,
43
+ a,
43
44
  !1,
44
45
  null,
45
46
  null
46
47
  );
47
- const m = l.exports;
48
+ const _ = l.exports;
48
49
  export {
49
- m as default
50
+ _ as default
50
51
  };
package/fy-curd/index.mjs CHANGED
@@ -10,6 +10,8 @@ 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
11
  import R from "../icon-temp/index.mjs";
12
12
  import "../icon-temp/style.css";
13
+ import "@web-utils/integrations/dayjs";
14
+ import "../fy-u-editor/style.css";
13
15
  const p = {
14
16
  menuWidth: 220,
15
17
  menuFixed: "right",
@@ -1873,7 +1875,7 @@ var Ue = function() {
1873
1875
  null,
1874
1876
  null
1875
1877
  );
1876
- const ot = qe.exports;
1878
+ const ct = qe.exports;
1877
1879
  export {
1878
- ot as default
1880
+ ct as default
1879
1881
  };
package/fy-date/index.mjs CHANGED
@@ -1,8 +1,12 @@
1
- import { p as l, e as r } from "../chunks/event.9aDS6jcw.mjs";
1
+ import { p as r, e as l } 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";
3
7
  const o = {
4
8
  name: "FyDate",
5
- mixins: [l, r],
9
+ mixins: [r, l],
6
10
  props: {
7
11
  editable: Boolean,
8
12
  unlinkPanels: Boolean,
@@ -27,7 +31,7 @@ var i = function() {
27
31
  } }, model: { value: e.text, callback: function(t) {
28
32
  e.text = t;
29
33
  }, expression: "text" } })], 1);
30
- }, s = [], d = /* @__PURE__ */ n(
34
+ }, s = [], p = /* @__PURE__ */ n(
31
35
  o,
32
36
  i,
33
37
  s,
@@ -35,7 +39,7 @@ var i = function() {
35
39
  null,
36
40
  null
37
41
  );
38
- const f = d.exports;
42
+ const g = p.exports;
39
43
  export {
40
- f as default
44
+ g as default
41
45
  };
@@ -1,5 +1,6 @@
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";
3
4
  const v = {
4
5
  name: "FyDraggable",
5
6
  props: {
@@ -312,7 +313,7 @@ var g = function() {
312
313
  null,
313
314
  null
314
315
  );
315
- const L = _.exports;
316
+ const T = _.exports;
316
317
  export {
317
- L as default
318
+ T as default
318
319
  };
@@ -1,6 +1,9 @@
1
1
  import { p as d, e as u } from "../chunks/event.9aDS6jcw.mjs";
2
- import { d as l, o } from "../chunks/util.DqFv_pWg.mjs";
2
+ import { d as o, o as l } 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";
4
7
  const h = {
5
8
  name: "FyDynamic",
6
9
  mixins: [d, u],
@@ -29,7 +32,7 @@ const h = {
29
32
  return this.max ? this.text.length !== this.max : !0;
30
33
  },
31
34
  showIndex() {
32
- return o(this.children.index, !0);
35
+ return l(this.children.index, !0);
33
36
  },
34
37
  showType() {
35
38
  return this.children.type || "crud";
@@ -87,7 +90,7 @@ const h = {
87
90
  emptyBtn: !1,
88
91
  submitBtn: !1,
89
92
  ...(() => {
90
- const t = l(this.children);
93
+ const t = o(this.children);
91
94
  return delete t.column, t;
92
95
  })(),
93
96
  ...(() => {
@@ -107,7 +110,7 @@ const h = {
107
110
  return this.columnOption.forEach((e) => {
108
111
  t.push(
109
112
  Object.assign(e, {
110
- cell: o(e.cell, this.isCrud)
113
+ cell: l(e.cell, this.isCrud)
111
114
  })
112
115
  );
113
116
  }), {
@@ -126,7 +129,7 @@ const h = {
126
129
  this.initData();
127
130
  },
128
131
  methods: {
129
- deepClone: l,
132
+ deepClone: o,
130
133
  handleSelectionChange(t) {
131
134
  var e;
132
135
  (e = this.selectionChange) == null || e.call(this, t);
@@ -164,7 +167,7 @@ const h = {
164
167
  },
165
168
  delRow(t) {
166
169
  const e = () => {
167
- const n = l(this.text);
170
+ const n = o(this.text);
168
171
  n.splice(t, 1), this.text = n, this.reload = Math.random();
169
172
  };
170
173
  typeof this.rowDel == "function" ? this.rowDel(this.text[t], e) : e();
@@ -179,7 +182,7 @@ const h = {
179
182
  }
180
183
  }
181
184
  };
182
- var f = function() {
185
+ var m = function() {
183
186
  var e = this, n = e._self._c;
184
187
  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) {
185
188
  return n("div", { key: i, staticClass: "avue-dynamic__row", on: { mouseenter: function(s) {
@@ -210,15 +213,15 @@ var f = function() {
210
213
  return [e._t(r, null, null, i)];
211
214
  } };
212
215
  })], null, !0) }) : e._e()], 2);
213
- }, m = [], p = /* @__PURE__ */ c(
216
+ }, f = [], p = /* @__PURE__ */ c(
214
217
  h,
215
- f,
216
218
  m,
219
+ f,
217
220
  !1,
218
221
  null,
219
222
  null
220
223
  );
221
- const _ = p.exports;
224
+ const g = p.exports;
222
225
  export {
223
- _ as default
226
+ g as default
224
227
  };
@@ -1,5 +1,6 @@
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";
3
4
  const N = {
4
5
  name: "FyEmpty",
5
6
  props: {
@@ -22,7 +23,7 @@ const N = {
22
23
  var j = function() {
23
24
  var M = this, I = M._self._c;
24
25
  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);
25
- }, T = [], L = /* @__PURE__ */ A(
26
+ }, T = [], i = /* @__PURE__ */ A(
26
27
  N,
27
28
  j,
28
29
  T,
@@ -30,7 +31,7 @@ var j = function() {
30
31
  null,
31
32
  null
32
33
  );
33
- const u = L.exports;
34
+ const C = i.exports;
34
35
  export {
35
- u as default
36
+ C as default
36
37
  };
package/fy-form/index.mjs CHANGED
@@ -6,6 +6,9 @@ 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";
9
12
  const q = (i, e, r, s) => {
10
13
  if (!s) return;
11
14
  if (!window.Mock) {
@@ -634,7 +637,7 @@ var oe = function() {
634
637
  null,
635
638
  null
636
639
  );
637
- const _e = le.exports;
640
+ const Se = le.exports;
638
641
  export {
639
- _e as default
642
+ Se as default
640
643
  };
@@ -1,8 +1,12 @@
1
- import { p as r, e as a } from "../chunks/event.9aDS6jcw.mjs";
2
- import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- const p = {
1
+ import { p as r, e as o } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as p } 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 a = {
4
8
  name: "FyInput",
5
- mixins: [r, a],
9
+ mixins: [r, o],
6
10
  props: {
7
11
  showPassword: {
8
12
  type: Boolean,
@@ -62,7 +66,7 @@ const p = {
62
66
  }
63
67
  }
64
68
  };
65
- var s = function() {
69
+ var i = function() {
66
70
  var e = this, t = e._self._c;
67
71
  return t("ElInput", { staticClass: "avue-input", attrs: { size: e.size, clearable: e.clearableVal, type: e.typeParam, maxlength: e.maxlength, minlength: e.minlength, "show-password": e.typeParam === "password" ? e.showPassword : !1, rows: e.rows, autosize: { minRows: e.minRows, maxRows: e.maxRows }, "prefix-icon": e.prefixIcon, "suffix-icon": e.suffixIcon, readonly: e.readonly, placeholder: e.placeholder, "show-word-limit": e.showWordLimit, disabled: e.disabled, autocomplete: e.autocomplete }, on: { keyup: function(n) {
68
72
  if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter")) return null;
@@ -84,15 +88,15 @@ var s = function() {
84
88
  }, proxy: !0 } : null], null, !0), model: { value: e.text, callback: function(n) {
85
89
  e.text = n;
86
90
  }, expression: "text" } });
87
- }, l = [], i = /* @__PURE__ */ o(
88
- p,
91
+ }, s = [], l = /* @__PURE__ */ p(
92
+ a,
93
+ i,
89
94
  s,
90
- l,
91
95
  !1,
92
96
  null,
93
97
  null
94
98
  );
95
- const f = i.exports;
99
+ const x = l.exports;
96
100
  export {
97
- f as default
101
+ x as default
98
102
  };