@voplus/morpho-workspace 6.0.62 → 6.0.64
Sign up to get free protection for your applications and to get access to all the features.
- package/es/data/notification/NotificationStore.d.ts +14 -4
- package/es/data/notification/NotificationStore.js +54 -4
- package/es/data/notification/NotificationStore.js.map +1 -1
- package/es/data/notification/index.d.ts +1 -0
- package/es/data/notification/index.js +1 -0
- package/es/data/notification/index.js.map +1 -1
- package/es/data/notification/interfaces.d.ts +13 -0
- package/es/data/notification/notification-events/index.d.ts +3 -0
- package/es/data/notification/notification-events/index.js +4 -0
- package/es/data/notification/notification-events/index.js.map +1 -0
- package/es/data/notification/notification-events/useAutoUpdateListData.d.ts +4 -0
- package/es/data/notification/notification-events/useAutoUpdateListData.js +13 -0
- package/es/data/notification/notification-events/useAutoUpdateListData.js.map +1 -0
- package/es/data/notification/notification-events/useOnDeleteNotification.d.ts +4 -0
- package/es/data/notification/notification-events/useOnDeleteNotification.js +16 -0
- package/es/data/notification/notification-events/useOnDeleteNotification.js.map +1 -0
- package/es/data/notification/notification-events/useOnNewNotification.d.ts +4 -0
- package/es/data/notification/notification-events/useOnNewNotification.js +16 -0
- package/es/data/notification/notification-events/useOnNewNotification.js.map +1 -0
- package/es/data/notification/types.d.ts +28 -0
- package/es/modules/Routes.d.ts +6 -0
- package/es/modules/Routes.js +14 -1
- package/es/modules/Routes.js.map +1 -1
- package/es/modules/meeting/components/MeetingDescription/index.js +1 -1
- package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js +1 -1
- package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingPrintView/index.js +1 -1
- package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +17 -0
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +67 -0
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -0
- package/es/modules/notification/components/NewNotificationForm/index.d.ts +10 -0
- package/es/modules/notification/components/NewNotificationForm/index.js +14 -0
- package/es/modules/notification/components/NewNotificationForm/index.js.map +1 -0
- package/es/modules/notification/components/NewNotificationForm/index.less +38 -0
- package/es/modules/notification/components/NewNotificationForm/state.d.ts +19 -0
- package/es/modules/notification/components/NewNotificationForm/state.js +54 -0
- package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -0
- package/es/modules/notification/components/NotificationHeader/index.d.ts +6 -0
- package/es/modules/notification/components/NotificationHeader/index.js +19 -0
- package/es/modules/notification/components/NotificationHeader/index.js.map +1 -0
- package/es/modules/notification/components/NotificationHeader/index.less +12 -0
- package/es/modules/notification/components/NotificationItem/index.d.ts +6 -0
- package/es/modules/notification/components/NotificationItem/index.js +31 -0
- package/es/modules/notification/components/NotificationItem/index.js.map +1 -0
- package/es/modules/notification/components/NotificationItem/index.less +29 -0
- package/es/modules/notification/components/NotificationList2/index.d.ts +7 -0
- package/es/modules/notification/components/NotificationList2/index.js +39 -0
- package/es/modules/notification/components/NotificationList2/index.js.map +1 -0
- package/es/modules/notification/components/NotificationList2/index.less +11 -0
- package/es/modules/notification/components/NotificationProperties/index.d.ts +20 -0
- package/es/modules/notification/components/NotificationProperties/index.js +56 -0
- package/es/modules/notification/components/NotificationProperties/index.js.map +1 -0
- package/es/modules/notification/components/NotificationPropertiesView/index.d.ts +7 -0
- package/es/modules/notification/components/NotificationPropertiesView/index.js +16 -0
- package/es/modules/notification/components/NotificationPropertiesView/index.js.map +1 -0
- package/es/modules/notification/components/NotificationPropertiesView/index.less +26 -0
- package/es/modules/notification/components/NotificationQuickViewDialog/index.d.ts +8 -0
- package/es/modules/notification/components/NotificationQuickViewDialog/index.js +13 -0
- package/es/modules/notification/components/NotificationQuickViewDialog/index.js.map +1 -0
- package/es/modules/notification/components/NotificationQuickViewDialog/index.less +7 -0
- package/es/modules/notification/components/NotificationRecipients/index.d.ts +7 -0
- package/es/modules/notification/components/NotificationRecipients/index.js +27 -0
- package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -0
- package/es/modules/notification/components/NotificationRecipients/index.less +17 -0
- package/es/modules/notification/components/NotificationTabs/index.d.ts +7 -0
- package/es/modules/notification/components/NotificationTabs/index.js +38 -0
- package/es/modules/notification/components/NotificationTabs/index.js.map +1 -0
- package/es/modules/notification/components/NotificationTabs/index.less +8 -0
- package/es/modules/notification/controls/NotificationMenu/index.d.ts +7 -0
- package/es/modules/notification/controls/NotificationMenu/index.js +13 -0
- package/es/modules/notification/controls/NotificationMenu/index.js.map +1 -0
- package/es/modules/notification/pages/NotificationDefaultView/index.d.ts +4 -0
- package/es/modules/notification/pages/NotificationDefaultView/index.js +26 -0
- package/es/modules/notification/pages/NotificationDefaultView/index.js.map +1 -0
- package/es/modules/notification/pages/NotificationDefaultView/index.less +19 -0
- package/es/modules/tasks/pages/TaskTabView/index.js +16 -12
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js +4 -3
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
- package/es/obsolete/space/components/Notes/TextNoteCard/index.js +1 -1
- package/es/obsolete/space/components/Notes/TextNoteCard/index.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,38 @@
|
|
1
|
+
import { observe } from "@voplus/morpho-ui";
|
2
|
+
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
3
|
+
import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
|
4
|
+
import { Tabs } from "antd";
|
5
|
+
import { useNotification } from "../../../../data/notification";
|
6
|
+
import React, { useState, useMemo } from "react";
|
7
|
+
import NotificationProperties from "../NotificationProperties";
|
8
|
+
import NotificationRecipients from "../NotificationRecipients";
|
9
|
+
import "./index.less";
|
10
|
+
const NotificationTabs = (props) => {
|
11
|
+
const { id, properties } = props;
|
12
|
+
const [activeKey, setActiveKey] = useState(properties ? "Properties" : "Document");
|
13
|
+
const view = useMemo(() => new ViewContextData("QuickView"), []);
|
14
|
+
const notification = useNotification(id);
|
15
|
+
const items = [
|
16
|
+
{
|
17
|
+
key: "Content",
|
18
|
+
label: "Content",
|
19
|
+
children: (React.createElement("div", { style: { padding: "20px" } },
|
20
|
+
React.createElement(ProseMirrorViewer, { html: notification.body }))),
|
21
|
+
},
|
22
|
+
{
|
23
|
+
key: "Recipients",
|
24
|
+
label: "Recipients",
|
25
|
+
children: React.createElement(NotificationRecipients, { id: id }),
|
26
|
+
},
|
27
|
+
];
|
28
|
+
properties &&
|
29
|
+
items.unshift({
|
30
|
+
key: "Properties",
|
31
|
+
label: "Properties",
|
32
|
+
children: React.createElement(NotificationProperties, { id: id }),
|
33
|
+
});
|
34
|
+
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
35
|
+
React.createElement(Tabs, { className: "notification-tabs", items: items, activeKey: activeKey, onChange: (key) => setActiveKey(key) }))));
|
36
|
+
};
|
37
|
+
export default NotificationTabs;
|
38
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0D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AC,EAAE,EAAE,EAAE,GAAI;SAC5C,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,oBAAC,IAAI,IACJ,SAAS,EAAC,mBAAmB,EAC7B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACoB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import NodeMenu from "@voplus/morpho-org/es/controls/NodeMenu";
|
2
|
+
import { Delete, Access } from "@voplus/morpho-org/es/controls/NodeMenu/items";
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
4
|
+
import React from "react";
|
5
|
+
import { useNotificationStore } from "../../../../data/notification";
|
6
|
+
const NotificationMenu = (props) => {
|
7
|
+
const store = useNotificationStore();
|
8
|
+
return observe(() => (React.createElement(NodeMenu, { ...props, store: store, menus: React.createElement(React.Fragment, null,
|
9
|
+
React.createElement(Access, null),
|
10
|
+
React.createElement(Delete, { closeAside: true })) })));
|
11
|
+
};
|
12
|
+
export default NotificationMenu;
|
13
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/controls/NotificationMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,gBAAgB,GAAG,CAAC,KAAmE,EAAE,EAAE;IAChG,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,OACJ,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,KAAK,EACJ;YACC,oBAAC,MAAM,OAAG;YACV,oBAAC,MAAM,IAAC,UAAU,SAAG,CACnB,GAEH,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import { TabItemContext, TabItemStore } from "@voplus/morpho-data";
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
4
|
+
import { useParams } from "react-router-dom";
|
5
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
6
|
+
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
7
|
+
import NotificationProperties from "../../components/NotificationProperties";
|
8
|
+
import NotificationTabs from "../../components/NotificationTabs";
|
9
|
+
import { useNotification } from "../../../../data/notification";
|
10
|
+
import styles from "./index.less";
|
11
|
+
/** The Notification Page component with router parameters support. */
|
12
|
+
const NotificationDefaultView = () => {
|
13
|
+
const { id } = useParams();
|
14
|
+
const store = new TabItemStore({ url: "" });
|
15
|
+
const [asideContext] = useState(AsideContent.createContext());
|
16
|
+
const notification = useNotification(id, { reload: true });
|
17
|
+
return observe(() => (React.createElement(TabItemContext.Provider, { value: store },
|
18
|
+
React.createElement(MainContent, { className: styles["notification-default-view"] },
|
19
|
+
React.createElement(MainContent.Nav, { collapsible: true },
|
20
|
+
React.createElement(NotificationProperties, { id: id, headerVisible: true })),
|
21
|
+
React.createElement("div", { className: "notification-context" },
|
22
|
+
React.createElement(AsideContent, { context: asideContext },
|
23
|
+
React.createElement(NotificationTabs, { id: id })))))));
|
24
|
+
};
|
25
|
+
export default NotificationDefaultView;
|
26
|
+
//# sourceMappingURL=index.js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AAa,SAAG,CAChC;YAClB,6BAAK,SAAS,EAAC,sBAAsB;gBACpC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAmB;oBACzC,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,GAAI,CACf,CACV,CACO,CACW,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
.notification-default-view {
|
2
|
+
:global {
|
3
|
+
.main-content-nav {
|
4
|
+
width: 370px;
|
5
|
+
padding: 0;
|
6
|
+
}
|
7
|
+
.notification-header {
|
8
|
+
padding: 10px 0;
|
9
|
+
}
|
10
|
+
.notification-context {
|
11
|
+
display: flex;
|
12
|
+
padding: 0;
|
13
|
+
background: #ffffff;
|
14
|
+
> div {
|
15
|
+
flex: 1;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
@@ -60,18 +60,22 @@ 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
|
-
React.createElement(Skeleton, { active: true, loading: task.
|
64
|
-
React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" })
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
63
|
+
React.createElement(Skeleton, { active: true, loading: !task.loaded },
|
64
|
+
React.createElement(DescriptionEditor, { id: id, description: task.description, readonly: task.readonly, padding: "0 0 0.75rem 0" }),
|
65
|
+
React.createElement(React.Fragment, null,
|
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
|
74
|
+
? item.right.id === id
|
75
|
+
? item.left.id
|
76
|
+
: item.right.id
|
77
|
+
: "", reload: true }))))),
|
78
|
+
")")),
|
75
79
|
React.createElement(SubTaskList, { parentId: id, readonly: task.status === "Readonly" }))))))));
|
76
80
|
/** reload data */
|
77
81
|
function onReload() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAE9E,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,eA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,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"}
|
@@ -23,7 +23,7 @@ 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
|
-
React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 }, loading: workSchedule.
|
26
|
+
React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 }, loading: !workSchedule.loaded },
|
27
27
|
React.createElement(ColumnItem, { className: "workSchedule-column-item" },
|
28
28
|
React.createElement(ColumnItemCol, { span: 10 },
|
29
29
|
React.createElement("div", { className: "work-schedule-item-name" }, `${(_a = workSchedule.workType) === null || _a === void 0 ? void 0 : _a.name}`),
|
@@ -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,mBAAmB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI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AE,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"}
|
@@ -4,7 +4,7 @@ import React, { useState } from "react";
|
|
4
4
|
import { faCalendarCheck, faThumbsUp, faUser } from "@fortawesome/pro-light-svg-icons";
|
5
5
|
import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
6
6
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
7
|
-
import { Empty } from "antd";
|
7
|
+
import { Empty, Spin } from "antd";
|
8
8
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
9
9
|
import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
|
10
10
|
import WorkScheduleFilter from "../../controls/WorkScheduleFilter";
|
@@ -19,6 +19,7 @@ const WorkScheduleTimeLineView = (props) => {
|
|
19
19
|
const list = useCreateListDataState({
|
20
20
|
filterDefaults: {
|
21
21
|
filters: filters(),
|
22
|
+
page: { Page: 1, PageSize: 300 },
|
22
23
|
},
|
23
24
|
}, [contact]);
|
24
25
|
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
@@ -45,7 +46,7 @@ const WorkScheduleTimeLineView = (props) => {
|
|
45
46
|
React.createElement(Scrollbars, { autoHide: true },
|
46
47
|
React.createElement("div", { className: "border-t border-gray-200 p-4" },
|
47
48
|
React.createElement("div", { className: "work-schedule-time-line" },
|
48
|
-
!list.data.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : (React.createElement("div", { className: "flow-root" },
|
49
|
+
React.createElement(Spin, { spinning: list.loading }, !list.data.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : (React.createElement("div", { className: "flow-root" },
|
49
50
|
React.createElement("ul", { role: "list", className: "-mb-8" }, list.data.map((event, eventIdx) => (React.createElement("li", { className: "cursor-pointer", key: event.id },
|
50
51
|
React.createElement("div", { className: "relative pb-8" },
|
51
52
|
eventIdx !== list.data.length - 1 ? (React.createElement("span", { className: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" })) : null,
|
@@ -63,7 +64,7 @@ const WorkScheduleTimeLineView = (props) => {
|
|
63
64
|
React.createElement("div", { className: "font-medium text-gray-500" }, event === null || event === void 0 ? void 0 : event.status))),
|
64
65
|
React.createElement("div", { className: "whitespace-nowrap text-right text-sm text-gray-500" }, event.schedule
|
65
66
|
? dayjs(event.schedule).format("YYYY-MM-DD")
|
66
|
-
: "unscheduled")))))))))),
|
67
|
+
: "unscheduled"))))))))))),
|
67
68
|
visibleQuickView.visible && visibleQuickView.id && (React.createElement(WorkScheduleQuickViewDialog, { id: visibleQuickView.id, visible: true, onCancel: onQuickView })))))))));
|
68
69
|
function filters() {
|
69
70
|
const filter = [{ c: "Work", o: "=", v1: "null", l: "And" }];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,kBAAkB,MAAM,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EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,SAAS,QAAQ,CAAC,MAAe;QAChC,IAAI,MAAM,KAAK,YAAY,EAAE,CAAC;YAC7B,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAC9C,CAAC;aAAM,IAAI,MAAM,KAAK,aAAa,EAAE,CAAC;YACrC,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAClD,CAAC;aAAM,CAAC;YACP,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QACvD,CAAC;IACF,CAAC;IAED,iBAAiB;IACjB,SAAS,WAAW,CAAC,EAAW;QAC/B,mBAAmB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -7,7 +7,7 @@ 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(() => (React.createElement(Skeleton, { active: true, loading: worktype.
|
10
|
+
return observe(() => (React.createElement(Skeleton, { active: true, loading: !worktype.loaded },
|
11
11
|
React.createElement(PropertiesCard, { title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }))));
|
12
12
|
};
|
13
13
|
WorkTypePropertiesCard.defaultProps = {
|
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,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,QAAQ,CAAC,
|
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,CAAC,QAAQ,CAAC,MAAM;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"}
|
@@ -20,7 +20,7 @@ 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
|
-
React.createElement(Skeleton, { active: true, loading: note.
|
23
|
+
React.createElement(Skeleton, { active: true, loading: !note.loaded },
|
24
24
|
React.createElement("div", { className: "text-card-container", onMouseOver: () => runInAction(() => (state.isHover = true)), onMouseLeave: () => runInAction(() => (state.isHover = false)), style: { backgroundColor: state.color } },
|
25
25
|
React.createElement("div", { className: "text-note-card_header" },
|
26
26
|
React.createElement("div", { className: classnames("text-note-card_theme", { show: state.isHover }) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/obsolete/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;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,aAAa;IACb,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAExD,uDAAuD;IAEvD,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,o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