tnx-shared 5.3.358 → 5.3.360
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/tnx-shared.umd.js +39 -30
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/classes/base/list-component-base.js +2 -1
- package/esm2015/components/autocomplete-datasource/autocomplete-datasource.component.js +3 -3
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +15 -15
- package/esm2015/components/user-picker/user-picker.component.js +15 -15
- package/esm2015/services/user.service.js +9 -1
- package/fesm2015/tnx-shared.js +39 -30
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/user.service.d.ts +2 -0
- package/services/user.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
|
@@ -12470,6 +12470,14 @@
|
|
|
12470
12470
|
var url = this.serviceUri + "/UpdateUserAvatar";
|
|
12471
12471
|
return this.defaultPut(url, data);
|
|
12472
12472
|
};
|
|
12473
|
+
UserService.prototype.confirmEmail = function (userId, token) {
|
|
12474
|
+
var url = this.serviceUri + "/ConfirmEmail?userId=" + userId + "&&token=" + encodeURIComponent(token);
|
|
12475
|
+
return this.defaultPost(url, {});
|
|
12476
|
+
};
|
|
12477
|
+
UserService.prototype.sendEmailConfirm = function (userId) {
|
|
12478
|
+
var url = this.serviceUri + "/SendEmailConfirm/" + userId;
|
|
12479
|
+
return this.defaultPost(url, {});
|
|
12480
|
+
};
|
|
12473
12481
|
return UserService;
|
|
12474
12482
|
}(BaseService));
|
|
12475
12483
|
UserService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function UserService_Factory() { return new UserService(i0__namespace.ɵɵinject(i1__namespace$1.HttpClient), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(ModuleConfigService), i0__namespace.ɵɵinject(AuthenService), i0__namespace.ɵɵinject(i4__namespace.OAuthService), i0__namespace.ɵɵinject(SignalRService), i0__namespace.ɵɵinject(ExceptionHandlerService), i0__namespace.ɵɵinject(ApplicationContextService)); }, token: UserService, providedIn: "root" });
|
|
@@ -26042,6 +26050,7 @@
|
|
|
26042
26050
|
}
|
|
26043
26051
|
this.processWorkflowModel.showEditForm = true;
|
|
26044
26052
|
this.processWorkflowModel.header = workflowAction.name;
|
|
26053
|
+
this.processWorkflowModel.popupSize = new PopupSize({ width: 1000, height: 800 });
|
|
26045
26054
|
return [4 /*yield*/, this._federationService.loadRemoteNewComponent('commonapp', 'ProcessWorkflowFormComponent', this.processWorkflowFormViewContainer)];
|
|
26046
26055
|
case 2:
|
|
26047
26056
|
compRef = _h.sent();
|
|
@@ -30369,8 +30378,8 @@
|
|
|
30369
30378
|
}
|
|
30370
30379
|
};
|
|
30371
30380
|
AutocompleteDatasourceComponent.prototype.handleKeyUp = function (evt) {
|
|
30372
|
-
if (evt.target.value == '' && evt.target.parentNode.childElementCount == 2 && evt.keyCode != 40 && evt.keyCode != 38)
|
|
30373
|
-
|
|
30381
|
+
// if (evt.target.value == '' && evt.target.parentNode.childElementCount == 2 && evt.keyCode != 40 && evt.keyCode != 38)
|
|
30382
|
+
// this.lstDataSuggest = [];
|
|
30374
30383
|
};
|
|
30375
30384
|
AutocompleteDatasourceComponent.prototype.writeValue = function (obj) {
|
|
30376
30385
|
this.selectedValue = obj;
|
|
@@ -44904,20 +44913,20 @@
|
|
|
44904
44913
|
this.onBlur.emit();
|
|
44905
44914
|
};
|
|
44906
44915
|
AutoCompletePickerComponent.prototype.handleKeyUp = function (evt) {
|
|
44907
|
-
|
|
44908
|
-
if (this.control.multiple) {
|
|
44909
|
-
|
|
44910
|
-
|
|
44911
|
-
|
|
44912
|
-
|
|
44913
|
-
|
|
44914
|
-
}
|
|
44915
|
-
else {
|
|
44916
|
-
|
|
44917
|
-
}
|
|
44918
|
-
if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
44919
|
-
|
|
44920
|
-
}
|
|
44916
|
+
// let hideSuggessions = false;
|
|
44917
|
+
// if (this.control.multiple) {
|
|
44918
|
+
// hideSuggessions = evt.target.parentNode.parentNode.parentNode.childElementCount == 1;
|
|
44919
|
+
// // if (this.selectedValueObject && this.selectedValueObject.length > 0
|
|
44920
|
+
// // && evt.keyCode == 40 && hideSuggessions) {
|
|
44921
|
+
// // this.results = [];
|
|
44922
|
+
// // }
|
|
44923
|
+
// }
|
|
44924
|
+
// else {
|
|
44925
|
+
// hideSuggessions = evt.target.parentNode.childElementCount == 1;
|
|
44926
|
+
// }
|
|
44927
|
+
// if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
44928
|
+
// this.results = [];
|
|
44929
|
+
// }
|
|
44921
44930
|
};
|
|
44922
44931
|
// luu data cua row dang duoc select, dung khi control.multiple = false;
|
|
44923
44932
|
AutoCompletePickerComponent.prototype.handleRowSelect = function (item) {
|
|
@@ -55549,20 +55558,20 @@
|
|
|
55549
55558
|
this.onBlur.emit();
|
|
55550
55559
|
};
|
|
55551
55560
|
UserPickerComponent.prototype.handleKeyUp = function (evt) {
|
|
55552
|
-
|
|
55553
|
-
if (this.control.multiple) {
|
|
55554
|
-
|
|
55555
|
-
|
|
55556
|
-
|
|
55557
|
-
|
|
55558
|
-
|
|
55559
|
-
}
|
|
55560
|
-
else {
|
|
55561
|
-
|
|
55562
|
-
}
|
|
55563
|
-
if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
55564
|
-
|
|
55565
|
-
}
|
|
55561
|
+
// let hideSuggessions = false;
|
|
55562
|
+
// if (this.control.multiple) {
|
|
55563
|
+
// hideSuggessions = evt.target.parentNode.parentNode.parentNode.childElementCount == 1;
|
|
55564
|
+
// if (this.selectedValueObject && this.selectedValueObject.length > 0
|
|
55565
|
+
// && evt.keyCode == 40 && hideSuggessions) {
|
|
55566
|
+
// this.results = [];
|
|
55567
|
+
// }
|
|
55568
|
+
// }
|
|
55569
|
+
// else {
|
|
55570
|
+
// hideSuggessions = evt.target.parentNode.childElementCount == 1;
|
|
55571
|
+
// }
|
|
55572
|
+
// if (evt.target.value == '' && hideSuggessions && evt.keyCode != 40 && evt.keyCode != 38) {
|
|
55573
|
+
// this.results = [];
|
|
55574
|
+
// }
|
|
55566
55575
|
};
|
|
55567
55576
|
// Handle select item trong entity picker box (Không cần emit change)
|
|
55568
55577
|
UserPickerComponent.prototype.handleSelectEntity = function (evt) {
|