@voplus/morpho-workspace 6.0.127 → 6.0.128
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,2 @@
|
|
1
|
-
|
2
|
-
declare const RouteList: {
|
3
|
-
Members: {
|
4
|
-
route: string;
|
5
|
-
tabPattern: RegExp;
|
6
|
-
getUrl: () => string;
|
7
|
-
component: React.JSX.Element;
|
8
|
-
};
|
9
|
-
addRoutes: () => void;
|
10
|
-
};
|
1
|
+
declare const RouteList: {};
|
11
2
|
export default RouteList;
|
@@ -1,27 +1,25 @@
|
|
1
1
|
import React, { Suspense, lazy } from "react";
|
2
|
-
import {
|
3
|
-
import { BaseRoutes } from "@voplus/morpho-data";
|
2
|
+
import { Routes } from "react-router-dom";
|
4
3
|
import { Skeleton } from "antd";
|
5
4
|
const MemberListView = lazy(() => import("./MemberListView"));
|
6
5
|
const MemberRoutes = () => {
|
7
6
|
return (React.createElement(Suspense, { fallback: React.createElement(Skeleton, null) },
|
8
|
-
React.createElement(Routes, null
|
9
|
-
React.createElement(Route, { path: RouteList.Members.route, element: RouteList.Members.component }))));
|
7
|
+
React.createElement(Routes, null)));
|
10
8
|
};
|
11
9
|
const RouteList = {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
10
|
+
// Members: {
|
11
|
+
// route: "/members",
|
12
|
+
// tabPattern: RegExp("/members"),
|
13
|
+
// getUrl: () => `/members`,
|
14
|
+
// component: <MemberListView />,
|
15
|
+
// },
|
16
|
+
// addRoutes: () => {
|
17
|
+
// BaseRoutes.routes.push({
|
18
|
+
// name: "members",
|
19
|
+
// tabBasePattern: RouteList.Members.tabPattern,
|
20
|
+
// component: <MemberRoutes />,
|
21
|
+
// });
|
22
|
+
// },
|
25
23
|
};
|
26
24
|
export default RouteList;
|
27
25
|
//# sourceMappingURL=MemberRoutes.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MemberRoutes.js","sourceRoot":"","sources":["../../../../src/obsolete/member/pages/MemberRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,
|
1
|
+
{"version":3,"file":"MemberRoutes.js","sourceRoot":"","sources":["../../../../src/obsolete/member/pages/MemberRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAS,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEhC,MAAM,cAAc,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAE9D,MAAM,YAAY,GAAG,GAAG,EAAE;IACzB,OAAO,CACN,oBAAC,QAAQ,IAAC,QAAQ,EAAE,oBAAC,QAAQ,OAAG;QAC/B,oBAAC,MAAM,OAEE,CACC,CACX,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG;AACjB,aAAa;AACb,sBAAsB;AACtB,mCAAmC;AACnC,6BAA6B;AAC7B,kCAAkC;AAClC,KAAK;AACL,qBAAqB;AACrB,4BAA4B;AAC5B,qBAAqB;AACrB,kDAAkD;AAClD,iCAAiC;AACjC,OAAO;AACP,KAAK;CACL,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/es/routes.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import BoardRoutes from "./modules/board/BoardRouets";
|
2
2
|
import CalendarRoutes from "./modules/calendar/CalendarRoutes";
|
3
3
|
import MeetingRoutes from "./modules/meeting/MeetingRoutes";
|
4
|
-
import MemberRoutes from "./obsolete/member/pages/MemberRoutes";
|
5
4
|
import MenusRoutes from "./modules/menus/pages/MenusRoutes";
|
6
5
|
import PageRoutes from "./modules/Routes";
|
7
6
|
import TaskRoutes from "./modules/tasks/TasksRoutes";
|
@@ -13,7 +12,7 @@ const Routes = {
|
|
13
12
|
CalendarRoutes.addRoutes();
|
14
13
|
PageRoutes.addRoutes();
|
15
14
|
MenusRoutes.addRoutes();
|
16
|
-
MemberRoutes.addRoutes();
|
15
|
+
// MemberRoutes.addRoutes();
|
17
16
|
},
|
18
17
|
};
|
19
18
|
export default Routes;
|
package/es/routes.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,6BAA6B,CAAC;AACtD,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAC/D,OAAO,aAAa,MAAM,iCAAiC,CAAC;
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,6BAA6B,CAAC;AACtD,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAC/D,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAE5D,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAErD,MAAM,MAAM,GAAG;IACd,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,SAAS,EAAE,CAAC;QACvB,aAAa,CAAC,SAAS,EAAE,CAAC;QAC1B,WAAW,CAAC,SAAS,EAAE,CAAC;QACxB,cAAc,CAAC,SAAS,EAAE,CAAC;QAC3B,UAAU,CAAC,SAAS,EAAE,CAAC;QACvB,WAAW,CAAC,SAAS,EAAE,CAAC;QACxB,4BAA4B;IAC7B,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
|