awing-library 2.1.2-stable.6 → 2.1.2-stable.8

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.
@@ -56,7 +56,7 @@ var TrackingCode = function () {
56
56
  setCommonHtml(html);
57
57
  setTrackingCode({ code: '', type: '' });
58
58
  };
59
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, sx: { pt: 2 }, spacing: 2, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 5, children: (0, jsx_runtime_1.jsx)(material_1.TextField, { variant: "standard", label: "Tracking code", fullWidth: true, name: "code", value: trackingCode.code, onChange: handleChangeTracking, error: !validTracking.code, helperText: !validTracking.code
59
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, sx: { pt: 2 }, spacing: 2, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 5, children: (0, jsx_runtime_1.jsx)(material_1.TextField, { variant: "standard", label: t('Page.TrackingCode'), fullWidth: true, name: "code", value: trackingCode.code, onChange: handleChangeTracking, error: !validTracking.code, helperText: !validTracking.code
60
60
  ? t('Page.TrackingCodeValid')
61
61
  : '' }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, children: (0, jsx_runtime_1.jsx)(material_1.TextField, { select: true, fullWidth: true, label: t('Page.TypeTrackingCode'), name: "type", value: trackingCode.type, id: "directoryId", onChange: handleChangeTracking, variant: "standard", error: !validTracking.type, helperText: !validTracking.type
62
62
  ? t('Page.TypeTrackingCodeValid')
@@ -105,7 +105,7 @@ var DataTable = function (props) {
105
105
  : row[headCellItem
106
106
  .id] }));
107
107
  }) }));
108
- })) })) : ((0, jsx_runtime_1.jsx)(NoDataTable_1.default, { colSpan: (headCells === null || headCells === void 0 ? void 0 : headCells.length) + 1 }))] }), rowsData && (rowsData === null || rowsData === void 0 ? void 0 : rowsData.length) > 0 && isPagination && ((0, jsx_runtime_1.jsx)(material_1.TablePagination, { rowsPerPageOptions: [
108
+ })) })) : ((0, jsx_runtime_1.jsx)(NoDataTable_1.default, { colSpan: (headCells === null || headCells === void 0 ? void 0 : headCells.length) + 1 }))] }), rowsData && (rowsData === null || rowsData === void 0 ? void 0 : rowsData.length) > 0 && isPagination && ((0, jsx_runtime_1.jsx)(AWING_1.Pagination, { rowsPerPageOptions: [
109
109
  AWING_1.PAGE_SIZE_DEFAULT,
110
110
  AWING_1.PAGE_SIZE_DEFAULT + 10,
111
111
  AWING_1.PAGE_SIZE_DEFAULT + 20,
@@ -145,7 +145,7 @@ var CreateOrEdit = function () {
145
145
  ? { cronTime: '* * * * *' }
146
146
  : { triggerTopic: '', triggerEvent: '' }))); });
147
147
  };
