@voplus/morpho-workspace 1.0.0-dev70 → 1.0.0-dev72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/changelog.md +4 -0
  2. package/es/components/AvatarList/index.js +26 -20
  3. package/es/components/AvatarList/index.js.map +1 -1
  4. package/es/components/AvatarList/index.less +15 -26
  5. package/es/components/AvatarList/state.d.ts +2 -0
  6. package/es/components/AvatarList/state.js +5 -1
  7. package/es/components/AvatarList/state.js.map +1 -1
  8. package/es/components/ToolBar/index.js +27 -20
  9. package/es/components/ToolBar/index.js.map +1 -1
  10. package/es/components/ToolBar/state.d.ts +9 -0
  11. package/es/components/ToolBar/state.js +23 -0
  12. package/es/components/ToolBar/state.js.map +1 -0
  13. package/es/components/VersionsModal/index.d.ts +5 -0
  14. package/es/components/VersionsModal/index.js +20 -0
  15. package/es/components/VersionsModal/index.js.map +1 -0
  16. package/es/components/VersionsModal/index.less +19 -0
  17. package/es/components/VersionsModal/state.d.ts +4 -0
  18. package/es/components/VersionsModal/state.js +12 -0
  19. package/es/components/VersionsModal/state.js.map +1 -0
  20. package/es/data/meeting/types.d.ts +1 -0
  21. package/es/data/task/types.d.ts +2 -2
  22. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js +7 -7
  23. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/index.js.map +1 -1
  24. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js +23 -40
  25. package/es/modules/meeting/components/AgendaList/AgendaItem/index.js.map +1 -1
  26. package/es/modules/meeting/components/AgendaList/AgendaItem/state.d.ts +10 -2
  27. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +25 -6
  28. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
  29. package/es/modules/meeting/components/AgendaList/index.js +7 -9
  30. package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
  31. package/es/modules/meeting/components/AgendaList/state.d.ts +2 -2
  32. package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
  33. package/es/modules/meeting/components/MeetingDescription/index.js +4 -4
  34. package/es/modules/meeting/components/MeetingDescription/index.js.map +1 -1
  35. package/es/modules/meeting/pages/MeetingTabView/index.js +13 -10
  36. package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
  37. package/es/modules/tasks/components/SubTaskList/index.js +26 -40
  38. package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
  39. package/es/modules/tasks/components/SubTaskList/state.d.ts +0 -2
  40. package/es/modules/tasks/components/SubTaskList/state.js +1 -1
  41. package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
  42. package/es/modules/tasks/components/TaskHeader/index.d.ts +10 -7
  43. package/es/modules/tasks/components/TaskHeader/index.js +35 -43
  44. package/es/modules/tasks/components/TaskHeader/index.js.map +1 -1
  45. package/es/modules/tasks/components/TaskHeader/index.less +47 -2
  46. package/es/modules/tasks/components/TaskItem/SubTaskItem.js +15 -27
  47. package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
  48. package/es/modules/tasks/components/TaskItem/state.d.ts +6 -8
  49. package/es/modules/tasks/components/TaskItem/state.js +37 -43
  50. package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
  51. package/es/modules/tasks/components/TaskItem/subTaskItem.less +4 -2
  52. package/es/modules/tasks/components/TaskPropertiesView/index.js +4 -7
  53. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  54. package/es/modules/tasks/components/TaskTimeBox/index.d.ts +16 -0
  55. package/es/modules/tasks/components/TaskTimeBox/index.js +62 -0
  56. package/es/modules/tasks/components/TaskTimeBox/index.js.map +1 -0
  57. package/es/modules/tasks/components/TaskTimeBox/index.less +25 -0
  58. package/es/modules/tasks/components/TaskTimeBox/state.d.ts +25 -0
  59. package/es/modules/tasks/components/TaskTimeBox/state.js +76 -0
  60. package/es/modules/tasks/components/TaskTimeBox/state.js.map +1 -0
  61. package/es/modules/tasks/pages/TaskTabView/index.js +5 -7
  62. package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
  63. package/package.json +2 -1
  64. package/es/components/AvatarList/AvatarMenu.d.ts +0 -0
  65. package/es/components/AvatarList/AvatarMenu.js +0 -1
  66. package/es/components/AvatarList/AvatarMenu.js.map +0 -1
  67. package/es/modules/tasks/components/TaskItem/DetailsTaskItem.d.ts +0 -13
  68. package/es/modules/tasks/components/TaskItem/DetailsTaskItem.js +0 -53
  69. package/es/modules/tasks/components/TaskItem/DetailsTaskItem.js.map +0 -1
  70. package/es/modules/tasks/components/TaskItem/TaskItem.d.ts +0 -15
  71. package/es/modules/tasks/components/TaskItem/TaskItem.js +0 -180
  72. package/es/modules/tasks/components/TaskItem/TaskItem.js.map +0 -1
  73. package/es/modules/tasks/components/TaskItem/detailsTaskItem.less +0 -51
  74. package/es/modules/tasks/components/TaskItem/index.d.ts +0 -5
  75. package/es/modules/tasks/components/TaskItem/index.js +0 -6
  76. package/es/modules/tasks/components/TaskItem/index.js.map +0 -1
  77. package/es/modules/tasks/components/TaskItem/index.less +0 -182
