@web-utils/component 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/{FormTemp.0eqGAu6W.mjs → FormTemp.0ezzipG4.mjs} +5 -6
- package/chunks/FyUEditor.c06LkvIy.mjs +224 -0
- package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +167 -0
- package/chunks/IconTemp.tzsg5qth.mjs +29 -0
- package/chunks/ResizeObserver.sOHk2Cm-.mjs +51 -0
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.DLHG0EnH.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.gd9p9Rrj.mjs} +1 -1
- package/chunks/{index.LGsb2aDq.mjs → index.Uf8ONhVI.mjs} +3 -3
- package/data-display/index.mjs +129 -15
- package/data-table-picker/index.mjs +1 -1
- package/easy-popup/index.mjs +8 -7
- 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 +218 -164
- package/flow-viewer/index.mjs +161 -73
- package/form-button/index.mjs +25 -11
- 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 +155 -31
- 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 +12 -13
- package/fy-curd/index.mjs +4 -5
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +498 -329
- package/fy-input-icon/index.mjs +20 -21
- package/fy-u-editor/index.mjs +75 -237
- package/highlight-j-s/index.mjs +4 -3
- package/icon-temp/index.mjs +7 -6
- package/index.mjs +446 -446
- package/nav-bar/index.mjs +7 -6
- package/package.json +4 -4
- package/page/index.mjs +1 -0
- package/page-header/index.mjs +3 -2
- package/page-skeleton/index.mjs +95 -17
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +8 -8
- package/present-view/index.mjs +3 -4
- package/resize-observer/index.mjs +4 -3
- package/split-pane/index.mjs +3 -4
- package/swiper/index.mjs +3 -4
- 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 +10 -9
package/form-input-tag/index.mjs
CHANGED
|
@@ -1,25 +1,149 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
var _ = Object.defineProperty, b = Object.defineProperties;
|
|
2
|
+
var y = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var d = Object.getOwnPropertySymbols;
|
|
4
|
+
var v = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var m = (a, e, t) => e in a ? _(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, r = (a, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
v.call(e, t) && m(a, t, e[t]);
|
|
8
|
+
if (d)
|
|
9
|
+
for (var t of d(e))
|
|
10
|
+
I.call(e, t) && m(a, t, e[t]);
|
|
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
|
+
}
|
|
11
119
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
120
|
+
var M = function() {
|
|
121
|
+
var e = this, t = e._self._c;
|
|
122
|
+
return t("div", { staticClass: "x-input-tag" }, [e.tags && e.tags.length && e.tags[0] ? e._l(e.tags, function(n, i) {
|
|
123
|
+
return t("ElTag", { key: n.id || n, attrs: { size: "medium", "disable-transitions": "", closable: !e.inputDisabled }, on: { close: function(p) {
|
|
124
|
+
return e.handleClose(n, i);
|
|
125
|
+
} } }, [e._v(" " + e._s(n.name || n) + " ")]);
|
|
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 = {
|
|
18
142
|
name: "FormInputTag",
|
|
19
143
|
components: {
|
|
20
|
-
XInputTag:
|
|
144
|
+
XInputTag: f
|
|
21
145
|
},
|
|
22
|
-
mixins: [
|
|
146
|
+
mixins: [V],
|
|
23
147
|
props: {
|
|
24
148
|
value: [Array, String],
|
|
25
149
|
block: {
|
|
@@ -37,30 +161,30 @@ const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
|
|
|
37
161
|
},
|
|
38
162
|
computed: {
|
|
39
163
|
inputProps() {
|
|
40
|
-
return
|
|
164
|
+
return x(r(r({}, k(this.$attrs)), this.$props), C);
|
|
41
165
|
}
|
|
42
166
|
}
|
|
43
167
|
};
|
|
44
|
-
var
|
|
45
|
-
var e = this,
|
|
46
|
-
return
|
|
47
|
-
return [
|
|
48
|
-
}, proxy: !0 }, { key: "error", fn: function({ error:
|
|
49
|
-
return [e._t("error", null, { error:
|
|
168
|
+
var F = function() {
|
|
169
|
+
var e = this, t = e._self._c;
|
|
170
|
+
return t("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
171
|
+
return [t("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: (n) => e.$emit("input", n) } }, "XInputTag", e.inputProps, !1), e.listeners))];
|
|
172
|
+
}, proxy: !0 }, { key: "error", fn: function({ error: n }) {
|
|
173
|
+
return [e._t("error", null, { error: n })];
|
|
50
174
|
} }, { key: "label", fn: function() {
|
|
51
175
|
return [e._t("label")];
|
|
52
176
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
177
|
+
}, B = [], D = /* @__PURE__ */ h(
|
|
178
|
+
j,
|
|
179
|
+
F,
|
|
180
|
+
B,
|
|
57
181
|
!1,
|
|
58
182
|
null,
|
|
59
183
|
null,
|
|
60
184
|
null,
|
|
61
185
|
null
|
|
62
186
|
);
|
|
63
|
-
const
|
|
187
|
+
const O = D.exports;
|
|
64
188
|
export {
|
|
65
|
-
|
|
189
|
+
O as default
|
|
66
190
|
};
|
|
@@ -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.DLHG0EnH.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.Uf8ONhVI.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.gd9p9Rrj.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.DLHG0EnH.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.Uf8ONhVI.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.DLHG0EnH.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.Uf8ONhVI.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.DLHG0EnH.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.Uf8ONhVI.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.DLHG0EnH.mjs";
|
|
13
|
+
import { d as f, n as d } from "../chunks/index.Uf8ONhVI.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,25 +11,24 @@ var p = (o, t, e) => t in o ? _(o, t, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return o;
|
|
12
12
|
}, f = (o, t) => g(o, w(t));
|
|
13
13
|
var u = (o, t, e) => new Promise((r, s) => {
|
|
14
|
-
var
|
|
14
|
+
var n = (i) => {
|
|
15
15
|
try {
|
|
16
|
-
a(e.next(
|
|
16
|
+
a(e.next(i));
|
|
17
17
|
} catch (d) {
|
|
18
18
|
s(d);
|
|
19
19
|
}
|
|
20
|
-
}, l = (
|
|
20
|
+
}, l = (i) => {
|
|
21
21
|
try {
|
|
22
|
-
a(e.throw(
|
|
22
|
+
a(e.throw(i));
|
|
23
23
|
} catch (d) {
|
|
24
24
|
s(d);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
26
|
+
}, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { hasOwn as b, toStringArray as S, animate as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
|
-
import C from "
|
|
32
|
-
import "@web-utils/component/resize-observer/style.css";
|
|
31
|
+
import { R as C } from "../chunks/ResizeObserver.sOHk2Cm-.mjs";
|
|
33
32
|
import { n as L } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
34
33
|
const y = [
|
|
35
34
|
"back",
|
|
@@ -134,10 +133,10 @@ const y = [
|
|
|
134
133
|
o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
|
|
135
134
|
const r = m(t.$el, "form-card"), s = m(e.$el, "form-card");
|
|
136
135
|
if (r === s) {
|
|
137
|
-
const
|
|
138
|
-
return
|
|
136
|
+
const n = [].indexOf.call(t.$el.parentNode.children, t.$el), l = [].indexOf.call(e.$el.parentNode.children, e.$el);
|
|
137
|
+
return n - l;
|
|
139
138
|
} else {
|
|
140
|
-
const
|
|
139
|
+
const n = m(r, "form-scroller"), l = [].indexOf.call(n.children, r), a = [].indexOf.call(n.children, s);
|
|
141
140
|
return l - a;
|
|
142
141
|
}
|
|
143
142
|
}), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
|
|
@@ -225,7 +224,7 @@ var N = function() {
|
|
|
225
224
|
return [t._t(r)];
|
|
226
225
|
}, proxy: !0 };
|
|
227
226
|
})], null, !0) }, "Toolbar", f(c({}, t.toolbarProps), { buttons: t.footerBarButtons }), !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
|
|
228
|
-
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(
|
|
227
|
+
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(n) {
|
|
229
228
|
return t.navItemClick(r, s);
|
|
230
229
|
} } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
|
|
231
230
|
}), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
|
|
@@ -239,7 +238,7 @@ var N = function() {
|
|
|
239
238
|
null,
|
|
240
239
|
null
|
|
241
240
|
);
|
|
242
|
-
const
|
|
241
|
+
const E = A.exports;
|
|
243
242
|
export {
|
|
244
|
-
|
|
243
|
+
E as default
|
|
245
244
|
};
|
package/fy-curd/index.mjs
CHANGED
|
@@ -6,10 +6,9 @@ import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z
|
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.j1uMmBnG.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.0ezzipG4.mjs";
|
|
10
10
|
import { s as V } from "../chunks/dic.7JBaVHv6.mjs";
|
|
11
|
-
import R from "
|
|
12
|
-
import "@web-utils/component/icon-temp/style.css";
|
|
11
|
+
import { I as R } from "../chunks/IconTemp.tzsg5qth.mjs";
|
|
13
12
|
const p = {
|
|
14
13
|
menuWidth: 220,
|
|
15
14
|
menuFixed: "right",
|
|
@@ -1922,7 +1921,7 @@ var Ue = function() {
|
|
|
1922
1921
|
null,
|
|
1923
1922
|
null
|
|
1924
1923
|
);
|
|
1925
|
-
const
|
|
1924
|
+
const lt = qe.exports;
|
|
1926
1925
|
export {
|
|
1927
|
-
|
|
1926
|
+
lt as default
|
|
1928
1927
|
};
|
package/fy-form/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var D = (i, e, r) => new Promise((s, p) => {
|
|
|
14
14
|
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
|
|
15
15
|
a((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { F as P, d as z } from "../chunks/FormTemp.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.0ezzipG4.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";
|