awing-library 2.1.81-beta → 2.1.83-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 (38) hide show
  1. package/lib/ACM-AXN/Campaign/CreateOrEdit/TabInfomation.js +2 -1
  2. package/lib/ACM-AXN/Campaign/CreateOrEdit/TabSubCampaign/AdList.js +4 -4
  3. package/lib/ACM-AXN/Directory/DomainDirectory/DomainDirectory.test.js +1 -0
  4. package/lib/ACM-AXN/Directory/DomainDirectory/FolderDetail.test.js +1 -0
  5. package/lib/ACM-AXN/Directory/MenuDirectory/MenuDirectory.test.js +1 -0
  6. package/lib/ACM-AXN/Directory/SystemDirectory/SystemDirectory.test.js +1 -0
  7. package/lib/ACM-AXN/Directory/components/CreateOrEditFolder.test.js +1 -0
  8. package/lib/ACM-AXN/Directory/components/Permission/AddAuthen.test.js +2 -0
  9. package/lib/ACM-AXN/Directory/components/Permission/CreateOrEditPermission.test.js +2 -0
  10. package/lib/ACM-AXN/Directory/components/Permission/ManagementPermission.test.js +3 -0
  11. package/lib/ACM-AXN/Directory/components/Permission/MenuPermissions/MenuPermissionManagement.test.js +2 -0
  12. package/lib/ACM-AXN/GroupUser/CreateOrEdit.js +18 -16
  13. package/lib/ACM-AXN/GroupUser/User/UserComponent.js +10 -4
  14. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.d.ts +3 -2
  15. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.js +23 -24
  16. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.d.ts +2 -2
  17. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.js +3 -1
  18. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.d.ts +2 -2
  19. package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.js +3 -1
  20. package/lib/ACM-AXN/Notifications/Types.d.ts +6 -164
  21. package/lib/ACM-AXN/Notifications/Types.js +1 -278
  22. package/lib/ACM-AXN/Page/Container.js +1 -1
  23. package/lib/ACM-AXN/Page/CreateOrEdit/DrawerAction.js +6 -1
  24. package/lib/ACM-AXN/TaskScheduler/Components/TriggerInput.js +4 -2
  25. package/lib/ACM-AXN/TaskScheduler/Constant.d.ts +0 -107
  26. package/lib/ACM-AXN/TaskScheduler/Constant.js +1 -105
  27. package/lib/ACM-AXN/TransactionLog/Container.js +6 -4
  28. package/lib/ACM-AXN/TransactionLog/Detail.js +3 -1
  29. package/lib/ACM-AXN/TransactionLog/Types.d.ts +1 -107
  30. package/lib/ACM-AXN/TransactionLog/Types.js +1 -109
  31. package/lib/ACM-AXN/TransactionLog/Utils.d.ts +0 -103
  32. package/lib/ACM-AXN/TransactionLog/Utils.js +1 -104
  33. package/lib/AWING/Directory/CreateDirectory.js +2 -2
  34. package/lib/Context/index.js +1 -0
  35. package/lib/Context/interface.d.ts +1 -0
  36. package/lib/translate/en/translation.json +4 -0
  37. package/lib/translate/vi/translation.json +4 -0
  38. package/package.json +1 -1
@@ -72,113 +72,6 @@ export declare class TransactionLogFilter implements ITransactionLogFilter {
72
72
  static fromJS(data: any): TransactionLogFilter;
73
73
  toJSON(data?: any): any;
74
74
  }
