currency_contry_exchange
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -1,1 +0,1 @@ | ||
var MyLib=function(e){"use strict";const a={peru:{cliente:"Cedente",deudor:"Aceptante"},chile:{cliente:"Cliente",deudor:"Deudor"}};class l{constructor(){}labels({contry:t,label:o}){return a[(t==null?void 0:t.toLocaleLowerCase())??""][o.toLocaleLowerCase()??""]}}return e.Faastlocation=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({}); | ||
var MyLib=function(e){"use strict";const a={peru:{cliente:"Cedente",deudor:"Aceptante"},chile:{cliente:"Cliente",deudor:"Deudor"}};class l{constructor(){}labels({contry:t="default",label:o="cliente"}){return a[(t==null?void 0:t.toLocaleLowerCase().trim())||""][o.toLocaleLowerCase().trim()||""]}}return e.Faastlocation=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({}); |
@@ -11,11 +11,11 @@ const l = { | ||
}; | ||
class t { | ||
class o { | ||
constructor() { | ||
} | ||
labels({ contry: e, label: a }) { | ||
return l[(e == null ? void 0 : e.toLocaleLowerCase()) ?? ""][a.toLocaleLowerCase() ?? ""]; | ||
labels({ contry: e = "default", label: t = "cliente" }) { | ||
return l[(e == null ? void 0 : e.toLocaleLowerCase().trim()) || ""][t.toLocaleLowerCase().trim() || ""]; | ||
} | ||
} | ||
export { | ||
t as Faastlocation | ||
o as Faastlocation | ||
}; |
import { InterfaceLabels } from './models/interfaces'; | ||
export declare class Faastlocation { | ||
constructor(); | ||
labels({ contry, label }: InterfaceLabels): any; | ||
labels({ contry, label }: InterfaceLabels | any): any; | ||
} |
{ | ||
"name": "currency_contry_exchange", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"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
4685