@rxap/components 15.0.0 → 16.0.0-dev.1

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,580 +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
- this.subscription?.unsubscribe();
83
- this.overlayRef?.dispose();
84
- }
85
- openConfirmOverly() {
86
- if (this.isOverlyOpen) {
87
- return;
88
- }
89
- this.isOverlyOpen = true;
90
- this.overlayRef = this.overlay.create({
91
- scrollStrategy: this.overlay.scrollStrategies.close(),
92
- positionStrategy: this.positionStrategy,
93
- });
94
- const componentPortal = new ComponentPortal(ConfirmComponent);
95
- const componentRef = this.overlayRef.attach(componentPortal);
96
- this.subscription?.unsubscribe();
97
- this.subscription = new Subscription();
98
- this.subscription.add(componentRef.instance.confirmed
99
- .pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
100
- .subscribe());
101
- this.subscription.add(componentRef.instance.unconfirmed
102
- .pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
103
- .subscribe());
104
- this.subscription.add(this.overlayRef
105
- .detachments()
106
- .pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
107
- .subscribe());
108
- }
109
- onConfirmed(eventValue) {
110
- this.confirmed.emit(eventValue);
111
- }
112
- onUnconfirmed(eventValue) {
113
- this.unconfirmed.emit(eventValue);
114
- }
115
- }
116
- 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 });
117
- 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 });
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmDirective, decorators: [{
119
- type: Directive,
120
- args: [{
121
- selector: '[rxapConfirm]',
122
- }]
123
- }], ctorParameters: function () { return [{ type: i1$1.Overlay, decorators: [{
124
- type: Inject,
125
- args: [Overlay]
126
- }] }, { type: i0.ElementRef, decorators: [{
127
- type: Inject,
128
- args: [ElementRef]
129
- }] }]; }, propDecorators: { eventValue: [{
130
- type: Input,
131
- args: ['rxapConfirm']
132
- }], confirmed: [{
133
- type: Output
134
- }], unconfirmed: [{
135
- type: Output
136
- }], onClick: [{
137
- type: HostListener,
138
- args: ['click', ['$event']]
139
- }] } });
140
-
141
- class ConfirmComponentModule {
142
- }
143
- ConfirmComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
144
- ConfirmComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, declarations: [ConfirmComponent, ConfirmDirective], imports: [FlexModule,
145
- MatLegacyButtonModule,
146
- MatIconModule,
147
- OverlayModule], exports: [ConfirmComponent, ConfirmDirective] });
148
- ConfirmComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, imports: [FlexModule,
149
- MatLegacyButtonModule,
150
- MatIconModule,
151
- OverlayModule] });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmComponentModule, decorators: [{
153
- type: NgModule,
154
- args: [{
155
- declarations: [ConfirmComponent, ConfirmDirective],
156
- imports: [
157
- FlexModule,
158
- MatLegacyButtonModule,
159
- MatIconModule,
160
- OverlayModule
161
- ],
162
- exports: [ConfirmComponent, ConfirmDirective]
163
- }]
164
- }] });
165
-
166
- class EmptyRouterOutletComponent {
167
- }
168
- EmptyRouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
169
- 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 });
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
171
- type: Component,
172
- args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<router-outlet></router-outlet>\n" }]
173
- }] });
174
-
175
- class EmptyRouterOutletModule {
176
- }
177
- EmptyRouterOutletModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
178
- EmptyRouterOutletModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, declarations: [EmptyRouterOutletComponent], imports: [RouterModule], exports: [EmptyRouterOutletComponent] });
179
- EmptyRouterOutletModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, imports: [RouterModule] });
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EmptyRouterOutletModule, decorators: [{
181
- type: NgModule,
182
- args: [{
183
- declarations: [EmptyRouterOutletComponent],
184
- imports: [
185
- RouterModule
186
- ],
187
- exports: [EmptyRouterOutletComponent]
188
- }]
189
- }] });
190
-
191
- const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {
192
- providedIn: 'root',
193
- factory: () => [
194
- '_subscriptions',
195
- 'subscriptions',
196
- 'injector',
197
- /\$$/
198
- ]
199
- });
200
- const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/ignored-types', {
201
- providedIn: 'root',
202
- factory: () => [
203
- Observable,
204
- Promise,
205
- Subscription,
206
- SubscriptionHandler,
207
- ErrorStateMatcher
208
- ]
209
- });
210
-
211
- class JsonViewerComponent {
212
- constructor(ignoredProperties, ignoredTypes, cdr) {
213
- this.cdr = cdr;
214
- this.ignoredProperties = [];
215
- this.ignoredTypes = [];
216
- this.subscriptions = new Subscription();
217
- this.segments = [];
218
- function flat(acc, cur) {
219
- if (Array.isArray(cur)) {
220
- acc.push(...cur.reduce(flat, []));
221
- }
222
- else {
223
- acc.push(cur);
224
- }
225
- return acc;
226
- }
227
- this.ignoredProperties = ignoredProperties.reduce(flat, []);
228
- this.ignoredTypes = ignoredTypes.reduce(flat, []);
229
- }
230
- ngOnInit() {
231
- this.setInspectValue(this.json);
232
- }
233
- ngOnChanges(changes) {
234
- const jsonChange = changes['json'];
235
- if (jsonChange) {
236
- this.setInspectValue(jsonChange.currentValue);
237
- }
238
- }
239
- cleanObject(obj, stack = []) {
240
- if (stack.some(item => item === obj)) {
241
- return '__circular__';
242
- }
243
- stack = stack.slice();
244
- stack.unshift(obj);
245
- return Object
246
- .entries(obj)
247
- .filter(([key, value]) => !isPromiseLike(value))
248
- .filter(([key, value]) => !isTeardownLogic(value))
249
- .filter(([key, value]) => this.ignoredProperties.every(ip => typeof ip === 'string' ? key !== ip : !key.match(ip)))
250
- .filter(([key, value]) => [...this.ignoredTypes].every(type => !(value instanceof type)))
251
- .map(([key, value]) => {
252
- if (value && typeof value === 'object') {
253
- if (Array.isArray(value)) {
254
- return [key, value.map(item => this.cleanObject(item, stack))];
255
- }
256
- if (typeof value === 'object') {
257
- return [key, this.cleanObject(value, stack)];
258
- }
259
- }
260
- return [key, value];
261
- })
262
- .sort((a, b) => a[0].localeCompare(b[0]))
263
- .reduce((controlView, [key, value]) => ({ ...controlView, [key]: value }), {});
264
- }
265
- setInspectValue(json) {
266
- if (typeof json !== 'object' || json === null || json === undefined) {
267
- console.warn('The inspection value is not an object!');
268
- }
269
- else {
270
- json = clone(json);
271
- let inspectValue;
272
- if (typeof json['toJSON'] === 'function') {
273
- inspectValue = json.toJSON();
274
- }
275
- else {
276
- inspectValue = this.cleanObject(json);
277
- }
278
- this.inspectValue = inspectValue;
279
- this.buildSegments(this.inspectValue);
280
- this.cdr.markForCheck();
281
- }
282
- }
283
- buildSegments(inspectValue) {
284
- this.segments = [];
285
- if (typeof inspectValue === 'object') {
286
- Object.keys(inspectValue).forEach(key => {
287
- this.segments.push(this.parseKeyValue(key, inspectValue[key]));
288
- });
289
- }
290
- else {
291
- this.segments.push(this.parseKeyValue(`(${typeof inspectValue})`, inspectValue));
292
- }
293
- }
294
- isExpandable(segment) {
295
- return segment.type === 'object' || segment.type === 'array';
296
- }
297
- toggle(segment) {
298
- if (this.isExpandable(segment)) {
299
- segment.expanded = !segment.expanded;
300
- }
301
- }
302
- parseKeyValue(key, value) {
303
- const segment = {
304
- key: key,
305
- value: value,
306
- type: undefined,
307
- description: '' + value,
308
- expanded: this.expanded
309
- };
310
- switch (typeof segment.value) {
311
- case 'number': {
312
- segment.type = 'number';
313
- break;
314
- }
315
- case 'boolean': {
316
- segment.type = 'boolean';
317
- break;
318
- }
319
- case 'function': {
320
- segment.type = 'function';
321
- break;
322
- }
323
- case 'string': {
324
- segment.type = 'string';
325
- segment.description = '"' + segment.value + '"';
326
- break;
327
- }
328
- case 'undefined': {
329
- segment.type = 'undefined';
330
- segment.description = 'undefined';
331
- break;
332
- }
333
- case 'object': {
334
- // yea, null is object
335
- if (segment.value === null) {
336
- segment.type = 'null';
337
- segment.description = 'null';
338
- }
339
- else if (Array.isArray(segment.value)) {
340
- segment.type = 'array';
341
- segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);
342
- }
343
- else if (segment.value instanceof Date) {
344
- segment.type = 'date';
345
- }
346
- else {
347
- segment.type = 'object';
348
- segment.description = 'Object ' + JSON.stringify(segment.value);
349
- }
350
- break;
351
- }
352
- }
353
- return segment;
354
- }
355
- }
356
- 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 });
357
- 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 });
358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerComponent, decorators: [{
359
- type: Component,
360
- 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"] }]
361
- }], ctorParameters: function () { return [{ type: Array, decorators: [{
362
- type: Inject,
363
- args: [JSON_VIEW_IGNORED_PROPERTIES]
364
- }] }, { type: Array, decorators: [{
365
- type: Inject,
366
- args: [JSON_VIEW_IGNORED_TYPES]
367
- }] }, { type: i0.ChangeDetectorRef, decorators: [{
368
- type: Inject,
369
- args: [ChangeDetectorRef]
370
- }] }]; }, propDecorators: { json: [{
371
- type: Input
372
- }], expanded: [{
373
- type: Input
374
- }] } });
375
-
376
- class JsonViewerModule {
377
- }
378
- JsonViewerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
379
- JsonViewerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, declarations: [JsonViewerComponent], imports: [CommonModule], exports: [JsonViewerComponent] });
380
- JsonViewerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, imports: [CommonModule] });
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: JsonViewerModule, decorators: [{
382
- type: NgModule,
383
- args: [{
384
- declarations: [JsonViewerComponent],
385
- imports: [
386
- CommonModule
387
- ],
388
- exports: [JsonViewerComponent]
389
- }]
390
- }] });
391
-
392
- class CopyToClipboardButtonComponent {
393
- constructor(snackbar) {
394
- this.snackbar = snackbar;
395
- this.value = '';
396
- }
397
- copied() {
398
- this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {
399
- duration: 2500,
400
- });
401
- }
402
- }
403
- CopyToClipboardButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatLegacySnackBar }], target: i0.ɵɵFactoryTarget.Component });
404
- 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 });
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
406
- type: Component,
407
- 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" }]
408
- }], ctorParameters: function () { return [{ type: i4.MatLegacySnackBar, decorators: [{
409
- type: Inject,
410
- args: [MatLegacySnackBar]
411
- }] }]; }, propDecorators: { value: [{
412
- type: Input
413
- }] } });
414
-
415
- class CopyToClipboardComponent {
416
- constructor() {
417
- this.active = true;
418
- this.disabled = false;
419
- }
420
- }
421
- CopyToClipboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
422
- 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 });
423
- __decorate([
424
- Required,
425
- __metadata("design:type", String)
426
- ], CopyToClipboardComponent.prototype, "value", void 0);
427
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
428
- type: Component,
429
- 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" }]
430
- }], propDecorators: { active: [{
431
- type: Input
432
- }], disabled: [{
433
- type: Input
434
- }], value: [{
435
- type: Input
436
- }] } });
437
-
438
- class CopyToClipboardButtonComponentModule {
439
- }
440
- CopyToClipboardButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
441
- CopyToClipboardButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, declarations: [CopyToClipboardButtonComponent], imports: [MatIconModule,
442
- MatLegacyButtonModule,
443
- ClipboardModule,
444
- MatLegacySnackBarModule], exports: [CopyToClipboardButtonComponent] });
445
- CopyToClipboardButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, imports: [MatIconModule,
446
- MatLegacyButtonModule,
447
- ClipboardModule,
448
- MatLegacySnackBarModule] });
449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardButtonComponentModule, decorators: [{
450
- type: NgModule,
451
- args: [{
452
- declarations: [CopyToClipboardButtonComponent],
453
- imports: [
454
- MatIconModule,
455
- MatLegacyButtonModule,
456
- ClipboardModule,
457
- MatLegacySnackBarModule
458
- ],
459
- exports: [CopyToClipboardButtonComponent]
460
- }]
461
- }] });
462
-
463
- class CopyToClipboardModule {
464
- }
465
- CopyToClipboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
466
- CopyToClipboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, declarations: [CopyToClipboardComponent], imports: [FlexLayoutModule,
467
- ClipboardModule,
468
- CommonModule,
469
- MatIconModule,
470
- MatLegacyButtonModule,
471
- MatLegacySnackBarModule,
472
- CopyToClipboardButtonComponentModule], exports: [CopyToClipboardComponent] });
473
- CopyToClipboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, imports: [FlexLayoutModule,
474
- ClipboardModule,
475
- CommonModule,
476
- MatIconModule,
477
- MatLegacyButtonModule,
478
- MatLegacySnackBarModule,
479
- CopyToClipboardButtonComponentModule] });
480
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CopyToClipboardModule, decorators: [{
481
- type: NgModule,
482
- args: [{
483
- declarations: [CopyToClipboardComponent],
484
- imports: [
485
- FlexLayoutModule,
486
- ClipboardModule,
487
- CommonModule,
488
- MatIconModule,
489
- MatLegacyButtonModule,
490
- MatLegacySnackBarModule,
491
- CopyToClipboardButtonComponentModule,
492
- ],
493
- exports: [CopyToClipboardComponent]
494
- }]
495
- }] });
496
-
497
- class DarkModeToggleButtonComponent {
498
- constructor(theme) {
499
- this.theme = theme;
500
- }
501
- }
502
- DarkModeToggleButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component });
503
- 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 });
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponent, decorators: [{
505
- type: Component,
506
- 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" }]
507
- }], ctorParameters: function () { return [{ type: i5.ThemeService, decorators: [{
508
- type: Inject,
509
- args: [ThemeService]
510
- }] }]; } });
511
-
512
- class DarkModeToggleButtonComponentModule {
513
- }
514
- DarkModeToggleButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
515
- DarkModeToggleButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, declarations: [DarkModeToggleButtonComponent], imports: [MatLegacyButtonModule,
516
- MatIconModule,
517
- CommonModule,
518
- StopPropagationDirectiveModule], exports: [DarkModeToggleButtonComponent] });
519
- DarkModeToggleButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, imports: [MatLegacyButtonModule,
520
- MatIconModule,
521
- CommonModule,
522
- StopPropagationDirectiveModule] });
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DarkModeToggleButtonComponentModule, decorators: [{
524
- type: NgModule,
525
- args: [{
526
- declarations: [DarkModeToggleButtonComponent],
527
- imports: [
528
- MatLegacyButtonModule,
529
- MatIconModule,
530
- CommonModule,
531
- StopPropagationDirectiveModule,
532
- ],
533
- exports: [DarkModeToggleButtonComponent]
534
- }]
535
- }] });
536
-
537
- class NavigateBackButtonComponent {
538
- navigateBack() {
539
- window.history.back();
540
- }
541
- }
542
- NavigateBackButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
543
- 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 });
544
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponent, decorators: [{
545
- type: Component,
546
- 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" }]
547
- }] });
548
-
549
- class NavigateBackButtonComponentModule {
550
- }
551
- NavigateBackButtonComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
552
- NavigateBackButtonComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, declarations: [NavigateBackButtonComponent], imports: [FlexLayoutModule,
553
- MatLegacyButtonModule,
554
- MatIconModule], exports: [NavigateBackButtonComponent] });
555
- NavigateBackButtonComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, imports: [FlexLayoutModule,
556
- MatLegacyButtonModule,
557
- MatIconModule] });
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NavigateBackButtonComponentModule, decorators: [{
559
- type: NgModule,
560
- args: [{
561
- declarations: [NavigateBackButtonComponent],
562
- imports: [
563
- FlexLayoutModule,
564
- MatLegacyButtonModule,
565
- MatIconModule
566
- ],
567
- exports: [NavigateBackButtonComponent]
568
- }]
569
- }] });
570
-
571
- // region confirm
572
- // endregion
573
-
574
- /**
575
- * Generated bundle index. Do not edit.
576
- */
577
-
578
- export { ConfirmComponent, ConfirmComponentModule, ConfirmDirective, CopyToClipboardButtonComponent, CopyToClipboardButtonComponentModule, CopyToClipboardComponent, CopyToClipboardModule, DarkModeToggleButtonComponent, DarkModeToggleButtonComponentModule, EmptyRouterOutletComponent, EmptyRouterOutletModule, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, JsonViewerModule, NavigateBackButtonComponent, NavigateBackButtonComponentModule };
579
- //# sourceMappingURL=rxap-components.mjs.map
580
- //# sourceMappingURL=rxap-components.mjs.map