@rxap/directives 12.3.1 → 13.0.0-next.2

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 (53) hide show
  1. package/esm2020/index.mjs +14 -0
  2. package/esm2020/lib/avatar-background-image.directive.mjs +58 -0
  3. package/esm2020/lib/background-image.directive.mjs +134 -0
  4. package/esm2020/lib/confirm-click.mjs +34 -0
  5. package/esm2020/lib/contenteditable.directive.mjs +81 -0
  6. package/esm2020/lib/full-width.directive.mjs +31 -0
  7. package/esm2020/lib/if-truthy.directive.mjs +72 -0
  8. package/esm2020/lib/method-template.directive.mjs +156 -0
  9. package/esm2020/lib/method.directive.mjs +118 -0
  10. package/esm2020/lib/movable-divider.directive.mjs +103 -0
  11. package/esm2020/lib/prevent-default.directive.mjs +31 -0
  12. package/esm2020/lib/share-button.directive.mjs +75 -0
  13. package/esm2020/lib/stop-immediate-propagation.directive.mjs +31 -0
  14. package/esm2020/lib/stop-propagation.directive.mjs +31 -0
  15. package/esm2020/rxap-directives.mjs +5 -0
  16. package/fesm2015/{rxap-directives.js → rxap-directives.mjs} +271 -109
  17. package/fesm2015/rxap-directives.mjs.map +1 -0
  18. package/fesm2020/rxap-directives.mjs +928 -0
  19. package/fesm2020/rxap-directives.mjs.map +1 -0
  20. package/index.d.ts +1 -0
  21. package/lib/method-template.directive.d.ts +49 -0
  22. package/package.json +29 -15
  23. package/bundles/rxap-directives.umd.js +0 -1273
  24. package/bundles/rxap-directives.umd.js.map +0 -1
  25. package/esm2015/index.js +0 -13
  26. package/esm2015/index.js.map +0 -1
  27. package/esm2015/lib/avatar-background-image.directive.js +0 -58
  28. package/esm2015/lib/avatar-background-image.directive.js.map +0 -1
  29. package/esm2015/lib/background-image.directive.js +0 -137
  30. package/esm2015/lib/background-image.directive.js.map +0 -1
  31. package/esm2015/lib/confirm-click.js +0 -34
  32. package/esm2015/lib/confirm-click.js.map +0 -1
  33. package/esm2015/lib/contenteditable.directive.js +0 -84
  34. package/esm2015/lib/contenteditable.directive.js.map +0 -1
  35. package/esm2015/lib/full-width.directive.js +0 -31
  36. package/esm2015/lib/full-width.directive.js.map +0 -1
  37. package/esm2015/lib/if-truthy.directive.js +0 -75
  38. package/esm2015/lib/if-truthy.directive.js.map +0 -1
  39. package/esm2015/lib/method.directive.js +0 -122
  40. package/esm2015/lib/method.directive.js.map +0 -1
  41. package/esm2015/lib/movable-divider.directive.js +0 -104
  42. package/esm2015/lib/movable-divider.directive.js.map +0 -1
  43. package/esm2015/lib/prevent-default.directive.js +0 -31
  44. package/esm2015/lib/prevent-default.directive.js.map +0 -1
  45. package/esm2015/lib/share-button.directive.js +0 -77
  46. package/esm2015/lib/share-button.directive.js.map +0 -1
  47. package/esm2015/lib/stop-immediate-propagation.directive.js +0 -31
  48. package/esm2015/lib/stop-immediate-propagation.directive.js.map +0 -1
  49. package/esm2015/lib/stop-propagation.directive.js +0 -31
  50. package/esm2015/lib/stop-propagation.directive.js.map +0 -1
  51. package/esm2015/rxap-directives.js +0 -5
  52. package/esm2015/rxap-directives.js.map +0 -1
  53. package/fesm2015/rxap-directives.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { __awaiter, __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { isDevMode, ElementRef, Renderer2, Directive, Inject, Input, NgModule, HostListener, Injectable, HostBinding, EventEmitter, Output } from '@angular/core';
3
+ import { isDevMode, ElementRef, Renderer2, Directive, Inject, Input, NgModule, HostListener, Injectable, HostBinding, EventEmitter, Output, TemplateRef, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
4
4
  import * as i1 from '@rxap/services';
5
5
  import { ImageLoaderService, AvatarImageService } from '@rxap/services';
6
6
  import { Required, DebounceCall, coerceBoolean } from '@rxap/utilities';
@@ -99,23 +99,25 @@ class BackgroundImageDirective {
99
99
  });
100
100
  }
