awing-library 2.1.215-dev → 2.1.216-dev
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/CreateOrEdit/TabApprove/RowTable.d.ts +7 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/RowTable.js +61 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/RowTable.test.d.ts +1 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/RowTable.test.js +89 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/index.d.ts +12 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/index.js +158 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/index.test.d.ts +1 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/TabApprove/index.test.js +2703 -0
- package/lib/ACM-AXN/Campaign/CreateOrEdit/index.js +6 -0
- package/lib/ACM-AXN/Common/Constant.d.ts +1 -0
- package/lib/ACM-AXN/Common/Constant.js +1 -0
- package/lib/translate/en/translation.json +11 -1
- package/lib/translate/vi/translation.json +11 -1
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ var Wrapper_1 = __importDefault(require("../../../AWING/HOC/Wrapper"));
|
|
|
61
61
|
var TabStatistic_1 = __importDefault(require("./TabStatistic"));
|
|
62
62
|
var Enum_2 = require("../../../ACM-AXN/Common/Enum");
|
|
63
63
|
var Context_1 = require("../../../Context");
|
|
64
|
+
var TabApprove_1 = __importDefault(require("./TabApprove"));
|
|
64
65
|
var route = [
|
|
65
66
|
Constant_1.Constants.CAMPAIGN_INFORMATION,
|
|
66
67
|
Constant_1.Constants.CAMPAIGN_SUBCAMPAIGN,
|
|
@@ -168,6 +169,11 @@ var CreateOrEdit = function (props) {
|
|
|
168
169
|
};
|
|
169
170
|
var tabsList = (0, react_1.useMemo)(function () {
|
|
170
171
|
return __spreadArray(__spreadArray([], getTabs(), true), [
|
|
172
|
+
{
|
|
173
|
+
label: t('Campaign.Approval.Title'),
|
|
174
|
+
isShow: Boolean(service.attributesGetByObjectTypeCode),
|
|
175
|
+
component: (0, jsx_runtime_1.jsx)(TabApprove_1.default, {}),
|
|
176
|
+
},
|
|
171
177
|
{
|
|
172
178
|
label: t('Campaign.Statistic'),
|
|
173
179
|
isShow: componentStatus === Constant_1.Constants.CAMPAIGN_DETAIL,
|
|
@@ -71,6 +71,7 @@ exports.Constants = {
|
|
|
71
71
|
CAMPAIGN_STATISTICS: 'Statistics',
|
|
72
72
|
CAMPAIGN_CONNECT: 'Connect',
|
|
73
73
|
CAMPAIGN_PERMISSION: 'Permission',
|
|
74
|
+
CAMPAIGN_APPROVE: 'Approve',
|
|
74
75
|
CAPTIVE_DOMAIN: window.REACT_APP_CAPTIVE_DOMAIN,
|
|
75
76
|
CAMPAIGN_PREVIEW: 'Preview/Campaign',
|
|
76
77
|
DOMAIN_PREVIEW: 'Preview/Domain',
|
|
@@ -514,7 +514,17 @@
|
|
|
514
514
|
"Click": "Click"
|
|
515
515
|
},
|
|
516
516
|
"Wizard": "Wizard",
|
|
517
|
-
"SwitchToProfessionalEditMode": "You are switching to the Advanced Settings interface to keep editing your campaign.\nImportant: Selecting \"Agree\" will prevent you from returning to the Quick Campaign interface. Would you like to continue?"
|
|
517
|
+
"SwitchToProfessionalEditMode": "You are switching to the Advanced Settings interface to keep editing your campaign.\nImportant: Selecting \"Agree\" will prevent you from returning to the Quick Campaign interface. Would you like to continue?",
|
|
518
|
+
"Approval": {
|
|
519
|
+
"Title": "Approval",
|
|
520
|
+
"GetApprovalInformation": "Get Approval Information",
|
|
521
|
+
"SendEmail": "Send Email",
|
|
522
|
+
"Domain": "Domain",
|
|
523
|
+
"LinkPreview": "Link Preview",
|
|
524
|
+
"SubCampaign": "Sub Campaign",
|
|
525
|
+
"Status": "Status",
|
|
526
|
+
"Note": "Note"
|
|
527
|
+
}
|
|
518
528
|
},
|
|
519
529
|
"DirectoryManagement": {
|
|
520
530
|
"DirectoryName": "Directory Name",
|
|
@@ -498,7 +498,17 @@
|
|
|
498
498
|
"Click": "Click"
|
|
499
499
|
},
|
|
500
500
|
"Wizard": "Wizard",
|
|
501
|
-
"SwitchToProfessionalEditMode": "Bạn đang chuyển sang Giao diện Nâng cao để tiếp tục Chỉnh sửa Chiến dịch. \nLưu ý: Nếu chọn \"Đồng ý\", bạn sẽ không thể quay lại Giao diện \"Tạo nhanh chiến dịch\" hiện tại."
|
|
501
|
+
"SwitchToProfessionalEditMode": "Bạn đang chuyển sang Giao diện Nâng cao để tiếp tục Chỉnh sửa Chiến dịch. \nLưu ý: Nếu chọn \"Đồng ý\", bạn sẽ không thể quay lại Giao diện \"Tạo nhanh chiến dịch\" hiện tại.",
|
|
502
|
+
"Approval": {
|
|
503
|
+
"Title": "Phê duyệt",
|
|
504
|
+
"GetApprovalInformation": "Lấy thông tin phê duyệt",
|
|
505
|
+
"SendEmail": "Gửi Email",
|
|
506
|
+
"Domain": "Domain",
|
|
507
|
+
"LinkPreview": "Link Preview",
|
|
508
|
+
"SubCampaign": "Sub Campaign",
|
|
509
|
+
"Status": "Trạng thái",
|
|
510
|
+
"Note": "Ghi chú"
|
|
511
|
+
}
|
|
502
512
|
},
|
|
503
513
|
"TemplateManagement": {
|
|
504
514
|
"Create": "Tạo mới template",
|