@web-utils/component 3.3.0 → 3.3.2

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,11 +1,10 @@
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";
5
4
  import { a as D, b as O } from "./dataformat.Ab9PZnVk.mjs";
6
5
  import { s as j } from "./slot.j1uMmBnG.mjs";
7
6
  import { n as L } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
8
- const R = (n = {}, e = {}, s = {}, r = []) => {
7
+ const M = (n = {}, e = {}, s = {}, r = []) => {
9
8
  let t = n[e.prop];
10
9
  const a = e.type, o = e.separator;
11
10
  if (e.bind && (t = h(n, e.bind)), _(t))
@@ -29,7 +28,7 @@ const R = (n = {}, e = {}, s = {}, r = []) => {
29
28
  return e.formatter && typeof e.formatter == "function" && (t = e.formatter(n, n[e.prop], t, e)), t;
30
29
  }, Y = {
31
30
  name: "FormTemp",
32
- components: { FyUEditor: () => import("./fy-u-editor/index.mjs") },
31
+ components: { FyUEditor: () => import("../fy-u-editor/index.mjs") },
33
32
  mixins: [j],
34
33
  props: {
35
34
  value: [String, Object, Number, Boolean, Array],
@@ -118,8 +117,8 @@ var k = function() {
118
117
  null,
119
118
  null
120
119
  );
121
- const V = I.exports;
120
+ const R = I.exports;
122
121
  export {
123
- V as F,
124
- R as d
122
+ R as F,
123
+ M as d
125
124
  };
@@ -1,4 +1,4 @@
1
- import o from "./count-up/index.mjs";
1
+ import o from "../count-up/index.mjs";
2
2
  import { n as i } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
3
  const r = {
4
4
  name: "DataDisplay",
@@ -1,36 +1,24 @@
1
- var g = Object.defineProperty, y = Object.defineProperties;
2
- var v = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
4
- var C = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var p = (l, e, t) => e in l ? g(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, u = (l, e) => {
6
- for (var t in e || (e = {}))
7
- C.call(e, t) && p(l, t, e[t]);
8
- if (d)
9
- for (var t of d(e))
10
- _.call(e, t) && p(l, t, e[t]);
11
- return l;
12
- }, c = (l, e) => y(l, v(e));
13
- var a = (l, e, t) => new Promise((i, n) => {
14
- var f = (o) => {
1
+ var a = (t, e, l) => new Promise((i, n) => {
2
+ var p = (o) => {
15
3
  try {
16
- s(t.next(o));
4
+ s(l.next(o));
17
5
  } catch (r) {
18
6
  n(r);
19
7
  }
20
- }, m = (o) => {
8
+ }, u = (o) => {
21
9
  try {
22
- s(t.throw(o));
10
+ s(l.throw(o));
23
11
  } catch (r) {
24
12
  n(r);
25
13
  }
26
- }, s = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(f, m);
27
- s((t = t.apply(l, e)).next());
14
+ }, s = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(p, u);
15
+ s((l = l.apply(t, e)).next());
28
16
  });
29
- import h from "element-ui/lib/dialog";
30
- import { dialogDrag as S } from "@web-utils/vue/directives/dialog-drag";
31
- import { getComputedHeight as b, isDef as w } from "@web-utils/core";
32
- import { n as x } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
33
- const B = {
17
+ import d from "element-ui/lib/dialog";
18
+ import { dialogDrag as c } from "@web-utils/vue/directives/dialog-drag";
19
+ import { getComputedHeight as h, isDef as f } from "@web-utils/core";
20
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
21
+ const g = {
34
22
  props: {
35
23
  visible: {
36
24
  type: Boolean,
@@ -65,12 +53,12 @@ const B = {
65
53
  default: "76vh"
66
54
  }
67
55
  }
68
- }, T = {
56
+ }, y = {
69
57
  name: "ElementDialog",
70
58
  directives: {
71
- dialogDrag: S
59
+ dialogDrag: c
72
60
  },
73
- mixins: [...h.mixins || h.default.mixins, B],
61
+ mixins: [...d.mixins || d.default.mixins, g],
74
62
  props: {
75
63
  title: {
76
64
  type: String,
@@ -130,20 +118,20 @@ const B = {
130
118
  },
131
119
  computed: {
132
120
  style() {
133
- const l = {
121
+ const t = {
134
122
  maxHeight: "100%"
135
123
  };
136
- return this.fullScreen || (this.width && (l.width = this.width), l.maxHeight = this.maxHeight), l;
124
+ return this.fullScreen || (this.width && (t.width = this.width), t.maxHeight = this.maxHeight), t["margin-top"] = this.marginTop, t;
137
125
  }
138
126
  },
139
127
  watch: {
140
- visible(l) {
128
+ visible(t) {
141
129
  return a(this, null, function* () {
142
- l ? (this.closed = !1, this.$emit("open"), this.$el.addEventListener("scroll", this.updatePopper), yield this.$nextTick(), this.$refs.dialog.scrollTop = 0, yield this.computeTop(), this.appendToBody && document.body.appendChild(this.$el)) : (this.$el.removeEventListener("scroll", this.updatePopper), this.closed || this.$emit("close"));
130
+ t ? (this.closed = !1, this.$emit("open"), this.$el.addEventListener("scroll", this.updatePopper), yield this.$nextTick(), this.$refs.dialog.scrollTop = 0, yield this.computeTop(), this.appendToBody && document.body.appendChild(this.$el)) : (this.$el.removeEventListener("scroll", this.updatePopper), this.closed || this.$emit("close"));
143
131
  });
144
132
  },
145
- fullScreen(l) {
146
- this.$emit("toggle-fullscreen", l);
133
+ fullScreen(t) {
134
+ this.$emit("toggle-fullscreen", t);
147
135
  }
148
136
  },
149
137
  created() {
@@ -164,7 +152,7 @@ const B = {
164
152
  methods: {
165
153
  computeTop() {
166
154
  return a(this, null, function* () {
167
- yield this.$nextTick(), this.verticalCenter ? this.marginTop = `${(document.body.offsetHeight - b(this.$refs.dialog)) / 2 + (w(this.offsetTop) ? this.offsetTop : 0)}px` : this.marginTop = this.top;
155
+ yield this.$nextTick(), this.verticalCenter ? this.marginTop = `${(document.body.offsetHeight - h(this.$refs.dialog)) / 2 + (f(this.offsetTop) ? this.offsetTop : 0)}px` : this.marginTop = this.top;
168
156
  });
169
157
  },
170
158
  toggleFullScreen() {
@@ -177,8 +165,8 @@ const B = {
177
165
  this.fullScreen = !1;
178
166
  },
179
167
  shouldShowFooter() {
180
- var l, e;
181
- return !!((e = (l = this.$scopedSlots).footer) != null && e.call(l));
168
+ var t, e;
169
+ return !!((e = (t = this.$scopedSlots).footer) != null && e.call(t));
182
170
  },
183
171
  handleWrapperClick() {
184
172
  this.closeOnClickModal && this.handleClose();
@@ -186,8 +174,8 @@ const B = {
186
174
  handleClose() {
187
175
  typeof this.beforeClose == "function" ? this.beforeClose(this.hide) : this.hide();
188
176
  },
189
- hide(l) {
190
- l !== !1 && (this.embed ? this.$parent.$emit("update:visible", !1) : this.$emit("update:visible", !1), this.$emit("close"), this.closed = !0);
177
+ hide(t) {
178
+ t !== !1 && (this.embed ? this.$parent.$emit("update:visible", !1) : this.$emit("update:visible", !1), this.$emit("close"), this.closed = !0);
191
179
  },
192
180
  updatePopper() {
193
181
  this.broadcast("ElSelectDropdown", "updatePopper"), this.broadcast("ElDropdownMenu", "updatePopper");
@@ -200,11 +188,11 @@ const B = {
200
188
  }
201
189
  }
202
190
  };
203
- var $ = function() {
204
- var e = this, t = e._self._c;
205
- return t("Transition", { attrs: { name: "dialog-fade" }, on: { "after-enter": e.afterEnter, "after-leave": e.afterLeave } }, [t("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }, { name: "dialog-drag", rawName: "v-dialog-drag:[fullScreen]", value: { onMove: e.updatePopper }, expression: "{ onMove: updatePopper }", arg: e.fullScreen }], staticClass: "el-dialog__wrapper", on: { click: function(i) {
191
+ var v = function() {
192
+ var e = this, l = e._self._c;
193
+ return l("Transition", { attrs: { name: "dialog-fade" }, on: { "after-enter": e.afterEnter, "after-leave": e.afterLeave } }, [l("div", { directives: [{ name: "show", rawName: "v-show", value: e.visible, expression: "visible" }, { name: "dialog-drag", rawName: "v-dialog-drag:[fullScreen]", value: { onMove: e.updatePopper }, expression: "{ onMove: updatePopper }", arg: e.fullScreen }], staticClass: "el-dialog__wrapper", on: { click: function(i) {
206
194
  return i.target !== i.currentTarget ? null : e.handleWrapperClick.apply(null, arguments);
207
- } } }, [t("div", { ref: "dialog", class: [
195
+ } } }, [l("div", { ref: "dialog", class: [
208
196
  "el-dialog",
209
197
  "element-dialog",
210
198
  "el-dialog-resizeable",
@@ -217,20 +205,20 @@ var $ = function() {
217
205
  "el-dialog--flex-column": e.flexColumn
218
206
  },
219
207
  e.customClass
220
- ], style: c(u({}, e.style), { top: e.marginTop }), attrs: { role: "dialog", "aria-modal": "true", "aria-label": e.title || "dialog" } }, [t("div", { staticClass: "el-dialog__header" }, [e._t("title", function() {
221
- return [t("span", { staticClass: "el-dialog__title" }, [e._v(e._s(e.title))])];
222
- }), t("div", { staticClass: "header-button-wrapper" }, [e._t("header-button"), e.showFullScreen ? t("ElButton", { staticClass: "header-button", attrs: { type: "text", icon: e.fullScreen ? "el-icon-copy-document" : "el-icon-full-screen", size: "medium", title: e.fullScreen ? "还原" : "最大化" }, on: { click: e.toggleFullScreen } }) : e._e(), e.showClose ? t("ElButton", { staticClass: "header-button header-dialog-close", attrs: { "aria-label": "Close", type: "text", title: "关闭", icon: "el-icon-close", size: "medium" }, on: { click: e.handleClose } }) : e._e()], 2)], 2), e.rendered ? t("div", { staticClass: "el-dialog__body", style: { height: e.fullScreen ? "100%" : e.height } }, [e.destroyOnClose ? [e.visible ? e._t("default") : e._e()] : e._t("default")], 2) : e._e(), e.shouldShowFooter() ? t("div", { staticClass: "el-dialog__footer" }, [e._t("footer", null, { handleClose: e.handleClose })], 2) : e._e()])])]);
223
- }, F = [], E = /* @__PURE__ */ x(
224
- T,
225
- $,
226
- F,
208
+ ], style: e.style, attrs: { role: "dialog", "aria-modal": "true", "aria-label": e.title || "dialog" } }, [l("div", { staticClass: "el-dialog__header" }, [e._t("title", function() {
209
+ return [l("span", { staticClass: "el-dialog__title" }, [e._v(e._s(e.title))])];
210
+ }), l("div", { staticClass: "header-button-wrapper" }, [e._t("header-button"), e.showFullScreen ? l("ElButton", { staticClass: "header-button", attrs: { type: "text", icon: e.fullScreen ? "el-icon-copy-document" : "el-icon-full-screen", size: "medium", title: e.fullScreen ? "还原" : "最大化" }, on: { click: e.toggleFullScreen } }) : e._e(), e.showClose ? l("ElButton", { staticClass: "header-button header-dialog-close", attrs: { "aria-label": "Close", type: "text", title: "关闭", icon: "el-icon-close", size: "medium" }, on: { click: e.handleClose } }) : e._e()], 2)], 2), e.rendered ? l("div", { staticClass: "el-dialog__body", style: { height: e.fullScreen ? "100%" : e.height } }, [e.destroyOnClose ? [e.visible ? e._t("default") : e._e()] : e._t("default")], 2) : e._e(), e.shouldShowFooter() ? l("div", { staticClass: "el-dialog__footer" }, [e._t("footer", null, { handleClose: e.handleClose })], 2) : e._e()])])]);
211
+ }, C = [], _ = /* @__PURE__ */ m(
212
+ y,
213
+ v,
214
+ C,
227
215
  !1,
228
216
  null,
229
217
  null,
230
218
  null,
231
219
  null
232
220
  );
233
- const M = E.exports;
221
+ const T = _.exports;
234
222
  export {
235
- M as default
223
+ T as default
236
224
  };
@@ -48,8 +48,7 @@ import Be from "x2js";
48
48
  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
- import je from "./highlight-j-s/index.mjs";
52
- import "./highlight-j-s/style.css";
51
+ import je from "../highlight-j-s/index.mjs";
53
52
  function J(i, e, t, n, s, r, a, o, m, F, p, l, c) {
54
53
  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) {
55
54
  const C = E.context.shape;
@@ -6680,7 +6679,7 @@ var pi = function() {
6680
6679
  null,
6681
6680
  null
6682
6681
  );
6683
- const Bi = ci.exports;
6682
+ const Di = ci.exports;
6684
6683
  export {
6685
- Bi as default
6684
+ Di as default
6686
6685
  };
@@ -30,8 +30,7 @@ import A from "bpmn-js/lib/NavigatedViewer";
30
30
  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
- import $ from "./easy-popup/index.mjs";
34
- import "./easy-popup/style.css";
33
+ import $ from "../easy-popup/index.mjs";
35
34
  import { n as F } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
36
35
  const f = d.prototype._handleWheel, S = {
37
36
  __init__: ["zoomScroll"],
@@ -187,7 +186,7 @@ var C = function() {
187
186
  null,
188
187
  null
189
188
  );
190
- const D = W.exports;
189
+ const j = W.exports;
191
190
  export {
192
- D as default
191
+ j as default
193
192
  };
@@ -1,4 +1,4 @@
1
- import n from "./confirmable/index.mjs";
1
+ import n from "../confirmable/index.mjs";
2
2
  import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
3
3
  const t = {
4
4
  props: {
@@ -9,17 +9,16 @@ 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 m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
13
- import { d, n as c } from "../chunks/index.LGsb2aDq.mjs";
14
- import u from "./x-input-tag/index.mjs";
15
- import "./x-input-tag/style.css";
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";
14
+ import u from "../x-input-tag/index.mjs";
16
15
  import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
17
16
  const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
18
17
  name: "FormInputTag",
19
18
  components: {
20
19
  XInputTag: u
21
20
  },
22
- mixins: [m],
21
+ mixins: [d],
23
22
  props: {
24
23
  value: [Array, String],
25
24
  block: {
@@ -37,7 +36,7 @@ const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
37
36
  },
38
37
  computed: {
39
38
  inputProps() {
40
- return d(n(n({}, c(this.$attrs)), this.$props), _);
39
+ return m(n(n({}, c(this.$attrs)), this.$props), _);
41
40
  }
42
41
  }
43
42
  };
@@ -60,7 +59,7 @@ var y = function() {
60
59
  null,
61
60
  null
62
61
  );
63
- const M = I.exports;
62
+ const F = I.exports;
64
63
  export {
65
- M as default
64
+ F as default
66
65
  };
@@ -11,25 +11,24 @@ 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 i = (n) => {
14
+ var n = (i) => {
15
15
  try {
16
- a(e.next(n));
16
+ a(e.next(i));
17
17
  } catch (d) {
18
18
  s(d);
19
19
  }
20
- }, l = (n) => {
20
+ }, l = (i) => {
21
21
  try {
22
- a(e.throw(n));
22
+ a(e.throw(i));
23
23
  } catch (d) {
24
24
  s(d);
25
25
  }
26
- }, a = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(i, l);
26
+ }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, 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
- import C from "./resize-observer/index.mjs";
32
- import "./resize-observer/style.css";
31
+ import C from "../resize-observer/index.mjs";
33
32
  import { n as L } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
34
33
  const y = [
35
34
  "back",
@@ -134,10 +133,10 @@ const y = [
134
133
  o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
135
134
  const r = m(t.$el, "form-card"), s = m(e.$el, "form-card");
136
135
  if (r === s) {
137
- const i = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
138
- return i - l;
136
+ const n = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
137
+ return n - l;
139
138
  } else {
140
- const i = m(r, "form-scroller"), l = [].indexOf.call(i.children, r), a = [].indexOf.call(i.children, s);
139
+ const n = m(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
141
140
  return l - a;
142
141
  }
143
142
  }), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
@@ -225,7 +224,7 @@ var N = function() {
225
224
  return [t._t(r)];
226
225
  }, proxy: !0 };
227
226
  })], 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) {
228
- return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
227
+ return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(n) {
229
228
  return t.navItemClick(r, s);
230
229
  } } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
231
230
  }), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
@@ -239,7 +238,7 @@ var N = function() {
239
238
  null,
240
239
  null
241
240
  );
242
- const G = A.exports;
241
+ const E = A.exports;
243
242
  export {
244
- G as default
243
+ E as default
245
244
  };
package/fy-curd/index.mjs CHANGED
@@ -6,10 +6,9 @@ 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
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.2IfXIr8o.mjs";
9
+ import { F as L, d as w } from "../chunks/FormTemp.SuKjjFfL.mjs";
10
10
  import { s as V } from "../chunks/dic.7JBaVHv6.mjs";
11
- import R from "./icon-temp/index.mjs";
12
- import "./icon-temp/style.css";
11
+ import R from "../icon-temp/index.mjs";
13
12
  const p = {
14
13
  menuWidth: 220,
15
14
  menuFixed: "right",
@@ -1922,7 +1921,7 @@ var Ue = function() {
1922
1921
  null,
1923
1922
  null
1924
1923
  );
1925
- const ot = qe.exports;
1924
+ const lt = qe.exports;
1926
1925
  export {
1927
- ot as default
1926
+ lt as default
1928
1927
  };
package/fy-form/index.mjs CHANGED
@@ -14,7 +14,7 @@ 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.2IfXIr8o.mjs";
17
+ import { F as P, d as z } from "../chunks/FormTemp.SuKjjFfL.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";
@@ -26,12 +26,11 @@ var y = (l, e, t) => new Promise((a, i) => {
26
26
  r((t = t.apply(l, e)).next());
27
27
  });
28
28
  import { isBlank as C } from "@web-utils/core";
29
- import b from "./monaco-editor/index.mjs";
29
+ import b from "../monaco-editor/index.mjs";
30
30
  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";
35
34
  import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
36
35
  const E = [
37
36
  {
@@ -551,7 +550,7 @@ const E = [
551
550
  }
552
551
  }, T = {
553
552
  name: "WidgetFormItem",
554
- components: { FyUEditor: () => import("./fy-u-editor/index.mjs") },
553
+ components: { FyUEditor: () => import("../fy-u-editor/index.mjs") },
555
554
  props: {
556
555
  item: {
557
556
  type: Object,
@@ -1174,7 +1173,7 @@ var Se = function() {
1174
1173
  Ae,
1175
1174
  !1,
1176
1175
  null,
1177
- "c46fca4d",
1176
+ "31aa4f25",
1178
1177
  null,
1179
1178
  null
1180
1179
  );
@@ -1251,7 +1250,7 @@ var Te = function() {
1251
1250
  ze,
1252
1251
  !1,
1253
1252
  null,
1254
- "49f19745",
1253
+ "a7db64bd",
1255
1254
  null,
1256
1255
  null
1257
1256
  );
@@ -1613,7 +1612,7 @@ var et = function() {
1613
1612
  tt,
1614
1613
  !1,
1615
1614
  null,
1616
- "806989ec",
1615
+ "d0068d2b",
1617
1616
  null,
1618
1617
  null
1619
1618
  );
@@ -2996,7 +2995,7 @@ var ra = function() {
2996
2995
  null,
2997
2996
  null
2998
2997
  );
2999
- const ya = da.exports;
2998
+ const _a = da.exports;
3000
2999
  export {
3001
- ya as default
3000
+ _a as default
3002
3001
  };
@@ -1 +1 @@
1
- .dic[data-v-c46fca4d]{margin-bottom:5px;display:flex}.el-tag[data-v-49f19745]{vertical-align:top}.el-tag+.el-tag[data-v-49f19745]{margin-left:5px}.input-new-tag[data-v-49f19745]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-49f19745]{vertical-align:top;left:10px}.custom-tree-node[data-v-806989ec]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
1
+ .dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-a7db64bd]{vertical-align:top}.el-tag+.el-tag[data-v-a7db64bd]{margin-left:5px}.input-new-tag[data-v-a7db64bd]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-a7db64bd]{vertical-align:top;left:10px}.custom-tree-node[data-v-d0068d2b]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
@@ -1,6 +1,5 @@
1
1
  import { p as a, e as s } from "../chunks/event.lbJYeMJp.mjs";
2
- import o from "./icon-temp/index.mjs";
3
- import "./icon-temp/style.css";
2
+ import o from "../icon-temp/index.mjs";
4
3
  import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
5
4
  const c = {
6
5
  name: "FyInputIcon",
@@ -25,10 +24,10 @@ const c = {
25
24
  },
26
25
  computed: {
27
26
  list() {
28
- let n = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
27
+ let i = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
29
28
  value: t
30
29
  } : t);
31
- return this.filterText && (n = n.filter((t) => t.label.indexOf(this.filterText) !== -1)), n;
30
+ return this.filterText && (i = i.filter((t) => t.label.indexOf(this.filterText) !== -1)), i;
32
31
  },
33
32
  option() {
34
33
  return {
@@ -40,11 +39,11 @@ const c = {
40
39
  this.tabs = this.iconList[0] || {};
41
40
  },
42
41
  methods: {
43
- handleTabs(n) {
44
- this.tabs = n;
42
+ handleTabs(i) {
43
+ this.tabs = i;
45
44
  },
46
- handleSubmit(n) {
47
- this.box = !1, this.text = n, this.handleChange(n);
45
+ handleSubmit(i) {
46
+ this.box = !1, this.text = i, this.handleChange(i);
48
47
  },
49
48
  handleShow() {
50
49
  this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
@@ -53,20 +52,20 @@ const c = {
53
52
  };
54
53
  var u = function() {
55
54
  var t = this, e = t._self._c;
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) {
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) {
57
56
  return t.handleClick.apply(null, arguments);
58
57
  } }, scopedSlots: t._u([{ key: "append", fn: function() {
59
58
  return [e("IconTemp", { attrs: { text: t.text, size: 28, small: t.size === "mini" }, on: { click: t.handleShow } })];
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);
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);
70
69
  }), 0)], 1)], 1) : t._e()], 1);
71
70
  }, d = [], p = /* @__PURE__ */ r(
72
71
  c,
@@ -78,7 +77,7 @@ var u = function() {
78
77
  null,
79
78
  null
80
79
  );
81
- const x = p.exports;
80
+ const b = p.exports;
82
81
  export {
83
- x as default
82
+ b as default
84
83
  };
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.0",
4
+ "version": "3.3.2",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -17,23 +17,23 @@
17
17
  "@tinymce/tinymce-vue": "3.2.8",
18
18
  "@wangeditor/editor": "^5.1.23",
19
19
  "@wangeditor/editor-for-vue": "^1.0.2",
20
- "@web-utils/core": "^3.0.1",
21
- "@web-utils/integrations": "^3.0.1",
22
- "@web-utils/vue": "^3.0.1",
23
- "bpmn-js": "^15.1.3",
24
- "bpmn-js-token-simulation": "^0.31.1",
20
+ "@web-utils/core": "^3.0.7",
21
+ "@web-utils/integrations": "^3.0.7",
22
+ "@web-utils/vue": "^3.0.7",
23
+ "bpmn-js": "^16.3.0",
24
+ "bpmn-js-token-simulation": "^0.33.0",
25
25
  "codemirror": "^5.65.15",
26
26
  "countup.js": "^2.8.0",
27
27
  "dayjs": "^1.11.10",
28
- "diagram-js": "12.8.0",
28
+ "diagram-js": "13.4.0",
29
29
  "echarts": "^5.4.3",
30
30
  "highlight.js": "^11.9.0",
31
31
  "lodash-es": "^4.17.21",
32
32
  "min-dash": "^4.1.1",
33
33
  "min-dom": "^4.1.0",
34
- "monaco-editor": "^0.44.0",
35
- "overlayscrollbars": "^2.4.4",
36
- "photoswipe": "^5.4.2",
34
+ "monaco-editor": "^0.45.0",
35
+ "overlayscrollbars": "^2.4.6",
36
+ "photoswipe": "^5.4.3",
37
37
  "qrcode": "^1.5.3",
38
38
  "quill": "^1.3.7",
39
39
  "resize-detector": "^0.3.0",
@@ -1,15 +1,12 @@
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";
5
- import l from "./page-header/index.mjs";
6
- import "./page-header/style.css";
7
- import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
8
- const a = {
1
+ import n from "../page/index.mjs";
2
+ import o from "../nav-bar/index.mjs";
3
+ import l from "../page-header/index.mjs";
4
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
5
+ const r = {
9
6
  name: "PageSkeleton",
10
7
  components: {
11
- Page: o,
12
- NavBar: n,
8
+ Page: n,
9
+ NavBar: o,
13
10
  PageHeader: l
14
11
  },
15
12
  props: {
@@ -36,8 +33,8 @@ var s = function() {
36
33
  { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll },
37
34
  e.contentClass
38
35
  ] }, [e._t("default")], 2)], 2);
39
- }, c = [], f = /* @__PURE__ */ r(
40
- a,
36
+ }, c = [], f = /* @__PURE__ */ a(
37
+ r,
41
38
  s,
42
39
  c,
43
40
  !1,
@@ -46,7 +43,7 @@ var s = function() {
46
43
  null,
47
44
  null
48
45
  );
49
- const x = f.exports;
46
+ const d = f.exports;
50
47
  export {
51
- x as default
48
+ d as default
52
49
  };
@@ -28,8 +28,7 @@ var d = (e, t, o) => new Promise((r, s) => {
28
28
  });
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
- import L from "./resize-observer/index.mjs";
32
- import "./resize-observer/style.css";
31
+ import L from "../resize-observer/index.mjs";
33
32
  import { n as C } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
34
33
  const w = [
35
34
  "back",
@@ -228,7 +227,7 @@ var O = function() {
228
227
  null,
229
228
  null
230
229
  );
231
- const W = z.exports;
230
+ const E = z.exports;
232
231
  export {
233
- W as default
232
+ E as default
234
233
  };
@@ -15,8 +15,7 @@ var l = (e, t, s) => new Promise((o, i) => {
15
15
  a((s = s.apply(e, t)).next());
16
16
  });
17
17
  import { n as u } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
18
- import d from "./resize-observer/index.mjs";
19
- import "./resize-observer/style.css";
18
+ import d from "../resize-observer/index.mjs";
20
19
  function g(e, t) {
21
20
  for (let s = 0; s < t.length; s++)
22
21
  if (e === t[s])
@@ -212,7 +211,7 @@ var M = function() {
212
211
  null,
213
212
  null
214
213
  );
215
- const C = w.exports;
214
+ const y = w.exports;
216
215
  export {
217
- C as default
216
+ y as default
218
217
  };
package/swiper/index.mjs CHANGED
@@ -15,8 +15,7 @@ var h = (e, t, s) => new Promise((i, r) => {
15
15
  a((s = s.apply(e, t)).next());
16
16
  });
17
17
  import { getEleWidth as c } from "@web-utils/core";
18
- import u from "./resize-observer/index.mjs";
19
- import "./resize-observer/style.css";
18
+ import u from "../resize-observer/index.mjs";
20
19
  import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
21
20
  const f = {
22
21
  name: "Swiper",
@@ -136,7 +135,7 @@ var w = function() {
136
135
  null,
137
136
  null
138
137
  );
139
- const x = X.exports;
138
+ const E = X.exports;
140
139
  export {
141
- x as default
140
+ E as default
142
141
  };
package/toolbar/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import { h as i } from "vue";
2
2
  import { NOOP as u } from "@web-utils/core";
3
+ import f from "../toolbar-button/index.mjs";
3
4
  const h = {
4
5
  back: {
5
6
  label: "返回",
@@ -95,7 +96,7 @@ const h = {
95
96
  icon: "el-icon-search",
96
97
  separateLine: !1
97
98
  }
98
- }, m = {
99
+ }, B = {
99
100
  name: "Toolbar",
100
101
  provide() {
101
102
  return {
@@ -138,10 +139,10 @@ const h = {
138
139
  type: s,
139
140
  separateLine: a = !0
140
141
  }) {
141
- var r;
142
- let l;
143
- const n = ((r = this.label) == null ? void 0 : r[e]) || t;
144
- return ["back", "cancel"].includes(e) ? l = this.goBack : l = (c) => (this.$listeners[e] || u)(c), i("ToolbarButton", {
142
+ var l;
143
+ let r;
144
+ const n = ((l = this.label) == null ? void 0 : l[e]) || t;
145
+ return ["back", "cancel"].includes(e) ? r = this.goBack : r = (c) => (this.$listeners[e] || u)(c), i(f, {
145
146
  attrs: {
146
147
  "separate-line": a,
147
148
  icon: o,
@@ -150,7 +151,7 @@ const h = {
150
151
  type: s
151
152
  },
152
153
  on: {
153
- click: l
154
+ click: r
154
155
  }
155
156
  });
156
157
  },
@@ -160,9 +161,9 @@ const h = {
160
161
  createButton: e
161
162
  } = this;
162
163
  return ((s = (o = this.$scopedSlots)["toolbar-left"]) == null ? void 0 : s.call(o)) || this.buttons.map((a) => {
163
- var n, r, c, p, b;
164
- const l = h[a];
165
- return l ? ((r = (n = this.$scopedSlots)[a]) == null ? void 0 : r.call(n)) || e(a, l) : a === "slot" && (b = (p = (c = this.$scopedSlots).default) == null ? void 0 : p.call(c, {
164
+ var n, l, c, p, b;
165
+ const r = h[a];
166
+ return r ? ((l = (n = this.$scopedSlots)[a]) == null ? void 0 : l.call(n)) || e(a, r) : a === "slot" && (b = (p = (c = this.$scopedSlots).default) == null ? void 0 : p.call(c, {
166
167
  buttons: this.buttons,
167
168
  footer: this.footer
168
169
  })) != null ? b : null;
@@ -192,5 +193,5 @@ const h = {
192
193
  }
193
194
  };
194
195
  export {
195
- m as default
196
+ B as default
196
197
  };
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.0",
5
+ "version": "3.3.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",