raise-common-lib 0.0.235-beta → 0.0.236-beta
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/README.md +57 -57
- package/bundles/raise-common-lib.umd.js +62 -30
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/commentary/index.component.js +3 -2
- package/esm2015/lib/common-grid/grid-action/grid-action.component.js +3 -2
- package/esm2015/lib/common-grid/index.component.js +3 -2
- package/esm2015/lib/dashboard/dashboard-properties/data-mart-new/data-mart-new.component.js +4 -3
- package/esm2015/lib/dashboard/dashboardPorlets.service.js +4 -3
- package/esm2015/lib/dashboard/dialog-group/download/index.component.js +3 -2
- package/esm2015/lib/dashboard/gadget-group/gadget-pivot/gadget-pivot.component.js +3 -2
- package/esm2015/lib/dashboard/gadget-group/gadget-pivot-chart/gadget-pivot.component.js +3 -2
- package/esm2015/lib/dashboard/gadget-group/gadget-table/gadget-table.component.js +3 -2
- package/esm2015/lib/dashboard/gadget-group/gadget-transpose/gadget-transpose.component.js +3 -2
- package/esm2015/lib/dashboard/pane-group-new.component.js +4 -3
- package/esm2015/lib/dashboard/sidebar-iconlist/field-filter/field-filter.component.js +3 -2
- package/esm2015/lib/dashboard/sidebar-iconlist/field-format/field-format.component.js +3 -2
- package/esm2015/lib/dashboard/sidebar-iconlist/portlet-type-new/portlet-type-new.component.js +3 -2
- package/esm2015/lib/dashboard/sidebar-iconlist/sidebar-iconlist-new.component.js +4 -3
- package/esm2015/lib/dialog/common-delete-dialog/index.component.js +3 -2
- package/esm2015/lib/dialog/common-dialog/index.component.js +3 -2
- package/esm2015/lib/form/checkbox-group/index.component.js +3 -2
- package/esm2015/lib/form/confirm-select/index.component.js +3 -2
- package/esm2015/lib/form/search-input/index.component.js +3 -2
- package/esm2015/lib/layout/grid-box/index.component.js +3 -2
- package/esm2015/lib/layout/multi-tab/index.component.js +3 -2
- package/esm2015/lib/layout/page-list/index.component.js +3 -2
- package/esm2015/lib/layout/rs-header/index.component.js +5 -4
- package/esm2015/lib/service/dialog.service.js +3 -2
- package/esm2015/lib/utils/utils.js +32 -0
- package/esm5/lib/commentary/index.component.js +3 -2
- package/esm5/lib/common-grid/grid-action/grid-action.component.js +3 -2
- package/esm5/lib/common-grid/index.component.js +3 -2
- package/esm5/lib/dashboard/dashboard-properties/data-mart-new/data-mart-new.component.js +4 -3
- package/esm5/lib/dashboard/dashboardPorlets.service.js +4 -3
- package/esm5/lib/dashboard/dialog-group/download/index.component.js +3 -2
- package/esm5/lib/dashboard/gadget-group/gadget-pivot/gadget-pivot.component.js +3 -2
- package/esm5/lib/dashboard/gadget-group/gadget-pivot-chart/gadget-pivot.component.js +3 -2
- package/esm5/lib/dashboard/gadget-group/gadget-table/gadget-table.component.js +3 -2
- package/esm5/lib/dashboard/gadget-group/gadget-transpose/gadget-transpose.component.js +3 -2
- package/esm5/lib/dashboard/pane-group-new.component.js +4 -3
- package/esm5/lib/dashboard/sidebar-iconlist/field-filter/field-filter.component.js +3 -2
- package/esm5/lib/dashboard/sidebar-iconlist/field-format/field-format.component.js +3 -2
- package/esm5/lib/dashboard/sidebar-iconlist/portlet-type-new/portlet-type-new.component.js +3 -2
- package/esm5/lib/dashboard/sidebar-iconlist/sidebar-iconlist-new.component.js +4 -3
- package/esm5/lib/dialog/common-delete-dialog/index.component.js +3 -2
- package/esm5/lib/dialog/common-dialog/index.component.js +3 -2
- package/esm5/lib/form/checkbox-group/index.component.js +3 -2
- package/esm5/lib/form/confirm-select/index.component.js +3 -2
- package/esm5/lib/form/search-input/index.component.js +3 -2
- package/esm5/lib/layout/grid-box/index.component.js +3 -2
- package/esm5/lib/layout/multi-tab/index.component.js +3 -2
- package/esm5/lib/layout/page-list/index.component.js +3 -2
- package/esm5/lib/layout/rs-header/index.component.js +5 -4
- package/esm5/lib/service/dialog.service.js +3 -2
- package/esm5/lib/utils/utils.js +32 -0
- package/fesm2015/raise-common-lib.js +62 -30
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +62 -30
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/arrow_right.svg +4 -4
- package/src/assets/img/calendar-disabled.svg +6 -6
- package/src/assets/img/calendar.svg +6 -6
- package/src/assets/img/calendar_arrow_left.svg +3 -3
- package/src/assets/img/calendar_arrow_right.svg +3 -3
- package/src/assets/img/checked-vector.svg +3 -3
- package/src/assets/img/dialog-close.svg +4 -4
- package/src/assets/img/dialog-grow.svg +6 -6
- package/src/assets/img/dialog-shrink.svg +6 -6
- package/src/assets/img/plus.svg +4 -4
- package/src/assets/img/search.svg +4 -4
- package/src/assets/img/shrink-icon.svg +6 -6
- package/src/assets/img/time-disabled.svg +4 -4
- package/src/assets/img/time.svg +4 -4
- package/src/assets/img/toolbar-action-addFolder.svg +17 -17
- package/src/assets/img/toolbar-action-calculator.svg +11 -11
- package/src/assets/img/toolbar-action-collapse.svg +7 -7
- package/src/assets/img/toolbar-action-combine.svg +4 -4
- package/src/assets/img/toolbar-action-edit.svg +4 -4
- package/src/assets/img/toolbar-action-expand.svg +7 -7
- package/src/assets/img/toolbar-action-folderMove.svg +8 -8
- package/src/assets/img/toolbar-action-lock.svg +6 -6
- package/src/assets/img/toolbar-action-preview.svg +7 -7
- package/src/assets/img/toolbar-action-publish.svg +5 -5
- package/src/assets/img/toolbar-action-reminders.svg +10 -10
- package/src/assets/img/toolbar-action-rename.svg +7 -7
- package/src/assets/img/toolbar-action-saveSequence.svg +5 -5
- package/src/assets/img/toolbar-action-send-file.svg +5 -5
- package/src/assets/img/toolbar-action-settle.svg +7 -7
- package/src/assets/img/toolbar-action-share.svg +5 -5
- package/src/assets/img/toolbar-action-submitForApproval.svg +4 -4
- package/src/assets/img/toolbar-action-sync.svg +4 -4
- package/src/assets/img/toolbar-action-template.svg +6 -6
- package/src/assets/img/toolbar-action-workflow.svg +9 -9
|
@@ -45,6 +45,38 @@ import { MaskedTextBox } from '@syncfusion/ej2-inputs/src/maskedtextbox/maskedte
|
|
|
45
45
|
import { DataManager } from '@syncfusion/ej2-data/src/manager';
|
|
46
46
|
import { Predicate, Query as Query$1 } from '@syncfusion/ej2-data/src/query';
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* @fileoverview added by tsickle
|
|
50
|
+
* Generated from: lib/utils/utils.ts
|
|
51
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
52
|
+
*/
|
|
53
|
+
/**
|
|
54
|
+
* @return {?}
|
|
55
|
+
*/
|
|
56
|
+
function getTranslation() {
|
|
57
|
+
try {
|
|
58
|
+
/** @type {?} */
|
|
59
|
+
const translationStr = localStorage.getItem("translation") ||
|
|
60
|
+
localStorage.getItem("IP-translation");
|
|
61
|
+
if (translationStr &&
|
|
62
|
+
translationStr !== "null" &&
|
|
63
|
+
translationStr !== "undefined") {
|
|
64
|
+
/** @type {?} */
|
|
65
|
+
const translation = JSON.parse(translationStr);
|
|
66
|
+
// 注意:typeof null === 'object',所以需要额外检查 translation !== null
|
|
67
|
+
if (translation !== null && typeof translation === "object") {
|
|
68
|
+
return translation;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
catch (e) {
|
|
73
|
+
console.warn("Failed to parse IP-translation from localStorage:", e);
|
|
74
|
+
}
|
|
75
|
+
// 返回空对象,在模板中使用 translation?.KEY || '.KEY' 格式访问
|
|
76
|
+
// 不使用 Proxy 以确保 iPad Safari 兼容性
|
|
77
|
+
return {};
|
|
78
|
+
}
|
|
79
|
+
|
|
48
80
|
/**
|
|
49
81
|
* @fileoverview added by tsickle
|
|
50
82
|
* Generated from: lib/common-grid/index.component.ts
|
|
@@ -141,7 +173,7 @@ class CommonGridComponent {
|
|
|
141
173
|
}));
|
|
142
174
|
return list;
|
|
143
175
|
});
|
|
144
|
-
this.translation =
|
|
176
|
+
this.translation = getTranslation();
|
|
145
177
|
}
|
|
146
178
|
/**
|
|
147
179
|
* @return {?}
|
|
@@ -850,7 +882,7 @@ if (false) {
|
|
|
850
882
|
*/
|
|
851
883
|
class GridActionComponent {
|
|
852
884
|
constructor() {
|
|
853
|
-
this.translation =
|
|
885
|
+
this.translation = getTranslation();
|
|
854
886
|
}
|
|
855
887
|
}
|
|
856
888
|
GridActionComponent.decorators = [
|
|
@@ -1667,7 +1699,7 @@ class CommonDeleteComponent {
|
|
|
1667
1699
|
* @return {?}
|
|
1668
1700
|
*/
|
|
1669
1701
|
ngOnInit() {
|
|
1670
|
-
this.translation =
|
|
1702
|
+
this.translation = getTranslation();
|
|
1671
1703
|
this.title =
|
|
1672
1704
|
this.data.title || this.translation["DELETE_RECORD"] || ".DELETE_RECORD";
|
|
1673
1705
|
this.saveBtnLabel =
|
|
@@ -1752,7 +1784,7 @@ class DialogService {
|
|
|
1752
1784
|
* @param dialog: MatDialog
|
|
1753
1785
|
*/
|
|
1754
1786
|
this.translation = null;
|
|
1755
|
-
this.translation =
|
|
1787
|
+
this.translation = getTranslation();
|
|
1756
1788
|
}
|
|
1757
1789
|
/**
|
|
1758
1790
|
* @param {?} config
|
|
@@ -1996,7 +2028,7 @@ class RsCommentaryComponent {
|
|
|
1996
2028
|
* @return {?}
|
|
1997
2029
|
*/
|
|
1998
2030
|
getInfo() {
|
|
1999
|
-
this.translation =
|
|
2031
|
+
this.translation = getTranslation();
|
|
2000
2032
|
}
|
|
2001
2033
|
/**
|
|
2002
2034
|
* @return {?}
|
|
@@ -2314,7 +2346,7 @@ class SearchInputComponent {
|
|
|
2314
2346
|
* @return {?}
|
|
2315
2347
|
*/
|
|
2316
2348
|
getInfo() {
|
|
2317
|
-
this.translation =
|
|
2349
|
+
this.translation = getTranslation();
|
|
2318
2350
|
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
2319
2351
|
}
|
|
2320
2352
|
/**
|
|
@@ -2388,7 +2420,7 @@ class RsPageListComponent {
|
|
|
2388
2420
|
* @return {?}
|
|
2389
2421
|
*/
|
|
2390
2422
|
getInfo() {
|
|
2391
|
-
this.translation =
|
|
2423
|
+
this.translation = getTranslation();
|
|
2392
2424
|
}
|
|
2393
2425
|
/**
|
|
2394
2426
|
* @return {?}
|
|
@@ -2593,7 +2625,7 @@ class GridBoxComponent {
|
|
|
2593
2625
|
* @return {?}
|
|
2594
2626
|
*/
|
|
2595
2627
|
getInfo() {
|
|
2596
|
-
this.translation =
|
|
2628
|
+
this.translation = getTranslation();
|
|
2597
2629
|
}
|
|
2598
2630
|
/**
|
|
2599
2631
|
* @return {?}
|
|
@@ -2947,7 +2979,7 @@ class MultiTabComponent {
|
|
|
2947
2979
|
* @return {?}
|
|
2948
2980
|
*/
|
|
2949
2981
|
ngOnInit() {
|
|
2950
|
-
this.translation =
|
|
2982
|
+
this.translation = getTranslation();
|
|
2951
2983
|
this.initTab();
|
|
2952
2984
|
// 解决刷新页面后,选中的 tab 丢失问题
|
|
2953
2985
|
/** @type {?} */
|
|
@@ -20722,7 +20754,7 @@ class RSHeaderComponent {
|
|
|
20722
20754
|
* @return {?}
|
|
20723
20755
|
*/
|
|
20724
20756
|
ngOnInit() {
|
|
20725
|
-
this.translation =
|
|
20757
|
+
this.translation = getTranslation();
|
|
20726
20758
|
}
|
|
20727
20759
|
/**
|
|
20728
20760
|
* @param {?=} isCollapsed
|
|
@@ -20749,8 +20781,8 @@ class RSHeaderComponent {
|
|
|
20749
20781
|
RSHeaderComponent.decorators = [
|
|
20750
20782
|
{ type: Component, args: [{
|
|
20751
20783
|
selector: "rs-header",
|
|
20752
|
-
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <
|
|
20753
|
-
styles: [".rs-header{height:50px;background-color:var(--rs-container-bg);display:flex;justify-content:space-between}.rs-header .logo-wrap{width:240px;display:flex;padding:12px 0 0 20px}.rs-header .logo-wrap .toggle-menu-wrap{cursor:pointer;
|
|
20784
|
+
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <svg\r\n class=\"toggle-menu\"\r\n (click)=\"onToggleMenu()\"\r\n width=\"24\"\r\n height=\"31\"\r\n viewBox=\"0 0 24 31\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <line x1=\"4\" y1=\"9.5\" x2=\"20\" y2=\"9.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"21.5\" x2=\"20\" y2=\"21.5\" stroke=\"#6C7C90\" />\r\n <line x1=\"4\" y1=\"15.5\" x2=\"20\" y2=\"15.5\" stroke=\"#6C7C90\" />\r\n </svg>\r\n </div>\r\n <svg\r\n width=\"87\"\r\n height=\"35\"\r\n viewBox=\"0 0 87 35\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <g clip-path=\"url(#clip0_13700_1713)\">\r\n <path\r\n d=\"M36.32 29.029L34.6405 24.7835H26.2706L24.6825 29.029H18.9998L28.0712 7.39929H33.1416L42.1238 29.0267H36.32V29.029ZM30.5161 13.1735L27.7673 20.5974H33.2055L30.5161 13.1735Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M43.9265 29.0289V10.5548H49.182V29.0289H43.9265Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M65.065 13.0203C64.6171 12.4514 64.0299 11.9966 63.3078 11.6608C62.5857 11.3249 61.8865 11.1558 61.2147 11.1558C60.8674 11.1558 60.5178 11.1855 60.1614 11.2472C59.8049 11.3089 59.485 11.4254 59.1994 11.5991C58.9138 11.7727 58.6738 11.9966 58.4819 12.2708C58.2877 12.545 58.1917 12.8969 58.1917 13.3242C58.1917 13.6898 58.2671 13.996 58.4202 14.2405C58.5733 14.485 58.7972 14.6998 59.092 14.8826C59.3868 15.0654 59.7386 15.2345 60.1454 15.3876C60.5521 15.5407 61.0114 15.6983 61.5209 15.8606C62.2544 16.1051 63.0176 16.3747 63.8128 16.6694C64.608 16.9642 65.33 17.3572 65.9812 17.8462C66.6325 18.3352 67.1717 18.9407 67.6013 19.6628C68.0286 20.3848 68.2434 21.2874 68.2434 22.3659C68.2434 23.609 68.0149 24.6829 67.5556 25.5878C67.0963 26.4949 66.4816 27.2421 65.707 27.8339C64.9324 28.4257 64.0481 28.8621 63.0496 29.1478C62.0511 29.4334 61.0228 29.5751 59.9649 29.5751C58.4179 29.5751 56.919 29.3054 55.4749 28.7662C54.0285 28.2269 52.8266 27.4569 51.8691 26.4606L55.2898 22.9783C55.8199 23.6295 56.5168 24.1756 57.3828 24.6121C58.2488 25.0508 59.108 25.2679 59.9649 25.2679C60.351 25.2679 60.728 25.2267 61.0959 25.1445C61.4615 25.0622 61.7837 24.9297 62.0579 24.7469C62.3321 24.5641 62.5515 24.3196 62.7137 24.0134C62.8759 23.7072 62.9582 23.3416 62.9582 22.9143C62.9582 22.487 62.8554 22.1603 62.652 21.8747C62.4486 21.589 62.1584 21.3308 61.7814 21.0955C61.4044 20.8624 60.936 20.6476 60.3762 20.4534C59.8163 20.2592 59.1788 20.0512 58.4659 19.8273C57.7736 19.6034 57.0949 19.3383 56.4345 19.0321C55.7719 18.7259 55.1824 18.3352 54.6637 17.8554C54.145 17.3778 53.7268 16.7974 53.4115 16.1142C53.0962 15.431 52.9385 14.6015 52.9385 13.6236C52.9385 12.4217 53.183 11.3934 53.672 10.5388C54.161 9.68424 54.8031 8.98046 55.596 8.43206C56.3911 7.88138 57.2869 7.47922 58.2831 7.22559C59.2816 6.97195 60.2893 6.84399 61.3084 6.84399C62.5309 6.84399 63.7785 7.06792 65.0512 7.51578C66.324 7.96364 67.4391 8.62629 68.3965 9.50144L65.0672 13.0135L65.065 13.0203Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M71.6938 29.029V7.39929H86.2355V11.7979H76.7345V15.8903H85.7168V20.0764H76.7345V24.5664H86.7862V29.0267H71.6961L71.6938 29.029Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path\r\n d=\"M1.96738 29.0267H4.97671L8.19168 25.8117L11.4067 29.0267H18.9974L8.18483 18.2141L5.37658 21.0224V12.7759H12.6109C12.8645 12.7759 12.9673 12.9564 12.9993 13.0364C13.0313 13.114 13.0884 13.3151 12.9079 13.4934L10.2436 16.1577L14.0161 19.9302L16.0383 17.908L17.8183 16.1279C19.0294 14.597 19.3173 12.5862 18.5518 10.7354C17.6995 8.6766 15.787 7.39929 13.5591 7.39929H0V29.0267H1.96738Z\"\r\n fill=\"#15477F\"\r\n />\r\n <path d=\"M43.9265 9.36433H49.1797V5L43.9265 9.36433Z\" fill=\"#F68D1E\" />\r\n </g>\r\n <defs>\r\n <clipPath id=\"clip0_13700_1713\">\r\n <rect width=\"86.7839\" height=\"34.5751\" fill=\"white\" />\r\n </clipPath>\r\n </defs>\r\n </svg>\r\n\r\n <div *ngIf=\"appName\" class=\"header-app-name\">{{ appName }}</div>\r\n </div>\r\n <div class=\"content-header-wrap\">\r\n <div class=\"bread-crumbs-wrap\">\r\n <ng-content select=\"[breadCrumbs]\"></ng-content>\r\n </div>\r\n <div class=\"rs-header-toolbar-wrap\">\r\n <div class=\"quick-icon-group\">\r\n <ng-content select=\"[toolbar]\"></ng-content>\r\n </div>\r\n <div class=\"line\"></div>\r\n <div class=\"langulage-wrap\">\r\n <button\r\n class=\"e-btn text\"\r\n ejs-dropdownbutton\r\n [items]=\"langOptions\"\r\n (select)=\"selectLanguage($event)\"\r\n >\r\n {{ currentLang && currentLang.text }}\r\n </button>\r\n </div>\r\n <!-- <div class=\"line\"></div>\r\n <div class=\"last-login-wrap\">\r\n {{ translation?.LAST_LOGIN || \"Last Login\" }}:\r\n {{ lastLoginTime | date : \"dd MMM yy h:mm a\" }}\r\n </div> -->\r\n <div class=\"line\"></div>\r\n <div class=\"user-info-wrap\">\r\n <ng-content select=\"[userInfo]\"></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
20785
|
+
styles: [".rs-header{height:50px;background-color:var(--rs-container-bg);display:flex;justify-content:space-between}.rs-header .logo-wrap{width:240px;display:flex;padding:12px 0 0 20px;align-items:center;gap:12px}.rs-header .logo-wrap .toggle-menu-wrap{cursor:pointer;display:flex;align-items:center}.rs-header .logo-wrap .toggle-menu-wrap:hover{background:#1364b30d;border-radius:6px}.rs-header .logo-wrap .logo{width:77px;height:32px}.rs-header .logo-wrap .header-app-name{font-size:24px;color:#15477f;margin-left:6px;margin-top:-8px}@media (max-width:1200px){.rs-header .logo-wrap{width:auto}}.rs-header .content-header-wrap{display:flex;justify-content:space-between;align-items:center;flex:1;max-width:1886px;margin:0 auto}.rs-header .bread-crumbs-wrap{padding-left:16px}.rs-header .rs-header-toolbar-wrap,.rs-header .rs-header-toolbar-wrap .quick-icon-group{display:flex;align-items:center}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center;margin-right:8px;cursor:pointer}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:last-child{margin-right:16px}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon svg{width:24px;height:24px;color:#6c7c90;stroke:#6c7c90}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover{border-radius:4px;background:rgba(31,123,255,.04)}.rs-header .rs-header-toolbar-wrap .quick-icon-group ::ng-deep .header-icon:hover svg{color:#1f7bff;stroke:#1f7bff}.rs-header .rs-header-toolbar-wrap .line{width:1px;height:24px;background-color:var(--rs-border-color)}.rs-header .rs-header-toolbar-wrap .langulage-wrap{padding:0 16px}.rs-header .rs-header-toolbar-wrap .last-login-wrap{padding:0 16px;color:var(--rs-labels-color);font-size:11px;font-weight:400;line-height:1}.rs-header .rs-header-toolbar-wrap .user-info-wrap{padding:0 20px 0 16px}"]
|
|
20754
20786
|
}] }
|
|
20755
20787
|
];
|
|
20756
20788
|
/** @nocollapse */
|
|
@@ -21577,7 +21609,7 @@ class CheckboxGroupComponent {
|
|
|
21577
21609
|
*/
|
|
21578
21610
|
ngOnInit() {
|
|
21579
21611
|
console.log("first", this.value);
|
|
21580
|
-
this.translation =
|
|
21612
|
+
this.translation = getTranslation();
|
|
21581
21613
|
}
|
|
21582
21614
|
/**
|
|
21583
21615
|
* @return {?}
|
|
@@ -22688,7 +22720,7 @@ class CommonDialogComponent {
|
|
|
22688
22720
|
* @return {?}
|
|
22689
22721
|
*/
|
|
22690
22722
|
getInfo() {
|
|
22691
|
-
this.translation =
|
|
22723
|
+
this.translation = getTranslation();
|
|
22692
22724
|
this.saveBtnLabel = this.saveBtnLabel || this.translation.SAVE || ".SAVE";
|
|
22693
22725
|
this.cancelBtnLabel =
|
|
22694
22726
|
this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
|
|
@@ -25501,7 +25533,7 @@ class DashboardPorletsService {
|
|
|
25501
25533
|
* @return {?}
|
|
25502
25534
|
*/
|
|
25503
25535
|
getInfo() {
|
|
25504
|
-
this.translation =
|
|
25536
|
+
this.translation = getTranslation();
|
|
25505
25537
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
25506
25538
|
this.lang = this.pbf.getLanguageParams();
|
|
25507
25539
|
this.translation.DASHBOARD_ROLLING = this.translation.DASHBOARD_ROLLING
|
|
@@ -27924,7 +27956,7 @@ const ALL_AGGREGATE_TYPES = [
|
|
|
27924
27956
|
"PercentageOfParentTotal",
|
|
27925
27957
|
];
|
|
27926
27958
|
/** @type {?} */
|
|
27927
|
-
let translation =
|
|
27959
|
+
let translation = getTranslation();
|
|
27928
27960
|
/** @type {?} */
|
|
27929
27961
|
const AGGREGATE_TYPES_TEXT = {
|
|
27930
27962
|
CalculateIRR: translation.CALCULATE_IRR || "Calculate IRR",
|
|
@@ -27988,7 +28020,7 @@ class FieldFormatComponent {
|
|
|
27988
28020
|
* @return {?}
|
|
27989
28021
|
*/
|
|
27990
28022
|
ngOnInit() {
|
|
27991
|
-
this.translation =
|
|
28023
|
+
this.translation = getTranslation();
|
|
27992
28024
|
this.alignList = this.setAlignList();
|
|
27993
28025
|
this.fontSizeList = this.setFontSizeList();
|
|
27994
28026
|
this.compareList = this.setCompareList();
|
|
@@ -29014,7 +29046,7 @@ class DataMartNewComponent {
|
|
|
29014
29046
|
* @return {?}
|
|
29015
29047
|
*/
|
|
29016
29048
|
getInfo() {
|
|
29017
|
-
this.translation =
|
|
29049
|
+
this.translation = getTranslation();
|
|
29018
29050
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
29019
29051
|
this.lang = this.pbf.getLanguageParams();
|
|
29020
29052
|
this.config =
|
|
@@ -29714,7 +29746,7 @@ class PaneDownloadComponent {
|
|
|
29714
29746
|
* @return {?}
|
|
29715
29747
|
*/
|
|
29716
29748
|
ngOnInit() {
|
|
29717
|
-
this.translation =
|
|
29749
|
+
this.translation = getTranslation();
|
|
29718
29750
|
this.portlets = this.data.portlets.filter((/**
|
|
29719
29751
|
* @param {?} item
|
|
29720
29752
|
* @return {?}
|
|
@@ -30103,7 +30135,7 @@ class PaneGroupNewComponent {
|
|
|
30103
30135
|
this.hasInit = true;
|
|
30104
30136
|
this.hasChangeDataTable = false;
|
|
30105
30137
|
this.activeTabLabel = "";
|
|
30106
|
-
this.translation =
|
|
30138
|
+
this.translation = getTranslation();
|
|
30107
30139
|
this.push_btn = false;
|
|
30108
30140
|
this.draggableHandle = ".gadget-title";
|
|
30109
30141
|
this.subscriptions = [];
|
|
@@ -31118,7 +31150,7 @@ class PaneGroupNewComponent {
|
|
|
31118
31150
|
* @return {?}
|
|
31119
31151
|
*/
|
|
31120
31152
|
getInfo() {
|
|
31121
|
-
this.translation =
|
|
31153
|
+
this.translation = getTranslation();
|
|
31122
31154
|
this.lang = this.pbf.getLanguageParams();
|
|
31123
31155
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
31124
31156
|
}
|
|
@@ -33163,7 +33195,7 @@ class ConfirmSelectComponent {
|
|
|
33163
33195
|
* @return {?}
|
|
33164
33196
|
*/
|
|
33165
33197
|
getInfo() {
|
|
33166
|
-
this.translation =
|
|
33198
|
+
this.translation = getTranslation();
|
|
33167
33199
|
}
|
|
33168
33200
|
/**
|
|
33169
33201
|
* @return {?}
|
|
@@ -34389,7 +34421,7 @@ class SidebarIconlistNewComponent {
|
|
|
34389
34421
|
this.updatePushBtn = new EventEmitter();
|
|
34390
34422
|
this.chartUpdate = new EventEmitter();
|
|
34391
34423
|
this.updateTheme = new EventEmitter();
|
|
34392
|
-
this.translation =
|
|
34424
|
+
this.translation = getTranslation();
|
|
34393
34425
|
this.dataMartTableList = [];
|
|
34394
34426
|
this.hasChanged = false;
|
|
34395
34427
|
this.subscriptions = [];
|
|
@@ -34865,7 +34897,7 @@ class SidebarIconlistNewComponent {
|
|
|
34865
34897
|
* @return {?}
|
|
34866
34898
|
*/
|
|
34867
34899
|
getInfo() {
|
|
34868
|
-
this.translation =
|
|
34900
|
+
this.translation = getTranslation();
|
|
34869
34901
|
this.lang = this.pbf.getLanguageParams();
|
|
34870
34902
|
}
|
|
34871
34903
|
/**
|
|
@@ -36641,7 +36673,7 @@ class GadgetTableComponent {
|
|
|
36641
36673
|
* @return {?}
|
|
36642
36674
|
*/
|
|
36643
36675
|
getInfo() {
|
|
36644
|
-
this.translation =
|
|
36676
|
+
this.translation = getTranslation();
|
|
36645
36677
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
36646
36678
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
36647
36679
|
}
|
|
@@ -40667,7 +40699,7 @@ class GadgetPivotComponent {
|
|
|
40667
40699
|
*/
|
|
40668
40700
|
getInfo() {
|
|
40669
40701
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
40670
|
-
this.translation =
|
|
40702
|
+
this.translation = getTranslation();
|
|
40671
40703
|
}
|
|
40672
40704
|
/**
|
|
40673
40705
|
* @param {?} args
|
|
@@ -45087,7 +45119,7 @@ class GadgetPivotChartComponent {
|
|
|
45087
45119
|
*/
|
|
45088
45120
|
getInfo() {
|
|
45089
45121
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
45090
|
-
this.translation =
|
|
45122
|
+
this.translation = getTranslation();
|
|
45091
45123
|
L10n.load({
|
|
45092
45124
|
"en-US": {
|
|
45093
45125
|
pivotview: AGGREGATE_TYPES_TEXT,
|
|
@@ -46680,7 +46712,7 @@ class GadgetTransposeComponent {
|
|
|
46680
46712
|
* @return {?}
|
|
46681
46713
|
*/
|
|
46682
46714
|
getInfo() {
|
|
46683
|
-
this.translation =
|
|
46715
|
+
this.translation = getTranslation();
|
|
46684
46716
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
46685
46717
|
}
|
|
46686
46718
|
/**
|
|
@@ -47374,7 +47406,7 @@ class PortletTypeNewComponent {
|
|
|
47374
47406
|
* @return {?}
|
|
47375
47407
|
*/
|
|
47376
47408
|
getInfo() {
|
|
47377
|
-
this.translation =
|
|
47409
|
+
this.translation = getTranslation();
|
|
47378
47410
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
47379
47411
|
}
|
|
47380
47412
|
/**
|
|
@@ -48281,7 +48313,7 @@ class FieldFilterComponent {
|
|
|
48281
48313
|
* @return {?}
|
|
48282
48314
|
*/
|
|
48283
48315
|
getInfo() {
|
|
48284
|
-
this.translation =
|
|
48316
|
+
this.translation = getTranslation();
|
|
48285
48317
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
48286
48318
|
this.userProfile = JSON.parse(localStorage.getItem("userProfile"));
|
|
48287
48319
|
this.datePipeFormat = localStorage.getItem("datePipe");
|