@voplus/morpho-workspace 10.0.35 → 10.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/es/components/TeamTaskList/index.js +1 -2
  2. package/es/components/TeamTaskList/index.js.map +1 -1
  3. package/es/modules/meeting/components/AgendaList/index.css +0 -8
  4. package/es/modules/meeting/components/AgendaList/index.js +5 -9
  5. package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
  6. package/es/modules/my-document/DocumentTableGroup/DocumentSection.js +2 -2
  7. package/es/modules/my-document/DocumentTableGroup/DocumentSection.js.map +1 -1
  8. package/es/modules/my-document/SectionTemplate/DocumentTableUI/TableCell.js +2 -2
  9. package/es/modules/my-document/SectionTemplate/DocumentTableUI/TableCell.js.map +1 -1
  10. package/es/modules/my-document/SectionTemplate/DocumentTableUI/index.css +3 -0
  11. package/es/modules/my-document/SectionTemplate/GridUI/GridItem.js +1 -1
  12. package/es/modules/my-document/SectionTemplate/GridUI/GridItem.js.map +1 -1
  13. package/es/modules/notification/components/NotificationTableList/index.js +2 -2
  14. package/es/modules/notification/components/NotificationTableList/index.js.map +1 -1
  15. package/es/modules/notification-workspace/components/NotificationList/index.js +2 -2
  16. package/es/modules/notification-workspace/components/NotificationList/index.js.map +1 -1
  17. package/es/modules/tasks/components/TaskCheckDoneTab/index.js +2 -2
  18. package/es/modules/tasks/components/TaskCheckDoneTab/index.js.map +1 -1
  19. package/es/modules/tasks/pages/TaskList/index.js +14 -13
  20. package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
  21. package/es/modules/work/components/WorkList/index.js +2 -2
  22. package/es/modules/work/components/WorkList/index.js.map +1 -1
  23. package/es/modules/work/components/WorkTableCard/TableCellDetail.js +7 -53
  24. package/es/modules/work/components/WorkTableCard/TableCellDetail.js.map +1 -1
  25. package/es/modules/work/components/WorkTableCard/index.d.ts +6 -0
  26. package/es/modules/work/components/WorkTableCard/index.js +2 -0
  27. package/es/modules/work/components/WorkTableCard/index.js.map +1 -1
  28. package/es/modules/work/components/WorkTableListCardPage/index.d.ts +2 -1
  29. package/es/modules/work/components/WorkTableListCardPage/index.js +2 -3
  30. package/es/modules/work/components/WorkTableListCardPage/index.js.map +1 -1
  31. package/es/modules/work/work-type/pages/WorkTypePage/WorkPageCard.js +2 -7
  32. package/es/modules/work/work-type/pages/WorkTypePage/WorkPageCard.js.map +1 -1
  33. package/es/obsolete/NotificationList2/index.js +13 -9
  34. package/es/obsolete/NotificationList2/index.js.map +1 -1
  35. package/es/obsolete/space/components/Tasks/index.js +36 -17
  36. package/es/obsolete/space/components/Tasks/index.js.map +1 -1
  37. package/package.json +1 -1
  38. package/es/modules/work/components/WorkTableListCardPage/index.css +0 -43
  39. package/es/modules/work/components/WorkTaskList/index.css +0 -5
  40. package/es/modules/work/components/WorkTaskList/index.d.ts +0 -5
  41. package/es/modules/work/components/WorkTaskList/index.js +0 -61
  42. package/es/modules/work/components/WorkTaskList/index.js.map +0 -1
  43. package/es/modules/work/components/WorkTaskList/state.d.ts +0 -14
  44. package/es/modules/work/components/WorkTaskList/state.js +0 -23
  45. package/es/modules/work/components/WorkTaskList/state.js.map +0 -1
  46. package/es/modules/work/components/WorkTasksTab/index.css +0 -3
  47. package/es/modules/work/components/WorkTasksTab/index.d.ts +0 -6
  48. package/es/modules/work/components/WorkTasksTab/index.js +0 -17
  49. package/es/modules/work/components/WorkTasksTab/index.js.map +0 -1
  50. package/es/obsolete/WorkQATab/index.css +0 -14
  51. package/es/obsolete/WorkQATab/index.d.ts +0 -9
  52. package/es/obsolete/WorkQATab/index.js +0 -35
  53. package/es/obsolete/WorkQATab/index.js.map +0 -1
