@web-utils/component 3.4.5 → 3.5.0
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 +1 -1
- package/chunks/{FormTemp.CJOJOy8K.mjs → FormTemp.BSpnNput.mjs} +4 -4
- package/chunks/confirmable-mixin.D4LAArE5.mjs +114 -0
- package/chunks/{dataformat.ARPY2U57.mjs → dataformat.B9UvztrQ.mjs} +7 -7
- package/chunks/{dic.DBmh9yzU.mjs → dic.CET0XdKP.mjs} +3 -3
- package/chunks/{event.mRPNW7Cx.mjs → event.BT1F_1vF.mjs} +6 -6
- package/chunks/{form-input-mixin.DMuQta5I.mjs → form-input-mixin.BkKiqJhi.mjs} +2 -2
- package/chunks/{form-item-mixin.CdcqXa2h.mjs → form-item-mixin.CG4ZwzMC.mjs} +1 -1
- package/chunks/{index.DwCBGcYk.mjs → index.MAFc4eFi.mjs} +4 -4
- package/chunks/{init.CauLYxJq.mjs → init.ofpxEyAI.mjs} +8 -8
- package/chunks/{util.BaRFvfAi.mjs → util.CoahLDYn.mjs} +7 -7
- package/code-mirror-editor/index.mjs +45 -45
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-table-picker/index.mjs +1 -1
- package/dialog-form/index.mjs +1 -1
- package/e-charts/index.mjs +3 -3
- package/editable-tree/index.mjs +13 -13
- package/element-dialog/index.mjs +47 -27
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +1 -1
- package/form-cascader/index.mjs +5 -5
- package/form-checkbox-group/index.mjs +2 -2
- package/form-date-picker/index.mjs +2 -2
- package/form-holder/index.mjs +1 -1
- package/form-input/index.mjs +2 -2
- package/form-input-email/index.mjs +2 -2
- package/form-input-id-card/index.mjs +2 -2
- package/form-input-number/index.mjs +2 -2
- package/form-input-phone-number/index.mjs +2 -2
- package/form-input-tag/index.mjs +2 -2
- package/form-input-time/index.mjs +2 -2
- package/form-item/index.mjs +1 -1
- package/form-radio-group/index.mjs +2 -2
- package/form-select/index.mjs +2 -2
- package/form-switch/index.mjs +2 -2
- package/form-textarea/index.mjs +2 -2
- package/form-view/index.mjs +3 -3
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +9 -9
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +1 -1
- package/fy-dynamic/index.mjs +2 -2
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +14 -14
- package/fy-form-design/index.mjs +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +1 -1
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +1 -1
- package/fy-input-tree/style.css +1 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.mjs +3 -3
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +2 -2
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/index.mjs +450 -453
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/package.json +15 -15
- package/page-index/index.mjs +1 -1
- package/page-index-top/index.mjs +1 -1
- package/pageable-table/index.mjs +3 -3
- package/pageable-view/index.mjs +3 -3
- package/present-view/index.mjs +3 -3
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +4 -4
- package/sign/index.mjs +1 -1
- package/table-view/index.mjs +6 -6
- package/text-ellipsis/index.mjs +1 -1
- package/verify/index.mjs +1 -1
- package/vue-tree-select/style.css +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +4 -13
- package/chunks/confirmable-mixin.D2KW-Qlc.mjs +0 -116
- package/emulate-form/index.mjs +0 -25
package/editable-tree/index.mjs
CHANGED
|
@@ -26,10 +26,10 @@ var a = (t, e, i) => new Promise((s, o) => {
|
|
|
26
26
|
}, l = (d) => d.done ? s(d.value) : Promise.resolve(d.value).then(n, r);
|
|
27
27
|
l((i = i.apply(t, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
29
|
+
import { findTreeChildren as T, delay as M, isUndefined as p, isNotEmpty as K, fastClone as P, isPlainObject as u, isFunction as N, computePosition as E, isVerticalScrollbarVisible as D, scrollbarWidth as L, hasOwn as m } from "@web-utils/core";
|
|
30
|
+
import { removeResizeListener as C, addResizeListener as g } from "@web-utils/integrations/resize";
|
|
31
31
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
32
|
-
import { a as R, b as z, c as y } from "../chunks/index.
|
|
32
|
+
import { a as R, b as z, c as y } from "../chunks/index.MAFc4eFi.mjs";
|
|
33
33
|
import { n as S } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
34
34
|
const V = {
|
|
35
35
|
name: "EditableTree",
|
|
@@ -164,14 +164,14 @@ const V = {
|
|
|
164
164
|
this.tryFetch();
|
|
165
165
|
},
|
|
166
166
|
mounted() {
|
|
167
|
-
|
|
167
|
+
g(this.$refs.tree.$el, this.resize), g(this.$refs.treeWrapper, this.resize);
|
|
168
168
|
},
|
|
169
169
|
beforeDestroy() {
|
|
170
|
-
|
|
170
|
+
C(this.$refs.tree.$el, this.resize), C(this.$refs.treeWrapper, this.resize);
|
|
171
171
|
},
|
|
172
172
|
methods: {
|
|
173
|
-
filterTreeProperties:
|
|
174
|
-
filterTreeEvents:
|
|
173
|
+
filterTreeProperties: z,
|
|
174
|
+
filterTreeEvents: R,
|
|
175
175
|
addExpandKey(t) {
|
|
176
176
|
this.reserveExpandKey && this.expandedKeys.push(t[this.nodeKey]);
|
|
177
177
|
},
|
|
@@ -179,11 +179,11 @@ const V = {
|
|
|
179
179
|
this.reserveExpandKey && (this.expandedKeys = this.expandedKeys.filter((e) => e !== t[this.nodeKey]));
|
|
180
180
|
},
|
|
181
181
|
resize() {
|
|
182
|
-
|
|
182
|
+
D(this.$refs.treeWrapper) ? this.right = 4 + L : this.right = 4;
|
|
183
183
|
},
|
|
184
184
|
showContextMenu(t, e, i) {
|
|
185
185
|
return a(this, null, function* () {
|
|
186
|
-
e.contextmenu === !1 || e.id === -1 || e.id === 0 || e.edit === !0 || this.contextMenu && (this.curNode = i, this.curData = e, this.showMenu = !0, this.$refs.tree.setCurrentKey(e.id), yield this.$nextTick(), this.position =
|
|
186
|
+
e.contextmenu === !1 || e.id === -1 || e.id === 0 || e.edit === !0 || this.contextMenu && (this.curNode = i, this.curData = e, this.showMenu = !0, this.$refs.tree.setCurrentKey(e.id), yield this.$nextTick(), this.position = E(t, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
|
|
187
187
|
});
|
|
188
188
|
},
|
|
189
189
|
hideContextMenu() {
|
|
@@ -394,14 +394,14 @@ const V = {
|
|
|
394
394
|
},
|
|
395
395
|
onConfirm(t, e) {
|
|
396
396
|
return a(this, null, function* () {
|
|
397
|
-
if (e[this.treeProps.label] === this.text || !
|
|
397
|
+
if (e[this.treeProps.label] === this.text || !K(this.text)) {
|
|
398
398
|
this.clear();
|
|
399
399
|
return;
|
|
400
400
|
}
|
|
401
401
|
p(e.loading) ? this.$set(e, "loading", !0) : e.loading = !0;
|
|
402
402
|
try {
|
|
403
403
|
if (this.loading = !0, e.id === -1) {
|
|
404
|
-
const i = yield this.saveApi(this.newNodeBuilder(this.text, t.parent.data || { id: -1 })), s =
|
|
404
|
+
const i = yield this.saveApi(this.newNodeBuilder(this.text, t.parent.data || { id: -1 })), s = P(e);
|
|
405
405
|
y(e, h(c({}, i.data), { isTempNode: !1 })), this.$emit("node-added", e, s, t), this.registerNode(t);
|
|
406
406
|
} else
|
|
407
407
|
yield this.updateApi(h(c({}, e), { [this.treeProps.label]: this.text }));
|
|
@@ -430,7 +430,7 @@ const V = {
|
|
|
430
430
|
scrollIntoView(t) {
|
|
431
431
|
return a(this, null, function* () {
|
|
432
432
|
var e, i;
|
|
433
|
-
yield this.$nextTick(), t || (yield
|
|
433
|
+
yield this.$nextTick(), t || (yield M(300)), (i = (e = this.$refs) == null ? void 0 : e.labelTxt) == null || i.focus();
|
|
434
434
|
});
|
|
435
435
|
},
|
|
436
436
|
inputKeyup(t, e, i) {
|
|
@@ -458,7 +458,7 @@ const V = {
|
|
|
458
458
|
return this.$refs.tree.root;
|
|
459
459
|
},
|
|
460
460
|
findTreeNode(t) {
|
|
461
|
-
return
|
|
461
|
+
return T(this.$refs.tree.root.childNodes, (e) => e.data === t || e.data.id === t, "childNodes");
|
|
462
462
|
},
|
|
463
463
|
registerNode(t) {
|
|
464
464
|
t.store.registerNode(t), delete t.store.nodesMap[-1];
|
package/element-dialog/index.mjs
CHANGED
|
@@ -1,25 +1,45 @@
|
|
|
1
|
-
var
|
|
1
|
+
var s = (t, e, l) => new Promise((i, n) => {
|
|
2
2
|
var p = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
a(l.next(o));
|
|
5
5
|
} catch (r) {
|
|
6
6
|
n(r);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, u = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
a(l.throw(o));
|
|
11
11
|
} catch (r) {
|
|
12
12
|
n(r);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, a = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(p, u);
|
|
15
|
+
a((l = l.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import d from "element-ui/lib/dialog";
|
|
18
|
-
import { dialogDrag as
|
|
19
|
-
import { getComputedHeight as h, isDef as
|
|
20
|
-
import
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
import { dialogDrag as f } from "@web-utils/vue/directives/dialog-drag";
|
|
19
|
+
import { getComputedHeight as h, isDef as m } from "@web-utils/core";
|
|
20
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
21
|
+
const g = {
|
|
22
|
+
name: "EmulateForm",
|
|
23
|
+
provide() {
|
|
24
|
+
return {
|
|
25
|
+
elForm: {
|
|
26
|
+
disabled: !1
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
render() {
|
|
31
|
+
return this.$slots.default;
|
|
32
|
+
}
|
|
33
|
+
}, y = null, _ = null;
|
|
34
|
+
var v = /* @__PURE__ */ c(
|
|
35
|
+
g,
|
|
36
|
+
y,
|
|
37
|
+
_,
|
|
38
|
+
!1,
|
|
39
|
+
null,
|
|
40
|
+
null
|
|
41
|
+
);
|
|
42
|
+
const C = v.exports, b = {
|
|
23
43
|
props: {
|
|
24
44
|
/**
|
|
25
45
|
* 对话框是否可见
|
|
@@ -87,13 +107,13 @@ const y = {
|
|
|
87
107
|
default: "76vh"
|
|
88
108
|
}
|
|
89
109
|
}
|
|
90
|
-
},
|
|
110
|
+
}, S = {
|
|
91
111
|
name: "ElementDialog",
|
|
92
|
-
components: { EmulateForm:
|
|
112
|
+
components: { EmulateForm: C },
|
|
93
113
|
directives: {
|
|
94
|
-
dialogDrag:
|
|
114
|
+
dialogDrag: f
|
|
95
115
|
},
|
|
96
|
-
mixins: [...d.mixins || d.default.mixins,
|
|
116
|
+
mixins: [...d.mixins || d.default.mixins, b],
|
|
97
117
|
props: {
|
|
98
118
|
/**
|
|
99
119
|
* 对话框标题
|
|
@@ -215,7 +235,7 @@ const y = {
|
|
|
215
235
|
},
|
|
216
236
|
watch: {
|
|
217
237
|
visible(t) {
|
|
218
|
-
return
|
|
238
|
+
return s(this, null, function* () {
|
|
219
239
|
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"));
|
|
220
240
|
});
|
|
221
241
|
},
|
|
@@ -227,7 +247,7 @@ const y = {
|
|
|
227
247
|
this.$watch(() => ({ offsetTop: this.offsetTop, verticalCenter: this.verticalCenter, top: this.top }), this.computeTop, { deep: !0 });
|
|
228
248
|
},
|
|
229
249
|
mounted() {
|
|
230
|
-
return
|
|
250
|
+
return s(this, null, function* () {
|
|
231
251
|
this.visible && (this.rendered = !0, this.open(), yield this.computeTop(), this.appendToBody && document.body.appendChild(this.$el));
|
|
232
252
|
});
|
|
233
253
|
},
|
|
@@ -236,8 +256,8 @@ const y = {
|
|
|
236
256
|
},
|
|
237
257
|
methods: {
|
|
238
258
|
computeTop() {
|
|
239
|
-
return
|
|
240
|
-
yield this.$nextTick(), this.verticalCenter ? this.marginTop = `${(document.body.offsetHeight - h(this.$refs.dialog)) / 2 + (
|
|
259
|
+
return s(this, null, function* () {
|
|
260
|
+
yield this.$nextTick(), this.verticalCenter ? this.marginTop = `${(document.body.offsetHeight - h(this.$refs.dialog)) / 2 + (m(this.offsetTop) ? this.offsetTop : 0)}px` : this.marginTop = this.top;
|
|
241
261
|
});
|
|
242
262
|
},
|
|
243
263
|
toggleFullScreen() {
|
|
@@ -273,7 +293,7 @@ const y = {
|
|
|
273
293
|
}
|
|
274
294
|
}
|
|
275
295
|
};
|
|
276
|
-
var
|
|
296
|
+
var $ = function() {
|
|
277
297
|
var e = this, l = e._self._c;
|
|
278
298
|
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) {
|
|
279
299
|
return i.target !== i.currentTarget ? null : e.handleWrapperClick.apply(null, arguments);
|
|
@@ -292,16 +312,16 @@ var C = function() {
|
|
|
292
312
|
e.customClass
|
|
293
313
|
], style: e.style, attrs: { role: "dialog", "aria-modal": "true", "aria-label": e.title || "dialog" } }, [l("div", { staticClass: "el-dialog__header" }, [e._t("title", function() {
|
|
294
314
|
return [l("span", { staticClass: "el-dialog__title" }, [e._v(e._s(e.title))])];
|
|
295
|
-
}), l("div", { staticClass: "header-button-wrapper" }, [
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
315
|
+
}), l("EmulateForm", [l("div", { staticClass: "header-button-wrapper" }, [e._t("header-button"), e.showFullScreen ? l("ElButton", { staticClass: "header-button", attrs: { disabled: !1, 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: { disabled: !1, "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()])])]);
|
|
316
|
+
}, w = [], x = /* @__PURE__ */ c(
|
|
317
|
+
S,
|
|
318
|
+
$,
|
|
319
|
+
w,
|
|
300
320
|
!1,
|
|
301
321
|
null,
|
|
302
322
|
null
|
|
303
323
|
);
|
|
304
|
-
const
|
|
324
|
+
const P = x.exports;
|
|
305
325
|
export {
|
|
306
|
-
|
|
326
|
+
P as default
|
|
307
327
|
};
|
package/flex-column/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var a = (t, e, n) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
m.call(e, n) && a(t, n, e[n]);
|
|
11
11
|
return t;
|
|
12
12
|
}, c = (t, e) => f(t, u(e));
|
|
13
|
-
import { g as h } from "../chunks/index.
|
|
13
|
+
import { g as h } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexColumn",
|
package/flex-item/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var r = (t, e, l) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
x.call(e, l) && r(t, l, e[l]);
|
|
11
11
|
return t;
|
|
12
12
|
}, f = (t, e) => u(t, c(e));
|
|
13
|
-
import { g as m } from "../chunks/index.
|
|
13
|
+
import { g as m } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import { n as C } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexItem",
|
package/flex-row/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var a = (n, e, t) => e in n ? i(n, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
h.call(e, t) && a(n, t, e[t]);
|
|
11
11
|
return n;
|
|
12
12
|
}, c = (n, e) => f(n, u(e));
|
|
13
|
-
import { g as _ } from "../chunks/index.
|
|
13
|
+
import { g as _ } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexRow",
|
package/flow/index.mjs
CHANGED
package/flow-designer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.element-multi-instance .el-select{display:block}.flow-tips-list-item{list-style:square
|
|
1
|
+
.element-multi-instance .el-select{display:block}.flow-tips-list-item{list-style:inside square}.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}.process-panel__container .el-select{display:block}.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}.flow-drawer .el-select,.flow-dialog .el-select{display:block}.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;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;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}
|
package/flow-node/index.mjs
CHANGED
package/form-cascader/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var o = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
u.call(e, r) && o(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { f as d } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import s from "element-ui/lib/cascader";
|
|
15
|
-
import { d as m, n as f } from "../chunks/index.
|
|
16
|
-
import {
|
|
15
|
+
import { d as m, n as f } from "../chunks/index.MAFc4eFi.mjs";
|
|
16
|
+
import { setParent as h, findTreeChildren as y } from "@web-utils/core";
|
|
17
17
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
18
18
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
19
19
|
const b = Object.keys(s.props || s.default.props).filter(
|
|
@@ -61,7 +61,7 @@ const b = Object.keys(s.props || s.default.props).filter(
|
|
|
61
61
|
return m(l(l({}, f(this.$attrs)), this.$props), b);
|
|
62
62
|
},
|
|
63
63
|
inputVal() {
|
|
64
|
-
let [t] =
|
|
64
|
+
let [t] = y(this.innerOptions, (r) => r[this.valueKey] === this.value);
|
|
65
65
|
const e = [];
|
|
66
66
|
for (; t; )
|
|
67
67
|
e.push(t[this.valueKey]), t = t.parent;
|
|
@@ -74,7 +74,7 @@ const b = Object.keys(s.props || s.default.props).filter(
|
|
|
74
74
|
handler(t) {
|
|
75
75
|
if (t) {
|
|
76
76
|
const e = v(t);
|
|
77
|
-
|
|
77
|
+
h(e), this.innerOptions = e;
|
|
78
78
|
} else
|
|
79
79
|
this.innerOptions = [];
|
|
80
80
|
}
|
|
@@ -9,9 +9,9 @@ var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
u.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
|
-
import { d as f, n as m } from "../chunks/index.
|
|
14
|
+
import { d as f, n as m } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import n from "element-ui/lib/checkbox-group";
|
|
16
16
|
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const b = Object.keys(n.props || n.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
@@ -10,10 +10,10 @@ var s = (t, e, r) => e in t ? m(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
h.call(e, r) && s(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
12
|
}, l = (t, e) => u(t, p(e));
|
|
13
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
+
import { f } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
14
14
|
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
15
15
|
import { toDate as o } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as y, n as g } from "../chunks/index.
|
|
16
|
+
import { d as y, n as g } from "../chunks/index.MAFc4eFi.mjs";
|
|
17
17
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
18
18
|
const k = [
|
|
19
19
|
"type",
|
package/form-holder/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var o = (t, e, i) => new Promise((d, s) => {
|
|
|
15
15
|
l((i = i.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as m } from "@web-utils/core";
|
|
18
|
-
import { e as c } from "../chunks/index.
|
|
18
|
+
import { e as c } from "../chunks/index.MAFc4eFi.mjs";
|
|
19
19
|
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
20
20
|
const p = {
|
|
21
21
|
name: "FormHolder",
|
package/form-input/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ var l = (r, e, t) => e in r ? u(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
14
|
+
import { d, n as f } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(a.props || a.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
17
17
|
name: "FormInput",
|
|
@@ -9,9 +9,9 @@ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
14
|
+
import { d, n as f } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), v = {
|
|
17
17
|
name: "FormInputEmail",
|
|
@@ -9,10 +9,10 @@ var a = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(e, r) && a(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { validateIdCard as l } from "@web-utils/core";
|
|
14
14
|
import i from "element-ui/lib/input";
|
|
15
|
-
import { d as f, n as c } from "../chunks/index.
|
|
15
|
+
import { d as f, n as c } from "../chunks/index.MAFc4eFi.mjs";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
18
18
|
name: "FormInputIdCard",
|
|
@@ -9,8 +9,8 @@ var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
a.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as l } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as m, n as f } from "../chunks/index.
|
|
12
|
+
import { f as l } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
|
+
import { d as m, n as f } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import { i as c } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
|
|
15
15
|
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(c.props).filter((r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)), y = {
|
|
@@ -9,9 +9,9 @@ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { validatePhoneNum as d } from "@web-utils/core";
|
|
14
|
-
import { d as f, n as c } from "../chunks/index.
|
|
14
|
+
import { d as f, n as c } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import l from "element-ui/lib/input";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const h = Object.keys(l.props || l.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,8 +9,8 @@ var l = (t, e, r) => e in t ? u(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.
|
|
13
|
-
import { d, n as c } from "../chunks/index.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
|
+
import { d, n as c } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import s from "../x-input-tag/index.mjs";
|
|
15
15
|
import "../x-input-tag/style.css";
|
|
16
16
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
@@ -9,9 +9,9 @@ var l = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as u } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as u } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import o from "element-ui/lib/time-picker";
|
|
14
|
-
import { d as f, n as d } from "../chunks/index.
|
|
14
|
+
import { d as f, n as d } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), g = {
|
|
17
17
|
name: "FormInputTime",
|
package/form-item/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var w = (e, r, t) => new Promise((d, a) => {
|
|
|
26
26
|
l((t = t.apply(e, r)).next());
|
|
27
27
|
});
|
|
28
28
|
import { h as p } from "vue";
|
|
29
|
-
import { f as B } from "../chunks/form-item-mixin.
|
|
29
|
+
import { f as B } from "../chunks/form-item-mixin.CG4ZwzMC.mjs";
|
|
30
30
|
import { hasOwn as I } from "@web-utils/core";
|
|
31
31
|
const A = {
|
|
32
32
|
name: "FormItem",
|
|
@@ -9,10 +9,10 @@ var s = (o, e, r) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
f.call(e, r) && s(o, r, e[r]);
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { f as h } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
|
-
import { d, n as m } from "../chunks/index.
|
|
15
|
+
import { d, n as m } from "../chunks/index.MAFc4eFi.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const v = Object.keys(a.props || a.default.props).filter((o) => !["value", "placeholder", "disabled"].includes(o)), _ = {
|
|
18
18
|
name: "FormRadioGroup",
|
package/form-select/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var n = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && n(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import { f } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import o from "element-ui/lib/select";
|
|
15
|
-
import { d as h, n as m } from "../chunks/index.
|
|
15
|
+
import { d as h, n as m } from "../chunks/index.MAFc4eFi.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const d = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), _ = {
|
|
18
18
|
name: "FormSelect",
|
package/form-switch/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ var l = (r, e, t) => e in r ? u(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
13
|
import s from "element-ui/lib/switch";
|
|
14
|
-
import { d as m, n as d } from "../chunks/index.
|
|
14
|
+
import { d as m, n as d } from "../chunks/index.MAFc4eFi.mjs";
|
|
15
15
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(s.props || s.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
17
17
|
name: "FormSwitch",
|
package/form-textarea/index.mjs
CHANGED
|
@@ -9,8 +9,8 @@ var s = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as f, n as d } from "../chunks/index.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.BkKiqJhi.mjs";
|
|
13
|
+
import { d as f, n as d } from "../chunks/index.MAFc4eFi.mjs";
|
|
14
14
|
import a from "element-ui/lib/input";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
16
|
const _ = Object.keys(a.props || a.default.props).filter(
|
package/form-view/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var u = (o, t, e) => new Promise((r, s) => {
|
|
|
26
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
|
-
import {
|
|
29
|
+
import { isInContainer as S, animate as F, hasOwn as b, toStringArray 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
32
|
import "../resize-observer/style.css";
|
|
@@ -117,7 +117,7 @@ const y = [
|
|
|
117
117
|
toolbarProps() {
|
|
118
118
|
var r;
|
|
119
119
|
const o = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, e = B({}, this.toolbarAttrs, o);
|
|
120
|
-
return e.buttons = t || ["back"], e.buttons =
|
|
120
|
+
return e.buttons = t || ["back"], e.buttons = k(e.buttons), e;
|
|
121
121
|
},
|
|
122
122
|
toolbarButtons() {
|
|
123
123
|
return this.toolbarProps.buttons.filter((o) => !v.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
|
|
@@ -179,7 +179,7 @@ const y = [
|
|
|
179
179
|
return u(this, null, function* () {
|
|
180
180
|
if (this.showNav) {
|
|
181
181
|
for (let o = 0; o < this.groups.length; o++)
|
|
182
|
-
if (
|
|
182
|
+
if (S(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
183
183
|
this.activeIndex = o;
|
|
184
184
|
break;
|
|
185
185
|
}
|
package/fy-array/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as a, e as l } from "../chunks/event.
|
|
2
|
-
import { i as o } from "../chunks/util.
|
|
1
|
+
import { p as a, e as l } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
|
+
import { i as o } from "../chunks/util.CoahLDYn.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const p = {
|
|
5
5
|
name: "FyArray",
|
package/fy-cascader/index.mjs
CHANGED
package/fy-checkbox/index.mjs
CHANGED
package/fy-code/index.mjs
CHANGED