awing-library 2.1.123-beta → 2.1.125-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.
Files changed (39) hide show
  1. package/lib/ACM-AXN/CampaignSchedule/Components/ControlPanel/Filter.d.ts +1 -1
  2. package/lib/ACM-AXN/CampaignSchedule/Components/ControlPanel/Filter.js +17 -3
  3. package/lib/ACM-AXN/CampaignSchedule/Components/RowAdvance/component.js +13 -3
  4. package/lib/ACM-AXN/CampaignSchedule/Components/TableHeaderDragable.js +1 -1
  5. package/lib/ACM-AXN/CampaignSchedule/DataConfig.d.ts +1 -1
  6. package/lib/ACM-AXN/CampaignSchedule/DataConfig.js +8 -3
  7. package/lib/ACM-AXN/CampaignSchedule/DataConfigAXN.d.ts +1 -1
  8. package/lib/ACM-AXN/CampaignSchedule/DataConfigAXN.js +8 -3
  9. package/lib/ACM-AXN/CampaignSchedule/Recoil/Atom.d.ts +2 -1
  10. package/lib/ACM-AXN/CampaignSchedule/Recoil/Atom.js +7 -2
  11. package/lib/ACM-AXN/CampaignSchedule/container.d.ts +1 -1
  12. package/lib/ACM-AXN/CampaignSchedule/container.js +6 -1
  13. package/lib/ACM-AXN/CampaignSchedule/interface.d.ts +3 -0
  14. package/lib/ACM-AXN/Common/Constant.d.ts +17 -0
  15. package/lib/ACM-AXN/Common/Constant.js +18 -1
  16. package/lib/ACM-AXN/Common/Enum.d.ts +5 -0
  17. package/lib/ACM-AXN/Common/Enum.js +7 -1
  18. package/lib/ACM-AXN/Holiday/FormHoliday.js +67 -10
  19. package/lib/ACM-AXN/Holiday/Types.d.ts +18 -0
  20. package/lib/ACM-AXN/ScheduleCompletionRate/Container.js +29 -17
  21. package/lib/ACM-AXN/ScheduleCompletionRate/Detail/CompletionRate.js +13 -21
  22. package/lib/ACM-AXN/ScheduleCompletionRate/Detail/CompletionRate.test.js +3 -3
  23. package/lib/ACM-AXN/ScheduleCompletionRate/Detail/CompletionRateDate.js +15 -16
  24. package/lib/ACM-AXN/ScheduleCompletionRate/Detail/CompletionRateDate.test.js +3 -3
  25. package/lib/ACM-AXN/ScheduleCompletionRate/Detail/index.js +1 -1
  26. package/lib/ACM-AXN/ScheduleCompletionRate/Filter.js +19 -11
  27. package/lib/ACM-AXN/ScheduleCompletionRate/Recoils.d.ts +7 -6
  28. package/lib/ACM-AXN/ScheduleCompletionRate/Recoils.js +6 -1
  29. package/lib/ACM-AXN/ScheduleCompletionRate/SearchCampaign.d.ts +2 -2
  30. package/lib/ACM-AXN/ScheduleCompletionRate/Types.d.ts +67 -84
  31. package/lib/ACM-AXN/ScheduleCompletionRate/Types.js +21 -279
  32. package/lib/ACM-AXN/ScheduleCompletionRate/Utils.d.ts +22 -3
  33. package/lib/ACM-AXN/ScheduleCompletionRate/Utils.js +57 -8
  34. package/lib/ACM-AXN/ScheduleCompletionRate/index.js +3 -3
  35. package/lib/ACM-AXN/ScheduleCompletionRate/json.d.ts +61 -0
  36. package/lib/ACM-AXN/ScheduleCompletionRate/json.js +268 -0
  37. package/lib/translate/en/translation.json +3 -0
  38. package/lib/translate/vi/translation.json +3 -0
  39. package/package.json +1 -1