@@ -1,51 +0,0 @@
1
- @import "~@voplus/antd/es/style/themes/default.less";
2
- @import "../../../../style/common.less";
3
- :global {
4
- .detail-task-item {
5
- display: flex;
6
- flex: 1;
7
- justify-content: space-between;
8
- padding: 10px 0;
9
- margin: 0 20px;
10
- > div {
11
- flex: 1;
12
- }
13
- .task-header {
14
- display: flex;
15
- align-items: center;
16
- padding-bottom: 5px;
17
- .task-flag {
18
- width: 25px;
19
- }
20
- .morpho-inline-edit {
21
- flex: 1;
22
- }
23
- }
24
- .task-item-name {
25
- color: #000;
26
- font-size: 15px;
27
- font-weight: 500;
28
- &.task-item-name_done {
29
- color: #a8a8a8;
30
- }
31
- }
32
- .file-num {
33
- color: #444;
34
- font-size: 13px;
35
- padding-bottom: 5px;
36
- // > span + span {
37
- // margin-left: 12px;
38
- // }
39
- .svg-inline--fa {
40
- margin-right: 5px;
41
- }
42
- .box {
43
- margin: 0 30px 0 12px;
44
- }
45
- }
46
- .toolbar-content {
47
- max-width: 40%;
48
- text-align: right;
49
- }
50
- }
51
- }
@@ -1,5 +0,0 @@
1
- import TaskItem from "./TaskItem";
2
- export { default as AvatarList } from "../../../../components/AvatarList";
3
- export { default as DocumentStatusLabel } from "../../../../controls/DocumentStatusLabel";
4
- export { default as MoreOperateDropdown } from "../../../../controls/MoreOperateDropdown";
5
- export default TaskItem;
@@ -1,6 +0,0 @@
1
- import TaskItem from "./TaskItem";
2
- export { default as AvatarList } from "../../../../components/AvatarList";
3
- export { default as DocumentStatusLabel } from "../../../../controls/DocumentStatusLabel";
4
- export { default as MoreOperateDropdown } from "../../../../controls/MoreOperateDropdown";
5
- export default TaskItem;
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC1F,eAAe,QAAQ,CAAC"}
@@ -1,182 +0,0 @@
1
- @import "~@voplus/antd/es/style/themes/default.less";
2
- @import "../../../../style/common.less";
3
- :global {
4
- .task-list-item,
5
- .task-sub-item,
6
- .task-detail-item {
7
- flex: 1;
8
- cursor: pointer;
9
- .task-item-name {
10
- color: #000;
11
- font-size: 15px;
12
- font-weight: 500;
13
- line-height: 20px;
14
- z-index: 1000;
15
- }
16
- .task-item-name.task-item-name_done {
17
- color: #a8a8a8;
18
- }
19
- .task-control {
20
- display: flex;
21
- align-items: center;
22
- padding: 5px 0;
23
- font-size: 13px;
24
- color: #444;
25
- > span + span {
26
- margin-left: 15px;
27
- }
28
- > span:hover {
29
- // color: @primary-color;
30
- }
31
- .svg-inline--fa {
32
- margin-right: 5px;
33
- }
34
- }
35
- }
36
- .task-list-item {
37
- display: flex;
38
- position: relative;
39
- justify-content: space-between;
40
- align-items: center;
41
- padding: 10px 20px;
42
- .task-content {
43
- display: flex;
44
- flex: 1;
45
- }
46
- }
47
- .task-list-item:before {
48
- position: absolute;
49
- content: "";
50
- left: 20px;
51
- bottom: 0;
52
- right: 0;
53
- border-bottom: 1px solid @border-color-base;
54
- }
55
- .task-sub-item {
56
- position: relative;
57
- display: flex;
58
- padding: 10px 20px 0 20px;
59
- &.task-sub-item-hover {
60
- .task-item-name,
61
- .task-control {
62
- color: #a8a8a8;
63
- }
64
- .task-avatar {
65
- opacity: 0.5;
66
- }
67
- }
68
- .select-checkbox {
69
- margin-right: 15px;
70
- }
71
- .task-sub-item_content {
72
- display: flex;
73
- align-items: center;
74
- flex: 1;
75
- .task-status-label {
76
- width: 90px;
77
- text-align: right;
78
- }
79
- .ask-sub-item_left {
80
- flex: 1;
81
- flex-shrink: 0;
82
- .task-sub-item_row {
83
- display: flex;
84
- > div {
85
- flex: 1;
86
- }
87
- }
88
- }
89
- .task-avatar {
90
- width: 30%;
91
- margin-left: 15px;
92
- }
93
- .task-icon-star,
94
- .task-icon-move {
95
- display: table-cell;
96
- width: 25px;
97
- }
98
- .task-control {
99
- cursor: pointer;
100
- .morpho-inline-edit {
101
- margin-right: 10px;
102
- }
103
- }
104
- }
105
- .task-icon-move {
106
- opacity: 0;
107
- cursor: move;
108
- font-size: 16px;
109
- }
110
- .task-operate-dropdown {
111
- opacity: 0;
112
- margin-left: 10px;
113
- }
114
- &:hover .task-operate-dropdown {
115
- opacity: 1;
116
- }
117
- &:hover .task-icon-move,
118
- .task-icon-move.show {
119
- opacity: 1;
120
- }
121
- &.opacity {
122
- opacity: 0.5;
123
- }
124
- .hover-operate-icon {
125
- position: absolute;
126
- display: none;
127
- left: 45px;
128
- top: 5px;
129
- bottom: 5px;
130
- right: 20px;
131
- &.show {
132
- display: flex;
133
- justify-content: flex-end;
134
- align-items: center;
135
- }
136
- }
137
- .ant-btn-circle {
138
- margin-left: 10px;
139
- &.del-btn {
140
- border-color: #ff8d8a;
141
- }
142
- }
143
- .ant-btn-danger:active,
144
- .ant-btn-danger.active {
145
- background-color: #ff8d8a;
146
- border-color: right#ff8d8a;
147
- }
148
- }
149
- .task-detail-item {
150
- .task-detail-item-name {
151
- display: flex;
152
- align-content: center;
153
- font-size: 16px;
154
- font-weight: 500;
155
- color: #000;
156
- .morpho-inline-edit {
157
- flex: 1;
158
- }
159
- }
160
- .margin-right-30 {
161
- margin-right: 30px;
162
- }
163
- }
164
- .document-drop-menu {
165
- min-width: 250px;
166
- max-width: 600px;
167
- padding: 10px 10px 20px 10px;
168
- margin: 0 20px;
169
- background: #fff;
170
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
171
- }
172
- .task-document-modal {
173
- height: calc(100% - 200px);
174
- .ant-modal-content {
175
- height: 100%;
176
- .ant-modal-body {
177
- height: 100%;
178
- padding: 0;
179
- }
180
- }
181
- }
182
- }