@ibiz-template/runtime 0.7.41-alpha.92 → 0.7.41-alpha.93
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/index.esm.js
CHANGED
|
@@ -69496,12 +69496,16 @@ var CodeListService = class {
|
|
|
69496
69496
|
* @return {*} {Promise<CodeListItem[]>}
|
|
69497
69497
|
*/
|
|
69498
69498
|
async get(tag, context, params) {
|
|
69499
|
+
var _a3;
|
|
69499
69500
|
const codeList = this.allCodeLists.get(tag);
|
|
69500
69501
|
if (!codeList) {
|
|
69501
69502
|
throw new RuntimeError57(
|
|
69502
69503
|
ibiz.i18n.t("runtime.service.noFindCodeList", { tag })
|
|
69503
69504
|
);
|
|
69504
69505
|
}
|
|
69506
|
+
if ((_a3 = codeList.emptyTextLanguageRes) == null ? void 0 : _a3.lanResTag) {
|
|
69507
|
+
codeList.emptyText = ibiz.i18n.t(codeList.emptyTextLanguageRes.lanResTag);
|
|
69508
|
+
}
|
|
69505
69509
|
if (codeList.codeListType === "STATIC") {
|
|
69506
69510
|
return this.getStatic(codeList);
|
|
69507
69511
|
}
|