@@ -0,0 +1,268 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dataScheduleCompletionRatesPagingPlaceIdFake = exports.dataScheduleCompletionRatesPagingFake = exports.dataScheduleCompletionRatesGetFake = void 0;
4
+ exports.dataScheduleCompletionRatesGetFake = [
5
+ {
6
+ campaignId: '5193957574369215550',
7
+ campaignName: 'Orange_Daiko Yamaha Janus_T4-8/24',
8
+ placeId: '0',
9
+ groupId: 1,
10
+ groupName: '[T4,5] Premium Banner Ceri Thu Ha',
11
+ isNetWork: true,
12
+ billingUnit: 2,
13
+ runs: [
14
+ { eventLabel: 'View', total: 1 },
15
+ { eventLabel: 'Authentication', total: 2 },
16
+ { eventLabel: 'Click', total: 3 },
17
+ ],
18
+ expecteds: [
19
+ { eventLabel: 'View', total: 1 },
20
+ { eventLabel: 'Authentication', total: 2 },
21
+ { eventLabel: 'Click', total: 3 },
22
+ ],
23
+ fromDate: '2024-04-25T00:00:00+07:00',
24
+ toDate: '2024-05-31T00:00:00+07:00',
25
+ },
26
+ {
27
+ campaignId: '5254940703519040748',
28
+ campaignName: 'Sacombank_CTKM Visa Daily_T4-5/24',
29
+ placeId: '0',
30
+ groupId: 1,
31
+ groupName: 'Premium',
32
+ isNetWork: true,
33
+ billingUnit: 1,
34
+ runs: [
35
+ { eventLabel: 'View', total: 4 },
36
+ { eventLabel: 'Authentication', total: 5 },
37
+ { eventLabel: 'Click', total: 6 },
38
+ ],
39
+ expecteds: [
40
+ { eventLabel: 'View', total: 4 },
41
+ { eventLabel: 'Authentication', total: 5 },
42
+ { eventLabel: 'Click', total: 6 },
43
+ ],
44
+ fromDate: '2024-04-27T00:00:00+07:00',
45
+ toDate: '2024-05-31T00:00:00+07:00',
46
+ },
47
+ {
48
+ campaignId: '5309857060135867460',
49
+ campaignName: 'IMA_Honda_CBR Promotion_T4-T6/24',
50
+ isNetWork: true,
51
+ billingUnit: 2,
52
+ runs: [
53
+ { eventLabel: 'View', total: 7 },
54
+ { eventLabel: 'Authentication', total: 8 },
55
+ { eventLabel: 'Click', total: 9 },
56
+ ],
57
+ expecteds: [
58
+ { eventLabel: 'View', total: 7 },
59
+ { eventLabel: 'Authentication', total: 8 },
60
+ { eventLabel: 'Click', total: 9 },
61
+ ],
62
+ placeId: '0',
63
+ groupId: 1,
64
+ groupName: 'Premium',
65
+ fromDate: '2024-04-15T00:00:00+07:00',
66
+ toDate: '2024-06-25T00:00:00+07:00',
67
+ },
68
+ ];
69
+ exports.dataScheduleCompletionRatesPagingFake = {
70
+ items: [
71
+ {
72
+ placeId: '0',
73
+ groupId: 1,
74
+ runs: [
75
+ { eventLabel: 'View', total: 1 },
76
+ { eventLabel: 'Authentication', total: 2 },
77
+ { eventLabel: 'Click', total: 3 },
78
+ ],
79
+ expecteds: [
80
+ { eventLabel: 'View', total: 1 },
81
+ { eventLabel: 'Authentication', total: 2 },
82
+ { eventLabel: 'Click', total: 3 },
83
+ ],
84
+ date: '2024-05-01T00:00:00+07:00',
85
+ },
86
+ {
87
+ placeId: '0',
88
+ groupId: 1,
89
+ runs: [
90
+ { eventLabel: 'View', total: 9 },
91
+ { eventLabel: 'Authentication', total: 5 },
92
+ { eventLabel: 'Click', total: 3 },
93
+ ],
94
+ expecteds: [
95
+ { eventLabel: 'View', total: 2 },
96
+ { eventLabel: 'Authentication', total: 6 },
97
+ { eventLabel: 'Click', total: 3 },
98
+ ],
99
+ date: '2024-05-02T00:00:00+07:00',
100
+ },
101
+ {
102
+ placeId: '0',
103
+ groupId: 1,
104
+ runs: [
105
+ { eventLabel: 'View', total: 93 },
106
+ { eventLabel: 'Authentication', total: 35 },
107
+ { eventLabel: 'Click', total: 53 },
108
+ ],
109
+ expecteds: [
110
+ { eventLabel: 'View', total: 24 },
111
+ { eventLabel: 'Authentication', total: 66 },
112
+ { eventLabel: 'Click', total: 35 },
113
+ ],
114
+ date: '2024-05-03T00:00:00+07:00',
115
+ },
116
+ {
117
+ placeId: '0',
118
+ groupId: 1,
119
+ runs: [
120
+ { eventLabel: 'View', total: 39 },
121
+ { eventLabel: 'Authentication', total: 55 },
122
+ { eventLabel: 'Click', total: 36 },
123
+ ],
124
+ expecteds: [
125
+ { eventLabel: 'View', total: 72 },
126
+ { eventLabel: 'Authentication', total: 36 },
127
+ { eventLabel: 'Click', total: 33 },
128
+ ],
129
+ date: '2024-05-04T00:00:00+07:00',
130
+ },
131
+ {
132
+ placeId: '0',
133
+ groupId: 1,
134
+ runs: [
135
+ { eventLabel: 'View', total: 4 },
136
+ { eventLabel: 'Authentication', total: 2 },
137
+ { eventLabel: 'Click', total: 4 },
138
+ ],
139
+ expecteds: [
140
+ { eventLabel: 'View', total: 6 },
141
+ { eventLabel: 'Authentication', total: 5 },
142
+ { eventLabel: 'Click', total: 6 },
143
+ ],
144
+ date: '2024-05-05T00:00:00+07:00',
145
+ },
146
+ {
147
+ placeId: '0',
148
+ groupId: 1,
149
+ runs: [
150
+ { eventLabel: 'View', total: 2 },
151
+ { eventLabel: 'Authentication', total: 3 },
152
+ { eventLabel: 'Click', total: 44 },
153
+ ],
154
+ expecteds: [
155
+ { eventLabel: 'View', total: 22 },
156
+ { eventLabel: 'Authentication', total: 63 },
157
+ { eventLabel: 'Click', total: 33 },
158
+ ],
159
+ date: '2024-05-06T00:00:00+07:00',
160
+ },
161
+ {
162
+ placeId: '0',
163
+ groupId: 1,
164
+ runs: [
165
+ { eventLabel: 'View', total: 12 },
166
+ { eventLabel: 'Authentication', total: 12 },
167
+ { eventLabel: 'Click', total: 33 },
168
+ ],
169
+ expecteds: [
170
+ { eventLabel: 'View', total: 23 },
171
+ { eventLabel: 'Authentication', total: 46 },
172
+ { eventLabel: 'Click', total: 35 },
173
+ ],
174
+ date: '2024-05-07T00:00:00+07:00',
175
+ },
176
+ {
177
+ placeId: '0',
178
+ groupId: 1,
179
+ runs: [
180
+ { eventLabel: 'View', total: 29 },
181
+ { eventLabel: 'Authentication', total: 45 },
182
+ { eventLabel: 'Click', total: 53 },
183
+ ],
184
+ expecteds: [
185
+ { eventLabel: 'View', total: 62 },
186
+ { eventLabel: 'Authentication', total: 66 },
187
+ { eventLabel: 'Click', total: 34 },
188
+ ],
189
+ date: '2024-05-08T00:00:00+07:00',
190
+ },
191
+ {
192
+ placeId: '0',
193
+ groupId: 1,
194
+ runs: [
195
+ { eventLabel: 'View', total: 29 },
196
+ { eventLabel: 'Authentication', total: 45 },
197
+ { eventLabel: 'Click', total: 35 },
198
+ ],
199
+ expecteds: [
200
+ { eventLabel: 'View', total: 25 },
201
+ { eventLabel: 'Authentication', total: 36 },
202
+ { eventLabel: 'Click', total: 35 },
203
+ ],
204
+ date: '2024-05-09T00:00:00+07:00',
205
+ },
206
+ {
207
+ placeId: '0',
208
+ groupId: 1,
209
+ runs: [
210
+ { eventLabel: 'View', total: 39 },
211
+ { eventLabel: 'Authentication', total: 25 },
212
+ { eventLabel: 'Click', total: 33 },
213
+ ],
214
+ expecteds: [
215
+ { eventLabel: 'View', total: 32 },
216
+ { eventLabel: 'Authentication', total: 63 },
217
+ { eventLabel: 'Click', total: 3 },
218
+ ],
219
+ date: '2024-05-10T00:00:00+07:00',
220
+ },
221
+ ],
222
+ pageCount: 10,
223
+ totalItemCount: 10,
224
+ pageNumber: 0,
225
+ pageSize: 10,
226
+ hasPreviousPage: false,
227
+ hasNextPage: true,
228
+ };
229
+ exports.dataScheduleCompletionRatesPagingPlaceIdFake = {
230
+ items: [
231
+ {
232
+ placeId: '4693220039748452939',
233
+ groupId: 1,
234
+ runs: [
235
+ { eventLabel: 'View', total: 1 },
236
+ { eventLabel: 'Authentication', total: 2 },
237
+ { eventLabel: 'Click', total: 3 },
238
+ ],
239
+ expecteds: [
240
+ { eventLabel: 'View', total: 1 },
241
+ { eventLabel: 'Authentication', total: 2 },
242
+ { eventLabel: 'Click', total: 3 },
243
+ ],
244
+ date: '0001-01-01T07:06:00+07:06',
245
+ },
246
+ {
247
+ placeId: '5087146300648065868',
248
+ groupId: 1,
249
+ runs: [
250
+ { eventLabel: 'View', total: 4 },
251
+ { eventLabel: 'Authentication', total: 5 },
252
+ { eventLabel: 'Click', total: 6 },
253
+ ],
254
+ expecteds: [
255
+ { eventLabel: 'View', total: 4 },
256
+ { eventLabel: 'Authentication', total: 5 },
257
+ { eventLabel: 'Click', total: 6 },
258
+ ],
259
+ date: '0001-01-01T07:06:00+07:06',
260
+ },
261
+ ],
262
+ pageCount: 2,
263
+ totalItemCount: 2,
264
+ pageNumber: 0,
265
+ pageSize: 10,
266
+ hasPreviousPage: false,
267
+ hasNextPage: true,
268
+ };
@@ -66,6 +66,8 @@
66
66
  "Download": "Download",
