@web-utils/component 3.3.2 → 3.3.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.
package/chat/index.mjs CHANGED
@@ -142,9 +142,9 @@ const d = {
142
142
  pushMsg(s = {}) {
143
143
  const t = s.mine === !0, e = s.text || {}, a = {
144
144
  date: s.date || r(Date.now(), "YYYY-MM-DD HH:mm:ss"),
145
- text: (() => typeof e != "object" ? {
145
+ text: typeof e != "object" ? {
146
146
  text: e
147
- } : e)(),
147
+ } : e,
148
148
  mine: t,
149
149
  img: t ? this.config.myImg : this.config.img,
150
150
  name: t ? this.config.myName : this.config.name
@@ -1,10 +1,11 @@
1
1
  import { isBlank as _ } from "@web-utils/core";
2
2
  import { formatDate as i } from "@web-utils/integrations/dayjs";
3
3
  import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.y1gUGRqi.mjs";
4
+ import "../fy-u-editor/style.css";
4
5
  import { a as D, b as O } from "./dataformat.Ab9PZnVk.mjs";
5
6
  import { s as j } from "./slot.j1uMmBnG.mjs";
6
7
  import { n as L } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
7
- const M = (n = {}, e = {}, s = {}, r = []) => {
8
+ const R = (n = {}, e = {}, s = {}, r = []) => {
8
9
  let t = n[e.prop];
9
10
  const a = e.type, o = e.separator;
10
11
  if (e.bind && (t = h(n, e.bind)), _(t))
@@ -117,8 +118,8 @@ var k = function() {
117
118
  null,
118
119
  null
119
120
  );
120
- const R = I.exports;
121
+ const V = I.exports;
121
122
  export {
122
- R as F,
123
- M as d
123
+ V as F,
124
+ R as d
124
125
  };
@@ -47,12 +47,12 @@ const a = {
47
47
  title: "需要引入mock模拟数据包",
48
48
  github: "https://github.com/Colingo/mock"
49
49
  }
50
- }, o = (() => ({
50
+ }, o = {
51
51
  logs: function(s) {
52
52
  const t = a[s], i = l(s);
53
53
  i.warning(t.title), i.warning(`CDN:${t.url || "-"}`), i.warning(`GITHUB:${t.github || "-"}`);
54
54
  }
55
- }))();
55
+ };
56
56
  export {
57
57
  o as p
58
58
  };
@@ -1,4 +1,4 @@
1
- const t = (() => {
1
+ const t = /* @__PURE__ */ (() => {
2
2
  function n(e, s) {
3
3
  s.value === !1 ? e.style.display = "none" : e.style.display = "";
4
4
  }
@@ -49,6 +49,7 @@ import le from "highlight.js/lib/core";
49
49
  import Re from "highlight.js/lib/languages/xml";
50
50
  import Ve from "highlight.js/lib/languages/json";
51
51
  import je from "../highlight-j-s/index.mjs";
52
+ import "../highlight-j-s/style.css";
52
53
  function J(i, e, t, n, s, r, a, o, m, F, p, l, c) {
53
54
  i = i || {}, n.registerProvider(this), this._contextPad = n, this._modeling = s, this._elementFactory = r, this._connect = a, this._create = o, this._popupMenu = m, this._canvas = F, this._rules = p, this._translate = l, i.autoPlace !== !1 && (this._autoPlace = e.get("autoPlace", !1)), t.on("create.end", 250, function(E) {
54
55
  const C = E.context.shape;
@@ -6679,7 +6680,7 @@ var pi = function() {
6679
6680
  null,
6680
6681
  null
6681
6682
  );
6682
- const Di = ci.exports;
6683
+ const Bi = ci.exports;
6683
6684
  export {
6684
- Di as default
6685
+ Bi as default
6685
6686
  };
@@ -31,6 +31,7 @@ import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
31
31
  import { create as p, attr as c, append as m } from "tiny-svg";
32
32
  import { query as E } from "min-dom";
33
33
  import $ from "../easy-popup/index.mjs";
34
+ import "../easy-popup/style.css";
34
35
  import { n as F } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
35
36
  const f = d.prototype._handleWheel, S = {
36
37
  __init__: ["zoomScroll"],
@@ -186,7 +187,7 @@ var C = function() {
186
187
  null,
187
188
  null
188
189
  );
189
- const j = W.exports;
190
+ const D = W.exports;
190
191
  export {
191
- j as default
192
+ D as default
192
193
  };
@@ -9,16 +9,17 @@ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
9
9
  i.call(e, r) && l(t, r, e[r]);
10
10
  return t;
11
11
  };
12
- import { f as d } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
- import { d as m, n as c } from "../chunks/index.LGsb2aDq.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
+ import { d, n as c } from "../chunks/index.LGsb2aDq.mjs";
14
14
  import u from "../x-input-tag/index.mjs";
15
+ import "../x-input-tag/style.css";
15
16
  import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
16
17
  const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
17
18
  name: "FormInputTag",
18
19
  components: {
19
20
  XInputTag: u
20
21
  },
21
- mixins: [d],
22
+ mixins: [m],
22
23
  props: {
23
24
  value: [Array, String],
24
25
  block: {
@@ -36,7 +37,7 @@ const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
36
37
  },
37
38
  computed: {
38
39
  inputProps() {
39
- return m(n(n({}, c(this.$attrs)), this.$props), _);
40
+ return d(n(n({}, c(this.$attrs)), this.$props), _);
40
41
  }
41
42
  }
42
43
  };
@@ -59,7 +60,7 @@ var y = function() {
59
60
  null,
60
61
  null
61
62
  );
62
- const F = I.exports;
63
+ const M = I.exports;
63
64
  export {
64
- F as default
65
+ M as default
65
66
  };
@@ -11,24 +11,25 @@ var p = (o, t, e) => t in o ? _(o, t, { enumerable: !0, configurable: !0, writab
11
11
  return o;
12
12
  }, f = (o, t) => g(o, w(t));
13
13
  var u = (o, t, e) => new Promise((r, s) => {
14
- var n = (i) => {
14
+ var i = (n) => {
15
15
  try {
16
- a(e.next(i));
16
+ a(e.next(n));
17
17
  } catch (d) {
18
18
  s(d);
19
19
  }
20
- }, l = (i) => {
20
+ }, l = (n) => {
21
21
  try {
22
- a(e.throw(i));
22
+ a(e.throw(n));
23
23
  } catch (d) {
24
24
  s(d);
25
25
  }
26
- }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
26
+ }, a = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(i, l);
27
27
  a((e = e.apply(o, t)).next());
28
28
  });
29
29
  import { hasOwn as b, toStringArray as S, animate as F, isInContainer as k } from "@web-utils/core";
30
30
  import { merge as B } from "@web-utils/integrations/lodash";
31
31
  import C from "../resize-observer/index.mjs";
32
+ import "../resize-observer/style.css";
32
33
  import { n as L } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
33
34
  const y = [
34
35
  "back",
@@ -133,10 +134,10 @@ const y = [
133
134
  o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
134
135
  const r = m(t.$el, "form-card"), s = m(e.$el, "form-card");
135
136
  if (r === s) {
136
- const n = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
137
- return n - l;
137
+ const i = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
138
+ return i - l;
138
139
  } else {
139
- const n = m(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
140
+ const i = m(r, "form-scroller"), l = [].indexOf.call(i.children, r), a = [].indexOf.call(i.children, s);
140
141
  return l - a;
141
142
  }
142
143
  }), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
@@ -224,7 +225,7 @@ var N = function() {
224
225
  return [t._t(r)];
225
226
  }, proxy: !0 };
226
227
  })], null, !0) }, "Toolbar", f(c({}, t.toolbarProps), { buttons: t.footerBarButtons }), !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
227
- return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(n) {
228
+ return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
228
229
  return t.navItemClick(r, s);
229
230
  } } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
230
231
  }), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
@@ -238,7 +239,7 @@ var N = function() {
238
239
  null,
239
240
  null
240
241
  );
241
- const E = A.exports;
242
+ const G = A.exports;
242
243
  export {
243
- E as default
244
+ G as default
244
245
  };
package/fy-curd/index.mjs CHANGED
@@ -1,14 +1,15 @@
1
- import { p as $ } from "../chunks/packages.v6r2Hr7E.mjs";
2
- import { p as x } from "../chunks/permission.E9kZbW48.mjs";
1
+ import { p as $ } from "../chunks/packages.2yUDw9GA.mjs";
2
+ import { p as x } from "../chunks/permission.bUiJNk5J.mjs";
3
3
  import { i as O } from "../chunks/init.6oF7OO2W.mjs";
4
4
  import { g as F, c as k, t as I, f as E } from "../chunks/dataformat.Ab9PZnVk.mjs";
5
5
  import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z } from "../chunks/util.y1gUGRqi.mjs";
6
6
  import { isBlank as c } from "@web-utils/core";
7
7
  import { s as M } from "../chunks/slot.j1uMmBnG.mjs";
8
8
  import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
9
- import { F as L, d as w } from "../chunks/FormTemp.SuKjjFfL.mjs";
9
+ import { F as L, d as w } from "../chunks/FormTemp.2IfXIr8o.mjs";
10
10
  import { s as V } from "../chunks/dic.7JBaVHv6.mjs";
11
11
  import R from "../icon-temp/index.mjs";
12
+ import "../icon-temp/style.css";
12
13
  const p = {
13
14
  menuWidth: 220,
14
15
  menuFixed: "right",
@@ -157,7 +158,7 @@ const p = {
157
158
  emptyText: t.emptyBtnText || "清 空",
158
159
  emptyBtn: h(t.emptyBtn, p.emptyBtn),
159
160
  emptyIcon: this.crud.getBtnIcon("emptyBtn"),
160
- menuSpan: (() => this.show || !this.isSearchIcon || t.searchMenuSpan < 6 ? t.searchMenuSpan : 6)(),
161
+ menuSpan: this.show || !this.isSearchIcon || t.searchMenuSpan < 6 ? t.searchMenuSpan : 6,
161
162
  menuPosition: t.searchMenuPosition || "center",
162
163
  dicFlag: !1,
163
164
  dicData: this.crud.DIC
@@ -1921,7 +1922,7 @@ var Ue = function() {
1921
1922
  null,
1922
1923
  null
1923
1924
  );
1924
- const lt = qe.exports;
1925
+ const ot = qe.exports;
1925
1926
  export {
1926
- lt as default
1927
+ ot as default
1927
1928
  };
@@ -124,12 +124,12 @@ const v = {
124
124
  },
125
125
  styleName() {
126
126
  return Object.assign(
127
- (() => this.active ? Object.assign(
127
+ this.active ? Object.assign(
128
128
  {
129
129
  zIndex: 9999
130
130
  },
131
131
  this.styleLineName
132
- ) : { zIndex: this.zIndex })(),
132
+ ) : { zIndex: this.zIndex },
133
133
  {
134
134
  top: l(this.baseTop),
135
135
  left: l(this.baseLeft),
package/fy-form/index.mjs CHANGED
@@ -14,12 +14,12 @@ var D = (i, e, r) => new Promise((s, p) => {
14
14
  }, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
15
15
  a((r = r.apply(i, e)).next());
16
16
  });
17
- import { F as P, d as z } from "../chunks/FormTemp.SuKjjFfL.mjs";
17
+ import { F as P, d as z } from "../chunks/FormTemp.2IfXIr8o.mjs";
18
18
  import { i as B } from "../chunks/init.6oF7OO2W.mjs";
19
19
  import { s as v, d as x, u as j, x as I, p as L, j as S, a as V, o as M, y as A } from "../chunks/util.y1gUGRqi.mjs";
20
20
  import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.Ab9PZnVk.mjs";
21
21
  import { s as q } from "../chunks/dic.7JBaVHv6.mjs";
22
- import { p as K } from "../chunks/packages.v6r2Hr7E.mjs";
22
+ import { p as K } from "../chunks/packages.2yUDw9GA.mjs";
23
23
  import { isBlank as u } from "@web-utils/core";
24
24
  import { n as $ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
25
25
  const J = (i, e, r, s) => {
@@ -31,6 +31,7 @@ import g from "vuedraggable";
31
31
  import { c as _ } from "../chunks/json-beautifier.fUZFSW5j.mjs";
32
32
  import { d as m, z as h } from "../chunks/util.y1gUGRqi.mjs";
33
33
  import { cloneDeep as v } from "@web-utils/integrations/lodash";
34
+ import "../fy-u-editor/style.css";
34
35
  import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
35
36
  const E = [
36
37
  {
@@ -2995,7 +2996,7 @@ var ra = function() {
2995
2996
  null,
2996
2997
  null
2997
2998
  );
2998
- const _a = da.exports;
2999
+ const ya = da.exports;
2999
3000
  export {
3000
- _a as default
3001
+ ya as default
3001
3002
  };
@@ -1,5 +1,6 @@
1
1
  import { p as a, e as s } from "../chunks/event.lbJYeMJp.mjs";
2
2
  import o from "../icon-temp/index.mjs";
3
+ import "../icon-temp/style.css";
3
4
  import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
4
5
  const c = {
5
6
  name: "FyInputIcon",
@@ -24,10 +25,10 @@ const c = {
24
25
  },
25
26
  computed: {
26
27
  list() {
27
- let i = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
28
+ let n = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
28
29
  value: t
29
30
  } : t);
30
- return this.filterText && (i = i.filter((t) => t.label.indexOf(this.filterText) !== -1)), i;
31
+ return this.filterText && (n = n.filter((t) => t.label.indexOf(this.filterText) !== -1)), n;
31
32
  },
32
33
  option() {
33
34
  return {
@@ -39,11 +40,11 @@ const c = {
39
40
  this.tabs = this.iconList[0] || {};
40
41
  },
41
42
  methods: {
42
- handleTabs(i) {
43
- this.tabs = i;
43
+ handleTabs(n) {
44
+ this.tabs = n;
44
45
  },
45
- handleSubmit(i) {
46
- this.box = !1, this.text = i, this.handleChange(i);
46
+ handleSubmit(n) {
47
+ this.box = !1, this.text = n, this.handleChange(n);
47
48
  },
48
49
  handleShow() {
49
50
  this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
@@ -52,20 +53,20 @@ const c = {
52
53
  };
53
54
  var u = function() {
54
55
  var t = this, e = t._self._c;
55
- return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(n) {
56
+ return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(i) {
56
57
  return t.handleClick.apply(null, arguments);
57
58
  } }, scopedSlots: t._u([{ key: "append", fn: function() {
58
59
  return [e("IconTemp", { attrs: { text: t.text, size: 28, small: t.size === "mini" }, on: { click: t.handleShow } })];
59
- }, proxy: !0 }]), model: { value: t.text, callback: function(n) {
60
- t.text = n;
61
- }, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(n) {
62
- t.box = n;
63
- } } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(n) {
64
- t.filterText = n;
65
- }, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(n, l) {
66
- return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === n }], on: { click: function(f) {
67
- return t.handleSubmit(n.value);
68
- } } }, [e("IconTemp", { attrs: { text: n.value, small: t.size === "mini" } }), e("p", [t._v(t._s(n.label || n.value))])], 1);
60
+ }, proxy: !0 }]), model: { value: t.text, callback: function(i) {
61
+ t.text = i;
62
+ }, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(i) {
63
+ t.box = i;
64
+ } } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
65
+ t.filterText = i;
66
+ }, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(i, l) {
67
+ return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === i }], on: { click: function(f) {
68
+ return t.handleSubmit(i.value);
69
+ } } }, [e("IconTemp", { attrs: { text: i.value, small: t.size === "mini" } }), e("p", [t._v(t._s(i.label || i.value))])], 1);
69
70
  }), 0)], 1)], 1) : t._e()], 1);
