@voplus/morpho-workspace 5.0.47 → 5.0.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,8 +13,7 @@ import styles from "./index.less";
13
13
  import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
14
14
  import { useWorkStore } from "../../../../data/work";
15
15
  const NewWorkForm = (props) => {
16
- var _a;
17
- const [state] = useState(new State((_a = props.contact) === null || _a === void 0 ? void 0 : _a.id));
16
+ const [state] = useState(new State(props.contact));
18
17
  const [form] = Form.useForm();
19
18
  const [loading, setLoading] = useState(false);
20
19
  const [contactEditable, setContactEditable] = useState(false);
@@ -27,7 +26,7 @@ const NewWorkForm = (props) => {
27
26
  React.createElement(Form.Item, { name: "WorkTypeId", label: "Work Type" },
28
27
  React.createElement(WorkTypeSelect, { onChange: (id, data) => (state.params.WorkTypeId = data.id) })),
29
28
  React.createElement(Form.Item, { name: "ContactId", label: "Contact" }, !((_a = state.params) === null || _a === void 0 ? void 0 : _a.ContactId) ? (React.createElement("div", { style: { cursor: "pointer", color: "#ccc" }, onClick: () => setContactEditable(true) }, "Choose main contact")) : (React.createElement("div", { onClick: () => setContactEditable(true) },
30
- React.createElement(AvatarList, { editable: false, list: state.params.ContactId ? [{ id: state.params.ContactId }] : [] })))))) : (React.createElement(React.Fragment, null,
29
+ React.createElement(AvatarList, { editable: false, list: state.contact ? [state.contact] : [] })))))) : (React.createElement(React.Fragment, null,
31
30
  React.createElement(Row, { gutter: 20 },
32
31
  React.createElement(Col, { span: 14 },
33
32
  React.createElement(Form.Item, { name: "WorkTypeId", label: "Work Type" },
@@ -42,13 +41,16 @@ const NewWorkForm = (props) => {
42
41
  } }))),
43
42
  React.createElement(Col, { span: 10 },
44
43
  React.createElement(Form.Item, { name: "ContactId", label: "Contact" }, !((_b = state.params) === null || _b === void 0 ? void 0 : _b.ContactId) ? (React.createElement("div", { style: { cursor: "pointer", color: "#ccc" }, onClick: () => setContactEditable(true) }, "Choose main contact")) : (React.createElement("div", { onClick: () => setContactEditable(true) },
45
- React.createElement(AvatarList, { editable: false, list: state.params.ContactId ? [{ id: state.params.ContactId }] : [] })))))),
44
+ React.createElement(AvatarList, { editable: false, list: state.contact ? [state.contact] : [] })))))),
46
45
  React.createElement(Row, { justify: "end" },
47
46
  React.createElement(Space, null,
48
47
  React.createElement(Button, { onClick: onCancel }, "Cancel"),
49
48
  React.createElement(Button, { type: "primary", htmlType: "submit", onClick: onSubmit, loading: loading }, "Submit")))))),
50
49
  contactEditable && (React.createElement(UnitsSelectDialog, { type: "click", defaultSelection: "Everyone", defaultSelected: props.contact ? [props.contact] : [], multiSelect: true, onSelect: (unit) => {
51
- runInAction(() => (state.params.ContactId = unit[0].id.toString()));
50
+ runInAction(() => {
51
+ state.params.ContactId = unit[0].id.toString();
52
+ state.contact = unit[0];
53
+ });
52
54
  setContactEditable(false);
53
55
  }, onCancel: () => setContactEditable(false) }))));
