@voplus/morpho-workspace 5.0.8 → 5.0.10
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.
- package/es/modules/space/components/Works/index.js +1 -1
- package/es/modules/space/components/Works/index.js.map +1 -1
- package/es/modules/tasks/reports/TaskSummaryCard/index.less +5 -1
- package/es/modules/work/pages/WorkListPage/index.js +1 -1
- package/es/modules/work/pages/WorkListPage/index.js.map +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/WorkListPage.js.map +1 -1
- package/package.json +2 -2
@@ -9,7 +9,7 @@ const Works = (props) => {
|
|
9
9
|
const params = useParams();
|
10
10
|
const layout = useLayout();
|
11
11
|
return observe(() => (React.createElement(WorkList, { roles: true, dueDate: params.dueDate, active: params.active, onClickItem: (item) => {
|
12
|
-
layout.history.
|
12
|
+
layout.history.replace(generatePath(props.path, { dueDate: params.dueDate, active: item.id }));
|
13
13
|
}, onTotal: (total) => {
|
14
14
|
runInAction(() => {
|
15
15
|
props.state.workTotals[params.dueDate] = total;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/components/Works/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,KAAK,GAAG,CAAC,KAAqC,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,M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,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;YACjD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
@@ -9,7 +9,7 @@ const WorkListPage = (props) => {
|
|
9
9
|
const params = useParams();
|
10
10
|
const layout = useLayout();
|
11
11
|
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.typesId, dueDate: params.dueDate, workspaceId: params.id, onClickItem: (item) => {
|
12
|
-
layout.history.
|
12
|
+
layout.history.replace(generatePath(props.path, {
|
13
13
|
id: params.id,
|
14
14
|
status: params.status || "",
|
15
15
|
typesId: params.typesId || "",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/pages/WorkListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,YAAY,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC9D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IACR,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CA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AM,CAAC,OAAO,IAAI,EAAE;gBAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;aACf,CAAC,CACF,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;gBACrD,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC;YACjD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -10,7 +10,7 @@ const WorkListPage = (props) => {
|
|
10
10
|
const url = useResolvedPath("").pathname;
|
11
11
|
const layout = useLayout();
|
12
12
|
return observe(() => (React.createElement(WorkList, { status: params.status, active: params.active, typesId: params.id, onClickItem: (item) => {
|
13
|
-
layout.history.
|
13
|
+
layout.history.replace(generatePath(props.path, {
|
14
14
|
id: params.id,
|
15
15
|
status: params.status,
|
16
16
|
active: item.id,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/pages/WorkTypePage/WorkListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,E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,MAAM,EACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,EAAE,EAClB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;gBACxB,EAAE,EAAE,MAAM,CAAC,EAAG;gBACd,MAAM,EAAE,MAAM,CAAC,MAAO;gBACtB,MAAM,EAAE,IAAI,CAAC,EAAE;aACf,CAAC,CACF,CAAC;QACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,WAAW,CAAC,GAAG,EAAE;gBAChB,KAAK,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;YACtD,CAAC,CAAC,CAAC;QACJ,CAAC,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "5.0.
|
3
|
+
"version": "5.0.10",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"@types/react-beautiful-dnd": "^13.0.0",
|
49
49
|
"@voplus/morpho-client-test": "5.x",
|
50
50
|
"@voplus/morpho-build": "5.x",
|
51
|
-
"@voplus/morpho-storybook": "
|
51
|
+
"@voplus/morpho-storybook": "5.x",
|
52
52
|
"@voplus/morpho-test": "2.x",
|
53
53
|
"mockjs": "^1.1.0",
|
54
54
|
"react": "18.x",
|