@@ -1,23 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { action, makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor() {
5
- Object.defineProperty(this, "addAble", {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value: false
10
- });
11
- makeObservable(this);
12
- }
13
- clearAdd() {
14
- this.addAble = false;
15
- }
16
- }
17
- __decorate([
18
- observable
19
- ], State.prototype, "addAble", void 0);
20
- __decorate([
21
- action
22
- ], State.prototype, "clearAdd", null);
23
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTaskList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAY1D,MAAM,OAAO,KAAK;IAGjB;QAFmB;;;;mBAAU,KAAK;WAAC;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGM,QAAQ;QACd,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACtB,CAAC;CACD;AAVmB;IAAlB,UAAU;sCAAwB;AAO5B;IADN,MAAM;qCAGN"}
@@ -1,3 +0,0 @@
1
- .work-tasks-tab {
2
- height: 100%;
3
- }
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- import "./index.css";
3
- declare const WorkTasksTab: (props: {
4
- id: string;
5
- }) => React.JSX.Element;
6
- export default WorkTasksTab;
@@ -1,17 +0,0 @@
1
- import React, { useState } from "react";
2
- import { observe } from "@voplus/morpho-ui";
3
- import { Scrollbars } from "react-custom-scrollbars-2";
4
- import TaskQuickViewDialog from "../../../tasks/components/TaskQuickViewDialog";
5
- import WorkTaskList from "../WorkTaskList";
6
- import "./index.css";
7
- const WorkTasksTab = (props) => {
8
- const { id } = props;
9
- const [visible, setVisible] = useState(false);
10
- return observe(() => (React.createElement("div", { className: "work-tasks-tab" },
11
- React.createElement(Scrollbars, { autoHide: true },
12
- React.createElement(WorkTaskList, { parentId: id, Title: "My Tasks", roles: true, onClickItem: () => setVisible(true) }),
13
- React.createElement(WorkTaskList, { parentId: id, Title: "All Tasks", onClickItem: () => setVisible(true) }),
14
- React.createElement(TaskQuickViewDialog, { id: id, visible: visible, onCancel: () => setVisible(false) })))));
15
- };
16
- export default WorkTasksTab;
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTasksTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,mBAAmB,MAAM,+CAA+C,CAAC;AAChF,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,aAAa,CAAC;AAErB,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,gBAAgB;QAC/B,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,YAAY,IAAC,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAC,UAAU,EAAC,KAAK,QAAC,WAAW,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,GAAI;YAC1F,oBAAC,YAAY,IAAC,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAC,WAAW,EAAC,WAAW,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,GAAI;YACrF,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CACxE,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,14 +0,0 @@
1
- .work-qa-tab {
2
- height: 100%;
3
- h3 {
4
- padding: 10px 20px;
5
- display: flex;
6
- align-items: center;
7
- justify-content: space-between;
8
- margin-bottom: 0;
9
- .anticon-plus {
10
- color: #1ea7fd;
11
- cursor: pointer;
12
- }
13
- }
14
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * workTabs 直接改用 WorkErrorList
3
- */
4
- import React from "react";
5
- import "./index.css";
6
- declare const WorkQATab: (props: {
7
- id: string;
8
- }) => React.JSX.Element;
9
- export default WorkQATab;
@@ -1,35 +0,0 @@
1
- /**
2
- * workTabs 直接改用 WorkErrorList
3
- */
4
- import React, { useState } from "react";
5
- import { observe, useAsideContentContext } from "@voplus/morpho-ui";
6
- import NewWorkErrorDialog from "../../modules/work/work-error/components/NewWorkErrorDialog";
7
- // import { PlusOutlined } from "@ant-design/icons";
8
- import { Scrollbars } from "react-custom-scrollbars-2";
9
- import TaskPropertiesView from "../../modules/tasks/components/TaskPropertiesView";
10
- import WorkErrorPropertiesView from "../../modules/work/work-error/components/WorkErrorPropertiesView";
11
- import "./index.css";
12
- import { useWork } from "../../data/work";
13
- const WorkQATab = (props) => {
14
- const { id } = props;
15
- const [visible, setVisible] = useState(false);
16
- const asideContext = useAsideContentContext();
17
- const work = useWork(props.id);
18
- return observe(() => { var _a; return (React.createElement("div", { className: "work-qa-tab" },
19
- React.createElement(Scrollbars, { autoHide: true },
20
- React.createElement("div", { className: "work-audit-tasks" }),
21
- React.createElement("div", { className: "work-errors" })),
22
- visible && (React.createElement(NewWorkErrorDialog, { workId: id, workTypeId: (_a = work.workType) === null || _a === void 0 ? void 0 : _a.id, onCancel: () => setVisible(false), onSubmitSave: () => setVisible(false) })))); });
23
- /** work error onclick item */
24
- function onClickItem(id) {
25
- var _a;
26
- asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(WorkErrorPropertiesView, { id: id, workTypeId: (_a = work.workType) === null || _a === void 0 ? void 0 : _a.id }), {
27
- span: 12,
28
- });
29
- }
30
- function onClickWorkTaskItem(id) {
31
- asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(TaskPropertiesView, { id: id }), { span: 12 });
32
- }
33
- };
34
- export default WorkQATab;
35
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/WorkQATab/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,kBAAkB,MAAM,6DAA6D,CAAC;AAC7F,oDAAoD;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AAEnF,OAAO,uBAAuB,MAAM,kEAAkE,CAAC;AAEvG,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE,kBAAC,CACpB,6BAAK,SAAS,EAAE,aAAa;QAC5B,oBAAC,UAAU,IAAC,QAAQ;YACnB,6BAAK,SAAS,EAAC,kBAAkB,GAM3B;YACN,6BAAK,SAAS,EAAC,aAAa,GAKtB,CACM;QACZ,OAAO,IAAI,CACX,oBAAC,kBAAkB,IAClB,MAAM,EAAE,EAAE,EACV,UAAU,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAG,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GACpC,CACF,CACI,CACN,GAAA,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,WAAW,CAAC,EAAU;;QAC9B,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,GAAI,EAAE;YAC3F,IAAI,EAAE,EAAE;SACR,CAAC,CAAC;IACJ,CAAC;IAED,SAAS,mBAAmB,CAAC,EAAU;QACtC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}