@rxap/components 16.0.0-dev.2 → 16.0.0-dev.20

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 (32) hide show
  1. package/CHANGELOG.md +318 -0
  2. package/LICENSE +621 -21
  3. package/LICENSE.md +621 -0
  4. package/README.md +8 -22
  5. package/esm2022/index.mjs +13 -13
  6. package/esm2022/lib/confirm/confirm.component.mjs +7 -10
  7. package/esm2022/lib/confirm/confirm.directive.mjs +9 -10
  8. package/esm2022/lib/confirm/confirm.module.mjs +17 -0
  9. package/esm2022/lib/copy-to-clipboard/copy-to-clipboard.component.mjs +9 -15
  10. package/esm2022/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.mjs +11 -11
  11. package/esm2022/lib/empty-router-outlet/empty-router-outlet.component.mjs +6 -7
  12. package/esm2022/lib/json-viewer/json-viewer.component.mjs +30 -22
  13. package/esm2022/lib/json-viewer/json-viewer.tokens.mjs +7 -7
  14. package/esm2022/lib/navigate-back-button/navigate-back-button.component.mjs +9 -11
  15. package/esm2022/rxap-components.mjs +1 -1
  16. package/fesm2022/rxap-components.mjs +185 -191
  17. package/fesm2022/rxap-components.mjs.map +1 -1
  18. package/index.d.ts +6 -6
  19. package/lib/confirm/confirm.module.d.ts +8 -0
  20. package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +1 -1
  21. package/lib/json-viewer/json-viewer.component.d.ts +3 -3
  22. package/lib/json-viewer/json-viewer.tokens.d.ts +2 -2
  23. package/package.json +59 -49
  24. package/theme.css +1 -0
  25. package/collection.json +0 -10
  26. package/esm2022/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +0 -31
  27. package/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.d.ts +0 -8
  28. package/migration.json +0 -4
  29. package/src/schematics/ng-add/index.d.ts +0 -2
  30. package/src/schematics/ng-add/index.js +0 -8
  31. package/src/schematics/ng-add/index.js.map +0 -1
  32. package/src/schematics/ng-add/schema.json +0 -7
@@ -1,148 +1,36 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Output, ElementRef, Directive, Inject, Input, HostListener, InjectionToken, ChangeDetectorRef, forwardRef } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, InjectionToken, isDevMode, ChangeDetectorRef, forwardRef, Inject, Input, EventEmitter, Output, ElementRef, Directive, HostListener, NgModule } from '@angular/core';
3
3
  import * as i3 from '@angular/material/icon';
4
4
  import { MatIconModule } from '@angular/material/icon';
5
- import * as i1$1 from '@angular/material/button';
5
+ import * as i1 from '@angular/material/button';
6
6
  import { MatButtonModule } from '@angular/material/button';
7
- import * as i1 from '@angular/flex-layout';
7
+ import * as i1$1 from '@angular/flex-layout';
8
8
  import { FlexModule } from '@angular/flex-layout';
9
- import * as i1$2 from '@angular/cdk/overlay';
10
- import { Overlay } 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 { RouterOutlet } from '@angular/router';
15
- import { isPromiseLike, clone, Required } from '@rxap/utilities';
16
- import { ErrorStateMatcher } from '@angular/material/core';
17
- import { SubscriptionHandler, isTeardownLogic } from '@rxap/utilities/rxjs';
18
9
  import { NgFor, NgClass, NgIf } from '@angular/common';
19
- import { __decorate, __metadata } from 'tslib';
10
+ import { SubscriptionHandler, isTeardownLogic } from '@rxap/rxjs';
11
+ import { isPromiseLike } from '@rxap/utilities';
12
+ import { Observable, Subscription } from 'rxjs';
13
+ import { ErrorStateMatcher } from '@angular/material/core';
14
+ import { RouterOutlet } from '@angular/router';
20
15
  import * as i4 from '@angular/material/snack-bar';
21
- import { MatSnackBar } from '@angular/material/snack-bar';
16
+ import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
22
17
  import * as i2 from '@angular/cdk/clipboard';
23
18
  import { ClipboardModule } from '@angular/cdk/clipboard';
