@rxap/directives 12.3.0 → 12.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/bundles/rxap-directives.umd.js +94 -94
  2. package/bundles/rxap-directives.umd.js.map +1 -1
  3. package/esm2015/lib/avatar-background-image.directive.js +7 -7
  4. package/esm2015/lib/avatar-background-image.directive.js.map +1 -1
  5. package/esm2015/lib/background-image.directive.js +7 -7
  6. package/esm2015/lib/background-image.directive.js.map +1 -1
  7. package/esm2015/lib/confirm-click.js +3 -3
  8. package/esm2015/lib/confirm-click.js.map +1 -1
  9. package/esm2015/lib/contenteditable.directive.js +7 -7
  10. package/esm2015/lib/contenteditable.directive.js.map +1 -1
  11. package/esm2015/lib/full-width.directive.js +7 -7
  12. package/esm2015/lib/full-width.directive.js.map +1 -1
  13. package/esm2015/lib/if-truthy.directive.js +7 -7
  14. package/esm2015/lib/if-truthy.directive.js.map +1 -1
  15. package/esm2015/lib/method.directive.js +7 -7
  16. package/esm2015/lib/method.directive.js.map +1 -1
  17. package/esm2015/lib/movable-divider.directive.js +15 -13
  18. package/esm2015/lib/movable-divider.directive.js.map +1 -1
  19. package/esm2015/lib/prevent-default.directive.js +7 -7
  20. package/esm2015/lib/prevent-default.directive.js.map +1 -1
  21. package/esm2015/lib/share-button.directive.js +10 -10
  22. package/esm2015/lib/share-button.directive.js.map +1 -1
  23. package/esm2015/lib/stop-immediate-propagation.directive.js +7 -7
  24. package/esm2015/lib/stop-immediate-propagation.directive.js.map +1 -1
  25. package/esm2015/lib/stop-propagation.directive.js +7 -7
  26. package/esm2015/lib/stop-propagation.directive.js.map +1 -1
  27. package/fesm2015/rxap-directives.js +90 -88
  28. package/fesm2015/rxap-directives.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/schematics/ng-add/index.js +1 -1
  31. package/src/schematics/ng-add/index.js.map +1 -1
@@ -99,9 +99,9 @@ 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: "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: [{
105
105
  type: Directive,
106
106
  args: [{
107
107
  selector: '[rxapBackgroundImage]',
@@ -129,10 +129,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
129
129
  }] } });
