tnx-shared 5.3.308 → 5.3.310
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 +59 -24
- 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/classes/public-function.d.ts.map +1 -1
- package/components/thong-bao-component/thong-bao.component.d.ts +10 -0
- package/components/thong-bao-component/thong-bao.component.d.ts.map +1 -0
- package/components/thong-bao-component/thong-bao.component.ngfactory.d.ts.map +1 -0
- package/components/thong-bao-component/thong-bao.component.scss.shim.ngstyle.d.ts.map +1 -0
- package/enums/common.d.ts +2 -1
- package/enums/common.d.ts.map +1 -1
- package/esm2015/classes/public-function.js +6 -1
- package/esm2015/components/thong-bao-component/thong-bao.component.js +27 -0
- package/esm2015/enums/common.js +2 -1
- package/esm2015/services/notification.service.js +5 -1
- package/esm2015/tnx-shared.js +24 -23
- package/esm2015/tnx-shared.module.js +3 -1
- package/fesm2015/tnx-shared.js +34 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/notification.service.d.ts +1 -0
- package/services/notification.service.d.ts.map +1 -1
- package/tnx-shared.d.ts +23 -22
- package/tnx-shared.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
- package/tnx-shared.module.d.ts +2 -1
- package/tnx-shared.module.d.ts.map +1 -1
- package/tnx-shared.module.ngfactory.d.ts.map +1 -1
|
@@ -5542,6 +5542,7 @@
|
|
|
5542
5542
|
(function (EnumUserSource) {
|
|
5543
5543
|
EnumUserSource[EnumUserSource["CAN_BO"] = 1] = "CAN_BO";
|
|
5544
5544
|
EnumUserSource[EnumUserSource["HOC_VIEN"] = 2] = "HOC_VIEN";
|
|
5545
|
+
EnumUserSource[EnumUserSource["DANG_KY"] = 4] = "DANG_KY";
|
|
5545
5546
|
})(exports.EnumUserSource || (exports.EnumUserSource = {}));
|
|
5546
5547
|
exports.EnumAppSwitcherCode = void 0;
|
|
5547
5548
|
(function (EnumAppSwitcherCode) {
|
|
@@ -29318,6 +29319,30 @@
|
|
|
29318
29319
|
{ type: CommonService }
|
|
29319
29320
|
]; };
|
|
29320
29321
|
|
|
29322
|
+
var ThongBaoComponent = /** @class */ (function () {
|
|
29323
|
+
function ThongBaoComponent(_federationService) {
|
|
29324
|
+
this._federationService = _federationService;
|
|
29325
|
+
}
|
|
29326
|
+
ThongBaoComponent.prototype.ngOnInit = function () {
|
|
29327
|
+
this._federationService.loadRemoteComponent('commonapp', 'ThongBaoComponent', this.viewContainerRef);
|
|
29328
|
+
};
|
|
29329
|
+
return ThongBaoComponent;
|
|
29330
|
+
}());
|
|
29331
|
+
ThongBaoComponent.decorators = [
|
|
29332
|
+
{ type: i0.Component, args: [{
|
|
29333
|
+
selector: 'common-thong-bao',
|
|
29334
|
+
template: "<ng-template viewContainerRef></ng-template>\n",
|
|
29335
|
+
providers: [ComponentContextService],
|
|
29336
|
+
styles: [".modules{font-family:monospace;background:url(/assets/images/splash-bg.png);background-repeat:no-repeat;background-position:50%;background-size:cover;position:fixed;top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center;width:100vw;height:100vh;flex-direction:column;background-color:#fff}.welcome-user{text-align:center;margin-bottom:80px}.welcome-user a{background:#c2f3c3;padding:6px;border-radius:3px;cursor:pointer}.welcome-user a i{margin-right:6px}.welcome-user img{border-radius:50%;border:2px dashed rgba(0,144,162,.5019607843137255);height:250px;width:250px;-o-object-fit:contain;object-fit:contain}.welcome-user h2{color:#0090a2}.welcome-user h1{color:#666;max-width:75vw;font-size:2rem}"]
|
|
29337
|
+
},] }
|
|
29338
|
+
];
|
|
29339
|
+
ThongBaoComponent.ctorParameters = function () { return [
|
|
29340
|
+
{ type: FederationService }
|
|
29341
|
+
]; };
|
|
29342
|
+
ThongBaoComponent.propDecorators = {
|
|
29343
|
+
viewContainerRef: [{ type: i0.ViewChild, args: [ViewContainerRefDirective, { static: true },] }]
|
|
29344
|
+
};
|
|
29345
|
+
|
|
29321
29346
|
var PublicFunction = /** @class */ (function () {
|
|
29322
29347
|
function PublicFunction() {
|
|
29323
29348
|
}
|
|
@@ -29343,6 +29368,10 @@
|
|
|
29343
29368
|
path: 'universal-link',
|
|
29344
29369
|
component: UniversalLinkProcessorComponent,
|
|
29345
29370
|
},
|
|
29371
|
+
{
|
|
29372
|
+
path: 'thong-bao',
|
|
29373
|
+
component: ThongBaoComponent,
|
|
29374
|
+
},
|
|
29346
29375
|
];
|
|
29347
29376
|
result.forEach(function (item) {
|
|
29348
29377
|
var customRoute = routes.find(function (route) { return route.path == item.path; });
|
|
@@ -41503,6 +41532,10 @@
|
|
|
41503
41532
|
var url = this.serviceUri + "/UserNotification";
|
|
41504
41533
|
return this.defaultPost(url, gridInfo);
|
|
41505
41534
|
};
|
|
41535
|
+
NotificationService.prototype.getNotificationByUser = function (gridInfo) {
|
|
41536
|
+
var url = this.serviceUri + "/GetNotificationByUser";
|
|
41537
|
+
return this.defaultPost(url, gridInfo);
|
|
41538
|
+
};
|
|
41506
41539
|
NotificationService.prototype.sendNotification = function (data) {
|
|
41507
41540
|
return this.defaultPost(this.serviceUri + "/InsertToManyUser", data);
|
|
41508
41541
|
};
|
|
@@ -56010,6 +56043,7 @@
|
|
|
56010
56043
|
PermissionUtilsComponent,
|
|
56011
56044
|
QrCodeGeneratorComponent,
|
|
56012
56045
|
AccessDeniedComponent,
|
|
56046
|
+
ThongBaoComponent,
|
|
56013
56047
|
FilePickerDialogComponent,
|
|
56014
56048
|
AddNewsComponent,
|
|
56015
56049
|
CommonDashboardComponent,
|
|
@@ -56705,31 +56739,32 @@
|
|
|
56705
56739
|
exports["ɵdc"] = ViewDetailComponent;
|
|
56706
56740
|
exports["ɵdd"] = ReferenceTextBoxComponent;
|
|
56707
56741
|
exports["ɵde"] = QrCodeGeneratorComponent;
|
|
56708
|
-
exports["ɵdf"] =
|
|
56709
|
-
exports["ɵdg"] =
|
|
56710
|
-
exports["ɵdh"] =
|
|
56711
|
-
exports["ɵdi"] =
|
|
56712
|
-
exports["ɵdj"] =
|
|
56713
|
-
exports["ɵdk"] =
|
|
56714
|
-
exports["ɵdl"] =
|
|
56715
|
-
exports["ɵdm"] =
|
|
56716
|
-
exports["ɵdn"] =
|
|
56717
|
-
exports["ɵdo"] =
|
|
56718
|
-
exports["ɵdp"] =
|
|
56719
|
-
exports["ɵdq"] =
|
|
56720
|
-
exports["ɵdr"] =
|
|
56721
|
-
exports["ɵds"] =
|
|
56722
|
-
exports["ɵdt"] =
|
|
56723
|
-
exports["ɵdu"] =
|
|
56724
|
-
exports["ɵdv"] =
|
|
56725
|
-
exports["ɵdw"] =
|
|
56726
|
-
exports["ɵdx"] =
|
|
56727
|
-
exports["ɵdy"] =
|
|
56728
|
-
exports["ɵdz"] =
|
|
56742
|
+
exports["ɵdf"] = ThongBaoComponent;
|
|
56743
|
+
exports["ɵdg"] = AddNewsComponent;
|
|
56744
|
+
exports["ɵdh"] = ArticleService;
|
|
56745
|
+
exports["ɵdi"] = NewsCategoryService;
|
|
56746
|
+
exports["ɵdj"] = UniversalLinkProcessorComponent;
|
|
56747
|
+
exports["ɵdk"] = SignatureDetailComponent;
|
|
56748
|
+
exports["ɵdl"] = KySoSimDanhSachChuKyComponent;
|
|
56749
|
+
exports["ɵdm"] = KySoSimChuKyUserService;
|
|
56750
|
+
exports["ɵdn"] = FileKySoSimComponent;
|
|
56751
|
+
exports["ɵdo"] = KySoSimSignPDFService;
|
|
56752
|
+
exports["ɵdp"] = TaiLieuCuaToiComponent;
|
|
56753
|
+
exports["ɵdq"] = KhaiThacTaiLieuDungChungComponent;
|
|
56754
|
+
exports["ɵdr"] = DanhMucDungChungService;
|
|
56755
|
+
exports["ɵds"] = TnTemplateComponent;
|
|
56756
|
+
exports["ɵdt"] = DropdownSettingFormComponent;
|
|
56757
|
+
exports["ɵdu"] = CheckReadyComponent;
|
|
56758
|
+
exports["ɵdv"] = TnAccordionTabComponent;
|
|
56759
|
+
exports["ɵdw"] = SettingsWorkflowComponent;
|
|
56760
|
+
exports["ɵdx"] = SettingAuthorizeButtonComponent;
|
|
56761
|
+
exports["ɵdy"] = BasePermissionService;
|
|
56762
|
+
exports["ɵdz"] = SettingsWorkflowNo1Component;
|
|
56729
56763
|
exports["ɵe"] = ListBase;
|
|
56730
|
-
exports["ɵea"] =
|
|
56731
|
-
exports["ɵeb"] =
|
|
56732
|
-
exports["ɵec"] =
|
|
56764
|
+
exports["ɵea"] = HtmlPreviewComponent;
|
|
56765
|
+
exports["ɵeb"] = AUTOCOMPLETE_VALUE_ACCESSOR;
|
|
56766
|
+
exports["ɵec"] = AutoComplete;
|
|
56767
|
+
exports["ɵed"] = AutoCompleteModule;
|
|
56733
56768
|
exports["ɵf"] = ListComponentBase;
|
|
56734
56769
|
exports["ɵg"] = TreeTableComponent;
|
|
56735
56770
|
exports["ɵh"] = NotFoundComponent;
|