ps-toolkit-ui 1.4.7 → 1.4.8
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/bundles/ps-toolkit-ui.umd.js +3 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/lang.class.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +3 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -322,6 +322,7 @@
|
|
|
322
322
|
var _this = this;
|
|
323
323
|
if (v === void 0) { v = null; }
|
|
324
324
|
if (k != null && (/^-?\d+$/.test(k) || /^\d+\.\d+$/.test(k))) {
|
|
325
|
+
console.log(area, c, k, v, '=>', k);
|
|
325
326
|
return k;
|
|
326
327
|
}
|
|
327
328
|
var cv = _.get(this.lang, area ? area + "." + c + "." + k : c + "." + k);
|
|
@@ -332,6 +333,7 @@
|
|
|
332
333
|
cv = _.get(this.lang, "public." + k);
|
|
333
334
|
}
|
|
334
335
|
if (!cv) {
|
|
336
|
+
console.log(area, c, k, v, '=>', k);
|
|
335
337
|
return k;
|
|
336
338
|
}
|
|
337
339
|
if (v !== null) {
|
|
@@ -344,6 +346,7 @@
|
|
|
344
346
|
cv = cv.replace('{}', this.get(area, c, v, null));
|
|
345
347
|
}
|
|
346
348
|
}
|
|
349
|
+
console.log(area, c, k, v, '=>', cv);
|
|
347
350
|
return cv;
|
|
348
351
|
};
|
|
349
352
|
return LangClass;
|