@voplus/morpho-workspace 1.2.1 → 1.2.2
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/Modules.js +4 -0
- package/es/Modules.js.map +1 -1
- package/es/data/meeting/metas.d.ts +6 -2
- package/es/data/meeting/metas.js +8 -6
- package/es/data/meeting/metas.js.map +1 -1
- package/es/data/task/metas.d.ts +3 -1
- package/es/data/task/metas.js +4 -3
- package/es/data/task/metas.js.map +1 -1
- package/es/modules/meeting/MeetingRoutes.d.ts +3 -10
- package/es/modules/meeting/MeetingRoutes.js +3 -22
- package/es/modules/meeting/MeetingRoutes.js.map +1 -1
- package/es/modules/meeting/components/MeetingHeader/index.js +3 -1
- package/es/modules/meeting/components/MeetingHeader/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingItem/index.js +3 -1
- package/es/modules/meeting/components/MeetingItem/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js +3 -1
- package/es/modules/meeting/components/MeetingsFolderProperitesView/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js +3 -1
- package/es/modules/meeting/components/MeetingsFolderQuickViewDialog/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingListView/index.d.ts +3 -2
- package/es/modules/meeting/pages/MeetingListView/index.js +3 -5
- package/es/modules/meeting/pages/MeetingListView/index.js.map +1 -1
- package/es/modules/meeting/pages/MeetingTabView/index.d.ts +4 -1
- package/es/modules/meeting/pages/MeetingTabView/index.js +3 -5
- package/es/modules/meeting/pages/MeetingTabView/index.js.map +1 -1
- package/es/modules/tasks/TasksRoutes.d.ts +2 -4
- package/es/modules/tasks/TasksRoutes.js +3 -12
- package/es/modules/tasks/TasksRoutes.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js +3 -1
- package/es/modules/tasks/components/TaskItem/SubTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +3 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +3 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/tasks/pages/TaskTabView/index.d.ts +4 -1
- package/es/modules/tasks/pages/TaskTabView/index.js +4 -21
- package/es/modules/tasks/pages/TaskTabView/index.js.map +1 -1
- package/package.json +1 -1
package/es/Modules.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { MeetingFolderTypeMeta, MeetingTypeMeta } from "./data/meeting/metas";
|
2
2
|
import { BoardTypeMeta } from "./data/board/metas";
|
3
3
|
import { DocumentMetaStore } from "@voplus/morpho-document/es/data/DocumentMetaStore";
|
4
|
+
import { DocumentUIService } from "@voplus/morpho-document/es/DocumentUIService";
|
4
5
|
import { FormElementRegister } from "@voplus/morpho-form/es/services";
|
5
6
|
import Routes from "./routes";
|
6
7
|
import { TaskTypeMeta } from "./data/task/metas";
|
@@ -9,6 +10,9 @@ import registerItems from "@voplus/morpho-form/es/elements/registerItems";
|
|
9
10
|
const Modules = {
|
10
11
|
/** Register necessary module resources. */
|
11
12
|
register: (context) => {
|
13
|
+
if (!context.getService(DocumentUIService.TypeName)) {
|
14
|
+
context.registerService(new DocumentUIService());
|
15
|
+
}
|
12
16
|
if (!context.getService(DocumentMetaStore.StoreName)) {
|
13
17
|
context.registerService(new DocumentMetaStore());
|
14
18
|
}
|
package/es/Modules.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Modules.js","sourceRoot":"","sources":["../src/Modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG9E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE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,KAAK,CAAC,OAAO,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC;QAElC,mBAAmB;QACnB,MAAM,CAAC,SAAS,EAAE,CAAC;IACpB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -7,15 +7,19 @@ export declare class MeetingTypeMeta extends DefaultDocumentTypeMeta {
|
|
7
7
|
static TypeName: string;
|
8
8
|
get name(): string;
|
9
9
|
getIcon(document: IDocument): JSX.Element;
|
10
|
-
getRoute(document: IDocument): string;
|
11
10
|
getPropertiesView(document: IDocument): JSX.Element;
|
12
11
|
getQuickView(document: IDocument, props: QuickViewProps): JSX.Element;
|
12
|
+
getDefaultView(props: {
|
13
|
+
id: string;
|
14
|
+
}): JSX.Element | null;
|
13
15
|
}
|
14
16
|
export declare class MeetingFolderTypeMeta extends DefaultDocumentTypeMeta {
|
15
17
|
static TypeName: string;
|
16
18
|
get name(): string;
|
17
19
|
getIcon(document: IDocument): JSX.Element;
|
18
|
-
getRoute(document: IDocument): string;
|
19
20
|
getPropertiesView(document: IDocument): JSX.Element;
|
20
21
|
getQuickView(document: IDocument, props: QuickViewProps): JSX.Element;
|
22
|
+
getDefaultView(props: {
|
23
|
+
id: string;
|
24
|
+
}): JSX.Element | null;
|
21
25
|
}
|
package/es/data/meeting/metas.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
2
|
+
import DefaultView from "../../modules/meeting/pages/MeetingTabView";
|
2
3
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
3
4
|
import MeetingPropertiesView from "../../modules/meeting/components/MeetingPropertiesView";
|
4
5
|
import MeetingQuickViewDialog from "../../modules/meeting/components/MeetingQuickViewDialog";
|
6
|
+
import MeetingsFolderDefaultView from "../../modules/meeting/pages/MeetingListView";
|
5
7
|
import MeetingsFolderPropertiesView from "../../modules/meeting/components/MeetingsFolderProperitesView";
|
6
8
|
import MeetingsFolderQuickViewDialog from "../../modules/meeting/components/MeetingsFolderQuickViewDialog";
|
7
9
|
import React from "react";
|
@@ -14,9 +16,6 @@ export class MeetingTypeMeta extends DefaultDocumentTypeMeta {
|
|
14
16
|
getIcon(document) {
|
15
17
|
return React.createElement(FontAwesomeIcon, { icon: faCalendarDay });
|
16
18
|
}
|
17
|
-
getRoute(document) {
|
18
|
-
return `/meeting/${document.id}`;
|
19
|
-
}
|
20
19
|
getPropertiesView(document) {
|
21
20
|
return React.createElement(MeetingPropertiesView, { id: document.id });
|
22
21
|
}
|
@@ -24,6 +23,9 @@ export class MeetingTypeMeta extends DefaultDocumentTypeMeta {
|
|
24
23
|
props.id = document.id;
|
25
24
|
return (React.createElement(MeetingQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
|
26
25
|
}
|
26
|
+
getDefaultView(props) {
|
27
|
+
return React.createElement(DefaultView, { id: props.id });
|
28
|
+
}
|
27
29
|
}
|
28
30
|
Object.defineProperty(MeetingTypeMeta, "TypeName", {
|
29
31
|
enumerable: true,
|
@@ -38,9 +40,6 @@ export class MeetingFolderTypeMeta extends DefaultDocumentTypeMeta {
|
|
38
40
|
getIcon(document) {
|
39
41
|
return React.createElement(FontAwesomeIcon, { icon: faCalendarDay });
|
40
42
|
}
|
41
|
-
getRoute(document) {
|
42
|
-
return `/meetings/${document.id}`;
|
43
|
-
}
|
44
43
|
getPropertiesView(document) {
|
45
44
|
return React.createElement(MeetingsFolderPropertiesView, { id: document.id });
|
46
45
|
}
|
@@ -48,6 +47,9 @@ export class MeetingFolderTypeMeta extends DefaultDocumentTypeMeta {
|
|
48
47
|
props.id = document.id;
|
49
48
|
return (React.createElement(MeetingsFolderQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
|
50
49
|
}
|
50
|
+
getDefaultView(props) {
|
51
|
+
return React.createElement(MeetingsFolderDefaultView, { id: props.id });
|
52
|
+
}
|
51
53
|
}
|
52
54
|
Object.defineProperty(MeetingFolderTypeMeta, "TypeName", {
|
53
55
|
enumerable: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/meeting/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,qBAAqB,MAAM,wDAAwD,CAAC;AAC3F,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAC7F,OAAO,4BAA4B,MAAM,+DAA+D,CAAC;AACzG,OAAO,6BAA6B,MAAM,gEAAgE,CAAC;AAE3G,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,6CAA6C;AAC7C,MAAM,OAAO,eAAgB,SAAQ,uBAAuB;IAG3D,IAAW,IAAI;QACd,OAAO,eAAe,CAAC,QAAQ,CAAC;IACjC,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,CAAC;IACjD,CAAC;IAEM,
|
1
|
+
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/meeting/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,qBAAqB,MAAM,wDAAwD,CAAC;AAC3F,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAC7F,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,4BAA4B,MAAM,+DAA+D,CAAC;AACzG,OAAO,6BAA6B,MAAM,gEAAgE,CAAC;AAE3G,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE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,CAAC,EAAE,EACf,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC;IACH,CAAC;IAGM,cAAc,CAAC,KAAqB;QAC1C,OAAO,oBAAC,yBAAyB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAAC;IACpD,CAAC;;AA3BD;;;;WAAyB,gBAAgB;GAAC"}
|
package/es/data/task/metas.d.ts
CHANGED
@@ -6,8 +6,10 @@ import { QuickViewProps } from "@voplus/morpho-document/es/components/QuickViewD
|
|
6
6
|
export declare class TaskTypeMeta extends DefaultDocumentTypeMeta {
|
7
7
|
static TypeName: string;
|
8
8
|
get name(): string;
|
9
|
-
getRoute(document: IDocument): string;
|
10
9
|
getIcon(document: IDocument): JSX.Element;
|
11
10
|
getPropertiesView(document: IDocument): JSX.Element;
|
12
11
|
getQuickView(document: IDocument, props: QuickViewProps): JSX.Element;
|
12
|
+
getDefaultView(props: {
|
13
|
+
id: string;
|
14
|
+
}): JSX.Element | null;
|
13
15
|
}
|
package/es/data/task/metas.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
2
|
+
import DefaultView from "../../modules/tasks/pages/TaskTabView";
|
2
3
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
3
4
|
import React from "react";
|
4
5
|
import TaskDetail from "../../modules/tasks/components/TaskPropertiesView";
|
@@ -9,9 +10,6 @@ export class TaskTypeMeta extends DefaultDocumentTypeMeta {
|
|
9
10
|
get name() {
|
10
11
|
return TaskTypeMeta.TypeName;
|
11
12
|
}
|
12
|
-
getRoute(document) {
|
13
|
-
return `/tasks/${document.id}`;
|
14
|
-
}
|
15
13
|
getIcon(document) {
|
16
14
|
return React.createElement(FontAwesomeIcon, { icon: faTasks });
|
17
15
|
}
|
@@ -22,6 +20,9 @@ export class TaskTypeMeta extends DefaultDocumentTypeMeta {
|
|
22
20
|
props.id = document.id;
|
23
21
|
return (React.createElement(TaskQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
|
24
22
|
}
|
23
|
+
getDefaultView(props) {
|
24
|
+
return React.createElement(DefaultView, { id: props.id });
|
25
|
+
}
|
25
26
|
}
|
26
27
|
Object.defineProperty(TaskTypeMeta, "TypeName", {
|
27
28
|
enumerable: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/task/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,mDAAmD,CAAC;AAC3E,OAAO,mBAAmB,MAAM,oDAAoD,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,0CAA0C;AAC1C,MAAM,OAAO,YAAa,SAAQ,uBAAuB;IAGxD,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,QAAQ,CAAC;IAC9B,CAAC;IAEM,
|
1
|
+
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/task/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,mDAAmD,CAAC;AAC3E,OAAO,mBAAmB,MAAM,oDAAoD,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,0CAA0C;AAC1C,MAAM,OAAO,YAAa,SAAQ,uBAAuB;IAGxD,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,QAAQ,CAAC;IAC9B,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,OAAO,GAAI,CAAC;IAC3C,CAAC;IAEM,iBAAiB,CAAC,QAAmB;QAC3C,OAAO,oBAAC,UAAU,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,GAAI,CAAC;IACxC,CAAC;IAEM,YAAY,CAAC,QAAmB,EAAE,KAAqB;QAC7D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACvB,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;IACH,CAAC;IAEM,cAAc,CAAC,KAAqB;QAC1C,OAAO,oBAAC,WAAW,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAAC;IACtC,CAAC;;AAvBD;;;;WAAyB,MAAM;GAAC"}
|
@@ -1,18 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
2
3
|
declare const Routes: {
|
3
4
|
MeetingList: {
|
4
|
-
|
5
|
-
tabPattern: RegExp;
|
6
|
-
getUrl: (id?: string | undefined) => string;
|
7
|
-
component: (props: {
|
8
|
-
parentId?: string | undefined;
|
9
|
-
}) => JSX.Element;
|
5
|
+
getUrl: typeof DocumentRoute;
|
10
6
|
};
|
11
7
|
Meeting: {
|
12
|
-
|
13
|
-
tabPattern: RegExp;
|
14
|
-
getUrl: (id: string) => string;
|
15
|
-
component: () => JSX.Element;
|
8
|
+
getUrl: typeof DocumentRoute;
|
16
9
|
};
|
17
10
|
MeetingPrint: {
|
18
11
|
route: string;
|
@@ -1,27 +1,18 @@
|
|
1
1
|
import { Route, Switch } from "react-router";
|
2
2
|
import { BaseRoutes } from "@voplus/morpho-data";
|
3
|
-
import
|
3
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
4
4
|
import MeetingPrintView from "./pages/MeetingPrintView";
|
5
|
-
import MeetingTabView from "./pages/MeetingTabView";
|
6
5
|
import React from "react";
|
7
6
|
const MeetingRoutes = () => {
|
8
7
|
return (React.createElement(Switch, null,
|
9
|
-
React.createElement(Route, { path: Routes.MeetingList.route, exact: true, component: Routes.MeetingList.component }),
|
10
|
-
React.createElement(Route, { path: Routes.Meeting.route, exact: true, component: Routes.Meeting.component }),
|
11
8
|
React.createElement(Route, { path: Routes.MeetingPrint.route, exact: true, component: Routes.MeetingPrint.component })));
|
12
9
|
};
|
13
10
|
const Routes = {
|
14
11
|
MeetingList: {
|
15
|
-
|
16
|
-
tabPattern: RegExp("/meetings/[^/]+"),
|
17
|
-
getUrl: (id) => `/meetings${id ? "/" + id : ""}`,
|
18
|
-
component: MeetingListView,
|
12
|
+
getUrl: DocumentRoute,
|
19
13
|
},
|
20
14
|
Meeting: {
|
21
|
-
|
22
|
-
tabPattern: RegExp("/meeting/[^/]+"),
|
23
|
-
getUrl: (id) => `/meeting/${id}`,
|
24
|
-
component: MeetingTabView,
|
15
|
+
getUrl: DocumentRoute,
|
25
16
|
},
|
26
17
|
MeetingPrint: {
|
27
18
|
route: "/meeting/print/:id",
|
@@ -30,21 +21,11 @@ const Routes = {
|
|
30
21
|
component: MeetingPrintView,
|
31
22
|
},
|
32
23
|
addRoutes: () => {
|
33
|
-
BaseRoutes.routes.push({
|
34
|
-
name: "meeting",
|
35
|
-
tabBasePattern: Routes.Meeting.tabPattern,
|
36
|
-
component: React.createElement(MeetingRoutes, null),
|
37
|
-
});
|
38
24
|
BaseRoutes.routes.push({
|
39
25
|
name: "meeting-print",
|
40
26
|
tabBasePattern: Routes.MeetingPrint.tabPattern,
|
41
27
|
component: React.createElement(MeetingRoutes, null),
|
42
28
|
});
|
43
|
-
BaseRoutes.routes.push({
|
44
|
-
name: "meeting-list",
|
45
|
-
tabBasePattern: Routes.MeetingList.tabPattern,
|
46
|
-
component: React.createElement(MeetingRoutes, null),
|
47
|
-
});
|
48
29
|
},
|
49
30
|
};
|
50
31
|
export default Routes;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MeetingRoutes.js","sourceRoot":"","sources":["../../../src/modules/meeting/MeetingRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"MeetingRoutes.js","sourceRoot":"","sources":["../../../src/modules/meeting/MeetingRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,EAC/B,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,YAAY,CAAC,SAAS,GACvC,CACM,CACT,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACd,WAAW,EAAE;QACZ,MAAM,EAAE,aAAa;KACrB;IACD,OAAO,EAAE;QACR,MAAM,EAAE,aAAa;KACrB;IACD,YAAY,EAAE;QACb,KAAK,EAAE,oBAAoB;QAC3B,UAAU,EAAE,MAAM,CAAC,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,kBAAkB,EAAE,EAAE;QAC9C,SAAS,EAAE,gBAAgB;KAC3B;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,eAAe;YACrB,cAAc,EAAE,MAAM,CAAC,YAAY,CAAC,UAAU;YAC9C,SAAS,EAAE,oBAAC,aAAa,OAAG;SAC5B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -15,8 +15,10 @@ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
15
15
|
import moment from "moment";
|
16
16
|
import { observe } from "@voplus/morpho-ui";
|
17
17
|
import { useApplicationContext } from "@voplus/morpho-data";
|
18
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
18
19
|
const MeetingHeader = (props) => {
|
19
20
|
const { id, onReLoad, onExpand } = props;
|
21
|
+
const meta = useMetaStore();
|
20
22
|
const meetingStore = useMeetingStore();
|
21
23
|
const meeting = useMeeting(id, { reload: true, includes: "tags,task-number-reports" });
|
22
24
|
const [editable, setEditable] = useState(false);
|
@@ -29,7 +31,7 @@ const MeetingHeader = (props) => {
|
|
29
31
|
React.createElement(CommentDataIcon, { id: id }),
|
30
32
|
React.createElement(MeetingTasksProgressDataIcon, { id: id })), tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
|
31
33
|
React.createElement(Reload, { action: onReLoad }),
|
32
|
-
onExpand ? React.createElement(Sidebar, { action: onExpand }) : React.createElement(Open, { url:
|
34
|
+
onExpand ? React.createElement(Sidebar, { action: onExpand }) : React.createElement(Open, { url: meta.getRoute(meeting) }),
|
33
35
|
React.createElement(Archive, null),
|
34
36
|
React.createElement(Print, { url: `meeting/print/${id}` })) }),
|
35
37
|
editable && !meeting.readonly ? (React.createElement("div", { style: { padding: "5px 0" } },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACN,eAAe,EACf,gBAAgB,GAEhB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,OAAO,EACP,cAAc,EACd,WAAW,EACX,aAAa,GACb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,GACP,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACN,eAAe,EACf,gBAAgB,GAEhB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE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} from "@voplus/morpho-data";
|
20
20
|
import { useMeeting } from "../../../../data/meeting";
|
21
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
21
22
|
const MeetingItem = (props) => {
|
22
23
|
const { id, isList, reload } = props;
|
24
|
+
const meta = useMetaStore();
|
23
25
|
const { user } = useApplicationContext();
|
24
26
|
const [state] = useState(new State());
|
25
27
|
const meeting = useMeeting(id, { reload: !!reload, includes: "tags,task-number-reports" });
|
@@ -57,7 +59,7 @@ const MeetingItem = (props) => {
|
|
57
59
|
show: state.hover,
|
58
60
|
}) },
|
59
61
|
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
60
|
-
React.createElement(Open, { size: "middle", url:
|
62
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(meeting) }),
|
61
63
|
React.createElement(Archive, { size: "middle" }))))) }));
|
62
64
|
});
|
63
65
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAQ,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EACN,eAAe,EACf,gBAAgB,GAEhB,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAExF,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO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,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
@@ -7,13 +7,15 @@ import MeetingList from "../MeetingList";
|
|
7
7
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
8
8
|
import { observe } from "@voplus/morpho-ui";
|
9
9
|
import { useDocument } from "@voplus/morpho-document-core";
|
10
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
10
11
|
const MeetingsFolderPropertiesView = (props) => {
|
11
12
|
const { id } = props;
|
13
|
+
const meta = useMetaStore();
|
12
14
|
const document = useDocument(id);
|
13
15
|
const [reload, setReload] = useState(true);
|
14
16
|
return observe(() => (React.createElement("div", { className: "module-detail-view" }, reload && (React.createElement(React.Fragment, null,
|
15
17
|
React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
|
16
|
-
React.createElement(Open, { url:
|
18
|
+
React.createElement(Open, { url: meta.getRoute(document) }),
|
17
19
|
React.createElement(Reload, { action: onReload }),
|
18
20
|
React.createElement(Archive, null)) }),
|
19
21
|
React.createElement(DocumentTabs, { id: id, exclude: ["Meeting"], detailTitle: "Meetings", details: React.createElement("div", { className: "meetings-folder-properties-view" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderProperitesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,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ACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,KAAK,EACJ,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;gBAC/C,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAI;gBACtC,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;gBAC5B,oBAAC,OAAO,OAAG,CACF,GAEV;QACF,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,OAAO,EAAE,CAAC,SAAS,CAAC,EACpB,WAAW,EAAC,UAAU,EACtB,OAAO,EACN,6BAAK,SAAS,EAAC,iCAAiC;gBAC/C,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,cAAc,QAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAI,CACpE,GAEN,CACc,CACjB,CACI,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
@@ -9,11 +9,13 @@ import { Skeleton } from "@voplus/antd";
|
|
9
9
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
10
10
|
import { observe } from "@voplus/morpho-ui";
|
11
11
|
import { useDocument } from "@voplus/morpho-document-core";
|
12
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
12
13
|
const MeetingsFolderQuickViewDialog = (props) => {
|
14
|
+
const meta = useMetaStore();
|
13
15
|
const document = useDocument(props.id);
|
14
16
|
const [reload, setReload] = useState(true);
|
15
17
|
return observe(() => (React.createElement(QuickViewDialog, { id: props.id, exclude: ["Meeting"], visible: props.visible, onCancel: props.onCancel, className: "meetings-folder-quick-view", header: React.createElement(React.Fragment, null, reload && (React.createElement(DocumentHeader, { id: props.id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement(ToolBar, { id: props.id },
|
16
|
-
React.createElement(Open, { url:
|
18
|
+
React.createElement(Open, { url: meta.getRoute(document) }),
|
17
19
|
React.createElement(Reload, { action: onReload }),
|
18
20
|
React.createElement(Archive, null)) }))) }, reload && (React.createElement(React.Fragment, null,
|
19
21
|
document.loading ? (React.createElement("div", { style: { padding: "10px 20px" } },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/MeetingsFolderQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EA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G,EAAE,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAI;gBACtC,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;gBAC5B,oBAAC,OAAO,OAAG,CACF,GAEV,CACF,CACe,IAGjB,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;QACb,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CACnB,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;YACnC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,WAAW,EAAE,QAAQ,CAAC,WAAW,EACjC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAC3B,OAAO,EAAC,KAAK,GACZ,CACF;QACD,oBAAC,WAAW,IACX,QAAQ,EAAE,KAAK,CAAC,EAAE;YAClB,mBAAmB;YACnB,cAAc,QACd,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAC1B,CACc,CACjB,CACgB,CAClB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
|
3
|
-
|
2
|
+
/** The Meeting Page component with router parameters support. */
|
3
|
+
declare const MeetingListView: ({ id }: {
|
4
|
+
id: string;
|
4
5
|
}) => JSX.Element;
|
5
6
|
export default MeetingListView;
|
@@ -1,12 +1,10 @@
|
|
1
|
-
import React
|
2
|
-
import { __RouterContext } from "react-router";
|
1
|
+
import React from "react";
|
3
2
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
4
3
|
import MeetingList from "../../components/MeetingList";
|
5
4
|
import { useDocument } from "@voplus/morpho-document-core";
|
6
5
|
import { useTabItem } from "@voplus/morpho-data";
|
7
|
-
|
8
|
-
|
9
|
-
const id = props.parentId || match.params.id;
|
6
|
+
/** The Meeting Page component with router parameters support. */
|
7
|
+
const MeetingListView = ({ id }) => {
|
10
8
|
const tab = useTabItem();
|
11
9
|
const document = useDocument(id);
|
12
10
|
useAutorunEffect(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,iEAAiE;AACjE,MAAM,eAAe,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IAElD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,gBAAgB,CAAC,GAAG,EAAE;;QACrB,GAAG,CAAC,KAAK,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,UAAU,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,WAAW,SAAG,CAAC,CAAC;AACjE,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import React, {
|
2
|
-
import { __RouterContext } from "react-router";
|
1
|
+
import React, { useEffect, useState } from "react";
|
3
2
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
4
3
|
import AgendaList from "../../components/AgendaList";
|
5
4
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
@@ -11,9 +10,8 @@ import { runInAction } from "mobx";
|
|
11
10
|
import styles from "./index.less";
|
12
11
|
import { useMeeting } from "../../../../data/meeting";
|
13
12
|
import { useTabItem } from "@voplus/morpho-data";
|
14
|
-
|
15
|
-
|
16
|
-
const id = match.params.id;
|
13
|
+
/** The Meeting Page component with router parameters support. */
|
14
|
+
const MeetingTabView = ({ id }) => {
|
17
15
|
const [loaded, setLoaded] = useState(true);
|
18
16
|
const meeting = useMeeting(id, { includes: "tags,task-number-reports" });
|
19
17
|
const tab = useTabItem();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/pages/MeetingTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,UAAU,MAAM,6BAA6B,CAAC;AACrD,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,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d,oBAAC,aAAa,IACb,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CACd,WAAW,CAAC,GAAG,EAAE,CAChB,YAAY,CAAC,YAAY;wBACxB,CAAC,CAAC,YAAY,CAAC,UAAU,EAAE;wBAC3B,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACrD,GAED;gBACD,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAClB,6BAAK,SAAS,EAAC,qBAAqB;oBACnC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAC1B,OAAO,EAAC,eAAe,GACtB,CACF;gBAED,oBAAC,UAAU,IAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE,GAAI,CACxC,CACjB,CACI,CACQ,CACV,CACN,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
2
3
|
declare const Routes: {
|
3
4
|
TaskList: {
|
4
5
|
route: string;
|
@@ -9,10 +10,7 @@ declare const Routes: {
|
|
9
10
|
}) => JSX.Element;
|
10
11
|
};
|
11
12
|
Task: {
|
12
|
-
|
13
|
-
tabPattern: RegExp;
|
14
|
-
getUrl: (id: string) => string;
|
15
|
-
component: () => JSX.Element;
|
13
|
+
getUrl: typeof DocumentRoute;
|
16
14
|
};
|
17
15
|
addRoutes: () => void;
|
18
16
|
};
|
@@ -1,12 +1,11 @@
|
|
1
1
|
import { Route, Switch } from "react-router";
|
2
2
|
import { BaseRoutes } from "@voplus/morpho-data";
|
3
|
+
import { DocumentRoute } from "@voplus/morpho-document/es/routes";
|
3
4
|
import React from "react";
|
4
5
|
import TaskList from "./pages/TaskList";
|
5
|
-
import TaskTabView from "./pages/TaskTabView";
|
6
6
|
const TaskRoutes = () => {
|
7
7
|
return (React.createElement(Switch, null,
|
8
|
-
React.createElement(Route, { path: Routes.TaskList.route, exact: true, component: Routes.TaskList.component })
|
9
|
-
React.createElement(Route, { path: Routes.Task.route, exact: true, component: Routes.Task.component })));
|
8
|
+
React.createElement(Route, { path: Routes.TaskList.route, exact: true, component: Routes.TaskList.component })));
|
10
9
|
};
|
11
10
|
const Routes = {
|
12
11
|
TaskList: {
|
@@ -16,17 +15,9 @@ const Routes = {
|
|
16
15
|
component: TaskList,
|
17
16
|
},
|
18
17
|
Task: {
|
19
|
-
|
20
|
-
tabPattern: RegExp("/tasks/[^/]+"),
|
21
|
-
getUrl: (id) => `/tasks/${id}`,
|
22
|
-
component: TaskTabView,
|
18
|
+
getUrl: DocumentRoute,
|
23
19
|
},
|
24
20
|
addRoutes: () => {
|
25
|
-
BaseRoutes.routes.push({
|
26
|
-
name: "task",
|
27
|
-
tabBasePattern: Routes.Task.tabPattern,
|
28
|
-
component: React.createElement(TaskRoutes, null),
|
29
|
-
});
|
30
21
|
BaseRoutes.routes.push({
|
31
22
|
name: "task-list",
|
32
23
|
tabBasePattern: Routes.TaskList.tabPattern,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TasksRoutes.js","sourceRoot":"","sources":["../../../src/modules/tasks/TasksRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,
|
1
|
+
{"version":3,"file":"TasksRoutes.js","sourceRoot":"","sources":["../../../src/modules/tasks/TasksRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,MAAM,UAAU,GAAG,GAAG,EAAE;IACvB,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IAAC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,SAAS,GAAI,CACjF,CACT,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACd,QAAQ,EAAE;QACT,KAAK,EAAE,QAAQ;QACf,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC;QAC5B,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ;QACtB,SAAS,EAAE,QAAQ;KACnB;IACD,IAAI,EAAE;QACL,MAAM,EAAE,aAAa;KACrB;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,WAAW;YACjB,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,UAAU;YAC1C,SAAS,EAAE,oBAAC,UAAU,OAAG;SACzB,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -19,8 +19,10 @@ import classnames from "classnames";
|
|
19
19
|
import { observe } from "@voplus/morpho-ui";
|
20
20
|
import { runInAction } from "mobx";
|
21
21
|
import { useApplicationContext } from "@voplus/morpho-data";
|
22
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
22
23
|
const SubTaskItem = (props) => {
|
23
24
|
const { id, multiple, reload, connectDragSource, memberAlign } = props;
|
25
|
+
const meta = useMetaStore();
|
24
26
|
const { user } = useApplicationContext();
|
25
27
|
const taskStore = useTaskStore();
|
26
28
|
const [state] = useState(new State(id, taskStore));
|
@@ -53,7 +55,7 @@ const SubTaskItem = (props) => {
|
|
53
55
|
show: state.isHover,
|
54
56
|
}) },
|
55
57
|
React.createElement(ToolBar, { id: id, moreProps: { buttonProps: { size: "middle" } } },
|
56
|
-
React.createElement(Open, { size: "middle", url:
|
58
|
+
React.createElement(Open, { size: "middle", url: meta.getRoute(state.task) }),
|
57
59
|
React.createElement(Edit, { size: "middle", disabled: state.task.readonly, action: () => state.startEdit() }),
|
58
60
|
React.createElement(Archive, { size: "middle" })))) })));
|
59
61
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SubTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/SubTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,KAAK,EAAiB,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAA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AAM,GAAI,CAChB,CACJ,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,eAAe,IACf,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,EAC7B,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAC9B,QAAQ,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,EAClD,SAAS,EAAE,UAAU,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,GAClE,CACF;YACD,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;oBAC3C,IAAI,EAAE,KAAK,CAAC,OAAO;iBACnB,CAAC;gBAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;oBAC9D,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,GAAI;oBACtD,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,GAAI;oBACtF,oBAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,CAChB,CACL,CACU,GAEjB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
@@ -17,8 +17,10 @@ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
17
17
|
import { autorun } from "mobx";
|
18
18
|
import { observe } from "@voplus/morpho-ui";
|
19
19
|
import { useApplicationContext } from "@voplus/morpho-data";
|
20
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
20
21
|
const TaskPropertiesView = (props) => {
|
21
22
|
const id = props.id;
|
23
|
+
const meta = useMetaStore();
|
22
24
|
const { user } = useApplicationContext();
|
23
25
|
const task = useTask(id, { reload: false, includes: "tags" });
|
24
26
|
const taskStore = useTaskStore();
|
@@ -48,7 +50,7 @@ const TaskPropertiesView = (props) => {
|
|
48
50
|
React.createElement("div", null,
|
49
51
|
React.createElement(ToolBar, { id: id, moreProps: { closeAside: true } },
|
50
52
|
React.createElement(Reload, { action: onReload }),
|
51
|
-
React.createElement(Open, { url:
|
53
|
+
React.createElement(Open, { url: meta.getRoute(task) }),
|
52
54
|
React.createElement(Archive, null))),
|
53
55
|
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-10" })), descriptionVisible: false }),
|
54
56
|
React.createElement(DocumentTabs, { id: id, exclude: ["Task"], details: React.createElement("div", { className: "task-properties-view" },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAo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B,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -15,8 +15,10 @@ import { message } from "@voplus/antd";
|
|
15
15
|
import { observe } from "@voplus/morpho-ui";
|
16
16
|
import styles from "./index.less";
|
17
17
|
import { useApplicationContext } from "@voplus/morpho-data";
|
18
|
+
import { useMetaStore } from "@voplus/morpho-document";
|
18
19
|
const TaskQuickViewDialog = (props) => {
|
19
20
|
const { id } = props;
|
21
|
+
const meta = useMetaStore();
|
20
22
|
const { user } = useApplicationContext();
|
21
23
|
const task = useTask(id, { reload: false, includes: "tags" });
|
22
24
|
const [taskStatus, setTaskStatus] = useState(task.taskStatus);
|
@@ -48,7 +50,7 @@ const TaskQuickViewDialog = (props) => {
|
|
48
50
|
React.createElement("div", { className: "tools-bar" },
|
49
51
|
React.createElement(ToolBar, { id: id },
|
50
52
|
React.createElement(Reload, { action: onReload }),
|
51
|
-
React.createElement(Open, { url:
|
53
|
+
React.createElement(Open, { url: meta.getRoute(task) }),
|
52
54
|
React.createElement(Archive, null)),
|
53
55
|
React.createElement(TaskStatusLabel, { status: taskStatus, editable: !task.readonly, onChange: (TaskStatus) => onEdit(TaskStatus), className: "margin-top-5" })))) }, loaded && React.createElement(TaskDescription, { id: props.id }))));
|
54
56
|
/** reload data */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AACxE,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AAC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CACU,IAGjB,MAAM,IAAI,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAC3B,CAClB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,2BAA2B;IAC3B,KAAK,UAAU,MAAM,CAAC,UAAe;QACpC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE;YACxB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAC7B,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAChC,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Archive, Reload, Sidebar } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
2
|
-
import { Breadcrumb, Skeleton, message } from "@voplus/antd";
|
3
2
|
import { CommentDataIcon, DocumentDataIcon, UserQuickIcon, } from "@voplus/morpho-document/es/controls/data-icons";
|
4
3
|
import React, { useEffect, useState } from "react";
|
4
|
+
import { Skeleton, message } from "@voplus/antd";
|
5
5
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
6
|
-
import { useApplicationContext,
|
6
|
+
import { useApplicationContext, useTabItem } from "@voplus/morpho-data";
|
7
7
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
8
8
|
import AvatarList from "@voplus/morpho-document/es/components/AvatarList";
|
9
9
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
@@ -17,22 +17,18 @@ import TaskEstimatedTime from "../../components/TaskEstimatedTime";
|
|
17
17
|
import TaskStatusLabel from "../../controls/TaskStatusLabel";
|
18
18
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
19
19
|
import { autorun } from "mobx";
|
20
|
-
import classnames from "classnames";
|
21
20
|
import { runInAction } from "mobx";
|
22
21
|
import styles from "./index.less";
|
23
|
-
import { useRouteMatch } from "react-router";
|
24
22
|
import { useTask } from "../../../../data/task/hooks";
|
25
23
|
import { useTaskStore } from "../../../../data/task";
|
26
|
-
|
24
|
+
/** The Task Page component with router parameters support. */
|
25
|
+
const TaskTabView = ({ id }) => {
|
27
26
|
const [asideContext] = useState(AsideContent.createContext());
|
28
|
-
const match = useRouteMatch();
|
29
|
-
const id = match.params.id;
|
30
27
|
const { user } = useApplicationContext();
|
31
28
|
const [loaded, setLoaded] = useState(true);
|
32
29
|
const task = useTask(id, { reload: true, includes: "path,tags,links" });
|
33
30
|
const [taskStatus, setTaskStatus] = useState(task.taskStatus);
|
34
31
|
const taskStore = useTaskStore();
|
35
|
-
const layout = useLayout();
|
36
32
|
const tab = useTabItem();
|
37
33
|
useEffect(() => {
|
38
34
|
runInAction(() => asideContext.openAside(AsideElement, { span: 12 }));
|
@@ -43,20 +39,7 @@ const TaskTabView = () => {
|
|
43
39
|
});
|
44
40
|
const AsideElement = (React.createElement("div", { className: "module-tab-view_aside" },
|
45
41
|
React.createElement(DocumentTabs, { id: id, exclude: ["Task"] })));
|
46
|
-
const subStrName = (name) => {
|
47
|
-
return task.path && task.path.length > 4 && name.length > 30
|
48
|
-
? name.substr(0, 20) + "..."
|
49
|
-
: name;
|
50
|
-
};
|
51
|
-
const toPath = (id) => {
|
52
|
-
runInAction(() => layout.history.push(`/tasks/${id}`));
|
53
|
-
};
|
54
42
|
return observe(() => (React.createElement("div", { className: "module-tab-view" },
|
55
|
-
task.loaded && !!(task.path && task.path.length) && (React.createElement("div", { className: styles["breadcrumb-container"] },
|
56
|
-
React.createElement(Breadcrumb, { separator: ">" }, [...task.path, { id: id, name: task.name }].map((item) => (React.createElement(Breadcrumb.Item, { key: item.id, onClick: () => toPath(item.id) },
|
57
|
-
React.createElement("span", { title: item.name, className: classnames("breadcrumb-name", {
|
58
|
-
"breadcrumb-active": item.id === id,
|
59
|
-
}) }, subStrName(item.name)))))))),
|
60
43
|
React.createElement(AsideContent, { context: asideContext },
|
61
44
|
React.createElement("div", { className: styles["task-tab-view"] }, loaded && (React.createElement(React.Fragment, null,
|
62
45
|
React.createElement(DocumentHeader, { id: id, size: "h3", preVisible: false, quickVisible: false, quickDataBarAlign: "left", className: "task-tab-header", clickNameEffect: "edit", autoSaveName: true, quickDataBar: React.createElement(React.Fragment, null,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/pages/TaskTabView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,UAAU,M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