@voplus/morpho-csp 6.1.48 → 6.1.49
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/data/corporate/CorporateStore.d.ts +1 -0
- package/es/data/corporate/CorporateStore.js +8 -0
- package/es/data/corporate/CorporateStore.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +35 -9
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +2 -4
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +3 -2
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +28 -12
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +2 -4
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +2 -2
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +3 -2
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +30 -12
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.d.ts +3 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +27 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
- package/package.json +1 -1
- package/es/components/CorporateMentionList/index.less +0 -51
- package/es/components/CorporateNavMenu/index.less +0 -17
- package/es/components/CorporateUnitSelectDialog/index.less +0 -117
- package/es/components/Header/index.less +0 -19
- package/es/components/RegisteresMenuItem/index.less +0 -11
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchItem/index.less +0 -39
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchList/index.less +0 -19
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.less +0 -4
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.less +0 -15
- package/es/modules/corporate/background-investigation/risk-match/pages/RiskMatchDefaultView/index.less +0 -21
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.less +0 -53
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.less +0 -10
- package/es/modules/corporate/background-investigation/risk-profile/components/RelatedProfileList/index.less +0 -19
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.less +0 -33
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileItem/index.less +0 -51
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileList/index.less +0 -19
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.less +0 -7
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.less +0 -29
- package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.less +0 -7
- package/es/modules/corporate/background-investigation/risk-profile/pages/UnitRiskProfilePage/index.less +0 -11
- package/es/modules/corporate/clda/components/CLDADetails/index.less +0 -9
- package/es/modules/corporate/clda/components/CLDAItem/index.less +0 -53
- package/es/modules/corporate/clda/components/CLDAListCard/index.less +0 -13
- package/es/modules/corporate/clda/components/CLDAListView/index.less +0 -48
- package/es/modules/corporate/clda/components/CLDAPanel/index.less +0 -26
- package/es/modules/corporate/clda/components/CLDAProperties/index.less +0 -16
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +0 -10
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +0 -13
- package/es/modules/corporate/clda/components/NewCLDAForm/index.less +0 -7
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +0 -8
- package/es/modules/corporate/clda/controls/ModeIcon/index.less +0 -19
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +0 -14
- package/es/modules/corporate/clda/pages/CLDAClientView/index.less +0 -84
- package/es/modules/corporate/clda/pages/CLDAListPage/index.less +0 -21
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +0 -69
- package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +0 -40
- package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +0 -91
- package/es/modules/corporate/company/components/CapitalCard/index.less +0 -82
- package/es/modules/corporate/company/components/CompanyDetailsView/index.less +0 -40
- package/es/modules/corporate/company/components/CompanyPageHead/index.less +0 -14
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.less +0 -28
- package/es/modules/corporate/company/components/CorporateHead/index.less +0 -33
- package/es/modules/corporate/company/components/CorporateItem/index.less +0 -43
- package/es/modules/corporate/company/components/CorporateList/index.less +0 -11
- package/es/modules/corporate/company/components/CorporatePanel/index.less +0 -26
- package/es/modules/corporate/company/components/CorporateTableList/index.less +0 -14
- package/es/modules/corporate/company/components/SharesCard/index.less +0 -16
- package/es/modules/corporate/company/components/SharesCard2/index.less +0 -109
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.less +0 -17
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +0 -15
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +0 -127
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.less +0 -45
- package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.less +0 -38
- package/es/modules/corporate/company/controller-register/components/SelectControllerSendForm/index.less +0 -82
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +0 -75
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +0 -16
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.less +0 -26
- package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +0 -95
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +0 -86
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +0 -75
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +0 -49
- package/es/modules/corporate/company/identity/components/IdentityItem/index.less +0 -49
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +0 -67
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +0 -72
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +0 -66
- package/es/modules/corporate/company/identity/controls/IdentityMenu/index.less +0 -34
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +0 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.less +0 -17
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +0 -15
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.less +0 -7
- package/es/modules/corporate/company/member-register/components/DetailsObsolete/index.less +0 -14
- package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.less +0 -7
- package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +0 -33
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.less +0 -103
- package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/components/SelectMemberItem/index.less +0 -38
- package/es/modules/corporate/company/member-register/components/SelectMemberSendForm/index.less +0 -82
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +0 -8
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/index.less +0 -54
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +0 -16
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.less +0 -17
- package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.less +0 -7
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +0 -17
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.less +0 -7
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.less +0 -135
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.less +0 -82
- package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.less +0 -38
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/index.less +0 -66
- package/es/modules/corporate/company/officer-register/page/OfficeRegisterPrintView/index.less +0 -61
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +0 -4
- package/es/modules/corporate/company/pages/CorporateListPage/index.less +0 -9
- package/es/modules/corporate/company/pages/PermissionDeniedPage/index.less +0 -17
- package/es/modules/corporate/company/share-transaction-convert/index.less +0 -22
- package/es/modules/corporate/company/share-transactions-register/components/CertCancelCreateDialog/index.less +0 -88
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +0 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreviewPopover/index.less +0 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionCard/index.less +0 -43
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +0 -51
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.less +0 -76
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +0 -27
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +0 -41
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.less +0 -76
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.less +0 -36
- package/es/modules/corporate/company/share-transactions-register/components/VerifyConfirm/index.less +0 -9
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +0 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +0 -108
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +0 -21
- package/es/modules/corporate/components/DocumentIconList/index.less +0 -14
- package/es/modules/corporate/components/Statement/index.less +0 -16
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +0 -16
- package/es/modules/corporate/filing-record/components/FilingList/index.less +0 -6
- package/es/modules/corporate/filing-record/components/FilingOverview/index.less +0 -8
- package/es/modules/corporate/filing-record/components/FilingPanel/index.less +0 -26
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +0 -29
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.less +0 -31
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.less +0 -4
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.less +0 -15
- package/es/modules/corporate/filing-record/components/FilingTimeLineCard/index.less +0 -67
- package/es/modules/corporate/filing-record/components/NewFilingRecoreForm/index.less +0 -40
- package/es/modules/corporate/filing-record/components/SendMessageDialog/index.less +0 -14
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeItem/index.less +0 -29
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.less +0 -11
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.less +0 -15
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.less +0 -10
- package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.less +0 -7
- package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeListPage/index.less +0 -9
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.less +0 -96
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.less +0 -27
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.less +0 -27
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.less +0 -15
- package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.less +0 -9
- package/es/modules/corporate/filing-record/pages/FilingClientView/index.less +0 -7
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.less +0 -7
- package/es/modules/corporate/filing-record/pages/FilingListPage/index.less +0 -9
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +0 -14
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +0 -71
- package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +0 -5
- package/es/modules/corporate/service/components/NewServiceDialog/index.less +0 -27
- package/es/modules/corporate/service/components/ServiceItem/index.less +0 -23
- package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +0 -48
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +0 -194
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.less +0 -28
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.less +0 -16
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.less +0 -14
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.less +0 -41
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +0 -118
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +0 -85
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.less +0 -27
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +0 -85
- package/es/modules/corporate/share-class/components/ShareClassItemCard/index.less +0 -82
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.less +0 -7
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.less +0 -35
- package/es/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.less +0 -7
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.less +0 -7
- package/es/modules/corporate/share-class/components/ShareClassTabs/index.less +0 -8
- package/es/modules/corporate/share-class/pages/ShareClassDefaultView/index.less +0 -7
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.less +0 -8
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +0 -11
- package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +0 -85
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +0 -23
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +0 -89
- package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +0 -73
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.less +0 -27
- package/es/modules/corporate/virtual-address/components/VirtualAddressItem/index.less +0 -25
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.less +0 -15
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.less +0 -7
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.less +0 -35
- package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.less +0 -7
- package/es/modules/corporate/virtual-address/components/VirtualAddressTabs/index.less +0 -8
- package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.less +0 -7
- package/es/modules/corporate/virtual-address/pages/VirtualAddressListPage/index.less +0 -9
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsItem/index.less +0 -51
- package/es/modules/corporate/virtual-address/receipents/components/ReceipentsList/index.less +0 -14
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.less +0 -55
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.less +0 -27
- package/es/modules/corporate/virtual-address-mail/components/SenderDataIcon/index.less +0 -7
- package/es/modules/corporate/virtual-address-mail/components/SenderSelect/index.less +0 -13
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.less +0 -34
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.less +0 -12
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPanel/index.less +0 -26
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.less +0 -7
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.less +0 -26
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.less +0 -7
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailTabs/index.less +0 -8
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailStatusLabel/index.less +0 -30
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.less +0 -7
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailListPage/index.less +0 -9
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +0 -44
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +0 -28
- package/es/modules/self-registration/clda-form/Download/index.less +0 -41
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +0 -26
- package/es/modules/self-registration/clda-form/Upload/index.less +0 -15
- package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.less +0 -25
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.less +0 -101
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.less +0 -31
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +0 -27
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +0 -246
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +0 -12
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +0 -36
- package/es/modules/self-registration/clda-form/incorporation/agm/index.less +0 -83
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.less +0 -177
- package/es/modules/self-registration/clda-form/incorporation/bvi/index.less +0 -49
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.less +0 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.less +0 -16
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.less +0 -37
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.less +0 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.less +0 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.less +0 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.less +0 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.less +0 -74
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.less +0 -45
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningItem/index.less +0 -50
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.less +0 -11
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/DivideColumnItem/index.less +0 -50
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.less +0 -55
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationItem/index.less +0 -46
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/RedonminationList/index.less +0 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.less +0 -74
- package/es/modules/self-registration/clda-form/incorporation/company-general/index.less +0 -191
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.less +0 -100
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +0 -61
- package/es/modules/self-registration/clda-form/incorporation/switch-to-us/index.less +0 -10
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +0 -35
- package/es/modules/self-registration/components/Card/index.less +0 -50
- package/es/modules/self-registration/components/CheckSection/index.less +0 -20
- package/es/modules/self-registration/components/MemberCard/index.less +0 -50
- package/es/modules/self-registration/components/StripeForm/index.less +0 -36
- package/es/modules/self-registration/controls/Blink/index.less +0 -27
- package/es/modules/self-registration/controls/Section/index.less +0 -90
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +0 -2
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +0 -10
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.less +0 -6
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +0 -5
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.less +0 -40
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.less +0 -19
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.less +0 -99
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +0 -131
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +0 -12
- package/es/modules/self-registration/shopping-cart/Payment/index.less +0 -11
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +0 -14
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +0 -75
- package/es/modules/self-registration/shopping-cart/components/styles.less +0 -23
- package/es/modules/self-registration/shopping-cart/pages.less +0 -6
- package/es/obsolete/FilingRecordQuickView/index.less +0 -68
- package/es/obsolete/FilingYearTimeLine/index.less +0 -71
- package/es/obsolete/OfficerRegisterDefaultView/index.less +0 -23
- package/es/obsolete/ShareCertificateDefaultView/index.less +0 -36
- package/es/obsolete/ShareTransactionPropertiesView/index.less +0 -89
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +0 -36
- package/es/obsolete/controller-register/components/ControllerItem/index.less +0 -29
- package/es/obsolete/controller-register/components/ControllerList/index.less +0 -11
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +0 -1
- package/es/obsolete/corporate-page/CompanyDefaultView/index.less +0 -63
- package/es/obsolete/corporate-page/CompanyMemberItem/index.less +0 -71
- package/es/obsolete/corporate-page/CompanyMemberList/index.less +0 -13
- package/es/obsolete/corporate-page/CompanyMemberListCard/index.less +0 -25
- package/es/obsolete/corporate-page/ControllerItem/index.less +0 -69
- package/es/obsolete/corporate-page/ControllerList/index.less +0 -17
- package/es/obsolete/corporate-page/OfficerItem/index.less +0 -69
- package/es/obsolete/corporate-page/OfficerList/index.less +0 -11
- package/es/obsolete/corporate-page/OfficerListCard/index.less +0 -25
- package/es/obsolete/corporate-page/ShareClassItem/index.less +0 -26
- package/es/obsolete/corporate-page/ShareClassList/index.less +0 -11
- package/es/obsolete/order/components/OrderItem/index.less +0 -22
- package/es/obsolete/order/components/OrderItems/index.less +0 -48
- package/es/obsolete/order/components/OrderPropertiesView/index.less +0 -13
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.less +0 -41
- package/es/obsolete/order/controls/OrderLabel/index.less +0 -21
- package/es/obsolete/order/pages/OrderDefaultView/index.less +0 -13
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.less +0 -30
- package/es/style/common.less +0 -175
- package/es/style/print.less +0 -29
|
@@ -28,6 +28,7 @@ export declare class CorporateStore extends Store {
|
|
|
28
28
|
* Type:"OfficersRegister" or "ShareTransactionsRegister"
|
|
29
29
|
*/
|
|
30
30
|
register(id: string, type: string, options: StoreActionOptions): Promise<any>;
|
|
31
|
+
registersDelete(id: string, registerId: string, options: StoreActionOptions): Promise<any>;
|
|
31
32
|
/**delete*/
|
|
32
33
|
delete(id: string, options: StoreActionOptions): Promise<any>;
|
|
33
34
|
/** shares */
|
|
@@ -86,6 +86,14 @@ export class CorporateStore extends Store {
|
|
|
86
86
|
return t;
|
|
87
87
|
}, options);
|
|
88
88
|
}
|
|
89
|
+
async registersDelete(id, registerId, options) {
|
|
90
|
+
return this.action(async () => {
|
|
91
|
+
const r = await this.endpoint.delete(`/api/corporates/${id}/${registerId}`);
|
|
92
|
+
const t = (await r.json());
|
|
93
|
+
this.items.overwrite(t.id, t);
|
|
94
|
+
return t;
|
|
95
|
+
}, options);
|
|
96
|
+
}
|
|
89
97
|
/**delete*/
|
|
90
98
|
async delete(id, options) {
|
|
91
99
|
return this.action(async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateStore.js","sourceRoot":"","sources":["../../../src/data/corporate/CorporateStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EACN,UAAU,EACV,KAAK,EAEL,qBAAqB,GAErB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;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,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,YAAY;IACL,KAAK,CAAC,KAAK,CAAC,OAAqE;QACvF,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YACnC,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,uBAAuB,EACvB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;YACzB,OAAO,CAAC,CAAC;QACV,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;CACD;AACD,4BAA4B;AAC5B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACrC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QACpC,OAAO,CAAC,eAAe,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,CAAoB,CAAC;AACzD,CAAC,CAAC"}
|
package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type ControllerListProps = {
|
|
|
10
10
|
};
|
|
11
11
|
onReload?: () => void;
|
|
12
12
|
onRedirect?: () => void;
|
|
13
|
+
onDelete?: (corporateId: string, controllerRegisterId: string) => void;
|
|
13
14
|
};
|
|
14
15
|
declare const ControllerTableList: (props: ControllerListProps) => React.JSX.Element;
|
|
15
16
|
export default ControllerTableList;
|
package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect } from "react";
|
|
2
2
|
import TableCell, { columnsList } from "./TableCell";
|
|
3
3
|
import TableCellSimple, { columnsSimpleList } from "./TableCellSimple";
|
|
4
|
-
import { Button } from "antd";
|
|
4
|
+
import { Button, Dropdown, Modal } from "antd";
|
|
5
5
|
import { State } from "./state";
|
|
6
6
|
import { useDeepMemo } from "@voplus/morpho-data";
|
|
7
|
-
import { faPrint } from "@fortawesome/pro-solid-svg-icons";
|
|
7
|
+
import { faPrint, faEllipsisVertical, faFileImport, faTrash, } from "@fortawesome/pro-solid-svg-icons";
|
|
8
|
+
import { useCorporateStore } from "../../../../../../data/corporate";
|
|
8
9
|
import { observe, useRenderOnChange, useAsideContentContext } from "@voplus/morpho-ui";
|
|
9
10
|
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
10
11
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -28,6 +29,7 @@ const ControllerTableList = (props) => {
|
|
|
28
29
|
const [noticeVisible, setNoticeVisible] = useState(false);
|
|
29
30
|
const [height, setHeight] = useState(0);
|
|
30
31
|
const ref = useRef(null);
|
|
32
|
+
const corporateStore = useCorporateStore();
|
|
31
33
|
const controllerStore = useControllerStore();
|
|
32
34
|
const asideContext = useAsideContentContext();
|
|
33
35
|
const state = useDeepMemo(() => new State(), [controllerRegisterId]);
|
|
@@ -80,6 +82,33 @@ const ControllerTableList = (props) => {
|
|
|
80
82
|
useRenderOnChange(() => list.filters.options);
|
|
81
83
|
/** 把ListDataState传给useControllerListEffect,使之可以自動更新loading, hasmore. */
|
|
82
84
|
useControllerListEffect(list, (result, total) => list.union(result), list.filters.options);
|
|
85
|
+
const items = [
|
|
86
|
+
{
|
|
87
|
+
key: "send-notice",
|
|
88
|
+
label: React.createElement("span", null, "Send Notice"),
|
|
89
|
+
icon: React.createElement(FAIcon, { icon: faFileImport }),
|
|
90
|
+
onClick: () => setNoticeVisible(true),
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "print",
|
|
94
|
+
label: (React.createElement("a", { target: "_blank", rel: "noopener noreferrer", href: window.location.origin + `/controller/print/${corporateId}` }, "Print")),
|
|
95
|
+
icon: React.createElement(FAIcon, { icon: faPrint }),
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
key: "delete-register",
|
|
99
|
+
label: React.createElement("span", null, "Delete"),
|
|
100
|
+
icon: React.createElement(FAIcon, { icon: faTrash }),
|
|
101
|
+
onClick: () => {
|
|
102
|
+
Modal.confirm({
|
|
103
|
+
title: "Confirm Delete",
|
|
104
|
+
content: "Are you sure you want to delete this register?",
|
|
105
|
+
okText: "Delete",
|
|
106
|
+
cancelText: "Cancel",
|
|
107
|
+
onOk: () => { var _a; return (_a = props.onDelete) === null || _a === void 0 ? void 0 : _a.call(props, corporateId, controllerRegisterId); },
|
|
108
|
+
});
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
];
|
|
83
112
|
return observe(() => (React.createElement("div", { className: "registers-page-item" },
|
|
84
113
|
React.createElement(ListDataContext.Provider, { value: list },
|
|
85
114
|
React.createElement(DocumentTableListCard, { isHeader: true, header: React.createElement(ListHeaderTool, { addAble: false, sortable: false, className: classnames("controller-table-list-header"), searchOptions: { placeholder: "Search in register controller" }, filterViewProps: {
|
|
@@ -87,17 +116,14 @@ const ControllerTableList = (props) => {
|
|
|
87
116
|
React.createElement(ControllerStatusFilter, { key: "ControllerStatusFilter", defaultValue: ["Unconfirmed", "ConfirmedController"] }),
|
|
88
117
|
],
|
|
89
118
|
}, rightExtra: () => (React.createElement(React.Fragment, null,
|
|
90
|
-
React.createElement(Button, { className: "send-notice-btn", onClick: () => setNoticeVisible(true) }, "Send Notice"),
|
|
91
119
|
React.createElement(Button, { className: "send-form-btn", onClick: () => setVisible(true) }, "Send Form"),
|
|
92
120
|
React.createElement(Button, { className: "import-btn", onClick: async () => await controllerStore
|
|
93
121
|
.importController(controllerRegisterId, { error: "message" })
|
|
94
122
|
.then(() => props.onReload && props.onReload()) }, "Import"),
|
|
95
|
-
React.createElement(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
React.createElement(FAIcon, { icon: faPrint })),
|
|
100
|
-
React.createElement(AddDropDown2, { btnType: "text", onClick: () => (state.addAble = true) }))) }) },
|
|
123
|
+
React.createElement(AddDropDown2, { btnType: "text", onClick: () => (state.addAble = true) }),
|
|
124
|
+
React.createElement(Dropdown, { overlayClassName: "controller-table-list-dropdown", menu: { items } },
|
|
125
|
+
React.createElement(Button, null,
|
|
126
|
+
React.createElement(FAIcon, { icon: faEllipsisVertical }))))) }) },
|
|
101
127
|
React.createElement("div", { ref: ref, className: "controller-table-list-card" },
|
|
102
128
|
React.createElement(Scrollbars, { autoHide: true },
|
|
103
129
|
React.createElement(TableListCard, { tableListProps: {
|
package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACN,OAAO,EACP,kBAAkB,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AI,EAAC,OAAO,EACZ,WAAW,EAAE,KAAK,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,GACtC,CACF;QACA,OAAO,IAAI,CACX,oBAAC,wBAAwB,IACxB,QAAQ,EAAE,oBAAqB,EAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAChC,CACF;QACA,aAAa,IAAI,CACjB,oBAAC,oBAAoB,IACpB,QAAQ,EAAE,oBAAoB,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,GACtC,CACF,CACI,CACN,CAAC,CAAC;IAEH,uBAAuB;IACvB,KAAK,UAAU,MAAM,CAAC,IAAkD;QACvE,qDAAqD;QACrD,IAAI,IAAI,EAAE,CAAC;YACV,MAAM,GAAG,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC;gBACxC,IAAI,EAAE,EAAE,UAAU,EAAE,oBAAqB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC/D,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnB,CAAC;QACD,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import MemberTableListCard from "../MemberTableListCard";
|
|
2
3
|
import "../../../../../../style/common.less";
|
|
3
|
-
declare const MemberTableList: (props:
|
|
4
|
-
corporateId: string;
|
|
5
|
-
membersRegisterId: string;
|
|
6
|
-
}) => React.JSX.Element;
|
|
4
|
+
declare const MemberTableList: (props: React.ComponentProps<typeof MemberTableListCard>) => React.JSX.Element;
|
|
7
5
|
export default MemberTableList;
|
|
@@ -4,7 +4,7 @@ import MemberTableListCard from "../MemberTableListCard";
|
|
|
4
4
|
import "../../../../../../style/common.less";
|
|
5
5
|
const MemberTableList = (props) => {
|
|
6
6
|
return observe(() => (React.createElement("div", { className: "registers-page-item" },
|
|
7
|
-
React.createElement(MemberTableListCard, {
|
|
7
|
+
React.createElement(MemberTableListCard, { ...props, tableDetail: true, listHeaderToolProps: {
|
|
8
8
|
searchHeader: true,
|
|
9
9
|
preExtra: () => React.createElement(React.Fragment, null),
|
|
10
10
|
searchOptions: { placeholder: "Search in register member" },
|
package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,qCAAqC,CAAC;AAE7C,MAAM,eAAe,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,qCAAqC,CAAC;AAE7C,MAAM,eAAe,GAAG,CAAC,KAAuD,EAAE,EAAE;IACnF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,qBAAqB;QACnC,oBAAC,mBAAmB,OACf,KAAK,EACT,WAAW,QACX,mBAAmB,EAAE;gBACpB,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,yCAAK;gBACrB,aAAa,EAAE,EAAE,WAAW,EAAE,2BAA2B,EAAE;aAC3D,GACA,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
import { ListHeaderToolProps } from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
export type MemberListProps = {
|
|
5
|
-
membersRegisterId
|
|
6
|
-
corporateId
|
|
5
|
+
membersRegisterId: string;
|
|
6
|
+
corporateId: string;
|
|
7
7
|
/** 选中的 Corporate Unit list */
|
|
8
8
|
/** 是否需要filter Status active */
|
|
9
9
|
active?: boolean;
|
|
@@ -19,6 +19,7 @@ export type MemberListProps = {
|
|
|
19
19
|
listHeaderToolProps?: ListHeaderToolProps;
|
|
20
20
|
onRedirect?: () => void;
|
|
21
21
|
onSelectCorporateUnit?: (params?: any) => void;
|
|
22
|
+
onDelete?: (corporateId: string, membersRegisterId: string) => void;
|
|
22
23
|
};
|
|
23
24
|
declare const MemberTableListCard: (props: MemberListProps) => React.JSX.Element;
|
|
24
25
|
export default MemberTableListCard;
|
package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import React, { useState, useRef, useEffect } from "react";
|
|
|
2
2
|
import TableCellSimple, { columnsSimpleList } from "./TableCellSimple";
|
|
3
3
|
import TableCellDetail, { columnsListDetail } from "./TableCellDetail";
|
|
4
4
|
import TableCell, { columnsList } from "./TableCell";
|
|
5
|
-
import { Badge, Button } from "antd";
|
|
5
|
+
import { Badge, Button, Dropdown, Modal } from "antd";
|
|
6
6
|
import { State } from "./state";
|
|
7
|
-
import { faPrint } from "@fortawesome/pro-solid-svg-icons";
|
|
7
|
+
import { faPrint, faEllipsisVertical, faTrash } from "@fortawesome/pro-solid-svg-icons";
|
|
8
8
|
import { useCorporate } from "../../../../../../data/corporate";
|
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
10
|
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
@@ -33,7 +33,7 @@ const MemberTableListCard = (props) => {
|
|
|
33
33
|
const ref = useRef(null);
|
|
34
34
|
const asideContext = useAsideContentContext();
|
|
35
35
|
const memberStore = useMemberStore();
|
|
36
|
-
const corporate = useCorporate(corporateId
|
|
36
|
+
const corporate = useCorporate(corporateId, { includes: "permissions" });
|
|
37
37
|
const state = useDeepMemo(() => new State(), [membersRegisterId]);
|
|
38
38
|
/** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
|
|
39
39
|
const list = useCreateListDataState({
|
|
@@ -58,6 +58,27 @@ const MemberTableListCard = (props) => {
|
|
|
58
58
|
Total: true,
|
|
59
59
|
...list.filters.options,
|
|
60
60
|
});
|
|
61
|
+
const items = [
|
|
62
|
+
{
|
|
63
|
+
key: "print",
|
|
64
|
+
label: (React.createElement("a", { target: "_blank", rel: "noopener noreferrer", href: window.location.origin + `/member/print/${corporateId}` }, "Print")),
|
|
65
|
+
icon: React.createElement(FAIcon, { icon: faPrint }),
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
key: "delete-register",
|
|
69
|
+
label: React.createElement("span", null, "Delete"),
|
|
70
|
+
icon: React.createElement(FAIcon, { icon: faTrash }),
|
|
71
|
+
onClick: () => {
|
|
72
|
+
Modal.confirm({
|
|
73
|
+
title: "Confirm Delete",
|
|
74
|
+
content: "Are you sure you want to delete this register?",
|
|
75
|
+
okText: "Delete",
|
|
76
|
+
cancelText: "Cancel",
|
|
77
|
+
onOk: () => { var _a; return (_a = props.onDelete) === null || _a === void 0 ? void 0 : _a.call(props, corporateId, membersRegisterId); },
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
];
|
|
61
82
|
return observe(() => (React.createElement(React.Fragment, null,
|
|
62
83
|
React.createElement(ListDataContext.Provider, { value: list },
|
|
63
84
|
React.createElement(DocumentTableListCard, { isHeader: true, header: React.createElement(ListHeaderTool, { addAble: false, sortable: false, searchHeader: false, className: classnames("member-table-list-header", { card: props.type === "card" }), filterViewProps: {
|
|
@@ -69,12 +90,10 @@ const MemberTableListCard = (props) => {
|
|
|
69
90
|
" ",
|
|
70
91
|
memberTotal ? React.createElement(Badge, { count: memberTotal, overflowCount: 99 }) : null)), rightExtra: () => (React.createElement(React.Fragment, null,
|
|
71
92
|
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "send-form-btn", onClick: () => setVisible(true) }, "Send Form")),
|
|
72
|
-
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "import-btn", onClick: () => {
|
|
73
|
-
const url = window.location.origin + `/member/print/${corporateId}`;
|
|
74
|
-
window.open(url, "_blank");
|
|
75
|
-
} },
|
|
76
|
-
React.createElement(FAIcon, { icon: faPrint }))),
|
|
77
93
|
user.can("edit", corporate.p) && (React.createElement(AddDropDown2, { btnType: props.type === "card" ? "icon" : "text", onClick: () => (state.addAble = true) })),
|
|
94
|
+
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Dropdown, { overlayClassName: "member-table-list-dropdown", menu: { items } },
|
|
95
|
+
React.createElement(Button, null,
|
|
96
|
+
React.createElement(FAIcon, { icon: faEllipsisVertical })))),
|
|
78
97
|
props.type === "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "send-form-btn", onClick: () => setVisible(true) }, "Send Form")))), ...props.listHeaderToolProps }) },
|
|
79
98
|
React.createElement("div", { ref: ref, className: "member-table-list-card", style: { height: props.type === "card" ? 298 : "100%" } },
|
|
80
99
|
React.createElement(Scrollbars, { autoHide: true },
|
|
@@ -127,10 +146,7 @@ const MemberTableListCard = (props) => {
|
|
|
127
146
|
visible && (React.createElement(SelectMemberForm, { parentId: membersRegisterId, onCancel: () => setVisible(false) })),
|
|
128
147
|
state.visibleQuickView && (React.createElement(MemberQuickViewDialog, { id: state.quickId, visible: true, onCancel: () => (state.visibleQuickView = false) })))));
|
|
129
148
|
function filters() {
|
|
130
|
-
let filter = [];
|
|
131
|
-
if (membersRegisterId) {
|
|
132
|
-
filter.push({ c: "ParentNodeId", o: "=", l: "And", v1: membersRegisterId });
|
|
133
|
-
}
|
|
149
|
+
let filter = [{ c: "ParentNodeId", o: "=", l: "And", v1: membersRegisterId }];
|
|
134
150
|
if (props.active) {
|
|
135
151
|
filter.push({ c: "Status", o: "=", l: "And", v1: "Active" });
|
|
136
152
|
}
|
package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC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EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,GAAG,KAAK,CAAC,GAC/C,CACF,CACC,CACH,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,IAAI,MAAM,GAAmB,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,CAAC;QAE9F,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;YAClB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,mBAAmB;IACnB,KAAK,UAAU,MAAM,CAAC,IAAkD;QACvE,qDAAqD;QACrD,IAAI,IAAI,EAAE,CAAC;YACV,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC;gBACpC,IAAI,EAAE,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC3D,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import OfficerTableListCard from "../OfficerTableListCard";
|
|
2
3
|
import "../../../../../../style/common.less";
|
|
3
|
-
declare const OfficerTableList: (props:
|
|
4
|
-
corporateId: string;
|
|
5
|
-
officersRegisterId: string;
|
|
6
|
-
}) => React.JSX.Element;
|
|
4
|
+
declare const OfficerTableList: (props: React.ComponentProps<typeof OfficerTableListCard>) => React.JSX.Element;
|
|
7
5
|
export default OfficerTableList;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import OfficerTableListCard from "../OfficerTableListCard";
|
|
4
|
-
import "../../../../../../style/common.less";
|
|
5
4
|
import OfficerStatusList from "../../controls/OfficerStatusLabel/OfficerStatusList";
|
|
5
|
+
import "../../../../../../style/common.less";
|
|
6
6
|
const OfficerTableList = (props) => {
|
|
7
7
|
return observe(() => (React.createElement("div", { className: "registers-page-item registers-officer-table-list" },
|
|
8
|
-
React.createElement(OfficerTableListCard, {
|
|
8
|
+
React.createElement(OfficerTableListCard, { ...props, tableDetail: true, listHeaderToolProps: {
|
|
9
9
|
searchHeader: true,
|
|
10
10
|
preExtra: () => React.createElement(React.Fragment, null),
|
|
11
11
|
searchOptions: { placeholder: "Search in register officer" },
|
package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,iBAAiB,MAAM,qDAAqD,CAAC;AACpF,OAAO,qCAAqC,CAAC;AAE7C,MAAM,gBAAgB,GAAG,CAAC,KAAwD,EAAE,EAAE;IACrF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,kDAAkD;QAChE,oBAAC,oBAAoB,OAChB,KAAK,EACT,WAAW,QACX,mBAAmB,EAAE;gBACpB,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,yCAAK;gBACrB,aAAa,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE;aAC5D,GACA;QACF,oBAAC,iBAAiB,OAAG,CAChB,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import React, { ReactNode } from "react";
|
|
|
2
2
|
import { ListHeaderToolProps } from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
export type OfficerListProps = {
|
|
5
|
-
officersRegisterId
|
|
6
|
-
corporateId
|
|
5
|
+
officersRegisterId: string;
|
|
6
|
+
corporateId: string;
|
|
7
7
|
/** 是否显示 send notice */
|
|
8
8
|
sendForm?: boolean;
|
|
9
9
|
isFilterPresent?: boolean;
|
|
@@ -19,6 +19,7 @@ export type OfficerListProps = {
|
|
|
19
19
|
listHeaderToolProps?: ListHeaderToolProps;
|
|
20
20
|
onRedirect?: () => void;
|
|
21
21
|
onSelectCorporateUnit?: (params?: any) => void;
|
|
22
|
+
onDelete?: (corporateId: string, officerRegisterId: string) => void;
|
|
22
23
|
};
|
|
23
24
|
declare const OfficerTableListCard: {
|
|
24
25
|
(props: OfficerListProps): React.JSX.Element;
|
package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect } from "react";
|
|
|
2
2
|
import TableCellDetail, { columnsListDetail } from "./TableCellDetail";
|
|
3
3
|
import TableCellSimple, { columnsSimpleList } from "./TableCellSimple";
|
|
4
4
|
import TableCell, { columnsList } from "./TableCell";
|
|
5
|
-
import { Badge, Button, Menu } from "antd";
|
|
5
|
+
import { Badge, Button, Menu, Dropdown, Modal } from "antd";
|
|
6
6
|
import { State } from "./state";
|
|
7
7
|
import { useCorporate } from "../../../../../../data/corporate";
|
|
8
8
|
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
@@ -10,7 +10,7 @@ import { useOfficerListEffect, useOfficerStore } from "../../../../../../data/of
|
|
|
10
10
|
import { useDeepMemo, useApplicationContext } from "@voplus/morpho-data";
|
|
11
11
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
12
12
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
13
|
-
import { faPrint } from "@fortawesome/pro-solid-svg-icons";
|
|
13
|
+
import { faPrint, faEllipsisVertical, faTrash } from "@fortawesome/pro-solid-svg-icons";
|
|
14
14
|
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
15
15
|
import { observe, useRenderOnChange, useAsideContentContext } from "@voplus/morpho-ui";
|
|
16
16
|
import DocumentTableListCard from "@voplus/morpho-ui/es/components/DocumentTableListCard";
|
|
@@ -33,7 +33,7 @@ const OfficerTableListCard = (props) => {
|
|
|
33
33
|
const ref = useRef(null);
|
|
34
34
|
const officerStore = useOfficerStore();
|
|
35
35
|
const asideContext = useAsideContentContext();
|
|
36
|
-
const corporate = useCorporate(corporateId
|
|
36
|
+
const corporate = useCorporate(corporateId, { includes: "permissions" });
|
|
37
37
|
const state = useDeepMemo(() => new State(), [officersRegisterId]);
|
|
38
38
|
/** 建立 ListView 和useDocumentListEffect所需的ListDataState. 会根据state.id重建所以不需reset. */
|
|
39
39
|
const list = useCreateListDataState({
|
|
@@ -58,6 +58,27 @@ const OfficerTableListCard = (props) => {
|
|
|
58
58
|
Total: true,
|
|
59
59
|
...list.filters.options,
|
|
60
60
|
});
|
|
61
|
+
const items = [
|
|
62
|
+
{
|
|
63
|
+
key: "print",
|
|
64
|
+
label: (React.createElement("a", { target: "_blank", rel: "noopener noreferrer", href: window.location.origin + `/member/print/${corporateId}` }, "Print")),
|
|
65
|
+
icon: React.createElement(FAIcon, { icon: faPrint }),
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
key: "delete-register",
|
|
69
|
+
label: React.createElement("span", null, "Delete"),
|
|
70
|
+
icon: React.createElement(FAIcon, { icon: faTrash }),
|
|
71
|
+
onClick: () => {
|
|
72
|
+
Modal.confirm({
|
|
73
|
+
title: "Confirm Delete",
|
|
74
|
+
content: "Are you sure you want to delete this register?",
|
|
75
|
+
okText: "Delete",
|
|
76
|
+
cancelText: "Cancel",
|
|
77
|
+
onOk: () => { var _a; return (_a = props.onDelete) === null || _a === void 0 ? void 0 : _a.call(props, corporateId, officersRegisterId); },
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
];
|
|
61
82
|
return observe(() => (React.createElement(React.Fragment, null,
|
|
62
83
|
React.createElement(ListDataContext.Provider, { value: list },
|
|
63
84
|
React.createElement(DocumentTableListCard, { isHeader: true, header: React.createElement(ListHeaderTool, { addAble: false, sortable: false, searchHeader: false, className: classnames("officer-table-list-header", { card: props.type === "card" }), filterViewProps: {
|
|
@@ -69,11 +90,6 @@ const OfficerTableListCard = (props) => {
|
|
|
69
90
|
" ",
|
|
70
91
|
officerTotal ? React.createElement(Badge, { count: officerTotal, overflowCount: 99 }) : null)), rightExtra: () => (React.createElement(React.Fragment, null,
|
|
71
92
|
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "send-form-btn", onClick: () => setVisible(true) }, "Send Form")),
|
|
72
|
-
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "import-btn", onClick: () => {
|
|
73
|
-
const url = window.location.origin + `/officer/print/${corporateId}`;
|
|
74
|
-
window.open(url, "_blank");
|
|
75
|
-
} },
|
|
76
|
-
React.createElement(FAIcon, { icon: faPrint }))),
|
|
77
93
|
user.can("edit", corporate.p) && (React.createElement(AddDropDown2, { trigger: ["click"], btnType: props.type === "card" ? "icon" : "text", overlay: React.createElement(Menu, { onClick: state.onSelect, items: [
|
|
78
94
|
{ key: "Director", label: "Director" },
|
|
79
95
|
{ key: "Managing Director", label: "Managing Director" },
|
|
@@ -86,6 +102,9 @@ const OfficerTableListCard = (props) => {
|
|
|
86
102
|
{ key: "Auditor", label: "Auditor" },
|
|
87
103
|
{ key: "Manager", label: "Manager" },
|
|
88
104
|
] }) })),
|
|
105
|
+
props.type !== "card" && user.can("edit", corporate.p) && (React.createElement(Dropdown, { overlayClassName: "officer-table-list-dropdown", menu: { items } },
|
|
106
|
+
React.createElement(Button, null,
|
|
107
|
+
React.createElement(FAIcon, { icon: faEllipsisVertical })))),
|
|
89
108
|
props.type === "card" && user.can("edit", corporate.p) && (React.createElement(Button, { className: "send-form-btn", onClick: () => setVisible(true) }, "Send Form")))), ...props.listHeaderToolProps }) },
|
|
90
109
|
React.createElement("div", { ref: ref, className: "officer-table-list-card", style: { height: props.type === "card" ? 298 : "100%" } },
|
|
91
110
|
React.createElement(Scrollbars, { autoHide: true },
|
|
@@ -138,10 +157,9 @@ const OfficerTableListCard = (props) => {
|
|
|
138
157
|
visible && (React.createElement(SelectOfficerForm, { parentId: officersRegisterId, onCancel: () => setVisible(false) })),
|
|
139
158
|
state.visibleQuickView && (React.createElement(OfficerQuickViewDialog, { id: state.quickId, visible: true, onCancel: () => (state.visibleQuickView = false) })))));
|
|
140
159
|
function filters() {
|
|
141
|
-
const filter = [
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
160
|
+
const filter = [
|
|
161
|
+
{ c: "ParentNodeId", o: "=", l: "And", v1: officersRegisterId },
|
|
162
|
+
];
|
|
145
163
|
if (isFilterPresent) {
|
|
146
164
|
filter.push({ c: "Present", o: "=", l: "And", v1: "Yes" });
|
|
147
165
|
}
|
package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,eAAe,EAAE,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,cAEN,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAAY,oBAAoB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAgB,WAAW,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;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AO,GAAG,KAAK,CAAC;IACvB,CAAC;AACF,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG,EAAE,CAAC;AAEvC,eAAe,oBAAoB,CAAC"}
|
|
@@ -2,10 +2,11 @@ import React from "react";
|
|
|
2
2
|
import "./index.less";
|
|
3
3
|
export type ShareTransactionListProps = {
|
|
4
4
|
shareTransactionId: string;
|
|
5
|
-
corporateId
|
|
5
|
+
corporateId: string;
|
|
6
6
|
memberId?: string;
|
|
7
|
-
onRedirect?: () => void;
|
|
8
7
|
pageHeader?: boolean;
|
|
8
|
+
onRedirect?: () => void;
|
|
9
|
+
onDelete?: (corporateId: string, shareTransactionId: string) => void;
|
|
9
10
|
};
|
|
10
11
|
declare const ShareTransactionTableList: (props: ShareTransactionListProps) => React.JSX.Element;
|
|
11
12
|
export default ShareTransactionTableList;
|