67
67
  "View": "View",
68
68
  "Impression": "Impression",
69
+ "BillingUnit": "Billing unit",
70
+ "TitleTypeView": "Show by",
69
71
  "Settings": "Settings",
70
72
  "Logout": "Logout",
71
73
  "CommingSoon": "Comming soon",
@@ -798,6 +800,7 @@
798
800
  "All": "All"
799
801
  },
800
802
  "Holiday": {
803
+ "Domain": "Domain",
801
804
  "Title": "Holiday Management",
802
805
  "TitleCreate": "Create Holiday",
803
806
  "TitleEdit": "Edit Holiday"
@@ -37,6 +37,8 @@
37
37
  "View": "Xem",
38
38
  "ViewBy": "Xem theo",
39
39
  "Impression": "Lượt hiển thị",
40
+ "BillingUnit": "Đơn vị tính",
41
+ "TitleTypeView": "Hiển thị theo",
40
42
  "Select": "Chọn",
41
43
  "Loading": "Đang tải...",
42
44
  "Save": "Lưu",
@@ -800,6 +802,7 @@
800
802
  "All": "Tất cả"
801
803
  },
802
804
  "Holiday": {
805
+ "Domain": "Domain",
803
806
  "Title": "Quản trị ngày nghỉ lễ",
804
807
  "TitleCreate": "Tạo ngày nghỉ lễ",
805
808
  "TitleEdit": "Sửa ngày nghỉ lễ"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.123-beta",
3
+ "version": "2.1.125-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",