awing-library 2.1.150-beta → 2.1.152-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.
@@ -110,9 +110,7 @@ function Container() {
110
110
  {
111
111
  field: 'totalRun',
112
112
  headerName: "".concat(t('CampaignPlan.HasRun'), " (").concat(t('Common.BillingUnit'), ")"),
113
- valueGetter: function (row) {
114
- return (0, Helpers_1.formatNumber)(row.totalRun);
115
- },
113
+ type: 'number',
116
114
  width: 200,
117
115
  TableCellProps: {
118
116
  align: 'right',
@@ -186,7 +186,7 @@ function Container() {
186
186
  },
187
187
  type: 'number',
188
188
  valueGetter: function (row) {
189
- return (0, Helpers_1.formatNumber)(row.rate.toFixed(2));
189
+ return (0, Helpers_1.formatNumber)(row.rate.toFixed(2) || 0);
190
190
  },
191
191
  },
192
192
  ], rows: (0, Helpers_1.offlinePaginate)(schedules, queryInput.pageIndex, queryInput.pageSize), sortModel: sortModels, onSortModelChange: setSortModels, getRowId: function (row) {
@@ -37,7 +37,6 @@ function CompletionRateDate() {
37
37
  var _a = (0, Router_1.useParams)(), campaignId = _a.campaignId, groupId = _a.groupId, date = _a.date;
38
38
  var service = (0, Hooks_1.default)().service;
39
39
  var completionRateDateInfo = (0, recoil_1.useRecoilValue)((0, Recoils_1.detailCompletionRateDateItem)(date));
40
- console.log('completionRateDateInfo =================>', completionRateDateInfo);
41
40
  var type = (0, recoil_1.useRecoilValue)(Recoils_1.ScheduleCompletionRateTypeViewState).type;
42
41
  var schedule = (0, recoil_1.useRecoilValue)(Recoils_1.scheduleCompletionRateAtom);
43
42
  var _b = (0, react_1.useState)(true), loading = _b[0], setLoading = _b[1];
@@ -47,7 +46,6 @@ function CompletionRateDate() {
47
46
  service
48
47
  .scheduleCompletionRatesPaging((0, moment_1.default)(date, 'DD-MM-YYYY').format('YYYY-MM-DD'), (0, moment_1.default)(date, 'DD-MM-YYYY').format('YYYY-MM-DD'), campaignId, Number(groupId), 'placeId', queryInput.pageIndex, queryInput.pageSize)
49
48
  .then(function (res) {
50
- console.log('res =================>', res);
51
49
  var valueNew = (0, Utils_1.converData)((res === null || res === void 0 ? void 0 : res.items) || [], type, completionRateDateInfo === null || completionRateDateInfo === void 0 ? void 0 : completionRateDateInfo.billingUnit);
52
50
  setScheduleGroupByDate(__assign(__assign({}, res), { items: valueNew.length ? valueNew : [] }));
53
51
  })
@@ -92,7 +92,7 @@ var newStyles = {
92
92
  removedGutterBackground: '#ececec',
93
93
  },
94
94
  titleBlock: {
95
- fontFamily: "'AW-Roboto', sans-serif",
95
+ fontFamily: "'Roboto', sans-serif",
96
96
  fontSize: '12px',
97
97
  fontWeight: 'bold',
98
98
  },
@@ -87,7 +87,7 @@ var BarLineComponent = function (props) {
87
87
  titleColor: '#212121',
88
88
  bodyFont: {
89
89
  size: 14,
90
- family: "'AW-Roboto', sans-serif",
90
+ family: "'Roboto', sans-serif",
91
91
  lineHeight: 1.5,
92
92
  },
93
93
  },
@@ -106,7 +106,7 @@ var BarLineComponent = function (props) {
106
106
  boxPadding: 50,
107
107
  font: {
108
108
  size: 15,
109
- family: "'AW-Roboto', sans-serif",
109
+ family: "'Roboto', sans-serif",
110
110
  lineHeight: 1.5,
111
111
  },
112
112
  },
@@ -141,7 +141,7 @@ var BarLineComponent = function (props) {
141
141
  title: {
142
142
  font: {
143
143
  size: 14,
144
- family: "'AW-Roboto', sans-serif",
144
+ family: "'Roboto', sans-serif",
145
145
  },
146
146
  },
147
147
  },
@@ -164,7 +164,7 @@ var BarLineComponent = function (props) {
164
164
  font: {
165
165
  size: 14,
166
166
  weight: 'bold',
167
- family: "'AW-Roboto', sans-serif",
167
+ family: "'Roboto', sans-serif",
168
168
  },
169
169
  },
170
170
  },
@@ -183,7 +183,7 @@ var BarLineComponent = function (props) {
183
183
  font: {
184
184
  size: 14,
185
185
  weight: 'bold',
186
- family: "'AW-Roboto', sans-serif",
186
+ family: "'Roboto', sans-serif",
187
187
  },
188
188
  },
189
189
  },
@@ -38,7 +38,7 @@ var PieComponent = function (_a) {
38
38
  pointStyle: 'circle',
39
39
  font: {
40
40
  size: 14,
41
- family: "'AW-Roboto', sans-serif",
41
+ family: "'Roboto', sans-serif",
42
42
  lineHeight: 1.5,
43
43
  },
44
44
  },
@@ -54,7 +54,7 @@ var PieComponent = function (_a) {
54
54
  bodySpacing: 8,
55
55
  bodyFont: {
56
56
  size: 14,
57
- family: "'AW-Roboto', sans-serif",
57
+ family: "'Roboto', sans-serif",
58
58
  lineHeight: 1.5,
59
59
  },
60
60
  callbacks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.150-beta",
3
+ "version": "2.1.152-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",