@wavemaker/angular-codegen 11.4.3-next.30201 → 11.4.3-rc.125
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.
- angular-codegen/angular-app/angular.json +2 -0
- angular-codegen/angular-app/package-lock.json +3 -3
- angular-codegen/angular-app/package.json +2 -2
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/dependencies/pipe-provider.cjs.js +3 -1
- angular-codegen/dependencies/transpilation-mobile.cjs.js +4 -2
- angular-codegen/dependencies/transpilation-web.cjs.js +4 -2
- angular-codegen/package.json +1 -1
|
@@ -47873,7 +47873,9 @@ class StatePersistence {
|
|
|
47873
47873
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
47874
47874
|
return;
|
|
47875
47875
|
}
|
|
47876
|
-
|
|
47876
|
+
// Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
|
|
47877
|
+
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
47878
|
+
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
47877
47879
|
if (subParam) {
|
|
47878
47880
|
delete parsedObj[stateParam][key][subParam];
|
|
47879
47881
|
}
|
|
@@ -43951,7 +43951,9 @@ class StatePersistence {
|
|
|
43951
43951
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
43952
43952
|
return;
|
|
43953
43953
|
}
|
|
43954
|
-
|
|
43954
|
+
// Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
|
|
43955
|
+
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
43956
|
+
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
43955
43957
|
if (subParam) {
|
|
43956
43958
|
delete parsedObj[stateParam][key][subParam];
|
|
43957
43959
|
}
|
|
@@ -46377,7 +46379,7 @@ register('wm-button', () => {
|
|
|
46377
46379
|
return {
|
|
46378
46380
|
pre: (attrs) => {
|
|
46379
46381
|
const counter = idGen$c.nextUid();
|
|
46380
|
-
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
|
46382
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
|
|
46381
46383
|
},
|
|
46382
46384
|
post: () => `</${tagName$P}>`
|
|
46383
46385
|
};
|
|
@@ -43951,7 +43951,9 @@ class StatePersistence {
|
|
|
43951
43951
|
if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
|
|
43952
43952
|
return;
|
|
43953
43953
|
}
|
|
43954
|
-
|
|
43954
|
+
// Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
|
|
43955
|
+
// _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
|
|
43956
|
+
if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
|
|
43955
43957
|
if (subParam) {
|
|
43956
43958
|
delete parsedObj[stateParam][key][subParam];
|
|
43957
43959
|
}
|
|
@@ -46377,7 +46379,7 @@ register('wm-button', () => {
|
|
|
46377
46379
|
return {
|
|
46378
46380
|
pre: (attrs) => {
|
|
46379
46381
|
const counter = idGen$c.nextUid();
|
|
46380
|
-
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption" ${getAttrMarkup(attrs)}>`;
|
|
46382
|
+
return `<${tagName$P} wmButton #${counter}="wmButton" [attr.aria-label]="${counter}.hint || ${counter}.caption || null" ${getAttrMarkup(attrs)}>`;
|
|
46381
46383
|
},
|
|
46382
46384
|
post: () => `</${tagName$P}>`
|
|
46383
46385
|
};
|