@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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dso-toolkit/angular",
3
3
  "description": "DSO Toolkit Angular bindings for Web Components",
4
- "version": "103.0.0",
4
+ "version": "104.0.0",
5
5
  "homepage": "https://www.dso-toolkit.nl/",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -15,7 +15,7 @@
15
15
  "@angular/core": "^21.0.0 || ^22.0.0",
16
16
  "@angular/cdk": "^21.0.0 || ^22.0.0",
17
17
  "@angular/forms": "^21.0.0 || ^22.0.0",
18
- "@dso-toolkit/core": "103.0.0"
18
+ "@dso-toolkit/core": "104.0.0"
19
19
  },
20
20
  "dependencies": {
21
21
  "tslib": "^2.8.1"
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { NgZone, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
3
- import { Components, DsoAccordionSectionCustomEvent, AccordionSectionActiveChangeEvent, AccordionSectionToggleClickEvent, AccordionSectionAnimationStartEvent, AccordionSectionAnimationEndEvent, DsoAdvancedSelectCustomEvent, AdvancedSelectChangeEvent, AdvancedSelectRedirectEvent, DsoAlertCustomEvent, AlertCloseEvent, DsoAnnotationActiviteitCustomEvent, AnnotationActiveChangeEvent, DsoAnnotationGebiedsaanwijzingCustomEvent, DsoAnnotationKaartCustomEvent, AnnotationKaartClickEvent, DsoAnnotationLocatieCustomEvent, DsoAnnotationOmgevingsnormwaardeCustomEvent, DsoAutosuggestCustomEvent, Suggestion, DsoCardCustomEvent, CardClickEvent, DsoDatePickerCustomEvent, DatePickerChangeEvent, DatePickerBlurEvent, DatePickerKeyboardEvent, DatePickerFocusEvent, DsoDocumentCardCustomEvent, DocumentCardClickEvent, DsoDocumentComponentCustomEvent, DocumentComponentRecursiveToggleEvent, DocumentComponentOpenToggleEvent, DocumentComponentTableOfContentsClickEvent, DocumentComponentOzonContentClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentMarkItemHighlightEvent, DsoDropdownMenuItemCustomEvent, DropdownMenuItemClickEvent, DsoExpandableCustomEvent, ExpandableAnimationStartEvent, ExpandableAnimationEndEvent, DsoGridColumnCustomEvent, GridColumnCloseEvent, DsoHeaderCustomEvent, HeaderEvent, DsoHistoryItemCustomEvent, HistoryItemClickEvent, DsoIconButtonCustomEvent, IconButtonClickEvent, DsoInfoCustomEvent, DsoInfoButtonCustomEvent, InfoButtonToggleEvent, DsoInputRangeCustomEvent, InputRangeChangeEvent, DsoLabelCustomEvent, DsoLegendCustomEvent, LegendContentSwitchEvent, LegendCloseEvent, DsoLegendGroupCustomEvent, LegendGroupModeChangeEvent, DsoLegendItemCustomEvent, LegendItemActiveChangeEvent, LegendItemDeleteEvent, DsoListButtonCustomEvent, ListButtonChangeEvent, ListButtonSelectedEvent, DsoLogoCustomEvent, LogoClickEvent, LogoLabelClickEvent, DsoMapBaseLayersCustomEvent, BaseLayerChangeEvent, DsoMapControlsCustomEvent, MapControlsToggleEvent, DsoMapLayerCustomEvent, MapLayerActiveChangeEvent, DsoMapLayerObjectCustomEvent, MapLayerObjectActiveChangeEvent, DsoMapOverlaysCustomEvent, OverlayChangeEvent, DsoMarkBarCustomEvent, MarkBarInputEvent, MarkBarPaginationEvent, MarkBarClearEvent, DsoModalCustomEvent, ModalCloseEvent, DsoOnboardingTipCustomEvent, OnboardingTipCloseEvent, DsoOzonContentCustomEvent, OzonContentClickEvent, OzonContentMarkItemHighlightEvent, DsoPaginationCustomEvent, PaginationSelectPageEvent, DsoPanelCustomEvent, PanelCloseEvent, DsoPlekinfoCardCustomEvent, PlekinfoCardClickEvent, DsoRenvooiCustomEvent, RenvooiMarkItemHighlightEvent, DsoResponsiveElementCustomEvent, ResponsiveElementSize, DsoScrollableCustomEvent, DsoScrollEndEvent, DsoSegmentedButtonCustomEvent, SegmentedButtonChangeEvent, DsoSelectableCustomEvent, SelectableChangeEvent, DsoShoppingCartItemCustomEvent, ShoppingCartItemEditEvent, ShoppingCartItemDeleteEvent, ShoppingCartItemCloseEvent, DsoSkiplinkCustomEvent, SkiplinkClickEvent, DsoSlideToggleCustomEvent, SlideToggleActiveEvent, DsoSurveyRatingCustomEvent, SurveyRatingSubmitEvent, SurveyRatingCloseEvent, DsoTabCustomEvent, TabsSwitchEvent, DsoTreeViewCustomEvent, TreeViewItem, TreeViewPointerEvent, DsoViewerGridCustomEvent, ViewerGridCloseOverlayEvent, ViewerGridCloseFilterPanelEvent, ViewerGridActiveTabSwitchEvent, ViewerGridChangeSizeAnimationEndEvent, ViewerGridChangeSizeEvent, ViewerGridMainToggleEvent, DsotDocumentComponentDemoCustomEvent } from '@dso-toolkit/core/dist/components';
3
+ import { Components, DsoAccordionSectionCustomEvent, AccordionSectionActiveChangeEvent, AccordionSectionToggleClickEvent, AccordionSectionAnimationStartEvent, AccordionSectionAnimationEndEvent, DsoAdvancedSelectCustomEvent, AdvancedSelectChangeEvent, AdvancedSelectRedirectEvent, DsoAlertCustomEvent, AlertCloseEvent, DsoAnnotationActiviteitCustomEvent, AnnotationActiveChangeEvent, DsoAnnotationGebiedsaanwijzingCustomEvent, DsoAnnotationKaartCustomEvent, AnnotationKaartClickEvent, DsoAnnotationLocatieCustomEvent, DsoAnnotationOmgevingsnormwaardeCustomEvent, DsoAutosuggestCustomEvent, Suggestion, DsoCardCustomEvent, CardClickEvent, DsoDatePickerCustomEvent, DatePickerChangeEvent, DatePickerBlurEvent, DatePickerKeyboardEvent, DatePickerFocusEvent, DsoDocumentCardCustomEvent, DocumentCardClickEvent, DsoDocumentComponentCustomEvent, DocumentComponentRecursiveToggleEvent, DocumentComponentOpenToggleEvent, DocumentComponentTableOfContentsClickEvent, DocumentComponentOzonContentClickEvent, DocumentComponentToggleAnnotationEvent, DocumentComponentMarkItemHighlightEvent, DsoDropdownMenuItemCustomEvent, DropdownMenuItemClickEvent, DsoExpandableCustomEvent, ExpandableAnimationStartEvent, ExpandableAnimationEndEvent, DsoGridColumnCustomEvent, GridColumnCloseEvent, DsoHeaderCustomEvent, HeaderEvent, DsoHistoryItemCustomEvent, HistoryItemClickEvent, DsoIconButtonCustomEvent, IconButtonClickEvent, DsoInfoCustomEvent, InfoCloseEvent, DsoInfoButtonCustomEvent, InfoButtonToggleEvent, DsoInputRangeCustomEvent, InputRangeChangeEvent, DsoLabelCustomEvent, DsoLegendCustomEvent, LegendContentSwitchEvent, LegendCloseEvent, DsoLegendGroupCustomEvent, LegendGroupModeChangeEvent, DsoLegendItemCustomEvent, LegendItemActiveChangeEvent, LegendItemDeleteEvent, DsoListButtonCustomEvent, ListButtonChangeEvent, ListButtonSelectedEvent, DsoLogoCustomEvent, LogoClickEvent, LogoLabelClickEvent, DsoMapBaseLayersCustomEvent, BaseLayerChangeEvent, DsoMapControlsCustomEvent, MapControlsToggleEvent, DsoMapLayerCustomEvent, MapLayerActiveChangeEvent, DsoMapLayerObjectCustomEvent, MapLayerObjectActiveChangeEvent, DsoMapOverlaysCustomEvent, OverlayChangeEvent, DsoMarkBarCustomEvent, MarkBarInputEvent, MarkBarPaginationEvent, MarkBarClearEvent, DsoModalCustomEvent, ModalCloseEvent, DsoOnboardingTipCustomEvent, OnboardingTipCloseEvent, DsoOzonContentCustomEvent, OzonContentClickEvent, OzonContentMarkItemHighlightEvent, DsoPaginationCustomEvent, PaginationSelectPageEvent, DsoPanelCustomEvent, PanelCloseEvent, DsoPlekinfoCardCustomEvent, PlekinfoCardClickEvent, DsoRenvooiCustomEvent, RenvooiMarkItemHighlightEvent, DsoResponsiveElementCustomEvent, ResponsiveElementSize, DsoScrollableCustomEvent, DsoScrollEndEvent, DsoSegmentedButtonCustomEvent, SegmentedButtonChangeEvent, DsoSelectableCustomEvent, SelectableChangeEvent, DsoShoppingCartItemCustomEvent, ShoppingCartItemEditEvent, ShoppingCartItemDeleteEvent, ShoppingCartItemCloseEvent, DsoSkiplinkCustomEvent, SkiplinkClickEvent, DsoSlideToggleCustomEvent, SlideToggleActiveEvent, DsoSurveyRatingCustomEvent, SurveyRatingSubmitEvent, SurveyRatingCloseEvent, DsoTabCustomEvent, TabsSwitchEvent, DsoTreeViewCustomEvent, TreeViewItem, TreeViewPointerEvent, DsoViewerGridCustomEvent, ViewerGridCloseOverlayEvent, ViewerGridCloseFilterPanelEvent, ViewerGridActiveTabSwitchEvent, ViewerGridChangeSizeAnimationEndEvent, ViewerGridChangeSizeEvent, ViewerGridMainToggleEvent, DsotDocumentComponentDemoCustomEvent } from '@dso-toolkit/core/dist/components';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
5
  import * as _dso_toolkit_core_dist_types_components_date_picker_date_picker_interfaces from '@dso-toolkit/core/dist/types/components/date-picker/date-picker.interfaces';
6
6
  import { FormValueControl, FormCheckboxControl } from '@angular/forms/signals';
@@ -1078,10 +1078,14 @@ declare class DsoIconButton {
1078
1078
  */
1079
1079
  set icon(_: Components.DsoIconButton['icon']);
1080
1080
  /**
1081
- * The label of the Icon Button which is shown on hover in a tooltip.
1081
+ * The accessible name of the Icon Button. Also shown as tooltip when `tooltip` is not set.
1082
1082
  */
1083
1083
  set label(_: Components.DsoIconButton['label']);
1084
1084
  /**
1085
+ * Optional shorter text for the tooltip. Must occur as whole words in `label`, preferably at the start.
1086
+ */
1087
+ set tooltip(_: Components.DsoIconButton['tooltip']);
1088
+ /**
1085
1089
  * The variant of the Icon Button. @default "secondary"
1086
1090
  */
1087
1091
  set variant(_: Components.DsoIconButton['variant']);
@@ -1114,7 +1118,7 @@ for a wrapping component passing an element across a shadow boundary.
1114
1118
  dsoClick: EventEmitter<DsoIconButtonCustomEvent<IconButtonClickEvent>>;
1115
1119
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1116
1120
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoIconButton, never>;
1117
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoIconButton, "dso-icon-button", never, { "controlsElement": { "alias": "controlsElement"; "required": false; }; "describedByElement": { "alias": "describedByElement"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "icon": { "alias": "icon"; "required": true; }; "label": { "alias": "label"; "required": true; }; "toggled": { "alias": "toggled"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "dsoClick": "dsoClick"; }, never, ["*"], true, never>;
1121
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoIconButton, "dso-icon-button", never, { "controlsElement": { "alias": "controlsElement"; "required": false; }; "describedByElement": { "alias": "describedByElement"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "icon": { "alias": "icon"; "required": true; }; "label": { "alias": "label"; "required": true; }; "toggled": { "alias": "toggled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "dsoClick": "dsoClick"; }, never, ["*"], true, never>;
1118
1122
  }
1119
1123
  declare interface DsoIconButton extends Components.DsoIconButton {
1120
1124
  /**
@@ -1146,16 +1150,24 @@ declare class DsoInfo {
1146
1150
  * Whether the Info is active.
1147
1151
  */
1148
1152
  set active(_: Components.DsoInfo['active']);
1149
- dsoClose: EventEmitter<DsoInfoCustomEvent<MouseEvent>>;
1153
+ /**
1154
+ * The accessible label of the close button. Make this specific, for example `Sluit toelichting [label]`.
1155
+ Defaults to "Sluiten".
1156
+ */
1157
+ set closeLabel(_: Components.DsoInfo['closeLabel']);
1158
+ dsoClose: EventEmitter<DsoInfoCustomEvent<InfoCloseEvent>>;
1150
1159
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1151
1160
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoInfo, never>;
1152
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoInfo, "dso-info", never, { "active": { "alias": "active"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, { "dsoClose": "dsoClose"; }, never, ["*"], true, never>;
1161
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoInfo, "dso-info", never, { "active": { "alias": "active"; "required": false; }; "closeLabel": { "alias": "closeLabel"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, { "dsoClose": "dsoClose"; }, never, ["*"], true, never>;
1153
1162
  }
1154
1163
  declare interface DsoInfo extends Components.DsoInfo {
1155
1164
  /**
1156
1165
  * Emitted when the user activates the close button.
1166
+
1167
+ `previousActiveElement` contains the element that had focus when the Info was activated. Use it to return focus
1168
+ after closing the Info.
1157
1169
  */
1158
- dsoClose: EventEmitter<DsoInfoCustomEvent<MouseEvent>>;
1170
+ dsoClose: EventEmitter<DsoInfoCustomEvent<InfoCloseEvent>>;
1159
1171
  }
1160
1172
  declare class DsoInfoButton {
1161
1173
  protected z: NgZone;
@@ -2043,10 +2055,15 @@ Can be used to indicate child Selectables that are a mix of checked and unchecke
2043
2055
  * Set to true if the Info should not be toggled and always visible.
2044
2056
  */
2045
2057
  set infoFixed(_: Components.DsoSelectable['infoFixed']);
2058
+ /**
2059
+ * The accessible label of the close button of the Info. Make this specific, for example `Sluit toelichting [label]`.
2060
+ Defaults to "Sluiten".
2061
+ */
2062
+ set infoCloseLabel(_: Components.DsoSelectable['infoCloseLabel']);
2046
2063
  dsoChange: EventEmitter<DsoSelectableCustomEvent<SelectableChangeEvent>>;
2047
2064
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
2048
2065
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoSelectable, never>;
2049
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoSelectable, "dso-selectable", never, { "checked": { "alias": "checked"; "required": false; }; "describedById": { "alias": "describedById"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errormessage": { "alias": "errormessage"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "infoFixed": { "alias": "infoFixed"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "labelledById": { "alias": "labelledById"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": true; }; "value": { "alias": "value"; "required": false; }; }, { "dsoChange": "dsoChange"; }, never, ["*"], true, never>;
2066
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoSelectable, "dso-selectable", never, { "checked": { "alias": "checked"; "required": false; }; "describedById": { "alias": "describedById"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errormessage": { "alias": "errormessage"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "infoCloseLabel": { "alias": "infoCloseLabel"; "required": false; }; "infoFixed": { "alias": "infoFixed"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "labelledById": { "alias": "labelledById"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": true; }; "value": { "alias": "value"; "required": false; }; }, { "dsoChange": "dsoChange"; }, never, ["*"], true, never>;
2050
2067
  }
2051
2068
  declare interface DsoSelectable extends Components.DsoSelectable {
2052
2069
  /**