@rxap/directives 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 +21 -0
- package/compodoc/changelog.html +18 -0
- package/compodoc/dependencies.html +7 -7
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1469 -1229
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/classes/AvatarBackgroundImageDirective.html +5 -5
- package/docs/html/classes/BackgroundImageDirective.html +5 -5
- package/docs/html/classes/ConfirmClick.html +2 -2
- package/docs/html/classes/ContenteditableDirective.html +2 -2
- package/docs/html/classes/FullWidthDirective.html +2 -2
- package/docs/html/classes/IfTruthyDirective.html +5 -5
- package/docs/html/classes/IsDevModeDirective.html +4 -4
- package/docs/html/classes/MethodDirective.html +4 -4
- package/docs/html/classes/MethodTemplateDirective.html +6 -6
- package/docs/html/classes/MovableDividerDirective.html +4 -4
- 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 +11 -13
- package/docs/markdown/classes/BackgroundImageDirective.md +10 -12
- package/docs/markdown/classes/ConfirmClick.md +6 -6
- package/docs/markdown/classes/ContenteditableDirective.md +11 -11
- package/docs/markdown/classes/FullWidthDirective.md +3 -3
- package/docs/markdown/classes/IfTruthyDirective.md +10 -12
- package/docs/markdown/classes/IsDevModeDirective.md +5 -5
- package/docs/markdown/classes/MethodDirective.md +19 -19
- package/docs/markdown/classes/MethodTemplateDirective.md +27 -29
- package/docs/markdown/classes/MovableDividerDirective.md +10 -10
- 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 +10 -12
- package/docs/wiki/Class.BackgroundImageDirective.md +9 -11
- package/docs/wiki/Class.ConfirmClick.md +5 -5
- package/docs/wiki/Class.ContenteditableDirective.md +10 -10
- package/docs/wiki/Class.FullWidthDirective.md +2 -2
- package/docs/wiki/Class.IfTruthyDirective.md +9 -11
- package/docs/wiki/Class.IsDevModeDirective.md +4 -4
- package/docs/wiki/Class.MethodDirective.md +18 -18
- package/docs/wiki/Class.MethodTemplateDirective.md +26 -28
- package/docs/wiki/Class.MovableDividerDirective.md +9 -9
- 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 +51 -51
- package/fesm2022/rxap-directives.mjs.map +1 -1
- package/package.json +22 -17
- package/types/rxap-directives.d.ts +270 -0
- package/index.d.ts +0 -14
- package/lib/avatar-background-image.directive.d.ts +0 -14
- package/lib/background-image.directive.d.ts +0 -42
- package/lib/confirm-click.d.ts +0 -10
- package/lib/contenteditable.directive.d.ts +0 -21
- package/lib/full-width.directive.d.ts +0 -6
- package/lib/if-truthy.directive.d.ts +0 -28
- package/lib/is-dev-mode.directive.d.ts +0 -12
- package/lib/method-template.directive.d.ts +0 -46
- package/lib/method.directive.d.ts +0 -29
- package/lib/movable-divider.directive.d.ts +0 -28
- package/lib/prevent-default.directive.d.ts +0 -6
- package/lib/share-button.directive.d.ts +0 -25
- package/lib/stop-immediate-propagation.directive.d.ts +0 -6
- package/lib/stop-propagation.directive.d.ts +0 -6
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnChanges, OnInit, ElementRef, Renderer2, SimpleChanges, EventEmitter, TemplateRef, ViewContainerRef, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
3
|
+
import { ImageLoaderService, AvatarImageService } from '@rxap/services';
|
|
4
|
+
import { Method } from '@rxap/pattern';
|
|
5
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
6
|
+
|
|
7
|
+
declare enum GlobalStyleOptions {
|
|
8
|
+
INITIAL = "initial",
|
|
9
|
+
INHERIT = "inherit"
|
|
10
|
+
}
|
|
11
|
+
declare enum BackgroundSizeOptions {
|
|
12
|
+
AUTO = "auto",
|
|
13
|
+
COVER = "cover",
|
|
14
|
+
CONTAIN = "contain"
|
|
15
|
+
}
|
|
16
|
+
type BackgroundSize = GlobalStyleOptions | BackgroundSizeOptions | string;
|
|
17
|
+
declare enum BackgroundRepeatOptions {
|
|
18
|
+
NO_REPEAT = "no-repeat"
|
|
19
|
+
}
|
|
20
|
+
type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;
|
|
21
|
+
declare enum BackgroundPositionOptions {
|
|
22
|
+
CENTER = "center",
|
|
23
|
+
CENTER_CENTER = "center center"
|
|
24
|
+
}
|
|
25
|
+
type BackgroundPosition = GlobalStyleOptions | BackgroundPositionOptions | string;
|
|
26
|
+
declare class BackgroundImageDirective implements OnChanges, OnInit {
|
|
27
|
+
private readonly host;
|
|
28
|
+
private readonly renderer;
|
|
29
|
+
private readonly imageLoader;
|
|
30
|
+
imageUrl: string | null | undefined;
|
|
31
|
+
placeholderImageUrl: string;
|
|
32
|
+
size?: BackgroundSize;
|
|
33
|
+
repeat?: BackgroundRepeat;
|
|
34
|
+
position?: BackgroundPosition;
|
|
35
|
+
constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService);
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
+
private repeatChange;
|
|
39
|
+
private positionChange;
|
|
40
|
+
private sizeChange;
|
|
41
|
+
private _latestImageUrl;
|
|
42
|
+
private imageUrlChange;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundImageDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[rxapBackgroundImage]", never, { "imageUrl": { "alias": "rxapBackgroundImage"; "required": false; }; "placeholderImageUrl": { "alias": "placeholderImageUrl"; "required": false; }; "size": { "alias": "size"; "required": false; }; "repeat": { "alias": "repeat"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare class AvatarBackgroundImageDirective extends BackgroundImageDirective {
|
|
48
|
+
private readonly avatarImage;
|
|
49
|
+
imageUrl: string | null | undefined;
|
|
50
|
+
size: BackgroundSizeOptions;
|
|
51
|
+
repeat: BackgroundRepeatOptions;
|
|
52
|
+
constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService, avatarImage: AvatarImageService);
|
|
53
|
+
set name(name: string);
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarBackgroundImageDirective, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarBackgroundImageDirective, "[rxapAvatarBackgroundImage]", never, { "imageUrl": { "alias": "rxapAvatarBackgroundImage"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare abstract class ConfirmClick {
|
|
59
|
+
private _hasConfirmDirective;
|
|
60
|
+
set hasConfirmDirective(value: any);
|
|
61
|
+
onClick(): void;
|
|
62
|
+
onConfirm(): void;
|
|
63
|
+
protected abstract execute(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmClick, never>;
|
|
65
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmClick>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
interface ContenteditableEvent {
|
|
69
|
+
value: string;
|
|
70
|
+
parameters?: any;
|
|
71
|
+
}
|
|
72
|
+
declare class ContenteditableDirective {
|
|
73
|
+
private readonly elementRef;
|
|
74
|
+
contenteditable: boolean;
|
|
75
|
+
spellcheck: boolean;
|
|
76
|
+
method?: Method<any, ContenteditableEvent>;
|
|
77
|
+
change: EventEmitter<ContenteditableEvent>;
|
|
78
|
+
parameters?: any;
|
|
79
|
+
initial?: string;
|
|
80
|
+
constructor(elementRef: ElementRef);
|
|
81
|
+
onClick($event: Event): void;
|
|
82
|
+
onInput($event: any): Promise<void>;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContenteditableDirective, never>;
|
|
84
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ContenteditableDirective, "[rxapContenteditable]", never, { "method": { "alias": "rxapContenteditable"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "initial": { "alias": "initial"; "required": false; }; }, { "change": "rxapContenteditable"; }, never, never, true, never>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare class FullWidthDirective {
|
|
88
|
+
width: string;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FullWidthDirective, never>;
|
|
90
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FullWidthDirective, "[rxapFullWidth]", never, {}, {}, never, never, true, never>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
interface IfTruthyDirectiveTemplateContext<Data> {
|
|
94
|
+
$implicit: Data;
|
|
95
|
+
}
|
|
96
|
+
declare class IfTruthyDirective<Data, Parameters = any> implements OnChanges {
|
|
97
|
+
private readonly templateRef;
|
|
98
|
+
private readonly viewContainerRef;
|
|
99
|
+
private readonly cdr;
|
|
100
|
+
method: Method<Data, Parameters>;
|
|
101
|
+
parameters: Parameters;
|
|
102
|
+
trackBy: (data: Data) => any;
|
|
103
|
+
private _last?;
|
|
104
|
+
constructor(templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
105
|
+
/**
|
|
106
|
+
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
107
|
+
*
|
|
108
|
+
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
109
|
+
* `NgForOf` structural directive renders its template with a specific context type.
|
|
110
|
+
*/
|
|
111
|
+
static ngTemplateContextGuard<T>(dir: IfTruthyDirective<T>, ctx: any): ctx is IfTruthyDirectiveTemplateContext<T>;
|
|
112
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
113
|
+
protected execute(): Promise<void>;
|
|
114
|
+
protected hasChanged(current: Data): boolean;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IfTruthyDirective<any, any>, never>;
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IfTruthyDirective<any, any>, "[rxapIfTruthy]", never, { "method": { "alias": "rxapIfTruthy"; "required": false; }; "parameters": { "alias": "rxapIfTruthyParameters"; "required": false; }; "trackBy": { "alias": "rxapIfTruthyTrackBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare class IsDevModeDirective implements OnInit, OnDestroy {
|
|
120
|
+
private readonly template;
|
|
121
|
+
private readonly vcr;
|
|
122
|
+
private embeddedViewRef?;
|
|
123
|
+
constructor(template: TemplateRef<unknown>, vcr: ViewContainerRef);
|
|
124
|
+
ngOnInit(): void;
|
|
125
|
+
ngOnDestroy(): void;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IsDevModeDirective, never>;
|
|
127
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IsDevModeDirective, "[rxapIsDevMode]", never, {}, {}, never, never, true, never>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface MethodTemplateDirectiveContext<ReturnType = any> {
|
|
131
|
+
$implicit: ReturnType;
|
|
132
|
+
}
|
|
133
|
+
interface MethodTemplateDirectiveErrorContext {
|
|
134
|
+
$implicit: Error;
|
|
135
|
+
message: string;
|
|
136
|
+
}
|
|
137
|
+
declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implements OnInit, OnChanges {
|
|
138
|
+
private readonly template;
|
|
139
|
+
private readonly viewContainerRef;
|
|
140
|
+
protected readonly cdr: ChangeDetectorRef;
|
|
141
|
+
method: Method<ReturnType, Parameters>;
|
|
142
|
+
parameters?: Parameters;
|
|
143
|
+
errorTemplate?: TemplateRef<MethodTemplateDirectiveErrorContext>;
|
|
144
|
+
loadingTemplate?: TemplateRef<void>;
|
|
145
|
+
withoutParameters: boolean;
|
|
146
|
+
immediately: boolean;
|
|
147
|
+
executed$: EventEmitter<any>;
|
|
148
|
+
failure$: EventEmitter<Error>;
|
|
149
|
+
successful$: EventEmitter<ReturnType>;
|
|
150
|
+
/**
|
|
151
|
+
* true - a remote method call is in progress
|
|
152
|
+
*/
|
|
153
|
+
executing$: ToggleSubject;
|
|
154
|
+
embedded: EventEmitter<any>;
|
|
155
|
+
constructor(template: TemplateRef<MethodTemplateDirectiveContext<ReturnType>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
156
|
+
static ngTemplateContextGuard<T>(dir: MethodTemplateDirective<T>, ctx: any): ctx is MethodTemplateDirectiveContext<T>;
|
|
157
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
158
|
+
ngOnInit(): void;
|
|
159
|
+
onConfirmed(): Promise<void>;
|
|
160
|
+
execute(parameters?: Parameters | undefined): Promise<void>;
|
|
161
|
+
setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void;
|
|
162
|
+
updateParameters(parameters: Partial<Parameters>): void;
|
|
163
|
+
protected executed(result: any): void;
|
|
164
|
+
protected failure(error: Error): void;
|
|
165
|
+
protected successful(result: ReturnType): void;
|
|
166
|
+
protected renderErrorTemplate(error: Error): void;
|
|
167
|
+
protected renderTemplate(result: ReturnType): void;
|
|
168
|
+
private renderLoadingTemplate;
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MethodTemplateDirective<any, any>, never>;
|
|
170
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MethodTemplateDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethodCall"; "required": false; }; "parameters": { "alias": "rxapMethodParameters"; "required": false; }; "errorTemplate": { "alias": "rxapMethodError"; "required": false; }; "loadingTemplate": { "alias": "rxapMethodLoading"; "required": false; }; "withoutParameters": { "alias": "rxapMethodWithoutParameters"; "required": false; }; "immediately": { "alias": "immediately"; "required": false; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; "executing$": "executing"; "embedded": "embedded"; }, never, never, true, never>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {
|
|
174
|
+
method: Method<ReturnType, Parameters>;
|
|
175
|
+
parameters?: Parameters;
|
|
176
|
+
immediately: boolean;
|
|
177
|
+
executed$: EventEmitter<any>;
|
|
178
|
+
failure$: EventEmitter<Error>;
|
|
179
|
+
successful$: EventEmitter<ReturnType>;
|
|
180
|
+
/**
|
|
181
|
+
* true - a remote method call is in progress
|
|
182
|
+
*/
|
|
183
|
+
executing$: ToggleSubject;
|
|
184
|
+
private _hasConfirmDirective;
|
|
185
|
+
set hasConfirmDirective(value: any);
|
|
186
|
+
ngOnInit(): void;
|
|
187
|
+
onConfirmed(): Promise<void>;
|
|
188
|
+
onClick(): Promise<void>;
|
|
189
|
+
execute(): Promise<void>;
|
|
190
|
+
setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void;
|
|
191
|
+
updateParameters(parameters: Partial<Parameters>): void;
|
|
192
|
+
protected executed(result: any): void;
|
|
193
|
+
protected failure(error: Error): void;
|
|
194
|
+
protected successful(result: ReturnType): void;
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MethodDirective<any, any>, never>;
|
|
196
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MethodDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethod"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "immediately": { "alias": "immediately"; "required": false; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; }, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare class MovableDividerDirective implements OnDestroy, OnInit {
|
|
200
|
+
private readonly renderer;
|
|
201
|
+
containerElement: HTMLDivElement;
|
|
202
|
+
fixedElement: HTMLDivElement;
|
|
203
|
+
origin: 'right' | 'left';
|
|
204
|
+
cursor: string;
|
|
205
|
+
private _subscription;
|
|
206
|
+
/**
|
|
207
|
+
* Indicates that the divider is moved with mouse down
|
|
208
|
+
* @private
|
|
209
|
+
*/
|
|
210
|
+
private _moveDivider;
|
|
211
|
+
/**
|
|
212
|
+
* Holds the current fixed element width.
|
|
213
|
+
* If null the move divider feature was not yet used and the initial
|
|
214
|
+
* fixed element width is not calculated
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
private _fixedElementWidth;
|
|
218
|
+
constructor(renderer: Renderer2);
|
|
219
|
+
ngOnDestroy(): void;
|
|
220
|
+
ngOnInit(): void;
|
|
221
|
+
onMousedown(): void;
|
|
222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MovableDividerDirective, never>;
|
|
223
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MovableDividerDirective, "[rxapMovableDivider]", never, { "containerElement": { "alias": "containerElement"; "required": true; }; "fixedElement": { "alias": "fixedElement"; "required": true; }; "origin": { "alias": "origin"; "required": false; }; }, {}, never, never, true, never>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare class PreventDefaultDirective {
|
|
227
|
+
onClick($event: Event): void;
|
|
228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreventDefaultDirective, never>;
|
|
229
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventDefaultDirective, "[rxapPreventDefault]", never, {}, {}, never, never, true, never>;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
interface ShareData {
|
|
233
|
+
files?: File[];
|
|
234
|
+
text?: string;
|
|
235
|
+
title?: string;
|
|
236
|
+
url?: string;
|
|
237
|
+
}
|
|
238
|
+
declare class ShareService {
|
|
239
|
+
readonly isSupported: boolean;
|
|
240
|
+
share(data: ShareData, softFail?: boolean): Promise<void>;
|
|
241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShareService, never>;
|
|
242
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShareService>;
|
|
243
|
+
}
|
|
244
|
+
declare class ShareButtonDirective {
|
|
245
|
+
readonly url: i0.InputSignal<string | undefined>;
|
|
246
|
+
readonly text: i0.InputSignal<string | undefined>;
|
|
247
|
+
readonly title: i0.InputSignal<string | undefined>;
|
|
248
|
+
readonly files: i0.InputSignal<File[] | undefined>;
|
|
249
|
+
readonly failed: i0.OutputEmitterRef<any>;
|
|
250
|
+
readonly success: i0.OutputEmitterRef<void>;
|
|
251
|
+
private readonly shareService;
|
|
252
|
+
share(): Promise<void>;
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShareButtonDirective, never>;
|
|
254
|
+
static ɵdir: i0.ɵɵ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
|
+
}
|
|
256
|
+
|
|
257
|
+
declare class StopImmediatePropagationDirective {
|
|
258
|
+
onClick($event: Event): void;
|
|
259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StopImmediatePropagationDirective, never>;
|
|
260
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StopImmediatePropagationDirective, "[rxapStopImmediatePropagation]", never, {}, {}, never, never, true, never>;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
declare class StopPropagationDirective {
|
|
264
|
+
onClick($event: Event): void;
|
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
|
|
266
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[rxapStopPropagation]", never, {}, {}, never, never, true, never>;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export { AvatarBackgroundImageDirective, BackgroundImageDirective, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, FullWidthDirective, GlobalStyleOptions, IfTruthyDirective, IsDevModeDirective, MethodDirective, MethodTemplateDirective, MovableDividerDirective, PreventDefaultDirective, ShareButtonDirective, ShareService, StopImmediatePropagationDirective, StopPropagationDirective };
|
|
270
|
+
export type { BackgroundPosition, BackgroundRepeat, BackgroundSize, ContenteditableEvent, IfTruthyDirectiveTemplateContext, MethodTemplateDirectiveContext, MethodTemplateDirectiveErrorContext, ShareData };
|
package/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './lib/avatar-background-image.directive';
|
|
2
|
-
export * from './lib/background-image.directive';
|
|
3
|
-
export * from './lib/confirm-click';
|
|
4
|
-
export * from './lib/contenteditable.directive';
|
|
5
|
-
export * from './lib/full-width.directive';
|
|
6
|
-
export * from './lib/if-truthy.directive';
|
|
7
|
-
export * from './lib/is-dev-mode.directive';
|
|
8
|
-
export * from './lib/method-template.directive';
|
|
9
|
-
export * from './lib/method.directive';
|
|
10
|
-
export * from './lib/movable-divider.directive';
|
|
11
|
-
export * from './lib/prevent-default.directive';
|
|
12
|
-
export * from './lib/share-button.directive';
|
|
13
|
-
export * from './lib/stop-immediate-propagation.directive';
|
|
14
|
-
export * from './lib/stop-propagation.directive';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { AvatarImageService, ImageLoaderService } from '@rxap/services';
|
|
3
|
-
import { BackgroundImageDirective, BackgroundRepeatOptions, BackgroundSizeOptions } from './background-image.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AvatarBackgroundImageDirective extends BackgroundImageDirective {
|
|
6
|
-
private readonly avatarImage;
|
|
7
|
-
imageUrl: string | null | undefined;
|
|
8
|
-
size: BackgroundSizeOptions;
|
|
9
|
-
repeat: BackgroundRepeatOptions;
|
|
10
|
-
constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService, avatarImage: AvatarImageService);
|
|
11
|
-
set name(name: string);
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarBackgroundImageDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AvatarBackgroundImageDirective, "[rxapAvatarBackgroundImage]", never, { "imageUrl": { "alias": "rxapAvatarBackgroundImage"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ImageLoaderService } from '@rxap/services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare enum GlobalStyleOptions {
|
|
5
|
-
INITIAL = "initial",
|
|
6
|
-
INHERIT = "inherit"
|
|
7
|
-
}
|
|
8
|
-
export declare enum BackgroundSizeOptions {
|
|
9
|
-
AUTO = "auto",
|
|
10
|
-
COVER = "cover",
|
|
11
|
-
CONTAIN = "contain"
|
|
12
|
-
}
|
|
13
|
-
export type BackgroundSize = GlobalStyleOptions | BackgroundSizeOptions | string;
|
|
14
|
-
export declare enum BackgroundRepeatOptions {
|
|
15
|
-
NO_REPEAT = "no-repeat"
|
|
16
|
-
}
|
|
17
|
-
export type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;
|
|
18
|
-
export declare enum BackgroundPositionOptions {
|
|
19
|
-
CENTER = "center",
|
|
20
|
-
CENTER_CENTER = "center center"
|
|
21
|
-
}
|
|
22
|
-
export type BackgroundPosition = GlobalStyleOptions | BackgroundPositionOptions | string;
|
|
23
|
-
export declare class BackgroundImageDirective implements OnChanges, OnInit {
|
|
24
|
-
private readonly host;
|
|
25
|
-
private readonly renderer;
|
|
26
|
-
private readonly imageLoader;
|
|
27
|
-
imageUrl: string | null | undefined;
|
|
28
|
-
placeholderImageUrl: string;
|
|
29
|
-
size?: BackgroundSize;
|
|
30
|
-
repeat?: BackgroundRepeat;
|
|
31
|
-
position?: BackgroundPosition;
|
|
32
|
-
constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService);
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
35
|
-
private repeatChange;
|
|
36
|
-
private positionChange;
|
|
37
|
-
private sizeChange;
|
|
38
|
-
private _latestImageUrl;
|
|
39
|
-
private imageUrlChange;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundImageDirective, never>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundImageDirective, "[rxapBackgroundImage]", never, { "imageUrl": { "alias": "rxapBackgroundImage"; "required": false; }; "placeholderImageUrl": { "alias": "placeholderImageUrl"; "required": false; }; "size": { "alias": "size"; "required": false; }; "repeat": { "alias": "repeat"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
-
}
|
package/lib/confirm-click.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare abstract class ConfirmClick {
|
|
3
|
-
private _hasConfirmDirective;
|
|
4
|
-
set hasConfirmDirective(value: any);
|
|
5
|
-
onClick(): void;
|
|
6
|
-
onConfirm(): void;
|
|
7
|
-
protected abstract execute(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmClick, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmClick>;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Method } from '@rxap/pattern';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface ContenteditableEvent {
|
|
5
|
-
value: string;
|
|
6
|
-
parameters?: any;
|
|
7
|
-
}
|
|
8
|
-
export declare class ContenteditableDirective {
|
|
9
|
-
private readonly elementRef;
|
|
10
|
-
contenteditable: boolean;
|
|
11
|
-
spellcheck: boolean;
|
|
12
|
-
method?: Method<any, ContenteditableEvent>;
|
|
13
|
-
change: EventEmitter<ContenteditableEvent>;
|
|
14
|
-
parameters?: any;
|
|
15
|
-
initial?: string;
|
|
16
|
-
constructor(elementRef: ElementRef);
|
|
17
|
-
onClick($event: Event): void;
|
|
18
|
-
onInput($event: any): Promise<void>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContenteditableDirective, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContenteditableDirective, "[rxapContenteditable]", never, { "method": { "alias": "rxapContenteditable"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "initial": { "alias": "initial"; "required": false; }; }, { "change": "rxapContenteditable"; }, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class FullWidthDirective {
|
|
3
|
-
width: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FullWidthDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FullWidthDirective, "[rxapFullWidth]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Method } from '@rxap/pattern';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IfTruthyDirectiveTemplateContext<Data> {
|
|
5
|
-
$implicit: Data;
|
|
6
|
-
}
|
|
7
|
-
export declare class IfTruthyDirective<Data, Parameters = any> implements OnChanges {
|
|
8
|
-
private readonly templateRef;
|
|
9
|
-
private readonly viewContainerRef;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
method: Method<Data, Parameters>;
|
|
12
|
-
parameters: Parameters;
|
|
13
|
-
trackBy: (data: Data) => any;
|
|
14
|
-
private _last?;
|
|
15
|
-
constructor(templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
16
|
-
/**
|
|
17
|
-
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
18
|
-
*
|
|
19
|
-
* The presence of this method is a signal to the Ivy template type-check compiler that the
|
|
20
|
-
* `NgForOf` structural directive renders its template with a specific context type.
|
|
21
|
-
*/
|
|
22
|
-
static ngTemplateContextGuard<T>(dir: IfTruthyDirective<T>, ctx: any): ctx is IfTruthyDirectiveTemplateContext<T>;
|
|
23
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
-
protected execute(): Promise<void>;
|
|
25
|
-
protected hasChanged(current: Data): boolean;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IfTruthyDirective<any, any>, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IfTruthyDirective<any, any>, "[rxapIfTruthy]", never, { "method": { "alias": "rxapIfTruthy"; "required": false; }; "parameters": { "alias": "rxapIfTruthyParameters"; "required": false; }; "trackBy": { "alias": "rxapIfTruthyTrackBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IsDevModeDirective implements OnInit, OnDestroy {
|
|
4
|
-
private readonly template;
|
|
5
|
-
private readonly vcr;
|
|
6
|
-
private embeddedViewRef?;
|
|
7
|
-
constructor(template: TemplateRef<unknown>, vcr: ViewContainerRef);
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IsDevModeDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IsDevModeDirective, "[rxapIsDevMode]", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ToggleSubject } from '@rxap/rxjs';
|
|
3
|
-
import { Method } from '@rxap/pattern';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface MethodTemplateDirectiveContext<ReturnType = any> {
|
|
6
|
-
$implicit: ReturnType;
|
|
7
|
-
}
|
|
8
|
-
export interface MethodTemplateDirectiveErrorContext {
|
|
9
|
-
$implicit: Error;
|
|
10
|
-
message: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implements OnInit, OnChanges {
|
|
13
|
-
private readonly template;
|
|
14
|
-
private readonly viewContainerRef;
|
|
15
|
-
protected readonly cdr: ChangeDetectorRef;
|
|
16
|
-
method: Method<ReturnType, Parameters>;
|
|
17
|
-
parameters?: Parameters;
|
|
18
|
-
errorTemplate?: TemplateRef<MethodTemplateDirectiveErrorContext>;
|
|
19
|
-
loadingTemplate?: TemplateRef<void>;
|
|
20
|
-
withoutParameters: boolean;
|
|
21
|
-
immediately: boolean;
|
|
22
|
-
executed$: EventEmitter<any>;
|
|
23
|
-
failure$: EventEmitter<Error>;
|
|
24
|
-
successful$: EventEmitter<ReturnType>;
|
|
25
|
-
/**
|
|
26
|
-
* true - a remote method call is in progress
|
|
27
|
-
*/
|
|
28
|
-
executing$: ToggleSubject;
|
|
29
|
-
embedded: EventEmitter<any>;
|
|
30
|
-
constructor(template: TemplateRef<MethodTemplateDirectiveContext<ReturnType>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
31
|
-
static ngTemplateContextGuard<T>(dir: MethodTemplateDirective<T>, ctx: any): ctx is MethodTemplateDirectiveContext<T>;
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
onConfirmed(): Promise<void>;
|
|
35
|
-
execute(parameters?: Parameters | undefined): Promise<void>;
|
|
36
|
-
setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void;
|
|
37
|
-
updateParameters(parameters: Partial<Parameters>): void;
|
|
38
|
-
protected executed(result: any): void;
|
|
39
|
-
protected failure(error: Error): void;
|
|
40
|
-
protected successful(result: ReturnType): void;
|
|
41
|
-
protected renderErrorTemplate(error: Error): void;
|
|
42
|
-
protected renderTemplate(result: ReturnType): void;
|
|
43
|
-
private renderLoadingTemplate;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MethodTemplateDirective<any, any>, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MethodTemplateDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethodCall"; "required": false; }; "parameters": { "alias": "rxapMethodParameters"; "required": false; }; "errorTemplate": { "alias": "rxapMethodError"; "required": false; }; "loadingTemplate": { "alias": "rxapMethodLoading"; "required": false; }; "withoutParameters": { "alias": "rxapMethodWithoutParameters"; "required": false; }; "immediately": { "alias": "immediately"; "required": false; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; "executing$": "executing"; "embedded": "embedded"; }, never, never, true, never>;
|
|
46
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ToggleSubject } from '@rxap/rxjs';
|
|
3
|
-
import { Method } from '@rxap/pattern';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {
|
|
6
|
-
method: Method<ReturnType, Parameters>;
|
|
7
|
-
parameters?: Parameters;
|
|
8
|
-
immediately: boolean;
|
|
9
|
-
executed$: EventEmitter<any>;
|
|
10
|
-
failure$: EventEmitter<Error>;
|
|
11
|
-
successful$: EventEmitter<ReturnType>;
|
|
12
|
-
/**
|
|
13
|
-
* true - a remote method call is in progress
|
|
14
|
-
*/
|
|
15
|
-
executing$: ToggleSubject;
|
|
16
|
-
private _hasConfirmDirective;
|
|
17
|
-
set hasConfirmDirective(value: any);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
onConfirmed(): Promise<void>;
|
|
20
|
-
onClick(): Promise<void>;
|
|
21
|
-
execute(): Promise<void>;
|
|
22
|
-
setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void;
|
|
23
|
-
updateParameters(parameters: Partial<Parameters>): void;
|
|
24
|
-
protected executed(result: any): void;
|
|
25
|
-
protected failure(error: Error): void;
|
|
26
|
-
protected successful(result: ReturnType): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MethodDirective<any, any>, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MethodDirective<any, any>, "[rxapMethod]", ["rxapMethod"], { "method": { "alias": "rxapMethod"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "immediately": { "alias": "immediately"; "required": false; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; }; }, { "executed$": "executed"; "failure$": "failure"; "successful$": "successful"; }, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MovableDividerDirective implements OnDestroy, OnInit {
|
|
4
|
-
private readonly renderer;
|
|
5
|
-
containerElement: HTMLDivElement;
|
|
6
|
-
fixedElement: HTMLDivElement;
|
|
7
|
-
origin: 'right' | 'left';
|
|
8
|
-
cursor: string;
|
|
9
|
-
private _subscription;
|
|
10
|
-
/**
|
|
11
|
-
* Indicates that the divider is moved with mouse down
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
private _moveDivider;
|
|
15
|
-
/**
|
|
16
|
-
* Holds the current fixed element width.
|
|
17
|
-
* If null the move divider feature was not yet used and the initial
|
|
18
|
-
* fixed element width is not calculated
|
|
19
|
-
* @private
|
|
20
|
-
*/
|
|
21
|
-
private _fixedElementWidth;
|
|
22
|
-
constructor(renderer: Renderer2);
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
onMousedown(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MovableDividerDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MovableDividerDirective, "[rxapMovableDivider]", never, { "containerElement": { "alias": "containerElement"; "required": true; }; "fixedElement": { "alias": "fixedElement"; "required": true; }; "origin": { "alias": "origin"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class PreventDefaultDirective {
|
|
3
|
-
onClick($event: Event): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PreventDefaultDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventDefaultDirective, "[rxapPreventDefault]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface ShareData {
|
|
3
|
-
files?: File[];
|
|
4
|
-
text?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class ShareService {
|
|
9
|
-
readonly isSupported: boolean;
|
|
10
|
-
share(data: ShareData, softFail?: boolean): Promise<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShareService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ShareService>;
|
|
13
|
-
}
|
|
14
|
-
export declare class ShareButtonDirective {
|
|
15
|
-
readonly url: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
-
readonly text: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
-
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
-
readonly files: import("@angular/core").InputSignal<File[] | undefined>;
|
|
19
|
-
readonly failed: import("@angular/core").OutputEmitterRef<any>;
|
|
20
|
-
readonly success: import("@angular/core").OutputEmitterRef<void>;
|
|
21
|
-
private readonly shareService;
|
|
22
|
-
share(): Promise<void>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShareButtonDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵ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>;
|
|
25
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class StopImmediatePropagationDirective {
|
|
3
|
-
onClick($event: Event): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StopImmediatePropagationDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StopImmediatePropagationDirective, "[rxapStopImmediatePropagation]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class StopPropagationDirective {
|
|
3
|
-
onClick($event: Event): void;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[rxapStopPropagation]", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|