@apipass/containers 0.2.16 → 1.0.7

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.
Files changed (36) hide show
  1. package/README.md +33 -33
  2. package/assets/css/buttons.scss +118 -118
  3. package/assets/css/colors.scss +31 -31
  4. package/assets/css/fonts.scss +24 -24
  5. package/assets/css/pt_sans.scss +143 -143
  6. package/assets/css/spacing.scss +28 -28
  7. package/assets/css/texts.scss +18 -18
  8. package/assets/css/toaster.scss +286 -286
  9. package/breadcrumb/breadcrumb.component.d.ts +14 -15
  10. package/centralized-container/centralized-container.component.d.ts +13 -13
  11. package/configuration-page-content/configuration-page.component.d.ts +21 -21
  12. package/containers.module.d.ts +19 -18
  13. package/{esm2015/apipass-containers.js → esm2020/apipass-containers.mjs} +4 -4
  14. package/esm2020/breadcrumb/breadcrumb.component.mjs +32 -0
  15. package/esm2020/centralized-container/centralized-container.component.mjs +36 -0
  16. package/esm2020/configuration-page-content/configuration-page.component.mjs +55 -0
  17. package/esm2020/containers.module.mjs +74 -0
  18. package/{esm2015/public-api.js → esm2020/public-api.mjs} +6 -6
  19. package/fesm2015/apipass-containers.mjs +186 -0
  20. package/fesm2015/apipass-containers.mjs.map +1 -0
  21. package/fesm2020/apipass-containers.mjs +186 -0
  22. package/fesm2020/apipass-containers.mjs.map +1 -0
  23. package/{apipass-containers.d.ts → index.d.ts} +5 -5
  24. package/package.json +33 -23
  25. package/public-api.d.ts +5 -5
  26. package/assets/css/inputs.scss +0 -197
  27. package/bundles/apipass-containers.umd.js +0 -378
  28. package/bundles/apipass-containers.umd.js.map +0 -1
  29. package/bundles/apipass-containers.umd.min.js +0 -2
  30. package/bundles/apipass-containers.umd.min.js.map +0 -1
  31. package/esm2015/breadcrumb/breadcrumb.component.js +0 -68
  32. package/esm2015/centralized-container/centralized-container.component.js +0 -80
  33. package/esm2015/configuration-page-content/configuration-page.component.js +0 -120
  34. package/esm2015/containers.module.js +0 -76
  35. package/fesm2015/apipass-containers.js +0 -325
  36. package/fesm2015/apipass-containers.js.map +0 -1