75
- export declare enum SagaTransactionType {
76
- None = 0,
77
- StartDay = 1,
78
- CampaignCreate = 1000,
79
- CampaignUpdate = 1001,
80
- CampaignDelete = 1002,
81
- CampaignBlocked = 1003,
82
- PlaceCreate = 1100,
83
- PlaceUpdate = 1101,
84
- PlaceDelete = 1102,
85
- PlaceJoinRequest = 1103,
86
- PlaceJoinApprove = 1104,
87
- PlaceJoinReject = 1105,
88
- PlaceJoinDelete = 1106,
89
- PlaceUnjoinRequest = 1107,
90
- PlaceUnjoinApprove = 1108,
91
- PlaceUnjoinReject = 1109,
92
- PlaceUnjoinDelete = 1110,
93
- PlaceCustomerInfoUpdate = 1111,
94
- PlaceStatsNeedCalculate = 1112,
95
- PlaceStatsUpdate = 1113,
96
- PlaceClearCache = 1114,
97
- PlaceCustomerInfoCreate = 1115,
98
- PlaceCustomerInfoDelete = 1116,
99
- PlaceGroupCreate = 1117,
100
- PlaceGroupUpdate = 1118,
101
- PlaceGroupDelete = 1119,
102
- PlaceStatusUpdate = 1120,
103
- DomainCreate = 1200,
104
- DomainUpdate = 1201,
105
- DomainDelete = 1202,
106
- DomainJoinRequest = 1203,
107
- DomainJoinApprove = 1204,
108
- DomainJoinReject = 1205,
109
- DomainJoinDelete = 1206,
110
- DomainJoinUpdate = 1207,
111
- DomainUnjoinRequest = 1208,
112
- DomainUnjoinApprove = 1209,
113
- DomainUnjoinReject = 1210,
114
- DomainUnjoinDelete = 1211,
115
- DomainClearCache = 1212,
116
- PageCreate = 1300,
117
- PageUpdate = 1301,
118
- PageDelete = 1302,
119
- PageArchive = 1303,
120
- DirectoryCreate = 1400,
121
- DirectoryUpdate = 1401,
122
- DirectoryDelete = 1402,
123
- DirectoryPermissionUpdate = 1501,
124
- DirectoryPermissionDelete = 1502,
125
- SystemDirectoryPermissionUpdate = 1551,
126
- SystemDirectoryPermissionDelete = 1552,
127
- StaticFileUpload = 1601,
128
- StaticFileDelete = 1602,
129
- StaticFileDownload = 1603,
130
- FolderFileCreate = 1700,
131
- ScheduleNeedCalculate = 1803,
132
- ScheduleAllCalculate = 1804,
133
- ScheduleCampaignCalculate = 1805,
134
- ApCreate = 1900,
135
- ApUpdate = 1901,
136
- ApDelete = 1902,
137
- ApControllerClearCache = 1903,
138
- AuthenticationProfileCreate = 2000,
139
- AuthenticationProfileUpdate = 2001,
140
- AuthenticationProfileDelete = 2002,
141
- CaptiveClearCache = 2100,
142
- GroupCreate = 2200,
143
- GroupUpdate = 2201,
144
- GroupDelete = 2202,
145
- UserCreate = 2300,
146
- UserUpdate = 2301,
147
- UserDelete = 2302,
148
- UserChangePassword = 2303,
149
- UserAddToDomain = 2304,
150
- UserRemoveFromDomain = 2305,
151
- TemplateCreate = 2400,
152
- TemplateUpdate = 2401,
153
- TemplateDelete = 2402,
154
- RemarketingListCreate = 2500,
155
- RemarketingListUpdate = 2501,
156
- RemarketingListDelete = 2502,
157
- UserLogin = 2600,
158
- UserLogout = 2601,
159
- WizardCreate = 2700,
160
- WizardUpdate = 2701,
161
- WizardDelete = 2702,
162
- HolidayCreate = 2800,
163
- HolidayUpdate = 2801,
164
- HolidayDelete = 2802,
165
- AttributeCreate = 2900,
166
- AttributeUpdate = 2901,
167
- AttributeDelete = 2902,
168
- InventoryCreate = 3000,
169
- InventoryUpdate = 3001,
170
- InventoryDelete = 3002,
171
- MenuPermissionCreate = 3100,
172
- MenuPermissionUpdate = 3101,
173
- MenuPermissionDelete = 3102,
174
- AudienceSumupCalculate = 3200,
175
- AttributeTypeCreate = 3300,
176
- AttributeTypeUpdate = 3301,
177
- AttributeTypeDelete = 3302,
178
- TaskSchedulerCreate = 3400,
179
- TaskSchedulerUpdate = 3401,
180
- TaskSchedulerDelete = 3402
181
- }
182
75
  export interface ITransactionLogFilter {
183
76
  startDate?: string;
184
77
  endDate?: string;
@@ -220,6 +113,7 @@ export interface IPagedList_1OfSagaTransaction {
220
113
  hasPreviousPage?: boolean;
221
114
  hasNextPage?: boolean;
222
115
  }
116
+ export type SagaTransactionType = Record<string, number>;
223
117
  export declare class SagaTransaction implements ISagaTransaction {
224
118
  id?: number;
225
119
  transactionType?: SagaTransactionType;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  **/
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ApplicationName = exports.Timestamp = exports.SagaTransaction = exports.PagedList_1OfSagaTransaction = exports.StatusCode = exports.SagaTransactionType = exports.TransactionLogFilter = exports.User = void 0;
8
+ exports.ApplicationName = exports.Timestamp = exports.SagaTransaction = exports.PagedList_1OfSagaTransaction = exports.StatusCode = exports.TransactionLogFilter = exports.User = void 0;
9
9
  var User = /** @class */ (function () {
10
10
  function User(data) {
11
11
  if (data) {
@@ -148,114 +148,6 @@ var TransactionLogFilter = /** @class */ (function () {
148
148
  return TransactionLogFilter;
149
149
  }());
150
150
  exports.TransactionLogFilter = TransactionLogFilter;
151
- var SagaTransactionType;
152
- (function (SagaTransactionType) {
153
- SagaTransactionType[SagaTransactionType["None"] = 0] = "None";
154
- SagaTransactionType[SagaTransactionType["StartDay"] = 1] = "StartDay";
155
- SagaTransactionType[SagaTransactionType["CampaignCreate"] = 1000] = "CampaignCreate";
156
- SagaTransactionType[SagaTransactionType["CampaignUpdate"] = 1001] = "CampaignUpdate";
157
- SagaTransactionType[SagaTransactionType["CampaignDelete"] = 1002] = "CampaignDelete";
158
- SagaTransactionType[SagaTransactionType["CampaignBlocked"] = 1003] = "CampaignBlocked";
159
- SagaTransactionType[SagaTransactionType["PlaceCreate"] = 1100] = "PlaceCreate";
160
- SagaTransactionType[SagaTransactionType["PlaceUpdate"] = 1101] = "PlaceUpdate";
161
- SagaTransactionType[SagaTransactionType["PlaceDelete"] = 1102] = "PlaceDelete";
162
- SagaTransactionType[SagaTransactionType["PlaceJoinRequest"] = 1103] = "PlaceJoinRequest";
163
- SagaTransactionType[SagaTransactionType["PlaceJoinApprove"] = 1104] = "PlaceJoinApprove";
164
- SagaTransactionType[SagaTransactionType["PlaceJoinReject"] = 1105] = "PlaceJoinReject";
165
- SagaTransactionType[SagaTransactionType["PlaceJoinDelete"] = 1106] = "PlaceJoinDelete";
166
- SagaTransactionType[SagaTransactionType["PlaceUnjoinRequest"] = 1107] = "PlaceUnjoinRequest";
167
- SagaTransactionType[SagaTransactionType["PlaceUnjoinApprove"] = 1108] = "PlaceUnjoinApprove";
168
- SagaTransactionType[SagaTransactionType["PlaceUnjoinReject"] = 1109] = "PlaceUnjoinReject";
169
- SagaTransactionType[SagaTransactionType["PlaceUnjoinDelete"] = 1110] = "PlaceUnjoinDelete";
170
- SagaTransactionType[SagaTransactionType["PlaceCustomerInfoUpdate"] = 1111] = "PlaceCustomerInfoUpdate";
171
- SagaTransactionType[SagaTransactionType["PlaceStatsNeedCalculate"] = 1112] = "PlaceStatsNeedCalculate";
172
- SagaTransactionType[SagaTransactionType["PlaceStatsUpdate"] = 1113] = "PlaceStatsUpdate";
173
- SagaTransactionType[SagaTransactionType["PlaceClearCache"] = 1114] = "PlaceClearCache";
174
- SagaTransactionType[SagaTransactionType["PlaceCustomerInfoCreate"] = 1115] = "PlaceCustomerInfoCreate";
175
- SagaTransactionType[SagaTransactionType["PlaceCustomerInfoDelete"] = 1116] = "PlaceCustomerInfoDelete";
176
- SagaTransactionType[SagaTransactionType["PlaceGroupCreate"] = 1117] = "PlaceGroupCreate";
177
- SagaTransactionType[SagaTransactionType["PlaceGroupUpdate"] = 1118] = "PlaceGroupUpdate";
178
- SagaTransactionType[SagaTransactionType["PlaceGroupDelete"] = 1119] = "PlaceGroupDelete";
179
- SagaTransactionType[SagaTransactionType["PlaceStatusUpdate"] = 1120] = "PlaceStatusUpdate";
180
- SagaTransactionType[SagaTransactionType["DomainCreate"] = 1200] = "DomainCreate";
181
- SagaTransactionType[SagaTransactionType["DomainUpdate"] = 1201] = "DomainUpdate";
182
- SagaTransactionType[SagaTransactionType["DomainDelete"] = 1202] = "DomainDelete";
183
- SagaTransactionType[SagaTransactionType["DomainJoinRequest"] = 1203] = "DomainJoinRequest";
184
- SagaTransactionType[SagaTransactionType["DomainJoinApprove"] = 1204] = "DomainJoinApprove";
185
- SagaTransactionType[SagaTransactionType["DomainJoinReject"] = 1205] = "DomainJoinReject";
186
- SagaTransactionType[SagaTransactionType["DomainJoinDelete"] = 1206] = "DomainJoinDelete";
187
- SagaTransactionType[SagaTransactionType["DomainJoinUpdate"] = 1207] = "DomainJoinUpdate";
188
- SagaTransactionType[SagaTransactionType["DomainUnjoinRequest"] = 1208] = "DomainUnjoinRequest";
189
- SagaTransactionType[SagaTransactionType["DomainUnjoinApprove"] = 1209] = "DomainUnjoinApprove";
190
- SagaTransactionType[SagaTransactionType["DomainUnjoinReject"] = 1210] = "DomainUnjoinReject";
191
- SagaTransactionType[SagaTransactionType["DomainUnjoinDelete"] = 1211] = "DomainUnjoinDelete";
192
- SagaTransactionType[SagaTransactionType["DomainClearCache"] = 1212] = "DomainClearCache";
193
- SagaTransactionType[SagaTransactionType["PageCreate"] = 1300] = "PageCreate";
194
- SagaTransactionType[SagaTransactionType["PageUpdate"] = 1301] = "PageUpdate";
195
- SagaTransactionType[SagaTransactionType["PageDelete"] = 1302] = "PageDelete";
196
- SagaTransactionType[SagaTransactionType["PageArchive"] = 1303] = "PageArchive";
197
- SagaTransactionType[SagaTransactionType["DirectoryCreate"] = 1400] = "DirectoryCreate";
198
- SagaTransactionType[SagaTransactionType["DirectoryUpdate"] = 1401] = "DirectoryUpdate";
199
- SagaTransactionType[SagaTransactionType["DirectoryDelete"] = 1402] = "DirectoryDelete";
200
- SagaTransactionType[SagaTransactionType["DirectoryPermissionUpdate"] = 1501] = "DirectoryPermissionUpdate";
201
- SagaTransactionType[SagaTransactionType["DirectoryPermissionDelete"] = 1502] = "DirectoryPermissionDelete";
202
- SagaTransactionType[SagaTransactionType["SystemDirectoryPermissionUpdate"] = 1551] = "SystemDirectoryPermissionUpdate";
203
- SagaTransactionType[SagaTransactionType["SystemDirectoryPermissionDelete"] = 1552] = "SystemDirectoryPermissionDelete";
204
- SagaTransactionType[SagaTransactionType["StaticFileUpload"] = 1601] = "StaticFileUpload";
205
- SagaTransactionType[SagaTransactionType["StaticFileDelete"] = 1602] = "StaticFileDelete";
206
- SagaTransactionType[SagaTransactionType["StaticFileDownload"] = 1603] = "StaticFileDownload";
207
- SagaTransactionType[SagaTransactionType["FolderFileCreate"] = 1700] = "FolderFileCreate";
208
- SagaTransactionType[SagaTransactionType["ScheduleNeedCalculate"] = 1803] = "ScheduleNeedCalculate";
209
- SagaTransactionType[SagaTransactionType["ScheduleAllCalculate"] = 1804] = "ScheduleAllCalculate";
210
- SagaTransactionType[SagaTransactionType["ScheduleCampaignCalculate"] = 1805] = "ScheduleCampaignCalculate";
211
- SagaTransactionType[SagaTransactionType["ApCreate"] = 1900] = "ApCreate";
212
- SagaTransactionType[SagaTransactionType["ApUpdate"] = 1901] = "ApUpdate";
213
- SagaTransactionType[SagaTransactionType["ApDelete"] = 1902] = "ApDelete";
214
- SagaTransactionType[SagaTransactionType["ApControllerClearCache"] = 1903] = "ApControllerClearCache";
215
- SagaTransactionType[SagaTransactionType["AuthenticationProfileCreate"] = 2000] = "AuthenticationProfileCreate";
216
- SagaTransactionType[SagaTransactionType["AuthenticationProfileUpdate"] = 2001] = "AuthenticationProfileUpdate";
217
- SagaTransactionType[SagaTransactionType["AuthenticationProfileDelete"] = 2002] = "AuthenticationProfileDelete";
218
- SagaTransactionType[SagaTransactionType["CaptiveClearCache"] = 2100] = "CaptiveClearCache";
219
- SagaTransactionType[SagaTransactionType["GroupCreate"] = 2200] = "GroupCreate";
220
- SagaTransactionType[SagaTransactionType["GroupUpdate"] = 2201] = "GroupUpdate";
221
- SagaTransactionType[SagaTransactionType["GroupDelete"] = 2202] = "GroupDelete";
222
- SagaTransactionType[SagaTransactionType["UserCreate"] = 2300] = "UserCreate";
223
- SagaTransactionType[SagaTransactionType["UserUpdate"] = 2301] = "UserUpdate";
224
- SagaTransactionType[SagaTransactionType["UserDelete"] = 2302] = "UserDelete";
225
- SagaTransactionType[SagaTransactionType["UserChangePassword"] = 2303] = "UserChangePassword";
226
- SagaTransactionType[SagaTransactionType["UserAddToDomain"] = 2304] = "UserAddToDomain";
227
- SagaTransactionType[SagaTransactionType["UserRemoveFromDomain"] = 2305] = "UserRemoveFromDomain";
228
- SagaTransactionType[SagaTransactionType["TemplateCreate"] = 2400] = "TemplateCreate";
229
- SagaTransactionType[SagaTransactionType["TemplateUpdate"] = 2401] = "TemplateUpdate";
230
- SagaTransactionType[SagaTransactionType["TemplateDelete"] = 2402] = "TemplateDelete";
231
- SagaTransactionType[SagaTransactionType["RemarketingListCreate"] = 2500] = "RemarketingListCreate";
232
- SagaTransactionType[SagaTransactionType["RemarketingListUpdate"] = 2501] = "RemarketingListUpdate";
233
- SagaTransactionType[SagaTransactionType["RemarketingListDelete"] = 2502] = "RemarketingListDelete";
234
- SagaTransactionType[SagaTransactionType["UserLogin"] = 2600] = "UserLogin";
235
- SagaTransactionType[SagaTransactionType["UserLogout"] = 2601] = "UserLogout";
236
- SagaTransactionType[SagaTransactionType["WizardCreate"] = 2700] = "WizardCreate";
237
- SagaTransactionType[SagaTransactionType["WizardUpdate"] = 2701] = "WizardUpdate";
238
- SagaTransactionType[SagaTransactionType["WizardDelete"] = 2702] = "WizardDelete";
239
- SagaTransactionType[SagaTransactionType["HolidayCreate"] = 2800] = "HolidayCreate";
240
- SagaTransactionType[SagaTransactionType["HolidayUpdate"] = 2801] = "HolidayUpdate";
241
- SagaTransactionType[SagaTransactionType["HolidayDelete"] = 2802] = "HolidayDelete";
242
- SagaTransactionType[SagaTransactionType["AttributeCreate"] = 2900] = "AttributeCreate";
243
- SagaTransactionType[SagaTransactionType["AttributeUpdate"] = 2901] = "AttributeUpdate";
244
- SagaTransactionType[SagaTransactionType["AttributeDelete"] = 2902] = "AttributeDelete";
245
- SagaTransactionType[SagaTransactionType["InventoryCreate"] = 3000] = "InventoryCreate";
246
- SagaTransactionType[SagaTransactionType["InventoryUpdate"] = 3001] = "InventoryUpdate";
247
- SagaTransactionType[SagaTransactionType["InventoryDelete"] = 3002] = "InventoryDelete";
248
- SagaTransactionType[SagaTransactionType["MenuPermissionCreate"] = 3100] = "MenuPermissionCreate";
249
- SagaTransactionType[SagaTransactionType["MenuPermissionUpdate"] = 3101] = "MenuPermissionUpdate";
250
- SagaTransactionType[SagaTransactionType["MenuPermissionDelete"] = 3102] = "MenuPermissionDelete";
251
- SagaTransactionType[SagaTransactionType["AudienceSumupCalculate"] = 3200] = "AudienceSumupCalculate";
252
- SagaTransactionType[SagaTransactionType["AttributeTypeCreate"] = 3300] = "AttributeTypeCreate";
253
- SagaTransactionType[SagaTransactionType["AttributeTypeUpdate"] = 3301] = "AttributeTypeUpdate";
254
- SagaTransactionType[SagaTransactionType["AttributeTypeDelete"] = 3302] = "AttributeTypeDelete";
255
- SagaTransactionType[SagaTransactionType["TaskSchedulerCreate"] = 3400] = "TaskSchedulerCreate";
256
- SagaTransactionType[SagaTransactionType["TaskSchedulerUpdate"] = 3401] = "TaskSchedulerUpdate";
257
- SagaTransactionType[SagaTransactionType["TaskSchedulerDelete"] = 3402] = "TaskSchedulerDelete";
258
- })(SagaTransactionType || (exports.SagaTransactionType = SagaTransactionType = {}));
259
151
  var StatusCode;
260
152
  (function (StatusCode) {
261
153
  StatusCode[StatusCode["Start"] = 0] = "Start";
@@ -22,107 +22,4 @@ export declare const accountAdmin: {
22
22
  phone: string;
23
23
  image: string;
24
24
  };
25
- export declare const TRANSACTION_TYPE: {
26
- None: number;
27
- StartDay: number;
28
- CampaignCreate: number;
29
- CampaignUpdate: number;
30
- CampaignDelete: number;
31
- CampaignBlocked: number;
32
- PlaceCreate: number;
33
- PlaceUpdate: number;
34
- PlaceDelete: number;
35
- PlaceJoinRequest: number;
36
- PlaceJoinApprove: number;
37
- PlaceJoinReject: number;
38
- PlaceJoinDelete: number;
39
- PlaceUnjoinRequest: number;
40
- PlaceUnjoinApprove: number;
41
- PlaceUnjoinReject: number;
42
- PlaceUnjoinDelete: number;
43
- PlaceCustomerInfoUpdate: number;
44
- PlaceStatsNeedCalculate: number;
45
- PlaceStatsUpdate: number;
46
- PlaceClearCache: number;
47
- PlaceCustomerInfoCreate: number;
48
- PlaceCustomerInfoDelete: number;
49
- PlaceGroupCreate: number;
50
- PlaceGroupUpdate: number;
51
- PlaceGroupDelete: number;
52
- PlaceStatusUpdate: number;
53
- DomainCreate: number;
54
- DomainUpdate: number;
55
- DomainDelete: number;
56
- DomainJoinRequest: number;
57
- DomainJoinApprove: number;
58
- DomainJoinReject: number;
59
- DomainJoinDelete: number;
60
- DomainJoinUpdate: number;
61
- DomainUnjoinRequest: number;
62
- DomainUnjoinApprove: number;
63
- DomainUnjoinReject: number;
64
- DomainUnjoinDelete: number;
65
- DomainClearCache: number;
66
- PageCreate: number;
67
- PageUpdate: number;
68
- PageDelete: number;
69
- PageArchive: number;
70
- DirectoryCreate: number;
71
- DirectoryUpdate: number;
72
- DirectoryDelete: number;
73
- DirectoryPermissionUpdate: number;
74
- DirectoryPermissionDelete: number;
75
- SystemDirectoryPermissionUpdate: number;
76
- SystemDirectoryPermissionDelete: number;
77
- StaticFileUpload: number;
78
- StaticFileDelete: number;
79
- StaticFileDownload: number;
80
- FolderFileCreate: number;
81
- ScheduleNeedCalculate: number;
82
- ScheduleAllCalculate: number;
83
- ScheduleCampaignCalculate: number;
84
- ApCreate: number;
85
- ApUpdate: number;
86
- ApDelete: number;
87
- ApControllerClearCache: number;
88
- AuthenticationProfileCreate: number;
89
- AuthenticationProfileUpdate: number;
90
- AuthenticationProfileDelete: number;
91
- CaptiveClearCache: number;
92
- GroupCreate: number;
93
- GroupUpdate: number;
94
- GroupDelete: number;
95
- UserCreate: number;
96
- UserUpdate: number;
97
- UserDelete: number;
98
- UserChangePassword: number;
99
- UserAddToDomain: number;
100
- UserRemoveFromDomain: number;
101
- TemplateCreate: number;
102
- TemplateUpdate: number;
103
- TemplateDelete: number;
104
- RemarketingListCreate: number;
105
- RemarketingListUpdate: number;
106
- RemarketingListDelete: number;
107
- Login: number;
108
- Logout: number;
109
- WizardCreate: number;
110
- WizardUpdate: number;
111
- WizardDelete: number;
112
- HolidayCreate: number;
113
- HolidayUpdate: number;
114
- HolidayDelete: number;
115
- AttributeCreate: number;
116
- AttributeUpdate: number;
117
- AttributeDelete: number;
118
- InventoryCreate: number;
119
- InventoryUpdate: number;
120
- InventoryDelete: number;
121
- MenuPermissionCreate: number;
122
- MenuPermissionUpdate: number;
123
- MenuPermissionDelete: number;
124
- TaskSchedulerCreate: number;
125
- TaskSchedulerUpdate: number;
126
- TaskSchedulerDelete: number;
127
- };
128
25
  export declare const tryParseJSONObject: (jsonString: string) => any;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  **/
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.tryParseJSONObject = exports.TRANSACTION_TYPE = exports.accountAdmin = exports.STATUS_CODE = void 0;
8
+ exports.tryParseJSONObject = exports.accountAdmin = exports.STATUS_CODE = void 0;
9
9
  exports.STATUS_CODE = {
10
10
  All: -1,
11
11
  Start: 0,
@@ -25,109 +25,6 @@ exports.accountAdmin = {
25
25
  phone: '',
26
26
  image: '',
27
27
  };
28
- exports.TRANSACTION_TYPE = {
29
- None: 0,
30
- StartDay: 1,
31
- CampaignCreate: 1000,
32
- CampaignUpdate: 1001,
33
- CampaignDelete: 1002,
34
- CampaignBlocked: 1003,
35
- PlaceCreate: 1100,
36
- PlaceUpdate: 1101,
37
- PlaceDelete: 1102,
38
- PlaceJoinRequest: 1103,
39
- PlaceJoinApprove: 1104,
40
- PlaceJoinReject: 1105,
41
- PlaceJoinDelete: 1106,
42
- PlaceUnjoinRequest: 1107,
43
- PlaceUnjoinApprove: 1108,
44
- PlaceUnjoinReject: 1109,
45
- PlaceUnjoinDelete: 1110,
46
- PlaceCustomerInfoUpdate: 1111,
47
- PlaceStatsNeedCalculate: 1112,
48
- PlaceStatsUpdate: 1113,
49
- PlaceClearCache: 1114,
50
- PlaceCustomerInfoCreate: 1115,
51
- PlaceCustomerInfoDelete: 1116,
52
- PlaceGroupCreate: 1117,
53
- PlaceGroupUpdate: 1118,
54
- PlaceGroupDelete: 1119,
55
- PlaceStatusUpdate: 1120,
56
- DomainCreate: 1200,
57
- DomainUpdate: 1201,
58
- DomainDelete: 1202,
59
- DomainJoinRequest: 1203,
60
- DomainJoinApprove: 1204,
61
- DomainJoinReject: 1205,
62
- DomainJoinDelete: 1206,
63
- DomainJoinUpdate: 1207,
64
- DomainUnjoinRequest: 1208,
65
- DomainUnjoinApprove: 1209,
66
- DomainUnjoinReject: 1210,
67
- DomainUnjoinDelete: 1211,
68
- DomainClearCache: 1212,
69
- PageCreate: 1300,
70
- PageUpdate: 1301,
71
- PageDelete: 1302,
72
- PageArchive: 1303,
73
- DirectoryCreate: 1400,
74
- DirectoryUpdate: 1401,
75
- DirectoryDelete: 1402,
76
- DirectoryPermissionUpdate: 1501,
77
- DirectoryPermissionDelete: 1502,
78
- SystemDirectoryPermissionUpdate: 1551,
79
- SystemDirectoryPermissionDelete: 1552,
80
- StaticFileUpload: 1601,
81
- StaticFileDelete: 1602,
82
- StaticFileDownload: 1603,
83
- FolderFileCreate: 1700,
84
- ScheduleNeedCalculate: 1803,
85
- ScheduleAllCalculate: 1804,
86
- ScheduleCampaignCalculate: 1805,
87
- ApCreate: 1900,
88
- ApUpdate: 1901,
89
- ApDelete: 1902,
90
- ApControllerClearCache: 1903,
91
- AuthenticationProfileCreate: 2000,
92
- AuthenticationProfileUpdate: 2001,
93
- AuthenticationProfileDelete: 2002,
94
- CaptiveClearCache: 2100,
95
- GroupCreate: 2200,
96
- GroupUpdate: 2201,
97
- GroupDelete: 2202,
98
- UserCreate: 2300,
99
- UserUpdate: 2301,
100
- UserDelete: 2302,
101
- UserChangePassword: 2303,
102
- UserAddToDomain: 2304,
103
- UserRemoveFromDomain: 2305,
104
- TemplateCreate: 2400,
105
- TemplateUpdate: 2401,
106
- TemplateDelete: 2402,
107
- RemarketingListCreate: 2500,
108
- RemarketingListUpdate: 2501,
109
- RemarketingListDelete: 2502,
110
- Login: 2600,
111
- Logout: 2601,
112
- WizardCreate: 2700,
113
- WizardUpdate: 2701,
114
- WizardDelete: 2702,
115
- HolidayCreate: 2800,
116
- HolidayUpdate: 2801,
117
- HolidayDelete: 2802,
118
- AttributeCreate: 2900,
119
- AttributeUpdate: 2901,
120
- AttributeDelete: 2902,
121
- InventoryCreate: 3000,
122
- InventoryUpdate: 3001,
123
- InventoryDelete: 3002,
124
- MenuPermissionCreate: 3100,
125
- MenuPermissionUpdate: 3101,
126
- MenuPermissionDelete: 3102,
127
- TaskSchedulerCreate: 3400,
128
- TaskSchedulerUpdate: 3401,
129
- TaskSchedulerDelete: 3402,
130
- };
131
28
  function convertLongsToStrings(obj) {
132
29
  // Step 1: Check if the current value is a long number and convert it to a string
133
30
  if (typeof obj === 'number' && obj > Number.MAX_SAFE_INTEGER) {
@@ -75,12 +75,12 @@ var CreateDirectory = function (props) {
75
75
  .directoriesPost(newDirectory)
76
76
  .then(function () { return ClassicDrawer_1.CloseAction.ReloadDirectory; });
77
77
  };
78
- return ((0, jsx_runtime_1.jsx)(ClassicDrawer_1.default, { title: t('DirectoryManagement.CreateDirectory'), onSubmit: handleSubmit, disableButtonSubmit: !isValid, confirmExit: confirmExit, childrenWrapperStyle: { padding: 0 }, children: loading ? ((0, jsx_runtime_1.jsx)(AWING_1.CircularProgress, {})) : ((0, jsx_runtime_1.jsx)(AWING_1.DataForm, { onUpdate: handleUpdate, fields: [
78
+ return ((0, jsx_runtime_1.jsx)(ClassicDrawer_1.default, { title: t('DirectoryManagement.CreateDirectory'), onSubmit: handleSubmit, disableButtonSubmit: !(isValid && newDirectory.order && newDirectory.name), confirmExit: confirmExit, childrenWrapperStyle: { padding: 0 }, children: loading ? ((0, jsx_runtime_1.jsx)(AWING_1.CircularProgress, {})) : ((0, jsx_runtime_1.jsx)(AWING_1.DataForm, { onUpdate: handleUpdate, fields: [
79
79
  {
80
80
  fieldName: 'parentDirectoryId',
81
81
  type: 'select',
82
- label: t('DirectoryManagement.ParentDirectory'),
83
82
  required: true,
83
+ label: t('DirectoryManagement.ParentDirectory'),
84
84
  options: directories.map(function (directory) { return ({
85
85
  value: directory.directoryId,
86
86
  text: directory.name,
@@ -30,6 +30,7 @@ var AwingContext = (0, react_1.createContext)({
30
30
  i18next: {},
31
31
  appHelper: {},
32
32
  service: {},
33
+ transactionType: {},
33
34
  });
34
35
  var useAwing = function () {
35
36
  var awingContextValue = react_1.default.useContext(AwingContext);
@@ -18,4 +18,5 @@ export interface AppHelperContextType {
18
18
  i18next: any;
19
19
  appHelper: AppHelper;
20
20
  service: any;
21
+ transactionType: Record<string, number>;
21
22
  }
@@ -132,6 +132,10 @@
132
132
  "All": "All",
133
133
  "TotalSelected": "Total selected"
134
134
  },
135
+ "InvalidMessage": {
136
+ "InvalidNotExistedUsername": "Username is invalid or not existed",
137
+ "InvalidAccountConnected": "Account has been added to this domain!"
138
+ },
135
139
  "ViewTemplate": {
136
140
  "Value": "Value",
137
141
  "StaticUseFormat": "To use uploaded resources, use format",
@@ -119,6 +119,10 @@
119
119
  "InvalidLength": "Độ dài chuỗi không hợp lệ",
120
120
  "RequestHasApprove": "Yêu cầu đã được thay đổi"
121
121
  },
122
+ "InvalidMessage": {
123
+ "InvalidNotExistedUsername": "Tài khoản không tồn tại",
124
+ "InvalidAccountConnected": "Tài khoản đã được gắn vào domain này rồi!"
125
+ },
122
126
  "User": {
123
127
  "Username": "Tài khoản",
124
128
  "Password": "Mật khẩu",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.81-beta",
3
+ "version": "2.1.83-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",