@ivandt/importer 1.13.3 → 1.14.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/dist/{bg.min-0H1viPry.js → bg.min-D8RbATdP.js} +1 -1
- package/dist/{bg.min-CD9Wgl2K.cjs → bg.min-MNHz7XTR.cjs} +1 -1
- package/dist/{cs-CZ.min-3Y5RohPE.js → cs-CZ.min-BTXgXJQn.js} +1 -1
- package/dist/{cs-CZ.min-CP5No2x5.cjs → cs-CZ.min-COBTZwLS.cjs} +1 -1
- package/dist/{da-DK.min-HHj_iXSu.cjs → da-DK.min-DUb7m5-m.cjs} +1 -1
- package/dist/{da-DK.min-CFxZv7QJ.js → da-DK.min-zg4ocmoo.js} +1 -1
- package/dist/{de-AT.min-C04CaO4W.cjs → de-AT.min-BWeJWd6d.cjs} +1 -1
- package/dist/{de-AT.min-BNjdeI1D.js → de-AT.min-Cam_lHRZ.js} +1 -1
- package/dist/{de-CH.min-YG19TXfj.cjs → de-CH.min-BDdwd5-W.cjs} +1 -1
- package/dist/{de-CH.min-D_O53Kd_.js → de-CH.min-BEe0h7cQ.js} +1 -1
- package/dist/{de-DE.min-DQ6ZrT5F.js → de-DE.min-BIdRJmhd.js} +1 -1
- package/dist/{de-DE.min-CpptD8I_.cjs → de-DE.min-D_r8Ff-I.cjs} +1 -1
- package/dist/{de-LI.min-BYCFS7gK.cjs → de-LI.min-DFI_Foz3.cjs} +1 -1
- package/dist/{de-LI.min-Ct3nVsQU.js → de-LI.min-Dw4MT5Gy.js} +1 -1
- package/dist/{el.min-DqaaG4oL.cjs → el.min-CoYrOq-y.cjs} +1 -1
- package/dist/{el.min-Bz18oanx.js → el.min-Dd92qbiZ.js} +1 -1
- package/dist/{en-AU.min-CXHUJa_5.cjs → en-AU.min-BdOY2YD5.cjs} +1 -1
- package/dist/{en-AU.min-TKnepBiz.js → en-AU.min-cpi9JDyK.js} +1 -1
- package/dist/{en-GB.min-B4kVYutt.js → en-GB.min-DwjQz0ej.js} +1 -1
- package/dist/{en-GB.min-Bg0b1Dyh.cjs → en-GB.min-Um03me5S.cjs} +1 -1
- package/dist/{en-IE.min-C67LMfXX.cjs → en-IE.min--ym1P0qx.cjs} +1 -1
- package/dist/{en-IE.min-DuiDDRH6.js → en-IE.min-CSvBhybh.js} +1 -1
- package/dist/{en-NZ.min-DNloWQjF.cjs → en-NZ.min-CfYhEJLB.cjs} +1 -1
- package/dist/{en-NZ.min-TFXRncxL.js → en-NZ.min-DuZsfNbU.js} +1 -1
- package/dist/{en-ZA.min-BFTPs9Ws.js → en-ZA.min-MvqeqzXK.js} +1 -1
- package/dist/{en-ZA.min-BhBZcHka.cjs → en-ZA.min-law9DOr1.cjs} +1 -1
- package/dist/{es-AR.min-CtxtfeUp.js → es-AR.min-Cc-sdCQn.js} +1 -1
- package/dist/{es-AR.min-qjmJhD1o.cjs → es-AR.min-DZYvXrb0.cjs} +1 -1
- package/dist/{es-CL.min-IzZL9Uvr.js → es-CL.min-CokVDFCX.js} +1 -1
- package/dist/{es-CL.min-mpugwRYS.cjs → es-CL.min-DVHFNvuj.cjs} +1 -1
- package/dist/{es-CO.min-dl4A9TTS.cjs → es-CO.min-B30GUBEQ.cjs} +1 -1
- package/dist/{es-CO.min-BmQNFpin.js → es-CO.min-yf6cwriR.js} +1 -1
- package/dist/{es-CR.min-D2clYuzT.cjs → es-CR.min-DYnejNbH.cjs} +1 -1
- package/dist/{es-CR.min-DoDWLJSp.js → es-CR.min-Xd7NzN5U.js} +1 -1
- package/dist/{es-ES.min-D9bdKqTa.cjs → es-ES.min-juvzFl-R.cjs} +1 -1
- package/dist/{es-ES.min-CwjKlK7I.js → es-ES.min-xKytlfsz.js} +1 -1
- package/dist/{es-MX.min-6tiq-jj8.js → es-MX.min-CKdGRIfr.js} +1 -1
- package/dist/{es-MX.min-CLa7023E.cjs → es-MX.min-S9tYAVgs.cjs} +1 -1
- package/dist/{es-NI.min-Y4Z26V5p.js → es-NI.min-CKBI8yQx.js} +1 -1
- package/dist/{es-NI.min-4N7ywjr9.cjs → es-NI.min-Ig-PzP6U.cjs} +1 -1
- package/dist/{es-PE.min-BoAfB8Kp.js → es-PE.min-oo9iBLSc.js} +1 -1
- package/dist/{es-PE.min-CzQ-72q1.cjs → es-PE.min-xCiaIBvC.cjs} +1 -1
- package/dist/{es-PR.min-KbHeQ2Nj.cjs → es-PR.min-BIG4DdvX.cjs} +1 -1
- package/dist/{es-PR.min-CfdyNZCy.js → es-PR.min-CqAdtC-E.js} +1 -1
- package/dist/{es-SV.min-Dv-ZaETI.js → es-SV.min-98OHTzwf.js} +1 -1
- package/dist/{es-SV.min-DMcZWGLW.cjs → es-SV.min-BMWmSlDU.cjs} +1 -1
- package/dist/{et-EE.min-BOiKLubO.js → et-EE.min-BoyA31lC.js} +1 -1
- package/dist/{et-EE.min-DjqJD-CK.cjs → et-EE.min-DRRWFCbG.cjs} +1 -1
- package/dist/{fa-IR.min-CqhPE_LU.js → fa-IR.min-C3c1TjL8.js} +1 -1
- package/dist/{fa-IR.min-DIbX7fOh.cjs → fa-IR.min-C6YB_hp_.cjs} +1 -1
- package/dist/{fi-FI.min-BgygbKLi.js → fi-FI.min-9hkxJv7b.js} +1 -1
- package/dist/{fi-FI.min-CfLg74zQ.cjs → fi-FI.min-D1aZ8dpo.cjs} +1 -1
- package/dist/{fil-PH.min-D3puwjaS.cjs → fil-PH.min-8VFJSavX.cjs} +1 -1
- package/dist/{fil-PH.min-BzUc9z3p.js → fil-PH.min-Cw4zFj1H.js} +1 -1
- package/dist/{fr-CA.min-DZtOAKuu.cjs → fr-CA.min-CBYrpxkR.cjs} +1 -1
- package/dist/{fr-CA.min-5apRhmMW.js → fr-CA.min-CXIKYt7X.js} +1 -1
- package/dist/{fr-CH.min-DZAO_9QV.js → fr-CH.min-BjKi-VVk.js} +1 -1
- package/dist/{fr-CH.min-aM2wynwx.cjs → fr-CH.min-CLYJ32My.cjs} +1 -1
- package/dist/{fr-FR.min-BpfqL5ip.cjs → fr-FR.min-DNzL_Rw-.cjs} +1 -1
- package/dist/{fr-FR.min-C24duGy5.js → fr-FR.min-DYaUupf4.js} +1 -1
- package/dist/{he-IL.min-D9KCfFjT.js → he-IL.min-CHmUxibL.js} +1 -1
- package/dist/{he-IL.min-CsYB1uwR.cjs → he-IL.min-_gR7086R.cjs} +1 -1
- package/dist/{hu-HU.min-BEyaSLyR.js → hu-HU.min-BALH7uVE.js} +1 -1
- package/dist/{hu-HU.min-CtwrLiCO.cjs → hu-HU.min-BpBo1_iR.cjs} +1 -1
- package/dist/{id.min-OzW8e3Zm.cjs → id.min-Dh6GOerE.cjs} +1 -1
- package/dist/{id.min-CWN8ftIH.js → id.min-ESVDw3w9.js} +1 -1
- package/dist/{importer-SKxZksEq.js → importer-B-AUMDYE.js} +282 -246
- package/dist/{importer-D6cNOWIb.cjs → importer-M9p6cfNb.cjs} +4 -4
- package/dist/importer.cjs.js +1 -1
- package/dist/importer.es.js +1 -1
- package/dist/{it-CH.min-BuXtDErJ.cjs → it-CH.min-DHlXvVjV.cjs} +1 -1
- package/dist/{it-CH.min-d5Y-yYxx.js → it-CH.min-DJ7y9gfp.js} +1 -1
- package/dist/{it-IT.min-B9b6AI_e.cjs → it-IT.min-AwfgRbmB.cjs} +1 -1
- package/dist/{it-IT.min-D1Mqqgq4.js → it-IT.min-B8oqtFGY.js} +1 -1
- package/dist/{ja-JP.min-cQj13FNf.cjs → ja-JP.min-BBFWOV3h.cjs} +1 -1
- package/dist/{ja-JP.min-Zcv2bs4Z.js → ja-JP.min-BCWGjrfe.js} +1 -1
- package/dist/{ko-KR.min-DU5cswpk.cjs → ko-KR.min-BbbtGDnj.cjs} +1 -1
- package/dist/{ko-KR.min-DDv8GSC1.js → ko-KR.min-L-1sKmcc.js} +1 -1
- package/dist/{lv-LV.min-TbTLRAAY.cjs → lv-LV.min-BFHjKYrS.cjs} +1 -1
- package/dist/{lv-LV.min-qIAq5iKG.js → lv-LV.min-CtiHuIPz.js} +1 -1
- package/dist/{nb-NO.min-BLr2m7Fo.cjs → nb-NO.min-DvcogT0T.cjs} +1 -1
- package/dist/{nb-NO.min-AFwkuYB8.js → nb-NO.min-Uvpw8Xxu.js} +1 -1
- package/dist/{nb.min-CIa30CK_.cjs → nb.min-Cv8AXnKU.cjs} +1 -1
- package/dist/{nb.min-BAKmU36S.js → nb.min-HIk3iltk.js} +1 -1
- package/dist/{nl-BE.min-B-sbt5M5.js → nl-BE.min-Bm466Zi3.js} +1 -1
- package/dist/{nl-BE.min-RFDXccSH.cjs → nl-BE.min-S3_gQTas.cjs} +1 -1
- package/dist/{nl-NL.min-BKd9ucKZ.cjs → nl-NL.min-BCQ-J3Vv.cjs} +1 -1
- package/dist/{nl-NL.min-ol7UJIOX.js → nl-NL.min-DvxJxYft.js} +1 -1
- package/dist/{nn.min-CZ8gCPYK.js → nn.min-ChcXfQ3C.js} +1 -1
- package/dist/{nn.min-C02-m5xC.cjs → nn.min-D-nQ6J52.cjs} +1 -1
- package/dist/{pl-PL.min-C076nl0N.js → pl-PL.min-Cbxl7aUQ.js} +1 -1
- package/dist/{pl-PL.min-BfN-9BVH.cjs → pl-PL.min-CfQtJIP4.cjs} +1 -1
- package/dist/{pt-BR.min-Bdbi7Inn.cjs → pt-BR.min-BcsKwbLb.cjs} +1 -1
- package/dist/{pt-BR.min-B24Z-vPK.js → pt-BR.min-CD1ODKQS.js} +1 -1
- package/dist/{pt-PT.min-B9rdeZko.js → pt-PT.min-BJ8kB1eg.js} +1 -1
- package/dist/{pt-PT.min-1uWzRtMs.cjs → pt-PT.min-CjkiLKm4.cjs} +1 -1
- package/dist/{ro-RO.min-D1Qf5owK.js → ro-RO.min-BRqL6KSR.js} +1 -1
- package/dist/{ro-RO.min-BOUoHeLI.cjs → ro-RO.min-aBbqXT5f.cjs} +1 -1
- package/dist/{ro.min-DvqdFAHj.cjs → ro.min-BNdGTmkA.cjs} +1 -1
- package/dist/{ro.min-D1Qf5owK.js → ro.min-BRqL6KSR.js} +1 -1
- package/dist/{ru-RU.min-lTpOSCAc.cjs → ru-RU.min-DsRNta4Q.cjs} +1 -1
- package/dist/{ru-RU.min-2Pp5J5Cc.js → ru-RU.min-p_uhJ37b.js} +1 -1
- package/dist/{ru-UA.min-Ad9CfiiM.js → ru-UA.min-Bmqpatid.js} +1 -1
- package/dist/{ru-UA.min-BC2b_XfF.cjs → ru-UA.min-DEJdJ8y_.cjs} +1 -1
- package/dist/{sk-SK.min-CCRCI8QS.cjs → sk-SK.min-CbWGNAnJ.cjs} +1 -1
- package/dist/{sk-SK.min-CLr-T17m.js → sk-SK.min-CtdExu8J.js} +1 -1
- package/dist/{sl.min-0b3ArOlq.cjs → sl.min-CyD39LFV.cjs} +1 -1
- package/dist/{sl.min-ddz8ZZJU.js → sl.min-Orpp0Tf2.js} +1 -1
- package/dist/{sr-Cyrl-RS.min-aIWOfOOi.js → sr-Cyrl-RS.min-BZDZeTAH.js} +1 -1
- package/dist/{sr-Cyrl-RS.min-oqOkJo_8.cjs → sr-Cyrl-RS.min-cS_vG7c5.cjs} +1 -1
- package/dist/src/lib/types/external.types.d.ts +3 -2
- package/dist/src/lib/types/internal.types.d.ts +2 -1
- package/dist/src/lib/types/schema.types.d.ts +66 -2
- package/dist/src/lib/types/validators.types.d.ts +8 -0
- package/dist/{sv-SE.min-CKm4Rs3r.js → sv-SE.min-D82Y2vcP.js} +1 -1
- package/dist/{sv-SE.min-CBzVUr8a.cjs → sv-SE.min-oT4jgldl.cjs} +1 -1
- package/dist/{th-TH.min-BhNM4afG.js → th-TH.min-DhCzpuS2.js} +1 -1
- package/dist/{th-TH.min-kS5Rry38.cjs → th-TH.min-zpK43YLO.cjs} +1 -1
- package/dist/{tr-TR.min-B4RI5Gov.cjs → tr-TR.min-6MDT2fG2.cjs} +1 -1
- package/dist/{tr-TR.min-B337jDu7.js → tr-TR.min-f6ptybhU.js} +1 -1
- package/dist/{uk-UA.min-DO2Abzxk.cjs → uk-UA.min-B-xvbD9E.cjs} +1 -1
- package/dist/{uk-UA.min-tt0lqr-6.js → uk-UA.min-C3Ntf-Ew.js} +1 -1
- package/dist/{zh-CN.min-CMPfXxGT.js → zh-CN.min-8EHOUZII.js} +1 -1
- package/dist/{zh-CN.min-BHRhu9do.cjs → zh-CN.min-BcdFdtdH.cjs} +1 -1
- package/dist/{zh-MO.min-DbuphTDA.js → zh-MO.min-BEGBN-vZ.js} +1 -1
- package/dist/{zh-MO.min-ET1vca5r.cjs → zh-MO.min-Bh6jr-D1.cjs} +1 -1
- package/dist/{zh-SG.min-CL3djlE6.cjs → zh-SG.min-BdA6hWqb.cjs} +1 -1
- package/dist/{zh-SG.min-DY1Puru_.js → zh-SG.min-DNAGNc0i.js} +1 -1
- package/dist/{zh-TW.min-DaKYZ8Fq.cjs → zh-TW.min-CM3DkwGO.cjs} +1 -1
- package/dist/{zh-TW.min-DY2amyLO.js → zh-TW.min-DlWET13V.js} +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ var aN = (t) => {
|
|
|
5
5
|
var hoe = (t, e, r) => e in t ? foe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
6
|
var ln = (t, e, r) => hoe(t, typeof e != "symbol" ? e + "" : e, r), D_ = (t, e, r) => e.has(t) || aN("Cannot " + r);
|
|
7
7
|
var qr = (t, e, r) => (D_(t, e, "read from private field"), r ? r.call(t) : e.get(t)), df = (t, e, r) => e.has(t) ? aN("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), L_ = (t, e, r, n) => (D_(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), F_ = (t, e, r) => (D_(t, e, "access private method"), r);
|
|
8
|
-
import { r as Ak, u as Mb, v as Ix, d as mu, a as moe, I as
|
|
8
|
+
import { r as Ak, u as Mb, v as Ix, d as mu, a as moe, I as Ye, s as UG, b as BG, c as dd, e as poe, f as Nx, g as goe, h as Dx, l as H_, i as iN, j as Lo, k as voe, m as boe, n as Lx, o as yoe, p as woe, q as $oe, t as sN, w as _oe, x as Soe, y as WG, z as Coe, A as Toe, B as VG, C as U_, D as koe, E as oN } from "./index-CCX6qGZR.js";
|
|
9
9
|
const Eoe = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
|
|
10
10
|
function xoe(t) {
|
|
11
11
|
return typeof t == "string" && Eoe.test(t);
|
|
@@ -4396,7 +4396,7 @@ const Ede = (t) => {
|
|
|
4396
4396
|
};
|
|
4397
4397
|
return { mappings: Qz(t).map((a) => {
|
|
4398
4398
|
const i = (a.transformers || []).map((o) => {
|
|
4399
|
-
if (o.action ===
|
|
4399
|
+
if (o.action === Ye.MapToEnum) {
|
|
4400
4400
|
const l = o, c = l.payload.enums;
|
|
4401
4401
|
let d;
|
|
4402
4402
|
if (Object.keys(c).length === 1 && c.query)
|
|
@@ -4429,14 +4429,14 @@ const Ede = (t) => {
|
|
|
4429
4429
|
readOnly: !0,
|
|
4430
4430
|
transformers: [
|
|
4431
4431
|
{
|
|
4432
|
-
action:
|
|
4432
|
+
action: Ye.CombineColumns,
|
|
4433
4433
|
payload: {
|
|
4434
4434
|
...a.combine
|
|
4435
4435
|
}
|
|
4436
4436
|
},
|
|
4437
4437
|
// @TODO when creating yup validators for schema, make sure a combine field cannot have an combine transformers, since we drop it here and adding our own
|
|
4438
4438
|
...(i || []).filter(
|
|
4439
|
-
(o) => o.action !==
|
|
4439
|
+
(o) => o.action !== Ye.CombineColumns
|
|
4440
4440
|
)
|
|
4441
4441
|
]
|
|
4442
4442
|
},
|
|
@@ -4469,7 +4469,7 @@ const Ede = (t) => {
|
|
|
4469
4469
|
...s.field,
|
|
4470
4470
|
transformers: s.field.transformers.map((o) => {
|
|
4471
4471
|
let l = ["cells-change", "load"];
|
|
4472
|
-
return o.action ===
|
|
4472
|
+
return o.action === Ye.GenerateUUID && (l = ["load"]), {
|
|
4473
4473
|
...o,
|
|
4474
4474
|
payload: {
|
|
4475
4475
|
...o.payload,
|
|
@@ -4481,8 +4481,8 @@ const Ede = (t) => {
|
|
|
4481
4481
|
};
|
|
4482
4482
|
}).map((a) => {
|
|
4483
4483
|
const i = a.field.transformers || [], s = a.field.validators || [];
|
|
4484
|
-
if (a.field.defaultValue !== void 0 && !i.find((o) => o.action ===
|
|
4485
|
-
action:
|
|
4484
|
+
if (a.field.defaultValue !== void 0 && !i.find((o) => o.action === Ye.DefaultValue) && i.unshift({
|
|
4485
|
+
action: Ye.DefaultValue,
|
|
4486
4486
|
payload: {
|
|
4487
4487
|
defaultValue: a.field.defaultValue,
|
|
4488
4488
|
runOns: ["load"]
|
|
@@ -4503,7 +4503,7 @@ const Ede = (t) => {
|
|
|
4503
4503
|
stripOnlyTheseCurrencies: "any"
|
|
4504
4504
|
}, l = a.field.autoClean === !1 ? null : { ...o, ...a.field.autoClean };
|
|
4505
4505
|
if (l && !i.find((c) => c.action === "cleanNumbers") && i.push({
|
|
4506
|
-
action:
|
|
4506
|
+
action: Ye.CleanNumbers,
|
|
4507
4507
|
payload: {
|
|
4508
4508
|
runOns: ["load", "cells-change"],
|
|
4509
4509
|
options: { ...l, locale: a.field.locale }
|
|
@@ -4522,7 +4522,7 @@ const Ede = (t) => {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
}
|
|
4524
4524
|
if (a.field.type === "checkbox" && (a.field.defaultValue === void 0 && i.unshift({
|
|
4525
|
-
action:
|
|
4525
|
+
action: Ye.DefaultValue,
|
|
4526
4526
|
payload: {
|
|
4527
4527
|
defaultValue: !1,
|
|
4528
4528
|
runOns: ["load"]
|
|
@@ -4534,8 +4534,8 @@ const Ede = (t) => {
|
|
|
4534
4534
|
parsePatterns: poe,
|
|
4535
4535
|
strictParsing: !0
|
|
4536
4536
|
}, l = a.field.autoClean === !1 ? null : { ...o, ...a.field.autoClean };
|
|
4537
|
-
if (l && !i.find((c) => c.action ===
|
|
4538
|
-
action:
|
|
4537
|
+
if (l && !i.find((c) => c.action === Ye.FormatDates) && i.push({
|
|
4538
|
+
action: Ye.FormatDates,
|
|
4539
4539
|
payload: {
|
|
4540
4540
|
formatPattern: a.field.formatPattern,
|
|
4541
4541
|
parsePatterns: l.parsePatterns,
|
|
@@ -4558,6 +4558,31 @@ const Ede = (t) => {
|
|
|
4558
4558
|
});
|
|
4559
4559
|
}
|
|
4560
4560
|
}
|
|
4561
|
+
if (a.field.type === "phone") {
|
|
4562
|
+
const o = {
|
|
4563
|
+
countries: a.field.countries,
|
|
4564
|
+
withInternationalCode: a.field.withInternationalCode ?? !1
|
|
4565
|
+
}, l = a.field.autoClean === !1 ? null : { ...o, ...a.field.autoClean };
|
|
4566
|
+
if (l && !i.find((c) => c.action === Ye.FormatPhoneNumbers) && i.push({
|
|
4567
|
+
action: Ye.FormatPhoneNumbers,
|
|
4568
|
+
payload: {
|
|
4569
|
+
runOns: ["load", "cells-change"],
|
|
4570
|
+
countries: l.countries,
|
|
4571
|
+
withInternationalCode: l.withInternationalCode
|
|
4572
|
+
}
|
|
4573
|
+
}), !s.find((c) => c.type === "phone")) {
|
|
4574
|
+
const c = l || o;
|
|
4575
|
+
s.push({
|
|
4576
|
+
type: "phone",
|
|
4577
|
+
countries: a.field.countries,
|
|
4578
|
+
withInternationalCode: a.field.withInternationalCode ?? !1,
|
|
4579
|
+
autoFixOptions: {
|
|
4580
|
+
countries: c.countries,
|
|
4581
|
+
withInternationalCode: c.withInternationalCode
|
|
4582
|
+
}
|
|
4583
|
+
});
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4561
4586
|
return {
|
|
4562
4587
|
...a,
|
|
4563
4588
|
field: {
|
|
@@ -5544,7 +5569,7 @@ async function mue(t, e, r, n) {
|
|
|
5544
5569
|
return c;
|
|
5545
5570
|
});
|
|
5546
5571
|
}
|
|
5547
|
-
const pue = (t) => t.some(({ field: e }) => dR(e) || gue(e)), gue = (t) => (t.transformers || []).some(({ action: e }) => e ===
|
|
5572
|
+
const pue = (t) => t.some(({ field: e }) => dR(e) || gue(e)), gue = (t) => (t.transformers || []).some(({ action: e }) => e === Ye.CombineColumns), Lp = pc(
|
|
5548
5573
|
xi,
|
|
5549
5574
|
(t) => {
|
|
5550
5575
|
var e;
|
|
@@ -12500,17 +12525,17 @@ const Ige = (t) => {
|
|
|
12500
12525
|
switch (t) {
|
|
12501
12526
|
case Lo.ClearColumn:
|
|
12502
12527
|
return Eue(e, r, n);
|
|
12503
|
-
case
|
|
12528
|
+
case Ye.TrimWhitespace:
|
|
12504
12529
|
return xue(e, r, n);
|
|
12505
|
-
case
|
|
12530
|
+
case Ye.CleanNumbers:
|
|
12506
12531
|
return Nge(e, r, n);
|
|
12507
|
-
case
|
|
12532
|
+
case Ye.ToUpperCase:
|
|
12508
12533
|
return Rue(e, r, n);
|
|
12509
|
-
case
|
|
12534
|
+
case Ye.ToLowerCase:
|
|
12510
12535
|
return Mue(e, r, n);
|
|
12511
|
-
case
|
|
12536
|
+
case Ye.TitleCaseText:
|
|
12512
12537
|
return Aue(e, r, n);
|
|
12513
|
-
case
|
|
12538
|
+
case Ye.FuzzyFix:
|
|
12514
12539
|
return vq(
|
|
12515
12540
|
e,
|
|
12516
12541
|
r,
|
|
@@ -12518,20 +12543,20 @@ const Ige = (t) => {
|
|
|
12518
12543
|
a,
|
|
12519
12544
|
i
|
|
12520
12545
|
);
|
|
12521
|
-
case
|
|
12546
|
+
case Ye.PadString:
|
|
12522
12547
|
return Oue(e, r, n);
|
|
12523
|
-
case
|
|
12548
|
+
case Ye.MapToEnum:
|
|
12524
12549
|
return gme(
|
|
12525
12550
|
e,
|
|
12526
12551
|
r,
|
|
12527
12552
|
a,
|
|
12528
12553
|
n
|
|
12529
12554
|
);
|
|
12530
|
-
case
|
|
12555
|
+
case Ye.TruncateText:
|
|
12531
12556
|
return Pue(e, r, n);
|
|
12532
|
-
case
|
|
12557
|
+
case Ye.StripHtmlTags:
|
|
12533
12558
|
return Iue(e, r, n);
|
|
12534
|
-
case
|
|
12559
|
+
case Ye.RegexReplace:
|
|
12535
12560
|
return Nue(e, r, n);
|
|
12536
12561
|
case Lo.ClearCellRange:
|
|
12537
12562
|
return Due(
|
|
@@ -12543,31 +12568,31 @@ const Ige = (t) => {
|
|
|
12543
12568
|
return Lue(e, r, n);
|
|
12544
12569
|
case Lo.BackwardFill:
|
|
12545
12570
|
return Fue(e, r, n);
|
|
12546
|
-
case
|
|
12571
|
+
case Ye.AutoIncrementIds:
|
|
12547
12572
|
return Hue(e, r, n);
|
|
12548
|
-
case
|
|
12573
|
+
case Ye.GenerateUUID:
|
|
12549
12574
|
return s6(e, r, n);
|
|
12550
|
-
case
|
|
12575
|
+
case Ye.FillWithTimestamp:
|
|
12551
12576
|
return Uue(e, r, n);
|
|
12552
|
-
case
|
|
12577
|
+
case Ye.RoundNumbers:
|
|
12553
12578
|
return jue(e, r, n);
|
|
12554
|
-
case
|
|
12579
|
+
case Ye.ClampRange:
|
|
12555
12580
|
return o6(e, r, n);
|
|
12556
|
-
case
|
|
12581
|
+
case Ye.ScaleNumbers:
|
|
12557
12582
|
return Gue(e, r, n);
|
|
12558
|
-
case
|
|
12583
|
+
case Ye.NormalizeZScore:
|
|
12559
12584
|
return zue(e, r, n);
|
|
12560
|
-
case
|
|
12585
|
+
case Ye.FormatDates:
|
|
12561
12586
|
return lq(e, r, n);
|
|
12562
|
-
case
|
|
12587
|
+
case Ye.NormalizeUrls:
|
|
12563
12588
|
return cq(e, r, n);
|
|
12564
|
-
case
|
|
12589
|
+
case Ye.MapCountryNames:
|
|
12565
12590
|
return q1e(
|
|
12566
12591
|
e,
|
|
12567
12592
|
r,
|
|
12568
12593
|
n
|
|
12569
12594
|
);
|
|
12570
|
-
case
|
|
12595
|
+
case Ye.CombineColumns:
|
|
12571
12596
|
return Q1e(
|
|
12572
12597
|
e,
|
|
12573
12598
|
r,
|
|
@@ -12580,13 +12605,13 @@ const Ige = (t) => {
|
|
|
12580
12605
|
r,
|
|
12581
12606
|
n
|
|
12582
12607
|
);
|
|
12583
|
-
case
|
|
12608
|
+
case Ye.DefaultValue:
|
|
12584
12609
|
return vme(e, r, n);
|
|
12585
|
-
case
|
|
12610
|
+
case Ye.FormatBooleans:
|
|
12586
12611
|
return bq(e, r, n);
|
|
12587
|
-
case
|
|
12612
|
+
case Ye.FormatEmails:
|
|
12588
12613
|
return _q(e, r, n);
|
|
12589
|
-
case
|
|
12614
|
+
case Ye.FormatPhoneNumbers:
|
|
12590
12615
|
return Pq(
|
|
12591
12616
|
e,
|
|
12592
12617
|
r,
|
|
@@ -13753,7 +13778,7 @@ Arguments: ` + Array.prototype.slice.call(N).join("") + `
|
|
|
13753
13778
|
o(g, N) && (M = Ce(N), M && (w[M] = g[N]));
|
|
13754
13779
|
return w;
|
|
13755
13780
|
}
|
|
13756
|
-
var
|
|
13781
|
+
var je = {
|
|
13757
13782
|
date: 9,
|
|
13758
13783
|
day: 11,
|
|
13759
13784
|
weekday: 11,
|
|
@@ -13774,7 +13799,7 @@ Arguments: ` + Array.prototype.slice.call(N).join("") + `
|
|
|
13774
13799
|
function ze(g) {
|
|
13775
13800
|
var w = [], M;
|
|
13776
13801
|
for (M in g)
|
|
13777
|
-
o(g, M) && w.push({ unit: M, priority:
|
|
13802
|
+
o(g, M) && w.push({ unit: M, priority: je[M] });
|
|
13778
13803
|
return w.sort(function(N, Z) {
|
|
13779
13804
|
return N.priority - Z.priority;
|
|
13780
13805
|
}), w;
|
|
@@ -20381,7 +20406,7 @@ var Qve = /* @__PURE__ */ (function() {
|
|
|
20381
20406
|
var se = fe & 7, de = fe >>> 3;
|
|
20382
20407
|
return re <<= se, G[de] |= re & 255, re >>>= 8, G[de + 1] = re & 255, G[de + 2] = re >>> 8, fe + 16;
|
|
20383
20408
|
}
|
|
20384
|
-
function
|
|
20409
|
+
function je(G, fe) {
|
|
20385
20410
|
var re = G.length, se = 2 * re > fe ? 2 * re : fe + 5, de = 0;
|
|
20386
20411
|
if (re >= fe) return G;
|
|
20387
20412
|
if (Qr) {
|
|
@@ -20540,12 +20565,12 @@ var Qve = /* @__PURE__ */ (function() {
|
|
|
20540
20565
|
re & 7 && (re += 8 - (re & 7));
|
|
20541
20566
|
var De = G[re >>> 3] | G[(re >>> 3) + 1] << 8;
|
|
20542
20567
|
if (re += 32, De > 0)
|
|
20543
|
-
for (!fe && Pe < ge + De && (de =
|
|
20568
|
+
for (!fe && Pe < ge + De && (de = je(de, ge + De), Pe = de.length); De-- > 0; )
|
|
20544
20569
|
de[ge++] = G[re >>> 3], re += 8;
|
|
20545
20570
|
continue;
|
|
20546
20571
|
}
|
|
20547
20572
|
for (; ; ) {
|
|
20548
|
-
!fe && Pe < ge + 32767 && (de =
|
|
20573
|
+
!fe && Pe < ge + 32767 && (de = je(de, ge + 32767), Pe = de.length);
|
|
20549
20574
|
var Re = X(G, re, Ue), le = se >>> 1 == 1 ? ct[Re] : zr[Re];
|
|
20550
20575
|
if (re += le & 15, le >>>= 4, (le >>> 8 & 255) === 0) de[ge++] = le;
|
|
20551
20576
|
else {
|
|
@@ -20556,7 +20581,7 @@ var Qve = /* @__PURE__ */ (function() {
|
|
|
20556
20581
|
var He = ge + A[le];
|
|
20557
20582
|
Oe > 0 && (He += X(G, re, Oe), re += Oe), Re = X(G, re, Ie), le = se >>> 1 == 1 ? Je[Re] : En[Re], re += le & 15, le >>>= 4;
|
|
20558
20583
|
var Ke = le < 4 ? 0 : le - 2 >> 1, tt = z[le];
|
|
20559
|
-
for (Ke > 0 && (tt += X(G, re, Ke), re += Ke), !fe && Pe < He && (de =
|
|
20584
|
+
for (Ke > 0 && (tt += X(G, re, Ke), re += Ke), !fe && Pe < He && (de = je(de, He + 100), Pe = de.length); ge < He; )
|
|
20560
20585
|
de[ge] = de[ge - tt], ++ge;
|
|
20561
20586
|
}
|
|
20562
20587
|
}
|
|
@@ -34946,7 +34971,7 @@ function xX(t, e) {
|
|
|
34946
34971
|
readOnly: R.stepsConfig.mapHeadersStep.passThroughExcessColumns ? !0 : u.field.readOnly,
|
|
34947
34972
|
transformers: [
|
|
34948
34973
|
{
|
|
34949
|
-
action:
|
|
34974
|
+
action: Ye.CombineColumns,
|
|
34950
34975
|
payload: {
|
|
34951
34976
|
// I'm thinking of only running this combine on load, why ? Because I want the user to be able to change this field manually if they wanted to
|
|
34952
34977
|
// For example, if we're expecting full name, and they have to combine first name and last name , and then never showing he first name last name columns in the table
|
|
@@ -35105,7 +35130,7 @@ function RX(t, e) {
|
|
|
35105
35130
|
Or.set(V.map((te) => {
|
|
35106
35131
|
if (te.field.key === D.field.key) {
|
|
35107
35132
|
let Q = te.field.transformers;
|
|
35108
|
-
return Q && H && (Q = Q.filter((ue) => ue.action !==
|
|
35133
|
+
return Q && H && (Q = Q.filter((ue) => ue.action !== Ye.CombineColumns)), {
|
|
35109
35134
|
...te,
|
|
35110
35135
|
field: { ...te.field, transformers: Q },
|
|
35111
35136
|
file: null,
|
|
@@ -35133,9 +35158,9 @@ function RX(t, e) {
|
|
|
35133
35158
|
0
|
|
35134
35159
|
);
|
|
35135
35160
|
}
|
|
35136
|
-
const _ = (O) => !!(O.transformers || []).find((D) => D.action ===
|
|
35161
|
+
const _ = (O) => !!(O.transformers || []).find((D) => D.action === Ye.CombineColumns), k = (O) => {
|
|
35137
35162
|
var H;
|
|
35138
|
-
const D = ((H = (O.transformers || []).find((V) => V.action ===
|
|
35163
|
+
const D = ((H = (O.transformers || []).find((V) => V.action === Ye.CombineColumns)) == null ? void 0 : H.payload.template) || "";
|
|
35139
35164
|
return u(D);
|
|
35140
35165
|
};
|
|
35141
35166
|
xt(() => (a(), i()), () => {
|
|
@@ -35251,7 +35276,7 @@ function RX(t, e) {
|
|
|
35251
35276
|
var Y = (pe) => {
|
|
35252
35277
|
var be = F9e(), Ce = ne(be), Ne = ne(Ce, !0);
|
|
35253
35278
|
J(Ce);
|
|
35254
|
-
var
|
|
35279
|
+
var je = he(Ce, 2);
|
|
35255
35280
|
{
|
|
35256
35281
|
var ze = (ot) => {
|
|
35257
35282
|
var ct = L9e(), Je = ne(ct);
|
|
@@ -35261,7 +35286,7 @@ function RX(t, e) {
|
|
|
35261
35286
|
st(Je, "data-testid", (y(D), Ee(() => "clear-combine-" + y(D).field.key))), st(Je, "aria-label", (y(D), Ee(() => "Clear combined mapping for " + y(D).field.label)));
|
|
35262
35287
|
}), $e(ot, ct);
|
|
35263
35288
|
};
|
|
35264
|
-
Fe(
|
|
35289
|
+
Fe(je, (ot) => {
|
|
35265
35290
|
y(D), Ee(() => y(D).file) && ot(ze);
|
|
35266
35291
|
});
|
|
35267
35292
|
}
|
|
@@ -35279,9 +35304,9 @@ function RX(t, e) {
|
|
|
35279
35304
|
Ce.__change = [H9e, h, D];
|
|
35280
35305
|
var Ne = ne(Ce);
|
|
35281
35306
|
Ne.value = Ne.__value = "";
|
|
35282
|
-
var
|
|
35307
|
+
var je = he(Ne);
|
|
35283
35308
|
Xn(
|
|
35284
|
-
|
|
35309
|
+
je,
|
|
35285
35310
|
1,
|
|
35286
35311
|
() => (y(D), Ee(() => f(y(D)))),
|
|
35287
35312
|
(Je) => Je.key,
|
|
@@ -37650,7 +37675,7 @@ function oJ() {
|
|
|
37650
37675
|
}
|
|
37651
37676
|
}));
|
|
37652
37677
|
let oe = !0, x = !0, L = !1, B = !0, ie = !1, j = !0, W = !1, K = !1, Y = !1, X = !1, pe = !1, be = !1, Ce = !0, Ne = !1;
|
|
37653
|
-
const
|
|
37678
|
+
const je = "user-content-";
|
|
37654
37679
|
let ze = !0, ot = !1, ct = {}, Je = null;
|
|
37655
37680
|
const et = Sr({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
37656
37681
|
let _t = null;
|
|
@@ -37845,7 +37870,7 @@ function oJ() {
|
|
|
37845
37870
|
value: Ot
|
|
37846
37871
|
} = tt, Kr = On($t), ns = Ot;
|
|
37847
37872
|
let vn = $t === "value" ? ns : g_e(ns);
|
|
37848
|
-
if (He.attrName = Kr, He.attrValue = vn, He.keepAttr = !0, He.forceKeepAttr = void 0, de(D.uponSanitizeAttribute, le, He), vn = He.attrValue, Ne && (Kr === "id" || Kr === "name") && (ri($t, le), vn =
|
|
37873
|
+
if (He.attrName = Kr, He.attrValue = vn, He.keepAttr = !0, He.forceKeepAttr = void 0, de(D.uponSanitizeAttribute, le, He), vn = He.attrValue, Ne && (Kr === "id" || Kr === "name") && (ri($t, le), vn = je + vn), j && ls(/((--!?|])>)|<\/(style|title|textarea)/i, vn)) {
|
|
37849
37874
|
ri($t, le);
|
|
37850
37875
|
continue;
|
|
37851
37876
|
}
|
|
@@ -65403,27 +65428,27 @@ function oee(t, e) {
|
|
|
65403
65428
|
const Y = (pe) => {
|
|
65404
65429
|
let be = 0;
|
|
65405
65430
|
Te(pe, (Ce) => {
|
|
65406
|
-
let [Ne,
|
|
65431
|
+
let [Ne, je] = Ce;
|
|
65407
65432
|
const ze = ra(Ne) ? s.countRows() - 1 : Math.max(Ne - be, 0);
|
|
65408
|
-
if (Number.isInteger(Ne) && (Ne = Math.max(Ne - be, 0)), !l.removeRow(Ne,
|
|
65433
|
+
if (Number.isInteger(Ne) && (Ne = Math.max(Ne - be, 0)), !l.removeRow(Ne, je, z))
|
|
65409
65434
|
return;
|
|
65410
65435
|
if (H.isSelected()) {
|
|
65411
65436
|
const {
|
|
65412
65437
|
row: _t
|
|
65413
65438
|
} = s.getSelectedRangeActive().highlight;
|
|
65414
|
-
_t >= Ne && _t <= Ne +
|
|
65439
|
+
_t >= Ne && _t <= Ne + je - 1 && u.closeEditor(!0);
|
|
65415
65440
|
}
|
|
65416
65441
|
const ct = s.countRows(), Je = S.fixedRowsTop;
|
|
65417
|
-
Je >= ze + 1 && (S.fixedRowsTop -= Math.min(
|
|
65442
|
+
Je >= ze + 1 && (S.fixedRowsTop -= Math.min(je, Je - ze));
|
|
65418
65443
|
const et = S.fixedRowsBottom;
|
|
65419
|
-
if (et && ze >= ct - et && (S.fixedRowsBottom -= Math.min(
|
|
65444
|
+
if (et && ze >= ct - et && (S.fixedRowsBottom -= Math.min(je, et)), ct === 0)
|
|
65420
65445
|
H.deselect();
|
|
65421
65446
|
else if (z === "ContextMenu.removeRow") {
|
|
65422
65447
|
const _t = H.getSelectedRange(), Le = _t.pop();
|
|
65423
65448
|
_t.clear().set(Le.from).current().setTo(Le.to), H.refresh();
|
|
65424
65449
|
} else
|
|
65425
|
-
H.shiftRows(Ne, -
|
|
65426
|
-
be +=
|
|
65450
|
+
H.shiftRows(Ne, -je);
|
|
65451
|
+
be += je;
|
|
65427
65452
|
});
|
|
65428
65453
|
};
|
|
65429
65454
|
Array.isArray(T) ? Y(oe(T)) : Y([[T, A]]);
|
|
@@ -65432,16 +65457,16 @@ function oee(t, e) {
|
|
|
65432
65457
|
const X = (pe) => {
|
|
65433
65458
|
let be = 0;
|
|
65434
65459
|
Te(pe, (Ce) => {
|
|
65435
|
-
let [Ne,
|
|
65460
|
+
let [Ne, je] = Ce;
|
|
65436
65461
|
const ze = ra(Ne) ? s.countCols() - 1 : Math.max(Ne - be, 0);
|
|
65437
65462
|
let ot = s.toPhysicalColumn(ze);
|
|
65438
|
-
if (Number.isInteger(Ne) && (Ne = Math.max(Ne - be, 0)), !l.removeCol(Ne,
|
|
65463
|
+
if (Number.isInteger(Ne) && (Ne = Math.max(Ne - be, 0)), !l.removeCol(Ne, je, z))
|
|
65439
65464
|
return;
|
|
65440
65465
|
if (H.isSelected()) {
|
|
65441
65466
|
const {
|
|
65442
65467
|
col: _t
|
|
65443
65468
|
} = s.getSelectedRangeActive().highlight;
|
|
65444
|
-
_t >= Ne && _t <= Ne +
|
|
65469
|
+
_t >= Ne && _t <= Ne + je - 1 && u.closeEditor(!0);
|
|
65445
65470
|
}
|
|
65446
65471
|
if (s.countCols() === 0)
|
|
65447
65472
|
H.deselect();
|
|
@@ -65449,9 +65474,9 @@ function oee(t, e) {
|
|
|
65449
65474
|
const _t = H.getSelectedRange(), Le = _t.pop();
|
|
65450
65475
|
_t.clear().set(Le.from).current().setTo(Le.to), H.refresh();
|
|
65451
65476
|
} else
|
|
65452
|
-
H.shiftColumns(Ne, -
|
|
65477
|
+
H.shiftColumns(Ne, -je);
|
|
65453
65478
|
const et = S.fixedColumnsStart;
|
|
65454
|
-
et >= ze + 1 && (S.fixedColumnsStart -= Math.min(
|
|
65479
|
+
et >= ze + 1 && (S.fixedColumnsStart -= Math.min(je, et - ze)), Array.isArray(S.colHeaders) && (typeof ot > "u" && (ot = -1), S.colHeaders.splice(ot, je)), be += je;
|
|
65455
65480
|
});
|
|
65456
65481
|
};
|
|
65457
65482
|
Array.isArray(T) ? X(oe(T)) : X([[T, A]]);
|
|
@@ -65521,8 +65546,8 @@ function oee(t, e) {
|
|
|
65521
65546
|
let X = 0, pe = 0;
|
|
65522
65547
|
switch (Ht(A) && (X = A.col - Y + 1, pe = A.row - K + 1), ee) {
|
|
65523
65548
|
case "shift_down":
|
|
65524
|
-
const Ce = u3(T), Ne = Ce.length,
|
|
65525
|
-
for (L = 0; L <
|
|
65549
|
+
const Ce = u3(T), Ne = Ce.length, je = Math.max(Ne, X), ze = s.getData().slice(K), ot = u3(ze).slice(Y, Y + je);
|
|
65550
|
+
for (L = 0; L < je; L += 1)
|
|
65526
65551
|
if (L < Ne) {
|
|
65527
65552
|
for (oe = 0, x = Ce[L].length; oe < pe - x; oe += 1)
|
|
65528
65553
|
Ce[L].push(Ce[L][oe % x]);
|
|
@@ -69390,31 +69415,31 @@ var JMe = (t) => ({
|
|
|
69390
69415
|
return Y.reverse();
|
|
69391
69416
|
}
|
|
69392
69417
|
return function(B, ie, j, W, K) {
|
|
69393
|
-
var Y, X, pe, be, Ce, Ne,
|
|
69418
|
+
var Y, X, pe, be, Ce, Ne, je, ze, ot = B.indexOf("."), ct = H, Je = V;
|
|
69394
69419
|
for (ot >= 0 && (be = Se, Se = 0, B = B.replace(".", ""), ze = new b(ie), Ne = ze.pow(B.length - ot), Se = be, ze.c = L(
|
|
69395
69420
|
P(v(Ne.c), Ne.e, "0"),
|
|
69396
69421
|
10,
|
|
69397
69422
|
j,
|
|
69398
69423
|
x
|
|
69399
|
-
), ze.e = ze.c.length),
|
|
69400
|
-
if (!
|
|
69401
|
-
if (ot < 0 ? --pe : (Ne.c =
|
|
69424
|
+
), ze.e = ze.c.length), je = L(B, ie, j, K ? (Y = U, x) : (Y = x, U)), pe = be = je.length; je[--be] == 0; je.pop()) ;
|
|
69425
|
+
if (!je[0]) return Y.charAt(0);
|
|
69426
|
+
if (ot < 0 ? --pe : (Ne.c = je, Ne.e = pe, Ne.s = W, Ne = R(Ne, ze, ct, Je, j), je = Ne.c, Ce = Ne.r, pe = Ne.e), X = pe + ct + 1, ot = je[X], be = j / 2, Ce = Ce || X < 0 || je[X + 1] != null, Ce = Je < 4 ? (ot != null || Ce) && (Je == 0 || Je == (Ne.s < 0 ? 3 : 2)) : ot > be || ot == be && (Je == 4 || Ce || Je == 6 && je[X - 1] & 1 || Je == (Ne.s < 0 ? 8 : 7)), X < 1 || !je[0])
|
|
69402
69427
|
B = Ce ? P(Y.charAt(1), -ct, Y.charAt(0)) : Y.charAt(0);
|
|
69403
69428
|
else {
|
|
69404
|
-
if (
|
|
69405
|
-
for (--j; ++
|
|
69406
|
-
|
|
69407
|
-
for (be =
|
|
69408
|
-
for (ot = 0, B = ""; ot <= be; B += Y.charAt(
|
|
69429
|
+
if (je.length = X, Ce)
|
|
69430
|
+
for (--j; ++je[--X] > j; )
|
|
69431
|
+
je[X] = 0, X || (++pe, je = [1].concat(je));
|
|
69432
|
+
for (be = je.length; !je[--be]; ) ;
|
|
69433
|
+
for (ot = 0, B = ""; ot <= be; B += Y.charAt(je[ot++])) ;
|
|
69409
69434
|
B = P(B, pe, Y.charAt(0));
|
|
69410
69435
|
}
|
|
69411
69436
|
return B;
|
|
69412
69437
|
};
|
|
69413
69438
|
})(), R = /* @__PURE__ */ (function() {
|
|
69414
69439
|
function x(ie, j, W) {
|
|
69415
|
-
var K, Y, X, pe, be = 0, Ce = ie.length, Ne = j % f,
|
|
69440
|
+
var K, Y, X, pe, be = 0, Ce = ie.length, Ne = j % f, je = j / f | 0;
|
|
69416
69441
|
for (ie = ie.slice(); Ce--; )
|
|
69417
|
-
X = ie[Ce] % f, pe = ie[Ce] / f | 0, K =
|
|
69442
|
+
X = ie[Ce] % f, pe = ie[Ce] / f | 0, K = je * X + pe * Ne, Y = Ne * X + K % f * f + be, be = (Y / W | 0) + (K / f | 0) + je * pe, ie[Ce] = Y % W;
|
|
69418
69443
|
return be && (ie = [be].concat(ie)), ie;
|
|
69419
69444
|
}
|
|
69420
69445
|
function L(ie, j, W, K) {
|
|
@@ -69435,7 +69460,7 @@ var JMe = (t) => ({
|
|
|
69435
69460
|
for (; !ie[0] && ie.length > 1; ie.splice(0, 1)) ;
|
|
69436
69461
|
}
|
|
69437
69462
|
return function(ie, j, W, K, Y) {
|
|
69438
|
-
var X, pe, be, Ce, Ne,
|
|
69463
|
+
var X, pe, be, Ce, Ne, je, ze, ot, ct, Je, et, _t, Le, zr, En, Lr, wn, Wt = ie.s == j.s ? 1 : -1, Bt = ie.c, Vt = j.c;
|
|
69439
69464
|
if (!Bt || !Bt[0] || !Vt || !Vt[0])
|
|
69440
69465
|
return new b(
|
|
69441
69466
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
@@ -69453,11 +69478,11 @@ var JMe = (t) => ({
|
|
|
69453
69478
|
do {
|
|
69454
69479
|
if (Ne = 0, X = L(Vt, Je, Lr, et), X < 0) {
|
|
69455
69480
|
if (_t = Je[0], Lr != et && (_t = _t * Y + (Je[1] || 0)), Ne = i(_t / En), Ne > 1)
|
|
69456
|
-
for (Ne >= Y && (Ne = Y - 1),
|
|
69457
|
-
Ne--, B(
|
|
69481
|
+
for (Ne >= Y && (Ne = Y - 1), je = x(Vt, Ne, Y), ze = je.length, et = Je.length; L(je, Je, ze, et) == 1; )
|
|
69482
|
+
Ne--, B(je, Lr < ze ? wn : Vt, ze, Y), ze = je.length, X = 1;
|
|
69458
69483
|
else
|
|
69459
|
-
Ne == 0 && (X = Ne = 1),
|
|
69460
|
-
if (ze < et && (
|
|
69484
|
+
Ne == 0 && (X = Ne = 1), je = Vt.slice(), ze = je.length;
|
|
69485
|
+
if (ze < et && (je = [0].concat(je)), B(Je, je, et, Y), et = Je.length, X == -1)
|
|
69461
69486
|
for (; L(Vt, Je, Lr, et) < 1; )
|
|
69462
69487
|
Ne++, B(Je, Lr < et ? wn : Vt, et, Y), et = Je.length;
|
|
69463
69488
|
} else X === 0 && (Ne++, Je = [0]);
|
|
@@ -69504,8 +69529,8 @@ var JMe = (t) => ({
|
|
|
69504
69529
|
if (ie.test(be))
|
|
69505
69530
|
W.s = isNaN(be) ? null : be < 0 ? -1 : 1;
|
|
69506
69531
|
else {
|
|
69507
|
-
if (!Y && (be = be.replace(x, function(Ce, Ne,
|
|
69508
|
-
return pe = (
|
|
69532
|
+
if (!Y && (be = be.replace(x, function(Ce, Ne, je) {
|
|
69533
|
+
return pe = (je = je.toLowerCase()) == "x" ? 16 : je == "b" ? 2 : 8, !X || X == pe ? Ne : Ce;
|
|
69509
69534
|
}), X && (pe = X, be = be.replace(L, "$1").replace(B, "0.$1")), K != be))
|
|
69510
69535
|
return new b(be, pe);
|
|
69511
69536
|
if (b.DEBUG)
|
|
@@ -69668,13 +69693,13 @@ var JMe = (t) => ({
|
|
|
69668
69693
|
var B, ie, j = this;
|
|
69669
69694
|
return x = new b(x, L), !j.c || !x.s || x.c && !x.c[0] ? new b(NaN) : !x.c || j.c && !j.c[0] ? new b(j) : (me == 9 ? (ie = x.s, x.s = 1, B = R(j, x, 0, 3), x.s = ie, B.s *= ie) : B = R(j, x, 0, me), x = j.minus(B.times(x)), !x.c[0] && me == 1 && (x.s = j.s), x);
|
|
69670
69695
|
}, O.multipliedBy = O.times = function(x, L) {
|
|
69671
|
-
var B, ie, j, W, K, Y, X, pe, be, Ce, Ne,
|
|
69696
|
+
var B, ie, j, W, K, Y, X, pe, be, Ce, Ne, je, ze, ot, ct, Je = this, et = Je.c, _t = (x = new b(x, L)).c;
|
|
69672
69697
|
if (!et || !_t || !et[0] || !_t[0])
|
|
69673
69698
|
return !Je.s || !x.s || et && !et[0] && !_t || _t && !_t[0] && !et ? x.c = x.e = x.s = null : (x.s *= Je.s, !et || !_t ? x.c = x.e = null : (x.c = [0], x.e = 0)), x;
|
|
69674
69699
|
for (ie = p(Je.e / c) + p(x.e / c), x.s *= Je.s, X = et.length, Ce = _t.length, X < Ce && (ze = et, et = _t, _t = ze, j = X, X = Ce, Ce = j), j = X + Ce, ze = []; j--; ze.push(0)) ;
|
|
69675
69700
|
for (ot = l, ct = f, j = Ce; --j >= 0; ) {
|
|
69676
|
-
for (B = 0, Ne = _t[j] % ct,
|
|
69677
|
-
pe = et[--K] % ct, be = et[K] / ct | 0, Y =
|
|
69701
|
+
for (B = 0, Ne = _t[j] % ct, je = _t[j] / ct | 0, K = X, W = j + K; W > j; )
|
|
69702
|
+
pe = et[--K] % ct, be = et[K] / ct | 0, Y = je * pe + be * Ne, pe = Ne * pe + Y % ct * ct + ze[W] + B, B = (pe / ot | 0) + (Y / ct | 0) + je * be, ze[W--] = pe % ot;
|
|
69678
69703
|
ze[W] = B;
|
|
69679
69704
|
}
|
|
69680
69705
|
return B ? ++ie : ze.splice(0, 1), z(x, ze, ie);
|
|
@@ -69740,10 +69765,10 @@ var JMe = (t) => ({
|
|
|
69740
69765
|
else if (typeof B != "object")
|
|
69741
69766
|
throw Error(s + "Argument not an object: " + B);
|
|
69742
69767
|
if (ie = j.toFixed(x, L), j.c) {
|
|
69743
|
-
var W, K = ie.split("."), Y = +B.groupSize, X = +B.secondaryGroupSize, pe = B.groupSeparator || "", be = K[0], Ce = K[1], Ne = j.s < 0,
|
|
69768
|
+
var W, K = ie.split("."), Y = +B.groupSize, X = +B.secondaryGroupSize, pe = B.groupSeparator || "", be = K[0], Ce = K[1], Ne = j.s < 0, je = Ne ? be.slice(1) : be, ze = je.length;
|
|
69744
69769
|
if (X && (W = Y, Y = X, X = W, ze -= W), Y > 0 && ze > 0) {
|
|
69745
|
-
for (W = ze % Y || Y, be =
|
|
69746
|
-
X > 0 && (be += pe +
|
|
69770
|
+
for (W = ze % Y || Y, be = je.substr(0, W); W < ze; W += Y) be += pe + je.substr(W, Y);
|
|
69771
|
+
X > 0 && (be += pe + je.slice(W)), Ne && (be = "-" + be);
|
|
69747
69772
|
}
|
|
69748
69773
|
ie = Ce ? be + (B.decimalSeparator || "") + ((X = +B.fractionGroupSize) ? Ce.replace(
|
|
69749
69774
|
new RegExp("\\d{" + X + "}\\B", "g"),
|
|
@@ -69752,14 +69777,14 @@ var JMe = (t) => ({
|
|
|
69752
69777
|
}
|
|
69753
69778
|
return (B.prefix || "") + ie + (B.suffix || "");
|
|
69754
69779
|
}, O.toFraction = function(x) {
|
|
69755
|
-
var L, B, ie, j, W, K, Y, X, pe, be, Ce, Ne,
|
|
69780
|
+
var L, B, ie, j, W, K, Y, X, pe, be, Ce, Ne, je = this, ze = je.c;
|
|
69756
69781
|
if (x != null && (Y = new b(x), !Y.isInteger() && (Y.c || Y.s !== 1) || Y.lt(D)))
|
|
69757
69782
|
throw Error(s + "Argument " + (Y.isInteger() ? "out of range: " : "not an integer: ") + oe(Y));
|
|
69758
|
-
if (!ze) return new b(
|
|
69759
|
-
for (L = new b(D), pe = B = new b(D), ie = X = new b(D), Ne = v(ze), W = L.e = Ne.length -
|
|
69783
|
+
if (!ze) return new b(je);
|
|
69784
|
+
for (L = new b(D), pe = B = new b(D), ie = X = new b(D), Ne = v(ze), W = L.e = Ne.length - je.e - 1, L.c[0] = u[(K = W % c) < 0 ? c + K : K], x = !x || Y.comparedTo(L) > 0 ? W > 0 ? L : pe : Y, K = ce, ce = 1 / 0, Y = new b(Ne), X.c[0] = 0; be = R(Y, L, 0, 1), j = B.plus(be.times(ie)), j.comparedTo(x) != 1; )
|
|
69760
69785
|
B = ie, ie = j, pe = X.plus(be.times(j = pe)), X = j, L = Y.minus(be.times(j = L)), Y = j;
|
|
69761
|
-
return j = R(x.minus(B), ie, 0, 1), X = X.plus(j.times(pe)), B = B.plus(j.times(ie)), X.s = pe.s =
|
|
69762
|
-
R(X, B, W, V).minus(
|
|
69786
|
+
return j = R(x.minus(B), ie, 0, 1), X = X.plus(j.times(pe)), B = B.plus(j.times(ie)), X.s = pe.s = je.s, W = W * 2, Ce = R(pe, ie, W, V).minus(je).abs().comparedTo(
|
|
69787
|
+
R(X, B, W, V).minus(je).abs()
|
|
69763
69788
|
) < 1 ? [pe, ie] : [X, B], ce = K, Ce;
|
|
69764
69789
|
}, O.toNumber = function() {
|
|
69765
69790
|
return +oe(this);
|
|
@@ -94726,67 +94751,67 @@ function vze(t) {
|
|
|
94726
94751
|
return [1900, e];
|
|
94727
94752
|
}
|
|
94728
94753
|
const N6 = {
|
|
94729
|
-
bg: () => import("./bg.min-
|
|
94730
|
-
"cs-CZ": () => import("./cs-CZ.min-
|
|
94731
|
-
"da-DK": () => import("./da-DK.min-
|
|
94732
|
-
"de-AT": () => import("./de-AT.min-
|
|
94733
|
-
"de-CH": () => import("./de-CH.min-
|
|
94734
|
-
"de-DE": () => import("./de-DE.min-
|
|
94735
|
-
"de-LI": () => import("./de-LI.min-
|
|
94736
|
-
el: () => import("./el.min-
|
|
94737
|
-
"en-AU": () => import("./en-AU.min-
|
|
94738
|
-
"en-GB": () => import("./en-GB.min-
|
|
94739
|
-
"en-IE": () => import("./en-IE.min-
|
|
94740
|
-
"en-NZ": () => import("./en-NZ.min-
|
|
94741
|
-
"en-ZA": () => import("./en-ZA.min-
|
|
94742
|
-
"es-AR": () => import("./es-AR.min-
|
|
94743
|
-
"es-CL": () => import("./es-CL.min-
|
|
94744
|
-
"es-CO": () => import("./es-CO.min-
|
|
94745
|
-
"es-CR": () => import("./es-CR.min-
|
|
94746
|
-
"es-ES": () => import("./es-ES.min-
|
|
94747
|
-
"es-MX": () => import("./es-MX.min-
|
|
94748
|
-
"es-NI": () => import("./es-NI.min-
|
|
94749
|
-
"es-PE": () => import("./es-PE.min-
|
|
94750
|
-
"es-PR": () => import("./es-PR.min-
|
|
94751
|
-
"es-SV": () => import("./es-SV.min-
|
|
94752
|
-
"et-EE": () => import("./et-EE.min-
|
|
94753
|
-
"fa-IR": () => import("./fa-IR.min-
|
|
94754
|
-
"fi-FI": () => import("./fi-FI.min-
|
|
94755
|
-
"fil-PH": () => import("./fil-PH.min-
|
|
94756
|
-
"fr-CA": () => import("./fr-CA.min-
|
|
94757
|
-
"fr-CH": () => import("./fr-CH.min-
|
|
94758
|
-
"fr-FR": () => import("./fr-FR.min-
|
|
94759
|
-
"he-IL": () => import("./he-IL.min-
|
|
94760
|
-
"hu-HU": () => import("./hu-HU.min-
|
|
94761
|
-
id: () => import("./id.min-
|
|
94762
|
-
"it-CH": () => import("./it-CH.min-
|
|
94763
|
-
"it-IT": () => import("./it-IT.min-
|
|
94764
|
-
"ja-JP": () => import("./ja-JP.min-
|
|
94765
|
-
"ko-KR": () => import("./ko-KR.min-
|
|
94766
|
-
"lv-LV": () => import("./lv-LV.min-
|
|
94767
|
-
"nb-NO": () => import("./nb-NO.min-
|
|
94768
|
-
nb: () => import("./nb.min-
|
|
94769
|
-
"nl-BE": () => import("./nl-BE.min-
|
|
94770
|
-
"nl-NL": () => import("./nl-NL.min-
|
|
94771
|
-
nn: () => import("./nn.min-
|
|
94772
|
-
"pl-PL": () => import("./pl-PL.min-
|
|
94773
|
-
"pt-BR": () => import("./pt-BR.min-
|
|
94774
|
-
"pt-PT": () => import("./pt-PT.min-
|
|
94775
|
-
"ro-RO": () => import("./ro-RO.min-
|
|
94776
|
-
ro: () => import("./ro.min-
|
|
94777
|
-
"ru-RU": () => import("./ru-RU.min-
|
|
94778
|
-
"ru-UA": () => import("./ru-UA.min-
|
|
94779
|
-
"sk-SK": () => import("./sk-SK.min-
|
|
94780
|
-
sl: () => import("./sl.min-
|
|
94781
|
-
"sr-Cyrl-RS": () => import("./sr-Cyrl-RS.min-
|
|
94782
|
-
"sv-SE": () => import("./sv-SE.min-
|
|
94783
|
-
"th-TH": () => import("./th-TH.min-
|
|
94784
|
-
"tr-TR": () => import("./tr-TR.min-
|
|
94785
|
-
"uk-UA": () => import("./uk-UA.min-
|
|
94786
|
-
"zh-CN": () => import("./zh-CN.min-
|
|
94787
|
-
"zh-MO": () => import("./zh-MO.min-
|
|
94788
|
-
"zh-SG": () => import("./zh-SG.min-
|
|
94789
|
-
"zh-TW": () => import("./zh-TW.min-
|
|
94754
|
+
bg: () => import("./bg.min-D8RbATdP.js").then((t) => t.b),
|
|
94755
|
+
"cs-CZ": () => import("./cs-CZ.min-BTXgXJQn.js").then((t) => t.c),
|
|
94756
|
+
"da-DK": () => import("./da-DK.min-zg4ocmoo.js").then((t) => t.d),
|
|
94757
|
+
"de-AT": () => import("./de-AT.min-Cam_lHRZ.js").then((t) => t.d),
|
|
94758
|
+
"de-CH": () => import("./de-CH.min-BEe0h7cQ.js").then((t) => t.d),
|
|
94759
|
+
"de-DE": () => import("./de-DE.min-BIdRJmhd.js").then((t) => t.d),
|
|
94760
|
+
"de-LI": () => import("./de-LI.min-Dw4MT5Gy.js").then((t) => t.d),
|
|
94761
|
+
el: () => import("./el.min-Dd92qbiZ.js").then((t) => t.e),
|
|
94762
|
+
"en-AU": () => import("./en-AU.min-cpi9JDyK.js").then((t) => t.e),
|
|
94763
|
+
"en-GB": () => import("./en-GB.min-DwjQz0ej.js").then((t) => t.e),
|
|
94764
|
+
"en-IE": () => import("./en-IE.min-CSvBhybh.js").then((t) => t.e),
|
|
94765
|
+
"en-NZ": () => import("./en-NZ.min-DuZsfNbU.js").then((t) => t.e),
|
|
94766
|
+
"en-ZA": () => import("./en-ZA.min-MvqeqzXK.js").then((t) => t.e),
|
|
94767
|
+
"es-AR": () => import("./es-AR.min-Cc-sdCQn.js").then((t) => t.e),
|
|
94768
|
+
"es-CL": () => import("./es-CL.min-CokVDFCX.js").then((t) => t.e),
|
|
94769
|
+
"es-CO": () => import("./es-CO.min-yf6cwriR.js").then((t) => t.e),
|
|
94770
|
+
"es-CR": () => import("./es-CR.min-Xd7NzN5U.js").then((t) => t.e),
|
|
94771
|
+
"es-ES": () => import("./es-ES.min-xKytlfsz.js").then((t) => t.e),
|
|
94772
|
+
"es-MX": () => import("./es-MX.min-CKdGRIfr.js").then((t) => t.e),
|
|
94773
|
+
"es-NI": () => import("./es-NI.min-CKBI8yQx.js").then((t) => t.e),
|
|
94774
|
+
"es-PE": () => import("./es-PE.min-oo9iBLSc.js").then((t) => t.e),
|
|
94775
|
+
"es-PR": () => import("./es-PR.min-CqAdtC-E.js").then((t) => t.e),
|
|
94776
|
+
"es-SV": () => import("./es-SV.min-98OHTzwf.js").then((t) => t.e),
|
|
94777
|
+
"et-EE": () => import("./et-EE.min-BoyA31lC.js").then((t) => t.e),
|
|
94778
|
+
"fa-IR": () => import("./fa-IR.min-C3c1TjL8.js").then((t) => t.f),
|
|
94779
|
+
"fi-FI": () => import("./fi-FI.min-9hkxJv7b.js").then((t) => t.f),
|
|
94780
|
+
"fil-PH": () => import("./fil-PH.min-Cw4zFj1H.js").then((t) => t.f),
|
|
94781
|
+
"fr-CA": () => import("./fr-CA.min-CXIKYt7X.js").then((t) => t.f),
|
|
94782
|
+
"fr-CH": () => import("./fr-CH.min-BjKi-VVk.js").then((t) => t.f),
|
|
94783
|
+
"fr-FR": () => import("./fr-FR.min-DYaUupf4.js").then((t) => t.f),
|
|
94784
|
+
"he-IL": () => import("./he-IL.min-CHmUxibL.js").then((t) => t.h),
|
|
94785
|
+
"hu-HU": () => import("./hu-HU.min-BALH7uVE.js").then((t) => t.h),
|
|
94786
|
+
id: () => import("./id.min-ESVDw3w9.js").then((t) => t.i),
|
|
94787
|
+
"it-CH": () => import("./it-CH.min-DJ7y9gfp.js").then((t) => t.i),
|
|
94788
|
+
"it-IT": () => import("./it-IT.min-B8oqtFGY.js").then((t) => t.i),
|
|
94789
|
+
"ja-JP": () => import("./ja-JP.min-BCWGjrfe.js").then((t) => t.j),
|
|
94790
|
+
"ko-KR": () => import("./ko-KR.min-L-1sKmcc.js").then((t) => t.k),
|
|
94791
|
+
"lv-LV": () => import("./lv-LV.min-CtiHuIPz.js").then((t) => t.l),
|
|
94792
|
+
"nb-NO": () => import("./nb-NO.min-Uvpw8Xxu.js").then((t) => t.n),
|
|
94793
|
+
nb: () => import("./nb.min-HIk3iltk.js").then((t) => t.n),
|
|
94794
|
+
"nl-BE": () => import("./nl-BE.min-Bm466Zi3.js").then((t) => t.n),
|
|
94795
|
+
"nl-NL": () => import("./nl-NL.min-DvxJxYft.js").then((t) => t.n),
|
|
94796
|
+
nn: () => import("./nn.min-ChcXfQ3C.js").then((t) => t.n),
|
|
94797
|
+
"pl-PL": () => import("./pl-PL.min-Cbxl7aUQ.js").then((t) => t.p),
|
|
94798
|
+
"pt-BR": () => import("./pt-BR.min-CD1ODKQS.js").then((t) => t.p),
|
|
94799
|
+
"pt-PT": () => import("./pt-PT.min-BJ8kB1eg.js").then((t) => t.p),
|
|
94800
|
+
"ro-RO": () => import("./ro-RO.min-BRqL6KSR.js").then((t) => t.r),
|
|
94801
|
+
ro: () => import("./ro.min-BRqL6KSR.js").then((t) => t.r),
|
|
94802
|
+
"ru-RU": () => import("./ru-RU.min-p_uhJ37b.js").then((t) => t.r),
|
|
94803
|
+
"ru-UA": () => import("./ru-UA.min-Bmqpatid.js").then((t) => t.r),
|
|
94804
|
+
"sk-SK": () => import("./sk-SK.min-CtdExu8J.js").then((t) => t.s),
|
|
94805
|
+
sl: () => import("./sl.min-Orpp0Tf2.js").then((t) => t.s),
|
|
94806
|
+
"sr-Cyrl-RS": () => import("./sr-Cyrl-RS.min-BZDZeTAH.js").then((t) => t.s),
|
|
94807
|
+
"sv-SE": () => import("./sv-SE.min-D82Y2vcP.js").then((t) => t.s),
|
|
94808
|
+
"th-TH": () => import("./th-TH.min-DhCzpuS2.js").then((t) => t.t),
|
|
94809
|
+
"tr-TR": () => import("./tr-TR.min-f6ptybhU.js").then((t) => t.t),
|
|
94810
|
+
"uk-UA": () => import("./uk-UA.min-C3Ntf-Ew.js").then((t) => t.u),
|
|
94811
|
+
"zh-CN": () => import("./zh-CN.min-8EHOUZII.js").then((t) => t.z),
|
|
94812
|
+
"zh-MO": () => import("./zh-MO.min-BEGBN-vZ.js").then((t) => t.z),
|
|
94813
|
+
"zh-SG": () => import("./zh-SG.min-DNAGNc0i.js").then((t) => t.z),
|
|
94814
|
+
"zh-TW": () => import("./zh-TW.min-DlWET13V.js").then((t) => t.z)
|
|
94790
94815
|
}, bze = async (t) => Promise.all(
|
|
94791
94816
|
t.filter((e) => !e.hiddenInReviewState).map(async (e) => {
|
|
94792
94817
|
var i, s, o, l, c, d;
|
|
@@ -94907,6 +94932,11 @@ const N6 = {
|
|
|
94907
94932
|
...a,
|
|
94908
94933
|
renderer: "ivtNumeric"
|
|
94909
94934
|
};
|
|
94935
|
+
case "phone":
|
|
94936
|
+
return {
|
|
94937
|
+
...a,
|
|
94938
|
+
type: "text"
|
|
94939
|
+
};
|
|
94910
94940
|
}
|
|
94911
94941
|
return a;
|
|
94912
94942
|
})
|
|
@@ -95628,15 +95658,21 @@ const zze = (t, e, r) => pa(
|
|
|
95628
95658
|
l,
|
|
95629
95659
|
c
|
|
95630
95660
|
);
|
|
95631
|
-
case "phone":
|
|
95661
|
+
case "phone": {
|
|
95662
|
+
const O = o.autoFixOptions || {
|
|
95663
|
+
countries: o.countries,
|
|
95664
|
+
withInternationalCode: o.withInternationalCode ?? !1
|
|
95665
|
+
};
|
|
95632
95666
|
return Pq(
|
|
95633
95667
|
{
|
|
95634
95668
|
...d,
|
|
95635
|
-
countries: o.countries
|
|
95669
|
+
countries: O.countries || o.countries,
|
|
95670
|
+
withInternationalCode: O.withInternationalCode ?? !1
|
|
95636
95671
|
},
|
|
95637
95672
|
l,
|
|
95638
95673
|
c
|
|
95639
95674
|
);
|
|
95675
|
+
}
|
|
95640
95676
|
case "date": {
|
|
95641
95677
|
const O = o.autoFixOptions || {
|
|
95642
95678
|
parsePatterns: o.parsePatterns,
|
|
@@ -96909,10 +96945,10 @@ function une(t, e) {
|
|
|
96909
96945
|
() => {
|
|
96910
96946
|
const W = Math.min(i().length, s().length), K = [], Y = new Array(W), X = new yu();
|
|
96911
96947
|
for (let be = 0; be < W; be++) {
|
|
96912
|
-
const Ce = new yu(), Ne = i()[be],
|
|
96948
|
+
const Ce = new yu(), Ne = i()[be], je = s()[be];
|
|
96913
96949
|
for (const ze of o()) {
|
|
96914
96950
|
const ot = ze.key;
|
|
96915
|
-
AKe(Ne == null ? void 0 : Ne[ot],
|
|
96951
|
+
AKe(Ne == null ? void 0 : Ne[ot], je == null ? void 0 : je[ot]) || (Ce.add(ot), X.add(O(be, ot)));
|
|
96916
96952
|
}
|
|
96917
96953
|
Y[be] = Ce, Ce.size && K.push(be);
|
|
96918
96954
|
}
|
|
@@ -96981,7 +97017,7 @@ function une(t, e) {
|
|
|
96981
97017
|
J(X);
|
|
96982
97018
|
var be = he(X);
|
|
96983
97019
|
Xn(be, 1, o, (Ce) => Ce.key, (Ce, Ne) => {
|
|
96984
|
-
var
|
|
97020
|
+
var je = VKe(), ze = ne(je);
|
|
96985
97021
|
{
|
|
96986
97022
|
var ot = (Je) => {
|
|
96987
97023
|
var et = BKe(), _t = ne(et), Le = ne(_t, !0);
|
|
@@ -97029,9 +97065,9 @@ function une(t, e) {
|
|
|
97029
97065
|
}) ? Je(ot) : Je(ct, !1);
|
|
97030
97066
|
});
|
|
97031
97067
|
}
|
|
97032
|
-
J(
|
|
97068
|
+
J(je), Qe(
|
|
97033
97069
|
(Je) => {
|
|
97034
|
-
st(
|
|
97070
|
+
st(je, "headers", (y(K), y(Ne), Ee(() => "row-" + (y(K) + 1) + " col-" + y(Ne).key))), st(je, "data-field", (y(Ne), Ee(() => y(Ne).key))), st(je, "data-rowindex", y(K)), st(je, "data-changed", Je);
|
|
97035
97071
|
},
|
|
97036
97072
|
[
|
|
97037
97073
|
() => (y(S), y(K), y(Ne), Ee(() => {
|
|
@@ -97040,7 +97076,7 @@ function une(t, e) {
|
|
|
97040
97076
|
}))
|
|
97041
97077
|
],
|
|
97042
97078
|
Wr
|
|
97043
|
-
), $e(Ce,
|
|
97079
|
+
), $e(Ce, je);
|
|
97044
97080
|
}), J(Y), Qe(() => {
|
|
97045
97081
|
st(Y, "data-rowindex", y(K)), st(X, "id", "row-" + (y(K) + 1)), ht(pe, y(K) + 1);
|
|
97046
97082
|
}), $e(W, Y);
|
|
@@ -97050,15 +97086,15 @@ function une(t, e) {
|
|
|
97050
97086
|
var T = (W) => {
|
|
97051
97087
|
var K = KKe(), Y = ne(K), X = ne(Y), pe = ne(X);
|
|
97052
97088
|
{
|
|
97053
|
-
var be = (
|
|
97089
|
+
var be = (je) => {
|
|
97054
97090
|
var ze = jKe();
|
|
97055
|
-
$e(
|
|
97056
|
-
}, Ce = (
|
|
97091
|
+
$e(je, ze);
|
|
97092
|
+
}, Ce = (je) => {
|
|
97057
97093
|
var ze = GKe();
|
|
97058
|
-
$e(
|
|
97094
|
+
$e(je, ze);
|
|
97059
97095
|
};
|
|
97060
|
-
Fe(pe, (
|
|
97061
|
-
d() ?
|
|
97096
|
+
Fe(pe, (je) => {
|
|
97097
|
+
d() ? je(be) : je(Ce, !1);
|
|
97062
97098
|
});
|
|
97063
97099
|
}
|
|
97064
97100
|
var Ne = he(pe, 2);
|
|
@@ -97116,15 +97152,15 @@ function une(t, e) {
|
|
|
97116
97152
|
var K = _i(), Y = yr(K);
|
|
97117
97153
|
{
|
|
97118
97154
|
var X = (be) => {
|
|
97119
|
-
var Ce = ZKe(), Ne = yr(Ce),
|
|
97155
|
+
var Ce = ZKe(), Ne = yr(Ce), je = ne(Ne, !0);
|
|
97120
97156
|
J(Ne);
|
|
97121
97157
|
var ze = he(Ne, 2), ot = ne(ze, !0);
|
|
97122
97158
|
J(ze), Ar(), Qe(() => {
|
|
97123
|
-
ht(
|
|
97159
|
+
ht(je, y(r)), ht(ot, (y(k), Ee(() => y(k).length)));
|
|
97124
97160
|
}), $e(be, Ce);
|
|
97125
97161
|
}, pe = (be) => {
|
|
97126
|
-
var Ce = XKe(), Ne = yr(Ce),
|
|
97127
|
-
J(Ne), Ar(), Qe(() => ht(
|
|
97162
|
+
var Ce = XKe(), Ne = yr(Ce), je = ne(Ne, !0);
|
|
97163
|
+
J(Ne), Ar(), Qe(() => ht(je, (y(k), Ee(() => y(k).length)))), $e(be, Ce);
|
|
97128
97164
|
};
|
|
97129
97165
|
Fe(Y, (be) => {
|
|
97130
97166
|
y(p) ? be(X) : be(pe, !1);
|
|
@@ -98440,7 +98476,7 @@ function kne(t, e) {
|
|
|
98440
98476
|
const z = () => y(c);
|
|
98441
98477
|
let ee = ye(e, "searchable", 12, !0), oe = ye(e, "inputStyles", 12, ""), x = ye(e, "clearable", 12, !0), L = ye(e, "loading", 12, !1), B = ye(e, "listOpen", 12, !1), ie, j = ye(e, "debounce", 12, (_e, qe = 1) => {
|
|
98442
98478
|
clearTimeout(ie), ie = setTimeout(_e, qe);
|
|
98443
|
-
}), W = ye(e, "debounceWait", 12, 300), K = ye(e, "hideEmptyState", 12, !1), Y = ye(e, "inputAttributes", 28, () => ({})), X = ye(e, "listAutoWidth", 12, !0), pe = ye(e, "showChevron", 12, !1), be = ye(e, "listOffset", 12, 5), Ce = ye(e, "hoverItemIndex", 12, 0), Ne = ye(e, "floatingConfig", 28, () => ({})),
|
|
98479
|
+
}), W = ye(e, "debounceWait", 12, 300), K = ye(e, "hideEmptyState", 12, !1), Y = ye(e, "inputAttributes", 28, () => ({})), X = ye(e, "listAutoWidth", 12, !0), pe = ye(e, "showChevron", 12, !1), be = ye(e, "listOffset", 12, 5), Ce = ye(e, "hoverItemIndex", 12, 0), Ne = ye(e, "floatingConfig", 28, () => ({})), je = ye(e, "class", 12, ""), ze = /* @__PURE__ */ Ge(), ot = /* @__PURE__ */ Ge(), ct = /* @__PURE__ */ Ge(), Je = /* @__PURE__ */ Ge();
|
|
98444
98480
|
function et() {
|
|
98445
98481
|
if (typeof E() == "string") {
|
|
98446
98482
|
let _e = (H() || []).find((qe) => qe[we()] === E());
|
|
@@ -99185,7 +99221,7 @@ function kne(t, e) {
|
|
|
99185
99221
|
}
|
|
99186
99222
|
return J(Is), ud(() => Ut("pointerup", Is, ou(Ua))), ta(Is, (_e) => _(_e), () => _()), Dp(Is, (_e) => Kr == null ? void 0 : Kr(_e)), Qe(
|
|
99187
99223
|
(_e) => {
|
|
99188
|
-
Ns = en(Is, 1, `svelte-select ${
|
|
99224
|
+
Ns = en(Is, 1, `svelte-select ${je() ?? ""}`, "svelte-82qwg8", Ns, _e), Mu(Is, Se());
|
|
99189
99225
|
},
|
|
99190
99226
|
[
|
|
99191
99227
|
() => ({
|
|
@@ -99466,10 +99502,10 @@ function kne(t, e) {
|
|
|
99466
99502
|
Ne(_e), ve();
|
|
99467
99503
|
},
|
|
99468
99504
|
get class() {
|
|
99469
|
-
return
|
|
99505
|
+
return je();
|
|
99470
99506
|
},
|
|
99471
99507
|
set class(_e) {
|
|
99472
|
-
|
|
99508
|
+
je(_e), ve();
|
|
99473
99509
|
},
|
|
99474
99510
|
get ariaValues() {
|
|
99475
99511
|
return fo();
|
|
@@ -100448,7 +100484,7 @@ function Fne(t, e) {
|
|
|
100448
100484
|
return n();
|
|
100449
100485
|
},
|
|
100450
100486
|
get fieldPath() {
|
|
100451
|
-
return Ae(
|
|
100487
|
+
return Ae(Ye), Ee(() => Ye.ClampRange);
|
|
100452
100488
|
}
|
|
100453
100489
|
}), Ar(2), J(a), $e(t, a), ft({
|
|
100454
100490
|
get value() {
|
|
@@ -100612,7 +100648,7 @@ function Wne(t, e) {
|
|
|
100612
100648
|
return n();
|
|
100613
100649
|
},
|
|
100614
100650
|
get fieldPath() {
|
|
100615
|
-
return Ae(
|
|
100651
|
+
return Ae(Ye), Ee(() => Ye.NormalizeUrls);
|
|
100616
100652
|
}
|
|
100617
100653
|
}), Ar(2), J(a), $e(t, a), ft({
|
|
100618
100654
|
get value() {
|
|
@@ -103842,7 +103878,7 @@ const An = h_({
|
|
|
103842
103878
|
max: Tc().optional().nullable()
|
|
103843
103879
|
}).refine((t) => t.min != null || t.max != null, {
|
|
103844
103880
|
message: "Either min or max must be provided",
|
|
103845
|
-
path: [
|
|
103881
|
+
path: [Ye.ClampRange]
|
|
103846
103882
|
}), XXe = h_({
|
|
103847
103883
|
decimalHandling: z1(["drop", "round", "ceil", "floor"]).optional(),
|
|
103848
103884
|
decimalPlaces: Tc().min(0).max(10).optional(),
|
|
@@ -103915,46 +103951,46 @@ const An = h_({
|
|
|
103915
103951
|
resolver: fJe
|
|
103916
103952
|
}), mJe = {
|
|
103917
103953
|
// Simple transformers
|
|
103918
|
-
[
|
|
103919
|
-
[
|
|
103920
|
-
[
|
|
103921
|
-
[
|
|
103922
|
-
[
|
|
103923
|
-
[
|
|
103954
|
+
[Ye.TrimWhitespace]: HXe,
|
|
103955
|
+
[Ye.ToUpperCase]: UXe,
|
|
103956
|
+
[Ye.ToLowerCase]: BXe,
|
|
103957
|
+
[Ye.StripHtmlTags]: WXe,
|
|
103958
|
+
[Ye.NormalizeZScore]: VXe,
|
|
103959
|
+
[Ye.FormatBooleans]: YXe,
|
|
103924
103960
|
// Text transformers
|
|
103925
|
-
[
|
|
103926
|
-
[
|
|
103927
|
-
[
|
|
103928
|
-
[
|
|
103929
|
-
[
|
|
103961
|
+
[Ye.TitleCaseText]: jXe,
|
|
103962
|
+
[Ye.DefaultValue]: GXe,
|
|
103963
|
+
[Ye.PadString]: zXe,
|
|
103964
|
+
[Ye.TruncateText]: KXe,
|
|
103965
|
+
[Ye.RegexReplace]: qXe,
|
|
103930
103966
|
// Number transformers
|
|
103931
|
-
[
|
|
103932
|
-
[
|
|
103933
|
-
[
|
|
103934
|
-
[
|
|
103967
|
+
[Ye.ClampRange]: ZXe,
|
|
103968
|
+
[Ye.CleanNumbers]: JXe,
|
|
103969
|
+
[Ye.RoundNumbers]: QXe,
|
|
103970
|
+
[Ye.ScaleNumbers]: eJe,
|
|
103935
103971
|
// Date/Time transformers
|
|
103936
|
-
[
|
|
103937
|
-
[
|
|
103972
|
+
[Ye.FormatDates]: tJe,
|
|
103973
|
+
[Ye.FillWithTimestamp]: rJe,
|
|
103938
103974
|
// ID/UUID transformers
|
|
103939
|
-
[
|
|
103940
|
-
[
|
|
103975
|
+
[Ye.AutoIncrementIds]: nJe,
|
|
103976
|
+
[Ye.GenerateUUID]: aJe,
|
|
103941
103977
|
// Communication transformers
|
|
103942
|
-
[
|
|
103943
|
-
[
|
|
103944
|
-
[
|
|
103978
|
+
[Ye.FormatEmails]: sJe,
|
|
103979
|
+
[Ye.FormatPhoneNumbers]: oJe,
|
|
103980
|
+
[Ye.NormalizeUrls]: lJe,
|
|
103945
103981
|
// Advanced transformers
|
|
103946
|
-
[
|
|
103947
|
-
[
|
|
103982
|
+
[Ye.MapCountryNames]: cJe,
|
|
103983
|
+
[Ye.CombineColumns]: dJe,
|
|
103948
103984
|
// Experimental transformers
|
|
103949
|
-
[
|
|
103950
|
-
[
|
|
103985
|
+
[Ye.FuzzyFix]: uJe,
|
|
103986
|
+
[Ye.MapToEnum]: hJe
|
|
103951
103987
|
};
|
|
103952
103988
|
var pJe = /* @__PURE__ */ Me('<div class="flex flex-col gap-2"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div>'), gJe = /* @__PURE__ */ Me('<div slot="footer" class="flex justify-end gap-2"><button class="btn btn-outline" type="button">Cancel</button> <button class="btn btn-primary" type="submit">Add</button></div>');
|
|
103953
103989
|
function eae(t, e) {
|
|
103954
103990
|
ut(e, !1);
|
|
103955
103991
|
let r = ye(e, "open", 12, !1), n = ye(e, "onClose", 12), a = ye(e, "onAdd", 12), i = /* @__PURE__ */ Ge({
|
|
103956
|
-
action:
|
|
103957
|
-
payload: U_[
|
|
103992
|
+
action: Ye.ToUpperCase,
|
|
103993
|
+
payload: U_[Ye.ToUpperCase]
|
|
103958
103994
|
}), s = /* @__PURE__ */ Ge({}), o = !1;
|
|
103959
103995
|
function l() {
|
|
103960
103996
|
if (!o)
|
|
@@ -103974,8 +104010,8 @@ function eae(t, e) {
|
|
|
103974
104010
|
}
|
|
103975
104011
|
function c(p) {
|
|
103976
104012
|
p.preventDefault(), o = !0, l() && (a()({ ...y(i) }), eo(i, y(i).payload = {
|
|
103977
|
-
action:
|
|
103978
|
-
payload: U_[
|
|
104013
|
+
action: Ye.ToUpperCase,
|
|
104014
|
+
payload: U_[Ye.ToUpperCase]
|
|
103979
104015
|
}), n()());
|
|
103980
104016
|
}
|
|
103981
104017
|
const d = (p) => {
|
|
@@ -104025,7 +104061,7 @@ function eae(t, e) {
|
|
|
104025
104061
|
Hne(Le);
|
|
104026
104062
|
};
|
|
104027
104063
|
Fe(S, (Le) => {
|
|
104028
|
-
y(i), Ae(
|
|
104064
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.TrimWhitespace) && Le(P);
|
|
104029
104065
|
});
|
|
104030
104066
|
}
|
|
104031
104067
|
var I = he(S, 2);
|
|
@@ -104034,7 +104070,7 @@ function eae(t, e) {
|
|
|
104034
104070
|
xne(Le);
|
|
104035
104071
|
};
|
|
104036
104072
|
Fe(I, (Le) => {
|
|
104037
|
-
y(i), Ae(
|
|
104073
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.ToUpperCase) && Le(R);
|
|
104038
104074
|
});
|
|
104039
104075
|
}
|
|
104040
104076
|
var E = he(I, 2);
|
|
@@ -104043,7 +104079,7 @@ function eae(t, e) {
|
|
|
104043
104079
|
One(Le);
|
|
104044
104080
|
};
|
|
104045
104081
|
Fe(E, (Le) => {
|
|
104046
|
-
y(i), Ae(
|
|
104082
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.ToLowerCase) && Le(F);
|
|
104047
104083
|
});
|
|
104048
104084
|
}
|
|
104049
104085
|
var O = he(E, 2);
|
|
@@ -104052,7 +104088,7 @@ function eae(t, e) {
|
|
|
104052
104088
|
Lne(Le);
|
|
104053
104089
|
};
|
|
104054
104090
|
Fe(O, (Le) => {
|
|
104055
|
-
y(i), Ae(
|
|
104091
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.StripHtmlTags) && Le(D);
|
|
104056
104092
|
});
|
|
104057
104093
|
}
|
|
104058
104094
|
var H = he(O, 2);
|
|
@@ -104061,7 +104097,7 @@ function eae(t, e) {
|
|
|
104061
104097
|
Une(Le);
|
|
104062
104098
|
};
|
|
104063
104099
|
Fe(H, (Le) => {
|
|
104064
|
-
y(i), Ae(
|
|
104100
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.NormalizeZScore) && Le(V);
|
|
104065
104101
|
});
|
|
104066
104102
|
}
|
|
104067
104103
|
var te = he(H, 2);
|
|
@@ -104070,7 +104106,7 @@ function eae(t, e) {
|
|
|
104070
104106
|
Rne(Le);
|
|
104071
104107
|
};
|
|
104072
104108
|
Fe(te, (Le) => {
|
|
104073
|
-
y(i), Ae(
|
|
104109
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.FormatBooleans) && Le(Q);
|
|
104074
104110
|
});
|
|
104075
104111
|
}
|
|
104076
104112
|
var ue = he(te, 2);
|
|
@@ -104083,7 +104119,7 @@ function eae(t, e) {
|
|
|
104083
104119
|
});
|
|
104084
104120
|
};
|
|
104085
104121
|
Fe(ue, (Le) => {
|
|
104086
|
-
y(i), Ae(
|
|
104122
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.TitleCaseText) && Le(ce);
|
|
104087
104123
|
});
|
|
104088
104124
|
}
|
|
104089
104125
|
var we = he(ue, 2);
|
|
@@ -104099,7 +104135,7 @@ function eae(t, e) {
|
|
|
104099
104135
|
});
|
|
104100
104136
|
};
|
|
104101
104137
|
Fe(we, (Le) => {
|
|
104102
|
-
y(i), Ae(
|
|
104138
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.DefaultValue) && Le(me);
|
|
104103
104139
|
});
|
|
104104
104140
|
}
|
|
104105
104141
|
var Se = he(we, 2);
|
|
@@ -104115,7 +104151,7 @@ function eae(t, e) {
|
|
|
104115
104151
|
});
|
|
104116
104152
|
};
|
|
104117
104153
|
Fe(Se, (Le) => {
|
|
104118
|
-
y(i), Ae(
|
|
104154
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.PadString) && Le(ae);
|
|
104119
104155
|
});
|
|
104120
104156
|
}
|
|
104121
104157
|
var U = he(Se, 2);
|
|
@@ -104131,7 +104167,7 @@ function eae(t, e) {
|
|
|
104131
104167
|
});
|
|
104132
104168
|
};
|
|
104133
104169
|
Fe(U, (Le) => {
|
|
104134
|
-
y(i), Ae(
|
|
104170
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.TruncateText) && Le(q);
|
|
104135
104171
|
});
|
|
104136
104172
|
}
|
|
104137
104173
|
var b = he(U, 2);
|
|
@@ -104147,7 +104183,7 @@ function eae(t, e) {
|
|
|
104147
104183
|
});
|
|
104148
104184
|
};
|
|
104149
104185
|
Fe(b, (Le) => {
|
|
104150
|
-
y(i), Ae(
|
|
104186
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.RegexReplace) && Le(T);
|
|
104151
104187
|
});
|
|
104152
104188
|
}
|
|
104153
104189
|
var A = he(b, 2);
|
|
@@ -104163,7 +104199,7 @@ function eae(t, e) {
|
|
|
104163
104199
|
});
|
|
104164
104200
|
};
|
|
104165
104201
|
Fe(A, (Le) => {
|
|
104166
|
-
y(i), Ae(
|
|
104202
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.ClampRange) && Le(z);
|
|
104167
104203
|
});
|
|
104168
104204
|
}
|
|
104169
104205
|
var ee = he(A, 2);
|
|
@@ -104179,7 +104215,7 @@ function eae(t, e) {
|
|
|
104179
104215
|
});
|
|
104180
104216
|
};
|
|
104181
104217
|
Fe(ee, (Le) => {
|
|
104182
|
-
y(i), Ae(
|
|
104218
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.CleanNumbers) && Le(oe);
|
|
104183
104219
|
});
|
|
104184
104220
|
}
|
|
104185
104221
|
var x = he(ee, 2);
|
|
@@ -104195,7 +104231,7 @@ function eae(t, e) {
|
|
|
104195
104231
|
});
|
|
104196
104232
|
};
|
|
104197
104233
|
Fe(x, (Le) => {
|
|
104198
|
-
y(i), Ae(
|
|
104234
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.RoundNumbers) && Le(L);
|
|
104199
104235
|
});
|
|
104200
104236
|
}
|
|
104201
104237
|
var B = he(x, 2);
|
|
@@ -104211,7 +104247,7 @@ function eae(t, e) {
|
|
|
104211
104247
|
});
|
|
104212
104248
|
};
|
|
104213
104249
|
Fe(B, (Le) => {
|
|
104214
|
-
y(i), Ae(
|
|
104250
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.ScaleNumbers) && Le(ie);
|
|
104215
104251
|
});
|
|
104216
104252
|
}
|
|
104217
104253
|
var j = he(B, 2);
|
|
@@ -104227,7 +104263,7 @@ function eae(t, e) {
|
|
|
104227
104263
|
});
|
|
104228
104264
|
};
|
|
104229
104265
|
Fe(j, (Le) => {
|
|
104230
|
-
y(i), Ae(
|
|
104266
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.FormatDates) && Le(W);
|
|
104231
104267
|
});
|
|
104232
104268
|
}
|
|
104233
104269
|
var K = he(j, 2);
|
|
@@ -104243,7 +104279,7 @@ function eae(t, e) {
|
|
|
104243
104279
|
});
|
|
104244
104280
|
};
|
|
104245
104281
|
Fe(K, (Le) => {
|
|
104246
|
-
y(i), Ae(
|
|
104282
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.FillWithTimestamp) && Le(Y);
|
|
104247
104283
|
});
|
|
104248
104284
|
}
|
|
104249
104285
|
var X = he(K, 2);
|
|
@@ -104259,7 +104295,7 @@ function eae(t, e) {
|
|
|
104259
104295
|
});
|
|
104260
104296
|
};
|
|
104261
104297
|
Fe(X, (Le) => {
|
|
104262
|
-
y(i), Ae(
|
|
104298
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.AutoIncrementIds) && Le(pe);
|
|
104263
104299
|
});
|
|
104264
104300
|
}
|
|
104265
104301
|
var be = he(X, 2);
|
|
@@ -104275,12 +104311,12 @@ function eae(t, e) {
|
|
|
104275
104311
|
});
|
|
104276
104312
|
};
|
|
104277
104313
|
Fe(be, (Le) => {
|
|
104278
|
-
y(i), Ae(
|
|
104314
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.GenerateUUID) && Le(Ce);
|
|
104279
104315
|
});
|
|
104280
104316
|
}
|
|
104281
104317
|
var Ne = he(be, 2);
|
|
104282
104318
|
{
|
|
104283
|
-
var
|
|
104319
|
+
var je = (Le) => {
|
|
104284
104320
|
qne(Le, {
|
|
104285
104321
|
get value() {
|
|
104286
104322
|
return y(i), Ee(() => y(i).payload);
|
|
@@ -104291,7 +104327,7 @@ function eae(t, e) {
|
|
|
104291
104327
|
});
|
|
104292
104328
|
};
|
|
104293
104329
|
Fe(Ne, (Le) => {
|
|
104294
|
-
y(i), Ae(
|
|
104330
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.FormatPhoneNumbers) && Le(je);
|
|
104295
104331
|
});
|
|
104296
104332
|
}
|
|
104297
104333
|
var ze = he(Ne, 2);
|
|
@@ -104307,7 +104343,7 @@ function eae(t, e) {
|
|
|
104307
104343
|
});
|
|
104308
104344
|
};
|
|
104309
104345
|
Fe(ze, (Le) => {
|
|
104310
|
-
y(i), Ae(
|
|
104346
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.NormalizeUrls) && Le(ot);
|
|
104311
104347
|
});
|
|
104312
104348
|
}
|
|
104313
104349
|
var ct = he(ze, 2);
|
|
@@ -104323,7 +104359,7 @@ function eae(t, e) {
|
|
|
104323
104359
|
});
|
|
104324
104360
|
};
|
|
104325
104361
|
Fe(ct, (Le) => {
|
|
104326
|
-
y(i), Ae(
|
|
104362
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.MapCountryNames) && Le(Je);
|
|
104327
104363
|
});
|
|
104328
104364
|
}
|
|
104329
104365
|
var et = he(ct, 2);
|
|
@@ -104339,7 +104375,7 @@ function eae(t, e) {
|
|
|
104339
104375
|
});
|
|
104340
104376
|
};
|
|
104341
104377
|
Fe(et, (Le) => {
|
|
104342
|
-
y(i), Ae(
|
|
104378
|
+
y(i), Ae(Ye), Ee(() => y(i).action === Ye.CombineColumns) && Le(_t);
|
|
104343
104379
|
});
|
|
104344
104380
|
}
|
|
104345
104381
|
J(_), Ut("select", _, u), $e(v, _);
|
|
@@ -105075,7 +105111,7 @@ function sae(t, e) {
|
|
|
105075
105111
|
pe.value = pe.__value = "warnings";
|
|
105076
105112
|
var be = he(pe);
|
|
105077
105113
|
be.value = be.__value = "duplicates", J(W), J(j), J(b), J(q);
|
|
105078
|
-
var Ce = he(q, 2), Ne = ne(Ce),
|
|
105114
|
+
var Ce = he(q, 2), Ne = ne(Ce), je = ne(Ne), ze = ne(je);
|
|
105079
105115
|
Ss(ze), ze.__change = V;
|
|
105080
105116
|
var ot = he(ze, 2);
|
|
105081
105117
|
n5(ot, {
|
|
@@ -105086,7 +105122,7 @@ function sae(t, e) {
|
|
|
105086
105122
|
$e(Gt, on);
|
|
105087
105123
|
},
|
|
105088
105124
|
$$slots: { default: !0 }
|
|
105089
|
-
}), J(
|
|
105125
|
+
}), J(je), J(Ne);
|
|
105090
105126
|
var ct = he(Ne, 2), Je = ne(ct), et = ne(Je);
|
|
105091
105127
|
Ss(et), et.__change = V;
|
|
105092
105128
|
var _t = he(et, 2);
|
|
@@ -105611,7 +105647,7 @@ function hae(t, e) {
|
|
|
105611
105647
|
];
|
|
105612
105648
|
var Ne = ne(Ce);
|
|
105613
105649
|
cae(Ne, { classes: "size-[1.2em] text-primary" }), Ar(), J(Ce), J(be);
|
|
105614
|
-
var
|
|
105650
|
+
var je = he(be, 2), ze = ne(je);
|
|
105615
105651
|
ze.__click = [
|
|
105616
105652
|
nQe,
|
|
105617
105653
|
m,
|
|
@@ -105619,7 +105655,7 @@ function hae(t, e) {
|
|
|
105619
105655
|
s
|
|
105620
105656
|
];
|
|
105621
105657
|
var ot = ne(ze);
|
|
105622
|
-
dae(ot, { classes: "size-[1.2em] text-primary" }), Ar(), J(ze), J(
|
|
105658
|
+
dae(ot, { classes: "size-[1.2em] text-primary" }), Ar(), J(ze), J(je), Hu(j, () => y(f), (ct) => ke(f, ct)), Hu(pe, () => y(h), (ct) => ke(h, ct)), $e(ee, oe);
|
|
105623
105659
|
};
|
|
105624
105660
|
Fe(A, (ee) => {
|
|
105625
105661
|
I && ee(z);
|
|
@@ -105699,8 +105735,8 @@ function mae(t, e) {
|
|
|
105699
105735
|
Ct(Or).forEach((pe) => {
|
|
105700
105736
|
const be = pe.field.order;
|
|
105701
105737
|
i6(B, ie).forEach((Ce) => {
|
|
105702
|
-
var
|
|
105703
|
-
const Ne = (
|
|
105738
|
+
var je, ze, ot;
|
|
105739
|
+
const Ne = (je = y(f)) == null ? void 0 : je.getCellMeta(Ce, be);
|
|
105704
105740
|
if (Ne) {
|
|
105705
105741
|
const ct = Ja.getError(Ce, be), Je = { ...Ne };
|
|
105706
105742
|
let et = (((ze = Ne.className) == null ? void 0 : ze.toString()) || "").replace(/\bseverity-[ew]\b/g, "").trim();
|
|
@@ -105752,12 +105788,12 @@ function mae(t, e) {
|
|
|
105752
105788
|
}, H = async (x) => {
|
|
105753
105789
|
!(x != null && x.length) || uG(x);
|
|
105754
105790
|
}, V = (x) => {
|
|
105755
|
-
var Ce, Ne,
|
|
105791
|
+
var Ce, Ne, je, ze;
|
|
105756
105792
|
if (x.key !== "Delete" && x.key !== "Backspace") return;
|
|
105757
105793
|
const L = (Ne = (Ce = y(f)) == null ? void 0 : Ce.getActiveEditor) == null ? void 0 : Ne.call(Ce);
|
|
105758
105794
|
if (L != null && L.isOpened())
|
|
105759
105795
|
return;
|
|
105760
|
-
const B = (h == null ? void 0 : h.getHiddenRows()) || [], ie = (
|
|
105796
|
+
const B = (h == null ? void 0 : h.getHiddenRows()) || [], ie = (je = y(f)) == null ? void 0 : je.getSelectedRangeLast();
|
|
105761
105797
|
if (!ie || !(ie.from.col == -1 && ie.from.row === -1))
|
|
105762
105798
|
return;
|
|
105763
105799
|
x.preventDefault(), x.stopImmediatePropagation();
|
|
@@ -106849,7 +106885,7 @@ function RI(t, e) {
|
|
|
106849
106885
|
};
|
|
106850
106886
|
}), D3(() => {
|
|
106851
106887
|
var u, f;
|
|
106852
|
-
n() && !y(s) && (ke(s, !0), JR(n()), Fo.setSdkVersion("1.
|
|
106888
|
+
n() && !y(s) && (ke(s, !0), JR(n()), Fo.setSdkVersion("1.14.0"), Fo.setSessionToken(n().sessionToken), Fo.setPublicKey(n().publicKey), Fo.setSchemaId(n().id), Fo.setSchemaKey(n().key), jz.set(n()), Fo.setEnvironment({
|
|
106853
106889
|
userAgent: typeof navigator < "u" ? navigator.userAgent : void 0,
|
|
106854
106890
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
106855
106891
|
platform: typeof window < "u" ? "web" : typeof process < "u" && ((u = process.versions) != null && u.node) ? "node" : "worker",
|