@rxap/remote-method 16.0.0-dev.12 → 16.0.0-dev.14
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/esm2022/directive/lib/remote-method-template-collection.directive.mjs +3 -3
- package/esm2022/directive/lib/remote-method-template.directive.mjs +3 -3
- package/esm2022/directive/lib/remote-method.directive.mjs +3 -3
- package/esm2022/http/directive/lib/contenteditable.directive.mjs +3 -3
- package/esm2022/http/directive/lib/http-remote-method.directive.mjs +3 -3
- package/esm2022/http/lib/base-http.remote-method.mjs +3 -3
- package/esm2022/http/lib/http-remote-method.loader.mjs +3 -3
- package/esm2022/http/lib/http.remote-method.mjs +3 -3
- package/esm2022/lib/base.remote-method.mjs +3 -3
- package/esm2022/lib/proxy.remote-method.mjs +3 -3
- package/esm2022/lib/remote-method-loader.mjs +3 -3
- package/fesm2022/rxap-remote-method-directive.mjs +9 -9
- package/fesm2022/rxap-remote-method-http-directive.mjs +6 -6
- package/fesm2022/rxap-remote-method-http.mjs +9 -9
- package/fesm2022/rxap-remote-method.mjs +9 -9
- package/package.json +38 -38
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.0.0-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/remote-method@16.0.0-dev.13...@rxap/remote-method@16.0.0-dev.14) (2023-09-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/remote-method
|
|
9
|
+
|
|
10
|
+
# [16.0.0-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/remote-method@16.0.0-dev.12...@rxap/remote-method@16.0.0-dev.13) (2023-09-07)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/remote-method
|
|
13
|
+
|
|
6
14
|
# [16.0.0-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/remote-method@16.0.0-dev.11...@rxap/remote-method@16.0.0-dev.12) (2023-09-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @rxap/remote-method
|
package/README.md
CHANGED
|
@@ -18,5 +18,5 @@ yarn add @rxap/remote-method
|
|
|
18
18
|
```
|
|
19
19
|
**Install peer dependencies:**
|
|
20
20
|
```bash
|
|
21
|
-
yarn add @
|
|
21
|
+
yarn add tslib@2.6.2
|
|
22
22
|
```
|
|
@@ -261,10 +261,10 @@ export class RemoteMethodTemplateCollectionDirective {
|
|
|
261
261
|
perViewChange(view, record) {
|
|
262
262
|
view.context.$implicit = record.item;
|
|
263
263
|
}
|
|
264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
265
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateCollectionDirective, deps: [{ token: TemplateRef }, { token: RemoteMethodLoader }, { token: INJECTOR }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: IterableDiffers }, { token: NgZone }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
265
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodTemplateCollectionDirective, isStandalone: true, selector: "[rxapRemoteMethodCollection]", inputs: { parameters: ["rxapRemoteMethodCollectionParameters", "parameters"], emptyTemplate: ["rxapRemoteMethodCollectionEmpty", "emptyTemplate"], errorTemplate: ["rxapRemoteMethodCollectionError", "errorTemplate"], withoutParameters: ["rxapRemoteMethodCollectionWithoutParameters", "withoutParameters"], trackBy: ["rxapRemoteMethodCollectionTrackBy", "trackBy"], remoteMethodOrIdOrToken: ["rxapRemoteMethodCollectionCall", "remoteMethodOrIdOrToken"] }, exportAs: ["rxapRemoteMethodCollection"], usesOnChanges: true, ngImport: i0 }); }
|
|
266
266
|
}
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateCollectionDirective, decorators: [{
|
|
268
268
|
type: Directive,
|
|
269
269
|
args: [{
|
|
270
270
|
selector: '[rxapRemoteMethodCollection]',
|
|
@@ -122,8 +122,8 @@ export class RemoteMethodTemplateDirective {
|
|
|
122
122
|
this.viewContainerRef.createEmbeddedView(this.loadingTemplate);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
126
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateDirective, deps: [{ token: TemplateRef }, { token: RemoteMethodLoader }, { token: INJECTOR }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
126
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodTemplateDirective, isStandalone: true, selector: "[rxapRemoteMethod]", inputs: { metadata: ["rxapRemoteMethodMetadata", "metadata"], parameters: ["rxapRemoteMethodParameters", "parameters"], errorTemplate: ["rxapRemoteMethodError", "errorTemplate"], loadingTemplate: ["rxapRemoteMethodLoading", "loadingTemplate"], withoutParameters: ["rxapRemoteMethodWithoutParameters", "withoutParameters"], remoteMethodOrIdOrToken: ["rxapRemoteMethodCall", "remoteMethodOrIdOrToken"] }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", embedded: "embedded" }, exportAs: ["rxapRemoteMethod"], usesOnChanges: true, ngImport: i0 }); }
|
|
127
127
|
}
|
|
128
128
|
__decorate([
|
|
129
129
|
Deprecated('removed'),
|
|
@@ -131,7 +131,7 @@ __decorate([
|
|
|
131
131
|
__metadata("design:paramtypes", [Object]),
|
|
132
132
|
__metadata("design:returntype", void 0)
|
|
133
133
|
], RemoteMethodTemplateDirective.prototype, "call", null);
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateDirective, decorators: [{
|
|
135
135
|
type: Directive,
|
|
136
136
|
args: [{
|
|
137
137
|
selector: '[rxapRemoteMethod]',
|
|
@@ -94,8 +94,8 @@ export class RemoteMethodDirective {
|
|
|
94
94
|
this.executing$.disable();
|
|
95
95
|
return result;
|
|
96
96
|
}
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
98
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodDirective, deps: [{ token: RemoteMethodLoader }, { token: INJECTOR }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
98
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodDirective, isStandalone: true, selector: "[rxapRemoteMethod]", inputs: { parameters: "parameters", metadata: "metadata", immediately: "immediately", remoteMethodOrIdOrToken: ["rxapRemoteMethod", "remoteMethodOrIdOrToken"], hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"] }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapRemoteMethod"], ngImport: i0 }); }
|
|
99
99
|
}
|
|
100
100
|
__decorate([
|
|
101
101
|
Deprecated('removed'),
|
|
@@ -103,7 +103,7 @@ __decorate([
|
|
|
103
103
|
__metadata("design:paramtypes", []),
|
|
104
104
|
__metadata("design:returntype", Promise)
|
|
105
105
|
], RemoteMethodDirective.prototype, "call", null);
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodDirective, decorators: [{
|
|
107
107
|
type: Directive,
|
|
108
108
|
args: [{
|
|
109
109
|
selector: '[rxapRemoteMethod]',
|
|
@@ -22,8 +22,8 @@ export class ContenteditableDirective {
|
|
|
22
22
|
}
|
|
23
23
|
return Promise.resolve();
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ContenteditableDirective, deps: [{ token: HttpRemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ContenteditableDirective, isStandalone: true, selector: "[rxapContenteditable]", inputs: { remoteMethodId: ["rxapContenteditable", "remoteMethodId"], property: "property", uuid: "uuid" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable" } }, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
28
|
__decorate([
|
|
29
29
|
DebounceCall(1000),
|
|
@@ -31,7 +31,7 @@ __decorate([
|
|
|
31
31
|
__metadata("design:paramtypes", [Object]),
|
|
32
32
|
__metadata("design:returntype", void 0)
|
|
33
33
|
], ContenteditableDirective.prototype, "onInput", null);
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ContenteditableDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[rxapContenteditable]',
|
|
@@ -34,10 +34,10 @@ export class HttpRemoteMethodDirective extends RemoteMethodDirective {
|
|
|
34
34
|
this._remoteMethodOrIdOrToken = value;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
38
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
38
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: HttpRemoteMethodDirective, isStandalone: true, selector: "button[rxapHttpRemoteMethod]", inputs: { headers: "headers", reportProgress: "reportProgress", params: "params", responseType: "responseType", withCredentials: "withCredentials", body: "body", setHeaders: "setHeaders", setParams: "setParams", pathParams: "pathParams", remoteMethodOrIdOrToken: ["rxapHttpRemoteMethod", "remoteMethodOrIdOrToken"] }, usesInheritance: true, ngImport: i0 }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: 'button[rxapHttpRemoteMethod]',
|
|
@@ -62,10 +62,10 @@ export class BaseHttpRemoteMethod extends BaseRemoteMethod {
|
|
|
62
62
|
}
|
|
63
63
|
return this.metadata.url;
|
|
64
64
|
}
|
|
65
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
66
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod, deps: [{ token: HttpClient }, { token: Injector }, { token: REMOTE_METHOD_META_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
66
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod }); }
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod, decorators: [{
|
|
69
69
|
type: Injectable
|
|
70
70
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
71
71
|
type: Inject,
|
|
@@ -17,10 +17,10 @@ export class HttpRemoteMethodLoader {
|
|
|
17
17
|
}
|
|
18
18
|
return remoteMethod.call(parameters);
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, deps: [{ token: RemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}], ctorParameters: function () { return [{ type: i1.RemoteMethodLoader, decorators: [{
|
|
@@ -46,10 +46,10 @@ export class HttpRemoteMethod extends BaseHttpRemoteMethod {
|
|
|
46
46
|
}
|
|
47
47
|
}), filter((event) => event instanceof HttpResponse), map((event) => event.body), map(body => this.transformer(body)), timeout(this.timeout)));
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
50
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
50
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod, decorators: [{
|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mFjdCB0byBmb3JjZSBpbXBsZW1lbnRhdGlvbiB0byBoYW5kZWwgcGFyYW1ldGVyIHRyYW5zZm9ybWF0aW9uXG4gIHB1YmxpYyBjcmVhdGVIdHRwUmVxdWVzdFBhcmFtZXRlcnMocGFyYW1ldGVycz86IFBhcmFtZXRlcik6IFBhcnRpYWw8SHR0cFJlbW90ZU1ldGhvZFBhcmFtZXRlcj4ge1xuICAgIHJldHVybiBwYXJhbWV0ZXJzID8/IHt9IGFzIGFueTtcbiAgfVxuXG4gIHB1YmxpYyB0cmFuc2Zvcm1lcihyZXNwb25zZTogYW55KTogUmV0dXJuVHlwZSB7XG4gICAgcmV0dXJuIHJlc3BvbnNlO1xuICB9XG5cbiAgcHJvdGVjdGVkIF9jYWxsKHBhcmFtZXRlcnM/OiBQYXJhbWV0ZXIpOiBQcm9taXNlPFJldHVyblR5cGU+IHtcbiAgICByZXR1cm4gZmlyc3RWYWx1ZUZyb20odGhpcy5odHRwLnJlcXVlc3Q8UmV0dXJuVHlwZT4odGhpcy51cGRhdGVSZXF1ZXN0KHRoaXMuY3JlYXRlSHR0cFJlcXVlc3RQYXJhbWV0ZXJzKHBhcmFtZXRlcnMpKSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXRyeSh0aGlzLm1ldGFkYXRhLnJldHJ5ID8/IDApLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YXAoZXZlbnQgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN3aXRjaCAoZXZlbnQudHlwZSkge1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIEh0dHBFdmVudFR5cGUuU2VudDpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5vblNlbnRFdmVudChldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIEh0dHBFdmVudFR5cGUuUmVzcG9uc2U6XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25SZXNwb25zZShldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIEh0dHBFdmVudFR5cGUuRG93bmxvYWRQcm9ncmVzczpcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5vblByb2dyZXNzRXZlbnQoZXZlbnQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2FzZSBIdHRwRXZlbnRUeXBlLlVwbG9hZFByb2dyZXNzOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm9uUHJvZ3Jlc3NFdmVudChldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjYXNlIEh0dHBFdmVudFR5cGUuUmVzcG9uc2VIZWFkZXI6XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMub25IZWFkZXJSZXNwb25zZShldmVudCk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyKChldmVudDogYW55KSA9PiBldmVudCBpbnN0YW5jZW9mIEh0dHBSZXNwb25zZSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hcCgoZXZlbnQ6IEh0dHBSZXNwb25zZTxSZXR1cm5UeXBlPikgPT4gZXZlbnQuYm9keSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hcChib2R5ID0+IHRoaXMudHJhbnNmb3JtZXIoYm9keSkpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aW1lb3V0KHRoaXMudGltZW91dCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICApKTtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -54,10 +54,10 @@ export class BaseRemoteMethod extends BaseDefinition {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
58
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod, deps: [{ token: INJECTOR, optional: true }, { token: REMOTE_METHOD_META_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
58
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod, decorators: [{
|
|
61
61
|
type: Injectable
|
|
62
62
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
63
63
|
type: Optional
|
|
@@ -11,10 +11,10 @@ export class ProxyRemoteMethod extends BaseRemoteMethod {
|
|
|
11
11
|
async _call(parameters) {
|
|
12
12
|
return this.remoteMethod.call(await this.transformParameters(parameters));
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
15
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod, deps: [{ token: RXAP_PROXY_REMOTE_METHOD_TARGET }, { token: INJECTOR }, { token: REMOTE_METHOD_META_DATA }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod, decorators: [{
|
|
18
18
|
type: Injectable
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i1.BaseRemoteMethod, decorators: [{
|
|
20
20
|
type: Inject,
|
|
@@ -7,10 +7,10 @@ export class RemoteMethodLoader extends DefinitionLoader {
|
|
|
7
7
|
.load(remoteMethodIdOrInstanceOrToken, metadata, injector, notFoundValue, flags)
|
|
8
8
|
.call(parameters);
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
11
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, providedIn: 'root' }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, decorators: [{
|
|
14
14
|
type: Injectable,
|
|
15
15
|
args: [{ providedIn: 'root' }]
|
|
16
16
|
}] });
|
|
@@ -97,8 +97,8 @@ class RemoteMethodDirective {
|
|
|
97
97
|
this.executing$.disable();
|
|
98
98
|
return result;
|
|
99
99
|
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
101
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodDirective, deps: [{ token: RemoteMethodLoader }, { token: INJECTOR }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
101
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodDirective, isStandalone: true, selector: "[rxapRemoteMethod]", inputs: { parameters: "parameters", metadata: "metadata", immediately: "immediately", remoteMethodOrIdOrToken: ["rxapRemoteMethod", "remoteMethodOrIdOrToken"], hasConfirmDirective: ["rxapConfirm", "hasConfirmDirective"] }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful" }, host: { listeners: { "confirmed": "onConfirmed()", "click": "onClick()" } }, exportAs: ["rxapRemoteMethod"], ngImport: i0 }); }
|
|
102
102
|
}
|
|
103
103
|
__decorate([
|
|
104
104
|
Deprecated('removed'),
|
|
@@ -106,7 +106,7 @@ __decorate([
|
|
|
106
106
|
__metadata("design:paramtypes", []),
|
|
107
107
|
__metadata("design:returntype", Promise)
|
|
108
108
|
], RemoteMethodDirective.prototype, "call", null);
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodDirective, decorators: [{
|
|
110
110
|
type: Directive,
|
|
111
111
|
args: [{
|
|
112
112
|
selector: '[rxapRemoteMethod]',
|
|
@@ -412,10 +412,10 @@ class RemoteMethodTemplateCollectionDirective {
|
|
|
412
412
|
perViewChange(view, record) {
|
|
413
413
|
view.context.$implicit = record.item;
|
|
414
414
|
}
|
|
415
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
416
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateCollectionDirective, deps: [{ token: TemplateRef }, { token: RemoteMethodLoader }, { token: INJECTOR }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: IterableDiffers }, { token: NgZone }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
416
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodTemplateCollectionDirective, isStandalone: true, selector: "[rxapRemoteMethodCollection]", inputs: { parameters: ["rxapRemoteMethodCollectionParameters", "parameters"], emptyTemplate: ["rxapRemoteMethodCollectionEmpty", "emptyTemplate"], errorTemplate: ["rxapRemoteMethodCollectionError", "errorTemplate"], withoutParameters: ["rxapRemoteMethodCollectionWithoutParameters", "withoutParameters"], trackBy: ["rxapRemoteMethodCollectionTrackBy", "trackBy"], remoteMethodOrIdOrToken: ["rxapRemoteMethodCollectionCall", "remoteMethodOrIdOrToken"] }, exportAs: ["rxapRemoteMethodCollection"], usesOnChanges: true, ngImport: i0 }); }
|
|
417
417
|
}
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateCollectionDirective, decorators: [{
|
|
419
419
|
type: Directive,
|
|
420
420
|
args: [{
|
|
421
421
|
selector: '[rxapRemoteMethodCollection]',
|
|
@@ -586,8 +586,8 @@ class RemoteMethodTemplateDirective {
|
|
|
586
586
|
this.viewContainerRef.createEmbeddedView(this.loadingTemplate);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
590
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateDirective, deps: [{ token: TemplateRef }, { token: RemoteMethodLoader }, { token: INJECTOR }, { token: ViewContainerRef }, { token: ChangeDetectorRef }, { token: RXAP_REMOTE_METHOD_DIRECTIVE_TOKEN, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
590
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RemoteMethodTemplateDirective, isStandalone: true, selector: "[rxapRemoteMethod]", inputs: { metadata: ["rxapRemoteMethodMetadata", "metadata"], parameters: ["rxapRemoteMethodParameters", "parameters"], errorTemplate: ["rxapRemoteMethodError", "errorTemplate"], loadingTemplate: ["rxapRemoteMethodLoading", "loadingTemplate"], withoutParameters: ["rxapRemoteMethodWithoutParameters", "withoutParameters"], remoteMethodOrIdOrToken: ["rxapRemoteMethodCall", "remoteMethodOrIdOrToken"] }, outputs: { executed$: "executed", failure$: "failure", successful$: "successful", embedded: "embedded" }, exportAs: ["rxapRemoteMethod"], usesOnChanges: true, ngImport: i0 }); }
|
|
591
591
|
}
|
|
592
592
|
__decorate([
|
|
593
593
|
Deprecated('removed'),
|
|
@@ -595,7 +595,7 @@ __decorate([
|
|
|
595
595
|
__metadata("design:paramtypes", [Object]),
|
|
596
596
|
__metadata("design:returntype", void 0)
|
|
597
597
|
], RemoteMethodTemplateDirective.prototype, "call", null);
|
|
598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodTemplateDirective, decorators: [{
|
|
599
599
|
type: Directive,
|
|
600
600
|
args: [{
|
|
601
601
|
selector: '[rxapRemoteMethod]',
|
|
@@ -39,10 +39,10 @@ class HttpRemoteMethodDirective extends RemoteMethodDirective {
|
|
|
39
39
|
this._remoteMethodOrIdOrToken = value;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: HttpRemoteMethodDirective, isStandalone: true, selector: "button[rxapHttpRemoteMethod]", inputs: { headers: "headers", reportProgress: "reportProgress", params: "params", responseType: "responseType", withCredentials: "withCredentials", body: "body", setHeaders: "setHeaders", setParams: "setParams", pathParams: "pathParams", remoteMethodOrIdOrToken: ["rxapHttpRemoteMethod", "remoteMethodOrIdOrToken"] }, usesInheritance: true, ngImport: i0 }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodDirective, decorators: [{
|
|
46
46
|
type: Directive,
|
|
47
47
|
args: [{
|
|
48
48
|
selector: 'button[rxapHttpRemoteMethod]',
|
|
@@ -89,8 +89,8 @@ class ContenteditableDirective {
|
|
|
89
89
|
}
|
|
90
90
|
return Promise.resolve();
|
|
91
91
|
}
|
|
92
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
93
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ContenteditableDirective, deps: [{ token: HttpRemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
93
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ContenteditableDirective, isStandalone: true, selector: "[rxapContenteditable]", inputs: { remoteMethodId: ["rxapContenteditable", "remoteMethodId"], property: "property", uuid: "uuid" }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "this.contenteditable" } }, ngImport: i0 }); }
|
|
94
94
|
}
|
|
95
95
|
__decorate([
|
|
96
96
|
DebounceCall(1000),
|
|
@@ -98,7 +98,7 @@ __decorate([
|
|
|
98
98
|
__metadata("design:paramtypes", [Object]),
|
|
99
99
|
__metadata("design:returntype", void 0)
|
|
100
100
|
], ContenteditableDirective.prototype, "onInput", null);
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ContenteditableDirective, decorators: [{
|
|
102
102
|
type: Directive,
|
|
103
103
|
args: [{
|
|
104
104
|
selector: '[rxapContenteditable]',
|
|
@@ -66,10 +66,10 @@ class BaseHttpRemoteMethod extends BaseRemoteMethod {
|
|
|
66
66
|
}
|
|
67
67
|
return this.metadata.url;
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
70
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod, deps: [{ token: HttpClient }, { token: Injector }, { token: REMOTE_METHOD_META_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseHttpRemoteMethod, decorators: [{
|
|
73
73
|
type: Injectable
|
|
74
74
|
}], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
|
|
75
75
|
type: Inject,
|
|
@@ -126,10 +126,10 @@ class HttpRemoteMethod extends BaseHttpRemoteMethod {
|
|
|
126
126
|
}
|
|
127
127
|
}), filter((event) => event instanceof HttpResponse), map((event) => event.body), map(body => this.transformer(body)), timeout(this.timeout)));
|
|
128
128
|
}
|
|
129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
130
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
130
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod }); }
|
|
131
131
|
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethod, decorators: [{
|
|
133
133
|
type: Injectable
|
|
134
134
|
}] });
|
|
135
135
|
|
|
@@ -147,10 +147,10 @@ class HttpRemoteMethodLoader {
|
|
|
147
147
|
}
|
|
148
148
|
return remoteMethod.call(parameters);
|
|
149
149
|
}
|
|
150
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
151
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, deps: [{ token: RemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
151
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, providedIn: 'root' }); }
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HttpRemoteMethodLoader, decorators: [{
|
|
154
154
|
type: Injectable,
|
|
155
155
|
args: [{ providedIn: 'root' }]
|
|
156
156
|
}], ctorParameters: function () { return [{ type: i1$1.RemoteMethodLoader, decorators: [{
|
|
@@ -63,10 +63,10 @@ class BaseRemoteMethod extends BaseDefinition {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod, deps: [{ token: INJECTOR, optional: true }, { token: REMOTE_METHOD_META_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: BaseRemoteMethod, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
72
72
|
type: Optional
|
|
@@ -86,10 +86,10 @@ class RemoteMethodLoader extends DefinitionLoader {
|
|
|
86
86
|
.load(remoteMethodIdOrInstanceOrToken, metadata, injector, notFoundValue, flags)
|
|
87
87
|
.call(parameters);
|
|
88
88
|
}
|
|
89
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
90
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
89
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
90
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, providedIn: 'root' }); }
|
|
91
91
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RemoteMethodLoader, decorators: [{
|
|
93
93
|
type: Injectable,
|
|
94
94
|
args: [{ providedIn: 'root' }]
|
|
95
95
|
}] });
|
|
@@ -102,10 +102,10 @@ class ProxyRemoteMethod extends BaseRemoteMethod {
|
|
|
102
102
|
async _call(parameters) {
|
|
103
103
|
return this.remoteMethod.call(await this.transformParameters(parameters));
|
|
104
104
|
}
|
|
105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
106
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.
|
|
105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod, deps: [{ token: RXAP_PROXY_REMOTE_METHOD_TARGET }, { token: INJECTOR }, { token: REMOTE_METHOD_META_DATA }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
106
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod }); }
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ProxyRemoteMethod, decorators: [{
|
|
109
109
|
type: Injectable
|
|
110
110
|
}], ctorParameters: function () { return [{ type: BaseRemoteMethod, decorators: [{
|
|
111
111
|
type: Inject,
|
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "16.0.0-dev.14",
|
|
2
3
|
"name": "@rxap/remote-method",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"@angular/common": "^16.1.4",
|
|
6
|
-
"@angular/core": "^16.1.4",
|
|
7
|
-
"@rxap/definition": "^16.0.0-dev.12",
|
|
8
|
-
"@rxap/rxjs": "^1.0.1-dev.7",
|
|
9
|
-
"@rxap/utilities": "^16.0.0-dev.15",
|
|
10
|
-
"rxjs": "^7.8.0"
|
|
11
|
-
},
|
|
12
|
-
"sideEffects": false,
|
|
4
|
+
"description": "Provides the RemoteMethod concept for RxAP.",
|
|
5
|
+
"license": "GPL-3.0-or-later",
|
|
13
6
|
"dependencies": {
|
|
14
7
|
"tslib": "2.6.2"
|
|
15
8
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
9
|
+
"peerDependencies": {
|
|
10
|
+
"@angular/core": "16.1.4",
|
|
11
|
+
"@rxap/utilities": "16.0.0-dev.17",
|
|
12
|
+
"@rxap/definition": "16.0.0-dev.14",
|
|
13
|
+
"@rxap/rxjs": "1.0.1-dev.9",
|
|
14
|
+
"@angular/platform-browser": "16.1.4",
|
|
15
|
+
"@angular/common": "16.1.4"
|
|
20
16
|
},
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "Merzough Münker",
|
|
19
|
+
"email": "mmuenker@digitaix.com"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
23
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/remote-method",
|
|
21
26
|
"keywords": [
|
|
22
|
-
"rxap",
|
|
23
27
|
"angular",
|
|
28
|
+
"angular-remote-method",
|
|
24
29
|
"ngx",
|
|
25
30
|
"packages",
|
|
26
31
|
"remote-method",
|
|
27
|
-
"
|
|
32
|
+
"rxap"
|
|
28
33
|
],
|
|
29
|
-
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/remote-method",
|
|
30
|
-
"bugs": {
|
|
31
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
32
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
33
|
-
},
|
|
34
|
-
"license": "GPL-3.0-or-later",
|
|
35
|
-
"repository": {
|
|
36
|
-
"type": "git",
|
|
37
|
-
"url": "https://gitlab.com/rxap/packages.git",
|
|
38
|
-
"directory": "packages/angular/remote-method"
|
|
39
|
-
},
|
|
40
|
-
"author": {
|
|
41
|
-
"name": "Merzough Münker",
|
|
42
|
-
"email": "mmuenker@digitaix.com"
|
|
43
|
-
},
|
|
44
34
|
"nx-migrations": {
|
|
45
35
|
"packageGroup": [
|
|
46
|
-
{
|
|
47
|
-
"package": "@rxap/utilities",
|
|
48
|
-
"version": "16.0.0-dev.15"
|
|
49
|
-
},
|
|
50
36
|
{
|
|
51
37
|
"package": "@rxap/definition",
|
|
52
|
-
"version": "16.0.0-dev.
|
|
38
|
+
"version": "16.0.0-dev.13"
|
|
53
39
|
},
|
|
54
40
|
{
|
|
55
41
|
"package": "@rxap/rxjs",
|
|
56
|
-
"version": "1.0.1-dev.
|
|
42
|
+
"version": "1.0.1-dev.8"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"package": "@rxap/utilities",
|
|
46
|
+
"version": "16.0.0-dev.16"
|
|
57
47
|
}
|
|
58
48
|
]
|
|
59
49
|
},
|
|
60
|
-
"
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public",
|
|
52
|
+
"directory": "../../../dist/packages/angular/remote-method"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
57
|
+
"directory": "packages/angular/remote-method"
|
|
58
|
+
},
|
|
59
|
+
"sideEffects": false,
|
|
60
|
+
"gitHead": "6679f090af3b55900bfeb02de0ed8f1febfdbb8b",
|
|
61
61
|
"module": "fesm2022/rxap-remote-method.mjs",
|
|
62
62
|
"typings": "index.d.ts",
|
|
63
63
|
"exports": {
|