@rxap/remote-method 21.0.1-dev.1 → 22.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/compodoc/changelog.html +23 -0
  3. package/compodoc/dependencies.html +6 -6
  4. package/compodoc/js/search/search_index.js +2 -2
  5. package/compodoc/properties.html +1 -1
  6. package/docs/documentation.json +130 -130
  7. package/docs/html/classes/BaseRemoteMethod.html +10 -10
  8. package/docs/html/classes/ProxyRemoteMethod.html +10 -10
  9. package/docs/html/classes/RemoteMethodLoader.html +2 -2
  10. package/docs/html/classes/RxapRemoteMethodError.html +5 -5
  11. package/docs/html/functions/RxapRemoteMethod.html +1 -1
  12. package/docs/html/hierarchy.html +1 -1
  13. package/docs/html/index.html +2 -2
  14. package/docs/html/interfaces/BaseRemoteMethodMetadata.html +2 -2
  15. package/docs/html/modules.html +1 -1
  16. package/docs/html/variables/REMOTE_METHOD_META_DATA.html +1 -1
  17. package/docs/html/variables/RXAP_PROXY_REMOTE_METHOD_TARGET.html +1 -1
  18. package/docs/markdown/README.md +1 -1
  19. package/docs/markdown/classes/BaseRemoteMethod.md +31 -31
  20. package/docs/markdown/classes/ProxyRemoteMethod.md +32 -32
  21. package/docs/markdown/classes/RemoteMethodLoader.md +4 -4
  22. package/docs/markdown/classes/RxapRemoteMethodError.md +16 -16
  23. package/docs/markdown/functions/RxapRemoteMethod.md +2 -2
  24. package/docs/markdown/globals.md +2 -2
  25. package/docs/markdown/interfaces/BaseRemoteMethodMetadata.md +4 -4
  26. package/docs/markdown/variables/REMOTE_METHOD_META_DATA.md +2 -2
  27. package/docs/markdown/variables/RXAP_PROXY_REMOTE_METHOD_TARGET.md +2 -2
  28. package/docs/wiki/Class.BaseRemoteMethod.md +30 -30
  29. package/docs/wiki/Class.ProxyRemoteMethod.md +31 -31
  30. package/docs/wiki/Class.RemoteMethodLoader.md +3 -3
  31. package/docs/wiki/Class.RxapRemoteMethodError.md +15 -15
  32. package/docs/wiki/Function.RxapRemoteMethod.md +1 -1
  33. package/docs/wiki/Interface.BaseRemoteMethodMetadata.md +3 -3
  34. package/docs/wiki/Variable.REMOTE_METHOD_META_DATA.md +1 -1
  35. package/docs/wiki/Variable.RXAP_PROXY_REMOTE_METHOD_TARGET.md +1 -1
  36. package/docs/wiki/globals.md +1 -1
  37. package/fesm2022/rxap-remote-method-directive.mjs +804 -522
  38. package/fesm2022/rxap-remote-method-directive.mjs.map +1 -1
  39. package/fesm2022/rxap-remote-method-http-directive.mjs +352 -99
  40. package/fesm2022/rxap-remote-method-http-directive.mjs.map +1 -1
  41. package/fesm2022/rxap-remote-method-http.mjs +206 -162
  42. package/fesm2022/rxap-remote-method-http.mjs.map +1 -1
  43. package/fesm2022/rxap-remote-method-testing.mjs +37 -54
  44. package/fesm2022/rxap-remote-method-testing.mjs.map +1 -1
  45. package/fesm2022/rxap-remote-method.mjs +199 -134
  46. package/fesm2022/rxap-remote-method.mjs.map +1 -1
  47. package/package.json +13 -13
  48. package/types/rxap-remote-method-directive.d.ts +295 -203
  49. package/types/rxap-remote-method-http-directive.d.ts +104 -39
  50. package/types/rxap-remote-method-http.d.ts +63 -64
  51. package/types/rxap-remote-method-testing.d.ts +15 -16
  52. package/types/rxap-remote-method.d.ts +47 -48
