@dso-toolkit/angular 103.0.0 → 105.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": "
|
|
4
|
+
"version": "105.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": "
|
|
18
|
+
"@dso-toolkit/core": "105.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
|
-
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';
|
|
2
|
+
import { NgZone, ChangeDetectorRef, ElementRef, EventEmitter, DestroyRef } 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, 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';
|
|
@@ -454,7 +454,8 @@ declare class DsoBadge {
|
|
|
454
454
|
*/
|
|
455
455
|
set status(_: Components.DsoBadge['status']);
|
|
456
456
|
/**
|
|
457
|
-
* The
|
|
457
|
+
* The label of the interactive Badge with Toggletip. It is shown in the Tooltip and added to the accessible name,
|
|
458
|
+
after the visible text of the Badge.
|
|
458
459
|
*/
|
|
459
460
|
set label(_: Components.DsoBadge['label']);
|
|
460
461
|
/**
|
|
@@ -1078,10 +1079,14 @@ declare class DsoIconButton {
|
|
|
1078
1079
|
*/
|
|
1079
1080
|
set icon(_: Components.DsoIconButton['icon']);
|
|
1080
1081
|
/**
|
|
1081
|
-
* The
|
|
1082
|
+
* The accessible name of the Icon Button. Also shown as tooltip when `tooltip` is not set.
|
|
1082
1083
|
*/
|
|
1083
1084
|
set label(_: Components.DsoIconButton['label']);
|
|
1084
1085
|
/**
|
|
1086
|
+
* Optional shorter text for the tooltip. Must occur as whole words in `label`, preferably at the start.
|
|
1087
|
+
*/
|
|
1088
|
+
set tooltip(_: Components.DsoIconButton['tooltip']);
|
|
1089
|
+
/**
|
|
1085
1090
|
* The variant of the Icon Button. @default "secondary"
|
|
1086
1091
|
*/
|
|
1087
1092
|
set variant(_: Components.DsoIconButton['variant']);
|
|
@@ -1114,7 +1119,7 @@ for a wrapping component passing an element across a shadow boundary.
|
|
|
1114
1119
|
dsoClick: EventEmitter<DsoIconButtonCustomEvent<IconButtonClickEvent>>;
|
|
1115
1120
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1116
1121
|
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>;
|
|
1122
|
+
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
1123
|
}
|
|
1119
1124
|
declare interface DsoIconButton extends Components.DsoIconButton {
|
|
1120
1125
|
/**
|
|
@@ -1146,16 +1151,24 @@ declare class DsoInfo {
|
|
|
1146
1151
|
* Whether the Info is active.
|
|
1147
1152
|
*/
|
|
1148
1153
|
set active(_: Components.DsoInfo['active']);
|
|
1149
|
-
|
|
1154
|
+
/**
|
|
1155
|
+
* The accessible label of the close button. Make this specific, for example `Sluit toelichting [label]`.
|
|
1156
|
+
Defaults to "Sluiten".
|
|
1157
|
+
*/
|
|
1158
|
+
set closeLabel(_: Components.DsoInfo['closeLabel']);
|
|
1159
|
+
dsoClose: EventEmitter<DsoInfoCustomEvent<InfoCloseEvent>>;
|
|
1150
1160
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1151
1161
|
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>;
|
|
1162
|
+
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
1163
|
}
|
|
1154
1164
|
declare interface DsoInfo extends Components.DsoInfo {
|
|
1155
1165
|
/**
|
|
1156
1166
|
* Emitted when the user activates the close button.
|
|
1167
|
+
|
|
1168
|
+
`previousActiveElement` contains the element that had focus when the Info was activated. Use it to return focus
|
|
1169
|
+
after closing the Info.
|
|
1157
1170
|
*/
|
|
1158
|
-
dsoClose: EventEmitter<DsoInfoCustomEvent<
|
|
1171
|
+
dsoClose: EventEmitter<DsoInfoCustomEvent<InfoCloseEvent>>;
|
|
1159
1172
|
}
|
|
1160
1173
|
declare class DsoInfoButton {
|
|
1161
1174
|
protected z: NgZone;
|
|
@@ -2043,10 +2056,15 @@ Can be used to indicate child Selectables that are a mix of checked and unchecke
|
|
|
2043
2056
|
* Set to true if the Info should not be toggled and always visible.
|
|
2044
2057
|
*/
|
|
2045
2058
|
set infoFixed(_: Components.DsoSelectable['infoFixed']);
|
|
2059
|
+
/**
|
|
2060
|
+
* The accessible label of the close button of the Info. Make this specific, for example `Sluit toelichting [label]`.
|
|
2061
|
+
Defaults to "Sluiten".
|
|
2062
|
+
*/
|
|
2063
|
+
set infoCloseLabel(_: Components.DsoSelectable['infoCloseLabel']);
|
|
2046
2064
|
dsoChange: EventEmitter<DsoSelectableCustomEvent<SelectableChangeEvent>>;
|
|
2047
2065
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2048
2066
|
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>;
|
|
2067
|
+
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
2068
|
}
|
|
2051
2069
|
declare interface DsoSelectable extends Components.DsoSelectable {
|
|
2052
2070
|
/**
|
|
@@ -2536,7 +2554,7 @@ declare class DsoSelectableRadioGroupFieldControl implements FormValueControl<st
|
|
|
2536
2554
|
readonly touched: i0.ModelSignal<boolean>;
|
|
2537
2555
|
readonly touch: i0.OutputEmitterRef<void>;
|
|
2538
2556
|
private readonly options;
|
|
2539
|
-
constructor(elementRef: ElementRef<HTMLFieldSetElement
|
|
2557
|
+
constructor(elementRef: ElementRef<HTMLFieldSetElement>, destroyRef: DestroyRef);
|
|
2540
2558
|
onDsoChange(event: Event): void;
|
|
2541
2559
|
onFocusOut(event: FocusEvent): void;
|
|
2542
2560
|
focus(options?: FocusOptions): void;
|