@dso-toolkit/angular 103.0.0 → 104.0.0

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.
@@ -1889,11 +1889,16 @@ let DsoIconButton = class DsoIconButton {
1889
1889
  set icon(_) { }
1890
1890
  ;
1891
1891
  /**
1892
- * The label of the Icon Button which is shown on hover in a tooltip.
1892
+ * The accessible name of the Icon Button. Also shown as tooltip when `tooltip` is not set.
1893
1893
  */
1894
1894
  set label(_) { }
1895
1895
  ;
1896
1896
  /**
1897
+ * Optional shorter text for the tooltip. Must occur as whole words in `label`, preferably at the start.
1898
+ */
1899
+ set tooltip(_) { }
1900
+ ;
1901
+ /**
1897
1902
  * The variant of the Icon Button. @default "secondary"
1898
1903
  */
1899
1904
  set variant(_) { }
@@ -1937,12 +1942,12 @@ for a wrapping component passing an element across a shadow boundary.
1937
1942
  this.el = r.nativeElement;
1938
1943
  }
1939
1944
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DsoIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1940
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoIconButton, isStandalone: true, selector: "dso-icon-button", inputs: { controlsElement: "controlsElement", describedByElement: "describedByElement", disabled: "disabled", expanded: "expanded", icon: "icon", label: "label", toggled: "toggled", tooltipPlacement: "tooltipPlacement", variant: "variant" }, outputs: { dsoClick: "dsoClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1945
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoIconButton, isStandalone: true, selector: "dso-icon-button", inputs: { controlsElement: "controlsElement", describedByElement: "describedByElement", disabled: "disabled", expanded: "expanded", icon: "icon", label: "label", toggled: "toggled", tooltip: "tooltip", tooltipPlacement: "tooltipPlacement", variant: "variant" }, outputs: { dsoClick: "dsoClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1941
1946
  };
1942
1947
  DsoIconButton = __decorate([
1943
1948
  ProxyCmp({
1944
1949
  defineCustomElementFn: defineCustomElement$y,
1945
- inputs: ['controlsElement', 'describedByElement', 'disabled', 'expanded', 'icon', 'label', 'toggled', 'tooltipPlacement', 'variant'],
1950
+ inputs: ['controlsElement', 'describedByElement', 'disabled', 'expanded', 'icon', 'label', 'toggled', 'tooltip', 'tooltipPlacement', 'variant'],
1946
1951
  methods: ['setFocus']
1947
1952
  })
1948
1953
  ], DsoIconButton);
@@ -1953,7 +1958,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
1953
1958
  changeDetection: ChangeDetectionStrategy.OnPush,
1954
1959
  template: '<ng-content></ng-content>',
1955
1960
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1956
- inputs: ['controlsElement', 'describedByElement', 'disabled', 'expanded', { name: 'icon', required: true }, { name: 'label', required: true }, 'toggled', 'tooltipPlacement', 'variant'],
1961
+ inputs: ['controlsElement', 'describedByElement', 'disabled', 'expanded', { name: 'icon', required: true }, { name: 'label', required: true }, 'toggled', 'tooltip', 'tooltipPlacement', 'variant'],
1957
1962
  outputs: ['dsoClick'],
1958
1963
  }]
