@swisspost/design-system-components-angular 9.0.0-next.2 → 9.0.0-next.3
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/esm2022/lib/components.module.mjs +6 -6
- package/esm2022/lib/custom/value-accessors/post-card-control-checkbox-value-accessor.mjs +3 -3
- package/esm2022/lib/custom/value-accessors/post-card-control-radio-value-accessor.mjs +3 -3
- package/esm2022/lib/stencil-generated/components.mjs +101 -49
- package/esm2022/lib/stencil-generated/index.mjs +3 -1
- package/fesm2022/swisspost-design-system-components-angular.mjs +112 -60
- package/fesm2022/swisspost-design-system-components-angular.mjs.map +1 -1
- package/lib/components.module.d.ts +1 -1
- package/lib/stencil-generated/components.d.ts +22 -0
- package/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -69,8 +69,8 @@ let PostAccordion = class PostAccordion {
|
|
|
69
69
|
c.detach();
|
|
70
70
|
this.el = r.nativeElement;
|
|
71
71
|
}
|
|
72
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostAccordion, selector: "post-accordion", inputs: { headingLevel: "headingLevel", multiple: "multiple" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
74
74
|
};
|
|
75
75
|
PostAccordion = __decorate([
|
|
76
76
|
ProxyCmp({
|
|
@@ -78,7 +78,7 @@ PostAccordion = __decorate([
|
|
|
78
78
|
methods: ['toggle', 'expandAll', 'collapseAll']
|
|
79
79
|
})
|
|
80
80
|
], PostAccordion);
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAccordion, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{
|
|
84
84
|
selector: 'post-accordion',
|
|
@@ -94,8 +94,8 @@ let PostAccordionItem = class PostAccordionItem {
|
|
|
94
94
|
c.detach();
|
|
95
95
|
this.el = r.nativeElement;
|
|
96
96
|
}
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAccordionItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostAccordionItem, selector: "post-accordion-item", inputs: { collapsed: "collapsed", headingLevel: "headingLevel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
99
99
|
};
|
|
100
100
|
PostAccordionItem = __decorate([
|
|
101
101
|
ProxyCmp({
|
|
@@ -103,7 +103,7 @@ PostAccordionItem = __decorate([
|
|
|
103
103
|
methods: ['toggle']
|
|
104
104
|
})
|
|
105
105
|
], PostAccordionItem);
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAccordionItem, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{
|
|
109
109
|
selector: 'post-accordion-item',
|
|
@@ -120,8 +120,8 @@ let PostAlert = class PostAlert {
|
|
|
120
120
|
this.el = r.nativeElement;
|
|
121
121
|
proxyOutputs(this, this.el, ['postDismissed']);
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAlert, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostAlert, selector: "post-alert", inputs: { dismissLabel: "dismissLabel", dismissible: "dismissible", fixed: "fixed", icon: "icon", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
125
125
|
};
|
|
126
126
|
PostAlert = __decorate([
|
|
127
127
|
ProxyCmp({
|
|
@@ -129,7 +129,7 @@ PostAlert = __decorate([
|
|
|
129
129
|
methods: ['dismiss']
|
|
130
130
|
})
|
|
131
131
|
], PostAlert);
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAlert, decorators: [{
|
|
133
133
|
type: Component,
|
|
134
134
|
args: [{
|
|
135
135
|
selector: 'post-alert',
|
|
@@ -139,6 +139,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImpor
|
|
|
139
139
|
inputs: ['dismissLabel', 'dismissible', 'fixed', 'icon', 'type'],
|
|
140
140
|
}]
|
|
141
141
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
142
|
+
let PostAvatar = class PostAvatar {
|
|
143
|
+
constructor(c, r, z) {
|
|
144
|
+
this.z = z;
|
|
145
|
+
c.detach();
|
|
146
|
+
this.el = r.nativeElement;
|
|
147
|
+
}
|
|
148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
149
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostAvatar, selector: "post-avatar", inputs: { email: "email", firstname: "firstname", lastname: "lastname", userid: "userid" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
150
|
+
};
|
|
151
|
+
PostAvatar = __decorate([
|
|
152
|
+
ProxyCmp({
|
|
153
|
+
inputs: ['email', 'firstname', 'lastname', 'userid']
|
|
154
|
+
})
|
|
155
|
+
], PostAvatar);
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostAvatar, decorators: [{
|
|
157
|
+
type: Component,
|
|
158
|
+
args: [{
|
|
159
|
+
selector: 'post-avatar',
|
|
160
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
161
|
+
template: '<ng-content></ng-content>',
|
|
162
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
163
|
+
inputs: ['email', 'firstname', 'lastname', 'userid'],
|
|
164
|
+
}]
|
|
165
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
142
166
|
let PostCardControl = class PostCardControl {
|
|
143
167
|
constructor(c, r, z) {
|
|
144
168
|
this.z = z;
|
|
@@ -146,8 +170,8 @@ let PostCardControl = class PostCardControl {
|
|
|
146
170
|
this.el = r.nativeElement;
|
|
147
171
|
proxyOutputs(this, this.el, ['postInput', 'postChange']);
|
|
148
172
|
}
|
|
149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
150
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControl, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostCardControl, selector: "post-card-control", inputs: { checked: "checked", description: "description", disabled: "disabled", icon: "icon", label: "label", name: "name", type: "type", validity: "validity", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
151
175
|
};
|
|
152
176
|
PostCardControl = __decorate([
|
|
153
177
|
ProxyCmp({
|
|
@@ -155,7 +179,7 @@ PostCardControl = __decorate([
|
|
|
155
179
|
methods: ['reset', 'groupReset']
|
|
156
180
|
})
|
|
157
181
|
], PostCardControl);
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControl, decorators: [{
|
|
159
183
|
type: Component,
|
|
160
184
|
args: [{
|
|
161
185
|
selector: 'post-card-control',
|
|
@@ -172,8 +196,8 @@ let PostCollapsible = class PostCollapsible {
|
|
|
172
196
|
this.el = r.nativeElement;
|
|
173
197
|
proxyOutputs(this, this.el, ['postToggle']);
|
|
174
198
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCollapsible, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
200
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostCollapsible, selector: "post-collapsible", inputs: { collapsed: "collapsed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
177
201
|
};
|
|
178
202
|
PostCollapsible = __decorate([
|
|
179
203
|
ProxyCmp({
|
|
@@ -181,7 +205,7 @@ PostCollapsible = __decorate([
|
|
|
181
205
|
methods: ['toggle']
|
|
182
206
|
})
|
|
183
207
|
], PostCollapsible);
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCollapsible, decorators: [{
|
|
185
209
|
type: Component,
|
|
186
210
|
args: [{
|
|
187
211
|
selector: 'post-collapsible',
|
|
@@ -197,8 +221,8 @@ let PostCollapsibleTrigger = class PostCollapsibleTrigger {
|
|
|
197
221
|
c.detach();
|
|
198
222
|
this.el = r.nativeElement;
|
|
199
223
|
}
|
|
200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
201
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCollapsibleTrigger, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostCollapsibleTrigger, selector: "post-collapsible-trigger", inputs: { for: "for" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
202
226
|
};
|
|
203
227
|
PostCollapsibleTrigger = __decorate([
|
|
204
228
|
ProxyCmp({
|
|
@@ -206,7 +230,7 @@ PostCollapsibleTrigger = __decorate([
|
|
|
206
230
|
methods: ['update']
|
|
207
231
|
})
|
|
208
232
|
], PostCollapsibleTrigger);
|
|
209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCollapsibleTrigger, decorators: [{
|
|
210
234
|
type: Component,
|
|
211
235
|
args: [{
|
|
212
236
|
selector: 'post-collapsible-trigger',
|
|
@@ -222,15 +246,15 @@ let PostIcon = class PostIcon {
|
|
|
222
246
|
c.detach();
|
|
223
247
|
this.el = r.nativeElement;
|
|
224
248
|
}
|
|
225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
226
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
250
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostIcon, selector: "post-icon", inputs: { animation: "animation", base: "base", flipH: "flipH", flipV: "flipV", name: "name", rotate: "rotate", scale: "scale" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
227
251
|
};
|
|
228
252
|
PostIcon = __decorate([
|
|
229
253
|
ProxyCmp({
|
|
230
254
|
inputs: ['animation', 'base', 'flipH', 'flipV', 'name', 'rotate', 'scale']
|
|
231
255
|
})
|
|
232
256
|
], PostIcon);
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostIcon, decorators: [{
|
|
234
258
|
type: Component,
|
|
235
259
|
args: [{
|
|
236
260
|
selector: 'post-icon',
|
|
@@ -240,21 +264,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImpor
|
|
|
240
264
|
inputs: ['animation', 'base', 'flipH', 'flipV', 'name', 'rotate', 'scale'],
|
|
241
265
|
}]
|
|
242
266
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
267
|
+
let PostLanguageOption = class PostLanguageOption {
|
|
268
|
+
constructor(c, r, z) {
|
|
269
|
+
this.z = z;
|
|
270
|
+
c.detach();
|
|
271
|
+
this.el = r.nativeElement;
|
|
272
|
+
proxyOutputs(this, this.el, ['postChange']);
|
|
273
|
+
}
|
|
274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostLanguageOption, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
275
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostLanguageOption, selector: "post-language-option", inputs: { active: "active", code: "code", name: "name", url: "url" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
276
|
+
};
|
|
277
|
+
PostLanguageOption = __decorate([
|
|
278
|
+
ProxyCmp({
|
|
279
|
+
inputs: ['active', 'code', 'name', 'url'],
|
|
280
|
+
methods: ['select']
|
|
281
|
+
})
|
|
282
|
+
], PostLanguageOption);
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostLanguageOption, decorators: [{
|
|
284
|
+
type: Component,
|
|
285
|
+
args: [{
|
|
286
|
+
selector: 'post-language-option',
|
|
287
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
288
|
+
template: '<ng-content></ng-content>',
|
|
289
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
290
|
+
inputs: ['active', 'code', 'name', 'url'],
|
|
291
|
+
}]
|
|
292
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
243
293
|
let PostLogo = class PostLogo {
|
|
244
294
|
constructor(c, r, z) {
|
|
245
295
|
this.z = z;
|
|
246
296
|
c.detach();
|
|
247
297
|
this.el = r.nativeElement;
|
|
248
298
|
}
|
|
249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
250
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostLogo, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostLogo, selector: "post-logo", inputs: { url: "url" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
251
301
|
};
|
|
252
302
|
PostLogo = __decorate([
|
|
253
303
|
ProxyCmp({
|
|
254
304
|
inputs: ['url']
|
|
255
305
|
})
|
|
256
306
|
], PostLogo);
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostLogo, decorators: [{
|
|
258
308
|
type: Component,
|
|
259
309
|
args: [{
|
|
260
310
|
selector: 'post-logo',
|
|
@@ -270,8 +320,8 @@ let PostPopover = class PostPopover {
|
|
|
270
320
|
c.detach();
|
|
271
321
|
this.el = r.nativeElement;
|
|
272
322
|
}
|
|
273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
274
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
324
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostPopover, selector: "post-popover", inputs: { arrow: "arrow", closeButtonCaption: "closeButtonCaption", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
275
325
|
};
|
|
276
326
|
PostPopover = __decorate([
|
|
277
327
|
ProxyCmp({
|
|
@@ -279,7 +329,7 @@ PostPopover = __decorate([
|
|
|
279
329
|
methods: ['show', 'hide', 'toggle']
|
|
280
330
|
})
|
|
281
331
|
], PostPopover);
|
|
282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostPopover, decorators: [{
|
|
283
333
|
type: Component,
|
|
284
334
|
args: [{
|
|
285
335
|
selector: 'post-popover',
|
|
@@ -296,8 +346,8 @@ let PostPopovercontainer = class PostPopovercontainer {
|
|
|
296
346
|
this.el = r.nativeElement;
|
|
297
347
|
proxyOutputs(this, this.el, ['postToggle']);
|
|
298
348
|
}
|
|
299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
300
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
349
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostPopovercontainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
350
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostPopovercontainer, selector: "post-popovercontainer", inputs: { arrow: "arrow", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
301
351
|
};
|
|
302
352
|
PostPopovercontainer = __decorate([
|
|
303
353
|
ProxyCmp({
|
|
@@ -305,7 +355,7 @@ PostPopovercontainer = __decorate([
|
|
|
305
355
|
methods: ['show', 'hide', 'toggle']
|
|
306
356
|
})
|
|
307
357
|
], PostPopovercontainer);
|
|
308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostPopovercontainer, decorators: [{
|
|
309
359
|
type: Component,
|
|
310
360
|
args: [{
|
|
311
361
|
selector: 'post-popovercontainer',
|
|
@@ -322,15 +372,15 @@ let PostRating = class PostRating {
|
|
|
322
372
|
this.el = r.nativeElement;
|
|
323
373
|
proxyOutputs(this, this.el, ['postInput', 'postChange']);
|
|
324
374
|
}
|
|
325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
326
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
375
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostRating, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
376
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostRating, selector: "post-rating", inputs: { currentRating: "currentRating", label: "label", readonly: "readonly", stars: "stars" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
327
377
|
};
|
|
328
378
|
PostRating = __decorate([
|
|
329
379
|
ProxyCmp({
|
|
330
380
|
inputs: ['currentRating', 'label', 'readonly', 'stars']
|
|
331
381
|
})
|
|
332
382
|
], PostRating);
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostRating, decorators: [{
|
|
334
384
|
type: Component,
|
|
335
385
|
args: [{
|
|
336
386
|
selector: 'post-rating',
|
|
@@ -346,15 +396,15 @@ let PostTabHeader = class PostTabHeader {
|
|
|
346
396
|
c.detach();
|
|
347
397
|
this.el = r.nativeElement;
|
|
348
398
|
}
|
|
349
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
350
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
400
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostTabHeader, selector: "post-tab-header", inputs: { panel: "panel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
351
401
|
};
|
|
352
402
|
PostTabHeader = __decorate([
|
|
353
403
|
ProxyCmp({
|
|
354
404
|
inputs: ['panel']
|
|
355
405
|
})
|
|
356
406
|
], PostTabHeader);
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabHeader, decorators: [{
|
|
358
408
|
type: Component,
|
|
359
409
|
args: [{
|
|
360
410
|
selector: 'post-tab-header',
|
|
@@ -370,15 +420,15 @@ let PostTabPanel = class PostTabPanel {
|
|
|
370
420
|
c.detach();
|
|
371
421
|
this.el = r.nativeElement;
|
|
372
422
|
}
|
|
373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
374
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
424
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostTabPanel, selector: "post-tab-panel", inputs: { name: "name" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
375
425
|
};
|
|
376
426
|
PostTabPanel = __decorate([
|
|
377
427
|
ProxyCmp({
|
|
378
428
|
inputs: ['name']
|
|
379
429
|
})
|
|
380
430
|
], PostTabPanel);
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabPanel, decorators: [{
|
|
382
432
|
type: Component,
|
|
383
433
|
args: [{
|
|
384
434
|
selector: 'post-tab-panel',
|
|
@@ -395,8 +445,8 @@ let PostTabs = class PostTabs {
|
|
|
395
445
|
this.el = r.nativeElement;
|
|
396
446
|
proxyOutputs(this, this.el, ['postChange']);
|
|
397
447
|
}
|
|
398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
399
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabs, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
449
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostTabs, selector: "post-tabs", inputs: { activePanel: "activePanel" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
400
450
|
};
|
|
401
451
|
PostTabs = __decorate([
|
|
402
452
|
ProxyCmp({
|
|
@@ -404,7 +454,7 @@ PostTabs = __decorate([
|
|
|
404
454
|
methods: ['show']
|
|
405
455
|
})
|
|
406
456
|
], PostTabs);
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTabs, decorators: [{
|
|
408
458
|
type: Component,
|
|
409
459
|
args: [{
|
|
410
460
|
selector: 'post-tabs',
|
|
@@ -420,15 +470,15 @@ let PostTag = class PostTag {
|
|
|
420
470
|
c.detach();
|
|
421
471
|
this.el = r.nativeElement;
|
|
422
472
|
}
|
|
423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
424
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
474
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostTag, selector: "post-tag", inputs: { icon: "icon", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
425
475
|
};
|
|
426
476
|
PostTag = __decorate([
|
|
427
477
|
ProxyCmp({
|
|
428
478
|
inputs: ['icon', 'size', 'variant']
|
|
429
479
|
})
|
|
430
480
|
], PostTag);
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTag, decorators: [{
|
|
432
482
|
type: Component,
|
|
433
483
|
args: [{
|
|
434
484
|
selector: 'post-tag',
|
|
@@ -444,8 +494,8 @@ let PostTooltip = class PostTooltip {
|
|
|
444
494
|
c.detach();
|
|
445
495
|
this.el = r.nativeElement;
|
|
446
496
|
}
|
|
447
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
448
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
498
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: PostTooltip, selector: "post-tooltip", inputs: { arrow: "arrow", delayed: "delayed", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
449
499
|
};
|
|
450
500
|
PostTooltip = __decorate([
|
|
451
501
|
ProxyCmp({
|
|
@@ -453,7 +503,7 @@ PostTooltip = __decorate([
|
|
|
453
503
|
methods: ['show', 'hide', 'toggle']
|
|
454
504
|
})
|
|
455
505
|
], PostTooltip);
|
|
456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostTooltip, decorators: [{
|
|
457
507
|
type: Component,
|
|
458
508
|
args: [{
|
|
459
509
|
selector: 'post-tooltip',
|
|
@@ -468,10 +518,12 @@ const DIRECTIVES = [
|
|
|
468
518
|
PostAccordion,
|
|
469
519
|
PostAccordionItem,
|
|
470
520
|
PostAlert,
|
|
521
|
+
PostAvatar,
|
|
471
522
|
PostCardControl,
|
|
472
523
|
PostCollapsible,
|
|
473
524
|
PostCollapsibleTrigger,
|
|
474
525
|
PostIcon,
|
|
526
|
+
PostLanguageOption,
|
|
475
527
|
PostLogo,
|
|
476
528
|
PostPopover,
|
|
477
529
|
PostPopovercontainer,
|
|
@@ -511,8 +563,8 @@ class PostCardControlCheckboxValueAccessorDirective {
|
|
|
511
563
|
setDisabledState(isDisabled) {
|
|
512
564
|
this.el.nativeElement.disabled = isDisabled;
|
|
513
565
|
}
|
|
514
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
515
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
566
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControlCheckboxValueAccessorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
567
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: PostCardControlCheckboxValueAccessorDirective, selector: "post-card-control[type=\"checkbox\"]", host: { listeners: { "postChange": "handleChangeEvent($event.detail.state)", "focusout": "_handleBlurEvent()" } }, providers: [
|
|
516
568
|
{
|
|
517
569
|
provide: NG_VALUE_ACCESSOR,
|
|
518
570
|
useExisting: PostCardControlCheckboxValueAccessorDirective,
|
|
@@ -520,7 +572,7 @@ class PostCardControlCheckboxValueAccessorDirective {
|
|
|
520
572
|
},
|
|
521
573
|
], ngImport: i0 }); }
|
|
522
574
|
}
|
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControlCheckboxValueAccessorDirective, decorators: [{
|
|
524
576
|
type: Directive,
|
|
525
577
|
args: [{
|
|
526
578
|
/* eslint-disable-next-line @angular-eslint/directive-selector */
|
|
@@ -570,8 +622,8 @@ class PostCardControlRadioValueAccessorDirective {
|
|
|
570
622
|
setDisabledState(isDisabled) {
|
|
571
623
|
this.el.nativeElement.disabled = isDisabled;
|
|
572
624
|
}
|
|
573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
574
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControlRadioValueAccessorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
626
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.9", type: PostCardControlRadioValueAccessorDirective, selector: "post-card-control[type=\"radio\"]", host: { listeners: { "postChange": "handleChangeEvent($event.detail.value)", "focusout": "_handleBlurEvent()" } }, providers: [
|
|
575
627
|
{
|
|
576
628
|
provide: NG_VALUE_ACCESSOR,
|
|
577
629
|
useExisting: PostCardControlRadioValueAccessorDirective,
|
|
@@ -579,7 +631,7 @@ class PostCardControlRadioValueAccessorDirective {
|
|
|
579
631
|
},
|
|
580
632
|
], ngImport: i0 }); }
|
|
581
633
|
}
|
|
582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostCardControlRadioValueAccessorDirective, decorators: [{
|
|
583
635
|
type: Directive,
|
|
584
636
|
args: [{
|
|
585
637
|
/* eslint-disable-next-line @angular-eslint/directive-selector */
|
|
@@ -606,11 +658,11 @@ const DECLARATIONS = [
|
|
|
606
658
|
PostCardControlRadioValueAccessorDirective,
|
|
607
659
|
];
|
|
608
660
|
class PostComponentsModule {
|
|
609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
610
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
611
|
-
PostCardControlRadioValueAccessorDirective], exports: [PostAccordion, PostAccordionItem, PostAlert, PostCardControl, PostCollapsible, PostCollapsibleTrigger, PostIcon, PostLogo, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTag, PostTooltip, PostCardControlCheckboxValueAccessorDirective,
|
|
661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
662
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.9", ngImport: i0, type: PostComponentsModule, declarations: [PostAccordion, PostAccordionItem, PostAlert, PostAvatar, PostCardControl, PostCollapsible, PostCollapsibleTrigger, PostIcon, PostLanguageOption, PostLogo, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTag, PostTooltip, PostCardControlCheckboxValueAccessorDirective,
|
|
663
|
+
PostCardControlRadioValueAccessorDirective], exports: [PostAccordion, PostAccordionItem, PostAlert, PostAvatar, PostCardControl, PostCollapsible, PostCollapsibleTrigger, PostIcon, PostLanguageOption, PostLogo, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTag, PostTooltip, PostCardControlCheckboxValueAccessorDirective,
|
|
612
664
|
PostCardControlRadioValueAccessorDirective] }); }
|
|
613
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
665
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostComponentsModule, providers: [
|
|
614
666
|
{
|
|
615
667
|
// Use ENVIRONMENT_INITIALIZER to be compatible with lazy-loaded modules
|
|
616
668
|
provide: ENVIRONMENT_INITIALIZER,
|
|
@@ -629,7 +681,7 @@ class PostComponentsModule {
|
|
|
629
681
|
},
|
|
630
682
|
] }); }
|
|
631
683
|
}
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: PostComponentsModule, decorators: [{
|
|
633
685
|
type: NgModule,
|
|
634
686
|
args: [{
|
|
635
687
|
declarations: DECLARATIONS,
|
|
@@ -663,5 +715,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImpor
|
|
|
663
715
|
* Generated bundle index. Do not edit.
|
|
664
716
|
*/
|
|
665
717
|
|
|
666
|
-
export { DIRECTIVES, PostAccordion, PostAccordionItem, PostAlert, PostCardControl, PostCardControlCheckboxValueAccessorDirective, PostCardControlRadioValueAccessorDirective, PostCollapsible, PostCollapsibleTrigger, PostComponentsModule, PostIcon, PostLogo, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTag, PostTooltip };
|
|
718
|
+
export { DIRECTIVES, PostAccordion, PostAccordionItem, PostAlert, PostAvatar, PostCardControl, PostCardControlCheckboxValueAccessorDirective, PostCardControlRadioValueAccessorDirective, PostCollapsible, PostCollapsibleTrigger, PostComponentsModule, PostIcon, PostLanguageOption, PostLogo, PostPopover, PostPopovercontainer, PostRating, PostTabHeader, PostTabPanel, PostTabs, PostTag, PostTooltip };
|
|
667
719
|
//# sourceMappingURL=swisspost-design-system-components-angular.mjs.map
|