@eo-sdk/client 10.6.10 → 10.6.11
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/app/eo-client/about-state/about-state.component.d.ts.map +1 -1
- package/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.d.ts.map +1 -1
- package/app/eo-framework/util/services/utilities.service.d.ts +190 -0
- package/app/eo-framework/util/services/utilities.service.d.ts.map +1 -1
- package/esm2020/app/eo-client/about-state/about-state.component.mjs +3 -3
- package/esm2020/app/eo-framework/actions/actions/custom-actions/custom-actions.component.mjs +3 -3
- package/esm2020/app/eo-framework/object-form/object-form/object-form-script/object-form-script.service.mjs +4 -4
- package/esm2020/app/eo-framework/object-form/object-form/object-form-script/object-form-scripting-scope.mjs +7 -7
- package/esm2020/app/eo-framework/object-form/object-form/object-form.component.mjs +3 -3
- package/esm2020/app/eo-framework/quick-search/quick-search/quick-search.component.mjs +3 -3
- package/esm2020/app/eo-framework/util/services/utilities.service.mjs +4 -1
- package/esm2020/projects/eo-sdk/core/lib/service/system/system.service.mjs +4 -4
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs +3 -3
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2015/eo-sdk-client.mjs +39 -37
- package/fesm2015/eo-sdk-client.mjs.map +1 -1
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs +3 -3
- package/fesm2020/eo-sdk-client-projects-eo-sdk-core.mjs.map +1 -1
- package/fesm2020/eo-sdk-client.mjs +39 -37
- package/fesm2020/eo-sdk-client.mjs.map +1 -1
- package/misc/scripts/prebuild-about-state.js +2 -3
- package/package.json +3 -3
|
@@ -4,15 +4,16 @@ import * as i2$2 from '@angular/common';
|
|
|
4
4
|
import { DecimalPipe, PercentPipe, CurrencyPipe, DatePipe, getLocaleDateTimeFormat, FormatWidth, getLocaleTimeFormat, getLocaleDateFormat, CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/common/http';
|
|
6
6
|
import { HttpResponse, HttpErrorResponse, HttpClientModule, HTTP_INTERCEPTORS, HttpHeaders } from '@angular/common/http';
|
|
7
|
-
import { ReplaySubject, BehaviorSubject, from, forkJoin, of, Subject, fromEvent, firstValueFrom, AsyncSubject, Observable, EMPTY, map as map$
|
|
8
|
-
import { groupBy, mergeMap, reduce, tap, catchError, map, debounceTime, throttleTime, filter, switchMap, take, combineLatest, finalize, pluck, withLatestFrom, first } from 'rxjs/operators';
|
|
7
|
+
import { ReplaySubject, BehaviorSubject, from, forkJoin, of, Subject, fromEvent, firstValueFrom, AsyncSubject, Observable, EMPTY, map as map$2, skip, tap as tap$1 } from 'rxjs';
|
|
8
|
+
import { groupBy, mergeMap, reduce, tap, catchError, map, debounceTime, throttleTime, filter as filter$1, switchMap, take as take$1, combineLatest, finalize, pluck, withLatestFrom, first as first$1 } from 'rxjs/operators';
|
|
9
9
|
import * as i1 from '@eo-sdk/core';
|
|
10
10
|
import { SearchQuery, SearchState, EnaioEvent, Utils, CORE_CONFIG, UploadTarget, DmsObject, EnvironmentEnaio, SearchFilter, RangeValue, AuthService, Logger, NotificationsService, TranslateService, EoError, SearchService, InboxItem, Process, PreparedItem, WorkItem, StoredQuery, ClipboardAction, QueryScope, EoSharedModule, FieldDefinition, SubscriptionMode, TranslateModule, UploadFileItem, StoredQueriesService, SortOption, SearchResult } from '@eo-sdk/core';
|
|
11
11
|
import * as i2$1 from '@angular/router';
|
|
12
12
|
import { NavigationStart, Router, RouterModule, NavigationEnd } from '@angular/router';
|
|
13
|
-
import { NumberFilter, Utils as Utils$1, SimpleFilter, NumberSequence, _
|
|
13
|
+
import { NumberFilter, Utils as Utils$1, SimpleFilter, NumberSequence, _, RowNode, Autowired, PostConstruct, Bean, ModuleNames, DateFilter } from '@ag-grid-community/core';
|
|
14
14
|
import { __decorate, __awaiter } from 'tslib';
|
|
15
15
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
16
|
+
import { isNaN as isNaN$1, assign, bind, camelCase, capitalize, ceil, chunk, clone, cloneDeep, concat, debounce, each, endsWith, entries, escape, every, extend, filter, find, findIndex, findKey, first, flatMap, floor, forEach, get, groupBy as groupBy$1, has, includes, indexOf, isArray, isDate, isEmpty, isNumber, isObject, isString, join, keys, map as map$1, orderBy, reduce as reduce$1, remove, replace, reverse, set, slice, some, sortBy, split, startsWith, sum, take, uniqBy, values } from 'lodash-es';
|
|
16
17
|
import * as i1$1 from '@angular/platform-browser';
|
|
17
18
|
import * as i1$2 from '@angular/forms';
|
|
18
19
|
import { Validators, UntypedFormControl, UntypedFormGroup, NG_VALUE_ACCESSOR, NG_VALIDATORS, NgModel, FormsModule, ReactiveFormsModule, FormGroup, FormControl, NgForm } from '@angular/forms';
|
|
@@ -24,7 +25,6 @@ import * as i2$3 from '@yuuvis/components/overlay';
|
|
|
24
25
|
import { YvcOverlayModule } from '@yuuvis/components/overlay';
|
|
25
26
|
import * as i5 from '@angular/cdk/a11y';
|
|
26
27
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
27
|
-
import * as _ from 'lodash';
|
|
28
28
|
import moment from 'moment';
|
|
29
29
|
import * as i7 from '@yuuvis/components/autocomplete';
|
|
30
30
|
import { YvcAutocompleteModule } from '@yuuvis/components/autocomplete';
|
|
@@ -1261,7 +1261,7 @@ class UtilitiesService {
|
|
|
1261
1261
|
return true;
|
|
1262
1262
|
}
|
|
1263
1263
|
if (typeof obj === 'number') {
|
|
1264
|
-
return isNaN(obj);
|
|
1264
|
+
return isNaN$1(obj);
|
|
1265
1265
|
}
|
|
1266
1266
|
return typeof obj === 'boolean' ? false : !Object.keys(obj).length;
|
|
1267
1267
|
}
|
|
@@ -1269,6 +1269,8 @@ class UtilitiesService {
|
|
|
1269
1269
|
return typeof val === 'boolean' ? !val : UtilitiesService.isEmpty(val);
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
|
+
// minimal selection of lodash functions
|
|
1273
|
+
UtilitiesService.lodash = { assign, bind, camelCase, capitalize, ceil, chunk, clone, cloneDeep, concat, debounce, each, endsWith, entries, escape, every, extend, filter, find, findIndex, findKey, first, flatMap, floor, forEach, get, groupBy: groupBy$1, has, includes, indexOf, isArray, isDate, isEmpty, isNaN: isNaN$1, isNumber, isObject, isString, join, keys, map: map$1, orderBy, reduce: reduce$1, remove, replace, reverse, set, slice, some, sortBy, split, startsWith, sum, take, uniqBy, values };
|
|
1272
1274
|
UtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1273
1275
|
UtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService });
|
|
1274
1276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService, decorators: [{
|
|
@@ -2323,7 +2325,7 @@ class LayoutService {
|
|
|
2323
2325
|
this._disableCache = false;
|
|
2324
2326
|
this._history = {};
|
|
2325
2327
|
this.cache.getItem(this.CACHE_DISABLED_KEY).subscribe(val => this.disableCache = typeof val === 'boolean' ? val : false);
|
|
2326
|
-
this.router.events.pipe(filter(r => r instanceof NavigationStart))
|
|
2328
|
+
this.router.events.pipe(filter$1(r => r instanceof NavigationStart))
|
|
2327
2329
|
.subscribe(() => this.clearHistory());
|
|
2328
2330
|
}
|
|
2329
2331
|
// getUndockArea() {
|
|
@@ -3450,7 +3452,7 @@ class ObjectFormScriptService {
|
|
|
3450
3452
|
// Define form script the function
|
|
3451
3453
|
let formScriptFunction = this.defineFunction('Formscript/' + scriptName, script);
|
|
3452
3454
|
// run the form script
|
|
3453
|
-
let formScriptReturn = formScriptFunction(scope,
|
|
3455
|
+
let formScriptReturn = formScriptFunction(scope, UtilitiesService.lodash, moment);
|
|
3454
3456
|
// Check if the form script returns something and may export global scripts
|
|
3455
3457
|
if (formScriptReturn) {
|
|
3456
3458
|
this.importGlobalScriptsAndCallInit(scope, formScriptReturn);
|
|
@@ -3529,7 +3531,7 @@ class ObjectFormScriptService {
|
|
|
3529
3531
|
// define the global function ...
|
|
3530
3532
|
let globalScript = this.defineFunction('Global/' + name, res);
|
|
3531
3533
|
// ... and run it
|
|
3532
|
-
return globalScript(scope,
|
|
3534
|
+
return globalScript(scope, UtilitiesService.lodash, moment);
|
|
3533
3535
|
}));
|
|
3534
3536
|
}
|
|
3535
3537
|
}
|
|
@@ -3671,7 +3673,7 @@ class ScopeElement {
|
|
|
3671
3673
|
constructor(originalElement, onScriptingModelChange) {
|
|
3672
3674
|
this.originalElement = originalElement;
|
|
3673
3675
|
this.onScriptingModelChange = onScriptingModelChange;
|
|
3674
|
-
this.element =
|
|
3676
|
+
this.element = cloneDeep(originalElement);
|
|
3675
3677
|
if (this.element.value === undefined) {
|
|
3676
3678
|
this.element.value = null;
|
|
3677
3679
|
}
|
|
@@ -3689,10 +3691,10 @@ class ScopeElement {
|
|
|
3689
3691
|
createProxy(value) {
|
|
3690
3692
|
const handler = {
|
|
3691
3693
|
set: (target, key, val) => {
|
|
3692
|
-
const previousValue =
|
|
3694
|
+
const previousValue = cloneDeep(this.element.value);
|
|
3693
3695
|
target[key] = val;
|
|
3694
3696
|
if (this.hasValueChanged(this.element.value, previousValue) && !key.includes('_meta')) {
|
|
3695
|
-
this.onScriptingModelChange(this.element.name, { newValue:
|
|
3697
|
+
this.onScriptingModelChange(this.element.name, { newValue: cloneDeep(this.element.value), name: 'value' });
|
|
3696
3698
|
}
|
|
3697
3699
|
return true;
|
|
3698
3700
|
},
|
|
@@ -3723,7 +3725,7 @@ class ScopeElement {
|
|
|
3723
3725
|
return entryWithoutMetadata;
|
|
3724
3726
|
}
|
|
3725
3727
|
update(value, model) {
|
|
3726
|
-
const newValue =
|
|
3728
|
+
const newValue = cloneDeep(value);
|
|
3727
3729
|
if (this.hasValueChanged(this.element.value, value)) {
|
|
3728
3730
|
if (this.isProxyable(newValue)) {
|
|
3729
3731
|
this.element.value = this.createProxy(newValue);
|
|
@@ -3743,7 +3745,7 @@ class ScopeElement {
|
|
|
3743
3745
|
else {
|
|
3744
3746
|
this.element.value = value;
|
|
3745
3747
|
}
|
|
3746
|
-
this.onScriptingModelChange(this.element.name, { newValue:
|
|
3748
|
+
this.onScriptingModelChange(this.element.name, { newValue: cloneDeep(this.element.value), name: 'value' });
|
|
3747
3749
|
}
|
|
3748
3750
|
get value() {
|
|
3749
3751
|
return this.element.value;
|
|
@@ -8920,7 +8922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
8920
8922
|
class ObjectFormComponent {
|
|
8921
8923
|
set options(formOptions) {
|
|
8922
8924
|
this.defaultFormOptions = formOptions;
|
|
8923
|
-
this.formOptions =
|
|
8925
|
+
this.formOptions = cloneDeep(formOptions);
|
|
8924
8926
|
this.init();
|
|
8925
8927
|
}
|
|
8926
8928
|
constructor(logger, elementRef, formScriptService, formHelperService, cdRef) {
|
|
@@ -9287,7 +9289,7 @@ class CustomActionsComponent extends DmsObjectTarget {
|
|
|
9287
9289
|
};
|
|
9288
9290
|
try {
|
|
9289
9291
|
const run = new Function('scope', '_', 'moment', action.script + '\n;//# sourceURL=' + action.id + '.script.js');
|
|
9290
|
-
run(scope,
|
|
9292
|
+
run(scope, UtilitiesService.lodash, moment);
|
|
9291
9293
|
return of(true);
|
|
9292
9294
|
}
|
|
9293
9295
|
catch (error) {
|
|
@@ -9581,7 +9583,7 @@ let ActionMenuComponent = class ActionMenuComponent {
|
|
|
9581
9583
|
}
|
|
9582
9584
|
});
|
|
9583
9585
|
this.router.events
|
|
9584
|
-
.pipe(untilDestroyed(this), filter(evt => evt instanceof NavigationStart))
|
|
9586
|
+
.pipe(untilDestroyed(this), filter$1(evt => evt instanceof NavigationStart))
|
|
9585
9587
|
.subscribe(() => this.hide());
|
|
9586
9588
|
}
|
|
9587
9589
|
getActions() {
|
|
@@ -9696,8 +9698,8 @@ let ActionMenuComponent = class ActionMenuComponent {
|
|
|
9696
9698
|
anchorViewContainerRef.clear();
|
|
9697
9699
|
let componentRef = anchorViewContainerRef.createComponent(componentFactory);
|
|
9698
9700
|
componentRef.instance.selection = this.subSelection || this.selection;
|
|
9699
|
-
componentRef.instance.canceled.pipe(take(1), tap(() => (this.subSelection = null))).subscribe(() => this.onCancel());
|
|
9700
|
-
componentRef.instance.finished.pipe(take(1), tap(() => (this.subSelection = null))).subscribe(() => this.onFinish());
|
|
9701
|
+
componentRef.instance.canceled.pipe(take$1(1), tap(() => (this.subSelection = null))).subscribe(() => this.onCancel());
|
|
9702
|
+
componentRef.instance.finished.pipe(take$1(1), tap(() => (this.subSelection = null))).subscribe(() => this.onFinish());
|
|
9701
9703
|
if (inputs) {
|
|
9702
9704
|
Object.keys(inputs).forEach(function (key) {
|
|
9703
9705
|
componentRef.instance[key] = inputs[key];
|
|
@@ -10900,7 +10902,7 @@ let GroupStage = class GroupStage {
|
|
|
10900
10902
|
const { rowNode, changedPath, rowNodeTransaction, rowNodeOrder } = params;
|
|
10901
10903
|
const groupedCols = this.usingTreeData ? null : this.columnController.getRowGroupColumns();
|
|
10902
10904
|
const isGrouping = this.usingTreeData || (groupedCols && groupedCols.length > 0);
|
|
10903
|
-
const usingTransaction = isGrouping && _
|
|
10905
|
+
const usingTransaction = isGrouping && _.exists(rowNodeTransaction);
|
|
10904
10906
|
const details = {
|
|
10905
10907
|
// someone complained that the parent attribute was causing some change detection
|
|
10906
10908
|
// to break is some angular add-on - which i never used. taking the parent out breaks
|
|
@@ -10940,7 +10942,7 @@ let GroupStage = class GroupStage {
|
|
|
10940
10942
|
// this is used when doing delta updates, eg Redux, keeps nodes in right order
|
|
10941
10943
|
sortChildren(details) {
|
|
10942
10944
|
details.changedPath.forEachChangedNodeDepthFirst(rowNode => {
|
|
10943
|
-
_
|
|
10945
|
+
_.sortRowNodesByOrder(rowNode.childrenAfterGroup, details.rowNodeOrder);
|
|
10944
10946
|
});
|
|
10945
10947
|
}
|
|
10946
10948
|
sortGroupsWithComparator(rootNode) {
|
|
@@ -10949,11 +10951,11 @@ let GroupStage = class GroupStage {
|
|
|
10949
10951
|
return;
|
|
10950
10952
|
}
|
|
10951
10953
|
const comparator = this.gridOptionsWrapper.getDefaultGroupSortComparator();
|
|
10952
|
-
if (_
|
|
10954
|
+
if (_.exists(comparator)) {
|
|
10953
10955
|
recursiveSort(rootNode);
|
|
10954
10956
|
}
|
|
10955
10957
|
function recursiveSort(rowNode) {
|
|
10956
|
-
const doSort = _
|
|
10958
|
+
const doSort = _.exists(rowNode.childrenAfterGroup) &&
|
|
10957
10959
|
// we only want to sort groups, so we do not sort leafs (a leaf group has leafs as children)
|
|
10958
10960
|
!rowNode.leafGroup;
|
|
10959
10961
|
if (doSort) {
|
|
@@ -10988,7 +10990,7 @@ let GroupStage = class GroupStage {
|
|
|
10988
10990
|
const infoToKeyMapper = (item) => item.key;
|
|
10989
10991
|
const oldPath = this.getExistingPathForNode(childNode, details).map(infoToKeyMapper);
|
|
10990
10992
|
const newPath = this.getGroupInfo(childNode, details).map(infoToKeyMapper);
|
|
10991
|
-
const nodeInCorrectPath = _
|
|
10993
|
+
const nodeInCorrectPath = _.compareArrays(oldPath, newPath);
|
|
10992
10994
|
if (!nodeInCorrectPath) {
|
|
10993
10995
|
this.moveNode(childNode, details);
|
|
10994
10996
|
}
|
|
@@ -11108,7 +11110,7 @@ let GroupStage = class GroupStage {
|
|
|
11108
11110
|
batchRemover.removeFromChildrenAfterGroup(child.parent, child);
|
|
11109
11111
|
}
|
|
11110
11112
|
else {
|
|
11111
|
-
_
|
|
11113
|
+
_.removeFromArray(child.parent.childrenAfterGroup, child);
|
|
11112
11114
|
}
|
|
11113
11115
|
}
|
|
11114
11116
|
const mapKey = this.getChildrenMappedKey(child.key, child.rowGroupColumn);
|
|
@@ -11135,7 +11137,7 @@ let GroupStage = class GroupStage {
|
|
|
11135
11137
|
if (d1.pivotMode !== d2.pivotMode) {
|
|
11136
11138
|
return false;
|
|
11137
11139
|
}
|
|
11138
|
-
if (!_
|
|
11140
|
+
if (!_.compareArrays(d1.groupedCols, d2.groupedCols)) {
|
|
11139
11141
|
return false;
|
|
11140
11142
|
}
|
|
11141
11143
|
return true;
|
|
@@ -11293,7 +11295,7 @@ let GroupStage = class GroupStage {
|
|
|
11293
11295
|
getGroupInfoFromCallback(rowNode) {
|
|
11294
11296
|
const keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
11295
11297
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
11296
|
-
_
|
|
11298
|
+
_.doOnce(() => console.warn(`getDataPath() should not return an empty path for data`, rowNode.data), 'groupStage.getGroupInfoFromCallback');
|
|
11297
11299
|
}
|
|
11298
11300
|
const groupInfoMapper = (key) => ({ key, field: null, rowGroupColumn: null });
|
|
11299
11301
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -11454,7 +11456,7 @@ class CodesystemFilterComponent extends CodesystemComponent {
|
|
|
11454
11456
|
this.params = params;
|
|
11455
11457
|
this.codesystem = this._getCodesystemByQname(this.params.colDef.refData.qname);
|
|
11456
11458
|
this.pickerTitle = this.params.colDef.headerName;
|
|
11457
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11459
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11458
11460
|
let elements = this.params.api['filterManager'].popupService.popupList;
|
|
11459
11461
|
if (event.data.active) {
|
|
11460
11462
|
elements.push({ element: document.body });
|
|
@@ -11520,7 +11522,7 @@ class DatetimeFilterComponent extends DateComponent {
|
|
|
11520
11522
|
this.filterInstance = this.filterParams.api.getFilterInstance(this.filterParams.colDef.field);
|
|
11521
11523
|
this.filterInstance.serialize = this.serialize.bind(this);
|
|
11522
11524
|
}, 0);
|
|
11523
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.filterParams.column && this.filterParams.column.isMenuVisible())).subscribe((event) => {
|
|
11525
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.filterParams.column && this.filterParams.column.isMenuVisible())).subscribe((event) => {
|
|
11524
11526
|
let elements = this.filterParams.api['filterManager'].popupService.popupList;
|
|
11525
11527
|
if (event.data.active) {
|
|
11526
11528
|
elements.push({ element: document.body });
|
|
@@ -11602,7 +11604,7 @@ class DynamicListFilterComponent extends DynamicListComponent {
|
|
|
11602
11604
|
setTimeout(() => {
|
|
11603
11605
|
this.column = this.params.api.columnController.gridColumns.find(col => col.menuVisible);
|
|
11604
11606
|
}, 0);
|
|
11605
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11607
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11606
11608
|
let elements = this.params.api['filterManager'].popupService.popupList;
|
|
11607
11609
|
if (event.data.active) {
|
|
11608
11610
|
elements.push({ element: document.body });
|
|
@@ -19179,7 +19181,7 @@ class EditIconComponent {
|
|
|
19179
19181
|
this.agentService.openDocument(this.item, lock);
|
|
19180
19182
|
}
|
|
19181
19183
|
fetchAgentAlwayslock() {
|
|
19182
|
-
this.agentService.isConnected$.pipe(take(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
19184
|
+
this.agentService.isConnected$.pipe(take$1(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
19183
19185
|
if (config.hasOwnProperty(agentConfigKeys.LOCKSETTINGS) && Object.values(LockSettings).includes(config[agentConfigKeys.LOCKSETTINGS])) {
|
|
19184
19186
|
this.agentAlwayslock = config[agentConfigKeys.LOCKSETTINGS];
|
|
19185
19187
|
}
|
|
@@ -20936,7 +20938,7 @@ class QuickSearchComponent {
|
|
|
20936
20938
|
}
|
|
20937
20939
|
});
|
|
20938
20940
|
// group by object type group
|
|
20939
|
-
this.resultGroups =
|
|
20941
|
+
this.resultGroups = groupBy$1(aggTypes.sort(Utils.sortValues('label')), function (t) {
|
|
20940
20942
|
return t.group;
|
|
20941
20943
|
});
|
|
20942
20944
|
this.resultTypes = [];
|
|
@@ -22638,10 +22640,10 @@ class AboutStateComponent {
|
|
|
22638
22640
|
this.backend = backend;
|
|
22639
22641
|
this.userService = userService;
|
|
22640
22642
|
this.config = config;
|
|
22641
|
-
this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/cdk", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/common", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/compiler", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/core", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/forms", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/router", "version": "15.2.2", "license": "MIT" }, { "name": "@carbon/charts-angular", "version": "1.8.1", "license": "Apache-2.0" }, { "name": "@eo-sdk/core", "version": "10.6.
|
|
22643
|
+
this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/cdk", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/common", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/compiler", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/core", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/forms", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "15.2.2", "license": "MIT" }, { "name": "@angular/router", "version": "15.2.2", "license": "MIT" }, { "name": "@carbon/charts-angular", "version": "1.8.1", "license": "Apache-2.0" }, { "name": "@eo-sdk/core", "version": "10.6.11", "license": "MIT" }, { "name": "@ngneat/until-destroy", "version": "10.0.0", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "15.0.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "14.0.0", "license": "MIT" }, { "name": "@yuuvis/components", "version": "1.0.6", "license": "MIT" }, { "name": "@yuuvis/widget-grid", "version": "1.0.2", "license": "MIT" }, { "name": "core-js", "version": "2.6.12", "license": "MIT" }, { "name": "file-saver", "version": "2.0.5", "license": "MIT" }, { "name": "font-awesome", "version": "4.7.0", "license": "(OFL-1.1 AND MIT)" }, { "name": "lodash-es", "version": "4.17.21", "license": "MIT" }, { "name": "moment", "version": "2.29.4", "license": "MIT" }, { "name": "ngx-toastr", "version": "16.0.2", "license": "MIT" }, { "name": "rxjs", "version": "7.5.7", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.6.2", "license": "0BSD" }, { "name": "zone.js", "version": "0.11.8", "license": "MIT" }];
|
|
22642
22644
|
this.ctrl = {
|
|
22643
22645
|
componentName: 'yuuvis® RAD client',
|
|
22644
|
-
componentVersion: '10.6.
|
|
22646
|
+
componentVersion: '10.6.11',
|
|
22645
22647
|
productName: '',
|
|
22646
22648
|
productVersion: ''
|
|
22647
22649
|
};
|
|
@@ -23197,7 +23199,7 @@ let HitlistWidgetComponent = class HitlistWidgetComponent {
|
|
|
23197
23199
|
let count = new Map();
|
|
23198
23200
|
this._query = this.searchService.buildQuery(this._query);
|
|
23199
23201
|
this.searchService.getSearchState(Object.assign({ aggs: { type: {} } }, this._query.getQueryJson()))
|
|
23200
|
-
.pipe(map$
|
|
23202
|
+
.pipe(map$2(state => {
|
|
23201
23203
|
return count = state.aggregations.type;
|
|
23202
23204
|
}))
|
|
23203
23205
|
.subscribe(() => {
|
|
@@ -23220,7 +23222,7 @@ let HitlistWidgetComponent = class HitlistWidgetComponent {
|
|
|
23220
23222
|
this._query = this.searchService.buildQuery(this._query);
|
|
23221
23223
|
this.searchService
|
|
23222
23224
|
.executeQuery(this._query.getQueryJson(), false, (_f = this._widgetConfig) === null || _f === void 0 ? void 0 : _f.formValue.size)
|
|
23223
|
-
.pipe(map$
|
|
23225
|
+
.pipe(map$2(result => {
|
|
23224
23226
|
return result.hits.hits.map(hit => {
|
|
23225
23227
|
return {
|
|
23226
23228
|
'title': hit._source.title,
|
|
@@ -24228,7 +24230,7 @@ let SettingsComponent = class SettingsComponent {
|
|
|
24228
24230
|
this.getSchemaLocales();
|
|
24229
24231
|
this.getUserData();
|
|
24230
24232
|
this.agentLockSettings = userService.getCurrentUser().userSettings.alwayslock;
|
|
24231
|
-
this.agentService.isConnected$.pipe(take(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
24233
|
+
this.agentService.isConnected$.pipe(take$1(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
24232
24234
|
this.useAgentControl = this.fb.control(isConnected);
|
|
24233
24235
|
if (config.hasOwnProperty(agentConfigKeys.AUTOCONNECT)) {
|
|
24234
24236
|
this.showAgentConfig = config[agentConfigKeys.AUTOCONNECT];
|
|
@@ -24849,7 +24851,7 @@ let StoredQueriesStateComponent = class StoredQueriesStateComponent {
|
|
|
24849
24851
|
}
|
|
24850
24852
|
createNewStoredQuery() {
|
|
24851
24853
|
this.appSearch.query$
|
|
24852
|
-
.pipe(untilDestroyed(this), first())
|
|
24854
|
+
.pipe(untilDestroyed(this), first$1())
|
|
24853
24855
|
.subscribe(query => {
|
|
24854
24856
|
let sq = new StoredQuery();
|
|
24855
24857
|
sq.setQuery(query);
|