@rxap/directives 16.0.0-dev.0 → 16.0.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { isDevMode, ElementRef, Renderer2, Directive, Inject, Input, NgModule, HostListener, Injectable, HostBinding, EventEmitter, Output, TemplateRef, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
2
+ import { isDevMode, ElementRef, Renderer2, Directive, Inject, Input, HostListener, Injectable, HostBinding, EventEmitter, Output, TemplateRef, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
3
3
  import * as i1 from '@rxap/services';
4
4
  import { ImageLoaderService, AvatarImageService } from '@rxap/services';
5
5
  import { __decorate, __metadata } from 'tslib';
@@ -97,12 +97,13 @@ class BackgroundImageDirective {
97
97
  }
98
98
  }
99
99
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }], target: i0.ɵɵFactoryTarget.Directive }); }
100
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 }); }
100
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: BackgroundImageDirective, isStandalone: true, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 }); }
101
101
  }
102
102
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirective, decorators: [{
103
103
  type: Directive,
104
104
  args: [{
105
105
  selector: '[rxapBackgroundImage]',
106
+ standalone: true
106
107
  }]
107
108
  }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
108
109
  type: Inject,
@@ -125,105 +126,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
125
126
  }], position: [{
126
127
  type: Input
127
128
  }] } });
128
- class BackgroundImageDirectiveModule {
129
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] }); }
131
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirectiveModule }); }
132
- }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
134
- type: NgModule,
135
- args: [{
136
- declarations: [BackgroundImageDirective],
137
- exports: [BackgroundImageDirective],
138
- }]
139
- }] });
140
129
 
141
130
  class PreventDefaultDirective {
142
131
  onClick($event) {
143
132
  $event.preventDefault();
144
133
  }
145
134
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
146
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
135
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: PreventDefaultDirective, isStandalone: true, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
147
136
  }
148
137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirective, decorators: [{
149
138
  type: Directive,
150
139
  args: [{
151
- selector: '[rxapPreventDefault]'
140
+ selector: '[rxapPreventDefault]',
141
+ standalone: true
152
142
  }]
153
143
  }], propDecorators: { onClick: [{
154
144
  type: HostListener,
155
145
  args: ['click', ['$event']]
156
146
  }] } });
157
- class PreventDefaultDirectiveModule {
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
159
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] }); }
160
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirectiveModule }); }
161
- }
162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirectiveModule, decorators: [{
163
- type: NgModule,
164
- args: [{
165
- exports: [PreventDefaultDirective],
166
- declarations: [PreventDefaultDirective]
167
- }]
168
- }] });
169
147
 
170
148
  class StopImmediatePropagationDirective {
171
149
  onClick($event) {
172
150
  $event.stopImmediatePropagation();
173
151
  }
174
152
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
175
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
153
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: StopImmediatePropagationDirective, isStandalone: true, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
176
154
  }
177
155
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirective, decorators: [{
178
156
  type: Directive,
179
157
  args: [{
180
- selector: '[rxapStopImmediatePropagation]'
158
+ selector: '[rxapStopImmediatePropagation]',
159
+ standalone: true
181
160
  }]
182
161
  }], propDecorators: { onClick: [{
183
162
  type: HostListener,
184
163
  args: ['click', ['$event']]
185
164
  }] } });
186
- class StopImmediatePropagationDirectiveModule {
187
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
188
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] }); }
189
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirectiveModule }); }
190
- }
191
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirectiveModule, decorators: [{
192
- type: NgModule,
193
- args: [{
194
- exports: [StopImmediatePropagationDirective],
195
- declarations: [StopImmediatePropagationDirective]
196
- }]
197
- }] });
198
165
 
199
166
  class StopPropagationDirective {
200
167
  onClick($event) {
201
168
  $event.stopPropagation();
202
169
  }
203
170
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
204
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
171
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: StopPropagationDirective, isStandalone: true, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 }); }
205
172
  }
206
173
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirective, decorators: [{
207
174
  type: Directive,
208
175
  args: [{
209
- selector: '[rxapStopPropagation]'
176
+ selector: '[rxapStopPropagation]',
177
+ standalone: true
210
178
  }]
211
179
  }], propDecorators: { onClick: [{
212
180
  type: HostListener,
213
181
  args: ['click', ['$event']]
214
182
  }] } });
