@web-utils/component 3.2.3 → 3.3.1
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/chunks/{FormTemp.0ezzipG4.mjs → FormTemp.2IfXIr8o.mjs} +6 -5
- package/chunks/{form-input-mixin.DLHG0EnH.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.gd9p9Rrj.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{index.Uf8ONhVI.mjs → index.LGsb2aDq.mjs} +3 -3
- package/data-display/index.mjs +15 -129
- package/data-table-picker/index.mjs +1 -1
- package/easy-popup/index.mjs +7 -8
- package/editable-tree/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow-designer/index.mjs +164 -218
- package/flow-viewer/index.mjs +73 -161
- package/form-button/index.mjs +11 -25
- package/form-cascader/index.mjs +2 -2
- 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 +31 -155
- 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 +13 -12
- package/fy-curd/index.mjs +5 -4
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +329 -498
- package/fy-input-icon/index.mjs +21 -20
- package/fy-u-editor/index.mjs +237 -75
- package/highlight-j-s/index.mjs +3 -4
- package/icon-temp/index.mjs +6 -7
- package/nav-bar/index.mjs +6 -7
- package/package.json +1 -1
- package/page/index.mjs +0 -1
- package/page-header/index.mjs +2 -3
- package/page-skeleton/index.mjs +17 -95
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +8 -8
- package/present-view/index.mjs +4 -3
- package/resize-observer/index.mjs +3 -4
- package/split-pane/index.mjs +4 -3
- package/swiper/index.mjs +4 -3
- package/table-view/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +9 -10
- package/chunks/FyUEditor.c06LkvIy.mjs +0 -224
- package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +0 -167
- package/chunks/IconTemp.tzsg5qth.mjs +0 -29
- package/chunks/ResizeObserver.sOHk2Cm-.mjs +0 -51
package/form-input-tag/index.mjs
CHANGED
|
@@ -1,149 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return a;
|
|
12
|
-
}, c = (a, e) => b(a, y(e));
|
|
13
|
-
var u = (a, e, t) => new Promise((n, i) => {
|
|
14
|
-
var p = (s) => {
|
|
15
|
-
try {
|
|
16
|
-
l(t.next(s));
|
|
17
|
-
} catch (o) {
|
|
18
|
-
i(o);
|
|
19
|
-
}
|
|
20
|
-
}, g = (s) => {
|
|
21
|
-
try {
|
|
22
|
-
l(t.throw(s));
|
|
23
|
-
} catch (o) {
|
|
24
|
-
i(o);
|
|
25
|
-
}
|
|
26
|
-
}, l = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(p, g);
|
|
27
|
-
l((t = t.apply(a, e)).next());
|
|
28
|
-
});
|
|
29
|
-
import { f as V } from "../chunks/form-input-mixin.DLHG0EnH.mjs";
|
|
30
|
-
import { d as x, n as k } from "../chunks/index.Uf8ONhVI.mjs";
|
|
31
|
-
/* empty css */
|
|
32
|
-
import { n as h } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
33
|
-
const w = {
|
|
34
|
-
name: "XInputTag",
|
|
35
|
-
inject: {
|
|
36
|
-
elForm: {
|
|
37
|
-
default: ""
|
|
38
|
-
},
|
|
39
|
-
elFormItem: {
|
|
40
|
-
default: ""
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
props: {
|
|
44
|
-
value: {
|
|
45
|
-
type: [Array, String],
|
|
46
|
-
default: () => []
|
|
47
|
-
},
|
|
48
|
-
disabled: Boolean,
|
|
49
|
-
separator: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: ","
|
|
52
|
-
},
|
|
53
|
-
count: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !0
|
|
56
|
-
},
|
|
57
|
-
arrayMode: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !0
|
|
60
|
-
},
|
|
61
|
-
objectMode: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: !0
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
data() {
|
|
67
|
-
return {
|
|
68
|
-
inputVisible: !1,
|
|
69
|
-
inputValue: "",
|
|
70
|
-
maxTag: 20
|
|
71
|
-
};
|
|
72
|
-
},
|
|
73
|
-
computed: {
|
|
74
|
-
inputDisabled() {
|
|
75
|
-
return this.disabled || (this.elForm || {}).disabled;
|
|
76
|
-
},
|
|
77
|
-
tags: {
|
|
78
|
-
get() {
|
|
79
|
-
var a, e;
|
|
80
|
-
if (this.arrayMode)
|
|
81
|
-
return (a = this.value) != null && a.length ? this.objectMode ? this.value.map((t) => t.id > 0 ? t : c(r({}, t), { id: Math.random() })) : this.value : [];
|
|
82
|
-
{
|
|
83
|
-
const t = ((e = this.value) == null ? void 0 : e.split(this.separator)) || [];
|
|
84
|
-
return t.length && t[0] ? t.map((n) => this.objectMode ? { name: n, id: Math.random() } : n) : [];
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
methods: {
|
|
90
|
-
showInput() {
|
|
91
|
-
return u(this, null, function* () {
|
|
92
|
-
this.inputVisible = !0, yield this.$nextTick(), this.$refs.saveTagInput.$refs.input.focus();
|
|
93
|
-
});
|
|
94
|
-
},
|
|
95
|
-
handleClose(a) {
|
|
96
|
-
const e = this.tags.filter((t) => t !== a);
|
|
97
|
-
this.$emit("input", this.arrayMode ? e : e.map((t) => t.name || t).join(this.separator));
|
|
98
|
-
},
|
|
99
|
-
handleInputConfirm() {
|
|
100
|
-
return u(this, null, function* () {
|
|
101
|
-
var e;
|
|
102
|
-
if (this.tags.length >= this.maxTag) {
|
|
103
|
-
this.$message.warning({ message: "标签已达上限,请删除一些标签再添加!", showClose: !0 }), this.inputVisible = !1, this.inputValue = "";
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
const a = this.inputValue;
|
|
107
|
-
if (a) {
|
|
108
|
-
if (this.tags.some((n) => (n.name || n) === a)) {
|
|
109
|
-
this.inputVisible = !1, this.inputValue = "", this.$message.warning({ message: "标签已存在!", showClose: !0 });
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
const t = [...this.tags];
|
|
113
|
-
t.push(this.objectMode ? { id: Date.now(), name: this.inputValue } : this.inputValue), this.$emit("input", this.arrayMode ? t : t.map((n) => n.name || n).join(this.separator)), yield this.$nextTick(), (e = this.elFormItem) == null || e.clearValidate();
|
|
114
|
-
}
|
|
115
|
-
this.inputVisible = !1, this.inputValue = "";
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
1
|
+
var s = Object.defineProperty;
|
|
2
|
+
var a = Object.getOwnPropertySymbols;
|
|
3
|
+
var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
|
|
5
|
+
for (var r in e || (e = {}))
|
|
6
|
+
p.call(e, r) && l(t, r, e[r]);
|
|
7
|
+
if (a)
|
|
8
|
+
for (var r of a(e))
|
|
9
|
+
i.call(e, r) && l(t, r, e[r]);
|
|
10
|
+
return t;
|
|
119
11
|
};
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}) : e.inputDisabled ? [t("span", { staticStyle: { color: "#b5b5b5" } }, [e._v("无")])] : e._e(), e.inputDisabled ? e._e() : t("ElInput", { directives: [{ name: "show", rawName: "v-show", value: e.inputVisible, expression: "inputVisible" }], ref: "saveTagInput", staticClass: "input-new-tag", attrs: { size: "mini" }, on: { blur: e.handleInputConfirm }, nativeOn: { keyup: function(n) {
|
|
127
|
-
return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.handleInputConfirm.apply(null, arguments);
|
|
128
|
-
} }, model: { value: e.inputValue, callback: function(n) {
|
|
129
|
-
e.inputValue = n;
|
|
130
|
-
}, expression: "inputValue" } }), !e.inputDisabled && !e.inputVisible ? t("ElButton", { directives: [{ name: "show", rawName: "v-show", value: e.tags.length < e.maxTag, expression: "tags.length < maxTag" }], staticClass: "button-new-tag", attrs: { size: "mini" }, on: { click: e.showInput } }, [e._v(" + 添加 ")]) : e._e(), e.count ? t("span", { staticClass: "tags-count" }, [e._v(e._s(e.tags.length && e.tags[0] ? e.tags.length : ""))]) : e._e()], 2);
|
|
131
|
-
}, T = [], $ = /* @__PURE__ */ h(
|
|
132
|
-
w,
|
|
133
|
-
M,
|
|
134
|
-
T,
|
|
135
|
-
!1,
|
|
136
|
-
null,
|
|
137
|
-
null,
|
|
138
|
-
null,
|
|
139
|
-
null
|
|
140
|
-
);
|
|
141
|
-
const f = $.exports, C = Object.keys(f.props).filter((a) => !["value", "placeholder", "disabled"].includes(a)), j = {
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
|
+
import { d, n as c } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
|
+
import u from "../x-input-tag/index.mjs";
|
|
15
|
+
import "../x-input-tag/style.css";
|
|
16
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
|
+
const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
142
18
|
name: "FormInputTag",
|
|
143
19
|
components: {
|
|
144
|
-
XInputTag:
|
|
20
|
+
XInputTag: u
|
|
145
21
|
},
|
|
146
|
-
mixins: [
|
|
22
|
+
mixins: [m],
|
|
147
23
|
props: {
|
|
148
24
|
value: [Array, String],
|
|
149
25
|
block: {
|
|
@@ -161,30 +37,30 @@ const f = $.exports, C = Object.keys(f.props).filter((a) => !["value", "placehol
|
|
|
161
37
|
},
|
|
162
38
|
computed: {
|
|
163
39
|
inputProps() {
|
|
164
|
-
return
|
|
40
|
+
return d(n(n({}, c(this.$attrs)), this.$props), _);
|
|
165
41
|
}
|
|
166
42
|
}
|
|
167
43
|
};
|
|
168
|
-
var
|
|
169
|
-
var e = this,
|
|
170
|
-
return
|
|
171
|
-
return [
|
|
172
|
-
}, proxy: !0 }, { key: "error", fn: function({ error:
|
|
173
|
-
return [e._t("error", null, { error:
|
|
44
|
+
var y = function() {
|
|
45
|
+
var e = this, r = e._self._c;
|
|
46
|
+
return r("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
47
|
+
return [r("XInputTag", e._g(e._b({ attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, placeholder: e.computePlaceholder, "array-mode": e.arrayMode, "object-mode": e.objectMode }, on: { input: (o) => e.$emit("input", o) } }, "XInputTag", e.inputProps, !1), e.listeners))];
|
|
48
|
+
}, proxy: !0 }, { key: "error", fn: function({ error: o }) {
|
|
49
|
+
return [e._t("error", null, { error: o })];
|
|
174
50
|
} }, { key: "label", fn: function() {
|
|
175
51
|
return [e._t("label")];
|
|
176
52
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
53
|
+
}, v = [], I = /* @__PURE__ */ f(
|
|
54
|
+
b,
|
|
55
|
+
y,
|
|
56
|
+
v,
|
|
181
57
|
!1,
|
|
182
58
|
null,
|
|
183
59
|
null,
|
|
184
60
|
null,
|
|
185
61
|
null
|
|
186
62
|
);
|
|
187
|
-
const
|
|
63
|
+
const M = I.exports;
|
|
188
64
|
export {
|
|
189
|
-
|
|
65
|
+
M as default
|
|
190
66
|
};
|
|
@@ -9,9 +9,9 @@ var i = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && i(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.IKogWBfn.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.LGsb2aDq.mjs";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(o.props || o.default.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled"].includes(r)
|
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.BilKDUlK.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 = (l, e, o) => e in l ? u(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
f.call(e, o) && s(l, o, e[o]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { f as h } from "../chunks/form-pick-mixin.y-qhZJi6.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.LGsb2aDq.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const v = Object.keys(a.props || a.default.props).filter(
|
|
18
18
|
(l) => !["value", "placeholder", "disabled"].includes(l)
|
package/form-select/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var s = (l, e, t) => e in l ? a(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && s(l, t, e[t]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.IKogWBfn.mjs";
|
|
13
13
|
import { f } from "../chunks/form-pick-mixin.y-qhZJi6.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.LGsb2aDq.mjs";
|
|
16
16
|
import { n as y } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
17
17
|
const d = Object.keys(o.props || o.default.props).filter(
|
|
18
18
|
(l) => !["value", "placeholder", "disabled"].includes(l)
|
package/form-switch/index.mjs
CHANGED
|
@@ -9,9 +9,9 @@ var l = (r, e, t) => e in r ? i(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.IKogWBfn.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.LGsb2aDq.mjs";
|
|
15
15
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(s.props || s.default.props).filter(
|
|
17
17
|
(r) => !["value", "placeholder", "disabled"].includes(r)
|
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.IKogWBfn.mjs";
|
|
13
|
+
import { d as f, n as d } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import a from "element-ui/lib/input";
|
|
15
15
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const _ = Object.keys(a.props || a.default.props).filter(
|
package/form-view/index.mjs
CHANGED
|
@@ -11,24 +11,25 @@ var p = (o, t, e) => t in o ? _(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return o;
|
|
12
12
|
}, f = (o, t) => g(o, w(t));
|
|
13
13
|
var u = (o, t, e) => new Promise((r, s) => {
|
|
14
|
-
var
|
|
14
|
+
var i = (n) => {
|
|
15
15
|
try {
|
|
16
|
-
a(e.next(
|
|
16
|
+
a(e.next(n));
|
|
17
17
|
} catch (d) {
|
|
18
18
|
s(d);
|
|
19
19
|
}
|
|
20
|
-
}, l = (
|
|
20
|
+
}, l = (n) => {
|
|
21
21
|
try {
|
|
22
|
-
a(e.throw(
|
|
22
|
+
a(e.throw(n));
|
|
23
23
|
} catch (d) {
|
|
24
24
|
s(d);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
26
|
+
}, a = (n) => n.done ? r(n.value) : Promise.resolve(n.value).then(i, l);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { hasOwn as b, toStringArray as S, animate as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
|
-
import
|
|
31
|
+
import C from "../resize-observer/index.mjs";
|
|
32
|
+
import "../resize-observer/style.css";
|
|
32
33
|
import { n as L } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
33
34
|
const y = [
|
|
34
35
|
"back",
|
|
@@ -133,10 +134,10 @@ const y = [
|
|
|
133
134
|
o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
|
|
134
135
|
const r = m(t.$el, "form-card"), s = m(e.$el, "form-card");
|
|
135
136
|
if (r === s) {
|
|
136
|
-
const
|
|
137
|
-
return
|
|
137
|
+
const i = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
|
|
138
|
+
return i - l;
|
|
138
139
|
} else {
|
|
139
|
-
const
|
|
140
|
+
const i = m(r, "form-scroller"), l = [].indexOf.call(i.children, r), a = [].indexOf.call(i.children, s);
|
|
140
141
|
return l - a;
|
|
141
142
|
}
|
|
142
143
|
}), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
|
|
@@ -224,7 +225,7 @@ var N = function() {
|
|
|
224
225
|
return [t._t(r)];
|
|
225
226
|
}, proxy: !0 };
|
|
226
227
|
})], null, !0) }, "Toolbar", f(c({}, t.toolbarProps), { buttons: t.footerBarButtons }), !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
|
|
227
|
-
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(
|
|
228
|
+
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
|
|
228
229
|
return t.navItemClick(r, s);
|
|
229
230
|
} } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
|
|
230
231
|
}), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
|
|
@@ -238,7 +239,7 @@ var N = function() {
|
|
|
238
239
|
null,
|
|
239
240
|
null
|
|
240
241
|
);
|
|
241
|
-
const
|
|
242
|
+
const G = A.exports;
|
|
242
243
|
export {
|
|
243
|
-
|
|
244
|
+
G as default
|
|
244
245
|
};
|
package/fy-curd/index.mjs
CHANGED
|
@@ -6,9 +6,10 @@ import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z
|
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.j1uMmBnG.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.2IfXIr8o.mjs";
|
|
10
10
|
import { s as V } from "../chunks/dic.7JBaVHv6.mjs";
|
|
11
|
-
import
|
|
11
|
+
import R from "../icon-temp/index.mjs";
|
|
12
|
+
import "../icon-temp/style.css";
|
|
12
13
|
const p = {
|
|
13
14
|
menuWidth: 220,
|
|
14
15
|
menuFixed: "right",
|
|
@@ -1921,7 +1922,7 @@ var Ue = function() {
|
|
|
1921
1922
|
null,
|
|
1922
1923
|
null
|
|
1923
1924
|
);
|
|
1924
|
-
const
|
|
1925
|
+
const ot = qe.exports;
|
|
1925
1926
|
export {
|
|
1926
|
-
|
|
1927
|
+
ot as default
|
|
1927
1928
|
};
|
package/fy-form/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var D = (i, e, r) => new Promise((s, p) => {
|
|
|
14
14
|
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
|
|
15
15
|
a((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { F as P, d as z } from "../chunks/FormTemp.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.2IfXIr8o.mjs";
|
|
18
18
|
import { i as B } from "../chunks/init.6oF7OO2W.mjs";
|
|
19
19
|
import { s as v, d as x, u as j, x as I, p as L, j as S, a as V, o as M, y as A } from "../chunks/util.y1gUGRqi.mjs";
|
|
20
20
|
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.Ab9PZnVk.mjs";
|