1959
1964
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsoClick: [{
@@ -2004,6 +2009,12 @@ let DsoInfo = class DsoInfo {
2004
2009
  */
2005
2010
  set active(_) { }
2006
2011
  ;
2012
+ /**
2013
+ * The accessible label of the close button. Make this specific, for example `Sluit toelichting [label]`.
2014
+ Defaults to "Sluiten".
2015
+ */
2016
+ set closeLabel(_) { }
2017
+ ;
2007
2018
  dsoClose = new EventEmitter();
2008
2019
  constructor(c, r, z) {
2009
2020
  this.z = z;
@@ -2011,12 +2022,12 @@ let DsoInfo = class DsoInfo {
2011
2022
  this.el = r.nativeElement;
2012
2023
  }
2013
2024
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DsoInfo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2014
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoInfo, isStandalone: true, selector: "dso-info", inputs: { active: "active", fixed: "fixed" }, outputs: { dsoClose: "dsoClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2025
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoInfo, isStandalone: true, selector: "dso-info", inputs: { active: "active", closeLabel: "closeLabel", fixed: "fixed" }, outputs: { dsoClose: "dsoClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2015
2026
  };
2016
2027
  DsoInfo = __decorate([
2017
2028
  ProxyCmp({
2018
2029
  defineCustomElementFn: defineCustomElement$A,
2019
- inputs: ['active', 'fixed']
2030
+ inputs: ['active', 'closeLabel', 'fixed']
2020
2031
  })
2021
2032
  ], DsoInfo);
2022
2033
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DsoInfo, decorators: [{
@@ -2026,7 +2037,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
2026
2037
  changeDetection: ChangeDetectionStrategy.OnPush,
2027
2038
  template: '<ng-content></ng-content>',
2028
2039
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2029
- inputs: ['active', 'fixed'],
2040
+ inputs: ['active', 'closeLabel', 'fixed'],
2030
2041
  outputs: ['dsoClose'],
2031
2042
  }]
2032
2043
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsoClose: [{
@@ -3480,6 +3491,12 @@ Can be used to indicate child Selectables that are a mix of checked and unchecke
3480
3491
  */
3481
3492
  set infoFixed(_) { }
3482
3493
  ;
3494
+ /**
3495
+ * The accessible label of the close button of the Info. Make this specific, for example `Sluit toelichting [label]`.
3496
+ Defaults to "Sluiten".
3497
+ */
3498
+ set infoCloseLabel(_) { }
3499
+ ;
3483
3500
  dsoChange = new EventEmitter();
3484
3501
  constructor(c, r, z) {
3485
3502
  this.z = z;
@@ -3487,12 +3504,12 @@ Can be used to indicate child Selectables that are a mix of checked and unchecke
3487
3504
  this.el = r.nativeElement;
3488
3505
  }
3489
3506
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: DsoSelectable, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3490
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoSelectable, isStandalone: true, selector: "dso-selectable", inputs: { checked: "checked", describedById: "describedById", disabled: "disabled", errormessage: "errormessage", identifier: "identifier", indeterminate: "indeterminate", infoFixed: "infoFixed", invalid: "invalid", labelledById: "labelledById", name: "name", required: "required", type: "type", value: "value" }, outputs: { dsoChange: "dsoChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3507
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: DsoSelectable, isStandalone: true, selector: "dso-selectable", inputs: { checked: "checked", describedById: "describedById", disabled: "disabled", errormessage: "errormessage", identifier: "identifier", indeterminate: "indeterminate", infoCloseLabel: "infoCloseLabel", infoFixed: "infoFixed", invalid: "invalid", labelledById: "labelledById", name: "name", required: "required", type: "type", value: "value" }, outputs: { dsoChange: "dsoChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3491
3508
  };
3492
3509
  DsoSelectable = __decorate([
3493
3510
  ProxyCmp({
3494
3511
  defineCustomElementFn: defineCustomElement$12,
3495
- inputs: ['checked', 'describedById', 'disabled', 'errormessage', 'identifier', 'indeterminate', 'infoFixed', 'invalid', 'labelledById', 'name', 'required', 'type', 'value'],
3512
+ inputs: ['checked', 'describedById', 'disabled', 'errormessage', 'identifier', 'indeterminate', 'infoCloseLabel', 'infoFixed', 'invalid', 'labelledById', 'name', 'required', 'type', 'value'],
3496
3513
  methods: ['toggleInfo']
3497
3514
  })
3498
3515
  ], DsoSelectable);
@@ -3503,7 +3520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
3503
3520
  changeDetection: ChangeDetectionStrategy.OnPush,
3504
3521
  template: '<ng-content></ng-content>',
3505
3522
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
3506
- inputs: ['checked', 'describedById', 'disabled', 'errormessage', 'identifier', 'indeterminate', 'infoFixed', 'invalid', 'labelledById', 'name', 'required', { name: 'type', required: true }, 'value'],
3523
+ inputs: ['checked', 'describedById', 'disabled', 'errormessage', 'identifier', 'indeterminate', 'infoCloseLabel', 'infoFixed', 'invalid', 'labelledById', 'name', 'required', { name: 'type', required: true }, 'value'],
3507
3524
  outputs: ['dsoChange'],
3508
3525
  }]
3509
3526
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsoChange: [{