bx-rest 0.2.19 → 0.3.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/consts/part-name-methods.d.ts +89 -0
- package/esm2022/consts/part-name-methods.mjs +90 -0
- package/esm2022/public-api.mjs +2 -1
- package/esm2022/request/bizproc/activity.mjs +2 -2
- package/esm2022/request/bizproc/event.mjs +2 -2
- package/esm2022/request/bizproc/robot.mjs +2 -2
- package/esm2022/request/bizproc/task.mjs +2 -2
- package/esm2022/request/bizproc/workflow/instance.mjs +2 -2
- package/esm2022/request/bizproc/workflow/template.mjs +2 -2
- package/esm2022/request/bizproc/workflow.mjs +2 -2
- package/esm2022/request/calendar/event.mjs +2 -2
- package/esm2022/request/departments.mjs +2 -2
- package/esm2022/request/disk/attachedObject.mjs +2 -2
- package/esm2022/request/disk/file.mjs +2 -2
- package/esm2022/request/disk/folder.mjs +2 -2
- package/esm2022/request/disk/storage.mjs +2 -2
- package/esm2022/request/lists/element.mjs +2 -2
- package/esm2022/request/lists/field.mjs +2 -2
- package/esm2022/request/lists.mjs +2 -2
- package/esm2022/request/log/blogcomment.mjs +2 -2
- package/esm2022/request/log/blogpost.mjs +2 -2
- package/esm2022/request/server.mjs +2 -2
- package/esm2022/request/sonet_group.mjs +2 -2
- package/esm2022/request/task/commentitem.mjs +2 -2
- package/esm2022/request/task/elapseditem.mjs +2 -2
- package/esm2022/request/task/planner.mjs +2 -2
- package/esm2022/request/tasks/task/result.mjs +2 -2
- package/esm2022/request/tasks/task.mjs +2 -2
- package/esm2022/request/user/userfield.mjs +2 -2
- package/esm2022/request/user.mjs +2 -2
- package/esm2022/request-navvy/bizproc/workflow.mjs +2 -2
- package/esm2022/request-navvy/calendar/event.mjs +2 -2
- package/esm2022/request-navvy/departments.mjs +5 -5
- package/esm2022/request-navvy/disk/attachedObject.mjs +2 -2
- package/esm2022/request-navvy/disk/file.mjs +3 -3
- package/esm2022/request-navvy/disk/folder.mjs +2 -2
- package/esm2022/request-navvy/disk/storage.mjs +3 -3
- package/esm2022/request-navvy/lists/element.mjs +3 -3
- package/esm2022/request-navvy/lists/field.mjs +2 -2
- package/esm2022/request-navvy/lists.mjs +2 -2
- package/esm2022/request-navvy/log/blogcomment.mjs +2 -2
- package/esm2022/request-navvy/log/blogpost.mjs +2 -2
- package/esm2022/request-navvy/server.mjs +2 -2
- package/esm2022/request-navvy/sonet_group.mjs +2 -2
- package/esm2022/request-navvy/task/commentitem.mjs +6 -6
- package/esm2022/request-navvy/task/delegate/elapseditem.mjs +2 -2
- package/esm2022/request-navvy/task/elapseditem.mjs +3 -3
- package/esm2022/request-navvy/task/operation/elapseditem.mjs +2 -2
- package/esm2022/request-navvy/task/planner.mjs +2 -2
- package/esm2022/request-navvy/tasks/task/result.mjs +4 -4
- package/esm2022/request-navvy/tasks/task.mjs +5 -5
- package/esm2022/request-navvy/user/userfield.mjs +2 -2
- package/esm2022/request-navvy/user.mjs +7 -7
- package/esm2022/services/Navvy/NavvySimple.mjs +2 -3
- package/esm2022/services/Navvy/extends/NavvyPagNavBase.mjs +2 -3
- package/esm2022/services/navvy.mjs +13 -13
- package/fesm2022/bx-rest.mjs +149 -58
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/request-navvy/tasks/task.d.ts +2 -2
- package/services/Navvy/NavvySimple.d.ts +1 -2
- package/services/Navvy/extends/NavvyPagNavBase.d.ts +1 -2
- package/services/navvy.d.ts +6 -6
package/fesm2022/bx-rest.mjs
CHANGED
|
@@ -121,6 +121,99 @@ const $time = 'time';
|
|
|
121
121
|
const $chat = 'chat';
|
|
122
122
|
const $message = 'message';
|
|
123
123
|
|
|
124
|
+
var partNameMethods$1 = /*#__PURE__*/Object.freeze({
|
|
125
|
+
__proto__: null,
|
|
126
|
+
$access: $access,
|
|
127
|
+
$accessibility: $accessibility,
|
|
128
|
+
$activity: $activity,
|
|
129
|
+
$add: $add,
|
|
130
|
+
$api: $api,
|
|
131
|
+
$approve: $approve,
|
|
132
|
+
$attach: $attach,
|
|
133
|
+
$bizproc: $bizproc,
|
|
134
|
+
$blogcomment: $blogcomment,
|
|
135
|
+
$blogpost: $blogpost,
|
|
136
|
+
$booking: $booking,
|
|
137
|
+
$calendar: $calendar,
|
|
138
|
+
$chat: $chat,
|
|
139
|
+
$commentitem: $commentitem,
|
|
140
|
+
$complete: $complete,
|
|
141
|
+
$copyto: $copyto,
|
|
142
|
+
$counters: $counters,
|
|
143
|
+
$create: $create,
|
|
144
|
+
$defer: $defer,
|
|
145
|
+
$delegate: $delegate,
|
|
146
|
+
$delete: $delete,
|
|
147
|
+
$department: $department,
|
|
148
|
+
$disapprove: $disapprove,
|
|
149
|
+
$disk: $disk,
|
|
150
|
+
$elapseditem: $elapseditem,
|
|
151
|
+
$element: $element,
|
|
152
|
+
$event: $event,
|
|
153
|
+
$favorite: $favorite,
|
|
154
|
+
$feature: $feature,
|
|
155
|
+
$field: $field,
|
|
156
|
+
$file: $file,
|
|
157
|
+
$files: $files,
|
|
158
|
+
$folder: $folder,
|
|
159
|
+
$get: $get,
|
|
160
|
+
$getFields: $getFields,
|
|
161
|
+
$getTypes: $getTypes,
|
|
162
|
+
$getaccess: $getaccess,
|
|
163
|
+
$getchildren: $getchildren,
|
|
164
|
+
$getlist: $getlist,
|
|
165
|
+
$getmanifest: $getmanifest,
|
|
166
|
+
$history: $history,
|
|
167
|
+
$iblock: $iblock,
|
|
168
|
+
$id: $id,
|
|
169
|
+
$instances: $instances,
|
|
170
|
+
$isactionallowed: $isactionallowed,
|
|
171
|
+
$kill: $kill,
|
|
172
|
+
$list: $list,
|
|
173
|
+
$lists: $lists,
|
|
174
|
+
$log: $log,
|
|
175
|
+
$markdeleted: $markdeleted,
|
|
176
|
+
$meeting: $meeting,
|
|
177
|
+
$message: $message,
|
|
178
|
+
$moveto: $moveto,
|
|
179
|
+
$nearest: $nearest,
|
|
180
|
+
$params: $params,
|
|
181
|
+
$pause: $pause,
|
|
182
|
+
$planner: $planner,
|
|
183
|
+
$rename: $rename,
|
|
184
|
+
$renew: $renew,
|
|
185
|
+
$request: $request,
|
|
186
|
+
$resource: $resource,
|
|
187
|
+
$restore: $restore,
|
|
188
|
+
$result: $result,
|
|
189
|
+
$robot: $robot,
|
|
190
|
+
$search: $search,
|
|
191
|
+
$section: $section,
|
|
192
|
+
$send: $send,
|
|
193
|
+
$server: $server,
|
|
194
|
+
$set: $set,
|
|
195
|
+
$settings: $settings,
|
|
196
|
+
$share: $share,
|
|
197
|
+
$socialnetwork: $socialnetwork,
|
|
198
|
+
$sonet_group: $sonet_group,
|
|
199
|
+
$stages: $stages,
|
|
200
|
+
$start: $start,
|
|
201
|
+
$status: $status,
|
|
202
|
+
$storage: $storage,
|
|
203
|
+
$task: $task,
|
|
204
|
+
$tasks: $tasks,
|
|
205
|
+
$template: $template,
|
|
206
|
+
$terminate: $terminate,
|
|
207
|
+
$time: $time,
|
|
208
|
+
$type: $type,
|
|
209
|
+
$update: $update,
|
|
210
|
+
$uploadfile: $uploadfile,
|
|
211
|
+
$url: $url,
|
|
212
|
+
$user: $user,
|
|
213
|
+
$workflow: $workflow,
|
|
214
|
+
$workgroup: $workgroup
|
|
215
|
+
});
|
|
216
|
+
|
|
124
217
|
class BxRestModule {
|
|
125
218
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BxRestModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
126
219
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.11", ngImport: i0, type: BxRestModule, imports: [MatIconModule,
|
|
@@ -2271,12 +2364,11 @@ class NavvySupport {
|
|
|
2271
2364
|
}
|
|
2272
2365
|
|
|
2273
2366
|
class NavvySimple extends NavvySupport {
|
|
2274
|
-
constructor(requestClass, mapClass, func,
|
|
2367
|
+
constructor(requestClass, mapClass, func, map = undefined
|
|
2275
2368
|
// private snackBar: SnackBarService,
|
|
2276
2369
|
) {
|
|
2277
2370
|
super(requestClass, mapClass);
|
|
2278
2371
|
this.func = func;
|
|
2279
|
-
this.testError = testError;
|
|
2280
2372
|
this.map = map;
|
|
2281
2373
|
}
|
|
2282
2374
|
resultVanilla() {
|
|
@@ -2291,11 +2383,10 @@ class NavvySimple extends NavvySupport {
|
|
|
2291
2383
|
}
|
|
2292
2384
|
|
|
2293
2385
|
class NavvyPagNavBase extends NavvySupport {
|
|
2294
|
-
constructor(requestClass, mapClass, func, param,
|
|
2386
|
+
constructor(requestClass, mapClass, func, param, map = undefined) {
|
|
2295
2387
|
super(requestClass, mapClass);
|
|
2296
2388
|
this.func = func;
|
|
2297
2389
|
this.param = param;
|
|
2298
|
-
this.testError = testError;
|
|
2299
2390
|
this.map = map;
|
|
2300
2391
|
// load: number = 0
|
|
2301
2392
|
this.load$ = new ReplaySubject(1);
|
|
@@ -2506,23 +2597,23 @@ class Navvy {
|
|
|
2506
2597
|
this.requestClass = requestClass;
|
|
2507
2598
|
this.mapClass = mapClass;
|
|
2508
2599
|
}
|
|
2509
|
-
simple(func,
|
|
2510
|
-
return new NavvySimple(this.requestClass, this.mapClass, func.call(this.requestClass),
|
|
2600
|
+
simple(func, map = undefined) {
|
|
2601
|
+
return new NavvySimple(this.requestClass, this.mapClass, func.call(this.requestClass), map);
|
|
2511
2602
|
}
|
|
2512
|
-
simpleWithArg(func, arg,
|
|
2513
|
-
return new NavvySimple(this.requestClass, this.mapClass, func.call(this.requestClass, arg),
|
|
2603
|
+
simpleWithArg(func, arg, map = undefined) {
|
|
2604
|
+
return new NavvySimple(this.requestClass, this.mapClass, func.call(this.requestClass, arg), map);
|
|
2514
2605
|
}
|
|
2515
|
-
PagNav(func, arg,
|
|
2516
|
-
return new NavvyPagNav(this.requestClass, this.mapClass, func, arg,
|
|
2606
|
+
PagNav(func, arg, map = undefined) {
|
|
2607
|
+
return new NavvyPagNav(this.requestClass, this.mapClass, func, arg, map);
|
|
2517
2608
|
}
|
|
2518
|
-
PagNavTasks(func, arg,
|
|
2519
|
-
return new NavvyPagNavTasks(this.requestClass, this.mapClass, func, arg,
|
|
2609
|
+
PagNavTasks(func, arg, map = undefined) {
|
|
2610
|
+
return new NavvyPagNavTasks(this.requestClass, this.mapClass, func, arg, map);
|
|
2520
2611
|
}
|
|
2521
|
-
PagNavWithUselessKey(func, arg,
|
|
2522
|
-
return new NavvyPagNavWithUselessKey(this.requestClass, this.mapClass, func, arg,
|
|
2612
|
+
PagNavWithUselessKey(func, arg, map = undefined) {
|
|
2613
|
+
return new NavvyPagNavWithUselessKey(this.requestClass, this.mapClass, func, arg, map);
|
|
2523
2614
|
}
|
|
2524
|
-
alterPagNav(func, arg,
|
|
2525
|
-
return new NavvyAlterPagNav(this.requestClass, this.mapClass, func, arg,
|
|
2615
|
+
alterPagNav(func, arg, map = undefined) {
|
|
2616
|
+
return new NavvyAlterPagNav(this.requestClass, this.mapClass, func, arg, map);
|
|
2526
2617
|
}
|
|
2527
2618
|
}
|
|
2528
2619
|
|
|
@@ -2637,7 +2728,7 @@ class BXRestNavvyUserUserfield {
|
|
|
2637
2728
|
this.Navvy = new Navvy(this.BXRestUserUserfield, undefined);
|
|
2638
2729
|
}
|
|
2639
2730
|
list() {
|
|
2640
|
-
return this.Navvy.simple(this.BXRestUserUserfield.list
|
|
2731
|
+
return this.Navvy.simple(this.BXRestUserUserfield.list);
|
|
2641
2732
|
}
|
|
2642
2733
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyUserUserfield, deps: [{ token: BXRestUserUserfield }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2643
2734
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyUserUserfield, providedIn: 'root' }); }
|
|
@@ -2660,16 +2751,16 @@ class BXRestNavvyUser {
|
|
|
2660
2751
|
this.Navvy = new Navvy(this.BXRestUser, this.BXRestUserMap);
|
|
2661
2752
|
}
|
|
2662
2753
|
admin() {
|
|
2663
|
-
return this.Navvy.simple(this.BXRestUser.admin
|
|
2754
|
+
return this.Navvy.simple(this.BXRestUser.admin);
|
|
2664
2755
|
}
|
|
2665
2756
|
get(params = {}) {
|
|
2666
2757
|
let copyParams = clone(params);
|
|
2667
2758
|
this.setDefParam(copyParams);
|
|
2668
|
-
return this.Navvy.PagNav(this.BXRestUser.get, copyParams,
|
|
2759
|
+
return this.Navvy.PagNav(this.BXRestUser.get, copyParams, this.BXRestUserMap.get);
|
|
2669
2760
|
}
|
|
2670
2761
|
current(update = false) {
|
|
2671
2762
|
const navvy = new Navvy(this, this.BXRestUserMap);
|
|
2672
|
-
return navvy.simpleWithArg(this.self, update,
|
|
2763
|
+
return navvy.simpleWithArg(this.self, update, this.BXRestUserMap.current);
|
|
2673
2764
|
}
|
|
2674
2765
|
/*
|
|
2675
2766
|
update(user: iBXRestUser, fieldUpdate: string[]) {
|
|
@@ -2706,13 +2797,13 @@ class BXRestNavvyUser {
|
|
|
2706
2797
|
if (typeof params.ACTIVE !== 'boolean') {
|
|
2707
2798
|
params.ACTIVE = true;
|
|
2708
2799
|
}
|
|
2709
|
-
return this.Navvy.PagNav(this.BXRestUser.search, params,
|
|
2800
|
+
return this.Navvy.PagNav(this.BXRestUser.search, params, this.BXRestUserMap.get);
|
|
2710
2801
|
}
|
|
2711
2802
|
access(params) {
|
|
2712
|
-
return this.Navvy.simpleWithArg(this.BXRestUser.access, params
|
|
2803
|
+
return this.Navvy.simpleWithArg(this.BXRestUser.access, params);
|
|
2713
2804
|
}
|
|
2714
2805
|
fields() {
|
|
2715
|
-
return this.Navvy.simple(this.BXRestUser.fields
|
|
2806
|
+
return this.Navvy.simple(this.BXRestUser.fields);
|
|
2716
2807
|
}
|
|
2717
2808
|
self(update = false) {
|
|
2718
2809
|
if (update) {
|
|
@@ -2847,7 +2938,7 @@ class BXRestNavvyListsField {
|
|
|
2847
2938
|
this.Navvy = new Navvy(this.BXRestListsField, this.BXRestMapListsField);
|
|
2848
2939
|
}
|
|
2849
2940
|
get(param) {
|
|
2850
|
-
return this.Navvy.PagNavWithUselessKey(this.BXRestListsField.get, param,
|
|
2941
|
+
return this.Navvy.PagNavWithUselessKey(this.BXRestListsField.get, param, this.BXRestMapListsField.get);
|
|
2851
2942
|
}
|
|
2852
2943
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsField, deps: [{ token: BXRestListsField }, { token: BXRestMapListsField }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2853
2944
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsField, providedIn: 'root' }); }
|
|
@@ -2887,10 +2978,10 @@ class BXRestNavvyListsElement {
|
|
|
2887
2978
|
this.Navvy = new Navvy(this.BXRestListsElement, this.BXRestMap);
|
|
2888
2979
|
}
|
|
2889
2980
|
get(param) {
|
|
2890
|
-
return this.Navvy.PagNav(this.BXRestListsElement.get, param,
|
|
2981
|
+
return this.Navvy.PagNav(this.BXRestListsElement.get, param, this.BXRestMap.get);
|
|
2891
2982
|
}
|
|
2892
2983
|
add(param) {
|
|
2893
|
-
return this.Navvy.simpleWithArg(this.BXRestListsElement.add, param
|
|
2984
|
+
return this.Navvy.simpleWithArg(this.BXRestListsElement.add, param);
|
|
2894
2985
|
}
|
|
2895
2986
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsElement, deps: [{ token: BXRestListsElement }, { token: BXRestMapListsElement }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2896
2987
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsElement, providedIn: 'root' }); }
|
|
@@ -2980,7 +3071,7 @@ class BXRestNavvyLists {
|
|
|
2980
3071
|
this.Navvy = new Navvy(this.BXRestLists, this.mapList);
|
|
2981
3072
|
}
|
|
2982
3073
|
get(param) {
|
|
2983
|
-
return this.Navvy.PagNav(this.BXRestLists.get, param,
|
|
3074
|
+
return this.Navvy.PagNav(this.BXRestLists.get, param, this.mapList.get);
|
|
2984
3075
|
}
|
|
2985
3076
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyLists, deps: [{ token: BXRestNavvyListsElement }, { token: BXRestNavvyListsField }, { token: BXRestMapLists }, { token: BXRestLists }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2986
3077
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyLists, providedIn: 'root' }); }
|
|
@@ -3082,7 +3173,7 @@ class BXRestNavvyDelegateElapseditem {
|
|
|
3082
3173
|
};
|
|
3083
3174
|
}
|
|
3084
3175
|
}
|
|
3085
|
-
return this.Navvy.alterPagNav(this.BXRestElapseditem.getList, param,
|
|
3176
|
+
return this.Navvy.alterPagNav(this.BXRestElapseditem.getList, param, this.BXRestMapElapseditem.getList);
|
|
3086
3177
|
}
|
|
3087
3178
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDelegateElapseditem, deps: [{ token: BXRestTaskElapseditem }, { token: BXRestMapTaskElapseditem }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3088
3179
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDelegateElapseditem, providedIn: 'root' }); }
|
|
@@ -3125,13 +3216,13 @@ class BXRestNavvyTasksTaskResult {
|
|
|
3125
3216
|
this.Navvy = new Navvy(this.BXRestTasksTaskResult, this.BXRestMapTasksTaskResult);
|
|
3126
3217
|
}
|
|
3127
3218
|
deleteFromComment(commentID) {
|
|
3128
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.deleteFromComment, commentID
|
|
3219
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.deleteFromComment, commentID);
|
|
3129
3220
|
}
|
|
3130
3221
|
addFromComment(commentID) {
|
|
3131
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.addFromComment, commentID,
|
|
3222
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.addFromComment, commentID, this.BXRestMapTasksTaskResult.addFromComment);
|
|
3132
3223
|
}
|
|
3133
3224
|
list(param) {
|
|
3134
|
-
return this.Navvy.PagNav(this.BXRestTasksTaskResult.list, param,
|
|
3225
|
+
return this.Navvy.PagNav(this.BXRestTasksTaskResult.list, param, this.BXRestMapTasksTaskResult.list);
|
|
3135
3226
|
}
|
|
3136
3227
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTaskResult, deps: [{ token: BXRestTasksTaskResult }, { token: BXRestMapTasksTaskResult }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3137
3228
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTaskResult, providedIn: 'root' }); }
|
|
@@ -3303,7 +3394,7 @@ class BXRestNavvyTasksTask {
|
|
|
3303
3394
|
// })
|
|
3304
3395
|
}
|
|
3305
3396
|
add(param) {
|
|
3306
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.add, param,
|
|
3397
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.add, param, this.BXRestMapTasksTask.add);
|
|
3307
3398
|
// return this.http.post<{ task: TaskBXHttp }>(this.url.add, {fields: param}).pipe(
|
|
3308
3399
|
// map(v => {
|
|
3309
3400
|
// if (v && v.result && v.result.task) {
|
|
@@ -3347,13 +3438,13 @@ class BXRestNavvyTasksTask {
|
|
|
3347
3438
|
if (!param.select) {
|
|
3348
3439
|
param.select = this.def.select;
|
|
3349
3440
|
}
|
|
3350
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.get, param,
|
|
3441
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.get, param, this.BXRestMapTasksTask.get);
|
|
3351
3442
|
}
|
|
3352
3443
|
list(param = {}) {
|
|
3353
3444
|
if (!param.select) {
|
|
3354
3445
|
param.select = this.def.select;
|
|
3355
3446
|
}
|
|
3356
|
-
return this.Navvy.PagNavTasks(this.BXRestTasksTask.list, param,
|
|
3447
|
+
return this.Navvy.PagNavTasks(this.BXRestTasksTask.list, param, this.BXRestMapTasksTask.list);
|
|
3357
3448
|
}
|
|
3358
3449
|
/*
|
|
3359
3450
|
listArray(requestArray: RequestApiTaskListBX = {}) {
|
|
@@ -3445,7 +3536,7 @@ class BXRestNavvyTasksTask {
|
|
|
3445
3536
|
)
|
|
3446
3537
|
} */
|
|
3447
3538
|
getaccess(param) {
|
|
3448
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.getaccess, param,
|
|
3539
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.getaccess, param, this.BXRestMapTasksTask.getaccess);
|
|
3449
3540
|
}
|
|
3450
3541
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTask, deps: [{ token: BXRestNavvyTasksTaskResult }, { token: BXRestTasksTask }, { token: BXRestMapTasksTask }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3451
3542
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTask, providedIn: 'root' }); }
|
|
@@ -3666,7 +3757,7 @@ class BXRestNavvyElapseditem {
|
|
|
3666
3757
|
else {
|
|
3667
3758
|
return throwError(() => new Error('Отсутствуют права на чтение задачи'));
|
|
3668
3759
|
}
|
|
3669
|
-
})),
|
|
3760
|
+
})), this.BXRestMapElapseditem.update);
|
|
3670
3761
|
}
|
|
3671
3762
|
/*
|
|
3672
3763
|
getAll(
|
|
@@ -3794,7 +3885,7 @@ class BXRestNavvyElapseditem {
|
|
|
3794
3885
|
else {
|
|
3795
3886
|
return throwError(() => new Error('Отсутствуют права на чтение задачи'));
|
|
3796
3887
|
}
|
|
3797
|
-
})),
|
|
3888
|
+
})), v => (v === null));
|
|
3798
3889
|
}
|
|
3799
3890
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyElapseditem, deps: [{ token: BXRestTaskElapseditem }, { token: BXRestMapTaskElapseditem }, { token: BXRestNavvyDelegateElapseditem }, { token: BXRestNavvyOperationElapseditem }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3800
3891
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyElapseditem, providedIn: 'root' }); }
|
|
@@ -3865,13 +3956,13 @@ class BXRestNavvyTaskCommentItem {
|
|
|
3865
3956
|
this.Navvy = new Navvy(this.BXRestTaskCommentItem, this.mapTaskCommentItem);
|
|
3866
3957
|
}
|
|
3867
3958
|
add(param) {
|
|
3868
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.add, param
|
|
3959
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.add, param);
|
|
3869
3960
|
}
|
|
3870
3961
|
update(param) {
|
|
3871
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.update, param
|
|
3962
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.update, param);
|
|
3872
3963
|
}
|
|
3873
3964
|
get(param) {
|
|
3874
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.get, param,
|
|
3965
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.get, param, this.mapTaskCommentItem.get);
|
|
3875
3966
|
}
|
|
3876
3967
|
getlist(param = {
|
|
3877
3968
|
FILTER: {},
|
|
@@ -3879,13 +3970,13 @@ class BXRestNavvyTaskCommentItem {
|
|
|
3879
3970
|
POST_DATE: 'asc'
|
|
3880
3971
|
}
|
|
3881
3972
|
}) {
|
|
3882
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.getlist, param,
|
|
3973
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.getlist, param, this.mapTaskCommentItem.getlist);
|
|
3883
3974
|
}
|
|
3884
3975
|
del(param) {
|
|
3885
3976
|
if (param.ITEMID > 0) {
|
|
3886
3977
|
return this.get(param).result().pipe(mergeMap(v => {
|
|
3887
3978
|
if (v) {
|
|
3888
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.del, param
|
|
3979
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.del, param).result();
|
|
3889
3980
|
}
|
|
3890
3981
|
this.snackBar.warning('comment not exist');
|
|
3891
3982
|
return of(false);
|
|
@@ -3927,7 +4018,7 @@ class BXRestNavvyTaskPlanner {
|
|
|
3927
4018
|
this.Navvy = new Navvy(this.BXRestTaskPlanner, this.BXRestMapTaskPlaner);
|
|
3928
4019
|
}
|
|
3929
4020
|
getList() {
|
|
3930
|
-
return this.Navvy.simple(this.BXRestTaskPlanner.getList,
|
|
4021
|
+
return this.Navvy.simple(this.BXRestTaskPlanner.getList, this.BXRestMapTaskPlaner.getList);
|
|
3931
4022
|
}
|
|
3932
4023
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTaskPlanner, deps: [{ token: BXRestTaskPlanner }, { token: BXRestMapTaskPlaner }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3933
4024
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTaskPlanner, providedIn: 'root' }); }
|
|
@@ -4044,7 +4135,7 @@ class BXRestNavvyDiskFolder {
|
|
|
4044
4135
|
// )
|
|
4045
4136
|
// }
|
|
4046
4137
|
getchildren(id) {
|
|
4047
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFolder.getchildren, id,
|
|
4138
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFolder.getchildren, id, this.BXRestMapDiskFolder.getContent);
|
|
4048
4139
|
}
|
|
4049
4140
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFolder, deps: [{ token: BXRestDiskFolder }, { token: BXRestMapDiskFolder }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4050
4141
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFolder, providedIn: 'root' }); }
|
|
@@ -4080,10 +4171,10 @@ class BXRestNavvyDiskFile {
|
|
|
4080
4171
|
this.Navvy = new Navvy(this.BXRestDiskFile, this.BXRestMapDiskFile);
|
|
4081
4172
|
}
|
|
4082
4173
|
get(id) {
|
|
4083
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFile.get, id,
|
|
4174
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFile.get, id, this.BXRestMapDiskFile.get);
|
|
4084
4175
|
}
|
|
4085
4176
|
markdeleted(id) {
|
|
4086
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFile.markdeleted, id,
|
|
4177
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFile.markdeleted, id, this.BXRestMapDiskFile.markdeleted);
|
|
4087
4178
|
}
|
|
4088
4179
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFile, deps: [{ token: BXRestDiskFile }, { token: BXRestMapDiskFile }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4089
4180
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFile, providedIn: 'root' }); }
|
|
@@ -4214,7 +4305,7 @@ class BXRestNavvyDiskStorage {
|
|
|
4214
4305
|
}
|
|
4215
4306
|
getforapp() {
|
|
4216
4307
|
// console.log('this.getforappEnd', this.getforappEnd)
|
|
4217
|
-
return this.Navvy.simple(this.BXRestNavvyInterlayerDiskStorage.getforapp
|
|
4308
|
+
return this.Navvy.simple(this.BXRestNavvyInterlayerDiskStorage.getforapp);
|
|
4218
4309
|
}
|
|
4219
4310
|
/*
|
|
4220
4311
|
private getforappEnd(){
|
|
@@ -4235,7 +4326,7 @@ class BXRestNavvyDiskStorage {
|
|
|
4235
4326
|
}
|
|
4236
4327
|
*/
|
|
4237
4328
|
getchildren(param) {
|
|
4238
|
-
return this.Navvy.simpleWithArg(this.BXRestNavvyInterlayerDiskStorage.getchildren, param,
|
|
4329
|
+
return this.Navvy.simpleWithArg(this.BXRestNavvyInterlayerDiskStorage.getchildren, param, this.BXRestMapDiskStorage.getchildren);
|
|
4239
4330
|
}
|
|
4240
4331
|
// TODO: разобраться что возвращает и что вставлять
|
|
4241
4332
|
addfolder(param) {
|
|
@@ -4365,7 +4456,7 @@ class BXRestNavvyDiskAttachedObject {
|
|
|
4365
4456
|
this.Navvy = new Navvy(this.BXRestDiskAttachedObject, this.mapAttachedObject);
|
|
4366
4457
|
}
|
|
4367
4458
|
get(id) {
|
|
4368
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskAttachedObject.get, id,
|
|
4459
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskAttachedObject.get, id, this.mapAttachedObject.get);
|
|
4369
4460
|
}
|
|
4370
4461
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskAttachedObject, deps: [{ token: BXRestDiskAttachedObject }, { token: BXRestMapDiskAttachedObject }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4371
4462
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskAttachedObject, providedIn: 'root' }); }
|
|
@@ -4400,7 +4491,7 @@ class BXRestNavvyBizprocWorkflow {
|
|
|
4400
4491
|
this.Navvy = new Navvy(this.BXRestBizprocWorkflow, undefined);
|
|
4401
4492
|
}
|
|
4402
4493
|
start(param) {
|
|
4403
|
-
return this.Navvy.simpleWithArg(this.BXRestBizprocWorkflow.start, param
|
|
4494
|
+
return this.Navvy.simpleWithArg(this.BXRestBizprocWorkflow.start, param);
|
|
4404
4495
|
}
|
|
4405
4496
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyBizprocWorkflow, deps: [{ token: BXRestBizprocWorkflow }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4406
4497
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyBizprocWorkflow, providedIn: 'root' }); }
|
|
@@ -4588,7 +4679,7 @@ class BXRestRestCalendarEvent {
|
|
|
4588
4679
|
this.Navvy = new Navvy(this.eventMap, undefined);
|
|
4589
4680
|
}
|
|
4590
4681
|
get(param) {
|
|
4591
|
-
return this.Navvy.simpleWithArg(this.BXRestCalendarEvent.get, param,
|
|
4682
|
+
return this.Navvy.simpleWithArg(this.BXRestCalendarEvent.get, param, this.eventMap.get);
|
|
4592
4683
|
}
|
|
4593
4684
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestRestCalendarEvent, deps: [{ token: BXRestCalendarEvent }, { token: BXRestMapCalendarEvent }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4594
4685
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestRestCalendarEvent, providedIn: 'root' }); }
|
|
@@ -4687,7 +4778,7 @@ class BXRestNavvySonetGroup {
|
|
|
4687
4778
|
this.Navvy = new Navvy(this.BXRestSonetGroup, this.mapSonetGroup);
|
|
4688
4779
|
}
|
|
4689
4780
|
get(param = {}) {
|
|
4690
|
-
return this.Navvy.simpleWithArg(this.BXRestSonetGroup.get, param,
|
|
4781
|
+
return this.Navvy.simpleWithArg(this.BXRestSonetGroup.get, param, this.mapSonetGroup.get);
|
|
4691
4782
|
}
|
|
4692
4783
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvySonetGroup, deps: [{ token: BXRestSonetGroup }, { token: BXRestMapSonetGroup }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4693
4784
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvySonetGroup, providedIn: 'root' }); }
|
|
@@ -4720,7 +4811,7 @@ class BXRestNavvyServer {
|
|
|
4720
4811
|
this.Navvy = new Navvy(this.BXRestServer, BXRestMapServer);
|
|
4721
4812
|
}
|
|
4722
4813
|
time() {
|
|
4723
|
-
return this.Navvy.simple(this.BXRestServer.time,
|
|
4814
|
+
return this.Navvy.simple(this.BXRestServer.time, this.BXRestMapServer.time);
|
|
4724
4815
|
}
|
|
4725
4816
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyServer, deps: [{ token: BXRestServer }, { token: BXRestMapServer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4726
4817
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyServer, providedIn: 'root' }); }
|
|
@@ -4771,17 +4862,17 @@ class BXRestNavvyDepartment {
|
|
|
4771
4862
|
this.Navvy = new Navvy(this.BXRestDepartment, this.BXRestMapDepartment);
|
|
4772
4863
|
}
|
|
4773
4864
|
get(param = {}) {
|
|
4774
|
-
return this.Navvy.PagNav(this.BXRestDepartment.get, param,
|
|
4865
|
+
return this.Navvy.PagNav(this.BXRestDepartment.get, param, this.BXRestMapDepartment.get);
|
|
4775
4866
|
}
|
|
4776
4867
|
add(param) {
|
|
4777
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.add, param
|
|
4868
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.add, param);
|
|
4778
4869
|
}
|
|
4779
4870
|
del(id) {
|
|
4780
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.del, { ID: id }
|
|
4871
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.del, { ID: id });
|
|
4781
4872
|
}
|
|
4782
4873
|
update(param) {
|
|
4783
4874
|
param.NAME = param.NAME.trim();
|
|
4784
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.update, param
|
|
4875
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.update, param);
|
|
4785
4876
|
}
|
|
4786
4877
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDepartment, deps: [{ token: BXRestDepartment }, { token: BXRestMapDepartment }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4787
4878
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDepartment, providedIn: 'root' }); }
|
|
@@ -5038,5 +5129,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.11", ngImpo
|
|
|
5038
5129
|
* Generated bundle index. Do not edit.
|
|
5039
5130
|
*/
|
|
5040
5131
|
|
|
5041
|
-
export { Map$1 as BXMap, BXRest, BXRestMap, BXRestMapResult, BXRestNavvy, BX_REST_SETTINGS, Navvy };
|
|
5132
|
+
export { Map$1 as BXMap, BXRest, BXRestMap, BXRestMapResult, BXRestNavvy, BX_REST_SETTINGS, Navvy, partNameMethods$1 as partNameMethods };
|
|
5042
5133
|
//# sourceMappingURL=bx-rest.mjs.map
|