@voplus/morpho-workspace 6.0.108 → 6.0.110
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/AutoSequenceDialog/index.d.ts +3 -3
- package/es/components/AutoSequenceLink/index.d.ts +2 -2
- package/es/controls/InlineSearch/index.d.ts +2 -2
- package/es/controls/MoreOperateDropdown/index.d.ts +15 -15
- package/es/controls/NodeLink/index.d.ts +1 -1
- package/es/controls/NodeLink/index.js +1 -1
- package/es/controls/NodeLink/index.js.map +1 -1
- package/es/controls/NodeLink/index.less +1 -0
- package/es/data/board/contexts/BoardListContextState/index.d.ts +0 -1
- package/es/data/board/metas.d.ts +0 -1
- package/es/data/meeting/metas.d.ts +0 -1
- package/es/data/notification/types.d.ts +1 -0
- package/es/data/task/metas.d.ts +0 -1
- package/es/data/work/metas.d.ts +0 -1
- package/es/data/work-schedule/metas.d.ts +0 -1
- package/es/modules/board/components/Board/index.d.ts +1 -1
- package/es/modules/board/components/BoardColumn/index.less +1 -1
- package/es/modules/board/components/BoardPropertiesView/index.js +1 -1
- package/es/modules/board/components/BoardPropertiesView/index.js.map +1 -1
- package/es/modules/board/components/BoardTabs/index.js +1 -1
- package/es/modules/board/components/BoardTabs/index.js.map +1 -1
- package/es/modules/board/components/NewBoardColumnDialog/index.d.ts +2 -2
- package/es/modules/board/components/NewColumnDocumentForm/index.d.ts +1 -1
- package/es/modules/board/components/SubDocument/index.d.ts +2 -2
- package/es/modules/meeting/components/AgendaList/AgendaContext.d.ts +0 -1
- package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.d.ts +5 -5
- package/es/modules/meeting/components/MeetingList/QuickSearch/index.d.ts +8 -9
- package/es/modules/meeting/components/MeetingTabs/index.js +1 -1
- package/es/modules/meeting/components/MeetingTabs/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.d.ts +4 -4
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +6 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +105 -37
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/index.less +67 -0
- package/es/modules/notification/components/NewNotificationForm/state.d.ts +8 -0
- package/es/modules/notification/components/NewNotificationForm/state.js +28 -0
- package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.d.ts +3 -3
- package/es/modules/notification/components/NotificationList/index.less +1 -1
- package/es/modules/notification/components/NotificationList2/index.d.ts +4 -0
- package/es/modules/notification/components/NotificationList2/index.js +2 -2
- package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
- package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -1
- package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +3 -3
- package/es/modules/pin/components/MyPinned/index.d.ts +2 -2
- package/es/modules/pin/components/PinnedCardList/index.d.ts +3 -3
- package/es/modules/tasks/components/AddTaskDropdown/index.d.ts +4 -4
- package/es/modules/tasks/components/DelegateDialog/index.d.ts +2 -2
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +11 -11
- package/es/modules/tasks/components/NotificaitonNewTaskForm/index.d.ts +9 -9
- package/es/modules/tasks/components/TaskCheckItem/index.d.ts +2 -2
- package/es/modules/tasks/components/TaskCheckNewForm/index.d.ts +4 -4
- package/es/modules/tasks/components/TaskTabs/index.js +1 -1
- package/es/modules/tasks/components/TaskTabs/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskStatusLabel/index.d.ts +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.d.ts +3 -3
- package/es/modules/work/components/NewWorkForm/index.d.ts +8 -8
- package/es/modules/work/components/RejectWorkDialog/index.d.ts +4 -4
- package/es/modules/work/components/WorkCashReport/index.d.ts +1 -1
- package/es/modules/work/components/WorkErrorList/index.d.ts +3 -3
- package/es/modules/work/components/WorkErrorTabs/index.js +1 -1
- package/es/modules/work/components/WorkErrorTabs/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.less +1 -1
- package/es/modules/work/components/WorkTabs/index.js +1 -1
- package/es/modules/work/components/WorkTabs/index.js.map +1 -1
- package/es/modules/work/controls/SeveritySelect/index.d.ts +8 -8
- package/es/modules/work/controls/WorkErrorSelect/index.d.ts +8 -8
- package/es/modules/work/controls/WorkMenu/item/Accept.d.ts +3 -3
- package/es/modules/work/controls/WorkMenu/item/Reject.d.ts +3 -3
- package/es/modules/work/controls/WorkMenu/item/Send.d.ts +3 -3
- package/es/modules/work/controls/WorkStatusLabel/index.d.ts +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTabs/index.js.map +1 -1
- package/es/modules/work/work-type/components/ChangeWorkDefaultFolderDialog/index.d.ts +3 -3
- package/es/modules/work/work-type/components/ErrorTypeList/Item.d.ts +5 -5
- package/es/modules/work/work-type/components/ErrorTypeList/index.d.ts +6 -6
- package/es/modules/work/work-type/components/NewTypeForm/index.d.ts +4 -4
- package/es/modules/work/work-type/components/WorkTypeIconList/index.d.ts +1 -1
- package/es/modules/work/work-type/components/WorkTypeList/index.d.ts +2 -2
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesTabs/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +5 -5
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeTabs/index.js.map +1 -1
- package/es/modules/work/work-type/controls/WorkTypeStatusLabel/index.d.ts +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js +1 -1
- package/es/modules/work/work-type/pages/WorkTypePage/index.js.map +1 -1
- package/es/modules/workspace/components/MyWorkspaces/index.d.ts +3 -3
- package/es/modules/workspace/components/NewWorkspaceDialog/index.d.ts +5 -5
- package/es/modules/workspace/components/WorkspaceIconList/index.d.ts +5 -5
- package/es/modules/workspace/components/WorkspaceIconList2/index.d.ts +2 -2
- package/es/modules/workspace/components/WorkspaceTabs/index.js +1 -1
- package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
- package/es/obsolete/space/components/Notes/ColorSelect/index.d.ts +3 -3
- package/es/obsolete/space/components/Notes/NewNoteDialog/index.d.ts +2 -2
- package/package.json +1 -1
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
:global {
|
4
4
|
.new-notification-form {
|
5
|
+
height: 100%;
|
6
|
+
display: flex;
|
7
|
+
flex-direction: column;
|
8
|
+
|
5
9
|
&.sub-notification-more-form {
|
6
10
|
padding: 0 20px;
|
7
11
|
|
@@ -20,6 +24,13 @@
|
|
20
24
|
}
|
21
25
|
}
|
22
26
|
|
27
|
+
.new-notification-recipient {
|
28
|
+
height: 32px;
|
29
|
+
padding: 4px 11px;
|
30
|
+
border-radius: @border-radius;
|
31
|
+
background: #f9f9f9 0% 0% no-repeat padding-box;
|
32
|
+
}
|
33
|
+
|
23
34
|
.notification-form-btn {
|
24
35
|
margin-top: 10px;
|
25
36
|
}
|
@@ -28,11 +39,67 @@
|
|
28
39
|
.prosemirror-content {
|
29
40
|
height: 140px;
|
30
41
|
}
|
42
|
+
|
31
43
|
.toolbar-button[title="Align"] {
|
32
44
|
.ant-select {
|
33
45
|
width: auto;
|
34
46
|
}
|
35
47
|
}
|
36
48
|
}
|
49
|
+
|
50
|
+
.new-notification-form-tabs {
|
51
|
+
flex: 1;
|
52
|
+
|
53
|
+
.email-content-component {
|
54
|
+
height: calc(100% - 36px);
|
55
|
+
|
56
|
+
.email-content-choose {
|
57
|
+
color: #5d5d5d;
|
58
|
+
margin-bottom: 14px;
|
59
|
+
font: normal normal 600 14px/19px Open Sans;
|
60
|
+
}
|
61
|
+
|
62
|
+
.email-content-subtitle {
|
63
|
+
color: #868686;
|
64
|
+
font: normal normal 600 14px/19px Open Sans;
|
65
|
+
margin-bottom: 5px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.email-content-placeholder-list {
|
69
|
+
margin-top: 20px;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
.preview-component {
|
74
|
+
width: 100%;
|
75
|
+
height: 100%;
|
76
|
+
position: relative;
|
77
|
+
overflow: hidden;
|
78
|
+
|
79
|
+
.preview-component-header {
|
80
|
+
.header-title {
|
81
|
+
color: #5d5d5d;
|
82
|
+
font: normal normal bold 14px/19px Open Sans;
|
83
|
+
}
|
84
|
+
|
85
|
+
.header-explain {
|
86
|
+
color: #868686;
|
87
|
+
font: normal normal 600 14px/19px Open Sans;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
iframe {
|
92
|
+
width: 100%;
|
93
|
+
height: calc(100% - 38px);
|
94
|
+
border: none;
|
95
|
+
position: absolute;
|
96
|
+
right: -15px;
|
97
|
+
top: 38px;
|
98
|
+
bottom: 0;
|
99
|
+
overflow-x: hidden;
|
100
|
+
overflow-y: scroll;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
37
104
|
}
|
38
105
|
}
|
@@ -4,15 +4,23 @@ export declare class State {
|
|
4
4
|
Channels: number;
|
5
5
|
Subject: string;
|
6
6
|
Body: string;
|
7
|
+
EmailTemplateId: string;
|
7
8
|
};
|
8
9
|
params: {
|
9
10
|
Channels: number;
|
10
11
|
Subject: string;
|
11
12
|
Body: string;
|
13
|
+
EmailTemplateId: string;
|
12
14
|
};
|
13
15
|
contact: {
|
14
16
|
id: string;
|
15
17
|
name: string;
|
16
18
|
}[];
|
17
19
|
loading: boolean;
|
20
|
+
loadPreview: boolean;
|
21
|
+
chooseMessageTemplate: boolean;
|
22
|
+
placeholderList: {
|
23
|
+
Placeholder: string;
|
24
|
+
Value?: string;
|
25
|
+
}[];
|
18
26
|
}
|
@@ -10,6 +10,7 @@ export class State {
|
|
10
10
|
Channels: 1,
|
11
11
|
Subject: "",
|
12
12
|
Body: "",
|
13
|
+
EmailTemplateId: "",
|
13
14
|
}
|
14
15
|
});
|
15
16
|
Object.defineProperty(this, "params", {
|
@@ -31,6 +32,24 @@ export class State {
|
|
31
32
|
writable: true,
|
32
33
|
value: false
|
33
34
|
});
|
35
|
+
Object.defineProperty(this, "loadPreview", {
|
36
|
+
enumerable: true,
|
37
|
+
configurable: true,
|
38
|
+
writable: true,
|
39
|
+
value: false
|
40
|
+
});
|
41
|
+
Object.defineProperty(this, "chooseMessageTemplate", {
|
42
|
+
enumerable: true,
|
43
|
+
configurable: true,
|
44
|
+
writable: true,
|
45
|
+
value: false
|
46
|
+
});
|
47
|
+
Object.defineProperty(this, "placeholderList", {
|
48
|
+
enumerable: true,
|
49
|
+
configurable: true,
|
50
|
+
writable: true,
|
51
|
+
value: []
|
52
|
+
});
|
34
53
|
makeObservable(this);
|
35
54
|
}
|
36
55
|
}
|
@@ -43,4 +62,13 @@ __decorate([
|
|
43
62
|
__decorate([
|
44
63
|
observable
|
45
64
|
], State.prototype, "loading", void 0);
|
65
|
+
__decorate([
|
66
|
+
observable
|
67
|
+
], State.prototype, "loadPreview", void 0);
|
68
|
+
__decorate([
|
69
|
+
observable
|
70
|
+
], State.prototype, "chooseMessageTemplate", void 0);
|
71
|
+
__decorate([
|
72
|
+
observable
|
73
|
+
], State.prototype, "placeholderList", void 0);
|
46
74
|
//# sourceMappingURL=state.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;gBACR,eAAe,EAAE,EAAE;aACnB;WAAC;QAEiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAwB,KAAK;WAAC;QAC9B;;;;mBAA6D,EAAE;WAAC;QAflF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAeD;AAPmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;oDAAsC;AAC9B;IAAlB,UAAU;8CAAwE"}
|
@@ -5,9 +5,9 @@ declare const NotificationList: (props: {
|
|
5
5
|
/** status of notifications shown on the list. */
|
6
6
|
status: string;
|
7
7
|
/** The current active item */
|
8
|
-
active?: string
|
8
|
+
active?: string;
|
9
9
|
/** Call back when an item has been clicked on the list. */
|
10
|
-
onClickItem?: (
|
11
|
-
onClickStatus?: (
|
10
|
+
onClickItem?: (ev: React.MouseEvent<HTMLDivElement, MouseEvent>, item: INotification) => void;
|
11
|
+
onClickStatus?: (status: string) => void;
|
12
12
|
}) => React.JSX.Element;
|
13
13
|
export default NotificationList;
|
@@ -4,6 +4,10 @@ export type NotificationListProps = {
|
|
4
4
|
/** 需要 corporate 或者 customer id */
|
5
5
|
parentId: string;
|
6
6
|
addAble?: boolean;
|
7
|
+
recipient?: {
|
8
|
+
id: string;
|
9
|
+
name: string;
|
10
|
+
};
|
7
11
|
};
|
8
12
|
declare const NotificationList: {
|
9
13
|
(props: NotificationListProps): React.JSX.Element;
|
@@ -38,8 +38,8 @@ const NotificationList = (props) => {
|
|
38
38
|
onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
|
39
39
|
setAddNotification(!addNotification),
|
40
40
|
}, formViewTitle: "Add Offiec", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
|
41
|
-
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, targetId: props.parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
|
42
|
-
addNotification && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddNotification(false), onSave: () => setAddNotification(false) }))));
|
41
|
+
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && (React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient })), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
|
42
|
+
addNotification && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, recipient: props.recipient, onCancel: () => setAddNotification(false), onSave: () => setAddNotification(false) }))));
|
43
43
|
});
|
44
44
|
};
|
45
45
|
NotificationList.defaultProps = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAS1F,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACzD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9D,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAE9B,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,YAAY;YACtB,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IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,CAC7B,oBAAC,gBAAgB,IAAC,QAAQ,QAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,GAAI,CACnF,EAEF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA0C,EAAE,EAAE,CAAC,CACxE,oBAAC,gBAAgB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CAC/C,GACA;YACD,eAAe,IAAI,CACnB,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,GACtC,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -2,6 +2,6 @@ import React from "react";
|
|
2
2
|
declare const NotificationListHeader: (props: {
|
3
3
|
/** status of notifications shown on the list. */
|
4
4
|
status: string;
|
5
|
-
onClickStatus?: (
|
5
|
+
onClickStatus?: (status: string) => void;
|
6
6
|
}) => React.JSX.Element;
|
7
7
|
export default NotificationListHeader;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
2
|
declare const Send: (props: {
|
3
3
|
/** disabled Button */
|
4
|
-
disabled?: boolean
|
4
|
+
disabled?: boolean;
|
5
5
|
/** function of Click */
|
6
|
-
action?: (
|
7
|
-
className?: string
|
6
|
+
action?: (context?: any) => void;
|
7
|
+
className?: string;
|
8
8
|
}) => React.JSX.Element;
|
9
9
|
export default Send;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from "react";
|
2
2
|
declare const MyPinned: (props: {
|
3
|
-
active?: string
|
3
|
+
active?: string;
|
4
4
|
/** Call back when an item has been clicked on the list. */
|
5
|
-
onClickItem?: (
|
5
|
+
onClickItem?: (id: string) => void;
|
6
6
|
}) => React.JSX.Element;
|
7
7
|
export default MyPinned;
|
@@ -4,8 +4,8 @@ import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
|
4
4
|
declare const PinnedCardList: (props: {
|
5
5
|
list: IDocument[];
|
6
6
|
title: string;
|
7
|
-
icon?: IconProp
|
8
|
-
onItemClick?: (
|
9
|
-
className?: string
|
7
|
+
icon?: IconProp;
|
8
|
+
onItemClick?: (id: string) => void;
|
9
|
+
className?: string;
|
10
10
|
}) => React.JSX.Element;
|
11
11
|
export default PinnedCardList;
|
@@ -2,9 +2,9 @@ import React from "react";
|
|
2
2
|
/** taskList 新增 下列更多菜单*/
|
3
3
|
declare const AddTaskDropdown: (props: {
|
4
4
|
id: string;
|
5
|
-
className?: string
|
6
|
-
iconColor?: string
|
7
|
-
onCancelClick?: (
|
8
|
-
onItemClick?: (
|
5
|
+
className?: string;
|
6
|
+
iconColor?: string;
|
7
|
+
onCancelClick?: () => void;
|
8
|
+
onItemClick?: (type: string) => void;
|
9
9
|
}) => React.JSX.Element;
|
10
10
|
export default AddTaskDropdown;
|
@@ -5,7 +5,7 @@ declare const DelegateDialog: (props: {
|
|
5
5
|
name: string;
|
6
6
|
id: string;
|
7
7
|
}[];
|
8
|
-
onCancel?: (
|
9
|
-
onSubmit?: (
|
8
|
+
onCancel?: () => void;
|
9
|
+
onSubmit?: () => void;
|
10
10
|
}) => React.JSX.Element;
|
11
11
|
export default DelegateDialog;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import "./index.less";
|
3
3
|
declare const NewTaskForm: (props: {
|
4
|
-
parentId?: string
|
5
|
-
simple?: boolean
|
6
|
-
className?: string
|
7
|
-
block?: boolean
|
8
|
-
showView?: boolean
|
4
|
+
parentId?: string;
|
5
|
+
simple?: boolean;
|
6
|
+
className?: string;
|
7
|
+
block?: boolean;
|
8
|
+
showView?: boolean;
|
9
9
|
/** New Task (For Self) */
|
10
|
-
self?: boolean
|
10
|
+
self?: boolean;
|
11
11
|
/** Description 默认值 */
|
12
|
-
description?: string
|
13
|
-
onSave?: (
|
14
|
-
onSubmitSave?: (
|
15
|
-
onCancel?: (
|
16
|
-
onShowMore?: (
|
12
|
+
description?: string;
|
13
|
+
onSave?: (params?: any) => void;
|
14
|
+
onSubmitSave?: (params?: any) => void;
|
15
|
+
onCancel?: () => void;
|
16
|
+
onShowMore?: () => void;
|
17
17
|
}) => React.JSX.Element;
|
18
18
|
export default NewTaskForm;
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import "./index.less";
|
3
3
|
declare const NotificationNewTaskForm: (props: {
|
4
|
-
parentId?: string
|
5
|
-
className?: string
|
6
|
-
showView?: boolean
|
4
|
+
parentId?: string;
|
5
|
+
className?: string;
|
6
|
+
showView?: boolean;
|
7
7
|
/** New Task (For Self) */
|
8
|
-
self?: boolean
|
8
|
+
self?: boolean;
|
9
9
|
/** title 默认值 */
|
10
|
-
title?: string
|
10
|
+
title?: string;
|
11
11
|
/** Description 默认值 */
|
12
|
-
description?: string
|
13
|
-
onSave?: (
|
14
|
-
onSubmitSave?: (
|
15
|
-
onCancel?: (
|
12
|
+
description?: string;
|
13
|
+
onSave?: (params?: any) => void;
|
14
|
+
onSubmitSave?: (params?: any) => void;
|
15
|
+
onCancel?: () => void;
|
16
16
|
}) => React.JSX.Element;
|
17
17
|
export default NotificationNewTaskForm;
|
@@ -3,7 +3,7 @@ import "./index.less";
|
|
3
3
|
declare const TaskCheckItem: (props: {
|
4
4
|
id: string;
|
5
5
|
/** 是否显示dueDate */
|
6
|
-
dueDate?: boolean
|
7
|
-
onChangeDueDate?: (
|
6
|
+
dueDate?: boolean;
|
7
|
+
onChangeDueDate?: (dueDate?: Date) => void;
|
8
8
|
}) => React.JSX.Element;
|
9
9
|
export default TaskCheckItem;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import "./index.less";
|
3
3
|
declare const TaskCheckNewForm: (props: {
|
4
|
-
parentId?: string
|
5
|
-
className?: string
|
6
|
-
onSave?: (
|
7
|
-
onCancel?: (
|
4
|
+
parentId?: string;
|
5
|
+
className?: string;
|
6
|
+
onSave?: (params?: any) => void;
|
7
|
+
onCancel?: () => void;
|
8
8
|
}) => React.JSX.Element;
|
9
9
|
export default TaskCheckNewForm;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Badge, Skeleton } from "antd";
|
2
2
|
import React, { useEffect, useState } from "react";
|
3
|
-
import ActivityLog from "@voplus/morpho-org/es/components/
|
3
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
|
4
4
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
5
5
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
6
6
|
import Links from "@voplus/morpho-document/es/components/Links";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,WAAW,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,WAAW,MAAM,4DAA4D,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AAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,GAAI,CACpF;SACD;QACD;YACC,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI;SACtF;QACD;YACC,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;SAC3C;KACD,CAAC;IAEF,UAAU;QACT,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI;SACpC,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,MAAM;QAChC,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,EAChE,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -4,7 +4,7 @@ import { TaskStatus } from "@voplus/morpho-document-core";
|
|
4
4
|
declare const TaskStatusLabel: (props: {
|
5
5
|
status: string;
|
6
6
|
editable: boolean;
|
7
|
-
className?: string
|
7
|
+
className?: string;
|
8
8
|
onChange: (status: TaskStatus) => void;
|
9
9
|
}) => React.JSX.Element;
|
10
10
|
export default TaskStatusLabel;
|
@@ -5,8 +5,8 @@ declare const NewWorkErrorDialog: (props: {
|
|
5
5
|
/** work type id */
|
6
6
|
workTypeId: string;
|
7
7
|
/** 額外css class. */
|
8
|
-
className?: string
|
9
|
-
onSubmitSave?: (
|
10
|
-
onCancel?: (
|
8
|
+
className?: string;
|
9
|
+
onSubmitSave?: (params?: any) => void;
|
10
|
+
onCancel?: () => void;
|
11
11
|
}) => React.JSX.Element;
|
12
12
|
export default NewWorkErrorDialog;
|
@@ -2,22 +2,22 @@ import React from "react";
|
|
2
2
|
declare const NewWorkForm: {
|
3
3
|
(props: {
|
4
4
|
/** 添加 RelatedWork 时需要传入 RelatedId = workId */
|
5
|
-
workId?: string
|
5
|
+
workId?: string;
|
6
6
|
/** 用于预选的 contact */
|
7
7
|
contact?: {
|
8
8
|
name: string;
|
9
9
|
id: string;
|
10
|
-
}
|
10
|
+
};
|
11
11
|
/** 額外css class. */
|
12
|
-
className?: string
|
12
|
+
className?: string;
|
13
13
|
/** NewWorkForm 打开的方式 */
|
14
|
-
openMode?: "openAside" | "openBottom"
|
14
|
+
openMode?: "openAside" | "openBottom";
|
15
15
|
/** save后显示PropertiesView, cancel关闭右边new work */
|
16
|
-
showView?: boolean
|
16
|
+
showView?: boolean;
|
17
17
|
/** 是否为添加 RelatedWork */
|
18
|
-
isRelatedWork?: boolean
|
19
|
-
onSave?: (
|
20
|
-
onCancel?: (
|
18
|
+
isRelatedWork?: boolean;
|
19
|
+
onSave?: (params?: any) => void;
|
20
|
+
onCancel?: () => void;
|
21
21
|
}): React.JSX.Element;
|
22
22
|
defaultProps: {
|
23
23
|
openMode: string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from "react";
|
2
2
|
declare const RejectWorkDialog: (props: {
|
3
|
-
parentId?: string
|
4
|
-
className?: string
|
5
|
-
onSubmitSave?: (
|
6
|
-
onCancel?: (
|
3
|
+
parentId?: string;
|
4
|
+
className?: string;
|
5
|
+
onSubmitSave?: (params?: any) => void;
|
6
|
+
onCancel?: () => void;
|
7
7
|
}) => React.JSX.Element;
|
8
8
|
export default RejectWorkDialog;
|
@@ -2,6 +2,6 @@ import React from "react";
|
|
2
2
|
declare const WorkCashReport: (props: {
|
3
3
|
id: string;
|
4
4
|
workspaceId: string;
|
5
|
-
onFilterOutPut?: (
|
5
|
+
onFilterOutPut?: (filterStatus: string[]) => void;
|
6
6
|
}) => React.JSX.Element;
|
7
7
|
export default WorkCashReport;
|
@@ -3,9 +3,9 @@ import React from "react";
|
|
3
3
|
declare const WorkErrorList: {
|
4
4
|
(props: {
|
5
5
|
id: string;
|
6
|
-
viewTitle?: string
|
7
|
-
asideable?: boolean
|
8
|
-
onClickItem?: (
|
6
|
+
viewTitle?: string;
|
7
|
+
asideable?: boolean;
|
8
|
+
onClickItem?: (workErrorId: string, workTypeId?: string) => void;
|
9
9
|
}): React.JSX.Element;
|
10
10
|
defaultProps: {
|
11
11
|
viewTitle: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
3
|
import { Badge, Tabs } from "antd";
|
4
|
-
import ActivityLog from "@voplus/morpho-org/es/components/
|
4
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
|
5
5
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
6
6
|
import WorkErrorProperties from "../WorkErrorProperties";
|
7
7
|
import { useDocumentListEffect } from "@voplus/morpho-document-core";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,E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AAE,EAAE,UAAU,EAAE;SAC9D;KACD,CAAC,CAAC;IAEH,MAAM,KAAK,GAAuB;QACjC;YACC,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAI;SACtF;QACD;YACC,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,CACN;;gBAEC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAC,gBAAgB,GAAG,CACpD,CACH;YACD,QAAQ,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,QAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAI;SAC3E;KACD,CAAC;IAEF,SAAS;QACR,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,GAAI;SACzC,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,cAAc,EAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAI,CACzF,CAAC,CAAC;IAEH,YAAY;IACZ,SAAS,QAAQ,CAAC,SAAiB;QAClC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
|
-
import ActivityLog from "@voplus/morpho-org/es/components/
|
3
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
|
4
4
|
import { Badge } from "antd";
|
5
5
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
6
6
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,WAAW,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,OAAO,QAAQ,MAAM,uCAAuC,CAAC;AAC7D,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,MAAM,QAAQ,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC/D,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC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E,KAAK,EACf,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import React from "react";
|
2
2
|
declare const SeveritySelect: {
|
3
3
|
(props: {
|
4
|
-
defaultValue?: string
|
5
|
-
open?: boolean
|
6
|
-
autoFocus?: boolean
|
7
|
-
placeholder?: string
|
8
|
-
className?: string
|
9
|
-
onChange?: (
|
10
|
-
onBlur?: (
|
11
|
-
style?: React.CSSProperties
|
4
|
+
defaultValue?: string;
|
5
|
+
open?: boolean;
|
6
|
+
autoFocus?: boolean;
|
7
|
+
placeholder?: string;
|
8
|
+
className?: string;
|
9
|
+
onChange?: (severity: string) => void;
|
10
|
+
onBlur?: () => void;
|
11
|
+
style?: React.CSSProperties;
|
12
12
|
}): React.JSX.Element;
|
13
13
|
defaultProps: {
|
14
14
|
style: {
|
@@ -2,14 +2,14 @@ import React from "react";
|
|
2
2
|
declare const WorkErrorSelect: {
|
3
3
|
(props: {
|
4
4
|
workTypeId: string;
|
5
|
-
defaultValue?: string
|
6
|
-
open?: boolean
|
7
|
-
autoFocus?: boolean
|
8
|
-
placeholder?: string
|
9
|
-
className?: string
|
10
|
-
onChange?: (
|
11
|
-
onBlur?: (
|
12
|
-
style?: React.CSSProperties
|
5
|
+
defaultValue?: string;
|
6
|
+
open?: boolean;
|
7
|
+
autoFocus?: boolean;
|
8
|
+
placeholder?: string;
|
9
|
+
className?: string;
|
10
|
+
onChange?: (val: string) => void;
|
11
|
+
onBlur?: () => void;
|
12
|
+
style?: React.CSSProperties;
|
13
13
|
}): React.JSX.Element;
|
14
14
|
defaultProps: {
|
15
15
|
style: {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
2
|
declare const Accept: (props: {
|
3
3
|
/** disabled Button */
|
4
|
-
disabled?: boolean
|
4
|
+
disabled?: boolean;
|
5
5
|
/** function of Click */
|
6
|
-
action?: (
|
7
|
-
className?: string
|
6
|
+
action?: (context?: any) => void;
|
7
|
+
className?: string;
|
8
8
|
}) => React.JSX.Element;
|
9
9
|
export default Accept;
|