@voplus/morpho-workspace 5.0.46 → 5.0.48

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"}
@@ -14,6 +14,7 @@ const SubWorkList = (props) => {
14
14
  const documentStore = useDocumentStore();
15
15
  const list = useCreateListDataState({
16
16
  filterDefaults: {
17
+ includes: "tags",
17
18
  filters: [
18
19
  { c: "Workspace", o: "=", l: "And", v1: props.workspaceId },
19
20
  { c: "WorkStatus", o: "contains", l: "And", v1: JSON.stringify(["New", "Active"]) },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/SubWorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,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C,EACD,IAAI,CAAC,OAAO,CAAC,OAAO,CACpB,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACpC,6BAAK,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC;YACtC,oBAAC,QAAQ,IACR,WAAW,EAAE;oBACZ,SAAS,EAAE,cAAc;oBACzB,QAAQ,EAAE,KAAK;oBACf,KAAK,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC;iBACjC,EACD,SAAS,EAAC,WAAW,EACrB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAO,EAAE,EAAE,CAAC,CACjD,oBAAC,iBAAiB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE;oBAC9B,oBAAC,QAAQ,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,eAAe,EAAC,SAAS,GAAG,CAChC,CACpB,GACA;YACD,OAAO,IAAI,CACX,oBAAC,WAAW,IACX,QAAQ,EAAC,YAAY,EACrB,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAChC,CACF,CACI,CACoB,CAC3B,CAAC,CAAC;IAEH,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/SubWorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2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plus/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.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,OAA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AAC,aAAa,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI;gCACtC,oBAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,GAAI,CACzB,CAChB,CAAC,CACY,CACf,CAAC,CAAC,CAAC,CACH,MAAM,CACN,CAAA;yBAAA,GAED,CACS,CACZ,CAAC;YACH,KAAK,WAAW;gBACf,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,WAAW,EAAC,SAAS,EAAE,OAAO,GAAG,WAAW;oBAC5D,oBAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,CAAC,QAAS,EAAE,GAAG,EAAE,oBAAoB,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,EAAE,GAAI,CACrE,CACZ,CAAC;YACH,KAAK,QAAQ;gBACZ,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAE,OAAO,GAAG,SAAS;oBACvD,8BAAM,SAAS,EAAC,kBAAkB,IAAE,IAAI,CAAC,MAAM,CAAQ,CAC5C,CACZ,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,qBAAqB;IACpC,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],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AAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -14,6 +14,7 @@ const WorkTypeList = (props) => {
14
14
  const [showAdd, setShowAdd] = useState(false);
15
15
  const list = useCreateListDataState({
16
16
  filterDefaults: {
17
+ includes: "actions",
17
18
  filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: props.workspaceId }],
18
19
  },
19
20
  }, [props.workspaceId]);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,YAAY,GAAG,CAAC,KAKrB,EAAE,EAAE;IACJ,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,OAAO,EAAE,CAAC,EA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AE;;4BACb,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;4BACrB,MAAA,KAAK,CAAC,WAAW,sDAAG,IAAI,CAAC,CAAC;wBAC3B,CAAC;wBAED,oBAAC,YAAY,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACV,CACJ,CACjB,GACA;YACD,OAAO,IAAI,CACX,oBAAC,WAAW,IACX,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACyB,CACtB,CACN,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,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,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;iBAC7B,EACD,aAAa,EAAC,cAAc,EAC5B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAO,EAAE,EAAE,CAAC,CACjD,oBAAC,KAAK,CAAC,QAAQ;oBACd,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,GAAG,EAAE;;4BACb,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;4BACrB,MAAA,KAAK,CAAC,WAAW,sDAAG,IAAI,CAAC,CAAC;wBAC3B,CAAC;wBAED,oBAAC,YAAY,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACV,CACJ,CACjB,GACA;YACD,OAAO,IAAI,CACX,oBAAC,WAAW,IACX,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACyB,CACtB,CACN,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,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;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AAcrE,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IACjC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3C,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEvB,MAAM,EAAE,IAAI,EA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E,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,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AAcrE,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IACjC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,K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N,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.46",
3
+ "version": "5.0.48",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",