@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.
Files changed (122) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/compodoc/changelog.html +37 -0
  3. package/compodoc/dependencies.html +4 -4
  4. package/compodoc/directives/AvatarBackgroundImageDirective.html +216 -386
  5. package/compodoc/directives/BackgroundImageDirective.html +230 -243
  6. package/compodoc/directives/ConfirmClick.html +466 -0
  7. package/compodoc/directives/ContenteditableDirective.html +137 -373
  8. package/compodoc/directives/FullWidthDirective.html +8 -139
  9. package/compodoc/directives/IfTruthyDirective.html +136 -182
  10. package/compodoc/directives/IsDevModeDirective.html +4 -74
  11. package/compodoc/directives/MethodDirective.html +272 -346
  12. package/compodoc/directives/MethodTemplateDirective.html +736 -697
  13. package/compodoc/directives/MovableDividerDirective.html +103 -243
  14. package/compodoc/directives/PreventDefaultDirective.html +6 -65
  15. package/compodoc/directives/ShareButtonDirective.html +14 -62
  16. package/compodoc/directives/StopImmediatePropagationDirective.html +6 -65
  17. package/compodoc/directives/StopPropagationDirective.html +6 -65
  18. package/compodoc/injectables/ShareService.html +6 -5
  19. package/compodoc/interfaces/ContenteditableEvent.html +25 -32
  20. package/compodoc/interfaces/IfTruthyDirectiveTemplateContext.html +22 -36
  21. package/compodoc/interfaces/MethodTemplateDirectiveContext.html +42 -66
  22. package/compodoc/interfaces/MethodTemplateDirectiveErrorContext.html +42 -66
  23. package/compodoc/interfaces/ShareData.html +3 -2
  24. package/compodoc/js/menu-wc.js +3 -3
  25. package/compodoc/js/menu-wc_es5.js +1 -1
  26. package/compodoc/js/search/search_index.js +2 -2
  27. package/compodoc/overview.html +2 -2
  28. package/compodoc/properties.html +1 -1
  29. package/docs/documentation.json +2432 -3183
  30. package/docs/html/assets/hierarchy.js +1 -1
  31. package/docs/html/assets/search.js +1 -1
  32. package/docs/html/classes/AvatarBackgroundImageDirective.html +9 -16
  33. package/docs/html/classes/BackgroundImageDirective.html +8 -17
  34. package/docs/html/classes/ConfirmClick.html +3 -3
  35. package/docs/html/classes/ContenteditableDirective.html +8 -7
  36. package/docs/html/classes/FullWidthDirective.html +2 -3
  37. package/docs/html/classes/IfTruthyDirective.html +3 -9
  38. package/docs/html/classes/IsDevModeDirective.html +4 -4
  39. package/docs/html/classes/MethodDirective.html +8 -7
  40. package/docs/html/classes/MethodTemplateDirective.html +10 -15
  41. package/docs/html/classes/MovableDividerDirective.html +3 -13
  42. package/docs/html/classes/PreventDefaultDirective.html +2 -2
  43. package/docs/html/classes/ShareButtonDirective.html +2 -2
  44. package/docs/html/classes/ShareService.html +2 -2
  45. package/docs/html/classes/StopImmediatePropagationDirective.html +2 -2
  46. package/docs/html/classes/StopPropagationDirective.html +2 -2
  47. package/docs/html/enums/BackgroundPositionOptions.html +2 -2
  48. package/docs/html/enums/BackgroundRepeatOptions.html +2 -2
  49. package/docs/html/enums/BackgroundSizeOptions.html +2 -2
  50. package/docs/html/enums/GlobalStyleOptions.html +2 -2
  51. package/docs/html/hierarchy.html +1 -1
  52. package/docs/html/index.html +2 -2
  53. package/docs/html/interfaces/ContenteditableEvent.html +2 -2
  54. package/docs/html/interfaces/IfTruthyDirectiveTemplateContext.html +2 -2
  55. package/docs/html/interfaces/MethodTemplateDirectiveContext.html +2 -2
  56. package/docs/html/interfaces/MethodTemplateDirectiveErrorContext.html +2 -2
  57. package/docs/html/interfaces/ShareData.html +2 -2
  58. package/docs/html/modules.html +1 -1
  59. package/docs/html/types/BackgroundPosition.html +1 -1
  60. package/docs/html/types/BackgroundRepeat.html +1 -1
  61. package/docs/html/types/BackgroundSize.html +1 -1
  62. package/docs/markdown/README.md +1 -1
  63. package/docs/markdown/classes/AvatarBackgroundImageDirective.md +40 -101
  64. package/docs/markdown/classes/BackgroundImageDirective.md +24 -81
  65. package/docs/markdown/classes/ConfirmClick.md +8 -20
  66. package/docs/markdown/classes/ContenteditableDirective.md +21 -34
  67. package/docs/markdown/classes/FullWidthDirective.md +2 -10
  68. package/docs/markdown/classes/IfTruthyDirective.md +14 -69
  69. package/docs/markdown/classes/IsDevModeDirective.md +5 -17
  70. package/docs/markdown/classes/MethodDirective.md +40 -44
  71. package/docs/markdown/classes/MethodTemplateDirective.md +50 -84
  72. package/docs/markdown/classes/MovableDividerDirective.md +11 -71
  73. package/docs/markdown/classes/PreventDefaultDirective.md +3 -3
  74. package/docs/markdown/classes/ShareButtonDirective.md +9 -9
  75. package/docs/markdown/classes/ShareService.md +4 -4
  76. package/docs/markdown/classes/StopImmediatePropagationDirective.md +3 -3
  77. package/docs/markdown/classes/StopPropagationDirective.md +3 -3
  78. package/docs/markdown/enumerations/BackgroundPositionOptions.md +4 -4
  79. package/docs/markdown/enumerations/BackgroundRepeatOptions.md +3 -3
  80. package/docs/markdown/enumerations/BackgroundSizeOptions.md +5 -5
  81. package/docs/markdown/enumerations/GlobalStyleOptions.md +4 -4
  82. package/docs/markdown/globals.md +2 -2
  83. package/docs/markdown/interfaces/ContenteditableEvent.md +4 -4
  84. package/docs/markdown/interfaces/IfTruthyDirectiveTemplateContext.md +3 -3
  85. package/docs/markdown/interfaces/MethodTemplateDirectiveContext.md +3 -3
  86. package/docs/markdown/interfaces/MethodTemplateDirectiveErrorContext.md +4 -4
  87. package/docs/markdown/interfaces/ShareData.md +6 -6
  88. package/docs/markdown/type-aliases/BackgroundPosition.md +2 -2
  89. package/docs/markdown/type-aliases/BackgroundRepeat.md +2 -2
  90. package/docs/markdown/type-aliases/BackgroundSize.md +2 -2
  91. package/docs/wiki/Class.AvatarBackgroundImageDirective.md +39 -100
  92. package/docs/wiki/Class.BackgroundImageDirective.md +23 -80
  93. package/docs/wiki/Class.ConfirmClick.md +7 -19
  94. package/docs/wiki/Class.ContenteditableDirective.md +20 -33
  95. package/docs/wiki/Class.FullWidthDirective.md +1 -9
  96. package/docs/wiki/Class.IfTruthyDirective.md +13 -68
  97. package/docs/wiki/Class.IsDevModeDirective.md +4 -16
  98. package/docs/wiki/Class.MethodDirective.md +39 -43
  99. package/docs/wiki/Class.MethodTemplateDirective.md +49 -83
  100. package/docs/wiki/Class.MovableDividerDirective.md +10 -70
  101. package/docs/wiki/Class.PreventDefaultDirective.md +2 -2
  102. package/docs/wiki/Class.ShareButtonDirective.md +8 -8
  103. package/docs/wiki/Class.ShareService.md +3 -3
  104. package/docs/wiki/Class.StopImmediatePropagationDirective.md +2 -2
  105. package/docs/wiki/Class.StopPropagationDirective.md +2 -2
  106. package/docs/wiki/Enumeration.BackgroundPositionOptions.md +3 -3
  107. package/docs/wiki/Enumeration.BackgroundRepeatOptions.md +2 -2
  108. package/docs/wiki/Enumeration.BackgroundSizeOptions.md +4 -4
  109. package/docs/wiki/Enumeration.GlobalStyleOptions.md +3 -3
  110. package/docs/wiki/Interface.ContenteditableEvent.md +3 -3
  111. package/docs/wiki/Interface.IfTruthyDirectiveTemplateContext.md +2 -2
  112. package/docs/wiki/Interface.MethodTemplateDirectiveContext.md +2 -2
  113. package/docs/wiki/Interface.MethodTemplateDirectiveErrorContext.md +3 -3
  114. package/docs/wiki/Interface.ShareData.md +5 -5
  115. package/docs/wiki/TypeAlias.BackgroundPosition.md +1 -1
  116. package/docs/wiki/TypeAlias.BackgroundRepeat.md +1 -1
  117. package/docs/wiki/TypeAlias.BackgroundSize.md +1 -1
  118. package/docs/wiki/globals.md +1 -1
  119. package/fesm2022/rxap-directives.mjs +259 -360
  120. package/fesm2022/rxap-directives.mjs.map +1 -1
  121. package/package.json +9 -9
  122. package/types/rxap-directives.d.ts +104 -102
