@voplus/morpho-workspace 1.1.0-dev013 → 1.1.0-dev014

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 (80) hide show
  1. package/es/components/AvatarList/state.js +50 -46
  2. package/es/components/AvatarList/state.js.map +1 -1
  3. package/es/components/TimeLog/index.d.ts +1 -1
  4. package/es/data/board/LinkStore.js +38 -34
  5. package/es/data/board/LinkStore.js.map +1 -1
  6. package/es/data/board/index.js +2 -0
  7. package/es/data/board/index.js.map +1 -1
  8. package/es/data/board/metas.js +15 -11
  9. package/es/data/board/metas.js.map +1 -1
  10. package/es/data/meeting/index.js +2 -0
  11. package/es/data/meeting/index.js.map +1 -1
  12. package/es/data/meeting/metas.js +22 -18
  13. package/es/data/meeting/metas.js.map +1 -1
  14. package/es/data/task/index.js +2 -0
  15. package/es/data/task/index.js.map +1 -1
  16. package/es/data/task/metas.js +19 -15
  17. package/es/data/task/metas.js.map +1 -1
  18. package/es/modules/board/components/Board/state.d.ts +2 -2
  19. package/es/modules/board/components/Board/state.js +111 -107
  20. package/es/modules/board/components/Board/state.js.map +1 -1
  21. package/es/modules/board/components/BoardColumn/state.js +142 -138
  22. package/es/modules/board/components/BoardColumn/state.js.map +1 -1
  23. package/es/modules/board/components/DocumentCard/index.d.ts +4 -4
  24. package/es/modules/board/components/DocumentCard/state.js +54 -50
  25. package/es/modules/board/components/DocumentCard/state.js.map +1 -1
  26. package/es/modules/board/components/LinkList/state.js +31 -27
  27. package/es/modules/board/components/LinkList/state.js.map +1 -1
  28. package/es/modules/board/components/NewTaskForm/state.js +41 -37
  29. package/es/modules/board/components/NewTaskForm/state.js.map +1 -1
  30. package/es/modules/board/components/TaskCard/state.js +117 -113
  31. package/es/modules/board/components/TaskCard/state.js.map +1 -1
  32. package/es/modules/board/pages/BoardViewList/state.js +14 -10
  33. package/es/modules/board/pages/BoardViewList/state.js.map +1 -1
  34. package/es/modules/calendar/components/CalendarMenu/index.d.ts +1 -1
  35. package/es/modules/calendar/components/TaskCard/state.js +58 -54
  36. package/es/modules/calendar/components/TaskCard/state.js.map +1 -1
  37. package/es/modules/calendar/pages/CalendarMonth/state.js +12 -8
  38. package/es/modules/calendar/pages/CalendarMonth/state.js.map +1 -1
  39. package/es/modules/meeting/components/AgendaList/AgendaHeader/index.d.ts +2 -2
  40. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskItem/index.d.ts +1 -1
  41. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js +40 -36
  42. package/es/modules/meeting/components/AgendaList/AgendaItem/components/TaskList/state.js.map +1 -1
  43. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js +47 -43
  44. package/es/modules/meeting/components/AgendaList/AgendaItem/state.js.map +1 -1
  45. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +19 -15
  46. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
  47. package/es/modules/meeting/components/AgendaList/state.js +22 -18
  48. package/es/modules/meeting/components/AgendaList/state.js.map +1 -1
  49. package/es/modules/meeting/components/MeetingDescription/index.d.ts +1 -1
  50. package/es/modules/meeting/components/MeetingHeader/index.d.ts +3 -3
  51. package/es/modules/meeting/components/MeetingItem/index.d.ts +1 -1
  52. package/es/modules/meeting/components/MeetingItem/state.js +22 -18
  53. package/es/modules/meeting/components/MeetingItem/state.js.map +1 -1
  54. package/es/modules/meeting/components/MeetingQuickViewDialog/index.d.ts +2 -2
  55. package/es/modules/meeting/components/NewMeetingForm/index.js +1 -1
  56. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  57. package/es/modules/meeting/components/NewMeetingForm/state.js +31 -27
  58. package/es/modules/meeting/components/NewMeetingForm/state.js.map +1 -1
  59. package/es/modules/menus/components/Access/index.d.ts +2 -2
  60. package/es/modules/menus/components/Account/index.d.ts +2 -2
  61. package/es/modules/menus/components/Status/index.d.ts +2 -2
  62. package/es/modules/tasks/components/NewTaskForm/index.js +1 -1
  63. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  64. package/es/modules/tasks/components/NewTaskForm/state.js +30 -26
  65. package/es/modules/tasks/components/NewTaskForm/state.js.map +1 -1
  66. package/es/modules/tasks/components/SubTaskList/state.js +22 -18
  67. package/es/modules/tasks/components/SubTaskList/state.js.map +1 -1
  68. package/es/modules/tasks/components/TaskDescription/index.d.ts +1 -1
  69. package/es/modules/tasks/components/TaskItem/state.js +157 -153
  70. package/es/modules/tasks/components/TaskItem/state.js.map +1 -1
  71. package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +1 -1
  72. package/es/modules/tasks/components/TaskQuickViewDialog/index.d.ts +2 -2
  73. package/es/modules/tasks/components/TaskTimeBox/index.d.ts +4 -4
  74. package/es/modules/tasks/components/TaskTimeBox/state.js +74 -70
  75. package/es/modules/tasks/components/TaskTimeBox/state.js.map +1 -1
  76. package/es/modules/workspaces/components/Access/index.d.ts +2 -2
  77. package/es/modules/workspaces/components/Account/index.d.ts +2 -2
  78. package/es/modules/workspaces/components/ListHeard/index.d.ts +1 -1
  79. package/es/modules/workspaces/components/Status/index.d.ts +2 -2
  80. package/package.json +5 -5