101
101
  }
102
- BackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }], target: i0.ɵɵFactoryTarget.Directive });
103
- BackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 });
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirective, decorators: [{
102
+ BackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }], target: i0.ɵɵFactoryTarget.Directive });
103
+ BackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 });
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirective, decorators: [{
105
105
  type: Directive,
106
106
  args: [{
107
107
  selector: '[rxapBackgroundImage]',
108
108
  }]
109
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
110
- type: Inject,
111
- args: [ElementRef]
112
- }] }, { type: i0.Renderer2, decorators: [{
113
- type: Inject,
114
- args: [Renderer2]
115
- }] }, { type: i1.ImageLoaderService, decorators: [{
116
- type: Inject,
117
- args: [ImageLoaderService]
118
- }] }]; }, propDecorators: { imageUrl: [{
109
+ }], ctorParameters: function () {
110
+ return [{ type: i0.ElementRef, decorators: [{
111
+ type: Inject,
112
+ args: [ElementRef]
113
+ }] }, { type: i0.Renderer2, decorators: [{
114
+ type: Inject,
115
+ args: [Renderer2]
116
+ }] }, { type: i1.ImageLoaderService, decorators: [{
117
+ type: Inject,
118
+ args: [ImageLoaderService]
119
+ }] }];
120
+ }, propDecorators: { imageUrl: [{
119
121
  type: Input,
120
122
  args: ['rxapBackgroundImage']
121
123
  }], placeholderImageUrl: [{
@@ -129,10 +131,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
129
131
  }] } });
130
132
  class BackgroundImageDirectiveModule {
131
133
  }
132
- BackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
133
- BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
134
- BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule });
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
134
+ BackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
135
+ BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
136
+ BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirectiveModule });
137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
136
138
  type: NgModule,
