@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,64 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import { Button, Modal, Skeleton, Tabs } from "@voplus/antd";
|
|
3
|
+
import { useOfficer, useOfficerStore } from "../../../../../data/officer";
|
|
4
|
+
import ContactInformation from "../ContactInformation";
|
|
5
|
+
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
6
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
|
+
import IdentifyDetail from "../../Identity/IdentifyDetail";
|
|
8
|
+
import OfficerInformation from "../OfficerInformation";
|
|
9
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
10
|
+
import PositionSelect from "../PositionSelect";
|
|
11
|
+
import React from "react";
|
|
12
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
13
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
14
|
+
import { faTrashAlt } from "@fortawesome/pro-light-svg-icons";
|
|
15
|
+
import { useAsideContentContext } from "@voplus/morpho-ui";
|
|
16
|
+
import { useListDataContext } from "@voplus/morpho-ui/es/data";
|
|
17
|
+
import { useObserver } from "mobx-react-lite";
|
|
18
|
+
const OfficerPropertiesView = (props) => {
|
|
19
|
+
const { id, allowEdit, toolbar } = props;
|
|
20
|
+
const officer = useOfficer(id, { reload: true });
|
|
21
|
+
const officerStore = useOfficerStore();
|
|
22
|
+
const dataState = useListDataContext();
|
|
23
|
+
const asideContext = useAsideContentContext();
|
|
24
|
+
return useObserver(() => (React.createElement("div", { className: "officer-properties-view_content" },
|
|
25
|
+
officer.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
26
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "officer-properties-view_header" },
|
|
27
|
+
React.createElement(UnitAvatar, { id: officer.unitId, size: 70 }),
|
|
28
|
+
React.createElement("div", { className: "officer-person-name" },
|
|
29
|
+
React.createElement(PositionSelect, { id: id, position: officer.position, allowEdit: allowEdit })),
|
|
30
|
+
React.createElement("div", null, officer.name),
|
|
31
|
+
toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
|
|
32
|
+
React.createElement(Open, { url: `/officer/${id}` }),
|
|
33
|
+
allowEdit && (React.createElement(Button, { danger: true, size: "small", shape: "circle", onClick: onDelete },
|
|
34
|
+
React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" }))))))),
|
|
35
|
+
React.createElement(Tabs, { defaultActiveKey: "Officer" },
|
|
36
|
+
React.createElement(Tabs.TabPane, { tab: "Officer Details", key: "Officer" },
|
|
37
|
+
React.createElement(OfficerInformation, { id: id, allowEdit: allowEdit })),
|
|
38
|
+
React.createElement(Tabs.TabPane, { tab: "Contact Details", key: "Contact" },
|
|
39
|
+
React.createElement(ContactInformation, { id: officer.unitId, allowEdit: allowEdit })),
|
|
40
|
+
React.createElement(Tabs.TabPane, { tab: "Identify Details", key: "Identify" },
|
|
41
|
+
React.createElement(IdentifyDetail, { id: officer.identityId, officerId: id, allowEdit: allowEdit })),
|
|
42
|
+
React.createElement(Tabs.TabPane, { tab: "Documents", key: "Document" },
|
|
43
|
+
React.createElement(DocumentList, { id: id, header: false }))))));
|
|
44
|
+
/** 删除officer item */
|
|
45
|
+
function onDelete() {
|
|
46
|
+
const onOk = async () => {
|
|
47
|
+
await officerStore.delete([id], { error: "message" }).then((res) => {
|
|
48
|
+
if (!res)
|
|
49
|
+
return;
|
|
50
|
+
dataState.remove(id);
|
|
51
|
+
if (asideContext)
|
|
52
|
+
asideContext.closeAside();
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
Modal.confirm({
|
|
56
|
+
title: "Do you want to delete this item?",
|
|
57
|
+
onOk() {
|
|
58
|
+
return onOk();
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
export default OfficerPropertiesView;
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,sBAA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AAE,CAAC,CAAC;gBACrB,IAAI,YAAY;oBAAE,YAAY,CAAC,UAAU,EAAE,CAAC;YAC7C,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC;QACF,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,kCAAkC;YACzC,IAAI;gBACH,OAAO,IAAI,EAAE,CAAC;YACf,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.officer-properties-view_content {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
|
|
9
|
+
.officer-properties-view_header {
|
|
10
|
+
position: relative;
|
|
11
|
+
text-align: center;
|
|
12
|
+
padding: 20px 0 10px 0;
|
|
13
|
+
.officer-person-name {
|
|
14
|
+
color: #000;
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
padding-top: 12px;
|
|
18
|
+
}
|
|
19
|
+
.tool-bar {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 20px;
|
|
22
|
+
right: 20px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.ant-tabs {
|
|
26
|
+
height: 100%;
|
|
27
|
+
.ant-tabs-nav {
|
|
28
|
+
margin: 0 20px;
|
|
29
|
+
}
|
|
30
|
+
.company-information {
|
|
31
|
+
padding: 15px 20px;
|
|
32
|
+
h3 {
|
|
33
|
+
margin-bottom: 15px;
|
|
34
|
+
color: #000;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { Select } from "@voplus/antd";
|
|
3
|
+
import { useOfficerStore } from "../../../../../data/officer";
|
|
4
|
+
const PositionSelect = (props) => {
|
|
5
|
+
const { id, position, allowEdit } = props;
|
|
6
|
+
const [editable, setEditable] = useState(false);
|
|
7
|
+
const [loading, setLoading] = useState(false);
|
|
8
|
+
const officerStore = useOfficerStore();
|
|
9
|
+
return (React.createElement(React.Fragment, null, editable ? (React.createElement(Select, { defaultValue: position, autoFocus: editable, loading: loading, onChange: onChange, bordered: false, style: { minWidth: "200px" } }, [
|
|
10
|
+
"Director",
|
|
11
|
+
"Managing Director",
|
|
12
|
+
"Nominee Director",
|
|
13
|
+
"Secretary",
|
|
14
|
+
"CEO",
|
|
15
|
+
"Partner",
|
|
16
|
+
"Owner",
|
|
17
|
+
"Auditor",
|
|
18
|
+
"Manager",
|
|
19
|
+
].map((p) => (React.createElement(Select.Option, { key: p, value: p }, p))))) : (React.createElement("div", { onClick: () => setEditable(!!allowEdit) }, position || "Add Position"))));
|
|
20
|
+
async function onChange(position) {
|
|
21
|
+
setLoading(true);
|
|
22
|
+
await officerStore.edit(id, { data: { Position: position }, error: "message" });
|
|
23
|
+
setEditable(false);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
PositionSelect.defaultProps = {
|
|
27
|
+
allowEdit: true,
|
|
28
|
+
};
|
|
29
|
+
export default PositionSelect;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/PositionSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,cAAc,GAAG,CAAC,KAA6D,EAAE,EAAE;IACxF,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;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,IAAI;CACf,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { CSSProperties } from "react";
|
|
2
|
+
declare const CorporateOfficerSelect: {
|
|
3
|
+
(props: {
|
|
4
|
+
corporateId: string;
|
|
5
|
+
multiple?: boolean | undefined;
|
|
6
|
+
style?: React.CSSProperties | undefined;
|
|
7
|
+
onChange?: ((options?: string | string[] | undefined) => void | Promise<void>) | undefined;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
multiple: boolean;
|
|
11
|
+
style: {
|
|
12
|
+
width: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default CorporateOfficerSelect;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { useOfficerListEffect } from "../../../../../../data/officer";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Select } from "@voplus/antd";
|
|
4
|
+
import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
5
|
+
import { useObserver } from "mobx-react-lite";
|
|
6
|
+
const CorporateOfficerSelect = (props) => {
|
|
7
|
+
const { corporateId, multiple, style } = props;
|
|
8
|
+
const list = useCreateListDataState({}, [corporateId]);
|
|
9
|
+
useOfficerListEffect(list, (result) => list.union(result), {
|
|
10
|
+
Page: { Page: 1, PageSize: 99999 },
|
|
11
|
+
Filters: [
|
|
12
|
+
// { c: "ParentNodeId", o: "=", l: "And", v1: corporateId },
|
|
13
|
+
// {
|
|
14
|
+
// c: "Name",
|
|
15
|
+
// o: "contains",
|
|
16
|
+
// v1: name,
|
|
17
|
+
// l: "And"
|
|
18
|
+
// }
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
return useObserver(() => (React.createElement(Select, Object.assign({ showSearch: true, allowClear: true, style: style, placeholder: "Please Select Officer" }, (!!multiple ? { mode: "multiple" } : {}), { onChange: onChange, loading: list.loading, filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0, dropdownStyle: { backgroundColor: "#fff" } }), list.data.map((officer) => (React.createElement(Select.Option, { value: officer.id, key: officer.id }, officer.name))))));
|
|
22
|
+
/** select officer */
|
|
23
|
+
async function onChange(value) {
|
|
24
|
+
await (onChange === null || onChange === void 0 ? void 0 : onChange(value));
|
|
25
|
+
}
|
|
26
|
+
// function tagRender(props:any) {
|
|
27
|
+
// const { label, value, closable, onClose } = props;
|
|
28
|
+
// return (
|
|
29
|
+
// <Tag color={value} closable={closable} onClose={onClose} style={{ marginRight: 3 }}>
|
|
30
|
+
// {label}
|
|
31
|
+
// </Tag>
|
|
32
|
+
// );
|
|
33
|
+
// }
|
|
34
|
+
};
|
|
35
|
+
CorporateOfficerSelect.defaultProps = {
|
|
36
|
+
multiple: true,
|
|
37
|
+
style: { width: "100%" },
|
|
38
|
+
};
|
|
39
|
+
export default CorporateOfficerSelect;
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE/C,MAAM,IAAI,GAAG,sBAAsB,CAAW,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAEjE,oBAAoB,CAAC,IAAI,EAAE,C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FAA0F;IAC1F,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,MAAM;AACP,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;CACxB,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare const OfficerItem: (props: {
|
|
4
|
+
/** id of officer */
|
|
5
|
+
id: string;
|
|
6
|
+
/** id of unit */
|
|
7
|
+
unitId: string;
|
|
8
|
+
/** id of identity */
|
|
9
|
+
identityId: string;
|
|
10
|
+
/** index of officer list */
|
|
11
|
+
index: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
export default OfficerItem;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import { Badge } from "@voplus/antd";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
5
|
+
import moment from "moment";
|
|
6
|
+
import { useObserver } from "mobx-react-lite";
|
|
7
|
+
import { useOfficer } from "../../../../../data/officer";
|
|
8
|
+
const OfficerItem = (props) => {
|
|
9
|
+
const { id, unitId, index } = props;
|
|
10
|
+
const officer = useOfficer(id);
|
|
11
|
+
return useObserver(() => (React.createElement("div", { className: "officer-item" },
|
|
12
|
+
React.createElement(React.Fragment, null,
|
|
13
|
+
React.createElement(UnitAvatar, { id: unitId, index: index, size: "large" }),
|
|
14
|
+
React.createElement("div", { className: "officer-info" },
|
|
15
|
+
React.createElement("div", { className: "title" },
|
|
16
|
+
officer.name,
|
|
17
|
+
officer.position ? "(" + officer.position + ")" : ""),
|
|
18
|
+
officer.appointment && (React.createElement("div", { className: "appointment-date" },
|
|
19
|
+
"Appointment Date: ",
|
|
20
|
+
moment(officer.appointment).format("YYYY-MM-DD"))),
|
|
21
|
+
officer.cease && (React.createElement("div", { className: "cease-date" },
|
|
22
|
+
"Cease Date: ",
|
|
23
|
+
moment(officer.cease).format("YYYY-MM-DD"))),
|
|
24
|
+
React.createElement("div", { className: "officer-date" })),
|
|
25
|
+
officer.status && (React.createElement("div", null, officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" }))))))));
|
|
26
|
+
};
|
|
27
|
+
export default OfficerItem;
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/OfficerRegister/OfficerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAqB,MAAM,cAAc,CAAC;AAIxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,MAAM,WAAW,GAAG,CAAC,KAUpB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;IAE/B,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,6BAAK,SAAS,EAAC,cAAc;QAI5B,oBAAC,KAAK,CAAC,QAAQ;YACd,oBAAC,UAAU,IAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG;YACrD,6BAAK,SAAS,EAAC,cAAc;gBAC5B,6BAAK,SAAS,EAAC,OAAO;oBACpB,OAAO,CAAC,IAAI;oBACZ,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAChD;gBACL,OAAO,CAAC,WAAW,IAAI,CACvB,6BAAK,SAAS,EAAC,kBAAkB;;oBACb,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAC9D,CACN;gBACA,OAAO,CAAC,KAAK,IAAI,CACjB,6BAAK,SAAS,EAAC,YAAY;;oBACb,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAClD,CACN;gBACD,6BAAK,SAAS,EAAC,cAAc,GAAO,CAC/B;YACL,OAAO,CAAC,MAAM,IAAI,CAClB,iCACE,OAAO,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAC/B,oBAAC,KAAK,IAAC,MAAM,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,IAAC,MAAM,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACpC,CACI,CACN,CACe,CAEZ,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.officer-item {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 10px 20px;
|
|
8
|
+
&::after {
|
|
9
|
+
position: absolute;
|
|
10
|
+
content: "";
|
|
11
|
+
left: 20px;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
right: 20px;
|
|
14
|
+
border-bottom: 1px solid #f2f2f2;
|
|
15
|
+
}
|
|
16
|
+
.officer-info {
|
|
17
|
+
flex: 1;
|
|
18
|
+
margin-left: 10px;
|
|
19
|
+
.title {
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.appointment-date,
|
|
24
|
+
.cease-date {
|
|
25
|
+
font-size: 13px;
|
|
26
|
+
line-height: 22px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,82 +1,87 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
|
-
import {
|
|
2
|
+
import { useOfficerListEffect, useOfficerStore } from "../../../../../data/officer";
|
|
3
3
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
4
|
-
import React, { useState } from "react";
|
|
5
|
-
import { useShareTransactionListEffect, useShareTransactionStore } from "../../../../../data/shareTransaction";
|
|
6
|
-
import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
|
|
7
4
|
import FilterView from "@voplus/morpho-ui/es/controls/FilterView/FilterView2";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
5
|
+
import Header from "../../../../../components/Header";
|
|
6
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
7
|
+
import NewTypeDropdown from "../../../../../components/NewTypeDropdown";
|
|
8
|
+
import OfficerItem from "../OfficerItem";
|
|
9
|
+
import OfficerPropertiesView from "../../Officer/OfficerPropertiesView";
|
|
11
10
|
import OfficerStatusFilter from "../OfficerStatusFilter";
|
|
12
|
-
import
|
|
11
|
+
import React from "react";
|
|
12
|
+
import SelectLegalContactDialog from "../../Identity/SelectLegalContactDialog";
|
|
13
13
|
import { State } from "./state";
|
|
14
|
-
import
|
|
15
|
-
import TransactionTypeFilter from "../../../../legalEntity/shareTransactionsRegister/TransactionTypeFilter";
|
|
14
|
+
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
16
15
|
import { useDeepMemo } from "@voplus/morpho-data";
|
|
17
16
|
import { useObserver } from "mobx-react-lite";
|
|
18
17
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
19
18
|
const OfficerList = (props) => {
|
|
20
|
-
const { parentId,
|
|
21
|
-
const
|
|
22
|
-
const documentStore = useDocumentStore();
|
|
19
|
+
const { parentId, allowEdit } = props;
|
|
20
|
+
const officerStore = useOfficerStore();
|
|
23
21
|
const list = useCreateListDataState({
|
|
24
22
|
filterDefaults: {
|
|
25
|
-
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: parentId }]
|
|
26
|
-
}
|
|
23
|
+
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: parentId }],
|
|
24
|
+
},
|
|
27
25
|
}, [parentId]);
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
useAutoUpdateListData(list, d => d.type === "ShareTransaction");
|
|
26
|
+
const state = useDeepMemo(() => new State(), [parentId]);
|
|
27
|
+
useAutoUpdateListData(list, (d) => d.parentId === parentId);
|
|
31
28
|
useRenderOnChange(() => list.filters.options);
|
|
32
|
-
|
|
29
|
+
useOfficerListEffect(list, (result) => list.union(result), list.filters.options);
|
|
33
30
|
return useObserver(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
34
|
-
React.createElement(
|
|
35
|
-
|
|
31
|
+
React.createElement(Header, { text: "Officers Register" },
|
|
32
|
+
React.createElement("div", null,
|
|
33
|
+
React.createElement(FilterView, { columns: [
|
|
34
|
+
React.createElement(OfficerStatusFilter, { key: "OfficerStatusFilter" }),
|
|
35
|
+
] }),
|
|
36
|
+
allowEdit !== false && (React.createElement(NewTypeDropdown, { onSelect: onSelect, menus: [
|
|
37
|
+
"Director",
|
|
38
|
+
"Managing Director",
|
|
39
|
+
"Nominee Director",
|
|
40
|
+
"Secretary",
|
|
41
|
+
"CEO",
|
|
42
|
+
"Partner",
|
|
43
|
+
"Owner",
|
|
44
|
+
"Auditor",
|
|
45
|
+
"Manager",
|
|
46
|
+
], style: { marginLeft: "10px" } })))),
|
|
47
|
+
React.createElement(ListView, { headerProps: {
|
|
48
|
+
header: (React.createElement(React.Fragment, null,
|
|
36
49
|
React.createElement("div", { className: "view-title" }, "Officer List"),
|
|
37
50
|
React.createElement("div", null,
|
|
38
51
|
React.createElement(FilterView, { columns: [
|
|
39
52
|
React.createElement(OfficerStatusFilter, { key: "OfficerStatusFilter" }),
|
|
40
|
-
React.createElement(TransactionTypeFilter, { key: "TransactionTypeFilter" })
|
|
41
53
|
] }),
|
|
42
|
-
|
|
54
|
+
allowEdit !== false && (React.createElement(NewTypeDropdown, { onSelect: onSelect, menus: [
|
|
55
|
+
"Director",
|
|
56
|
+
"Managing Director",
|
|
57
|
+
"Nominee Director",
|
|
58
|
+
"Secretary",
|
|
59
|
+
"CEO",
|
|
60
|
+
"Partner",
|
|
61
|
+
"Owner",
|
|
62
|
+
"Auditor",
|
|
63
|
+
"Manager",
|
|
64
|
+
] }))))),
|
|
43
65
|
sortable: false,
|
|
44
|
-
addAble: false
|
|
45
|
-
}, renderItem: ({ item, index
|
|
46
|
-
state.addAble &&
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
function onSelect(type) {
|
|
52
|
-
state.type = type;
|
|
53
|
-
state.addAble = !!type;
|
|
54
|
-
}
|
|
55
|
-
async function onSave() {
|
|
56
|
-
await shareStore.create({
|
|
57
|
-
ParentId: parentId,
|
|
58
|
-
Name: state.name,
|
|
59
|
-
TransactionType: state.type,
|
|
60
|
-
Currency: "SGD"
|
|
61
|
-
});
|
|
62
|
-
state.addAble = false;
|
|
63
|
-
state.name = "";
|
|
66
|
+
addAble: false,
|
|
67
|
+
}, renderItem: ({ item, index }) => (React.createElement(OfficerItem, { key: item.id, id: item.id, unitId: item.unitId, identityId: item.identityId, index: index, className: index === 0 ? "shareTransaction-item-first" : "" })), propertiesView: (id) => React.createElement(OfficerPropertiesView, { id: id, allowEdit: allowEdit }), className: "officer-list-view" }),
|
|
68
|
+
state.addAble && React.createElement(SelectLegalContactDialog, { visible: state.addAble, updateVisible: onSave }))));
|
|
69
|
+
/** 选择officer position */
|
|
70
|
+
function onSelect(position) {
|
|
71
|
+
state.position = position;
|
|
72
|
+
state.addAble = true;
|
|
64
73
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
list.filters.replace({
|
|
73
|
-
c: "TransactionType",
|
|
74
|
-
o: "contains",
|
|
75
|
-
v1: JSON.stringify(customize.transactionTypes),
|
|
76
|
-
l: "And"
|
|
74
|
+
/** 新增officerItem */
|
|
75
|
+
async function onSave(unitId) {
|
|
76
|
+
/** SelectLegalContactDialog 选择/新增有identity信息的unit */
|
|
77
|
+
if (unitId) {
|
|
78
|
+
const res = await officerStore.create({
|
|
79
|
+
data: { RegisterId: parentId, UnitId: unitId, Position: state.position },
|
|
80
|
+
error: "message",
|
|
77
81
|
});
|
|
78
|
-
|
|
79
|
-
|
|
82
|
+
list.union([res]);
|
|
83
|
+
}
|
|
84
|
+
state.addAble = false;
|
|
80
85
|
}
|
|
81
86
|
};
|
|
82
87
|
export default OfficerList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/OfficerRegister/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/OfficerRegister/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAY,oBAAoB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAEpG,OAAO,UAAU,MAAM,sDAAsD,CAAC;AAC9E,OAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,eAAe,MAAM,2CAA2C,CAAC;AACxE,OAAO,W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
|
|
4
|
-
padding:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
box-shadow: none;
|
|
11
|
-
color: @heading-color;
|
|
12
|
-
}
|
|
3
|
+
.officer-list-view {
|
|
4
|
+
padding: 0 !important;
|
|
5
|
+
.list-view-header .view-title {
|
|
6
|
+
flex: 1;
|
|
7
|
+
}
|
|
8
|
+
aside {
|
|
9
|
+
border-top: 0;
|
|
13
10
|
}
|
|
14
11
|
}
|
|
15
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ShareTransactionType } from "../../../../../data/shareTransaction/types/ShareTransactionType";
|
|
2
1
|
export declare class State {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/** position of the new officer */
|
|
3
|
+
position: string;
|
|
4
|
+
/** can new Officer item */
|
|
5
5
|
addAble: boolean;
|
|
6
6
|
loading: boolean;
|
|
7
7
|
}
|
|
@@ -2,18 +2,16 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { observable } from "mobx";
|
|
3
3
|
export class State {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
6
|
-
this.
|
|
5
|
+
/** position of the new officer */
|
|
6
|
+
this.position = "Director";
|
|
7
|
+
/** can new Officer item */
|
|
7
8
|
this.addAble = false;
|
|
8
9
|
this.loading = false;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
__decorate([
|
|
12
13
|
observable
|
|
13
|
-
], State.prototype, "
|
|
14
|
-
__decorate([
|
|
15
|
-
observable
|
|
16
|
-
], State.prototype, "type", void 0);
|
|
14
|
+
], State.prototype, "position", void 0);
|
|
17
15
|
__decorate([
|
|
18
16
|
observable
|
|
19
17
|
], State.prototype, "addAble", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/OfficerRegister/OfficerList/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IAAlB;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/OfficerRegister/OfficerList/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,OAAO,KAAK;IAAlB;QACC,kCAAkC;QACf,aAAQ,GAAG,UAAU,CAAC;QACzC,4BAA4B;QACT,YAAO,GAAG,KAAK,CAAC;QAChB,YAAO,GAAG,KAAK,CAAC;IACpC,CAAC;CAAA;AAJY;IAAX,UAAU;uCAA8B;AAE7B;IAAX,UAAU;sCAAwB;AACvB;IAAX,UAAU;sCAAwB"}
|