@voplus/morpho-workspace 6.0.74 → 6.0.76
Sign up to get free protection for your applications and to get access to all the features.
- package/es/controls/filters/WorkTypesFilter/index.d.ts +1 -2
- package/es/controls/filters/WorkTypesFilter/index.js +7 -5
- package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
- package/es/controls/filters/WorkTypesFilter/state.d.ts +7 -3
- package/es/controls/filters/WorkTypesFilter/state.js +39 -3
- package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.js +1 -4
- package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js +1 -1
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.less +0 -4
- package/es/modules/work/components/WorkList/index.js +5 -10
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +3 -10
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,23 +1,25 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { State } from "./state";
|
3
|
-
import { Badge, Input } from "antd";
|
3
|
+
import { Badge, Input, Skeleton } from "antd";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
|
+
import { useWorkTypeStore } from "../../../data/worktype";
|
5
6
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
6
7
|
import classnames from "classnames";
|
7
8
|
const WorkTypesFilter = (props) => {
|
8
9
|
const [timer, setTimer] = useState();
|
10
|
+
const store = useWorkTypeStore();
|
9
11
|
const context = useFilterOptionsContext();
|
10
|
-
const state = context.getFilterState("WorkTypes", () => new State(props.
|
12
|
+
const state = context.getFilterState("WorkTypes", () => new State(store, props.workspaceId));
|
11
13
|
return observe(() => (React.createElement("div", { style: { maxHeight: "400px", overflow: "scroll", scrollbarWidth: "none" } },
|
12
14
|
React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
|
13
|
-
React.createElement(Input.Search, { allowClear: true, onChange: (e) => onSearch(e.target.value) }),
|
14
|
-
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
15
|
+
React.createElement(Input.Search, { disabled: state.loading, allowClear: true, onChange: (e) => onSearch(e.target.value) }),
|
16
|
+
React.createElement(Skeleton, { active: true, loading: state.loading }, state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
15
17
|
bold: state.types.has(item.value),
|
16
18
|
}), onClick: () => state.onChangeTypes(item.value) },
|
17
19
|
React.createElement("div", { className: "filter-name" },
|
18
20
|
React.createElement(Badge, { color: item.color }),
|
19
21
|
item.name),
|
20
|
-
React.createElement("span", null, item.counts)))))));
|
22
|
+
React.createElement("span", null, item.counts))))))));
|
21
23
|
function onSearch(value) {
|
22
24
|
if (timer)
|
23
25
|
clearTimeout(timer);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wB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CAAC;YAE9C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACQ,CACN,CACN,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;YACf,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YAC5B,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAQ,CACf,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,16 +1,20 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState, ISelectedLabel } from "@voplus/morpho-ui/es/data";
|
3
|
-
import { IWorkType } from "../../../data/worktype";
|
3
|
+
import { IWorkType, WorkTypeStore } from "../../../data/worktype";
|
4
4
|
export declare class State extends DefaultFilterState {
|
5
|
-
private
|
5
|
+
private store;
|
6
|
+
private workspaceId?;
|
6
7
|
/** types of filter */
|
7
8
|
types: Map<string, boolean>;
|
8
9
|
selectedLabels: {
|
9
10
|
name: string;
|
10
11
|
v1: string;
|
11
12
|
}[];
|
13
|
+
loading: boolean;
|
14
|
+
initial: IWorkType[];
|
12
15
|
workTypeList: IWorkType[];
|
13
|
-
constructor(
|
16
|
+
constructor(store: WorkTypeStore, workspaceId?: string | undefined);
|
17
|
+
onInitial(): Promise<void>;
|
14
18
|
searchWorkType(query?: string): void;
|
15
19
|
/** update types */
|
16
20
|
onChangeTypes(value: string): void;
|
@@ -2,13 +2,19 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { action, makeObservable, observable } from "mobx";
|
3
3
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
4
4
|
export class State extends DefaultFilterState {
|
5
|
-
constructor(
|
5
|
+
constructor(store, workspaceId) {
|
6
6
|
super();
|
7
|
-
Object.defineProperty(this, "
|
7
|
+
Object.defineProperty(this, "store", {
|
8
|
+
enumerable: true,
|
9
|
+
configurable: true,
|
10
|
+
writable: true,
|
11
|
+
value: store
|
12
|
+
});
|
13
|
+
Object.defineProperty(this, "workspaceId", {
|
8
14
|
enumerable: true,
|
9
15
|
configurable: true,
|
10
16
|
writable: true,
|
11
|
-
value:
|
17
|
+
value: workspaceId
|
12
18
|
});
|
13
19
|
/** types of filter */
|
14
20
|
Object.defineProperty(this, "types", {
|
@@ -23,6 +29,18 @@ export class State extends DefaultFilterState {
|
|
23
29
|
writable: true,
|
24
30
|
value: void 0
|
25
31
|
});
|
32
|
+
Object.defineProperty(this, "loading", {
|
33
|
+
enumerable: true,
|
34
|
+
configurable: true,
|
35
|
+
writable: true,
|
36
|
+
value: false
|
37
|
+
});
|
38
|
+
Object.defineProperty(this, "initial", {
|
39
|
+
enumerable: true,
|
40
|
+
configurable: true,
|
41
|
+
writable: true,
|
42
|
+
value: void 0
|
43
|
+
});
|
26
44
|
Object.defineProperty(this, "workTypeList", {
|
27
45
|
enumerable: true,
|
28
46
|
configurable: true,
|
@@ -30,7 +48,16 @@ export class State extends DefaultFilterState {
|
|
30
48
|
value: void 0
|
31
49
|
});
|
32
50
|
makeObservable(this);
|
51
|
+
this.onInitial();
|
52
|
+
}
|
53
|
+
async onInitial() {
|
54
|
+
this.loading = true;
|
55
|
+
const filter = this.workspaceId
|
56
|
+
? [{ c: "ParentNodeId", o: "=", l: "And", v1: this.workspaceId }]
|
57
|
+
: [];
|
58
|
+
this.initial = await this.store.loadList({ Filters: filter });
|
33
59
|
this.workTypeList = this.initial;
|
60
|
+
this.loading = false;
|
34
61
|
}
|
35
62
|
searchWorkType(query) {
|
36
63
|
this.workTypeList = this.initial;
|
@@ -89,9 +116,18 @@ __decorate([
|
|
89
116
|
__decorate([
|
90
117
|
observable
|
91
118
|
], State.prototype, "selectedLabels", void 0);
|
119
|
+
__decorate([
|
120
|
+
observable
|
121
|
+
], State.prototype, "loading", void 0);
|
122
|
+
__decorate([
|
123
|
+
observable
|
124
|
+
], State.prototype, "initial", void 0);
|
92
125
|
__decorate([
|
93
126
|
observable
|
94
127
|
], State.prototype, "workTypeList", void 0);
|
128
|
+
__decorate([
|
129
|
+
action
|
130
|
+
], State.prototype, "onInitial", null);
|
95
131
|
__decorate([
|
96
132
|
action
|
97
133
|
], State.prototype, "searchWorkType", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAkB,MAAM,2BAA2B,CAAC;AAG/E,MAAM,OAAO,KAAM,SAAQ,kBAAkB;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAkB,MAAM,2BAA2B,CAAC;AAG/E,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAS5C,YAAoB,KAAoB,EAAU,WAAoB;QACrE,KAAK,EAAE,CAAC;QADG;;;;mBAAQ,KAAK;WAAe;QAAE;;;;mBAAQ,WAAW;WAAS;QARtE,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA+C;QAE/C;;;;mBAAU,KAAK;WAAC;QAChB;;;;;WAAqB;QACrB;;;;;WAA0B;QAI5C,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,CAAC,SAAS,EAAE,CAA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,CAAC;QAE1B,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC;IACjC,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;CACD;AA3FmB;IAAlB,UAAU;oCAAgD;AACxC;IAAlB,UAAU;6CAAuD;AAE/C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;sCAA6B;AACrB;IAAlB,UAAU;2CAAkC;AAS/B;IAAb,MAAM;sCAYN;AAGM;IADN,MAAM;2CAWN;AAIM;IADN,MAAM;0CASN"}
|
@@ -29,10 +29,7 @@ const DocumentNotificationCard = (props) => {
|
|
29
29
|
context.host.isTest && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-task-form", onClick: (ev) => {
|
30
30
|
var _a;
|
31
31
|
ev.stopPropagation();
|
32
|
-
|
33
|
-
? `<h3>Reference</h3><div><span data-file-id="${notification.node.id}" data-file-name="${notification.node.name}" class="prosemirror-mention-node" contenteditable="false">&${notification.node.name}</span></div>`
|
34
|
-
: "";
|
35
|
-
asideContext.openAside(React.createElement(NotificaitonNewTaskForm, { showView: true, self: true, title: `Followup ${notification.content.title}`, description: `<div><p>This is a task to followup the following notification</p><h3>Notification Content</h3><p>${notification.content.content}</p>${Reference}</div>`, parentId: (_a = notification.node) === null || _a === void 0 ? void 0 : _a.id, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
|
32
|
+
asideContext.openAside(React.createElement(NotificaitonNewTaskForm, { showView: true, self: true, title: `Followup ${notification.content.title}`, description: `<div><p>This is a task to followup the following notification</p><h3>Notification Content</h3><p>${notification.content.content}</p></div>`, parentId: (_a = notification.node) === null || _a === void 0 ? void 0 : _a.id, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
|
36
33
|
} }, "Ceate Task")),
|
37
34
|
notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
|
38
35
|
notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "Undo Dismiss")),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAC7F,QAAQ;YACR,aAAa;YACb,MAAM;YAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;gBAChE,gCAAK,MAAA,YAAY,CAAC,OAAO,0CAAE,KAAK,CAAM;gBACtC,oBAAC,iBAAiB,IAAC,IAAI,EAAE,MAAA,YAAY,CAAC,OAAO,0CAAE,OAAO,GAAI;gBAC1D,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,6BAAK,SAAS,EAAC,mBAAmB,IAChC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAChD;oBACN,6BAAK,SAAS,EAAC,kBAAkB;wBAChC,oBAAC,KAAK;4BACJ,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CAC9D,oBAAC,MAAM,IACN,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;;oCACf,EAAE,CAAC,eAAe,EAAE,CAAC;oCACrB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,M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,EAAE,oGAAoG,YAAY,CAAC,OAAO,CAAC,OAAO,YAAY,EACzJ,QAAQ,EAAE,MAAA,YAAY,CAAC,IAAI,0CAAE,EAAE,EAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,GACzC,EACF,EAAE,IAAI,EAAE,EAAE,EAAE,CACZ,CAAC;gCACH,CAAC,iBAGO,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,WAAW,CAAC,cAEvE,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CACvC,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC,mBAEpE,CACT;4BACA,YAAY,CAAC,MAAM,KAAK,OAAO,IAAI,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,CAC1E,oBAAC,MAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,YAEjE,CACT,CACM,CACH,CACD,CACD,CACA,CACP,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,sDAAG,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -26,7 +26,7 @@ const NotificationNewTaskForm = (props) => {
|
|
26
26
|
state.params.Description = (_a = props.description) !== null && _a !== void 0 ? _a : "";
|
27
27
|
state.params.Name = (_b = props.title) !== null && _b !== void 0 ? _b : "";
|
28
28
|
}, [props.parentId]);
|
29
|
-
return observe(() => (React.createElement(AddFormView, { title: "
|
29
|
+
return observe(() => (React.createElement(AddFormView, { title: "Create Task", loading: !!state.loading, onCancel: onCancel, onSubmit: onSubmit },
|
30
30
|
React.createElement("div", { className: classnames("notification-new-task-form", props.className) },
|
31
31
|
React.createElement(Form, { layout: "vertical" },
|
32
32
|
React.createElement(Form.Item, { label: "Title of your task" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NotificaitonNewTaskForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAEtB,MAAM,uBAAuB,GAAG,CAAC,KAahC,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG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,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE;YACnD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,QAAQ;YACjB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,kBAAkB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;QAClF,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;IAClB,CAAC;IACD,SAAS,SAAS,CAAC,CAAwC;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,QAAQ,EAAE,CAAC;IACZ,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,uBAAuB,CAAC"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { useWorkListEffect } from "../../../../data/work";
|
3
|
-
import {
|
4
|
-
import { useWorkType, useWorkTypeListEffect } from "../../../../data/worktype";
|
3
|
+
import { useWorkType } from "../../../../data/worktype";
|
5
4
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
6
5
|
import { WorkStatusFilter, WorkTypesFilter } from "../../../../controls/filters";
|
7
6
|
import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
|
@@ -18,7 +17,6 @@ const WorkList = (props) => {
|
|
18
17
|
const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble, asideable, viewTitle, total, } = props;
|
19
18
|
const [activeId, setActiveId] = useState("");
|
20
19
|
const [workTotal, setWorkTotal] = useState(0);
|
21
|
-
const [workTypeList, setWorkTypeList] = useState([]);
|
22
20
|
const documentStore = useDocumentStore();
|
23
21
|
const workType = useWorkType(typesId);
|
24
22
|
let listViewHeaderProps = {};
|
@@ -29,11 +27,11 @@ const WorkList = (props) => {
|
|
29
27
|
filtercolumns.push(React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() }));
|
30
28
|
}
|
31
29
|
if (props.filterVisible.includes("WorkTypes")) {
|
32
|
-
filtercolumns.push(React.createElement(WorkTypesFilter, { key: "WorkTypesFilter",
|
30
|
+
filtercolumns.push(React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId }));
|
33
31
|
}
|
34
32
|
}
|
35
33
|
else if (status && workspaceId) {
|
36
|
-
filtercolumns = [React.createElement(WorkTypesFilter, { key: "WorkTypesFilter",
|
34
|
+
filtercolumns = [React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId })];
|
37
35
|
}
|
38
36
|
else {
|
39
37
|
filtercolumns = [React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() })];
|
@@ -66,17 +64,14 @@ const WorkList = (props) => {
|
|
66
64
|
Total: true,
|
67
65
|
...list.filters.options,
|
68
66
|
});
|
69
|
-
useWorkTypeListEffect(null, (result) => setWorkTypeList(result), {
|
70
|
-
Filters: workspaceId ? [{ c: "ParentNodeId", o: "=", l: "And", v1: workspaceId }] : [],
|
71
|
-
});
|
72
67
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
73
68
|
React.createElement(ListView, { headerProps: {
|
74
69
|
viewTitle: (React.createElement(React.Fragment, null,
|
75
70
|
React.createElement("span", { className: "margin-right-10" }, viewTitle || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
|
76
|
-
total && workTotal ? React.createElement(Badge, { count: workTotal }) : null,
|
77
|
-
React.createElement(SelectedFilterLabel, { filterKey: "WorkTypes" }))),
|
71
|
+
total && workTotal ? React.createElement(Badge, { count: workTotal }) : null)),
|
78
72
|
sortable: false,
|
79
73
|
quickSearch: true,
|
74
|
+
selectedFilterKey: "WorkTypes",
|
80
75
|
addAble: addAble || (dueDate === "requested" ? true : false),
|
81
76
|
...listViewHeaderProps,
|
82
77
|
}, asideable: asideable, className: "work-list", moveAfter: moveAfter, formViewTitle: "Add Work", formView: React.createElement(NewWorkForm, { contact: contact, showView: true }), renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE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E,EAAE,WAAW,EAAE,EAAE,GAAG,eAAe,CAAC;gBAC7E,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC;QACzB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,YAAY;QACpB,QAAQ,OAAO,EAAE,CAAC;YACjB,KAAK,OAAO,CAAC;YACb,KAAK,MAAM,CAAC;YACZ,KAAK,OAAO,CAAC;YACb,KAAK,KAAK;gBACT,OAAO,CAAC,QAAQ,CAAC,CAAC;YACnB,KAAK,WAAW;gBACf,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACnC;gBACC,MAAM;QACR,CAAC;QACD,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,OAAO;YAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC/B,OAAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
|
-
import { SelectedFilterLabel } from "@voplus/morpho-ui/es/controls";
|
4
3
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
5
4
|
import { useWorkScheduleListEffect } from "../../../../../data/work-schedule";
|
6
|
-
import { useWorkTypeListEffect } from "../../../../../data/worktype";
|
7
5
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
8
6
|
import { useAutoUpdateListData } from "../../../../../data/work-schedule/work-schedule-events";
|
9
7
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
@@ -23,7 +21,6 @@ const WorkScheduleList = (props) => {
|
|
23
21
|
const { contact, viewTitle, asideable, scheduleDate } = props;
|
24
22
|
const [activeId, setActiveId] = useState("");
|
25
23
|
const [addAble, setAddAble] = useState(false);
|
26
|
-
const [workTypeList, setWorkTypeList] = useState([]);
|
27
24
|
const view = useViewContext();
|
28
25
|
const list = useCreateListDataState({
|
29
26
|
filterDefaults: {
|
@@ -49,22 +46,18 @@ const WorkScheduleList = (props) => {
|
|
49
46
|
Total: true,
|
50
47
|
...list.filters.options,
|
51
48
|
});
|
52
|
-
useWorkTypeListEffect(null, (result) => setWorkTypeList(result), {
|
53
|
-
Filters: [],
|
54
|
-
});
|
55
49
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
56
50
|
React.createElement("div", { className: styles["work-schedule-list"] },
|
57
51
|
React.createElement(ListView, { headerProps: {
|
58
|
-
viewTitle:
|
59
|
-
React.createElement("span", { className: "margin-right-10" }, viewTitle),
|
60
|
-
React.createElement(SelectedFilterLabel, { filterKey: "WorkTypes" }))),
|
52
|
+
viewTitle: viewTitle,
|
61
53
|
sortable: false,
|
62
54
|
quickSearch: true,
|
55
|
+
selectedFilterKey: "WorkTypes",
|
63
56
|
onAdd: () => (view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" && setAddAble(!addAble),
|
64
57
|
filterViewProps: {
|
65
58
|
columns: [
|
66
59
|
React.createElement(WorkScheduleFilter, { key: "WorkScheduleFilter", defaultValue: "Empty" }),
|
67
|
-
React.createElement(WorkTypesFilter, { key: "WorkTypesFilter"
|
60
|
+
React.createElement(WorkTypesFilter, { key: "WorkTypesFilter" }),
|
68
61
|
],
|
69
62
|
onFilter,
|
70
63
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleList/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,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleList/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,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAC9E,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,yBAAyB,MAAM,kDAAkD,CAAC;AACzF,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,aAAa,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAiB5B,M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