@sebgroup/green-core-ng 3.4.0 → 3.5.1
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.
|
@@ -3,14 +3,14 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { inject, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, booleanAttribute, Output, Input, ChangeDetectionStrategy, Component, Renderer2, Injector, Directive, DestroyRef, forwardRef, NgModule, InjectionToken, ViewContainerRef, TemplateRef, Injectable, RendererFactory2 } from '@angular/core';
|
|
4
4
|
import { GdsAlert } from '@sebgroup/green-core/components/alert/alert.component.js';
|
|
5
5
|
import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
|
|
6
|
+
import { GdsBlur } from '@sebgroup/green-core/components/blur/blur.component.js';
|
|
6
7
|
import { GdsBreadcrumbs } from '@sebgroup/green-core/components/breadcrumbs/breadcrumbs.component.js';
|
|
7
8
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
8
9
|
import { LocationStrategy, DOCUMENT, CommonModule } from '@angular/common';
|
|
9
10
|
import { Router, RouterLink, RouterLinkActive, NavigationEnd } from '@angular/router';
|
|
10
11
|
import { GdsButton } from '@sebgroup/green-core/components/button/button.component.js';
|
|
11
|
-
import { GdsBlur } from '@sebgroup/green-core/components/blur/blur.component.js';
|
|
12
|
-
import { GdsCard } from '@sebgroup/green-core/components/card/card.component.js';
|
|
13
12
|
import { GdsCalendar } from '@sebgroup/green-core/components/calendar/calendar.component.js';
|
|
13
|
+
import { GdsCard } from '@sebgroup/green-core/components/card/card.component.js';
|
|
14
14
|
import { GdsCardLinked } from '@sebgroup/green-core/components/card-linked/card-linked.component.js';
|
|
15
15
|
import { GdsCheckbox } from '@sebgroup/green-core/components/checkbox/checkbox.component.js';
|
|
16
16
|
import { GdsCoachmark } from '@sebgroup/green-core/components/coachmark/coachmark.component.js';
|
|
@@ -51,9 +51,9 @@ import { GdsCardPattern01 } from '@sebgroup/green-core/patterns/card-pattern-01/
|
|
|
51
51
|
import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
|
|
52
52
|
import { GdsCheckboxGroup } from '@sebgroup/green-core/components/checkbox/checkbox-group/checkbox-group.component.js';
|
|
53
53
|
import { GdsIconDetails } from '@sebgroup/green-core/components/details/details-icon/details-icon.component.js';
|
|
54
|
-
import { GdsFilterChip } from '@sebgroup/green-core/components/filter-chips/filter-chip/filter-chip.component.js';
|
|
55
54
|
import { GdsFormattedAccount } from '@sebgroup/green-core/components/formatted-text/account/formatted-account.component.js';
|
|
56
55
|
import { GdsFormattedDate } from '@sebgroup/green-core/components/formatted-text/date/formatted-date.component.js';
|
|
56
|
+
import { GdsFilterChip } from '@sebgroup/green-core/components/filter-chips/filter-chip/filter-chip.component.js';
|
|
57
57
|
import { GdsFormattedNumber } from '@sebgroup/green-core/components/formatted-text/number/formatted-number.component.js';
|
|
58
58
|
import { GdsRadioGroup } from '@sebgroup/green-core/components/radio/radio-group/radio-group.component.js';
|
|
59
59
|
import { GdsSegment } from '@sebgroup/green-core/components/segmented-control/segment/segment.component.js';
|
|
@@ -623,6 +623,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
623
623
|
* Auto-generated from Custom Elements Manifest
|
|
624
624
|
*/
|
|
625
625
|
|
|
626
|
+
/**
|
|
627
|
+
* Angular wrapper for the gds-blur web component
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
let GdsBlurComponent = class GdsBlurComponent {
|
|
631
|
+
get element() {
|
|
632
|
+
return this.elementRef.nativeElement;
|
|
633
|
+
}
|
|
634
|
+
constructor() {
|
|
635
|
+
this.elementRef = inject((ElementRef));
|
|
636
|
+
this.zone = inject(NgZone);
|
|
637
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
638
|
+
this.cdr.detach();
|
|
639
|
+
}
|
|
640
|
+
ngOnInit() {
|
|
641
|
+
// Define the custom element
|
|
642
|
+
try {
|
|
643
|
+
GdsBlur.define();
|
|
644
|
+
}
|
|
645
|
+
catch (e) {
|
|
646
|
+
// Component may not be available in this version of green-core
|
|
647
|
+
console.warn('Failed to define gds-blur:', e);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
ngOnChanges(changes) {
|
|
651
|
+
// Implementation added by @ProxyInputs decorator
|
|
652
|
+
}
|
|
653
|
+
ngAfterViewInit() {
|
|
654
|
+
// Implementation added by @ProxyInputs decorator
|
|
655
|
+
}
|
|
656
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBlurComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
657
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsBlurComponent, isStandalone: true, selector: "gds-blur", inputs: { syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
658
|
+
};
|
|
659
|
+
GdsBlurComponent = __decorate([
|
|
660
|
+
ProxyInputs(['syncFirstRender']),
|
|
661
|
+
__metadata("design:paramtypes", [])
|
|
662
|
+
], GdsBlurComponent);
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBlurComponent, decorators: [{
|
|
664
|
+
type: Component,
|
|
665
|
+
args: [{
|
|
666
|
+
selector: 'gds-blur',
|
|
667
|
+
standalone: true,
|
|
668
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
669
|
+
template: `<ng-content></ng-content>`
|
|
670
|
+
}]
|
|
671
|
+
}], ctorParameters: () => [], propDecorators: { syncFirstRender: [{
|
|
672
|
+
type: Input,
|
|
673
|
+
args: [{ transform: booleanAttribute }]
|
|
674
|
+
}] } });
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* GdsBlurComponent - Angular wrapper for gds-blur
|
|
678
|
+
*
|
|
679
|
+
*
|
|
680
|
+
* Auto-generated from Custom Elements Manifest
|
|
681
|
+
*/
|
|
682
|
+
|
|
626
683
|
/**
|
|
627
684
|
* Angular wrapper for the gds-breadcrumbs web component
|
|
628
685
|
*
|
|
@@ -1036,10 +1093,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
1036
1093
|
*/
|
|
1037
1094
|
|
|
1038
1095
|
/**
|
|
1039
|
-
* Angular wrapper for the gds-
|
|
1096
|
+
* Angular wrapper for the gds-calendar web component
|
|
1040
1097
|
*
|
|
1041
1098
|
*/
|
|
1042
|
-
let
|
|
1099
|
+
let GdsCalendarComponent = class GdsCalendarComponent {
|
|
1043
1100
|
get element() {
|
|
1044
1101
|
return this.elementRef.nativeElement;
|
|
1045
1102
|
}
|
|
@@ -1047,17 +1104,25 @@ let GdsBlurComponent = class GdsBlurComponent {
|
|
|
1047
1104
|
this.elementRef = inject((ElementRef));
|
|
1048
1105
|
this.zone = inject(NgZone);
|
|
1049
1106
|
this.cdr = inject(ChangeDetectorRef);
|
|
1107
|
+
/** Fired when a date is selected. */
|
|
1108
|
+
this.change = new EventEmitter();
|
|
1109
|
+
/** Fired when focus is changed. Can be cancelled using `event.preventDefault()`. */
|
|
1110
|
+
this.gdsDateFocused = new EventEmitter();
|
|
1050
1111
|
this.cdr.detach();
|
|
1051
1112
|
}
|
|
1052
1113
|
ngOnInit() {
|
|
1053
1114
|
// Define the custom element
|
|
1054
1115
|
try {
|
|
1055
|
-
|
|
1116
|
+
GdsCalendar.define();
|
|
1056
1117
|
}
|
|
1057
1118
|
catch (e) {
|
|
1058
1119
|
// Component may not be available in this version of green-core
|
|
1059
|
-
console.warn('Failed to define gds-
|
|
1120
|
+
console.warn('Failed to define gds-calendar:', e);
|
|
1060
1121
|
}
|
|
1122
|
+
// Set up event listeners
|
|
1123
|
+
this.elementRef.nativeElement.addEventListener('gds-date-focused', (event) => {
|
|
1124
|
+
this.gdsDateFocused.emit(event);
|
|
1125
|
+
});
|
|
1061
1126
|
}
|
|
1062
1127
|
ngOnChanges(changes) {
|
|
1063
1128
|
// Implementation added by @ProxyInputs decorator
|
|
@@ -1065,28 +1130,66 @@ let GdsBlurComponent = class GdsBlurComponent {
|
|
|
1065
1130
|
ngAfterViewInit() {
|
|
1066
1131
|
// Implementation added by @ProxyInputs decorator
|
|
1067
1132
|
}
|
|
1068
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type:
|
|
1069
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type:
|
|
1133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1134
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCalendarComponent, isStandalone: true, selector: "gds-calendar", inputs: { value: "value", min: "min", max: "max", focusedDate: "focusedDate", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", focusedMonth: "focusedMonth", focusedYear: "focusedYear", size: "size", showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideExtraneousDays: ["hideExtraneousDays", "hideExtraneousDays", booleanAttribute], hideDayNames: ["hideDayNames", "hideDayNames", booleanAttribute], customizedDates: "customizedDates", label: "label", dateLabelTemplate: "dateLabelTemplate", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", gdsDateFocused: "gdsDateFocused" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1070
1135
|
};
|
|
1071
|
-
|
|
1072
|
-
ProxyInputs(['syncFirstRender']),
|
|
1136
|
+
GdsCalendarComponent = __decorate([
|
|
1137
|
+
ProxyInputs(['value', 'min', 'max', 'focusedDate', 'disabledWeekends', 'disabledDates', 'focusedMonth', 'focusedYear', 'size', 'showWeekNumbers', 'hideExtraneousDays', 'hideDayNames', 'customizedDates', 'label', 'dateLabelTemplate', 'syncFirstRender']),
|
|
1073
1138
|
__metadata("design:paramtypes", [])
|
|
1074
|
-
],
|
|
1075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type:
|
|
1139
|
+
], GdsCalendarComponent);
|
|
1140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCalendarComponent, decorators: [{
|
|
1076
1141
|
type: Component,
|
|
1077
1142
|
args: [{
|
|
1078
|
-
selector: 'gds-
|
|
1143
|
+
selector: 'gds-calendar',
|
|
1079
1144
|
standalone: true,
|
|
1080
1145
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1081
1146
|
template: `<ng-content></ng-content>`
|
|
1082
1147
|
}]
|
|
1083
|
-
}], ctorParameters: () => [], propDecorators: {
|
|
1148
|
+
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
1149
|
+
type: Input
|
|
1150
|
+
}], min: [{
|
|
1151
|
+
type: Input
|
|
1152
|
+
}], max: [{
|
|
1153
|
+
type: Input
|
|
1154
|
+
}], focusedDate: [{
|
|
1155
|
+
type: Input
|
|
1156
|
+
}], disabledWeekends: [{
|
|
1084
1157
|
type: Input,
|
|
1085
1158
|
args: [{ transform: booleanAttribute }]
|
|
1159
|
+
}], disabledDates: [{
|
|
1160
|
+
type: Input
|
|
1161
|
+
}], focusedMonth: [{
|
|
1162
|
+
type: Input
|
|
1163
|
+
}], focusedYear: [{
|
|
1164
|
+
type: Input
|
|
1165
|
+
}], size: [{
|
|
1166
|
+
type: Input
|
|
1167
|
+
}], showWeekNumbers: [{
|
|
1168
|
+
type: Input,
|
|
1169
|
+
args: [{ transform: booleanAttribute }]
|
|
1170
|
+
}], hideExtraneousDays: [{
|
|
1171
|
+
type: Input,
|
|
1172
|
+
args: [{ transform: booleanAttribute }]
|
|
1173
|
+
}], hideDayNames: [{
|
|
1174
|
+
type: Input,
|
|
1175
|
+
args: [{ transform: booleanAttribute }]
|
|
1176
|
+
}], customizedDates: [{
|
|
1177
|
+
type: Input
|
|
1178
|
+
}], label: [{
|
|
1179
|
+
type: Input
|
|
1180
|
+
}], dateLabelTemplate: [{
|
|
1181
|
+
type: Input
|
|
1182
|
+
}], syncFirstRender: [{
|
|
1183
|
+
type: Input,
|
|
1184
|
+
args: [{ transform: booleanAttribute }]
|
|
1185
|
+
}], change: [{
|
|
1186
|
+
type: Output
|
|
1187
|
+
}], gdsDateFocused: [{
|
|
1188
|
+
type: Output
|
|
1086
1189
|
}] } });
|
|
1087
1190
|
|
|
1088
1191
|
/**
|
|
1089
|
-
*
|
|
1192
|
+
* GdsCalendarComponent - Angular wrapper for gds-calendar
|
|
1090
1193
|
*
|
|
1091
1194
|
*
|
|
1092
1195
|
* Auto-generated from Custom Elements Manifest
|
|
@@ -1279,109 +1382,6 @@ and a shortcut property for specifying different card variants.
|
|
|
1279
1382
|
* Auto-generated from Custom Elements Manifest
|
|
1280
1383
|
*/
|
|
1281
1384
|
|
|
1282
|
-
/**
|
|
1283
|
-
* Angular wrapper for the gds-calendar web component
|
|
1284
|
-
*
|
|
1285
|
-
*/
|
|
1286
|
-
let GdsCalendarComponent = class GdsCalendarComponent {
|
|
1287
|
-
get element() {
|
|
1288
|
-
return this.elementRef.nativeElement;
|
|
1289
|
-
}
|
|
1290
|
-
constructor() {
|
|
1291
|
-
this.elementRef = inject((ElementRef));
|
|
1292
|
-
this.zone = inject(NgZone);
|
|
1293
|
-
this.cdr = inject(ChangeDetectorRef);
|
|
1294
|
-
/** Fired when a date is selected. */
|
|
1295
|
-
this.change = new EventEmitter();
|
|
1296
|
-
/** Fired when focus is changed. Can be cancelled using `event.preventDefault()`. */
|
|
1297
|
-
this.gdsDateFocused = new EventEmitter();
|
|
1298
|
-
this.cdr.detach();
|
|
1299
|
-
}
|
|
1300
|
-
ngOnInit() {
|
|
1301
|
-
// Define the custom element
|
|
1302
|
-
try {
|
|
1303
|
-
GdsCalendar.define();
|
|
1304
|
-
}
|
|
1305
|
-
catch (e) {
|
|
1306
|
-
// Component may not be available in this version of green-core
|
|
1307
|
-
console.warn('Failed to define gds-calendar:', e);
|
|
1308
|
-
}
|
|
1309
|
-
// Set up event listeners
|
|
1310
|
-
this.elementRef.nativeElement.addEventListener('gds-date-focused', (event) => {
|
|
1311
|
-
this.gdsDateFocused.emit(event);
|
|
1312
|
-
});
|
|
1313
|
-
}
|
|
1314
|
-
ngOnChanges(changes) {
|
|
1315
|
-
// Implementation added by @ProxyInputs decorator
|
|
1316
|
-
}
|
|
1317
|
-
ngAfterViewInit() {
|
|
1318
|
-
// Implementation added by @ProxyInputs decorator
|
|
1319
|
-
}
|
|
1320
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1321
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCalendarComponent, isStandalone: true, selector: "gds-calendar", inputs: { value: "value", min: "min", max: "max", focusedDate: "focusedDate", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", focusedMonth: "focusedMonth", focusedYear: "focusedYear", size: "size", showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideExtraneousDays: ["hideExtraneousDays", "hideExtraneousDays", booleanAttribute], hideDayNames: ["hideDayNames", "hideDayNames", booleanAttribute], customizedDates: "customizedDates", label: "label", dateLabelTemplate: "dateLabelTemplate", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", gdsDateFocused: "gdsDateFocused" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1322
|
-
};
|
|
1323
|
-
GdsCalendarComponent = __decorate([
|
|
1324
|
-
ProxyInputs(['value', 'min', 'max', 'focusedDate', 'disabledWeekends', 'disabledDates', 'focusedMonth', 'focusedYear', 'size', 'showWeekNumbers', 'hideExtraneousDays', 'hideDayNames', 'customizedDates', 'label', 'dateLabelTemplate', 'syncFirstRender']),
|
|
1325
|
-
__metadata("design:paramtypes", [])
|
|
1326
|
-
], GdsCalendarComponent);
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCalendarComponent, decorators: [{
|
|
1328
|
-
type: Component,
|
|
1329
|
-
args: [{
|
|
1330
|
-
selector: 'gds-calendar',
|
|
1331
|
-
standalone: true,
|
|
1332
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1333
|
-
template: `<ng-content></ng-content>`
|
|
1334
|
-
}]
|
|
1335
|
-
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
1336
|
-
type: Input
|
|
1337
|
-
}], min: [{
|
|
1338
|
-
type: Input
|
|
1339
|
-
}], max: [{
|
|
1340
|
-
type: Input
|
|
1341
|
-
}], focusedDate: [{
|
|
1342
|
-
type: Input
|
|
1343
|
-
}], disabledWeekends: [{
|
|
1344
|
-
type: Input,
|
|
1345
|
-
args: [{ transform: booleanAttribute }]
|
|
1346
|
-
}], disabledDates: [{
|
|
1347
|
-
type: Input
|
|
1348
|
-
}], focusedMonth: [{
|
|
1349
|
-
type: Input
|
|
1350
|
-
}], focusedYear: [{
|
|
1351
|
-
type: Input
|
|
1352
|
-
}], size: [{
|
|
1353
|
-
type: Input
|
|
1354
|
-
}], showWeekNumbers: [{
|
|
1355
|
-
type: Input,
|
|
1356
|
-
args: [{ transform: booleanAttribute }]
|
|
1357
|
-
}], hideExtraneousDays: [{
|
|
1358
|
-
type: Input,
|
|
1359
|
-
args: [{ transform: booleanAttribute }]
|
|
1360
|
-
}], hideDayNames: [{
|
|
1361
|
-
type: Input,
|
|
1362
|
-
args: [{ transform: booleanAttribute }]
|
|
1363
|
-
}], customizedDates: [{
|
|
1364
|
-
type: Input
|
|
1365
|
-
}], label: [{
|
|
1366
|
-
type: Input
|
|
1367
|
-
}], dateLabelTemplate: [{
|
|
1368
|
-
type: Input
|
|
1369
|
-
}], syncFirstRender: [{
|
|
1370
|
-
type: Input,
|
|
1371
|
-
args: [{ transform: booleanAttribute }]
|
|
1372
|
-
}], change: [{
|
|
1373
|
-
type: Output
|
|
1374
|
-
}], gdsDateFocused: [{
|
|
1375
|
-
type: Output
|
|
1376
|
-
}] } });
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* GdsCalendarComponent - Angular wrapper for gds-calendar
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1382
|
-
* Auto-generated from Custom Elements Manifest
|
|
1383
|
-
*/
|
|
1384
|
-
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Angular wrapper for the gds-card-linked web component
|
|
1387
1387
|
*
|
|
@@ -6671,70 +6671,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
6671
6671
|
* Auto-generated from Custom Elements Manifest
|
|
6672
6672
|
*/
|
|
6673
6673
|
|
|
6674
|
-
/**
|
|
6675
|
-
* Angular wrapper for the gds-filter-chip web component
|
|
6676
|
-
*
|
|
6677
|
-
*/
|
|
6678
|
-
let GdsFilterChipComponent = class GdsFilterChipComponent {
|
|
6679
|
-
get element() {
|
|
6680
|
-
return this.elementRef.nativeElement;
|
|
6681
|
-
}
|
|
6682
|
-
constructor() {
|
|
6683
|
-
this.elementRef = inject((ElementRef));
|
|
6684
|
-
this.zone = inject(NgZone);
|
|
6685
|
-
this.cdr = inject(ChangeDetectorRef);
|
|
6686
|
-
this.cdr.detach();
|
|
6687
|
-
}
|
|
6688
|
-
ngOnInit() {
|
|
6689
|
-
// Define the custom element
|
|
6690
|
-
try {
|
|
6691
|
-
GdsFilterChip.define();
|
|
6692
|
-
}
|
|
6693
|
-
catch (e) {
|
|
6694
|
-
// Component may not be available in this version of green-core
|
|
6695
|
-
console.warn('Failed to define gds-filter-chip:', e);
|
|
6696
|
-
}
|
|
6697
|
-
}
|
|
6698
|
-
ngOnChanges(changes) {
|
|
6699
|
-
// Implementation added by @ProxyInputs decorator
|
|
6700
|
-
}
|
|
6701
|
-
ngAfterViewInit() {
|
|
6702
|
-
// Implementation added by @ProxyInputs decorator
|
|
6703
|
-
}
|
|
6704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6705
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsFilterChipComponent, isStandalone: true, selector: "gds-filter-chip", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", size: "size", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6706
|
-
};
|
|
6707
|
-
GdsFilterChipComponent = __decorate([
|
|
6708
|
-
ProxyInputs(['selected', 'value', 'size', 'syncFirstRender']),
|
|
6709
|
-
__metadata("design:paramtypes", [])
|
|
6710
|
-
], GdsFilterChipComponent);
|
|
6711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, decorators: [{
|
|
6712
|
-
type: Component,
|
|
6713
|
-
args: [{
|
|
6714
|
-
selector: 'gds-filter-chip',
|
|
6715
|
-
standalone: true,
|
|
6716
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6717
|
-
template: `<ng-content></ng-content>`
|
|
6718
|
-
}]
|
|
6719
|
-
}], ctorParameters: () => [], propDecorators: { selected: [{
|
|
6720
|
-
type: Input,
|
|
6721
|
-
args: [{ transform: booleanAttribute }]
|
|
6722
|
-
}], value: [{
|
|
6723
|
-
type: Input
|
|
6724
|
-
}], size: [{
|
|
6725
|
-
type: Input
|
|
6726
|
-
}], syncFirstRender: [{
|
|
6727
|
-
type: Input,
|
|
6728
|
-
args: [{ transform: booleanAttribute }]
|
|
6729
|
-
}] } });
|
|
6730
|
-
|
|
6731
|
-
/**
|
|
6732
|
-
* GdsFilterChipComponent - Angular wrapper for gds-filter-chip
|
|
6733
|
-
*
|
|
6734
|
-
*
|
|
6735
|
-
* Auto-generated from Custom Elements Manifest
|
|
6736
|
-
*/
|
|
6737
|
-
|
|
6738
6674
|
/**
|
|
6739
6675
|
* Angular wrapper for the gds-formatted-account web component
|
|
6740
6676
|
*
|
|
@@ -7117,6 +7053,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
7117
7053
|
* Auto-generated from Custom Elements Manifest
|
|
7118
7054
|
*/
|
|
7119
7055
|
|
|
7056
|
+
/**
|
|
7057
|
+
* Angular wrapper for the gds-filter-chip web component
|
|
7058
|
+
*
|
|
7059
|
+
*/
|
|
7060
|
+
let GdsFilterChipComponent = class GdsFilterChipComponent {
|
|
7061
|
+
get element() {
|
|
7062
|
+
return this.elementRef.nativeElement;
|
|
7063
|
+
}
|
|
7064
|
+
constructor() {
|
|
7065
|
+
this.elementRef = inject((ElementRef));
|
|
7066
|
+
this.zone = inject(NgZone);
|
|
7067
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
7068
|
+
this.cdr.detach();
|
|
7069
|
+
}
|
|
7070
|
+
ngOnInit() {
|
|
7071
|
+
// Define the custom element
|
|
7072
|
+
try {
|
|
7073
|
+
GdsFilterChip.define();
|
|
7074
|
+
}
|
|
7075
|
+
catch (e) {
|
|
7076
|
+
// Component may not be available in this version of green-core
|
|
7077
|
+
console.warn('Failed to define gds-filter-chip:', e);
|
|
7078
|
+
}
|
|
7079
|
+
}
|
|
7080
|
+
ngOnChanges(changes) {
|
|
7081
|
+
// Implementation added by @ProxyInputs decorator
|
|
7082
|
+
}
|
|
7083
|
+
ngAfterViewInit() {
|
|
7084
|
+
// Implementation added by @ProxyInputs decorator
|
|
7085
|
+
}
|
|
7086
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7087
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsFilterChipComponent, isStandalone: true, selector: "gds-filter-chip", inputs: { selected: ["selected", "selected", booleanAttribute], value: "value", size: "size", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7088
|
+
};
|
|
7089
|
+
GdsFilterChipComponent = __decorate([
|
|
7090
|
+
ProxyInputs(['selected', 'value', 'size', 'syncFirstRender']),
|
|
7091
|
+
__metadata("design:paramtypes", [])
|
|
7092
|
+
], GdsFilterChipComponent);
|
|
7093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsFilterChipComponent, decorators: [{
|
|
7094
|
+
type: Component,
|
|
7095
|
+
args: [{
|
|
7096
|
+
selector: 'gds-filter-chip',
|
|
7097
|
+
standalone: true,
|
|
7098
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7099
|
+
template: `<ng-content></ng-content>`
|
|
7100
|
+
}]
|
|
7101
|
+
}], ctorParameters: () => [], propDecorators: { selected: [{
|
|
7102
|
+
type: Input,
|
|
7103
|
+
args: [{ transform: booleanAttribute }]
|
|
7104
|
+
}], value: [{
|
|
7105
|
+
type: Input
|
|
7106
|
+
}], size: [{
|
|
7107
|
+
type: Input
|
|
7108
|
+
}], syncFirstRender: [{
|
|
7109
|
+
type: Input,
|
|
7110
|
+
args: [{ transform: booleanAttribute }]
|
|
7111
|
+
}] } });
|
|
7112
|
+
|
|
7113
|
+
/**
|
|
7114
|
+
* GdsFilterChipComponent - Angular wrapper for gds-filter-chip
|
|
7115
|
+
*
|
|
7116
|
+
*
|
|
7117
|
+
* Auto-generated from Custom Elements Manifest
|
|
7118
|
+
*/
|
|
7119
|
+
|
|
7120
7120
|
/**
|
|
7121
7121
|
* Angular wrapper for the gds-formatted-number web component
|
|
7122
7122
|
*
|
|
@@ -36665,11 +36665,11 @@ class GreenCoreNgModule {
|
|
|
36665
36665
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GreenCoreNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36666
36666
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: GreenCoreNgModule, imports: [GdsAlertComponent,
|
|
36667
36667
|
GdsBadgeComponent,
|
|
36668
|
+
GdsBlurComponent,
|
|
36668
36669
|
GdsBreadcrumbsComponent,
|
|
36669
36670
|
GdsButtonComponent,
|
|
36670
|
-
GdsBlurComponent,
|
|
36671
|
-
GdsCardComponent,
|
|
36672
36671
|
GdsCalendarComponent,
|
|
36672
|
+
GdsCardComponent,
|
|
36673
36673
|
GdsCardLinkedComponent,
|
|
36674
36674
|
GdsCheckboxComponent,
|
|
36675
36675
|
GdsCoachmarkComponent,
|
|
@@ -36710,9 +36710,9 @@ class GreenCoreNgModule {
|
|
|
36710
36710
|
GdsBreadcrumbComponent,
|
|
36711
36711
|
GdsCheckboxGroupComponent,
|
|
36712
36712
|
GdsIconDetailsComponent,
|
|
36713
|
-
GdsFilterChipComponent,
|
|
36714
36713
|
GdsFormattedAccountComponent,
|
|
36715
36714
|
GdsFormattedDateComponent,
|
|
36715
|
+
GdsFilterChipComponent,
|
|
36716
36716
|
GdsFormattedNumberComponent,
|
|
36717
36717
|
GdsRadioGroupComponent,
|
|
36718
36718
|
GdsSegmentComponent,
|
|
@@ -37031,11 +37031,11 @@ class GreenCoreNgModule {
|
|
|
37031
37031
|
GdsMenuHeadingComponent,
|
|
37032
37032
|
GdsOptionComponent], exports: [GdsAlertComponent,
|
|
37033
37033
|
GdsBadgeComponent,
|
|
37034
|
+
GdsBlurComponent,
|
|
37034
37035
|
GdsBreadcrumbsComponent,
|
|
37035
37036
|
GdsButtonComponent,
|
|
37036
|
-
GdsBlurComponent,
|
|
37037
|
-
GdsCardComponent,
|
|
37038
37037
|
GdsCalendarComponent,
|
|
37038
|
+
GdsCardComponent,
|
|
37039
37039
|
GdsCardLinkedComponent,
|
|
37040
37040
|
GdsCheckboxComponent,
|
|
37041
37041
|
GdsCoachmarkComponent,
|
|
@@ -37076,9 +37076,9 @@ class GreenCoreNgModule {
|
|
|
37076
37076
|
GdsBreadcrumbComponent,
|
|
37077
37077
|
GdsCheckboxGroupComponent,
|
|
37078
37078
|
GdsIconDetailsComponent,
|
|
37079
|
-
GdsFilterChipComponent,
|
|
37080
37079
|
GdsFormattedAccountComponent,
|
|
37081
37080
|
GdsFormattedDateComponent,
|
|
37081
|
+
GdsFilterChipComponent,
|
|
37082
37082
|
GdsFormattedNumberComponent,
|
|
37083
37083
|
GdsRadioGroupComponent,
|
|
37084
37084
|
GdsSegmentComponent,
|
|
@@ -37404,11 +37404,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
37404
37404
|
imports: [
|
|
37405
37405
|
GdsAlertComponent,
|
|
37406
37406
|
GdsBadgeComponent,
|
|
37407
|
+
GdsBlurComponent,
|
|
37407
37408
|
GdsBreadcrumbsComponent,
|
|
37408
37409
|
GdsButtonComponent,
|
|
37409
|
-
GdsBlurComponent,
|
|
37410
|
-
GdsCardComponent,
|
|
37411
37410
|
GdsCalendarComponent,
|
|
37411
|
+
GdsCardComponent,
|
|
37412
37412
|
GdsCardLinkedComponent,
|
|
37413
37413
|
GdsCheckboxComponent,
|
|
37414
37414
|
GdsCoachmarkComponent,
|
|
@@ -37449,9 +37449,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
37449
37449
|
GdsBreadcrumbComponent,
|
|
37450
37450
|
GdsCheckboxGroupComponent,
|
|
37451
37451
|
GdsIconDetailsComponent,
|
|
37452
|
-
GdsFilterChipComponent,
|
|
37453
37452
|
GdsFormattedAccountComponent,
|
|
37454
37453
|
GdsFormattedDateComponent,
|
|
37454
|
+
GdsFilterChipComponent,
|
|
37455
37455
|
GdsFormattedNumberComponent,
|
|
37456
37456
|
GdsRadioGroupComponent,
|
|
37457
37457
|
GdsSegmentComponent,
|
|
@@ -37773,11 +37773,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
37773
37773
|
exports: [
|
|
37774
37774
|
GdsAlertComponent,
|
|
37775
37775
|
GdsBadgeComponent,
|
|
37776
|
+
GdsBlurComponent,
|
|
37776
37777
|
GdsBreadcrumbsComponent,
|
|
37777
37778
|
GdsButtonComponent,
|
|
37778
|
-
GdsBlurComponent,
|
|
37779
|
-
GdsCardComponent,
|
|
37780
37779
|
GdsCalendarComponent,
|
|
37780
|
+
GdsCardComponent,
|
|
37781
37781
|
GdsCardLinkedComponent,
|
|
37782
37782
|
GdsCheckboxComponent,
|
|
37783
37783
|
GdsCoachmarkComponent,
|
|
@@ -37818,9 +37818,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
37818
37818
|
GdsBreadcrumbComponent,
|
|
37819
37819
|
GdsCheckboxGroupComponent,
|
|
37820
37820
|
GdsIconDetailsComponent,
|
|
37821
|
-
GdsFilterChipComponent,
|
|
37822
37821
|
GdsFormattedAccountComponent,
|
|
37823
37822
|
GdsFormattedDateComponent,
|
|
37823
|
+
GdsFilterChipComponent,
|
|
37824
37824
|
GdsFormattedNumberComponent,
|
|
37825
37825
|
GdsRadioGroupComponent,
|
|
37826
37826
|
GdsSegmentComponent,
|