215
- class StopPropagationDirectiveModule {
216
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
217
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] }); }
218
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirectiveModule }); }
219
- }
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirectiveModule, decorators: [{
221
- type: NgModule,
222
- args: [{
223
- exports: [StopPropagationDirective],
224
- declarations: [StopPropagationDirective]
225
- }]
226
- }] });
227
183
 
228
184
  class ShareService {
229
185
  async share(data) {
@@ -260,7 +216,7 @@ class ShareButtonDirective {
260
216
  .catch(err => console.error('share failed', err.message));
261
217
  }
262
218
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0.ɵɵFactoryTarget.Directive }); }
263
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ShareButtonDirective, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0 }); }
219
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ShareButtonDirective, isStandalone: true, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0 }); }
264
220
  }
265
221
  __decorate([
266
222
  Required,
@@ -269,7 +225,8 @@ __decorate([
269
225
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirective, decorators: [{
270
226
  type: Directive,
271
227
  args: [{
272
- selector: '[rxapShareButton]'
228
+ selector: '[rxapShareButton]',
229
+ standalone: true
273
230
  }]
274
231
  }], ctorParameters: function () { return [{ type: ShareService }]; }, propDecorators: { url: [{
275
232
  type: Input
@@ -283,47 +240,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
283
240
  type: HostListener,
284
241
  args: ['click']
285
242
  }] } });
286
- class ShareButtonDirectiveModule {
287
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
288
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] }); }
289
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirectiveModule }); }
290
- }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirectiveModule, decorators: [{
292
- type: NgModule,
293
- args: [{
294
- exports: [ShareButtonDirective],
295
- declarations: [ShareButtonDirective]
296
- }]
297
- }] });
298
243
 
299
244
  class FullWidthDirective {
300
245
  constructor() {
301
246
  this.width = '100%';
302
247
  }
303
248
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
304
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 }); }
249
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: FullWidthDirective, isStandalone: true, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 }); }
305
250
  }
306
251
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirective, decorators: [{
307
252
  type: Directive,
308
253
  args: [{
309
254
  selector: '[rxapFullWidth]',
255
+ standalone: true
310
256
  }]
311
257
  }], propDecorators: { width: [{
312
258
  type: HostBinding,
313
259
  args: ['style.width']
314
260
  }] } });
315
- class FullWidthDirectiveModule {
316
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
317
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] }); }
318
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirectiveModule }); }
319
- }
320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
321
- type: NgModule,
322
- args: [{
323
- declarations: [FullWidthDirective],
324
- exports: [FullWidthDirective]
325
- }]
326
- }] });
327
261
 
328
262
  class AvatarBackgroundImageDirective extends BackgroundImageDirective {
329
263
  set name(name) {
@@ -339,13 +273,14 @@ class AvatarBackgroundImageDirective extends BackgroundImageDirective {
339
273
  this.repeat = BackgroundRepeatOptions.NO_REPEAT;
340
274
  }
341
275
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirective, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ImageLoaderService }, { token: AvatarImageService }], target: i0.ɵɵFactoryTarget.Directive }); }
342
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 }); }
276
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: AvatarBackgroundImageDirective, isStandalone: true, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 }); }
343
277
  }
344
278
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
345
279
  type: Directive,
346
280
  args: [{
347
281
  // tslint:disable-next-line:directive-selector
348
282
  selector: '[rxapAvatarBackgroundImage]',
283
+ standalone: true
349
284
  }]
350
285
  }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
351
286
  type: Inject,
@@ -365,18 +300,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
365
300
  type: Input,
366
301
  args: ['rxapAvatarBackgroundImage']
367
302
  }] } });
368
- class AvatarBackgroundImageDirectiveModule {
369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
370
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] }); }
371
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirectiveModule }); }
372
- }
373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
374
- type: NgModule,
375
- args: [{
376
- declarations: [AvatarBackgroundImageDirective],
377
- exports: [AvatarBackgroundImageDirective],
378
- }]
379
- }] });
380
303
 
381
304
  class ContenteditableDirective {
382
305
  constructor(elementRef) {
@@ -406,7 +329,7 @@ class ContenteditableDirective {
406
329
  }
407
330
  }
408
331
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
409
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", 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 }); }
332
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ContenteditableDirective, isStandalone: true, 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
333
  }