@@ -1,102 +1,355 @@
1
- import { __decorate, __metadata } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { inject, input, Directive, effect, untracked } from '@angular/core';
4
- import { DebounceCall } from '@rxap/utilities';
5
- import { HttpRemoteMethodLoader } from '@rxap/remote-method/http';
6
- import { RemoteMethodDirective } from '@rxap/remote-method/directive';
7
-
8
- class ContenteditableDirective {
9
- constructor() {
10
- this.httpRemoteMethodLoader = inject(HttpRemoteMethodLoader);
11
- this.contenteditable = true;
12
- this.remoteMethodId = input.required({ ...(ngDevMode ? { debugName: "remoteMethodId" } : /* istanbul ignore next */ {}), alias: "rxapContenteditable" });
13
- this.property = input.required(...(ngDevMode ? [{ debugName: "property" }] : /* istanbul ignore next */ []));
14
- this.uuid = input.required(...(ngDevMode ? [{ debugName: "uuid" }] : /* istanbul ignore next */ []));
15
- }
16
- onClick($event) {
17
- $event.stopPropagation();
18
- }
19
- onInput($event) {
20
- const value = $event.target.textContent;
21
- if (value && value.length > 3) {
22
- return this.httpRemoteMethodLoader.request$(this.remoteMethodId(), {
23
- pathParams: { uuid: this.uuid() },
24
- body: { [this.property()]: value },
25
- });
26
- }
27
- return Promise.resolve();
28
- }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ContenteditableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
30
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: ContenteditableDirective, isStandalone: true, selector: "[rxapContenteditable]", inputs: { remoteMethodId: { classPropertyName: "remoteMethodId", publicName: "rxapContenteditable", isSignal: true, isRequired: true, transformFunction: null }, property: { classPropertyName: "property", publicName: "property", isSignal: true, isRequired: true, transformFunction: null }, uuid: { classPropertyName: "uuid", publicName: "uuid", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "click": "onClick($event)", "input": "onInput($event)" }, properties: { "attr.contenteditable": "contenteditable" } }, ngImport: i0 }); }
31
- }
1
+ import { __decorate, __metadata } from "tslib";
2
+ import * as i0 from "@angular/core";
3
+ import { Directive, effect, inject, input, untracked } from "@angular/core";
4
+ import { DebounceCall } from "@rxap/utilities";
5
+ import { HttpRemoteMethodLoader } from "@rxap/remote-method/http";
6
+ import { RemoteMethodDirective } from "@rxap/remote-method/directive";
7
+ var ContenteditableDirective = class ContenteditableDirective {
8
+ constructor() {
9
+ this.httpRemoteMethodLoader = inject(HttpRemoteMethodLoader);
10
+ this.contenteditable = true;
11
+ this.remoteMethodId = input.required({
12
+ ...ngDevMode ? { debugName: "remoteMethodId" } : /* istanbul ignore next */ {},
13
+ alias: "rxapContenteditable"
14
+ });
15
+ this.property = input.required(...ngDevMode ? [{ debugName: "property" }] : /* istanbul ignore next */ []);
16
+ this.uuid = input.required(...ngDevMode ? [{ debugName: "uuid" }] : /* istanbul ignore next */ []);
17
+ }
18
+ onClick($event) {
19
+ $event.stopPropagation();
20
+ }
21
+ onInput($event) {
22
+ const value = $event.target.textContent;
23
+ if (value && value.length > 3) return this.httpRemoteMethodLoader.request$(this.remoteMethodId(), {
24
+ pathParams: { uuid: this.uuid() },
25
+ body: { [this.property()]: value }
26
+ });
27
+ return Promise.resolve();
28
+ }
29
+ static {
30
+ this.ɵfac = i0.ɵɵngDeclareFactory({
31
+ minVersion: "12.0.0",
32
+ version: "22.3.0",
33
+ ngImport: i0,
34
+ type: ContenteditableDirective,
35
+ deps: [],
36
+ target: i0.ɵɵFactoryTarget.Directive
37
+ });
38
+ }
39
+ static {
40
+ this.ɵdir = i0.ɵɵngDeclareDirective({
41
+ minVersion: "17.1.0",
42
+ version: "22.3.0",
43
+ type: ContenteditableDirective,
44
+ isStandalone: true,
45
+ selector: "[rxapContenteditable]",
46
+ inputs: {
47
+ remoteMethodId: {
48
+ classPropertyName: "remoteMethodId",
49
+ publicName: "rxapContenteditable",
50
+ isSignal: true,
51
+ isRequired: true,
52
+ transformFunction: null
53
+ },
54
+ property: {
55
+ classPropertyName: "property",
56
+ publicName: "property",
57
+ isSignal: true,
58
+ isRequired: true,
59
+ transformFunction: null
60
+ },
61
+ uuid: {
62
+ classPropertyName: "uuid",
63
+ publicName: "uuid",
64
+ isSignal: true,
65
+ isRequired: true,
66
+ transformFunction: null
67
+ }
68
+ },
69
+ host: {
70
+ listeners: {
71
+ "click": "onClick($event)",
72
+ "input": "onInput($event)"
73
+ },
74
+ properties: { "attr.contenteditable": "contenteditable" }
75
+ },
76
+ ngImport: i0
77
+ });
78
+ }
79
+ };
32
80
  __decorate([
33
- DebounceCall(1000),
34
- __metadata("design:type", Function),
35
- __metadata("design:paramtypes", [Object]),
36
- __metadata("design:returntype", void 0)
81
+ DebounceCall(1e3),
82
+ __metadata("design:type", Function),
83
+ __metadata("design:paramtypes", [Object]),
84
+ __metadata("design:returntype", void 0)
37
85
  ], ContenteditableDirective.prototype, "onInput", null);
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ContenteditableDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: '[rxapContenteditable]',
42
- standalone: true,
43
- host: {
44
- '[attr.contenteditable]': 'contenteditable',
45
- '(click)': 'onClick($event)',
46
- '(input)': 'onInput($event)',
47
- },
48
- }]
49
- }], propDecorators: { remoteMethodId: [{ type: i0.Input, args: [{ isSignal: true, alias: "rxapContenteditable", required: true }] }], property: [{ type: i0.Input, args: [{ isSignal: true, alias: "property", required: true }] }], uuid: [{ type: i0.Input, args: [{ isSignal: true, alias: "uuid", required: true }] }], onInput: [] } });
50
-
51
- class HttpRemoteMethodDirective extends RemoteMethodDirective {
52
- constructor() {
53
- super();
54
- this.headers = input(...(ngDevMode ? [undefined, { debugName: "headers" }] : /* istanbul ignore next */ []));
55
- this.reportProgress = input(...(ngDevMode ? [undefined, { debugName: "reportProgress" }] : /* istanbul ignore next */ []));
56
- this.params = input(...(ngDevMode ? [undefined, { debugName: "params" }] : /* istanbul ignore next */ []));
57
- this.responseType = input(...(ngDevMode ? [undefined, { debugName: "responseType" }] : /* istanbul ignore next */ []));
58
- this.withCredentials = input(...(ngDevMode ? [undefined, { debugName: "withCredentials" }] : /* istanbul ignore next */ []));
59
- this.body = input(...(ngDevMode ? [undefined, { debugName: "body" }] : /* istanbul ignore next */ []));
60
- this.setHeaders = input(...(ngDevMode ? [undefined, { debugName: "setHeaders" }] : /* istanbul ignore next */ []));
61
- this.setParams = input(...(ngDevMode ? [undefined, { debugName: "setParams" }] : /* istanbul ignore next */ []));
62
- this.pathParams = input(...(ngDevMode ? [undefined, { debugName: "pathParams" }] : /* istanbul ignore next */ []));
63
- this.remoteMethodOrIdOrToken = input(undefined, { ...(ngDevMode ? { debugName: "remoteMethodOrIdOrToken" } : /* istanbul ignore next */ {}), alias: 'rxapHttpRemoteMethod' });
64
- // merge the bound http parameters into the current parameters
65
- effect(() => {
66
- const parameters = {
67
- headers: this.headers(),
68
- reportProgress: this.reportProgress(),
69
- params: this.params(),
70
- responseType: this.responseType(),
71
- withCredentials: this.withCredentials(),
72
- body: this.body(),
73
- setHeaders: this.setHeaders(),
74
- setParams: this.setParams(),
75
- pathParams: this.pathParams(),
76
- };
77
- const bound = Object.fromEntries(Object.entries(parameters).filter(([, value]) => value !== undefined));
78
- if (Object.keys(bound).length) {
79
- untracked(() => this.updateParameters(bound));
80
- }
81
- });
82
- }
83
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HttpRemoteMethodDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
84
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: HttpRemoteMethodDirective, isStandalone: true, selector: "button[rxapHttpRemoteMethod]", inputs: { headers: { classPropertyName: "headers", publicName: "headers", isSignal: true, isRequired: false, transformFunction: null }, reportProgress: { classPropertyName: "reportProgress", publicName: "reportProgress", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, responseType: { classPropertyName: "responseType", publicName: "responseType", isSignal: true, isRequired: false, transformFunction: null }, withCredentials: { classPropertyName: "withCredentials", publicName: "withCredentials", isSignal: true, isRequired: false, transformFunction: null }, body: { classPropertyName: "body", publicName: "body", isSignal: true, isRequired: false, transformFunction: null }, setHeaders: { classPropertyName: "setHeaders", publicName: "setHeaders", isSignal: true, isRequired: false, transformFunction: null }, setParams: { classPropertyName: "setParams", publicName: "setParams", isSignal: true, isRequired: false, transformFunction: null }, pathParams: { classPropertyName: "pathParams", publicName: "pathParams", isSignal: true, isRequired: false, transformFunction: null }, remoteMethodOrIdOrToken: { classPropertyName: "remoteMethodOrIdOrToken", publicName: "rxapHttpRemoteMethod", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
85
- }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HttpRemoteMethodDirective, decorators: [{
87
- type: Directive,
88
- args: [{
89
- selector: 'button[rxapHttpRemoteMethod]',
90
- standalone: true,
91
- }]
92
- }], ctorParameters: () => [], propDecorators: { headers: [{ type: i0.Input, args: [{ isSignal: true, alias: "headers", required: false }] }], reportProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "reportProgress", required: false }] }], params: [{ type: i0.Input, args: [{ isSignal: true, alias: "params", required: false }] }], responseType: [{ type: i0.Input, args: [{ isSignal: true, alias: "responseType", required: false }] }], withCredentials: [{ type: i0.Input, args: [{ isSignal: true, alias: "withCredentials", required: false }] }], body: [{ type: i0.Input, args: [{ isSignal: true, alias: "body", required: false }] }], setHeaders: [{ type: i0.Input, args: [{ isSignal: true, alias: "setHeaders", required: false }] }], setParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "setParams", required: false }] }], pathParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "pathParams", required: false }] }], remoteMethodOrIdOrToken: [{ type: i0.Input, args: [{ isSignal: true, alias: "rxapHttpRemoteMethod", required: false }] }] } });
93
-
94
- // region
95
- // endregion
96
-
97
- /**
98
- * Generated bundle index. Do not edit.
99
- */
100
-
86
+ i0.ɵɵngDeclareClassMetadata({
87
+ minVersion: "12.0.0",
88
+ version: "22.3.0",
89
+ ngImport: i0,
90
+ type: ContenteditableDirective,
91
+ decorators: [{
92
+ type: Directive,
93
+ args: [{
94
+ selector: "[rxapContenteditable]",
95
+ standalone: true,
96
+ host: {
97
+ "[attr.contenteditable]": "contenteditable",
98
+ "(click)": "onClick($event)",
99
+ "(input)": "onInput($event)"
100
+ }
101
+ }]
102
+ }],
103
+ propDecorators: {
104
+ remoteMethodId: [{
105
+ type: i0.Input,
106
+ args: [{
107
+ isSignal: true,
108
+ alias: "rxapContenteditable",
109
+ required: true
110
+ }]
111
+ }],
112
+ property: [{
113
+ type: i0.Input,
114
+ args: [{
115
+ isSignal: true,
116
+ alias: "property",
117
+ required: true
118
+ }]
119
+ }],
120
+ uuid: [{
121
+ type: i0.Input,
122
+ args: [{
123
+ isSignal: true,
124
+ alias: "uuid",
125
+ required: true
126
+ }]
127
+ }],
128
+ onInput: []
129
+ }
130
+ });
131
+ var HttpRemoteMethodDirective = class HttpRemoteMethodDirective extends RemoteMethodDirective {
132
+ constructor() {
133
+ super();
134
+ this.headers = input(...ngDevMode ? [void 0, { debugName: "headers" }] : /* istanbul ignore next */ []);
135
+ this.reportProgress = input(...ngDevMode ? [void 0, { debugName: "reportProgress" }] : /* istanbul ignore next */ []);
136
+ this.params = input(...ngDevMode ? [void 0, { debugName: "params" }] : /* istanbul ignore next */ []);
137
+ this.responseType = input(...ngDevMode ? [void 0, { debugName: "responseType" }] : /* istanbul ignore next */ []);
138
+ this.withCredentials = input(...ngDevMode ? [void 0, { debugName: "withCredentials" }] : /* istanbul ignore next */ []);
139
+ this.body = input(...ngDevMode ? [void 0, { debugName: "body" }] : /* istanbul ignore next */ []);
140
+ this.setHeaders = input(...ngDevMode ? [void 0, { debugName: "setHeaders" }] : /* istanbul ignore next */ []);
141
+ this.setParams = input(...ngDevMode ? [void 0, { debugName: "setParams" }] : /* istanbul ignore next */ []);
142
+ this.pathParams = input(...ngDevMode ? [void 0, { debugName: "pathParams" }] : /* istanbul ignore next */ []);
143
+ this.remoteMethodOrIdOrToken = input(void 0, {
144
+ ...ngDevMode ? { debugName: "remoteMethodOrIdOrToken" } : /* istanbul ignore next */ {},
145
+ alias: "rxapHttpRemoteMethod"
146
+ });
147
+ effect(() => {
148
+ const parameters = {
149
+ headers: this.headers(),
150
+ reportProgress: this.reportProgress(),
151
+ params: this.params(),
152
+ responseType: this.responseType(),
153
+ withCredentials: this.withCredentials(),
154
+ body: this.body(),
155
+ setHeaders: this.setHeaders(),
156
+ setParams: this.setParams(),
157
+ pathParams: this.pathParams()
158
+ };
159
+ const bound = Object.fromEntries(Object.entries(parameters).filter(([, value]) => value !== void 0));
160
+ if (Object.keys(bound).length) untracked(() => this.updateParameters(bound));
161
+ });
162
+ }
163
+ static {
164
+ this.ɵfac = i0.ɵɵngDeclareFactory({
165
+ minVersion: "12.0.0",
166
+ version: "22.3.0",
167
+ ngImport: i0,
168
+ type: HttpRemoteMethodDirective,
169
+ deps: [],
170
+ target: i0.ɵɵFactoryTarget.Directive
171
+ });
172
+ }
173
+ static {
174
+ this.ɵdir = i0.ɵɵngDeclareDirective({
175
+ minVersion: "17.1.0",
176
+ version: "22.3.0",
177
+ type: HttpRemoteMethodDirective,
178
+ isStandalone: true,
179
+ selector: "button[rxapHttpRemoteMethod]",
180
+ inputs: {
181
+ headers: {
182
+ classPropertyName: "headers",
183
+ publicName: "headers",
184
+ isSignal: true,
185
+ isRequired: false,
186
+ transformFunction: null
187
+ },
188
+ reportProgress: {
189
+ classPropertyName: "reportProgress",
190
+ publicName: "reportProgress",
191
+ isSignal: true,
192
+ isRequired: false,
193
+ transformFunction: null
194
+ },
195
+ params: {
196
+ classPropertyName: "params",
197
+ publicName: "params",
198
+ isSignal: true,
199
+ isRequired: false,
200
+ transformFunction: null
201
+ },
202
+ responseType: {
203
+ classPropertyName: "responseType",
204
+ publicName: "responseType",
205
+ isSignal: true,
206
+ isRequired: false,
207
+ transformFunction: null
208
+ },
209
+ withCredentials: {
210
+ classPropertyName: "withCredentials",
211
+ publicName: "withCredentials",
212
+ isSignal: true,
213
+ isRequired: false,
214
+ transformFunction: null
215
+ },
216
+ body: {
217
+ classPropertyName: "body",
218
+ publicName: "body",
219
+ isSignal: true,
220
+ isRequired: false,
221
+ transformFunction: null
222
+ },
223
+ setHeaders: {
224
+ classPropertyName: "setHeaders",
225
+ publicName: "setHeaders",
226
+ isSignal: true,
227
+ isRequired: false,
228
+ transformFunction: null
229
+ },
230
+ setParams: {
231
+ classPropertyName: "setParams",
232
+ publicName: "setParams",
233
+ isSignal: true,
234
+ isRequired: false,
235
+ transformFunction: null
236
+ },
237
+ pathParams: {
238
+ classPropertyName: "pathParams",
239
+ publicName: "pathParams",
240
+ isSignal: true,
241
+ isRequired: false,
242
+ transformFunction: null
243
+ },
244
+ remoteMethodOrIdOrToken: {
245
+ classPropertyName: "remoteMethodOrIdOrToken",
246
+ publicName: "rxapHttpRemoteMethod",
247
+ isSignal: true,
248
+ isRequired: false,
249
+ transformFunction: null
250
+ }
251
+ },
252
+ usesInheritance: true,
253
+ ngImport: i0
254
+ });
255
+ }
256
+ };
257
+ i0.ɵɵngDeclareClassMetadata({
258
+ minVersion: "12.0.0",
259
+ version: "22.3.0",
260
+ ngImport: i0,
261
+ type: HttpRemoteMethodDirective,
262
+ decorators: [{
263
+ type: Directive,
264
+ args: [{
265
+ selector: "button[rxapHttpRemoteMethod]",
266
+ standalone: true
267
+ }]
268
+ }],
269
+ ctorParameters: () => [],
270
+ propDecorators: {
271
+ headers: [{
272
+ type: i0.Input,
273
+ args: [{
274
+ isSignal: true,
275
+ alias: "headers",
276
+ required: false
277
+ }]
278
+ }],
279
+ reportProgress: [{
280
+ type: i0.Input,
281
+ args: [{
282
+ isSignal: true,
283
+ alias: "reportProgress",
284
+ required: false
285
+ }]
286
+ }],
287
+ params: [{
288
+ type: i0.Input,
289
+ args: [{
290
+ isSignal: true,
291
+ alias: "params",
292
+ required: false
293
+ }]
294
+ }],
295
+ responseType: [{
296
+ type: i0.Input,
297
+ args: [{
298
+ isSignal: true,
299
+ alias: "responseType",
300
+ required: false
301
+ }]
302
+ }],
303
+ withCredentials: [{
304
+ type: i0.Input,
305
+ args: [{
306
+ isSignal: true,
307
+ alias: "withCredentials",
308
+ required: false
309
+ }]
310
+ }],
311
+ body: [{
312
+ type: i0.Input,
313
+ args: [{
314
+ isSignal: true,
315
+ alias: "body",
316
+ required: false
317
+ }]
318
+ }],
319
+ setHeaders: [{
320
+ type: i0.Input,
321
+ args: [{
322
+ isSignal: true,
323
+ alias: "setHeaders",
324
+ required: false
325
+ }]
326
+ }],
327
+ setParams: [{
328
+ type: i0.Input,
329
+ args: [{
330
+ isSignal: true,
331
+ alias: "setParams",
332
+ required: false
333
+ }]
334
+ }],
335
+ pathParams: [{
336
+ type: i0.Input,
337
+ args: [{
338
+ isSignal: true,
339
+ alias: "pathParams",
340
+ required: false
341
+ }]
342
+ }],
343
+ remoteMethodOrIdOrToken: [{
344
+ type: i0.Input,
345
+ args: [{
346
+ isSignal: true,
347
+ alias: "rxapHttpRemoteMethod",
348
+ required: false
349
+ }]
350
+ }]
351
+ }
352
+ });
101
353
  export { ContenteditableDirective, HttpRemoteMethodDirective };
