currency_contry_exchange
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -1,1 +0,1 @@ | ||
var MyLib=function(e){"use strict";const o={peru:{cliente:"Cedente",deudor:"Aceptante",rut:"RUC"},chile:{cliente:"Cliente",deudor:"Deudor",rut:"RUT"},"":{cliente:"Cliente",deudor:"Deudor",rut:"RUT"}};class a{constructor(){}labels({contry:t="",label:n="cliente"}){const r=(t==null?void 0:t.toLocaleLowerCase().trim())||"",l=n.toLocaleLowerCase().trim();return o[r][l]||"Etiqueta no encontrada"}}return e.Faastlocation=a,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({}); | ||
var MyLib=function(e){"use strict";const a={peru:{cliente:"Cedente",deudor:"Aceptante",rut:"RUC"},chile:{cliente:"Cliente",deudor:"Deudor",rut:"RUT"},"":{cliente:"Cliente",deudor:"Deudor",rut:"RUT"}};class n{constructor(){}labels({contry:t="",label:r="cliente"}){var o;const l=(t==null?void 0:t.toLocaleLowerCase().trim())||"",i=r.toLocaleLowerCase().trim()||"";return((o=a[l])==null?void 0:o[i])??"Etiqueta no encontrada"}}return e.Faastlocation=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({}); |
@@ -1,2 +0,2 @@ | ||
const a = { | ||
const l = { | ||
peru: { | ||
@@ -18,12 +18,13 @@ cliente: "Cedente", | ||
}; | ||
class n { | ||
class i { | ||
constructor() { | ||
} | ||
labels({ contry: e = "", label: t = "cliente" }) { | ||
const o = (e == null ? void 0 : e.toLocaleLowerCase().trim()) || "", r = t.toLocaleLowerCase().trim(); | ||
return a[o][r] || "Etiqueta no encontrada"; | ||
labels({ contry: e = "", label: o = "cliente" }) { | ||
var t; | ||
const r = (e == null ? void 0 : e.toLocaleLowerCase().trim()) || "", a = o.toLocaleLowerCase().trim() || ""; | ||
return ((t = l[r]) == null ? void 0 : t[a]) ?? "Etiqueta no encontrada"; | ||
} | ||
} | ||
export { | ||
n as Faastlocation | ||
i as Faastlocation | ||
}; |
{ | ||
"name": "currency_contry_exchange", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5260
46