@web-utils/component 3.0.2 → 3.0.3

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 (166) hide show
  1. package/address-input/index.mjs +14 -14
  2. package/chat/index.mjs +39 -40
  3. package/chunk-file-uploader/index.mjs +35 -594
  4. package/chunk-file-uploader/style.css +1 -1
  5. package/chunks/FormTemp.d079292b.mjs +139 -0
  6. package/chunks/{dataformat.816df805.mjs → dataformat.e655611c.mjs} +6 -6
  7. package/chunks/detail.d6f8e347.mjs +29 -0
  8. package/chunks/{dic.3b4ba802.mjs → dic.eaac0823.mjs} +40 -40
  9. package/chunks/{event.4377230d.mjs → event.10295951.mjs} +2 -2
  10. package/chunks/form-input-mixin.78a567bc.mjs +24 -0
  11. package/chunks/form-item-mixin.57cb2019.mjs +140 -0
  12. package/chunks/{index.d91bd77a.mjs → index.57f871af.mjs} +7 -7
  13. package/chunks/{init.f0a03127.mjs → init.47f219b4.mjs} +2 -2
  14. package/chunks/input-number-mixin.41a066be.mjs +60 -0
  15. package/chunks/{util.7844e2c2.mjs → util.ae730cde.mjs} +21 -21
  16. package/count-up/index.mjs +17 -14
  17. package/data-box/index.mjs +18 -19
  18. package/data-display/index.mjs +17 -18
  19. package/data-icons/index.mjs +16 -17
  20. package/data-panel/index.mjs +20 -21
  21. package/data-pay/index.mjs +15 -16
  22. package/data-progress/index.mjs +19 -20
  23. package/data-rotate/index.mjs +35 -36
  24. package/data-table-picker/index.mjs +23 -25
  25. package/data-tabs/index.mjs +15 -16
  26. package/dialog-form/index.mjs +11 -12
  27. package/dynamic-table/index.mjs +34 -35
  28. package/easy-popup/index.mjs +56 -29
  29. package/editable-tree/index.mjs +485 -134
  30. package/element-dialog/index.mjs +127 -37
  31. package/empty-view/index.mjs +31 -13
  32. package/flex-column/index.mjs +1 -1
  33. package/flex-item/index.mjs +1 -1
  34. package/flex-row/index.mjs +1 -1
  35. package/flow/index.mjs +40 -105
  36. package/flow-designer/index.mjs +555 -615
  37. package/flow-node/index.mjs +47 -15
  38. package/flow-viewer/index.mjs +78 -167
  39. package/form-cascader/index.mjs +24 -24
  40. package/form-checkbox-group/index.mjs +35 -79
  41. package/form-date-picker/index.mjs +22 -22
  42. package/form-holder/index.mjs +1 -1
  43. package/form-input/index.mjs +86 -28
  44. package/form-input-email/index.mjs +18 -18
  45. package/form-input-id-card/index.mjs +27 -27
  46. package/form-input-number/index.mjs +59 -219
  47. package/form-input-phone-number/index.mjs +27 -27
  48. package/form-input-tag/index.mjs +38 -160
  49. package/form-input-time/index.mjs +16 -16
  50. package/form-item/index.mjs +146 -15
  51. package/form-item-group/index.mjs +164 -14
  52. package/form-radio-group/index.mjs +41 -41
  53. package/form-select/index.mjs +20 -20
  54. package/form-switch/index.mjs +19 -19
  55. package/form-textarea/index.mjs +29 -29
  56. package/form-view/index.mjs +42 -46
  57. package/fy-array/index.mjs +2 -2
  58. package/fy-cascader/index.mjs +15 -15
  59. package/fy-checkbox/index.mjs +1 -1
  60. package/fy-code/index.mjs +1 -1
  61. package/fy-curd/index.mjs +2824 -210
  62. package/fy-date/index.mjs +59 -17
  63. package/fy-draggable/index.mjs +1 -1
  64. package/fy-dynamic/index.mjs +208 -64
  65. package/fy-empty/index.mjs +29 -12
  66. package/fy-form/index.mjs +743 -178
  67. package/fy-form-design/index.mjs +1013 -1540
  68. package/fy-input/index.mjs +105 -17
  69. package/fy-input-color/index.mjs +67 -16
  70. package/fy-input-icon/index.mjs +119 -23
  71. package/fy-input-map/index.mjs +14 -15
  72. package/fy-input-number/index.mjs +1 -1
  73. package/fy-input-table/index.mjs +19 -21
  74. package/fy-input-tree/index.mjs +3 -3
  75. package/fy-radio/index.mjs +1 -1
  76. package/fy-rate/index.mjs +50 -16
  77. package/fy-select/index.mjs +126 -29
  78. package/fy-slider/index.mjs +2 -2
  79. package/fy-switch/index.mjs +1 -1
  80. package/fy-tabs/index.mjs +51 -15
  81. package/fy-time/index.mjs +1 -1
  82. package/fy-title/index.mjs +1 -1
  83. package/fy-tree/index.mjs +23 -25
  84. package/fy-u-editor/index.mjs +1 -1
  85. package/fy-upload/index.mjs +2 -2
  86. package/highlight-j-s/index.mjs +29 -19
  87. package/icon-temp/index.mjs +30 -12
  88. package/iframe-window/index.mjs +18 -19
  89. package/image-cropper/index.mjs +22 -23
  90. package/image-preview/index.mjs +1 -1
  91. package/input-number/index.mjs +173 -63
  92. package/license/index.mjs +1 -1
  93. package/loading-view/index.mjs +33 -15
  94. package/login/index.mjs +1 -1
  95. package/nav-bar/index.mjs +31 -15
  96. package/package.json +1 -1
  97. package/page/index.mjs +20 -12
  98. package/page-header/index.mjs +34 -13
  99. package/page-index-top/index.mjs +53 -100
  100. package/page-skeleton/index.mjs +35 -18
  101. package/page-skeleton-new/index.mjs +15 -16
  102. package/pageable-table/index.mjs +228 -86
  103. package/pageable-view/index.mjs +1 -1
  104. package/present-view/index.mjs +71 -75
  105. package/record-video/index.mjs +1 -1
  106. package/resize-observer/index.mjs +29 -21
  107. package/search/index.mjs +9 -9
  108. package/search-popover/index.mjs +1 -1
  109. package/sign/index.mjs +1 -1
  110. package/split-pane/index.mjs +45 -40
  111. package/swiper/index.mjs +13 -14
  112. package/table-view/index.mjs +97 -631
  113. package/text-ellipsis/index.mjs +1 -1
  114. package/tinymce-editor/index.mjs +63 -63
  115. package/toolbar/index.mjs +208 -15
  116. package/toolbar-button/index.mjs +56 -30
  117. package/verify/index.mjs +1 -1
  118. package/watermark/index.mjs +1 -1
  119. package/web-types.json +1 -1
  120. package/x-input-tag/index.mjs +118 -49
  121. package/chunks/CountUp.f1a19f35.mjs +0 -124
  122. package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +0 -8
  123. package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +0 -32
  124. package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +0 -356
  125. package/chunks/ElementDialog.d8f3105c.mjs +0 -211
  126. package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +0 -95
  127. package/chunks/EmptyView.e2430422.mjs +0 -51
  128. package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +0 -23
  129. package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +0 -37
  130. package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +0 -65
  131. package/chunks/FormItem.2920ac0c.mjs +0 -45
  132. package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +0 -258
  133. package/chunks/FormItemGroup.41daddb6.mjs +0 -64
  134. package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +0 -155
  135. package/chunks/FyCurd.8acd2983.mjs +0 -548
  136. package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +0 -2945
  137. package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +0 -47
  138. package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +0 -151
  139. package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +0 -22
  140. package/chunks/FyForm.0294e494.mjs +0 -439
  141. package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +0 -737
  142. package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +0 -93
  143. package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +0 -56
  144. package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +0 -158
  145. package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +0 -39
  146. package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +0 -102
  147. package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +0 -41
  148. package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +0 -15
  149. package/chunks/IconTemp.42c48e1f.mjs +0 -32
  150. package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +0 -23
  151. package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +0 -172
  152. package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +0 -23
  153. package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +0 -21
  154. package/chunks/Page.81f4b8d9.mjs +0 -32
  155. package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +0 -13
  156. package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +0 -26
  157. package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +0 -88
  158. package/chunks/PageableTable.333cbdc1.mjs +0 -335
  159. package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +0 -148
  160. package/chunks/ResizeObserver.60f728f0.mjs +0 -54
  161. package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +0 -13
  162. package/chunks/TableColumn.8503272e.mjs +0 -106
  163. package/chunks/Toolbar.5c539dbb.mjs +0 -24
  164. package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +0 -275
  165. package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +0 -31
  166. package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +0 -74
