@rxap/directives 12.1.2 → 13.0.0-next.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.
Files changed (53) hide show
  1. package/esm2020/index.mjs +13 -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.directive.mjs +118 -0
  9. package/esm2020/lib/movable-divider.directive.mjs +101 -0
  10. package/esm2020/lib/prevent-default.directive.mjs +31 -0
  11. package/esm2020/lib/share-button.directive.mjs +75 -0
  12. package/esm2020/lib/stop-immediate-propagation.directive.mjs +31 -0
  13. package/esm2020/lib/stop-propagation.directive.mjs +31 -0
  14. package/esm2020/rxap-directives.mjs +5 -0
  15. package/fesm2015/{rxap-directives.js → rxap-directives.mjs} +196 -107
  16. package/fesm2015/rxap-directives.mjs.map +1 -0
  17. package/fesm2020/rxap-directives.mjs +773 -0
  18. package/fesm2020/rxap-directives.mjs.map +1 -0
  19. package/index.d.ts +1 -0
  20. package/lib/contenteditable.directive.d.ts +6 -2
  21. package/lib/if-truthy.directive.d.ts +33 -0
  22. package/package.json +29 -14
  23. package/src/schematics/ng-add/index.js +1 -1
  24. package/src/schematics/ng-add/index.js.map +1 -1
  25. package/bundles/rxap-directives.umd.js +0 -1174
  26. package/bundles/rxap-directives.umd.js.map +0 -1
  27. package/esm2015/index.js +0 -12
  28. package/esm2015/index.js.map +0 -1
  29. package/esm2015/lib/avatar-background-image.directive.js +0 -58
  30. package/esm2015/lib/avatar-background-image.directive.js.map +0 -1
  31. package/esm2015/lib/background-image.directive.js +0 -137
  32. package/esm2015/lib/background-image.directive.js.map +0 -1
  33. package/esm2015/lib/confirm-click.js +0 -34
  34. package/esm2015/lib/confirm-click.js.map +0 -1
  35. package/esm2015/lib/contenteditable.directive.js +0 -71
  36. package/esm2015/lib/contenteditable.directive.js.map +0 -1
  37. package/esm2015/lib/full-width.directive.js +0 -31
  38. package/esm2015/lib/full-width.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 -102
  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
@@ -99,23 +99,25 @@ class BackgroundImageDirective {
99
99
  });
100
100
  }
101
101
  }
102
- BackgroundImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", 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.0.1", 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.0.1", ngImpor
129
131
  }] } });
130
132
  class BackgroundImageDirectiveModule {
131
133
  }
132
- BackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
133
- BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
134
- BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: BackgroundImageDirectiveModule });
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: PreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
149
- PreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImpor
158
160
  }] } });
159
161
  class PreventDefaultDirectiveModule {
160
162
  }
161
- PreventDefaultDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PreventDefaultDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
- PreventDefaultDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] });
163
- PreventDefaultDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: PreventDefaultDirectiveModule });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: StopImmediatePropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
178
- StopImmediatePropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImpor
187
189
  }] } });
188
190
  class StopImmediatePropagationDirectiveModule {
189
191
  }
190
- StopImmediatePropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopImmediatePropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
191
- StopImmediatePropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] });
192
- StopImmediatePropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopImmediatePropagationDirectiveModule });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
207
- StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImpor
216
218
  }] } });
217
219
  class StopPropagationDirectiveModule {
218
220
  }
219
- StopPropagationDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopPropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
220
- StopPropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] });
221
- StopPropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: StopPropagationDirectiveModule });
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: ShareService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
252
- ShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ShareService, providedIn: 'root' });
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0.ɵɵFactoryTarget.Directive });
268
- ShareButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", 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.0.1", ngImpor
289
291
  }] } });
290
292
  class ShareButtonDirectiveModule {
291
293
  }
292
- ShareButtonDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ShareButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
293
- ShareButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] });
294
- ShareButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ShareButtonDirectiveModule });
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
309
- FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImpor
318
320
  }] } });
319
321
  class FullWidthDirectiveModule {
320
322
  }
321
- FullWidthDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
322
- FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
323
- FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: FullWidthDirectiveModule });
324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", 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.0.1", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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.0.1", ngImpor
371
375
  }] } });
372
376
  class AvatarBackgroundImageDirectiveModule {
373
377
  }
