@rxap/remote-method 18.0.5-dev.1 → 18.0.6-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/CHANGELOG.md +8 -0
- package/docs/classes/BaseRemoteMethod.html +9 -9
- package/docs/classes/ProxyRemoteMethod.html +9 -9
- package/docs/classes/RemoteMethodLoader.html +2 -2
- package/docs/classes/RxapRemoteMethodError.html +6 -6
- package/docs/documentation.json +320 -221
- package/docs/functions/RxapRemoteMethod.html +1 -1
- package/docs/interfaces/BaseRemoteMethodMetadata.html +2 -2
- package/docs/variables/REMOTE_METHOD_META_DATA.html +1 -1
- package/docs/variables/RXAP_PROXY_REMOTE_METHOD_TARGET.html +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 +12 -12
|
@@ -24,8 +24,8 @@ class ContenteditableDirective {
|
|
|
24
24
|
}
|
|
25
25
|
return Promise.resolve();
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
28
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ContenteditableDirective, deps: [{ token: HttpRemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
28
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", 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 }); }
|
|
29
29
|
}
|
|
30
30
|
__decorate([
|
|
31
31
|
DebounceCall(1000),
|
|
@@ -33,7 +33,7 @@ __decorate([
|
|
|
33
33
|
__metadata("design:paramtypes", [Object]),
|
|
34
34
|
__metadata("design:returntype", void 0)
|
|
35
35
|
], ContenteditableDirective.prototype, "onInput", null);
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ContenteditableDirective, decorators: [{
|
|
37
37
|
type: Directive,
|
|
38
38
|
args: [{
|
|
39
39
|
selector: '[rxapContenteditable]',
|
|
@@ -98,10 +98,10 @@ class HttpRemoteMethodDirective extends RemoteMethodDirective {
|
|
|
98
98
|
this._remoteMethodOrIdOrToken = value;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
102
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
102
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", 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 }); }
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethodDirective, decorators: [{
|
|
105
105
|
type: Directive,
|
|
106
106
|
args: [{
|
|
107
107
|
selector: 'button[rxapHttpRemoteMethod]',
|
|
@@ -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: "18.0
|
|
70
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", 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: "18.2.0", ngImport: i0, type: BaseHttpRemoteMethod }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: BaseHttpRemoteMethod, decorators: [{
|
|
73
73
|
type: Injectable
|
|
74
74
|
}], ctorParameters: () => [{ 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: "18.0
|
|
130
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethod, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
130
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethod }); }
|
|
131
131
|
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", 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: "18.0
|
|
151
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethodLoader, deps: [{ token: RemoteMethodLoader }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
151
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethodLoader, providedIn: 'root' }); }
|
|
152
152
|
}
|
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: HttpRemoteMethodLoader, decorators: [{
|
|
154
154
|
type: Injectable,
|
|
155
155
|
args: [{ providedIn: 'root' }]
|
|
156
156
|
}], ctorParameters: () => [{ 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: "18.0
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", 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: "18.2.0", ngImport: i0, type: BaseRemoteMethod }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: BaseRemoteMethod, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}], ctorParameters: () => [{ type: i0.Injector, decorators: [{
|
|
72
72
|
type: Optional
|
|
@@ -88,10 +88,10 @@ class ProxyRemoteMethod extends BaseRemoteMethod {
|
|
|
88
88
|
async _call(parameters) {
|
|
89
89
|
return this.remoteMethod.call(await this.transformParameters(parameters));
|
|
90
90
|
}
|
|
91
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
92
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
91
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ProxyRemoteMethod, deps: [{ token: RXAP_PROXY_REMOTE_METHOD_TARGET }, { token: INJECTOR }, { token: REMOTE_METHOD_META_DATA }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
92
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ProxyRemoteMethod }); }
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ProxyRemoteMethod, decorators: [{
|
|
95
95
|
type: Injectable
|
|
96
96
|
}], ctorParameters: () => [{ type: BaseRemoteMethod, decorators: [{
|
|
97
97
|
type: Inject,
|
|
@@ -110,10 +110,10 @@ class RemoteMethodLoader extends DefinitionLoader {
|
|
|
110
110
|
.load(remoteMethodIdOrInstanceOrToken, metadata, injector, notFoundValue, flags)
|
|
111
111
|
.call(parameters);
|
|
112
112
|
}
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0
|
|
114
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RemoteMethodLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
114
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RemoteMethodLoader, providedIn: 'root' }); }
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RemoteMethodLoader, decorators: [{
|
|
117
117
|
type: Injectable,
|
|
118
118
|
args: [{ providedIn: 'root' }]
|
|
119
119
|
}] });
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.0.
|
|
2
|
+
"version": "18.0.6-dev.0",
|
|
3
3
|
"name": "@rxap/remote-method",
|
|
4
4
|
"description": "Provides the RemoteMethod concept for RxAP.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@nx/devkit": "19.
|
|
7
|
+
"@nx/devkit": "19.6.2",
|
|
8
8
|
"tslib": "2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/common": "^18.0
|
|
12
|
-
"@angular/core": "^18.0
|
|
13
|
-
"@rxap/definition": "^18.0.5
|
|
14
|
-
"@rxap/rxjs": "^1.1.
|
|
15
|
-
"@rxap/utilities": "^16.3.
|
|
11
|
+
"@angular/common": "^18.2.0",
|
|
12
|
+
"@angular/core": "^18.2.0",
|
|
13
|
+
"@rxap/definition": "^18.0.5",
|
|
14
|
+
"@rxap/rxjs": "^1.1.9-dev.0",
|
|
15
|
+
"@rxap/utilities": "^16.3.1-dev.0",
|
|
16
16
|
"rxjs": "^7.8.1"
|
|
17
17
|
},
|
|
18
18
|
"author": {
|
|
@@ -46,19 +46,19 @@
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"package": "@rxap/definition",
|
|
49
|
-
"version": "18.0.5
|
|
49
|
+
"version": "18.0.5"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"package": "@rxap/reflect-metadata",
|
|
53
|
-
"version": "1.0.
|
|
53
|
+
"version": "1.0.10-dev.0"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"package": "@rxap/rxjs",
|
|
57
|
-
"version": "1.1.
|
|
57
|
+
"version": "1.1.9-dev.0"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"package": "@rxap/utilities",
|
|
61
|
-
"version": "16.3.
|
|
61
|
+
"version": "16.3.1-dev.0"
|
|
62
62
|
}
|
|
63
63
|
]
|
|
64
64
|
},
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"directory": "packages/angular/remote-method"
|
|
73
73
|
},
|
|
74
74
|
"sideEffects": false,
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "2da304d546ada9d6a46fc699fee56349dd070d9c",
|
|
76
76
|
"module": "fesm2022/rxap-remote-method.mjs",
|
|
77
77
|
"typings": "index.d.ts",
|
|
78
78
|
"exports": {
|