@voplus/morpho-workspace 6.0.26 → 6.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/work/components/WorkCashReport/index.js +5 -2
- package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/state.d.ts +1 -2
- package/es/modules/work/components/WorkCashReport/state.js +2 -8
- package/es/modules/work/components/WorkCashReport/state.js.map +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.d.ts +0 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +14 -11
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +20 -13
- package/es/modules/workspace/pages/WorkspacePage/index.js +11 -13
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/package.json +1 -1
@@ -15,8 +15,11 @@ import styles from "./index.less";
|
|
15
15
|
const WorkCashReport = (props) => {
|
16
16
|
const list = useCreateListDataState();
|
17
17
|
const store = useWorkStore();
|
18
|
-
const [state] = useState(new State(
|
19
|
-
useEffect(() =>
|
18
|
+
const [state] = useState(new State(store));
|
19
|
+
useEffect(() => {
|
20
|
+
state.filter[1].v1 = props.id;
|
21
|
+
state.onLoad();
|
22
|
+
}, [props.id]);
|
20
23
|
const onResetFilter = (item) => runInAction(() => { var _a; return onFilter((_a = state.filterV1Val) === null || _a === void 0 ? void 0 : _a.filter((v) => v !== item)); });
|
21
24
|
const onFilter = (filterV1Val) => runInAction(() => {
|
22
25
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB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CAAC,CAAE,OAAO,0CAAE,OAAO;wCACvC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,0CAAE,OAAO,CAAC,CAAC,EAAE,EAAE,CAAC;wCACvC,CAAC,CAAC,EAAE,CAAC,CACN,CAAC;gCACH,CAAC,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,GAClC,CACG,CACD,CACyB;gBAEhC,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,oBAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM;wBACvC,oBAAC,sBAAsB,IAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAI,CACtC,CACN,CACD,CACoB,CAC3B,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { WorkStore, IWorkReport } from "../../../../data/work";
|
2
2
|
import { FilterOption } from "@voplus/morpho-data";
|
3
3
|
export declare class State {
|
4
|
-
private worktypeId;
|
5
4
|
private store;
|
6
5
|
loading: boolean;
|
7
6
|
filterV1Val: string[];
|
@@ -10,7 +9,7 @@ export declare class State {
|
|
10
9
|
date: string;
|
11
10
|
total: number;
|
12
11
|
}[];
|
13
|
-
constructor(
|
12
|
+
constructor(store: WorkStore);
|
14
13
|
onLoad(filterOption?: FilterOption[]): void;
|
15
14
|
loadCashList(workReport: IWorkReport): void;
|
16
15
|
}
|
@@ -2,13 +2,7 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { makeObservable, observable, action } from "mobx";
|
3
3
|
import dayjs from "dayjs";
|
4
4
|
export class State {
|
5
|
-
constructor(
|
6
|
-
Object.defineProperty(this, "worktypeId", {
|
7
|
-
enumerable: true,
|
8
|
-
configurable: true,
|
9
|
-
writable: true,
|
10
|
-
value: worktypeId
|
11
|
-
});
|
5
|
+
constructor(store) {
|
12
6
|
Object.defineProperty(this, "store", {
|
13
7
|
enumerable: true,
|
14
8
|
configurable: true,
|
@@ -38,7 +32,7 @@ export class State {
|
|
38
32
|
l: "And",
|
39
33
|
v1: JSON.stringify(this.filterV1Val),
|
40
34
|
},
|
41
|
-
{ c: "WorkType", o: "=", l: "And", v1:
|
35
|
+
{ c: "WorkType", o: "=", l: "And", v1: "" },
|
42
36
|
]
|
43
37
|
});
|
44
38
|
// 柱状图的数据列表
|
@@ -1 +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,
|
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,KAAgB;QAAxB;;;;mBAAQ,KAAK;WAAW;QAjBxB;;;;mBAAU,KAAK;WAAC;QAEhB;;;;mBAAwB,CAAC,QAAQ,CAAC;WAAC;QAEnC;;;;mBAAyB;gBACpC;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;iBACpC;gBACD,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE;aAC3C;WAAC;QAEF,WAAW;QACC;;;;mBAA8C,EAAE;WAAC;QAG5D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,MAAM,CAAC,YAA6B;QAClD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,IAAI,CAAC,KAAK;aACR,cAAc,CAAC,EAAE,OAAO,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CAAC,MAAM,EAAE,CAAC;aACxD,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;aACrC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IACzC,CAAC;IAED,qBAAqB;IACN,YAAY,CAAC,UAAuB;;QAClD,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QAEnB,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,KAAK,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAC5B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;YACtD,KAAK,EAAE,CAAC,CAAC,KAAK;SACd,CAAC,CACF,CAAC;IACH,CAAC;CACD;AAzCY;IAAX,UAAU;sCAAiB;AAEhB;IAAX,UAAU;0CAAoC;AAEnC;IAAX,UAAU;qCAQT;AAGU;IAAX,UAAU;uCAAkD;AAM9C;IAAd,MAAM;mCAON;AAGc;IAAd,MAAM;yCASN"}
|
@@ -1,12 +1,13 @@
|
|
1
|
-
import "./index.less";
|
2
|
-
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
3
1
|
import React, { useState } from "react";
|
2
|
+
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
4
3
|
import { useWorkspace, useWorkspaceStore } from "../../../../data/workspace";
|
5
|
-
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
6
4
|
import { State } from "./state";
|
5
|
+
import { Card } from "antd";
|
6
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
7
7
|
import WorkTypeCardList from "../../../work/work-type/components/WorkTypeIconList";
|
8
8
|
import WorkTypePropertiesView from "../../../work/work-type/components/WorkTypePropertiesView";
|
9
9
|
import WorkspaceCompletedWorksChart from "../../controls/WorkspaceCompletedWorksChart";
|
10
|
+
import styles from "./index.less";
|
10
11
|
const WorkspaceDefaultView = (props) => {
|
11
12
|
const { id } = props;
|
12
13
|
const store = useWorkspaceStore();
|
@@ -14,14 +15,16 @@ const WorkspaceDefaultView = (props) => {
|
|
14
15
|
const [asideContext] = useState(AsideContent.createContext());
|
15
16
|
const workspace = useWorkspace(id);
|
16
17
|
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
17
|
-
React.createElement("div", { className: "
|
18
|
-
React.createElement("div", { className: "workspace-header" },
|
19
|
-
React.createElement("div",
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
React.createElement("div", { className: "
|
24
|
-
React.createElement(
|
18
|
+
React.createElement("div", { className: styles["workspace-default-view"] },
|
19
|
+
React.createElement("div", { className: "workspace-header-name text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate" },
|
20
|
+
React.createElement(InlineEdit, { defaultValue: workspace.name, content: (v) => React.createElement("div", null, workspace.name), onSave: (value) => state.save(value, workspace.name, { Name: value }) })),
|
21
|
+
React.createElement("div", { className: "completed-works-report" },
|
22
|
+
React.createElement(Card, null,
|
23
|
+
React.createElement(WorkspaceCompletedWorksChart, { id: id }))),
|
24
|
+
React.createElement("div", { className: "worktype-icon-list" },
|
25
|
+
React.createElement("div", { className: "worktype-icon-list-title" }, "Work Types"),
|
26
|
+
React.createElement("div", { className: "my-workSpaces" },
|
27
|
+
React.createElement(WorkTypeCardList, { workspaceId: id, onItemClick: onItemClick })))))));
|
25
28
|
function onItemClick(item) {
|
26
29
|
asideContext.openAside(React.createElement(WorkTypePropertiesView, { id: item.id }), { span: 12 });
|
27
30
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/index.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,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,gBAAgB,MAAM,qDAAqD,CAAC;AACnF,OAAO,sBAAsB,MAAM,2DAA2D,CAAC;AAC/F,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,oBAAoB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACtD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;IAC/C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GA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20px;
|
11
|
+
|
12
|
+
.ant-card-body {
|
13
|
+
padding: 0;
|
14
|
+
}
|
5
15
|
}
|
6
|
-
|
7
|
-
|
8
|
-
|
16
|
+
|
17
|
+
.worktype-icon-list {
|
18
|
+
height: calc(100% - 376px);
|
19
|
+
|
20
|
+
.worktype-icon-list-title {
|
21
|
+
padding: 20px 20px 0;
|
9
22
|
font-size: 24px;
|
10
23
|
color: #000;
|
11
24
|
font-weight: 500;
|
12
25
|
word-break: break-all;
|
13
|
-
display: flex;
|
14
|
-
align-items: center;
|
15
|
-
justify-content: space-between;
|
16
|
-
}
|
17
|
-
.avatar-list-view {
|
18
|
-
margin-top: 10px;
|
19
26
|
}
|
20
27
|
}
|
21
28
|
}
|
22
|
-
}
|
29
|
+
}
|
@@ -1,27 +1,27 @@
|
|
1
|
+
import React, { useMemo, useState } from "react";
|
1
2
|
import { Badge, Menu } from "antd";
|
2
3
|
import { Navigate, Route, Routes, useParams, useResolvedPath } from "react-router-dom";
|
3
|
-
import React, { useEffect, useMemo, useState } from "react";
|
4
4
|
import { faAlignLeft, faCalendarCheck, faCalendarDay, faCalendarEdit, faFolders, faHome, faGear, } from "@fortawesome/pro-light-svg-icons";
|
5
|
-
import { observe, useRenderOnChange, NavPanel } from "@voplus/morpho-ui";
|
5
|
+
import { observe, useRenderOnChange, NavPanel, useAutorunEffect } from "@voplus/morpho-ui";
|
6
6
|
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
7
|
-
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
8
7
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
9
|
-
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
10
|
-
import Scrollbars from "react-custom-scrollbars-2";
|
11
8
|
import { State } from "./state";
|
12
|
-
import Works from "../../../work/pages/WorkListPage";
|
13
|
-
import WorkspaceDefaultView from "../WorkspaceDefaultView";
|
14
|
-
import WorkspaceMenu from "../../controls/WorkspaceMenu";
|
15
|
-
import classnames from "classnames";
|
16
9
|
import { faFileAlt } from "@fortawesome/pro-regular-svg-icons";
|
17
10
|
import { runInAction } from "mobx";
|
18
|
-
import styles from "./index.less";
|
19
11
|
import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
20
12
|
import { useWorkListEffect } from "../../../../data/work";
|
21
13
|
import { useWorkTypeListEffect } from "../../../../data/worktype";
|
22
14
|
import { useWorkspace } from "../../../../data/workspace";
|
23
15
|
import SettingPage from "./SettingPage";
|
16
|
+
import Scrollbars from "react-custom-scrollbars-2";
|
17
|
+
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
18
|
+
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
24
19
|
import WorktypeWorksDashBoard from "./WorkTypeWorksDashBoard";
|
20
|
+
import Works from "../../../work/pages/WorkListPage";
|
21
|
+
import WorkspaceDefaultView from "../WorkspaceDefaultView";
|
22
|
+
import WorkspaceMenu from "../../controls/WorkspaceMenu";
|
23
|
+
import classnames from "classnames";
|
24
|
+
import styles from "./index.less";
|
25
25
|
const WorkspacePage = () => {
|
26
26
|
/** 加class name 为了方便做integration tests */
|
27
27
|
const classId = "workspace-page";
|
@@ -33,9 +33,7 @@ const WorkspacePage = () => {
|
|
33
33
|
const layout = useLayout();
|
34
34
|
const [timer, setTimer] = useState();
|
35
35
|
const state = useMemo(() => new State(id, layout, url), []);
|
36
|
-
|
37
|
-
runInAction(() => (tab.title = "Work Space"));
|
38
|
-
}, [state.menuKey]);
|
36
|
+
useAutorunEffect(() => (tab.title = workspace.name));
|
39
37
|
useWorkTypeListEffect(null, (result) => runInAction(() => {
|
40
38
|
state.workTypeList = result;
|
41
39
|
return result === null || result === void 0 ? void 0 : result.map((item, index) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file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