@web-utils/component 3.3.2 → 3.3.4

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.
@@ -1 +1 @@
1
- .process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
1
+ .flow-tips-list-item{list-style:square inside}.flow-tips-title{padding-top:10px;padding-bottom:10px}.flow-tips-keyword{font-weight:700}.element-listeners-drawer .el-drawer__header{margin-bottom:0}.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.flow-drawer .listener-filed__title{justify-content:normal;padding-bottom:6px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
@@ -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.4",
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.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -2585,6 +2585,14 @@
2585
2585
  "type": "array"
2586
2586
  },
2587
2587
  "default": ""
2588
+ },
2589
+ {
2590
+ "name": "context",
2591
+ "value": {
2592
+ "kind": "expression",
2593
+ "type": "object"
2594
+ },
2595
+ "default": "{\r\n url: '',\r\n serviceId: '',\r\n services: ['test', 'demo'],\r\n fields: ['serviceId', 'url'],\r\n // eslint-disable-next-line no-template-curly-in-string\r\n delegateExpressions: ['${httpInvokeExecutionListener}'],\r\n apis: ['flowDraft', 'flowStart', 'flowEnd']\r\n}"
2588
2596
  }
2589
2597
  ],
2590
2598
  "events": [