@rxap/components 16.0.0-dev.18 → 16.0.0-dev.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/esm2022/index.mjs +13 -13
- package/fesm2022/rxap-components.mjs +143 -166
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/index.d.ts +6 -6
- package/lib/json-viewer/json-viewer.tokens.d.ts +1 -1
- package/package.json +3 -5
- package/theme.css +1 -1
- package/esm2022/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.mjs +0 -30
- package/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.0.0-dev.19](https://gitlab.com/rxap/packages/compare/@rxap/components@16.0.0-dev.18...@rxap/components@16.0.0-dev.19) (2023-09-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/components
|
|
9
|
+
|
|
6
10
|
# [16.0.0-dev.18](https://gitlab.com/rxap/packages/compare/@rxap/components@16.0.0-dev.17...@rxap/components@16.0.0-dev.18) (2023-09-28)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -18,5 +18,5 @@ yarn add @rxap/components
|
|
|
18
18
|
```
|
|
19
19
|
**Install peer dependencies:**
|
|
20
20
|
```bash
|
|
21
|
-
yarn add @angular/cdk@^16.1.4 @angular/common@^16.1.4 @angular/core@^16.1.4 @angular/flex-layout@^15.0.0-beta.42 @angular/material@^16.1.4 @angular/router@^16.1.4 @rxap/
|
|
21
|
+
yarn add @angular/cdk@^16.1.4 @angular/common@^16.1.4 @angular/core@^16.1.4 @angular/flex-layout@^15.0.0-beta.42 @angular/material@^16.1.4 @angular/router@^16.1.4 @rxap/rxjs@^1.0.1-dev.11 @rxap/utilities@^16.0.0-dev.19 rxjs@^7.8.0 tslib@2.6.2
|
|
22
22
|
```
|
package/esm2022/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
// region
|
|
2
|
-
export * from './lib/
|
|
3
|
-
export * from './lib/confirm/confirm.directive';
|
|
1
|
+
// region navigate-back-button
|
|
2
|
+
export * from './lib/navigate-back-button/navigate-back-button.component';
|
|
4
3
|
// endregion
|
|
5
|
-
|
|
6
|
-
// region json viewer
|
|
4
|
+
// region json-viewer
|
|
7
5
|
export * from './lib/json-viewer/json-viewer.component';
|
|
8
6
|
export * from './lib/json-viewer/json-viewer.tokens';
|
|
9
7
|
// endregion
|
|
10
|
-
// region
|
|
11
|
-
export * from './lib/
|
|
8
|
+
// region empty-router-outlet
|
|
9
|
+
export * from './lib/empty-router-outlet/empty-router-outlet.component';
|
|
12
10
|
// endregion
|
|
13
|
-
// region copy
|
|
11
|
+
// region copy-to-clipboard-button
|
|
14
12
|
export * from './lib/copy-to-clipboard-button/copy-to-clipboard-button.component';
|
|
15
13
|
// endregion
|
|
16
|
-
// region
|
|
17
|
-
export * from './lib/
|
|
14
|
+
// region copy-to-clipboard
|
|
15
|
+
export * from './lib/copy-to-clipboard/copy-to-clipboard.component';
|
|
18
16
|
// endregion
|
|
19
|
-
// region
|
|
20
|
-
export * from './lib/
|
|
17
|
+
// region confirm
|
|
18
|
+
export * from './lib/confirm/confirm.component';
|
|
19
|
+
export * from './lib/confirm/confirm.directive';
|
|
20
|
+
export * from './lib/confirm/confirm.module';
|
|
21
21
|
// endregion
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2NvbXBv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2lvblxuXG4vLyByZWdpb24gY29weS10by1jbGlwYm9hcmQtYnV0dG9uXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3B5LXRvLWNsaXBib2FyZC1idXR0b24vY29weS10by1jbGlwYm9hcmQtYnV0dG9uLmNvbXBvbmVudCc7XG4vLyBlbmRyZWdpb25cblxuLy8gcmVnaW9uIGNvcHktdG8tY2xpcGJvYXJkXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb3B5LXRvLWNsaXBib2FyZC9jb3B5LXRvLWNsaXBib2FyZC5jb21wb25lbnQnO1xuLy8gZW5kcmVnaW9uXG5cbi8vIHJlZ2lvbiBjb25maXJtXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb25maXJtL2NvbmZpcm0uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbmZpcm0vY29uZmlybS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29uZmlybS9jb25maXJtLm1vZHVsZSc7XG4vLyBlbmRyZWdpb25cbiJdfQ==
|
|
@@ -1,158 +1,36 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Component, ChangeDetectionStrategy, InjectionToken, 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
|
|
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
|
|
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';
|
|
9
|
+
import { Observable, Subscription } from 'rxjs';
|
|
15
10
|
import { isPromiseLike, clone } from '@rxap/utilities';
|
|
16
11
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
17
12
|
import { SubscriptionHandler, isTeardownLogic } from '@rxap/rxjs';
|
|
18
13
|
import { NgFor, NgClass, NgIf } from '@angular/common';
|
|
14
|
+
import { RouterOutlet } from '@angular/router';
|
|
19
15
|
import * as i4 from '@angular/material/snack-bar';
|
|
20
16
|
import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
21
17
|
import * as i2 from '@angular/cdk/clipboard';
|
|
22
18
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
23
|
-
import * as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
27
|
-
class ConfirmComponent {
|
|
28
|
-
constructor() {
|
|
29
|
-
this.confirmed = new EventEmitter();
|
|
30
|
-
this.unconfirmed = new EventEmitter();
|
|
31
|
-
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
-
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.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 }); }
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
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"] }]
|
|
38
|
-
}], propDecorators: { confirmed: [{
|
|
39
|
-
type: Output
|
|
40
|
-
}], unconfirmed: [{
|
|
41
|
-
type: Output
|
|
42
|
-
}] } });
|
|
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';
|
|
43
23
|
|
|
44
|
-
class
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
set eventValue(value) {
|
|
48
|
-
if (value !== '') {
|
|
49
|
-
this._eventValue = value;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
constructor(overlay, elementRef) {
|
|
53
|
-
this.overlay = overlay;
|
|
54
|
-
this.elementRef = elementRef;
|
|
55
|
-
this.confirmed = new EventEmitter();
|
|
56
|
-
this.unconfirmed = new EventEmitter();
|
|
57
|
-
this.subscription = null;
|
|
58
|
-
this.isOverlyOpen = false;
|
|
59
|
-
this.positionStrategy = this.overlay
|
|
60
|
-
.position()
|
|
61
|
-
.flexibleConnectedTo(this.elementRef.nativeElement)
|
|
62
|
-
.withPositions([
|
|
63
|
-
{
|
|
64
|
-
originX: 'start',
|
|
65
|
-
originY: 'bottom',
|
|
66
|
-
overlayX: 'start',
|
|
67
|
-
overlayY: 'top',
|
|
68
|
-
},
|
|
69
|
-
])
|
|
70
|
-
.withDefaultOffsetY(10);
|
|
71
|
-
}
|
|
72
|
-
onClick($event) {
|
|
73
|
-
this.openConfirmOverly();
|
|
74
|
-
}
|
|
75
|
-
ngOnDestroy() {
|
|
76
|
-
this.subscription?.unsubscribe();
|
|
77
|
-
this.overlayRef?.dispose();
|
|
78
|
-
}
|
|
79
|
-
openConfirmOverly() {
|
|
80
|
-
if (this.isOverlyOpen) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
this.isOverlyOpen = true;
|
|
84
|
-
this.overlayRef = this.overlay.create({
|
|
85
|
-
scrollStrategy: this.overlay.scrollStrategies.close(),
|
|
86
|
-
positionStrategy: this.positionStrategy,
|
|
87
|
-
});
|
|
88
|
-
const componentPortal = new ComponentPortal(ConfirmComponent);
|
|
89
|
-
const componentRef = this.overlayRef.attach(componentPortal);
|
|
90
|
-
this.subscription?.unsubscribe();
|
|
91
|
-
this.subscription = new Subscription();
|
|
92
|
-
this.subscription.add(componentRef.instance.confirmed
|
|
93
|
-
.pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
94
|
-
.subscribe());
|
|
95
|
-
this.subscription.add(componentRef.instance.unconfirmed
|
|
96
|
-
.pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
97
|
-
.subscribe());
|
|
98
|
-
this.subscription.add(this.overlayRef
|
|
99
|
-
.detachments()
|
|
100
|
-
.pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
101
|
-
.subscribe());
|
|
102
|
-
}
|
|
103
|
-
onConfirmed(eventValue) {
|
|
104
|
-
this.confirmed.emit(eventValue);
|
|
105
|
-
}
|
|
106
|
-
onUnconfirmed(eventValue) {
|
|
107
|
-
this.unconfirmed.emit(eventValue);
|
|
24
|
+
class NavigateBackButtonComponent {
|
|
25
|
+
navigateBack() {
|
|
26
|
+
window.history.back();
|
|
108
27
|
}
|
|
109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type:
|
|
110
|
-
static { this.ɵ
|
|
111
|
-
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmDirective, decorators: [{
|
|
113
|
-
type: Directive,
|
|
114
|
-
args: [{
|
|
115
|
-
selector: '[rxapConfirm]',
|
|
116
|
-
standalone: true,
|
|
117
|
-
}]
|
|
118
|
-
}], ctorParameters: function () { return [{ type: i1$2.Overlay, decorators: [{
|
|
119
|
-
type: Inject,
|
|
120
|
-
args: [Overlay]
|
|
121
|
-
}] }, { type: i0.ElementRef, decorators: [{
|
|
122
|
-
type: Inject,
|
|
123
|
-
args: [ElementRef]
|
|
124
|
-
}] }]; }, propDecorators: { eventValue: [{
|
|
125
|
-
type: Input,
|
|
126
|
-
args: ['rxapConfirm']
|
|
127
|
-
}], confirmed: [{
|
|
128
|
-
type: Output
|
|
129
|
-
}], unconfirmed: [{
|
|
130
|
-
type: Output
|
|
131
|
-
}], onClick: [{
|
|
132
|
-
type: HostListener,
|
|
133
|
-
args: ['click', ['$event']]
|
|
134
|
-
}] } });
|
|
135
|
-
|
|
136
|
-
class ConfirmModule {
|
|
137
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
138
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmDirective, ConfirmComponent], exports: [ConfirmDirective] }); }
|
|
139
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmComponent] }); }
|
|
140
|
-
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, decorators: [{
|
|
142
|
-
type: NgModule,
|
|
143
|
-
args: [{
|
|
144
|
-
imports: [ConfirmDirective, ConfirmComponent],
|
|
145
|
-
exports: [ConfirmDirective],
|
|
146
|
-
}]
|
|
147
|
-
}] });
|
|
148
|
-
|
|
149
|
-
class EmptyRouterOutletComponent {
|
|
150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
151
|
-
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 }); }
|
|
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 }); }
|
|
152
30
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type:
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigateBackButtonComponent, decorators: [{
|
|
154
32
|
type: Component,
|
|
155
|
-
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
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"] }]
|
|
156
34
|
}] });
|
|
157
35
|
|
|
158
36
|
const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {
|
|
@@ -351,6 +229,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
351
229
|
type: Input
|
|
352
230
|
}] } });
|
|
353
231
|
|
|
232
|
+
class EmptyRouterOutletComponent {
|
|
233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: EmptyRouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
234
|
+
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 }); }
|
|
235
|
+
}
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: EmptyRouterOutletComponent, decorators: [{
|
|
237
|
+
type: Component,
|
|
238
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [RouterOutlet], template: "<router-outlet></router-outlet>\n" }]
|
|
239
|
+
}] });
|
|
240
|
+
|
|
354
241
|
class CopyToClipboardButtonComponent {
|
|
355
242
|
constructor(snackbar) {
|
|
356
243
|
this.snackbar = snackbar;
|
|
@@ -362,7 +249,7 @@ class CopyToClipboardButtonComponent {
|
|
|
362
249
|
});
|
|
363
250
|
}
|
|
364
251
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardButtonComponent, deps: [{ token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
365
|
-
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
|
|
252
|
+
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 }); }
|
|
366
253
|
}
|
|
367
254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardButtonComponent, decorators: [{
|
|
368
255
|
type: Component,
|
|
@@ -385,7 +272,7 @@ class CopyToClipboardComponent {
|
|
|
385
272
|
this.disabled = false;
|
|
386
273
|
}
|
|
387
274
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
388
|
-
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.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 }); }
|
|
275
|
+
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 }); }
|
|
389
276
|
}
|
|
390
277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CopyToClipboardComponent, decorators: [{
|
|
391
278
|
type: Component,
|
|
@@ -399,44 +286,134 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImpor
|
|
|
399
286
|
args: [{ required: true }]
|
|
400
287
|
}] } });
|
|
401
288
|
|
|
402
|
-
class
|
|
403
|
-
constructor(
|
|
404
|
-
this.
|
|
289
|
+
class ConfirmComponent {
|
|
290
|
+
constructor() {
|
|
291
|
+
this.confirmed = new EventEmitter();
|
|
292
|
+
this.unconfirmed = new EventEmitter();
|
|
405
293
|
}
|
|
406
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type:
|
|
407
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type:
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
295
|
+
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 }); }
|
|
408
296
|
}
|
|
409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type:
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmComponent, decorators: [{
|
|
410
298
|
type: Component,
|
|
411
|
-
args: [{ selector: 'rxap-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}], ctorParameters: function () { return [{ type: i3$1.ThemeService, decorators: [{
|
|
418
|
-
type: Inject,
|
|
419
|
-
args: [ThemeService]
|
|
420
|
-
}] }]; } });
|
|
299
|
+
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"] }]
|
|
300
|
+
}], propDecorators: { confirmed: [{
|
|
301
|
+
type: Output
|
|
302
|
+
}], unconfirmed: [{
|
|
303
|
+
type: Output
|
|
304
|
+
}] } });
|
|
421
305
|
|
|
422
|
-
class
|
|
423
|
-
|
|
424
|
-
|
|
306
|
+
class ConfirmDirective {
|
|
307
|
+
// use a set input to allow auto import detection if the eventValue
|
|
308
|
+
// is not set
|
|
309
|
+
set eventValue(value) {
|
|
310
|
+
if (value !== '') {
|
|
311
|
+
this._eventValue = value;
|
|
312
|
+
}
|
|
425
313
|
}
|
|
426
|
-
|
|
427
|
-
|
|
314
|
+
constructor(overlay, elementRef) {
|
|
315
|
+
this.overlay = overlay;
|
|
316
|
+
this.elementRef = elementRef;
|
|
317
|
+
this.confirmed = new EventEmitter();
|
|
318
|
+
this.unconfirmed = new EventEmitter();
|
|
319
|
+
this.subscription = null;
|
|
320
|
+
this.isOverlyOpen = false;
|
|
321
|
+
this.positionStrategy = this.overlay
|
|
322
|
+
.position()
|
|
323
|
+
.flexibleConnectedTo(this.elementRef.nativeElement)
|
|
324
|
+
.withPositions([
|
|
325
|
+
{
|
|
326
|
+
originX: 'start',
|
|
327
|
+
originY: 'bottom',
|
|
328
|
+
overlayX: 'start',
|
|
329
|
+
overlayY: 'top',
|
|
330
|
+
},
|
|
331
|
+
])
|
|
332
|
+
.withDefaultOffsetY(10);
|
|
333
|
+
}
|
|
334
|
+
onClick($event) {
|
|
335
|
+
this.openConfirmOverly();
|
|
336
|
+
}
|
|
337
|
+
ngOnDestroy() {
|
|
338
|
+
this.subscription?.unsubscribe();
|
|
339
|
+
this.overlayRef?.dispose();
|
|
340
|
+
}
|
|
341
|
+
openConfirmOverly() {
|
|
342
|
+
if (this.isOverlyOpen) {
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
this.isOverlyOpen = true;
|
|
346
|
+
this.overlayRef = this.overlay.create({
|
|
347
|
+
scrollStrategy: this.overlay.scrollStrategies.close(),
|
|
348
|
+
positionStrategy: this.positionStrategy,
|
|
349
|
+
});
|
|
350
|
+
const componentPortal = new ComponentPortal(ConfirmComponent);
|
|
351
|
+
const componentRef = this.overlayRef.attach(componentPortal);
|
|
352
|
+
this.subscription?.unsubscribe();
|
|
353
|
+
this.subscription = new Subscription();
|
|
354
|
+
this.subscription.add(componentRef.instance.confirmed
|
|
355
|
+
.pipe(take(1), tap(() => this.onConfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
356
|
+
.subscribe());
|
|
357
|
+
this.subscription.add(componentRef.instance.unconfirmed
|
|
358
|
+
.pipe(take(1), tap(() => this.onUnconfirmed(this._eventValue)), tap(() => this.overlayRef?.dispose()), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
359
|
+
.subscribe());
|
|
360
|
+
this.subscription.add(this.overlayRef
|
|
361
|
+
.detachments()
|
|
362
|
+
.pipe(take(1), tap(() => this.isOverlyOpen = false), tap(() => (this.subscription = null)), tap(() => this.subscription?.unsubscribe()))
|
|
363
|
+
.subscribe());
|
|
364
|
+
}
|
|
365
|
+
onConfirmed(eventValue) {
|
|
366
|
+
this.confirmed.emit(eventValue);
|
|
367
|
+
}
|
|
368
|
+
onUnconfirmed(eventValue) {
|
|
369
|
+
this.unconfirmed.emit(eventValue);
|
|
370
|
+
}
|
|
371
|
+
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 }); }
|
|
372
|
+
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 }); }
|
|
428
373
|
}
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type:
|
|
430
|
-
type:
|
|
431
|
-
args: [{
|
|
374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmDirective, decorators: [{
|
|
375
|
+
type: Directive,
|
|
376
|
+
args: [{
|
|
377
|
+
selector: '[rxapConfirm]',
|
|
378
|
+
standalone: true,
|
|
379
|
+
}]
|
|
380
|
+
}], ctorParameters: function () { return [{ type: i1$2.Overlay, decorators: [{
|
|
381
|
+
type: Inject,
|
|
382
|
+
args: [Overlay]
|
|
383
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
384
|
+
type: Inject,
|
|
385
|
+
args: [ElementRef]
|
|
386
|
+
}] }]; }, propDecorators: { eventValue: [{
|
|
387
|
+
type: Input,
|
|
388
|
+
args: ['rxapConfirm']
|
|
389
|
+
}], confirmed: [{
|
|
390
|
+
type: Output
|
|
391
|
+
}], unconfirmed: [{
|
|
392
|
+
type: Output
|
|
393
|
+
}], onClick: [{
|
|
394
|
+
type: HostListener,
|
|
395
|
+
args: ['click', ['$event']]
|
|
396
|
+
}] } });
|
|
397
|
+
|
|
398
|
+
class ConfirmModule {
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
400
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmDirective, ConfirmComponent], exports: [ConfirmDirective] }); }
|
|
401
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, imports: [ConfirmComponent] }); }
|
|
402
|
+
}
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ConfirmModule, decorators: [{
|
|
404
|
+
type: NgModule,
|
|
405
|
+
args: [{
|
|
406
|
+
imports: [ConfirmDirective, ConfirmComponent],
|
|
407
|
+
exports: [ConfirmDirective],
|
|
408
|
+
}]
|
|
432
409
|
}] });
|
|
433
410
|
|
|
434
|
-
// region
|
|
411
|
+
// region navigate-back-button
|
|
435
412
|
// endregion
|
|
436
413
|
|
|
437
414
|
/**
|
|
438
415
|
* Generated bundle index. Do not edit.
|
|
439
416
|
*/
|
|
440
417
|
|
|
441
|
-
export { ConfirmDirective, ConfirmModule, CopyToClipboardButtonComponent, CopyToClipboardComponent,
|
|
418
|
+
export { ConfirmComponent, ConfirmDirective, ConfirmModule, CopyToClipboardButtonComponent, CopyToClipboardComponent, EmptyRouterOutletComponent, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, NavigateBackButtonComponent };
|
|
442
419
|
//# sourceMappingURL=rxap-components.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-components.mjs","sources":["../../../../../packages/angular/components/src/lib/confirm/confirm.component.ts","../../../../../packages/angular/components/src/lib/confirm/confirm.component.html","../../../../../packages/angular/components/src/lib/confirm/confirm.directive.ts","../../../../../packages/angular/components/src/lib/confirm/confirm.module.ts","../../../../../packages/angular/components/src/lib/empty-router-outlet/empty-router-outlet.component.ts","../../../../../packages/angular/components/src/lib/empty-router-outlet/empty-router-outlet.component.html","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.tokens.ts","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.component.ts","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.component.html","../../../../../packages/angular/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts","../../../../../packages/angular/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.html","../../../../../packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts","../../../../../packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.html","../../../../../packages/angular/components/src/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.ts","../../../../../packages/angular/components/src/lib/dark-mode-toggle-button/dark-mode-toggle-button.component.html","../../../../../packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.ts","../../../../../packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.html","../../../../../packages/angular/components/src/index.ts","../../../../../packages/angular/components/src/rxap-components.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: [ './confirm.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, MatButtonModule, MatIconModule ],\n})\nexport class ConfirmComponent {\n\n @Output()\n public confirmed = new EventEmitter<void>();\n\n @Output()\n public unconfirmed = new EventEmitter<void>();\n\n}\n","<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","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Inject,\n Input,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport {\n Overlay,\n OverlayRef,\n PositionStrategy,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n take,\n tap,\n} from 'rxjs/operators';\nimport { Subscription } from 'rxjs';\n\n@Directive({\n selector: '[rxapConfirm]',\n standalone: true,\n})\nexport class ConfirmDirective<T = any> implements OnDestroy {\n // use a set input to allow auto import detection if the eventValue\n // is not set\n @Input('rxapConfirm')\n public set eventValue(value: T | '') {\n if (value !== '') {\n this._eventValue = value;\n }\n }\n\n @Output()\n public confirmed = new EventEmitter<T | undefined>();\n\n @Output()\n public unconfirmed = new EventEmitter<T | undefined>();\n\n private subscription: Subscription | null = null;\n\n private overlayRef?: OverlayRef;\n\n private _eventValue?: T;\n\n protected positionStrategy?: PositionStrategy;\n\n protected isOverlyOpen = false;\n\n constructor(\n @Inject(Overlay)\n private readonly overlay: Overlay,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef,\n ) {\n this.positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef.nativeElement)\n .withPositions([\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n ])\n .withDefaultOffsetY(10);\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event?: Event) {\n this.openConfirmOverly();\n }\n\n public ngOnDestroy() {\n this.subscription?.unsubscribe();\n this.overlayRef?.dispose();\n }\n\n protected openConfirmOverly() {\n if (this.isOverlyOpen) {\n return;\n }\n this.isOverlyOpen = true;\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.close(),\n positionStrategy: this.positionStrategy,\n });\n const componentPortal = new ComponentPortal(ConfirmComponent);\n const componentRef = this.overlayRef.attach(componentPortal);\n\n this.subscription?.unsubscribe();\n this.subscription = new Subscription();\n\n this.subscription.add(\n componentRef.instance.confirmed\n .pipe(\n take(1),\n tap(() => this.onConfirmed(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n\n this.subscription.add(\n componentRef.instance.unconfirmed\n .pipe(\n take(1),\n tap(() => this.onUnconfirmed(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n\n this.subscription.add(\n this.overlayRef\n .detachments()\n .pipe(\n take(1),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n }\n\n protected onConfirmed(eventValue?: T) {\n this.confirmed.emit(eventValue);\n }\n\n protected onUnconfirmed(eventValue?: T) {\n this.unconfirmed.emit(eventValue);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport { ConfirmDirective } from './confirm.directive';\n\n@NgModule({\n imports: [ ConfirmDirective, ConfirmComponent ],\n exports: [ ConfirmDirective ],\n})\nexport class ConfirmModule {}\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n templateUrl: './empty-router-outlet.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ RouterOutlet ],\n})\nexport class EmptyRouterOutletComponent {\n}\n","<router-outlet></router-outlet>\n","import { InjectionToken } from '@angular/core';\nimport {\n Observable,\n Subscription,\n} from 'rxjs';\nimport { ErrorStateMatcher } from '@angular/material/core';\nimport { SubscriptionHandler } from '@rxap/rxjs';\n\nexport const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {\n providedIn: 'root',\n factory: () => [\n '_subscriptions',\n 'subscriptions',\n 'injector',\n /\\$$/,\n ],\n});\n\nexport const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/ignored-types', {\n providedIn: 'root',\n factory: () => [\n Observable,\n Promise,\n Subscription,\n SubscriptionHandler,\n ErrorStateMatcher,\n ],\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport {\n clone,\n isPromiseLike,\n} from '@rxap/utilities';\nimport {\n JSON_VIEW_IGNORED_PROPERTIES,\n JSON_VIEW_IGNORED_TYPES,\n} from './json-viewer.tokens';\nimport { isTeardownLogic } from '@rxap/rxjs';\nimport {\n NgClass,\n NgFor,\n NgIf,\n} from '@angular/common';\n\nexport interface Segment {\n key: string;\n value: any;\n type: undefined | string;\n description: string;\n expanded: boolean;\n}\n\n@Component({\n selector: 'rxap-json-viewer',\n templateUrl: './json-viewer.component.html',\n styleUrls: [ './json-viewer.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush, // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { class: 'rxap-json-viewer' },\n standalone: true,\n imports: [ NgFor, NgClass, NgIf, forwardRef(() => JsonViewerComponent) ],\n})\nexport class JsonViewerComponent implements OnInit, OnChanges {\n\n // TODO : add object input. The json input will not be cleaned\n @Input() public json: object | Record<string | number | symbol, unknown> = {};\n @Input() public expanded = false;\n\n public inspectValue: any;\n\n public ignoredProperties: Array<string | RegExp> = [];\n public ignoredTypes: any[] = [];\n\n public subscriptions = new Subscription();\n\n public segments: Segment[] = [];\n\n constructor(\n @Inject(JSON_VIEW_IGNORED_PROPERTIES) ignoredProperties: Array<string | RegExp | Array<string | RegExp>>,\n @Inject(JSON_VIEW_IGNORED_TYPES) ignoredTypes: Array<any | any[]>,\n @Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,\n ) {\n function flat(acc: any[], cur: any | any[]): any[] {\n if (Array.isArray(cur)) {\n acc.push(...cur.reduce(flat, []));\n } else {\n acc.push(cur);\n }\n\n return acc;\n }\n\n this.ignoredProperties = ignoredProperties.reduce(flat, []);\n this.ignoredTypes = ignoredTypes.reduce(flat, []);\n }\n\n public ngOnInit() {\n this.setInspectValue(this.json);\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n const jsonChange = changes['json'];\n if (jsonChange) {\n this.setInspectValue(jsonChange.currentValue);\n }\n }\n\n public cleanObject(obj: any, stack: any[] = []): any {\n if (typeof obj === 'string') {\n return obj;\n }\n if (stack.some(item => item === obj)) {\n return '__circular__';\n }\n stack = stack.slice();\n stack.unshift(obj);\n return Object\n .entries(obj)\n .filter(([ key, value ]) => !isPromiseLike(value))\n .filter(([ key, value ]) => !isTeardownLogic(value))\n .filter(([ key, value ]) => this.ignoredProperties.every(ip => typeof ip === 'string' ?\n key !== ip :\n !key.match(ip)))\n .filter(([ key, value ]) => [ ...this.ignoredTypes ].every(type => !(value instanceof type)))\n .map(([ key, value ]) => {\n if (value && typeof value === 'object') {\n if (Array.isArray(value)) {\n return [ key, value.map(item => this.cleanObject(item, stack)) ];\n }\n if (typeof value === 'object') {\n return [ key, this.cleanObject(value, stack) ];\n }\n }\n return [ key, value ];\n })\n .sort((a, b) => a[0].localeCompare(b[0]))\n .reduce((controlView, [ key, value ]) => ({\n ...controlView,\n [key]: value,\n }), {});\n }\n\n public setInspectValue(json: any): void {\n if (typeof json !== 'object' || json === null || json === undefined) {\n console.warn('The inspection value is not an object!');\n } else {\n json = clone(json);\n let inspectValue: any;\n if (typeof json['toJSON'] === 'function') {\n inspectValue = json.toJSON();\n } else {\n inspectValue = this.cleanObject(json);\n }\n this.inspectValue = inspectValue;\n this.buildSegments(this.inspectValue);\n this.cdr.markForCheck();\n }\n }\n\n public buildSegments(inspectValue: any) {\n this.segments = [];\n\n if (typeof inspectValue === 'object') {\n Object.keys(inspectValue).forEach(key => {\n this.segments.push(this.parseKeyValue(key, inspectValue[key]));\n });\n } else {\n this.segments.push(this.parseKeyValue(`(${ typeof inspectValue })`, inspectValue));\n }\n }\n\n public isExpandable(segment: Segment) {\n return segment.type === 'object' || segment.type === 'array';\n }\n\n public toggle(segment: Segment) {\n if (this.isExpandable(segment)) {\n segment.expanded = !segment.expanded;\n }\n }\n\n private parseKeyValue(key: any, value: any): Segment {\n const segment: Segment = {\n key: key,\n value: value,\n type: undefined,\n description: '' + value,\n expanded: this.expanded,\n };\n\n switch (typeof segment.value) {\n case 'number': {\n segment.type = 'number';\n break;\n }\n case 'boolean': {\n segment.type = 'boolean';\n break;\n }\n case 'function': {\n segment.type = 'function';\n break;\n }\n case 'string': {\n segment.type = 'string';\n segment.description = '\"' + segment.value + '\"';\n break;\n }\n case 'undefined': {\n segment.type = 'undefined';\n segment.description = 'undefined';\n break;\n }\n case 'object': {\n // yea, null is object\n if (segment.value === null) {\n segment.type = 'null';\n segment.description = 'null';\n } else if (Array.isArray(segment.value)) {\n segment.type = 'array';\n segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);\n } else if (segment.value instanceof Date) {\n segment.type = 'date';\n } else {\n segment.type = 'object';\n segment.description = 'Object ' + JSON.stringify(segment.value);\n }\n break;\n }\n }\n\n return segment;\n }\n\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n MatSnackBar,\n MatSnackBarModule,\n} from '@angular/material/snack-bar';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'rxap-copy-to-clipboard-button',\n templateUrl: './copy-to-clipboard-button.component.html',\n styleUrls: [ './copy-to-clipboard-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n MatButtonModule,\n ClipboardModule,\n MatIconModule,\n MatSnackBarModule,\n ],\n})\nexport class CopyToClipboardButtonComponent {\n @Input()\n public value = '';\n\n constructor(@Inject(MatSnackBar) private readonly snackbar: MatSnackBar) {\n }\n\n public copied() {\n this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {\n duration: 2500,\n });\n }\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { CopyToClipboardButtonComponent } from '../copy-to-clipboard-button/copy-to-clipboard-button.component';\nimport { NgIf } from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-copy-to-clipboard',\n templateUrl: './copy-to-clipboard.component.html',\n styleUrls: [ './copy-to-clipboard.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, NgIf, CopyToClipboardButtonComponent ],\n})\nexport class CopyToClipboardComponent {\n\n @Input() public active = true;\n @Input() public disabled = false;\n @Input({ required: true }) public value!: string;\n\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n} from '@angular/core';\nimport { ThemeService } from '@rxap/services';\nimport { MatIconModule } from '@angular/material/icon';\nimport { NgIf } from '@angular/common';\nimport { StopPropagationDirective } from '@rxap/directives';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'rxap-dark-mode-toggle-button',\n templateUrl: './dark-mode-toggle-button.component.html',\n styleUrls: [ './dark-mode-toggle-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n MatButtonModule,\n StopPropagationDirective,\n NgIf,\n MatIconModule,\n ],\n})\nexport class DarkModeToggleButtonComponent {\n constructor(\n @Inject(ThemeService)\n public readonly theme: ThemeService,\n ) {\n }\n}\n","<button (click)=\"theme.toggleDarkTheme()\" mat-icon-button rxapStopPropagation>\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-navigate-back-button',\n templateUrl: './navigate-back-button.component.html',\n styleUrls: [ './navigate-back-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { class: 'rxap-navigate-back-button' },\n standalone: true,\n imports: [ FlexModule, MatButtonModule, MatIconModule ],\n})\nexport class NavigateBackButtonComponent {\n\n public navigateBack() {\n window.history.back();\n }\n\n}\n","<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","// region confirm\n\nexport * from './lib/confirm/confirm.module';\nexport * from './lib/confirm/confirm.directive';\n\n// endregion\n\n\nexport * from './lib/empty-router-outlet/empty-router-outlet.component';\n\n// region json viewer\n\n\nexport * from './lib/json-viewer/json-viewer.component';\nexport * from './lib/json-viewer/json-viewer.tokens';\n\n// endregion\n\n// region copy to clipboard\n\n\nexport * from './lib/copy-to-clipboard/copy-to-clipboard.component';\n\n// endregion\n\n// region copy to clipboard button\n\nexport * from './lib/copy-to-clipboard-button/copy-to-clipboard-button.component';\n\n\n// endregion\n\n// region dark-mode-toggle-button\n\nexport * from './lib/dark-mode-toggle-button/dark-mode-toggle-button.component';\n\n\n// endregion\n\n// region navigate-back-button\n\nexport * from './lib/navigate-back-button/navigate-back-button.component';\n\n\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAkBa,gBAAgB,CAAA;AAR7B,IAAA,WAAA,GAAA;AAWS,QAAA,IAAA,CAAA,SAAS,GAAG,IAAI,YAAY,EAAQ,CAAC;AAGrC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAQ,CAAC;AAE/C,KAAA;8GARY,gBAAgB,EAAA,IAAA,EAAA,EAAA,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AAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,4IClBxC,kSAQA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDQa,UAAU,EAAE,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,eAAe,6QAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAE1C,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAVvC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,mBAGpB,uBAAuB,CAAC,MAAM,EAEzC,IAAA,EAAA,EAAE,KAAK,EAAE,2BAA2B,EAAE,EAChC,UAAA,EAAA,IAAI,WACP,CAAE,UAAU,EAAE,eAAe,EAAE,aAAa,CAAE,EAAA,QAAA,EAAA,kSAAA,EAAA,MAAA,EAAA,CAAA,2LAAA,CAAA,EAAA,CAAA;;;AEhBzD;AA4CA;;AC5CA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"rxap-components.mjs","sources":["../../../../../packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.ts","../../../../../packages/angular/components/src/lib/navigate-back-button/navigate-back-button.component.html","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.tokens.ts","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.component.ts","../../../../../packages/angular/components/src/lib/json-viewer/json-viewer.component.html","../../../../../packages/angular/components/src/lib/empty-router-outlet/empty-router-outlet.component.ts","../../../../../packages/angular/components/src/lib/empty-router-outlet/empty-router-outlet.component.html","../../../../../packages/angular/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts","../../../../../packages/angular/components/src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.html","../../../../../packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.ts","../../../../../packages/angular/components/src/lib/copy-to-clipboard/copy-to-clipboard.component.html","../../../../../packages/angular/components/src/lib/confirm/confirm.component.ts","../../../../../packages/angular/components/src/lib/confirm/confirm.component.html","../../../../../packages/angular/components/src/lib/confirm/confirm.directive.ts","../../../../../packages/angular/components/src/lib/confirm/confirm.module.ts","../../../../../packages/angular/components/src/index.ts","../../../../../packages/angular/components/src/rxap-components.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-navigate-back-button',\n templateUrl: './navigate-back-button.component.html',\n styleUrls: [ './navigate-back-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { class: 'rxap-navigate-back-button' },\n standalone: true,\n imports: [ FlexModule, MatButtonModule, MatIconModule ],\n})\nexport class NavigateBackButtonComponent {\n\n public navigateBack() {\n window.history.back();\n }\n\n}\n","<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","import { InjectionToken } from '@angular/core';\nimport {\n Observable,\n Subscription,\n} from 'rxjs';\nimport { ErrorStateMatcher } from '@angular/material/core';\nimport { SubscriptionHandler } from '@rxap/rxjs';\n\nexport const JSON_VIEW_IGNORED_PROPERTIES = new InjectionToken('rxap/form-system/inspector/ignored-properties', {\n providedIn: 'root',\n factory: () => [\n '_subscriptions',\n 'subscriptions',\n 'injector',\n /\\$$/,\n ],\n});\n\nexport const JSON_VIEW_IGNORED_TYPES = new InjectionToken('rxap/form-system/inspector/ignored-types', {\n providedIn: 'root',\n factory: () => [\n Observable,\n Promise,\n Subscription,\n SubscriptionHandler,\n ErrorStateMatcher,\n ],\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport {\n clone,\n isPromiseLike,\n} from '@rxap/utilities';\nimport {\n JSON_VIEW_IGNORED_PROPERTIES,\n JSON_VIEW_IGNORED_TYPES,\n} from './json-viewer.tokens';\nimport { isTeardownLogic } from '@rxap/rxjs';\nimport {\n NgClass,\n NgFor,\n NgIf,\n} from '@angular/common';\n\nexport interface Segment {\n key: string;\n value: any;\n type: undefined | string;\n description: string;\n expanded: boolean;\n}\n\n@Component({\n selector: 'rxap-json-viewer',\n templateUrl: './json-viewer.component.html',\n styleUrls: [ './json-viewer.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush, // eslint-disable-next-line @angular-eslint/no-host-metadata-property\n host: { class: 'rxap-json-viewer' },\n standalone: true,\n imports: [ NgFor, NgClass, NgIf, forwardRef(() => JsonViewerComponent) ],\n})\nexport class JsonViewerComponent implements OnInit, OnChanges {\n\n // TODO : add object input. The json input will not be cleaned\n @Input() public json: object | Record<string | number | symbol, unknown> = {};\n @Input() public expanded = false;\n\n public inspectValue: any;\n\n public ignoredProperties: Array<string | RegExp> = [];\n public ignoredTypes: any[] = [];\n\n public subscriptions = new Subscription();\n\n public segments: Segment[] = [];\n\n constructor(\n @Inject(JSON_VIEW_IGNORED_PROPERTIES) ignoredProperties: Array<string | RegExp | Array<string | RegExp>>,\n @Inject(JSON_VIEW_IGNORED_TYPES) ignoredTypes: Array<any | any[]>,\n @Inject(ChangeDetectorRef) public cdr: ChangeDetectorRef,\n ) {\n function flat(acc: any[], cur: any | any[]): any[] {\n if (Array.isArray(cur)) {\n acc.push(...cur.reduce(flat, []));\n } else {\n acc.push(cur);\n }\n\n return acc;\n }\n\n this.ignoredProperties = ignoredProperties.reduce(flat, []);\n this.ignoredTypes = ignoredTypes.reduce(flat, []);\n }\n\n public ngOnInit() {\n this.setInspectValue(this.json);\n }\n\n public ngOnChanges(changes: SimpleChanges): void {\n const jsonChange = changes['json'];\n if (jsonChange) {\n this.setInspectValue(jsonChange.currentValue);\n }\n }\n\n public cleanObject(obj: any, stack: any[] = []): any {\n if (typeof obj === 'string') {\n return obj;\n }\n if (stack.some(item => item === obj)) {\n return '__circular__';\n }\n stack = stack.slice();\n stack.unshift(obj);\n return Object\n .entries(obj)\n .filter(([ key, value ]) => !isPromiseLike(value))\n .filter(([ key, value ]) => !isTeardownLogic(value))\n .filter(([ key, value ]) => this.ignoredProperties.every(ip => typeof ip === 'string' ?\n key !== ip :\n !key.match(ip)))\n .filter(([ key, value ]) => [ ...this.ignoredTypes ].every(type => !(value instanceof type)))\n .map(([ key, value ]) => {\n if (value && typeof value === 'object') {\n if (Array.isArray(value)) {\n return [ key, value.map(item => this.cleanObject(item, stack)) ];\n }\n if (typeof value === 'object') {\n return [ key, this.cleanObject(value, stack) ];\n }\n }\n return [ key, value ];\n })\n .sort((a, b) => a[0].localeCompare(b[0]))\n .reduce((controlView, [ key, value ]) => ({\n ...controlView,\n [key]: value,\n }), {});\n }\n\n public setInspectValue(json: any): void {\n if (typeof json !== 'object' || json === null || json === undefined) {\n console.warn('The inspection value is not an object!');\n } else {\n json = clone(json);\n let inspectValue: any;\n if (typeof json['toJSON'] === 'function') {\n inspectValue = json.toJSON();\n } else {\n inspectValue = this.cleanObject(json);\n }\n this.inspectValue = inspectValue;\n this.buildSegments(this.inspectValue);\n this.cdr.markForCheck();\n }\n }\n\n public buildSegments(inspectValue: any) {\n this.segments = [];\n\n if (typeof inspectValue === 'object') {\n Object.keys(inspectValue).forEach(key => {\n this.segments.push(this.parseKeyValue(key, inspectValue[key]));\n });\n } else {\n this.segments.push(this.parseKeyValue(`(${ typeof inspectValue })`, inspectValue));\n }\n }\n\n public isExpandable(segment: Segment) {\n return segment.type === 'object' || segment.type === 'array';\n }\n\n public toggle(segment: Segment) {\n if (this.isExpandable(segment)) {\n segment.expanded = !segment.expanded;\n }\n }\n\n private parseKeyValue(key: any, value: any): Segment {\n const segment: Segment = {\n key: key,\n value: value,\n type: undefined,\n description: '' + value,\n expanded: this.expanded,\n };\n\n switch (typeof segment.value) {\n case 'number': {\n segment.type = 'number';\n break;\n }\n case 'boolean': {\n segment.type = 'boolean';\n break;\n }\n case 'function': {\n segment.type = 'function';\n break;\n }\n case 'string': {\n segment.type = 'string';\n segment.description = '\"' + segment.value + '\"';\n break;\n }\n case 'undefined': {\n segment.type = 'undefined';\n segment.description = 'undefined';\n break;\n }\n case 'object': {\n // yea, null is object\n if (segment.value === null) {\n segment.type = 'null';\n segment.description = 'null';\n } else if (Array.isArray(segment.value)) {\n segment.type = 'array';\n segment.description = 'Array[' + segment.value.length + '] ' + JSON.stringify(segment.value);\n } else if (segment.value instanceof Date) {\n segment.type = 'date';\n } else {\n segment.type = 'object';\n segment.description = 'Object ' + JSON.stringify(segment.value);\n }\n break;\n }\n }\n\n return segment;\n }\n\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n} from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n templateUrl: './empty-router-outlet.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ RouterOutlet ],\n})\nexport class EmptyRouterOutletComponent {\n}\n","<router-outlet></router-outlet>\n","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n MatSnackBar,\n MatSnackBarModule,\n} from '@angular/material/snack-bar';\nimport { MatIconModule } from '@angular/material/icon';\nimport { ClipboardModule } from '@angular/cdk/clipboard';\nimport { MatButtonModule } from '@angular/material/button';\n\n@Component({\n selector: 'rxap-copy-to-clipboard-button',\n templateUrl: './copy-to-clipboard-button.component.html',\n styleUrls: [ './copy-to-clipboard-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n MatButtonModule,\n ClipboardModule,\n MatIconModule,\n MatSnackBarModule,\n ],\n})\nexport class CopyToClipboardButtonComponent {\n @Input()\n public value = '';\n\n constructor(@Inject(MatSnackBar) private readonly snackbar: MatSnackBar) {\n }\n\n public copied() {\n this.snackbar.open('Erfolgreich in die Zwischenablage kopiert.', 'OK', {\n duration: 2500,\n });\n }\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport { CopyToClipboardButtonComponent } from '../copy-to-clipboard-button/copy-to-clipboard-button.component';\nimport { NgIf } from '@angular/common';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-copy-to-clipboard',\n templateUrl: './copy-to-clipboard.component.html',\n styleUrls: [ './copy-to-clipboard.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, NgIf, CopyToClipboardButtonComponent ],\n})\nexport class CopyToClipboardComponent {\n\n @Input() public active = true;\n @Input() public disabled = false;\n @Input({ required: true }) public value!: string;\n\n}\n","<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","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Output,\n} from '@angular/core';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\nimport { FlexModule } from '@angular/flex-layout';\n\n@Component({\n selector: 'rxap-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: [ './confirm.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [ FlexModule, MatButtonModule, MatIconModule ],\n})\nexport class ConfirmComponent {\n\n @Output()\n public confirmed = new EventEmitter<void>();\n\n @Output()\n public unconfirmed = new EventEmitter<void>();\n\n}\n","<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","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Inject,\n Input,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport {\n Overlay,\n OverlayRef,\n PositionStrategy,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n take,\n tap,\n} from 'rxjs/operators';\nimport { Subscription } from 'rxjs';\n\n@Directive({\n selector: '[rxapConfirm]',\n standalone: true,\n})\nexport class ConfirmDirective<T = any> implements OnDestroy {\n // use a set input to allow auto import detection if the eventValue\n // is not set\n @Input('rxapConfirm')\n public set eventValue(value: T | '') {\n if (value !== '') {\n this._eventValue = value;\n }\n }\n\n @Output()\n public confirmed = new EventEmitter<T | undefined>();\n\n @Output()\n public unconfirmed = new EventEmitter<T | undefined>();\n\n private subscription: Subscription | null = null;\n\n private overlayRef?: OverlayRef;\n\n private _eventValue?: T;\n\n protected positionStrategy?: PositionStrategy;\n\n protected isOverlyOpen = false;\n\n constructor(\n @Inject(Overlay)\n private readonly overlay: Overlay,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef,\n ) {\n this.positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.elementRef.nativeElement)\n .withPositions([\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n ])\n .withDefaultOffsetY(10);\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event?: Event) {\n this.openConfirmOverly();\n }\n\n public ngOnDestroy() {\n this.subscription?.unsubscribe();\n this.overlayRef?.dispose();\n }\n\n protected openConfirmOverly() {\n if (this.isOverlyOpen) {\n return;\n }\n this.isOverlyOpen = true;\n this.overlayRef = this.overlay.create({\n scrollStrategy: this.overlay.scrollStrategies.close(),\n positionStrategy: this.positionStrategy,\n });\n const componentPortal = new ComponentPortal(ConfirmComponent);\n const componentRef = this.overlayRef.attach(componentPortal);\n\n this.subscription?.unsubscribe();\n this.subscription = new Subscription();\n\n this.subscription.add(\n componentRef.instance.confirmed\n .pipe(\n take(1),\n tap(() => this.onConfirmed(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n\n this.subscription.add(\n componentRef.instance.unconfirmed\n .pipe(\n take(1),\n tap(() => this.onUnconfirmed(this._eventValue)),\n tap(() => this.overlayRef?.dispose()),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n\n this.subscription.add(\n this.overlayRef\n .detachments()\n .pipe(\n take(1),\n tap(() => this.isOverlyOpen = false),\n tap(() => (this.subscription = null)),\n tap(() => this.subscription?.unsubscribe()),\n )\n .subscribe(),\n );\n }\n\n protected onConfirmed(eventValue?: T) {\n this.confirmed.emit(eventValue);\n }\n\n protected onUnconfirmed(eventValue?: T) {\n this.unconfirmed.emit(eventValue);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { ConfirmComponent } from './confirm.component';\nimport { ConfirmDirective } from './confirm.directive';\n\n@NgModule({\n imports: [ ConfirmDirective, ConfirmComponent ],\n exports: [ ConfirmDirective ],\n})\nexport class ConfirmModule {}\n","// region navigate-back-button\nexport * from './lib/navigate-back-button/navigate-back-button.component';\n// endregion\n\n// region json-viewer\nexport * from './lib/json-viewer/json-viewer.component';\nexport * from './lib/json-viewer/json-viewer.tokens';\n// endregion\n\n// region empty-router-outlet\nexport * from './lib/empty-router-outlet/empty-router-outlet.component';\n// endregion\n\n// region copy-to-clipboard-button\nexport * from './lib/copy-to-clipboard-button/copy-to-clipboard-button.component';\n// endregion\n\n// region copy-to-clipboard\nexport * from './lib/copy-to-clipboard/copy-to-clipboard.component';\n// endregion\n\n// region confirm\nexport * from './lib/confirm/confirm.component';\nexport * from './lib/confirm/confirm.directive';\nexport * from './lib/confirm/confirm.module';\n// endregion\n","/**\n * Generated bund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
|
3
|
-
export * from './lib/empty-router-outlet/empty-router-outlet.component';
|
|
1
|
+
export * from './lib/navigate-back-button/navigate-back-button.component';
|
|
4
2
|
export * from './lib/json-viewer/json-viewer.component';
|
|
5
3
|
export * from './lib/json-viewer/json-viewer.tokens';
|
|
6
|
-
export * from './lib/
|
|
4
|
+
export * from './lib/empty-router-outlet/empty-router-outlet.component';
|
|
7
5
|
export * from './lib/copy-to-clipboard-button/copy-to-clipboard-button.component';
|
|
8
|
-
export * from './lib/
|
|
9
|
-
export * from './lib/
|
|
6
|
+
export * from './lib/copy-to-clipboard/copy-to-clipboard.component';
|
|
7
|
+
export * from './lib/confirm/confirm.component';
|
|
8
|
+
export * from './lib/confirm/confirm.directive';
|
|
9
|
+
export * from './lib/confirm/confirm.module';
|
|
@@ -3,4 +3,4 @@ import { Observable, Subscription } from 'rxjs';
|
|
|
3
3
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
4
4
|
import { SubscriptionHandler } from '@rxap/rxjs';
|
|
5
5
|
export declare const JSON_VIEW_IGNORED_PROPERTIES: InjectionToken<(string | RegExp)[]>;
|
|
6
|
-
export declare const JSON_VIEW_IGNORED_TYPES: InjectionToken<(typeof
|
|
6
|
+
export declare const JSON_VIEW_IGNORED_TYPES: InjectionToken<(typeof Observable | PromiseConstructor | typeof Subscription | typeof SubscriptionHandler | typeof ErrorStateMatcher)[]>;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "16.0.0-dev.
|
|
2
|
+
"version": "16.0.0-dev.19",
|
|
3
3
|
"name": "@rxap/components",
|
|
4
4
|
"description": "A collection of utility angular components used in RxAP.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
"@angular/flex-layout": "^15.0.0-beta.42",
|
|
14
14
|
"@angular/material": "^16.1.4",
|
|
15
15
|
"@angular/router": "^16.1.4",
|
|
16
|
-
"@rxap/directives": "^16.0.0-dev.16",
|
|
17
16
|
"@rxap/rxjs": "^1.0.1-dev.11",
|
|
18
|
-
"@rxap/services": "^16.0.0-dev.16",
|
|
19
17
|
"@rxap/utilities": "^16.0.0-dev.19",
|
|
20
18
|
"rxjs": "^7.8.0"
|
|
21
19
|
},
|
|
@@ -48,7 +46,7 @@
|
|
|
48
46
|
},
|
|
49
47
|
{
|
|
50
48
|
"package": "@rxap/services",
|
|
51
|
-
"version": "16.0.0-dev.
|
|
49
|
+
"version": "16.0.0-dev.17"
|
|
52
50
|
},
|
|
53
51
|
{
|
|
54
52
|
"package": "@rxap/utilities",
|
|
@@ -66,7 +64,7 @@
|
|
|
66
64
|
"directory": "packages/angular/components"
|
|
67
65
|
},
|
|
68
66
|
"sideEffects": false,
|
|
69
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "7a4325374c1fae4c0b0064220d17e0052917370a",
|
|
70
68
|
"module": "fesm2022/rxap-components.mjs",
|
|
71
69
|
"typings": "index.d.ts",
|
|
72
70
|
"exports": {
|
package/theme.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.visible{visibility:visible}.static{position:static}.
|
|
1
|
+
.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.flex{display:flex}.contents{display:contents}.hidden{display:none}.grow-0{flex-grow:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-8{gap:2rem}.capitalize{text-transform:capitalize}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:text-black){--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Inject, } from '@angular/core';
|
|
2
|
-
import { ThemeService } from '@rxap/services';
|
|
3
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
-
import { NgIf } from '@angular/common';
|
|
5
|
-
import { StopPropagationDirective } from '@rxap/directives';
|
|
6
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/material/button";
|
|
9
|
-
import * as i2 from "@angular/material/icon";
|
|
10
|
-
import * as i3 from "@rxap/services";
|
|
11
|
-
export class DarkModeToggleButtonComponent {
|
|
12
|
-
constructor(theme) {
|
|
13
|
-
this.theme = theme;
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DarkModeToggleButtonComponent, deps: [{ token: ThemeService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: DarkModeToggleButtonComponent, isStandalone: true, selector: "rxap-dark-mode-toggle-button", ngImport: i0, template: "<button (click)=\"theme.toggleDarkTheme()\" mat-icon-button rxapStopPropagation>\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.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: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: DarkModeToggleButtonComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'rxap-dark-mode-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
21
|
-
MatButtonModule,
|
|
22
|
-
StopPropagationDirective,
|
|
23
|
-
NgIf,
|
|
24
|
-
MatIconModule,
|
|
25
|
-
], template: "<button (click)=\"theme.toggleDarkTheme()\" mat-icon-button rxapStopPropagation>\n <mat-icon *ngIf=\"theme.darkMode\">brightness_2</mat-icon>\n <mat-icon *ngIf=\"!theme.darkMode\">brightness_5</mat-icon>\n</button>\n" }]
|
|
26
|
-
}], ctorParameters: function () { return [{ type: i3.ThemeService, decorators: [{
|
|
27
|
-
type: Inject,
|
|
28
|
-
args: [ThemeService]
|
|
29
|
-
}] }]; } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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IHRydWUsXG4gIGltcG9ydHM6IFtcbiAgICBNYXRCdXR0b25Nb2R1bGUsXG4gICAgU3RvcFByb3BhZ2F0aW9uRGlyZWN0aXZlLFxuICAgIE5nSWYsXG4gICAgTWF0SWNvbk1vZHVsZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFya01vZGVUb2dnbGVCdXR0b25Db21wb25lbnQge1xuICBjb25zdHJ1Y3RvcihcbiAgICBASW5qZWN0KFRoZW1lU2VydmljZSlcbiAgICBwdWJsaWMgcmVhZG9ubHkgdGhlbWU6IFRoZW1lU2VydmljZSxcbiAgKSB7XG4gIH1cbn1cbiIsIjxidXR0b24gKGNsaWNrKT1cInRoZW1lLnRvZ2dsZURhcmtUaGVtZSgpXCIgbWF0LWljb24tYnV0dG9uIHJ4YXBTdG9wUHJvcGFnYXRpb24+XG4gIDxtYXQtaWNvbiAqbmdJZj1cInRoZW1lLmRhcmtNb2RlXCI+YnJpZ2h0bmVzc18yPC9tYXQtaWNvbj5cbiAgPG1hdC1pY29uICpuZ0lmPVwiIXRoZW1lLmRhcmtNb2RlXCI+YnJpZ2h0bmVzc181PC9tYXQtaWNvbj5cbjwvYnV0dG9uPlxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ThemeService } from '@rxap/services';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DarkModeToggleButtonComponent {
|
|
4
|
-
readonly theme: ThemeService;
|
|
5
|
-
constructor(theme: ThemeService);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DarkModeToggleButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DarkModeToggleButtonComponent, "rxap-dark-mode-toggle-button", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|