@web-utils/component 3.1.0 → 3.2.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/address-input/index.mjs +1 -1
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +13 -13
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +6 -6
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +5 -5
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +13 -13
- package/card/style.css +1 -1
- package/carousel/index.mjs +9 -9
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +9 -9
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.aa57efb4.mjs → FormTemp.0eqGAu6W.mjs} +4 -4
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.eaac0823.mjs → dic.7JBaVHv6.mjs} +1 -1
- package/chunks/{event.b5d855dd.mjs → event.lbJYeMJp.mjs} +3 -3
- package/chunks/{form-input-mixin.4632ad36.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.ad148e7b.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{init.47f219b4.mjs → init.6oF7OO2W.mjs} +3 -3
- package/code-mirror-editor/index.mjs +24 -24
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +3 -3
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +4 -4
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +10 -10
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +4 -4
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +3 -3
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +5 -5
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +10 -10
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +3 -3
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +6 -6
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +11 -11
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +8 -8
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +7 -7
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +9 -9
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +4 -4
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +11 -11
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +1 -1
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +6 -6
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +49 -49
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +14 -14
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +4 -4
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +3 -3
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +3 -3
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +5 -5
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +27 -29
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +11 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +14 -14
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +20 -20
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +9 -9
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +10 -10
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +2 -2
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +25 -25
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +15 -15
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +19 -19
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +1 -1
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +7 -7
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +11 -13
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +9 -9
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +2 -2
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +5 -5
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +5 -5
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +15 -17
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +21 -25
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +26 -26
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +12 -12
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +2 -2
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +10 -10
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +16 -16
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +9 -9
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +5 -5
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +13 -13
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +17 -17
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +24 -24
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +3 -3
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +4 -4
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +3 -3
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +4 -4
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +8 -8
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +500 -3983
- package/input-number/index.mjs +4 -4
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +6 -6
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +6 -6
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +7 -7
- package/loading-view/style.css +1 -1
- package/login/index.mjs +6 -6
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +7 -7
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +10 -10
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -5
- package/page/index.mjs +6 -6
- package/page/style.css +1 -1
- package/page-header/index.mjs +3 -3
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +13 -13
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +9 -9
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +18 -18
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +13 -13
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +7 -7
- package/present-view/style.css +1 -1
- package/queue/index.mjs +1 -1
- package/queue/style.css +1 -1
- package/record-video/index.mjs +2 -2
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +4 -4
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +9 -9
- package/search/style.css +1 -1
- package/search-popover/index.mjs +18 -18
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +15 -15
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +7 -7
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +47 -48
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +19 -19
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +7 -7
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +4 -4
- package/swiper/style.css +1 -1
- package/tab/index.mjs +8 -8
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +10 -10
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +7 -7
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +4 -4
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +21 -22
- package/tinymce-editor/style.css +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +13 -13
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +15 -15
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +2 -3
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +2 -3
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +8 -8
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +19 -19
- package/watermark/style.css +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +5 -5
- package/x-input-tag/style.css +1 -1
- package/index.css +0 -1
- /package/chunks/{_plugin-vue2_normalizer.446f5dc4.mjs → _plugin-vue2_normalizer.JwmUNtgn.mjs} +0 -0
- /package/chunks/{confirmable-mixin.817b542f.mjs → confirmable-mixin.GqdyYLEM.mjs} +0 -0
- /package/chunks/{form-pick-mixin.61ad06b2.mjs → form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/chunks/{index.57f871af.mjs → index.LGsb2aDq.mjs} +0 -0
- /package/chunks/{input-number-mixin.41a066be.mjs → input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/chunks/{json-beautifier.21cfffea.mjs → json-beautifier.fUZFSW5j.mjs} +0 -0
- /package/chunks/{packages.1fc9ccba.mjs → packages.v6r2Hr7E.mjs} +0 -0
- /package/chunks/{permission.ce5d2121.mjs → permission.E9kZbW48.mjs} +0 -0
- /package/chunks/{slot.4b391395.mjs → slot.j1uMmBnG.mjs} +0 -0
- /package/chunks/{tab-mixin.e2b9c6a4.mjs → tab-mixin.tM9jcRT8.mjs} +0 -0
- /package/chunks/{util.ae730cde.mjs → util.y1gUGRqi.mjs} +0 -0
package/empty-view/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const i = {
|
|
3
3
|
name: "EmptyView",
|
|
4
4
|
props: {
|
|
@@ -33,7 +33,7 @@ var o = function() {
|
|
|
33
33
|
return t("div", { staticClass: "empty-view", style: { fontSize: e.fontSize, height: e.height } }, [e._t("default", function() {
|
|
34
34
|
return [t("div", { staticClass: "flex-column horizon-center" }, [e.showIcon ? t("i", { class: e.icon, style: { fontSize: e.iconSize } }) : e._e(), t("p", [e._v(e._s(e.emptyTips))])])];
|
|
35
35
|
})], 2);
|
|
36
|
-
}, s = [],
|
|
36
|
+
}, s = [], a = /* @__PURE__ */ n(
|
|
37
37
|
i,
|
|
38
38
|
o,
|
|
39
39
|
s,
|
|
@@ -43,7 +43,7 @@ var o = function() {
|
|
|
43
43
|
null,
|
|
44
44
|
null
|
|
45
45
|
);
|
|
46
|
-
const
|
|
46
|
+
const f = a.exports;
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
f as default
|
|
49
49
|
};
|
package/empty-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.empty-view{color:#909399;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;display:flex;position:relative}
|
|
1
|
+
.empty-view{color:#909399;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;display:flex;position:relative}
|
package/error-view/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const n = {
|
|
3
3
|
name: "ErrorView",
|
|
4
4
|
props: {
|
|
@@ -35,7 +35,7 @@ var i = function() {
|
|
|
35
35
|
null,
|
|
36
36
|
null
|
|
37
37
|
);
|
|
38
|
-
const
|
|
38
|
+
const f = s.exports;
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
f as default
|
|
41
41
|
};
|
package/error-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.error-view{color:#909399;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;display:flex;position:relative}
|
|
1
|
+
.error-view{color:#909399;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;font-size:20px;display:flex;position:relative}
|
package/flex-column/index.mjs
CHANGED
|
@@ -10,8 +10,8 @@ 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) => u(t, f(e));
|
|
13
|
-
import { g as h } from "../chunks/index.
|
|
14
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
13
|
+
import { g as h } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexColumn",
|
|
17
17
|
functional: !0,
|
package/flex-item/index.mjs
CHANGED
|
@@ -10,8 +10,8 @@ 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.
|
|
14
|
-
import { n as C } from "../chunks/_plugin-vue2_normalizer.
|
|
13
|
+
import { g as m } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import { n as C } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexItem",
|
|
17
17
|
functional: !0,
|
package/flex-row/index.mjs
CHANGED
|
@@ -10,8 +10,8 @@ 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.
|
|
14
|
-
import { n as m } from "../chunks/_plugin-vue2_normalizer.
|
|
13
|
+
import { g as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import { n as m } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexRow",
|
|
17
17
|
functional: !0,
|
package/flex-scroller/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const o = {
|
|
3
3
|
name: "FlexScroller",
|
|
4
4
|
props: {
|
|
@@ -30,7 +30,7 @@ var r = function() {
|
|
|
30
30
|
null,
|
|
31
31
|
null
|
|
32
32
|
);
|
|
33
|
-
const
|
|
33
|
+
const f = s.exports;
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
f as default
|
|
36
36
|
};
|
package/flex-scroller/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.flex-scroller-wrapper{flex:auto;position:relative}.flex-scroller-wrapper .flex-scroller{position:absolute;top:0;bottom:0;left:0;right:0}.flex-scroller-wrapper .flex-scroller.content-scroll{overflow:auto}
|
|
1
|
+
.flex-scroller-wrapper{flex:auto;position:relative}.flex-scroller-wrapper .flex-scroller{position:absolute;top:0;bottom:0;left:0;right:0}.flex-scroller-wrapper .flex-scroller.content-scroll{overflow:auto}
|
package/flow/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as l, r } from "../chunks/util.
|
|
2
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as l, r } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const c = {
|
|
4
4
|
name: "Flow",
|
|
5
5
|
props: {
|
|
@@ -235,17 +235,17 @@ var u = function() {
|
|
|
235
235
|
return [t._t("header", null, { node: s })];
|
|
236
236
|
} }], null, !0) }, [t._t("default", null, { node: i })], 2)];
|
|
237
237
|
})], 2)]);
|
|
238
|
-
},
|
|
238
|
+
}, h = [], d = /* @__PURE__ */ a(
|
|
239
239
|
c,
|
|
240
240
|
u,
|
|
241
|
-
|
|
241
|
+
h,
|
|
242
242
|
!1,
|
|
243
243
|
null,
|
|
244
244
|
null,
|
|
245
245
|
null,
|
|
246
246
|
null
|
|
247
247
|
);
|
|
248
|
-
const p =
|
|
248
|
+
const p = d.exports;
|
|
249
249
|
export {
|
|
250
250
|
p as default
|
|
251
251
|
};
|
package/flow/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{box-sizing:border-box;border:1px solid #eee;border-radius:5px;flex-direction:column;width:200px;height:80px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 12px #66a6e0}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-flow__node-header{background-color:#66a6e0;flex:1}.avue-flow__node-body{text-align:center;background:#fff;flex:1.5;justify-content:center;align-items:center;display:flex}
|
|
1
|
+
.avue-flow{position:relative}.avue-flow .avue-draggable{padding:0}.avue-flow__node{box-sizing:border-box;border:1px solid #eee;border-radius:5px;flex-direction:column;width:200px;height:80px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 12px #66a6e0}.avue-flow__node--active{border-width:2px;border-color:#f56c6c}.avue-flow__node-drag{margin:0 5px;display:inline-block}.avue-flow__node-header{background-color:#66a6e0;flex:1}.avue-flow__node-body{text-align:center;background:#fff;flex:1.5;justify-content:center;align-items:center;display:flex}
|
package/flow-designer/index.mjs
CHANGED
|
@@ -26,17 +26,17 @@ var d = (i, e, t) => new Promise((n, s) => {
|
|
|
26
26
|
}, o = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(r, a);
|
|
27
27
|
o((t = t.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { assign as y, isArray as Se, forEach as Te, isObject as Ce, isFunction as Ie, some as
|
|
29
|
+
import { assign as y, isArray as Se, forEach as Te, isObject as Ce, isFunction as Ie, some as A } from "min-dash";
|
|
30
30
|
import { is as V } from "bpmn-js/lib/util/ModelUtil";
|
|
31
|
-
import { isExpanded as ke, isEventSubProcess as
|
|
31
|
+
import { isExpanded as ke, isEventSubProcess as Ae } from "bpmn-js/lib/util/DiUtil";
|
|
32
32
|
import { isAny as N } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
|
|
33
|
-
import { getChildLanes as
|
|
33
|
+
import { getChildLanes as _e } from "bpmn-js/lib/features/modeling/util/LaneUtil";
|
|
34
34
|
import { hasPrimaryModifier as we } from "diagram-js/lib/util/Mouse";
|
|
35
35
|
import oe from "bpmn-js/lib/features/palette/PaletteProvider";
|
|
36
36
|
import K from "diagram-js/lib/features/auto-place/AutoPlace";
|
|
37
37
|
import { getMid as $e, asTRBL as Le } from "diagram-js/lib/layout/LayoutUtil";
|
|
38
38
|
import { fastClone as v, isBlank as Oe, isArray as te } from "@web-utils/core";
|
|
39
|
-
import { n as h } from "../chunks/_plugin-vue2_normalizer.
|
|
39
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
40
40
|
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
41
41
|
import "bpmn-js/dist/assets/diagram-js.css";
|
|
42
42
|
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
@@ -119,7 +119,7 @@ J.prototype.getContextPadEntries = function(i) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
if (N(c, ["bpmn:Lane", "bpmn:Participant"]) && ke(c)) {
|
|
122
|
-
const b =
|
|
122
|
+
const b = _e(i);
|
|
123
123
|
y(l, {
|
|
124
124
|
"lane-insert-above": {
|
|
125
125
|
group: "lane-insert-above",
|
|
@@ -201,7 +201,7 @@ J.prototype.getContextPadEntries = function(i) {
|
|
|
201
201
|
isForCompensation: !0
|
|
202
202
|
}
|
|
203
203
|
)
|
|
204
|
-
}) : !V(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !
|
|
204
|
+
}) : !V(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !Ae(c) && y(l, {
|
|
205
205
|
"append.end-event": f("bpmn:EndEvent", "bpmn-icon-end-event-none", p("Append EndEvent")),
|
|
206
206
|
"append.gateway": f("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", p("Append Gateway")),
|
|
207
207
|
"append.append-task": f("bpmn:UserTask", "bpmn-icon-user-task", p("Append Task")),
|
|
@@ -979,7 +979,7 @@ var Tt = function() {
|
|
|
979
979
|
null,
|
|
980
980
|
null
|
|
981
981
|
);
|
|
982
|
-
const kt = It.exports,
|
|
982
|
+
const kt = It.exports, At = {
|
|
983
983
|
name: "ElementTaskConfig",
|
|
984
984
|
components: { UserTask: ht, ScriptTask: xt, ReceiveTask: kt },
|
|
985
985
|
props: {
|
|
@@ -1030,7 +1030,7 @@ const kt = It.exports, _t = {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
1032
|
};
|
|
1033
|
-
var
|
|
1033
|
+
var _t = function() {
|
|
1034
1034
|
var e = this, t = e._self._c;
|
|
1035
1035
|
return t("div", { staticClass: "panel-tab__content" }, [t("ElForm", { attrs: { size: "mini", "label-width": "90px" }, nativeOn: { submit: function(n) {
|
|
1036
1036
|
n.preventDefault();
|
|
@@ -1042,8 +1042,8 @@ var At = function() {
|
|
|
1042
1042
|
e.$set(e.taskConfigForm, "exclusive", n);
|
|
1043
1043
|
}, expression: "taskConfigForm.exclusive" } }) : e._e()], 1), t(e.witchTaskComponent, e._b({ tag: "Component" }, "Component", e.$props, !1))], 1)], 1);
|
|
1044
1044
|
}, wt = [], $t = /* @__PURE__ */ h(
|
|
1045
|
-
_t,
|
|
1046
1045
|
At,
|
|
1046
|
+
_t,
|
|
1047
1047
|
wt,
|
|
1048
1048
|
!1,
|
|
1049
1049
|
null,
|
|
@@ -2133,8 +2133,7 @@ var un = function() {
|
|
|
2133
2133
|
null,
|
|
2134
2134
|
null
|
|
2135
2135
|
);
|
|
2136
|
-
const bn = fn.exports
|
|
2137
|
-
const ie = ["base", "task", "form", "multiInstance"], yn = {
|
|
2136
|
+
const bn = fn.exports, ie = ["base", "task", "form", "multiInstance"], yn = {
|
|
2138
2137
|
name: "PropertiesPanel",
|
|
2139
2138
|
componentName: "MyPropertiesPanel",
|
|
2140
2139
|
components: {
|
|
@@ -2561,7 +2560,7 @@ const Sn = {
|
|
|
2561
2560
|
Tasks: "任务"
|
|
2562
2561
|
}, Tn = "Camunda", Cn = "http://camunda.org/schema/1.0/bpmn", In = "camunda", kn = {
|
|
2563
2562
|
tagAlias: "lowerCase"
|
|
2564
|
-
},
|
|
2563
|
+
}, An = [], _n = [
|
|
2565
2564
|
{
|
|
2566
2565
|
name: "Definitions",
|
|
2567
2566
|
isAbstract: !0,
|
|
@@ -3682,8 +3681,8 @@ const Sn = {
|
|
|
3682
3681
|
uri: Cn,
|
|
3683
3682
|
prefix: In,
|
|
3684
3683
|
xml: kn,
|
|
3685
|
-
associations:
|
|
3686
|
-
types:
|
|
3684
|
+
associations: An,
|
|
3685
|
+
types: _n,
|
|
3687
3686
|
emumerations: wn
|
|
3688
3687
|
}, $n = "Activiti", Ln = "http://activiti.org/bpmn", On = "activiti", Pn = {
|
|
3689
3688
|
tagAlias: "lowerCase"
|
|
@@ -6166,36 +6165,36 @@ const Sn = {
|
|
|
6166
6165
|
emumerations: Nn,
|
|
6167
6166
|
types: Gn
|
|
6168
6167
|
}, qn = "*";
|
|
6169
|
-
function
|
|
6168
|
+
function _(i) {
|
|
6170
6169
|
const e = this;
|
|
6171
6170
|
i.on("moddleCopy.canCopyProperty", function(t) {
|
|
6172
6171
|
const n = t.property, s = t.parent;
|
|
6173
6172
|
return e.canCopyProperty(n, s);
|
|
6174
6173
|
});
|
|
6175
6174
|
}
|
|
6176
|
-
|
|
6177
|
-
|
|
6175
|
+
_.$inject = ["eventBus"];
|
|
6176
|
+
_.prototype.canCopyProperty = function(i, e) {
|
|
6178
6177
|
if (Ce(i) && !Kn(i, e) || k(i, "camunda:InputOutput") && !this.canHostInputOutput(e) || he(i, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(e) || k(i, "camunda:In") && !this.canHostIn(e))
|
|
6179
6178
|
return !1;
|
|
6180
6179
|
};
|
|
6181
|
-
|
|
6180
|
+
_.prototype.canHostInputOutput = function(i) {
|
|
6182
6181
|
if (x(i, "camunda:Connector"))
|
|
6183
6182
|
return !0;
|
|
6184
6183
|
const t = x(i, "bpmn:FlowNode");
|
|
6185
6184
|
return !(!t || he(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) || k(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
|
|
6186
6185
|
};
|
|
6187
|
-
|
|
6186
|
+
_.prototype.canHostConnector = function(i) {
|
|
6188
6187
|
const e = x(i, "camunda:ServiceTaskLike");
|
|
6189
6188
|
return k(e, "bpmn:MessageEventDefinition") ? x(i, "bpmn:IntermediateThrowEvent") || x(i, "bpmn:EndEvent") : !0;
|
|
6190
6189
|
};
|
|
6191
|
-
|
|
6190
|
+
_.prototype.canHostIn = function(i) {
|
|
6192
6191
|
return x(i, "bpmn:CallActivity") ? !0 : x(i, "bpmn:SignalEventDefinition") ? x(i, "bpmn:IntermediateThrowEvent") || x(i, "bpmn:EndEvent") : !0;
|
|
6193
6192
|
};
|
|
6194
6193
|
function k(i, e) {
|
|
6195
6194
|
return i && Ie(i.$instanceOf) && i.$instanceOf(e);
|
|
6196
6195
|
}
|
|
6197
6196
|
function he(i, e) {
|
|
6198
|
-
return
|
|
6197
|
+
return A(e, function(t) {
|
|
6199
6198
|
return k(i, t);
|
|
6200
6199
|
});
|
|
6201
6200
|
}
|
|
@@ -6209,7 +6208,7 @@ function x(i, e) {
|
|
|
6209
6208
|
}
|
|
6210
6209
|
function Kn(i, e) {
|
|
6211
6210
|
const t = i.$type && i.$model.getTypeDescriptor(i.$type), n = t && t.meta && t.meta.allowedIn;
|
|
6212
|
-
return !n || Jn(n) ? !0 :
|
|
6211
|
+
return !n || Jn(n) ? !0 : A(n, function(s) {
|
|
6213
6212
|
return x(e, s);
|
|
6214
6213
|
});
|
|
6215
6214
|
}
|
|
@@ -6218,7 +6217,7 @@ function Jn(i) {
|
|
|
6218
6217
|
}
|
|
6219
6218
|
const Zn = {
|
|
6220
6219
|
__init__: ["camundaModdleExtension"],
|
|
6221
|
-
camundaModdleExtension: ["type",
|
|
6220
|
+
camundaModdleExtension: ["type", _]
|
|
6222
6221
|
}, Hn = {
|
|
6223
6222
|
FailedJobRetryTimeCycle: ["bpmn:StartEvent", "bpmn:BoundaryEvent", "bpmn:IntermediateCatchEvent", "bpmn:Activity"],
|
|
6224
6223
|
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
@@ -6231,12 +6230,12 @@ function Wn(i) {
|
|
|
6231
6230
|
return i && i.length;
|
|
6232
6231
|
}
|
|
6233
6232
|
function j(i, e) {
|
|
6234
|
-
return Wn(i) &&
|
|
6233
|
+
return Wn(i) && A(i, function(t) {
|
|
6235
6234
|
return H(t, e);
|
|
6236
6235
|
});
|
|
6237
6236
|
}
|
|
6238
6237
|
function Xn(i, e) {
|
|
6239
|
-
return
|
|
6238
|
+
return A(e, function(t) {
|
|
6240
6239
|
return H(i, t);
|
|
6241
6240
|
});
|
|
6242
6241
|
}
|
|
@@ -6276,12 +6275,12 @@ function ei(i) {
|
|
|
6276
6275
|
return i && i.length;
|
|
6277
6276
|
}
|
|
6278
6277
|
function z(i, e) {
|
|
6279
|
-
return ei(i) &&
|
|
6278
|
+
return ei(i) && A(i, function(t) {
|
|
6280
6279
|
return X(t, e);
|
|
6281
6280
|
});
|
|
6282
6281
|
}
|
|
6283
6282
|
function ti(i, e) {
|
|
6284
|
-
return
|
|
6283
|
+
return A(e, function(t) {
|
|
6285
6284
|
return X(i, t);
|
|
6286
6285
|
});
|
|
6287
6286
|
}
|
|
@@ -6625,8 +6624,7 @@ var si = function() {
|
|
|
6625
6624
|
null,
|
|
6626
6625
|
null
|
|
6627
6626
|
);
|
|
6628
|
-
const oi = ai.exports
|
|
6629
|
-
const li = {
|
|
6627
|
+
const oi = ai.exports, li = {
|
|
6630
6628
|
name: "FlowDesigner",
|
|
6631
6629
|
components: {
|
|
6632
6630
|
PropertiesPanel: En,
|
package/flow-designer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
|
1
|
+
.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
package/flow-node/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as o } from "../chunks/util.
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as o } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "FlowNode",
|
|
5
5
|
props: {
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _ = Object.defineProperty, b = Object.defineProperties;
|
|
2
2
|
var x = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var g = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var u = (i, t, e) => t in i ?
|
|
4
|
+
var M = Object.prototype.hasOwnProperty, V = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var u = (i, t, e) => t in i ? _(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, w = (i, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
M.call(t, e) && u(i, e, t[e]);
|
|
8
8
|
if (g)
|
|
9
9
|
for (var e of g(t))
|
|
10
|
-
|
|
10
|
+
V.call(t, e) && u(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
12
|
}, y = (i, t) => b(i, x(t));
|
|
13
13
|
var v = (i, t, e) => new Promise((s, n) => {
|
|
@@ -30,16 +30,16 @@ 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
|
|
33
|
+
import $ from "@web-utils/component/easy-popup";
|
|
34
34
|
import "@web-utils/component/easy-popup/style.css";
|
|
35
|
-
import { n as
|
|
35
|
+
import { n as F } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
36
36
|
const f = d.prototype._handleWheel, S = {
|
|
37
37
|
__init__: ["zoomScroll"],
|
|
38
38
|
zoomScroll: ["type", d]
|
|
39
39
|
}, B = {
|
|
40
40
|
name: "FlowViewer",
|
|
41
41
|
components: {
|
|
42
|
-
EasyPopup:
|
|
42
|
+
EasyPopup: $
|
|
43
43
|
},
|
|
44
44
|
props: {
|
|
45
45
|
xml: {
|
|
@@ -99,8 +99,8 @@ const f = d.prototype._handleWheel, S = {
|
|
|
99
99
|
t ? this.$emit("error", t) : this.$emit("shown", e), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
|
|
100
100
|
const s = this.bpmnViewer.get("eventBus");
|
|
101
101
|
this.events && this.events.forEach((o) => {
|
|
102
|
-
s.on(o, (
|
|
103
|
-
this.$emit(o.replace(".", "-"),
|
|
102
|
+
s.on(o, (k) => {
|
|
103
|
+
this.$emit(o.replace(".", "-"), k.element);
|
|
104
104
|
});
|
|
105
105
|
}), this.nodePopup && s.on("element.mousemove", (o) => {
|
|
106
106
|
o.element.type === "bpmn:UserTask" && requestAnimationFrame(() => v(this, null, function* () {
|
|
@@ -177,7 +177,7 @@ var C = function() {
|
|
|
177
177
|
return e("div", { ref: "container", staticClass: "flow-viewer flow-background-image", style: { "--highlight-color": t.highlightColor } }, [e("EasyPopup", { ref: "popup", attrs: { "append-to-body": "", "flex-column": "", offset: { x: 6, y: 6 } } }, [t._t("default", function() {
|
|
178
178
|
return [t._v(" " + t._s(t.element) + " ")];
|
|
179
179
|
}, { element: t.element })], 2)], 1);
|
|
180
|
-
}, P = [], W = /* @__PURE__ */
|
|
180
|
+
}, P = [], W = /* @__PURE__ */ F(
|
|
181
181
|
B,
|
|
182
182
|
C,
|
|
183
183
|
P,
|
package/flow-viewer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.flow-viewer{width:100%;height:400px}.flow-viewer .highlight g.djs-visual rect,.flow-viewer .highlight g.djs-visual circle,.flow-viewer .highlight g.djs-visual polygon,.flow-viewer .highlight g.djs-visual path{stroke:var(--highlight-color)!important}.flow-viewer .highlight g.djs-visual polygon+path{fill:var(--highlight-color)!important}@keyframes dashoffset{to{stroke-dashoffset:100%}}.flow-viewer .highlight-current g.djs-visual rect{stroke-dasharray:8;animation:40s linear infinite forwards dashoffset;fill:#fbe9d1!important;stroke:#d67e7d!important}.flow-viewer .highlight-line g.djs-visual path{stroke:var(--highlight-color)!important;stroke-width:2px!important;marker-end:url(#sequenceflow-arrow-green)!important}
|
|
1
|
+
.flow-viewer{width:100%;height:400px}.flow-viewer .highlight g.djs-visual rect,.flow-viewer .highlight g.djs-visual circle,.flow-viewer .highlight g.djs-visual polygon,.flow-viewer .highlight g.djs-visual path{stroke:var(--highlight-color)!important}.flow-viewer .highlight g.djs-visual polygon+path{fill:var(--highlight-color)!important}@keyframes dashoffset{to{stroke-dashoffset:100%}}.flow-viewer .highlight-current g.djs-visual rect{stroke-dasharray:8;animation:40s linear infinite forwards dashoffset;fill:#fbe9d1!important;stroke:#d67e7d!important}.flow-viewer .highlight-line g.djs-visual path{stroke:var(--highlight-color)!important;stroke-width:2px!important;marker-end:url(#sequenceflow-arrow-green)!important}
|
package/form-block/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as
|
|
1
|
+
import { h as a } from "vue";
|
|
2
2
|
const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], s = ["$emit", "validate", "clearValidate"], n = {
|
|
3
3
|
name: "FormBlock",
|
|
4
4
|
inject: {
|
|
@@ -73,30 +73,30 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
73
73
|
available() {
|
|
74
74
|
return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
|
|
75
75
|
},
|
|
76
|
-
dispatch(e, i,
|
|
76
|
+
dispatch(e, i, o) {
|
|
77
77
|
let t = this.$parent || this.$root, l = t.$options.name;
|
|
78
78
|
for (; t && (!l || l !== e); )
|
|
79
79
|
t = t.$parent, t && (l = t.$options.name);
|
|
80
|
-
t && t.$emit.apply(t, [i].concat(
|
|
80
|
+
t && t.$emit.apply(t, [i].concat(o));
|
|
81
81
|
},
|
|
82
82
|
renderDefault() {
|
|
83
83
|
const {
|
|
84
84
|
wrapRow: e,
|
|
85
85
|
gutter: i,
|
|
86
|
-
formConfig:
|
|
86
|
+
formConfig: o,
|
|
87
87
|
$scopedSlots: t
|
|
88
88
|
} = this;
|
|
89
89
|
return e ? (
|
|
90
90
|
// eslint-disable-next-line no-undef
|
|
91
|
-
|
|
91
|
+
a("ElRow", {
|
|
92
92
|
attrs: {
|
|
93
93
|
gutter: i
|
|
94
94
|
}
|
|
95
95
|
}, [t.default({
|
|
96
|
-
disabled:
|
|
96
|
+
disabled: o.disabled
|
|
97
97
|
})])
|
|
98
98
|
) : t.default({
|
|
99
|
-
disabled:
|
|
99
|
+
disabled: o.disabled
|
|
100
100
|
});
|
|
101
101
|
},
|
|
102
102
|
toggle() {
|
|
@@ -110,24 +110,24 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
110
110
|
const {
|
|
111
111
|
renderDefault: e,
|
|
112
112
|
blockTitle: i,
|
|
113
|
-
active:
|
|
113
|
+
active: o,
|
|
114
114
|
expand: t,
|
|
115
115
|
toggle: l
|
|
116
116
|
} = this;
|
|
117
|
-
return
|
|
117
|
+
return a("div", {
|
|
118
118
|
class: ["form-block", {
|
|
119
|
-
"default-active":
|
|
119
|
+
"default-active": o
|
|
120
120
|
}]
|
|
121
|
-
}, [
|
|
121
|
+
}, [a("div", {
|
|
122
122
|
class: "form-block-title",
|
|
123
123
|
on: {
|
|
124
124
|
click: l
|
|
125
125
|
}
|
|
126
|
-
}, [
|
|
126
|
+
}, [a("span", {
|
|
127
127
|
class: "flex-item"
|
|
128
|
-
}, [i]), " ",
|
|
128
|
+
}, [i]), " ", a("i", {
|
|
129
129
|
class: t ? "el-icon-arrow-down" : "el-icon-arrow-right"
|
|
130
|
-
})]),
|
|
130
|
+
})]), a("ElCollapseTransition", [a("div", {
|
|
131
131
|
directives: [{
|
|
132
132
|
name: "show",
|
|
133
133
|
value: t
|
package/form-block/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-block{background-color:#fff;padding-bottom:10px}.form-block-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
|
1
|
+
.form-block{background-color:#fff;padding-bottom:10px}.form-block-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
package/form-button/index.mjs
CHANGED
package/form-cascader/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ 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.
|
|
13
|
-
import { f as d } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f as d } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
14
|
import s from "element-ui/lib/cascader";
|
|
15
|
-
import { d as m, n as f } from "../chunks/index.
|
|
15
|
+
import { d as m, n as f } from "../chunks/index.LGsb2aDq.mjs";
|
|
16
16
|
import { findTreeChildren as h, setParent as y } from "@web-utils/core";
|
|
17
17
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
18
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
18
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
19
19
|
const b = Object.keys(s.props || s.default.props).filter(
|
|
20
20
|
(t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
|
|
21
21
|
), S = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var i = Object.getOwnPropertySymbols;
|
|
3
3
|
var u = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var s = (
|
|
5
|
-
for (var
|
|
6
|
-
u.call(e,
|
|
4
|
+
var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, l = (t, e) => {
|
|
5
|
+
for (var r in e || (e = {}))
|
|
6
|
+
u.call(e, r) && s(t, r, e[r]);
|
|
7
7
|
if (i)
|
|
8
|
-
for (var
|
|
9
|
-
p.call(e,
|
|
10
|
-
return
|
|
8
|
+
for (var r of i(e))
|
|
9
|
+
p.call(e, r) && s(t, r, e[r]);
|
|
10
|
+
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as c } from "../chunks/form-pick-mixin.
|
|
14
|
-
import { d as f, n as m } from "../chunks/index.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { f as c } from "../chunks/form-pick-mixin.y-qhZJi6.mjs";
|
|
14
|
+
import { d as f, n as m } from "../chunks/index.LGsb2aDq.mjs";
|
|
15
15
|
import n from "element-ui/lib/checkbox-group";
|
|
16
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const b = Object.keys(n.props || n.default.props).filter(
|
|
18
|
-
(
|
|
18
|
+
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
19
|
), y = {
|
|
20
20
|
name: "FormCheckboxGroup",
|
|
21
21
|
mixins: [h, c],
|
|
@@ -100,21 +100,21 @@ const b = Object.keys(n.props || n.default.props).filter(
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
methods: {
|
|
103
|
-
emitInput(
|
|
104
|
-
this.split ? this.$emit("input",
|
|
103
|
+
emitInput(t) {
|
|
104
|
+
this.split ? this.$emit("input", t.join(",")) : this.$emit("input", t);
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
var _ = function() {
|
|
109
|
-
var e = this,
|
|
110
|
-
return
|
|
109
|
+
var e = this, r = e._self._c;
|
|
110
|
+
return r("FormItem", e._b({ class: [
|
|
111
111
|
"form-checkbox-group",
|
|
112
112
|
{ "form-checkbox-group-row": e.fillRow },
|
|
113
113
|
e.ellipsis ? "form-checkbox-group-row-ellipsis" : e.fillRow ? "form-checkbox-group-row-break-word" : ""
|
|
114
114
|
], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
115
|
-
return [
|
|
116
|
-
return
|
|
117
|
-
}), 1), e.computeVal.includes(e.otherVal) ?
|
|
115
|
+
return [r("ElCheckboxGroup", e._g(e._b({ attrs: { disabled: e.inputDisabled, value: e.computeVal, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElCheckboxGroup", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(o) {
|
|
116
|
+
return r("ElCheckbox", { key: o[e.valueKey], attrs: { label: o[e.valueKey] } }, [e._v(" " + e._s(o[e.labelKey]) + " ")]);
|
|
117
|
+
}), 1), e.computeVal.includes(e.otherVal) ? r("FormInput", { staticClass: "form-checkbox-group-other", style: e.otherLabel ? { width: e.otherWidth } : { marginBottom: 0, width: e.otherWidth }, attrs: { "wrap-col": !1, "label-width": "0", prop: e.otherProp, required: !!e.otherProp, placeholder: e.otherPlaceholder, label: e.otherLabel, "show-message": !!e.otherLabel, value: e.other }, on: { input: (o) => e.$emit("update:other", o) } }) : e._e()];
|
|
118
118
|
}, proxy: !0 }, { key: "error", fn: function({ error: o }) {
|
|
119
119
|
return [e._t("error", null, { error: o })];
|
|
120
120
|
} }, { key: "label", fn: function() {
|
|
@@ -132,7 +132,7 @@ var _ = function() {
|
|
|
132
132
|
null,
|
|
133
133
|
null
|
|
134
134
|
);
|
|
135
|
-
const
|
|
135
|
+
const B = x.exports;
|
|
136
136
|
export {
|
|
137
|
-
|
|
137
|
+
B as default
|
|
138
138
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|
|
1
|
+
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|