tnx-shared 5.3.359 → 5.3.361
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 +14 -0
- 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/services/common.service.js +6 -1
- package/esm2015/services/user.service.js +9 -1
- package/fesm2015/tnx-shared.js +14 -0
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/common.service.d.ts +1 -0
- package/services/common.service.d.ts.map +1 -1
- package/services/user.service.d.ts +2 -0
- package/services/user.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
|
@@ -5028,6 +5028,11 @@
|
|
|
5028
5028
|
var datePipe = new i3.DatePipe('vi-VN');
|
|
5029
5029
|
return datePipe.transform(value, format);
|
|
5030
5030
|
};
|
|
5031
|
+
CommonService.prototype.convertToUnSign = function (s) {
|
|
5032
|
+
var regex = /\p{Diacritic}/gu;
|
|
5033
|
+
var temp = s.normalize('NFD');
|
|
5034
|
+
return temp.replace(regex, '').replace('\u0111', 'd').replace('\u0110', 'D');
|
|
5035
|
+
};
|
|
5031
5036
|
return CommonService;
|
|
5032
5037
|
}());
|
|
5033
5038
|
CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
|
|
@@ -12470,6 +12475,14 @@
|
|
|
12470
12475
|
var url = this.serviceUri + "/UpdateUserAvatar";
|
|
12471
12476
|
return this.defaultPut(url, data);
|
|
12472
12477
|
};
|
|
12478
|
+
UserService.prototype.confirmEmail = function (userId, token) {
|
|
12479
|
+
var url = this.serviceUri + "/ConfirmEmail?userId=" + userId + "&&token=" + encodeURIComponent(token);
|
|
12480
|
+
return this.defaultPost(url, {});
|
|
12481
|
+
};
|
|
12482
|
+
UserService.prototype.sendEmailConfirm = function (userId) {
|
|
12483
|
+
var url = this.serviceUri + "/SendEmailConfirm/" + userId;
|
|
12484
|
+
return this.defaultPost(url, {});
|
|
12485
|
+
};
|
|
12473
12486
|
return UserService;
|
|
12474
12487
|
}(BaseService));
|
|
12475
12488
|
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 +26055,7 @@
|
|
|
26042
26055
|
}
|
|
26043
26056
|
this.processWorkflowModel.showEditForm = true;
|
|
26044
26057
|
this.processWorkflowModel.header = workflowAction.name;
|
|
26058
|
+
this.processWorkflowModel.popupSize = new PopupSize({ width: 1000, height: 800 });
|
|
26045
26059
|
return [4 /*yield*/, this._federationService.loadRemoteNewComponent('commonapp', 'ProcessWorkflowFormComponent', this.processWorkflowFormViewContainer)];
|
|
26046
26060
|
case 2:
|
|
26047
26061
|
compRef = _h.sent();
|