@wavemaker/angular-codegen 11.3.0-next.24544 → 11.3.0-next.24545
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.
|
|
5964
|
-
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.3.0-next.
|
|
5965
|
-
"integrity": "sha512-
|
|
5963
|
+
"version": "11.3.0-next.24545",
|
|
5964
|
+
"resolved": "https://registry.npmjs.org/@wavemaker/variables/-/variables-11.3.0-next.24545.tgz",
|
|
5965
|
+
"integrity": "sha512-RQfayu68prB0MMLbWx6IQ30A/IdOvjE1rNF4FdS8wqearMTL4m+a6aXoidxgUMBtGpAHdAx7IAoWVNtQMp9r0A==",
|
|
5966
5966
|
"requires": {
|
|
5967
5967
|
"@metrichor/jmespath": "^0.3.1",
|
|
5968
5968
|
"he": "^1.2.0",
|
|
@@ -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.
|
|
50
|
+
"@wavemaker/variables": "11.3.0-next.24545",
|
|
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.
|
|
74
|
+
"@wavemaker/app-ng-runtime": "11.3.0-next.24545"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@ampproject/rollup-plugin-closure-compiler": "0.8.5",
|
|
@@ -46050,12 +46050,14 @@ const registerFormField = (isFormField) => {
|
|
|
46050
46050
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
46051
46051
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
46052
46052
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
46053
|
+
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
46053
46054
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
46054
46055
|
class="help-block text-danger" aria-hidden="false" role="alert"
|
|
46055
|
-
aria-live="assertive" [textContent]="${counter}.validationmessage"></p>` : '';
|
|
46056
|
+
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
46056
46057
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
46057
46058
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
46058
46059
|
const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));
|
|
46060
|
+
attrs.set('__errormsg', formFieldErrorMsgId);
|
|
46059
46061
|
attrs.set('__widgetType', widgetType);
|
|
46060
46062
|
attrs.delete('widget');
|
|
46061
46063
|
shared.set('counter', counter);
|
|
@@ -46050,12 +46050,14 @@ const registerFormField = (isFormField) => {
|
|
|
46050
46050
|
const pCounter = (parent && parent.get('form_reference')) || 'form';
|
|
46051
46051
|
const widgetType = attrs.get('widget') || FormWidgetType.TEXT;
|
|
46052
46052
|
const dataRole = isFormField ? 'form-field' : 'filter-field';
|
|
46053
|
+
const formFieldErrorMsgId = 'wmform-field-error-' + generateGUId();
|
|
46053
46054
|
const validationMsg = isFormField ? `<p *ngIf="${counter}._control?.invalid && ${counter}._control?.touched && ${pCounter}.isUpdateMode"
|
|
46054
46055
|
class="help-block text-danger" aria-hidden="false" role="alert"
|
|
46055
|
-
aria-live="assertive" [textContent]="${counter}.validationmessage"></p>` : '';
|
|
46056
|
+
aria-live="assertive" [attr.aria-label]="${counter}.validationmessage" id="${formFieldErrorMsgId}"><span aria-hidden="true" [textContent]="${counter}.validationmessage"></span></p>` : '';
|
|
46056
46057
|
const eventsTmpl = widgetType === FormWidgetType.UPLOAD ? '' : getEventsTemplate(attrs);
|
|
46057
46058
|
const controlLayout = isMobileApp() ? 'col-xs-12' : 'col-sm-12';
|
|
46058
46059
|
const isInList = pCounter === (parentList && parentList.get('parent_form_reference'));
|
|
46060
|
+
attrs.set('__errormsg', formFieldErrorMsgId);
|
|
46059
46061
|
attrs.set('__widgetType', widgetType);
|
|
46060
46062
|
attrs.delete('widget');
|
|
46061
46063
|
shared.set('counter', counter);
|