@voplus/morpho-workspace 6.0.61 → 6.0.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/es/data/notification/NotificationStore.d.ts +14 -4
  2. package/es/data/notification/NotificationStore.js +54 -4
  3. package/es/data/notification/NotificationStore.js.map +1 -1
  4. package/es/data/notification/index.d.ts +1 -0
  5. package/es/data/notification/index.js +1 -0
  6. package/es/data/notification/index.js.map +1 -1
  7. package/es/data/notification/interfaces.d.ts +13 -0
  8. package/es/data/notification/notification-events/index.d.ts +3 -0
  9. package/es/data/notification/notification-events/index.js +4 -0
  10. package/es/data/notification/notification-events/index.js.map +1 -0
  11. package/es/data/notification/notification-events/useAutoUpdateListData.d.ts +4 -0
  12. package/es/data/notification/notification-events/useAutoUpdateListData.js +13 -0
  13. package/es/data/notification/notification-events/useAutoUpdateListData.js.map +1 -0
  14. package/es/data/notification/notification-events/useOnDeleteNotification.d.ts +4 -0
  15. package/es/data/notification/notification-events/useOnDeleteNotification.js +16 -0
  16. package/es/data/notification/notification-events/useOnDeleteNotification.js.map +1 -0
  17. package/es/data/notification/notification-events/useOnNewNotification.d.ts +4 -0
  18. package/es/data/notification/notification-events/useOnNewNotification.js +16 -0
  19. package/es/data/notification/notification-events/useOnNewNotification.js.map +1 -0
  20. package/es/data/notification/types.d.ts +28 -0
  21. package/es/modules/Routes.d.ts +6 -0
  22. package/es/modules/Routes.js +14 -1
  23. package/es/modules/Routes.js.map +1 -1
  24. package/es/modules/meeting/components/MeetingDescription/index.js +1 -1
  25. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  26. package/es/modules/meeting/components/MeetingTaskList/index.js +1 -1
  27. package/es/modules/meeting/components/MeetingTaskList/index.js.map +1 -1
  28. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +1 -1
  29. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
  30. package/es/modules/meeting/pages/MeetingPrintView/index.js +1 -1
  31. package/es/modules/meeting/pages/MeetingPrintView/index.js.map +1 -1
  32. package/es/modules/meeting/pages/MeetingTabView/index.js +1 -1
  33. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  34. package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +17 -0
  35. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +67 -0
  36. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -0
  37. package/es/modules/notification/components/NewNotificationForm/index.d.ts +10 -0
  38. package/es/modules/notification/components/NewNotificationForm/index.js +14 -0
  39. package/es/modules/notification/components/NewNotificationForm/index.js.map +1 -0
  40. package/es/modules/notification/components/NewNotificationForm/index.less +38 -0
  41. package/es/modules/notification/components/NewNotificationForm/state.d.ts +19 -0
  42. package/es/modules/notification/components/NewNotificationForm/state.js +54 -0
  43. package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -0
  44. package/es/modules/notification/components/NotificationHeader/index.d.ts +6 -0
  45. package/es/modules/notification/components/NotificationHeader/index.js +19 -0
  46. package/es/modules/notification/components/NotificationHeader/index.js.map +1 -0
  47. package/es/modules/notification/components/NotificationHeader/index.less +12 -0
  48. package/es/modules/notification/components/NotificationItem/index.d.ts +6 -0
  49. package/es/modules/notification/components/NotificationItem/index.js +31 -0
  50. package/es/modules/notification/components/NotificationItem/index.js.map +1 -0
  51. package/es/modules/notification/components/NotificationItem/index.less +29 -0
  52. package/es/modules/notification/components/NotificationList2/index.d.ts +7 -0
  53. package/es/modules/notification/components/NotificationList2/index.js +39 -0
  54. package/es/modules/notification/components/NotificationList2/index.js.map +1 -0
  55. package/es/modules/notification/components/NotificationList2/index.less +11 -0
  56. package/es/modules/notification/components/NotificationProperties/index.d.ts +20 -0
  57. package/es/modules/notification/components/NotificationProperties/index.js +56 -0
  58. package/es/modules/notification/components/NotificationProperties/index.js.map +1 -0
  59. package/es/modules/notification/components/NotificationPropertiesView/index.d.ts +7 -0
  60. package/es/modules/notification/components/NotificationPropertiesView/index.js +16 -0
  61. package/es/modules/notification/components/NotificationPropertiesView/index.js.map +1 -0
  62. package/es/modules/notification/components/NotificationPropertiesView/index.less +26 -0
  63. package/es/modules/notification/components/NotificationQuickViewDialog/index.d.ts +8 -0
  64. package/es/modules/notification/components/NotificationQuickViewDialog/index.js +13 -0
  65. package/es/modules/notification/components/NotificationQuickViewDialog/index.js.map +1 -0
  66. package/es/modules/notification/components/NotificationQuickViewDialog/index.less +7 -0
  67. package/es/modules/notification/components/NotificationRecipients/index.d.ts +7 -0
  68. package/es/modules/notification/components/NotificationRecipients/index.js +27 -0
  69. package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -0
  70. package/es/modules/notification/components/NotificationRecipients/index.less +17 -0
  71. package/es/modules/notification/components/NotificationTabs/index.d.ts +7 -0
  72. package/es/modules/notification/components/NotificationTabs/index.js +38 -0
  73. package/es/modules/notification/components/NotificationTabs/index.js.map +1 -0
  74. package/es/modules/notification/components/NotificationTabs/index.less +8 -0
  75. package/es/modules/notification/controls/NotificationMenu/index.d.ts +7 -0
  76. package/es/modules/notification/controls/NotificationMenu/index.js +13 -0
  77. package/es/modules/notification/controls/NotificationMenu/index.js.map +1 -0
  78. package/es/modules/notification/pages/NotificationDefaultView/index.d.ts +4 -0
  79. package/es/modules/notification/pages/NotificationDefaultView/index.js +26 -0
  80. package/es/modules/notification/pages/NotificationDefaultView/index.js.map +1 -0
  81. package/es/modules/notification/pages/NotificationDefaultView/index.less +19 -0
  82. package/es/modules/tasks/components/DelegateDialog/index.less +44 -37
  83. package/es/modules/tasks/pages/TaskTabView/index.js +16 -12
  84. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  85. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +1 -1
  86. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
  87. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +1 -1
  88. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  89. package/es/obsolete/space/components/Notes/TextNoteCard/index.js +1 -1
  90. package/es/obsolete/space/components/Notes/TextNoteCard/index.js.map +1 -1
  91. 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,0DAA0D,CAAC;AAClE,OAAO,i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I;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,8 @@
