@voplus/morpho-csp 1.2.167 → 1.2.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Modules.js +2 -0
- package/es/Modules.js.map +1 -1
- package/es/components/Header/index.less +20 -20
- package/es/components/RegisteresMenuItem/index.less +10 -10
- package/es/data/shareTransaction/metas.d.ts +3 -0
- package/es/data/shareTransaction/metas.js +6 -0
- package/es/data/shareTransaction/metas.js.map +1 -1
- package/es/modules/account/components/AccountOrganizations/index.less +26 -26
- package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
- package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +3 -8
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
- package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
- package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
- package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
- package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
- package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
- package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
- package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
- package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
- package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
- package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
- package/es/modules/corporate/company/components/CompanyProperties/index.d.ts +5 -0
- package/es/modules/corporate/company/components/CompanyProperties/index.js +79 -0
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -0
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.d.ts +9 -0
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.js +23 -0
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.js.map +1 -0
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.less +28 -0
- package/es/modules/corporate/company/components/InlineEditAddress/index.js +1 -1
- package/es/modules/corporate/company/components/InlineEditAddress/index.js.map +1 -1
- package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js +23 -14
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +44 -2
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +3 -1
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +8 -20
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +9 -9
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.d.ts +18 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +84 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.less +58 -0
- package/es/modules/corporate/company/controls/CorporateMenu/index.js +2 -2
- package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
- package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.d.ts +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +21 -8
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +33 -14
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js +5 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.d.ts +7 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.js +12 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.less +20 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +9 -19
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +10 -10
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.d.ts +7 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js +14 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.d.ts +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +24 -10
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +31 -17
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +6 -2
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
- package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.d.ts +7 -0
- package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.js +12 -0
- package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.less +20 -0
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +9 -23
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +10 -10
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.d.ts +7 -0
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js +14 -0
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.d.ts +7 -0
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js +21 -0
- package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.d.ts +6 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js +82 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.less +52 -0
- package/es/modules/corporate/company/pages/CompanyPage/state.d.ts +10 -0
- package/es/modules/corporate/company/pages/CompanyPage/state.js +55 -0
- package/es/modules/corporate/company/pages/CompanyPage/state.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +5 -5
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +18 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +3 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +3 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js +12 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.d.ts +5 -0
- package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js +13 -0
- package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
- package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
- package/es/modules/corporate/components/Statement/index.less +16 -16
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
- package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
- package/es/modules/corporate/pages/CorporatePage/index.d.ts +3 -0
- package/es/modules/corporate/pages/CorporatePage/index.js +21 -0
- package/es/modules/corporate/pages/CorporatePage/index.js.map +1 -0
- package/es/modules/corporate/pages/UnitCorporatePage/index.js +2 -2
- package/es/modules/corporate/pages/UnitCorporatePage/index.js.map +1 -1
- package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
- package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
- package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
- package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
- package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
- package/es/modules/order/components/OrderItem/index.less +21 -21
- package/es/modules/order/components/OrderItems/index.less +48 -48
- package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
- package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
- package/es/modules/order/controls/OrderLabel/index.less +21 -21
- package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
- package/es/modules/self-registration/clda-form/Download/index.less +41 -41
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
- package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
- package/es/modules/self-registration/components/Card/index.less +51 -51
- package/es/modules/self-registration/components/CheckSection/index.less +20 -20
- package/es/modules/self-registration/components/MemberCard/index.less +53 -53
- package/es/modules/self-registration/components/StripeForm/index.less +36 -36
- package/es/modules/self-registration/controls/Blink/index.less +27 -27
- package/es/modules/self-registration/controls/Section/index.less +79 -79
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
- package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
- package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
- package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
- package/es/modules/self-registration/shopping-cart/pages.less +6 -6
- package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
- package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
- package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
- package/es/routes.d.ts +6 -0
- package/es/routes.js +15 -6
- package/es/routes.js.map +1 -1
- package/es/style/common.less +66 -66
- package/package.json +1 -1
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
@import "../../../../../style/common.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.company-default-view {
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
|
|
9
|
-
// background-color: #f2f2f2;
|
|
10
|
-
.main-content-nav {
|
|
11
|
-
.main-nav-container {
|
|
12
|
-
box-shadow: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.company-title {
|
|
16
|
-
padding: 10px;
|
|
17
|
-
font-size: 18px;
|
|
18
|
-
line-height: 20px;
|
|
19
|
-
color: #000;
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
.company-name {
|
|
25
|
-
flex: 1;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.company-menu{
|
|
33
|
-
width: 290px !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.nav-item {
|
|
37
|
-
padding: 0 16px 0 24px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.company-document-list {
|
|
42
|
-
padding: 0;
|
|
43
|
-
background-color: #fff;
|
|
44
|
-
|
|
45
|
-
.list-view-header {
|
|
46
|
-
justify-content: flex-end;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.activity-log-view {
|
|
51
|
-
background-color: #fff !important;
|
|
52
|
-
margin: 0;
|
|
53
|
-
|
|
54
|
-
.view-title {
|
|
55
|
-
font-size: 20px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// .share-transaction-aside-content {
|
|
60
|
-
// padding: 0;
|
|
61
|
-
// .share-transaction-register-view {
|
|
62
|
-
// margin: 0 0 0 1rem;
|
|
63
|
-
// background-color: #fff;
|
|
64
|
-
// }
|
|
65
|
-
// }
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
@import "../../../../../style/common.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.company-default-view {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
// background-color: #f2f2f2;
|
|
10
|
+
.main-content-nav {
|
|
11
|
+
.main-nav-container {
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.company-title {
|
|
16
|
+
padding: 10px;
|
|
17
|
+
font-size: 18px;
|
|
18
|
+
line-height: 20px;
|
|
19
|
+
color: #000;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.company-name {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.company-menu{
|
|
33
|
+
width: 290px !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.nav-item {
|
|
37
|
+
padding: 0 16px 0 24px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.company-document-list {
|
|
42
|
+
padding: 0;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
|
|
45
|
+
.list-view-header {
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.activity-log-view {
|
|
51
|
+
background-color: #fff !important;
|
|
52
|
+
margin: 0;
|
|
53
|
+
|
|
54
|
+
.view-title {
|
|
55
|
+
font-size: 20px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// .share-transaction-aside-content {
|
|
60
|
+
// padding: 0;
|
|
61
|
+
// .share-transaction-register-view {
|
|
62
|
+
// margin: 0 0 0 1rem;
|
|
63
|
+
// background-color: #fff;
|
|
64
|
+
// }
|
|
65
|
+
// }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Col, Row } from "@voplus/antd";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import CompanyProperties from "../../components/CompanyProperties";
|
|
5
|
+
import RelatedDocument from "@voplus/morpho-document/es/controls/RelatedDocument";
|
|
6
|
+
import CompanyMemberListCard from "../../member-register/components/CompanyMemberListCard";
|
|
7
|
+
import OfficerListCard from "../../officer-register/components/OfficerListCard";
|
|
8
|
+
import styles from "./index.less";
|
|
9
|
+
const Dashboard = (props) => {
|
|
10
|
+
const { corporateId, membersRegisterId, officersRegisterId } = props;
|
|
11
|
+
return observe(() => (React.createElement("div", { className: styles["dashboard-content"] },
|
|
12
|
+
React.createElement(RelatedDocument, null,
|
|
13
|
+
React.createElement(Row, { gutter: [16, 0] },
|
|
14
|
+
React.createElement(Col, { span: 18, push: 6 },
|
|
15
|
+
membersRegisterId && (React.createElement(CompanyMemberListCard, { id: membersRegisterId, style: { height: "400px" } })),
|
|
16
|
+
officersRegisterId && (React.createElement(OfficerListCard, { parentId: officersRegisterId, style: { height: "400px" } }))),
|
|
17
|
+
React.createElement(Col, { span: 6, pull: 18 },
|
|
18
|
+
React.createElement(CompanyProperties, { id: corporateId })))))));
|
|
19
|
+
};
|
|
20
|
+
export default Dashboard;
|
|
21
|
+
//# sourceMappingURL=Dashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dashboard.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/Dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,oCAAoC,CAAC;AACnE,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,qBAAqB,MAAM,wDAAwD,CAAC;AAC3F,OAAO,eAAe,MAAM,mDAAmD,CAAC;AAChF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAIlB,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IAErE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QAC1C,oBAAC,eAAe;YACf,oBAAC,GAAG,IAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnB,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;oBACpB,iBAAiB,IAAI,CACrB,oBAAC,qBAAqB,IAAC,EAAE,EAAE,iBAAiB,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CAC5E;oBACA,kBAAkB,IAAI,CACtB,oBAAC,eAAe,IAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAI,CAC7E,CACI;gBACN,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE;oBACrB,oBAAC,iBAAiB,IAAC,EAAE,EAAE,WAAW,GAAI,CACjC,CACD,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { Redirect, Route, Switch, useRouteMatch } from "react-router";
|
|
3
|
+
import { faTableRows, faChartNetwork, faFileInvoice, faFolder, faScrollOld, faUserHeadset, faEllipsisVertical, } from "@fortawesome/pro-light-svg-icons";
|
|
4
|
+
import { State } from "./state";
|
|
5
|
+
import { Menu } from "@voplus/antd";
|
|
6
|
+
import { observe } from "@voplus/morpho-ui";
|
|
7
|
+
import { useCorporate } from "../../../../../data/corporate";
|
|
8
|
+
import { useLayout } from "@voplus/morpho-data";
|
|
9
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
11
|
+
import AnnualFilings from "../../../filing-record/components/AnnualFilings";
|
|
12
|
+
import Dashboard from "./Dashboard";
|
|
13
|
+
import CompanyMemberList from "../../member-register/components/CompanyMemberList";
|
|
14
|
+
import CorporateMenu from "../../controls/CorporateMenu";
|
|
15
|
+
import DocumentPage from "@voplus/morpho-document/es/pages/DocumentPage";
|
|
16
|
+
import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
17
|
+
import OfficerList from "../../officer-register/components/OfficerList";
|
|
18
|
+
import ControllerList from "../../controller-register/components/ControllerList";
|
|
19
|
+
import ShareTransactionList from "../../share-transactions-register/components/ShareTransactionList";
|
|
20
|
+
import RegisteresMenuItem from "../../../../../components/RegisteresMenuItem";
|
|
21
|
+
import Scrollbars from "react-custom-scrollbars";
|
|
22
|
+
import ServiceList from "../../../service/components/ServiceList";
|
|
23
|
+
import Statement from "../../../components/Statement";
|
|
24
|
+
import "./index.less";
|
|
25
|
+
const CompanyPage = (props) => {
|
|
26
|
+
const [state] = useState(new State());
|
|
27
|
+
const [menuKey, setMenuKey] = useState("/dashboard");
|
|
28
|
+
const [loaded, setLoaded] = useState(true);
|
|
29
|
+
const corporate = useCorporate(props.id, { includes: "registers" });
|
|
30
|
+
const match = useRouteMatch();
|
|
31
|
+
const layout = useLayout();
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
state.update(corporate);
|
|
34
|
+
}, [props.id]);
|
|
35
|
+
return observe(() => (React.createElement(MainContent, { className: "company-page" },
|
|
36
|
+
React.createElement(MainContent.Nav, { collapsible: true },
|
|
37
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
38
|
+
React.createElement("h2", { className: "company-title" },
|
|
39
|
+
React.createElement("div", { className: "company-name" }, corporate.name),
|
|
40
|
+
React.createElement(CorporateMenu, { id: corporate.id, unitId: match.params.id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })),
|
|
41
|
+
React.createElement(Menu, { className: "company-menu", mode: "inline", defaultSelectedKeys: ["/dashboard"], selectedKeys: [menuKey], onClick: ({ key }) => onClick(key) },
|
|
42
|
+
React.createElement(Menu.Item, { key: "/dashboard", icon: React.createElement(FAIcon, { icon: faTableRows }) }, "Dashboard"),
|
|
43
|
+
React.createElement(RegisteresMenuItem, { id: corporate.id, onClick: onClick, onCreateViewSave: (data) => state.update(data) }),
|
|
44
|
+
React.createElement(Menu.Item, { key: "/annualFilings", disabled: true, icon: React.createElement(FAIcon, { icon: faScrollOld }) }, "Annual Filings"),
|
|
45
|
+
React.createElement(Menu.Item, { key: "/service", disabled: true, icon: React.createElement(FAIcon, { icon: faUserHeadset }) }, "Service"),
|
|
46
|
+
React.createElement(Menu.Item, { key: "/statement", disabled: true, icon: React.createElement(FAIcon, { icon: faFileInvoice }) }, "Statement"),
|
|
47
|
+
React.createElement(Menu.Item, { key: "/documents", icon: React.createElement(FAIcon, { icon: faFolder }) }, "Documents"),
|
|
48
|
+
React.createElement(Menu.Item, { key: "/activities", icon: React.createElement(FAIcon, { icon: faChartNetwork }) }, "Activities")))),
|
|
49
|
+
React.createElement("div", { className: "company-page-content" },
|
|
50
|
+
React.createElement(Switch, null,
|
|
51
|
+
React.createElement(Route, { path: `${match.path}/dashboard` },
|
|
52
|
+
React.createElement(Dashboard, { corporateId: corporate.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId })),
|
|
53
|
+
React.createElement(Route, { path: `${match.path}/registers/OfficersRegister` }, state.OfficerId ? (React.createElement(OfficerList, { parentId: state.OfficerId, allowEdit: corporate.allowEdit })) : null),
|
|
54
|
+
React.createElement(Route, { path: `${match.path}/registers/ShareTransactionsRegister` }, state.shareTransactionId ? (React.createElement(ShareTransactionList, { parentId: state.shareTransactionId, memberId: state.MemberId, readonly: !corporate.allowEdit, sidebar: true, headerTitle: "ShareTransactions Register" })) : null),
|
|
55
|
+
React.createElement(Route, { path: `${match.path}/registers/MembersRegister` }, state.MemberId ? (React.createElement(CompanyMemberList, { id: state.MemberId, allowEdit: corporate.allowEdit })) : null),
|
|
56
|
+
React.createElement(Route, { path: `${match.path}/registers/ControllerRegister` }, state.ControllerId && loaded ? (React.createElement(ControllerList, { parentId: state.ControllerId, allowEdit: corporate.allowEdit, onReload: onReload })) : null),
|
|
57
|
+
React.createElement(Route, { path: `${match.path}/annualFilings` },
|
|
58
|
+
React.createElement(AnnualFilings, { id: corporate.id })),
|
|
59
|
+
React.createElement(Route, { path: `${match.path}/service` },
|
|
60
|
+
React.createElement(ServiceList, { parentId: corporate.id })),
|
|
61
|
+
React.createElement(Route, { path: `${match.path}/statement` },
|
|
62
|
+
React.createElement(Statement, null)),
|
|
63
|
+
React.createElement(Route, { path: `${match.path}/documents` },
|
|
64
|
+
React.createElement(DocumentPage, { root: corporate.id, route: `${match.url}/documents`, className: "corporate-documents" })),
|
|
65
|
+
React.createElement(Route, { path: `${match.path}/activities` },
|
|
66
|
+
React.createElement(ActivityLog, { id: corporate.id })),
|
|
67
|
+
React.createElement(Route, { render: () => React.createElement(Redirect, { to: `${match.url}/dashboard` }) }))))));
|
|
68
|
+
function onReload() {
|
|
69
|
+
setLoaded(false);
|
|
70
|
+
setTimeout(() => {
|
|
71
|
+
setLoaded(true);
|
|
72
|
+
}, 100);
|
|
73
|
+
}
|
|
74
|
+
function onClick(key) {
|
|
75
|
+
if (key === "Registeres")
|
|
76
|
+
return;
|
|
77
|
+
setMenuKey(key.toString());
|
|
78
|
+
layout.history.push(`${match.url}${key}`);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export default CompanyPage;
|
|
82
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,aAAa,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,EACN,WAAW,EACX,cAAc,EACd,aAAa,EACb,QAAQ,EACR,WAAW,EACX,aAAa,EACb,kBAAkB,GAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,aAAa,MAAM,8BAA8B,CAA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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;IAED,SAAS,OAAO,CAAC,GAAW;QAC3B,IAAI,GAAG,KAAK,YAAY;YAAE,OAAO;QACjC,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC;IAC3C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@import "../../../../../style/common.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.company-page {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
.main-content-nav {
|
|
10
|
+
.main-nav-container {
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.company-title {
|
|
15
|
+
padding: 10px;
|
|
16
|
+
font-size: 18px;
|
|
17
|
+
line-height: 20px;
|
|
18
|
+
color: #000;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
.company-name {
|
|
24
|
+
flex: 1;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.company-menu {
|
|
32
|
+
width: 290px !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.nav-item {
|
|
36
|
+
padding: 0 16px 0 24px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.company-page-content {
|
|
41
|
+
padding: 0;
|
|
42
|
+
background: #fff;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.dashboard-content {
|
|
48
|
+
height: 100%;
|
|
49
|
+
background: #F5F9FC;
|
|
50
|
+
|
|
51
|
+
:global {}
|
|
52
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;QAFY;;;;;WAA6B;QAGxC,kB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AA/BY;IAAX,UAAU;wCAA8B;AAMjC;IAAP,MAAM;mCAEN;AAES;IAAT,QAAQ;sCAGR;AAES;IAAT,QAAQ;+CAKR;AAES;IAAT,QAAQ;qCAGR;AAES;IAAT,QAAQ;yCAGR"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.share-movements-data-popover {
|
|
3
|
-
.ant-table-thead > tr > th,
|
|
4
|
-
.ant-table-tbody > tr > td {
|
|
5
|
-
padding: 10px 15px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.share-movements-data-icon {
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.share-movements-data-popover {
|
|
3
|
+
.ant-table-thead > tr > th,
|
|
4
|
+
.ant-table-tbody > tr > td {
|
|
5
|
+
padding: 10px 15px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
.share-movements-data-icon {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./index.less";
|
|
2
|
-
import { InlineEdit, useAsideContentContext } from "@voplus/morpho-ui";
|
|
3
1
|
import React, { useLayoutEffect, useState } from "react";
|
|
2
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { InlineEdit, useAsideContentContext } from "@voplus/morpho-ui";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
5
|
import { useShareTransaction, useShareTransactionStore, } from "../../../../../../data/shareTransaction";
|
|
5
6
|
import CurrencyView from "../../../../../../components/CurrencyView";
|
|
6
7
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
7
8
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
8
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
9
9
|
import ShareMovementsDataIcon from "../ShareMovementsDataIcon";
|
|
10
10
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
11
11
|
import classnames from "classnames";
|
|
12
12
|
import moment from "moment";
|
|
13
|
-
import
|
|
13
|
+
import "./index.less";
|
|
14
14
|
const ShareTransactionItem = (props) => {
|
|
15
15
|
const { id, sidebar, className } = props;
|
|
16
16
|
const shareTransaction = useShareTransaction(id, {
|
|
@@ -49,7 +49,7 @@ const ShareTransactionItem = (props) => {
|
|
|
49
49
|
: null }),
|
|
50
50
|
React.createElement("span", { className: "transaction-type" }, shareTransaction.transactionType),
|
|
51
51
|
React.createElement(CurrencyView, { currency: shareTransaction.currency, readonly: shareTransaction.readonly, className: "transaction-currency", onChange: (currency) => shareStore.edit(id, { data: { Currency: currency }, error: "message" }) }),
|
|
52
|
-
!!(shareTransaction.lines && shareTransaction.lines.length) && (React.createElement(ShareMovementsDataIcon, { lines: shareTransaction.lines }))),
|
|
52
|
+
!!(shareTransaction.lines && shareTransaction.lines.length) && (React.createElement(ShareMovementsDataIcon, { lines: shareTransaction.lines }))), tools: React.createElement(ToolBar, { id: id },
|
|
53
53
|
React.createElement(Open, { size: "middle", url: `/shareTransactions/${id}` })) })));
|
|
54
54
|
};
|
|
55
55
|
export default ShareTransactionItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAA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IAAI,EAAE;4BACL,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC;yBAC7B;wBACD,KAAK,EAAE,SAAS;qBACf,CAAC;oBACJ,CAAC,CAAC,IAAI,GAEP;YACF,8BAAM,SAAS,EAAC,kBAAkB,IAAE,gBAAgB,CAAC,eAAe,CAAQ;YAC5E,oBAAC,YAAY,IACZ,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,SAAS,EAAC,sBAAsB,EAChC,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CACtB,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEvE;YACD,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,IAAI,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAC/D,oBAAC,sBAAsB,IAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,GAAI,CACzD,CACI,EAEP,KAAK,EACJ,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;YACd,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,sBAAsB,EAAE,EAAE,GAAI,CAC9C,GAEV,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import "~@voplus/antd/es/style/themes/default";
|
|
2
|
+
|
|
2
3
|
:global {
|
|
3
4
|
.shareTransaction-item {
|
|
4
5
|
position: relative;
|
|
@@ -7,44 +8,58 @@
|
|
|
7
8
|
margin: 0 20px;
|
|
8
9
|
line-height: 28px;
|
|
9
10
|
border-bottom: 1px solid #f2f2f2;
|
|
11
|
+
|
|
12
|
+
&:hover{
|
|
13
|
+
background: rgba(255, 255, 255, 0);
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
&.shareTransaction-item-first {
|
|
11
17
|
padding-top: 10px;
|
|
12
18
|
}
|
|
19
|
+
|
|
13
20
|
&.sidebar {
|
|
14
21
|
.add-tag-btn {
|
|
15
22
|
display: none;
|
|
16
23
|
}
|
|
17
24
|
}
|
|
25
|
+
|
|
18
26
|
.task-move,
|
|
19
27
|
.clock {
|
|
20
28
|
display: inline-block;
|
|
21
29
|
margin-right: 5px;
|
|
22
30
|
width: 14px;
|
|
23
31
|
}
|
|
32
|
+
|
|
24
33
|
.task-move {
|
|
25
34
|
cursor: move;
|
|
26
35
|
color: #000;
|
|
27
36
|
}
|
|
37
|
+
|
|
28
38
|
.shareTransaction-item-info {
|
|
29
39
|
.morpho-inline-edit {
|
|
30
40
|
display: inline-block;
|
|
31
41
|
min-width: 110px;
|
|
32
42
|
// margin-right: 30px;
|
|
33
43
|
}
|
|
44
|
+
|
|
34
45
|
.clock {
|
|
35
46
|
margin-right: 5px;
|
|
36
47
|
}
|
|
48
|
+
|
|
37
49
|
.transaction-date {
|
|
38
50
|
cursor: pointer;
|
|
39
51
|
}
|
|
52
|
+
|
|
40
53
|
.transaction-type {
|
|
41
54
|
display: inline-block;
|
|
42
55
|
width: 100px;
|
|
43
56
|
}
|
|
57
|
+
|
|
44
58
|
.transaction-currency {
|
|
45
59
|
display: inline-block;
|
|
46
60
|
width: 90px;
|
|
47
61
|
cursor: pointer;
|
|
62
|
+
|
|
48
63
|
.ant-select {
|
|
49
64
|
width: 100px !important;
|
|
50
65
|
}
|
|
@@ -58,15 +73,17 @@
|
|
|
58
73
|
right: 20px;
|
|
59
74
|
margin-top: -16px;
|
|
60
75
|
}
|
|
76
|
+
|
|
61
77
|
.transaction-currency:hover,
|
|
62
78
|
.share-movements-data-icon:hover,
|
|
63
79
|
.transaction-date:hover {
|
|
64
80
|
color: @primary-color;
|
|
65
81
|
}
|
|
82
|
+
|
|
66
83
|
&.hover {
|
|
67
84
|
.tool-bar {
|
|
68
85
|
display: block;
|
|
69
86
|
}
|
|
70
87
|
}
|
|
71
88
|
}
|
|
72
|
-
}
|
|
89
|
+
}
|
|
@@ -10,6 +10,7 @@ import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
|
10
10
|
import { LoadingOutlined } from "@ant-design/icons";
|
|
11
11
|
import { State } from "./state";
|
|
12
12
|
import { Menu } from "@voplus/antd";
|
|
13
|
+
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
|
13
14
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
14
15
|
import ShareTransactionItem from "../ShareTransactionItem";
|
|
15
16
|
import ShareTransactionPropertiesView from "../ShareTransactionPropertiesView";
|
|
@@ -49,7 +50,8 @@ const ShareTransactionList = (props) => {
|
|
|
49
50
|
header: header,
|
|
50
51
|
sortable: false,
|
|
51
52
|
addAble: false,
|
|
52
|
-
}, propertiesView: (id) => sidebar && React.createElement(ShareTransactionPropertiesView, { id: id, memberId: memberId }), renderItem: ({ item, index, connectDragSource }) => (React.createElement(
|
|
53
|
+
}, propertiesView: (id) => sidebar && React.createElement(ShareTransactionPropertiesView, { id: id, memberId: memberId }), renderItem: ({ item, index, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id },
|
|
54
|
+
React.createElement(ShareTransactionItem, { id: item.id, connectDragSource: connectDragSource, sidebar: sidebar }))), moveAfter: moveAfter }),
|
|
53
55
|
state.addAble && (React.createElement("div", { className: "create-shareTransaction-form" },
|
|
54
56
|
React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: `Name of ${state.type} for ShareTransaction`, suffix: state.loading ? React.createElement(LoadingOutlined, null) : "", onPressEnter: onSave, onKeyDown: (e) => {
|
|
55
57
|
if (e.keyCode === 27)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.tsx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AC,GAAG,EAAC,aAAa,kBAAwB;gBACpD,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAC,QAAQ,aAAmB;gBAC1C,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAC,QAAQ,aAAmB;gBAC1C,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAC,QAAQ,aAAmB,CACpC,CACP;SACD,GACA,CACF,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QACpC,oBAAC,QAAQ,IACR,WAAW,EAAE;gBACZ,MAAM,EAAE,MAAM;gBACd,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,KAAK;aACd,EACD,cAAc,EAAE,CAAC,EAAE,EAAE,EAAE,CACtB,OAAO,IAAI,oBAAC,8BAA8B,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAI,EAE1E,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAE,EAAE,CAAC,CACnD,oBAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,6BAA6B,EAC7B,wBAAwB,GACxB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE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,MAAM,UAAU,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE;gBACL,QAAQ,EAAE,QAAQ;gBAClB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,eAAe,EAAE,KAAK,CAAC,IAAI;gBAC3B,QAAQ,EAAE,KAAK;aACf;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
|
|
2
3
|
:global {
|
|
3
4
|
.create-shareTransaction-form {
|
|
4
5
|
padding: 10px 20px;
|
|
5
6
|
border-top: 1px solid @border-color-base;
|
|
6
7
|
background-color: #fff;
|
|
8
|
+
|
|
7
9
|
:global {
|
|
8
10
|
.ant-input {
|
|
9
11
|
padding: 0;
|
|
@@ -13,4 +15,4 @@
|
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
|
-
}
|
|
18
|
+
}
|