@farris/ui-vue 1.8.5-beta.19 → 1.8.5-beta.20
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/components/batch-editor/index.css +1 -1
- package/components/batch-editor/index.esm.js +80 -77
- package/components/batch-editor/index.umd.cjs +7 -7
- package/components/button/index.css +1 -1
- package/components/button/index.esm.js +80 -77
- package/components/button/index.umd.cjs +7 -7
- package/components/data-grid/index.esm.js +89 -86
- package/components/data-grid/index.umd.cjs +2 -2
- package/components/data-view/index.css +1 -1
- package/components/data-view/index.esm.js +174 -171
- package/components/data-view/index.umd.cjs +4 -4
- package/components/mapping-editor/index.esm.js +95 -92
- package/components/mapping-editor/index.umd.cjs +2 -2
- package/designer/data-grid/index.css +1 -1
- package/designer/data-grid/index.esm.js +5 -2
- package/designer/data-grid/index.umd.cjs +1 -1
- package/designer/farris-designer.all.esm.js +75 -72
- package/designer/farris-designer.all.umd.cjs +4 -4
- package/farris.all.esm.js +175 -172
- package/farris.all.umd.cjs +7 -7
- package/index.css +1 -1
- package/package.json +1 -1
- package/themes/default/farris-variables.css +1 -1
- package/themes/mano/farris-variables.css +1 -1
|
@@ -17727,7 +17727,7 @@ const CP = /* @__PURE__ */ fe({
|
|
|
17727
17727
|
}), Nt(() => {
|
|
17728
17728
|
Jt !== null && cancelAnimationFrame(Jt);
|
|
17729
17729
|
});
|
|
17730
|
-
function
|
|
17730
|
+
function yn(oe) {
|
|
17731
17731
|
B.collapseTo(oe), B.reOrderVisibleIndex(), kt();
|
|
17732
17732
|
}
|
|
17733
17733
|
function la(oe) {
|
|
@@ -17993,7 +17993,7 @@ const CP = /* @__PURE__ */ fe({
|
|
|
17993
17993
|
addNewDataItem: El,
|
|
17994
17994
|
addNewChildDataItem: di,
|
|
17995
17995
|
addChildrenToNode: fi,
|
|
17996
|
-
collapseTo:
|
|
17996
|
+
collapseTo: yn,
|
|
17997
17997
|
expandTo: la,
|
|
17998
17998
|
removeDataItem: ja,
|
|
17999
17999
|
editDataItem: Ha,
|
|
@@ -18521,8 +18521,8 @@ var wP = { exports: {} };
|
|
|
18521
18521
|
function Ht() {
|
|
18522
18522
|
var qt = pe.getBoundingClientRect();
|
|
18523
18523
|
if (pt) {
|
|
18524
|
-
var Jt = Ge - qt.top, Kt = Me - qt.left, Ut = qt.bottom - Ge,
|
|
18525
|
-
return J ? Wn =
|
|
18524
|
+
var Jt = Ge - qt.top, Kt = Me - qt.left, Ut = qt.bottom - Ge, yn = qt.right - Me, la = Math.min(Kt, yn, Jt, Ut), Wn;
|
|
18525
|
+
return J ? Wn = yn < Kt : Wn = Ut === la || yn === la || Kt === la, tn(Wn);
|
|
18526
18526
|
}
|
|
18527
18527
|
return tn(nt ? Me > qt.left + C(qt) / 2 : Ge > qt.top + x(qt) / 2);
|
|
18528
18528
|
}
|
|
@@ -22295,19 +22295,22 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22295
22295
|
renderGroupPanel: Jt
|
|
22296
22296
|
} = Yb(i, P, Oe, F, mt);
|
|
22297
22297
|
let Kt = null, Ut = null;
|
|
22298
|
-
function
|
|
22298
|
+
function yn() {
|
|
22299
22299
|
k.value && (Ut !== null && cancelAnimationFrame(Ut), Ut = requestAnimationFrame(() => {
|
|
22300
22300
|
Ut = null;
|
|
22301
22301
|
const oe = x.value;
|
|
22302
|
-
oe.length &&
|
|
22302
|
+
oe.length && Re.recalculateRowHeights(oe) && (x.value = [...oe]);
|
|
22303
22303
|
}));
|
|
22304
22304
|
}
|
|
22305
|
+
X(() => x.value.length, () => {
|
|
22306
|
+
yn();
|
|
22307
|
+
});
|
|
22305
22308
|
function la() {
|
|
22306
22309
|
var ge;
|
|
22307
22310
|
if (!y.value)
|
|
22308
22311
|
return;
|
|
22309
22312
|
const oe = Math.ceil(y.value.clientHeight / f.value);
|
|
22310
|
-
oe > p.value && (p.value = oe, st()), _e.value = ((ge = v.value) == null ? void 0 : ge.clientHeight) || 0, Se.value = y.value.clientWidth || 0, v.value && (ht.value = v.value.clientWidth), kt(),
|
|
22313
|
+
oe > p.value && (p.value = oe, st()), _e.value = ((ge = v.value) == null ? void 0 : ge.clientHeight) || 0, Se.value = y.value.clientWidth || 0, v.value && (ht.value = v.value.clientWidth), kt(), yn();
|
|
22311
22314
|
}
|
|
22312
22315
|
function Wn() {
|
|
22313
22316
|
Kt !== null && cancelAnimationFrame(Kt), Kt = requestAnimationFrame(() => {
|
|
@@ -22315,7 +22318,7 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22315
22318
|
});
|
|
22316
22319
|
}
|
|
22317
22320
|
Ne(() => {
|
|
22318
|
-
y.value && (p.value = Math.max(Math.ceil(y.value.clientHeight / f.value), p.value), x.value = Te(0, Q.value + d - 1), ac(y.value, Wn), kt(),
|
|
22321
|
+
y.value && (p.value = Math.max(Math.ceil(y.value.clientHeight / f.value), p.value), x.value = Te(0, Q.value + d - 1), ac(y.value, Wn), kt(), yn(), at(() => {
|
|
22319
22322
|
y.value && (Se.value = y.value.clientWidth), v.value && (ht.value = v.value.clientWidth, _e.value = v.value.clientHeight);
|
|
22320
22323
|
})), E.value && O();
|
|
22321
22324
|
}), Nt(() => {
|
|
@@ -22383,7 +22386,7 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22383
22386
|
savedOffsetY: Qe,
|
|
22384
22387
|
resetScroll: Le,
|
|
22385
22388
|
scrollTo: mt.scrollTo
|
|
22386
|
-
}), x.value.length || (U.value = []), Et.value && L.value && W();
|
|
22389
|
+
}), yn(), x.value.length || (U.value = []), Et.value && L.value && W();
|
|
22387
22390
|
}
|
|
22388
22391
|
}
|
|
22389
22392
|
X(P.shouldGroupingData, (oe, ge) => {
|
|
@@ -24411,7 +24414,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24411
24414
|
}), X(() => e.enablePeriod, (ce, Pe) => {
|
|
24412
24415
|
ce !== Pe && (f.value = ce);
|
|
24413
24416
|
});
|
|
24414
|
-
const
|
|
24417
|
+
const yn = V(() => (ce) => ce ? u.value !== "week" && !y.value && !b.value && !C.value : !g.value && !v.value && !C.value);
|
|
24415
24418
|
function la() {
|
|
24416
24419
|
return f.value && u.value !== "week" ? 575 : e.showTime && u.value !== "week" && e.inlineDateTime ? 487 : 287;
|
|
24417
24420
|
}
|
|
@@ -24445,7 +24448,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24445
24448
|
displayTextOfMonth: m.value[Be.value.month || "1"],
|
|
24446
24449
|
displayTextOfYear: `${ke}`
|
|
24447
24450
|
};
|
|
24448
|
-
Be.value = $e, (g.value ||
|
|
24451
|
+
Be.value = $e, (g.value || yn.value(!1)) && ($.value = {
|
|
24449
24452
|
...$.value,
|
|
24450
24453
|
year: $e.year,
|
|
24451
24454
|
month: $e.month
|
|
@@ -24518,7 +24521,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24518
24521
|
displayTextOfMonth: m.value[Be.value.month || "1"],
|
|
24519
24522
|
displayTextOfYear: `${ke}`
|
|
24520
24523
|
};
|
|
24521
|
-
Be.value = $e, (g.value ||
|
|
24524
|
+
Be.value = $e, (g.value || yn.value(!1)) && ($.value = {
|
|
24522
24525
|
...$.value,
|
|
24523
24526
|
year: $e.year,
|
|
24524
24527
|
month: $e.month
|
|
@@ -24647,11 +24650,11 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24647
24650
|
}
|
|
24648
24651
|
const {
|
|
24649
24652
|
year: vn,
|
|
24650
|
-
month:
|
|
24653
|
+
month: wn
|
|
24651
24654
|
} = Ct;
|
|
24652
24655
|
$.value = {
|
|
24653
24656
|
year: vn,
|
|
24654
|
-
month:
|
|
24657
|
+
month: wn
|
|
24655
24658
|
};
|
|
24656
24659
|
}
|
|
24657
24660
|
function vi(ce) {
|
|
@@ -24747,9 +24750,9 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24747
24750
|
year: ce.year,
|
|
24748
24751
|
month: ce.month
|
|
24749
24752
|
}, Pe)) {
|
|
24750
|
-
const
|
|
24753
|
+
const wn = ve.value.from;
|
|
24751
24754
|
ve.value.to = {
|
|
24752
|
-
...
|
|
24755
|
+
...wn
|
|
24753
24756
|
}, ve.value.from = {
|
|
24754
24757
|
year: ce.year,
|
|
24755
24758
|
month: ce.month
|
|
@@ -24880,24 +24883,24 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24880
24883
|
...Pe
|
|
24881
24884
|
};
|
|
24882
24885
|
if (ke || $e) {
|
|
24883
|
-
const
|
|
24886
|
+
const wn = /* @__PURE__ */ new Date();
|
|
24884
24887
|
ke && (Ct = {
|
|
24885
|
-
year:
|
|
24886
|
-
month:
|
|
24887
|
-
day:
|
|
24888
|
+
year: wn.getFullYear(),
|
|
24889
|
+
month: wn.getMonth() + 1,
|
|
24890
|
+
day: wn.getDate()
|
|
24888
24891
|
}), vn = {
|
|
24889
24892
|
...Ct
|
|
24890
24893
|
};
|
|
24891
24894
|
}
|
|
24892
24895
|
if (e.showTime) {
|
|
24893
24896
|
const {
|
|
24894
|
-
hour:
|
|
24897
|
+
hour: wn,
|
|
24895
24898
|
minute: Qn,
|
|
24896
24899
|
second: Eo
|
|
24897
24900
|
} = ie(a.value, !0);
|
|
24898
24901
|
Ct = {
|
|
24899
24902
|
...Ct,
|
|
24900
|
-
hour:
|
|
24903
|
+
hour: wn,
|
|
24901
24904
|
minute: Qn,
|
|
24902
24905
|
second: Eo
|
|
24903
24906
|
};
|
|
@@ -25049,8 +25052,8 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25049
25052
|
u.value === "month" ? (g.value = !0, v.value = !1) : u.value === "year" && (v.value = !0, g.value = !1);
|
|
25050
25053
|
});
|
|
25051
25054
|
const Io = (ce, Pe = !1) => {
|
|
25052
|
-
const $e = h.value.split(" ")[1] || "HH:mm:ss", Ct = Iw(ce.text, $e), vn = (Ct == null ? void 0 : Ct.getHours()) || 0,
|
|
25053
|
-
Pe ? (i.value = ce.text, f.value && ve.value && (ve.value.to.hour = vn, ve.value.to.minute =
|
|
25055
|
+
const $e = h.value.split(" ")[1] || "HH:mm:ss", Ct = Iw(ce.text, $e), vn = (Ct == null ? void 0 : Ct.getHours()) || 0, wn = (Ct == null ? void 0 : Ct.getMinutes()) || 0, Qn = (Ct == null ? void 0 : Ct.getSeconds()) || 0;
|
|
25056
|
+
Pe ? (i.value = ce.text, f.value && ve.value && (ve.value.to.hour = vn, ve.value.to.minute = wn, ve.value.to.second = Qn)) : (a.value = ce.text, f.value && ve.value ? (ve.value.from.hour = vn, ve.value.from.minute = wn, ve.value.from.second = Qn) : R.value && (R.value.hour = vn, R.value.minute = wn, R.value.second = Qn));
|
|
25054
25057
|
};
|
|
25055
25058
|
function Ca(ce) {
|
|
25056
25059
|
return s(Id, {
|
|
@@ -25164,15 +25167,15 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25164
25167
|
}, Ct && (ce.hour = 0, ce.minute = 0, ce.second = 0, Pe.hour = 23, Pe.minute = 59, Pe.second = 59), Re(ve.value, ce);
|
|
25165
25168
|
const {
|
|
25166
25169
|
from: vn,
|
|
25167
|
-
to:
|
|
25170
|
+
to: wn,
|
|
25168
25171
|
emit: Qn
|
|
25169
25172
|
} = Re(ve.value, Pe);
|
|
25170
25173
|
ve.value = {
|
|
25171
25174
|
from: vn,
|
|
25172
|
-
to:
|
|
25175
|
+
to: wn
|
|
25173
25176
|
}, Qn && n.emit("datePicked", {
|
|
25174
25177
|
startDate: vn,
|
|
25175
|
-
endDate:
|
|
25178
|
+
endDate: wn
|
|
25176
25179
|
});
|
|
25177
25180
|
}
|
|
25178
25181
|
const De = e.locales.buttons.current, Qe = V(() => C.value ? e.locales.buttons.selectDate : e.locales.buttons.selectTime);
|
|
@@ -25235,7 +25238,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25235
25238
|
}, [s("div", {
|
|
25236
25239
|
class: "f-datepicker-content",
|
|
25237
25240
|
style: "width:287px"
|
|
25238
|
-
}, [Ua(Wa.value, !1),
|
|
25241
|
+
}, [Ua(Wa.value, !1), yn.value(!1) && So(wo.value, !1), g.value && xo(bi.value, !1), v.value && Mo(Si.value, !1), C.value && f.value && Ca(!1)]), e.showTime && !f.value && e.inlineDateTime && s("div", {
|
|
25239
25242
|
class: "f-datepicker-content position-relative datepicker-content-has-timer",
|
|
25240
25243
|
style: "width:200px"
|
|
25241
25244
|
}, [s("div", {
|
|
@@ -25256,10 +25259,10 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25256
25259
|
}, null)]), e.showTime && !f.value && !e.inlineDateTime && C.value && Ca(!1), Po.value && u.value !== "week" && s("div", {
|
|
25257
25260
|
class: "f-datepicker-content f-datepicker-secondary",
|
|
25258
25261
|
style: "width:287px"
|
|
25259
|
-
}, [Ua(qa.value, !0),
|
|
25262
|
+
}, [Ua(qa.value, !0), yn.value(!0) && So(mi.value, !0), y.value && xo(Ci.value, !0), b.value && Mo(xi.value, !0), C.value && Ca(!0)]), Ga.value && s("div", {
|
|
25260
25263
|
class: "f-datepicker-commitBtn-wrapper",
|
|
25261
25264
|
style: "justify-content: end;"
|
|
25262
|
-
}, [!f.value &&
|
|
25265
|
+
}, [!f.value && yn.value(!1) && s("button", se(ye(e.id, "today"), {
|
|
25263
25266
|
class: "btn btn-link f-datepicker-select-btn",
|
|
25264
25267
|
style: Ya.value(Y()),
|
|
25265
25268
|
onClick: Fo
|
|
@@ -25287,7 +25290,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25287
25290
|
})]), !f.value && !Ga.value && s("div", {
|
|
25288
25291
|
class: "f-datepicker-commitBtn-wrapper",
|
|
25289
25292
|
style: "justify-content: center;"
|
|
25290
|
-
}, [
|
|
25293
|
+
}, [yn.value(!1) && s("button", se(ye(e.id, "today"), {
|
|
25291
25294
|
class: "btn btn-link",
|
|
25292
25295
|
style: Ya.value(Y()),
|
|
25293
25296
|
onClick: Fo
|
|
@@ -27295,7 +27298,7 @@ function BE(e, n) {
|
|
|
27295
27298
|
});
|
|
27296
27299
|
});
|
|
27297
27300
|
}
|
|
27298
|
-
let
|
|
27301
|
+
let xn = class {
|
|
27299
27302
|
constructor(n) {
|
|
27300
27303
|
n && this.set(n);
|
|
27301
27304
|
}
|
|
@@ -27425,7 +27428,7 @@ let Sn = class {
|
|
|
27425
27428
|
return de.isArray(n) ? n.forEach(i) : i(n), this;
|
|
27426
27429
|
}
|
|
27427
27430
|
};
|
|
27428
|
-
|
|
27431
|
+
xn.accessor([
|
|
27429
27432
|
"Content-Type",
|
|
27430
27433
|
"Content-Length",
|
|
27431
27434
|
"Accept",
|
|
@@ -27433,7 +27436,7 @@ Sn.accessor([
|
|
|
27433
27436
|
"User-Agent",
|
|
27434
27437
|
"Authorization"
|
|
27435
27438
|
]);
|
|
27436
|
-
de.reduceDescriptors(
|
|
27439
|
+
de.reduceDescriptors(xn.prototype, ({ value: e }, n) => {
|
|
27437
27440
|
let t = n[0].toUpperCase() + n.slice(1);
|
|
27438
27441
|
return {
|
|
27439
27442
|
get: () => e,
|
|
@@ -27442,7 +27445,7 @@ de.reduceDescriptors(Sn.prototype, ({ value: e }, n) => {
|
|
|
27442
27445
|
}
|
|
27443
27446
|
};
|
|
27444
27447
|
});
|
|
27445
|
-
de.freezeMethods(
|
|
27448
|
+
de.freezeMethods(xn);
|
|
27446
27449
|
const Tr = "[REDACTED ****]";
|
|
27447
27450
|
function OE(e) {
|
|
27448
27451
|
if (de.hasOwnProp(e, "toJSON"))
|
|
@@ -27459,7 +27462,7 @@ function AE(e, n) {
|
|
|
27459
27462
|
const t = new Set(n.map((i) => String(i).toLowerCase())), a = [], o = (i) => {
|
|
27460
27463
|
if (i === null || typeof i != "object" || de.isBuffer(i)) return i;
|
|
27461
27464
|
if (a.indexOf(i) !== -1) return;
|
|
27462
|
-
i instanceof
|
|
27465
|
+
i instanceof xn && (i = i.toJSON()), a.push(i);
|
|
27463
27466
|
let l;
|
|
27464
27467
|
if (de.isArray(i))
|
|
27465
27468
|
l = [], i.forEach((r, c) => {
|
|
@@ -27792,14 +27795,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", UE
|
|
|
27792
27795
|
hasStandardBrowserWebWorkerEnv: qE,
|
|
27793
27796
|
navigator: Tu,
|
|
27794
27797
|
origin: UE
|
|
27795
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
27798
|
+
}, Symbol.toStringTag, { value: "Module" })), Cn = {
|
|
27796
27799
|
..._E,
|
|
27797
27800
|
...zE
|
|
27798
27801
|
};
|
|
27799
27802
|
function GE(e, n) {
|
|
27800
|
-
return os(e, new
|
|
27803
|
+
return os(e, new Cn.classes.URLSearchParams(), {
|
|
27801
27804
|
visitor: function(t, a, o, i) {
|
|
27802
|
-
return
|
|
27805
|
+
return Cn.isNode && de.isBuffer(t) ? (this.append(a, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
27803
27806
|
},
|
|
27804
27807
|
...n
|
|
27805
27808
|
});
|
|
@@ -27913,8 +27916,8 @@ const wl = {
|
|
|
27913
27916
|
maxContentLength: -1,
|
|
27914
27917
|
maxBodyLength: -1,
|
|
27915
27918
|
env: {
|
|
27916
|
-
FormData:
|
|
27917
|
-
Blob:
|
|
27919
|
+
FormData: Cn.classes.FormData,
|
|
27920
|
+
Blob: Cn.classes.Blob
|
|
27918
27921
|
},
|
|
27919
27922
|
validateStatus: function(n) {
|
|
27920
27923
|
return n >= 200 && n < 300;
|
|
@@ -27930,7 +27933,7 @@ de.forEach(["delete", "get", "head", "post", "put", "patch", "query"], (e) => {
|
|
|
27930
27933
|
wl.headers[e] = {};
|
|
27931
27934
|
});
|
|
27932
27935
|
function js(e, n) {
|
|
27933
|
-
const t = this || wl, a = n || t, o =
|
|
27936
|
+
const t = this || wl, a = n || t, o = xn.from(a.headers);
|
|
27934
27937
|
let i = a.data;
|
|
27935
27938
|
return de.forEach(e, function(r) {
|
|
27936
27939
|
i = r.call(t, i, o.normalize(), n ? n.status : void 0);
|
|
@@ -28026,10 +28029,10 @@ const kr = (e, n, t = 3) => {
|
|
|
28026
28029
|
}),
|
|
28027
28030
|
n[1]
|
|
28028
28031
|
];
|
|
28029
|
-
}, lf = (e, n = de.asap) => (...t) => n(() => e(...t)), eB =
|
|
28030
|
-
new URL(
|
|
28031
|
-
|
|
28032
|
-
) : () => !0, tB =
|
|
28032
|
+
}, lf = (e, n = de.asap) => (...t) => n(() => e(...t)), eB = Cn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, n) => (t) => (t = new URL(t, Cn.origin), e.protocol === t.protocol && e.host === t.host && (n || e.port === t.port)))(
|
|
28033
|
+
new URL(Cn.origin),
|
|
28034
|
+
Cn.navigator && /(msie|trident)/i.test(Cn.navigator.userAgent)
|
|
28035
|
+
) : () => !0, tB = Cn.hasStandardBrowserEnv ? (
|
|
28033
28036
|
// Standard browser envs support document.cookie
|
|
28034
28037
|
{
|
|
28035
28038
|
write(e, n, t, a, o, i, l) {
|
|
@@ -28114,7 +28117,7 @@ function Dh(e, n, t, a) {
|
|
|
28114
28117
|
let o = !nB(n);
|
|
28115
28118
|
return e && (o || t === !1) ? (rf(e, a), aB(e, n)) : n;
|
|
28116
28119
|
}
|
|
28117
|
-
const sf = (e) => e instanceof
|
|
28120
|
+
const sf = (e) => e instanceof xn ? { ...e } : e, cB = (e) => Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor ? Object.keys(e).concat(
|
|
28118
28121
|
Object.getOwnPropertySymbols(e).filter(
|
|
28119
28122
|
(n) => Object.getOwnPropertyDescriptor(e, n).enumerable
|
|
28120
28123
|
)
|
|
@@ -28226,7 +28229,7 @@ function Lh(e) {
|
|
|
28226
28229
|
const i = t("xsrfHeaderName"), l = t("xsrfCookieName");
|
|
28227
28230
|
let r = t("headers");
|
|
28228
28231
|
const c = t("auth"), d = t("baseURL"), f = t("allowAbsoluteUrls"), u = t("url");
|
|
28229
|
-
if (n.headers = r =
|
|
28232
|
+
if (n.headers = r = xn.from(r), n.url = Eh(
|
|
28230
28233
|
Dh(d, u, f, n),
|
|
28231
28234
|
t("params"),
|
|
28232
28235
|
t("paramsSerializer")
|
|
@@ -28241,7 +28244,7 @@ function Lh(e) {
|
|
|
28241
28244
|
throw Ke.from(h, Ke.ERR_BAD_OPTION_VALUE, e);
|
|
28242
28245
|
}
|
|
28243
28246
|
}
|
|
28244
|
-
if (de.isFormData(a) && (
|
|
28247
|
+
if (de.isFormData(a) && (Cn.hasStandardBrowserEnv || Cn.hasStandardBrowserWebWorkerEnv || de.isReactNative(a) ? r.setContentType(void 0) : de.isFunction(a.getHeaders) && fB(r, a.getHeaders(), t("formDataHeaderPolicy"))), Cn.hasStandardBrowserEnv && (de.isFunction(o) && (o = o(n)), o === !0 || o == null && eB(n.url))) {
|
|
28245
28248
|
const m = i && l && tB.read(l);
|
|
28246
28249
|
m && r.set(i, m);
|
|
28247
28250
|
}
|
|
@@ -28251,7 +28254,7 @@ const mB = typeof XMLHttpRequest < "u", hB = mB && function(e) {
|
|
|
28251
28254
|
return new Promise(function(t, a) {
|
|
28252
28255
|
const o = Lh(e);
|
|
28253
28256
|
let i = o.data;
|
|
28254
|
-
const l =
|
|
28257
|
+
const l = xn.from(o.headers).normalize();
|
|
28255
28258
|
let { responseType: r, onUploadProgress: c, onDownloadProgress: d } = o, f, u, p, m, h;
|
|
28256
28259
|
function g() {
|
|
28257
28260
|
m && m(), h && h(), o.cancelToken && o.cancelToken.unsubscribe(f), o.signal && o.signal.removeEventListener("abort", f);
|
|
@@ -28261,7 +28264,7 @@ const mB = typeof XMLHttpRequest < "u", hB = mB && function(e) {
|
|
|
28261
28264
|
function v() {
|
|
28262
28265
|
if (!y)
|
|
28263
28266
|
return;
|
|
28264
|
-
const C =
|
|
28267
|
+
const C = xn.from(
|
|
28265
28268
|
"getAllResponseHeaders" in y && y.getAllResponseHeaders()
|
|
28266
28269
|
), S = {
|
|
28267
28270
|
data: !r || r === "text" || r === "json" ? y.responseText : y.response,
|
|
@@ -28305,7 +28308,7 @@ const mB = typeof XMLHttpRequest < "u", hB = mB && function(e) {
|
|
|
28305
28308
|
y && (a(!C || C.type ? new Sl(null, e, y) : C), y.abort(), g(), y = null);
|
|
28306
28309
|
}, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
|
|
28307
28310
|
const b = XE(o.url);
|
|
28308
|
-
if (b && !
|
|
28311
|
+
if (b && !Cn.protocols.includes(b)) {
|
|
28309
28312
|
a(
|
|
28310
28313
|
new Ke(
|
|
28311
28314
|
"Unsupported protocol " + b + ":",
|
|
@@ -28510,7 +28513,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, PB = (e) => encode
|
|
|
28510
28513
|
return !1;
|
|
28511
28514
|
const f = r && Hl(t), u = r && (typeof a == "function" ? /* @__PURE__ */ ((v) => (b) => v.encode(b))(new a()) : async (v) => new Uint8Array(await new i(v).arrayBuffer())), p = c && f && mf(() => {
|
|
28512
28515
|
let v = !1;
|
|
28513
|
-
const b = new i(
|
|
28516
|
+
const b = new i(Cn.origin, {
|
|
28514
28517
|
body: new t(),
|
|
28515
28518
|
method: "POST",
|
|
28516
28519
|
get duplex() {
|
|
@@ -28539,7 +28542,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, PB = (e) => encode
|
|
|
28539
28542
|
if (de.isBlob(v))
|
|
28540
28543
|
return v.size;
|
|
28541
28544
|
if (de.isSpecCompliantForm(v))
|
|
28542
|
-
return (await new i(
|
|
28545
|
+
return (await new i(Cn.origin, {
|
|
28543
28546
|
method: "POST",
|
|
28544
28547
|
body: v
|
|
28545
28548
|
}).arrayBuffer()).byteLength;
|
|
@@ -28596,7 +28599,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, PB = (e) => encode
|
|
|
28596
28599
|
};
|
|
28597
28600
|
}
|
|
28598
28601
|
if (MB(b)) {
|
|
28599
|
-
const re = new URL(b,
|
|
28602
|
+
const re = new URL(b, Cn.origin);
|
|
28600
28603
|
if (!J && (re.username || re.password)) {
|
|
28601
28604
|
const Ce = pf(re.username), Ie = pf(re.password);
|
|
28602
28605
|
J = {
|
|
@@ -28673,7 +28676,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, PB = (e) => encode
|
|
|
28673
28676
|
};
|
|
28674
28677
|
W = c && new i(b, z);
|
|
28675
28678
|
let Y = await (c ? j(W, B) : j(b, z));
|
|
28676
|
-
const ee =
|
|
28679
|
+
const ee = xn.from(Y.headers);
|
|
28677
28680
|
if (D) {
|
|
28678
28681
|
const re = de.toFiniteNumber(ee.getContentLength());
|
|
28679
28682
|
if (re != null && re > P)
|
|
@@ -28730,7 +28733,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, PB = (e) => encode
|
|
|
28730
28733
|
return !ie && $ && $(), await new Promise((re, Ce) => {
|
|
28731
28734
|
Vh(re, Ce, {
|
|
28732
28735
|
data: Fe,
|
|
28733
|
-
headers:
|
|
28736
|
+
headers: xn.from(Y.headers),
|
|
28734
28737
|
status: Y.status,
|
|
28735
28738
|
statusText: Y.statusText,
|
|
28736
28739
|
config: v,
|
|
@@ -28842,7 +28845,7 @@ function Hs(e) {
|
|
|
28842
28845
|
throw new Sl(null, e);
|
|
28843
28846
|
}
|
|
28844
28847
|
function zs(e) {
|
|
28845
|
-
return Hs(e), e.headers =
|
|
28848
|
+
return Hs(e), e.headers = xn.from(e.headers), e.data = js.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), $h.getAdapter(e.adapter || wl.adapter, e)(e).then(
|
|
28846
28849
|
function(a) {
|
|
28847
28850
|
Hs(e), e.response = a;
|
|
28848
28851
|
try {
|
|
@@ -28850,7 +28853,7 @@ function zs(e) {
|
|
|
28850
28853
|
} finally {
|
|
28851
28854
|
delete e.response;
|
|
28852
28855
|
}
|
|
28853
|
-
return a.headers =
|
|
28856
|
+
return a.headers = xn.from(a.headers), a;
|
|
28854
28857
|
},
|
|
28855
28858
|
function(a) {
|
|
28856
28859
|
if (!Ah(a) && (Hs(e), a && a.response)) {
|
|
@@ -28864,7 +28867,7 @@ function zs(e) {
|
|
|
28864
28867
|
} finally {
|
|
28865
28868
|
delete e.response;
|
|
28866
28869
|
}
|
|
28867
|
-
a.response.headers =
|
|
28870
|
+
a.response.headers = xn.from(a.response.headers);
|
|
28868
28871
|
}
|
|
28869
28872
|
return Promise.reject(a);
|
|
28870
28873
|
}
|
|
@@ -28921,7 +28924,7 @@ function AB(e, n, t) {
|
|
|
28921
28924
|
const Xl = {
|
|
28922
28925
|
assertOptions: AB,
|
|
28923
28926
|
validators: is
|
|
28924
|
-
},
|
|
28927
|
+
}, Sn = Xl.validators;
|
|
28925
28928
|
let ro = class {
|
|
28926
28929
|
constructor(n) {
|
|
28927
28930
|
this.defaults = n || {}, this.interceptors = {
|
|
@@ -28973,12 +28976,12 @@ let ro = class {
|
|
|
28973
28976
|
a !== void 0 && Xl.assertOptions(
|
|
28974
28977
|
a,
|
|
28975
28978
|
{
|
|
28976
|
-
silentJSONParsing:
|
|
28977
|
-
forcedJSONParsing:
|
|
28978
|
-
clarifyTimeoutError:
|
|
28979
|
-
legacyInterceptorReqResOrdering:
|
|
28980
|
-
advertiseZstdAcceptEncoding:
|
|
28981
|
-
validateStatusUndefinedResolves:
|
|
28979
|
+
silentJSONParsing: Sn.transitional(Sn.boolean),
|
|
28980
|
+
forcedJSONParsing: Sn.transitional(Sn.boolean),
|
|
28981
|
+
clarifyTimeoutError: Sn.transitional(Sn.boolean),
|
|
28982
|
+
legacyInterceptorReqResOrdering: Sn.transitional(Sn.boolean),
|
|
28983
|
+
advertiseZstdAcceptEncoding: Sn.transitional(Sn.boolean),
|
|
28984
|
+
validateStatusUndefinedResolves: Sn.transitional(Sn.boolean)
|
|
28982
28985
|
},
|
|
28983
28986
|
!1
|
|
28984
28987
|
), o != null && (de.isFunction(o) ? t.paramsSerializer = {
|
|
@@ -28986,22 +28989,22 @@ let ro = class {
|
|
|
28986
28989
|
} : Xl.assertOptions(
|
|
28987
28990
|
o,
|
|
28988
28991
|
{
|
|
28989
|
-
encode:
|
|
28990
|
-
serialize:
|
|
28992
|
+
encode: Sn.function,
|
|
28993
|
+
serialize: Sn.function
|
|
28991
28994
|
},
|
|
28992
28995
|
!0
|
|
28993
28996
|
)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), Xl.assertOptions(
|
|
28994
28997
|
t,
|
|
28995
28998
|
{
|
|
28996
|
-
baseUrl:
|
|
28997
|
-
withXsrfToken:
|
|
28999
|
+
baseUrl: Sn.spelling("baseURL"),
|
|
29000
|
+
withXsrfToken: Sn.spelling("withXSRFToken")
|
|
28998
29001
|
},
|
|
28999
29002
|
!0
|
|
29000
29003
|
), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
|
29001
29004
|
let l = i && de.merge(i.common, i[t.method]);
|
|
29002
29005
|
i && de.forEach(["delete", "get", "head", "post", "put", "patch", "query", "common"], (h) => {
|
|
29003
29006
|
delete i[h];
|
|
29004
|
-
}), t.headers =
|
|
29007
|
+
}), t.headers = xn.concat(l, i);
|
|
29005
29008
|
const r = [];
|
|
29006
29009
|
let c = !0;
|
|
29007
29010
|
this.interceptors.request.forEach(function(g) {
|
|
@@ -29265,7 +29268,7 @@ ln.all = function(n) {
|
|
|
29265
29268
|
ln.spread = DB;
|
|
29266
29269
|
ln.isAxiosError = LB;
|
|
29267
29270
|
ln.mergeConfig = mo;
|
|
29268
|
-
ln.AxiosHeaders =
|
|
29271
|
+
ln.AxiosHeaders = xn;
|
|
29269
29272
|
ln.formToJSON = (e) => Oh(de.isHTMLForm(e) ? new FormData(e) : e);
|
|
29270
29273
|
ln.getAdapter = $h.getAdapter;
|
|
29271
29274
|
ln.HttpStatusCode = ku;
|
|
@@ -62957,7 +62960,7 @@ zi.install = (e) => {
|
|
|
62957
62960
|
const n = new QU(e);
|
|
62958
62961
|
e.provide(KU, n), e.provide("FDrawerService", n);
|
|
62959
62962
|
};
|
|
62960
|
-
var
|
|
62963
|
+
var bn = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Textbox = "Textbox", e.Numberbox = "Numberbox", e.Combolist = "Combolist", e.Select = "Select", e.Checkbox = "Checkbox", e.Switch = "Switch", e.Tags = "Tags", e.SortEditor = "SortEditor", e.FilterEditor = "FilterEditor", e.DataEditor = "DataEditor", e.MenuIdSelector = "MenuIdSelector", e.AppIdSelector = "AppIdSelector", e.ComboLookup = "ComboLookup", e.ConfigurationParameterEditor = "ConfigurationParameterEditor", e.FieldMappingEditor = "FieldMappingEditor", e.Custom = "Custom", e))(bn || {});
|
|
62961
62964
|
const $n = ft({}), XU = {
|
|
62962
62965
|
/** 编辑器类型 */
|
|
62963
62966
|
data: { type: Object, default: [] },
|
|
@@ -63039,7 +63042,7 @@ function ZU(e) {
|
|
|
63039
63042
|
return { createEditorProps: t, onValueChange: a };
|
|
63040
63043
|
}
|
|
63041
63044
|
function py(e) {
|
|
63042
|
-
const n = V(() => e.editor.type ===
|
|
63045
|
+
const n = V(() => e.editor.type === bn.Default || e.editorType === bn.Default);
|
|
63043
63046
|
function t() {
|
|
63044
63047
|
var o;
|
|
63045
63048
|
$n[((o = e.editor) == null ? void 0 : o.type) || e.editorType] = {
|
|
@@ -63052,7 +63055,7 @@ function py(e) {
|
|
|
63052
63055
|
return { createEditorProps: t, shouldRenderAppendButton: n, onValueChange: a };
|
|
63053
63056
|
}
|
|
63054
63057
|
function e5(e) {
|
|
63055
|
-
const n = V(() => e.editor.type ===
|
|
63058
|
+
const n = V(() => e.editor.type === bn.Default || e.editorType === bn.Default);
|
|
63056
63059
|
function t(l, r) {
|
|
63057
63060
|
var c;
|
|
63058
63061
|
for (const d of l)
|
|
@@ -63286,7 +63289,7 @@ function l5(e) {
|
|
|
63286
63289
|
const n = w(((h = e.editor) == null ? void 0 : h.type) || e.editorType), t = JU(e), a = ZU(e), o = py(e), i = e5(e), l = t5(e), r = n5(e), c = a5(e), d = o5(e), f = i5(e);
|
|
63287
63290
|
function u() {
|
|
63288
63291
|
const g = n.value;
|
|
63289
|
-
return g ===
|
|
63292
|
+
return g === bn.Combolist || g === bn.Select ? t.createEditorProps() : g === bn.Checkbox || (g === bn.MenuIdSelector ? l.createEditorProps() : g === bn.ConfigurationParameterEditor ? r.createEditorProps() : g === bn.SortEditor ? c.createEditorProps() : g === bn.FilterEditor ? d.createEditorProps() : g === bn.AppIdSelector || (g === bn.ComboLookup ? i.createEditorProps() : g === bn.Numberbox || (g === bn.Switch ? a.createEditorProps() : g === bn.Custom ? f.createEditorProps() : o.createEditorProps()))), $n[n.value];
|
|
63290
63293
|
}
|
|
63291
63294
|
function p() {
|
|
63292
63295
|
return "input-group";
|