411
334
  __decorate([
412
335
  DebounceCall(1000),
@@ -417,7 +340,8 @@ __decorate([
417
340
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirective, decorators: [{
418
341
  type: Directive,
419
342
  args: [{
420
- selector: '[rxapContenteditable]'
343
+ selector: '[rxapContenteditable]',
344
+ standalone: true
421
345
  }]
422
346
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { contenteditable: [{
423
347
  type: HostBinding,
@@ -442,18 +366,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
442
366
  type: HostListener,
443
367
  args: ['input', ['$event']]
444
368
  }] } });
445
- class ContenteditableDirectiveModule {
446
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
447
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] }); }
448
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirectiveModule }); }
449
- }
450
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
451
- type: NgModule,
452
- args: [{
453
- declarations: [ContenteditableDirective],
454
- exports: [ContenteditableDirective]
455
- }]
456
- }] });
457
369
 
458
370
  class ConfirmClick {
459
371
  constructor() {
@@ -553,13 +465,14 @@ class MethodDirective {
553
465
  this.successful$.emit(result);
554
466
  }
555
467
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
556
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", 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 }); }
468
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: MethodDirective, isStandalone: true, 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 }); }
557
469
  }
558
470
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirective, decorators: [{
559
471
  type: Directive,
560
472
  args: [{
561
473
  selector: '[rxapMethod]',
562
- exportAs: 'rxapMethod'
474
+ exportAs: 'rxapMethod',
475
+ standalone: true
563
476
  }]
564
477
  }], ctorParameters: function () { return []; }, propDecorators: { hasConfirmDirective: [{
565
478
  type: Input,
@@ -587,18 +500,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
587
500
  type: HostListener,
588
501
  args: ['click']
589
502
  }] } });
590
- class MethodDirectiveModule {
591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
592
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] }); }
593
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirectiveModule }); }
594
- }
595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirectiveModule, decorators: [{
596
- type: NgModule,
597
- args: [{
598
- declarations: [MethodDirective],
599
- exports: [MethodDirective]
600
- }]
601
- }] });
602
503
 
603
504
  class MovableDividerDirective {
604
505
  constructor(renderer) {
@@ -656,7 +557,7 @@ class MovableDividerDirective {
656
557
  this._moveDivider = true;
657
558
  }
658
559
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
659
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 }); }
560
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: MovableDividerDirective, isStandalone: true, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 }); }
660
561
  }
661
562
  __decorate([
662
563
  Required,
@@ -669,7 +570,8 @@ __decorate([
669
570
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirective, decorators: [{
670
571
  type: Directive,
671
572
  args: [{
672
- selector: '[rxapMovableDivider]'
573
+ selector: '[rxapMovableDivider]',
574
+ standalone: true
673
575
  }]
674
576
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { containerElement: [{
675
577
  type: Input
@@ -684,18 +586,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
684
586
  type: HostListener,
685
587
  args: ['mousedown']
686
588
  }] } });
687
- class MovableDividerDirectiveModule {
688
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
689
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] }); }
690
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirectiveModule }); }
691
- }
692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
693
- type: NgModule,
694
- args: [{
695
- declarations: [MovableDividerDirective],
696
- exports: [MovableDividerDirective]
697
- }]
698
- }] });
699
589
 
700
590
  // TODO : mv to rxap package
701
591
  class IfTruthyDirective {
@@ -737,12 +627,13 @@ class IfTruthyDirective {
737
627
  return true;
738
628
  }
739
629
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
740
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 }); }
630
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: IfTruthyDirective, isStandalone: true, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 }); }
741
631
  }
742
632
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirective, decorators: [{
743
633
  type: Directive,
744
634
  args: [{
745
- selector: '[rxapIfTruthy]'
635
+ selector: '[rxapIfTruthy]',
636
+ standalone: true
746
637
  }]
747
638
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { method: [{
748
639
  type: Input,
@@ -754,18 +645,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
754
645
  type: Input,
755
646
  args: ['rxapIfTruthyTrackBy']
756
647
  }] } });
