@rxap/components 15.0.0 → 16.0.0-dev.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.
Files changed (44) hide show
  1. package/esm2022/lib/confirm/confirm.component.mjs +25 -0
  2. package/esm2022/lib/confirm/confirm.component.module.mjs +34 -0
  3. package/esm2022/lib/confirm/confirm.directive.mjs +100 -0
  4. package/esm2022/lib/copy-to-clipboard/copy-to-clipboard.component.mjs +31 -0
  5. package/esm2022/lib/copy-to-clipboard/copy-to-clipboard.component.module.mjs +45 -0
  6. package/esm2022/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.mjs +31 -0
  7. package/esm2022/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.mjs +33 -0
  8. package/esm2022/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +24 -0
  9. package/esm2022/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.mjs +33 -0
  10. package/esm2022/lib/empty-router-outlet/empty-router-outlet.component.mjs +13 -0
  11. package/esm2022/lib/empty-router-outlet/empty-router-outlet.component.module.mjs +21 -0
  12. package/esm2022/lib/json-viewer/json-viewer.component.mjs +173 -0
  13. package/esm2022/lib/json-viewer/json-viewer.component.module.mjs +21 -0
  14. package/esm2022/lib/navigate-back-button/navigate-back-button.component.mjs +18 -0
  15. package/esm2022/lib/navigate-back-button/navigate-back-button.component.module.mjs +29 -0
  16. package/fesm2022/rxap-components.mjs +579 -0
  17. package/fesm2022/rxap-components.mjs.map +1 -0
  18. package/lib/confirm/confirm.directive.d.ts +1 -1
  19. package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +1 -1
  20. package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +1 -1
  21. package/lib/json-viewer/json-viewer.component.d.ts +1 -1
  22. package/package.json +18 -24
  23. package/esm2020/lib/confirm/confirm.component.mjs +0 -24
  24. package/esm2020/lib/confirm/confirm.component.module.mjs +0 -33
  25. package/esm2020/lib/confirm/confirm.directive.mjs +0 -99
  26. package/esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.mjs +0 -30
  27. package/esm2020/lib/copy-to-clipboard/copy-to-clipboard.component.module.mjs +0 -44
  28. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.mjs +0 -30
  29. package/esm2020/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.module.mjs +0 -32
  30. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +0 -23
  31. package/esm2020/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.module.mjs +0 -32
  32. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.mjs +0 -12
  33. package/esm2020/lib/empty-router-outlet/empty-router-outlet.component.module.mjs +0 -20
  34. package/esm2020/lib/json-viewer/json-viewer.component.mjs +0 -172
  35. package/esm2020/lib/json-viewer/json-viewer.component.module.mjs +0 -20
  36. package/esm2020/lib/navigate-back-button/navigate-back-button.component.mjs +0 -17
  37. package/esm2020/lib/navigate-back-button/navigate-back-button.component.module.mjs +0 -28
  38. package/fesm2015/rxap-components.mjs +0 -590
  39. package/fesm2015/rxap-components.mjs.map +0 -1
  40. package/fesm2020/rxap-components.mjs +0 -580
  41. package/fesm2020/rxap-components.mjs.map +0 -1
  42. /package/{esm2020 → esm2022}/index.mjs +0 -0
  43. /package/{esm2020 → esm2022}/lib/json-viewer/json-viewer.tokens.mjs +0 -0
  44. /package/{esm2020 → esm2022}/rxap-components.mjs +0 -0
