@voplus/morpho-csp 6.0.151 → 6.0.152
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/data/corporate/CompanyPageContext.js.map +1 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateHead/index.js +1 -2
- package/es/modules/corporate/company/components/CorporateHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateItem/index.js +1 -2
- package/es/modules/corporate/company/components/CorporateItem/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +0 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +0 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +2 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
- package/es/routes.d.ts +0 -18
- package/es/routes.js +0 -39
- package/es/routes.js.map +1 -1
- package/es/style/common.less +55 -0
- package/package.json +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/CompanyPageContext.js.map +0 -1
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.d.ts +0 -7
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js +0 -25
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js.map +0 -1
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.d.ts +0 -9
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js +0 -42
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js.map +0 -1
- package/es/modules/corporate/company/pages/CompanyPage/index.d.ts +0 -6
- package/es/modules/corporate/company/pages/CompanyPage/index.js +0 -69
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +0 -1
- package/es/modules/corporate/company/pages/CompanyPage/index.less +0 -65
- package/es/modules/corporate/company/pages/CompanyPage/state.d.ts +0 -10
- package/es/modules/corporate/company/pages/CompanyPage/state.js +0 -55
- package/es/modules/corporate/company/pages/CompanyPage/state.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/AnnualFilingsPage.d.ts +0 -5
- package/es/modules/corporate/company/pages/CorporateClientView/AnnualFilingsPage.js +0 -13
- package/es/modules/corporate/company/pages/CorporateClientView/AnnualFilingsPage.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/Dashboard.d.ts +0 -9
- package/es/modules/corporate/company/pages/CorporateClientView/Dashboard.js +0 -46
- package/es/modules/corporate/company/pages/CorporateClientView/Dashboard.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/DisclaimerDialog.d.ts +0 -9
- package/es/modules/corporate/company/pages/CorporateClientView/DisclaimerDialog.js +0 -30
- package/es/modules/corporate/company/pages/CorporateClientView/DisclaimerDialog.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/WorkScheduleListPage.d.ts +0 -5
- package/es/modules/corporate/company/pages/CorporateClientView/WorkScheduleListPage.js +0 -13
- package/es/modules/corporate/company/pages/CorporateClientView/WorkScheduleListPage.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/index.d.ts +0 -4
- package/es/modules/corporate/company/pages/CorporateClientView/index.js +0 -105
- package/es/modules/corporate/company/pages/CorporateClientView/index.js.map +0 -1
- package/es/modules/corporate/company/pages/CorporateClientView/index.less +0 -92
- package/es/modules/corporate/company/pages/CorporateClientView/state.d.ts +0 -10
- package/es/modules/corporate/company/pages/CorporateClientView/state.js +0 -55
- package/es/modules/corporate/company/pages/CorporateClientView/state.js.map +0 -1
- package/es/modules/corporate/company/pages/RegisteresPage/index.d.ts +0 -11
- package/es/modules/corporate/company/pages/RegisteresPage/index.js +0 -113
- package/es/modules/corporate/company/pages/RegisteresPage/index.js.map +0 -1
- package/es/modules/corporate/company/pages/RegisteresPage/index.less +0 -94
- package/es/modules/corporate/pages/CorporatePage/index.d.ts +0 -3
- package/es/modules/corporate/pages/CorporatePage/index.js +0 -23
- package/es/modules/corporate/pages/CorporatePage/index.js.map +0 -1
- package/es/modules/corporate/pages/CreateCorporatePage/index.d.ts +0 -3
- package/es/modules/corporate/pages/CreateCorporatePage/index.js +0 -57
- package/es/modules/corporate/pages/CreateCorporatePage/index.js.map +0 -1
- package/es/modules/corporate/pages/CreateCorporatePage/index.less +0 -11
- /package/es/{modules/corporate/company/pages/CompanyPage → data/corporate}/CompanyPageContext.d.ts +0 -0
- /package/es/{modules/corporate/company/pages/CompanyPage → data/corporate}/CompanyPageContext.js +0 -0
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React, { useRef } from "react";
|
|
2
|
-
import { Col, Row } from "antd";
|
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import { useUnit } from "@voplus/morpho-org/es/data";
|
|
5
|
-
import ActivityLogCard from "@voplus/morpho-org/es/components/ActivityLogCard";
|
|
6
|
-
import CompanyPageHead from "../../components/CompanyPageHead";
|
|
7
|
-
import CompanyProperties from "../../components/CompanyProperties/CompanyPropertiesCard";
|
|
8
|
-
import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
|
|
9
|
-
import MemberTableListCard from "../../member-register/components/MemberTableListCard";
|
|
10
|
-
import ContactPropertiesCard from "@voplus/morpho-org/es/components/ContactProperties/ContactPropertiesCard";
|
|
11
|
-
import OfficerTableListCard from "../../officer-register/components/OfficerTableListCard";
|
|
12
|
-
import FilingTimeLineCard from "../../../filing-record/components/FilingTimeLineCard";
|
|
13
|
-
import OrgContactListCard from "@voplus/morpho-org/es/modules/orgContact/components/OrgContactListCard";
|
|
14
|
-
import CompanyAlert from "../../components/CompanyAlert";
|
|
15
|
-
import SharesCapitalCard from "../../components/SharesCapitalCard";
|
|
16
|
-
import styles from "./index.less";
|
|
17
|
-
const Dashboard = (props) => {
|
|
18
|
-
const { corporate, membersRegisterId, officersRegisterId } = props;
|
|
19
|
-
const ref = useRef(null);
|
|
20
|
-
const unit = useUnit(props.unitId);
|
|
21
|
-
return observe(() => {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
return (React.createElement("div", { className: styles["dashboard-content"], ref: ref },
|
|
24
|
-
React.createElement(CompanyAlert, { corporate: corporate }),
|
|
25
|
-
React.createElement(CompanyPageHead, { id: corporate.id, unitId: props.unitId, membersRegisterId: membersRegisterId, officersRegisterId: officersRegisterId }),
|
|
26
|
-
React.createElement(RelatedDocument, { className: "dashboard-related-document" },
|
|
27
|
-
React.createElement(Row, { gutter: [16, 0] },
|
|
28
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: 6 },
|
|
29
|
-
React.createElement(CompanyProperties, { id: corporate.id }),
|
|
30
|
-
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId }),
|
|
31
|
-
unit.type === "Organization" && React.createElement(OrgContactListCard, { parentId: props.unitId })),
|
|
32
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: 12 },
|
|
33
|
-
React.createElement(SharesCapitalCard, { corporateId: corporate.id, unitId: props.unitId }),
|
|
34
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
35
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", active: true, membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
36
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: 6 },
|
|
37
|
-
((_a = corporate.latestFilingYear) === null || _a === void 0 ? void 0 : _a.id) && (React.createElement(FilingTimeLineCard, { filingYearId: (_b = corporate.latestFilingYear) === null || _b === void 0 ? void 0 : _b.id })),
|
|
38
|
-
React.createElement(ActivityLogCard, { id: corporate.id }))))));
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
export default Dashboard;
|
|
42
|
-
//# sourceMappingURL=Dashboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,OAAO,eAAe,MAAM,kDAAkD,CAAC;AAC/E,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,mBAAmB,MAAM,sDAAsD,CAAC;AACvF,OAAO,qBAAqB,MAAM,0EAA0E,CAAC;AAC7G,OAAO,oBAAoB,MAAM,wDAAwD,CAAC;AAC1F,OAAO,kBAAkB,MAAM,sDAAsD,CAAC;AACtF,OAAO,kBAAkB,MAAM,wEAAwE,CAAC;AACxG,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,iBAAiB,MAAM,oCAAoC,CAAC;AACnE,OAAO,MAA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,EAAE,EAAE,EAAE,EAAE;wBAC1C,oBAAC,iBAAiB,IAAC,WAAW,EAAE,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,GAAI;wBACrE,kBAAkB,IAAI,CACtB,oBAAC,oBAAoB,IACpB,IAAI,EAAC,MAAM,EACX,eAAe,QACf,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,EAAE,SAAS,CAAC,EAAE,GACxB,CACF;wBACA,iBAAiB,IAAI,CACrB,oBAAC,mBAAmB,IACnB,IAAI,EAAC,MAAM,EACX,MAAM,QACN,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,SAAS,CAAC,EAAE,GACxB,CACF,CACI;oBACN,oBAAC,GAAG,IAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;wBACxC,CAAA,MAAA,SAAS,CAAC,gBAAgB,0CAAE,EAAE,KAAI,CAClC,oBAAC,kBAAkB,IAAC,YAAY,EAAE,MAAA,SAAS,CAAC,gBAAgB,0CAAE,EAAE,GAAI,CACpE;wBACD,oBAAC,eAAe,IAAC,EAAE,EAAE,SAAS,CAAC,EAAE,GAAI,CAChC,CACD,CACW,CACb,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
2
|
-
import { Navigate, Route, Routes, useParams, useResolvedPath } from "react-router-dom";
|
|
3
|
-
import { State } from "./state";
|
|
4
|
-
import { Skeleton } from "antd";
|
|
5
|
-
import { observe, useAutorunEffect, NavPanel } from "@voplus/morpho-ui";
|
|
6
|
-
import { useCorporate } from "../../../../../data/corporate";
|
|
7
|
-
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
|
8
|
-
import { CurrentContactContext } from "@voplus/morpho-document-core/es/data/context/CurrentContactContext";
|
|
9
|
-
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
|
|
10
|
-
import Dashboard from "./Dashboard";
|
|
11
|
-
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
|
12
|
-
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
13
|
-
import ShareClassListPage from "../../../share-class/pages/ShareClassListPage";
|
|
14
|
-
import VirtualAddressList from "../../../virtual-address/components/VirtualAddressList";
|
|
15
|
-
import AnnualFilings from "../../../filing-record/components/AnnualFilings";
|
|
16
|
-
import NotificationList from "@voplus/morpho-workspace/es/modules/notification/components/AllNewNotificationList";
|
|
17
|
-
import CorporateNavMenu from "../../../../../components/CorporateNavMenu/CorporateNavMenu";
|
|
18
|
-
import ShareTransactionTableList from "../../share-transactions-register/components/ShareTransactionTableList";
|
|
19
|
-
import FilingYearListCard from "../../../filing-record/filing-year/components/FilingYearListCard";
|
|
20
|
-
import RegisteresPage from "../RegisteresPage";
|
|
21
|
-
import Scrollbars from "react-custom-scrollbars-2";
|
|
22
|
-
import CompanySetting from "./CompanySetting";
|
|
23
|
-
import "./index.less";
|
|
24
|
-
const CompanyPage = (props) => {
|
|
25
|
-
const [state] = useState(new State());
|
|
26
|
-
const corporate = useCorporate(props.id, {
|
|
27
|
-
reload: true,
|
|
28
|
-
includes: "registers,filing-years,center,permissions,totals,notification-layout,tags",
|
|
29
|
-
});
|
|
30
|
-
const params = useParams();
|
|
31
|
-
const url = useResolvedPath("").pathname;
|
|
32
|
-
const layout = useLayout();
|
|
33
|
-
const tab = useTabItem();
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
state.update(corporate);
|
|
36
|
-
}, [props.id]);
|
|
37
|
-
useAutorunEffect(() => {
|
|
38
|
-
tab.title = `Corporate - ${corporate.name}` || "Corporate";
|
|
39
|
-
});
|
|
40
|
-
return observe(() => {
|
|
41
|
-
var _a;
|
|
42
|
-
return (React.createElement(CurrentContactContext.Provider, { value: { contact: corporate.unit } },
|
|
43
|
-
React.createElement(Skeleton, { loading: !corporate.loaded },
|
|
44
|
-
React.createElement(MainContent, { className: "company-page" },
|
|
45
|
-
React.createElement(MainContent.Nav, { collapsible: true },
|
|
46
|
-
React.createElement(NavPanel, null,
|
|
47
|
-
React.createElement(Scrollbars, { autoHide: true },
|
|
48
|
-
React.createElement(CorporateNavMenu, { id: corporate.id, url: url, totals: corporate.totals, defaultSelectedKeys: ["/dashboard"], showShareClass: ((_a = state.corporate) === null || _a === void 0 ? void 0 : _a.liabilityType) === "LimitedByShares" })))),
|
|
49
|
-
React.createElement("div", { className: "company-page-content" },
|
|
50
|
-
React.createElement(Routes, null,
|
|
51
|
-
React.createElement(Route, { path: "dashboard", element: React.createElement(Dashboard, { corporate: corporate, unitId: params.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId }) }),
|
|
52
|
-
React.createElement(Route, { path: "shareTransactionsRegister", element: state.shareTransactionId ? (React.createElement(ShareTransactionTableList, { shareTransactionId: state.shareTransactionId, corporateId: corporate.id, memberId: state.MemberId, pageHeader: true, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
53
|
-
React.createElement(Route, { path: `registeres/:status?`, element: React.createElement(RegisteresPage, { corporateId: corporate.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId, controllerRegisterId: state.ControllerId, shareTransactionId: state.shareTransactionId, url: url }) }),
|
|
54
|
-
React.createElement(Route, { path: "filings", element: React.createElement(AnnualFilings, { id: corporate.id }) }),
|
|
55
|
-
React.createElement(Route, { path: "filings-revamped", element: React.createElement(FilingYearListCard, { id: corporate.id }) }),
|
|
56
|
-
React.createElement(Route, { path: "share-class", element: React.createElement(ShareClassListPage, { corporateId: corporate.id }) }),
|
|
57
|
-
React.createElement(Route, { path: "documents", element: React.createElement(DocumentPage, { root: corporate.id, route: `${url}/documents`, className: "corporate-documents", tabTitle: `Corporate - ${corporate.name}` || "Corporate" }) }),
|
|
58
|
-
React.createElement(Route, { path: "virtual-address", element: React.createElement(VirtualAddressList, { corporateId: corporate.id }) }),
|
|
59
|
-
React.createElement(Route, { path: "notification", element: React.createElement(NotificationList, { parentId: corporate.id, recipient: corporate.unit, defaultTemplate: corporate.notificationLayout, headerProps: {
|
|
60
|
-
title: "Corporate Notifications",
|
|
61
|
-
description: "Streamline the Creation and Monitoring of Key Corporate Communications",
|
|
62
|
-
} }) }),
|
|
63
|
-
React.createElement(Route, { path: "activities", element: React.createElement(ActivityLog, { id: corporate.id, isTitle: true }) }),
|
|
64
|
-
React.createElement(Route, { path: "settings", element: React.createElement(CompanySetting, { id: props.id, liabilityType: corporate.liabilityType }) }),
|
|
65
|
-
React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: "dashboard" }) })))))));
|
|
66
|
-
});
|
|
67
|
-
};
|
|
68
|
-
export default CompanyPage;
|
|
69
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAC;AAC3G,OAAO,WAAW,MAAM,4DAA4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AAE,SAAS,CAAC,EAAE,EACtB,SAAS,EAAE,SAAS,CAAC,IAAI,EACzB,eAAe,EAAE,SAAS,CAAC,kBAAkB,EAC7C,WAAW,EAAE;wCACZ,KAAK,EAAE,yBAAyB;wCAChC,WAAW,EACV,wEAAwE;qCACzE,GACA,GAEF;4BACF,oBAAC,KAAK,IAAC,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,oBAAC,WAAW,IAAC,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,SAAG,GAAI;4BAC/E,oBAAC,KAAK,IACL,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,aAAa,EAAE,SAAS,CAAC,aAAa,GAAI,GAChF;4BACF,oBAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAC,WAAW,GAAG,GAAI,CAChD,CACJ,CACO,CACJ,CACqB,CACjC,CAAA;KAAA,CAAC,CAAC;AAEJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
@import "../../../../../style/common.less";
|
|
3
|
-
|
|
4
|
-
:global {
|
|
5
|
-
.company-page {
|
|
6
|
-
width: 100%;
|
|
7
|
-
height: 100%;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
.main-content-nav {
|
|
11
|
-
.main-nav-container {
|
|
12
|
-
box-shadow: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.nav-item {
|
|
16
|
-
padding: 0 16px 0 24px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.company-page-content {
|
|
21
|
-
padding: 0;
|
|
22
|
-
background: #fff;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.dashboard-content {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
height: 100%;
|
|
31
|
-
background: #f5f9fc;
|
|
32
|
-
position: relative;
|
|
33
|
-
|
|
34
|
-
:global {
|
|
35
|
-
.dashboard-alert-content {
|
|
36
|
-
position: absolute;
|
|
37
|
-
width: 500px;
|
|
38
|
-
left: 40%;
|
|
39
|
-
transform: translateX(-50%);
|
|
40
|
-
z-index: 2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.activity-card-board {
|
|
44
|
-
> div {
|
|
45
|
-
height: 100%;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.document-table-list-card,
|
|
50
|
-
.capital-card,
|
|
51
|
-
.shares-card,
|
|
52
|
-
.subscriptions-schedule-time-line-card,
|
|
53
|
-
.orgContact-list-card {
|
|
54
|
-
margin-bottom: 15px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.dashboard-related-document {
|
|
58
|
-
margin: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.activityt-group .activityt-group-title {
|
|
62
|
-
background: #e7f1fc;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ICorporate } from "../../../../../data/corporate";
|
|
2
|
-
export declare class State {
|
|
3
|
-
corporate: ICorporate;
|
|
4
|
-
constructor();
|
|
5
|
-
update(data: ICorporate): void;
|
|
6
|
-
get OfficerId(): string;
|
|
7
|
-
get shareTransactionId(): string;
|
|
8
|
-
get MemberId(): string;
|
|
9
|
-
get ControllerId(): string;
|
|
10
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { action, computed, makeAutoObservable, observable } from "mobx";
|
|
3
|
-
export class State {
|
|
4
|
-
constructor() {
|
|
5
|
-
Object.defineProperty(this, "corporate", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true,
|
|
9
|
-
value: void 0
|
|
10
|
-
});
|
|
11
|
-
makeAutoObservable(this);
|
|
12
|
-
}
|
|
13
|
-
update(data) {
|
|
14
|
-
this.corporate = data;
|
|
15
|
-
}
|
|
16
|
-
get OfficerId() {
|
|
17
|
-
var _a, _b;
|
|
18
|
-
const officer = (_b = (_a = this.corporate) === null || _a === void 0 ? void 0 : _a.registers) === null || _b === void 0 ? void 0 : _b.find((r) => r.type === "OfficersRegister");
|
|
19
|
-
return (officer === null || officer === void 0 ? void 0 : officer.id) || "";
|
|
20
|
-
}
|
|
21
|
-
get shareTransactionId() {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
const shareTransaction = (_b = (_a = this.corporate) === null || _a === void 0 ? void 0 : _a.registers) === null || _b === void 0 ? void 0 : _b.find((r) => r.type === "ShareTransactionsRegister");
|
|
24
|
-
return (shareTransaction === null || shareTransaction === void 0 ? void 0 : shareTransaction.id) || "";
|
|
25
|
-
}
|
|
26
|
-
get MemberId() {
|
|
27
|
-
var _a, _b;
|
|
28
|
-
const member = (_b = (_a = this.corporate) === null || _a === void 0 ? void 0 : _a.registers) === null || _b === void 0 ? void 0 : _b.find((r) => r.type === "MembersRegister");
|
|
29
|
-
return (member === null || member === void 0 ? void 0 : member.id) || "";
|
|
30
|
-
}
|
|
31
|
-
get ControllerId() {
|
|
32
|
-
var _a, _b;
|
|
33
|
-
const controller = (_b = (_a = this.corporate) === null || _a === void 0 ? void 0 : _a.registers) === null || _b === void 0 ? void 0 : _b.find((r) => r.type === "ControllerRegister");
|
|
34
|
-
return (controller === null || controller === void 0 ? void 0 : controller.id) || "";
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
__decorate([
|
|
38
|
-
observable
|
|
39
|
-
], State.prototype, "corporate", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
action
|
|
42
|
-
], State.prototype, "update", null);
|
|
43
|
-
__decorate([
|
|
44
|
-
computed
|
|
45
|
-
], State.prototype, "OfficerId", null);
|
|
46
|
-
__decorate([
|
|
47
|
-
computed
|
|
48
|
-
], State.prototype, "shareTransactionId", null);
|
|
49
|
-
__decorate([
|
|
50
|
-
computed
|
|
51
|
-
], State.prototype, "MemberId", null);
|
|
52
|
-
__decorate([
|
|
53
|
-
computed
|
|
54
|
-
], State.prototype, "ControllerId", null);
|
|
55
|
-
//# sourceMappingURL=state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIxE,MAAM,OAAO,KAAK;IAGjB;QAFmB;;;;;WAAsB;QAGxC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAEc,MAAM,CAAC,IAAgB;QACrC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACvB,CAAC;IAES,IAAW,SAAS;;QAC7B,MAAM,OAAO,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,SAAS,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,kBAAkB,CAAC,CAAC;QACtF,OAAO,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,KAAI,EAAE,CAAC;IAC1B,CAAC;IAES,IAAW,kBAAkB;;QACtC,MAAM,gBAAgB,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,SAAS,0CAAE,IAAI,CACvD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,2BAA2B,CAC7C,CAAC;QACF,OAAO,CAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,EAAE,KAAI,EAAE,CAAC;IACnC,CAAC;IAES,IAAW,QAAQ;;QAC5B,MAAM,MAAM,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,SAAS,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,iBAAiB,CAAC,CAAC;QACpF,OAAO,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,KAAI,EAAE,CAAC;IACzB,CAAC;IAES,IAAW,YAAY;;QAChC,MAAM,UAAU,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,SAAS,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,oBAAoB,CAAC,CAAC;QAC3F,OAAO,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,EAAE,KAAI,EAAE,CAAC;IAC7B,CAAC;CACD;AA/BmB;IAAlB,UAAU;wCAA8B;AAM1B;IAAd,MAAM;mCAEN;AAES;IAAT,QAAQ;sCAGR;AAES;IAAT,QAAQ;+CAKR;AAES;IAAT,QAAQ;qCAGR;AAES;IAAT,QAAQ;yCAGR"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { useCorporate } from "../../../../../data/corporate";
|
|
4
|
-
import AnnualFilings from "../../../filing-record/components/AnnualFilings";
|
|
5
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
|
6
|
-
import PermissionDeniedPage from "../PermissionDeniedPage";
|
|
7
|
-
const AnnualFilingsPage = (props) => {
|
|
8
|
-
const { user } = useApplicationContext();
|
|
9
|
-
const corporate = useCorporate(props.corporateId, { includes: "permissions" });
|
|
10
|
-
return observe(() => (React.createElement(React.Fragment, null, user.can("read", corporate.p, { asset: "Filings" }) ? (React.createElement(AnnualFilings, { id: corporate.id })) : (React.createElement(PermissionDeniedPage, null)))));
|
|
11
|
-
};
|
|
12
|
-
export default AnnualFilingsPage;
|
|
13
|
-
//# sourceMappingURL=AnnualFilingsPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnnualFilingsPage.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/AnnualFilingsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAE3D,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC5D,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACzC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAE/E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,0CACE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CACtD,oBAAC,aAAa,IAAC,EAAE,EAAE,SAAS,CAAC,EAAE,GAAI,CACnC,CAAC,CAAC,CAAC,CACH,oBAAC,oBAAoB,OAAG,CACxB,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ICorporate } from "../../../../../data/corporate";
|
|
3
|
-
declare const Dashboard: (props: {
|
|
4
|
-
corporate: ICorporate;
|
|
5
|
-
unitId: string;
|
|
6
|
-
membersRegisterId?: string;
|
|
7
|
-
officersRegisterId?: string;
|
|
8
|
-
}) => React.JSX.Element;
|
|
9
|
-
export default Dashboard;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useLayoutEffect } from "react";
|
|
2
|
-
import { Col, Row } from "antd";
|
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import MemberTableListCard from "../../member-register/components/MemberTableListCard";
|
|
5
|
-
import OfficerTableListCard from "../../officer-register/components/OfficerTableListCard";
|
|
6
|
-
import CompanyPageHead from "../../components/CompanyPageHead";
|
|
7
|
-
import CompanyProperties from "../../components/CompanyProperties/CompanyPropertiesCard";
|
|
8
|
-
import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
|
|
9
|
-
import FilingTimeLineCard from "../../../filing-record/components/FilingTimeLineCard";
|
|
10
|
-
import SharesCapitalCard from "../../components/SharesCapitalCard";
|
|
11
|
-
import ContactPropertiesCard from "@voplus/morpho-org/es/components/ContactProperties/ContactPropertiesCard";
|
|
12
|
-
import DisclaimerDialog from "./DisclaimerDialog";
|
|
13
|
-
import styles from "./index.less";
|
|
14
|
-
const Dashboard = (props) => {
|
|
15
|
-
const { unitId, corporate, membersRegisterId, officersRegisterId } = props;
|
|
16
|
-
const ref = useRef(null);
|
|
17
|
-
const [activitiesHeight, setActivitiesHeight] = useState();
|
|
18
|
-
const [disclaimerVisible, setDisclaimerVisible] = useState(localStorage.getItem(`corporate_client_disclaimer_${unitId}`) !== "close");
|
|
19
|
-
useLayoutEffect(() => {
|
|
20
|
-
var _a;
|
|
21
|
-
setActivitiesHeight((_a = ref.current) === null || _a === void 0 ? void 0 : _a.offsetHeight);
|
|
22
|
-
});
|
|
23
|
-
return observe(() => {
|
|
24
|
-
var _a, _b, _c;
|
|
25
|
-
return (React.createElement("div", { className: styles["dashboard-content"], ref: ref },
|
|
26
|
-
React.createElement(CompanyPageHead, { id: corporate.id, unitId: props.unitId, showActive: false }),
|
|
27
|
-
React.createElement(RelatedDocument, { className: "dashboard-related-document" },
|
|
28
|
-
React.createElement(Row, { gutter: [16, 0] },
|
|
29
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: 6 },
|
|
30
|
-
React.createElement(CompanyProperties, { id: corporate.id }),
|
|
31
|
-
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId })),
|
|
32
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: ((_a = corporate.latestFilingYear) === null || _a === void 0 ? void 0 : _a.id) ? 12 : 18 },
|
|
33
|
-
React.createElement(SharesCapitalCard, { corporateId: corporate.id, unitId: props.unitId }),
|
|
34
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
35
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
36
|
-
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: ((_b = corporate.latestFilingYear) === null || _b === void 0 ? void 0 : _b.id) ? 6 : 0 }, ((_c = corporate.latestFilingYear) === null || _c === void 0 ? void 0 : _c.id) && (React.createElement("div", { style: { height: `${activitiesHeight - 120}px` }, className: "filing-time-line-height" },
|
|
37
|
-
React.createElement(FilingTimeLineCard, { filingYearId: corporate.latestFilingYear.id })))))),
|
|
38
|
-
disclaimerVisible && React.createElement(DisclaimerDialog, { visible: true, onAccept: disclaimerClose })));
|
|
39
|
-
});
|
|
40
|
-
function disclaimerClose() {
|
|
41
|
-
setDisclaimerVisible(false);
|
|
42
|
-
localStorage.setItem(`corporate_client_disclaimer_${unitId}`, "close");
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
export default Dashboard;
|
|
46
|
-
//# sourceMappingURL=Dashboard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/Dashboard.tsx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,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAA,MAAA,SAAS,CAAC,gBAAgB,0CAAE,EAAE,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAC7E,CAAA,MAAA,SAAS,CAAC,gBAAgB,0CAAE,EAAE,KAAI,CAClC,6BACC,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,gBAAiB,GAAG,GAAG,IAAI,EAAE,EACjD,SAAS,EAAC,yBAAyB;wBAEnC,oBAAC,kBAAkB,IAAC,YAAY,EAAE,SAAS,CAAC,gBAAgB,CAAC,EAAE,GAAI,CAC9D,CACN,CACI,CACD,CACW;YACjB,iBAAiB,IAAI,oBAAC,gBAAgB,IAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,eAAe,GAAI,CAC/E,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,eAAe;QACvB,oBAAoB,CAAC,KAAK,CAAC,CAAC;QAC5B,YAAY,CAAC,OAAO,CAAC,+BAA+B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import "./index.less";
|
|
2
|
-
import { Button, Row, Space } from "antd";
|
|
3
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
-
import FlexDialog from "@voplus/morpho-ui/es/controls/FlexDialog";
|
|
5
|
-
import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
|
|
6
|
-
import React from "react";
|
|
7
|
-
import { faCircleInfo } from "@fortawesome/pro-light-svg-icons";
|
|
8
|
-
import { observe } from "@voplus/morpho-ui";
|
|
9
|
-
const DisclaimerDialog = (props) => {
|
|
10
|
-
return observe(() => (React.createElement(FlexDialog, { mobileHeightMode: "fill", modalProps: {
|
|
11
|
-
title: (React.createElement(React.Fragment, null,
|
|
12
|
-
React.createElement(FAIcon, { icon: faCircleInfo, className: "margin-right-10" }),
|
|
13
|
-
"Disclaimer")),
|
|
14
|
-
className: "corporate-client-view-disclaimer",
|
|
15
|
-
width: 800,
|
|
16
|
-
open: props.visible,
|
|
17
|
-
footer: null,
|
|
18
|
-
onCancel: props.onCancel,
|
|
19
|
-
}, closeAside: props.onCancel },
|
|
20
|
-
React.createElement("div", { className: props.mobile
|
|
21
|
-
? "corporate-client-disclaimer-content-mobile"
|
|
22
|
-
: "corporate-client-disclaimer-content-pc" },
|
|
23
|
-
React.createElement("div", { className: "disclaimer-content" },
|
|
24
|
-
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, readonly: true, defaultHtml: `<h2>Disclaimer</h2><p>VOPLUS is a service provider of corporate services and management tools. The Corporate Dashboard application you are accessing, as well as any related services you may access in the future, are managed by VOPLUS. The Corporate Dashboard provides access to your corporate entities' service, legal and other details for convenience and informational purposes only. Access to this application is strictly limited to appointed officers of the entity and authorized personnel.</p><p>The information contained within the Corporate Dashboard is provided by the respective companies and is accurate to the best of their knowledge. While all efforts have been made to maintain the accuracy of the information displayed, VOPLUS makes no representations or warranties, express or implied, as to the accuracy, completeness, or reliability of the information contained in the Corporate Dashboard. </p><p>By using or relying on any information in the Corporate Dashboard, you acknowledge and agree that you have read and understood this disclaimer, and you accept and assume full responsibility for any and all consequences that may arise from using this application. You agree to indemnify, defend, and hold harmless VOPLUS and its affiliates, officers, directors, employees, and agents from and against any claims, liabilities, damages, losses, or expenses, including reasonable attorneys' fees and costs, arising out of or in any way connected with your use of or reliance on the Corporate Dashboard.</p><p>VOPLUS shall not be liable for any loss or damage, whether direct, indirect, or consequential, arising from your reliance on or use of the Corporate Dashboard. VOPLUS does not assume any responsibility for the accuracy or completeness of the information provided by the companies, nor does it provide any legal or financial advice or substitute for professional advice. Use of the information is at your own risk.</p><p>This disclaimer shall be governed by and construed in accordance with the laws of Singapore, without regard to its conflict of law provisions. If any provision of this disclaimer is found to be invalid or unenforceable by a court of competent jurisdiction, the remaining provisions shall remain in full force and effect. No waiver of any term or condition of this disclaimer shall be deemed a further or continuing waiver of such term or condition or any other term or condition.</p>`, className: "corporate-client-view-proseMirror" })),
|
|
25
|
-
React.createElement(Row, { className: "accept-button", justify: "end" },
|
|
26
|
-
React.createElement(Space, null,
|
|
27
|
-
React.createElement(Button, { type: "primary", onClick: props.onAccept }, "OK")))))));
|
|
28
|
-
};
|
|
29
|
-
export default DisclaimerDialog;
|
|
30
|
-
//# sourceMappingURL=DisclaimerDialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DisclaimerDialog.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/DisclaimerDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,UAAU,IACV,gBAAgB,EAAC,MAAM,EACvB,UAAU,EAAE;YACX,KAAK,EAAE,CACN;gBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAC,iBAAiB,GAAG;6BAExD,CACH;YACD,SAAS,EAAE,kCAAkC;YAC7C,KAAK,EAAE,GAAG;YACV,IAAI,EAAE,KAAK,CAAC,OAAO;YACnB,MAAM,EAAE,IAAI;YACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;SACxB,EACD,UAAU,EAAE,KAAK,CAAC,QAAQ;QAE1B,6BACC,SAAS,EACR,KAAK,CAAC,MAAM;gBACX,CAAC,CAAC,4CAA4C;gBAC9C,CAAC,CAAC,wCAAwC;YAG5C,6BAAK,SAAS,EAAC,oBAAoB;gBAClC,oBAAC,WAAW,IACX,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAC/B,MAAM,QACN,QAAQ,QACR,WAAW,EAAE,u3EAAu3E,EACp4E,SAAS,EAAC,mCAAmC,GAC5C,CACG;YACN,oBAAC,GAAG,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAC,KAAK;gBAC3C,oBAAC,KAAK;oBACL,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,SAErC,CACF,CACH,CACD,CACM,CACb,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { useCorporate } from "../../../../../data/corporate";
|
|
4
|
-
import WorkScheduleList from "@voplus/morpho-workspace/es/modules/work/work-schedule/components/WorkScheduleList";
|
|
5
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
|
6
|
-
import PermissionDeniedPage from "../PermissionDeniedPage";
|
|
7
|
-
const WorkScheduleListPage = (props) => {
|
|
8
|
-
const { user } = useApplicationContext();
|
|
9
|
-
const corporate = useCorporate(props.corporateId, { includes: "permissions" });
|
|
10
|
-
return observe(() => (React.createElement(React.Fragment, null, user.can("read", corporate.p, { asset: "Schedules" }) ? (React.createElement(WorkScheduleList, { viewTitle: "Work Schedules", contact: corporate.unit, addAble: user.can("edit", corporate.p) })) : (React.createElement(PermissionDeniedPage, null)))));
|
|
11
|
-
};
|
|
12
|
-
export default WorkScheduleListPage;
|
|
13
|
-
//# sourceMappingURL=WorkScheduleListPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkScheduleListPage.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/WorkScheduleListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,gBAAgB,MAAM,oFAAoF,CAAC;AAClH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAE3D,MAAM,oBAAoB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACzC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAE/E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,0CACE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CACxD,oBAAC,gBAAgB,IAChB,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,SAAS,CAAC,IAAI,EACvB,OAAO,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,GACrC,CACF,CAAC,CAAC,CAAC,CACH,oBAAC,oBAAoB,OAAG,CACxB,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState } from "react";
|
|
2
|
-
import { Navigate, Route, Routes, useParams, useResolvedPath } from "react-router-dom";
|
|
3
|
-
import { faTableRows, faScrollOld, faBell, faEnvelopesBulk, faClipboardListCheck, faFileInvoiceDollar, } from "@fortawesome/pro-solid-svg-icons";
|
|
4
|
-
import { State } from "./state";
|
|
5
|
-
import { Menu, Skeleton } from "antd";
|
|
6
|
-
import { observe, useAutorunEffect, NavPanel } from "@voplus/morpho-ui";
|
|
7
|
-
import { useCorporate } from "../../../../../data/corporate";
|
|
8
|
-
import { useLayout, useTabItem, useApplicationContext } from "@voplus/morpho-data";
|
|
9
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
|
-
import AnnualFilingsPage from "./AnnualFilingsPage";
|
|
11
|
-
import Dashboard from "./Dashboard";
|
|
12
|
-
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
13
|
-
import Statement from "@voplus/morpho-finance/es/components/Statement";
|
|
14
|
-
import WorkScheduleListPage from "./WorkScheduleListPage";
|
|
15
|
-
import { CurrentContactContext } from "@voplus/morpho-document-core/es/data/context/CurrentContactContext";
|
|
16
|
-
import NotificationList from "@voplus/morpho-workspace/es/modules/notification/components/AllNewNotificationList";
|
|
17
|
-
import CorporateMailList from "../../../virtual-address-mail/components/CorporateMailList";
|
|
18
|
-
import Scrollbars from "react-custom-scrollbars-2";
|
|
19
|
-
import "./index.less";
|
|
20
|
-
const CorporateClientView = () => {
|
|
21
|
-
const params = useParams();
|
|
22
|
-
const id = params.id;
|
|
23
|
-
/** 加class name 为了方便做integration tests */
|
|
24
|
-
const classId = "corporate-client";
|
|
25
|
-
const { user } = useApplicationContext();
|
|
26
|
-
const [state] = useState(new State());
|
|
27
|
-
const [menuKey, setMenuKey] = useState("/dashboard");
|
|
28
|
-
const corporate = useCorporate(id, {
|
|
29
|
-
reload: true,
|
|
30
|
-
includes: "registers,filing-years,center,permissions,statement-info,tags",
|
|
31
|
-
});
|
|
32
|
-
const url = useResolvedPath("").pathname;
|
|
33
|
-
const layout = useLayout();
|
|
34
|
-
const tab = useTabItem();
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
state.update(corporate);
|
|
37
|
-
}, [id]);
|
|
38
|
-
useAutorunEffect(() => {
|
|
39
|
-
tab.title = `Corporate - ${corporate.name}` || "Corporate";
|
|
40
|
-
});
|
|
41
|
-
return observe(() => {
|
|
42
|
-
var _a, _b, _c, _d;
|
|
43
|
-
return (React.createElement(CurrentContactContext.Provider, { value: { contact: corporate.unit } },
|
|
44
|
-
React.createElement(Skeleton, { loading: !corporate.loaded },
|
|
45
|
-
React.createElement(MainContent, { className: "company-page" },
|
|
46
|
-
React.createElement(MainContent.Nav, { collapsible: true },
|
|
47
|
-
React.createElement(NavPanel, null,
|
|
48
|
-
React.createElement(Scrollbars, { autoHide: true },
|
|
49
|
-
React.createElement(Menu, { className: "nav-panel-menu", mode: "inline", defaultSelectedKeys: ["/dashboard"], selectedKeys: [menuKey], items: [
|
|
50
|
-
{
|
|
51
|
-
key: "/dashboard",
|
|
52
|
-
label: "Dashboard",
|
|
53
|
-
className: `${classId}-dashboard`,
|
|
54
|
-
icon: React.createElement(FAIcon, { icon: faTableRows }),
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
key: "/filings",
|
|
58
|
-
label: "Filings",
|
|
59
|
-
className: `${classId}-filings`,
|
|
60
|
-
icon: React.createElement(FAIcon, { icon: faScrollOld }),
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
key: "/mails",
|
|
64
|
-
label: "Mails",
|
|
65
|
-
className: `${classId}-mails`,
|
|
66
|
-
icon: React.createElement(FAIcon, { icon: faEnvelopesBulk }),
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
key: "/work-schedules",
|
|
70
|
-
label: "Work Schedules",
|
|
71
|
-
className: `${classId}-workSchedules`,
|
|
72
|
-
icon: React.createElement(FAIcon, { icon: faClipboardListCheck }),
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
key: "/statement",
|
|
76
|
-
label: "Statement",
|
|
77
|
-
className: `${classId}-statement`,
|
|
78
|
-
icon: React.createElement(FAIcon, { icon: faFileInvoiceDollar }),
|
|
79
|
-
disabled: !((_a = corporate.statementInfo) === null || _a === void 0 ? void 0 : _a.account) ||
|
|
80
|
-
((_c = (_b = corporate.statementInfo) === null || _b === void 0 ? void 0 : _b.balances) === null || _c === void 0 ? void 0 : _c.length) === 0,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "/notification",
|
|
84
|
-
label: "Notification",
|
|
85
|
-
className: `${classId}-notification`,
|
|
86
|
-
icon: React.createElement(FAIcon, { icon: faBell }),
|
|
87
|
-
},
|
|
88
|
-
], onClick: ({ key }) => onClick(key) })))),
|
|
89
|
-
React.createElement("div", { className: "company-page-content" },
|
|
90
|
-
React.createElement(Routes, null,
|
|
91
|
-
React.createElement(Route, { path: "dashboard", element: React.createElement(Dashboard, { corporate: corporate, unitId: (_d = corporate.unit) === null || _d === void 0 ? void 0 : _d.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId }) }),
|
|
92
|
-
React.createElement(Route, { path: "filings", element: React.createElement(AnnualFilingsPage, { corporateId: corporate.id }) }),
|
|
93
|
-
React.createElement(Route, { path: "notification", element: React.createElement(NotificationList, { parentId: corporate.id }) }),
|
|
94
|
-
React.createElement(Route, { path: "mails", element: React.createElement(CorporateMailList, { corporateId: corporate.id }) }),
|
|
95
|
-
React.createElement(Route, { path: "work-schedules", element: React.createElement(WorkScheduleListPage, { corporateId: corporate.id }) }),
|
|
96
|
-
React.createElement(Route, { path: "statement", element: corporate.unit && (React.createElement(Statement, { contact: corporate.unit, statementInfo: corporate.statementInfo })) }),
|
|
97
|
-
React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: "dashboard" }) })))))));
|
|
98
|
-
});
|
|
99
|
-
function onClick(key) {
|
|
100
|
-
setMenuKey(key.toString());
|
|
101
|
-
layout.history.push(`${url}${key}`);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
export default CorporateClientView;
|
|
105
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EACN,WAAW,EACX,WAAW,EACX,MAAM,EACN,eAAe,EACf,oBAAoB,EACpB,mBAAmB,GACnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,SAAS,MAAM,gDAAgD,CAAC;AACvE,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAC;AAC3G,OAAO,gBAAgB,MAAM,oFAAoF,CAAC;AAClH,OAAO,iBAAiB,MAAM,4DAA4D,CAAC;AAC3F,OAAO,UAAU,MA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