130
130
  class BackgroundImageDirectiveModule {
131
131
  }
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: [{
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: [{
136
136
  type: NgModule,
137
137
  args: [{
138
138
  declarations: [BackgroundImageDirective],
@@ -145,9 +145,9 @@ class PreventDefaultDirective {
145
145
  $event.preventDefault();
146
146
  }
147
147
  }
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: [{
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: [{
151
151
  type: Directive,
152
152
  args: [{
153
153
  selector: '[rxapPreventDefault]'
@@ -158,10 +158,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
158
158
  }] } });
159
159
  class PreventDefaultDirectiveModule {
160
160
  }
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: [{
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: [{
165
165
  type: NgModule,
166
166
  args: [{
167
167
  exports: [PreventDefaultDirective],
@@ -174,9 +174,9 @@ class StopImmediatePropagationDirective {
174
174
  $event.stopImmediatePropagation();
175
175
  }
176
176
  }
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: [{
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: [{
180
180
  type: Directive,
181
181
  args: [{
182
182
  selector: '[rxapStopImmediatePropagation]'
@@ -187,10 +187,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
187
187
  }] } });
188
188
  class StopImmediatePropagationDirectiveModule {
189
189
  }
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: [{
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: [{
194
194
  type: NgModule,
195
195
  args: [{
196
196
  exports: [StopImmediatePropagationDirective],
@@ -203,9 +203,9 @@ class StopPropagationDirective {
203
203
  $event.stopPropagation();
204
204
  }
205
205
  }
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: [{
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: [{
209
209
  type: Directive,
210
210
  args: [{
211
211
  selector: '[rxapStopPropagation]'
@@ -216,10 +216,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
216
216
  }] } });
217
217
  class StopPropagationDirectiveModule {
218
218
  }
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: [{
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: [{
223
223
  type: NgModule,
224
224
  args: [{
225
225
  exports: [StopPropagationDirective],
@@ -248,9 +248,9 @@ class ShareService {
248
248
  return !!navigator.share;
249
249
  }
250
250
  }
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: [{
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: [{
254
254
  type: Injectable,
255
255
  args: [{ providedIn: 'root' }]
256
256
  }] });
@@ -264,13 +264,13 @@ class ShareButtonDirective {
264
264
  .catch(err => console.error('share failed', err.message));
265
265
  }
266
266
  }
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 });
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
269
  __decorate([
270
270
  Required,
271
271
  __metadata("design:type", String)
272
272
  ], ShareButtonDirective.prototype, "title", void 0);
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ShareButtonDirective, decorators: [{
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShareButtonDirective, decorators: [{
274
274
  type: Directive,
275
275
  args: [{
276
276
  selector: '[rxapShareButton]'
@@ -289,10 +289,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
289
289
  }] } });
290
290
  class ShareButtonDirectiveModule {
291
291
  }
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: [{
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: [{
296
296
  type: NgModule,
297
297
  args: [{
298
298
  exports: [ShareButtonDirective],
@@ -305,9 +305,9 @@ class FullWidthDirective {
305
305
  this.width = '100%';
306
306
  }
307
307
  }
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: [{
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: [{
311
311
  type: Directive,
312
312
  args: [{
313
313
  selector: '[rxapFullWidth]',
@@ -318,10 +318,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
318
318
  }] } });
319
319
  class FullWidthDirectiveModule {
320
320
  }
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: [{
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: [{
325
325
  type: NgModule,
326
326
  args: [{
327
327
  declarations: [FullWidthDirective],
@@ -343,9 +343,9 @@ class AvatarBackgroundImageDirective extends BackgroundImageDirective {
343
343
  }
344
344
  }
345
345
  }
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: [{
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: [{
349
349
  type: Directive,
350
350
  args: [{
351
351
  // tslint:disable-next-line:directive-selector
@@ -371,10 +371,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
371
371
  }] } });
372
372
  class AvatarBackgroundImageDirectiveModule {
373
373
  }
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: [{
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
378
  type: NgModule,
379
379
  args: [{
380
380
  declarations: [AvatarBackgroundImageDirective],
@@ -413,15 +413,15 @@ class ContenteditableDirective {
413
413
  });
414
414
  }
415
415
  }
416
- ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
417
- ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", 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 });
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 });
418
418
  __decorate([
419
419
  DebounceCall(1000),
420
420
  __metadata("design:type", Function),
421
421
  __metadata("design:paramtypes", [Object]),
422
422
  __metadata("design:returntype", Promise)
423
423
  ], ContenteditableDirective.prototype, "onInput", null);
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirective, decorators: [{
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContenteditableDirective, decorators: [{
425
425
  type: Directive,
426
426
  args: [{
427
427
  selector: '[rxapContenteditable]'
@@ -451,10 +451,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
451
451
  }] } });
452
452
  class ContenteditableDirectiveModule {
453
453
  }
454
- ContenteditableDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
455
- ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
456
- ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule });
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
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
458
  type: NgModule,
459
459
  args: [{
460
460
  declarations: [ContenteditableDirective],
@@ -478,9 +478,9 @@ class ConfirmClick {
478
478
  this.execute();
479
479
  }
480
480
  }
481
- ConfirmClick.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
482
- ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick });
483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: ConfirmClick, decorators: [{
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: [{
484
484
  type: Injectable
485
485
  }], propDecorators: { hasConfirmDirective: [{
486
486
  type: Input,
@@ -563,9 +563,9 @@ class MethodDirective {
563
563
  this.successful$.emit(result);
564
564
  }
565
565
  }
566
- MethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
567
- 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 });
568
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirective, decorators: [{
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: [{
569
569
  type: Directive,
570
570
  args: [{
571
571
  selector: '[rxapMethod]',
@@ -599,10 +599,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
599
599
  }] } });
600
600
  class MethodDirectiveModule {
601
601
  }
602
- MethodDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
603
- MethodDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
604
- MethodDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule });
605
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MethodDirectiveModule, decorators: [{
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
606
  type: NgModule,
607
607
  args: [{
608
608
  declarations: [MethodDirective],
@@ -643,11 +643,13 @@ class MovableDividerDirective {
643
643
  this._fixedElementWidth = $event.clientX - this.containerElement.getBoundingClientRect().left;
644
644
  }
645
645
  else if (this.origin === 'left') {
646
- console.log({
647
- clientWidth: this.containerElement.clientWidth,
648
- clientX: $event.clientX,
649
- clientLeft: this.containerElement.getBoundingClientRect().left
650
- });
646
+ if (isDevMode()) {
647
+ console.log({
648
+ clientWidth: this.containerElement.clientWidth,
649
+ clientX: $event.clientX,
650
+ clientLeft: this.containerElement.getBoundingClientRect().left
651
+ });
652
+ }
651
653
  this._fixedElementWidth = this.containerElement.clientWidth - $event.clientX + this.containerElement.getBoundingClientRect().left;
652
654
  }
653
655
  else {
@@ -665,8 +667,8 @@ class MovableDividerDirective {
665
667
  this._moveDivider = true;
666
668
  }
667
669
  }
668
- MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
669
- 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 });
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 });
670
672
  __decorate([
671
673
  Required,
672
674
  __metadata("design:type", HTMLDivElement)
@@ -675,7 +677,7 @@ __decorate([
675
677
  Required,
676
678
  __metadata("design:type", HTMLDivElement)
677
679
  ], MovableDividerDirective.prototype, "fixedElement", void 0);
678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirective, decorators: [{
680
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MovableDividerDirective, decorators: [{
679
681
  type: Directive,
680
682
  args: [{
681
683
  selector: '[rxapMovableDivider]'
@@ -695,10 +697,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
695
697
  }] } });
696
698
  class MovableDividerDirectiveModule {
697
699
  }
698
- MovableDividerDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
699
- MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
700
- MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule });
701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
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: [{
702
704
  type: NgModule,
703
705
  args: [{
704
706
  declarations: [MovableDividerDirective],
@@ -748,9 +750,9 @@ class IfTruthyDirective {
748
750
  return true;
749
751
  }
750
752
  }
751
- IfTruthyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
752
- IfTruthyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 });
753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirective, decorators: [{
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: [{
754
756
  type: Directive,
755
757
  args: [{
756
758
  selector: '[rxapIfTruthy]'
@@ -767,10 +769,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImpor
767
769
  }] } });
768
770
  class IfTruthyDirectiveModule {
769
771
  }
770
- IfTruthyDirectiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
771
- IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
772
- IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule });
773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
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: [{
774
776
  type: NgModule,
775
777
  args: [{
776
778
  declarations: [IfTruthyDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-directives.js","sources":["../../../../libs/directives/src/lib/background-image.directive.ts","../../../../libs/directives/src/lib/prevent-default.directive.ts","../../../../libs/directives/src/lib/stop-immediate-propagation.directive.ts","../../../../libs/directives/src/lib/stop-propagation.directive.ts","../../../../libs/directives/src/lib/share-button.directive.ts","../../../../libs/directives/src/lib/full-width.directive.ts","../../../../libs/directives/src/lib/avatar-background-image.directive.ts","../../../../libs/directives/src/lib/contenteditable.directive.ts","../../../../libs/directives/src/lib/confirm-click.ts","../../../../libs/directives/src/lib/method.directive.ts","../../../../libs/directives/src/lib/movable-divider.directive.ts","../../../../libs/directives/src/lib/if-truthy.directive.ts","../../../../libs/directives/src/rxap-directives.ts"],"sourcesContent":["import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapPreventDefault]'\n})\nexport class PreventDefaultDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.preventDefault();\n }\n\n}\n\n@NgModule({\n exports: [ PreventDefaultDirective ],\n declarations: [ PreventDefaultDirective ]\n})\nexport class PreventDefaultDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopImmediatePropagation]'\n})\nexport class StopImmediatePropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopImmediatePropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopImmediatePropagationDirective ],\n declarations: [ StopImmediatePropagationDirective ]\n})\nexport class StopImmediatePropagationDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopPropagation]'\n})\nexport class StopPropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopPropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopPropagationDirective ],\n declarations: [ StopPropagationDirective ]\n})\nexport class StopPropagationDirectiveModule {}\n","import {\n Directive,\n HostListener,\n Input,\n Injectable,\n NgModule\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class ShareService {\n\n public async share(data: { url?: string, text?: string, title?: string, files?: ReadonlyArray<File> }) {\n\n if (this.isShareSupported()) {\n\n if ((navigator as any).canShare(data)) {\n\n await (navigator as any).share(data);\n\n } else {\n console.debug('share data:', data);\n throw new Error('Can not share data. Data is invalid!');\n }\n\n } else {\n alert('Native share is not supported!');\n }\n\n }\n\n private isShareSupported(): boolean {\n return !!(navigator as any).share;\n }\n\n}\n\n@Directive({\n selector: '[rxapShareButton]'\n})\nexport class ShareButtonDirective {\n\n @Input()\n public url!: string;\n\n @Input()\n public text!: string;\n\n @Input()\n @Required\n public title!: string;\n\n @Input()\n public files?: ReadonlyArray<File>;\n\n constructor(private readonly shareService: ShareService) {}\n\n @HostListener('click')\n public share() {\n this.shareService.share({ url: this.url, text: this.text, files: this.files, title: this.title })\n .then(() => console.log('share successfully'))\n .catch(err => console.error('share failed', err.message));\n }\n\n}\n\n@NgModule({\n exports: [ ShareButtonDirective ],\n declarations: [ ShareButtonDirective ]\n})\nexport class ShareButtonDirectiveModule {\n\n}\n","import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n","import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n","import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n","import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n","import {\n Directive,\n NgModule,\n Input,\n Output,\n EventEmitter,\n HostListener,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\nimport {\n Method,\n ToggleSubject\n} from '@rxap/utilities/rxjs';\n\n@Directive({\n selector: '[rxapMethod]',\n exportAs: 'rxapMethod'\n})\nexport class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {\n\n private _hasConfirmDirective = false;\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n @Input('rxapMethod')\n public method!: Method<ReturnType, Parameters>;\n @Input()\n public parameters?: Parameters;\n @Input()\n public immediately: boolean = false;\n @Output('executed')\n public executed$ = new EventEmitter();\n @Output('failure')\n public failure$ = new EventEmitter<Error>();\n @Output('successful')\n public successful$ = new EventEmitter<ReturnType>();\n /**\n * true - a remote method call is in progress\n */\n public executing$ = new ToggleSubject();\n\n constructor() { }\n\n public ngOnInit() {\n if (this.immediately) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirmed() {\n return this.execute();\n }\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n return this.execute();\n } else {\n if (isDevMode()) {\n console.debug('Skip method call. Wait for confirmation.');\n }\n }\n return Promise.resolve();\n }\n\n public async execute(): Promise<void> {\n this.executing$.enable();\n try {\n const result = await this.method.call(this.parameters);\n this.executed(result);\n this.successful(result);\n } catch (error) {\n if (isDevMode()) {\n console.error(`Method directive execution failed:`, error.message);\n }\n this.failure(error);\n } finally {\n this.executing$.disable();\n }\n }\n\n public setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void {\n this.updateParameters({ [ parameterKey ]: value } as any);\n }\n\n public updateParameters(parameters: Partial<Parameters>): void {\n this.parameters = { ...(this.parameters ?? {}), ...parameters } as any;\n }\n\n protected executed(result: any) {\n this.executed$.emit(result);\n }\n\n protected failure(error: Error) {\n this.failure$.emit(error);\n }\n\n protected successful(result: ReturnType) {\n this.successful$.emit(result);\n }\n\n}\n\n@NgModule({\n declarations: [ MethodDirective ],\n exports: [ MethodDirective ]\n})\nexport class MethodDirectiveModule {}\n","import {\n Directive,\n HostBinding,\n HostListener,\n Input,\n NgModule,\n OnDestroy,\n OnInit,\n Renderer2\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport { tap } from 'rxjs/operators';\n\n@Directive({\n selector: '[rxapMovableDivider]'\n})\nexport class MovableDividerDirective implements OnDestroy, OnInit {\n\n @Input()\n @Required\n public containerElement!: HTMLDivElement;\n\n @Input()\n @Required\n public fixedElement!: HTMLDivElement;\n\n @Input()\n public origin: 'right' | 'left' = 'right';\n @HostBinding('style.cursor')\n public cursor = 'ew-resize';\n private _subscription = new Subscription();\n /**\n * Indicates that the divider is moved with mouse down\n * @private\n */\n private _moveDivider = false;\n /**\n * Holds the current fixed element width.\n * If null the move divider feature was not yet used and the initial\n * fixed element width is not calculated\n * @private\n */\n private _fixedElementWidth: number | null = null;\n\n constructor(private readonly renderer: Renderer2) { }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n this._subscription.add(fromEvent<MouseEvent>(this.containerElement, 'mousemove').pipe(\n tap(($event: MouseEvent) => {\n if (this._moveDivider) {\n if (!this._fixedElementWidth) {\n this._fixedElementWidth = this.fixedElement.clientWidth as number;\n }\n if (this.origin === 'right') {\n this._fixedElementWidth = $event.clientX - this.containerElement.getBoundingClientRect().left;\n } else if (this.origin === 'left') {\n console.log({\n clientWidth: this.containerElement.clientWidth,\n clientX: $event.clientX,\n clientLeft: this.containerElement.getBoundingClientRect().left\n });\n this._fixedElementWidth = this.containerElement.clientWidth - $event.clientX + this.containerElement.getBoundingClientRect().left;\n } else {\n throw new Error(`The origin '${this.origin}' is not supported.`);\n }\n const width = this._fixedElementWidth + 'px';\n this.renderer.setStyle(this.fixedElement, 'max-width', width);\n this.renderer.setStyle(this.fixedElement, 'min-width', width);\n this.renderer.setStyle(this.fixedElement, 'flex-basis', width);\n }\n })\n ).subscribe());\n this._subscription.add(fromEvent(this.containerElement, 'mouseup').pipe(\n tap(() => this._moveDivider = false)\n ).subscribe());\n }\n\n @HostListener('mousedown')\n public onMousedown() {\n this._moveDivider = true;\n }\n\n}\n\n@NgModule({\n declarations: [ MovableDividerDirective ],\n exports: [ MovableDividerDirective ]\n})\nexport class MovableDividerDirectiveModule {}\n","import {\n ChangeDetectorRef,\n Directive,\n Input,\n NgModule,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface IfTruthyDirectiveTemplateContext<Data> {\n $implicit: Data;\n}\n\n// TODO : mv to rxap package\n\n@Directive({\n selector: '[rxapIfTruthy]'\n})\nexport class IfTruthyDirective<Data, Parameters = any> implements OnChanges {\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(\n dir: IfTruthyDirective<T>,\n ctx: any\n ): ctx is IfTruthyDirectiveTemplateContext<T> {\n return true;\n }\n\n @Input('rxapIfTruthy')\n public method!: Method<Data, Parameters>;\n @Input('rxapIfTruthyParameters')\n public parameters!: Parameters;\n @Input('rxapIfTruthyTrackBy')\n public trackBy!: (data: Data) => any;\n private _last?: Data;\n\n constructor(\n private readonly templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly cdr: ChangeDetectorRef\n ) {\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n\n if (this.method && this.parameters) {\n this.execute();\n }\n\n }\n\n protected async execute() {\n\n const result = await this.method.call(this.parameters);\n\n if (this.hasChanged(result)) {\n\n this.viewContainerRef.clear();\n\n if (result) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });\n }\n\n }\n\n this.cdr.detectChanges();\n\n }\n\n protected hasChanged(current: Data) {\n if (this._last !== undefined) {\n const currentTrackBy = this.trackBy ? this.trackBy(current) : current;\n const lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;\n return currentTrackBy !== lastTrackBy;\n }\n\n return true;\n }\n\n\n}\n\n@NgModule({\n declarations: [ IfTruthyDirective ],\n exports: [ IfTruthyDirective ]\n})\nexport class IfTruthyDirectiveModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IAcY;AAAZ,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED;AACA;IACY;AAAZ,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,4CAAmB,CAAA;AACrB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC;AAOD;AACA;IACY;AAAZ,WAAY,uBAAuB;IACjC,kDAAuB,CAAA;AACzB,CAAC,EAFW,uBAAuB,KAAvB,uBAAuB,QAElC;AAID;AACA;IACY;AAAZ,WAAY,yBAAyB;IACnC,8CAAiB,CAAA;IACjB,4DAA+B,CAAA;AACjC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;MAUY,wBAAwB;;IAkBnC,YAEmB,IAAgB,EAEhB,QAAmB,EAEnB,WAA+B;QAJ/B,SAAI,GAAJ,IAAI,CAAY;QAEhB,aAAQ,GAAR,QAAQ,CAAW;QAEnB,gBAAW,GAAX,WAAW,CAAoB;QAtB3C,aAAQ,GAA8B,IAAI,CAAC;KAuB9C;IAEG,QAAQ;QACb,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC5B;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,IAAI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AI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;gBAE9B,IAAI,MAAM,EAAE;oBACV,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;iBACnF;aAEF;YAED,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;SAE1B;KAAA;IAES,UAAU,CAAC,OAAa;QAChC,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;YAC5B,MAAM,cAAc,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;YACtE,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACzE,OAAO,cAAc,KAAK,WAAW,CAAC;SACvC;QAED,OAAO,IAAI,CAAC;KACb;;8GAhEU,iBAAiB;kGAAjB,iBAAiB;2FAAjB,iBAAiB;kBAH7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;iBAC3B;iKAiBQ,MAAM;sBADZ,KAAK;uBAAC,cAAc;gBAGd,UAAU;sBADhB,KAAK;uBAAC,wBAAwB;gBAGxB,OAAO;sBADb,KAAK;uBAAC,qBAAqB;;MAsDjB,uBAAuB;;oHAAvB,uBAAuB;qHAAvB,uBAAuB,iBAzEvB,iBAAiB,aAAjB,iBAAiB;qHAyEjB,uBAAuB;2FAAvB,uBAAuB;kBAJnC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,iBAAiB,CAAE;oBACnC,OAAO,EAAE,CAAE,iBAAiB,CAAE;iBAC/B;;;AC7FD;;;;;;"}
1
+ {"version":3,"file":"rxap-directives.js","sources":["../../../../libs/directives/src/lib/background-image.directive.ts","../../../../libs/directives/src/lib/prevent-default.directive.ts","../../../../libs/directives/src/lib/stop-immediate-propagation.directive.ts","../../../../libs/directives/src/lib/stop-propagation.directive.ts","../../../../libs/directives/src/lib/share-button.directive.ts","../../../../libs/directives/src/lib/full-width.directive.ts","../../../../libs/directives/src/lib/avatar-background-image.directive.ts","../../../../libs/directives/src/lib/contenteditable.directive.ts","../../../../libs/directives/src/lib/confirm-click.ts","../../../../libs/directives/src/lib/method.directive.ts","../../../../libs/directives/src/lib/movable-divider.directive.ts","../../../../libs/directives/src/lib/if-truthy.directive.ts","../../../../libs/directives/src/rxap-directives.ts"],"sourcesContent":["import {\n Directive,\n NgModule,\n ElementRef,\n Inject,\n Renderer2,\n Input,\n OnChanges,\n SimpleChanges,\n isDevMode,\n OnInit,\n} from '@angular/core';\nimport { ImageLoaderService } from '@rxap/services';\n\nexport enum GlobalStyleOptions {\n INITIAL = 'initial',\n INHERIT = 'inherit',\n}\n\n// TODO : complete description\n// https://www.w3schools.com/cssref/css3_pr_background-size.asp\nexport enum BackgroundSizeOptions {\n AUTO = 'auto',\n COVER = 'cover',\n CONTAIN = 'contain',\n}\n\nexport type BackgroundSize =\n | GlobalStyleOptions\n | BackgroundSizeOptions\n | string;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-repeat.asp\nexport enum BackgroundRepeatOptions {\n NO_REPEAT = 'no-repeat',\n}\n\nexport type BackgroundRepeat = GlobalStyleOptions | BackgroundRepeatOptions;\n\n// TODO : complete options and description\n// https://www.w3schools.com/cssref/pr_background-position.asp\nexport enum BackgroundPositionOptions {\n CENTER = 'center',\n CENTER_CENTER = 'center center',\n}\n\nexport type BackgroundPosition =\n | GlobalStyleOptions\n | BackgroundPositionOptions\n | string;\n\n@Directive({\n selector: '[rxapBackgroundImage]',\n})\nexport class BackgroundImageDirective implements OnChanges, OnInit {\n @Input('rxapBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n @Input()\n public placeholderImageUrl!: string;\n\n @Input()\n public size?: BackgroundSize;\n\n @Input()\n public repeat?: BackgroundRepeat;\n\n @Input()\n public position?: BackgroundPosition;\n\n // TODO : add inputs for all 'background-*' styles\n\n constructor(\n @Inject(ElementRef)\n private readonly host: ElementRef,\n @Inject(Renderer2)\n private readonly renderer: Renderer2,\n @Inject(ImageLoaderService)\n private readonly imageLoader: ImageLoaderService\n ) {}\n\n public ngOnInit() {\n if (this.size) {\n this.sizeChange(this.size);\n }\n if (this.position) {\n this.positionChange(this.position);\n }\n if (this.repeat) {\n this.repeatChange(this.repeat);\n }\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n for (const propertyKey of Object.keys(changes)) {\n switch (propertyKey) {\n case 'imageUrl':\n if (changes.imageUrl.currentValue) {\n this.imageUrlChange(changes.imageUrl.currentValue);\n }\n break;\n\n case 'size':\n this.sizeChange(changes.size.currentValue);\n break;\n\n case 'repeat':\n this.repeatChange(changes.repeat.currentValue);\n break;\n\n case 'position':\n this.positionChange(changes.position.currentValue);\n break;\n }\n }\n }\n\n private repeatChange(repeat: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-repeat',\n repeat\n );\n }\n\n private positionChange(position: string): void {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-position',\n position\n );\n }\n\n private sizeChange(size: string): void {\n this.renderer.setStyle(this.host.nativeElement, 'background-size', size);\n }\n\n private async imageUrlChange(imageUrl: string): Promise<void> {\n if (this.placeholderImageUrl) {\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${this.placeholderImageUrl}\")`\n );\n }\n if (imageUrl) {\n await this.imageLoader.load(imageUrl);\n this.renderer.setStyle(\n this.host.nativeElement,\n 'background-image',\n `url(\"${imageUrl}\")`\n );\n } else {\n if (isDevMode()) {\n console.warn('background image url is not defined');\n }\n }\n }\n}\n\n@NgModule({\n declarations: [BackgroundImageDirective],\n exports: [BackgroundImageDirective],\n})\nexport class BackgroundImageDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapPreventDefault]'\n})\nexport class PreventDefaultDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.preventDefault();\n }\n\n}\n\n@NgModule({\n exports: [ PreventDefaultDirective ],\n declarations: [ PreventDefaultDirective ]\n})\nexport class PreventDefaultDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopImmediatePropagation]'\n})\nexport class StopImmediatePropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopImmediatePropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopImmediatePropagationDirective ],\n declarations: [ StopImmediatePropagationDirective ]\n})\nexport class StopImmediatePropagationDirectiveModule {}\n","import {\n Directive,\n NgModule,\n HostListener\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapStopPropagation]'\n})\nexport class StopPropagationDirective {\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event): void {\n $event.stopPropagation();\n }\n\n}\n\n@NgModule({\n exports: [ StopPropagationDirective ],\n declarations: [ StopPropagationDirective ]\n})\nexport class StopPropagationDirectiveModule {}\n","import {\n Directive,\n HostListener,\n Input,\n Injectable,\n NgModule\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\n\n@Injectable({ providedIn: 'root' })\nexport class ShareService {\n\n public async share(data: { url?: string, text?: string, title?: string, files?: ReadonlyArray<File> }) {\n\n if (this.isShareSupported()) {\n\n if ((navigator as any).canShare(data)) {\n\n await (navigator as any).share(data);\n\n } else {\n console.debug('share data:', data);\n throw new Error('Can not share data. Data is invalid!');\n }\n\n } else {\n alert('Native share is not supported!');\n }\n\n }\n\n private isShareSupported(): boolean {\n return !!(navigator as any).share;\n }\n\n}\n\n@Directive({\n selector: '[rxapShareButton]'\n})\nexport class ShareButtonDirective {\n\n @Input()\n public url!: string;\n\n @Input()\n public text!: string;\n\n @Input()\n @Required\n public title!: string;\n\n @Input()\n public files?: ReadonlyArray<File>;\n\n constructor(private readonly shareService: ShareService) {}\n\n @HostListener('click')\n public share() {\n this.shareService.share({ url: this.url, text: this.text, files: this.files, title: this.title })\n .then(() => console.log('share successfully'))\n .catch(err => console.error('share failed', err.message));\n }\n\n}\n\n@NgModule({\n exports: [ ShareButtonDirective ],\n declarations: [ ShareButtonDirective ]\n})\nexport class ShareButtonDirectiveModule {\n\n}\n","import {\n Directive,\n HostBinding,\n NgModule\n} from '@angular/core';\n\n@Directive({\n selector: '[rxapFullWidth]',\n})\nexport class FullWidthDirective {\n\n @HostBinding('style.width')\n public width: string = '100%';\n\n}\n\n@NgModule({\n declarations: [FullWidthDirective],\n exports: [FullWidthDirective]\n})\nexport class FullWidthDirectiveModule {}\n","import {\n NgModule,\n Directive,\n Input,\n ElementRef,\n Renderer2,\n Inject,\n} from '@angular/core';\nimport {\n BackgroundImageDirective,\n BackgroundRepeatOptions,\n BackgroundSizeOptions,\n} from './background-image.directive';\nimport { ImageLoaderService, AvatarImageService } from '@rxap/services';\n\n@Directive({\n // tslint:disable-next-line:directive-selector\n selector: '[rxapAvatarBackgroundImage]',\n})\nexport class AvatarBackgroundImageDirective extends BackgroundImageDirective {\n @Input()\n public set name(name: string) {\n if (!this.placeholderImageUrl) {\n this.placeholderImageUrl = this.avatarImage.get({ name });\n }\n }\n\n @Input('rxapAvatarBackgroundImage')\n public imageUrl: string | null | undefined = null;\n\n public size = BackgroundSizeOptions.COVER;\n\n public repeat = BackgroundRepeatOptions.NO_REPEAT;\n\n constructor(\n @Inject(ElementRef)\n host: ElementRef,\n @Inject(Renderer2)\n renderer: Renderer2,\n @Inject(ImageLoaderService)\n imageLoader: ImageLoaderService,\n @Inject(AvatarImageService)\n private readonly avatarImage: AvatarImageService\n ) {\n super(host, renderer, imageLoader);\n }\n}\n\n@NgModule({\n declarations: [AvatarBackgroundImageDirective],\n exports: [AvatarBackgroundImageDirective],\n})\nexport class AvatarBackgroundImageDirectiveModule {}\n","import {\n Directive,\n Input,\n HostListener,\n NgModule,\n HostBinding,\n EventEmitter,\n Output,\n ElementRef\n} from '@angular/core';\nimport { DebounceCall } from '@rxap/utilities';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface ContenteditableEvent {\n value: string;\n parameters?: any;\n}\n\n@Directive({\n selector: '[rxapContenteditable]'\n})\nexport class ContenteditableDirective {\n\n @HostBinding('attr.contenteditable')\n public contenteditable = true;\n\n @HostBinding('attr.spellcheck')\n public spellcheck = false;\n\n @Input('rxapContenteditable')\n public method?: Method<any, ContenteditableEvent>;\n\n @Output('rxapContenteditable')\n public change = new EventEmitter<ContenteditableEvent>();\n\n @Input()\n public parameters?: any;\n\n @Input()\n public initial?: string;\n\n constructor(private readonly elementRef: ElementRef) {\n }\n\n @HostListener('click', [ '$event' ])\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @HostListener('input', [ '$event' ])\n @DebounceCall(1000)\n public async onInput($event: any) {\n const value = (($event.target as HTMLElement).textContent)?.trim();\n if (value && value.length >= 2) {\n const event: ContenteditableEvent = {\n value,\n parameters: this.parameters\n };\n this.change.emit(event);\n const result = await this.method?.call(event);\n if (result && typeof result === 'string') {\n this.initial = this.elementRef.nativeElement.innerText = result;\n } else if (this.initial) {\n this.elementRef.nativeElement.innerText = this.initial;\n }\n }\n }\n\n}\n\n@NgModule({\n declarations: [ ContenteditableDirective ],\n exports: [ ContenteditableDirective ]\n})\nexport class ContenteditableDirectiveModule {\n}\n\n","import {\n Input,\n HostListener,\n Injectable\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\n\n@Injectable()\nexport abstract class ConfirmClick {\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n private _hasConfirmDirective: boolean = false;\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirm() {\n this.execute();\n }\n\n protected abstract execute(): void;\n\n}\n","import {\n Directive,\n NgModule,\n Input,\n Output,\n EventEmitter,\n HostListener,\n isDevMode,\n OnInit\n} from '@angular/core';\nimport { coerceBoolean } from '@rxap/utilities';\nimport {\n Method,\n ToggleSubject\n} from '@rxap/utilities/rxjs';\n\n@Directive({\n selector: '[rxapMethod]',\n exportAs: 'rxapMethod'\n})\nexport class MethodDirective<ReturnType = any, Parameters = any> implements OnInit {\n\n private _hasConfirmDirective = false;\n\n @Input('rxapConfirm')\n public set hasConfirmDirective(value: any) {\n this._hasConfirmDirective = coerceBoolean(value);\n }\n\n @Input('rxapMethod')\n public method!: Method<ReturnType, Parameters>;\n @Input()\n public parameters?: Parameters;\n @Input()\n public immediately: boolean = false;\n @Output('executed')\n public executed$ = new EventEmitter();\n @Output('failure')\n public failure$ = new EventEmitter<Error>();\n @Output('successful')\n public successful$ = new EventEmitter<ReturnType>();\n /**\n * true - a remote method call is in progress\n */\n public executing$ = new ToggleSubject();\n\n constructor() { }\n\n public ngOnInit() {\n if (this.immediately) {\n this.execute();\n }\n }\n\n @HostListener('confirmed')\n public onConfirmed() {\n return this.execute();\n }\n\n @HostListener('click')\n public onClick() {\n if (!this._hasConfirmDirective) {\n return this.execute();\n } else {\n if (isDevMode()) {\n console.debug('Skip method call. Wait for confirmation.');\n }\n }\n return Promise.resolve();\n }\n\n public async execute(): Promise<void> {\n this.executing$.enable();\n try {\n const result = await this.method.call(this.parameters);\n this.executed(result);\n this.successful(result);\n } catch (error) {\n if (isDevMode()) {\n console.error(`Method directive execution failed:`, error.message);\n }\n this.failure(error);\n } finally {\n this.executing$.disable();\n }\n }\n\n public setParameter<Key extends keyof Parameters>(parameterKey: Key, value: Parameters[Key]): void {\n this.updateParameters({ [ parameterKey ]: value } as any);\n }\n\n public updateParameters(parameters: Partial<Parameters>): void {\n this.parameters = { ...(this.parameters ?? {}), ...parameters } as any;\n }\n\n protected executed(result: any) {\n this.executed$.emit(result);\n }\n\n protected failure(error: Error) {\n this.failure$.emit(error);\n }\n\n protected successful(result: ReturnType) {\n this.successful$.emit(result);\n }\n\n}\n\n@NgModule({\n declarations: [ MethodDirective ],\n exports: [ MethodDirective ]\n})\nexport class MethodDirectiveModule {}\n","import {\n Directive,\n HostBinding,\n HostListener,\n Input,\n NgModule,\n OnDestroy,\n OnInit,\n Renderer2,\n isDevMode\n} from '@angular/core';\nimport { Required } from '@rxap/utilities';\nimport {\n fromEvent,\n Subscription\n} from 'rxjs';\nimport { tap } from 'rxjs/operators';\n\n@Directive({\n selector: '[rxapMovableDivider]'\n})\nexport class MovableDividerDirective implements OnDestroy, OnInit {\n\n @Input()\n @Required\n public containerElement!: HTMLDivElement;\n\n @Input()\n @Required\n public fixedElement!: HTMLDivElement;\n\n @Input()\n public origin: 'right' | 'left' = 'right';\n @HostBinding('style.cursor')\n public cursor = 'ew-resize';\n private _subscription = new Subscription();\n /**\n * Indicates that the divider is moved with mouse down\n * @private\n */\n private _moveDivider = false;\n /**\n * Holds the current fixed element width.\n * If null the move divider feature was not yet used and the initial\n * fixed element width is not calculated\n * @private\n */\n private _fixedElementWidth: number | null = null;\n\n constructor(private readonly renderer: Renderer2) { }\n\n public ngOnDestroy() {\n this._subscription?.unsubscribe();\n }\n\n public ngOnInit() {\n this._subscription.add(fromEvent<MouseEvent>(this.containerElement, 'mousemove').pipe(\n tap(($event: MouseEvent) => {\n if (this._moveDivider) {\n if (!this._fixedElementWidth) {\n this._fixedElementWidth = this.fixedElement.clientWidth as number;\n }\n if (this.origin === 'right') {\n this._fixedElementWidth = $event.clientX - this.containerElement.getBoundingClientRect().left;\n } else if (this.origin === 'left') {\n if (isDevMode()) {\n console.log({\n clientWidth: this.containerElement.clientWidth,\n clientX: $event.clientX,\n clientLeft: this.containerElement.getBoundingClientRect().left\n });\n }\n this._fixedElementWidth = this.containerElement.clientWidth - $event.clientX + this.containerElement.getBoundingClientRect().left;\n } else {\n throw new Error(`The origin '${this.origin}' is not supported.`);\n }\n const width = this._fixedElementWidth + 'px';\n this.renderer.setStyle(this.fixedElement, 'max-width', width);\n this.renderer.setStyle(this.fixedElement, 'min-width', width);\n this.renderer.setStyle(this.fixedElement, 'flex-basis', width);\n }\n })\n ).subscribe());\n this._subscription.add(fromEvent(this.containerElement, 'mouseup').pipe(\n tap(() => this._moveDivider = false)\n ).subscribe());\n }\n\n @HostListener('mousedown')\n public onMousedown() {\n this._moveDivider = true;\n }\n\n}\n\n@NgModule({\n declarations: [ MovableDividerDirective ],\n exports: [ MovableDividerDirective ]\n})\nexport class MovableDividerDirectiveModule {}\n","import {\n ChangeDetectorRef,\n Directive,\n Input,\n NgModule,\n OnChanges,\n SimpleChanges,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { Method } from '@rxap/utilities/rxjs';\n\nexport interface IfTruthyDirectiveTemplateContext<Data> {\n $implicit: Data;\n}\n\n// TODO : mv to rxap package\n\n@Directive({\n selector: '[rxapIfTruthy]'\n})\nexport class IfTruthyDirective<Data, Parameters = any> implements OnChanges {\n\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard<T>(\n dir: IfTruthyDirective<T>,\n ctx: any\n ): ctx is IfTruthyDirectiveTemplateContext<T> {\n return true;\n }\n\n @Input('rxapIfTruthy')\n public method!: Method<Data, Parameters>;\n @Input('rxapIfTruthyParameters')\n public parameters!: Parameters;\n @Input('rxapIfTruthyTrackBy')\n public trackBy!: (data: Data) => any;\n private _last?: Data;\n\n constructor(\n private readonly templateRef: TemplateRef<IfTruthyDirectiveTemplateContext<Data>>,\n private readonly viewContainerRef: ViewContainerRef,\n private readonly cdr: ChangeDetectorRef\n ) {\n }\n\n public ngOnChanges(changes: SimpleChanges) {\n\n if (this.method && this.parameters) {\n this.execute();\n }\n\n }\n\n protected async execute() {\n\n const result = await this.method.call(this.parameters);\n\n if (this.hasChanged(result)) {\n\n this.viewContainerRef.clear();\n\n if (result) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, { $implicit: result });\n }\n\n }\n\n this.cdr.detectChanges();\n\n }\n\n protected hasChanged(current: Data) {\n if (this._last !== undefined) {\n const currentTrackBy = this.trackBy ? this.trackBy(current) : current;\n const lastTrackBy = this.trackBy ? this.trackBy(this._last) : this._last;\n return currentTrackBy !== lastTrackBy;\n }\n\n return true;\n }\n\n\n}\n\n@NgModule({\n declarations: [ IfTruthyDirective ],\n exports: [ IfTruthyDirective ]\n})\nexport class IfTruthyDirectiveModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IAcY;AAAZ,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED;AACA;IACY;AAAZ,WAAY,qBAAqB;IAC/B,sCAAa,CAAA;IACb,wCAAe,CAAA;IACf,4CAAmB,CAAA;AACrB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC;AAOD;AACA;IACY;AAAZ,WAAY,uBAAuB;IACjC,kDAAuB,CAAA;AACzB,CAAC,EAFW,uBAAuB,KAAvB,uBAAuB,QAElC;AAID;AACA;IACY;AAAZ,WAAY,yBAAyB;IACnC,8CAAiB,CAAA;IACjB,4DAA+B,CAAA;AACjC,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;MAUY,wBAAwB;;IAkBnC,YAEmB,IAAgB,EAEhB,QAAmB,EAEnB,WAA+B;QAJ/B,SAAI,GAAJ,IAAI,CAAY;QAEhB,aAAQ,GAAR,QAAQ,CAAW;QAEnB,gBAAW,GAAX,WAAW,CAAoB;QAtB3C,aAAQ,GAA8B,IAAI,CAAC;KAuB9C;IAEG,QAAQ;QACb,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC5B;QACD,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI,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HANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxap/directives",
3
- "version": "12.3.0",
3
+ "version": "12.3.1",
4
4
  "private": false,
5
5
  "author": "Merzough Münker",
6
6
  "homepage": "https://gitlab.com/rxap/packages/libs/directives",
@@ -22,7 +22,7 @@
22
22
  "@angular/core": "^12.0.1",
23
23
  "@angular/router": "^12.0.1",
24
24
  "@rxap/services": "^12.0.8",
25
- "@rxap/utilities": "^12.2.2",
25
+ "@rxap/utilities": "^12.2.3",
26
26
  "reflect-metadata": "^0.1.13",
27
27
  "rxjs": "^6.5.5"
28
28
  },
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_utilities_1 = require("@rxap/schematics-utilities");
4
4
  function default_1() {
5
- return schematics_utilities_1.InstallPeerDependencies();
5
+ return (0, schematics_utilities_1.InstallPeerDependencies)();
6
6
  }
7
7
  exports.default = default_1;
8
8
  //# sourceMappingURL=index.js.map