137
139
  args: [{
138
140
  declarations: [BackgroundImageDirective],
@@ -145,9 +147,9 @@ class PreventDefaultDirective {
145
147
  $event.preventDefault();
146
148
  }
147
149
  }
148
- PreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
149
- PreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirective, decorators: [{
150
+ PreventDefaultDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
151
+ PreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirective, decorators: [{
151
153
  type: Directive,
152
154
  args: [{
153
155
  selector: '[rxapPreventDefault]'
@@ -158,10 +160,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
158
160
  }] } });
159
161
  class PreventDefaultDirectiveModule {
160
162
  }
161
- PreventDefaultDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
- PreventDefaultDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] });
163
- PreventDefaultDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirectiveModule });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PreventDefaultDirectiveModule, decorators: [{
163
+ PreventDefaultDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
164
+ PreventDefaultDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] });
165
+ PreventDefaultDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirectiveModule });
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: PreventDefaultDirectiveModule, decorators: [{
165
167
  type: NgModule,
166
168
  args: [{
167
169
  exports: [PreventDefaultDirective],
@@ -174,9 +176,9 @@ class StopImmediatePropagationDirective {
174
176
  $event.stopImmediatePropagation();
175
177
  }
176
178
  }
177
- StopImmediatePropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
178
- StopImmediatePropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirective, decorators: [{
179
+ StopImmediatePropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
180
+ StopImmediatePropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirective, decorators: [{
180
182
  type: Directive,
181
183
  args: [{
182
184
  selector: '[rxapStopImmediatePropagation]'
@@ -187,10 +189,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
187
189
  }] } });
188
190
  class StopImmediatePropagationDirectiveModule {
189
191
  }
190
- StopImmediatePropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
191
- StopImmediatePropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] });
192
- StopImmediatePropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirectiveModule });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopImmediatePropagationDirectiveModule, decorators: [{
192
+ StopImmediatePropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
193
+ StopImmediatePropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] });
194
+ StopImmediatePropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule });
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule, decorators: [{
194
196
  type: NgModule,
195
197
  args: [{
196
198
  exports: [StopImmediatePropagationDirective],
@@ -203,9 +205,9 @@ class StopPropagationDirective {
203
205
  $event.stopPropagation();
204
206
  }
205
207
  }
206
- StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
207
- StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirective, decorators: [{
208
+ StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
209
+ StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirective, decorators: [{
209
211
  type: Directive,
210
212
  args: [{
211
213
  selector: '[rxapStopPropagation]'
@@ -216,10 +218,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
216
218
  }] } });
217
219
  class StopPropagationDirectiveModule {
218
220
  }
219
- StopPropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
220
- StopPropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] });
221
- StopPropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirectiveModule });
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: StopPropagationDirectiveModule, decorators: [{
221
+ StopPropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
222
+ StopPropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] });
223
+ StopPropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirectiveModule });
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: StopPropagationDirectiveModule, decorators: [{
223
225
  type: NgModule,
224
226
  args: [{
225
227
  exports: [StopPropagationDirective],
@@ -248,9 +250,9 @@ class ShareService {
248
250
  return !!navigator.share;
249
251
  }
250
252
  }
251
- ShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
252
- ShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareService, providedIn: 'root' });
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareService, decorators: [{
253
+ ShareService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
254
+ ShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareService, providedIn: 'root' });
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareService, decorators: [{
254
256
  type: Injectable,
255
257
  args: [{ providedIn: 'root' }]
256
258
  }] });
@@ -264,13 +266,13 @@ class ShareButtonDirective {
264
266
  .catch(err => console.error('share failed', err.message));
265
267
  }
266
268
  }
267
- ShareButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0.ɵɵFactoryTarget.Directive });
268
- ShareButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ShareButtonDirective, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0 });
269
+ ShareButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0.ɵɵFactoryTarget.Directive });
270
+ ShareButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ShareButtonDirective, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0 });
269
271
  __decorate([
270
272
  Required,
271
273
  __metadata("design:type", String)
272
274
  ], ShareButtonDirective.prototype, "title", void 0);
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirective, decorators: [{
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirective, decorators: [{
274
276
  type: Directive,
275
277
  args: [{
276
278
  selector: '[rxapShareButton]'
@@ -289,10 +291,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
289
291
  }] } });
290
292
  class ShareButtonDirectiveModule {
291
293
  }
292
- ShareButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
293
- ShareButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] });
294
- ShareButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirectiveModule });
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirectiveModule, decorators: [{
294
+ ShareButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
295
+ ShareButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] });
296
+ ShareButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirectiveModule });
297
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ShareButtonDirectiveModule, decorators: [{
296
298
  type: NgModule,
297
299
  args: [{
298
300
  exports: [ShareButtonDirective],
@@ -305,9 +307,9 @@ class FullWidthDirective {
305
307
  this.width = '100%';
306
308
  }
307
309
  }
308
- FullWidthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
309
- FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirective, decorators: [{
310
+ FullWidthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
311
+ FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirective, decorators: [{
311
313
  type: Directive,
312
314
  args: [{
313
315
  selector: '[rxapFullWidth]',
@@ -318,10 +320,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
318
320
  }] } });
319
321
  class FullWidthDirectiveModule {
320
322
  }
321
- FullWidthDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
322
- FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
323
- FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule });
324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
323
+ FullWidthDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
324
+ FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
325
+ FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirectiveModule });
326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
325
327
  type: NgModule,
