@voplus/morpho-workspace 6.0.21 → 6.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. package/es/controls/filters/EventsFilter/index.js +5 -10
  2. package/es/controls/filters/EventsFilter/index.js.map +1 -1
  3. package/es/controls/filters/EventsFilter/state.d.ts +0 -2
  4. package/es/controls/filters/EventsFilter/state.js +0 -11
  5. package/es/controls/filters/EventsFilter/state.js.map +1 -1
  6. package/es/controls/filters/TaskStatusFilter/index.js +7 -9
  7. package/es/controls/filters/TaskStatusFilter/index.js.map +1 -1
  8. package/es/controls/filters/TaskStatusFilter/state.d.ts +0 -2
  9. package/es/controls/filters/TaskStatusFilter/state.js +0 -11
  10. package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
  11. package/es/controls/filters/WorkStatusFilter/index.js +9 -11
  12. package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
  13. package/es/controls/filters/WorkStatusFilter/state.d.ts +0 -2
  14. package/es/controls/filters/WorkStatusFilter/state.js +0 -11
  15. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
  16. package/es/controls/filters/WorkTypesFilter/index.d.ts +1 -1
  17. package/es/controls/filters/WorkTypesFilter/index.js +9 -11
  18. package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
  19. package/es/controls/filters/WorkTypesFilter/state.d.ts +0 -2
  20. package/es/controls/filters/WorkTypesFilter/state.js +0 -11
  21. package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
  22. package/es/data/work/WorkStore.d.ts +4 -1
  23. package/es/data/work/WorkStore.js +4 -0
  24. package/es/data/work/WorkStore.js.map +1 -1
  25. package/es/data/work/interfaces.d.ts +11 -0
  26. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.d.ts +8 -0
  27. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js +24 -0
  28. package/es/modules/work/components/WorkCashReport/WorkCashReportTemplate.js.map +1 -0
  29. package/es/modules/work/components/WorkCashReport/index.d.ts +5 -0
  30. package/es/modules/work/components/WorkCashReport/index.js +44 -0
  31. package/es/modules/work/components/WorkCashReport/index.js.map +1 -0
  32. package/es/modules/work/components/WorkCashReport/index.less +35 -0
  33. package/es/modules/work/components/WorkCashReport/state.d.ts +18 -0
  34. package/es/modules/work/components/WorkCashReport/state.js +103 -0
  35. package/es/modules/work/components/WorkCashReport/state.js.map +1 -0
  36. package/es/modules/work/components/WorkList/index.js +2 -0
  37. package/es/modules/work/components/WorkList/index.js.map +1 -1
  38. package/es/modules/work/work-type/components/AutoSequenceLink/index.js +9 -3
  39. package/es/modules/work/work-type/components/AutoSequenceLink/index.js.map +1 -1
  40. package/es/modules/work/work-type/components/WorkTypeIcon/index.js +5 -4
  41. package/es/modules/work/work-type/components/WorkTypeIcon/index.js.map +1 -1
  42. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.d.ts +1 -1
  43. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +4 -9
  44. package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
  45. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +0 -1
  46. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  47. package/es/modules/work/work-type/components/WorkTypeProperties/index.js +0 -1
  48. package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -1
  49. package/es/modules/workspace/components/WorkspaceIcon/index.js +6 -5
  50. package/es/modules/workspace/components/WorkspaceIcon/index.js.map +1 -1
  51. package/es/modules/workspace/components/WorkspaceIcon/index.less +66 -64
  52. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.d.ts +7 -0
  53. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js +43 -0
  54. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js.map +1 -0
  55. package/es/modules/workspace/pages/WorkspacePage/index.js +2 -1
  56. package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
  57. package/es/modules/workspace/pages/WorkspacePage/index.less +12 -4
  58. package/package.json +1 -1
