@payex-ds/angular 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -2
- package/esm2022/generated/all.mjs +7 -0
- package/esm2022/generated/components.mjs +2175 -0
- package/esm2022/generated/value-accessor.mjs +37 -0
- package/esm2022/index.mjs +8 -0
- package/esm2022/lib/component-base.mjs +34 -0
- package/esm2022/lib/provide-design-system.mjs +15 -0
- package/esm2022/lib/value-accessor.mjs +45 -0
- package/esm2022/payex-ds-angular.mjs +5 -0
- package/fesm2022/payex-ds-angular.mjs +2311 -0
- package/fesm2022/payex-ds-angular.mjs.map +1 -0
- package/generated/all.d.ts +3 -0
- package/generated/components.d.ts +711 -0
- package/generated/value-accessor.d.ts +10 -0
- package/index.d.ts +7 -0
- package/lib/component-base.d.ts +12 -0
- package/lib/provide-design-system.d.ts +10 -0
- package/lib/value-accessor.d.ts +21 -0
- package/package.json +29 -3
|
@@ -0,0 +1,2311 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, ElementRef, NgZone, DestroyRef, EventEmitter, booleanAttribute, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, numberAttribute, forwardRef, Directive, makeEnvironmentProviders, APP_INITIALIZER } from '@angular/core';
|
|
3
|
+
import { definePdsAccordion, definePdsAccordionItem, definePdsAlert, definePdsBadge, definePdsBreadcrumb, definePdsBreadcrumbItem, definePdsButton, definePdsCard, definePdsCheckbox, definePdsDatepicker, definePdsDialog, definePdsDropdown, definePdsDropdownItem, definePdsExpandable, definePdsInput, definePdsLink, definePdsList, defineAll, definePdsLoader, definePdsMediaObject, definePdsPagination, definePdsPanel, definePdsProgressStep, definePdsProgressSteps, definePdsRadio, definePdsRadioGroup, definePdsRangeslider, definePdsSelect, definePdsSheet, definePdsSidebar, definePdsSidebarGroup, definePdsSidebarItem, definePdsSkipLink, definePdsSlab, definePdsStatus, definePdsTab, definePdsTabPanel, definePdsTable, definePdsTabs, definePdsTag, definePdsToast, definePdsTogglebox, definePdsTooltip, definePdsTopbar, ds } from '@payex-ds/core';
|
|
4
|
+
export { ds } from '@payex-ds/core';
|
|
5
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
|
+
|
|
7
|
+
/** Shared plumbing for generated components; the component itself IS the custom element host. */
|
|
8
|
+
class PdsComponentBase {
|
|
9
|
+
/** Defines the element and upgrades the host before Angular assigns inputs. */
|
|
10
|
+
constructor(define) {
|
|
11
|
+
this.pdsHost = inject(ElementRef).nativeElement;
|
|
12
|
+
this.pdsZone = inject(NgZone);
|
|
13
|
+
this.pdsDestroyRef = inject(DestroyRef);
|
|
14
|
+
define();
|
|
15
|
+
if (typeof customElements !== 'undefined')
|
|
16
|
+
customElements.upgrade(this.pdsHost);
|
|
17
|
+
}
|
|
18
|
+
pdsSetProperty(name, value) {
|
|
19
|
+
this.pdsZone.runOutsideAngular(() => {
|
|
20
|
+
this.pdsHost[name] = value;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
pdsSetAttribute(name, value) {
|
|
24
|
+
this.pdsZone.runOutsideAngular(() => {
|
|
25
|
+
if (value === null || value === undefined || value === false)
|
|
26
|
+
this.pdsHost.removeAttribute(name);
|
|
27
|
+
else
|
|
28
|
+
this.pdsHost.setAttribute(name, value === true ? '' : String(value));
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
pdsForward(eventName, emitter) {
|
|
32
|
+
const listener = (event) => {
|
|
33
|
+
this.pdsZone.run(() => emitter.emit(event));
|
|
34
|
+
};
|
|
35
|
+
this.pdsZone.runOutsideAngular(() => this.pdsHost.addEventListener(eventName, listener));
|
|
36
|
+
this.pdsDestroyRef.onDestroy(() => this.pdsHost.removeEventListener(eventName, listener));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// AUTO-GENERATED by @payex-ds/wrapper-gen from the @payex-ds/core Custom Elements Manifest.
|
|
41
|
+
// Do not edit by hand. Regenerate with `pnpm generate:wrappers`.
|
|
42
|
+
/** Accordion groups pds-accordion-item sections. */
|
|
43
|
+
class PdsAccordionComponent extends PdsComponentBase {
|
|
44
|
+
set multiple(value) {
|
|
45
|
+
this.pdsSetProperty('multiple', value);
|
|
46
|
+
}
|
|
47
|
+
constructor() {
|
|
48
|
+
super(definePdsAccordion);
|
|
49
|
+
/** Bubbles from the item the user toggled. Detail: `{ open }`. */
|
|
50
|
+
this.pdsToggle = new EventEmitter();
|
|
51
|
+
this.pdsForward('pds-toggle', this.pdsToggle);
|
|
52
|
+
}
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsAccordionComponent, isStandalone: true, selector: "pds-accordion", inputs: { multiple: ["multiple", "multiple", booleanAttribute] }, outputs: { pdsToggle: "pdsToggle" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAccordionComponent, decorators: [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: 'pds-accordion',
|
|
60
|
+
standalone: true,
|
|
61
|
+
template: '<ng-content></ng-content>',
|
|
62
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
63
|
+
encapsulation: ViewEncapsulation.None,
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: () => [], propDecorators: { multiple: [{
|
|
66
|
+
type: Input,
|
|
67
|
+
args: [{ transform: booleanAttribute }]
|
|
68
|
+
}], pdsToggle: [{
|
|
69
|
+
type: Output
|
|
70
|
+
}] } });
|
|
71
|
+
/** Accordion item with a heading button and a content region. */
|
|
72
|
+
class PdsAccordionItemComponent extends PdsComponentBase {
|
|
73
|
+
set disabled(value) {
|
|
74
|
+
this.pdsSetProperty('disabled', value);
|
|
75
|
+
}
|
|
76
|
+
set heading(value) {
|
|
77
|
+
this.pdsSetProperty('heading', value);
|
|
78
|
+
}
|
|
79
|
+
set headingLevel(value) {
|
|
80
|
+
this.pdsSetProperty('headingLevel', value);
|
|
81
|
+
}
|
|
82
|
+
set open(value) {
|
|
83
|
+
this.pdsSetProperty('open', value);
|
|
84
|
+
}
|
|
85
|
+
constructor() {
|
|
86
|
+
super(definePdsAccordionItem);
|
|
87
|
+
/** Fired when the user toggles the item. Detail: `{ open }`. */
|
|
88
|
+
this.pdsToggle = new EventEmitter();
|
|
89
|
+
this.pdsForward('pds-toggle', this.pdsToggle);
|
|
90
|
+
}
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
92
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsAccordionItemComponent, isStandalone: true, selector: "pds-accordion-item", inputs: { disabled: ["disabled", "disabled", booleanAttribute], heading: "heading", headingLevel: ["headingLevel", "headingLevel", numberAttribute], open: ["open", "open", booleanAttribute] }, outputs: { pdsToggle: "pdsToggle" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
93
|
+
}
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAccordionItemComponent, decorators: [{
|
|
95
|
+
type: Component,
|
|
96
|
+
args: [{
|
|
97
|
+
selector: 'pds-accordion-item',
|
|
98
|
+
standalone: true,
|
|
99
|
+
template: '<ng-content></ng-content>',
|
|
100
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
101
|
+
encapsulation: ViewEncapsulation.None,
|
|
102
|
+
}]
|
|
103
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
104
|
+
type: Input,
|
|
105
|
+
args: [{ transform: booleanAttribute }]
|
|
106
|
+
}], heading: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], headingLevel: [{
|
|
109
|
+
type: Input,
|
|
110
|
+
args: [{ transform: numberAttribute }]
|
|
111
|
+
}], open: [{
|
|
112
|
+
type: Input,
|
|
113
|
+
args: [{ transform: booleanAttribute }]
|
|
114
|
+
}], pdsToggle: [{
|
|
115
|
+
type: Output
|
|
116
|
+
}] } });
|
|
117
|
+
/** Alerts communicate important, contextual messages. */
|
|
118
|
+
class PdsAlertComponent extends PdsComponentBase {
|
|
119
|
+
set dismissible(value) {
|
|
120
|
+
this.pdsSetProperty('dismissible', value);
|
|
121
|
+
}
|
|
122
|
+
set heading(value) {
|
|
123
|
+
this.pdsSetProperty('heading', value);
|
|
124
|
+
}
|
|
125
|
+
set variant(value) {
|
|
126
|
+
this.pdsSetProperty('variant', value);
|
|
127
|
+
}
|
|
128
|
+
/** Accessible label of the close button. Default `Dismiss`. */
|
|
129
|
+
set closeLabel(value) {
|
|
130
|
+
this.pdsSetAttribute('close-label', value);
|
|
131
|
+
}
|
|
132
|
+
constructor() {
|
|
133
|
+
super(definePdsAlert);
|
|
134
|
+
/** Fired when the close button is used (cancelable). The alert hides itself unless cancelled. */
|
|
135
|
+
this.pdsDismiss = new EventEmitter();
|
|
136
|
+
this.pdsForward('pds-dismiss', this.pdsDismiss);
|
|
137
|
+
}
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsAlertComponent, isStandalone: true, selector: "pds-alert", inputs: { dismissible: ["dismissible", "dismissible", booleanAttribute], heading: "heading", variant: "variant", closeLabel: ["close-label", "closeLabel"] }, outputs: { pdsDismiss: "pdsDismiss" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
140
|
+
}
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsAlertComponent, decorators: [{
|
|
142
|
+
type: Component,
|
|
143
|
+
args: [{
|
|
144
|
+
selector: 'pds-alert',
|
|
145
|
+
standalone: true,
|
|
146
|
+
template: '<ng-content></ng-content>',
|
|
147
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
148
|
+
encapsulation: ViewEncapsulation.None,
|
|
149
|
+
}]
|
|
150
|
+
}], ctorParameters: () => [], propDecorators: { dismissible: [{
|
|
151
|
+
type: Input,
|
|
152
|
+
args: [{ transform: booleanAttribute }]
|
|
153
|
+
}], heading: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], variant: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], closeLabel: [{
|
|
158
|
+
type: Input,
|
|
159
|
+
args: ['close-label']
|
|
160
|
+
}], pdsDismiss: [{
|
|
161
|
+
type: Output
|
|
162
|
+
}] } });
|
|
163
|
+
/** Badges highlight a count or short status label. */
|
|
164
|
+
class PdsBadgeComponent extends PdsComponentBase {
|
|
165
|
+
set count(value) {
|
|
166
|
+
this.pdsSetProperty('count', value);
|
|
167
|
+
}
|
|
168
|
+
set dot(value) {
|
|
169
|
+
this.pdsSetProperty('dot', value);
|
|
170
|
+
}
|
|
171
|
+
set max(value) {
|
|
172
|
+
this.pdsSetProperty('max', value);
|
|
173
|
+
}
|
|
174
|
+
set variant(value) {
|
|
175
|
+
this.pdsSetProperty('variant', value);
|
|
176
|
+
}
|
|
177
|
+
/** Accessible name announced instead of the visible text. */
|
|
178
|
+
set ariaLabel(value) {
|
|
179
|
+
this.pdsSetAttribute('aria-label', value);
|
|
180
|
+
}
|
|
181
|
+
constructor() {
|
|
182
|
+
super(definePdsBadge);
|
|
183
|
+
}
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
185
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsBadgeComponent, isStandalone: true, selector: "pds-badge", inputs: { count: "count", dot: ["dot", "dot", booleanAttribute], max: ["max", "max", numberAttribute], variant: "variant", ariaLabel: ["aria-label", "ariaLabel"] }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
186
|
+
}
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBadgeComponent, decorators: [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{
|
|
190
|
+
selector: 'pds-badge',
|
|
191
|
+
standalone: true,
|
|
192
|
+
template: '<ng-content></ng-content>',
|
|
193
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
194
|
+
encapsulation: ViewEncapsulation.None,
|
|
195
|
+
}]
|
|
196
|
+
}], ctorParameters: () => [], propDecorators: { count: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], dot: [{
|
|
199
|
+
type: Input,
|
|
200
|
+
args: [{ transform: booleanAttribute }]
|
|
201
|
+
}], max: [{
|
|
202
|
+
type: Input,
|
|
203
|
+
args: [{ transform: numberAttribute }]
|
|
204
|
+
}], variant: [{
|
|
205
|
+
type: Input
|
|
206
|
+
}], ariaLabel: [{
|
|
207
|
+
type: Input,
|
|
208
|
+
args: ['aria-label']
|
|
209
|
+
}] } });
|
|
210
|
+
/** Shows the user's location in a hierarchy. */
|
|
211
|
+
class PdsBreadcrumbComponent extends PdsComponentBase {
|
|
212
|
+
set expandLabel(value) {
|
|
213
|
+
this.pdsSetProperty('expandLabel', value);
|
|
214
|
+
}
|
|
215
|
+
set label(value) {
|
|
216
|
+
this.pdsSetProperty('label', value);
|
|
217
|
+
}
|
|
218
|
+
set maxItems(value) {
|
|
219
|
+
this.pdsSetProperty('maxItems', value);
|
|
220
|
+
}
|
|
221
|
+
constructor() {
|
|
222
|
+
super(definePdsBreadcrumb);
|
|
223
|
+
/** Fired when the collapsed items are revealed. */
|
|
224
|
+
this.pdsExpand = new EventEmitter();
|
|
225
|
+
this.pdsForward('pds-expand', this.pdsExpand);
|
|
226
|
+
}
|
|
227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsBreadcrumbComponent, isStandalone: true, selector: "pds-breadcrumb", inputs: { expandLabel: "expandLabel", label: "label", maxItems: ["maxItems", "maxItems", numberAttribute] }, outputs: { pdsExpand: "pdsExpand" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
229
|
+
}
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBreadcrumbComponent, decorators: [{
|
|
231
|
+
type: Component,
|
|
232
|
+
args: [{
|
|
233
|
+
selector: 'pds-breadcrumb',
|
|
234
|
+
standalone: true,
|
|
235
|
+
template: '<ng-content></ng-content>',
|
|
236
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
237
|
+
encapsulation: ViewEncapsulation.None,
|
|
238
|
+
}]
|
|
239
|
+
}], ctorParameters: () => [], propDecorators: { expandLabel: [{
|
|
240
|
+
type: Input
|
|
241
|
+
}], label: [{
|
|
242
|
+
type: Input
|
|
243
|
+
}], maxItems: [{
|
|
244
|
+
type: Input,
|
|
245
|
+
args: [{ transform: numberAttribute }]
|
|
246
|
+
}], pdsExpand: [{
|
|
247
|
+
type: Output
|
|
248
|
+
}] } });
|
|
249
|
+
/** An item inside `pds-breadcrumb`. */
|
|
250
|
+
class PdsBreadcrumbItemComponent extends PdsComponentBase {
|
|
251
|
+
set current(value) {
|
|
252
|
+
this.pdsSetProperty('current', value);
|
|
253
|
+
}
|
|
254
|
+
set href(value) {
|
|
255
|
+
this.pdsSetProperty('href', value);
|
|
256
|
+
}
|
|
257
|
+
constructor() {
|
|
258
|
+
super(definePdsBreadcrumbItem);
|
|
259
|
+
}
|
|
260
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBreadcrumbItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
261
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsBreadcrumbItemComponent, isStandalone: true, selector: "pds-breadcrumb-item", inputs: { current: ["current", "current", booleanAttribute], href: "href" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
262
|
+
}
|
|
263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsBreadcrumbItemComponent, decorators: [{
|
|
264
|
+
type: Component,
|
|
265
|
+
args: [{
|
|
266
|
+
selector: 'pds-breadcrumb-item',
|
|
267
|
+
standalone: true,
|
|
268
|
+
template: '<ng-content></ng-content>',
|
|
269
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
270
|
+
encapsulation: ViewEncapsulation.None,
|
|
271
|
+
}]
|
|
272
|
+
}], ctorParameters: () => [], propDecorators: { current: [{
|
|
273
|
+
type: Input,
|
|
274
|
+
args: [{ transform: booleanAttribute }]
|
|
275
|
+
}], href: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}] } });
|
|
278
|
+
/** Buttons trigger actions or navigation. */
|
|
279
|
+
class PdsButtonComponent extends PdsComponentBase {
|
|
280
|
+
set disabled(value) {
|
|
281
|
+
this.pdsSetProperty('disabled', value);
|
|
282
|
+
}
|
|
283
|
+
set fullWidth(value) {
|
|
284
|
+
this.pdsSetProperty('fullWidth', value);
|
|
285
|
+
}
|
|
286
|
+
set href(value) {
|
|
287
|
+
this.pdsSetProperty('href', value);
|
|
288
|
+
}
|
|
289
|
+
set loading(value) {
|
|
290
|
+
this.pdsSetProperty('loading', value);
|
|
291
|
+
}
|
|
292
|
+
set size(value) {
|
|
293
|
+
this.pdsSetProperty('size', value);
|
|
294
|
+
}
|
|
295
|
+
set type(value) {
|
|
296
|
+
this.pdsSetProperty('type', value);
|
|
297
|
+
}
|
|
298
|
+
set variant(value) {
|
|
299
|
+
this.pdsSetProperty('variant', value);
|
|
300
|
+
}
|
|
301
|
+
/** Link target when `href` is set. */
|
|
302
|
+
set target(value) {
|
|
303
|
+
this.pdsSetAttribute('target', value);
|
|
304
|
+
}
|
|
305
|
+
constructor() {
|
|
306
|
+
super(definePdsButton);
|
|
307
|
+
/** Fired when activated (not fired while disabled/loading). Detail: `{ originalEvent }`. */
|
|
308
|
+
this.pdsClick = new EventEmitter();
|
|
309
|
+
this.pdsForward('pds-click', this.pdsClick);
|
|
310
|
+
}
|
|
311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsButtonComponent, isStandalone: true, selector: "pds-button", inputs: { disabled: ["disabled", "disabled", booleanAttribute], fullWidth: ["fullWidth", "fullWidth", booleanAttribute], href: "href", loading: ["loading", "loading", booleanAttribute], size: "size", type: "type", variant: "variant", target: "target" }, outputs: { pdsClick: "pdsClick" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
313
|
+
}
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsButtonComponent, decorators: [{
|
|
315
|
+
type: Component,
|
|
316
|
+
args: [{
|
|
317
|
+
selector: 'pds-button',
|
|
318
|
+
standalone: true,
|
|
319
|
+
template: '<ng-content></ng-content>',
|
|
320
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
321
|
+
encapsulation: ViewEncapsulation.None,
|
|
322
|
+
}]
|
|
323
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
324
|
+
type: Input,
|
|
325
|
+
args: [{ transform: booleanAttribute }]
|
|
326
|
+
}], fullWidth: [{
|
|
327
|
+
type: Input,
|
|
328
|
+
args: [{ transform: booleanAttribute }]
|
|
329
|
+
}], href: [{
|
|
330
|
+
type: Input
|
|
331
|
+
}], loading: [{
|
|
332
|
+
type: Input,
|
|
333
|
+
args: [{ transform: booleanAttribute }]
|
|
334
|
+
}], size: [{
|
|
335
|
+
type: Input
|
|
336
|
+
}], type: [{
|
|
337
|
+
type: Input
|
|
338
|
+
}], variant: [{
|
|
339
|
+
type: Input
|
|
340
|
+
}], target: [{
|
|
341
|
+
type: Input
|
|
342
|
+
}], pdsClick: [{
|
|
343
|
+
type: Output
|
|
344
|
+
}] } });
|
|
345
|
+
/** Cards group related content and actions. */
|
|
346
|
+
class PdsCardComponent extends PdsComponentBase {
|
|
347
|
+
set clickable(value) {
|
|
348
|
+
this.pdsSetProperty('clickable', value);
|
|
349
|
+
}
|
|
350
|
+
set heading(value) {
|
|
351
|
+
this.pdsSetProperty('heading', value);
|
|
352
|
+
}
|
|
353
|
+
set headingLevel(value) {
|
|
354
|
+
this.pdsSetProperty('headingLevel', value);
|
|
355
|
+
}
|
|
356
|
+
set href(value) {
|
|
357
|
+
this.pdsSetProperty('href', value);
|
|
358
|
+
}
|
|
359
|
+
set variant(value) {
|
|
360
|
+
this.pdsSetProperty('variant', value);
|
|
361
|
+
}
|
|
362
|
+
/** Accessible link name when `href` is set without `heading`. */
|
|
363
|
+
set label(value) {
|
|
364
|
+
this.pdsSetAttribute('label', value);
|
|
365
|
+
}
|
|
366
|
+
/** Link target when `href` is set. */
|
|
367
|
+
set target(value) {
|
|
368
|
+
this.pdsSetAttribute('target', value);
|
|
369
|
+
}
|
|
370
|
+
constructor() {
|
|
371
|
+
super(definePdsCard);
|
|
372
|
+
}
|
|
373
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
374
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsCardComponent, isStandalone: true, selector: "pds-card", inputs: { clickable: ["clickable", "clickable", booleanAttribute], heading: "heading", headingLevel: ["headingLevel", "headingLevel", numberAttribute], href: "href", variant: "variant", label: "label", target: "target" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
375
|
+
}
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsCardComponent, decorators: [{
|
|
377
|
+
type: Component,
|
|
378
|
+
args: [{
|
|
379
|
+
selector: 'pds-card',
|
|
380
|
+
standalone: true,
|
|
381
|
+
template: '<ng-content></ng-content>',
|
|
382
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
383
|
+
encapsulation: ViewEncapsulation.None,
|
|
384
|
+
}]
|
|
385
|
+
}], ctorParameters: () => [], propDecorators: { clickable: [{
|
|
386
|
+
type: Input,
|
|
387
|
+
args: [{ transform: booleanAttribute }]
|
|
388
|
+
}], heading: [{
|
|
389
|
+
type: Input
|
|
390
|
+
}], headingLevel: [{
|
|
391
|
+
type: Input,
|
|
392
|
+
args: [{ transform: numberAttribute }]
|
|
393
|
+
}], href: [{
|
|
394
|
+
type: Input
|
|
395
|
+
}], variant: [{
|
|
396
|
+
type: Input
|
|
397
|
+
}], label: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}], target: [{
|
|
400
|
+
type: Input
|
|
401
|
+
}] } });
|
|
402
|
+
/** Checkbox for boolean or multi-select choices. */
|
|
403
|
+
class PdsCheckboxComponent extends PdsComponentBase {
|
|
404
|
+
/** Current checked state (the attribute is the initial state). */
|
|
405
|
+
set checked(value) {
|
|
406
|
+
this.pdsSetProperty('checked', value);
|
|
407
|
+
}
|
|
408
|
+
set disabled(value) {
|
|
409
|
+
this.pdsSetProperty('disabled', value);
|
|
410
|
+
}
|
|
411
|
+
set errorText(value) {
|
|
412
|
+
this.pdsSetProperty('errorText', value);
|
|
413
|
+
}
|
|
414
|
+
set helperText(value) {
|
|
415
|
+
this.pdsSetProperty('helperText', value);
|
|
416
|
+
}
|
|
417
|
+
set indeterminate(value) {
|
|
418
|
+
this.pdsSetProperty('indeterminate', value);
|
|
419
|
+
}
|
|
420
|
+
set label(value) {
|
|
421
|
+
this.pdsSetProperty('label', value);
|
|
422
|
+
}
|
|
423
|
+
set name(value) {
|
|
424
|
+
this.pdsSetProperty('name', value);
|
|
425
|
+
}
|
|
426
|
+
set required(value) {
|
|
427
|
+
this.pdsSetProperty('required', value);
|
|
428
|
+
}
|
|
429
|
+
set value(value) {
|
|
430
|
+
this.pdsSetProperty('value', value);
|
|
431
|
+
}
|
|
432
|
+
constructor() {
|
|
433
|
+
super(definePdsCheckbox);
|
|
434
|
+
/** Fired when toggled by the user. Detail: `{ checked, value }`. */
|
|
435
|
+
this.pdsChange = new EventEmitter();
|
|
436
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
437
|
+
}
|
|
438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
439
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsCheckboxComponent, isStandalone: true, selector: "pds-checkbox", inputs: { checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", indeterminate: ["indeterminate", "indeterminate", booleanAttribute], label: "label", name: "name", required: ["required", "required", booleanAttribute], value: "value" }, outputs: { pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
440
|
+
}
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsCheckboxComponent, decorators: [{
|
|
442
|
+
type: Component,
|
|
443
|
+
args: [{
|
|
444
|
+
selector: 'pds-checkbox',
|
|
445
|
+
standalone: true,
|
|
446
|
+
template: '<ng-content></ng-content>',
|
|
447
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
448
|
+
encapsulation: ViewEncapsulation.None,
|
|
449
|
+
}]
|
|
450
|
+
}], ctorParameters: () => [], propDecorators: { checked: [{
|
|
451
|
+
type: Input,
|
|
452
|
+
args: [{ transform: booleanAttribute }]
|
|
453
|
+
}], disabled: [{
|
|
454
|
+
type: Input,
|
|
455
|
+
args: [{ transform: booleanAttribute }]
|
|
456
|
+
}], errorText: [{
|
|
457
|
+
type: Input
|
|
458
|
+
}], helperText: [{
|
|
459
|
+
type: Input
|
|
460
|
+
}], indeterminate: [{
|
|
461
|
+
type: Input,
|
|
462
|
+
args: [{ transform: booleanAttribute }]
|
|
463
|
+
}], label: [{
|
|
464
|
+
type: Input
|
|
465
|
+
}], name: [{
|
|
466
|
+
type: Input
|
|
467
|
+
}], required: [{
|
|
468
|
+
type: Input,
|
|
469
|
+
args: [{ transform: booleanAttribute }]
|
|
470
|
+
}], value: [{
|
|
471
|
+
type: Input
|
|
472
|
+
}], pdsChange: [{
|
|
473
|
+
type: Output
|
|
474
|
+
}] } });
|
|
475
|
+
/** Pick a date by typing or from a calendar popup. */
|
|
476
|
+
class PdsDatepickerComponent extends PdsComponentBase {
|
|
477
|
+
set disabled(value) {
|
|
478
|
+
this.pdsSetProperty('disabled', value);
|
|
479
|
+
}
|
|
480
|
+
set disabledDates(value) {
|
|
481
|
+
this.pdsSetProperty('disabledDates', value);
|
|
482
|
+
}
|
|
483
|
+
set errorText(value) {
|
|
484
|
+
this.pdsSetProperty('errorText', value);
|
|
485
|
+
}
|
|
486
|
+
set firstDayOfWeek(value) {
|
|
487
|
+
this.pdsSetProperty('firstDayOfWeek', value);
|
|
488
|
+
}
|
|
489
|
+
set helperText(value) {
|
|
490
|
+
this.pdsSetProperty('helperText', value);
|
|
491
|
+
}
|
|
492
|
+
set label(value) {
|
|
493
|
+
this.pdsSetProperty('label', value);
|
|
494
|
+
}
|
|
495
|
+
set locale(value) {
|
|
496
|
+
this.pdsSetProperty('locale', value);
|
|
497
|
+
}
|
|
498
|
+
set max(value) {
|
|
499
|
+
this.pdsSetProperty('max', value);
|
|
500
|
+
}
|
|
501
|
+
set min(value) {
|
|
502
|
+
this.pdsSetProperty('min', value);
|
|
503
|
+
}
|
|
504
|
+
set name(value) {
|
|
505
|
+
this.pdsSetProperty('name', value);
|
|
506
|
+
}
|
|
507
|
+
set placeholder(value) {
|
|
508
|
+
this.pdsSetProperty('placeholder', value);
|
|
509
|
+
}
|
|
510
|
+
set readonly(value) {
|
|
511
|
+
this.pdsSetProperty('readonly', value);
|
|
512
|
+
}
|
|
513
|
+
set required(value) {
|
|
514
|
+
this.pdsSetProperty('required', value);
|
|
515
|
+
}
|
|
516
|
+
set value(value) {
|
|
517
|
+
this.pdsSetProperty('value', value);
|
|
518
|
+
}
|
|
519
|
+
constructor() {
|
|
520
|
+
super(definePdsDatepicker);
|
|
521
|
+
/** Fired when the value changes. Detail: `{ value }` (ISO string or empty). */
|
|
522
|
+
this.pdsChange = new EventEmitter();
|
|
523
|
+
/** Fired when the calendar opens. */
|
|
524
|
+
this.pdsOpen = new EventEmitter();
|
|
525
|
+
/** Fired when the calendar closes. */
|
|
526
|
+
this.pdsClose = new EventEmitter();
|
|
527
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
528
|
+
this.pdsForward('pds-open', this.pdsOpen);
|
|
529
|
+
this.pdsForward('pds-close', this.pdsClose);
|
|
530
|
+
}
|
|
531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
532
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsDatepickerComponent, isStandalone: true, selector: "pds-datepicker", inputs: { disabled: ["disabled", "disabled", booleanAttribute], disabledDates: "disabledDates", errorText: "errorText", firstDayOfWeek: ["firstDayOfWeek", "firstDayOfWeek", numberAttribute], helperText: "helperText", label: "label", locale: "locale", max: "max", min: "min", name: "name", placeholder: "placeholder", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], value: "value" }, outputs: { pdsChange: "pdsChange", pdsOpen: "pdsOpen", pdsClose: "pdsClose" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
533
|
+
}
|
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDatepickerComponent, decorators: [{
|
|
535
|
+
type: Component,
|
|
536
|
+
args: [{
|
|
537
|
+
selector: 'pds-datepicker',
|
|
538
|
+
standalone: true,
|
|
539
|
+
template: '<ng-content></ng-content>',
|
|
540
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
541
|
+
encapsulation: ViewEncapsulation.None,
|
|
542
|
+
}]
|
|
543
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
544
|
+
type: Input,
|
|
545
|
+
args: [{ transform: booleanAttribute }]
|
|
546
|
+
}], disabledDates: [{
|
|
547
|
+
type: Input
|
|
548
|
+
}], errorText: [{
|
|
549
|
+
type: Input
|
|
550
|
+
}], firstDayOfWeek: [{
|
|
551
|
+
type: Input,
|
|
552
|
+
args: [{ transform: numberAttribute }]
|
|
553
|
+
}], helperText: [{
|
|
554
|
+
type: Input
|
|
555
|
+
}], label: [{
|
|
556
|
+
type: Input
|
|
557
|
+
}], locale: [{
|
|
558
|
+
type: Input
|
|
559
|
+
}], max: [{
|
|
560
|
+
type: Input
|
|
561
|
+
}], min: [{
|
|
562
|
+
type: Input
|
|
563
|
+
}], name: [{
|
|
564
|
+
type: Input
|
|
565
|
+
}], placeholder: [{
|
|
566
|
+
type: Input
|
|
567
|
+
}], readonly: [{
|
|
568
|
+
type: Input,
|
|
569
|
+
args: [{ transform: booleanAttribute }]
|
|
570
|
+
}], required: [{
|
|
571
|
+
type: Input,
|
|
572
|
+
args: [{ transform: booleanAttribute }]
|
|
573
|
+
}], value: [{
|
|
574
|
+
type: Input
|
|
575
|
+
}], pdsChange: [{
|
|
576
|
+
type: Output
|
|
577
|
+
}], pdsOpen: [{
|
|
578
|
+
type: Output
|
|
579
|
+
}], pdsClose: [{
|
|
580
|
+
type: Output
|
|
581
|
+
}] } });
|
|
582
|
+
/** Dialogs interrupt the user with focused, modal content. */
|
|
583
|
+
class PdsDialogComponent extends PdsComponentBase {
|
|
584
|
+
set dismissible(value) {
|
|
585
|
+
this.pdsSetProperty('dismissible', value);
|
|
586
|
+
}
|
|
587
|
+
set heading(value) {
|
|
588
|
+
this.pdsSetProperty('heading', value);
|
|
589
|
+
}
|
|
590
|
+
set open(value) {
|
|
591
|
+
this.pdsSetProperty('open', value);
|
|
592
|
+
}
|
|
593
|
+
/** Value reported by `pds-close`. */
|
|
594
|
+
set returnValue(value) {
|
|
595
|
+
this.pdsSetProperty('returnValue', value);
|
|
596
|
+
}
|
|
597
|
+
set size(value) {
|
|
598
|
+
this.pdsSetProperty('size', value);
|
|
599
|
+
}
|
|
600
|
+
/** Accessible label of the close button. Default `Close`. */
|
|
601
|
+
set closeLabel(value) {
|
|
602
|
+
this.pdsSetAttribute('close-label', value);
|
|
603
|
+
}
|
|
604
|
+
constructor() {
|
|
605
|
+
super(definePdsDialog);
|
|
606
|
+
/** Fired after the dialog opened. */
|
|
607
|
+
this.pdsOpen = new EventEmitter();
|
|
608
|
+
/** Fired after the dialog closed. Detail: `{ returnValue }`. */
|
|
609
|
+
this.pdsClose = new EventEmitter();
|
|
610
|
+
/** Cancelable; fired when Escape, backdrop or close button asks to close. Detail: `{ reason }`. */
|
|
611
|
+
this.pdsRequestClose = new EventEmitter();
|
|
612
|
+
this.pdsForward('pds-open', this.pdsOpen);
|
|
613
|
+
this.pdsForward('pds-close', this.pdsClose);
|
|
614
|
+
this.pdsForward('pds-request-close', this.pdsRequestClose);
|
|
615
|
+
}
|
|
616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
617
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsDialogComponent, isStandalone: true, selector: "pds-dialog", inputs: { dismissible: ["dismissible", "dismissible", booleanAttribute], heading: "heading", open: ["open", "open", booleanAttribute], returnValue: "returnValue", size: "size", closeLabel: ["close-label", "closeLabel"] }, outputs: { pdsOpen: "pdsOpen", pdsClose: "pdsClose", pdsRequestClose: "pdsRequestClose" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
618
|
+
}
|
|
619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDialogComponent, decorators: [{
|
|
620
|
+
type: Component,
|
|
621
|
+
args: [{
|
|
622
|
+
selector: 'pds-dialog',
|
|
623
|
+
standalone: true,
|
|
624
|
+
template: '<ng-content></ng-content>',
|
|
625
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
626
|
+
encapsulation: ViewEncapsulation.None,
|
|
627
|
+
}]
|
|
628
|
+
}], ctorParameters: () => [], propDecorators: { dismissible: [{
|
|
629
|
+
type: Input,
|
|
630
|
+
args: [{ transform: booleanAttribute }]
|
|
631
|
+
}], heading: [{
|
|
632
|
+
type: Input
|
|
633
|
+
}], open: [{
|
|
634
|
+
type: Input,
|
|
635
|
+
args: [{ transform: booleanAttribute }]
|
|
636
|
+
}], returnValue: [{
|
|
637
|
+
type: Input
|
|
638
|
+
}], size: [{
|
|
639
|
+
type: Input
|
|
640
|
+
}], closeLabel: [{
|
|
641
|
+
type: Input,
|
|
642
|
+
args: ['close-label']
|
|
643
|
+
}], pdsOpen: [{
|
|
644
|
+
type: Output
|
|
645
|
+
}], pdsClose: [{
|
|
646
|
+
type: Output
|
|
647
|
+
}], pdsRequestClose: [{
|
|
648
|
+
type: Output
|
|
649
|
+
}] } });
|
|
650
|
+
/** Dropdown menu opened from a button. */
|
|
651
|
+
class PdsDropdownComponent extends PdsComponentBase {
|
|
652
|
+
set disabled(value) {
|
|
653
|
+
this.pdsSetProperty('disabled', value);
|
|
654
|
+
}
|
|
655
|
+
set label(value) {
|
|
656
|
+
this.pdsSetProperty('label', value);
|
|
657
|
+
}
|
|
658
|
+
set open(value) {
|
|
659
|
+
this.pdsSetProperty('open', value);
|
|
660
|
+
}
|
|
661
|
+
set placement(value) {
|
|
662
|
+
this.pdsSetProperty('placement', value);
|
|
663
|
+
}
|
|
664
|
+
constructor() {
|
|
665
|
+
super(definePdsDropdown);
|
|
666
|
+
/** Fired when an item is chosen. Detail: `{ value }`. */
|
|
667
|
+
this.pdsSelect = new EventEmitter();
|
|
668
|
+
this.pdsForward('pds-select', this.pdsSelect);
|
|
669
|
+
}
|
|
670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
671
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsDropdownComponent, isStandalone: true, selector: "pds-dropdown", inputs: { disabled: ["disabled", "disabled", booleanAttribute], label: "label", open: ["open", "open", booleanAttribute], placement: "placement" }, outputs: { pdsSelect: "pdsSelect" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
672
|
+
}
|
|
673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDropdownComponent, decorators: [{
|
|
674
|
+
type: Component,
|
|
675
|
+
args: [{
|
|
676
|
+
selector: 'pds-dropdown',
|
|
677
|
+
standalone: true,
|
|
678
|
+
template: '<ng-content></ng-content>',
|
|
679
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
680
|
+
encapsulation: ViewEncapsulation.None,
|
|
681
|
+
}]
|
|
682
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
683
|
+
type: Input,
|
|
684
|
+
args: [{ transform: booleanAttribute }]
|
|
685
|
+
}], label: [{
|
|
686
|
+
type: Input
|
|
687
|
+
}], open: [{
|
|
688
|
+
type: Input,
|
|
689
|
+
args: [{ transform: booleanAttribute }]
|
|
690
|
+
}], placement: [{
|
|
691
|
+
type: Input
|
|
692
|
+
}], pdsSelect: [{
|
|
693
|
+
type: Output
|
|
694
|
+
}] } });
|
|
695
|
+
/** Menu item. */
|
|
696
|
+
class PdsDropdownItemComponent extends PdsComponentBase {
|
|
697
|
+
set disabled(value) {
|
|
698
|
+
this.pdsSetProperty('disabled', value);
|
|
699
|
+
}
|
|
700
|
+
set href(value) {
|
|
701
|
+
this.pdsSetProperty('href', value);
|
|
702
|
+
}
|
|
703
|
+
set value(value) {
|
|
704
|
+
this.pdsSetProperty('value', value);
|
|
705
|
+
}
|
|
706
|
+
constructor() {
|
|
707
|
+
super(definePdsDropdownItem);
|
|
708
|
+
}
|
|
709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDropdownItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
710
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsDropdownItemComponent, isStandalone: true, selector: "pds-dropdown-item", inputs: { disabled: ["disabled", "disabled", booleanAttribute], href: "href", value: "value" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
711
|
+
}
|
|
712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsDropdownItemComponent, decorators: [{
|
|
713
|
+
type: Component,
|
|
714
|
+
args: [{
|
|
715
|
+
selector: 'pds-dropdown-item',
|
|
716
|
+
standalone: true,
|
|
717
|
+
template: '<ng-content></ng-content>',
|
|
718
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
719
|
+
encapsulation: ViewEncapsulation.None,
|
|
720
|
+
}]
|
|
721
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
722
|
+
type: Input,
|
|
723
|
+
args: [{ transform: booleanAttribute }]
|
|
724
|
+
}], href: [{
|
|
725
|
+
type: Input
|
|
726
|
+
}], value: [{
|
|
727
|
+
type: Input
|
|
728
|
+
}] } });
|
|
729
|
+
/** Expandable reveals or hides content. */
|
|
730
|
+
class PdsExpandableComponent extends PdsComponentBase {
|
|
731
|
+
set label(value) {
|
|
732
|
+
this.pdsSetProperty('label', value);
|
|
733
|
+
}
|
|
734
|
+
set open(value) {
|
|
735
|
+
this.pdsSetProperty('open', value);
|
|
736
|
+
}
|
|
737
|
+
constructor() {
|
|
738
|
+
super(definePdsExpandable);
|
|
739
|
+
/** Fired when the user toggles. Detail: `{ open }`. */
|
|
740
|
+
this.pdsToggle = new EventEmitter();
|
|
741
|
+
this.pdsForward('pds-toggle', this.pdsToggle);
|
|
742
|
+
}
|
|
743
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
744
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsExpandableComponent, isStandalone: true, selector: "pds-expandable", inputs: { label: "label", open: ["open", "open", booleanAttribute] }, outputs: { pdsToggle: "pdsToggle" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
745
|
+
}
|
|
746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsExpandableComponent, decorators: [{
|
|
747
|
+
type: Component,
|
|
748
|
+
args: [{
|
|
749
|
+
selector: 'pds-expandable',
|
|
750
|
+
standalone: true,
|
|
751
|
+
template: '<ng-content></ng-content>',
|
|
752
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
753
|
+
encapsulation: ViewEncapsulation.None,
|
|
754
|
+
}]
|
|
755
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
756
|
+
type: Input
|
|
757
|
+
}], open: [{
|
|
758
|
+
type: Input,
|
|
759
|
+
args: [{ transform: booleanAttribute }]
|
|
760
|
+
}], pdsToggle: [{
|
|
761
|
+
type: Output
|
|
762
|
+
}] } });
|
|
763
|
+
/** Single-line text field. */
|
|
764
|
+
class PdsInputComponent extends PdsComponentBase {
|
|
765
|
+
set disabled(value) {
|
|
766
|
+
this.pdsSetProperty('disabled', value);
|
|
767
|
+
}
|
|
768
|
+
set errorText(value) {
|
|
769
|
+
this.pdsSetProperty('errorText', value);
|
|
770
|
+
}
|
|
771
|
+
set helperText(value) {
|
|
772
|
+
this.pdsSetProperty('helperText', value);
|
|
773
|
+
}
|
|
774
|
+
set label(value) {
|
|
775
|
+
this.pdsSetProperty('label', value);
|
|
776
|
+
}
|
|
777
|
+
set name(value) {
|
|
778
|
+
this.pdsSetProperty('name', value);
|
|
779
|
+
}
|
|
780
|
+
set placeholder(value) {
|
|
781
|
+
this.pdsSetProperty('placeholder', value);
|
|
782
|
+
}
|
|
783
|
+
set readOnly(value) {
|
|
784
|
+
this.pdsSetProperty('readOnly', value);
|
|
785
|
+
}
|
|
786
|
+
set required(value) {
|
|
787
|
+
this.pdsSetProperty('required', value);
|
|
788
|
+
}
|
|
789
|
+
set type(value) {
|
|
790
|
+
this.pdsSetProperty('type', value);
|
|
791
|
+
}
|
|
792
|
+
/** Current value. */
|
|
793
|
+
set value(value) {
|
|
794
|
+
this.pdsSetProperty('value', value);
|
|
795
|
+
}
|
|
796
|
+
/** Native autocomplete hint. */
|
|
797
|
+
set autocomplete(value) {
|
|
798
|
+
this.pdsSetAttribute('autocomplete', value);
|
|
799
|
+
}
|
|
800
|
+
/** Maximum (number type). */
|
|
801
|
+
set max(value) {
|
|
802
|
+
this.pdsSetAttribute('max', value);
|
|
803
|
+
}
|
|
804
|
+
/** Maximum length. */
|
|
805
|
+
set maxlength(value) {
|
|
806
|
+
this.pdsSetAttribute('maxlength', value);
|
|
807
|
+
}
|
|
808
|
+
/** Minimum (number type). */
|
|
809
|
+
set min(value) {
|
|
810
|
+
this.pdsSetAttribute('min', value);
|
|
811
|
+
}
|
|
812
|
+
/** Minimum length. */
|
|
813
|
+
set minlength(value) {
|
|
814
|
+
this.pdsSetAttribute('minlength', value);
|
|
815
|
+
}
|
|
816
|
+
/** Validation regular expression. */
|
|
817
|
+
set pattern(value) {
|
|
818
|
+
this.pdsSetAttribute('pattern', value);
|
|
819
|
+
}
|
|
820
|
+
/** Makes the field read-only. */
|
|
821
|
+
set readonly(value) {
|
|
822
|
+
this.pdsSetAttribute('readonly', value);
|
|
823
|
+
}
|
|
824
|
+
constructor() {
|
|
825
|
+
super(definePdsInput);
|
|
826
|
+
/** Fired on every edit. Detail: `{ value }`. */
|
|
827
|
+
this.pdsInput = new EventEmitter();
|
|
828
|
+
/** Fired when the value is committed. Detail: `{ value }`. */
|
|
829
|
+
this.pdsChange = new EventEmitter();
|
|
830
|
+
this.pdsForward('pds-input', this.pdsInput);
|
|
831
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
832
|
+
}
|
|
833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
834
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsInputComponent, isStandalone: true, selector: "pds-input", inputs: { disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", label: "label", name: "name", placeholder: "placeholder", readOnly: ["readOnly", "readOnly", booleanAttribute], required: ["required", "required", booleanAttribute], type: "type", value: "value", autocomplete: "autocomplete", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", pattern: "pattern", readonly: "readonly" }, outputs: { pdsInput: "pdsInput", pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
835
|
+
}
|
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsInputComponent, decorators: [{
|
|
837
|
+
type: Component,
|
|
838
|
+
args: [{
|
|
839
|
+
selector: 'pds-input',
|
|
840
|
+
standalone: true,
|
|
841
|
+
template: '<ng-content></ng-content>',
|
|
842
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
843
|
+
encapsulation: ViewEncapsulation.None,
|
|
844
|
+
}]
|
|
845
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
846
|
+
type: Input,
|
|
847
|
+
args: [{ transform: booleanAttribute }]
|
|
848
|
+
}], errorText: [{
|
|
849
|
+
type: Input
|
|
850
|
+
}], helperText: [{
|
|
851
|
+
type: Input
|
|
852
|
+
}], label: [{
|
|
853
|
+
type: Input
|
|
854
|
+
}], name: [{
|
|
855
|
+
type: Input
|
|
856
|
+
}], placeholder: [{
|
|
857
|
+
type: Input
|
|
858
|
+
}], readOnly: [{
|
|
859
|
+
type: Input,
|
|
860
|
+
args: [{ transform: booleanAttribute }]
|
|
861
|
+
}], required: [{
|
|
862
|
+
type: Input,
|
|
863
|
+
args: [{ transform: booleanAttribute }]
|
|
864
|
+
}], type: [{
|
|
865
|
+
type: Input
|
|
866
|
+
}], value: [{
|
|
867
|
+
type: Input
|
|
868
|
+
}], autocomplete: [{
|
|
869
|
+
type: Input
|
|
870
|
+
}], max: [{
|
|
871
|
+
type: Input
|
|
872
|
+
}], maxlength: [{
|
|
873
|
+
type: Input
|
|
874
|
+
}], min: [{
|
|
875
|
+
type: Input
|
|
876
|
+
}], minlength: [{
|
|
877
|
+
type: Input
|
|
878
|
+
}], pattern: [{
|
|
879
|
+
type: Input
|
|
880
|
+
}], readonly: [{
|
|
881
|
+
type: Input
|
|
882
|
+
}], pdsInput: [{
|
|
883
|
+
type: Output
|
|
884
|
+
}], pdsChange: [{
|
|
885
|
+
type: Output
|
|
886
|
+
}] } });
|
|
887
|
+
/** Links navigate to another location. */
|
|
888
|
+
class PdsLinkComponent extends PdsComponentBase {
|
|
889
|
+
set external(value) {
|
|
890
|
+
this.pdsSetProperty('external', value);
|
|
891
|
+
}
|
|
892
|
+
set href(value) {
|
|
893
|
+
this.pdsSetProperty('href', value);
|
|
894
|
+
}
|
|
895
|
+
set target(value) {
|
|
896
|
+
this.pdsSetProperty('target', value);
|
|
897
|
+
}
|
|
898
|
+
set variant(value) {
|
|
899
|
+
this.pdsSetProperty('variant', value);
|
|
900
|
+
}
|
|
901
|
+
constructor() {
|
|
902
|
+
super(definePdsLink);
|
|
903
|
+
}
|
|
904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
905
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsLinkComponent, isStandalone: true, selector: "pds-link", inputs: { external: ["external", "external", booleanAttribute], href: "href", target: "target", variant: "variant" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
906
|
+
}
|
|
907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsLinkComponent, decorators: [{
|
|
908
|
+
type: Component,
|
|
909
|
+
args: [{
|
|
910
|
+
selector: 'pds-link',
|
|
911
|
+
standalone: true,
|
|
912
|
+
template: '<ng-content></ng-content>',
|
|
913
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
914
|
+
encapsulation: ViewEncapsulation.None,
|
|
915
|
+
}]
|
|
916
|
+
}], ctorParameters: () => [], propDecorators: { external: [{
|
|
917
|
+
type: Input,
|
|
918
|
+
args: [{ transform: booleanAttribute }]
|
|
919
|
+
}], href: [{
|
|
920
|
+
type: Input
|
|
921
|
+
}], target: [{
|
|
922
|
+
type: Input
|
|
923
|
+
}], variant: [{
|
|
924
|
+
type: Input
|
|
925
|
+
}] } });
|
|
926
|
+
/** Lists present related items. */
|
|
927
|
+
class PdsListComponent extends PdsComponentBase {
|
|
928
|
+
set variant(value) {
|
|
929
|
+
this.pdsSetProperty('variant', value);
|
|
930
|
+
}
|
|
931
|
+
constructor() {
|
|
932
|
+
super(definePdsList);
|
|
933
|
+
}
|
|
934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
935
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsListComponent, isStandalone: true, selector: "pds-list", inputs: { variant: "variant" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
936
|
+
}
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsListComponent, decorators: [{
|
|
938
|
+
type: Component,
|
|
939
|
+
args: [{
|
|
940
|
+
selector: 'pds-list',
|
|
941
|
+
standalone: true,
|
|
942
|
+
template: '<ng-content></ng-content>',
|
|
943
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
944
|
+
encapsulation: ViewEncapsulation.None,
|
|
945
|
+
}]
|
|
946
|
+
}], ctorParameters: () => [], propDecorators: { variant: [{
|
|
947
|
+
type: Input
|
|
948
|
+
}] } });
|
|
949
|
+
/** A single entry in a list. */
|
|
950
|
+
class PdsListItemComponent extends PdsComponentBase {
|
|
951
|
+
set dataIndex(value) {
|
|
952
|
+
this.pdsSetAttribute('data-index', value);
|
|
953
|
+
}
|
|
954
|
+
set dataVariant(value) {
|
|
955
|
+
this.pdsSetAttribute('data-variant', value);
|
|
956
|
+
}
|
|
957
|
+
constructor() {
|
|
958
|
+
super(defineAll);
|
|
959
|
+
}
|
|
960
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
961
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsListItemComponent, isStandalone: true, selector: "pds-list-item", inputs: { dataIndex: ["data-index", "dataIndex"], dataVariant: ["data-variant", "dataVariant"] }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
962
|
+
}
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsListItemComponent, decorators: [{
|
|
964
|
+
type: Component,
|
|
965
|
+
args: [{
|
|
966
|
+
selector: 'pds-list-item',
|
|
967
|
+
standalone: true,
|
|
968
|
+
template: '<ng-content></ng-content>',
|
|
969
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
970
|
+
encapsulation: ViewEncapsulation.None,
|
|
971
|
+
}]
|
|
972
|
+
}], ctorParameters: () => [], propDecorators: { dataIndex: [{
|
|
973
|
+
type: Input,
|
|
974
|
+
args: ['data-index']
|
|
975
|
+
}], dataVariant: [{
|
|
976
|
+
type: Input,
|
|
977
|
+
args: ['data-variant']
|
|
978
|
+
}] } });
|
|
979
|
+
/** Indicates that content is loading. */
|
|
980
|
+
class PdsLoaderComponent extends PdsComponentBase {
|
|
981
|
+
set label(value) {
|
|
982
|
+
this.pdsSetProperty('label', value);
|
|
983
|
+
}
|
|
984
|
+
set overlay(value) {
|
|
985
|
+
this.pdsSetProperty('overlay', value);
|
|
986
|
+
}
|
|
987
|
+
set size(value) {
|
|
988
|
+
this.pdsSetProperty('size', value);
|
|
989
|
+
}
|
|
990
|
+
constructor() {
|
|
991
|
+
super(definePdsLoader);
|
|
992
|
+
}
|
|
993
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
994
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsLoaderComponent, isStandalone: true, selector: "pds-loader", inputs: { label: "label", overlay: ["overlay", "overlay", booleanAttribute], size: "size" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
995
|
+
}
|
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsLoaderComponent, decorators: [{
|
|
997
|
+
type: Component,
|
|
998
|
+
args: [{
|
|
999
|
+
selector: 'pds-loader',
|
|
1000
|
+
standalone: true,
|
|
1001
|
+
template: '<ng-content></ng-content>',
|
|
1002
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1003
|
+
encapsulation: ViewEncapsulation.None,
|
|
1004
|
+
}]
|
|
1005
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
1006
|
+
type: Input
|
|
1007
|
+
}], overlay: [{
|
|
1008
|
+
type: Input,
|
|
1009
|
+
args: [{ transform: booleanAttribute }]
|
|
1010
|
+
}], size: [{
|
|
1011
|
+
type: Input
|
|
1012
|
+
}] } });
|
|
1013
|
+
/** Media objects pair an image or icon with text. */
|
|
1014
|
+
class PdsMediaObjectComponent extends PdsComponentBase {
|
|
1015
|
+
set align(value) {
|
|
1016
|
+
this.pdsSetProperty('align', value);
|
|
1017
|
+
}
|
|
1018
|
+
set reverse(value) {
|
|
1019
|
+
this.pdsSetProperty('reverse', value);
|
|
1020
|
+
}
|
|
1021
|
+
/** Breakpoint in px, or `null` when the container query is used. */
|
|
1022
|
+
set stackBelow(value) {
|
|
1023
|
+
this.pdsSetProperty('stackBelow', value);
|
|
1024
|
+
}
|
|
1025
|
+
constructor() {
|
|
1026
|
+
super(definePdsMediaObject);
|
|
1027
|
+
}
|
|
1028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsMediaObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1029
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsMediaObjectComponent, isStandalone: true, selector: "pds-media-object", inputs: { align: "align", reverse: ["reverse", "reverse", booleanAttribute], stackBelow: "stackBelow" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1030
|
+
}
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsMediaObjectComponent, decorators: [{
|
|
1032
|
+
type: Component,
|
|
1033
|
+
args: [{
|
|
1034
|
+
selector: 'pds-media-object',
|
|
1035
|
+
standalone: true,
|
|
1036
|
+
template: '<ng-content></ng-content>',
|
|
1037
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1038
|
+
encapsulation: ViewEncapsulation.None,
|
|
1039
|
+
}]
|
|
1040
|
+
}], ctorParameters: () => [], propDecorators: { align: [{
|
|
1041
|
+
type: Input
|
|
1042
|
+
}], reverse: [{
|
|
1043
|
+
type: Input,
|
|
1044
|
+
args: [{ transform: booleanAttribute }]
|
|
1045
|
+
}], stackBelow: [{
|
|
1046
|
+
type: Input
|
|
1047
|
+
}] } });
|
|
1048
|
+
/** Navigate between pages of content. */
|
|
1049
|
+
class PdsPaginationComponent extends PdsComponentBase {
|
|
1050
|
+
set hrefTemplate(value) {
|
|
1051
|
+
this.pdsSetProperty('hrefTemplate', value);
|
|
1052
|
+
}
|
|
1053
|
+
set label(value) {
|
|
1054
|
+
this.pdsSetProperty('label', value);
|
|
1055
|
+
}
|
|
1056
|
+
set page(value) {
|
|
1057
|
+
this.pdsSetProperty('page', value);
|
|
1058
|
+
}
|
|
1059
|
+
set siblingCount(value) {
|
|
1060
|
+
this.pdsSetProperty('siblingCount', value);
|
|
1061
|
+
}
|
|
1062
|
+
set totalPages(value) {
|
|
1063
|
+
this.pdsSetProperty('totalPages', value);
|
|
1064
|
+
}
|
|
1065
|
+
/** Accessible name of the next control. Default `Next page`. */
|
|
1066
|
+
set nextLabel(value) {
|
|
1067
|
+
this.pdsSetAttribute('next-label', value);
|
|
1068
|
+
}
|
|
1069
|
+
/** Accessible name of the previous control. Default `Previous page`. */
|
|
1070
|
+
set previousLabel(value) {
|
|
1071
|
+
this.pdsSetAttribute('previous-label', value);
|
|
1072
|
+
}
|
|
1073
|
+
constructor() {
|
|
1074
|
+
super(definePdsPagination);
|
|
1075
|
+
/** Fired when the user selects a page. Detail: `{ page }`. */
|
|
1076
|
+
this.pdsChange = new EventEmitter();
|
|
1077
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
1078
|
+
}
|
|
1079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1080
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsPaginationComponent, isStandalone: true, selector: "pds-pagination", inputs: { hrefTemplate: "hrefTemplate", label: "label", page: ["page", "page", numberAttribute], siblingCount: ["siblingCount", "siblingCount", numberAttribute], totalPages: ["totalPages", "totalPages", numberAttribute], nextLabel: ["next-label", "nextLabel"], previousLabel: ["previous-label", "previousLabel"] }, outputs: { pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1081
|
+
}
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsPaginationComponent, decorators: [{
|
|
1083
|
+
type: Component,
|
|
1084
|
+
args: [{
|
|
1085
|
+
selector: 'pds-pagination',
|
|
1086
|
+
standalone: true,
|
|
1087
|
+
template: '<ng-content></ng-content>',
|
|
1088
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1089
|
+
encapsulation: ViewEncapsulation.None,
|
|
1090
|
+
}]
|
|
1091
|
+
}], ctorParameters: () => [], propDecorators: { hrefTemplate: [{
|
|
1092
|
+
type: Input
|
|
1093
|
+
}], label: [{
|
|
1094
|
+
type: Input
|
|
1095
|
+
}], page: [{
|
|
1096
|
+
type: Input,
|
|
1097
|
+
args: [{ transform: numberAttribute }]
|
|
1098
|
+
}], siblingCount: [{
|
|
1099
|
+
type: Input,
|
|
1100
|
+
args: [{ transform: numberAttribute }]
|
|
1101
|
+
}], totalPages: [{
|
|
1102
|
+
type: Input,
|
|
1103
|
+
args: [{ transform: numberAttribute }]
|
|
1104
|
+
}], nextLabel: [{
|
|
1105
|
+
type: Input,
|
|
1106
|
+
args: ['next-label']
|
|
1107
|
+
}], previousLabel: [{
|
|
1108
|
+
type: Input,
|
|
1109
|
+
args: ['previous-label']
|
|
1110
|
+
}], pdsChange: [{
|
|
1111
|
+
type: Output
|
|
1112
|
+
}] } });
|
|
1113
|
+
/** Panels group related content on a tinted surface. */
|
|
1114
|
+
class PdsPanelComponent extends PdsComponentBase {
|
|
1115
|
+
set heading(value) {
|
|
1116
|
+
this.pdsSetProperty('heading', value);
|
|
1117
|
+
}
|
|
1118
|
+
set headingLevel(value) {
|
|
1119
|
+
this.pdsSetProperty('headingLevel', value);
|
|
1120
|
+
}
|
|
1121
|
+
set variant(value) {
|
|
1122
|
+
this.pdsSetProperty('variant', value);
|
|
1123
|
+
}
|
|
1124
|
+
constructor() {
|
|
1125
|
+
super(definePdsPanel);
|
|
1126
|
+
}
|
|
1127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1128
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsPanelComponent, isStandalone: true, selector: "pds-panel", inputs: { heading: "heading", headingLevel: ["headingLevel", "headingLevel", numberAttribute], variant: "variant" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1129
|
+
}
|
|
1130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsPanelComponent, decorators: [{
|
|
1131
|
+
type: Component,
|
|
1132
|
+
args: [{
|
|
1133
|
+
selector: 'pds-panel',
|
|
1134
|
+
standalone: true,
|
|
1135
|
+
template: '<ng-content></ng-content>',
|
|
1136
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1137
|
+
encapsulation: ViewEncapsulation.None,
|
|
1138
|
+
}]
|
|
1139
|
+
}], ctorParameters: () => [], propDecorators: { heading: [{
|
|
1140
|
+
type: Input
|
|
1141
|
+
}], headingLevel: [{
|
|
1142
|
+
type: Input,
|
|
1143
|
+
args: [{ transform: numberAttribute }]
|
|
1144
|
+
}], variant: [{
|
|
1145
|
+
type: Input
|
|
1146
|
+
}] } });
|
|
1147
|
+
/** One step of a multi-step process. */
|
|
1148
|
+
class PdsProgressStepComponent extends PdsComponentBase {
|
|
1149
|
+
set status(value) {
|
|
1150
|
+
this.pdsSetProperty('status', value);
|
|
1151
|
+
}
|
|
1152
|
+
constructor() {
|
|
1153
|
+
super(definePdsProgressStep);
|
|
1154
|
+
/** Fired when a completed step is activated in a clickable container. Detail: `{ index }`. */
|
|
1155
|
+
this.pdsStepClick = new EventEmitter();
|
|
1156
|
+
this.pdsForward('pds-step-click', this.pdsStepClick);
|
|
1157
|
+
}
|
|
1158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsProgressStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsProgressStepComponent, isStandalone: true, selector: "pds-progress-step", inputs: { status: "status" }, outputs: { pdsStepClick: "pdsStepClick" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1160
|
+
}
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsProgressStepComponent, decorators: [{
|
|
1162
|
+
type: Component,
|
|
1163
|
+
args: [{
|
|
1164
|
+
selector: 'pds-progress-step',
|
|
1165
|
+
standalone: true,
|
|
1166
|
+
template: '<ng-content></ng-content>',
|
|
1167
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1168
|
+
encapsulation: ViewEncapsulation.None,
|
|
1169
|
+
}]
|
|
1170
|
+
}], ctorParameters: () => [], propDecorators: { status: [{
|
|
1171
|
+
type: Input
|
|
1172
|
+
}], pdsStepClick: [{
|
|
1173
|
+
type: Output
|
|
1174
|
+
}] } });
|
|
1175
|
+
/** Shows progress through a sequence of steps. */
|
|
1176
|
+
class PdsProgressStepsComponent extends PdsComponentBase {
|
|
1177
|
+
set clickable(value) {
|
|
1178
|
+
this.pdsSetProperty('clickable', value);
|
|
1179
|
+
}
|
|
1180
|
+
set current(value) {
|
|
1181
|
+
this.pdsSetProperty('current', value);
|
|
1182
|
+
}
|
|
1183
|
+
set label(value) {
|
|
1184
|
+
this.pdsSetProperty('label', value);
|
|
1185
|
+
}
|
|
1186
|
+
set orientation(value) {
|
|
1187
|
+
this.pdsSetProperty('orientation', value);
|
|
1188
|
+
}
|
|
1189
|
+
constructor() {
|
|
1190
|
+
super(definePdsProgressSteps);
|
|
1191
|
+
/** Fired when a completed step is activated. Detail: `{ index }`. */
|
|
1192
|
+
this.pdsStepClick = new EventEmitter();
|
|
1193
|
+
this.pdsForward('pds-step-click', this.pdsStepClick);
|
|
1194
|
+
}
|
|
1195
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsProgressStepsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1196
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsProgressStepsComponent, isStandalone: true, selector: "pds-progress-steps", inputs: { clickable: ["clickable", "clickable", booleanAttribute], current: ["current", "current", numberAttribute], label: "label", orientation: "orientation" }, outputs: { pdsStepClick: "pdsStepClick" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1197
|
+
}
|
|
1198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsProgressStepsComponent, decorators: [{
|
|
1199
|
+
type: Component,
|
|
1200
|
+
args: [{
|
|
1201
|
+
selector: 'pds-progress-steps',
|
|
1202
|
+
standalone: true,
|
|
1203
|
+
template: '<ng-content></ng-content>',
|
|
1204
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1205
|
+
encapsulation: ViewEncapsulation.None,
|
|
1206
|
+
}]
|
|
1207
|
+
}], ctorParameters: () => [], propDecorators: { clickable: [{
|
|
1208
|
+
type: Input,
|
|
1209
|
+
args: [{ transform: booleanAttribute }]
|
|
1210
|
+
}], current: [{
|
|
1211
|
+
type: Input,
|
|
1212
|
+
args: [{ transform: numberAttribute }]
|
|
1213
|
+
}], label: [{
|
|
1214
|
+
type: Input
|
|
1215
|
+
}], orientation: [{
|
|
1216
|
+
type: Input
|
|
1217
|
+
}], pdsStepClick: [{
|
|
1218
|
+
type: Output
|
|
1219
|
+
}] } });
|
|
1220
|
+
/** Radio option, used inside `pds-radio-group`. */
|
|
1221
|
+
class PdsRadioComponent extends PdsComponentBase {
|
|
1222
|
+
/** Current selection state (managed by the group). The `checked` attribute is only the initial state. */
|
|
1223
|
+
set checked(value) {
|
|
1224
|
+
this.pdsSetProperty('checked', value);
|
|
1225
|
+
}
|
|
1226
|
+
set disabled(value) {
|
|
1227
|
+
this.pdsSetProperty('disabled', value);
|
|
1228
|
+
}
|
|
1229
|
+
set value(value) {
|
|
1230
|
+
this.pdsSetProperty('value', value);
|
|
1231
|
+
}
|
|
1232
|
+
constructor() {
|
|
1233
|
+
super(definePdsRadio);
|
|
1234
|
+
}
|
|
1235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1236
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsRadioComponent, isStandalone: true, selector: "pds-radio", inputs: { checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], value: "value" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1237
|
+
}
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRadioComponent, decorators: [{
|
|
1239
|
+
type: Component,
|
|
1240
|
+
args: [{
|
|
1241
|
+
selector: 'pds-radio',
|
|
1242
|
+
standalone: true,
|
|
1243
|
+
template: '<ng-content></ng-content>',
|
|
1244
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1245
|
+
encapsulation: ViewEncapsulation.None,
|
|
1246
|
+
}]
|
|
1247
|
+
}], ctorParameters: () => [], propDecorators: { checked: [{
|
|
1248
|
+
type: Input,
|
|
1249
|
+
args: [{ transform: booleanAttribute }]
|
|
1250
|
+
}], disabled: [{
|
|
1251
|
+
type: Input,
|
|
1252
|
+
args: [{ transform: booleanAttribute }]
|
|
1253
|
+
}], value: [{
|
|
1254
|
+
type: Input
|
|
1255
|
+
}] } });
|
|
1256
|
+
/** Group of mutually exclusive radio options. */
|
|
1257
|
+
class PdsRadioGroupComponent extends PdsComponentBase {
|
|
1258
|
+
set disabled(value) {
|
|
1259
|
+
this.pdsSetProperty('disabled', value);
|
|
1260
|
+
}
|
|
1261
|
+
set errorText(value) {
|
|
1262
|
+
this.pdsSetProperty('errorText', value);
|
|
1263
|
+
}
|
|
1264
|
+
set helperText(value) {
|
|
1265
|
+
this.pdsSetProperty('helperText', value);
|
|
1266
|
+
}
|
|
1267
|
+
set label(value) {
|
|
1268
|
+
this.pdsSetProperty('label', value);
|
|
1269
|
+
}
|
|
1270
|
+
set name(value) {
|
|
1271
|
+
this.pdsSetProperty('name', value);
|
|
1272
|
+
}
|
|
1273
|
+
set orientation(value) {
|
|
1274
|
+
this.pdsSetProperty('orientation', value);
|
|
1275
|
+
}
|
|
1276
|
+
set required(value) {
|
|
1277
|
+
this.pdsSetProperty('required', value);
|
|
1278
|
+
}
|
|
1279
|
+
/** Currently selected value ('' when none). */
|
|
1280
|
+
set value(value) {
|
|
1281
|
+
this.pdsSetProperty('value', value);
|
|
1282
|
+
}
|
|
1283
|
+
constructor() {
|
|
1284
|
+
super(definePdsRadioGroup);
|
|
1285
|
+
/** Fired when the selection changes by user interaction. Detail: `{ value }`. */
|
|
1286
|
+
this.pdsChange = new EventEmitter();
|
|
1287
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
1288
|
+
}
|
|
1289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsRadioGroupComponent, isStandalone: true, selector: "pds-radio-group", inputs: { disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", label: "label", name: "name", orientation: "orientation", required: ["required", "required", booleanAttribute], value: "value" }, outputs: { pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1291
|
+
}
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRadioGroupComponent, decorators: [{
|
|
1293
|
+
type: Component,
|
|
1294
|
+
args: [{
|
|
1295
|
+
selector: 'pds-radio-group',
|
|
1296
|
+
standalone: true,
|
|
1297
|
+
template: '<ng-content></ng-content>',
|
|
1298
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1299
|
+
encapsulation: ViewEncapsulation.None,
|
|
1300
|
+
}]
|
|
1301
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
1302
|
+
type: Input,
|
|
1303
|
+
args: [{ transform: booleanAttribute }]
|
|
1304
|
+
}], errorText: [{
|
|
1305
|
+
type: Input
|
|
1306
|
+
}], helperText: [{
|
|
1307
|
+
type: Input
|
|
1308
|
+
}], label: [{
|
|
1309
|
+
type: Input
|
|
1310
|
+
}], name: [{
|
|
1311
|
+
type: Input
|
|
1312
|
+
}], orientation: [{
|
|
1313
|
+
type: Input
|
|
1314
|
+
}], required: [{
|
|
1315
|
+
type: Input,
|
|
1316
|
+
args: [{ transform: booleanAttribute }]
|
|
1317
|
+
}], value: [{
|
|
1318
|
+
type: Input
|
|
1319
|
+
}], pdsChange: [{
|
|
1320
|
+
type: Output
|
|
1321
|
+
}] } });
|
|
1322
|
+
/** Slider for choosing a number within a range. */
|
|
1323
|
+
class PdsRangesliderComponent extends PdsComponentBase {
|
|
1324
|
+
set disabled(value) {
|
|
1325
|
+
this.pdsSetProperty('disabled', value);
|
|
1326
|
+
}
|
|
1327
|
+
set errorText(value) {
|
|
1328
|
+
this.pdsSetProperty('errorText', value);
|
|
1329
|
+
}
|
|
1330
|
+
set helperText(value) {
|
|
1331
|
+
this.pdsSetProperty('helperText', value);
|
|
1332
|
+
}
|
|
1333
|
+
set label(value) {
|
|
1334
|
+
this.pdsSetProperty('label', value);
|
|
1335
|
+
}
|
|
1336
|
+
set name(value) {
|
|
1337
|
+
this.pdsSetProperty('name', value);
|
|
1338
|
+
}
|
|
1339
|
+
set required(value) {
|
|
1340
|
+
this.pdsSetProperty('required', value);
|
|
1341
|
+
}
|
|
1342
|
+
set showValue(value) {
|
|
1343
|
+
this.pdsSetProperty('showValue', value);
|
|
1344
|
+
}
|
|
1345
|
+
/** Current value. */
|
|
1346
|
+
set value(value) {
|
|
1347
|
+
this.pdsSetProperty('value', value);
|
|
1348
|
+
}
|
|
1349
|
+
/** Maximum. Default 100. */
|
|
1350
|
+
set max(value) {
|
|
1351
|
+
this.pdsSetAttribute('max', value);
|
|
1352
|
+
}
|
|
1353
|
+
/** Minimum. Default 0. */
|
|
1354
|
+
set min(value) {
|
|
1355
|
+
this.pdsSetAttribute('min', value);
|
|
1356
|
+
}
|
|
1357
|
+
/** Step. Default 1. */
|
|
1358
|
+
set step(value) {
|
|
1359
|
+
this.pdsSetAttribute('step', value);
|
|
1360
|
+
}
|
|
1361
|
+
constructor() {
|
|
1362
|
+
super(definePdsRangeslider);
|
|
1363
|
+
/** Fired while dragging. Detail: `{ value }`. */
|
|
1364
|
+
this.pdsInput = new EventEmitter();
|
|
1365
|
+
/** Fired when the value is committed. Detail: `{ value }`. */
|
|
1366
|
+
this.pdsChange = new EventEmitter();
|
|
1367
|
+
this.pdsForward('pds-input', this.pdsInput);
|
|
1368
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
1369
|
+
}
|
|
1370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRangesliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1371
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsRangesliderComponent, isStandalone: true, selector: "pds-rangeslider", inputs: { disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", label: "label", name: "name", required: ["required", "required", booleanAttribute], showValue: ["showValue", "showValue", booleanAttribute], value: "value", max: "max", min: "min", step: "step" }, outputs: { pdsInput: "pdsInput", pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1372
|
+
}
|
|
1373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsRangesliderComponent, decorators: [{
|
|
1374
|
+
type: Component,
|
|
1375
|
+
args: [{
|
|
1376
|
+
selector: 'pds-rangeslider',
|
|
1377
|
+
standalone: true,
|
|
1378
|
+
template: '<ng-content></ng-content>',
|
|
1379
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1380
|
+
encapsulation: ViewEncapsulation.None,
|
|
1381
|
+
}]
|
|
1382
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
1383
|
+
type: Input,
|
|
1384
|
+
args: [{ transform: booleanAttribute }]
|
|
1385
|
+
}], errorText: [{
|
|
1386
|
+
type: Input
|
|
1387
|
+
}], helperText: [{
|
|
1388
|
+
type: Input
|
|
1389
|
+
}], label: [{
|
|
1390
|
+
type: Input
|
|
1391
|
+
}], name: [{
|
|
1392
|
+
type: Input
|
|
1393
|
+
}], required: [{
|
|
1394
|
+
type: Input,
|
|
1395
|
+
args: [{ transform: booleanAttribute }]
|
|
1396
|
+
}], showValue: [{
|
|
1397
|
+
type: Input,
|
|
1398
|
+
args: [{ transform: booleanAttribute }]
|
|
1399
|
+
}], value: [{
|
|
1400
|
+
type: Input
|
|
1401
|
+
}], max: [{
|
|
1402
|
+
type: Input
|
|
1403
|
+
}], min: [{
|
|
1404
|
+
type: Input
|
|
1405
|
+
}], step: [{
|
|
1406
|
+
type: Input
|
|
1407
|
+
}], pdsInput: [{
|
|
1408
|
+
type: Output
|
|
1409
|
+
}], pdsChange: [{
|
|
1410
|
+
type: Output
|
|
1411
|
+
}] } });
|
|
1412
|
+
/** Dropdown for choosing one option from a list. */
|
|
1413
|
+
class PdsSelectComponent extends PdsComponentBase {
|
|
1414
|
+
set disabled(value) {
|
|
1415
|
+
this.pdsSetProperty('disabled', value);
|
|
1416
|
+
}
|
|
1417
|
+
set errorText(value) {
|
|
1418
|
+
this.pdsSetProperty('errorText', value);
|
|
1419
|
+
}
|
|
1420
|
+
set helperText(value) {
|
|
1421
|
+
this.pdsSetProperty('helperText', value);
|
|
1422
|
+
}
|
|
1423
|
+
set label(value) {
|
|
1424
|
+
this.pdsSetProperty('label', value);
|
|
1425
|
+
}
|
|
1426
|
+
set name(value) {
|
|
1427
|
+
this.pdsSetProperty('name', value);
|
|
1428
|
+
}
|
|
1429
|
+
set placeholder(value) {
|
|
1430
|
+
this.pdsSetProperty('placeholder', value);
|
|
1431
|
+
}
|
|
1432
|
+
set required(value) {
|
|
1433
|
+
this.pdsSetProperty('required', value);
|
|
1434
|
+
}
|
|
1435
|
+
/** Current value. */
|
|
1436
|
+
set value(value) {
|
|
1437
|
+
this.pdsSetProperty('value', value);
|
|
1438
|
+
}
|
|
1439
|
+
constructor() {
|
|
1440
|
+
super(definePdsSelect);
|
|
1441
|
+
/** Fired when the selection changes. Detail: `{ value }`. */
|
|
1442
|
+
this.pdsInput = new EventEmitter();
|
|
1443
|
+
/** Fired when the selection is committed. Detail: `{ value }`. */
|
|
1444
|
+
this.pdsChange = new EventEmitter();
|
|
1445
|
+
this.pdsForward('pds-input', this.pdsInput);
|
|
1446
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
1447
|
+
}
|
|
1448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1449
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsSelectComponent, isStandalone: true, selector: "pds-select", inputs: { disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", label: "label", name: "name", placeholder: "placeholder", required: ["required", "required", booleanAttribute], value: "value" }, outputs: { pdsInput: "pdsInput", pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1450
|
+
}
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSelectComponent, decorators: [{
|
|
1452
|
+
type: Component,
|
|
1453
|
+
args: [{
|
|
1454
|
+
selector: 'pds-select',
|
|
1455
|
+
standalone: true,
|
|
1456
|
+
template: '<ng-content></ng-content>',
|
|
1457
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1458
|
+
encapsulation: ViewEncapsulation.None,
|
|
1459
|
+
}]
|
|
1460
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
1461
|
+
type: Input,
|
|
1462
|
+
args: [{ transform: booleanAttribute }]
|
|
1463
|
+
}], errorText: [{
|
|
1464
|
+
type: Input
|
|
1465
|
+
}], helperText: [{
|
|
1466
|
+
type: Input
|
|
1467
|
+
}], label: [{
|
|
1468
|
+
type: Input
|
|
1469
|
+
}], name: [{
|
|
1470
|
+
type: Input
|
|
1471
|
+
}], placeholder: [{
|
|
1472
|
+
type: Input
|
|
1473
|
+
}], required: [{
|
|
1474
|
+
type: Input,
|
|
1475
|
+
args: [{ transform: booleanAttribute }]
|
|
1476
|
+
}], value: [{
|
|
1477
|
+
type: Input
|
|
1478
|
+
}], pdsInput: [{
|
|
1479
|
+
type: Output
|
|
1480
|
+
}], pdsChange: [{
|
|
1481
|
+
type: Output
|
|
1482
|
+
}] } });
|
|
1483
|
+
/** Sheets slide in from an edge of the screen with secondary content. */
|
|
1484
|
+
class PdsSheetComponent extends PdsComponentBase {
|
|
1485
|
+
set dismissible(value) {
|
|
1486
|
+
this.pdsSetProperty('dismissible', value);
|
|
1487
|
+
}
|
|
1488
|
+
set heading(value) {
|
|
1489
|
+
this.pdsSetProperty('heading', value);
|
|
1490
|
+
}
|
|
1491
|
+
set open(value) {
|
|
1492
|
+
this.pdsSetProperty('open', value);
|
|
1493
|
+
}
|
|
1494
|
+
set placement(value) {
|
|
1495
|
+
this.pdsSetProperty('placement', value);
|
|
1496
|
+
}
|
|
1497
|
+
/** Value reported by `pds-close`. */
|
|
1498
|
+
set returnValue(value) {
|
|
1499
|
+
this.pdsSetProperty('returnValue', value);
|
|
1500
|
+
}
|
|
1501
|
+
/** Accessible label of the close button. Default `Close`. */
|
|
1502
|
+
set closeLabel(value) {
|
|
1503
|
+
this.pdsSetAttribute('close-label', value);
|
|
1504
|
+
}
|
|
1505
|
+
constructor() {
|
|
1506
|
+
super(definePdsSheet);
|
|
1507
|
+
/** Fired after the sheet opened. */
|
|
1508
|
+
this.pdsOpen = new EventEmitter();
|
|
1509
|
+
/** Fired after the sheet closed. Detail: `{ returnValue }`. */
|
|
1510
|
+
this.pdsClose = new EventEmitter();
|
|
1511
|
+
/** Cancelable; fired when Escape, backdrop or close button asks to close. Detail: `{ reason }`. */
|
|
1512
|
+
this.pdsRequestClose = new EventEmitter();
|
|
1513
|
+
this.pdsForward('pds-open', this.pdsOpen);
|
|
1514
|
+
this.pdsForward('pds-close', this.pdsClose);
|
|
1515
|
+
this.pdsForward('pds-request-close', this.pdsRequestClose);
|
|
1516
|
+
}
|
|
1517
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSheetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1518
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsSheetComponent, isStandalone: true, selector: "pds-sheet", inputs: { dismissible: ["dismissible", "dismissible", booleanAttribute], heading: "heading", open: ["open", "open", booleanAttribute], placement: "placement", returnValue: "returnValue", closeLabel: ["close-label", "closeLabel"] }, outputs: { pdsOpen: "pdsOpen", pdsClose: "pdsClose", pdsRequestClose: "pdsRequestClose" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1519
|
+
}
|
|
1520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSheetComponent, decorators: [{
|
|
1521
|
+
type: Component,
|
|
1522
|
+
args: [{
|
|
1523
|
+
selector: 'pds-sheet',
|
|
1524
|
+
standalone: true,
|
|
1525
|
+
template: '<ng-content></ng-content>',
|
|
1526
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1527
|
+
encapsulation: ViewEncapsulation.None,
|
|
1528
|
+
}]
|
|
1529
|
+
}], ctorParameters: () => [], propDecorators: { dismissible: [{
|
|
1530
|
+
type: Input,
|
|
1531
|
+
args: [{ transform: booleanAttribute }]
|
|
1532
|
+
}], heading: [{
|
|
1533
|
+
type: Input
|
|
1534
|
+
}], open: [{
|
|
1535
|
+
type: Input,
|
|
1536
|
+
args: [{ transform: booleanAttribute }]
|
|
1537
|
+
}], placement: [{
|
|
1538
|
+
type: Input
|
|
1539
|
+
}], returnValue: [{
|
|
1540
|
+
type: Input
|
|
1541
|
+
}], closeLabel: [{
|
|
1542
|
+
type: Input,
|
|
1543
|
+
args: ['close-label']
|
|
1544
|
+
}], pdsOpen: [{
|
|
1545
|
+
type: Output
|
|
1546
|
+
}], pdsClose: [{
|
|
1547
|
+
type: Output
|
|
1548
|
+
}], pdsRequestClose: [{
|
|
1549
|
+
type: Output
|
|
1550
|
+
}] } });
|
|
1551
|
+
/** Vertical navigation container for `pds-sidebar-item` and `pds-sidebar-group`. */
|
|
1552
|
+
class PdsSidebarComponent extends PdsComponentBase {
|
|
1553
|
+
set collapsed(value) {
|
|
1554
|
+
this.pdsSetProperty('collapsed', value);
|
|
1555
|
+
}
|
|
1556
|
+
set label(value) {
|
|
1557
|
+
this.pdsSetProperty('label', value);
|
|
1558
|
+
}
|
|
1559
|
+
constructor() {
|
|
1560
|
+
super(definePdsSidebar);
|
|
1561
|
+
}
|
|
1562
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1563
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsSidebarComponent, isStandalone: true, selector: "pds-sidebar", inputs: { collapsed: ["collapsed", "collapsed", booleanAttribute], label: "label" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1564
|
+
}
|
|
1565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarComponent, decorators: [{
|
|
1566
|
+
type: Component,
|
|
1567
|
+
args: [{
|
|
1568
|
+
selector: 'pds-sidebar',
|
|
1569
|
+
standalone: true,
|
|
1570
|
+
template: '<ng-content></ng-content>',
|
|
1571
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1572
|
+
encapsulation: ViewEncapsulation.None,
|
|
1573
|
+
}]
|
|
1574
|
+
}], ctorParameters: () => [], propDecorators: { collapsed: [{
|
|
1575
|
+
type: Input,
|
|
1576
|
+
args: [{ transform: booleanAttribute }]
|
|
1577
|
+
}], label: [{
|
|
1578
|
+
type: Input
|
|
1579
|
+
}] } });
|
|
1580
|
+
/** A collapsible section of `pds-sidebar-item`s. */
|
|
1581
|
+
class PdsSidebarGroupComponent extends PdsComponentBase {
|
|
1582
|
+
/** Set by the parent sidebar: icon-only mode shows items directly without a heading. */
|
|
1583
|
+
set collapsed(value) {
|
|
1584
|
+
this.pdsSetProperty('collapsed', value);
|
|
1585
|
+
}
|
|
1586
|
+
set expanded(value) {
|
|
1587
|
+
this.pdsSetProperty('expanded', value);
|
|
1588
|
+
}
|
|
1589
|
+
set label(value) {
|
|
1590
|
+
this.pdsSetProperty('label', value);
|
|
1591
|
+
}
|
|
1592
|
+
constructor() {
|
|
1593
|
+
super(definePdsSidebarGroup);
|
|
1594
|
+
/** Fired when the heading is toggled. Detail: `{ expanded }`. */
|
|
1595
|
+
this.pdsToggle = new EventEmitter();
|
|
1596
|
+
this.pdsForward('pds-toggle', this.pdsToggle);
|
|
1597
|
+
}
|
|
1598
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1599
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsSidebarGroupComponent, isStandalone: true, selector: "pds-sidebar-group", inputs: { collapsed: ["collapsed", "collapsed", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute], label: "label" }, outputs: { pdsToggle: "pdsToggle" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1600
|
+
}
|
|
1601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarGroupComponent, decorators: [{
|
|
1602
|
+
type: Component,
|
|
1603
|
+
args: [{
|
|
1604
|
+
selector: 'pds-sidebar-group',
|
|
1605
|
+
standalone: true,
|
|
1606
|
+
template: '<ng-content></ng-content>',
|
|
1607
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1608
|
+
encapsulation: ViewEncapsulation.None,
|
|
1609
|
+
}]
|
|
1610
|
+
}], ctorParameters: () => [], propDecorators: { collapsed: [{
|
|
1611
|
+
type: Input,
|
|
1612
|
+
args: [{ transform: booleanAttribute }]
|
|
1613
|
+
}], expanded: [{
|
|
1614
|
+
type: Input,
|
|
1615
|
+
args: [{ transform: booleanAttribute }]
|
|
1616
|
+
}], label: [{
|
|
1617
|
+
type: Input
|
|
1618
|
+
}], pdsToggle: [{
|
|
1619
|
+
type: Output
|
|
1620
|
+
}] } });
|
|
1621
|
+
/** An item inside `pds-sidebar`. */
|
|
1622
|
+
class PdsSidebarItemComponent extends PdsComponentBase {
|
|
1623
|
+
set active(value) {
|
|
1624
|
+
this.pdsSetProperty('active', value);
|
|
1625
|
+
}
|
|
1626
|
+
/** Set by the parent sidebar. */
|
|
1627
|
+
set collapsed(value) {
|
|
1628
|
+
this.pdsSetProperty('collapsed', value);
|
|
1629
|
+
}
|
|
1630
|
+
set disabled(value) {
|
|
1631
|
+
this.pdsSetProperty('disabled', value);
|
|
1632
|
+
}
|
|
1633
|
+
set href(value) {
|
|
1634
|
+
this.pdsSetProperty('href', value);
|
|
1635
|
+
}
|
|
1636
|
+
set label(value) {
|
|
1637
|
+
this.pdsSetProperty('label', value);
|
|
1638
|
+
}
|
|
1639
|
+
constructor() {
|
|
1640
|
+
super(definePdsSidebarItem);
|
|
1641
|
+
/** Fired when a button-type item is activated. */
|
|
1642
|
+
this.pdsClick = new EventEmitter();
|
|
1643
|
+
this.pdsForward('pds-click', this.pdsClick);
|
|
1644
|
+
}
|
|
1645
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1646
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsSidebarItemComponent, isStandalone: true, selector: "pds-sidebar-item", inputs: { active: ["active", "active", booleanAttribute], collapsed: ["collapsed", "collapsed", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], href: "href", label: "label" }, outputs: { pdsClick: "pdsClick" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1647
|
+
}
|
|
1648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSidebarItemComponent, decorators: [{
|
|
1649
|
+
type: Component,
|
|
1650
|
+
args: [{
|
|
1651
|
+
selector: 'pds-sidebar-item',
|
|
1652
|
+
standalone: true,
|
|
1653
|
+
template: '<ng-content></ng-content>',
|
|
1654
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1655
|
+
encapsulation: ViewEncapsulation.None,
|
|
1656
|
+
}]
|
|
1657
|
+
}], ctorParameters: () => [], propDecorators: { active: [{
|
|
1658
|
+
type: Input,
|
|
1659
|
+
args: [{ transform: booleanAttribute }]
|
|
1660
|
+
}], collapsed: [{
|
|
1661
|
+
type: Input,
|
|
1662
|
+
args: [{ transform: booleanAttribute }]
|
|
1663
|
+
}], disabled: [{
|
|
1664
|
+
type: Input,
|
|
1665
|
+
args: [{ transform: booleanAttribute }]
|
|
1666
|
+
}], href: [{
|
|
1667
|
+
type: Input
|
|
1668
|
+
}], label: [{
|
|
1669
|
+
type: Input
|
|
1670
|
+
}], pdsClick: [{
|
|
1671
|
+
type: Output
|
|
1672
|
+
}] } });
|
|
1673
|
+
/** Lets keyboard users skip repeated content. */
|
|
1674
|
+
class PdsSkipLinkComponent extends PdsComponentBase {
|
|
1675
|
+
set href(value) {
|
|
1676
|
+
this.pdsSetProperty('href', value);
|
|
1677
|
+
}
|
|
1678
|
+
constructor() {
|
|
1679
|
+
super(definePdsSkipLink);
|
|
1680
|
+
}
|
|
1681
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSkipLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1682
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsSkipLinkComponent, isStandalone: true, selector: "pds-skip-link", inputs: { href: "href" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1683
|
+
}
|
|
1684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSkipLinkComponent, decorators: [{
|
|
1685
|
+
type: Component,
|
|
1686
|
+
args: [{
|
|
1687
|
+
selector: 'pds-skip-link',
|
|
1688
|
+
standalone: true,
|
|
1689
|
+
template: '<ng-content></ng-content>',
|
|
1690
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1691
|
+
encapsulation: ViewEncapsulation.None,
|
|
1692
|
+
}]
|
|
1693
|
+
}], ctorParameters: () => [], propDecorators: { href: [{
|
|
1694
|
+
type: Input
|
|
1695
|
+
}] } });
|
|
1696
|
+
/** Slabs divide a page into full-width sections. */
|
|
1697
|
+
class PdsSlabComponent extends PdsComponentBase {
|
|
1698
|
+
set size(value) {
|
|
1699
|
+
this.pdsSetProperty('size', value);
|
|
1700
|
+
}
|
|
1701
|
+
set variant(value) {
|
|
1702
|
+
this.pdsSetProperty('variant', value);
|
|
1703
|
+
}
|
|
1704
|
+
constructor() {
|
|
1705
|
+
super(definePdsSlab);
|
|
1706
|
+
}
|
|
1707
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSlabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1708
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsSlabComponent, isStandalone: true, selector: "pds-slab", inputs: { size: "size", variant: "variant" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1709
|
+
}
|
|
1710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsSlabComponent, decorators: [{
|
|
1711
|
+
type: Component,
|
|
1712
|
+
args: [{
|
|
1713
|
+
selector: 'pds-slab',
|
|
1714
|
+
standalone: true,
|
|
1715
|
+
template: '<ng-content></ng-content>',
|
|
1716
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1717
|
+
encapsulation: ViewEncapsulation.None,
|
|
1718
|
+
}]
|
|
1719
|
+
}], ctorParameters: () => [], propDecorators: { size: [{
|
|
1720
|
+
type: Input
|
|
1721
|
+
}], variant: [{
|
|
1722
|
+
type: Input
|
|
1723
|
+
}] } });
|
|
1724
|
+
/** Shows a status as a coloured dot plus label. */
|
|
1725
|
+
class PdsStatusComponent extends PdsComponentBase {
|
|
1726
|
+
set status(value) {
|
|
1727
|
+
this.pdsSetProperty('status', value);
|
|
1728
|
+
}
|
|
1729
|
+
constructor() {
|
|
1730
|
+
super(definePdsStatus);
|
|
1731
|
+
}
|
|
1732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1733
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsStatusComponent, isStandalone: true, selector: "pds-status", inputs: { status: "status" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1734
|
+
}
|
|
1735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsStatusComponent, decorators: [{
|
|
1736
|
+
type: Component,
|
|
1737
|
+
args: [{
|
|
1738
|
+
selector: 'pds-status',
|
|
1739
|
+
standalone: true,
|
|
1740
|
+
template: '<ng-content></ng-content>',
|
|
1741
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1742
|
+
encapsulation: ViewEncapsulation.None,
|
|
1743
|
+
}]
|
|
1744
|
+
}], ctorParameters: () => [], propDecorators: { status: [{
|
|
1745
|
+
type: Input
|
|
1746
|
+
}] } });
|
|
1747
|
+
/** Tab button of a tab list. */
|
|
1748
|
+
class PdsTabComponent extends PdsComponentBase {
|
|
1749
|
+
set disabled(value) {
|
|
1750
|
+
this.pdsSetProperty('disabled', value);
|
|
1751
|
+
}
|
|
1752
|
+
set panel(value) {
|
|
1753
|
+
this.pdsSetProperty('panel', value);
|
|
1754
|
+
}
|
|
1755
|
+
/** True once the tab is connected; lets the parent ignore tabs that are not initialised yet. */
|
|
1756
|
+
set ready(value) {
|
|
1757
|
+
this.pdsSetProperty('ready', value);
|
|
1758
|
+
}
|
|
1759
|
+
set selected(value) {
|
|
1760
|
+
this.pdsSetProperty('selected', value);
|
|
1761
|
+
}
|
|
1762
|
+
constructor() {
|
|
1763
|
+
super(definePdsTab);
|
|
1764
|
+
}
|
|
1765
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1766
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsTabComponent, isStandalone: true, selector: "pds-tab", inputs: { disabled: ["disabled", "disabled", booleanAttribute], panel: "panel", ready: ["ready", "ready", booleanAttribute], selected: ["selected", "selected", booleanAttribute] }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1767
|
+
}
|
|
1768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabComponent, decorators: [{
|
|
1769
|
+
type: Component,
|
|
1770
|
+
args: [{
|
|
1771
|
+
selector: 'pds-tab',
|
|
1772
|
+
standalone: true,
|
|
1773
|
+
template: '<ng-content></ng-content>',
|
|
1774
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1775
|
+
encapsulation: ViewEncapsulation.None,
|
|
1776
|
+
}]
|
|
1777
|
+
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
1778
|
+
type: Input,
|
|
1779
|
+
args: [{ transform: booleanAttribute }]
|
|
1780
|
+
}], panel: [{
|
|
1781
|
+
type: Input
|
|
1782
|
+
}], ready: [{
|
|
1783
|
+
type: Input,
|
|
1784
|
+
args: [{ transform: booleanAttribute }]
|
|
1785
|
+
}], selected: [{
|
|
1786
|
+
type: Input,
|
|
1787
|
+
args: [{ transform: booleanAttribute }]
|
|
1788
|
+
}] } });
|
|
1789
|
+
/** Panel shown when its tab is selected. */
|
|
1790
|
+
class PdsTabPanelComponent extends PdsComponentBase {
|
|
1791
|
+
constructor() {
|
|
1792
|
+
super(definePdsTabPanel);
|
|
1793
|
+
}
|
|
1794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1795
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsTabPanelComponent, isStandalone: true, selector: "pds-tab-panel", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1796
|
+
}
|
|
1797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabPanelComponent, decorators: [{
|
|
1798
|
+
type: Component,
|
|
1799
|
+
args: [{
|
|
1800
|
+
selector: 'pds-tab-panel',
|
|
1801
|
+
standalone: true,
|
|
1802
|
+
template: '<ng-content></ng-content>',
|
|
1803
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1804
|
+
encapsulation: ViewEncapsulation.None,
|
|
1805
|
+
}]
|
|
1806
|
+
}], ctorParameters: () => [] });
|
|
1807
|
+
/** Styled, scrollable and optionally sortable data table. */
|
|
1808
|
+
class PdsTableComponent extends PdsComponentBase {
|
|
1809
|
+
set bordered(value) {
|
|
1810
|
+
this.pdsSetProperty('bordered', value);
|
|
1811
|
+
}
|
|
1812
|
+
set compact(value) {
|
|
1813
|
+
this.pdsSetProperty('compact', value);
|
|
1814
|
+
}
|
|
1815
|
+
set label(value) {
|
|
1816
|
+
this.pdsSetProperty('label', value);
|
|
1817
|
+
}
|
|
1818
|
+
set stickyHeader(value) {
|
|
1819
|
+
this.pdsSetProperty('stickyHeader', value);
|
|
1820
|
+
}
|
|
1821
|
+
set striped(value) {
|
|
1822
|
+
this.pdsSetProperty('striped', value);
|
|
1823
|
+
}
|
|
1824
|
+
/** CSS max-height of the scroll region (e.g. `20rem`). */
|
|
1825
|
+
set maxHeight(value) {
|
|
1826
|
+
this.pdsSetAttribute('max-height', value);
|
|
1827
|
+
}
|
|
1828
|
+
constructor() {
|
|
1829
|
+
super(definePdsTable);
|
|
1830
|
+
/** Fired after a column is sorted. Detail: `{ column, direction }`. */
|
|
1831
|
+
this.pdsSort = new EventEmitter();
|
|
1832
|
+
this.pdsForward('pds-sort', this.pdsSort);
|
|
1833
|
+
}
|
|
1834
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1835
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsTableComponent, isStandalone: true, selector: "pds-table", inputs: { bordered: ["bordered", "bordered", booleanAttribute], compact: ["compact", "compact", booleanAttribute], label: "label", stickyHeader: ["stickyHeader", "stickyHeader", booleanAttribute], striped: ["striped", "striped", booleanAttribute], maxHeight: ["max-height", "maxHeight"] }, outputs: { pdsSort: "pdsSort" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1836
|
+
}
|
|
1837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTableComponent, decorators: [{
|
|
1838
|
+
type: Component,
|
|
1839
|
+
args: [{
|
|
1840
|
+
selector: 'pds-table',
|
|
1841
|
+
standalone: true,
|
|
1842
|
+
template: '<ng-content></ng-content>',
|
|
1843
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1844
|
+
encapsulation: ViewEncapsulation.None,
|
|
1845
|
+
}]
|
|
1846
|
+
}], ctorParameters: () => [], propDecorators: { bordered: [{
|
|
1847
|
+
type: Input,
|
|
1848
|
+
args: [{ transform: booleanAttribute }]
|
|
1849
|
+
}], compact: [{
|
|
1850
|
+
type: Input,
|
|
1851
|
+
args: [{ transform: booleanAttribute }]
|
|
1852
|
+
}], label: [{
|
|
1853
|
+
type: Input
|
|
1854
|
+
}], stickyHeader: [{
|
|
1855
|
+
type: Input,
|
|
1856
|
+
args: [{ transform: booleanAttribute }]
|
|
1857
|
+
}], striped: [{
|
|
1858
|
+
type: Input,
|
|
1859
|
+
args: [{ transform: booleanAttribute }]
|
|
1860
|
+
}], maxHeight: [{
|
|
1861
|
+
type: Input,
|
|
1862
|
+
args: ['max-height']
|
|
1863
|
+
}], pdsSort: [{
|
|
1864
|
+
type: Output
|
|
1865
|
+
}] } });
|
|
1866
|
+
/** Tabs switch between related panels. */
|
|
1867
|
+
class PdsTabsComponent extends PdsComponentBase {
|
|
1868
|
+
set label(value) {
|
|
1869
|
+
this.pdsSetProperty('label', value);
|
|
1870
|
+
}
|
|
1871
|
+
set orientation(value) {
|
|
1872
|
+
this.pdsSetProperty('orientation', value);
|
|
1873
|
+
}
|
|
1874
|
+
set value(value) {
|
|
1875
|
+
this.pdsSetProperty('value', value);
|
|
1876
|
+
}
|
|
1877
|
+
constructor() {
|
|
1878
|
+
super(definePdsTabs);
|
|
1879
|
+
/** Fired when the user selects a tab. Detail: `{ index, value }` (value is the panel id). */
|
|
1880
|
+
this.pdsChange = new EventEmitter();
|
|
1881
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
1882
|
+
}
|
|
1883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1884
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsTabsComponent, isStandalone: true, selector: "pds-tabs", inputs: { label: "label", orientation: "orientation", value: "value" }, outputs: { pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1885
|
+
}
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTabsComponent, decorators: [{
|
|
1887
|
+
type: Component,
|
|
1888
|
+
args: [{
|
|
1889
|
+
selector: 'pds-tabs',
|
|
1890
|
+
standalone: true,
|
|
1891
|
+
template: '<ng-content></ng-content>',
|
|
1892
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1893
|
+
encapsulation: ViewEncapsulation.None,
|
|
1894
|
+
}]
|
|
1895
|
+
}], ctorParameters: () => [], propDecorators: { label: [{
|
|
1896
|
+
type: Input
|
|
1897
|
+
}], orientation: [{
|
|
1898
|
+
type: Input
|
|
1899
|
+
}], value: [{
|
|
1900
|
+
type: Input
|
|
1901
|
+
}], pdsChange: [{
|
|
1902
|
+
type: Output
|
|
1903
|
+
}] } });
|
|
1904
|
+
/** Tags label or categorise content. */
|
|
1905
|
+
class PdsTagComponent extends PdsComponentBase {
|
|
1906
|
+
set removable(value) {
|
|
1907
|
+
this.pdsSetProperty('removable', value);
|
|
1908
|
+
}
|
|
1909
|
+
set size(value) {
|
|
1910
|
+
this.pdsSetProperty('size', value);
|
|
1911
|
+
}
|
|
1912
|
+
set variant(value) {
|
|
1913
|
+
this.pdsSetProperty('variant', value);
|
|
1914
|
+
}
|
|
1915
|
+
constructor() {
|
|
1916
|
+
super(definePdsTag);
|
|
1917
|
+
/** Fired (cancelable) when the remove button is activated. The tag removes itself unless prevented. */
|
|
1918
|
+
this.pdsRemove = new EventEmitter();
|
|
1919
|
+
this.pdsForward('pds-remove', this.pdsRemove);
|
|
1920
|
+
}
|
|
1921
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1922
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsTagComponent, isStandalone: true, selector: "pds-tag", inputs: { removable: ["removable", "removable", booleanAttribute], size: "size", variant: "variant" }, outputs: { pdsRemove: "pdsRemove" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1923
|
+
}
|
|
1924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTagComponent, decorators: [{
|
|
1925
|
+
type: Component,
|
|
1926
|
+
args: [{
|
|
1927
|
+
selector: 'pds-tag',
|
|
1928
|
+
standalone: true,
|
|
1929
|
+
template: '<ng-content></ng-content>',
|
|
1930
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1931
|
+
encapsulation: ViewEncapsulation.None,
|
|
1932
|
+
}]
|
|
1933
|
+
}], ctorParameters: () => [], propDecorators: { removable: [{
|
|
1934
|
+
type: Input,
|
|
1935
|
+
args: [{ transform: booleanAttribute }]
|
|
1936
|
+
}], size: [{
|
|
1937
|
+
type: Input
|
|
1938
|
+
}], variant: [{
|
|
1939
|
+
type: Input
|
|
1940
|
+
}], pdsRemove: [{
|
|
1941
|
+
type: Output
|
|
1942
|
+
}] } });
|
|
1943
|
+
/** Toasts show short-lived, non-blocking feedback. */
|
|
1944
|
+
class PdsToastComponent extends PdsComponentBase {
|
|
1945
|
+
set dismissible(value) {
|
|
1946
|
+
this.pdsSetProperty('dismissible', value);
|
|
1947
|
+
}
|
|
1948
|
+
set duration(value) {
|
|
1949
|
+
this.pdsSetProperty('duration', value);
|
|
1950
|
+
}
|
|
1951
|
+
set heading(value) {
|
|
1952
|
+
this.pdsSetProperty('heading', value);
|
|
1953
|
+
}
|
|
1954
|
+
set variant(value) {
|
|
1955
|
+
this.pdsSetProperty('variant', value);
|
|
1956
|
+
}
|
|
1957
|
+
/** Accessible label of the close button. Default `Dismiss`. */
|
|
1958
|
+
set closeLabel(value) {
|
|
1959
|
+
this.pdsSetAttribute('close-label', value);
|
|
1960
|
+
}
|
|
1961
|
+
constructor() {
|
|
1962
|
+
super(definePdsToast);
|
|
1963
|
+
/** Fired before the toast is removed (cancelable). Detail: `{ reason: 'timeout' | 'close-button' | 'programmatic' }`. */
|
|
1964
|
+
this.pdsDismiss = new EventEmitter();
|
|
1965
|
+
this.pdsForward('pds-dismiss', this.pdsDismiss);
|
|
1966
|
+
}
|
|
1967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1968
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsToastComponent, isStandalone: true, selector: "pds-toast", inputs: { dismissible: ["dismissible", "dismissible", booleanAttribute], duration: ["duration", "duration", numberAttribute], heading: "heading", variant: "variant", closeLabel: ["close-label", "closeLabel"] }, outputs: { pdsDismiss: "pdsDismiss" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1969
|
+
}
|
|
1970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToastComponent, decorators: [{
|
|
1971
|
+
type: Component,
|
|
1972
|
+
args: [{
|
|
1973
|
+
selector: 'pds-toast',
|
|
1974
|
+
standalone: true,
|
|
1975
|
+
template: '<ng-content></ng-content>',
|
|
1976
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1977
|
+
encapsulation: ViewEncapsulation.None,
|
|
1978
|
+
}]
|
|
1979
|
+
}], ctorParameters: () => [], propDecorators: { dismissible: [{
|
|
1980
|
+
type: Input,
|
|
1981
|
+
args: [{ transform: booleanAttribute }]
|
|
1982
|
+
}], duration: [{
|
|
1983
|
+
type: Input,
|
|
1984
|
+
args: [{ transform: numberAttribute }]
|
|
1985
|
+
}], heading: [{
|
|
1986
|
+
type: Input
|
|
1987
|
+
}], variant: [{
|
|
1988
|
+
type: Input
|
|
1989
|
+
}], closeLabel: [{
|
|
1990
|
+
type: Input,
|
|
1991
|
+
args: ['close-label']
|
|
1992
|
+
}], pdsDismiss: [{
|
|
1993
|
+
type: Output
|
|
1994
|
+
}] } });
|
|
1995
|
+
/** Container that stacks and announces `pds-toast` elements. */
|
|
1996
|
+
class PdsToastRegionComponent extends PdsComponentBase {
|
|
1997
|
+
constructor() {
|
|
1998
|
+
super(defineAll);
|
|
1999
|
+
}
|
|
2000
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToastRegionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2001
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PdsToastRegionComponent, isStandalone: true, selector: "pds-toast-region", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2002
|
+
}
|
|
2003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToastRegionComponent, decorators: [{
|
|
2004
|
+
type: Component,
|
|
2005
|
+
args: [{
|
|
2006
|
+
selector: 'pds-toast-region',
|
|
2007
|
+
standalone: true,
|
|
2008
|
+
template: '<ng-content></ng-content>',
|
|
2009
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2010
|
+
encapsulation: ViewEncapsulation.None,
|
|
2011
|
+
}]
|
|
2012
|
+
}], ctorParameters: () => [] });
|
|
2013
|
+
/** Switch for immediately-applied on/off settings. */
|
|
2014
|
+
class PdsToggleboxComponent extends PdsComponentBase {
|
|
2015
|
+
/** Current state (the attribute is the initial state). */
|
|
2016
|
+
set checked(value) {
|
|
2017
|
+
this.pdsSetProperty('checked', value);
|
|
2018
|
+
}
|
|
2019
|
+
set disabled(value) {
|
|
2020
|
+
this.pdsSetProperty('disabled', value);
|
|
2021
|
+
}
|
|
2022
|
+
set errorText(value) {
|
|
2023
|
+
this.pdsSetProperty('errorText', value);
|
|
2024
|
+
}
|
|
2025
|
+
set helperText(value) {
|
|
2026
|
+
this.pdsSetProperty('helperText', value);
|
|
2027
|
+
}
|
|
2028
|
+
set label(value) {
|
|
2029
|
+
this.pdsSetProperty('label', value);
|
|
2030
|
+
}
|
|
2031
|
+
set name(value) {
|
|
2032
|
+
this.pdsSetProperty('name', value);
|
|
2033
|
+
}
|
|
2034
|
+
set required(value) {
|
|
2035
|
+
this.pdsSetProperty('required', value);
|
|
2036
|
+
}
|
|
2037
|
+
set value(value) {
|
|
2038
|
+
this.pdsSetProperty('value', value);
|
|
2039
|
+
}
|
|
2040
|
+
constructor() {
|
|
2041
|
+
super(definePdsTogglebox);
|
|
2042
|
+
/** Fired when toggled by the user. Detail: `{ checked, value }`. */
|
|
2043
|
+
this.pdsChange = new EventEmitter();
|
|
2044
|
+
this.pdsForward('pds-change', this.pdsChange);
|
|
2045
|
+
}
|
|
2046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToggleboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2047
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsToggleboxComponent, isStandalone: true, selector: "pds-togglebox", inputs: { checked: ["checked", "checked", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], errorText: "errorText", helperText: "helperText", label: "label", name: "name", required: ["required", "required", booleanAttribute], value: "value" }, outputs: { pdsChange: "pdsChange" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2048
|
+
}
|
|
2049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsToggleboxComponent, decorators: [{
|
|
2050
|
+
type: Component,
|
|
2051
|
+
args: [{
|
|
2052
|
+
selector: 'pds-togglebox',
|
|
2053
|
+
standalone: true,
|
|
2054
|
+
template: '<ng-content></ng-content>',
|
|
2055
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2056
|
+
encapsulation: ViewEncapsulation.None,
|
|
2057
|
+
}]
|
|
2058
|
+
}], ctorParameters: () => [], propDecorators: { checked: [{
|
|
2059
|
+
type: Input,
|
|
2060
|
+
args: [{ transform: booleanAttribute }]
|
|
2061
|
+
}], disabled: [{
|
|
2062
|
+
type: Input,
|
|
2063
|
+
args: [{ transform: booleanAttribute }]
|
|
2064
|
+
}], errorText: [{
|
|
2065
|
+
type: Input
|
|
2066
|
+
}], helperText: [{
|
|
2067
|
+
type: Input
|
|
2068
|
+
}], label: [{
|
|
2069
|
+
type: Input
|
|
2070
|
+
}], name: [{
|
|
2071
|
+
type: Input
|
|
2072
|
+
}], required: [{
|
|
2073
|
+
type: Input,
|
|
2074
|
+
args: [{ transform: booleanAttribute }]
|
|
2075
|
+
}], value: [{
|
|
2076
|
+
type: Input
|
|
2077
|
+
}], pdsChange: [{
|
|
2078
|
+
type: Output
|
|
2079
|
+
}] } });
|
|
2080
|
+
/** Tooltips show short supplementary text for a control. */
|
|
2081
|
+
class PdsTooltipComponent extends PdsComponentBase {
|
|
2082
|
+
set content(value) {
|
|
2083
|
+
this.pdsSetProperty('content', value);
|
|
2084
|
+
}
|
|
2085
|
+
set delay(value) {
|
|
2086
|
+
this.pdsSetProperty('delay', value);
|
|
2087
|
+
}
|
|
2088
|
+
set hide(value) {
|
|
2089
|
+
this.pdsSetProperty('hide', value);
|
|
2090
|
+
}
|
|
2091
|
+
set placement(value) {
|
|
2092
|
+
this.pdsSetProperty('placement', value);
|
|
2093
|
+
}
|
|
2094
|
+
constructor() {
|
|
2095
|
+
super(definePdsTooltip);
|
|
2096
|
+
}
|
|
2097
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2098
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsTooltipComponent, isStandalone: true, selector: "pds-tooltip", inputs: { content: "content", delay: ["delay", "delay", numberAttribute], hide: "hide", placement: "placement" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2099
|
+
}
|
|
2100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTooltipComponent, decorators: [{
|
|
2101
|
+
type: Component,
|
|
2102
|
+
args: [{
|
|
2103
|
+
selector: 'pds-tooltip',
|
|
2104
|
+
standalone: true,
|
|
2105
|
+
template: '<ng-content></ng-content>',
|
|
2106
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2107
|
+
encapsulation: ViewEncapsulation.None,
|
|
2108
|
+
}]
|
|
2109
|
+
}], ctorParameters: () => [], propDecorators: { content: [{
|
|
2110
|
+
type: Input
|
|
2111
|
+
}], delay: [{
|
|
2112
|
+
type: Input,
|
|
2113
|
+
args: [{ transform: numberAttribute }]
|
|
2114
|
+
}], hide: [{
|
|
2115
|
+
type: Input
|
|
2116
|
+
}], placement: [{
|
|
2117
|
+
type: Input
|
|
2118
|
+
}] } });
|
|
2119
|
+
/** Responsive application header. */
|
|
2120
|
+
class PdsTopbarComponent extends PdsComponentBase {
|
|
2121
|
+
set breakpoint(value) {
|
|
2122
|
+
this.pdsSetProperty('breakpoint', value);
|
|
2123
|
+
}
|
|
2124
|
+
set label(value) {
|
|
2125
|
+
this.pdsSetProperty('label', value);
|
|
2126
|
+
}
|
|
2127
|
+
set menuLabel(value) {
|
|
2128
|
+
this.pdsSetProperty('menuLabel', value);
|
|
2129
|
+
}
|
|
2130
|
+
set open(value) {
|
|
2131
|
+
this.pdsSetProperty('open', value);
|
|
2132
|
+
}
|
|
2133
|
+
constructor() {
|
|
2134
|
+
super(definePdsTopbar);
|
|
2135
|
+
/** Fired when the menu is opened or closed. Detail: `{ open }`. */
|
|
2136
|
+
this.pdsMenuToggle = new EventEmitter();
|
|
2137
|
+
this.pdsForward('pds-menu-toggle', this.pdsMenuToggle);
|
|
2138
|
+
}
|
|
2139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2140
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.14", type: PdsTopbarComponent, isStandalone: true, selector: "pds-topbar", inputs: { breakpoint: "breakpoint", label: "label", menuLabel: "menuLabel", open: ["open", "open", booleanAttribute] }, outputs: { pdsMenuToggle: "pdsMenuToggle" }, usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
2141
|
+
}
|
|
2142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsTopbarComponent, decorators: [{
|
|
2143
|
+
type: Component,
|
|
2144
|
+
args: [{
|
|
2145
|
+
selector: 'pds-topbar',
|
|
2146
|
+
standalone: true,
|
|
2147
|
+
template: '<ng-content></ng-content>',
|
|
2148
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2149
|
+
encapsulation: ViewEncapsulation.None,
|
|
2150
|
+
}]
|
|
2151
|
+
}], ctorParameters: () => [], propDecorators: { breakpoint: [{
|
|
2152
|
+
type: Input
|
|
2153
|
+
}], label: [{
|
|
2154
|
+
type: Input
|
|
2155
|
+
}], menuLabel: [{
|
|
2156
|
+
type: Input
|
|
2157
|
+
}], open: [{
|
|
2158
|
+
type: Input,
|
|
2159
|
+
args: [{ transform: booleanAttribute }]
|
|
2160
|
+
}], pdsMenuToggle: [{
|
|
2161
|
+
type: Output
|
|
2162
|
+
}] } });
|
|
2163
|
+
const PDS_ELEMENT_COMPONENTS = [
|
|
2164
|
+
PdsAccordionComponent,
|
|
2165
|
+
PdsAccordionItemComponent,
|
|
2166
|
+
PdsAlertComponent,
|
|
2167
|
+
PdsBadgeComponent,
|
|
2168
|
+
PdsBreadcrumbComponent,
|
|
2169
|
+
PdsBreadcrumbItemComponent,
|
|
2170
|
+
PdsButtonComponent,
|
|
2171
|
+
PdsCardComponent,
|
|
2172
|
+
PdsCheckboxComponent,
|
|
2173
|
+
PdsDatepickerComponent,
|
|
2174
|
+
PdsDialogComponent,
|
|
2175
|
+
PdsDropdownComponent,
|
|
2176
|
+
PdsDropdownItemComponent,
|
|
2177
|
+
PdsExpandableComponent,
|
|
2178
|
+
PdsInputComponent,
|
|
2179
|
+
PdsLinkComponent,
|
|
2180
|
+
PdsListComponent,
|
|
2181
|
+
PdsListItemComponent,
|
|
2182
|
+
PdsLoaderComponent,
|
|
2183
|
+
PdsMediaObjectComponent,
|
|
2184
|
+
PdsPaginationComponent,
|
|
2185
|
+
PdsPanelComponent,
|
|
2186
|
+
PdsProgressStepComponent,
|
|
2187
|
+
PdsProgressStepsComponent,
|
|
2188
|
+
PdsRadioComponent,
|
|
2189
|
+
PdsRadioGroupComponent,
|
|
2190
|
+
PdsRangesliderComponent,
|
|
2191
|
+
PdsSelectComponent,
|
|
2192
|
+
PdsSheetComponent,
|
|
2193
|
+
PdsSidebarComponent,
|
|
2194
|
+
PdsSidebarGroupComponent,
|
|
2195
|
+
PdsSidebarItemComponent,
|
|
2196
|
+
PdsSkipLinkComponent,
|
|
2197
|
+
PdsSlabComponent,
|
|
2198
|
+
PdsStatusComponent,
|
|
2199
|
+
PdsTabComponent,
|
|
2200
|
+
PdsTabPanelComponent,
|
|
2201
|
+
PdsTableComponent,
|
|
2202
|
+
PdsTabsComponent,
|
|
2203
|
+
PdsTagComponent,
|
|
2204
|
+
PdsToastComponent,
|
|
2205
|
+
PdsToastRegionComponent,
|
|
2206
|
+
PdsToggleboxComponent,
|
|
2207
|
+
PdsTooltipComponent,
|
|
2208
|
+
PdsTopbarComponent,
|
|
2209
|
+
];
|
|
2210
|
+
|
|
2211
|
+
/** Generic `ControlValueAccessor`; the generated directive supplies selectors and the per-tag config. */
|
|
2212
|
+
class PdsValueAccessorBase {
|
|
2213
|
+
constructor(controls) {
|
|
2214
|
+
this.host = inject(ElementRef).nativeElement;
|
|
2215
|
+
this.zone = inject(NgZone);
|
|
2216
|
+
this.onChange = () => { };
|
|
2217
|
+
this.onTouched = () => { };
|
|
2218
|
+
const tag = this.host.tagName.toLowerCase();
|
|
2219
|
+
const config = controls[tag];
|
|
2220
|
+
if (!config)
|
|
2221
|
+
throw new Error(`No form control config for <${tag}>`);
|
|
2222
|
+
this.config = config;
|
|
2223
|
+
const destroyRef = inject(DestroyRef);
|
|
2224
|
+
const changed = () => this.zone.run(() => this.onChange(this.read()));
|
|
2225
|
+
const touched = () => this.zone.run(() => this.onTouched());
|
|
2226
|
+
this.zone.runOutsideAngular(() => {
|
|
2227
|
+
for (const name of config.events)
|
|
2228
|
+
this.host.addEventListener(name, changed);
|
|
2229
|
+
this.host.addEventListener('focusout', touched);
|
|
2230
|
+
});
|
|
2231
|
+
destroyRef.onDestroy(() => {
|
|
2232
|
+
for (const name of config.events)
|
|
2233
|
+
this.host.removeEventListener(name, changed);
|
|
2234
|
+
this.host.removeEventListener('focusout', touched);
|
|
2235
|
+
});
|
|
2236
|
+
}
|
|
2237
|
+
writeValue(value) {
|
|
2238
|
+
const normalized = this.config.property === 'checked' ? Boolean(value) : (value ?? '');
|
|
2239
|
+
this.host[this.config.property] = normalized;
|
|
2240
|
+
}
|
|
2241
|
+
registerOnChange(fn) {
|
|
2242
|
+
this.onChange = fn;
|
|
2243
|
+
}
|
|
2244
|
+
registerOnTouched(fn) {
|
|
2245
|
+
this.onTouched = fn;
|
|
2246
|
+
}
|
|
2247
|
+
setDisabledState(isDisabled) {
|
|
2248
|
+
this.host.disabled = isDisabled;
|
|
2249
|
+
}
|
|
2250
|
+
read() {
|
|
2251
|
+
return this.host[this.config.property];
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
// AUTO-GENERATED by @payex-ds/wrapper-gen from the @payex-ds/core Custom Elements Manifest.
|
|
2256
|
+
// Do not edit by hand. Regenerate with `pnpm generate:wrappers`.
|
|
2257
|
+
/** Form-associated elements found in the manifest and how their value is read. */
|
|
2258
|
+
const PDS_FORM_CONTROLS = {
|
|
2259
|
+
'pds-checkbox': { property: 'checked', events: ['pds-change'] },
|
|
2260
|
+
'pds-datepicker': { property: 'value', events: ['pds-change'] },
|
|
2261
|
+
'pds-input': { property: 'value', events: ['pds-input', 'pds-change'] },
|
|
2262
|
+
'pds-radio-group': { property: 'value', events: ['pds-change'] },
|
|
2263
|
+
'pds-rangeslider': { property: 'value', events: ['pds-input', 'pds-change'] },
|
|
2264
|
+
'pds-select': { property: 'value', events: ['pds-input', 'pds-change'] },
|
|
2265
|
+
'pds-togglebox': { property: 'checked', events: ['pds-change'] },
|
|
2266
|
+
};
|
|
2267
|
+
/** `ControlValueAccessor` for every form control: works with `formControlName`, `formControl` and `ngModel`. */
|
|
2268
|
+
class PdsValueAccessor extends PdsValueAccessorBase {
|
|
2269
|
+
constructor() {
|
|
2270
|
+
super(PDS_FORM_CONTROLS);
|
|
2271
|
+
}
|
|
2272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsValueAccessor, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2273
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: PdsValueAccessor, isStandalone: true, selector: "pds-checkbox[formControlName],pds-checkbox[formControl],pds-checkbox[ngModel],pds-datepicker[formControlName],pds-datepicker[formControl],pds-datepicker[ngModel],pds-input[formControlName],pds-input[formControl],pds-input[ngModel],pds-radio-group[formControlName],pds-radio-group[formControl],pds-radio-group[ngModel],pds-rangeslider[formControlName],pds-rangeslider[formControl],pds-rangeslider[ngModel],pds-select[formControlName],pds-select[formControl],pds-select[ngModel],pds-togglebox[formControlName],pds-togglebox[formControl],pds-togglebox[ngModel]", providers: [
|
|
2274
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => PdsValueAccessor), multi: true },
|
|
2275
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
2276
|
+
}
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PdsValueAccessor, decorators: [{
|
|
2278
|
+
type: Directive,
|
|
2279
|
+
args: [{
|
|
2280
|
+
selector: 'pds-checkbox[formControlName],pds-checkbox[formControl],pds-checkbox[ngModel],pds-datepicker[formControlName],pds-datepicker[formControl],pds-datepicker[ngModel],pds-input[formControlName],pds-input[formControl],pds-input[ngModel],pds-radio-group[formControlName],pds-radio-group[formControl],pds-radio-group[ngModel],pds-rangeslider[formControlName],pds-rangeslider[formControl],pds-rangeslider[ngModel],pds-select[formControlName],pds-select[formControl],pds-select[ngModel],pds-togglebox[formControlName],pds-togglebox[formControl],pds-togglebox[ngModel]',
|
|
2281
|
+
standalone: true,
|
|
2282
|
+
providers: [
|
|
2283
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => PdsValueAccessor), multi: true },
|
|
2284
|
+
],
|
|
2285
|
+
}]
|
|
2286
|
+
}], ctorParameters: () => [] });
|
|
2287
|
+
|
|
2288
|
+
// AUTO-GENERATED by @payex-ds/wrapper-gen from the @payex-ds/core Custom Elements Manifest.
|
|
2289
|
+
// Do not edit by hand. Regenerate with `pnpm generate:wrappers`.
|
|
2290
|
+
/** Every component plus the form value accessor; use as `imports: [...PDS_COMPONENTS]`. */
|
|
2291
|
+
const PDS_COMPONENTS = [...PDS_ELEMENT_COMPONENTS, PdsValueAccessor];
|
|
2292
|
+
|
|
2293
|
+
/** Loads the design before the application bootstraps. Use in `bootstrapApplication(..., { providers })`. */
|
|
2294
|
+
function provideDesignSystem(config) {
|
|
2295
|
+
const { design, inlineDesign, ...rest } = config;
|
|
2296
|
+
const options = inlineDesign === undefined ? rest : { ...rest, design: inlineDesign };
|
|
2297
|
+
return makeEnvironmentProviders([
|
|
2298
|
+
{
|
|
2299
|
+
provide: APP_INITIALIZER,
|
|
2300
|
+
multi: true,
|
|
2301
|
+
useFactory: () => () => ds.init(design, options),
|
|
2302
|
+
},
|
|
2303
|
+
]);
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* Generated bundle index. Do not edit.
|
|
2308
|
+
*/
|
|
2309
|
+
|
|
2310
|
+
export { PDS_COMPONENTS, PDS_ELEMENT_COMPONENTS, PDS_FORM_CONTROLS, PdsAccordionComponent, PdsAccordionItemComponent, PdsAlertComponent, PdsBadgeComponent, PdsBreadcrumbComponent, PdsBreadcrumbItemComponent, PdsButtonComponent, PdsCardComponent, PdsCheckboxComponent, PdsComponentBase, PdsDatepickerComponent, PdsDialogComponent, PdsDropdownComponent, PdsDropdownItemComponent, PdsExpandableComponent, PdsInputComponent, PdsLinkComponent, PdsListComponent, PdsListItemComponent, PdsLoaderComponent, PdsMediaObjectComponent, PdsPaginationComponent, PdsPanelComponent, PdsProgressStepComponent, PdsProgressStepsComponent, PdsRadioComponent, PdsRadioGroupComponent, PdsRangesliderComponent, PdsSelectComponent, PdsSheetComponent, PdsSidebarComponent, PdsSidebarGroupComponent, PdsSidebarItemComponent, PdsSkipLinkComponent, PdsSlabComponent, PdsStatusComponent, PdsTabComponent, PdsTabPanelComponent, PdsTableComponent, PdsTabsComponent, PdsTagComponent, PdsToastComponent, PdsToastRegionComponent, PdsToggleboxComponent, PdsTooltipComponent, PdsTopbarComponent, PdsValueAccessor, PdsValueAccessorBase, provideDesignSystem };
|
|
2311
|
+
//# sourceMappingURL=payex-ds-angular.mjs.map
|