@wavemaker/angular-codegen 11.2.5-next.23539 → 11.2.5-next.23541

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