@apipass/containers 1.0.0 → 1.0.8
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/breadcrumb/breadcrumb.component.d.ts +14 -15
- package/centralized-container/centralized-container.component.d.ts +13 -13
- package/configuration-page-content/configuration-page.component.d.ts +21 -21
- package/containers.module.d.ts +19 -19
- package/{esm2020 → esm2022}/apipass-containers.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb.component.mjs +31 -0
- package/esm2022/centralized-container/centralized-container.component.mjs +36 -0
- package/esm2022/configuration-page-content/configuration-page.component.mjs +57 -0
- package/esm2022/containers.module.mjs +75 -0
- package/{esm2020 → esm2022}/public-api.mjs +6 -6
- package/fesm2022/apipass-containers.mjs +184 -0
- package/fesm2022/apipass-containers.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/package.json +15 -21
- package/public-api.d.ts +5 -5
- package/assets/css/inputs.scss +0 -197
- package/esm2020/breadcrumb/breadcrumb.component.mjs +0 -32
- package/esm2020/centralized-container/centralized-container.component.mjs +0 -36
- package/esm2020/configuration-page-content/configuration-page.component.mjs +0 -55
- package/esm2020/containers.module.mjs +0 -74
- package/fesm2015/apipass-containers.mjs +0 -187
- package/fesm2015/apipass-containers.mjs.map +0 -1
- package/fesm2020/apipass-containers.mjs +0 -187
- package/fesm2020/apipass-containers.mjs.map +0 -1
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { RouterModule } from '@angular/router';
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i3 from 'ngx-scrollbar';
|
|
9
|
+
import { NgScrollbar, NgScrollbarModule } from 'ngx-scrollbar';
|
|
10
|
+
export * from 'ngx-scrollbar';
|
|
11
|
+
import * as i4 from '@angular/material/form-field';
|
|
12
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
13
|
+
import * as i5 from '@angular/material/icon';
|
|
14
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
+
import * as i6 from '@angular/material/input';
|
|
16
|
+
import { MatInputModule } from '@angular/material/input';
|
|
17
|
+
import { Subject } from 'rxjs';
|
|
18
|
+
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
19
|
+
import * as i3$1 from '@angular/material/toolbar';
|
|
20
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
21
|
+
import { IconsModule } from '@apipass/icons';
|
|
22
|
+
import { ButtonsModule } from '@apipass/buttons';
|
|
23
|
+
|
|
24
|
+
class CentralizedContainerComponent {
|
|
25
|
+
searchTerm = '';
|
|
26
|
+
hasSearch = true;
|
|
27
|
+
ignoreZoom = false;
|
|
28
|
+
searchChanged = new EventEmitter();
|
|
29
|
+
scrollbarRef;
|
|
30
|
+
searchTermChanged() {
|
|
31
|
+
this.searchChanged.emit(this.searchTerm);
|
|
32
|
+
}
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CentralizedContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CentralizedContainerComponent, selector: "centralized-container", inputs: { hasSearch: "hasSearch", ignoreZoom: "ignoreZoom" }, outputs: { searchChanged: "searchChanged" }, viewQueries: [{ propertyName: "scrollbarRef", first: true, predicate: NgScrollbar, descendants: true, static: true }], ngImport: i0, template: "<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field>\r\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\r\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".centralized-container{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom{font-size:62.5%}.centralized-container>ng-scrollbar{width:100%}.centralized-container .list-content{display:flex;flex-direction:column;height:100%;padding:30px 25px 25px;box-sizing:border-box}.centralized-container .list-content .list-search{position:absolute;place-self:flex-end;width:21%;font-size:1.4em}.centralized-container .list-content .list-search mat-form-field{width:100%}.centralized-container .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem}:host ::ng-deep .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar", inputs: ["disabled", "sensorDisabled", "pointerEventsDisabled", "viewportPropagateMouseMove", "autoHeightDisabled", "autoWidthDisabled", "viewClass", "trackClass", "thumbClass", "minThumbSize", "trackClickScrollDuration", "pointerEventsMethod", "track", "visibility", "appearance", "position", "sensorDebounce", "scrollAuditTime"], outputs: ["updated"], exportAs: ["ngScrollbar"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CentralizedContainerComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'centralized-container', template: "<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field>\r\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\r\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".centralized-container{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom{font-size:62.5%}.centralized-container>ng-scrollbar{width:100%}.centralized-container .list-content{display:flex;flex-direction:column;height:100%;padding:30px 25px 25px;box-sizing:border-box}.centralized-container .list-content .list-search{position:absolute;place-self:flex-end;width:21%;font-size:1.4em}.centralized-container .list-content .list-search mat-form-field{width:100%}.centralized-container .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem}:host ::ng-deep .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}\n"] }]
|
|
39
|
+
}], propDecorators: { hasSearch: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], ignoreZoom: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], searchChanged: [{
|
|
44
|
+
type: Output
|
|
45
|
+
}], scrollbarRef: [{
|
|
46
|
+
type: ViewChild,
|
|
47
|
+
args: [NgScrollbar, { static: true }]
|
|
48
|
+
}] } });
|
|
49
|
+
|
|
50
|
+
class ConfigurationPageComponent {
|
|
51
|
+
searchTerm = '';
|
|
52
|
+
verticalSeparate = false;
|
|
53
|
+
footerPaginator = false;
|
|
54
|
+
hasSearch = true;
|
|
55
|
+
searchDebounceTime = 1000;
|
|
56
|
+
searchLabel = '';
|
|
57
|
+
txtQueryChanged = new Subject();
|
|
58
|
+
searchChanged = new EventEmitter();
|
|
59
|
+
searchClick = new EventEmitter();
|
|
60
|
+
scrollbarRef;
|
|
61
|
+
constructor() {
|
|
62
|
+
this.txtQueryChanged.pipe(debounceTime(this.searchDebounceTime), distinctUntilChanged()).subscribe(model => { this.searchChanged.next(model); });
|
|
63
|
+
}
|
|
64
|
+
searchTermChanged() {
|
|
65
|
+
this.txtQueryChanged.next(this.searchTerm);
|
|
66
|
+
}
|
|
67
|
+
searchIconClick() {
|
|
68
|
+
this.searchClick.next(this.searchTerm);
|
|
69
|
+
}
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfigurationPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ConfigurationPageComponent, selector: "configuration-page-container", inputs: { verticalSeparate: "verticalSeparate", footerPaginator: "footerPaginator", hasSearch: "hasSearch", searchDebounceTime: "searchDebounceTime", searchLabel: "searchLabel" }, outputs: { searchChanged: "searchChanged", searchClick: "searchClick" }, viewQueries: [{ propertyName: "scrollbarRef", first: true, predicate: NgScrollbar, descendants: true, static: true }], ngImport: i0, template: "<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\r\n [ngClass]=\"{'label-input': searchLabel}\"\r\n appearance=\"fill\">\r\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\r\n <input matInput type=\"search\" class=\"search-input\"\r\n [(ngModel)]=\"searchTerm\"\r\n (ngModelChange)=\"searchTermChanged()\"\r\n />\r\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".configuration-page-container{display:flex;height:100%;border:1px solid var(--color-tertiary)}.configuration-page-container.footer-paginator{height:calc(100% - 50px)}.configuration-page-container ng-scrollbar{width:100%}.configuration-page-container ng-scrollbar .ng-scroll-content{height:100%}.configuration-page-container ng-scrollbar .list-content{width:100%;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.configuration-page-container ng-scrollbar .list-content .list-search{padding-top:15px;padding-right:15px;place-self:flex-end;width:30%}.configuration-page-container ng-scrollbar .list-content .list-search mat-form-field{width:100%}.configuration-page-container ng-scrollbar .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem;cursor:pointer}.configuration-page-container .container-content{width:100%;height:100%}.configuration-page-container .container-content.vertical-separate{display:flex;flex-direction:column;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar", inputs: ["disabled", "sensorDisabled", "pointerEventsDisabled", "viewportPropagateMouseMove", "autoHeightDisabled", "autoWidthDisabled", "viewClass", "trackClass", "thumbClass", "minThumbSize", "trackClickScrollDuration", "pointerEventsMethod", "track", "visibility", "appearance", "position", "sensorDebounce", "scrollAuditTime"], outputs: ["updated"], exportAs: ["ngScrollbar"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfigurationPageComponent, decorators: [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'configuration-page-container', template: "<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\r\n [ngClass]=\"{'label-input': searchLabel}\"\r\n appearance=\"fill\">\r\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\r\n <input matInput type=\"search\" class=\"search-input\"\r\n [(ngModel)]=\"searchTerm\"\r\n (ngModelChange)=\"searchTermChanged()\"\r\n />\r\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".configuration-page-container{display:flex;height:100%;border:1px solid var(--color-tertiary)}.configuration-page-container.footer-paginator{height:calc(100% - 50px)}.configuration-page-container ng-scrollbar{width:100%}.configuration-page-container ng-scrollbar .ng-scroll-content{height:100%}.configuration-page-container ng-scrollbar .list-content{width:100%;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.configuration-page-container ng-scrollbar .list-content .list-search{padding-top:15px;padding-right:15px;place-self:flex-end;width:30%}.configuration-page-container ng-scrollbar .list-content .list-search mat-form-field{width:100%}.configuration-page-container ng-scrollbar .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem;cursor:pointer}.configuration-page-container .container-content{width:100%;height:100%}.configuration-page-container .container-content.vertical-separate{display:flex;flex-direction:column;justify-content:space-between}\n"] }]
|
|
76
|
+
}], ctorParameters: function () { return []; }, propDecorators: { verticalSeparate: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], footerPaginator: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], hasSearch: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], searchDebounceTime: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], searchLabel: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], searchChanged: [{
|
|
87
|
+
type: Output
|
|
88
|
+
}], searchClick: [{
|
|
89
|
+
type: Output
|
|
90
|
+
}], scrollbarRef: [{
|
|
91
|
+
type: ViewChild,
|
|
92
|
+
args: [NgScrollbar, { static: true }]
|
|
93
|
+
}] } });
|
|
94
|
+
|
|
95
|
+
class BreadcrumbComponent {
|
|
96
|
+
icon = 'keyboard_arrow_right';
|
|
97
|
+
items = [];
|
|
98
|
+
labelProperty = 'label';
|
|
99
|
+
itemClick = new EventEmitter();
|
|
100
|
+
eventClick(index, item) {
|
|
101
|
+
this.items.splice(index + 1, this.items.length - 1);
|
|
102
|
+
this.itemClick.emit({ index, item });
|
|
103
|
+
}
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: BreadcrumbComponent, selector: "breadcrumb-component", inputs: { icon: "icon", items: "items", labelProperty: "labelProperty" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\r\n <span *ngFor=\"let header of items; let indx = index\">\r\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\r\n <mat-icon>{{icon}}</mat-icon>\r\n </a>\r\n </span>\r\n</mat-toolbar>", styles: [".mat-toolbar.mat-primary{background:rgba(0,0,0,0);height:45px;font-size:16px}a{color:#000;cursor:pointer}mat-icon{vertical-align:text-bottom}\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: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }] });
|
|
106
|
+
}
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BreadcrumbComponent, decorators: [{
|
|
108
|
+
type: Component,
|
|
109
|
+
args: [{ selector: 'breadcrumb-component', template: "<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\r\n <span *ngFor=\"let header of items; let indx = index\">\r\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\r\n <mat-icon>{{icon}}</mat-icon>\r\n </a>\r\n </span>\r\n</mat-toolbar>", styles: [".mat-toolbar.mat-primary{background:rgba(0,0,0,0);height:45px;font-size:16px}a{color:#000;cursor:pointer}mat-icon{vertical-align:text-bottom}\n"] }]
|
|
110
|
+
}], propDecorators: { icon: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], items: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], labelProperty: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], itemClick: [{
|
|
117
|
+
type: Output
|
|
118
|
+
}] } });
|
|
119
|
+
|
|
120
|
+
class ContainersModule {
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContainersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
122
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ContainersModule, declarations: [CentralizedContainerComponent,
|
|
123
|
+
ConfigurationPageComponent,
|
|
124
|
+
BreadcrumbComponent], imports: [CommonModule,
|
|
125
|
+
RouterModule,
|
|
126
|
+
FormsModule,
|
|
127
|
+
ReactiveFormsModule,
|
|
128
|
+
IconsModule,
|
|
129
|
+
ButtonsModule,
|
|
130
|
+
NgScrollbarModule,
|
|
131
|
+
MatFormFieldModule,
|
|
132
|
+
MatIconModule,
|
|
133
|
+
MatInputModule,
|
|
134
|
+
MatToolbarModule], exports: [CentralizedContainerComponent,
|
|
135
|
+
ConfigurationPageComponent,
|
|
136
|
+
BreadcrumbComponent] });
|
|
137
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContainersModule, imports: [CommonModule,
|
|
138
|
+
RouterModule,
|
|
139
|
+
FormsModule,
|
|
140
|
+
ReactiveFormsModule,
|
|
141
|
+
IconsModule,
|
|
142
|
+
ButtonsModule,
|
|
143
|
+
NgScrollbarModule,
|
|
144
|
+
MatFormFieldModule,
|
|
145
|
+
MatIconModule,
|
|
146
|
+
MatInputModule,
|
|
147
|
+
MatToolbarModule] });
|
|
148
|
+
}
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContainersModule, decorators: [{
|
|
150
|
+
type: NgModule,
|
|
151
|
+
args: [{
|
|
152
|
+
imports: [
|
|
153
|
+
CommonModule,
|
|
154
|
+
RouterModule,
|
|
155
|
+
FormsModule,
|
|
156
|
+
ReactiveFormsModule,
|
|
157
|
+
IconsModule,
|
|
158
|
+
ButtonsModule,
|
|
159
|
+
NgScrollbarModule,
|
|
160
|
+
MatFormFieldModule,
|
|
161
|
+
MatIconModule,
|
|
162
|
+
MatInputModule,
|
|
163
|
+
MatToolbarModule
|
|
164
|
+
],
|
|
165
|
+
declarations: [
|
|
166
|
+
CentralizedContainerComponent,
|
|
167
|
+
ConfigurationPageComponent,
|
|
168
|
+
BreadcrumbComponent
|
|
169
|
+
],
|
|
170
|
+
exports: [
|
|
171
|
+
CentralizedContainerComponent,
|
|
172
|
+
ConfigurationPageComponent,
|
|
173
|
+
BreadcrumbComponent
|
|
174
|
+
],
|
|
175
|
+
providers: []
|
|
176
|
+
}]
|
|
177
|
+
}] });
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Generated bundle index. Do not edit.
|
|
181
|
+
*/
|
|
182
|
+
|
|
183
|
+
export { BreadcrumbComponent, CentralizedContainerComponent, ConfigurationPageComponent, ContainersModule };
|
|
184
|
+
//# sourceMappingURL=apipass-containers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apipass-containers.mjs","sources":["../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/breadcrumb/breadcrumb.component.ts","../../../projects/containers/src/breadcrumb/breadcrumb.component.html","../../../projects/containers/src/containers.module.ts","../../../projects/containers/src/apipass-containers.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core'\r\nimport { NgScrollbar } from 'ngx-scrollbar'\r\n\r\n@Component({\r\n selector: 'centralized-container',\r\n templateUrl: 'centralized-container.component.html',\r\n styleUrls: ['centralized-container.component.scss']\r\n})\r\nexport class CentralizedContainerComponent {\n public searchTerm = ''\r\n\r\n @Input() public hasSearch = true\r\n @Input() public ignoreZoom = false\r\n\r\n @Output()\r\n public searchChanged = new EventEmitter<string>()\r\n\r\n @ViewChild(NgScrollbar, { static: true })\r\n public scrollbarRef: NgScrollbar | undefined\r\n\r\n public searchTermChanged (): void {\r\n this.searchChanged.emit(this.searchTerm)\r\n }\n}\r\n","<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field>\r\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\r\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n","import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core'\r\nimport { NgScrollbar } from 'ngx-scrollbar'\r\nimport { Subject } from 'rxjs'\r\nimport { debounceTime, distinctUntilChanged } from 'rxjs/operators'\r\n\r\n@Component({\r\n selector: 'configuration-page-container',\r\n templateUrl: 'configuration-page.component.html',\r\n styleUrls: ['configuration-page.component.scss']\r\n})\r\nexport class ConfigurationPageComponent {\n public searchTerm = ''\r\n\r\n @Input() public verticalSeparate = false\r\n @Input() public footerPaginator = false\r\n @Input() public hasSearch = true\r\n @Input() public searchDebounceTime = 1000\r\n @Input() public searchLabel = ''\r\n\r\n txtQueryChanged: Subject<string> = new Subject<string>()\r\n\r\n @Output() public searchChanged = new EventEmitter<string>()\r\n @Output() public searchClick = new EventEmitter<string>()\r\n\r\n @ViewChild(NgScrollbar, { static: true })\r\n public scrollbarRef: NgScrollbar | undefined\r\n\r\n constructor () {\r\n this.txtQueryChanged.pipe(\r\n debounceTime(this.searchDebounceTime),\r\n distinctUntilChanged()).subscribe(model => { this.searchChanged.next(model) }\r\n )\r\n }\r\n\r\n public searchTermChanged (): void {\r\n this.txtQueryChanged.next(this.searchTerm)\r\n }\r\n\r\n public searchIconClick (): void {\r\n this.searchClick.next(this.searchTerm)\r\n }\n}\r\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\r\n [ngClass]=\"{'label-input': searchLabel}\"\r\n appearance=\"fill\">\r\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\r\n <input matInput type=\"search\" class=\"search-input\"\r\n [(ngModel)]=\"searchTerm\"\r\n (ngModelChange)=\"searchTermChanged()\"\r\n />\r\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n\r\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n","import { Component, EventEmitter, Input, Output } from '@angular/core'\r\n\r\n@Component({\r\n selector: 'breadcrumb-component',\r\n templateUrl: 'breadcrumb.component.html',\r\n styleUrls: ['breadcrumb.component.scss']\r\n})\r\nexport class BreadcrumbComponent {\r\n @Input() public icon = 'keyboard_arrow_right'\r\n @Input() public items: any = []\r\n @Input() public labelProperty = 'label'\r\n @Output() itemClick = new EventEmitter<{ index: number, item: any }>()\r\n\r\n public eventClick (index: number, item: any): any {\r\n this.items.splice(index + 1, this.items.length - 1)\r\n this.itemClick.emit({ index, item })\r\n }\n}\r\n","<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\r\n <span *ngFor=\"let header of items; let indx = index\">\r\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\r\n <mat-icon>{{icon}}</mat-icon>\r\n </a>\r\n </span>\r\n</mat-toolbar>","import { NgModule } from '@angular/core'\r\nimport { CommonModule } from '@angular/common'\r\nimport { RouterModule } from '@angular/router'\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms'\r\nimport { CentralizedContainerComponent } from './centralized-container/centralized-container.component'\r\nimport { ConfigurationPageComponent } from './configuration-page-content/configuration-page.component'\r\nimport { BreadcrumbComponent } from './breadcrumb/breadcrumb.component'\r\nimport { NgScrollbarModule } from 'ngx-scrollbar'\r\nimport { MatFormFieldModule } from '@angular/material/form-field'\r\nimport { MatIconModule } from '@angular/material/icon'\r\nimport { MatInputModule } from '@angular/material/input'\r\nimport { IconsModule } from '@apipass/icons'\r\nimport { ButtonsModule } from '@apipass/buttons'\r\nimport { MatToolbarModule } from '@angular/material/toolbar'\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n IconsModule,\r\n ButtonsModule,\r\n NgScrollbarModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatToolbarModule\r\n ],\r\n declarations: [\r\n CentralizedContainerComponent,\r\n ConfigurationPageComponent,\r\n BreadcrumbComponent\r\n ],\r\n exports: [\r\n CentralizedContainerComponent,\r\n ConfigurationPageComponent,\r\n BreadcrumbComponent\r\n ],\r\n providers: []\r\n})\r\nexport class ContainersModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAGA,MAKa,6BAA6B,CAAA;IACjC,UAAU,GAAG,EAAE,CAAA;IAEN,SAAS,GAAG,IAAI,CAAA;IAChB,UAAU,GAAG,KAAK,CAAA;AAG3B,IAAA,aAAa,GAAG,IAAI,YAAY,EAAU,CAAA;AAG1C,IAAA,YAAY,CAAyB;IAErC,iBAAiB,GAAA;QACtB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;KACzC;uGAdU,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;2FAA7B,6BAA6B,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,OAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,cAAA,EAAA,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B;wBAC1B,mBAAmB;AACpB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACvCD;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@apipass/containers" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@apipass/containers" />
|
|
5
|
+
export * from './public-api';
|
package/package.json
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apipass/containers",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/animations": "
|
|
6
|
-
"@angular/cdk": "
|
|
7
|
-
"@angular/common": "
|
|
8
|
-
"@angular/core": "
|
|
9
|
-
"@angular/forms": "
|
|
10
|
-
"@angular/material": "
|
|
5
|
+
"@angular/animations": "16.0.2",
|
|
6
|
+
"@angular/cdk": "16.0.1",
|
|
7
|
+
"@angular/common": "16.0.2",
|
|
8
|
+
"@angular/core": "16.0.2",
|
|
9
|
+
"@angular/forms": "16.0.2",
|
|
10
|
+
"@angular/material": "16.0.1"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@apipass/icons": "1.0.
|
|
14
|
-
"@apipass/buttons": "1.0.
|
|
13
|
+
"@apipass/icons": "1.0.8",
|
|
14
|
+
"@apipass/buttons": "1.0.8",
|
|
15
15
|
"ngx-scrollbar": "11.0.0",
|
|
16
|
-
"@ngx-translate/core": "
|
|
17
|
-
"tslib": "2.5.
|
|
16
|
+
"@ngx-translate/core": "15.0.0",
|
|
17
|
+
"tslib": "2.5.2"
|
|
18
18
|
},
|
|
19
|
-
"module": "
|
|
20
|
-
"es2020": "fesm2020/apipass-containers.mjs",
|
|
21
|
-
"esm2020": "esm2020/apipass-containers.mjs",
|
|
22
|
-
"fesm2020": "fesm2020/apipass-containers.mjs",
|
|
23
|
-
"fesm2015": "fesm2015/apipass-containers.mjs",
|
|
19
|
+
"module": "fesm2022/apipass-containers.mjs",
|
|
24
20
|
"typings": "index.d.ts",
|
|
25
21
|
"exports": {
|
|
26
22
|
"./package.json": {
|
|
@@ -28,11 +24,9 @@
|
|
|
28
24
|
},
|
|
29
25
|
".": {
|
|
30
26
|
"types": "./index.d.ts",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"node": "./fesm2015/apipass-containers.mjs",
|
|
35
|
-
"default": "./fesm2020/apipass-containers.mjs"
|
|
27
|
+
"esm2022": "./esm2022/apipass-containers.mjs",
|
|
28
|
+
"esm": "./esm2022/apipass-containers.mjs",
|
|
29
|
+
"default": "./fesm2022/apipass-containers.mjs"
|
|
36
30
|
}
|
|
37
31
|
},
|
|
38
32
|
"sideEffects": false
|
package/public-api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './containers.module';
|
|
2
|
-
export * from './centralized-container/centralized-container.component';
|
|
3
|
-
export * from './configuration-page-content/configuration-page.component';
|
|
4
|
-
export * from './breadcrumb/breadcrumb.component';
|
|
5
|
-
export * from 'ngx-scrollbar';
|
|
1
|
+
export * from './containers.module';
|
|
2
|
+
export * from './centralized-container/centralized-container.component';
|
|
3
|
+
export * from './configuration-page-content/configuration-page.component';
|
|
4
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
5
|
+
export * from 'ngx-scrollbar';
|
package/assets/css/inputs.scss
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
@import "colors";
|
|
2
|
-
@import "fonts";
|
|
3
|
-
@import "spacing";
|
|
4
|
-
|
|
5
|
-
/* Default Inputs */
|
|
6
|
-
.mat-input-underline, .mat-form-field-underline {
|
|
7
|
-
display: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.mat-form-field-appearance-fill .mat-form-field-flex {
|
|
11
|
-
display: flex!important;
|
|
12
|
-
align-items: center!important;
|
|
13
|
-
border: 1px solid var(--color-inputs-border) !important;
|
|
14
|
-
background: var(--color-inputs-background) !important;
|
|
15
|
-
border-radius: 6px !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mat-form-field-infix {
|
|
19
|
-
padding: 0 !important;
|
|
20
|
-
display: flex!important;
|
|
21
|
-
align-items: center!important;
|
|
22
|
-
border-top: none!important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.mat-select-arrow-wrapper {
|
|
26
|
-
display: flex!important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.mat-icon-button {
|
|
30
|
-
width: auto!important;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.no-border {
|
|
34
|
-
.mat-form-field-flex {
|
|
35
|
-
border: none !important;
|
|
36
|
-
input {
|
|
37
|
-
padding: 1px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mat-form-field-label-wrapper {
|
|
43
|
-
top: -10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mat-form-field-should-float .mat-form-field-label-wrapper {
|
|
47
|
-
font-size: $base-font-size;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.placeholder-primary {
|
|
51
|
-
.mat-form-field-label-wrapper {
|
|
52
|
-
color: var(--color-primary) !important;
|
|
53
|
-
label {
|
|
54
|
-
color: var(--color-primary) !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
58
|
-
color: var(--color-primary) !important;
|
|
59
|
-
}
|
|
60
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
61
|
-
color: var(--color-primary) !important;
|
|
62
|
-
}
|
|
63
|
-
input {
|
|
64
|
-
::-webkit-input-placeholder { /* Edge */
|
|
65
|
-
color: var(--color-primary) !important;
|
|
66
|
-
}
|
|
67
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
68
|
-
color: var(--color-primary) !important;
|
|
69
|
-
}
|
|
70
|
-
::placeholder {
|
|
71
|
-
color: var(--color-primary) !important;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.placeholder-bold {
|
|
77
|
-
.mat-form-field-label-wrapper {
|
|
78
|
-
font-weight: bold !important;
|
|
79
|
-
label {
|
|
80
|
-
font-weight: bold !important;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
::ng-deep .mat-form-field-placeholder, .mat-form-field-placeholder {
|
|
84
|
-
font-weight: bold !important;
|
|
85
|
-
}
|
|
86
|
-
::ng-deep .mat-focused .mat-form-field-placeholder, .mat-focused .mat-form-field-placeholder {
|
|
87
|
-
font-weight: bold !important;
|
|
88
|
-
}
|
|
89
|
-
input {
|
|
90
|
-
::-webkit-input-placeholder { /* Edge */
|
|
91
|
-
font-weight: bold !important;
|
|
92
|
-
}
|
|
93
|
-
:-ms-input-placeholder { /* Internet Explorer 10-11 */
|
|
94
|
-
font-weight: bold !important;
|
|
95
|
-
}
|
|
96
|
-
::placeholder {
|
|
97
|
-
font-weight: bold !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Inputs */
|
|
103
|
-
.apipass-input-text {
|
|
104
|
-
width: 100%;
|
|
105
|
-
.mat-form-field-flex {
|
|
106
|
-
padding: $spacing-input-top $spacing-input-right $spacing-input-bottom $spacing-input-left !important;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.apipass-input-text,
|
|
111
|
-
.apipass-search-input-text,
|
|
112
|
-
.custom-select-component,
|
|
113
|
-
.apipass-select,
|
|
114
|
-
.apipass-date-filter {
|
|
115
|
-
|
|
116
|
-
.mat-form-field-wrapper {
|
|
117
|
-
padding: 0 !important;
|
|
118
|
-
}
|
|
119
|
-
.mat-icon-button {
|
|
120
|
-
width: auto!important;
|
|
121
|
-
height: auto!important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&.label-input {
|
|
125
|
-
.mat-form-field-label-wrapper {
|
|
126
|
-
padding-top: 0;
|
|
127
|
-
top: auto !important;
|
|
128
|
-
}
|
|
129
|
-
input {
|
|
130
|
-
padding-top: 10px !important;
|
|
131
|
-
padding-bottom: 5px !important;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
&.mat-form-field-should-float {
|
|
135
|
-
.mat-form-field-label-wrapper {
|
|
136
|
-
padding-top: 0 !important;
|
|
137
|
-
margin-top: -10px !important;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.apipass-search-input-text {
|
|
145
|
-
width: 100%;
|
|
146
|
-
|
|
147
|
-
&.small-text {
|
|
148
|
-
font-size: $base-font-size - 2px;
|
|
149
|
-
}
|
|
150
|
-
.mat-form-field-flex {
|
|
151
|
-
padding: 2px 5px 2px 2px !important;
|
|
152
|
-
border-top: none !important;
|
|
153
|
-
border-left: none !important;
|
|
154
|
-
border-right: none !important;
|
|
155
|
-
border-radius: 0 !important;
|
|
156
|
-
}
|
|
157
|
-
.search-icon {
|
|
158
|
-
margin-top: -5px !important;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.custom-select-component {
|
|
164
|
-
width: 100%;
|
|
165
|
-
.mat-form-field-flex {
|
|
166
|
-
padding: 1px $spacing-input-right 1px $spacing-input-left !important;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.apipass-select {
|
|
171
|
-
width: 100%;
|
|
172
|
-
.mat-form-field-flex {
|
|
173
|
-
padding: $spacing-select-top $spacing-select-right $spacing-select-bottom $spacing-select-left !important;
|
|
174
|
-
}
|
|
175
|
-
&.label-input {
|
|
176
|
-
.mat-form-field-infix {
|
|
177
|
-
padding-top: 7px !important;
|
|
178
|
-
padding-bottom: 7px !important;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.apipass-date-filter {
|
|
184
|
-
width: 100%;
|
|
185
|
-
.mat-form-field-flex {
|
|
186
|
-
padding: $spacing-date-filter-top $spacing-date-filter-right $spacing-date-filter-bottom $spacing-date-filter-left !important;
|
|
187
|
-
}
|
|
188
|
-
.mat-form-field-suffix {
|
|
189
|
-
span {
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
color: #777;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
.mat-form-field-wrapper {
|
|
195
|
-
padding-bottom: 0 !important;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/material/icon";
|
|
5
|
-
import * as i3 from "@angular/material/toolbar";
|
|
6
|
-
export class BreadcrumbComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.icon = 'keyboard_arrow_right';
|
|
9
|
-
this.items = [];
|
|
10
|
-
this.labelProperty = 'label';
|
|
11
|
-
this.itemClick = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
eventClick(index, item) {
|
|
14
|
-
this.items.splice(index + 1, this.items.length - 1);
|
|
15
|
-
this.itemClick.emit({ index, item });
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
BreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
BreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: BreadcrumbComponent, selector: "breadcrumb-component", inputs: { icon: "icon", items: "items", labelProperty: "labelProperty" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\r\n <span *ngFor=\"let header of items; let indx = index\">\r\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\r\n <mat-icon>{{icon}}</mat-icon>\r\n </a>\r\n </span>\r\n</mat-toolbar>", styles: [".mat-toolbar.mat-primary{background:rgba(0,0,0,0);height:45px;font-size:16px}a{color:#000;cursor:pointer}mat-icon{vertical-align:text-bottom}\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: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BreadcrumbComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'breadcrumb-component', template: "<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\r\n <span *ngFor=\"let header of items; let indx = index\">\r\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\r\n <mat-icon>{{icon}}</mat-icon>\r\n </a>\r\n </span>\r\n</mat-toolbar>", styles: [".mat-toolbar.mat-primary{background:rgba(0,0,0,0);height:45px;font-size:16px}a{color:#000;cursor:pointer}mat-icon{vertical-align:text-bottom}\n"] }]
|
|
23
|
-
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], items: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], labelProperty: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], itemClick: [{
|
|
30
|
-
type: Output
|
|
31
|
-
}] } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb250YWluZXJzL3NyYy9icmVhZGNydW1iL2JyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29udGFpbmVycy9zcmMvYnJlYWRjcnVtYi9icmVhZGNydW1iLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7O0FBT3JFLE1BQU0sT0FBTyxtQkFBbUI7SUFZOUI7UUFWZ0IsU0FBSSxHQUFHLHNCQUFzQixDQUFDO1FBQzlCLFVBQUssR0FBUSxFQUFFLENBQUM7UUFDaEIsa0JBQWEsR0FBRyxPQUFPLENBQUM7UUFDOUIsY0FBUyxHQUErQyxJQUFJLFlBQVksRUFBRSxDQUFDO0lBUWpGLENBQUM7SUFORSxVQUFVLENBQUMsS0FBYSxFQUFFLElBQVM7UUFDeEMsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsS0FBSyxHQUFHLENBQUMsRUFBRSxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsQ0FBQztRQUNwRCxJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxFQUFFLEtBQUssRUFBRSxJQUFJLEVBQUUsQ0FBQyx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1zLmxlbmd0aCAtIDEpO1xyXG4gICAgdGhpcy5pdGVtQ2xpY2suZW1pdCh7IGluZGV4LCBpdGVtIH0pO1xyXG4gIH1cclxuXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgKSB7IH1cclxuXHJcbn1cclxuIiwiPG1hdC10b29sYmFyICpuZ0lmPVwiaXRlbXMubGVuZ3RoID4gMFwiIGNvbG9yPVwicHJpbWFyeVwiPlxyXG4gICAgPHNwYW4gKm5nRm9yPVwibGV0IGhlYWRlciBvZiBpdGVtczsgbGV0IGluZHggPSBpbmRleFwiPlxyXG4gICAgICAgIDxhIG1hdC1idXR0b24gKGNsaWNrKT1cImV2ZW50Q2xpY2soaW5keCwgaGVhZGVyKVwiPnt7aGVhZGVyW2xhYmVsUHJvcGVydHldfX1cclxuICAgICAgICAgICAgPG1hdC1pY29uPnt7aWNvbn19PC9tYXQtaWNvbj5cclxuICAgICAgICA8L2E+XHJcbiAgICA8L3NwYW4+XHJcbjwvbWF0LXRvb2xiYXI+Il19
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { NgScrollbar } from 'ngx-scrollbar';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "ngx-scrollbar";
|
|
7
|
-
import * as i4 from "@angular/material/form-field";
|
|
8
|
-
import * as i5 from "@angular/material/icon";
|
|
9
|
-
import * as i6 from "@angular/material/input";
|
|
10
|
-
export class CentralizedContainerComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.searchTerm = '';
|
|
13
|
-
this.hasSearch = true;
|
|
14
|
-
this.ignoreZoom = false;
|
|
15
|
-
this.searchChanged = new EventEmitter();
|
|
16
|
-
}
|
|
17
|
-
searchTermChanged() {
|
|
18
|
-
this.searchChanged.emit(this.searchTerm);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
CentralizedContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CentralizedContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
CentralizedContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: CentralizedContainerComponent, selector: "centralized-container", inputs: { hasSearch: "hasSearch", ignoreZoom: "ignoreZoom" }, outputs: { searchChanged: "searchChanged" }, viewQueries: [{ propertyName: "scrollbarRef", first: true, predicate: NgScrollbar, descendants: true, static: true }], ngImport: i0, template: "<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field>\r\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\r\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".centralized-container{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom{font-size:62.5%}.centralized-container>ng-scrollbar{width:100%}.centralized-container .list-content{display:flex;flex-direction:column;height:100%;padding:30px 25px 25px;box-sizing:border-box}.centralized-container .list-content .list-search{position:absolute;place-self:flex-end;width:21%;font-size:1.4em}.centralized-container .list-content .list-search mat-form-field{width:100%}.centralized-container .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem}:host ::ng-deep .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar", inputs: ["disabled", "sensorDisabled", "pointerEventsDisabled", "viewportPropagateMouseMove", "autoHeightDisabled", "autoWidthDisabled", "viewClass", "trackClass", "thumbClass", "minThumbSize", "trackClickScrollDuration", "pointerEventsMethod", "track", "visibility", "appearance", "position", "sensorDebounce", "scrollAuditTime"], outputs: ["updated"], exportAs: ["ngScrollbar"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CentralizedContainerComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{ selector: 'centralized-container', template: "<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\r\n <ng-scrollbar [visibility]=\"'hover'\">\r\n <div class=\"list-content\">\r\n <div class=\"list-search\" *ngIf=\"hasSearch\">\r\n <mat-form-field>\r\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\r\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\r\n </mat-form-field>\r\n </div>\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-scrollbar>\r\n</div>\r\n", styles: [".centralized-container{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom{font-size:62.5%}.centralized-container>ng-scrollbar{width:100%}.centralized-container .list-content{display:flex;flex-direction:column;height:100%;padding:30px 25px 25px;box-sizing:border-box}.centralized-container .list-content .list-search{position:absolute;place-self:flex-end;width:21%;font-size:1.4em}.centralized-container .list-content .list-search mat-form-field{width:100%}.centralized-container .list-content .list-search mat-form-field .search-icon{opacity:.5;font-size:1.8rem}:host ::ng-deep .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}\n"] }]
|
|
26
|
-
}], propDecorators: { hasSearch: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], ignoreZoom: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], searchChanged: [{
|
|
31
|
-
type: Output
|
|
32
|
-
}], scrollbarRef: [{
|
|
33
|
-
type: ViewChild,
|
|
34
|
-
args: [NgScrollbar, { static: true }]
|
|
35
|
-
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VudHJhbGl6ZWQtY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbnRhaW5lcnMvc3JjL2NlbnRyYWxpemVkLWNvbnRhaW5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