@voplus/morpho-csp 6.0.115 → 6.0.117
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/components/CorporateNavMenu/CorporateNavMenu.d.ts +2 -0
- package/es/components/CorporateNavMenu/CorporateNavMenu.js +10 -34
- package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
- package/es/components/IdentityStatus/index.d.ts +5 -0
- package/es/components/IdentityStatus/index.js +24 -0
- package/es/components/IdentityStatus/index.js.map +1 -0
- package/es/components/IdentityStatus/index.less +19 -0
- package/es/data/corporate/interfaces.d.ts +27 -0
- package/es/modules/corporate/company/components/CapitalCard/index.d.ts +2 -1
- package/es/modules/corporate/company/components/CapitalCard/index.js +19 -29
- package/es/modules/corporate/company/components/CapitalCard/index.js.map +1 -1
- package/es/modules/corporate/company/components/CapitalCard/index.less +50 -31
- package/es/modules/corporate/company/components/CompanyPageHead/index.d.ts +0 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.js +28 -43
- package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/SharesCapitalCard/index.d.ts +6 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/index.js +26 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/index.js.map +1 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/state.d.ts +16 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/state.js +85 -0
- package/es/modules/corporate/company/components/SharesCapitalCard/state.js.map +1 -0
- package/es/modules/corporate/company/components/SharesCard2/SharesReportChart.js +3 -22
- package/es/modules/corporate/company/components/SharesCard2/SharesReportChart.js.map +1 -1
- package/es/modules/corporate/company/components/SharesCard2/index.d.ts +3 -1
- package/es/modules/corporate/company/components/SharesCard2/index.js +32 -42
- package/es/modules/corporate/company/components/SharesCard2/index.js.map +1 -1
- package/es/modules/corporate/company/components/SharesCard2/index.less +58 -15
- package/es/modules/corporate/company/components/SharesCard2/state.d.ts +1 -0
- package/es/modules/corporate/company/components/SharesCard2/state.js +11 -0
- package/es/modules/corporate/company/components/SharesCard2/state.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.d.ts +3 -2
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +6 -6
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.d.ts +13 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +69 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +15 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +117 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +61 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.d.ts +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.d.ts +2 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js +5 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +7 -0
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +19 -0
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.d.ts +13 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js +39 -9
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.d.ts +13 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +69 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +7 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +26 -44
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.less +30 -16
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +7 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +19 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.d.ts +13 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js +40 -10
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.d.ts +13 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +75 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +7 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +39 -56
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.less +24 -10
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js +7 -19
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/index.js +4 -4
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CorporateClientView/Dashboard.js +7 -16
- package/es/modules/corporate/company/pages/CorporateClientView/Dashboard.js.map +1 -1
- package/es/modules/corporate/company/pages/RegistersPage/index.d.ts +4 -0
- package/es/modules/corporate/company/pages/RegistersPage/index.js +41 -0
- package/es/modules/corporate/company/pages/RegistersPage/index.js.map +1 -0
- package/es/modules/corporate/company/pages/RegistersPage/index.less +66 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.js +4 -4
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.less +1 -1
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.d.ts +7 -0
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.js +49 -0
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.js.map +1 -0
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +49 -0
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.d.ts +6 -0
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js +59 -0
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js.map +1 -0
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.less +83 -0
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.d.ts +6 -0
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.js +17 -0
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.js.map +1 -0
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.less +8 -0
- package/package.json +1 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.less +0 -80
package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,WAAW,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,qBAAqB,MAAM,uDAAuD,CAAC;AAC1F,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,YAAY,MAAM,uEAAuE,CAAC;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,cAEN,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAAY,oBAAoB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAEtB,MAAM,oBAAoB,GAAG,CAC5B,KAYC,EACA,EAAE;IACH,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,YAAY,E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AC,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,IAAI,eAAe,EAAE,CAAC;YACrB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QAC5D,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,oBAAoB;IACpB,KAAK,UAAU,MAAM,CAAC,IAAkD;QACvE,qDAAqD;QACrD,IAAI,IAAI,EAAE,CAAC;YACV,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,MAAM,CAAC;gBACrC,IAAI,EAAE,EAAE,UAAU,EAAE,kBAAmB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE;gBACvF,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;AACF,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG,EAAE,CAAC;AAEvC,eAAe,oBAAoB,CAAC"}
|
package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.less
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
:global {
|
|
2
|
+
.officer-table-list-card {
|
|
3
|
+
height: 100%;
|
|
4
|
+
.tools-card-content .ant-table-wrapper .tool-bar .ant-btn {
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
2
8
|
.officer-table-item-info {
|
|
3
9
|
color: #5d5d5d;
|
|
4
10
|
font-weight: 500;
|
|
@@ -21,27 +27,35 @@
|
|
|
21
27
|
width: 100px !important;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
30
|
+
.officer-table-item-email,
|
|
31
|
+
.officer-table-item-phone {
|
|
32
|
+
color: #5d5d5d;
|
|
33
|
+
}
|
|
24
34
|
.officer-table-item-position {
|
|
25
35
|
color: #5d5d5d;
|
|
26
36
|
}
|
|
27
37
|
.officer-table-list-header.list-view-header-tool {
|
|
28
38
|
padding: 0;
|
|
29
39
|
flex: 1;
|
|
40
|
+
&.card {
|
|
41
|
+
.header-tool-space {
|
|
42
|
+
.filter-view-menu-icon {
|
|
43
|
+
font-size: 18px;
|
|
44
|
+
color: #cbcbcb;
|
|
45
|
+
border: none;
|
|
46
|
+
box-shadow: none;
|
|
47
|
+
margin-right: 7px;
|
|
48
|
+
&:hover {
|
|
49
|
+
color: #217eb2;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
30
54
|
.header-tool-space {
|
|
31
55
|
display: flex;
|
|
32
56
|
.title {
|
|
33
57
|
flex: 1;
|
|
34
58
|
}
|
|
35
|
-
.filter-view-menu-icon {
|
|
36
|
-
font-size: 18px;
|
|
37
|
-
color: #cbcbcb;
|
|
38
|
-
border: none;
|
|
39
|
-
box-shadow: none;
|
|
40
|
-
margin-right: 7px;
|
|
41
|
-
&:hover {
|
|
42
|
-
color: #217eb2;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
59
|
.send-form-btn {
|
|
46
60
|
color: #217eb2;
|
|
47
61
|
border-color: #217eb2;
|
|
@@ -10,10 +10,9 @@ import ContactPropertiesCard from "@voplus/morpho-org/es/components/ContactPrope
|
|
|
10
10
|
import OfficerTableListCard from "../../officer-register/components/OfficerTableListCard";
|
|
11
11
|
import FilingTimeLineCard from "../../../filing-record/components/FilingTimeLineCard";
|
|
12
12
|
import OrgContactListCard from "@voplus/morpho-org/es/modules/orgContact/components/OrgContactListCard";
|
|
13
|
-
import SharesCard2 from "../../components/SharesCard2";
|
|
14
|
-
import CapitalCard from "../../components/CapitalCard";
|
|
15
13
|
import { useUnit } from "@voplus/morpho-org/es/data";
|
|
16
14
|
import CompanyAlert from "../../components/CompanyAlert";
|
|
15
|
+
import SharesCapitalCard from "../../components/SharesCapitalCard";
|
|
17
16
|
import styles from "./index.less";
|
|
18
17
|
const Dashboard = (props) => {
|
|
19
18
|
const { corporate, membersRegisterId, officersRegisterId } = props;
|
|
@@ -37,13 +36,9 @@ const Dashboard = (props) => {
|
|
|
37
36
|
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId }),
|
|
38
37
|
unit.type === "Organization" && (React.createElement(OrgContactListCard, { parentId: props.unitId, style: { height: "400px" } }))),
|
|
39
38
|
React.createElement(Col, { xs: 0, sm: 0, md: 0, lg: 0, xl: visible ? 12 : 18 },
|
|
40
|
-
React.createElement(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
React.createElement(Col, { xl: 9 },
|
|
44
|
-
React.createElement(CapitalCard, { corporateid: corporate.id, unitId: props.unitId }))),
|
|
45
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
46
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
39
|
+
React.createElement(SharesCapitalCard, { corporateid: corporate.id, unitId: props.unitId }),
|
|
40
|
+
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
41
|
+
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", active: true, membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
47
42
|
React.createElement(Col, { xs: 0, sm: 0, md: 0, lg: 0, xl: visible ? 6 : 0 },
|
|
48
43
|
((_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 })),
|
|
49
44
|
React.createElement(ActivityLogCard, { id: corporate.id })),
|
|
@@ -51,20 +46,13 @@ const Dashboard = (props) => {
|
|
|
51
46
|
React.createElement(CompanyProperties, { id: corporate.id }),
|
|
52
47
|
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId }),
|
|
53
48
|
unit.type === "Organization" && (React.createElement(OrgContactListCard, { parentId: props.unitId, style: { height: "400px" } })),
|
|
54
|
-
React.createElement(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
React.createElement(Col, { xl: 9 },
|
|
58
|
-
React.createElement(CapitalCard, { corporateid: corporate.id, unitId: props.unitId }))),
|
|
59
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
60
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { membersRegisterId: membersRegisterId, corporateId: corporate.id })),
|
|
49
|
+
React.createElement(SharesCapitalCard, { corporateid: corporate.id, unitId: props.unitId }),
|
|
50
|
+
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
51
|
+
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", active: true, membersRegisterId: membersRegisterId, corporateId: corporate.id })),
|
|
61
52
|
((_c = corporate.latestFilingYear) === null || _c === void 0 ? void 0 : _c.id) && (React.createElement(FilingTimeLineCard, { filingYearId: (_d = corporate.latestFilingYear) === null || _d === void 0 ? void 0 : _d.id })),
|
|
62
53
|
React.createElement("div", { style: { height: `${activitiesHeight - 120}px` } },
|
|
63
54
|
React.createElement(ActivityLogCard, { id: corporate.id })))))));
|
|
64
55
|
});
|
|
65
|
-
function toggleActivity() {
|
|
66
|
-
setVisible(!visible);
|
|
67
|
-
}
|
|
68
56
|
};
|
|
69
57
|
export default Dashboard;
|
|
70
58
|
//# sourceMappingURL=Dashboard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,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,
|
|
1
|
+
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,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,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AM,EAAE,GAAG,gBAAiB,GAAG,GAAG,IAAI,EAAE;4BACrD,oBAAC,eAAe,IAAC,EAAE,EAAE,SAAS,CAAC,EAAE,GAAI,CAChC,CACD,CACD,CACW,CACb,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -15,7 +15,7 @@ import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
|
15
15
|
import OfficerList from "../../officer-register/components/OfficerList";
|
|
16
16
|
import ControllerList from "../../controller-register/components/ControllerList";
|
|
17
17
|
import ShareTransactionList from "../../share-transactions-register/components/ShareTransactionList";
|
|
18
|
-
import
|
|
18
|
+
import ShareClassListPage from "../../../share-class/pages/ShareClassListPage";
|
|
19
19
|
import VirtualAddressList from "../../../virtual-address/components/VirtualAddressList";
|
|
20
20
|
import NotificationList from "@voplus/morpho-workspace/es/modules/notification/components/AllNewNotificationList";
|
|
21
21
|
import CorporateNavMenu from "../../../../../components/CorporateNavMenu/CorporateNavMenu";
|
|
@@ -27,7 +27,7 @@ const CompanyPage = (props) => {
|
|
|
27
27
|
const [loaded, setLoaded] = useState(true);
|
|
28
28
|
const corporate = useCorporate(props.id, {
|
|
29
29
|
reload: true,
|
|
30
|
-
includes: "registers,filing-years,center",
|
|
30
|
+
includes: "registers,filing-years,center,permissions,totals",
|
|
31
31
|
});
|
|
32
32
|
const params = useParams();
|
|
33
33
|
const url = useResolvedPath("").pathname;
|
|
@@ -47,7 +47,7 @@ const CompanyPage = (props) => {
|
|
|
47
47
|
React.createElement(MainContent.Nav, { collapsible: true },
|
|
48
48
|
React.createElement(NavPanel, null,
|
|
49
49
|
React.createElement(Scrollbars, { autoHide: true },
|
|
50
|
-
React.createElement(CorporateNavMenu, { id: corporate.id, url: url, defaultSelectedKeys: ["/dashboard"], showShareClass: ((_a = state.corporate) === null || _a === void 0 ? void 0 : _a.liabilityType) === "LimitedByShares" })))),
|
|
50
|
+
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" })))),
|
|
51
51
|
React.createElement("div", { className: "company-page-content" },
|
|
52
52
|
React.createElement(Routes, null,
|
|
53
53
|
React.createElement(Route, { path: "dashboard", element: React.createElement(Dashboard, { corporate: corporate, unitId: params.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId }) }),
|
|
@@ -56,7 +56,7 @@ const CompanyPage = (props) => {
|
|
|
56
56
|
React.createElement(Route, { path: "registers/MembersRegister", element: state.MemberId ? (React.createElement(CompanyMemberList, { membersRegisterId: state.MemberId, corporateId: corporate.id, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
57
57
|
React.createElement(Route, { path: "registers/ControllerRegister", element: state.ControllerId && loaded ? (React.createElement(ControllerList, { controllerRegisterId: state.ControllerId, corporateId: corporate.id, onReload: onReload, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
58
58
|
React.createElement(Route, { path: "filings", element: React.createElement(AnnualFilings, { id: corporate.id }) }),
|
|
59
|
-
React.createElement(Route, { path: "share-class", element: React.createElement(
|
|
59
|
+
React.createElement(Route, { path: "share-class", element: React.createElement(ShareClassListPage, { corporateId: corporate.id }) }),
|
|
60
60
|
React.createElement(Route, { path: "documents", element: React.createElement(DocumentPage, { root: corporate.id, route: `${url}/documents`, className: "corporate-documents", tabTitle: `Corporate - ${corporate.name}` || "Corporate" }) }),
|
|
61
61
|
React.createElement(Route, { path: "virtual-address", element: React.createElement(VirtualAddressList, { corporateId: corporate.id }) }),
|
|
62
62
|
React.createElement(Route, { path: "notification", element: React.createElement(NotificationList, { parentId: corporate.id, recipient: corporate.unit }) }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/index.tsx"],"names":[],"mappings":"AA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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;IAEH,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,WAAW,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React, { useRef, useState, useLayoutEffect } from "react";
|
|
2
2
|
import { Col, Row } from "antd";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import SharesCard2 from "../../components/SharesCard2";
|
|
5
|
-
import CapitalCard from "../../components/CapitalCard";
|
|
6
4
|
import MemberTableListCard from "../../member-register/components/MemberTableListCard";
|
|
7
5
|
import OfficerTableListCard from "../../officer-register/components/OfficerTableListCard";
|
|
8
6
|
import CompanyPageHead from "../../components/CompanyPageHead";
|
|
9
7
|
import CompanyProperties from "../../components/CompanyProperties/CompanyPropertiesCard";
|
|
10
8
|
import RelatedDocument from "@voplus/morpho-org/es/controls/RelatedDocument";
|
|
11
9
|
import FilingTimeLineCard from "../../../filing-record/components/FilingTimeLineCard";
|
|
10
|
+
import SharesCapitalCard from "../../components/SharesCapitalCard";
|
|
12
11
|
import ContactPropertiesCard from "@voplus/morpho-org/es/components/ContactProperties/ContactPropertiesCard";
|
|
13
12
|
import styles from "./index.less";
|
|
14
13
|
const Dashboard = (props) => {
|
|
@@ -29,25 +28,17 @@ const Dashboard = (props) => {
|
|
|
29
28
|
React.createElement(CompanyProperties, { id: corporate.id }),
|
|
30
29
|
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId })),
|
|
31
30
|
React.createElement(Col, { xs: 0, sm: 0, md: 0, lg: 0, xl: ((_a = corporate.latestFilingYear) === null || _a === void 0 ? void 0 : _a.id) ? 12 : 18 },
|
|
32
|
-
React.createElement(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
React.createElement(Col, { xl: 9 },
|
|
36
|
-
React.createElement(CapitalCard, { corporateid: corporate.id, unitId: props.unitId }))),
|
|
37
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
38
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
31
|
+
React.createElement(SharesCapitalCard, { corporateid: corporate.id, unitId: props.unitId }),
|
|
32
|
+
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
33
|
+
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", membersRegisterId: membersRegisterId, corporateId: corporate.id }))),
|
|
39
34
|
React.createElement(Col, { xs: 0, sm: 0, md: 0, lg: 0, 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" },
|
|
40
35
|
React.createElement(FilingTimeLineCard, { filingYearId: corporate.latestFilingYear.id })))),
|
|
41
36
|
React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 24, xl: 0 },
|
|
42
37
|
React.createElement(CompanyProperties, { id: corporate.id }),
|
|
43
38
|
props.unitId && React.createElement(ContactPropertiesCard, { id: props.unitId }),
|
|
44
|
-
React.createElement(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
React.createElement(Col, { xs: 9, sm: 9, md: 9, lg: 9, xl: 0 },
|
|
48
|
-
React.createElement(CapitalCard, { corporateid: corporate.id, unitId: props.unitId }))),
|
|
49
|
-
officersRegisterId && (React.createElement(OfficerTableListCard, { officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
50
|
-
membersRegisterId && (React.createElement(MemberTableListCard, { membersRegisterId: membersRegisterId, corporateId: corporate.id })),
|
|
39
|
+
React.createElement(SharesCapitalCard, { corporateid: corporate.id, unitId: props.unitId }),
|
|
40
|
+
officersRegisterId && (React.createElement(OfficerTableListCard, { type: "card", isFilterPresent: true, officersRegisterId: officersRegisterId, corporateId: corporate.id })),
|
|
41
|
+
membersRegisterId && (React.createElement(MemberTableListCard, { type: "card", membersRegisterId: membersRegisterId, corporateId: corporate.id })),
|
|
51
42
|
((_d = corporate.latestFilingYear) === null || _d === void 0 ? void 0 : _d.id) && (React.createElement(FilingTimeLineCard, { filingYearId: (_e = corporate.latestFilingYear) === null || _e === void 0 ? void 0 : _e.id })))))));
|
|
52
43
|
});
|
|
53
44
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,
|
|
1
|
+
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CorporateClientView/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE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morpho-ui";
|
|
4
|
+
import { faCoins } from "@fortawesome/pro-solid-svg-icons";
|
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
7
|
+
import MemberTableList from "../../member-register/components/MemberTableList";
|
|
8
|
+
import OfficerTableList from "../../officer-register/components/OfficerTableList";
|
|
9
|
+
import ControllerTableList from "../../controller-register/components/ControllerTableList";
|
|
10
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
11
|
+
import "./index.less";
|
|
12
|
+
const RegistersPage = () => {
|
|
13
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
14
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
|
15
|
+
React.createElement("div", { className: "registers-page" },
|
|
16
|
+
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCoins }), title: "Registers", description: "Manage your share classes with ease" }),
|
|
17
|
+
React.createElement(Tabs, { defaultActiveKey: "Controller", className: "registers-page-tabs", items: [
|
|
18
|
+
{
|
|
19
|
+
key: "Controller",
|
|
20
|
+
label: "Controller",
|
|
21
|
+
children: (React.createElement(ControllerTableList, { controllerRegisterId: "12afea18-2d06-47af-8b32-aeda0068ad33", corporateId: "0bca19e0-753b-406a-a3a5-ad96008426d8" })),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
key: "Members",
|
|
25
|
+
label: "Members",
|
|
26
|
+
children: (React.createElement(MemberTableList, { membersRegisterId: "98ce9398-e0a9-4efc-bbc7-ae0700762632", corporateId: "0bca19e0-753b-406a-a3a5-ad96008426d8" })),
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
key: "Officers",
|
|
30
|
+
label: "Officers",
|
|
31
|
+
children: (React.createElement(OfficerTableList, { officersRegisterId: "be8d96ee-8446-46af-8efe-ae070076134f", corporateId: "0bca19e0-753b-406a-a3a5-ad96008426d8" })),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
key: "ShareTransactions",
|
|
35
|
+
label: "Share Transactions",
|
|
36
|
+
children: "Content of Tab Pane 4",
|
|
37
|
+
},
|
|
38
|
+
] })))));
|
|
39
|
+
};
|
|
40
|
+
export default RegistersPage;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/RegistersPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,eAAe,MAAM,kDAAkD,CAAC;AAC/E,OAAO,gBAAgB,MAAM,oDAAoD,CAAC;AAClF,OAAO,mBAAmB,MAAM,0DAA0D,CAAC;AAC3F,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,CAAC;AAEtB,MAAM,aAAa,GAAG,GAAG,EAAE;IAC1B,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;QAClC,6BAAK,SAAS,EAAC,gBAAgB;YAC9B,oBAAC,iBAAiB,IACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,EACrC,KAAK,EAAC,WAAW,EACjB,WAAW,EAAC,qCAAqC,GAChD;YACF,oBAAC,IAAI,IACJ,gBAAgB,EAAC,YAAY,EAC7B,SAAS,EAAC,qBAAqB,EAC/B,KAAK,EAAE;oBACN;wBACC,GAAG,EAAE,YAAY;wBACjB,KAAK,EAAE,YAAY;wBACnB,QAAQ,EAAE,CACT,oBAAC,mBAAmB,IACnB,oBAAoB,EAAC,sCAAsC,EAC3D,WAAW,EAAC,sCAAsC,GACjD,CACF;qBACD;oBACD;wBACC,GAAG,EAAE,SAAS;wBACd,KAAK,EAAE,SAAS;wBAChB,QAAQ,EAAE,CACT,oBAAC,eAAe,IACf,iBAAiB,EAAC,sCAAsC,EACxD,WAAW,EAAC,sCAAsC,GACjD,CACF;qBACD;oBACD;wBACC,GAAG,EAAE,UAAU;wBACf,KAAK,EAAE,UAAU;wBACjB,QAAQ,EAAE,CACT,oBAAC,gBAAgB,IAChB,kBAAkB,EAAC,sCAAsC,EACzD,WAAW,EAAC,sCAAsC,GACjD,CACF;qBACD;oBACD;wBACC,GAAG,EAAE,mBAAmB;wBACxB,KAAK,EAAE,oBAAoB;wBAC3B,QAAQ,EAAE,uBAAuB;qBACjC;iBACD,GACA,CACG,CACQ,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.registers-page {
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
.page-head-dashboard {
|
|
7
|
+
padding: 14px 15px 14px 20px;
|
|
8
|
+
}
|
|
9
|
+
.registers-page-tabs {
|
|
10
|
+
flex: 1;
|
|
11
|
+
.ant-tabs-nav {
|
|
12
|
+
padding-left: 20px;
|
|
13
|
+
margin: 0;
|
|
14
|
+
.ant-tabs-tab {
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
}
|
|
17
|
+
.ant-tabs-tab-active {
|
|
18
|
+
.ant-tabs-tab-btn {
|
|
19
|
+
color: #217eb2;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.ant-tabs-ink-bar {
|
|
24
|
+
background-color: #217eb2;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/** registers 下的 Members / Controller / Officers / Share Transactions Page公用的样式 */
|
|
30
|
+
.registers-page-item {
|
|
31
|
+
height: 100%;
|
|
32
|
+
background: #f5f9fc;
|
|
33
|
+
.document-table-list-card {
|
|
34
|
+
height: 100%;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
background: transparent;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
padding: 0 20px 15px 20px;
|
|
40
|
+
.document-table-list-card-head {
|
|
41
|
+
align-items: center;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
padding-bottom: 14px;
|
|
44
|
+
.ant-btn {
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.table-list-card {
|
|
49
|
+
height: 100%;
|
|
50
|
+
padding: 8px 7px;
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
}
|
|
53
|
+
.registers-item-info {
|
|
54
|
+
width: 50%;
|
|
55
|
+
.title {
|
|
56
|
+
color: #217eb2;
|
|
57
|
+
font: normal normal bold 20px/27px Open Sans;
|
|
58
|
+
}
|
|
59
|
+
.last-updated-time {
|
|
60
|
+
color: #868686;
|
|
61
|
+
font: normal normal normal 14px/19px Open Sans;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAU,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,MAAM,OAAO,GAAG;IACf;QACC,KAAK,EAAE,aAAa;QACpB,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI;KAC7E;IACD;QACC,KAAK,EAAE,YAAY;QACnB,SAAS,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAU,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,MAAM,OAAO,GAAG;IACf;QACC,KAAK,EAAE,aAAa;QACpB,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI;KAC7E;IACD;QACC,KAAK,EAAE,YAAY;QACnB,SAAS,EAAE,OAAO;QAClB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI;KAC5E;IACD;QACC,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,QAAQ;KACnB;IACD;QACC,KAAK,EAAE,UAAU;QACjB,SAAS,EAAE,UAAU;KACrB;IACD;QACC,KAAK,EAAE,eAAe;QACtB,SAAS,EAAE,eAAe;KAC1B;CACD,CAAC;AACF,MAAM,sBAAsB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC5E,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExB,MAAM,OAAO,GAAG,oBAAC,KAAK,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAC,IAAI,EAAC,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAI,CAAC;IAC9F,OAAO,CACN,oBAAC,OAAO,IACP,SAAS,EAAC,SAAS,EACnB,KAAK,EAAC,wBAAwB,EAC9B,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAC,8BAA8B;QAE/C;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,SAAS,EAAC,2BAA2B,GAAG,CACzD,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,MAAM,iBAAiB,GAAG,CAAC,KAAyC,EAAE,EAAE;IACvE,MAAM,OAAO,GAAG;QACf;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,aAAa;YACxB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI;SAC7E;QACD;YACC,KAAK,EAAE,YAAY;YACnB,SAAS,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,MAAM,iBAAiB,GAAG,CAAC,KAAyC,EAAE,EAAE;IACvE,MAAM,OAAO,GAAG;QACf;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,aAAa;YACxB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI;SAC7E;QACD;YACC,KAAK,EAAE,YAAY;YACnB,SAAS,EAAE,OAAO;YAClB,MAAM,EAAE,CAAC,IAAS,EAAE,MAA6B,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI;SAC5E;QACD;YACC,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,QAAQ;SACnB;QACD;YACC,KAAK,EAAE,UAAU;YACjB,SAAS,EAAE,UAAU;SACrB;QACD;YACC,KAAK,EAAE,eAAe;YACtB,SAAS,EAAE,eAAe;SAC1B;KACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IAAC,SAAS,EAAC,qBAAqB,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAC,IAAI,EAAC,UAAU,EAAE,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,GAAI,CACnH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { faBookmark } from "@fortawesome/pro-regular-svg-icons";
|
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import { useFilingRecoreListEffect } from "../../../../../data/filing-record";
|
|
6
6
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
@@ -35,7 +35,7 @@ const FilingTimeLineCard = (props) => {
|
|
|
35
35
|
...list.filters.options,
|
|
36
36
|
});
|
|
37
37
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
38
|
-
React.createElement(Card, { className: "subscriptions-schedule-time-line-card shadow ring-1 ring-black ring-opacity-5" },
|
|
38
|
+
React.createElement(Card, { className: "subscriptions-schedule-time-line-card filing-time-line-card shadow ring-1 ring-black ring-opacity-5" },
|
|
39
39
|
React.createElement("div", { className: "subscriptions-schedule-time-line" },
|
|
40
40
|
React.createElement("div", { className: "time-line-heard" },
|
|
41
41
|
React.createElement("div", { className: "title" }, "Latest Filing Year Time Line"),
|
|
@@ -48,8 +48,8 @@ const FilingTimeLineCard = (props) => {
|
|
|
48
48
|
React.createElement("div", { className: "time-line-month-title" }, m.name),
|
|
49
49
|
React.createElement(Timeline, { items: m.items.map((item, index) => {
|
|
50
50
|
return {
|
|
51
|
-
className: classnames("time-line-dot"),
|
|
52
|
-
dot:
|
|
51
|
+
className: classnames("filing-time-line-dot"),
|
|
52
|
+
dot: React.createElement(FAIcon, { icon: faBookmark, color: "#fff" }),
|
|
53
53
|
children: (React.createElement("div", { className: "time-line-info" },
|
|
54
54
|
React.createElement("div", { className: "time-line-name", onClick: () => onQuickView(item.id) }, item.name),
|
|
55
55
|
React.createElement("div", null, item.dueDate ? (React.createElement(UTCShortDate, { value: item.dueDate, format: "DD MMM" })) : null))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingTimeLineCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingTimeLineCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,cAAc,CAAC;AACtB,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,MAAM,kBAAkB,GAAG,CAAC,KAA+B,EAAE,EAAE;IAC9D,MAAM,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAGrD,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAA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W,GAAI,CACzF,CACyB,CAC3B,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW,CAAC,EAAW;QAC/B,mBAAmB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
3
|
+
import { useAutoUpdateListData, useShareClassListEffect, } from "../../../../../data/share-class";
|
|
4
|
+
import { useRenderOnChange, observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
6
|
+
import { RefreshContext, RefreshState } from "../ShareClassProperties/RefreshContext";
|
|
7
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
8
|
+
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
9
|
+
import ShareClassForm from "../NewShareClassForm/ShareClassForm";
|
|
10
|
+
import NewShareClassFormDialog from "../NewShareClassForm";
|
|
11
|
+
import ShareClassItemCard from "../ShareClassItemCard";
|
|
12
|
+
import dayjs from "dayjs";
|
|
13
|
+
import "./index.less";
|
|
14
|
+
const ShareClassCardList = (props) => {
|
|
15
|
+
const { corporateId } = props;
|
|
16
|
+
const [addAble, setAddAble] = useState(false);
|
|
17
|
+
const [context] = useState(() => new RefreshState());
|
|
18
|
+
const view = useViewContext();
|
|
19
|
+
const list = useCreateListDataState({
|
|
20
|
+
filterDefaults: {
|
|
21
|
+
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: corporateId }],
|
|
22
|
+
// page: { Page: 1, PageSize: 21 },
|
|
23
|
+
},
|
|
24
|
+
}, [corporateId]);
|
|
25
|
+
useAutoUpdateListData(list, (d) => d.parentId === corporateId);
|
|
26
|
+
useRenderOnChange(() => list.filters.options);
|
|
27
|
+
useShareClassListEffect(list, (result, total) => {
|
|
28
|
+
list.union(result);
|
|
29
|
+
}, {
|
|
30
|
+
Total: false,
|
|
31
|
+
...list.filters.options,
|
|
32
|
+
});
|
|
33
|
+
return observe(() => {
|
|
34
|
+
return (React.createElement(ListDataContext.Provider, { value: list },
|
|
35
|
+
React.createElement(RefreshContext.Provider, { value: context },
|
|
36
|
+
React.createElement("div", { className: "share-class-card-list" },
|
|
37
|
+
React.createElement(ListHeaderTool, { addAble: true, searchHeader: true, sortable: false, onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
|
|
38
|
+
setAddAble(!addAble), searchOptions: { placeholder: "Search in share class" }, preExtra: () => (React.createElement("div", { className: "share-class-info" },
|
|
39
|
+
React.createElement("div", { className: "title" }, "Share Class List"),
|
|
40
|
+
React.createElement("div", { className: "last-updated-time" },
|
|
41
|
+
"Lates Update on ",
|
|
42
|
+
dayjs().format("DD MMM YYYY")))) }),
|
|
43
|
+
React.createElement(ListView, { className: "share-type-list-view", headerProps: { visible: false }, formViewTitle: "Add Share Class", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
|
|
44
|
+
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(ShareClassForm, { showView: true, corporateId: corporateId }), renderItem: ({ item, index }) => (React.createElement(ShareClassItemCard, { key: item.id, id: item.id })) })),
|
|
45
|
+
addAble && (React.createElement(NewShareClassFormDialog, { corporateId: corporateId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) })))));
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
export default ShareClassCardList;
|
|
49
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules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