@voplus/morpho-csp 9.1.0 → 9.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/CorporateMentionList/index.d.ts +25 -31
- package/es/components/CorporateMentionList/index.js +4 -9
- package/es/components/CorporateMentionList/index.js.map +1 -1
- package/es/components/CorporateUnitSelectDialog/index.d.ts +1 -9
- package/es/components/CorporateUnitSelectDialog/index.js +4 -10
- package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
- package/es/components/CurrencyView/index.d.ts +8 -15
- package/es/components/CurrencyView/index.js +2 -5
- package/es/components/CurrencyView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.js +6 -6
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.d.ts +8 -12
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js +2 -6
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.d.ts +14 -22
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +13 -18
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.d.ts +6 -8
- package/es/modules/corporate/clda/components/CLDADetails/index.js +2 -5
- package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +3 -10
- package/es/modules/corporate/clda/components/CLDAListCard/index.js +1 -6
- package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.d.ts +1 -9
- package/es/modules/corporate/clda/components/CLDAListView/index.js +3 -9
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.d.ts +16 -24
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +2 -7
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +1 -2
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.d.ts +1 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js +1 -4
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/index.d.ts +1 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js +2 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/ModeIcon/index.d.ts +9 -13
- package/es/modules/corporate/clda/controls/ModeIcon/index.js +2 -5
- package/es/modules/corporate/clda/controls/ModeIcon/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/index.d.ts +4 -8
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js +2 -5
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.d.ts +5 -9
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +2 -5
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.d.ts +6 -13
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js +2 -6
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.d.ts +8 -12
- package/es/modules/corporate/company/components/CompanyPageHead/index.js +2 -5
- package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.d.ts +8 -18
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js +36 -39
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/index.d.ts +13 -21
- package/es/modules/corporate/company/components/CompanyProperties/index.js +15 -20
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.d.ts +1 -8
- package/es/modules/corporate/company/components/CorporateList/index.js +3 -8
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.d.ts +8 -12
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js +2 -5
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +11 -16
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.d.ts +14 -18
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js +2 -5
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.d.ts +8 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js +2 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.d.ts +8 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js +2 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +2 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.d.ts +8 -12
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js +2 -5
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +9 -14
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +1 -4
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +0 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.d.ts +5 -9
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js +2 -5
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.d.ts +14 -22
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +8 -13
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.d.ts +1 -8
- package/es/modules/corporate/filing-record/components/FilingList/index.js +2 -7
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.d.ts +10 -18
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +10 -15
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js +0 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.d.ts +1 -7
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.js +1 -5
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.d.ts +1 -6
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +4 -7
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.d.ts +1 -7
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +2 -6
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.d.ts +9 -17
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +11 -16
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.d.ts +10 -14
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js +3 -6
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.d.ts +5 -9
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js +2 -5
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.d.ts +10 -17
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +2 -6
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +5 -9
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +4 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.d.ts +4 -8
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js +2 -6
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.d.ts +1 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +2 -6
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +14 -22
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +14 -19
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js +0 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.d.ts +5 -9
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js +2 -5
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.d.ts +6 -10
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +2 -5
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.d.ts +1 -6
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js +4 -7
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js.map +1 -1
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.d.ts +1 -7
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.js +1 -5
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.d.ts +5 -9
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.js +2 -5
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.d.ts +9 -16
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js +9 -13
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.d.ts +1 -6
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.js +2 -5
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.d.ts +4 -9
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.js +2 -5
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.d.ts +1 -6
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +4 -7
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js +1 -5
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.d.ts +5 -9
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.d.ts +9 -16
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.d.ts +1 -6
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js +0 -3
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.d.ts +1 -7
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +5 -9
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js +1 -5
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.d.ts +5 -10
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.js +2 -5
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.d.ts +1 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +3 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.d.ts +9 -16
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +8 -12
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.d.ts +4 -12
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js +2 -5
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js.map +1 -1
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.d.ts +5 -9
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js +2 -5
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.d.ts +14 -29
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +7 -13
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +7 -11
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +2 -3
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +12 -17
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +2 -7
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
- package/es/modules/self-registration/components/Card/index.d.ts +10 -15
- package/es/modules/self-registration/components/Card/index.js +4 -8
- package/es/modules/self-registration/components/Card/index.js.map +1 -1
- package/es/modules/self-registration/controls/Blink/index.d.ts +7 -10
- package/es/modules/self-registration/controls/Blink/index.js +3 -7
- package/es/modules/self-registration/controls/Blink/index.js.map +1 -1
- package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +10 -16
- package/es/modules/self-registration/controls/BusinessNameInput/index.js +6 -11
- package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
- package/es/modules/self-registration/controls/Section/index.d.ts +6 -10
- package/es/modules/self-registration/controls/Section/index.js +2 -5
- package/es/modules/self-registration/controls/Section/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +30 -35
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +2 -6
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
- package/es/obsolete/ShareTransactionPropertiesView/index.d.ts +5 -9
- package/es/obsolete/ShareTransactionPropertiesView/index.js +2 -5
- package/es/obsolete/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/obsolete/controller-register/components/ControllerInformation/index.d.ts +4 -9
- package/es/obsolete/controller-register/components/ControllerInformation/index.js +2 -5
- package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -1
- package/es/obsolete/corporate-page/OfficerList/index.d.ts +1 -6
- package/es/obsolete/corporate-page/OfficerList/index.js +2 -5
- package/es/obsolete/corporate-page/OfficerList/index.js.map +1 -1
- package/es/obsolete/corporate-page/ShareClassList/index.d.ts +1 -6
- package/es/obsolete/corporate-page/ShareClassList/index.js +2 -5
- package/es/obsolete/corporate-page/ShareClassList/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.css +0 -2
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.css +0 -8
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.css +0 -2
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.css +0 -12
package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import IdentityChange from "../../../../../corporate/company/identity/components
|
|
|
8
8
|
import Address from "@voplus/morpho-ui/es/controls/Address";
|
|
9
9
|
import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
|
|
10
10
|
import "./index.css";
|
|
11
|
-
const FormContactEditor = (props) => {
|
|
12
|
-
const { contact,
|
|
11
|
+
const FormContactEditor = ({ editable = false, header = true, ...props }) => {
|
|
12
|
+
const { contact, isOnlyInternalUse } = props;
|
|
13
13
|
return observe(() => {
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
15
15
|
return (React.createElement("div", { className: "form-contact-editor" },
|
|
@@ -114,10 +114,5 @@ const FormContactEditor = (props) => {
|
|
|
114
114
|
contact.foreignDirector2))))))))));
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
|
-
FormContactEditor.defaultProps = {
|
|
118
|
-
editable: false,
|
|
119
|
-
header: true,
|
|
120
|
-
// isOnlyInternalUse: true,
|
|
121
|
-
};
|
|
122
117
|
export default FormContactEditor;
|
|
123
118
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,cAAc,MAAM,qEAAqE,CAAC;AACjG,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onAdd?: () => void;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
layout: string;
|
|
16
|
-
isAdd: boolean;
|
|
17
|
-
};
|
|
3
|
+
export type CardsProps = {
|
|
4
|
+
children: any;
|
|
5
|
+
/** 是否显示新增按钮 */
|
|
6
|
+
isAdd?: boolean;
|
|
7
|
+
/** 新增图标的位置 */
|
|
8
|
+
addPosition?: "default" | "topRight";
|
|
9
|
+
/** 内容横向还是纵向显示 */
|
|
10
|
+
layout?: "horizontal" | "vertical";
|
|
11
|
+
onAdd?: () => void;
|
|
18
12
|
};
|
|
13
|
+
declare const Cards: ({ layout, isAdd, ...props }: CardsProps) => React.JSX.Element;
|
|
19
14
|
export default Cards;
|
|
@@ -2,19 +2,15 @@ import React from "react";
|
|
|
2
2
|
import { faPlusRegular, FontAwesomeIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
3
3
|
import classnames from "classnames";
|
|
4
4
|
import "./index.css";
|
|
5
|
-
const Cards = (props) => {
|
|
6
|
-
return (React.createElement("div", { className: classnames("cards", { horizontal:
|
|
5
|
+
const Cards = ({ layout = "horizontal", isAdd = true, ...props }) => {
|
|
6
|
+
return (React.createElement("div", { className: classnames("cards", { horizontal: layout === "horizontal" ? true : false }) },
|
|
7
7
|
props.children,
|
|
8
|
-
|
|
8
|
+
isAdd && props.addPosition === "default" && (React.createElement("div", { className: "addBox", onClick: props.onAdd },
|
|
9
9
|
React.createElement("div", null,
|
|
10
10
|
React.createElement(FontAwesomeIcon, { icon: faPlusRegular, size: "3x" })))),
|
|
11
|
-
|
|
11
|
+
isAdd && props.addPosition === "topRight" && (React.createElement("div", { className: "addBoxTopRight", onClick: props.onAdd },
|
|
12
12
|
React.createElement("div", null,
|
|
13
13
|
React.createElement(FontAwesomeIcon, { icon: faPlusRegular, size: "2x" }))))));
|
|
14
14
|
};
|
|
15
|
-
Cards.defaultProps = {
|
|
16
|
-
layout: "horizontal",
|
|
17
|
-
isAdd: true,
|
|
18
|
-
};
|
|
19
15
|
export default Cards;
|
|
20
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/components/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAarB,MAAM,KAAK,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,KAAK,EAAc,EAAE,EAAE;IAC/E,OAAO,CACN,6BAAK,SAAS,EAAE,UAAU,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QACzF,KAAK,CAAC,QAAQ;QACd,KAAK,IAAI,KAAK,CAAC,WAAW,KAAK,SAAS,IAAI,CAC5C,6BAAK,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,CAAC,KAAK;YAC3C;gBACC,oBAAC,eAAe,IAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAC,IAAI,GAAG,CAC7C,CACD,CACN;QACA,KAAK,IAAI,KAAK,CAAC,WAAW,KAAK,UAAU,IAAI,CAC7C,6BAAK,SAAS,EAAC,gBAAgB,EAAC,OAAO,EAAE,KAAK,CAAC,KAAK;YACnD;gBACC,oBAAC,eAAe,IAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAC,IAAI,GAAG,CAC7C,CACD,CACN,CACI,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
defaultProps: {
|
|
10
|
-
blinking: boolean;
|
|
11
|
-
duration: string;
|
|
12
|
-
};
|
|
3
|
+
export type BlinkProps = {
|
|
4
|
+
/** 是否闪烁 */
|
|
5
|
+
blinking?: boolean;
|
|
6
|
+
/** 闪烁的持续时间,默认为1s */
|
|
7
|
+
duration?: string;
|
|
8
|
+
children: any;
|
|
13
9
|
};
|
|
10
|
+
declare const Blink: ({ blinking, duration, ...props }: BlinkProps) => React.JSX.Element;
|
|
14
11
|
export default Blink;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import "./index.css";
|
|
4
|
-
const Blink = (props) => {
|
|
5
|
-
const style =
|
|
6
|
-
return (React.createElement("span", { className: classNames("self-registration-blink",
|
|
7
|
-
};
|
|
8
|
-
Blink.defaultProps = {
|
|
9
|
-
blinking: true,
|
|
10
|
-
duration: "1s",
|
|
4
|
+
const Blink = ({ blinking = true, duration = "1s", ...props }) => {
|
|
5
|
+
const style = blinking ? { animationDuration: `${duration} !important` } : {};
|
|
6
|
+
return (React.createElement("span", { className: classNames("self-registration-blink", blinking ? "blinking" : null), style: style }, props.children));
|
|
11
7
|
};
|
|
12
8
|
export default Blink;
|
|
13
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Blink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Blink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAUrB,MAAM,KAAK,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,GAAG,KAAK,EAAc,EAAE,EAAE;IAC5E,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,GAAG,QAAQ,aAAa,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9E,OAAO,CACN,8BACC,SAAS,EAAE,UAAU,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,EAC9E,KAAK,EAAE,KAAK,IAEX,KAAK,CAAC,QAAQ,CACT,CACP,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -12,21 +12,15 @@ export type BusinessNameValidateStatus = {
|
|
|
12
12
|
hasFeedback?: boolean;
|
|
13
13
|
help?: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
onValidate?: (status: BusinessNameValidateStatus) => void;
|
|
25
|
-
}): React.JSX.Element;
|
|
26
|
-
defaultProps: {
|
|
27
|
-
type: string;
|
|
28
|
-
errorIfEmpty: boolean;
|
|
29
|
-
forceUpperCase: boolean;
|
|
30
|
-
};
|
|
15
|
+
export type BusinessNameInputProps = {
|
|
16
|
+
value: string;
|
|
17
|
+
errorIfEmpty?: boolean;
|
|
18
|
+
forceUpperCase?: boolean;
|
|
19
|
+
type?: "sgp" | "bvi";
|
|
20
|
+
onBlur?: () => void;
|
|
21
|
+
onChange?: (value: string) => void;
|
|
22
|
+
/** Callback to perform logic upron checking status. */
|
|
23
|
+
onValidate?: (status: BusinessNameValidateStatus) => void;
|
|
31
24
|
};
|
|
25
|
+
declare const BusinessNameInput: ({ type, errorIfEmpty, forceUpperCase, ...props }: BusinessNameInputProps) => React.JSX.Element;
|
|
32
26
|
export default BusinessNameInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import TimeoutInput from "@voplus/morpho-ui/es/controls/TimeoutInput";
|
|
3
|
-
const BusinessNameInput = (props) => {
|
|
3
|
+
const BusinessNameInput = ({ type = "sgp", errorIfEmpty = true, forceUpperCase = true, ...props }) => {
|
|
4
4
|
const [check, setCheck] = useState(false);
|
|
5
5
|
const [value, setValue] = useState("");
|
|
6
6
|
if (!check) {
|
|
@@ -10,20 +10,20 @@ const BusinessNameInput = (props) => {
|
|
|
10
10
|
setValue(props.value);
|
|
11
11
|
}, [props.value]);
|
|
12
12
|
return (React.createElement(TimeoutInput, { placeholder: "Company Name", onChange: (e) => props.onChange &&
|
|
13
|
-
props.onChange(
|
|
13
|
+
props.onChange(forceUpperCase ? e.target.value.toUpperCase() : e.target.value), onBlur: onBlur, onIdle: (s) => checkName(s), value: value }));
|
|
14
14
|
function onBlur() {
|
|
15
15
|
// if (!value || value.trim() === props.value) return;
|
|
16
16
|
props.onBlur && props.onBlur();
|
|
17
17
|
}
|
|
18
18
|
function removePostfix(name) {
|
|
19
|
-
const validPostFix =
|
|
19
|
+
const validPostFix = type === "sgp"
|
|
20
20
|
? [
|
|
21
21
|
["pte", "ltd"],
|
|
22
22
|
["private", "limited"],
|
|
23
23
|
["private", "ltd"],
|
|
24
24
|
["pte", "limited"],
|
|
25
25
|
]
|
|
26
|
-
:
|
|
26
|
+
: type === "bvi"
|
|
27
27
|
? [["limited"], ["ltd"], ["inc"]]
|
|
28
28
|
: [];
|
|
29
29
|
//invariant(name, "Entity name cannot be empty.");
|
|
@@ -72,7 +72,7 @@ const BusinessNameInput = (props) => {
|
|
|
72
72
|
validateStatus: "validating",
|
|
73
73
|
help: "Checking company name",
|
|
74
74
|
};
|
|
75
|
-
if (
|
|
75
|
+
if (errorIfEmpty && !name) {
|
|
76
76
|
status.validateStatus = "error";
|
|
77
77
|
status.help = "Company name cannot be empty.";
|
|
78
78
|
props.onValidate(status);
|
|
@@ -82,7 +82,7 @@ const BusinessNameInput = (props) => {
|
|
|
82
82
|
if (clean === upperAndTrim(name)) {
|
|
83
83
|
status.validateStatus = "error";
|
|
84
84
|
status.help =
|
|
85
|
-
|
|
85
|
+
type === "sgp"
|
|
86
86
|
? "Company name must ends with either 'PTE LTD' or 'PRIVATE LIMITED' or 'PRIVATE LTD' or 'PTE LIMITED' ."
|
|
87
87
|
: "Company name must ends with either 'LIMITED' or 'LTD' or 'INC' .";
|
|
88
88
|
props.onValidate(status);
|
|
@@ -112,10 +112,5 @@ const BusinessNameInput = (props) => {
|
|
|
112
112
|
.trim();
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
BusinessNameInput.defaultProps = {
|
|
116
|
-
type: "sgp",
|
|
117
|
-
errorIfEmpty: true,
|
|
118
|
-
forceUpperCase: true,
|
|
119
|
-
};
|
|
120
115
|
export default BusinessNameInput;
|
|
121
116
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/BusinessNameInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,YAAY,MAAM,4CAA4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AC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;QAC7C,CAAC;IACF,CAAC;IAED,SAAS,YAAY,CAAC,IAAY;QACjC,OAAO,IAAI;aACT,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAClB,IAAI,CAAC,GAAG,CAAC;aACT,IAAI,EAAE,CAAC;IACV,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
divider?: boolean;
|
|
9
|
-
}): React.JSX.Element;
|
|
10
|
-
defaultProps: {
|
|
11
|
-
divider: boolean;
|
|
12
|
-
};
|
|
3
|
+
export type SectionProps = {
|
|
4
|
+
children: React.ReactNode | React.ReactNode[];
|
|
5
|
+
title: React.ReactNode | React.ReactNode[];
|
|
6
|
+
className?: string;
|
|
7
|
+
divider?: boolean;
|
|
13
8
|
};
|
|
9
|
+
declare const Section: ({ divider, ...props }: SectionProps) => React.JSX.Element;
|
|
14
10
|
export default Section;
|
|
@@ -2,14 +2,11 @@ import classNames from "classnames";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Card, Divider } from "antd";
|
|
4
4
|
import "./index.css";
|
|
5
|
-
const Section = (props) => {
|
|
5
|
+
const Section = ({ divider = false, ...props }) => {
|
|
6
6
|
return (React.createElement(Card, { className: classNames("self-registration-section", props.className) },
|
|
7
7
|
React.createElement("div", { className: "section-title" }, props.title),
|
|
8
|
-
props.title &&
|
|
8
|
+
props.title && divider && React.createElement(Divider, null),
|
|
9
9
|
React.createElement("div", { className: "section-content" }, props.children)));
|
|
10
10
|
};
|
|
11
|
-
Section.defaultProps = {
|
|
12
|
-
divider: false,
|
|
13
|
-
};
|
|
14
11
|
export default Section;
|
|
15
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,aAAa,CAAC;AASrB,MAAM,OAAO,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAgB,EAAE,EAAE;IAC/D,OAAO,CACN,oBAAC,IAAI,IAAC,SAAS,EAAE,UAAU,CAAC,2BAA2B,EAAE,KAAK,CAAC,SAAS,CAAC;QACxE,6BAAK,SAAS,EAAE,eAAe,IAAG,KAAK,CAAC,KAAK,CAAO;QACnD,KAAK,CAAC,KAAK,IAAI,OAAO,IAAI,oBAAC,OAAO,OAAG;QACtC,6BAAK,SAAS,EAAE,iBAAiB,IAAG,KAAK,CAAC,QAAQ,CAAO,CACnD,CACP,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,40 +1,35 @@
|
|
|
1
1
|
import React, { CSSProperties } from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
id: string;
|
|
27
|
-
};
|
|
28
|
-
/** 执行 cancel 回调 */
|
|
29
|
-
onCancel?: () => void;
|
|
30
|
-
/** 在使用meta获取打开的NewForm时, 会使用到此方法 */
|
|
31
|
-
onChange?: (data?: any) => void;
|
|
32
|
-
/** 当属性有传入 onSave 函数时, 不会调用组件内的接口, 而是通过回调函数把 state 输出 */
|
|
33
|
-
onSave?: (params?: any) => void;
|
|
34
|
-
}): React.JSX.Element;
|
|
35
|
-
defaultProps: {
|
|
36
|
-
openMode: string;
|
|
37
|
-
isCallBackground: boolean;
|
|
3
|
+
export type NewIncorporationCLDAFormProps = {
|
|
4
|
+
/** parent id */
|
|
5
|
+
parentId?: string;
|
|
6
|
+
/**meta id */
|
|
7
|
+
metaId: string;
|
|
8
|
+
/**meta key */
|
|
9
|
+
metaKey: string;
|
|
10
|
+
/** secretary center id */
|
|
11
|
+
secretaryCenterId: string;
|
|
12
|
+
/** secretaryCenter 的个数*/
|
|
13
|
+
centerTotal?: number;
|
|
14
|
+
/** 額外css style. */
|
|
15
|
+
miniFormStyle?: CSSProperties;
|
|
16
|
+
/** 額外css class. */
|
|
17
|
+
className?: string;
|
|
18
|
+
/** 是否调用后台 */
|
|
19
|
+
isCallBackground?: boolean;
|
|
20
|
+
/** NewIncorporationCLDAForm 打开的方式 */
|
|
21
|
+
type?: "full" | "mini";
|
|
22
|
+
/** 用于预选的 contact */
|
|
23
|
+
contact?: {
|
|
24
|
+
name: string;
|
|
25
|
+
id: string;
|
|
38
26
|
};
|
|
27
|
+
/** 执行 cancel 回调 */
|
|
28
|
+
onCancel?: () => void;
|
|
29
|
+
/** 在使用meta获取打开的NewForm时, 会使用到此方法 */
|
|
30
|
+
onChange?: (data?: any) => void;
|
|
31
|
+
/** 当属性有传入 onSave 函数时, 不会调用组件内的接口, 而是通过回调函数把 state 输出 */
|
|
32
|
+
onSave?: (params?: any) => void;
|
|
39
33
|
};
|
|
34
|
+
declare const NewIncorporationCLDAForm: ({ isCallBackground, ...props }: NewIncorporationCLDAFormProps) => React.JSX.Element;
|
|
40
35
|
export default NewIncorporationCLDAForm;
|
package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js
CHANGED
|
@@ -11,8 +11,8 @@ import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
|
|
|
11
11
|
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
12
12
|
import classnames from "classnames";
|
|
13
13
|
import "./index.css";
|
|
14
|
-
const NewIncorporationCLDAForm = (props) => {
|
|
15
|
-
const { metaId, metaKey, secretaryCenterId, type, centerTotal, contact
|
|
14
|
+
const NewIncorporationCLDAForm = ({ isCallBackground = true, ...props }) => {
|
|
15
|
+
const { metaId, metaKey, secretaryCenterId, type, centerTotal, contact } = props;
|
|
16
16
|
const [state] = useState(new State(metaKey, secretaryCenterId, contact));
|
|
17
17
|
const [form] = Form.useForm();
|
|
18
18
|
const [loading, setLoading] = useState(false);
|
|
@@ -84,9 +84,5 @@ const NewIncorporationCLDAForm = (props) => {
|
|
|
84
84
|
state.params.CountryISO = alpha3Code;
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
NewIncorporationCLDAForm.defaultProps = {
|
|
88
|
-
openMode: "openAside",
|
|
89
|
-
isCallBackground: true,
|
|
90
|
-
};
|
|
91
87
|
export default NewIncorporationCLDAForm;
|
|
92
88
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,Y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-
|
|
6
|
-
|
|
7
|
-
content?: boolean;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
defaultProps: {
|
|
10
|
-
content: boolean;
|
|
11
|
-
};
|
|
3
|
+
export type ShareTransactionPropertiesViewProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
memberId?: string;
|
|
6
|
+
content?: boolean;
|
|
12
7
|
};
|
|
8
|
+
declare const ShareTransactionPropertiesView: ({ content, ...props }: ShareTransactionPropertiesViewProps) => React.JSX.Element;
|
|
13
9
|
export default ShareTransactionPropertiesView;
|
|
@@ -3,13 +3,10 @@ import Content from "./Content";
|
|
|
3
3
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
|
6
|
-
const ShareTransactionPropertiesView = (props) => {
|
|
7
|
-
const { id, memberId
|
|
6
|
+
const ShareTransactionPropertiesView = ({ content = true, ...props }) => {
|
|
7
|
+
const { id, memberId } = props;
|
|
8
8
|
return observe(() => (React.createElement("div", { className: "csp-default-view_aside" },
|
|
9
9
|
React.createElement(DocumentTabs, { id: id, details: content && React.createElement(Content, { id: id, memberId: memberId }) }))));
|
|
10
10
|
};
|
|
11
|
-
ShareTransactionPropertiesView.defaultProps = {
|
|
12
|
-
content: true,
|
|
13
|
-
};
|
|
14
11
|
export default ShareTransactionPropertiesView;
|
|
15
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/ShareTransactionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/ShareTransactionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAQ5C,MAAM,8BAA8B,GAAG,CAAC,EACvC,OAAO,GAAG,IAAI,EACd,GAAG,KAAK,EAC6B,EAAE,EAAE;IACzC,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,wBAAwB;QACtC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,IAAI,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAI,GAAI,CAChF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const ControllerInformation: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
defaultProps: {
|
|
8
|
-
allowEdit: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
2
|
+
declare const ControllerInformation: ({ allowEdit, ...props }: {
|
|
3
|
+
id: string;
|
|
4
|
+
allowEdit?: boolean;
|
|
5
|
+
}) => React.JSX.Element;
|
|
11
6
|
export default ControllerInformation;
|
|
@@ -7,8 +7,8 @@ import { InlineEdit } from "@voplus/morpho-ui";
|
|
|
7
7
|
import Scrollbars from "react-custom-scrollbars-2";
|
|
8
8
|
import dayjs from "dayjs";
|
|
9
9
|
import { observe } from "@voplus/morpho-ui";
|
|
10
|
-
const ControllerInformation = (props) => {
|
|
11
|
-
const { id
|
|
10
|
+
const ControllerInformation = ({ allowEdit = true, ...props }) => {
|
|
11
|
+
const { id } = props;
|
|
12
12
|
// const controller = useController(id);
|
|
13
13
|
const controller = {
|
|
14
14
|
id: "",
|
|
@@ -39,8 +39,5 @@ const ControllerInformation = (props) => {
|
|
|
39
39
|
await controllerStore.edit(id, { data, error: "message" });
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
ControllerInformation.defaultProps = {
|
|
43
|
-
allowEdit: true,
|
|
44
|
-
};
|
|
45
42
|
export default ControllerInformation;
|
|
46
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAGN,kBAAkB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAGN,kBAAkB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAmB,MAAM,OA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C,CAAC,CAAC,KAAK,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,EAC9E,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACf,kCACE,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,EAAC,CAAC,CAAC,CACxB,oBAAC,YAAY,IAAC,KAAK,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,GAAI,CAC9C,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACf,gBAAgB,CAChB,CAAC,CAAC,CAAC,CACH,eAAe,CACf,CACK,CACP,EACD,MAAM,EAAE,eAAe,EACvB,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;oBAChB,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,KAAI,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,EAAE,KAAK,CAAC;wBAC5E,OAAO;oBACR,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,SAAS,EAAE,CAAC,CAAC;gBACpC,CAAC,GACA,CACS,CACN,CACP,CACW,CACb,CAAC,CAAC;IACH,KAAK,UAAU,IAAI,CAAC,IAA+B;QAClD,MAAM,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -11,10 +11,5 @@ export type OfficerListProps = {
|
|
|
11
11
|
onRedirect?: () => void;
|
|
12
12
|
onSelectCorporateUnit?: (params?: any) => void;
|
|
13
13
|
};
|
|
14
|
-
declare const OfficerList: {
|
|
15
|
-
(props: OfficerListProps): React.JSX.Element;
|
|
16
|
-
defaultProps: {
|
|
17
|
-
sendForm: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
14
|
+
declare const OfficerList: ({ sendForm, ...props }: OfficerListProps) => React.JSX.Element;
|
|
20
15
|
export default OfficerList;
|
|
@@ -20,7 +20,7 @@ import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
|
20
20
|
import { useCorporateStore, useCorporate } from "../../../data/corporate";
|
|
21
21
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
22
22
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
23
|
-
const OfficerList = (props) => {
|
|
23
|
+
const OfficerList = ({ sendForm = true, ...props }) => {
|
|
24
24
|
const { officersRegisterId, corporateId, isFilterPresent } = props;
|
|
25
25
|
const [officerTotal, setOfficerTotal] = useState();
|
|
26
26
|
const [visible, setVisible] = useState(false);
|
|
@@ -45,7 +45,7 @@ const OfficerList = (props) => {
|
|
|
45
45
|
...list.filters.options,
|
|
46
46
|
});
|
|
47
47
|
return observe(() => {
|
|
48
|
-
let toolBtns =
|
|
48
|
+
let toolBtns = sendForm && user.can("edit", corporate.p)
|
|
49
49
|
? [
|
|
50
50
|
React.createElement("button", { type: "button", onClick: () => setVisible(true), className: "send-notice inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-xs font-medium text-white bg-indigo-600 hover:bg-indigo-70 0" }, "Send Form"),
|
|
51
51
|
]
|
|
@@ -141,8 +141,5 @@ const OfficerList = (props) => {
|
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
|
-
OfficerList.defaultProps = {
|
|
145
|
-
sendForm: true,
|
|
146
|
-
};
|
|
147
144
|
export default OfficerList;
|
|
148
145
|
//# sourceMappingURL=index.js.map
|