bx-rest 0.2.20 → 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/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/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/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 +55 -57
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/package.json +1 -1
- 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
|
@@ -2364,12 +2364,11 @@ class NavvySupport {
|
|
|
2364
2364
|
}
|
|
2365
2365
|
|
|
2366
2366
|
class NavvySimple extends NavvySupport {
|
|
2367
|
-
constructor(requestClass, mapClass, func,
|
|
2367
|
+
constructor(requestClass, mapClass, func, map = undefined
|
|
2368
2368
|
// private snackBar: SnackBarService,
|
|
2369
2369
|
) {
|
|
2370
2370
|
super(requestClass, mapClass);
|
|
2371
2371
|
this.func = func;
|
|
2372
|
-
this.testError = testError;
|
|
2373
2372
|
this.map = map;
|
|
2374
2373
|
}
|
|
2375
2374
|
resultVanilla() {
|
|
@@ -2384,11 +2383,10 @@ class NavvySimple extends NavvySupport {
|
|
|
2384
2383
|
}
|
|
2385
2384
|
|
|
2386
2385
|
class NavvyPagNavBase extends NavvySupport {
|
|
2387
|
-
constructor(requestClass, mapClass, func, param,
|
|
2386
|
+
constructor(requestClass, mapClass, func, param, map = undefined) {
|
|
2388
2387
|
super(requestClass, mapClass);
|
|
2389
2388
|
this.func = func;
|
|
2390
2389
|
this.param = param;
|
|
2391
|
-
this.testError = testError;
|
|
2392
2390
|
this.map = map;
|
|
2393
2391
|
// load: number = 0
|
|
2394
2392
|
this.load$ = new ReplaySubject(1);
|
|
@@ -2599,23 +2597,23 @@ class Navvy {
|
|
|
2599
2597
|
this.requestClass = requestClass;
|
|
2600
2598
|
this.mapClass = mapClass;
|
|
2601
2599
|
}
|
|
2602
|
-
simple(func,
|
|
2603
|
-
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);
|
|
2604
2602
|
}
|
|
2605
|
-
simpleWithArg(func, arg,
|
|
2606
|
-
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);
|
|
2607
2605
|
}
|
|
2608
|
-
PagNav(func, arg,
|
|
2609
|
-
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);
|
|
2610
2608
|
}
|
|
2611
|
-
PagNavTasks(func, arg,
|
|
2612
|
-
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);
|
|
2613
2611
|
}
|
|
2614
|
-
PagNavWithUselessKey(func, arg,
|
|
2615
|
-
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);
|
|
2616
2614
|
}
|
|
2617
|
-
alterPagNav(func, arg,
|
|
2618
|
-
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);
|
|
2619
2617
|
}
|
|
2620
2618
|
}
|
|
2621
2619
|
|
|
@@ -2730,7 +2728,7 @@ class BXRestNavvyUserUserfield {
|
|
|
2730
2728
|
this.Navvy = new Navvy(this.BXRestUserUserfield, undefined);
|
|
2731
2729
|
}
|
|
2732
2730
|
list() {
|
|
2733
|
-
return this.Navvy.simple(this.BXRestUserUserfield.list
|
|
2731
|
+
return this.Navvy.simple(this.BXRestUserUserfield.list);
|
|
2734
2732
|
}
|
|
2735
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 }); }
|
|
2736
2734
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyUserUserfield, providedIn: 'root' }); }
|
|
@@ -2753,16 +2751,16 @@ class BXRestNavvyUser {
|
|
|
2753
2751
|
this.Navvy = new Navvy(this.BXRestUser, this.BXRestUserMap);
|
|
2754
2752
|
}
|
|
2755
2753
|
admin() {
|
|
2756
|
-
return this.Navvy.simple(this.BXRestUser.admin
|
|
2754
|
+
return this.Navvy.simple(this.BXRestUser.admin);
|
|
2757
2755
|
}
|
|
2758
2756
|
get(params = {}) {
|
|
2759
2757
|
let copyParams = clone(params);
|
|
2760
2758
|
this.setDefParam(copyParams);
|
|
2761
|
-
return this.Navvy.PagNav(this.BXRestUser.get, copyParams,
|
|
2759
|
+
return this.Navvy.PagNav(this.BXRestUser.get, copyParams, this.BXRestUserMap.get);
|
|
2762
2760
|
}
|
|
2763
2761
|
current(update = false) {
|
|
2764
2762
|
const navvy = new Navvy(this, this.BXRestUserMap);
|
|
2765
|
-
return navvy.simpleWithArg(this.self, update,
|
|
2763
|
+
return navvy.simpleWithArg(this.self, update, this.BXRestUserMap.current);
|
|
2766
2764
|
}
|
|
2767
2765
|
/*
|
|
2768
2766
|
update(user: iBXRestUser, fieldUpdate: string[]) {
|
|
@@ -2799,13 +2797,13 @@ class BXRestNavvyUser {
|
|
|
2799
2797
|
if (typeof params.ACTIVE !== 'boolean') {
|
|
2800
2798
|
params.ACTIVE = true;
|
|
2801
2799
|
}
|
|
2802
|
-
return this.Navvy.PagNav(this.BXRestUser.search, params,
|
|
2800
|
+
return this.Navvy.PagNav(this.BXRestUser.search, params, this.BXRestUserMap.get);
|
|
2803
2801
|
}
|
|
2804
2802
|
access(params) {
|
|
2805
|
-
return this.Navvy.simpleWithArg(this.BXRestUser.access, params
|
|
2803
|
+
return this.Navvy.simpleWithArg(this.BXRestUser.access, params);
|
|
2806
2804
|
}
|
|
2807
2805
|
fields() {
|
|
2808
|
-
return this.Navvy.simple(this.BXRestUser.fields
|
|
2806
|
+
return this.Navvy.simple(this.BXRestUser.fields);
|
|
2809
2807
|
}
|
|
2810
2808
|
self(update = false) {
|
|
2811
2809
|
if (update) {
|
|
@@ -2940,7 +2938,7 @@ class BXRestNavvyListsField {
|
|
|
2940
2938
|
this.Navvy = new Navvy(this.BXRestListsField, this.BXRestMapListsField);
|
|
2941
2939
|
}
|
|
2942
2940
|
get(param) {
|
|
2943
|
-
return this.Navvy.PagNavWithUselessKey(this.BXRestListsField.get, param,
|
|
2941
|
+
return this.Navvy.PagNavWithUselessKey(this.BXRestListsField.get, param, this.BXRestMapListsField.get);
|
|
2944
2942
|
}
|
|
2945
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 }); }
|
|
2946
2944
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsField, providedIn: 'root' }); }
|
|
@@ -2980,10 +2978,10 @@ class BXRestNavvyListsElement {
|
|
|
2980
2978
|
this.Navvy = new Navvy(this.BXRestListsElement, this.BXRestMap);
|
|
2981
2979
|
}
|
|
2982
2980
|
get(param) {
|
|
2983
|
-
return this.Navvy.PagNav(this.BXRestListsElement.get, param,
|
|
2981
|
+
return this.Navvy.PagNav(this.BXRestListsElement.get, param, this.BXRestMap.get);
|
|
2984
2982
|
}
|
|
2985
2983
|
add(param) {
|
|
2986
|
-
return this.Navvy.simpleWithArg(this.BXRestListsElement.add, param
|
|
2984
|
+
return this.Navvy.simpleWithArg(this.BXRestListsElement.add, param);
|
|
2987
2985
|
}
|
|
2988
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 }); }
|
|
2989
2987
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyListsElement, providedIn: 'root' }); }
|
|
@@ -3073,7 +3071,7 @@ class BXRestNavvyLists {
|
|
|
3073
3071
|
this.Navvy = new Navvy(this.BXRestLists, this.mapList);
|
|
3074
3072
|
}
|
|
3075
3073
|
get(param) {
|
|
3076
|
-
return this.Navvy.PagNav(this.BXRestLists.get, param,
|
|
3074
|
+
return this.Navvy.PagNav(this.BXRestLists.get, param, this.mapList.get);
|
|
3077
3075
|
}
|
|
3078
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 }); }
|
|
3079
3077
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyLists, providedIn: 'root' }); }
|
|
@@ -3175,7 +3173,7 @@ class BXRestNavvyDelegateElapseditem {
|
|
|
3175
3173
|
};
|
|
3176
3174
|
}
|
|
3177
3175
|
}
|
|
3178
|
-
return this.Navvy.alterPagNav(this.BXRestElapseditem.getList, param,
|
|
3176
|
+
return this.Navvy.alterPagNav(this.BXRestElapseditem.getList, param, this.BXRestMapElapseditem.getList);
|
|
3179
3177
|
}
|
|
3180
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 }); }
|
|
3181
3179
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDelegateElapseditem, providedIn: 'root' }); }
|
|
@@ -3218,13 +3216,13 @@ class BXRestNavvyTasksTaskResult {
|
|
|
3218
3216
|
this.Navvy = new Navvy(this.BXRestTasksTaskResult, this.BXRestMapTasksTaskResult);
|
|
3219
3217
|
}
|
|
3220
3218
|
deleteFromComment(commentID) {
|
|
3221
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.deleteFromComment, commentID
|
|
3219
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.deleteFromComment, commentID);
|
|
3222
3220
|
}
|
|
3223
3221
|
addFromComment(commentID) {
|
|
3224
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.addFromComment, commentID,
|
|
3222
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTaskResult.addFromComment, commentID, this.BXRestMapTasksTaskResult.addFromComment);
|
|
3225
3223
|
}
|
|
3226
3224
|
list(param) {
|
|
3227
|
-
return this.Navvy.PagNav(this.BXRestTasksTaskResult.list, param,
|
|
3225
|
+
return this.Navvy.PagNav(this.BXRestTasksTaskResult.list, param, this.BXRestMapTasksTaskResult.list);
|
|
3228
3226
|
}
|
|
3229
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 }); }
|
|
3230
3228
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTaskResult, providedIn: 'root' }); }
|
|
@@ -3396,7 +3394,7 @@ class BXRestNavvyTasksTask {
|
|
|
3396
3394
|
// })
|
|
3397
3395
|
}
|
|
3398
3396
|
add(param) {
|
|
3399
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.add, param,
|
|
3397
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.add, param, this.BXRestMapTasksTask.add);
|
|
3400
3398
|
// return this.http.post<{ task: TaskBXHttp }>(this.url.add, {fields: param}).pipe(
|
|
3401
3399
|
// map(v => {
|
|
3402
3400
|
// if (v && v.result && v.result.task) {
|
|
@@ -3440,13 +3438,13 @@ class BXRestNavvyTasksTask {
|
|
|
3440
3438
|
if (!param.select) {
|
|
3441
3439
|
param.select = this.def.select;
|
|
3442
3440
|
}
|
|
3443
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.get, param,
|
|
3441
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.get, param, this.BXRestMapTasksTask.get);
|
|
3444
3442
|
}
|
|
3445
3443
|
list(param = {}) {
|
|
3446
3444
|
if (!param.select) {
|
|
3447
3445
|
param.select = this.def.select;
|
|
3448
3446
|
}
|
|
3449
|
-
return this.Navvy.PagNavTasks(this.BXRestTasksTask.list, param,
|
|
3447
|
+
return this.Navvy.PagNavTasks(this.BXRestTasksTask.list, param, this.BXRestMapTasksTask.list);
|
|
3450
3448
|
}
|
|
3451
3449
|
/*
|
|
3452
3450
|
listArray(requestArray: RequestApiTaskListBX = {}) {
|
|
@@ -3538,7 +3536,7 @@ class BXRestNavvyTasksTask {
|
|
|
3538
3536
|
)
|
|
3539
3537
|
} */
|
|
3540
3538
|
getaccess(param) {
|
|
3541
|
-
return this.Navvy.simpleWithArg(this.BXRestTasksTask.getaccess, param,
|
|
3539
|
+
return this.Navvy.simpleWithArg(this.BXRestTasksTask.getaccess, param, this.BXRestMapTasksTask.getaccess);
|
|
3542
3540
|
}
|
|
3543
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 }); }
|
|
3544
3542
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTasksTask, providedIn: 'root' }); }
|
|
@@ -3759,7 +3757,7 @@ class BXRestNavvyElapseditem {
|
|
|
3759
3757
|
else {
|
|
3760
3758
|
return throwError(() => new Error('Отсутствуют права на чтение задачи'));
|
|
3761
3759
|
}
|
|
3762
|
-
})),
|
|
3760
|
+
})), this.BXRestMapElapseditem.update);
|
|
3763
3761
|
}
|
|
3764
3762
|
/*
|
|
3765
3763
|
getAll(
|
|
@@ -3887,7 +3885,7 @@ class BXRestNavvyElapseditem {
|
|
|
3887
3885
|
else {
|
|
3888
3886
|
return throwError(() => new Error('Отсутствуют права на чтение задачи'));
|
|
3889
3887
|
}
|
|
3890
|
-
})),
|
|
3888
|
+
})), v => (v === null));
|
|
3891
3889
|
}
|
|
3892
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 }); }
|
|
3893
3891
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyElapseditem, providedIn: 'root' }); }
|
|
@@ -3958,13 +3956,13 @@ class BXRestNavvyTaskCommentItem {
|
|
|
3958
3956
|
this.Navvy = new Navvy(this.BXRestTaskCommentItem, this.mapTaskCommentItem);
|
|
3959
3957
|
}
|
|
3960
3958
|
add(param) {
|
|
3961
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.add, param
|
|
3959
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.add, param);
|
|
3962
3960
|
}
|
|
3963
3961
|
update(param) {
|
|
3964
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.update, param
|
|
3962
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.update, param);
|
|
3965
3963
|
}
|
|
3966
3964
|
get(param) {
|
|
3967
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.get, param,
|
|
3965
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.get, param, this.mapTaskCommentItem.get);
|
|
3968
3966
|
}
|
|
3969
3967
|
getlist(param = {
|
|
3970
3968
|
FILTER: {},
|
|
@@ -3972,13 +3970,13 @@ class BXRestNavvyTaskCommentItem {
|
|
|
3972
3970
|
POST_DATE: 'asc'
|
|
3973
3971
|
}
|
|
3974
3972
|
}) {
|
|
3975
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.getlist, param,
|
|
3973
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.getlist, param, this.mapTaskCommentItem.getlist);
|
|
3976
3974
|
}
|
|
3977
3975
|
del(param) {
|
|
3978
3976
|
if (param.ITEMID > 0) {
|
|
3979
3977
|
return this.get(param).result().pipe(mergeMap(v => {
|
|
3980
3978
|
if (v) {
|
|
3981
|
-
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.del, param
|
|
3979
|
+
return this.Navvy.simpleWithArg(this.BXRestTaskCommentItem.del, param).result();
|
|
3982
3980
|
}
|
|
3983
3981
|
this.snackBar.warning('comment not exist');
|
|
3984
3982
|
return of(false);
|
|
@@ -4020,7 +4018,7 @@ class BXRestNavvyTaskPlanner {
|
|
|
4020
4018
|
this.Navvy = new Navvy(this.BXRestTaskPlanner, this.BXRestMapTaskPlaner);
|
|
4021
4019
|
}
|
|
4022
4020
|
getList() {
|
|
4023
|
-
return this.Navvy.simple(this.BXRestTaskPlanner.getList,
|
|
4021
|
+
return this.Navvy.simple(this.BXRestTaskPlanner.getList, this.BXRestMapTaskPlaner.getList);
|
|
4024
4022
|
}
|
|
4025
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 }); }
|
|
4026
4024
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyTaskPlanner, providedIn: 'root' }); }
|
|
@@ -4137,7 +4135,7 @@ class BXRestNavvyDiskFolder {
|
|
|
4137
4135
|
// )
|
|
4138
4136
|
// }
|
|
4139
4137
|
getchildren(id) {
|
|
4140
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFolder.getchildren, id,
|
|
4138
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFolder.getchildren, id, this.BXRestMapDiskFolder.getContent);
|
|
4141
4139
|
}
|
|
4142
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 }); }
|
|
4143
4141
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFolder, providedIn: 'root' }); }
|
|
@@ -4173,10 +4171,10 @@ class BXRestNavvyDiskFile {
|
|
|
4173
4171
|
this.Navvy = new Navvy(this.BXRestDiskFile, this.BXRestMapDiskFile);
|
|
4174
4172
|
}
|
|
4175
4173
|
get(id) {
|
|
4176
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFile.get, id,
|
|
4174
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFile.get, id, this.BXRestMapDiskFile.get);
|
|
4177
4175
|
}
|
|
4178
4176
|
markdeleted(id) {
|
|
4179
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskFile.markdeleted, id,
|
|
4177
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskFile.markdeleted, id, this.BXRestMapDiskFile.markdeleted);
|
|
4180
4178
|
}
|
|
4181
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 }); }
|
|
4182
4180
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskFile, providedIn: 'root' }); }
|
|
@@ -4307,7 +4305,7 @@ class BXRestNavvyDiskStorage {
|
|
|
4307
4305
|
}
|
|
4308
4306
|
getforapp() {
|
|
4309
4307
|
// console.log('this.getforappEnd', this.getforappEnd)
|
|
4310
|
-
return this.Navvy.simple(this.BXRestNavvyInterlayerDiskStorage.getforapp
|
|
4308
|
+
return this.Navvy.simple(this.BXRestNavvyInterlayerDiskStorage.getforapp);
|
|
4311
4309
|
}
|
|
4312
4310
|
/*
|
|
4313
4311
|
private getforappEnd(){
|
|
@@ -4328,7 +4326,7 @@ class BXRestNavvyDiskStorage {
|
|
|
4328
4326
|
}
|
|
4329
4327
|
*/
|
|
4330
4328
|
getchildren(param) {
|
|
4331
|
-
return this.Navvy.simpleWithArg(this.BXRestNavvyInterlayerDiskStorage.getchildren, param,
|
|
4329
|
+
return this.Navvy.simpleWithArg(this.BXRestNavvyInterlayerDiskStorage.getchildren, param, this.BXRestMapDiskStorage.getchildren);
|
|
4332
4330
|
}
|
|
4333
4331
|
// TODO: разобраться что возвращает и что вставлять
|
|
4334
4332
|
addfolder(param) {
|
|
@@ -4458,7 +4456,7 @@ class BXRestNavvyDiskAttachedObject {
|
|
|
4458
4456
|
this.Navvy = new Navvy(this.BXRestDiskAttachedObject, this.mapAttachedObject);
|
|
4459
4457
|
}
|
|
4460
4458
|
get(id) {
|
|
4461
|
-
return this.Navvy.simpleWithArg(this.BXRestDiskAttachedObject.get, id,
|
|
4459
|
+
return this.Navvy.simpleWithArg(this.BXRestDiskAttachedObject.get, id, this.mapAttachedObject.get);
|
|
4462
4460
|
}
|
|
4463
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 }); }
|
|
4464
4462
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDiskAttachedObject, providedIn: 'root' }); }
|
|
@@ -4493,7 +4491,7 @@ class BXRestNavvyBizprocWorkflow {
|
|
|
4493
4491
|
this.Navvy = new Navvy(this.BXRestBizprocWorkflow, undefined);
|
|
4494
4492
|
}
|
|
4495
4493
|
start(param) {
|
|
4496
|
-
return this.Navvy.simpleWithArg(this.BXRestBizprocWorkflow.start, param
|
|
4494
|
+
return this.Navvy.simpleWithArg(this.BXRestBizprocWorkflow.start, param);
|
|
4497
4495
|
}
|
|
4498
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 }); }
|
|
4499
4497
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyBizprocWorkflow, providedIn: 'root' }); }
|
|
@@ -4681,7 +4679,7 @@ class BXRestRestCalendarEvent {
|
|
|
4681
4679
|
this.Navvy = new Navvy(this.eventMap, undefined);
|
|
4682
4680
|
}
|
|
4683
4681
|
get(param) {
|
|
4684
|
-
return this.Navvy.simpleWithArg(this.BXRestCalendarEvent.get, param,
|
|
4682
|
+
return this.Navvy.simpleWithArg(this.BXRestCalendarEvent.get, param, this.eventMap.get);
|
|
4685
4683
|
}
|
|
4686
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 }); }
|
|
4687
4685
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestRestCalendarEvent, providedIn: 'root' }); }
|
|
@@ -4780,7 +4778,7 @@ class BXRestNavvySonetGroup {
|
|
|
4780
4778
|
this.Navvy = new Navvy(this.BXRestSonetGroup, this.mapSonetGroup);
|
|
4781
4779
|
}
|
|
4782
4780
|
get(param = {}) {
|
|
4783
|
-
return this.Navvy.simpleWithArg(this.BXRestSonetGroup.get, param,
|
|
4781
|
+
return this.Navvy.simpleWithArg(this.BXRestSonetGroup.get, param, this.mapSonetGroup.get);
|
|
4784
4782
|
}
|
|
4785
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 }); }
|
|
4786
4784
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvySonetGroup, providedIn: 'root' }); }
|
|
@@ -4813,7 +4811,7 @@ class BXRestNavvyServer {
|
|
|
4813
4811
|
this.Navvy = new Navvy(this.BXRestServer, BXRestMapServer);
|
|
4814
4812
|
}
|
|
4815
4813
|
time() {
|
|
4816
|
-
return this.Navvy.simple(this.BXRestServer.time,
|
|
4814
|
+
return this.Navvy.simple(this.BXRestServer.time, this.BXRestMapServer.time);
|
|
4817
4815
|
}
|
|
4818
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 }); }
|
|
4819
4817
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyServer, providedIn: 'root' }); }
|
|
@@ -4864,17 +4862,17 @@ class BXRestNavvyDepartment {
|
|
|
4864
4862
|
this.Navvy = new Navvy(this.BXRestDepartment, this.BXRestMapDepartment);
|
|
4865
4863
|
}
|
|
4866
4864
|
get(param = {}) {
|
|
4867
|
-
return this.Navvy.PagNav(this.BXRestDepartment.get, param,
|
|
4865
|
+
return this.Navvy.PagNav(this.BXRestDepartment.get, param, this.BXRestMapDepartment.get);
|
|
4868
4866
|
}
|
|
4869
4867
|
add(param) {
|
|
4870
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.add, param
|
|
4868
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.add, param);
|
|
4871
4869
|
}
|
|
4872
4870
|
del(id) {
|
|
4873
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.del, { ID: id }
|
|
4871
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.del, { ID: id });
|
|
4874
4872
|
}
|
|
4875
4873
|
update(param) {
|
|
4876
4874
|
param.NAME = param.NAME.trim();
|
|
4877
|
-
return this.Navvy.simpleWithArg(this.BXRestDepartment.update, param
|
|
4875
|
+
return this.Navvy.simpleWithArg(this.BXRestDepartment.update, param);
|
|
4878
4876
|
}
|
|
4879
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 }); }
|
|
4880
4878
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.11", ngImport: i0, type: BXRestNavvyDepartment, providedIn: 'root' }); }
|