@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,40 +1,40 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.company-details-view {
|
|
3
|
-
height: 100%;
|
|
4
|
-
.company-amount-title {
|
|
5
|
-
color: rgba(0, 0, 0, 0.85);
|
|
6
|
-
font-weight: bold;
|
|
7
|
-
font-size: 16px;
|
|
8
|
-
margin-bottom: 10px;
|
|
9
|
-
}
|
|
10
|
-
h4 {
|
|
11
|
-
padding: 10px 0;
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
.ant-timeline {
|
|
15
|
-
margin-top: 20px;
|
|
16
|
-
}
|
|
17
|
-
.card-amount {
|
|
18
|
-
margin-bottom: 15px;
|
|
19
|
-
}
|
|
20
|
-
.card-company {
|
|
21
|
-
position: relative;
|
|
22
|
-
margin-bottom: 15px;
|
|
23
|
-
&:hover .hover-edit-btn {
|
|
24
|
-
display: block;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
}
|
|
27
|
-
.ant-descriptions-item-label {
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
}
|
|
30
|
-
.ant-descriptions-extra .ant-btn {
|
|
31
|
-
padding: 0 0 0 10px;
|
|
32
|
-
height: auto;
|
|
33
|
-
}
|
|
34
|
-
.hover-edit-btn {
|
|
35
|
-
display: none;
|
|
36
|
-
height: auto;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.company-details-view {
|
|
3
|
+
height: 100%;
|
|
4
|
+
.company-amount-title {
|
|
5
|
+
color: rgba(0, 0, 0, 0.85);
|
|
6
|
+
font-weight: bold;
|
|
7
|
+
font-size: 16px;
|
|
8
|
+
margin-bottom: 10px;
|
|
9
|
+
}
|
|
10
|
+
h4 {
|
|
11
|
+
padding: 10px 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
.ant-timeline {
|
|
15
|
+
margin-top: 20px;
|
|
16
|
+
}
|
|
17
|
+
.card-amount {
|
|
18
|
+
margin-bottom: 15px;
|
|
19
|
+
}
|
|
20
|
+
.card-company {
|
|
21
|
+
position: relative;
|
|
22
|
+
margin-bottom: 15px;
|
|
23
|
+
&:hover .hover-edit-btn {
|
|
24
|
+
display: block;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
.ant-descriptions-item-label {
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
}
|
|
30
|
+
.ant-descriptions-extra .ant-btn {
|
|
31
|
+
padding: 0 0 0 10px;
|
|
32
|
+
height: auto;
|
|
33
|
+
}
|
|
34
|
+
.hover-edit-btn {
|
|
35
|
+
display: none;
|
|
36
|
+
height: auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
3
|
+
import { Skeleton } from "@voplus/antd";
|
|
4
|
+
import { useCorporate, useCorporateStore, } from "../../../../../data/corporate";
|
|
5
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
6
|
+
import InlineEditAddress from "../InlineEditAddress";
|
|
7
|
+
import InlineEditCountry from "../InlineEditCountry";
|
|
8
|
+
import InlineEditType from "../InlineEditType";
|
|
9
|
+
import classnames from "classnames";
|
|
10
|
+
import moment from "moment";
|
|
11
|
+
const CompanyPropertiesCard = (props) => {
|
|
12
|
+
const { id } = props;
|
|
13
|
+
const corporate = useCorporate(id, { includes: "registers" });
|
|
14
|
+
const corporateStore = useCorporateStore();
|
|
15
|
+
return observe(() => {
|
|
16
|
+
const dataList = [
|
|
17
|
+
{
|
|
18
|
+
title: "Country of Registration",
|
|
19
|
+
content: (React.createElement(InlineEditCountry, { country: corporate.jurisdiction, list: corporate.allowedJurisdictions, onChange: (country) => save({
|
|
20
|
+
Jurisdiction: country,
|
|
21
|
+
}) })),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: "Type",
|
|
25
|
+
content: (React.createElement(InlineEditType, { type: corporate.corporateType, list: ["Proprietorship", "Company", "Partnership"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
26
|
+
CorporateType: value,
|
|
27
|
+
}) })),
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
title: "Liability Type",
|
|
31
|
+
content: (React.createElement(InlineEditType, { type: corporate.liabilityType, list: ["Unlimited", "LimitedByShares", "LimitedByGuarantee"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
32
|
+
LiabilityType: value,
|
|
33
|
+
}) })),
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
title: "Registration Number",
|
|
37
|
+
content: (React.createElement(InlineEdit, { defaultValue: corporate.registrationNumber, editable: corporate.allowEdit, content: (v) => v.store.value ? (React.createElement("span", null, v.store.value)) : (React.createElement("span", { className: "add-info-style" }, "No Registration Number")), onSave: (value) => value &&
|
|
38
|
+
value !== corporate.registrationNumber &&
|
|
39
|
+
save({
|
|
40
|
+
RegistrationNumber: value,
|
|
41
|
+
}) })),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
title: "Registration Date",
|
|
45
|
+
content: (React.createElement(InlineEdit, { defaultValue: moment(corporate.registrationDate), editable: corporate.allowEdit, content: (v) => corporate.registrationDate ? (React.createElement("span", null, moment(corporate.registrationDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "No Registration Date")), editor: DateInputEditor, onSave: changeRegistrationDate })),
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
title: "Registered Address",
|
|
49
|
+
content: (React.createElement(InlineEditAddress, { address: corporate.registeredAddress, readonly: !corporate.allowEdit, modal: true, onChange: (address) => save({
|
|
50
|
+
RegisteredAddress: address,
|
|
51
|
+
}) })),
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
return corporate.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement("div", { className: "mt-5 overflow-hidden bg-white shadow sm:rounded-lg" },
|
|
55
|
+
React.createElement("div", { className: "px-4 py-4 sm:px-6" },
|
|
56
|
+
React.createElement("h3", { className: "text-lg font-medium leading-6 text-gray-900" }, "Company Details")),
|
|
57
|
+
React.createElement("div", { className: "border-t border-gray-200" },
|
|
58
|
+
React.createElement("dl", null, dataList.map((item, index) => (React.createElement("div", { key: index, className: classnames("flex items-center px-4 py-4 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", {
|
|
59
|
+
"bg-gray-50": index % 2 === 0,
|
|
60
|
+
"bg-white": index % 2 === 1,
|
|
61
|
+
}) },
|
|
62
|
+
React.createElement("div", { className: "text-sm font-medium text-gray-500" }, item.title),
|
|
63
|
+
React.createElement("div", { className: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0" }, item.content))))))));
|
|
64
|
+
async function save(options) {
|
|
65
|
+
await corporateStore.edit(id, {
|
|
66
|
+
data: options,
|
|
67
|
+
error: "message",
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function changeRegistrationDate(v) {
|
|
71
|
+
// date未变更不保存
|
|
72
|
+
if ((corporate === null || corporate === void 0 ? void 0 : corporate.registrationDate) && moment(v).isSame(corporate.registrationDate, "day"))
|
|
73
|
+
return;
|
|
74
|
+
save({ RegistrationDate: v });
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
export default CompanyPropertiesCard;
|
|
79
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyProperties/index.tsx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AAC;QAEF,KAAK,UAAU,IAAI,CAAC,OAAiC;YACpD,MAAM,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE;gBAC7B,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;QACJ,CAAC;QAED,SAAS,sBAAsB,CAAC,CAAgB;YAC/C,aAAa;YACb,IAAI,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,gBAAgB,KAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,gBAAgB,EAAE,KAAK,CAAC;gBACrF,OAAO;YACR,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAQ,EAAE,CAAC,CAAC;QACtC,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICompanyMember, MemberStore } from "../../../../../data/member";
|
|
3
|
+
import { IOfficer, OfficerStore } from "../../../../../data/officer";
|
|
4
|
+
declare const CompanyRegisterHead: (props: {
|
|
5
|
+
register: IOfficer | ICompanyMember;
|
|
6
|
+
store: MemberStore | OfficerStore;
|
|
7
|
+
openUrl: string;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default CompanyRegisterHead;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import CompanyRegisterMenu from "../../controls/CompanyRegisterMenu";
|
|
5
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
6
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
7
|
+
import styles from "./index.less";
|
|
8
|
+
const CompanyRegisterHead = (props) => {
|
|
9
|
+
const { register, store, openUrl } = props;
|
|
10
|
+
return observe(() => {
|
|
11
|
+
var _a, _b, _c;
|
|
12
|
+
return (React.createElement("div", { className: styles["register-head"] },
|
|
13
|
+
React.createElement("div", { className: "tool-bar-content" },
|
|
14
|
+
React.createElement(ToolBar, { showMenu: false },
|
|
15
|
+
React.createElement(Open, { url: openUrl }),
|
|
16
|
+
React.createElement(CompanyRegisterMenu, { id: register.id, unitId: register.contact.id, store: store, closeAside: true }))),
|
|
17
|
+
React.createElement(UnitAvatar, { id: register.contact.id, size: 70 }),
|
|
18
|
+
React.createElement("div", { className: "register-name" }, (_b = (_a = register.identity) === null || _a === void 0 ? void 0 : _a.fullName) !== null && _b !== void 0 ? _b : register.contact.name),
|
|
19
|
+
React.createElement("div", { className: "register-type" }, ((_c = register) === null || _c === void 0 ? void 0 : _c.position) || "Member")));
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
export default CompanyRegisterHead;
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyRegisterHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,mBAAmB,GAAG,CAAC,KAI5B,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC;YACtC,6BAAK,SAAS,EAAC,kBAAkB;gBAChC,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK;oBACvB,oBAAC,IAAI,IAAC,GAAG,EAAE,OAAO,GAAI;oBACtB,oBAAC,mBAAmB,IACnB,EAAE,EAAE,QAAQ,CAAC,EAAE,EACf,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,EAC3B,KAAK,EAAE,KAAK,EACZ,UAAU,SACT,CACO,CACL;YACN,oBAAC,UAAU,IAAC,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,GAAI;YACjD,6BAAK,SAAS,EAAC,eAAe,IAAE,MAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,QAAQ,mCAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAO;YAC3F,6BAAK,SAAS,EAAC,eAAe,IAAE,CAAA,MAAC,QAAqB,0CAAE,QAAQ,KAAI,QAAQ,CAAO,CAC9E,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.register-head {
|
|
2
|
+
position: relative;
|
|
3
|
+
text-align: center;
|
|
4
|
+
padding: 10px 0;
|
|
5
|
+
margin: 0 20px;
|
|
6
|
+
|
|
7
|
+
:global {
|
|
8
|
+
.tool-bar-content {
|
|
9
|
+
text-align: right;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.register-name {
|
|
13
|
+
color: #000;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
margin-top: 12px;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
&.inline-edit {
|
|
20
|
+
cursor: text;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.register-type {
|
|
25
|
+
margin-bottom: 6px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -17,7 +17,7 @@ const InlineEditAddress = (props) => {
|
|
|
17
17
|
(registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.line2) ? (registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.line2) + ", " : registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.line2,
|
|
18
18
|
(registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.city) ? (registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.city) + ", " : registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.city,
|
|
19
19
|
(registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.state) ? (registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.state) + ", " : registeredAddress === null || registeredAddress === void 0 ? void 0 : registeredAddress.state, registeredAddress === null || registeredAddress === void 0 ? void 0 :
|
|
20
|
-
registeredAddress.country)) : readonly ? ("") : ("Add Address");
|
|
20
|
+
registeredAddress.country)) : readonly ? ("") : (React.createElement("span", { className: "add-info-style" }, "Add Address"));
|
|
21
21
|
return observe(() => (React.createElement(React.Fragment, null,
|
|
22
22
|
modal && (React.createElement(Modal, { visible: editable, title: "Address", width: 480, wrapClassName: "inline-edit-address", footer: null, onOk: onOk, onCancel: cancel },
|
|
23
23
|
React.createElement(Form, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/InlineEditAddress/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAS,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC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,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK;QACrF,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,EAAC,CAAC,CAAC,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,IAAG,IAAI,CAAC,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI;QAClF,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,EAAC,CAAC,CAAC,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,IAAG,IAAI,CAAC,CAAC,CAAC,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,KAAK,EACrF,iBAAiB,aAAjB,iBAAiB;QAAjB,iBAAiB,CAAE,OAAO,CACX,CACjB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CACd,EAAE,CACF,CAAC,CAAC,CAAC,CACH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/InlineEditAddress/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAS,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAS1B,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;I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OAAO,CAAC,CAAC,CAAC,CAAA,CAAC;IACtD,CAAC;AACF,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.inline-edit-address,
|
|
3
|
-
.company-information {
|
|
4
|
-
.ant-col .ant-row.ant-form-item {
|
|
5
|
-
display: block;
|
|
6
|
-
.ant-col.ant-form-item-label {
|
|
7
|
-
display: inline;
|
|
8
|
-
width: 100%;
|
|
9
|
-
text-align: left;
|
|
10
|
-
> label {
|
|
11
|
-
height: auto;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.inline-edit-address,
|
|
3
|
+
.company-information {
|
|
4
|
+
.ant-col .ant-row.ant-form-item {
|
|
5
|
+
display: block;
|
|
6
|
+
.ant-col.ant-form-item-label {
|
|
7
|
+
display: inline;
|
|
8
|
+
width: 100%;
|
|
9
|
+
text-align: left;
|
|
10
|
+
> label {
|
|
11
|
+
height: auto;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { useController } from "../../../../../../data/controller";
|
|
4
|
-
import { Badge } from "@voplus/antd";
|
|
3
|
+
import { useController, useControllerStore } from "../../../../../../data/controller";
|
|
4
|
+
import { Badge, Skeleton } from "@voplus/antd";
|
|
5
5
|
import { faEnvelope, faPhone } from "@fortawesome/pro-light-svg-icons";
|
|
6
6
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
8
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
9
|
+
import CompanyControllerMenu from "../../../controls/CompanyRegisterMenu";
|
|
7
10
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
8
11
|
import classnames from "classnames";
|
|
9
12
|
import moment from "moment";
|
|
10
13
|
import styles from "./index.less";
|
|
11
14
|
const ControllerItem = (props) => {
|
|
12
15
|
const { id, unitId, index } = props;
|
|
16
|
+
const [isHover, setIsHover] = useState(false);
|
|
13
17
|
const controller = useController(id);
|
|
18
|
+
const store = useControllerStore();
|
|
14
19
|
return observe(() => {
|
|
15
20
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
16
21
|
const phone = (_a = controller.phone) !== null && _a !== void 0 ? _a : (_b = controller.contact) === null || _b === void 0 ? void 0 : _b.phone;
|
|
17
22
|
const email = (_c = controller.email) !== null && _c !== void 0 ? _c : (_d = controller.contact) === null || _d === void 0 ? void 0 : _d.email;
|
|
18
|
-
return (React.createElement("div", { className: classnames(styles["controller-item"],
|
|
23
|
+
return (React.createElement("div", { className: classnames(styles["controller-item"]), onMouseOver: () => setIsHover(true), onMouseLeave: () => setIsHover(false) }, controller.loading ? (React.createElement(Skeleton, { avatar: true, paragraph: { rows: 1 } })) : (React.createElement(React.Fragment, null,
|
|
19
24
|
React.createElement("div", { className: "avatar" },
|
|
20
25
|
React.createElement(UnitAvatar, { id: unitId, index: index, size: "large" })),
|
|
21
|
-
React.createElement("div", { className: "controller-content" },
|
|
22
|
-
React.createElement("div", { className: "
|
|
23
|
-
React.createElement("div", { className: "font-medium text-indigo-600 truncate" }, (_f = (_e = controller.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = controller.contact) === null || _g === void 0 ? void 0 : _g.name),
|
|
24
|
-
React.createElement("div", { className: "
|
|
25
|
-
React.createElement("div", { className: "px-2 inline-flex leading-5 font-semibold rounded-full bg-green-100 text-green-800" }, controller.confirmationStatus))),
|
|
26
|
-
React.createElement("div", { className: "data-bar sm:flex sm:justify-between mt-1" },
|
|
27
|
-
React.createElement("div", null,
|
|
26
|
+
React.createElement("div", { className: "controller-item-content" },
|
|
27
|
+
React.createElement("div", { className: "controller-item-info" },
|
|
28
|
+
React.createElement("div", { className: "controller-item-name font-medium text-indigo-600 truncate" }, (_f = (_e = controller.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = controller.contact) === null || _g === void 0 ? void 0 : _g.name),
|
|
29
|
+
React.createElement("div", { className: "controller-item-data-bar" },
|
|
28
30
|
email && (React.createElement("span", { className: "text-sm text-gray-500 margin-right-15" },
|
|
29
31
|
React.createElement(FAIcon, { icon: faEnvelope }),
|
|
30
32
|
email)),
|
|
@@ -36,10 +38,17 @@ const ControllerItem = (props) => {
|
|
|
36
38
|
moment(controller.appointment).format("YYYY-MM-DD"))),
|
|
37
39
|
controller.cease && (React.createElement("span", { className: "text-sm text-gray-500 margin-right-15" },
|
|
38
40
|
"Cease: ",
|
|
39
|
-
moment(controller.cease).format("YYYY-MM-DD")))),
|
|
40
|
-
|
|
41
|
+
moment(controller.cease).format("YYYY-MM-DD"))))),
|
|
42
|
+
React.createElement("div", { className: classnames("controller-item-menus", { hide: isHover }) },
|
|
43
|
+
React.createElement("div", { className: "controller-item-status" },
|
|
44
|
+
React.createElement("div", { className: "px-2 leading-5 font-semibold rounded-full bg-green-100 text-green-800" }, controller.confirmationStatus)),
|
|
45
|
+
React.createElement("div", { className: "controller-item-identity" },
|
|
41
46
|
!controller.identity && React.createElement(Badge, { status: "warning", text: "Need Identity Info" }),
|
|
42
|
-
controller.status && controller.identity && (React.createElement("div", null, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" }))))))
|
|
47
|
+
controller.status && controller.identity && (React.createElement("div", null, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))))),
|
|
48
|
+
React.createElement("div", { className: classnames("controller-item-tool", { show: isHover }), onClick: (e) => e.stopPropagation() },
|
|
49
|
+
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
50
|
+
React.createElement(Open, { url: `/controller/${id}` }),
|
|
51
|
+
React.createElement(CompanyControllerMenu, { id: id, unitId: controller.contact.id, store: store, closeAside: true }))))))));
|
|
43
52
|
});
|
|
44
53
|
};
|
|
45
54
|
export default ControllerItem;
|
package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,qBAAqB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,cAAc,GAAG,CAAC,KAUvB,E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,CACI,CACD;gBACN,6BACC,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAChE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE;oBAEnC,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;wBAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,eAAe,EAAE,EAAE,GAAI;wBAClC,oBAAC,qBAAqB,IACrB,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,EAC7B,KAAK,EAAE,KAAK,EACZ,UAAU,SACT,CACO,CACL,CACD,CACU,CACjB,CACI,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less
CHANGED
|
@@ -10,8 +10,50 @@
|
|
|
10
10
|
margin-right: 10px;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.controller-content {
|
|
13
|
+
.controller-item-content {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
14
17
|
width: 100%;
|
|
18
|
+
|
|
19
|
+
.controller-item-info {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
|
|
23
|
+
.controller-item-data-bar {
|
|
24
|
+
min-height: 22px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.controller-item-menus {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
width: 132px;
|
|
32
|
+
|
|
33
|
+
&.hide {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.controller-item-status {
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: end;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.controller-item-identity {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: end;
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.controller-item-tool {
|
|
51
|
+
display: none;
|
|
52
|
+
|
|
53
|
+
&.show {
|
|
54
|
+
display: block;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
15
57
|
}
|
|
16
58
|
}
|
|
17
|
-
}
|
|
59
|
+
}
|
|
@@ -6,6 +6,7 @@ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
|
|
6
6
|
import { runInAction } from "mobx";
|
|
7
7
|
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
8
8
|
import { useDeepMemo } from "@voplus/morpho-data";
|
|
9
|
+
import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
|
|
9
10
|
import SelectControllerForm from "../SelectControllerForm";
|
|
10
11
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
11
12
|
import ControllerItem from "../ControllerItem";
|
|
@@ -54,7 +55,8 @@ const ControllerList = (props) => {
|
|
|
54
55
|
addAble: false,
|
|
55
56
|
}, renderItem: ({ item, index }) => {
|
|
56
57
|
var _a;
|
|
57
|
-
return (React.createElement(
|
|
58
|
+
return (React.createElement(DocumentItemFrame, { key: item.id },
|
|
59
|
+
React.createElement(ControllerItem, { id: item.id, unitId: item.contact.id, identityId: (_a = item.identity) === null || _a === void 0 ? void 0 : _a.id, index: index })));
|
|
58
60
|
}, propertiesView: (id) => React.createElement(ControllerPropertiesView, { id: id, allowEdit: allowEdit }), className: styles["controller-list-view"] }),
|
|
59
61
|
state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) }))),
|
|
60
62
|
visible && React.createElement(SelectControllerForm, { parentId: parentId, onCancel: () => setVisible(false) }))));
|
package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAEN,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AACnE,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,cAAc,GAAG,CAAC,KAIvB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;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OAAO,EAAE,KAAK,IAAI,EAAE,CACnB,MAAM,eAAe;qBACnB,gBAAgB,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;qBAChD,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC,EAEjD,SAAS,EAAC,yJAAyJ,aAG3J;SACT,EACD,KAAK,EAAE,GAAG,EAAE,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,GAC/C,CACF,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;YACpC,oBAAC,QAAQ,IACR,WAAW,EAAE;oBACZ,MAAM,EAAE,MAAM;oBACd,QAAQ,EAAE,KAAK;oBACf,OAAO,EAAE,KAAK;iBACd,EACD,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAwC,EAAE,EAAE;;oBAAC,OAAA,CACtE,oBAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAEN,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EA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C,EAAE,EAAE;gBAClD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;SAClB;QACD,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,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,cAAc,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useMemo } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Delete, Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
5
4
|
import { Skeleton, Tabs } from "@voplus/antd";
|
|
6
5
|
import { useController, useControllerStore } from "../../../../../../data/controller";
|
|
7
6
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
7
|
+
import CompanyControllerMenu from "../../../controls/CompanyRegisterMenu";
|
|
8
8
|
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
9
9
|
import ContactInformation from "@voplus/morpho-org/es/components/ContactInformation";
|
|
10
10
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
@@ -12,25 +12,23 @@ import IdentifyDetail from "../../../identity/components/IdentifyDetail";
|
|
|
12
12
|
import ControllerInformation from "../ControllerInformation";
|
|
13
13
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
14
14
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
15
|
-
import "./index.less";
|
|
15
|
+
import styles from "./index.less";
|
|
16
16
|
const ControllerPropertiesView = (props) => {
|
|
17
17
|
const { id, allowEdit, toolbar } = props;
|
|
18
18
|
const controller = useController(id, { reload: true });
|
|
19
|
-
const
|
|
20
|
-
const dataState = useListDataContext();
|
|
21
|
-
const asideContext = useAsideContentContext();
|
|
19
|
+
const store = useControllerStore();
|
|
22
20
|
const view = useMemo(() => new ViewContextData("QuickView"), []);
|
|
23
21
|
return observe(() => {
|
|
24
22
|
var _a, _b, _c, _d;
|
|
25
23
|
return (React.createElement(ViewContext.Provider, { value: view },
|
|
26
|
-
React.createElement("div", { className: "controller-properties-
|
|
24
|
+
React.createElement("div", { className: styles["controller-properties-view-content"] },
|
|
27
25
|
controller.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
28
|
-
React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "controller-properties-
|
|
26
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "controller-properties-view-header" },
|
|
29
27
|
React.createElement(UnitAvatar, { id: controller.contact.id, size: 70 }),
|
|
30
28
|
React.createElement("div", null, (_b = (_a = controller.identity) === null || _a === void 0 ? void 0 : _a.fullName) !== null && _b !== void 0 ? _b : (_c = controller.contact) === null || _c === void 0 ? void 0 : _c.name),
|
|
31
29
|
toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
|
|
32
30
|
React.createElement(Open, { url: `/controller/${id}` }),
|
|
33
|
-
|
|
31
|
+
React.createElement(CompanyControllerMenu, { id: id, unitId: controller.contact.id, store: store, closeAside: true }))))),
|
|
34
32
|
React.createElement(Tabs, { defaultActiveKey: "Controller" },
|
|
35
33
|
React.createElement(Tabs.TabPane, { tab: "Controller Details", key: "Controller" },
|
|
36
34
|
React.createElement(ControllerInformation, { id: id, allowEdit: allowEdit })),
|
|
@@ -43,16 +41,6 @@ const ControllerPropertiesView = (props) => {
|
|
|
43
41
|
React.createElement(Tabs.TabPane, { tab: "Activities", key: "Activities" },
|
|
44
42
|
React.createElement(ActivityLog, { id: id, nodes: [controller.contact.id], bar: false }))))));
|
|
45
43
|
});
|
|
46
|
-
/** 删除controller item */
|
|
47
|
-
async function onDelete() {
|
|
48
|
-
await controllerStore.delete([id], { error: "message" }).then((res) => {
|
|
49
|
-
if (!res)
|
|
50
|
-
return;
|
|
51
|
-
dataState.remove(id);
|
|
52
|
-
if (asideContext)
|
|
53
|
-
asideContext.closeAside();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
44
|
};
|
|
57
45
|
export default ControllerPropertiesView;
|
|
58
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,qBAAqB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,cAAc,MAAM,6CAA6C,CAAC;AAC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AA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.controller-properties-
|
|
3
|
+
.controller-properties-view-content {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
|
|
10
|
+
:global {
|
|
11
|
+
.controller-properties-view-header {
|
|
12
12
|
position: relative;
|
|
13
13
|
text-align: center;
|
|
14
14
|
padding: 20px 0 10px 0;
|