@rxap/components 19.2.0-dev.0 → 21.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/compodoc/changelog.html +20 -0
- package/compodoc/components/CopyToClipboardComponent.html +11 -14
- package/compodoc/components/JsonViewerComponent.html +42 -41
- package/compodoc/dependencies.html +9 -9
- package/compodoc/interfaces/Segment.html +2 -6
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +463 -403
- package/docs/html/classes/ConfirmComponent.html +2 -2
- package/docs/html/classes/ConfirmDirective.html +3 -3
- package/docs/html/classes/ConfirmModule.html +2 -2
- package/docs/html/classes/CopyToClipboardButtonComponent.html +2 -2
- package/docs/html/classes/CopyToClipboardComponent.html +2 -2
- package/docs/html/classes/EmptyRouterOutletComponent.html +2 -2
- package/docs/html/classes/JsonViewerComponent.html +5 -5
- package/docs/html/classes/NavigateBackButtonComponent.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/Segment.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +1 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ConfirmComponent.md +4 -4
- package/docs/markdown/classes/ConfirmDirective.md +15 -15
- package/docs/markdown/classes/ConfirmModule.md +2 -2
- package/docs/markdown/classes/CopyToClipboardButtonComponent.md +4 -4
- package/docs/markdown/classes/CopyToClipboardComponent.md +9 -9
- package/docs/markdown/classes/EmptyRouterOutletComponent.md +2 -2
- package/docs/markdown/classes/JsonViewerComponent.md +18 -20
- package/docs/markdown/classes/NavigateBackButtonComponent.md +3 -3
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Segment.md +7 -7
- package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
- package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
- package/docs/wiki/Class.ConfirmComponent.md +3 -3
- package/docs/wiki/Class.ConfirmDirective.md +14 -14
- package/docs/wiki/Class.ConfirmModule.md +1 -1
- package/docs/wiki/Class.CopyToClipboardButtonComponent.md +3 -3
- package/docs/wiki/Class.CopyToClipboardComponent.md +8 -8
- package/docs/wiki/Class.EmptyRouterOutletComponent.md +1 -1
- package/docs/wiki/Class.JsonViewerComponent.md +17 -19
- package/docs/wiki/Class.NavigateBackButtonComponent.md +2 -2
- package/docs/wiki/Interface.Segment.md +6 -6
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-components.mjs +38 -38
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/package.json +23 -22
- package/types/rxap-components.d.ts +106 -0
- package/index.d.ts +0 -9
- package/lib/confirm/confirm.component.d.ts +0 -8
- package/lib/confirm/confirm.directive.d.ts +0 -23
- package/lib/confirm/confirm.module.d.ts +0 -8
- package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +0 -12
- package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +0 -8
- package/lib/empty-router-outlet/empty-router-outlet.component.d.ts +0 -5
- package/lib/json-viewer/json-viewer.component.d.ts +0 -31
- package/lib/json-viewer/json-viewer.tokens.d.ts +0 -6
- package/lib/navigate-back-button/navigate-back-button.component.d.ts +0 -6
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, InjectionToken, EventEmitter, OnDestroy, ElementRef } from '@angular/core';
|
|
3
|
+
import { Subscription, Observable } from 'rxjs';
|
|
4
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
5
|
+
import { SubscriptionHandler } from '@rxap/rxjs';
|
|
6
|
+
import { Overlay, PositionStrategy } from '@angular/cdk/overlay';
|
|
7
|
+
|
|
8
|
+
declare class NavigateBackButtonComponent {
|
|
9
|
+
navigateBack(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateBackButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigateBackButtonComponent, "rxap-navigate-back-button", never, {}, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface Segment {
|
|
15
|
+
key: string;
|
|
16
|
+
value: any;
|
|
17
|
+
type: undefined | string;
|
|
18
|
+
description: string;
|
|
19
|
+
expanded: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare class JsonViewerComponent implements OnInit, OnChanges {
|
|
22
|
+
cdr: ChangeDetectorRef;
|
|
23
|
+
json: object | Record<string | number | symbol, unknown>;
|
|
24
|
+
expanded: boolean;
|
|
25
|
+
inspectValue: any;
|
|
26
|
+
ignoredProperties: Array<string | RegExp>;
|
|
27
|
+
ignoredTypes: any[];
|
|
28
|
+
subscriptions: Subscription;
|
|
29
|
+
segments: Segment[];
|
|
30
|
+
constructor(ignoredProperties: Array<string | RegExp | Array<string | RegExp>>, ignoredTypes: Array<any | any[]>, cdr: ChangeDetectorRef);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
cleanObject(obj: any, stack?: any[]): any;
|
|
34
|
+
setInspectValue(json: any): void;
|
|
35
|
+
buildSegments(inspectValue: any): void;
|
|
36
|
+
isExpandable(segment: Segment): boolean;
|
|
37
|
+
toggle(segment: Segment): void;
|
|
38
|
+
private parseKeyValue;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonViewerComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "rxap-json-viewer", never, { "json": { "alias": "json"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare const JSON_VIEW_IGNORED_PROPERTIES: InjectionToken<(string | RegExp)[]>;
|
|
44
|
+
declare const JSON_VIEW_IGNORED_TYPES: InjectionToken<(typeof Observable | PromiseConstructor | typeof Subscription | typeof SubscriptionHandler | typeof ErrorStateMatcher)[]>;
|
|
45
|
+
|
|
46
|
+
declare class EmptyRouterOutletComponent {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyRouterOutletComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyRouterOutletComponent, "rxap-empty-router-outlet", never, {}, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class CopyToClipboardButtonComponent {
|
|
52
|
+
readonly value: i0.InputSignal<string>;
|
|
53
|
+
private readonly snackbar;
|
|
54
|
+
copied(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardButtonComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardButtonComponent, "rxap-copy-to-clipboard-button", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare class CopyToClipboardComponent {
|
|
60
|
+
readonly active: i0.InputSignal<boolean>;
|
|
61
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
62
|
+
readonly value: i0.InputSignal<string>;
|
|
63
|
+
readonly containerClass: i0.InputSignal<string>;
|
|
64
|
+
readonly position: i0.InputSignal<"before" | "after">;
|
|
65
|
+
readonly isPositionBefore: i0.Signal<boolean>;
|
|
66
|
+
readonly isPositionAfter: i0.Signal<boolean>;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardComponent, "rxap-copy-to-clipboard", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class ConfirmComponent {
|
|
72
|
+
confirmed: EventEmitter<void>;
|
|
73
|
+
unconfirmed: EventEmitter<void>;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "rxap-confirm", never, {}, { "confirmed": "confirmed"; "unconfirmed": "unconfirmed"; }, never, never, true, never>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class ConfirmDirective<T = any> implements OnDestroy {
|
|
79
|
+
protected readonly overlay: Overlay;
|
|
80
|
+
protected readonly elementRef: ElementRef;
|
|
81
|
+
set eventValue(value: T | '');
|
|
82
|
+
confirmed: EventEmitter<T | undefined>;
|
|
83
|
+
unconfirmed: EventEmitter<T | undefined>;
|
|
84
|
+
private subscription;
|
|
85
|
+
private overlayRef?;
|
|
86
|
+
private _eventValue?;
|
|
87
|
+
protected positionStrategy?: PositionStrategy;
|
|
88
|
+
protected isOverlyOpen: boolean;
|
|
89
|
+
constructor(overlay: Overlay, elementRef: ElementRef);
|
|
90
|
+
onClick($event?: Event): void;
|
|
91
|
+
ngOnDestroy(): void;
|
|
92
|
+
protected openConfirmOverly(): void;
|
|
93
|
+
protected onConfirmed(eventValue?: T): void;
|
|
94
|
+
protected onUnconfirmed(eventValue?: T): void;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDirective<any>, never>;
|
|
96
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmDirective<any>, "[rxapConfirm]", never, { "eventValue": { "alias": "rxapConfirm"; "required": false; }; }, { "confirmed": "confirmed"; "unconfirmed": "unconfirmed"; }, never, never, true, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare class ConfirmModule {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmModule, never>;
|
|
101
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmModule, never, [typeof ConfirmDirective, typeof ConfirmComponent], [typeof ConfirmDirective]>;
|
|
102
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmModule>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { ConfirmComponent, ConfirmDirective, ConfirmModule, CopyToClipboardButtonComponent, CopyToClipboardComponent, EmptyRouterOutletComponent, JSON_VIEW_IGNORED_PROPERTIES, JSON_VIEW_IGNORED_TYPES, JsonViewerComponent, NavigateBackButtonComponent };
|
|
106
|
+
export type { Segment };
|
package/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './lib/navigate-back-button/navigate-back-button.component';
|
|
2
|
-
export * from './lib/json-viewer/json-viewer.component';
|
|
3
|
-
export * from './lib/json-viewer/json-viewer.tokens';
|
|
4
|
-
export * from './lib/empty-router-outlet/empty-router-outlet.component';
|
|
5
|
-
export * from './lib/copy-to-clipboard-button/copy-to-clipboard-button.component';
|
|
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';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConfirmComponent {
|
|
4
|
-
confirmed: EventEmitter<void>;
|
|
5
|
-
unconfirmed: EventEmitter<void>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmComponent, "rxap-confirm", never, {}, { "confirmed": "confirmed"; "unconfirmed": "unconfirmed"; }, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Overlay, PositionStrategy } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ConfirmDirective<T = any> implements OnDestroy {
|
|
5
|
-
protected readonly overlay: Overlay;
|
|
6
|
-
protected readonly elementRef: ElementRef;
|
|
7
|
-
set eventValue(value: T | '');
|
|
8
|
-
confirmed: EventEmitter<T | undefined>;
|
|
9
|
-
unconfirmed: EventEmitter<T | undefined>;
|
|
10
|
-
private subscription;
|
|
11
|
-
private overlayRef?;
|
|
12
|
-
private _eventValue?;
|
|
13
|
-
protected positionStrategy?: PositionStrategy;
|
|
14
|
-
protected isOverlyOpen: boolean;
|
|
15
|
-
constructor(overlay: Overlay, elementRef: ElementRef);
|
|
16
|
-
onClick($event?: Event): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
protected openConfirmOverly(): void;
|
|
19
|
-
protected onConfirmed(eventValue?: T): void;
|
|
20
|
-
protected onUnconfirmed(eventValue?: T): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDirective<any>, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmDirective<any>, "[rxapConfirm]", never, { "eventValue": { "alias": "rxapConfirm"; "required": false; }; }, { "confirmed": "confirmed"; "unconfirmed": "unconfirmed"; }, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./confirm.directive";
|
|
3
|
-
import * as i2 from "./confirm.component";
|
|
4
|
-
export declare class ConfirmModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmModule, never, [typeof i1.ConfirmDirective, typeof i2.ConfirmComponent], [typeof i1.ConfirmDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmModule>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CopyToClipboardComponent {
|
|
3
|
-
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
5
|
-
readonly value: import("@angular/core").InputSignal<string>;
|
|
6
|
-
readonly containerClass: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly position: import("@angular/core").InputSignal<"before" | "after">;
|
|
8
|
-
readonly isPositionBefore: import("@angular/core").Signal<boolean>;
|
|
9
|
-
readonly isPositionAfter: import("@angular/core").Signal<boolean>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardComponent, "rxap-copy-to-clipboard", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CopyToClipboardButtonComponent {
|
|
3
|
-
readonly value: import("@angular/core").InputSignal<string>;
|
|
4
|
-
private readonly snackbar;
|
|
5
|
-
copied(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardButtonComponent, "rxap-copy-to-clipboard-button", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class EmptyRouterOutletComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyRouterOutletComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyRouterOutletComponent, "rxap-empty-router-outlet", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface Segment {
|
|
5
|
-
key: string;
|
|
6
|
-
value: any;
|
|
7
|
-
type: undefined | string;
|
|
8
|
-
description: string;
|
|
9
|
-
expanded: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class JsonViewerComponent implements OnInit, OnChanges {
|
|
12
|
-
cdr: ChangeDetectorRef;
|
|
13
|
-
json: object | Record<string | number | symbol, unknown>;
|
|
14
|
-
expanded: boolean;
|
|
15
|
-
inspectValue: any;
|
|
16
|
-
ignoredProperties: Array<string | RegExp>;
|
|
17
|
-
ignoredTypes: any[];
|
|
18
|
-
subscriptions: Subscription;
|
|
19
|
-
segments: Segment[];
|
|
20
|
-
constructor(ignoredProperties: Array<string | RegExp | Array<string | RegExp>>, ignoredTypes: Array<any | any[]>, cdr: ChangeDetectorRef);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
cleanObject(obj: any, stack?: any[]): any;
|
|
24
|
-
setInspectValue(json: any): void;
|
|
25
|
-
buildSegments(inspectValue: any): void;
|
|
26
|
-
isExpandable(segment: Segment): boolean;
|
|
27
|
-
toggle(segment: Segment): void;
|
|
28
|
-
private parseKeyValue;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JsonViewerComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "rxap-json-viewer", never, { "json": { "alias": "json"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { Observable, Subscription } from 'rxjs';
|
|
3
|
-
import { ErrorStateMatcher } from '@angular/material/core';
|
|
4
|
-
import { SubscriptionHandler } from '@rxap/rxjs';
|
|
5
|
-
export declare const JSON_VIEW_IGNORED_PROPERTIES: InjectionToken<(string | RegExp)[]>;
|
|
6
|
-
export declare const JSON_VIEW_IGNORED_TYPES: InjectionToken<(typeof Observable | PromiseConstructor | typeof Subscription | typeof SubscriptionHandler | typeof ErrorStateMatcher)[]>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class NavigateBackButtonComponent {
|
|
3
|
-
navigateBack(): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateBackButtonComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigateBackButtonComponent, "rxap-navigate-back-button", never, {}, {}, never, ["*"], true, never>;
|
|
6
|
-
}
|