@voplus/morpho-csp 9.1.1 → 9.1.3
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-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/background-investigation/risk-profile/components/RiskProfilePropertiesView/index.js +4 -5
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfilePropertiesView/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/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/components/CorporatePropertiesView/index.js +2 -2
- package/es/modules/corporate/company/components/CorporatePropertiesView/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/ShareTransactionItem/index.css +0 -3
- 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/company/share-transactions-register/components/ShareTransactionPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js +5 -12
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/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/FilingRecordItem/index.css +0 -4
- 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/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/FilingTypeItem/index.css +0 -4
- 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/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/ShareClassPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.js +1 -2
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/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/VirtualAddressItem/index.css +0 -4
- 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/components/VirtualAddressPropertiesView/index.d.ts +0 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js +2 -3
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.css +6 -2
- 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/VirtualAddressMailItem/index.css +0 -4
- 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/CLDAFormPropertiesView/index.d.ts +0 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js +2 -3
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/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/company/share-transactions-register/components/ShareTransactionPropertiesView/index.css +0 -38
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.css +0 -33
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.css +0 -33
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.css +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAmBhF,MAAM,kBAAkB,GAAG,CAAC,EAC3B,aAAa,GAAG,qBAAqB,EACrC,aAAa,GAAG,qBAAqB,EAC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E,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,CAC9E,CACR,CACN,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAAyD;;QAC5E,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,UAAU;gBACd,OAAO,CAAA,MAAA,aAAa,CAAC,QAAQ,0CAAE,EAAE,EAAC,CAAC,CAAC,CACnC,oBAAC,aAAa,IAAC,EAAE,EAAE,aAAa,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,GAAG,CAC1E,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,cAAe,CAC/C,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -6,7 +6,6 @@ import React, { useMemo, useState } from "react";
|
|
|
6
6
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
7
7
|
import { useCLDAForm, CLDAFormContent } from "../../../../../data/clda-form";
|
|
8
8
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
9
|
-
import "./index.css";
|
|
10
9
|
const CLDAFormPropertiesView = (props) => {
|
|
11
10
|
const { id } = props;
|
|
12
11
|
const [loaded, setLoaded] = useState(true);
|
|
@@ -16,9 +15,9 @@ const CLDAFormPropertiesView = (props) => {
|
|
|
16
15
|
const form = useCLDAForm(id, { onError: handleError });
|
|
17
16
|
return observe(() => {
|
|
18
17
|
var _a;
|
|
19
|
-
return (React.createElement(ViewContext.Provider, { value: view }, loaded && (React.createElement("div", { className: "clda-form-properties-view" },
|
|
18
|
+
return (React.createElement(ViewContext.Provider, { value: view }, loaded && (React.createElement("div", { className: "module-detail-view clda-form-properties-view" },
|
|
20
19
|
React.createElement(PropertiesPanelHeader, { id: id, onReload: reload }),
|
|
21
|
-
React.createElement(DocumentTabs, { id: id, actionPlan: !!((_a = form.flags) === null || _a === void 0 ? void 0 : _a.includes("ActionPlan")), details: React.createElement("div", { className: "clda-form-details" },
|
|
20
|
+
React.createElement(DocumentTabs, { id: id, actionPlan: !!((_a = form.flags) === null || _a === void 0 ? void 0 : _a.includes("ActionPlan")), details: React.createElement("div", { className: "clda-form-details h-full" },
|
|
22
21
|
React.createElement(Scrollbars, { autoHide: true }, content.getCLDAFormContent(form.metaKey, form.country, {
|
|
23
22
|
id,
|
|
24
23
|
type: "defaultView",
|
package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,YAAY,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAA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D,EAAE;wBACF,IAAI,EAAE,aAAa;qBACnB,CAAC,CACU,CACR,GAEN,CACG,CACN,CACqB,CACvB,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM;QACd,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
capitalTip?: React.ReactNode;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
currencyVisible: boolean;
|
|
13
|
-
};
|
|
3
|
+
export type ShareCapitalProps = {
|
|
4
|
+
/** id of incorporate form */
|
|
5
|
+
id: string;
|
|
6
|
+
currencyVisible?: boolean;
|
|
7
|
+
capitalTitle?: string;
|
|
8
|
+
capitalTip?: React.ReactNode;
|
|
14
9
|
};
|
|
10
|
+
declare const ShareCapital: ({ currencyVisible, ...props }: ShareCapitalProps) => React.JSX.Element;
|
|
15
11
|
export default ShareCapital;
|
|
@@ -12,8 +12,8 @@ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
|
12
12
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
13
13
|
import Section from "../../../controls/Section";
|
|
14
14
|
import "./index.css";
|
|
15
|
-
const ShareCapital = (props) => {
|
|
16
|
-
const { id
|
|
15
|
+
const ShareCapital = ({ currencyVisible = true, ...props }) => {
|
|
16
|
+
const { id } = props;
|
|
17
17
|
const incorporationForm = useCLDAForm(id);
|
|
18
18
|
const context = useIncorporationFormContext();
|
|
19
19
|
const store = useCLDAFormStore();
|
|
@@ -92,6 +92,5 @@ const ShareCapital = (props) => {
|
|
|
92
92
|
}, editor: DateInputEditor }))))));
|
|
93
93
|
});
|
|
94
94
|
};
|
|
95
|
-
ShareCapital.defaultProps = { currencyVisible: true };
|
|
96
95
|
export default ShareCapital;
|
|
97
96
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAmB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,sBAAsB,EACtB,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,eAAe,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAEhD,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],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
|
1
1
|
import React from "react";
|
|
2
2
|
import { IFormPeopleOptions } from "../../../../../../data/clda-form";
|
|
3
3
|
import "./index.css";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
onChange?: (contact: IFormPeopleOptions) => void;
|
|
16
|
-
}): React.JSX.Element;
|
|
17
|
-
defaultProps: {
|
|
18
|
-
editable: boolean;
|
|
19
|
-
header: boolean;
|
|
20
|
-
};
|
|
4
|
+
export type FormContactEditorProps = {
|
|
5
|
+
/** interface IFormPeopleOptions */
|
|
6
|
+
contact: IFormPeopleOptions;
|
|
7
|
+
/** 是否为edit模式 */
|
|
8
|
+
editable?: boolean;
|
|
9
|
+
/** 是否显示非 edit 状态下的头部名字 */
|
|
10
|
+
header?: boolean;
|
|
11
|
+
/** 是否显示 Representative */
|
|
12
|
+
isOnlyInternalUse?: boolean;
|
|
13
|
+
/** 保存返回修改的值 */
|
|
14
|
+
onChange?: (contact: IFormPeopleOptions) => void;
|
|
21
15
|
};
|
|
16
|
+
declare const FormContactEditor: ({ editable, header, ...props }: FormContactEditorProps) => React.JSX.Element;
|
|
22
17
|
export default FormContactEditor;
|
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,EAAE,MAAM,MAAM,CAAC;AAC7C,OAA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-
|
|
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,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"index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AAC,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
|