374
- AvatarBackgroundImageDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
375
- AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
376
- AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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],
@@ -383,44 +387,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
383
387
  }] });
384
388
 
385
389
  class ContenteditableDirective {
386
- constructor() {
390
+ constructor(elementRef) {
391
+ this.elementRef = elementRef;
387
392
  this.contenteditable = true;
393
+ this.spellcheck = false;
388
394
  this.change = new EventEmitter();
389
395
  }
390
396
  onClick($event) {
391
397
  $event.stopPropagation();
392
398
  }
393
399
  onInput($event) {
394
- var _a;
400
+ var _a, _b;
395
401
  return __awaiter(this, void 0, void 0, function* () {
396
- const value = $event.target.textContent;
397
- if (value && value.length > 3) {
402
+ const value = (_a = ($event.target.textContent)) === null || _a === void 0 ? void 0 : _a.trim();
403
+ if (value && value.length >= 2) {
398
404
  const event = {
399
405
  value,
400
406
  parameters: this.parameters
401
407
  };
402
408
  this.change.emit(event);
403
- yield ((_a = this.method) === null || _a === void 0 ? void 0 : _a.call(event));
409
+ const result = yield ((_b = this.method) === null || _b === void 0 ? void 0 : _b.call(event));
410
+ if (result && typeof result === 'string') {
411
+ this.initial = this.elementRef.nativeElement.innerText = result;
412
+ }
413
+ else if (this.initial) {
414
+ this.elementRef.nativeElement.innerText = this.initial;
415
+ }
404
416
  }
405
417
  });
406
418
  }
407
419
  }
408
- ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
409
- ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: { method: ["rxapContenteditable", "method"], parameters: "parameters" }, outputs: { change: "rxapContenteditable" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable" } }, 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 });
410
422
  __decorate([
411
423
  DebounceCall(1000),
412
424
  __metadata("design:type", Function),
413
425
  __metadata("design:paramtypes", [Object]),
414
426
  __metadata("design:returntype", Promise)
415
427
  ], ContenteditableDirective.prototype, "onInput", null);
416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, decorators: [{
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContenteditableDirective, decorators: [{
417
429
  type: Directive,
418
430
  args: [{
419
431
  selector: '[rxapContenteditable]'
420
432
  }]
421
- }], propDecorators: { contenteditable: [{
433
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { contenteditable: [{
422
434
  type: HostBinding,
423
435
  args: ['attr.contenteditable']
436
+ }], spellcheck: [{
437
+ type: HostBinding,
438
+ args: ['attr.spellcheck']
424
439
  }], method: [{
425
440
  type: Input,
426
441
  args: ['rxapContenteditable']
@@ -429,6 +444,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
429
444
  args: ['rxapContenteditable']
430
445
  }], parameters: [{
431
446
  type: Input
447
+ }], initial: [{
448
+ type: Input
432
449
  }], onClick: [{
433
450
  type: HostListener,
434
451
  args: ['click', ['$event']]
@@ -438,10 +455,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
438
455
  }] } });
439
456
  class ContenteditableDirectiveModule {
440
457
  }
441
- ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
442
- ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
443
- ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule });
444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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: [{
445
462
  type: NgModule,
446
463
  args: [{
447
464
  declarations: [ContenteditableDirective],
@@ -465,9 +482,9 @@ class ConfirmClick {
465
482
  this.execute();
466
483
  }
467
484
  }
468
- ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
469
- ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick });
470
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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: [{
471
488
  type: Injectable
472
489
  }], propDecorators: { hasConfirmDirective: [{
473
490
  type: Input,
@@ -550,9 +567,9 @@ class MethodDirective {
550
567
  this.successful$.emit(result);
551
568
  }
552
569
  }
553
- MethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
554
- MethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", 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 });
555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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: [{
556
573
  type: Directive,
557
574
  args: [{
558
575
  selector: '[rxapMethod]',
@@ -586,10 +603,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
586
603
  }] } });
587
604
  class MethodDirectiveModule {
588
605
  }
589
- MethodDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
590
- MethodDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
591
- MethodDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule });
592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", 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: [{
593
610
  type: NgModule,
594
611
  args: [{
595
612
  declarations: [MethodDirective],
@@ -652,8 +669,8 @@ class MovableDividerDirective {
652
669
  this._moveDivider = true;
653
670
  }
654
671
  }
655
- MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
656
- MovableDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 });
672
+ MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
673
+ 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 });
657
674
  __decorate([
658
675
  Required,
659
676
  __metadata("design:type", HTMLDivElement)
@@ -662,7 +679,7 @@ __decorate([
662
679
  Required,
663
680
  __metadata("design:type", HTMLDivElement)
664
681
  ], MovableDividerDirective.prototype, "fixedElement", void 0);
665
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirective, decorators: [{
682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirective, decorators: [{
666
683
  type: Directive,
667
684
  args: [{
668
685
  selector: '[rxapMovableDivider]'
@@ -682,10 +699,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
682
699
  }] } });
683
700
  class MovableDividerDirectiveModule {
684
701
  }
685
- MovableDividerDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
686
- MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
687
- MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule });
688
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
702
+ MovableDividerDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
703
+ MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
704
+ MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule });
705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
689
706
  type: NgModule,
