@ivandt/importer 1.1.1 → 1.2.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-CjBNNCcF.cjs → bg.min-Bu2BuU4X.cjs} +1 -1
- package/dist/{bg.min-DxO-LIai.js → bg.min-CGWnalQE.js} +1 -1
- package/dist/{cs-CZ.min-B3bUJCjX.js → cs-CZ.min-CMsEZOLl.js} +1 -1
- package/dist/{cs-CZ.min-Bd0xzAZJ.cjs → cs-CZ.min-xHHQiggp.cjs} +1 -1
- package/dist/{da-DK.min-GGcfuU1N.js → da-DK.min-CQieim_h.js} +1 -1
- package/dist/{da-DK.min-DF_V8n24.cjs → da-DK.min-f2iVKhV8.cjs} +1 -1
- package/dist/{de-AT.min-1d1ooE8e.js → de-AT.min-BXMWtqfH.js} +1 -1
- package/dist/{de-AT.min-CB2F1Lec.cjs → de-AT.min-DS4MvrTE.cjs} +1 -1
- package/dist/{de-CH.min-DcBLk2kD.js → de-CH.min-BHEDTYjB.js} +1 -1
- package/dist/{de-CH.min-DzS-NI4X.cjs → de-CH.min-D0Uurq-_.cjs} +1 -1
- package/dist/{de-DE.min-Di5OUuBE.js → de-DE.min-DDC6FV6A.js} +1 -1
- package/dist/{de-DE.min-Cy2WKJfe.cjs → de-DE.min-DY7TPs4q.cjs} +1 -1
- package/dist/{de-LI.min-FYlpo8JR.js → de-LI.min-D7Co6DBr.js} +1 -1
- package/dist/{de-LI.min-CHsaD5Yw.cjs → de-LI.min-DkIL_leZ.cjs} +1 -1
- package/dist/{el.min-BeydCcdN.js → el.min-BKa9gOcz.js} +1 -1
- package/dist/{el.min-B_KqlxtS.cjs → el.min-kEX479j4.cjs} +1 -1
- package/dist/{en-AU.min-CXbWpYEP.js → en-AU.min-B8wxCF-U.js} +1 -1
- package/dist/{en-AU.min-Bq6wceV7.cjs → en-AU.min-RPPj1nGn.cjs} +1 -1
- package/dist/{en-GB.min-BYI0PkC-.js → en-GB.min-BCriREcZ.js} +1 -1
- package/dist/{en-GB.min-CL3qck0h.cjs → en-GB.min-Bwci5h78.cjs} +1 -1
- package/dist/{en-IE.min-B2U4fP_x.js → en-IE.min-CXmuSCtg.js} +1 -1
- package/dist/{en-IE.min-pKSvyqQh.cjs → en-IE.min-ZTtklT1k.cjs} +1 -1
- package/dist/{en-NZ.min-7ehAV2li.cjs → en-NZ.min-BKdyImA2.cjs} +1 -1
- package/dist/{en-NZ.min-DANoXIN1.js → en-NZ.min-CAdYH61k.js} +1 -1
- package/dist/{en-ZA.min-C8ZoaxCd.cjs → en-ZA.min-CJQBWAaJ.cjs} +1 -1
- package/dist/{en-ZA.min-CFXTbzMf.js → en-ZA.min-DiktGhqN.js} +1 -1
- package/dist/{es-AR.min-B1WZvYmW.cjs → es-AR.min-CXVh2W7R.cjs} +1 -1
- package/dist/{es-AR.min-BSuiT_uJ.js → es-AR.min-GqUd2EfZ.js} +1 -1
- package/dist/{es-CL.min-DXapYw-a.js → es-CL.min-CWYvvAOP.js} +1 -1
- package/dist/{es-CL.min-C6fG2s0d.cjs → es-CL.min-CpBo8upx.cjs} +1 -1
- package/dist/{es-CO.min-COfuFTRC.cjs → es-CO.min-CvDP-diC.cjs} +1 -1
- package/dist/{es-CO.min-CApbVWa-.js → es-CO.min-oT34kfWN.js} +1 -1
- package/dist/{es-CR.min-Bmx2Mbl2.js → es-CR.min-C-MkMQ0z.js} +1 -1
- package/dist/{es-CR.min-M2PWJJ-8.cjs → es-CR.min-XlR9q_8K.cjs} +1 -1
- package/dist/{es-ES.min-Btj5Er6F.js → es-ES.min-CMO-xfa_.js} +1 -1
- package/dist/{es-ES.min-DG0Hq-nW.cjs → es-ES.min-CPh6aShh.cjs} +1 -1
- package/dist/{es-MX.min-D9G46ecd.js → es-MX.min-BJ6b7vI4.js} +1 -1
- package/dist/{es-MX.min-CLEQVm86.cjs → es-MX.min-BYrIk1ON.cjs} +1 -1
- package/dist/{es-NI.min-BqrHup4f.cjs → es-NI.min-2oczpKZS.cjs} +1 -1
- package/dist/{es-NI.min-Bcd84vaC.js → es-NI.min-CWStIlyd.js} +1 -1
- package/dist/{es-PE.min-DCoCQ6aC.js → es-PE.min-Y80xWh5V.js} +1 -1
- package/dist/{es-PE.min-D8YSxZ9o.cjs → es-PE.min-jwAYWCTN.cjs} +1 -1
- package/dist/{es-PR.min-CdgThosF.cjs → es-PR.min-CzbcFdvG.cjs} +1 -1
- package/dist/{es-PR.min-B_xTZ50F.js → es-PR.min-DQmF3kuV.js} +1 -1
- package/dist/{es-SV.min-D3bOaH6A.js → es-SV.min-Bbrytt9Y.js} +1 -1
- package/dist/{es-SV.min-JV_Dv5QY.cjs → es-SV.min-lpAVqJOO.cjs} +1 -1
- package/dist/{et-EE.min-BlDrd6M9.js → et-EE.min-BUIfMu_a.js} +1 -1
- package/dist/{et-EE.min-BUATPvS0.cjs → et-EE.min-xCL9wvLF.cjs} +1 -1
- package/dist/{fa-IR.min-Teyp7LJW.js → fa-IR.min-B4WmXA35.js} +1 -1
- package/dist/{fa-IR.min-DmaBLDoy.cjs → fa-IR.min-COJNY6iV.cjs} +1 -1
- package/dist/{fi-FI.min-YS-c9lCV.cjs → fi-FI.min-CItL8xRn.cjs} +1 -1
- package/dist/{fi-FI.min-DFTB_pHD.js → fi-FI.min-DRYV8BIJ.js} +1 -1
- package/dist/{fil-PH.min-E2JiT52-.js → fil-PH.min-CH4U4E_I.js} +1 -1
- package/dist/{fil-PH.min-ptFsxesI.cjs → fil-PH.min-DS13aPP6.cjs} +1 -1
- package/dist/{fr-CA.min-DdGG4sdm.cjs → fr-CA.min-BJYakIba.cjs} +1 -1
- package/dist/{fr-CA.min-YVEo9UuB.js → fr-CA.min-P5GQoa1E.js} +1 -1
- package/dist/{fr-CH.min-BwwvGl66.js → fr-CH.min-C3UEBg_S.js} +1 -1
- package/dist/{fr-CH.min-DHCm09aA.cjs → fr-CH.min-xkgg837W.cjs} +1 -1
- package/dist/{fr-FR.min-BURpFxQm.js → fr-FR.min-DohQjhOB.js} +1 -1
- package/dist/{fr-FR.min-DoYVUVRr.cjs → fr-FR.min-sSeNVz4S.cjs} +1 -1
- package/dist/{he-IL.min-CCcCtyZy.js → he-IL.min-BMm7LRjg.js} +1 -1
- package/dist/{he-IL.min-B3VwWwQE.cjs → he-IL.min-BY9iann6.cjs} +1 -1
- package/dist/{hu-HU.min-5fcREnJF.js → hu-HU.min-CC3ZqLLQ.js} +1 -1
- package/dist/{hu-HU.min-CWhDCCN8.cjs → hu-HU.min-DAX_su_1.cjs} +1 -1
- package/dist/{id.min-Djl3NDhR.js → id.min-CTddtqeA.js} +1 -1
- package/dist/{id.min-BN0EQyyj.cjs → id.min-C_ZYr2-d.cjs} +1 -1
- package/dist/{importer-BduxeJBF.cjs → importer-CmUX3IX1.cjs} +191 -191
- package/dist/{importer-x61DaYl4.js → importer-ZSKr18Y1.js} +13496 -13506
- package/dist/importer.cjs.js +1 -1
- package/dist/importer.es.js +1 -1
- package/dist/{it-CH.min-DNYLYNE3.cjs → it-CH.min-CYEvk05M.cjs} +1 -1
- package/dist/{it-CH.min-BW6b1hQS.js → it-CH.min-DGJgcEbV.js} +1 -1
- package/dist/{it-IT.min-DKHYdjuS.cjs → it-IT.min-CWHTUSv5.cjs} +1 -1
- package/dist/{it-IT.min-DSWrq3dw.js → it-IT.min-mOMyngpP.js} +1 -1
- package/dist/{ja-JP.min-CXea25Vw.js → ja-JP.min-CHclqhq-.js} +1 -1
- package/dist/{ja-JP.min-CtyA2Hdj.cjs → ja-JP.min-CeeMHaFb.cjs} +1 -1
- package/dist/{ko-KR.min-Drm-5z8N.cjs → ko-KR.min-1MPnm2pg.cjs} +1 -1
- package/dist/{ko-KR.min-CP7Kqa9q.js → ko-KR.min-D4dcAnr5.js} +1 -1
- package/dist/{lv-LV.min-95G7u-Nr.cjs → lv-LV.min-CHQ6lsjK.cjs} +1 -1
- package/dist/{lv-LV.min-DaXKUDGf.js → lv-LV.min-G05Ls-aE.js} +1 -1
- package/dist/{nb-NO.min-BIpdaEvN.cjs → nb-NO.min-DAY0UzUE.cjs} +1 -1
- package/dist/{nb-NO.min-BKlt7dXh.js → nb-NO.min-LShiSJWL.js} +1 -1
- package/dist/{nb.min-DI2aiM3U.js → nb.min-BkO6JN9t.js} +1 -1
- package/dist/{nb.min-Bfsmnm6w.cjs → nb.min-CP6XhAIK.cjs} +1 -1
- package/dist/{nl-BE.min-acUlRJHm.cjs → nl-BE.min-CAIKRNLE.cjs} +1 -1
- package/dist/{nl-BE.min-57Ypadx3.js → nl-BE.min-DiExlYcL.js} +1 -1
- package/dist/{nl-NL.min-DV1Ge_gi.cjs → nl-NL.min-CXcUrF28.cjs} +1 -1
- package/dist/{nl-NL.min-xUnJGRGH.js → nl-NL.min-Dr1QtZaa.js} +1 -1
- package/dist/{nn.min-BkOE7pv4.cjs → nn.min-DeXmVmaE.cjs} +1 -1
- package/dist/{nn.min-DD7I8Fhc.js → nn.min-It1NgvMr.js} +1 -1
- package/dist/{pl-PL.min-CdTapbbP.cjs → pl-PL.min-Dv3Wjarm.cjs} +1 -1
- package/dist/{pl-PL.min-aEtdISRc.js → pl-PL.min-lROZtHHF.js} +1 -1
- package/dist/{pt-BR.min-DX0YOSIR.cjs → pt-BR.min-BzSpOCo6.cjs} +1 -1
- package/dist/{pt-BR.min-C3FWotzk.js → pt-BR.min-CUoB_zoc.js} +1 -1
- package/dist/{pt-PT.min-ChO55XUU.cjs → pt-PT.min-BL-sI8hu.cjs} +1 -1
- package/dist/{pt-PT.min-C4daC2ht.js → pt-PT.min-CnE6juKq.js} +1 -1
- package/dist/{ro-RO.min-KfT_wZbA.cjs → ro-RO.min-Bhzg35Gk.cjs} +1 -1
- package/dist/{ro-RO.min-DGy3adNd.js → ro-RO.min-VV-hWIub.js} +1 -1
- package/dist/{ro.min-B_RRmeH-.cjs → ro.min-QKlgF8Is.cjs} +1 -1
- package/dist/{ro.min-DGy3adNd.js → ro.min-VV-hWIub.js} +1 -1
- package/dist/{ru-RU.min-DZdAMX10.cjs → ru-RU.min-BSMzUov-.cjs} +1 -1
- package/dist/{ru-RU.min-BXy2LJUj.js → ru-RU.min-CtqhXfyv.js} +1 -1
- package/dist/{ru-UA.min-kN_DKnpP.cjs → ru-UA.min-BJfAUGWg.cjs} +1 -1
- package/dist/{ru-UA.min-CpJ6WL-R.js → ru-UA.min-WJos_g_N.js} +1 -1
- package/dist/{sk-SK.min-CMo7X5eX.cjs → sk-SK.min-eKi43zrt.cjs} +1 -1
- package/dist/{sk-SK.min-C1h-t94N.js → sk-SK.min-mIptDatm.js} +1 -1
- package/dist/{sl.min-CeCW2f5K.cjs → sl.min-CJnA3eFv.cjs} +1 -1
- package/dist/{sl.min-9vlqwutI.js → sl.min-ulrhxQdq.js} +1 -1
- package/dist/{sr-Cyrl-RS.min-BIXDovYZ.js → sr-Cyrl-RS.min-CdDW5ezc.js} +1 -1
- package/dist/{sr-Cyrl-RS.min-DZq1bz5z.cjs → sr-Cyrl-RS.min-Hdj6JE2e.cjs} +1 -1
- package/dist/src/lib/actions/formatPhoneNumbersAction.d.ts +60 -32
- package/dist/src/lib/types/cellTransformerAction.type.d.ts +4 -3
- package/dist/src/lib/types/validators.types.d.ts +4 -3
- package/dist/src/lib/utils/cleanPhoneNumber.d.ts +25 -0
- package/dist/src/lib/utils/hasLeadingPlus.d.ts +1 -0
- package/dist/src/lib/utils/locale.d.ts +1 -0
- package/dist/src/lib/utils/validators/validatePhone.d.ts +2 -0
- package/dist/src/lib/utils/validators/validatePhone.spec.d.ts +1 -0
- package/dist/{sv-SE.min-DtG46fWg.cjs → sv-SE.min-DQh0y8mm.cjs} +1 -1
- package/dist/{sv-SE.min-BCwMhB0Y.js → sv-SE.min-DRcKt6PS.js} +1 -1
- package/dist/{th-TH.min-BqbwtGrJ.cjs → th-TH.min-BhFvIahE.cjs} +1 -1
- package/dist/{th-TH.min-4aw_wXqR.js → th-TH.min-rAerMUOR.js} +1 -1
- package/dist/{tr-TR.min-6yXw0u9R.js → tr-TR.min-CIJ_JDpK.js} +1 -1
- package/dist/{tr-TR.min-Bl-QR_QZ.cjs → tr-TR.min-DfkMO6oO.cjs} +1 -1
- package/dist/{uk-UA.min-DIouTYXW.cjs → uk-UA.min-BfZh6laz.cjs} +1 -1
- package/dist/{uk-UA.min-B7RWSWyU.js → uk-UA.min-XVD-hToP.js} +1 -1
- package/dist/{zh-CN.min-BbKE6j8o.js → zh-CN.min-BJ6_0cPS.js} +1 -1
- package/dist/{zh-CN.min-BgY2ll1l.cjs → zh-CN.min-jJJsHs20.cjs} +1 -1
- package/dist/{zh-MO.min-DF7a-JmF.js → zh-MO.min-D6IZmxbD.js} +1 -1
- package/dist/{zh-MO.min-BIowbJLw.cjs → zh-MO.min-qGJvNHYD.cjs} +1 -1
- package/dist/{zh-SG.min-ChBcgFTD.js → zh-SG.min-BpG_yCrm.js} +1 -1
- package/dist/{zh-SG.min-6LWr2lml.cjs → zh-SG.min-IXjgKIlC.cjs} +1 -1
- package/dist/{zh-TW.min-DGzGd4Wf.cjs → zh-TW.min-DDgvj_M3.cjs} +1 -1
- package/dist/{zh-TW.min-D-BuFj_r.js → zh-TW.min-DStEYhsh.js} +1 -1
- package/package.json +1 -1
- /package/dist/src/lib/utils/{validators/spec/phone.spec.d.ts → cleanPhoneNumber.spec.d.ts} +0 -0
package/dist/importer.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./importer-
|
|
1
|
+
"use strict";require("./importer-CmUX3IX1.cjs");
|
package/dist/importer.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./importer-
|
|
1
|
+
import "./importer-ZSKr18Y1.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in r)){const u=Object.getOwnPropertyDescriptor(t,n);u&&Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}},f=i.exports,a;function m(){return a||(a=1,function(r,o){(function(e,t){r.exports=t()})(f,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Italian
|
|
4
4
|
* locale: Switzerland
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const i=Object.getOwnPropertyDescriptor(t,a);i&&Object.defineProperty(r,a,i.get?i:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,u;function d(){return u||(u=1,function(r,o){(function(e,t){r.exports=t()})(p,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Italian
|
|
4
4
|
* locale: Italy
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const i=Object.getOwnPropertyDescriptor(e,a);i&&Object.defineProperty(r,a,i.get?i:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,u;function f(){return u||(u=1,function(r,o){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Japanese
|
|
4
4
|
* locale: Japan
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const o in e)if(o!=="default"&&!(o in t)){const u=Object.getOwnPropertyDescriptor(e,o);u&&Object.defineProperty(t,o,u.get?u:{enumerable:!0,get:()=>e[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},f=n.exports,s;function p(){return s||(s=1,function(t,i){(function(r,e){t.exports=e()})(f,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Korean
|
|
4
4
|
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,function(r,o){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Latvian
|
|
4
4
|
* locale: Latvia
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,function(r,o){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language: Norwegian Bokmål
|
|
4
4
|
* locale: Norway
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(t,i){for(var r=0;r<i.length;r++){const e=i[r];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const u=Object.getOwnPropertyDescriptor(e,n);u&&Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,a;function b(){return a||(a=1,function(t,i){(function(r,e){t.exports=e()})(f,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Norwegian Bokmål (nb)
|
|
4
4
|
* author : Tim McIntosh (StayinFront NZ)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(n,o){for(var r=0;r<o.length;r++){const e=o[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in n)){const u=Object.getOwnPropertyDescriptor(e,t);u&&Object.defineProperty(n,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,i;function d(){return i||(i=1,function(n,o){(function(r,e){n.exports=e()})(p,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Dutch
|
|
4
4
|
* locale: Belgium
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(n,o){for(var r=0;r<o.length;r++){const e=o[r];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in n)){const u=Object.getOwnPropertyDescriptor(e,t);u&&Object.defineProperty(n,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,i;function d(){return i||(i=1,function(n,o){(function(r,e){n.exports=e()})(p,function(){function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Dutch
|
|
4
4
|
* locale: Netherlands
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function c(r,i){for(var e=0;e<i.length;e++){const n=i[e];if(typeof n!="string"&&!Array.isArray(n)){for(const t in n)if(t!=="default"&&!(t in r)){const u=Object.getOwnPropertyDescriptor(n,t);u&&Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:()=>n[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,a;function m(){return a||(a=1,function(r,i){(function(e,n){r.exports=n()})(f,function(){function e(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Norwegian Nynorsk (nn)
|
|
4
4
|
* author : Tim McIntosh (StayinFront NZ)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("./importer-
|
|
1
|
+
"use strict";const l=require("./importer-CmUX3IX1.cjs");function p(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(e,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},c=n.exports,i;function d(){return i||(i=1,function(r,o){(function(t,e){r.exports=e()})(c,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Polish
|
|
4
4
|
* locale : Poland
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const p=require("./importer-
|
|
1
|
+
"use strict";const p=require("./importer-CmUX3IX1.cjs");function c(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const i=Object.getOwnPropertyDescriptor(t,a);i&&Object.defineProperty(r,a,i.get?i:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},l=n.exports,u;function d(){return u||(u=1,function(r,o){(function(e,t){r.exports=t()})(l,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Portuguese
|
|
4
4
|
* locale : Brazil
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const p=require("./importer-
|
|
1
|
+
"use strict";const p=require("./importer-CmUX3IX1.cjs");function c(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(t,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},l=n.exports,i;function d(){return i||(i=1,function(r,o){(function(e,t){r.exports=t()})(l,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Portuguese
|
|
4
4
|
* locale : Portugal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const o in e)if(o!=="default"&&!(o in r)){const i=Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,u;function d(){return u||(u=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numeral.js language configuration
|
|
3
3
|
* language : Romanian
|
|
4
4
|
* author : Andrei Alecu https://github.com/andreialecu
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const o in e)if(o!=="default"&&!(o in r)){const i=Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}},p=a.exports,u;function d(){return u||(u=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numeral.js language configuration
|
|
3
3
|
* language : Romanian
|
|
4
4
|
* author : Andrei Alecu https://github.com/andreialecu
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const o=Object.getOwnPropertyDescriptor(e,a);o&&Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}},p=u.exports,i;function d(){return i||(i=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Russian
|
|
4
4
|
* locale : Russsia
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const o=Object.getOwnPropertyDescriptor(e,a);o&&Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}},p=u.exports,i;function d(){return i||(i=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Russian
|
|
4
4
|
* locale : Ukraine
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const s=Object.getOwnPropertyDescriptor(e,a);s&&Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,u;function d(){return u||(u=1,function(r,o){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Slovak
|
|
4
4
|
* locale : Slovakia
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("./importer-
|
|
1
|
+
"use strict";const a=require("./importer-CmUX3IX1.cjs");function c(r,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const s=Object.getOwnPropertyDescriptor(e,n);s&&Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,l;function p(){return l||(l=1,function(r,i){(function(t,e){r.exports=e()})(f,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Slovene
|
|
4
4
|
* locale: Slovenia
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("./importer-
|
|
1
|
+
"use strict";const a=require("./importer-CmUX3IX1.cjs");function c(t,i){for(var e=0;e<i.length;e++){const r=i[e];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in t)){const s=Object.getOwnPropertyDescriptor(r,n);s&&Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},f=o.exports,l;function y(){return l||(l=1,function(t,i){(function(e,r){t.exports=r()})(f,function(){function e(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Serbian (sr)
|
|
4
4
|
* country : Serbia (Cyrillic)
|
|
@@ -1,36 +1,64 @@
|
|
|
1
1
|
import { IvtCellValue } from '../types/internal.types';
|
|
2
2
|
import { IFormatPhoneNumbersTransformActionPayload } from '../types';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* -
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
4
|
+
* Smart phone number transformer for a specific column.
|
|
5
|
+
*
|
|
6
|
+
* This action scans each visible cell in the given column, attempts to "fix" any phone numbers,
|
|
7
|
+
* and outputs them in a standardized format — either with or without the international dialing
|
|
8
|
+
* code, depending on `withInternationalCode`.
|
|
9
|
+
*
|
|
10
|
+
* Steps performed for each cell:
|
|
11
|
+
* 1. **Skip non-strings** — Leaves non-string values untouched.
|
|
12
|
+
* 2. **Trim and clean** — Removes surrounding whitespace and non-digit characters (except `+` when present).
|
|
13
|
+
* 3. **Empty check** — Returns an empty string if, after cleaning, nothing remains.
|
|
14
|
+
* 4. **International handling**:
|
|
15
|
+
* - If the cleaned value starts with `+`:
|
|
16
|
+
* - Parses without a default country (`extract: false`) to avoid guessing from context.
|
|
17
|
+
* - If valid and country matches the allowed `countries`, formats the number:
|
|
18
|
+
* - If `withInternationalCode=true`, formats using `.formatInternational()`
|
|
19
|
+
* _(e.g. `+61413900967` → `+61 413 900 967`)_.
|
|
20
|
+
* - If `withInternationalCode=false`, formats as a national number
|
|
21
|
+
* _(e.g. `+61413900967` → `0413 900 967`)_.
|
|
22
|
+
* - Otherwise, leaves the original cell unchanged.
|
|
23
|
+
* 5. **National handling**:
|
|
24
|
+
* - Tries parsing against each allowed country (in order).
|
|
25
|
+
* - On the first match where the parsed country matches and is valid:
|
|
26
|
+
* - If `withInternationalCode=true`, formats as international.
|
|
27
|
+
* - If `withInternationalCode=false`, formats as national.
|
|
28
|
+
* - If no match is found, the original cell is returned unchanged.
|
|
29
|
+
*
|
|
30
|
+
* **Key guarantees**:
|
|
31
|
+
* - Will not “extract” numbers from within surrounding text unless the cleaned result is exactly the number.
|
|
32
|
+
* - Ensures returned numbers match one of the explicitly allowed countries.
|
|
33
|
+
* - Retains user-entered spacing style only when the number cannot be successfully parsed.
|
|
34
|
+
*
|
|
35
|
+
* ---
|
|
36
|
+
* **Examples:**
|
|
37
|
+
*
|
|
38
|
+
* ```ts
|
|
39
|
+
* // 1. Adds international code
|
|
40
|
+
* "0413 900p 967" => "+61 413 900 967" // withInternationalCode = true, countries=['AU']
|
|
41
|
+
*
|
|
42
|
+
* // 2. Keeps international code, but cleans it
|
|
43
|
+
* "+61 413 900p 967" => "+61 413 900 967" // withInternationalCode = true, countries=['AU']
|
|
44
|
+
*
|
|
45
|
+
* // 3. Removes international code
|
|
46
|
+
* "+61 413 900p 967" => "0413 900 967" // withInternationalCode = false, countries=['AU']
|
|
47
|
+
*
|
|
48
|
+
* // 4. Keeps national format as-is but cleans junk
|
|
49
|
+
* "0413 900p 967" => "0413 900 967" // withInternationalCode = false, countries=['AU']
|
|
50
|
+
*
|
|
51
|
+
* // 5. Cleans junk but keeps number
|
|
52
|
+
* "call me at +61-413+900 967" => "+61 413 900 967" // withInternationalCode = true, countries=['AU']
|
|
53
|
+
*
|
|
54
|
+
* // 6. Invalid country match → unchanged
|
|
55
|
+
* "+44 20 7946 0958" => "+44 20 7946 0958" // countries=['AU'], stays unchanged (invalid for AU)
|
|
56
|
+
*
|
|
57
|
+
* // 7. Surrounding text with no exact match → unchanged
|
|
58
|
+
* "call me at home office" => "call me at home office" // unchanged
|
|
59
|
+
*
|
|
60
|
+
* // 8. Multiple countries allowed, picks correct one
|
|
61
|
+
* "020 7946 0958" => "+44 20 7946 0958" // withInternationalCode = true, countries=['AU','GB']
|
|
62
|
+
* ```
|
|
35
63
|
*/
|
|
36
|
-
export declare const formatPhoneNumbersAction: ({ columnNumber,
|
|
64
|
+
export declare const formatPhoneNumbersAction: ({ columnNumber, countries, withInternationalCode }: IFormatPhoneNumbersTransformActionPayload, data: IvtCellValue[][], hiddenRows: number[]) => IvtCellValue[][];
|
|
@@ -2,9 +2,10 @@ import { ITransformActionPayloadBase } from './transformActions.types';
|
|
|
2
2
|
import { LocaleSpecifier, MomentBuiltinFormat } from 'moment';
|
|
3
3
|
import { IvtCellValue } from './internal.types';
|
|
4
4
|
import { IDataSourceResolver } from './schema.types';
|
|
5
|
-
import {
|
|
5
|
+
import { UUIDVersion } from 'validator';
|
|
6
6
|
import { IsEmailOptions } from 'validator/lib/isEmail';
|
|
7
7
|
import { IClampRangeTransformActionPayload } from './columnTransformerAction.type';
|
|
8
|
+
import { CountryCode } from '../utils/locale';
|
|
8
9
|
export interface IFuzzyMatchTransformActionPayload extends ITransformActionPayloadBase {
|
|
9
10
|
isCaseSensitive?: boolean;
|
|
10
11
|
threshold?: number;
|
|
@@ -99,8 +100,8 @@ export interface IFormatEmailsTransformActionPayload extends ITransformActionPay
|
|
|
99
100
|
options?: IsEmailOptions;
|
|
100
101
|
}
|
|
101
102
|
export interface IFormatPhoneNumbersTransformActionPayload extends ITransformActionPayloadBase {
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
countries: CountryCode[];
|
|
104
|
+
withInternationalCode?: boolean;
|
|
104
105
|
}
|
|
105
106
|
export declare enum ICellTransformAction {
|
|
106
107
|
TrimWhitespace = "trimWhitespace",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { IsCreditCardOptions,
|
|
1
|
+
import { IsCreditCardOptions, UUIDVersion } from 'validator';
|
|
2
2
|
import { IDateFieldSchemaInternal } from './schema.types';
|
|
3
3
|
import { DefaultTableRowType, ITableRowInternal } from './table.types';
|
|
4
4
|
import { IsURLOptions } from 'validator/lib/isURL';
|
|
5
5
|
import { Rule } from '@ivandt/json-rules';
|
|
6
6
|
import { IsEmailOptions } from 'validator/lib/isEmail';
|
|
7
7
|
import { ICleanNumberOptions } from './cellTransformerAction.type';
|
|
8
|
+
import { CountryCode } from '../utils/locale';
|
|
8
9
|
export type IFieldValidatorType = 'required' | 'rules' | 'uuid' | 'numeric' | 'boolean' | 'unique' | 'regex' | 'email' | 'min' | 'max' | 'range' | 'minLength' | 'maxLength' | 'url' | 'phone' | 'date' | 'enumerate' | 'creditcard' | 'custom';
|
|
9
10
|
export type IErrorSeverity = 'w' | 'e';
|
|
10
11
|
export type IFieldValidatorValidate = (cellValue: string, rowData?: ITableRowInternal) => ICellError | Promise<ICellError>;
|
|
@@ -77,8 +78,8 @@ export interface IUrlFieldValidator extends IBaseFieldValidator {
|
|
|
77
78
|
}
|
|
78
79
|
export interface IPhoneFieldValidator extends IBaseFieldValidator {
|
|
79
80
|
type: 'phone';
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
withInternationalCode?: boolean;
|
|
82
|
+
countries: CountryCode[];
|
|
82
83
|
}
|
|
83
84
|
export type IDateFieldValidator = IBaseFieldValidator & {
|
|
84
85
|
type: 'date';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cleans a phone number string while preserving valid formatting characters.
|
|
3
|
+
*
|
|
4
|
+
* Rules:
|
|
5
|
+
* - Preserves exactly one leading '+' (if present) and removes all others.
|
|
6
|
+
* - Removes any spaces immediately following the leading '+'.
|
|
7
|
+
* - Allows only digits [0–9], parentheses '()', hyphen '-', dot '.' and space ' '.
|
|
8
|
+
* - Treats underscores '_' as spaces.
|
|
9
|
+
* - Collapses multiple consecutive spaces into a single space.
|
|
10
|
+
* - Does not collapse sequences of punctuation (e.g., '--', '..') — they are preserved as-is.
|
|
11
|
+
* - Strips any other characters (letters, emojis, symbols, etc.).
|
|
12
|
+
* - Trims leading/trailing spaces from the final output.
|
|
13
|
+
*
|
|
14
|
+
* Examples:
|
|
15
|
+
* "+61 413 900 967" -> "+61 413 900 967"
|
|
16
|
+
* "++61-413-900-967" -> "+61-413-900-967"
|
|
17
|
+
* "+61_413_900_967" -> "+61 413 900 967"
|
|
18
|
+
* "(02) 9123 4567" -> "(02) 9123 4567"
|
|
19
|
+
* "+ 44 20 7946 0958" -> "+44 20 7946 0958"
|
|
20
|
+
*
|
|
21
|
+
* Designed as a single-pass loop for performance:
|
|
22
|
+
* - Avoids multiple regex passes and intermediate string allocations.
|
|
23
|
+
* - Ensures consistent formatting for phone numbers imported from varied sources.
|
|
24
|
+
*/
|
|
25
|
+
export declare const cleanPhoneNumber: (input: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const hasLeadingPlus: (s: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW';
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { IPhoneFieldValidator } from '../../types';
|
|
2
|
+
import { CountryCode } from '../locale';
|
|
3
|
+
export declare function isValidPhoneNumberForCountry(value: string, countries: CountryCode[], requireInternational?: boolean): boolean;
|
|
2
4
|
export declare function validatePhone(value: string, m: string, validator: IPhoneFieldValidator): import('../../types').ICellError | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,n){for(var t=0;t<n.length;t++){const e=n[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in r)){const s=Object.getOwnPropertyDescriptor(e,a);s&&Object.defineProperty(r,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o={exports:{}},p=o.exports,u;function d(){return u||(u=1,function(r,n){(function(t,e){r.exports=e()})(p,function(){function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Swedish
|
|
4
4
|
* locale : Sweden
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("./importer-
|
|
1
|
+
"use strict";const c=require("./importer-CmUX3IX1.cjs");function l(r,o){for(var e=0;e<o.length;e++){const t=o[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in r)){const u=Object.getOwnPropertyDescriptor(t,a);u&&Object.defineProperty(r,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n={exports:{}},p=n.exports,i;function d(){return i||(i=1,function(r,o){(function(e,t){r.exports=t()})(p,function(){function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*!
|
|
2
2
|
* numbro.js language configuration
|
|
3
3
|
* language : Thai
|
|
4
4
|
* locale : Thailand
|