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
package/README.md
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
# RaiseCommonLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
|
|
4
|
-
|
|
5
|
-
## Build
|
|
6
|
-
|
|
7
|
-
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
8
|
-
|
|
9
|
-
## Publishing
|
|
10
|
-
|
|
11
|
-
After building your library with `npm run build`, go to the dist folder `cd dist/raise-common-lib` and run `npm publish`.
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
- ### Install
|
|
15
|
-
```bash
|
|
16
|
-
$ npm install raise-common-lib
|
|
17
|
-
```
|
|
18
|
-
- ### Set **angular.json**
|
|
19
|
-
```json
|
|
20
|
-
"projects": {
|
|
21
|
-
"lpInvestor": {
|
|
22
|
-
"projectType": "application",
|
|
23
|
-
"architect": {
|
|
24
|
-
"build": {
|
|
25
|
-
"options": {
|
|
26
|
-
...
|
|
27
|
-
"assets": [
|
|
28
|
-
...
|
|
29
|
-
{
|
|
30
|
-
"glob": "**/*",
|
|
31
|
-
"input": "node_modules/raise-common-lib/src/assets/",
|
|
32
|
-
"output": "/assets/"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"styles": [
|
|
36
|
-
...
|
|
37
|
-
"node_modules/raise-common-lib/src/assets/style/styles.scss",
|
|
38
|
-
"src/styles.scss",
|
|
39
|
-
],
|
|
40
|
-
}
|
|
41
|
-
...
|
|
42
|
-
...
|
|
43
|
-
...
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
- ### Import Module
|
|
47
|
-
```tsx
|
|
48
|
-
//app.module.ts
|
|
49
|
-
|
|
50
|
-
import { RaiseCommonLibModule } from "raise-common-lib";
|
|
51
|
-
|
|
52
|
-
@NgModule({
|
|
53
|
-
imports: [
|
|
54
|
-
...
|
|
55
|
-
RaiseCommonLibModule
|
|
56
|
-
],
|
|
57
|
-
```
|
|
1
|
+
# RaiseCommonLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
|
|
4
|
+
|
|
5
|
+
## Build
|
|
6
|
+
|
|
7
|
+
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
8
|
+
|
|
9
|
+
## Publishing
|
|
10
|
+
|
|
11
|
+
After building your library with `npm run build`, go to the dist folder `cd dist/raise-common-lib` and run `npm publish`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
- ### Install
|
|
15
|
+
```bash
|
|
16
|
+
$ npm install raise-common-lib
|
|
17
|
+
```
|
|
18
|
+
- ### Set **angular.json**
|
|
19
|
+
```json
|
|
20
|
+
"projects": {
|
|
21
|
+
"lpInvestor": {
|
|
22
|
+
"projectType": "application",
|
|
23
|
+
"architect": {
|
|
24
|
+
"build": {
|
|
25
|
+
"options": {
|
|
26
|
+
...
|
|
27
|
+
"assets": [
|
|
28
|
+
...
|
|
29
|
+
{
|
|
30
|
+
"glob": "**/*",
|
|
31
|
+
"input": "node_modules/raise-common-lib/src/assets/",
|
|
32
|
+
"output": "/assets/"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"styles": [
|
|
36
|
+
...
|
|
37
|
+
"node_modules/raise-common-lib/src/assets/style/styles.scss",
|
|
38
|
+
"src/styles.scss",
|
|
39
|
+
],
|
|
40
|
+
}
|
|
41
|
+
...
|
|
42
|
+
...
|
|
43
|
+
...
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
- ### Import Module
|
|
47
|
+
```tsx
|
|
48
|
+
//app.module.ts
|
|
49
|
+
|
|
50
|
+
import { RaiseCommonLibModule } from "raise-common-lib";
|
|
51
|
+
|
|
52
|
+
@NgModule({
|
|
53
|
+
imports: [
|
|
54
|
+
...
|
|
55
|
+
RaiseCommonLibModule
|
|
56
|
+
],
|
|
57
|
+
```
|
|
@@ -411,6 +411,38 @@
|
|
|
411
411
|
__rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
|
|
412
412
|
};
|
|
413
413
|
|
|
414
|
+
/**
|
|
415
|
+
* @fileoverview added by tsickle
|
|
416
|
+
* Generated from: lib/utils/utils.ts
|
|
417
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
418
|
+
*/
|
|
419
|
+
/**
|
|
420
|
+
* @return {?}
|
|
421
|
+
*/
|
|
422
|
+
function getTranslation() {
|
|
423
|
+
try {
|
|
424
|
+
/** @type {?} */
|
|
425
|
+
var translationStr = localStorage.getItem("translation") ||
|
|
426
|
+
localStorage.getItem("IP-translation");
|
|
427
|
+
if (translationStr &&
|
|
428
|
+
translationStr !== "null" &&
|
|
429
|
+
translationStr !== "undefined") {
|
|
430
|
+
/** @type {?} */
|
|
431
|
+
var translation = JSON.parse(translationStr);
|
|
432
|
+
// 注意:typeof null === 'object',所以需要额外检查 translation !== null
|
|
433
|
+
if (translation !== null && typeof translation === "object") {
|
|
434
|
+
return translation;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
catch (e) {
|
|
439
|
+
console.warn("Failed to parse IP-translation from localStorage:", e);
|
|
440
|
+
}
|
|
441
|
+
// 返回空对象,在模板中使用 translation?.KEY || '.KEY' 格式访问
|
|
442
|
+
// 不使用 Proxy 以确保 iPad Safari 兼容性
|
|
443
|
+
return {};
|
|
444
|
+
}
|
|
445
|
+
|
|
414
446
|
/**
|
|
415
447
|
* @fileoverview added by tsickle
|
|
416
448
|
* Generated from: lib/common-grid/index.component.ts
|
|
@@ -507,7 +539,7 @@
|
|
|
507
539
|
}));
|
|
508
540
|
return list;
|
|
509
541
|
});
|
|
510
|
-
this.translation =
|
|
542
|
+
this.translation = getTranslation();
|
|
511
543
|
}
|
|
512
544
|
/**
|
|
513
545
|
* @return {?}
|
|
@@ -1382,7 +1414,7 @@
|
|
|
1382
1414
|
*/
|
|
1383
1415
|
var GridActionComponent = /** @class */ (function () {
|
|
1384
1416
|
function GridActionComponent() {
|
|
1385
|
-
this.translation =
|
|
1417
|
+
this.translation = getTranslation();
|
|
1386
1418
|
}
|
|
1387
1419
|
GridActionComponent.decorators = [
|
|
1388
1420
|
{ type: core.Component, args: [{
|
|
@@ -2296,7 +2328,7 @@
|
|
|
2296
2328
|
* @return {?}
|
|
2297
2329
|
*/
|
|
2298
2330
|
function () {
|
|
2299
|
-
this.translation =
|
|
2331
|
+
this.translation = getTranslation();
|
|
2300
2332
|
this.title =
|
|
2301
2333
|
this.data.title || this.translation["DELETE_RECORD"] || ".DELETE_RECORD";
|
|
2302
2334
|
this.saveBtnLabel =
|
|
@@ -2378,7 +2410,7 @@
|
|
|
2378
2410
|
* @param dialog: MatDialog
|
|
2379
2411
|
*/
|
|
2380
2412
|
this.translation = null;
|
|
2381
|
-
this.translation =
|
|
2413
|
+
this.translation = getTranslation();
|
|
2382
2414
|
}
|
|
2383
2415
|
/**
|
|
2384
2416
|
* @param {?} config
|
|
@@ -2690,7 +2722,7 @@
|
|
|
2690
2722
|
* @return {?}
|
|
2691
2723
|
*/
|
|
2692
2724
|
function () {
|
|
2693
|
-
this.translation =
|
|
2725
|
+
this.translation = getTranslation();
|
|
2694
2726
|
};
|
|
2695
2727
|
/**
|
|
2696
2728
|
* @return {?}
|
|
@@ -3060,7 +3092,7 @@
|
|
|
3060
3092
|
* @return {?}
|
|
3061
3093
|
*/
|
|
3062
3094
|
function () {
|
|
3063
|
-
this.translation =
|
|
3095
|
+
this.translation = getTranslation();
|
|
3064
3096
|
this.placeholder = this.placeholder || this.translation.SEARCH;
|
|
3065
3097
|
};
|
|
3066
3098
|
/**
|
|
@@ -3148,7 +3180,7 @@
|
|
|
3148
3180
|
* @return {?}
|
|
3149
3181
|
*/
|
|
3150
3182
|
function () {
|
|
3151
|
-
this.translation =
|
|
3183
|
+
this.translation = getTranslation();
|
|
3152
3184
|
};
|
|
3153
3185
|
/**
|
|
3154
3186
|
* @return {?}
|
|
@@ -3390,7 +3422,7 @@
|
|
|
3390
3422
|
* @return {?}
|
|
3391
3423
|
*/
|
|
3392
3424
|
function () {
|
|
3393
|
-
this.translation =
|
|
3425
|
+
this.translation = getTranslation();
|
|
3394
3426
|
};
|
|
3395
3427
|
/**
|
|
3396
3428
|
* @return {?}
|
|
@@ -3808,7 +3840,7 @@
|
|
|
3808
3840
|
*/
|
|
3809
3841
|
function () {
|
|
3810
3842
|
var _this = this;
|
|
3811
|
-
this.translation =
|
|
3843
|
+
this.translation = getTranslation();
|
|
3812
3844
|
this.initTab();
|
|
3813
3845
|
// 解决刷新页面后,选中的 tab 丢失问题
|
|
3814
3846
|
/** @type {?} */
|
|
@@ -21751,7 +21783,7 @@
|
|
|
21751
21783
|
* @return {?}
|
|
21752
21784
|
*/
|
|
21753
21785
|
function () {
|
|
21754
|
-
this.translation =
|
|
21786
|
+
this.translation = getTranslation();
|
|
21755
21787
|
};
|
|
21756
21788
|
/**
|
|
21757
21789
|
* @param {?=} isCollapsed
|
|
@@ -21785,8 +21817,8 @@
|
|
|
21785
21817
|
RSHeaderComponent.decorators = [
|
|
21786
21818
|
{ type: core.Component, args: [{
|
|
21787
21819
|
selector: "rs-header",
|
|
21788
|
-
template: "<div class=\"rs-header\">\r\n <div class=\"logo-wrap\">\r\n <div class=\"toggle-menu-wrap\">\r\n <
|
|
21789
|
-
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;
|
|
21820
|
+
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",
|
|
21821
|
+
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}"]
|
|
21790
21822
|
}] }
|
|
21791
21823
|
];
|
|
21792
21824
|
/** @nocollapse */
|
|
@@ -22747,7 +22779,7 @@
|
|
|
22747
22779
|
*/
|
|
22748
22780
|
function () {
|
|
22749
22781
|
console.log("first", this.value);
|
|
22750
|
-
this.translation =
|
|
22782
|
+
this.translation = getTranslation();
|
|
22751
22783
|
};
|
|
22752
22784
|
Object.defineProperty(CheckboxGroupComponent.prototype, "enabledDataSource", {
|
|
22753
22785
|
get: /**
|
|
@@ -24080,7 +24112,7 @@
|
|
|
24080
24112
|
* @return {?}
|
|
24081
24113
|
*/
|
|
24082
24114
|
function () {
|
|
24083
|
-
this.translation =
|
|
24115
|
+
this.translation = getTranslation();
|
|
24084
24116
|
this.saveBtnLabel = this.saveBtnLabel || this.translation.SAVE || ".SAVE";
|
|
24085
24117
|
this.cancelBtnLabel =
|
|
24086
24118
|
this.cancelBtnLabel || this.translation.CANCEL || ".CANCEL";
|
|
@@ -27230,7 +27262,7 @@
|
|
|
27230
27262
|
* @return {?}
|
|
27231
27263
|
*/
|
|
27232
27264
|
function () {
|
|
27233
|
-
this.translation =
|
|
27265
|
+
this.translation = getTranslation();
|
|
27234
27266
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
27235
27267
|
this.lang = this.pbf.getLanguageParams();
|
|
27236
27268
|
this.translation.DASHBOARD_ROLLING = this.translation.DASHBOARD_ROLLING
|
|
@@ -30060,7 +30092,7 @@
|
|
|
30060
30092
|
"PercentageOfParentTotal",
|
|
30061
30093
|
];
|
|
30062
30094
|
/** @type {?} */
|
|
30063
|
-
var translation =
|
|
30095
|
+
var translation = getTranslation();
|
|
30064
30096
|
/** @type {?} */
|
|
30065
30097
|
var AGGREGATE_TYPES_TEXT = {
|
|
30066
30098
|
CalculateIRR: translation.CALCULATE_IRR || "Calculate IRR",
|
|
@@ -30119,7 +30151,7 @@
|
|
|
30119
30151
|
* @return {?}
|
|
30120
30152
|
*/
|
|
30121
30153
|
function () {
|
|
30122
|
-
this.translation =
|
|
30154
|
+
this.translation = getTranslation();
|
|
30123
30155
|
this.alignList = this.setAlignList();
|
|
30124
30156
|
this.fontSizeList = this.setFontSizeList();
|
|
30125
30157
|
this.compareList = this.setCompareList();
|
|
@@ -31327,7 +31359,7 @@
|
|
|
31327
31359
|
* @return {?}
|
|
31328
31360
|
*/
|
|
31329
31361
|
function () {
|
|
31330
|
-
this.translation =
|
|
31362
|
+
this.translation = getTranslation();
|
|
31331
31363
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
31332
31364
|
this.lang = this.pbf.getLanguageParams();
|
|
31333
31365
|
this.config =
|
|
@@ -32101,7 +32133,7 @@
|
|
|
32101
32133
|
*/
|
|
32102
32134
|
function () {
|
|
32103
32135
|
var _this = this;
|
|
32104
|
-
this.translation =
|
|
32136
|
+
this.translation = getTranslation();
|
|
32105
32137
|
this.portlets = this.data.portlets.filter((/**
|
|
32106
32138
|
* @param {?} item
|
|
32107
32139
|
* @return {?}
|
|
@@ -32561,7 +32593,7 @@
|
|
|
32561
32593
|
this.hasInit = true;
|
|
32562
32594
|
this.hasChangeDataTable = false;
|
|
32563
32595
|
this.activeTabLabel = "";
|
|
32564
|
-
this.translation =
|
|
32596
|
+
this.translation = getTranslation();
|
|
32565
32597
|
this.push_btn = false;
|
|
32566
32598
|
this.draggableHandle = ".gadget-title";
|
|
32567
32599
|
this.subscriptions = [];
|
|
@@ -33719,7 +33751,7 @@
|
|
|
33719
33751
|
* @return {?}
|
|
33720
33752
|
*/
|
|
33721
33753
|
function () {
|
|
33722
|
-
this.translation =
|
|
33754
|
+
this.translation = getTranslation();
|
|
33723
33755
|
this.lang = this.pbf.getLanguageParams();
|
|
33724
33756
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
33725
33757
|
};
|
|
@@ -36064,7 +36096,7 @@
|
|
|
36064
36096
|
* @return {?}
|
|
36065
36097
|
*/
|
|
36066
36098
|
function () {
|
|
36067
|
-
this.translation =
|
|
36099
|
+
this.translation = getTranslation();
|
|
36068
36100
|
};
|
|
36069
36101
|
/**
|
|
36070
36102
|
* @return {?}
|
|
@@ -37411,7 +37443,7 @@
|
|
|
37411
37443
|
this.updatePushBtn = new core.EventEmitter();
|
|
37412
37444
|
this.chartUpdate = new core.EventEmitter();
|
|
37413
37445
|
this.updateTheme = new core.EventEmitter();
|
|
37414
|
-
this.translation =
|
|
37446
|
+
this.translation = getTranslation();
|
|
37415
37447
|
this.dataMartTableList = [];
|
|
37416
37448
|
this.hasChanged = false;
|
|
37417
37449
|
this.subscriptions = [];
|
|
@@ -37912,7 +37944,7 @@
|
|
|
37912
37944
|
* @return {?}
|
|
37913
37945
|
*/
|
|
37914
37946
|
function () {
|
|
37915
|
-
this.translation =
|
|
37947
|
+
this.translation = getTranslation();
|
|
37916
37948
|
this.lang = this.pbf.getLanguageParams();
|
|
37917
37949
|
};
|
|
37918
37950
|
/**
|
|
@@ -39856,7 +39888,7 @@
|
|
|
39856
39888
|
* @return {?}
|
|
39857
39889
|
*/
|
|
39858
39890
|
function () {
|
|
39859
|
-
this.translation =
|
|
39891
|
+
this.translation = getTranslation();
|
|
39860
39892
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
39861
39893
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
39862
39894
|
};
|
|
@@ -44299,7 +44331,7 @@
|
|
|
44299
44331
|
*/
|
|
44300
44332
|
function () {
|
|
44301
44333
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
44302
|
-
this.translation =
|
|
44334
|
+
this.translation = getTranslation();
|
|
44303
44335
|
};
|
|
44304
44336
|
/**
|
|
44305
44337
|
* @param {?} args
|
|
@@ -49210,7 +49242,7 @@
|
|
|
49210
49242
|
*/
|
|
49211
49243
|
function () {
|
|
49212
49244
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
49213
|
-
this.translation =
|
|
49245
|
+
this.translation = getTranslation();
|
|
49214
49246
|
ej2Base.L10n.load({
|
|
49215
49247
|
"en-US": {
|
|
49216
49248
|
pivotview: AGGREGATE_TYPES_TEXT,
|
|
@@ -50979,7 +51011,7 @@
|
|
|
50979
51011
|
* @return {?}
|
|
50980
51012
|
*/
|
|
50981
51013
|
function () {
|
|
50982
|
-
this.translation =
|
|
51014
|
+
this.translation = getTranslation();
|
|
50983
51015
|
this.datePipeFormat = localStorage.getItem("datePipe");
|
|
50984
51016
|
};
|
|
50985
51017
|
/**
|
|
@@ -51746,7 +51778,7 @@
|
|
|
51746
51778
|
* @return {?}
|
|
51747
51779
|
*/
|
|
51748
51780
|
function () {
|
|
51749
|
-
this.translation =
|
|
51781
|
+
this.translation = getTranslation();
|
|
51750
51782
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
51751
51783
|
};
|
|
51752
51784
|
/**
|
|
@@ -52756,7 +52788,7 @@
|
|
|
52756
52788
|
* @return {?}
|
|
52757
52789
|
*/
|
|
52758
52790
|
function () {
|
|
52759
|
-
this.translation =
|
|
52791
|
+
this.translation = getTranslation();
|
|
52760
52792
|
this.userInfo = JSON.parse(localStorage.getItem("userInfo"));
|
|
52761
52793
|
this.userProfile = JSON.parse(localStorage.getItem("userProfile"));
|
|
52762
52794
|
this.datePipeFormat = localStorage.getItem("datePipe");
|