@@ -2,51 +2,55 @@ import { __decorate } from "tslib";
2
2
  import { observable } from "mobx";
3
3
  /** color of member of random display for no url */
4
4
  export const colorList = ["#765FEE", "#fe4066", "#FFC832", "#FF8F5E", "#3AC43A", "#FFC832"];
5
- export class State {
6
- constructor() {
7
- this.avatarList = [];
8
- this.members = [];
9
- this.list = [];
10
- this.items = [];
11
- /** checked of id of members */
12
- this.checkedIds = [];
13
- // @observable public loading = false;
14
- this.visible = false;
15
- this.num = 0;
16
- this.hasMore = false;
17
- /** Keword of member */
18
- this.keyword = "";
19
- this.reload = false;
5
+ let State = /** @class */ (() => {
6
+ class State {
7
+ constructor() {
8
+ this.avatarList = [];
9
+ this.members = [];
10
+ this.list = [];
11
+ this.items = [];
12
+ /** checked of id of members */
13
+ this.checkedIds = [];
14
+ // @observable public loading = false;
15
+ this.visible = false;
16
+ this.num = 0;
17
+ this.hasMore = false;
18
+ /** Keword of member */
19
+ this.keyword = "";
20
+ this.reload = false;
21
+ }
20
22
  }
21
- }
22
- __decorate([
23
- observable
24
- ], State.prototype, "avatarList", void 0);
25
- __decorate([
26
- observable
27
- ], State.prototype, "members", void 0);
28
- __decorate([
29
- observable
30
- ], State.prototype, "list", void 0);
31
- __decorate([
32
- observable
33
- ], State.prototype, "items", void 0);
34
- __decorate([
35
- observable
36
- ], State.prototype, "checkedIds", void 0);
37
- __decorate([
38
- observable
39
- ], State.prototype, "visible", void 0);
40
- __decorate([
41
- observable
42
- ], State.prototype, "num", void 0);
43
- __decorate([
44
- observable
45
- ], State.prototype, "hasMore", void 0);
46
- __decorate([
47
- observable
48
- ], State.prototype, "keyword", void 0);
49
- __decorate([
50
- observable
51
- ], State.prototype, "reload", void 0);
23
+ __decorate([
24
+ observable
25
+ ], State.prototype, "avatarList", void 0);
26
+ __decorate([
27
+ observable
28
+ ], State.prototype, "members", void 0);
29
+ __decorate([
30
+ observable
31
+ ], State.prototype, "list", void 0);
32
+ __decorate([
33
+ observable
34
+ ], State.prototype, "items", void 0);
35
+ __decorate([
36
+ observable
37
+ ], State.prototype, "checkedIds", void 0);
38
+ __decorate([
39
+ observable
40
+ ], State.prototype, "visible", void 0);
41
+ __decorate([
42
+ observable
43
+ ], State.prototype, "num", void 0);
44
+ __decorate([
45
+ observable
46
+ ], State.prototype, "hasMore", void 0);
47
+ __decorate([
48
+ observable
49
+ ], State.prototype, "keyword", void 0);
50
+ __decorate([
51
+ observable
52
+ ], State.prototype, "reload", void 0);
53
+ return State;
54
+ })();
55
+ export { State };
52
56
  //# sourceMappingURL=state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/AvatarList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAYlC,mDAAmD;AACnD,MAAM,CAAC,MAAM,SAAS,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YAAO,GAAG,KAAK,CAAC;YAChB,QAAG,GAAG,CAAC,CAAC;YACR,YAAO,GAAG,KAAK,CAAC;YACnC,uBAAuB;YACJ,YAAO,GAAG,EAAE,CAAC;YACb,WAAM,GAAG,KAAK,CAAC;QACnC,CAAC;KAAA;IAbY;QAAX,UAAU;6CAA+B;IAC9B;QAAX,UAAU;0CAA4B;IAC3B;QAAX,UAAU;uCAAyB;IACxB;QAAX,UAAU;wCAA0B;IAEzB;QAAX,UAAU;6CAAkC;IAEjC;QAAX,UAAU;0CAAwB;IACvB;QAAX,UAAU;sCAAgB;IACf;QAAX,UAAU;0CAAwB;IAEvB;QAAX,UAAU;0CAAqB;IACpB;QAAX,UAAU;yCAAuB;IACnC,YAAC;KAAA;SAdY,KAAK"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  declare const TimeLog: (props: {
3
- size?: import("@voplus/antd/es/button").ButtonSize;
3
+ size?: "middle" | "small" | "large";
4
4
  }) => JSX.Element;
