@web-utils/component 3.4.6 → 3.6.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/ElementBaseInfo.jv89Vjy1.mjs +118 -0
- package/chunks/ElementForm.4QQYs5uq.mjs +241 -0
- package/chunks/ElementListeners.vfHHHAOL.mjs +255 -0
- package/chunks/ElementMultiInstance.3Z28ewuh.mjs +191 -0
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
- package/chunks/ElementProperties.CRIQaaPc.mjs +112 -0
- package/chunks/ElementTaskConfig.MBbkLrth.mjs +326 -0
- package/chunks/FlowCondition.BfU9kw6h.mjs +132 -0
- package/chunks/{FormTemp.CJOJOy8K.mjs → FormTemp.BSpnNput.mjs} +4 -4
- package/chunks/SignalAndMessage.CH6L7cYu.mjs +96 -0
- package/chunks/UserTaskListeners.XXe5dC5I.mjs +210 -0
- 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/{json-beautifier.j1-U5g4P.mjs → json-beautifier.Bp3GslGm.mjs} +2 -0
- package/chunks/{util.BaRFvfAi.mjs → util.CoahLDYn.mjs} +7 -7
- package/chunks/utilSelf.CRqpl0Cz.mjs +56 -0
- package/chunks/utils.DRcxC1Fb.mjs +60 -0
- 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-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/ellipsis/index.mjs +148 -0
- package/ellipsis/style.css +1 -0
- 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/index.mjs +519 -2134
- 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 +2 -2
- 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 +455 -451
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/monaco-editor/index.mjs +1 -1
- package/package.json +16 -16
- 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/index.mjs +354 -347
- package/vue-tree-select/style.css +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +82 -4
- package/chunks/confirmable-mixin.D2KW-Qlc.mjs +0 -116
package/flow-designer/style.css
CHANGED
|
@@ -1 +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}.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
package/fy-curd/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { p as $ } from "../chunks/packages.CWPkeLu9.mjs";
|
|
2
2
|
import { p as x } from "../chunks/permission.CO31YIkD.mjs";
|
|
3
|
-
import { i as O } from "../chunks/init.
|
|
4
|
-
import { g as F,
|
|
5
|
-
import { o as h, j as C, d as a, u as B,
|
|
3
|
+
import { i as O } from "../chunks/init.ofpxEyAI.mjs";
|
|
4
|
+
import { g as F, f as k, t as I, c as E } from "../chunks/dataformat.B9UvztrQ.mjs";
|
|
5
|
+
import { o as h, j as C, d as a, u as B, D as b, k as P, i as D, l as T, s as z } from "../chunks/util.CoahLDYn.mjs";
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.DXIbhGat.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
10
|
-
import { s as V } from "../chunks/dic.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.BSpnNput.mjs";
|
|
10
|
+
import { s as V } from "../chunks/dic.CET0XdKP.mjs";
|
|
11
11
|
import R from "../icon-temp/index.mjs";
|
|
12
12
|
import "../icon-temp/style.css";
|
|
13
13
|
const p = {
|
|
@@ -380,7 +380,7 @@ const X = q.exports, y = {}, J = {
|
|
|
380
380
|
optVal: h,
|
|
381
381
|
uploadFun: B,
|
|
382
382
|
isMediaType(t, e) {
|
|
383
|
-
return
|
|
383
|
+
return D(t, e);
|
|
384
384
|
},
|
|
385
385
|
vaildLabel(t, e, i) {
|
|
386
386
|
if (t.rules && e.$cellEdit)
|
|
@@ -416,7 +416,7 @@ const X = q.exports, y = {}, J = {
|
|
|
416
416
|
},
|
|
417
417
|
corArray(t, e) {
|
|
418
418
|
let i = this.handleDetail(t, e);
|
|
419
|
-
return Array.isArray(i) || (i = c(i) ? [] : i.split(
|
|
419
|
+
return Array.isArray(i) || (i = c(i) ? [] : i.split(P)), a(i);
|
|
420
420
|
},
|
|
421
421
|
openImg(t, e, i) {
|
|
422
422
|
let n = this.getImgList(t, e);
|
|
@@ -1461,7 +1461,7 @@ const We = je.exports, Ke = {
|
|
|
1461
1461
|
Array.isArray(n.children) ? e(n.children) : t.push(n);
|
|
1462
1462
|
});
|
|
1463
1463
|
}
|
|
1464
|
-
return e(this.columnOption), t =
|
|
1464
|
+
return e(this.columnOption), t = E(t), t;
|
|
1465
1465
|
},
|
|
1466
1466
|
isShowSummary() {
|
|
1467
1467
|
return this.option.showSummary;
|
|
@@ -1675,7 +1675,7 @@ const We = je.exports, Ke = {
|
|
|
1675
1675
|
},
|
|
1676
1676
|
// 单元格新增
|
|
1677
1677
|
rowCellAdd(t = {}) {
|
|
1678
|
-
const e = this.list.length, i =
|
|
1678
|
+
const e = this.list.length, i = k(this.propOption).tableForm;
|
|
1679
1679
|
t = a(
|
|
1680
1680
|
Object.assign(
|
|
1681
1681
|
{
|
package/fy-date/index.mjs
CHANGED
package/fy-draggable/index.mjs
CHANGED
package/fy-dynamic/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as d, e as u } from "../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p as d, e as u } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
|
+
import { d as l, o } from "../chunks/util.CoahLDYn.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const h = {
|
|
5
5
|
name: "FyDynamic",
|
package/fy-empty/index.mjs
CHANGED
package/fy-form/index.mjs
CHANGED
|
@@ -14,11 +14,11 @@ var D = (i, e, r) => new Promise((s, p) => {
|
|
|
14
14
|
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
|
|
15
15
|
a((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { F as P, d as z } from "../chunks/FormTemp.
|
|
18
|
-
import { i as B } from "../chunks/init.
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { s as q } from "../chunks/dic.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.BSpnNput.mjs";
|
|
18
|
+
import { i as B } from "../chunks/init.ofpxEyAI.mjs";
|
|
19
|
+
import { u as j, d as x, s as v, j as S, x as I, o as L, D as V, y as M, p as A } from "../chunks/util.CoahLDYn.mjs";
|
|
20
|
+
import { a as W, b as R, f as G, d as H, c as U } from "../chunks/dataformat.B9UvztrQ.mjs";
|
|
21
|
+
import { s as q } from "../chunks/dic.CET0XdKP.mjs";
|
|
22
22
|
import { p as K } from "../chunks/packages.CWPkeLu9.mjs";
|
|
23
23
|
import { isBlank as u } from "@web-utils/core";
|
|
24
24
|
import { n as $ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
@@ -312,8 +312,8 @@ const ae = se.exports, oe = {
|
|
|
312
312
|
column: r
|
|
313
313
|
}), e.forEach((s) => {
|
|
314
314
|
s.column = s.column || [], s.column.forEach((p, t) => {
|
|
315
|
-
p.display !== !1 && !this.isMobile && (p =
|
|
316
|
-
}), s.column =
|
|
315
|
+
p.display !== !1 && !this.isMobile && (p = H(p, this.itemSpanDefault, t === 0));
|
|
316
|
+
}), s.column = U(s.column), s.column = s.column.sort((p, t) => (t.order || 0) - (p.order || 0));
|
|
317
317
|
}), e;
|
|
318
318
|
},
|
|
319
319
|
menuPosition: function() {
|
|
@@ -381,8 +381,8 @@ const ae = se.exports, oe = {
|
|
|
381
381
|
methods: {
|
|
382
382
|
setPx: v,
|
|
383
383
|
deepClone: x,
|
|
384
|
-
getComponent:
|
|
385
|
-
getPlaceholder:
|
|
384
|
+
getComponent: R,
|
|
385
|
+
getPlaceholder: W,
|
|
386
386
|
uploadFun: j,
|
|
387
387
|
getDisabled(i) {
|
|
388
388
|
return this.vaildDetail(i) || this.isDetail || this.vaildDisabled(i) || this.allDisabled;
|
|
@@ -395,7 +395,7 @@ const ae = se.exports, oe = {
|
|
|
395
395
|
},
|
|
396
396
|
// 初始化表单
|
|
397
397
|
dataFormat() {
|
|
398
|
-
const i =
|
|
398
|
+
const i = G(this.propOption).tableForm, e = this.value, r = {};
|
|
399
399
|
Object.entries(Object.assign(i, e)).forEach((s) => {
|
|
400
400
|
const p = s[0], t = s[1];
|
|
401
401
|
u(e[p]) ? r[p] = t : r[p] = e[p];
|
|
@@ -410,11 +410,11 @@ const ae = se.exports, oe = {
|
|
|
410
410
|
const p = [];
|
|
411
411
|
if (r) {
|
|
412
412
|
const t = this.$watch(`form.${e}`, (a, o) => {
|
|
413
|
-
a !== o &&
|
|
413
|
+
a !== o && M(this.form, r, a);
|
|
414
414
|
}), l = this.$watch(`form.${r}`, (a, o) => {
|
|
415
415
|
a !== o && this.$set(this.form, e, a);
|
|
416
416
|
});
|
|
417
|
-
p.push(t), p.push(l), this.$set(this.form, e,
|
|
417
|
+
p.push(t), p.push(l), this.$set(this.form, e, A(this.form, r));
|
|
418
418
|
}
|
|
419
419
|
if (s) {
|
|
420
420
|
const t = () => {
|
|
@@ -533,7 +533,7 @@ const ae = se.exports, oe = {
|
|
|
533
533
|
// 验证表单是否显隐
|
|
534
534
|
vaildDisplay(i) {
|
|
535
535
|
let e;
|
|
536
|
-
return u(i.display) ? this.isAdd ? e = "addDisplay" : this.isEdit ? e = "editDisplay" : this.isView && (e = "viewDisplay") : e = "display", e ?
|
|
536
|
+
return u(i.display) ? this.isAdd ? e = "addDisplay" : this.isEdit ? e = "editDisplay" : this.isView && (e = "viewDisplay") : e = "display", e ? L(i[e], !0) : !0;
|
|
537
537
|
},
|
|
538
538
|
clearValidate(i) {
|
|
539
539
|
return D(this, null, function* () {
|
|
@@ -568,7 +568,7 @@ const ae = se.exports, oe = {
|
|
|
568
568
|
resetForm(i = !0) {
|
|
569
569
|
if (i) {
|
|
570
570
|
const e = this.propOption.map((r) => r.prop);
|
|
571
|
-
this.form =
|
|
571
|
+
this.form = I(this.form, e, (this.tableOption.filterParams || []).concat([this.rowKey]));
|
|
572
572
|
}
|
|
573
573
|
this.$nextTick(() => {
|
|
574
574
|
this.clearValidate(), this.$emit("reset-change");
|
package/fy-form-design/index.mjs
CHANGED
|
@@ -28,8 +28,8 @@ var y = (l, e, t) => new Promise((a, i) => {
|
|
|
28
28
|
import { isBlank as C } from "@web-utils/core";
|
|
29
29
|
import b from "../monaco-editor/index.mjs";
|
|
30
30
|
import g from "vuedraggable";
|
|
31
|
-
import { c as _ } from "../chunks/json-beautifier.
|
|
32
|
-
import { d as m, z as h } from "../chunks/util.
|
|
31
|
+
import { c as _ } from "../chunks/json-beautifier.Bp3GslGm.mjs";
|
|
32
|
+
import { d as m, z as h } from "../chunks/util.CoahLDYn.mjs";
|
|
33
33
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
34
34
|
import "../fy-u-editor/style.css";
|
|
35
35
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
package/fy-input/index.mjs
CHANGED
package/fy-input-color/index.mjs
CHANGED
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as s, e as l } from "../chunks/event.
|
|
1
|
+
import { p as s, e as l } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
2
|
import a from "../icon-temp/index.mjs";
|
|
3
3
|
import "../icon-temp/style.css";
|
|
4
4
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
package/fy-input-map/index.mjs
CHANGED
package/fy-input-table/index.mjs
CHANGED
package/fy-input-tree/index.mjs
CHANGED
package/fy-input-tree/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-input-tree .el-tag__close{display:none!important}.avue-input-tree__dropdown{background-color:#fff;
|
|
1
|
+
.avue-input-tree .el-tag__close{display:none!important}.avue-input-tree__dropdown{background-color:#fff;min-height:300px;max-height:600px;padding:0 10px;overflow:visible}.avue-input-tree__dropdown:hover,.avue-input-tree__dropdown.hover{background-color:#fff}.avue-input-tree__item{width:100%}.avue-input-tree__filter{margin:5px 0 0;padding:0 10px}.avue-input-tree__select{padding:10px 0}.avue-input-tree__desc{float:right;color:#8492a6;margin-right:12px;font-size:13px}
|
package/fy-radio/index.mjs
CHANGED
package/fy-rate/index.mjs
CHANGED
package/fy-select/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as i, e as r } from "../chunks/event.
|
|
2
|
-
import { s as c } from "../chunks/dic.
|
|
3
|
-
import { b as d } from "../chunks/util.
|
|
1
|
+
import { p as i, e as r } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
|
+
import { s as c } from "../chunks/dic.CET0XdKP.mjs";
|
|
3
|
+
import { b as d } from "../chunks/util.CoahLDYn.mjs";
|
|
4
4
|
import { isBlank as p } from "@web-utils/core";
|
|
5
5
|
import { p as u } from "../chunks/packages.CWPkeLu9.mjs";
|
|
6
6
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as s, e as n } from "../chunks/event.
|
|
2
|
-
import { s as r } from "../chunks/util.
|
|
1
|
+
import { p as s, e as n } from "../chunks/event.BT1F_1vF.mjs";
|
|
2
|
+
import { s as r } from "../chunks/util.CoahLDYn.mjs";
|
|
3
3
|
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const l = {
|
|
5
5
|
name: "FySlider",
|
package/fy-switch/index.mjs
CHANGED
package/fy-time/index.mjs
CHANGED