@voplus/morpho-workspace 6.0.64 → 6.0.66
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/AssignPeople/index.js +1 -1
- package/es/components/AssignPeople/index.js.map +1 -1
- package/es/controls/filters/WorkTypesFilter/index.js +4 -4
- package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
- package/es/controls/filters/WorkTypesFilter/state.d.ts +7 -1
- package/es/controls/filters/WorkTypesFilter/state.js +35 -8
- package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
- package/es/data/notification/NotificationStore.d.ts +9 -0
- package/es/data/notification/NotificationStore.js +28 -1
- package/es/data/notification/NotificationStore.js.map +1 -1
- package/es/data/notification/hooks.d.ts +6 -0
- package/es/data/notification/hooks.js +15 -0
- package/es/data/notification/hooks.js.map +1 -1
- package/es/data/notification/interfaces.d.ts +5 -0
- package/es/data/notification/types.d.ts +6 -5
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +2 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +15 -11
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/state.d.ts +2 -3
- package/es/modules/notification/components/NewNotificationForm/state.js +2 -10
- package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -1
- package/es/modules/notification/components/NotificationItem/index.js +2 -2
- package/es/modules/notification/components/NotificationItem/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList2/index.d.ts +1 -0
- package/es/modules/notification/components/NotificationList2/index.js +7 -6
- package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/index.js +1 -1
- package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +1 -1
- package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +1 -1
- package/es/modules/work/components/WorkList/state.d.ts +10 -0
- package/es/modules/work/components/WorkList/state.js +51 -0
- package/es/modules/work/components/WorkList/state.js.map +1 -0
- package/es/modules/work/components/WorksProperties/index.js +1 -1
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/work-type/components/NewTypeForm/index.js +1 -1
- package/es/modules/work/work-type/components/NewTypeForm/index.js.map +1 -1
- package/es/modules/work/work-type/components/RepeatTab/index.js +3 -3
- package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -1
- package/es/modules/workspace/components/NewWorkspaceDialog/index.js +1 -1
- package/es/modules/workspace/components/NewWorkspaceDialog/index.js.map +1 -1
- package/package.json +1 -1
@@ -17,7 +17,7 @@ export default () => {
|
|
17
17
|
return observe(() => (React.createElement(Form.Item, null,
|
18
18
|
React.createElement("div", { className: "form-item-layout" },
|
19
19
|
React.createElement("div", null,
|
20
|
-
React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange
|
20
|
+
React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange }, items.map((item) => {
|
21
21
|
return (React.createElement(Option, { key: item.id, value: item.id }, item.name));
|
22
22
|
})))))));
|
23
23
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AssignPeople/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,MAAM,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AM,KAAK,GAAG;QACb,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;KACtB,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC1B,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,CAAC,IAAI;QACT,6BAAK,SAAS,EAAC,kBAAkB;YAChC;gBACC,oBAAC,MAAM,IACN,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EACxB,WAAW,EAAC,eAAe,EAC3B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAC5B,QAAQ,EAAE,YAAY,IAErB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,CACN,oBAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IAClC,IAAI,CAAC,IAAI,CACF,CACT,CAAC;gBACH,CAAC,CAAC,CACM,CACJ,CACD,CACK,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import React, { useEffect } from "react";
|
2
2
|
import { State } from "./state";
|
3
|
-
import { Badge } from "antd";
|
3
|
+
import { Badge, Input } from "antd";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
6
6
|
import classnames from "classnames";
|
7
7
|
const WorkTypesFilter = (props) => {
|
8
8
|
const context = useFilterOptionsContext();
|
9
|
-
const state = context.getFilterState("WorkTypes", () => new State());
|
10
|
-
state.workTypeList = props.workTypeList;
|
9
|
+
const state = context.getFilterState("WorkTypes", () => new State(props.workTypeList));
|
11
10
|
// defaultValue 为传入的预选状态
|
12
11
|
useEffect(() => {
|
13
12
|
var _a;
|
14
13
|
state.reset();
|
15
14
|
(_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeTypes(value));
|
16
15
|
}, [props.defaultValue]);
|
17
|
-
return observe(() => (React.createElement("div",
|
16
|
+
return observe(() => (React.createElement("div", { style: { maxHeight: "400px", overflow: "scroll", scrollbarWidth: "none" } },
|
18
17
|
React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
|
18
|
+
React.createElement(Input.Search, { allowClear: true, onSearch: (value, event, info) => state.searchWorkType(value) }),
|
19
19
|
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
20
20
|
bold: state.types.has(item.value),
|
21
21
|
}), onClick: () => state.onChangeTypes(item.value) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,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,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,E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AAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,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,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -2,10 +2,16 @@ import { FilterOption } from "@voplus/morpho-data";
|
|
2
2
|
import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
|
3
3
|
import { IWorkType } from "../../../data/worktype";
|
4
4
|
export declare class State implements IFilterState {
|
5
|
+
private initial;
|
5
6
|
/** types of filter */
|
6
7
|
types: Map<string, boolean>;
|
8
|
+
selectedLabels: {
|
9
|
+
name: string;
|
10
|
+
v1: string;
|
11
|
+
}[];
|
7
12
|
workTypeList: IWorkType[];
|
8
|
-
constructor();
|
13
|
+
constructor(initial: IWorkType[]);
|
14
|
+
searchWorkType(query?: string): void;
|
9
15
|
/** update types */
|
10
16
|
onChangeTypes(value: string): void;
|
11
17
|
get menus(): any[];
|
@@ -1,7 +1,13 @@
|
|
1
1
|
import { __decorate } from "tslib";
|
2
2
|
import { action, makeObservable, observable } from "mobx";
|
3
3
|
export class State {
|
4
|
-
constructor() {
|
4
|
+
constructor(initial) {
|
5
|
+
Object.defineProperty(this, "initial", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: initial
|
10
|
+
});
|
5
11
|
/** types of filter */
|
6
12
|
Object.defineProperty(this, "types", {
|
7
13
|
enumerable: true,
|
@@ -9,6 +15,12 @@ export class State {
|
|
9
15
|
writable: true,
|
10
16
|
value: new Map()
|
11
17
|
});
|
18
|
+
Object.defineProperty(this, "selectedLabels", {
|
19
|
+
enumerable: true,
|
20
|
+
configurable: true,
|
21
|
+
writable: true,
|
22
|
+
value: void 0
|
23
|
+
});
|
12
24
|
Object.defineProperty(this, "workTypeList", {
|
13
25
|
enumerable: true,
|
14
26
|
configurable: true,
|
@@ -16,18 +28,26 @@ export class State {
|
|
16
28
|
value: void 0
|
17
29
|
});
|
18
30
|
makeObservable(this);
|
31
|
+
this.workTypeList = this.initial;
|
19
32
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
33
|
+
searchWorkType(query) {
|
34
|
+
this.workTypeList = this.initial;
|
35
|
+
if (query) {
|
36
|
+
// 使用正则表达式创建不区分大小写的搜索模式
|
37
|
+
const regex = new RegExp(query, "i");
|
38
|
+
this.workTypeList = this.workTypeList.filter((t) => regex.test(t.name));
|
25
39
|
}
|
26
40
|
else {
|
27
|
-
this.
|
28
|
-
this.types.set(value, true);
|
41
|
+
this.workTypeList = this.initial;
|
29
42
|
}
|
30
43
|
}
|
44
|
+
/** update types */
|
45
|
+
onChangeTypes(value) {
|
46
|
+
var _a, _b;
|
47
|
+
this.selectedLabels = [];
|
48
|
+
this.types.has(value) ? this.types.delete(value) : this.types.set(value, true);
|
49
|
+
this.selectedLabels = (_b = (_a = this.workTypeList) === null || _a === void 0 ? void 0 : _a.filter((t) => Array.from(this.types.keys()).includes(t.id))) === null || _b === void 0 ? void 0 : _b.map((s) => ({ name: s.name, v1: s.id }));
|
50
|
+
}
|
31
51
|
get menus() {
|
32
52
|
var _a;
|
33
53
|
const arr = [];
|
@@ -41,6 +61,7 @@ export class State {
|
|
41
61
|
o: "=",
|
42
62
|
v1: Array.from(this.types.keys())[0],
|
43
63
|
l: "And",
|
64
|
+
labels: this.selectedLabels,
|
44
65
|
},
|
45
66
|
];
|
46
67
|
}
|
@@ -51,9 +72,15 @@ export class State {
|
|
51
72
|
__decorate([
|
52
73
|
observable
|
53
74
|
], State.prototype, "types", void 0);
|
75
|
+
__decorate([
|
76
|
+
observable
|
77
|
+
], State.prototype, "selectedLabels", void 0);
|
54
78
|
__decorate([
|
55
79
|
observable
|
56
80
|
], State.prototype, "workTypeList", void 0);
|
81
|
+
__decorate([
|
82
|
+
action
|
83
|
+
], State.prototype, "searchWorkType", null);
|
57
84
|
__decorate([
|
58
85
|
action
|
59
86
|
], State.prototype, "onChangeTypes", 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;AAM1D,MAAM,OAAO,KAAK;
|
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;AAM1D,MAAM,OAAO,KAAK;IAMjB,YAAoB,OAAoB;QAA5B;;;;mBAAQ,OAAO;WAAa;QALxC,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA+C;QAC/C;;;;;WAA0B;QAG5C,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC;IAClC,CAAC;IAGM,cAAc,CAAC,KAAc;QACnC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC;QAEjC,IAAI,KAAK,EAAE,CAAC;YACX,uBAAuB;YACvB,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;YACrC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,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AAU;gBACb,CAAC,EAAE,GAAG;gBACN,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpC,CAAC,EAAE,KAAK;gBACR,MAAM,EAAE,IAAI,CAAC,cAAc;aACX;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;CACD;AAxDmB;IAAlB,UAAU;oCAAgD;AACxC;IAAlB,UAAU;6CAAuD;AAC/C;IAAlB,UAAU;2CAAkC;AAStC;IADN,MAAM;2CAWN;AAIM;IADN,MAAM;0CASN"}
|
@@ -28,6 +28,15 @@ export declare class NotificationStore extends Store {
|
|
28
28
|
* @param {LoadDocumentListOptions}
|
29
29
|
*/
|
30
30
|
loadList(options?: LoadDocumentListOptions): Promise<INotification[]>;
|
31
|
+
/** Load a notificaiton from server.
|
32
|
+
* @param {string} id - id of the notificaiton.
|
33
|
+
* @param {LoadNotificationOptions} options - Optional load options.
|
34
|
+
*/
|
35
|
+
newLoad(id: string, options?: LoadNotificationOptions): Promise<INotification>;
|
36
|
+
/** Load a list of documents from server.
|
37
|
+
* @param {LoadDocumentListOptions}
|
38
|
+
*/
|
39
|
+
newLoadList(options?: LoadDocumentListOptions): Promise<INotification[]>;
|
31
40
|
/** Edit an existing item on server. */
|
32
41
|
edit(id: string, options: NotificationEditOptions): Promise<any>;
|
33
42
|
delete(ids: string[], options?: DeleteNotificationOptions): Promise<any>;
|
@@ -54,7 +54,7 @@ export class NotificationStore extends Store {
|
|
54
54
|
async create(options) {
|
55
55
|
// invariant(options.data.name, "Name cannot be empty.");
|
56
56
|
return await this.action(async () => {
|
57
|
-
const r = await this.endpoint.post(`/api/
|
57
|
+
const r = await this.endpoint.post(`/api/notifications/create`, new RequestBuilder().json(options.data));
|
58
58
|
const t = (await r.json());
|
59
59
|
this._created.dispatch(this, t);
|
60
60
|
return t;
|
@@ -87,6 +87,33 @@ export class NotificationStore extends Store {
|
|
87
87
|
const r = await this.endpoint.post(`/api/myspace/notifications${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
88
88
|
return (await r.json());
|
89
89
|
}
|
90
|
+
/** Load a notificaiton from server.
|
91
|
+
* @param {string} id - id of the notificaiton.
|
92
|
+
* @param {LoadNotificationOptions} options - Optional load options.
|
93
|
+
*/
|
94
|
+
async newLoad(id, options) {
|
95
|
+
options = options !== null && options !== void 0 ? options : {};
|
96
|
+
let query = "";
|
97
|
+
if (options.includes)
|
98
|
+
query = query.concat(`includes=${options.includes}`);
|
99
|
+
if (query)
|
100
|
+
query = "?".concat(query);
|
101
|
+
const r = await this.endpoint.get(`/api/notifications/${id}${query}`);
|
102
|
+
return await r.json();
|
103
|
+
}
|
104
|
+
/** Load a list of documents from server.
|
105
|
+
* @param {LoadDocumentListOptions}
|
106
|
+
*/
|
107
|
+
async newLoadList(options) {
|
108
|
+
let query = "";
|
109
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
110
|
+
query = query.concat(`includes=${options.Includes}`);
|
111
|
+
}
|
112
|
+
if (query)
|
113
|
+
query = "?".concat(query);
|
114
|
+
const r = await this.endpoint.post(`/api/notifications${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
115
|
+
return (await r.json());
|
116
|
+
}
|
90
117
|
/** Edit an existing item on server. */
|
91
118
|
async edit(id, options) {
|
92
119
|
return this.action(async () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationStore.js","sourceRoot":"","sources":["../../../src/data/notification/NotificationStore.ts"],"names":[],"mappings":";AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAS/E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,M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Ba;IADZ,MAAM;+CAiBN;AAGF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QACpC,OAAO,CAAC,eAAe,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,CAAuB,CAAC;AAC5D,CAAC,CAAC"}
|
@@ -1,5 +1,11 @@
|
|
1
1
|
import { INotification, LoadNotificationOptions } from ".";
|
2
2
|
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
3
3
|
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
4
|
+
/** notification card */
|
4
5
|
export declare const useNotification: (id: string, options?: LoadNotificationOptions) => INotification;
|
6
|
+
/** 新的 notification */
|
7
|
+
export declare const useNotifications: (id: string, options?: LoadNotificationOptions) => INotification;
|
8
|
+
/** notification card list */
|
5
9
|
export declare const useNotificationListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
|
10
|
+
/** 新的 notification */
|
11
|
+
export declare const useNotificationsListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
|
@@ -1,15 +1,30 @@
|
|
1
1
|
import { useNotificationStore } from ".";
|
2
2
|
import { useListLoaderEffect } from "@voplus/morpho-ui/es/hooks";
|
3
3
|
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
4
|
+
/** notification card */
|
4
5
|
export const useNotification = (id, options) => {
|
5
6
|
options = options ? options : {};
|
6
7
|
const store = useNotificationStore();
|
7
8
|
return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
|
8
9
|
};
|
10
|
+
/** 新的 notification */
|
11
|
+
export const useNotifications = (id, options) => {
|
12
|
+
options = options ? options : {};
|
13
|
+
const store = useNotificationStore();
|
14
|
+
return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.newLoad(id, calculatedOptions), options);
|
15
|
+
};
|
16
|
+
/** notification card list */
|
9
17
|
export const useNotificationListEffect = (list, effect, options) => {
|
10
18
|
const deps = options ? options : {};
|
11
19
|
const store = useNotificationStore();
|
12
20
|
// Call useListLoaderEffect and ensure won't load twice for same loading options.
|
13
21
|
return useListLoaderEffect(list, store.items, effect, () => store.loadList(options), [deps]);
|
14
22
|
};
|
23
|
+
/** 新的 notification */
|
24
|
+
export const useNotificationsListEffect = (list, effect, options) => {
|
25
|
+
const deps = options ? options : {};
|
26
|
+
const store = useNotificationStore();
|
27
|
+
// Call useListLoaderEffect and ensure won't load twice for same loading options.
|
28
|
+
return useListLoaderEffect(list, store.items, effect, () => store.newLoadList(options), [deps]);
|
29
|
+
};
|
15
30
|
//# sourceMappingURL=hooks.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/notification/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAIjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAC9D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAA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
|
21
21
|
body?: string;
|
22
|
+
target: {
|
23
|
+
id: string;
|
24
|
+
name: string;
|
25
|
+
type: string;
|
26
|
+
};
|
22
27
|
}
|
23
28
|
export interface IDocumentNotification extends INotification {
|
24
29
|
content: {
|
@@ -26,11 +26,12 @@ export type NotificationEditOptions = {
|
|
26
26
|
/** create Notification options */
|
27
27
|
export type CreateNotificationOptions = {
|
28
28
|
data: {
|
29
|
-
/**
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
/** corporate id 或 customer id */
|
30
|
+
TargetId: string;
|
31
|
+
/** Email = 1;
|
32
|
+
* Instant Message = 2;
|
33
|
+
* Email + Instant Message = 11 */
|
34
|
+
Channels: number;
|
34
35
|
Subject?: string;
|
35
36
|
Body?: string;
|
36
37
|
};
|
@@ -21,7 +21,7 @@ export default forwardRef((props, ref) => {
|
|
21
21
|
}));
|
22
22
|
const { single } = props;
|
23
23
|
return observe(() => single ? (React.createElement("div", { className: styles["agenda-new-form_single"] },
|
24
|
-
React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: "Name for Agenda", suffix: state.loading ? React.createElement(LoadingOutlined, null) : React.createElement("span", null), onPressEnter: (e) => state.onItemSave(e), onKeyDown: (e) => e.
|
24
|
+
React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: "Name for Agenda", suffix: state.loading ? React.createElement(LoadingOutlined, null) : React.createElement("span", null), onPressEnter: (e) => state.onItemSave(e), onKeyDown: (e) => e.key === "Escape" && props.onCancel() }))) : (React.createElement(React.Fragment, null,
|
25
25
|
state.params.map((item, index) => (React.createElement("div", { key: index, className: styles["agenda-new-form_default"] },
|
26
26
|
React.createElement("span", null, `${index + 1}、`),
|
27
27
|
React.createElement(Input, { autoFocus: true, value: item.Name, onChange: (e) => onChange(item, e.target.value), onKeyDown: (e) => state.onCancelAdd(index, e) }),
|
@@ -1 +1 @@
|
|
1
|
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BAAC,MAAM,IACN,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,EAClC,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,EACxC,OAAO,EAAE,KAAK,CAAC,WAAW;gBAE1B,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;kCAEhB,CACJ,CACU,CACjB,CACD,CAAC;AACH,CAAC,CACD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,OAAO,KAAK;IAMjB,YAAoB,MAAmB;QAA3B;;;;mBAAQ,MAAM;WAAa;QALpB;;;;;WAAY;QACZ;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAgB,EAAE;WAAC;QACnB;;;;mBAAU,KAAK;WAAC;QAKnC,oBAAoB;QACL;;;;mBAAc,CAAC,KAAa,EAAE,CAAwC,EAAE,EAAE;gBACxF,IAAI,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,OAAO,KAAK;IAMjB,YAAoB,MAAmB;QAA3B;;;;mBAAQ,MAAM;WAAa;QALpB;;;;;WAAY;QACZ;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAgB,EAAE;WAAC;QACnB;;;;mBAAU,KAAK;WAA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IAAd,MAAM;0CAEL;AAEa;IAAd,MAAM;0CAGL;AAIK;IADN,MAAM;yCAcL"}
|
@@ -97,7 +97,7 @@ const NewMeetingForm = (props) => {
|
|
97
97
|
/** key键:'Esc' cancel added */
|
98
98
|
function onKeyDown(e) {
|
99
99
|
var _a;
|
100
|
-
if (e.
|
100
|
+
if (e.key !== "Escape")
|
101
101
|
return;
|
102
102
|
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
103
103
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/NewMeetingForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,WAAW,MAAM,6CAA6C,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,CAAC,QAAQ;aACxB;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,MAAM;gBAChB,YAAa,CAAC,SAAS,CAAC,oBAAC,qBAAqB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YAC9E,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,IAAI,SAAS,CAAC,OAAO;YAAE,OAAO,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACzD,CAAC;IACD,8BAA8B;IAC9B,SAAS,SAAS,CAAC,CAAwC;;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -5,7 +5,6 @@ import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
|
|
5
5
|
import { Form, Row, Space, Button, Checkbox, Input, message } from "antd";
|
6
6
|
import classnames from "classnames";
|
7
7
|
import React, { useState } from "react";
|
8
|
-
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
9
8
|
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
10
9
|
import { useNotificationStore } from "../../../../data/notification";
|
11
10
|
import NotificationPropertiesView from "../NotificationPropertiesView";
|
@@ -16,17 +15,21 @@ const NewNotificationFormContent = (props) => {
|
|
16
15
|
const [state] = useState(new State());
|
17
16
|
const content = observe(() => (React.createElement("div", { className: classnames("new-notification-form", { "sub-notification-simply-form": props.type === "mini" }, props.className) },
|
18
17
|
React.createElement(Form, { layout: "vertical" },
|
19
|
-
React.createElement(Form.Item, { label: "Recipients" },
|
20
|
-
React.createElement(MentionList, { defaultSelection: "Everyone", contacts: state.contact, onChange: (list) => {
|
21
|
-
state.contact = list;
|
22
|
-
state.recipients = [];
|
23
|
-
list.map((i) => state.recipients.push(i.id));
|
24
|
-
} })),
|
25
18
|
React.createElement(Form.Item, { label: "Channels" },
|
26
19
|
React.createElement(Checkbox.Group, { options: [
|
27
20
|
{ label: "Email", value: "Email" },
|
28
21
|
{ label: "Instant Message", value: "Instant Message" },
|
29
|
-
], defaultValue:
|
22
|
+
], defaultValue: ["Email"], onChange: (checkedValues) => {
|
23
|
+
if (checkedValues.length === 1) {
|
24
|
+
state.params.Channels = checkedValues[0] === "Email" ? 1 : 2;
|
25
|
+
}
|
26
|
+
else if (checkedValues.length === 2) {
|
27
|
+
state.params.Channels = 11;
|
28
|
+
}
|
29
|
+
else {
|
30
|
+
state.params.Channels = 0;
|
31
|
+
}
|
32
|
+
} })),
|
30
33
|
React.createElement(Form.Item, { label: "Subject" },
|
31
34
|
React.createElement(Input, { onChange: (e) => (state.params.Subject = e.target.value) })),
|
32
35
|
React.createElement(Form.Item, { label: "Body" },
|
@@ -38,11 +41,11 @@ const NewNotificationFormContent = (props) => {
|
|
38
41
|
return observe(() => (React.createElement(React.Fragment, null, props.type === "full" ? (React.createElement(AddFormView, { title: "Add Notification", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
|
39
42
|
async function onSave() {
|
40
43
|
var _a;
|
41
|
-
if (!state.
|
42
|
-
return message.warning("
|
44
|
+
if (!state.params.Channels)
|
45
|
+
return message.warning("Channels is required");
|
43
46
|
state.loading = true;
|
44
47
|
const res = await store.create({
|
45
|
-
data: {
|
48
|
+
data: { TargetId: props.targetId, ...state.params },
|
46
49
|
error: "message",
|
47
50
|
});
|
48
51
|
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
|
@@ -51,6 +54,7 @@ const NewNotificationFormContent = (props) => {
|
|
51
54
|
return asideContext.openAside(React.createElement(NotificationPropertiesView, { id: res.id }), {
|
52
55
|
span: 12,
|
53
56
|
});
|
57
|
+
state.params = state.Params;
|
54
58
|
}
|
55
59
|
// cancel add notifications
|
56
60
|
function onCancel() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAS,MAAM,MAAM,CAAC;AACjF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAS,MAAM,MAAM,CAAC;AACjF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,0BAA0B,MAAM,+BAA+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ACpB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;QAC3E,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE;YACnD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG;YACxB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,0BAA0B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC1E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QACJ,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,2BAA2B;IAC3B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
export declare class State {
|
2
2
|
constructor();
|
3
3
|
Params: {
|
4
|
-
Channels:
|
4
|
+
Channels: number;
|
5
5
|
Subject: string;
|
6
6
|
Body: string;
|
7
7
|
};
|
8
8
|
params: {
|
9
|
-
Channels:
|
9
|
+
Channels: number;
|
10
10
|
Subject: string;
|
11
11
|
Body: string;
|
12
12
|
};
|
@@ -14,6 +14,5 @@ export declare class State {
|
|
14
14
|
id: string;
|
15
15
|
name: string;
|
16
16
|
}[];
|
17
|
-
recipients: string[];
|
18
17
|
loading: boolean;
|
19
18
|
}
|
@@ -7,7 +7,7 @@ export class State {
|
|
7
7
|
configurable: true,
|
8
8
|
writable: true,
|
9
9
|
value: {
|
10
|
-
Channels:
|
10
|
+
Channels: 1,
|
11
11
|
Subject: "",
|
12
12
|
Body: "",
|
13
13
|
}
|
@@ -18,18 +18,13 @@ export class State {
|
|
18
18
|
writable: true,
|
19
19
|
value: this.Params
|
20
20
|
});
|
21
|
+
// @observable public Channels?: number = 1;
|
21
22
|
Object.defineProperty(this, "contact", {
|
22
23
|
enumerable: true,
|
23
24
|
configurable: true,
|
24
25
|
writable: true,
|
25
26
|
value: []
|
26
27
|
});
|
27
|
-
Object.defineProperty(this, "recipients", {
|
28
|
-
enumerable: true,
|
29
|
-
configurable: true,
|
30
|
-
writable: true,
|
31
|
-
value: []
|
32
|
-
});
|
33
28
|
Object.defineProperty(this, "loading", {
|
34
29
|
enumerable: true,
|
35
30
|
configurable: true,
|
@@ -45,9 +40,6 @@ __decorate([
|
|
45
40
|
__decorate([
|
46
41
|
observable
|
47
42
|
], State.prototype, "contact", void 0);
|
48
|
-
__decorate([
|
49
|
-
observable
|
50
|
-
], State.prototype, "recipients", void 0);
|
51
43
|
__decorate([
|
52
44
|
observable
|
53
45
|
], State.prototype, "loading", void 0);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;aACR;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAVlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAUD;AAJmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB"}
|
@@ -5,7 +5,7 @@ import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
6
6
|
import classnames from "classnames";
|
7
7
|
import React, { useState } from "react";
|
8
|
-
import {
|
8
|
+
import { useNotifications } from "../../../../data/notification";
|
9
9
|
import Routes from "../../../Routes";
|
10
10
|
import dayjs from "dayjs";
|
11
11
|
import NotificationMenu from "../../controls/NotificationMenu";
|
@@ -14,7 +14,7 @@ import NotificationQuickViewDialog from "../NotificationQuickViewDialog";
|
|
14
14
|
import "./index.less";
|
15
15
|
const NotificationItem = (props) => {
|
16
16
|
const { id } = props;
|
17
|
-
const notification =
|
17
|
+
const notification = useNotifications(id);
|
18
18
|
const [hover, setHover] = useState(false);
|
19
19
|
return observe(() => (React.createElement(ItemFunction, { className: "notification-item", onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false), propertiesView: React.createElement(PropertiesView, { id: id }), quickViewDialog: (onCancel) => (React.createElement(NotificationQuickViewDialog, { id: id, visible: true, onCancel: onCancel })) },
|
20
20
|
React.createElement(ColumnItem, { className: "notification-column-item" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,YAAY,GAAG,gBAAgB,CAAC,EAAE,CAAC,C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CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import "./index.less";
|
2
|
-
import {
|
2
|
+
import { useNotificationsListEffect } from "../../../../data/notification";
|
3
3
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
4
4
|
import React, { useState } from "react";
|
5
5
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
@@ -7,16 +7,17 @@ import NotificationForm from "../NewNotificationForm/NotificationForm";
|
|
7
7
|
import NewNotificationFormDialog from "../NewNotificationForm";
|
8
8
|
import NotificationItem from "../NotificationItem";
|
9
9
|
import { observe } from "@voplus/morpho-ui";
|
10
|
+
import { useAutoUpdateListData } from "../../../../data/notification";
|
10
11
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
11
12
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
12
13
|
const NotificationList = (props) => {
|
13
14
|
const { parentId } = props;
|
14
15
|
const [addAble, setAddAble] = useState(false);
|
15
16
|
const view = useViewContext();
|
16
|
-
const list = useCreateListDataState({ filterDefaults: { filters: [{ c: "
|
17
|
-
|
17
|
+
const list = useCreateListDataState({ filterDefaults: { filters: [{ c: "Target", o: "=", l: "And", v1: parentId }] } }, [parentId]);
|
18
|
+
useAutoUpdateListData(list, (d) => d.target.id === parentId);
|
18
19
|
useRenderOnChange(() => list.filters.options);
|
19
|
-
|
20
|
+
useNotificationsListEffect(list, (result, total) => {
|
20
21
|
list.union(result);
|
21
22
|
}, {
|
22
23
|
Total: false,
|
@@ -31,8 +32,8 @@ const NotificationList = (props) => {
|
|
31
32
|
onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
|
32
33
|
setAddAble(!addAble),
|
33
34
|
}, formViewTitle: "Add Offiec", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
|
34
|
-
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true,
|
35
|
-
addAble && (React.createElement(NewNotificationFormDialog, {
|
35
|
+
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, targetId: props.parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
|
36
|
+
addAble && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) }))));
|
36
37
|
});
|
37
38
|
};
|
38
39
|
export default NotificationList;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0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AAS,CAAC,CAAwC;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,QAAQ,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC7D,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YACnF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QAChB,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IASjB;QAR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C,OAAO;gBACf;oBACC,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,UAAU;oBACb,EAAE,EAAE,kFAAkF;iBACtF;aACD,CAAC;QACH,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM;YAC1B,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC5F,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM;YAC5B,gCAAgC;YAChC,IAAI,CAAC,OAAO,GAAG;gBACd,GAAG,IAAI,CAAC,OAAO;gBACf;oBACC,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;oBAC1C,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;iBAC1C;aACD,CAAC;IACJ,CAAC;IAED,kBAAkB;IAEX,OAAO,CAAC,IAAY;QAC1B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7B,GAAG,IAAI,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IASjB;QARmB;;;;mBAAwC,EAAE;WAAC;QAC3C;;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AAIM;IADN,MAAM;kCAMN;AAIM;IADN,MAAM;mCAIN;AAIM;IADN,MAAM;qCAmCN;AAIM;IADN,MAAM;oCAON"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IWorkType } from "../../../../data/worktype";
|
2
|
+
import { FilterOption } from "@voplus/morpho-data";
|
3
|
+
export declare class State {
|
4
|
+
workTypeList: IWorkType[];
|
5
|
+
filterWorkTypeIds: string[];
|
6
|
+
filterWorkTypeList?: Array<IWorkType>;
|
7
|
+
constructor();
|
8
|
+
onResetFilter(item: string): void;
|
9
|
+
onFilter(filterInfo: FilterOption[]): void;
|
10
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { makeObservable, observable, action } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "workTypeList", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: []
|
10
|
+
});
|
11
|
+
Object.defineProperty(this, "filterWorkTypeIds", {
|
12
|
+
enumerable: true,
|
13
|
+
configurable: true,
|
14
|
+
writable: true,
|
15
|
+
value: []
|
16
|
+
});
|
17
|
+
Object.defineProperty(this, "filterWorkTypeList", {
|
18
|
+
enumerable: true,
|
19
|
+
configurable: true,
|
20
|
+
writable: true,
|
21
|
+
value: void 0
|
22
|
+
});
|
23
|
+
makeObservable(this);
|
24
|
+
}
|
25
|
+
onResetFilter(item) { }
|
26
|
+
onFilter(filterInfo) {
|
27
|
+
var _a;
|
28
|
+
filterInfo === null || filterInfo === void 0 ? void 0 : filterInfo.map((f) => {
|
29
|
+
if (f.c === "WorkType") {
|
30
|
+
this.filterWorkTypeIds.push(f.v1);
|
31
|
+
}
|
32
|
+
});
|
33
|
+
this.filterWorkTypeList = (_a = this.workTypeList) === null || _a === void 0 ? void 0 : _a.filter((t) => this.filterWorkTypeIds.includes(t.id));
|
34
|
+
}
|
35
|
+
}
|
36
|
+
__decorate([
|
37
|
+
observable
|
38
|
+
], State.prototype, "workTypeList", void 0);
|
39
|
+
__decorate([
|
40
|
+
observable
|
41
|
+
], State.prototype, "filterWorkTypeIds", void 0);
|
42
|
+
__decorate([
|
43
|
+
observable
|
44
|
+
], State.prototype, "filterWorkTypeList", void 0);
|
45
|
+
__decorate([
|
46
|
+
action
|
47
|
+
], State.prototype, "onResetFilter", null);
|
48
|
+
__decorate([
|
49
|
+
action
|
50
|
+
], State.prototype, "onFilter", null);
|
51
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAI1D,MAAM,OAAO,KAAK;IAKjB;QAJY;;;;mBAA4B,EAAE;WAAC;QAC/B;;;;mBAA8B,EAAE;WAAC;QACjC;;;;;WAAsC;QAGjD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,aAAa,CAAC,IAAY,IAAG,CAAC;IAE9B,QAAQ,CAAC,UAA0B;;QACjD,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,CAAe,EAAE,EAAE;YACnC,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,EAAE,CAAC;gBACxB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACnC,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,kBAAkB,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CACzD,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CACrC,CAAC;IACH,CAAC;CACD;AArBY;IAAX,UAAU;2CAAgC;AAC/B;IAAX,UAAU;gDAAkC;AACjC;IAAX,UAAU;iDAAuC;AAMnC;IAAd,MAAM;0CAAsC;AAE9B;IAAd,MAAM;qCAUN"}
|
@@ -66,7 +66,7 @@ const WorksProperties = (props) => {
|
|
66
66
|
case "Document":
|
67
67
|
return ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData;
|
68
68
|
case "Due":
|
69
|
-
return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due),
|
69
|
+
return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), variant: "borderless", onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement("span", { className: "properties-value" }, dayjs(work.due).format("DD MMM YYYY"))) : (noData)));
|
70
70
|
case "Owner":
|
71
71
|
return (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => runInAction(() => (state.ownerEditable = true)), content: (v) => {
|
72
72
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,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,EACrB,SAAS,EAAE;gCACV,EAAE,EAAE,MAAA,IAAI,CAAC,OAAO,0CAAE,EAAG;gCACrB,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CACtB,oBAAC,aAAa,IACb,IAAI,EAAE,IAAI,CAAC,OAAQ,EACnB,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,OAAQ,CAAC,IAAI,GAAG,KAAK,CAAC,GACrC,CACF;6BACD,GACA,CACF,CAAC,CAAC,CAAC,CACH,MAAM,CACN,CAAA;qBAAA,GAED,CACF,CAAC;YACH,KAAK,UAAU;gBACd,OAAO,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,EAAC,CAAC,CAAC,oBAAC,iBAAiB,IAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAI,CAAC,CAAC,CAAC,MAAM,CAAC;YAChF,KAAK,KAAK;gBACT,OAAO,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAC9B,oBAAC,UAAU,IACV,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAA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M,CAAC,KAAK,CAAC,CAAC,EACxE,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,EAC9B,SAAS,EAAE,SAAS,GACnB,CACI,CACF,CACN,CAAC,CAAC;IAEH,KAAK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACpE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;YACjC,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE;YACzD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,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,OAAO;IACR,CAAC;IACD,SAAS,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/NewTypeForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,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,gBAAgB,EAAE,MAAM,8BAA8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E;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,OAAO;IACR,CAAC;IACD,SAAS,SAAS,CAAC,CAAwC;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,QAAQ,EAAE,CAAC;IACZ,CAAC;IACD,sBAAsB;IACtB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -9,8 +9,8 @@ const RepeatTab = (props) => {
|
|
9
9
|
React.createElement("div", { className: "repeat-tab-head" }, "Repeat Tab"),
|
10
10
|
React.createElement(Form, { className: "repeat-tab-content", labelAlign: "left", labelCol: { span: 2 } },
|
11
11
|
React.createElement(Form.Item, { label: "Every" },
|
12
|
-
React.createElement(InputNumber, { defaultValue: "1",
|
13
|
-
React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 },
|
12
|
+
React.createElement(InputNumber, { defaultValue: "1", variant: "borderless" }),
|
13
|
+
React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 }, variant: "borderless" },
|
14
14
|
React.createElement(Select.Option, { value: "Week" }, "Week"),
|
15
15
|
React.createElement(Select.Option, { value: "Month" }, "Month"),
|
16
16
|
React.createElement(Select.Option, { value: "Year" }, "Year")),
|
@@ -32,7 +32,7 @@ const RepeatTab = (props) => {
|
|
32
32
|
React.createElement(Radio, { value: "never" }, "Never"),
|
33
33
|
React.createElement("div", null,
|
34
34
|
React.createElement(Radio, { value: "on" }, "On"),
|
35
|
-
React.createElement(DatePicker, {
|
35
|
+
React.createElement(DatePicker, { variant: "borderless", format: dateFormatList }))))),
|
36
36
|
React.createElement(Divider, null),
|
37
37
|
React.createElement("span", { style: { fontWeight: 500 } }, "Weekly on Wednesday, Friday"),
|
38
38
|
React.createElement(Divider, null)))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/RepeatTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,cAAc,CAAC;AAEtB,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,cAAc,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,YAAY;QAC1B,6BAAK,SAAS,EAAC,iBAAiB,iBAAiB;QACjD,oBAAC,IAAI,IAAC,SAAS,EAAC,oBAAoB,EAAC,UAAU,EAAC,MAAM,EAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;YAC3E,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,OAAO;gBACvB,oBAAC,WAAW,IAAC,YAAY,EAAE,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/RepeatTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAA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
@@ -23,7 +23,7 @@ const NewWorkspaceDialog = (props) => {
|
|
23
23
|
React.createElement(Form, { layout: "vertical" },
|
24
24
|
React.createElement(React.Fragment, null,
|
25
25
|
React.createElement(Form.Item, { label: "Title for your workspaces" },
|
26
|
-
React.createElement(Input, {
|
26
|
+
React.createElement(Input, { variant: "borderless", autoFocus: true, value: state.params.Name, onChange: (e) => runInAction(() => (state.params.Name = e.target.value)) })),
|
27
27
|
React.createElement(Form.Item, { label: "Members" },
|
28
28
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", onChange: (ids) => (state.params.MemberIds = ids) })),
|
29
29
|
React.createElement(Row, { justify: "end" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/NewWorkspaceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,kBAAkB,GAAG,CAAC,KAM3B,EAAE,EAAE;IACJ,MAAM,UAAU,GAAG,iBAAiB,EAAE,CAAC;IAEvC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACzC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,eAAe,EACrB,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,IAAI;QACpB,mBAAmB;QACnB,MAAM,EAAE,IAAI,EACZ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EACpE,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB;YACC,oBAAC,IAAI,IAAC,MAAM,EAAC,UAAU;gBACtB,oBAAC,KAAK,CAAC,QAAQ;oBACd,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,2BAA2B;wBAC3C,oBAAC,KAAK,IACL,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/NewWorkspaceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAA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