24
- import * as i3$1 from '@rxap/services';
25
- import { ThemeService } from '@rxap/services';
26
- import { StopPropagationDirective } from '@rxap/directives';
27
-
28
- class ConfirmComponent {
29
- constructor() {
30
- this.confirmed = new EventEmitter();
31
- this.unconfirmed = new EventEmitter();
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: ConfirmComponent, isStandalone: true, 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: "ngmodule", type: FlexModule }, { 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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmComponent, decorators: [{
37
- type: Component,
38
- args: [{ selector: 'rxap-confirm', host: {
39
- class: 'rxap-confirm'
40
- }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, MatButtonModule, MatIconModule], 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"] }]
41
- }], propDecorators: { confirmed: [{
42
- type: Output
43
- }], unconfirmed: [{
44
- type: Output
45
- }] } });
19
+ import * as i1$2 from '@angular/cdk/overlay';
20
+ import { Overlay } from '@angular/cdk/overlay';
21
+ import { ComponentPortal } from '@angular/cdk/portal';
22
+ import { take, tap } from 'rxjs/operators';
46
23
 
47
- class ConfirmDirective {
48
- // use a set input to allow auto import detection if the eventValue
49
- // is not set
50
- set eventValue(value) {
51
- if (value !== '') {
52
- this._eventValue = value;
53
- }
54
- }
55
- constructor(overlay, elementRef) {
56
- this.overlay = overlay;
57
- this.elementRef = elementRef;
58
- this.confirmed = new EventEmitter();
59
- this.unconfirmed = new EventEmitter();
60
- this.subscription = null;
61
- this.isOverlyOpen = false;
62
- this.positionStrategy = this.overlay
63
- .position()
64
- .flexibleConnectedTo(this.elementRef.nativeElement)
65
- .withPositions([
66
- {
67
- originX: 'start',
68
- originY: 'bottom',
69
- overlayX: 'start',
70
- overlayY: 'top',
71
- },
72
- ])
73
- .withDefaultOffsetY(10);
74
- }
75
- onClick($event) {
76
- this.openConfirmOverly();
77
- }
78
- ngOnDestroy() {
79
- this.subscription?.unsubscribe();
80
- this.overlayRef?.dispose();
81
- }
82
- openConfirmOverly() {
83
- if (this.isOverlyOpen) {
84
- return;
85
- }
86
- this.isOverlyOpen = true;
87
- this.overlayRef = this.overlay.create({
88
- scrollStrategy: this.overlay.scrollStrategies.close(),
89
- positionStrategy: this.positionStrategy,
90
- });
91
- const componentPortal = new ComponentPortal(ConfirmComponent);
92
- const componentRef = this.overlayRef.attach(componentPortal);
93
- this.subscription?.unsubscribe();
94
- this.subscription = new Subscription();
95
- this.subscription.add(componentRef.instance.confirmed
96
- .pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
97
- .subscribe());
98
- this.subscription.add(componentRef.instance.unconfirmed
99
- .pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
100
- .subscribe());
101
- this.subscription.add(this.overlayRef
102
- .detachments()
103
- .pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
104
- .subscribe());
105
- }
106
- onConfirmed(eventValue) {
107
- this.confirmed.emit(eventValue);
108
- }
109
- onUnconfirmed(eventValue) {
110
- this.unconfirmed.emit(eventValue);
24
+ class NavigateBackButtonComponent {
25
+ navigateBack() {
26
+ window.history.back();
111
27
  }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmDirective, deps: [{ token: Overlay }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
113
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ConfirmDirective, isStandalone: true, selector: "[rxapConfirm]", inputs: { eventValue: ["rxapConfirm", "eventValue"] }, outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigateBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: NavigateBackButtonComponent, isStandalone: true, selector: "rxap-navigate-back-button", host: { classAttribute: "rxap-navigate-back-button" }, ngImport: i0, template: "<div class=\"rxap-container flex flex-row justify-start items-center gap-8\">\n <div class=\"grow-0\">\n <button (click)=\"navigateBack()\" color=\"accent\" mat-stroked-button>\n <mat-icon>navigate_before</mat-icon>\n </button>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [".rxap-container ::ng-deep h1,.rxap-container ::ng-deep h2,.rxap-container ::ng-deep h3,.rxap-container ::ng-deep h4,.rxap-container ::ng-deep h5,.rxap-container ::ng-deep h6{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
114
30
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmDirective, decorators: [{
116
- type: Directive,
117
- args: [{
118
- selector: '[rxapConfirm]',
119
- standalone: true
120
- }]
121
- }], ctorParameters: function () { return [{ type: i1$2.Overlay, decorators: [{
122
- type: Inject,
123
- args: [Overlay]
124
- }] }, { type: i0.ElementRef, decorators: [{
125
- type: Inject,
126
- args: [ElementRef]
127
- }] }]; }, propDecorators: { eventValue: [{
128
- type: Input,
129
- args: ['rxapConfirm']
130
- }], confirmed: [{
131
- type: Output
132
- }], unconfirmed: [{
133
- type: Output
134
- }], onClick: [{
135
- type: HostListener,
136
- args: ['click', ['$event']]
137
- }] } });
138
-
139
- class EmptyRouterOutletComponent {
140
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
141
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: EmptyRouterOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<router-outlet></router-outlet>\n", dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
142
- }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigateBackButtonComponent, decorators: [{
144
32
  type: Component,
145
- args: [{ changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [RouterOutlet], template: "<router-outlet></router-outlet>\n" }]
33
+ args: [{ selector: 'rxap-navigate-back-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigate-back-button' }, standalone: true, imports: [FlexModule, MatButtonModule, MatIconModule], template: "<div class=\"rxap-container flex flex-row justify-start items-center gap-8\">\n <div class=\"grow-0\">\n <button (click)=\"navigateBack()\" color=\"accent\" mat-stroked-button>\n <mat-icon>navigate_before</mat-icon>\n </button>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [".rxap-container ::ng-deep h1,.rxap-container ::ng-deep h2,.rxap-container ::ng-deep h3,.rxap-container ::ng-deep h4,.rxap-container ::ng-deep h5,.rxap-container ::ng-deep h6{margin:0}\n"] }]
146
34
  }] });
147
35
 
148
36
  const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {
@@ -151,8 +39,8 @@ const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspec
151
39
  '_subscriptions',
152
40
  'subscriptions',
153
41
  'injector',
154
- /\$$/
155
- ]
42
+ /\$$/,
43
+ ],
156
44
  });