@@ -1,23 +1,23 @@
1
1
  var c = Object.defineProperty;
2
2
  var s = Object.getOwnPropertySymbols;
3
3
  var f = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
4
- var a = (e, t, o) => t in e ? c(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, l = (e, t) => {
5
- for (var o in t || (t = {}))
6
- f.call(t, o) && a(e, o, t[o]);
4
+ var a = (e, t, r) => t in e ? c(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, l = (e, t) => {
5
+ for (var r in t || (t = {}))
6
+ f.call(t, r) && a(e, r, t[r]);
7
7
  if (s)
8
- for (var o of s(t))
9
- h.call(t, o) && a(e, o, t[o]);
8
+ for (var r of s(t))
9
+ h.call(t, r) && a(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { _, f as m } from "../chunks/FormItem.2920ac0c.mjs";
13
- import { f as y } from "../chunks/form-pick-mixin.61ad06b2.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.78a567bc.mjs";
13
+ import { f as _ } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
14
  import i from "element-ui/lib/radio-group";
15
- import { h as d, n as v } from "../chunks/index.d91bd77a.mjs";
15
+ import { d, n as y } from "../chunks/index.57f871af.mjs";
16
16
  import u from "element-ui/lib/radio";
17
- import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
18
- var g = function() {
19
- var e = this, t = e.$createElement, o = e._self._c || t;
20
- return o(_, e._b({
17
+ import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
18
+ var b = function() {
19
+ var e = this, t = e.$createElement, r = e._self._c || t;
20
+ return r("FormItem", e._b({
21
21
  class: ["form-radio-group", {
22
22
  "form-radio-group-row": e.fillRow,
23
23
  inline: e.inline
@@ -29,7 +29,7 @@ var g = function() {
29
29
  scopedSlots: e._u([{
30
30
  key: "default",
31
31
  fn: function() {
32
- return [o(i, e._g(e._b({
32
+ return [r(i, e._g(e._b({
33
33
  class: {
34
34
  "over-flow": e.overFlow
35
35
  },
@@ -39,36 +39,36 @@ var g = function() {
39
39
  placeholder: e.computePlaceholder
40
40
  },
41
41
  on: {
42
- input: function(r) {
43
- return e.$emit("input", r);
42
+ input: function(o) {
43
+ return e.$emit("input", o);
44
44
  }
45
45
  }
46
- }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
47
- return o(u, {
48
- key: r[e.valueKey],
46
+ }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(o) {
47
+ return r(u, {
48
+ key: o[e.valueKey],
49
49
  attrs: {
50
- label: r[e.valueKey]
50
+ label: o[e.valueKey]
51
51
  },
52
52
  nativeOn: {
53
53
  click: function(n) {
54
- return n.preventDefault(), n.stopPropagation(), e.toggle(r);
54
+ return n.preventDefault(), n.stopPropagation(), e.toggle(o);
55
55
  }
56
56
  }
57
- }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
58
- }) : e._l(e.innerOptions, function(r) {
59
- return o(u, {
60
- key: r[e.valueKey],
57
+ }, [e._v(" " + e._s(o[e.labelKey]) + " ")]);
58
+ }) : e._l(e.innerOptions, function(o) {
59
+ return r(u, {
60
+ key: o[e.valueKey],
61
61
  attrs: {
62
- label: r[e.valueKey]
62
+ label: o[e.valueKey]
63
63
  }
64
- }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
64
+ }, [e._v(" " + e._s(o[e.labelKey]) + " ")]);
65
65
  })], 2), e._t("append")];
66
66
  },
67
67
  proxy: !0
68
68
  }, {
69
69
  key: "error",
70
- fn: function(r) {
71
- var n = r.error;
70
+ fn: function(o) {
71
+ var n = o.error;
72
72
  return [e._t("error", null, {
73
73
  error: n
74
74
  })];
@@ -87,12 +87,12 @@ var g = function() {
87
87
  proxy: !0
88
88
  }], null, !0)
89
89
  }, "FormItem", e.formItemProps, !1));
90
- }, K = [];
91
- const w = Object.keys(i.props || i.default.props).filter(
90
+ }, g = [];
91
+ const K = Object.keys(i.props || i.default.props).filter(
92
92
  (e) => !["value", "placeholder", "disabled"].includes(e)
93
- ), B = {
93
+ ), w = {
94
94
  name: "FormRadioGroup",
95
- mixins: [m, y],
95
+ mixins: [m, _],
96
96
  props: {
97
97
  options: {
98
98
  type: Array,
@@ -123,7 +123,7 @@ const w = Object.keys(i.props || i.default.props).filter(
123
123
  return "请选择";
124
124
  },
125
125
  inputProps() {
126
- return d(l(l({}, v(this.$attrs)), this.$props), w);
126
+ return d(l(l({}, y(this.$attrs)), this.$props), K);
127
127
  },
128
128
  labelKey() {
129
129
  return this.classic ? "label" : this.labelProp;
@@ -162,23 +162,23 @@ const w = Object.keys(i.props || i.default.props).filter(
162
162
  }
163
163
  }
164
164
  }, p = {};
165
- var P = /* @__PURE__ */ b(
166
- B,
165
+ var B = /* @__PURE__ */ v(
166
+ w,
167
+ b,
167
168
  g,
168
- K,
169
169
  !1,
170
- x,
170
+ P,
171
171
  null,
172
172
  null,
173
173
  null
174
174
  );
175
- function x(e) {
175
+ function P(e) {
176
176
  for (let t in p)
177
177
  this[t] = p[t];
178
178
  }
179
- const $ = /* @__PURE__ */ function() {
180
- return P.exports;
179
+ const S = /* @__PURE__ */ function() {
180
+ return B.exports;
181
181
  }();
182
182
  export {
183
- $ as default
183
+ S as default
184
184
  };
@@ -9,15 +9,15 @@ var a = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
9
9
  f.call(r, t) && a(e, t, r[t]);
10
10
  return e;
11
11
  };
12
- import { _ as h, f as _ } from "../chunks/FormItem.2920ac0c.mjs";
12
+ import { f as h } from "../chunks/form-input-mixin.78a567bc.mjs";
13
13
  import { f as m } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
14
  import s from "element-ui/lib/select";
15
- import { h as y, n as d } from "../chunks/index.d91bd77a.mjs";
16
- import v from "element-ui/lib/option";
17
- import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
18
- var g = function() {
15
+ import { d as _, n as y } from "../chunks/index.57f871af.mjs";
16
+ import d from "element-ui/lib/option";
17
+ import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
18
+ var b = function() {
19
19
  var e = this, r = e.$createElement, t = e._self._c || r;
20
- return t(h, e._b({
20
+ return t("FormItem", e._b({
21
21
  attrs: {
22
22
  rules: e.computeRules,
23
23
  disabled: e.inputDisabled
@@ -36,7 +36,7 @@ var g = function() {
36
36
  input: e.emitInput
37
37
  }
38
38
  }, "ElSelect", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(n) {
39
- return t(v, {
39
+ return t(d, {
40
40
  key: n[e.valueKey],
41
41
  attrs: {
42
42
  value: n[e.valueKey],
@@ -74,12 +74,12 @@ var g = function() {
74
74
  proxy: !0
75
75
  }], null, !0)
76
76
  }, "FormItem", e.formItemProps, !1));
77
- }, K = [];
78
- const P = Object.keys(s.props || s.default.props).filter(
77
+ }, g = [];
78
+ const K = Object.keys(s.props || s.default.props).filter(
79
79
  (e) => !["value", "placeholder", "disabled"].includes(e)
80
- ), x = {
80
+ ), P = {
81
81
  name: "FormSelect",
82
- mixins: [_, m],
82
+ mixins: [h, m],
83
83
  props: {
84
84
  options: {
85
85
  type: Array,
@@ -116,7 +116,7 @@ const P = Object.keys(s.props || s.default.props).filter(
116
116
  return this.classic ? "value" : this.valueProp;
117
117
  },
118
118
  inputProps() {
119
- return y(l(l({}, d(this.$attrs)), this.$props), P);
119
+ return _(l(l({}, y(this.$attrs)), this.$props), K);
120
120
  },
121
121
  innerOptions() {
122
122
  return this.gender ? [
@@ -146,23 +146,23 @@ const P = Object.keys(s.props || s.default.props).filter(
146
146
  }
147
147
  }
148
148
  }, u = {};
149
- var S = /* @__PURE__ */ b(
150
- x,
149
+ var x = /* @__PURE__ */ v(
150
+ P,
151
+ b,
151
152
  g,
152
- K,
153
153
  !1,
154
- B,
154
+ S,
155
155
  null,
156
156
  null,
157
157
  null
158
158
  );
159
- function B(e) {
159
+ function S(e) {
160
160
  for (let r in u)
161
161
  this[r] = u[r];
162
162
  }
163
- const M = /* @__PURE__ */ function() {
164
- return S.exports;
163
+ const D = /* @__PURE__ */ function() {
164
+ return x.exports;
165
165
  }();
166
166
  export {
167
- M as default
167
+ D as default
168
168
  };
@@ -1,21 +1,21 @@
1
1
  var p = Object.defineProperty;
2
2
  var l = Object.getOwnPropertySymbols;
3
- var c = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
3
+ var c = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
4
  var u = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
5
5
  for (var r in t || (t = {}))
6
6
  c.call(t, r) && u(e, r, t[r]);
7
7
  if (l)
8
8
  for (var r of l(t))
9
- _.call(t, r) && u(e, r, t[r]);
9
+ m.call(t, r) && u(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { _ as m, f as d } from "../chunks/FormItem.2920ac0c.mjs";
12
+ import { f as d } from "../chunks/form-input-mixin.78a567bc.mjs";
13
13
  import o from "element-ui/lib/switch";
14
- import { h as f, n as v } from "../chunks/index.d91bd77a.mjs";
15
- import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var h = function() {
14
+ import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
15
+ import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
+ var y = function() {
17
17
  var e = this, t = e.$createElement, r = e._self._c || t;
18
- return r(m, e._b({
18
+ return r("FormItem", e._b({
19
19
  attrs: {
20
20
  rules: e.computeRules,
21
21
  disabled: e.inputDisabled
@@ -66,10 +66,10 @@ var h = function() {
66
66
  proxy: !0
67
67
  }], null, !0)
68
68
  }, "FormItem", e.formItemProps, !1));
69
- }, b = [];
70
- const x = Object.keys(o.props || o.default.props).filter(
69
+ }, h = [];
70
+ const b = Object.keys(o.props || o.default.props).filter(
71
71
  (e) => !["value", "placeholder", "disabled"].includes(e)
72
- ), S = {
72
+ ), x = {
73
73
  name: "FormSwitch",
74
74
  mixins: [d],
75
75
  props: {
@@ -79,7 +79,7 @@ const x = Object.keys(o.props || o.default.props).filter(
79
79
  },
80
80
  computed: {
81
81
  inputProps() {
82
- return f(n(n({}, v(this.$attrs)), this.$props), x);
82
+ return f(n(n({}, _(this.$attrs)), this.$props), b);
83
83
  }
84
84
  },
85
85
  methods: {
@@ -88,23 +88,23 @@ const x = Object.keys(o.props || o.default.props).filter(
88
88
  }
89
89
  }
90
90
  }, s = {};
91
- var P = /* @__PURE__ */ y(
92
- S,
91
+ var S = /* @__PURE__ */ v(
92
+ x,
93
+ y,
93
94
  h,
94
- b,
95
95
  !1,
96
- k,
96
+ I,
97
97
  null,
98
98
  null,
99
99
  null
100
100
  );
101
- function k(e) {
101
+ function I(e) {
102
102
  for (let t in s)
103
103
  this[t] = s[t];
104
104
  }
105
- const j = /* @__PURE__ */ function() {
106
- return P.exports;
105
+ const w = /* @__PURE__ */ function() {
106
+ return S.exports;
107
107
  }();
108
108
  export {
109
- j as default
109
+ w as default
110
110
  };
@@ -1,21 +1,21 @@
1
1
  var p = Object.defineProperty;
2
2
  var s = Object.getOwnPropertySymbols;
3
3
  var m = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var u = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
5
- for (var r in t || (t = {}))
6
- m.call(t, r) && u(e, r, t[r]);
4
+ var a = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, n = (e, r) => {
5
+ for (var t in r || (r = {}))
6
+ m.call(r, t) && a(e, t, r[t]);
7
7
  if (s)
8
- for (var r of s(t))
9
- c.call(t, r) && u(e, r, t[r]);
8
+ for (var t of s(r))
9
+ c.call(r, t) && a(e, t, r[t]);
10
10
  return e;
11
11
  };
12
- import { _, f } from "../chunks/FormItem.2920ac0c.mjs";
13
- import { h as d, n as h } from "../chunks/index.d91bd77a.mjs";
12
+ import { f } from "../chunks/form-input-mixin.78a567bc.mjs";
13
+ import { d, n as _ } from "../chunks/index.57f871af.mjs";
14
14
  import l from "element-ui/lib/input";
15
- import { n as x } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var y = function() {
17
- var e = this, t = e.$createElement, r = e._self._c || t;
18
- return r(_, e._b({
15
+ import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
+ var x = function() {
17
+ var e = this, r = e.$createElement, t = e._self._c || r;
18
+ return t("FormItem", e._b({
19
19
  attrs: {
20
20
  block: e.block,
21
21
  rules: e.computeRules,
@@ -24,7 +24,7 @@ var y = function() {
24
24
  scopedSlots: e._u([{
25
25
  key: "default",
26
26
  fn: function() {
27
- return [r(l, e._g(e._b({
27
+ return [t(l, e._g(e._b({
28
28
  attrs: {
29
29
  value: e.value,
30
30
  type: "textarea",
@@ -46,9 +46,9 @@ var y = function() {
46
46
  }, {
47
47
  key: "error",
48
48
  fn: function(o) {
49
- var i = o.error;
49
+ var u = o.error;
50
50
  return [e._t("error", null, {
51
- error: i
51
+ error: u
52
52
  })];
53
53
  }
54
54
  }, {
@@ -59,10 +59,10 @@ var y = function() {
59
59
  proxy: !0
60
60
  }], null, !0)
61
61
  }, "FormItem", e.formItemProps, !1));
62
- }, v = [];
63
- const b = Object.keys(l.props || l.default.props).filter(
62
+ }, y = [];
63
+ const v = Object.keys(l.props || l.default.props).filter(
64
64
  (e) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(e)
65
- ), g = {
65
+ ), b = {
66
66
  name: "FormTextarea",
67
67
  mixins: [f],
68
68
  props: {
@@ -89,27 +89,27 @@ const b = Object.keys(l.props || l.default.props).filter(
89
89
  },
90
90
  computed: {
91
91
  inputProps() {
92
- return d(n(n({}, h(this.$attrs)), this.$props), b);
92
+ return d(n(n({}, _(this.$attrs)), this.$props), v);
93
93
  }
94
94
  }
95
- }, a = {};
96
- var w = /* @__PURE__ */ x(
97
- g,
95
+ }, i = {};
96
+ var g = /* @__PURE__ */ h(
97
+ b,
98
+ x,
98
99
  y,
99
- v,
100
100
  !1,
101
- k,
101
+ w,
102
102
  null,
103
103
  null,
104
104
  null
105
105
  );
106
- function k(e) {
107
- for (let t in a)
108
- this[t] = a[t];
106
+ function w(e) {
107
+ for (let r in i)
108
+ this[r] = i[r];
109
109
  }
110
- const F = /* @__PURE__ */ function() {
111
- return w.exports;
110
+ const I = /* @__PURE__ */ function() {
111
+ return g.exports;
112
112
  }();
113
113
  export {
114
- F as default
114
+ I as default
115
115
  };
@@ -14,16 +14,12 @@ var c = (t, e, o) => new Promise((r, s) => {
14
14
  }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
15
15
  a((o = o.apply(t, e)).next());
16
16
  });
17
- import { hasOwn as m, toStringArray as v, animate as g, isInContainer as y } from "@web-utils/core";
18
- import { merge as w } from "@web-utils/integrations/lodash";
19
- import x from "@web-utils/component/resize-observer";
17
+ import { hasOwn as d, toStringArray as b, animate as v, isInContainer as _ } from "@web-utils/core";
18
+ import { merge as g } from "@web-utils/integrations/lodash";
19
+ import y from "@web-utils/component/resize-observer";
20
20
  import "@web-utils/component/resize-observer/style.css";
21
- import { _ as $, a as S } from "../chunks/FormItemGroup.41daddb6.mjs";
22
- import { _ as F } from "../chunks/ResizeObserver.60f728f0.mjs";
23
- import { _ as u } from "../chunks/Toolbar.5c539dbb.mjs";
24
- import { _ as p } from "../chunks/EmptyView.e2430422.mjs";
25
- import { n as k } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
26
- var B = function() {
21
+ import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
22
+ var x = function() {
27
23
  var t = this, e = t.$createElement, o = t._self._c || e;
28
24
  return o("div", {
29
25
  class: ["form-view", t.className]
@@ -36,7 +32,7 @@ var B = function() {
36
32
  }],
37
33
  staticClass: "form-view-toolbar"
38
34
  }, [t._t("form-view-toolbar", function() {
39
- return [o(u, t._g(t._b({
35
+ return [o("Toolbar", t._g(t._b({
40
36
  on: {
41
37
  edit: t.onEdit
42
38
  },
@@ -88,12 +84,12 @@ var B = function() {
88
84
  }, [t.title ? o("div", {
89
85
  staticClass: "form-view-title"
90
86
  }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
91
- return [o(p, {
87
+ return [o("EmptyView", {
92
88
  attrs: {
93
89
  "empty-tips": "请添加表单内容"
94
90
  }
95
91
  })];
96
- }), t.footerBarButtons.length ? o(u, t._g(t._b({
92
+ }), t.footerBarButtons.length ? o("Toolbar", t._g(t._b({
97
93
  attrs: {
98
94
  footer: ""
99
95
  },
@@ -129,12 +125,12 @@ var B = function() {
129
125
  }, [t.title ? o("div", {
130
126
  staticClass: "form-view-title"
131
127
  }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
132
- return [o(p, {
128
+ return [o("EmptyView", {
133
129
  attrs: {
134
130
  "empty-tips": "请添加表单内容"
135
131
  }
136
132
  })];
137
- }), t.footerBarButtons.length ? o(u, t._g(t._b({
133
+ }), t.footerBarButtons.length ? o("Toolbar", t._g(t._b({
138
134
  attrs: {
139
135
  footer: ""
140
136
  },
@@ -170,7 +166,7 @@ var B = function() {
170
166
  }
171
167
  }, [o("div", {
172
168
  staticClass: "form-content"
173
- }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? o($, {
169
+ }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? o("FormItemGroup", {
174
170
  attrs: {
175
171
  "block-title": "流程日志"
176
172
  }
@@ -181,7 +177,7 @@ var B = function() {
181
177
  "show-title": !1,
182
178
  "business-key": t.$parent.bizKey
183
179
  }
184
- })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), o(F, {
180
+ })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), o("ResizeObserver", {
185
181
  on: {
186
182
  notify: t.onFormResize
187
183
  }
@@ -203,14 +199,14 @@ var B = function() {
203
199
  }
204
200
  }
205
201
  }, [t._v(" " + t._s(r.blockTitle) + " ")]);
206
- }), 0)]) : t._e(), t.isFormLoading ? o(S, {
202
+ }), 0)]) : t._e(), t.isFormLoading ? o("LoadingView", {
207
203
  attrs: {
208
204
  "icon-size": "34px",
209
205
  "font-size": "16px"
210
206
  }
211
207
  }) : t._e()], 1);
212
- }, C = [];
213
- const b = [
208
+ }, $ = [];
209
+ const p = [
214
210
  "back",
215
211
  "create",
216
212
  "save",
@@ -230,17 +226,17 @@ const b = [
230
226
  "disabled",
231
227
  "reload",
232
228
  "slot"
233
- ], L = b.map((t) => `${t}-down`), I = ["back", "withdraw", "edit"], h = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], d = (t, e) => {
229
+ ], S = p.map((t) => `${t}-down`), F = ["back", "withdraw", "edit"], m = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], u = (t, e) => {
234
230
  if (t.classList.contains(e))
235
231
  return t;
236
232
  let o = t.parentNode;
237
233
  for (; o && !o.classList.contains(e); )
238
234
  o = o.parentNode;
239
235
  return o.classList.contains(e) ? o : null;
240
- }, O = {
236
+ }, k = {
241
237
  name: "FormView",
242
238
  components: {
243
- ResizeObserver: x
239
+ ResizeObserver: y
244
240
  },
245
241
  inject: {
246
242
  flowContext: {
@@ -291,19 +287,19 @@ const b = [
291
287
  },
292
288
  computed: {
293
289
  isFormLoading() {
294
- return this.loading || m(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
290
+ return this.loading || d(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
295
291
  },
296
292
  toolbarProps() {
297
293
  var r;
298
- const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = w({}, this.toolbarAttrs, t);
299
- return o.buttons = e || ["back"], o.buttons = v(o.buttons), o;
294
+ const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = g({}, this.toolbarAttrs, t);
295
+ return o.buttons = e || ["back"], o.buttons = b(o.buttons), o;
300
296
  },
301
297
  toolbarButtons() {
302
- return this.toolbarProps.buttons.filter((t) => !h.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
298
+ return this.toolbarProps.buttons.filter((t) => !m.includes(t) && t.indexOf(":down") < 0).map((t) => t.replace(":up", ""));
303
299
  },
304
300
  footerBarButtons() {
305
301
  let t = this.toolbarProps.buttons.filter(
306
- (e) => !I.includes(e) && (h.includes(e) || e.indexOf(":down") > -1)
302
+ (e) => !F.includes(e) && (m.includes(e) || e.indexOf(":down") > -1)
307
303
  ).map((e) => e.replace(":down", ""));
308
304
  return t = t || [], this.$parent.isEnabled && !t.includes("cancel") && t.push("cancel"), t;
309
305
  }
@@ -311,12 +307,12 @@ const b = [
311
307
  created() {
312
308
  this.$on("FormView.addGroup", (t) => {
313
309
  t && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(t), this.groups = this.groups.sort((e, o) => {
314
- const r = d(e.$el, "form-card"), s = d(o.$el, "form-card");
310
+ const r = u(e.$el, "form-card"), s = u(o.$el, "form-card");
315
311
  if (r === s) {
316
312
  const n = [].indexOf.call(e.$el.parentNode.children, e.$el), l = [].indexOf.call(o.$el.parentNode.children, o.$el);
317
313
  return n - l;
318
314
  } else {
319
- const n = d(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
315
+ const n = u(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
320
316
  return l - a;
321
317
  }
322
318
  }), t.active && (this.activeIndex = this.groups.indexOf(t), this.navItemClick(t, this.activeIndex)));
@@ -334,10 +330,10 @@ const b = [
334
330
  },
335
331
  methods: {
336
332
  getToolbarSlotKeys() {
337
- return Object.keys(this.$scopedSlots).filter((t) => b.includes(t));
333
+ return Object.keys(this.$scopedSlots).filter((t) => p.includes(t));
338
334
  },
339
335
  getFooterSlotKeys() {
340
- return Object.keys(this.$scopedSlots).filter((t) => L.includes(t));
336
+ return Object.keys(this.$scopedSlots).filter((t) => S.includes(t));
341
337
  },
342
338
  getFooterSlotKey(t) {
343
339
  return t.replace("-down", "");
@@ -346,7 +342,7 @@ const b = [
346
342
  this.showNav = t > 1500;
347
343
  },
348
344
  onEdit() {
349
- !this.toolbarListeners.edit && m(this.$parent, "disabled") && (this.$parent.disabled = !1);
345
+ !this.toolbarListeners.edit && d(this.$parent, "disabled") && (this.$parent.disabled = !1);
350
346
  },
351
347
  navItemClick(t, e) {
352
348
  return c(this, null, function* () {
@@ -354,13 +350,13 @@ const b = [
354
350
  });
355
351
  },
356
352
  activeFormItemGroup(t, e) {
357
- this.$refs.formScroller.scrollTop = t.$el.offsetTop - 10, g(t.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = e;
353
+ this.$refs.formScroller.scrollTop = t.$el.offsetTop - 10, v(t.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = e;
358
354
  },
359
355
  tryActive() {
360
356
  return c(this, null, function* () {
361
357
  if (this.showNav) {
362
358
  for (let t = 0; t < this.groups.length; t++)
363
- if (y(this.groups[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
359
+ if (_(this.groups[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
364
360
  this.activeIndex = t;
365
361
  break;
366
362
  }
@@ -374,24 +370,24 @@ const b = [
374
370
  t && (this.$refs.formScroller.scrollTop = t), e && (this.$refs.formScroller.scrollLeft = e);
375
371
  }
376
372
  }
377
- }, _ = {};
378
- var N = /* @__PURE__ */ k(
379
- O,
380
- B,
381
- C,
373
+ }, h = {};
374
+ var B = /* @__PURE__ */ w(
375
+ k,
376
+ x,
377
+ $,
382
378
  !1,
383
- T,
379
+ C,
384
380
  null,
385
381
  null,
386
382
  null
387
383
  );
388
- function T(t) {
389
- for (let e in _)
390
- this[e] = _[e];
384
+ function C(t) {
385
+ for (let e in h)
386
+ this[e] = h[e];
391
387
  }
392
- const q = /* @__PURE__ */ function() {
393
- return N.exports;
388
+ const z = /* @__PURE__ */ function() {
389
+ return B.exports;
394
390
  }();
395
391
  export {
396
- q as default
392
+ z as default
397
393
  };
@@ -1,5 +1,5 @@
1
- import { p as l, e as c } from "../chunks/event.4377230d.mjs";
2
- import { v as p } from "../chunks/util.7844e2c2.mjs";
1
+ import { p as l, e as c } from "../chunks/event.10295951.mjs";
2
+ import { i as p } from "../chunks/util.ae730cde.mjs";
3
3
  import o from "element-ui/lib/button";
4
4
  import u from "element-ui/lib/input";
5
5
  import _ from "element-ui/lib/link";