326
328
  args: [{
327
329
  declarations: [FullWidthDirective],
@@ -343,27 +345,29 @@ class AvatarBackgroundImageDirective extends BackgroundImageDirective {
343
345
  }
344
346
  }
345
347
  }
346
- AvatarBackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }, { token: AvatarImageService }], target: i0.ɵɵFactoryTarget.Directive });
347
- AvatarBackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
348
+ AvatarBackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }, { token: AvatarImageService }], target: i0.ɵɵFactoryTarget.Directive });
349
+ AvatarBackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
349
351
  type: Directive,
350
352
  args: [{
351
353
  // tslint:disable-next-line:directive-selector
352
354
  selector: '[rxapAvatarBackgroundImage]',
353
355
  }]
354
- }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
355
- type: Inject,
356
- args: [ElementRef]
357
- }] }, { type: i0.Renderer2, decorators: [{
358
- type: Inject,
359
- args: [Renderer2]
360
- }] }, { type: i1.ImageLoaderService, decorators: [{
361
- type: Inject,
362
- args: [ImageLoaderService]
363
- }] }, { type: i1.AvatarImageService, decorators: [{
364
- type: Inject,
365
- args: [AvatarImageService]
366
- }] }]; }, propDecorators: { name: [{
356
+ }], ctorParameters: function () {
357
+ return [{ type: i0.ElementRef, decorators: [{
358
+ type: Inject,
359
+ args: [ElementRef]
360
+ }] }, { type: i0.Renderer2, decorators: [{
361
+ type: Inject,
362
+ args: [Renderer2]
363
+ }] }, { type: i1.ImageLoaderService, decorators: [{
364
+ type: Inject,
365
+ args: [ImageLoaderService]
366
+ }] }, { type: i1.AvatarImageService, decorators: [{
367
+ type: Inject,
368
+ args: [AvatarImageService]
369
+ }] }];
370
+ }, propDecorators: { name: [{
367
371
  type: Input
368
372
  }], imageUrl: [{
369
373
  type: Input,
@@ -371,10 +375,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
371
375
  }] } });
372
376
  class AvatarBackgroundImageDirectiveModule {
373
377
  }
374
- AvatarBackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
375
- AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
376
- AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
378
+ AvatarBackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
379
+ AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
380
+ AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
378
382
  type: NgModule,
379
383
  args: [{
380
384
  declarations: [AvatarBackgroundImageDirective],
@@ -413,15 +417,15 @@ class ContenteditableDirective {
413
417
  });
414
418
  }
415
419
  }
416
- ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
417
- ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: { method: ["rxapContenteditable", "method"], parameters: "parameters", initial: "initial" }, outputs: { change: "rxapContenteditable" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable", "attr.spellcheck": "this.spellcheck" } }, ngImport: i0 });
420
+ ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
421
+ ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: { method: ["rxapContenteditable", "method"], parameters: "parameters", initial: "initial" }, outputs: { change: "rxapContenteditable" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable", "attr.spellcheck": "this.spellcheck" } }, ngImport: i0 });
418
422
  __decorate([
419
423
  DebounceCall(1000),
420
424
  __metadata("design:type", Function),
421
425
  __metadata("design:paramtypes", [Object]),
422
426
  __metadata("design:returntype", Promise)
423
427
  ], ContenteditableDirective.prototype, "onInput", null);
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirective, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirective, decorators: [{
425
429
  type: Directive,
426
430
  args: [{
427
431
  selector: '[rxapContenteditable]'
@@ -451,10 +455,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
451
455
  }] } });
452
456
  class ContenteditableDirectiveModule {
453
457
  }
454
- ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
455
- ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
456
- ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule });
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
458
+ ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
459
+ ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
460
+ ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirectiveModule });
461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
458
462
  type: NgModule,