@@ -1,590 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Output, ElementRef, Directive, Inject, Input, HostListener, NgModule, InjectionToken, ChangeDetectorRef } from '@angular/core';
3
- import * as i1 from '@angular/flex-layout';
4
- import { FlexModule, FlexLayoutModule } from '@angular/flex-layout';
5
- import * as i2 from '@angular/material/legacy-button';
6
- import { MatLegacyButtonModule } from '@angular/material/legacy-button';
7
- import * as i3 from '@angular/material/icon';
8
- import { MatIconModule } from '@angular/material/icon';
9
- import * as i1$1 from '@angular/cdk/overlay';
10
- import { Overlay, OverlayModule } from '@angular/cdk/overlay';
11
- import { ComponentPortal } from '@angular/cdk/portal';
12
- import { take, tap } from 'rxjs/operators';
13
- import { Subscription, Observable } from 'rxjs';
14
- import * as i1$2 from '@angular/router';
15
- import { RouterModule } from '@angular/router';
16
- import { isPromiseLike, clone, Required } from '@rxap/utilities';
17
- import { ErrorStateMatcher } from '@angular/material/core';
18
- import { SubscriptionHandler, isTeardownLogic } from '@rxap/utilities/rxjs';
19
- import * as i1$3 from '@angular/common';
20
- import { CommonModule } from '@angular/common';
21
- import { __decorate, __metadata } from 'tslib';
22
- import * as i4 from '@angular/material/legacy-snack-bar';
23
- import { MatLegacySnackBar, MatLegacySnackBarModule } from '@angular/material/legacy-snack-bar';
24
- import * as i3$1 from '@angular/cdk/clipboard';
25
- import { ClipboardModule } from '@angular/cdk/clipboard';
26
- import * as i5 from '@rxap/services';
27
- import { ThemeService } from '@rxap/services';
28
- import * as i4$1 from '@rxap/directives';
29
- import { StopPropagationDirectiveModule } from '@rxap/directives';
30
-
31
- class ConfirmComponent {
32
- constructor() {
33
- this.confirmed = new EventEmitter();
34
- this.unconfirmed = new EventEmitter();
35
- }
36
- }
37
- ConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- ConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ConfirmComponent, selector: "rxap-confirm", outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { classAttribute: "rxap-confirm" }, ngImport: i0, template: "<div class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button type=\"button\" (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button>\n <mat-icon>done</mat-icon>\n </button>\n <button type=\"button\" (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button>\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n", styles: [".container{border-radius:8px;padding:4px;background-color:#fff}.container .accept{color:#73be69}.container .decline{color:#cc4933}\n"], dependencies: [{ kind: "directive", type: i1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponent, decorators: [{
40
- type: Component,
41
- args: [{ selector: 'rxap-confirm', host: {
42
- class: 'rxap-confirm'
43
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"container mat-elevation-z2\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button type=\"button\" (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button>\n <mat-icon>done</mat-icon>\n </button>\n <button type=\"button\" (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button>\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n", styles: [".container{border-radius:8px;padding:4px;background-color:#fff}.container .accept{color:#73be69}.container .decline{color:#cc4933}\n"] }]
44
- }], propDecorators: { confirmed: [{
45
- type: Output
46
- }], unconfirmed: [{
47
- type: Output
48
- }] } });
49
-
50
- class ConfirmDirective {
51
- constructor(overlay, elementRef) {
52
- this.overlay = overlay;
53
- this.elementRef = elementRef;
54
- this.confirmed = new EventEmitter();
55
- this.unconfirmed = new EventEmitter();
56
- this.subscription = null;
57
- this.isOverlyOpen = false;
58
- this.positionStrategy = this.overlay
59
- .position()
60
- .flexibleConnectedTo(this.elementRef.nativeElement)
61
- .withPositions([
62
- {
63
- originX: 'start',
64
- originY: 'bottom',
65
- overlayX: 'start',
66
- overlayY: 'top',
67
- },
68
- ])
69
- .withDefaultOffsetY(10);
70
- }
71
- // use a set input to allow auto import detection if the eventValue
72
- // is not set
73
- set eventValue(value) {
74
- if (value !== '') {
75
- this._eventValue = value;
76
- }
77
- }
78
- onClick($event) {
79
- this.openConfirmOverly();
80
- }
81
- ngOnDestroy() {
82
- var _a, _b;
83
- (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
84
- (_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
85
- }
86
- openConfirmOverly() {
87
- var _a;
88
- if (this.isOverlyOpen) {
89
- return;
90
- }
91
- this.isOverlyOpen = true;
92
- this.overlayRef = this.overlay.create({
93
- scrollStrategy: this.overlay.scrollStrategies.close(),
94
- positionStrategy: this.positionStrategy,
95
- });
96
- const componentPortal = new ComponentPortal(ConfirmComponent);
97
- const componentRef = this.overlayRef.attach(componentPortal);
98
- (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
99
- this.subscription = new Subscription();
100
- this.subscription.add(componentRef.instance.confirmed
101
- .pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => { var _a; return (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.dispose(); }), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
102
- .subscribe());
103
- this.subscription.add(componentRef.instance.unconfirmed
104
- .pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => { var _a; return (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.dispose(); }), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
105
- .subscribe());
106
- this.subscription.add(this.overlayRef
107
- .detachments()
108
- .pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => { var _a; return (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe(); }))
109
- .subscribe());
110
- }
111
- onConfirmed(eventValue) {
112
- this.confirmed.emit(eventValue);
113
- }
114
- onUnconfirmed(eventValue) {
115
- this.unconfirmed.emit(eventValue);
116
- }
117
- }
118
- ConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmDirective, deps: [{ token: Overlay }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
119
- ConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ConfirmDirective, selector: "[rxapConfirm]", inputs: { eventValue: ["rxapConfirm", "eventValue"] }, outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmDirective, decorators: [{
121
- type: Directive,
122
- args: [{
123
- selector: '[rxapConfirm]',
124
- }]
125
- }], ctorParameters: function () {
126
- return [{ type: i1$1.Overlay, decorators: [{
127
- type: Inject,
128
- args: [Overlay]
129
- }] }, { type: i0.ElementRef, decorators: [{
130
- type: Inject,
131
- args: [ElementRef]
132
- }] }];
133
- }, propDecorators: { eventValue: [{
134
- type: Input,
135
- args: ['rxapConfirm']
136
- }], confirmed: [{
137
- type: Output
138
- }], unconfirmed: [{
139
- type: Output
140
- }], onClick: [{
141
- type: HostListener,
142
- args: ['click', ['$event']]
143
- }] } });
144
-
145
- class ConfirmComponentModule {
146
- }
147
- ConfirmComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
148
- ConfirmComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, declarations: [ConfirmComponent, ConfirmDirective], imports: [FlexModule,
149
- MatLegacyButtonModule,
150
- MatIconModule,
151
- OverlayModule], exports: [ConfirmComponent, ConfirmDirective] });
152
- ConfirmComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, imports: [FlexModule,
153
- MatLegacyButtonModule,
154
- MatIconModule,
155
- OverlayModule] });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, decorators: [{
157
- type: NgModule,
158
- args: [{
159
- declarations: [ConfirmComponent, ConfirmDirective],
160
- imports: [
161
- FlexModule,
162
- MatLegacyButtonModule,
163
- MatIconModule,
164
- OverlayModule
165
- ],
166
- exports: [ConfirmComponent, ConfirmDirective]
167
- }]
168
- }] });
169
-
170
- class EmptyRouterOutletComponent {
171
- }
172
- EmptyRouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
173
- EmptyRouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: EmptyRouterOutletComponent, selector: "ng-component", ngImport: i0, template: "<router-outlet></router-outlet>\n", dependencies: [{ kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
175
- type: Component,
176
- args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<router-outlet></router-outlet>\n" }]
177
- }] });
178
-
179
- class EmptyRouterOutletModule {
180
- }
181
- EmptyRouterOutletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
182
- EmptyRouterOutletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, declarations: [EmptyRouterOutletComponent], imports: [RouterModule], exports: [EmptyRouterOutletComponent] });
183
- EmptyRouterOutletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, imports: [RouterModule] });
184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, decorators: [{
185
- type: NgModule,
186
- args: [{
187
- declarations: [EmptyRouterOutletComponent],
188
- imports: [
189
- RouterModule
190
- ],
191
- exports: [EmptyRouterOutletComponent]
192
- }]
193
- }] });
194
-
195
- const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {
196
- providedIn: 'root',
197
- factory: () => [
198
- '_subscriptions',
199
- 'subscriptions',
200
- 'injector',
201
- /\$$/
202
- ]
203
- });
204
- const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/ignored-types', {
205
- providedIn: 'root',
206
- factory: () => [
207
- Observable,
208
- Promise,
209
- Subscription,
210
- SubscriptionHandler,
211
- ErrorStateMatcher
212
- ]
213
- });
214
-
215
- class JsonViewerComponent {
216
- constructor(ignoredProperties, ignoredTypes, cdr) {
217
- this.cdr = cdr;
218
- this.ignoredProperties = [];
219
- this.ignoredTypes = [];
220
- this.subscriptions = new Subscription();
221
- this.segments = [];
222
- function flat(acc, cur) {
223
- if (Array.isArray(cur)) {
224
- acc.push(...cur.reduce(flat, []));
225
- }
226
- else {
227
- acc.push(cur);
228
- }
229
- return acc;
230
- }
231
- this.ignoredProperties = ignoredProperties.reduce(flat, []);
232
- this.ignoredTypes = ignoredTypes.reduce(flat, []);
233
- }
234
- ngOnInit() {
235
- this.setInspectValue(this.json);
236
- }
237
- ngOnChanges(changes) {
238
- const jsonChange = changes['json'];
239
- if (jsonChange) {
240
- this.setInspectValue(jsonChange.currentValue);
241
- }
242
- }
243
- cleanObject(obj, stack = []) {
244
- if (stack.some(item => item === obj)) {
245
- return '__circular__';
246
- }
247
- stack = stack.slice();
248
- stack.unshift(obj);
249
- return Object
250
- .entries(obj)
251
- .filter(([key, value]) => !isPromiseLike(value))
252
- .filter(([key, value]) => !isTeardownLogic(value))
253
- .filter(([key, value]) => this.ignoredProperties.every(ip => typeof ip === 'string' ? key !== ip : !key.match(ip)))
254
- .filter(([key, value]) => [...this.ignoredTypes].every(type => !(value instanceof type)))
255
- .map(([key, value]) => {
256
- if (value && typeof value === 'object') {
257
- if (Array.isArray(value)) {
258
- return [key, value.map(item => this.cleanObject(item, stack))];
259
- }
260
- if (typeof value === 'object') {
261
- return [key, this.cleanObject(value, stack)];
262
- }
263
- }
264
- return [key, value];
265
- })
266
- .sort((a, b) => a[0].localeCompare(b[0]))
267
- .reduce((controlView, [key, value]) => (Object.assign(Object.assign({}, controlView), { [key]: value })), {});
268
- }
269
- setInspectValue(json) {
270
- if (typeof json !== 'object' || json === null || json === undefined) {
271
- console.warn('The inspection value is not an object!');
272
- }
273
- else {
274
- json = clone(json);
275
- let inspectValue;
276
- if (typeof json['toJSON'] === 'function') {
277
- inspectValue = json.toJSON();
278
- }
279
- else {
280
- inspectValue = this.cleanObject(json);
281
- }
282
- this.inspectValue = inspectValue;
283
- this.buildSegments(this.inspectValue);
284
- this.cdr.markForCheck();
285
- }
286
- }
287
- buildSegments(inspectValue) {
288
- this.segments = [];
289
- if (typeof inspectValue === 'object') {
290
- Object.keys(inspectValue).forEach(key => {
291
- this.segments.push(this.parseKeyValue(key, inspectValue[key]));
292
- });
293
- }
294
- else {
295
- this.segments.push(this.parseKeyValue(`(${typeof inspectValue})`, inspectValue));
296
- }
297
- }
298
- isExpandable(segment) {
299
- return segment.type === 'object' || segment.type === 'array';
300
- }
301
- toggle(segment) {
302
- if (this.isExpandable(segment)) {
303
- segment.expanded = !segment.expanded;
304
- }
305
- }
306
- parseKeyValue(key, value) {
307
- const segment = {
308
- key: key,
309
- value: value,
310
- type: undefined,
311
- description: '' + value,
312
- expanded: this.expanded
313
- };
314
- switch (typeof segment.value) {
315
- case 'number': {
316
- segment.type = 'number';
317
- break;
318
- }
319
- case 'boolean': {
320
- segment.type = 'boolean';
321
- break;
322
- }
323
- case 'function': {
324
- segment.type = 'function';
325
- break;
326
- }
327
- case 'string': {
328
- segment.type = 'string';
329
- segment.description = '"' + segment.value + '"';
330
- break;
331
- }
332
- case 'undefined': {
333
- segment.type = 'undefined';
334
- segment.description = 'undefined';
335
- break;
336
- }
337
- case 'object': {
338
- // yea, null is object
339
- if (segment.value === null) {
340
- segment.type = 'null';
341
- segment.description = 'null';
342
- }
343
- else if (Array.isArray(segment.value)) {
344
- segment.type = 'array';
345
- segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);
346
- }
347
- else if (segment.value instanceof Date) {
348
- segment.type = 'date';
349
- }
350
- else {
351
- segment.type = 'object';
352
- segment.description = 'Object ' + JSON.stringify(segment.value);
353
- }
354
- break;
355
- }
356
- }
357
- return segment;
358
- }
359
- }
360
- JsonViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerComponent, deps: [{ token: JSON_VIEW_IGNORED_PROPERTIES }, { token: JSON_VIEW_IGNORED_TYPES }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
361
- JsonViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: { json: "json", expanded: "expanded" }, host: { classAttribute: "rxap-json-viewer" }, usesOnChanges: true, ngImport: i0, template: "<section class=\"container\">\n <section\n *ngFor=\"let segment of segments\"\n [ngClass]=\"['segment', 'segment-type-' + segment.type]\">\n <section\n (click)=\"toggle(segment)\"\n [ngClass]=\"{\n 'segment-main': true,\n 'expandable': isExpandable(segment),\n 'expanded': segment.expanded\n }\">\n <div *ngIf=\"isExpandable(segment)\" class=\"toggler\"></div>\n <span class=\"segment-key\">{{ segment.key }}</span>\n <span class=\"segment-separator\">: </span>\n <span *ngIf=\"!segment.expanded || !isExpandable(segment)\" class=\"segment-value\">{{ segment.description }}</span>\n </section>\n <section *ngIf=\"segment.expanded && isExpandable(segment)\" class=\"children\">\n <rxap-json-viewer [expanded]=\"expanded\" [json]=\"segment.value\"></rxap-json-viewer>\n </section>\n </section>\n</section>\n", styles: ["@charset \"UTF-8\";.container{width:100%;height:100%;overflow:hidden;position:relative}.container .segment{padding:2px;margin:1px 1px 1px 12px}.container .segment .segment-main{word-wrap:break-word}.container .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;vertical-align:middle}.container .segment .segment-main .toggler:after{display:inline-block;content:\"\\25ba\";transition:transform .1s ease-in}.container .segment .children{margin-left:12px}.container .segment-type-object>.segment-main,.container .segment-type-array>.segment-main{white-space:nowrap}.container .expanded>.toggler:after{transform:rotate(90deg)}.container .expandable,.container .expandable>.toggler{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: JsonViewerComponent, selector: "rxap-json-viewer", inputs: ["json", "expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerComponent, decorators: [{
363
- type: Component,
364
- args: [{ selector: 'rxap-json-viewer', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-json-viewer' }, template: "<section class=\"container\">\n <section\n *ngFor=\"let segment of segments\"\n [ngClass]=\"['segment', 'segment-type-' + segment.type]\">\n <section\n (click)=\"toggle(segment)\"\n [ngClass]=\"{\n 'segment-main': true,\n 'expandable': isExpandable(segment),\n 'expanded': segment.expanded\n }\">\n <div *ngIf=\"isExpandable(segment)\" class=\"toggler\"></div>\n <span class=\"segment-key\">{{ segment.key }}</span>\n <span class=\"segment-separator\">: </span>\n <span *ngIf=\"!segment.expanded || !isExpandable(segment)\" class=\"segment-value\">{{ segment.description }}</span>\n </section>\n <section *ngIf=\"segment.expanded && isExpandable(segment)\" class=\"children\">\n <rxap-json-viewer [expanded]=\"expanded\" [json]=\"segment.value\"></rxap-json-viewer>\n </section>\n </section>\n</section>\n", styles: ["@charset \"UTF-8\";.container{width:100%;height:100%;overflow:hidden;position:relative}.container .segment{padding:2px;margin:1px 1px 1px 12px}.container .segment .segment-main{word-wrap:break-word}.container .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;vertical-align:middle}.container .segment .segment-main .toggler:after{display:inline-block;content:\"\\25ba\";transition:transform .1s ease-in}.container .segment .children{margin-left:12px}.container .segment-type-object>.segment-main,.container .segment-type-array>.segment-main{white-space:nowrap}.container .expanded>.toggler:after{transform:rotate(90deg)}.container .expandable,.container .expandable>.toggler{cursor:pointer}\n"] }]
365
- }], ctorParameters: function () {
366
- return [{ type: Array, decorators: [{
367
- type: Inject,
368
- args: [JSON_VIEW_IGNORED_PROPERTIES]
369
- }] }, { type: Array, decorators: [{
370
- type: Inject,
371
- args: [JSON_VIEW_IGNORED_TYPES]
372
- }] }, { type: i0.ChangeDetectorRef, decorators: [{
373
- type: Inject,
374
- args: [ChangeDetectorRef]
375
- }] }];
376
- }, propDecorators: { json: [{
377
- type: Input
378
- }], expanded: [{
379
- type: Input
380
- }] } });
381
-
382
- class JsonViewerModule {
383
- }
384
- JsonViewerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
385
- JsonViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, declarations: [JsonViewerComponent], imports: [CommonModule], exports: [JsonViewerComponent] });
386
- JsonViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, imports: [CommonModule] });
387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, decorators: [{
388
- type: NgModule,
389
- args: [{
390
- declarations: [JsonViewerComponent],
391
- imports: [
392
- CommonModule
393
- ],
394
- exports: [JsonViewerComponent]
395
- }]
396
- }] });
397
-
398
- class CopyToClipboardButtonComponent {
399
- constructor(snackbar) {
400
- this.snackbar = snackbar;
401
- this.value = '';
402
- }
403
- copied() {
404
- this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {
405
- duration: 2500,
406
- });
407
- }
408
- }
409
- CopyToClipboardButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatLegacySnackBar }], target: i0.ɵɵFactoryTarget.Component });
410
- CopyToClipboardButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: { value: "value" }, host: { classAttribute: "rxap-copy-to-clipboard-button" }, ngImport: i0, template: "<button\n [cdkCopyToClipboard]=\"value\"\n (click)=\"$event.stopPropagation()\"\n (cdkCopyToClipboardCopied)=\"copied()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i3$1.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
412
- type: Component,
413
- args: [{ selector: 'rxap-copy-to-clipboard-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-copy-to-clipboard-button' }, template: "<button\n [cdkCopyToClipboard]=\"value\"\n (click)=\"$event.stopPropagation()\"\n (cdkCopyToClipboardCopied)=\"copied()\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n" }]
414
- }], ctorParameters: function () {
415
- return [{ type: i4.MatLegacySnackBar, decorators: [{
416
- type: Inject,
417
- args: [MatLegacySnackBar]
418
- }] }];
419
- }, propDecorators: { value: [{
420
- type: Input
421
- }] } });
422
-
423
- class CopyToClipboardComponent {
424
- constructor() {
425
- this.active = true;
426
- this.disabled = false;
427
- }
428
- }
429
- CopyToClipboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
430
- CopyToClipboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: CopyToClipboardComponent, selector: "rxap-copy-to-clipboard", inputs: { active: "active", disabled: "disabled", value: "value" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\".2rem\">\n <rxap-copy-to-clipboard-button fxFlex=\"40px\" *ngIf=\"active\" [value]=\"value\"></rxap-copy-to-clipboard-button>\n <span #ref fxFlex=\"nogrow\" class=\"content\"><ng-content></ng-content></span>\n <span *ngIf=\"!ref.innerHTML.trim()\" fxFlex=\"nogrow\" class=\"content\">{{ value }}</span>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: ["value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
431
- __decorate([
432
- Required,
433
- __metadata("design:type", String)
434
- ], CopyToClipboardComponent.prototype, "value", void 0);
435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
436
- type: Component,
437
- args: [{ selector: 'rxap-copy-to-clipboard', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\".2rem\">\n <rxap-copy-to-clipboard-button fxFlex=\"40px\" *ngIf=\"active\" [value]=\"value\"></rxap-copy-to-clipboard-button>\n <span #ref fxFlex=\"nogrow\" class=\"content\"><ng-content></ng-content></span>\n <span *ngIf=\"!ref.innerHTML.trim()\" fxFlex=\"nogrow\" class=\"content\">{{ value }}</span>\n</div>\n" }]
438
- }], propDecorators: { active: [{
439
- type: Input
440
- }], disabled: [{
441
- type: Input
442
- }], value: [{
443
- type: Input
444
- }] } });
445
-
446
- class CopyToClipboardButtonComponentModule {
447
- }
448
- CopyToClipboardButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
449
- CopyToClipboardButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, declarations: [CopyToClipboardButtonComponent], imports: [MatIconModule,
450
- MatLegacyButtonModule,
451
- ClipboardModule,
452
- MatLegacySnackBarModule], exports: [CopyToClipboardButtonComponent] });
453
- CopyToClipboardButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, imports: [MatIconModule,
454
- MatLegacyButtonModule,
455
- ClipboardModule,
456
- MatLegacySnackBarModule] });
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, decorators: [{
458
- type: NgModule,
459
- args: [{
460
- declarations: [CopyToClipboardButtonComponent],
461
- imports: [
462
- MatIconModule,
463
- MatLegacyButtonModule,
464
- ClipboardModule,
465
- MatLegacySnackBarModule
466
- ],
467
- exports: [CopyToClipboardButtonComponent]
468
- }]
469
- }] });
470
-
471
- class CopyToClipboardModule {
472
- }
473
- CopyToClipboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
474
- CopyToClipboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, declarations: [CopyToClipboardComponent], imports: [FlexLayoutModule,
475
- ClipboardModule,
476
- CommonModule,
477
- MatIconModule,
478
- MatLegacyButtonModule,
479
- MatLegacySnackBarModule,
480
- CopyToClipboardButtonComponentModule], exports: [CopyToClipboardComponent] });
481
- CopyToClipboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, imports: [FlexLayoutModule,
482
- ClipboardModule,
483
- CommonModule,
484
- MatIconModule,
485
- MatLegacyButtonModule,
486
- MatLegacySnackBarModule,
487
- CopyToClipboardButtonComponentModule] });
488
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, decorators: [{
489
- type: NgModule,
490
- args: [{
491
- declarations: [CopyToClipboardComponent],
492
- imports: [
493
- FlexLayoutModule,
494
- ClipboardModule,
495
- CommonModule,
496
- MatIconModule,
497
- MatLegacyButtonModule,
498
- MatLegacySnackBarModule,
499
- CopyToClipboardButtonComponentModule,
500
- ],
501
- exports: [CopyToClipboardComponent]
502
- }]
503
- }] });
504
-
505
- class DarkModeToggleButtonComponent {
506
- constructor(theme) {
507
- this.theme = theme;
508
- }
509
- }
510
- DarkModeToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
511
- DarkModeToggleButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: DarkModeToggleButtonComponent, selector: "rxap-dark-mode-toggle-button", host: { classAttribute: "rxap-dark-mode-toggle-button" }, ngImport: i0, template: "<button rxapStopPropagation mat-icon-button (click)=\"theme.toggleDarkTheme()\">\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.StopPropagationDirective, selector: "[rxapStopPropagation]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
512
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponent, decorators: [{
513
- type: Component,
514
- args: [{ selector: 'rxap-dark-mode-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-dark-mode-toggle-button' }, template: "<button rxapStopPropagation mat-icon-button (click)=\"theme.toggleDarkTheme()\">\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n" }]
515
- }], ctorParameters: function () {
516
- return [{ type: i5.ThemeService, decorators: [{
517
- type: Inject,
518
- args: [ThemeService]
519
- }] }];
520
- } });
521
-
522
- class DarkModeToggleButtonComponentModule {
523
- }
524
- DarkModeToggleButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
525
- DarkModeToggleButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, declarations: [DarkModeToggleButtonComponent], imports: [MatLegacyButtonModule,
526
- MatIconModule,
527
- CommonModule,
528
- StopPropagationDirectiveModule], exports: [DarkModeToggleButtonComponent] });
529
- DarkModeToggleButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, imports: [MatLegacyButtonModule,
530
- MatIconModule,
531
- CommonModule,
532
- StopPropagationDirectiveModule] });
533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, decorators: [{
534
- type: NgModule,
535
- args: [{
536
- declarations: [DarkModeToggleButtonComponent],
537
- imports: [
538
- MatLegacyButtonModule,
539
- MatIconModule,
540
- CommonModule,
541
- StopPropagationDirectiveModule,
542
- ],
543
- exports: [DarkModeToggleButtonComponent]
544
- }]
545
- }] });
546
-
547
- class NavigateBackButtonComponent {
548
- navigateBack() {
549
- window.history.back();
550
- }
551
- }
552
- NavigateBackButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
553
- NavigateBackButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NavigateBackButtonComponent, selector: "rxap-navigate-back-button", host: { classAttribute: "rxap-navigate-back-button" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutGap=\"32px\" fxLayoutAlign=\"start center\">\n <div fxFlex=\"nogrow\">\n <button (click)=\"navigateBack()\" mat-stroked-button color=\"accent\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i2.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponent, decorators: [{
555
- type: Component,
556
- args: [{ selector: 'rxap-navigate-back-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigate-back-button' }, template: "<div fxLayout=\"row\" fxLayoutGap=\"32px\" fxLayoutAlign=\"start center\">\n <div fxFlex=\"nogrow\">\n <button (click)=\"navigateBack()\" mat-stroked-button color=\"accent\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </div>\n <ng-content></ng-content>\n</div>\n" }]
557
- }] });
558
-
559
- class NavigateBackButtonComponentModule {
560
- }
561
- NavigateBackButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
562
- NavigateBackButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, declarations: [NavigateBackButtonComponent], imports: [FlexLayoutModule,
563
- MatLegacyButtonModule,
564
- MatIconModule], exports: [NavigateBackButtonComponent] });
565
- NavigateBackButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, imports: [FlexLayoutModule,
566
- MatLegacyButtonModule,
567
- MatIconModule] });
568
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, decorators: [{
569
- type: NgModule,
570
- args: [{
571
- declarations: [NavigateBackButtonComponent],
572
- imports: [
573
- FlexLayoutModule,
574
- MatLegacyButtonModule,
575
- MatIconModule
576
- ],
577
- exports: [NavigateBackButtonComponent]
578
- }]
579
- }] });
580
-
581
- // region confirm
582
- // endregion
583
-
584
- /**
585
- * Generated bundle index. Do not edit.
586
- */
587
-
588
- export { ConfirmComponent, ConfirmComponentModule, ConfirmDirective, CopyToClipboardButtonComponent, CopyToClipboardButtonComponentModule, CopyToClipboardComponent, CopyToClipboardModule, DarkModeToggleButtonComponent, DarkModeToggleButtonComponentModule, EmptyRouterOutletComponent, EmptyRouterOutletModule, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, JsonViewerModule, NavigateBackButtonComponent, NavigateBackButtonComponentModule };
589
- //# sourceMappingURL=rxap-components.mjs.map
590
- //# sourceMappingURL=rxap-components.mjs.map