157
45
  const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/ignored-types', {
158
46
  providedIn: 'root',
@@ -161,13 +49,16 @@ const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/i
161
49
  Promise,
162
50
  Subscription,
163
51
  SubscriptionHandler,
164
- ErrorStateMatcher
165
- ]
52
+ ErrorStateMatcher,
53
+ ],
166
54
  });
167
55
 
168
56
  class JsonViewerComponent {
169
57
  constructor(ignoredProperties, ignoredTypes, cdr) {
170
58
  this.cdr = cdr;
59
+ // TODO : add object input. The json input will not be cleaned
60
+ this.json = {};
61
+ this.expanded = false;
171
62
  this.ignoredProperties = [];
172
63
  this.ignoredTypes = [];
173
64
  this.subscriptions = new Subscription();
@@ -190,10 +81,16 @@ class JsonViewerComponent {
190
81
  ngOnChanges(changes) {
191
82
  const jsonChange = changes['json'];
192
83
  if (jsonChange) {
84
+ if (isDevMode()) {
85
+ console.debug('json change');
86
+ }
193
87
  this.setInspectValue(jsonChange.currentValue);
194
88
  }
195
89
  }
196
90
  cleanObject(obj, stack = []) {
91
+ if (typeof obj === 'string') {
92
+ return obj;
93
+ }
197
94
  if (stack.some(item => item === obj)) {
198
95
  return '__circular__';
199
96
  }
@@ -203,7 +100,9 @@ class JsonViewerComponent {
203
100
  .entries(obj)
204
101
  .filter(([key, value]) => !isPromiseLike(value))
205
102
  .filter(([key, value]) => !isTeardownLogic(value))
206
- .filter(([key, value]) => this.ignoredProperties.every(ip => typeof ip === 'string' ? key !== ip : !key.match(ip)))
103
+ .filter(([key, value]) => this.ignoredProperties.every(ip => typeof ip === 'string' ?
104
+ key !== ip :
105
+ !key.match(ip)))
207
106
  .filter(([key, value]) => [...this.ignoredTypes].every(type => !(value instanceof type)))
208
107
  .map(([key, value]) => {
209
108
  if (value && typeof value === 'object') {
@@ -217,22 +116,20 @@ class JsonViewerComponent {
217
116
  return [key, value];
218
117
  })
219
118
  .sort((a, b) => a[0].localeCompare(b[0]))
220
- .reduce((controlView, [key, value]) => ({ ...controlView, [key]: value }), {});
119
+ .reduce((controlView, [key, value]) => ({
120
+ ...controlView,
121
+ [key]: value,
122
+ }), {});
221
123
  }
222
124
  setInspectValue(json) {
223
125
  if (typeof json !== 'object' || json === null || json === undefined) {
224
126
  console.warn('The inspection value is not an object!');
225
127
  }
226
128
  else {
227
- json = clone(json);
228
- let inspectValue;
229
129
  if (typeof json['toJSON'] === 'function') {
230
- inspectValue = json.toJSON();
231
- }
232
- else {
233
- inspectValue = this.cleanObject(json);
130
+ json = json.toJSON();
234
131
  }
235
- this.inspectValue = inspectValue;
132
+ this.inspectValue = this.cleanObject(structuredClone(json));
236
133
  this.buildSegments(this.inspectValue);
237
134
  this.cdr.markForCheck();
238
135
  }
@@ -262,7 +159,7 @@ class JsonViewerComponent {
262
159
  value: value,
263
160
  type: undefined,
264
161
  description: '' + value,
265
- expanded: this.expanded
162
+ expanded: this.expanded,
266
163
  };
267
164
  switch (typeof segment.value) {
268
165
  case 'number': {
@@ -309,12 +206,12 @@ class JsonViewerComponent {
309
206
  }
310
207
  return segment;
311
208
  }
312
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: JsonViewerComponent, deps: [{ token: JSON_VIEW_IGNORED_PROPERTIES }, { token: JSON_VIEW_IGNORED_TYPES }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
313
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: JsonViewerComponent, isStandalone: true, 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: "component", type: i0.forwardRef(function () { return JsonViewerComponent; }), selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "directive", type: i0.forwardRef(function () { return NgFor; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: JsonViewerComponent, deps: [{ token: JSON_VIEW_IGNORED_PROPERTIES }, { token: JSON_VIEW_IGNORED_TYPES }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
210
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: JsonViewerComponent, isStandalone: true, selector: "rxap-json-viewer", inputs: { json: "json", expanded: "expanded" }, host: { classAttribute: "rxap-json-viewer" }, usesOnChanges: true, ngImport: i0, template: "<section class=\"rxap-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 text-primary\">{{ segment.key }}</span>\n <span class=\"segment-separator\">: </span>\n <span *ngIf=\"!segment.expanded || !isExpandable(segment)\"\n class=\"segment-value text-white dark:text-black\">{{ 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\";.rxap-container{width:100%;height:100%;overflow:hidden;position:relative;font-family:monospace;font-size:16px}.rxap-container .segment .segment-main .toggler{font-size:8px;line-height:12px}.rxap-container .segment{padding:2px;margin:1px 1px 1px 12px}.rxap-container .segment .segment-main{word-wrap:break-word}.rxap-container .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;vertical-align:middle}.rxap-container .segment .segment-main .toggler:after{display:inline-block;content:\"\\25ba\";transition:transform .1s ease-in}.rxap-container .segment .children{margin-left:12px}.rxap-container .segment-type-object>.segment-main,.rxap-container .segment-type-array>.segment-main{white-space:nowrap}.rxap-container .expanded>.toggler:after{transform:rotate(90deg)}.rxap-container .expandable,.rxap-container .expandable>.toggler{cursor:pointer}.rxap-container .segment .segment-main .toggler{color:#787878}.rxap-container .segment .segment-main .segment-separator{color:#999}.rxap-container .segment-type-string>.segment-main>.segment-value{color:var(--json-string-color, #FF6B6B)}.rxap-container .segment-type-number>.segment-main>.segment-value{color:var(--json-number-color, #009688)}.rxap-container .segment-type-boolean>.segment-main>.segment-value{color:var(--json-boolean-color, #b938a4)}.rxap-container .segment-type-date>.segment-main>.segment-value{color:var(--json-date-color, #05668D)}.rxap-container .segment-type-array>.segment-main>.segment-value{color:var(--json-array-color, #999)}.rxap-container .segment-type-object>.segment-main>.segment-value{color:var(--json-object-color, #999)}.rxap-container .segment-type-function>.segment-main>.segment-value{color:var(--json-function-color, #999)}.rxap-container .segment-type-null>.segment-main>.segment-value{color:var(--json-null-color, #fff)}.rxap-container .segment-type-undefined>.segment-main>.segment-value{color:var(--json-undefined-color, #fff)}.rxap-container .segment-type-null>.segment-main>.segment-value{background-color:var(--warn-500, darkred)}.rxap-container .segment-type-undefined>.segment-main>.segment-key{color:#999}.rxap-container .segment-type-undefined>.segment-main>.segment-value{background-color:#999}\n"], dependencies: [{ kind: "component", type: i0.forwardRef(function () { return JsonViewerComponent; }), selector: "rxap-json-viewer", inputs: ["json", "expanded"] }, { kind: "directive", type: i0.forwardRef(function () { return NgFor; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
314
211
  }
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: JsonViewerComponent, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: JsonViewerComponent, decorators: [{
316
213
  type: Component,
317
- args: [{ selector: 'rxap-json-viewer', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-json-viewer' }, standalone: true, imports: [NgFor, NgClass, NgIf, forwardRef(() => JsonViewerComponent)], 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"] }]
214
+ args: [{ selector: 'rxap-json-viewer', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-json-viewer' }, standalone: true, imports: [NgFor, NgClass, NgIf, forwardRef(() => JsonViewerComponent)], template: "<section class=\"rxap-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 text-primary\">{{ segment.key }}</span>\n <span class=\"segment-separator\">: </span>\n <span *ngIf=\"!segment.expanded || !isExpandable(segment)\"\n class=\"segment-value text-white dark:text-black\">{{ 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\";.rxap-container{width:100%;height:100%;overflow:hidden;position:relative;font-family:monospace;font-size:16px}.rxap-container .segment .segment-main .toggler{font-size:8px;line-height:12px}.rxap-container .segment{padding:2px;margin:1px 1px 1px 12px}.rxap-container .segment .segment-main{word-wrap:break-word}.rxap-container .segment .segment-main .toggler{position:absolute;margin-left:-14px;margin-top:3px;vertical-align:middle}.rxap-container .segment .segment-main .toggler:after{display:inline-block;content:\"\\25ba\";transition:transform .1s ease-in}.rxap-container .segment .children{margin-left:12px}.rxap-container .segment-type-object>.segment-main,.rxap-container .segment-type-array>.segment-main{white-space:nowrap}.rxap-container .expanded>.toggler:after{transform:rotate(90deg)}.rxap-container .expandable,.rxap-container .expandable>.toggler{cursor:pointer}.rxap-container .segment .segment-main .toggler{color:#787878}.rxap-container .segment .segment-main .segment-separator{color:#999}.rxap-container .segment-type-string>.segment-main>.segment-value{color:var(--json-string-color, #FF6B6B)}.rxap-container .segment-type-number>.segment-main>.segment-value{color:var(--json-number-color, #009688)}.rxap-container .segment-type-boolean>.segment-main>.segment-value{color:var(--json-boolean-color, #b938a4)}.rxap-container .segment-type-date>.segment-main>.segment-value{color:var(--json-date-color, #05668D)}.rxap-container .segment-type-array>.segment-main>.segment-value{color:var(--json-array-color, #999)}.rxap-container .segment-type-object>.segment-main>.segment-value{color:var(--json-object-color, #999)}.rxap-container .segment-type-function>.segment-main>.segment-value{color:var(--json-function-color, #999)}.rxap-container .segment-type-null>.segment-main>.segment-value{color:var(--json-null-color, #fff)}.rxap-container .segment-type-undefined>.segment-main>.segment-value{color:var(--json-undefined-color, #fff)}.rxap-container .segment-type-null>.segment-main>.segment-value{background-color:var(--warn-500, darkred)}.rxap-container .segment-type-undefined>.segment-main>.segment-key{color:#999}.rxap-container .segment-type-undefined>.segment-main>.segment-value{background-color:#999}\n"] }]
318
215
  }], ctorParameters: function () { return [{ type: Array, decorators: [{
319
216
  type: Inject,
320
217
  args: [JSON_VIEW_IGNORED_PROPERTIES]
@@ -330,6 +227,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
330
227
  type: Input
331
228
  }] } });
332
229
 
230
+ class EmptyRouterOutletComponent {
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
232
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: EmptyRouterOutletComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<router-outlet></router-outlet>\n", dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
233
+ }
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
235
+ type: Component,
236
+ args: [{ changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [RouterOutlet], template: "<router-outlet></router-outlet>\n" }]
237
+ }] });
238
+
333
239
  class CopyToClipboardButtonComponent {
334
240
  constructor(snackbar) {
335
241
  this.snackbar = snackbar;
@@ -340,16 +246,17 @@ class CopyToClipboardButtonComponent {
340
246
  duration: 2500,
341
247
  });
342
248
  }
343
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
344
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CopyToClipboardButtonComponent, isStandalone: true, 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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
250
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CopyToClipboardButtonComponent, isStandalone: true, selector: "rxap-copy-to-clipboard-button", inputs: { value: "value" }, ngImport: i0, template: "<button\n (cdkCopyToClipboardCopied)=\"copied()\"\n (click)=\"$event.stopPropagation()\"\n [cdkCopyToClipboard]=\"value\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i2.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSnackBarModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
345
251
  }
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
347
253
  type: Component,
348
- args: [{ selector: 'rxap-copy-to-clipboard-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-copy-to-clipboard-button' }, standalone: true, imports: [
254
+ args: [{ selector: 'rxap-copy-to-clipboard-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
349
255
  MatButtonModule,
350
256
  ClipboardModule,
351
- MatIconModule
352
- ], 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" }]
257
+ MatIconModule,
258
+ MatSnackBarModule,
259
+ ], template: "<button\n (cdkCopyToClipboardCopied)=\"copied()\"\n (click)=\"$event.stopPropagation()\"\n [cdkCopyToClipboard]=\"value\"\n mat-icon-button\n type=\"button\"\n>\n <mat-icon>content_copy</mat-icon>\n</button>\n" }]
353
260
  }], ctorParameters: function () { return [{ type: i4.MatSnackBar, decorators: [{
354
261
  type: Inject,
355
262
  args: [MatSnackBar]
@@ -362,62 +269,149 @@ class CopyToClipboardComponent {
362
269
  this.active = true;
363
270
  this.disabled = false;
364
271
  }
365
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
366
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: CopyToClipboardComponent, isStandalone: true, 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: "ngmodule", type: FlexModule }, { 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: ["value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
272
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
273
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: CopyToClipboardComponent, isStandalone: true, selector: "rxap-copy-to-clipboard", inputs: { active: "active", disabled: "disabled", value: "value" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"2px\">\n <rxap-copy-to-clipboard-button *ngIf=\"active\" [value]=\"value\" fxFlex=\"40px\"></rxap-copy-to-clipboard-button>\n <span #ref class=\"content\" fxFlex=\"nogrow\"><ng-content></ng-content></span>\n <span *ngIf=\"!ref.innerHTML.trim()\" class=\"content\" fxFlex=\"nogrow\">{{ value }}</span>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$1.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$1.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$1.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$1.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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: CopyToClipboardButtonComponent, selector: "rxap-copy-to-clipboard-button", inputs: ["value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
367
274
  }
368
- __decorate([
369
- Required,
370
- __metadata("design:type", String)
371
- ], CopyToClipboardComponent.prototype, "value", void 0);
372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
373
276
  type: Component,
374
- args: [{ selector: 'rxap-copy-to-clipboard', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgIf, CopyToClipboardButtonComponent], 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" }]
277
+ args: [{ selector: 'rxap-copy-to-clipboard', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgIf, CopyToClipboardButtonComponent], template: "<div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"2px\">\n <rxap-copy-to-clipboard-button *ngIf=\"active\" [value]=\"value\" fxFlex=\"40px\"></rxap-copy-to-clipboard-button>\n <span #ref class=\"content\" fxFlex=\"nogrow\"><ng-content></ng-content></span>\n <span *ngIf=\"!ref.innerHTML.trim()\" class=\"content\" fxFlex=\"nogrow\">{{ value }}</span>\n</div>\n" }]
375
278
  }], propDecorators: { active: [{
376
279
  type: Input
377
280
  }], disabled: [{
378
281
  type: Input
379
282
  }], value: [{
380
- type: Input
283
+ type: Input,
284
+ args: [{ required: true }]
381
285
  }] } });
382
286
 
383
- class DarkModeToggleButtonComponent {
384
- constructor(theme) {
385
- this.theme = theme;
287
+ class ConfirmComponent {
288
+ constructor() {
289
+ this.confirmed = new EventEmitter();
290
+ this.unconfirmed = new EventEmitter();
386
291
  }
387
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DarkModeToggleButtonComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component }); }
388
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: DarkModeToggleButtonComponent, isStandalone: true, 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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: StopPropagationDirective, selector: "[rxapStopPropagation]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
292
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
293
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ConfirmComponent, isStandalone: true, selector: "rxap-confirm", outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, ngImport: i0, template: "<div class=\"rxap-container shadow-lg hover:shadow-xl\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button type=\"button\">\n <mat-icon>done</mat-icon>\n </button>\n <button (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button type=\"button\">\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n", styles: [".rxap-container{border-radius:8px;padding:4px;background-color:var(--background-color, white)}.rxap-container .accept{color:var(--accept-color, rgb(115, 190, 105))}.rxap-container .decline{color:var(--decline-color, rgb(204, 73, 51))}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$1.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$1.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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
389
294
  }
390
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: DarkModeToggleButtonComponent, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, decorators: [{
391
296
  type: Component,
392
- args: [{ selector: 'rxap-dark-mode-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-dark-mode-toggle-button' }, standalone: true, imports: [
393
- MatButtonModule,
394
- StopPropagationDirective,
395
- NgIf,
396
- MatIconModule
397
- ], 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" }]
398
- }], ctorParameters: function () { return [{ type: i3$1.ThemeService, decorators: [{
399
- type: Inject,
400
- args: [ThemeService]
401
- }] }]; } });
297
+ args: [{ selector: 'rxap-confirm', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, MatButtonModule, MatIconModule], template: "<div class=\"rxap-container shadow-lg hover:shadow-xl\" fxLayout=\"row\" fxLayoutGap=\"4px\">\n <button (click)=\"confirmed.emit()\" class=\"accept\" mat-icon-button type=\"button\">\n <mat-icon>done</mat-icon>\n </button>\n <button (click)=\"unconfirmed.emit()\" class=\"decline\" mat-icon-button type=\"button\">\n <mat-icon>clear</mat-icon>\n </button>\n</div>\n", styles: [".rxap-container{border-radius:8px;padding:4px;background-color:var(--background-color, white)}.rxap-container .accept{color:var(--accept-color, rgb(115, 190, 105))}.rxap-container .decline{color:var(--decline-color, rgb(204, 73, 51))}\n"] }]
298
+ }], propDecorators: { confirmed: [{
299
+ type: Output
300
+ }], unconfirmed: [{
301
+ type: Output
302
+ }] } });
402
303
 
403
- class NavigateBackButtonComponent {
404
- navigateBack() {
405
- window.history.back();
304
+ class ConfirmDirective {
305
+ // use a set input to allow auto import detection if the eventValue
306
+ // is not set
307
+ set eventValue(value) {
308
+ if (value !== '') {
309
+ this._eventValue = value;
310
+ }
311
+ }
312
+ constructor(overlay, elementRef) {
313
+ this.overlay = overlay;
314
+ this.elementRef = elementRef;
315
+ this.confirmed = new EventEmitter();
316
+ this.unconfirmed = new EventEmitter();
317
+ this.subscription = null;
318
+ this.isOverlyOpen = false;
319
+ this.positionStrategy = this.overlay
320
+ .position()
321
+ .flexibleConnectedTo(this.elementRef.nativeElement)
322
+ .withPositions([
323
+ {
324
+ originX: 'start',
325
+ originY: 'bottom',
326
+ overlayX: 'start',
327
+ overlayY: 'top',
328
+ },
329
+ ])
330
+ .withDefaultOffsetY(10);
331
+ }
332
+ onClick($event) {
333
+ this.openConfirmOverly();
334
+ }
335
+ ngOnDestroy() {
336
+ this.subscription?.unsubscribe();
337
+ this.overlayRef?.dispose();
338
+ }
339
+ openConfirmOverly() {
340
+ if (this.isOverlyOpen) {
341
+ return;
342
+ }
343
+ this.isOverlyOpen = true;
344
+ this.overlayRef = this.overlay.create({
345
+ scrollStrategy: this.overlay.scrollStrategies.close(),
346
+ positionStrategy: this.positionStrategy,
347
+ });
348
+ const componentPortal = new ComponentPortal(ConfirmComponent);
349
+ const componentRef = this.overlayRef.attach(componentPortal);
350
+ this.subscription?.unsubscribe();
351
+ this.subscription = new Subscription();
352
+ this.subscription.add(componentRef.instance.confirmed
353
+ .pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
354
+ .subscribe());
355
+ this.subscription.add(componentRef.instance.unconfirmed
356
+ .pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
357
+ .subscribe());
358
+ this.subscription.add(this.overlayRef
359
+ .detachments()
360
+ .pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
361
+ .subscribe());
362
+ }
363
+ onConfirmed(eventValue) {
364
+ this.confirmed.emit(eventValue);
406
365
  }
407
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NavigateBackButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
408
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: NavigateBackButtonComponent, isStandalone: true, 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: "ngmodule", type: FlexModule }, { 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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
366
+ onUnconfirmed(eventValue) {
367
+ this.unconfirmed.emit(eventValue);
368
+ }
369
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmDirective, deps: [{ token: Overlay }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
370
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ConfirmDirective, isStandalone: true, selector: "[rxapConfirm]", inputs: { eventValue: ["rxapConfirm", "eventValue"] }, outputs: { confirmed: "confirmed", unconfirmed: "unconfirmed" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
409
371
  }
410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: NavigateBackButtonComponent, decorators: [{
411
- type: Component,
412
- args: [{ selector: 'rxap-navigate-back-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigate-back-button' }, standalone: true, imports: [FlexModule, MatButtonModule, MatIconModule], 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" }]
372
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmDirective, decorators: [{
373
+ type: Directive,
374
+ args: [{
375
+ selector: '[rxapConfirm]',
376
+ standalone: true,
377
+ }]
378
+ }], ctorParameters: function () { return [{ type: i1$2.Overlay, decorators: [{
379
+ type: Inject,
380
+ args: [Overlay]
381
+ }] }, { type: i0.ElementRef, decorators: [{
382
+ type: Inject,
383
+ args: [ElementRef]
384
+ }] }]; }, propDecorators: { eventValue: [{
385
+ type: Input,
386
+ args: ['rxapConfirm']
387
+ }], confirmed: [{
388
+ type: Output
389
+ }], unconfirmed: [{
390
+ type: Output
391
+ }], onClick: [{
392
+ type: HostListener,
393
+ args: ['click', ['$event']]
394
+ }] } });
395
+
396
+ class ConfirmModule {
397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
398
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmDirective, ConfirmComponent], exports: [ConfirmDirective] }); }
399
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmComponent] }); }
400
+ }
401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, decorators: [{
402
+ type: NgModule,
403
+ args: [{
404
+ imports: [ConfirmDirective, ConfirmComponent],
405
+ exports: [ConfirmDirective],
406
+ }]
413
407
  }] });
414
408
 
415
- // region confirm
409
+ // region navigate-back-button
416
410
  // endregion
417
411
 
418
412
  /**
419
413
  * Generated bundle index. Do not edit.
420
414
  */
421
415
 
422
- export { ConfirmComponent, ConfirmDirective, CopyToClipboardButtonComponent, CopyToClipboardComponent, DarkModeToggleButtonComponent, EmptyRouterOutletComponent, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, NavigateBackButtonComponent };
416
+ export { ConfirmComponent, ConfirmDirective, ConfirmModule, CopyToClipboardButtonComponent, CopyToClipboardComponent, EmptyRouterOutletComponent, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, NavigateBackButtonComponent };
423
417
  //# sourceMappingURL=rxap-components.mjs.map