54
56
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,MAAM,mDAAmD,CAAC;AAC/E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAA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O,CACK,CACd,CACC,CACH,CAAC,CAAC;IAEH,kBAAkB;IAClB,KAAK,UAAU,QAAQ;;QACtB,iEAAiE;QACjE,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE;YACzB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,CAAC;QACH,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,MAAA,KAAK,CAAC,MAAM,sDAAG,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7B,IAAI,KAAK,CAAC,QAAQ;YACjB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,kBAAkB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAED,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IAC1B,QAAQ,EAAE,WAAW;CACrB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,6 +1,9 @@
1
1
  export declare class State {
2
- private contactId?;
3
- constructor(contactId?: string | undefined);
2
+ private defaultContact?;
3
+ constructor(defaultContact?: {
4
+ id: string;
5
+ name: string;
6
+ } | undefined);
4
7
  Params: {
5
8
  WorkTypeId: any;
6
9
  RelatedId: any;
@@ -13,4 +16,8 @@ export declare class State {
13
16
  Name: string;
14
17
  ContactId: string;
15
18
  };
19
+ contact?: {
20
+ id: string;
21
+ name: string;
22
+ };
16
23
  }
@@ -1,12 +1,13 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
3
  export class State {
4
- constructor(contactId) {
5
- Object.defineProperty(this, "contactId", {
4
+ constructor(defaultContact) {
5
+ var _a;
6
+ Object.defineProperty(this, "defaultContact", {
6
7
  enumerable: true,
7
8
  configurable: true,
8
9
  writable: true,
9
- value: contactId
10
+ value: defaultContact
10
11
  });
11
12
  Object.defineProperty(this, "Params", {
12
13
  enumerable: true,
@@ -16,7 +17,7 @@ export class State {
16
17
  WorkTypeId: "",
17
18
  RelatedId: "",
18
19
  Name: "name",
19
- ContactId: this.contactId || "",
20
+ ContactId: ((_a = this.defaultContact) === null || _a === void 0 ? void 0 : _a.id) || "",
20
21
  }
21
22
  });
22
23
  Object.defineProperty(this, "params", {
@@ -25,10 +26,19 @@ export class State {
25
26
  writable: true,
26
27
  value: this.Params
27
28
  });
29
+ Object.defineProperty(this, "contact", {
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true,
33
+ value: this.defaultContact
34
+ });
28
35
  makeObservable(this);
29
36
  }
30
37
  }
31
38
  __decorate([
32
39
  observable
33
40
  ], State.prototype, "params", void 0);
41
+ __decorate([
42
+ observable
43
+ ], State.prototype, "contact", void 0);
34
44
  //# sourceMappingURL=state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB,YAA2B,SAAkB;QAA1B;;;;mBAAQ,SAAS;WAAS;QAGtC;;;;mBAAS;gBACf,UAAU,EAAE,EAAS;gBACrB,SAAS,EAAE,EAAS;gBACpB,IAAI,EAAE,MAAM;gBACZ,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,EAAE;aAC/B;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QARvC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAQD;AADmB;IAAlB,UAAU;qCAA6B"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB,YAA2B,cAA6C;;QAArD;;;;mBAAQ,cAAc;WAA+B;QAIjE;;;;mBAAS;gBACf,UAAU,EAAE,EAAS;gBACrB,SAAS,EAAE,EAAS;gBACpB,IAAI,EAAE,MAAM;gBACZ,SAAS,EAAE,CAAA,MAAA,IAAI,CAAC,cAAc,0CAAE,EAAE,KAAI,EAAE;aACxC;WAAC;QAEiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAyC,IAAI,CAAC,cAAc;WAAC;QAXxE,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAWD;AAFmB;IAAlB,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAA8D"}
@@ -1,18 +1,18 @@
1
- import { Spin } from "antd";
2
1
  import React, { useEffect, useState } from "react";
3
- import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
2
+ import { Empty, Spin } from "antd";
4
3
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
5
4
  import { LoadingOutlined } from "@ant-design/icons";
6
- import NewWorkForm from "../NewWorkForm";
7
- import Scrollbars from "react-custom-scrollbars";
8
5
  import { State } from "./state";
9
- import WorkItem from "../WorkItem";
10
6
  import { faPlus } from "@fortawesome/pro-light-svg-icons";
11
7
  import { observe } from "@voplus/morpho-ui";
12
8
  import { runInAction } from "mobx";
13
- import "./index.less";
14
9
  import { useDocumentLinkListEffect } from "@voplus/morpho-document-core";
15
10
  import { useWork } from "../../../../data/work";
11
+ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
12
+ import NewWorkForm from "../NewWorkForm";
13
+ import Scrollbars from "react-custom-scrollbars";
14
+ import WorkItem from "../WorkItem";
15
+ import "./index.less";
16
16
  const RelatedWorkList = (props) => {
17
17
  const { id, addAble, title, primaryContact } = props;
18
18
  const [state] = useState(new State());
@@ -36,7 +36,7 @@ const RelatedWorkList = (props) => {
36
36
  React.createElement("div", { className: "related-work-title" }, title),
37
37
  addAble && (React.createElement("span", { className: "plus-icon" },
38
38
  React.createElement(FAIcon, { icon: faPlus, onClick: () => setAdd(!add) })))),
39
- React.createElement(Scrollbars, { autoHide: true }, state.links.length ? (state.links.map((item, index) => (React.createElement(WorkItem, { key: item.right.id, clickNameEffect: "default", id: item.right.id === id ? item.left.id : item.right.id })))) : (null)),
39
+ React.createElement(Scrollbars, { autoHide: true }, state.links.length ? (state.links.map((item, index) => (React.createElement(WorkItem, { key: item.right.id, clickNameEffect: "default", id: item.right.id === id ? item.left.id : item.right.id })))) : (React.createElement(Empty, null))),
40
40
  add && (React.createElement(NewWorkForm, { openMode: "openBottom", workId: id, contact: primaryContact || work.contact, isRelatedWork: true, onSave: () => {
41
41
  setAdd(false);
42
42
  props.onReload && props.onReload();
@@ -1 +1 @@
1
- {"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,QA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AAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACpC,CAAC,EACD,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAC5B,CACF,CACI,CACN,CACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CACnB,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY,IAAG,OAAO,CAAgB,CAAC,CAAC,CAAC,OAAO,CACzF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"RelatedWorkList.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/RelatedWorkList/RelatedWorkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,QAAQ,M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Y,IAAC,OAAO,EAAE,YAAY,IAAG,OAAO,CAAgB,CAAC,CAAC,CAAC,OAAO,CACzF,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -14,7 +14,7 @@ import UnitsSelectDialog from "@voplus/morpho-org/es/components/UnitsSelectDialo
14
14
  import AvatarItem from "@voplus/morpho-org/es/components/AvatarList/AvatarItem/LoadedAvatarItem";
15
15
  import ChangeAvatarDialog from "@voplus/morpho-org/es/controls/ChangeAvatarDialog";
16
16
  import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
17
- import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
17
+ import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference/LoadedDocumentReference";
18
18
  import WorkStatusLabel from "../../controls/WorkStatusLabel";
19
19
  import classnames from "classnames";
20
20
  import styles from "./index.less";
@@ -65,7 +65,7 @@ const WorksProperties = (props) => {
65
65
  } })) : (noData);
66
66
  } })));
67
67
  case "Document":
68
- return (React.createElement(Form.Item, { label: "Document", className: classId + "-document" }, ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { id: work.document.id }) : noData));
68
+ return (React.createElement(Form.Item, { label: "Document", className: classId + "-document" }, ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData));
69
69
  case "Due":
70
70
  return (React.createElement(Form.Item, { label: "Due", className: classId + "-due" }, state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), bordered: false, onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement("span", { className: "properties-value" }, dayjs(work.due).format("DD MMM YYYY"))) : (noData)))));
