@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
|
|
2
2
|
import { useCorporateStore } from "./CorporateStore";
|
|
3
3
|
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
4
|
/** React hook to retrieve a quotation
|
|
@@ -8,7 +8,12 @@ import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
|
8
8
|
export const useCorporate = (id, options) => {
|
|
9
9
|
options = options ? options : {};
|
|
10
10
|
const store = useCorporateStore();
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
|
12
|
+
};
|
|
13
|
+
export const useCorporateListEffect = (list, effect, options) => {
|
|
14
|
+
const deps = options ? options : {};
|
|
15
|
+
const corporate = useCorporateStore();
|
|
16
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
17
|
+
return useDocumentListLoaderEffect(list, effect, () => corporate.loadList(options), [deps]);
|
|
13
18
|
};
|
|
14
19
|
//# sourceMappingURL=hooks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/corporate/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/corporate/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,GAE3B,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAU,EAAE,OAA8B,EAAE,EAAE;IAC1E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA2B,CAAC;IAC3D,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAElC,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,sBAAsB,GAAG,CACrC,IAAsC,EACtC,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,SAAS,GAAG,iBAAiB,EAAE,CAAC;IAEtC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7F,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IAddress } from "@voplus/morpho-org";
|
|
2
|
-
import {
|
|
3
|
-
export interface ICorporate extends
|
|
2
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
3
|
+
export interface ICorporate extends ILoadable {
|
|
4
4
|
/** id of corporate */
|
|
5
5
|
id: string;
|
|
6
6
|
/** name of unit */
|
|
@@ -8,9 +8,9 @@ export interface ICorporate extends IDocument {
|
|
|
8
8
|
/** */
|
|
9
9
|
jurisdiction: string;
|
|
10
10
|
/** type of corporate */
|
|
11
|
-
corporateType:
|
|
11
|
+
corporateType: "Proprietorship" | "Company" | "Partnership";
|
|
12
12
|
/** */
|
|
13
|
-
liabilityType:
|
|
13
|
+
liabilityType: "Unlimited" | "LimitedByShares" | "LimitedByGuarantee";
|
|
14
14
|
/** id of registration of company */
|
|
15
15
|
registersId: string;
|
|
16
16
|
/** number of registration of company */
|
|
@@ -23,4 +23,9 @@ export interface ICorporate extends IDocument {
|
|
|
23
23
|
allowedJurisdictions: string[];
|
|
24
24
|
/** 客户查看时不可编辑 */
|
|
25
25
|
allowEdit: boolean;
|
|
26
|
+
/** registers SubMenu */
|
|
27
|
+
registers: {
|
|
28
|
+
id: string;
|
|
29
|
+
type?: string;
|
|
30
|
+
}[];
|
|
26
31
|
}
|
|
@@ -1,11 +1,27 @@
|
|
|
1
|
+
import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
|
1
2
|
import { IAddress } from "@voplus/morpho-org";
|
|
2
|
-
|
|
3
|
+
import { ICorporate } from ".";
|
|
4
|
+
/** Custom load contact options type */
|
|
5
|
+
export declare type LoadCorporateOptions = {
|
|
6
|
+
/** Comma separated include options e.g. path */
|
|
7
|
+
includes?: string;
|
|
8
|
+
/** 如果从unit 目录下打开使用 /api/units/{unitid}/corporate api,其它情况使用/api/corporates/{id} */
|
|
9
|
+
unit?: boolean;
|
|
10
|
+
} & LoadOptions<ICorporate>;
|
|
11
|
+
export declare type CorporateEditDataOptions = {
|
|
3
12
|
/** Number of Registration */
|
|
4
|
-
RegistrationNumber
|
|
13
|
+
RegistrationNumber?: number | string;
|
|
5
14
|
/** Jurisdiction of Company */
|
|
6
|
-
Jurisdiction
|
|
15
|
+
Jurisdiction?: string;
|
|
7
16
|
/** Address of Registration Company */
|
|
8
|
-
RegisteredAddress
|
|
17
|
+
RegisteredAddress?: IAddress;
|
|
9
18
|
/** Date of Registration */
|
|
10
|
-
RegistrationDate
|
|
19
|
+
RegistrationDate?: Date;
|
|
20
|
+
/** Type of Corporate */
|
|
21
|
+
CorporateType?: string;
|
|
22
|
+
/** */
|
|
23
|
+
LiabilityType?: string;
|
|
11
24
|
};
|
|
25
|
+
export declare type CorporateEditOptions = {
|
|
26
|
+
data: CorporateEditDataOptions;
|
|
27
|
+
} & StoreActionOptions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
2
|
+
import { IFilingRecord } from "./interfaces";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
/** React hook to retrieve a filingRecord
|
|
5
|
+
* @param {string} id - id of the filingRecord
|
|
6
|
+
* @param {LoadFilingRecordOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export declare const useFilingRecord: (id: string, options?: LoadDocumentOptions | undefined) => import("@voplus/morpho-document-core").IDocument;
|
|
9
|
+
export declare const useFilingRecordListEffect: (list: ListDataContextState<IFilingRecord> | null, effect: (list: IFilingRecord[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useFilingRecordStore } from "./store";
|
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
+
/** React hook to retrieve a filingRecord
|
|
5
|
+
* @param {string} id - id of the filingRecord
|
|
6
|
+
* @param {LoadFilingRecordOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useFilingRecord = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useFilingRecordStore();
|
|
11
|
+
const documents = useDocumentStore();
|
|
12
|
+
return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
|
|
13
|
+
};
|
|
14
|
+
export const useFilingRecordListEffect = (list, effect, options) => {
|
|
15
|
+
const deps = options ? options : {};
|
|
16
|
+
const officer = useFilingRecordStore();
|
|
17
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
18
|
+
return useDocumentListLoaderEffect(list, effect, () => officer.loadList(options), [deps]);
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/filingRecord/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IAC5E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAAC,EAAE,EAAE,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AAC5F,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACxC,IAAgD,EAChD,MAAuC,EACvC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAC;IAEvC,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 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/filingRecord/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CreateFilingRecordOptions, EditFilingRecordOptions } from "./types";
|
|
3
|
+
import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
4
|
+
import { IFilingRecord } from "./interfaces";
|
|
5
|
+
/** Corporate store supply backend functions. */
|
|
6
|
+
export declare class FilingRecordStore extends DocumentTypeStore<IFilingRecord, LoadDocumentOptions, LoadDocumentListOptions, CreateFilingRecordOptions, EditFilingRecordOptions, any> {
|
|
7
|
+
readonly endpoint: ApiEndPoint;
|
|
8
|
+
/** Name of the store */
|
|
9
|
+
readonly name: string;
|
|
10
|
+
constructor(endpoint: ApiEndPoint, documents: DocumentStore);
|
|
11
|
+
}
|
|
12
|
+
/** 响应钩子检索 ServiceStore */
|
|
13
|
+
export declare const useFilingRecordStore: () => FilingRecordStore;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useStore } from "@voplus/morpho-data";
|
|
2
|
+
import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
3
|
+
const StoreName = "FilingRecordStore";
|
|
4
|
+
/** Corporate store supply backend functions. */
|
|
5
|
+
export class FilingRecordStore extends DocumentTypeStore {
|
|
6
|
+
constructor(endpoint, documents) {
|
|
7
|
+
super(endpoint, "/api/filings", documents);
|
|
8
|
+
this.endpoint = endpoint;
|
|
9
|
+
/** Name of the store */
|
|
10
|
+
this.name = StoreName;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/** 响应钩子检索 ServiceStore */
|
|
14
|
+
export const useFilingRecordStore = () => {
|
|
15
|
+
const documents = useDocumentStore();
|
|
16
|
+
return useStore(StoreName, (context) => new FilingRecordStore(context.api.currentEndPoint, documents));
|
|
17
|
+
// const context = useApplicationContext();
|
|
18
|
+
// if (!context.getStore(StoreName)) {
|
|
19
|
+
// context.addStore(new FilingRecordStore(context.api.currentEndPoint));
|
|
20
|
+
// }
|
|
21
|
+
// return context.getStore(StoreName)! as FilingRecordStore;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/filingRecord/store.ts"],"names":[],"mappings":"AACA,OAAO,EAA4C,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAMzF,OAAO,EAGN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,gDAAgD;AAChD,MAAM,OAAO,iBAAkB,SAAQ,iBAOtC;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC;QADT,aAAQ,GAAR,QAAQ,CAAa;QAHxD,wBAAwB;QACR,SAAI,GAAW,SAAS,CAAC;IAIzC,CAAC;CAuDD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,QAAQ,CACd,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC1E,CAAC;IACF,2CAA2C;IAC3C,sCAAsC;IACtC,yEAAyE;IACzE,IAAI;IACJ,4DAA4D;AAC7D,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IFilingRecord } from "./interfaces";
|
|
2
|
+
import { LoadOptions } from "@voplus/morpho-data";
|
|
3
|
+
/** Custom load contact options type */
|
|
4
|
+
export declare type LoadFilingRecordOptions = {
|
|
5
|
+
/** Comma separated include options e.g. path */
|
|
6
|
+
includes?: string;
|
|
7
|
+
} & LoadOptions<IFilingRecord>;
|
|
8
|
+
export declare type CreateFilingRecordOptions = {
|
|
9
|
+
Name: string;
|
|
10
|
+
/** filing 种类 */
|
|
11
|
+
Type: string;
|
|
12
|
+
/** filing 到期日 */
|
|
13
|
+
DueDate: Date | string;
|
|
14
|
+
};
|
|
15
|
+
export declare type EditFilingRecordOptions = {
|
|
16
|
+
/** filing 到期日 */
|
|
17
|
+
DueDate: Date | string;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/filingRecord/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { CountedMap, Store, StoreActionOptions } from "@voplus/morpho-data";
|
|
3
|
+
import { IdentityCreateOptions, LoadIdentityOptions } from "./types";
|
|
4
4
|
import { IIdentity } from "./interfaces";
|
|
5
|
-
import {
|
|
5
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
6
6
|
/** Quotation store supply backend functions. */
|
|
7
7
|
export declare class IdentityStore 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 identity. */
|
|
13
|
+
readonly items: CountedMap<string, IIdentity>;
|
|
12
14
|
/** Create a new Identity. */
|
|
13
|
-
create(options:
|
|
15
|
+
create(options: {
|
|
16
|
+
data: IdentityCreateOptions;
|
|
17
|
+
} & StoreActionOptions): Promise<IIdentity>;
|
|
14
18
|
/** Edit an existing item on server. */
|
|
15
|
-
edit(id: string, options:
|
|
19
|
+
edit(id: string, options: {
|
|
20
|
+
data: IdentityCreateOptions;
|
|
21
|
+
} & StoreActionOptions): Promise<any>;
|
|
16
22
|
/** Load a list of documents from server.
|
|
17
23
|
* @param {LoadDocumentListOptions}
|
|
18
24
|
*/
|
|
19
25
|
loadList(options?: LoadDocumentListOptions): Promise<IIdentity[]>;
|
|
20
|
-
load(id: string, options:
|
|
26
|
+
load(id: string, options: LoadIdentityOptions): Promise<IIdentity>;
|
|
21
27
|
}
|
|
22
28
|
/** 响应钩子检索 IdentityStore */
|
|
23
29
|
export declare const useIdentityStore: () => IdentityStore;
|
|
@@ -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 = "IdentityStore";
|
|
4
5
|
/** Quotation store supply backend functions. */
|
|
5
6
|
export class IdentityStore extends Store {
|
|
@@ -8,18 +9,24 @@ export class IdentityStore extends Store {
|
|
|
8
9
|
this.endpoint = endpoint;
|
|
9
10
|
/** Name of the store */
|
|
10
11
|
this.name = StoreName;
|
|
12
|
+
/** All currently used identity. */
|
|
13
|
+
this.items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
|
|
11
14
|
}
|
|
12
15
|
/** Create a new Identity. */
|
|
13
16
|
async create(options) {
|
|
14
17
|
// invariant(options.name, "Name cannot be empty.");
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
return this.action(async () => {
|
|
19
|
+
const r = await this.endpoint.post(`/api/identities/create`, new RequestBuilder().json(options.data));
|
|
20
|
+
const t = (await r.json());
|
|
21
|
+
return t;
|
|
22
|
+
}, options);
|
|
18
23
|
}
|
|
19
24
|
/** Edit an existing item on server. */
|
|
20
25
|
async edit(id, options) {
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
return this.action(async () => {
|
|
27
|
+
const r = await this.endpoint.post(`/api/identities/${id}`, new RequestBuilder().json(options.data));
|
|
28
|
+
return await r.json();
|
|
29
|
+
}, options);
|
|
23
30
|
}
|
|
24
31
|
/** Load a list of documents from server.
|
|
25
32
|
* @param {LoadDocumentListOptions}
|
|
@@ -47,9 +54,9 @@ export class IdentityStore extends Store {
|
|
|
47
54
|
/** 响应钩子检索 IdentityStore */
|
|
48
55
|
export const useIdentityStore = () => {
|
|
49
56
|
const context = useApplicationContext();
|
|
50
|
-
if (!context.
|
|
51
|
-
context.
|
|
57
|
+
if (!context.getService(StoreName)) {
|
|
58
|
+
context.registerService(new IdentityStore(context.api.currentEndPoint));
|
|
52
59
|
}
|
|
53
|
-
return context.
|
|
60
|
+
return context.getService(StoreName);
|
|
54
61
|
};
|
|
55
62
|
//# sourceMappingURL=IdentityStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentityStore.js","sourceRoot":"","sources":["../../../src/data/identity/IdentityStore.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
2
|
+
import { IIdentity } from "./interfaces";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
import { LoadIdentityOptions } from ".";
|
|
5
|
+
export declare const useIdentity: (id: string, options?: LoadIdentityOptions | undefined) => IIdentity;
|
|
6
|
+
export declare const useIdentityListEffect: (list: ListDataContextState<IIdentity> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useIdentityStore } from "./IdentityStore";
|
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
+
export const useIdentity = (id, options) => {
|
|
5
|
+
options = options ? options : {};
|
|
6
|
+
const store = useIdentityStore();
|
|
7
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
|
8
|
+
};
|
|
9
|
+
export const useIdentityListEffect = (list, effect, options) => {
|
|
10
|
+
const deps = options ? options : {};
|
|
11
|
+
const identity = useIdentityStore();
|
|
12
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
13
|
+
return useDocumentListLoaderEffect(list, effect, () => identity.loadList(options), [deps]);
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/identity/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAKpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,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,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAEjE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
2
|
+
export declare type IdentityType = "IdentityCard" | "Passport" | "BusinessRegistration";
|
|
3
|
+
export interface IIdentity extends ILoadable {
|
|
4
|
+
/** id of identity */
|
|
5
|
+
id: string;
|
|
3
6
|
/** id of the unit */
|
|
4
|
-
unitId
|
|
7
|
+
unitId: string;
|
|
5
8
|
/** full name of the identity */
|
|
6
9
|
fullName: string;
|
|
7
10
|
/** number of the identity */
|
|
@@ -11,7 +14,9 @@ export interface IIdentity extends IDocument {
|
|
|
11
14
|
/** expiry date of the identity */
|
|
12
15
|
expiryDate: Date;
|
|
13
16
|
/** type of the identity */
|
|
14
|
-
type:
|
|
17
|
+
type: IdentityType;
|
|
15
18
|
/** type of the unit */
|
|
16
19
|
unitType?: "Person" | "Organization";
|
|
20
|
+
/** */
|
|
21
|
+
identity: string;
|
|
17
22
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/identity/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
|
2
|
+
import { IAddress } from "@voplus/morpho-org";
|
|
3
|
+
import { IIdentity } from ".";
|
|
4
|
+
/** Custom load identity options type */
|
|
5
|
+
export declare type LoadIdentityOptions = {
|
|
6
|
+
/** Comma separated include options e.g. path */
|
|
7
|
+
includes?: string;
|
|
8
|
+
} & LoadOptions<IIdentity>;
|
|
9
|
+
export declare type IdentityCreateDataOptions = {
|
|
10
|
+
/** id of the unit */
|
|
11
|
+
UnitId?: string;
|
|
12
|
+
/** full name of the identity */
|
|
13
|
+
FullName?: string;
|
|
14
|
+
/** number of the identity */
|
|
15
|
+
Number?: number;
|
|
16
|
+
/** country of issued of the identity */
|
|
17
|
+
Country?: string;
|
|
18
|
+
/** expiry date of the identity */
|
|
19
|
+
ExpiryDate?: Date;
|
|
20
|
+
/** type of the identity */
|
|
21
|
+
Type?: string;
|
|
22
|
+
/** type of the unit */
|
|
23
|
+
UnitType?: "Person" | "Organization";
|
|
24
|
+
/** Address of the unit */
|
|
25
|
+
Address?: IAddress;
|
|
26
|
+
};
|
|
27
|
+
export declare type IdentityCreateOptions = {
|
|
28
|
+
data: IdentityCreateDataOptions;
|
|
29
|
+
} & StoreActionOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/identity/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
|
3
|
+
import { DeleteDocumentOptions, LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
4
|
+
import { ICompanyMemberCreateOptions, ICompanyMemberEditOptions, LoadCompanyMemberOptions } from "./types";
|
|
5
|
+
import { ICompanyMember } from "./interfaces";
|
|
6
|
+
/** Quotation store supply backend functions. */
|
|
7
|
+
export declare class MemberStore extends Store {
|
|
8
|
+
readonly endpoint: ApiEndPoint;
|
|
9
|
+
/** Name of the store */
|
|
10
|
+
readonly name: string;
|
|
11
|
+
constructor(endpoint: ApiEndPoint);
|
|
12
|
+
/** All currently used corporate. */
|
|
13
|
+
readonly items: CountedMap<string, ICompanyMember>;
|
|
14
|
+
/** Create a new Identity. */
|
|
15
|
+
create(options: ICompanyMemberCreateOptions): Promise<ICompanyMember>;
|
|
16
|
+
/** Edit an existing item on server. */
|
|
17
|
+
edit(id: string, options: ICompanyMemberEditOptions): Promise<void>;
|
|
18
|
+
/** company member 內有文件不能delete */
|
|
19
|
+
delete(ids: string[], options?: DeleteDocumentOptions): Promise<ICompanyMember[]>;
|
|
20
|
+
/** Load a list of documents from server.
|
|
21
|
+
* @param {LoadDocumentListOptions}
|
|
22
|
+
*/
|
|
23
|
+
loadList(options?: LoadDocumentListOptions): Promise<ICompanyMember[]>;
|
|
24
|
+
load(id: string, options: LoadCompanyMemberOptions): Promise<ICompanyMember>;
|
|
25
|
+
}
|
|
26
|
+
/** 响应钩子检索 IdentityStore */
|
|
27
|
+
export declare const useMemberStore: () => MemberStore;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
|
3
|
+
import { observable } from "mobx";
|
|
4
|
+
const StoreName = "MemberStore";
|
|
5
|
+
/** Quotation store supply backend functions. */
|
|
6
|
+
export class MemberStore 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) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
|
|
14
|
+
}
|
|
15
|
+
/** Create a new Identity. */
|
|
16
|
+
async create(options) {
|
|
17
|
+
// invariant(options.name, "Name cannot be empty.");
|
|
18
|
+
return await this.action(async () => {
|
|
19
|
+
const r = await this.endpoint.post(`/api/members/create`, new RequestBuilder().json(options.data));
|
|
20
|
+
const t = (await r.json());
|
|
21
|
+
return t;
|
|
22
|
+
}, options);
|
|
23
|
+
}
|
|
24
|
+
/** Edit an existing item on server. */
|
|
25
|
+
async edit(id, options) {
|
|
26
|
+
await this.action(async () => {
|
|
27
|
+
const r = await this.endpoint.post(`/api/members/${id}/info`, new RequestBuilder().json(options.data));
|
|
28
|
+
const t = await r.json();
|
|
29
|
+
this.items.overwrite(t.id, t);
|
|
30
|
+
}, options);
|
|
31
|
+
}
|
|
32
|
+
/** company member 內有文件不能delete */
|
|
33
|
+
async delete(ids, options) {
|
|
34
|
+
await this.endpoint.delete(`/api/members/delete`, new RequestBuilder().json({ Ids: ids, Options: options }));
|
|
35
|
+
const deleted = [];
|
|
36
|
+
for (const id of ids) {
|
|
37
|
+
const item = this.items.peek(id);
|
|
38
|
+
if (item) {
|
|
39
|
+
deleted.push(item);
|
|
40
|
+
// item.status = "Deleted";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return deleted;
|
|
44
|
+
}
|
|
45
|
+
/** Load a list of documents from server.
|
|
46
|
+
* @param {LoadDocumentListOptions}
|
|
47
|
+
*/
|
|
48
|
+
async loadList(options) {
|
|
49
|
+
let query = "";
|
|
50
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
|
51
|
+
query = query.concat(`includes=${options.Includes}`);
|
|
52
|
+
}
|
|
53
|
+
if (query)
|
|
54
|
+
query = "?".concat(query);
|
|
55
|
+
const r = await this.endpoint.post(`/api/members${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
|
56
|
+
return (await r.json());
|
|
57
|
+
}
|
|
58
|
+
async load(id, options) {
|
|
59
|
+
let query = "";
|
|
60
|
+
if (options.includes)
|
|
61
|
+
query = query.concat(`includes=${options.includes}`);
|
|
62
|
+
if (query)
|
|
63
|
+
query = "?".concat(query);
|
|
64
|
+
const r = await this.endpoint.get(`/api/members/${id}${query}`);
|
|
65
|
+
return await r.json();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/** 响应钩子检索 IdentityStore */
|
|
69
|
+
export const useMemberStore = () => {
|
|
70
|
+
const context = useApplicationContext();
|
|
71
|
+
if (!context.getStore(StoreName)) {
|
|
72
|
+
context.addStore(new MemberStore(context.api.currentEndPoint));
|
|
73
|
+
}
|
|
74
|
+
return context.getStore(StoreName);
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=MemberStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MemberStore.js","sourceRoot":"","sources":["../../../src/data/member/MemberStore.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
2
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
3
|
+
import { LoadCompanyMemberOptions } from ".";
|
|
4
|
+
/** React hook to retrieve a quotation
|
|
5
|
+
* @param {string} id - id of the quotation
|
|
6
|
+
* @param {LoadDocumentOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export declare const useMember: (id: string, options?: LoadCompanyMemberOptions | undefined) => import("./interfaces").ICompanyMember;
|
|
9
|
+
export declare const useMemberListEffect: (list: ListDataContextState<any> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect, } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
3
|
+
import { useMemberStore } from "./MemberStore";
|
|
4
|
+
/** React hook to retrieve a quotation
|
|
5
|
+
* @param {string} id - id of the quotation
|
|
6
|
+
* @param {LoadDocumentOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useMember = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useMemberStore();
|
|
11
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
|
12
|
+
};
|
|
13
|
+
export const useMemberListEffect = (list, effect, options) => {
|
|
14
|
+
const deps = options ? options : {};
|
|
15
|
+
const member = useMemberStore();
|
|
16
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
17
|
+
return useDocumentListLoaderEffect(list, effect, () => member.loadList(options), [deps]);
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/member/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,GAE3B,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAU,EAAE,OAAkC,EAAE,EAAE;IAC3E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA+B,CAAC;IAC/D,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAC/B,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,mBAAmB,GAAG,CAClC,IAAsC,EACtC,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;IAEhC,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/member/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
2
|
+
import { IShareCertificate } from "../shareCertificate/interfaces";
|
|
3
|
+
export interface ICompanyMember extends ILoadable {
|
|
4
|
+
/** 企业member id */
|
|
5
|
+
id: string;
|
|
6
|
+
/** 企业id */
|
|
7
|
+
corporateId: string;
|
|
8
|
+
/** */
|
|
9
|
+
name: string;
|
|
10
|
+
/** 股票信息,适用股本公司 */
|
|
11
|
+
shares?: IShareCertificate[];
|
|
12
|
+
/** 担保金额,适用担保公司 */
|
|
13
|
+
guarantee?: number;
|
|
14
|
+
/** member 开始日期 */
|
|
15
|
+
since: Date;
|
|
16
|
+
/** member 直至日期 */
|
|
17
|
+
until?: Date;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/member/interfaces.ts"],"names":[],"mappings":""}
|