@datarailsshared/datarailsshared 1.4.85-dragons → 1.4.87

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.
@@ -1467,7 +1467,7 @@
1467
1467
  CheckboxComponent.decorators = [
1468
1468
  { type: i0.Component, args: [{
1469
1469
  selector: 'dr-checkbox',
1470
- template: "<label>\n <input type=\"checkbox\"\n [checked]=\"checkedStatus\"\n [disabled]=\"disabled\"\n (change)=\"setValue($event)\"\n (click)=\"$event.stopPropagation()\">\n <span [class]=\"icon\" [class.indeterminate]=\"indeterminate\">\n <ng-content></ng-content>\n </span>\n</label>\n",
1470
+ template: "<label>\n <input type=\"checkbox\"\n [attr.data-test]=\"checkedStatus ? 'checked' : 'unchecked'\"\n [checked]=\"checkedStatus\"\n [disabled]=\"disabled\"\n (change)=\"setValue($event)\"\n (click)=\"$event.stopPropagation()\">\n <span [class]=\"icon\" [class.indeterminate]=\"indeterminate\">\n <ng-content></ng-content>\n </span>\n</label>\n",
1471
1471
  providers: [
1472
1472
  { provide: forms.NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }
1473
1473
  ],
@@ -2201,7 +2201,7 @@
2201
2201
  DrToggleComponent.decorators = [
2202
2202
  { type: i0.Component, args: [{
2203
2203
  selector: 'dr-toggle',
2204
- template: "<span class=\"toggle-title mr-3\" *ngIf=\"toggleTitle && !toggleTitleRight\">{{toggleTitle}}</span>\n<label class=\"toggle-container\" [class.success]=\"successType\" [class.disabled]=\"_disabled\">\n <input type=\"checkbox\"\n [checked]=\"checkedStatus\"\n [disabled]=\"_disabled\"\n (click)=\"setValue()\">\n <span class=\"toggle-body\">\n <i></i>\n </span>\n <ng-content></ng-content>\n</label>\n<span class=\"toggle-title ml-3\" *ngIf=\"toggleTitle && toggleTitleRight\">{{toggleTitle}}</span>\n",
2204
+ template: "<span class=\"toggle-title mr-3\" *ngIf=\"toggleTitle && !toggleTitleRight\">{{toggleTitle}}</span>\n<label class=\"toggle-container\" [class.success]=\"successType\" [class.disabled]=\"_disabled\">\n <input type=\"checkbox\"\n [attr.data-test]=\"checkedStatus ? 'toggle-on' : 'toggle-off'\"\n [checked]=\"checkedStatus\"\n [disabled]=\"_disabled\"\n (click)=\"setValue()\">\n <span class=\"toggle-body\">\n <i></i>\n </span>\n <ng-content></ng-content>\n</label>\n<span class=\"toggle-title ml-3\" *ngIf=\"toggleTitle && toggleTitleRight\">{{toggleTitle}}</span>\n",
2205
2205
  providers: [
2206
2206
  { provide: forms.NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }
2207
2207
  ],