690
707
  args: [{
691
708
  declarations: [MovableDividerDirective],
@@ -693,9 +710,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
693
710
  }]
694
711
  }] });
695
712
 
713
+ // TODO : mv to rxap package
714
+ class IfTruthyDirective {
715
+ constructor(templateRef, viewContainerRef, cdr) {
716
+ this.templateRef = templateRef;
717
+ this.viewContainerRef = viewContainerRef;
718
+ this.cdr = cdr;
719
+ }
720
+ /**
721
+ * Asserts the correct type of the context for the template that `NgForOf` will render.
722
+ *
723
+ * The presence of this method is a signal to the Ivy template type-check compiler that the
724
+ * `NgForOf` structural directive renders its template with a specific context type.
725
+ */
726
+ static ngTemplateContextGuard(dir, ctx) {
727
+ return true;
728
+ }
729
+ ngOnChanges(changes) {
730
+ if (this.method && this.parameters) {
731
+ this.execute();
732
+ }
733
+ }
734
+ execute() {
735
+ return __awaiter(this, void 0, void 0, function* () {
736
+ const result = yield this.method.call(this.parameters);
737
+ if (this.hasChanged(result)) {
738
+ this.viewContainerRef.clear();
739
+ if (result) {
740
+ this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });
741
+ }
742
+ }
743
+ this.cdr.detectChanges();
744
+ });
745
+ }
746
+ hasChanged(current) {
747
+ if (this._last !== undefined) {
748
+ const currentTrackBy = this.trackBy ? this.trackBy(current) : current;
749
+ const lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;
750
+ return currentTrackBy !== lastTrackBy;
751
+ }
752
+ return true;
753
+ }
754
+ }
755
+ 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 });
756
+ 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 });
757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirective, decorators: [{
758
+ type: Directive,
759
+ args: [{
760
+ selector: '[rxapIfTruthy]'
761
+ }]
762
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { method: [{
763
+ type: Input,
764
+ args: ['rxapIfTruthy']
765
+ }], parameters: [{
766
+ type: Input,
767
+ args: ['rxapIfTruthyParameters']
768
+ }], trackBy: [{
769
+ type: Input,
770
+ args: ['rxapIfTruthyTrackBy']
771
+ }] } });
772
+ class IfTruthyDirectiveModule {
773
+ }
774
+ IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
775
+ IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
776
+ IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule });
777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
778
+ type: NgModule,
779
+ args: [{
780
+ declarations: [IfTruthyDirective],
781
+ exports: [IfTruthyDirective]
782
+ }]
783
+ }] });
784
+
696
785
  /**
697
786
  * Generated bundle index. Do not edit.
698
787
  */
699
788
 
700
- export { AvatarBackgroundImageDirective, AvatarBackgroundImageDirectiveModule, BackgroundImageDirective, BackgroundImageDirectiveModule, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, ContenteditableDirectiveModule, FullWidthDirective, FullWidthDirectiveModule, GlobalStyleOptions, MethodDirective, MethodDirectiveModule, MovableDividerDirective, MovableDividerDirectiveModule, PreventDefaultDirective, PreventDefaultDirectiveModule, ShareButtonDirective, ShareButtonDirectiveModule, ShareService, StopImmediatePropagationDirective, StopImmediatePropagationDirectiveModule, StopPropagationDirective, StopPropagationDirectiveModule };
701
- //# sourceMappingURL=rxap-directives.js.map
789
+ 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 };
790
+ //# sourceMappingURL=rxap-directives.mjs.map