@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/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACN,yBAAyB,EACzB,iBAAiB,EACjB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACN,yBAAyB,EACzB,iBAAiB,EACjB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAehF,MAAM,oBAAoB,GAAG,CAAC,EAC7B,eAAe,GAAG,uBAAuB,EACzC,oBAAoB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE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G,EAAE,CAChB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACrB,oBAAC,IAAI,IAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,CAAC,CAAC,IAAI,EAAE,IACjE,UAAU,CAAC,CAAC,CAAC,CACR,CACP,CAAC,GAEF,CACU,CACR,CACI,CACX,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAA2D;QAC9E,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,KAAK;gBACT,OAAO,CACN,oBAAC,YAAY,IACZ,IAAI,EAAE,UAAU,CAAC,GAAG,EACpB,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACxC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAC1E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
canEdit?: boolean;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
defaultProps: {
|
|
10
|
-
canEdit: boolean;
|
|
11
|
-
};
|
|
3
|
+
export type ShareCertificateProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
mobile?: boolean;
|
|
6
|
+
canEdit?: boolean;
|
|
12
7
|
};
|
|
8
|
+
declare const ShareCertificate: ({ canEdit, ...props }: ShareCertificateProps) => React.JSX.Element;
|
|
13
9
|
export default ShareCertificate;
|
|
@@ -8,7 +8,7 @@ import { useReloadContext } from "@voplus/morpho-document-core/es/data/context/R
|
|
|
8
8
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
9
9
|
import SignatureDialog from "@voplus/morpho-ui/es/components/SignatureDialog";
|
|
10
10
|
import "./index.css";
|
|
11
|
-
const ShareCertificate = (props) => {
|
|
11
|
+
const ShareCertificate = ({ canEdit = true, ...props }) => {
|
|
12
12
|
const shareCertificate = useShareCertificate(props.id, {
|
|
13
13
|
reload: true,
|
|
14
14
|
includes: "qr,signatures",
|
|
@@ -55,7 +55,7 @@ const ShareCertificate = (props) => {
|
|
|
55
55
|
React.createElement("p", null, shareCertificate.shares))),
|
|
56
56
|
React.createElement("div", { className: "share-certificate-body" },
|
|
57
57
|
React.createElement("div", { className: "share-certificate-company" },
|
|
58
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.company, editable:
|
|
58
|
+
React.createElement(InlineEdit, { defaultValue: shareCertificate.company, editable: canEdit && shareCertificate.certificateStatus === "Draft", content: (v) => shareCertificate.company ? (React.createElement("span", null, shareCertificate.company)) : (React.createElement("span", { className: "add-info-style" }, "Add Company")), onSave: (value) => {
|
|
59
59
|
if (value !== shareCertificate.company)
|
|
60
60
|
store.edit(props.id, { data: { Company: value }, error: "message" });
|
|
61
61
|
} })),
|
|
@@ -66,13 +66,13 @@ const ShareCertificate = (props) => {
|
|
|
66
66
|
React.createElement("div", null,
|
|
67
67
|
React.createElement("div", { className: "share-certificate-explain" }, "(the \u201CCompany\u201D) Incorporated in the Republic of Singapore under The Companies Act, 1967 with its registered address located at"),
|
|
68
68
|
React.createElement("div", { className: "share-certificate-address" },
|
|
69
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.address, editable:
|
|
69
|
+
React.createElement(InlineEdit, { defaultValue: shareCertificate.address, editable: canEdit && shareCertificate.certificateStatus === "Draft", content: (v) => shareCertificate.address ? (React.createElement("span", null, shareCertificate.address)) : (React.createElement("span", { className: "add-info-style" }, "Add Address")), onSave: (value) => {
|
|
70
70
|
if (value !== shareCertificate.address)
|
|
71
71
|
store.edit(props.id, { data: { Address: value }, error: "message" });
|
|
72
72
|
} }))),
|
|
73
73
|
React.createElement("div", { className: "share-certificate-art-font" }, "THIS IS TO CERTIFY THAT"),
|
|
74
74
|
React.createElement("div", { className: "share-certificate-name" },
|
|
75
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.shareholderName, editable:
|
|
75
|
+
React.createElement(InlineEdit, { defaultValue: shareCertificate.shareholderName, editable: canEdit && shareCertificate.certificateStatus === "Draft", content: (v) => React.createElement("span", null, shareCertificate.shareholderName), onSave: (value) => {
|
|
76
76
|
if (value !== shareCertificate.shareholderName)
|
|
77
77
|
store.edit(props.id, { data: { ShareholderName: value }, error: "message" });
|
|
78
78
|
} })),
|
|
@@ -126,8 +126,5 @@ const ShareCertificate = (props) => {
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
ShareCertificate.defaultProps = {
|
|
130
|
-
canEdit: true,
|
|
131
|
-
};
|
|
132
129
|
export default ShareCertificate;
|
|
133
130
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAC9E,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,iDAAiD,CAAC;AAC9E,OAAO,aAAa,CAAC;AAQrB,MAAM,gBAAgB,GAAG,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,KAAK,EAAyB,EAAE,EAAE;IAChF,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,KAAK,CAAC,EAAE,EAAE;QACtD,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,eAAe;KACzB,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,wBAAwB,EAAE,CAAC;IACzC,MAAM,WAAW,GAAG,gBAAgB,EAAE,CAAC;IAEvC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAoB,CAAC;IACvD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GA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,CACjD,CACD,CACD,CACD,CACD;YACL,WAAW,IAAI,CACf,oBAAC,eAAe,IAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,WAAW,GAAI,CAC/E,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,IAAU,EAAE,IAAa;QAC7C,YAAY,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,KAAK;iBACH,aAAa,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;iBACzD,IAAI,CAAC,GAAG,EAAE,WAAC,OAAA,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,2DAAI,CAAA,EAAA,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
toolBarVisible?: boolean;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
defaultProps: {
|
|
8
|
-
toolBarVisible: boolean;
|
|
9
|
-
};
|
|
2
|
+
export type ShareCertificateItemProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
toolBarVisible?: boolean;
|
|
10
5
|
};
|
|
6
|
+
declare const ShareCertificateItem: ({ id, toolBarVisible }: ShareCertificateItemProps) => React.JSX.Element;
|
|
11
7
|
export default ShareCertificateItem;
|
|
@@ -3,13 +3,9 @@ import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import DocumentItem from "@voplus/morpho-document/es/components/DocumentItem/DocumentItem2";
|
|
5
5
|
import { ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
6
|
-
const ShareCertificateItem = (
|
|
7
|
-
const { id } = props;
|
|
6
|
+
const ShareCertificateItem = ({ id, toolBarVisible = true }) => {
|
|
8
7
|
const shareCertificate = useShareCertificate(id);
|
|
9
|
-
return observe(() => (React.createElement(DocumentItem, { id: id, middleContent: React.createElement(ColumnItemCol, { span: 3, label: "Shares" }, shareCertificate.shares), toolBarVisible:
|
|
10
|
-
};
|
|
11
|
-
ShareCertificateItem.defaultProps = {
|
|
12
|
-
toolBarVisible: true,
|
|
8
|
+
return observe(() => (React.createElement(DocumentItem, { id: id, middleContent: React.createElement(ColumnItemCol, { span: 3, label: "Shares" }, shareCertificate.shares), toolBarVisible: toolBarVisible })));
|
|
13
9
|
};
|
|
14
10
|
export default ShareCertificateItem;
|
|
15
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,YAAY,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,YAAY,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAOzE,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,EAAE,cAAc,GAAG,IAAI,EAA6B,EAAE,EAAE;IACzF,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAC;IAEjD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IACZ,EAAE,EAAE,EAAE,EACN,aAAa,EACZ,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,QAAQ,IACpC,gBAAgB,CAAC,MAAM,CACT,EAEjB,cAAc,EAAE,cAAc,GAC7B,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -29,11 +29,5 @@ export type ShareCertificateListProps = {
|
|
|
29
29
|
/** Call back when an item has been clicked on the list. */
|
|
30
30
|
onClickItem?: (item: IShareCertificate) => void;
|
|
31
31
|
};
|
|
32
|
-
declare const ShareCertificateList: {
|
|
33
|
-
(props: ShareCertificateListProps): React.JSX.Element;
|
|
34
|
-
defaultProps: {
|
|
35
|
-
viewTitle: string;
|
|
36
|
-
openNewFormMode: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
32
|
+
declare const ShareCertificateList: ({ viewTitle, openNewFormMode, ...props }: ShareCertificateListProps) => React.JSX.Element;
|
|
39
33
|
export default ShareCertificateList;
|
|
@@ -10,8 +10,8 @@ import ShareCertificateStatusFilter from "../../controls/ShareCertificateStatusF
|
|
|
10
10
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
11
11
|
import ShareCertificateItem from "../ShareCertificateItem";
|
|
12
12
|
import "./index.css";
|
|
13
|
-
const ShareCertificateList = (props) => {
|
|
14
|
-
const { centerId, contactId,
|
|
13
|
+
const ShareCertificateList = ({ viewTitle = "My ShareCertificate", openNewFormMode = "openAside", ...props }) => {
|
|
14
|
+
const { centerId, contactId, asideable, status, parentId, filter, total } = props;
|
|
15
15
|
const [activeId, setActiveId] = useState("");
|
|
16
16
|
const [shareCertificateTotal, setShareCertificateTotal] = useState(0);
|
|
17
17
|
let listViewHeaderProps;
|
|
@@ -117,9 +117,5 @@ const ShareCertificateList = (props) => {
|
|
|
117
117
|
context.filter();
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
|
-
ShareCertificateList.defaultProps = {
|
|
121
|
-
viewTitle: "My ShareCertificate",
|
|
122
|
-
openNewFormMode: "openAside",
|
|
123
|
-
};
|
|
124
120
|
export default ShareCertificateList;
|
|
125
121
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAEN,6BAA6B,GAC7B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,aAAa,CAAC;AA4BrB,MAAM,oBAAoB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC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,aAAa;gBACjB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,wBAAwB,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;gBACjF,MAAM;YACP;gBACC,MAAM;QACR,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IAED,SAAS,YAAY;QACpB,IAAI,SAAS;YAAE,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;QACtE,OAAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts
CHANGED
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DocumentPropertiesName } from "@voplus/morpho-document/es/components/DocumentProperties";
|
|
3
3
|
export type ShareCertificatePropertiesName = "Shareholder" | "Number" | "Certificate Date" | "Payment Text" | "Certificate Type" | "Certificate Status" | "Shares" | "Class" | "Signee1" | "Signee2" | "Corproate Unit";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
onReloadMenu?: () => void;
|
|
18
|
-
}): React.JSX.Element;
|
|
19
|
-
defaultProps: {
|
|
20
|
-
shareCertificateTitle: string;
|
|
21
|
-
documentTitle: string;
|
|
22
|
-
shareCertificateProperties: {
|
|
23
|
-
name: string;
|
|
24
|
-
}[];
|
|
25
|
-
};
|
|
4
|
+
export type ShareCertificatePropertiesProps = {
|
|
5
|
+
id: string;
|
|
6
|
+
shareCertificateTitle?: string;
|
|
7
|
+
documentTitle?: string;
|
|
8
|
+
shareCertificateProperties?: {
|
|
9
|
+
name: ShareCertificatePropertiesName;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}[];
|
|
12
|
+
documentProperties?: {
|
|
13
|
+
name: DocumentPropertiesName;
|
|
14
|
+
visible?: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
onReloadMenu?: () => void;
|
|
26
17
|
};
|
|
18
|
+
declare const ShareCertificateProperties: ({ shareCertificateTitle, documentTitle, shareCertificateProperties, ...props }: ShareCertificatePropertiesProps) => React.JSX.Element;
|
|
27
19
|
export default ShareCertificateProperties;
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js
CHANGED
|
@@ -12,10 +12,22 @@ import CorporateMentionList from "../../../../../components/CorporateMentionList
|
|
|
12
12
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
13
13
|
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
14
14
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
15
|
-
const ShareCertificateProperties = (
|
|
15
|
+
const ShareCertificateProperties = ({ shareCertificateTitle = "SHARECERTIFICATE PROPERTIES", documentTitle = "DOCUMENT PROPERTIES", shareCertificateProperties = [
|
|
16
|
+
{ name: "Corproate Unit" },
|
|
17
|
+
{ name: "Shareholder" },
|
|
18
|
+
{ name: "Certificate Type" },
|
|
19
|
+
{ name: "Certificate Status" },
|
|
20
|
+
{ name: "Number" },
|
|
21
|
+
{ name: "Certificate Date" },
|
|
22
|
+
{ name: "Payment Text" },
|
|
23
|
+
{ name: "Shares" },
|
|
24
|
+
{ name: "Class" },
|
|
25
|
+
{ name: "Signee1" },
|
|
26
|
+
{ name: "Signee2" },
|
|
27
|
+
], ...props }) => {
|
|
16
28
|
/** 加class name 为了方便做integration tests */
|
|
17
29
|
const classId = "shareCertificate-properties";
|
|
18
|
-
const { id,
|
|
30
|
+
const { id, documentProperties } = props;
|
|
19
31
|
const shareCertificate = useShareCertificate(id, {
|
|
20
32
|
reload: true,
|
|
21
33
|
includes: "corporate-id,corporate-unit",
|
|
@@ -79,22 +91,5 @@ const ShareCertificateProperties = (props) => {
|
|
|
79
91
|
(_b = props === null || props === void 0 ? void 0 : props.onReloadMenu) === null || _b === void 0 ? void 0 : _b.call(props);
|
|
80
92
|
}
|
|
81
93
|
};
|
|
82
|
-
ShareCertificateProperties.defaultProps = {
|
|
83
|
-
shareCertificateTitle: "SHARECERTIFICATE PROPERTIES",
|
|
84
|
-
documentTitle: "DOCUMENT PROPERTIES",
|
|
85
|
-
shareCertificateProperties: [
|
|
86
|
-
{ name: "Corproate Unit" },
|
|
87
|
-
{ name: "Shareholder" },
|
|
88
|
-
{ name: "Certificate Type" },
|
|
89
|
-
{ name: "Certificate Status" },
|
|
90
|
-
{ name: "Number" },
|
|
91
|
-
{ name: "Certificate Date" },
|
|
92
|
-
{ name: "Payment Text" },
|
|
93
|
-
{ name: "Shares" },
|
|
94
|
-
{ name: "Class" },
|
|
95
|
-
{ name: "Signee1" },
|
|
96
|
-
{ name: "Signee2" },
|
|
97
|
-
],
|
|
98
|
-
};
|
|
99
94
|
export default ShareCertificateProperties;
|
|
100
95
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,oBAAoB,MAAM,gDAAgD,CAAC;AAClF,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,yBAAyB,MAAM,0CAA0C,CAAC;AACjF,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,2BAA2B,MAAM,4CAA4C,CAAC;AACrF,OAAO,oBAAoB,MAAM,gDAAgD,CAAC;AAClF,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AA8BtD,MAAM,0BAA0B,GAAG,CAAC,EACnC,qBAAqB,G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AC,WAAW,CAAQ,CACxE,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,uBAAwB,CACxD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE;wBACtB,IAAI,KAAK,KAAK,gBAAgB,CAAC,WAAW;4BAAE,OAAO;wBACnD,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACpE,CAAC,GACA,CACF,CAAC;YACH,KAAK,gBAAgB;gBACpB,OAAO,CACN,oBAAC,WAAW,IACX,OAAO,EAAE,KAAK,EACd,kBAAkB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EACpC,QAAQ,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,GAC/E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;IAED,SAAS,QAAQ;;QAChB,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,QAAQ,4DAAI,CAAC;QAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,qDAAI,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
|
5
5
|
import PropertiesPanelHeader from "@voplus/morpho-document/es/components/PropertiesPanelHeader";
|
|
6
6
|
import ShareCertificateTabs from "../ShareCertificateTabs";
|
|
7
7
|
import { useHandleError } from "@voplus/morpho-document-core";
|
|
8
|
-
import "./index.css";
|
|
9
8
|
const ShareCertificatePropertiesView = (props) => {
|
|
10
9
|
const id = props.id;
|
|
11
10
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,8BAA8B,GAAG,CAAC,KAAwC,EAAE,EAAE;IACnF,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAE3E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAC,oBAAoB,IACjC,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;YACd,oBAAC,qBAAqB,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,GAAI;YAC5E,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC3B,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IAEH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
statusVisible?: boolean;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
defaultProps: {
|
|
9
|
-
commentVisible: boolean;
|
|
10
|
-
};
|
|
2
|
+
export type ShareCertificateDataIconBarProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
commentVisible?: boolean;
|
|
5
|
+
statusVisible?: boolean;
|
|
11
6
|
};
|
|
7
|
+
declare const ShareCertificateDataIconBar: ({ commentVisible, ...props }: ShareCertificateDataIconBarProps) => React.JSX.Element;
|
|
12
8
|
export default ShareCertificateDataIconBar;
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js
CHANGED
|
@@ -3,16 +3,13 @@ import { CommentDataIcon, DocumentDataIcon, UserQuickIcon, } from "@voplus/morph
|
|
|
3
3
|
import ShareCertificateStatusDataIcon from "../ShareCertificateStatusDataIcon";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
|
6
|
-
const ShareCertificateDataIconBar = (props) => {
|
|
7
|
-
const { id,
|
|
6
|
+
const ShareCertificateDataIconBar = ({ commentVisible = true, ...props }) => {
|
|
7
|
+
const { id, statusVisible } = props;
|
|
8
8
|
return observe(() => (React.createElement(DataIconBar, null,
|
|
9
9
|
React.createElement(DocumentDataIcon, { id: id }),
|
|
10
10
|
commentVisible && React.createElement(CommentDataIcon, { id: id }),
|
|
11
11
|
React.createElement(UserQuickIcon, { id: id }),
|
|
12
12
|
statusVisible && React.createElement(ShareCertificateStatusDataIcon, { id: id }))));
|
|
13
13
|
};
|
|
14
|
-
ShareCertificateDataIconBar.defaultProps = {
|
|
15
|
-
commentVisible: true,
|
|
16
|
-
};
|
|
17
14
|
export default ShareCertificateDataIconBar;
|
|
18
15
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,8BAA8B,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAQ1E,MAAM,2BAA2B,GAAG,CAAC,EACpC,cAAc,GAAG,IAAI,EACrB,GAAG,KAAK,EAC0B,EAAE,EAAE;IACtC,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW;QACX,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI;QAC3B,cAAc,IAAI,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;QAC9C,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,GAAI;QACxB,aAAa,IAAI,oBAAC,8BAA8B,IAAC,EAAE,EAAE,EAAE,GAAI,CAC/C,CACd,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
subMenuLocation?: "left" | "right";
|
|
9
|
-
}): React.JSX.Element;
|
|
10
|
-
defaultProps: {
|
|
11
|
-
subMenuLocation: string;
|
|
12
|
-
};
|
|
3
|
+
export type ShareCertificateMenuProps = {
|
|
4
|
+
id: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
closeAside?: boolean;
|
|
7
|
+
subMenuLocation?: "left" | "right";
|
|
13
8
|
};
|
|
9
|
+
declare const ShareCertificateMenu: ({ subMenuLocation, ...props }: ShareCertificateMenuProps) => React.JSX.Element;
|
|
14
10
|
export default ShareCertificateMenu;
|
|
@@ -8,7 +8,7 @@ import { faAngleLeftRegular, FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui
|
|
|
8
8
|
import { observe, MenuTitle } from "@voplus/morpho-ui";
|
|
9
9
|
import "./index.css";
|
|
10
10
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
11
|
-
const ShareCertificateMenu = (props) => {
|
|
11
|
+
const ShareCertificateMenu = ({ subMenuLocation = "left", ...props }) => {
|
|
12
12
|
var _a;
|
|
13
13
|
const toolContext = useToolBarContext();
|
|
14
14
|
const blankMenu = (_a = toolContext.props.blankMenu) !== null && _a !== void 0 ? _a : [];
|
|
@@ -27,7 +27,7 @@ const ShareCertificateMenu = (props) => {
|
|
|
27
27
|
// disabled={shareCertificate.certificateStatus !== "Signing"}
|
|
28
28
|
, {
|
|
29
29
|
// disabled={shareCertificate.certificateStatus !== "Signing"}
|
|
30
|
-
trigger: ["click", "hover"], popupRender: () => (React.createElement("div", { className: "sub-document-menu", style: { left:
|
|
30
|
+
trigger: ["click", "hover"], popupRender: () => (React.createElement("div", { className: "sub-document-menu", style: { left: subMenuLocation === "left" ? "-184px" : "204px" } },
|
|
31
31
|
React.createElement(DeleteSignee1, null),
|
|
32
32
|
React.createElement(DeleteSignee2, null))) },
|
|
33
33
|
React.createElement(Button, { type: "link", className: "shareCertificate-menu-sub-revokeSignature" },
|
|
@@ -35,8 +35,5 @@ const ShareCertificateMenu = (props) => {
|
|
|
35
35
|
React.createElement("span", null, "Revoke Signature")))) : null,
|
|
36
36
|
React.createElement(DocumentMenu, { id: props.id, isTitle: true }))));
|
|
37
37
|
};
|
|
38
|
-
ShareCertificateMenu.defaultProps = {
|
|
39
|
-
subMenuLocation: "left",
|
|
40
|
-
};
|
|
41
38
|
export default ShareCertificateMenu;
|
|
42
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACN,MAAM,EACN,aAAa,EACb,aAAa,EACb,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,YAAY,MAAM,kDAAkD,CAAC;AAC5E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EACN,MAAM,EACN,aAAa,EACb,aAAa,EACb,KAAK,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,YAAY,MAAM,kDAAkD,CAAC;AAC5E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MA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C,CAAC,OAAO,EAAE;gBAEhE,oBAAC,aAAa,OAAG;gBACjB,oBAAC,aAAa,OAAG,CACZ,CACN;YAED,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,SAAS,EAAC,2CAA2C;gBACxE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;gBACpC,qDAA6B,CACrB,CACC,CACX,CAAC,CAAC,CAAC,IAAI;QACR,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,SAAG,CACjC,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -9,10 +9,5 @@ export type NewShareClassFormProps = {
|
|
|
9
9
|
onCancel?: () => void;
|
|
10
10
|
onSave?: (data?: IShareClass) => void;
|
|
11
11
|
};
|
|
12
|
-
declare const NewShareClassFormContent: {
|
|
13
|
-
(props: NewShareClassFormProps): React.JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
12
|
+
declare const NewShareClassFormContent: ({ type, ...props }: NewShareClassFormProps) => React.JSX.Element;
|
|
18
13
|
export default NewShareClassFormContent;
|
|
@@ -9,19 +9,19 @@ import AddShareClass from "../AddShareClass";
|
|
|
9
9
|
import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
|
|
10
10
|
import classnames from "classnames";
|
|
11
11
|
import "./index.css";
|
|
12
|
-
const NewShareClassFormContent = (props) => {
|
|
12
|
+
const NewShareClassFormContent = ({ type = "full", ...props }) => {
|
|
13
13
|
const store = useShareClassStore();
|
|
14
14
|
const asideContext = useAsideContentContext();
|
|
15
15
|
const [state] = useState(new State());
|
|
16
|
-
const content = observe(() => (React.createElement("div", { className: classnames("new-share-type-form", { "sub-share-type-simply-form":
|
|
16
|
+
const content = observe(() => (React.createElement("div", { className: classnames("new-share-type-form", { "sub-share-type-simply-form": type === "mini" }, props.className) },
|
|
17
17
|
React.createElement(Form, { layout: "vertical" },
|
|
18
18
|
React.createElement(Form.Item, { name: "Name", label: "Name" },
|
|
19
19
|
React.createElement(AddShareClass, { onChange: (share) => (state.name = share), onSelect: (share) => (state.name = share) })),
|
|
20
|
-
|
|
20
|
+
type === "mini" && (React.createElement(Row, { className: "share-type-form-btn", justify: "end" },
|
|
21
21
|
React.createElement(Space, null,
|
|
22
22
|
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
23
23
|
React.createElement(Button, { type: "primary", loading: state.loading, onClick: onSave }, "Submit"))))))));
|
|
24
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
|
24
|
+
return observe(() => (React.createElement(React.Fragment, null, type === "full" ? (React.createElement(AddFormView, { title: "Add Share Class Form", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
|
|
25
25
|
async function onSave() {
|
|
26
26
|
var _a;
|
|
27
27
|
if (!state.name.trim()) {
|
|
@@ -48,8 +48,5 @@ const NewShareClassFormContent = (props) => {
|
|
|
48
48
|
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
NewShareClassFormContent.defaultProps = {
|
|
52
|
-
type: "full",
|
|
53
|
-
};
|
|
54
51
|
export default NewShareClassFormContent;
|
|
55
52
|
//# sourceMappingURL=ShareClassForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareClassForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAe,MAAM,iCAAiC,CAAC;AAClF,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AACnE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAWrB,MAAM,wBAAwB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"ShareClassForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAe,MAAM,iCAAiC,CAAC;AAClF,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AACnE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAWrB,MAAM,wBAAwB,GAAG,CAAC,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,EAA0B,EAAE,EAAE;IACxF,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IA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C,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;YACxB,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;YAC5C,OAAO;QACR,CAAC;QAED,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QAErB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE;YAC1D,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QAEH,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QAEtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG,EAAE,CAAC;YAC3B,YAAa,CAAC,SAAS,CAAC,oBAAC,wBAAwB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBACjE,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QACJ,CAAC;QAED,MAAA,KAAK,CAAC,MAAM,sDAAG,GAAG,CAAC,CAAC;IACrB,CAAC;IAED,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,YAAa,CAAC,UAAU,EAAE,CAAC;QAE/C,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NewShareClassFormProps } from "./ShareClassForm";
|
|
3
|
-
declare const NewShareClassFormDialog:
|
|
4
|
-
(props: NewShareClassFormProps): React.JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
type: string;
|
|
7
|
-
showSubmit: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
3
|
+
declare const NewShareClassFormDialog: (props: NewShareClassFormProps) => React.JSX.Element;
|
|
10
4
|
export default NewShareClassFormDialog;
|
|
@@ -4,11 +4,7 @@ import { observe } from "@voplus/morpho-ui";
|
|
|
4
4
|
import { Modal } from "antd";
|
|
5
5
|
const NewShareClassFormDialog = (props) => {
|
|
6
6
|
return observe(() => (React.createElement(Modal, { title: "Add Share Class Dialog", open: true, closable: false, footer: null, onCancel: props.onCancel },
|
|
7
|
-
React.createElement(Content, { ...props }))));
|
|
8
|
-
};
|
|
9
|
-
NewShareClassFormDialog.defaultProps = {
|
|
10
|
-
type: "mini",
|
|
11
|
-
showSubmit: true,
|
|
7
|
+
React.createElement(Content, { type: "mini", ...props }))));
|
|
12
8
|
};
|
|
13
9
|
export default NewShareClassFormDialog;
|
|
14
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/NewShareClassForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAmC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE7B,MAAM,uBAAuB,GAAG,CAAC,KAA6B,EAAE,EAAE;IACjE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,wBAAwB,EAC9B,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/NewShareClassForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAmC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAE7B,MAAM,uBAAuB,GAAG,CAAC,KAA6B,EAAE,EAAE;IACjE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,wBAAwB,EAC9B,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,IAAC,IAAI,EAAC,MAAM,KAAK,KAAK,GAAI,CAC3B,CACR,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
defaultProps: {
|
|
9
|
-
close: boolean;
|
|
10
|
-
};
|
|
2
|
+
export type ShareClassHeaderProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
close?: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
11
6
|
};
|
|
7
|
+
declare const ShareClassHeader: ({ close, ...props }: ShareClassHeaderProps) => React.JSX.Element;
|
|
12
8
|
export default ShareClassHeader;
|