459
463
  args: [{
460
464
  declarations: [ContenteditableDirective],
@@ -478,9 +482,9 @@ class ConfirmClick {
478
482
  this.execute();
479
483
  }
480
484
  }
481
- ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
482
- ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick });
483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ConfirmClick, decorators: [{
485
+ ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
486
+ ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmClick });
487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmClick, decorators: [{
484
488
  type: Injectable
485
489
  }], propDecorators: { hasConfirmDirective: [{
486
490
  type: Input,
@@ -563,9 +567,9 @@ class MethodDirective {
563
567
  this.successful$.emit(result);
564
568
  }
565
569
  }
566
- MethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
567
- MethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MethodDirective, selector: "[rxapMethod]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], method: ["rxapMethod", "method"], parameters: "parameters", immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapMethod"], ngImport: i0 });
568
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirective, decorators: [{
570
+ MethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
571
+ MethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: MethodDirective, selector: "[rxapMethod]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], method: ["rxapMethod", "method"], parameters: "parameters", immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapMethod"], ngImport: i0 });
572
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirective, decorators: [{
569
573
  type: Directive,
570
574
  args: [{
571
575
  selector: '[rxapMethod]',
@@ -599,10 +603,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
599
603
  }] } });
600
604
  class MethodDirectiveModule {
601
605
  }
602
- MethodDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
603
- MethodDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
604
- MethodDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirectiveModule });
605
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MethodDirectiveModule, decorators: [{
606
+ MethodDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
607
+ MethodDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
608
+ MethodDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirectiveModule });
609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodDirectiveModule, decorators: [{
606
610
  type: NgModule,
607
611
  args: [{
608
612
  declarations: [MethodDirective],
@@ -667,8 +671,8 @@ class MovableDividerDirective {
667
671
  this._moveDivider = true;
668
672
  }
669
673
  }
670
- MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
671
- MovableDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 });
674
+ MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
675
+ MovableDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 });
672
676
  __decorate([
673
677
  Required,
674
678
  __metadata("design:type", HTMLDivElement)
@@ -677,7 +681,7 @@ __decorate([
677
681
  Required,
678
682
  __metadata("design:type", HTMLDivElement)
679
683
  ], MovableDividerDirective.prototype, "fixedElement", void 0);
680
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirective, decorators: [{
684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirective, decorators: [{
681
685
  type: Directive,
682
686
  args: [{
683
687
  selector: '[rxapMovableDivider]'
@@ -697,10 +701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
697
701
  }] } });
698
702
  class MovableDividerDirectiveModule {
699
703
  }
700
- MovableDividerDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
701
- MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
702
- MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirectiveModule });
703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
704
+ MovableDividerDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
705
+ MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
706
+ MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule });
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
704
708
  type: NgModule,
705
709
  args: [{
706
710
  declarations: [MovableDividerDirective],
@@ -750,9 +754,9 @@ class IfTruthyDirective {
750
754
  return true;
751
755
  }
752
756
  }
753
- IfTruthyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
754
- IfTruthyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 });
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirective, decorators: [{
757
+ IfTruthyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
758
+ IfTruthyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 });
759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirective, decorators: [{
756
760
  type: Directive,
757
761
  args: [{
758
762
  selector: '[rxapIfTruthy]'
@@ -769,10 +773,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
769
773
  }] } });
770
774
  class IfTruthyDirectiveModule {
771
775
  }
772
- IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
773
- IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
774
- IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule });
775
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
776
+ IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
777
+ IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
778
+ IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule });
779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
776
780
  type: NgModule,
777
781
  args: [{
778
782
  declarations: [IfTruthyDirective],
@@ -780,9 +784,167 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
780
784
  }]
781
785
  }] });
782
786
 