5
5
  export default TimeLog;
@@ -1,40 +1,44 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, computed } from "mobx";
3
3
  import { message } from "@voplus/antd";
4
- export class LinkStore {
5
- get moveIds() {
6
- const moveIds = sessionStorage.getItem("moveIds");
7
- return moveIds ? JSON.parse(moveIds) : [];
8
- }
9
- onMove(links) {
10
- const moveIds = links;
11
- if (!moveIds.length)
12
- return message.warning("nothing to cut");
13
- window.sessionStorage.setItem("moveIds", JSON.stringify(moveIds));
14
- return message.success("Replicating Success");
15
- }
16
- onPaste(loader) {
17
- if (this.moveIds.length) {
18
- loader();
19
- this.clear();
4
+ let LinkStore = /** @class */ (() => {
5
+ class LinkStore {
6
+ get moveIds() {
7
+ const moveIds = sessionStorage.getItem("moveIds");
8
+ return moveIds ? JSON.parse(moveIds) : [];
9
+ }
10
+ onMove(links) {
11
+ const moveIds = links;
12
+ if (!moveIds.length)
13
+ return message.warning("nothing to cut");
14
+ window.sessionStorage.setItem("moveIds", JSON.stringify(moveIds));
15
+ return message.success("Replicating Success");
16
+ }
17
+ onPaste(loader) {
18
+ if (this.moveIds.length) {
19
+ loader();
20
+ this.clear();
21
+ }
22
+ else
23
+ message.warning("nothing to cut");
24
+ }
25
+ clear() {
26
+ window.sessionStorage.clear();
20
27
  }
21
- else
22
- message.warning("nothing to cut");
23
- }
24
- clear() {
25
- window.sessionStorage.clear();
26
28
  }
27
- }
28
- __decorate([
29
- computed
30
- ], LinkStore.prototype, "moveIds", null);
31
- __decorate([
32
- action
33
- ], LinkStore.prototype, "onMove", null);
34
- __decorate([
35
- action
36
- ], LinkStore.prototype, "onPaste", null);
37
- __decorate([
38
- action
39
- ], LinkStore.prototype, "clear", null);
29
+ __decorate([
30
+ computed
31
+ ], LinkStore.prototype, "moveIds", null);
32
+ __decorate([
33
+ action
34
+ ], LinkStore.prototype, "onMove", null);
35
+ __decorate([
36
+ action
37
+ ], LinkStore.prototype, "onPaste", null);
38
+ __decorate([
39
+ action
40
+ ], LinkStore.prototype, "clear", null);
41
+ return LinkStore;
42
+ })();
43
+ export { LinkStore };
40
44
  //# sourceMappingURL=LinkStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkStore.js","sourceRoot":"","sources":["../../../src/data/board/LinkStore.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAOvC,MAAM,OAAO,SAAS;IAErB,IAAI,OAAO;QACV,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAClD,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3C,CAAC;IAEM,MAAM,CAAC,KAAwB;QACrC,MAAM,OAAO,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,MAAM;YAAE,OAA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AAS,CAAC,OAAO,CAAC,CAAC,CAAC;YAClE,OAAO,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QAC/C,CAAC;QAEM,OAAO,CAAC,MAA0B;YACxC,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;gBACxB,MAAM,EAAE,CAAC;gBACT,IAAI,CAAC,KAAK,EAAE,CAAC;aACb;;gBAAM,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;QAC1C,CAAC;QAEM,KAAK;YACX,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,CAAC;QAC/B,CAAC;KACD;IAtBA;QADC,QAAQ;4CAIR;IAED;QADC,MAAM;2CAMN;IAED;QADC,MAAM;4CAMN;IAED;QADC,MAAM;0CAGN;IACF,gBAAC;KAAA;SAxBY,SAAS"}
@@ -1,5 +1,7 @@
1
+ export * from "./interfaces";
1
2
  export * from "./BoardStore";
2
3
  export * from "./BoardColumnStore";
3
4
  export * from "./LinkStore";
4
5
  export * from "./hooks";
6
+ export * from "./types";
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/board/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/board/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -3,16 +3,20 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3
3
  import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
4
4
  import React from "react";
5
5
  /** Meta information for Board document. */
6
- export class BoardTypeMeta extends DefaultDocumentTypeMeta {
7
- get name() {
8
- return BoardTypeMeta.TypeName;
6
+ let BoardTypeMeta = /** @class */ (() => {
7
+ class BoardTypeMeta extends DefaultDocumentTypeMeta {
8
+ get name() {
9
+ return BoardTypeMeta.TypeName;
10
+ }
11
+ getIcon(document) {
12
+ return React.createElement(FontAwesomeIcon, { icon: faColumns });
13
+ }
14
+ getTabUrl(document) {
15
+ throw new Error("Method not implemented.");
16
+ }
9
17
  }
10
- getIcon(document) {
11
- return React.createElement(FontAwesomeIcon, { icon: faColumns });
12
- }
13
- getTabUrl(document) {
14
- throw new Error("Method not implemented.");
15
- }
16
- }
17
- BoardTypeMeta.TypeName = "Board";
18
+ BoardTypeMeta.TypeName = "Board";
19
+ return BoardTypeMeta;
20
+ })();
21
+ export { BoardTypeMeta };
18
22
  //# sourceMappingURL=metas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/board/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAa,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,2CAA2C;AAC3C,MAAM,OAAO,aAAc,SAAQ,uBAAuB;IAGzD,IAAW,IAAI;QACd,OAAO,aAAa,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,SAAS,GAAI,CAAC;IAC7C,CAAC;IAEM,SAAS,CAAC,QAAmB;QACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5C,CAAC;;AAZa,sBAAQ,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/board/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAa,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,2CAA2C;AAC3C;IAAA,MAAa,aAAc,SAAQ,uBAAuB;QAGzD,IAAW,IAAI;YACd,OAAO,aAAa,CAAC,QAAQ,CAAC;QAC/B,CAAC;QAEM,OAAO,CAAC,QAAmB;YACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,SAAS,GAAI,CAAC;QAC7C,CAAC;QAEM,SAAS,CAAC,QAAmB;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC5C,CAAC;;IAZa,sBAAQ,GAAG,OAAO,CAAC;IAalC,oBAAC;KAAA;SAdY,aAAa"}
@@ -1,4 +1,6 @@
1
+ export * from "./interfaces";
1
2
  export * from "./MeetingStore";
2
3
  export * from "./AgendaStore";
3
4
  export * from "./hooks";
5
+ export * from "./types";
4
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/meeting/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/meeting/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -5,23 +5,27 @@ import MeetingQuickViewDialog from "../../modules/meeting/components/MeetingQuic
5
5
  import React from "react";
6
6
  import { faCalendarDay } from "@fortawesome/pro-solid-svg-icons";
7
7
  /** Meta information for Meeting document. */
8
- export class MeetingTypeMeta extends DefaultDocumentTypeMeta {
9
- get name() {
10
- return MeetingTypeMeta.TypeName;
8
+ let MeetingTypeMeta = /** @class */ (() => {
9
+ class MeetingTypeMeta extends DefaultDocumentTypeMeta {
10
+ get name() {
11
+ return MeetingTypeMeta.TypeName;
12
+ }
13
+ getIcon(document) {
14
+ return React.createElement(FontAwesomeIcon, { icon: faCalendarDay });
15
+ }
16
+ getTabUrl(document) {
17
+ throw new Error("Method not implemented.");
18
+ }
19
+ getPropertiesView(document) {
20
+ return React.createElement(MeetingPropertiesView, { id: document.id });
21
+ }
22
+ getQuickView(document, props) {
23
+ props.id = document.id;
24
+ return (React.createElement(MeetingQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
25
+ }
11
26
  }
12
- getIcon(document) {
13
- return React.createElement(FontAwesomeIcon, { icon: faCalendarDay });
14
- }
15
- getTabUrl(document) {
16
- throw new Error("Method not implemented.");
17
- }
18
- getPropertiesView(document) {
19
- return React.createElement(MeetingPropertiesView, { id: document.id });
20
- }
21
- getQuickView(document, props) {
22
- props.id = document.id;
23
- return (React.createElement(MeetingQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
24
- }
25
- }
26
- MeetingTypeMeta.TypeName = "Meeting";
27
+ MeetingTypeMeta.TypeName = "Meeting";
28
+ return MeetingTypeMeta;
29
+ })();
30
+ export { MeetingTypeMeta };
27
31
  //# sourceMappingURL=metas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/meeting/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAa,MAAM,yBAAyB,CAAC;AAE7E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,qBAAqB,MAAM,wDAAwD,CAAC;AAC3F,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAE7F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM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EM,OAAO,CAAC,QAAmB;YACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,CAAC;QACjD,CAAC;QAEM,SAAS,CAAC,QAAmB;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC5C,CAAC;QAEM,iBAAiB,CAAC,QAAmB;YAC3C,OAAO,oBAAC,qBAAqB,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,GAAI,CAAC;QACnD,CAAC;QAEM,YAAY,CAAC,QAAmB,EAAE,KAAqB;YAC7D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;YACvB,OAAO,CACN,oBAAC,sBAAsB,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAC7F,CAAC;QACH,CAAC;;IAvBa,wBAAQ,GAAG,SAAS,CAAC;IAwBpC,sBAAC;KAAA;SAzBY,eAAe"}
@@ -1,3 +1,5 @@
1
+ export * from "./interfaces";
1
2
  export * from "./TaskStore";
2
3
  export * from "./hooks";
4
+ export * from "./types";
3
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/task/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/task/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -5,20 +5,24 @@ import React from "react";
5
5
  import TaskDetail from "../../modules/tasks/components/TaskPropertiesView";
6
6
  import TaskQuickViewDialog from "../../modules/tasks/components/TaskQuickViewDialog";
7
7
  /** Meta information for Task document. */
8
- export class TaskTypeMeta extends DefaultDocumentTypeMeta {
9
- get name() {
10
- return TaskTypeMeta.TypeName;
8
+ let TaskTypeMeta = /** @class */ (() => {
9
+ class TaskTypeMeta extends DefaultDocumentTypeMeta {
10
+ get name() {
11
+ return TaskTypeMeta.TypeName;
12
+ }
13
+ getIcon(document) {
14
+ return React.createElement(FontAwesomeIcon, { icon: faBallot });
15
+ }
16
+ getPropertiesView(document) {
17
+ return React.createElement(TaskDetail, { id: document.id });
18
+ }
19
+ getQuickView(document, props) {
20
+ props.id = document.id;
21
+ return (React.createElement(TaskQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
22
+ }
11
23
  }
12
- getIcon(document) {
13
- return React.createElement(FontAwesomeIcon, { icon: faBallot });
14
- }
15
- getPropertiesView(document) {
16
- return React.createElement(TaskDetail, { id: document.id });
17
- }
18
- getQuickView(document, props) {
19
- props.id = document.id;
20
- return (React.createElement(TaskQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
21
- }
22
- }
23
- TaskTypeMeta.TypeName = "Task";
24
+ TaskTypeMeta.TypeName = "Task";
25
+ return TaskTypeMeta;
26
+ })();
27
+ export { TaskTypeMeta };
24
28
  //# sourceMappingURL=metas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/task/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAa,MAAM,yBAAyB,CAAC;AAE7E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,mDAAmD,CAAC;AAC3E,OAAO,mBAAmB,MAAM,oDAAoD,CAAC;AAErF,0CAA0C;AAC1C,MAAM,OAAO,YAAa,SAAQ,uBAAuB;IAGxD,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,QAAQ,CAAC;IAC9B,CAAC;I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mB,EAAE,KAAqB;YAC7D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;YACvB,OAAO,CACN,oBAAC,mBAAmB,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAC1F,CAAC;QACH,CAAC;;IAnBa,qBAAQ,GAAG,MAAM,CAAC;IAoBjC,mBAAC;KAAA;SArBY,YAAY"}
@@ -24,8 +24,8 @@ export declare class State {
24
24
  destination: any;
25
25
  /** BoardColumn head border-top color */
26
26
  colorList: string[];
27
- onBoardColumnCreated: (s: BoardColumnStore, t: import("@voplus/morpho-document").IDocument) => void;
28
- onBoardColumnDeleted: (s: BoardColumnStore, t: import("@voplus/morpho-document").IDocument) => void;
27
+ onBoardColumnCreated: (s: BoardColumnStore, t: IBoardColumn) => void;
28
+ onBoardColumnDeleted: (s: BoardColumnStore, t: IBoardColumn) => void;
29
29
  subscribeOnBoardCreateCallback: () => () => void;
30
30
  /** add BoardColumn save */
31
31
  onSave: () => Promise<any>;
@@ -1,118 +1,122 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, observable } from "mobx";
3
3
  import { message } from "@voplus/antd";
4
- export class State {
5
- constructor(_store, _docStore) {
6
- this._store = _store;
7
- this._docStore = _docStore;
8
- this.boardcolumns = [];
9
- /** search filter 1.5秒 */
10
- this.timeout = null;
11
- /** add BoardColumn name */
12
- this.name = "";
13
- this.reload = false;
14
- /** add BoardColumn save loading */
15
- this.addLoading = false;
16
- /** add BoardColumn */
17
- this.addBoardColumnAble = false;
18
- /** BoardColumn head border-top color */
19
- this.colorList = ["#765FEE", "#fe4066", "#FFC832", "#FF8F5E", "#16ecec", "#FFC832"];
20
- this.onBoardColumnCreated = (s, t) => {
21
- if (t.parentId === this.props.parentId) {
22
- this.boardcolumns.push(t);
23
- this.reload = true;
24
- }
25
- };
26
- this.onBoardColumnDeleted = (s, t) => {
27
- this.boardcolumns = this.boardcolumns.filter(item => item.id !== t.id);
28
- };
29
- this.subscribeOnBoardCreateCallback = () => {
30
- this._store.ItemCreatedEvent.subscribe(this.onBoardColumnCreated);
31
- this._store.ItemDeletedEvent.subscribe(this.onBoardColumnDeleted);
32
- return () => {
33
- this._store.ItemCreatedEvent.unsubscribe(this.onBoardColumnCreated);
34
- this._store.ItemDeletedEvent.unsubscribe(this.onBoardColumnDeleted);
35
- };
36
- };
37
- /** add BoardColumn save */
38
- this.onSave = async () => {
39
- if (!this.name)
40
- return message.warning("Title is required");
41
- this.addLoading = true;
42
- await this._store.create({ Name: this.name, ParentId: this.props.parentId });
4
+ let State = /** @class */ (() => {
5
+ class State {
6
+ constructor(_store, _docStore) {
7
+ this._store = _store;
8
+ this._docStore = _docStore;
9
+ this.boardcolumns = [];
10
+ /** search filter 1.5秒 */
11
+ this.timeout = null;
12
+ /** add BoardColumn name */
43
13
  this.name = "";
14
+ this.reload = false;
15
+ /** add BoardColumn save loading */
44
16
  this.addLoading = false;
45
- };
46
- }
47
- /** 拖拽方法 */
48
- onDragEnd(result) {
49
- // dropped nowhere
50
- if (!result.destination) {
51
- return;
52
- }
53
- const { source, destination, draggableId } = result;
54
- // did not move anywhere - can bail early
55
- if (source.droppableId === destination.droppableId && source.index === destination.index) {
56
- return;
17
+ /** add BoardColumn */
18
+ this.addBoardColumnAble = false;
19
+ /** BoardColumn head border-top color */
20
+ this.colorList = ["#765FEE", "#fe4066", "#FFC832", "#FF8F5E", "#16ecec", "#FFC832"];
21
+ this.onBoardColumnCreated = (s, t) => {
22
+ if (t.parentId === this.props.parentId) {
23
+ this.boardcolumns.push(t);
24
+ this.reload = true;
25
+ }
26
+ };
27
+ this.onBoardColumnDeleted = (s, t) => {
28
+ this.boardcolumns = this.boardcolumns.filter(item => item.id !== t.id);
29
+ };
30
+ this.subscribeOnBoardCreateCallback = () => {
31
+ this._store.ItemCreatedEvent.subscribe(this.onBoardColumnCreated);
32
+ this._store.ItemDeletedEvent.subscribe(this.onBoardColumnDeleted);
33
+ return () => {
34
+ this._store.ItemCreatedEvent.unsubscribe(this.onBoardColumnCreated);
35
+ this._store.ItemDeletedEvent.unsubscribe(this.onBoardColumnDeleted);
36
+ };
37
+ };
38
+ /** add BoardColumn save */
39
+ this.onSave = async () => {
40
+ if (!this.name)
41
+ return message.warning("Title is required");
42
+ this.addLoading = true;
43
+ await this._store.create({ Name: this.name, ParentId: this.props.parentId });
44
+ this.name = "";
45
+ this.addLoading = false;
46
+ };
57
47
  }
58
- // reordering column
59
- if (result.type === "COLUMN") {
60
- if (destination.index === 0) {
61
- this._docStore.moveAfter(draggableId, "");
48
+ /** 拖拽方法 */
49
+ onDragEnd(result) {
50
+ // dropped nowhere
51
+ if (!result.destination) {
52
+ return;
62
53
  }
63
- else {
64
- const afterId = this.boardcolumns.length - 1 === destination.index
65
- ? this.boardcolumns[destination.index].id
66
- : this.boardcolumns[destination.index - 1].id;
67
- this._docStore.moveAfter(draggableId, afterId);
54
+ const { source, destination, draggableId } = result;
55
+ // did not move anywhere - can bail early
56
+ if (source.droppableId === destination.droppableId && source.index === destination.index) {
57
+ return;
68
58
  }
69
- const [removed] = this.boardcolumns.splice(source.index, 1);
70
- this.boardcolumns.splice(destination.index, 0, removed);
71
- return;
59
+ // reordering column
60
+ if (result.type === "COLUMN") {
61
+ if (destination.index === 0) {
62
+ this._docStore.moveAfter(draggableId, "");
63
+ }
64
+ else {
65
+ const afterId = this.boardcolumns.length - 1 === destination.index
66
+ ? this.boardcolumns[destination.index].id
67
+ : this.boardcolumns[destination.index - 1].id;
68
+ this._docStore.moveAfter(draggableId, afterId);
69
+ }
70
+ const [removed] = this.boardcolumns.splice(source.index, 1);
71
+ this.boardcolumns.splice(destination.index, 0, removed);
72
+ return;
73
+ }
74
+ const linkId = draggableId.split("/")[0];
75
+ const rightId = draggableId.split("/")[1];
76
+ this._docStore.moveLinks(destination.droppableId, source.droppableId, [{ Type: "Association", RightId: rightId, Position: destination.index }], [linkId]);
77
+ this.source = { id: source.droppableId, linkId: linkId };
78
+ this.destination = {
79
+ id: destination.droppableId,
80
+ rightId: rightId,
81
+ linkId: linkId,
82
+ index: destination.index
83
+ };
72
84
  }
73
- const linkId = draggableId.split("/")[0];
74
- const rightId = draggableId.split("/")[1];
75
- this._docStore.moveLinks(destination.droppableId, source.droppableId, [{ Type: "Association", RightId: rightId, Position: destination.index }], [linkId]);
76
- this.source = { id: source.droppableId, linkId: linkId };
77
- this.destination = {
78
- id: destination.droppableId,
79
- rightId: rightId,
80
- linkId: linkId,
81
- index: destination.index
82
- };
83
85
  }
84
- }
85
- __decorate([
86
- observable
87
- ], State.prototype, "boardcolumns", void 0);
88
- __decorate([
89
- observable
90
- ], State.prototype, "timeout", void 0);
91
- __decorate([
92
- observable
93
- ], State.prototype, "name", void 0);
94
- __decorate([
95
- observable
96
- ], State.prototype, "reload", void 0);
97
- __decorate([
98
- observable
99
- ], State.prototype, "addLoading", void 0);
100
- __decorate([
101
- observable
102
- ], State.prototype, "addBoardColumnAble", void 0);
103
- __decorate([
104
- observable
105
- ], State.prototype, "source", void 0);
106
- __decorate([
107
- observable
108
- ], State.prototype, "destination", void 0);
109
- __decorate([
110
- observable
111
- ], State.prototype, "colorList", void 0);
112
- __decorate([
113
- action
114
- ], State.prototype, "onSave", void 0);
115
- __decorate([
116
- action
117
- ], State.prototype, "onDragEnd", null);
86
+ __decorate([
87
+ observable
88
+ ], State.prototype, "boardcolumns", void 0);
89
+ __decorate([
90
+ observable
91
+ ], State.prototype, "timeout", void 0);
92
+ __decorate([
93
+ observable
94
+ ], State.prototype, "name", void 0);
95
+ __decorate([
96
+ observable
97
+ ], State.prototype, "reload", void 0);
98
+ __decorate([
99
+ observable
100
+ ], State.prototype, "addLoading", void 0);
101
+ __decorate([
102
+ observable
103
+ ], State.prototype, "addBoardColumnAble", void 0);
104
+ __decorate([
105
+ observable
106
+ ], State.prototype, "source", void 0);
107
+ __decorate([
108
+ observable
109
+ ], State.prototype, "destination", void 0);
110
+ __decorate([
111
+ observable
112
+ ], State.prototype, "colorList", void 0);
113
+ __decorate([
114
+ action
115
+ ], State.prototype, "onSave", void 0);
116
+ __decorate([
117
+ action
118
+ ], State.prototype, "onDragEnd", null);
119
+ return State;
120
+ })();
121
+ export { State };
118
122
  //# sourceMappingURL=state.js.map