148
- return ((0, jsx_runtime_1.jsx)(ClassicDrawer_1.default, { title: t("Common.".concat(taskId ? 'Edit' : 'Create')), onSubmit: handleSubmit, disableButtonSubmit: !enableSubmit, confirmExit: confirmExit, childrenWrapperStyle: { padding: function (theme) { return theme.spacing(3); } }, children: loading ? ((0, jsx_runtime_1.jsx)(AWING_1.CircularProgress, {})) : ((0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, component: material_1.Paper, sx: { p: 2 }, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { name: "name", label: t('Common.Name'), fullWidth: true, variant: "standard", checkValid: validation_1.textValidation, value: jobModel.name, onChange: handleChange }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, style: { marginTop: '20px', marginBottom: '20px' }, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, style: { paddingRight: '10px' }, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { fullWidth: true, select: true, required: false, name: "jobType", variant: "standard", label: t('TaskScheduler.JobType'), onChange: handleChangeJobType, value: jobModel.jobType, children: Utils_1.JobTypes.map(function (item) { return ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: item.name, children: item.name }, item.name)); }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 8, children: (0, jsx_runtime_1.jsx)(material_1.Box, { component: JobInput[jobModel.jobType], jobModel: jobModel, handleChange: handleChange }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, style: { paddingRight: '10px' }, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { fullWidth: true, select: true, name: "jobAction", label: t('TaskScheduler.JobAction'),
148
+ return ((0, jsx_runtime_1.jsx)(ClassicDrawer_1.default, { title: t("Common.".concat(taskId ? 'Edit' : 'Create')), onSubmit: handleSubmit, disableButtonSubmit: !enableSubmit, confirmExit: confirmExit, childrenWrapperStyle: { padding: function (theme) { return theme.spacing(3); } }, children: loading ? ((0, jsx_runtime_1.jsx)(AWING_1.CircularProgress, {})) : ((0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, component: material_1.Paper, sx: { p: 2 }, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { name: "name", label: t('Common.Name'), fullWidth: true, variant: "standard", checkValid: validation_1.textValidation, value: jobModel.name, onChange: handleChange }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, style: { marginTop: '20px', marginBottom: '20px' }, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, style: { paddingRight: '10px' }, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { fullWidth: true, select: true, required: false, name: "jobType", variant: "standard", label: t('TaskScheduler.JobType'), onChange: handleChangeJobType, value: jobModel.jobType, children: Utils_1.JobTypes.map(function (item) { return ((0, jsx_runtime_1.jsx)(material_1.MenuItem, { value: item.name, children: t("TaskScheduler.JobType.".concat(item.name)) }, item.name)); }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 8, children: (0, jsx_runtime_1.jsx)(material_1.Box, { component: JobInput[jobModel.jobType], jobModel: jobModel, handleChange: handleChange }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, style: { paddingRight: '10px' }, children: (0, jsx_runtime_1.jsx)(BasicInput_1.default, { fullWidth: true, select: true, name: "jobAction", label: t('TaskScheduler.JobAction'),
149
149
  // isError={Boolean(jobValid?.jobActionValid)}
150
150
  onChange: function (_k, name) {
151
151
  handleJobActionChange(jobActions.filter(function (x) { return x.name === name; })[0]);
@@ -719,6 +719,10 @@
719
719
  "TriggerEvent": "Trigger event",
720
720
  "InputParameters": "Input parameters",
721
721
  "Authenticator": "Authenticator",
722
+ "Type": {
723
+ "Cron": "Cron",
724
+ "Trigger": "Trigger"
725
+ },
722
726
  "Help": {
723
727
  "Crontime": "Cron time",
724
728
  "*": "Any value",
@@ -719,6 +719,10 @@
719
719
  "TriggerEvent": "Peristiwa pemicu",
720
720
  "InputParameters": "Parameter input",
721
721
  "Authenticator": "Authenticator",
722
+ "Type": {
723
+ "Cron": "Cron",
724
+ "Trigger": "Trigger"
725
+ },
722
726
  "Help": {
723
727
  "Crontime": "Waktu Cron",
724
728
  "*": "Nilai apa saja",
@@ -228,7 +228,7 @@
228
228
  "Schedule": {
229
229
  "Place": "場所",
230
230
  "Time": "時間",
231
- "Estimate": "推定",
231
+ "Estimate": "概算",
232
232
  "Reality": "実績",
233
233
  "Domain": "ドメイン",
234
234
  "Campaign": "キャンペーン",
@@ -355,7 +355,7 @@
355
355
  "BonusHelperText": "ボーナスの金額は0以上でなければなりません。",
356
356
  "Domain": "ドメイン",
357
357
  "Place": "場所",
358
- "PlaceGroup": "場所グループ",
358
+ "PlaceGroup": "ロケーショングループ",
359
359
  "DeletedPlaceGroup": "削除された場所グループ",
360
360
  "NumberHasRunText": "配信済み",
361
361
  "PlaceHasDeleteText": "削除された場所",
@@ -719,8 +719,12 @@
719
719
  "TriggerEvent": "トリガーイベント",
720
720
  "InputParameters": "入力パラメータ",
721
721
  "Authenticator": "認証者",
722
+ "Type": {
723
+ "Cron": "クローン",
724
+ "Trigger": "トリガー"
725
+ },
722
726
  "Help": {
723
- "Crontime": "Cron時間",
727
+ "Crontime": "クローン時間",
724
728
  "*": "任意の値",
725
729
  ",": "値リストの区切り",
726
730
  "-": "値の範囲",
@@ -732,7 +736,7 @@
732
736
  "Title": "キャンペーン完了率",
733
737
  "CampaignName": "キャンペーン",
734
738
  "Group": "サブキャンペーン",
735
- "Estimate": "推定",
739
+ "Estimate": "概算",
736
740
  "Reality": "実績",
737
741
  "CompletionRate": "完了率",
738
742
  "ASC": "低い順",
@@ -719,6 +719,10 @@
719
719
  "TriggerEvent": "Kaganapan ng trigger",
720
720
  "InputParameters": "Mga input na parameter",
721
721
  "Authenticator": "Authenticator",
722
+ "Type": {
723
+ "Cron": "Cron",
724
+ "Trigger": "Trigger"
725
+ },
722
726
  "Help": {
723
727
  "Crontime": "Cron time",
724
728
  "*": "Anumang halaga",
@@ -719,6 +719,10 @@
719
719
  "TriggerEvent": "เหตุการณ์ทริกเกอร์",
720
720
  "InputParameters": "พารามิเตอร์อินพุต",
721
721
  "Authenticator": "ผู้ตรวจสอบสิทธิ์",
722
+ "Type": {
723
+ "Cron": "Cron",
724
+ "Trigger": "Trigger"
725
+ },
722
726
  "Help": {
723
727
  "Crontime": "เวลา Cron",
724
728
  "*": "ค่าทุกค่า",
@@ -723,6 +723,10 @@
723
723
  "TriggerEvent": "Sự kiện",
724
724
  "InputParameters": "Tham số",
725
725
  "Authenticator": "Tài khoản xác thực",
726
+ "Type": {
727
+ "Cron": "Cron",
728
+ "Trigger": "Trigger"
729
+ },
726
730
  "Help": {
727
731
  "Crontime": "Thời gian định kỳ",
728
732
  "*": "Tất cả",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.2-stable.6",
3
+ "version": "2.1.2-stable.8",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",