@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,13 +1,13 @@
1
- import r from "element-ui/lib/input";
2
- import l from "element-ui/lib/cascader";
3
- import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
1
+ import n from "element-ui/lib/input";
2
+ import d from "element-ui/lib/cascader";
3
+ import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
4
  var i = function() {
5
- var e = this, a = e.$createElement, t = e._self._c || a;
5
+ var e = this, s = e.$createElement, t = e._self._c || s;
6
6
  return t("div", {
7
7
  staticClass: "address-input-wrapper flex-row"
8
8
  }, [t("div", {
9
9
  staticClass: "address-input-item-wrapper"
10
- }, [t(l, {
10
+ }, [t(d, {
11
11
  attrs: {
12
12
  options: e.options,
13
13
  disabled: e.inputDisabled,
@@ -18,22 +18,22 @@ var i = function() {
18
18
  },
19
19
  model: {
20
20
  value: e.internalVal.address,
21
- callback: function(s) {
22
- e.$set(e.internalVal, "address", s);
21
+ callback: function(a) {
22
+ e.$set(e.internalVal, "address", a);
23
23
  },
24
24
  expression: "internalVal.address"
25
25
  }
26
26
  })], 1), t("div", {
27
27
  staticClass: "address-input-item-wrapper flex-item"
28
- }, [t(r, {
28
+ }, [t(n, {
29
29
  attrs: {
30
30
  placeholder: "请输入详细地址!",
31
31
  disabled: e.inputDisabled
32
32
  },
33
33
  model: {
34
34
  value: e.internalVal.detailAddress,
35
- callback: function(s) {
36
- e.$set(e.internalVal, "detailAddress", s);
35
+ callback: function(a) {
36
+ e.$set(e.internalVal, "detailAddress", a);
37
37
  },
38
38
  expression: "internalVal.detailAddress"
39
39
  }
@@ -92,8 +92,8 @@ const u = {
92
92
  }
93
93
  }
94
94
  }
95
- }, d = {};
96
- var p = /* @__PURE__ */ n(
95
+ }, l = {};
96
+ var p = /* @__PURE__ */ r(
97
97
  u,
98
98
  i,
99
99
  o,
@@ -104,8 +104,8 @@ var p = /* @__PURE__ */ n(
104
104
  null
105
105
  );
106
106
  function c(e) {
107
- for (let a in d)
108
- this[a] = d[a];
107
+ for (let s in l)
108
+ this[s] = l[s];
109
109
  }
110
110
  const v = /* @__PURE__ */ function() {
111
111
  return p.exports;
package/chat/index.mjs CHANGED
@@ -1,18 +1,17 @@
1
- import { formatDate as f } from "@web-utils/integrations/dayjs";
2
- import { s as r } from "../chunks/util.7844e2c2.mjs";
3
- import { _ as c } from "../chunks/ElementDialog.d8f3105c.mjs";
4
- import d from "element-ui/lib/input";
5
- import p from "element-ui/lib/form-item";
6
- import _ from "element-ui/lib/form";
1
+ import { formatDate as m } from "@web-utils/integrations/dayjs";
2
+ import { s as r } from "../chunks/util.ae730cde.mjs";
3
+ import c from "element-ui/lib/input";
4
+ import f from "element-ui/lib/form-item";
5
+ import p from "element-ui/lib/form";
7
6
  import l from "element-ui/lib/button";
8
- import h from "element-ui/lib/tooltip";
9
- import u from "element-ui/lib/dropdown-item";
10
- import g from "element-ui/lib/scrollbar";
11
- import y from "element-ui/lib/popover";
12
- import v from "element-ui/lib/dropdown-menu";
13
- import b from "element-ui/lib/dropdown";
14
- import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
15
- var x = function() {
7
+ import _ from "element-ui/lib/tooltip";
8
+ import d from "element-ui/lib/dropdown-item";
9
+ import h from "element-ui/lib/scrollbar";
10
+ import g from "element-ui/lib/popover";
11
+ import y from "element-ui/lib/dropdown-menu";
12
+ import v from "element-ui/lib/dropdown";
13
+ import { n as b } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
14
+ var w = function() {
16
15
  var t = this, o = t.$createElement, e = t._self._c || o;
17
16
  return e("div", {
18
17
  staticClass: "avue-chat",
@@ -90,7 +89,7 @@ var x = function() {
90
89
  return e("li", {
91
90
  key: a,
92
91
  on: {
93
- click: function(N) {
92
+ click: function(C) {
94
93
  return t.handleItemMsg(s);
95
94
  }
96
95
  }
@@ -146,7 +145,7 @@ var x = function() {
146
145
  }
147
146
  }), e("div", {
148
147
  staticClass: "web__msg-menu"
149
- }, [e(b, {
148
+ }, [e(v, {
150
149
  staticClass: "web__msg-submit",
151
150
  attrs: {
152
151
  "split-button": "",
@@ -160,7 +159,7 @@ var x = function() {
160
159
  scopedSlots: t._u([{
161
160
  key: "dropdown",
162
161
  fn: function() {
163
- return [e(v, [e(u, [e(y, {
162
+ return [e(y, [e(d, [e(g, {
164
163
  attrs: {
165
164
  placement: "top",
166
165
  width: "160"
@@ -184,7 +183,7 @@ var x = function() {
184
183
  },
185
184
  expression: "visible"
186
185
  }
187
- }, [e(d, {
186
+ }, [e(c, {
188
187
  staticStyle: {
189
188
  "margin-bottom": "10px"
190
189
  },
@@ -226,19 +225,19 @@ var x = function() {
226
225
  on: {
227
226
  click: t.addKey
228
227
  }
229
- }, [t._v(" 确定 ")])], 1)], 1)], 1), e(g, {
228
+ }, [t._v(" 确定 ")])], 1)], 1)], 1), e(h, {
230
229
  staticStyle: {
231
230
  height: "100px"
232
231
  }
233
232
  }, t._l(t.keylist, function(i, n) {
234
- return e(u, {
233
+ return e(d, {
235
234
  key: n,
236
235
  nativeOn: {
237
236
  click: function(s) {
238
237
  return t.sendKey(i);
239
238
  }
240
239
  }
241
- }, [e(h, {
240
+ }, [e(_, {
242
241
  attrs: {
243
242
  effect: "dark",
244
243
  content: i,
@@ -249,7 +248,7 @@ var x = function() {
249
248
  },
250
249
  proxy: !0
251
250
  }])
252
- }, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e(c, {
251
+ }, [t._v(" 发送 ")])], 1)])])]), t._t("default")], 2), t.upload.box ? e("div", [e("ElementDialog", {
253
252
  attrs: {
254
253
  title: t.upload.title,
255
254
  "body-padding": !1,
@@ -285,12 +284,12 @@ var x = function() {
285
284
  },
286
285
  proxy: !0
287
286
  }], null, !1, 99567638)
288
- }, [e(_, {
287
+ }, [e(p, {
289
288
  ref: "form",
290
289
  attrs: {
291
290
  model: t.upload
292
291
  }
293
- }, [e(p, {
292
+ }, [e(f, {
294
293
  attrs: {
295
294
  prop: "src",
296
295
  rules: [{
@@ -298,7 +297,7 @@ var x = function() {
298
297
  message: "地址不能为空"
299
298
  }]
300
299
  }
301
- }, [e(d, {
300
+ }, [e(c, {
302
301
  staticStyle: {
303
302
  "margin-bottom": "10px"
304
303
  },
@@ -317,7 +316,7 @@ var x = function() {
317
316
  },
318
317
  expression: "upload.src"
319
318
  }
320
- })], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e(c, {
319
+ })], 1)], 1)], 1)], 1) : t._e(), t.show ? e("div", [e("ElementDialog", {
321
320
  staticClass: "web__dialog",
322
321
  attrs: {
323
322
  visible: t.show,
@@ -358,8 +357,8 @@ var x = function() {
358
357
  controls: "controls"
359
358
  }
360
359
  }) : t._e()])], 1) : t._e()]);
361
- }, S = [];
362
- const k = {
360
+ }, x = [];
361
+ const S = {
363
362
  name: "Chat",
364
363
  props: {
365
364
  beforeOpen: Function,
@@ -499,7 +498,7 @@ const k = {
499
498
  // text为内容
500
499
  pushMsg(t = {}) {
501
500
  const o = t.mine === !0, e = t.text || {}, n = {
502
- date: t.date || f(Date.now(), "YYYY-MM-DD HH:mm:ss"),
501
+ date: t.date || m(Date.now(), "YYYY-MM-DD HH:mm:ss"),
503
502
  text: (() => typeof e != "object" ? {
504
503
  text: e
505
504
  } : e)(),
@@ -566,24 +565,24 @@ const k = {
566
565
  }), this.notice && this.getNotification(t.text || t);
567
566
  }
568
567
  }
569
- }, m = {};
570
- var $ = /* @__PURE__ */ w(
571
- k,
572
- x,
568
+ }, u = {};
569
+ var k = /* @__PURE__ */ b(
573
570
  S,
571
+ w,
572
+ x,
574
573
  !1,
575
- C,
574
+ $,
576
575
  null,
577
576
  null,
578
577
  null
579
578
  );
580
- function C(t) {
581
- for (let o in m)
582
- this[o] = m[o];
579
+ function $(t) {
580
+ for (let o in u)
581
+ this[o] = u[o];
583
582
  }
584
- const K = /* @__PURE__ */ function() {
585
- return $.exports;
583
+ const H = /* @__PURE__ */ function() {
584
+ return k.exports;
586
585
  }();
587
586
  export {
588
- K as default
587
+ H as default
589
588
  };