@voplus/morpho-workspace 6.0.15 → 6.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/board/components/NewColumnDocumentForm/index.js +1 -1
- package/es/modules/board/components/NewColumnDocumentForm/index.js.map +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.js +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js +2 -2
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/package.json +1 -1
@@ -33,7 +33,7 @@ const NewColumnDocumentForm = (props) => {
|
|
33
33
|
async function onSubmit(value) {
|
34
34
|
state.loading = true;
|
35
35
|
const data = type === "Task (For Self)"
|
36
|
-
? { MemberIds: [user.info.id], ...value, Type: "Task", ParentId: parentId }
|
36
|
+
? { MemberIds: [user.info.unit.id], ...value, Type: "Task", ParentId: parentId }
|
37
37
|
: {
|
38
38
|
...value,
|
39
39
|
Type: type,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/NewColumnDocumentForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,qBAAqB,GAAG,CAAC,KAK9B,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,IAAI,EAA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AAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,GAChF,CACG,CACA,CACI,CACN,CACP,CACY,CACd,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC,CAAC;QAClD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IAED,KAAK,UAAU,QAAQ,CAAC,KAAW;QAClC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,IAAI,GACT,IAAI,KAAK,iBAAiB;YACzB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE;YAChF,CAAC,CAAC;gBACA,GAAG,KAAK;gBACR,IAAI,EAAE,IAAI;gBACV,QAAQ,EAAE,QAAQ;aACjB,CAAC;QACN,MAAM,SAAS,CAAC,cAAc,CAAC;YAC9B,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,QAAQ,EAAE,CAAC;QACX,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
@@ -32,7 +32,7 @@ const DocumentNotificationCard = (props) => {
|
|
32
32
|
asideContext.openAside(React.createElement(NewTaskForm, { showView: true, self: true, description: (_a = notification.content) === null || _a === void 0 ? void 0 : _a.content, parentId: (_b = notification.content) === null || _b === void 0 ? void 0 : _b.documentId, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
|
33
33
|
} }, "Ceate Task")),
|
34
34
|
notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
|
35
|
-
notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "
|
35
|
+
notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "Undo Dismiss")),
|
36
36
|
notification.status !== "Later" && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-later", onClick: (ev) => onChangeStatus(ev, "Later") }, "Later"))))))));
|
37
37
|
});
|
38
38
|
function onChangeStatus(ev, status) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,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C,EACF,EAAE,IAAI,EAAE,EAAE,EAAE,CACZ,CAAC;gCACH,CAAC,iBAGO,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,cAEvE,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAG,eAAe,CAAC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CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,cAEvE,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,mBAEpE,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,OAAO,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CAC1E,oBAAC,MAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,YAEjE,CACT,CACM,CACH,CACD,CACD,CACA,CACP,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,sDAAG,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -20,7 +20,7 @@ const NewTaskForm = (props) => {
|
|
20
20
|
const [state] = useState(new State({ parentId: props.parentId, simple: !!props.simple }));
|
21
21
|
const asideContext = useAsideContentContext();
|
22
22
|
useEffect(() => {
|
23
|
-
state.params.MemberIds = props.self ? [user.info.id] : [];
|
23
|
+
state.params.MemberIds = props.self ? [user.info.unit.id] : [];
|
24
24
|
}, [props.self]);
|
25
25
|
useEffect(() => {
|
26
26
|
var _a;
|
@@ -36,7 +36,7 @@ const NewTaskForm = (props) => {
|
|
36
36
|
props.parentId && (React.createElement(Form.Item, null,
|
37
37
|
React.createElement(Checkbox, { checked: state.params.InheritMembers, onChange: (e) => (state.params.InheritMembers = e.target.checked) }, "Add main task members to the sub task"))),
|
38
38
|
React.createElement(Form.Item, { label: "Assign people" },
|
39
|
-
React.createElement(ContactSelect, { multiple: true, defaultValue: props.self ? [{ name: user.info.name, id: user.info.id }] : [], onChange: (contacts) => (state.params.MemberIds = contacts.map(({ id }) => id)) })),
|
39
|
+
React.createElement(ContactSelect, { multiple: true, defaultValue: props.self ? [{ name: user.info.name, id: user.info.unit.id }] : [], onChange: (contacts) => (state.params.MemberIds = contacts.map(({ id }) => id)) })),
|
40
40
|
React.createElement(Row, { gutter: 20 },
|
41
41
|
React.createElement(Col, { span: 12 },
|
42
42
|
React.createElement(Form.Item, { label: "Start Date" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NewTaskForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAA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