@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 } 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';
|
|
@@ -1259,7 +1259,7 @@ class UtilitiesService {
|
|
|
1259
1259
|
return true;
|
|
1260
1260
|
}
|
|
1261
1261
|
if (typeof obj === 'number') {
|
|
1262
|
-
return isNaN(obj);
|
|
1262
|
+
return isNaN$1(obj);
|
|
1263
1263
|
}
|
|
1264
1264
|
return typeof obj === 'boolean' ? false : !Object.keys(obj).length;
|
|
1265
1265
|
}
|
|
@@ -1267,6 +1267,8 @@ class UtilitiesService {
|
|
|
1267
1267
|
return typeof val === 'boolean' ? !val : UtilitiesService.isEmpty(val);
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
|
+
// minimal selection of lodash functions
|
|
1271
|
+
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 };
|
|
1270
1272
|
UtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1271
1273
|
UtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService });
|
|
1272
1274
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: UtilitiesService, decorators: [{
|
|
@@ -2325,7 +2327,7 @@ class LayoutService {
|
|
|
2325
2327
|
this._disableCache = false;
|
|
2326
2328
|
this._history = {};
|
|
2327
2329
|
this.cache.getItem(this.CACHE_DISABLED_KEY).subscribe(val => this.disableCache = typeof val === 'boolean' ? val : false);
|
|
2328
|
-
this.router.events.pipe(filter(r => r instanceof NavigationStart))
|
|
2330
|
+
this.router.events.pipe(filter$1(r => r instanceof NavigationStart))
|
|
2329
2331
|
.subscribe(() => this.clearHistory());
|
|
2330
2332
|
}
|
|
2331
2333
|
// 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;
|
|
@@ -8922,7 +8924,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImpor
|
|
|
8922
8924
|
class ObjectFormComponent {
|
|
8923
8925
|
set options(formOptions) {
|
|
8924
8926
|
this.defaultFormOptions = formOptions;
|
|
8925
|
-
this.formOptions =
|
|
8927
|
+
this.formOptions = cloneDeep(formOptions);
|
|
8926
8928
|
this.init();
|
|
8927
8929
|
}
|
|
8928
8930
|
constructor(logger, elementRef, formScriptService, formHelperService, cdRef) {
|
|
@@ -9289,7 +9291,7 @@ class CustomActionsComponent extends DmsObjectTarget {
|
|
|
9289
9291
|
};
|
|
9290
9292
|
try {
|
|
9291
9293
|
const run = new Function('scope', '_', 'moment', action.script + '\n;//# sourceURL=' + action.id + '.script.js');
|
|
9292
|
-
run(scope,
|
|
9294
|
+
run(scope, UtilitiesService.lodash, moment);
|
|
9293
9295
|
return of(true);
|
|
9294
9296
|
}
|
|
9295
9297
|
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];
|
|
@@ -10899,7 +10901,7 @@ let GroupStage = class GroupStage {
|
|
|
10899
10901
|
const { rowNode, changedPath, rowNodeTransaction, rowNodeOrder } = params;
|
|
10900
10902
|
const groupedCols = this.usingTreeData ? null : this.columnController.getRowGroupColumns();
|
|
10901
10903
|
const isGrouping = this.usingTreeData || (groupedCols && groupedCols.length > 0);
|
|
10902
|
-
const usingTransaction = isGrouping && _
|
|
10904
|
+
const usingTransaction = isGrouping && _.exists(rowNodeTransaction);
|
|
10903
10905
|
const details = {
|
|
10904
10906
|
// someone complained that the parent attribute was causing some change detection
|
|
10905
10907
|
// to break is some angular add-on - which i never used. taking the parent out breaks
|
|
@@ -10939,7 +10941,7 @@ let GroupStage = class GroupStage {
|
|
|
10939
10941
|
// this is used when doing delta updates, eg Redux, keeps nodes in right order
|
|
10940
10942
|
sortChildren(details) {
|
|
10941
10943
|
details.changedPath.forEachChangedNodeDepthFirst(rowNode => {
|
|
10942
|
-
_
|
|
10944
|
+
_.sortRowNodesByOrder(rowNode.childrenAfterGroup, details.rowNodeOrder);
|
|
10943
10945
|
});
|
|
10944
10946
|
}
|
|
10945
10947
|
sortGroupsWithComparator(rootNode) {
|
|
@@ -10948,11 +10950,11 @@ let GroupStage = class GroupStage {
|
|
|
10948
10950
|
return;
|
|
10949
10951
|
}
|
|
10950
10952
|
const comparator = this.gridOptionsWrapper.getDefaultGroupSortComparator();
|
|
10951
|
-
if (_
|
|
10953
|
+
if (_.exists(comparator)) {
|
|
10952
10954
|
recursiveSort(rootNode);
|
|
10953
10955
|
}
|
|
10954
10956
|
function recursiveSort(rowNode) {
|
|
10955
|
-
const doSort = _
|
|
10957
|
+
const doSort = _.exists(rowNode.childrenAfterGroup) &&
|
|
10956
10958
|
// we only want to sort groups, so we do not sort leafs (a leaf group has leafs as children)
|
|
10957
10959
|
!rowNode.leafGroup;
|
|
10958
10960
|
if (doSort) {
|
|
@@ -10987,7 +10989,7 @@ let GroupStage = class GroupStage {
|
|
|
10987
10989
|
const infoToKeyMapper = (item) => item.key;
|
|
10988
10990
|
const oldPath = this.getExistingPathForNode(childNode, details).map(infoToKeyMapper);
|
|
10989
10991
|
const newPath = this.getGroupInfo(childNode, details).map(infoToKeyMapper);
|
|
10990
|
-
const nodeInCorrectPath = _
|
|
10992
|
+
const nodeInCorrectPath = _.compareArrays(oldPath, newPath);
|
|
10991
10993
|
if (!nodeInCorrectPath) {
|
|
10992
10994
|
this.moveNode(childNode, details);
|
|
10993
10995
|
}
|
|
@@ -11107,7 +11109,7 @@ let GroupStage = class GroupStage {
|
|
|
11107
11109
|
batchRemover.removeFromChildrenAfterGroup(child.parent, child);
|
|
11108
11110
|
}
|
|
11109
11111
|
else {
|
|
11110
|
-
_
|
|
11112
|
+
_.removeFromArray(child.parent.childrenAfterGroup, child);
|
|
11111
11113
|
}
|
|
11112
11114
|
}
|
|
11113
11115
|
const mapKey = this.getChildrenMappedKey(child.key, child.rowGroupColumn);
|
|
@@ -11134,7 +11136,7 @@ let GroupStage = class GroupStage {
|
|
|
11134
11136
|
if (d1.pivotMode !== d2.pivotMode) {
|
|
11135
11137
|
return false;
|
|
11136
11138
|
}
|
|
11137
|
-
if (!_
|
|
11139
|
+
if (!_.compareArrays(d1.groupedCols, d2.groupedCols)) {
|
|
11138
11140
|
return false;
|
|
11139
11141
|
}
|
|
11140
11142
|
return true;
|
|
@@ -11292,7 +11294,7 @@ let GroupStage = class GroupStage {
|
|
|
11292
11294
|
getGroupInfoFromCallback(rowNode) {
|
|
11293
11295
|
const keys = this.getDataPath ? this.getDataPath(rowNode.data) : null;
|
|
11294
11296
|
if (keys === null || keys === undefined || keys.length === 0) {
|
|
11295
|
-
_
|
|
11297
|
+
_.doOnce(() => console.warn(`getDataPath() should not return an empty path for data`, rowNode.data), 'groupStage.getGroupInfoFromCallback');
|
|
11296
11298
|
}
|
|
11297
11299
|
const groupInfoMapper = (key) => ({ key, field: null, rowGroupColumn: null });
|
|
11298
11300
|
return keys ? keys.map(groupInfoMapper) : [];
|
|
@@ -11453,7 +11455,7 @@ class CodesystemFilterComponent extends CodesystemComponent {
|
|
|
11453
11455
|
this.params = params;
|
|
11454
11456
|
this.codesystem = this._getCodesystemByQname(this.params.colDef.refData.qname);
|
|
11455
11457
|
this.pickerTitle = this.params.colDef.headerName;
|
|
11456
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11458
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11457
11459
|
let elements = this.params.api['filterManager'].popupService.popupList;
|
|
11458
11460
|
if (event.data.active) {
|
|
11459
11461
|
elements.push({ element: document.body });
|
|
@@ -11519,7 +11521,7 @@ class DatetimeFilterComponent extends DateComponent {
|
|
|
11519
11521
|
this.filterInstance = this.filterParams.api.getFilterInstance(this.filterParams.colDef.field);
|
|
11520
11522
|
this.filterInstance.serialize = this.serialize.bind(this);
|
|
11521
11523
|
}, 0);
|
|
11522
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.filterParams.column && this.filterParams.column.isMenuVisible())).subscribe((event) => {
|
|
11524
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.filterParams.column && this.filterParams.column.isMenuVisible())).subscribe((event) => {
|
|
11523
11525
|
let elements = this.filterParams.api['filterManager'].popupService.popupList;
|
|
11524
11526
|
if (event.data.active) {
|
|
11525
11527
|
elements.push({ element: document.body });
|
|
@@ -11601,7 +11603,7 @@ class DynamicListFilterComponent extends DynamicListComponent {
|
|
|
11601
11603
|
setTimeout(() => {
|
|
11602
11604
|
this.column = this.params.api.columnController.gridColumns.find(col => col.menuVisible);
|
|
11603
11605
|
}, 0);
|
|
11604
|
-
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11606
|
+
this.eventService.on(EnaioEvent.EO_DIALOG_STACK_CHANGED).pipe(filter$1((event) => event && this.params.column && this.params.column.isMenuVisible())).subscribe((event) => {
|
|
11605
11607
|
let elements = this.params.api['filterManager'].popupService.popupList;
|
|
11606
11608
|
if (event.data.active) {
|
|
11607
11609
|
elements.push({ element: document.body });
|
|
@@ -19173,7 +19175,7 @@ class EditIconComponent {
|
|
|
19173
19175
|
this.agentService.openDocument(this.item, lock);
|
|
19174
19176
|
}
|
|
19175
19177
|
fetchAgentAlwayslock() {
|
|
19176
|
-
this.agentService.isConnected$.pipe(take(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
19178
|
+
this.agentService.isConnected$.pipe(take$1(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
19177
19179
|
if (config.hasOwnProperty(agentConfigKeys.LOCKSETTINGS) && Object.values(LockSettings).includes(config[agentConfigKeys.LOCKSETTINGS])) {
|
|
19178
19180
|
this.agentAlwayslock = config[agentConfigKeys.LOCKSETTINGS];
|
|
19179
19181
|
}
|
|
@@ -20924,7 +20926,7 @@ class QuickSearchComponent {
|
|
|
20924
20926
|
}
|
|
20925
20927
|
});
|
|
20926
20928
|
// group by object type group
|
|
20927
|
-
this.resultGroups =
|
|
20929
|
+
this.resultGroups = groupBy$1(aggTypes.sort(Utils.sortValues('label')), function (t) {
|
|
20928
20930
|
return t.group;
|
|
20929
20931
|
});
|
|
20930
20932
|
this.resultTypes = [];
|
|
@@ -22626,10 +22628,10 @@ class AboutStateComponent {
|
|
|
22626
22628
|
this.backend = backend;
|
|
22627
22629
|
this.userService = userService;
|
|
22628
22630
|
this.config = config;
|
|
22629
|
-
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.
|
|
22631
|
+
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" }];
|
|
22630
22632
|
this.ctrl = {
|
|
22631
22633
|
componentName: 'yuuvis® RAD client',
|
|
22632
|
-
componentVersion: '10.6.
|
|
22634
|
+
componentVersion: '10.6.11',
|
|
22633
22635
|
productName: '',
|
|
22634
22636
|
productVersion: ''
|
|
22635
22637
|
};
|
|
@@ -23189,7 +23191,7 @@ let HitlistWidgetComponent = class HitlistWidgetComponent {
|
|
|
23189
23191
|
let count = new Map();
|
|
23190
23192
|
this._query = this.searchService.buildQuery(this._query);
|
|
23191
23193
|
this.searchService.getSearchState({ aggs: { type: {} }, ...this._query.getQueryJson() })
|
|
23192
|
-
.pipe(map$
|
|
23194
|
+
.pipe(map$2(state => {
|
|
23193
23195
|
return count = state.aggregations.type;
|
|
23194
23196
|
}))
|
|
23195
23197
|
.subscribe(() => {
|
|
@@ -23212,7 +23214,7 @@ let HitlistWidgetComponent = class HitlistWidgetComponent {
|
|
|
23212
23214
|
this._query = this.searchService.buildQuery(this._query);
|
|
23213
23215
|
this.searchService
|
|
23214
23216
|
.executeQuery(this._query.getQueryJson(), false, this._widgetConfig?.formValue.size)
|
|
23215
|
-
.pipe(map$
|
|
23217
|
+
.pipe(map$2(result => {
|
|
23216
23218
|
return result.hits.hits.map(hit => {
|
|
23217
23219
|
return {
|
|
23218
23220
|
'title': hit._source.title,
|
|
@@ -24212,7 +24214,7 @@ let SettingsComponent = class SettingsComponent {
|
|
|
24212
24214
|
this.getSchemaLocales();
|
|
24213
24215
|
this.getUserData();
|
|
24214
24216
|
this.agentLockSettings = userService.getCurrentUser().userSettings.alwayslock;
|
|
24215
|
-
this.agentService.isConnected$.pipe(take(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
24217
|
+
this.agentService.isConnected$.pipe(take$1(1), withLatestFrom(this.agentService.agentConfig$)).subscribe(([isConnected, config]) => {
|
|
24216
24218
|
this.useAgentControl = this.fb.control(isConnected);
|
|
24217
24219
|
if (config.hasOwnProperty(agentConfigKeys.AUTOCONNECT)) {
|
|
24218
24220
|
this.showAgentConfig = config[agentConfigKeys.AUTOCONNECT];
|
|
@@ -24831,7 +24833,7 @@ let StoredQueriesStateComponent = class StoredQueriesStateComponent {
|
|
|
24831
24833
|
}
|
|
24832
24834
|
createNewStoredQuery() {
|
|
24833
24835
|
this.appSearch.query$
|
|
24834
|
-
.pipe(untilDestroyed(this), first())
|
|
24836
|
+
.pipe(untilDestroyed(this), first$1())
|
|
24835
24837
|
.subscribe(query => {
|
|
24836
24838
|
let sq = new StoredQuery();
|
|
24837
24839
|
sq.setQuery(query);
|