@dso-toolkit/angular 100.4.0 → 101.1.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": "101.1.0",
|
|
5
5
|
"homepage": "https://www.dso-toolkit.nl/",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
"url": "https://github.com/dso-toolkit/dso-toolkit.git"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/common": "^
|
|
15
|
-
"@angular/core": "^
|
|
16
|
-
"@angular/cdk": "^
|
|
17
|
-
"@
|
|
14
|
+
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
15
|
+
"@angular/core": "^21.0.0 || ^22.0.0",
|
|
16
|
+
"@angular/cdk": "^21.0.0 || ^22.0.0",
|
|
17
|
+
"@angular/forms": "^21.0.0 || ^22.0.0",
|
|
18
|
+
"@dso-toolkit/core": "101.1.0"
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"tslib": "^2.8.1"
|
|
@@ -2,6 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { NgZone, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
3
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, DsoShoppingCartCustomEvent, ShoppingCartToggleEvent, 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
|
+
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
|
+
import { FormValueControl, FormCheckboxControl } from '@angular/forms/signals';
|
|
5
7
|
|
|
6
8
|
declare class DsoAccordion {
|
|
7
9
|
protected z: NgZone;
|
|
@@ -617,11 +619,13 @@ interact with the input, and conveys its inactive state to assistive technologie
|
|
|
617
619
|
/**
|
|
618
620
|
* Minimum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.
|
|
619
621
|
This setting can be used alone or together with the max property.
|
|
622
|
+
Numeric values from Angular Signal Forms do not set a date limit.
|
|
620
623
|
*/
|
|
621
624
|
set min(_: Components.DsoDatePicker['min']);
|
|
622
625
|
/**
|
|
623
626
|
* Maximum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.
|
|
624
627
|
This setting can be used alone or together with the min property.
|
|
628
|
+
Numeric values from Angular Signal Forms do not set a date limit.
|
|
625
629
|
*/
|
|
626
630
|
set max(_: Components.DsoDatePicker['max']);
|
|
627
631
|
dsoDateChange: EventEmitter<DsoDatePickerCustomEvent<DatePickerChangeEvent>>;
|
|
@@ -808,7 +812,7 @@ declare interface DsoDocumentComponent extends Components.DsoDocumentComponent {
|
|
|
808
812
|
*/
|
|
809
813
|
dsoTableOfContentsClick: EventEmitter<DsoDocumentComponentCustomEvent<DocumentComponentTableOfContentsClickEvent>>;
|
|
810
814
|
/**
|
|
811
|
-
* Emitted when the user interacts with IntRef in Ozon Content
|
|
815
|
+
* Emitted when the user interacts with IntRef, ExtRef or ExtIoRef in Ozon Content
|
|
812
816
|
*/
|
|
813
817
|
dsoOzonContentClick: EventEmitter<DsoDocumentComponentCustomEvent<DocumentComponentOzonContentClickEvent>>;
|
|
814
818
|
/**
|
|
@@ -1839,6 +1843,19 @@ declare interface DsoPlekinfoCard extends Components.DsoPlekinfoCard {
|
|
|
1839
1843
|
*/
|
|
1840
1844
|
dsoPlekinfoCardClick: EventEmitter<DsoPlekinfoCardCustomEvent<PlekinfoCardClickEvent>>;
|
|
1841
1845
|
}
|
|
1846
|
+
declare class DsoPlekinfoCardItem {
|
|
1847
|
+
protected z: NgZone;
|
|
1848
|
+
protected el: HTMLDsoPlekinfoCardItemElement;
|
|
1849
|
+
/**
|
|
1850
|
+
* An optional 'wijzigactie' that signals if the plekinfo item is added or removed.
|
|
1851
|
+
*/
|
|
1852
|
+
set wijzigactie(_: Components.DsoPlekinfoCardItem['wijzigactie']);
|
|
1853
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1854
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DsoPlekinfoCardItem, never>;
|
|
1855
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DsoPlekinfoCardItem, "dso-plekinfo-card-item", never, { "wijzigactie": { "alias": "wijzigactie"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1856
|
+
}
|
|
1857
|
+
declare interface DsoPlekinfoCardItem extends Components.DsoPlekinfoCardItem {
|
|
1858
|
+
}
|
|
1842
1859
|
declare class DsoProgressIndicator {
|
|
1843
1860
|
protected z: NgZone;
|
|
1844
1861
|
protected el: HTMLDsoProgressIndicatorElement;
|
|
@@ -2272,6 +2289,15 @@ declare interface DsoTreeView extends Components.DsoTreeView {
|
|
|
2272
2289
|
*/
|
|
2273
2290
|
dsoClickItem: EventEmitter<DsoTreeViewCustomEvent<TreeViewPointerEvent>>;
|
|
2274
2291
|
}
|
|
2292
|
+
declare class DsoTruncate {
|
|
2293
|
+
protected z: NgZone;
|
|
2294
|
+
protected el: HTMLDsoTruncateElement;
|
|
2295
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
2296
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DsoTruncate, never>;
|
|
2297
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DsoTruncate, "dso-truncate", never, {}, {}, never, ["*"], true, never>;
|
|
2298
|
+
}
|
|
2299
|
+
declare interface DsoTruncate extends Components.DsoTruncate {
|
|
2300
|
+
}
|
|
2275
2301
|
declare class DsoViewerGrid {
|
|
2276
2302
|
protected z: NgZone;
|
|
2277
2303
|
protected el: HTMLDsoViewerGridElement;
|
|
@@ -2401,7 +2427,8 @@ declare class DsotDocumentComponentDemo {
|
|
|
2401
2427
|
}
|
|
2402
2428
|
declare interface DsotDocumentComponentDemo extends Components.DsotDocumentComponentDemo {
|
|
2403
2429
|
/**
|
|
2404
|
-
* To demo the user interacting with Kop, IntRef or the Kenmerken en kaart button of IntIoRef in
|
|
2430
|
+
* To demo the user interacting with Kop, IntRef, ExtRef, ExtIoRef or the Kenmerken en kaart button of IntIoRef in
|
|
2431
|
+
Ozon Content
|
|
2405
2432
|
*/
|
|
2406
2433
|
dsotOzonContentClick: EventEmitter<DsotDocumentComponentDemoCustomEvent<DocumentComponentOzonContentClickEvent>>;
|
|
2407
2434
|
/**
|
|
@@ -2410,7 +2437,7 @@ declare interface DsotDocumentComponentDemo extends Components.DsotDocumentCompo
|
|
|
2410
2437
|
dsotTableOfContentsClick: EventEmitter<DsotDocumentComponentDemoCustomEvent<DocumentComponentTableOfContentsClickEvent>>;
|
|
2411
2438
|
}
|
|
2412
2439
|
|
|
2413
|
-
declare const DIRECTIVES: (typeof DsoAccordion | typeof DsoAccordionSection | typeof DsoActionList | typeof DsoActionListItem | typeof DsoAdvancedSelect | typeof DsoAlert | typeof DsoAnnotationActiviteit | typeof DsoAnnotationGebiedsaanwijzing | typeof DsoAnnotationKaart | typeof DsoAnnotationLocatie | typeof DsoAnnotationOmgevingsnormwaarde | typeof DsoAttachmentsCounter | typeof DsoAutosuggest | typeof DsoBadge | typeof DsoBanner | typeof DsoButtonGroup | typeof DsoCard | typeof DsoCardContainer | typeof DsoContactInformation | typeof DsoCursorTooltip | typeof DsoDatePicker | typeof DsoDocumentCard | typeof DsoDocumentComponent | typeof DsoDropdownMenu | typeof DsoDropdownMenuGroup | typeof DsoDropdownMenuItem | typeof DsoExpandable | typeof DsoGridColumn | typeof DsoHeader | typeof DsoHeroImage | typeof DsoHighlightBox | typeof DsoHistoryItem | typeof DsoIcon | typeof DsoIconButton | typeof DsoImageOverlay | typeof DsoInfo | typeof DsoInfoButton | typeof DsoInputRange | typeof DsoLabel | typeof DsoLegend | typeof DsoLegendGroup | typeof DsoLegendItem | typeof DsoListButton | typeof DsoLogo | typeof DsoMapBaseLayers | typeof DsoMapControls | typeof DsoMapLayer | typeof DsoMapLayerObject | typeof DsoMapMessage | typeof DsoMapOverlays | typeof DsoMarkBar | typeof DsoModal | typeof DsoOnboardingTip | typeof DsoOzonContent | typeof DsoOzonContentToggletip | typeof DsoPagination | typeof DsoPanel | typeof DsoPlekinfoCard | typeof DsoProgressIndicator | typeof DsoProjectItem | typeof DsoRenvooi | typeof DsoResponsiveElement | typeof DsoScrollable | typeof DsoSegmentedButton | typeof DsoSelectable | typeof DsoShoppingCart | typeof DsoShoppingCartItem | typeof DsoSkiplink | typeof DsoSlideToggle | typeof DsoSurveyRating | typeof DsoTab | typeof DsoTable | typeof DsoTabs | typeof DsoTijdreisBanner | typeof DsoTreeView | typeof DsoViewerGrid | typeof DsotDocumentComponentDemo)[];
|
|
2440
|
+
declare const DIRECTIVES: (typeof DsoAccordion | typeof DsoAccordionSection | typeof DsoActionList | typeof DsoActionListItem | typeof DsoAdvancedSelect | typeof DsoAlert | typeof DsoAnnotationActiviteit | typeof DsoAnnotationGebiedsaanwijzing | typeof DsoAnnotationKaart | typeof DsoAnnotationLocatie | typeof DsoAnnotationOmgevingsnormwaarde | typeof DsoAttachmentsCounter | typeof DsoAutosuggest | typeof DsoBadge | typeof DsoBanner | typeof DsoButtonGroup | typeof DsoCard | typeof DsoCardContainer | typeof DsoContactInformation | typeof DsoCursorTooltip | typeof DsoDatePicker | typeof DsoDocumentCard | typeof DsoDocumentComponent | typeof DsoDropdownMenu | typeof DsoDropdownMenuGroup | typeof DsoDropdownMenuItem | typeof DsoExpandable | typeof DsoGridColumn | typeof DsoHeader | typeof DsoHeroImage | typeof DsoHighlightBox | typeof DsoHistoryItem | typeof DsoIcon | typeof DsoIconButton | typeof DsoImageOverlay | typeof DsoInfo | typeof DsoInfoButton | typeof DsoInputRange | typeof DsoLabel | typeof DsoLegend | typeof DsoLegendGroup | typeof DsoLegendItem | typeof DsoListButton | typeof DsoLogo | typeof DsoMapBaseLayers | typeof DsoMapControls | typeof DsoMapLayer | typeof DsoMapLayerObject | typeof DsoMapMessage | typeof DsoMapOverlays | typeof DsoMarkBar | typeof DsoModal | typeof DsoOnboardingTip | typeof DsoOzonContent | typeof DsoOzonContentToggletip | typeof DsoPagination | typeof DsoPanel | typeof DsoPlekinfoCard | typeof DsoPlekinfoCardItem | typeof DsoProgressIndicator | typeof DsoProjectItem | typeof DsoRenvooi | typeof DsoResponsiveElement | typeof DsoScrollable | typeof DsoSegmentedButton | typeof DsoSelectable | typeof DsoShoppingCart | typeof DsoShoppingCartItem | typeof DsoSkiplink | typeof DsoSlideToggle | typeof DsoSurveyRating | typeof DsoTab | typeof DsoTable | typeof DsoTabs | typeof DsoTijdreisBanner | typeof DsoTreeView | typeof DsoTruncate | typeof DsoViewerGrid | typeof DsotDocumentComponentDemo)[];
|
|
2414
2441
|
|
|
2415
2442
|
declare class BooleanValueAccessor implements ControlValueAccessor {
|
|
2416
2443
|
private el;
|
|
@@ -2424,7 +2451,7 @@ declare class BooleanValueAccessor implements ControlValueAccessor {
|
|
|
2424
2451
|
registerOnTouched(fn: () => void): void;
|
|
2425
2452
|
setDisabledState(isDisabled: boolean): void;
|
|
2426
2453
|
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanValueAccessor, never>;
|
|
2427
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanValueAccessor, "dso-selectable[type=checkbox]", never, {}, {}, never, never, true, never>;
|
|
2454
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BooleanValueAccessor, "dso-selectable[type=checkbox]:not([formField])", never, {}, {}, never, never, true, never>;
|
|
2428
2455
|
}
|
|
2429
2456
|
|
|
2430
2457
|
declare class RadioValueAccessor implements ControlValueAccessor {
|
|
@@ -2442,10 +2469,95 @@ declare class RadioValueAccessor implements ControlValueAccessor {
|
|
|
2442
2469
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioValueAccessor, "dso-selectable[type=radio]", never, {}, {}, never, never, true, never>;
|
|
2443
2470
|
}
|
|
2444
2471
|
|
|
2472
|
+
/**
|
|
2473
|
+
* Adapts `dso-date-picker` to Angular Signal Forms by implementing
|
|
2474
|
+
* the `FormValueControl<string>` contract.
|
|
2475
|
+
*
|
|
2476
|
+
* @example
|
|
2477
|
+
* <dso-date-picker
|
|
2478
|
+
* [formField]="myForm.datum"
|
|
2479
|
+
* minDate="01-01-2024"
|
|
2480
|
+
* maxDate="31-12-2024"
|
|
2481
|
+
* />
|
|
2482
|
+
*/
|
|
2483
|
+
declare class DsoDatePickerFieldControl implements FormValueControl<string> {
|
|
2484
|
+
readonly value: i0.ModelSignal<string>;
|
|
2485
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
2486
|
+
readonly required: i0.InputSignal<boolean>;
|
|
2487
|
+
readonly invalid: i0.InputSignal<boolean>;
|
|
2488
|
+
readonly touched: i0.ModelSignal<boolean>;
|
|
2489
|
+
readonly touch: i0.OutputEmitterRef<void>;
|
|
2490
|
+
readonly minDate: i0.InputSignal<string | undefined>;
|
|
2491
|
+
readonly maxDate: i0.InputSignal<string | undefined>;
|
|
2492
|
+
readonly inputError: i0.ModelSignal<_dso_toolkit_core_dist_types_components_date_picker_date_picker_interfaces.DatePickerError | undefined>;
|
|
2493
|
+
constructor(elementRef: ElementRef<HTMLDsoDatePickerElement>);
|
|
2494
|
+
onDsoDateChange(event: DsoDatePickerCustomEvent<DatePickerChangeEvent>): void;
|
|
2495
|
+
onDsoBlur(event: DsoDatePickerCustomEvent<DatePickerChangeEvent>): void;
|
|
2496
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DsoDatePickerFieldControl, never>;
|
|
2497
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DsoDatePickerFieldControl, "dso-date-picker[formField]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "inputError": { "alias": "inputError"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; "touch": "touch"; "inputError": "inputErrorChange"; }, never, never, true, never>;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Adapts `dso-selectable[type=checkbox]` to Angular Signal Forms by implementing
|
|
2502
|
+
* the `FormCheckboxControl` contract.
|
|
2503
|
+
*
|
|
2504
|
+
* @example
|
|
2505
|
+
* <dso-selectable type="checkbox" [formField]="myForm.akkoord">
|
|
2506
|
+
* Akkoord
|
|
2507
|
+
* </dso-selectable>
|
|
2508
|
+
*/
|
|
2509
|
+
declare class DsoSelectableCheckboxFieldControl implements FormCheckboxControl {
|
|
2510
|
+
readonly checked: i0.ModelSignal<boolean>;
|
|
2511
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
2512
|
+
readonly required: i0.InputSignal<boolean>;
|
|
2513
|
+
readonly invalid: i0.InputSignal<boolean>;
|
|
2514
|
+
readonly touched: i0.ModelSignal<boolean>;
|
|
2515
|
+
readonly touch: i0.OutputEmitterRef<void>;
|
|
2516
|
+
constructor(elementRef: ElementRef<HTMLDsoSelectableElement>);
|
|
2517
|
+
onDsoChange(event: DsoSelectableCustomEvent<SelectableChangeEvent>): void;
|
|
2518
|
+
onFocusOut(): void;
|
|
2519
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DsoSelectableCheckboxFieldControl, never>;
|
|
2520
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DsoSelectableCheckboxFieldControl, "dso-selectable[type=checkbox][formField]", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "touched": "touchedChange"; "touch": "touch"; }, never, never, true, never>;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Connects a group of radio Selectables to one Angular Signal Forms field.
|
|
2525
|
+
*
|
|
2526
|
+
* Apply `[formField]` and `dsoSelectableRadioGroup` to their enclosing `fieldset`,
|
|
2527
|
+
* not to the individual `dso-selectable` elements. Each radio must have the same
|
|
2528
|
+
* `name` and a unique, non-empty `value`. This directive implements
|
|
2529
|
+
* `FormValueControl<string>`: it synchronizes the selected option and the group's
|
|
2530
|
+
* disabled, required, and invalid states, updates the form on `dsoChange`, and
|
|
2531
|
+
* marks the field as touched when focus leaves the fieldset.
|
|
2532
|
+
*
|
|
2533
|
+
* @example
|
|
2534
|
+
* <fieldset dsoSelectableRadioGroup [formField]="myForm.keuze">
|
|
2535
|
+
* <legend>Maak een keuze</legend>
|
|
2536
|
+
* <dso-selectable type="radio" name="keuze" value="ja">Ja</dso-selectable>
|
|
2537
|
+
* <dso-selectable type="radio" name="keuze" value="nee">Nee</dso-selectable>
|
|
2538
|
+
* </fieldset>
|
|
2539
|
+
*/
|
|
2540
|
+
declare class DsoSelectableRadioGroupFieldControl implements FormValueControl<string> {
|
|
2541
|
+
private readonly elementRef;
|
|
2542
|
+
readonly value: i0.ModelSignal<string>;
|
|
2543
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
2544
|
+
readonly required: i0.InputSignal<boolean>;
|
|
2545
|
+
readonly invalid: i0.InputSignal<boolean>;
|
|
2546
|
+
readonly touched: i0.ModelSignal<boolean>;
|
|
2547
|
+
readonly touch: i0.OutputEmitterRef<void>;
|
|
2548
|
+
private readonly options;
|
|
2549
|
+
constructor(elementRef: ElementRef<HTMLFieldSetElement>);
|
|
2550
|
+
onDsoChange(event: Event): void;
|
|
2551
|
+
onFocusOut(event: FocusEvent): void;
|
|
2552
|
+
focus(options?: FocusOptions): void;
|
|
2553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DsoSelectableRadioGroupFieldControl, never>;
|
|
2554
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DsoSelectableRadioGroupFieldControl, "fieldset[dsoSelectableRadioGroup][formField]", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touched": "touchedChange"; "touch": "touch"; }, ["options"], never, true, never>;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2445
2557
|
declare class DsoToolkitModule {
|
|
2446
2558
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsoToolkitModule, never>;
|
|
2447
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DsoToolkitModule, never, [typeof DsoAccordion, typeof DsoAccordionSection, typeof DsoActionList, typeof DsoActionListItem, typeof DsoAdvancedSelect, typeof DsoAlert, typeof DsoAnnotationActiviteit, typeof DsoAnnotationGebiedsaanwijzing, typeof DsoAnnotationKaart, typeof DsoAnnotationLocatie, typeof DsoAnnotationOmgevingsnormwaarde, typeof DsoAttachmentsCounter, typeof DsoAutosuggest, typeof DsoBadge, typeof DsoBanner, typeof DsoButtonGroup, typeof DsoCard, typeof DsoCardContainer, typeof DsoContactInformation, typeof DsoCursorTooltip, typeof DsoDatePicker, typeof DsoDocumentCard, typeof DsoDocumentComponent, typeof DsoDropdownMenu, typeof DsoDropdownMenuGroup, typeof DsoDropdownMenuItem, typeof DsoExpandable, typeof DsoGridColumn, typeof DsoHeader, typeof DsoHeroImage, typeof DsoHighlightBox, typeof DsoHistoryItem, typeof DsoIcon, typeof DsoIconButton, typeof DsoImageOverlay, typeof DsoInfo, typeof DsoInfoButton, typeof DsoInputRange, typeof DsoLabel, typeof DsoLegend, typeof DsoLegendGroup, typeof DsoLegendItem, typeof DsoListButton, typeof DsoLogo, typeof DsoMapBaseLayers, typeof DsoMapControls, typeof DsoMapLayer, typeof DsoMapLayerObject, typeof DsoMapMessage, typeof DsoMapOverlays, typeof DsoMarkBar, typeof DsoModal, typeof DsoOnboardingTip, typeof DsoOzonContent, typeof DsoOzonContentToggletip, typeof DsoPagination, typeof DsoPanel, typeof DsoPlekinfoCard, typeof DsoProgressIndicator, typeof DsoProjectItem, typeof DsoRenvooi, typeof DsoResponsiveElement, typeof DsoScrollable, typeof DsoSegmentedButton, typeof DsoSelectable, typeof DsoShoppingCart, typeof DsoShoppingCartItem, typeof DsoSkiplink, typeof DsoSlideToggle, typeof DsoSurveyRating, typeof DsoTab, typeof DsoTable, typeof DsoTabs, typeof DsoTijdreisBanner, typeof DsoTreeView, typeof DsoViewerGrid, typeof DsotDocumentComponentDemo, typeof BooleanValueAccessor, typeof RadioValueAccessor], [typeof DsoAccordion, typeof DsoAccordionSection, typeof DsoActionList, typeof DsoActionListItem, typeof DsoAdvancedSelect, typeof DsoAlert, typeof DsoAnnotationActiviteit, typeof DsoAnnotationGebiedsaanwijzing, typeof DsoAnnotationKaart, typeof DsoAnnotationLocatie, typeof DsoAnnotationOmgevingsnormwaarde, typeof DsoAttachmentsCounter, typeof DsoAutosuggest, typeof DsoBadge, typeof DsoBanner, typeof DsoButtonGroup, typeof DsoCard, typeof DsoCardContainer, typeof DsoContactInformation, typeof DsoCursorTooltip, typeof DsoDatePicker, typeof DsoDocumentCard, typeof DsoDocumentComponent, typeof DsoDropdownMenu, typeof DsoDropdownMenuGroup, typeof DsoDropdownMenuItem, typeof DsoExpandable, typeof DsoGridColumn, typeof DsoHeader, typeof DsoHeroImage, typeof DsoHighlightBox, typeof DsoHistoryItem, typeof DsoIcon, typeof DsoIconButton, typeof DsoImageOverlay, typeof DsoInfo, typeof DsoInfoButton, typeof DsoInputRange, typeof DsoLabel, typeof DsoLegend, typeof DsoLegendGroup, typeof DsoLegendItem, typeof DsoListButton, typeof DsoLogo, typeof DsoMapBaseLayers, typeof DsoMapControls, typeof DsoMapLayer, typeof DsoMapLayerObject, typeof DsoMapMessage, typeof DsoMapOverlays, typeof DsoMarkBar, typeof DsoModal, typeof DsoOnboardingTip, typeof DsoOzonContent, typeof DsoOzonContentToggletip, typeof DsoPagination, typeof DsoPanel, typeof DsoPlekinfoCard, typeof DsoProgressIndicator, typeof DsoProjectItem, typeof DsoRenvooi, typeof DsoResponsiveElement, typeof DsoScrollable, typeof DsoSegmentedButton, typeof DsoSelectable, typeof DsoShoppingCart, typeof DsoShoppingCartItem, typeof DsoSkiplink, typeof DsoSlideToggle, typeof DsoSurveyRating, typeof DsoTab, typeof DsoTable, typeof DsoTabs, typeof DsoTijdreisBanner, typeof DsoTreeView, typeof DsoViewerGrid, typeof DsotDocumentComponentDemo, typeof BooleanValueAccessor, typeof RadioValueAccessor]>;
|
|
2559
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DsoToolkitModule, never, [typeof DsoAccordion, typeof DsoAccordionSection, typeof DsoActionList, typeof DsoActionListItem, typeof DsoAdvancedSelect, typeof DsoAlert, typeof DsoAnnotationActiviteit, typeof DsoAnnotationGebiedsaanwijzing, typeof DsoAnnotationKaart, typeof DsoAnnotationLocatie, typeof DsoAnnotationOmgevingsnormwaarde, typeof DsoAttachmentsCounter, typeof DsoAutosuggest, typeof DsoBadge, typeof DsoBanner, typeof DsoButtonGroup, typeof DsoCard, typeof DsoCardContainer, typeof DsoContactInformation, typeof DsoCursorTooltip, typeof DsoDatePicker, typeof DsoDocumentCard, typeof DsoDocumentComponent, typeof DsoDropdownMenu, typeof DsoDropdownMenuGroup, typeof DsoDropdownMenuItem, typeof DsoExpandable, typeof DsoGridColumn, typeof DsoHeader, typeof DsoHeroImage, typeof DsoHighlightBox, typeof DsoHistoryItem, typeof DsoIcon, typeof DsoIconButton, typeof DsoImageOverlay, typeof DsoInfo, typeof DsoInfoButton, typeof DsoInputRange, typeof DsoLabel, typeof DsoLegend, typeof DsoLegendGroup, typeof DsoLegendItem, typeof DsoListButton, typeof DsoLogo, typeof DsoMapBaseLayers, typeof DsoMapControls, typeof DsoMapLayer, typeof DsoMapLayerObject, typeof DsoMapMessage, typeof DsoMapOverlays, typeof DsoMarkBar, typeof DsoModal, typeof DsoOnboardingTip, typeof DsoOzonContent, typeof DsoOzonContentToggletip, typeof DsoPagination, typeof DsoPanel, typeof DsoPlekinfoCard, typeof DsoPlekinfoCardItem, typeof DsoProgressIndicator, typeof DsoProjectItem, typeof DsoRenvooi, typeof DsoResponsiveElement, typeof DsoScrollable, typeof DsoSegmentedButton, typeof DsoSelectable, typeof DsoShoppingCart, typeof DsoShoppingCartItem, typeof DsoSkiplink, typeof DsoSlideToggle, typeof DsoSurveyRating, typeof DsoTab, typeof DsoTable, typeof DsoTabs, typeof DsoTijdreisBanner, typeof DsoTreeView, typeof DsoTruncate, typeof DsoViewerGrid, typeof DsotDocumentComponentDemo, typeof BooleanValueAccessor, typeof RadioValueAccessor, typeof DsoDatePickerFieldControl, typeof DsoSelectableCheckboxFieldControl, typeof DsoSelectableRadioGroupFieldControl], [typeof DsoAccordion, typeof DsoAccordionSection, typeof DsoActionList, typeof DsoActionListItem, typeof DsoAdvancedSelect, typeof DsoAlert, typeof DsoAnnotationActiviteit, typeof DsoAnnotationGebiedsaanwijzing, typeof DsoAnnotationKaart, typeof DsoAnnotationLocatie, typeof DsoAnnotationOmgevingsnormwaarde, typeof DsoAttachmentsCounter, typeof DsoAutosuggest, typeof DsoBadge, typeof DsoBanner, typeof DsoButtonGroup, typeof DsoCard, typeof DsoCardContainer, typeof DsoContactInformation, typeof DsoCursorTooltip, typeof DsoDatePicker, typeof DsoDocumentCard, typeof DsoDocumentComponent, typeof DsoDropdownMenu, typeof DsoDropdownMenuGroup, typeof DsoDropdownMenuItem, typeof DsoExpandable, typeof DsoGridColumn, typeof DsoHeader, typeof DsoHeroImage, typeof DsoHighlightBox, typeof DsoHistoryItem, typeof DsoIcon, typeof DsoIconButton, typeof DsoImageOverlay, typeof DsoInfo, typeof DsoInfoButton, typeof DsoInputRange, typeof DsoLabel, typeof DsoLegend, typeof DsoLegendGroup, typeof DsoLegendItem, typeof DsoListButton, typeof DsoLogo, typeof DsoMapBaseLayers, typeof DsoMapControls, typeof DsoMapLayer, typeof DsoMapLayerObject, typeof DsoMapMessage, typeof DsoMapOverlays, typeof DsoMarkBar, typeof DsoModal, typeof DsoOnboardingTip, typeof DsoOzonContent, typeof DsoOzonContentToggletip, typeof DsoPagination, typeof DsoPanel, typeof DsoPlekinfoCard, typeof DsoPlekinfoCardItem, typeof DsoProgressIndicator, typeof DsoProjectItem, typeof DsoRenvooi, typeof DsoResponsiveElement, typeof DsoScrollable, typeof DsoSegmentedButton, typeof DsoSelectable, typeof DsoShoppingCart, typeof DsoShoppingCartItem, typeof DsoSkiplink, typeof DsoSlideToggle, typeof DsoSurveyRating, typeof DsoTab, typeof DsoTable, typeof DsoTabs, typeof DsoTijdreisBanner, typeof DsoTreeView, typeof DsoTruncate, typeof DsoViewerGrid, typeof DsotDocumentComponentDemo, typeof BooleanValueAccessor, typeof RadioValueAccessor, typeof DsoDatePickerFieldControl, typeof DsoSelectableCheckboxFieldControl, typeof DsoSelectableRadioGroupFieldControl]>;
|
|
2448
2560
|
static ɵinj: i0.ɵɵInjectorDeclaration<DsoToolkitModule>;
|
|
2449
2561
|
}
|
|
2450
2562
|
|
|
2451
|
-
export { BooleanValueAccessor, DIRECTIVES, DsoAccordion, DsoAccordionSection, DsoActionList, DsoActionListItem, DsoAdvancedSelect, DsoAlert, DsoAnnotationActiviteit, DsoAnnotationGebiedsaanwijzing, DsoAnnotationKaart, DsoAnnotationLocatie, DsoAnnotationOmgevingsnormwaarde, DsoAttachmentsCounter, DsoAutosuggest, DsoBadge, DsoBanner, DsoButtonGroup, DsoCard, DsoCardContainer, DsoContactInformation, DsoCursorTooltip, DsoDatePicker, DsoDocumentCard, DsoDocumentComponent, DsoDropdownMenu, DsoDropdownMenuGroup, DsoDropdownMenuItem, DsoExpandable, DsoGridColumn, DsoHeader, DsoHeroImage, DsoHighlightBox, DsoHistoryItem, DsoIcon, DsoIconButton, DsoImageOverlay, DsoInfo, DsoInfoButton, DsoInputRange, DsoLabel, DsoLegend, DsoLegendGroup, DsoLegendItem, DsoListButton, DsoLogo, DsoMapBaseLayers, DsoMapControls, DsoMapLayer, DsoMapLayerObject, DsoMapMessage, DsoMapOverlays, DsoMarkBar, DsoModal, DsoOnboardingTip, DsoOzonContent, DsoOzonContentToggletip, DsoPagination, DsoPanel, DsoPlekinfoCard, DsoProgressIndicator, DsoProjectItem, DsoRenvooi, DsoResponsiveElement, DsoScrollable, DsoSegmentedButton, DsoSelectable, DsoShoppingCart, DsoShoppingCartItem, DsoSkiplink, DsoSlideToggle, DsoSurveyRating, DsoTab, DsoTable, DsoTabs, DsoTijdreisBanner, DsoToolkitModule, DsoTreeView, DsoViewerGrid, DsotDocumentComponentDemo, RadioValueAccessor };
|
|
2563
|
+
export { BooleanValueAccessor, DIRECTIVES, DsoAccordion, DsoAccordionSection, DsoActionList, DsoActionListItem, DsoAdvancedSelect, DsoAlert, DsoAnnotationActiviteit, DsoAnnotationGebiedsaanwijzing, DsoAnnotationKaart, DsoAnnotationLocatie, DsoAnnotationOmgevingsnormwaarde, DsoAttachmentsCounter, DsoAutosuggest, DsoBadge, DsoBanner, DsoButtonGroup, DsoCard, DsoCardContainer, DsoContactInformation, DsoCursorTooltip, DsoDatePicker, DsoDatePickerFieldControl, DsoDocumentCard, DsoDocumentComponent, DsoDropdownMenu, DsoDropdownMenuGroup, DsoDropdownMenuItem, DsoExpandable, DsoGridColumn, DsoHeader, DsoHeroImage, DsoHighlightBox, DsoHistoryItem, DsoIcon, DsoIconButton, DsoImageOverlay, DsoInfo, DsoInfoButton, DsoInputRange, DsoLabel, DsoLegend, DsoLegendGroup, DsoLegendItem, DsoListButton, DsoLogo, DsoMapBaseLayers, DsoMapControls, DsoMapLayer, DsoMapLayerObject, DsoMapMessage, DsoMapOverlays, DsoMarkBar, DsoModal, DsoOnboardingTip, DsoOzonContent, DsoOzonContentToggletip, DsoPagination, DsoPanel, DsoPlekinfoCard, DsoPlekinfoCardItem, DsoProgressIndicator, DsoProjectItem, DsoRenvooi, DsoResponsiveElement, DsoScrollable, DsoSegmentedButton, DsoSelectable, DsoSelectableCheckboxFieldControl, DsoSelectableRadioGroupFieldControl, DsoShoppingCart, DsoShoppingCartItem, DsoSkiplink, DsoSlideToggle, DsoSurveyRating, DsoTab, DsoTable, DsoTabs, DsoTijdreisBanner, DsoToolkitModule, DsoTreeView, DsoTruncate, DsoViewerGrid, DsotDocumentComponentDemo, RadioValueAccessor };
|