@apipass/containers 0.2.5 → 0.2.7-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/breadcrumb/breadcrumb.component.d.ts +15 -0
- package/bundles/apipass-containers.umd.js +95 -15
- package/bundles/apipass-containers.umd.js.map +1 -1
- package/bundles/apipass-containers.umd.min.js +1 -1
- package/bundles/apipass-containers.umd.min.js.map +1 -1
- package/containers.module.d.ts +5 -4
- package/esm2015/breadcrumb/breadcrumb.component.js +68 -0
- package/esm2015/configuration-page-content/configuration-page.component.js +1 -1
- package/esm2015/containers.module.js +17 -12
- package/esm2015/public-api.js +2 -1
- package/fesm2015/apipass-containers.js +82 -15
- package/fesm2015/apipass-containers.js.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BreadcrumbComponent {
|
|
4
|
+
icon: string;
|
|
5
|
+
items: any;
|
|
6
|
+
labelProperty: string;
|
|
7
|
+
itemClick: EventEmitter<{
|
|
8
|
+
index: number;
|
|
9
|
+
item: any;
|
|
10
|
+
}>;
|
|
11
|
+
eventClick(index: number, item: any): any;
|
|
12
|
+
constructor();
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDef<BreadcrumbComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<BreadcrumbComponent, "breadcrumb-component", never, { "icon": "icon"; "items": "items"; "labelProperty": "labelProperty"; }, { "itemClick": "itemClick"; }, never, never>;
|
|
15
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@apipass/containers', ['exports', '@angular/core', '@angular/common', '@angular/router', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.apipass = global.apipass || {}, global.apipass.containers = {}), global.ng.core, global.ng.common, global.ng.router, global.
|
|
5
|
-
}(this, (function (exports, i0, i1, router,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('ngx-scrollbar'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/icon'), require('rxjs'), require('rxjs/operators'), require('@angular/material/toolbar'), require('@apipass/icons'), require('@apipass/buttons')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@apipass/containers', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'ngx-scrollbar', '@angular/material/form-field', '@angular/material/input', '@angular/material/icon', 'rxjs', 'rxjs/operators', '@angular/material/toolbar', '@apipass/icons', '@apipass/buttons'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.apipass = global.apipass || {}, global.apipass.containers = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global.i2, global.ng.material.formField, global.ng.material.input, global.ng.material.icon, global.rxjs, global.rxjs.operators, global.ng.material.toolbar, global.icons, global.buttons));
|
|
5
|
+
}(this, (function (exports, i0, i1, router, i5, i2, i3, i4, i6, rxjs, operators, i2$1, icons, buttons) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function CentralizedContainerComponent_div_3_Template(rf, ctx) {
|
|
8
8
|
if (rf & 1) {
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
i0.ɵɵadvance(1);
|
|
184
184
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx.verticalSeparate));
|
|
185
185
|
}
|
|
186
|
-
}, directives: [i1.NgClass, i2.NgScrollbar, i1.NgIf, i3.MatFormField, i4.MatInput, i5.DefaultValueAccessor, i5.NgControlStatus, i5.NgModel, i6.MatIcon, i3.MatSuffix, i3.MatLabel], styles: ["
|
|
186
|
+
}, directives: [i1.NgClass, i2.NgScrollbar, i1.NgIf, i3.MatFormField, i4.MatInput, i5.DefaultValueAccessor, i5.NgControlStatus, i5.NgModel, i6.MatIcon, i3.MatSuffix, i3.MatLabel], styles: [".configuration-page-container[_ngcontent-%COMP%]{border:1px solid var(--color-tertiary);display:flex;height:100%}.configuration-page-container.footer-paginator[_ngcontent-%COMP%]{height:calc(100% - 50px)}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-content[_ngcontent-%COMP%]{height:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{padding-right:15px;padding-top:15px;place-self:flex-end;width:30%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.8rem;opacity:.5}.configuration-page-container[_ngcontent-%COMP%] .container-content[_ngcontent-%COMP%]{height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] .container-content.vertical-separate[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}"] });
|
|
187
187
|
/*@__PURE__*/ (function () {
|
|
188
188
|
i0.ɵsetClassMetadata(ConfigurationPageComponent, [{
|
|
189
189
|
type: i0.Component,
|
|
@@ -212,6 +212,81 @@
|
|
|
212
212
|
}] });
|
|
213
213
|
})();
|
|
214
214
|
|
|
215
|
+
function BreadcrumbComponent_mat_toolbar_0_span_1_Template(rf, ctx) {
|
|
216
|
+
if (rf & 1) {
|
|
217
|
+
var _r5_1 = i0.ɵɵgetCurrentView();
|
|
218
|
+
i0.ɵɵelementStart(0, "span");
|
|
219
|
+
i0.ɵɵelementStart(1, "a", 3);
|
|
220
|
+
i0.ɵɵlistener("click", function BreadcrumbComponent_mat_toolbar_0_span_1_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r5_1); var indx_r3 = ctx.index; var header_r2 = ctx.$implicit; var ctx_r4 = i0.ɵɵnextContext(2); return ctx_r4.eventClick(indx_r3, header_r2); });
|
|
221
|
+
i0.ɵɵtext(2);
|
|
222
|
+
i0.ɵɵelementStart(3, "mat-icon");
|
|
223
|
+
i0.ɵɵtext(4);
|
|
224
|
+
i0.ɵɵelementEnd();
|
|
225
|
+
i0.ɵɵelementEnd();
|
|
226
|
+
i0.ɵɵelementEnd();
|
|
227
|
+
}
|
|
228
|
+
if (rf & 2) {
|
|
229
|
+
var header_r2 = ctx.$implicit;
|
|
230
|
+
var ctx_r1 = i0.ɵɵnextContext(2);
|
|
231
|
+
i0.ɵɵadvance(2);
|
|
232
|
+
i0.ɵɵtextInterpolate1("", header_r2[ctx_r1.labelProperty], " ");
|
|
233
|
+
i0.ɵɵadvance(2);
|
|
234
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
function BreadcrumbComponent_mat_toolbar_0_Template(rf, ctx) {
|
|
238
|
+
if (rf & 1) {
|
|
239
|
+
i0.ɵɵelementStart(0, "mat-toolbar", 1);
|
|
240
|
+
i0.ɵɵtemplate(1, BreadcrumbComponent_mat_toolbar_0_span_1_Template, 5, 2, "span", 2);
|
|
241
|
+
i0.ɵɵelementEnd();
|
|
242
|
+
}
|
|
243
|
+
if (rf & 2) {
|
|
244
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
245
|
+
i0.ɵɵadvance(1);
|
|
246
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.items);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
var BreadcrumbComponent = /** @class */ (function () {
|
|
250
|
+
function BreadcrumbComponent() {
|
|
251
|
+
this.icon = 'keyboard_arrow_right';
|
|
252
|
+
this.items = [];
|
|
253
|
+
this.labelProperty = 'label';
|
|
254
|
+
this.itemClick = new i0.EventEmitter();
|
|
255
|
+
}
|
|
256
|
+
BreadcrumbComponent.prototype.eventClick = function (index, item) {
|
|
257
|
+
this.items.splice(index + 1, this.items.length - 1);
|
|
258
|
+
this.itemClick.emit({ index: index, item: item });
|
|
259
|
+
};
|
|
260
|
+
return BreadcrumbComponent;
|
|
261
|
+
}());
|
|
262
|
+
BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(); };
|
|
263
|
+
BreadcrumbComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["breadcrumb-component"]], inputs: { icon: "icon", items: "items", labelProperty: "labelProperty" }, outputs: { itemClick: "itemClick" }, decls: 1, vars: 1, consts: [["color", "primary", 4, "ngIf"], ["color", "primary"], [4, "ngFor", "ngForOf"], ["mat-button", "", 3, "click"]], template: function BreadcrumbComponent_Template(rf, ctx) {
|
|
264
|
+
if (rf & 1) {
|
|
265
|
+
i0.ɵɵtemplate(0, BreadcrumbComponent_mat_toolbar_0_Template, 2, 1, "mat-toolbar", 0);
|
|
266
|
+
}
|
|
267
|
+
if (rf & 2) {
|
|
268
|
+
i0.ɵɵproperty("ngIf", ctx.items.length > 0);
|
|
269
|
+
}
|
|
270
|
+
}, directives: [i1.NgIf, i2$1.MatToolbar, i1.NgForOf, i6.MatIcon], styles: [".mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:transparent;font-size:16px;height:45px}a[_ngcontent-%COMP%]{color:#000;cursor:pointer}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"] });
|
|
271
|
+
/*@__PURE__*/ (function () {
|
|
272
|
+
i0.ɵsetClassMetadata(BreadcrumbComponent, [{
|
|
273
|
+
type: i0.Component,
|
|
274
|
+
args: [{
|
|
275
|
+
selector: 'breadcrumb-component',
|
|
276
|
+
templateUrl: 'breadcrumb.component.html',
|
|
277
|
+
styleUrls: ['breadcrumb.component.scss']
|
|
278
|
+
}]
|
|
279
|
+
}], function () { return []; }, { icon: [{
|
|
280
|
+
type: i0.Input
|
|
281
|
+
}], items: [{
|
|
282
|
+
type: i0.Input
|
|
283
|
+
}], labelProperty: [{
|
|
284
|
+
type: i0.Input
|
|
285
|
+
}], itemClick: [{
|
|
286
|
+
type: i0.Output
|
|
287
|
+
}] });
|
|
288
|
+
})();
|
|
289
|
+
|
|
215
290
|
var ContainersModule = /** @class */ (function () {
|
|
216
291
|
function ContainersModule() {
|
|
217
292
|
}
|
|
@@ -221,7 +296,6 @@
|
|
|
221
296
|
ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersModule_Factory(t) { return new (t || ContainersModule)(); }, providers: [], imports: [[
|
|
222
297
|
i1.CommonModule,
|
|
223
298
|
router.RouterModule,
|
|
224
|
-
core.TranslateModule,
|
|
225
299
|
i5.FormsModule,
|
|
226
300
|
i5.ReactiveFormsModule,
|
|
227
301
|
icons.IconsModule,
|
|
@@ -229,13 +303,14 @@
|
|
|
229
303
|
i2.NgScrollbarModule,
|
|
230
304
|
i3.MatFormFieldModule,
|
|
231
305
|
i6.MatIconModule,
|
|
232
|
-
i4.MatInputModule
|
|
306
|
+
i4.MatInputModule,
|
|
307
|
+
i2$1.MatToolbarModule
|
|
233
308
|
]] });
|
|
234
309
|
(function () {
|
|
235
310
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ContainersModule, { declarations: [CentralizedContainerComponent,
|
|
236
|
-
ConfigurationPageComponent
|
|
311
|
+
ConfigurationPageComponent,
|
|
312
|
+
BreadcrumbComponent], imports: [i1.CommonModule,
|
|
237
313
|
router.RouterModule,
|
|
238
|
-
core.TranslateModule,
|
|
239
314
|
i5.FormsModule,
|
|
240
315
|
i5.ReactiveFormsModule,
|
|
241
316
|
icons.IconsModule,
|
|
@@ -243,8 +318,10 @@
|
|
|
243
318
|
i2.NgScrollbarModule,
|
|
244
319
|
i3.MatFormFieldModule,
|
|
245
320
|
i6.MatIconModule,
|
|
246
|
-
i4.MatInputModule
|
|
247
|
-
|
|
321
|
+
i4.MatInputModule,
|
|
322
|
+
i2$1.MatToolbarModule], exports: [CentralizedContainerComponent,
|
|
323
|
+
ConfigurationPageComponent,
|
|
324
|
+
BreadcrumbComponent] });
|
|
248
325
|
})();
|
|
249
326
|
/*@__PURE__*/ (function () {
|
|
250
327
|
i0.ɵsetClassMetadata(ContainersModule, [{
|
|
@@ -253,7 +330,6 @@
|
|
|
253
330
|
imports: [
|
|
254
331
|
i1.CommonModule,
|
|
255
332
|
router.RouterModule,
|
|
256
|
-
core.TranslateModule,
|
|
257
333
|
i5.FormsModule,
|
|
258
334
|
i5.ReactiveFormsModule,
|
|
259
335
|
icons.IconsModule,
|
|
@@ -261,15 +337,18 @@
|
|
|
261
337
|
i2.NgScrollbarModule,
|
|
262
338
|
i3.MatFormFieldModule,
|
|
263
339
|
i6.MatIconModule,
|
|
264
|
-
i4.MatInputModule
|
|
340
|
+
i4.MatInputModule,
|
|
341
|
+
i2$1.MatToolbarModule
|
|
265
342
|
],
|
|
266
343
|
declarations: [
|
|
267
344
|
CentralizedContainerComponent,
|
|
268
|
-
ConfigurationPageComponent
|
|
345
|
+
ConfigurationPageComponent,
|
|
346
|
+
BreadcrumbComponent
|
|
269
347
|
],
|
|
270
348
|
exports: [
|
|
271
349
|
CentralizedContainerComponent,
|
|
272
|
-
ConfigurationPageComponent
|
|
350
|
+
ConfigurationPageComponent,
|
|
351
|
+
BreadcrumbComponent
|
|
273
352
|
],
|
|
274
353
|
providers: []
|
|
275
354
|
}]
|
|
@@ -288,6 +367,7 @@
|
|
|
288
367
|
}
|
|
289
368
|
});
|
|
290
369
|
});
|
|
370
|
+
exports.BreadcrumbComponent = BreadcrumbComponent;
|
|
291
371
|
exports.CentralizedContainerComponent = CentralizedContainerComponent;
|
|
292
372
|
exports.ConfigurationPageComponent = ConfigurationPageComponent;
|
|
293
373
|
exports.ContainersModule = ContainersModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apipass-containers.umd.js","sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/containers.module.ts","../../../projects/containers/src/apipass-containers.ts"],"sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n TranslateModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","EventEmitter","NgScrollbar","i0.ɵɵtemplate","i0.ɵɵprojection","Component","Input","Output","ViewChild","i0.ɵɵtextInterpolate","Subject","debounceTime","distinctUntilChanged","CommonModule","RouterModule","TranslateModule","FormsModule","ReactiveFormsModule","IconsModule","ButtonsModule","NgScrollbarModule","MatFormFieldModule","MatIconModule","MatInputModule","NgModule"],"mappings":";;;;;;;;;YAGMA,8BACE;YAAAA,sCACE;YAAAA,gCACA;YAD8BC,6NAAwB,0MAAA;YAAtDC,iBACA;YAAAF,mCAAwC;YAAAG,sBAAM;YAAAD,iBAAW;YAC3DA,iBAAiB;YACnBA,iBAAM;;;;YAH4BE,eAAwB;YAAxBC,2CAAwB;;;;;;QCFhE;YAOS,eAAU,GAAG,EAA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,QAAK;oBACU,eAAe;0BAA9BA,QAAK;oBACU,SAAS;0BAAxBA,QAAK;oBACU,kBAAkB;0BAAjCA,QAAK;oBACU,WAAW;0BAA1BA,QAAK;oBAIW,aAAa;0BAA7BC,SAAM;oBACU,WAAW;0BAA3BA,SAAM;oBAGA,YAAY;0BADlBC,YAAS;2BAACN,cAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;;QCa1C;;;;wDAAa,gBAAgB;mHAAhB,gBAAgB,mBAFhB,EAAE,YArBJ;gBACPW,eAAY;gBACZC,mBAAY;gBACZC,oBAAe;gBACfC,cAAW;gBACXC,sBAAmB;gBACnBC,iBAAW;gBACXC,qBAAa;gBACbC,oBAAiB;gBACjBC,qBAAkB;gBAClBC,gBAAa;gBACbC,iBAAc;aACf;;iFAWU,gBAAgB,mBATzB,6BAA6B;gBAC7B,0BAA0B,aAd1BV,eAAY;gBACZC,mBAAY;gBACZC,oBAAe;gBACfC,cAAW;gBACXC,sBAAmB;gBACnBC,iBAAW;gBACXC,qBAAa;gBACbC,oBAAiB;gBACjBC,qBAAkB;gBAClBC,gBAAa;gBACbC,iBAAc,aAOd,6BAA6B;gBAC7B,0BAA0B;;;6BAIjB,gBAAgB;sBAxB5BC,WAAQ;uBAAC;wBACR,OAAO,EAAE;4BACPX,eAAY;4BACZC,mBAAY;4BACZC,oBAAe;4BACfC,cAAW;4BACXC,sBAAmB;4BACnBC,iBAAW;4BACXC,qBAAa;4BACbC,oBAAiB;4BACjBC,qBAAkB;4BAClBC,gBAAa;4BACbC,iBAAc;yBACf;wBACD,YAAY,EAAE;4BACZ,6BAA6B;4BAC7B,0BAA0B;yBAC3B;wBACD,OAAO,EAAE;4BACP,6BAA6B;4BAC7B,0BAA0B;yBAC3B;wBACD,SAAS,EAAE,EAAE;qBACd;;;;ICrCD;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"apipass-containers.umd.js","sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/breadcrumb/breadcrumb.component.html","../../../projects/containers/src/breadcrumb/breadcrumb.component.ts","../../../projects/containers/src/containers.module.ts","../../../projects/containers/src/apipass-containers.ts"],"sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\n <span *ngFor=\"let header of items; let indx = index\">\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\n <mat-icon>{{icon}}</mat-icon>\n </a>\n </span>\n</mat-toolbar>","import {Component, EventEmitter, Input, Output} from '@angular/core';\n\n@Component({\n selector: 'breadcrumb-component',\n templateUrl: 'breadcrumb.component.html',\n styleUrls: ['breadcrumb.component.scss']\n})\nexport class BreadcrumbComponent {\n\n @Input() public icon = 'keyboard_arrow_right';\n @Input() public items: any = [];\n @Input() public labelProperty = 'label';\n @Output() itemClick: EventEmitter<{ index: number, item: any }> = new EventEmitter();\n\n public eventClick(index: number, item: any): any {\n this.items.splice(index + 1, this.items.length - 1);\n this.itemClick.emit({ index, item });\n }\n\n constructor(\n ) { }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {BreadcrumbComponent} from './breadcrumb/breadcrumb.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\nimport {MatToolbarModule} from '@angular/material/toolbar';\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatToolbarModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","EventEmitter","NgScrollbar","i0.ɵɵtemplate","i0.ɵɵprojection","Component","Input","Output","ViewChild","i0.ɵɵtextInterpolate","Subject","debounceTime","distinctUntilChanged","i0.ɵɵtextInterpolate1","CommonModule","RouterModule","FormsModule","ReactiveFormsModule","IconsModule","ButtonsModule","NgScrollbarModule","MatFormFieldModule","MatIconModule","MatInputModule","MatToolbarModule","NgModule"],"mappings":";;;;;;;;;YAGMA,8BACE;YAAAA,sCACE;YAAAA,gCACA;YAD8BC,6NAAwB,0MAAA;YAAtDC,iBACA;YAAAF,mCAAwC;YAAAG,sBAAM;YAAAD,iBAAW;YAC3DA,iBAAiB;YACnBA,iBAAM;;;;YAH4BE,eAAwB;YAAxBC,2CAAwB;;;;;;QCFhE;YAOS,eAAU,GAAG,EAAE,CAAC;YAEP,cAAS,GAAG,IAAI,CAAC;YACjB,eAAU,GAAG,KAAK,CAAC;YAG5B,kBAAa,GAAG,IAAIC,eAAY,EAAU,CAAC;SASnD;QAJQ,yDAAiB,GAAjB;YACL,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SAC1C;;;8GAfU,6BAA6B;sEAA7B,6BAA6B;;qCAU7BC,cAAW;;;;;;;;;gBDlBxBP,8BACE;gBAAAA,uCACE;gBAAAA,8BACE;gBAAAQ,8EACE;gBAKFC,kBAAY;gBACdP,iBAAM;gBACRA,iBAAe;gBACjBA,iBAAM;;;gBAZ6BG,qEAAuD;gBAC1ED,eAAsB;gBAAtBC,oCAAsB;gBAEPD,eAAiB;gBAAjBC,oCAAiB;;;;6BCKnC,6BAA6B;sBALzCK,YAAS;uBAAC;wBACT,QAAQ,EAAE,uBAAuB;wBACjC,WAAW,EAAE,sCAAsC;wBACnD,SAAS,EAAE,CAAC,sCAAsC,CAAC;qBACpD;wBAKiB,SAAS;0BAAxBC,QAAK;oBACU,UAAU;0BAAzBA,QAAK;oBAGC,aAAa;0BADnBC,SAAM;oBAIA,YAAY;0BADlBC,YAAS;2BAACN,cAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;;;;YCXhCP,iCAA+B;YAAAG,YAAe;YAAAD,iBAAY;;;;YAA3BE,eAAe;YAAfU,wCAAe;;;;;;;YAJlDd,8BACE;YAAA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EAAE;4BACP,6BAA6B;4BAC7B,0BAA0B;4BAC1B,mBAAmB;yBACpB;wBACD,SAAS,EAAE,EAAE;qBACd;;;;ICvCD;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("@angular/common"),require("@angular/router"),require("@ngx-translate/core"),require("@angular/forms"),require("ngx-scrollbar"),require("@angular/material/form-field"),require("@angular/material/input"),require("@angular/material/icon"),require("rxjs"),require("rxjs/operators"),require("@apipass/icons"),require("@apipass/buttons")):"function"==typeof define&&define.amd?define("@apipass/containers",["exports","@angular/core","@angular/common","@angular/router","@ngx-translate/core","@angular/forms","ngx-scrollbar","@angular/material/form-field","@angular/material/input","@angular/material/icon","rxjs","rxjs/operators","@apipass/icons","@apipass/buttons"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).apipass=e.apipass||{},e.apipass.containers={}),e.ng.core,e.ng.common,e.ng.router,e.core,e.ng.forms,e.i2,e.ng.material.formField,e.ng.material.input,e.ng.material.icon,e.rxjs,e.rxjs.operators,e.icons,e.buttons)}(this,(function(e,n,t,r,o,a,i,c,l,s,g,u,d,p){"use strict";function f(e,t){if(1&e){var r=n.ɵɵgetCurrentView();n.ɵɵelementStart(0,"div",4),n.ɵɵelementStart(1,"mat-form-field"),n.ɵɵelementStart(2,"input",5),n.ɵɵlistener("ngModelChange",(function(e){return n.ɵɵrestoreView(r),n.ɵɵnextContext().searchTerm=e}))("ngModelChange",(function(){return n.ɵɵrestoreView(r),n.ɵɵnextContext().searchTermChanged()})),n.ɵɵelementEnd(),n.ɵɵelementStart(3,"mat-icon",6),n.ɵɵtext(4,"search"),n.ɵɵelementEnd(),n.ɵɵelementEnd(),n.ɵɵelementEnd()}if(2&e){var o=n.ɵɵnextContext();n.ɵɵadvance(2),n.ɵɵproperty("ngModel",o.searchTerm)}}var h=function(e){return{"centralized-container-zoom":e}},m=function(){function e(){this.searchTerm="",this.hasSearch=!0,this.ignoreZoom=!1,this.searchChanged=new n.EventEmitter}return e.prototype.searchTermChanged=function(){this.searchChanged.emit(this.searchTerm)},e}();function C(e,t){if(1&e&&(n.ɵɵelementStart(0,"mat-label"),n.ɵɵtext(1),n.ɵɵelementEnd()),2&e){var r=n.ɵɵnextContext(2);n.ɵɵadvance(1),n.ɵɵtextInterpolate(r.searchLabel)}}m.ɵfac=function(e){return new(e||m)},m.ɵcmp=n.ɵɵdefineComponent({type:m,selectors:[["centralized-container"]],viewQuery:function(e,t){var r;(1&e&&n.ɵɵstaticViewQuery(i.NgScrollbar,!0),2&e)&&(n.ɵɵqueryRefresh(r=n.ɵɵloadQuery())&&(t.scrollbarRef=r.first))},inputs:{hasSearch:"hasSearch",ignoreZoom:"ignoreZoom"},outputs:{searchChanged:"searchChanged"},ngContentSelectors:["*"],decls:5,vars:5,consts:[[1,"centralized-container",3,"ngClass"],[3,"visibility"],[1,"list-content"],["class","list-search",4,"ngIf"],[1,"list-search"],["matInput","","type","search",3,"ngModel","ngModelChange"],["matSuffix","",1,"search-icon"]],template:function(e,t){1&e&&(n.ɵɵprojectionDef(),n.ɵɵelementStart(0,"div",0),n.ɵɵelementStart(1,"ng-scrollbar",1),n.ɵɵelementStart(2,"div",2),n.ɵɵtemplate(3,f,5,1,"div",3),n.ɵɵprojection(4),n.ɵɵelementEnd(),n.ɵɵelementEnd(),n.ɵɵelementEnd()),2&e&&(n.ɵɵproperty("ngClass",n.ɵɵpureFunction1(3,h,!t.ignoreZoom)),n.ɵɵadvance(1),n.ɵɵproperty("visibility","hover"),n.ɵɵadvance(2),n.ɵɵproperty("ngIf",t.hasSearch))},directives:[t.NgClass,i.NgScrollbar,t.NgIf,c.MatFormField,l.MatInput,a.DefaultValueAccessor,a.NgControlStatus,a.NgModel,s.MatIcon,c.MatSuffix],styles:[".centralized-container[_ngcontent-%COMP%]{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom[_ngcontent-%COMP%]{font-size:62.5%}.centralized-container[_ngcontent-%COMP%] > ng-scrollbar[_ngcontent-%COMP%]{width:100%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:30px 25px 25px}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{font-size:1.4em;place-self:flex-end;position:absolute;width:21%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{font-size:1.8rem;opacity:.5}[_nghost-%COMP%] .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}"]});var M=function(e){return{"label-input":e}};function b(e,t){if(1&e){var r=n.ɵɵgetCurrentView();n.ɵɵelementStart(0,"div",5),n.ɵɵelementStart(1,"mat-form-field",6),n.ɵɵtemplate(2,C,2,1,"mat-label",7),n.ɵɵelementStart(3,"input",8),n.ɵɵlistener("ngModelChange",(function(e){return n.ɵɵrestoreView(r),n.ɵɵnextContext().searchTerm=e}))("ngModelChange",(function(){return n.ɵɵrestoreView(r),n.ɵɵnextContext().searchTermChanged()})),n.ɵɵelementEnd(),n.ɵɵelementStart(4,"mat-icon",9),n.ɵɵlistener("click",(function(){return n.ɵɵrestoreView(r),n.ɵɵnextContext().searchIconClick()})),n.ɵɵtext(5,"search"),n.ɵɵelementEnd(),n.ɵɵelementEnd(),n.ɵɵelementEnd()}if(2&e){var o=n.ɵɵnextContext();n.ɵɵadvance(1),n.ɵɵproperty("ngClass",n.ɵɵpureFunction1(3,M,o.searchLabel)),n.ɵɵadvance(1),n.ɵɵproperty("ngIf",o.searchLabel),n.ɵɵadvance(1),n.ɵɵproperty("ngModel",o.searchTerm)}}var x=function(e){return{"footer-paginator":e}},y=function(e){return{"vertical-separate":e}},v=function(){function e(){var e=this;this.searchTerm="",this.verticalSeparate=!1,this.footerPaginator=!1,this.hasSearch=!0,this.searchDebounceTime=1e3,this.searchLabel="",this.txtQueryChanged=new g.Subject,this.searchChanged=new n.EventEmitter,this.searchClick=new n.EventEmitter,this.txtQueryChanged.pipe(u.debounceTime(this.searchDebounceTime),u.distinctUntilChanged()).subscribe((function(n){return e.searchChanged.next(n)}))}return e.prototype.searchTermChanged=function(){this.txtQueryChanged.next(this.searchTerm)},e.prototype.searchIconClick=function(){this.searchClick.next(this.searchTerm)},e}();v.ɵfac=function(e){return new(e||v)},v.ɵcmp=n.ɵɵdefineComponent({type:v,selectors:[["configuration-page-container"]],viewQuery:function(e,t){var r;(1&e&&n.ɵɵstaticViewQuery(i.NgScrollbar,!0),2&e)&&(n.ɵɵqueryRefresh(r=n.ɵɵloadQuery())&&(t.scrollbarRef=r.first))},inputs:{verticalSeparate:"verticalSeparate",footerPaginator:"footerPaginator",hasSearch:"hasSearch",searchDebounceTime:"searchDebounceTime",searchLabel:"searchLabel"},outputs:{searchChanged:"searchChanged",searchClick:"searchClick"},ngContentSelectors:["*"],decls:6,vars:8,consts:[[1,"configuration-page-container",3,"ngClass"],[3,"visibility"],[1,"list-content"],["class","list-search",4,"ngIf"],[1,"container-content",3,"ngClass"],[1,"list-search"],["appearance","fill",1,"apipass-search-input-text","search-input-item","small-text",3,"ngClass"],[4,"ngIf"],["matInput","","type","search",1,"search-input",3,"ngModel","ngModelChange"],["matSuffix","",1,"search-icon",3,"click"]],template:function(e,t){1&e&&(n.ɵɵprojectionDef(),n.ɵɵelementStart(0,"div",0),n.ɵɵelementStart(1,"ng-scrollbar",1),n.ɵɵelementStart(2,"div",2),n.ɵɵtemplate(3,b,6,5,"div",3),n.ɵɵelementStart(4,"div",4),n.ɵɵprojection(5),n.ɵɵelementEnd(),n.ɵɵelementEnd(),n.ɵɵelementEnd(),n.ɵɵelementEnd()),2&e&&(n.ɵɵproperty("ngClass",n.ɵɵpureFunction1(4,x,t.footerPaginator)),n.ɵɵadvance(1),n.ɵɵproperty("visibility","hover"),n.ɵɵadvance(2),n.ɵɵproperty("ngIf",t.hasSearch),n.ɵɵadvance(1),n.ɵɵproperty("ngClass",n.ɵɵpureFunction1(6,y,t.verticalSeparate)))},directives:[t.NgClass,i.NgScrollbar,t.NgIf,c.MatFormField,l.MatInput,a.DefaultValueAccessor,a.NgControlStatus,a.NgModel,s.MatIcon,c.MatSuffix,c.MatLabel],styles:["[_ngcontent-%COMP%]:root{--color-body-light:#fff;--color-fonts-tertiary:#777;--color-inputs-background:#fff;--color-inputs-border:#ddd;--color-primary:#222d57;--color-primary-active:#29376a;--color-primary-hover:#18203d;--color-red:red;--color-secondary:#d3d921;--color-secondary-active:#dce13f;--color-secondary-hover:#b3b81c;--color-tertiary:#efefef;--color-tertiary-active:#f1f1f1;--color-tertiary-hover:#cbcbcb;--color_components_light:#fff;--color_disabled:#e0e0e0;--color_graph_error:#eb5757;--color_graph_error_hover:#c91717;--color_graph_primary:#1643ef;--color_graph_primary_hover:#0a2692;--color_icon_remove:var(--color-red);--color_icon_success:#070;--limit-plan-color:#ff6c00}.configuration-page-container[_ngcontent-%COMP%]{border:1px solid var(--color-tertiary);display:flex;height:100%}.configuration-page-container.footer-paginator[_ngcontent-%COMP%]{height:calc(100% - 50px)}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-content[_ngcontent-%COMP%]{height:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{padding-right:15px;padding-top:15px;place-self:flex-end;width:30%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.8rem;opacity:.5}.configuration-page-container[_ngcontent-%COMP%] .container-content[_ngcontent-%COMP%]{height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] .container-content.vertical-separate[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}"]});var _=function(){};_.ɵmod=n.ɵɵdefineNgModule({type:_}),_.ɵinj=n.ɵɵdefineInjector({factory:function(e){return new(e||_)},providers:[],imports:[[t.CommonModule,r.RouterModule,o.TranslateModule,a.FormsModule,a.ReactiveFormsModule,d.IconsModule,p.ButtonsModule,i.NgScrollbarModule,c.MatFormFieldModule,s.MatIconModule,l.MatInputModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.ɵɵsetNgModuleScope(_,{declarations:[m,v],imports:[t.CommonModule,r.RouterModule,o.TranslateModule,a.FormsModule,a.ReactiveFormsModule,d.IconsModule,p.ButtonsModule,i.NgScrollbarModule,c.MatFormFieldModule,s.MatIconModule,l.MatInputModule],exports:[m,v]}),Object.keys(i).forEach((function(n){"default"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return i[n]}})})),e.CentralizedContainerComponent=m,e.ConfigurationPageComponent=v,e.ContainersModule=_,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@angular/router"),require("@angular/forms"),require("ngx-scrollbar"),require("@angular/material/form-field"),require("@angular/material/input"),require("@angular/material/icon"),require("rxjs"),require("rxjs/operators"),require("@angular/material/toolbar"),require("@apipass/icons"),require("@apipass/buttons")):"function"==typeof define&&define.amd?define("@apipass/containers",["exports","@angular/core","@angular/common","@angular/router","@angular/forms","ngx-scrollbar","@angular/material/form-field","@angular/material/input","@angular/material/icon","rxjs","rxjs/operators","@angular/material/toolbar","@apipass/icons","@apipass/buttons"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).apipass=e.apipass||{},e.apipass.containers={}),e.ng.core,e.ng.common,e.ng.router,e.ng.forms,e.i2,e.ng.material.formField,e.ng.material.input,e.ng.material.icon,e.rxjs,e.rxjs.operators,e.ng.material.toolbar,e.icons,e.buttons)}(this,(function(e,t,n,r,o,a,i,c,l,s,g,u,d,p){"use strict";function m(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",4),t.ɵɵelementStart(1,"mat-form-field"),t.ɵɵelementStart(2,"input",5),t.ɵɵlistener("ngModelChange",(function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().searchTerm=e}))("ngModelChange",(function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().searchTermChanged()})),t.ɵɵelementEnd(),t.ɵɵelementStart(3,"mat-icon",6),t.ɵɵtext(4,"search"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(2),t.ɵɵproperty("ngModel",o.searchTerm)}}var f=function(e){return{"centralized-container-zoom":e}},h=function(){function e(){this.searchTerm="",this.hasSearch=!0,this.ignoreZoom=!1,this.searchChanged=new t.EventEmitter}return e.prototype.searchTermChanged=function(){this.searchChanged.emit(this.searchTerm)},e}();function C(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-label"),t.ɵɵtext(1),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext(2);t.ɵɵadvance(1),t.ɵɵtextInterpolate(r.searchLabel)}}h.ɵfac=function(e){return new(e||h)},h.ɵcmp=t.ɵɵdefineComponent({type:h,selectors:[["centralized-container"]],viewQuery:function(e,n){var r;(1&e&&t.ɵɵstaticViewQuery(a.NgScrollbar,!0),2&e)&&(t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.scrollbarRef=r.first))},inputs:{hasSearch:"hasSearch",ignoreZoom:"ignoreZoom"},outputs:{searchChanged:"searchChanged"},ngContentSelectors:["*"],decls:5,vars:5,consts:[[1,"centralized-container",3,"ngClass"],[3,"visibility"],[1,"list-content"],["class","list-search",4,"ngIf"],[1,"list-search"],["matInput","","type","search",3,"ngModel","ngModelChange"],["matSuffix","",1,"search-icon"]],template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵelementStart(0,"div",0),t.ɵɵelementStart(1,"ng-scrollbar",1),t.ɵɵelementStart(2,"div",2),t.ɵɵtemplate(3,m,5,1,"div",3),t.ɵɵprojection(4),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(3,f,!n.ignoreZoom)),t.ɵɵadvance(1),t.ɵɵproperty("visibility","hover"),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.hasSearch))},directives:[n.NgClass,a.NgScrollbar,n.NgIf,i.MatFormField,c.MatInput,o.DefaultValueAccessor,o.NgControlStatus,o.NgModel,l.MatIcon,i.MatSuffix],styles:[".centralized-container[_ngcontent-%COMP%]{display:flex;height:calc(100% - 70px);padding-left:15px;padding-right:15px}.centralized-container.centralized-container-zoom[_ngcontent-%COMP%]{font-size:62.5%}.centralized-container[_ngcontent-%COMP%] > ng-scrollbar[_ngcontent-%COMP%]{width:100%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:30px 25px 25px}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{font-size:1.4em;place-self:flex-end;position:absolute;width:21%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.centralized-container[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{font-size:1.8rem;opacity:.5}[_nghost-%COMP%] .list-search mat-form-field.mat-form-field-appearance-legacy .mat-form-field-wrapper .mat-form-field-underline{background-color:var(--color-tertiary)}"]});var M=function(e){return{"label-input":e}};function x(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"div",5),t.ɵɵelementStart(1,"mat-form-field",6),t.ɵɵtemplate(2,C,2,1,"mat-label",7),t.ɵɵelementStart(3,"input",8),t.ɵɵlistener("ngModelChange",(function(e){return t.ɵɵrestoreView(r),t.ɵɵnextContext().searchTerm=e}))("ngModelChange",(function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().searchTermChanged()})),t.ɵɵelementEnd(),t.ɵɵelementStart(4,"mat-icon",9),t.ɵɵlistener("click",(function(){return t.ɵɵrestoreView(r),t.ɵɵnextContext().searchIconClick()})),t.ɵɵtext(5,"search"),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var o=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(3,M,o.searchLabel)),t.ɵɵadvance(1),t.ɵɵproperty("ngIf",o.searchLabel),t.ɵɵadvance(1),t.ɵɵproperty("ngModel",o.searchTerm)}}var b=function(e){return{"footer-paginator":e}},v=function(e){return{"vertical-separate":e}},y=function(){function e(){var e=this;this.searchTerm="",this.verticalSeparate=!1,this.footerPaginator=!1,this.hasSearch=!0,this.searchDebounceTime=1e3,this.searchLabel="",this.txtQueryChanged=new s.Subject,this.searchChanged=new t.EventEmitter,this.searchClick=new t.EventEmitter,this.txtQueryChanged.pipe(g.debounceTime(this.searchDebounceTime),g.distinctUntilChanged()).subscribe((function(t){return e.searchChanged.next(t)}))}return e.prototype.searchTermChanged=function(){this.txtQueryChanged.next(this.searchTerm)},e.prototype.searchIconClick=function(){this.searchClick.next(this.searchTerm)},e}();function P(e,n){if(1&e){var r=t.ɵɵgetCurrentView();t.ɵɵelementStart(0,"span"),t.ɵɵelementStart(1,"a",3),t.ɵɵlistener("click",(function(){t.ɵɵrestoreView(r);var e=n.index,o=n.$implicit;return t.ɵɵnextContext(2).eventClick(e,o)})),t.ɵɵtext(2),t.ɵɵelementStart(3,"mat-icon"),t.ɵɵtext(4),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()}if(2&e){var o=n.$implicit,a=t.ɵɵnextContext(2);t.ɵɵadvance(2),t.ɵɵtextInterpolate1("",o[a.labelProperty]," "),t.ɵɵadvance(2),t.ɵɵtextInterpolate(a.icon)}}function O(e,n){if(1&e&&(t.ɵɵelementStart(0,"mat-toolbar",1),t.ɵɵtemplate(1,P,5,2,"span",2),t.ɵɵelementEnd()),2&e){var r=t.ɵɵnextContext();t.ɵɵadvance(1),t.ɵɵproperty("ngForOf",r.items)}}y.ɵfac=function(e){return new(e||y)},y.ɵcmp=t.ɵɵdefineComponent({type:y,selectors:[["configuration-page-container"]],viewQuery:function(e,n){var r;(1&e&&t.ɵɵstaticViewQuery(a.NgScrollbar,!0),2&e)&&(t.ɵɵqueryRefresh(r=t.ɵɵloadQuery())&&(n.scrollbarRef=r.first))},inputs:{verticalSeparate:"verticalSeparate",footerPaginator:"footerPaginator",hasSearch:"hasSearch",searchDebounceTime:"searchDebounceTime",searchLabel:"searchLabel"},outputs:{searchChanged:"searchChanged",searchClick:"searchClick"},ngContentSelectors:["*"],decls:6,vars:8,consts:[[1,"configuration-page-container",3,"ngClass"],[3,"visibility"],[1,"list-content"],["class","list-search",4,"ngIf"],[1,"container-content",3,"ngClass"],[1,"list-search"],["appearance","fill",1,"apipass-search-input-text","search-input-item","small-text",3,"ngClass"],[4,"ngIf"],["matInput","","type","search",1,"search-input",3,"ngModel","ngModelChange"],["matSuffix","",1,"search-icon",3,"click"]],template:function(e,n){1&e&&(t.ɵɵprojectionDef(),t.ɵɵelementStart(0,"div",0),t.ɵɵelementStart(1,"ng-scrollbar",1),t.ɵɵelementStart(2,"div",2),t.ɵɵtemplate(3,x,6,5,"div",3),t.ɵɵelementStart(4,"div",4),t.ɵɵprojection(5),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd(),t.ɵɵelementEnd()),2&e&&(t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(4,b,n.footerPaginator)),t.ɵɵadvance(1),t.ɵɵproperty("visibility","hover"),t.ɵɵadvance(2),t.ɵɵproperty("ngIf",n.hasSearch),t.ɵɵadvance(1),t.ɵɵproperty("ngClass",t.ɵɵpureFunction1(6,v,n.verticalSeparate)))},directives:[n.NgClass,a.NgScrollbar,n.NgIf,i.MatFormField,c.MatInput,o.DefaultValueAccessor,o.NgControlStatus,o.NgModel,l.MatIcon,i.MatSuffix,i.MatLabel],styles:[".configuration-page-container[_ngcontent-%COMP%]{border:1px solid var(--color-tertiary);display:flex;height:100%}.configuration-page-container.footer-paginator[_ngcontent-%COMP%]{height:calc(100% - 50px)}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-content[_ngcontent-%COMP%]{height:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{padding-right:15px;padding-top:15px;place-self:flex-end;width:30%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.8rem;opacity:.5}.configuration-page-container[_ngcontent-%COMP%] .container-content[_ngcontent-%COMP%]{height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] .container-content.vertical-separate[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}"]});var _=function(){function e(){this.icon="keyboard_arrow_right",this.items=[],this.labelProperty="label",this.itemClick=new t.EventEmitter}return e.prototype.eventClick=function(e,t){this.items.splice(e+1,this.items.length-1),this.itemClick.emit({index:e,item:t})},e}();_.ɵfac=function(e){return new(e||_)},_.ɵcmp=t.ɵɵdefineComponent({type:_,selectors:[["breadcrumb-component"]],inputs:{icon:"icon",items:"items",labelProperty:"labelProperty"},outputs:{itemClick:"itemClick"},decls:1,vars:1,consts:[["color","primary",4,"ngIf"],["color","primary"],[4,"ngFor","ngForOf"],["mat-button","",3,"click"]],template:function(e,n){1&e&&t.ɵɵtemplate(0,O,2,1,"mat-toolbar",0),2&e&&t.ɵɵproperty("ngIf",n.items.length>0)},directives:[n.NgIf,u.MatToolbar,n.NgForOf,l.MatIcon],styles:[".mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:transparent;font-size:16px;height:45px}a[_ngcontent-%COMP%]{color:#000;cursor:pointer}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var S=function(){};S.ɵmod=t.ɵɵdefineNgModule({type:S}),S.ɵinj=t.ɵɵdefineInjector({factory:function(e){return new(e||S)},providers:[],imports:[[n.CommonModule,r.RouterModule,o.FormsModule,o.ReactiveFormsModule,d.IconsModule,p.ButtonsModule,a.NgScrollbarModule,i.MatFormFieldModule,l.MatIconModule,c.MatInputModule,u.MatToolbarModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&t.ɵɵsetNgModuleScope(S,{declarations:[h,y,_],imports:[n.CommonModule,r.RouterModule,o.FormsModule,o.ReactiveFormsModule,d.IconsModule,p.ButtonsModule,a.NgScrollbarModule,i.MatFormFieldModule,l.MatIconModule,c.MatInputModule,u.MatToolbarModule],exports:[h,y,_]}),Object.keys(a).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})})),e.BreadcrumbComponent=_,e.CentralizedContainerComponent=h,e.ConfigurationPageComponent=y,e.ContainersModule=S,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=apipass-containers.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/containers.module.ts"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0","ɵɵrestoreView","_r2_1","ɵɵnextContext","searchTermChanged","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","CentralizedContainerComponent","this","searchTerm","hasSearch","ignoreZoom","searchChanged","EventEmitter","prototype","emit","i0.ɵɵtextInterpolate","selectors","viewQuery","rf","ctx","NgScrollbar","i0.ɵɵtemplate","i0.ɵɵprojection","_r3_1","ConfigurationPageComponent","_this","verticalSeparate","footerPaginator","searchDebounceTime","searchLabel","txtQueryChanged","Subject","searchClick","pipe","debounceTime","distinctUntilChanged","subscribe","model","next","searchIconClick","ContainersModule","providers","imports","CommonModule","RouterModule","TranslateModule","FormsModule","ReactiveFormsModule","IconsModule","ButtonsModule","NgScrollbarModule","MatFormFieldModule","MatIconModule","MatInputModule","declarations","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EACAkB","sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n TranslateModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/breadcrumb/breadcrumb.component.html","../../../projects/containers/src/breadcrumb/breadcrumb.component.ts","../../../projects/containers/src/containers.module.ts"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0","ɵɵrestoreView","_r2_1","ɵɵnextContext","searchTermChanged","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","CentralizedContainerComponent","this","searchTerm","hasSearch","ignoreZoom","searchChanged","EventEmitter","prototype","emit","i0.ɵɵtextInterpolate","selectors","viewQuery","rf","ctx","NgScrollbar","i0.ɵɵtemplate","i0.ɵɵprojection","_r3_1","ConfigurationPageComponent","_this","verticalSeparate","footerPaginator","searchDebounceTime","searchLabel","txtQueryChanged","Subject","searchClick","pipe","debounceTime","distinctUntilChanged","subscribe","model","next","searchIconClick","i0.ɵɵtextInterpolate1","BreadcrumbComponent","icon","items","labelProperty","itemClick","eventClick","index","item","splice","length","inputs","outputs","decls","vars","consts","template","ContainersModule","providers","imports","CommonModule","RouterModule","FormsModule","ReactiveFormsModule","IconsModule","ButtonsModule","NgScrollbarModule","MatFormFieldModule","MatIconModule","MatInputModule","MatToolbarModule","declarations","exports"],"mappings":"2pCAGMA,EAAAA,eAAAA,EAAAA,MAAAA,GACEA,EAAAA,eAAAA,EAAAA,kBACEA,EAAAA,eAAAA,EAAAA,QAAAA,GAA8BC,EAAAA,WAAAA,iBAAAA,SAAAA,GAAAA,OAAAA,EAAAA,cAAAA,GAAAA,EAAAA,gBAAAA,WAAAA,IAAAA,CAAwB,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O,uBACPnC,KAAAoC,MAAa,GACbpC,KAAAqC,cAAgB,QACtBrC,KAAAsC,UAAwD,IAAIjC,EAAAA,oBAE/D6B,EAAA5B,UAAAiC,WAAA,SAAWC,EAAeC,GAC/BzC,KAAKoC,MAAMM,OAAOF,EAAQ,EAAGxC,KAAKoC,MAAMO,OAAS,GACjD3C,KAAKsC,UAAU/B,KAAK,CAAEiC,MAAKA,EAAEC,KAAIA,2CATxBP,qCAAAA,EAAmBzB,UAAA,CAAA,CAAA,yBAAAmC,OAAA,CAAAT,KAAA,OAAAC,MAAA,QAAAC,cAAA,iBAAAQ,QAAA,CAAAP,UAAA,aAAAQ,MAAA,EAAAC,KAAA,EAAAC,OAAA,CAAA,CAAA,QAAA,UAAA,EAAA,QAAA,CAAA,QAAA,WAAA,CAAA,EAAA,QAAA,WAAA,CAAA,aAAA,GAAA,EAAA,UAAAC,SAAA,SAAAtC,EAAAC,QDPhCE,EAAAA,WAAAA,EAAAA,EAAAA,EAAAA,EAAAA,cAAAA,QAAahB,EAAAA,WAAAA,OAAAA,EAAAA,MAAAA,OAAAA,iREwCb,6CAAaoD,iEAAAA,IAAgBC,UAFhB,GAAEC,QAAA,CAvBJ,CACPC,EAAAA,aACAC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,oBACAC,EAAAA,YACAC,EAAAA,cACAC,EAAAA,kBACAC,EAAAA,mBACAC,EAAAA,cACAC,EAAAA,eACAC,EAAAA,sFAcSb,EAAgB,CAAAc,aAAA,CAXzBjE,EACAkB,EACAiB,GAAmBkB,QAAA,CAfnBC,EAAAA,aACAC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,oBACAC,EAAAA,YACAC,EAAAA,cACAC,EAAAA,kBACAC,EAAAA,mBACAC,EAAAA,cACAC,EAAAA,eACAC,EAAAA,kBAAgBE,QAAA,CAQhBlE,EACAkB,EACAiB","sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\n <span *ngFor=\"let header of items; let indx = index\">\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\n <mat-icon>{{icon}}</mat-icon>\n </a>\n </span>\n</mat-toolbar>","import {Component, EventEmitter, Input, Output} from '@angular/core';\n\n@Component({\n selector: 'breadcrumb-component',\n templateUrl: 'breadcrumb.component.html',\n styleUrls: ['breadcrumb.component.scss']\n})\nexport class BreadcrumbComponent {\n\n @Input() public icon = 'keyboard_arrow_right';\n @Input() public items: any = [];\n @Input() public labelProperty = 'label';\n @Output() itemClick: EventEmitter<{ index: number, item: any }> = new EventEmitter();\n\n public eventClick(index: number, item: any): any {\n this.items.splice(index + 1, this.items.length - 1);\n this.itemClick.emit({ index, item });\n }\n\n constructor(\n ) { }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {BreadcrumbComponent} from './breadcrumb/breadcrumb.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\nimport {MatToolbarModule} from '@angular/material/toolbar';\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatToolbarModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n"]}
|
package/containers.module.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./centralized-container/centralized-container.component";
|
|
3
3
|
import * as i2 from "./configuration-page-content/configuration-page.component";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "@
|
|
4
|
+
import * as i3 from "./breadcrumb/breadcrumb.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/router";
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
8
|
import * as i7 from "@apipass/icons";
|
|
9
9
|
import * as i8 from "@apipass/buttons";
|
|
@@ -11,7 +11,8 @@ import * as i9 from "ngx-scrollbar";
|
|
|
11
11
|
import * as i10 from "@angular/material/form-field";
|
|
12
12
|
import * as i11 from "@angular/material/icon";
|
|
13
13
|
import * as i12 from "@angular/material/input";
|
|
14
|
+
import * as i13 from "@angular/material/toolbar";
|
|
14
15
|
export declare class ContainersModule {
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ContainersModule, [typeof i1.CentralizedContainerComponent, typeof i2.ConfigurationPageComponent
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ContainersModule, [typeof i1.CentralizedContainerComponent, typeof i2.ConfigurationPageComponent, typeof i3.BreadcrumbComponent], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.IconsModule, typeof i8.ButtonsModule, typeof i9.NgScrollbarModule, typeof i10.MatFormFieldModule, typeof i11.MatIconModule, typeof i12.MatInputModule, typeof i13.MatToolbarModule], [typeof i1.CentralizedContainerComponent, typeof i2.ConfigurationPageComponent, typeof i3.BreadcrumbComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDef<ContainersModule>;
|
|
17
18
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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/toolbar";
|
|
5
|
+
import * as i3 from "@angular/material/icon";
|
|
6
|
+
function BreadcrumbComponent_mat_toolbar_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
8
|
+
i0.ɵɵelementStart(0, "span");
|
|
9
|
+
i0.ɵɵelementStart(1, "a", 3);
|
|
10
|
+
i0.ɵɵlistener("click", function BreadcrumbComponent_mat_toolbar_0_span_1_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r5); const indx_r3 = ctx.index; const header_r2 = ctx.$implicit; const ctx_r4 = i0.ɵɵnextContext(2); return ctx_r4.eventClick(indx_r3, header_r2); });
|
|
11
|
+
i0.ɵɵtext(2);
|
|
12
|
+
i0.ɵɵelementStart(3, "mat-icon");
|
|
13
|
+
i0.ɵɵtext(4);
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const header_r2 = ctx.$implicit;
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
20
|
+
i0.ɵɵadvance(2);
|
|
21
|
+
i0.ɵɵtextInterpolate1("", header_r2[ctx_r1.labelProperty], " ");
|
|
22
|
+
i0.ɵɵadvance(2);
|
|
23
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
|
24
|
+
} }
|
|
25
|
+
function BreadcrumbComponent_mat_toolbar_0_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "mat-toolbar", 1);
|
|
27
|
+
i0.ɵɵtemplate(1, BreadcrumbComponent_mat_toolbar_0_span_1_Template, 5, 2, "span", 2);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(1);
|
|
32
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.items);
|
|
33
|
+
} }
|
|
34
|
+
export class BreadcrumbComponent {
|
|
35
|
+
constructor() {
|
|
36
|
+
this.icon = 'keyboard_arrow_right';
|
|
37
|
+
this.items = [];
|
|
38
|
+
this.labelProperty = 'label';
|
|
39
|
+
this.itemClick = new EventEmitter();
|
|
40
|
+
}
|
|
41
|
+
eventClick(index, item) {
|
|
42
|
+
this.items.splice(index + 1, this.items.length - 1);
|
|
43
|
+
this.itemClick.emit({ index, item });
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(); };
|
|
47
|
+
BreadcrumbComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["breadcrumb-component"]], inputs: { icon: "icon", items: "items", labelProperty: "labelProperty" }, outputs: { itemClick: "itemClick" }, decls: 1, vars: 1, consts: [["color", "primary", 4, "ngIf"], ["color", "primary"], [4, "ngFor", "ngForOf"], ["mat-button", "", 3, "click"]], template: function BreadcrumbComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵtemplate(0, BreadcrumbComponent_mat_toolbar_0_Template, 2, 1, "mat-toolbar", 0);
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.items.length > 0);
|
|
51
|
+
} }, directives: [i1.NgIf, i2.MatToolbar, i1.NgForOf, i3.MatIcon], styles: [".mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:transparent;font-size:16px;height:45px}a[_ngcontent-%COMP%]{color:#000;cursor:pointer}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"] });
|
|
52
|
+
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(BreadcrumbComponent, [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{
|
|
55
|
+
selector: 'breadcrumb-component',
|
|
56
|
+
templateUrl: 'breadcrumb.component.html',
|
|
57
|
+
styleUrls: ['breadcrumb.component.scss']
|
|
58
|
+
}]
|
|
59
|
+
}], function () { return []; }, { icon: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], items: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], labelProperty: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], itemClick: [{
|
|
66
|
+
type: Output
|
|
67
|
+
}] }); })();
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb250YWluZXJzL3NyYy9icmVhZGNydW1iL2JyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4v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5kZXggKyAxLCB0aGlzLml0ZW1zLmxlbmd0aCAtIDEpO1xuICAgIHRoaXMuaXRlbUNsaWNrLmVtaXQoeyBpbmRleCwgaXRlbSB9KTtcbiAgfVxuXG4gIGNvbnN0cnVjdG9yKFxuICApIHsgfVxuXG59XG4iLCI8bWF0LXRvb2xiYXIgKm5nSWY9XCJpdGVtcy5sZW5ndGggPiAwXCIgY29sb3I9XCJwcmltYXJ5XCI+XG4gICAgPHNwYW4gKm5nRm9yPVwibGV0IGhlYWRlciBvZiBpdGVtczsgbGV0IGluZHggPSBpbmRleFwiPlxuICAgICAgICA8YSBtYXQtYnV0dG9uIChjbGljayk9XCJldmVudENsaWNrKGluZHgsIGhlYWRlcilcIj57e2hlYWRlcltsYWJlbFByb3BlcnR5XX19XG4gICAgICAgICAgICA8bWF0LWljb24+e3tpY29ufX08L21hdC1pY29uPlxuICAgICAgICA8L2E+XG4gICAgPC9zcGFuPlxuPC9tYXQtdG9vbGJhcj4iXX0=
|
|
@@ -91,7 +91,7 @@ ConfigurationPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ConfigurationP
|
|
|
91
91
|
i0.ɵɵproperty("ngIf", ctx.hasSearch);
|
|
92
92
|
i0.ɵɵadvance(1);
|
|
93
93
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx.verticalSeparate));
|
|
94
|
-
} }, directives: [i1.NgClass, i2.NgScrollbar, i1.NgIf, i3.MatFormField, i4.MatInput, i5.DefaultValueAccessor, i5.NgControlStatus, i5.NgModel, i6.MatIcon, i3.MatSuffix, i3.MatLabel], styles: ["
|
|
94
|
+
} }, directives: [i1.NgClass, i2.NgScrollbar, i1.NgIf, i3.MatFormField, i4.MatInput, i5.DefaultValueAccessor, i5.NgControlStatus, i5.NgModel, i6.MatIcon, i3.MatSuffix, i3.MatLabel], styles: [".configuration-page-container[_ngcontent-%COMP%]{border:1px solid var(--color-tertiary);display:flex;height:100%}.configuration-page-container.footer-paginator[_ngcontent-%COMP%]{height:calc(100% - 50px)}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-content[_ngcontent-%COMP%]{height:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{padding-right:15px;padding-top:15px;place-self:flex-end;width:30%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.8rem;opacity:.5}.configuration-page-container[_ngcontent-%COMP%] .container-content[_ngcontent-%COMP%]{height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] .container-content.vertical-separate[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}"] });
|
|
95
95
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(ConfigurationPageComponent, [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
5
4
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
5
|
import { CentralizedContainerComponent } from './centralized-container/centralized-container.component';
|
|
7
6
|
import { ConfigurationPageComponent } from './configuration-page-content/configuration-page.component';
|
|
7
|
+
import { BreadcrumbComponent } from './breadcrumb/breadcrumb.component';
|
|
8
8
|
import { NgScrollbarModule } from 'ngx-scrollbar';
|
|
9
9
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
11
|
import { MatInputModule } from '@angular/material/input';
|
|
12
12
|
import { IconsModule } from '@apipass/icons';
|
|
13
13
|
import { ButtonsModule } from '@apipass/buttons';
|
|
14
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
export class ContainersModule {
|
|
16
17
|
}
|
|
@@ -18,7 +19,6 @@ ContainersModule.ɵmod = i0.ɵɵdefineNgModule({ type: ContainersModule });
|
|
|
18
19
|
ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersModule_Factory(t) { return new (t || ContainersModule)(); }, providers: [], imports: [[
|
|
19
20
|
CommonModule,
|
|
20
21
|
RouterModule,
|
|
21
|
-
TranslateModule,
|
|
22
22
|
FormsModule,
|
|
23
23
|
ReactiveFormsModule,
|
|
24
24
|
IconsModule,
|
|
@@ -26,12 +26,13 @@ ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersMod
|
|
|
26
26
|
NgScrollbarModule,
|
|
27
27
|
MatFormFieldModule,
|
|
28
28
|
MatIconModule,
|
|
29
|
-
MatInputModule
|
|
29
|
+
MatInputModule,
|
|
30
|
+
MatToolbarModule
|
|
30
31
|
]] });
|
|
31
32
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ContainersModule, { declarations: [CentralizedContainerComponent,
|
|
32
|
-
ConfigurationPageComponent
|
|
33
|
+
ConfigurationPageComponent,
|
|
34
|
+
BreadcrumbComponent], imports: [CommonModule,
|
|
33
35
|
RouterModule,
|
|
34
|
-
TranslateModule,
|
|
35
36
|
FormsModule,
|
|
36
37
|
ReactiveFormsModule,
|
|
37
38
|
IconsModule,
|
|
@@ -39,15 +40,16 @@ ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersMod
|
|
|
39
40
|
NgScrollbarModule,
|
|
40
41
|
MatFormFieldModule,
|
|
41
42
|
MatIconModule,
|
|
42
|
-
MatInputModule
|
|
43
|
-
|
|
43
|
+
MatInputModule,
|
|
44
|
+
MatToolbarModule], exports: [CentralizedContainerComponent,
|
|
45
|
+
ConfigurationPageComponent,
|
|
46
|
+
BreadcrumbComponent] }); })();
|
|
44
47
|
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(ContainersModule, [{
|
|
45
48
|
type: NgModule,
|
|
46
49
|
args: [{
|
|
47
50
|
imports: [
|
|
48
51
|
CommonModule,
|
|
49
52
|
RouterModule,
|
|
50
|
-
TranslateModule,
|
|
51
53
|
FormsModule,
|
|
52
54
|
ReactiveFormsModule,
|
|
53
55
|
IconsModule,
|
|
@@ -55,17 +57,20 @@ ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersMod
|
|
|
55
57
|
NgScrollbarModule,
|
|
56
58
|
MatFormFieldModule,
|
|
57
59
|
MatIconModule,
|
|
58
|
-
MatInputModule
|
|
60
|
+
MatInputModule,
|
|
61
|
+
MatToolbarModule
|
|
59
62
|
],
|
|
60
63
|
declarations: [
|
|
61
64
|
CentralizedContainerComponent,
|
|
62
|
-
ConfigurationPageComponent
|
|
65
|
+
ConfigurationPageComponent,
|
|
66
|
+
BreadcrumbComponent
|
|
63
67
|
],
|
|
64
68
|
exports: [
|
|
65
69
|
CentralizedContainerComponent,
|
|
66
|
-
ConfigurationPageComponent
|
|
70
|
+
ConfigurationPageComponent,
|
|
71
|
+
BreadcrumbComponent
|
|
67
72
|
],
|
|
68
73
|
providers: []
|
|
69
74
|
}]
|
|
70
75
|
}], null, null); })();
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|
+
//# sourceMappingURL=data:application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iYXJNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL21hdGVyaWFsL3Rvb2xiYXInO1xuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBSb3V0ZXJNb2R1bGUsXG4gICAgRm9ybXNNb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcbiAgICBJY29uc01vZHVsZSxcbiAgICBCdXR0b25zTW9kdWxlLFxuICAgIE5nU2Nyb2xsYmFyTW9kdWxlLFxuICAgIE1hdEZvcm1GaWVsZE1vZHVsZSxcbiAgICBNYXRJY29uTW9kdWxlLFxuICAgIE1hdElucHV0TW9kdWxlLFxuICAgIE1hdFRvb2xiYXJNb2R1bGVcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgQ2VudHJhbGl6ZWRDb250YWluZXJDb21wb25lbnQsXG4gICAgQ29uZmlndXJhdGlvblBhZ2VDb21wb25lbnQsXG4gICAgQnJlYWRjcnVtYkNvbXBvbmVudFxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQ2VudHJhbGl6ZWRDb250YWluZXJDb21wb25lbnQsXG4gICAgQ29uZmlndXJhdGlvblBhZ2VDb21wb25lbnQsXG4gICAgQnJlYWRjcnVtYkNvbXBvbmVudFxuICBdLFxuICBwcm92aWRlcnM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIENvbnRhaW5lcnNNb2R1bGUge31cbiJdfQ==
|
package/esm2015/public-api.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './containers.module';
|
|
2
2
|
export * from './centralized-container/centralized-container.component';
|
|
3
3
|
export * from './configuration-page-content/configuration-page.component';
|
|
4
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
4
5
|
export * from 'ngx-scrollbar';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NvbnRhaW5lcnMvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsMkRBQTJELENBQUM7QUFDMUUsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udGFpbmVycy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9jZW50cmFsaXplZC1jb250YWluZXIvY2VudHJhbGl6ZWQtY29udGFpbmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NvbmZpZ3VyYXRpb24tcGFnZS1jb250ZW50L2NvbmZpZ3VyYXRpb24tcGFnZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9icmVhZGNydW1iL2JyZWFkY3J1bWIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJ25neC1zY3JvbGxiYXInO1xuIl19
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ɵɵgetCurrentView, ɵɵelementStart, ɵɵlistener, ɵɵrestoreView, ɵɵnextContext, ɵɵelementEnd, ɵɵtext, ɵɵadvance, ɵɵproperty, EventEmitter, ɵɵdefineComponent, ɵɵstaticViewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵprojectionDef, ɵɵtemplate, ɵɵprojection, ɵɵpureFunction1, ɵsetClassMetadata, Component, Input, Output, ViewChild, ɵɵtextInterpolate, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
2
|
-
import { NgClass, NgIf, CommonModule } from '@angular/common';
|
|
1
|
+
import { ɵɵgetCurrentView, ɵɵelementStart, ɵɵlistener, ɵɵrestoreView, ɵɵnextContext, ɵɵelementEnd, ɵɵtext, ɵɵadvance, ɵɵproperty, EventEmitter, ɵɵdefineComponent, ɵɵstaticViewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵprojectionDef, ɵɵtemplate, ɵɵprojection, ɵɵpureFunction1, ɵsetClassMetadata, Component, Input, Output, ViewChild, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
|
|
2
|
+
import { NgClass, NgIf, NgForOf, CommonModule } from '@angular/common';
|
|
3
3
|
import { RouterModule } from '@angular/router';
|
|
4
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
5
4
|
import { DefaultValueAccessor, NgControlStatus, NgModel, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
5
|
import { NgScrollbar, NgScrollbarModule } from 'ngx-scrollbar';
|
|
7
6
|
export * from 'ngx-scrollbar';
|
|
@@ -10,6 +9,7 @@ import { MatInput, MatInputModule } from '@angular/material/input';
|
|
|
10
9
|
import { MatIcon, MatIconModule } from '@angular/material/icon';
|
|
11
10
|
import { Subject } from 'rxjs';
|
|
12
11
|
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
12
|
+
import { MatToolbar, MatToolbarModule } from '@angular/material/toolbar';
|
|
13
13
|
import { IconsModule } from '@apipass/icons';
|
|
14
14
|
import { ButtonsModule } from '@apipass/buttons';
|
|
15
15
|
|
|
@@ -166,7 +166,7 @@ ConfigurationPageComponent.ɵcmp = ɵɵdefineComponent({ type: ConfigurationPage
|
|
|
166
166
|
ɵɵproperty("ngIf", ctx.hasSearch);
|
|
167
167
|
ɵɵadvance(1);
|
|
168
168
|
ɵɵproperty("ngClass", ɵɵpureFunction1(6, _c2, ctx.verticalSeparate));
|
|
169
|
-
} }, directives: [NgClass, NgScrollbar, NgIf, MatFormField, MatInput, DefaultValueAccessor, NgControlStatus, NgModel, MatIcon, MatSuffix, MatLabel], styles: ["
|
|
169
|
+
} }, directives: [NgClass, NgScrollbar, NgIf, MatFormField, MatInput, DefaultValueAccessor, NgControlStatus, NgModel, MatIcon, MatSuffix, MatLabel], styles: [".configuration-page-container[_ngcontent-%COMP%]{border:1px solid var(--color-tertiary);display:flex;height:100%}.configuration-page-container.footer-paginator[_ngcontent-%COMP%]{height:calc(100% - 50px)}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .ng-scroll-content[_ngcontent-%COMP%]{height:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%]{padding-right:15px;padding-top:15px;place-self:flex-end;width:30%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.configuration-page-container[_ngcontent-%COMP%] ng-scrollbar[_ngcontent-%COMP%] .list-content[_ngcontent-%COMP%] .list-search[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:1.8rem;opacity:.5}.configuration-page-container[_ngcontent-%COMP%] .container-content[_ngcontent-%COMP%]{height:100%;width:100%}.configuration-page-container[_ngcontent-%COMP%] .container-content.vertical-separate[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}"] });
|
|
170
170
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(ConfigurationPageComponent, [{
|
|
171
171
|
type: Component,
|
|
172
172
|
args: [{
|
|
@@ -193,13 +193,75 @@ ConfigurationPageComponent.ɵcmp = ɵɵdefineComponent({ type: ConfigurationPage
|
|
|
193
193
|
args: [NgScrollbar, { static: true }]
|
|
194
194
|
}] }); })();
|
|
195
195
|
|
|
196
|
+
function BreadcrumbComponent_mat_toolbar_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
197
|
+
const _r5 = ɵɵgetCurrentView();
|
|
198
|
+
ɵɵelementStart(0, "span");
|
|
199
|
+
ɵɵelementStart(1, "a", 3);
|
|
200
|
+
ɵɵlistener("click", function BreadcrumbComponent_mat_toolbar_0_span_1_Template_a_click_1_listener() { ɵɵrestoreView(_r5); const indx_r3 = ctx.index; const header_r2 = ctx.$implicit; const ctx_r4 = ɵɵnextContext(2); return ctx_r4.eventClick(indx_r3, header_r2); });
|
|
201
|
+
ɵɵtext(2);
|
|
202
|
+
ɵɵelementStart(3, "mat-icon");
|
|
203
|
+
ɵɵtext(4);
|
|
204
|
+
ɵɵelementEnd();
|
|
205
|
+
ɵɵelementEnd();
|
|
206
|
+
ɵɵelementEnd();
|
|
207
|
+
} if (rf & 2) {
|
|
208
|
+
const header_r2 = ctx.$implicit;
|
|
209
|
+
const ctx_r1 = ɵɵnextContext(2);
|
|
210
|
+
ɵɵadvance(2);
|
|
211
|
+
ɵɵtextInterpolate1("", header_r2[ctx_r1.labelProperty], " ");
|
|
212
|
+
ɵɵadvance(2);
|
|
213
|
+
ɵɵtextInterpolate(ctx_r1.icon);
|
|
214
|
+
} }
|
|
215
|
+
function BreadcrumbComponent_mat_toolbar_0_Template(rf, ctx) { if (rf & 1) {
|
|
216
|
+
ɵɵelementStart(0, "mat-toolbar", 1);
|
|
217
|
+
ɵɵtemplate(1, BreadcrumbComponent_mat_toolbar_0_span_1_Template, 5, 2, "span", 2);
|
|
218
|
+
ɵɵelementEnd();
|
|
219
|
+
} if (rf & 2) {
|
|
220
|
+
const ctx_r0 = ɵɵnextContext();
|
|
221
|
+
ɵɵadvance(1);
|
|
222
|
+
ɵɵproperty("ngForOf", ctx_r0.items);
|
|
223
|
+
} }
|
|
224
|
+
class BreadcrumbComponent {
|
|
225
|
+
constructor() {
|
|
226
|
+
this.icon = 'keyboard_arrow_right';
|
|
227
|
+
this.items = [];
|
|
228
|
+
this.labelProperty = 'label';
|
|
229
|
+
this.itemClick = new EventEmitter();
|
|
230
|
+
}
|
|
231
|
+
eventClick(index, item) {
|
|
232
|
+
this.items.splice(index + 1, this.items.length - 1);
|
|
233
|
+
this.itemClick.emit({ index, item });
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
BreadcrumbComponent.ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(); };
|
|
237
|
+
BreadcrumbComponent.ɵcmp = ɵɵdefineComponent({ type: BreadcrumbComponent, selectors: [["breadcrumb-component"]], inputs: { icon: "icon", items: "items", labelProperty: "labelProperty" }, outputs: { itemClick: "itemClick" }, decls: 1, vars: 1, consts: [["color", "primary", 4, "ngIf"], ["color", "primary"], [4, "ngFor", "ngForOf"], ["mat-button", "", 3, "click"]], template: function BreadcrumbComponent_Template(rf, ctx) { if (rf & 1) {
|
|
238
|
+
ɵɵtemplate(0, BreadcrumbComponent_mat_toolbar_0_Template, 2, 1, "mat-toolbar", 0);
|
|
239
|
+
} if (rf & 2) {
|
|
240
|
+
ɵɵproperty("ngIf", ctx.items.length > 0);
|
|
241
|
+
} }, directives: [NgIf, MatToolbar, NgForOf, MatIcon], styles: [".mat-toolbar.mat-primary[_ngcontent-%COMP%]{background:transparent;font-size:16px;height:45px}a[_ngcontent-%COMP%]{color:#000;cursor:pointer}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"] });
|
|
242
|
+
/*@__PURE__*/ (function () { ɵsetClassMetadata(BreadcrumbComponent, [{
|
|
243
|
+
type: Component,
|
|
244
|
+
args: [{
|
|
245
|
+
selector: 'breadcrumb-component',
|
|
246
|
+
templateUrl: 'breadcrumb.component.html',
|
|
247
|
+
styleUrls: ['breadcrumb.component.scss']
|
|
248
|
+
}]
|
|
249
|
+
}], function () { return []; }, { icon: [{
|
|
250
|
+
type: Input
|
|
251
|
+
}], items: [{
|
|
252
|
+
type: Input
|
|
253
|
+
}], labelProperty: [{
|
|
254
|
+
type: Input
|
|
255
|
+
}], itemClick: [{
|
|
256
|
+
type: Output
|
|
257
|
+
}] }); })();
|
|
258
|
+
|
|
196
259
|
class ContainersModule {
|
|
197
260
|
}
|
|
198
261
|
ContainersModule.ɵmod = ɵɵdefineNgModule({ type: ContainersModule });
|
|
199
262
|
ContainersModule.ɵinj = ɵɵdefineInjector({ factory: function ContainersModule_Factory(t) { return new (t || ContainersModule)(); }, providers: [], imports: [[
|
|
200
263
|
CommonModule,
|
|
201
264
|
RouterModule,
|
|
202
|
-
TranslateModule,
|
|
203
265
|
FormsModule,
|
|
204
266
|
ReactiveFormsModule,
|
|
205
267
|
IconsModule,
|
|
@@ -207,12 +269,13 @@ ContainersModule.ɵinj = ɵɵdefineInjector({ factory: function ContainersModule
|
|
|
207
269
|
NgScrollbarModule,
|
|
208
270
|
MatFormFieldModule,
|
|
209
271
|
MatIconModule,
|
|
210
|
-
MatInputModule
|
|
272
|
+
MatInputModule,
|
|
273
|
+
MatToolbarModule
|
|
211
274
|
]] });
|
|
212
275
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(ContainersModule, { declarations: [CentralizedContainerComponent,
|
|
213
|
-
ConfigurationPageComponent
|
|
276
|
+
ConfigurationPageComponent,
|
|
277
|
+
BreadcrumbComponent], imports: [CommonModule,
|
|
214
278
|
RouterModule,
|
|
215
|
-
TranslateModule,
|
|
216
279
|
FormsModule,
|
|
217
280
|
ReactiveFormsModule,
|
|
218
281
|
IconsModule,
|
|
@@ -220,15 +283,16 @@ ContainersModule.ɵinj = ɵɵdefineInjector({ factory: function ContainersModule
|
|
|
220
283
|
NgScrollbarModule,
|
|
221
284
|
MatFormFieldModule,
|
|
222
285
|
MatIconModule,
|
|
223
|
-
MatInputModule
|
|
224
|
-
|
|
286
|
+
MatInputModule,
|
|
287
|
+
MatToolbarModule], exports: [CentralizedContainerComponent,
|
|
288
|
+
ConfigurationPageComponent,
|
|
289
|
+
BreadcrumbComponent] }); })();
|
|
225
290
|
/*@__PURE__*/ (function () { ɵsetClassMetadata(ContainersModule, [{
|
|
226
291
|
type: NgModule,
|
|
227
292
|
args: [{
|
|
228
293
|
imports: [
|
|
229
294
|
CommonModule,
|
|
230
295
|
RouterModule,
|
|
231
|
-
TranslateModule,
|
|
232
296
|
FormsModule,
|
|
233
297
|
ReactiveFormsModule,
|
|
234
298
|
IconsModule,
|
|
@@ -236,15 +300,18 @@ ContainersModule.ɵinj = ɵɵdefineInjector({ factory: function ContainersModule
|
|
|
236
300
|
NgScrollbarModule,
|
|
237
301
|
MatFormFieldModule,
|
|
238
302
|
MatIconModule,
|
|
239
|
-
MatInputModule
|
|
303
|
+
MatInputModule,
|
|
304
|
+
MatToolbarModule
|
|
240
305
|
],
|
|
241
306
|
declarations: [
|
|
242
307
|
CentralizedContainerComponent,
|
|
243
|
-
ConfigurationPageComponent
|
|
308
|
+
ConfigurationPageComponent,
|
|
309
|
+
BreadcrumbComponent
|
|
244
310
|
],
|
|
245
311
|
exports: [
|
|
246
312
|
CentralizedContainerComponent,
|
|
247
|
-
ConfigurationPageComponent
|
|
313
|
+
ConfigurationPageComponent,
|
|
314
|
+
BreadcrumbComponent
|
|
248
315
|
],
|
|
249
316
|
providers: []
|
|
250
317
|
}]
|
|
@@ -254,5 +321,5 @@ ContainersModule.ɵinj = ɵɵdefineInjector({ factory: function ContainersModule
|
|
|
254
321
|
* Generated bundle index. Do not edit.
|
|
255
322
|
*/
|
|
256
323
|
|
|
257
|
-
export { CentralizedContainerComponent, ConfigurationPageComponent, ContainersModule };
|
|
324
|
+
export { BreadcrumbComponent, CentralizedContainerComponent, ConfigurationPageComponent, ContainersModule };
|
|
258
325
|
//# sourceMappingURL=apipass-containers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apipass-containers.js","sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/containers.module.ts","../../../projects/containers/src/apipass-containers.ts"],"sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n TranslateModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","i0.ɵɵtemplate","i0.ɵɵprojection","i0.ɵɵtextInterpolate"],"mappings":";;;;;;;;;;;;;;;;;IAGMA,2BACE;IAAAA,mCACE;IAAAA,6BACA;IAD8BC,oNAAwB,oMAAA;IAAtDC,cACA;IAAAF,gCAAwC;IAAAG,mBAAM;IAAAD,cAAW;IAC3DA,cAAiB;IACnBA,cAAM;;;IAH4BE,YAAwB;IAAxBC,wCAAwB;;;;MCGnD,6BAA6B;IAL1C;QAOS,eAAU,GAAG,EAAE,CAAC;QAEP,cAAS,GAAG,IAAI,CAAC;QACjB,eAAU,GAAG,KAAK,CAAC;QAG5B,kBAAa,GAAG,IAAI,YAAY,EAAU,CAAC;KASnD;IAJQ,iBAAiB;QACtB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC1C;;0GAfU,6BAA6B;+DAA7B,6BAA6B;0BAU7B,WAAW;;;;;;QDlBxBL,2BACE;QAAAA,oCACE;QAAAA,2BACE;QAAAM,2EACE;QAKFC,eAAY;QACdL,cAAM;QACRA,cAAe;QACjBA,cAAM;;QAZ6BG,+DAAuD;QAC1ED,YAAsB;QAAtBC,iCAAsB;QAEPD,YAAiB;QAAjBC,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,kBAAkB;QAClB,aAAa;QACb,cAAc,aAOd,6BAA6B;QAC7B,0BAA0B;+CAIjB,gBAAgB;cAxB5B,QAAQ;eAAC;gBACR,OAAO,EAAE;oBACP,YAAY;oBACZ,YAAY;oBACZ,eAAe;oBACf,WAAW;oBACX,mBAAmB;oBACnB,WAAW;oBACX,aAAa;oBACb,iBAAiB;oBACjB,kBAAkB;oBAClB,aAAa;oBACb,cAAc;iBACf;gBACD,YAAY,EAAE;oBACZ,6BAA6B;oBAC7B,0BAA0B;iBAC3B;gBACD,OAAO,EAAE;oBACP,6BAA6B;oBAC7B,0BAA0B;iBAC3B;gBACD,SAAS,EAAE,EAAE;aACd;;;ACrCD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"apipass-containers.js","sources":["../../../projects/containers/src/centralized-container/centralized-container.component.html","../../../projects/containers/src/centralized-container/centralized-container.component.ts","../../../projects/containers/src/configuration-page-content/configuration-page.component.html","../../../projects/containers/src/configuration-page-content/configuration-page.component.ts","../../../projects/containers/src/breadcrumb/breadcrumb.component.html","../../../projects/containers/src/breadcrumb/breadcrumb.component.ts","../../../projects/containers/src/containers.module.ts","../../../projects/containers/src/apipass-containers.ts"],"sourcesContent":["<div class=\"centralized-container\" [ngClass]=\"{'centralized-container-zoom': !ignoreZoom}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field>\n <input matInput type=\"search\" [(ngModel)]=\"searchTerm\" (ngModelChange)=\"searchTermChanged()\" />\n <mat-icon class=\"search-icon\" matSuffix>search</mat-icon>\n </mat-form-field>\n </div>\n <ng-content></ng-content>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\n\n@Component({\n selector: 'centralized-container',\n templateUrl: 'centralized-container.component.html',\n styleUrls: ['centralized-container.component.scss']\n})\nexport class CentralizedContainerComponent {\n\n public searchTerm = '';\n\n @Input() public hasSearch = true;\n @Input() public ignoreZoom = false;\n\n @Output()\n public searchChanged = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n public searchTermChanged(): void {\n this.searchChanged.emit(this.searchTerm);\n }\n\n}\n","<div class=\"configuration-page-container\" [ngClass]=\"{'footer-paginator': footerPaginator}\">\n <ng-scrollbar [visibility]=\"'hover'\">\n <div class=\"list-content\">\n <div class=\"list-search\" *ngIf=\"hasSearch\">\n <mat-form-field class=\"apipass-search-input-text search-input-item small-text\"\n [ngClass]=\"{'label-input': searchLabel}\"\n appearance=\"fill\">\n <mat-label *ngIf=\"searchLabel\">{{searchLabel}}</mat-label>\n <input matInput type=\"search\" class=\"search-input\"\n [(ngModel)]=\"searchTerm\"\n (ngModelChange)=\"searchTermChanged()\"\n />\n <mat-icon class=\"search-icon\" matSuffix (click)=\"searchIconClick()\">search</mat-icon>\n </mat-form-field>\n </div>\n\n <div class=\"container-content\" [ngClass]=\"{'vertical-separate': verticalSeparate}\">\n <ng-content></ng-content>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n","import {Component, EventEmitter, Input, Output, ViewChild} from '@angular/core';\nimport {NgScrollbar} from 'ngx-scrollbar';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n selector: 'configuration-page-container',\n templateUrl: 'configuration-page.component.html',\n styleUrls: ['configuration-page.component.scss']\n})\nexport class ConfigurationPageComponent {\n\n public searchTerm = '';\n\n @Input() public verticalSeparate = false;\n @Input() public footerPaginator = false;\n @Input() public hasSearch = true;\n @Input() public searchDebounceTime = 1000;\n @Input() public searchLabel = '';\n\n txtQueryChanged: Subject<string> = new Subject<string>();\n\n @Output() public searchChanged = new EventEmitter<string>();\n @Output() public searchClick = new EventEmitter<string>();\n\n @ViewChild(NgScrollbar, { static: true })\n public scrollbarRef: NgScrollbar | undefined;\n\n constructor() {\n this.txtQueryChanged.pipe(\n debounceTime(this.searchDebounceTime),\n distinctUntilChanged()).subscribe(model =>\n this.searchChanged.next(model)\n );\n }\n\n public searchTermChanged(): void {\n this.txtQueryChanged.next(this.searchTerm);\n }\n\n public searchIconClick(): void {\n this.searchClick.next(this.searchTerm);\n }\n\n}\n","<mat-toolbar *ngIf=\"items.length > 0\" color=\"primary\">\n <span *ngFor=\"let header of items; let indx = index\">\n <a mat-button (click)=\"eventClick(indx, header)\">{{header[labelProperty]}}\n <mat-icon>{{icon}}</mat-icon>\n </a>\n </span>\n</mat-toolbar>","import {Component, EventEmitter, Input, Output} from '@angular/core';\n\n@Component({\n selector: 'breadcrumb-component',\n templateUrl: 'breadcrumb.component.html',\n styleUrls: ['breadcrumb.component.scss']\n})\nexport class BreadcrumbComponent {\n\n @Input() public icon = 'keyboard_arrow_right';\n @Input() public items: any = [];\n @Input() public labelProperty = 'label';\n @Output() itemClick: EventEmitter<{ index: number, item: any }> = new EventEmitter();\n\n public eventClick(index: number, item: any): any {\n this.items.splice(index + 1, this.items.length - 1);\n this.itemClick.emit({ index, item });\n }\n\n constructor(\n ) { }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {RouterModule} from '@angular/router';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {CentralizedContainerComponent} from './centralized-container/centralized-container.component';\nimport {ConfigurationPageComponent} from './configuration-page-content/configuration-page.component';\nimport {BreadcrumbComponent} from './breadcrumb/breadcrumb.component';\nimport {NgScrollbarModule} from 'ngx-scrollbar';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {IconsModule} from '@apipass/icons';\nimport {ButtonsModule} from '@apipass/buttons';\nimport {MatToolbarModule} from '@angular/material/toolbar';\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n FormsModule,\n ReactiveFormsModule,\n IconsModule,\n ButtonsModule,\n NgScrollbarModule,\n MatFormFieldModule,\n MatIconModule,\n MatInputModule,\n MatToolbarModule\n ],\n declarations: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n exports: [\n CentralizedContainerComponent,\n ConfigurationPageComponent,\n BreadcrumbComponent\n ],\n providers: []\n})\nexport class ContainersModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i0.ɵɵelementStart","i0.ɵɵlistener","i0.ɵɵelementEnd","i0.ɵɵtext","i0.ɵɵadvance","i0.ɵɵproperty","i0.ɵɵtemplate","i0.ɵɵprojection","i0.ɵɵtextInterpolate","i0.ɵɵtextInterpolate1"],"mappings":";;;;;;;;;;;;;;;;;IAGMA,2BACE;IAAAA,mCACE;IAAAA,6BACA;IAD8BC,oNAAwB,oMAAA;IAAtDC,cACA;IAAAF,gCAAwC;IAAAG,mBAAM;IAAAD,cAAW;IAC3DA,cAAiB;IACnBA,cAAM;;;IAH4BE,YAAwB;IAAxBC,wCAAwB;;;;MCGnD,6BAA6B;IAL1C;QAOS,eAAU,GAAG,EAAE,CAAC;QAEP,cAAS,GAAG,IAAI,CAAC;QACjB,eAAU,GAAG,KAAK,CAAC;QAG5B,kBAAa,GAAG,IAAI,YAAY,EAAU,CAAC;KASnD;IAJQ,iBAAiB;QACtB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KAC1C;;0GAfU,6BAA6B;+DAA7B,6BAA6B;0BAU7B,WAAW;;;;;;QDlBxBL,2BACE;QAAAA,oCACE;QAAAA,2BACE;QAAAM,2EACE;QAKFC,eAAY;QACdL,cAAM;QACRA,cAAe;QACjBA,cAAM;;QAZ6BG,+DAAuD;QAC1ED,YAAsB;QAAtBC,iCAAsB;QAEPD,YAAiB;QAAjBC,iCAAiB;;+CCKnC,6BAA6B;cALzC,SAAS;eAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,WAAW,EAAE,sCAAsC;gBACnD,SA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AA6B;oBAC7B,0BAA0B;oBAC1B,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,6BAA6B;oBAC7B,0BAA0B;oBAC1B,mBAAmB;iBACpB;gBACD,SAAS,EAAE,EAAE;aACd;;;ACvCD;;;;;;"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './containers.module';
|
|
2
2
|
export * from './centralized-container/centralized-container.component';
|
|
3
3
|
export * from './configuration-page-content/configuration-page.component';
|
|
4
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
4
5
|
export * from 'ngx-scrollbar';
|