@voplus/morpho-workspace 6.0.72 → 6.0.74

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. package/es/components/AutoSequenceDialog/index.less +14 -14
  2. package/es/components/TimeLog/index.less +86 -86
  3. package/es/controls/Corner/index.less +7 -7
  4. package/es/controls/InlineSearch/index.less +10 -10
  5. package/es/controls/MoreOperateDropdown/index.less +12 -12
  6. package/es/controls/StickyAddButton/index.less +22 -22
  7. package/es/controls/filters/AssigneeViewFilter/index.less +24 -24
  8. package/es/controls/filters/EventsFilter/index.js +2 -7
  9. package/es/controls/filters/EventsFilter/index.js.map +1 -1
  10. package/es/controls/filters/EventsFilter/state.d.ts +3 -1
  11. package/es/controls/filters/EventsFilter/state.js +18 -1
  12. package/es/controls/filters/EventsFilter/state.js.map +1 -1
  13. package/es/controls/filters/TaskStatusFilter/index.js +2 -7
  14. package/es/controls/filters/TaskStatusFilter/index.js.map +1 -1
  15. package/es/controls/filters/TaskStatusFilter/state.d.ts +3 -1
  16. package/es/controls/filters/TaskStatusFilter/state.js +18 -1
  17. package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
  18. package/es/modules/board/components/Board/index.less +133 -133
  19. package/es/modules/board/components/BoardColumn/index.less +270 -270
  20. package/es/modules/board/components/BoardPropertiesView/index.less +12 -12
  21. package/es/modules/board/components/SubDocumentList/index.less +30 -30
  22. package/es/modules/board/pages/BoardViewList/index.less +15 -15
  23. package/es/modules/calendar/components/CalendarMenu/index.less +31 -31
  24. package/es/modules/calendar/pages/CalendarMonth/index.less +268 -268
  25. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.less +14 -14
  26. package/es/modules/meeting/components/AgendaList/AgendaItem/index.less +132 -132
  27. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.less +57 -57
  28. package/es/modules/meeting/components/AgendaList/index.less +47 -47
  29. package/es/modules/meeting/components/MeetingDescription/index.less +12 -12
  30. package/es/modules/meeting/components/MeetingHeader/index.less +13 -13
  31. package/es/modules/meeting/components/MeetingItem/index.less +66 -66
  32. package/es/modules/meeting/components/MeetingList/QuickSearch/index.less +12 -12
  33. package/es/modules/meeting/components/MeetingPropertiesView/index.less +15 -15
  34. package/es/modules/meeting/components/MeetingQuickViewDialog/index.less +14 -14
  35. package/es/modules/meeting/components/MeetingTaskList/index.less +30 -30
  36. package/es/modules/meeting/components/MeetingsFolderProperitesView/index.less +8 -8
  37. package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.less +7 -7
  38. package/es/modules/meeting/components/NewMeetingForm/index.less +35 -35
  39. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.less +7 -7
  40. package/es/modules/meeting/pages/MeetingDefaultView/index.less +23 -23
  41. package/es/modules/meeting/pages/MeetingPrintView/index.less +82 -82
  42. package/es/modules/meeting/pages/MeetingPrintView/print.css +22 -22
  43. package/es/modules/meeting/pages/MeetingTabView/index.less +21 -21
  44. package/es/modules/meeting/styles/MeetingMinView.less +32 -32
  45. package/es/modules/menus/components/AddUsers/index.less +7 -7
  46. package/es/modules/menus/components/UsersList/index.less +64 -64
  47. package/es/modules/menus/pages/ListOptions/Company/index.less +20 -20
  48. package/es/modules/menus/pages/ListOptions/Teams/index.less +44 -44
  49. package/es/modules/menus/pages/ListOptions/Users/index.less +42 -42
  50. package/es/modules/notification/components/DocumentNotificationCard/index.js +6 -3
  51. package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
  52. package/es/modules/notification/components/DocumentNotificationCard/index.less +29 -29
  53. package/es/modules/notification/components/NewNotificationForm/index.less +38 -38
  54. package/es/modules/notification/components/NotificationHeader/index.less +12 -12
  55. package/es/modules/notification/components/NotificationItem/index.less +29 -29
  56. package/es/modules/notification/components/NotificationList/index.less +31 -31
  57. package/es/modules/notification/components/NotificationList2/index.less +11 -11
  58. package/es/modules/notification/components/NotificationPropertiesView/index.less +26 -26
  59. package/es/modules/notification/components/NotificationQuickViewDialog/index.less +7 -7
  60. package/es/modules/notification/components/NotificationRecipients/index.less +17 -17
  61. package/es/modules/notification/components/NotificationTabs/index.less +8 -8
  62. package/es/modules/notification/controls/NotificationStatusLabel/index.less +14 -14
  63. package/es/modules/notification/pages/NotificationDefaultView/index.less +19 -19
  64. package/es/modules/pin/components/MyPinned/index.less +38 -38
  65. package/es/modules/pin/pages/PinnedPage/index.less +31 -31
  66. package/es/modules/project/ProjectDefaultView/index.less +38 -38
  67. package/es/modules/tasks/components/AddTaskDropdown/index.less +37 -37
  68. package/es/modules/tasks/components/DelegateDialog/index.less +51 -51
  69. package/es/modules/tasks/components/NewTaskForm/index.less +37 -37
  70. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +17 -0
  71. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js +80 -0
  72. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.js.map +1 -0
  73. package/es/modules/tasks/components/NotificaitonNewTaskForm/index.less +18 -0
  74. package/es/modules/tasks/components/NotificaitonNewTaskForm/state.d.ts +18 -0
  75. package/es/modules/tasks/components/NotificaitonNewTaskForm/state.js +39 -0
  76. package/es/modules/tasks/components/NotificaitonNewTaskForm/state.js.map +1 -0
  77. package/es/modules/tasks/components/SubTaskList/index.less +20 -20
  78. package/es/modules/tasks/components/TaskCard/index.less +15 -15
  79. package/es/modules/tasks/components/TaskCheckActiveTab/index.less +24 -24
  80. package/es/modules/tasks/components/TaskCheckItem/index.less +83 -83
  81. package/es/modules/tasks/components/TaskCheckList/index.less +54 -54
  82. package/es/modules/tasks/components/TaskCheckNewForm/index.less +41 -41
  83. package/es/modules/tasks/components/TaskDescription/index.less +18 -18
  84. package/es/modules/tasks/components/TaskEstimatedTime/index.less +25 -25
  85. package/es/modules/tasks/components/TaskItem/defaultTaskItem.less +51 -51
  86. package/es/modules/tasks/components/TaskItem/subTaskItem.less +67 -67
  87. package/es/modules/tasks/components/TaskPropertiesView/index.less +23 -23
  88. package/es/modules/tasks/components/TaskQuickViewDialog/index.less +13 -13
  89. package/es/modules/tasks/components/TaskSimpleProperties/index.less +18 -18
  90. package/es/modules/tasks/controls/ChildTasksDataIcon/index.less +29 -29
  91. package/es/modules/tasks/controls/TaskStatusLabel/index.less +34 -34
  92. package/es/modules/tasks/pages/TaskDefaultView/index.less +19 -19
  93. package/es/modules/tasks/pages/TaskTabView/index.less +66 -66
  94. package/es/modules/tasks/reports/MemberEstimatedDurationCard/index.less +21 -21
  95. package/es/modules/tasks/reports/TaskAnalyticsDataIcon/index.less +8 -8
  96. package/es/modules/tasks/reports/TaskSummaryCard/index.less +28 -28
  97. package/es/modules/user/pages/Positions/index.less +59 -59
  98. package/es/modules/work/components/NewWorkErrorDialog/index.less +21 -21
  99. package/es/modules/work/components/NewWorkForm/index.less +18 -18
  100. package/es/modules/work/components/RejectWorkDialog/index.less +23 -23
  101. package/es/modules/work/components/RelatedWorkList/index.less +21 -21
  102. package/es/modules/work/components/SubWorkList/index.less +7 -7
  103. package/es/modules/work/components/WorkCard/index.less +7 -7
  104. package/es/modules/work/components/WorkCashReport/index.less +21 -31
  105. package/es/modules/work/components/WorkErrorItem/index.less +52 -52
  106. package/es/modules/work/components/WorkErrorList/index.less +4 -4
  107. package/es/modules/work/components/WorkErrorPropertiesView/index.less +40 -40
  108. package/es/modules/work/components/WorkErrorQuickViewDialog/index.less +28 -28
  109. package/es/modules/work/components/WorkItem/index.less +56 -56
  110. package/es/modules/work/components/WorkList/index.d.ts +2 -2
  111. package/es/modules/work/components/WorkList/index.js +20 -4
  112. package/es/modules/work/components/WorkList/index.js.map +1 -1
  113. package/es/modules/work/components/WorkList/index.less +7 -7
  114. package/es/modules/work/components/WorkPropertiesView/index.less +10 -10
  115. package/es/modules/work/components/WorkQATab/index.less +24 -24
  116. package/es/modules/work/components/WorkQuickViewDialog/index.less +16 -16
  117. package/es/modules/work/components/WorkTaskList/index.less +7 -7
  118. package/es/modules/work/components/WorkTasksTab/index.less +4 -4
  119. package/es/modules/work/components/WorksProperties/index.less +17 -17
  120. package/es/modules/work/controls/WorkStatusLabel/index.less +36 -36
  121. package/es/modules/work/pages/WorkDefaultView/index.less +18 -18
  122. package/es/modules/work/pages/WorkErrorDefaultView/index.less +22 -22
  123. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.less +10 -10
  124. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.less +12 -12
  125. package/es/modules/work/work-schedule/components/WorkScheduleItem/index.less +40 -40
  126. package/es/modules/work/work-schedule/components/WorkScheduleList/index.less +12 -20
  127. package/es/modules/work/work-schedule/components/WorkScheduleQuickViewDialog/index.less +11 -11
  128. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.less +7 -7
  129. package/es/modules/work/work-schedule/pages/WorkScheduleDefaultView/index.less +23 -23
  130. package/es/modules/work/work-type/components/ErrorTypeList/index.less +59 -59
  131. package/es/modules/work/work-type/components/NewTypeForm/index.less +7 -7
  132. package/es/modules/work/work-type/components/RepeatTab/index.less +42 -42
  133. package/es/modules/work/work-type/components/WorkTypeHeader/index.less +12 -12
  134. package/es/modules/work/work-type/components/WorkTypeIconList/index.less +14 -14
  135. package/es/modules/work/work-type/components/WorkTypeItem/index.less +48 -48
  136. package/es/modules/work/work-type/components/WorkTypeList/index.less +4 -4
  137. package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.less +12 -12
  138. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.less +19 -19
  139. package/es/modules/work/work-type/components/WorkTypeQA/index.less +42 -42
  140. package/es/modules/work/work-type/components/WorkTypeStats/index.less +29 -29
  141. package/es/modules/work/work-type/components/WorkTypeTabs/index.less +45 -45
  142. package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.less +15 -15
  143. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.less +8 -8
  144. package/es/modules/work/work-type/pages/WorkTypePage/index.less +56 -56
  145. package/es/modules/workspace/components/MyWorkspaces/index.less +30 -30
  146. package/es/modules/workspace/components/NewWorkspaceDialog/index.less +30 -30
  147. package/es/modules/workspace/components/WorkspaceIcon/index.less +81 -81
  148. package/es/modules/workspace/components/WorkspaceIconList/index.less +18 -18
  149. package/es/modules/workspace/components/WorkspaceIconList2/index.less +18 -18
  150. package/es/modules/workspace/components/WorkspacePropertiesView/index.less +19 -19
  151. package/es/modules/workspace/components/WorkspaceTabs/index.less +12 -12
  152. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.less +8 -8
  153. package/es/modules/workspace/pages/WorkspaceDefaultView/index.less +28 -28
  154. package/es/modules/workspace/pages/WorkspacePage/index.less +23 -23
  155. package/es/obsolete/WorkTypeDefaultView/index.less +19 -19
  156. package/es/obsolete/member/components/member.less +24 -24
  157. package/es/obsolete/member/styles/MemberMinView.less +24 -24
  158. package/es/obsolete/space/components/Notes/ColorSelect/index.less +17 -17
  159. package/es/obsolete/space/components/Notes/NewNoteDialog/index.less +78 -78
  160. package/es/obsolete/space/components/Notes/TextNoteCard/index.less +56 -56
  161. package/es/obsolete/space/components/Tasks/index.less +17 -17
  162. package/es/obsolete/space/components/Works/index.less +18 -18
  163. package/es/obsolete/space/pages/MySpace/index.less +56 -56
  164. package/es/style/common.less +187 -187
  165. package/es/style/index.less +13 -13
  166. package/package.json +66 -66
  167. package/readme.md +152 -152