@@ -1,6 +1,5 @@
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';
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 implements OnChanges, OnInit {
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?: BackgroundSize;
33
- repeat?: BackgroundRepeat;
34
- position?: BackgroundPosition;
35
- constructor(host: ElementRef, renderer: Renderer2, imageLoader: ImageLoaderService);
36
- ngOnInit(): void;
37
- ngOnChanges(changes: SimpleChanges): void;
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: 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>;
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: 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>;
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
- private _hasConfirmDirective;
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: i0.ɵɵFactoryDeclaration<ConfirmClick, never>;
65
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmClick>;
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
- 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
+ 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: 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>;
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
- width: string;
89
- static ɵfac: i0.ɵɵFactoryDeclaration<FullWidthDirective, never>;
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> implements OnChanges {
104
+ declare class IfTruthyDirective<Data, Parameters = any> {
97
105
  private readonly templateRef;
98
106
  private readonly viewContainerRef;
99
- private readonly cdr;
100
- method: Method<Data, Parameters>;
101
- parameters: Parameters;
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
- ngOnChanges(changes: SimpleChanges): void;
118
+ constructor();
113
119
  protected execute(): Promise<void>;
114
120
  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>;
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: i0.ɵɵFactoryDeclaration<IsDevModeDirective, never>;
127
- static ɵdir: i0.ɵɵDirectiveDeclaration<IsDevModeDirective, "[rxapIsDevMode]", never, {}, {}, never, never, true, never>;
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, OnChanges {
142
+ declare class MethodTemplateDirective<ReturnType = any, Parameters = any> implements OnInit {
138
143
  private readonly template;
139
144
  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>;
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
- embedded: EventEmitter<any>;
155
- constructor(template: TemplateRef<MethodTemplateDirectiveContext<ReturnType>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
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
- ngOnChanges(changes: SimpleChanges): void;
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: 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>;
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?: Parameters;
176
- immediately: boolean;
177
- executed$: EventEmitter<any>;
178
- failure$: EventEmitter<Error>;
179
- successful$: EventEmitter<ReturnType>;
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
- private _hasConfirmDirective;
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: 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>;
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 implements OnDestroy, OnInit {
204
+ declare class MovableDividerDirective {
200
205
  private readonly renderer;
201
- containerElement: HTMLDivElement;
202
- fixedElement: HTMLDivElement;
203
- origin: 'right' | 'left';
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(renderer: Renderer2);
219
- ngOnDestroy(): void;
220
- ngOnInit(): void;
221
+ constructor();
222
+ private listen;
221
223
  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
+ 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: i0.ɵɵFactoryDeclaration<PreventDefaultDirective, never>;
229
- static ɵdir: i0.ɵɵDirectiveDeclaration<PreventDefaultDirective, "[rxapPreventDefault]", never, {}, {}, never, never, true, never>;
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: i0.ɵɵFactoryDeclaration<ShareService, never>;
242
- static ɵprov: i0.ɵɵInjectableDeclaration<ShareService>;
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: 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>;
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: 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
+ 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: i0.ɵɵFactoryDeclaration<StopImmediatePropagationDirective, never>;
260
- static ɵdir: i0.ɵɵDirectiveDeclaration<StopImmediatePropagationDirective, "[rxapStopImmediatePropagation]", never, {}, {}, never, never, true, never>;
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: i0.ɵɵFactoryDeclaration<StopPropagationDirective, never>;
266
- static ɵdir: i0.ɵɵDirectiveDeclaration<StopPropagationDirective, "[rxapStopPropagation]", never, {}, {}, never, never, true, never>;
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 };