@ongov/ontario-design-system-component-library-angular 4.2.0-alpha.1 → 4.3.0-alpha.1

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.
@@ -259,14 +259,14 @@ let OntarioCheckboxes = class OntarioCheckboxes {
259
259
  this.z = z;
260
260
  c.detach();
261
261
  this.el = r.nativeElement;
262
- proxyOutputs(this, this.el, ['checkboxOnChange', 'checkboxOnBlur', 'checkboxOnFocus']);
262
+ proxyOutputs(this, this.el, ['checkboxOnChange', 'checkboxOnBlur', 'checkboxOnFocus', 'inputErrorOccurred']);
263
263
  }
264
264
  };
265
265
  OntarioCheckboxes.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioCheckboxes, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
266
- OntarioCheckboxes.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioCheckboxes, selector: "ontario-checkboxes", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
266
+ OntarioCheckboxes.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioCheckboxes, selector: "ontario-checkboxes", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", errorMessage: "errorMessage", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
267
267
  OntarioCheckboxes = __decorate([
268
268
  ProxyCmp({
269
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required']
269
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required']
270
270
  })
271
271
  ], OntarioCheckboxes);
272
272
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioCheckboxes, decorators: [{
@@ -276,7 +276,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
276
276
  changeDetection: ChangeDetectionStrategy.OnPush,
277
277
  template: '<ng-content></ng-content>',
278
278
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
279
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required'],
279
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required'],
280
280
  }]
281
281
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
282
282
  let OntarioCriticalAlert = class OntarioCriticalAlert {
@@ -333,14 +333,14 @@ let OntarioDropdownList = class OntarioDropdownList {
333
333
  this.z = z;
334
334
  c.detach();
335
335
  this.el = r.nativeElement;
336
- proxyOutputs(this, this.el, ['dropdownOnChange', 'dropdownOnBlur', 'dropdownOnFocus']);
336
+ proxyOutputs(this, this.el, ['dropdownOnChange', 'dropdownOnBlur', 'dropdownOnFocus', 'inputErrorOccurred']);
337
337
  }
338
338
  };
339
339
  OntarioDropdownList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioDropdownList, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
340
- OntarioDropdownList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioDropdownList, selector: "ontario-dropdown-list", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", elementId: "elementId", hintExpander: "hintExpander", hintText: "hintText", isEmptyStartOption: "isEmptyStartOption", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
340
+ OntarioDropdownList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioDropdownList, selector: "ontario-dropdown-list", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", elementId: "elementId", errorMessage: "errorMessage", hintExpander: "hintExpander", hintText: "hintText", isEmptyStartOption: "isEmptyStartOption", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
341
341
  OntarioDropdownList = __decorate([
342
342
  ProxyCmp({
343
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'elementId', 'hintExpander', 'hintText', 'isEmptyStartOption', 'language', 'name', 'options', 'required']
343
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'elementId', 'errorMessage', 'hintExpander', 'hintText', 'isEmptyStartOption', 'language', 'name', 'options', 'required']
344
344
  })
345
345
  ], OntarioDropdownList);
346
346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioDropdownList, decorators: [{
@@ -350,7 +350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
350
350
  changeDetection: ChangeDetectionStrategy.OnPush,
351
351
  template: '<ng-content></ng-content>',
352
352
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
353
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'elementId', 'hintExpander', 'hintText', 'isEmptyStartOption', 'language', 'name', 'options', 'required'],
353
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'elementId', 'errorMessage', 'hintExpander', 'hintText', 'isEmptyStartOption', 'language', 'name', 'options', 'required'],
354
354
  }]
355
355
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
356
356
  let OntarioFieldset = class OntarioFieldset {
@@ -3266,14 +3266,14 @@ let OntarioRadioButtons = class OntarioRadioButtons {
3266
3266
  this.z = z;
3267
3267
  c.detach();
3268
3268
  this.el = r.nativeElement;
3269
- proxyOutputs(this, this.el, ['radioOnChange', 'radioOnBlur', 'radioOnFocus']);
3269
+ proxyOutputs(this, this.el, ['radioOnChange', 'radioOnBlur', 'radioOnFocus', 'inputErrorOccurred']);
3270
3270
  }
3271
3271
  };
3272
3272
  OntarioRadioButtons.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioRadioButtons, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3273
- OntarioRadioButtons.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioRadioButtons, selector: "ontario-radio-buttons", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3273
+ OntarioRadioButtons.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioRadioButtons, selector: "ontario-radio-buttons", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", errorMessage: "errorMessage", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", options: "options", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3274
3274
  OntarioRadioButtons = __decorate([
3275
3275
  ProxyCmp({
3276
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required']
3276
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required']
3277
3277
  })
3278
3278
  ], OntarioRadioButtons);
3279
3279
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioRadioButtons, decorators: [{
@@ -3283,7 +3283,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3283
3283
  changeDetection: ChangeDetectionStrategy.OnPush,
3284
3284
  template: '<ng-content></ng-content>',
3285
3285
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3286
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required'],
3286
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'options', 'required'],
3287
3287
  }]
3288
3288
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
3289
3289
  let OntarioStepIndicator = class OntarioStepIndicator {
@@ -3339,14 +3339,14 @@ let OntarioTextarea = class OntarioTextarea {
3339
3339
  this.z = z;
3340
3340
  c.detach();
3341
3341
  this.el = r.nativeElement;
3342
- proxyOutputs(this, this.el, ['inputOnInput', 'inputOnChange', 'inputOnBlur', 'inputOnFocus']);
3342
+ proxyOutputs(this, this.el, ['inputOnInput', 'inputOnChange', 'inputOnBlur', 'inputOnFocus', 'inputErrorOccurred']);
3343
3343
  }
3344
3344
  };
3345
3345
  OntarioTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3346
- OntarioTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioTextarea, selector: "ontario-textarea", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", customOnInput: "customOnInput", elementId: "elementId", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3346
+ OntarioTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: OntarioTextarea, selector: "ontario-textarea", inputs: { caption: "caption", customOnBlur: "customOnBlur", customOnChange: "customOnChange", customOnFocus: "customOnFocus", customOnInput: "customOnInput", elementId: "elementId", errorMessage: "errorMessage", hintExpander: "hintExpander", hintText: "hintText", language: "language", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3347
3347
  OntarioTextarea = __decorate([
3348
3348
  ProxyCmp({
3349
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'customOnInput', 'elementId', 'hintExpander', 'hintText', 'language', 'name', 'required', 'value']
3349
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'customOnInput', 'elementId', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'required', 'value']
3350
3350
  })
3351
3351
  ], OntarioTextarea);
3352
3352
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OntarioTextarea, decorators: [{
@@ -3356,7 +3356,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3356
3356
  changeDetection: ChangeDetectionStrategy.OnPush,
3357
3357
  template: '<ng-content></ng-content>',
3358
3358
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3359
- inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'customOnInput', 'elementId', 'hintExpander', 'hintText', 'language', 'name', 'required', 'value'],
3359
+ inputs: ['caption', 'customOnBlur', 'customOnChange', 'customOnFocus', 'customOnInput', 'elementId', 'errorMessage', 'hintExpander', 'hintText', 'language', 'name', 'required', 'value'],
3360
3360
  }]
3361
3361
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
3362
3362