@web-utils/component 3.0.3 → 3.0.5

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 (109) hide show
  1. package/address-input/index.mjs +22 -24
  2. package/awesome-button/index.mjs +29 -30
  3. package/card/index.mjs +40 -42
  4. package/carousel/index.mjs +25 -27
  5. package/chat/index.mjs +57 -67
  6. package/chunks/FormTemp.7f91629d.mjs +165 -0
  7. package/chunks/confirmable-mixin.817b542f.mjs +116 -0
  8. package/chunks/{dataformat.e655611c.mjs → dataformat.f995e2f9.mjs} +3 -3
  9. package/chunks/{event.10295951.mjs → event.b5d855dd.mjs} +1 -1
  10. package/chunks/{form-input-mixin.78a567bc.mjs → form-input-mixin.4632ad36.mjs} +1 -1
  11. package/chunks/{form-item-mixin.57cb2019.mjs → form-item-mixin.ad148e7b.mjs} +13 -13
  12. package/color-picker/index.mjs +128 -0
  13. package/confirm-button/index.mjs +1 -1
  14. package/confirmable/index.mjs +1 -1
  15. package/data-box/index.mjs +32 -34
  16. package/data-card/index.mjs +33 -35
  17. package/data-cardtext/index.mjs +27 -29
  18. package/data-display/index.mjs +33 -35
  19. package/data-icons/index.mjs +28 -30
  20. package/data-imgtext/index.mjs +27 -30
  21. package/data-operatext/index.mjs +39 -41
  22. package/data-panel/index.mjs +36 -38
  23. package/data-pay/index.mjs +20 -23
  24. package/data-price/index.mjs +32 -34
  25. package/data-progress/index.mjs +27 -30
  26. package/data-rotate/index.mjs +17 -19
  27. package/data-table-picker/index.mjs +22 -23
  28. package/data-tabs/index.mjs +31 -33
  29. package/dialog-form/index.mjs +31 -39
  30. package/dynamic-table/index.mjs +36 -40
  31. package/editable-progress/index.mjs +14 -16
  32. package/editable-tree/index.mjs +139 -143
  33. package/egd-collapse-item/index.mjs +2 -1
  34. package/element-dialog/index.mjs +24 -25
  35. package/flow-designer/index.mjs +1095 -1111
  36. package/form-block/index.mjs +22 -24
  37. package/form-cascader/index.mjs +20 -20
  38. package/form-checkbox-group/index.mjs +24 -25
  39. package/form-date-picker/index.mjs +18 -19
  40. package/form-holder/index.mjs +14 -15
  41. package/form-input/index.mjs +23 -23
  42. package/form-input-email/index.mjs +17 -17
  43. package/form-input-id-card/index.mjs +24 -24
  44. package/form-input-number/index.mjs +1 -1
  45. package/form-input-phone-number/index.mjs +26 -26
  46. package/form-input-tag/index.mjs +1 -1
  47. package/form-input-time/index.mjs +17 -17
  48. package/form-item/index.mjs +54 -56
  49. package/form-item-group/index.mjs +31 -33
  50. package/form-radio-group/index.mjs +51 -52
  51. package/form-select/index.mjs +31 -32
  52. package/form-switch/index.mjs +22 -22
  53. package/form-textarea/index.mjs +20 -20
  54. package/fy-array/index.mjs +61 -65
  55. package/fy-cascader/index.mjs +19 -20
  56. package/fy-checkbox/index.mjs +32 -37
  57. package/fy-code/index.mjs +13 -10
  58. package/fy-curd/index.mjs +638 -663
  59. package/fy-date/index.mjs +20 -21
  60. package/fy-draggable/index.mjs +19 -20
  61. package/fy-dynamic/index.mjs +26 -27
  62. package/fy-form/index.mjs +111 -122
  63. package/fy-form-design/index.mjs +1238 -1270
  64. package/fy-input/index.mjs +15 -17
  65. package/fy-input-color/index.mjs +25 -27
  66. package/fy-input-icon/index.mjs +20 -21
  67. package/fy-input-map/index.mjs +22 -24
  68. package/fy-input-number/index.mjs +22 -23
  69. package/fy-input-table/index.mjs +15 -17
  70. package/fy-input-tree/index.mjs +28 -32
  71. package/fy-progress/index.mjs +23 -24
  72. package/fy-radio/index.mjs +18 -23
  73. package/fy-rate/index.mjs +12 -13
  74. package/fy-select/index.mjs +40 -44
  75. package/fy-slider/index.mjs +17 -18
  76. package/fy-switch/index.mjs +20 -21
  77. package/fy-tabs/index.mjs +19 -21
  78. package/fy-time/index.mjs +14 -20
  79. package/fy-title/index.mjs +1 -1
  80. package/fy-tree/index.mjs +17 -21
  81. package/fy-upload/index.mjs +74 -76
  82. package/guide-steps/index.mjs +22 -24
  83. package/image-cropper/index.mjs +50 -51
  84. package/image-preview/index.mjs +24 -26
  85. package/index.mjs +480 -477
  86. package/input-number/index.mjs +13 -14
  87. package/input-number-range/index.mjs +23 -24
  88. package/login/index.mjs +35 -40
  89. package/nav-bar/index.mjs +13 -14
  90. package/notice/index.mjs +18 -19
  91. package/package.json +3 -3
  92. package/page-index/index.mjs +33 -34
  93. package/page-index-top/index.mjs +22 -24
  94. package/pageable-table/index.mjs +92 -96
  95. package/pageable-view/index.mjs +33 -34
  96. package/search/index.mjs +21 -23
  97. package/static-pageable-table/index.mjs +18 -20
  98. package/swiper/index.mjs +22 -23
  99. package/table-view/index.mjs +49 -53
  100. package/tag-render/index.mjs +19 -21
  101. package/text-ellipsis/index.mjs +11 -12
  102. package/tinymce-editor/index.mjs +50 -51
  103. package/toolbar-button/index.mjs +18 -19
  104. package/vue-cron/index.mjs +104 -112
  105. package/web-types.json +85 -1
  106. package/x-input-tag/index.mjs +47 -50
  107. package/chunks/FormTemp.d079292b.mjs +0 -139
  108. package/chunks/confirmable-mixin.26e1d0e0.mjs +0 -197
  109. package/chunks/detail.d6f8e347.mjs +0 -29