71
71
  case "Owner":
@@ -1 +1 @@
1
- {"version":3,"file":"index.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;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,yEAAyE,CAAC;AACjG,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;A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pC,cAAc,EAAE;QACf,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -7,7 +7,7 @@ import { useApplicationContext } from "@voplus/morpho-data";
7
7
  import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
8
8
  import NodeLink from "../../../../../controls/NodeLink";
9
9
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
10
- import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
10
+ import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference/LoadedDocumentReference";
11
11
  import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
12
12
  import ChangeWorkDefaultFolderDialog from "../ChangeWorkDefaultFolderDialog";
13
13
  import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
@@ -39,12 +39,12 @@ const Properties = (props) => {
39
39
  case "Default Folder":
40
40
  return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.defaultFolder) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
41
41
  var _a;
42
- return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.defaultFolder.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
42
+ return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.defaultFolder })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
43
43
  }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
44
44
  case "Documentation":
45
45
  return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_d = state.worktype.document) === null || _d === void 0 ? void 0 : _d.name}`, editable: false, content: (v) => {
46
46
  var _a;
47
- return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { id: state.worktype.document.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
47
+ return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.document })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
48
48
  }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
49
49
  case "Default Due":
50
50
  return (React.createElement(InlineEdit, { defaultValue: worktype.defaultDue, content: (v) => (React.createElement("div", null, (worktype.defaultDue === 0 ? "Same day" : `${worktype.defaultDue} days`) || (React.createElement("span", { className: "add-info-style" }, "Add default due in days")))), onSave: (value) => store.edit(worktype.id, { data: { DefaultDue: value }, error: "message" }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;A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E,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,O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AAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "5.0.47",
3
+ "version": "5.0.49",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",