@web-utils/component 4.0.9 → 4.0.10

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 (99) hide show
  1. package/chat/index.mjs +2 -3
  2. package/chunks/{FormTemp.Bu2VCxUh.mjs → FormTemp.BQxO5IQq.mjs} +1 -1
  3. package/chunks/MonacoEditor.D31t4FTy.mjs +327 -0
  4. package/chunks/PhotoSwipe.BunkqqPu.mjs +80 -0
  5. package/chunks/{configComponents.CpKi15WN.mjs → configComponents.DQaqUQFs.mjs} +4 -4
  6. package/chunks/{core.DJEgjQW6.mjs → core.0Exl13Mz.mjs} +3 -3
  7. package/chunks/{dictionary.3O-Io7Vh.mjs → dictionary.C6NmC-bT.mjs} +16 -16
  8. package/confirm-button/index.mjs +9 -14
  9. package/confirmable/index.mjs +8 -13
  10. package/data-display/index.mjs +1 -1
  11. package/data-table-picker/index.mjs +8 -10
  12. package/editable-tree/index.mjs +2 -3
  13. package/element-dialog/index.mjs +2 -3
  14. package/flex-column/index.mjs +5 -6
  15. package/flex-item/index.mjs +5 -6
  16. package/flex-row/index.mjs +2 -3
  17. package/flow/index.mjs +2 -3
  18. package/flow-designer/index.mjs +1 -1
  19. package/flow-node/index.mjs +3 -4
  20. package/flow-viewer/index.mjs +1 -1
  21. package/form-button/index.mjs +1 -1
  22. package/form-cascader/index.mjs +13 -17
  23. package/form-checkbox/index.mjs +7 -12
  24. package/form-checkbox-group/index.mjs +9 -14
  25. package/form-date-picker/index.mjs +5 -10
  26. package/form-holder/index.mjs +4 -5
  27. package/form-input/index.mjs +6 -11
  28. package/form-input-cron-expression/index.mjs +8 -13
  29. package/form-input-email/index.mjs +12 -17
  30. package/form-input-id-card/index.mjs +15 -19
  31. package/form-input-number/index.mjs +16 -23
  32. package/form-input-phone-number/index.mjs +8 -12
  33. package/form-input-tag/index.mjs +7 -12
  34. package/form-input-time/index.mjs +2 -7
  35. package/form-item/index.mjs +2 -6
  36. package/form-radio-group/index.mjs +7 -12
  37. package/form-select/index.mjs +2 -6
  38. package/form-switch/index.mjs +7 -12
  39. package/form-table/index.mjs +22 -28
  40. package/form-table-plus/index.mjs +10 -14
  41. package/form-textarea/index.mjs +6 -11
  42. package/form-tree-select/index.mjs +9 -17
  43. package/form-tree-select-multiple/index.mjs +11 -19
  44. package/form-view/index.mjs +1 -1
  45. package/fy-array/index.mjs +2 -5
  46. package/fy-cascader/index.mjs +13 -17
  47. package/fy-checkbox/index.mjs +19 -23
  48. package/fy-code/index.mjs +9 -10
  49. package/fy-curd/index.mjs +4 -6
  50. package/fy-date/index.mjs +5 -9
  51. package/fy-draggable/index.mjs +2 -3
  52. package/fy-dynamic/index.mjs +11 -14
  53. package/fy-empty/index.mjs +3 -4
  54. package/fy-form/index.mjs +3 -6
  55. package/fy-form-design/index.mjs +13 -14
  56. package/fy-input/index.mjs +10 -14
  57. package/fy-input-color/index.mjs +11 -15
  58. package/fy-input-icon/index.mjs +5 -9
  59. package/fy-input-map/index.mjs +5 -8
  60. package/fy-input-number/index.mjs +12 -16
  61. package/fy-input-table/index.mjs +2 -5
  62. package/fy-input-tree/index.mjs +2 -5
  63. package/fy-radio/index.mjs +9 -13
  64. package/fy-rate/index.mjs +7 -11
  65. package/fy-select/index.mjs +2 -4
  66. package/fy-slider/index.mjs +7 -10
  67. package/fy-switch/index.mjs +5 -9
  68. package/fy-time/index.mjs +3 -6
  69. package/fy-title/index.mjs +12 -16
  70. package/fy-u-editor/index.mjs +2 -3
  71. package/fy-upload/index.mjs +2 -4
  72. package/image-cropper/index.mjs +2 -3
  73. package/index.mjs +369 -545
  74. package/license/index.mjs +2 -3
  75. package/monaco-editor/index.mjs +5 -205
  76. package/package.json +1 -1
  77. package/page-skeleton/index.mjs +3 -3
  78. package/pageable-table/index.mjs +3 -6
  79. package/pageable-view/index.mjs +6 -7
  80. package/photo-swipe/index.mjs +3 -36
  81. package/picker-table-view/index.mjs +23 -24
  82. package/present-view/index.mjs +1 -1
  83. package/record-video/index.mjs +10 -11
  84. package/resize-observer/index.mjs +2 -3
  85. package/search/index.mjs +2 -4
  86. package/sign/index.mjs +2 -3
  87. package/split-pane/index.mjs +1 -1
  88. package/swiper/index.mjs +1 -1
  89. package/table-column/index.mjs +4 -7
  90. package/table-view/index.mjs +4 -5
  91. package/tabs-view/index.mjs +1 -1
  92. package/text-ellipsis/index.mjs +2 -3
  93. package/toolbar/index.mjs +3 -4
  94. package/toolbar-button/index.mjs +3 -4
  95. package/verify/index.mjs +7 -8
  96. package/watermark/index.mjs +14 -15
  97. package/web-types.json +1 -1
  98. package/chunks/index.BmYCjxZQ.mjs +0 -47
  99. package/chunks/json-beautifier.Bp3GslGm.mjs +0 -123
