@voplus/morpho-csp 11.1.0 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/CorporateNavMenu/CorporateNavMenu.js +2 -4
- package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
- package/es/components/CorporateNavMenu/NavMenuItem.js +2 -2
- package/es/components/CorporateNavMenu/NavMenuItem.js.map +1 -1
- package/es/components/CorporateNavMenu/index.js +2 -4
- package/es/components/CorporateNavMenu/index.js.map +1 -1
- package/es/components/CorporateUnitSelectDialog/state.js +4 -12
- package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
- package/es/components/RegisteresMenuItem/index.js +2 -4
- package/es/components/RegisteresMenuItem/index.js.map +1 -1
- package/es/data/cart/hooks.js.map +1 -1
- package/es/data/clda/hooks.js.map +1 -1
- package/es/data/clda/store.js +1 -1
- package/es/data/clda/store.js.map +1 -1
- package/es/data/clda-form/hooks.d.ts +1 -1
- package/es/data/clda-form/hooks.js.map +1 -1
- package/es/data/clda-meta/hook.js.map +1 -1
- package/es/data/clda-meta/store.js.map +1 -1
- package/es/data/clda-setting/hook.js.map +1 -1
- package/es/data/clda-setting/index.js.map +1 -1
- package/es/data/clda-setting/store.js.map +1 -1
- package/es/data/controller/ControllerStore.js.map +1 -1
- package/es/data/controller/hooks.js.map +1 -1
- package/es/data/corporate/CorporateStore.js.map +1 -1
- package/es/data/corporate/hooks.js.map +1 -1
- package/es/data/corporate/interfaces.d.ts +1 -1
- package/es/data/entity/EntityStore.js.map +1 -1
- package/es/data/entity/hooks.js.map +1 -1
- package/es/data/filing-record/FilingRecordStore.js.map +1 -1
- package/es/data/filing-record/filing-record-events/useOnDeleteFilingRecore.js.map +1 -1
- package/es/data/filing-record/filing-record-events/useOnNewFilingRecore.js.map +1 -1
- package/es/data/filing-record/hooks.js.map +1 -1
- package/es/data/filing-type/FilingTypeStore.js.map +1 -1
- package/es/data/filing-type/filing-type-events/useOnDeleteFilingType.js.map +1 -1
- package/es/data/filing-type/filing-type-events/useOnNewFilingType.js.map +1 -1
- package/es/data/filing-type/hooks.js.map +1 -1
- package/es/data/filing-year/FilingYearStore.js.map +1 -1
- package/es/data/filing-year/filing-year-events/useOnDeleteFilingYear.js.map +1 -1
- package/es/data/filing-year/filing-year-events/useOnNewFilingYear.js.map +1 -1
- package/es/data/filing-year/hooks.js.map +1 -1
- package/es/data/incorporation-clda/hooks.d.ts +1 -1
- package/es/data/incorporation-clda/hooks.js.map +1 -1
- package/es/data/incorporation-clda/store.js.map +1 -1
- package/es/data/incorporation-clda/types.d.ts +1 -1
- package/es/data/member/MemberStore.js.map +1 -1
- package/es/data/member/hooks.js.map +1 -1
- package/es/data/officer/OfficerStore.js.map +1 -1
- package/es/data/officer/hooks.js.map +1 -1
- package/es/data/order/hooks.d.ts +1 -1
- package/es/data/order/hooks.js.map +1 -1
- package/es/data/relationship/RelationshipStore.js.map +1 -1
- package/es/data/relationship/hooks.js.map +1 -1
- package/es/data/risk-match/RiskMatchStore.js +1 -1
- package/es/data/risk-match/RiskMatchStore.js.map +1 -1
- package/es/data/risk-match/hooks.js.map +1 -1
- package/es/data/risk-match/risk-match-events/useOnDeleteRiskMatch.js.map +1 -1
- package/es/data/risk-match/risk-match-events/useOnNewRiskMatch.js.map +1 -1
- package/es/data/risk-profile/RiskProfileStore.js +1 -1
- package/es/data/risk-profile/RiskProfileStore.js.map +1 -1
- package/es/data/risk-profile/hooks.js.map +1 -1
- package/es/data/risk-profile/risk-profile-events/useOnDeleteRiskProfile.js.map +1 -1
- package/es/data/risk-profile/risk-profile-events/useOnNewRiskProfile.js.map +1 -1
- package/es/data/service/hooks.js.map +1 -1
- package/es/data/service/store.js.map +1 -1
- package/es/data/serviceType/hooks.js.map +1 -1
- package/es/data/serviceType/store.js.map +1 -1
- package/es/data/share-certificate/hooks.js.map +1 -1
- package/es/data/share-certificate/types.d.ts +1 -1
- package/es/data/share-class/ShareClassStore.js.map +1 -1
- package/es/data/share-class/hook.js.map +1 -1
- package/es/data/share-class/share-class-events/useOnDeleteShareClass.js.map +1 -1
- package/es/data/share-transaction/hooks.js.map +1 -1
- package/es/data/shareOptionsRegister/hooks.js.map +1 -1
- package/es/data/virtual-address/VirtualAddressStore.js.map +1 -1
- package/es/data/virtual-address/hook.js.map +1 -1
- package/es/data/virtual-address-mail/VirtualAddressMailStore.js.map +1 -1
- package/es/data/virtual-address-mail/hook.js.map +1 -1
- package/es/data/virtual-address-mail/metas.js.map +1 -1
- package/es/data/virtual-address-mail/types.d.ts +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchSearchDialog/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchSearchDialog/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/controls/RiskMatchDataBar/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/controls/RiskMatchDataBar/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js +3 -3
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js +3 -5
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +4 -4
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfilePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js +1 -3
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.js +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js +2 -4
- package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.js +2 -5
- package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.js +2 -2
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAOverview/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAOverview/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js +2 -2
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAMenu/index.js +1 -1
- package/es/modules/corporate/clda/controls/CLDAMenu/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAMenu/items/DownloadLegal.js +3 -6
- package/es/modules/corporate/clda/controls/CLDAMenu/items/DownloadLegal.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAMenu/items/GenerateLegalEnvelope.js +3 -6
- package/es/modules/corporate/clda/controls/CLDAMenu/items/GenerateLegalEnvelope.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js +4 -7
- package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js +1 -6
- package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.js.map +1 -1
- package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js +1 -6
- package/es/modules/corporate/clda/controls/filters/CLDAStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.js +1 -1
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAListPage/Content/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js +2 -2
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +2 -2
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyAlert/index.js +3 -2
- package/es/modules/corporate/company/components/CompanyAlert/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js +1 -1
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js +7 -11
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateItem/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js +1 -1
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateTableList/TableCell.js +1 -1
- package/es/modules/corporate/company/components/CorporateTableList/TableCell.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateTabs/index.js +1 -3
- package/es/modules/corporate/company/components/CorporateTabs/index.js.map +1 -1
- package/es/modules/corporate/company/components/InlineEditType/index.js +1 -1
- package/es/modules/corporate/company/components/InlineEditType/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js +3 -6
- package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +5 -8
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +2 -2
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js +1 -2
- package/es/modules/corporate/company/controller-register/components/ControllerTabs/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +1 -1
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js +4 -4
- package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +1 -6
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
- package/es/modules/corporate/company/controls/CorporateMenu/index.js +1 -1
- package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
- package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js +1 -6
- package/es/modules/corporate/company/controls/CorporateStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step1.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js +2 -2
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +2 -4
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js +1 -2
- package/es/modules/corporate/company/member-register/components/CompanyMemberTabs/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +2 -2
- package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +2 -2
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +46 -46
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js +4 -4
- package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js +1 -6
- package/es/modules/corporate/company/member-register/controls/MemberStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js +1 -1
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js +2 -2
- package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +4 -6
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +2 -2
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +55 -55
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js +1 -2
- package/es/modules/corporate/company/officer-register/components/OfficerTabs/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js +1 -1
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js +4 -4
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js +1 -1
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/pages/RegisterTablePage/index.js +6 -10
- package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +1 -1
- package/es/modules/corporate/company/share-transaction-convert/ShareTransactionConvertTable.js.map +1 -1
- package/es/modules/corporate/company/share-transaction-convert/index.js +1 -3
- package/es/modules/corporate/company/share-transaction-convert/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/Step1.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +8 -8
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/state.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +5 -5
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +3 -3
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/SharesText.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/SharesText.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +1 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js +1 -6
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js.map +1 -1
- package/es/modules/corporate/components/CorporateSelect/index.js +1 -1
- package/es/modules/corporate/components/CorporateSelect/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js +4 -3
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +2 -2
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js +1 -2
- package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordTimeLine/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +2 -2
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/items/NotifyFiling.js +2 -2
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/items/NotifyFiling.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +6 -12
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js +4 -4
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderScheduleList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js +2 -2
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeReminderTab/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeTabs/index.js +1 -3
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeTabs/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js +4 -9
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/ReminderActionForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js +4 -4
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js +1 -3
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js +1 -2
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/items/DownloadFiles.js +3 -6
- package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/items/DownloadFiles.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingListPage/index.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.js +1 -6
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.js.map +1 -1
- package/es/modules/corporate/service/components/NewServiceDialog/index.js +2 -3
- package/es/modules/corporate/service/components/NewServiceDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js +1 -1
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +2 -2
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +3 -4
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.js +3 -9
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RevokePhysical.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js +1 -6
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +1 -6
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityLogTpl.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +3 -5
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js +2 -2
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js +1 -1
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassSelect/ShareClassSelectDialog.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js +1 -1
- package/es/modules/corporate/share-class/components/ShareClassShareholders/useShareClassShareholders.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassTabs/index.js +2 -6
- package/es/modules/corporate/share-class/components/ShareClassTabs/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionItems/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.js +2 -2
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +2 -2
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js +3 -7
- package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js +2 -2
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js +1 -1
- package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js +1 -1
- package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +2 -2
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js +1 -1
- package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/state.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js +2 -5
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js +1 -1
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +9 -9
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +4 -4
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js +2 -2
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +2 -2
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +1 -3
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/agm/components/AddDirectorFeeDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js +11 -11
- package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js +3 -7
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +6 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +5 -11
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js +6 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +6 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +8 -20
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +2 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js +4 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js +3 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeAddress/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/ChangeIndexAddress/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js +6 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js +2 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js +6 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js +2 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +8 -20
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +2 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
- package/es/modules/self-registration/controls/BusinessNameInput/index.js +1 -3
- package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +6 -9
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js.map +1 -1
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js +1 -1
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js.map +1 -1
- package/es/modules/self-registration/shopping-cart/Paid.js +1 -1
- package/es/modules/self-registration/shopping-cart/Paid.js.map +1 -1
- package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js +1 -1
- package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js.map +1 -1
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js +3 -9
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js.map +1 -1
- package/es/obsolete/FilingRecordQuickView/index.css +66 -0
- package/es/obsolete/FilingRecordQuickView/index.d.ts +8 -0
- package/es/obsolete/FilingRecordQuickView/index.js +48 -0
- package/es/obsolete/FilingRecordQuickView/index.js.map +1 -0
- package/es/obsolete/FilingYearTimeLine/index.css +69 -0
- package/es/obsolete/FilingYearTimeLine/index.d.ts +7 -0
- package/es/obsolete/FilingYearTimeLine/index.js +51 -0
- package/es/obsolete/FilingYearTimeLine/index.js.map +1 -0
- package/es/obsolete/OfficerRegisterDefaultView/index.css +16 -0
- package/es/obsolete/OfficerRegisterDefaultView/index.d.ts +8 -0
- package/es/obsolete/OfficerRegisterDefaultView/index.js +12 -0
- package/es/obsolete/OfficerRegisterDefaultView/index.js.map +1 -0
- package/es/obsolete/ShareCertificateDefaultView/index.css +34 -0
- package/es/obsolete/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js +39 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/obsolete/ShareTransactionPropertiesView/Content.d.ts +7 -0
- package/es/obsolete/ShareTransactionPropertiesView/Content.js +50 -0
- package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.css +85 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.d.ts +9 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.js +12 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.css +34 -0
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.d.ts +8 -0
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.js +76 -0
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerInformation/index.d.ts +6 -0
- package/es/obsolete/controller-register/components/ControllerInformation/index.js +43 -0
- package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerItem/index.css +27 -0
- package/es/obsolete/controller-register/components/ControllerItem/index.d.ts +13 -0
- package/es/obsolete/controller-register/components/ControllerItem/index.js +32 -0
- package/es/obsolete/controller-register/components/ControllerItem/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerList/index.css +9 -0
- package/es/obsolete/controller-register/components/ControllerList/index.d.ts +7 -0
- package/es/obsolete/controller-register/components/ControllerList/index.js +66 -0
- package/es/obsolete/controller-register/components/ControllerList/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerList/state.d.ts +8 -0
- package/es/obsolete/controller-register/components/ControllerList/state.js +50 -0
- package/es/obsolete/controller-register/components/ControllerList/state.js.map +1 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.css +1 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.d.ts +4 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.js +21 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.js.map +1 -0
- package/es/obsolete/controllerRegister/ControllerStore.d.ts +27 -0
- package/es/obsolete/controllerRegister/ControllerStore.js +79 -0
- package/es/obsolete/controllerRegister/ControllerStore.js.map +1 -0
- package/es/obsolete/controllerRegister/hooks.d.ts +10 -0
- package/es/obsolete/controllerRegister/hooks.js +18 -0
- package/es/obsolete/controllerRegister/hooks.js.map +1 -0
- package/es/obsolete/controllerRegister/index.d.ts +4 -0
- package/es/obsolete/controllerRegister/index.js +5 -0
- package/es/obsolete/controllerRegister/index.js.map +1 -0
- package/es/obsolete/controllerRegister/interfaces.d.ts +15 -0
- package/es/obsolete/controllerRegister/interfaces.js +2 -0
- package/es/obsolete/controllerRegister/interfaces.js.map +1 -0
- package/es/obsolete/controllerRegister/types.d.ts +36 -0
- package/es/obsolete/controllerRegister/types.js +2 -0
- package/es/obsolete/controllerRegister/types.js.map +1 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/index.css +53 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/index.d.ts +6 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/index.js +96 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/index.js.map +1 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/state.d.ts +9 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/state.js +58 -0
- package/es/obsolete/corporate-page/CompanyDefaultView/state.js.map +1 -0
- package/es/obsolete/corporate-page/CompanyMemberItem/index.css +63 -0
- package/es/obsolete/corporate-page/CompanyMemberItem/index.d.ts +13 -0
- package/es/obsolete/corporate-page/CompanyMemberItem/index.js +65 -0
- package/es/obsolete/corporate-page/CompanyMemberItem/index.js.map +1 -0
- package/es/obsolete/corporate-page/CompanyMemberList/index.css +11 -0
- package/es/obsolete/corporate-page/CompanyMemberList/index.d.ts +15 -0
- package/es/obsolete/corporate-page/CompanyMemberList/index.js +129 -0
- package/es/obsolete/corporate-page/CompanyMemberList/index.js.map +1 -0
- package/es/obsolete/corporate-page/CompanyMemberListCard/index.css +23 -0
- package/es/obsolete/corporate-page/CompanyMemberListCard/index.d.ts +8 -0
- package/es/obsolete/corporate-page/CompanyMemberListCard/index.js +12 -0
- package/es/obsolete/corporate-page/CompanyMemberListCard/index.js.map +1 -0
- package/es/obsolete/corporate-page/ControllerItem/index.css +63 -0
- package/es/obsolete/corporate-page/ControllerItem/index.d.ts +17 -0
- package/es/obsolete/corporate-page/ControllerItem/index.js +51 -0
- package/es/obsolete/corporate-page/ControllerItem/index.js.map +1 -0
- package/es/obsolete/corporate-page/ControllerList/index.css +15 -0
- package/es/obsolete/corporate-page/ControllerList/index.d.ts +10 -0
- package/es/obsolete/corporate-page/ControllerList/index.js +120 -0
- package/es/obsolete/corporate-page/ControllerList/index.js.map +1 -0
- package/es/obsolete/corporate-page/CorporateDefaultView/index.d.ts +3 -0
- package/es/obsolete/corporate-page/CorporateDefaultView/index.js +21 -0
- package/es/obsolete/corporate-page/CorporateDefaultView/index.js.map +1 -0
- package/es/obsolete/corporate-page/OfficerItem/index.css +61 -0
- package/es/obsolete/corporate-page/OfficerItem/index.d.ts +20 -0
- package/es/obsolete/corporate-page/OfficerItem/index.js +62 -0
- package/es/obsolete/corporate-page/OfficerItem/index.js.map +1 -0
- package/es/obsolete/corporate-page/OfficerList/index.css +9 -0
- package/es/obsolete/corporate-page/OfficerList/index.d.ts +15 -0
- package/es/obsolete/corporate-page/OfficerList/index.js +152 -0
- package/es/obsolete/corporate-page/OfficerList/index.js.map +1 -0
- package/es/obsolete/corporate-page/OfficerListCard/index.css +23 -0
- package/es/obsolete/corporate-page/OfficerListCard/index.d.ts +7 -0
- package/es/obsolete/corporate-page/OfficerListCard/index.js +12 -0
- package/es/obsolete/corporate-page/OfficerListCard/index.js.map +1 -0
- package/es/obsolete/corporate-page/ShareClassItem/index.css +22 -0
- package/es/obsolete/corporate-page/ShareClassItem/index.d.ts +6 -0
- package/es/obsolete/corporate-page/ShareClassItem/index.js +36 -0
- package/es/obsolete/corporate-page/ShareClassItem/index.js.map +1 -0
- package/es/obsolete/corporate-page/ShareClassList/index.css +9 -0
- package/es/obsolete/corporate-page/ShareClassList/index.d.ts +9 -0
- package/es/obsolete/corporate-page/ShareClassList/index.js +49 -0
- package/es/obsolete/corporate-page/ShareClassList/index.js.map +1 -0
- package/es/obsolete/filing-folder/hooks.d.ts +9 -0
- package/es/obsolete/filing-folder/hooks.js +20 -0
- package/es/obsolete/filing-folder/hooks.js.map +1 -0
- package/es/obsolete/filing-folder/interfaces.d.ts +9 -0
- package/es/obsolete/filing-folder/interfaces.js +2 -0
- package/es/obsolete/filing-folder/interfaces.js.map +1 -0
- package/es/obsolete/filing-folder/store.d.ts +13 -0
- package/es/obsolete/filing-folder/store.js +24 -0
- package/es/obsolete/filing-folder/store.js.map +1 -0
- package/es/obsolete/filing-folder/types.d.ts +18 -0
- package/es/obsolete/filing-folder/types.js +2 -0
- package/es/obsolete/filing-folder/types.js.map +1 -0
- package/es/obsolete/order/components/OrderItem/index.css +18 -0
- package/es/obsolete/order/components/OrderItem/index.d.ts +6 -0
- package/es/obsolete/order/components/OrderItem/index.js +10 -0
- package/es/obsolete/order/components/OrderItem/index.js.map +1 -0
- package/es/obsolete/order/components/OrderItems/DragTableCell.d.ts +3 -0
- package/es/obsolete/order/components/OrderItems/DragTableCell.js +70 -0
- package/es/obsolete/order/components/OrderItems/DragTableCell.js.map +1 -0
- package/es/obsolete/order/components/OrderItems/index.css +47 -0
- package/es/obsolete/order/components/OrderItems/index.d.ts +5 -0
- package/es/obsolete/order/components/OrderItems/index.js +169 -0
- package/es/obsolete/order/components/OrderItems/index.js.map +1 -0
- package/es/obsolete/order/components/OrderItems/state.d.ts +28 -0
- package/es/obsolete/order/components/OrderItems/state.js +83 -0
- package/es/obsolete/order/components/OrderItems/state.js.map +1 -0
- package/es/obsolete/order/components/OrderListView/index.d.ts +5 -0
- package/es/obsolete/order/components/OrderListView/index.js +48 -0
- package/es/obsolete/order/components/OrderListView/index.js.map +1 -0
- package/es/obsolete/order/components/OrderPropertiesView/index.css +11 -0
- package/es/obsolete/order/components/OrderPropertiesView/index.d.ts +6 -0
- package/es/obsolete/order/components/OrderPropertiesView/index.js +40 -0
- package/es/obsolete/order/components/OrderPropertiesView/index.js.map +1 -0
- package/es/obsolete/order/context/OrderContext.d.ts +30 -0
- package/es/obsolete/order/context/OrderContext.js +86 -0
- package/es/obsolete/order/context/OrderContext.js.map +1 -0
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.css +39 -0
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.d.ts +10 -0
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.js +16 -0
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.js.map +1 -0
- package/es/obsolete/order/controls/OrderLabel/index.css +19 -0
- package/es/obsolete/order/controls/OrderLabel/index.d.ts +6 -0
- package/es/obsolete/order/controls/OrderLabel/index.js +46 -0
- package/es/obsolete/order/controls/OrderLabel/index.js.map +1 -0
- package/es/obsolete/order/controls/OrderLabel/state.d.ts +8 -0
- package/es/obsolete/order/controls/OrderLabel/state.js +42 -0
- package/es/obsolete/order/controls/OrderLabel/state.js.map +1 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/index.d.ts +3 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/index.js +22 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/index.js.map +1 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.d.ts +17 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js +67 -0
- package/es/obsolete/order/controls/filters/IncorporationStatusFilter/state.js.map +1 -0
- package/es/obsolete/order/pages/OrderDefaultView/index.css +12 -0
- package/es/obsolete/order/pages/OrderDefaultView/index.d.ts +4 -0
- package/es/obsolete/order/pages/OrderDefaultView/index.js +53 -0
- package/es/obsolete/order/pages/OrderDefaultView/index.js.map +1 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.css +28 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js +100 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/obsolete/shareCertificate/hooks.d.ts +6 -0
- package/es/obsolete/shareCertificate/hooks.js +12 -0
- package/es/obsolete/shareCertificate/hooks.js.map +1 -0
- package/es/obsolete/shareCertificate/index.d.ts +3 -0
- package/es/obsolete/shareCertificate/index.js +4 -0
- package/es/obsolete/shareCertificate/index.js.map +1 -0
- package/es/obsolete/shareCertificate/interfaces.d.ts +22 -0
- package/es/obsolete/shareCertificate/interfaces.js +2 -0
- package/es/obsolete/shareCertificate/interfaces.js.map +1 -0
- package/es/obsolete/shareCertificate/store.d.ts +15 -0
- package/es/obsolete/shareCertificate/store.js +33 -0
- package/es/obsolete/shareCertificate/store.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { Button, Modal, Skeleton, Tabs } from "antd";
|
|
3
|
+
import { useControllerStore } from "../../../../controllerRegister";
|
|
4
|
+
import ContactInformation from "@voplus/morpho-org/es/components/ContactInformation";
|
|
5
|
+
import ControllerInformation from "..";
|
|
6
|
+
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
7
|
+
import { faTrashAltRegular, FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
8
|
+
import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
|
|
9
|
+
import React from "react";
|
|
10
|
+
import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
|
|
11
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
12
|
+
import { observe } from "@voplus/morpho-ui";
|
|
13
|
+
import { useAsideContentContext } from "@voplus/morpho-ui";
|
|
14
|
+
import { useListDataContext } from "@voplus/morpho-ui/es/data";
|
|
15
|
+
const ControllerPropertiesView = (props) => {
|
|
16
|
+
const { id, allowEdit, toolbar } = props;
|
|
17
|
+
// const controller = useController(id, { reload: true });
|
|
18
|
+
const controller = {
|
|
19
|
+
id: "",
|
|
20
|
+
name: "Controller",
|
|
21
|
+
unitId: "dfb9661a-b3fd-4dbc-b0aa-8f65c39c6ae0",
|
|
22
|
+
confirmDate: "2021-03-10",
|
|
23
|
+
ceaseDate: "2021-03-10",
|
|
24
|
+
status: "Present",
|
|
25
|
+
loading: false,
|
|
26
|
+
};
|
|
27
|
+
const controllerStore = useControllerStore();
|
|
28
|
+
const dataState = useListDataContext();
|
|
29
|
+
const asideContext = useAsideContentContext();
|
|
30
|
+
return observe(() => (React.createElement("div", { className: "officer-properties-view_content" },
|
|
31
|
+
controller.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
32
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "officer-properties-view_header" },
|
|
33
|
+
React.createElement(UnitAvatar, { id: controller.unitId, size: 70 }),
|
|
34
|
+
React.createElement("div", null, controller.name),
|
|
35
|
+
toolbar !== false && (React.createElement(ToolBar, { id: id, showMenu: false },
|
|
36
|
+
React.createElement(Open, { url: `/officer/${id}` }),
|
|
37
|
+
allowEdit && (React.createElement(Button, { danger: true, size: "small", shape: "circle", onClick: onDelete },
|
|
38
|
+
React.createElement(FAIcon, { icon: faTrashAltRegular, color: "#f5222d" }))))))),
|
|
39
|
+
React.createElement(Tabs, { defaultActiveKey: "Officer", items: [
|
|
40
|
+
{
|
|
41
|
+
key: "Officer",
|
|
42
|
+
label: "Officer Details",
|
|
43
|
+
children: React.createElement(ControllerInformation, { id: id, allowEdit: allowEdit }),
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
key: "Contact",
|
|
47
|
+
label: "Contact Details",
|
|
48
|
+
children: React.createElement(ContactInformation, { id: controller.unitId }),
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
key: "Document",
|
|
52
|
+
label: "Documents",
|
|
53
|
+
children: React.createElement(DocumentList, { id: id, header: false }),
|
|
54
|
+
},
|
|
55
|
+
] }))));
|
|
56
|
+
/** 删除officer item */
|
|
57
|
+
function onDelete() {
|
|
58
|
+
const onOk = async () => {
|
|
59
|
+
await controllerStore.delete([id], { error: "message" }).then((res) => {
|
|
60
|
+
if (!res)
|
|
61
|
+
return;
|
|
62
|
+
dataState.remove(id);
|
|
63
|
+
if (asideContext)
|
|
64
|
+
asideContext.closeAside();
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
Modal.confirm({
|
|
68
|
+
title: "Do you want to delete this item?",
|
|
69
|
+
onOk() {
|
|
70
|
+
return onOk();
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
export default ControllerPropertiesView;
|
|
76
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,qBAAqB,MAAM,IAAI,CAAC;AACvC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,wBAAwB,GAAG,CAAC,KAIjC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEzC,0DAA0D;IAC1D,MAAM,UAAU,GAAG;QAClB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,YAAY;QACzB,SAAS,E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ACC,GAAG,EAAE,SAAS;oBACd,KAAK,EAAE,iBAAiB;oBACxB,QAAQ,EAAE,oBAAC,kBAAkB,IAAC,EAAE,EAAE,UAAU,CAAC,MAAM,GAAI;iBACvD;gBACD;oBACC,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,WAAW;oBAClB,QAAQ,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,GAAI;iBACjD;aACD,GACA,CACG,CACN,CAAC,CAAC;IACH,qBAAqB;IACrB,SAAS,QAAQ;QAChB,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE;YACvB,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrE,IAAI,CAAC,GAAG;oBAAE,OAAO;gBACjB,SAAS,CAAC,MAAM,CAAC,EAAE,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,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Badge, Form, Skeleton } from "antd";
|
|
2
|
+
import { useControllerStore, } from "../../../controllerRegister";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
5
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
6
|
+
import { InlineEdit } from "@voplus/morpho-ui";
|
|
7
|
+
import Scrollbars from "react-custom-scrollbars-2";
|
|
8
|
+
import dayjs from "dayjs";
|
|
9
|
+
import { observe } from "@voplus/morpho-ui";
|
|
10
|
+
const ControllerInformation = ({ allowEdit = true, ...props }) => {
|
|
11
|
+
const { id } = props;
|
|
12
|
+
// const controller = useController(id);
|
|
13
|
+
const controller = {
|
|
14
|
+
id: "",
|
|
15
|
+
name: "Controller",
|
|
16
|
+
unitId: "dfb9661a-b3fd-4dbc-b0aa-8f65c39c6ae0",
|
|
17
|
+
confirmDate: "2021-03-10",
|
|
18
|
+
ceaseDate: "2021-03-10",
|
|
19
|
+
status: "Present",
|
|
20
|
+
loading: false,
|
|
21
|
+
};
|
|
22
|
+
const controllerStore = useControllerStore();
|
|
23
|
+
return observe(() => (React.createElement(Scrollbars, null, controller.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
24
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span: 6 }, className: "company-information" },
|
|
25
|
+
controller.status && (React.createElement(Form.Item, { label: "Status" }, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))),
|
|
26
|
+
React.createElement(Form.Item, { label: "Appointment Date" },
|
|
27
|
+
React.createElement(InlineEdit, { defaultValue: controller?.confirmDate ? dayjs(controller?.confirmDate) : null, content: (v) => (React.createElement("span", null, controller?.confirmDate ? (React.createElement(UTCShortDate, { value: controller?.confirmDate })) : allowEdit ? ("Add Appointment Date") : ("No Appointment Date"))), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
28
|
+
if (controller?.confirmDate && dayjs(date).isSame(controller?.confirmDate, "day"))
|
|
29
|
+
return;
|
|
30
|
+
edit({ Appointment: date ?? undefined });
|
|
31
|
+
} })),
|
|
32
|
+
React.createElement(Form.Item, { label: "Cease Date" },
|
|
33
|
+
React.createElement(InlineEdit, { defaultValue: controller?.ceaseDate ? dayjs(controller?.ceaseDate) : null, content: (v) => (React.createElement("span", null, controller?.ceaseDate ? (React.createElement(UTCShortDate, { value: controller?.ceaseDate })) : allowEdit ? ("Add Cease Date") : ("No Cease Date"))), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
34
|
+
if (controller?.ceaseDate && dayjs(date).isSame(controller?.ceaseDate, "day"))
|
|
35
|
+
return;
|
|
36
|
+
edit({ Cease: date ?? undefined });
|
|
37
|
+
} })))))));
|
|
38
|
+
async function edit(data) {
|
|
39
|
+
await controllerStore.edit(id, { data, error: "message" });
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export default ControllerInformation;
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAGN,kBAAkB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,EAC9B,SAAS,GAAG,IAAI,EAChB,GAAG,KAAK,EAIR,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,wCAAwC;IACxC,MAAM,UAAU,GAAG;QAClB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,YAAY;QACzB,SAAS,EAAE,YAAY;QACvB,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,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.controller-item {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: 10px 20px;
|
|
7
|
+
&::after {
|
|
8
|
+
position: absolute;
|
|
9
|
+
content: "";
|
|
10
|
+
left: 20px;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
right: 20px;
|
|
13
|
+
border-bottom: 1px solid #f2f2f2;
|
|
14
|
+
}
|
|
15
|
+
.controller-info {
|
|
16
|
+
flex: 1;
|
|
17
|
+
margin-left: 10px;
|
|
18
|
+
.title {
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.appointment-date,
|
|
23
|
+
.cease-date {
|
|
24
|
+
font-size: 13px;
|
|
25
|
+
line-height: 22px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare const ControllerItem: (props: {
|
|
4
|
+
/** id of officer */
|
|
5
|
+
id: string;
|
|
6
|
+
/** id of unit */
|
|
7
|
+
/** id of identity */
|
|
8
|
+
identityId: string;
|
|
9
|
+
/** index of officer list */
|
|
10
|
+
index: number;
|
|
11
|
+
className?: string;
|
|
12
|
+
}) => React.JSX.Element;
|
|
13
|
+
export default ControllerItem;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { Badge } from "antd";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
5
|
+
import moment from "moment";
|
|
6
|
+
import { observe } from "@voplus/morpho-ui";
|
|
7
|
+
const ControllerItem = (props) => {
|
|
8
|
+
const { id, index } = props;
|
|
9
|
+
// const controller = useController(id);
|
|
10
|
+
const controller = {
|
|
11
|
+
id: "",
|
|
12
|
+
name: "Controller",
|
|
13
|
+
unitId: "dfb9661a-b3fd-4dbc-b0aa-8f65c39c6ae0",
|
|
14
|
+
confirmDate: "2021-03-10",
|
|
15
|
+
ceaseDate: "2021-03-10",
|
|
16
|
+
status: "Present",
|
|
17
|
+
};
|
|
18
|
+
return observe(() => (React.createElement("div", { className: "controller-item" },
|
|
19
|
+
React.createElement(React.Fragment, null,
|
|
20
|
+
React.createElement(UnitAvatar, { id: controller.unitId, index: index, size: "large" }),
|
|
21
|
+
React.createElement("div", { className: "controller-info" },
|
|
22
|
+
React.createElement("div", { className: "title" }, controller.name),
|
|
23
|
+
controller.confirmDate && (React.createElement("div", { className: "appointment-date" },
|
|
24
|
+
"confirmDate Date: ",
|
|
25
|
+
moment(controller.confirmDate).format("YYYY-MM-DD"))),
|
|
26
|
+
controller.ceaseDate && (React.createElement("div", { className: "cease-date" },
|
|
27
|
+
"Cease Date: ",
|
|
28
|
+
moment(controller.ceaseDate).format("YYYY-MM-DD")))),
|
|
29
|
+
controller.status && (React.createElement("div", null, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" }))))))));
|
|
30
|
+
};
|
|
31
|
+
export default ControllerItem;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,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C,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import { useControllerStore, } from "../../../controllerRegister";
|
|
3
|
+
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
4
|
+
import ControllerItem from "../ControllerItem";
|
|
5
|
+
import { FilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
|
6
|
+
import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
|
|
7
|
+
import Header from "../../../../components/Header";
|
|
8
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView";
|
|
9
|
+
import NewTypeDropdown from "../../../../components/NewTypeDropdown";
|
|
10
|
+
import OfficerStatusFilter from "../../../../modules/corporate/company/officer-register/controls/OfficerStatusFilter";
|
|
11
|
+
import React from "react";
|
|
12
|
+
import { State } from "./state";
|
|
13
|
+
import { observe } from "@voplus/morpho-ui";
|
|
14
|
+
import { runInAction } from "mobx";
|
|
15
|
+
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
16
|
+
import { useDeepMemo } from "@voplus/morpho-data";
|
|
17
|
+
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
18
|
+
const ControllerList = (props) => {
|
|
19
|
+
const { corporateId, allowEdit } = props;
|
|
20
|
+
const controllerStore = useControllerStore();
|
|
21
|
+
const list = useCreateListDataState({
|
|
22
|
+
filterDefaults: {
|
|
23
|
+
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: corporateId }],
|
|
24
|
+
},
|
|
25
|
+
}, [corporateId]);
|
|
26
|
+
const state = useDeepMemo(() => new State(), [corporateId]);
|
|
27
|
+
useAutoUpdateListData(list, (d) => d.parentId === corporateId);
|
|
28
|
+
useRenderOnChange(() => list.filters.options);
|
|
29
|
+
// useControllerListEffect(
|
|
30
|
+
// list,
|
|
31
|
+
// (result) => list.union(result),
|
|
32
|
+
// list.filters.options
|
|
33
|
+
// );
|
|
34
|
+
list.union([{ id: "1", unitId: "" }]);
|
|
35
|
+
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
36
|
+
React.createElement(FilterOptionsContext.Provider, { value: list.filters },
|
|
37
|
+
React.createElement(Header, { text: "Controller Register" },
|
|
38
|
+
React.createElement("div", null,
|
|
39
|
+
React.createElement(FilterView, { columns: [React.createElement(OfficerStatusFilter, { key: "ControllerStatusFilter" })] }),
|
|
40
|
+
allowEdit !== false && (React.createElement(NewTypeDropdown, { onSelect: state.onSelect, menus: [
|
|
41
|
+
"Director",
|
|
42
|
+
"Managing Director",
|
|
43
|
+
"Nominee Director",
|
|
44
|
+
"Secretary",
|
|
45
|
+
"CEO",
|
|
46
|
+
"Partner",
|
|
47
|
+
"Owner",
|
|
48
|
+
"Auditor",
|
|
49
|
+
"Manager",
|
|
50
|
+
], style: { marginLeft: "10px" } }))))),
|
|
51
|
+
React.createElement(ListView, { renderItem: ({ item, index }) => (React.createElement(ControllerItem, { key: item.id, id: item.id, identityId: "", index: index, className: index === 0 ? "shareTransaction-item-first" : "" })), className: "controller-list-view" }))));
|
|
52
|
+
/** 新增officerItem */
|
|
53
|
+
async function onSave(unitId) {
|
|
54
|
+
/** SelectLegalContactDialog 选择/新增有identity信息的unit */
|
|
55
|
+
if (unitId) {
|
|
56
|
+
const res = await controllerStore.create({
|
|
57
|
+
data: { RegisterId: corporateId, UnitId: unitId },
|
|
58
|
+
error: "message",
|
|
59
|
+
});
|
|
60
|
+
list.union([res]);
|
|
61
|
+
}
|
|
62
|
+
runInAction(() => (state.addAble = false));
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
export default ControllerList;
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAGN,kBAAkB,GAClB,MAA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K,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,EAAE,GAC1D,CACF,EACD,SAAS,EAAC,sBAAsB,GAC/B,CACwB,CAC3B,CAAC,CAAC;IAEH,oBAAoB;IACpB,KAAK,UAAU,MAAM,CAAC,MAAc;QACnC,qDAAqD;QACrD,IAAI,MAAM,EAAE,CAAC;YACZ,MAAM,GAAG,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC;gBACxC,IAAI,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE;gBACjD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { __esDecorate, __runInitializers } from "tslib";
|
|
2
|
+
import { action, observable } from "mobx";
|
|
3
|
+
let State = (() => {
|
|
4
|
+
let _position_decorators;
|
|
5
|
+
let _position_initializers = [];
|
|
6
|
+
let _position_extraInitializers = [];
|
|
7
|
+
let _addAble_decorators;
|
|
8
|
+
let _addAble_initializers = [];
|
|
9
|
+
let _addAble_extraInitializers = [];
|
|
10
|
+
let _loading_decorators;
|
|
11
|
+
let _loading_initializers = [];
|
|
12
|
+
let _loading_extraInitializers = [];
|
|
13
|
+
let _onSelect_decorators;
|
|
14
|
+
let _onSelect_initializers = [];
|
|
15
|
+
let _onSelect_extraInitializers = [];
|
|
16
|
+
return class State {
|
|
17
|
+
static {
|
|
18
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
|
|
19
|
+
_position_decorators = [observable];
|
|
20
|
+
_addAble_decorators = [observable];
|
|
21
|
+
_loading_decorators = [observable];
|
|
22
|
+
_onSelect_decorators = [action];
|
|
23
|
+
__esDecorate(this, null, _position_decorators, { kind: "accessor", name: "position", static: false, private: false, access: { has: obj => "position" in obj, get: obj => obj.position, set: (obj, value) => { obj.position = value; } }, metadata: _metadata }, _position_initializers, _position_extraInitializers);
|
|
24
|
+
__esDecorate(this, null, _addAble_decorators, { kind: "accessor", name: "addAble", static: false, private: false, access: { has: obj => "addAble" in obj, get: obj => obj.addAble, set: (obj, value) => { obj.addAble = value; } }, metadata: _metadata }, _addAble_initializers, _addAble_extraInitializers);
|
|
25
|
+
__esDecorate(this, null, _loading_decorators, { kind: "accessor", name: "loading", static: false, private: false, access: { has: obj => "loading" in obj, get: obj => obj.loading, set: (obj, value) => { obj.loading = value; } }, metadata: _metadata }, _loading_initializers, _loading_extraInitializers);
|
|
26
|
+
__esDecorate(null, null, _onSelect_decorators, { kind: "field", name: "onSelect", static: false, private: false, access: { has: obj => "onSelect" in obj, get: obj => obj.onSelect, set: (obj, value) => { obj.onSelect = value; } }, metadata: _metadata }, _onSelect_initializers, _onSelect_extraInitializers);
|
|
27
|
+
if (_metadata) Object.defineProperty(this, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
28
|
+
}
|
|
29
|
+
#position_accessor_storage = __runInitializers(this, _position_initializers, "Director");
|
|
30
|
+
/** position of the new officer */
|
|
31
|
+
get position() { return this.#position_accessor_storage; }
|
|
32
|
+
set position(value) { this.#position_accessor_storage = value; }
|
|
33
|
+
#addAble_accessor_storage = (__runInitializers(this, _position_extraInitializers), __runInitializers(this, _addAble_initializers, false));
|
|
34
|
+
/** can new Officer item */
|
|
35
|
+
get addAble() { return this.#addAble_accessor_storage; }
|
|
36
|
+
set addAble(value) { this.#addAble_accessor_storage = value; }
|
|
37
|
+
#loading_accessor_storage = (__runInitializers(this, _addAble_extraInitializers), __runInitializers(this, _loading_initializers, false));
|
|
38
|
+
get loading() { return this.#loading_accessor_storage; }
|
|
39
|
+
set loading(value) { this.#loading_accessor_storage = value; }
|
|
40
|
+
onSelect = (__runInitializers(this, _loading_extraInitializers), __runInitializers(this, _onSelect_initializers, (position) => {
|
|
41
|
+
this.position = position;
|
|
42
|
+
this.addAble = true;
|
|
43
|
+
}));
|
|
44
|
+
constructor() {
|
|
45
|
+
__runInitializers(this, _onSelect_extraInitializers);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
})();
|
|
49
|
+
export { State };
|
|
50
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;IAE7B,KAAK;;;;;;;;;;;;;iBAAL,KAAK;;;oCAEhB,UAAU;mCAEV,UAAU;mCACV,UAAU;oCAEV,MAAM;YALK,6KAAgB,QAAQ,6BAAR,QAAQ,2FAAc;YAEtC,0KAAgB,OAAO,6BAAP,OAAO,yFAAS;YAChC,0KAAgB,OAAO,6BAAP,OAAO,yFAAS;YAI5C,0KAAO,QAAQ,6BAAR,QAAQ,2FAGb;;;QAVU,6EAA2B,UAAU,EAAC;QADlD,kCAAkC;QACtB,IAAgB,QAAQ,8CAAc;QAAtC,IAAgB,QAAQ,oDAAc;QAEtC,kIAA0B,KAAK,GAAC;QAD5C,4BAA4B;QAChB,IAAgB,OAAO,6CAAS;QAAhC,IAAgB,OAAO,mDAAS;QAChC,iIAA0B,KAAK,GAAC;QAAhC,IAAgB,OAAO,6CAAS;QAAhC,IAAgB,OAAO,mDAAS;QAIrC,QAAQ,yGAAG,CAAC,QAAgB,EAAE,EAAE;YACtC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACzB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,CAAC,GAAC;;;;;;SAZU,KAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
import React, { useEffect, useState } from "react";
|
|
3
|
+
import { AsideContent } from "@voplus/morpho-ui";
|
|
4
|
+
import ControllerPropertiesView from "../../components/ControllerInformation/ControllerPropertiesView";
|
|
5
|
+
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
6
|
+
import { observe } from "@voplus/morpho-ui";
|
|
7
|
+
import { useParams } from "react-router-dom";
|
|
8
|
+
const ControllerDefaultView = () => {
|
|
9
|
+
const params = useParams();
|
|
10
|
+
const id = params.id;
|
|
11
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
asideContext.openAside(AsideElement, { span: 12 });
|
|
14
|
+
}, []);
|
|
15
|
+
const AsideElement = (React.createElement("div", { className: "csp-default-view_aside" },
|
|
16
|
+
React.createElement(DocumentTabs, { id: id })));
|
|
17
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
|
18
|
+
React.createElement(ControllerPropertiesView, { id: id, toolbar: false }))));
|
|
19
|
+
};
|
|
20
|
+
export default ControllerDefaultView;
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/pages/ControllerDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,wBAAwB,MAAM,iEAAiE,CAAC;AACvG,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,qBAAqB,GAAG,GAAG,EAAE;IAClC,MAAM,MAAM,GAAG,SAAS,EAAmC,CAAC;IAC5D,MAAM,EAAE,GAAG,MAAM,CAAC,EAAG,CAAC;IAEtB,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACd,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,YAAY,GAAG,CACpB,6BAAK,SAAS,EAAC,wBAAwB;QACtC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CACnB,CACN,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;QAClC,oBAAC,wBAAwB,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI,CACtC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
|
3
|
+
import { CreateControllerOptions, DeleteControllerOptions, EditControllerOptions, LoadControllerOptions } from "./types";
|
|
4
|
+
import { IController } from "./interfaces";
|
|
5
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
6
|
+
/** Quotation store supply backend functions. */
|
|
7
|
+
export declare class ControllerStore 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, IController>;
|
|
14
|
+
/** Create a new Identity. */
|
|
15
|
+
create(options: CreateControllerOptions): Promise<IController>;
|
|
16
|
+
/** Edit an existing item on server. */
|
|
17
|
+
edit(id: string, options: EditControllerOptions): Promise<void>;
|
|
18
|
+
/** officer 內有文件不能delete */
|
|
19
|
+
delete(ids: string[], options?: DeleteControllerOptions): Promise<any>;
|
|
20
|
+
/** Load a list of documents from server.
|
|
21
|
+
* @param {LoadDocumentListOptions}
|
|
22
|
+
*/
|
|
23
|
+
loadList(options?: LoadDocumentListOptions): Promise<IController[]>;
|
|
24
|
+
load(id: string, options: LoadControllerOptions): Promise<IController>;
|
|
25
|
+
}
|
|
26
|
+
/** 响应钩子检索 IdentityStore */
|
|
27
|
+
export declare const useControllerStore: () => ControllerStore;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
|
3
|
+
import { observable } from "mobx";
|
|
4
|
+
const StoreName = "ControllerStore";
|
|
5
|
+
/** Quotation store supply backend functions. */
|
|
6
|
+
export class ControllerStore extends Store {
|
|
7
|
+
endpoint;
|
|
8
|
+
/** Name of the store */
|
|
9
|
+
name = StoreName;
|
|
10
|
+
constructor(endpoint) {
|
|
11
|
+
super();
|
|
12
|
+
this.endpoint = endpoint;
|
|
13
|
+
}
|
|
14
|
+
/** All currently used corporate. */
|
|
15
|
+
items = new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }));
|
|
16
|
+
/** Create a new Identity. */
|
|
17
|
+
async create(options) {
|
|
18
|
+
// invariant(options.name, "Name cannot be empty.");
|
|
19
|
+
return await this.action(async () => {
|
|
20
|
+
const r = await this.endpoint.post(`/api/officers/create`, new RequestBuilder().json(options.data));
|
|
21
|
+
const t = (await r.json());
|
|
22
|
+
return t;
|
|
23
|
+
}, options);
|
|
24
|
+
}
|
|
25
|
+
/** Edit an existing item on server. */
|
|
26
|
+
async edit(id, options) {
|
|
27
|
+
await this.action(async () => {
|
|
28
|
+
const r = await this.endpoint.post(`/api/officers/${id}/info`, new RequestBuilder().json(options.data));
|
|
29
|
+
const t = await r.json();
|
|
30
|
+
this.items.overwrite(t.id, t);
|
|
31
|
+
}, options);
|
|
32
|
+
}
|
|
33
|
+
/** officer 內有文件不能delete */
|
|
34
|
+
async delete(ids, options) {
|
|
35
|
+
return await this.action(async () => {
|
|
36
|
+
await this.endpoint.delete(`/api/officers/delete`, new RequestBuilder().json({ Ids: ids, Options: options?.data }));
|
|
37
|
+
const deleted = [];
|
|
38
|
+
for (const id of ids) {
|
|
39
|
+
const item = this.items.peek(id);
|
|
40
|
+
if (item) {
|
|
41
|
+
deleted.push(item);
|
|
42
|
+
item.status = "Deleted";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return deleted;
|
|
46
|
+
}, options);
|
|
47
|
+
}
|
|
48
|
+
/** Load a list of documents from server.
|
|
49
|
+
* @param {LoadDocumentListOptions}
|
|
50
|
+
*/
|
|
51
|
+
async loadList(options) {
|
|
52
|
+
let query = "";
|
|
53
|
+
if (options?.Includes) {
|
|
54
|
+
query = query.concat(`includes=${options.Includes}`);
|
|
55
|
+
}
|
|
56
|
+
if (query)
|
|
57
|
+
query = "?".concat(query);
|
|
58
|
+
const r = await this.endpoint.post(`/api/officers${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
|
59
|
+
return (await r.json());
|
|
60
|
+
}
|
|
61
|
+
async load(id, options) {
|
|
62
|
+
let query = "";
|
|
63
|
+
if (options.includes)
|
|
64
|
+
query = query.concat(`includes=${options.includes}`);
|
|
65
|
+
if (query)
|
|
66
|
+
query = "?".concat(query);
|
|
67
|
+
const r = await this.endpoint.get(`/api/officers/${id}${query}`);
|
|
68
|
+
return await r.json();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/** 响应钩子检索 IdentityStore */
|
|
72
|
+
export const useControllerStore = () => {
|
|
73
|
+
const context = useApplicationContext();
|
|
74
|
+
if (!context.getStore(StoreName)) {
|
|
75
|
+
context.addStore(new ControllerStore(context.api.currentEndPoint));
|
|
76
|
+
}
|
|
77
|
+
return context.getStore(StoreName);
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=ControllerStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControllerStore.js","sourceRoot":"","sources":["../../../src/obsolete/controllerRegister/ControllerStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAU/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAEpC,gDAAgD;AAChD,MAAM,OAAO,eAAgB,SAAQ,KAAK;IAIN;IAHnC,wBAAwB;IACR,IAAI,GAAW,SAAS,CAAC;IAEzC,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QAD0B,aAAQ,GAAR,QAAQ,CAAa;IAExD,CAAC;IAED,oCAAoC;IACpB,KAAK,GAAoC,IAAI,UAAU,CACtE,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAgB,EAC5D,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAGhC,CACD,CAAC;IAEF,6BAA6B;IACtB,KAAK,CAAC,MAAM,CAAC,OAAgC;QACnD,oDAAoD;QACpD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,sBAAsB,EACtB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,C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AAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqB,CAAC;AACxD,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
2
|
+
import { IController } from "./interfaces";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
import { LoadControllerOptions } from ".";
|
|
5
|
+
/** React hook to retrieve a controller
|
|
6
|
+
* @param {string} id - id of the controller
|
|
7
|
+
* @param {LoadDocumentOptions} options - options
|
|
8
|
+
*/
|
|
9
|
+
export declare const useController: (id: string, options?: LoadControllerOptions) => IController;
|
|
10
|
+
export declare const useControllerListEffect: (list: ListDataContextState<IController> | null, effect: (list: any[]) => void, options?: LoadDocumentListOptions) => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useListLoaderEffect } from "@voplus/morpho-ui/es/hooks";
|
|
2
|
+
import { useControllerStore } from "./ControllerStore";
|
|
3
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
+
/** React hook to retrieve a controller
|
|
5
|
+
* @param {string} id - id of the controller
|
|
6
|
+
* @param {LoadDocumentOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useController = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useControllerStore();
|
|
11
|
+
return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
|
|
12
|
+
};
|
|
13
|
+
export const useControllerListEffect = (list, effect, options) => {
|
|
14
|
+
const deps = options ? options : {};
|
|
15
|
+
const store = useControllerStore();
|
|
16
|
+
return useListLoaderEffect(list, store.items, effect, () => store.loadList(options), [deps]);
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/obsolete/controllerRegister/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAU,EAAE,OAA+B,EAAE,EAAE;IAC5E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA4B,CAAC;IAC5D,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,OAAO,CACP,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACtC,IAA8C,EAC9C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/controllerRegister/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
2
|
+
export interface IController extends ILoadable {
|
|
3
|
+
/** id of corporate */
|
|
4
|
+
id: string;
|
|
5
|
+
/** id of unit of officer */
|
|
6
|
+
unitId: string;
|
|
7
|
+
/** */
|
|
8
|
+
name: string;
|
|
9
|
+
/** */
|
|
10
|
+
status: string;
|
|
11
|
+
/** */
|
|
12
|
+
confirmDate?: Date;
|
|
13
|
+
/** */
|
|
14
|
+
ceaseDate: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/obsolete/controllerRegister/interfaces.ts"],"names":[],"mappings":""}
|