awing-library 2.1.3 → 2.1.4
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/lib/ACM-AXN/Campaign/index.js +2 -1
- package/lib/ACM-AXN/DomainPreview/PreviewButton.js +50 -27
- package/lib/ACM-AXN/Notifications/Constant.d.ts +144 -0
- package/lib/ACM-AXN/Notifications/Constant.js +134 -0
- package/lib/ACM-AXN/Notifications/Context.d.ts +8 -0
- package/lib/ACM-AXN/Notifications/Context.js +10 -0
- package/lib/ACM-AXN/Notifications/Hooks.d.ts +7 -0
- package/lib/ACM-AXN/Notifications/Hooks.js +17 -0
- package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/ButtonTabs.js +26 -20
- package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/MenuNotification.d.ts +1 -1
- package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/MenuNotification.js +30 -39
- package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/index.d.ts +2 -5
- package/lib/ACM-AXN/Notifications/NotificationDetail/HeaderInfo/index.js +18 -15
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.d.ts +1 -1
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.js +15 -15
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.test.d.ts +0 -6
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationEmpty.test.js +29 -28
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.d.ts +10 -0
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/Message.js +380 -0
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.d.ts +1 -1
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.js +3 -3
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.test.d.ts +0 -6
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationAvatar.test.js +38 -48
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.d.ts +2 -2
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.js +32 -32
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.test.d.ts +0 -6
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/NotificationContent.test.js +65 -73
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.d.ts +4 -11
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.js +46 -36
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.test.d.ts +0 -6
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationItem/index.test.js +56 -50
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/NotificationLoading.js +30 -30
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.d.ts +3 -15
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.js +35 -4
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.test.d.ts +0 -6
- package/lib/ACM-AXN/Notifications/NotificationDetail/NotificationList/index.test.js +88 -83
- package/lib/ACM-AXN/Notifications/NotificationDetail/index.d.ts +1 -1
- package/lib/ACM-AXN/Notifications/NotificationDetail/index.js +101 -100
- package/lib/ACM-AXN/Notifications/{NotificationPopover.d.ts → NotificationPopover/Container.d.ts} +2 -2
- package/lib/ACM-AXN/Notifications/NotificationPopover/Container.js +149 -0
- package/lib/ACM-AXN/Notifications/{NotificationPopover.test.d.ts → NotificationPopover/Container.test.d.ts} +1 -1
- package/lib/ACM-AXN/Notifications/{NotificationPopover.test.js → NotificationPopover/Container.test.js} +5 -5
- package/lib/ACM-AXN/Notifications/NotificationPopover/index.d.ts +8 -0
- package/lib/ACM-AXN/Notifications/NotificationPopover/index.js +13 -0
- package/lib/ACM-AXN/Notifications/NotificationScreen.d.ts +1 -1
- package/lib/ACM-AXN/Notifications/NotificationScreen.js +4 -4
- package/lib/ACM-AXN/Notifications/Types.d.ts +241 -0
- package/lib/ACM-AXN/Notifications/Types.js +290 -0
- package/lib/ACM-AXN/Notifications/index.d.ts +2 -2
- package/lib/ACM-AXN/Notifications/index.js +5 -5
- package/lib/ACM-AXN/Page/Container.js +2 -2
- package/lib/ACM-AXN/Page/index.js +2 -1
- package/lib/ACM-AXN/PlaceGroup/Context.d.ts +1 -1
- package/lib/ACM-AXN/ViewTemplate/TemplateField/Fields/BasicField/index.js +1 -1
- package/lib/AWING/Directory/CreateDirectory.d.ts +3 -0
- package/lib/AWING/Directory/CreateDirectory.js +27 -10
- package/lib/Commons/Components/ClassicBaseDrawer.d.ts +1 -0
- package/lib/Commons/Components/ClassicBaseDrawer.js +7 -3
- package/lib/translate/en/translation.json +53 -0
- package/lib/translate/vi/translation.json +53 -0
- package/package.json +2 -1
- package/lib/ACM-AXN/Notifications/NotificationDetail/Common.d.ts +0 -39
- package/lib/ACM-AXN/Notifications/NotificationDetail/Common.js +0 -304
- package/lib/ACM-AXN/Notifications/NotificationPopover.js +0 -69
- package/lib/ACM-AXN/Page/ViewDomain/index.d.ts +0 -9
- package/lib/ACM-AXN/Page/ViewDomain/index.js +0 -148
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @author dauquan1108@gmail.com on 04/15/2024.
|
|
5
|
+
*
|
|
6
|
+
**/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.SagaTransactionType = exports.PagedList_1OfNotificationMessage = exports.NotificationMessageField = exports.NotificationMessage = exports.NotificationMessageStatus = exports.Timestamp = void 0;
|
|
9
|
+
var Timestamp = /** @class */ (function () {
|
|
10
|
+
function Timestamp(data) {
|
|
11
|
+
if (data) {
|
|
12
|
+
for (var property in data) {
|
|
13
|
+
if (data.hasOwnProperty(property))
|
|
14
|
+
this[property] = data[property];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
Timestamp.prototype.init = function (_data) {
|
|
19
|
+
if (_data) {
|
|
20
|
+
this.seconds = _data['seconds'];
|
|
21
|
+
this.nanos = _data['nanos'];
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
Timestamp.fromJS = function (data) {
|
|
25
|
+
data = typeof data === 'object' ? data : {};
|
|
26
|
+
var result = new Timestamp();
|
|
27
|
+
result.init(data);
|
|
28
|
+
return result;
|
|
29
|
+
};
|
|
30
|
+
Timestamp.prototype.toJSON = function (data) {
|
|
31
|
+
data = typeof data === 'object' ? data : {};
|
|
32
|
+
data['seconds'] = this.seconds;
|
|
33
|
+
data['nanos'] = this.nanos;
|
|
34
|
+
return data;
|
|
35
|
+
};
|
|
36
|
+
return Timestamp;
|
|
37
|
+
}());
|
|
38
|
+
exports.Timestamp = Timestamp;
|
|
39
|
+
var NotificationMessageStatus;
|
|
40
|
+
(function (NotificationMessageStatus) {
|
|
41
|
+
NotificationMessageStatus[NotificationMessageStatus["Unread"] = 0] = "Unread";
|
|
42
|
+
NotificationMessageStatus[NotificationMessageStatus["Read"] = 1] = "Read";
|
|
43
|
+
})(NotificationMessageStatus || (exports.NotificationMessageStatus = NotificationMessageStatus = {}));
|
|
44
|
+
var NotificationMessage = /** @class */ (function () {
|
|
45
|
+
function NotificationMessage(data) {
|
|
46
|
+
if (data) {
|
|
47
|
+
for (var property in data) {
|
|
48
|
+
if (data.hasOwnProperty(property))
|
|
49
|
+
this[property] = data[property];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
NotificationMessage.prototype.init = function (_data) {
|
|
54
|
+
if (_data) {
|
|
55
|
+
this.id = _data['id'];
|
|
56
|
+
this.userId = _data['userId'];
|
|
57
|
+
this.sagaTransactionType = _data['sagaTransactionType'];
|
|
58
|
+
if (Array.isArray(_data['fields'])) {
|
|
59
|
+
;
|
|
60
|
+
this.fields = [];
|
|
61
|
+
for (var _i = 0, _a = _data['fields']; _i < _a.length; _i++) {
|
|
62
|
+
var item = _a[_i];
|
|
63
|
+
this.fields.push(NotificationMessageField.fromJS(item));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
this.status = _data['status'];
|
|
67
|
+
this.createdDate = _data['createdDate']
|
|
68
|
+
? Timestamp.fromJS(_data['createdDate'])
|
|
69
|
+
: undefined;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
NotificationMessage.fromJS = function (data) {
|
|
73
|
+
data = typeof data === 'object' ? data : {};
|
|
74
|
+
var result = new NotificationMessage();
|
|
75
|
+
result.init(data);
|
|
76
|
+
return result;
|
|
77
|
+
};
|
|
78
|
+
NotificationMessage.prototype.toJSON = function (data) {
|
|
79
|
+
data = typeof data === 'object' ? data : {};
|
|
80
|
+
data['id'] = this.id;
|
|
81
|
+
data['userId'] = this.userId;
|
|
82
|
+
data['sagaTransactionType'] = this.sagaTransactionType;
|
|
83
|
+
if (Array.isArray(this.fields)) {
|
|
84
|
+
data['fields'] = [];
|
|
85
|
+
for (var _i = 0, _a = this.fields; _i < _a.length; _i++) {
|
|
86
|
+
var item = _a[_i];
|
|
87
|
+
data['fields'].push(item.toJSON());
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
data['status'] = this.status;
|
|
91
|
+
data['createdDate'] = this.createdDate
|
|
92
|
+
? this.createdDate.toJSON()
|
|
93
|
+
: undefined;
|
|
94
|
+
return data;
|
|
95
|
+
};
|
|
96
|
+
return NotificationMessage;
|
|
97
|
+
}());
|
|
98
|
+
exports.NotificationMessage = NotificationMessage;
|
|
99
|
+
var NotificationMessageField = /** @class */ (function () {
|
|
100
|
+
function NotificationMessageField(data) {
|
|
101
|
+
if (data) {
|
|
102
|
+
for (var property in data) {
|
|
103
|
+
if (data.hasOwnProperty(property))
|
|
104
|
+
this[property] = data[property];
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
NotificationMessageField.prototype.init = function (_data) {
|
|
109
|
+
if (_data) {
|
|
110
|
+
this.name = _data['name'];
|
|
111
|
+
this.value = _data['value'];
|
|
112
|
+
this.text = _data['text'];
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
NotificationMessageField.fromJS = function (data) {
|
|
116
|
+
data = typeof data === 'object' ? data : {};
|
|
117
|
+
var result = new NotificationMessageField();
|
|
118
|
+
result.init(data);
|
|
119
|
+
return result;
|
|
120
|
+
};
|
|
121
|
+
NotificationMessageField.prototype.toJSON = function (data) {
|
|
122
|
+
data = typeof data === 'object' ? data : {};
|
|
123
|
+
data['name'] = this.name;
|
|
124
|
+
data['value'] = this.value;
|
|
125
|
+
data['text'] = this.text;
|
|
126
|
+
return data;
|
|
127
|
+
};
|
|
128
|
+
return NotificationMessageField;
|
|
129
|
+
}());
|
|
130
|
+
exports.NotificationMessageField = NotificationMessageField;
|
|
131
|
+
var PagedList_1OfNotificationMessage = /** @class */ (function () {
|
|
132
|
+
function PagedList_1OfNotificationMessage(data) {
|
|
133
|
+
if (data) {
|
|
134
|
+
for (var property in data) {
|
|
135
|
+
if (data.hasOwnProperty(property))
|
|
136
|
+
this[property] = data[property];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
PagedList_1OfNotificationMessage.prototype.init = function (_data) {
|
|
141
|
+
if (_data) {
|
|
142
|
+
if (Array.isArray(_data['items'])) {
|
|
143
|
+
this.items = [];
|
|
144
|
+
for (var _i = 0, _a = _data['items']; _i < _a.length; _i++) {
|
|
145
|
+
var item = _a[_i];
|
|
146
|
+
this.items.push(NotificationMessage.fromJS(item));
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
this.pageCount = _data['pageCount'];
|
|
150
|
+
this.totalItemCount = _data['totalItemCount'];
|
|
151
|
+
this.pageNumber = _data['pageNumber'];
|
|
152
|
+
this.pageSize = _data['pageSize'];
|
|
153
|
+
this.hasPreviousPage = _data['hasPreviousPage'];
|
|
154
|
+
this.hasNextPage = _data['hasNextPage'];
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
PagedList_1OfNotificationMessage.fromJS = function (data) {
|
|
158
|
+
data = typeof data === 'object' ? data : {};
|
|
159
|
+
var result = new PagedList_1OfNotificationMessage();
|
|
160
|
+
result.init(data);
|
|
161
|
+
return result;
|
|
162
|
+
};
|
|
163
|
+
PagedList_1OfNotificationMessage.prototype.toJSON = function (data) {
|
|
164
|
+
data = typeof data === 'object' ? data : {};
|
|
165
|
+
if (Array.isArray(this.items)) {
|
|
166
|
+
data['items'] = [];
|
|
167
|
+
for (var _i = 0, _a = this.items; _i < _a.length; _i++) {
|
|
168
|
+
var item = _a[_i];
|
|
169
|
+
data['items'].push(item.toJSON());
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
data['pageCount'] = this.pageCount;
|
|
173
|
+
data['totalItemCount'] = this.totalItemCount;
|
|
174
|
+
data['pageNumber'] = this.pageNumber;
|
|
175
|
+
data['pageSize'] = this.pageSize;
|
|
176
|
+
data['hasPreviousPage'] = this.hasPreviousPage;
|
|
177
|
+
data['hasNextPage'] = this.hasNextPage;
|
|
178
|
+
return data;
|
|
179
|
+
};
|
|
180
|
+
return PagedList_1OfNotificationMessage;
|
|
181
|
+
}());
|
|
182
|
+
exports.PagedList_1OfNotificationMessage = PagedList_1OfNotificationMessage;
|
|
183
|
+
var SagaTransactionType;
|
|
184
|
+
(function (SagaTransactionType) {
|
|
185
|
+
SagaTransactionType[SagaTransactionType["None"] = 0] = "None";
|
|
186
|
+
SagaTransactionType[SagaTransactionType["StartDay"] = 1] = "StartDay";
|
|
187
|
+
SagaTransactionType[SagaTransactionType["CampaignCreate"] = 1000] = "CampaignCreate";
|
|
188
|
+
SagaTransactionType[SagaTransactionType["CampaignUpdate"] = 1001] = "CampaignUpdate";
|
|
189
|
+
SagaTransactionType[SagaTransactionType["CampaignDelete"] = 1002] = "CampaignDelete";
|
|
190
|
+
SagaTransactionType[SagaTransactionType["CampaignBlocked"] = 1003] = "CampaignBlocked";
|
|
191
|
+
SagaTransactionType[SagaTransactionType["PlaceCreate"] = 1100] = "PlaceCreate";
|
|
192
|
+
SagaTransactionType[SagaTransactionType["PlaceUpdate"] = 1101] = "PlaceUpdate";
|
|
193
|
+
SagaTransactionType[SagaTransactionType["PlaceDelete"] = 1102] = "PlaceDelete";
|
|
194
|
+
SagaTransactionType[SagaTransactionType["PlaceJoinRequest"] = 1103] = "PlaceJoinRequest";
|
|
195
|
+
SagaTransactionType[SagaTransactionType["PlaceJoinApprove"] = 1104] = "PlaceJoinApprove";
|
|
196
|
+
SagaTransactionType[SagaTransactionType["PlaceJoinReject"] = 1105] = "PlaceJoinReject";
|
|
197
|
+
SagaTransactionType[SagaTransactionType["PlaceJoinDelete"] = 1106] = "PlaceJoinDelete";
|
|
198
|
+
SagaTransactionType[SagaTransactionType["PlaceUnjoinRequest"] = 1107] = "PlaceUnjoinRequest";
|
|
199
|
+
SagaTransactionType[SagaTransactionType["PlaceUnjoinApprove"] = 1108] = "PlaceUnjoinApprove";
|
|
200
|
+
SagaTransactionType[SagaTransactionType["PlaceUnjoinReject"] = 1109] = "PlaceUnjoinReject";
|
|
201
|
+
SagaTransactionType[SagaTransactionType["PlaceUnjoinDelete"] = 1110] = "PlaceUnjoinDelete";
|
|
202
|
+
SagaTransactionType[SagaTransactionType["PlaceCustomerInfoUpdate"] = 1111] = "PlaceCustomerInfoUpdate";
|
|
203
|
+
SagaTransactionType[SagaTransactionType["PlaceStatsNeedCalculate"] = 1112] = "PlaceStatsNeedCalculate";
|
|
204
|
+
SagaTransactionType[SagaTransactionType["PlaceStatsUpdate"] = 1113] = "PlaceStatsUpdate";
|
|
205
|
+
SagaTransactionType[SagaTransactionType["PlaceClearCache"] = 1114] = "PlaceClearCache";
|
|
206
|
+
SagaTransactionType[SagaTransactionType["PlaceCustomerInfoCreate"] = 1115] = "PlaceCustomerInfoCreate";
|
|
207
|
+
SagaTransactionType[SagaTransactionType["PlaceCustomerInfoDelete"] = 1116] = "PlaceCustomerInfoDelete";
|
|
208
|
+
SagaTransactionType[SagaTransactionType["PlaceGroupCreate"] = 1117] = "PlaceGroupCreate";
|
|
209
|
+
SagaTransactionType[SagaTransactionType["PlaceGroupUpdate"] = 1118] = "PlaceGroupUpdate";
|
|
210
|
+
SagaTransactionType[SagaTransactionType["PlaceGroupDelete"] = 1119] = "PlaceGroupDelete";
|
|
211
|
+
SagaTransactionType[SagaTransactionType["PlaceStatusUpdate"] = 1120] = "PlaceStatusUpdate";
|
|
212
|
+
SagaTransactionType[SagaTransactionType["DomainCreate"] = 1200] = "DomainCreate";
|
|
213
|
+
SagaTransactionType[SagaTransactionType["DomainUpdate"] = 1201] = "DomainUpdate";
|
|
214
|
+
SagaTransactionType[SagaTransactionType["DomainDelete"] = 1202] = "DomainDelete";
|
|
215
|
+
SagaTransactionType[SagaTransactionType["DomainJoinRequest"] = 1203] = "DomainJoinRequest";
|
|
216
|
+
SagaTransactionType[SagaTransactionType["DomainJoinApprove"] = 1204] = "DomainJoinApprove";
|
|
217
|
+
SagaTransactionType[SagaTransactionType["DomainJoinReject"] = 1205] = "DomainJoinReject";
|
|
218
|
+
SagaTransactionType[SagaTransactionType["DomainJoinDelete"] = 1206] = "DomainJoinDelete";
|
|
219
|
+
SagaTransactionType[SagaTransactionType["DomainJoinUpdate"] = 1207] = "DomainJoinUpdate";
|
|
220
|
+
SagaTransactionType[SagaTransactionType["DomainUnjoinRequest"] = 1208] = "DomainUnjoinRequest";
|
|
221
|
+
SagaTransactionType[SagaTransactionType["DomainUnjoinApprove"] = 1209] = "DomainUnjoinApprove";
|
|
222
|
+
SagaTransactionType[SagaTransactionType["DomainUnjoinReject"] = 1210] = "DomainUnjoinReject";
|
|
223
|
+
SagaTransactionType[SagaTransactionType["DomainUnjoinDelete"] = 1211] = "DomainUnjoinDelete";
|
|
224
|
+
SagaTransactionType[SagaTransactionType["DomainClearCache"] = 1212] = "DomainClearCache";
|
|
225
|
+
SagaTransactionType[SagaTransactionType["PageCreate"] = 1300] = "PageCreate";
|
|
226
|
+
SagaTransactionType[SagaTransactionType["PageUpdate"] = 1301] = "PageUpdate";
|
|
227
|
+
SagaTransactionType[SagaTransactionType["PageDelete"] = 1302] = "PageDelete";
|
|
228
|
+
SagaTransactionType[SagaTransactionType["PageArchive"] = 1303] = "PageArchive";
|
|
229
|
+
SagaTransactionType[SagaTransactionType["DirectoryCreate"] = 1400] = "DirectoryCreate";
|
|
230
|
+
SagaTransactionType[SagaTransactionType["DirectoryUpdate"] = 1401] = "DirectoryUpdate";
|
|
231
|
+
SagaTransactionType[SagaTransactionType["DirectoryDelete"] = 1402] = "DirectoryDelete";
|
|
232
|
+
SagaTransactionType[SagaTransactionType["DirectoryPermissionUpdate"] = 1501] = "DirectoryPermissionUpdate";
|
|
233
|
+
SagaTransactionType[SagaTransactionType["DirectoryPermissionDelete"] = 1502] = "DirectoryPermissionDelete";
|
|
234
|
+
SagaTransactionType[SagaTransactionType["SystemDirectoryPermissionUpdate"] = 1551] = "SystemDirectoryPermissionUpdate";
|
|
235
|
+
SagaTransactionType[SagaTransactionType["SystemDirectoryPermissionDelete"] = 1552] = "SystemDirectoryPermissionDelete";
|
|
236
|
+
SagaTransactionType[SagaTransactionType["StaticFileUpload"] = 1601] = "StaticFileUpload";
|
|
237
|
+
SagaTransactionType[SagaTransactionType["StaticFileDelete"] = 1602] = "StaticFileDelete";
|
|
238
|
+
SagaTransactionType[SagaTransactionType["StaticFileDownload"] = 1603] = "StaticFileDownload";
|
|
239
|
+
SagaTransactionType[SagaTransactionType["FolderFileCreate"] = 1700] = "FolderFileCreate";
|
|
240
|
+
SagaTransactionType[SagaTransactionType["ScheduleNeedCalculate"] = 1803] = "ScheduleNeedCalculate";
|
|
241
|
+
SagaTransactionType[SagaTransactionType["ScheduleAllCalculate"] = 1804] = "ScheduleAllCalculate";
|
|
242
|
+
SagaTransactionType[SagaTransactionType["ScheduleCampaignCalculate"] = 1805] = "ScheduleCampaignCalculate";
|
|
243
|
+
SagaTransactionType[SagaTransactionType["ApCreate"] = 1900] = "ApCreate";
|
|
244
|
+
SagaTransactionType[SagaTransactionType["ApUpdate"] = 1901] = "ApUpdate";
|
|
245
|
+
SagaTransactionType[SagaTransactionType["ApDelete"] = 1902] = "ApDelete";
|
|
246
|
+
SagaTransactionType[SagaTransactionType["ApControllerClearCache"] = 1903] = "ApControllerClearCache";
|
|
247
|
+
SagaTransactionType[SagaTransactionType["AuthenticationProfileCreate"] = 2000] = "AuthenticationProfileCreate";
|
|
248
|
+
SagaTransactionType[SagaTransactionType["AuthenticationProfileUpdate"] = 2001] = "AuthenticationProfileUpdate";
|
|
249
|
+
SagaTransactionType[SagaTransactionType["AuthenticationProfileDelete"] = 2002] = "AuthenticationProfileDelete";
|
|
250
|
+
SagaTransactionType[SagaTransactionType["CaptiveClearCache"] = 2100] = "CaptiveClearCache";
|
|
251
|
+
SagaTransactionType[SagaTransactionType["GroupCreate"] = 2200] = "GroupCreate";
|
|
252
|
+
SagaTransactionType[SagaTransactionType["GroupUpdate"] = 2201] = "GroupUpdate";
|
|
253
|
+
SagaTransactionType[SagaTransactionType["GroupDelete"] = 2202] = "GroupDelete";
|
|
254
|
+
SagaTransactionType[SagaTransactionType["UserCreate"] = 2300] = "UserCreate";
|
|
255
|
+
SagaTransactionType[SagaTransactionType["UserUpdate"] = 2301] = "UserUpdate";
|
|
256
|
+
SagaTransactionType[SagaTransactionType["UserDelete"] = 2302] = "UserDelete";
|
|
257
|
+
SagaTransactionType[SagaTransactionType["UserChangePassword"] = 2303] = "UserChangePassword";
|
|
258
|
+
SagaTransactionType[SagaTransactionType["UserAddToDomain"] = 2304] = "UserAddToDomain";
|
|
259
|
+
SagaTransactionType[SagaTransactionType["UserRemoveFromDomain"] = 2305] = "UserRemoveFromDomain";
|
|
260
|
+
SagaTransactionType[SagaTransactionType["TemplateCreate"] = 2400] = "TemplateCreate";
|
|
261
|
+
SagaTransactionType[SagaTransactionType["TemplateUpdate"] = 2401] = "TemplateUpdate";
|
|
262
|
+
SagaTransactionType[SagaTransactionType["TemplateDelete"] = 2402] = "TemplateDelete";
|
|
263
|
+
SagaTransactionType[SagaTransactionType["RemarketingListCreate"] = 2500] = "RemarketingListCreate";
|
|
264
|
+
SagaTransactionType[SagaTransactionType["RemarketingListUpdate"] = 2501] = "RemarketingListUpdate";
|
|
265
|
+
SagaTransactionType[SagaTransactionType["RemarketingListDelete"] = 2502] = "RemarketingListDelete";
|
|
266
|
+
SagaTransactionType[SagaTransactionType["UserLogin"] = 2600] = "UserLogin";
|
|
267
|
+
SagaTransactionType[SagaTransactionType["UserLogout"] = 2601] = "UserLogout";
|
|
268
|
+
SagaTransactionType[SagaTransactionType["WizardCreate"] = 2700] = "WizardCreate";
|
|
269
|
+
SagaTransactionType[SagaTransactionType["WizardUpdate"] = 2701] = "WizardUpdate";
|
|
270
|
+
SagaTransactionType[SagaTransactionType["WizardDelete"] = 2702] = "WizardDelete";
|
|
271
|
+
SagaTransactionType[SagaTransactionType["HolidayCreate"] = 2800] = "HolidayCreate";
|
|
272
|
+
SagaTransactionType[SagaTransactionType["HolidayUpdate"] = 2801] = "HolidayUpdate";
|
|
273
|
+
SagaTransactionType[SagaTransactionType["HolidayDelete"] = 2802] = "HolidayDelete";
|
|
274
|
+
SagaTransactionType[SagaTransactionType["AttributeCreate"] = 2900] = "AttributeCreate";
|
|
275
|
+
SagaTransactionType[SagaTransactionType["AttributeUpdate"] = 2901] = "AttributeUpdate";
|
|
276
|
+
SagaTransactionType[SagaTransactionType["AttributeDelete"] = 2902] = "AttributeDelete";
|
|
277
|
+
SagaTransactionType[SagaTransactionType["InventoryCreate"] = 3000] = "InventoryCreate";
|
|
278
|
+
SagaTransactionType[SagaTransactionType["InventoryUpdate"] = 3001] = "InventoryUpdate";
|
|
279
|
+
SagaTransactionType[SagaTransactionType["InventoryDelete"] = 3002] = "InventoryDelete";
|
|
280
|
+
SagaTransactionType[SagaTransactionType["MenuPermissionCreate"] = 3100] = "MenuPermissionCreate";
|
|
281
|
+
SagaTransactionType[SagaTransactionType["MenuPermissionUpdate"] = 3101] = "MenuPermissionUpdate";
|
|
282
|
+
SagaTransactionType[SagaTransactionType["MenuPermissionDelete"] = 3102] = "MenuPermissionDelete";
|
|
283
|
+
SagaTransactionType[SagaTransactionType["AudienceSumupCalculate"] = 3200] = "AudienceSumupCalculate";
|
|
284
|
+
SagaTransactionType[SagaTransactionType["AttributeTypeCreate"] = 3300] = "AttributeTypeCreate";
|
|
285
|
+
SagaTransactionType[SagaTransactionType["AttributeTypeUpdate"] = 3301] = "AttributeTypeUpdate";
|
|
286
|
+
SagaTransactionType[SagaTransactionType["AttributeTypeDelete"] = 3302] = "AttributeTypeDelete";
|
|
287
|
+
SagaTransactionType[SagaTransactionType["TaskSchedulerCreate"] = 3400] = "TaskSchedulerCreate";
|
|
288
|
+
SagaTransactionType[SagaTransactionType["TaskSchedulerUpdate"] = 3401] = "TaskSchedulerUpdate";
|
|
289
|
+
SagaTransactionType[SagaTransactionType["TaskSchedulerDelete"] = 3402] = "TaskSchedulerDelete";
|
|
290
|
+
})(SagaTransactionType || (exports.SagaTransactionType = SagaTransactionType = {}));
|
|
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Notifications = void 0;
|
|
6
7
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
8
|
var Box_1 = __importDefault(require("@mui/material/Box"));
|
|
8
|
-
var i18n_1 = __importDefault(require("../../i18n"));
|
|
9
|
-
var react_i18next_1 = require("react-i18next");
|
|
10
9
|
var NotificationScreen_1 = __importDefault(require("./NotificationScreen"));
|
|
11
|
-
var
|
|
12
|
-
|
|
10
|
+
var Context_1 = require("./Context");
|
|
11
|
+
var Notifications = function (props) {
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)(Context_1.NotificationContext.Provider, { value: props, children: (0, jsx_runtime_1.jsx)(Box_1.default, { component: "div", display: "flex", justifyContent: "center", children: (0, jsx_runtime_1.jsx)(NotificationScreen_1.default, {}) }) }));
|
|
13
13
|
};
|
|
14
|
-
exports.
|
|
14
|
+
exports.Notifications = Notifications;
|
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
18
|
var icons_material_1 = require("@mui/icons-material");
|
|
19
19
|
var material_1 = require("@mui/material");
|
|
20
|
+
var DomainPreview_1 = __importDefault(require("../../ACM-AXN/DomainPreview"));
|
|
21
|
+
var PreviewButton_1 = __importDefault(require("../../ACM-AXN/DomainPreview/PreviewButton"));
|
|
20
22
|
var lodash_1 = require("lodash");
|
|
21
23
|
var react_1 = require("react");
|
|
22
24
|
var react_i18next_1 = require("react-i18next");
|
|
@@ -29,8 +31,6 @@ var Helpers_1 = require("../../Utils/Helpers");
|
|
|
29
31
|
var Constant_1 = require("./Constant");
|
|
30
32
|
var Context_2 = __importDefault(require("./Context"));
|
|
31
33
|
var enums_1 = require("./enums");
|
|
32
|
-
var DomainPreview_1 = __importDefault(require("../../ACM-AXN/DomainPreview"));
|
|
33
|
-
var PreviewButton_1 = __importDefault(require("../../ACM-AXN/DomainPreview/PreviewButton"));
|
|
34
34
|
var PageContainer = function () {
|
|
35
35
|
var _a;
|
|
36
36
|
var _b = (0, Context_2.default)(), pageCode = _b.pageCode, service = _b.service, domainId = _b.domainId, CONFIGS = _b.configs;
|
|
@@ -29,6 +29,7 @@ var Context_1 = require("./Context");
|
|
|
29
29
|
var enums_1 = require("./enums");
|
|
30
30
|
var CreateOrEdit_1 = __importDefault(require("./CreateOrEdit"));
|
|
31
31
|
var index_1 = __importDefault(require("./Import/index"));
|
|
32
|
+
var Enum_1 = require("../../ACM-AXN/Campaign/Enum");
|
|
32
33
|
var Page = function (props) {
|
|
33
34
|
var paths = [
|
|
34
35
|
{ path: Constant_1.pageConstants.IMPORT_PAGE, element: (0, jsx_runtime_1.jsx)(index_1.default, {}) },
|
|
@@ -46,7 +47,7 @@ var Page = function (props) {
|
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
path: Constant_1.pageConstants.PAGE_CREATE_DIRECTORY + '/:directoryId',
|
|
49
|
-
element: ((0, jsx_runtime_1.jsx)(CreateDirectory_1.default, __assign({ parentDirectory: props.pageCode === enums_1.PageCode.Lgn
|
|
50
|
+
element: ((0, jsx_runtime_1.jsx)(CreateDirectory_1.default, __assign({ directoryRoot: Enum_1.DirectoryRoot[props.pageCode === enums_1.PageCode.Lgn ? 'PageLogin' : 'PageWelcome'], parentDirectory: props.pageCode === enums_1.PageCode.Lgn
|
|
50
51
|
? 'pageLogin'
|
|
51
52
|
: 'pageWelcome' }, props))),
|
|
52
53
|
},
|
|
@@ -168,7 +168,7 @@ function BasicField(props) {
|
|
|
168
168
|
};
|
|
169
169
|
var renderDropdownListField = function (field, isError) {
|
|
170
170
|
var opts = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.split('\\n');
|
|
171
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.FormControl, __assign({}, field, { fullWidth: true, component: "fieldset", className: classes.radioGroup, error: isError, children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { required: true, id: "deviceTypeLabel", children: labelName || fieldName }), (0, jsx_runtime_1.jsx)(material_1.Select, { fullWidth: true, defaultValue: '', value: getValues(fieldPath), MenuProps: {
|
|
171
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.FormControl, __assign({}, field, { fullWidth: true, component: "fieldset", className: classes.radioGroup, error: isError, children: [(0, jsx_runtime_1.jsx)(material_1.InputLabel, { required: true, id: "deviceTypeLabel", variant: "standard", children: labelName || fieldName }), (0, jsx_runtime_1.jsx)(material_1.Select, { variant: "standard", fullWidth: true, defaultValue: '', value: getValues(fieldPath), MenuProps: {
|
|
172
172
|
anchorOrigin: {
|
|
173
173
|
vertical: 'bottom',
|
|
174
174
|
horizontal: 'left',
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Directory } from '../../ACM-AXN/Campaign/Types';
|
|
3
|
+
import { DirectoryRoot } from '../../ACM-AXN/Campaign/Enum';
|
|
3
4
|
interface CreateDirectoryProps {
|
|
4
5
|
service: {
|
|
5
6
|
directoriesPost: (body: Directory) => Promise<void>;
|
|
7
|
+
directoriesGetByObjectTypeCode: (type: DirectoryRoot) => Promise<Directory[]>;
|
|
6
8
|
};
|
|
7
9
|
parentDirectory: string;
|
|
10
|
+
directoryRoot: DirectoryRoot;
|
|
8
11
|
}
|
|
9
12
|
declare const CreateDirectory: React.FC<CreateDirectoryProps>;
|
|
10
13
|
export default CreateDirectory;
|
|
@@ -41,18 +41,30 @@ var AWING_1 = require("../../AWING");
|
|
|
41
41
|
var Router_1 = require("../../AWING/Router");
|
|
42
42
|
var ClassicDrawer_1 = __importStar(require("../../Commons/Components/ClassicDrawer"));
|
|
43
43
|
var CreateDirectory = function (props) {
|
|
44
|
-
var service = props.service, parentDirectory = props.parentDirectory;
|
|
44
|
+
var service = props.service, parentDirectory = props.parentDirectory, directoryRoot = props.directoryRoot;
|
|
45
45
|
var t = (0, react_i18next_1.useTranslation)().t;
|
|
46
46
|
var parentDirectoryId = (0, Router_1.useParams)().directoryId;
|
|
47
|
-
var _a = (0, react_1.useState)(
|
|
48
|
-
var _b = (0, react_1.useState)(false),
|
|
49
|
-
var _c = (0, react_1.useState)(
|
|
47
|
+
var _a = (0, react_1.useState)([]), directories = _a[0], setDirectories = _a[1];
|
|
48
|
+
var _b = (0, react_1.useState)(false), confirmExit = _b[0], setConfirmExit = _b[1];
|
|
49
|
+
var _c = (0, react_1.useState)(true), loading = _c[0], setloading = _c[1];
|
|
50
|
+
var _d = (0, react_1.useState)(false), isValid = _d[0], setValid = _d[1];
|
|
51
|
+
var _e = (0, react_1.useState)({
|
|
50
52
|
parentDirectoryId: parentDirectoryId,
|
|
51
53
|
description: '',
|
|
52
54
|
order: '0',
|
|
53
55
|
name: '',
|
|
54
56
|
parentDirectory: parentDirectory,
|
|
55
|
-
}), newDirectory =
|
|
57
|
+
}), newDirectory = _e[0], setNewDirectory = _e[1];
|
|
58
|
+
(0, react_1.useEffect)(function () {
|
|
59
|
+
fetchDirectories();
|
|
60
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
61
|
+
}, []);
|
|
62
|
+
var fetchDirectories = function () {
|
|
63
|
+
service
|
|
64
|
+
.directoriesGetByObjectTypeCode(directoryRoot)
|
|
65
|
+
.then(setDirectories)
|
|
66
|
+
.finally(function () { return setloading(false); });
|
|
67
|
+
};
|
|
56
68
|
var handleUpdate = (0, react_1.useCallback)(function (obj, valid, fieldUpdate) {
|
|
57
69
|
setConfirmExit(Boolean(fieldUpdate));
|
|
58
70
|
setValid(valid);
|
|
@@ -63,12 +75,17 @@ var CreateDirectory = function (props) {
|
|
|
63
75
|
.directoriesPost(newDirectory)
|
|
64
76
|
.then(function () { return ClassicDrawer_1.CloseAction.ReloadDirectory; });
|
|
65
77
|
};
|
|
66
|
-
return ((0, jsx_runtime_1.jsx)(ClassicDrawer_1.default, { title: t('DirectoryManagement.CreateDirectory'), onSubmit: handleSubmit, disableButtonSubmit: !isValid, confirmExit: confirmExit, childrenWrapperStyle: { padding: 0 }, children: (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, 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: [
|
|
67
79
|
{
|
|
68
|
-
fieldName: '
|
|
80
|
+
fieldName: 'parentDirectoryId',
|
|
81
|
+
type: 'select',
|
|
69
82
|
label: t('DirectoryManagement.ParentDirectory'),
|
|
70
|
-
|
|
71
|
-
|
|
83
|
+
required: true,
|
|
84
|
+
options: directories.map(function (directory) { return ({
|
|
85
|
+
value: directory.directoryId,
|
|
86
|
+
text: directory.name,
|
|
87
|
+
level: directory.level,
|
|
88
|
+
}); }),
|
|
72
89
|
},
|
|
73
90
|
{
|
|
74
91
|
fieldName: 'name',
|
|
@@ -91,6 +108,6 @@ var CreateDirectory = function (props) {
|
|
|
91
108
|
min: 0,
|
|
92
109
|
required: true,
|
|
93
110
|
},
|
|
94
|
-
], oldValue: newDirectory }) }));
|
|
111
|
+
], oldValue: newDirectory })) }));
|
|
95
112
|
};
|
|
96
113
|
exports.default = CreateDirectory;
|
|
@@ -20,8 +20,10 @@ var Save_1 = __importDefault(require("@mui/icons-material/Save"));
|
|
|
20
20
|
var LoadingButton_1 = __importDefault(require("@mui/lab/LoadingButton"));
|
|
21
21
|
var material_1 = require("@mui/material");
|
|
22
22
|
var react_i18next_1 = require("react-i18next");
|
|
23
|
-
var Router_1 = require("../../AWING/Router");
|
|
24
23
|
var i18n_1 = __importDefault(require("../../i18n"));
|
|
24
|
+
var react_1 = __importDefault(require("react"));
|
|
25
|
+
var usePath_1 = __importDefault(require("../../Commons/Hooks/usePath"));
|
|
26
|
+
var react_router_dom_1 = require("react-router-dom");
|
|
25
27
|
/**
|
|
26
28
|
* Drawer không trả về state
|
|
27
29
|
* @param{DrawerBaseProps} props
|
|
@@ -30,8 +32,10 @@ var i18n_1 = __importDefault(require("../../i18n"));
|
|
|
30
32
|
var DrawerBase = function (props) {
|
|
31
33
|
var _a;
|
|
32
34
|
var title = props.title, disableButtonSubmit = props.disableButtonSubmit, isLoadingButtonSubmit = props.isLoadingButtonSubmit, customAction = props.customAction, onSubmit = props.onSubmit, open = props.open, onClose = props.onClose, otherNodes = props.otherNodes, children = props.children, width = props.width, childrenWrapperStyle = props.childrenWrapperStyle;
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
+
var path = (0, usePath_1.default)();
|
|
36
|
+
var matchObj = react_1.default.useMemo(function () { return (0, react_router_dom_1.matchPath)({ path: path, end: true }, window.location.pathname); }, []);
|
|
37
|
+
// const match = path.startsWith(matchObj!.pattern.path) || matchObj!.pattern.path === path;
|
|
38
|
+
var match = true;
|
|
35
39
|
var t = (0, react_i18next_1.useTranslation)(undefined, { i18n: i18n_1.default }).t;
|
|
36
40
|
var handleSubmit = function () {
|
|
37
41
|
if (onSubmit) {
|
|
@@ -653,5 +653,58 @@
|
|
|
653
653
|
"Filter": {
|
|
654
654
|
"AllCampaign": "All Campaign",
|
|
655
655
|
"CampaignDefault": "Campaign Default"
|
|
656
|
+
},
|
|
657
|
+
"Notification": {
|
|
658
|
+
"TitleManagement": "Notification Management",
|
|
659
|
+
"TitleDetail": "Reciever detail",
|
|
660
|
+
"TitleAddReceiver": "Add User/Group User",
|
|
661
|
+
"TitleUserGroup": "User and Group user",
|
|
662
|
+
"ShowMore": "Show more notifications",
|
|
663
|
+
"Place": "Place",
|
|
664
|
+
"Domain": "Domain",
|
|
665
|
+
"Page": "Page",
|
|
666
|
+
"PageLogin": "Page login",
|
|
667
|
+
"PageWelcome": "Page welcome",
|
|
668
|
+
"of domain": "of domain",
|
|
669
|
+
"has": "has",
|
|
670
|
+
"has been": "has been",
|
|
671
|
+
"approved": "been approved to",
|
|
672
|
+
"send": "send",
|
|
673
|
+
"request": "request",
|
|
674
|
+
"rejected": "been rejected to",
|
|
675
|
+
"Campaign": "Campaign",
|
|
676
|
+
"created": "created",
|
|
677
|
+
"updated": "updated",
|
|
678
|
+
"deleted": "deleted",
|
|
679
|
+
"Title": "Notification",
|
|
680
|
+
"MarkAllAsRead": "Mark all as read",
|
|
681
|
+
"Configuration": "Notification configuration",
|
|
682
|
+
"ObjectType": "Object type",
|
|
683
|
+
"Event": "Event",
|
|
684
|
+
"Status": "Status",
|
|
685
|
+
"User/Group": "User/Group",
|
|
686
|
+
"TabAll": "All",
|
|
687
|
+
"TabUser": "User",
|
|
688
|
+
"TabGroupUser": "Group User",
|
|
689
|
+
"NotFound": "Not found",
|
|
690
|
+
"SearchPlaceHolderUserGroup": "User/Group user",
|
|
691
|
+
"EventObject": {
|
|
692
|
+
"Create": "Create",
|
|
693
|
+
"Update": "Update",
|
|
694
|
+
"Delete": "Delete",
|
|
695
|
+
"JoinRequest": "Request to join Network",
|
|
696
|
+
"JoinApprove": "Accept the request to join Network",
|
|
697
|
+
"JoinReject": "Reject the request to join Network",
|
|
698
|
+
"UnjoinRequest": "Request to unjoin Network",
|
|
699
|
+
"UnjoinApprove": "Accept the request to unjoin Network",
|
|
700
|
+
"UnjoinReject": "Reject the request to unjoin Network"
|
|
701
|
+
},
|
|
702
|
+
"StatusActive": "Active",
|
|
703
|
+
"StatusInactive": "Inactive",
|
|
704
|
+
"Filter": {
|
|
705
|
+
"All": "All",
|
|
706
|
+
"Campaign": "Campaign",
|
|
707
|
+
"Join/UnJoin Request": "Join/UnJoin Request"
|
|
708
|
+
}
|
|
656
709
|
}
|
|
657
710
|
}
|
|
@@ -655,5 +655,58 @@
|
|
|
655
655
|
"Filter": {
|
|
656
656
|
"AllCampaign": "Tất cả chiến dịch",
|
|
657
657
|
"CampaignDefault": "Chiến dịch mặc định"
|
|
658
|
+
},
|
|
659
|
+
"Notification": {
|
|
660
|
+
"TitleManagement": "Quản trị thông báo",
|
|
661
|
+
"TitleDetail": "Chi tiết người nhận thông báo",
|
|
662
|
+
"TitleAddReceiver": "Thêm người dùng/nhóm người dùng",
|
|
663
|
+
"TitleUserGroup": "Tài khoản và nhóm tài khoản",
|
|
664
|
+
"ShowMore": "Hiện thêm thông báo",
|
|
665
|
+
"Place": "Địa điểm",
|
|
666
|
+
"Domain": "Domain",
|
|
667
|
+
"Page": "Trang",
|
|
668
|
+
"PageLogin": "Trang login",
|
|
669
|
+
"PageWelcome": "Trang welcome",
|
|
670
|
+
"of domain": "thuộc domain",
|
|
671
|
+
"has": "đã",
|
|
672
|
+
"has been": "đã được",
|
|
673
|
+
"approved": "đồng ý",
|
|
674
|
+
"send": "gửi",
|
|
675
|
+
"request": "yêu cầu",
|
|
676
|
+
"rejected": "bị từ chối",
|
|
677
|
+
"Campaign": "Chiến dịch",
|
|
678
|
+
"created": "tạo",
|
|
679
|
+
"updated": "cập nhật",
|
|
680
|
+
"deleted": "bị xóa",
|
|
681
|
+
"Title": "Thông báo",
|
|
682
|
+
"MarkAllAsRead": "Đánh dấu tất cả là đã đọc",
|
|
683
|
+
"Configuration": "Cài đặt thông báo",
|
|
684
|
+
"ObjectType": "Loại đối tượng",
|
|
685
|
+
"Event": "Sự kiện",
|
|
686
|
+
"Status": "Trạng thái",
|
|
687
|
+
"User/Group": "Người dùng/Nhóm",
|
|
688
|
+
"TabAll": "Tất cả",
|
|
689
|
+
"TabUser": "Người dùng",
|
|
690
|
+
"TabGroupUser": "Nhóm người dùng",
|
|
691
|
+
"NotFound": "Không tồn tại",
|
|
692
|
+
"SearchPlaceHolderUserGroup": "Người dùng/Nhóm người dùng",
|
|
693
|
+
"EventObject": {
|
|
694
|
+
"Create": "Tạo mới",
|
|
695
|
+
"Update": "Cập nhật",
|
|
696
|
+
"Delete": "Xóa",
|
|
697
|
+
"JoinRequest": "Yêu cầu tham gia Network",
|
|
698
|
+
"JoinApprove": "Chấp nhận yêu cầu tham gia Network",
|
|
699
|
+
"JoinReject": "Từ chối yêu cầu tham gia Network",
|
|
700
|
+
"UnjoinRequest": "Yêu cầu rời khỏi Network",
|
|
701
|
+
"UnjoinApprove": "Chấp nhận yêu cầu rời khỏi Network",
|
|
702
|
+
"UnjoinReject": "Từ chối yêu cầu rời khỏi Network"
|
|
703
|
+
},
|
|
704
|
+
"StatusActive": "Có sử dụng",
|
|
705
|
+
"StatusInactive": "Chưa sử dụng",
|
|
706
|
+
"Filter": {
|
|
707
|
+
"All": "Tất cả",
|
|
708
|
+
"Campaign": "Campaign",
|
|
709
|
+
"Join/UnJoin Request": "Yêu cầu Join/Unjoin"
|
|
710
|
+
}
|
|
658
711
|
}
|
|
659
712
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "awing-library",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"@emotion/styled": "^11.11.0",
|
|
21
21
|
"@goongmaps/goong-geocoder-react": "^0.1.1",
|
|
22
22
|
"@goongmaps/goong-map-react": "^1.0.9",
|
|
23
|
+
"@microsoft/signalr": "^8.0.0",
|
|
23
24
|
"@monaco-editor/react": "^4.6.0",
|
|
24
25
|
"@mui/icons-material": "^5.14.14",
|
|
25
26
|
"@mui/lab": "5.0.0-alpha.149",
|