787
+ class MethodTemplateDirective {
788
+ constructor(template, viewContainerRef, cdr) {
789
+ this.template = template;
790
+ this.viewContainerRef = viewContainerRef;
791
+ this.cdr = cdr;
792
+ this.withoutParameters = false;
793
+ this.immediately = false;
794
+ this.executed$ = new EventEmitter();
795
+ this.failure$ = new EventEmitter();
796
+ this.successful$ = new EventEmitter();
797
+ /**
798
+ * true - a remote method call is in progress
799
+ */
800
+ this.executing$ = new ToggleSubject();
801
+ this.embedded = new EventEmitter();
802
+ }
803
+ static ngTemplateContextGuard(dir, ctx) {
804
+ return true;
805
+ }
806
+ ngOnChanges(changes) {
807
+ const parametersChanges = changes.parameters;
808
+ if (parametersChanges) {
809
+ this.execute(parametersChanges.currentValue);
810
+ }
811
+ }
812
+ ngOnInit() {
813
+ this.renderLoadingTemplate();
814
+ if (this.withoutParameters) {
815
+ this.execute();
816
+ }
817
+ }
818
+ onConfirmed() {
819
+ return this.execute();
820
+ }
821
+ execute(parameters = this.parameters) {
822
+ return __awaiter(this, void 0, void 0, function* () {
823
+ this.executing$.enable();
824
+ try {
825
+ const result = yield this.method.call(parameters);
826
+ this.executed(result);
827
+ this.renderTemplate(result);
828
+ this.successful(result);
829
+ }
830
+ catch (error) {
831
+ if (isDevMode()) {
832
+ console.error(`Method directive execution failed:`, error.message);
833
+ }
834
+ this.failure(error);
835
+ }
836
+ finally {
837
+ this.executing$.disable();
838
+ }
839
+ });
840
+ }
841
+ setParameter(parameterKey, value) {
842
+ this.updateParameters({ [parameterKey]: value });
843
+ }
844
+ updateParameters(parameters) {
845
+ var _a;
846
+ this.parameters = Object.assign(Object.assign({}, ((_a = this.parameters) !== null && _a !== void 0 ? _a : {})), parameters);
847
+ }
848
+ renderLoadingTemplate() {
849
+ if (this.loadingTemplate) {
850
+ this.viewContainerRef.clear();
851
+ this.viewContainerRef.createEmbeddedView(this.loadingTemplate);
852
+ }
853
+ }
854
+ executed(result) {
855
+ this.executed$.emit(result);
856
+ }
857
+ failure(error) {
858
+ this.failure$.emit(error);
859
+ }
860
+ successful(result) {
861
+ this.successful$.emit(result);
862
+ }
863
+ renderTemplate(result) {
864
+ this.viewContainerRef.clear();
865
+ try {
866
+ this.viewContainerRef.createEmbeddedView(this.template, { $implicit: result });
867
+ }
868
+ catch (error) {
869
+ if (this.errorTemplate) {
870
+ this.viewContainerRef.createEmbeddedView(this.errorTemplate, { $implicit: error, message: error.message });
871
+ }
872
+ console.error(error.message);
873
+ }
874
+ this.embedded.emit();
875
+ this.cdr.detectChanges();
876
+ }
877
+ }
878
+ MethodTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
879
+ MethodTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: MethodTemplateDirective, selector: "[rxapMethod]", inputs: { method: ["rxapMethodCall", "method"], parameters: ["rxapMethodParameters", "parameters"], errorTemplate: ["rxapMethodError", "errorTemplate"], loadingTemplate: ["rxapMethodLoading", "loadingTemplate"], withoutParameters: ["rxapMethodWithoutParameters", "withoutParameters"], immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", executing$: "executing", embedded: "embedded" }, host: { listeners: { "confirmed": "onConfirmed()" } }, exportAs: ["rxapMethod"], usesOnChanges: true, ngImport: i0 });
880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirective, decorators: [{
881
+ type: Directive,
882
+ args: [{
883
+ selector: '[rxapMethod]',
884
+ exportAs: 'rxapMethod'
885
+ }]
886
+ }], ctorParameters: function () {
887
+ return [{ type: i0.TemplateRef, decorators: [{
888
+ type: Inject,
889
+ args: [TemplateRef]
890
+ }] }, { type: i0.ViewContainerRef, decorators: [{
891
+ type: Inject,
892
+ args: [ViewContainerRef]
893
+ }] }, { type: i0.ChangeDetectorRef, decorators: [{
894
+ type: Inject,
895
+ args: [ChangeDetectorRef]
896
+ }] }];
897
+ }, propDecorators: { method: [{
898
+ type: Input,
899
+ args: ['rxapMethodCall']
900
+ }], parameters: [{
901
+ type: Input,
902
+ args: ['rxapMethodParameters']
903
+ }], errorTemplate: [{
904
+ type: Input,
905
+ args: ['rxapMethodError']
906
+ }], loadingTemplate: [{
907
+ type: Input,
908
+ args: ['rxapMethodLoading']
909
+ }], withoutParameters: [{
910
+ type: Input,
911
+ args: ['rxapMethodWithoutParameters']
912
+ }], immediately: [{
913
+ type: Input
914
+ }], executed$: [{
915
+ type: Output,
916
+ args: ['executed']
917
+ }], failure$: [{
918
+ type: Output,
919
+ args: ['failure']
920
+ }], successful$: [{
921
+ type: Output,
922
+ args: ['successful']
923
+ }], executing$: [{
924
+ type: Output,
925
+ args: ['executing']
926
+ }], embedded: [{
927
+ type: Output
928
+ }], onConfirmed: [{
929
+ type: HostListener,
930
+ args: ['confirmed']
931
+ }] } });
932
+ class MethodTemplateDirectiveModule {
933
+ }
934
+ MethodTemplateDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
935
+ MethodTemplateDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirectiveModule, declarations: [MethodTemplateDirective], exports: [MethodTemplateDirective] });
936
+ MethodTemplateDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirectiveModule });
937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MethodTemplateDirectiveModule, decorators: [{
938
+ type: NgModule,
939
+ args: [{
940
+ declarations: [MethodTemplateDirective],
941
+ exports: [MethodTemplateDirective]
942
+ }]
943
+ }] });
944
+
783
945
  /**
784
946
  * Generated bundle index. Do not edit.
785
947
  */
