logitude-dashboard-library 3.2.41 → 3.2.43
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/dist/Utils/General.d.ts +3 -2
- package/dist/assets/styles/dl-dashboard.scss +77 -42
- package/dist/features/Dashboard/ChartsComponents/FusionCharts/FusionChartObjectBuilder.d.ts +1 -1
- package/dist/features/Dashboard/ChartsComponents/FusionCharts/FusionChartObjectHelper.d.ts +5 -0
- package/dist/index.js +184 -44
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +184 -44
- package/dist/index.modern.js.map +1 -1
- package/dist/styles/dl-dashboard.scss +77 -42
- package/dist/types/widget.d.ts +4 -0
- package/package.json +1 -1
package/dist/Utils/General.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactWidgetPM } from "../types/widget";
|
|
1
2
|
declare const isNullOrUndefined: (val: any) => boolean;
|
|
2
3
|
declare const isNullOrUndefinedOrEmpty: (val: any) => boolean;
|
|
3
4
|
declare const getGlobalNumberFormatting: () => {
|
|
@@ -5,7 +6,7 @@ declare const getGlobalNumberFormatting: () => {
|
|
|
5
6
|
decimalSeparator: string;
|
|
6
7
|
};
|
|
7
8
|
declare const isValueInteger: (measureCode: string | null | undefined, measureFieldType: string | null | undefined) => boolean;
|
|
8
|
-
declare const getTruncatedValue: (value: number | null | undefined | any,
|
|
9
|
-
declare const getNumberInSystemLocalFormat: (value: number | null | undefined, decimalDigitsCount?: number, minimumFractionDigits?: number, isValueTruncated?: boolean) => string;
|
|
9
|
+
declare const getTruncatedValue: (value: number | null | undefined | any, widget: ReactWidgetPM) => number | null | undefined;
|
|
10
|
+
declare const getNumberInSystemLocalFormat: (value: number | null | undefined, decimalDigitsCount?: number, minimumFractionDigits?: number, isValueTruncated?: boolean, applyAbbreviation?: boolean) => string;
|
|
10
11
|
declare const ConvertStringToPascalCaseHelper: (stringValue: string) => string;
|
|
11
12
|
export { isNullOrUndefined, isNullOrUndefinedOrEmpty, getGlobalNumberFormatting, getNumberInSystemLocalFormat, ConvertStringToPascalCaseHelper, isValueInteger, getTruncatedValue };
|
|
@@ -9,7 +9,7 @@ $red: #F74E49;
|
|
|
9
9
|
$dark-grey: #717585;
|
|
10
10
|
|
|
11
11
|
.dl-dashboard-body {
|
|
12
|
-
background: #
|
|
12
|
+
background: #f3f4f5;
|
|
13
13
|
height: 100%;
|
|
14
14
|
padding: 2px;
|
|
15
15
|
margin: 0;
|
|
@@ -289,14 +289,14 @@ $dark-grey: #717585;
|
|
|
289
289
|
|
|
290
290
|
.header-contents {
|
|
291
291
|
display: flex;
|
|
292
|
-
|
|
292
|
+
|
|
293
293
|
.widget-titles-container {
|
|
294
294
|
display: flex;
|
|
295
295
|
flex-wrap: wrap;
|
|
296
296
|
width: calc(100% - 70px);
|
|
297
297
|
padding: 0px 12px 6px 12px;
|
|
298
298
|
min-height: 28px;
|
|
299
|
-
|
|
299
|
+
|
|
300
300
|
.title-container {
|
|
301
301
|
display: flex;
|
|
302
302
|
align-items: center;
|
|
@@ -306,7 +306,7 @@ $dark-grey: #717585;
|
|
|
306
306
|
overflow: hidden;
|
|
307
307
|
text-overflow: ellipsis;
|
|
308
308
|
min-width: 1px;
|
|
309
|
-
|
|
309
|
+
|
|
310
310
|
.title {
|
|
311
311
|
text-transform: capitalize;
|
|
312
312
|
font-family: 'Manrope', sans-serif;
|
|
@@ -323,7 +323,7 @@ $dark-grey: #717585;
|
|
|
323
323
|
width: auto;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
|
|
326
|
+
|
|
327
327
|
.subtitle {
|
|
328
328
|
font-family: 'Manrope', sans-serif;
|
|
329
329
|
font-style: normal;
|
|
@@ -350,7 +350,7 @@ $dark-grey: #717585;
|
|
|
350
350
|
min-width: 1px;
|
|
351
351
|
padding-top: 4px;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
|
|
354
354
|
.widget-table-titles-container {
|
|
355
355
|
display: flex;
|
|
356
356
|
flex: 1;
|
|
@@ -362,7 +362,7 @@ $dark-grey: #717585;
|
|
|
362
362
|
width: 100%;
|
|
363
363
|
max-width: calc(100% - 170px);
|
|
364
364
|
overflow: hidden;
|
|
365
|
-
|
|
365
|
+
|
|
366
366
|
.title-container {
|
|
367
367
|
display: flex;
|
|
368
368
|
align-items: center;
|
|
@@ -372,7 +372,7 @@ $dark-grey: #717585;
|
|
|
372
372
|
text-overflow: ellipsis;
|
|
373
373
|
width: auto;
|
|
374
374
|
max-width: 60%;
|
|
375
|
-
|
|
375
|
+
|
|
376
376
|
.title {
|
|
377
377
|
text-transform: capitalize;
|
|
378
378
|
font-family: 'Manrope', sans-serif;
|
|
@@ -386,7 +386,7 @@ $dark-grey: #717585;
|
|
|
386
386
|
width: auto;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
|
|
389
|
+
|
|
390
390
|
.subtitle {
|
|
391
391
|
font-family: "Manrope", sans-serif;
|
|
392
392
|
font-style: normal;
|
|
@@ -427,7 +427,7 @@ $dark-grey: #717585;
|
|
|
427
427
|
cursor: pointer;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
|
|
430
|
+
&>span {
|
|
431
431
|
font-size: 12px;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
@@ -438,12 +438,12 @@ $dark-grey: #717585;
|
|
|
438
438
|
width: 68px;
|
|
439
439
|
column-gap: 6px;
|
|
440
440
|
padding-top: 6px;
|
|
441
|
-
|
|
441
|
+
|
|
442
442
|
svg {
|
|
443
443
|
width: 20px;
|
|
444
444
|
height: 20px;
|
|
445
445
|
transform: scale(1.2);
|
|
446
|
-
|
|
446
|
+
|
|
447
447
|
&:hover {
|
|
448
448
|
cursor: pointer;
|
|
449
449
|
}
|
|
@@ -638,11 +638,11 @@ $dark-grey: #717585;
|
|
|
638
638
|
max-width: 100%;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
.dl-kpi-label-container{
|
|
641
|
+
.dl-kpi-label-container {
|
|
642
642
|
line-height: 100%;
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
.dl-kpi-label-span{
|
|
645
|
+
.dl-kpi-label-span {
|
|
646
646
|
font-family: "Manrope";
|
|
647
647
|
font-style: normal;
|
|
648
648
|
font-size: 16px;
|
|
@@ -658,12 +658,12 @@ $dark-grey: #717585;
|
|
|
658
658
|
font-weight: bold;
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
.db-fc-container {
|
|
661
|
+
.db-fc-parent-container {
|
|
662
662
|
width: 100%;
|
|
663
663
|
height: calc(100% - 5px);
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
.db-fc-
|
|
666
|
+
.db-fc-container {
|
|
667
667
|
width: 100%;
|
|
668
668
|
height: calc(100% - 5px);
|
|
669
669
|
}
|
|
@@ -674,6 +674,7 @@ $dark-grey: #717585;
|
|
|
674
674
|
fill: #323232 !important;
|
|
675
675
|
fill-opacity: 100 !important;
|
|
676
676
|
}
|
|
677
|
+
|
|
677
678
|
.db-fc-container tspan {
|
|
678
679
|
font-family: 'Manrope' !important;
|
|
679
680
|
font-size: inherit !important;
|
|
@@ -691,12 +692,41 @@ $dark-grey: #717585;
|
|
|
691
692
|
height: 100%;
|
|
692
693
|
}
|
|
693
694
|
|
|
695
|
+
.db-fc-container-guage {
|
|
696
|
+
width: 100%;
|
|
697
|
+
height: calc(100% - 5px);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.db-fc-container-guage text {
|
|
701
|
+
font-family: 'Manrope' !important;
|
|
702
|
+
font-size: inherit !important;
|
|
703
|
+
fill-opacity: 100 !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.db-fc-container-guage tspan {
|
|
707
|
+
font-family: 'Manrope' !important;
|
|
708
|
+
font-size: inherit !important;
|
|
709
|
+
fill: #323232 !important;
|
|
710
|
+
fill-opacity: 100 !important;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.db-fc-container-guage * {
|
|
714
|
+
font-family: 'Manrope' !important;
|
|
715
|
+
// font-size: 10px !important;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.db-fc-container-guage>*:first-child {
|
|
719
|
+
width: 100%;
|
|
720
|
+
height: 100%;
|
|
721
|
+
}
|
|
722
|
+
|
|
694
723
|
.dl-line {
|
|
695
724
|
border-top: 1px solid #E7E7E7;
|
|
696
725
|
margin-left: 12px;
|
|
697
726
|
margin-right: 12px;
|
|
698
727
|
position: relative;
|
|
699
728
|
}
|
|
729
|
+
|
|
700
730
|
.dl-kpi-no-data {
|
|
701
731
|
font-family: 'Manrope' !important;
|
|
702
732
|
font-size: 10px !important;
|
|
@@ -754,7 +784,8 @@ $dark-grey: #717585;
|
|
|
754
784
|
color: #292D30;
|
|
755
785
|
}
|
|
756
786
|
|
|
757
|
-
.dl-kpi-unit,
|
|
787
|
+
.dl-kpi-unit,
|
|
788
|
+
.comparison-value-dl-kpi-unit {
|
|
758
789
|
font-family: 'Manrope';
|
|
759
790
|
font-style: normal;
|
|
760
791
|
font-weight: 600;
|
|
@@ -866,7 +897,7 @@ $dark-grey: #717585;
|
|
|
866
897
|
}
|
|
867
898
|
|
|
868
899
|
.dx-scrollbar-hoverable .dx-scrollable-scroll.dx-state-invisible .dx-scrollable-scroll-content {
|
|
869
|
-
background-color: rgba(191,191,191
|
|
900
|
+
background-color: rgba(191, 191, 191, .7);
|
|
870
901
|
}
|
|
871
902
|
|
|
872
903
|
.dx-pivotgrid-fields-area-head td .dx-area-field,
|
|
@@ -905,17 +936,17 @@ $dark-grey: #717585;
|
|
|
905
936
|
background: #FFFFFF;
|
|
906
937
|
}
|
|
907
938
|
|
|
908
|
-
.dx-pivotgrid .dx-column-header,
|
|
909
|
-
.dx-pivotgrid .dx-data-header,
|
|
939
|
+
.dx-pivotgrid .dx-column-header,
|
|
940
|
+
.dx-pivotgrid .dx-data-header,
|
|
910
941
|
.dx-pivotgrid .dx-total {
|
|
911
942
|
background-color: rgba(221, 221, 221, .2) !important;
|
|
912
943
|
}
|
|
913
|
-
|
|
944
|
+
|
|
914
945
|
.dx-pivotgrid .dx-grandtotal {
|
|
915
946
|
background-color: #f5f5f5 !important;
|
|
916
947
|
}
|
|
917
948
|
|
|
918
|
-
.dx-pivotgrid .dx-pivotgrid-vertical-headers td
|
|
949
|
+
.dx-pivotgrid .dx-pivotgrid-vertical-headers td>span {
|
|
919
950
|
font-family: "Manrope";
|
|
920
951
|
font-size: 12px;
|
|
921
952
|
font-weight: 500;
|
|
@@ -923,12 +954,12 @@ $dark-grey: #717585;
|
|
|
923
954
|
color: #46494A;
|
|
924
955
|
}
|
|
925
956
|
|
|
926
|
-
.dx-pivotgrid .dx-pivotgrid-vertical-headers td div
|
|
957
|
+
.dx-pivotgrid .dx-pivotgrid-vertical-headers td div>span {
|
|
927
958
|
font-weight: 600 !important;
|
|
928
959
|
color: #46494A !important;
|
|
929
960
|
}
|
|
930
961
|
|
|
931
|
-
.dx-pivotgrid .dx-pivotgrid-area-data tbody td
|
|
962
|
+
.dx-pivotgrid .dx-pivotgrid-area-data tbody td>span {
|
|
932
963
|
font-family: "Manrope";
|
|
933
964
|
font-size: 12px;
|
|
934
965
|
font-weight: 500;
|
|
@@ -942,21 +973,21 @@ $dark-grey: #717585;
|
|
|
942
973
|
width: 10px;
|
|
943
974
|
height: 10px
|
|
944
975
|
}
|
|
945
|
-
|
|
976
|
+
|
|
946
977
|
&::-webkit-scrollbar-thumb {
|
|
947
978
|
border: 1px solid rgba(0, 0, 0, 0);
|
|
948
979
|
background-clip: padding-box;
|
|
949
980
|
border-radius: 9999px;
|
|
950
981
|
background-color: #D9D9D9;
|
|
951
982
|
}
|
|
952
|
-
|
|
983
|
+
|
|
953
984
|
&::-webkit-scrollbar-track {
|
|
954
985
|
background: #F3F3F3;
|
|
955
986
|
border: 1px solid white;
|
|
956
987
|
border-radius: 9999px;
|
|
957
988
|
}
|
|
958
989
|
}
|
|
959
|
-
|
|
990
|
+
|
|
960
991
|
.dx-area-field-container {
|
|
961
992
|
.dx-pivotgrid-fields-area-head {
|
|
962
993
|
td {
|
|
@@ -995,13 +1026,6 @@ $dark-grey: #717585;
|
|
|
995
1026
|
width: 100%;
|
|
996
1027
|
margin: 0 auto;
|
|
997
1028
|
|
|
998
|
-
* {
|
|
999
|
-
-webkit-text-transform: capitalize !important;
|
|
1000
|
-
-moz-text-transform: capitalize !important;
|
|
1001
|
-
-ms-text-transform: capitalize !important;
|
|
1002
|
-
-o-text-transform: capitalize !important;
|
|
1003
|
-
text-transform: capitalize !important;
|
|
1004
|
-
}
|
|
1005
1029
|
|
|
1006
1030
|
&::-webkit-scrollbar {
|
|
1007
1031
|
width: 10px;
|
|
@@ -1025,7 +1049,7 @@ $dark-grey: #717585;
|
|
|
1025
1049
|
width: 100%;
|
|
1026
1050
|
}
|
|
1027
1051
|
|
|
1028
|
-
.p-datatable
|
|
1052
|
+
.p-datatable>.p-datatable-wrapper {
|
|
1029
1053
|
overflow-x: inherit;
|
|
1030
1054
|
}
|
|
1031
1055
|
|
|
@@ -1088,7 +1112,7 @@ $dark-grey: #717585;
|
|
|
1088
1112
|
border: 0px !important
|
|
1089
1113
|
}
|
|
1090
1114
|
|
|
1091
|
-
tbody tr td{
|
|
1115
|
+
tbody tr td {
|
|
1092
1116
|
font-size: 14px;
|
|
1093
1117
|
}
|
|
1094
1118
|
|
|
@@ -1111,7 +1135,17 @@ $dark-grey: #717585;
|
|
|
1111
1135
|
}
|
|
1112
1136
|
}
|
|
1113
1137
|
|
|
1114
|
-
.
|
|
1138
|
+
.dl-table-chart-header-container {
|
|
1139
|
+
|
|
1140
|
+
-webkit-text-transform: capitalize !important;
|
|
1141
|
+
-moz-text-transform: capitalize !important;
|
|
1142
|
+
-ms-text-transform: capitalize !important;
|
|
1143
|
+
-o-text-transform: capitalize !important;
|
|
1144
|
+
text-transform: capitalize !important;
|
|
1145
|
+
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.header-content>.p-column-title>.pi::before {
|
|
1115
1149
|
font-size: inherit !important;
|
|
1116
1150
|
}
|
|
1117
1151
|
|
|
@@ -1147,7 +1181,7 @@ $dark-grey: #717585;
|
|
|
1147
1181
|
margin-left: 1px;
|
|
1148
1182
|
}
|
|
1149
1183
|
|
|
1150
|
-
.red-warning-icon{
|
|
1184
|
+
.red-warning-icon {
|
|
1151
1185
|
width: 100%;
|
|
1152
1186
|
height: 100%;
|
|
1153
1187
|
min-height: 25px;
|
|
@@ -1158,7 +1192,8 @@ $dark-grey: #717585;
|
|
|
1158
1192
|
}
|
|
1159
1193
|
|
|
1160
1194
|
|
|
1161
|
-
.widget-title-tooltip-text,
|
|
1195
|
+
.widget-title-tooltip-text,
|
|
1196
|
+
.header-message-error-tooltip-text {
|
|
1162
1197
|
text-transform: capitalize;
|
|
1163
1198
|
font-family: 'Manrope';
|
|
1164
1199
|
font-weight: 500;
|
|
@@ -1174,8 +1209,8 @@ $dark-grey: #717585;
|
|
|
1174
1209
|
white-space: normal;
|
|
1175
1210
|
}
|
|
1176
1211
|
|
|
1177
|
-
.title-tooltip-container-content
|
|
1178
|
-
.header-message-error-tooltip-container-content
|
|
1212
|
+
.title-tooltip-container-content>div,
|
|
1213
|
+
.header-message-error-tooltip-container-content>div {
|
|
1179
1214
|
width: 8px !important;
|
|
1180
1215
|
height: 4px !important;
|
|
1181
1216
|
}
|
|
@@ -1207,7 +1242,7 @@ $dark-grey: #717585;
|
|
|
1207
1242
|
font-weight: 500;
|
|
1208
1243
|
}
|
|
1209
1244
|
|
|
1210
|
-
.date-time-value-container{
|
|
1245
|
+
.date-time-value-container {
|
|
1211
1246
|
display: flex;
|
|
1212
1247
|
flex-direction: row;
|
|
1213
1248
|
gap: 10px;
|
|
@@ -2,4 +2,4 @@ import { ChartObject } from "fusioncharts";
|
|
|
2
2
|
import { SeriesMeasure } from "../../../../types/SeriesMeasure";
|
|
3
3
|
import { ReactWidgetPM } from "../../../../types/widget";
|
|
4
4
|
export declare function BuildFusionChartObject(seriesMeasures: SeriesMeasure[], widget: ReactWidgetPM): ChartObject;
|
|
5
|
-
export declare const getGaugeObject: (data: any, widget: ReactWidgetPM) => ChartObject;
|
|
5
|
+
export declare const getGaugeObject: (data: any, widget: ReactWidgetPM, isPreviewModeActive?: boolean | undefined) => ChartObject;
|
|
@@ -93,7 +93,12 @@ export interface ChartInfo {
|
|
|
93
93
|
manageResize: string | null;
|
|
94
94
|
valueBelowPivot: string | null;
|
|
95
95
|
showValue: string | null;
|
|
96
|
+
valueFontSize: string | null;
|
|
97
|
+
valueFontColor: string | null;
|
|
96
98
|
autoScale: string | null;
|
|
99
|
+
formatNumber: string | null;
|
|
100
|
+
forceDecimals: string | null;
|
|
101
|
+
decimals: string | null;
|
|
97
102
|
}
|
|
98
103
|
export declare function getSeriesPositionColor(position: number): string | null;
|
|
99
104
|
export declare function getSeriesHoverPositionColor(position: number): string | null;
|