@voplus/morpho-csp 10.0.3 → 10.0.4
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/CorporateUnitSelectDialog/index.d.ts +1 -1
- package/es/components/CorporateUnitSelectDialog/index.js +12 -4
- package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
- package/es/components/CorporateUnitSelectDialog/state.d.ts +2 -2
- package/es/components/CorporateUnitSelectDialog/state.js +9 -6
- package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js +1 -3
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.js +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/Controller.d.ts +15 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/Controller.js +116 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/Controller.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +20 -26
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.css +2 -2
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.d.ts +0 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +3 -3
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.d.ts +0 -1
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js +1 -8
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.css +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +5 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.css +1 -1
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.js +4 -1
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.js +3 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingOverview/index.js +2 -0
- package/es/modules/corporate/filing-record/components/FilingOverview/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordList/index.js +1 -0
- package/es/modules/corporate/filing-record/components/FilingRecordList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +3 -0
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js +1 -0
- package/es/modules/corporate/filing-record/components/FilingRecordTabs/index.js.map +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 +5 -5
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.d.ts +15 -7
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js +34 -28
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/state.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +17 -19
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/state.d.ts +12 -12
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/state.js +13 -35
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/state.js.map +1 -1
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js +1 -0
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/index.js.map +1 -1
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/items/NotifyFiling.js +2 -0
- package/es/modules/corporate/filing-record/controls/FilingRecordMenu/items/NotifyFiling.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js +1 -0
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +2 -0
- 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 +3 -0
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeTabs/index.js +1 -0
- 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 +34 -23
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.d.ts +18 -15
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js +17 -17
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/state.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js +1 -0
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js +1 -15
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/getDiffDay.d.ts +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/getDiffDay.js +9 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/getDiffDay.js.map +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +2 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.js +3 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js +4 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearSelect/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js +2 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTabs/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/NewFilingYearDialog/index.js +1 -0
- 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 +1 -0
- package/es/modules/corporate/filing-record/filing-year/controls/FilingYearMenu/items/DownloadFiles.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.js +3 -1
- package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingClientView/index.js +3 -1
- package/es/modules/corporate/filing-record/pages/FilingClientView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.js +3 -1
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingListPage/index.js +1 -0
- package/es/modules/corporate/filing-record/pages/FilingListPage/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingListPage/state.d.ts +15 -3
- package/es/modules/corporate/filing-record/pages/FilingListPage/state.js +58 -37
- package/es/modules/corporate/filing-record/pages/FilingListPage/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js +1 -0
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +3 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +4 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +3 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +4 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +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.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Download.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.js +1 -0
- 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 -0
- 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.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToShareholder.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToShareholder.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToSignee.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/SendToSignee.js.map +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 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +2 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js +2 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +12 -9
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js +1 -0
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/state.d.ts +6 -3
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/state.js +7 -25
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/state.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js +1 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js +1 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js +4 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +2 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js +1 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.js +4 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js +4 -0
- package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js +1 -0
- package/es/modules/corporate/virtual-address/controls/VirtualAddressMenu/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js +2 -0
- package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/pages/VirtualAddressListPage/index.js +1 -0
- package/es/modules/corporate/virtual-address/pages/VirtualAddressListPage/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js +3 -0
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js +3 -0
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js +15 -8
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.d.ts +9 -5
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js +23 -67
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/ConfirmCollectionDialog/index.js +2 -0
- 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 -0
- package/es/modules/corporate/virtual-address-mail/components/ConfirmForwardDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/Item.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js +3 -0
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +22 -18
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/state.d.ts +15 -17
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/state.js +15 -37
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/state.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/SenderDataIcon/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/SenderDataIcon/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js +2 -0
- package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js +2 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +5 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailOverview/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +7 -4
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/state.d.ts +5 -2
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/state.js +7 -25
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/state.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js +2 -0
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailStatusLabel/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailStatusLabel/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js +2 -0
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js +1 -0
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.d.ts +18 -3
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js +82 -52
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/state.js.map +1 -1
- package/es/page/RegisterTablePage/Controller.d.ts +3 -0
- package/es/page/RegisterTablePage/Controller.js +134 -0
- package/es/page/RegisterTablePage/Controller.js.map +1 -0
- package/es/page/RegisterTablePage/index.d.ts +3 -0
- package/es/page/RegisterTablePage/index.js +63 -0
- package/es/page/RegisterTablePage/index.js.map +1 -0
- package/package.json +9 -9
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.css +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { UnitTypeSelectDialogProps } from "./state";
|
|
3
|
-
declare const CorporateUnitSelectDialog: (
|
|
3
|
+
declare const CorporateUnitSelectDialog: (props: UnitTypeSelectDialogProps) => React.JSX.Element;
|
|
4
4
|
export default CorporateUnitSelectDialog;
|
|
@@ -10,10 +10,18 @@ import OfficerListInCorporateSelect from "../../modules/corporate/company/office
|
|
|
10
10
|
import SubUnitList from "@voplus/morpho-org/es/components/ListInContactSelect";
|
|
11
11
|
import UnitTree from "@voplus/morpho-org/es/components/UnitTree";
|
|
12
12
|
import SelectDialog from "@voplus/morpho-org/es/controls/SelectDialog";
|
|
13
|
-
const CorporateUnitSelectDialog = (
|
|
14
|
-
const
|
|
13
|
+
const CorporateUnitSelectDialog = (props) => {
|
|
14
|
+
const { multiSelect = true, type = "select", title = "Corporate Contact Select", defaultSelection = "Everyone", } = props;
|
|
15
15
|
const [state] = useState(new State(defaultSelection, multiSelect, props.defaultSelected));
|
|
16
|
-
|
|
16
|
+
const context = useApplicationContext();
|
|
17
|
+
const resolvedProps = {
|
|
18
|
+
...props,
|
|
19
|
+
multiSelect,
|
|
20
|
+
type,
|
|
21
|
+
title,
|
|
22
|
+
defaultSelection,
|
|
23
|
+
};
|
|
24
|
+
state.props = resolvedProps;
|
|
17
25
|
state.multiSelect = multiSelect;
|
|
18
26
|
return observe(() => {
|
|
19
27
|
var _a;
|
|
@@ -37,7 +45,7 @@ const CorporateUnitSelectDialog = ({ multiSelect = true, type = "select", title
|
|
|
37
45
|
icon: React.createElement(FAIcon, { icon: faUserTagSolid }),
|
|
38
46
|
isLeaf: true,
|
|
39
47
|
},
|
|
40
|
-
], defaultSelectedKeys: [state.current], onSelect: (id) => state.onExpand(id) }), listView: React.createElement(Checkbox.Group, { value: (_a = state === null || state === void 0 ? void 0 : state.selectedLists) === null || _a === void 0 ? void 0 : _a.map((u) => u.id) }, state.current === "members" ? (React.createElement(MemberListInCorporateSelect, { corporateId:
|
|
48
|
+
], defaultSelectedKeys: [state.current], onSelect: (id) => state.onExpand(id) }), listView: React.createElement(Checkbox.Group, { value: (_a = state === null || state === void 0 ? void 0 : state.selectedLists) === null || _a === void 0 ? void 0 : _a.map((u) => u.id) }, state.current === "members" ? (React.createElement(MemberListInCorporateSelect, { corporateId: resolvedProps.corporateId, selectedLists: state.selectedLists, onSelectCorporateUnit: (item) => state.selectOrDeleteItem(item) })) : state.current === "officers" ? (React.createElement(OfficerListInCorporateSelect, { corporateId: resolvedProps.corporateId, selectedLists: state.selectedLists, onSelectCorporateUnit: (item) => state.selectOrDeleteItem(item) })) : (React.createElement(SubUnitList, { addAble: true, unitSelectAdd: true, parentId: state.id, type: type, filterType: state.filterType, selectedLists: state.selectedLists, maxSelections: resolvedProps.maxSelections, onSelectUnit: (item) => state.selectOrDeleteItem(item), isShowParentItem: state.id === "c896a84e-b31a-4d10-a181-5d34a21b172d" }))), handleCancel: () => state.handleCancel(), handleOk: () => state.handleOk(), selectedLists: state.selectedLists, title: title, maxSelections: resolvedProps.maxSelections, onClear: () => (state.selectedLists = []), deselectNode: (item) => state.deselectUnit(item) }));
|
|
41
49
|
});
|
|
42
50
|
};
|
|
43
51
|
export default CorporateUnitSelectDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CorporateUnitSelectDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAA6B,MAA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CAAsC,GACpE,CACF,CACe,EAElB,YAAY,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,EACxC,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,EAChC,aAAa,EAAE,KAAK,CAAC,aAAa,EAClC,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,CAAC,aAAa,EAC1C,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,GAAG,EAAE,CAAC,EACzC,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,GAC/C,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -47,7 +47,7 @@ export declare class State {
|
|
|
47
47
|
current: string;
|
|
48
48
|
constructor(defaultSelection: string, multiple: boolean, defaultSelected: any[]);
|
|
49
49
|
/**Select function*/
|
|
50
|
-
handleOk(): void
|
|
50
|
+
handleOk(): void;
|
|
51
51
|
/**cancel function*/
|
|
52
52
|
handleCancel(): void;
|
|
53
53
|
/**已选文件列表 双击取消选择文件*/
|
|
@@ -56,5 +56,5 @@ export declare class State {
|
|
|
56
56
|
selectOrDeleteItem(item: IUnit): void;
|
|
57
57
|
/**UnitTree 选择文件返回unit id, UnitList获得id显示列表*/
|
|
58
58
|
onExpand(expandedKeys: string): void;
|
|
59
|
-
onSelectUnit(item: IUnit): void
|
|
59
|
+
onSelectUnit(item: IUnit): void;
|
|
60
60
|
}
|
|
@@ -91,9 +91,11 @@ export class State {
|
|
|
91
91
|
/**Select function*/
|
|
92
92
|
handleOk() {
|
|
93
93
|
var _a, _b;
|
|
94
|
-
if (!this.selectedLists.length && !this.props.isEmptyData)
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
if (!this.selectedLists.length && !this.props.isEmptyData) {
|
|
95
|
+
message.warning("Please select Unit");
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
(_b = (_a = this.props).onSelect) === null || _b === void 0 ? void 0 : _b.call(_a, this.selectedLists);
|
|
97
99
|
}
|
|
98
100
|
/**cancel function*/
|
|
99
101
|
handleCancel() {
|
|
@@ -125,11 +127,12 @@ export class State {
|
|
|
125
127
|
/*UnitTree,UnitList 双击选择文件显示在已选文件列表*/
|
|
126
128
|
onSelectUnit(item) {
|
|
127
129
|
var _a, _b, _c;
|
|
128
|
-
if (!this.multiSelect)
|
|
129
|
-
|
|
130
|
+
if (!this.multiSelect) {
|
|
131
|
+
((_a = this.props) === null || _a === void 0 ? void 0 : _a.type) === "click"
|
|
130
132
|
? (this.selectedLists = [item])
|
|
131
133
|
: (_c = (_b = this.props).onSelect) === null || _c === void 0 ? void 0 : _c.call(_b, [{ id: item.id, name: item.name, type: item.type }]);
|
|
132
|
-
|
|
134
|
+
}
|
|
135
|
+
else if (!this.selectedLists.some((ele) => ele.id === item.id)) {
|
|
133
136
|
this.selectedLists.push(item);
|
|
134
137
|
}
|
|
135
138
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/CorporateUnitSelectDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAoC/B,MAAM,OAAO,KAAK;IAajB,YACS,gBAAwB,EACxB,QAAiB,EACjB,eAAsB;;QAF9B;;;;mBAAQ,gBAAgB;WAAQ;QAChC;;;;mBAAQ,QAAQ;WAAS;QACzB;;;;mBAAQ,eAAe;WAAO;QAfxB;;;;;WAAkC;QACzC,kBAAkB;QACC;;;;mBAAK,EAAE;WAAC;QAC3B,aAAa;QACM;;;;mBAAyB,EAAE;WAAC;QAC/C,WAAW;QACQ;;;;mBAAc,KAAK;WAAC;QACvC,sBAAsB;QACH;;;;;WAAuB;Q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AC,CAAC,CAAC,IAAI,CAAC,aAAa,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC/B,CAAC,CAAC,MAAA,MAAA,IAAI,CAAC,KAAK,EAAC,QAAQ,mDAAG,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAC/E,CAAC;aAAM,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;YAClE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;IACF,CAAC;CACD;AApGmB;IAAlB,UAAU;iCAAgB;AAER;IAAlB,UAAU;4CAAoC;AAE5B;IAAlB,UAAU;0CAA4B;AAEpB;IAAlB,UAAU;yCAA+B;AAEvB;IAAlB,UAAU;sCAAqB;AAqCzB;IADN,MAAM;qCAQN;AAIM;IADN,MAAM;yCAGN;AAIM;IADN,MAAM;yCAGN;AAGO;IADP,MAAM;uCAGN;AAGM;IADN,MAAM;+CAGN;AAIM;IADN,MAAM;qCAUN;AAIM;IADN,MAAM;yCASN"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
|
4
|
-
import classnames from "classnames";
|
|
5
4
|
const RiskLevelLabel = (props) => {
|
|
6
5
|
const list = [{ name: "High" }, { name: "Medium" }, { name: "Low" }];
|
|
7
6
|
if (props.status && list.findIndex((i) => i.name === props.status) === -1) {
|
|
8
7
|
list.push({ name: props.status });
|
|
9
8
|
}
|
|
10
|
-
return observe(() => (React.createElement(
|
|
11
|
-
React.createElement(DocumentStatusLabel, { className: classnames("risk-profile-status"), editable: props.editable, list: list, status: props.status, onChange: props.onChange }))));
|
|
9
|
+
return observe(() => (React.createElement(DocumentStatusLabel, { className: "risk-profile-status", editable: props.editable, list: list, status: props.status, onChange: props.onChange })));
|
|
12
10
|
};
|
|
13
11
|
export default RiskLevelLabel;
|
|
14
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAE1F,MAAM,cAAc,GAAG,CAAC,KAKvB,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IACrE,IAAI,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QAC3E,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,mBAAmB,IACnB,SAAS,EAAC,qBAAqB,EAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -68,7 +68,7 @@ const CorporateList = ({ viewTitle = "Corporate List", asideable = true, headerT
|
|
|
68
68
|
default:
|
|
69
69
|
break;
|
|
70
70
|
}
|
|
71
|
-
if (filterOptions) {
|
|
71
|
+
if (filterOptions === null || filterOptions === void 0 ? void 0 : filterOptions.length) {
|
|
72
72
|
filter = filterOptions;
|
|
73
73
|
}
|
|
74
74
|
return filter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CorporateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAc,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,OAAO,aAAa,CAAC;AAiBrB,MAAM,aAAa,GAAG,CAAC,EACtB,SAAS,GAAG,gBAAgB,EAC5B,SAAS,GAAG,IAAI,EAChB,UAAU,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,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;gBACvE,MAAM;YACP,KAAK,QAAQ;gBACZ,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACtE,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM;YACP;gBACC,MAAM;QACR,CAAC;QAED,IAAI,aAAa,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CorporateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAc,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,OAAO,aAAa,CAAC;AAiBrB,MAAM,aAAa,GAAG,CAAC,EACtB,SAAS,GAAG,gBAAgB,EAC5B,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,WAAW,EACxB,GAAG,KAAK,EACY,EAAE,EAAE;IACxB,MAAM,EAAE,QAAQ,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;gBACZ,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACtE,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM;YACP;gBACC,MAAM;QACR,CAAC;QAED,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,EAAE,CAAC;YAC3B,MAAM,GAAG,aAAa,CAAC;QACxB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export type ControllerListProps = {
|
|
3
|
+
controllerRegisterId: string;
|
|
4
|
+
corporateId: string;
|
|
5
|
+
tableCardProps?: {
|
|
6
|
+
className?: string;
|
|
7
|
+
isHeader?: boolean;
|
|
8
|
+
title?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
onReload?: () => void;
|
|
11
|
+
onRedirect?: () => void;
|
|
12
|
+
onDelete?: (corporateId: string, controllerRegisterId: string) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const Controller: (props: ControllerListProps) => React.JSX.Element;
|
|
15
|
+
export default Controller;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import React, { useState, useRef, useEffect } from "react";
|
|
2
|
+
import { Input, Button, Table, Pagination } from "antd";
|
|
3
|
+
import { faPaperPlaneSolid, faUploadSolid, } from "@voplus/morpho-ui/es/faIcons";
|
|
4
|
+
import TableCell, { columnsList } from "./TableCell";
|
|
5
|
+
import { useControllerListEffect, } from "../../../../../../data/controller";
|
|
6
|
+
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
7
|
+
import { columnsSimpleList } from "./TableCellSimple";
|
|
8
|
+
import { FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
9
|
+
import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
10
|
+
import { SearchOutlined, PlusOutlined, MoreOutlined, } from "@ant-design/icons";
|
|
11
|
+
import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
|
12
|
+
const Controller = (props) => {
|
|
13
|
+
const { controllerRegisterId, corporateId } = props;
|
|
14
|
+
const [filterVisible, setFilterVisible] = useState(true);
|
|
15
|
+
const [dataSource, setDataSource] = useState([]);
|
|
16
|
+
const tableContainerRef = useRef(null);
|
|
17
|
+
const [tableScrollY, setTableScrollY] = useState(200);
|
|
18
|
+
const [totalCount, setTotalCount] = useState(0);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
const observer = new ResizeObserver((entries) => {
|
|
21
|
+
for (let entry of entries) {
|
|
22
|
+
const height = entry.contentRect.height;
|
|
23
|
+
// 表头高度约47px,减去表头即为Table Body的可用高度
|
|
24
|
+
setTableScrollY(Math.max(height - 47, 100));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
if (tableContainerRef.current) {
|
|
28
|
+
observer.observe(tableContainerRef.current);
|
|
29
|
+
}
|
|
30
|
+
return () => observer.disconnect();
|
|
31
|
+
}, []);
|
|
32
|
+
/** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
|
|
33
|
+
const list = useCreateListDataState({
|
|
34
|
+
filterDefaults: {
|
|
35
|
+
filters: [
|
|
36
|
+
{ c: "ParentNodeId", o: "=", l: "And", v1: controllerRegisterId },
|
|
37
|
+
// {
|
|
38
|
+
// c: "ConfirmationStatus",
|
|
39
|
+
// o: "contains",
|
|
40
|
+
// v1: JSON.stringify(["Unconfirmed", "ConfirmedController"]),
|
|
41
|
+
// l: "And",
|
|
42
|
+
// },
|
|
43
|
+
],
|
|
44
|
+
page: { Page: 1, PageSize: 10 },
|
|
45
|
+
includes: "tags",
|
|
46
|
+
},
|
|
47
|
+
}, [controllerRegisterId]);
|
|
48
|
+
const columns = columnsList.map((col) => {
|
|
49
|
+
return {
|
|
50
|
+
...col,
|
|
51
|
+
onCell: (record, rowIndex) => {
|
|
52
|
+
return {
|
|
53
|
+
record,
|
|
54
|
+
dataIndex: col.dataIndex,
|
|
55
|
+
rowIndex: rowIndex,
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
const columnsSimple = columnsSimpleList.map((col) => {
|
|
61
|
+
return {
|
|
62
|
+
...col,
|
|
63
|
+
onCell: (record, rowIndex) => {
|
|
64
|
+
return {
|
|
65
|
+
record,
|
|
66
|
+
dataIndex: col.dataIndex,
|
|
67
|
+
rowIndex: rowIndex,
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
/** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
|
|
73
|
+
useAutoUpdateListData(list, (d) => d.parentId === controllerRegisterId);
|
|
74
|
+
useRenderOnChange(() => list.filters.options);
|
|
75
|
+
/** 把ListDataState传给useControllerListEffect,使之可以自動更新loading, hasmore. */
|
|
76
|
+
useControllerListEffect(list, (result, total) => {
|
|
77
|
+
setDataSource(result);
|
|
78
|
+
setTotalCount(total || 0);
|
|
79
|
+
}, {
|
|
80
|
+
Total: true,
|
|
81
|
+
...list.filters.options,
|
|
82
|
+
});
|
|
83
|
+
return observe(() => (React.createElement("div", { className: "h-full flex flex-col" },
|
|
84
|
+
React.createElement("div", { className: "px-4 pb-4 flex flex-wrap gap-3 items-center justify-between bg-bg-table border-b border-border" },
|
|
85
|
+
React.createElement("div", { className: "flex-1 min-w-[300px] flex items-center gap-3" },
|
|
86
|
+
React.createElement(Input, { prefix: React.createElement(SearchOutlined, { className: "text-gray-400" }), placeholder: "Search in register controller ...", className: "py-1.5 rounded-md lg:w-96" })),
|
|
87
|
+
React.createElement("div", { className: "flex items-center gap-3" },
|
|
88
|
+
React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faPaperPlaneSolid }), className: "text-gray-600 font-medium" }, "SEND FORM"),
|
|
89
|
+
React.createElement(Button, { icon: React.createElement(FAIcon, { icon: faUploadSolid }), className: "text-gray-600 font-medium" }, "SYCN"),
|
|
90
|
+
React.createElement(Button, { type: "primary", icon: React.createElement(PlusOutlined, null), className: "bg-blue-600 font-medium" }, "NEW ENTRY"),
|
|
91
|
+
React.createElement(Button, { icon: React.createElement(MoreOutlined, null) }))),
|
|
92
|
+
React.createElement("div", { ref: tableContainerRef, className: "flex-1 overflow-hidden" },
|
|
93
|
+
React.createElement(Table, { columns: columns,
|
|
94
|
+
// dataSource={list.data}
|
|
95
|
+
dataSource: dataSource, loading: list.loading, scroll: { y: tableScrollY }, components: {
|
|
96
|
+
body: {
|
|
97
|
+
cell: TableCell,
|
|
98
|
+
},
|
|
99
|
+
}, pagination: false, className: "whitespace-nowrap [&_.ant-table-thead_>_tr_>_th]:text-xs! [&_.ant-table-thead_>_tr_>_th]:uppercase! [&_.ant-table-thead_>_tr_>_th]:font-bold! [&_.ant-table-thead_>_tr_>_th]:text-font-primary! [&_.ant-table-thead_>_tr_>_th]:bg-bg-table!", rowClassName: "group" })),
|
|
100
|
+
React.createElement("div", { className: "p-3.5 bg-bg-table border-t border-border flex justify-between items-center font-semibold text-sm text-font-primary" },
|
|
101
|
+
React.createElement("div", null,
|
|
102
|
+
"Showing ",
|
|
103
|
+
(list.filters.paging.Page - 1) * list.filters.paging.PageSize + 1,
|
|
104
|
+
" to",
|
|
105
|
+
" ",
|
|
106
|
+
Math.min(list.filters.paging.Page * list.filters.paging.PageSize, totalCount),
|
|
107
|
+
" of",
|
|
108
|
+
" ",
|
|
109
|
+
totalCount,
|
|
110
|
+
" entries"),
|
|
111
|
+
React.createElement(Pagination, { current: list.filters.paging.Page, total: totalCount, pageSize: list.filters.paging.PageSize, showSizeChanger: false, className: "[&_.ant-pagination-item]:bg-transparent! [&_.ant-pagination-item]:border-none! [&_.ant-pagination-item-active]:bg-font-secondary! [&_.ant-pagination-item-active_a]:text-white! [&_.ant-pagination-item]:min-w-[27px]! [&_.ant-pagination-item]:w-[27px]! [&_.ant-pagination-item]:h-[27px]! [&_.ant-pagination-item]:leading-[27px]! [&_.ant-pagination-item]:rounded-md [&_.ant-pagination-prev]:min-w-[27px]! [&_.ant-pagination-prev]:w-[27px]! [&_.ant-pagination-prev]:h-[27px]! [&_.ant-pagination-prev]:leading-[27px]! [&_.ant-pagination-next]:min-w-[27px]! [&_.ant-pagination-next]:w-[27px]! [&_.ant-pagination-next]:h-[27px]! [&_.ant-pagination-next]:leading-[27px]! [&_.ant-pagination-item-link]:flex! [&_.ant-pagination-item-link]:justify-center [&_.ant-pagination-item-link]:items-center", onChange: (page, pageSize) => {
|
|
112
|
+
list.filters.paging.Page = page;
|
|
113
|
+
} })))));
|
|
114
|
+
};
|
|
115
|
+
export default Controller;
|
|
116
|
+
//# sourceMappingURL=Controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Controller.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/Controller.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAa,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAc,KAAK,EAAE,MAAM,EAAE,KAAK,EAA0B,UAAU,EAAS,MAAM,MAAM,CAAC;AACnG,OAAO,EAKN,iBAAiB,EACjB,aAAa,GACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACN,uBAAuB,GAGvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAA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D,oBAAC,KAAK,IACL,OAAO,EAAE,OAAc;gBACvB,yBAAyB;gBACzB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,EAAE,CAAC,EAAE,YAAY,EAAE,EAC3B,UAAU,EAAE;oBACX,IAAI,EAAE;wBACL,IAAI,EAAE,SAAS;qBACf;iBACD,EACD,UAAU,EAAE,KAAK,EACjB,SAAS,EAAC,6OAA6O,EACvP,YAAY,EAAC,OAAO,GACnB,CACG;QAGN,6BAAK,SAAS,EAAC,oHAAoH;YAClI;;gBACU,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,GAAG,CAAC;;gBAAK,GAAG;gBACjF,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC;;gBAAK,GAAG;gBACrF,UAAU;2BACN;YACN,oBAAC,UAAU,IACV,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,EACjC,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EACtC,eAAe,EAAE,KAAK,EACtB,SAAS,EAAC,mxBAAmxB,EAC7xB,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;oBAC5B,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;gBACjC,CAAC,GACA,CACG,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { faEllipsisVerticalSolid, faEnvelopeSolid, faPhoneSolid, faBarsProgressSolid,
|
|
2
|
+
import { faEllipsisVerticalSolid, faEnvelopeSolid, faPhoneSolid, faBarsProgressSolid, faCalendarCheckSolid, faCalendarDaysSolid, faCalendarSolid, faUserSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
3
3
|
import { Tooltip } from "antd";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
|
|
@@ -8,7 +8,6 @@ import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar/LoadedUnitAv
|
|
|
8
8
|
import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
|
|
9
9
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
10
10
|
import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus/IdentityStatus2";
|
|
11
|
-
import TagView from "@voplus/morpho-org/es/modules/tag/TagView/TagView2";
|
|
12
11
|
import CompanyControllerMenu from "../../../controls/CompanyRegisterMenu";
|
|
13
12
|
import ControllerStatusLabel from "../../controls/ControllerStatusLabel/ControllerStatusLabel2";
|
|
14
13
|
import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
|
|
@@ -17,34 +16,34 @@ import "./index.css";
|
|
|
17
16
|
export const columnsList = [
|
|
18
17
|
{
|
|
19
18
|
title: (React.createElement(React.Fragment, null,
|
|
20
|
-
React.createElement(FAIcon, { icon:
|
|
21
|
-
"
|
|
19
|
+
React.createElement(FAIcon, { icon: faUserSolid }),
|
|
20
|
+
" \u00A0Controllers Name")),
|
|
22
21
|
dataIndex: "name",
|
|
23
22
|
width: "32%",
|
|
24
23
|
},
|
|
25
24
|
{
|
|
26
25
|
title: (React.createElement(React.Fragment, null,
|
|
27
|
-
React.createElement(FAIcon, { icon:
|
|
28
|
-
"
|
|
26
|
+
React.createElement(FAIcon, { icon: faCalendarSolid }),
|
|
27
|
+
" \u00A0Appointment")),
|
|
29
28
|
dataIndex: "appointment",
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
31
|
title: (React.createElement(React.Fragment, null,
|
|
33
32
|
React.createElement(FAIcon, { icon: faCalendarDaysSolid }),
|
|
34
|
-
"
|
|
33
|
+
" \u00A0Cease")),
|
|
35
34
|
dataIndex: "cease",
|
|
36
35
|
},
|
|
37
36
|
{
|
|
38
37
|
title: (React.createElement(React.Fragment, null,
|
|
39
|
-
React.createElement(FAIcon, { icon:
|
|
40
|
-
"
|
|
38
|
+
React.createElement(FAIcon, { icon: faCalendarCheckSolid }),
|
|
39
|
+
" \u00A0Confirmation")),
|
|
41
40
|
dataIndex: "confirmation",
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
43
|
title: (React.createElement(React.Fragment, null,
|
|
45
44
|
React.createElement(FAIcon, { icon: faBarsProgressSolid }),
|
|
46
|
-
"
|
|
47
|
-
dataIndex: "
|
|
45
|
+
" \u00A0Identity Status")),
|
|
46
|
+
dataIndex: "identity",
|
|
48
47
|
},
|
|
49
48
|
{
|
|
50
49
|
title: " ",
|
|
@@ -58,27 +57,22 @@ const TableCell = (props) => {
|
|
|
58
57
|
return observe(() => {
|
|
59
58
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
60
59
|
const controller = useController(record === null || record === void 0 ? void 0 : record.id, { reload: (d) => !d.tags, includes: "tags" });
|
|
61
|
-
return (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement("div", { className: "
|
|
62
|
-
React.createElement(UnitAvatar, { unit: controller.contact }),
|
|
63
|
-
React.createElement("div", { className: "
|
|
64
|
-
((_a = controller.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (controller.identity.fullName) : controller.contact ? (React.createElement(UnitNameNoteAlert, { id: controller.contact.id, name: controller.contact.name })) : null,
|
|
65
|
-
React.createElement("div", { className: "
|
|
60
|
+
return (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement("div", { className: "flex items-center gap-3.5" },
|
|
61
|
+
React.createElement(UnitAvatar, { unit: controller.contact, className: "w-10! h-10! rounded-md! text-sm! text-font-secondary! bg-blue-profile!" }),
|
|
62
|
+
React.createElement("div", { className: "flex flex-col gap-1" },
|
|
63
|
+
((_a = controller.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (React.createElement("div", { className: "text-font-primary uppercase font-semibold" }, controller.identity.fullName)) : controller.contact ? (React.createElement(UnitNameNoteAlert, { id: controller.contact.id, name: controller.contact.name })) : null,
|
|
64
|
+
React.createElement("div", { className: "flex items-center gap-4 text-xs text-font-grey font-medium" },
|
|
66
65
|
(controller.email || ((_b = controller.contact) === null || _b === void 0 ? void 0 : _b.email)) && (React.createElement("div", null,
|
|
67
|
-
React.createElement(
|
|
68
|
-
|
|
69
|
-
controller.email || ((_c = controller.contact) === null || _c === void 0 ? void 0 : _c.email))),
|
|
66
|
+
React.createElement(FAIcon, { icon: faEnvelopeSolid }),
|
|
67
|
+
React.createElement("span", { className: "ml-1" }, controller.email || ((_c = controller.contact) === null || _c === void 0 ? void 0 : _c.email)))),
|
|
70
68
|
(controller.phone || ((_d = controller.contact) === null || _d === void 0 ? void 0 : _d.phone)) && (React.createElement("div", null,
|
|
71
|
-
React.createElement(
|
|
72
|
-
|
|
73
|
-
controller.phone || ((_e = controller.contact) === null || _e === void 0 ? void 0 : _e.phone))))))) : dataIndex === "identity" ? (((_f = controller.identity) === null || _f === void 0 ? void 0 : _f.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id })) : null) : dataIndex === "appointment" ? (React.createElement(UTCShortDate, { value: controller.appointment, format: "DD MMM YYYY" })) : dataIndex === "cease" ? (React.createElement(UTCShortDate, { value: controller.cease, format: "DD MMM YYYY" })) : dataIndex === "confirmation" ? (React.createElement(React.Fragment, null,
|
|
69
|
+
React.createElement(FAIcon, { icon: faPhoneSolid }),
|
|
70
|
+
React.createElement("span", { className: "ml-1" }, controller.phone || ((_e = controller.contact) === null || _e === void 0 ? void 0 : _e.phone)))))))) : dataIndex === "identity" ? (((_f = controller.identity) === null || _f === void 0 ? void 0 : _f.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id })) : null) : dataIndex === "appointment" ? (controller.appointment ? (React.createElement(UTCShortDate, { value: controller.appointment, format: "DD MMM YYYY", className: "text-sm text-font-primary font-semibold" })) : (React.createElement("span", { className: "text-font-primary" }, "__"))) : dataIndex === "cease" ? (controller.cease ? (React.createElement(UTCShortDate, { value: controller.cease, format: "DD MMM YYYY", className: "text-sm text-font-primary font-semibold" })) : (React.createElement("span", { className: "text-font-primary" }, "__"))) : dataIndex === "confirmation" ? (React.createElement(React.Fragment, null,
|
|
74
71
|
React.createElement(Tooltip, { title: controller.confimrationDate ? (React.createElement(React.Fragment, null,
|
|
75
72
|
"Confimration Date:",
|
|
76
73
|
" ",
|
|
77
74
|
React.createElement(UTCShortDate, { value: controller.confimrationDate, format: "DD MMM YYYY" }))) : null, color: "#868686" },
|
|
78
|
-
React.createElement(
|
|
79
|
-
React.createElement(ControllerStatusLabel, { className: classnames({ "need-identity": !controller.identity }), status: !controller.identity ? "Need Identity" : controller.confirmationStatus }))))) : dataIndex === "tags" ? (React.createElement(React.Fragment, null,
|
|
80
|
-
((_g = controller.identity) === null || _g === void 0 ? void 0 : _g.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id, className: "controller-table-item-identity" })) : null,
|
|
81
|
-
React.createElement(TagView, { id: record.id, tags: controller.tags, editable: false, items: store.items, maxCount: 1 }))) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
|
|
75
|
+
React.createElement(ControllerStatusLabel, { className: classnames({ "need-identity": !controller.identity }), status: !controller.identity ? "Need Identity" : controller.confirmationStatus })))) : dataIndex === "identity" ? (React.createElement(React.Fragment, null, ((_g = controller.identity) === null || _g === void 0 ? void 0 : _g.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id })) : null)) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
|
|
82
76
|
React.createElement(Open, { url: `/controller/${record.id}` }),
|
|
83
77
|
React.createElement(CompanyControllerMenu, { id: record.id, title: "Controller Menu", unitId: (_h = controller.contact) === null || _h === void 0 ? void 0 : _h.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) }))) : (children)));
|
|
84
78
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,mBAAmB,
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,mBAAmB,EAEnB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,UAAU,MAAM,8DAA8D,CAAC;AACtF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,cAAc,MAAM,2EAA2E,CAAC;AAEvG,OAAO,qBAAqB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,qBAAqB,MAAM,6DA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,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,kBAAkB,GAC7E,CACO,CACR,CACH,CAAC,CAAC,CAAC,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC,CAC9B,0CACE,CAAA,MAAA,UAAU,CAAC,QAAQ,0CAAE,EAAE,EAAC,CAAC,CAAC,CAC1B,oBAAC,cAAc,IACd,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,GAEzB,CACF,CAAC,CAAC,CAAC,IAAI,CACN,CACH,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;YACtC,oBAAC,IAAI,IAAC,GAAG,EAAE,eAAe,MAAM,CAAC,EAAE,EAAE,GAAI;YACzC,oBAAC,qBAAqB,IACrB,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,KAAK,EAAC,iBAAiB,EACvB,MAAM,EAAE,MAAA,UAAU,CAAC,OAAO,0CAAE,EAAE,EAC9B,KAAK,EAAE,KAAK,EACZ,UAAU,QACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,uBAAuB,GAAI,GAC9C,CACO,CACV,CAAC,CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import classnames from "classnames";
|
|
3
|
-
import "./index.css";
|
|
3
|
+
// import "./index.css";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
const ControllerStatusLabel = (props) => {
|
|
6
6
|
var _a;
|
|
7
7
|
const item = transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
8
|
-
return observe(() => (React.createElement("
|
|
9
|
-
React.createElement("i",
|
|
8
|
+
return observe(() => (React.createElement("span", { className: classnames("inline-flex items-center gap-1 px-2.5 py-1 rounded-xl bg-gray-200 text-xs font-medium uppercase", props.className, item.colorName) }, item.displayName ? (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement("i", { className: "inline-block w-1.5 h-1.5 rounded-full bg-bg-grey" }),
|
|
10
10
|
React.createElement("span", null, item.displayName))) : null)));
|
|
11
11
|
function transformStatus(name, displayName) {
|
|
12
12
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,
|
|
1
|
+
{"version":3,"file":"ControllerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,wBAAwB;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,KAA8C,EAAE,EAAE;;IAChF,MAAM,IAAI,GAAG,eAAe,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAC;IAEjD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,8BACC,SAAS,EAAE,UAAU,CACpB,iGAAiG,EACjG,KAAK,CAAC,SAAS,EACf,IAAI,CAAC,SAAS,CACd,IAEA,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CACnB;QACC,2BAAG,SAAS,EAAC,kDAAkD,GAAG;QAClE,kCAAO,IAAI,CAAC,WAAW,CAAQ,CAC7B,CACH,CAAC,CAAC,CAAC,IAAI,CACF,CACP,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,IAAY,EAAE,WAAoB;QAC1D,OAAO;YACN,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,WAAW,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;YAC9D,SAAS,EAAE,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CACf,KAAK,CAAC,WAAW,EAClB,IAAI,CAAC,GAAG,EACR,WAAW,EAAE,EAAE;SACjB,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
|
4
|
-
import classnames from "classnames";
|
|
5
|
-
import "./index.css";
|
|
6
4
|
const CorporateStatusLabel = (props) => {
|
|
7
|
-
|
|
8
|
-
if ((props.status && list.findIndex((i) => i.name === props.status) === -1) || !props.status) {
|
|
9
|
-
list.push({ name: props.status || "" });
|
|
10
|
-
}
|
|
11
|
-
return observe(() => (React.createElement("div", { className: classnames({ "corporate-status-label": !props.status }, props.className) },
|
|
12
|
-
React.createElement(DocumentStatusLabel, { className: "corporate-status", editable: props.editable, list: list, status: props.status, onChange: props.onChange }))));
|
|
5
|
+
return observe(() => (React.createElement(DocumentStatusLabel, { className: "corporate-status", editable: props.editable, status: props.status, list: [{ name: "Live" }, { name: "Dormant" }, { name: "Closed" }], onChange: props.onChange })));
|
|
13
6
|
};
|
|
14
7
|
export default CorporateStatusLabel;
|
|
15
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAE1F,MAAM,oBAAoB,GAAG,CAAC,KAK7B,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,mBAAmB,IACnB,SAAS,EAAC,kBAAkB,EAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EACjE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -145,7 +145,7 @@ const ShareTransactionItems = (props) => {
|
|
|
145
145
|
width: "200px",
|
|
146
146
|
render: (cell) => (React.createElement(InlineEdit, { defaultValue: cell.data.consideration, editable: false, content: ({ store }) => observe(() => {
|
|
147
147
|
var _a, _b, _c, _d;
|
|
148
|
-
return (React.createElement("div", { className: "certificate-
|
|
148
|
+
return (React.createElement("div", { className: "certificate-content" }, cell.data.newCertificate || ((_a = cell.data.cancelledCertificates) === null || _a === void 0 ? void 0 : _a.length) ? (React.createElement("div", { className: "share-transaction-table-share" },
|
|
149
149
|
cell.data.newCertificate && (React.createElement("div", { className: "new-certificate" },
|
|
150
150
|
((_b = cell.data.cancelledCertificates) === null || _b === void 0 ? void 0 : _b.length) > 0 ? (React.createElement("div", { className: "new-certificate-title" }, "New")) : null,
|
|
151
151
|
React.createElement(DocumentReference, { id: (_c = cell.data.newCertificate) === null || _c === void 0 ? void 0 : _c.id }))),
|
|
@@ -19,7 +19,7 @@ import VerificationInformation from "@voplus/morpho-org/es/modules/verification/
|
|
|
19
19
|
const ShareTransactionProperties = (props) => {
|
|
20
20
|
/** 加class name 为了方便做integration tests */
|
|
21
21
|
const classId = "shareTransaction-properties";
|
|
22
|
-
const { id, headerVisible, documentProperties, shareTransactionTitle = "
|
|
22
|
+
const { id, headerVisible, documentProperties, shareTransactionTitle = "SHARE TRANSACTION PROPERTIES", documentTitle = "DOCUMENT PROPERTIES", shareTransactionProperties = [
|
|
23
23
|
{ name: "Date" },
|
|
24
24
|
{ name: "Transaction Type" },
|
|
25
25
|
{ name: "Currency" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAEN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sFAAsF,CAAC;AAC5H,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,YAAY,MAAM,2CAA2C,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,aAAa,MAAM,uEAAuE,CAAC;AAClG,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AAqBzG,MAAM,0BAA0B,GAAG,CAAC,KAAsC,EAAE,EAAE;IAC7E,yCAAyC;IACzC,MAAM,OAAO,GAAG,6BAA6B,CAAC;IAE9C,MAAM,EACL,EAAE,EACF,aAAa,EACb,kBAAkB,EAClB,qBAAqB,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAEN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sFAAsF,CAAC;AAC5H,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,YAAY,MAAM,2CAA2C,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,YAA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