@eo-sdk/client 8.16.13 → 8.16.15
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/bundles/eo-sdk-client.umd.js +36 -12
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-framework/actions/actions/share-object-action/share-object/share-object.component.js +2 -2
- package/esm2015/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.js +25 -6
- package/esm2015/app/eo-framework/form-elements/string/string.component.js +2 -2
- package/esm2015/app/eo-framework/tree/tree.component.js +2 -2
- package/fesm2015/eo-sdk-client.js +29 -10
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -6210,7 +6210,7 @@
|
|
|
6210
6210
|
// Recursive function walking the tree nodes and setting the nodes `selected` flags
|
|
6211
6211
|
TreeComponent.prototype.updateTreeNode = function (node, parents) {
|
|
6212
6212
|
var _this = this;
|
|
6213
|
-
node.selected = !!this.selectedNodes.find(function (n) { return node.id === n.
|
|
6213
|
+
node.selected = !!this.selectedNodes.find(function (n) { return node.id === n.value; });
|
|
6214
6214
|
node.expanded = this._expandedNodes.length ? !!this._expandedNodes.find(function (id) { return id === node.id; }) : node.expanded;
|
|
6215
6215
|
node.highlighted = !!this._highlightedNodes.find(function (id) { return id === node.id; });
|
|
6216
6216
|
node.focused = this.focusedNode && this.focusedNode.id === node.id ? this.focusedNode.focused : false;
|
|
@@ -7404,6 +7404,20 @@
|
|
|
7404
7404
|
this.selectedNodes = null;
|
|
7405
7405
|
}
|
|
7406
7406
|
}
|
|
7407
|
+
else {
|
|
7408
|
+
if (this.multiselect) {
|
|
7409
|
+
this.selectedNodes = values.map(function (v) {
|
|
7410
|
+
var node = {};
|
|
7411
|
+
node[_this.valueField] = v;
|
|
7412
|
+
return node;
|
|
7413
|
+
});
|
|
7414
|
+
}
|
|
7415
|
+
else {
|
|
7416
|
+
var node = {};
|
|
7417
|
+
node[this.valueField] = value;
|
|
7418
|
+
this.selectedNodes = node;
|
|
7419
|
+
}
|
|
7420
|
+
}
|
|
7407
7421
|
var nodes = !this.selectedNodes || Array.isArray(this.selectedNodes) ? this.selectedNodes || [] : [this.selectedNodes];
|
|
7408
7422
|
if (this._list && (nodes.length !== values.length || nodes.some(function (n, i) { return n[_this.valueField] !== values[i]; }))) {
|
|
7409
7423
|
this.buildTree();
|
|
@@ -7420,7 +7434,7 @@
|
|
|
7420
7434
|
this.setFormControlValue(wasInvalid);
|
|
7421
7435
|
};
|
|
7422
7436
|
DynamicListComponent.prototype.onAutoCompleteUnselect = function (node) {
|
|
7423
|
-
this.selectedNodes = this.selectedNodes.filter(function (sNode) { return sNode.
|
|
7437
|
+
this.selectedNodes = this.selectedNodes.filter(function (sNode) { return sNode.value !== node.value; });
|
|
7424
7438
|
this.setFormControlValue();
|
|
7425
7439
|
};
|
|
7426
7440
|
DynamicListComponent.prototype.onTreeSelectionChanged = function (evt) {
|
|
@@ -7447,7 +7461,7 @@
|
|
|
7447
7461
|
var v;
|
|
7448
7462
|
var changed;
|
|
7449
7463
|
if (this.multiselect) {
|
|
7450
|
-
v = this.selectedNodes ? this.selectedNodes.map(function (node) { return node
|
|
7464
|
+
v = this.selectedNodes ? this.selectedNodes.map(function (node) { return node[_this.valueField]; }) : [];
|
|
7451
7465
|
changed = !this.value || !(v.length === this.value.length && v.every(function (val) { return _this.value.some(function (curVal) { return curVal === val; }); }));
|
|
7452
7466
|
}
|
|
7453
7467
|
else {
|
|
@@ -7460,7 +7474,6 @@
|
|
|
7460
7474
|
}
|
|
7461
7475
|
};
|
|
7462
7476
|
DynamicListComponent.prototype.buildTree = function () {
|
|
7463
|
-
this.selectedNodes = [];
|
|
7464
7477
|
this.autocompleteValues = [];
|
|
7465
7478
|
var tree = [];
|
|
7466
7479
|
for (var i = 0; i < this._list.entries.length; i++) {
|
|
@@ -7486,16 +7499,27 @@
|
|
|
7486
7499
|
parentNode.push(node);
|
|
7487
7500
|
};
|
|
7488
7501
|
DynamicListComponent.prototype.checkSelected = function (node) {
|
|
7502
|
+
var _this = this;
|
|
7489
7503
|
if (!this.value) {
|
|
7490
7504
|
return;
|
|
7491
7505
|
}
|
|
7492
7506
|
if (this.multiselect) {
|
|
7493
|
-
|
|
7494
|
-
var isTreeNodeValueInValue = node.data[
|
|
7507
|
+
var _loop_1 = function (i) {
|
|
7508
|
+
var isTreeNodeValueInValue = node.data[this_1.valueField] === this_1.value[i];
|
|
7495
7509
|
if (isTreeNodeValueInValue) {
|
|
7496
|
-
|
|
7497
|
-
|
|
7510
|
+
var selectedNodeThatHasValue = this_1.selectedNodes.find(function (sN) { return sN[_this.valueField] === _this.value[i]; });
|
|
7511
|
+
if (!selectedNodeThatHasValue) {
|
|
7512
|
+
node.selected = true;
|
|
7513
|
+
this_1.selectedNodes.push(node);
|
|
7514
|
+
}
|
|
7515
|
+
else {
|
|
7516
|
+
selectedNodeThatHasValue.selected = true;
|
|
7517
|
+
}
|
|
7498
7518
|
}
|
|
7519
|
+
};
|
|
7520
|
+
var this_1 = this;
|
|
7521
|
+
for (var i = 0; i < this.value.length; i++) {
|
|
7522
|
+
_loop_1(i);
|
|
7499
7523
|
}
|
|
7500
7524
|
}
|
|
7501
7525
|
else {
|
|
@@ -9281,7 +9305,7 @@
|
|
|
9281
9305
|
StringComponent.decorators = [
|
|
9282
9306
|
{ type: i0.Component, args: [{
|
|
9283
9307
|
selector: 'eo-string',
|
|
9284
|
-
template: "<div class=\"eo-form-string\">\n\n <input *ngIf=\"!multiline && !multiselect && !autocomplete\"\n type=\"text\"\n pInputText\n (blur)=\"onBlur()\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"/>\n\n <!-- single line input with autocomplete -->\n <p-autoComplete *ngIf=\"!multiline && !multiselect && autocomplete\"\n #autocomplete\n [(ngModel)]=\"value\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [suggestions]=\"autocompleteRes\"\n (onBlur)=\"onBlur()\"\n (onSelect)=\"onValueChange($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\">\n </p-autoComplete>\n\n <!-- single line input with multiselect-->\n <p-chips *ngIf=\"!multiline && multiselect && !autocomplete\"\n [(ngModel)]=\"value\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\">\n </p-chips>\n\n <p-autoComplete *ngIf=\"!multiline && multiselect && autocomplete\"\n [(ngModel)]=\"value\"\n [suggestions]=\"autocompleteRes\"\n [minLength]=\"1\"\n [multiple]=\"true\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\"\n (keyup.enter)=\"onKeyUpEnter($event)\">\n </p-autoComplete>\n\n <!-- multi line text inputs -->\n <textarea class=\"input-textarea size-{{size}}\" pInputTextarea\n *ngIf=\"multiline\"\n (blur)=\"onBlur()\"\n [(ngModel)]=\"value\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (ngModelChange)=\"onValueChange($event)\"></textarea>\n\n <div class=\"classify\" [ngClass]=\"{empty: !value || situation === 'SEARCH'}\">\n <a href=\"mailto:{{formatedValue}}\" *ngIf=\"classification === 'email' && valid\">\n <i class=\"fa fa-envelope-o\"></i>\n </a>\n <a target=\"_blank\" href=\"{{value}}\" *ngIf=\"classification === 'url' && valid\">\n <i class=\"fa fa-globe\"></i>\n </a>\n </div>\n\n</div>\n",
|
|
9308
|
+
template: "<div class=\"eo-form-string\">\n\n <input *ngIf=\"!multiline && !multiselect && !autocomplete\"\n type=\"text\"\n pInputText\n (blur)=\"onBlur()\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"/>\n\n <!-- single line input with autocomplete -->\n <p-autoComplete *ngIf=\"!multiline && !multiselect && autocomplete\"\n #autocomplete\n [(ngModel)]=\"value\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [suggestions]=\"autocompleteRes\"\n (onBlur)=\"onBlur()\"\n (onSelect)=\"onValueChange($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\">\n </p-autoComplete>\n\n <!-- single line input with multiselect-->\n <p-chips *ngIf=\"!multiline && multiselect && !autocomplete\"\n [(ngModel)]=\"value\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\"\n [addOnBlur]=\"true\">\n </p-chips>\n\n <p-autoComplete *ngIf=\"!multiline && multiselect && autocomplete\"\n [(ngModel)]=\"value\"\n [suggestions]=\"autocompleteRes\"\n [minLength]=\"1\"\n [multiple]=\"true\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\"\n (keyup.enter)=\"onKeyUpEnter($event)\">\n </p-autoComplete>\n\n <!-- multi line text inputs -->\n <textarea class=\"input-textarea size-{{size}}\" pInputTextarea\n *ngIf=\"multiline\"\n (blur)=\"onBlur()\"\n [(ngModel)]=\"value\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (ngModelChange)=\"onValueChange($event)\"></textarea>\n\n <div class=\"classify\" [ngClass]=\"{empty: !value || situation === 'SEARCH'}\">\n <a href=\"mailto:{{formatedValue}}\" *ngIf=\"classification === 'email' && valid\">\n <i class=\"fa fa-envelope-o\"></i>\n </a>\n <a target=\"_blank\" href=\"{{value}}\" *ngIf=\"classification === 'url' && valid\">\n <i class=\"fa fa-globe\"></i>\n </a>\n </div>\n\n</div>\n",
|
|
9285
9309
|
providers: [
|
|
9286
9310
|
{
|
|
9287
9311
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -18036,7 +18060,7 @@
|
|
|
18036
18060
|
}
|
|
18037
18061
|
ShareObjectComponent.prototype.ngOnInit = function () {
|
|
18038
18062
|
var orgaValue = [];
|
|
18039
|
-
var shareChildren = this.selection[0].shares ? this.selection[0].shares[0].sharechildren : true;
|
|
18063
|
+
var shareChildren = this.selection[0].shares[0] ? this.selection[0].shares[0].sharechildren : true;
|
|
18040
18064
|
this.includeChildrenField.setValue(shareChildren);
|
|
18041
18065
|
if (this.selection[0].isFolder) {
|
|
18042
18066
|
this.header = this.translate.instant('eo.manage.rights.folder.title');
|
|
@@ -24589,10 +24613,10 @@
|
|
|
24589
24613
|
this.http = http;
|
|
24590
24614
|
this.userService = userService;
|
|
24591
24615
|
this.config = config;
|
|
24592
|
-
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": "11.2.0", "license": "MIT" }, { "name": "@angular/cdk", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/common", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/compiler", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/core", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/forms", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/router", "version": "11.2.0", "license": "MIT" }, { "name": "@eo-sdk/core", "version": "8.16.
|
|
24616
|
+
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": "11.2.0", "license": "MIT" }, { "name": "@angular/cdk", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/common", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/compiler", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/core", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/forms", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/router", "version": "11.2.0", "license": "MIT" }, { "name": "@eo-sdk/core", "version": "8.16.15", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "11.1.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "13.0.0", "license": "MIT" }, { "name": "@types/lodash", "version": "4.14.88", "license": "MIT" }, { "name": "core-js", "version": "2.5.7", "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": "keyboardevent-key-polyfill", "version": "1.1.0", "license": "CC0-1.0" }, { "name": "keycode-js", "version": "0.0.4", "license": "MIT" }, { "name": "mobile-drag-drop", "version": "2.2.0", "license": "MIT" }, { "name": "moment", "version": "2.22.2", "license": "MIT" }, { "name": "ngx-toastr", "version": "13.2.0", "license": "MIT" }, { "name": "primeicons", "version": "1.0.0-beta.6", "license": "MIT" }, { "name": "primeng", "version": "7.0.1", "license": "MIT" }, { "name": "reflect-metadata", "version": "0.1.10", "license": "Apache-2.0" }, { "name": "rxjs", "version": "6.6.3", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.1.0", "license": "0BSD" }, { "name": "zone.js", "version": "0.10.3", "license": "MIT" }];
|
|
24593
24617
|
this.ctrl = {
|
|
24594
24618
|
productName: 'yuuvis® RAD client',
|
|
24595
|
-
clientVersion: '8.16.
|
|
24619
|
+
clientVersion: '8.16.15'
|
|
24596
24620
|
};
|
|
24597
24621
|
this.licenses = {
|
|
24598
24622
|
'MIT': {
|