@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
|
@@ -17703,7 +17703,7 @@ const yP = /* @__PURE__ */ fe({
|
|
|
17703
17703
|
}), Nt(() => {
|
|
17704
17704
|
Jt !== null && cancelAnimationFrame(Jt);
|
|
17705
17705
|
});
|
|
17706
|
-
function
|
|
17706
|
+
function yn(oe) {
|
|
17707
17707
|
B.collapseTo(oe), B.reOrderVisibleIndex(), kt();
|
|
17708
17708
|
}
|
|
17709
17709
|
function la(oe) {
|
|
@@ -17969,7 +17969,7 @@ const yP = /* @__PURE__ */ fe({
|
|
|
17969
17969
|
addNewDataItem: El,
|
|
17970
17970
|
addNewChildDataItem: di,
|
|
17971
17971
|
addChildrenToNode: fi,
|
|
17972
|
-
collapseTo:
|
|
17972
|
+
collapseTo: yn,
|
|
17973
17973
|
expandTo: la,
|
|
17974
17974
|
removeDataItem: ja,
|
|
17975
17975
|
editDataItem: Ha,
|
|
@@ -18497,8 +18497,8 @@ var bP = { exports: {} };
|
|
|
18497
18497
|
function Ht() {
|
|
18498
18498
|
var qt = pe.getBoundingClientRect();
|
|
18499
18499
|
if (pt) {
|
|
18500
|
-
var Jt = Ge - qt.top, Kt = Me - qt.left, Ut = qt.bottom - Ge,
|
|
18501
|
-
return J ? Wn =
|
|
18500
|
+
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;
|
|
18501
|
+
return J ? Wn = yn < Kt : Wn = Ut === la || yn === la || Kt === la, tn(Wn);
|
|
18502
18502
|
}
|
|
18503
18503
|
return tn(nt ? Me > qt.left + C(qt) / 2 : Ge > qt.top + x(qt) / 2);
|
|
18504
18504
|
}
|
|
@@ -22271,19 +22271,22 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22271
22271
|
renderGroupPanel: Jt
|
|
22272
22272
|
} = Yb(i, P, Oe, F, mt);
|
|
22273
22273
|
let Kt = null, Ut = null;
|
|
22274
|
-
function
|
|
22274
|
+
function yn() {
|
|
22275
22275
|
k.value && (Ut !== null && cancelAnimationFrame(Ut), Ut = requestAnimationFrame(() => {
|
|
22276
22276
|
Ut = null;
|
|
22277
22277
|
const oe = x.value;
|
|
22278
|
-
oe.length &&
|
|
22278
|
+
oe.length && Re.recalculateRowHeights(oe) && (x.value = [...oe]);
|
|
22279
22279
|
}));
|
|
22280
22280
|
}
|
|
22281
|
+
X(() => x.value.length, () => {
|
|
22282
|
+
yn();
|
|
22283
|
+
});
|
|
22281
22284
|
function la() {
|
|
22282
22285
|
var ge;
|
|
22283
22286
|
if (!y.value)
|
|
22284
22287
|
return;
|
|
22285
22288
|
const oe = Math.ceil(y.value.clientHeight / f.value);
|
|
22286
|
-
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(),
|
|
22289
|
+
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();
|
|
22287
22290
|
}
|
|
22288
22291
|
function Wn() {
|
|
22289
22292
|
Kt !== null && cancelAnimationFrame(Kt), Kt = requestAnimationFrame(() => {
|
|
@@ -22291,7 +22294,7 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22291
22294
|
});
|
|
22292
22295
|
}
|
|
22293
22296
|
Ne(() => {
|
|
22294
|
-
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(),
|
|
22297
|
+
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(() => {
|
|
22295
22298
|
y.value && (Se.value = y.value.clientWidth), v.value && (ht.value = v.value.clientWidth, _e.value = v.value.clientHeight);
|
|
22296
22299
|
})), E.value && O();
|
|
22297
22300
|
}), Nt(() => {
|
|
@@ -22359,7 +22362,7 @@ const rh = /* @__PURE__ */ fe({
|
|
|
22359
22362
|
savedOffsetY: Qe,
|
|
22360
22363
|
resetScroll: Le,
|
|
22361
22364
|
scrollTo: mt.scrollTo
|
|
22362
|
-
}), x.value.length || (U.value = []), Et.value && L.value && W();
|
|
22365
|
+
}), yn(), x.value.length || (U.value = []), Et.value && L.value && W();
|
|
22363
22366
|
}
|
|
22364
22367
|
}
|
|
22365
22368
|
X(P.shouldGroupingData, (oe, ge) => {
|
|
@@ -24387,7 +24390,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24387
24390
|
}), X(() => e.enablePeriod, (ce, Pe) => {
|
|
24388
24391
|
ce !== Pe && (f.value = ce);
|
|
24389
24392
|
});
|
|
24390
|
-
const
|
|
24393
|
+
const yn = V(() => (ce) => ce ? u.value !== "week" && !y.value && !b.value && !C.value : !g.value && !v.value && !C.value);
|
|
24391
24394
|
function la() {
|
|
24392
24395
|
return f.value && u.value !== "week" ? 575 : e.showTime && u.value !== "week" && e.inlineDateTime ? 487 : 287;
|
|
24393
24396
|
}
|
|
@@ -24421,7 +24424,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24421
24424
|
displayTextOfMonth: m.value[Be.value.month || "1"],
|
|
24422
24425
|
displayTextOfYear: `${ke}`
|
|
24423
24426
|
};
|
|
24424
|
-
Be.value = $e, (g.value ||
|
|
24427
|
+
Be.value = $e, (g.value || yn.value(!1)) && ($.value = {
|
|
24425
24428
|
...$.value,
|
|
24426
24429
|
year: $e.year,
|
|
24427
24430
|
month: $e.month
|
|
@@ -24494,7 +24497,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24494
24497
|
displayTextOfMonth: m.value[Be.value.month || "1"],
|
|
24495
24498
|
displayTextOfYear: `${ke}`
|
|
24496
24499
|
};
|
|
24497
|
-
Be.value = $e, (g.value ||
|
|
24500
|
+
Be.value = $e, (g.value || yn.value(!1)) && ($.value = {
|
|
24498
24501
|
...$.value,
|
|
24499
24502
|
year: $e.year,
|
|
24500
24503
|
month: $e.month
|
|
@@ -24623,11 +24626,11 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24623
24626
|
}
|
|
24624
24627
|
const {
|
|
24625
24628
|
year: vn,
|
|
24626
|
-
month:
|
|
24629
|
+
month: wn
|
|
24627
24630
|
} = Ct;
|
|
24628
24631
|
$.value = {
|
|
24629
24632
|
year: vn,
|
|
24630
|
-
month:
|
|
24633
|
+
month: wn
|
|
24631
24634
|
};
|
|
24632
24635
|
}
|
|
24633
24636
|
function vi(ce) {
|
|
@@ -24723,9 +24726,9 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24723
24726
|
year: ce.year,
|
|
24724
24727
|
month: ce.month
|
|
24725
24728
|
}, Pe)) {
|
|
24726
|
-
const
|
|
24729
|
+
const wn = ve.value.from;
|
|
24727
24730
|
ve.value.to = {
|
|
24728
|
-
...
|
|
24731
|
+
...wn
|
|
24729
24732
|
}, ve.value.from = {
|
|
24730
24733
|
year: ce.year,
|
|
24731
24734
|
month: ce.month
|
|
@@ -24856,24 +24859,24 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
24856
24859
|
...Pe
|
|
24857
24860
|
};
|
|
24858
24861
|
if (ke || $e) {
|
|
24859
|
-
const
|
|
24862
|
+
const wn = /* @__PURE__ */ new Date();
|
|
24860
24863
|
ke && (Ct = {
|
|
24861
|
-
year:
|
|
24862
|
-
month:
|
|
24863
|
-
day:
|
|
24864
|
+
year: wn.getFullYear(),
|
|
24865
|
+
month: wn.getMonth() + 1,
|
|
24866
|
+
day: wn.getDate()
|
|
24864
24867
|
}), vn = {
|
|
24865
24868
|
...Ct
|
|
24866
24869
|
};
|
|
24867
24870
|
}
|
|
24868
24871
|
if (e.showTime) {
|
|
24869
24872
|
const {
|
|
24870
|
-
hour:
|
|
24873
|
+
hour: wn,
|
|
24871
24874
|
minute: Qn,
|
|
24872
24875
|
second: Eo
|
|
24873
24876
|
} = ie(a.value, !0);
|
|
24874
24877
|
Ct = {
|
|
24875
24878
|
...Ct,
|
|
24876
|
-
hour:
|
|
24879
|
+
hour: wn,
|
|
24877
24880
|
minute: Qn,
|
|
24878
24881
|
second: Eo
|
|
24879
24882
|
};
|
|
@@ -25025,8 +25028,8 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25025
25028
|
u.value === "month" ? (g.value = !0, v.value = !1) : u.value === "year" && (v.value = !0, g.value = !1);
|
|
25026
25029
|
});
|
|
25027
25030
|
const Io = (ce, Pe = !1) => {
|
|
25028
|
-
const $e = h.value.split(" ")[1] || "HH:mm:ss", Ct = Iw(ce.text, $e), vn = (Ct == null ? void 0 : Ct.getHours()) || 0,
|
|
25029
|
-
Pe ? (i.value = ce.text, f.value && ve.value && (ve.value.to.hour = vn, ve.value.to.minute =
|
|
25031
|
+
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;
|
|
25032
|
+
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));
|
|
25030
25033
|
};
|
|
25031
25034
|
function Ca(ce) {
|
|
25032
25035
|
return s(Id, {
|
|
@@ -25140,15 +25143,15 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25140
25143
|
}, Ct && (ce.hour = 0, ce.minute = 0, ce.second = 0, Pe.hour = 23, Pe.minute = 59, Pe.second = 59), Re(ve.value, ce);
|
|
25141
25144
|
const {
|
|
25142
25145
|
from: vn,
|
|
25143
|
-
to:
|
|
25146
|
+
to: wn,
|
|
25144
25147
|
emit: Qn
|
|
25145
25148
|
} = Re(ve.value, Pe);
|
|
25146
25149
|
ve.value = {
|
|
25147
25150
|
from: vn,
|
|
25148
|
-
to:
|
|
25151
|
+
to: wn
|
|
25149
25152
|
}, Qn && n.emit("datePicked", {
|
|
25150
25153
|
startDate: vn,
|
|
25151
|
-
endDate:
|
|
25154
|
+
endDate: wn
|
|
25152
25155
|
});
|
|
25153
25156
|
}
|
|
25154
25157
|
const De = e.locales.buttons.current, Qe = V(() => C.value ? e.locales.buttons.selectDate : e.locales.buttons.selectTime);
|
|
@@ -25211,7 +25214,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25211
25214
|
}, [s("div", {
|
|
25212
25215
|
class: "f-datepicker-content",
|
|
25213
25216
|
style: "width:287px"
|
|
25214
|
-
}, [Ua(Wa.value, !1),
|
|
25217
|
+
}, [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", {
|
|
25215
25218
|
class: "f-datepicker-content position-relative datepicker-content-has-timer",
|
|
25216
25219
|
style: "width:200px"
|
|
25217
25220
|
}, [s("div", {
|
|
@@ -25232,10 +25235,10 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25232
25235
|
}, null)]), e.showTime && !f.value && !e.inlineDateTime && C.value && Ca(!1), Po.value && u.value !== "week" && s("div", {
|
|
25233
25236
|
class: "f-datepicker-content f-datepicker-secondary",
|
|
25234
25237
|
style: "width:287px"
|
|
25235
|
-
}, [Ua(qa.value, !0),
|
|
25238
|
+
}, [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", {
|
|
25236
25239
|
class: "f-datepicker-commitBtn-wrapper",
|
|
25237
25240
|
style: "justify-content: end;"
|
|
25238
|
-
}, [!f.value &&
|
|
25241
|
+
}, [!f.value && yn.value(!1) && s("button", se(ye(e.id, "today"), {
|
|
25239
25242
|
class: "btn btn-link f-datepicker-select-btn",
|
|
25240
25243
|
style: Ya.value(Y()),
|
|
25241
25244
|
onClick: Fo
|
|
@@ -25263,7 +25266,7 @@ const Sr = /* @__PURE__ */ fe({
|
|
|
25263
25266
|
})]), !f.value && !Ga.value && s("div", {
|
|
25264
25267
|
class: "f-datepicker-commitBtn-wrapper",
|
|
25265
25268
|
style: "justify-content: center;"
|
|
25266
|
-
}, [
|
|
25269
|
+
}, [yn.value(!1) && s("button", se(ye(e.id, "today"), {
|
|
25267
25270
|
class: "btn btn-link",
|
|
25268
25271
|
style: Ya.value(Y()),
|
|
25269
25272
|
onClick: Fo
|
|
@@ -27271,7 +27274,7 @@ function IE(e, n) {
|
|
|
27271
27274
|
});
|
|
27272
27275
|
});
|
|
27273
27276
|
}
|
|
27274
|
-
let
|
|
27277
|
+
let xn = class {
|
|
27275
27278
|
constructor(n) {
|
|
27276
27279
|
n && this.set(n);
|
|
27277
27280
|
}
|
|
@@ -27401,7 +27404,7 @@ let Sn = class {
|
|
|
27401
27404
|
return de.isArray(n) ? n.forEach(i) : i(n), this;
|
|
27402
27405
|
}
|
|
27403
27406
|
};
|
|
27404
|
-
|
|
27407
|
+
xn.accessor([
|
|
27405
27408
|
"Content-Type",
|
|
27406
27409
|
"Content-Length",
|
|
27407
27410
|
"Accept",
|
|
@@ -27409,7 +27412,7 @@ Sn.accessor([
|
|
|
27409
27412
|
"User-Agent",
|
|
27410
27413
|
"Authorization"
|
|
27411
27414
|
]);
|
|
27412
|
-
de.reduceDescriptors(
|
|
27415
|
+
de.reduceDescriptors(xn.prototype, ({ value: e }, n) => {
|
|
27413
27416
|
let t = n[0].toUpperCase() + n.slice(1);
|
|
27414
27417
|
return {
|
|
27415
27418
|
get: () => e,
|
|
@@ -27418,7 +27421,7 @@ de.reduceDescriptors(Sn.prototype, ({ value: e }, n) => {
|
|
|
27418
27421
|
}
|
|
27419
27422
|
};
|
|
27420
27423
|
});
|
|
27421
|
-
de.freezeMethods(
|
|
27424
|
+
de.freezeMethods(xn);
|
|
27422
27425
|
const Tr = "[REDACTED ****]";
|
|
27423
27426
|
function EE(e) {
|
|
27424
27427
|
if (de.hasOwnProp(e, "toJSON"))
|
|
@@ -27435,7 +27438,7 @@ function BE(e, n) {
|
|
|
27435
27438
|
const t = new Set(n.map((i) => String(i).toLowerCase())), a = [], o = (i) => {
|
|
27436
27439
|
if (i === null || typeof i != "object" || de.isBuffer(i)) return i;
|
|
27437
27440
|
if (a.indexOf(i) !== -1) return;
|
|
27438
|
-
i instanceof
|
|
27441
|
+
i instanceof xn && (i = i.toJSON()), a.push(i);
|
|
27439
27442
|
let l;
|
|
27440
27443
|
if (de.isArray(i))
|
|
27441
27444
|
l = [], i.forEach((r, c) => {
|
|
@@ -27768,14 +27771,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", WE
|
|
|
27768
27771
|
hasStandardBrowserWebWorkerEnv: zE,
|
|
27769
27772
|
navigator: Tu,
|
|
27770
27773
|
origin: WE
|
|
27771
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
27774
|
+
}, Symbol.toStringTag, { value: "Module" })), Cn = {
|
|
27772
27775
|
...qE,
|
|
27773
27776
|
...jE
|
|
27774
27777
|
};
|
|
27775
27778
|
function UE(e, n) {
|
|
27776
|
-
return os(e, new
|
|
27779
|
+
return os(e, new Cn.classes.URLSearchParams(), {
|
|
27777
27780
|
visitor: function(t, a, o, i) {
|
|
27778
|
-
return
|
|
27781
|
+
return Cn.isNode && de.isBuffer(t) ? (this.append(a, t.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
27779
27782
|
},
|
|
27780
27783
|
...n
|
|
27781
27784
|
});
|
|
@@ -27889,8 +27892,8 @@ const wl = {
|
|
|
27889
27892
|
maxContentLength: -1,
|
|
27890
27893
|
maxBodyLength: -1,
|
|
27891
27894
|
env: {
|
|
27892
|
-
FormData:
|
|
27893
|
-
Blob:
|
|
27895
|
+
FormData: Cn.classes.FormData,
|
|
27896
|
+
Blob: Cn.classes.Blob
|
|
27894
27897
|
},
|
|
27895
27898
|
validateStatus: function(n) {
|
|
27896
27899
|
return n >= 200 && n < 300;
|
|
@@ -27906,7 +27909,7 @@ de.forEach(["delete", "get", "head", "post", "put", "patch", "query"], (e) => {
|
|
|
27906
27909
|
wl.headers[e] = {};
|
|
27907
27910
|
});
|
|
27908
27911
|
function js(e, n) {
|
|
27909
|
-
const t = this || wl, a = n || t, o =
|
|
27912
|
+
const t = this || wl, a = n || t, o = xn.from(a.headers);
|
|
27910
27913
|
let i = a.data;
|
|
27911
27914
|
return de.forEach(e, function(r) {
|
|
27912
27915
|
i = r.call(t, i, o.normalize(), n ? n.status : void 0);
|
|
@@ -28002,10 +28005,10 @@ const kr = (e, n, t = 3) => {
|
|
|
28002
28005
|
}),
|
|
28003
28006
|
n[1]
|
|
28004
28007
|
];
|
|
28005
|
-
}, lf = (e, n = de.asap) => (...t) => n(() => e(...t)), JE =
|
|
28006
|
-
new URL(
|
|
28007
|
-
|
|
28008
|
-
) : () => !0, ZE =
|
|
28008
|
+
}, lf = (e, n = de.asap) => (...t) => n(() => e(...t)), JE = 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)))(
|
|
28009
|
+
new URL(Cn.origin),
|
|
28010
|
+
Cn.navigator && /(msie|trident)/i.test(Cn.navigator.userAgent)
|
|
28011
|
+
) : () => !0, ZE = Cn.hasStandardBrowserEnv ? (
|
|
28009
28012
|
// Standard browser envs support document.cookie
|
|
28010
28013
|
{
|
|
28011
28014
|
write(e, n, t, a, o, i, l) {
|
|
@@ -28090,7 +28093,7 @@ function Dh(e, n, t, a) {
|
|
|
28090
28093
|
let o = !eB(n);
|
|
28091
28094
|
return e && (o || t === !1) ? (rf(e, a), tB(e, n)) : n;
|
|
28092
28095
|
}
|
|
28093
|
-
const sf = (e) => e instanceof
|
|
28096
|
+
const sf = (e) => e instanceof xn ? { ...e } : e, sB = (e) => Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor ? Object.keys(e).concat(
|
|
28094
28097
|
Object.getOwnPropertySymbols(e).filter(
|
|
28095
28098
|
(n) => Object.getOwnPropertyDescriptor(e, n).enumerable
|
|
28096
28099
|
)
|
|
@@ -28202,7 +28205,7 @@ function Lh(e) {
|
|
|
28202
28205
|
const i = t("xsrfHeaderName"), l = t("xsrfCookieName");
|
|
28203
28206
|
let r = t("headers");
|
|
28204
28207
|
const c = t("auth"), d = t("baseURL"), f = t("allowAbsoluteUrls"), u = t("url");
|
|
28205
|
-
if (n.headers = r =
|
|
28208
|
+
if (n.headers = r = xn.from(r), n.url = Eh(
|
|
28206
28209
|
Dh(d, u, f, n),
|
|
28207
28210
|
t("params"),
|
|
28208
28211
|
t("paramsSerializer")
|
|
@@ -28217,7 +28220,7 @@ function Lh(e) {
|
|
|
28217
28220
|
throw Ke.from(h, Ke.ERR_BAD_OPTION_VALUE, e);
|
|
28218
28221
|
}
|
|
28219
28222
|
}
|
|
28220
|
-
if (de.isFormData(a) && (
|
|
28223
|
+
if (de.isFormData(a) && (Cn.hasStandardBrowserEnv || Cn.hasStandardBrowserWebWorkerEnv || de.isReactNative(a) ? r.setContentType(void 0) : de.isFunction(a.getHeaders) && cB(r, a.getHeaders(), t("formDataHeaderPolicy"))), Cn.hasStandardBrowserEnv && (de.isFunction(o) && (o = o(n)), o === !0 || o == null && JE(n.url))) {
|
|
28221
28224
|
const m = i && l && ZE.read(l);
|
|
28222
28225
|
m && r.set(i, m);
|
|
28223
28226
|
}
|
|
@@ -28227,7 +28230,7 @@ const fB = typeof XMLHttpRequest < "u", pB = fB && function(e) {
|
|
|
28227
28230
|
return new Promise(function(t, a) {
|
|
28228
28231
|
const o = Lh(e);
|
|
28229
28232
|
let i = o.data;
|
|
28230
|
-
const l =
|
|
28233
|
+
const l = xn.from(o.headers).normalize();
|
|
28231
28234
|
let { responseType: r, onUploadProgress: c, onDownloadProgress: d } = o, f, u, p, m, h;
|
|
28232
28235
|
function g() {
|
|
28233
28236
|
m && m(), h && h(), o.cancelToken && o.cancelToken.unsubscribe(f), o.signal && o.signal.removeEventListener("abort", f);
|
|
@@ -28237,7 +28240,7 @@ const fB = typeof XMLHttpRequest < "u", pB = fB && function(e) {
|
|
|
28237
28240
|
function v() {
|
|
28238
28241
|
if (!y)
|
|
28239
28242
|
return;
|
|
28240
|
-
const C =
|
|
28243
|
+
const C = xn.from(
|
|
28241
28244
|
"getAllResponseHeaders" in y && y.getAllResponseHeaders()
|
|
28242
28245
|
), S = {
|
|
28243
28246
|
data: !r || r === "text" || r === "json" ? y.responseText : y.response,
|
|
@@ -28281,7 +28284,7 @@ const fB = typeof XMLHttpRequest < "u", pB = fB && function(e) {
|
|
|
28281
28284
|
y && (a(!C || C.type ? new Sl(null, e, y) : C), y.abort(), g(), y = null);
|
|
28282
28285
|
}, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
|
|
28283
28286
|
const b = QE(o.url);
|
|
28284
|
-
if (b && !
|
|
28287
|
+
if (b && !Cn.protocols.includes(b)) {
|
|
28285
28288
|
a(
|
|
28286
28289
|
new Ke(
|
|
28287
28290
|
"Unsupported protocol " + b + ":",
|
|
@@ -28486,7 +28489,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, kB = (e) => encode
|
|
|
28486
28489
|
return !1;
|
|
28487
28490
|
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(() => {
|
|
28488
28491
|
let v = !1;
|
|
28489
|
-
const b = new i(
|
|
28492
|
+
const b = new i(Cn.origin, {
|
|
28490
28493
|
body: new t(),
|
|
28491
28494
|
method: "POST",
|
|
28492
28495
|
get duplex() {
|
|
@@ -28515,7 +28518,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, kB = (e) => encode
|
|
|
28515
28518
|
if (de.isBlob(v))
|
|
28516
28519
|
return v.size;
|
|
28517
28520
|
if (de.isSpecCompliantForm(v))
|
|
28518
|
-
return (await new i(
|
|
28521
|
+
return (await new i(Cn.origin, {
|
|
28519
28522
|
method: "POST",
|
|
28520
28523
|
body: v
|
|
28521
28524
|
}).arrayBuffer()).byteLength;
|
|
@@ -28572,7 +28575,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, kB = (e) => encode
|
|
|
28572
28575
|
};
|
|
28573
28576
|
}
|
|
28574
28577
|
if (FB(b)) {
|
|
28575
|
-
const re = new URL(b,
|
|
28578
|
+
const re = new URL(b, Cn.origin);
|
|
28576
28579
|
if (!J && (re.username || re.password)) {
|
|
28577
28580
|
const Ce = pf(re.username), Ie = pf(re.password);
|
|
28578
28581
|
J = {
|
|
@@ -28649,7 +28652,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, kB = (e) => encode
|
|
|
28649
28652
|
};
|
|
28650
28653
|
W = c && new i(b, z);
|
|
28651
28654
|
let Y = await (c ? j(W, B) : j(b, z));
|
|
28652
|
-
const ee =
|
|
28655
|
+
const ee = xn.from(Y.headers);
|
|
28653
28656
|
if (D) {
|
|
28654
28657
|
const re = de.toFiniteNumber(ee.getContentLength());
|
|
28655
28658
|
if (re != null && re > P)
|
|
@@ -28706,7 +28709,7 @@ const Nc = "1.19.0", ff = 64 * 1024, { isFunction: Hl } = de, kB = (e) => encode
|
|
|
28706
28709
|
return !ie && $ && $(), await new Promise((re, Ce) => {
|
|
28707
28710
|
Vh(re, Ce, {
|
|
28708
28711
|
data: Fe,
|
|
28709
|
-
headers:
|
|
28712
|
+
headers: xn.from(Y.headers),
|
|
28710
28713
|
status: Y.status,
|
|
28711
28714
|
statusText: Y.statusText,
|
|
28712
28715
|
config: v,
|
|
@@ -28818,7 +28821,7 @@ function Hs(e) {
|
|
|
28818
28821
|
throw new Sl(null, e);
|
|
28819
28822
|
}
|
|
28820
28823
|
function zs(e) {
|
|
28821
|
-
return Hs(e), e.headers =
|
|
28824
|
+
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(
|
|
28822
28825
|
function(a) {
|
|
28823
28826
|
Hs(e), e.response = a;
|
|
28824
28827
|
try {
|
|
@@ -28826,7 +28829,7 @@ function zs(e) {
|
|
|
28826
28829
|
} finally {
|
|
28827
28830
|
delete e.response;
|
|
28828
28831
|
}
|
|
28829
|
-
return a.headers =
|
|
28832
|
+
return a.headers = xn.from(a.headers), a;
|
|
28830
28833
|
},
|
|
28831
28834
|
function(a) {
|
|
28832
28835
|
if (!Ah(a) && (Hs(e), a && a.response)) {
|
|
@@ -28840,7 +28843,7 @@ function zs(e) {
|
|
|
28840
28843
|
} finally {
|
|
28841
28844
|
delete e.response;
|
|
28842
28845
|
}
|
|
28843
|
-
a.response.headers =
|
|
28846
|
+
a.response.headers = xn.from(a.response.headers);
|
|
28844
28847
|
}
|
|
28845
28848
|
return Promise.reject(a);
|
|
28846
28849
|
}
|
|
@@ -28897,7 +28900,7 @@ function BB(e, n, t) {
|
|
|
28897
28900
|
const Xl = {
|
|
28898
28901
|
assertOptions: BB,
|
|
28899
28902
|
validators: is
|
|
28900
|
-
},
|
|
28903
|
+
}, Sn = Xl.validators;
|
|
28901
28904
|
let ro = class {
|
|
28902
28905
|
constructor(n) {
|
|
28903
28906
|
this.defaults = n || {}, this.interceptors = {
|
|
@@ -28949,12 +28952,12 @@ let ro = class {
|
|
|
28949
28952
|
a !== void 0 && Xl.assertOptions(
|
|
28950
28953
|
a,
|
|
28951
28954
|
{
|
|
28952
|
-
silentJSONParsing:
|
|
28953
|
-
forcedJSONParsing:
|
|
28954
|
-
clarifyTimeoutError:
|
|
28955
|
-
legacyInterceptorReqResOrdering:
|
|
28956
|
-
advertiseZstdAcceptEncoding:
|
|
28957
|
-
validateStatusUndefinedResolves:
|
|
28955
|
+
silentJSONParsing: Sn.transitional(Sn.boolean),
|
|
28956
|
+
forcedJSONParsing: Sn.transitional(Sn.boolean),
|
|
28957
|
+
clarifyTimeoutError: Sn.transitional(Sn.boolean),
|
|
28958
|
+
legacyInterceptorReqResOrdering: Sn.transitional(Sn.boolean),
|
|
28959
|
+
advertiseZstdAcceptEncoding: Sn.transitional(Sn.boolean),
|
|
28960
|
+
validateStatusUndefinedResolves: Sn.transitional(Sn.boolean)
|
|
28958
28961
|
},
|
|
28959
28962
|
!1
|
|
28960
28963
|
), o != null && (de.isFunction(o) ? t.paramsSerializer = {
|
|
@@ -28962,22 +28965,22 @@ let ro = class {
|
|
|
28962
28965
|
} : Xl.assertOptions(
|
|
28963
28966
|
o,
|
|
28964
28967
|
{
|
|
28965
|
-
encode:
|
|
28966
|
-
serialize:
|
|
28968
|
+
encode: Sn.function,
|
|
28969
|
+
serialize: Sn.function
|
|
28967
28970
|
},
|
|
28968
28971
|
!0
|
|
28969
28972
|
)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : t.allowAbsoluteUrls = !0), Xl.assertOptions(
|
|
28970
28973
|
t,
|
|
28971
28974
|
{
|
|
28972
|
-
baseUrl:
|
|
28973
|
-
withXsrfToken:
|
|
28975
|
+
baseUrl: Sn.spelling("baseURL"),
|
|
28976
|
+
withXsrfToken: Sn.spelling("withXSRFToken")
|
|
28974
28977
|
},
|
|
28975
28978
|
!0
|
|
28976
28979
|
), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
|
28977
28980
|
let l = i && de.merge(i.common, i[t.method]);
|
|
28978
28981
|
i && de.forEach(["delete", "get", "head", "post", "put", "patch", "query", "common"], (h) => {
|
|
28979
28982
|
delete i[h];
|
|
28980
|
-
}), t.headers =
|
|
28983
|
+
}), t.headers = xn.concat(l, i);
|
|
28981
28984
|
const r = [];
|
|
28982
28985
|
let c = !0;
|
|
28983
28986
|
this.interceptors.request.forEach(function(g) {
|
|
@@ -29241,7 +29244,7 @@ ln.all = function(n) {
|
|
|
29241
29244
|
ln.spread = AB;
|
|
29242
29245
|
ln.isAxiosError = VB;
|
|
29243
29246
|
ln.mergeConfig = mo;
|
|
29244
|
-
ln.AxiosHeaders =
|
|
29247
|
+
ln.AxiosHeaders = xn;
|
|
29245
29248
|
ln.formToJSON = (e) => Oh(de.isHTMLForm(e) ? new FormData(e) : e);
|
|
29246
29249
|
ln.getAdapter = $h.getAdapter;
|
|
29247
29250
|
ln.HttpStatusCode = ku;
|
|
@@ -62933,7 +62936,7 @@ zi.install = (e) => {
|
|
|
62933
62936
|
const n = new GU(e);
|
|
62934
62937
|
e.provide(YU, n), e.provide("FDrawerService", n);
|
|
62935
62938
|
};
|
|
62936
|
-
var
|
|
62939
|
+
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 || {});
|
|
62937
62940
|
const $n = ft({}), QU = {
|
|
62938
62941
|
/** 编辑器类型 */
|
|
62939
62942
|
data: { type: Object, default: [] },
|
|
@@ -63015,7 +63018,7 @@ function XU(e) {
|
|
|
63015
63018
|
return { createEditorProps: t, onValueChange: a };
|
|
63016
63019
|
}
|
|
63017
63020
|
function py(e) {
|
|
63018
|
-
const n = V(() => e.editor.type ===
|
|
63021
|
+
const n = V(() => e.editor.type === bn.Default || e.editorType === bn.Default);
|
|
63019
63022
|
function t() {
|
|
63020
63023
|
var o;
|
|
63021
63024
|
$n[((o = e.editor) == null ? void 0 : o.type) || e.editorType] = {
|
|
@@ -63028,7 +63031,7 @@ function py(e) {
|
|
|
63028
63031
|
return { createEditorProps: t, shouldRenderAppendButton: n, onValueChange: a };
|
|
63029
63032
|
}
|
|
63030
63033
|
function JU(e) {
|
|
63031
|
-
const n = V(() => e.editor.type ===
|
|
63034
|
+
const n = V(() => e.editor.type === bn.Default || e.editorType === bn.Default);
|
|
63032
63035
|
function t(l, r) {
|
|
63033
63036
|
var c;
|
|
63034
63037
|
for (const d of l)
|
|
@@ -63262,7 +63265,7 @@ function o5(e) {
|
|
|
63262
63265
|
const n = w(((h = e.editor) == null ? void 0 : h.type) || e.editorType), t = KU(e), a = XU(e), o = py(e), i = JU(e), l = ZU(e), r = e5(e), c = t5(e), d = n5(e), f = a5(e);
|
|
63263
63266
|
function u() {
|
|
63264
63267
|
const g = n.value;
|
|
63265
|
-
return g ===
|
|
63268
|
+
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];
|
|
63266
63269
|
}
|
|
63267
63270
|
function p() {
|
|
63268
63271
|
return "input-group";
|