@voplus/morpho-workspace 1.0.0-dev44 → 1.0.0-dev46
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.
- package/es/controls/FlagIcon/index.js +7 -4
- package/es/controls/FlagIcon/index.js.map +1 -1
- package/es/controls/FlagIcon/index.less +3 -0
- package/es/data/contexts/StoreContext/index.d.ts +3 -6
- package/es/data/contexts/StoreContext/index.js +3 -39
- package/es/data/contexts/StoreContext/index.js.map +1 -1
- package/es/modules/calendar/components/TaskCard/index.d.ts +7 -0
- package/es/modules/calendar/components/TaskCard/index.js +25 -0
- package/es/modules/calendar/components/TaskCard/index.js.map +1 -0
- package/es/modules/calendar/components/TaskCard/index.less +13 -0
- package/es/modules/calendar/components/TaskCard/state.d.ts +16 -0
- package/es/modules/calendar/components/TaskCard/state.js +58 -0
- package/es/modules/calendar/components/TaskCard/state.js.map +1 -0
- package/es/modules/calendar/pages/CalendarMonth/index.js +14 -18
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/components/AgendaList/index.js +24 -20
- package/es/modules/meeting/components/AgendaList/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingDetail/index.js +4 -2
- package/es/modules/meeting/components/MeetingDetail/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +7 -5
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +6 -5
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.js +2 -1
- package/es/modules/meeting/components/MeetingQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +3 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.js +5 -11
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/state.d.ts +1 -2
- package/es/modules/tasks/components/SubTaskList/state.js +1 -8
- package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
- package/es/modules/tasks/components/TaskDetail/index.js +2 -1
- package/es/modules/tasks/components/TaskDetail/index.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/TaskItem.js +6 -24
- package/es/modules/tasks/components/TaskItem/TaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/index.less +3 -3
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +2 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskList/index.js +4 -2
- package/es/modules/tasks/pages/TaskList/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +2 -1
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/package.json +9 -9
- package/es/data/contexts/SortContext/index.d.ts +0 -13
- package/es/data/contexts/SortContext/index.js +0 -47
- package/es/data/contexts/SortContext/index.js.map +0 -1
- package/es/data/contexts/index.d.ts +0 -1
- package/es/data/contexts/index.js +0 -2
- package/es/data/contexts/index.js.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@voplus/morpho-workspace",
|
3
|
-
"version": "1.0.0-
|
3
|
+
"version": "1.0.0-dev46",
|
4
4
|
"description": "morpho workspace module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@storybook/react": "^5.2.8",
|
41
41
|
"@types/classnames": "^2.2.9",
|
42
42
|
"@types/draft-js": "^0.10.37",
|
43
|
-
"@types/emoji-mart": "^2.11.
|
43
|
+
"@types/emoji-mart": "^2.11.1",
|
44
44
|
"@types/enzyme": "^3.10.4",
|
45
45
|
"@types/enzyme-adapter-react-16": "^1.0.3",
|
46
46
|
"@types/fetch-mock": "^7.3.2",
|
@@ -48,14 +48,14 @@
|
|
48
48
|
"@types/jest": "^24.0.23",
|
49
49
|
"@types/lodash-es": "^4.17.3",
|
50
50
|
"@types/mockjs": "^1.0.2",
|
51
|
-
"@types/node": "^13.1.
|
51
|
+
"@types/node": "^13.1.6",
|
52
52
|
"@types/react": "^16.9.16",
|
53
53
|
"@types/react-addons-css-transition-group": "^15.0.5",
|
54
54
|
"@types/react-custom-scrollbars": "^4.0.6",
|
55
55
|
"@types/react-dom": "^16.9.4",
|
56
56
|
"@types/react-highlight-words": "^0.16.0",
|
57
57
|
"@types/react-infinite-scroller": "^1.2.1",
|
58
|
-
"@types/react-router": "^5.1.
|
58
|
+
"@types/react-router": "^5.1.4",
|
59
59
|
"@types/react-router-dom": "^5.1.3",
|
60
60
|
"@types/react-transition-group": "^4.2.3",
|
61
61
|
"@types/storybook__react": "^4.0.2",
|
@@ -63,19 +63,19 @@
|
|
63
63
|
"@voplus/morpho-client-test": "^1.0.0-dev010",
|
64
64
|
"@voplus/morpho-collaboration": "^1.0.0-dev014",
|
65
65
|
"@voplus/morpho-data": "^1.0.0-dev069",
|
66
|
-
"@voplus/morpho-document": "^1.0.0-
|
66
|
+
"@voplus/morpho-document": "^1.0.0-dev106",
|
67
67
|
"@voplus/morpho-org": "^1.0.0-dev023",
|
68
68
|
"@voplus/morpho-text": "^1.0.0-dev008",
|
69
|
-
"@voplus/morpho-ui": "^1.0.0-
|
69
|
+
"@voplus/morpho-ui": "^1.0.0-dev077",
|
70
70
|
"babel-jest": "^24.9.0",
|
71
71
|
"babel-loader": "^8.0.6",
|
72
72
|
"babel-plugin-import": "^1.13.0",
|
73
73
|
"clean-webpack-plugin": "^3.0.0",
|
74
|
-
"core-js": "^3.
|
74
|
+
"core-js": "^3.6.3",
|
75
75
|
"cpx": "^1.5.0",
|
76
|
-
"css-loader": "^3.
|
76
|
+
"css-loader": "^3.4.2",
|
77
77
|
"del-cli": "^3.0.0",
|
78
|
-
"draft-js": "^0.11.
|
78
|
+
"draft-js": "^0.11.4",
|
79
79
|
"emoji-mart": "^2.9.2",
|
80
80
|
"enzyme": "^3.10.0",
|
81
81
|
"enzyme-adapter-react-16": "^1.15.1",
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { SortParameters } from "@voplus/morpho-data/es/types";
|
2
|
-
import React from "react";
|
3
|
-
export declare class SortStore {
|
4
|
-
data: SortParameters;
|
5
|
-
filters: any[];
|
6
|
-
canDrag: boolean;
|
7
|
-
reset(): void;
|
8
|
-
sort(sort: string, dir?: "Asc" | "Desc"): void;
|
9
|
-
setCanDrag(canDrag: boolean): void;
|
10
|
-
setFilters(filters: any[]): void;
|
11
|
-
}
|
12
|
-
export declare const SortContext: React.Context<SortStore | null>;
|
13
|
-
export declare const useSort: () => SortStore | null;
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { action, observable } from "mobx";
|
3
|
-
import React, { useContext } from "react";
|
4
|
-
export class SortStore {
|
5
|
-
constructor() {
|
6
|
-
this.data = {};
|
7
|
-
this.filters = [];
|
8
|
-
this.canDrag = false;
|
9
|
-
}
|
10
|
-
reset() {
|
11
|
-
this.data = {};
|
12
|
-
}
|
13
|
-
sort(sort, dir) {
|
14
|
-
this.data.Sort = sort;
|
15
|
-
this.data.Direction = dir;
|
16
|
-
}
|
17
|
-
setCanDrag(canDrag) {
|
18
|
-
this.canDrag = canDrag;
|
19
|
-
}
|
20
|
-
setFilters(filters) {
|
21
|
-
this.filters = filters;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
__decorate([
|
25
|
-
observable
|
26
|
-
], SortStore.prototype, "data", void 0);
|
27
|
-
__decorate([
|
28
|
-
observable
|
29
|
-
], SortStore.prototype, "filters", void 0);
|
30
|
-
__decorate([
|
31
|
-
observable
|
32
|
-
], SortStore.prototype, "canDrag", void 0);
|
33
|
-
__decorate([
|
34
|
-
action
|
35
|
-
], SortStore.prototype, "reset", null);
|
36
|
-
__decorate([
|
37
|
-
action
|
38
|
-
], SortStore.prototype, "sort", null);
|
39
|
-
__decorate([
|
40
|
-
action
|
41
|
-
], SortStore.prototype, "setCanDrag", null);
|
42
|
-
__decorate([
|
43
|
-
action
|
44
|
-
], SortStore.prototype, "setFilters", null);
|
45
|
-
export const SortContext = React.createContext(null);
|
46
|
-
export const useSort = () => useContext(SortContext);
|
47
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/data/contexts/SortContext/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,MAAM,OAAO,SAAS;IAAtB;QAEQ,SAAI,GAAmB,EAAE,CAAC;QAG1B,YAAO,GAAU,EAAE,CAAC;QAGpB,YAAO,GAAY,KAAK,CAAC;IAsBjC,CAAC;IAnBO,KAAK;QACX,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;IAChB,CAAC;IAGM,IAAI,CAAC,IAAY,EAAE,GAAoB;QAC7C,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;IAC3B,CAAC;IAGM,UAAU,CAAC,OAAgB;QACjC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IAGM,UAAU,CAAC,OAAc;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;CACD;AA5BA;IADC,UAAU;uCACsB;AAGjC;IADC,UAAU;0CACgB;AAG3B;IADC,UAAU;0CACqB;AAGhC;IADC,MAAM;sCAGN;AAGD;IADC,MAAM;qCAIN;AAGD;IADC,MAAM;2CAGN;AAGD;IADC,MAAM;2CAGN;AAGF,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAmB,IAAI,CAAC,CAAC;AAEvE,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./SortContext";
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|