@smartbit4all/ng-client 3.1.92 → 3.1.94
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/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +5 -2
- package/esm2020/lib/smart-form/api/api/api.mjs +1 -1
- package/esm2020/lib/smart-form/api/api/default.service.mjs +1 -1
- package/esm2020/lib/smart-form/api/api.module.mjs +1 -1
- package/esm2020/lib/smart-form/api/configuration.mjs +1 -1
- package/esm2020/lib/smart-form/api/encoder.mjs +1 -1
- package/esm2020/lib/smart-form/api/index.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/propertyMapping.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2020/lib/smart-form/api/param.mjs +1 -1
- package/esm2020/lib/smart-form/api/variables.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2020/lib/smart-tree/smarttree-generic.service.mjs +23 -37
- package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +549 -3
- package/esm2020/lib/smart-tree/tree-api/configuration.mjs +2 -2
- package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
- package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
- package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uploadedFile.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +1 -1
- package/esm2020/lib/view-context/smart-view-context.service.mjs +2 -1
- package/esm2020/lib/view-context/value-api/api/api.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +1 -1
- package/esm2020/lib/view-context/value-api/api.module.mjs +1 -1
- package/esm2020/lib/view-context/value-api/configuration.mjs +1 -1
- package/esm2020/lib/view-context/value-api/encoder.mjs +1 -1
- package/esm2020/lib/view-context/value-api/index.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/value.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
- package/esm2020/lib/view-context/value-api/param.mjs +1 -1
- package/esm2020/lib/view-context/value-api/variables.mjs +1 -1
- package/fesm2015/smartbit4all-ng-client.mjs +639 -102
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +639 -102
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +1 -0
- package/lib/smart-tree/tree-api/api/tree.service.d.ts +161 -2
- package/lib/view-context/api/model/viewContextChange.d.ts +4 -0
- package/lib/view-context/smart-view-context.service.d.ts +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.94.tgz +0 -0
- package/src/lib/smart-filter-editor/api/README.md +226 -226
- package/src/lib/smart-form/api/README.md +226 -226
- package/src/lib/smart-grid/api/grid-api/README.md +226 -226
- package/src/lib/smart-tree/tree-api/README.md +226 -226
- package/src/lib/view-context/value-api/README.md +226 -226
- package/smartbit4all-ng-client-3.1.92.tgz +0 -0
|
@@ -3053,6 +3053,7 @@ class SmartViewContextService {
|
|
|
3053
3053
|
if (viewContextChange === null || viewContextChange === void 0 ? void 0 : viewContextChange.changes) {
|
|
3054
3054
|
this.handleChanges(viewContextChange.changes);
|
|
3055
3055
|
}
|
|
3056
|
+
return viewContextChange === null || viewContextChange === void 0 ? void 0 : viewContextChange.result;
|
|
3056
3057
|
});
|
|
3057
3058
|
}
|
|
3058
3059
|
handleChanges(changes) {
|
|
@@ -8306,7 +8307,7 @@ class Configuration$3 {
|
|
|
8306
8307
|
// All other styles and Date-formats are probably handled incorrectly.
|
|
8307
8308
|
//
|
|
8308
8309
|
// But: if that's all you need (i.e.: the most common use-case): no need for customization!
|
|
8309
|
-
const value = param.dataFormat === 'date-time'
|
|
8310
|
+
const value = param.dataFormat === 'date-time' && param.value instanceof Date
|
|
8310
8311
|
? param.value.toISOString()
|
|
8311
8312
|
: param.value;
|
|
8312
8313
|
return encodeURIComponent(String(value));
|
|
@@ -8314,7 +8315,7 @@ class Configuration$3 {
|
|
|
8314
8315
|
}
|
|
8315
8316
|
|
|
8316
8317
|
/**
|
|
8317
|
-
*
|
|
8318
|
+
* Uitree Api
|
|
8318
8319
|
* Tree domain objects
|
|
8319
8320
|
*
|
|
8320
8321
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -8382,15 +8383,432 @@ class TreeService {
|
|
|
8382
8383
|
}
|
|
8383
8384
|
return httpParams;
|
|
8384
8385
|
}
|
|
8385
|
-
collapseNode(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8386
|
+
collapseNode(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8387
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8388
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling collapseNode.');
|
|
8389
|
+
}
|
|
8390
|
+
if (treeId === null || treeId === undefined) {
|
|
8391
|
+
throw new Error('Required parameter treeId was null or undefined when calling collapseNode.');
|
|
8392
|
+
}
|
|
8393
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8394
|
+
throw new Error('Required parameter nodeId was null or undefined when calling collapseNode.');
|
|
8395
|
+
}
|
|
8396
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8397
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8398
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8399
|
+
// to determine the Accept header
|
|
8400
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8401
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8402
|
+
}
|
|
8403
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8404
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8405
|
+
}
|
|
8406
|
+
let localVarHttpContext = options && options.context;
|
|
8407
|
+
if (localVarHttpContext === undefined) {
|
|
8408
|
+
localVarHttpContext = new HttpContext();
|
|
8409
|
+
}
|
|
8410
|
+
let responseType_ = 'json';
|
|
8411
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8412
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8413
|
+
responseType_ = 'text';
|
|
8414
|
+
}
|
|
8415
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8416
|
+
responseType_ = 'json';
|
|
8417
|
+
}
|
|
8418
|
+
else {
|
|
8419
|
+
responseType_ = 'blob';
|
|
8420
|
+
}
|
|
8421
|
+
}
|
|
8422
|
+
let localVarPath = `/tree/${this.configuration.encodeParam({
|
|
8423
|
+
name: 'viewUuid',
|
|
8424
|
+
value: viewUuid,
|
|
8425
|
+
in: 'path',
|
|
8426
|
+
style: 'simple',
|
|
8427
|
+
explode: false,
|
|
8428
|
+
dataType: 'string',
|
|
8429
|
+
dataFormat: 'uuid',
|
|
8430
|
+
})}/${this.configuration.encodeParam({
|
|
8431
|
+
name: 'treeId',
|
|
8432
|
+
value: treeId,
|
|
8433
|
+
in: 'path',
|
|
8434
|
+
style: 'simple',
|
|
8435
|
+
explode: false,
|
|
8436
|
+
dataType: 'string',
|
|
8437
|
+
dataFormat: undefined,
|
|
8438
|
+
})}/${this.configuration.encodeParam({
|
|
8439
|
+
name: 'nodeId',
|
|
8440
|
+
value: nodeId,
|
|
8441
|
+
in: 'path',
|
|
8442
|
+
style: 'simple',
|
|
8443
|
+
explode: false,
|
|
8444
|
+
dataType: 'string',
|
|
8445
|
+
dataFormat: undefined,
|
|
8446
|
+
})}/collapse`;
|
|
8447
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8448
|
+
context: localVarHttpContext,
|
|
8449
|
+
responseType: responseType_,
|
|
8450
|
+
withCredentials: this.configuration.withCredentials,
|
|
8451
|
+
headers: localVarHeaders,
|
|
8452
|
+
observe: observe,
|
|
8453
|
+
reportProgress: reportProgress,
|
|
8454
|
+
});
|
|
8455
|
+
}
|
|
8456
|
+
collapseNode2(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8457
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8458
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling collapseNode2.');
|
|
8459
|
+
}
|
|
8460
|
+
if (treeId === null || treeId === undefined) {
|
|
8461
|
+
throw new Error('Required parameter treeId was null or undefined when calling collapseNode2.');
|
|
8462
|
+
}
|
|
8463
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8464
|
+
throw new Error('Required parameter nodeId was null or undefined when calling collapseNode2.');
|
|
8465
|
+
}
|
|
8466
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8467
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8468
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8469
|
+
// to determine the Accept header
|
|
8470
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8471
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8472
|
+
}
|
|
8473
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8474
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8475
|
+
}
|
|
8476
|
+
let localVarHttpContext = options && options.context;
|
|
8477
|
+
if (localVarHttpContext === undefined) {
|
|
8478
|
+
localVarHttpContext = new HttpContext();
|
|
8479
|
+
}
|
|
8480
|
+
let responseType_ = 'json';
|
|
8481
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8482
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8483
|
+
responseType_ = 'text';
|
|
8484
|
+
}
|
|
8485
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8486
|
+
responseType_ = 'json';
|
|
8487
|
+
}
|
|
8488
|
+
else {
|
|
8489
|
+
responseType_ = 'blob';
|
|
8490
|
+
}
|
|
8491
|
+
}
|
|
8492
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8493
|
+
name: 'viewUuid',
|
|
8494
|
+
value: viewUuid,
|
|
8495
|
+
in: 'path',
|
|
8496
|
+
style: 'simple',
|
|
8497
|
+
explode: false,
|
|
8498
|
+
dataType: 'string',
|
|
8499
|
+
dataFormat: 'uuid',
|
|
8500
|
+
})}/${this.configuration.encodeParam({
|
|
8501
|
+
name: 'treeId',
|
|
8502
|
+
value: treeId,
|
|
8503
|
+
in: 'path',
|
|
8504
|
+
style: 'simple',
|
|
8505
|
+
explode: false,
|
|
8506
|
+
dataType: 'string',
|
|
8507
|
+
dataFormat: undefined,
|
|
8508
|
+
})}/${this.configuration.encodeParam({
|
|
8509
|
+
name: 'nodeId',
|
|
8510
|
+
value: nodeId,
|
|
8511
|
+
in: 'path',
|
|
8512
|
+
style: 'simple',
|
|
8513
|
+
explode: false,
|
|
8514
|
+
dataType: 'string',
|
|
8515
|
+
dataFormat: undefined,
|
|
8516
|
+
})}/collapse`;
|
|
8517
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8518
|
+
context: localVarHttpContext,
|
|
8519
|
+
responseType: responseType_,
|
|
8520
|
+
withCredentials: this.configuration.withCredentials,
|
|
8521
|
+
headers: localVarHeaders,
|
|
8522
|
+
observe: observe,
|
|
8523
|
+
reportProgress: reportProgress,
|
|
8524
|
+
});
|
|
8525
|
+
}
|
|
8526
|
+
expandNode(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8527
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8528
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling expandNode.');
|
|
8529
|
+
}
|
|
8530
|
+
if (treeId === null || treeId === undefined) {
|
|
8531
|
+
throw new Error('Required parameter treeId was null or undefined when calling expandNode.');
|
|
8532
|
+
}
|
|
8533
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8534
|
+
throw new Error('Required parameter nodeId was null or undefined when calling expandNode.');
|
|
8535
|
+
}
|
|
8536
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8537
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8538
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8539
|
+
// to determine the Accept header
|
|
8540
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8541
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8542
|
+
}
|
|
8543
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8544
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8545
|
+
}
|
|
8546
|
+
let localVarHttpContext = options && options.context;
|
|
8547
|
+
if (localVarHttpContext === undefined) {
|
|
8548
|
+
localVarHttpContext = new HttpContext();
|
|
8549
|
+
}
|
|
8550
|
+
let responseType_ = 'json';
|
|
8551
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8552
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8553
|
+
responseType_ = 'text';
|
|
8554
|
+
}
|
|
8555
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8556
|
+
responseType_ = 'json';
|
|
8557
|
+
}
|
|
8558
|
+
else {
|
|
8559
|
+
responseType_ = 'blob';
|
|
8560
|
+
}
|
|
8561
|
+
}
|
|
8562
|
+
let localVarPath = `/tree/${this.configuration.encodeParam({
|
|
8563
|
+
name: 'viewUuid',
|
|
8564
|
+
value: viewUuid,
|
|
8565
|
+
in: 'path',
|
|
8566
|
+
style: 'simple',
|
|
8567
|
+
explode: false,
|
|
8568
|
+
dataType: 'string',
|
|
8569
|
+
dataFormat: 'uuid',
|
|
8570
|
+
})}/${this.configuration.encodeParam({
|
|
8571
|
+
name: 'treeId',
|
|
8572
|
+
value: treeId,
|
|
8573
|
+
in: 'path',
|
|
8574
|
+
style: 'simple',
|
|
8575
|
+
explode: false,
|
|
8576
|
+
dataType: 'string',
|
|
8577
|
+
dataFormat: undefined,
|
|
8578
|
+
})}/${this.configuration.encodeParam({
|
|
8579
|
+
name: 'nodeId',
|
|
8580
|
+
value: nodeId,
|
|
8581
|
+
in: 'path',
|
|
8582
|
+
style: 'simple',
|
|
8583
|
+
explode: false,
|
|
8584
|
+
dataType: 'string',
|
|
8585
|
+
dataFormat: undefined,
|
|
8586
|
+
})}/expand`;
|
|
8587
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8588
|
+
context: localVarHttpContext,
|
|
8589
|
+
responseType: responseType_,
|
|
8590
|
+
withCredentials: this.configuration.withCredentials,
|
|
8591
|
+
headers: localVarHeaders,
|
|
8592
|
+
observe: observe,
|
|
8593
|
+
reportProgress: reportProgress,
|
|
8594
|
+
});
|
|
8595
|
+
}
|
|
8596
|
+
expandNode2(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8597
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8598
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling expandNode2.');
|
|
8599
|
+
}
|
|
8600
|
+
if (treeId === null || treeId === undefined) {
|
|
8601
|
+
throw new Error('Required parameter treeId was null or undefined when calling expandNode2.');
|
|
8602
|
+
}
|
|
8603
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8604
|
+
throw new Error('Required parameter nodeId was null or undefined when calling expandNode2.');
|
|
8605
|
+
}
|
|
8606
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8607
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8608
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8609
|
+
// to determine the Accept header
|
|
8610
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8611
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8612
|
+
}
|
|
8613
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8614
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8615
|
+
}
|
|
8616
|
+
let localVarHttpContext = options && options.context;
|
|
8617
|
+
if (localVarHttpContext === undefined) {
|
|
8618
|
+
localVarHttpContext = new HttpContext();
|
|
8619
|
+
}
|
|
8620
|
+
let responseType_ = 'json';
|
|
8621
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8622
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8623
|
+
responseType_ = 'text';
|
|
8624
|
+
}
|
|
8625
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8626
|
+
responseType_ = 'json';
|
|
8627
|
+
}
|
|
8628
|
+
else {
|
|
8629
|
+
responseType_ = 'blob';
|
|
8630
|
+
}
|
|
8631
|
+
}
|
|
8632
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8633
|
+
name: 'viewUuid',
|
|
8634
|
+
value: viewUuid,
|
|
8635
|
+
in: 'path',
|
|
8636
|
+
style: 'simple',
|
|
8637
|
+
explode: false,
|
|
8638
|
+
dataType: 'string',
|
|
8639
|
+
dataFormat: 'uuid',
|
|
8640
|
+
})}/${this.configuration.encodeParam({
|
|
8641
|
+
name: 'treeId',
|
|
8642
|
+
value: treeId,
|
|
8643
|
+
in: 'path',
|
|
8644
|
+
style: 'simple',
|
|
8645
|
+
explode: false,
|
|
8646
|
+
dataType: 'string',
|
|
8647
|
+
dataFormat: undefined,
|
|
8648
|
+
})}/${this.configuration.encodeParam({
|
|
8649
|
+
name: 'nodeId',
|
|
8650
|
+
value: nodeId,
|
|
8651
|
+
in: 'path',
|
|
8652
|
+
style: 'simple',
|
|
8653
|
+
explode: false,
|
|
8654
|
+
dataType: 'string',
|
|
8655
|
+
dataFormat: undefined,
|
|
8656
|
+
})}/expand`;
|
|
8657
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8658
|
+
context: localVarHttpContext,
|
|
8659
|
+
responseType: responseType_,
|
|
8660
|
+
withCredentials: this.configuration.withCredentials,
|
|
8661
|
+
headers: localVarHeaders,
|
|
8662
|
+
observe: observe,
|
|
8663
|
+
reportProgress: reportProgress,
|
|
8664
|
+
});
|
|
8665
|
+
}
|
|
8666
|
+
getChildrenNodes(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8667
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8668
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getChildrenNodes.');
|
|
8669
|
+
}
|
|
8670
|
+
if (treeId === null || treeId === undefined) {
|
|
8671
|
+
throw new Error('Required parameter treeId was null or undefined when calling getChildrenNodes.');
|
|
8672
|
+
}
|
|
8673
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8674
|
+
throw new Error('Required parameter nodeId was null or undefined when calling getChildrenNodes.');
|
|
8675
|
+
}
|
|
8676
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8677
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8678
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8679
|
+
// to determine the Accept header
|
|
8680
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8681
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8682
|
+
}
|
|
8683
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8684
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8685
|
+
}
|
|
8686
|
+
let localVarHttpContext = options && options.context;
|
|
8687
|
+
if (localVarHttpContext === undefined) {
|
|
8688
|
+
localVarHttpContext = new HttpContext();
|
|
8689
|
+
}
|
|
8690
|
+
let responseType_ = 'json';
|
|
8691
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8692
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8693
|
+
responseType_ = 'text';
|
|
8694
|
+
}
|
|
8695
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8696
|
+
responseType_ = 'json';
|
|
8697
|
+
}
|
|
8698
|
+
else {
|
|
8699
|
+
responseType_ = 'blob';
|
|
8700
|
+
}
|
|
8701
|
+
}
|
|
8702
|
+
let localVarPath = `/tree/${this.configuration.encodeParam({
|
|
8703
|
+
name: 'viewUuid',
|
|
8704
|
+
value: viewUuid,
|
|
8705
|
+
in: 'path',
|
|
8706
|
+
style: 'simple',
|
|
8707
|
+
explode: false,
|
|
8708
|
+
dataType: 'string',
|
|
8709
|
+
dataFormat: 'uuid',
|
|
8710
|
+
})}/${this.configuration.encodeParam({
|
|
8711
|
+
name: 'treeId',
|
|
8712
|
+
value: treeId,
|
|
8713
|
+
in: 'path',
|
|
8714
|
+
style: 'simple',
|
|
8715
|
+
explode: false,
|
|
8716
|
+
dataType: 'string',
|
|
8717
|
+
dataFormat: undefined,
|
|
8718
|
+
})}/${this.configuration.encodeParam({
|
|
8719
|
+
name: 'nodeId',
|
|
8720
|
+
value: nodeId,
|
|
8721
|
+
in: 'path',
|
|
8722
|
+
style: 'simple',
|
|
8723
|
+
explode: false,
|
|
8724
|
+
dataType: 'string',
|
|
8725
|
+
dataFormat: undefined,
|
|
8726
|
+
})}`;
|
|
8727
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8728
|
+
context: localVarHttpContext,
|
|
8729
|
+
responseType: responseType_,
|
|
8730
|
+
withCredentials: this.configuration.withCredentials,
|
|
8731
|
+
headers: localVarHeaders,
|
|
8732
|
+
observe: observe,
|
|
8733
|
+
reportProgress: reportProgress,
|
|
8734
|
+
});
|
|
8735
|
+
}
|
|
8736
|
+
getChildrenNodes2(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8737
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
8738
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getChildrenNodes2.');
|
|
8739
|
+
}
|
|
8740
|
+
if (treeId === null || treeId === undefined) {
|
|
8741
|
+
throw new Error('Required parameter treeId was null or undefined when calling getChildrenNodes2.');
|
|
8742
|
+
}
|
|
8743
|
+
if (nodeId === null || nodeId === undefined) {
|
|
8744
|
+
throw new Error('Required parameter nodeId was null or undefined when calling getChildrenNodes2.');
|
|
8745
|
+
}
|
|
8746
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8747
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
8748
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
8749
|
+
// to determine the Accept header
|
|
8750
|
+
const httpHeaderAccepts = ['application/json'];
|
|
8751
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
8752
|
+
}
|
|
8753
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8754
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8755
|
+
}
|
|
8756
|
+
let localVarHttpContext = options && options.context;
|
|
8757
|
+
if (localVarHttpContext === undefined) {
|
|
8758
|
+
localVarHttpContext = new HttpContext();
|
|
8759
|
+
}
|
|
8760
|
+
let responseType_ = 'json';
|
|
8761
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8762
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8763
|
+
responseType_ = 'text';
|
|
8764
|
+
}
|
|
8765
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8766
|
+
responseType_ = 'json';
|
|
8767
|
+
}
|
|
8768
|
+
else {
|
|
8769
|
+
responseType_ = 'blob';
|
|
8770
|
+
}
|
|
8771
|
+
}
|
|
8772
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8773
|
+
name: 'viewUuid',
|
|
8774
|
+
value: viewUuid,
|
|
8775
|
+
in: 'path',
|
|
8776
|
+
style: 'simple',
|
|
8777
|
+
explode: false,
|
|
8778
|
+
dataType: 'string',
|
|
8779
|
+
dataFormat: 'uuid',
|
|
8780
|
+
})}/${this.configuration.encodeParam({
|
|
8781
|
+
name: 'treeId',
|
|
8782
|
+
value: treeId,
|
|
8783
|
+
in: 'path',
|
|
8784
|
+
style: 'simple',
|
|
8785
|
+
explode: false,
|
|
8786
|
+
dataType: 'string',
|
|
8787
|
+
dataFormat: undefined,
|
|
8788
|
+
})}/${this.configuration.encodeParam({
|
|
8789
|
+
name: 'nodeId',
|
|
8790
|
+
value: nodeId,
|
|
8791
|
+
in: 'path',
|
|
8792
|
+
style: 'simple',
|
|
8793
|
+
explode: false,
|
|
8794
|
+
dataType: 'string',
|
|
8795
|
+
dataFormat: undefined,
|
|
8796
|
+
})}`;
|
|
8797
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8798
|
+
context: localVarHttpContext,
|
|
8799
|
+
responseType: responseType_,
|
|
8800
|
+
withCredentials: this.configuration.withCredentials,
|
|
8801
|
+
headers: localVarHeaders,
|
|
8802
|
+
observe: observe,
|
|
8803
|
+
reportProgress: reportProgress,
|
|
8804
|
+
});
|
|
8805
|
+
}
|
|
8806
|
+
getMainActions(viewUuid, treeId, observe = 'body', reportProgress = false, options) {
|
|
8386
8807
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8387
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
8808
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getMainActions.');
|
|
8388
8809
|
}
|
|
8389
8810
|
if (treeId === null || treeId === undefined) {
|
|
8390
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
8391
|
-
}
|
|
8392
|
-
if (nodeId === null || nodeId === undefined) {
|
|
8393
|
-
throw new Error('Required parameter nodeId was null or undefined when calling collapseNode.');
|
|
8811
|
+
throw new Error('Required parameter treeId was null or undefined when calling getMainActions.');
|
|
8394
8812
|
}
|
|
8395
8813
|
let localVarHeaders = this.defaultHeaders;
|
|
8396
8814
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8434,16 +8852,8 @@ class TreeService {
|
|
|
8434
8852
|
explode: false,
|
|
8435
8853
|
dataType: 'string',
|
|
8436
8854
|
dataFormat: undefined,
|
|
8437
|
-
})}
|
|
8438
|
-
|
|
8439
|
-
value: nodeId,
|
|
8440
|
-
in: 'path',
|
|
8441
|
-
style: 'simple',
|
|
8442
|
-
explode: false,
|
|
8443
|
-
dataType: 'string',
|
|
8444
|
-
dataFormat: undefined,
|
|
8445
|
-
})}/collapse`;
|
|
8446
|
-
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8855
|
+
})}/action`;
|
|
8856
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8447
8857
|
context: localVarHttpContext,
|
|
8448
8858
|
responseType: responseType_,
|
|
8449
8859
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -8452,15 +8862,12 @@ class TreeService {
|
|
|
8452
8862
|
reportProgress: reportProgress,
|
|
8453
8863
|
});
|
|
8454
8864
|
}
|
|
8455
|
-
|
|
8865
|
+
getMainActions2(viewUuid, treeId, observe = 'body', reportProgress = false, options) {
|
|
8456
8866
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8457
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
8867
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getMainActions2.');
|
|
8458
8868
|
}
|
|
8459
8869
|
if (treeId === null || treeId === undefined) {
|
|
8460
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
8461
|
-
}
|
|
8462
|
-
if (nodeId === null || nodeId === undefined) {
|
|
8463
|
-
throw new Error('Required parameter nodeId was null or undefined when calling expandNode.');
|
|
8870
|
+
throw new Error('Required parameter treeId was null or undefined when calling getMainActions2.');
|
|
8464
8871
|
}
|
|
8465
8872
|
let localVarHeaders = this.defaultHeaders;
|
|
8466
8873
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8488,7 +8895,7 @@ class TreeService {
|
|
|
8488
8895
|
responseType_ = 'blob';
|
|
8489
8896
|
}
|
|
8490
8897
|
}
|
|
8491
|
-
let localVarPath = `/
|
|
8898
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8492
8899
|
name: 'viewUuid',
|
|
8493
8900
|
value: viewUuid,
|
|
8494
8901
|
in: 'path',
|
|
@@ -8504,16 +8911,8 @@ class TreeService {
|
|
|
8504
8911
|
explode: false,
|
|
8505
8912
|
dataType: 'string',
|
|
8506
8913
|
dataFormat: undefined,
|
|
8507
|
-
})}
|
|
8508
|
-
|
|
8509
|
-
value: nodeId,
|
|
8510
|
-
in: 'path',
|
|
8511
|
-
style: 'simple',
|
|
8512
|
-
explode: false,
|
|
8513
|
-
dataType: 'string',
|
|
8514
|
-
dataFormat: undefined,
|
|
8515
|
-
})}/expand`;
|
|
8516
|
-
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8914
|
+
})}/action`;
|
|
8915
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8517
8916
|
context: localVarHttpContext,
|
|
8518
8917
|
responseType: responseType_,
|
|
8519
8918
|
withCredentials: this.configuration.withCredentials,
|
|
@@ -8522,15 +8921,12 @@ class TreeService {
|
|
|
8522
8921
|
reportProgress: reportProgress,
|
|
8523
8922
|
});
|
|
8524
8923
|
}
|
|
8525
|
-
|
|
8924
|
+
getRootNodes(viewUuid, treeId, observe = 'body', reportProgress = false, options) {
|
|
8526
8925
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8527
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
8926
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getRootNodes.');
|
|
8528
8927
|
}
|
|
8529
8928
|
if (treeId === null || treeId === undefined) {
|
|
8530
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
8531
|
-
}
|
|
8532
|
-
if (nodeId === null || nodeId === undefined) {
|
|
8533
|
-
throw new Error('Required parameter nodeId was null or undefined when calling getChildrenNodes.');
|
|
8929
|
+
throw new Error('Required parameter treeId was null or undefined when calling getRootNodes.');
|
|
8534
8930
|
}
|
|
8535
8931
|
let localVarHeaders = this.defaultHeaders;
|
|
8536
8932
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8574,14 +8970,6 @@ class TreeService {
|
|
|
8574
8970
|
explode: false,
|
|
8575
8971
|
dataType: 'string',
|
|
8576
8972
|
dataFormat: undefined,
|
|
8577
|
-
})}/${this.configuration.encodeParam({
|
|
8578
|
-
name: 'nodeId',
|
|
8579
|
-
value: nodeId,
|
|
8580
|
-
in: 'path',
|
|
8581
|
-
style: 'simple',
|
|
8582
|
-
explode: false,
|
|
8583
|
-
dataType: 'string',
|
|
8584
|
-
dataFormat: undefined,
|
|
8585
8973
|
})}`;
|
|
8586
8974
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8587
8975
|
context: localVarHttpContext,
|
|
@@ -8592,12 +8980,12 @@ class TreeService {
|
|
|
8592
8980
|
reportProgress: reportProgress,
|
|
8593
8981
|
});
|
|
8594
8982
|
}
|
|
8595
|
-
|
|
8983
|
+
getRootNodes2(viewUuid, treeId, observe = 'body', reportProgress = false, options) {
|
|
8596
8984
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8597
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
8985
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling getRootNodes2.');
|
|
8598
8986
|
}
|
|
8599
8987
|
if (treeId === null || treeId === undefined) {
|
|
8600
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
8988
|
+
throw new Error('Required parameter treeId was null or undefined when calling getRootNodes2.');
|
|
8601
8989
|
}
|
|
8602
8990
|
let localVarHeaders = this.defaultHeaders;
|
|
8603
8991
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8625,7 +9013,7 @@ class TreeService {
|
|
|
8625
9013
|
responseType_ = 'blob';
|
|
8626
9014
|
}
|
|
8627
9015
|
}
|
|
8628
|
-
let localVarPath = `/
|
|
9016
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8629
9017
|
name: 'viewUuid',
|
|
8630
9018
|
value: viewUuid,
|
|
8631
9019
|
in: 'path',
|
|
@@ -8641,7 +9029,7 @@ class TreeService {
|
|
|
8641
9029
|
explode: false,
|
|
8642
9030
|
dataType: 'string',
|
|
8643
9031
|
dataFormat: undefined,
|
|
8644
|
-
})}
|
|
9032
|
+
})}`;
|
|
8645
9033
|
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
8646
9034
|
context: localVarHttpContext,
|
|
8647
9035
|
responseType: responseType_,
|
|
@@ -8651,12 +9039,18 @@ class TreeService {
|
|
|
8651
9039
|
reportProgress: reportProgress,
|
|
8652
9040
|
});
|
|
8653
9041
|
}
|
|
8654
|
-
|
|
9042
|
+
performAction(viewUuid, treeId, nodeId, body, observe = 'body', reportProgress = false, options) {
|
|
8655
9043
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8656
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
9044
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling performAction.');
|
|
8657
9045
|
}
|
|
8658
9046
|
if (treeId === null || treeId === undefined) {
|
|
8659
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
9047
|
+
throw new Error('Required parameter treeId was null or undefined when calling performAction.');
|
|
9048
|
+
}
|
|
9049
|
+
if (nodeId === null || nodeId === undefined) {
|
|
9050
|
+
throw new Error('Required parameter nodeId was null or undefined when calling performAction.');
|
|
9051
|
+
}
|
|
9052
|
+
if (body === null || body === undefined) {
|
|
9053
|
+
throw new Error('Required parameter body was null or undefined when calling performAction.');
|
|
8660
9054
|
}
|
|
8661
9055
|
let localVarHeaders = this.defaultHeaders;
|
|
8662
9056
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8672,6 +9066,12 @@ class TreeService {
|
|
|
8672
9066
|
if (localVarHttpContext === undefined) {
|
|
8673
9067
|
localVarHttpContext = new HttpContext();
|
|
8674
9068
|
}
|
|
9069
|
+
// to determine the Content-Type header
|
|
9070
|
+
const consumes = ['application/json'];
|
|
9071
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
9072
|
+
if (httpContentTypeSelected !== undefined) {
|
|
9073
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
9074
|
+
}
|
|
8675
9075
|
let responseType_ = 'json';
|
|
8676
9076
|
if (localVarHttpHeaderAcceptSelected) {
|
|
8677
9077
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -8700,9 +9100,18 @@ class TreeService {
|
|
|
8700
9100
|
explode: false,
|
|
8701
9101
|
dataType: 'string',
|
|
8702
9102
|
dataFormat: undefined,
|
|
8703
|
-
})}
|
|
8704
|
-
|
|
9103
|
+
})}/${this.configuration.encodeParam({
|
|
9104
|
+
name: 'nodeId',
|
|
9105
|
+
value: nodeId,
|
|
9106
|
+
in: 'path',
|
|
9107
|
+
style: 'simple',
|
|
9108
|
+
explode: false,
|
|
9109
|
+
dataType: 'string',
|
|
9110
|
+
dataFormat: undefined,
|
|
9111
|
+
})}/action`;
|
|
9112
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
8705
9113
|
context: localVarHttpContext,
|
|
9114
|
+
body: body,
|
|
8706
9115
|
responseType: responseType_,
|
|
8707
9116
|
withCredentials: this.configuration.withCredentials,
|
|
8708
9117
|
headers: localVarHeaders,
|
|
@@ -8710,18 +9119,18 @@ class TreeService {
|
|
|
8710
9119
|
reportProgress: reportProgress,
|
|
8711
9120
|
});
|
|
8712
9121
|
}
|
|
8713
|
-
|
|
9122
|
+
performAction2(viewUuid, treeId, nodeId, body, observe = 'body', reportProgress = false, options) {
|
|
8714
9123
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8715
|
-
throw new Error('Required parameter viewUuid was null or undefined when calling
|
|
9124
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling performAction2.');
|
|
8716
9125
|
}
|
|
8717
9126
|
if (treeId === null || treeId === undefined) {
|
|
8718
|
-
throw new Error('Required parameter treeId was null or undefined when calling
|
|
9127
|
+
throw new Error('Required parameter treeId was null or undefined when calling performAction2.');
|
|
8719
9128
|
}
|
|
8720
9129
|
if (nodeId === null || nodeId === undefined) {
|
|
8721
|
-
throw new Error('Required parameter nodeId was null or undefined when calling
|
|
9130
|
+
throw new Error('Required parameter nodeId was null or undefined when calling performAction2.');
|
|
8722
9131
|
}
|
|
8723
9132
|
if (body === null || body === undefined) {
|
|
8724
|
-
throw new Error('Required parameter body was null or undefined when calling
|
|
9133
|
+
throw new Error('Required parameter body was null or undefined when calling performAction2.');
|
|
8725
9134
|
}
|
|
8726
9135
|
let localVarHeaders = this.defaultHeaders;
|
|
8727
9136
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
@@ -8755,7 +9164,7 @@ class TreeService {
|
|
|
8755
9164
|
responseType_ = 'blob';
|
|
8756
9165
|
}
|
|
8757
9166
|
}
|
|
8758
|
-
let localVarPath = `/
|
|
9167
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
8759
9168
|
name: 'viewUuid',
|
|
8760
9169
|
value: viewUuid,
|
|
8761
9170
|
in: 'path',
|
|
@@ -8859,6 +9268,75 @@ class TreeService {
|
|
|
8859
9268
|
reportProgress: reportProgress,
|
|
8860
9269
|
});
|
|
8861
9270
|
}
|
|
9271
|
+
performMainAction2(viewUuid, treeId, body, observe = 'body', reportProgress = false, options) {
|
|
9272
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
9273
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling performMainAction2.');
|
|
9274
|
+
}
|
|
9275
|
+
if (treeId === null || treeId === undefined) {
|
|
9276
|
+
throw new Error('Required parameter treeId was null or undefined when calling performMainAction2.');
|
|
9277
|
+
}
|
|
9278
|
+
if (body === null || body === undefined) {
|
|
9279
|
+
throw new Error('Required parameter body was null or undefined when calling performMainAction2.');
|
|
9280
|
+
}
|
|
9281
|
+
let localVarHeaders = this.defaultHeaders;
|
|
9282
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
9283
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
9284
|
+
// to determine the Accept header
|
|
9285
|
+
const httpHeaderAccepts = ['application/json'];
|
|
9286
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
9287
|
+
}
|
|
9288
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
9289
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
9290
|
+
}
|
|
9291
|
+
let localVarHttpContext = options && options.context;
|
|
9292
|
+
if (localVarHttpContext === undefined) {
|
|
9293
|
+
localVarHttpContext = new HttpContext();
|
|
9294
|
+
}
|
|
9295
|
+
// to determine the Content-Type header
|
|
9296
|
+
const consumes = ['application/json'];
|
|
9297
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
9298
|
+
if (httpContentTypeSelected !== undefined) {
|
|
9299
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
9300
|
+
}
|
|
9301
|
+
let responseType_ = 'json';
|
|
9302
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
9303
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
9304
|
+
responseType_ = 'text';
|
|
9305
|
+
}
|
|
9306
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
9307
|
+
responseType_ = 'json';
|
|
9308
|
+
}
|
|
9309
|
+
else {
|
|
9310
|
+
responseType_ = 'blob';
|
|
9311
|
+
}
|
|
9312
|
+
}
|
|
9313
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
9314
|
+
name: 'viewUuid',
|
|
9315
|
+
value: viewUuid,
|
|
9316
|
+
in: 'path',
|
|
9317
|
+
style: 'simple',
|
|
9318
|
+
explode: false,
|
|
9319
|
+
dataType: 'string',
|
|
9320
|
+
dataFormat: 'uuid',
|
|
9321
|
+
})}/${this.configuration.encodeParam({
|
|
9322
|
+
name: 'treeId',
|
|
9323
|
+
value: treeId,
|
|
9324
|
+
in: 'path',
|
|
9325
|
+
style: 'simple',
|
|
9326
|
+
explode: false,
|
|
9327
|
+
dataType: 'string',
|
|
9328
|
+
dataFormat: undefined,
|
|
9329
|
+
})}/action`;
|
|
9330
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
9331
|
+
context: localVarHttpContext,
|
|
9332
|
+
body: body,
|
|
9333
|
+
responseType: responseType_,
|
|
9334
|
+
withCredentials: this.configuration.withCredentials,
|
|
9335
|
+
headers: localVarHeaders,
|
|
9336
|
+
observe: observe,
|
|
9337
|
+
reportProgress: reportProgress,
|
|
9338
|
+
});
|
|
9339
|
+
}
|
|
8862
9340
|
selectNode(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
8863
9341
|
if (viewUuid === null || viewUuid === undefined) {
|
|
8864
9342
|
throw new Error('Required parameter viewUuid was null or undefined when calling selectNode.');
|
|
@@ -8929,6 +9407,76 @@ class TreeService {
|
|
|
8929
9407
|
reportProgress: reportProgress,
|
|
8930
9408
|
});
|
|
8931
9409
|
}
|
|
9410
|
+
selectNode2(viewUuid, treeId, nodeId, observe = 'body', reportProgress = false, options) {
|
|
9411
|
+
if (viewUuid === null || viewUuid === undefined) {
|
|
9412
|
+
throw new Error('Required parameter viewUuid was null or undefined when calling selectNode2.');
|
|
9413
|
+
}
|
|
9414
|
+
if (treeId === null || treeId === undefined) {
|
|
9415
|
+
throw new Error('Required parameter treeId was null or undefined when calling selectNode2.');
|
|
9416
|
+
}
|
|
9417
|
+
if (nodeId === null || nodeId === undefined) {
|
|
9418
|
+
throw new Error('Required parameter nodeId was null or undefined when calling selectNode2.');
|
|
9419
|
+
}
|
|
9420
|
+
let localVarHeaders = this.defaultHeaders;
|
|
9421
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
9422
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
9423
|
+
// to determine the Accept header
|
|
9424
|
+
const httpHeaderAccepts = ['application/json'];
|
|
9425
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
9426
|
+
}
|
|
9427
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
9428
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
9429
|
+
}
|
|
9430
|
+
let localVarHttpContext = options && options.context;
|
|
9431
|
+
if (localVarHttpContext === undefined) {
|
|
9432
|
+
localVarHttpContext = new HttpContext();
|
|
9433
|
+
}
|
|
9434
|
+
let responseType_ = 'json';
|
|
9435
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
9436
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
9437
|
+
responseType_ = 'text';
|
|
9438
|
+
}
|
|
9439
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
9440
|
+
responseType_ = 'json';
|
|
9441
|
+
}
|
|
9442
|
+
else {
|
|
9443
|
+
responseType_ = 'blob';
|
|
9444
|
+
}
|
|
9445
|
+
}
|
|
9446
|
+
let localVarPath = `/tree2/${this.configuration.encodeParam({
|
|
9447
|
+
name: 'viewUuid',
|
|
9448
|
+
value: viewUuid,
|
|
9449
|
+
in: 'path',
|
|
9450
|
+
style: 'simple',
|
|
9451
|
+
explode: false,
|
|
9452
|
+
dataType: 'string',
|
|
9453
|
+
dataFormat: 'uuid',
|
|
9454
|
+
})}/${this.configuration.encodeParam({
|
|
9455
|
+
name: 'treeId',
|
|
9456
|
+
value: treeId,
|
|
9457
|
+
in: 'path',
|
|
9458
|
+
style: 'simple',
|
|
9459
|
+
explode: false,
|
|
9460
|
+
dataType: 'string',
|
|
9461
|
+
dataFormat: undefined,
|
|
9462
|
+
})}/${this.configuration.encodeParam({
|
|
9463
|
+
name: 'nodeId',
|
|
9464
|
+
value: nodeId,
|
|
9465
|
+
in: 'path',
|
|
9466
|
+
style: 'simple',
|
|
9467
|
+
explode: false,
|
|
9468
|
+
dataType: 'string',
|
|
9469
|
+
dataFormat: undefined,
|
|
9470
|
+
})}/select`;
|
|
9471
|
+
return this.httpClient.request('post', `${this.configuration.basePath}${localVarPath}`, {
|
|
9472
|
+
context: localVarHttpContext,
|
|
9473
|
+
responseType: responseType_,
|
|
9474
|
+
withCredentials: this.configuration.withCredentials,
|
|
9475
|
+
headers: localVarHeaders,
|
|
9476
|
+
observe: observe,
|
|
9477
|
+
reportProgress: reportProgress,
|
|
9478
|
+
});
|
|
9479
|
+
}
|
|
8932
9480
|
}
|
|
8933
9481
|
TreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TreeService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH$3, optional: true }, { token: Configuration$3, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8934
9482
|
TreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TreeService, providedIn: 'root' });
|
|
@@ -9052,8 +9600,8 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
9052
9600
|
downloadTree() {
|
|
9053
9601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9054
9602
|
let uuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9055
|
-
const rootNodes = yield this.service.
|
|
9056
|
-
const uiActions = yield this.service.
|
|
9603
|
+
const rootNodes = yield this.viewContext.handlePerformActionResponse(yield this.service.getRootNodes2(uuid, this.treeId).toPromise());
|
|
9604
|
+
const uiActions = yield this.viewContext.handlePerformActionResponse(yield this.service.getMainActions2(uuid, this.treeId).toPromise());
|
|
9057
9605
|
if (uiActions) {
|
|
9058
9606
|
this.constructUiActionModels(uiActions);
|
|
9059
9607
|
}
|
|
@@ -9066,9 +9614,7 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
9066
9614
|
downloadChildren(parentNode) {
|
|
9067
9615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9068
9616
|
let uuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9069
|
-
const children = yield this.service
|
|
9070
|
-
.getChildrenNodes(uuid, this.treeId, parentNode.identifier)
|
|
9071
|
-
.toPromise();
|
|
9617
|
+
const children = yield this.viewContext.handlePerformActionResponse(yield this.service.getChildrenNodes2(uuid, this.treeId, parentNode.identifier).toPromise());
|
|
9072
9618
|
if (!children) {
|
|
9073
9619
|
throw new Error(`Node with identifier ${parentNode.identifier} does not have children.`);
|
|
9074
9620
|
}
|
|
@@ -9079,15 +9625,11 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
9079
9625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9080
9626
|
let viewUuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9081
9627
|
if (treeNode === null || treeNode === void 0 ? void 0 : treeNode.expanded) {
|
|
9082
|
-
let tempTreeNode = yield this.service
|
|
9083
|
-
.collapseNode(viewUuid, this.treeId, treeNode.identifier)
|
|
9084
|
-
.toPromise();
|
|
9628
|
+
let tempTreeNode = yield this.viewContext.handlePerformActionResponse(yield this.service.collapseNode2(viewUuid, this.treeId, treeNode.identifier).toPromise());
|
|
9085
9629
|
treeNode = tempTreeNode;
|
|
9086
9630
|
}
|
|
9087
9631
|
else if (!(treeNode === null || treeNode === void 0 ? void 0 : treeNode.expanded)) {
|
|
9088
|
-
let tempTreeNode = yield this.service
|
|
9089
|
-
.expandNode(viewUuid, this.treeId, treeNode === null || treeNode === void 0 ? void 0 : treeNode.identifier)
|
|
9090
|
-
.toPromise();
|
|
9632
|
+
let tempTreeNode = yield this.viewContext.handlePerformActionResponse(yield this.service.expandNode2(viewUuid, this.treeId, treeNode === null || treeNode === void 0 ? void 0 : treeNode.identifier).toPromise());
|
|
9091
9633
|
treeNode = tempTreeNode;
|
|
9092
9634
|
}
|
|
9093
9635
|
let node = this.deepSearchTreeNode(treeNode === null || treeNode === void 0 ? void 0 : treeNode.identifier, this.treeFromBackend);
|
|
@@ -9102,25 +9644,21 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
9102
9644
|
selectFolder(folderUri, treeNode) {
|
|
9103
9645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9104
9646
|
let viewUuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9105
|
-
yield this.service
|
|
9106
|
-
|
|
9107
|
-
.
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
treeNode = updatedTreeNode;
|
|
9121
|
-
this.syncTree();
|
|
9122
|
-
this.viewContext.getAndSyncViewContext(this.viewContext.getUuidOfPage(this.viewContextName));
|
|
9123
|
-
});
|
|
9647
|
+
let updatedTreeNode = yield this.viewContext.handlePerformActionResponse(yield this.service.selectNode2(viewUuid, this.treeId, treeNode.identifier).toPromise());
|
|
9648
|
+
if (this.selectedNode) {
|
|
9649
|
+
this.selectedNode.selected = false;
|
|
9650
|
+
}
|
|
9651
|
+
this.selectedNode = updatedTreeNode;
|
|
9652
|
+
let node = this.deepSearchTreeNode(updatedTreeNode === null || updatedTreeNode === void 0 ? void 0 : updatedTreeNode.identifier, this.treeFromBackend);
|
|
9653
|
+
if (!node) {
|
|
9654
|
+
throw Error('Tree node does not exist');
|
|
9655
|
+
}
|
|
9656
|
+
node.expanded = updatedTreeNode === null || updatedTreeNode === void 0 ? void 0 : updatedTreeNode.expanded;
|
|
9657
|
+
node.childrenNodes = updatedTreeNode === null || updatedTreeNode === void 0 ? void 0 : updatedTreeNode.childrenNodes;
|
|
9658
|
+
node.selected = updatedTreeNode === null || updatedTreeNode === void 0 ? void 0 : updatedTreeNode.selected;
|
|
9659
|
+
treeNode = updatedTreeNode;
|
|
9660
|
+
this.syncTree();
|
|
9661
|
+
this.viewContext.getAndSyncViewContext(this.viewContext.getUuidOfPage(this.viewContextName));
|
|
9124
9662
|
});
|
|
9125
9663
|
}
|
|
9126
9664
|
updateTreeOnTheFly() {
|
|
@@ -9285,17 +9823,13 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
9285
9823
|
let nodeId = uiActionRequest.params['nodeUuid'];
|
|
9286
9824
|
delete uiActionRequest.params['nodeUuid'];
|
|
9287
9825
|
let viewUuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9288
|
-
this.treeFromBackend = yield this.service
|
|
9289
|
-
.performAction(viewUuid, this.treeId, nodeId, uiActionRequest)
|
|
9290
|
-
.toPromise();
|
|
9826
|
+
this.treeFromBackend = yield this.viewContext.handlePerformActionResponse(yield this.service.performAction2(viewUuid, this.treeId, nodeId, uiActionRequest).toPromise());
|
|
9291
9827
|
});
|
|
9292
9828
|
}
|
|
9293
9829
|
performMainUiActionRequest(uiActionRequest) {
|
|
9294
9830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9295
9831
|
let viewUuid = this.viewContext.getUuidOfPage(this.pageName);
|
|
9296
|
-
this.treeFromBackend = yield this.service
|
|
9297
|
-
.performMainAction(viewUuid, this.treeId, uiActionRequest)
|
|
9298
|
-
.toPromise();
|
|
9832
|
+
this.treeFromBackend = yield this.viewContext.handlePerformActionResponse(yield this.service.performMainAction2(viewUuid, this.treeId, uiActionRequest).toPromise());
|
|
9299
9833
|
});
|
|
9300
9834
|
}
|
|
9301
9835
|
handleSpecificDemandsAsynchronously(uiAction, uiActionRequest) {
|
|
@@ -13269,7 +13803,10 @@ class SmartFilterEditorContentComponent {
|
|
|
13269
13803
|
this.smartformChangeSubscription = (_f = (_e = this.formChild) === null || _e === void 0 ? void 0 : _e.onBlurSubject) === null || _f === void 0 ? void 0 : _f.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
13270
13804
|
this.save();
|
|
13271
13805
|
});
|
|
13272
|
-
|
|
13806
|
+
if (this.smartformSophisticatedChangeSubscription) {
|
|
13807
|
+
this.smartformSophisticatedChangeSubscription.unsubscribe();
|
|
13808
|
+
}
|
|
13809
|
+
this.smartformSophisticatedChangeSubscription = (_h = (_g = this.formChild) === null || _g === void 0 ? void 0 : _g.sophisticatedValueChange) === null || _h === void 0 ? void 0 : _h.pipe(takeUntil(this._destroy$)).subscribe((change) => {
|
|
13273
13810
|
if (change.key === 'expressionData.currentOperation') {
|
|
13274
13811
|
this.save();
|
|
13275
13812
|
}
|