suis 0.30.1 → 0.31.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -1
- package/esm2022/lib/components/index.mjs +3 -1
- package/esm2022/lib/components/suis-accordion/suis-accordion.component.mjs +7 -9
- package/esm2022/lib/components/suis-alert/suis-alert.component.mjs +7 -9
- package/esm2022/lib/components/suis-box/suis-box.component.mjs +5 -6
- package/esm2022/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.mjs +8 -10
- package/esm2022/lib/components/suis-button/suis-button.component.mjs +7 -9
- package/esm2022/lib/components/suis-button-link/suis-button-link.component.mjs +8 -10
- package/esm2022/lib/components/suis-button-outlined/suis-button-outlined.component.mjs +7 -9
- package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +7 -9
- package/esm2022/lib/components/suis-container/suis-container.component.mjs +6 -8
- package/esm2022/lib/components/suis-dialog/index.mjs +2 -0
- package/esm2022/lib/components/suis-dialog/suis-dialog.component.mjs +62 -0
- package/esm2022/lib/components/suis-dialog-container/index.mjs +3 -0
- package/esm2022/lib/components/suis-dialog-container/suis-dialog-container.component.mjs +17 -0
- package/esm2022/lib/components/suis-dialog-container/suis-dialog-container.interfaces.mjs +2 -0
- package/esm2022/lib/components/suis-form-field/suis-form-field.component.mjs +7 -9
- package/esm2022/lib/components/suis-icon/suis-icon-type.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +7 -9
- package/esm2022/lib/components/suis-input/suis-input.component.mjs +7 -9
- package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +8 -10
- package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +10 -11
- package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +8 -10
- package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +7 -9
- package/esm2022/lib/components/suis-input-radio/suis-input-radio.component.mjs +7 -9
- package/esm2022/lib/components/suis-item/suis-item.component.mjs +6 -8
- package/esm2022/lib/components/suis-label/suis-label.component.mjs +7 -9
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +7 -9
- package/esm2022/lib/components/suis-navigation/suis-navigation.module.mjs +6 -7
- package/esm2022/lib/components/suis-navigation-group/suis-navigation-group.component.mjs +8 -9
- package/esm2022/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.mjs +8 -10
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.component.mjs +8 -10
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.directive.mjs +5 -6
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +7 -9
- package/esm2022/lib/components/suis-notifications/suis-notifications.component.mjs +7 -9
- package/esm2022/lib/components/suis-pagination/suis-pagination-items.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-pagination/suis-pagination-page.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-pagination/suis-pagination-per-page-options.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +5 -8
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +7 -9
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-select/suis-select-is-selected.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-select/suis-select-label.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-select/suis-select.component.mjs +11 -12
- package/esm2022/lib/components/suis-select/suis-select.module.mjs +6 -7
- package/esm2022/lib/components/suis-select-multi/suis-select-multi-chips.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-select-multi/suis-select-multi-is-selected.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +11 -12
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.module.mjs +6 -7
- package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +7 -9
- package/esm2022/lib/components/suis-select-option/suis-select-option.directive.mjs +5 -6
- package/esm2022/lib/components/suis-spinner/suis-spinner.component.mjs +7 -9
- package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +6 -8
- package/esm2022/lib/components/suis-table/suis-table-cell.directive.mjs +5 -6
- package/esm2022/lib/components/suis-table/suis-table-column.directive.mjs +5 -6
- package/esm2022/lib/components/suis-table/suis-table.component.mjs +13 -9
- package/esm2022/lib/components/suis-table/suis-table.module.mjs +6 -7
- package/esm2022/lib/components/suis-tabs/suis-tab-actions.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-tabs/suis-tab-template.pipe.mjs +5 -6
- package/esm2022/lib/components/suis-tabs/suis-tab.directive.mjs +5 -6
- package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +7 -9
- package/esm2022/lib/components/suis-tabs/suis-tabs.module.mjs +6 -7
- package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +7 -9
- package/esm2022/lib/components/suis-title/suis-title.component.mjs +6 -8
- package/esm2022/lib/components/suis-toggle/suis-toggle.component.mjs +7 -9
- package/esm2022/lib/components/suis-toolbar/suis-toolbar.component.mjs +6 -8
- package/esm2022/lib/pipes/suis-ng-class.pipe.mjs +5 -6
- package/esm2022/lib/services/index.mjs +2 -1
- package/esm2022/lib/services/suis-dialog.service.mjs +36 -0
- package/esm2022/lib/services/suis-notification.service.mjs +5 -6
- package/esm2022/lib/shared/classes/suis-button.base.mjs +5 -6
- package/esm2022/lib/shared/classes/suis-checkbox.base.mjs +5 -6
- package/esm2022/lib/shared/classes/suis-input.base.mjs +5 -6
- package/esm2022/lib/shared/classes/suis-select.base.mjs +5 -6
- package/esm2022/lib/shared/pipes/suis-select-filter-options.pipe.mjs +5 -6
- package/esm2022/lib/shared/pipes/suis-select-sort-options.pipe.mjs +5 -6
- package/fesm2022/suis.mjs +444 -334
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/suis-dialog/index.d.ts +1 -0
- package/lib/components/suis-dialog/suis-dialog.component.d.ts +30 -0
- package/lib/components/suis-dialog-container/index.d.ts +2 -0
- package/lib/components/suis-dialog-container/suis-dialog-container.component.d.ts +9 -0
- package/lib/components/suis-dialog-container/suis-dialog-container.interfaces.d.ts +7 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/suis-dialog.service.d.ts +24 -0
- package/package.json +5 -5
@@ -1,9 +1,8 @@
|
|
1
1
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, TemplateRef, } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
3
3
|
import { SuisIconComponent } from '../suis-icon/suis-icon.component';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
|
6
|
-
class SuisSelectOptionComponent {
|
5
|
+
export class SuisSelectOptionComponent {
|
7
6
|
constructor() {
|
8
7
|
/**
|
9
8
|
* Adds checkmark icon to checkbox (if checkbox input set to true). By default set to false.
|
@@ -22,13 +21,12 @@ class SuisSelectOptionComponent {
|
|
22
21
|
onClick() {
|
23
22
|
this.clicked.emit();
|
24
23
|
}
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SuisSelectOptionComponent, isStandalone: true, selector: "suis-select-option", inputs: { option: "option", templateRef: "templateRef", selected: "selected", checkbox: "checkbox" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n class=\"suis-select-option\"\n type=\"button\"\n tabindex=\"-1\"\n (click)=\"onClick()\"\n>\n <span\n class=\"suis-select-option__checkbox\"\n [class.suis-select-option__checkbox--selected]=\"selected\"\n *ngIf=\"checkbox\"\n >\n <suis-icon\n *ngIf=\"selected\"\n [bold]=\"true\"\n color=\"primary\"\n type=\"check\"\n size=\"sm\"\n ></suis-icon>\n </span>\n <span class=\"suis-select-option__label\">\n <ng-container *ngIf=\"templateRef; else label\">\n <ng-container\n *ngTemplateOutlet=\"templateRef; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #label>\n {{ option?.label }}\n </ng-template>\n </span>\n</button>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-select-option{width:100%;display:flex;align-items:center;background-color:transparent;border:none;border-bottom:1px solid #dcdde1;padding:.375rem 1rem;cursor:pointer}.suis-select-option:hover{background-color:#f5f6fa}.suis-select-option__checkbox{min-width:1rem;min-height:1rem;border:.0625rem solid #dcdde1;margin-right:.75rem;display:flex;justify-content:center;align-items:center}.suis-select-option__checkbox--selected{border:.0625rem solid #bcbcbc}.suis-select-option__label{display:flex;justify-content:left;align-items:center;text-align:left}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SuisIconComponent, selector: "suis-icon", inputs: ["size", "color", "type", "outlined", "filled", "pointer", "bold"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
27
26
|
}
|
28
|
-
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectOptionComponent, decorators: [{
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectOptionComponent, decorators: [{
|
30
28
|
type: Component,
|
31
|
-
args: [{ selector: 'suis-select-option', standalone: true, imports: [
|
29
|
+
args: [{ selector: 'suis-select-option', standalone: true, imports: [NgIf, NgTemplateOutlet, SuisIconComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n class=\"suis-select-option\"\n type=\"button\"\n tabindex=\"-1\"\n (click)=\"onClick()\"\n>\n <span\n class=\"suis-select-option__checkbox\"\n [class.suis-select-option__checkbox--selected]=\"selected\"\n *ngIf=\"checkbox\"\n >\n <suis-icon\n *ngIf=\"selected\"\n [bold]=\"true\"\n color=\"primary\"\n type=\"check\"\n size=\"sm\"\n ></suis-icon>\n </span>\n <span class=\"suis-select-option__label\">\n <ng-container *ngIf=\"templateRef; else label\">\n <ng-container\n *ngTemplateOutlet=\"templateRef; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #label>\n {{ option?.label }}\n </ng-template>\n </span>\n</button>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-select-option{width:100%;display:flex;align-items:center;background-color:transparent;border:none;border-bottom:1px solid #dcdde1;padding:.375rem 1rem;cursor:pointer}.suis-select-option:hover{background-color:#f5f6fa}.suis-select-option__checkbox{min-width:1rem;min-height:1rem;border:.0625rem solid #dcdde1;margin-right:.75rem;display:flex;justify-content:center;align-items:center}.suis-select-option__checkbox--selected{border:.0625rem solid #bcbcbc}.suis-select-option__label{display:flex;justify-content:left;align-items:center;text-align:left}\n"] }]
|
32
30
|
}], propDecorators: { option: [{
|
33
31
|
type: Input,
|
34
32
|
args: [{ required: true }]
|
@@ -41,4 +39,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
41
39
|
}], clicked: [{
|
42
40
|
type: Output
|
43
41
|
}] } });
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3Qtb3B0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpb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+1,20 @@
|
|
1
1
|
import { Directive, TemplateRef, inject } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
class SuisSelectOptionDirective {
|
3
|
+
export class SuisSelectOptionDirective {
|
4
4
|
constructor() {
|
5
5
|
/**
|
6
6
|
* Custom template of the option.
|
7
7
|
*/
|
8
8
|
this.templateRef = inject((TemplateRef));
|
9
9
|
}
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectOptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SuisSelectOptionDirective, isStandalone: true, selector: "[suisSelectOption]", ngImport: i0 }); }
|
12
12
|
}
|
13
|
-
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectOptionDirective, decorators: [{
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectOptionDirective, decorators: [{
|
15
14
|
type: Directive,
|
16
15
|
args: [{
|
17
16
|
selector: '[suisSelectOption]',
|
18
17
|
standalone: true,
|
19
18
|
}]
|
20
19
|
}] });
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3Qtb3B0aW9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmV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+1,8 @@
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { NgClass } from '@angular/common';
|
3
3
|
import { SuisNgClassPipe } from '../../pipes';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
|
6
|
-
class SuisSpinnerComponent {
|
5
|
+
export class SuisSpinnerComponent {
|
7
6
|
constructor() {
|
8
7
|
/**
|
9
8
|
* Sets the size of the spinner. Type of SuisSize. By default set to 'sm'.
|
@@ -14,16 +13,15 @@ class SuisSpinnerComponent {
|
|
14
13
|
*/
|
15
14
|
this.color = 'primary';
|
16
15
|
}
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SuisSpinnerComponent, isStandalone: true, selector: "suis-spinner", inputs: { size: "size", color: "color" }, ngImport: i0, template: "<div\n class=\"suis-spinner\"\n [ngClass]=\"'suis-spinner' | suisNgClass : size : color\"\n></div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-spinner{animation:spin .5s infinite linear;border-style:solid;border-radius:50%;border-left-color:transparent!important}.suis-spinner--primary{border-color:#192a56}.suis-spinner--secondary{border-color:#273c75}.suis-spinner--tertiary{border-color:#dcdde1}.suis-spinner--complementary{border-color:#f5f6fa}.suis-spinner--success{border-color:#2ed573}.suis-spinner--warning{border-color:#ffa502}.suis-spinner--danger{border-color:#ff4757}.suis-spinner--dark{border-color:#000}.suis-spinner--gray{border-color:#bcbcbc}.suis-spinner--white{border-color:#fff}.suis-spinner--xs{width:1rem;height:1rem;border-width:.1875rem}.suis-spinner--sm{width:1.5rem;height:1.5rem;border-width:.25rem}.suis-spinner--md{width:2rem;height:2rem;border-width:.375rem}.suis-spinner--lg{width:3rem;height:3rem;border-width:.5rem}.suis-spinner--xl{width:4rem;height:4rem;border-width:.625rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: SuisNgClassPipe, name: "suisNgClass" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
19
18
|
}
|
20
|
-
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerComponent, decorators: [{
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSpinnerComponent, decorators: [{
|
22
20
|
type: Component,
|
23
|
-
args: [{ selector: 'suis-spinner', standalone: true, imports: [
|
21
|
+
args: [{ selector: 'suis-spinner', standalone: true, imports: [NgClass, SuisNgClassPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"suis-spinner\"\n [ngClass]=\"'suis-spinner' | suisNgClass : size : color\"\n></div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-spinner{animation:spin .5s infinite linear;border-style:solid;border-radius:50%;border-left-color:transparent!important}.suis-spinner--primary{border-color:#192a56}.suis-spinner--secondary{border-color:#273c75}.suis-spinner--tertiary{border-color:#dcdde1}.suis-spinner--complementary{border-color:#f5f6fa}.suis-spinner--success{border-color:#2ed573}.suis-spinner--warning{border-color:#ffa502}.suis-spinner--danger{border-color:#ff4757}.suis-spinner--dark{border-color:#000}.suis-spinner--gray{border-color:#bcbcbc}.suis-spinner--white{border-color:#fff}.suis-spinner--xs{width:1rem;height:1rem;border-width:.1875rem}.suis-spinner--sm{width:1.5rem;height:1.5rem;border-width:.25rem}.suis-spinner--md{width:2rem;height:2rem;border-width:.375rem}.suis-spinner--lg{width:3rem;height:3rem;border-width:.5rem}.suis-spinner--xl{width:4rem;height:4rem;border-width:.625rem}\n"] }]
|
24
22
|
}], propDecorators: { size: [{
|
25
23
|
type: Input
|
26
24
|
}], color: [{
|
27
25
|
type: Input
|
28
26
|
}] } });
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zcGlubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmVudHMvc3Vpcy1zcGlubmVyL3N1aXMtc3Bpbm5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci9zdWlzLXNwaW5uZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUUsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzFDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxhQUFhLENBQUM7O0FBWTlDLE1BQU0sT0FBTyxvQkFBb0I7SUFSakM7UUFTRTs7V0FFRztRQUNNLFNBQUksR0FBYSxJQUFJLENBQUM7UUFFL0I7O1dBRUc7UUFDTSxVQUFLLEdBQWMsU0FBUyxDQUFDO0tBQ3ZDOytHQVZZLG9CQUFvQjttR0FBcEIsb0JBQW9CLGtIQ2RqQyx3R0FJ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iB0aGUgc3Bpbm5lci4gVHlwZSBvZiBTdWlzU2l6ZS4gQnkgZGVmYXVsdCBzZXQgdG8gJ3NtJy5cbiAgICovXG4gIEBJbnB1dCgpIHNpemU6IFN1aXNTaXplID0gJ3NtJztcblxuICAvKipcbiAgICogU2V0cyB0aGUgY29sb3Igb2YgdGhlIHNwaW5uZXIuIFR5cGUgb2YgU3Vpc0NvbG9yLiBCeSBkZWZhdWx0IHNldCB0byAncHJpbWFyeScuXG4gICAqL1xuICBASW5wdXQoKSBjb2xvcjogU3Vpc0NvbG9yID0gJ3ByaW1hcnknO1xufVxuIiwiPGRpdlxuICBjbGFzcz1cInN1aXMtc3Bpbm5lclwiXG4gIFtuZ0NsYXNzXT1cIidzdWlzLXNwaW5uZXInIHwgc3Vpc05nQ2xhc3MgOiBzaXplIDogY29sb3JcIlxuPjwvZGl2PlxuIl19
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
2
|
import { SuisSpinnerComponent } from '../suis-spinner/suis-spinner.component';
|
4
3
|
import * as i0 from "@angular/core";
|
5
|
-
class SuisSpinnerContainerComponent {
|
4
|
+
export class SuisSpinnerContainerComponent {
|
6
5
|
constructor() {
|
7
6
|
/**
|
8
7
|
* Sets the size of the spinner. Type of SuisSize. By default set to 'sm'.
|
@@ -21,13 +20,12 @@ class SuisSpinnerContainerComponent {
|
|
21
20
|
*/
|
22
21
|
this.absolute = false;
|
23
22
|
}
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSpinnerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SuisSpinnerContainerComponent, isStandalone: true, selector: "suis-spinner-container", inputs: { size: "size", color: "color", blur: "blur", absolute: "absolute" }, ngImport: i0, template: "<div\n class=\"suis-spinner-container\"\n [class.suis-spinner-container--blur]=\"blur\"\n [class.suis-spinner-container--absolute]=\"absolute\"\n>\n <suis-spinner [size]=\"size\" [color]=\"color\"></suis-spinner>\n</div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-spinner-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.suis-spinner-container--blur{background-color:#ffffff20;-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem)}.suis-spinner-container--absolute{position:absolute;inset:0}\n"], dependencies: [{ kind: "component", type: SuisSpinnerComponent, selector: "suis-spinner", inputs: ["size", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
26
25
|
}
|
27
|
-
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerContainerComponent, decorators: [{
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSpinnerContainerComponent, decorators: [{
|
29
27
|
type: Component,
|
30
|
-
args: [{ selector: 'suis-spinner-container', standalone: true, imports: [
|
28
|
+
args: [{ selector: 'suis-spinner-container', standalone: true, imports: [SuisSpinnerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"suis-spinner-container\"\n [class.suis-spinner-container--blur]=\"blur\"\n [class.suis-spinner-container--absolute]=\"absolute\"\n>\n <suis-spinner [size]=\"size\" [color]=\"color\"></suis-spinner>\n</div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-spinner-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.suis-spinner-container--blur{background-color:#ffffff20;-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem)}.suis-spinner-container--absolute{position:absolute;inset:0}\n"] }]
|
31
29
|
}], propDecorators: { size: [{
|
32
30
|
type: Input
|
33
31
|
}], color: [{
|
@@ -37,4 +35,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
37
35
|
}], absolute: [{
|
38
36
|
type: Input
|
39
37
|
}] } });
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci1jb250YWluZXIvc3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci1jb250YWluZXIvc3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQzs7QUFVOUUsTUFBTSxPQUFPLDZCQUE2QjtJQVIxQztRQVNFOztXQUVHO1FBQ00sU0FBSSxHQUFhLElBQUksQ0FBQztRQUUvQjs7V0FFRztRQUNNLFVBQUssR0FBYyxTQUFTLEN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lci1jb250YWluZXItLWFic29sdXRlXT1cImFic29sdXRlXCJcbj5cbiAgPHN1aXMtc3Bpbm5lciBbc2l6ZV09XCJzaXplXCIgW2NvbG9yXT1cImNvbG9yXCI+PC9zdWlzLXNwaW5uZXI+XG48L2Rpdj5cbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Directive, TemplateRef, inject } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
class SuisTableCellDirective {
|
3
|
+
export class SuisTableCellDirective {
|
4
4
|
constructor() {
|
5
5
|
/**
|
6
6
|
* Template of the table cell.
|
@@ -8,15 +8,14 @@ class SuisTableCellDirective {
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
9
9
|
this.templateRef = inject((TemplateRef));
|
10
10
|
}
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableCellDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SuisTableCellDirective, isStandalone: true, selector: "[suisTableCell]", ngImport: i0 }); }
|
13
13
|
}
|
14
|
-
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTableCellDirective, decorators: [{
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableCellDirective, decorators: [{
|
16
15
|
type: Directive,
|
17
16
|
args: [{
|
18
17
|
selector: '[suisTableCell]',
|
19
18
|
standalone: true,
|
20
19
|
}]
|
21
20
|
}] });
|
22
|
-
//# sourceMappingURL=data:application/json;base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3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueVxuICBwdWJsaWMgcmVhZG9ubHkgdGVtcGxhdGVSZWYgPSBpbmplY3QoVGVtcGxhdGVSZWY8YW55Pik7XG59XG4iXX0=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ContentChild, Directive, Input } from '@angular/core';
|
2
2
|
import { SuisTableCellDirective } from './suis-table-cell.directive';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
class SuisTableColumnDirective {
|
4
|
+
export class SuisTableColumnDirective {
|
5
5
|
constructor() {
|
6
6
|
this._name = '';
|
7
7
|
this._orderProperty = '';
|
@@ -19,11 +19,10 @@ class SuisTableColumnDirective {
|
|
19
19
|
set orderProperty(orderProperty) {
|
20
20
|
this._orderProperty = orderProperty;
|
21
21
|
}
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableColumnDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SuisTableColumnDirective, isStandalone: true, selector: "[suisTableColumn]", inputs: { name: ["suisTableColumn", "name"], orderProperty: ["suisTableColumnOrderProperty", "orderProperty"] }, queries: [{ propertyName: "cell", first: true, predicate: SuisTableCellDirective, descendants: true }], ngImport: i0 }); }
|
24
24
|
}
|
25
|
-
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTableColumnDirective, decorators: [{
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableColumnDirective, decorators: [{
|
27
26
|
type: Directive,
|
28
27
|
args: [{
|
29
28
|
selector: '[suisTableColumn]',
|
@@ -39,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
39
38
|
type: Input,
|
40
39
|
args: ['suisTableColumnOrderProperty']
|
41
40
|
}] } });
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWJsZS1jb2x1bW4uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY29tcG9uZW50cy9zdWlzLXRhYmxlL3N1aXMtdGFibGUtY29sdW1uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0QsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBTXJFLE1BQU0sT0FBTyx3QkFBd0I7SUFKckM7UUFPWSxVQUFLLEdBQVcsRUFBRSxDQUFDO1FBQ25CLG1CQUFjLEdBQVcsRUFBRSxDQUFDO0tBb0J2QztJQWxCQyxtQ0FBbUM7SUFDbkMsSUFDSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFFRCxJQUFJLElBQUksQ0FBQyxJQUFZO1FBQ25CLElBQUksQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDO0lBQ3BCLENBQUM7SUFFRCxJQUNJLGFBQWE7UUFDZixPQUFPLElBQUksQ0FBQyxjQUFjLENBQUM7SUFDN0IsQ0FBQztJQUVELElBQUksYUFBYSxDQUFDLGFBQXFCO1FBQ3JDLElBQUksQ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7XG4gICAgcmV0dXJuIHRoaXMuX25hbWU7XG4gIH1cblxuICBzZXQgbmFtZShuYW1lOiBzdHJpbmcpIHtcbiAgICB0aGlzLl9uYW1lID0gbmFtZTtcbiAgfVxuXG4gIEBJbnB1dCgnc3Vpc1RhYmxlQ29sdW1uT3JkZXJQcm9wZXJ0eScpXG4gIGdldCBvcmRlclByb3BlcnR5KCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuX29yZGVyUHJvcGVydHk7XG4gIH1cblxuICBzZXQgb3JkZXJQcm9wZXJ0eShvcmRlclByb3BlcnR5OiBzdHJpbmcpIHtcbiAgICB0aGlzLl9vcmRlclByb3BlcnR5ID0gb3JkZXJQcm9wZXJ0eTtcbiAgfVxufVxuIl19
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, Output, QueryList, } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { NgFor, NgIf, NgTemplateOutlet } from '@angular/common';
|
3
3
|
import { SuisSpinnerContainerComponent } from '../suis-spinner-container';
|
4
4
|
import { SuisTableColumnDirective } from './suis-table-column.directive';
|
5
5
|
import { SuisIconComponent } from '../suis-icon/suis-icon.component';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
|
8
|
-
class SuisTableComponent {
|
7
|
+
export class SuisTableComponent {
|
9
8
|
constructor() {
|
10
9
|
/**
|
11
10
|
* Data items collection. Type of SuisTableDataItem[]. By default set to empty array. Required input.
|
@@ -46,13 +45,18 @@ class SuisTableComponent {
|
|
46
45
|
this.sortByChange.emit(this.sortBy);
|
47
46
|
}
|
48
47
|
}
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
50
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SuisTableComponent, isStandalone: true, selector: "suis-table", inputs: { data: "data", orderBy: "orderBy", sortBy: "sortBy", loading: "loading", emptyMessage: "emptyMessage" }, outputs: { sortByChange: "sortByChange", orderByChange: "orderByChange" }, queries: [{ propertyName: "columns", predicate: SuisTableColumnDirective }], ngImport: i0, template: "<table *ngIf=\"columns\" class=\"suis-table\">\n <thead>\n <tr>\n <th\n *ngFor=\"let column of columns\"\n [class.pointer]=\"column.orderProperty\"\n (click)=\"\n column.orderProperty ? onColumnClick(column.orderProperty) : undefined\n \"\n >\n <div class=\"suis-table__header\">\n <span>\n {{ column.name }}\n </span>\n <suis-icon\n *ngIf=\"column.orderProperty && column.orderProperty === orderBy\"\n [type]=\"sortBy === 'asc' ? 'chevron-down' : 'chevron-up'\"\n size=\"lg\"\n color=\"white\"\n ></suis-icon>\n </div>\n </th>\n <th *ngIf=\"!columns?.length\"></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td *ngFor=\"let column of columns\">\n <ng-container\n *ngTemplateOutlet=\"\n column.cell!.templateRef;\n context: { $implicit: item }\n \"\n ></ng-container>\n </td>\n </tr>\n <tr *ngIf=\"!data?.length\">\n <td class=\"empty\" [attr.colspan]=\"columns ? columns.length : 1\">\n {{ loading ? '' : emptyMessage }}\n </td>\n </tr>\n <suis-spinner-container\n *ngIf=\"loading\"\n [absolute]=\"true\"\n [blur]=\"true\"\n [color]=\"'secondary'\"\n ></suis-spinner-container>\n </tbody>\n</table>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-table{width:100%;border-collapse:collapse}.suis-table thead tr th{font-weight:500;padding:.75rem 1rem;background-color:#273c75;color:#fff}.suis-table thead tr th:first-child{border-top-left-radius:.25rem}.suis-table thead tr th:last-child{border-top-right-radius:.25rem}.suis-table thead tr th.pointer{cursor:pointer}.suis-table thead tr th.pointer:hover{background-color:#273c75d9}.suis-table thead tr th>.suis-table__header{display:flex;align-items:center}.suis-table thead tr th>.suis-table__header suis-icon{display:block;margin-left:.125rem}.suis-table tbody{position:relative;background-color:#f5f6fa}.suis-table tbody tr{border-bottom:.0625rem solid #dcdde1}.suis-table tbody tr td{padding:.375rem 1rem}.suis-table tbody tr td.empty{text-align:center;padding:1.5rem 1rem}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SuisIconComponent, selector: "suis-icon", inputs: ["size", "color", "type", "outlined", "filled", "pointer", "bold"] }, { kind: "component", type: SuisSpinnerContainerComponent, selector: "suis-spinner-container", inputs: ["size", "color", "blur", "absolute"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
51
50
|
}
|
52
|
-
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTableComponent, decorators: [{
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableComponent, decorators: [{
|
54
52
|
type: Component,
|
55
|
-
args: [{ selector: 'suis-table', standalone: true, imports: [
|
53
|
+
args: [{ selector: 'suis-table', standalone: true, imports: [
|
54
|
+
NgIf,
|
55
|
+
NgFor,
|
56
|
+
NgTemplateOutlet,
|
57
|
+
SuisIconComponent,
|
58
|
+
SuisSpinnerContainerComponent,
|
59
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<table *ngIf=\"columns\" class=\"suis-table\">\n <thead>\n <tr>\n <th\n *ngFor=\"let column of columns\"\n [class.pointer]=\"column.orderProperty\"\n (click)=\"\n column.orderProperty ? onColumnClick(column.orderProperty) : undefined\n \"\n >\n <div class=\"suis-table__header\">\n <span>\n {{ column.name }}\n </span>\n <suis-icon\n *ngIf=\"column.orderProperty && column.orderProperty === orderBy\"\n [type]=\"sortBy === 'asc' ? 'chevron-down' : 'chevron-up'\"\n size=\"lg\"\n color=\"white\"\n ></suis-icon>\n </div>\n </th>\n <th *ngIf=\"!columns?.length\"></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td *ngFor=\"let column of columns\">\n <ng-container\n *ngTemplateOutlet=\"\n column.cell!.templateRef;\n context: { $implicit: item }\n \"\n ></ng-container>\n </td>\n </tr>\n <tr *ngIf=\"!data?.length\">\n <td class=\"empty\" [attr.colspan]=\"columns ? columns.length : 1\">\n {{ loading ? '' : emptyMessage }}\n </td>\n </tr>\n <suis-spinner-container\n *ngIf=\"loading\"\n [absolute]=\"true\"\n [blur]=\"true\"\n [color]=\"'secondary'\"\n ></suis-spinner-container>\n </tbody>\n</table>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host{display:block}.suis-table{width:100%;border-collapse:collapse}.suis-table thead tr th{font-weight:500;padding:.75rem 1rem;background-color:#273c75;color:#fff}.suis-table thead tr th:first-child{border-top-left-radius:.25rem}.suis-table thead tr th:last-child{border-top-right-radius:.25rem}.suis-table thead tr th.pointer{cursor:pointer}.suis-table thead tr th.pointer:hover{background-color:#273c75d9}.suis-table thead tr th>.suis-table__header{display:flex;align-items:center}.suis-table thead tr th>.suis-table__header suis-icon{display:block;margin-left:.125rem}.suis-table tbody{position:relative;background-color:#f5f6fa}.suis-table tbody tr{border-bottom:.0625rem solid #dcdde1}.suis-table tbody tr td{padding:.375rem 1rem}.suis-table tbody tr td.empty{text-align:center;padding:1.5rem 1rem}\n"] }]
|
56
60
|
}], propDecorators: { columns: [{
|
57
61
|
type: ContentChildren,
|
58
62
|
args: [SuisTableColumnDirective]
|
@@ -72,4 +76,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
72
76
|
}], orderByChange: [{
|
73
77
|
type: Output
|
74
78
|
}] } });
|
75
|
-
//# sourceMappingURL=data:application/json;base64,
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWJsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtdGFibGUvc3Vpcy10YWJsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtdGFibGUvc3Vpcy10YWJsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04sU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLGdCQUFnQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDaEUsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFMUUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDekUsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBaUJyRSxNQUFNLE9BQU8sa0JBQWtCO0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c2Vjb25kYXJ5J1wiXG4gICAgPjwvc3Vpcy1zcGlubmVyLWNvbnRhaW5lcj5cbiAgPC90Ym9keT5cbjwvdGFibGU+XG4iXX0=
|
@@ -3,17 +3,16 @@ import { SuisTableComponent } from './suis-table.component';
|
|
3
3
|
import { SuisTableCellDirective } from './suis-table-cell.directive';
|
4
4
|
import { SuisTableColumnDirective } from './suis-table-column.directive';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
class SuisTableModule {
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
6
|
+
export class SuisTableModule {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SuisTableModule, imports: [SuisTableComponent,
|
9
9
|
SuisTableCellDirective,
|
10
10
|
SuisTableColumnDirective], exports: [SuisTableComponent,
|
11
11
|
SuisTableCellDirective,
|
12
12
|
SuisTableColumnDirective] }); }
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableModule }); }
|
14
14
|
}
|
15
|
-
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTableModule, decorators: [{
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTableModule, decorators: [{
|
17
16
|
type: NgModule,
|
18
17
|
args: [{
|
19
18
|
imports: [
|
@@ -28,4 +27,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
28
27
|
],
|
29
28
|
}]
|
30
29
|
}] });
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWJsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtdGFibGUvc3Vpcy10YWJsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFjekUsTUFBTSxPQUFPLGVBQWU7K0dBQWYsZUFBZTtnSEFBZixlQUFlLFlBVnhCLGtCQUFrQjtZQUNsQixzQkFBc0I7WUFDdEIsd0JBQXdCLGFBR3hCLGtCQUFrQjtZQUNsQixzQkFBc0I7WUFDdEIsd0JBQXdCO2dIQUdmLGVBQWU7OzRGQUFmLGVBQWU7a0JBWjNCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFO3dCQUNQLGtCQUFrQjt3QkFDbEIsc0JBQXNCO3dCQUN0Qix3QkFBd0I7cUJBQ3pCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxrQkFBa0I7d0JBQ2xCLHNCQUFzQjt3QkFDdEIsd0JBQXdCO3FCQUN6QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBTdWlzVGFibGVDb21wb25lbnQgfSBmcm9tICcuL3N1aXMtdGFibGUuY29tcG9uZW50JztcbmltcG9ydCB7IFN1aXNUYWJsZUNlbGxEaXJlY3RpdmUgfSBmcm9tICcuL3N1aXMtdGFibGUtY2VsbC5kaXJlY3RpdmUnO1xuaW1wb3J0IHsgU3Vpc1RhYmxlQ29sdW1uRGlyZWN0aXZlIH0gZnJvbSAnLi9zdWlzLXRhYmxlLWNvbHVtbi5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgU3Vpc1RhYmxlQ29tcG9uZW50LFxuICAgIFN1aXNUYWJsZUNlbGxEaXJlY3RpdmUsXG4gICAgU3Vpc1RhYmxlQ29sdW1uRGlyZWN0aXZlLFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgU3Vpc1RhYmxlQ29tcG9uZW50LFxuICAgIFN1aXNUYWJsZUNlbGxEaXJlY3RpdmUsXG4gICAgU3Vpc1RhYmxlQ29sdW1uRGlyZWN0aXZlLFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBTdWlzVGFibGVNb2R1bGUge31cbiJdfQ==
|
@@ -1,20 +1,19 @@
|
|
1
1
|
import { Pipe } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
class SuisTabActionsPipe {
|
3
|
+
export class SuisTabActionsPipe {
|
4
4
|
transform(tabs) {
|
5
5
|
if (!tabs)
|
6
6
|
return [];
|
7
7
|
return tabs.toArray().map((tab) => tab.name);
|
8
8
|
}
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabActionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SuisTabActionsPipe, isStandalone: true, name: "suisTabActions" }); }
|
11
11
|
}
|
12
|
-
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTabActionsPipe, decorators: [{
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabActionsPipe, decorators: [{
|
14
13
|
type: Pipe,
|
15
14
|
args: [{
|
16
15
|
standalone: true,
|
17
16
|
name: 'suisTabActions',
|
18
17
|
}]
|
19
18
|
}] });
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWItYWN0aW9ucy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY29tcG9uZW50cy9zdWlzLXRhYnMvc3Vpcy10YWItYWN0aW9ucy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQTRCLE1BQU0sZUFBZSxDQUFDOztBQU8vRCxNQUFNLE9BQU8sa0JBQWtCO0lBQzdCLFNBQVMsQ0FBQyxJQUE2QztRQUNyRCxJQUFJLENBQUMsSUFBSTtZQUFFLE9BQU8sRUFBRSxDQUFDO1FBRXJCLE9BQU8sSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsRUFBRSxFQUFFLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQy9DLENBQUM7K0dBTFUsa0JBQWtCOzZHQUFsQixrQkFBa0I7OzRGQUFsQixrQkFBa0I7a0JBSjlCLElBQUk7bUJBQUM7b0JBQ0osVUFBVSxFQUFFLElBQUk7b0JBQ2hCLElBQUksRUFBRSxnQkFBZ0I7aUJBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSwgUXVlcnlMaXN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBTdWlzVGFiRGlyZWN0aXZlIH0gZnJvbSAnLi9zdWlzLXRhYi5kaXJlY3RpdmUnO1xuXG5AUGlwZSh7XG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIG5hbWU6ICdzdWlzVGFiQWN0aW9ucycsXG59KVxuZXhwb3J0IGNsYXNzIFN1aXNUYWJBY3Rpb25zUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICB0cmFuc2Zvcm0odGFiczogUXVlcnlMaXN0PFN1aXNUYWJEaXJlY3RpdmU+IHwgdW5kZWZpbmVkKTogc3RyaW5nW10ge1xuICAgIGlmICghdGFicykgcmV0dXJuIFtdO1xuXG4gICAgcmV0dXJuIHRhYnMudG9BcnJheSgpLm1hcCgodGFiKSA9PiB0YWIubmFtZSk7XG4gIH1cbn1cbiJdfQ==
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Pipe } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
class SuisTabTemplatePipe {
|
3
|
+
export class SuisTabTemplatePipe {
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
5
5
|
transform(tabs, currentTab) {
|
6
6
|
if (!tabs)
|
@@ -10,15 +10,14 @@ class SuisTabTemplatePipe {
|
|
10
10
|
return null;
|
11
11
|
return tab.templateRef;
|
12
12
|
}
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
14
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabTemplatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
14
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SuisTabTemplatePipe, isStandalone: true, name: "suisTabTemplate" }); }
|
15
15
|
}
|
16
|
-
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTabTemplatePipe, decorators: [{
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabTemplatePipe, decorators: [{
|
18
17
|
type: Pipe,
|
19
18
|
args: [{
|
20
19
|
standalone: true,
|
21
20
|
name: 'suisTabTemplate',
|
22
21
|
}]
|
23
22
|
}] });
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWItdGVtcGxhdGUucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmVudHMvc3Vpcy10YWJzL3N1aXMtdGFiLXRlbXBsYXRlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBeUMsTUFBTSxlQUFlLENBQUM7O0FBTzVFLE1BQU0sT0FBTyxtQkFBbUI7SUFDOUIsOERBQThEO0lBQzlELFNBQVMsQ0FDUCxJQUE2QyxFQUM3QyxVQUFrQjtRQUVsQixJQUFJLENBQUMsSUFBSTtZQUFFLE9BQU8sSUFBSSxDQUFD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oIXRhYnMpIHJldHVybiBudWxsO1xuXG4gICAgY29uc3QgdGFiID0gdGFicy50b0FycmF5KCkuZmluZCgodGFiKSA9PiB0YWIubmFtZSA9PT0gY3VycmVudFRhYik7XG4gICAgaWYgKCF0YWIpIHJldHVybiBudWxsO1xuXG4gICAgcmV0dXJuIHRhYi50ZW1wbGF0ZVJlZjtcbiAgfVxufVxuIl19
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Directive, Input, TemplateRef, inject } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
class SuisTabDirective {
|
3
|
+
export class SuisTabDirective {
|
4
4
|
constructor() {
|
5
5
|
/**
|
6
6
|
* Template of the tab.
|
@@ -9,11 +9,10 @@ class SuisTabDirective {
|
|
9
9
|
this.templateRef = inject((TemplateRef));
|
10
10
|
this.name = '';
|
11
11
|
}
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SuisTabDirective, isStandalone: true, selector: "[suisTab]", inputs: { name: ["suisTab", "name"] }, ngImport: i0 }); }
|
14
14
|
}
|
15
|
-
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisTabDirective, decorators: [{
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisTabDirective, decorators: [{
|
17
16
|
type: Directive,
|
18
17
|
args: [{
|
19
18
|
selector: '[suisTab]',
|
@@ -23,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
23
22
|
type: Input,
|
24
23
|
args: [{ required: true, alias: 'suisTab' }]
|
25
24
|
}] } });
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy10YWIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY29tcG9uZW50cy9zdWlzLXRhYnMvc3Vpcy10YWIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTXRFLE1BQU0sT0FBTyxnQkFBZ0I7SUFKN0I7UUFLRTs7V0FFRztRQUNILDhEQUE4RDtRQUM5QyxnQkFBVyxHQUFHLE1BQU0sQ0FBQyxDQUFBLFdBQWdCLENBQUEsQ0FBQyxDQUFDO1FBRVYsU0FBSSxHQUFXLEVBQUUsQ0FBQztLQUNoRTsrR0FSWSxnQkFBZ0I7bUdBQWhCLGdCQUFnQjs7NEZBQWhCLGdCQUFnQjtrQkFKNUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsV0FBVztvQkFDckIsVUFBVSxFQUFFLElBQUk7aUJBQ2pCOzhCQVE4QyxJQUFJO3NCQUFoRCxLQUFLO3VCQUFDLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBJbnB1dCwgVGVtcGxhdGVSZWYsIGluamVjdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGl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