@swisspost/design-system-components-angular 9.0.0-next.29 → 9.0.0-next.30

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.
@@ -7,7 +7,7 @@ export declare class PostAccordion {
7
7
  protected el: HTMLElement;
8
8
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PostAccordion, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordion, "post-accordion", never, { "headingLevel": { "alias": "headingLevel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, ["*"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordion, "post-accordion", never, { "headingLevel": { "alias": "headingLevel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, ["*"], true, never>;
11
11
  }
12
12
  export declare interface PostAccordion extends Components.PostAccordion {
13
13
  }
@@ -16,7 +16,7 @@ export declare class PostAccordionItem {
16
16
  protected el: HTMLElement;
17
17
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<PostAccordionItem, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordionItem, "post-accordion-item", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; }, {}, never, ["*"], false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordionItem, "post-accordion-item", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; }, {}, never, ["*"], true, never>;
20
20
  }
21
21
  export declare interface PostAccordionItem extends Components.PostAccordionItem {
22
22
  }
@@ -25,7 +25,7 @@ export declare class PostAvatar {
25
25
  protected el: HTMLElement;
26
26
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<PostAvatar, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<PostAvatar, "post-avatar", never, { "email": { "alias": "email"; "required": false; }; "firstname": { "alias": "firstname"; "required": false; }; "lastname": { "alias": "lastname"; "required": false; }; "userid": { "alias": "userid"; "required": false; }; }, {}, never, ["*"], false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAvatar, "post-avatar", never, { "email": { "alias": "email"; "required": false; }; "firstname": { "alias": "firstname"; "required": false; }; "lastname": { "alias": "lastname"; "required": false; }; "userid": { "alias": "userid"; "required": false; }; }, {}, never, ["*"], true, never>;
29
29
  }
30
30
  export declare interface PostAvatar extends Components.PostAvatar {
31
31
  }
@@ -34,7 +34,7 @@ export declare class PostBackToTop {
34
34
  protected el: HTMLElement;
35
35
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<PostBackToTop, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<PostBackToTop, "post-back-to-top", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBackToTop, "post-back-to-top", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
38
38
  }
39
39
  export declare interface PostBackToTop extends Components.PostBackToTop {
40
40
  }