@@ -1,378 +0,0 @@
1
- (function (global, factory) {
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
-
7
- function CentralizedContainerComponent_div_3_Template(rf, ctx) {
8
- if (rf & 1) {
9
- var _r2_1 = i0.ɵɵgetCurrentView();
10
- i0.ɵɵelementStart(0, "div", 4);
11
- i0.ɵɵelementStart(1, "mat-form-field");
12
- i0.ɵɵelementStart(2, "input", 5);
13
- i0.ɵɵlistener("ngModelChange", function CentralizedContainerComponent_div_3_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r2_1); var ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.searchTerm = $event; })("ngModelChange", function CentralizedContainerComponent_div_3_Template_input_ngModelChange_2_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.searchTermChanged(); });
14
- i0.ɵɵelementEnd();
15
- i0.ɵɵelementStart(3, "mat-icon", 6);
16
- i0.ɵɵtext(4, "search");
17
- i0.ɵɵelementEnd();
18
- i0.ɵɵelementEnd();
19
- i0.ɵɵelementEnd();
20
- }
21
- if (rf & 2) {
22
- var ctx_r0 = i0.ɵɵnextContext();
23
- i0.ɵɵadvance(2);
24
- i0.ɵɵproperty("ngModel", ctx_r0.searchTerm);
25
- }
26
- }
27
- var _c0 = function (a0) { return { "centralized-container-zoom": a0 }; };
28
- var _c1 = ["*"];
29
- var CentralizedContainerComponent = /** @class */ (function () {
30
- function CentralizedContainerComponent() {
31
- this.searchTerm = '';
32
- this.hasSearch = true;
33
- this.ignoreZoom = false;
34
- this.searchChanged = new i0.EventEmitter();
35
- }
36
- CentralizedContainerComponent.prototype.searchTermChanged = function () {
37
- this.searchChanged.emit(this.searchTerm);
38
- };
39
- return CentralizedContainerComponent;
40
- }());
41
- CentralizedContainerComponent.ɵfac = function CentralizedContainerComponent_Factory(t) { return new (t || CentralizedContainerComponent)(); };
42
- CentralizedContainerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CentralizedContainerComponent, selectors: [["centralized-container"]], viewQuery: function CentralizedContainerComponent_Query(rf, ctx) {
43
- if (rf & 1) {
44
- i0.ɵɵstaticViewQuery(i2.NgScrollbar, true);
45
- }
46
- if (rf & 2) {
47
- var _t;
48
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollbarRef = _t.first);
49
- }
50
- }, inputs: { hasSearch: "hasSearch", ignoreZoom: "ignoreZoom" }, outputs: { searchChanged: "searchChanged" }, ngContentSelectors: _c1, 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 CentralizedContainerComponent_Template(rf, ctx) {
51
- if (rf & 1) {
52
- i0.ɵɵprojectionDef();
53
- i0.ɵɵelementStart(0, "div", 0);
54
- i0.ɵɵelementStart(1, "ng-scrollbar", 1);
55
- i0.ɵɵelementStart(2, "div", 2);
56
- i0.ɵɵtemplate(3, CentralizedContainerComponent_div_3_Template, 5, 1, "div", 3);
57
- i0.ɵɵprojection(4);
58
- i0.ɵɵelementEnd();
59
- i0.ɵɵelementEnd();
60
- i0.ɵɵelementEnd();
61
- }
62
- if (rf & 2) {
63
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0, !ctx.ignoreZoom));
64
- i0.ɵɵadvance(1);
65
- i0.ɵɵproperty("visibility", "hover");
66
- i0.ɵɵadvance(2);
67
- i0.ɵɵproperty("ngIf", ctx.hasSearch);
68
- }
69
- }, directives: [i1.NgClass, i2.NgScrollbar, i1.NgIf, i3.MatFormField, i4.MatInput, i5.DefaultValueAccessor, i5.NgControlStatus, i5.NgModel, i6.MatIcon, i3.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)}"] });
70
- /*@__PURE__*/ (function () {
71
- i0.ɵsetClassMetadata(CentralizedContainerComponent, [{
72
- type: i0.Component,
73
- args: [{
74
- selector: 'centralized-container',
75
- templateUrl: 'centralized-container.component.html',
76
- styleUrls: ['centralized-container.component.scss']
77
- }]
78
- }], null, { hasSearch: [{
79
- type: i0.Input
80
- }], ignoreZoom: [{
81
- type: i0.Input
82
- }], searchChanged: [{
83
- type: i0.Output
84
- }], scrollbarRef: [{
85
- type: i0.ViewChild,
86
- args: [i2.NgScrollbar, { static: true }]
87
- }] });
88
- })();
89
-
90
- function ConfigurationPageComponent_div_3_mat_label_2_Template(rf, ctx) {
91
- if (rf & 1) {
92
- i0.ɵɵelementStart(0, "mat-label");
93
- i0.ɵɵtext(1);
94
- i0.ɵɵelementEnd();
95
- }
96
- if (rf & 2) {
97
- var ctx_r1 = i0.ɵɵnextContext(2);
98
- i0.ɵɵadvance(1);
99
- i0.ɵɵtextInterpolate(ctx_r1.searchLabel);
100
- }
101
- }
102
- var _c0$1 = function (a0) { return { "label-input": a0 }; };
103
- function ConfigurationPageComponent_div_3_Template(rf, ctx) {
104
- if (rf & 1) {
105
- var _r3_1 = i0.ɵɵgetCurrentView();
106
- i0.ɵɵelementStart(0, "div", 5);
107
- i0.ɵɵelementStart(1, "mat-form-field", 6);
108
- i0.ɵɵtemplate(2, ConfigurationPageComponent_div_3_mat_label_2_Template, 2, 1, "mat-label", 7);
109
- i0.ɵɵelementStart(3, "input", 8);
110
- i0.ɵɵlistener("ngModelChange", function ConfigurationPageComponent_div_3_Template_input_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r3_1); var ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.searchTerm = $event; })("ngModelChange", function ConfigurationPageComponent_div_3_Template_input_ngModelChange_3_listener() { i0.ɵɵrestoreView(_r3_1); var ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.searchTermChanged(); });
111
- i0.ɵɵelementEnd();
112
- i0.ɵɵelementStart(4, "mat-icon", 9);
113
- i0.ɵɵlistener("click", function ConfigurationPageComponent_div_3_Template_mat_icon_click_4_listener() { i0.ɵɵrestoreView(_r3_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.searchIconClick(); });
114
- i0.ɵɵtext(5, "search");
115
- i0.ɵɵelementEnd();
116
- i0.ɵɵelementEnd();
117
- i0.ɵɵelementEnd();
118
- }
119
- if (rf & 2) {
120
- var ctx_r0 = i0.ɵɵnextContext();
121
- i0.ɵɵadvance(1);
122
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$1, ctx_r0.searchLabel));
123
- i0.ɵɵadvance(1);
124
- i0.ɵɵproperty("ngIf", ctx_r0.searchLabel);
125
- i0.ɵɵadvance(1);
126
- i0.ɵɵproperty("ngModel", ctx_r0.searchTerm);
127
- }
128
- }
129
- var _c1$1 = function (a0) { return { "footer-paginator": a0 }; };
130
- var _c2 = function (a0) { return { "vertical-separate": a0 }; };
131
- var _c3 = ["*"];
132
- var ConfigurationPageComponent = /** @class */ (function () {
133
- function ConfigurationPageComponent() {
134
- var _this = this;
135
- this.searchTerm = '';
136
- this.verticalSeparate = false;
137
- this.footerPaginator = false;
138
- this.hasSearch = true;
139
- this.searchDebounceTime = 1000;
140
- this.searchLabel = '';
141
- this.txtQueryChanged = new rxjs.Subject();
142
- this.searchChanged = new i0.EventEmitter();
143
- this.searchClick = new i0.EventEmitter();
144
- this.txtQueryChanged.pipe(operators.debounceTime(this.searchDebounceTime), operators.distinctUntilChanged()).subscribe(function (model) { return _this.searchChanged.next(model); });
145
- }
146
- ConfigurationPageComponent.prototype.searchTermChanged = function () {
147
- this.txtQueryChanged.next(this.searchTerm);
148
- };
149
- ConfigurationPageComponent.prototype.searchIconClick = function () {
150
- this.searchClick.next(this.searchTerm);
151
- };
152
- return ConfigurationPageComponent;
153
- }());
154
- ConfigurationPageComponent.ɵfac = function ConfigurationPageComponent_Factory(t) { return new (t || ConfigurationPageComponent)(); };
155
- ConfigurationPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ConfigurationPageComponent, selectors: [["configuration-page-container"]], viewQuery: function ConfigurationPageComponent_Query(rf, ctx) {
156
- if (rf & 1) {
157
- i0.ɵɵstaticViewQuery(i2.NgScrollbar, true);
158
- }
159
- if (rf & 2) {
160
- var _t;
161
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollbarRef = _t.first);
162
- }
163
- }, inputs: { verticalSeparate: "verticalSeparate", footerPaginator: "footerPaginator", hasSearch: "hasSearch", searchDebounceTime: "searchDebounceTime", searchLabel: "searchLabel" }, outputs: { searchChanged: "searchChanged", searchClick: "searchClick" }, ngContentSelectors: _c3, 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 ConfigurationPageComponent_Template(rf, ctx) {
164
- if (rf & 1) {
165
- i0.ɵɵprojectionDef();
166
- i0.ɵɵelementStart(0, "div", 0);
167
- i0.ɵɵelementStart(1, "ng-scrollbar", 1);
168
- i0.ɵɵelementStart(2, "div", 2);
169
- i0.ɵɵtemplate(3, ConfigurationPageComponent_div_3_Template, 6, 5, "div", 3);
170
- i0.ɵɵelementStart(4, "div", 4);
171
- i0.ɵɵprojection(5);
172
- i0.ɵɵelementEnd();
173
- i0.ɵɵelementEnd();
174
- i0.ɵɵelementEnd();
175
- i0.ɵɵelementEnd();
176
- }
177
- if (rf & 2) {
178
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$1, ctx.footerPaginator));
179
- i0.ɵɵadvance(1);
180
- i0.ɵɵproperty("visibility", "hover");
181
- i0.ɵɵadvance(2);
182
- i0.ɵɵproperty("ngIf", ctx.hasSearch);
183
- i0.ɵɵadvance(1);
184
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx.verticalSeparate));
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: [".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
- /*@__PURE__*/ (function () {
188
- i0.ɵsetClassMetadata(ConfigurationPageComponent, [{
189
- type: i0.Component,
190
- args: [{
191
- selector: 'configuration-page-container',
192
- templateUrl: 'configuration-page.component.html',
193
- styleUrls: ['configuration-page.component.scss']
194
- }]
195
- }], function () { return []; }, { verticalSeparate: [{
196
- type: i0.Input
197
- }], footerPaginator: [{
198
- type: i0.Input
199
- }], hasSearch: [{
200
- type: i0.Input
201
- }], searchDebounceTime: [{
202
- type: i0.Input
203
- }], searchLabel: [{
204
- type: i0.Input
205
- }], searchChanged: [{
206
- type: i0.Output
207
- }], searchClick: [{
208
- type: i0.Output
209
- }], scrollbarRef: [{
210
- type: i0.ViewChild,
211
- args: [i2.NgScrollbar, { static: true }]
212
- }] });
213
- })();
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
-
290
- var ContainersModule = /** @class */ (function () {
291
- function ContainersModule() {
292
- }
293
- return ContainersModule;
294
- }());
295
- ContainersModule.ɵmod = i0.ɵɵdefineNgModule({ type: ContainersModule });
296
- ContainersModule.ɵinj = i0.ɵɵdefineInjector({ factory: function ContainersModule_Factory(t) { return new (t || ContainersModule)(); }, providers: [], imports: [[
297
- i1.CommonModule,
298
- router.RouterModule,
299
- i5.FormsModule,
300
- i5.ReactiveFormsModule,
301
- icons.IconsModule,
302
- buttons.ButtonsModule,
303
- i2.NgScrollbarModule,
304
- i3.MatFormFieldModule,
305
- i6.MatIconModule,
306
- i4.MatInputModule,
307
- i2$1.MatToolbarModule
308
- ]] });
309
- (function () {
310
- (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ContainersModule, { declarations: [CentralizedContainerComponent,
311
- ConfigurationPageComponent,
312
- BreadcrumbComponent], imports: [i1.CommonModule,
313
- router.RouterModule,
314
- i5.FormsModule,
315
- i5.ReactiveFormsModule,
316
- icons.IconsModule,
317
- buttons.ButtonsModule,
318
- i2.NgScrollbarModule,
319
- i3.MatFormFieldModule,
320
- i6.MatIconModule,
321
- i4.MatInputModule,
322
- i2$1.MatToolbarModule], exports: [CentralizedContainerComponent,
323
- ConfigurationPageComponent,
324
- BreadcrumbComponent] });
325
- })();
326
- /*@__PURE__*/ (function () {
327
- i0.ɵsetClassMetadata(ContainersModule, [{
328
- type: i0.NgModule,
329
- args: [{
330
- imports: [
331
- i1.CommonModule,
332
- router.RouterModule,
333
- i5.FormsModule,
334
- i5.ReactiveFormsModule,
335
- icons.IconsModule,
336
- buttons.ButtonsModule,
337
- i2.NgScrollbarModule,
338
- i3.MatFormFieldModule,
339
- i6.MatIconModule,
340
- i4.MatInputModule,
341
- i2$1.MatToolbarModule
342
- ],
343
- declarations: [
344
- CentralizedContainerComponent,
345
- ConfigurationPageComponent,
346
- BreadcrumbComponent
347
- ],
348
- exports: [
349
- CentralizedContainerComponent,
350
- ConfigurationPageComponent,
351
- BreadcrumbComponent
352
- ],
353
- providers: []
354
- }]
355
- }], null, null);
356
- })();
357
-
358
- /**
359
- * Generated bundle index. Do not edit.
360
- */
361
-
362
- Object.keys(i2).forEach(function (k) {
363
- if (k !== 'default') Object.defineProperty(exports, k, {
364
- enumerable: true,
365
- get: function () {
366
- return i2[k];
367
- }
368
- });
369
- });
370
- exports.BreadcrumbComponent = BreadcrumbComponent;
371
- exports.CentralizedContainerComponent = CentralizedContainerComponent;
372
- exports.ConfigurationPageComponent = ConfigurationPageComponent;
373
- exports.ContainersModule = ContainersModule;
374
-
375
- Object.defineProperty(exports, '__esModule', { value: true });
376
-
377
- })));
378
- //# sourceMappingURL=apipass-containers.umd.js.map
@@ -1 +0,0 @@
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;YAC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ACI,SAAS;0BAAlBC,SAAM;;;;;QC4BT;;;;wDAAa,gBAAgB;mHAAhB,gBAAgB,mBAFhB,EAAE,YAvBJ;gBACPO,eAAY;gBACZC,mBAAY;gBACZC,cAAW;gBACXC,sBAAmB;gBACnBC,iBAAW;gBACXC,qBAAa;gBACbC,oBAAiB;gBACjBC,qBAAkB;gBAClBC,gBAAa;gBACbC,iBAAc;gBACdC,qBAAgB;aACjB;;iFAaU,gBAAgB,mBAXzB,6BAA6B;gBAC7B,0BAA0B;gBAC1B,mBAAmB,aAfnBV,eAAY;gBACZC,mBAAY;gBACZC,cAAW;gBACXC,sBAAmB;gBACnBC,iBAAW;gBACXC,qBAAa;gBACbC,oBAAiB;gBACjBC,qBAAkB;gBAClBC,gBAAa;gBACbC,iBAAc;gBACdC,qBAAgB,aAQhB,6BAA6B;gBAC7B,0BAA0B;gBAC1B,mBAAmB;;;6BAIV,gBAAgB;sBA1B5BC,WAAQ;uBAAC;wBACR,OAAO,EAAE;4BACPX,eAAY;4BACZC,mBAAY;4BACZC,cAAW;4BACXC,sBAAmB;4BACnBC,iBAAW;4BACXC,qBAAa;4BACbC,oBAAiB;4BACjBC,qBAAkB;4BAClBC,gBAAa;4BACbC,iBAAc;4BACdC,qBAAgB;yBACjB;wBACD,YAAY,EAAE;4BACZ,6BAA6B;4BAC7B,0BAA0B;4BAC1B,mBAAmB;yBACpB;wBACD,OAAO,EAAE;4BACP,6BAA6B;4BAC7B,0BAA0B;4BAC1B,mBAAmB;yBACpB;wBACD,SAAS,EAAE,EAAE;qBACd;;;;ICvCD;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,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
- //# sourceMappingURL=apipass-containers.umd.min.js.map
@@ -1 +0,0 @@
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","MatFormField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AA,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"]}
@@ -1,68 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/material/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jb250YWluZXJzL3NyYy9icmVhZGNydW1iL2JyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvY29udGFpbmVycy9zcmMvYnJlYWRjcnVtYi9icmVhZGNydW1iLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7SUNDakUsNEJ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