102
- //# sourceMappingURL=rxap-remote-method-http-directive.mjs.map
354
+
355
+ //# sourceMappingURL=rxap-remote-method-http-directive.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"rxap-remote-method-http-directive.mjs","sources":["../../../../../packages/angular/remote-method/http/directive/src/lib/contenteditable.directive.ts","../../../../../packages/angular/remote-method/http/directive/src/lib/http-remote-method.directive.ts","../../../../../packages/angular/remote-method/http/directive/src/index.ts","../../../../../packages/angular/remote-method/http/directive/src/rxap-remote-method-http-directive.ts"],"sourcesContent":["import { Directive, input, inject } from '@angular/core';\nimport {\n DebounceCall,\n Required,\n} from '@rxap/utilities';\nimport { HttpRemoteMethodLoader } from '@rxap/remote-method/http';\n\n@Directive({\n selector: '[rxapContenteditable]',\n standalone: true,\n host: {\n '[attr.contenteditable]': 'contenteditable',\n '(click)': 'onClick($event)',\n '(input)': 'onInput($event)',\n },\n})\nexport class ContenteditableDirective {\n private readonly httpRemoteMethodLoader = inject<HttpRemoteMethodLoader>(HttpRemoteMethodLoader);\n\n public contenteditable = true;\n\n public readonly remoteMethodId = input.required<string>({ alias: \"rxapContenteditable\" });\n\n public readonly property = input.required<string>();\n\n public readonly uuid = input.required<string>();\n\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @DebounceCall(1000)\n public onInput($event: any) {\n const value = ($event.target as HTMLElement).textContent;\n if (value && value.length > 3) {\n return this.httpRemoteMethodLoader.request$(this.remoteMethodId(), {\n pathParams: { uuid: this.uuid() },\n body: { [this.property()]: value },\n });\n }\n return Promise.resolve();\n }\n}\n\n/**\n * @deprecated removed\n */\n\n","import {\n Directive,\n effect,\n input,\n untracked,\n} from '@angular/core';\nimport { RemoteMethodDirective } from '@rxap/remote-method/directive';\nimport {\n HttpRemoteMethodMetadata,\n HttpRemoteMethodParameter,\n} from '@rxap/remote-method/http';\nimport { BaseRemoteMethod } from '@rxap/remote-method';\nimport { IdOrInstanceOrToken } from '@rxap/definition';\n\n@Directive({\n selector: 'button[rxapHttpRemoteMethod]',\n standalone: true,\n})\nexport class HttpRemoteMethodDirective<ReturnType = any, Metadata extends HttpRemoteMethodMetadata = HttpRemoteMethodMetadata>\n extends RemoteMethodDirective<ReturnType, HttpRemoteMethodParameter, Metadata> {\n\n public readonly headers = input<HttpRemoteMethodParameter['headers']>();\n public readonly reportProgress = input<HttpRemoteMethodParameter['reportProgress']>();\n public readonly params = input<HttpRemoteMethodParameter['params']>();\n public readonly responseType = input<HttpRemoteMethodParameter['responseType']>();\n public readonly withCredentials = input<HttpRemoteMethodParameter['withCredentials']>();\n public readonly body = input<HttpRemoteMethodParameter['body']>();\n public readonly setHeaders = input<HttpRemoteMethodParameter['setHeaders']>();\n public readonly setParams = input<HttpRemoteMethodParameter['setParams']>();\n public readonly pathParams = input<HttpRemoteMethodParameter['pathParams']>();\n\n public override readonly remoteMethodOrIdOrToken = input<IdOrInstanceOrToken<BaseRemoteMethod<ReturnType, HttpRemoteMethodParameter, Metadata>>>(\n undefined,\n { alias: 'rxapHttpRemoteMethod' },\n );\n\n constructor() {\n super();\n // merge the bound http parameters into the current parameters\n effect(() => {\n const parameters: Partial<HttpRemoteMethodParameter> = {\n headers: this.headers(),\n reportProgress: this.reportProgress(),\n params: this.params(),\n responseType: this.responseType(),\n withCredentials: this.withCredentials(),\n body: this.body(),\n setHeaders: this.setHeaders(),\n setParams: this.setParams(),\n pathParams: this.pathParams(),\n };\n const bound = Object.fromEntries(Object.entries(parameters).filter(([ , value ]) => value !== undefined));\n if (Object.keys(bound).length) {\n untracked(() => this.updateParameters(bound));\n }\n });\n }\n\n}\n","// region \nexport * from './lib/contenteditable.directive';\nexport * from './lib/http-remote-method.directive';\n// endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAgBa,wBAAwB,CAAA;AATrC,IAAA,WAAA,GAAA;AAUmB,QAAA,IAAA,CAAA,sBAAsB,GAAG,MAAM,CAAyB,sBAAsB,CAAC;QAEzF,IAAA,CAAA,eAAe,GAAG,IAAI;QAEb,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,QAAQ,qFAAW,KAAK,EAAE,qBAAqB,EAAA,CAAG;AAEzE,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,8EAAU;AAEnC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAU;AAiBhD,IAAA;AAfQ,IAAA,OAAO,CAAC,MAAa,EAAA;QAC1B,MAAM,CAAC,eAAe,EAAE;IAC1B;AAGO,IAAA,OAAO,CAAC,MAAW,EAAA;AACxB,QAAA,MAAM,KAAK,GAAI,MAAM,CAAC,MAAsB,CAAC,WAAW;QACxD,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;YAC7B,OAAO,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE;gBACjE,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,EAAE;gBACjC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,KAAK,EAAE;AACnC,aAAA,CAAC;QACJ;AACA,QAAA,OAAO,OAAO,CAAC,OAAO,E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,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,iBAAA,EAAA,yBAAA,EAAA,UAAA,EAAA,sBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,8BAA8B;AACxC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACjBD;AAGA;;ACHA;;AAEG;;;;"}
1
+ {"version":3,"file":"rxap-remote-method-http-directive.mjs","names":[],"sources":["../../../../../packages/angular/remote-method/http/directive/src/lib/contenteditable.directive.ts","../../../../../packages/angular/remote-method/http/directive/src/lib/http-remote-method.directive.ts"],"sourcesContent":["import { Directive, input, inject } from '@angular/core';\nimport {\n DebounceCall,\n Required,\n} from '@rxap/utilities';\nimport { HttpRemoteMethodLoader } from '@rxap/remote-method/http';\n\n@Directive({\n selector: '[rxapContenteditable]',\n standalone: true,\n host: {\n '[attr.contenteditable]': 'contenteditable',\n '(click)': 'onClick($event)',\n '(input)': 'onInput($event)',\n },\n})\nexport class ContenteditableDirective {\n private readonly httpRemoteMethodLoader = inject<HttpRemoteMethodLoader>(HttpRemoteMethodLoader);\n\n public contenteditable = true;\n\n public readonly remoteMethodId = input.required<string>({ alias: \"rxapContenteditable\" });\n\n public readonly property = input.required<string>();\n\n public readonly uuid = input.required<string>();\n\n public onClick($event: Event) {\n $event.stopPropagation();\n }\n\n @DebounceCall(1000)\n public onInput($event: any) {\n const value = ($event.target as HTMLElement).textContent;\n if (value && value.length > 3) {\n return this.httpRemoteMethodLoader.request$(this.remoteMethodId(), {\n pathParams: { uuid: this.uuid() },\n body: { [this.property()]: value },\n });\n }\n return Promise.resolve();\n }\n}\n\n/**\n * @deprecated removed\n */\n\n","import {\n Directive,\n effect,\n input,\n untracked,\n} from '@angular/core';\nimport { RemoteMethodDirective } from '@rxap/remote-method/directive';\nimport {\n HttpRemoteMethodMetadata,\n HttpRemoteMethodParameter,\n} from '@rxap/remote-method/http';\nimport { BaseRemoteMethod } from '@rxap/remote-method';\nimport { IdOrInstanceOrToken } from '@rxap/definition';\n\n@Directive({\n selector: 'button[rxapHttpRemoteMethod]',\n standalone: true,\n})\nexport class HttpRemoteMethodDirective<ReturnType = any, Metadata extends HttpRemoteMethodMetadata = HttpRemoteMethodMetadata>\n extends RemoteMethodDirective<ReturnType, HttpRemoteMethodParameter, Metadata> {\n\n public readonly headers = input<HttpRemoteMethodParameter['headers']>();\n public readonly reportProgress = input<HttpRemoteMethodParameter['reportProgress']>();\n public readonly params = input<HttpRemoteMethodParameter['params']>();\n public readonly responseType = input<HttpRemoteMethodParameter['responseType']>();\n public readonly withCredentials = input<HttpRemoteMethodParameter['withCredentials']>();\n public readonly body = input<HttpRemoteMethodParameter['body']>();\n public readonly setHeaders = input<HttpRemoteMethodParameter['setHeaders']>();\n public readonly setParams = input<HttpRemoteMethodParameter['setParams']>();\n public readonly pathParams = input<HttpRemoteMethodParameter['pathParams']>();\n\n public override readonly remoteMethodOrIdOrToken = input<IdOrInstanceOrToken<BaseRemoteMethod<ReturnType, HttpRemoteMethodParameter, Metadata>>>(\n undefined,\n { alias: 'rxapHttpRemoteMethod' },\n );\n\n constructor() {\n super();\n // merge the bound http parameters into the current parameters\n effect(() => {\n const parameters: Partial<HttpRemoteMethodParameter> = {\n headers: this.headers(),\n reportProgress: this.reportProgress(),\n params: this.params(),\n responseType: this.responseType(),\n withCredentials: this.withCredentials(),\n body: this.body(),\n setHeaders: this.setHeaders(),\n setParams: this.setParams(),\n pathParams: this.pathParams(),\n };\n const bound = Object.fromEntries(Object.entries(parameters).filter(([ , value ]) => value !== undefined));\n if (Object.keys(bound).length) {\n untracked(() => this.updateParameters(bound));\n }\n });\n }\n\n}\n"],"mappings":";;;;;;AAgBA,IAAa,2BAAb,MAAa,yBAAwB;CATrC,cAAA;EAUmB,KAAA,yBAAyB,OAA+B,sBAAsB;EAExF,KAAA,kBAAkB;EAET,KAAA,iBAAiB,MAAM,SAAQ;GAAA,GAAA,YAAA,EAAA,WAAA,iBAAA,+BAAA,CAAA;GAAW,OAAO;EAAqB,CAAA;EAEtE,KAAA,WAAW,MAAM,SAAkB,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAEnC,KAAA,OAAO,MAAM,SAAkB,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAiBhD;CAfQ,QAAQ,QAAa;EAC1B,OAAO,gBAAe;CACxB;CAGO,QAAQ,QAAW;EACxB,MAAM,QAAS,OAAO,OAAuB;EAC7C,IAAI,SAAS,MAAM,SAAS,GAC1B,OAAO,KAAK,uBAAuB,SAAS,KAAK,eAAc,GAAI;GACjE,YAAY,EAAE,MAAM,KAAK,KAAI,EAAE;GAC/B,MAAM,GAAG,KAAK,SAAQ,IAAK,MAAK;EACjC,CAAA;EAEH,OAAO,QAAQ,QAAO;CACxB;CAzBW;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAwB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAxB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAwB,cAAA;GAAA,UAAA;GAAA,QAAA;IAAA,gBAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;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