@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
package/es/Modules.js
CHANGED
|
@@ -3,7 +3,7 @@ import CLDAActivityLogRenderer from "./services/CLDAActivityLogRenderer";
|
|
|
3
3
|
import { DocumentMetaStore } from "@voplus/morpho-document/es/data/DocumentMetaStore";
|
|
4
4
|
import { FormElementRegister } from "@voplus/morpho-form/es/services/FormElementRegister";
|
|
5
5
|
import { IncorporationCLDATypeMeta } from "./data/incorporation-clda/metas";
|
|
6
|
-
import { IncorporationFormTypeMeta } from "./data/
|
|
6
|
+
import { IncorporationFormTypeMeta } from "./data/clda-form/metas";
|
|
7
7
|
import Routes from "./routes";
|
|
8
8
|
import { nameof } from "ts-simple-nameof";
|
|
9
9
|
import registerItems from "@voplus/morpho-form/es/elements/registerItems";
|
package/es/Modules.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modules.js","sourceRoot":"","sources":["../src/Modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mEAAmE,CAAC;AAE7G,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Modules.js","sourceRoot":"","sources":["../src/Modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mEAAmE,CAAC;AAE7G,OAAO,uBAAuB,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAE1E,MAAM,OAAO,GAAG;IACf,2CAA2C;IAC3C,QAAQ,EAAE,CAAC,OAAmB,EAAE,EAAE;QACjC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE;YACrD,OAAO,CAAC,eAAe,CAAC,IAAI,iBAAiB,EAAE,CAAC,CAAC;SACjD;QAED,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAE;YACrD,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE,CAAC;YAC1C,aAAa,CAAC,OAAO,CAAC,CAAC;YACvB,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;SACjC;QAED,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAsB,CAAC;QACnF,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC,QAAQ,CAA6B,CAAC;QAC7F,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,WAAW,CAAC,MAAM,EAAE,IAAI,uBAAuB,CAAC,KAAK,CAAC,CAAC,CAAC;QAE5D,2BAA2B;QAC3B,+CAA+C;QAE/C,0CAA0C;QAC1C,KAAK,CAAC,OAAO,CAAC,IAAI,yBAAyB,EAAE,CAAC,CAAC;QAE/C,0CAA0C;QAC1C,KAAK,CAAC,OAAO,CAAC,IAAI,yBAAyB,EAAE,CAAC,CAAC;QAE/C,mBAAmB;QACnB,MAAM,CAAC,SAAS,EAAE,CAAC;IACpB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { useCorporate, useCorporateStore } from "../../data/corporate";
|
|
|
3
3
|
import { Menu, Popover, message } from "@voplus/antd";
|
|
4
4
|
import { NavMenuContext, NavMenuContextState, } from "@voplus/morpho-ui/es/components/layout/NavMenu/NavMenuContext";
|
|
5
5
|
import React, { useEffect, useState } from "react";
|
|
6
|
-
import { faHandsUsd, faRegistered, faUserEdit, faUserTag, faUsers, } from "@fortawesome/pro-light-svg-icons";
|
|
6
|
+
import { faHandsUsd, faRegistered, faUserEdit, faUserTag, faUsers, faUserVneck, } from "@fortawesome/pro-light-svg-icons";
|
|
7
7
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
8
|
import NavMenuItem from "@voplus/morpho-ui/es/components/layout/NavMenu/NavMenuItem";
|
|
9
9
|
import { State } from "./state";
|
|
@@ -21,6 +21,7 @@ const RegisteresMenuItem = (props) => {
|
|
|
21
21
|
"DirectorsInterest",
|
|
22
22
|
"UltimateBeneficiaryOwners",
|
|
23
23
|
"MembersRegister",
|
|
24
|
+
"ControllerRegister",
|
|
24
25
|
];
|
|
25
26
|
const [state] = useState(new State(register));
|
|
26
27
|
const store = useCorporateStore();
|
|
@@ -34,7 +35,8 @@ const RegisteresMenuItem = (props) => {
|
|
|
34
35
|
var _a;
|
|
35
36
|
return (React.createElement(Popover, { content: React.createElement(Menu, null, (_a = state.addRegister) === null || _a === void 0 ? void 0 : _a.map((item, index) => (React.createElement(Menu.Item, { key: index, disabled: item !== "OfficersRegister" &&
|
|
36
37
|
item !== "ShareTransactionsRegister" &&
|
|
37
|
-
item !== "MembersRegister"
|
|
38
|
+
item !== "MembersRegister" &&
|
|
39
|
+
item !== "ControllerRegister"
|
|
38
40
|
? true
|
|
39
41
|
: false, onClick: () => addClick(item) },
|
|
40
42
|
"Register of ",
|
|
@@ -69,6 +71,8 @@ const RegisteresMenuItem = (props) => {
|
|
|
69
71
|
return React.createElement(FAIcon, { icon: faUserTag });
|
|
70
72
|
case "MembersRegister":
|
|
71
73
|
return React.createElement(FAIcon, { icon: faUsers });
|
|
74
|
+
case "ControllerRegister":
|
|
75
|
+
return React.createElement(FAIcon, { icon: faUserVneck });
|
|
72
76
|
default:
|
|
73
77
|
return React.createElement(FAIcon, { icon: faRegistered });
|
|
74
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RegisteresMenuItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAc,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EACN,cAAc,EACd,mBAAmB,GACnB,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACN,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/RegisteresMenuItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAc,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EACN,cAAc,EACd,mBAAmB,GACnB,MAAM,+DAA+D,CAAC;AACvE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACN,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,OAAO,EACP,WAAW,GACX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,kBAAkB,GAAG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export declare type CLDAFormProps = {
|
|
3
|
+
/** Id of the clda form. */
|
|
4
|
+
id: string;
|
|
5
|
+
type?: "clientView" | "draftView";
|
|
6
|
+
};
|
|
7
|
+
/** Meta information for Incorporation Form document. */
|
|
8
|
+
export declare class CLDAFormContent {
|
|
9
|
+
getCLDAFormContent(meta: string, country: string, props: CLDAFormProps): JSX.Element;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IncorporationSGPForm from "../../modules/self-registration/clda-form/incorporation/sgp/index";
|
|
3
|
+
/** Meta information for Incorporation Form document. */
|
|
4
|
+
export class CLDAFormContent {
|
|
5
|
+
getCLDAFormContent(meta, country, props) {
|
|
6
|
+
if (meta === "Incorporation" && country == "SGP") {
|
|
7
|
+
return React.createElement(IncorporationSGPForm, { ...props });
|
|
8
|
+
}
|
|
9
|
+
return React.createElement(React.Fragment, null);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=CLDAFormContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CLDAFormContent.js","sourceRoot":"","sources":["../../../src/data/clda-form/CLDAFormContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,oBAAoB,MAAM,mEAAmE,CAAC;AAQrG,wDAAwD;AACxD,MAAM,OAAO,eAAe;IACpB,kBAAkB,CAAC,IAAY,EAAE,OAAe,EAAE,KAAoB;QAC5E,IAAI,IAAI,KAAK,eAAe,IAAI,OAAO,IAAI,KAAK,EAAE;YACjD,OAAO,oBAAC,oBAAoB,OAAK,KAAK,GAAI,CAAC;SAC3C;QACD,OAAO,yCAAK,CAAC;IACd,CAAC;CACD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
2
|
+
import { ICLDAForm } from "./interfaces";
|
|
3
|
+
import { ListDataContextState } from "@voplus/morpho-ui/es/data";
|
|
4
|
+
/** React hook to retrieve a CLDA Form
|
|
5
|
+
* @param {string} id - id of the CLDA Form
|
|
6
|
+
* @param {LoadCLDAFormOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export declare const useCLDAForm: (id: string, options?: LoadDocumentOptions | undefined) => ICLDAForm;
|
|
9
|
+
export declare const useCLDAFormListEffect: (list: ListDataContextState<ICLDAForm> | null, effect: (list: ICLDAForm[], total?: number | undefined) => void, options?: LoadDocumentListOptions | undefined) => void;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { useDocumentListLoaderEffect, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
2
|
-
import {
|
|
2
|
+
import { useCLDAFormStore } from "./store";
|
|
3
3
|
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
4
|
-
/** React hook to retrieve a
|
|
5
|
-
* @param {string} id - id of the
|
|
6
|
-
* @param {
|
|
4
|
+
/** React hook to retrieve a CLDA Form
|
|
5
|
+
* @param {string} id - id of the CLDA Form
|
|
6
|
+
* @param {LoadCLDAFormOptions} options - options
|
|
7
7
|
*/
|
|
8
|
-
export const
|
|
8
|
+
export const useCLDAForm = (id, options) => {
|
|
9
9
|
options = options ? options : {};
|
|
10
|
-
const store =
|
|
10
|
+
const store = useCLDAFormStore();
|
|
11
11
|
const documents = useDocumentStore();
|
|
12
12
|
return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const useCLDAFormListEffect = (list, effect, options) => {
|
|
15
15
|
const deps = options ? options : {};
|
|
16
|
-
const legacy =
|
|
16
|
+
const legacy = useCLDAFormStore();
|
|
17
17
|
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
18
18
|
return useDocumentListLoaderEffect(list, effect, () => legacy.loadList(options), [deps]);
|
|
19
19
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/clda-form/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAA+D,EAC/D,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,MAAM,GAAG,gBAAgB,EAAE,CAAC;IAElC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1F,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/clda-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
|
|
@@ -41,7 +41,7 @@ export interface IFormContent {
|
|
|
41
41
|
/** list of members */
|
|
42
42
|
members: IFormPeopleOptions[];
|
|
43
43
|
}
|
|
44
|
-
export interface
|
|
44
|
+
export interface ICLDAForm extends IDocument {
|
|
45
45
|
content: IFormContent;
|
|
46
46
|
/** submit date */
|
|
47
47
|
submitDate?: string;
|
|
@@ -49,4 +49,6 @@ export interface IIncorporationForm extends IDocument {
|
|
|
49
49
|
id: string;
|
|
50
50
|
name: string;
|
|
51
51
|
};
|
|
52
|
+
metaKey: string;
|
|
53
|
+
country: string;
|
|
52
54
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/clda-form/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
|
2
|
-
import
|
|
2
|
+
import CLDAFormQuickViewDialog from "../../modules/self-registration/clda-form/components/CLDAFormQuickViewDialog";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import
|
|
4
|
+
import CLDAFormMenu from "../../modules/self-registration/clda-form/controls/CLDAFormMenu";
|
|
5
5
|
/** Meta information for Incorporation Form document. */
|
|
6
6
|
export class IncorporationFormTypeMeta extends DefaultDocumentTypeMeta {
|
|
7
7
|
getRoute(document) {
|
|
@@ -15,11 +15,11 @@ export class IncorporationFormTypeMeta extends DefaultDocumentTypeMeta {
|
|
|
15
15
|
// }
|
|
16
16
|
getQuickView(document, props) {
|
|
17
17
|
props.id = document.id;
|
|
18
|
-
return (React.createElement(
|
|
18
|
+
return (React.createElement(CLDAFormQuickViewDialog, { id: document.id, visible: props.visible, onCancel: props.onCancel }));
|
|
19
19
|
}
|
|
20
20
|
getMenu(document, props) {
|
|
21
21
|
props.id = document.id;
|
|
22
|
-
return React.createElement(
|
|
22
|
+
return React.createElement(CLDAFormMenu, { ...props });
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
Object.defineProperty(IncorporationFormTypeMeta, "TypeName", {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/clda-form/metas.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,uBAAuB,MAAM,8EAA8E,CAAC;AACnH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,iEAAiE,CAAC;AAG3F,wDAAwD;AACxD,MAAM,OAAO,yBAA0B,SAAQ,uBAAuB;IAG9D,QAAQ,CAAC,QAAmB;QAClC,OAAO,uBAAuB,QAAQ,CAAC,EAAE,EAAE,CAAC;IAC7C,CAAC;IAED,IAAW,IAAI;QACd,OAAO,yBAAyB,CAAC,QAAQ,CAAC;IAC3C,CAAC;IAED,qDAAqD;IACrD,0DAA0D;IAC1D,IAAI;IAEG,YAAY,CAAC,QAAmB,EAAE,KAAqB;QAC7D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACvB,OAAO,CACN,oBAAC,uBAAuB,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAC9F,CAAC;IACH,CAAC;IAEM,OAAO,CAAC,QAAmB,EAAE,KAAwB;QAC3D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACvB,OAAO,oBAAC,YAAY,OAAK,KAAK,GAAI,CAAC;IACpC,CAAC;;AAxBD;;;;WAAyB,mBAAmB;GAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateCLDAFormOptions, EditCLDAFormOptions } from "./types";
|
|
2
2
|
import { DocumentStore, DocumentTypeStore, LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
|
|
3
3
|
import { ApiEndPoint } from "@voplus/api";
|
|
4
|
-
import {
|
|
4
|
+
import { ICLDAForm } from "./interfaces";
|
|
5
5
|
import { StoreActionOptions } from "@voplus/morpho-data";
|
|
6
6
|
/** Corporate store supply backend functions. */
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class CLDAFormStore extends DocumentTypeStore<ICLDAForm, LoadDocumentOptions, LoadDocumentListOptions, CreateCLDAFormOptions, EditCLDAFormOptions, any> {
|
|
8
8
|
readonly endpoint: ApiEndPoint;
|
|
9
9
|
/** Name of the store */
|
|
10
10
|
readonly name: string;
|
|
@@ -15,4 +15,4 @@ export declare class IncorporationFormStore extends DocumentTypeStore<IIncorpora
|
|
|
15
15
|
submit(id: string, options: StoreActionOptions): Promise<any>;
|
|
16
16
|
}
|
|
17
17
|
/** 响应钩子检索 ServiceStore */
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const useCLDAFormStore: () => CLDAFormStore;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
|
|
2
2
|
import { useService } from "@voplus/morpho-data";
|
|
3
|
-
const StoreName = "
|
|
3
|
+
const StoreName = "CLDAFormStore";
|
|
4
4
|
/** Corporate store supply backend functions. */
|
|
5
|
-
export class
|
|
5
|
+
export class CLDAFormStore extends DocumentTypeStore {
|
|
6
6
|
constructor(endpoint, documents) {
|
|
7
|
-
super(endpoint, "/api/document-assistants/
|
|
7
|
+
super(endpoint, "/api/document-assistants/forms", documents);
|
|
8
8
|
Object.defineProperty(this, "endpoint", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
configurable: true,
|
|
@@ -24,7 +24,7 @@ export class IncorporationFormStore extends DocumentTypeStore {
|
|
|
24
24
|
*/
|
|
25
25
|
async submit(id, options) {
|
|
26
26
|
return this.action(async () => {
|
|
27
|
-
const r = await this.endpoint.post(`/api/document-assistants/
|
|
27
|
+
const r = await this.endpoint.post(`/api/document-assistants/forms/${id}/submit`);
|
|
28
28
|
const t = (await r.json());
|
|
29
29
|
this._documents.items.overwrite(t.id, t);
|
|
30
30
|
return t;
|
|
@@ -32,8 +32,8 @@ export class IncorporationFormStore extends DocumentTypeStore {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
/** 响应钩子检索 ServiceStore */
|
|
35
|
-
export const
|
|
35
|
+
export const useCLDAFormStore = () => {
|
|
36
36
|
const documents = useDocumentStore();
|
|
37
|
-
return useService(StoreName, (context) => new
|
|
37
|
+
return useService(StoreName, (context) => new CLDAFormStore(context.api.currentEndPoint, documents));
|
|
38
38
|
};
|
|
39
39
|
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/clda-form/store.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,UAAU,EAAsB,MAAM,qBAAqB,CAAC;AAErE,MAAM,SAAS,GAAG,eAAe,CAAC;AAElC,gDAAgD;AAChD,MAAM,OAAO,aAAc,SAAQ,iBAOlC;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,gCAAgC,EAAE,SAAS,CAAC,CAAC;;;;;mBAD3B;;QAHnC,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAA2B;QAC1D,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,kCAAkC,EAAE,SAAS,CAAC,CAAC;YAClF,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAc,CAAC;YAExC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YACzC,OAAO,CAAC,CAAC;QACV,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;CACD;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CACtE,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { IFormPeopleOptions,
|
|
1
|
+
import { IFormPeopleOptions, ICLDAForm, IShareholderOptions } from "./interfaces";
|
|
2
2
|
import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
|
|
3
3
|
import { LoadOptions } from "@voplus/morpho-data";
|
|
4
4
|
/** Custom load contact options type */
|
|
5
|
-
export declare type
|
|
5
|
+
export declare type LoadCLDAFormOptions = {
|
|
6
6
|
/** Comma separated include options e.g. path */
|
|
7
7
|
includes?: string;
|
|
8
|
-
} & LoadOptions<
|
|
9
|
-
export declare type
|
|
10
|
-
/** Name of the new
|
|
8
|
+
} & LoadOptions<ICLDAForm>;
|
|
9
|
+
export declare type CreateCLDAFormOptions = {
|
|
10
|
+
/** Name of the new CLDA Form. */
|
|
11
11
|
Name: string;
|
|
12
|
-
/** The parent id of the new
|
|
12
|
+
/** The parent id of the new CLDA Form to be created in. */
|
|
13
13
|
ParentId: string;
|
|
14
14
|
};
|
|
15
15
|
/** 應該使用PascalCase,edit options 也不應該混用 interface, 有機會改正 - 10 Jun 2022 Alex*/
|
|
16
|
-
export declare type
|
|
16
|
+
export declare type EditCLDAFormOptions = {
|
|
17
17
|
/** name of the entity user going to incorporate 实体用户的名称 */
|
|
18
18
|
legalEntityName?: string;
|
|
19
19
|
/** business activities of the company 公司经营活动 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/clda-form/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ApiEndPoint } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store } from "@voplus/morpho-data";
|
|
3
|
+
import { CreateControllerOptions, DeleteControllerOptions, EditControllerOptions, LoadControllerOptions } from "./types";
|
|
4
|
+
import { IController } from "./interfaces";
|
|
5
|
+
import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
|
|
6
|
+
/** Quotation store supply backend functions. */
|
|
7
|
+
export declare class ControllerStore extends Store {
|
|
8
|
+
readonly endpoint: ApiEndPoint;
|
|
9
|
+
/** Name of the store */
|
|
10
|
+
readonly name: string;
|
|
11
|
+
constructor(endpoint: ApiEndPoint);
|
|
12
|
+
/** All currently used corporate. */
|
|
13
|
+
readonly items: CountedMap<string, IController>;
|
|
14
|
+
/** Create a new Identity. */
|
|
15
|
+
create(options: CreateControllerOptions): Promise<IController>;
|
|
16
|
+
/** Edit an existing item on server. */
|
|
17
|
+
edit(id: string, options: EditControllerOptions): Promise<void>;
|
|
18
|
+
/** controller 內有文件不能delete */
|
|
19
|
+
delete(ids: string[], options?: DeleteControllerOptions): Promise<any>;
|
|
20
|
+
/** Load a list of documents from server.
|
|
21
|
+
* @param {LoadDocumentListOptions}
|
|
22
|
+
*/
|
|
23
|
+
loadList(options?: LoadDocumentListOptions): Promise<IController[]>;
|
|
24
|
+
load(id: string, options: LoadControllerOptions): Promise<IController>;
|
|
25
|
+
}
|
|
26
|
+
/** 响应钩子检索 IdentityStore */
|
|
27
|
+
export declare const useControllerStore: () => ControllerStore;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { RequestBuilder } from "@voplus/api";
|
|
2
|
+
import { CountedMap, Store, useApplicationContext } from "@voplus/morpho-data";
|
|
3
|
+
import { observable } from "mobx";
|
|
4
|
+
const StoreName = "ControllerStore";
|
|
5
|
+
/** Quotation store supply backend functions. */
|
|
6
|
+
export class ControllerStore extends Store {
|
|
7
|
+
constructor(endpoint) {
|
|
8
|
+
super();
|
|
9
|
+
Object.defineProperty(this, "endpoint", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true,
|
|
13
|
+
value: endpoint
|
|
14
|
+
});
|
|
15
|
+
/** Name of the store */
|
|
16
|
+
Object.defineProperty(this, "name", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: StoreName
|
|
21
|
+
});
|
|
22
|
+
/** All currently used corporate. */
|
|
23
|
+
Object.defineProperty(this, "items", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
writable: true,
|
|
27
|
+
value: new CountedMap((key) => ({ id: key, loaded: false }), observable.map([], { deep: true }))
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/** Create a new Identity. */
|
|
31
|
+
async create(options) {
|
|
32
|
+
// invariant(options.name, "Name cannot be empty.");
|
|
33
|
+
return await this.action(async () => {
|
|
34
|
+
const r = await this.endpoint.post(`/api/controllers/create`, new RequestBuilder().json(options.data));
|
|
35
|
+
const t = (await r.json());
|
|
36
|
+
return t;
|
|
37
|
+
}, options);
|
|
38
|
+
}
|
|
39
|
+
/** Edit an existing item on server. */
|
|
40
|
+
async edit(id, options) {
|
|
41
|
+
await this.action(async () => {
|
|
42
|
+
const r = await this.endpoint.post(`/api/controllers/${id}`, new RequestBuilder().json(options.data));
|
|
43
|
+
const t = await r.json();
|
|
44
|
+
this.items.overwrite(t.id, t);
|
|
45
|
+
}, options);
|
|
46
|
+
}
|
|
47
|
+
/** controller 內有文件不能delete */
|
|
48
|
+
async delete(ids, options) {
|
|
49
|
+
return await this.action(async () => {
|
|
50
|
+
await this.endpoint.delete(`/api/controllers/delete`, new RequestBuilder().json({ Ids: ids, Options: options === null || options === void 0 ? void 0 : options.data }));
|
|
51
|
+
const deleted = [];
|
|
52
|
+
for (const id of ids) {
|
|
53
|
+
const item = this.items.peek(id);
|
|
54
|
+
if (item) {
|
|
55
|
+
deleted.push(item);
|
|
56
|
+
item.status = "Deleted";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return deleted;
|
|
60
|
+
}, options);
|
|
61
|
+
}
|
|
62
|
+
/** Load a list of documents from server.
|
|
63
|
+
* @param {LoadDocumentListOptions}
|
|
64
|
+
*/
|
|
65
|
+
async loadList(options) {
|
|
66
|
+
let query = "";
|
|
67
|
+
if (options === null || options === void 0 ? void 0 : options.Includes) {
|
|
68
|
+
query = query.concat(`includes=${options.Includes}`);
|
|
69
|
+
}
|
|
70
|
+
if (query)
|
|
71
|
+
query = "?".concat(query);
|
|
72
|
+
const r = await this.endpoint.post(`/api/controllers${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
|
|
73
|
+
return (await r.json());
|
|
74
|
+
}
|
|
75
|
+
async load(id, options) {
|
|
76
|
+
let query = "";
|
|
77
|
+
if (options.includes)
|
|
78
|
+
query = query.concat(`includes=${options.includes}`);
|
|
79
|
+
if (query)
|
|
80
|
+
query = "?".concat(query);
|
|
81
|
+
const r = await this.endpoint.get(`/api/controllers/${id}${query}`);
|
|
82
|
+
return await r.json();
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
/** 响应钩子检索 IdentityStore */
|
|
86
|
+
export const useControllerStore = () => {
|
|
87
|
+
const context = useApplicationContext();
|
|
88
|
+
if (!context.getStore(StoreName)) {
|
|
89
|
+
context.addStore(new ControllerStore(context.api.currentEndPoint));
|
|
90
|
+
}
|
|
91
|
+
return context.getStore(StoreName);
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=ControllerStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ControllerStore.js","sourceRoot":"","s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 +1,19 @@
|
|
|
1
|
+
import { useDocumentListLoaderEffect } from "@voplus/morpho-document-core";
|
|
2
|
+
import { useLoadCountedMapItem } from "@voplus/morpho-data";
|
|
3
|
+
import { useControllerStore } from "./ControllerStore";
|
|
4
|
+
/** React hook to retrieve a controller
|
|
5
|
+
* @param {string} id - id of the controller
|
|
6
|
+
* @param {LoadDocumentOptions} options - options
|
|
7
|
+
*/
|
|
8
|
+
export const useController = (id, options) => {
|
|
9
|
+
options = options ? options : {};
|
|
10
|
+
const store = useControllerStore();
|
|
11
|
+
return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
|
|
12
|
+
};
|
|
13
|
+
export const useControllerListEffect = (list, effect, options) => {
|
|
14
|
+
const deps = options ? options : {};
|
|
15
|
+
const controller = useControllerStore();
|
|
16
|
+
// Call useDocumentListEffect and ensure won't load twice for same loading options.
|
|
17
|
+
return useDocumentListLoaderEffect(list, effect, () => controller.loadList(options), [deps]);
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=hooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/controller/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAKpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAU,EAAE,OAA+B,EAAE,EAAE;IAC5E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA4B,CAAC;IAC5D,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACQ,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACtC,IAA8C,EAC9C,MAA6B,EAC7B,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,UAAU,GAAG,kBAAkB,EAAE,CAAC;IAExC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/controller/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ILoadable } from "@voplus/morpho-data";
|
|
2
|
+
export interface IController extends ILoadable {
|
|
3
|
+
/** id of corporate */
|
|
4
|
+
id: string;
|
|
5
|
+
contact: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
phone?: string;
|
|
10
|
+
};
|
|
11
|
+
identity?: {
|
|
12
|
+
id: string;
|
|
13
|
+
fullName: string;
|
|
14
|
+
};
|
|
15
|
+
/** */
|
|
16
|
+
status: string;
|
|
17
|
+
confimrationDate: Date;
|
|
18
|
+
confirmationStatus: string;
|
|
19
|
+
/** Register id of the new controller */
|
|
20
|
+
appointment: Date;
|
|
21
|
+
/** resign/termination date of the controller */
|
|
22
|
+
cease: Date;
|
|
23
|
+
email?: string;
|
|
24
|
+
phone?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/controller/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
|
2
|
+
import { DeleteDocumentOptions } from "@voplus/morpho-document-core";
|
|
3
|
+
import { IController } from "./interfaces";
|
|
4
|
+
export declare type ConfirmationStatus = "Unconfirmed" | "ConfirmedController" | "ConfirmedNotController";
|
|
5
|
+
/** Custom load controller options type */
|
|
6
|
+
export declare type LoadControllerOptions = {
|
|
7
|
+
/** Comma separated include options e.g. path */
|
|
8
|
+
includes?: string;
|
|
9
|
+
} & LoadOptions<IController>;
|
|
10
|
+
export declare type CreateControllerDataOptions = {
|
|
11
|
+
/** Register id of the new controller */
|
|
12
|
+
RegisterId: string;
|
|
13
|
+
/** unit id of the controller */
|
|
14
|
+
UnitId: string;
|
|
15
|
+
/** position of the new controller */
|
|
16
|
+
Position?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare type EditControllerDataOptions = {
|
|
19
|
+
/** Gets the confirmation status of the controller. */
|
|
20
|
+
ConfirmationStatus?: ConfirmationStatus;
|
|
21
|
+
/**Gets the confirmation date of the controller. */
|
|
22
|
+
ConfimrationDate?: string;
|
|
23
|
+
/** Gets the commerence date of the controller. */
|
|
24
|
+
Appointment?: Date;
|
|
25
|
+
/** resign/termination date of the controller */
|
|
26
|
+
Cease?: Date;
|
|
27
|
+
/**Gets the phone of the controller*/
|
|
28
|
+
Phone?: string;
|
|
29
|
+
/**Gets the email of the controller*/
|
|
30
|
+
Email?: string;
|
|
31
|
+
/**Gets the identity id of the Controller*/
|
|
32
|
+
IdentityId?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare type CreateControllerOptions = {
|
|
35
|
+
data: CreateControllerDataOptions;
|
|
36
|
+
} & StoreActionOptions;
|
|
37
|
+
export declare type EditControllerOptions = {
|
|
38
|
+
data: EditControllerDataOptions;
|
|
39
|
+
} & StoreActionOptions;
|
|
40
|
+
export declare type DeleteControllerOptions = {
|
|
41
|
+
data?: DeleteDocumentOptions;
|
|
42
|
+
} & StoreActionOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/data/controller/types.ts"],"names":[],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import React, { useState } from "react";
|
|
|
4
4
|
import { useCLDA, useCLDAStore } from "../../../../../data/CLDA";
|
|
5
5
|
import { InlineEdit } from "@voplus/morpho-ui";
|
|
6
6
|
import Scrollbars from "react-custom-scrollbars";
|
|
7
|
-
import ShareholderSelector from "
|
|
7
|
+
import ShareholderSelector from "../../../company/share-transactions-register/components/ShareholderSelector";
|
|
8
8
|
import { observe } from "@voplus/morpho-ui";
|
|
9
9
|
import { useLayout } from "@voplus/morpho-data";
|
|
10
10
|
const CLDADetails = (props) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDADetails/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAS,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,mBAAmB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDADetails/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAS,MAAM,EAAE,QA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ACjB,CACK,CACK,CACb,CAAA;KAAA,CAAC,CAAC;IAEH,sBAAsB;IACtB,SAAS,gBAAgB,CAAC,KAAa;;QACtC,IAAI,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,UAAU,CAAC,IAAI,EAAE,MAAK,KAAK,EAAE;YAC/C,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;SACpF;IACF,CAAC;AACF,CAAC,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IAC1B,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -16,7 +16,7 @@ import SearchHeader from "@voplus/morpho-ui/es/components/layout/ListView/header
|
|
|
16
16
|
import classnames from "classnames";
|
|
17
17
|
import styles from "./index.less";
|
|
18
18
|
const CLDAList = (props) => {
|
|
19
|
-
const { parentId, metaId, isMyCLDA, assistantStatus, signingMode, searchHeader, asideable, openNewFormMode, title, filterable, secretaryCenterId, } = props;
|
|
19
|
+
const { parentId, metaId, isMyCLDA, assistantStatus, signingMode, searchHeader, asideable, openNewFormMode, title, filterable, secretaryCenterId, primaryContact, } = props;
|
|
20
20
|
const [activeId, setActiveId] = useState("");
|
|
21
21
|
const [state] = useState(new State());
|
|
22
22
|
const [addAble, setAddAble] = useState(false);
|
|
@@ -93,13 +93,13 @@ const CLDAList = (props) => {
|
|
|
93
93
|
onAdd: onAdd,
|
|
94
94
|
},
|
|
95
95
|
// formViewTitle="Add CLDA Form"
|
|
96
|
-
formView: openNewFormMode === "openAside" && (React.createElement(NewCLDAForm, { parentId: state.id, showView: true, secretaryCenterId: secretaryCenterId
|
|
96
|
+
formView: openNewFormMode === "openAside" && (React.createElement(NewCLDAForm, { parentId: state.id, showView: true, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => (state.isAdd = false) })), renderItem: ({ item }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
|
97
97
|
var _a;
|
|
98
98
|
setActiveId(item.id);
|
|
99
99
|
(_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
|
|
100
100
|
} },
|
|
101
101
|
React.createElement(CLDAItem, { id: item.id }))) }),
|
|
102
|
-
addAble && (React.createElement(NewCLDAForm, { parentId: state.id, openMode: "openBottom", secretaryCenterId: secretaryCenterId
|
|
102
|
+
addAble && (React.createElement(NewCLDAForm, { parentId: state.id, openMode: "openBottom", contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setAddAble(false) }))))));
|
|
103
103
|
function onAdd() {
|
|
104
104
|
if (openNewFormMode === "openBottom")
|
|
105
105
|
setAddAble(true);
|