@dso-toolkit/angular 100.4.0 → 101.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output,
|
|
3
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Output, effect, model, input, HostListener, Directive, contentChildren, ElementRef, afterRenderEffect, forwardRef, NgModule } from '@angular/core';
|
|
4
4
|
import { fromEvent } from 'rxjs';
|
|
5
5
|
import { defineCustomElement as defineCustomElement$1 } from '@dso-toolkit/core/dist/components/dso-accordion.js';
|
|
6
6
|
import { defineCustomElement as defineCustomElement$2 } from '@dso-toolkit/core/dist/components/dso-accordion-section.js';
|
|
@@ -60,25 +60,27 @@ import { defineCustomElement as defineCustomElement$T } from '@dso-toolkit/core/
|
|
|
60
60
|
import { defineCustomElement as defineCustomElement$U } from '@dso-toolkit/core/dist/components/dso-pagination.js';
|
|
61
61
|
import { defineCustomElement as defineCustomElement$V } from '@dso-toolkit/core/dist/components/dso-panel.js';
|
|
62
62
|
import { defineCustomElement as defineCustomElement$W } from '@dso-toolkit/core/dist/components/dso-plekinfo-card.js';
|
|
63
|
-
import { defineCustomElement as defineCustomElement$X } from '@dso-toolkit/core/dist/components/dso-
|
|
64
|
-
import { defineCustomElement as defineCustomElement$Y } from '@dso-toolkit/core/dist/components/dso-
|
|
65
|
-
import { defineCustomElement as defineCustomElement$Z } from '@dso-toolkit/core/dist/components/dso-
|
|
66
|
-
import { defineCustomElement as defineCustomElement$_ } from '@dso-toolkit/core/dist/components/dso-
|
|
67
|
-
import { defineCustomElement as defineCustomElement$$ } from '@dso-toolkit/core/dist/components/dso-
|
|
68
|
-
import { defineCustomElement as defineCustomElement$10 } from '@dso-toolkit/core/dist/components/dso-
|
|
69
|
-
import { defineCustomElement as defineCustomElement$11 } from '@dso-toolkit/core/dist/components/dso-
|
|
70
|
-
import { defineCustomElement as defineCustomElement$12 } from '@dso-toolkit/core/dist/components/dso-
|
|
71
|
-
import { defineCustomElement as defineCustomElement$13 } from '@dso-toolkit/core/dist/components/dso-shopping-cart
|
|
72
|
-
import { defineCustomElement as defineCustomElement$14 } from '@dso-toolkit/core/dist/components/dso-
|
|
73
|
-
import { defineCustomElement as defineCustomElement$15 } from '@dso-toolkit/core/dist/components/dso-
|
|
74
|
-
import { defineCustomElement as defineCustomElement$16 } from '@dso-toolkit/core/dist/components/dso-
|
|
75
|
-
import { defineCustomElement as defineCustomElement$17 } from '@dso-toolkit/core/dist/components/dso-
|
|
76
|
-
import { defineCustomElement as defineCustomElement$18 } from '@dso-toolkit/core/dist/components/dso-
|
|
77
|
-
import { defineCustomElement as defineCustomElement$19 } from '@dso-toolkit/core/dist/components/dso-
|
|
78
|
-
import { defineCustomElement as defineCustomElement$1a } from '@dso-toolkit/core/dist/components/dso-
|
|
79
|
-
import { defineCustomElement as defineCustomElement$1b } from '@dso-toolkit/core/dist/components/dso-
|
|
80
|
-
import { defineCustomElement as defineCustomElement$1c } from '@dso-toolkit/core/dist/components/dso-
|
|
81
|
-
import { defineCustomElement as defineCustomElement$1d } from '@dso-toolkit/core/dist/components/
|
|
63
|
+
import { defineCustomElement as defineCustomElement$X } from '@dso-toolkit/core/dist/components/dso-plekinfo-card-item.js';
|
|
64
|
+
import { defineCustomElement as defineCustomElement$Y } from '@dso-toolkit/core/dist/components/dso-progress-indicator.js';
|
|
65
|
+
import { defineCustomElement as defineCustomElement$Z } from '@dso-toolkit/core/dist/components/dso-project-item.js';
|
|
66
|
+
import { defineCustomElement as defineCustomElement$_ } from '@dso-toolkit/core/dist/components/dso-renvooi.js';
|
|
67
|
+
import { defineCustomElement as defineCustomElement$$ } from '@dso-toolkit/core/dist/components/dso-responsive-element.js';
|
|
68
|
+
import { defineCustomElement as defineCustomElement$10 } from '@dso-toolkit/core/dist/components/dso-scrollable.js';
|
|
69
|
+
import { defineCustomElement as defineCustomElement$11 } from '@dso-toolkit/core/dist/components/dso-segmented-button.js';
|
|
70
|
+
import { defineCustomElement as defineCustomElement$12 } from '@dso-toolkit/core/dist/components/dso-selectable.js';
|
|
71
|
+
import { defineCustomElement as defineCustomElement$13 } from '@dso-toolkit/core/dist/components/dso-shopping-cart.js';
|
|
72
|
+
import { defineCustomElement as defineCustomElement$14 } from '@dso-toolkit/core/dist/components/dso-shopping-cart-item.js';
|
|
73
|
+
import { defineCustomElement as defineCustomElement$15 } from '@dso-toolkit/core/dist/components/dso-skiplink.js';
|
|
74
|
+
import { defineCustomElement as defineCustomElement$16 } from '@dso-toolkit/core/dist/components/dso-slide-toggle.js';
|
|
75
|
+
import { defineCustomElement as defineCustomElement$17 } from '@dso-toolkit/core/dist/components/dso-survey-rating.js';
|
|
76
|
+
import { defineCustomElement as defineCustomElement$18 } from '@dso-toolkit/core/dist/components/dso-tab.js';
|
|
77
|
+
import { defineCustomElement as defineCustomElement$19 } from '@dso-toolkit/core/dist/components/dso-table.js';
|
|
78
|
+
import { defineCustomElement as defineCustomElement$1a } from '@dso-toolkit/core/dist/components/dso-tabs.js';
|
|
79
|
+
import { defineCustomElement as defineCustomElement$1b } from '@dso-toolkit/core/dist/components/dso-tijdreis-banner.js';
|
|
80
|
+
import { defineCustomElement as defineCustomElement$1c } from '@dso-toolkit/core/dist/components/dso-tree-view.js';
|
|
81
|
+
import { defineCustomElement as defineCustomElement$1d } from '@dso-toolkit/core/dist/components/dso-truncate.js';
|
|
82
|
+
import { defineCustomElement as defineCustomElement$1e } from '@dso-toolkit/core/dist/components/dso-viewer-grid.js';
|
|
83
|
+
import { defineCustomElement as defineCustomElement$1f } from '@dso-toolkit/core/dist/components/dsot-document-component-demo.js';
|
|
82
84
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
83
85
|
|
|
84
86
|
/* eslint-disable */
|
|
@@ -1166,12 +1168,14 @@ interact with the input, and conveys its inactive state to assistive technologie
|
|
|
1166
1168
|
/**
|
|
1167
1169
|
* Minimum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.
|
|
1168
1170
|
This setting can be used alone or together with the max property.
|
|
1171
|
+
Numeric values from Angular Signal Forms do not set a date limit.
|
|
1169
1172
|
*/
|
|
1170
1173
|
set min(_) { }
|
|
1171
1174
|
;
|
|
1172
1175
|
/**
|
|
1173
1176
|
* Maximum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.
|
|
1174
1177
|
This setting can be used alone or together with the min property.
|
|
1178
|
+
Numeric values from Angular Signal Forms do not set a date limit.
|
|
1175
1179
|
*/
|
|
1176
1180
|
set max(_) { }
|
|
1177
1181
|
;
|
|
@@ -3129,6 +3133,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3129
3133
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsoPlekinfoCardClick: [{
|
|
3130
3134
|
type: Output
|
|
3131
3135
|
}] } });
|
|
3136
|
+
let DsoPlekinfoCardItem = class DsoPlekinfoCardItem {
|
|
3137
|
+
z;
|
|
3138
|
+
el;
|
|
3139
|
+
/**
|
|
3140
|
+
* An optional 'wijzigactie' that signals if the plekinfo item is added or removed.
|
|
3141
|
+
*/
|
|
3142
|
+
set wijzigactie(_) { }
|
|
3143
|
+
;
|
|
3144
|
+
constructor(c, r, z) {
|
|
3145
|
+
this.z = z;
|
|
3146
|
+
c.detach();
|
|
3147
|
+
this.el = r.nativeElement;
|
|
3148
|
+
}
|
|
3149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoPlekinfoCardItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3150
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: DsoPlekinfoCardItem, isStandalone: true, selector: "dso-plekinfo-card-item", inputs: { wijzigactie: "wijzigactie" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3151
|
+
};
|
|
3152
|
+
DsoPlekinfoCardItem = __decorate([
|
|
3153
|
+
ProxyCmp({
|
|
3154
|
+
defineCustomElementFn: defineCustomElement$X,
|
|
3155
|
+
inputs: ['wijzigactie']
|
|
3156
|
+
})
|
|
3157
|
+
], DsoPlekinfoCardItem);
|
|
3158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoPlekinfoCardItem, decorators: [{
|
|
3159
|
+
type: Component,
|
|
3160
|
+
args: [{
|
|
3161
|
+
selector: 'dso-plekinfo-card-item',
|
|
3162
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3163
|
+
template: '<ng-content></ng-content>',
|
|
3164
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3165
|
+
inputs: ['wijzigactie'],
|
|
3166
|
+
}]
|
|
3167
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3132
3168
|
let DsoProgressIndicator = class DsoProgressIndicator {
|
|
3133
3169
|
z;
|
|
3134
3170
|
el;
|
|
@@ -3159,7 +3195,7 @@ If no size is set, falls back to `small`.
|
|
|
3159
3195
|
};
|
|
3160
3196
|
DsoProgressIndicator = __decorate([
|
|
3161
3197
|
ProxyCmp({
|
|
3162
|
-
defineCustomElementFn: defineCustomElement$
|
|
3198
|
+
defineCustomElementFn: defineCustomElement$Y,
|
|
3163
3199
|
inputs: ['block', 'label', 'size']
|
|
3164
3200
|
})
|
|
3165
3201
|
], DsoProgressIndicator);
|
|
@@ -3191,7 +3227,7 @@ let DsoProjectItem = class DsoProjectItem {
|
|
|
3191
3227
|
};
|
|
3192
3228
|
DsoProjectItem = __decorate([
|
|
3193
3229
|
ProxyCmp({
|
|
3194
|
-
defineCustomElementFn: defineCustomElement$
|
|
3230
|
+
defineCustomElementFn: defineCustomElement$Z,
|
|
3195
3231
|
inputs: ['label']
|
|
3196
3232
|
})
|
|
3197
3233
|
], DsoProjectItem);
|
|
@@ -3229,7 +3265,7 @@ let DsoRenvooi = class DsoRenvooi {
|
|
|
3229
3265
|
};
|
|
3230
3266
|
DsoRenvooi = __decorate([
|
|
3231
3267
|
ProxyCmp({
|
|
3232
|
-
defineCustomElementFn: defineCustomElement$
|
|
3268
|
+
defineCustomElementFn: defineCustomElement$_,
|
|
3233
3269
|
inputs: ['mark', 'value']
|
|
3234
3270
|
})
|
|
3235
3271
|
], DsoRenvooi);
|
|
@@ -3260,7 +3296,7 @@ let DsoResponsiveElement = class DsoResponsiveElement {
|
|
|
3260
3296
|
};
|
|
3261
3297
|
DsoResponsiveElement = __decorate([
|
|
3262
3298
|
ProxyCmp({
|
|
3263
|
-
defineCustomElementFn: defineCustomElement
|
|
3299
|
+
defineCustomElementFn: defineCustomElement$$,
|
|
3264
3300
|
methods: ['getSize']
|
|
3265
3301
|
})
|
|
3266
3302
|
], DsoResponsiveElement);
|
|
@@ -3291,7 +3327,7 @@ let DsoScrollable = class DsoScrollable {
|
|
|
3291
3327
|
};
|
|
3292
3328
|
DsoScrollable = __decorate([
|
|
3293
3329
|
ProxyCmp({
|
|
3294
|
-
defineCustomElementFn: defineCustomElement
|
|
3330
|
+
defineCustomElementFn: defineCustomElement$10
|
|
3295
3331
|
})
|
|
3296
3332
|
], DsoScrollable);
|
|
3297
3333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoScrollable, decorators: [{
|
|
@@ -3346,7 +3382,7 @@ let DsoSegmentedButton = class DsoSegmentedButton {
|
|
|
3346
3382
|
};
|
|
3347
3383
|
DsoSegmentedButton = __decorate([
|
|
3348
3384
|
ProxyCmp({
|
|
3349
|
-
defineCustomElementFn: defineCustomElement$
|
|
3385
|
+
defineCustomElementFn: defineCustomElement$11,
|
|
3350
3386
|
inputs: ['activeOption', 'groupName', 'label', 'options', 'required']
|
|
3351
3387
|
})
|
|
3352
3388
|
], DsoSegmentedButton);
|
|
@@ -3454,7 +3490,7 @@ Can be used to indicate child Selectables that are a mix of checked and unchecke
|
|
|
3454
3490
|
};
|
|
3455
3491
|
DsoSelectable = __decorate([
|
|
3456
3492
|
ProxyCmp({
|
|
3457
|
-
defineCustomElementFn: defineCustomElement$
|
|
3493
|
+
defineCustomElementFn: defineCustomElement$12,
|
|
3458
3494
|
inputs: ['checked', 'describedById', 'disabled', 'errormessage', 'identifier', 'indeterminate', 'infoFixed', 'invalid', 'labelledById', 'name', 'required', 'type', 'value'],
|
|
3459
3495
|
methods: ['toggleInfo']
|
|
3460
3496
|
})
|
|
@@ -3497,7 +3533,7 @@ let DsoShoppingCart = class DsoShoppingCart {
|
|
|
3497
3533
|
};
|
|
3498
3534
|
DsoShoppingCart = __decorate([
|
|
3499
3535
|
ProxyCmp({
|
|
3500
|
-
defineCustomElementFn: defineCustomElement$
|
|
3536
|
+
defineCustomElementFn: defineCustomElement$13,
|
|
3501
3537
|
inputs: ['mode', 'toggleable']
|
|
3502
3538
|
})
|
|
3503
3539
|
], DsoShoppingCart);
|
|
@@ -3550,7 +3586,7 @@ let DsoShoppingCartItem = class DsoShoppingCartItem {
|
|
|
3550
3586
|
};
|
|
3551
3587
|
DsoShoppingCartItem = __decorate([
|
|
3552
3588
|
ProxyCmp({
|
|
3553
|
-
defineCustomElementFn: defineCustomElement$
|
|
3589
|
+
defineCustomElementFn: defineCustomElement$14,
|
|
3554
3590
|
inputs: ['editable', 'mode', 'removable', 'warning']
|
|
3555
3591
|
})
|
|
3556
3592
|
], DsoShoppingCartItem);
|
|
@@ -3595,7 +3631,7 @@ let DsoSkiplink = class DsoSkiplink {
|
|
|
3595
3631
|
};
|
|
3596
3632
|
DsoSkiplink = __decorate([
|
|
3597
3633
|
ProxyCmp({
|
|
3598
|
-
defineCustomElementFn: defineCustomElement$
|
|
3634
|
+
defineCustomElementFn: defineCustomElement$15,
|
|
3599
3635
|
inputs: ['label', 'to']
|
|
3600
3636
|
})
|
|
3601
3637
|
], DsoSkiplink);
|
|
@@ -3651,7 +3687,7 @@ let DsoSlideToggle = class DsoSlideToggle {
|
|
|
3651
3687
|
};
|
|
3652
3688
|
DsoSlideToggle = __decorate([
|
|
3653
3689
|
ProxyCmp({
|
|
3654
|
-
defineCustomElementFn: defineCustomElement$
|
|
3690
|
+
defineCustomElementFn: defineCustomElement$16,
|
|
3655
3691
|
inputs: ['accessibleLabel', 'checked', 'disabled', 'identifier', 'labelledbyId']
|
|
3656
3692
|
})
|
|
3657
3693
|
], DsoSlideToggle);
|
|
@@ -3683,7 +3719,7 @@ let DsoSurveyRating = class DsoSurveyRating {
|
|
|
3683
3719
|
};
|
|
3684
3720
|
DsoSurveyRating = __decorate([
|
|
3685
3721
|
ProxyCmp({
|
|
3686
|
-
defineCustomElementFn: defineCustomElement$
|
|
3722
|
+
defineCustomElementFn: defineCustomElement$17
|
|
3687
3723
|
})
|
|
3688
3724
|
], DsoSurveyRating);
|
|
3689
3725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoSurveyRating, decorators: [{
|
|
@@ -3730,7 +3766,7 @@ let DsoTab = class DsoTab {
|
|
|
3730
3766
|
};
|
|
3731
3767
|
DsoTab = __decorate([
|
|
3732
3768
|
ProxyCmp({
|
|
3733
|
-
defineCustomElementFn: defineCustomElement$
|
|
3769
|
+
defineCustomElementFn: defineCustomElement$18,
|
|
3734
3770
|
inputs: ['active', 'disabled', 'href']
|
|
3735
3771
|
})
|
|
3736
3772
|
], DsoTab);
|
|
@@ -3765,7 +3801,7 @@ let DsoTable = class DsoTable {
|
|
|
3765
3801
|
};
|
|
3766
3802
|
DsoTable = __decorate([
|
|
3767
3803
|
ProxyCmp({
|
|
3768
|
-
defineCustomElementFn: defineCustomElement$
|
|
3804
|
+
defineCustomElementFn: defineCustomElement$19,
|
|
3769
3805
|
inputs: ['noModal']
|
|
3770
3806
|
})
|
|
3771
3807
|
], DsoTable);
|
|
@@ -3792,7 +3828,7 @@ let DsoTabs = class DsoTabs {
|
|
|
3792
3828
|
};
|
|
3793
3829
|
DsoTabs = __decorate([
|
|
3794
3830
|
ProxyCmp({
|
|
3795
|
-
defineCustomElementFn: defineCustomElement$
|
|
3831
|
+
defineCustomElementFn: defineCustomElement$1a
|
|
3796
3832
|
})
|
|
3797
3833
|
], DsoTabs);
|
|
3798
3834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoTabs, decorators: [{
|
|
@@ -3818,7 +3854,7 @@ let DsoTijdreisBanner = class DsoTijdreisBanner {
|
|
|
3818
3854
|
};
|
|
3819
3855
|
DsoTijdreisBanner = __decorate([
|
|
3820
3856
|
ProxyCmp({
|
|
3821
|
-
defineCustomElementFn: defineCustomElement$
|
|
3857
|
+
defineCustomElementFn: defineCustomElement$1b
|
|
3822
3858
|
})
|
|
3823
3859
|
], DsoTijdreisBanner);
|
|
3824
3860
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoTijdreisBanner, decorators: [{
|
|
@@ -3852,7 +3888,7 @@ let DsoTreeView = class DsoTreeView {
|
|
|
3852
3888
|
};
|
|
3853
3889
|
DsoTreeView = __decorate([
|
|
3854
3890
|
ProxyCmp({
|
|
3855
|
-
defineCustomElementFn: defineCustomElement$
|
|
3891
|
+
defineCustomElementFn: defineCustomElement$1c,
|
|
3856
3892
|
inputs: ['collection'],
|
|
3857
3893
|
methods: ['focusItem']
|
|
3858
3894
|
})
|
|
@@ -3874,6 +3910,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
3874
3910
|
}], dsoClickItem: [{
|
|
3875
3911
|
type: Output
|
|
3876
3912
|
}] } });
|
|
3913
|
+
let DsoTruncate = class DsoTruncate {
|
|
3914
|
+
z;
|
|
3915
|
+
el;
|
|
3916
|
+
constructor(c, r, z) {
|
|
3917
|
+
this.z = z;
|
|
3918
|
+
c.detach();
|
|
3919
|
+
this.el = r.nativeElement;
|
|
3920
|
+
}
|
|
3921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoTruncate, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3922
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: DsoTruncate, isStandalone: true, selector: "dso-truncate", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3923
|
+
};
|
|
3924
|
+
DsoTruncate = __decorate([
|
|
3925
|
+
ProxyCmp({
|
|
3926
|
+
defineCustomElementFn: defineCustomElement$1d
|
|
3927
|
+
})
|
|
3928
|
+
], DsoTruncate);
|
|
3929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoTruncate, decorators: [{
|
|
3930
|
+
type: Component,
|
|
3931
|
+
args: [{
|
|
3932
|
+
selector: 'dso-truncate',
|
|
3933
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3934
|
+
template: '<ng-content></ng-content>',
|
|
3935
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
3936
|
+
inputs: [],
|
|
3937
|
+
}]
|
|
3938
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
3877
3939
|
let DsoViewerGrid = class DsoViewerGrid {
|
|
3878
3940
|
z;
|
|
3879
3941
|
el;
|
|
@@ -3948,7 +4010,7 @@ Default size is `large`. @default "large"
|
|
|
3948
4010
|
};
|
|
3949
4011
|
DsoViewerGrid = __decorate([
|
|
3950
4012
|
ProxyCmp({
|
|
3951
|
-
defineCustomElementFn: defineCustomElement$
|
|
4013
|
+
defineCustomElementFn: defineCustomElement$1e,
|
|
3952
4014
|
inputs: ['activeTab', 'documentPanelOpen', 'documentPanelSize', 'filterPanelOpen', 'filterPanelTitle', 'mainPanelExpanded', 'mainPanelHidden', 'mainSize', 'overlayOpen', 'print']
|
|
3953
4015
|
})
|
|
3954
4016
|
], DsoViewerGrid);
|
|
@@ -4027,7 +4089,7 @@ let DsotDocumentComponentDemo = class DsotDocumentComponentDemo {
|
|
|
4027
4089
|
};
|
|
4028
4090
|
DsotDocumentComponentDemo = __decorate([
|
|
4029
4091
|
ProxyCmp({
|
|
4030
|
-
defineCustomElementFn: defineCustomElement$
|
|
4092
|
+
defineCustomElementFn: defineCustomElement$1f,
|
|
4031
4093
|
inputs: ['jsonFile', 'mode', 'openDefault', 'ozonContentBegripResolver', 'ozonContentUrlResolver', 'showBesluitversie', 'showCanvas']
|
|
4032
4094
|
})
|
|
4033
4095
|
], DsotDocumentComponentDemo);
|
|
@@ -4106,6 +4168,7 @@ const DIRECTIVES = [
|
|
|
4106
4168
|
DsoPagination,
|
|
4107
4169
|
DsoPanel,
|
|
4108
4170
|
DsoPlekinfoCard,
|
|
4171
|
+
DsoPlekinfoCardItem,
|
|
4109
4172
|
DsoProgressIndicator,
|
|
4110
4173
|
DsoProjectItem,
|
|
4111
4174
|
DsoRenvooi,
|
|
@@ -4123,10 +4186,253 @@ const DIRECTIVES = [
|
|
|
4123
4186
|
DsoTabs,
|
|
4124
4187
|
DsoTijdreisBanner,
|
|
4125
4188
|
DsoTreeView,
|
|
4189
|
+
DsoTruncate,
|
|
4126
4190
|
DsoViewerGrid,
|
|
4127
4191
|
DsotDocumentComponentDemo
|
|
4128
4192
|
];
|
|
4129
4193
|
|
|
4194
|
+
function syncFieldControlProperties(element, valueProperty, signals) {
|
|
4195
|
+
effect(() => {
|
|
4196
|
+
element[valueProperty] = signals.value();
|
|
4197
|
+
});
|
|
4198
|
+
effect(() => {
|
|
4199
|
+
element.disabled = signals.disabled();
|
|
4200
|
+
});
|
|
4201
|
+
effect(() => {
|
|
4202
|
+
element.required = signals.required();
|
|
4203
|
+
});
|
|
4204
|
+
effect(() => {
|
|
4205
|
+
element.invalid = signals.invalid();
|
|
4206
|
+
});
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* Adapts `dso-date-picker` to Angular Signal Forms by implementing
|
|
4211
|
+
* the `FormValueControl<string>` contract.
|
|
4212
|
+
*
|
|
4213
|
+
* @example
|
|
4214
|
+
* <dso-date-picker
|
|
4215
|
+
* [formField]="myForm.datum"
|
|
4216
|
+
* minDate="01-01-2024"
|
|
4217
|
+
* maxDate="31-12-2024"
|
|
4218
|
+
* />
|
|
4219
|
+
*/
|
|
4220
|
+
class DsoDatePickerFieldControl {
|
|
4221
|
+
value = model("", ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
4222
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
4223
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
|
|
4224
|
+
invalid = input(false, ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
|
|
4225
|
+
touched = model(false, ...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
|
|
4226
|
+
min = input(...(ngDevMode ? [undefined, { debugName: "min" }] : /* istanbul ignore next */ []));
|
|
4227
|
+
max = input(...(ngDevMode ? [undefined, { debugName: "max" }] : /* istanbul ignore next */ []));
|
|
4228
|
+
minDate = input(...(ngDevMode ? [undefined, { debugName: "minDate" }] : /* istanbul ignore next */ []));
|
|
4229
|
+
maxDate = input(...(ngDevMode ? [undefined, { debugName: "maxDate" }] : /* istanbul ignore next */ []));
|
|
4230
|
+
inputError = model(...(ngDevMode ? [undefined, { debugName: "inputError" }] : /* istanbul ignore next */ []));
|
|
4231
|
+
constructor(elementRef) {
|
|
4232
|
+
syncFieldControlProperties(elementRef.nativeElement, "value", {
|
|
4233
|
+
value: this.value,
|
|
4234
|
+
disabled: this.disabled,
|
|
4235
|
+
required: this.required,
|
|
4236
|
+
invalid: this.invalid,
|
|
4237
|
+
});
|
|
4238
|
+
// FormField also writes numeric bounds to the generated proxy; reapply date bounds after those updates.
|
|
4239
|
+
effect(() => {
|
|
4240
|
+
this.min();
|
|
4241
|
+
elementRef.nativeElement.min = this.minDate();
|
|
4242
|
+
});
|
|
4243
|
+
effect(() => {
|
|
4244
|
+
this.max();
|
|
4245
|
+
elementRef.nativeElement.max = this.maxDate();
|
|
4246
|
+
});
|
|
4247
|
+
}
|
|
4248
|
+
onDsoDateChange(event) {
|
|
4249
|
+
this.inputError.set(event.detail.error);
|
|
4250
|
+
this.value.set(event.detail.value);
|
|
4251
|
+
}
|
|
4252
|
+
onDsoBlur(event) {
|
|
4253
|
+
this.inputError.set(event.detail.error);
|
|
4254
|
+
this.value.set(event.detail.value);
|
|
4255
|
+
this.touched.set(true);
|
|
4256
|
+
}
|
|
4257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoDatePickerFieldControl, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4258
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: DsoDatePickerFieldControl, isStandalone: true, selector: "dso-date-picker[formField]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, minDate: { classPropertyName: "minDate", publicName: "minDate", isSignal: true, isRequired: false, transformFunction: null }, maxDate: { classPropertyName: "maxDate", publicName: "maxDate", isSignal: true, isRequired: false, transformFunction: null }, inputError: { classPropertyName: "inputError", publicName: "inputError", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", touched: "touchedChange", inputError: "inputErrorChange" }, host: { listeners: { "dsoDateChange": "onDsoDateChange($event)", "dsoBlur": "onDsoBlur($event)" } }, ngImport: i0 });
|
|
4259
|
+
}
|
|
4260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoDatePickerFieldControl, decorators: [{
|
|
4261
|
+
type: Directive,
|
|
4262
|
+
args: [{
|
|
4263
|
+
selector: "dso-date-picker[formField]",
|
|
4264
|
+
standalone: true,
|
|
4265
|
+
}]
|
|
4266
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], minDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], maxDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], inputError: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputError", required: false }] }, { type: i0.Output, args: ["inputErrorChange"] }], onDsoDateChange: [{
|
|
4267
|
+
type: HostListener,
|
|
4268
|
+
args: ["dsoDateChange", ["$event"]]
|
|
4269
|
+
}], onDsoBlur: [{
|
|
4270
|
+
type: HostListener,
|
|
4271
|
+
args: ["dsoBlur", ["$event"]]
|
|
4272
|
+
}] } });
|
|
4273
|
+
|
|
4274
|
+
/**
|
|
4275
|
+
* Adapts `dso-selectable[type=checkbox]` to Angular Signal Forms by implementing
|
|
4276
|
+
* the `FormCheckboxControl` contract.
|
|
4277
|
+
*
|
|
4278
|
+
* @example
|
|
4279
|
+
* <dso-selectable type="checkbox" [formField]="myForm.akkoord">
|
|
4280
|
+
* Akkoord
|
|
4281
|
+
* </dso-selectable>
|
|
4282
|
+
*/
|
|
4283
|
+
class DsoSelectableCheckboxFieldControl {
|
|
4284
|
+
checked = model(false, ...(ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []));
|
|
4285
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
4286
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
|
|
4287
|
+
invalid = input(false, ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
|
|
4288
|
+
touched = model(false, ...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
|
|
4289
|
+
constructor(elementRef) {
|
|
4290
|
+
syncFieldControlProperties(elementRef.nativeElement, "checked", {
|
|
4291
|
+
value: this.checked,
|
|
4292
|
+
disabled: this.disabled,
|
|
4293
|
+
required: this.required,
|
|
4294
|
+
invalid: this.invalid,
|
|
4295
|
+
});
|
|
4296
|
+
}
|
|
4297
|
+
onDsoChange(event) {
|
|
4298
|
+
this.checked.set(event.detail.checked);
|
|
4299
|
+
}
|
|
4300
|
+
onFocusOut() {
|
|
4301
|
+
this.touched.set(true);
|
|
4302
|
+
}
|
|
4303
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoSelectableCheckboxFieldControl, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4304
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: DsoSelectableCheckboxFieldControl, isStandalone: true, selector: "dso-selectable[type=checkbox][formField]", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checked: "checkedChange", touched: "touchedChange" }, host: { listeners: { "dsoChange": "onDsoChange($event)", "focusout": "onFocusOut()" } }, ngImport: i0 });
|
|
4305
|
+
}
|
|
4306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoSelectableCheckboxFieldControl, decorators: [{
|
|
4307
|
+
type: Directive,
|
|
4308
|
+
args: [{
|
|
4309
|
+
selector: "dso-selectable[type=checkbox][formField]",
|
|
4310
|
+
standalone: true,
|
|
4311
|
+
}]
|
|
4312
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], onDsoChange: [{
|
|
4313
|
+
type: HostListener,
|
|
4314
|
+
args: ["dsoChange", ["$event"]]
|
|
4315
|
+
}], onFocusOut: [{
|
|
4316
|
+
type: HostListener,
|
|
4317
|
+
args: ["focusout"]
|
|
4318
|
+
}] } });
|
|
4319
|
+
|
|
4320
|
+
function isDsoSelectableElement(element) {
|
|
4321
|
+
return element instanceof HTMLElement && element.tagName === "DSO-SELECTABLE";
|
|
4322
|
+
}
|
|
4323
|
+
function isSelectableChangeEvent(event) {
|
|
4324
|
+
return (event instanceof CustomEvent &&
|
|
4325
|
+
typeof event.detail === "object" &&
|
|
4326
|
+
event.detail !== null &&
|
|
4327
|
+
"checked" in event.detail &&
|
|
4328
|
+
typeof event.detail.checked === "boolean");
|
|
4329
|
+
}
|
|
4330
|
+
/**
|
|
4331
|
+
* Connects a group of radio Selectables to one Angular Signal Forms field.
|
|
4332
|
+
*
|
|
4333
|
+
* Apply `[formField]` and `dsoSelectableRadioGroup` to their enclosing `fieldset`,
|
|
4334
|
+
* not to the individual `dso-selectable` elements. Each radio must have the same
|
|
4335
|
+
* `name` and a unique, non-empty `value`. This directive implements
|
|
4336
|
+
* `FormValueControl<string>`: it synchronizes the selected option and the group's
|
|
4337
|
+
* disabled, required, and invalid states, updates the form on `dsoChange`, and
|
|
4338
|
+
* marks the field as touched when focus leaves the fieldset.
|
|
4339
|
+
*
|
|
4340
|
+
* @example
|
|
4341
|
+
* <fieldset dsoSelectableRadioGroup [formField]="myForm.keuze">
|
|
4342
|
+
* <legend>Maak een keuze</legend>
|
|
4343
|
+
* <dso-selectable type="radio" name="keuze" value="ja">Ja</dso-selectable>
|
|
4344
|
+
* <dso-selectable type="radio" name="keuze" value="nee">Nee</dso-selectable>
|
|
4345
|
+
* </fieldset>
|
|
4346
|
+
*/
|
|
4347
|
+
class DsoSelectableRadioGroupFieldControl {
|
|
4348
|
+
elementRef;
|
|
4349
|
+
value = model("", ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
4350
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
4351
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
|
|
4352
|
+
invalid = input(false, ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
|
|
4353
|
+
touched = model(false, ...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
|
|
4354
|
+
options = contentChildren(DsoSelectable, { ...(ngDevMode ? { debugName: "options" } : /* istanbul ignore next */ {}), descendants: true, read: ElementRef });
|
|
4355
|
+
constructor(elementRef) {
|
|
4356
|
+
this.elementRef = elementRef;
|
|
4357
|
+
afterRenderEffect({
|
|
4358
|
+
write: () => {
|
|
4359
|
+
const selectedValue = this.value();
|
|
4360
|
+
const disabled = this.disabled();
|
|
4361
|
+
const required = this.required();
|
|
4362
|
+
const invalid = this.invalid();
|
|
4363
|
+
const options = this.options();
|
|
4364
|
+
this.elementRef.nativeElement.disabled = disabled;
|
|
4365
|
+
this.elementRef.nativeElement.setAttribute("aria-invalid", String(invalid));
|
|
4366
|
+
this.elementRef.nativeElement.setAttribute("aria-required", String(required));
|
|
4367
|
+
const values = new Set();
|
|
4368
|
+
let name;
|
|
4369
|
+
for (const option of options) {
|
|
4370
|
+
const element = option.nativeElement;
|
|
4371
|
+
if (isDsoSelectableElement(element) &&
|
|
4372
|
+
element.type === "radio" &&
|
|
4373
|
+
element.closest("fieldset[dsoSelectableRadioGroup]") === this.elementRef.nativeElement) {
|
|
4374
|
+
if (!element.name || !element.value || (name !== undefined && element.name !== name)) {
|
|
4375
|
+
throw new Error("Radio Selectable options must have the same name and a non-empty value");
|
|
4376
|
+
}
|
|
4377
|
+
if (values.has(element.value)) {
|
|
4378
|
+
throw new Error(`Duplicate radio Selectable value: ${element.value}`);
|
|
4379
|
+
}
|
|
4380
|
+
name = element.name;
|
|
4381
|
+
values.add(element.value);
|
|
4382
|
+
element.checked = selectedValue !== "" && element.value === selectedValue;
|
|
4383
|
+
element.required = required;
|
|
4384
|
+
element.invalid = invalid;
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
},
|
|
4388
|
+
});
|
|
4389
|
+
}
|
|
4390
|
+
onDsoChange(event) {
|
|
4391
|
+
const radio = event.target;
|
|
4392
|
+
if (!isDsoSelectableElement(radio) ||
|
|
4393
|
+
radio.type !== "radio" ||
|
|
4394
|
+
radio.closest("fieldset[dsoSelectableRadioGroup]") !== this.elementRef.nativeElement) {
|
|
4395
|
+
return;
|
|
4396
|
+
}
|
|
4397
|
+
if (!isSelectableChangeEvent(event)) {
|
|
4398
|
+
throw new TypeError("Expected a Selectable change event");
|
|
4399
|
+
}
|
|
4400
|
+
if (!event.detail.checked || this.disabled()) {
|
|
4401
|
+
return;
|
|
4402
|
+
}
|
|
4403
|
+
if (!radio.value) {
|
|
4404
|
+
throw new Error("Radio Selectable options must have a non-empty value");
|
|
4405
|
+
}
|
|
4406
|
+
this.value.set(radio.value);
|
|
4407
|
+
}
|
|
4408
|
+
onFocusOut(event) {
|
|
4409
|
+
const relatedTarget = event.relatedTarget;
|
|
4410
|
+
if (!(relatedTarget instanceof Node) || !this.elementRef.nativeElement.contains(relatedTarget)) {
|
|
4411
|
+
this.touched.set(true);
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4414
|
+
focus(options) {
|
|
4415
|
+
const group = this.elementRef.nativeElement;
|
|
4416
|
+
const radios = Array.from(group.querySelectorAll('input[type="radio"]:not(:disabled)')).filter((radio) => radio.closest("fieldset[dsoSelectableRadioGroup]") === group);
|
|
4417
|
+
(radios.find((radio) => radio.checked) ?? radios[0])?.focus(options);
|
|
4418
|
+
}
|
|
4419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoSelectableRadioGroupFieldControl, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4420
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.22", type: DsoSelectableRadioGroupFieldControl, isStandalone: true, selector: "fieldset[dsoSelectableRadioGroup][formField]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", touched: "touchedChange" }, host: { listeners: { "dsoChange": "onDsoChange($event)", "focusout": "onFocusOut($event)" } }, queries: [{ propertyName: "options", predicate: DsoSelectable, descendants: true, read: ElementRef, isSignal: true }], ngImport: i0 });
|
|
4421
|
+
}
|
|
4422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoSelectableRadioGroupFieldControl, decorators: [{
|
|
4423
|
+
type: Directive,
|
|
4424
|
+
args: [{
|
|
4425
|
+
selector: "fieldset[dsoSelectableRadioGroup][formField]",
|
|
4426
|
+
standalone: true,
|
|
4427
|
+
}]
|
|
4428
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], options: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => DsoSelectable), { ...{ descendants: true, read: ElementRef }, isSignal: true }] }], onDsoChange: [{
|
|
4429
|
+
type: HostListener,
|
|
4430
|
+
args: ["dsoChange", ["$event"]]
|
|
4431
|
+
}], onFocusOut: [{
|
|
4432
|
+
type: HostListener,
|
|
4433
|
+
args: ["focusout", ["$event"]]
|
|
4434
|
+
}] } });
|
|
4435
|
+
|
|
4130
4436
|
class BooleanValueAccessor {
|
|
4131
4437
|
el;
|
|
4132
4438
|
onChange = (_) => { };
|
|
@@ -4155,7 +4461,7 @@ class BooleanValueAccessor {
|
|
|
4155
4461
|
this.el.nativeElement.disabled = isDisabled;
|
|
4156
4462
|
}
|
|
4157
4463
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: BooleanValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4158
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: BooleanValueAccessor, isStandalone: true, selector: "dso-selectable[type=checkbox]", host: { listeners: { "focusout": "onFocusOut()", "dsoChange": "onDsoChange($event)" } }, providers: [
|
|
4464
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: BooleanValueAccessor, isStandalone: true, selector: "dso-selectable[type=checkbox]:not([formField])", host: { listeners: { "focusout": "onFocusOut()", "dsoChange": "onDsoChange($event)" } }, providers: [
|
|
4159
4465
|
{
|
|
4160
4466
|
provide: NG_VALUE_ACCESSOR,
|
|
4161
4467
|
useExisting: forwardRef(() => BooleanValueAccessor),
|
|
@@ -4166,7 +4472,7 @@ class BooleanValueAccessor {
|
|
|
4166
4472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: BooleanValueAccessor, decorators: [{
|
|
4167
4473
|
type: Directive,
|
|
4168
4474
|
args: [{
|
|
4169
|
-
selector: "dso-selectable[type=checkbox]",
|
|
4475
|
+
selector: "dso-selectable[type=checkbox]:not([formField])",
|
|
4170
4476
|
standalone: true,
|
|
4171
4477
|
providers: [
|
|
4172
4478
|
{
|
|
@@ -4241,16 +4547,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
4241
4547
|
}] } });
|
|
4242
4548
|
|
|
4243
4549
|
const VALUE_ACCESSORS = [BooleanValueAccessor, RadioValueAccessor];
|
|
4550
|
+
const FIELD_CONTROLS = [
|
|
4551
|
+
DsoDatePickerFieldControl,
|
|
4552
|
+
DsoSelectableCheckboxFieldControl,
|
|
4553
|
+
DsoSelectableRadioGroupFieldControl,
|
|
4554
|
+
];
|
|
4244
4555
|
class DsoToolkitModule {
|
|
4245
4556
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoToolkitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4246
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.22", ngImport: i0, type: DsoToolkitModule, imports: [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, DsoTreeView, DsoViewerGrid, DsotDocumentComponentDemo, BooleanValueAccessor, RadioValueAccessor
|
|
4557
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.22", ngImport: i0, type: DsoToolkitModule, imports: [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, DsoPlekinfoCardItem, DsoProgressIndicator, DsoProjectItem, DsoRenvooi, DsoResponsiveElement, DsoScrollable, DsoSegmentedButton, DsoSelectable, DsoShoppingCart, DsoShoppingCartItem, DsoSkiplink, DsoSlideToggle, DsoSurveyRating, DsoTab, DsoTable, DsoTabs, DsoTijdreisBanner, DsoTreeView, DsoTruncate, DsoViewerGrid, DsotDocumentComponentDemo, BooleanValueAccessor, RadioValueAccessor, DsoDatePickerFieldControl,
|
|
4558
|
+
DsoSelectableCheckboxFieldControl,
|
|
4559
|
+
DsoSelectableRadioGroupFieldControl], exports: [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, DsoPlekinfoCardItem, DsoProgressIndicator, DsoProjectItem, DsoRenvooi, DsoResponsiveElement, DsoScrollable, DsoSegmentedButton, DsoSelectable, DsoShoppingCart, DsoShoppingCartItem, DsoSkiplink, DsoSlideToggle, DsoSurveyRating, DsoTab, DsoTable, DsoTabs, DsoTijdreisBanner, DsoTreeView, DsoTruncate, DsoViewerGrid, DsotDocumentComponentDemo, BooleanValueAccessor, RadioValueAccessor, DsoDatePickerFieldControl,
|
|
4560
|
+
DsoSelectableCheckboxFieldControl,
|
|
4561
|
+
DsoSelectableRadioGroupFieldControl] });
|
|
4247
4562
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoToolkitModule });
|
|
4248
4563
|
}
|
|
4249
4564
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: DsoToolkitModule, decorators: [{
|
|
4250
4565
|
type: NgModule,
|
|
4251
4566
|
args: [{
|
|
4252
|
-
imports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
4253
|
-
exports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
4567
|
+
imports: [...DIRECTIVES, ...VALUE_ACCESSORS, ...FIELD_CONTROLS],
|
|
4568
|
+
exports: [...DIRECTIVES, ...VALUE_ACCESSORS, ...FIELD_CONTROLS],
|
|
4254
4569
|
}]
|
|
4255
4570
|
}] });
|
|
4256
4571
|
|
|
@@ -4262,5 +4577,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
4262
4577
|
* Generated bundle index. Do not edit.
|
|
4263
4578
|
*/
|
|
4264
4579
|
|
|
4265
|
-
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 };
|
|
4580
|
+
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 };
|
|
4266
4581
|
//# sourceMappingURL=dso-toolkit-angular.mjs.map
|