logitude-dashboard-library 3.2.18 → 3.2.20

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.
@@ -4,4 +4,6 @@ declare const getGlobalNumberFormatting: () => {
4
4
  thousandsSeparator: string;
5
5
  decimalSeparator: string;
6
6
  };
7
- export { isNullOrUndefined, isNullOrUndefinedOrEmpty, getGlobalNumberFormatting };
7
+ declare const getNumberInSystemLocalFormat: (value: number, decimalDigitsCount?: number) => string;
8
+ declare const ConvertStringToPascalCaseHelper: (stringValue: string) => string;
9
+ export { isNullOrUndefined, isNullOrUndefinedOrEmpty, getGlobalNumberFormatting, getNumberInSystemLocalFormat, ConvertStringToPascalCaseHelper };
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 20.1654C5.9374 20.1654 1.83334 16.0613 1.83334 10.9987C1.83334 5.93609 5.9374 1.83203 11 1.83203C16.0626 1.83203 20.1667 5.93609 20.1667 10.9987C20.1667 16.0613 16.0626 20.1654 11 20.1654ZM10.0833 13.7487V15.582H11.9167V13.7487H10.0833ZM10.0833 6.41536V11.9154H11.9167V6.41536H10.0833Z" fill="#F85248"/>
3
+ </svg>
@@ -277,6 +277,10 @@ $dark-grey: #717585;
277
277
  }
278
278
 
279
279
  .pivot-header {
280
+ .widget-table-titles-container {
281
+ padding: 0px 12px 0px 8px !important;
282
+ }
283
+
280
284
  &::after {
281
285
  content: "";
282
286
  border-bottom: 0px !important;
@@ -334,6 +338,19 @@ $dark-grey: #717585;
334
338
  }
335
339
  }
336
340
 
