tnx-shared 5.3.57 → 5.3.59
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 +16 -44
- 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/components/splash-component/splash-component-v1/splash-component-v1.component.d.ts.map +1 -1
- package/components/splash-component/splash-component-v2/splash-component-v2.component.d.ts.map +1 -1
- package/components/splash-component/splash-component-v3/splash-component-v3.component.d.ts.map +1 -1
- package/components/splash-component/splash-component-v4/splash-component-v4.component.d.ts.map +1 -1
- package/esm2015/components/splash-component/splash-component-v1/splash-component-v1.component.js +5 -12
- package/esm2015/components/splash-component/splash-component-v2/splash-component-v2.component.js +5 -12
- package/esm2015/components/splash-component/splash-component-v3/splash-component-v3.component.js +5 -12
- package/esm2015/components/splash-component/splash-component-v4/splash-component-v4.component.js +5 -12
- package/fesm2015/tnx-shared.js +16 -44
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -58069,18 +58069,11 @@
|
|
|
58069
58069
|
SplashComponentV1Component.prototype.switchApp = function (item) {
|
|
58070
58070
|
this.loaded = false;
|
|
58071
58071
|
if (item.target == '_blank') {
|
|
58072
|
-
|
|
58073
|
-
|
|
58074
|
-
|
|
58075
|
-
// NamNH tip trick cho mot so may bi loi item.url = 'main' -> redirect sai khi click vao cac phan he
|
|
58076
|
-
if (item.url == item.defaultRedirect) {
|
|
58077
|
-
item.url = '/' + item.code.toLowerCase();
|
|
58072
|
+
var url = item.url;
|
|
58073
|
+
if (item.defaultRedirect) {
|
|
58074
|
+
url += "/" + item.defaultRedirect;
|
|
58078
58075
|
}
|
|
58079
|
-
|
|
58080
|
-
if (!link.startsWith('/') && !link.startsWith('http')) {
|
|
58081
|
-
link = '/' + link;
|
|
58082
|
-
}
|
|
58083
|
-
top.location.href = link;
|
|
58076
|
+
top.location.href = url;
|
|
58084
58077
|
}
|
|
58085
58078
|
else {
|
|
58086
58079
|
if (item.defaultRedirect != '' && !this.rootContext.data.flags.menuTopOpenning) {
|
|
@@ -58279,18 +58272,11 @@
|
|
|
58279
58272
|
SplashComponentV2Component.prototype.switchApp = function (item) {
|
|
58280
58273
|
this.loaded = false;
|
|
58281
58274
|
if (item.target == '_blank') {
|
|
58282
|
-
|
|
58283
|
-
|
|
58284
|
-
|
|
58285
|
-
// NamNH tip trick cho mot so may bi loi item.url = 'main' -> redirect sai khi click vao cac phan he
|
|
58286
|
-
if (item.url == item.defaultRedirect) {
|
|
58287
|
-
item.url = '/' + item.code.toLowerCase();
|
|
58275
|
+
var url = item.url;
|
|
58276
|
+
if (item.defaultRedirect) {
|
|
58277
|
+
url += "/" + item.defaultRedirect;
|
|
58288
58278
|
}
|
|
58289
|
-
|
|
58290
|
-
if (!link.startsWith('/') && !link.startsWith('http')) {
|
|
58291
|
-
link = '/' + link;
|
|
58292
|
-
}
|
|
58293
|
-
top.location.href = link;
|
|
58279
|
+
top.location.href = url;
|
|
58294
58280
|
}
|
|
58295
58281
|
else {
|
|
58296
58282
|
if (item.defaultRedirect != '' && !this.rootContext.data.flags.menuTopOpenning) {
|
|
@@ -58488,18 +58474,11 @@
|
|
|
58488
58474
|
SplashComponentV3Component.prototype.switchApp = function (item) {
|
|
58489
58475
|
this.loaded = false;
|
|
58490
58476
|
if (item.target == '_blank') {
|
|
58491
|
-
|
|
58492
|
-
|
|
58493
|
-
|
|
58494
|
-
// NamNH tip trick cho mot so may bi loi item.url = 'main' -> redirect sai khi click vao cac phan he
|
|
58495
|
-
if (item.url == item.defaultRedirect) {
|
|
58496
|
-
item.url = '/' + item.code.toLowerCase();
|
|
58477
|
+
var url = item.url;
|
|
58478
|
+
if (item.defaultRedirect) {
|
|
58479
|
+
url += "/" + item.defaultRedirect;
|
|
58497
58480
|
}
|
|
58498
|
-
|
|
58499
|
-
if (!link.startsWith('/') && !link.startsWith('http')) {
|
|
58500
|
-
link = '/' + link;
|
|
58501
|
-
}
|
|
58502
|
-
top.location.href = link;
|
|
58481
|
+
top.location.href = url;
|
|
58503
58482
|
}
|
|
58504
58483
|
else {
|
|
58505
58484
|
if (item.defaultRedirect != '' && !this.rootContext.data.flags.menuTopOpenning) {
|
|
@@ -58697,18 +58676,11 @@
|
|
|
58697
58676
|
SplashComponentV4Component.prototype.switchApp = function (item) {
|
|
58698
58677
|
this.loaded = false;
|
|
58699
58678
|
if (item.target == '_blank') {
|
|
58700
|
-
|
|
58701
|
-
|
|
58702
|
-
|
|
58703
|
-
// NamNH tip trick cho mot so may bi loi item.url = 'main' -> redirect sai khi click vao cac phan he
|
|
58704
|
-
if (item.url == item.defaultRedirect) {
|
|
58705
|
-
item.url = '/' + item.code.toLowerCase();
|
|
58679
|
+
var url = item.url;
|
|
58680
|
+
if (item.defaultRedirect) {
|
|
58681
|
+
url += "/" + item.defaultRedirect;
|
|
58706
58682
|
}
|
|
58707
|
-
|
|
58708
|
-
if (!link.startsWith('/') && !link.startsWith('http')) {
|
|
58709
|
-
link = '/' + link;
|
|
58710
|
-
}
|
|
58711
|
-
top.location.href = link;
|
|
58683
|
+
top.location.href = url;
|
|
58712
58684
|
}
|
|
58713
58685
|
else {
|
|
58714
58686
|
if (item.defaultRedirect != '' && !this.rootContext.data.flags.menuTopOpenning) {
|