@rxap/directives 15.0.0 → 16.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/avatar-background-image.directive.mjs +60 -0
- package/esm2022/lib/background-image.directive.mjs +136 -0
- package/esm2022/lib/confirm-click.mjs +35 -0
- package/esm2022/lib/contenteditable.directive.mjs +83 -0
- package/esm2022/lib/full-width.directive.mjs +33 -0
- package/esm2022/lib/if-truthy.directive.mjs +74 -0
- package/esm2022/lib/method-template.directive.mjs +166 -0
- package/esm2022/lib/method.directive.mjs +120 -0
- package/esm2022/lib/movable-divider.directive.mjs +105 -0
- package/esm2022/lib/prevent-default.directive.mjs +33 -0
- package/esm2022/lib/share-button.directive.mjs +78 -0
- package/esm2022/lib/stop-immediate-propagation.directive.mjs +33 -0
- package/esm2022/lib/stop-propagation.directive.mjs +33 -0
- package/{fesm2020 → fesm2022}/rxap-directives.mjs +106 -107
- package/fesm2022/rxap-directives.mjs.map +1 -0
- package/lib/avatar-background-image.directive.d.ts +1 -1
- package/lib/background-image.directive.d.ts +4 -4
- package/lib/contenteditable.directive.d.ts +1 -1
- package/lib/if-truthy.directive.d.ts +1 -1
- package/lib/method-template.directive.d.ts +1 -1
- package/lib/method.directive.d.ts +1 -1
- package/lib/movable-divider.directive.d.ts +1 -1
- package/lib/share-button.directive.d.ts +1 -1
- package/package.json +13 -19
- package/esm2020/lib/avatar-background-image.directive.mjs +0 -58
- package/esm2020/lib/background-image.directive.mjs +0 -134
- package/esm2020/lib/confirm-click.mjs +0 -34
- package/esm2020/lib/contenteditable.directive.mjs +0 -81
- package/esm2020/lib/full-width.directive.mjs +0 -31
- package/esm2020/lib/if-truthy.directive.mjs +0 -72
- package/esm2020/lib/method-template.directive.mjs +0 -164
- package/esm2020/lib/method.directive.mjs +0 -118
- package/esm2020/lib/movable-divider.directive.mjs +0 -103
- package/esm2020/lib/prevent-default.directive.mjs +0 -31
- package/esm2020/lib/share-button.directive.mjs +0 -75
- package/esm2020/lib/stop-immediate-propagation.directive.mjs +0 -31
- package/esm2020/lib/stop-propagation.directive.mjs +0 -31
- package/fesm2015/rxap-directives.mjs +0 -959
- package/fesm2015/rxap-directives.mjs.map +0 -1
- package/fesm2020/rxap-directives.mjs.map +0 -1
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/rxap-directives.mjs +0 -0
|
@@ -96,10 +96,10 @@ class BackgroundImageDirective {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
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 }); }
|
|
99
101
|
}
|
|
100
|
-
|
|
101
|
-
BackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: BackgroundImageDirective, selector: "[rxapBackgroundImage]", inputs: { imageUrl: ["rxapBackgroundImage", "imageUrl"], placeholderImageUrl: "placeholderImageUrl", size: "size", repeat: "repeat", position: "position" }, usesOnChanges: true, ngImport: i0 });
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BackgroundImageDirective, decorators: [{
|
|
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]',
|
|
@@ -126,11 +126,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
126
126
|
type: Input
|
|
127
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 }); }
|
|
129
132
|
}
|
|
130
|
-
|
|
131
|
-
BackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: BackgroundImageDirectiveModule, declarations: [BackgroundImageDirective], exports: [BackgroundImageDirective] });
|
|
132
|
-
BackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BackgroundImageDirectiveModule });
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: BackgroundImageDirectiveModule, decorators: [{
|
|
134
134
|
type: NgModule,
|
|
135
135
|
args: [{
|
|
136
136
|
declarations: [BackgroundImageDirective],
|
|
@@ -142,10 +142,10 @@ class PreventDefaultDirective {
|
|
|
142
142
|
onClick($event) {
|
|
143
143
|
$event.preventDefault();
|
|
144
144
|
}
|
|
145
|
+
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 }); }
|
|
145
147
|
}
|
|
146
|
-
|
|
147
|
-
PreventDefaultDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: PreventDefaultDirective, selector: "[rxapPreventDefault]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreventDefaultDirective, decorators: [{
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirective, decorators: [{
|
|
149
149
|
type: Directive,
|
|
150
150
|
args: [{
|
|
151
151
|
selector: '[rxapPreventDefault]'
|
|
@@ -155,11 +155,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
155
155
|
args: ['click', ['$event']]
|
|
156
156
|
}] } });
|
|
157
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 }); }
|
|
158
161
|
}
|
|
159
|
-
|
|
160
|
-
PreventDefaultDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: PreventDefaultDirectiveModule, declarations: [PreventDefaultDirective], exports: [PreventDefaultDirective] });
|
|
161
|
-
PreventDefaultDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreventDefaultDirectiveModule });
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PreventDefaultDirectiveModule, decorators: [{
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: PreventDefaultDirectiveModule, decorators: [{
|
|
163
163
|
type: NgModule,
|
|
164
164
|
args: [{
|
|
165
165
|
exports: [PreventDefaultDirective],
|
|
@@ -171,10 +171,10 @@ class StopImmediatePropagationDirective {
|
|
|
171
171
|
onClick($event) {
|
|
172
172
|
$event.stopImmediatePropagation();
|
|
173
173
|
}
|
|
174
|
+
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 }); }
|
|
174
176
|
}
|
|
175
|
-
|
|
176
|
-
StopImmediatePropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: StopImmediatePropagationDirective, selector: "[rxapStopImmediatePropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopImmediatePropagationDirective, decorators: [{
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirective, decorators: [{
|
|
178
178
|
type: Directive,
|
|
179
179
|
args: [{
|
|
180
180
|
selector: '[rxapStopImmediatePropagation]'
|
|
@@ -184,11 +184,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
184
184
|
args: ['click', ['$event']]
|
|
185
185
|
}] } });
|
|
186
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 }); }
|
|
187
190
|
}
|
|
188
|
-
|
|
189
|
-
StopImmediatePropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule, declarations: [StopImmediatePropagationDirective], exports: [StopImmediatePropagationDirective] });
|
|
190
|
-
StopImmediatePropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule });
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopImmediatePropagationDirectiveModule, decorators: [{
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopImmediatePropagationDirectiveModule, decorators: [{
|
|
192
192
|
type: NgModule,
|
|
193
193
|
args: [{
|
|
194
194
|
exports: [StopImmediatePropagationDirective],
|
|
@@ -200,10 +200,10 @@ class StopPropagationDirective {
|
|
|
200
200
|
onClick($event) {
|
|
201
201
|
$event.stopPropagation();
|
|
202
202
|
}
|
|
203
|
+
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 }); }
|
|
203
205
|
}
|
|
204
|
-
|
|
205
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: StopPropagationDirective, selector: "[rxapStopPropagation]", host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
207
207
|
type: Directive,
|
|
208
208
|
args: [{
|
|
209
209
|
selector: '[rxapStopPropagation]'
|
|
@@ -213,11 +213,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
213
213
|
args: ['click', ['$event']]
|
|
214
214
|
}] } });
|
|
215
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 }); }
|
|
216
219
|
}
|
|
217
|
-
|
|
218
|
-
StopPropagationDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirectiveModule, declarations: [StopPropagationDirective], exports: [StopPropagationDirective] });
|
|
219
|
-
StopPropagationDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirectiveModule });
|
|
220
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirectiveModule, decorators: [{
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: StopPropagationDirectiveModule, decorators: [{
|
|
221
221
|
type: NgModule,
|
|
222
222
|
args: [{
|
|
223
223
|
exports: [StopPropagationDirective],
|
|
@@ -243,10 +243,10 @@ class ShareService {
|
|
|
243
243
|
isShareSupported() {
|
|
244
244
|
return !!navigator.share;
|
|
245
245
|
}
|
|
246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareService, providedIn: 'root' }); }
|
|
246
248
|
}
|
|
247
|
-
|
|
248
|
-
ShareService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShareService, providedIn: 'root' });
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShareService, decorators: [{
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareService, decorators: [{
|
|
250
250
|
type: Injectable,
|
|
251
251
|
args: [{ providedIn: 'root' }]
|
|
252
252
|
}] });
|
|
@@ -259,14 +259,14 @@ class ShareButtonDirective {
|
|
|
259
259
|
.then(() => console.log('share successfully'))
|
|
260
260
|
.catch(err => console.error('share failed', err.message));
|
|
261
261
|
}
|
|
262
|
+
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 }); }
|
|
262
264
|
}
|
|
263
|
-
ShareButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShareButtonDirective, deps: [{ token: ShareService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
264
|
-
ShareButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ShareButtonDirective, selector: "[rxapShareButton]", inputs: { url: "url", text: "text", title: "title", files: "files" }, host: { listeners: { "click": "share()" } }, ngImport: i0 });
|
|
265
265
|
__decorate([
|
|
266
266
|
Required,
|
|
267
267
|
__metadata("design:type", String)
|
|
268
268
|
], ShareButtonDirective.prototype, "title", void 0);
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirective, decorators: [{
|
|
270
270
|
type: Directive,
|
|
271
271
|
args: [{
|
|
272
272
|
selector: '[rxapShareButton]'
|
|
@@ -284,11 +284,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
284
284
|
args: ['click']
|
|
285
285
|
}] } });
|
|
286
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 }); }
|
|
287
290
|
}
|
|
288
|
-
|
|
289
|
-
ShareButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ShareButtonDirectiveModule, declarations: [ShareButtonDirective], exports: [ShareButtonDirective] });
|
|
290
|
-
ShareButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShareButtonDirectiveModule });
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShareButtonDirectiveModule, decorators: [{
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ShareButtonDirectiveModule, decorators: [{
|
|
292
292
|
type: NgModule,
|
|
293
293
|
args: [{
|
|
294
294
|
exports: [ShareButtonDirective],
|
|
@@ -300,10 +300,10 @@ class FullWidthDirective {
|
|
|
300
300
|
constructor() {
|
|
301
301
|
this.width = '100%';
|
|
302
302
|
}
|
|
303
|
+
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 }); }
|
|
303
305
|
}
|
|
304
|
-
|
|
305
|
-
FullWidthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: FullWidthDirective, selector: "[rxapFullWidth]", host: { properties: { "style.width": "this.width" } }, ngImport: i0 });
|
|
306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FullWidthDirective, decorators: [{
|
|
306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirective, decorators: [{
|
|
307
307
|
type: Directive,
|
|
308
308
|
args: [{
|
|
309
309
|
selector: '[rxapFullWidth]',
|
|
@@ -313,11 +313,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
313
313
|
args: ['style.width']
|
|
314
314
|
}] } });
|
|
315
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 }); }
|
|
316
319
|
}
|
|
317
|
-
|
|
318
|
-
FullWidthDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: FullWidthDirectiveModule, declarations: [FullWidthDirective], exports: [FullWidthDirective] });
|
|
319
|
-
FullWidthDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FullWidthDirectiveModule });
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FullWidthDirectiveModule, decorators: [{
|
|
321
321
|
type: NgModule,
|
|
322
322
|
args: [{
|
|
323
323
|
declarations: [FullWidthDirective],
|
|
@@ -326,6 +326,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
326
326
|
}] });
|
|
327
327
|
|
|
328
328
|
class AvatarBackgroundImageDirective extends BackgroundImageDirective {
|
|
329
|
+
set name(name) {
|
|
330
|
+
if (!this.placeholderImageUrl) {
|
|
331
|
+
this.placeholderImageUrl = this.avatarImage.get({ name });
|
|
332
|
+
}
|
|
333
|
+
}
|
|
329
334
|
constructor(host, renderer, imageLoader, avatarImage) {
|
|
330
335
|
super(host, renderer, imageLoader);
|
|
331
336
|
this.avatarImage = avatarImage;
|
|
@@ -333,15 +338,10 @@ class AvatarBackgroundImageDirective extends BackgroundImageDirective {
|
|
|
333
338
|
this.size = BackgroundSizeOptions.COVER;
|
|
334
339
|
this.repeat = BackgroundRepeatOptions.NO_REPEAT;
|
|
335
340
|
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
this.placeholderImageUrl = this.avatarImage.get({ name });
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
+
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 }); }
|
|
341
343
|
}
|
|
342
|
-
|
|
343
|
-
AvatarBackgroundImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: { name: "name", imageUrl: ["rxapAvatarBackgroundImage", "imageUrl"] }, usesInheritance: true, ngImport: i0 });
|
|
344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirective, decorators: [{
|
|
345
345
|
type: Directive,
|
|
346
346
|
args: [{
|
|
347
347
|
// tslint:disable-next-line:directive-selector
|
|
@@ -366,11 +366,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
366
366
|
args: ['rxapAvatarBackgroundImage']
|
|
367
367
|
}] } });
|
|
368
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 }); }
|
|
369
372
|
}
|
|
370
|
-
|
|
371
|
-
AvatarBackgroundImageDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, declarations: [AvatarBackgroundImageDirective], exports: [AvatarBackgroundImageDirective] });
|
|
372
|
-
AvatarBackgroundImageDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule });
|
|
373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
|
|
373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: AvatarBackgroundImageDirectiveModule, decorators: [{
|
|
374
374
|
type: NgModule,
|
|
375
375
|
args: [{
|
|
376
376
|
declarations: [AvatarBackgroundImageDirective],
|
|
@@ -405,16 +405,16 @@ class ContenteditableDirective {
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
+
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 }); }
|
|
408
410
|
}
|
|
409
|
-
ContenteditableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContenteditableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
410
|
-
ContenteditableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ContenteditableDirective, selector: "[rxapContenteditable]", inputs: { method: ["rxapContenteditable", "method"], parameters: "parameters", initial: "initial" }, outputs: { change: "rxapContenteditable" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable", "attr.spellcheck": "this.spellcheck" } }, ngImport: i0 });
|
|
411
411
|
__decorate([
|
|
412
412
|
DebounceCall(1000),
|
|
413
413
|
__metadata("design:type", Function),
|
|
414
414
|
__metadata("design:paramtypes", [Object]),
|
|
415
415
|
__metadata("design:returntype", Promise)
|
|
416
416
|
], ContenteditableDirective.prototype, "onInput", null);
|
|
417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirective, decorators: [{
|
|
418
418
|
type: Directive,
|
|
419
419
|
args: [{
|
|
420
420
|
selector: '[rxapContenteditable]'
|
|
@@ -443,11 +443,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
443
443
|
args: ['input', ['$event']]
|
|
444
444
|
}] } });
|
|
445
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 }); }
|
|
446
449
|
}
|
|
447
|
-
|
|
448
|
-
ContenteditableDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ContenteditableDirectiveModule, declarations: [ContenteditableDirective], exports: [ContenteditableDirective] });
|
|
449
|
-
ContenteditableDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContenteditableDirectiveModule });
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ContenteditableDirectiveModule, decorators: [{
|
|
451
451
|
type: NgModule,
|
|
452
452
|
args: [{
|
|
453
453
|
declarations: [ContenteditableDirective],
|
|
@@ -470,10 +470,10 @@ class ConfirmClick {
|
|
|
470
470
|
onConfirm() {
|
|
471
471
|
this.execute();
|
|
472
472
|
}
|
|
473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmClick, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
474
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmClick }); }
|
|
473
475
|
}
|
|
474
|
-
|
|
475
|
-
ConfirmClick.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmClick });
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfirmClick, decorators: [{
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ConfirmClick, decorators: [{
|
|
477
477
|
type: Injectable
|
|
478
478
|
}], propDecorators: { hasConfirmDirective: [{
|
|
479
479
|
type: Input,
|
|
@@ -487,6 +487,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
487
487
|
}] } });
|
|
488
488
|
|
|
489
489
|
class MethodDirective {
|
|
490
|
+
set hasConfirmDirective(value) {
|
|
491
|
+
this._hasConfirmDirective = coerceBoolean(value);
|
|
492
|
+
}
|
|
490
493
|
constructor() {
|
|
491
494
|
this._hasConfirmDirective = false;
|
|
492
495
|
this.immediately = false;
|
|
@@ -498,9 +501,6 @@ class MethodDirective {
|
|
|
498
501
|
*/
|
|
499
502
|
this.executing$ = new ToggleSubject();
|
|
500
503
|
}
|
|
501
|
-
set hasConfirmDirective(value) {
|
|
502
|
-
this._hasConfirmDirective = coerceBoolean(value);
|
|
503
|
-
}
|
|
504
504
|
ngOnInit() {
|
|
505
505
|
if (this.immediately) {
|
|
506
506
|
this.execute();
|
|
@@ -552,10 +552,10 @@ class MethodDirective {
|
|
|
552
552
|
successful(result) {
|
|
553
553
|
this.successful$.emit(result);
|
|
554
554
|
}
|
|
555
|
+
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 }); }
|
|
555
557
|
}
|
|
556
|
-
|
|
557
|
-
MethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: MethodDirective, selector: "[rxapMethod]", inputs: { hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"], method: ["rxapMethod", "method"], parameters: "parameters", immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapMethod"], ngImport: i0 });
|
|
558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodDirective, decorators: [{
|
|
558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirective, decorators: [{
|
|
559
559
|
type: Directive,
|
|
560
560
|
args: [{
|
|
561
561
|
selector: '[rxapMethod]',
|
|
@@ -588,11 +588,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
588
588
|
args: ['click']
|
|
589
589
|
}] } });
|
|
590
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 }); }
|
|
591
594
|
}
|
|
592
|
-
|
|
593
|
-
MethodDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: MethodDirectiveModule, declarations: [MethodDirective], exports: [MethodDirective] });
|
|
594
|
-
MethodDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodDirectiveModule });
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodDirectiveModule, decorators: [{
|
|
595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodDirectiveModule, decorators: [{
|
|
596
596
|
type: NgModule,
|
|
597
597
|
args: [{
|
|
598
598
|
declarations: [MethodDirective],
|
|
@@ -655,9 +655,9 @@ class MovableDividerDirective {
|
|
|
655
655
|
onMousedown() {
|
|
656
656
|
this._moveDivider = true;
|
|
657
657
|
}
|
|
658
|
+
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 }); }
|
|
658
660
|
}
|
|
659
|
-
MovableDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MovableDividerDirective, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
660
|
-
MovableDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: MovableDividerDirective, selector: "[rxapMovableDivider]", inputs: { containerElement: "containerElement", fixedElement: "fixedElement", origin: "origin" }, host: { listeners: { "mousedown": "onMousedown()" }, properties: { "style.cursor": "this.cursor" } }, ngImport: i0 });
|
|
661
661
|
__decorate([
|
|
662
662
|
Required,
|
|
663
663
|
__metadata("design:type", HTMLDivElement)
|
|
@@ -666,7 +666,7 @@ __decorate([
|
|
|
666
666
|
Required,
|
|
667
667
|
__metadata("design:type", HTMLDivElement)
|
|
668
668
|
], MovableDividerDirective.prototype, "fixedElement", void 0);
|
|
669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirective, decorators: [{
|
|
670
670
|
type: Directive,
|
|
671
671
|
args: [{
|
|
672
672
|
selector: '[rxapMovableDivider]'
|
|
@@ -685,11 +685,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
685
685
|
args: ['mousedown']
|
|
686
686
|
}] } });
|
|
687
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 }); }
|
|
688
691
|
}
|
|
689
|
-
|
|
690
|
-
MovableDividerDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: MovableDividerDirectiveModule, declarations: [MovableDividerDirective], exports: [MovableDividerDirective] });
|
|
691
|
-
MovableDividerDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MovableDividerDirectiveModule });
|
|
692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MovableDividerDirectiveModule, decorators: [{
|
|
693
693
|
type: NgModule,
|
|
694
694
|
args: [{
|
|
695
695
|
declarations: [MovableDividerDirective],
|
|
@@ -699,11 +699,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
699
699
|
|
|
700
700
|
// TODO : mv to rxap package
|
|
701
701
|
class IfTruthyDirective {
|
|
702
|
-
constructor(templateRef, viewContainerRef, cdr) {
|
|
703
|
-
this.templateRef = templateRef;
|
|
704
|
-
this.viewContainerRef = viewContainerRef;
|
|
705
|
-
this.cdr = cdr;
|
|
706
|
-
}
|
|
707
702
|
/**
|
|
708
703
|
* Asserts the correct type of the context for the template that `NgForOf` will render.
|
|
709
704
|
*
|
|
@@ -713,6 +708,11 @@ class IfTruthyDirective {
|
|
|
713
708
|
static ngTemplateContextGuard(dir, ctx) {
|
|
714
709
|
return true;
|
|
715
710
|
}
|
|
711
|
+
constructor(templateRef, viewContainerRef, cdr) {
|
|
712
|
+
this.templateRef = templateRef;
|
|
713
|
+
this.viewContainerRef = viewContainerRef;
|
|
714
|
+
this.cdr = cdr;
|
|
715
|
+
}
|
|
716
716
|
ngOnChanges(changes) {
|
|
717
717
|
if (this.method && this.parameters) {
|
|
718
718
|
this.execute();
|
|
@@ -736,10 +736,10 @@ class IfTruthyDirective {
|
|
|
736
736
|
}
|
|
737
737
|
return true;
|
|
738
738
|
}
|
|
739
|
+
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 }); }
|
|
739
741
|
}
|
|
740
|
-
|
|
741
|
-
IfTruthyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: IfTruthyDirective, selector: "[rxapIfTruthy]", inputs: { method: ["rxapIfTruthy", "method"], parameters: ["rxapIfTruthyParameters", "parameters"], trackBy: ["rxapIfTruthyTrackBy", "trackBy"] }, usesOnChanges: true, ngImport: i0 });
|
|
742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IfTruthyDirective, decorators: [{
|
|
742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirective, decorators: [{
|
|
743
743
|
type: Directive,
|
|
744
744
|
args: [{
|
|
745
745
|
selector: '[rxapIfTruthy]'
|
|
@@ -755,11 +755,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
755
755
|
args: ['rxapIfTruthyTrackBy']
|
|
756
756
|
}] } });
|
|
757
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 }); }
|
|
758
761
|
}
|
|
759
|
-
|
|
760
|
-
IfTruthyDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: IfTruthyDirectiveModule, declarations: [IfTruthyDirective], exports: [IfTruthyDirective] });
|
|
761
|
-
IfTruthyDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IfTruthyDirectiveModule });
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
|
|
762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: IfTruthyDirectiveModule, decorators: [{
|
|
763
763
|
type: NgModule,
|
|
764
764
|
args: [{
|
|
765
765
|
declarations: [IfTruthyDirective],
|
|
@@ -768,6 +768,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
768
768
|
}] });
|
|
769
769
|
|
|
770
770
|
class MethodTemplateDirective {
|
|
771
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
772
|
+
return true;
|
|
773
|
+
}
|
|
771
774
|
constructor(template, viewContainerRef, cdr) {
|
|
772
775
|
this.template = template;
|
|
773
776
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -783,9 +786,6 @@ class MethodTemplateDirective {
|
|
|
783
786
|
this.executing$ = new ToggleSubject();
|
|
784
787
|
this.embedded = new EventEmitter();
|
|
785
788
|
}
|
|
786
|
-
static ngTemplateContextGuard(dir, ctx) {
|
|
787
|
-
return true;
|
|
788
|
-
}
|
|
789
789
|
ngOnChanges(changes) {
|
|
790
790
|
const parametersChanges = changes.parameters;
|
|
791
791
|
if (parametersChanges) {
|
|
@@ -862,10 +862,10 @@ class MethodTemplateDirective {
|
|
|
862
862
|
this.embedded.emit();
|
|
863
863
|
this.cdr.detectChanges();
|
|
864
864
|
}
|
|
865
|
+
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 }); }
|
|
865
867
|
}
|
|
866
|
-
|
|
867
|
-
MethodTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: MethodTemplateDirective, selector: "[rxapMethod]", inputs: { method: ["rxapMethodCall", "method"], parameters: ["rxapMethodParameters", "parameters"], errorTemplate: ["rxapMethodError", "errorTemplate"], loadingTemplate: ["rxapMethodLoading", "loadingTemplate"], withoutParameters: ["rxapMethodWithoutParameters", "withoutParameters"], immediately: "immediately" }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", executing$: "executing", embedded: "embedded" }, host: { listeners: { "confirmed": "onConfirmed()" } }, exportAs: ["rxapMethod"], usesOnChanges: true, ngImport: i0 });
|
|
868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodTemplateDirective, decorators: [{
|
|
868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirective, decorators: [{
|
|
869
869
|
type: Directive,
|
|
870
870
|
args: [{
|
|
871
871
|
selector: '[rxapMethod]',
|
|
@@ -916,11 +916,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
916
916
|
args: ['confirmed']
|
|
917
917
|
}] } });
|
|
918
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 }); }
|
|
919
922
|
}
|
|
920
|
-
|
|
921
|
-
MethodTemplateDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: MethodTemplateDirectiveModule, declarations: [MethodTemplateDirective], exports: [MethodTemplateDirective] });
|
|
922
|
-
MethodTemplateDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodTemplateDirectiveModule });
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MethodTemplateDirectiveModule, decorators: [{
|
|
923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MethodTemplateDirectiveModule, decorators: [{
|
|
924
924
|
type: NgModule,
|
|
925
925
|
args: [{
|
|
926
926
|
declarations: [MethodTemplateDirective],
|
|
@@ -934,4 +934,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
|
|
|
934
934
|
|
|
935
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 };
|
|
936
936
|
//# sourceMappingURL=rxap-directives.mjs.map
|
|
937
|
-
//# sourceMappingURL=rxap-directives.mjs.map
|