@@ -0,0 +1,103 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable, action } from "mobx";
3
+ import dayjs from "dayjs";
4
+ export class State {
5
+ constructor(worktypeId, store) {
6
+ Object.defineProperty(this, "worktypeId", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: worktypeId
11
+ });
12
+ Object.defineProperty(this, "store", {
13
+ enumerable: true,
14
+ configurable: true,
15
+ writable: true,
16
+ value: store
17
+ });
18
+ Object.defineProperty(this, "loading", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: false
23
+ });
24
+ Object.defineProperty(this, "filterV1Val", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: ["Draft", "New", "Rejected", "Active", "Closed", "Done"]
29
+ });
30
+ Object.defineProperty(this, "filter", {
31
+ enumerable: true,
32
+ configurable: true,
33
+ writable: true,
34
+ value: [
35
+ {
36
+ c: "WorkStatus",
37
+ o: "contains",
38
+ l: "And",
39
+ v1: JSON.stringify(this.filterV1Val),
40
+ },
41
+ { c: "WorkType", o: "=", l: "And", v1: this.worktypeId },
42
+ ]
43
+ });
44
+ // 柱状图的数据列表
45
+ Object.defineProperty(this, "dataList", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: []
50
+ });
51
+ makeObservable(this);
52
+ }
53
+ onLoad(filterOption) {
54
+ this.loading = true;
55
+ this.store
56
+ .loadWorkReport({ Filters: filterOption !== null && filterOption !== void 0 ? filterOption : this.filter })
57
+ .then((res) => this.loadCashList(res))
58
+ .finally(() => (this.loading = false));
59
+ }
60
+ // 把后台返回的值转成柱状图所需要的数据
61
+ loadCashList(workReport) {
62
+ var _a;
63
+ this.dataList = [];
64
+ (_a = workReport === null || workReport === void 0 ? void 0 : workReport.items) === null || _a === void 0 ? void 0 : _a.map((i) => this.dataList.push({
65
+ date: dayjs(`${i.year}-${i.month}`).format("YYYY MMM"),
66
+ total: i.total,
67
+ }));
68
+ }
69
+ onResetFilter(item) {
70
+ var _a;
71
+ this.onFilter((_a = this.filterV1Val) === null || _a === void 0 ? void 0 : _a.filter((v) => v !== item));
72
+ }
73
+ onFilter(filterV1Val) {
74
+ this.filterV1Val = filterV1Val;
75
+ this.filter[0].v1 = JSON.stringify(filterV1Val);
76
+ this.onLoad(this.filter);
77
+ }
78
+ }
79
+ __decorate([
80
+ observable
81
+ ], State.prototype, "loading", void 0);
82
+ __decorate([
83
+ observable
84
+ ], State.prototype, "filterV1Val", void 0);
85
+ __decorate([
86
+ observable
87
+ ], State.prototype, "filter", void 0);
88
+ __decorate([
89
+ observable
90
+ ], State.prototype, "dataList", void 0);
91
+ __decorate([
92
+ action
93
+ ], State.prototype, "onLoad", null);
94
+ __decorate([
95
+ action
96
+ ], State.prototype, "loadCashList", null);
97
+ __decorate([
98
+ action
99
+ ], State.prototype, "onResetFilter", null);
100
+ __decorate([
101
+ action
102
+ ], State.prototype, "onFilter", null);
103
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IAkBjB,YAAoB,UAAkB,EAAU,KAAgB;QAApD;;;;mBAAQ,UAAU;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAW;QAjBpD;;;;mBAAU,KAAK;WAAC;QAEhB;;;;mBAAwB,CAAC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC;WAAC;QAEjF;;;;mBAAyB;gBACpC;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oB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,KAAK,IAAI,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEc,QAAQ,CAAC,WAAqB;QAC5C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QAEhD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;CACD;AApDY;IAAX,UAAU;sCAAiB;AAEhB;IAAX,UAAU;0CAAkF;AAEjF;IAAX,UAAU;qCAQT;AAGU;IAAX,UAAU;uCAAkD;AAM9C;IAAd,MAAM;mCAON;AAGc;IAAd,MAAM;yCASN;AAEc;IAAd,MAAM;0CAEN;AAEc;IAAd,MAAM;qCAKN"}
@@ -177,6 +177,8 @@ const WorkList = (props) => {
177
177
  }
178
178
  if (contactId)
179
179
  return ["New", "Active"];
180
+ if (typesId)
181
+ return ["Active"];
180
182
  return [];
181
183
  }
182
184
  function onFilter(context) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAA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EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,YAAY;QACpB,QAAQ,OAAO,EAAE,CAAC;YACjB,KAAK,OAAO,CAAC;YACb,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,KAAK;gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QACD,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,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,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,11 +1,17 @@
1
1
  import React, { useState } from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import AutoSequenceDialog from "../AutoSequenceDialog";