757
- class IfTruthyDirectiveModule {
758
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
759
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] }); }
760
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirectiveModule }); }
761
- }
762
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
763
- type: NgModule,
764
- args: [{
765
- declarations: [IfTruthyDirective],
766
- exports: [IfTruthyDirective]
767
- }]
768
- }] });
769
648
 
770
649
  class MethodTemplateDirective {
771
650
  static ngTemplateContextGuard(dir, ctx) {
@@ -863,13 +742,14 @@ class MethodTemplateDirective {
863
742
  this.cdr.detectChanges();
864
743
  }
865
744
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirective, deps: [{ token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
866
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: MethodTemplateDirective, selector: "[rxapMethod]", inputs: { method: ["rxapMethodCall", "method"], parameters: ["rxapMethodParameters", "parameters"], errorTemplate: ["rxapMethodError", "errorTemplate"], loadingTemplate: ["rxapMethodLoading", "loadingTemplate"], withoutParameters: ["rxapMethodWithoutParameters", "withoutParameters"], immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", executing$: "executing", embedded: "embedded" }, host: { listeners: { "confirmed": "onConfirmed()" } }, exportAs: ["rxapMethod"], usesOnChanges: true, ngImport: i0 }); }
745
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: MethodTemplateDirective, isStandalone: true, selector: "[rxapMethod]", inputs: { method: ["rxapMethodCall", "method"], parameters: ["rxapMethodParameters", "parameters"], errorTemplate: ["rxapMethodError", "errorTemplate"], loadingTemplate: ["rxapMethodLoading", "loadingTemplate"], withoutParameters: ["rxapMethodWithoutParameters", "withoutParameters"], immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", executing$: "executing", embedded: "embedded" }, host: { listeners: { "confirmed": "onConfirmed()" } }, exportAs: ["rxapMethod"], usesOnChanges: true, ngImport: i0 }); }
867
746
  }
868
747
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirective, decorators: [{
869
748
  type: Directive,
870
749
  args: [{
871
750
  selector: '[rxapMethod]',
872
- exportAs: 'rxapMethod'
751
+ exportAs: 'rxapMethod',
752
+ standalone: true
873
753
  }]
874
754
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
875
755
  type: Inject,
@@ -915,22 +795,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
915
795
  type: HostListener,
916
796
  args: ['confirmed']
917
797
  }] } });
918
- class MethodTemplateDirectiveModule {
919
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
920
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirectiveModule, declarations: [MethodTemplateDirective], exports: [MethodTemplateDirective] }); }
921
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirectiveModule }); }
922
- }
923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirectiveModule, decorators: [{
924
- type: NgModule,
925
- args: [{
926
- declarations: [MethodTemplateDirective],
927
- exports: [MethodTemplateDirective]
928
- }]
929
- }] });
930
798
 
931
799
  /**
932
800
  * Generated bundle index. Do not edit.
933
801
  */
934
802
 
935
- export { AvatarBackgroundImageDirective, AvatarBackgroundImageDirectiveModule, BackgroundImageDirective, BackgroundImageDirectiveModule, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, ContenteditableDirectiveModule, FullWidthDirective, FullWidthDirectiveModule, GlobalStyleOptions, IfTruthyDirective, IfTruthyDirectiveModule, MethodDirective, MethodDirectiveModule, MethodTemplateDirective, MethodTemplateDirectiveModule, MovableDividerDirective, MovableDividerDirectiveModule, PreventDefaultDirective, PreventDefaultDirectiveModule, ShareButtonDirective, ShareButtonDirectiveModule, ShareService, StopImmediatePropagationDirective, StopImmediatePropagationDirectiveModule, StopPropagationDirective, StopPropagationDirectiveModule };
803
+ export { AvatarBackgroundImageDirective, BackgroundImageDirective, BackgroundPositionOptions, BackgroundRepeatOptions, BackgroundSizeOptions, ConfirmClick, ContenteditableDirective, FullWidthDirective, GlobalStyleOptions, IfTruthyDirective, MethodDirective, MethodTemplateDirective, MovableDividerDirective, PreventDefaultDirective, ShareButtonDirective, ShareService, StopImmediatePropagationDirective, StopPropagationDirective };
936
804
  //# sourceMappingURL=rxap-directives.mjs.map