@voplus/morpho-workspace 1.3.47 → 1.3.49
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/data/work/interfaces.d.ts +3 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +4 -6
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/state.js +2 -4
- package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +2 -4
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +2 -4
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +2 -4
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/index.js +6 -3
- package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
- package/es/modules/work/components/WorkItem/index.js +2 -4
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/components/WorkList/index.js +17 -9
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +12 -9
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.less +1 -9
- package/es/modules/workspace/components/WorkspaceCardList2/index.js +1 -18
- package/es/modules/workspace/components/WorkspaceCardList2/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceCardList2/state.d.ts +3 -1
- package/es/modules/workspace/components/WorkspaceCardList2/state.js +25 -9
- package/es/modules/workspace/components/WorkspaceCardList2/state.js.map +1 -1
- package/es/modules/worktype/components/WorkTypeProperties/index.js +1 -1
- package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -1
- package/es/pages/Space/components/TaskMenu/index.js +10 -6
- package/es/pages/Space/components/TaskMenu/index.js.map +1 -1
- package/es/pages/Space/components/WorkMenu/index.js +12 -8
- package/es/pages/Space/components/WorkMenu/index.js.map +1 -1
- package/es/pages/Space/components/WorkMenu/state.d.ts +3 -2
- package/es/pages/Space/components/WorkMenu/state.js +29 -12
- package/es/pages/Space/components/WorkMenu/state.js.map +1 -1
- package/es/pages/Space/components/Works/index.js +1 -1
- package/es/pages/Space/components/Works/index.js.map +1 -1
- package/es/pages/Space/pages/MySpace/index.less +34 -0
- package/es/pages/Space/pages/MySpace/state.d.ts +1 -20
- package/es/pages/Space/pages/MySpace/state.js +1 -176
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/package.json +1 -1
- package/es/controls/DocumentReference/index.d.ts +0 -6
- package/es/controls/DocumentReference/index.js +0 -14
- package/es/controls/DocumentReference/index.js.map +0 -1
- package/es/controls/DocumentReference/index.less +0 -17
- package/es/controls/UnitReference/index.d.ts +0 -8
- package/es/controls/UnitReference/index.js +0 -19
- package/es/controls/UnitReference/index.js.map +0 -1
- package/es/controls/UnitReference/index.less +0 -17
- package/es/pages/Space/components/TaskMenu/index.less +0 -10
- package/es/pages/Space/components/WorkMenu/index.less +0 -10
@@ -1,6 +1,5 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
2
|
import { action, computed, makeObservable, observable } from "mobx";
|
3
|
-
import moment from "moment";
|
4
3
|
export class State {
|
5
4
|
constructor(_layout, _url, user) {
|
6
5
|
Object.defineProperty(this, "_layout", {
|
@@ -59,7 +58,7 @@ export class State {
|
|
59
58
|
configurable: true,
|
60
59
|
writable: true,
|
61
60
|
value: {
|
62
|
-
|
61
|
+
requested: 0,
|
63
62
|
today: 0,
|
64
63
|
week: 0,
|
65
64
|
month: 0,
|
@@ -67,96 +66,6 @@ export class State {
|
|
67
66
|
due: 0,
|
68
67
|
}
|
69
68
|
});
|
70
|
-
Object.defineProperty(this, "todayFilter", {
|
71
|
-
enumerable: true,
|
72
|
-
configurable: true,
|
73
|
-
writable: true,
|
74
|
-
value: {
|
75
|
-
c: "DueDate",
|
76
|
-
o: "between",
|
77
|
-
l: "And",
|
78
|
-
v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
79
|
-
v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
|
80
|
-
}
|
81
|
-
});
|
82
|
-
Object.defineProperty(this, "weekFilter", {
|
83
|
-
enumerable: true,
|
84
|
-
configurable: true,
|
85
|
-
writable: true,
|
86
|
-
value: {
|
87
|
-
c: "DueDate",
|
88
|
-
o: "between",
|
89
|
-
l: "And",
|
90
|
-
v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
91
|
-
v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
|
92
|
-
}
|
93
|
-
});
|
94
|
-
Object.defineProperty(this, "monthFilter", {
|
95
|
-
enumerable: true,
|
96
|
-
configurable: true,
|
97
|
-
writable: true,
|
98
|
-
value: {
|
99
|
-
c: "DueDate",
|
100
|
-
o: "between",
|
101
|
-
l: "And",
|
102
|
-
v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
103
|
-
v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
104
|
-
}
|
105
|
-
});
|
106
|
-
// private unscheduledFilter: FilterOption = {
|
107
|
-
// c: "DueDate",
|
108
|
-
// o: "between",
|
109
|
-
// l: "And",
|
110
|
-
// v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
111
|
-
// v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
|
112
|
-
// };
|
113
|
-
Object.defineProperty(this, "dueFilter", {
|
114
|
-
enumerable: true,
|
115
|
-
configurable: true,
|
116
|
-
writable: true,
|
117
|
-
value: {
|
118
|
-
c: "DueDate",
|
119
|
-
o: "<",
|
120
|
-
l: "And",
|
121
|
-
v1: moment().format("YYYY-MM-DD HH:mm:ss"),
|
122
|
-
}
|
123
|
-
});
|
124
|
-
// private tNotStartedFilter: FilterOption = { c: "TaskStatus", o: "=", l: "And", v1: "NotStarted" };
|
125
|
-
// private tProgressFilter: FilterOption = { c: "TaskStatus", o: "=", l: "And", v1: "Progress" };
|
126
|
-
Object.defineProperty(this, "tCommonFilter", {
|
127
|
-
enumerable: true,
|
128
|
-
configurable: true,
|
129
|
-
writable: true,
|
130
|
-
value: {
|
131
|
-
c: "TaskStatus",
|
132
|
-
o: "contains",
|
133
|
-
l: "And",
|
134
|
-
v1: JSON.stringify(["NotStarted", "Progress"]),
|
135
|
-
}
|
136
|
-
});
|
137
|
-
Object.defineProperty(this, "tDraftFilter", {
|
138
|
-
enumerable: true,
|
139
|
-
configurable: true,
|
140
|
-
writable: true,
|
141
|
-
value: { c: "Status", o: "!=", l: "And", v1: "Draft" }
|
142
|
-
});
|
143
|
-
Object.defineProperty(this, "tMembersFilter", {
|
144
|
-
enumerable: true,
|
145
|
-
configurable: true,
|
146
|
-
writable: true,
|
147
|
-
value: {
|
148
|
-
c: "Members",
|
149
|
-
o: "contains",
|
150
|
-
l: "And",
|
151
|
-
v1: JSON.stringify([this.user.info.unit.id]),
|
152
|
-
}
|
153
|
-
});
|
154
|
-
Object.defineProperty(this, "wDraftFilter", {
|
155
|
-
enumerable: true,
|
156
|
-
configurable: true,
|
157
|
-
writable: true,
|
158
|
-
value: { c: "WorkStatus", o: "!=", l: "And", v1: "Draft" }
|
159
|
-
});
|
160
69
|
makeObservable(this);
|
161
70
|
}
|
162
71
|
navigate(key, rest) {
|
@@ -175,75 +84,6 @@ export class State {
|
|
175
84
|
this.notificationTotals[oldStatus.toLowerCase()]--;
|
176
85
|
this.notificationTotals[status.toLowerCase()]++;
|
177
86
|
}
|
178
|
-
/** works list DueDate(Requester) Options */
|
179
|
-
get wRequester() {
|
180
|
-
return {
|
181
|
-
Total: true,
|
182
|
-
List: false,
|
183
|
-
Filters: [{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Requester"]) }],
|
184
|
-
};
|
185
|
-
}
|
186
|
-
/** works list DueDate(today) Options */
|
187
|
-
get wToday() {
|
188
|
-
return {
|
189
|
-
Total: true,
|
190
|
-
List: false,
|
191
|
-
Filters: [
|
192
|
-
this.todayFilter,
|
193
|
-
this.wDraftFilter,
|
194
|
-
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
195
|
-
],
|
196
|
-
};
|
197
|
-
}
|
198
|
-
/** works list DueDate(week) Options */
|
199
|
-
get wWeek() {
|
200
|
-
return {
|
201
|
-
Total: true,
|
202
|
-
List: false,
|
203
|
-
Filters: [
|
204
|
-
this.weekFilter,
|
205
|
-
this.wDraftFilter,
|
206
|
-
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
207
|
-
],
|
208
|
-
};
|
209
|
-
}
|
210
|
-
/** works list DueDate(month) Options */
|
211
|
-
get wMonth() {
|
212
|
-
return {
|
213
|
-
Total: true,
|
214
|
-
List: false,
|
215
|
-
Filters: [
|
216
|
-
this.monthFilter,
|
217
|
-
this.wDraftFilter,
|
218
|
-
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
219
|
-
],
|
220
|
-
};
|
221
|
-
}
|
222
|
-
/** works list DueDate(unscheduled) Options */
|
223
|
-
// @computed
|
224
|
-
// public get wUnscheduled(): LoadDocumentListOptions {
|
225
|
-
// return {
|
226
|
-
// Total: true,
|
227
|
-
// List: false,
|
228
|
-
// Filters: [
|
229
|
-
// this.unscheduledFilter,
|
230
|
-
// this.wDraftFilter,
|
231
|
-
// { c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
232
|
-
// ],
|
233
|
-
// };
|
234
|
-
// }
|
235
|
-
/** works list DueDate(unscheduled) Options */
|
236
|
-
get WDue() {
|
237
|
-
return {
|
238
|
-
Total: true,
|
239
|
-
List: false,
|
240
|
-
Filters: [
|
241
|
-
this.dueFilter,
|
242
|
-
this.wDraftFilter,
|
243
|
-
{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Owner"]) },
|
244
|
-
],
|
245
|
-
};
|
246
|
-
}
|
247
87
|
/** Notifications list Options */
|
248
88
|
get nUnreadOptions() {
|
249
89
|
return {
|
@@ -301,21 +141,6 @@ __decorate([
|
|
301
141
|
__decorate([
|
302
142
|
action
|
303
143
|
], State.prototype, "updateNotificationTotal", null);
|
304
|
-
__decorate([
|
305
|
-
computed
|
306
|
-
], State.prototype, "wRequester", null);
|
307
|
-
__decorate([
|
308
|
-
computed
|
309
|
-
], State.prototype, "wToday", null);
|
310
|
-
__decorate([
|
311
|
-
computed
|
312
|
-
], State.prototype, "wWeek", null);
|
313
|
-
__decorate([
|
314
|
-
computed
|
315
|
-
], State.prototype, "wMonth", null);
|
316
|
-
__decorate([
|
317
|
-
computed
|
318
|
-
], State.prototype, "WDue", null);
|
319
144
|
__decorate([
|
320
145
|
computed
|
321
146
|
], State.prototype, "nUnreadOptions", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAQpE,MAAM,OAAO,KAAK;IA8BjB,YAAoB,OAAsB,EAAU,IAAY,EAAU,IAAiB;;;;;mBAAvE;;;;;;mBAAgC;;;;;;mBAAsB;;QA7B9D;;;;mBAAiB,SAAiC;WAAC;QAC/D,0CAA0C;QAC9B;;;;mBAA4B;gBACvC,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,CAAC;aACZ;WAAC;QAEF,sCAAsC;QAC1B;;;;mBAAoB;gB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OR;AAID;IADC,QAAQ;yCAOR;AAID;IADC,QAAQ;0CAOR;AAID;IADC,QAAQ;8CAOR"}
|
package/package.json
CHANGED
@@ -1,14 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
3
|
-
import { useDocument } from "@voplus/morpho-document-core";
|
4
|
-
import DocumentQuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
5
|
-
import "./index.less";
|
6
|
-
const DocumentReference = (props) => {
|
7
|
-
const [visible, setVisible] = useState(false);
|
8
|
-
const doc = useDocument(props.id);
|
9
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
10
|
-
React.createElement("span", { className: "prosemirror-mention-node", onClick: () => setVisible(true) }, `@${doc.name}`),
|
11
|
-
React.createElement(DocumentQuickViewDialog, { id: props.id, visible: visible, onCancel: () => setVisible(false) }))));
|
12
|
-
};
|
13
|
-
export default DocumentReference;
|
14
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/DocumentReference/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,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACnD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,GAAG,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAElC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,8BACC,SAAS,EAAC,0BAA0B,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAC9B,IAAI,GAAG,CAAC,IAAI,EAAE,CAAQ;QACxB,oBAAC,uBAAuB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CAC9E,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
:global {
|
2
|
-
.prosemirror-mention-node {
|
3
|
-
color: rgb(66, 82, 110);
|
4
|
-
cursor: pointer;
|
5
|
-
line-height: 1.714;
|
6
|
-
font-size: 1em;
|
7
|
-
font-weight: normal;
|
8
|
-
word-break: break-word;
|
9
|
-
background: rgba(9, 30, 66, 0.08);
|
10
|
-
border-width: 1px;
|
11
|
-
border-style: solid;
|
12
|
-
border-color: transparent;
|
13
|
-
border-image: initial;
|
14
|
-
border-radius: 20px;
|
15
|
-
padding: 0px 0.3em 2px 0.23em;
|
16
|
-
}
|
17
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import UnitQuickView from "@voplus/morpho-org/es/components/UnitQuickView";
|
3
|
-
import classnames from "classnames";
|
4
|
-
import { observe } from "@voplus/morpho-ui";
|
5
|
-
import styles from "./index.less";
|
6
|
-
import { useUnit } from "@voplus/morpho-org";
|
7
|
-
const UnitReference = (props) => {
|
8
|
-
const { id, symbol } = props;
|
9
|
-
const [visible, setVisible] = useState(false);
|
10
|
-
const unit = useUnit(id);
|
11
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
12
|
-
React.createElement("span", { className: classnames(styles["unit-reference-node"], { symbol: symbol }, props.className), onClick: () => setVisible(true) },
|
13
|
-
symbol && "@",
|
14
|
-
" ",
|
15
|
-
unit.name),
|
16
|
-
visible && React.createElement(UnitQuickView, { id: id, visible: true, onCancel: () => setVisible(false) }))));
|
17
|
-
};
|
18
|
-
export default UnitReference;
|
19
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/UnitReference/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,aAAa,MAAM,gDAAgD,CAAC;AAC3E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,MAAM,aAAa,GAAG,CAAC,KAKtB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC7B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;IAEzB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,8BACC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC,EACzF,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;YAE9B,MAAM,IAAI,GAAG;;YAAG,IAAI,CAAC,IAAI,CACpB;QACN,OAAO,IAAI,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAI,CACvE,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
.unit-reference-node {
|
2
|
-
&:global(.symbol) {
|
3
|
-
color: rgb(66, 82, 110);
|
4
|
-
cursor: pointer;
|
5
|
-
line-height: 1.714;
|
6
|
-
font-size: 1em;
|
7
|
-
font-weight: normal;
|
8
|
-
word-break: break-word;
|
9
|
-
background: rgba(9, 30, 66, 0.08);
|
10
|
-
border-width: 1px;
|
11
|
-
border-style: solid;
|
12
|
-
border-color: transparent;
|
13
|
-
border-image: initial;
|
14
|
-
border-radius: 20px;
|
15
|
-
padding: 0px 0.3em 2px 0.23em;
|
16
|
-
}
|
17
|
-
}
|