@@ -1,12 +1,8 @@
1
- import { p as r, e as o } from "../chunks/event.9aDS6jcw.mjs";
2
- import { n as l } 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";
1
+ import { p as r, e as l } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
3
  const a = {
8
4
  name: "FyInputNumber",
9
- mixins: [r, o],
5
+ mixins: [r, l],
10
6
  props: {
11
7
  controls: {
12
8
  type: Boolean,
@@ -33,22 +29,22 @@ const a = {
33
29
  }
34
30
  }
35
31
  };
36
- var i = function() {
37
- var e = this, n = e._self._c;
38
- return n("ElInputNumber", { staticClass: "avue-input-number", attrs: { precision: e.precision, placeholder: e.placeholder, size: e.size, min: e.min, max: e.max, step: e.step, clearable: e.clearableVal, readonly: e.readonly, "controls-position": e.controlsPosition, controls: e.controls, label: e.placeholder, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(t) {
32
+ var s = function() {
33
+ var e = this, t = e._self._c;
34
+ return t("ElInputNumber", { staticClass: "avue-input-number", attrs: { precision: e.precision, placeholder: e.placeholder, size: e.size, min: e.min, max: e.max, step: e.step, clearable: e.clearableVal, readonly: e.readonly, "controls-position": e.controlsPosition, controls: e.controls, label: e.placeholder, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(n) {
39
35
  return e.handleClick.apply(null, arguments);
40
- } }, model: { value: e.text, callback: function(t) {
41
- e.text = e._n(t);
36
+ } }, model: { value: e.text, callback: function(n) {
37
+ e.text = e._n(n);
42
38
  }, expression: "text" } });
43
- }, s = [], p = /* @__PURE__ */ l(
39
+ }, i = [], c = /* @__PURE__ */ o(
44
40
  a,
45
- i,
46
41
  s,
42
+ i,
47
43
  !1,
48
44
  null,
49
45
  null
50
46
  );
51
- const y = p.exports;
47
+ const d = c.exports;
52
48
  export {
53
- y as default
49
+ d as default
54
50
  };
@@ -1,9 +1,6 @@
1
1
  import { p as n, e as r } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { isBlank as s } from "@web-utils/core";
3
3
  import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/util.DqFv_pWg.mjs";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const l = {
8
5
  name: "FyInputTable",
9
6
  mixins: [n, r],
@@ -102,7 +99,7 @@ var h = function() {
102
99
  null,
103
100
  null
104
101
  );
105
- const v = d.exports;
102
+ const g = d.exports;
106
103
  export {
107
- v as default
104
+ g as default
108
105
  };
@@ -1,9 +1,6 @@
1
1
  import { p as u, e as h } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { isBlank as n } from "@web-utils/core";
3
3
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/util.DqFv_pWg.mjs";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const f = {
8
5
  name: "FyInputTree",
9
6
  mixins: [u, h],
@@ -176,7 +173,7 @@ var y = function() {
176
173
  null,
177
174
  null
178
175
  );
179
- const g = k.exports;
176
+ const K = k.exports;
180
177
  export {
181
- g as default
178
+ K as default
182
179
  };
@@ -1,10 +1,6 @@
1
1
  import { p as t, e as o } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { n as l } 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 i = {
3
+ const s = {
8
4
  name: "FyRadio",
9
5
  mixins: [t, o],
10
6
  props: {
@@ -18,24 +14,24 @@ const i = {
18
14
  };
19
15
  }
20
16
  };
21
- var s = function() {
22
- var e = this, r = e._self._c;
23
- return r("div", { staticClass: "avue-radio" }, [r("ElRadioGroup", { attrs: { size: e.size, disabled: e.disabled }, nativeOn: { click: function(a) {
17
+ var i = function() {
18
+ var e = this, n = e._self._c;
19
+ return n("div", { staticClass: "avue-radio" }, [n("ElRadioGroup", { attrs: { size: e.size, disabled: e.disabled }, nativeOn: { click: function(a) {
24
20
  return e.handleClick.apply(null, arguments);
25
21
  } }, model: { value: e.text, callback: function(a) {
26
22
  e.text = a;
27
- }, expression: "text" } }, e._l(e.dic, function(a, n) {
28
- return r(e.componentName, { key: n, tag: "Component", attrs: { label: a[e.valueKey], border: e.border, readonly: e.readonly, disabled: a[e.disabledKey] } }, [e._v(" " + e._s(a[e.labelKey]) + " ")]);
23
+ }, expression: "text" } }, e._l(e.dic, function(a, r) {
24
+ return n(e.componentName, { key: r, tag: "Component", attrs: { label: a[e.valueKey], border: e.border, readonly: e.readonly, disabled: a[e.disabledKey] } }, [e._v(" " + e._s(a[e.labelKey]) + " ")]);
29
25
  }), 1)], 1);
30
26
  }, d = [], c = /* @__PURE__ */ l(
31
- i,
32
27
  s,
28
+ i,
33
29
  d,
34
30
  !1,
35
31
  null,
36
32
  null
37
33
  );
38
- const y = c.exports;
34
+ const m = c.exports;
39
35
  export {
40
- y as default
36
+ m as default
41
37
  };
package/fy-rate/index.mjs CHANGED
@@ -1,12 +1,8 @@
1
- import { p as l, e as t } from "../chunks/event.9aDS6jcw.mjs";
2
- import { n as a } 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";
1
+ import { p as l, e as a } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
3
  const r = {
8
4
  name: "FyRate",
9
- mixins: [l, t],
5
+ mixins: [l, a],
10
6
  props: {
11
7
  allowHalf: Boolean,
12
8
  lowThreshold: Number,
@@ -61,15 +57,15 @@ var n = function() {
61
57
  } }, model: { value: e.text, callback: function(o) {
62
58
  e.text = o;
63
59
  }, expression: "text" } });
64
- }, i = [], d = /* @__PURE__ */ a(
60
+ }, d = [], i = /* @__PURE__ */ t(
65
61
  r,
66
62
  n,
67
- i,
63
+ d,
68
64
  !1,
69
65
  null,
70
66
  null
71
67
  );
72
- const y = d.exports;
68
+ const p = i.exports;
73
69
  export {
74
- y as default
70
+ p as default
75
71
  };
@@ -4,8 +4,6 @@ import { b as d } from "../chunks/util.DqFv_pWg.mjs";
4
4
  import { isBlank as p } from "@web-utils/core";
5
5
  import { p as u } from "../chunks/packages.ByyangTp.mjs";
6
6
  import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- import "../chunks/slot.DXIbhGat.mjs";
8
- import "../chunks/dataformat.CpqOeGBl.mjs";
9
7
  const h = {
10
8
  name: "FySelect",
11
9
  mixins: [i, r],
@@ -134,7 +132,7 @@ var m = function() {
134
132
  null,
135
133
  null
136
134
  );
137
- const B = y.exports;
135
+ const K = y.exports;
138
136
  export {
139
- B as default
137
+ K as default
140
138
  };
@@ -1,10 +1,7 @@
1
1
  import { p as s, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { s as r } from "../chunks/util.DqFv_pWg.mjs";
3
- import { n as i } 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
- const a = {
3
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ const l = {
8
5
  name: "FySlider",
9
6
  mixins: [s, n],
10
7
  props: {
@@ -26,22 +23,22 @@ const a = {
26
23
  setPx: r
27
24
  }
28
25
  };
29
- var l = function() {
26
+ var i = function() {
30
27
  var o = this, e = o._self._c;
31
28
  return e("ElSlider", { attrs: { disabled: o.disabled, vertical: o.vertical, height: o.setPx(o.height), step: o.step, min: o.min, max: o.max, range: o.range, "show-stops": o.showStops, "show-tooltip": o.showTooltip, "show-input": o.showInput, "show-input-controls": o.showInputControls, "input-size": o.size, "tooltip-class": o.tooltipClass, marks: o.marks, "format-tooltip": o.formatTooltip }, nativeOn: { click: function(t) {
32
29
  return o.handleClick.apply(null, arguments);
33
30
  } }, model: { value: o.text, callback: function(t) {
34
31
  o.text = t;
35
32
  }, expression: "text" } });
36
- }, p = [], m = /* @__PURE__ */ i(
37
- a,
33
+ }, p = [], m = /* @__PURE__ */ a(
38
34
  l,
35
+ i,
39
36
  p,
40
37
  !1,
41
38
  null,
42
39
  null
43
40
  );
44
- const w = m.exports;
41
+ const d = m.exports;
45
42
  export {
46
- w as default
43
+ d as default
47
44
  };
@@ -1,10 +1,6 @@
1
1
  import { p as a, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
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 = {
3
+ const l = {
8
4
  name: "FySwitch",
9
5
  mixins: [a, n],
10
6
  props: {
@@ -25,7 +21,7 @@ const r = {
25
21
  }
26
22
  }
27
23
  };
28
- var l = function() {
24
+ var r = function() {
29
25
  var e = this, i = e._self._c;
30
26
  return i("ElSwitch", { attrs: { "active-text": e.active[e.labelKey], "active-value": e.active[e.valueKey], "inactive-value": e.inactive[e.valueKey], "inactive-text": e.inactive[e.labelKey], "active-icon-class": e.activeIconClass, "inactive-icon-class": e.inactiveIconClass, "active-color": e.activeColor, "inactive-color": e.inactiveColor, width: e.len, disabled: e.disabled, readonly: e.readonly, size: e.size }, nativeOn: { click: function(t) {
31
27
  return e.handleClick.apply(null, arguments);
@@ -33,14 +29,14 @@ var l = function() {
33
29
  e.text = t;
34
30
  }, expression: "text" } });
35
31
  }, o = [], s = /* @__PURE__ */ c(
36
- r,
37
32
  l,
33
+ r,
38
34
  o,
39
35
  !1,
40
36
  null,
41
37
  null
42
38
  );
43
- const y = s.exports;
39
+ const m = s.exports;
44
40
  export {
45
- y as default
41
+ m as default
46
42
  };
package/fy-time/index.mjs CHANGED
@@ -1,9 +1,6 @@
1
1
  import { p as n, e as o } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { isBlank as l } from "@web-utils/core";
3
3
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/util.DqFv_pWg.mjs";
5
- import "../chunks/slot.DXIbhGat.mjs";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const s = {
8
5
  name: "FyTime",
9
6
  mixins: [n, o],
@@ -42,7 +39,7 @@ var p = function() {
42
39
  } }, model: { value: e.text, callback: function(a) {
43
40
  e.text = a;
44
41
  }, expression: "text" } })], 1);
45
- }, c = [], m = /* @__PURE__ */ i(
42
+ }, c = [], d = /* @__PURE__ */ i(
46
43
  s,
47
44
  p,
48
45
  c,
@@ -50,7 +47,7 @@ var p = function() {
50
47
  null,
51
48
  null
52
49
  );
53
- const _ = m.exports;
50
+ const h = d.exports;
54
51
  export {
55
- _ as default
52
+ h as default
56
53
  };
@@ -1,12 +1,8 @@
1
- import { p as s, e as r } from "../chunks/event.9aDS6jcw.mjs";
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
- const o = {
1
+ import { p as s, e as n } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const a = {
8
4
  name: "FyTitle",
9
- mixins: [s, r],
5
+ mixins: [s, n],
10
6
  props: {
11
7
  styles: {
12
8
  type: Object,
@@ -14,18 +10,18 @@ const o = {
14
10
  }
15
11
  }
16
12
  };
17
- var a = function() {
18
- var t = this, e = t._self._c;
19
- return e("div", { staticClass: "avue-title" }, [e("p", { style: t.styles }, [t._v(" " + t._s(t.text) + " ")])]);
20
- }, i = [], p = /* @__PURE__ */ n(
21
- o,
13
+ var l = function() {
14
+ var e = this, t = e._self._c;
15
+ return t("div", { staticClass: "avue-title" }, [t("p", { style: e.styles }, [e._v(" " + e._s(e.text) + " ")])]);
16
+ }, o = [], _ = /* @__PURE__ */ r(
22
17
  a,
23
- i,
18
+ l,
19
+ o,
24
20
  !1,
25
21
  null,
26
22
  null
27
23
  );
28
- const d = p.exports;
24
+ const m = _.exports;
29
25
  export {
30
- d as default
26
+ m as default
31
27
  };
@@ -2,7 +2,6 @@ import "@wangeditor/editor/dist/css/style.css";
2
2
  import { createEditor as u, createToolbar as f } from "@wangeditor/editor";
3
3
  import { p } from "../chunks/util.DqFv_pWg.mjs";
4
4
  import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "@web-utils/core";
6
5
  const y = (e) => {
7
6
  const { region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a } = e;
8
7
  return new window.OSS({ region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a });
@@ -352,7 +351,7 @@ var v = function() {
352
351
  null,
353
352
  null
354
353
  );
355
- const j = O.exports;
354
+ const k = O.exports;
356
355
  export {
357
- j as default
356
+ k as default
358
357
  };
@@ -3,8 +3,6 @@ import { B, i as T, p as N } from "../chunks/util.DqFv_pWg.mjs";
3
3
  import { p as A } from "../chunks/packages.ByyangTp.mjs";
4
4
  import { isBlank as b } from "@web-utils/core";
5
5
  import { n as K } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- import "../chunks/slot.DXIbhGat.mjs";
7
- import "../chunks/dataformat.CpqOeGBl.mjs";
8
6
  let d, g;
9
7
  const w = {
10
8
  width: 200,
@@ -417,7 +415,7 @@ var Q = function() {
417
415
  null,
418
416
  null
419
417
  );
420
- const st = X.exports;
418
+ const it = X.exports;
421
419
  export {
422
- st as default
420
+ it as default
423
421
  };
@@ -1,7 +1,6 @@
1
1
  import { B as r } from "../chunks/util.DqFv_pWg.mjs";
2
2
  import { VueCropper as n } from "vue-cropper";
3
3
  import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "@web-utils/core";
5
4
  const p = {
6
5
  name: "ImageCropper",
7
6
  components: {
@@ -68,7 +67,7 @@ var a = function() {
68
67
  null,
69
68
  null
70
69
  );
71
- const v = c.exports;
70
+ const h = c.exports;
72
71
  export {
73
- v as default
72
+ h as default
74
73
  };