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
|
+
var translationStr = localStorage.getItem("translation") ||
|
|
60
|
+
localStorage.getItem("IP-translation");
|
|
61
|
+
if (translationStr &&
|
|
62
|
+
translationStr !== "null" &&
|
|
63
|
+
translationStr !== "undefined") {
|
|
64
|
+
/** @type {?} */
|
|
65
|
+
var 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 @@ var CommonGridComponent = /** @class */ (function () {
|
|
|
141
173
|
}));
|
|
142
174
|
return list;
|
|
143
175
|
});
|
|
144
|
-
this.translation =
|
|
176
|
+
this.translation = getTranslation();
|
|
145
177
|
}
|
|
146
178
|
/**
|
|
147
179
|
* @return {?}
|
|
@@ -1016,7 +1048,7 @@ if (false) {
|
|
|
1016
1048
|
*/
|
|
1017
1049
|
var GridActionComponent = /** @class */ (function () {
|
|
1018
1050
|
function GridActionComponent() {
|
|
1019
|
-
this.translation =
|
|
1051
|
+
this.translation = getTranslation();
|
|
1020
1052
|
}
|
|
1021
1053
|
GridActionComponent.decorators = [
|
|
1022
1054
|
{ type: Component, args: [{
|
|
@@ -1930,7 +1962,7 @@ var CommonDeleteComponent = /** @class */ (function () {
|
|
|
1930
1962
|
* @return {?}
|
|
1931
1963
|
*/
|
|
1932
1964
|
function () {
|
|
1933
|
-
this.translation =
|
|
1965
|
+
this.translation = getTranslation();
|
|
1934
1966
|
this.title =
|
|
1935
1967
|
this.data.title || this.translation["DELETE_RECORD"] || ".DELETE_RECORD";
|
|
1936
1968
|
this.saveBtnLabel =
|
|
@@ -2012,7 +2044,7 @@ var DialogService = /** @class */ (function () {
|
|
|
2012
2044
|
* @param dialog: MatDialog
|
|
2013
2045
|
*/
|
|
2014
2046
|
this.translation = null;
|
|
2015
|
-
this.translation =
|
|
2047
|
+
this.translation = getTranslation();
|
|
2016
2048
|
}
|
|
2017
2049
|
/**
|
|
2018
2050
|
* @param {?} config
|
|
@@ -2324,7 +2356,7 @@ var RsCommentaryComponent = /** @class */ (function () {
|
|
|
2324
2356
|
* @return {?}
|
|
2325
2357
|
*/
|
|
2326
2358
|
function () {
|
|
2327
|
-
this.translation =
|
|
2359
|
+
this.translation = getTranslation();
|
|
2328
2360
|
};
|
|
2329
2361
|
/**
|
|
2330
2362
|
* @return {?}
|
|
@@ -2694,7 +2726,7 @@ var SearchInputComponent = /** @class */ (function () {
|
|
|
2694
2726
|
* @return {?}
|
|
2695
2727
|
*/
|
|
2696
2728
|
function () {
|
|
2697
|
-
this.translation =
|
|
2729
|
+
this.translation = getTranslation();
|
|
2698
2730
|
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
2699
2731
|
};
|
|
2700
2732
|
/**
|
|
@@ -2782,7 +2814,7 @@ var RsPageListComponent = /** @class */ (function () {
|
|
|
2782
2814
|
* @return {?}
|
|
2783
2815
|
*/
|
|
2784
2816
|
function () {
|
|
2785
|
-
this.translation =
|
|
2817
|
+
this.translation = getTranslation();
|
|
2786
2818
|
};
|
|
2787
2819
|
/**
|
|
2788
2820
|
* @return {?}
|
|
@@ -3024,7 +3056,7 @@ var GridBoxComponent = /** @class */ (function () {
|
|
|
3024
3056
|
* @return {?}
|
|
3025
3057
|
*/
|
|
3026
3058
|
function () {
|
|
3027
|
-
this.translation =
|
|
3059
|
+
this.translation = getTranslation();
|
|
3028
3060
|
};
|
|
3029
3061
|
/**
|
|
3030
3062
|
* @return {?}
|
|
@@ -3442,7 +3474,7 @@ var MultiTabComponent = /** @class */ (function () {
|
|
|
3442
3474
|
*/
|
|
3443
3475
|
function () {
|
|
3444
3476
|
var _this = this;
|
|
3445
|
-
this.translation =
|
|
3477
|
+
this.translation = getTranslation();
|
|
3446
3478
|
this.initTab();
|
|
3447
3479
|
// 解决刷新页面后,选中的 tab 丢失问题
|
|
3448
3480
|
/** @type {?} */
|
|
@@ -21385,7 +21417,7 @@ var RSHeaderComponent = /** @class */ (function () {
|
|
|
21385
21417
|
* @return {?}
|
|
21386
21418
|
*/
|
|
21387
21419
|
function () {
|
|
21388
|
-
this.translation =
|
|
21420
|
+
this.translation = getTranslation();
|
|
21389
21421
|
};
|
|
21390
21422
|
/**
|
|
21391
21423
|
* @param {?=} isCollapsed
|
|
@@ -21419,8 +21451,8 @@ var RSHeaderComponent = /** @class */ (function () {
|
|
|
21419
21451
|
RSHeaderComponent.decorators = [
|
|
21420
21452
|
{ type: Component, args: [{
|
|
21421
21453
|
selector: "rs-header",
|
|
21422
|
-
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <
|
|
21423
|
-
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;
|
|
21454
|
+
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",
|
|
21455
|
+
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}"]
|
|
21424
21456
|
}] }
|
|
21425
21457
|
];
|
|
21426
21458
|
/** @nocollapse */
|
|
@@ -22381,7 +22413,7 @@ var CheckboxGroupComponent = /** @class */ (function () {
|
|
|
22381
22413
|
*/
|
|
22382
22414
|
function () {
|
|
22383
22415
|
console.log("first", this.value);
|
|
22384
|
-
this.translation =
|
|
22416
|
+
this.translation = getTranslation();
|
|
22385
22417
|
};
|
|
22386
22418
|
Object.defineProperty(CheckboxGroupComponent.prototype, "enabledDataSource", {
|
|
22387
22419
|
get: /**
|
|
@@ -23714,7 +23746,7 @@ var CommonDialogComponent = /** @class */ (function () {
|
|
|
23714
23746
|
* @return {?}
|
|
23715
23747
|
*/
|
|
23716
23748
|
function () {
|
|
23717
|
-
this.translation =
|
|
23749
|
+
this.translation = getTranslation();
|
|
23718
23750
|
this.saveBtnLabel = this.saveBtnLabel || this.translation.SAVE || ".SAVE";
|
|
23719
23751
|
this.cancelBtnLabel =
|
|
23720
23752
|
this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
|
|
@@ -26864,7 +26896,7 @@ var DashboardPorletsService = /** @class */ (function () {
|
|
|
26864
26896
|
* @return {?}
|
|
26865
26897
|
*/
|
|
26866
26898
|
function () {
|
|
26867
|
-
this.translation =
|
|
26899
|
+
this.translation = getTranslation();
|
|
26868
26900
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
26869
26901
|
this.lang = this.pbf.getLanguageParams();
|
|
26870
26902
|
this.translation.DASHBOARD_ROLLING = this.translation.DASHBOARD_ROLLING
|
|
@@ -29694,7 +29726,7 @@ var ALL_AGGREGATE_TYPES = [
|
|
|
29694
29726
|
"PercentageOfParentTotal",
|
|
29695
29727
|
];
|
|
29696
29728
|
/** @type {?} */
|
|
29697
|
-
var translation =
|
|
29729
|
+
var translation = getTranslation();
|
|
29698
29730
|
/** @type {?} */
|
|
29699
29731
|
var AGGREGATE_TYPES_TEXT = {
|
|
29700
29732
|
CalculateIRR: translation.CALCULATE_IRR || "Calculate IRR",
|
|
@@ -29753,7 +29785,7 @@ var FieldFormatComponent = /** @class */ (function () {
|
|
|
29753
29785
|
* @return {?}
|
|
29754
29786
|
*/
|
|
29755
29787
|
function () {
|
|
29756
|
-
this.translation =
|
|
29788
|
+
this.translation = getTranslation();
|
|
29757
29789
|
this.alignList = this.setAlignList();
|
|
29758
29790
|
this.fontSizeList = this.setFontSizeList();
|
|
29759
29791
|
this.compareList = this.setCompareList();
|
|
@@ -30961,7 +30993,7 @@ var DataMartNewComponent = /** @class */ (function () {
|
|
|
30961
30993
|
* @return {?}
|
|
30962
30994
|
*/
|
|
30963
30995
|
function () {
|
|
30964
|
-
this.translation =
|
|
30996
|
+
this.translation = getTranslation();
|
|
30965
30997
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
30966
30998
|
this.lang = this.pbf.getLanguageParams();
|
|
30967
30999
|
this.config =
|
|
@@ -31735,7 +31767,7 @@ var PaneDownloadComponent = /** @class */ (function () {
|
|
|
31735
31767
|
*/
|
|
31736
31768
|
function () {
|
|
31737
31769
|
var _this = this;
|
|
31738
|
-
this.translation =
|
|
31770
|
+
this.translation = getTranslation();
|
|
31739
31771
|
this.portlets = this.data.portlets.filter((/**
|
|
31740
31772
|
* @param {?} item
|
|
31741
31773
|
* @return {?}
|
|
@@ -32195,7 +32227,7 @@ var PaneGroupNewComponent = /** @class */ (function () {
|
|
|
32195
32227
|
this.hasInit = true;
|
|
32196
32228
|
this.hasChangeDataTable = false;
|
|
32197
32229
|
this.activeTabLabel = "";
|
|
32198
|
-
this.translation =
|
|
32230
|
+
this.translation = getTranslation();
|
|
32199
32231
|
this.push_btn = false;
|
|
32200
32232
|
this.draggableHandle = ".gadget-title";
|
|
32201
32233
|
this.subscriptions = [];
|
|
@@ -33353,7 +33385,7 @@ var PaneGroupNewComponent = /** @class */ (function () {
|
|
|
33353
33385
|
* @return {?}
|
|
33354
33386
|
*/
|
|
33355
33387
|
function () {
|
|
33356
|
-
this.translation =
|
|
33388
|
+
this.translation = getTranslation();
|
|
33357
33389
|
this.lang = this.pbf.getLanguageParams();
|
|
33358
33390
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
33359
33391
|
};
|
|
@@ -35698,7 +35730,7 @@ var ConfirmSelectComponent = /** @class */ (function () {
|
|
|
35698
35730
|
* @return {?}
|
|
35699
35731
|
*/
|
|
35700
35732
|
function () {
|
|
35701
|
-
this.translation =
|
|
35733
|
+
this.translation = getTranslation();
|
|
35702
35734
|
};
|
|
35703
35735
|
/**
|
|
35704
35736
|
* @return {?}
|
|
@@ -37045,7 +37077,7 @@ var SidebarIconlistNewComponent = /** @class */ (function () {
|
|
|
37045
37077
|
this.updatePushBtn = new EventEmitter();
|
|
37046
37078
|
this.chartUpdate = new EventEmitter();
|
|
37047
37079
|
this.updateTheme = new EventEmitter();
|
|
37048
|
-
this.translation =
|
|
37080
|
+
this.translation = getTranslation();
|
|
37049
37081
|
this.dataMartTableList = [];
|
|
37050
37082
|
this.hasChanged = false;
|
|
37051
37083
|
this.subscriptions = [];
|
|
@@ -37546,7 +37578,7 @@ var SidebarIconlistNewComponent = /** @class */ (function () {
|
|
|
37546
37578
|
* @return {?}
|
|
37547
37579
|
*/
|
|
37548
37580
|
function () {
|
|
37549
|
-
this.translation =
|
|
37581
|
+
this.translation = getTranslation();
|
|
37550
37582
|
this.lang = this.pbf.getLanguageParams();
|
|
37551
37583
|
};
|
|
37552
37584
|
/**
|
|
@@ -39490,7 +39522,7 @@ var GadgetTableComponent = /** @class */ (function () {
|
|
|
39490
39522
|
* @return {?}
|
|
39491
39523
|
*/
|
|
39492
39524
|
function () {
|
|
39493
|
-
this.translation =
|
|
39525
|
+
this.translation = getTranslation();
|
|
39494
39526
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
39495
39527
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
39496
39528
|
};
|
|
@@ -43933,7 +43965,7 @@ var GadgetPivotComponent = /** @class */ (function () {
|
|
|
43933
43965
|
*/
|
|
43934
43966
|
function () {
|
|
43935
43967
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
43936
|
-
this.translation =
|
|
43968
|
+
this.translation = getTranslation();
|
|
43937
43969
|
};
|
|
43938
43970
|
/**
|
|
43939
43971
|
* @param {?} args
|
|
@@ -48844,7 +48876,7 @@ var GadgetPivotChartComponent = /** @class */ (function () {
|
|
|
48844
48876
|
*/
|
|
48845
48877
|
function () {
|
|
48846
48878
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
48847
|
-
this.translation =
|
|
48879
|
+
this.translation = getTranslation();
|
|
48848
48880
|
L10n.load({
|
|
48849
48881
|
"en-US": {
|
|
48850
48882
|
pivotview: AGGREGATE_TYPES_TEXT,
|
|
@@ -50613,7 +50645,7 @@ var GadgetTransposeComponent = /** @class */ (function () {
|
|
|
50613
50645
|
* @return {?}
|
|
50614
50646
|
*/
|
|
50615
50647
|
function () {
|
|
50616
|
-
this.translation =
|
|
50648
|
+
this.translation = getTranslation();
|
|
50617
50649
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
50618
50650
|
};
|
|
50619
50651
|
/**
|
|
@@ -51380,7 +51412,7 @@ var PortletTypeNewComponent = /** @class */ (function () {
|
|
|
51380
51412
|
* @return {?}
|
|
51381
51413
|
*/
|
|
51382
51414
|
function () {
|
|
51383
|
-
this.translation =
|
|
51415
|
+
this.translation = getTranslation();
|
|
51384
51416
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
51385
51417
|
};
|
|
51386
51418
|
/**
|
|
@@ -52390,7 +52422,7 @@ var FieldFilterComponent = /** @class */ (function () {
|
|
|
52390
52422
|
* @return {?}
|
|
52391
52423
|
*/
|
|
52392
52424
|
function () {
|
|
52393
|
-
this.translation =
|
|
52425
|
+
this.translation = getTranslation();
|
|
52394
52426
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
52395
52427
|
this.userProfile = JSON.parse(localStorage.getItem("userProfile"));
|
|
52396
52428
|
this.datePipeFormat = localStorage.getItem("datePipe");
|