786
948
 
787
- export { AvatarBackgroundImageDirective, AvatarBackgroundImageDirectiveModule, BackgroundImageDirective, BackgroundImageDirectiveModule, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, ContenteditableDirectiveModule, FullWidthDirective, FullWidthDirectiveModule, GlobalStyleOptions, IfTruthyDirective, IfTruthyDirectiveModule, MethodDirective, MethodDirectiveModule, MovableDividerDirective, MovableDividerDirectiveModule, PreventDefaultDirective, PreventDefaultDirectiveModule, ShareButtonDirective, ShareButtonDirectiveModule, ShareService, StopImmediatePropagationDirective, StopImmediatePropagationDirectiveModule, StopPropagationDirective, StopPropagationDirectiveModule };
788
- //# sourceMappingURL=rxap-directives.js.map
949
+ export { AvatarBackgroundImageDirective, AvatarBackgroundImageDirectiveModule, BackgroundImageDirective, BackgroundImageDirectiveModule, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, ContenteditableDirectiveModule, FullWidthDirective, FullWidthDirectiveModule, GlobalStyleOptions, IfTruthyDirective, IfTruthyDirectiveModule, MethodDirective, MethodDirectiveModule, MethodTemplateDirective, MethodTemplateDirectiveModule, MovableDividerDirective, MovableDividerDirectiveModule, PreventDefaultDirective, PreventDefaultDirectiveModule, ShareButtonDirective, ShareButtonDirectiveModule, ShareService, StopImmediatePropagationDirective, StopImmediatePropagationDirectiveModule, StopPropagationDirective, StopPropagationDirectiveModule };
950
+ //# sourceMappingURL=rxap-directives.mjs.map