@wavemaker/angular-codegen 11.3.0-next.24520 → 11.3.0-next.24521

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.
@@ -5960,9 +5960,9 @@
5960
5960
  }
5961
5961
  },
5962
5962
  "@wavemaker/variables": {
5963
- "version": "11.3.0-next.24520",
5964
- "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.3.0-next.24520.tgz",
5965
- "integrity": "sha512-TzZpclts3yr/CYJ+nvjVo+57s9mGivo7slAQx07iPYfAz8D2C0q8dlXoemd9ZDBZ4uHDtF9RrRIhjsVtF0aZIw==",
5963
+ "version": "11.3.0-next.24521",
5964
+ "resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.3.0-next.24521.tgz",
5965
+ "integrity": "sha512-WZSv2qbQ0da/RSc7CKZuvikzFf7sRpO4TV1vMB1w+hDG+DQaWEv4bOHOqVbb7C6DCkRIW5r3EFaiFssRvLkI6w==",
5966
5966
  "requires": {
5967
5967
  "@metrichor/jmespath": "^0.3.1",
5968
5968
  "lodash": "^4.17.21",
@@ -47,7 +47,7 @@
47
47
  "@metrichor/jmespath": "^0.3.1",
48
48
  "@wavemaker.com/nvd3": "1.0.0",
49
49
  "@wavemaker/focus-trap": "^1.0.0",
50
- "@wavemaker/variables": "11.3.0-next.24520",
50
+ "@wavemaker/variables": "11.3.0-next.24521",
51
51
  "angular-imask": "6.0.4",
52
52
  "angular2-websocket": "0.9.7",
53
53
  "core-js": "2.5.4",
@@ -71,7 +71,7 @@
71
71
  "tslib": "^2.0.0",
72
72
  "x2js": "3.2.6",
73
73
  "zone.js": "~0.11.4",
74
- "@wavemaker/app-ng-runtime": "11.3.0-next.24520"
74
+ "@wavemaker/app-ng-runtime": "11.3.0-next.24521"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
@@ -40760,10 +40760,10 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
40760
40760
  break;
40761
40761
  case FormWidgetType.TEXT:
40762
40762
  const inputType = options.inputType || 'inputtype';
40763
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" aria-describedby="Enter text" ${updateOnTmpl}></wm-input>`;
40763
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" ${updateOnTmpl}></wm-input>`;
40764
40764
  break;
40765
40765
  case FormWidgetType.TEXTAREA:
40766
- tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" aria-describedby="Place your text" ${updateOnTmpl}></wm-textarea>`;
40766
+ tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" ${updateOnTmpl}></wm-textarea>`;
40767
40767
  break;
40768
40768
  case FormWidgetType.TIME:
40769
40769
  tmpl = `<div wmTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl}></div>`;
@@ -40792,7 +40792,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
40792
40792
  }
40793
40793
  break;
40794
40794
  default:
40795
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} aria-describedby="Enter text" type="text" ${updateOnTmpl}></wm-input>`;
40795
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="text" ${updateOnTmpl}></wm-input>`;
40796
40796
  break;
40797
40797
  }
40798
40798
  return tmpl;
@@ -46044,7 +46044,7 @@ const registerFormField = (isFormField) => {
46044
46044
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
46045
46045
  const dataRole = isFormField ? 'form-field' : 'filter-field';
46046
46046
  const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
46047
- class="help-block text-danger" aria-hidden="false" [attr.aria-label]="${counter}.validationmessage" role="alert"
46047
+ class="help-block text-danger" aria-hidden="false" role="alert"
46048
46048
  aria-live="assertive" [textContent]="${counter}.validationmessage"></p>` : '';
46049
46049
  const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
46050
46050
  const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
@@ -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 aria-label="popover start" class="popover-start"></button>`;
46868
+ markup += `<ng-template ${contextAttrs}><button 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 aria-label="popover end" class="popover-end"></button></ng-template></${tagName$q}>`;
46880
+ return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
46881
46881
  }
46882
46882
  };
46883
46883
  });
@@ -40760,10 +40760,10 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
40760
40760
  break;
40761
40761
  case FormWidgetType.TEXT:
40762
40762
  const inputType = options.inputType || 'inputtype';
40763
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" aria-describedby="Enter text" ${updateOnTmpl}></wm-input>`;
40763
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="${attrs.get(inputType) || 'text'}" ${updateOnTmpl}></wm-input>`;
40764
40764
  break;
40765
40765
  case FormWidgetType.TEXTAREA:
40766
- tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" aria-describedby="Place your text" ${updateOnTmpl}></wm-textarea>`;
40766
+ tmpl = `<wm-textarea ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} role="textbox" ${updateOnTmpl}></wm-textarea>`;
40767
40767
  break;
40768
40768
  case FormWidgetType.TIME:
40769
40769
  tmpl = `<div wmTime ${attrs.get('required') === 'true' ? 'required=true' : ''} dataentrymode="${attrs.get('dataentrymode')}" ${innerTmpl}></div>`;
@@ -40792,7 +40792,7 @@ const getFormWidgetTemplate = (widgetType, innerTmpl, attrs, options = {}) => {
40792
40792
  }
40793
40793
  break;
40794
40794
  default:
40795
- tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} aria-describedby="Enter text" type="text" ${updateOnTmpl}></wm-input>`;
40795
+ tmpl = `<wm-input ${innerTmpl} ${attrs.get('required') === 'true' ? 'required=true' : ''} type="text" ${updateOnTmpl}></wm-input>`;
40796
40796
  break;
40797
40797
  }
40798
40798
  return tmpl;
@@ -46044,7 +46044,7 @@ const registerFormField = (isFormField) => {
46044
46044
  const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
46045
46045
  const dataRole = isFormField ? 'form-field' : 'filter-field';
46046
46046
  const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
46047
- class="help-block text-danger" aria-hidden="false" [attr.aria-label]="${counter}.validationmessage" role="alert"
46047
+ class="help-block text-danger" aria-hidden="false" role="alert"
46048
46048
  aria-live="assertive" [textContent]="${counter}.validationmessage"></p>` : '';
46049
46049
  const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
46050
46050
  const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
@@ -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 aria-label="popover start" class="popover-start"></button>`;
46868
+ markup += `<ng-template ${contextAttrs}><button 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 aria-label="popover end" class="popover-end"></button></ng-template></${tagName$q}>`;
46880
+ return `${markup}<button class="popover-end"></button></ng-template></${tagName$q}>`;
46881
46881
  }
46882
46882
  };
46883
46883
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/angular-codegen",
3
- "version": "11.3.0-next.24520",
3
+ "version": "11.3.0-next.24521",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {