@sebgroup/green-angular 3.3.0 → 3.5.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 +55 -14
- package/esm2020/index.mjs +2 -1
- package/esm2020/lib/cell-table/cell-table-item.component.mjs +91 -0
- package/esm2020/lib/cell-table/cell-table.component.mjs +97 -0
- package/esm2020/lib/cell-table/cell-table.module.mjs +26 -0
- package/esm2020/lib/cell-table/cell-table.types.mjs +7 -0
- package/esm2020/lib/cell-table/cell-underline.directive.mjs +55 -0
- package/esm2020/lib/cell-table/index.mjs +4 -0
- package/esm2020/lib/datepicker/datepicker.component.mjs +8 -4
- package/esm2020/lib/dropdown/dropdown.component.mjs +6 -4
- package/esm2020/lib/green-angular.module.mjs +5 -1
- package/fesm2015/sebgroup-green-angular.mjs +278 -8
- package/fesm2015/sebgroup-green-angular.mjs.map +1 -1
- package/fesm2020/sebgroup-green-angular.mjs +276 -8
- package/fesm2020/sebgroup-green-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/cell-table/cell-table-item.component.d.ts +14 -0
- package/lib/cell-table/cell-table.component.d.ts +44 -0
- package/lib/cell-table/cell-table.module.d.ts +10 -0
- package/lib/cell-table/cell-table.types.d.ts +34 -0
- package/lib/cell-table/cell-underline.directive.d.ts +14 -0
- package/lib/cell-table/index.d.ts +3 -0
- package/lib/datepicker/datepicker.component.d.ts +3 -1
- package/lib/dropdown/dropdown.component.d.ts +2 -1
- package/lib/green-angular.module.d.ts +3 -2
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1 from '@angular/common';
|
|
2
2
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { EventEmitter, Component, Input, Output, ContentChildren, NgModule, ChangeDetectionStrategy, HostBinding, inject, Renderer2, ViewContainerRef, ChangeDetectorRef, TemplateRef, Directive, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Injector, Inject, ContentChild, InjectionToken } from '@angular/core';
|
|
4
|
+
import { EventEmitter, Component, Input, Output, ContentChildren, NgModule, ChangeDetectionStrategy, HostBinding, inject, Renderer2, ViewContainerRef, ChangeDetectorRef, TemplateRef, Directive, ViewChild, CUSTOM_ELEMENTS_SCHEMA, Injector, Inject, ContentChild, InjectionToken, QueryList, ViewChildren } from '@angular/core';
|
|
5
5
|
import { randomId, calculateDegrees, sliderColors, getSliderTrackBackground, PaginationI18n } from '@sebgroup/extract';
|
|
6
6
|
import { getScopedTagName } from '@sebgroup/green-core';
|
|
7
7
|
import { registerTransitionalStyles } from '@sebgroup/green-core/transitional-styles';
|
|
@@ -15,6 +15,7 @@ import * as i1$2 from '@angular/router';
|
|
|
15
15
|
import { RouterModule } from '@angular/router';
|
|
16
16
|
import { Subject, fromEvent, interval } from 'rxjs';
|
|
17
17
|
import { takeUntil, throttle } from 'rxjs/operators';
|
|
18
|
+
import * as i1$3 from '@angular/platform-browser';
|
|
18
19
|
|
|
19
20
|
class NggAccordionListItemComponent {
|
|
20
21
|
constructor() {
|
|
@@ -460,13 +461,13 @@ class NggDatepickerComponent {
|
|
|
460
461
|
}
|
|
461
462
|
}
|
|
462
463
|
NggDatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggDatepickerComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
463
|
-
NggDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NggDatepickerComponent, selector: "ngg-datepicker", inputs: { size: "size", hideLabel: "hideLabel", options: "options", value: "value", id: "id", label: "label", isValid: "isValid" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
464
|
+
NggDatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NggDatepickerComponent, selector: "ngg-datepicker", inputs: { size: "size", hideLabel: "hideLabel", disabledWeekends: "disabledWeekends", disabledDates: "disabledDates", options: "options", value: "value", id: "id", label: "label", isValid: "isValid" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
464
465
|
{
|
|
465
466
|
provide: NG_VALUE_ACCESSOR,
|
|
466
467
|
useExisting: NggDatepickerComponent,
|
|
467
468
|
multi: true,
|
|
468
469
|
},
|
|
469
|
-
], ngImport: i0, template: "<div class=\"form-group\">\n <gds-datepicker\n *nggCoreElement\n [attr.id]=\"id\"\n [label]=\"label\"\n [value]=\"value\"\n (change)=\"onDateChange($event)\"\n [invalid]=\"isValid === false\"\n [min]=\"min\"\n [max]=\"max\"\n [showWeekNumbers]=\"showWeekNumbers\"\n [dateformat]=\"dateFormat\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n >\n <span slot=\"message\">\n <ng-content select=\"[data-form-info]\"></ng-content>\n </span>\n </gds-datepicker>\n</div>\n", dependencies: [{ kind: "directive", type: NggCoreElementDirective, selector: "[nggCoreElement]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
470
|
+
], ngImport: i0, template: "<div class=\"form-group\">\n <gds-datepicker\n *nggCoreElement\n [attr.id]=\"id\"\n [label]=\"label\"\n [value]=\"value\"\n (change)=\"onDateChange($event)\"\n [invalid]=\"isValid === false\"\n [min]=\"min\"\n [max]=\"max\"\n [showWeekNumbers]=\"showWeekNumbers\"\n [dateformat]=\"dateFormat\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n [disabledWeekends]=\"disabledWeekends\"\n [disabledDates]=\"disabledDates\"\n >\n <span slot=\"message\">\n <ng-content select=\"[data-form-info]\"></ng-content>\n </span>\n </gds-datepicker>\n</div>\n", dependencies: [{ kind: "directive", type: NggCoreElementDirective, selector: "[nggCoreElement]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
470
471
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggDatepickerComponent, decorators: [{
|
|
471
472
|
type: Component,
|
|
472
473
|
args: [{ selector: 'ngg-datepicker', providers: [
|
|
@@ -475,11 +476,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
475
476
|
useExisting: NggDatepickerComponent,
|
|
476
477
|
multi: true,
|
|
477
478
|
},
|
|
478
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-group\">\n <gds-datepicker\n *nggCoreElement\n [attr.id]=\"id\"\n [label]=\"label\"\n [value]=\"value\"\n (change)=\"onDateChange($event)\"\n [invalid]=\"isValid === false\"\n [min]=\"min\"\n [max]=\"max\"\n [showWeekNumbers]=\"showWeekNumbers\"\n [dateformat]=\"dateFormat\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n >\n <span slot=\"message\">\n <ng-content select=\"[data-form-info]\"></ng-content>\n </span>\n </gds-datepicker>\n</div>\n" }]
|
|
479
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-group\">\n <gds-datepicker\n *nggCoreElement\n [attr.id]=\"id\"\n [label]=\"label\"\n [value]=\"value\"\n (change)=\"onDateChange($event)\"\n [invalid]=\"isValid === false\"\n [min]=\"min\"\n [max]=\"max\"\n [showWeekNumbers]=\"showWeekNumbers\"\n [dateformat]=\"dateFormat\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n [disabledWeekends]=\"disabledWeekends\"\n [disabledDates]=\"disabledDates\"\n >\n <span slot=\"message\">\n <ng-content select=\"[data-form-info]\"></ng-content>\n </span>\n </gds-datepicker>\n</div>\n" }]
|
|
479
480
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
|
|
480
481
|
type: Input
|
|
481
482
|
}], hideLabel: [{
|
|
482
483
|
type: Input
|
|
484
|
+
}], disabledWeekends: [{
|
|
485
|
+
type: Input
|
|
486
|
+
}], disabledDates: [{
|
|
487
|
+
type: Input
|
|
483
488
|
}], options: [{
|
|
484
489
|
type: Input
|
|
485
490
|
}], value: [{
|
|
@@ -685,13 +690,13 @@ class NggDropdownComponent {
|
|
|
685
690
|
}
|
|
686
691
|
}
|
|
687
692
|
NggDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggDropdownComponent, deps: [{ token: Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
688
|
-
NggDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NggDropdownComponent, selector: "ngg-dropdown", inputs: { id: "id", texts: "texts", loop: "loop", display: "display", useValue: "useValue", label: "label", valid: "valid", invalid: "invalid", compareWith: "compareWith", searchFilter: "searchFilter", syncPopoverWidth: "syncPopoverWidth", size: "size", hideLabel: "hideLabel", fixedPlacement: "fixedPlacement", options: "options", multiSelect: "multiSelect", searchable: "searchable", value: "value" }, outputs: { valueChange: "valueChange", touched: "touched" }, providers: [
|
|
693
|
+
NggDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NggDropdownComponent, selector: "ngg-dropdown", inputs: { id: "id", texts: "texts", loop: "loop", display: "display", useValue: "useValue", label: "label", valid: "valid", invalid: "invalid", compareWith: "compareWith", searchFilter: "searchFilter", syncPopoverWidth: "syncPopoverWidth", size: "size", hideLabel: "hideLabel", maxHeight: "maxHeight", fixedPlacement: "fixedPlacement", options: "options", multiSelect: "multiSelect", searchable: "searchable", value: "value" }, outputs: { valueChange: "valueChange", touched: "touched" }, providers: [
|
|
689
694
|
{
|
|
690
695
|
provide: NG_VALUE_ACCESSOR,
|
|
691
696
|
useExisting: NggDropdownComponent,
|
|
692
697
|
multi: true,
|
|
693
698
|
},
|
|
694
|
-
], queries: [{ propertyName: "customOption", first: true, predicate: NggDropdownOptionDirective, descendants: true }, { propertyName: "customButton", first: true, predicate: NggDropdownButtonDirective, descendants: true }], viewQueries: [{ propertyName: "gdsDropdown", first: true, predicate: ["gdsDropdown"], descendants: true }], ngImport: i0, template: "<div class=\"form-group\">\n <gds-dropdown\n *nggCoreElement\n #gdsDropdown\n [value]=\"value\"\n [searchable]=\"searchable\"\n [label]=\"label\"\n (change)=\"onValueChange($event)\"\n [multiple]=\"multiSelect\"\n [invalid]=\"invalid\"\n [compareWith]=\"compareWithAdapter\"\n [searchFilter]=\"searchFilterAdapter\"\n [syncPopoverWidth]=\"syncPopoverWidth\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n >\n <span slot=\"message\" #formInfo\n ><ng-content select=\"[data-form-info]\"></ng-content\n ></span>\n\n <span slot=\"trigger\"\n ><ng-container\n *ngTemplateOutlet=\"\n customButton?.templateRef && selectedOption\n ? customButton!.templateRef\n : defaultButton;\n context: { option: selectedOption }\n \"\n ></ng-container\n ></span>\n\n <ng-container *ngFor=\"let option of options; let index = index\">\n <ng-container *ngIf=\"!option.heading; else optionHeading\">\n <gds-option *nggCoreElement [value]=\"option[useValue]\"\n ><ng-container\n *ngTemplateOutlet=\"\n customOption?.templateRef\n ? customOption!.templateRef\n : defaultOption;\n context: { option: option, index: index }\n \"\n ></ng-container\n ></gds-option>\n </ng-container>\n <ng-template #optionHeading>\n <gds-option-heading *nggCoreElement>{{\n option.label\n }}</gds-option-heading>\n </ng-template>\n </ng-container>\n </gds-dropdown>\n</div>\n\n<ng-template #defaultButton let-selected=\"option\">\n <span class=\"trigger\">{{ texts?.select }}</span>\n</ng-template>\n\n<ng-template #defaultOption let-option=\"option\">\n {{ display ? option[display] : option.name }}\n</ng-template>\n", styles: [".trigger{display:block;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NggCoreElementDirective, selector: "[nggCoreElement]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
699
|
+
], queries: [{ propertyName: "customOption", first: true, predicate: NggDropdownOptionDirective, descendants: true }, { propertyName: "customButton", first: true, predicate: NggDropdownButtonDirective, descendants: true }], viewQueries: [{ propertyName: "gdsDropdown", first: true, predicate: ["gdsDropdown"], descendants: true }], ngImport: i0, template: "<div class=\"form-group\">\n <gds-dropdown\n *nggCoreElement\n #gdsDropdown\n [value]=\"value\"\n [searchable]=\"searchable\"\n [label]=\"label\"\n (change)=\"onValueChange($event)\"\n [multiple]=\"multiSelect\"\n [invalid]=\"invalid\"\n [compareWith]=\"compareWithAdapter\"\n [searchFilter]=\"searchFilterAdapter\"\n [syncPopoverWidth]=\"syncPopoverWidth\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n [maxHeight]=\"maxHeight\"\n >\n <span slot=\"message\" #formInfo\n ><ng-content select=\"[data-form-info]\"></ng-content\n ></span>\n\n <span slot=\"trigger\"\n ><ng-container\n *ngTemplateOutlet=\"\n customButton?.templateRef && selectedOption\n ? customButton!.templateRef\n : defaultButton;\n context: { option: selectedOption }\n \"\n ></ng-container\n ></span>\n\n <ng-container *ngFor=\"let option of options; let index = index\">\n <ng-container *ngIf=\"!option.heading; else optionHeading\">\n <gds-option *nggCoreElement [value]=\"option[useValue]\"\n ><ng-container\n *ngTemplateOutlet=\"\n customOption?.templateRef\n ? customOption!.templateRef\n : defaultOption;\n context: { option: option, index: index }\n \"\n ></ng-container\n ></gds-option>\n </ng-container>\n <ng-template #optionHeading>\n <gds-option-heading *nggCoreElement>{{\n option.label\n }}</gds-option-heading>\n </ng-template>\n </ng-container>\n </gds-dropdown>\n</div>\n\n<ng-template #defaultButton let-selected=\"option\">\n <span class=\"trigger\">{{ texts?.select }}</span>\n</ng-template>\n\n<ng-template #defaultOption let-option=\"option\">\n {{ display ? option[display] : option.name }}\n</ng-template>\n", styles: [".trigger{display:block;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NggCoreElementDirective, selector: "[nggCoreElement]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
695
700
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggDropdownComponent, decorators: [{
|
|
696
701
|
type: Component,
|
|
697
702
|
args: [{ selector: 'ngg-dropdown', providers: [
|
|
@@ -700,7 +705,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
700
705
|
useExisting: NggDropdownComponent,
|
|
701
706
|
multi: true,
|
|
702
707
|
},
|
|
703
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-group\">\n <gds-dropdown\n *nggCoreElement\n #gdsDropdown\n [value]=\"value\"\n [searchable]=\"searchable\"\n [label]=\"label\"\n (change)=\"onValueChange($event)\"\n [multiple]=\"multiSelect\"\n [invalid]=\"invalid\"\n [compareWith]=\"compareWithAdapter\"\n [searchFilter]=\"searchFilterAdapter\"\n [syncPopoverWidth]=\"syncPopoverWidth\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n >\n <span slot=\"message\" #formInfo\n ><ng-content select=\"[data-form-info]\"></ng-content\n ></span>\n\n <span slot=\"trigger\"\n ><ng-container\n *ngTemplateOutlet=\"\n customButton?.templateRef && selectedOption\n ? customButton!.templateRef\n : defaultButton;\n context: { option: selectedOption }\n \"\n ></ng-container\n ></span>\n\n <ng-container *ngFor=\"let option of options; let index = index\">\n <ng-container *ngIf=\"!option.heading; else optionHeading\">\n <gds-option *nggCoreElement [value]=\"option[useValue]\"\n ><ng-container\n *ngTemplateOutlet=\"\n customOption?.templateRef\n ? customOption!.templateRef\n : defaultOption;\n context: { option: option, index: index }\n \"\n ></ng-container\n ></gds-option>\n </ng-container>\n <ng-template #optionHeading>\n <gds-option-heading *nggCoreElement>{{\n option.label\n }}</gds-option-heading>\n </ng-template>\n </ng-container>\n </gds-dropdown>\n</div>\n\n<ng-template #defaultButton let-selected=\"option\">\n <span class=\"trigger\">{{ texts?.select }}</span>\n</ng-template>\n\n<ng-template #defaultOption let-option=\"option\">\n {{ display ? option[display] : option.name }}\n</ng-template>\n", styles: [".trigger{display:block;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}\n"] }]
|
|
708
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"form-group\">\n <gds-dropdown\n *nggCoreElement\n #gdsDropdown\n [value]=\"value\"\n [searchable]=\"searchable\"\n [label]=\"label\"\n (change)=\"onValueChange($event)\"\n [multiple]=\"multiSelect\"\n [invalid]=\"invalid\"\n [compareWith]=\"compareWithAdapter\"\n [searchFilter]=\"searchFilterAdapter\"\n [syncPopoverWidth]=\"syncPopoverWidth\"\n [size]=\"size\"\n [hideLabel]=\"hideLabel\"\n [maxHeight]=\"maxHeight\"\n >\n <span slot=\"message\" #formInfo\n ><ng-content select=\"[data-form-info]\"></ng-content\n ></span>\n\n <span slot=\"trigger\"\n ><ng-container\n *ngTemplateOutlet=\"\n customButton?.templateRef && selectedOption\n ? customButton!.templateRef\n : defaultButton;\n context: { option: selectedOption }\n \"\n ></ng-container\n ></span>\n\n <ng-container *ngFor=\"let option of options; let index = index\">\n <ng-container *ngIf=\"!option.heading; else optionHeading\">\n <gds-option *nggCoreElement [value]=\"option[useValue]\"\n ><ng-container\n *ngTemplateOutlet=\"\n customOption?.templateRef\n ? customOption!.templateRef\n : defaultOption;\n context: { option: option, index: index }\n \"\n ></ng-container\n ></gds-option>\n </ng-container>\n <ng-template #optionHeading>\n <gds-option-heading *nggCoreElement>{{\n option.label\n }}</gds-option-heading>\n </ng-template>\n </ng-container>\n </gds-dropdown>\n</div>\n\n<ng-template #defaultButton let-selected=\"option\">\n <span class=\"trigger\">{{ texts?.select }}</span>\n</ng-template>\n\n<ng-template #defaultOption let-option=\"option\">\n {{ display ? option[display] : option.name }}\n</ng-template>\n", styles: [".trigger{display:block;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}\n"] }]
|
|
704
709
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
705
710
|
type: Inject,
|
|
706
711
|
args: [Injector]
|
|
@@ -730,6 +735,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
730
735
|
type: Input
|
|
731
736
|
}], hideLabel: [{
|
|
732
737
|
type: Input
|
|
738
|
+
}], maxHeight: [{
|
|
739
|
+
type: Input
|
|
733
740
|
}], fixedPlacement: [{
|
|
734
741
|
type: Input
|
|
735
742
|
}], options: [{
|
|
@@ -1437,6 +1444,264 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1437
1444
|
}]
|
|
1438
1445
|
}] });
|
|
1439
1446
|
|
|
1447
|
+
class SlidingUnderlineDirective {
|
|
1448
|
+
constructor(element) {
|
|
1449
|
+
this.element = element;
|
|
1450
|
+
}
|
|
1451
|
+
ngOnInit() {
|
|
1452
|
+
if (this.element?.nativeElement) {
|
|
1453
|
+
this.element.nativeElement.classList.add('slider');
|
|
1454
|
+
this.element.nativeElement.addEventListener('animationend', () => {
|
|
1455
|
+
this.element.nativeElement.classList.remove('left', 'slider-positive', 'slider-negative');
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
ngOnChanges(changes) {
|
|
1460
|
+
if (!this.disabled) {
|
|
1461
|
+
if (changes.slidingUnderline &&
|
|
1462
|
+
changes.key &&
|
|
1463
|
+
!changes.slidingUnderline.isFirstChange() &&
|
|
1464
|
+
!changes?.key?.isFirstChange()) {
|
|
1465
|
+
if (changes.key.currentValue === changes.key.previousValue) {
|
|
1466
|
+
this.addAnimation(changes.slidingUnderline.currentValue, changes.slidingUnderline.previousValue);
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
else {
|
|
1470
|
+
if (changes.slidingUnderline &&
|
|
1471
|
+
!changes.slidingUnderline.isFirstChange()) {
|
|
1472
|
+
this.addAnimation(changes.slidingUnderline.currentValue, changes.slidingUnderline.previousValue);
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
addAnimation(current, previous) {
|
|
1478
|
+
if (current > previous)
|
|
1479
|
+
this.element.nativeElement.classList.add('slider-positive');
|
|
1480
|
+
else
|
|
1481
|
+
this.element.nativeElement.classList.add('slider-negative');
|
|
1482
|
+
this.element.nativeElement.classList.add('left');
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
SlidingUnderlineDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlidingUnderlineDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1486
|
+
SlidingUnderlineDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SlidingUnderlineDirective, selector: "[nggSlidingUnderline]", inputs: { nggSlidingUnderline: "nggSlidingUnderline", key: "key", disabled: "disabled" }, usesOnChanges: true, ngImport: i0 });
|
|
1487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlidingUnderlineDirective, decorators: [{
|
|
1488
|
+
type: Directive,
|
|
1489
|
+
args: [{
|
|
1490
|
+
selector: '[nggSlidingUnderline]',
|
|
1491
|
+
}]
|
|
1492
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { nggSlidingUnderline: [{
|
|
1493
|
+
type: Input
|
|
1494
|
+
}], key: [{
|
|
1495
|
+
type: Input
|
|
1496
|
+
}], disabled: [{
|
|
1497
|
+
type: Input
|
|
1498
|
+
}] } });
|
|
1499
|
+
|
|
1500
|
+
class CellTableItemComponent {
|
|
1501
|
+
constructor(sanitizer) {
|
|
1502
|
+
this.sanitizer = sanitizer;
|
|
1503
|
+
this.valueType = 'string';
|
|
1504
|
+
this.id = '';
|
|
1505
|
+
this.getSignColor = (value) => {
|
|
1506
|
+
if (/[−-]/.test(String(value)))
|
|
1507
|
+
return 'text-danger';
|
|
1508
|
+
else if (/[1-9]/.test(String(value)))
|
|
1509
|
+
return 'text-success';
|
|
1510
|
+
return '';
|
|
1511
|
+
};
|
|
1512
|
+
}
|
|
1513
|
+
transformHTML(value) {
|
|
1514
|
+
if (value && value.length) {
|
|
1515
|
+
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
1516
|
+
}
|
|
1517
|
+
else {
|
|
1518
|
+
return '';
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
CellTableItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CellTableItemComponent, deps: [{ token: i1$3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
1523
|
+
CellTableItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: CellTableItemComponent, selector: "[nggCellTableItem]", inputs: { row: "row", valueType: "valueType", id: "id" }, ngImport: i0, template: `
|
|
1524
|
+
<ng-container [ngSwitch]="valueType">
|
|
1525
|
+
<span *ngSwitchCase="'string'">{{ row || '–' }}</span>
|
|
1526
|
+
<span *ngSwitchCase="'number'">{{ (row | number) || '–' }}</span>
|
|
1527
|
+
<span *ngSwitchCase="'datetime'">{{
|
|
1528
|
+
(row | date : 'HH:mm:ss') || '–'
|
|
1529
|
+
}}</span>
|
|
1530
|
+
<span *ngSwitchCase="'date'">{{
|
|
1531
|
+
(row | date : 'YYYY-MM-dd') || '–'
|
|
1532
|
+
}}</span>
|
|
1533
|
+
<span
|
|
1534
|
+
*ngSwitchCase="'custom-html'"
|
|
1535
|
+
[innerHtml]="transformHTML(row) || '–'"
|
|
1536
|
+
></span>
|
|
1537
|
+
<span *ngSwitchCase="'sign'" [ngClass]="getSignColor(row)">{{
|
|
1538
|
+
row || '–'
|
|
1539
|
+
}}</span>
|
|
1540
|
+
<span *ngSwitchCase="'pct'">{{ row || '–' }}</span>
|
|
1541
|
+
<span *ngSwitchCase="'streamSign'" [nggSlidingUnderline]="row">{{
|
|
1542
|
+
row || '–'
|
|
1543
|
+
}}</span>
|
|
1544
|
+
<span *ngSwitchDefault>–</span>
|
|
1545
|
+
</ng-container>
|
|
1546
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: SlidingUnderlineDirective, selector: "[nggSlidingUnderline]", inputs: ["nggSlidingUnderline", "key", "disabled"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }, { kind: "pipe", type: i1.DatePipe, name: "date" }] });
|
|
1547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CellTableItemComponent, decorators: [{
|
|
1548
|
+
type: Component,
|
|
1549
|
+
args: [{
|
|
1550
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
1551
|
+
selector: '[nggCellTableItem]',
|
|
1552
|
+
template: `
|
|
1553
|
+
<ng-container [ngSwitch]="valueType">
|
|
1554
|
+
<span *ngSwitchCase="'string'">{{ row || '–' }}</span>
|
|
1555
|
+
<span *ngSwitchCase="'number'">{{ (row | number) || '–' }}</span>
|
|
1556
|
+
<span *ngSwitchCase="'datetime'">{{
|
|
1557
|
+
(row | date : 'HH:mm:ss') || '–'
|
|
1558
|
+
}}</span>
|
|
1559
|
+
<span *ngSwitchCase="'date'">{{
|
|
1560
|
+
(row | date : 'YYYY-MM-dd') || '–'
|
|
1561
|
+
}}</span>
|
|
1562
|
+
<span
|
|
1563
|
+
*ngSwitchCase="'custom-html'"
|
|
1564
|
+
[innerHtml]="transformHTML(row) || '–'"
|
|
1565
|
+
></span>
|
|
1566
|
+
<span *ngSwitchCase="'sign'" [ngClass]="getSignColor(row)">{{
|
|
1567
|
+
row || '–'
|
|
1568
|
+
}}</span>
|
|
1569
|
+
<span *ngSwitchCase="'pct'">{{ row || '–' }}</span>
|
|
1570
|
+
<span *ngSwitchCase="'streamSign'" [nggSlidingUnderline]="row">{{
|
|
1571
|
+
row || '–'
|
|
1572
|
+
}}</span>
|
|
1573
|
+
<span *ngSwitchDefault>–</span>
|
|
1574
|
+
</ng-container>
|
|
1575
|
+
`,
|
|
1576
|
+
}]
|
|
1577
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; }, propDecorators: { row: [{
|
|
1578
|
+
type: Input
|
|
1579
|
+
}], valueType: [{
|
|
1580
|
+
type: Input
|
|
1581
|
+
}], id: [{
|
|
1582
|
+
type: Input
|
|
1583
|
+
}] } });
|
|
1584
|
+
|
|
1585
|
+
class NggCellTableComponent {
|
|
1586
|
+
constructor() {
|
|
1587
|
+
this.items = new QueryList();
|
|
1588
|
+
/** Make the most left element wrap */
|
|
1589
|
+
this.overflowReverse = false;
|
|
1590
|
+
/** List of table headers */
|
|
1591
|
+
this.headerList = [];
|
|
1592
|
+
/** List of data */
|
|
1593
|
+
this.rows = [];
|
|
1594
|
+
/** Make rows clickable and add arrow to the right */
|
|
1595
|
+
this.clickableRows = false;
|
|
1596
|
+
/** Label for the chevron of clickable rows */
|
|
1597
|
+
this.clickLabel = 'View details';
|
|
1598
|
+
/** Callback when a row is clicked */
|
|
1599
|
+
this.rowClicked = new EventEmitter();
|
|
1600
|
+
// ------------- EVENTS ------------------
|
|
1601
|
+
/**
|
|
1602
|
+
* handles the logic for when a row is clicked
|
|
1603
|
+
* @param {TableRowClickedEvent} value the TableRowClickedEvent
|
|
1604
|
+
*/
|
|
1605
|
+
this.handleClickRow = (value) => {
|
|
1606
|
+
if (this.clickableRows)
|
|
1607
|
+
this.rowClicked.emit(value);
|
|
1608
|
+
};
|
|
1609
|
+
this.getValueTypeFromMain = () => {
|
|
1610
|
+
const getMain = this.headerList.find((x) => x.main);
|
|
1611
|
+
if (getMain)
|
|
1612
|
+
return getMain.valueType || '';
|
|
1613
|
+
return '';
|
|
1614
|
+
};
|
|
1615
|
+
this.getTableHeaderListValueFromNonMain = (header) => {
|
|
1616
|
+
if (header.valueType)
|
|
1617
|
+
return header.valueType || '';
|
|
1618
|
+
return '';
|
|
1619
|
+
};
|
|
1620
|
+
this.mainHeader = (row) => {
|
|
1621
|
+
const getMain = this.headerList.find((x) => x.main);
|
|
1622
|
+
if (row && getMain) {
|
|
1623
|
+
return {
|
|
1624
|
+
value: row[getMain.tableKeySelector],
|
|
1625
|
+
valueType: getMain.valueType || 'string',
|
|
1626
|
+
tableKeySelector: getMain.tableKeySelector,
|
|
1627
|
+
};
|
|
1628
|
+
}
|
|
1629
|
+
return {
|
|
1630
|
+
value: '-',
|
|
1631
|
+
valueType: 'string',
|
|
1632
|
+
tableKeySelector: '-',
|
|
1633
|
+
};
|
|
1634
|
+
};
|
|
1635
|
+
this.headerNoneMain = (headers) => {
|
|
1636
|
+
if (this.overflowReverse)
|
|
1637
|
+
return headers.filter((x) => !x.main).reverse();
|
|
1638
|
+
return headers.filter((x) => !x.main);
|
|
1639
|
+
};
|
|
1640
|
+
this.getTableKeySelector = (row) => {
|
|
1641
|
+
return this.mainHeader(row).tableKeySelector + row.rowId;
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1644
|
+
// ------- TRACKBY FOR STREAM ------------
|
|
1645
|
+
trackByrowId(_, b) {
|
|
1646
|
+
return b.rowId;
|
|
1647
|
+
}
|
|
1648
|
+
KeySelector(_, b) {
|
|
1649
|
+
return b.tableKeySelector;
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
NggCellTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1653
|
+
NggCellTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NggCellTableComponent, selector: "ngg-cell-table", inputs: { minWidth: "minWidth", overflowReverse: "overflowReverse", className: "className", headerList: "headerList", rows: "rows", clickableRows: "clickableRows", clickLabel: "clickLabel" }, outputs: { rowClicked: "rowClicked" }, viewQueries: [{ propertyName: "items", predicate: ["items"], descendants: true }], ngImport: i0, template: "<div #targetElement role=\"table\" [ngClass]=\"className\">\n <div class=\"cell-table-table d-flex flex-column\">\n <div\n *ngFor=\"let row of rows; trackBy: trackByrowId\"\n (click)=\"handleClickRow(row)\"\n class=\"cell-table--row-wrapper\"\n role=\"rowgroup\"\n [class.is-clickable]=\"clickableRows\"\n >\n <div>\n <div #items [class.overflow-reverse]=\"overflowReverse\">\n <!-- Main header -->\n <div role=\"row\">\n <div\n nggCellTableItem\n [row]=\"mainHeader(row).value\"\n [valueType]=\"getValueTypeFromMain()\"\n [attr.valueType]=\"getValueTypeFromMain()\"\n [attr.id]=\"getTableKeySelector(row)\"\n role=\"rowheader\"\n aria-rowspan=\"3\"\n aria-colspan=\"3\"\n ></div>\n </div>\n <div role=\"row\">\n <div class=\"d-flex\">\n <!-- Sub Header -->\n <div\n nggCellTableItem\n class=\"sub-header py-0 fw-bold\"\n [row]=\"header.label\"\n [valueType]=\"getTableHeaderListValueFromNonMain(header)\"\n role=\"columnheader\"\n *ngFor=\"\n let header of headerNoneMain(headerList);\n trackBy: KeySelector\n \"\n ></div>\n </div>\n </div>\n\n <div role=\"row\">\n <!-- Sub Values -->\n <div class=\"d-flex\">\n <div\n nggCellTableItem\n class=\"sub-value py-0\"\n [row]=\"row[header.tableKeySelector]\"\n [valueType]=\"getTableHeaderListValueFromNonMain(header)\"\n [attr.valueType]=\"header.valueType\"\n role=\"cell\"\n *ngFor=\"\n let header of headerNoneMain(headerList);\n trackBy: KeySelector\n \"\n ></div>\n </div>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"clickableRows\"\n role=\"row\"\n class=\"d-grid align-items-center ms-4 me-4 cell-table--arrow-container\"\n >\n <div role=\"cell\">\n <div\n role=\"button\"\n [attr.aria-label]=\"clickLabel\"\n tabindex=\"0\"\n [attr.aria-describedby]=\"getTableKeySelector(row)\"\n (keydown.enter)=\"handleClickRow(row)\"\n >\n <svg\n data-prefix=\"far\"\n data-icon=\"chevron-right\"\n class=\"svg-inline--fa fa-chevron-right fa-w-10\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 320 512\"\n >\n <path\n fill=\"currentColor\"\n d=\"M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z\"\n ></path>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: ["[role=rowheader]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:.5rem}[role=cell],[role=columnheader]{flex:1 1 0;margin-bottom:.125rem}.cell-table--row-wrapper{border-top:1px solid var(--gds-ref-pallet-base400);display:flex;padding:1rem}.cell-table--row-wrapper>div:first-child{flex:1 1 0}.cell-table--row-wrapper.is-clickable{cursor:pointer}.cell-table--row-wrapper.is-clickable:hover{background-color:var(--gds-ref-pallet-base100)}.cell-table--arrow-container{flex:0 0 auto;width:10px}.cell-table--arrow-container [tabindex=\"0\"]:focus{outline:2px solid var(--gds-ref-pallet-base800)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CellTableItemComponent, selector: "[nggCellTableItem]", inputs: ["row", "valueType", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableComponent, decorators: [{
|
|
1655
|
+
type: Component,
|
|
1656
|
+
args: [{ selector: 'ngg-cell-table', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #targetElement role=\"table\" [ngClass]=\"className\">\n <div class=\"cell-table-table d-flex flex-column\">\n <div\n *ngFor=\"let row of rows; trackBy: trackByrowId\"\n (click)=\"handleClickRow(row)\"\n class=\"cell-table--row-wrapper\"\n role=\"rowgroup\"\n [class.is-clickable]=\"clickableRows\"\n >\n <div>\n <div #items [class.overflow-reverse]=\"overflowReverse\">\n <!-- Main header -->\n <div role=\"row\">\n <div\n nggCellTableItem\n [row]=\"mainHeader(row).value\"\n [valueType]=\"getValueTypeFromMain()\"\n [attr.valueType]=\"getValueTypeFromMain()\"\n [attr.id]=\"getTableKeySelector(row)\"\n role=\"rowheader\"\n aria-rowspan=\"3\"\n aria-colspan=\"3\"\n ></div>\n </div>\n <div role=\"row\">\n <div class=\"d-flex\">\n <!-- Sub Header -->\n <div\n nggCellTableItem\n class=\"sub-header py-0 fw-bold\"\n [row]=\"header.label\"\n [valueType]=\"getTableHeaderListValueFromNonMain(header)\"\n role=\"columnheader\"\n *ngFor=\"\n let header of headerNoneMain(headerList);\n trackBy: KeySelector\n \"\n ></div>\n </div>\n </div>\n\n <div role=\"row\">\n <!-- Sub Values -->\n <div class=\"d-flex\">\n <div\n nggCellTableItem\n class=\"sub-value py-0\"\n [row]=\"row[header.tableKeySelector]\"\n [valueType]=\"getTableHeaderListValueFromNonMain(header)\"\n [attr.valueType]=\"header.valueType\"\n role=\"cell\"\n *ngFor=\"\n let header of headerNoneMain(headerList);\n trackBy: KeySelector\n \"\n ></div>\n </div>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"clickableRows\"\n role=\"row\"\n class=\"d-grid align-items-center ms-4 me-4 cell-table--arrow-container\"\n >\n <div role=\"cell\">\n <div\n role=\"button\"\n [attr.aria-label]=\"clickLabel\"\n tabindex=\"0\"\n [attr.aria-describedby]=\"getTableKeySelector(row)\"\n (keydown.enter)=\"handleClickRow(row)\"\n >\n <svg\n data-prefix=\"far\"\n data-icon=\"chevron-right\"\n class=\"svg-inline--fa fa-chevron-right fa-w-10\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 320 512\"\n >\n <path\n fill=\"currentColor\"\n d=\"M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z\"\n ></path>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: ["[role=rowheader]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:.5rem}[role=cell],[role=columnheader]{flex:1 1 0;margin-bottom:.125rem}.cell-table--row-wrapper{border-top:1px solid var(--gds-ref-pallet-base400);display:flex;padding:1rem}.cell-table--row-wrapper>div:first-child{flex:1 1 0}.cell-table--row-wrapper.is-clickable{cursor:pointer}.cell-table--row-wrapper.is-clickable:hover{background-color:var(--gds-ref-pallet-base100)}.cell-table--arrow-container{flex:0 0 auto;width:10px}.cell-table--arrow-container [tabindex=\"0\"]:focus{outline:2px solid var(--gds-ref-pallet-base800)}\n"] }]
|
|
1657
|
+
}], propDecorators: { items: [{
|
|
1658
|
+
type: ViewChildren,
|
|
1659
|
+
args: ['items']
|
|
1660
|
+
}], minWidth: [{
|
|
1661
|
+
type: Input
|
|
1662
|
+
}], overflowReverse: [{
|
|
1663
|
+
type: Input
|
|
1664
|
+
}], className: [{
|
|
1665
|
+
type: Input
|
|
1666
|
+
}], headerList: [{
|
|
1667
|
+
type: Input
|
|
1668
|
+
}], rows: [{
|
|
1669
|
+
type: Input
|
|
1670
|
+
}], clickableRows: [{
|
|
1671
|
+
type: Input
|
|
1672
|
+
}], clickLabel: [{
|
|
1673
|
+
type: Input
|
|
1674
|
+
}], rowClicked: [{
|
|
1675
|
+
type: Output
|
|
1676
|
+
}] } });
|
|
1677
|
+
|
|
1678
|
+
class NggCellTableModule {
|
|
1679
|
+
}
|
|
1680
|
+
NggCellTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1681
|
+
NggCellTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableModule, declarations: [NggCellTableComponent,
|
|
1682
|
+
CellTableItemComponent,
|
|
1683
|
+
SlidingUnderlineDirective], imports: [CommonModule], exports: [NggCellTableComponent] });
|
|
1684
|
+
NggCellTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableModule, imports: [CommonModule] });
|
|
1685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggCellTableModule, decorators: [{
|
|
1686
|
+
type: NgModule,
|
|
1687
|
+
args: [{
|
|
1688
|
+
imports: [CommonModule],
|
|
1689
|
+
exports: [NggCellTableComponent],
|
|
1690
|
+
declarations: [
|
|
1691
|
+
NggCellTableComponent,
|
|
1692
|
+
CellTableItemComponent,
|
|
1693
|
+
SlidingUnderlineDirective,
|
|
1694
|
+
],
|
|
1695
|
+
}]
|
|
1696
|
+
}] });
|
|
1697
|
+
|
|
1698
|
+
class Table {
|
|
1699
|
+
constructor(table) {
|
|
1700
|
+
this.data = table.data;
|
|
1701
|
+
this.header = table.header;
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1440
1705
|
class NggModule {
|
|
1441
1706
|
}
|
|
1442
1707
|
NggModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1451,6 +1716,7 @@ NggModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
|
|
|
1451
1716
|
NggSliderModule,
|
|
1452
1717
|
NggContextMenuModule,
|
|
1453
1718
|
NggInPageWizardModule,
|
|
1719
|
+
NggCellTableModule,
|
|
1454
1720
|
NggSharedModule] });
|
|
1455
1721
|
NggModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggModule, imports: [CommonModule, NggAccordionModule,
|
|
1456
1722
|
NggBadgeModule,
|
|
@@ -1463,6 +1729,7 @@ NggModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
|
1463
1729
|
NggSliderModule,
|
|
1464
1730
|
NggContextMenuModule,
|
|
1465
1731
|
NggInPageWizardModule,
|
|
1732
|
+
NggCellTableModule,
|
|
1466
1733
|
NggSharedModule] });
|
|
1467
1734
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NggModule, decorators: [{
|
|
1468
1735
|
type: NgModule,
|
|
@@ -1481,6 +1748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1481
1748
|
NggSliderModule,
|
|
1482
1749
|
NggContextMenuModule,
|
|
1483
1750
|
NggInPageWizardModule,
|
|
1751
|
+
NggCellTableModule,
|
|
1484
1752
|
NggSharedModule,
|
|
1485
1753
|
],
|
|
1486
1754
|
}]
|
|
@@ -1675,5 +1943,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1675
1943
|
* Generated bundle index. Do not edit.
|
|
1676
1944
|
*/
|
|
1677
1945
|
|
|
1678
|
-
export { NggAccordionComponent, NggAccordionListItemComponent, NggAccordionModule, NggBadgeComponent, NggBadgeModule, NggButtonComponent, NggButtonModule, NggContextMenuComponent, NggContextMenuModule, NggCoreElementDirective, NggCoreWrapperModule, NggDatepickerComponent, NggDatepickerModule, NggDropdownButtonDirective, NggDropdownComponent, NggDropdownModule, NggDropdownOptionDirective, NggInPageWizardModule, NggInPageWizardStepCardComponent, NggModalBodyComponent, NggModalComponent, NggModalFooterComponent, NggModalFooterDirective, NggModalHeaderComponent, NggModalHeaderDirective, NggModalModule, NggModule, NggOnScrollDirective, NggPaginationComponent, NggPaginationModule, NggProgressCircleComponent, NggProgressCircleModule, NggSegmentedControlComponent, NggSegmentedControlModule, NggSharedModule, NggSliderComponent, NggSliderModule, ON_SCROLL_TOKEN, dateValidator };
|
|
1946
|
+
export { NggAccordionComponent, NggAccordionListItemComponent, NggAccordionModule, NggBadgeComponent, NggBadgeModule, NggButtonComponent, NggButtonModule, NggCellTableComponent, NggCellTableModule, NggContextMenuComponent, NggContextMenuModule, NggCoreElementDirective, NggCoreWrapperModule, NggDatepickerComponent, NggDatepickerModule, NggDropdownButtonDirective, NggDropdownComponent, NggDropdownModule, NggDropdownOptionDirective, NggInPageWizardModule, NggInPageWizardStepCardComponent, NggModalBodyComponent, NggModalComponent, NggModalFooterComponent, NggModalFooterDirective, NggModalHeaderComponent, NggModalHeaderDirective, NggModalModule, NggModule, NggOnScrollDirective, NggPaginationComponent, NggPaginationModule, NggProgressCircleComponent, NggProgressCircleModule, NggSegmentedControlComponent, NggSegmentedControlModule, NggSharedModule, NggSliderComponent, NggSliderModule, ON_SCROLL_TOKEN, dateValidator };
|
|
1679
1947
|
//# sourceMappingURL=sebgroup-green-angular.mjs.map
|