awing-library 2.1.2-stable.7 → 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.
@@ -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",
@@ -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
  "-": "値の範囲",
@@ -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.7",
3
+ "version": "2.1.2-stable.8",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",