1
+ :global {
2
+ .notification-tabs {
3
+ .ant-tabs-nav {
4
+ margin: 0;
5
+ padding-left: 20px;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare const NotificationMenu: (props: {
3
+ id: string;
4
+ closeAside?: boolean;
5
+ icon?: React.ReactNode;
6
+ }) => React.JSX.Element;
7
+ export default NotificationMenu;
@@ -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,4 @@
1
+ import React from "react";
2
+ /** The Notification Page component with router parameters support. */
3
+ declare const NotificationDefaultView: () => React.JSX.Element;
4
+ export default NotificationDefaultView;
@@ -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.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/pages/NotificationDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,sEAAsE;AACtE,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACpC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAE3C,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAE5C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,YAAY,GAAG,eAAe,CAAC,EAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAE5D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACpC,oBAAC,WAAW,IAAC,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;YAC1D,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBAC3B,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAG,EAAE,aAAa,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
+ }
@@ -1,44 +1,51 @@
1
1
  .delegate-dialog-content {
2
- :global {
3
- .available-role-members {
4
- display: flex;
5
- flex-direction: column;
6
- max-height: 110px;
7
- overflow: hidden;
2
+ :global {
3
+ .available-role-members {
4
+ display: flex;
5
+ flex-direction: column;
6
+ max-height: 110px;
7
+ overflow: hidden;
8
8
 
9
- .available-role-members-content {
10
- flex: 1;
11
- height: 100%;
12
- overflow: scroll;
13
- margin: 0 -15px -15px 0;
9
+ .available-role-members-content {
10
+ flex: 1;
11
+ height: 100%;
12
+ overflow: scroll;
13
+ margin: 0 -15px -15px 0;
14
14
 
15
- .role-member-item {
16
- display: inline-block;
17
- position: relative;
18
- height: 45px;
15
+ .role-member-item {
16
+ display: inline-block;
17
+ position: relative;
18
+ height: 45px;
19
19
 
20
- .role-member-item-btn {
21
- position: absolute;
22
- font-size: 12px;
23
- top: -4px;
24
- right: -50px;
25
- display: none;
26
- }
20
+ .role-member-item-btn {
21
+ position: absolute;
22
+ font-size: 12px;
23
+ top: -4px;
24
+ right: -50px;
25
+ display: none;
26
+ }
27
27
 
28
- &:hover {
29
- margin-right: 50px;
28
+ &:hover {
29
+ margin-right: 50px;
30
30
 
31
- .role-member-item-btn {
32
- display: block;
33
- }
34
- }
35
- }
36
- }
37
- }
31
+ .role-member-item-btn {
32
+ display: block;
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
38
38
 
39
- .prosemirror-content {
40
- height: 140px;
41
- margin-bottom: -40px;
42
- }
43
- }
44
- }
39
+ .proseMirror {
40
+ .prosemirror-content {
41
+ height: 140px;
42
+ margin-bottom: -40px;
43
+ }
44
+ .toolbar-button[title="Align"] {
45
+ .ant-select {
46
+ width: auto;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -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.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
- ")"),
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,8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ACE;4BAEJ,CACO;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"}
@@ -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.loading },
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","sourceR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,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"}
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,mBAAm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,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,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.loading },
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 = {
@@ -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,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"}
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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
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.loading },
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,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vC;oBACN,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;wBACd,oBAAC,IAAI,IAAC,GAAG,EAAE,aAAa,KAAK,CAAC,EAAE,EAAE,GAAI,CAC7B,CACL;gBACN,oBAAC,MAAM,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,GAAI,CAChF,CACI;QACX,oBAAC,mBAAmB,IACnB,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACI,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
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,C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C,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,GAC1D,CACG;oBACN,6BAAK,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,IACxE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CACvC;oBACN,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;wBACd,oBAAC,IAAI,IAAC,GAAG,EAAE,aAAa,KAAK,CAAC,EAAE,EAAE,GAAI,CAC7B,CACL;gBACN,oBAAC,MAAM,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,GAAI,CAChF,CACI;QACX,oBAAC,mBAAmB,IACnB,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACI,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.61",
3
+ "version": "6.0.63",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",