341
+ .header-message-error {
342
+ max-width: 60px;
343
+ display: flex;
344
+ align-items: center;
345
+ justify-content: flex-end;
346
+ flex: 1;
347
+ white-space: nowrap;
348
+ overflow: hidden;
349
+ text-overflow: ellipsis;
350
+ min-width: 1px;
351
+ padding-top: 4px;
352
+ }
353
+
337
354
  .widget-table-titles-container {
338
355
  display: flex;
339
356
  flex: 1;
@@ -756,6 +773,7 @@ $dark-grey: #717585;
756
773
 
757
774
  .table-cell {
758
775
  font-family: 'Manrope';
776
+ font-weight: 500;
759
777
  padding: 0px 6px;
760
778
  border-radius: 4px;
761
779
  white-space: nowrap;
@@ -834,8 +852,12 @@ $dark-grey: #717585;
834
852
  left: 0;
835
853
  bottom: 0;
836
854
 
855
+ * {
856
+ border-color: #e0e0e0 !important;
857
+ }
858
+
837
859
  .pivot-grid-element {
838
- width: 100%;
860
+ width: calc(100% - 16px);
839
861
  height: 100%;
840
862
  margin: 0 auto;
841
863
  overflow-x: auto;
@@ -850,11 +872,15 @@ $dark-grey: #717585;
850
872
  .dx-pivotgrid-fields-area-head td .dx-area-field,
851
873
  .dx-pivotgrid-horizontal-headers td,
852
874
  .dx-pivotgrid .dx-area-description-cell.dx-pivotgrid-background {
853
- background-color: #F1F1F1;
875
+ background-color: #FFFFFF;
876
+ }
877
+
878
+ .dx-pivotgrid .dx-area-description-cell {
879
+ background-color: #FFFFFF;
854
880
  }
855
881
 
856
882
  .dx-pivotgrid-horizontal-headers td {
857
- text-align: left;
883
+ text-align: center;
858
884
  }
859
885
 
860
886
  .dx-pivotgrid-fields-area-head td .dx-area-field {
@@ -863,25 +889,25 @@ $dark-grey: #717585;
863
889
  }
864
890
 
865
891
  .dx-pivotgrid .dx-pivotgrid-area td {
866
- padding: 4px 8px;
892
+ padding: 6px 8px 5px 8px;
867
893
  }
868
894
 
869
895
  .dx-pivotgrid-fields-area-head .dx-area-field-content,
870
896
  .dx-pivotgrid-horizontal-headers tr td span {
871
897
  font-family: "Manrope";
872
- font-size: 13px;
898
+ font-size: 12px;
873
899
  font-weight: 600;
874
900
  text-align: left;
875
- color: #222222;
901
+ color: #222222 !important;
876
902
  }
877
903
 
878
904
  .dx-pivotgrid .dx-pivotgrid-vertical-headers td {
879
- background: #FAFAFA;
905
+ background: #FFFFFF;
880
906
  }
881
907
 
882
908
  .dx-pivotgrid .dx-pivotgrid-vertical-headers td > span {
883
909
  font-family: "Manrope";
884
- font-size: 13px;
910
+ font-size: 12px;
885
911
  font-weight: 500;
886
912
  text-align: left;
887
913
  color: #46494A;
@@ -892,13 +918,13 @@ $dark-grey: #717585;
892
918
  color: #46494A !important;
893
919
  }
894
920
 
895
- .dx-pivotgrid .dx-pivotgrid-area-data tbody td {
921
+ .dx-pivotgrid .dx-pivotgrid-area-data tbody td > span {
896
922
  font-family: "Manrope";
897
- font-size: 13px;
923
+ font-size: 12px;
898
924
  font-weight: 500;
899
925
  text-align: right;
900
926
  color: #46494A;
901
- border-left: 0px !important;
927
+ cursor: pointer;
902
928
  }
903
929
 
904
930
  .dx-widget {
@@ -959,6 +985,14 @@ $dark-grey: #717585;
959
985
  width: 100%;
960
986
  margin: 0 auto;
961
987
 
988
+ * {
989
+ -webkit-text-transform: capitalize !important;
990
+ -moz-text-transform: capitalize !important;
991
+ -ms-text-transform: capitalize !important;
992
+ -o-text-transform: capitalize !important;
993
+ text-transform: capitalize !important;
994
+ }
995
+
962
996
  &::-webkit-scrollbar {
963
997
  width: 10px;
964
998
  height: 10px
@@ -998,7 +1032,7 @@ $dark-grey: #717585;
998
1032
 
999
1033
  .p-column-header-content {
1000
1034
  padding: 0;
1001
- border: 1px solid #E7E7E6;
1035
+ border: 1px solid #e0e0e0;
1002
1036
  border-width: 0 0 1px 0;
1003
1037
  }
1004
1038
 
@@ -1013,20 +1047,20 @@ $dark-grey: #717585;
1013
1047
  display: flex;
1014
1048
  align-items: center;
1015
1049
  cursor: pointer;
1016
- padding: 11px 12px;
1050
+ padding: 10px 12px;
1017
1051
  }
1018
1052
  }
1019
1053
 
1020
1054
  th:not(:last-child) .header-content {
1021
- border-right: 1px solid #E7E7E6;
1055
+ border-right: 1px solid #e0e0e0;
1022
1056
  }
1023
1057
 
1024
1058
  td {
1025
- border: 1px solid #E7E7E6 !important;
1059
+ border: 1px solid #e0e0e0 !important;
1026
1060
  border-width: 0 0 1px 0 !important;
1027
1061
  padding: 0px 6px !important;
1028
1062
  max-width: 1px;
1029
- height: 36px;
1063
+ height: 30px;
1030
1064
  min-width: 140px;
1031
1065
  line-height: normal;
1032
1066
  word-break: break-all;
@@ -1110,7 +1144,7 @@ $dark-grey: #717585;
1110
1144
  }
1111
1145
 
1112
1146
 
1113
- .widget-title-tooltip-text {
1147
+ .widget-title-tooltip-text, .header-message-error-tooltip-text {
1114
1148
  text-transform: capitalize;
1115
1149
  font-family: 'Manrope';
1116
1150
  font-weight: 500;
@@ -1126,7 +1160,8 @@ $dark-grey: #717585;
1126
1160
  white-space: normal;
1127
1161
  }
1128
1162
 
1129
- .title-tooltip-container-content > div {
1163
+ .title-tooltip-container-content > div,
1164
+ .header-message-error-tooltip-container-content > div {
1130
1165
  width: 8px !important;
1131
1166
  height: 4px !important;
1132
1167
  }
@@ -1136,7 +1171,7 @@ $dark-grey: #717585;
1136
1171
  }
1137
1172
 
1138
1173
  .border-bottom-light-white {
1139
- border-bottom: 1px solid #E7E7E6;
1174
+ border-bottom: 1px solid #e0e0e0;
1140
1175
  }
1141
1176
 
1142
1177
  .padding-left-12 {
@@ -9,6 +9,7 @@ export declare type CustomChartProps = {
9
9
  isPreviewModeActive?: boolean;
10
10
  isInEditMode?: boolean;
11
11
  onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
12
+ onShowError?: (errorMsg: string | null) => void;
12
13
  };
13
14
  declare const CustomChart: (props: CustomChartProps) => React.JSX.Element;
14
15
  export default CustomChart;
@@ -7,6 +7,7 @@ export declare type FusionChartProps = {
7
7
  widgetRef: ReactWidgetPM | undefined;
8
8
  dataBinding: DashboardDataBinding;
9
9
  onSelectDataPoint: (dataPointSelection: DataPointSelection) => void;
10
+ onShowError: (errorMsg: string | null) => void;
10
11
  };
11
12
  declare const FusionChart: React.ForwardRefExoticComponent<FusionChartProps & React.RefAttributes<unknown>>;
12
13
  export default FusionChart;
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 20.1654C5.9374 20.1654 1.83334 16.0613 1.83334 10.9987C1.83334 5.93609 5.9374 1.83203 11 1.83203C16.0626 1.83203 20.1667 5.93609 20.1667 10.9987C20.1667 16.0613 16.0626 20.1654 11 20.1654ZM10.0833 13.7487V15.582H11.9167V13.7487H10.0833ZM10.0833 6.41536V11.9154H11.9167V6.41536H10.0833Z" fill="#F85248"/>
3
+ </svg>