@@ -1,64 +1,64 @@
1
- .all {
2
- width: 100%;
3
- height: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- // overflow: auto;
7
- :global {
8
- .list-heard {
9
- width: 100%;
10
- padding: 0 44px 0 20px;
11
- height: 50px;
12
- line-height: 50px;
13
- color: #000;
14
- background-color: #fafafa;
15
- font-size: 20px;
16
- display: flex;
17
- justify-content: space-between;
18
- span {
19
- display: block;
20
- width: 140px;
21
- }
22
- }
23
- .list-body {
24
- .list-content {
25
- width: 100%;
26
- min-height: 60px;
27
- padding: 0 20px;
28
- display: flex;
29
- justify-content: space-between;
30
- align-items: center;
31
- .all-name {
32
- display: flex;
33
- width: 218px;
34
- align-items: center;
35
- .portrait {
36
- height: 40px;
37
- }
38
- .name {
39
- padding-left: 10px;
40
- width: 7%;
41
- span:first-child {
42
- font-size: 18px;
43
- color: #000;
44
- font-weight: 600;
45
- }
46
- }
47
- }
48
- .access {
49
- display: flex;
50
- justify-content: space-between;
51
- align-items: center;
52
- span {
53
- display: inline-block;
54
- margin-left: 20px;
55
- }
56
- }
57
- .last-seen {
58
- color: #000;
59
- font-size: 16px;
60
- }
61
- }
62
- }
63
- }
64
- }
1
+ .all {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ // overflow: auto;
7
+ :global {
8
+ .list-heard {
9
+ width: 100%;
10
+ padding: 0 44px 0 20px;
11
+ height: 50px;
12
+ line-height: 50px;
13
+ color: #000;
14
+ background-color: #fafafa;
15
+ font-size: 20px;
16
+ display: flex;
17
+ justify-content: space-between;
18
+ span {
19
+ display: block;
20
+ width: 140px;
21
+ }
22
+ }
23
+ .list-body {
24
+ .list-content {
25
+ width: 100%;
26
+ min-height: 60px;
27
+ padding: 0 20px;
28
+ display: flex;
29
+ justify-content: space-between;
30
+ align-items: center;
31
+ .all-name {
32
+ display: flex;
33
+ width: 218px;
34
+ align-items: center;
35
+ .portrait {
36
+ height: 40px;
37
+ }
38
+ .name {
39
+ padding-left: 10px;
40
+ width: 7%;
41
+ span:first-child {
42
+ font-size: 18px;
43
+ color: #000;
44
+ font-weight: 600;
45
+ }
46
+ }
47
+ }
48
+ .access {
49
+ display: flex;
50
+ justify-content: space-between;
51
+ align-items: center;
52
+ span {
53
+ display: inline-block;
54
+ margin-left: 20px;
55
+ }
56
+ }
57
+ .last-seen {
58
+ color: #000;
59
+ font-size: 16px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
@@ -1,20 +1,20 @@
1
- .all {
2
- width: 100%;
3
- :global {
4
- h1 {
5
- font-size: 50px;
6
- font-weight: 600;
7
- margin-left: 8%;
8
- }
9
- .ant-form-item-label {
10
- width: 18%;
11
- }
12
- .button {
13
- width: 100px;
14
- height: 36px;
15
- background-color: #1890ff;
16
- border-radius: 50px;
17
- color: #fff;
18
- }
19
- }
20
- }
1
+ .all {
2
+ width: 100%;
3
+ :global {
4
+ h1 {
5
+ font-size: 50px;
6
+ font-weight: 600;
7
+ margin-left: 8%;
8
+ }
9
+ .ant-form-item-label {
10
+ width: 18%;
11
+ }
12
+ .button {
13
+ width: 100px;
14
+ height: 36px;
15
+ background-color: #1890ff;
16
+ border-radius: 50px;
17
+ color: #fff;
18
+ }
19
+ }
20
+ }
@@ -1,44 +1,44 @@
1
- .all {
2
- height: 100%;
3
- width: 100%;
4
- display: flex;
5
- flex-direction: column;
6
- overflow: hidden;
7
- :global {
8
- .title {
9
- vertical-align: middle;
10
- width: 100%;
11
- h1 {
12
- font-size: 35px;
13
- font-weight: 600;
14
- margin-right: 20px;
15
- display: inline-block;
16
- }
17
- .button {
18
- font-size: 16px;
19
- text-align: center;
20
- background-color: #f5fffa;
21
- color: #1890ff;
22
- }
23
- }
24
- .list-body {
25
- height: 100%;
26
- width: 100%;
27
- display: flex;
28
- flex-direction: column;
29
- overflow-y: auto;
30
- .ant-row {
31
- margin: 0 !important;
32
- .section {
33
- width: 100%;
34
- display: flex;
35
- justify-content: space-between;
36
- }
37
- .ant-card-head {
38
- padding: 0;
39
- margin: 0 24px;
40
- }
41
- }
42
- }
43
- }
44
- }
1
+ .all {
2
+ height: 100%;
3
+ width: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ overflow: hidden;
7
+ :global {
8
+ .title {
9
+ vertical-align: middle;
10
+ width: 100%;
11
+ h1 {
12
+ font-size: 35px;
13
+ font-weight: 600;
14
+ margin-right: 20px;
15
+ display: inline-block;
16
+ }
17
+ .button {
18
+ font-size: 16px;
19
+ text-align: center;
20
+ background-color: #f5fffa;
21
+ color: #1890ff;
22
+ }
23
+ }
24
+ .list-body {
25
+ height: 100%;
26
+ width: 100%;
27
+ display: flex;
28
+ flex-direction: column;
29
+ overflow-y: auto;
30
+ .ant-row {
31
+ margin: 0 !important;
32
+ .section {
33
+ width: 100%;
34
+ display: flex;
35
+ justify-content: space-between;
36
+ }
37
+ .ant-card-head {
38
+ padding: 0;
39
+ margin: 0 24px;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
@@ -1,42 +1,42 @@
1
- .all {
2
- height: 100%;
3
- :global {
4
- .title {
5
- padding: 0 24px;
6
- width: 100%;
7
- height: 100%;
8
- display: flex;
9
- flex-direction: column;
10
- h1 {
11
- font-size: 35px;
12
- font-weight: 600;
13
- margin-right: 20px;
14
- display: inline-block;
15
- }
16
- .button {
17
- font-size: 16px;
18
- text-align: center;
19
- background-color: #f5fffa;
20
- color: #1890ff;
21
- display: inline-block;
22
- }
23
- .title-bottom {
24
- height: 100%;
25
- display: flex;
26
- flex-direction: column;
27
- .ant-tabs-tabpane {
28
- height: 100%;
29
- }
30
- }
31
- }
32
- .ant-tabs {
33
- height: 100%;
34
- display: flex;
35
- flex-direction: column;
36
- .ant-tabs-content {
37
- height: 100%;
38
- // padding-bottom: 45px;
39
- }
40
- }
41
- }
42
- }
1
+ .all {
2
+ height: 100%;
3
+ :global {
4
+ .title {
5
+ padding: 0 24px;
6
+ width: 100%;
7
+ height: 100%;
8
+ display: flex;
9
+ flex-direction: column;
10
+ h1 {
11
+ font-size: 35px;
12
+ font-weight: 600;
13
+ margin-right: 20px;
14
+ display: inline-block;
15
+ }
16
+ .button {
17
+ font-size: 16px;
18
+ text-align: center;
19
+ background-color: #f5fffa;
20
+ color: #1890ff;
21
+ display: inline-block;
22
+ }
23
+ .title-bottom {
24
+ height: 100%;
25
+ display: flex;
26
+ flex-direction: column;
27
+ .ant-tabs-tabpane {
28
+ height: 100%;
29
+ }
30
+ }
31
+ }
32
+ .ant-tabs {
33
+ height: 100%;
34
+ display: flex;
35
+ flex-direction: column;
36
+ .ant-tabs-content {
37
+ height: 100%;
38
+ // padding-bottom: 45px;
39
+ }
40
+ }
41
+ }
42
+ }
@@ -5,7 +5,7 @@ import Card from "@voplus/morpho-ui/es/controls/Card";
5
5
  import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
6
6
  import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
7
7
  import React from "react";
8
- import NewTaskForm from "../../../tasks/components/NewTaskForm";
8
+ import NotificaitonNewTaskForm from "../../../tasks/components/NotificaitonNewTaskForm";
9
9
  import classnames from "classnames";
10
10
  import dayjs from "dayjs";
11
11
  import { observe } from "@voplus/morpho-ui";
@@ -27,9 +27,12 @@ const DocumentNotificationCard = (props) => {
27
27
  React.createElement("div", { className: "notification-btn" },
28
28
  React.createElement(Space, null,
29
29
  context.host.isTest && notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-task-form", onClick: (ev) => {
30
- var _a, _b;
30
+ var _a;
31
31
  ev.stopPropagation();
32
- asideContext.openAside(React.createElement(NewTaskForm, { showView: true, self: true, description: (_a = notification.content) === null || _a === void 0 ? void 0 : _a.content, parentId: (_b = notification.node) === null || _b === void 0 ? void 0 : _b.id, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
32
+ const Reference = notification.node.nodeType
33
+ ? `<h3>Reference</h3><div><span data-file-id="${notification.node.id}" data-file-name="${notification.node.name}" class="prosemirror-mention-node" contenteditable="false">&amp;${notification.node.name}</span></div>`
34
+ : "";
35
+ asideContext.openAside(React.createElement(NotificaitonNewTaskForm, { showView: true, self: true, title: `Followup ${notification.content.title}`, description: `<div><p>This is a task to followup the following notification</p><h3>Notification Content</h3><p>${notification.content.content}</p>${Reference}</div>`, parentId: (_a = notification.node) === null || _a === void 0 ? void 0 : _a.id, onCancel: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside() }), { span: 12 });
33
36
  } }, "Ceate Task")),
34
37
  notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-dismiss", onClick: (ev) => onChangeStatus(ev, "Dismissed") }, "Dismiss")),
35
38
  notification.status === "Dismissed" && (React.createElement(Button, { className: "btn-unDismiss", onClick: (ev) => onChangeStatus(ev, "Read") }, "Undo Dismiss")),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAA0B,CAAC;IAExE,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAC7F,QAAQ;YACR,aAAa;YACb,MAAM;YAEN,6BAAK,SAAS,EAAC,2BAA2B,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;gBAChE,gCAAK,MAAA,YAAY,CAAC,OAAO,0CAAE,KAAK,CAAM;gBACtC,oBAAC,iBAAiB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C,MAAM,KAAK,WAAW,IAAI,CAC1E,oBAAC,MAAM,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,YAEjE,CACT,CACM,CACH,CACD,CACD,CACA,CACP,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,EAAO,EAAE,MAA0B;;QAC1D,MAAA,KAAK,CAAC,cAAc,sDAAG,MAAM,CAAC,CAAC;QAC/B,EAAE,CAAC,eAAe,EAAE,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAMjC,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,YAAY,GAAG,eAAe,CAAC,KAAK,CAAC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;
6
- padding: 24px 40px 16px 24px;
7
-
8
- &:hover {
9
- border: 1px solid rgb(210, 210, 210);
10
- box-shadow: @more-box-shadow;
11
- }
12
-
13
- &:global(.active) {
14
- border: 1px solid rgb(210, 210, 210);
15
- box-shadow: @more-box-shadow;
16
- }
17
-
18
- :global {
19
- .notification-footer {
20
- margin-top: 20px;
21
- display: flex;
22
- justify-content: space-between;
23
- align-items: center;
24
-
25
- .notification-date {
26
- color: gray;
27
- }
28
- }
29
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .notification-card {
4
+ cursor: pointer;
5
+ margin: 24px;
6
+ padding: 24px 40px 16px 24px;
7
+
8
+ &:hover {
9
+ border: 1px solid rgb(210, 210, 210);
10
+ box-shadow: @more-box-shadow;
11
+ }
12
+
13
+ &:global(.active) {
14
+ border: 1px solid rgb(210, 210, 210);
15
+ box-shadow: @more-box-shadow;
16
+ }
17
+
18
+ :global {
19
+ .notification-footer {
20
+ margin-top: 20px;
21
+ display: flex;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+
25
+ .notification-date {
26
+ color: gray;
27
+ }
28
+ }
29
+ }
30
30
  }
@@ -1,38 +1,38 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .new-notification-form {
5
- &.sub-notification-more-form {
6
- padding: 0 20px;
7
-
8
- .ant-form-item {
9
- margin-bottom: 15px;
10
- }
11
- }
12
-
13
- &.sub-notification-simply-form {
14
- flex: none;
15
- padding-bottom: 10px;
16
- // border-top: #f2f2f2 solid 1px;
17
-
18
- .ant-form-item {
19
- margin-bottom: 10px;
20
- }
21
- }
22
-
23
- .notification-form-btn {
24
- margin-top: 10px;
25
- }
26
-
27
- .proseMirror {
28
- .prosemirror-content {
29
- height: 140px;
30
- }
31
- .toolbar-button[title="Align"] {
32
- .ant-select {
33
- width: auto;
34
- }
35
- }
36
- }
37
- }
38
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .new-notification-form {
5
+ &.sub-notification-more-form {
6
+ padding: 0 20px;
7
+
8
+ .ant-form-item {
9
+ margin-bottom: 15px;
10
+ }
11
+ }
12
+
13
+ &.sub-notification-simply-form {
14
+ flex: none;
15
+ padding-bottom: 10px;
16
+ // border-top: #f2f2f2 solid 1px;
17
+
18
+ .ant-form-item {
19
+ margin-bottom: 10px;
20
+ }
21
+ }
22
+
23
+ .notification-form-btn {
24
+ margin-top: 10px;
25
+ }
26
+
27
+ .proseMirror {
28
+ .prosemirror-content {
29
+ height: 140px;
30
+ }
31
+ .toolbar-button[title="Align"] {
32
+ .ant-select {
33
+ width: auto;
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
@@ -1,12 +1,12 @@
1
- :global {
2
- .notification-header {
3
- font-size: 24px;
4
- display: flex;
5
- justify-content: space-between;
6
- padding: 10px 20px;
7
-
8
- .tools-bar {
9
- text-align: right;
10
- }
11
- }
12
- }
1
+ :global {
2
+ .notification-header {
3
+ font-size: 24px;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ padding: 10px 20px;
7
+
8
+ .tools-bar {
9
+ text-align: right;
10
+ }
11
+ }
12
+ }
@@ -1,29 +1,29 @@
1
- :global {
2
- .notification-item {
3
- cursor: pointer;
4
-
5
- &:hover {
6
- background-color: #f5f8fd;
7
- }
8
-
9
- :global {
10
- .notification-item-name {
11
- color: #575757;
12
- font-weight: 500;
13
- word-break: break-all;
14
- }
15
-
16
- .notification-item-tool {
17
- display: none;
18
-
19
- &.show {
20
- display: block;
21
- }
22
- }
23
-
24
- .notification-column-item {
25
- padding: 7px 20px;
26
- }
27
- }
28
- }
29
- }
1
+ :global {
2
+ .notification-item {
3
+ cursor: pointer;
4
+
5
+ &:hover {
6
+ background-color: #f5f8fd;
7
+ }
8
+
9
+ :global {
10
+ .notification-item-name {
11
+ color: #575757;
12
+ font-weight: 500;
13
+ word-break: break-all;
14
+ }
15
+
16
+ .notification-item-tool {
17
+ display: none;
18
+
19
+ &.show {
20
+ display: block;
21
+ }
22
+ }
23
+
24
+ .notification-column-item {
25
+ padding: 7px 20px;
26
+ }
27
+ }
28
+ }
29
+ }
@@ -1,31 +1,31 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .my-notifications {
5
- padding: 0 !important;
6
- }
7
- .my-space-notifications {
8
- height: 100%;
9
- display: flex;
10
- flex-direction: column;
11
-
12
- .notifications-list {
13
- background-color: @background-color;
14
- }
15
-
16
- .list-view___gDzHz .list-view-header {
17
- padding: 2em 0px 1em 0px;
18
- margin: 0 24px;
19
- width: calc(100% - 48px);
20
- }
21
- }
22
-
23
- .notification-card-exit {
24
- opacity: 1;
25
- }
26
-
27
- .notification-card-exit-active {
28
- opacity: 0;
29
- transition: opacity 300ms;
30
- }
31
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .my-notifications {
5
+ padding: 0 !important;
6
+ }
7
+ .my-space-notifications {
8
+ height: 100%;
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ .notifications-list {
13
+ background-color: @background-color;
14
+ }
15
+
16
+ .list-view___gDzHz .list-view-header {
17
+ padding: 2em 0px 1em 0px;
18
+ margin: 0 24px;
19
+ width: calc(100% - 48px);
20
+ }
21
+ }
22
+
23
+ .notification-card-exit {
24
+ opacity: 1;
25
+ }
26
+
27
+ .notification-card-exit-active {
28
+ opacity: 0;
29
+ transition: opacity 300ms;
30
+ }
31
+ }