4
+ import classnames from "classnames";
5
+ import { useWorkType } from "../../../../../data/worktype";
4
6
  const AutoSequenceLink = (props) => {
5
7
  const [open, setOpen] = useState(false);
6
- return observe(() => (React.createElement(React.Fragment, null,
7
- React.createElement("span", { className: "add-info-style", style: { cursor: "pointer" }, onClick: () => setOpen(true) }, "Auto Sequence"),
8
- open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) })))));
8
+ const worktype = useWorkType(props.id);
9
+ return observe(() => {
10
+ var _a, _b;
11
+ return (React.createElement(React.Fragment, null,
12
+ React.createElement("span", { className: classnames({ "add-info-style": !((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, ((_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format) ? worktype.sequence.format : "Add NumberFormat"),
13
+ open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) }))));
14
+ });
9
15
  };
10
16
  export default AutoSequenceLink;
11
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,8BAAM,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,oBAEpF;QACN,IAAI,IAAI,CACR,oBAAC,kBAAkB,IAClB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAC7B,CACF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceLink/index.ts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9
  const WorkTypeIcon = (props) => {
10
10
  const { id, active } = props;
11
11
  const worktype = useWorkType(id);
12
- return observe(() => (React.createElement(Card, { className: classnames(styles["diamond-common-style"], { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
13
- React.createElement("div", { className: classnames("diamond-icon"), style: { backgroundColor: "#EE6868" } },
14
- React.createElement(FAIcon, { icon: faFileAlt, className: "diamond-icon-fa" })),
15
- React.createElement("div", { className: "diamond-name" }, worktype === null || worktype === void 0 ? void 0 : worktype.name))));
12
+ return observe(() => (React.createElement("div", { className: styles["work-space-type-card"] },
13
+ React.createElement(Card, { className: classnames("diamond-common-style", { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
14
+ React.createElement("div", { className: classnames("diamond-icon"), style: { backgroundColor: "#EE6868" } },
15
+ React.createElement(FAIcon, { icon: faFileAlt, className: "diamond-icon-fa" })),
16
+ React.createElement("div", { className: "diamond-name" }, worktype === null || worktype === void 0 ? void 0 : worktype.name)))));
16
17
  };
17
18
  export default WorkTypeIcon;
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,2DAA2D,CAAC;AAE/E,MAAM,YAAY,GAAG,CAAC,KAMrB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,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AQ,GAAG,WAAW,CAAC,EAAG,CAAC,CAAC;IAElC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC;QAC7C,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EACjE,OAAO,EAAC,WAAW,EACnB,MAAM,EAAE,KAAK,EACb,WAAW,EAAE,KAAK;YAElB,6BAAK,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;gBAChF,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClD;YACN,6BAAK,SAAS,EAAC,cAAc,IAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAAO,CAC9C,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export type WorkTypePropertiesName = "Work Space" | "Sequence" | "Number Format" | "Status" | "Default Folder" | "Documentation" | "Default Due" | "Requester" | "Accepters" | "Default Owner" | "Auto Accept";
2
+ export type WorkTypePropertiesName = "Work Space" | "Number Format" | "Status" | "Default Folder" | "Documentation" | "Default Due" | "Requester" | "Accepters" | "Default Owner" | "Auto Accept";
3
3
  declare const Properties: (props: {
4
4
  id: string;
5
5
  propertiesName: WorkTypePropertiesName;
@@ -24,28 +24,23 @@ const Properties = (props) => {
24
24
  state.documentationEdit && (React.createElement(DocumentSelectDialog, { multiSelect: false, onCancel: () => state.onCancel(), onSelect: (data) => state.onSelect(data) })),
25
25
  state.folderEdit && (React.createElement(ChangeWorkDefaultFolderDialog, { id: id, defaultDocument: state.worktype.defaultFolder, onCancel: () => (state.folderEdit = false), onSubmit: () => (state.folderEdit = false) })))));
26
26
  function renderProp(name) {
27
- var _a, _b, _c, _d;
27
+ var _a, _b, _c;
28
28
  switch (name) {
29
29
  case "Work Space":
30
30
  return (React.createElement(NodeLink, { node: worktype === null || worktype === void 0 ? void 0 : worktype.workspace, url: `/workspaces/${(_a = worktype.workspace) === null || _a === void 0 ? void 0 : _a.id}` }));
31
- case "Sequence":
32
- return React.createElement(AutoSequenceLink, { id: id });
33
31
  case "Number Format":
34
- return (React.createElement(InlineEdit, { defaultValue: (_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format, content: (v) => {
35
- var _a;
36
- return ((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) ? (React.createElement("span", null, worktype.sequence.format)) : (React.createElement("span", { className: "add-info-style" }, "Add NumberFormat"));
37
- }, onSave: (value) => { var _a; return state.save(value, (_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format, { Sequence: { format: value } }); } }));
32
+ return React.createElement(AutoSequenceLink, { id: id });
38
33
  case "Status":
39
34
  return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
40
35
  store.edit(worktype.id, { data: { Status: status }, error: "message" });
41
36
  } }));
42
37
  case "Default Folder":
43
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.defaultFolder) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
38
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_b = state.worktype.defaultFolder) === null || _b === void 0 ? void 0 : _b.name}`, editable: false, content: (v) => {
44
39
  var _a;
45
40
  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"))));
46
41
  }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
47
42
  case "Documentation":
48
- return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_d = state.worktype.document) === null || _d === void 0 ? void 0 : _d.name}`, editable: false, content: (v) => {
43
+ return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.document) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
49
44
  var _a;
50
45
  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"))));
51
46
  }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
@@ -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,+EAA+E,CAAC;AAC9G,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AAenD,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CA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,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;QACJ,CAAC;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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AAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -13,7 +13,6 @@ const WorkTypePropertiesCard = (props) => {
13
13
  WorkTypePropertiesCard.defaultProps = {
14
14
  workTypeProperties: [
15
15
  { key: "Work Space" },
16
- { key: "Sequence" },
17
16
  { key: "Number Format" },
18
17
  { key: "Status" },
19
18
  { key: "Default Folder" },
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,UAAU,EAAE;QACnB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -31,7 +31,6 @@ WorkTypeProperties.defaultProps = {
31
31
  header: true,
32
32
  workTypeProperties: [
33
33
  "Work Space",
34
- "Sequence",
35
34
  "Number Format",
36
35
  "Status",
37
36
  "Default Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,UAAsC,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAA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AAK,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,kBAAkB,UACzF,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,GAAG,CAAC,CAAC,CAAyB,EAAE,EAAE,CAAC,CACvD,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,uBAAuB,SAAS,CAAC,CAAC,CAAC,EAAE;gBAC5E,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,GAAI,CAC9B,CACZ,CAAC,CACI,CACK,CACR,CACN,CAAC,CAAC;IAEH,SAAS;IACT,SAAS,SAAS,CAAC,GAAW;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAClC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,MAAM,EAAE,IAAI;IACZ,kBAAkB,EAAE;QACnB,YAAY;QACZ,UAAU;QACV,eAAe;QACf,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,UAAsC,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OA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E,CACG,CACD,CACN;QACD,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,kBAAkB,UACzF,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,GAAG,CAAC,CAAC,CAAyB,EAAE,EAAE,CAAC,CACvD,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,uBAAuB,SAAS,CAAC,CAAC,CAAC,EAAE;gBAC5E,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,GAAI,CAC9B,CACZ,CAAC,CACI,CACK,CACR,CACN,CAAC,CAAC;IAEH,SAAS;IACT,SAAS,SAAS,CAAC,GAAW;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAClC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,MAAM,EAAE,IAAI;IACZ,kBAAkB,EAAE;QACnB,YAAY;QACZ,eAAe;QACf,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -14,11 +14,12 @@ const WorkspaceIcon = (props) => {
14
14
  const workspace = useWorkspace(id);
15
15
  return observe(() => {
16
16
  var _a;
17
- return (React.createElement(Card, { className: classnames(styles["diamond-common-style"], { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
18
- React.createElement(Badge, { count: (_a = workspace === null || workspace === void 0 ? void 0 : workspace.stats) === null || _a === void 0 ? void 0 : _a.activeWorks, className: "site-badge-count" }),
19
- React.createElement("div", { className: classnames("diamond-icon", { "new-workspace-icon": !id }) },
20
- React.createElement(FAIcon, { icon: id ? faFileAlt : faPlus, className: "diamond-icon-fa" })),
21
- React.createElement("div", { className: "diamond-name" }, (workspace === null || workspace === void 0 ? void 0 : workspace.name) || "New WorkSpace")));
17
+ return (React.createElement("div", { className: styles["work-space-type-card"] },
18
+ React.createElement(Card, { className: classnames("diamond-common-style", { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
19
+ React.createElement(Badge, { count: (_a = workspace === null || workspace === void 0 ? void 0 : workspace.stats) === null || _a === void 0 ? void 0 : _a.activeWorks, className: "site-badge-count" }),
20
+ React.createElement("div", { className: classnames("diamond-icon", { "new-workspace-icon": !id }) },
21
+ React.createElement(FAIcon, { icon: id ? faFileAlt : faPlus, className: "diamond-icon-fa" })),
22
+ React.createElement("div", { className: "diamond-name" }, (workspace === null || workspace === void 0 ? void 0 : workspace.name) || "New WorkSpace"))));
22
23
  });
23
24
  };
24
25
  export default WorkspaceIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/WorkspaceIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4B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AE,EAAE,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC;oBAGpE,oBAAC,MAAM,IAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAChE;gBACN,6BAAK,SAAS,EAAC,cAAc,IAAE,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,IAAI,KAAI,eAAe,CAAO,CAClE,CACF,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,79 +1,81 @@
1
1
  @import "~@voplus/morpho-theme/styles/index.less";
2
2
 
3
- .diamond-common-style {
4
- width: 140px;
5
- display: flex;
6
- flex-flow: column;
7
- align-items: center;
8
- border-radius: @border-radius;
9
- padding: 15px 8px;
10
- background: transparent;
11
- position: relative;
3
+ .work-space-type-card {
4
+ :global {
5
+ .diamond-common-style {
6
+ width: 140px;
7
+ display: flex;
8
+ flex-flow: column;
9
+ align-items: center;
10
+ border-radius: @border-radius;
11
+ padding: 15px 8px;
12
+ background: transparent;
13
+ position: relative;
12
14
 
13
- &:hover {
14
- background: #f1f1f1;
15
- }
15
+ &:hover {
16
+ background: #f1f1f1;
17
+ }
16
18
 
17
- &:global(.active) {
18
- background: #f1f1f1;
19
- }
19
+ &.active {
20
+ background: #f1f1f1;
21
+ }
20
22
 
21
- :global {
22
- .site-badge-count {
23
- position: absolute;
24
- vertical-align: middle;
25
- right: 10px;
26
- top: 10px;
23
+ .site-badge-count {
24
+ position: absolute;
25
+ vertical-align: middle;
26
+ right: 10px;
27
+ top: 10px;
27
28
 
28
- .ant-badge-count {
29
- background-color: #fff !important;
30
- border: none;
31
- box-shadow: @badge-hover-shadow;
29
+ .ant-badge-count {
30
+ background-color: #fff !important;
31
+ border: none;
32
+ box-shadow: @badge-hover-shadow;
33
+ }
32
34
  }
33
- }
34
35
 
35
- .diamond-icon {
36
- width: 100px;
37
- height: 100px;
38
- font-size: 24px;
39
- color: @white;
40
- background: #469cff;
41
- border-radius: @border-radius;
42
- border: solid 1px @white;
43
- display: flex;
44
- justify-content: center;
45
- align-items: center;
36
+ .diamond-icon {
37
+ width: 100px;
38
+ height: 100px;
39
+ font-size: 24px;
40
+ color: @white;
41
+ background: #469cff;
42
+ border-radius: @border-radius;
43
+ border: solid 1px @white;
44
+ display: flex;
45
+ justify-content: center;
46
+ align-items: center;
46
47
 
47
- .diamond-icon-fa {
48
- width: 31px;
49
- height: 40px;
50
- opacity: 1;
48
+ .diamond-icon-fa {
49
+ width: 31px;
50
+ height: 40px;
51
+ opacity: 1;
52
+ }
51
53
  }
52
- }
53
54
 
54
- .new-workspace-icon {
55
- color: #bdb9b9;
56
- background: @white !important;
57
- border: dashed 1px #bdb9b9;
58
- }
55
+ .new-workspace-icon {
56
+ color: #bdb9b9;
57
+ background: @white !important;
58
+ border: dashed 1px #bdb9b9;
59
+ }
59
60
 
60
- .diamond-name {
61
- // width: 100%;
62
- max-width: 100px;
63
- text-align: center;
64
- display: -webkit-box;
65
- -webkit-box-orient: vertical;
66
- -webkit-line-clamp: 2;
67
- overflow: hidden;
68
- text-overflow: ellipsis;
69
- height: 38px;
70
- font-size: @font-size-base;
71
- font-family: Microsoft YaHei;
72
- font-weight: bold;
73
- line-height: 19px;
74
- margin-top: 16px;
75
- color: #67696d;
76
- opacity: 1;
61
+ .diamond-name {
62
+ // width: 100%;
63
+ max-width: 100px;
64
+ text-align: center;
65
+ display: -webkit-box;
66
+ -webkit-box-orient: vertical;
67
+ -webkit-line-clamp: 2;
68
+ overflow: hidden;
69
+ text-overflow: ellipsis;
70
+ height: 38px;
71
+ font-size: @font-size-base;
72
+ font-family: Microsoft YaHei;
73
+ font-weight: bold;
74
+ line-height: 19px;
75
+ margin-top: 16px;
76
+ color: #67696d;
77
+ opacity: 1;
78
+ }
77
79
  }
78
80
  }
79
81
  }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { State } from "./state";
3
+ declare const Dashboard: (props: {
4
+ state: State;
5
+ path: string;
6
+ }) => React.JSX.Element;
7
+ export default Dashboard;
@@ -0,0 +1,43 @@
1
+ import React, { useLayoutEffect, useRef, useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { generatePath } from "react-router";
4
+ import { useLayout } from "@voplus/morpho-data";
5
+ import { useParams } from "react-router-dom";
6
+ import { Card } from "antd";
7
+ import { runInAction } from "mobx";
8
+ import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
9
+ import WorkListCard from "../../../work/components/WorkListCard";
10
+ import WorkCashReport from "../../../work/components/WorkCashReport";
11
+ import styles from "./index.less";
12
+ const Dashboard = (props) => {
13
+ const ref = useRef(null);
14
+ const params = useParams();
15
+ const layout = useLayout();
16
+ const [dashboardHeight, setDashboardHeight] = useState();
17
+ useLayoutEffect(() => {
18
+ var _a;
19
+ setDashboardHeight((_a = ref.current) === null || _a === void 0 ? void 0 : _a.offsetHeight);
20
+ });
21
+ return observe(() => (React.createElement("div", { className: styles["worktype-works-dashboard"], ref: ref },
22
+ React.createElement(RelatedDocument, null,
23
+ React.createElement(Card, { className: "work-cash-report" },
24
+ React.createElement(WorkCashReport, { id: params.typesId })),
25
+ React.createElement("div", { className: "work-list-card" },
26
+ React.createElement(WorkListCard, { style: { height: `${dashboardHeight - 463}px` }, status: params.status, active: params.active, typesId: params.typesId, dueDate: params.dueDate, workspaceId: params.id, onClickItem: (item) => {
27
+ layout.history.replace(generatePath(props.path, {
28
+ id: params.id,
29
+ status: params.status || "",
30
+ typesId: params.typesId || "",
31
+ dueDate: params.dueDate || "",
32
+ active: item.id,
33
+ }));
34
+ }, onTotal: (total) => {
35
+ runInAction(() => {
36
+ props.state.workStatusTotals[params.status] = total;
37
+ props.state.workTypesTotals[params.typesId] = total;
38
+ props.state.workTotals[params.dueDate] = total;
39
+ });
40
+ } }))))));
41
+ };
42
+ export default Dashboard;
43
+ //# sourceMappingURL=WorkTypeWorksDashBoard.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}
@@ -21,6 +21,7 @@ import { useWorkListEffect } from "../../../../data/work";
21
21
  import { useWorkTypeListEffect } from "../../../../data/worktype";
22
22
  import { useWorkspace } from "../../../../data/workspace";
23
23
  import SettingPage from "./SettingPage";
24
+ import WorktypeWorksDashBoard from "./WorkTypeWorksDashBoard";
24
25
  const WorkspacePage = () => {
25
26
  /** 加class name 为了方便做integration tests */
26
27
  const classId = "workspace-page";
@@ -232,7 +233,7 @@ const WorkspacePage = () => {
232
233
  React.createElement(Route, { path: `document`, element: React.createElement(DocumentPage, { root: id, route: `document`, exclude: ["Meeting", "MeetingsFolder"] }) }),
233
234
  React.createElement(Route, { path: `meeting`, element: React.createElement(DocumentPage, { root: id, route: `meeting`, defaultViewType: "MeetingsFolder" }) }),
234
235
  React.createElement(Route, { path: `workstatus/:status/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workstatus/:status/:active?` }) }),
235
- React.createElement(Route, { path: `worktype/:typesId/:active?`, element: React.createElement(Works, { state: state, path: `${url}/worktype/:typesId/:active?` }) }),
236
+ React.createElement(Route, { path: `worktype/:typesId/:active?`, element: React.createElement(WorktypeWorksDashBoard, { state: state, path: `${url}/worktype/:typesId/:active?` }) }),
236
237
  React.createElement(Route, { path: `workdue/:dueDate/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workdue/:dueDate/:active?` }) }),
237
238
  React.createElement(Route, { path: `setting`, element: React.createElement(SettingPage, { id: id }) }),
238
239
  React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: `home` }) }))));