awing-library 2.1.110 → 2.1.111

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.
@@ -89,9 +89,18 @@ var TableRowMemo = react_1.default.memo(function (_a) {
89
89
  display: 'flex',
90
90
  flexWrap: 'wrap',
91
91
  gap: '8px',
92
- }, children: sub.ads.map(function (ad) { return ((0, jsx_runtime_1.jsx)(material_1.Chip, { label: ad.name }, ad.id)); }) }) }), subIndex === 0 && ((0, jsx_runtime_1.jsx)(material_1.TableCell, { rowSpan: link.campaign.length, children: (0, jsx_runtime_1.jsx)(material_1.FormControl, { sx: { m: 1, width: 300 }, children: (0, jsx_runtime_1.jsx)(material_1.Select, { value: selectStatus, onChange: function (e) {
92
+ }, children: sub.ads.map(function (ad) { return ((0, jsx_runtime_1.jsx)(material_1.Chip, { label: ad.name }, ad.id)); }) }) }), subIndex === 0 && ((0, jsx_runtime_1.jsx)(material_1.TableCell, { rowSpan: link.campaign.length, children: (0, jsx_runtime_1.jsx)(material_1.FormControl, { sx: { width: 150 }, children: (0, jsx_runtime_1.jsx)(material_1.Select, { value: selectStatus, onChange: function (e) {
93
93
  return handleStatusChange(e.target.value);
94
- }, children: optionsStatus.map(function (item) { return ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: item.value, children: item.label }, item.value)); }) }) }) })), subIndex === 0 && ((0, jsx_runtime_1.jsx)(material_1.TableCell, { rowSpan: link.campaign.length, children: (0, jsx_runtime_1.jsx)(material_1.TextField, { value: valueInput, onChange: handleInputChange }) }))] }, "".concat(row.id, "-").concat(linkIndex, "-").concat(subIndex)));
94
+ }, sx: {
95
+ '& .MuiSelect-select': {
96
+ paddingLeft: 'unset !important',
97
+ },
98
+ }, children: optionsStatus.map(function (item) { return ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: item.value, children: item.label }, item.value)); }) }) }) })), subIndex === 0 && ((0, jsx_runtime_1.jsx)(material_1.TableCell, { rowSpan: link.campaign.length, width: 200, children: (0, jsx_runtime_1.jsx)(material_1.TextField, { value: valueInput, onChange: handleInputChange, multiline: true, minRows: 2, maxRows: 5, fullWidth: true, sx: {
99
+ '& .MuiInputBase-root': {
100
+ minWidth: '150px',
101
+ paddingLeft: 'unset !important',
102
+ },
103
+ } }) }))] }, "".concat(row.id, "-").concat(linkIndex, "-").concat(subIndex)));
95
104
  });
96
105
  TableRowMemo.displayName = 'TableRowMemo';
97
106
  exports.default = TableRowMemo;
@@ -493,7 +493,7 @@
493
493
  "Title": "Status",
494
494
  "Status_0": "Active",
495
495
  "Status_1": "Inactive",
496
- "Draft": "Draft",
496
+ "Draft": "To Do",
497
497
  "Reserved": "Reserved",
498
498
  "Pending": "Under Approval",
499
499
  "Active": "Active",
@@ -529,7 +529,7 @@
529
529
  "SubCampaign": "Sub Campaign",
530
530
  "Status": "Status",
531
531
  "Note": "Note",
532
- "Draft": "Draft",
532
+ "Draft": "To Do",
533
533
  "PendingApproval": "Pending Approval",
534
534
  "Approval": "Approval",
535
535
  "Rejected": "Rejected",
@@ -509,7 +509,7 @@
509
509
  "GetApprovalInformation": "Lấy thông tin phê duyệt",
510
510
  "SendEmail": "Gửi Email",
511
511
  "Domain": "Domain",
512
- "LinkPreview": "Xem trước liên kết",
512
+ "LinkPreview": "Link Preview",
513
513
  "SubCampaign": "Chiến dịch con",
514
514
  "Status": "Trạng thái",
515
515
  "Note": "Ghi chú",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.110",
3
+ "version": "2.1.111",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",