@swisspost/design-system-components-angular 10.0.0-next.47 → 10.0.0-next.49

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/index.d.ts CHANGED
@@ -1,5 +1,435 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@swisspost/design-system-components-angular" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { EnvironmentProviders, NgZone, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
3
+ import { Components } from '@swisspost/design-system-components/components';
4
+ import { ControlValueAccessor } from '@angular/forms';
5
+
6
+ declare function providePostComponents(): EnvironmentProviders;
7
+
8
+ declare class PostAccordion {
9
+ protected z: NgZone;
10
+ protected el: HTMLPostAccordionElement;
11
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostAccordion, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordion, "post-accordion", never, { "headingLevel": { "alias": "headingLevel"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, ["*"], true, never>;
14
+ }
15
+ declare interface PostAccordion extends Components.PostAccordion {
16
+ }
17
+ declare class PostAccordionItem {
18
+ protected z: NgZone;
19
+ protected el: HTMLPostAccordionItemElement;
20
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostAccordionItem, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAccordionItem, "post-accordion-item", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "headingLevel": { "alias": "headingLevel"; "required": false; }; }, {}, never, ["*"], true, never>;
23
+ }
24
+ declare interface PostAccordionItem extends Components.PostAccordionItem {
25
+ }
26
+ declare class PostAvatar {
27
+ protected z: NgZone;
28
+ protected el: HTMLPostAvatarElement;
29
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostAvatar, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostAvatar, "post-avatar", never, { "description": { "alias": "description"; "required": false; }; "email": { "alias": "email"; "required": false; }; "firstname": { "alias": "firstname"; "required": false; }; "lastname": { "alias": "lastname"; "required": false; }; "userid": { "alias": "userid"; "required": false; }; }, {}, never, ["*"], true, never>;
32
+ }
33
+ declare interface PostAvatar extends Components.PostAvatar {
34
+ }
35
+ declare class PostBackToTop {
36
+ protected z: NgZone;
37
+ protected el: HTMLPostBackToTopElement;
38
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostBackToTop, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBackToTop, "post-back-to-top", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
41
+ }
42
+ declare interface PostBackToTop extends Components.PostBackToTop {
43
+ }
44
+ declare class PostBanner {
45
+ protected z: NgZone;
46
+ protected el: HTMLPostBannerElement;
47
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostBanner, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBanner, "post-banner", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
50
+ }
51
+ declare interface PostBanner extends Components.PostBanner {
52
+ /**
53
+ * An event emitted when the banner element is dismissed, after the transition.
54
+ It has no payload and only relevant for dismissible banners.
55
+ */
56
+ postDismissed: EventEmitter<CustomEvent<void>>;
57
+ }
58
+ declare class PostBreadcrumbItem {
59
+ protected z: NgZone;
60
+ protected el: HTMLPostBreadcrumbItemElement;
61
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostBreadcrumbItem, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumbItem, "post-breadcrumb-item", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], true, never>;
64
+ }
65
+ declare interface PostBreadcrumbItem extends Components.PostBreadcrumbItem {
66
+ }
67
+ declare class PostBreadcrumbs {
68
+ protected z: NgZone;
69
+ protected el: HTMLPostBreadcrumbsElement;
70
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostBreadcrumbs, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostBreadcrumbs, "post-breadcrumbs", never, { "homeText": { "alias": "homeText"; "required": false; }; "homeUrl": { "alias": "homeUrl"; "required": false; }; }, {}, never, ["*"], true, never>;
73
+ }
74
+ declare interface PostBreadcrumbs extends Components.PostBreadcrumbs {
75
+ }
76
+ declare class PostCardControl {
77
+ protected z: NgZone;
78
+ protected el: HTMLPostCardControlElement;
79
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControl, never>;
81
+ 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>;
82
+ }
83
+ declare interface PostCardControl extends Components.PostCardControl {
84
+ /**
85
+ * An event emitted whenever the components checked state is toggled.
86
+ The event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.
87
+ */
88
+ postInput: EventEmitter<CustomEvent<{
89
+ state: boolean;
90
+ value: string;
91
+ }>>;
92
+ /**
93
+ * An event emitted whenever the components checked state is toggled.
94
+ The event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked.
95
+ <post-banner data-size="sm"><p>If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`.</p></post-banner>
96
+ */
97
+ postChange: EventEmitter<CustomEvent<{
98
+ state: boolean;
99
+ value: string;
100
+ }>>;
101
+ }
102
+ declare class PostClosebutton {
103
+ protected z: NgZone;
104
+ protected el: HTMLPostClosebuttonElement;
105
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostClosebutton, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostClosebutton, "post-closebutton", never, {}, {}, never, ["*"], true, never>;
108
+ }
109
+ declare interface PostClosebutton extends Components.PostClosebutton {
110
+ }
111
+ declare class PostCollapsible {
112
+ protected z: NgZone;
113
+ protected el: HTMLPostCollapsibleElement;
114
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostCollapsible, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsible, "post-collapsible", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, ["*"], true, never>;
117
+ }
118
+ declare interface PostCollapsible extends Components.PostCollapsible {
119
+ /**
120
+ * An event emitted when the collapse element is shown or hidden, before the transition.
121
+
122
+ The event payload is a boolean: `true` if the collapsible was opened, `false` if it was closed.
123
+ */
124
+ postToggle: EventEmitter<CustomEvent<boolean>>;
125
+ }
126
+ declare class PostCollapsibleTrigger {
127
+ protected z: NgZone;
128
+ protected el: HTMLPostCollapsibleTriggerElement;
129
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostCollapsibleTrigger, never>;
131
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostCollapsibleTrigger, "post-collapsible-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
132
+ }
133
+ declare interface PostCollapsibleTrigger extends Components.PostCollapsibleTrigger {
134
+ }
135
+ declare class PostFooter {
136
+ protected z: NgZone;
137
+ protected el: HTMLPostFooterElement;
138
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostFooter, never>;
140
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostFooter, "post-footer", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], true, never>;
141
+ }
142
+ declare interface PostFooter extends Components.PostFooter {
143
+ }
144
+ declare class PostHeader {
145
+ protected z: NgZone;
146
+ protected el: HTMLPostHeaderElement;
147
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
148
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostHeader, never>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostHeader, "post-header", never, {}, {}, never, ["*"], true, never>;
150
+ }
151
+ declare interface PostHeader extends Components.PostHeader {
152
+ }
153
+ declare class PostIcon {
154
+ protected z: NgZone;
155
+ protected el: HTMLPostIconElement;
156
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
157
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostIcon, never>;
158
+ 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>;
159
+ }
160
+ declare interface PostIcon extends Components.PostIcon {
161
+ }
162
+ declare class PostLanguageOption {
163
+ protected z: NgZone;
164
+ protected el: HTMLPostLanguageOptionElement;
165
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
166
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostLanguageOption, never>;
167
+ 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>;
168
+ }
169
+ declare interface PostLanguageOption extends Components.PostLanguageOption {
170
+ /**
171
+ * An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.
172
+ */
173
+ postChange: EventEmitter<CustomEvent<string>>;
174
+ /**
175
+ * An event emitted when the language option is initially active. The payload is the ISO 639 code of the language.
176
+ */
177
+ postLanguageOptionInitiallyActive: EventEmitter<CustomEvent<string>>;
178
+ }
179
+ declare class PostLanguageSwitch {
180
+ protected z: NgZone;
181
+ protected el: HTMLPostLanguageSwitchElement;
182
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
183
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostLanguageSwitch, never>;
184
+ 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>;
185
+ }
186
+ declare interface PostLanguageSwitch extends Components.PostLanguageSwitch {
187
+ }
188
+ declare class PostLinkarea {
189
+ protected z: NgZone;
190
+ protected el: HTMLPostLinkareaElement;
191
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
192
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostLinkarea, never>;
193
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLinkarea, "post-linkarea", never, {}, {}, never, ["*"], true, never>;
194
+ }
195
+ declare interface PostLinkarea extends Components.PostLinkarea {
196
+ }
197
+ declare class PostList {
198
+ protected z: NgZone;
199
+ protected el: HTMLPostListElement;
200
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostList, never>;
202
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostList, "post-list", never, { "horizontal": { "alias": "horizontal"; "required": false; }; "titleHidden": { "alias": "titleHidden"; "required": false; }; }, {}, never, ["*"], true, never>;
203
+ }
204
+ declare interface PostList extends Components.PostList {
205
+ }
206
+ declare class PostListItem {
207
+ protected z: NgZone;
208
+ protected el: HTMLPostListItemElement;
209
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
210
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostListItem, never>;
211
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostListItem, "post-list-item", never, {}, {}, never, ["*"], true, never>;
212
+ }
213
+ declare interface PostListItem extends Components.PostListItem {
214
+ }
215
+ declare class PostLogo {
216
+ protected z: NgZone;
217
+ protected el: HTMLPostLogoElement;
218
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
219
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostLogo, never>;
220
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostLogo, "post-logo", never, { "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], true, never>;
221
+ }
222
+ declare interface PostLogo extends Components.PostLogo {
223
+ }
224
+ declare class PostMainnavigation {
225
+ protected z: NgZone;
226
+ protected el: HTMLPostMainnavigationElement;
227
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
228
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMainnavigation, never>;
229
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMainnavigation, "post-mainnavigation", never, {}, {}, never, ["*"], true, never>;
230
+ }
231
+ declare interface PostMainnavigation extends Components.PostMainnavigation {
232
+ }
233
+ declare class PostMegadropdown {
234
+ protected z: NgZone;
235
+ protected el: HTMLPostMegadropdownElement;
236
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
237
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdown, never>;
238
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdown, "post-megadropdown", never, {}, {}, never, ["*"], true, never>;
239
+ }
240
+ declare interface PostMegadropdown extends Components.PostMegadropdown {
241
+ /**
242
+ * Emits when the dropdown is shown or hidden.
243
+ The event payload is an object.
244
+ `isVisible` is true when the dropdown gets opened and false when it gets closed
245
+ `focusParent` determines whether after the closing of the mega dropdown, the focus should go back to the trigger parent or naturally go to the next focusable element in the page
246
+ */
247
+ postToggleMegadropdown: EventEmitter<CustomEvent<{
248
+ isVisible: boolean;
249
+ focusParent?: boolean;
250
+ }>>;
251
+ }
252
+ declare class PostMegadropdownTrigger {
253
+ protected z: NgZone;
254
+ protected el: HTMLPostMegadropdownTriggerElement;
255
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
256
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMegadropdownTrigger, never>;
257
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMegadropdownTrigger, "post-megadropdown-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
258
+ }
259
+ declare interface PostMegadropdownTrigger extends Components.PostMegadropdownTrigger {
260
+ }
261
+ declare class PostMenu {
262
+ protected z: NgZone;
263
+ protected el: HTMLPostMenuElement;
264
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenu, never>;
266
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenu, "post-menu", never, { "label": { "alias": "label"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], true, never>;
267
+ }
268
+ declare interface PostMenu extends Components.PostMenu {
269
+ /**
270
+ * Emits when the menu is shown or hidden.
271
+ The event payload is a boolean: `true` when the menu was opened, `false` when it was closed.
272
+ */
273
+ toggleMenu: EventEmitter<CustomEvent<boolean>>;
274
+ }
275
+ declare class PostMenuItem {
276
+ protected z: NgZone;
277
+ protected el: HTMLPostMenuItemElement;
278
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuItem, never>;
280
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuItem, "post-menu-item", never, {}, {}, never, ["*"], true, never>;
281
+ }
282
+ declare interface PostMenuItem extends Components.PostMenuItem {
283
+ }
284
+ declare class PostMenuTrigger {
285
+ protected z: NgZone;
286
+ protected el: HTMLPostMenuTriggerElement;
287
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
288
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostMenuTrigger, never>;
289
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostMenuTrigger, "post-menu-trigger", never, { "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
290
+ }
291
+ declare interface PostMenuTrigger extends Components.PostMenuTrigger {
292
+ }
293
+ declare class PostPopover {
294
+ protected z: NgZone;
295
+ protected el: HTMLPostPopoverElement;
296
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostPopover, never>;
298
+ 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>;
299
+ }
300
+ declare interface PostPopover extends Components.PostPopover {
301
+ }
302
+ declare class PostPopovercontainer {
303
+ protected z: NgZone;
304
+ protected el: HTMLPostPopovercontainerElement;
305
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
306
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostPopovercontainer, never>;
307
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostPopovercontainer, "post-popovercontainer", never, { "animation": { "alias": "animation"; "required": false; }; "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>;
308
+ }
309
+ declare interface PostPopovercontainer extends Components.PostPopovercontainer {
310
+ /**
311
+ * Fires whenever the popovercontainer gets shown or hidden, passing in event.detail an object containing two booleans: `isOpen`, which is true if the popovercontainer was opened and false if it was closed, and `first`, which is true if it was opened for the first time.
312
+ */
313
+ postToggle: EventEmitter<CustomEvent<{
314
+ isOpen: boolean;
315
+ first?: boolean;
316
+ }>>;
317
+ }
318
+ declare class PostRating {
319
+ protected z: NgZone;
320
+ protected el: HTMLPostRatingElement;
321
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
322
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostRating, never>;
323
+ 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>;
324
+ }
325
+ declare interface PostRating extends Components.PostRating {
326
+ /**
327
+ * An event emitted whenever the component's value has changed (on input).
328
+ The event payload can be used like so: `event.detail.value`.
329
+ */
330
+ postInput: EventEmitter<CustomEvent<{
331
+ value: number;
332
+ }>>;
333
+ /**
334
+ * An event emitted whenever the component's value has changed (on blur).
335
+ The event payload can be used like so: `event.detail.value`.
336
+ */
337
+ postChange: EventEmitter<CustomEvent<{
338
+ value: number;
339
+ }>>;
340
+ }
341
+ declare class PostTabHeader {
342
+ protected z: NgZone;
343
+ protected el: HTMLPostTabHeaderElement;
344
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
345
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTabHeader, never>;
346
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabHeader, "post-tab-header", never, { "panel": { "alias": "panel"; "required": false; }; }, {}, never, ["*"], true, never>;
347
+ }
348
+ declare interface PostTabHeader extends Components.PostTabHeader {
349
+ }
350
+ declare class PostTabPanel {
351
+ protected z: NgZone;
352
+ protected el: HTMLPostTabPanelElement;
353
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTabPanel, never>;
355
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabPanel, "post-tab-panel", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
356
+ }
357
+ declare interface PostTabPanel extends Components.PostTabPanel {
358
+ }
359
+ declare class PostTabs {
360
+ protected z: NgZone;
361
+ protected el: HTMLPostTabsElement;
362
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
363
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTabs, never>;
364
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTabs, "post-tabs", never, { "activePanel": { "alias": "activePanel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
365
+ }
366
+ declare interface PostTabs extends Components.PostTabs {
367
+ /**
368
+ * An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
369
+ The payload is the name of the newly shown panel.
370
+ */
371
+ postChange: EventEmitter<CustomEvent<string>>;
372
+ }
373
+ declare class PostTogglebutton {
374
+ protected z: NgZone;
375
+ protected el: HTMLPostTogglebuttonElement;
376
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTogglebutton, never>;
378
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTogglebutton, "post-togglebutton", never, { "toggled": { "alias": "toggled"; "required": false; }; }, {}, never, ["*"], true, never>;
379
+ }
380
+ declare interface PostTogglebutton extends Components.PostTogglebutton {
381
+ }
382
+ declare class PostTooltip {
383
+ protected z: NgZone;
384
+ protected el: HTMLPostTooltipElement;
385
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
386
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTooltip, never>;
387
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTooltip, "post-tooltip", never, { "animation": { "alias": "animation"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "open": { "alias": "open"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, ["*"], true, never>;
388
+ }
389
+ declare interface PostTooltip extends Components.PostTooltip {
390
+ }
391
+ declare class PostTooltipTrigger {
392
+ protected z: NgZone;
393
+ protected el: HTMLPostTooltipTriggerElement;
394
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
395
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostTooltipTrigger, never>;
396
+ static ɵcmp: i0.ɵɵComponentDeclaration<PostTooltipTrigger, "post-tooltip-trigger", never, { "delay": { "alias": "delay"; "required": false; }; "for": { "alias": "for"; "required": false; }; }, {}, never, ["*"], true, never>;
397
+ }
398
+ declare interface PostTooltipTrigger extends Components.PostTooltipTrigger {
399
+ }
400
+
401
+ declare const DIRECTIVES: (typeof PostAccordion | typeof PostAccordionItem | typeof PostAvatar | typeof PostBackToTop | typeof PostBanner | typeof PostBreadcrumbItem | typeof PostBreadcrumbs | typeof PostCardControl | typeof PostClosebutton | typeof PostCollapsible | typeof PostCollapsibleTrigger | typeof PostFooter | typeof PostHeader | typeof PostIcon | typeof PostLanguageOption | typeof PostLanguageSwitch | typeof PostLinkarea | typeof PostList | typeof PostListItem | typeof PostLogo | typeof PostMainnavigation | typeof PostMegadropdown | typeof PostMegadropdownTrigger | typeof PostMenu | typeof PostMenuItem | typeof PostMenuTrigger | typeof PostPopover | typeof PostPopovercontainer | typeof PostRating | typeof PostTabHeader | typeof PostTabPanel | typeof PostTabs | typeof PostTogglebutton | typeof PostTooltip | typeof PostTooltipTrigger)[];
402
+
403
+ declare class PostCardControlCheckboxValueAccessorDirective implements ControlValueAccessor {
404
+ protected el: ElementRef;
405
+ private onChange;
406
+ private onTouched;
407
+ protected lastValue: unknown;
408
+ constructor(el: ElementRef);
409
+ writeValue(value: unknown): void;
410
+ handleChangeEvent(value: unknown): void;
411
+ _handleBlurEvent(): void;
412
+ registerOnChange(fn: (value: unknown) => void): void;
413
+ registerOnTouched(fn: () => void): void;
414
+ setDisabledState(isDisabled: boolean): void;
415
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControlCheckboxValueAccessorDirective, never>;
416
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PostCardControlCheckboxValueAccessorDirective, "post-card-control[type=\"checkbox\"]", never, {}, {}, never, never, true, never>;
417
+ }
418
+
419
+ declare class PostCardControlRadioValueAccessorDirective implements ControlValueAccessor {
420
+ protected el: ElementRef;
421
+ private onChange;
422
+ private onTouched;
423
+ protected lastValue: unknown;
424
+ constructor(el: ElementRef);
425
+ writeValue(value: unknown): void;
426
+ handleChangeEvent(value: unknown): void;
427
+ _handleBlurEvent(): void;
428
+ registerOnChange(fn: (value: unknown) => void): void;
429
+ registerOnTouched(fn: () => void): void;
430
+ setDisabledState(isDisabled: boolean): void;
431
+ static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControlRadioValueAccessorDirective, never>;
432
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PostCardControlRadioValueAccessorDirective, "post-card-control[type=\"radio\"]", never, {}, {}, never, never, true, never>;
433
+ }
434
+
435
+ export { DIRECTIVES, PostAccordion, PostAccordionItem, PostAvatar, PostBackToTop, PostBanner, PostBreadcrumbItem, PostBreadcrumbs, PostCardControl, PostCardControlCheckboxValueAccessorDirective, PostCardControlRadioValueAccessorDirective, PostClosebutton, PostCollapsible, PostCollapsibleTrigger, PostFooter, PostHeader, PostIcon, PostLanguageOption, PostLanguageSwitch, PostLinkarea, PostList, PostListItem, PostLogo, PostMainnavigation, PostMegadropdown, PostMegadropdownTrigger, PostMenu, PostMenuItem, PostMenuTrigger, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTogglebutton, PostTooltip, PostTooltipTrigger, providePostComponents };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-components-angular",
3
- "version": "10.0.0-next.47",
3
+ "version": "10.0.0-next.49",
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",
@@ -28,7 +28,7 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@swisspost/design-system-components": "10.0.0-next.47",
31
+ "@swisspost/design-system-components": "10.0.0-next.49",
32
32
  "tslib": "2.8.1"
33
33
  },
34
34
  "peerDependencies": {
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./stencil-generated/components";
3
- import * as i2 from "./custom/value-accessors/post-card-control-checkbox-value-accessor";
4
- import * as i3 from "./custom/value-accessors/post-card-control-radio-value-accessor";
5
- export declare class PostComponentsModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<PostComponentsModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<PostComponentsModule, never, [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAvatar, typeof i1.PostBackToTop, typeof i1.PostBanner, typeof i1.PostBreadcrumbItem, typeof i1.PostBreadcrumbs, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostFooter, typeof i1.PostHeader, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostLanguageSwitch, typeof i1.PostLinkarea, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostMainnavigation, typeof i1.PostMegadropdown, typeof i1.PostMegadropdownTrigger, typeof i1.PostMenu, typeof i1.PostMenuItem, typeof i1.PostMenuTrigger, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTogglebutton, typeof i1.PostTooltip, typeof i1.PostTooltipTrigger, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective], [typeof i1.PostAccordion, typeof i1.PostAccordionItem, typeof i1.PostAvatar, typeof i1.PostBackToTop, typeof i1.PostBanner, typeof i1.PostBreadcrumbItem, typeof i1.PostBreadcrumbs, typeof i1.PostCardControl, typeof i1.PostClosebutton, typeof i1.PostCollapsible, typeof i1.PostCollapsibleTrigger, typeof i1.PostFooter, typeof i1.PostHeader, typeof i1.PostIcon, typeof i1.PostLanguageOption, typeof i1.PostLanguageSwitch, typeof i1.PostLinkarea, typeof i1.PostList, typeof i1.PostListItem, typeof i1.PostLogo, typeof i1.PostMainnavigation, typeof i1.PostMegadropdown, typeof i1.PostMegadropdownTrigger, typeof i1.PostMenu, typeof i1.PostMenuItem, typeof i1.PostMenuTrigger, typeof i1.PostPopover, typeof i1.PostPopovercontainer, typeof i1.PostRating, typeof i1.PostTabHeader, typeof i1.PostTabPanel, typeof i1.PostTabs, typeof i1.PostTogglebutton, typeof i1.PostTooltip, typeof i1.PostTooltipTrigger, typeof i2.PostCardControlCheckboxValueAccessorDirective, typeof i3.PostCardControlRadioValueAccessorDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<PostComponentsModule>;
9
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class PostCardControlCheckboxValueAccessorDirective implements ControlValueAccessor {
5
- protected el: ElementRef;
6
- private onChange;
7
- private onTouched;
8
- protected lastValue: unknown;
9
- constructor(el: ElementRef);
10
- writeValue(value: unknown): void;
11
- handleChangeEvent(value: unknown): void;
12
- _handleBlurEvent(): void;
13
- registerOnChange(fn: (value: unknown) => void): void;
14
- registerOnTouched(fn: () => void): void;
15
- setDisabledState(isDisabled: boolean): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControlCheckboxValueAccessorDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<PostCardControlCheckboxValueAccessorDirective, "post-card-control[type=\"checkbox\"]", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class PostCardControlRadioValueAccessorDirective implements ControlValueAccessor {
5
- protected el: ElementRef;
6
- private onChange;
7
- private onTouched;
8
- protected lastValue: unknown;
9
- constructor(el: ElementRef);
10
- writeValue(value: unknown): void;
11
- handleChangeEvent(value: unknown): void;
12
- _handleBlurEvent(): void;
13
- registerOnChange(fn: (value: unknown) => void): void;
14
- registerOnTouched(fn: () => void): void;
15
- setDisabledState(isDisabled: boolean): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PostCardControlRadioValueAccessorDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<PostCardControlRadioValueAccessorDirective, "post-card-control[type=\"radio\"]", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,9 +0,0 @@
1
- export declare const proxyInputs: (Cmp: any, inputs: string[]) => void;
2
- export declare const proxyMethods: (Cmp: any, methods: string[]) => void;
3
- export declare const proxyOutputs: (instance: any, el: any, events: string[]) => void;
4
- export declare const defineCustomElement: (tagName: string, customElement: any) => void;
5
- export declare function ProxyCmp(opts: {
6
- defineCustomElementFn?: () => void;
7
- inputs?: any;
8
- methods?: any;
9
- }): (cls: any) => any;