70
71
  }, d = [], p = /* @__PURE__ */ r(
71
72
  c,
@@ -77,7 +78,7 @@ var u = function() {
77
78
  null,
78
79
  null
79
80
  );
80
- const b = p.exports;
81
+ const x = p.exports;
81
82
  export {
82
- b as default
83
+ x as default
83
84
  };
@@ -2,7 +2,7 @@ import { p as i, e as r } from "../chunks/event.lbJYeMJp.mjs";
2
2
  import { s as c } from "../chunks/dic.7JBaVHv6.mjs";
3
3
  import { b as d } from "../chunks/util.y1gUGRqi.mjs";
4
4
  import { isBlank as p } from "@web-utils/core";
5
- import { p as u } from "../chunks/packages.v6r2Hr7E.mjs";
5
+ import { p as u } from "../chunks/packages.2yUDw9GA.mjs";
6
6
  import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
7
7
  const h = {
8
8
  name: "FySelect",
package/fy-tree/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { s as d, o as l, a as r } from "../chunks/util.y1gUGRqi.mjs";
2
- import { p as h } from "../chunks/permission.E9kZbW48.mjs";
2
+ import { p as h } from "../chunks/permission.bUiJNk5J.mjs";
3
3
  import { isBlank as u } from "@web-utils/core";
4
4
  import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
5
5
  const f = {
@@ -352,7 +352,7 @@ const E = {
352
352
  accessKeySecret: i.accessKeySecret,
353
353
  bucket: i.bucket
354
354
  }));
355
- (() => this.isAliOSS ? n.put(e.name, e) : this.$axios.post(d, l, { headers: o }))().then((s) => {
355
+ (this.isAliOSS ? n.put(e.name, e) : this.$axios.post(d, l, { headers: o })).then((s) => {
356
356
  let a;
357
357
  this.isAliOSS ? a = s : this.isQiniuOSS ? (a = s.data, a.key = i.url + a.key) : typeof this.resKey == "function" ? a = this.resKey(s.data) : (a = O(s.data, this.resKey), a = a[this.urlKey]);
358
358
  const y = this.homeUrl + a;
@@ -1,6 +1,6 @@
1
1
  import { p as R, e as I } from "../chunks/event.lbJYeMJp.mjs";
2
2
  import { B, i as F, p as N } from "../chunks/util.y1gUGRqi.mjs";
3
- import { p as A } from "../chunks/packages.v6r2Hr7E.mjs";
3
+ import { p as A } from "../chunks/packages.2yUDw9GA.mjs";
4
4
  import { isBlank as b } from "@web-utils/core";
5
5
  import { n as K } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
6
6
  let d, g;
@@ -317,9 +317,9 @@ const H = {
317
317
  }
318
318
  s = this.ali || this.$AVUE.ali, u = J(s);
319
319
  }
320
- (() => this.isAliOss ? u.put(C.name, C, {
320
+ (this.isAliOss ? u.put(C.name, C, {
321
321
  headers: this.headers
322
- }) : this.$axios.post(_, l, { headers: o }))().then((r) => {
322
+ }) : this.$axios.post(_, l, { headers: o })).then((r) => {
323
323
  this.res = {}, this.isQiniuOss && (r.data.key = s.url + r.data.key), this.res = N(this.isAliOss ? r : r.data, this.resKey), typeof this.uploadAfter == "function" ? this.uploadAfter(this.res, this.show, this.hide, this.column) : this.show();
324
324
  }).catch((r) => {
325
325
  this.hide(r);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.2",
4
+ "version": "3.3.3",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "@web-utils/core": "^3.0.7",
21
21
  "@web-utils/integrations": "^3.0.7",
22
22
  "@web-utils/vue": "^3.0.7",
23
- "bpmn-js": "^16.3.0",
23
+ "bpmn-js": "^16.3.1",
24
24
  "bpmn-js-token-simulation": "^0.33.0",
25
25
  "codemirror": "^5.65.15",
26
26
  "countup.js": "^2.8.0",
@@ -40,7 +40,7 @@
40
40
  "simple-uploader.js": "^0.6.0",
41
41
  "tiny-svg": "^3.0.1",
42
42
  "tinymce": "4.9.11",
43
- "video.js": "^8.6.1",
43
+ "video.js": "^8.9.0",
44
44
  "viewerjs": "^1.11.6",
45
45
  "vue-cropper": "^0.6.4",
46
46
  "vuedraggable": "^2.24.3",
@@ -1,12 +1,15 @@
1
- import n from "../page/index.mjs";
2
- import o from "../nav-bar/index.mjs";
1
+ import o from "../page/index.mjs";
2
+ import "../page/style.css";
3
+ import n from "../nav-bar/index.mjs";
4
+ import "../nav-bar/style.css";
3
5
  import l from "../page-header/index.mjs";
4
- import { n as a } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
5
- const r = {
6
+ import "../page-header/style.css";
7
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
8
+ const a = {
6
9
  name: "PageSkeleton",
7
10
  components: {
8
- Page: n,
9
- NavBar: o,
11
+ Page: o,
12
+ NavBar: n,
10
13
  PageHeader: l
11
14
  },
12
15
  props: {
@@ -33,8 +36,8 @@ var s = function() {
33
36
  { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll },
34
37
  e.contentClass
35
38
  ] }, [e._t("default")], 2)], 2);
36
- }, c = [], f = /* @__PURE__ */ a(
37
- r,
39
+ }, c = [], f = /* @__PURE__ */ r(
40
+ a,
38
41
  s,
39
42
  c,
40
43
  !1,
@@ -43,7 +46,7 @@ var s = function() {
43
46
  null,
44
47
  null
45
48
  );
46
- const d = f.exports;
49
+ const x = f.exports;
47
50
  export {
48
- d as default
51
+ x as default
49
52
  };
@@ -29,6 +29,7 @@ var d = (e, t, o) => new Promise((r, s) => {
29
29
  import { hasOwn as p, toStringArray as S, delay as F, isInContainer as k } from "@web-utils/core";
30
30
  import { merge as B } from "@web-utils/integrations/lodash";
31
31
  import L from "../resize-observer/index.mjs";
32
+ import "../resize-observer/style.css";
32
33
  import { n as C } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
33
34
  const w = [
34
35
  "back",
@@ -227,7 +228,7 @@ var O = function() {
227
228
  null,
228
229
  null
229
230
  );
230
- const E = z.exports;
231
+ const W = z.exports;
231
232
  export {
232
- E as default
233
+ W as default
233
234
  };
@@ -16,6 +16,7 @@ var l = (e, t, s) => new Promise((o, i) => {
16
16
  });
17
17
  import { n as u } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
18
18
  import d from "../resize-observer/index.mjs";
19
+ import "../resize-observer/style.css";
19
20
  function g(e, t) {
20
21
  for (let s = 0; s < t.length; s++)
21
22
  if (e === t[s])
@@ -211,7 +212,7 @@ var M = function() {
211
212
  null,
212
213
  null
213
214
  );
214
- const y = w.exports;
215
+ const C = w.exports;
215
216
  export {
216
- y as default
217
+ C as default
217
218
  };
package/swiper/index.mjs CHANGED
@@ -16,6 +16,7 @@ var h = (e, t, s) => new Promise((i, r) => {
16
16
  });
17
17
  import { getEleWidth as c } from "@web-utils/core";
18
18
  import u from "../resize-observer/index.mjs";
19
+ import "../resize-observer/style.css";
19
20
  import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
20
21
  const f = {
21
22
  name: "Swiper",
@@ -135,7 +136,7 @@ var w = function() {
135
136
  null,
136
137
  null
137
138
  );
138
- const E = X.exports;
139
+ const x = X.exports;
139
140
  export {
140
- E as default
141
+ x as default
141
142
  };
package/toolbar/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import { h as i } from "vue";
2
2
  import { NOOP as u } from "@web-utils/core";
3
3
  import f from "../toolbar-button/index.mjs";
4
+ import "../toolbar-button/style.css";
4
5
  const h = {
5
6
  back: {
6
7
  label: "返回",
@@ -96,7 +97,7 @@ const h = {
96
97
  icon: "el-icon-search",
97
98
  separateLine: !1
98
99
  }
99
- }, B = {
100
+ }, v = {
100
101
  name: "Toolbar",
101
102
  provide() {
102
103
  return {
@@ -193,5 +194,5 @@ const h = {
193
194
  }
194
195
  };
195
196
  export {
196
- B as default
197
+ v as default
197
198
  };
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "3.3.2",
5
+ "version": "3.3.3",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",