@@ -1,9 +1,8 @@
1
1
  import u from "element-ui/src/mixins/focus";
2
2
  import o from "element-ui/src/directives/repeat-click";
3
3
  import { i as a } from "../chunks/input-number-mixin.41a066be.mjs";
4
- import l from "element-ui/lib/input";
5
- import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
6
- var p = function() {
4
+ import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var c = function() {
7
6
  var e = this, t = e.$createElement, n = e._self._c || t;
8
7
  return n("div", {
9
8
  class: ["input-number", "el-input-number", e.inputNumberSize ? `el-input-number--${e.inputNumberSize}` : "", {
@@ -58,7 +57,7 @@ var p = function() {
58
57
  }
59
58
  }, [n("i", {
60
59
  class: `el-icon-${e.controlsAtRight ? "arrow-up" : "plus"}`
61
- })]) : e._e(), n(l, {
60
+ })]) : e._e(), n("ElInput", {
62
61
  ref: "input",
63
62
  attrs: {
64
63
  value: e.displayValue,
@@ -111,8 +110,8 @@ var p = function() {
111
110
  proxy: !0
112
111
  }], null, !0)
113
112
  })], 1);
114
- }, h = [];
115
- const d = {
113
+ }, p = [];
114
+ const h = {
116
115
  name: "InputNumber",
117
116
  directives: {
118
117
  repeatClick: o
@@ -253,23 +252,23 @@ const d = {
253
252
  }
254
253
  }
255
254
  }, s = {};
