mario-teacher-student-client 2.2.29-beta → 2.2.31-beta
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/dist/containers/ActionPoint/constants/function.d.ts +2 -0
- package/dist/containers/GoalPage/components/CreateGoalModel.d.ts +1 -1
- package/dist/containers/GoalPage/components/Steps/ModelPickTarget.d.ts +1 -1
- package/dist/containers/GoalPage/hook/useGoals.d.ts +2 -1
- package/dist/containers/GoalPage/types/types.d.ts +2 -0
- package/dist/index.css +11 -1
- package/dist/index.js +72 -22
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +72 -22
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IPropModelCreate } from "../types/types";
|
|
3
|
-
declare const CreateGoalModel: ({ open, onToggleModel, activeStep, handleChangeStep, goalFormCreate, handleChangeValueForm, handleReturnCategoryOptions, handleReturnNameOptions, handleReturnDetailOptions, handleReturnTargetOptions, handleRemoveTarget, handleCreateGoal }: IPropModelCreate) => JSX.Element;
|
|
3
|
+
declare const CreateGoalModel: ({ open, onToggleModel, activeStep, handleChangeStep, goalFormCreate, handleChangeValueForm, handleReturnCategoryOptions, handleReturnNameOptions, handleReturnDetailOptions, handleReturnTargetOptions, handleRemoveTarget, handleCreateGoal, handleAddTargetItem }: IPropModelCreate) => JSX.Element;
|
|
4
4
|
export default CreateGoalModel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IPickTarget } from "../../types/types";
|
|
3
|
-
declare const ModelPickTarget: ({ onChangeStep, onReturnTargetOptions, valueTargetOptions, onChangeValueForm, onRemoveTarget }: IPickTarget) => JSX.Element;
|
|
3
|
+
declare const ModelPickTarget: ({ onChangeStep, onReturnTargetOptions, valueTargetOptions, onChangeValueForm, onRemoveTarget, onAddTargetItem }: IPickTarget) => JSX.Element;
|
|
4
4
|
export default ModelPickTarget;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IGoal } from "../types/types";
|
|
2
2
|
declare const useGoals: () => {
|
|
3
3
|
activeStep: number;
|
|
4
|
-
handleChangeStep: (isBackStep?: boolean | undefined) => void;
|
|
4
|
+
handleChangeStep: (isBackStep?: boolean | undefined, isTarget?: boolean | undefined) => void;
|
|
5
5
|
handleBackPage: () => void;
|
|
6
6
|
openModelCreate: boolean;
|
|
7
7
|
handleToggleModelCreate: () => void;
|
|
@@ -15,5 +15,6 @@ declare const useGoals: () => {
|
|
|
15
15
|
handleCreateGoal: () => Promise<void>;
|
|
16
16
|
goalList: IGoal[];
|
|
17
17
|
getById: (goalId: number) => Promise<void>;
|
|
18
|
+
handleAddTargetItem: () => void;
|
|
18
19
|
};
|
|
19
20
|
export default useGoals;
|
|
@@ -50,6 +50,7 @@ export interface IPropModelCreate {
|
|
|
50
50
|
handleReturnTargetOptions: Function;
|
|
51
51
|
handleRemoveTarget: Function;
|
|
52
52
|
handleCreateGoal: Function;
|
|
53
|
+
handleAddTargetItem: Function;
|
|
53
54
|
}
|
|
54
55
|
export interface ISelectCategory {
|
|
55
56
|
onChangeStep: Function;
|
|
@@ -75,6 +76,7 @@ export interface IPickTarget {
|
|
|
75
76
|
valueTargetOptions: ITarget[];
|
|
76
77
|
onChangeValueForm: Function;
|
|
77
78
|
onRemoveTarget: Function;
|
|
79
|
+
onAddTargetItem: Function;
|
|
78
80
|
}
|
|
79
81
|
export interface IBaseLineModel {
|
|
80
82
|
onCreateGoal: Function;
|
package/dist/index.css
CHANGED
|
@@ -17599,7 +17599,8 @@ h2._1hrCT {
|
|
|
17599
17599
|
._z3uxc ._2fKtp {
|
|
17600
17600
|
width: 100%;
|
|
17601
17601
|
display: flex;
|
|
17602
|
-
justify-content: center;
|
|
17602
|
+
justify-content: center;
|
|
17603
|
+
justify-content: space-around; }
|
|
17603
17604
|
._z3uxc ._2fKtp ._1V9_B {
|
|
17604
17605
|
background: #336dda;
|
|
17605
17606
|
color: #ffffff;
|
|
@@ -17610,10 +17611,19 @@ h2._1hrCT {
|
|
|
17610
17611
|
background: #517fd5; }
|
|
17611
17612
|
._z3uxc ._2fKtp ._1V9_B:disabled {
|
|
17612
17613
|
background: #517fd5; }
|
|
17614
|
+
._z3uxc ._2fKtp ._1MjbD {
|
|
17615
|
+
background: rgba(102, 112, 128, 0.1);
|
|
17616
|
+
color: #667080;
|
|
17617
|
+
border-radius: 12px;
|
|
17618
|
+
margin-top: 20px;
|
|
17619
|
+
padding: 10px 15px; }
|
|
17613
17620
|
|
|
17614
17621
|
._3cjdO {
|
|
17615
17622
|
min-width: 250px; }
|
|
17616
17623
|
|
|
17624
|
+
._16r__ {
|
|
17625
|
+
min-width: 150px; }
|
|
17626
|
+
|
|
17617
17627
|
._2eP1A {
|
|
17618
17628
|
background-color: white;
|
|
17619
17629
|
border: solid 1px #cbd4c9;
|
package/dist/index.js
CHANGED
|
@@ -53479,7 +53479,7 @@ function SettingPage() {
|
|
|
53479
53479
|
className: "" + styles$A["title-activity"]
|
|
53480
53480
|
}, "In-App Notifications"), React__default.createElement(SwitchComponent, {
|
|
53481
53481
|
name: "isTurnOnAllNotification",
|
|
53482
|
-
title: "Turn
|
|
53482
|
+
title: "Turn on all notifications",
|
|
53483
53483
|
value: dataSwitchNotification.isTurnOnAllNotification,
|
|
53484
53484
|
onChange: function onChange(event) {
|
|
53485
53485
|
return handleToggleAllNotification(event.target.checked, true);
|
|
@@ -53510,7 +53510,7 @@ function SettingPage() {
|
|
|
53510
53510
|
className: "" + styles$A["title-activity"]
|
|
53511
53511
|
}, "Email Notifications"), React__default.createElement(SwitchComponent, {
|
|
53512
53512
|
name: "isTurnOnAllEmail",
|
|
53513
|
-
title: "Turn
|
|
53513
|
+
title: "Turn on all emails",
|
|
53514
53514
|
value: dataSwitchNotification.isTurnOnAllEmail,
|
|
53515
53515
|
onChange: function onChange(event) {
|
|
53516
53516
|
return handleToggleAllNotification(event.target.checked);
|
|
@@ -72039,8 +72039,16 @@ var useGoals$1 = function useGoals() {
|
|
|
72039
72039
|
history.push("/personal-learning-plan/" + studentId);
|
|
72040
72040
|
};
|
|
72041
72041
|
|
|
72042
|
-
var handleChangeStep = function handleChangeStep(isBackStep) {
|
|
72043
|
-
!isBackStep
|
|
72042
|
+
var handleChangeStep = function handleChangeStep(isBackStep, isTarget) {
|
|
72043
|
+
if (!isBackStep) {
|
|
72044
|
+
setActiveStep(activeStep + 1);
|
|
72045
|
+
|
|
72046
|
+
if (!!goalFormCreate.id) {
|
|
72047
|
+
!isTarget ? update(goalFormCreate.id, goalFormCreate) : createCheckPoint(goalFormCreate.id, goalFormCreate.checkPoints);
|
|
72048
|
+
}
|
|
72049
|
+
} else {
|
|
72050
|
+
setActiveStep(activeStep - 1);
|
|
72051
|
+
}
|
|
72044
72052
|
};
|
|
72045
72053
|
|
|
72046
72054
|
var handleToggleModelCreate = function handleToggleModelCreate() {
|
|
@@ -72071,6 +72079,14 @@ var useGoals$1 = function useGoals() {
|
|
|
72071
72079
|
}));
|
|
72072
72080
|
};
|
|
72073
72081
|
|
|
72082
|
+
var handleAddTargetItem = function handleAddTargetItem() {
|
|
72083
|
+
var targets = goalFormCreate.checkPoints;
|
|
72084
|
+
targets.push(initialTarget);
|
|
72085
|
+
setGoalFormCreate(_extends({}, goalFormCreate, {
|
|
72086
|
+
checkPoints: targets
|
|
72087
|
+
}));
|
|
72088
|
+
};
|
|
72089
|
+
|
|
72074
72090
|
var handleReturnCategoryOptions = function handleReturnCategoryOptions() {
|
|
72075
72091
|
return Object.keys(optionSelect) || [];
|
|
72076
72092
|
};
|
|
@@ -72157,7 +72173,15 @@ var useGoals$1 = function useGoals() {
|
|
|
72157
72173
|
dispatch(marioCore.setLoading(true));
|
|
72158
72174
|
|
|
72159
72175
|
var _temp12 = _catch(function () {
|
|
72160
|
-
return Promise.resolve(createCheckpoint$1(goalId, parseInt(studentId), targets
|
|
72176
|
+
return Promise.resolve(createCheckpoint$1(goalId, parseInt(studentId), targets.map(function (r) {
|
|
72177
|
+
var _r$text;
|
|
72178
|
+
|
|
72179
|
+
return _extends({}, r, {
|
|
72180
|
+
text: r === null || r === void 0 ? void 0 : (_r$text = r.text) === null || _r$text === void 0 ? void 0 : _r$text.trim()
|
|
72181
|
+
});
|
|
72182
|
+
}).filter(function (r) {
|
|
72183
|
+
return r.text && r.endTime && r.time && r.status;
|
|
72184
|
+
}))).then(function () {});
|
|
72161
72185
|
}, function (err) {
|
|
72162
72186
|
var _err$response3, _err$response3$data;
|
|
72163
72187
|
|
|
@@ -72176,7 +72200,15 @@ var useGoals$1 = function useGoals() {
|
|
|
72176
72200
|
var update = React.useCallback(function (goalId, data) {
|
|
72177
72201
|
try {
|
|
72178
72202
|
var _temp14 = _catch(function () {
|
|
72179
|
-
|
|
72203
|
+
var _data$baseLineChecked, _data$category, _data$detail, _data$name;
|
|
72204
|
+
|
|
72205
|
+
return Promise.resolve(updateItem$2(goalId, parseInt(studentId), _extends({}, data, {
|
|
72206
|
+
studentId: parseInt(studentId),
|
|
72207
|
+
baseLineChecked: data === null || data === void 0 ? void 0 : (_data$baseLineChecked = data.baseLineChecked) === null || _data$baseLineChecked === void 0 ? void 0 : _data$baseLineChecked.trim(),
|
|
72208
|
+
category: data === null || data === void 0 ? void 0 : (_data$category = data.category) === null || _data$category === void 0 ? void 0 : _data$category.trim(),
|
|
72209
|
+
detail: data === null || data === void 0 ? void 0 : (_data$detail = data.detail) === null || _data$detail === void 0 ? void 0 : _data$detail.trim(),
|
|
72210
|
+
name: data === null || data === void 0 ? void 0 : (_data$name = data.name) === null || _data$name === void 0 ? void 0 : _data$name.trim()
|
|
72211
|
+
}))).then(function () {});
|
|
72180
72212
|
}, function (err) {
|
|
72181
72213
|
var _err$response4, _err$response4$data;
|
|
72182
72214
|
|
|
@@ -72210,8 +72242,14 @@ var useGoals$1 = function useGoals() {
|
|
|
72210
72242
|
|
|
72211
72243
|
var _temp16 = function () {
|
|
72212
72244
|
if (!goalFormCreate.id) {
|
|
72245
|
+
var _goalFormCreate$baseL, _goalFormCreate$categ, _goalFormCreate$detai, _goalFormCreate$name;
|
|
72246
|
+
|
|
72213
72247
|
return Promise.resolve(createItem$2(_extends({}, goalFormCreate, {
|
|
72214
|
-
studentId: parseInt(studentId)
|
|
72248
|
+
studentId: parseInt(studentId),
|
|
72249
|
+
baseLineChecked: goalFormCreate === null || goalFormCreate === void 0 ? void 0 : (_goalFormCreate$baseL = goalFormCreate.baseLineChecked) === null || _goalFormCreate$baseL === void 0 ? void 0 : _goalFormCreate$baseL.trim(),
|
|
72250
|
+
category: goalFormCreate === null || goalFormCreate === void 0 ? void 0 : (_goalFormCreate$categ = goalFormCreate.category) === null || _goalFormCreate$categ === void 0 ? void 0 : _goalFormCreate$categ.trim(),
|
|
72251
|
+
detail: goalFormCreate === null || goalFormCreate === void 0 ? void 0 : (_goalFormCreate$detai = goalFormCreate.detail) === null || _goalFormCreate$detai === void 0 ? void 0 : _goalFormCreate$detai.trim(),
|
|
72252
|
+
name: goalFormCreate === null || goalFormCreate === void 0 ? void 0 : (_goalFormCreate$name = goalFormCreate.name) === null || _goalFormCreate$name === void 0 ? void 0 : _goalFormCreate$name.trim()
|
|
72215
72253
|
}))).then(function (res) {
|
|
72216
72254
|
var _temp15 = function () {
|
|
72217
72255
|
if (!!res.data) {
|
|
@@ -72245,13 +72283,13 @@ var useGoals$1 = function useGoals() {
|
|
|
72245
72283
|
}, [goalFormCreate]);
|
|
72246
72284
|
React.useEffect(function () {
|
|
72247
72285
|
if (!openModelCreate) {
|
|
72248
|
-
setGoalFormCreate(initialGoalModel
|
|
72286
|
+
setGoalFormCreate(_extends({}, initialGoalModel, {
|
|
72287
|
+
checkPoints: [initialTarget, initialTarget, initialTarget, initialTarget]
|
|
72288
|
+
}));
|
|
72249
72289
|
setActiveStep(1);
|
|
72290
|
+
getAll();
|
|
72250
72291
|
}
|
|
72251
72292
|
}, [openModelCreate]);
|
|
72252
|
-
React.useEffect(function () {
|
|
72253
|
-
getAll();
|
|
72254
|
-
}, []);
|
|
72255
72293
|
return {
|
|
72256
72294
|
activeStep: activeStep,
|
|
72257
72295
|
handleChangeStep: handleChangeStep,
|
|
@@ -72267,11 +72305,12 @@ var useGoals$1 = function useGoals() {
|
|
|
72267
72305
|
handleRemoveTarget: handleRemoveTarget,
|
|
72268
72306
|
handleCreateGoal: handleCreateGoal,
|
|
72269
72307
|
goalList: goalList,
|
|
72270
|
-
getById: getById
|
|
72308
|
+
getById: getById,
|
|
72309
|
+
handleAddTargetItem: handleAddTargetItem
|
|
72271
72310
|
};
|
|
72272
72311
|
};
|
|
72273
72312
|
|
|
72274
|
-
var goalPage = {"icon-header":"_YAtNC","cancel-button":"_3bYIU","item-between":"_3huiX","ml-10":"_1Y18n","block-goal":"_1ShQw","container-goal-page":"_jw03r","pointer":"_ZK47B","block-filter":"_3xa3T","select-filter":"_1SlBm","box-goal-item":"_2fvMj","header-item":"_2bu5G","header-item-title":"_3xEHS","title":"_FnPu2","header-button":"_2xAED","header-button-title":"_pOjtL","header-button-icon":"_3Gyut","baseline-item":"_1uv1z","baseline-title":"_1T5lR","box-target":"_93zyw","target-item":"_ogLm4","target-item-title":"_2d5aK","target-item-description":"_3VgfO","target-item-time":"_1y0M2","target-item-box-status":"_3a_lC","target-item-note":"_2qlsz","model-create-goal":"_38RlV","box-content-model":"_1USJi","box-target-content":"_2CG2W","date-range":"_ECsZO","target-count":"_1cgKE","box-step":"_z3uxc","title-step":"_Hz1Wh","title-detail":"_dUniv","description-step":"_3qnsc","box-action":"_2fKtp","button-action":"_1V9_B","select-option":"_3cjdO","input-date-icon":"_2eP1A","date-placeholder":"_2bO1b","box-status-target":"_17V8C","status":"_3U6IZ","completed":"_3D2OE","inprogress":"_1LPjK","notyetstarted":"_2r1u0","ontrack":"_2_vqN"};
|
|
72313
|
+
var goalPage = {"icon-header":"_YAtNC","cancel-button":"_3bYIU","item-between":"_3huiX","ml-10":"_1Y18n","block-goal":"_1ShQw","container-goal-page":"_jw03r","pointer":"_ZK47B","block-filter":"_3xa3T","select-filter":"_1SlBm","box-goal-item":"_2fvMj","header-item":"_2bu5G","header-item-title":"_3xEHS","title":"_FnPu2","header-button":"_2xAED","header-button-title":"_pOjtL","header-button-icon":"_3Gyut","baseline-item":"_1uv1z","baseline-title":"_1T5lR","box-target":"_93zyw","target-item":"_ogLm4","target-item-title":"_2d5aK","target-item-description":"_3VgfO","target-item-time":"_1y0M2","target-item-box-status":"_3a_lC","target-item-note":"_2qlsz","model-create-goal":"_38RlV","box-content-model":"_1USJi","box-target-content":"_2CG2W","date-range":"_ECsZO","target-count":"_1cgKE","box-step":"_z3uxc","title-step":"_Hz1Wh","title-detail":"_dUniv","description-step":"_3qnsc","box-action":"_2fKtp","button-action":"_1V9_B","button-add-grey":"_1MjbD","select-option":"_3cjdO","select-status":"_16r__","input-date-icon":"_2eP1A","date-placeholder":"_2bO1b","box-status-target":"_17V8C","status":"_3U6IZ","completed":"_3D2OE","inprogress":"_1LPjK","notyetstarted":"_2r1u0","ontrack":"_2_vqN"};
|
|
72275
72314
|
|
|
72276
72315
|
var FilterGoalPage = function FilterGoalPage() {
|
|
72277
72316
|
return React__default.createElement(core.Grid, {
|
|
@@ -72470,6 +72509,7 @@ var ChooseArea = function ChooseArea(_ref) {
|
|
|
72470
72509
|
})), React__default.createElement(core.Grid, {
|
|
72471
72510
|
className: "" + goalPage["box-action"]
|
|
72472
72511
|
}, React__default.createElement(core.Button, {
|
|
72512
|
+
disabled: !valueName,
|
|
72473
72513
|
className: "" + goalPage["button-action"],
|
|
72474
72514
|
onClick: function onClick() {
|
|
72475
72515
|
return onChangeStep();
|
|
@@ -72517,6 +72557,7 @@ var DetailFormCreate = function DetailFormCreate(_ref) {
|
|
|
72517
72557
|
})), React__default.createElement(core.Grid, {
|
|
72518
72558
|
className: "" + goalPage["box-action"]
|
|
72519
72559
|
}, React__default.createElement(core.Button, {
|
|
72560
|
+
disabled: !valueDetail,
|
|
72520
72561
|
className: "" + goalPage["button-action"],
|
|
72521
72562
|
onClick: function onClick() {
|
|
72522
72563
|
return onChangeStep();
|
|
@@ -72552,7 +72593,8 @@ var ModelPickTarget = function ModelPickTarget(_ref) {
|
|
|
72552
72593
|
onReturnTargetOptions = _ref.onReturnTargetOptions,
|
|
72553
72594
|
valueTargetOptions = _ref.valueTargetOptions,
|
|
72554
72595
|
onChangeValueForm = _ref.onChangeValueForm,
|
|
72555
|
-
onRemoveTarget = _ref.onRemoveTarget
|
|
72596
|
+
onRemoveTarget = _ref.onRemoveTarget,
|
|
72597
|
+
onAddTargetItem = _ref.onAddTargetItem;
|
|
72556
72598
|
return React__default.createElement(core.Grid, {
|
|
72557
72599
|
className: "" + goalPage["box-step"]
|
|
72558
72600
|
}, React__default.createElement(core.Typography, {
|
|
@@ -72604,14 +72646,13 @@ var ModelPickTarget = function ModelPickTarget(_ref) {
|
|
|
72604
72646
|
customInput: React__default.createElement(CustomInputDatePicker, null),
|
|
72605
72647
|
placeholderText: "day-month-year"
|
|
72606
72648
|
})), React__default.createElement(lab.Autocomplete, {
|
|
72607
|
-
freeSolo: true,
|
|
72608
72649
|
id: "combo-box-demo",
|
|
72609
72650
|
value: target.status,
|
|
72610
72651
|
options: optionStatusTarget,
|
|
72611
72652
|
getOptionLabel: function getOptionLabel(option) {
|
|
72612
72653
|
return option;
|
|
72613
72654
|
},
|
|
72614
|
-
className: goalPage["select-
|
|
72655
|
+
className: goalPage["select-status"] + " " + goalPage["ml-10"],
|
|
72615
72656
|
onChange: function onChange(_e, value) {
|
|
72616
72657
|
return onChangeValueForm(value, "checkPoints", index, "status");
|
|
72617
72658
|
},
|
|
@@ -72628,12 +72669,17 @@ var ModelPickTarget = function ModelPickTarget(_ref) {
|
|
|
72628
72669
|
}));
|
|
72629
72670
|
})), React__default.createElement(core.Grid, {
|
|
72630
72671
|
className: "" + goalPage["box-action"]
|
|
72631
|
-
}, React__default.createElement(core.Button, {
|
|
72672
|
+
}, React__default.createElement(core.Grid, null), React__default.createElement(core.Button, {
|
|
72632
72673
|
className: "" + goalPage["button-action"],
|
|
72633
72674
|
onClick: function onClick() {
|
|
72634
|
-
return onChangeStep();
|
|
72675
|
+
return onChangeStep(false, true);
|
|
72635
72676
|
}
|
|
72636
|
-
}, "Keep going!")
|
|
72677
|
+
}, "Keep going!"), React__default.createElement(core.Button, {
|
|
72678
|
+
className: "" + goalPage["button-add-grey"],
|
|
72679
|
+
onClick: function onClick() {
|
|
72680
|
+
return onAddTargetItem();
|
|
72681
|
+
}
|
|
72682
|
+
}, React__default.createElement(AddIcon, null), "Add target")));
|
|
72637
72683
|
};
|
|
72638
72684
|
|
|
72639
72685
|
var BaseLine = function BaseLine(_ref) {
|
|
@@ -72678,7 +72724,8 @@ var CreateGoalModel = function CreateGoalModel(_ref) {
|
|
|
72678
72724
|
handleReturnDetailOptions = _ref.handleReturnDetailOptions,
|
|
72679
72725
|
handleReturnTargetOptions = _ref.handleReturnTargetOptions,
|
|
72680
72726
|
handleRemoveTarget = _ref.handleRemoveTarget,
|
|
72681
|
-
handleCreateGoal = _ref.handleCreateGoal
|
|
72727
|
+
handleCreateGoal = _ref.handleCreateGoal,
|
|
72728
|
+
handleAddTargetItem = _ref.handleAddTargetItem;
|
|
72682
72729
|
return React__default.createElement(core.Dialog, {
|
|
72683
72730
|
open: open,
|
|
72684
72731
|
maxWidth: "xl"
|
|
@@ -72726,7 +72773,8 @@ var CreateGoalModel = function CreateGoalModel(_ref) {
|
|
|
72726
72773
|
valueTargetOptions: goalFormCreate.checkPoints,
|
|
72727
72774
|
onReturnTargetOptions: handleReturnTargetOptions,
|
|
72728
72775
|
onChangeValueForm: handleChangeValueForm,
|
|
72729
|
-
onRemoveTarget: handleRemoveTarget
|
|
72776
|
+
onRemoveTarget: handleRemoveTarget,
|
|
72777
|
+
onAddTargetItem: handleAddTargetItem
|
|
72730
72778
|
})), React__default.createElement(core.Grid, {
|
|
72731
72779
|
hidden: activeStep !== 5
|
|
72732
72780
|
}, React__default.createElement(BaseLine, {
|
|
@@ -72751,6 +72799,7 @@ var MyGoals = function MyGoals() {
|
|
|
72751
72799
|
handleReturnTargetOptions = _useGoals.handleReturnTargetOptions,
|
|
72752
72800
|
handleRemoveTarget = _useGoals.handleRemoveTarget,
|
|
72753
72801
|
handleCreateGoal = _useGoals.handleCreateGoal,
|
|
72802
|
+
handleAddTargetItem = _useGoals.handleAddTargetItem,
|
|
72754
72803
|
goalList = _useGoals.goalList,
|
|
72755
72804
|
getById = _useGoals.getById;
|
|
72756
72805
|
|
|
@@ -72777,7 +72826,8 @@ var MyGoals = function MyGoals() {
|
|
|
72777
72826
|
handleReturnDetailOptions: handleReturnDetailOptions,
|
|
72778
72827
|
handleReturnTargetOptions: handleReturnTargetOptions,
|
|
72779
72828
|
handleRemoveTarget: handleRemoveTarget,
|
|
72780
|
-
handleCreateGoal: handleCreateGoal
|
|
72829
|
+
handleCreateGoal: handleCreateGoal,
|
|
72830
|
+
handleAddTargetItem: handleAddTargetItem
|
|
72781
72831
|
}), React__default.createElement(core.Grid, {
|
|
72782
72832
|
className: "" + goalPage["container-goal-page"]
|
|
72783
72833
|
}, React__default.createElement(FilterGoalPage, null), goalList.map(function (goal) {
|