@voplus/morpho-workspace 6.0.2 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/TimeLog/index.js +5 -7
- package/es/components/TimeLog/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +3 -2
- package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingDescription/index.js +2 -2
- package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +6 -4
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/state.d.ts +6 -0
- package/es/modules/meeting/components/MeetingHeader/state.js +26 -0
- package/es/modules/meeting/components/MeetingHeader/state.js.map +1 -0
- package/es/modules/meeting/components/MeetingItem/index.js +11 -11
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingProperties/index.js +6 -4
- package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingProperties/state.d.ts +6 -0
- package/es/modules/meeting/components/MeetingProperties/state.js +26 -0
- package/es/modules/meeting/components/MeetingProperties/state.js.map +1 -0
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +2 -2
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js +6 -7
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingPrintView/index.js +5 -4
- package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +2 -2
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.js +1 -1
- package/es/modules/space/components/Notes/NewNoteDialog/index.js +1 -2
- package/es/modules/space/components/Notes/NewNoteDialog/index.js.map +1 -1
- package/es/modules/space/components/Notes/TextNoteCard/index.js +9 -9
- package/es/modules/space/components/Notes/TextNoteCard/index.js.map +1 -1
- package/es/modules/space/components/Notifications/index.js +11 -9
- package/es/modules/space/components/Notifications/index.js.map +1 -1
- package/es/modules/space/pages/MySpace/state.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js +2 -2
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/TaskEstimatedTime/index.js +2 -2
- package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
- package/es/modules/tasks/components/TaskEstimatedTime/state.js +1 -2
- package/es/modules/tasks/components/TaskEstimatedTime/state.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +2 -2
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskTabs/index.js +2 -1
- package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +12 -14
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.js +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.js +14 -13
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorkItem/index.js +2 -2
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/controls/WorkDataIconBar/index.js +3 -3
- package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +33 -32
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js.map +1 -1
- package/es/modules/work/work-type/components/RepeatTab/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +2 -3
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js +3 -2
- package/es/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeStats/index.js +3 -2
- package/es/modules/work/work-type/components/WorkTypeStats/index.js.map +1 -1
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +2 -2
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -1
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +2 -2
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -1
- package/package.json +1 -1
- package/es/data/contexts/StoreContext/index.d.ts +0 -3
- package/es/data/contexts/StoreContext/index.js +0 -4
- package/es/data/contexts/StoreContext/index.js.map +0 -1
@@ -3,7 +3,7 @@ import React, { useEffect, useState } from "react";
|
|
3
3
|
import { faPlay, faStop } from "@fortawesome/free-solid-svg-icons";
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
5
|
import { faStopwatch } from "@fortawesome/pro-light-svg-icons";
|
6
|
-
import
|
6
|
+
import dayjs from "dayjs";
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
8
8
|
import styles from "./index.less";
|
9
9
|
const TimeLog = (props) => {
|
@@ -59,13 +59,11 @@ const TimeLog = (props) => {
|
|
59
59
|
React.createElement(Avatar, { size: "small" }, "Mn"),
|
60
60
|
React.createElement("div", { className: "record-time" },
|
61
61
|
React.createElement("div", null,
|
62
|
-
React.createElement("span", null,
|
62
|
+
React.createElement("span", null, dayjs().format("YYYY-MM-DD")),
|
63
63
|
" from",
|
64
|
-
" ",
|
65
|
-
|
66
|
-
"
|
67
|
-
" ",
|
68
|
-
React.createElement("span", null, moment().format("HH:mm"))),
|
64
|
+
React.createElement("span", null, dayjs().format("HH:mm")),
|
65
|
+
" to ",
|
66
|
+
React.createElement("span", null, dayjs().format("HH:mm"))),
|
69
67
|
React.createElement("div", null, "3 hours 4 minutes 4 seconds")))))))), trigger: ["click"], placement: "bottomCenter", onOpenChange: handleVisibleChange },
|
70
68
|
React.createElement(Button, { shape: "circle", size: props.size },
|
71
69
|
React.createElement(FAIcon, { icon: faStopwatch })))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TimeLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TimeLog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM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AO,CAAC"}
|
@@ -24,8 +24,9 @@ const TaskList = (props) => {
|
|
24
24
|
useTaskListEffect(list, (result) => list.union(result), list.filters.options);
|
25
25
|
useAutoUpdateListData(list, (d) => d.parentId === id && d.type === "Task");
|
26
26
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
27
|
-
|
28
|
-
React.createElement(
|
27
|
+
React.createElement(Skeleton, { active: true, loading: list.loading },
|
28
|
+
React.createElement(React.Fragment, null, list.data.length ? (React.createElement(SortDnD, { list: list.data, moveAfter: (id, afterId, list) => state.moveAfter(id, afterId, list), text: (task, index, connectDragSource) => (React.createElement(SubTaskItem, { key: task.id, id: task.id })) })) : editable ? (React.createElement(React.Fragment, null)) : (React.createElement("div", { className: "agenda-task-nothing" },
|
29
|
+
React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE, description: false }))))),
|
29
30
|
editable && (React.createElement(NewTaskForm, { simple: true, parentId: id, block: true, onSave: state.onAddTask, onCancel: state.onAddTask })))));
|
30
31
|
};
|
31
32
|
export default TaskList;
|
package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAU,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAS,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC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AAE,EACZ,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,KAAK,CAAC,SAAS,EACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,GACxB,CACF,CACyB,CAC3B,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,QAAQ,CAAC"}
|
@@ -9,8 +9,8 @@ const MeetingDescription = (props) => {
|
|
9
9
|
const { id, descriptionAble, viewTitle } = props;
|
10
10
|
const meeting = useMeeting(id, { includes: "tags,task-number-reports" });
|
11
11
|
return observe(() => (React.createElement("div", { className: styles["meeting-detail-view"] },
|
12
|
-
descriptionAble ? (
|
13
|
-
React.createElement(
|
12
|
+
descriptionAble ? (React.createElement(Skeleton, { active: true, loading: meeting.loading },
|
13
|
+
React.createElement(DescriptionEditor, { id: id, description: meeting.description, readonly: meeting.readonly }))) : null,
|
14
14
|
React.createElement(AgendaList, { parentId: meeting.id, readonly: meeting.readonly, viewTitle: viewTitle }))));
|
15
15
|
};
|
16
16
|
export default MeetingDescription;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingDescription/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,kBAAkB,GAAG,CAAC,KAK3B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACjD,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,0BAA0B,E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AS,GAAI,CACjF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -14,10 +14,12 @@ import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader
|
|
14
14
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
15
15
|
import moment from "moment";
|
16
16
|
import dayjs from "dayjs";
|
17
|
+
import { State } from "./state";
|
17
18
|
import "./index.less";
|
18
19
|
const MeetingHeader = (props) => {
|
19
20
|
const { id, onReLoad, onExpand } = props;
|
20
21
|
const meta = useMetaStore();
|
22
|
+
const [state] = useState(new State());
|
21
23
|
const meetingStore = useMeetingStore();
|
22
24
|
const meeting = useMeeting(id, { reload: true, includes: "tags,task-number-reports" });
|
23
25
|
const [editable, setEditable] = useState(false);
|
@@ -70,8 +72,8 @@ const MeetingHeader = (props) => {
|
|
70
72
|
async function onOk() {
|
71
73
|
await meetingStore.edit(meeting.id, {
|
72
74
|
data: {
|
73
|
-
StartTime: dayjs(
|
74
|
-
EndTime: dayjs(
|
75
|
+
StartTime: dayjs(state.startTime || new Date()).format("YYYY-MM-DDTHH:mm:ss.SSS"),
|
76
|
+
EndTime: dayjs(state.endTime || new Date()).format("YYYY-MM-DDTHH:mm:ss.SSS"),
|
75
77
|
},
|
76
78
|
error: "message",
|
77
79
|
});
|
@@ -79,8 +81,8 @@ const MeetingHeader = (props) => {
|
|
79
81
|
setEditable(false);
|
80
82
|
}
|
81
83
|
function onChangeDate(value, dateString) {
|
82
|
-
|
83
|
-
|
84
|
+
state.startTime = value[0];
|
85
|
+
state.endTime = value[1];
|
84
86
|
}
|
85
87
|
function onEditDate() {
|
86
88
|
setOpen(true);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,aAAa,GACb,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,aAAa,GACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,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AAE,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC;aAC7E;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IACD,SAAS,YAAY,CAAC,KAAU,EAAE,UAAoB;QACrD,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3B,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IACD,SAAS,UAAU;QAClB,OAAO,CAAC,IAAI,CAAC,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IACD,SAAS,YAAY,CAAC,IAAa;QAClC,WAAW,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { makeObservable, observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "startTime", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: void 0
|
10
|
+
});
|
11
|
+
Object.defineProperty(this, "endTime", {
|
12
|
+
enumerable: true,
|
13
|
+
configurable: true,
|
14
|
+
writable: true,
|
15
|
+
value: void 0
|
16
|
+
});
|
17
|
+
makeObservable(this);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
__decorate([
|
21
|
+
observable
|
22
|
+
], State.prototype, "startTime", void 0);
|
23
|
+
__decorate([
|
24
|
+
observable
|
25
|
+
], State.prototype, "endTime", void 0);
|
26
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/state.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IAIjB;QAHmB;;;;;WAAiB;QACjB;;;;;WAAe;QAGjC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AANmB;IAAlB,UAAU;wCAAyB;AACjB;IAAlB,UAAU;sCAAuB"}
|
@@ -12,8 +12,8 @@ import { State } from "./state";
|
|
12
12
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
13
13
|
import { Tooltip } from "antd";
|
14
14
|
import classnames from "classnames";
|
15
|
-
import { localFormat } from "../../../../data/contexts/StoreContext";
|
16
15
|
import moment from "moment";
|
16
|
+
import dayjs from "dayjs";
|
17
17
|
import { observe } from "@voplus/morpho-ui";
|
18
18
|
import { runInAction } from "mobx";
|
19
19
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -28,21 +28,21 @@ const MeetingItem = (props) => {
|
|
28
28
|
return observe(() => {
|
29
29
|
var _a;
|
30
30
|
return (React.createElement(DocumentHeader, { id: id, flagVisible: false, tagsVisible: !!((_a = meeting.tags) === null || _a === void 0 ? void 0 : _a.length), clickNameEffect: "default", className: classnames("meeting-item", {
|
31
|
-
past:
|
32
|
-
}), onMouse: (over) => runInAction(() => (state.hover = over)), pre: !meeting.startTime ||
|
33
|
-
React.createElement("div", null,
|
34
|
-
React.createElement("div", { className: "month" },
|
35
|
-
React.createElement("div", null,
|
36
|
-
React.createElement("div", { className: "month" },
|
31
|
+
past: dayjs(meeting.startTime).isBefore(dayjs()),
|
32
|
+
}), onMouse: (over) => runInAction(() => (state.hover = over)), pre: !meeting.startTime || dayjs(meeting.startTime).isAfter(dayjs()) ? (React.createElement(React.Fragment, null,
|
33
|
+
React.createElement("div", null, dayjs(meeting.startTime).format("DD")),
|
34
|
+
React.createElement("div", { className: "month" }, dayjs(meeting.startTime).format("ddd")))) : (React.createElement(React.Fragment, null,
|
35
|
+
React.createElement("div", null, dayjs(meeting.startTime).format("DD MMM")),
|
36
|
+
React.createElement("div", { className: "month" }, dayjs(meeting.startTime).format("YYYY")))), quickDataBar: React.createElement(React.Fragment, null,
|
37
37
|
meeting.startTime && (React.createElement("div", null,
|
38
38
|
React.createElement("span", { className: "data-icon" },
|
39
39
|
React.createElement(FAIcon, { icon: faClock }),
|
40
|
-
React.createElement(Tooltip, { title:
|
40
|
+
React.createElement(Tooltip, { title: dayjs(meeting.startTime).format("YYYY-MM-DD HH:mm:ss") +
|
41
41
|
" to " +
|
42
|
-
|
43
|
-
React.createElement("span", null,
|
42
|
+
dayjs(meeting.endTime).format("YYYY-MM-DD HH:mm:ss") },
|
43
|
+
React.createElement("span", null, dayjs(meeting.startTime).format("hh:mm A") +
|
44
44
|
" to " +
|
45
|
-
|
45
|
+
dayjs(meeting.endTime).format("hh:mm A")))),
|
46
46
|
React.createElement("span", { className: "data-icon" },
|
47
47
|
React.createElement(FAIcon, { icon: faStopwatch }),
|
48
48
|
moment(meeting.startTime).from(moment(meeting.endTime), true)))),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAExF,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAA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AAC"}
|
@@ -11,6 +11,7 @@ import MeetingTasksProgressDataIcon from "../../controls/MeetingTasksProgressDat
|
|
11
11
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
12
12
|
import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
|
13
13
|
import classnames from "classnames";
|
14
|
+
import { State } from "./state";
|
14
15
|
import moment from "moment";
|
15
16
|
import dayjs from "dayjs";
|
16
17
|
const MeetingProperties = (props) => {
|
@@ -20,6 +21,7 @@ const MeetingProperties = (props) => {
|
|
20
21
|
const { user } = useApplicationContext();
|
21
22
|
const [editable, setEditable] = useState(false);
|
22
23
|
const [open, setOpen] = useState(false);
|
24
|
+
const [state] = useState(new State());
|
23
25
|
const meeting = useMeeting(id, { reload: true, includes: "tags,task-number-reports" });
|
24
26
|
const meetingStore = useMeetingStore();
|
25
27
|
const isAfterNow = dayjs(meeting.startTime).isAfter(dayjs());
|
@@ -72,8 +74,8 @@ const MeetingProperties = (props) => {
|
|
72
74
|
async function onOk() {
|
73
75
|
await meetingStore.edit(meeting.id, {
|
74
76
|
data: {
|
75
|
-
StartTime: dayjs(
|
76
|
-
EndTime: dayjs(
|
77
|
+
StartTime: dayjs(state.startTime || new Date()).format("YYYY-MM-DDTHH:mm:ss.SSS"),
|
78
|
+
EndTime: dayjs(state.endTime || new Date()).format("YYYY-MM-DDTHH:mm:ss.SSS"),
|
77
79
|
},
|
78
80
|
error: "message",
|
79
81
|
});
|
@@ -81,8 +83,8 @@ const MeetingProperties = (props) => {
|
|
81
83
|
setEditable(false);
|
82
84
|
}
|
83
85
|
function onChangeDate(value, dateString) {
|
84
|
-
|
85
|
-
|
86
|
+
state.startTime = value[0];
|
87
|
+
state.endTime = value[1];
|
86
88
|
}
|
87
89
|
function onEditDate() {
|
88
90
|
setOpen(true);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingProperties/index.tsx"],"names":[],"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D,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { __decorate } from "tslib";
|
2
|
+
import { makeObservable, observable } from "mobx";
|
3
|
+
export class State {
|
4
|
+
constructor() {
|
5
|
+
Object.defineProperty(this, "startTime", {
|
6
|
+
enumerable: true,
|
7
|
+
configurable: true,
|
8
|
+
writable: true,
|
9
|
+
value: void 0
|
10
|
+
});
|
11
|
+
Object.defineProperty(this, "endTime", {
|
12
|
+
enumerable: true,
|
13
|
+
configurable: true,
|
14
|
+
writable: true,
|
15
|
+
value: void 0
|
16
|
+
});
|
17
|
+
makeObservable(this);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
__decorate([
|
21
|
+
observable
|
22
|
+
], State.prototype, "startTime", void 0);
|
23
|
+
__decorate([
|
24
|
+
observable
|
25
|
+
], State.prototype, "endTime", void 0);
|
26
|
+
//# sourceMappingURL=state.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingProperties/state.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IAIjB;QAHmB;;;;;WAAiB;QACjB;;;;;WAAe;QAGjC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AANmB;IAAlB,UAAU;wCAAyB;AACjB;IAAlB,UAAU;sCAAuB"}
|
@@ -29,8 +29,8 @@ const MeetingsFolderQuickViewDialog = (props) => {
|
|
29
29
|
detail: React.createElement(DocumentList, { id: props.id, exclude: ["Meeting"], multiple: true }),
|
30
30
|
},
|
31
31
|
] }, reload && (React.createElement(ViewContext.Provider, { value: view },
|
32
|
-
|
33
|
-
React.createElement(
|
32
|
+
React.createElement(Skeleton, { active: true, loading: document.loading },
|
33
|
+
React.createElement(DescriptionEditor, { id: props.id, description: document.description, readonly: document.readonly, padding: "0px" })),
|
34
34
|
React.createElement(MeetingList, { parentId: props.id,
|
35
35
|
// title="Meetings"
|
36
36
|
readonly: document.readonly }))))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,6BAA6B,GAAG,CAAC,KAItC,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAE,MAAM,CAAC,4BAA4B,CAAC,EAC/C,MAAM,EACL,oBAAC,KAAK,CAAC,QAAQ,QACb,MAAM,IAAI,CACV,oBAAC,cAAc,IACd,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,IAAI,EAAC,IAAI,EACT,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,KAAK,EACJ,6BAAK,SAAS,EAAC,WAAW;gBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE;oBACpB,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAI;oBACtC,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;oBAC5B,oBAAC,OAAO,OAAG,CACF,CACL,GAEN,CACF,CACe,EAElB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EACtD,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,QAAQ,SAAG;aACrE;SACD,IAEA,MAAM,IAAI,CACV,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;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ACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
@@ -13,7 +13,6 @@ import AgendaNewForm from "../AgendaList/AgendaNewForm";
|
|
13
13
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
14
14
|
import MeetingPropertiesView from "../MeetingPropertiesView";
|
15
15
|
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
16
|
-
import moment from "moment";
|
17
16
|
import dayjs from "dayjs";
|
18
17
|
import styles from "./index.less";
|
19
18
|
const NewMeetingForm = (props) => {
|
@@ -42,10 +41,10 @@ const NewMeetingForm = (props) => {
|
|
42
41
|
React.createElement(Row, { justify: "space-between" },
|
43
42
|
React.createElement(Col, { span: 12 },
|
44
43
|
React.createElement(Form.Item, { label: "Start Time" },
|
45
|
-
React.createElement(DatePicker, {
|
44
|
+
React.createElement(DatePicker, { showTime: { format: "HH:mm" }, format: "YYYY-MM-DD HH:mm", disabledDate: disabledStartTime, onChange: (value) => runInAction(() => (state.params.StartTime = value)) }))),
|
46
45
|
React.createElement(Col, { span: 12 },
|
47
46
|
React.createElement(Form.Item, { label: "End Time" },
|
48
|
-
React.createElement(DatePicker, {
|
47
|
+
React.createElement(DatePicker, { showTime: { format: "HH:mm" }, format: "YYYY-MM-DD HH:mm", disabledDate: disabledEndTime, onChange: (value) => runInAction(() => (state.params.EndTime = value)) })))),
|
49
48
|
React.createElement(Form.Item, null,
|
50
49
|
React.createElement(FAIcon, { icon: faUserFriends, className: "margin-right-10" }),
|
51
50
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", onChange: (ids) => state.onChangMember(ids) })),
|
@@ -70,8 +69,8 @@ const NewMeetingForm = (props) => {
|
|
70
69
|
}
|
71
70
|
function changeAllDay(e) {
|
72
71
|
state.allDay = e.target.checked;
|
73
|
-
state.params.StartTime = state.allDay ?
|
74
|
-
state.params.EndTime = state.allDay ?
|
72
|
+
state.params.StartTime = state.allDay ? dayjs().startOf("day") : "";
|
73
|
+
state.params.EndTime = state.allDay ? dayjs().endOf("day") : "";
|
75
74
|
}
|
76
75
|
async function onSubmit() {
|
77
76
|
if (!state.params.Name)
|
@@ -80,8 +79,8 @@ const NewMeetingForm = (props) => {
|
|
80
79
|
const res = await meetings.create({
|
81
80
|
data: {
|
82
81
|
...state.params,
|
83
|
-
StartTime:
|
84
|
-
EndTime:
|
82
|
+
StartTime: state.params.StartTime,
|
83
|
+
EndTime: state.params.EndTime,
|
85
84
|
ParentId: props.parentId,
|
86
85
|
},
|
87
86
|
error: "message",
|
@@ -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;AACp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AAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACpE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAE1C,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;YACjC,IAAI,EAAE;gBACL,GAAG,KAAK,CAAC,MAAM;gBACf,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS;gBACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO;gBAC7B,QAAQ,EAAE,KAAK,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,CAAM;;QACxB,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YAAE,OAAO;QAC7B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -8,8 +8,8 @@ import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
|
8
8
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
10
10
|
import Scrollbars from "react-custom-scrollbars-2";
|
11
|
-
import { localFormat } from "../../../../data/contexts/StoreContext";
|
12
11
|
import moment from "moment";
|
12
|
+
import dayjs from "dayjs";
|
13
13
|
import { observe } from "@voplus/morpho-ui";
|
14
14
|
import { useMeeting } from "../../../../data/meeting";
|
15
15
|
import { useParams } from "react-router-dom";
|
@@ -29,9 +29,9 @@ const MeetingTabView = () => {
|
|
29
29
|
meeting.startTime && (React.createElement("div", null,
|
30
30
|
React.createElement("span", { className: "print-clock" },
|
31
31
|
React.createElement(FAIcon, { icon: faClock }),
|
32
|
-
|
32
|
+
dayjs(meeting.startTime).format("MM-DD hh:mm A") +
|
33
33
|
" to " +
|
34
|
-
|
34
|
+
dayjs(meeting.endTime).format("MM-DD hh:mm A")),
|
35
35
|
React.createElement("span", { className: "duration" },
|
36
36
|
React.createElement(FAIcon, { icon: faStopwatch }),
|
37
37
|
moment(meeting.startTime).from(moment(meeting.endTime), true)))),
|
@@ -41,7 +41,8 @@ const MeetingTabView = () => {
|
|
41
41
|
meeting.venue)),
|
42
42
|
React.createElement(FAIcon, { icon: faUserFriends, flip: "horizontal", color: "#666", size: "sm" }),
|
43
43
|
React.createElement(AvatarList, { list: meeting.members || [], organizationId: user.info.organizationId, editable: false }))),
|
44
|
-
|
44
|
+
React.createElement(Skeleton, { active: true, loading: meeting.loading },
|
45
|
+
React.createElement(DescriptionEditor, { id: id, description: meeting.description, readonly: meeting.readonly, padding: "0 0 0.75rem 0" }))),
|
45
46
|
React.createElement(AgendaList, { preview: true, parentId: id })))));
|
46
47
|
};
|
47
48
|
export default MeetingTabView;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingPrintView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN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Q;wBACjC,OAAO,CAAC,KAAK,IAAI,CACjB,6BAAK,SAAS,EAAC,aAAa;4BAC3B,oBAAC,MAAM,IAAC,IAAI,EAAE,cAAc,GAAI;4BAC/B,OAAO,CAAC,KAAK,CACT,CACN;wBACD,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,GAAG;wBAC1E,oBAAC,UAAU,IACV,IAAI,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,EAC3B,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,EAAE,KAAK,GACd,CACG,CAED;gBACN,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,OAAO,CAAC,OAAO;oBACxC,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,OAAO,EAAC,eAAe,GACtB,CACQ,CACN;YAEN,oBAAC,UAAU,IAAC,OAAO,QAAC,QAAQ,EAAE,EAAE,GAAI,CACxB,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -30,8 +30,8 @@ const MeetingTabView = ({ id }) => {
|
|
30
30
|
React.createElement(MeetingHeader, { id: id, onReLoad: onReLoad, onExpand: () => runInAction(() => asideContext.asideContent
|
31
31
|
? asideContext.closeAside()
|
32
32
|
: asideContext.openAside(AsideElement, { span: 12 })) }),
|
33
|
-
|
34
|
-
React.createElement(
|
33
|
+
React.createElement(Skeleton, { active: true, loading: meeting.loading },
|
34
|
+
React.createElement(DescriptionEditor, { id: id, description: meeting.description, readonly: meeting.readonly, padding: "0 0 0.75rem 0" })),
|
35
35
|
React.createElement(AgendaList, { readonly: meeting.readonly, parentId: id }))))))));
|
36
36
|
/** reload data */
|
37
37
|
function onReLoad() {
|
@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IAAC,OAAO,EAAE,YAAY;YAClC,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,IACxC,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;gBACd,oBAAC,aAAa,IACb,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CACd,WAAW,CAAC,GAAG,EAAE,CAChB,YAAY,CAAC,YAAY;wBACxB,CAAC,CAAC,YAAY,CAAC,UAAU,EAAE;wBAC3B,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACrD,GAED;gBACF,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,OAAO,CAAC,OAAO;oBACxC,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,OAAO,EAAC,eAAe,GACtB,CACQ;gBACX,oBAAC,UAAU,IAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,GAAI,CACxC,CACjB,CACI,CACQ,CACV,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -19,7 +19,7 @@ const DocumentNotificationCard = (props) => {
|
|
19
19
|
React.createElement("h3", null, notification.content.title),
|
20
20
|
React.createElement(ProseMirrorViewer, { html: notification.content.content }),
|
21
21
|
React.createElement("div", { className: "notification-footer" },
|
22
|
-
React.createElement("div", { className: "notification-date" }, dayjs(notification.createDate).format("DD MMM
|
22
|
+
React.createElement("div", { className: "notification-date" }, dayjs(notification.createDate).format("DD MMM YYYY")),
|
23
23
|
React.createElement("div", { className: "notification-btn" },
|
24
24
|
React.createElement(Space, null,
|
25
25
|
notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => {
|
@@ -7,7 +7,6 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
7
|
import { Modal } from "antd";
|
8
8
|
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
9
9
|
import { RequestBuilder } from "@voplus/api";
|
10
|
-
import { localFormat } from "../../../../../data/contexts/StoreContext";
|
11
10
|
import dayjs from "dayjs";
|
12
11
|
import { observe } from "@voplus/morpho-ui";
|
13
12
|
const NewNoteDialog = (props) => {
|
@@ -17,7 +16,7 @@ const NewNoteDialog = (props) => {
|
|
17
16
|
const documentStore = useDocumentStore();
|
18
17
|
return observe(() => (React.createElement(Modal, { title: React.createElement(React.Fragment, null,
|
19
18
|
React.createElement("div", null, "Add Note"),
|
20
|
-
React.createElement("div", { className: "date" },
|
19
|
+
React.createElement("div", { className: "date" }, dayjs(dayjs()).format("dddd, MMM Do, h:mm A"))), width: "660px", open: visible, closable: false, footer: null, className: "new-note-dialog" },
|
21
20
|
React.createElement("div", { className: "note-header" },
|
22
21
|
React.createElement(ColorSelect, { onChange: (c) => setColor(c.name) }),
|
23
22
|
React.createElement("div", null,
|