@voplus/morpho-csp 11.2.9 → 11.3.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/LegalContactSelect/index.d.ts +7 -0
- package/es/components/LegalContactSelect/index.js +127 -12
- package/es/components/LegalContactSelect/index.js.map +1 -1
- package/es/data/clda-form/conversion.d.ts +9 -6
- package/es/data/clda-form/conversion.js +11 -18
- package/es/data/clda-form/conversion.js.map +1 -1
- package/es/data/clda-form/identityAdapter.d.ts +60 -0
- package/es/data/clda-form/identityAdapter.js +196 -0
- package/es/data/clda-form/identityAdapter.js.map +1 -0
- package/es/data/clda-form/interfaces.d.ts +20 -1
- package/es/data/clda-form/saveFormDraft.d.ts +4 -0
- package/es/data/clda-form/saveFormDraft.js +21 -0
- package/es/data/clda-form/saveFormDraft.js.map +1 -0
- package/es/data/clda-form/types.d.ts +31 -2
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/IdentityShapeFields.d.ts +35 -0
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/IdentityShapeFields.js +53 -0
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/IdentityShapeFields.js.map +1 -0
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js +41 -15
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.d.ts +59 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js +244 -15
- package/es/modules/corporate/background-investigation/risk-profile/components/IdentityProperties/state.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.d.ts +5 -0
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js +13 -7
- package/es/modules/corporate/company/components/CorporateOfficerSelect/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step3.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step3.js +20 -24
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step3.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js +38 -11
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step4.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.d.ts +3 -3
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.d.ts +25 -4
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js +88 -5
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/state.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/DialogShell.d.ts +13 -0
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/DialogShell.js +20 -0
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/DialogShell.js.map +1 -0
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js +28 -28
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page1.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page2.js +3 -4
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page2.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page3.js +16 -9
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page3.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page4.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page4.js +128 -61
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page4.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.d.ts +2 -2
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js +119 -24
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/Page5.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.d.ts +0 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js +16 -8
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.d.ts +274 -23
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js +560 -210
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js.map +1 -1
- package/es/modules/corporate/components/CorporateSelect/index.d.ts +12 -1
- package/es/modules/corporate/components/CorporateSelect/index.js +19 -5
- package/es/modules/corporate/components/CorporateSelect/index.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/AppointOfficer/index.d.ts +6 -1
- package/es/modules/corporate/legal-generation/components/AppointOfficer/index.js +3 -2
- package/es/modules/corporate/legal-generation/components/AppointOfficer/index.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/CorporateRepresentative/index.d.ts +6 -1
- package/es/modules/corporate/legal-generation/components/CorporateRepresentative/index.js +3 -2
- package/es/modules/corporate/legal-generation/components/CorporateRepresentative/index.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/IssueShares/Fields.js +3 -3
- package/es/modules/corporate/legal-generation/components/IssueShares/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/IssueShares/interface.d.ts +1 -1
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.d.ts +16 -1
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.js +27 -9
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/interface.d.ts +5 -2
- package/es/modules/corporate/legal-generation/components/ResignationLetter/Fields.js +1 -1
- package/es/modules/corporate/legal-generation/components/ResignationLetter/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.d.ts +13 -1
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.js +24 -6
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.js.map +1 -1
- package/es/modules/corporate/legal-generation/components/ShareTransfer/interface.d.ts +5 -2
- package/es/modules/corporate/legal-generation/components/SubmitButton/index.d.ts +11 -3
- package/es/modules/corporate/legal-generation/components/SubmitButton/index.js +9 -3
- package/es/modules/corporate/legal-generation/components/SubmitButton/index.js.map +1 -1
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.d.ts +31 -2
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.js +52 -37
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.js.map +1 -1
- package/es/modules/corporate/legal-generation/fields/CorporateRepresentativeFields.d.ts +27 -2
- package/es/modules/corporate/legal-generation/fields/CorporateRepresentativeFields.js +78 -21
- package/es/modules/corporate/legal-generation/fields/CorporateRepresentativeFields.js.map +1 -1
- package/es/modules/corporate/legal-generation/fields/ParentCompanyDetailsFields.d.ts +17 -0
- package/es/modules/corporate/legal-generation/fields/ParentCompanyDetailsFields.js +36 -0
- package/es/modules/corporate/legal-generation/fields/ParentCompanyDetailsFields.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/renderCapturedIdentityColumn.d.ts +11 -0
- package/es/modules/corporate/legal-generation/fields/renderCapturedIdentityColumn.js +25 -0
- package/es/modules/corporate/legal-generation/fields/renderCapturedIdentityColumn.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/index.d.ts +7 -0
- package/es/modules/corporate/legal-generation/fields/state/index.js +5 -0
- package/es/modules/corporate/legal-generation/fields/state/index.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/types.d.ts +37 -0
- package/es/modules/corporate/legal-generation/fields/state/types.js +27 -0
- package/es/modules/corporate/legal-generation/fields/state/types.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/useCapturedIdentityField.d.ts +28 -0
- package/es/modules/corporate/legal-generation/fields/state/useCapturedIdentityField.js +45 -0
- package/es/modules/corporate/legal-generation/fields/state/useCapturedIdentityField.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/useIdentityShapeCapture.d.ts +31 -0
- package/es/modules/corporate/legal-generation/fields/state/useIdentityShapeCapture.js +47 -0
- package/es/modules/corporate/legal-generation/fields/state/useIdentityShapeCapture.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/useLegalGenerationIdentityCapture.d.ts +35 -0
- package/es/modules/corporate/legal-generation/fields/state/useLegalGenerationIdentityCapture.js +36 -0
- package/es/modules/corporate/legal-generation/fields/state/useLegalGenerationIdentityCapture.js.map +1 -0
- package/es/modules/corporate/legal-generation/fields/state/useOperateField.d.ts +15 -0
- package/es/modules/corporate/legal-generation/fields/state/useOperateField.js +27 -0
- package/es/modules/corporate/legal-generation/fields/state/useOperateField.js.map +1 -0
- package/es/modules/corporate/legal-generation/form/AppointOfficerForm.d.ts +18 -9
- package/es/modules/corporate/legal-generation/form/AppointOfficerForm.js +130 -28
- package/es/modules/corporate/legal-generation/form/AppointOfficerForm.js.map +1 -1
- package/es/modules/corporate/legal-generation/form/CorporateRepresentativeForm.d.ts +27 -17
- package/es/modules/corporate/legal-generation/form/CorporateRepresentativeForm.js +112 -24
- package/es/modules/corporate/legal-generation/form/CorporateRepresentativeForm.js.map +1 -1
- package/es/modules/corporate/legal-generation/form/legalGenerationSubmit.d.ts +637 -0
- package/es/modules/corporate/legal-generation/form/legalGenerationSubmit.js +840 -0
- package/es/modules/corporate/legal-generation/form/legalGenerationSubmit.js.map +1 -0
- package/es/modules/corporate/legal-generation/form/useLegalGenerationDocument.d.ts +23 -0
- package/es/modules/corporate/legal-generation/form/useLegalGenerationDocument.js +55 -0
- package/es/modules/corporate/legal-generation/form/useLegalGenerationDocument.js.map +1 -0
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.js +38 -8
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js +50 -33
- package/es/modules/self-registration/clda-form/components/CLDAContactList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ContactFields/index.d.ts +5 -2
- package/es/modules/self-registration/clda-form/components/ContactFields/index.js +6 -3
- package/es/modules/self-registration/clda-form/components/ContactFields/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js +7 -18
- package/es/modules/self-registration/clda-form/components/DataProtectionOfficer/NewDPODialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js +7 -18
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +7 -18
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js +7 -18
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/useContactEditSession.d.ts +35 -0
- package/es/modules/self-registration/clda-form/components/useContactEditSession.js +51 -0
- package/es/modules/self-registration/clda-form/components/useContactEditSession.js.map +1 -0
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.d.ts +2 -3
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js +60 -12
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js +3 -5
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +7 -21
- package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js +6 -5
- package/es/modules/self-registration/clda-form/incorporation/company-general/CompanyGeneralForm.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +23 -28
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js +11 -24
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +13 -8
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js +11 -24
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js +18 -9
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRedonminationDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js +11 -24
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +23 -28
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.d.ts +2 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +81 -14
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +11 -15
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.d.ts +2 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js +34 -5
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningContactItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js +4 -5
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/BankOpeningList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js +5 -4
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/CapitalReceiptSelect/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +32 -12
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.d.ts +2 -3
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +80 -13
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.d.ts +1 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +7 -9
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +3 -0
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +4 -2
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js +16 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/Content.js.map +1 -1
- package/es/routes.d.ts +1 -1
- package/es/routes.js +4 -2
- package/es/routes.js.map +1 -1
- package/package.json +4 -4
package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/SelectLegalContactDialog/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;IAOrC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,CAAC,CAAC,EAAE,CAAC;gBAC5C,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5F,CAAC;;;;;;SAxDW,KAAK;AA2DlB,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/SelectLegalContactDialog/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EACN,YAAY,EACZ,cAAc,GACd,MAAM,6DAA6D,CAAC;AAqIrE,0FAA0F;AAC1F,MAAM,oBAAoB,GAAG,GAA0F,EAAE,CAAC,CAAC;IAC1H,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,EAAE;IAClB,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,EAAE;CACf,CAAC,CAAC;AAEH,wFAAwF;AACxF,MAAM,iBAAiB,GAAG,GAAe,EAAE,CAAC,CAAC;IAC5C,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,EAAE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AAC,CAAC,CAAC;IACJ,CAAC,CAAC;CACF;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAU,EAAE;IAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IACvC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC;IAC9C,OAAO,KAAK,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import React, { CSSProperties } from "react";
|
|
2
2
|
import { ICorporate } from "../../../../data/corporate";
|
|
3
|
+
/** Restore the selected company through the controlled form value before directory loading. */
|
|
3
4
|
declare const CorporateSelect: (props: {
|
|
4
5
|
centerId?: string;
|
|
5
|
-
|
|
6
|
+
/** Form-controlled corporate, including a restored saved pair. */
|
|
7
|
+
value?: {
|
|
8
|
+
id?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
Id?: string;
|
|
11
|
+
Name?: string;
|
|
12
|
+
};
|
|
13
|
+
/** Existing legacy uncontrolled scalar selection. */
|
|
14
|
+
defaultValue?: string;
|
|
15
|
+
/** Prevent movement of reopened documents to another company. */
|
|
16
|
+
disabled?: boolean;
|
|
6
17
|
style?: CSSProperties;
|
|
7
18
|
onBlur?: () => void;
|
|
8
19
|
onChange?: (corporate: ICorporate) => void | Promise<void>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { useCorporateListEffect } from "../../../../data/corporate";
|
|
3
3
|
import NotFoundContent from "@voplus/morpho-ui/es/controls/NotFoundContent";
|
|
4
4
|
import { Select } from "antd";
|
|
5
5
|
import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
7
|
+
// spec:3848 — CSP: CSP form identities retain their selected shape snapshot
|
|
8
|
+
/** Restore the selected company through the controlled form value before directory loading. */
|
|
7
9
|
const CorporateSelect = (props) => {
|
|
8
|
-
const { centerId, style, defaultValue, onChange } = props;
|
|
10
|
+
const { centerId, style, defaultValue, onChange, value, disabled } = props;
|
|
11
|
+
const selectedId = value?.id ?? value?.Id;
|
|
12
|
+
const selectedName = value?.name ?? value?.Name;
|
|
9
13
|
const [timer, setTimer] = useState();
|
|
10
14
|
const [corporateData, setCorporateData] = useState([]);
|
|
11
15
|
const list = useCreateListDataState({
|
|
@@ -17,10 +21,20 @@ const CorporateSelect = (props) => {
|
|
|
17
21
|
list.union(result);
|
|
18
22
|
setCorporateData(result);
|
|
19
23
|
}, list.filters.options);
|
|
24
|
+
useEffect(() => () => {
|
|
25
|
+
if (timer)
|
|
26
|
+
clearTimeout(timer);
|
|
27
|
+
}, [timer]);
|
|
28
|
+
// spec:3848 — CSP form identities retain their selected shape snapshot
|
|
20
29
|
// spec:1924 — CSP: Every legal-generation form starts with a Company picker as its first field
|
|
21
|
-
return observe(() => (React.createElement(Select, { showSearch: { filterOption: false, onSearch: onSearch }, allowClear: true, autoFocus: true, defaultValue: defaultValue, style: { width: "100%", ...style }, placeholder: "Please Select Corporate", onBlur: props.onBlur, onChange: onSelect, loading: list.loading, notFoundContent: React.createElement(NotFoundContent, { loading: list.loading }), styles: { popup: { root: { backgroundColor: "#fff" } } }, options:
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
return observe(() => (React.createElement(Select, { showSearch: { filterOption: false, onSearch: onSearch }, allowClear: true, autoFocus: true, defaultValue: defaultValue, value: selectedId, disabled: disabled, style: { width: "100%", ...style }, placeholder: "Please Select Corporate", onBlur: props.onBlur, onChange: onSelect, loading: list.loading, notFoundContent: React.createElement(NotFoundContent, { loading: list.loading }), styles: { popup: { root: { backgroundColor: "#fff" } } }, options: [
|
|
31
|
+
...(selectedId && !corporateData.some((c) => c.id === selectedId)
|
|
32
|
+
? [{ value: selectedId, label: selectedName ?? selectedId }]
|
|
33
|
+
: []),
|
|
34
|
+
...corporateData.map((c) => {
|
|
35
|
+
return { value: c.id, label: c.name };
|
|
36
|
+
}),
|
|
37
|
+
] })));
|
|
24
38
|
function onSearch(val) {
|
|
25
39
|
if (timer)
|
|
26
40
|
clearTimeout(timer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/corporate/components/CorporateSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/corporate/components/CorporateSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAc,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,eAAe,MAAM,+CAA+C,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,4EAA4E;AAC5E,+FAA+F;AAC/F,MAAM,eAAe,GAAG,CAAC,KAWxB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3E,MAAM,UAAU,GAAG,KAAK,EAAE,EAAE,IAAI,KAAK,EAAE,EAAE,CAAC;IAC1C,MAAM,YAAY,GAAG,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,IAAI,CAAC;IAEhD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA6C,CAAC;IAChF,MA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|
-
|
|
3
|
+
/** The Appoint Officer gallery item: the composer, reopened on a persisted document when there is one. */
|
|
4
|
+
declare const AppointOfficer: (props: {
|
|
5
|
+
/** The persisted document the gallery was opened on, when one was reopened (spec:3848). */
|
|
6
|
+
reopened?: ILegalGenerationReopened;
|
|
7
|
+
}) => React.JSX.Element;
|
|
3
8
|
export default AppointOfficer;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AppointOfficerForm } from "../../form";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import Scrollbars from "react-custom-scrollbars-2";
|
|
4
|
-
|
|
4
|
+
/** The Appoint Officer gallery item: the composer, reopened on a persisted document when there is one. */
|
|
5
|
+
const AppointOfficer = (props) => {
|
|
5
6
|
return (React.createElement("div", { className: "corporate-legal-generation_content" },
|
|
6
7
|
React.createElement(Scrollbars, null,
|
|
7
|
-
React.createElement(AppointOfficerForm,
|
|
8
|
+
React.createElement(AppointOfficerForm, { reopened: props.reopened }))));
|
|
8
9
|
};
|
|
9
10
|
export default AppointOfficer;
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/AppointOfficer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/AppointOfficer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,2BAA2B,CAAC;AAEnD,0GAA0G;AAC1G,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,OAAO,CACN,6BAAK,SAAS,EAAC,oCAAoC;QAClD,oBAAC,UAAU;YACV,oBAAC,kBAAkB,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CACpC,CACR,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import type { ILegalGenerationReopened } from "../../form/legalGenerationSubmit";
|
|
1
2
|
import React from "react";
|
|
2
|
-
|
|
3
|
+
/** The Corporate Representative gallery item: the composer, reopened on a persisted document when there is one. */
|
|
4
|
+
declare const CorporateRepresentative: (props: {
|
|
5
|
+
/** The persisted document the gallery was opened on, when one was reopened (spec:3848). */
|
|
6
|
+
reopened?: ILegalGenerationReopened;
|
|
7
|
+
}) => React.JSX.Element;
|
|
3
8
|
export default CorporateRepresentative;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { CorporateRepresentativeForm } from "../../form";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import Scrollbars from "react-custom-scrollbars-2";
|
|
4
|
-
|
|
4
|
+
/** The Corporate Representative gallery item: the composer, reopened on a persisted document when there is one. */
|
|
5
|
+
const CorporateRepresentative = (props) => {
|
|
5
6
|
return (React.createElement("div", { className: "corporate-legal-generation_content" },
|
|
6
7
|
React.createElement(Scrollbars, null,
|
|
7
|
-
React.createElement(CorporateRepresentativeForm,
|
|
8
|
+
React.createElement(CorporateRepresentativeForm, { reopened: props.reopened }))));
|
|
8
9
|
};
|
|
9
10
|
export default CorporateRepresentative;
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/legal-generation/components/CorporateRepresentative/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/CorporateRepresentative/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/CorporateRepresentative/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,2BAA2B,CAAC;AAEnD,mHAAmH;AACnH,MAAM,uBAAuB,GAAG,CAAC,KAGhC,EAAE,EAAE;IACJ,OAAO,CACN,6BAAK,SAAS,EAAC,oCAAoC;QAClD,oBAAC,UAAU;YACV,oBAAC,2BAA2B,IAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAC7C,CACR,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -71,9 +71,9 @@ const IssueSharesFields = () => {
|
|
|
71
71
|
// fieldKey={[field.fieldKey, "Consideration"]}
|
|
72
72
|
label: "Consideration" },
|
|
73
73
|
React.createElement(Input, null)),
|
|
74
|
-
React.createElement(Form.Item, { ...field, name: [field.name, "
|
|
75
|
-
// fieldKey={[field.fieldKey, "
|
|
76
|
-
label: "
|
|
74
|
+
React.createElement(Form.Item, { ...field, name: [field.name, "Percentage"],
|
|
75
|
+
// fieldKey={[field.fieldKey, "Percentage"]}
|
|
76
|
+
label: "Percentage" },
|
|
77
77
|
React.createElement(Input, null)),
|
|
78
78
|
React.createElement("span", { style: { display: "inline-block", width: "0.875em" } }))))),
|
|
79
79
|
React.createElement(Form.Item, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/IssueShares/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAA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AAC,IAAI,EAAE,gBAAgB,CAAC;wBACpC,gDAAgD;wBAChD,KAAK,EAAC,gBAAgB;wBAEtB,oBAAC,KAAK,OAAG,CACE;oBACZ,oBAAC,IAAI,CAAC,IAAI,OACL,KAAK,EACT,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,gBAAgB,CAAC;wBACpC,gDAAgD;wBAChD,KAAK,EAAC,iBAAiB;wBAEvB,oBAAC,KAAK,OAAG,CACE;oBAEZ,oBAAC,MAAM,IACN,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAChC,CACK;gBACR,oBAAC,KAAK,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,KAAK,EAAC,UAAU;oBACnE,oBAAC,IAAI,CAAC,IAAI,OACL,KAAK,EACT,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC;wBAC/B,2CAA2C;wBAC3C,KAAK,EAAC,YAAY;wBAElB,oBAAC,KAAK,OAAG,CACE;oBACZ,oBAAC,IAAI,CAAC,IAAI,OACL,KAAK,EACT,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,CAAC;wBACnC,+CAA+C;wBAC/C,KAAK,EAAC,eAAe;wBAErB,oBAAC,KAAK,OAAG,CACE;oBACZ,oBAAC,IAAI,CAAC,IAAI,OACL,KAAK,EACT,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/IssueShares/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjE,OAAO,KAAK,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OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,SAAS,EAAE,GAAS,CAC5D,CACQ,CACjB,CAAC;YACF,oBAAC,IAAI,CAAC,IAAI;gBACT,oBAAC,MAAM,IACN,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,EACpB,KAAK,QACL,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAC,iBAAiB,GAAG,gBAGzD,CACE,CACV,CACH,CACU,CACZ,CACe,CACjB,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import type { CapturedShapeFieldValues } from "@voplus/morpho-compliance/es/components/CapturedShapeFields";
|
|
3
|
+
import type { IIdentityCapture } from "../../fields/state";
|
|
4
|
+
export interface PowerOfAttroneyFieldsProps {
|
|
5
|
+
/** The attorney's identity already captured on the document, when re-opening a saved one. */
|
|
6
|
+
identity?: IIdentityCapture;
|
|
7
|
+
/** An identity-shaped draft awaiting capture, e.g. a wizard step that pre-picks the type. */
|
|
8
|
+
draft?: IIdentityCapture;
|
|
9
|
+
/** Per-field validation messages for the captured identity values. */
|
|
10
|
+
identityFieldErrors?: Partial<Record<keyof CapturedShapeFieldValues, string>>;
|
|
11
|
+
/** Which mode the block opens in; `manually` is the manual-entry branch. Seeds the radio only —
|
|
12
|
+
* after mount the radio owns the mode and the block reports the chosen branch it renders. */
|
|
13
|
+
mode?: "select" | "manually";
|
|
14
|
+
/** The subject whose identity types the picker offers (spec:3712). */
|
|
15
|
+
subject?: "Person" | "Organization";
|
|
16
|
+
}
|
|
17
|
+
declare const PowerOfAttroneyFields: (props: PowerOfAttroneyFieldsProps) => React.JSX.Element;
|
|
3
18
|
export default PowerOfAttroneyFields;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { Form, Input, Radio } from "antd";
|
|
1
|
+
import { Col, Form, Input, Radio, Row } from "antd";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import CorporateOfficerSelect from "../../../company/components/CorporateOfficerSelect";
|
|
4
4
|
import CorporateSelect from "../../../components/CorporateSelect";
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import IdentityShapeSelect from "@voplus/morpho-compliance/es/components/IdentityShapeSelect";
|
|
6
|
+
import { renderCapturedIdentityColumn } from "../../fields/renderCapturedIdentityColumn";
|
|
7
|
+
import { useLegalGenerationIdentityCapture } from "../../fields/state/useLegalGenerationIdentityCapture";
|
|
8
|
+
// spec:1929 — CSP: 需要指定人员的表单提供“选择已有”与“手动录入”两种单选模式
|
|
9
|
+
const PowerOfAttroneyFields = (props) => {
|
|
10
|
+
const { identity, draft, identityFieldErrors, mode: initialMode = "select", subject = "Person", } = props;
|
|
11
|
+
const [mode, setMode] = useState(initialMode);
|
|
12
|
+
const { shape, capture, capturedFields, aliasVisible, documentFields } = useLegalGenerationIdentityCapture({ identity, draft, identityFieldErrors });
|
|
7
13
|
return (React.createElement(React.Fragment, null,
|
|
8
14
|
React.createElement("h3", null, "Document Details"),
|
|
9
15
|
React.createElement(Form.Item, { label: "Company", name: "Company" },
|
|
@@ -14,15 +20,27 @@ const PowerOfAttroneyFields = () => {
|
|
|
14
20
|
React.createElement(Input, null)),
|
|
15
21
|
React.createElement("h3", null, "Attorney Details"),
|
|
16
22
|
React.createElement(Form.Item, null,
|
|
17
|
-
React.createElement(Radio.Group, { onChange: (e) =>
|
|
23
|
+
React.createElement(Radio.Group, { value: mode, onChange: (e) => setMode(e.target.value) },
|
|
18
24
|
React.createElement(Radio, { value: "select" }, "Select an existing officer as attorney "),
|
|
19
25
|
React.createElement(Radio, { value: "manually" }, "Enter attorney details manually"))),
|
|
20
|
-
|
|
26
|
+
mode === "select" ? (React.createElement(Form.Item, { label: "Officer", name: "Officer" },
|
|
21
27
|
React.createElement(CorporateOfficerSelect, { corporateId: "" }))) : (React.createElement(React.Fragment, null,
|
|
22
|
-
React.createElement(
|
|
23
|
-
React.createElement(
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
React.createElement(Row, { gutter: 16 },
|
|
29
|
+
React.createElement(Col, { span: aliasVisible ? 12 : 24 },
|
|
30
|
+
React.createElement(Form.Item, { label: "Full Name", name: "FullName" },
|
|
31
|
+
React.createElement(Input, null))),
|
|
32
|
+
renderCapturedIdentityColumn("alias", 12, capturedFields)),
|
|
33
|
+
React.createElement(Form.Item, { label: "Identity Type", required: true },
|
|
34
|
+
React.createElement(IdentityShapeSelect, { subject: subject,
|
|
35
|
+
// The capture restored from a saved document — or the draft the block opened
|
|
36
|
+
// on — is what the picker shows until the user picks again.
|
|
37
|
+
value: shape?.source,
|
|
38
|
+
// spec:3712 — a capture whose shape left the catalog still shows its frozen
|
|
39
|
+
// name instead of silently blanking.
|
|
40
|
+
capturedShapeName: shape?.name, onChange: (next) => capture(next) })),
|
|
41
|
+
documentFields.length > 0 && (React.createElement(Row, { gutter: 16 },
|
|
42
|
+
renderCapturedIdentityColumn("issuingCountry", documentFields.length > 1 ? 12 : 24, capturedFields),
|
|
43
|
+
renderCapturedIdentityColumn("expiryDate", documentFields.length > 1 ? 12 : 24, capturedFields))),
|
|
26
44
|
React.createElement(Form.Item, { label: "Identity Number", name: "IdentityNumber" },
|
|
27
45
|
React.createElement(Input, null)),
|
|
28
46
|
React.createElement(Form.Item, { label: "Nationality", name: "Nationality" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE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GAAG,IAAC,MAAM,EAAE,EAAE;gBACb,4BAA4B,CAC5B,gBAAgB,EAChB,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EACnC,cAAc,CACd;gBACA,4BAA4B,CAC5B,YAAY,EACZ,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EACnC,cAAc,CACd,CACI,CACN;YACD,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,gBAAgB;gBACvD,oBAAC,KAAK,OAAG,CACE;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,aAAa;gBAChD,oBAAC,KAAK,OAAG,CACE,CACI,CACjB,CACe,CACjB,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IIdentityCapture } from "../../fields/state";
|
|
1
2
|
export interface IPowerOfAttroneyValues {
|
|
2
3
|
/** */
|
|
3
4
|
Company: {
|
|
@@ -12,10 +13,12 @@ export interface IPowerOfAttroneyValues {
|
|
|
12
13
|
Officer: number;
|
|
13
14
|
/** */
|
|
14
15
|
FullName: string;
|
|
15
|
-
/** */
|
|
16
|
-
|
|
16
|
+
/** 手动模式所选身份形状的 source 编号(spec:1929)。 */
|
|
17
|
+
IdentityShape?: number;
|
|
17
18
|
/** */
|
|
18
19
|
IdentityNumber: number;
|
|
19
20
|
/** */
|
|
20
21
|
Nationality: string;
|
|
22
|
+
/** 手动模式采集的完整身份快照:冻结的形状及其字段策略下录入的值(spec:3848)。 */
|
|
23
|
+
Identity?: IIdentityCapture;
|
|
21
24
|
}
|
|
@@ -2,7 +2,7 @@ import { Form, Input, Radio, Select } from "antd";
|
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { UTCDatePicker as DatePicker } from "@voplus/morpho-ui";
|
|
4
4
|
import CorporateSelect from "../../../components/CorporateSelect";
|
|
5
|
-
// spec:1929 — CSP:
|
|
5
|
+
// spec:1929 — CSP: 需要指定人员的表单提供“选择已有”与“手动录入”两种单选模式
|
|
6
6
|
const ResignationLetterFields = () => {
|
|
7
7
|
const [officer, setOfficer] = useState("select");
|
|
8
8
|
return (React.createElement(React.Fragment, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/ResignationLetter/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAElE,
|
|
1
|
+
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/ResignationLetter/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAElE,kDAAkD;AAClD,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACpC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAEjD,OAAO,CACN,oBAAC,KAAK,CAAC,QAAQ;QACd,mDAAyB;QACzB,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,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BAAC,KAAK,OAAG,CACE,CACI,CACjB,CACe,CACjB,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import type { CapturedShapeFieldValues } from "@voplus/morpho-compliance/es/components/CapturedShapeFields";
|
|
3
|
+
import type { IIdentityCapture } from "../../fields/state";
|
|
4
|
+
export interface ShareTransferFieldsProps {
|
|
5
|
+
/** The transferee's identity already captured on the document, when re-opening a saved one. */
|
|
6
|
+
identity?: IIdentityCapture;
|
|
7
|
+
/** An identity-shaped draft awaiting capture, e.g. a wizard step that pre-picks the type. */
|
|
8
|
+
draft?: IIdentityCapture;
|
|
9
|
+
/** Per-field validation messages for the captured identity values. */
|
|
10
|
+
identityFieldErrors?: Partial<Record<keyof CapturedShapeFieldValues, string>>;
|
|
11
|
+
/** The subject whose identity types the picker offers (spec:3712). */
|
|
12
|
+
subject?: "Person" | "Organization";
|
|
13
|
+
}
|
|
14
|
+
declare const ShareTransferFields: (props: ShareTransferFieldsProps) => React.JSX.Element;
|
|
3
15
|
export default ShareTransferFields;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { Form, Input, Radio } from "antd";
|
|
1
|
+
import { Col, Form, Input, Radio, Row } from "antd";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { UTCDatePicker as DatePicker } from "@voplus/morpho-ui";
|
|
4
4
|
import CorporateOfficerSelect from "../../../company/components/CorporateOfficerSelect";
|
|
5
5
|
import CorporateSelect from "../../../components/CorporateSelect";
|
|
6
|
-
|
|
6
|
+
import IdentityShapeSelect from "@voplus/morpho-compliance/es/components/IdentityShapeSelect";
|
|
7
|
+
import { renderCapturedIdentityColumn } from "../../fields/renderCapturedIdentityColumn";
|
|
8
|
+
import { useLegalGenerationIdentityCapture } from "../../fields/state/useLegalGenerationIdentityCapture";
|
|
9
|
+
// spec:1929 — CSP: 需要指定人员的表单提供“选择已有”与“手动录入”两种单选模式
|
|
10
|
+
const ShareTransferFields = (props) => {
|
|
11
|
+
const { identity, draft, identityFieldErrors, subject = "Person" } = props;
|
|
7
12
|
const [officer, setOfficer] = useState("select");
|
|
13
|
+
const { shape, capture, capturedFields, aliasVisible, documentFields } = useLegalGenerationIdentityCapture({ identity, draft, identityFieldErrors });
|
|
8
14
|
return (React.createElement(React.Fragment, null,
|
|
9
15
|
React.createElement("h3", null, "Document Details"),
|
|
10
16
|
React.createElement(Form.Item, { label: "Company", name: "Company" },
|
|
@@ -29,10 +35,22 @@ const ShareTransferFields = () => {
|
|
|
29
35
|
React.createElement(Radio, { value: "manually" }, "Enter new officer details manually"))),
|
|
30
36
|
officer === "select" ? (React.createElement(Form.Item, { label: "Officer", name: "TransfereeOfficer" },
|
|
31
37
|
React.createElement(CorporateOfficerSelect, { corporateId: "" }))) : (React.createElement(React.Fragment, null,
|
|
32
|
-
React.createElement(
|
|
33
|
-
React.createElement(
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
React.createElement(Row, { gutter: 16 },
|
|
39
|
+
React.createElement(Col, { span: aliasVisible ? 12 : 24 },
|
|
40
|
+
React.createElement(Form.Item, { label: "Full Name", name: "FullName" },
|
|
41
|
+
React.createElement(Input, null))),
|
|
42
|
+
renderCapturedIdentityColumn("alias", 12, capturedFields)),
|
|
43
|
+
React.createElement(Form.Item, { label: "Identity Type", required: true },
|
|
44
|
+
React.createElement(IdentityShapeSelect, { subject: subject,
|
|
45
|
+
// The capture restored from a saved document — or the draft the block
|
|
46
|
+
// opened on — is what the picker shows until the user picks again.
|
|
47
|
+
value: shape?.source,
|
|
48
|
+
// spec:3712 — a capture whose shape left the catalog still shows its frozen
|
|
49
|
+
// name instead of silently blanking.
|
|
50
|
+
capturedShapeName: shape?.name, onChange: (next) => capture(next) })),
|
|
51
|
+
documentFields.length > 0 && (React.createElement(Row, { gutter: 16 },
|
|
52
|
+
renderCapturedIdentityColumn("issuingCountry", documentFields.length > 1 ? 12 : 24, capturedFields),
|
|
53
|
+
renderCapturedIdentityColumn("expiryDate", documentFields.length > 1 ? 12 : 24, capturedFields))),
|
|
36
54
|
React.createElement(Form.Item, { label: "Identity Number", name: "IdentityNumber" },
|
|
37
55
|
React.createElement(Input, null)),
|
|
38
56
|
React.createElement(Form.Item, { label: "Address", name: "Address" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/ShareTransfer/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Fields.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/ShareTransfer/Fields.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,sBAAsB,MAAM,oDAAoD,CAAC;AACxF,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,mBAAmB,MAAM,6DAA6D,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAKzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAazG,kDAAkD;AAClD,MAAM,mBAAmB,GAAG,CAAC,KAA+B,EAAE,EAAE;IAC/D,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3E,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACjD,MAAM,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CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EACnC,cAAc,CACd,CACI,CACN;YACD,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,gBAAgB;gBACvD,oBAAC,KAAK,OAAG,CACE;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS;gBACxC,oBAAC,KAAK,OAAG,CACE;YACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,aAAa;gBAChD,oBAAC,KAAK,OAAG,CACE,CACI,CACjB,CACe,CACjB,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IIdentityCapture } from "../../fields/state";
|
|
1
2
|
export interface IShareTransferValues {
|
|
2
3
|
/** */
|
|
3
4
|
Company: {
|
|
@@ -18,12 +19,14 @@ export interface IShareTransferValues {
|
|
|
18
19
|
TransfereeOfficer: string;
|
|
19
20
|
/** */
|
|
20
21
|
FullName: string;
|
|
21
|
-
/** */
|
|
22
|
-
|
|
22
|
+
/** 受让方手动模式所选身份形状的 source 编号(spec:1929)。 */
|
|
23
|
+
IdentityShape?: number;
|
|
23
24
|
/** */
|
|
24
25
|
IdentityNumber: number;
|
|
25
26
|
/** */
|
|
26
27
|
Address: string;
|
|
27
28
|
/** */
|
|
28
29
|
Nationality: string;
|
|
30
|
+
/** 受让方手动模式采集的完整身份快照:冻结的形状及其字段策略下录入的值(spec:3848)。 */
|
|
31
|
+
Identity?: IIdentityCapture;
|
|
29
32
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
/** Pending delivery controls for the gallery wrappers; other form action pairs keep their default state. */
|
|
3
|
+
export interface SubmitButtonProps {
|
|
4
|
+
/** Whether persistence or authenticated delivery is still in flight. */
|
|
5
|
+
pending?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The action pair a legal-generation form ends with. Download is the form's submit trigger: it
|
|
9
|
+
* submits the composed payload to the document conversion and runs no download flow of its own
|
|
10
|
+
* (spec:3850) — the generated document is opened by the handoff only once that submit succeeded.
|
|
11
|
+
*/
|
|
12
|
+
declare const SubmitButton: ({ pending }: SubmitButtonProps) => React.JSX.Element;
|
|
5
13
|
export default SubmitButton;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { Button, Form } from "antd";
|
|
2
2
|
import React from "react";
|
|
3
3
|
// spec:1925 — CSP: Each form ends with a Download / General E-Sign action pair
|
|
4
|
-
|
|
4
|
+
// spec:3850 — CSP: 法律文书生成表单提交时把组合后的载荷送交转换
|
|
5
|
+
/**
|
|
6
|
+
* The action pair a legal-generation form ends with. Download is the form's submit trigger: it
|
|
7
|
+
* submits the composed payload to the document conversion and runs no download flow of its own
|
|
8
|
+
* (spec:3850) — the generated document is opened by the handoff only once that submit succeeded.
|
|
9
|
+
*/
|
|
10
|
+
const SubmitButton = ({ pending = false }) => {
|
|
5
11
|
return (React.createElement(Form.Item, null,
|
|
6
|
-
React.createElement(Button, { size: "middle", htmlType: "submit",
|
|
7
|
-
React.createElement(Button, { type: "primary", size: "middle" }, "General E-Sign")));
|
|
12
|
+
React.createElement(Button, { size: "middle", htmlType: "submit", loading: pending, disabled: pending, style: { marginRight: "20px" } }, "Download"),
|
|
13
|
+
React.createElement(Button, { type: "primary", size: "middle", disabled: pending }, "General E-Sign")));
|
|
8
14
|
};
|
|
9
15
|
export default SubmitButton;
|
|
10
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/SubmitButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/legal-generation/components/SubmitButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,+EAA+E;AAC/E,0CAA0C;AAC1C;;;;GAIG;AACH,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,GAAG,KAAK,EAAqB,EAAE,EAAE;IAC/D,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI;QACT,oBAAC,MAAM,IACN,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAC,QAAQ,EACjB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,eAGtB;QACT,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,OAAO,qBAE7C,CACE,CACZ,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import type { CapturedShapeFieldValues } from "@voplus/morpho-compliance/es/components/CapturedShapeFields";
|
|
2
|
+
import type { IIdentityCapture } from "./state";
|
|
3
|
+
/**
|
|
4
|
+
* A complete blank address: the `Address` control reads its value eagerly, and a story's
|
|
5
|
+
* `<Form initialValues>` seeds the same record so an untouched form does not inject `undefined`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const EMPTY_ADDRESS: {
|
|
8
|
+
line1: string;
|
|
9
|
+
line2: string;
|
|
10
|
+
city: string;
|
|
11
|
+
state: string;
|
|
12
|
+
postalCode: string;
|
|
13
|
+
country: string;
|
|
14
|
+
};
|
|
15
|
+
export interface AppointOfficerFieldsProps {
|
|
16
|
+
/** The identity already captured on the document, when re-opening a saved one. */
|
|
17
|
+
identity?: IIdentityCapture;
|
|
18
|
+
/** A reopened document stays with its original company. */
|
|
19
|
+
companyDisabled?: boolean;
|
|
20
|
+
/** An identity-shaped draft awaiting capture, e.g. a wizard step that pre-picks the type. */
|
|
21
|
+
draft?: IIdentityCapture;
|
|
22
|
+
/** Per-field validation messages for the captured identity values. */
|
|
23
|
+
identityFieldErrors?: Partial<Record<keyof CapturedShapeFieldValues, string>>;
|
|
24
|
+
/** Which mode the block opens in; `Create` is the manual-entry branch. Seeds the radio only —
|
|
25
|
+
* after mount the radio owns the mode and the block reports the chosen branch it renders. */
|
|
26
|
+
mode?: "Search" | "Create";
|
|
27
|
+
/** The subject whose identity types the picker offers (spec:3712). */
|
|
28
|
+
subject?: "Person" | "Organization";
|
|
29
|
+
}
|
|
30
|
+
/** Render the selected or manual appointment fields with their captured identity policies. */
|
|
31
|
+
declare const AppointOfficerFields: (props: AppointOfficerFieldsProps) => JSX.Element;
|
|
3
32
|
export default AppointOfficerFields;
|