@rxap/directives 21.0.1-dev.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/compodoc/changelog.html +37 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/directives/AvatarBackgroundImageDirective.html +216 -386
- package/compodoc/directives/BackgroundImageDirective.html +230 -243
- package/compodoc/directives/ConfirmClick.html +466 -0
- package/compodoc/directives/ContenteditableDirective.html +137 -373
- package/compodoc/directives/FullWidthDirective.html +8 -139
- package/compodoc/directives/IfTruthyDirective.html +136 -182
- package/compodoc/directives/IsDevModeDirective.html +4 -74
- package/compodoc/directives/MethodDirective.html +272 -346
- package/compodoc/directives/MethodTemplateDirective.html +736 -697
- package/compodoc/directives/MovableDividerDirective.html +103 -243
- package/compodoc/directives/PreventDefaultDirective.html +6 -65
- package/compodoc/directives/ShareButtonDirective.html +14 -62
- package/compodoc/directives/StopImmediatePropagationDirective.html +6 -65
- package/compodoc/directives/StopPropagationDirective.html +6 -65
- package/compodoc/injectables/ShareService.html +6 -5
- package/compodoc/interfaces/ContenteditableEvent.html +25 -32
- package/compodoc/interfaces/IfTruthyDirectiveTemplateContext.html +22 -36
- package/compodoc/interfaces/MethodTemplateDirectiveContext.html +42 -66
- package/compodoc/interfaces/MethodTemplateDirectiveErrorContext.html +42 -66
- package/compodoc/interfaces/ShareData.html +3 -2
- package/compodoc/js/menu-wc.js +3 -3
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/overview.html +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2432 -3183
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AvatarBackgroundImageDirective.html +9 -16
- package/docs/html/classes/BackgroundImageDirective.html +8 -17
- package/docs/html/classes/ConfirmClick.html +3 -3
- package/docs/html/classes/ContenteditableDirective.html +8 -7
- package/docs/html/classes/FullWidthDirective.html +2 -3
- package/docs/html/classes/IfTruthyDirective.html +3 -9
- package/docs/html/classes/IsDevModeDirective.html +4 -4
- package/docs/html/classes/MethodDirective.html +8 -7
- package/docs/html/classes/MethodTemplateDirective.html +10 -15
- package/docs/html/classes/MovableDividerDirective.html +3 -13
- package/docs/html/classes/PreventDefaultDirective.html +2 -2
- package/docs/html/classes/ShareButtonDirective.html +2 -2
- package/docs/html/classes/ShareService.html +2 -2
- package/docs/html/classes/StopImmediatePropagationDirective.html +2 -2
- package/docs/html/classes/StopPropagationDirective.html +2 -2
- package/docs/html/enums/BackgroundPositionOptions.html +2 -2
- package/docs/html/enums/BackgroundRepeatOptions.html +2 -2
- package/docs/html/enums/BackgroundSizeOptions.html +2 -2
- package/docs/html/enums/GlobalStyleOptions.html +2 -2
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ContenteditableEvent.html +2 -2
- package/docs/html/interfaces/IfTruthyDirectiveTemplateContext.html +2 -2
- package/docs/html/interfaces/MethodTemplateDirectiveContext.html +2 -2
- package/docs/html/interfaces/MethodTemplateDirectiveErrorContext.html +2 -2
- package/docs/html/interfaces/ShareData.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/BackgroundPosition.html +1 -1
- package/docs/html/types/BackgroundRepeat.html +1 -1
- package/docs/html/types/BackgroundSize.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AvatarBackgroundImageDirective.md +40 -101
- package/docs/markdown/classes/BackgroundImageDirective.md +24 -81
- package/docs/markdown/classes/ConfirmClick.md +8 -20
- package/docs/markdown/classes/ContenteditableDirective.md +21 -34
- package/docs/markdown/classes/FullWidthDirective.md +2 -10
- package/docs/markdown/classes/IfTruthyDirective.md +14 -69
- package/docs/markdown/classes/IsDevModeDirective.md +5 -17
- package/docs/markdown/classes/MethodDirective.md +40 -44
- package/docs/markdown/classes/MethodTemplateDirective.md +50 -84
- package/docs/markdown/classes/MovableDividerDirective.md +11 -71
- package/docs/markdown/classes/PreventDefaultDirective.md +3 -3
- package/docs/markdown/classes/ShareButtonDirective.md +9 -9
- package/docs/markdown/classes/ShareService.md +4 -4
- package/docs/markdown/classes/StopImmediatePropagationDirective.md +3 -3
- package/docs/markdown/classes/StopPropagationDirective.md +3 -3
- package/docs/markdown/enumerations/BackgroundPositionOptions.md +4 -4
- package/docs/markdown/enumerations/BackgroundRepeatOptions.md +3 -3
- package/docs/markdown/enumerations/BackgroundSizeOptions.md +5 -5
- package/docs/markdown/enumerations/GlobalStyleOptions.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ContenteditableEvent.md +4 -4
- package/docs/markdown/interfaces/IfTruthyDirectiveTemplateContext.md +3 -3
- package/docs/markdown/interfaces/MethodTemplateDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/MethodTemplateDirectiveErrorContext.md +4 -4
- package/docs/markdown/interfaces/ShareData.md +6 -6
- package/docs/markdown/type-aliases/BackgroundPosition.md +2 -2
- package/docs/markdown/type-aliases/BackgroundRepeat.md +2 -2
- package/docs/markdown/type-aliases/BackgroundSize.md +2 -2
- package/docs/wiki/Class.AvatarBackgroundImageDirective.md +39 -100
- package/docs/wiki/Class.BackgroundImageDirective.md +23 -80
- package/docs/wiki/Class.ConfirmClick.md +7 -19
- package/docs/wiki/Class.ContenteditableDirective.md +20 -33
- package/docs/wiki/Class.FullWidthDirective.md +1 -9
- package/docs/wiki/Class.IfTruthyDirective.md +13 -68
- package/docs/wiki/Class.IsDevModeDirective.md +4 -16
- package/docs/wiki/Class.MethodDirective.md +39 -43
- package/docs/wiki/Class.MethodTemplateDirective.md +49 -83
- package/docs/wiki/Class.MovableDividerDirective.md +10 -70
- package/docs/wiki/Class.PreventDefaultDirective.md +2 -2
- package/docs/wiki/Class.ShareButtonDirective.md +8 -8
- package/docs/wiki/Class.ShareService.md +3 -3
- package/docs/wiki/Class.StopImmediatePropagationDirective.md +2 -2
- package/docs/wiki/Class.StopPropagationDirective.md +2 -2
- package/docs/wiki/Enumeration.BackgroundPositionOptions.md +3 -3
- package/docs/wiki/Enumeration.BackgroundRepeatOptions.md +2 -2
- package/docs/wiki/Enumeration.BackgroundSizeOptions.md +4 -4
- package/docs/wiki/Enumeration.GlobalStyleOptions.md +3 -3
- package/docs/wiki/Interface.ContenteditableEvent.md +3 -3
- package/docs/wiki/Interface.IfTruthyDirectiveTemplateContext.md +2 -2
- package/docs/wiki/Interface.MethodTemplateDirectiveContext.md +2 -2
- package/docs/wiki/Interface.MethodTemplateDirectiveErrorContext.md +3 -3
- package/docs/wiki/Interface.ShareData.md +5 -5
- package/docs/wiki/TypeAlias.BackgroundPosition.md +1 -1
- package/docs/wiki/TypeAlias.BackgroundRepeat.md +1 -1
- package/docs/wiki/TypeAlias.BackgroundSize.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-directives.mjs +259 -360
- package/fesm2022/rxap-directives.mjs.map +1 -1
- package/package.json +9 -9
- package/types/rxap-directives.d.ts +104 -102
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import { ImageLoaderService, AvatarImageService } from '@rxap/services';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
4
3
|
import { Method } from '@rxap/pattern';
|
|
5
4
|
import { ToggleSubject } from '@rxap/rxjs';
|
|
6
5
|
|
|
@@ -23,46 +22,54 @@ declare enum BackgroundPositionOptions {
|
|
|
23
22
|
CENTER_CENTER = "center center"
|
|
24
23
|
}
|
|
25
24
|
type BackgroundPosition = GlobalStyleOptions | BackgroundPositionOptions | string;
|
|
26
|
-
declare class BackgroundImageDirective
|
|
25
|
+
declare class BackgroundImageDirective {
|
|
27
26
|
private readonly host;
|
|
28
27
|
private readonly renderer;
|
|
29
28
|
private readonly imageLoader;
|
|
30
|
-
imageUrl: string | null | undefined
|
|
31
|
-
placeholderImageUrl: string
|
|
32
|
-
size
|
|
33
|
-
repeat
|
|
34
|
-
position
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
readonly imageUrl: _angular_core.InputSignal<string | null | undefined>;
|
|
30
|
+
readonly placeholderImageUrl: _angular_core.InputSignal<string | null | undefined>;
|
|
31
|
+
readonly size: _angular_core.InputSignal<string | null | undefined>;
|
|
32
|
+
readonly repeat: _angular_core.InputSignal<BackgroundRepeat | null | undefined>;
|
|
33
|
+
readonly position: _angular_core.InputSignal<string | null | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The placeholder url that is used until the image is loaded. Derived
|
|
36
|
+
* directives can override this to provide a fallback.
|
|
37
|
+
*/
|
|
38
|
+
protected readonly placeholder: _angular_core.Signal<string | null | undefined>;
|
|
39
|
+
constructor();
|
|
40
|
+
private applyStyle;
|
|
38
41
|
private repeatChange;
|
|
39
42
|
private positionChange;
|
|
40
43
|
private sizeChange;
|
|
41
44
|
private _latestImageUrl;
|
|
42
45
|
private imageUrlChange;
|
|
43
|
-
static ɵfac:
|
|
44
|
-
static ɵdir:
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BackgroundImageDirective, never>;
|
|
47
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[rxapBackgroundImage]", never, { "imageUrl": { "alias": "rxapBackgroundImage"; "required": false; "isSignal": true; }; "placeholderImageUrl": { "alias": "placeholderImageUrl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "repeat": { "alias": "repeat"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
declare class AvatarBackgroundImageDirective extends BackgroundImageDirective {
|
|
48
51
|
private readonly avatarImage;
|
|
49
|
-
imageUrl: string | null | undefined
|
|
50
|
-
size:
|
|
51
|
-
repeat:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
readonly imageUrl: _angular_core.InputSignal<string | null | undefined>;
|
|
53
|
+
readonly size: _angular_core.InputSignal<string | null | undefined>;
|
|
54
|
+
readonly repeat: _angular_core.InputSignal<BackgroundRepeat | null | undefined>;
|
|
55
|
+
readonly position: _angular_core.InputSignal<string | null | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The name used to generate a placeholder avatar if no explicit
|
|
58
|
+
* placeholderImageUrl is provided.
|
|
59
|
+
*/
|
|
60
|
+
readonly name: _angular_core.InputSignal<string | null | undefined>;
|
|
61
|
+
protected readonly placeholder: _angular_core.Signal<string | undefined>;
|
|
62
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarBackgroundImageDirective, never>;
|
|
63
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AvatarBackgroundImageDirective, "[rxapAvatarBackgroundImage]", never, { "imageUrl": { "alias": "rxapAvatarBackgroundImage"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "repeat": { "alias": "repeat"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
declare abstract class ConfirmClick {
|
|
59
|
-
|
|
60
|
-
set hasConfirmDirective(value: any);
|
|
67
|
+
readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
61
68
|
onClick(): void;
|
|
62
69
|
onConfirm(): void;
|
|
63
70
|
protected abstract execute(): void;
|
|
64
|
-
static ɵfac:
|
|
65
|
-
static
|
|
71
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConfirmClick, never>;
|
|
72
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ConfirmClick, never, never, { "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
73
|
}
|
|
67
74
|
|
|
68
75
|
interface ContenteditableEvent {
|
|
@@ -71,37 +78,36 @@ interface ContenteditableEvent {
|
|
|
71
78
|
}
|
|
72
79
|
declare class ContenteditableDirective {
|
|
73
80
|
private readonly elementRef;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
readonly method: _angular_core.InputSignal<Method<any, ContenteditableEvent> | undefined>;
|
|
82
|
+
readonly change: _angular_core.OutputEmitterRef<ContenteditableEvent>;
|
|
83
|
+
readonly parameters: _angular_core.InputSignal<any>;
|
|
84
|
+
readonly initialValue: _angular_core.InputSignal<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The last known good value. Follows the bound `initial` input and is
|
|
87
|
+
* updated after a successful save.
|
|
88
|
+
*/
|
|
89
|
+
readonly initial: _angular_core.WritableSignal<string | undefined>;
|
|
81
90
|
onClick($event: Event): void;
|
|
82
91
|
onInput($event: any): Promise<void>;
|
|
83
|
-
static ɵfac:
|
|
84
|
-
static ɵdir:
|
|
92
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContenteditableDirective, never>;
|
|
93
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ContenteditableDirective, "[rxapContenteditable]", never, { "method": { "alias": "rxapContenteditable"; "required": false; "isSignal": true; }; "parameters": { "alias": "parameters"; "required": false; "isSignal": true; }; "initialValue": { "alias": "initial"; "required": false; "isSignal": true; }; }, { "change": "rxapContenteditable"; }, never, never, true, never>;
|
|
85
94
|
}
|
|
86
95
|
|
|
87
96
|
declare class FullWidthDirective {
|
|
88
|
-
|
|
89
|
-
static
|
|
90
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FullWidthDirective, "[rxapFullWidth]", never, {}, {}, never, never, true, never>;
|
|
97
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FullWidthDirective, never>;
|
|
98
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FullWidthDirective, "[rxapFullWidth]", never, {}, {}, never, never, true, never>;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
interface IfTruthyDirectiveTemplateContext<Data> {
|
|
94
102
|
$implicit: Data;
|
|
95
103
|
}
|
|
96
|
-
declare class IfTruthyDirective<Data, Parameters = any>
|
|
104
|
+
declare class IfTruthyDirective<Data, Parameters = any> {
|
|
97
105
|
private readonly templateRef;
|
|
98
106
|
private readonly viewContainerRef;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
trackBy: (data: Data) => any;
|
|
107
|
+
readonly method: _angular_core.InputSignal<Method<Data, Parameters>>;
|
|
108
|
+
readonly parameters: _angular_core.InputSignal<Parameters>;
|
|
109
|
+
readonly trackBy: _angular_core.InputSignal<((data: Data) => any) | undefined>;
|
|
103
110
|
private _last?;
|
|
104
|
-
constructor(templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
105
111
|
/**
|
|
106
112
|
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
107
113
|
*
|
|
@@ -109,22 +115,21 @@ declare class IfTruthyDirective<Data, Parameters = any> implements OnChanges {
|
|
|
109
115
|
* `NgForOf` structural directive renders its template with a specific context type.
|
|
110
116
|
*/
|
|
111
117
|
static ngTemplateContextGuard<T>(dir: IfTruthyDirective<T>, ctx: any): ctx is IfTruthyDirectiveTemplateContext<T>;
|
|
112
|
-
|
|
118
|
+
constructor();
|
|
113
119
|
protected execute(): Promise<void>;
|
|
114
120
|
protected hasChanged(current: Data): boolean;
|
|
115
|
-
static ɵfac:
|
|
116
|
-
static ɵdir:
|
|
121
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IfTruthyDirective<any, any>, never>;
|
|
122
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IfTruthyDirective<any, any>, "[rxapIfTruthy]", never, { "method": { "alias": "rxapIfTruthy"; "required": true; "isSignal": true; }; "parameters": { "alias": "rxapIfTruthyParameters"; "required": true; "isSignal": true; }; "trackBy": { "alias": "rxapIfTruthyTrackBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
declare class IsDevModeDirective implements OnInit, OnDestroy {
|
|
120
126
|
private readonly template;
|
|
121
127
|
private readonly vcr;
|
|
122
128
|
private embeddedViewRef?;
|
|
123
|
-
constructor(template: TemplateRef<unknown>, vcr: ViewContainerRef);
|
|
124
129
|
ngOnInit(): void;
|
|
125
130
|
ngOnDestroy(): void;
|
|
126
|
-
static ɵfac:
|
|
127
|
-
static ɵdir:
|
|
131
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IsDevModeDirective, never>;
|
|
132
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IsDevModeDirective, "[rxapIsDevMode]", never, {}, {}, never, never, true, never>;
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
interface MethodTemplateDirectiveContext<ReturnType = any> {
|
|
@@ -134,27 +139,27 @@ interface MethodTemplateDirectiveErrorContext {
|
|
|
134
139
|
$implicit: Error;
|
|
135
140
|
message: string;
|
|
136
141
|
}
|
|
137
|
-
declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implements OnInit
|
|
142
|
+
declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implements OnInit {
|
|
138
143
|
private readonly template;
|
|
139
144
|
private readonly viewContainerRef;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
errorTemplate
|
|
144
|
-
loadingTemplate
|
|
145
|
-
withoutParameters: boolean
|
|
146
|
-
immediately: boolean
|
|
147
|
-
executed$:
|
|
148
|
-
failure$:
|
|
149
|
-
successful$:
|
|
145
|
+
readonly method: _angular_core.InputSignal<Method<ReturnType, Parameters>>;
|
|
146
|
+
readonly parameters: _angular_core.InputSignal<Parameters | undefined>;
|
|
147
|
+
protected readonly currentParameters: _angular_core.WritableSignal<Parameters | undefined>;
|
|
148
|
+
readonly errorTemplate: _angular_core.InputSignal<TemplateRef<MethodTemplateDirectiveErrorContext> | undefined>;
|
|
149
|
+
readonly loadingTemplate: _angular_core.InputSignal<TemplateRef<void> | undefined>;
|
|
150
|
+
readonly withoutParameters: _angular_core.InputSignal<boolean>;
|
|
151
|
+
readonly immediately: _angular_core.InputSignal<boolean>;
|
|
152
|
+
readonly executed$: _angular_core.OutputEmitterRef<void>;
|
|
153
|
+
readonly failure$: _angular_core.OutputEmitterRef<Error>;
|
|
154
|
+
readonly successful$: _angular_core.OutputEmitterRef<ReturnType>;
|
|
150
155
|
/**
|
|
151
156
|
* true - a remote method call is in progress
|
|
152
157
|
*/
|
|
153
158
|
executing$: ToggleSubject;
|
|
154
|
-
|
|
155
|
-
|
|
159
|
+
readonly executing: _angular_core.OutputRef<boolean>;
|
|
160
|
+
readonly embedded: _angular_core.OutputEmitterRef<void>;
|
|
156
161
|
static ngTemplateContextGuard<T>(dir: MethodTemplateDirective<T>, ctx: any): ctx is MethodTemplateDirectiveContext<T>;
|
|
157
|
-
|
|
162
|
+
constructor();
|
|
158
163
|
ngOnInit(): void;
|
|
159
164
|
onConfirmed(): Promise<void>;
|
|
160
165
|
execute(parameters?: Parameters | undefined): Promise<void>;
|
|
@@ -166,23 +171,23 @@ declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implem
|
|
|
166
171
|
protected renderErrorTemplate(error: Error): void;
|
|
167
172
|
protected renderTemplate(result: ReturnType): void;
|
|
168
173
|
private renderLoadingTemplate;
|
|
169
|
-
static ɵfac:
|
|
170
|
-
static ɵdir:
|
|
174
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MethodTemplateDirective<any, any>, never>;
|
|
175
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MethodTemplateDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethodCall"; "required": true; "isSignal": true; }; "parameters": { "alias": "rxapMethodParameters"; "required": false; "isSignal": true; }; "errorTemplate": { "alias": "rxapMethodError"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "rxapMethodLoading"; "required": false; "isSignal": true; }; "withoutParameters": { "alias": "rxapMethodWithoutParameters"; "required": false; "isSignal": true; }; "immediately": { "alias": "immediately"; "required": false; "isSignal": true; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; "executing": "executing"; "embedded": "embedded"; }, never, never, true, never>;
|
|
171
176
|
}
|
|
172
177
|
|
|
173
178
|
declare class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {
|
|
174
|
-
method: Method<ReturnType, Parameters
|
|
175
|
-
parameters
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
readonly method: _angular_core.InputSignal<Method<ReturnType, Parameters>>;
|
|
180
|
+
readonly parameters: _angular_core.InputSignal<Parameters | undefined>;
|
|
181
|
+
protected readonly currentParameters: _angular_core.WritableSignal<Parameters | undefined>;
|
|
182
|
+
readonly immediately: _angular_core.InputSignal<boolean>;
|
|
183
|
+
readonly executed$: _angular_core.OutputEmitterRef<void>;
|
|
184
|
+
readonly failure$: _angular_core.OutputEmitterRef<Error>;
|
|
185
|
+
readonly successful$: _angular_core.OutputEmitterRef<ReturnType>;
|
|
180
186
|
/**
|
|
181
187
|
* true - a remote method call is in progress
|
|
182
188
|
*/
|
|
183
189
|
executing$: ToggleSubject;
|
|
184
|
-
|
|
185
|
-
set hasConfirmDirective(value: any);
|
|
190
|
+
readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
186
191
|
ngOnInit(): void;
|
|
187
192
|
onConfirmed(): Promise<void>;
|
|
188
193
|
onClick(): Promise<void>;
|
|
@@ -192,17 +197,15 @@ declare class MethodDirective<ReturnType = any, Parameters = any> implements OnI
|
|
|
192
197
|
protected executed(result: any): void;
|
|
193
198
|
protected failure(error: Error): void;
|
|
194
199
|
protected successful(result: ReturnType): void;
|
|
195
|
-
static ɵfac:
|
|
196
|
-
static ɵdir:
|
|
200
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MethodDirective<any, any>, never>;
|
|
201
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MethodDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethod"; "required": true; "isSignal": true; }; "parameters": { "alias": "parameters"; "required": false; "isSignal": true; }; "immediately": { "alias": "immediately"; "required": false; "isSignal": true; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; "isSignal": true; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; }, never, never, true, never>;
|
|
197
202
|
}
|
|
198
203
|
|
|
199
|
-
declare class MovableDividerDirective
|
|
204
|
+
declare class MovableDividerDirective {
|
|
200
205
|
private readonly renderer;
|
|
201
|
-
containerElement: HTMLDivElement
|
|
202
|
-
fixedElement: HTMLDivElement
|
|
203
|
-
origin:
|
|
204
|
-
cursor: string;
|
|
205
|
-
private _subscription;
|
|
206
|
+
readonly containerElement: _angular_core.InputSignal<HTMLDivElement>;
|
|
207
|
+
readonly fixedElement: _angular_core.InputSignal<HTMLDivElement>;
|
|
208
|
+
readonly origin: _angular_core.InputSignal<"right" | "left">;
|
|
206
209
|
/**
|
|
207
210
|
* Indicates that the divider is moved with mouse down
|
|
208
211
|
* @private
|
|
@@ -215,18 +218,17 @@ declare class MovableDividerDirective implements OnDestroy, OnInit {
|
|
|
215
218
|
* @private
|
|
216
219
|
*/
|
|
217
220
|
private _fixedElementWidth;
|
|
218
|
-
constructor(
|
|
219
|
-
|
|
220
|
-
ngOnInit(): void;
|
|
221
|
+
constructor();
|
|
222
|
+
private listen;
|
|
221
223
|
onMousedown(): void;
|
|
222
|
-
static ɵfac:
|
|
223
|
-
static ɵdir:
|
|
224
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MovableDividerDirective, never>;
|
|
225
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MovableDividerDirective, "[rxapMovableDivider]", never, { "containerElement": { "alias": "containerElement"; "required": true; "isSignal": true; }; "fixedElement": { "alias": "fixedElement"; "required": true; "isSignal": true; }; "origin": { "alias": "origin"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
224
226
|
}
|
|
225
227
|
|
|
226
228
|
declare class PreventDefaultDirective {
|
|
227
229
|
onClick($event: Event): void;
|
|
228
|
-
static ɵfac:
|
|
229
|
-
static ɵdir:
|
|
230
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PreventDefaultDirective, never>;
|
|
231
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PreventDefaultDirective, "[rxapPreventDefault]", never, {}, {}, never, never, true, never>;
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
interface ShareData {
|
|
@@ -238,32 +240,32 @@ interface ShareData {
|
|
|
238
240
|
declare class ShareService {
|
|
239
241
|
readonly isSupported: boolean;
|
|
240
242
|
share(data: ShareData, softFail?: boolean): Promise<void>;
|
|
241
|
-
static ɵfac:
|
|
242
|
-
static ɵprov:
|
|
243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareService, never>;
|
|
244
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShareService>;
|
|
243
245
|
}
|
|
244
246
|
declare class ShareButtonDirective {
|
|
245
|
-
readonly url:
|
|
246
|
-
readonly text:
|
|
247
|
-
readonly title:
|
|
248
|
-
readonly files:
|
|
249
|
-
readonly failed:
|
|
250
|
-
readonly success:
|
|
247
|
+
readonly url: _angular_core.InputSignal<string | undefined>;
|
|
248
|
+
readonly text: _angular_core.InputSignal<string | undefined>;
|
|
249
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
250
|
+
readonly files: _angular_core.InputSignal<File[] | undefined>;
|
|
251
|
+
readonly failed: _angular_core.OutputEmitterRef<any>;
|
|
252
|
+
readonly success: _angular_core.OutputEmitterRef<void>;
|
|
251
253
|
private readonly shareService;
|
|
252
254
|
share(): Promise<void>;
|
|
253
|
-
static ɵfac:
|
|
254
|
-
static ɵdir:
|
|
255
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShareButtonDirective, never>;
|
|
256
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ShareButtonDirective, "[rxapShareButton],[rxapShare]", never, { "url": { "alias": "url"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; }, { "failed": "failed"; "success": "success"; }, never, never, true, never>;
|
|
255
257
|
}
|
|
256
258
|
|
|
257
259
|
declare class StopImmediatePropagationDirective {
|
|
258
260
|
onClick($event: Event): void;
|
|
259
|
-
static ɵfac:
|
|
260
|
-
static ɵdir:
|
|
261
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StopImmediatePropagationDirective, never>;
|
|
262
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StopImmediatePropagationDirective, "[rxapStopImmediatePropagation]", never, {}, {}, never, never, true, never>;
|
|
261
263
|
}
|
|
262
264
|
|
|
263
265
|
declare class StopPropagationDirective {
|
|
264
266
|
onClick($event: Event): void;
|
|
265
|
-
static ɵfac:
|
|
266
|
-
static ɵdir:
|
|
267
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
|
|
268
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StopPropagationDirective, "[rxapStopPropagation]", never, {}, {}, never, never, true, never>;
|
|
267
269
|
}
|
|
268
270
|
|
|
269
271
|
export { AvatarBackgroundImageDirective, BackgroundImageDirective, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, FullWidthDirective, GlobalStyleOptions, IfTruthyDirective, IsDevModeDirective, MethodDirective, MethodTemplateDirective, MovableDividerDirective, PreventDefaultDirective, ShareButtonDirective, ShareService, StopImmediatePropagationDirective, StopPropagationDirective };
|