@voplus/morpho-workspace 6.0.54 → 6.0.55
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/tasks/components/TaskCheckList/index.js +2 -2
- package/es/modules/tasks/components/TaskCheckList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/index.js +7 -6
- package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/state.d.ts +2 -10
- package/es/modules/tasks/components/TaskCheckNewForm/state.js +8 -9
- package/es/modules/tasks/components/TaskCheckNewForm/state.js.map +1 -1
- package/package.json +1 -1
@@ -62,9 +62,9 @@ const TaskCheckList = (props) => {
|
|
62
62
|
React.createElement(TaskCheckDoneTab, { parentId: props.id, taskCheckState: state }))),
|
63
63
|
},
|
64
64
|
] }),
|
65
|
-
state.addAble && (React.createElement(TaskCheckNewForm, { parentId: props.id, onCancel: () => (state.addAble = false)
|
65
|
+
state.addAble && (React.createElement(TaskCheckNewForm, { parentId: props.id, onCancel: () => (state.addAble = false) }))))));
|
66
66
|
function onCreate() {
|
67
|
-
state.addAble =
|
67
|
+
state.addAble = !state.addAble;
|
68
68
|
state.activeKey = "Active";
|
69
69
|
}
|
70
70
|
function onMore() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,IAAI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,SAAS,CAAC,EAC9D,KAAK,EAAE;oBACN;wBACC,GAAG,EAAE,QAAQ;wBACb,KAAK,EAAE,CACN;;4BAEC,oBAAC,KAAK,IAAC,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,YAAY,GAAI,CACvD,CACH;wBACD,QAAQ,EAAE,CACT,oBAAC,UAAU,IAAC,QAAQ;4BACnB,oBAAC,kBAAkB,IAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE,cAAc,EAAE,KAAK,GAAI,CACrD,CACb;qBACD;oBACD;wBACC,GAAG,EAAE,MAAM;wBACX,KAAK,EAAE,CACN;;4BAEC,oBAAC,KAAK,IAAC,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,GAAI,CACrD,CACH;wBACD,QAAQ,EAAE,CACT,oBAAC,UAAU,IAAC,QAAQ;4BACnB,oBAAC,gBAAgB,IAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE,cAAc,EAAE,KAAK,GAAI,CACnD,CACb;qBACD;iBACD,GACA;YACD,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,gBAAgB,IAChB,QAAQ,EAAE,KAAK,CAAC,EAAE,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE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CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -20,14 +20,14 @@ const TaskCheckNewForm = (props) => {
|
|
20
20
|
React.createElement(Form.Item, null,
|
21
21
|
React.createElement(Row, { justify: "space-between" },
|
22
22
|
React.createElement(Col, { flex: 1 },
|
23
|
-
React.createElement(Input, { autoFocus: true, value: state.
|
23
|
+
React.createElement(Input, { autoFocus: true, value: state.name, className: "task-name-input", placeholder: `Enter a title for this task`, onChange: (e) => runInAction(() => (state.name = e.target.value)), onPressEnter: onSubmit, onKeyDown: onKeyDown })),
|
24
24
|
React.createElement(Col, null,
|
25
25
|
React.createElement("div", { className: "task-due-date-content" },
|
26
26
|
state.dueDateString ? (React.createElement("div", { className: "due-val-content", onClick: () => (state.openDate = true) },
|
27
27
|
React.createElement("div", { className: "dueDate" }, "Due"),
|
28
28
|
React.createElement(React.Fragment, null, state.dueDateString))) : (React.createElement(Icon, { className: "task-due-date-bnt", icon: faCalendar, hover: faCalendarSolid, onClick: () => (state.openDate = true) })),
|
29
29
|
React.createElement(PresetDatePicker, { className: "task-preset-date-picker", open: state.openDate, onChange: (preset, date) => {
|
30
|
-
state.
|
30
|
+
state.dueDate = date ? dayjs(date).format("YYYY-MM-DD") : "";
|
31
31
|
state.dueDateString = preset
|
32
32
|
? preset
|
33
33
|
: date
|
@@ -46,16 +46,16 @@ const TaskCheckNewForm = (props) => {
|
|
46
46
|
}
|
47
47
|
async function onSubmit() {
|
48
48
|
var _a;
|
49
|
-
if (!state.
|
49
|
+
if (!state.name)
|
50
50
|
return message.warning("Title is required");
|
51
51
|
runInAction(() => (state.loading = true));
|
52
52
|
await tasks.create({
|
53
|
-
data: {
|
53
|
+
data: { Name: state.name, DueDate: state.dueDate, ParentId: props.parentId },
|
54
54
|
error: "message",
|
55
55
|
});
|
56
56
|
runInAction(() => {
|
57
57
|
state.loading = false;
|
58
|
-
state.
|
58
|
+
state.name = "";
|
59
59
|
});
|
60
60
|
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
|
61
61
|
return;
|
@@ -63,7 +63,8 @@ const TaskCheckNewForm = (props) => {
|
|
63
63
|
// cancel add task
|
64
64
|
function onCancel() {
|
65
65
|
var _a;
|
66
|
-
state.
|
66
|
+
state.name = "";
|
67
|
+
state.dueDate = "";
|
67
68
|
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
68
69
|
}
|
69
70
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,IAAI,MAAM,+CAA+C,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO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CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YACnF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QAChB,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
@@ -1,16 +1,8 @@
|
|
1
1
|
import { Dayjs } from "dayjs";
|
2
2
|
export declare class State {
|
3
3
|
constructor();
|
4
|
-
|
5
|
-
|
6
|
-
DueDate: string;
|
7
|
-
InheritMembers: boolean;
|
8
|
-
};
|
9
|
-
params: {
|
10
|
-
Name: string;
|
11
|
-
DueDate: string;
|
12
|
-
InheritMembers: boolean;
|
13
|
-
};
|
4
|
+
name: string;
|
5
|
+
dueDate: string;
|
14
6
|
loading: boolean;
|
15
7
|
openDate: boolean;
|
16
8
|
dueDateString?: string | Dayjs;
|
@@ -2,21 +2,17 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { makeObservable, observable } from "mobx";
|
3
3
|
export class State {
|
4
4
|
constructor() {
|
5
|
-
Object.defineProperty(this, "
|
5
|
+
Object.defineProperty(this, "name", {
|
6
6
|
enumerable: true,
|
7
7
|
configurable: true,
|
8
8
|
writable: true,
|
9
|
-
value:
|
10
|
-
Name: "",
|
11
|
-
DueDate: "",
|
12
|
-
InheritMembers: false,
|
13
|
-
}
|
9
|
+
value: ""
|
14
10
|
});
|
15
|
-
Object.defineProperty(this, "
|
11
|
+
Object.defineProperty(this, "dueDate", {
|
16
12
|
enumerable: true,
|
17
13
|
configurable: true,
|
18
14
|
writable: true,
|
19
|
-
value:
|
15
|
+
value: ""
|
20
16
|
});
|
21
17
|
Object.defineProperty(this, "loading", {
|
22
18
|
enumerable: true,
|
@@ -41,7 +37,10 @@ export class State {
|
|
41
37
|
}
|
42
38
|
__decorate([
|
43
39
|
observable
|
44
|
-
], State.prototype, "
|
40
|
+
], State.prototype, "name", void 0);
|
41
|
+
__decorate([
|
42
|
+
observable
|
43
|
+
], State.prototype, "dueDate", void 0);
|
45
44
|
__decorate([
|
46
45
|
observable
|
47
46
|
], State.prototype, "loading", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGmB;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAU,EAAE;WAAC;QACb;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAW,KAAK;WAAC;QACjB;;;;;WAA+B;QANjD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAMD;AALmB;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;sCAAqB;AACb;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;uCAAyB;AACjB;IAAlB,UAAU;4CAAuC"}
|