@wavemaker/angular-codegen 11.2.0-next.141304 → 11.2.0-next.141451
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 +3 -5
- 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/transpilation-mobile.cjs.js +5 -4
- angular-codegen/dependencies/transpilation-web.cjs.js +5 -4
- angular-codegen/package.json +1 -1
@@ -46865,7 +46865,7 @@ register('wm-popover', () => {
|
|
46865
46865
|
}
|
46866
46866
|
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
46867
46867
|
const contextAttrs = table ? `let-row="row"` : ``;
|
46868
|
-
markup += `<ng-template ${contextAttrs}><button class="popover-start"></button>`;
|
46868
|
+
markup += `<ng-template ${contextAttrs}><button aria-label="popover start" class="popover-start"></button>`;
|
46869
46869
|
// todo keyboard navigation - tab
|
46870
46870
|
if (popoverTemplate) {
|
46871
46871
|
markup += `${popoverTemplate ? popoverTemplate : ''}`;
|
@@ -46877,7 +46877,7 @@ register('wm-popover', () => {
|
|
46877
46877
|
if (shared.get('hasPopoverContent')) {
|
46878
46878
|
markup += `</div>`;
|
46879
46879
|
}
|
46880
|
-
return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
|
46880
|
+
return `${markup}<button aria-label="popover end" class="popover-end"></button></ng-template></${tagName$q}>`;
|
46881
46881
|
}
|
46882
46882
|
};
|
46883
46883
|
});
|
@@ -46947,7 +46947,7 @@ register('wm-page', () => {
|
|
46947
46947
|
},
|
46948
46948
|
pre: (attrs) => {
|
46949
46949
|
const counter = idGen$8.nextUid();
|
46950
|
-
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint
|
46950
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
46951
46951
|
},
|
46952
46952
|
post: () => `</${tagName$p}>`
|
46953
46953
|
};
|
@@ -47599,12 +47599,13 @@ const tagName$5 = 'div';
|
|
47599
47599
|
const getRowExpansionActionTmpl = (attrs) => {
|
47600
47600
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
47601
47601
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
47602
|
+
const title = attrs.get('display-name') || attrs.get('title') || 'Collapse/Expand';
|
47602
47603
|
return `<ng-template #rowExpansionActionTmpl let-row="row">
|
47603
47604
|
<${tag} ${directive}
|
47604
47605
|
${getRowActionAttrs(attrs)}
|
47605
47606
|
class="${attrs.get('class')} row-expansion-button"
|
47606
47607
|
iconclass="${attrs.get('collapseicon')}"
|
47607
|
-
type="button"></${tag}>
|
47608
|
+
type="button" aria-label="${title}"></${tag}>
|
47608
47609
|
</ng-template>`;
|
47609
47610
|
};
|
47610
47611
|
const ɵ0$1$2 = getRowExpansionActionTmpl;
|
@@ -46865,7 +46865,7 @@ register('wm-popover', () => {
|
|
46865
46865
|
}
|
46866
46866
|
let markup = `<${tagName$q} wmPopover ${getAttrMarkup(attrs)}>`;
|
46867
46867
|
const contextAttrs = table ? `let-row="row"` : ``;
|
46868
|
-
markup += `<ng-template ${contextAttrs}><button class="popover-start"></button>`;
|
46868
|
+
markup += `<ng-template ${contextAttrs}><button aria-label="popover start" class="popover-start"></button>`;
|
46869
46869
|
// todo keyboard navigation - tab
|
46870
46870
|
if (popoverTemplate) {
|
46871
46871
|
markup += `${popoverTemplate ? popoverTemplate : ''}`;
|
@@ -46877,7 +46877,7 @@ register('wm-popover', () => {
|
|
46877
46877
|
if (shared.get('hasPopoverContent')) {
|
46878
46878
|
markup += `</div>`;
|
46879
46879
|
}
|
46880
|
-
return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
|
46880
|
+
return `${markup}<button aria-label="popover end" class="popover-end"></button></ng-template></${tagName$q}>`;
|
46881
46881
|
}
|
46882
46882
|
};
|
46883
46883
|
});
|
@@ -46947,7 +46947,7 @@ register('wm-page', () => {
|
|
46947
46947
|
},
|
46948
46948
|
pre: (attrs) => {
|
46949
46949
|
const counter = idGen$8.nextUid();
|
46950
|
-
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint
|
46950
|
+
return `<${tagName$p} wmPage #${counter}="wmPage" data-role="pageContainer" [attr.aria-label]="${counter}.hint" ${getAttrMarkup(attrs)}>`;
|
46951
46951
|
},
|
46952
46952
|
post: () => `</${tagName$p}>`
|
46953
46953
|
};
|
@@ -47599,12 +47599,13 @@ const tagName$5 = 'div';
|
|
47599
47599
|
const getRowExpansionActionTmpl = (attrs) => {
|
47600
47600
|
const tag = attrs.get('widget-type') === 'anchor' ? 'a' : 'button';
|
47601
47601
|
const directive = attrs.get('widget-type') === 'anchor' ? 'wmAnchor' : 'wmButton';
|
47602
|
+
const title = attrs.get('display-name') || attrs.get('title') || 'Collapse/Expand';
|
47602
47603
|
return `<ng-template #rowExpansionActionTmpl let-row="row">
|
47603
47604
|
<${tag} ${directive}
|
47604
47605
|
${getRowActionAttrs(attrs)}
|
47605
47606
|
class="${attrs.get('class')} row-expansion-button"
|
47606
47607
|
iconclass="${attrs.get('collapseicon')}"
|
47607
|
-
type="button"></${tag}>
|
47608
|
+
type="button" aria-label="${title}"></${tag}>
|
47608
47609
|
</ng-template>`;
|
47609
47610
|
};
|
47610
47611
|
const ɵ0$1$2 = getRowExpansionActionTmpl;
|