256
- var m = /* @__PURE__ */ c(
257
- d,
258
- p,
255
+ var d = /* @__PURE__ */ l(
259
256
  h,
257
+ c,
258
+ p,
260
259
  !1,
261
- f,
260
+ m,
262
261
  null,
263
262
  null,
264
263
  null
265
264
  );
266
- function f(e) {
265
+ function m(e) {
267
266
  for (let t in s)
268
267
  this[t] = s[t];
269
268
  }
270
- const I = /* @__PURE__ */ function() {
271
- return m.exports;
269
+ const x = /* @__PURE__ */ function() {
270
+ return d.exports;
272
271
  }();
273
272
  export {
274
- I as default
273
+ x as default
275
274
  };
@@ -1,11 +1,10 @@
1
- import { isNotEmpty as s } from "@web-utils/core";
2
- import a from "element-ui/lib/input-number";
3
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var l = function() {
1
+ import { isNotEmpty as i } from "@web-utils/core";
2
+ import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ var r = function() {
5
4
  var t = this, e = t.$createElement, n = t._self._c || e;
6
5
  return n("div", {
7
6
  staticClass: "input-number-range"
8
- }, [n(a, {
7
+ }, [n("ElInputNumber", {
9
8
  staticClass: "flex-item",
10
9
  staticStyle: {
11
10
  width: "auto"
@@ -20,8 +19,8 @@ var l = function() {
20
19
  },
21
20
  model: {
22
21
  value: t.val[0],
23
- callback: function(i) {
24
- t.$set(t.val, 0, i);
22
+ callback: function(s) {
23
+ t.$set(t.val, 0, s);
25
24
  },
26
25
  expression: "val[0]"
27
26
  }
@@ -30,7 +29,7 @@ var l = function() {
30
29
  padding: "0 6px",
31
30
  "font-size": "12px"
32
31
  }
33
- }, [t._v(t._s(t.separator))]), n(a, {
32
+ }, [t._v(t._s(t.separator))]), n("ElInputNumber", {
34
33
  staticClass: "flex-item",
35
34
  staticStyle: {
36
35
  width: "auto"
@@ -45,14 +44,14 @@ var l = function() {
45
44
  },
46
45
  model: {
47
46
  value: t.val[1],
48
- callback: function(i) {
49
- t.$set(t.val, 1, i);
47
+ callback: function(s) {
48
+ t.$set(t.val, 1, s);
50
49
  },
51
50
  expression: "val[1]"
52
51
  }
53
52
  })], 1);
54
- }, u = [];
55
- const d = {
53
+ }, l = [];
54
+ const u = {
56
55
  name: "InputNumberRange",
57
56
  props: {
58
57
  value: {
@@ -79,7 +78,7 @@ const d = {
79
78
  immediate: !0,
80
79
  handler(t) {
81
80
  const e = [void 0, void 0];
82
- s(t == null ? void 0 : t[0]) && (e[0] = t[0]), s(t == null ? void 0 : t[1]) && (e[1] = t[1]), this.val = e;
81
+ i(t == null ? void 0 : t[0]) && (e[0] = t[0]), i(t == null ? void 0 : t[1]) && (e[1] = t[1]), this.val = e;
83
82
  }
84
83
  }
85
84
  },
@@ -88,24 +87,24 @@ const d = {
88
87
  this.$emit("input", this.val);
89
88
  }
90
89
  }
91
- }, o = {};
92
- var c = /* @__PURE__ */ r(
93
- d,
94
- l,
90
+ }, a = {};
91
+ var d = /* @__PURE__ */ o(
95
92
  u,
93
+ r,
94
+ l,
96
95
  !1,
97
- p,
96
+ c,
98
97
  null,
99
98
  null,
100
99
  null
101
100
  );
102
- function p(t) {
103
- for (let e in o)
104
- this[e] = o[e];
101
+ function c(t) {
102
+ for (let e in a)
103
+ this[e] = a[e];
105
104
  }
106
- const f = /* @__PURE__ */ function() {
107
- return c.exports;
105
+ const v = /* @__PURE__ */ function() {
106
+ return d.exports;
108
107
  }();
109
108
  export {
110
- f as default
109
+ v as default
111
110
  };
package/login/index.mjs CHANGED
@@ -1,39 +1,34 @@
1
- import { s as m } from "../chunks/util.ae730cde.mjs";
2
- import { isBlank as d } from "@web-utils/core";
3
- import l from "element-ui/lib/button";
4
- import r from "element-ui/lib/form-item";
5
- import n from "element-ui/lib/input";
6
- import i from "element-ui/lib/tooltip";
7
- import u from "element-ui/lib/form";
8
- import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
9
- var f = function() {
1
+ import { s as l } from "../chunks/util.ae730cde.mjs";
2
+ import { isBlank as a } from "@web-utils/core";
3
+ import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
+ var p = function() {
10
5
  var e = this, s = e.$createElement, t = e._self._c || s;
11
6
  return t("div", {
12
7
  staticClass: "avue-login",
13
8
  style: {
14
9
  width: e.setPx(e.width)
15
10
  }
16
- }, [t(u, {
11
+ }, [t("ElForm", {
17
12
  ref: "form",
18
13
  attrs: {
19
14
  model: e.form,
20
15
  "label-suffix": ":",
21
16
  "label-width": e.setPx(e.labelWidth)
22
17
  }
23
- }, [e.username.hide ? e._e() : t(r, {
18
+ }, [e.username.hide ? e._e() : t("ElFormItem", {
24
19
  attrs: {
25
20
  label: e.username.label || "用户名",
26
21
  rules: e.username.rules,
27
22
  "label-width": e.setPx(e.username.labelWidth),
28
23
  prop: "username"
29
24
  }
30
- }, [t(i, {
25
+ }, [t("ElTooltip", {
31
26
  attrs: {
32
27
  content: e.username.tip,
33
28
  disabled: e.username.tip === void 0,
34
29
  placement: "top-start"
35
30
  }
36
- }, [t(n, {
31
+ }, [t("ElInput", {
37
32
  attrs: {
38
33
  size: "small",
39
34
  "prefix-icon": e.username.prefixIcon || "el-icon-user",
@@ -47,20 +42,20 @@ var f = function() {
47
42
  },
48
43
  expression: "form.username"
49
44
  }
50
- })], 1)], 1), e.password.hide ? e._e() : t(r, {
45
+ })], 1)], 1), e.password.hide ? e._e() : t("ElFormItem", {
51
46
  attrs: {
52
47
  label: e.password.label || "密码",
53
48
  rules: e.password.rules,
54
49
  "label-width": e.setPx(e.password.labelWidth),
55
50
  prop: "password"
56
51
  }
57
- }, [t(i, {
52
+ }, [t("ElTooltip", {
58
53
  attrs: {
59
54
  content: e.password.tip,
60
55
  disabled: e.password.tip === void 0,
61
56
  placement: "top-start"
62
57
  }
63
- }, [t(n, {
58
+ }, [t("ElInput", {
64
59
  attrs: {
65
60
  type: "password",
66
61
  size: "small",
@@ -76,20 +71,20 @@ var f = function() {
76
71
  },
77
72
  expression: "form.password"
78
73
  }
79
- })], 1)], 1), e.code.hide ? e._e() : t(r, {
74
+ })], 1)], 1), e.code.hide ? e._e() : t("ElFormItem", {
80
75
  attrs: {
81
76
  label: e.code.label || "验证码",
82
77
  rules: e.code.rules,
83
78
  "label-width": e.setPx(e.code.labelWidth),
84
79
  prop: "code"
85
80
  }
86
- }, [t(i, {
81
+ }, [t("ElTooltip", {
87
82
  attrs: {
88
83
  content: e.code.tip,
89
84
  disabled: e.code.tip === void 0,
90
85
  placement: "top-start"
91
86
  }
92
- }, [t(n, {
87
+ }, [t("ElInput", {
93
88
  attrs: {
94
89
  size: "small",
95
90
  "prefix-icon": e.code.prefixIcon || "el-icon-c-scale-to-original",
@@ -99,7 +94,7 @@ var f = function() {
99
94
  scopedSlots: e._u([{
100
95
  key: "append",
101
96
  fn: function() {
102
- return [e.isPhone ? t(l, {
97
+ return [e.isPhone ? t("ElButton", {
103
98
  staticClass: "avue-login__send",
104
99
  attrs: {
105
100
  type: "primary",
@@ -129,7 +124,7 @@ var f = function() {
129
124
  },
130
125
  expression: "form.code"
131
126
  }
132
- })], 1)], 1), t(r, [t(l, {
127
+ })], 1)], 1), t("ElFormItem", [t("ElButton", {
133
128
  staticClass: "avue-login__submit",
134
129
  attrs: {
135
130
  type: "primary"
@@ -138,8 +133,8 @@ var f = function() {
138
133
  click: e.onSubmit
139
134
  }
140
135
  }, [e._v(" 登录 ")])], 1)], 1)], 1);
141
- }, _ = [];
142
- const a = "发送验证码", c = "{{time}}s后重获取", b = {
136
+ }, d = [];
137
+ const r = "发送验证码", i = "{{time}}s后重获取", m = {
143
138
  name: "Login",
144
139
  props: {
145
140
  value: {
@@ -156,7 +151,7 @@ const a = "发送验证码", c = "{{time}}s后重获取", b = {
156
151
  },
157
152
  data() {
158
153
  return {
159
- text: a,
154
+ text: r,
160
155
  nowtime: "",
161
156
  check: {},
162
157
  flag: !1
@@ -202,15 +197,15 @@ const a = "发送验证码", c = "{{time}}s后重获取", b = {
202
197
  return this.option.column || {};
203
198
  },
204
199
  sendDisabled() {
205
- return !d(this.check);
200
+ return !a(this.check);
206
201
  }
207
202
  },
208
203
  methods: {
209
- setPx: m,
204
+ setPx: l,
210
205
  onSend() {
211
206
  const e = () => {
212
- this.nowtime = this.time, this.text = c.replace("{{time}}", this.nowtime), this.check = setInterval(() => {
213
- this.nowtime--, this.nowtime === 0 ? (this.text = a, clearInterval(this.check), this.check = null) : this.text = c.replace("{{time}}", this.nowtime);
207
+ this.nowtime = this.time, this.text = i.replace("{{time}}", this.nowtime), this.check = setInterval(() => {
208
+ this.nowtime--, this.nowtime === 0 ? (this.text = r, clearInterval(this.check), this.check = null) : this.text = i.replace("{{time}}", this.nowtime);
214
209
  }, 1e3);
215
210
  };
216
211
  this.sendDisabled || this.$emit("send", e);
@@ -232,24 +227,24 @@ const a = "发送验证码", c = "{{time}}s后重获取", b = {
232
227
  });
233
228
  }
234
229
  }
235
- }, p = {};
236
- var w = /* @__PURE__ */ h(
237
- b,
238
- f,
239
- _,
230
+ }, n = {};
231
+ var u = /* @__PURE__ */ c(
232
+ m,
233
+ p,
234
+ d,
240
235
  !1,
241
- x,
236
+ h,
242
237
  null,
243
238
  null,
244
239
  null
245
240
  );
246
- function x(e) {
247
- for (let s in p)
248
- this[s] = p[s];
241
+ function h(e) {
242
+ for (let s in n)
243
+ this[s] = n[s];
249
244
  }
250
- const S = /* @__PURE__ */ function() {
251
- return w.exports;
245
+ const w = /* @__PURE__ */ function() {
246
+ return u.exports;
252
247
  }();
253
248
  export {
254
- S as default
249
+ w as default
255
250
  };
package/nav-bar/index.mjs CHANGED
@@ -1,10 +1,9 @@
1
- import a from "element-ui/lib/button";
2
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var s = function() {
1
+ import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
+ var r = function() {
4
3
  var t = this, e = t.$createElement, n = t._self._c || e;
5
4
  return n("div", {
6
5
  staticClass: "nav-bar"
7
- }, [t.showBack ? n(a, {
6
+ }, [t.showBack ? n("ElButton", {
8
7
  attrs: {
9
8
  type: "text",
10
9
  icon: "el-icon-arrow-left"
@@ -15,8 +14,8 @@ var s = function() {
15
14
  }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? n("div", {
16
15
  staticClass: "flex-item flex-row-column vertical-center"
17
16
  }, [t._t("right")], 2) : t._e()], 1);
18
- }, c = [];
19
- const _ = {
17
+ }, s = [];
18
+ const c = {
20
19
  name: "NavBar",
21
20
  props: {
22
21
  onGoBack: Function,
@@ -31,23 +30,23 @@ const _ = {
31
30
  }
32
31
  }
33
32
  }, o = {};
34
- var i = /* @__PURE__ */ r(
35
- _,
36
- s,
33
+ var l = /* @__PURE__ */ a(
37
34
  c,
35
+ r,
36
+ s,
38
37
  !1,
39
- l,
38
+ i,
40
39
  null,
41
40
  null,
42
41
  null
43
42
  );
44
- function l(t) {
43
+ function i(t) {
45
44
  for (let e in o)
46
45
  this[e] = o[e];
47
46
  }
48
- const f = /* @__PURE__ */ function() {
49
- return i.exports;
47
+ const u = /* @__PURE__ */ function() {
48
+ return l.exports;
50
49
  }();
51
50
  export {
52
- f as default
51
+ u as default
53
52
  };
package/notice/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
- import l from "element-ui/lib/tag";
2
- import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var c = function() {
4
- var t = this, n = t.$createElement, e = t._self._c || n;
1
+ import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
+ var o = function() {
3
+ var t = this, a = t.$createElement, e = t._self._c || a;
5
4
  return e("div", {
6
5
  staticClass: "avue-notice"
7
6
  }, [t._l(t.data, function(s, r) {
@@ -9,7 +8,7 @@ var c = function() {
9
8
  key: r,
10
9
  staticClass: "avue-notice__item",
11
10
  on: {
12
- click: function(g) {
11
+ click: function(v) {
13
12
  return t.click(s);
14
13
  }
15
14
  }
@@ -28,7 +27,7 @@ var c = function() {
28
27
  staticClass: "avue-notice__name"
29
28
  }, [t._v(t._s(s[t.titleKey]))]), s[t.tagKey] ? e("span", {
30
29
  staticClass: "avue-notice__tag"
31
- }, [e(l, {
30
+ }, [e("ElTag", {
32
31
  attrs: {
33
32
  size: "small",
34
33
  type: t.getType(s[t.statusKey])
@@ -48,14 +47,14 @@ var c = function() {
48
47
  click: t.handleClick
49
48
  }
50
49
  }, [t._v("加载更多")])], 2);
51
- }, u = [];
50
+ }, c = [];
52
51
  const i = {
53
52
  img: "img",
54
53
  title: "title",
55
54
  subtile: "title",
56
55
  tag: "tag",
57
56
  status: "status"
58
- }, _ = {
57
+ }, u = {
59
58
  name: "Notice",
60
59
  props: {
61
60
  finish: {
@@ -121,24 +120,24 @@ const i = {
121
120
  return "success";
122
121
  }
123
122
  }
124
- }, a = {};
125
- var p = /* @__PURE__ */ o(
126
- _,
127
- c,
123
+ }, n = {};
124
+ var _ = /* @__PURE__ */ l(
128
125
  u,
126
+ o,
127
+ c,
129
128
  !1,
130
- v,
129
+ p,
131
130
  null,
132
131
  null,
133
132
  null
134
133
  );
135
- function v(t) {
136
- for (let n in a)
137
- this[n] = a[n];
134
+ function p(t) {
135
+ for (let a in n)
136
+ this[a] = n[a];
138
137
  }
139
- const m = /* @__PURE__ */ function() {
140
- return p.exports;
138
+ const d = /* @__PURE__ */ function() {
139
+ return _.exports;
141
140
  }();
142
141
  export {
143
- m as default
142
+ d as default
144
143
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.0.3",
4
+ "version": "3.0.5",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "min-dash": "^4.1.1",
34
34
  "min-dom": "^4.1.0",
35
35
  "monaco-editor": "^0.44.0",
36
- "overlayscrollbars": "^2.4.1",
36
+ "overlayscrollbars": "^2.4.4",
37
37
  "photoswipe": "^5.4.2",
38
38
  "qrcode": "^1.5.3",
39
39
  "quill": "^1.3.7",
@@ -41,7 +41,7 @@
41
41
  "simple-uploader.js": "^0.6.0",
42
42
  "tiny-svg": "^3.0.1",
43
43
  "tinymce": "4.9.11",
44
- "video.js": "^8.6.0",
44
+ "video.js": "^8.6.1",
45
45
  "viewerjs": "^1.11.6",
46
46
  "vue-cropper": "^0.6.4",
47
47
  "vuedraggable": "^2.24.3",
@@ -1,23 +1,22 @@
1
- var r = (t, a, e) => new Promise((s, n) => {
2
- var u = (i) => {
1
+ var r = (t, a, e) => new Promise((s, i) => {
2
+ var u = (n) => {
3
3
  try {
4
- o(e.next(i));
5
- } catch (d) {
6
- n(d);
4
+ d(e.next(n));
5
+ } catch (o) {
6
+ i(o);
7
7
  }
8
- }, h = (i) => {
8
+ }, h = (n) => {
9
9
  try {
10
- o(e.throw(i));
11
- } catch (d) {
12
- n(d);
10
+ d(e.throw(n));
11
+ } catch (o) {
12
+ i(o);
13
13
  }
14
- }, o = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(u, h);
15
- o((e = e.apply(t, a)).next());
14
+ }, d = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(u, h);
15
+ d((e = e.apply(t, a)).next());
16
16
  });
17
- import { treeToArray as p, findFirstMatchNode as c } from "@web-utils/core";
18
- import f from "element-ui/lib/tree";
17
+ import { treeToArray as p, findFirstMatchNode as l } from "@web-utils/core";
19
18
  import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
20
- var _ = function() {
19
+ var f = function() {
21
20
  var t = this, a = t.$createElement, e = t._self._c || a;
22
21
  return e("div", {
23
22
  staticClass: "egd-container"
@@ -34,7 +33,7 @@ var _ = function() {
34
33
  }, [e("span", {
35
34
  staticClass: "section-title flex-not-shrink"
36
35
  }, [t._v(t._s(t.sectionTitle))])]), t._t("menu", function() {
37
- return [e(f, {
36
+ return [e("ElTree", {
38
37
  ref: "menuTree",
39
38
  attrs: {
40
39
  data: t.menus,
@@ -51,13 +50,13 @@ var _ = function() {
51
50
  scopedSlots: t._u([{
52
51
  key: "default",
53
52
  fn: function(s) {
54
- var n = s.data, u = s.node;
53
+ var i = s.data, u = s.node;
55
54
  return [t._t("tree-node", function() {
56
55
  return [e("span", [e("i", {
57
- class: n.icon
58
- }), t._v(" " + t._s(n.label))])];
56
+ class: i.icon
57
+ }), t._v(" " + t._s(i.label))])];
59
58
  }, {
60
- data: n,
59
+ data: i,
61
60
  node: u
62
61
  })];
63
62
  }
@@ -74,8 +73,8 @@ var _ = function() {
74
73
  staticClass: "page-index-content-empty"
75
74
  }, [t._v(" " + t._s(t.tips) + " ")])];
76
75
  })], 2)]);
77
- }, m = [];
78
- const v = {
76
+ }, _ = [];
77
+ const m = {
79
78
  name: "PageIndex",
80
79
  props: {
81
80
  menus: {
@@ -128,7 +127,7 @@ const v = {
128
127
  if (p(this.menus).map((a) => a.path).filter((a) => a).includes(this.$route.path))
129
128
  yield this.setCurrentKey(this.$route.path);
130
129
  else {
131
- const a = c(this.menus, (e) => e.path);
130
+ const a = l(this.menus, (e) => e.path);
132
131
  a && (yield this.$router.push({ path: a.path, query: a.query }), yield this.setCurrentKey(a.path));
133
132
  }
134
133
  });
@@ -146,31 +145,31 @@ const v = {
146
145
  beforeRouteUpdate(t, a, e) {
147
146
  return r(this, null, function* () {
148
147
  if (t.path === this.schema) {
149
- const s = c(this.menus, (n) => n.path);
148
+ const s = l(this.menus, (i) => i.path);
150
149
  s ? (yield e({ path: s.path, query: s.query }), yield this.setCurrentKey(s.path)) : yield e(!1);
151
150
  } else
152
151
  yield e(), yield this.setCurrentKey(this.$route.path);
153
152
  });
154
153
  }
155
154
  }
156
- }, l = {};
157
- var C = /* @__PURE__ */ y(
158
- v,
159
- _,
155
+ }, c = {};
156
+ var v = /* @__PURE__ */ y(
160
157
  m,
158
+ f,
159
+ _,
161
160
  !1,
162
- g,
161
+ C,
163
162
  null,
164
163
  null,
165
164
  null
166
165
  );
167
- function g(t) {
168
- for (let a in l)
169
- this[a] = l[a];
166
+ function C(t) {
167
+ for (let a in c)
168
+ this[a] = c[a];
170
169
  }
171
- const k = /* @__PURE__ */ function() {
172
- return C.exports;
170
+ const $ = /* @__PURE__ */ function() {
171
+ return v.exports;
173
172
  }();
174
173
  export {
175
- k as default
174
+ $ as default
176
175
  };