@voplus/morpho-workspace 6.0.3 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- 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 +4 -4
- 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/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/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/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/WorkErrorPropertiesView/index.js +13 -12
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +32 -31
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +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/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
@@ -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;AAEvF,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,WAAW,MAAM,yDAAyD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,MAAM,QAAQ,GAAG,CAAC,KAAsB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAEpB,SAAS,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC;IAEnD,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,MAAM;YAChB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;SAC1D;KACD,EACD,CAAC,EAAE,CAAC,CACJ,CAAC;IAEF,iBAAiB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAE9E,qBAAqB,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC;IAE3E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;
|
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,EAA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C,CAAC;IAE3E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACpC,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrC,0CACE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CACnB,oBAAC,OAAO,IACP,IAAI,EAAE,IAAI,CAAC,IAAW,EACtB,SAAS,EAAE,CAAC,EAAU,EAAE,OAAe,EAAE,IAAW,EAAE,EAAE,CACvD,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,EAEnC,IAAI,EAAE,CAAC,IAAW,EAAE,KAAa,EAAE,iBAAsB,EAAE,EAAE,CAAC,CAC7D,oBAAC,WAAW,IACX,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,GAIV,CACF,GACA,CACF,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CACd,oBAAC,KAAK,CAAC,QAAQ,OAAG,CAClB,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,qBAAqB;gBACnC,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,CAAC,sBAAsB,EAAE,WAAW,EAAE,KAAK,GAAI,CAC7D,CACN,CACC,CACO;QACV,QAAQ,IAAI,CACZ,oBAAC,WAAW,IACX,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,EAAE,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,EAAE,CAAC,CAAC;IAEzE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC;QAC3C,eAAe,CAAC,CAAC,CAAC,CAClB,
|
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,EAAE,CAAC,CAAC;IAEzE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC;QAC3C,eAAe,CAAC,CAAC,CAAC,CAClB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,OAAO,CAAC,OAAO;YACxC,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,QAAQ,EAAE,OAAO,CAAC,QAAQ,GACzB,CACQ,CACX,CAAC,CAAC,CAAC,IAAI;QACR,oBAAC,UAAU,IAAC,QAAQ,EAAE,OAAO,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,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,k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,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,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,
|
1
|
+
{"version":3,"file":"index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E,GAAI;wBAC3B,oBAAC,4BAA4B,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,GAAI,CAC3D,CACT,CACN,CACe,EAElB,KAAK,EACJ,oBAAC,KAAK,CAAC,QAAQ;gBACd,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,EAC3B,QAAQ,EAAE,KAAK,EACf,SAAS,EAAE,UAAU,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,GAC/D;gBACD,CAAC,MAAM,IAAI,CACX,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;wBAC3C,IAAI,EAAE,KAAK,CAAC,KAAK;qBACjB,CAAC;oBAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;wBAC9D,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAI;wBACnD,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACN,CACe,GAEjB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -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":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;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SAAS,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,yBAAyB,CAAC;gBACjF,OAAO,EAAE,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;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAChC,YAAY,EAAE,oBAAoB;IAClC,aAAa,EAAE,qBAAqB;IACpC,iBAAiB,EAAE;QAClB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,aAAa,EAAE;KACvB;CACD,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,O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AE,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;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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AM,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;QAChC,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzC,oBAAC,iBAAiB,IACjB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,WAAW,EAAE,QAAQ,CAAC,WAAW,EACjC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAC3B,OAAO,EAAC,KAAK,GACZ,CACQ;QACX,oBAAC,WAAW,IACX,QAAQ,EAAE,KAAK,CAAC,EAAE;YAClB,mBAAmB;YACnB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAC1B,CACoB,CACvB,CACgB,CAClB,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;AAEF,eAAe,6BAA6B,CAAC"}
|
@@ -41,10 +41,10 @@ const NewMeetingForm = (props) => {
|
|
41
41
|
React.createElement(Row, { justify: "space-between" },
|
42
42
|
React.createElement(Col, { span: 12 },
|
43
43
|
React.createElement(Form.Item, { label: "Start Time" },
|
44
|
-
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)) }))),
|
45
45
|
React.createElement(Col, { span: 12 },
|
46
46
|
React.createElement(Form.Item, { label: "End Time" },
|
47
|
-
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)) })))),
|
48
48
|
React.createElement(Form.Item, null,
|
49
49
|
React.createElement(FAIcon, { icon: faUserFriends, className: "margin-right-10" }),
|
50
50
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", onChange: (ids) => state.onChangMember(ids) })),
|
@@ -79,8 +79,8 @@ const NewMeetingForm = (props) => {
|
|
79
79
|
const res = await meetings.create({
|
80
80
|
data: {
|
81
81
|
...state.params,
|
82
|
-
StartTime:
|
83
|
-
EndTime:
|
82
|
+
StartTime: state.params.StartTime,
|
83
|
+
EndTime: state.params.EndTime,
|
84
84
|
ParentId: props.parentId,
|
85
85
|
},
|
86
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,CAA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U,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;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,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oBAED,oBAAC,GAAG,IAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,QAAQ;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() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,iEAAiE;AACjE,MAAM,cAAc,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IACjD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE3C,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,0BAA0B,EAAE,CAAC,CAAC;IAEzE,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IAEzB,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACd,WAAW,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,E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AAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,oBAAC,YAAY,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"}
|
@@ -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,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAa,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/NewNoteDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAA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AAa,CAAC"}
|
@@ -20,15 +20,15 @@ const TextNoteCard = (props) => {
|
|
20
20
|
// const text = { loading: false, date: "2020-08-03" };
|
21
21
|
const [state] = useState(new State());
|
22
22
|
return observe(() => (React.createElement(Card, { className: "text-note-card", shadow: true },
|
23
|
-
|
24
|
-
React.createElement(
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
React.createElement(Skeleton, { active: true, loading: note.loading },
|
24
|
+
React.createElement("div", { className: "text-card-container", onMouseOver: () => runInAction(() => (state.isHover = true)), onMouseLeave: () => runInAction(() => (state.isHover = false)), style: { backgroundColor: state.color } },
|
25
|
+
React.createElement("div", { className: "text-note-card_header" },
|
26
|
+
React.createElement("div", { className: classnames("text-note-card_theme", { show: state.isHover }) },
|
27
|
+
React.createElement(ColorSelect, { color: "", onChange: (c) => runInAction(() => (state.color = c.color)) })),
|
28
|
+
React.createElement("div", { className: classnames("text-note-card_date", { hide: state.isHover }) }, dayjs(note.date).format("D MMM YYYY HH:mm")),
|
29
|
+
React.createElement(ToolBar, { id: id },
|
30
|
+
React.createElement(Open, { url: `/document/${props.id}` }))),
|
31
|
+
React.createElement(Viewer, { html: note.text, onClick: () => runInAction(() => (state.visible = true)) }))),
|
32
32
|
React.createElement(TextQuickViewDialog, { id: id, visible: state.visible, onCancel: () => runInAction(() => (state.visible = false)) }))));
|
33
33
|
};
|
34
34
|
export default TextNoteCard;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/space/components/Notes/TextNoteCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;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|
28
|
-
return observe(() => error ? (React.createElement(Result, { status: error.toString() })) : (React.createElement("div", { className: "my-notifications" },
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
28
|
+
return observe(() => error ? (React.createElement(Result, { status: error.toString() })) : (React.createElement("div", { className: "my-notifications" },
|
29
|
+
React.createElement(Skeleton, { loading: params.status === "redirect" },
|
30
|
+
React.createElement(NotificationList, { status: params.status, active: params.active, onClickItem: (ev, item) => {
|
31
|
+
layout.history.push(generatePath(props.path, { status: params.status, active: item.id }));
|
32
|
+
}, onTotal: (total) => {
|
33
|
+
runInAction(() => {
|
34
|
+
props.state.notificationTotals[params.status] = total;
|
35
|
+
});
|
36
|
+
}, onItemStatusChanged: (old, item) => {
|
37
|
+
props.state.updateNotificationTotal(old, item.status);
|
38
|
+
} })))));
|
37
39
|
};
|
38
40
|
export default Notifications;
|
39
41
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/space/components/Notifications/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAExC,OAAO,gBAAgB,MAAM,8DAA8D,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,aAAa,GAAG,CAAC,KAAqC,EAAE,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IAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,EAAS,GAAI,CAC3C,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,kBAAkB;QAChC,oBAAC,QAAQ,IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,KAAK,UAAU;YAC9C,oBAAC,gBAAgB,IAChB,MAAM,EAAE,MAAM,CAAC,MAAO,EACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,WAAW,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE;oBACzB,MAAM,CAAC,OAAO,CAAC,IAAI,CAClB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CACpE,CAAC;gBACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;oBAClB,WAAW,CAAC,GAAG,EAAE;wBAChB,KAAK,CAAC,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,MAAO,CAAC,GAAG,KAAK,CAAC;oBACxD,CAAC,CAAC,CAAC;gBACJ,CAAC,EACD,mBAAmB,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;oBAClC,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;gBACvD,CAAC,GACA,CACQ,CACN,CACN,CACD,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -45,10 +45,10 @@ const NewTaskForm = (props) => {
|
|
45
45
|
React.createElement(Row, { gutter: 20 },
|
46
46
|
React.createElement(Col, { span: 12 },
|
47
47
|
React.createElement(Form.Item, { label: "Start Date" },
|
48
|
-
React.createElement(DatePicker, {
|
48
|
+
React.createElement(DatePicker, { disabledDate: (value) => disabledStartDate(value), onChange: (value) => (state.params.StartDate = value), style: { width: "100%" } }))),
|
49
49
|
React.createElement(Col, { span: 12 },
|
50
50
|
React.createElement(Form.Item, { label: "Due Date" },
|
51
|
-
React.createElement(DatePicker, {
|
51
|
+
React.createElement(DatePicker, { disabledDate: (value) => disabledEndDate(value), onChange: (value) => (state.params.DueDate = value), style: { width: "100%" } })))))) : (React.createElement(Form.Item, null,
|
52
52
|
React.createElement(Spin, { spinning: !!props.simple && !!state.loading },
|
53
53
|
React.createElement(Row, { justify: "space-between" },
|
54
54
|
React.createElement(Col, { flex: 1 },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NewTaskForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,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,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YA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kB;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,MAAM;YAAE,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;QACzC,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IACD,SAAS,UAAU;QAClB,KAAK,CAAC,QAAQ,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC;QACjC,IAAI,KAAK,CAAC,UAAU;YAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAC1C,CAAC;IACD,SAAS,iBAAiB,CAAC,SAAkC;QAC5D,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,SAAS,GAAI,OAAuB,CAAC;IAC7C,CAAC;IACD,SAAS,eAAe,CAAC,OAAgC;QACxD,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,OAAO,IAAK,SAAyB,CAAC;IAC9C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -57,9 +57,9 @@ const TaskEstimatedTime = (props) => {
|
|
57
57
|
: state.dueDate
|
58
58
|
? faHourglassEnd
|
59
59
|
: faHourglassStart, className: "margin-right-5" }),
|
60
|
-
state.startDate &&
|
60
|
+
state.startDate && dayjs(state.startDate).format(state.dateFormat),
|
61
61
|
state.startDate && state.dueDate && "~",
|
62
|
-
state.dueDate &&
|
62
|
+
state.dueDate && dayjs(state.dueDate).format(state.dateFormat),
|
63
63
|
period && state.startDate && state.dueDate && (React.createElement("span", { className: "margin-left-5" }, moment(state.startDate).from(moment(state.dueDate), true))))) : editable ? (React.createElement("span", { className: "add-info-style" },
|
64
64
|
React.createElement(FAIcon, { icon: faStopwatch, className: "margin-right-5" }),
|
65
65
|
"Add Task Time")) : null))));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskEstimatedTime/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAA0B,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEjG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,iBAAiB,GAAG,CAAC,KAA6B,EAAE,EAAE;IAC3D,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtF,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,CAA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
|
@@ -68,7 +68,8 @@ const TaskTabs = (props) => {
|
|
68
68
|
label: "Properties",
|
69
69
|
children: React.createElement(TaskProperties, { id: id }),
|
70
70
|
});
|
71
|
-
return observe(() =>
|
71
|
+
return observe(() => (React.createElement(Skeleton, { active: true, loading: !loaded },
|
72
|
+
React.createElement(DocumentTabs, { id: id, active: preTasks ? "Tasks" : properties ? "Properties" : "Tasks", tabItems: items, onChange: (key) => setActiveKey(key) }))));
|
72
73
|
};
|
73
74
|
export default TaskTabs;
|
74
75
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,QAAQ,GAAG,CAAC,KAA2C,EAAE,EAAE;IAChE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,CAA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QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -60,20 +60,18 @@ const TaskTabView = ({ id }) => {
|
|
60
60
|
: asideContext.openAside(AsideElement, { span: 12 })) }),
|
61
61
|
React.createElement(Archive, null))),
|
62
62
|
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
|
63
|
-
|
64
|
-
React.createElement(
|
65
|
-
|
66
|
-
|
67
|
-
React.createElement("div", { className: "
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
: item.right.id
|
76
|
-
: "", reload: true }))))))),
|
63
|
+
React.createElement(Skeleton, { active: true, loading: task.loading },
|
64
|
+
React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })),
|
65
|
+
React.createElement(Skeleton, { active: true, loading: task.loading },
|
66
|
+
"!!(task.links && task.links.length) && (",
|
67
|
+
React.createElement("div", { className: "linked-dependent-tasks" },
|
68
|
+
React.createElement("div", { className: "view-title" }, "Linked Dependent Tasks"),
|
69
|
+
(task.links || [])
|
70
|
+
.filter(({ type, right }) => type === "Dependent" && right.type === "Task")
|
71
|
+
.map((item) => (React.createElement("div", { key: item.id, className: "linked-dependent-task-item" },
|
72
|
+
React.createElement("span", null, item.right && item.right.id === id ? "By" : ""),
|
73
|
+
React.createElement(SubTaskItem, { id: item.right ? (item.right.id === id ? item.left.id : item.right.id) : "", reload: true }))))),
|
74
|
+
")"),
|
77
75
|
React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" }))))))));
|
78
76
|
/** reload data */
|
79
77
|
function onReload() {
|
@@ -1 +1 @@
|
|
1
|
-
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D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAExE,MAAM,SACL,CACG,CACN,CAAC,CACE;wBAEI;gBACX,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,UAAU,GAAI,CACnD,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;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,CAAC;QACH,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAChC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -19,18 +19,19 @@ const WorkErrorPropertiesView = (props) => {
|
|
19
19
|
const { user } = useApplicationContext();
|
20
20
|
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
21
21
|
React.createElement("div", { className: styles["workerror-properties-view"] },
|
22
|
-
|
23
|
-
React.createElement("div", { className: "workerror-header
|
24
|
-
React.createElement("div", { className: "workerror-header-
|
25
|
-
React.createElement("div", { className: "workerror-
|
26
|
-
|
27
|
-
|
28
|
-
React.createElement(
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
React.createElement(Skeleton, { active: true, loading: !workerror.loaded },
|
23
|
+
React.createElement("div", { className: "workerror-header" },
|
24
|
+
React.createElement("div", { className: "workerror-header-content" },
|
25
|
+
React.createElement("div", { className: "workerror-header-title" },
|
26
|
+
React.createElement("div", { className: "workerror-info" }, workerror.type),
|
27
|
+
React.createElement(Tag, { color: "purple" }, workerror.severity)),
|
28
|
+
React.createElement(ToolBar, { id: props.id, showMenu: false },
|
29
|
+
React.createElement(Open, { size: "small", url: `/work-error/${props.id}` }),
|
30
|
+
React.createElement(WorkErrorMenu, { id: props.id, closeAside: true }))),
|
31
|
+
React.createElement("div", { className: "workerror-date" }, dayjs(workerror.due).format("DD MMM YYYY")),
|
32
|
+
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workerror.causers || [], onChange: (ids) => {
|
33
|
+
store.edit(id, { data: { CauserIds: ids }, error: "message" });
|
34
|
+
} }))),
|
34
35
|
React.createElement(WorkErrorTabs, { id: id, propertie: true })))));
|
35
36
|
};
|
36
37
|
export default WorkErrorPropertiesView;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;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C,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;4BACrD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL;oBACN,6BAAK,SAAS,EAAC,gBAAgB,IAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAO;oBAClF,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;4BACjB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;wBAChE,CAAC,GACA,CACG,CACI;YACX,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CAC9B,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -23,37 +23,38 @@ const WorkScheduleItem = (props) => {
|
|
23
23
|
return observe(() => {
|
24
24
|
var _a, _b, _c, _d, _e, _f;
|
25
25
|
return (React.createElement("div", { className: classnames(styles["work-schedule-item"]), onClick: onQuickView, onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false) },
|
26
|
-
|
27
|
-
React.createElement(
|
28
|
-
React.createElement(
|
29
|
-
|
30
|
-
React.createElement(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
React.createElement(
|
35
|
-
|
36
|
-
React.createElement(
|
37
|
-
|
38
|
-
React.createElement(
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
React.createElement(
|
44
|
-
|
45
|
-
|
46
|
-
React.createElement(
|
47
|
-
React.createElement(
|
48
|
-
|
49
|
-
React.createElement(
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
React.createElement(
|
56
|
-
|
26
|
+
React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 }, loading: workSchedule.loading },
|
27
|
+
React.createElement(ColumnItem, null,
|
28
|
+
React.createElement(ColumnItemCol, { span: 10 },
|
29
|
+
React.createElement("div", { className: "work-schedule-item-name" }, `${(_a = workSchedule.workType) === null || _a === void 0 ? void 0 : _a.name}`),
|
30
|
+
React.createElement("div", { className: "text-sm text-gray-500 margin-right-15" },
|
31
|
+
React.createElement(FAIcon, { icon: faIdBadge, className: "margin-right-5" }), (_b = workSchedule.contact) === null || _b === void 0 ? void 0 :
|
32
|
+
_b.name)),
|
33
|
+
((_c = workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.work) === null || _c === void 0 ? void 0 : _c.id) ? (React.createElement(React.Fragment, null,
|
34
|
+
React.createElement(ColumnItemCol, { span: 8, title: "Work" },
|
35
|
+
React.createElement("div", { className: "work-schedule-item-data-info" }, (_d = workSchedule.work) === null || _d === void 0 ? void 0 : _d.name)),
|
36
|
+
React.createElement(ColumnItemCol, { span: 3, title: "Work Status" },
|
37
|
+
React.createElement("div", { className: "work-schedule-item-data-info" }, (_e = workSchedule.work) === null || _e === void 0 ? void 0 : _e.status)),
|
38
|
+
React.createElement(ColumnItemCol, { span: 3, align: "flex-end" },
|
39
|
+
React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
|
40
|
+
e.stopPropagation();
|
41
|
+
setHover(false);
|
42
|
+
} },
|
43
|
+
React.createElement(ToolBar, { id: id, showMenu: false },
|
44
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
|
45
|
+
React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))) : (React.createElement(React.Fragment, null,
|
46
|
+
React.createElement(ColumnItemCol, { span: 7, title: "Owner(s)" },
|
47
|
+
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, (_f = workSchedule.owners) === null || _f === void 0 ? void 0 : _f.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
48
|
+
React.createElement(UnitReference, { unit: item })))))),
|
49
|
+
React.createElement(ColumnItemCol, { span: 7, align: "flex-end" },
|
50
|
+
React.createElement(UpDownStatusBar, { className: classnames("work-schedule-item-menus", { hide: hover }), upNode: React.createElement("div", { className: classnames("flex items-baseline text-xl font-semibold commission-amount") }, workSchedule.schedule && (React.createElement("span", null, dayjs(workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.schedule).format("YYYY-MM-DD")))), downNode: React.createElement("div", { className: "work-schedule-item-schedule" }, workSchedule.status) }),
|
51
|
+
React.createElement("div", { className: classnames("work-schedule-item-tool", { show: hover }), onClick: (e) => {
|
52
|
+
e.stopPropagation();
|
53
|
+
setHover(false);
|
54
|
+
} },
|
55
|
+
React.createElement(ToolBar, { id: id, showMenu: false },
|
56
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
|
57
|
+
React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))))),
|
57
58
|
visibleQuickView && (React.createElement(WorkScheduleQuickViewDialog, { id: id, visible: true, onCancel: onQuickView }))));
|
58
59
|
});
|
59
60
|
/** Quick View */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAA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CAAC,MAAM,CAAO,GAExE;4BACF,6BACC,SAAS,EAAE,UAAU,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EACjE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oCACd,CAAC,CAAC,eAAe,EAAE,CAAC;oCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;gCACjB,CAAC;gCAED,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;oCAC/B,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAmB,CAAC,GAAI;oCAC/D,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACd,CACH,CACW,CACH;YACV,gBAAgB,IAAI,CACpB,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,GAAI,CAC7E,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW;QACnB,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -7,9 +7,8 @@ import { useWorkType } from "../../../../../data/worktype";
|
|
7
7
|
const WorkTypePropertiesCard = (props) => {
|
8
8
|
const { id, workTypeProperties } = props;
|
9
9
|
const worktype = useWorkType(id);
|
10
|
-
return observe(() => {
|
11
|
-
|
12
|
-
});
|
10
|
+
return observe(() => (React.createElement(Skeleton, { active: true, loading: worktype.loading },
|
11
|
+
React.createElement(PropertiesCard, { title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }))));
|
13
12
|
};
|
14
13
|
WorkTypePropertiesCard.defaultProps = {
|
15
14
|
workTypeProperties: [
|
package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE
|
1
|
+
{"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
@@ -8,8 +8,9 @@ const WorkTypeStatsCard = (props) => {
|
|
8
8
|
return observe(() => (React.createElement("div", { className: "mt-5 overflow-hidden bg-white shadow sm:rounded-lg", style: props.style },
|
9
9
|
React.createElement("div", { className: "px-4 py-4 sm:px-6" },
|
10
10
|
React.createElement("h3", { className: "text-lg font-medium leading-6 text-gray-900" }, "Work Stats")),
|
11
|
-
React.createElement("div", { className: "border-t border-gray-200" },
|
12
|
-
React.createElement(Skeleton, { active: true }
|
11
|
+
React.createElement("div", { className: "border-t border-gray-200" },
|
12
|
+
React.createElement(Skeleton, { active: true, loading: !state.estimatedLoaded },
|
13
|
+
React.createElement(WorktypeCompleteWorksChart, { id: props.id }))))));
|
13
14
|
};
|
14
15
|
export default WorkTypeStatsCard;
|
15
16
|
//# sourceMappingURL=WorkTypeStatsCard.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkTypeStatsCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAAkD,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,oDAAoD,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QACrF,6BAAK,SAAS,EAAC,mBAAmB;YACjC,4BAAI,SAAS,EAAC,6CAA6C,iBAAgB,CACtE;QACN,6BAAK,SAAS,EAAC,0BAA0B,
|
1
|
+
{"version":3,"file":"WorkTypeStatsCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/WorkTypeStatsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAAkD,EAAE,EAAE;IAChF,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,oDAAoD,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QACrF,6BAAK,SAAS,EAAC,mBAAmB;YACjC,4BAAI,SAAS,EAAC,6CAA6C,iBAAgB,CACtE;QACN,6BAAK,SAAS,EAAC,0BAA0B;YACxC,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,KAAK,CAAC,eAAe;gBAC/C,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAClC,CACN,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -9,8 +9,9 @@ const WorkTypeStats = (props) => {
|
|
9
9
|
return observe(() => (React.createElement("div", { className: styles["workstats"] },
|
10
10
|
React.createElement("div", { className: "workstats-head" }, "Work Stats"),
|
11
11
|
React.createElement("div", { className: "workstats-content" },
|
12
|
-
React.createElement(Row, { gutter: 24 }, props.id && (React.createElement(Col, { span: 24 },
|
13
|
-
React.createElement(Skeleton, { active: true }
|
12
|
+
React.createElement(Row, { gutter: 24 }, props.id && (React.createElement(Col, { span: 24 },
|
13
|
+
React.createElement(Skeleton, { active: true, loading: !state.estimatedLoaded },
|
14
|
+
React.createElement(WorktypeCompleteWorksChart, { id: props.id })))))))));
|
14
15
|
};
|
15
16
|
export default WorkTypeStats;
|
16
17
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeStats/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,E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,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;QAClC,6BAAK,SAAS,EAAC,gBAAgB,iBAAiB;QAChD,6BAAK,SAAS,EAAC,mBAAmB;YACjC,oBAAC,GAAG,IAAC,MAAM,EAAE,EAAE,IACb,KAAK,CAAC,EAAE,IAAI,CACZ,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE;gBACZ,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,KAAK,CAAC,eAAe;oBAC/C,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAClC,CACN,CACN,CACI,CACD,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data/contexts/StoreContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAU,EAAE,MAAe,EAAE,EAAE,CAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClD,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC"}
|