@@ -43,7 +43,7 @@ export declare class PostBanner {
43
43
  protected el: HTMLElement;
44
44
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<PostBanner, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<PostBanner, "post-banner", never, { "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBanner, "post-banner", never, { "dismissLabel": { "alias": "dismissLabel"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
47
47
  }
48
48
  export declare interface PostBanner extends Components.PostBanner {
49
49
  /**
@@ -57,7 +57,7 @@ export declare class PostBreadcrumb {
57
57
  protected el: HTMLElement;
58
58
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
59
59
  static ɵfac: i0.ɵɵFactoryDeclaration<PostBreadcrumb, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumb, "post-breadcrumb", never, { "homeText": { "alias": "homeText"; "required": false; }; "homeUrl": { "alias": "homeUrl"; "required": false; }; }, {}, never, ["*"], false, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumb, "post-breadcrumb", never, { "homeText": { "alias": "homeText"; "required": false; }; "homeUrl": { "alias": "homeUrl"; "required": false; }; }, {}, never, ["*"], true, never>;
61
61
  }
62
62
  export declare interface PostBreadcrumb extends Components.PostBreadcrumb {
63
63
  }
@@ -66,7 +66,7 @@ export declare class PostBreadcrumbItem {
66
66
  protected el: HTMLElement;
67
67
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
68
68
  static ɵfac: i0.ɵɵFactoryDeclaration<PostBreadcrumbItem, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumbItem, "post-breadcrumb-item", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], false, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumbItem, "post-breadcrumb-item", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], true, never>;
70
70
  }
71
71
  export declare interface PostBreadcrumbItem extends Components.PostBreadcrumbItem {
72
72
  }
@@ -75,7 +75,7 @@ export declare class PostCardControl {
75
75
  protected el: HTMLElement;
76
76
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
77
77
  static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControl, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<PostCardControl, "post-card-control", never, { "checked": { "alias": "checked"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "validity": { "alias": "validity"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostCardControl, "post-card-control", never, { "checked": { "alias": "checked"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "validity": { "alias": "validity"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
79
79
  }
80
80
  export declare interface PostCardControl extends Components.PostCardControl {
81
81
  /**
@@ -101,7 +101,7 @@ export declare class PostClosebutton {
101
101
  protected el: HTMLElement;
102
102
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
103
103
  static ɵfac: i0.ɵɵFactoryDeclaration<PostClosebutton, never>;
104
- static ɵcmp: i0.ɵɵComponentDeclaration<PostClosebutton, "post-closebutton", never, {}, {}, never, ["*"], false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostClosebutton, "post-closebutton", never, {}, {}, never, ["*"], true, never>;
105
105
  }
106
106
  export declare interface PostClosebutton extends Components.PostClosebutton {
107
107
  }
@@ -110,7 +110,7 @@ export declare class PostCollapsible {
110
110
  protected el: HTMLElement;
111
111
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
112
112
  static ɵfac: i0.ɵɵFactoryDeclaration<PostCollapsible, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsible, "post-collapsible", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, ["*"], false, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsible, "post-collapsible", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, ["*"], true, never>;
114
114
  }
115
115
  export declare interface PostCollapsible extends Components.PostCollapsible {
116
116
  /**
@@ -125,7 +125,7 @@ export declare class PostCollapsibleTrigger {
125
125
  protected el: HTMLElement;
126
126
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
127
127
  static ɵfac: i0.ɵɵFactoryDeclaration<PostCollapsibleTrigger, never>;
128
- static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsibleTrigger, "post-collapsible-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], false, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsibleTrigger, "post-collapsible-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
129
129
  }
130
130
  export declare interface PostCollapsibleTrigger extends Components.PostCollapsibleTrigger {
131
131
  }
@@ -134,7 +134,7 @@ export declare class PostFooter {
134
134
  protected el: HTMLElement;
135
135
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
136
136
  static ɵfac: i0.ɵɵFactoryDeclaration<PostFooter, never>;
137
- static ɵcmp: i0.ɵɵComponentDeclaration<PostFooter, "post-footer", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
137
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostFooter, "post-footer", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
138
138
  }
139
139
  export declare interface PostFooter extends Components.PostFooter {
140
140
  }
@@ -143,7 +143,7 @@ export declare class PostHeader {
143
143
  protected el: HTMLElement;
144
144
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
145
145
  static ɵfac: i0.ɵɵFactoryDeclaration<PostHeader, never>;
146
- static ɵcmp: i0.ɵɵComponentDeclaration<PostHeader, "post-header", never, {}, {}, never, ["*"], false, never>;
146
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostHeader, "post-header", never, {}, {}, never, ["*"], true, never>;
147
147
  }
148
148
  export declare interface PostHeader extends Components.PostHeader {
149
149
  /**
@@ -156,7 +156,7 @@ export declare class PostIcon {
156
156
  protected el: HTMLElement;
157
157
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
158
158
  static ɵfac: i0.ɵɵFactoryDeclaration<PostIcon, never>;
159
- static ɵcmp: i0.ɵɵComponentDeclaration<PostIcon, "post-icon", never, { "animation": { "alias": "animation"; "required": false; }; "base": { "alias": "base"; "required": false; }; "flipH": { "alias": "flipH"; "required": false; }; "flipV": { "alias": "flipV"; "required": false; }; "name": { "alias": "name"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, {}, never, ["*"], false, never>;
159
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostIcon, "post-icon", never, { "animation": { "alias": "animation"; "required": false; }; "base": { "alias": "base"; "required": false; }; "flipH": { "alias": "flipH"; "required": false; }; "flipV": { "alias": "flipV"; "required": false; }; "name": { "alias": "name"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, {}, never, ["*"], true, never>;
160
160
  }
161
161
  export declare interface PostIcon extends Components.PostIcon {
162
162
  }
@@ -165,7 +165,7 @@ export declare class PostLanguageOption {
165
165
  protected el: HTMLElement;
166
166
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
167
167
  static ɵfac: i0.ɵɵFactoryDeclaration<PostLanguageOption, never>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<PostLanguageOption, "post-language-option", never, { "active": { "alias": "active"; "required": false; }; "code": { "alias": "code"; "required": false; }; "name": { "alias": "name"; "required": false; }; "url": { "alias": "url"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLanguageOption, "post-language-option", never, { "active": { "alias": "active"; "required": false; }; "code": { "alias": "code"; "required": false; }; "name": { "alias": "name"; "required": false; }; "url": { "alias": "url"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
169
169
  }
170
170
  export declare interface PostLanguageOption extends Components.PostLanguageOption {
171
171
  /**
@@ -182,7 +182,7 @@ export declare class PostLanguageSwitch {
182
182
  protected el: HTMLElement;
183
183
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
184
184
  static ɵfac: i0.ɵɵFactoryDeclaration<PostLanguageSwitch, never>;
185
- static ɵcmp: i0.ɵɵComponentDeclaration<PostLanguageSwitch, "post-language-switch", never, { "caption": { "alias": "caption"; "required": false; }; "description": { "alias": "description"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
185
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLanguageSwitch, "post-language-switch", never, { "caption": { "alias": "caption"; "required": false; }; "description": { "alias": "description"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
186
186
  }
187
187
  export declare interface PostLanguageSwitch extends Components.PostLanguageSwitch {
188
188
  }
@@ -191,7 +191,7 @@ export declare class PostLinkarea {
191
191
  protected el: HTMLElement;
192
192
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
193
193
  static ɵfac: i0.ɵɵFactoryDeclaration<PostLinkarea, never>;
194
- static ɵcmp: i0.ɵɵComponentDeclaration<PostLinkarea, "post-linkarea", never, {}, {}, never, ["*"], false, never>;
194
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLinkarea, "post-linkarea", never, {}, {}, never, ["*"], true, never>;
195
195
  }
196
196
  export declare interface PostLinkarea extends Components.PostLinkarea {
197
197
  }
@@ -200,7 +200,7 @@ export declare class PostList {
200
200
  protected el: HTMLElement;
201
201
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
202
202
  static ɵfac: i0.ɵɵFactoryDeclaration<PostList, never>;
203
- static ɵcmp: i0.ɵɵComponentDeclaration<PostList, "post-list", never, { "horizontal": { "alias": "horizontal"; "required": false; }; "titleHidden": { "alias": "titleHidden"; "required": false; }; }, {}, never, ["*"], false, never>;
203
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostList, "post-list", never, { "horizontal": { "alias": "horizontal"; "required": false; }; "titleHidden": { "alias": "titleHidden"; "required": false; }; }, {}, never, ["*"], true, never>;
204
204
  }
205
205
  export declare interface PostList extends Components.PostList {
206
206
  }
@@ -209,7 +209,7 @@ export declare class PostListItem {
209
209
  protected el: HTMLElement;
210
210
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
211
211
  static ɵfac: i0.ɵɵFactoryDeclaration<PostListItem, never>;
212
- static ɵcmp: i0.ɵɵComponentDeclaration<PostListItem, "post-list-item", never, {}, {}, never, ["*"], false, never>;
212
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostListItem, "post-list-item", never, {}, {}, never, ["*"], true, never>;
213
213
  }
214
214
  export declare interface PostListItem extends Components.PostListItem {
215
215
  }
@@ -218,7 +218,7 @@ export declare class PostLogo {
218
218
  protected el: HTMLElement;
219
219
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
220
220
  static ɵfac: i0.ɵɵFactoryDeclaration<PostLogo, never>;
221
- static ɵcmp: i0.ɵɵComponentDeclaration<PostLogo, "post-logo", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], false, never>;
221
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLogo, "post-logo", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], true, never>;
222
222
  }
223
223
  export declare interface PostLogo extends Components.PostLogo {
224
224
  }
@@ -227,7 +227,7 @@ export declare class PostMainnavigation {
227
227
  protected el: HTMLElement;
228
228
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
229
229
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMainnavigation, never>;
230
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMainnavigation, "post-mainnavigation", never, {}, {}, never, ["*"], false, never>;
230
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMainnavigation, "post-mainnavigation", never, {}, {}, never, ["*"], true, never>;
231
231
  }
232
232
  export declare interface PostMainnavigation extends Components.PostMainnavigation {
233
233
  }
@@ -236,7 +236,7 @@ export declare class PostMegadropdown {
236
236
  protected el: HTMLElement;
237
237
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
238
238
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdown, never>;
239
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdown, "post-megadropdown", never, {}, {}, never, ["*"], false, never>;
239
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdown, "post-megadropdown", never, {}, {}, never, ["*"], true, never>;
240
240
  }
241
241
  export declare interface PostMegadropdown extends Components.PostMegadropdown {
242
242
  /**
@@ -255,7 +255,7 @@ export declare class PostMegadropdownTrigger {
255
255
  protected el: HTMLElement;
256
256
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
257
257
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdownTrigger, never>;
258
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdownTrigger, "post-megadropdown-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], false, never>;
258
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdownTrigger, "post-megadropdown-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
259
259
  }
260
260
  export declare interface PostMegadropdownTrigger extends Components.PostMegadropdownTrigger {
261
261
  }
@@ -264,7 +264,7 @@ export declare class PostMenu {
264
264
  protected el: HTMLElement;
265
265
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
266
266
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMenu, never>;
267
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMenu, "post-menu", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], false, never>;
267
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenu, "post-menu", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], true, never>;
268
268
  }
269
269
  export declare interface PostMenu extends Components.PostMenu {
270
270
  /**
@@ -278,7 +278,7 @@ export declare class PostMenuItem {
278
278
  protected el: HTMLElement;
279
279
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
280
280
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuItem, never>;
281
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuItem, "post-menu-item", never, {}, {}, never, ["*"], false, never>;
281
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuItem, "post-menu-item", never, {}, {}, never, ["*"], true, never>;
282
282
  }
283
283
  export declare interface PostMenuItem extends Components.PostMenuItem {
284
284
  }
@@ -287,7 +287,7 @@ export declare class PostMenuTrigger {
287
287
  protected el: HTMLElement;
288
288
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
289
289
  static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuTrigger, never>;
290
- static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuTrigger, "post-menu-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], false, never>;
290
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuTrigger, "post-menu-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
291
291
  }
292
292
  export declare interface PostMenuTrigger extends Components.PostMenuTrigger {
293
293
  }
@@ -296,7 +296,7 @@ export declare class PostPopover {
296
296
  protected el: HTMLElement;
297
297
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
298
298
  static ɵfac: i0.ɵɵFactoryDeclaration<PostPopover, never>;
299
- static ɵcmp: i0.ɵɵComponentDeclaration<PostPopover, "post-popover", never, { "arrow": { "alias": "arrow"; "required": false; }; "closeButtonCaption": { "alias": "closeButtonCaption"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], false, never>;
299
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostPopover, "post-popover", never, { "arrow": { "alias": "arrow"; "required": false; }; "closeButtonCaption": { "alias": "closeButtonCaption"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], true, never>;
300
300
  }
301
301
  export declare interface PostPopover extends Components.PostPopover {
302
302
  }
@@ -305,7 +305,7 @@ export declare class PostPopovercontainer {
305
305
  protected el: HTMLElement;
306
306
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
307
307
  static ɵfac: i0.ɵɵFactoryDeclaration<PostPopovercontainer, never>;
308
- static ɵcmp: i0.ɵɵComponentDeclaration<PostPopovercontainer, "post-popovercontainer", never, { "arrow": { "alias": "arrow"; "required": false; }; "edgeGap": { "alias": "edgeGap"; "required": false; }; "manualClose": { "alias": "manualClose"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "safeSpace": { "alias": "safeSpace"; "required": false; }; }, {}, never, ["*"], false, never>;
308
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostPopovercontainer, "post-popovercontainer", never, { "arrow": { "alias": "arrow"; "required": false; }; "edgeGap": { "alias": "edgeGap"; "required": false; }; "manualClose": { "alias": "manualClose"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "safeSpace": { "alias": "safeSpace"; "required": false; }; }, {}, never, ["*"], true, never>;
309
309
  }
310
310
  export declare interface PostPopovercontainer extends Components.PostPopovercontainer {
311
311
  /**
@@ -318,7 +318,7 @@ export declare class PostRating {
318
318
  protected el: HTMLElement;
319
319
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
320
320
  static ɵfac: i0.ɵɵFactoryDeclaration<PostRating, never>;
321
- static ɵcmp: i0.ɵɵComponentDeclaration<PostRating, "post-rating", never, { "currentRating": { "alias": "currentRating"; "required": false; }; "label": { "alias": "label"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "stars": { "alias": "stars"; "required": false; }; }, {}, never, ["*"], false, never>;
321
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostRating, "post-rating", never, { "currentRating": { "alias": "currentRating"; "required": false; }; "label": { "alias": "label"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "stars": { "alias": "stars"; "required": false; }; }, {}, never, ["*"], true, never>;
322
322
  }
323
323
  export declare interface PostRating extends Components.PostRating {
324
324
  /**
@@ -341,7 +341,7 @@ export declare class PostTabHeader {
341
341
  protected el: HTMLElement;
342
342
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
343
343
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTabHeader, never>;
344
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTabHeader, "post-tab-header", never, { "panel": { "alias": "panel"; "required": false; }; }, {}, never, ["*"], false, never>;
344
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabHeader, "post-tab-header", never, { "panel": { "alias": "panel"; "required": false; }; }, {}, never, ["*"], true, never>;
345
345
  }
346
346
  export declare interface PostTabHeader extends Components.PostTabHeader {
347
347
  }
@@ -350,7 +350,7 @@ export declare class PostTabPanel {
350
350
  protected el: HTMLElement;
351
351
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
352
352
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTabPanel, never>;
353
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTabPanel, "post-tab-panel", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], false, never>;
353
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabPanel, "post-tab-panel", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
354
354
  }
355
355
  export declare interface PostTabPanel extends Components.PostTabPanel {
356
356
  }
@@ -359,7 +359,7 @@ export declare class PostTabs {
359
359
  protected el: HTMLElement;
360
360
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
361
361
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTabs, never>;
362
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTabs, "post-tabs", never, { "activePanel": { "alias": "activePanel"; "required": false; }; }, {}, never, ["*"], false, never>;
362
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabs, "post-tabs", never, { "activePanel": { "alias": "activePanel"; "required": false; }; }, {}, never, ["*"], true, never>;
363
363
  }
364
364
  export declare interface PostTabs extends Components.PostTabs {
365
365
  /**
@@ -373,7 +373,7 @@ export declare class PostTag {
373
373
  protected el: HTMLElement;
374
374
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
375
375
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTag, never>;
376
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTag, "post-tag", never, { "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
376
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTag, "post-tag", never, { "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
377
377
  }
378
378
  export declare interface PostTag extends Components.PostTag {
379
379
  }
@@ -382,7 +382,7 @@ export declare class PostTogglebutton {
382
382
  protected el: HTMLElement;
383
383
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
384
384
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTogglebutton, never>;
385
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTogglebutton, "post-togglebutton", never, { "toggled": { "alias": "toggled"; "required": false; }; }, {}, never, ["*"], false, never>;
385
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTogglebutton, "post-togglebutton", never, { "toggled": { "alias": "toggled"; "required": false; }; }, {}, never, ["*"], true, never>;
386
386
  }
387
387
  export declare interface PostTogglebutton extends Components.PostTogglebutton {
388
388
  }
@@ -391,7 +391,7 @@ export declare class PostTooltip {
391
391
  protected el: HTMLElement;
392
392
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
393
393
  static ɵfac: i0.ɵɵFactoryDeclaration<PostTooltip, never>;
394
- static ɵcmp: i0.ɵɵComponentDeclaration<PostTooltip, "post-tooltip", never, { "arrow": { "alias": "arrow"; "required": false; }; "delayed": { "alias": "delayed"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], false, never>;
394
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTooltip, "post-tooltip", never, { "arrow": { "alias": "arrow"; "required": false; }; "delayed": { "alias": "delayed"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], true, never>;
395
395
  }
396
396
  export declare interface PostTooltip extends Components.PostTooltip {
397
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-components-angular",
3
- "version": "9.0.0-next.29",
3
+ "version": "9.0.0-next.30",
4
4
  "description": "Swiss Post Design System - Angular Wrapper Components",
5
5
  "author": "Swiss Post <design-system@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -18,12 +18,13 @@
18
18
  "linkDirectory": true
19
19
  },
20
20
  "dependencies": {
21
- "@swisspost/design-system-components": "9.0.0-next.29",
21
+ "@swisspost/design-system-components": "9.0.0-next.30",
22
22
  "tslib": "2.8.1"
23
23
  },
24
24
  "peerDependencies": {
25
- "@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0",
26
- "@angular/core": "^16.0.0 || ^17.0.0 || ^18.0.0"
25
+ "@angular/common": "^19.0.0",
26
+ "@angular/core": "^19.0.0",
27
+ "@angular/forms": "^19.0.0"
27
28
  },
28
29
  "sideEffects": false,
29
30
  "module": "fesm2022/swisspost-design-system-components-angular.mjs",
@@ -34,8 +35,6 @@
34
35
  },
35
36
  ".": {
36
37
  "types": "./index.d.ts",
37
- "esm2022": "./esm2022/swisspost-design-system-components-angular.mjs",
38
- "esm": "./esm2022/swisspost-design-system-components-angular.mjs",
39
38
  "default": "./fesm2022/swisspost-design-system-components-angular.mjs"
40
39
  }
41
40
  }
@@ -1,62 +0,0 @@
1
- import { CSP_NONCE, ENVIRONMENT_INITIALIZER, inject, NgModule } from '@angular/core';
2
- import { defineCustomElements, setNonce } from '@swisspost/design-system-components/loader';
3
- import { DIRECTIVES } from './stencil-generated';
4
- import { PostCardControlCheckboxValueAccessorDirective } from './custom/value-accessors/post-card-control-checkbox-value-accessor';
5
- import { PostCardControlRadioValueAccessorDirective } from './custom/value-accessors/post-card-control-radio-value-accessor';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "./stencil-generated/components";
8
- const DECLARATIONS = [
9
- ...DIRECTIVES,
10
- PostCardControlCheckboxValueAccessorDirective,
11
- PostCardControlRadioValueAccessorDirective,
12
- ];
13
- export class PostComponentsModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PostComponentsModule, declarations: [i1.PostAccordion, i1.PostAccordionItem, i1.PostAvatar, i1.PostBackToTop, i1.PostBanner, i1.PostBreadcrumb, i1.PostBreadcrumbItem, i1.PostCardControl, i1.PostClosebutton, i1.PostCollapsible, i1.PostCollapsibleTrigger, i1.PostFooter, i1.PostHeader, i1.PostIcon, i1.PostLanguageOption, i1.PostLanguageSwitch, i1.PostLinkarea, i1.PostList, i1.PostListItem, i1.PostLogo, i1.PostMainnavigation, i1.PostMegadropdown, i1.PostMegadropdownTrigger, i1.PostMenu, i1.PostMenuItem, i1.PostMenuTrigger, i1.PostPopover, i1.PostPopovercontainer, i1.PostRating, i1.PostTabHeader, i1.PostTabPanel, i1.PostTabs, i1.PostTag, i1.PostTogglebutton, i1.PostTooltip, PostCardControlCheckboxValueAccessorDirective,
16
- PostCardControlRadioValueAccessorDirective], exports: [i1.PostAccordion, i1.PostAccordionItem, i1.PostAvatar, i1.PostBackToTop, i1.PostBanner, i1.PostBreadcrumb, i1.PostBreadcrumbItem, i1.PostCardControl, i1.PostClosebutton, i1.PostCollapsible, i1.PostCollapsibleTrigger, i1.PostFooter, i1.PostHeader, i1.PostIcon, i1.PostLanguageOption, i1.PostLanguageSwitch, i1.PostLinkarea, i1.PostList, i1.PostListItem, i1.PostLogo, i1.PostMainnavigation, i1.PostMegadropdown, i1.PostMegadropdownTrigger, i1.PostMenu, i1.PostMenuItem, i1.PostMenuTrigger, i1.PostPopover, i1.PostPopovercontainer, i1.PostRating, i1.PostTabHeader, i1.PostTabPanel, i1.PostTabs, i1.PostTag, i1.PostTogglebutton, i1.PostTooltip, PostCardControlCheckboxValueAccessorDirective,
17
- PostCardControlRadioValueAccessorDirective] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostComponentsModule, providers: [
19
- {
20
- // Use ENVIRONMENT_INITIALIZER to be compatible with lazy-loaded modules
21
- provide: ENVIRONMENT_INITIALIZER,
22
- useFactory: () => () => {
23
- // Check if Post components are already defined, if so do nothing
24
- if (typeof customElements.get('post-icon') !== 'undefined')
25
- return;
26
- // Set a "nonce" attribute on all scripts/styles if the host application has one configured
27
- const nonce = inject(CSP_NONCE);
28
- if (nonce)
29
- setNonce(nonce);
30
- // Define Post components
31
- defineCustomElements();
32
- },
33
- multi: true,
34
- },
35
- ] }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostComponentsModule, decorators: [{
38
- type: NgModule,
39
- args: [{
40
- declarations: DECLARATIONS,
41
- exports: DECLARATIONS,
42
- providers: [
43
- {
44
- // Use ENVIRONMENT_INITIALIZER to be compatible with lazy-loaded modules
45
- provide: ENVIRONMENT_INITIALIZER,
46
- useFactory: () => () => {
47
- // Check if Post components are already defined, if so do nothing
48
- if (typeof customElements.get('post-icon') !== 'undefined')
49
- return;
50
- // Set a "nonce" attribute on all scripts/styles if the host application has one configured
51
- const nonce = inject(CSP_NONCE);
52
- if (nonce)
53
- setNonce(nonce);
54
- // Define Post components
55
- defineCustomElements();
56
- },
57
- multi: true,
58
- },
59
- ],
60
- }]
61
- }] });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxRQUFRLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUU1RixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakQsT0FBTyxFQUFFLDZDQUE2QyxFQUFFLE1BQU0sb0VBQW9FLENBQUM7QUFDbkksT0FBTyxFQUFFLDBDQUEwQyxFQUFFLE1BQU0saUVBQWlFLENBQUM7OztBQUU3SCxNQUFNLFlBQVksR0FBRztJQUNuQixHQUFHLFVBQVU7SUFDYiw2Q0FBNkM7SUFDN0MsMENBQTBDO0NBQzNDLENBQUM7QUF3QkYsTUFBTSxPQUFPLG9CQUFvQjsrR0FBcEIsb0JBQW9CO2dIQUFwQixvQkFBb0Isa3BCQTFCL0IsNkNBQTZDO1lBQzdDLDBDQUEwQyw4b0JBRDFDLDZDQUE2QztZQUM3QywwQ0FBMEM7Z0hBeU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4gICAge1xuICAgICAgLy8gVXNlIEVOVklST05NRU5UX0lOSVRJQUxJWkVSIHRvIGJlIGNvbXBhdGlibGUgd2l0aCBsYXp5LWxvYWRlZCBtb2R1bGVzXG4gICAgICBwcm92aWRlOiBFTlZJUk9OTUVOVF9JTklUSUFMSVpFUixcbiAgICAgIHVzZUZhY3Rvcnk6ICgpID0+ICgpID0+IHtcbiAgICAgICAgLy8gQ2hlY2sgaWYgUG9zdCBjb21wb25lbnRzIGFyZSBhbHJlYWR5IGRlZmluZWQsIGlmIHNvIGRvIG5vdGhpbmdcbiAgICAgICAgaWYgKHR5cGVvZiBjdXN0b21FbGVtZW50cy5nZXQoJ3Bvc3QtaWNvbicpICE9PSAndW5kZWZpbmVkJykgcmV0dXJuO1xuXG4gICAgICAgIC8vIFNldCBhIFwibm9uY2VcIiBhdHRyaWJ1dGUgb24gYWxsIHNjcmlwdHMvc3R5bGVzIGlmIHRoZSBob3N0IGFwcGxpY2F0aW9uIGhhcyBvbmUgY29uZmlndXJlZFxuICAgICAgICBjb25zdCBub25jZSA9IGluamVjdChDU1BfTk9OQ0UpO1xuICAgICAgICBpZiAobm9uY2UpIHNldE5vbmNlKG5vbmNlKTtcblxuICAgICAgICAvLyBEZWZpbmUgUG9zdCBjb21wb25lbnRzXG4gICAgICAgIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgICB9LFxuICAgICAgbXVsdGk6IHRydWUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgUG9zdENvbXBvbmVudHNNb2R1bGUge31cbiJdfQ==
@@ -1,61 +0,0 @@
1
- import { Directive, HostListener } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export class PostCardControlCheckboxValueAccessorDirective {
5
- constructor(el) {
6
- this.el = el;
7
- this.onChange = () => {
8
- /**/
9
- };
10
- this.onTouched = () => {
11
- /**/
12
- };
13
- }
14
- writeValue(value) {
15
- this.el.nativeElement.checked = this.lastValue = value === null ? false : value;
16
- }
17
- handleChangeEvent(value) {
18
- this.onChange(value);
19
- }
20
- _handleBlurEvent() {
21
- this.onTouched();
22
- }
23
- registerOnChange(fn) {
24
- this.onChange = fn;
25
- }
26
- registerOnTouched(fn) {
27
- this.onTouched = fn;
28
- }
29
- setDisabledState(isDisabled) {
30
- this.el.nativeElement.disabled = isDisabled;
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostCardControlCheckboxValueAccessorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: PostCardControlCheckboxValueAccessorDirective, selector: "post-card-control[type=\"checkbox\"]", host: { listeners: { "postChange": "handleChangeEvent($event.detail.state)", "focusout": "_handleBlurEvent()" } }, providers: [
34
- {
35
- provide: NG_VALUE_ACCESSOR,
36
- useExisting: PostCardControlCheckboxValueAccessorDirective,
37
- multi: true,
38
- },
39
- ], ngImport: i0 }); }
40
- }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostCardControlCheckboxValueAccessorDirective, decorators: [{
42
- type: Directive,
43
- args: [{
44
- /* eslint-disable-next-line @angular-eslint/directive-selector */
45
- selector: 'post-card-control[type="checkbox"]',
46
- providers: [
47
- {
48
- provide: NG_VALUE_ACCESSOR,
49
- useExisting: PostCardControlCheckboxValueAccessorDirective,
50
- multi: true,
51
- },
52
- ],
53
- }]
54
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
55
- type: HostListener,
56
- args: ['postChange', ['$event.detail.state']]
57
- }], _handleBlurEvent: [{
58
- type: HostListener,
59
- args: ['focusout']
60
- }] } });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9zdC1jYXJ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duKSB7XG4gICAgdGhpcy5vbkNoYW5nZSh2YWx1ZSk7XG4gIH1cblxuICBASG9zdExpc3RlbmVyKCdmb2N1c291dCcpXG4gIF9oYW5kbGVCbHVyRXZlbnQoKSB7XG4gICAgdGhpcy5vblRvdWNoZWQoKTtcbiAgfVxuXG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46ICh2YWx1ZTogdW5rbm93bikgPT4gdm9pZCkge1xuICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcbiAgfVxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogKCkgPT4gdm9pZCkge1xuICAgIHRoaXMub25Ub3VjaGVkID0gZm47XG4gIH1cblxuICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pIHtcbiAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG59XG4iXX0=
@@ -1,62 +0,0 @@
1
- import { Directive, HostListener } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export class PostCardControlRadioValueAccessorDirective {
5
- constructor(el) {
6
- this.el = el;
7
- this.onChange = () => {
8
- /**/
9
- };
10
- this.onTouched = () => {
11
- /**/
12
- };
13
- }
14
- writeValue(value) {
15
- this.el.nativeElement.checked = this.lastValue =
16
- this.el.nativeElement.value != value ? false : value;
17
- }
18
- handleChangeEvent(value) {
19
- this.onChange(value);
20
- }
21
- _handleBlurEvent() {
22
- this.onTouched();
23
- }
24
- registerOnChange(fn) {
25
- this.onChange = fn;
26
- }
27
- registerOnTouched(fn) {
28
- this.onTouched = fn;
29
- }
30
- setDisabledState(isDisabled) {
31
- this.el.nativeElement.disabled = isDisabled;
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostCardControlRadioValueAccessorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: PostCardControlRadioValueAccessorDirective, selector: "post-card-control[type=\"radio\"]", host: { listeners: { "postChange": "handleChangeEvent($event.detail.value)", "focusout": "_handleBlurEvent()" } }, providers: [
35
- {
36
- provide: NG_VALUE_ACCESSOR,
37
- useExisting: PostCardControlRadioValueAccessorDirective,
38
- multi: true,
39
- },
40
- ], ngImport: i0 }); }
41
- }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PostCardControlRadioValueAccessorDirective, decorators: [{
43
- type: Directive,
44
- args: [{
45
- /* eslint-disable-next-line @angular-eslint/directive-selector */
46
- selector: 'post-card-control[type="radio"]',
47
- providers: [
48
- {
49
- provide: NG_VALUE_ACCESSOR,
50
- useExisting: PostCardControlRadioValueAccessorDirective,
51
- multi: true,
52
- },
53
- ],
54
- }]
55
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { handleChangeEvent: [{
56
- type: HostListener,
57
- args: ['postChange', ['$event.detail.value']]
58
- }], _handleBlurEvent: [{
59
- type: HostListener,
60
- args: ['focusout']
61
- }] } });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9zdC1jYXJkLWNvbnRyb2wtcmFkaW8tdmFsdWUtYWNjZXNzb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3NyYy9saWIvY3VzdG9tL3ZhbHVlLWFjY2Vzc29ycy9wb3N0LWNhcmQtY29udHJvbC1yYWRpby12YWx1ZS1hY2Nlc3Nvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFP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