@web-utils/component 3.3.17 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chat/index.mjs +1 -1
- package/chunks/{FormTemp.D8cHwam4.mjs → FormTemp.CJOJOy8K.mjs} +7 -6
- package/chunks/{dataformat.skVZSF57.mjs → dataformat.ARPY2U57.mjs} +5 -9
- package/chunks/{dic.28d_-7EJ.mjs → dic.DBmh9yzU.mjs} +1 -1
- package/chunks/{event.m1ZDHbkO.mjs → event.mRPNW7Cx.mjs} +2 -2
- package/chunks/{init.DBM2D2IY.mjs → init.CauLYxJq.mjs} +2 -2
- package/chunks/{json-beautifier.vs8mCOxd.mjs → json-beautifier.j1-U5g4P.mjs} +3 -6
- package/chunks/{util.B_LEdJSZ.mjs → util.BaRFvfAi.mjs} +1 -2
- package/code-mirror-editor/index.mjs +8 -16
- package/dialog-form/index.mjs +1 -1
- package/flow/index.mjs +1 -1
- package/flow-designer/index.mjs +5 -6
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +3 -2
- package/form-input-tag/index.mjs +7 -6
- package/form-view/index.mjs +3 -2
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +2 -3
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +16 -23
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +3 -5
- package/fy-dynamic/index.mjs +2 -2
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +10 -15
- package/fy-form-design/index.mjs +18 -28
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -3
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +28 -27
- package/fy-input-map/index.mjs +3 -5
- 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-radio/index.mjs +1 -1
- package/fy-radio/style.css +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 +8 -9
- package/fy-upload/index.mjs +2 -2
- package/image-cropper/index.mjs +35 -35
- package/image-preview/index.mjs +2 -3
- package/input-number/index.mjs +6 -12
- package/keyboard/index.mjs +1 -2
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/monaco-editor/index.mjs +2 -3
- package/package.json +14 -14
- package/page-skeleton/index.mjs +15 -12
- package/present-view/index.mjs +3 -2
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +3 -5
- package/split-pane/index.mjs +3 -2
- package/swiper/index.mjs +7 -6
- package/text-ellipsis/index.mjs +1 -1
- package/tinymce-editor/index.mjs +3 -6
- package/toolbar/index.mjs +3 -2
- package/verify/index.mjs +2 -3
- package/vue-cron/index.mjs +1 -2
- package/vue-tree-select/index.mjs +42 -75
- package/web-types.json +1 -1
package/chat/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatDate as r } from "@web-utils/integrations/dayjs";
|
|
2
|
-
import { s as l } from "../chunks/util.
|
|
2
|
+
import { s as l } from "../chunks/util.BaRFvfAi.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
4
|
const d = {
|
|
5
5
|
name: "Chat",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { isBlank as _ } from "@web-utils/core";
|
|
2
2
|
import { formatDate as i } from "@web-utils/integrations/dayjs";
|
|
3
|
-
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.
|
|
4
|
-
import
|
|
3
|
+
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.BaRFvfAi.mjs";
|
|
4
|
+
import "../fy-u-editor/style.css";
|
|
5
|
+
import { a as D, b as O } from "./dataformat.ARPY2U57.mjs";
|
|
5
6
|
import { s as j } from "./slot.DXIbhGat.mjs";
|
|
6
7
|
import { n as L } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
-
const
|
|
8
|
+
const R = (n = {}, e = {}, s = {}, r = []) => {
|
|
8
9
|
let t = n[e.prop];
|
|
9
10
|
const a = e.type, o = e.separator;
|
|
10
11
|
if (e.bind && (t = h(n, e.bind)), _(t))
|
|
@@ -115,8 +116,8 @@ var k = function() {
|
|
|
115
116
|
null,
|
|
116
117
|
null
|
|
117
118
|
);
|
|
118
|
-
const
|
|
119
|
+
const V = I.exports;
|
|
119
120
|
export {
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
V as F,
|
|
122
|
+
R as d
|
|
122
123
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isBlank as l } from "@web-utils/core";
|
|
2
|
-
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.
|
|
2
|
+
import { f as E, M as f, A as h, R as T, c as p, e as m, K as A, g as I, S as L, b as S, h as B, I as _ } from "./util.BaRFvfAi.mjs";
|
|
3
3
|
const P = {
|
|
4
4
|
common: {
|
|
5
5
|
condition: "条件",
|
|
@@ -85,8 +85,7 @@ const P = {
|
|
|
85
85
|
let a = e, i = null;
|
|
86
86
|
for (let c = 0, o = t.length; c < o; c++) {
|
|
87
87
|
const d = t[c];
|
|
88
|
-
if (!a)
|
|
89
|
-
break;
|
|
88
|
+
if (!a) break;
|
|
90
89
|
if (c === o - 1) {
|
|
91
90
|
i = a[d];
|
|
92
91
|
break;
|
|
@@ -118,22 +117,19 @@ const v = (e, n = 12, t = !1) => {
|
|
|
118
117
|
}, $ = (e) => {
|
|
119
118
|
const n = e.type, t = e.searchRange;
|
|
120
119
|
let a = n;
|
|
121
|
-
if (e.searchType)
|
|
122
|
-
return e.searchType;
|
|
120
|
+
if (e.searchType) return e.searchType;
|
|
123
121
|
if (["radio", "checkbox", "switch"].includes(n))
|
|
124
122
|
a = "select";
|
|
125
123
|
else if (B.includes(n)) {
|
|
126
124
|
const i = "range";
|
|
127
125
|
t ? n.includes(i) ? a = n : a = n + i : a = n.replace(i, "");
|
|
128
|
-
} else
|
|
129
|
-
["textarea"].includes(n) && (a = "input");
|
|
126
|
+
} else ["textarea"].includes(n) && (a = "input");
|
|
130
127
|
return a;
|
|
131
128
|
}, N = (e, n) => {
|
|
132
129
|
let t = e || "input";
|
|
133
130
|
if (l(n))
|
|
134
131
|
m.includes(e) ? t = "array" : ["time", "timerange"].includes(e) ? t = "time" : B.includes(e) ? t = "date" : ["password", "textarea", "search"].includes(e) ? t = "input" : _.includes(e) && (t = `input-${e}`);
|
|
135
|
-
else
|
|
136
|
-
return n;
|
|
132
|
+
else return n;
|
|
137
133
|
return A + t;
|
|
138
134
|
}, M = (e = []) => {
|
|
139
135
|
let n = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as r, a as i, b as a } from "./util.
|
|
1
|
+
import { D as r, a as i, b as a } from "./util.BaRFvfAi.mjs";
|
|
2
2
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
3
3
|
import { isBlank as s } from "@web-utils/core";
|
|
4
|
-
import { i as p } from "./dataformat.
|
|
4
|
+
import { i as p } from "./dataformat.ARPY2U57.mjs";
|
|
5
5
|
const f = {
|
|
6
6
|
mixins: [l],
|
|
7
7
|
data() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as a, l as n, a as h, b as r } from "./dic.
|
|
2
|
-
import { d, a as c } from "./util.
|
|
1
|
+
import { s as a, l as n, a as h, b as r } from "./dic.DBmh9yzU.mjs";
|
|
2
|
+
import { d, a as c } from "./util.BaRFvfAi.mjs";
|
|
3
3
|
import { s as l } from "./slot.DXIbhGat.mjs";
|
|
4
4
|
import { isBlank as s } from "@web-utils/core";
|
|
5
5
|
const f = {
|
|
@@ -26,16 +26,14 @@ function N(r, i = {}) {
|
|
|
26
26
|
return u;
|
|
27
27
|
}
|
|
28
28
|
function S(r) {
|
|
29
|
-
if (!$(r))
|
|
30
|
-
return;
|
|
29
|
+
if (!$(r)) return;
|
|
31
30
|
const i = Object.keys(r);
|
|
32
31
|
i && i.forEach(function(n) {
|
|
33
32
|
const t = r[n];
|
|
34
33
|
if (typeof t == "string") {
|
|
35
34
|
const e = t - 0;
|
|
36
35
|
r[n] = isNaN(e) ? t : e;
|
|
37
|
-
} else
|
|
38
|
-
($(t) || Array.isArray(t)) && S(t);
|
|
36
|
+
} else ($(t) || Array.isArray(t)) && S(t);
|
|
39
37
|
});
|
|
40
38
|
}
|
|
41
39
|
function $(r) {
|
|
@@ -67,8 +65,7 @@ function x(r, i, n, t, e) {
|
|
|
67
65
|
if (s = "", p = "", typeof n == "number")
|
|
68
66
|
for (l = 0; l < n; l += 1)
|
|
69
67
|
p += " ";
|
|
70
|
-
else
|
|
71
|
-
typeof n == "string" && (p = n);
|
|
68
|
+
else typeof n == "string" && (p = n);
|
|
72
69
|
return h = i, b("", { "": r }, t, e);
|
|
73
70
|
}
|
|
74
71
|
function b(r, i, n, t) {
|
|
@@ -252,8 +252,7 @@ var P = function() {
|
|
|
252
252
|
if (a = s[s.length - 1], this.defaultActions[a] ? c = this.defaultActions[a] : (h == null && (h = n()), c = i[a] && i[a][h]), typeof c == "undefined" || !c.length || !c[0]) {
|
|
253
253
|
if (!_) {
|
|
254
254
|
E = [];
|
|
255
|
-
for (k in i[a])
|
|
256
|
-
this.terminals_[k] && k > 2 && E.push("'" + this.terminals_[k] + "'");
|
|
255
|
+
for (k in i[a]) this.terminals_[k] && k > 2 && E.push("'" + this.terminals_[k] + "'");
|
|
257
256
|
var x = "";
|
|
258
257
|
this.lexer.showPosition ? x = "Parse error on line " + (d + 1) + `:
|
|
259
258
|
` + this.lexer.showPosition() + `
|
|
@@ -266,19 +265,16 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
266
265
|
});
|
|
267
266
|
}
|
|
268
267
|
if (_ == 3) {
|
|
269
|
-
if (h == J)
|
|
270
|
-
throw new Error(x || "Parsing halted.");
|
|
268
|
+
if (h == J) throw new Error(x || "Parsing halted.");
|
|
271
269
|
N = this.lexer.yyleng, v = this.lexer.yytext, d = this.lexer.yylineno, b = this.lexer.yylloc, h = n();
|
|
272
270
|
}
|
|
273
271
|
for (; !($.toString() in i[a]); ) {
|
|
274
|
-
if (a == 0)
|
|
275
|
-
throw new Error(x || "Parsing halted.");
|
|
272
|
+
if (a == 0) throw new Error(x || "Parsing halted.");
|
|
276
273
|
t(1), a = s[s.length - 1];
|
|
277
274
|
}
|
|
278
275
|
S = h, h = $, a = s[s.length - 1], c = i[a] && i[a][$], _ = 3;
|
|
279
276
|
}
|
|
280
|
-
if (c[0] instanceof Array && c.length > 1)
|
|
281
|
-
throw new Error("Parse Error: multiple actions possible at state: " + a + ", token: " + h);
|
|
277
|
+
if (c[0] instanceof Array && c.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + a + ", token: " + h);
|
|
282
278
|
switch (c[0]) {
|
|
283
279
|
case 1:
|
|
284
280
|
s.push(h), e.push(this.lexer.yytext), o.push(this.lexer.yylloc), s.push(c[1]), h = null, S ? (h = S, S = null) : (N = this.lexer.yyleng, v = this.lexer.yytext, d = this.lexer.yylineno, b = this.lexer.yylloc, _ > 0 && _--);
|
|
@@ -289,8 +285,7 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
289
285
|
last_line: o[o.length - 1].last_line,
|
|
290
286
|
first_column: o[o.length - (f || 1)].first_column,
|
|
291
287
|
last_column: o[o.length - 1].last_column
|
|
292
|
-
}, w = this.performAction.call(g, v, N, d, this.yy, c[1], e, o), typeof w != "undefined")
|
|
293
|
-
return w;
|
|
288
|
+
}, w = this.performAction.call(g, v, N, d, this.yy, c[1], e, o), typeof w != "undefined") return w;
|
|
294
289
|
f && (s = s.slice(0, -1 * f * 2), e = e.slice(0, -1 * f), o = o.slice(0, -1 * f)), s.push(this.productions_[c[1]][0]), e.push(g.$), o.push(g._$), A = i[s[s.length - 2]][s[s.length - 1]], s.push(A);
|
|
295
290
|
break;
|
|
296
291
|
case 3:
|
|
@@ -303,8 +298,7 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
303
298
|
var u = {
|
|
304
299
|
EOF: 1,
|
|
305
300
|
parseError: function(t, n) {
|
|
306
|
-
if (!this.yy.parseError)
|
|
307
|
-
throw new Error(t);
|
|
301
|
+
if (!this.yy.parseError) throw new Error(t);
|
|
308
302
|
this.yy.parseError(t, n);
|
|
309
303
|
},
|
|
310
304
|
setInput: function(t) {
|
|
@@ -339,8 +333,7 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
339
333
|
` + n + "^";
|
|
340
334
|
},
|
|
341
335
|
next: function() {
|
|
342
|
-
if (this.done)
|
|
343
|
-
return this.EOF;
|
|
336
|
+
if (this.done) return this.EOF;
|
|
344
337
|
this._input || (this.done = !0);
|
|
345
338
|
var t, n, p, s, e;
|
|
346
339
|
this._more || (this.yytext = "", this.match = "");
|
|
@@ -353,8 +346,7 @@ Expecting ` + E.join(", ") + ", got '" + this.terminals_[h] + "'" : x = "Parse e
|
|
|
353
346
|
first_column: this.yylloc.last_column,
|
|
354
347
|
last_column: e ? e[e.length - 1].length - 1 : this.yylloc.last_column + n[0].length
|
|
355
348
|
}, this.yytext += n[0], this.match += n[0], this.yyleng = this.yytext.length, this._more = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], t = this.performAction.call(this, this.yy, this, o[s], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), t || void 0;
|
|
356
|
-
if (this._input === "")
|
|
357
|
-
return this.EOF;
|
|
349
|
+
if (this._input === "") return this.EOF;
|
|
358
350
|
this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
359
351
|
` + this.showPosition(), {
|
|
360
352
|
text: "",
|
package/dialog-form/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ var l = (t, e, o) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return t;
|
|
12
12
|
}, r = (t, e) => d(t, m(e));
|
|
13
13
|
import { isEmpty as b } from "@web-utils/core";
|
|
14
|
-
import { d as f } from "../chunks/util.
|
|
14
|
+
import { d as f } from "../chunks/util.BaRFvfAi.mjs";
|
|
15
15
|
import h from "vue";
|
|
16
16
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
17
|
const i = {
|
package/flow/index.mjs
CHANGED
package/flow-designer/index.mjs
CHANGED
|
@@ -49,6 +49,7 @@ import pe from "highlight.js/lib/core";
|
|
|
49
49
|
import Re from "highlight.js/lib/languages/xml";
|
|
50
50
|
import ze from "highlight.js/lib/languages/json";
|
|
51
51
|
import je from "../highlight-j-s/index.mjs";
|
|
52
|
+
import "../highlight-j-s/style.css";
|
|
52
53
|
function J(n, e, t, i, s, a, r, o, p, E, m, l, u) {
|
|
53
54
|
n = n || {}, i.registerProvider(this), this._contextPad = i, this._modeling = s, this._elementFactory = a, this._connect = r, this._create = o, this._popupMenu = p, this._canvas = E, this._rules = m, this._translate = l, n.autoPlace !== !1 && (this._autoPlace = e.get("autoPlace", !1)), t.on("create.end", 250, function(F) {
|
|
54
55
|
const C = F.context.shape;
|
|
@@ -1497,8 +1498,7 @@ const ye = {
|
|
|
1497
1498
|
saveListenerConfig() {
|
|
1498
1499
|
return c(this, null, function* () {
|
|
1499
1500
|
var t, i, s, a;
|
|
1500
|
-
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
1501
|
-
return;
|
|
1501
|
+
if (!(yield this.$refs.listenerFormRef.validate())) return;
|
|
1502
1502
|
const e = de(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
1503
1503
|
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:ExecutionListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1504
1504
|
});
|
|
@@ -1986,8 +1986,7 @@ const dn = un.exports, fn = {
|
|
|
1986
1986
|
saveListenerConfig() {
|
|
1987
1987
|
return c(this, null, function* () {
|
|
1988
1988
|
var t, i, s, a;
|
|
1989
|
-
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
1990
|
-
return;
|
|
1989
|
+
if (!(yield this.$refs.listenerFormRef.validate())) return;
|
|
1991
1990
|
const e = de(this.bpmnInstances, this.listenerForm, !0, this.prefix);
|
|
1992
1991
|
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:TaskListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1993
1992
|
});
|
|
@@ -6699,7 +6698,7 @@ var ui = function() {
|
|
|
6699
6698
|
null,
|
|
6700
6699
|
null
|
|
6701
6700
|
);
|
|
6702
|
-
const
|
|
6701
|
+
const zi = fi.exports;
|
|
6703
6702
|
export {
|
|
6704
|
-
|
|
6703
|
+
zi as default
|
|
6705
6704
|
};
|
package/flow-node/index.mjs
CHANGED
package/flow-viewer/index.mjs
CHANGED
|
@@ -31,6 +31,7 @@ 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
33
|
import $ from "../easy-popup/index.mjs";
|
|
34
|
+
import "../easy-popup/style.css";
|
|
34
35
|
import { n as F } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
35
36
|
const f = d.prototype._handleWheel, S = {
|
|
36
37
|
__init__: ["zoomScroll"],
|
|
@@ -178,7 +179,7 @@ var C = function() {
|
|
|
178
179
|
null,
|
|
179
180
|
null
|
|
180
181
|
);
|
|
181
|
-
const
|
|
182
|
+
const D = W.exports;
|
|
182
183
|
export {
|
|
183
|
-
|
|
184
|
+
D as default
|
|
184
185
|
};
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,16 +9,17 @@ 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
|
|
13
|
-
import { d
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { d, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
14
|
import s from "../x-input-tag/index.mjs";
|
|
15
|
+
import "../x-input-tag/style.css";
|
|
15
16
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
16
17
|
const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
17
18
|
name: "FormInputTag",
|
|
18
19
|
components: {
|
|
19
20
|
XInputTag: s
|
|
20
21
|
},
|
|
21
|
-
mixins: [
|
|
22
|
+
mixins: [m],
|
|
22
23
|
props: {
|
|
23
24
|
value: [Array, String],
|
|
24
25
|
block: {
|
|
@@ -36,7 +37,7 @@ const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled
|
|
|
36
37
|
},
|
|
37
38
|
computed: {
|
|
38
39
|
inputProps() {
|
|
39
|
-
return
|
|
40
|
+
return d(n(n({}, c(this.$attrs)), this.$props), _);
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
};
|
|
@@ -57,7 +58,7 @@ var y = function() {
|
|
|
57
58
|
null,
|
|
58
59
|
null
|
|
59
60
|
);
|
|
60
|
-
const
|
|
61
|
+
const M = I.exports;
|
|
61
62
|
export {
|
|
62
|
-
|
|
63
|
+
M as default
|
|
63
64
|
};
|
package/form-view/index.mjs
CHANGED
|
@@ -29,6 +29,7 @@ var u = (o, t, e) => new Promise((r, s) => {
|
|
|
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
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.CeySl7Fu.mjs";
|
|
33
34
|
const y = [
|
|
34
35
|
"back",
|
|
@@ -234,7 +235,7 @@ var N = function() {
|
|
|
234
235
|
null,
|
|
235
236
|
null
|
|
236
237
|
);
|
|
237
|
-
const
|
|
238
|
+
const G = A.exports;
|
|
238
239
|
export {
|
|
239
|
-
|
|
240
|
+
G as default
|
|
240
241
|
};
|
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.mRPNW7Cx.mjs";
|
|
2
|
+
import { i as o } from "../chunks/util.BaRFvfAi.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as s, e as c } from "../chunks/event.
|
|
1
|
+
import { p as s, e as c } from "../chunks/event.mRPNW7Cx.mjs";
|
|
2
2
|
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
const h = {
|
|
4
4
|
name: "FyCheckbox",
|
|
@@ -33,8 +33,7 @@ const h = {
|
|
|
33
33
|
},
|
|
34
34
|
handleCheckChange() {
|
|
35
35
|
const a = this.text;
|
|
36
|
-
if (!this.all)
|
|
37
|
-
return;
|
|
36
|
+
if (!this.all) return;
|
|
38
37
|
const e = a.length, t = this.dic.length;
|
|
39
38
|
this.checkAll = e === t, this.isIndeterminate = e > 0 && e < t;
|
|
40
39
|
}
|
package/fy-checkbox/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-checkbox .el-checkbox+.el-checkbox{margin-left:0}.avue-checkbox .el-checkbox{margin-right:10px}.avue-checkbox__all{display:none}
|
|
1
|
+
.avue-checkbox{text-align:left}.avue-checkbox .el-checkbox+.el-checkbox{margin-left:0}.avue-checkbox .el-checkbox{margin-right:10px}.avue-checkbox__all{display:none}
|
package/fy-code/index.mjs
CHANGED
package/fy-curd/index.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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, c as k, t as I, f as E } from "../chunks/dataformat.
|
|
5
|
-
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 } from "../chunks/util.
|
|
3
|
+
import { i as O } from "../chunks/init.CauLYxJq.mjs";
|
|
4
|
+
import { g as F, c as k, t as I, f as E } from "../chunks/dataformat.ARPY2U57.mjs";
|
|
5
|
+
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 } from "../chunks/util.BaRFvfAi.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.CJOJOy8K.mjs";
|
|
10
|
+
import { s as V } from "../chunks/dic.DBmh9yzU.mjs";
|
|
11
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",
|
|
@@ -113,8 +114,7 @@ const p = {
|
|
|
113
114
|
const g = "search";
|
|
114
115
|
if (u !== "searchProp" && u.includes(g)) {
|
|
115
116
|
let d = u.replace(g, "");
|
|
116
|
-
if (d.length === 0)
|
|
117
|
-
return;
|
|
117
|
+
if (d.length === 0) return;
|
|
118
118
|
d = d.replace(d[0], d[0].toLowerCase()), m[d] = l[u];
|
|
119
119
|
}
|
|
120
120
|
}), l = Object.assign(l, m, {
|
|
@@ -540,8 +540,7 @@ const re = ne.exports, se = {
|
|
|
540
540
|
},
|
|
541
541
|
// 表格筛选字典
|
|
542
542
|
handleFilters(t, e) {
|
|
543
|
-
if (e !== !0)
|
|
544
|
-
return;
|
|
543
|
+
if (e !== !0) return;
|
|
545
544
|
const i = this.crud.DIC[t.prop] || [], n = [];
|
|
546
545
|
return c(i) ? this.crud.cellForm.list.forEach((r) => {
|
|
547
546
|
n.map((s) => s.text).includes(r[t.prop]) || n.push({
|
|
@@ -558,10 +557,8 @@ const re = ne.exports, se = {
|
|
|
558
557
|
},
|
|
559
558
|
getColumnProp(t, e) {
|
|
560
559
|
const i = this.crud.objectOption[t.prop] || {};
|
|
561
|
-
if (e === "filterMethod")
|
|
562
|
-
|
|
563
|
-
if (this.crud.isMobile && ["fixed"].includes(e))
|
|
564
|
-
return !1;
|
|
560
|
+
if (e === "filterMethod") return i == null ? void 0 : i.filters;
|
|
561
|
+
if (this.crud.isMobile && ["fixed"].includes(e)) return !1;
|
|
565
562
|
const n = i == null ? void 0 : i[e];
|
|
566
563
|
if (!(e === "width" && n === 0))
|
|
567
564
|
return e === "filters" ? this.handleFilters(t, n) : e === "hide" ? (i == null ? void 0 : i.hide) !== !0 : n;
|
|
@@ -1165,8 +1162,7 @@ const Te = De.exports, ze = {
|
|
|
1165
1162
|
},
|
|
1166
1163
|
getColumn() {
|
|
1167
1164
|
const t = a(this.columnOption), e = this.$refs.form.getPropRef("prop").$refs.temp.getHalfList();
|
|
1168
|
-
if (!this.form.params)
|
|
1169
|
-
return [];
|
|
1165
|
+
if (!this.form.params) return [];
|
|
1170
1166
|
if (this.form.params.includes("headers")) {
|
|
1171
1167
|
const i = (n = []) => {
|
|
1172
1168
|
n.forEach((r, s) => {
|
|
@@ -1540,8 +1536,7 @@ const We = je.exports, Ke = {
|
|
|
1540
1536
|
getTableHeight() {
|
|
1541
1537
|
this.isAutoHeight ? this.$nextTick(() => {
|
|
1542
1538
|
const t = this.$refs.table, e = this.$refs.tablePage;
|
|
1543
|
-
if (!t)
|
|
1544
|
-
return;
|
|
1539
|
+
if (!t) return;
|
|
1545
1540
|
const i = t.$el, n = e.$el.offsetHeight || 20;
|
|
1546
1541
|
this.tableHeight = document.documentElement.clientHeight - i.offsetTop - n - this.calcHeight;
|
|
1547
1542
|
}) : this.tableHeight = this.tableOption.height;
|
|
@@ -1726,8 +1721,7 @@ const We = je.exports, Ke = {
|
|
|
1726
1721
|
for (const i of this.$refs.cellForm.fields)
|
|
1727
1722
|
if (i.prop.split(".")[1] === `${t}` && this.$refs.cellForm.validateField(i.prop, (n) => {
|
|
1728
1723
|
n && (e = !1);
|
|
1729
|
-
}), !e)
|
|
1730
|
-
break;
|
|
1724
|
+
}), !e) break;
|
|
1731
1725
|
return e;
|
|
1732
1726
|
},
|
|
1733
1727
|
rowAdd() {
|
|
@@ -1769,8 +1763,7 @@ const We = je.exports, Ke = {
|
|
|
1769
1763
|
},
|
|
1770
1764
|
// 合并行
|
|
1771
1765
|
tableSpanMethod(t) {
|
|
1772
|
-
if (typeof this.spanMethod == "function")
|
|
1773
|
-
return this.spanMethod(t);
|
|
1766
|
+
if (typeof this.spanMethod == "function") return this.spanMethod(t);
|
|
1774
1767
|
},
|
|
1775
1768
|
// 合集统计逻辑
|
|
1776
1769
|
tableSummaryMethod(t) {
|
|
@@ -1885,7 +1878,7 @@ var Ue = function() {
|
|
|
1885
1878
|
null,
|
|
1886
1879
|
null
|
|
1887
1880
|
);
|
|
1888
|
-
const
|
|
1881
|
+
const ot = qe.exports;
|
|
1889
1882
|
export {
|
|
1890
|
-
|
|
1883
|
+
ot as default
|
|
1891
1884
|
};
|
package/fy-date/index.mjs
CHANGED
package/fy-draggable/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as l, w as a } from "../chunks/util.
|
|
1
|
+
import { s as l, w as a } from "../chunks/util.BaRFvfAi.mjs";
|
|
2
2
|
import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
const v = {
|
|
4
4
|
name: "FyDraggable",
|
|
@@ -203,8 +203,7 @@ const v = {
|
|
|
203
203
|
this.active = t;
|
|
204
204
|
},
|
|
205
205
|
rangeMove(t, e) {
|
|
206
|
-
if (this.disabled || this.lock)
|
|
207
|
-
return;
|
|
206
|
+
if (this.disabled || this.lock) return;
|
|
208
207
|
let s, i, h, n, o, d;
|
|
209
208
|
this.rangeActive = !0, this.handleMouseDown();
|
|
210
209
|
let c = t.clientX, f = t.clientY;
|
|
@@ -240,8 +239,7 @@ const v = {
|
|
|
240
239
|
}));
|
|
241
240
|
},
|
|
242
241
|
handleMove(t) {
|
|
243
|
-
if (this.disabled || this.lock)
|
|
244
|
-
return;
|
|
242
|
+
if (this.disabled || this.lock) return;
|
|
245
243
|
setTimeout(() => {
|
|
246
244
|
this.$refs.input.focus();
|
|
247
245
|
}), this.active = !0, this.handleMouseDown();
|
package/fy-dynamic/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as d, e as u } from "../chunks/event.
|
|
2
|
-
import { o, d as l } from "../chunks/util.
|
|
1
|
+
import { p as d, e as u } from "../chunks/event.mRPNW7Cx.mjs";
|
|
2
|
+
import { o, d as l } from "../chunks/util.BaRFvfAi.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,17 +14,16 @@ 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 { 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.
|
|
20
|
-
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.
|
|
21
|
-
import { s as q } from "../chunks/dic.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.CJOJOy8K.mjs";
|
|
18
|
+
import { i as B } from "../chunks/init.CauLYxJq.mjs";
|
|
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.BaRFvfAi.mjs";
|
|
20
|
+
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.ARPY2U57.mjs";
|
|
21
|
+
import { s as q } from "../chunks/dic.DBmh9yzU.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";
|
|
25
25
|
const J = (i, e, r, s) => {
|
|
26
|
-
if (!s)
|
|
27
|
-
return;
|
|
26
|
+
if (!s) return;
|
|
28
27
|
if (!window.Mock) {
|
|
29
28
|
K.logs("mock");
|
|
30
29
|
return;
|
|
@@ -99,8 +98,7 @@ const J = (i, e, r, s) => {
|
|
|
99
98
|
l[n.prop] = w(f);
|
|
100
99
|
break;
|
|
101
100
|
}
|
|
102
|
-
} else
|
|
103
|
-
n.mock instanceof Function && (l[n.prop] = n.mock(r));
|
|
101
|
+
} else n.mock instanceof Function && (l[n.prop] = n.mock(r));
|
|
104
102
|
});
|
|
105
103
|
}
|
|
106
104
|
return T(), l;
|
|
@@ -445,8 +443,7 @@ const ae = se.exports, oe = {
|
|
|
445
443
|
setLabel() {
|
|
446
444
|
this.tableOption.filterNull === !0 && (this.form = S(this.form, [""], !1)), this.tableOption.filterDic === !0 ? this.form = S(this.form, ["$"], !1) : this.propOption.forEach((i) => {
|
|
447
445
|
const e = this.DIC[i.prop];
|
|
448
|
-
if (u(e))
|
|
449
|
-
return;
|
|
446
|
+
if (u(e)) return;
|
|
450
447
|
const r = z(this.form, i, this.tableOption, e);
|
|
451
448
|
r ? this.$set(this.form, `$${i.prop}`, r) : this.$delete(this.form, `$${i.prop}`);
|
|
452
449
|
});
|
|
@@ -508,8 +505,7 @@ const ae = se.exports, oe = {
|
|
|
508
505
|
},
|
|
509
506
|
vaildDetail(i) {
|
|
510
507
|
let e;
|
|
511
|
-
if (this.detail)
|
|
512
|
-
return !1;
|
|
508
|
+
if (this.detail) return !1;
|
|
513
509
|
if (!u(i.detail))
|
|
514
510
|
e = "detail";
|
|
515
511
|
else if (this.isAdd)
|
|
@@ -523,8 +519,7 @@ const ae = se.exports, oe = {
|
|
|
523
519
|
// 验证表单是否禁止
|
|
524
520
|
vaildDisabled(i) {
|
|
525
521
|
let e;
|
|
526
|
-
if (this.disabled)
|
|
527
|
-
return !0;
|
|
522
|
+
if (this.disabled) return !0;
|
|
528
523
|
if (!u(i.disabled))
|
|
529
524
|
e = "disabled";
|
|
530
525
|
else if (this.isAdd)
|