@voplus/morpho-csp 1.0.0-dev004 → 1.0.0-dev007
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Modules.js +9 -1
- package/es/Modules.js.map +1 -1
- package/es/components/CompanyMemberSelect/index.d.ts +17 -0
- package/es/components/CompanyMemberSelect/index.js +35 -0
- package/es/components/CompanyMemberSelect/index.js.map +1 -0
- package/es/components/CurrencyView/index.d.ts +16 -8
- package/es/components/CurrencyView/index.js +6 -3
- package/es/components/CurrencyView/index.js.map +1 -1
- package/es/components/CurrencyView/state.js +1 -1
- package/es/components/Header/index.d.ts +7 -0
- package/es/components/Header/index.js +10 -0
- package/es/components/Header/index.js.map +1 -0
- package/es/components/Header/index.less +16 -0
- package/es/components/LegalContactSelect/index.d.ts +6 -0
- package/es/components/LegalContactSelect/index.js +25 -0
- package/es/components/LegalContactSelect/index.js.map +1 -0
- package/es/components/LegalContactSelect/state.d.ts +9 -0
- package/es/components/LegalContactSelect/state.js +22 -0
- package/es/components/LegalContactSelect/state.js.map +1 -0
- package/es/components/NewTypeDropdown/index.d.ts +7 -0
- package/es/{modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown → components/NewTypeDropdown}/index.js +5 -15
- package/es/components/NewTypeDropdown/index.js.map +1 -0
- package/es/components/ShareTransactionPropertiesView/Content.d.ts +6 -0
- package/es/components/ShareTransactionPropertiesView/Content.js +49 -0
- package/es/components/ShareTransactionPropertiesView/Content.js.map +1 -0
- package/es/components/ShareTransactionPropertiesView/index.d.ts +12 -0
- package/es/components/ShareTransactionPropertiesView/index.js +15 -0
- package/es/components/ShareTransactionPropertiesView/index.js.map +1 -0
- package/es/components/ShareTransactionPropertiesView/index.less +89 -0
- package/es/components/TableDragRow/index.js +6 -6
- package/es/components/TableDragRow/index.js.map +1 -1
- package/es/components/VerificationInformation/VerificationStore.d.ts +33 -0
- package/es/components/VerificationInformation/VerificationStore.js +40 -0
- package/es/components/VerificationInformation/VerificationStore.js.map +1 -0
- package/es/components/VerificationInformation/index.d.ts +5 -0
- package/es/components/VerificationInformation/index.js +71 -0
- package/es/components/VerificationInformation/index.js.map +1 -0
- package/es/components/VerificationInformation/state.d.ts +11 -0
- package/es/components/VerificationInformation/state.js +25 -0
- package/es/components/VerificationInformation/state.js.map +1 -0
- package/es/data/CLDA/hooks.d.ts +10 -0
- package/es/data/CLDA/hooks.js +26 -0
- package/es/data/CLDA/hooks.js.map +1 -0
- package/es/data/CLDA/index.d.ts +4 -0
- package/es/data/CLDA/index.js +5 -0
- package/es/data/CLDA/index.js.map +1 -0
- package/es/data/CLDA/interfaces.d.ts +32 -0
- package/es/data/CLDA/interfaces.js +2 -0
- package/es/data/CLDA/interfaces.js.map +1 -0
- package/es/data/CLDA/store.d.ts +20 -0
- package/es/data/CLDA/store.js +36 -0
- package/es/data/CLDA/store.js.map +1 -0
- package/es/data/CLDA/types.d.ts +26 -0
- package/es/data/CLDA/types.js +2 -0
- package/es/data/CLDA/types.js.map +1 -0
- package/es/data/account/AccountStore.d.ts +17 -0
- package/es/data/account/AccountStore.js +43 -0
- package/es/data/account/AccountStore.js.map +1 -0
- package/es/data/account/hooks.d.ts +9 -0
- package/es/data/account/hooks.js +19 -0
- package/es/data/account/hooks.js.map +1 -0
- package/es/data/account/interfaces.d.ts +15 -0
- package/es/data/account/interfaces.js +2 -0
- package/es/data/account/interfaces.js.map +1 -0
- package/es/data/corporate/CorporateStore.d.ts +11 -7
- package/es/data/corporate/CorporateStore.js +24 -6
- package/es/data/corporate/CorporateStore.js.map +1 -1
- package/es/data/corporate/hooks.d.ts +5 -5
- package/es/data/corporate/hooks.js +8 -3
- package/es/data/corporate/hooks.js.map +1 -1
- package/es/data/corporate/interfaces.d.ts +9 -4
- package/es/data/corporate/interfaces.js +1 -0
- package/es/data/corporate/types.d.ts +21 -5
- package/es/data/corporate/types.js +1 -0
- package/es/data/filingRecord/hooks.d.ts +9 -0
- package/es/data/filingRecord/hooks.js +20 -0
- package/es/data/filingRecord/hooks.js.map +1 -0
- package/es/data/filingRecord/interfaces.d.ts +9 -0
- package/es/data/filingRecord/interfaces.js +2 -0
- package/es/data/filingRecord/interfaces.js.map +1 -0
- package/es/data/filingRecord/store.d.ts +13 -0
- package/es/data/filingRecord/store.js +23 -0
- package/es/data/filingRecord/store.js.map +1 -0
- package/es/data/filingRecord/types.d.ts +18 -0
- package/es/data/filingRecord/types.js +2 -0
- package/es/data/filingRecord/types.js.map +1 -0
- package/es/{modules/corporate/company/Identity/data → data/identity}/IdentityStore.d.ts +12 -6
- package/es/{modules/corporate/company/Identity/data → data/identity}/IdentityStore.js +16 -9
- package/es/data/identity/IdentityStore.js.map +1 -0
- package/es/data/identity/hooks.d.ts +6 -0
- package/es/data/identity/hooks.js +15 -0
- package/es/data/identity/hooks.js.map +1 -0
- package/es/data/identity/index.js.map +1 -0
- package/es/{modules/corporate/company/Identity/data → data/identity}/interfaces.d.ts +9 -4
- package/es/data/identity/interfaces.js +2 -0
- package/es/data/identity/interfaces.js.map +1 -0
- package/es/data/identity/types.d.ts +29 -0
- package/es/data/identity/types.js +2 -0
- package/es/data/identity/types.js.map +1 -0
- package/es/data/member/MemberStore.d.ts +27 -0
- package/es/data/member/MemberStore.js +76 -0
- package/es/data/member/MemberStore.js.map +1 -0
- package/es/data/member/hooks.d.ts +9 -0
- package/es/data/member/hooks.js +19 -0
- package/es/data/member/hooks.js.map +1 -0
- package/es/data/member/index.d.ts +4 -0
- package/es/data/member/index.js +5 -0
- package/es/data/member/index.js.map +1 -0
- package/es/data/member/interfaces.d.ts +18 -0
- package/es/data/member/interfaces.js +2 -0
- package/es/data/member/interfaces.js.map +1 -0
- package/es/data/member/types.d.ts +25 -0
- package/es/data/member/types.js +2 -0
- package/es/data/member/types.js.map +1 -0
- package/es/data/officer/OfficerStore.d.ts +27 -0
- package/es/data/officer/OfficerStore.js +78 -0
- package/es/data/officer/OfficerStore.js.map +1 -0
- package/es/data/officer/hooks.d.ts +10 -0
- package/es/data/officer/hooks.js +19 -0
- package/es/data/officer/hooks.js.map +1 -0
- package/es/data/officer/index.d.ts +4 -0
- package/es/data/officer/index.js +5 -0
- package/es/data/officer/index.js.map +1 -0
- package/es/data/officer/interfaces.d.ts +19 -0
- package/es/data/officer/interfaces.js +2 -0
- package/es/data/officer/interfaces.js.map +1 -0
- package/es/data/officer/types.d.ts +35 -0
- package/es/data/officer/types.js +2 -0
- package/es/data/officer/types.js.map +1 -0
- package/es/data/service/hooks.d.ts +10 -0
- package/es/data/service/hooks.js +19 -0
- package/es/data/service/hooks.js.map +1 -0
- package/es/data/service/index.d.ts +4 -0
- package/es/data/service/index.js +5 -0
- package/es/data/service/index.js.map +1 -0
- package/es/data/service/interfaces.d.ts +13 -0
- package/es/data/service/interfaces.js +2 -0
- package/es/data/service/interfaces.js.map +1 -0
- package/es/data/service/store.d.ts +20 -0
- package/es/data/service/store.js +52 -0
- package/es/data/service/store.js.map +1 -0
- package/es/data/service/types.d.ts +25 -0
- package/es/data/service/types.js +2 -0
- package/es/data/service/types.js.map +1 -0
- package/es/data/serviceType/hooks.d.ts +10 -0
- package/es/data/serviceType/hooks.js +19 -0
- package/es/data/serviceType/hooks.js.map +1 -0
- package/es/data/serviceType/index.d.ts +3 -0
- package/es/data/serviceType/index.js +4 -0
- package/es/data/serviceType/index.js.map +1 -0
- package/es/data/serviceType/interfaces.d.ts +21 -0
- package/es/data/serviceType/interfaces.js +2 -0
- package/es/data/serviceType/interfaces.js.map +1 -0
- package/es/data/serviceType/store.d.ts +27 -0
- package/es/data/serviceType/store.js +68 -0
- package/es/data/serviceType/store.js.map +1 -0
- package/es/data/serviceType/types.d.ts +41 -0
- package/es/data/serviceType/types.js +2 -0
- package/es/data/serviceType/types.js.map +1 -0
- package/es/data/shareCertificate/hooks.d.ts +6 -0
- package/es/data/shareCertificate/hooks.js +12 -0
- package/es/data/shareCertificate/hooks.js.map +1 -0
- package/es/data/shareCertificate/index.d.ts +3 -0
- package/es/data/shareCertificate/index.js +4 -0
- package/es/data/shareCertificate/index.js.map +1 -0
- package/es/data/shareCertificate/interfaces.d.ts +22 -0
- package/es/data/shareCertificate/interfaces.js +2 -0
- package/es/data/shareCertificate/interfaces.js.map +1 -0
- package/es/data/shareCertificate/store.d.ts +15 -0
- package/es/data/shareCertificate/store.js +32 -0
- package/es/data/shareCertificate/store.js.map +1 -0
- package/es/data/shareTransaction/ShareTransactionStore.js +2 -2
- package/es/data/shareTransaction/ShareTransactionStore.js.map +1 -1
- package/es/data/shareTransaction/hooks.js +1 -1
- package/es/data/shareTransaction/hooks.js.map +1 -1
- package/es/data/shareTransaction/interfaces/IShareTransaction.js +1 -0
- package/es/data/shareTransaction/interfaces/IShareTransactionLine.js +1 -0
- package/es/data/shareTransaction/types/ShareLineCreateOptions.js +1 -0
- package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js +1 -0
- package/es/data/shareTransaction/types/ShareTransactionEditOptions.d.ts +2 -2
- package/es/data/shareTransaction/types/ShareTransactionEditOptions.js +1 -0
- package/es/data/shareTransaction/types/ShareTransactionType.js +1 -0
- package/es/modules/account/AccountDefaultView/index.d.ts +4 -0
- package/es/modules/account/AccountDefaultView/index.js +29 -0
- package/es/modules/account/AccountDefaultView/index.js.map +1 -0
- package/es/modules/account/AccountDefaultView/index.less +26 -0
- package/es/modules/account/AccountOrganizations/index.d.ts +6 -0
- package/es/modules/account/AccountOrganizations/index.js +63 -0
- package/es/modules/account/AccountOrganizations/index.js.map +1 -0
- package/es/modules/account/AccountOrganizations/index.less +26 -0
- package/es/modules/account/AccountPropertiesView/index.d.ts +6 -0
- package/es/modules/account/AccountPropertiesView/index.js +20 -0
- package/es/modules/account/AccountPropertiesView/index.js.map +1 -0
- package/es/modules/account/AccountPropertiesView/index.less +10 -0
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.d.ts +17 -0
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js +51 -0
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js +9 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js +49 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.js +14 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalSigningStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js +47 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js +30 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js +38 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js +27 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js +21 -0
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/index.d.ts +4 -0
- package/es/modules/corporate/CLDA/CLDAClientView/index.js +65 -0
- package/es/modules/corporate/CLDA/CLDAClientView/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAClientView/index.less +86 -0
- package/es/modules/corporate/CLDA/CLDADefaultView/index.d.ts +4 -0
- package/es/modules/corporate/CLDA/CLDADefaultView/index.js +61 -0
- package/es/modules/corporate/CLDA/CLDADefaultView/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDADefaultView/index.less +14 -0
- package/es/modules/corporate/CLDA/CLDAListView/index.d.ts +19 -0
- package/es/modules/corporate/CLDA/CLDAListView/index.js +112 -0
- package/es/modules/corporate/CLDA/CLDAListView/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAListView/index.less +16 -0
- package/es/modules/corporate/CLDA/CLDAListView/state.d.ts +24 -0
- package/es/modules/corporate/CLDA/CLDAListView/state.js +73 -0
- package/es/modules/corporate/CLDA/CLDAListView/state.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.d.ts +6 -0
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js +20 -0
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js.map +1 -0
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.less +10 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.js +61 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.js.map +1 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.less +45 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.d.ts +46 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.js +204 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.js.map +1 -0
- package/es/modules/corporate/CLDA/components/CLDADetails/index.d.ts +6 -0
- package/es/modules/corporate/CLDA/components/CLDADetails/index.js +54 -0
- package/es/modules/corporate/CLDA/components/CLDADetails/index.js.map +1 -0
- package/es/modules/corporate/CLDA/components/CLDADetails/index.less +5 -0
- package/es/modules/corporate/CLDA/components/CLDAItem/index.d.ts +6 -0
- package/es/modules/corporate/CLDA/components/CLDAItem/index.js +26 -0
- package/es/modules/corporate/CLDA/components/CLDAItem/index.js.map +1 -0
- package/es/modules/corporate/CLDA/components/CLDAItem/index.less +25 -0
- package/es/modules/corporate/CLDA/components/NewCLDA/index.d.ts +8 -0
- package/es/modules/corporate/CLDA/components/NewCLDA/index.js +46 -0
- package/es/modules/corporate/CLDA/components/NewCLDA/index.js.map +1 -0
- package/es/modules/corporate/CLDA/components/index.d.ts +8 -0
- package/es/modules/corporate/CLDA/components/index.js +9 -0
- package/es/modules/corporate/CLDA/components/index.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.d.ts +13 -0
- package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.js +53 -0
- package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/DocumentStatusLabel/index.less +67 -0
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.d.ts +17 -0
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.js +44 -0
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.less +20 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js +21 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.d.ts +18 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js +52 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.d.ts +3 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js +21 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.d.ts +16 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js +45 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js.map +1 -0
- package/es/modules/corporate/CLDA/controls/filters/index.d.ts +2 -0
- package/es/modules/corporate/CLDA/controls/filters/index.js +3 -0
- package/es/modules/corporate/CLDA/controls/filters/index.js.map +1 -0
- package/es/modules/corporate/CorporateDefaultView/index.js +7 -4
- package/es/modules/corporate/CorporateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/CorporateSelect/index.d.ts +18 -0
- package/es/modules/corporate/CorporateSelect/index.js +29 -0
- package/es/modules/corporate/CorporateSelect/index.js.map +1 -0
- package/es/modules/corporate/DocumentIconList/index.js +5 -5
- package/es/modules/corporate/DocumentIconList/index.js.map +1 -1
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.d.ts +6 -0
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.js +52 -0
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.js.map +1 -0
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.less +8 -0
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.d.ts +6 -0
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js +36 -0
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js.map +1 -0
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.less +12 -0
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.d.ts +8 -0
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js +49 -0
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js.map +1 -0
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.less +56 -0
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.d.ts +7 -0
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js +47 -0
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js.map +1 -0
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.less +71 -0
- package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.d.ts +6 -0
- package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.js +29 -0
- package/es/modules/corporate/FilingRecord/NewFilingYearDialog/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Fields.js +29 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/interface.d.ts +19 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/AGM/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/AGMNomineeStatement.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.js +21 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/AgentAppointment/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/AppointOfficer.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/AppointOfficer.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/AppointOfficer.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.js +51 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.js +20 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.d.ts +27 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/BankOpening/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.js +16 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeAddress/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeCompanyName.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.js +15 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ChangeFYE/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.js +43 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.d.ts +19 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ConsolidateDivide/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ContractAgreement.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ContractAgreement.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/ContractAgreement.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/CorporateRepresentative.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.js +11 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.d.ts +7 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/DispenseAGM/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/EmptyResolution.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/EmptyResolution.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/EmptyResolution.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/Footer/index.d.ts +5 -0
- package/es/modules/corporate/LegalGeneration/components/Footer/index.js +9 -0
- package/es/modules/corporate/LegalGeneration/components/Footer/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.js +27 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.d.ts +17 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/IncorporationDocuments/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.js +67 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.js +20 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.d.ts +40 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/IssueShares/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.js +15 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeAppointment/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.js +24 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/NomineeTerminationForm/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/NoticeOfResolution.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.js +32 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.d.ts +21 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/PowerOfAttroney/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.js +29 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.d.ts +17 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ResignationLetter/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.d.ts +7 -0
- package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.js +29 -0
- package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/SettingDialog/index.less +14 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.js +28 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.d.ts +17 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ShareReduction/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.js +43 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Fields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.js +17 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/Form.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.d.ts +29 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.js +2 -0
- package/es/modules/corporate/LegalGeneration/components/ShareTransfer/interface.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/StrikeOff.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/components/StrikeOff.js +10 -0
- package/es/modules/corporate/LegalGeneration/components/StrikeOff.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/SubmitButton.d.ts +5 -0
- package/es/modules/corporate/LegalGeneration/components/SubmitButton.js +9 -0
- package/es/modules/corporate/LegalGeneration/components/SubmitButton.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/components/index.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/components/index.js +12 -0
- package/es/modules/corporate/LegalGeneration/components/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.js +11 -0
- package/es/modules/corporate/LegalGeneration/fields/AGMNomineeStatementFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.js +71 -0
- package/es/modules/corporate/LegalGeneration/fields/AppointOfficerFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.js +16 -0
- package/es/modules/corporate/LegalGeneration/fields/ChangeCompanyNameFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.js +16 -0
- package/es/modules/corporate/LegalGeneration/fields/ContractAgreementFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.js +38 -0
- package/es/modules/corporate/LegalGeneration/fields/CorporateRepresentativeFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.js +17 -0
- package/es/modules/corporate/LegalGeneration/fields/EmptyResolutionFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.js +28 -0
- package/es/modules/corporate/LegalGeneration/fields/NoticeOfResolutionFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.d.ts +3 -0
- package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.js +36 -0
- package/es/modules/corporate/LegalGeneration/fields/StrikeOffFields.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/fields/index.d.ts +8 -0
- package/es/modules/corporate/LegalGeneration/fields/index.js +9 -0
- package/es/modules/corporate/LegalGeneration/fields/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.d.ts +10 -0
- package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.js +18 -0
- package/es/modules/corporate/LegalGeneration/form/AGMNomineeStatementForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.d.ts +31 -0
- package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.js +46 -0
- package/es/modules/corporate/LegalGeneration/form/AppointOfficerForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.d.ts +14 -0
- package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.js +20 -0
- package/es/modules/corporate/LegalGeneration/form/ChangeCompanyNameForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.d.ts +14 -0
- package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.js +24 -0
- package/es/modules/corporate/LegalGeneration/form/ContractAgreementForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.d.ts +26 -0
- package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.js +40 -0
- package/es/modules/corporate/LegalGeneration/form/CorporateRepresentativeForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.d.ts +14 -0
- package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.js +25 -0
- package/es/modules/corporate/LegalGeneration/form/EmptyResolutionForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.d.ts +21 -0
- package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.js +29 -0
- package/es/modules/corporate/LegalGeneration/form/NoticeOfResolutionForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.d.ts +19 -0
- package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.js +27 -0
- package/es/modules/corporate/LegalGeneration/form/StrikeOffForm.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/form/index.d.ts +8 -0
- package/es/modules/corporate/LegalGeneration/form/index.js +9 -0
- package/es/modules/corporate/LegalGeneration/form/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/index.d.ts +11 -0
- package/es/modules/corporate/LegalGeneration/index.js +157 -0
- package/es/modules/corporate/LegalGeneration/index.js.map +1 -0
- package/es/modules/corporate/LegalGeneration/index.less +73 -0
- package/es/modules/corporate/Service/NewServiceDialog/index.d.ts +7 -0
- package/es/modules/corporate/Service/NewServiceDialog/index.js +43 -0
- package/es/modules/corporate/Service/NewServiceDialog/index.js.map +1 -0
- package/es/modules/corporate/Service/NewServiceDialog/index.less +27 -0
- package/es/modules/corporate/Service/ServiceItem/index.d.ts +8 -0
- package/es/modules/corporate/Service/ServiceItem/index.js +23 -0
- package/es/modules/corporate/Service/ServiceItem/index.js.map +1 -0
- package/es/modules/corporate/Service/ServiceItem/index.less +23 -0
- package/es/modules/corporate/Service/ServiceList/index.d.ts +6 -0
- package/es/modules/corporate/Service/ServiceList/index.js +59 -0
- package/es/modules/corporate/Service/ServiceList/index.js.map +1 -0
- package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.d.ts +3 -0
- package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js +18 -0
- package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js.map +1 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.d.ts +6 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js +126 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js.map +1 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.less +48 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.d.ts +20 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js +37 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js.map +1 -0
- package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.d.ts +7 -0
- package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js +18 -0
- package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js.map +1 -0
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js +65 -0
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.less +30 -0
- package/es/modules/corporate/Statement/index.d.ts +4 -0
- package/es/modules/corporate/Statement/index.js +51 -0
- package/es/modules/corporate/Statement/index.js.map +1 -0
- package/es/modules/corporate/Statement/index.less +16 -0
- package/es/modules/corporate/company/CompanyDefaultView/index.d.ts +1 -2
- package/es/modules/corporate/company/CompanyDefaultView/index.js +51 -28
- package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/CompanyDefaultView/index.less +25 -0
- package/es/modules/corporate/company/CompanyDetailsView/index.js +69 -71
- package/es/modules/corporate/company/CompanyDetailsView/index.js.map +1 -1
- package/es/modules/corporate/company/CompanyDetailsView/index.less +8 -4
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.d.ts +10 -3
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +9 -15
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentityInformation/index.d.ts +9 -3
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js +39 -30
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentityInformation/state.d.ts +3 -0
- package/es/modules/corporate/company/Identity/IdentityInformation/state.js +3 -0
- package/es/modules/corporate/company/Identity/IdentityInformation/state.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js +43 -21
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js +8 -5
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js +13 -10
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js +31 -16
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js +43 -15
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.d.ts +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js +3 -49
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.d.ts +37 -21
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js +79 -25
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js.map +1 -1
- package/es/modules/corporate/company/InlineEditAddress/index.d.ts +14 -0
- package/es/modules/corporate/company/InlineEditAddress/index.js +48 -0
- package/es/modules/corporate/company/InlineEditAddress/index.js.map +1 -0
- package/es/modules/corporate/company/InlineEditAddress/index.less +16 -0
- package/es/modules/corporate/company/InlineEditCountry/index.d.ts +6 -0
- package/es/modules/corporate/company/InlineEditCountry/index.js +18 -0
- package/es/modules/corporate/company/InlineEditCountry/index.js.map +1 -0
- package/es/modules/corporate/company/InlineEditType/index.d.ts +8 -0
- package/es/modules/corporate/company/InlineEditType/index.js +27 -0
- package/es/modules/corporate/company/InlineEditType/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.d.ts +4 -0
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js +21 -0
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.less +6 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.d.ts +16 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js +26 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.less +7 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.d.ts +10 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js +44 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.less +36 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.d.ts +7 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js +34 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.less +12 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.d.ts +7 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js +21 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.d.ts +15 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js +59 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.less +39 -0
- package/es/modules/corporate/company/MemberRegister/components/Details/index.d.ts +7 -0
- package/es/modules/corporate/company/MemberRegister/components/Details/index.js +50 -0
- package/es/modules/corporate/company/MemberRegister/components/Details/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/Details/index.less +14 -0
- package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.d.ts +11 -0
- package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.js +46 -0
- package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/MemberShareTransactions/index.less +12 -0
- package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.d.ts +7 -0
- package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.js +14 -0
- package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.js.map +1 -0
- package/es/modules/corporate/company/MemberRegister/components/ShareTransactionsDataIcon/index.less +8 -0
- package/es/modules/corporate/company/Officer/ContactInformation/index.d.ts +1 -0
- package/es/modules/corporate/company/Officer/ContactInformation/index.js +30 -40
- package/es/modules/corporate/company/Officer/ContactInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.d.ts +1 -3
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js +9 -21
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.less +1 -43
- package/es/modules/corporate/company/Officer/OfficerInformation/index.d.ts +9 -1
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js +51 -11
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerInformation/state.d.ts +5 -0
- package/es/modules/corporate/company/Officer/OfficerInformation/state.js +8 -0
- package/es/modules/corporate/company/Officer/OfficerInformation/state.js.map +1 -0
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.d.ts +8 -0
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js +64 -0
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js.map +1 -0
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.less +39 -0
- package/es/modules/corporate/company/Officer/PositionSelect/index.d.ts +12 -0
- package/es/modules/corporate/company/Officer/PositionSelect/index.js +30 -0
- package/es/modules/corporate/company/Officer/PositionSelect/index.js.map +1 -0
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.d.ts +16 -0
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js +40 -0
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js.map +1 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.d.ts +14 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js +28 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js.map +1 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.less +29 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.d.ts +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js +62 -57
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.less +7 -10
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.d.ts +3 -3
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js +4 -6
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.d.ts +2 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js +7 -42
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.less +17 -14
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js +8 -7
- package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js +26 -19
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.less +4 -9
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.d.ts +4 -0
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js +31 -16
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.less +14 -7
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.d.ts +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js +9 -5
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js +25 -25
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.d.ts +3 -0
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js +51 -40
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.less +7 -0
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js +6 -8
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js +7 -3
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js +3 -4
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js.map +1 -1
- package/es/routes.d.ts +104 -0
- package/es/routes.js +191 -10
- package/es/routes.js.map +1 -1
- package/es/style/common.less +24 -2
- package/package.json +17 -13
- package/es/modules/corporate/company/CompanyDetailsView/state.d.ts +0 -20
- package/es/modules/corporate/company/CompanyDetailsView/state.js +0 -40
- package/es/modules/corporate/company/CompanyDetailsView/state.js.map +0 -1
- package/es/modules/corporate/company/Identity/data/IdentityStore.js.map +0 -1
- package/es/modules/corporate/company/Identity/data/hooks.d.ts +0 -13
- package/es/modules/corporate/company/Identity/data/hooks.js +0 -31
- package/es/modules/corporate/company/Identity/data/hooks.js.map +0 -1
- package/es/modules/corporate/company/Identity/data/index.js.map +0 -1
- package/es/modules/corporate/company/Identity/data/interfaces.js +0 -1
- package/es/modules/corporate/company/Identity/data/interfaces.js.map +0 -1
- package/es/modules/corporate/company/Identity/data/types.d.ts +0 -16
- package/es/modules/corporate/company/Identity/data/types.js +0 -1
- package/es/modules/corporate/company/Identity/data/types.js.map +0 -1
- package/es/modules/corporate/company/Officer/ContactInformation/state.d.ts +0 -20
- package/es/modules/corporate/company/Officer/ContactInformation/state.js +0 -30
- package/es/modules/corporate/company/Officer/ContactInformation/state.js.map +0 -1
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.d.ts +0 -5
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.js.map +0 -1
- /package/es/{modules/corporate/company/Identity/data → data/identity}/index.d.ts +0 -0
- /package/es/{modules/corporate/company/Identity/data → data/identity}/index.js +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
|
2
|
+
import { Store, useApplicationContext, } from "@voplus/morpho-data";
|
|
3
|
+
const StoreName = "VerificationStore";
|
|
4
|
+
/** Quotation store supply backend functions. */
|
|
5
|
+
export class VerificationStore extends Store {
|
|
6
|
+
constructor(endpoint) {
|
|
7
|
+
super();
|
|
8
|
+
this.endpoint = endpoint;
|
|
9
|
+
/** Name of the store */
|
|
10
|
+
this.name = StoreName;
|
|
11
|
+
}
|
|
12
|
+
/** Edit verified. */
|
|
13
|
+
async verify(nodeId, options) {
|
|
14
|
+
return this.action(async () => {
|
|
15
|
+
const r = await this.endpoint.post(`/api/nodes/${nodeId}/manual-verification/verify`, new RequestBuilder().json(options.verified));
|
|
16
|
+
return await r.json();
|
|
17
|
+
}, options);
|
|
18
|
+
}
|
|
19
|
+
/** Edit an confirmed. */
|
|
20
|
+
async confirm(nodeId, options) {
|
|
21
|
+
return this.action(async () => {
|
|
22
|
+
const r = await this.endpoint.post(`/api/nodes/${nodeId}/manual-verification/confirm`, new RequestBuilder().json(options.confirmed));
|
|
23
|
+
return await r.json();
|
|
24
|
+
}, options);
|
|
25
|
+
}
|
|
26
|
+
/** load verification */
|
|
27
|
+
async load(nodeId) {
|
|
28
|
+
const r = await this.endpoint.get(`/api/nodes/${nodeId}/manual-verification`);
|
|
29
|
+
return await r.json();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** 响应钩子检索 VerificationStore */
|
|
33
|
+
export const useVerificationStore = () => {
|
|
34
|
+
const context = useApplicationContext();
|
|
35
|
+
if (!context.getService(StoreName)) {
|
|
36
|
+
context.registerService(new VerificationStore(context.api.currentEndPoint));
|
|
37
|
+
}
|
|
38
|
+
return context.getService(StoreName);
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=VerificationStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationStore.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/VerificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAGN,KAAK,EAEL,qBAAqB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAStC,gDAAgD;AAChD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAI3C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QAD0B,aAAQ,GAAR,QAAQ,CAAa;QAHxD,wBAAwB;QACR,SAAI,GAAW,SAAS,CAAC;IAIzC,CAAC;IAED,qBAAqB;IACd,KAAK,CAAC,MAAM,CAAC,MAAc,EAAE,OAAmD;QACtF,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,cAAc,MAAM,6BAA6B,EACjD,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC3C,CAAC;YAEF,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;IACD,yBAAyB;IAClB,KAAK,CAAC,OAAO,CAAC,MAAc,EAAE,OAAoD;QACxF,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,cAAc,MAAM,8BAA8B,EAClD,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAC5C,CAAC;YAEF,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;IACD,wBAAwB;IACjB,KAAK,CAAC,IAAI,CAAC,MAAc;QAC/B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,MAAM,sBAAsB,CAAC,CAAC;QAC9E,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACD;AAED,+BAA+B;AAC/B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;QACnC,OAAO,CAAC,eAAe,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KAC5E;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,CAAuB,CAAC;AAC5D,CAAC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Form, Skeleton, Switch, message } from "@voplus/antd";
|
|
2
|
+
import React, { useEffect, useState } from "react";
|
|
3
|
+
import { State } from "./state";
|
|
4
|
+
import moment from "moment";
|
|
5
|
+
import { useObserver } from "mobx-react-lite";
|
|
6
|
+
import { useVerificationStore } from "./VerificationStore";
|
|
7
|
+
const VerificationInformation = (props) => {
|
|
8
|
+
const { id } = props;
|
|
9
|
+
const verifyStore = useVerificationStore();
|
|
10
|
+
const [state] = useState(new State());
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
load();
|
|
13
|
+
}, [id]);
|
|
14
|
+
return useObserver(() => {
|
|
15
|
+
var _a, _b;
|
|
16
|
+
return (React.createElement(Form, { labelAlign: "left", labelCol: { span: 5 } }, state.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
|
17
|
+
React.createElement(Form.Item, { label: "Verified" },
|
|
18
|
+
React.createElement(Switch, { checked: state.verified, onChange: onVerified }),
|
|
19
|
+
((_a = state.verification) === null || _a === void 0 ? void 0 : _a.verifiedBy.id) && (React.createElement("div", { className: "operate-record" },
|
|
20
|
+
state.verification.verifiedBy.name,
|
|
21
|
+
" verified on",
|
|
22
|
+
moment(moment.utc(state.verification.verifiedOn).toDate()).format("YYYY-MM-DD HH:mm:ss")))),
|
|
23
|
+
React.createElement(Form.Item, { label: "Confirmed" },
|
|
24
|
+
React.createElement(Switch, { checked: state.confirmed, onChange: onConfirmed }),
|
|
25
|
+
((_b = state.verification) === null || _b === void 0 ? void 0 : _b.confirmedBy.id) && (React.createElement("div", { className: "operate-record" },
|
|
26
|
+
state.verification.confirmedBy.name,
|
|
27
|
+
" confirmed on",
|
|
28
|
+
moment(moment.utc(state.verification.confirmedOn).toDate()).format("YYYY-MM-DD HH:mm:ss"))))))));
|
|
29
|
+
});
|
|
30
|
+
/** Load verification */
|
|
31
|
+
async function load() {
|
|
32
|
+
state.loading = true;
|
|
33
|
+
const res = await verifyStore.load(id);
|
|
34
|
+
state.verification = res;
|
|
35
|
+
state.verified = !!res.verifiedBy.id;
|
|
36
|
+
state.confirmed = !!res.confirmedBy.id;
|
|
37
|
+
state.loading = false;
|
|
38
|
+
}
|
|
39
|
+
/** Edit verified */
|
|
40
|
+
async function onVerified(checked) {
|
|
41
|
+
state.verified = checked;
|
|
42
|
+
const res = await verifyStore.verify(id, {
|
|
43
|
+
verified: checked,
|
|
44
|
+
error: (error) => {
|
|
45
|
+
message.error(error.message);
|
|
46
|
+
state.verified = !checked;
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
if (!res)
|
|
50
|
+
return;
|
|
51
|
+
state.verification = res;
|
|
52
|
+
state.verified = !!res.verifiedBy.id;
|
|
53
|
+
}
|
|
54
|
+
/** Edit confirmed */
|
|
55
|
+
async function onConfirmed(checked) {
|
|
56
|
+
state.confirmed = checked;
|
|
57
|
+
const res = await verifyStore.confirm(id, {
|
|
58
|
+
confirmed: checked,
|
|
59
|
+
error: (error) => {
|
|
60
|
+
message.error(error.message);
|
|
61
|
+
state.confirmed = !checked;
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
if (!res)
|
|
65
|
+
return;
|
|
66
|
+
state.verification = res;
|
|
67
|
+
state.confirmed = !!res.confirmedBy.id;
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export default VerificationInformation;
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IVerification } from "./VerificationStore";
|
|
2
|
+
export declare class State {
|
|
3
|
+
/** data of verification */
|
|
4
|
+
verification: IVerification;
|
|
5
|
+
/** checked of verified */
|
|
6
|
+
verified: boolean;
|
|
7
|
+
/** checked of confirmed */
|
|
8
|
+
confirmed: boolean;
|
|
9
|
+
/** loading of load manual-verification */
|
|
10
|
+
loading: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** checked of verified */
|
|
6
|
+
this.verified = false;
|
|
7
|
+
/** checked of confirmed */
|
|
8
|
+
this.confirmed = false;
|
|
9
|
+
/** loading of load manual-verification */
|
|
10
|
+
this.loading = false;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
observable
|
|
15
|
+
], State.prototype, "verification", void 0);
|
|
16
|
+
__decorate([
|
|
17
|
+
observable
|
|
18
|
+
], State.prototype, "verified", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
observable
|
|
21
|
+
], State.prototype, "confirmed", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
observable
|
|
24
|
+
], State.prototype, "loading", void 0);
|
|
25
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IAAlB;QAGC,0BAA0B;QACP,aAAQ,GAAG,KAAK,CAAC;QACpC,2BAA2B;QACR,cAAS,GAAG,KAAK,CAAC;QACrC,0CAA0C;QACvB,YAAO,GAAG,KAAK,CAAC;IACpC,CAAC;CAAA;AAPY;IAAX,UAAU;2CAAoC;AAEnC;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;wCAA0B;AAEzB;IAAX,UAAU;sCAAwB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ICLDA, ILegacyDirectorEmail } from "./interfaces";
|
|
2
|
+
import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
/** React hook to retrieve a CLDA
|
|
5
|
+
* @param {string} id - id of the CLDA
|
|
6
|
+
* @param {LoadCLDAOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export declare const useCLDA: (id: string, options?: LoadDocumentOptions | undefined) => ICLDA;
|
|
9
|
+
export declare const useCLDAListEffect: (list: ListDataContextState<ICLDA> | null, effect: (list: ICLDA[], total?: number | undefined) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
10
|
+
export declare const useLegacyDirectorEmailList: (id: string, list: ListDataContextState<ILegacyDirectorEmail> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useCLDAStore } from "./store";
|
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
+
/** React hook to retrieve a CLDA
|
|
5
|
+
* @param {string} id - id of the CLDA
|
|
6
|
+
* @param {LoadCLDAOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useCLDA = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useCLDAStore();
|
|
11
|
+
const documents = useDocumentStore();
|
|
12
|
+
return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
|
|
13
|
+
};
|
|
14
|
+
export const useCLDAListEffect = (list, effect, options) => {
|
|
15
|
+
const deps = options ? options : {};
|
|
16
|
+
const legacy = useCLDAStore();
|
|
17
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
18
|
+
return useDocumentListLoaderEffect(list, effect, () => legacy.loadList(options), [deps]);
|
|
19
|
+
};
|
|
20
|
+
export const useLegacyDirectorEmailList = (id, list, effect, options) => {
|
|
21
|
+
const deps = options ? options : {};
|
|
22
|
+
const legacy = useCLDAStore();
|
|
23
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
24
|
+
return useDocumentListLoaderEffect(list, effect, () => legacy.loadLegacyDirectorEmailList(id, options), [deps]);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/CLDA/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACpE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACE,CAAC;AACZ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAChC,IAAwC,EACxC,MAA2D,EAC3D,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1F,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACzC,EAAU,EACV,IAAuD,EACvD,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAE9B,mFAAmF;IACnF,OAAO,2BAA2B,CACjC,IAAI,EACJ,MAAM,EACN,GAAG,EAAE,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,EAAE,OAAO,CAAC,EACrD,CAAC,IAAI,CAAC,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/CLDA/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IDocument } from "@voplus/morpho-document-core";
|
|
2
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
3
|
+
export interface ICLDA extends IDocument {
|
|
4
|
+
/** corporate of the CLDA */
|
|
5
|
+
corporate: {
|
|
6
|
+
id: string;
|
|
7
|
+
contact: {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
/** Effective Date DateTime of the CLDA */
|
|
13
|
+
effectiveDate: string;
|
|
14
|
+
/** Address of the CLDA. */
|
|
15
|
+
settings: {
|
|
16
|
+
newAddress: string;
|
|
17
|
+
effectiveDate: string;
|
|
18
|
+
};
|
|
19
|
+
/** signing mode of the CLDA */
|
|
20
|
+
signingMode?: "Physical" | "Digital";
|
|
21
|
+
/** status of the CLDA */
|
|
22
|
+
assistantStatus?: "Notified" | "Opened" | "SelectMode" | "EmailConfirmation" | "Signing" | "Ready" | "Working" | "Completed";
|
|
23
|
+
/** id of envelope of the signingMode = 'Digital' */
|
|
24
|
+
envelopeId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ILegacyDirectorEmail extends ILoadable {
|
|
27
|
+
id: string;
|
|
28
|
+
/** name of legacy */
|
|
29
|
+
name: string;
|
|
30
|
+
/** email of */
|
|
31
|
+
email: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/CLDA/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CreateCLDAOptions, EditCLDAOptions } from "./types";
|
|
3
|
+
import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
4
|
+
import { ICLDA } from "./interfaces";
|
|
5
|
+
/** Corporate store supply backend functions. */
|
|
6
|
+
export declare class CLDAStore extends DocumentTypeStore<ICLDA, LoadDocumentOptions, LoadDocumentListOptions, CreateCLDAOptions, EditCLDAOptions, any> {
|
|
7
|
+
readonly endpoint: ApiEndPoint;
|
|
8
|
+
/** Name of the store */
|
|
9
|
+
readonly name: string;
|
|
10
|
+
constructor(endpoint: ApiEndPoint, documents: DocumentStore);
|
|
11
|
+
/** 请求董事email信息 */
|
|
12
|
+
loadLegacyDirectorEmailList(id: string, options?: LoadDocumentListOptions): Promise<{
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}[]>;
|
|
16
|
+
/** 下载实体文件 */
|
|
17
|
+
downloadPhysical(id: string): Promise<Blob>;
|
|
18
|
+
}
|
|
19
|
+
/** 响应钩子检索 ServiceStore */
|
|
20
|
+
export declare const useCLDAStore: () => CLDAStore;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { useStore } from "@voplus/morpho-data";
|
|
2
|
+
import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
3
|
+
import invariant from "invariant";
|
|
4
|
+
const StoreName = "CLDAStore";
|
|
5
|
+
/** Corporate store supply backend functions. */
|
|
6
|
+
export class CLDAStore extends DocumentTypeStore {
|
|
7
|
+
constructor(endpoint, documents) {
|
|
8
|
+
super(endpoint, "/api/document-assistants/change-address", documents);
|
|
9
|
+
this.endpoint = endpoint;
|
|
10
|
+
/** Name of the store */
|
|
11
|
+
this.name = StoreName;
|
|
12
|
+
}
|
|
13
|
+
/** 请求董事email信息 */
|
|
14
|
+
async loadLegacyDirectorEmailList(id, options) {
|
|
15
|
+
let query = "";
|
|
16
|
+
if (options === null || options === void 0 ? void 0 : options.Includes)
|
|
17
|
+
query = query.concat(`includes=${options === null || options === void 0 ? void 0 : options.Includes}`);
|
|
18
|
+
if (query)
|
|
19
|
+
query = "?".concat(query);
|
|
20
|
+
const r = await this.endpoint.get(`/api/officers/legacy/emails?corporateId=${id}${query}`);
|
|
21
|
+
return await r.json();
|
|
22
|
+
}
|
|
23
|
+
// /api/officers/legacy/emails?corporateId=BE714F22-EF94-4934-A5B9-AC950023B09D
|
|
24
|
+
/** 下载实体文件 */
|
|
25
|
+
async downloadPhysical(id) {
|
|
26
|
+
invariant(id, "Id cannot be empty.");
|
|
27
|
+
const r = await this.endpoint.get(`/api/document-assistants/change-address/${id}/documents`);
|
|
28
|
+
return r.blob();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/** 响应钩子检索 ServiceStore */
|
|
32
|
+
export const useCLDAStore = () => {
|
|
33
|
+
const documents = useDocumentStore();
|
|
34
|
+
return useStore(StoreName, (context) => new CLDAStore(context.api.currentEndPoint, documents));
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/CLDA/store.ts"],"names":[],"mappings":"AACA,OAAO,EAA4C,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEzF,OAAO,EAGN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,SAAS,MAAM,WAAW,CAAC;AAGlC,MAAM,SAAS,GAAG,WAAW,CAAC;AAE9B,gDAAgD;AAChD,MAAM,OAAO,SAAU,SAAQ,iBAO9B;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,yCAAyC,EAAE,SAAS,CAAC,CAAC;QADpC,aAAQ,GAAR,QAAQ,CAAa;QAHxD,wBAAwB;QACR,SAAI,GAAW,SAAS,CAAC;IAIzC,CAAC;IAED,mBAAmB;IACZ,KAAK,CAAC,2BAA2B,CACvC,EAAU,EACV,OAAiC;QAEjC,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ;YAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE,CAAC,CAAC;QAC7E,IAAI,KAAK;YAAE,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2CAA2C,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAC3F,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IACD,+EAA+E;IAC/E,aAAa;IACN,KAAK,CAAC,gBAAgB,CAAC,EAAU;QACvC,SAAS,CAAC,EAAE,EAAE,qBAAqB,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2CAA2C,EAAE,YAAY,CAAC,CAAC;QAC7F,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IACjB,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAChC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,QAAQ,CACd,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAClE,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ICLDA } from "./interfaces";
|
|
2
|
+
import { LoadOptions } from "@voplus/morpho-data";
|
|
3
|
+
/** Custom load contact options type */
|
|
4
|
+
export declare type LoadCLDAOptions = {
|
|
5
|
+
/** Comma separated include options e.g. path */
|
|
6
|
+
includes?: string;
|
|
7
|
+
} & LoadOptions<ICLDA>;
|
|
8
|
+
export declare type CreateCLDAOptions = {
|
|
9
|
+
/** Name of the new CLDA. */
|
|
10
|
+
Name: string;
|
|
11
|
+
/** The corporate id of the new CLDA to be created in. */
|
|
12
|
+
CoporateId: string;
|
|
13
|
+
/** The parent id of the new CLDA to be created in. */
|
|
14
|
+
ParentId: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type EditCLDAOptions = {
|
|
17
|
+
/** signing mode of the CLDA */
|
|
18
|
+
SigningMode?: "Physical" | "Digital";
|
|
19
|
+
/** status of the CLDA */
|
|
20
|
+
AssistantStatus?: "Notified" | "Opened" | "SelectMode" | "EmailConfirmation" | "Signing" | "Ready" | "Working" | "Completed";
|
|
21
|
+
NewAddress?: string;
|
|
22
|
+
Settings?: {
|
|
23
|
+
NewAddress?: string;
|
|
24
|
+
EffectiveDate?: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/CLDA/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
|
3
|
+
import { IAccount, LoadAccountOptions } from "./interfaces";
|
|
4
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
5
|
+
/** Corporate store supply backend functions. */
|
|
6
|
+
export declare class AccountStore extends Store {
|
|
7
|
+
readonly endpoint: ApiEndPoint;
|
|
8
|
+
/** Name of the store */
|
|
9
|
+
readonly name: string;
|
|
10
|
+
constructor(endpoint: ApiEndPoint);
|
|
11
|
+
/** All currently used corporate. */
|
|
12
|
+
readonly items: CountedMap<string, IAccount>;
|
|
13
|
+
load(id: string, options: LoadAccountOptions): Promise<IAccount>;
|
|
14
|
+
loadList(options?: LoadDocumentListOptions): Promise<IAccount[]>;
|
|
15
|
+
}
|
|
16
|
+
/** 响应钩子检索 AccountStore */
|
|
17
|
+
export declare const useAccountStore: () => AccountStore;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
|
3
|
+
import { observable } from "mobx";
|
|
4
|
+
const StoreName = "AccountStore";
|
|
5
|
+
/** Corporate store supply backend functions. */
|
|
6
|
+
export class AccountStore extends Store {
|
|
7
|
+
constructor(endpoint) {
|
|
8
|
+
super();
|
|
9
|
+
this.endpoint = endpoint;
|
|
10
|
+
/** Name of the store */
|
|
11
|
+
this.name = StoreName;
|
|
12
|
+
/** All currently used corporate. */
|
|
13
|
+
this.items = new CountedMap((key) => ({ loaded: false }), observable.map([], { deep: true }));
|
|
14
|
+
}
|
|
15
|
+
async load(id, options) {
|
|
16
|
+
let query = "";
|
|
17
|
+
if (options.includes)
|
|
18
|
+
query = query.concat(`includes=${options.includes}`);
|
|
19
|
+
if (query)
|
|
20
|
+
query = "?".concat(query);
|
|
21
|
+
const r = await this.endpoint.get(`/api/account/${id}${query}`);
|
|
22
|
+
return await r.json();
|
|
23
|
+
}
|
|
24
|
+
async loadList(options) {
|
|
25
|
+
let query = "";
|
|
26
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
|
27
|
+
query = query.concat(`includes=${options.Includes}`);
|
|
28
|
+
}
|
|
29
|
+
if (query)
|
|
30
|
+
query = "?".concat(query);
|
|
31
|
+
const r = await this.endpoint.post(`/api/account${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
|
32
|
+
return (await r.json());
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/** 响应钩子检索 AccountStore */
|
|
36
|
+
export const useAccountStore = () => {
|
|
37
|
+
const context = useApplicationContext();
|
|
38
|
+
if (!context.getStore(StoreName)) {
|
|
39
|
+
context.addStore(new AccountStore(context.api.currentEndPoint));
|
|
40
|
+
}
|
|
41
|
+
return context.getStore(StoreName);
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=AccountStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountStore.js","sourceRoot":"","sources":["../../../src/data/account/AccountStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAI/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,SAAS,GAAG,cAAc,CAAC;AAEjC,gDAAgD;AAChD,MAAM,OAAO,YAAa,SAAQ,KAAK;IAItC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QAD0B,aAAQ,GAAR,QAAQ,CAAa;QAHxD,wBAAwB;QACR,SAAI,GAAW,SAAS,CAAC;QAMzC,oCAAoC;QACpB,UAAK,GAAiC,IAAI,UAAU,CACnE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAe,CAAA,EAChD,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAClC,CAAC;IANF,CAAC;IAQM,KAAK,CAAC,IAAI,CAAC,EAAU,EAAE,OAA2B;QACxD,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,CAAC,QAAQ;YAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC3E,IAAI,KAAK;YAAE,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC;QAChE,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,OAAiC;QACtD,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE;YACtB,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,YAAY,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;SACrD;QACD,IAAI,KAAK;YAAE,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAErC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,eAAe,KAAK,EAAE,EACtB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC9D,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAe,CAAC;IACvC,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IACnC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;QACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KAChE;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAkB,CAAC;AACrD,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IAccount, LoadAccountOptions } from "./interfaces";
|
|
2
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
/** React hook to retrieve a quotation
|
|
5
|
+
* @param {string} id - id of the quotation
|
|
6
|
+
* @param {LoadAccountOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export declare const useAccount: (id: string, options?: LoadAccountOptions | undefined) => IAccount;
|
|
9
|
+
export declare const useAccountListEffect: (list: ListDataContextState<IAccount> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useAccountStore } from "./AccountStore";
|
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
+
/** React hook to retrieve a quotation
|
|
5
|
+
* @param {string} id - id of the quotation
|
|
6
|
+
* @param {LoadAccountOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useAccount = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useAccountStore();
|
|
11
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
|
12
|
+
};
|
|
13
|
+
export const useAccountListEffect = (list, effect, options) => {
|
|
14
|
+
const deps = options ? options : {};
|
|
15
|
+
const officer = useAccountStore();
|
|
16
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
17
|
+
return useDocumentListLoaderEffect(list, effect, () => officer.loadList(options), [deps]);
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/account/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAGpG,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAU,EAAE,OAA4B,EAAE,EAAE;IACtE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAAyB,CAAC;IACzD,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CACnC,IAA2C,EAC3C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;IAElC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC3F,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ILoadable, LoadOptions } from "@voplus/morpho-data";
|
|
2
|
+
/** Custom load account options type */
|
|
3
|
+
export declare type LoadAccountOptions = {
|
|
4
|
+
includes?: string;
|
|
5
|
+
} & LoadOptions<IAccount>;
|
|
6
|
+
export interface IAccount extends ILoadable {
|
|
7
|
+
id: string;
|
|
8
|
+
/** account number */
|
|
9
|
+
number: string;
|
|
10
|
+
/**account 拥有者 */
|
|
11
|
+
owner?: {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/account/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
-
import {
|
|
2
|
+
import { CorporateEditOptions, LoadCorporateOptions } from "./types";
|
|
3
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
|
4
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
3
5
|
import { ICorporate } from "./interfaces";
|
|
4
|
-
import { ICorporateEditOptions } from "./types";
|
|
5
|
-
import { LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
6
6
|
/** Corporate store supply backend functions. */
|
|
7
7
|
export declare class CorporateStore extends Store {
|
|
8
8
|
readonly endpoint: ApiEndPoint;
|
|
9
9
|
/** Name of the store */
|
|
10
10
|
readonly name: string;
|
|
11
11
|
constructor(endpoint: ApiEndPoint);
|
|
12
|
+
/** All currently used corporate. */
|
|
13
|
+
readonly items: CountedMap<string, ICorporate>;
|
|
12
14
|
/** Load a corporate from server.
|
|
13
15
|
* @param {string} id - id of the corporate or unit.
|
|
14
16
|
* @param {LoadDocumentOptions} options - Optional load options.
|
|
15
17
|
* 如果从unit 目录下打开使用 /api/units/{unitid}/corporate api,其它情况使用/api/corporates/{id}
|
|
16
18
|
*/
|
|
17
|
-
load(id: string, options:
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
load(id: string, options: LoadCorporateOptions): Promise<ICorporate>;
|
|
20
|
+
/** Load a list of documents from server.
|
|
21
|
+
* @param {LoadDocumentListOptions}
|
|
22
|
+
*/
|
|
23
|
+
loadList(options?: LoadDocumentListOptions): Promise<ICorporate[]>;
|
|
20
24
|
/** Edit an existing item on server. */
|
|
21
|
-
edit(id: string, options:
|
|
25
|
+
edit(id: string, options: CorporateEditOptions): Promise<any>;
|
|
22
26
|
}
|
|
23
27
|
/** 响应钩子检索 CorporateStore */
|
|
24
28
|
export declare const useCorporateStore: () => CorporateStore;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RequestBuilder } from "@voplus/api";
|
|
2
|
-
import { Store, useApplicationContext } from "@voplus/morpho-data";
|
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
|
3
|
+
import { observable } from "mobx";
|
|
3
4
|
const StoreName = "CorporateStore";
|
|
4
5
|
/** Corporate store supply backend functions. */
|
|
5
6
|
export class CorporateStore extends Store {
|
|
@@ -8,6 +9,8 @@ export class CorporateStore extends Store {
|
|
|
8
9
|
this.endpoint = endpoint;
|
|
9
10
|
/** Name of the store */
|
|
10
11
|
this.name = StoreName;
|
|
12
|
+
/** All currently used corporate. */
|
|
13
|
+
this.items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
|
|
11
14
|
}
|
|
12
15
|
/** Load a corporate from server.
|
|
13
16
|
* @param {string} id - id of the corporate or unit.
|
|
@@ -26,18 +29,33 @@ export class CorporateStore extends Store {
|
|
|
26
29
|
const r = await this.endpoint.get(path);
|
|
27
30
|
return await r.json();
|
|
28
31
|
}
|
|
32
|
+
/** Load a list of documents from server.
|
|
33
|
+
* @param {LoadDocumentListOptions}
|
|
34
|
+
*/
|
|
35
|
+
async loadList(options) {
|
|
36
|
+
let query = "";
|
|
37
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
|
38
|
+
query = query.concat(`includes=${options.Includes}`);
|
|
39
|
+
}
|
|
40
|
+
if (query)
|
|
41
|
+
query = "?".concat(query);
|
|
42
|
+
const r = await this.endpoint.post(`/api/corporates${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
|
43
|
+
return (await r.json());
|
|
44
|
+
}
|
|
29
45
|
/** Edit an existing item on server. */
|
|
30
46
|
async edit(id, options) {
|
|
31
|
-
|
|
32
|
-
|
|
47
|
+
return this.action(async () => {
|
|
48
|
+
const r = await this.endpoint.post(`/api/corporates/${id}`, new RequestBuilder().json(options.data));
|
|
49
|
+
return await r.json();
|
|
50
|
+
}, options);
|
|
33
51
|
}
|
|
34
52
|
}
|
|
35
53
|
/** 响应钩子检索 CorporateStore */
|
|
36
54
|
export const useCorporateStore = () => {
|
|
37
55
|
const context = useApplicationContext();
|
|
38
|
-
if (!context.
|
|
39
|
-
context.
|
|
56
|
+
if (!context.getService(StoreName)) {
|
|
57
|
+
context.registerService(new CorporateStore(context.api.currentEndPoint));
|
|
40
58
|
}
|
|
41
|
-
return context.
|
|
59
|
+
return context.getService(StoreName);
|
|
42
60
|
};
|
|
43
61
|
//# sourceMappingURL=CorporateStore.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateStore.js","sourceRoot":"","sources":["../../../src/data/corporate/CorporateStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"CorporateStore.js","sourceRoot":"","sources":["../../../src/data/corporate/CorporateStore.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
1
2
|
import { ICorporate } from "./interfaces";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
import { LoadCorporateOptions } from "./types";
|
|
2
5
|
/** React hook to retrieve a quotation
|
|
3
6
|
* @param {string} id - id of the quotation
|
|
4
7
|
* @param {LoadDocumentOptions} options - options
|
|
5
8
|
*/
|
|
6
|
-
export declare const useCorporate: (id: string, options?:
|
|
7
|
-
|
|
8
|
-
} & import("@voplus/morpho-data").LoadOptions<import("@voplus/morpho-document-core").IDocument> & {
|
|
9
|
-
unit?: boolean | undefined;
|
|
10
|
-
}) | undefined) => ICorporate;
|
|
9
|
+
export declare const useCorporate: (id: string, options?: LoadCorporateOptions | undefined) => ICorporate;
|
|
10
|
+
export declare const useCorporateListEffect: (list: ListDataContextState<any> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|