@voplus/morpho-workspace 5.0.51 → 5.0.52
Sign up to get free protection for your applications and to get access to all the features.
- package/es/data/workspace/interfaces.d.ts +10 -0
- package/es/data/workspace/types.d.ts +4 -0
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +2 -21
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.d.ts +0 -3
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.js +0 -19
- package/es/modules/workspace/pages/WorkspaceDefaultView/state.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/SettingPage.d.ts +6 -0
- package/es/modules/workspace/pages/WorkspacePage/SettingPage.js +45 -0
- package/es/modules/workspace/pages/WorkspacePage/SettingPage.js.map +1 -0
- package/es/modules/workspace/pages/WorkspacePage/index.js +9 -1
- package/es/modules/workspace/pages/WorkspacePage/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/index.less +8 -0
- package/package.json +1 -1
@@ -23,6 +23,10 @@ export type EditWorkspaceDataOptions = {
|
|
23
23
|
Status?: string;
|
24
24
|
/** list of member unit ids */
|
25
25
|
MemberIds?: string[];
|
26
|
+
Settings?: {
|
27
|
+
Members?: string[];
|
28
|
+
Owners?: string[];
|
29
|
+
};
|
26
30
|
};
|
27
31
|
export type EditWorkspaceOptions = {
|
28
32
|
data: EditWorkspaceDataOptions;
|
@@ -1,46 +1,27 @@
|
|
1
1
|
import "./index.less";
|
2
2
|
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
3
|
-
import React, {
|
3
|
+
import React, { useState } from "react";
|
4
4
|
import { useWorkspace, useWorkspaceStore } from "../../../../data/workspace";
|
5
5
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
6
|
-
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
7
6
|
import { State } from "./state";
|
8
7
|
import WorkTypeCardList from "../../../work/work-type/components/WorkTypeIconList";
|
9
8
|
import WorkTypePropertiesView from "../../../work/work-type/components/WorkTypePropertiesView";
|
10
9
|
import WorkspaceCompletedWorksChart from "../../controls/WorkspaceCompletedWorksChart";
|
11
|
-
import { runInAction } from "mobx";
|
12
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
13
|
-
import { useDocumentStore } from "@voplus/morpho-document-core";
|
14
10
|
const WorkspaceDefaultView = (props) => {
|
15
11
|
const { id } = props;
|
16
12
|
const store = useWorkspaceStore();
|
17
|
-
const docStore = useDocumentStore();
|
18
13
|
const [state] = useState(new State(id, store));
|
19
14
|
const [asideContext] = useState(AsideContent.createContext());
|
20
|
-
const { user } = useApplicationContext();
|
21
15
|
const workspace = useWorkspace(id, { reload: false });
|
22
|
-
useEffect(() => {
|
23
|
-
runInAction(async () => {
|
24
|
-
const doc = await docStore.loadAccess(id);
|
25
|
-
state.update(doc);
|
26
|
-
});
|
27
|
-
}, [id]);
|
28
16
|
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
29
17
|
React.createElement("div", { className: "module-detail-view workspace-default-view" },
|
30
18
|
React.createElement("div", { className: "workspace-header" },
|
31
19
|
React.createElement("div", { className: "workspace-name" },
|
32
|
-
React.createElement(InlineEdit, { defaultValue: workspace.name, content: (v) => React.createElement("div", null, workspace.name), onSave: (value) => state.save(value, workspace.name, { Name: value }) })),
|
33
|
-
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: state.members, multiple: true, onChange: onChange })),
|
20
|
+
React.createElement(InlineEdit, { defaultValue: workspace.name, content: (v) => React.createElement("div", null, workspace.name), onSave: (value) => state.save(value, workspace.name, { Name: value }) }))),
|
34
21
|
React.createElement(WorkspaceCompletedWorksChart, { id: id }),
|
35
22
|
React.createElement("h3", null, "Work Types"),
|
36
23
|
React.createElement("div", { className: "my-workSpaces" },
|
37
24
|
React.createElement(WorkTypeCardList, { workspaceId: id, onItemClick: onItemClick }))))));
|
38
|
-
async function onChange(ids, members) {
|
39
|
-
await store.edit(id, { data: { MemberIds: ids }, error: "message" });
|
40
|
-
runInAction(() => {
|
41
|
-
state.members = members;
|
42
|
-
});
|
43
|
-
}
|
44
25
|
function onItemClick(item) {
|
45
26
|
asideContext.openAside(React.createElement(WorkTypePropertiesView, { id: item.id }), { span: 12 });
|
46
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAE/E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,gBAAgB,MAAM,qDAAqD,CAAC;AACnF,OAAO,sBAAsB,MAAM,2DAA2D,CAAC;AAC/F,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AAEvF,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,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAEtD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;QAClC,6BAAK,SAAS,EAAC,2CAA2C;YACzD,6BAAK,SAAS,EAAC,kBAAkB;gBAChC,6BAAK,SAAS,EAAC,gBAAgB;oBAC9B,oBAAC,UAAU,IACV,YAAY,EAAE,SAAS,CAAC,IAAI,EAC5B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAM,SAAS,CAAC,IAAI,CAAO,EAC3C,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GACzE,CACG,CACD;YACN,oBAAC,4BAA4B,IAAC,EAAE,EAAE,EAAE,GAAI;YACxC,6CAAmB;YAEnB,6BAAK,SAAS,EAAC,eAAe;gBAC7B,oBAAC,gBAAgB,IAAC,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,GAAI,CAC1D,CACD,CACQ,CACf,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,IAAe;QACnC,YAAY,CAAC,SAAS,CAAC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { IDocumentAccessSettings } from "@voplus/morpho-document-core";
|
2
1
|
import { WorkspaceStore } from "../../../../data/workspace";
|
3
2
|
export declare class State {
|
4
3
|
private id;
|
@@ -7,9 +6,7 @@ export declare class State {
|
|
7
6
|
name: string;
|
8
7
|
/** Visible of Edit name */
|
9
8
|
editVisible: boolean;
|
10
|
-
members: any[];
|
11
9
|
constructor(id: string, store: WorkspaceStore);
|
12
|
-
update(doc: IDocumentAccessSettings): void;
|
13
10
|
/** edit save */
|
14
11
|
save(v: any, name: any, params: Record<string, unknown>): void;
|
15
12
|
}
|
@@ -28,21 +28,8 @@ export class State {
|
|
28
28
|
writable: true,
|
29
29
|
value: false
|
30
30
|
});
|
31
|
-
Object.defineProperty(this, "members", {
|
32
|
-
enumerable: true,
|
33
|
-
configurable: true,
|
34
|
-
writable: true,
|
35
|
-
value: []
|
36
|
-
});
|
37
31
|
makeObservable(this);
|
38
32
|
}
|
39
|
-
update(doc) {
|
40
|
-
this.members = [];
|
41
|
-
doc.includes.map(i => {
|
42
|
-
if (i.role === "Member")
|
43
|
-
this.members.push(i.contact);
|
44
|
-
});
|
45
|
-
}
|
46
33
|
/** edit save */
|
47
34
|
save(v, name, params) {
|
48
35
|
if ((v === null || v === void 0 ? void 0 : v.trim()) === name)
|
@@ -56,12 +43,6 @@ __decorate([
|
|
56
43
|
__decorate([
|
57
44
|
observable
|
58
45
|
], State.prototype, "editVisible", void 0);
|
59
|
-
__decorate([
|
60
|
-
observable
|
61
|
-
], State.prototype, "members", void 0);
|
62
|
-
__decorate([
|
63
|
-
action
|
64
|
-
], State.prototype, "update", null);
|
65
46
|
__decorate([
|
66
47
|
action
|
67
48
|
], State.prototype, "save", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAe,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAe,MAAM,MAAM,CAAC;AAGvE,MAAM,OAAO,KAAK;IAMjB,YAAoB,EAAU,EAAU,KAAqB;QAAjD;;;;mBAAQ,EAAE;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAgB;QAL7D,wBAAwB;QACL;;;;mBAAO,EAAE;WAAC;QAC7B,2BAA2B;QACR;;;;mBAAc,KAAK;WAAC;QAGtC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,gBAAgB;IAET,IAAI,CAAC,CAAM,EAAE,IAAS,EAAE,MAA+B;QAC7D,IAAI,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,EAAE,MAAK,IAAI;YAAE,OAAO;QAC/B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC9D,CAAC;CACD;AAdmB;IAAlB,UAAU;mCAAkB;AAEV;IAAlB,UAAU;0CAA4B;AAQhC;IADN,MAAM;iCAIN"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
3
|
+
import SettingPage from "@voplus/morpho-ui/es/controls/SettingPage";
|
4
|
+
import Setting from "@voplus/morpho-ui/es/controls/SettingPage/Setting";
|
5
|
+
import SettingSection from "@voplus/morpho-ui/es/controls/SettingPage/SettingSection";
|
6
|
+
import React from "react";
|
7
|
+
import { useWorkspace, useWorkspaceStore } from "../../../../data/workspace";
|
8
|
+
import "./index.less";
|
9
|
+
const WorkSpaceSettingPage = (props) => {
|
10
|
+
const store = useWorkspaceStore();
|
11
|
+
const wrokspace = useWorkspace(props.id);
|
12
|
+
return observe(() => {
|
13
|
+
var _a, _b, _c, _d;
|
14
|
+
return (React.createElement(SettingPage, { header: React.createElement(React.Fragment, null, "Setting"), className: "workSpace-setting-page" },
|
15
|
+
React.createElement(SettingSection, null,
|
16
|
+
React.createElement(Setting, { label: "Members" },
|
17
|
+
React.createElement(MentionList, { contacts: ((_a = wrokspace.settings) === null || _a === void 0 ? void 0 : _a.members) ? (_b = wrokspace.settings) === null || _b === void 0 ? void 0 : _b.members : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Members", onChange: (list) => {
|
18
|
+
const ids = [];
|
19
|
+
list.map((i) => ids.push(i.id));
|
20
|
+
onEdit({
|
21
|
+
Settings: {
|
22
|
+
Members: ids,
|
23
|
+
},
|
24
|
+
});
|
25
|
+
} })),
|
26
|
+
React.createElement(Setting, { label: "Owners" },
|
27
|
+
React.createElement(MentionList, { contacts: ((_c = wrokspace.settings) === null || _c === void 0 ? void 0 : _c.owners) ? (_d = wrokspace.settings) === null || _d === void 0 ? void 0 : _d.owners : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Owners", onChange: (list) => {
|
28
|
+
const ids = [];
|
29
|
+
list.map((i) => ids.push(i.id));
|
30
|
+
onEdit({
|
31
|
+
Settings: {
|
32
|
+
Owners: ids,
|
33
|
+
},
|
34
|
+
});
|
35
|
+
} })))));
|
36
|
+
});
|
37
|
+
function onEdit(data) {
|
38
|
+
store.edit(props.id, {
|
39
|
+
data: data,
|
40
|
+
error: "message",
|
41
|
+
});
|
42
|
+
}
|
43
|
+
};
|
44
|
+
export default WorkSpaceSettingPage;
|
45
|
+
//# sourceMappingURL=SettingPage.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SettingPage.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/SettingPage.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,OAAO,MAAM,mDAAmD,CAAC;AACxE,OAAO,cA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AAM,CAAC,CAAC,CAAC,EAAE,EACtE,OAAO,QACP,QAAQ,QACR,gBAAgB,EAAC,OAAO,EACxB,WAAW,EAAC,kBAAkB,EAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;4BAClB,MAAM,GAAG,GAAa,EAAE,CAAC;4BACzB,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAChC,MAAM,CAAC;gCACN,QAAQ,EAAE;oCACT,MAAM,EAAE,GAAG;iCACX;6BACD,CAAC,CAAC;wBACJ,CAAC,GACA,CACO,CACM,CACJ,CACd,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM,CAAC,IAAS;QACxB,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;YACpB,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Badge, Menu } from "antd";
|
2
2
|
import { Navigate, Route, Routes, useParams, useResolvedPath } from "react-router-dom";
|
3
3
|
import React, { useEffect, useMemo, useState } from "react";
|
4
|
-
import { faAlignLeft, faCalendarCheck, faCalendarDay, faCalendarEdit, faFolders, faHome, } from "@fortawesome/pro-light-svg-icons";
|
4
|
+
import { faAlignLeft, faCalendarCheck, faCalendarDay, faCalendarEdit, faFolders, faHome, faGear, } from "@fortawesome/pro-light-svg-icons";
|
5
5
|
import { observe, useRenderOnChange, NavPanel } from "@voplus/morpho-ui";
|
6
6
|
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
7
7
|
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
@@ -20,6 +20,7 @@ import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
20
20
|
import { useWorkListEffect } from "../../../../data/work";
|
21
21
|
import { useWorkTypeListEffect } from "../../../../data/worktype";
|
22
22
|
import { useWorkspace } from "../../../../data/workspace";
|
23
|
+
import SettingPage from "./SettingPage";
|
23
24
|
const WorkspacePage = () => {
|
24
25
|
/** 加class name 为了方便做integration tests */
|
25
26
|
const classId = "workspace-page";
|
@@ -219,6 +220,12 @@ const WorkspacePage = () => {
|
|
219
220
|
},
|
220
221
|
],
|
221
222
|
},
|
223
|
+
{
|
224
|
+
key: "/setting",
|
225
|
+
label: "Setting",
|
226
|
+
icon: React.createElement(FAIcon, { icon: faGear }),
|
227
|
+
className: classId + "-setting",
|
228
|
+
},
|
222
229
|
] })))),
|
223
230
|
React.createElement(Routes, null,
|
224
231
|
React.createElement(Route, { path: `home`, element: React.createElement(WorkspaceDefaultView, { id: id }) }),
|
@@ -227,6 +234,7 @@ const WorkspacePage = () => {
|
|
227
234
|
React.createElement(Route, { path: `workstatus/:status/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workstatus/:status/:active?` }) }),
|
228
235
|
React.createElement(Route, { path: `worktype/:typesId/:active?`, element: React.createElement(Works, { state: state, path: `${url}/worktype/:typesId/:active?` }) }),
|
229
236
|
React.createElement(Route, { path: `workdue/:dueDate/:active?`, element: React.createElement(Works, { state: state, path: `${url}/workdue/:dueDate/:active?` }) }),
|
237
|
+
React.createElement(Route, { path: `setting`, element: React.createElement(SettingPage, { id: id }) }),
|
230
238
|
React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: `home` }) }))));
|
231
239
|
});
|
232
240
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,K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