@voplus/morpho-csp 1.2.112 → 1.2.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Modules.js +1 -1
- package/es/Modules.js.map +1 -1
- package/es/components/RegisteresMenuItem/index.js +6 -2
- package/es/components/RegisteresMenuItem/index.js.map +1 -1
- package/es/data/clda-form/CLDAFormContent.d.ts +10 -0
- package/es/data/clda-form/CLDAFormContent.js +12 -0
- package/es/data/clda-form/CLDAFormContent.js.map +1 -0
- package/es/data/clda-form/hooks.d.ts +9 -0
- package/es/data/{incorporation-form → clda-form}/hooks.js +8 -8
- package/es/data/clda-form/hooks.js.map +1 -0
- package/es/data/{incorporation-form → clda-form}/index.d.ts +1 -0
- package/es/data/{incorporation-form → clda-form}/index.js +1 -0
- package/es/data/clda-form/index.js.map +1 -0
- package/es/data/{incorporation-form → clda-form}/interfaces.d.ts +3 -1
- package/es/data/clda-form/interfaces.js.map +1 -0
- package/es/data/{incorporation-form → clda-form}/metas.js +4 -4
- package/es/data/clda-form/metas.js.map +1 -0
- package/es/data/{incorporation-form → clda-form}/store.d.ts +4 -4
- package/es/data/{incorporation-form → clda-form}/store.js +6 -6
- package/es/data/clda-form/store.js.map +1 -0
- package/es/data/{incorporation-form → clda-form}/types.d.ts +7 -7
- package/es/data/clda-form/types.js.map +1 -0
- package/es/data/controller/ControllerStore.d.ts +27 -0
- package/es/data/controller/ControllerStore.js +93 -0
- package/es/data/controller/ControllerStore.js.map +1 -0
- package/es/data/controller/hooks.js +19 -0
- package/es/data/controller/hooks.js.map +1 -0
- package/es/data/controller/index.js.map +1 -0
- package/es/data/controller/interfaces.d.ts +25 -0
- package/es/data/controller/interfaces.js.map +1 -0
- package/es/data/controller/types.d.ts +42 -0
- package/es/data/controller/types.js.map +1 -0
- package/es/modules/corporate/clda/components/CLDADetails/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.js +3 -3
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/state.d.ts +5 -0
- package/es/modules/corporate/clda/components/CLDAListView/state.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/index.d.ts +6 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js +43 -26
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/state.d.ts +13 -0
- package/es/modules/corporate/clda/components/NewCLDAForm/state.js +80 -0
- package/es/modules/corporate/clda/components/NewCLDAForm/state.js.map +1 -0
- package/es/modules/corporate/company/{officer/components → components}/CorporateOfficerSelect/index.js +1 -1
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js +60 -0
- package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.d.ts +14 -0
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js +44 -0
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.d.ts +7 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +75 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +15 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/state.d.ts +9 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/state.js +49 -0
- package/es/modules/corporate/company/controller-register/components/ControllerList/state.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +58 -0
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.d.ts +3 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js +21 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +5 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.d.ts +11 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +35 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.d.ts +10 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.js +14 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +25 -0
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js +21 -0
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +6 -0
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.d.ts +2 -1
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js +11 -3
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +7 -6
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js +4 -2
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyDefaultView/state.d.ts +1 -0
- package/es/modules/corporate/company/pages/CompanyDefaultView/state.js +8 -0
- package/es/modules/corporate/company/pages/CompanyDefaultView/state.js.map +1 -1
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareMovementsDataIcon/index.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItem/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/index.d.ts +1 -1
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionList/index.js +4 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionList/state.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.js.map +1 -0
- package/es/{components → modules/corporate/company/share-transactions-register/components}/ShareTransactionPropertiesView/Content.js +4 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareholderSelector/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/state.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/state.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionDefaultView/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionDefaultView/index.less +1 -1
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +1 -0
- package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +5 -2
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.js +1 -1
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.js +1 -1
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.js +1 -1
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.js +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/CompanyInfoForm/index.js +3 -3
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/Download/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/IncorporationFormRoutes.js.map +1 -0
- package/es/modules/self-registration/clda-form/Upload/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormQuickViewDialog → clda-form/components/CLDAFormConfirmationDialog}/index.d.ts +2 -2
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormConfirmationDialog → clda-form/components/CLDAFormConfirmationDialog}/index.js +4 -4
- package/es/modules/self-registration/clda-form/components/CLDAFormConfirmationDialog/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.d.ts +6 -0
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormProperties → clda-form/components/CLDAFormProperties}/index.js +7 -7
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.d.ts +7 -0
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormQuickViewDialog → clda-form/components/CLDAFormQuickViewDialog}/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/CompanyInfo/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/InternalUse/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/InternalUse/state.d.ts +9 -0
- package/es/modules/self-registration/clda-form/components/InternalUse/state.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/ManagingDirectorList/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.d.ts +9 -0
- package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/MemberInfo/index.d.ts +2 -2
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/MemberInfo/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewDirectorDialog/index.js +3 -3
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewSecretaryDialog/index.js +3 -3
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewShareholderDialog/index.js +3 -3
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/OfficerList/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/OfficerList/state.d.ts +9 -0
- package/es/modules/self-registration/clda-form/components/OfficerList/state.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/SecretaryList/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.d.ts +9 -0
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareCapital/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareholderList/index.js +5 -5
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/components/ShareholderList/state.d.ts +9 -0
- package/es/modules/self-registration/clda-form/components/ShareholderList/state.js.map +1 -0
- package/es/modules/self-registration/{incorporation-form/controls/IncorpoationFormMenu → clda-form/controls/CLDAFormMenu}/index.d.ts +2 -2
- package/es/modules/self-registration/{incorporation-form/controls/IncorpoationFormMenu → clda-form/controls/CLDAFormMenu}/index.js +2 -2
- package/es/modules/self-registration/clda-form/controls/CLDAFormMenu/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.d.ts +4 -0
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormReview → clda-form/incorporation/sgp}/index.js +19 -17
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/sgp/state.d.ts +7 -0
- package/es/modules/self-registration/{incorporation-form/components/IncorporationFormReview → clda-form/incorporation/sgp}/state.js +2 -2
- package/es/modules/self-registration/clda-form/incorporation/sgp/state.js.map +1 -0
- package/es/modules/self-registration/clda-form/pages/CLDAFormClientView/index.d.ts +3 -0
- package/es/modules/self-registration/{incorporation-form/pages/IncoprorationFormClientView → clda-form/pages/CLDAFormClientView}/index.js +9 -8
- package/es/modules/self-registration/clda-form/pages/CLDAFormClientView/index.js.map +1 -0
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.d.ts +3 -0
- package/es/modules/self-registration/{incorporation-form/pages/IncorporationFormDefaultView → clda-form/pages/CLDAFormDefaultView}/index.js +9 -10
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +7 -0
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +6 -4
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.d.ts +8 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js +17 -3
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/state.js.map +1 -1
- package/es/modules/self-registration/shopping-cart/CartState.js +1 -1
- package/es/modules/self-registration/shopping-cart/CartState.js.map +1 -1
- package/es/{modules/corporate/company/officer-register/page → obsolete}/OfficerRegisterDefaultView/index.js +1 -1
- package/es/obsolete/OfficerRegisterDefaultView/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.d.ts +8 -0
- package/es/{modules/corporate → obsolete}/controller-register/components/ControllerInformation/ControllerPropertiesView/index.js +1 -1
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerInformation/index.d.ts +11 -0
- package/es/{modules/corporate → obsolete}/controller-register/components/ControllerInformation/index.js +1 -1
- package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerItem/index.js.map +1 -0
- package/es/{modules/corporate → obsolete}/controller-register/components/ControllerList/index.js +4 -4
- package/es/obsolete/controller-register/components/ControllerList/index.js.map +1 -0
- package/es/obsolete/controller-register/components/ControllerList/state.js.map +1 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.d.ts +4 -0
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.js.map +1 -0
- package/es/obsolete/controllerRegister/ControllerStore.js.map +1 -0
- package/es/obsolete/controllerRegister/hooks.d.ts +10 -0
- package/es/obsolete/controllerRegister/hooks.js.map +1 -0
- package/es/obsolete/controllerRegister/index.d.ts +4 -0
- package/es/obsolete/controllerRegister/index.js +5 -0
- package/es/obsolete/controllerRegister/index.js.map +1 -0
- package/es/obsolete/controllerRegister/interfaces.js +2 -0
- package/es/obsolete/controllerRegister/interfaces.js.map +1 -0
- package/es/obsolete/controllerRegister/types.js +2 -0
- package/es/obsolete/controllerRegister/types.js.map +1 -0
- package/es/routes.d.ts +2 -2
- package/es/routes.js +23 -23
- package/es/routes.js.map +1 -1
- package/package.json +1 -1
- package/es/components/ShareTransactionPropertiesView/Content.js.map +0 -1
- package/es/components/ShareTransactionPropertiesView/index.js.map +0 -1
- package/es/data/controllerRegister/ControllerStore.js.map +0 -1
- package/es/data/controllerRegister/hooks.js.map +0 -1
- package/es/data/controllerRegister/index.js.map +0 -1
- package/es/data/controllerRegister/interfaces.js.map +0 -1
- package/es/data/controllerRegister/types.js.map +0 -1
- package/es/data/incorporation-form/hooks.d.ts +0 -9
- package/es/data/incorporation-form/hooks.js.map +0 -1
- package/es/data/incorporation-form/index.js.map +0 -1
- package/es/data/incorporation-form/interfaces.js.map +0 -1
- package/es/data/incorporation-form/metas.js.map +0 -1
- package/es/data/incorporation-form/store.js.map +0 -1
- package/es/data/incorporation-form/types.js.map +0 -1
- package/es/modules/corporate/company/officer/components/CorporateOfficerSelect/index.js.map +0 -1
- package/es/modules/corporate/company/officer/components/OfficerInformation/index.js.map +0 -1
- package/es/modules/corporate/company/officer/components/OfficerPropertiesView/index.js.map +0 -1
- package/es/modules/corporate/company/officer/components/PositionSelect/index.js.map +0 -1
- package/es/modules/corporate/company/officer/page/OfficerDefaultView/index.js.map +0 -1
- package/es/modules/corporate/company/officer-register/page/OfficerRegisterDefaultView/index.js.map +0 -1
- package/es/modules/corporate/controller-register/components/ControllerInformation/ControllerPropertiesView/index.js.map +0 -1
- package/es/modules/corporate/controller-register/components/ControllerInformation/index.js.map +0 -1
- package/es/modules/corporate/controller-register/components/ControllerItem/index.js.map +0 -1
- package/es/modules/corporate/controller-register/components/ControllerList/index.js.map +0 -1
- package/es/modules/corporate/controller-register/components/ControllerList/state.js.map +0 -1
- package/es/modules/corporate/controller-register/pages/ControllerDefaultView/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareMovementsDataIcon/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionItem/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionItems/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionList/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareTransactionList/state.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareholderSelector/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/components/ShareholderSelector/state.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/controls/TransactionTypeFilter/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/controls/TransactionTypeFilter/state.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +0 -1
- package/es/modules/legal-entity/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/Download/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/IncorporaitonCart/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/Upload/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/CompanyInfo/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.d.ts +0 -7
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormProperties/index.d.ts +0 -6
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormProperties/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormQuickViewDialog/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.d.ts +0 -8
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/state.d.ts +0 -7
- package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/InternalUse/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/InternalUse/state.d.ts +0 -9
- package/es/modules/self-registration/incorporation-form/components/InternalUse/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/ManagingDirectorList/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/ManagingDirectorList/state.d.ts +0 -9
- package/es/modules/self-registration/incorporation-form/components/ManagingDirectorList/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/NewDirectorDialog/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/NewSecretaryDialog/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/NewShareholderDialog/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/OfficerList/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/OfficerList/state.d.ts +0 -9
- package/es/modules/self-registration/incorporation-form/components/OfficerList/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/SecretaryList/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/SecretaryList/state.d.ts +0 -9
- package/es/modules/self-registration/incorporation-form/components/SecretaryList/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/ShareCapital/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/ShareholderList/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/components/ShareholderList/state.d.ts +0 -9
- package/es/modules/self-registration/incorporation-form/components/ShareholderList/state.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.d.ts +0 -3
- package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js.map +0 -1
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFormDefaultView/index.d.ts +0 -3
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFormDefaultView/index.js.map +0 -1
- /package/es/data/{controllerRegister → clda-form}/interfaces.js +0 -0
- /package/es/data/{incorporation-form → clda-form}/metas.d.ts +0 -0
- /package/es/data/{controllerRegister → clda-form}/types.js +0 -0
- /package/es/data/{controllerRegister → controller}/hooks.d.ts +0 -0
- /package/es/data/{controllerRegister → controller}/index.d.ts +0 -0
- /package/es/data/{controllerRegister → controller}/index.js +0 -0
- /package/es/data/{incorporation-form → controller}/interfaces.js +0 -0
- /package/es/data/{incorporation-form → controller}/types.js +0 -0
- /package/es/modules/corporate/company/{officer/components → components}/CorporateOfficerSelect/index.d.ts +0 -0
- /package/es/modules/corporate/{controller-register → company/controller-register}/components/ControllerInformation/index.d.ts +0 -0
- /package/es/modules/corporate/{controller-register/components/ControllerInformation → company/controller-register/components}/ControllerPropertiesView/index.d.ts +0 -0
- /package/es/modules/corporate/{controller-register/pages → company/controller-register/page}/ControllerDefaultView/index.d.ts +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/OfficerInformation/index.d.ts +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/OfficerInformation/index.js +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/OfficerPropertiesView/index.d.ts +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/OfficerPropertiesView/index.js +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/OfficerPropertiesView/index.less +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/PositionSelect/index.d.ts +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/components/PositionSelect/index.js +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/page/OfficerDefaultView/index.d.ts +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/page/OfficerDefaultView/index.js +0 -0
- /package/es/modules/corporate/company/{officer → officer-register}/page/OfficerDefaultView/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareMovementsDataIcon/index.js +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareMovementsDataIcon/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItem/index.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItem/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/TableDataContext.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/TableDataContext.js +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionItems/TableDragCell.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionList/index.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionList/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareTransactionList/state.js +0 -0
- /package/es/{components → modules/corporate/company/share-transactions-register/components}/ShareTransactionPropertiesView/Content.d.ts +0 -0
- /package/es/{components → modules/corporate/company/share-transactions-register/components}/ShareTransactionPropertiesView/index.d.ts +0 -0
- /package/es/{components → modules/corporate/company/share-transactions-register/components}/ShareTransactionPropertiesView/index.js +0 -0
- /package/es/{components → modules/corporate/company/share-transactions-register/components}/ShareTransactionPropertiesView/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareholderSelector/index.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareholderSelector/state.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/components/ShareholderSelector/state.js +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/controls/TransactionTypeFilter/index.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/controls/TransactionTypeFilter/index.js +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/controls/TransactionTypeFilter/index.less +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/controls/TransactionTypeFilter/state.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/controls/TransactionTypeFilter/state.js +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionDefaultView/index.d.ts +0 -0
- /package/es/modules/{legal-entity → corporate/company}/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/ApplicationProcessing/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/ApplicationProcessing/index.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/ApplicationProcessing/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/CompanyInfoForm/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/CompanyInfoForm/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Download/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Download/index.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Download/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/IncorporaitonCart/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/IncorporaitonCart/index.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/IncorporaitonCart/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/IncorporationFormRoutes.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/IncorporationFormRoutes.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Upload/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Upload/index.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/Upload/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form/components/IncorporationFormQuickViewDialog → clda-form/components/CLDAFormQuickViewDialog}/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/CompanyInfo/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/CompanyInfo/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/InternalUse/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/InternalUse/state.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ManagingDirectorList/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ManagingDirectorList/state.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/MemberInfo/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewDirectorDialog/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewSecretaryDialog/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewShareholderDialog/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/NewShareholderDialog/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/OfficerList/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/OfficerList/state.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/SecretaryList/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/SecretaryList/state.js +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareCapital/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareCapital/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareholderList/index.d.ts +0 -0
- /package/es/modules/self-registration/{incorporation-form → clda-form}/components/ShareholderList/state.js +0 -0
- /package/es/modules/self-registration/{incorporation-form/components/IncorporationFormReview → clda-form/incorporation/sgp}/index.less +0 -0
- /package/es/modules/self-registration/{incorporation-form/pages/IncorporationFormDefaultView → clda-form/pages/CLDAFormDefaultView}/index.less +0 -0
- /package/es/{modules/corporate/company/officer-register/page → obsolete}/OfficerRegisterDefaultView/index.d.ts +0 -0
- /package/es/{modules/corporate/company/officer-register/page → obsolete}/OfficerRegisterDefaultView/index.less +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerItem/index.d.ts +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerItem/index.js +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerItem/index.less +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerList/index.d.ts +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerList/index.less +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerList/state.d.ts +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/components/ControllerList/state.js +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/pages/ControllerDefaultView/index.js +0 -0
- /package/es/{modules/corporate → obsolete}/controller-register/pages/ControllerDefaultView/index.less +0 -0
- /package/es/{data → obsolete}/controllerRegister/ControllerStore.d.ts +0 -0
- /package/es/{data → obsolete}/controllerRegister/ControllerStore.js +0 -0
- /package/es/{data → obsolete}/controllerRegister/hooks.js +0 -0
- /package/es/{data → obsolete}/controllerRegister/interfaces.d.ts +0 -0
- /package/es/{data → obsolete}/controllerRegister/types.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAS,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAa,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAiB,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,sEAAsE,CAAC;AAChG,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAAE,EAAE;IACzC,MAAM,EACL,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,SAAS,EACT,eAAe,EACf,KAAK,EACL,UAAU,EACV,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,E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;IAED,SAAS,WAAW;QACnB,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;QAC7B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,8BAA8B;QAC9B,4DAA4D;QAC5D,qBAAqB;QACrB,MAAM;QACN,yBAAyB;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,WAAW;IAC5B,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,yCAAyC;CAChD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -20,6 +20,11 @@ export declare type CLDAListProps = {
|
|
|
20
20
|
filterable?: boolean;
|
|
21
21
|
/** list title */
|
|
22
22
|
title?: string;
|
|
23
|
+
/** 预选 contact */
|
|
24
|
+
primaryContact?: {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
23
28
|
/** 是否允在 listView 内部打开 aside */
|
|
24
29
|
asideable?: boolean;
|
|
25
30
|
/** New Form 打开的方式 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAoCxE,MAAM,OAAO,KAAK;IAoBjB;QAnBA,OAAO;QACK;;;;;WAAmB;QAC/B,oBAAoB;QACR;;;;;WAAuB;QACnC,sCAAsC;QAC1B;;;;;WAAgC;QAC5C,kCAAkC;QACtB;;;;;WAA4B;Q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C;IAChB,CAAC;CACD;AAnFY;IAAX,UAAU;iCAAoB;AAEnB;IAAX,UAAU;qCAAwB;AAEvB;IAAX,UAAU;8CAAiC;AAEhC;IAAX,UAAU;0CAA6B;AAE5B;IAAX,UAAU;mCAAkB;AAEjB;IAAX,UAAU;sCAA4B;AAE3B;IAAX,UAAU;yCAAyC;AAExC;IAAX,UAAU;sCAA0B;AACzB;IAAX,UAAU;uCAAmC;AAClC;IAAX,UAAU;oCAAsB;AAOjC;IADC,MAAM;mCAaN;AAID;IADC,QAAQ;sCAOR;AAOD;IADC,QAAQ;oCA+BR"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCLDA, useCLDAStore } from "../../../../../data/CLDA";
|
|
2
2
|
import CLDAStatusButton from "../../controls/CLDAStatusButton";
|
|
3
|
-
import PropertiesSection from "@voplus/morpho-
|
|
3
|
+
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
4
4
|
import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
|
|
5
5
|
import { Form } from "@voplus/antd";
|
|
6
6
|
import MetionList from "@voplus/morpho-org/es/controls/MetionList";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,kBA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
secretaryCenterId
|
|
7
|
+
secretaryCenterId?: string | undefined;
|
|
8
8
|
/** 是否在 righ aside 顯示 */
|
|
9
9
|
showView?: boolean | undefined;
|
|
10
|
+
/** 用于预选的 contact */
|
|
11
|
+
contact?: {
|
|
12
|
+
name: string;
|
|
13
|
+
id: string;
|
|
14
|
+
} | undefined;
|
|
10
15
|
/** NewCLDAForm 打开的方式 */
|
|
11
16
|
openMode?: "openAside" | "openBottom" | undefined;
|
|
12
17
|
onCancel?: (() => void) | undefined;
|
|
@@ -5,33 +5,50 @@ import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
|
|
|
5
5
|
import NewIncorporationCLDAForm from "../../../../self-registration/incorporation-clda/components/NewIncorporationCLDAForm";
|
|
6
6
|
import { observe } from "@voplus/morpho-ui";
|
|
7
7
|
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
8
|
+
import { useCenterListEffect } from "@voplus/morpho-center-core/es/data";
|
|
9
|
+
import { runInAction } from "mobx";
|
|
10
|
+
import { State } from "./state";
|
|
8
11
|
const NewCLDAForm = (props) => {
|
|
9
12
|
const { Option } = Select;
|
|
10
|
-
const { parentId, secretaryCenterId, openMode } = props;
|
|
13
|
+
const { parentId, secretaryCenterId, openMode, contact } = props;
|
|
11
14
|
const asideContext = useAsideContentContext();
|
|
12
|
-
const [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
const [state] = useState(new State());
|
|
16
|
+
useCLDAMetaListEffect(null, (result) => runInAction(() => (state.list = result)), {});
|
|
17
|
+
useCenterListEffect(null, (result, total) => {
|
|
18
|
+
runInAction(() => {
|
|
19
|
+
state.center = result;
|
|
20
|
+
state.centerTotal = total || 0;
|
|
21
|
+
if (secretaryCenterId) {
|
|
22
|
+
state.secretaryCenterId = secretaryCenterId;
|
|
23
|
+
}
|
|
24
|
+
else if (total === 1) {
|
|
25
|
+
state.secretaryCenterId = result[0].id;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}, {
|
|
29
|
+
Total: true,
|
|
30
|
+
Filters: [{ c: "NodeType", o: "=", l: "And", v1: "SecretaryCenter" }],
|
|
31
|
+
});
|
|
32
|
+
return observe(() => {
|
|
33
|
+
var _a, _b;
|
|
34
|
+
return openMode === "openAside" ? (React.createElement("div", { style: { height: "100%" } },
|
|
35
|
+
state.formVisible && (React.createElement(AddFormView, { title: "Add CLDA Form", okText: "Next", onCancel: onCancel, onSubmit: onNext },
|
|
36
|
+
React.createElement(Form, null,
|
|
37
|
+
React.createElement(Form.Item, { label: "Meta" },
|
|
38
|
+
React.createElement(Select, { placeholder: "please select CLDA Meta!", onChange: handleChange }, (_a = state.list) === null || _a === void 0 ? void 0 : _a.map((item) => (React.createElement(Option, { key: item.id, value: item.key }, item.name)))))))),
|
|
39
|
+
state.INCFormVisible && (React.createElement(NewIncorporationCLDAForm, { parentId: parentId, metaId: state.metaId, contact: contact, centerTotal: state.centerTotal, secretaryCenterId: state.secretaryCenterId, onCancel: onCancel, onSave: onCancel })))) : (React.createElement("div", { style: { padding: "10px 20px 0 20px", background: "#fff" } },
|
|
40
|
+
state.formVisible && (React.createElement(Form, null,
|
|
21
41
|
React.createElement(Form.Item, { label: "Meta" },
|
|
22
|
-
React.createElement(Select, { placeholder: "please select CLDA Meta!", onChange: handleChange }, list === null ||
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
React.createElement(
|
|
28
|
-
|
|
29
|
-
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
30
|
-
React.createElement(Button, { type: "primary", onClick: onNext }, "Next"))))),
|
|
31
|
-
INCFormVisible && (React.createElement(NewIncorporationCLDAForm, { openMode: "openBottom", parentId: parentId, metaId: metaId, secretaryCenterId: secretaryCenterId, onCancel: onCancel, onSave: onCancel })))));
|
|
42
|
+
React.createElement(Select, { placeholder: "please select CLDA Meta!", onChange: handleChange }, (_b = state.list) === null || _b === void 0 ? void 0 : _b.map((item) => (React.createElement(Option, { key: item.id, value: item.key }, item.name))))),
|
|
43
|
+
React.createElement(Row, { justify: "end" },
|
|
44
|
+
React.createElement(Space, null,
|
|
45
|
+
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
46
|
+
React.createElement(Button, { type: "primary", onClick: onNext }, "Next"))))),
|
|
47
|
+
state.INCFormVisible && (React.createElement(NewIncorporationCLDAForm, { openMode: "openBottom", parentId: parentId, metaId: state.metaId, contact: contact, centerTotal: state.centerTotal, secretaryCenterId: state.secretaryCenterId, onCancel: onCancel, onSave: onCancel }))));
|
|
48
|
+
});
|
|
32
49
|
function handleChange(value, option) {
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
state.metaKey = value;
|
|
51
|
+
state.metaId = option.key;
|
|
35
52
|
}
|
|
36
53
|
function onCancel() {
|
|
37
54
|
if (props.showView)
|
|
@@ -40,11 +57,11 @@ const NewCLDAForm = (props) => {
|
|
|
40
57
|
props.onCancel();
|
|
41
58
|
}
|
|
42
59
|
function onNext() {
|
|
43
|
-
if (!metaKey)
|
|
60
|
+
if (!state.metaKey)
|
|
44
61
|
return message.warn("clda meta can not be empty!");
|
|
45
|
-
if (metaKey === "INC")
|
|
46
|
-
|
|
47
|
-
|
|
62
|
+
if (state.metaKey === "INC")
|
|
63
|
+
state.INCFormVisible = true;
|
|
64
|
+
state.formVisible = false;
|
|
48
65
|
return;
|
|
49
66
|
}
|
|
50
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/NewCLDAForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../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;KAAA,CACD,CAAC;IAEF,SAAS,YAAY,CAAC,KAAU,EAAE,MAAW;QAC5C,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC;IAC3B,CAAC;IAED,SAAS,QAAQ;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IAED,SAAS,MAAM;QACd,IAAI,CAAC,KAAK,CAAC,OAAO;YAAE,OAAO,OAAO,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;QACvE,IAAI,KAAK,CAAC,OAAO,KAAK,KAAK;YAAE,KAAK,CAAC,cAAc,GAAG,IAAI,CAAC;QACzD,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC;QAC1B,OAAO;IACR,CAAC;AACF,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IAC1B,QAAQ,EAAE,WAAW;CACrB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ICenter } from "@voplus/morpho-center-core/es/data";
|
|
2
|
+
import { ICLDAMeta } from "../../../../../data/clda-meta";
|
|
3
|
+
export declare class State {
|
|
4
|
+
center: ICenter[];
|
|
5
|
+
centerTotal: number;
|
|
6
|
+
secretaryCenterId: string;
|
|
7
|
+
list: ICLDAMeta[];
|
|
8
|
+
metaId: string;
|
|
9
|
+
metaKey: string;
|
|
10
|
+
formVisible: boolean;
|
|
11
|
+
INCFormVisible: boolean;
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
Object.defineProperty(this, "center", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true,
|
|
9
|
+
value: []
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(this, "centerTotal", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
configurable: true,
|
|
14
|
+
writable: true,
|
|
15
|
+
value: 0
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(this, "secretaryCenterId", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true,
|
|
21
|
+
value: ""
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(this, "list", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
writable: true,
|
|
27
|
+
value: []
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(this, "metaId", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true,
|
|
33
|
+
value: ""
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(this, "metaKey", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
configurable: true,
|
|
38
|
+
writable: true,
|
|
39
|
+
value: ""
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(this, "formVisible", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
configurable: true,
|
|
44
|
+
writable: true,
|
|
45
|
+
value: true
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(this, "INCFormVisible", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
configurable: true,
|
|
50
|
+
writable: true,
|
|
51
|
+
value: false
|
|
52
|
+
});
|
|
53
|
+
makeObservable(this);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
__decorate([
|
|
57
|
+
observable
|
|
58
|
+
], State.prototype, "center", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
observable
|
|
61
|
+
], State.prototype, "centerTotal", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
observable
|
|
64
|
+
], State.prototype, "secretaryCenterId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
observable
|
|
67
|
+
], State.prototype, "list", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
observable
|
|
70
|
+
], State.prototype, "metaId", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
observable
|
|
73
|
+
], State.prototype, "metaKey", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
observable
|
|
76
|
+
], State.prototype, "formVisible", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
observable
|
|
79
|
+
], State.prototype, "INCFormVisible", void 0);
|
|
80
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/NewCLDAForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIlD,MAAM,OAAO,KAAK;IAWjB;QAVY;;;;mBAA2B,EAAE;WAAC;QAC9B;;;;mBAAqB,CAAC;WAAC;QACvB;;;;mBAAmC,EAAE;WAAC;QAEtC;;;;mBAAoB,EAAE;WAAC;QACvB;;;;mBAAiB,EAAE;WAAC;QACpB;;;;mBAAkB,EAAE;WAAC;QACrB;;;;mBAAc,IAAI;WAAC;QACnB;;;;mBAAiB,KAAK;WAAC;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AAbY;IAAX,UAAU;qCAA+B;AAC9B;IAAX,UAAU;0CAAwB;AACvB;IAAX,UAAU;gDAAuC;AAEtC;IAAX,UAAU;mCAAwB;AACvB;IAAX,UAAU;qCAAqB;AACpB;IAAX,UAAU;sCAAsB;AACrB;IAAX,UAAU;0CAAoB;AACnB;IAAX,UAAU;6CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CorporateOfficerSelect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,KAAK,CAAC,WAAW,EAAE,CAAC,KAAI,CAAC,EAEjE,aAAa,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,IAEzC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;;QAAC,OAAA,CAC3B,oBAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAE,OAAO,CAAC,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,IAC/C,MAAA,MAAA,OAAO,CAAC,QAAQ,0CAAE,QAAQ,mCAAI,MAAA,OAAO,CAAC,OAAO,0CAAE,IAAI,CACrC,CAChB,CAAA;KAAA,CAAC,CACM,CACT,CAAC,CAAC;IACH,qBAAqB;IACrB,KAAK,UAAU,QAAQ,CAAC,KAAa;QACpC,MAAM,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,KAAK,CAAC,CAAA,CAAC;IACzB,CAAC;IACD,kCAAkC;IAClC,sDAAsD;IAEtD,YAAY;IACZ,0FAA0F;IAC1F,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,MAAM;AACP,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;CACxB,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Badge, Form, Skeleton } from "@voplus/antd";
|
|
3
|
+
import { useController, useControllerStore, } from "../../../../../../data/controller";
|
|
4
|
+
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
5
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
6
|
+
import ControllerStatusLabel from "../../controls/ControllerStatusLabel";
|
|
7
|
+
import Scrollbars from "react-custom-scrollbars";
|
|
8
|
+
import moment from "moment";
|
|
9
|
+
const ControllerInformation = (props) => {
|
|
10
|
+
const { id, allowEdit } = props;
|
|
11
|
+
const controller = useController(id);
|
|
12
|
+
const controllerStore = useControllerStore();
|
|
13
|
+
return observe(() => (React.createElement(Scrollbars, null, controller.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
14
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span: 10 }, className: "company-information" },
|
|
15
|
+
controller.status && (React.createElement(Form.Item, { label: "Status" }, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))),
|
|
16
|
+
React.createElement(Form.Item, { label: "Confimration Status" },
|
|
17
|
+
React.createElement(ControllerStatusLabel, { status: controller.confirmationStatus, editable: allowEdit, onChange: (status) => controllerStore.edit(id, { data: { ConfirmationStatus: status }, error: "message" }) })),
|
|
18
|
+
React.createElement(Form.Item, { label: "Confimration Date" },
|
|
19
|
+
React.createElement(InlineEdit, { defaultValue: moment(controller.confimrationDate), content: (v) => (React.createElement("span", null, controller.confimrationDate
|
|
20
|
+
? moment(v.store.value).format("YYYY-MM-DD")
|
|
21
|
+
: allowEdit
|
|
22
|
+
? "Add Confimration Date"
|
|
23
|
+
: "No Confimration Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
24
|
+
if (moment(date).isSame(controller.confimrationDate, "day"))
|
|
25
|
+
return;
|
|
26
|
+
edit({ ConfimrationDate: date !== null ? date : "" });
|
|
27
|
+
} })),
|
|
28
|
+
React.createElement(Form.Item, { label: "Appointment Date" },
|
|
29
|
+
React.createElement(InlineEdit, { defaultValue: moment(controller === null || controller === void 0 ? void 0 : controller.appointment), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.appointment)
|
|
30
|
+
? moment(v.store.value).format("YYYY-MM-DD")
|
|
31
|
+
: allowEdit
|
|
32
|
+
? "Add Appointment Date"
|
|
33
|
+
: "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
34
|
+
if (moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.appointment, "day"))
|
|
35
|
+
return;
|
|
36
|
+
edit({ Appointment: date !== null ? date : "" });
|
|
37
|
+
} })),
|
|
38
|
+
React.createElement(Form.Item, { label: "Cease Date" },
|
|
39
|
+
React.createElement(InlineEdit, { defaultValue: moment(controller === null || controller === void 0 ? void 0 : controller.cease), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.cease)
|
|
40
|
+
? moment(controller === null || controller === void 0 ? void 0 : controller.cease).format("YYYY-MM-DD")
|
|
41
|
+
: allowEdit
|
|
42
|
+
? "Add Cease Date"
|
|
43
|
+
: "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
|
|
44
|
+
if (moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.cease, "day"))
|
|
45
|
+
return;
|
|
46
|
+
edit({ Cease: date !== null ? date : "" });
|
|
47
|
+
} })),
|
|
48
|
+
React.createElement(Form.Item, { label: "Email" },
|
|
49
|
+
React.createElement(InlineEdit, { defaultValue: controller.email, content: (v) => React.createElement("div", null, controller.email ? controller.email : "Add Email"), onSave: (value) => controllerStore.edit(id, { data: { Email: value }, error: "message" }) })),
|
|
50
|
+
React.createElement(Form.Item, { label: "Phone" },
|
|
51
|
+
React.createElement(InlineEdit, { defaultValue: controller.phone, content: (v) => React.createElement("div", null, controller.phone ? controller.phone : "Add Phone"), onSave: (value) => controllerStore.edit(id, { data: { Phone: value }, error: "message" }) })))))));
|
|
52
|
+
async function edit(data) {
|
|
53
|
+
await controllerStore.edit(id, { data, error: "message" });
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
ControllerInformation.defaultProps = {
|
|
57
|
+
allowEdit: true,
|
|
58
|
+
};
|
|
59
|
+
export default ControllerInformation;
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAEN,aAAa,EACb,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,qBAAqB,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IACrC,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,UAAU,QACT,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CACrB,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,IAAI,IAAC,UAAU,EAAC,MAAM,EAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,SAAS,EAAC,qBAAqB;QAC7E,UAAU,CAAC,MAAM,IAAI,CACrB,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,IACvB,UAAU,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAClC,oBAAC,KAAK,IAAC,MAAM,EAAC,SAAS,E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AS,EAAE,CAAC,GAEtE,CACS,CACN,CACP,CACW,CACb,CAAC,CAAC;IAEH,KAAK,UAAU,IAAI,CAAC,IAA+B;QAClD,MAAM,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC;AACF,CAAC,CAAC;AAEF,qBAAqB,CAAC,YAAY,GAAG;IACpC,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare const ControllerItem: (props: {
|
|
4
|
+
/** id of controller */
|
|
5
|
+
id: string;
|
|
6
|
+
/** id of unit */
|
|
7
|
+
unitId: string;
|
|
8
|
+
/** id of identity */
|
|
9
|
+
identityId: string;
|
|
10
|
+
/** index of controller list */
|
|
11
|
+
index: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
export default ControllerItem;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import { useController } from "../../../../../../data/controller";
|
|
4
|
+
import { Badge } from "@voplus/antd";
|
|
5
|
+
import { faEnvelope, faPhone } from "@fortawesome/pro-light-svg-icons";
|
|
6
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
|
+
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
|
|
8
|
+
import moment from "moment";
|
|
9
|
+
import "./index.less";
|
|
10
|
+
const ControllerItem = (props) => {
|
|
11
|
+
const { id, unitId, index } = props;
|
|
12
|
+
const controller = useController(id);
|
|
13
|
+
return observe(() => {
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
15
|
+
const phone = (_a = controller.phone) !== null && _a !== void 0 ? _a : (_b = controller.contact) === null || _b === void 0 ? void 0 : _b.phone;
|
|
16
|
+
const email = (_c = controller.email) !== null && _c !== void 0 ? _c : (_d = controller.contact) === null || _d === void 0 ? void 0 : _d.email;
|
|
17
|
+
return (React.createElement("div", { className: "controller-item" },
|
|
18
|
+
React.createElement(React.Fragment, null,
|
|
19
|
+
React.createElement(UnitAvatar, { id: unitId, index: index, size: "large" }),
|
|
20
|
+
React.createElement("div", { className: "controller-info" },
|
|
21
|
+
React.createElement("div", { className: "title" }, (_f = (_e = controller.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = controller.contact) === null || _g === void 0 ? void 0 : _g.name),
|
|
22
|
+
React.createElement("div", { className: "controller-contact" },
|
|
23
|
+
email && (React.createElement("span", null,
|
|
24
|
+
React.createElement(FAIcon, { icon: faEnvelope }),
|
|
25
|
+
email)),
|
|
26
|
+
phone && (React.createElement("span", { className: "margin-left-15" },
|
|
27
|
+
React.createElement(FAIcon, { icon: faPhone }),
|
|
28
|
+
phone))),
|
|
29
|
+
React.createElement("div", null,
|
|
30
|
+
controller.appointment && (React.createElement("span", { className: "margin-right-15" },
|
|
31
|
+
"Appointment Date: ",
|
|
32
|
+
moment(controller.appointment).format("YYYY-MM-DD"))),
|
|
33
|
+
controller.cease && (React.createElement("span", { className: "margin-right-15" },
|
|
34
|
+
"Cease Date: ",
|
|
35
|
+
moment(controller.cease).format("YYYY-MM-DD"))),
|
|
36
|
+
controller.confimrationDate && (React.createElement("span", { className: "margin-right-15" },
|
|
37
|
+
"Confimration Date: ",
|
|
38
|
+
moment(controller.confimrationDate).format("YYYY-MM-DD"))))),
|
|
39
|
+
!controller.identity && React.createElement(Badge, { status: "warning", text: "Need Identity Info" }),
|
|
40
|
+
controller.status && controller.identity && (React.createElement("div", null, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))))));
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
export default ControllerItem;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,cAAc,CAAC;AAEtB,MAAM,cAAc,GAAG,CAAC,KAUvB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,MAAM,KAAK,GAAG,MAAA,UAAU,CAAC,KAAK,mCAAI,MAAA,UAAU,CAAC,OAAO,0CAAE,KAAK,CAAC;QAC5D,MAAM,KAAK,GAAG,MAAA,UAAU,CAAC,KAAK,mCAAI,MAAA,UAAU,CAAC,OAAO,0CAAE,KAAK,CAAC;QAE5D,OAAO,CACN,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,oBAAC,KAAK,CAAC,QAAQ;gBACd,oBAAC,UAAU,IAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG;gBACrD,6BAAK,SAAS,EA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,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACpC,CACI,CACN,CACe,CACZ,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.controller-item {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 10px 20px;
|
|
8
|
+
|
|
9
|
+
&::after {
|
|
10
|
+
position: absolute;
|
|
11
|
+
content: "";
|
|
12
|
+
left: 20px;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
right: 20px;
|
|
15
|
+
border-bottom: 1px solid #f2f2f2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.controller-info {
|
|
19
|
+
flex: 1;
|
|
20
|
+
margin-left: 10px;
|
|
21
|
+
|
|
22
|
+
.title {
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.controller-contact {
|
|
27
|
+
color: rgba(0, 0, 0, 0.45);
|
|
28
|
+
|
|
29
|
+
.svg-inline--fa {
|
|
30
|
+
margin-right: 5px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.appointment-date,
|
|
36
|
+
.cease-date {
|
|
37
|
+
font-size: 13px;
|
|
38
|
+
line-height: 22px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useControllerListEffect, useControllerStore, } from "../../../../../../data/controller";
|
|
3
|
+
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
|
4
|
+
import { State } from "./state";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
import { runInAction } from "mobx";
|
|
7
|
+
import { useAutoUpdateListData } from "@voplus/morpho-document-core";
|
|
8
|
+
import { useDeepMemo } from "@voplus/morpho-data";
|
|
9
|
+
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
10
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
11
|
+
import NewTypeDropdown from "../../../../../../components/NewTypeDropdown";
|
|
12
|
+
import ControllerItem from "../ControllerItem";
|
|
13
|
+
import ControllerPropertiesView from "../ControllerPropertiesView";
|
|
14
|
+
import UnitsSelectDialog from "@voplus/morpho-org/es/components/UnitsSelectDialog";
|
|
15
|
+
import "./index.less";
|
|
16
|
+
const ControllerList = (props) => {
|
|
17
|
+
const { parentId, allowEdit } = props;
|
|
18
|
+
const controllerStore = useControllerStore();
|
|
19
|
+
const list = useCreateListDataState({
|
|
20
|
+
filterDefaults: {
|
|
21
|
+
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: parentId }],
|
|
22
|
+
},
|
|
23
|
+
}, [parentId]);
|
|
24
|
+
const state = useDeepMemo(() => new State(), [parentId]);
|
|
25
|
+
useAutoUpdateListData(list, (d) => d.parentId === parentId);
|
|
26
|
+
useRenderOnChange(() => list.filters.options);
|
|
27
|
+
useControllerListEffect(list, (result) => list.union(result), list.filters.options);
|
|
28
|
+
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
|
29
|
+
React.createElement(ListView, { headerProps: {
|
|
30
|
+
viewTitle: "Controllers Register",
|
|
31
|
+
sortable: false,
|
|
32
|
+
addAble: allowEdit !== false,
|
|
33
|
+
addOptions: {
|
|
34
|
+
children: (React.createElement(NewTypeDropdown, { onSelect: state.onSelect, menus: [
|
|
35
|
+
"Director",
|
|
36
|
+
"Managing Director",
|
|
37
|
+
"Nominee Director",
|
|
38
|
+
"Secretary",
|
|
39
|
+
"CEO",
|
|
40
|
+
"Partner",
|
|
41
|
+
"Owner",
|
|
42
|
+
"Auditor",
|
|
43
|
+
"Manager",
|
|
44
|
+
], style: { marginLeft: "10px" } })),
|
|
45
|
+
},
|
|
46
|
+
// filterViewProps: {
|
|
47
|
+
// columns: [
|
|
48
|
+
// <ControllerStatusFilter key="ControllerStatusFilter" />,
|
|
49
|
+
// ],
|
|
50
|
+
// onFilter,
|
|
51
|
+
// },
|
|
52
|
+
}, renderItem: ({ item, index }) => {
|
|
53
|
+
var _a;
|
|
54
|
+
return (React.createElement(ControllerItem, { key: item.id, id: item.id, unitId: item.contact.id, identityId: (_a = item.identity) === null || _a === void 0 ? void 0 : _a.id, index: index, className: index === 0 ? "shareTransaction-item-first" : "" }));
|
|
55
|
+
}, propertiesView: (id) => React.createElement(ControllerPropertiesView, { id: id, allowEdit: allowEdit }), className: "controller-list-view" }),
|
|
56
|
+
state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) })))));
|
|
57
|
+
/** 新增controllerItem */
|
|
58
|
+
async function onSave(unit) {
|
|
59
|
+
/** SelectLegalContactDialog 选择/新增有identity信息的unit */
|
|
60
|
+
if (unit) {
|
|
61
|
+
const res = await controllerStore.create({
|
|
62
|
+
data: { RegisterId: parentId, UnitId: unit[0].id, Position: state.position },
|
|
63
|
+
error: "message",
|
|
64
|
+
});
|
|
65
|
+
list.union([res]);
|
|
66
|
+
}
|
|
67
|
+
runInAction(() => (state.addAble = false));
|
|
68
|
+
}
|
|
69
|
+
function onFilter(context) {
|
|
70
|
+
context.paging.Page = 1;
|
|
71
|
+
context.filter();
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export default ControllerList;
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEN,uBAAu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