@voplus/morpho-csp 1.2.24 → 1.2.27
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.map +1 -1
- package/es/components/CurrencyView/state.d.ts +3 -3
- package/es/components/CurrencyView/state.js +3 -3
- package/es/components/CurrencyView/state.js.map +1 -1
- package/es/components/DragTableRow/FormRowContext.d.ts +4 -0
- package/es/components/DragTableRow/FormRowContext.js +5 -0
- package/es/components/DragTableRow/FormRowContext.js.map +1 -0
- package/es/components/DragTableRow/index.d.ts +3 -0
- package/es/components/DragTableRow/index.js +41 -0
- package/es/components/DragTableRow/index.js.map +1 -0
- package/es/components/LegalContactSelect/index.js +4 -2
- package/es/components/LegalContactSelect/index.js.map +1 -1
- package/es/data/account/hooks.d.ts +2 -2
- package/es/data/account/hooks.js +2 -2
- package/es/data/cart/hooks.d.ts +7 -0
- package/es/data/cart/hooks.js +14 -0
- package/es/data/cart/hooks.js.map +1 -0
- package/es/data/cart/index.d.ts +4 -0
- package/es/data/cart/index.js +5 -0
- package/es/data/cart/index.js.map +1 -0
- package/es/data/cart/interfaces.d.ts +58 -0
- package/es/data/cart/interfaces.js +2 -0
- package/es/data/cart/interfaces.js.map +1 -0
- package/es/data/cart/store.d.ts +22 -0
- package/es/data/cart/store.js +65 -0
- package/es/data/cart/store.js.map +1 -0
- package/es/data/cart/types.d.ts +29 -0
- package/es/data/cart/types.js +2 -0
- package/es/data/cart/types.js.map +1 -0
- package/es/data/corporate/hooks.d.ts +2 -2
- package/es/data/corporate/hooks.js +2 -2
- package/es/data/corporate/types.d.ts +1 -0
- package/es/data/entity/EntityStore.d.ts +17 -0
- package/es/data/entity/EntityStore.js +43 -0
- package/es/data/entity/EntityStore.js.map +1 -0
- package/es/data/entity/hooks.d.ts +7 -0
- package/es/data/entity/hooks.js +14 -0
- package/es/data/entity/hooks.js.map +1 -0
- package/es/data/entity/index.d.ts +3 -0
- package/es/data/entity/index.js +4 -0
- package/es/data/entity/index.js.map +1 -0
- package/es/data/entity/interface.d.ts +26 -0
- package/es/data/entity/interface.js +2 -0
- package/es/data/entity/interface.js.map +1 -0
- package/es/data/entity/types.d.ts +26 -0
- package/es/data/entity/types.js +2 -0
- package/es/data/entity/types.js.map +1 -0
- package/es/data/identity/types.d.ts +17 -0
- package/es/data/incorporation-clda/hooks.d.ts +9 -0
- package/es/data/incorporation-clda/hooks.js +20 -0
- package/es/data/incorporation-clda/hooks.js.map +1 -0
- package/es/data/incorporation-clda/index.d.ts +4 -0
- package/es/data/incorporation-clda/index.js +5 -0
- package/es/data/incorporation-clda/index.js.map +1 -0
- package/es/data/incorporation-clda/interfaces.d.ts +30 -0
- package/es/data/incorporation-clda/interfaces.js +2 -0
- package/es/data/incorporation-clda/interfaces.js.map +1 -0
- package/es/data/incorporation-clda/store.d.ts +13 -0
- package/es/data/incorporation-clda/store.js +28 -0
- package/es/data/incorporation-clda/store.js.map +1 -0
- package/es/data/incorporation-clda/types.d.ts +14 -0
- package/es/data/incorporation-clda/types.js +2 -0
- package/es/data/incorporation-clda/types.js.map +1 -0
- package/es/data/incorporation-form/hooks.d.ts +9 -0
- package/es/data/incorporation-form/hooks.js +20 -0
- package/es/data/incorporation-form/hooks.js.map +1 -0
- package/es/data/incorporation-form/index.d.ts +4 -0
- package/es/data/incorporation-form/index.js +5 -0
- package/es/data/incorporation-form/index.js.map +1 -0
- package/es/data/incorporation-form/interfaces.d.ts +31 -0
- package/es/data/incorporation-form/interfaces.js +2 -0
- package/es/data/incorporation-form/interfaces.js.map +1 -0
- package/es/data/incorporation-form/store.d.ts +13 -0
- package/es/data/incorporation-form/store.js +28 -0
- package/es/data/incorporation-form/store.js.map +1 -0
- package/es/data/incorporation-form/types.d.ts +32 -0
- package/es/data/incorporation-form/types.js +2 -0
- package/es/data/incorporation-form/types.js.map +1 -0
- package/es/data/member/hooks.d.ts +2 -2
- package/es/data/member/hooks.js +2 -2
- package/es/data/member/interfaces.d.ts +12 -0
- package/es/data/officer/hooks.d.ts +2 -2
- package/es/data/officer/hooks.js +2 -2
- package/es/data/order/OrderStore.d.ts +12 -0
- package/es/data/order/OrderStore.js +27 -0
- package/es/data/order/OrderStore.js.map +1 -0
- package/es/data/order/hooks.d.ts +13 -0
- package/es/data/order/hooks.js +24 -0
- package/es/data/order/hooks.js.map +1 -0
- package/es/data/order/index.d.ts +4 -0
- package/es/data/order/index.js +5 -0
- package/es/data/order/index.js.map +1 -0
- package/es/data/order/interfaces.d.ts +25 -0
- package/es/data/order/interfaces.js +2 -0
- package/es/data/order/interfaces.js.map +1 -0
- package/es/data/order/types.d.ts +17 -0
- package/es/data/order/types.js +2 -0
- package/es/data/order/types.js.map +1 -0
- package/es/data/service/hooks.d.ts +2 -2
- package/es/data/service/hooks.js +2 -2
- package/es/data/shareCertificate/hooks.d.ts +1 -1
- package/es/data/shareCertificate/hooks.js +1 -1
- package/es/data/shareOptionsRegister/hooks.d.ts +2 -2
- package/es/data/shareOptionsRegister/hooks.js +2 -2
- package/es/data/shareTransaction/hooks.d.ts +2 -2
- package/es/data/shareTransaction/hooks.js +2 -2
- package/es/data/shareTransaction/interfaces/IShareTransaction.d.ts +3 -3
- package/es/modules/account/AccountDefaultView/index.less +0 -18
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js +2 -1
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js +11 -8
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js +13 -10
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js +13 -10
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js +29 -23
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js +13 -10
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/index.d.ts +9 -1
- package/es/modules/corporate/CLDA/CLDAClientView/index.js +21 -12
- package/es/modules/corporate/CLDA/CLDAClientView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/index.less +10 -12
- package/es/modules/corporate/CLDA/CLDADefaultView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.less +13 -18
- package/es/modules/corporate/LegalGeneration/index.less +0 -6
- package/es/modules/corporate/company/CompanyDefaultView/index.js +1 -1
- package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/CompanyDetailsView/index.js +44 -42
- package/es/modules/corporate/company/CompanyDetailsView/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +13 -5
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js +4 -2
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.d.ts +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.less +1 -2
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.d.ts +1 -1
- package/es/modules/order/OrderDefaultView/index.d.ts +4 -0
- package/es/modules/order/OrderDefaultView/index.js +52 -0
- package/es/modules/order/OrderDefaultView/index.js.map +1 -0
- package/es/modules/order/OrderDefaultView/index.less +13 -0
- package/es/modules/order/OrderItem/index.d.ts +6 -0
- package/es/modules/order/OrderItem/index.js +13 -0
- package/es/modules/order/OrderItem/index.js.map +1 -0
- package/es/modules/order/OrderItem/index.less +21 -0
- package/es/modules/order/OrderItems/DragTableCell.d.ts +3 -0
- package/es/modules/order/OrderItems/DragTableCell.js +75 -0
- package/es/modules/order/OrderItems/DragTableCell.js.map +1 -0
- package/es/modules/order/OrderItems/index.d.ts +4 -0
- package/es/modules/order/OrderItems/index.js +160 -0
- package/es/modules/order/OrderItems/index.js.map +1 -0
- package/es/modules/order/OrderItems/index.less +48 -0
- package/es/modules/order/OrderItems/state.d.ts +29 -0
- package/es/modules/order/OrderItems/state.js +89 -0
- package/es/modules/order/OrderItems/state.js.map +1 -0
- package/es/modules/order/OrderLabel/index.d.ts +6 -0
- package/es/modules/order/OrderLabel/index.js +40 -0
- package/es/modules/order/OrderLabel/index.js.map +1 -0
- package/es/modules/order/OrderLabel/index.less +21 -0
- package/es/modules/order/OrderLabel/state.d.ts +10 -0
- package/es/modules/order/OrderLabel/state.js +218 -0
- package/es/modules/order/OrderLabel/state.js.map +1 -0
- package/es/modules/order/OrderListView/index.d.ts +5 -0
- package/es/modules/order/OrderListView/index.js +47 -0
- package/es/modules/order/OrderListView/index.js.map +1 -0
- package/es/modules/order/OrderPropertiesView/index.d.ts +6 -0
- package/es/modules/order/OrderPropertiesView/index.js +39 -0
- package/es/modules/order/OrderPropertiesView/index.js.map +1 -0
- package/es/modules/order/OrderPropertiesView/index.less +13 -0
- package/es/modules/order/context/OrderContext.d.ts +31 -0
- package/es/modules/order/context/OrderContext.js +92 -0
- package/es/modules/order/context/OrderContext.js.map +1 -0
- package/es/modules/order/controls/IncorporationStatusLabel/index.d.ts +10 -0
- package/es/modules/order/controls/IncorporationStatusLabel/index.js +16 -0
- package/es/modules/order/controls/IncorporationStatusLabel/index.js.map +1 -0
- package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/index.d.ts +3 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/index.js +21 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/index.js.map +1 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/state.d.ts +17 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/state.js +48 -0
- package/es/modules/order/controls/filters/IncorporationStatusFilter/state.js.map +1 -0
- package/es/modules/self-registration/components/Card/index.d.ts +16 -0
- package/es/modules/self-registration/components/Card/index.js +20 -0
- package/es/modules/self-registration/components/Card/index.js.map +1 -0
- package/es/modules/self-registration/components/Card/index.less +52 -0
- package/es/modules/self-registration/components/CheckSection/index.d.ts +7 -0
- package/es/modules/self-registration/components/CheckSection/index.js +15 -0
- package/es/modules/self-registration/components/CheckSection/index.js.map +1 -0
- package/es/modules/self-registration/components/CheckSection/index.less +20 -0
- package/es/modules/self-registration/components/MemberCard/index.d.ts +11 -0
- package/es/modules/self-registration/components/MemberCard/index.js +58 -0
- package/es/modules/self-registration/components/MemberCard/index.js.map +1 -0
- package/es/modules/self-registration/components/MemberCard/index.less +53 -0
- package/es/modules/self-registration/components/StripeForm/index.d.ts +11 -0
- package/es/modules/self-registration/components/StripeForm/index.js +61 -0
- package/es/modules/self-registration/components/StripeForm/index.js.map +1 -0
- package/es/modules/self-registration/components/StripeForm/index.less +36 -0
- package/es/modules/self-registration/components/StripeForm/state.d.ts +11 -0
- package/es/modules/self-registration/components/StripeForm/state.js +81 -0
- package/es/modules/self-registration/components/StripeForm/state.js.map +1 -0
- package/es/modules/self-registration/components/index.d.ts +1 -0
- package/es/modules/self-registration/components/index.js +2 -0
- package/es/modules/self-registration/components/index.js.map +1 -0
- package/es/modules/self-registration/controls/Blink/index.d.ts +13 -0
- package/es/modules/self-registration/controls/Blink/index.js +13 -0
- package/es/modules/self-registration/controls/Blink/index.js.map +1 -0
- package/es/modules/self-registration/controls/Blink/index.less +27 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/index.d.ts +9 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/index.js +42 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/index.js.map +1 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/state.d.ts +17 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/state.js +48 -0
- package/es/modules/self-registration/controls/BusinessActivityInput/state.js.map +1 -0
- package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +30 -0
- package/es/modules/self-registration/controls/BusinessNameInput/index.js +115 -0
- package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.d.ts +11 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js +19 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js.map +1 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.d.ts +6 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js +23 -0
- package/es/modules/self-registration/controls/BusinessNameInputFormItem/state.js.map +1 -0
- package/es/modules/self-registration/controls/Section/index.d.ts +13 -0
- package/es/modules/self-registration/controls/Section/index.js +15 -0
- package/es/modules/self-registration/controls/Section/index.js.map +1 -0
- package/es/modules/self-registration/controls/Section/index.less +79 -0
- package/es/modules/self-registration/controls/Tips/BusinessActivityTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/BusinessActivityTip.js +30 -0
- package/es/modules/self-registration/controls/Tips/BusinessActivityTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/BusinessNameTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/BusinessNameTip.js +13 -0
- package/es/modules/self-registration/controls/Tips/BusinessNameTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/CapitalTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/CapitalTip.js +11 -0
- package/es/modules/self-registration/controls/Tips/CapitalTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/DirectorTip.d.ts +5 -0
- package/es/modules/self-registration/controls/Tips/DirectorTip.js +25 -0
- package/es/modules/self-registration/controls/Tips/DirectorTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/FYETip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/FYETip.js +13 -0
- package/es/modules/self-registration/controls/Tips/FYETip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/IncorporationTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/IncorporationTip.js +9 -0
- package/es/modules/self-registration/controls/Tips/IncorporationTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js +13 -0
- package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/SecretaryTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/SecretaryTip.js +15 -0
- package/es/modules/self-registration/controls/Tips/SecretaryTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/ShareholderTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/ShareholderTip.js +11 -0
- package/es/modules/self-registration/controls/Tips/ShareholderTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/SharesTip.d.ts +3 -0
- package/es/modules/self-registration/controls/Tips/SharesTip.js +9 -0
- package/es/modules/self-registration/controls/Tips/SharesTip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/Tip.d.ts +5 -0
- package/es/modules/self-registration/controls/Tips/Tip.js +10 -0
- package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -0
- package/es/modules/self-registration/controls/Tips/index.d.ts +10 -0
- package/es/modules/self-registration/controls/Tips/index.js +11 -0
- package/es/modules/self-registration/controls/Tips/index.js.map +1 -0
- package/es/modules/self-registration/controls/index.d.ts +1 -0
- package/es/modules/self-registration/controls/index.js +2 -0
- package/es/modules/self-registration/controls/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.d.ts +12 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.js +42 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/IncorporationCLDAClientContext.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.d.ts +3 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.js +44 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationCLDAClientView/index.less +9 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.d.ts +6 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.js +25 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/IncorporationDefaultView/index.less +18 -0
- package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.d.ts +3 -0
- package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js +33 -0
- package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js +30 -0
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-clda/components/StartStep/index.d.ts +3 -0
- package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js +16 -0
- package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.js +54 -0
- package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/ApplicationProcessing/index.less +37 -0
- package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.d.ts +4 -0
- package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.js +85 -0
- package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CLDAIncorporationDefaultView/index.less +26 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.js +91 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/CompanyInfo/index.less +7 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.d.ts +6 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.js +92 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.d.ts +11 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.js +45 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/OfficerList/state.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.d.ts +6 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.js +74 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareCapital/index.less +28 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.d.ts +6 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.js +106 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.d.ts +11 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.js +45 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/ShareholderList/state.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.d.ts +12 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.js +63 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/CompanyInfoForm/index.less +25 -0
- package/es/modules/self-registration/incorporation-form/Download/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/Download/index.js +71 -0
- package/es/modules/self-registration/incorporation-form/Download/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/Download/index.less +41 -0
- package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.d.ts +19 -0
- package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.js +33 -0
- package/es/modules/self-registration/incorporation-form/IncorporationFormRoutes.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/Upload/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/Upload/index.js +48 -0
- package/es/modules/self-registration/incorporation-form/Upload/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/Upload/index.less +15 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.js +32 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromProperties/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.js +55 -0
- package/es/modules/self-registration/incorporation-form/components/IncorporationFromReview/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.d.ts +11 -0
- package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js +75 -0
- package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.less +74 -0
- package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.d.ts +6 -0
- package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.js +16 -0
- package/es/modules/self-registration/incorporation-form/controls/IncorpoationFormMenu/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.d.ts +3 -0
- package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js +11 -0
- package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.d.ts +5 -0
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.js +23 -0
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.js.map +1 -0
- package/es/modules/self-registration/incorporation-form/pages/IncorporationFromDefaultView/index.less +28 -0
- package/es/modules/self-registration/shopping-cart/CartState.d.ts +55 -0
- package/es/modules/self-registration/shopping-cart/CartState.js +245 -0
- package/es/modules/self-registration/shopping-cart/CartState.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/ChooseService/index.d.ts +5 -0
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js +79 -0
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -0
- package/es/modules/self-registration/shopping-cart/Paid.d.ts +5 -0
- package/es/modules/self-registration/shopping-cart/Paid.js +31 -0
- package/es/modules/self-registration/shopping-cart/Paid.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/Payment/index.d.ts +5 -0
- package/es/modules/self-registration/shopping-cart/Payment/index.js +30 -0
- package/es/modules/self-registration/shopping-cart/Payment/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -0
- package/es/modules/self-registration/shopping-cart/components/Arrangement.d.ts +5 -0
- package/es/modules/self-registration/shopping-cart/components/Arrangement.js +16 -0
- package/es/modules/self-registration/shopping-cart/components/Arrangement.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/Incorporation.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/Incorporation.js +35 -0
- package/es/modules/self-registration/shopping-cart/components/Incorporation.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/NameAndActivities.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js +37 -0
- package/es/modules/self-registration/shopping-cart/components/NameAndActivities.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/Pay/index.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/Pay/index.js +28 -0
- package/es/modules/self-registration/shopping-cart/components/Pay/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -0
- package/es/modules/self-registration/shopping-cart/components/Register.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/Register.js +76 -0
- package/es/modules/self-registration/shopping-cart/components/Register.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/Secretary.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/Secretary.js +63 -0
- package/es/modules/self-registration/shopping-cart/components/Secretary.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js +137 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.d.ts +12 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js +48 -0
- package/es/modules/self-registration/shopping-cart/components/ShareHolders/state.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.d.ts +11 -0
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js +56 -0
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -0
- package/es/modules/self-registration/shopping-cart/components/index.d.ts +8 -0
- package/es/modules/self-registration/shopping-cart/components/index.js +9 -0
- package/es/modules/self-registration/shopping-cart/components/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/components/styles.less +23 -0
- package/es/modules/self-registration/shopping-cart/index.d.ts +3 -0
- package/es/modules/self-registration/shopping-cart/index.js +4 -0
- package/es/modules/self-registration/shopping-cart/index.js.map +1 -0
- package/es/modules/self-registration/shopping-cart/pages.less +6 -0
- package/es/routes.d.ts +51 -1
- package/es/routes.js +81 -1
- package/es/routes.js.map +1 -1
- package/es/style/common.less +14 -1
- package/package.json +6 -3
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** value */
|
|
6
|
+
Object.defineProperty(this, "value", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: ""
|
|
11
|
+
});
|
|
12
|
+
/** 保存时加载状态 */
|
|
13
|
+
Object.defineProperty(this, "loading", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: false
|
|
18
|
+
});
|
|
19
|
+
/** activity list */
|
|
20
|
+
Object.defineProperty(this, "activityDescriptions", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: []
|
|
25
|
+
});
|
|
26
|
+
/** activity list */
|
|
27
|
+
Object.defineProperty(this, "source", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
configurable: true,
|
|
30
|
+
writable: true,
|
|
31
|
+
value: []
|
|
32
|
+
});
|
|
33
|
+
makeObservable(this);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
__decorate([
|
|
37
|
+
observable
|
|
38
|
+
], State.prototype, "value", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
observable
|
|
41
|
+
], State.prototype, "loading", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
observable
|
|
44
|
+
], State.prototype, "activityDescriptions", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
observable
|
|
47
|
+
], State.prototype, "source", void 0);
|
|
48
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/BusinessActivityInput/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IAUjB;QATA,YAAY;QACA;;;;mBAAe,EAAE;WAAC;QAC9B,cAAc;QACF;;;;mBAAiB,KAAK;WAAC;QACnC,oBAAoB;QACR;;;;mBAAkE,EAAE;WAAC;QACjF,oBAAoB;QACR;;;;mBAAoD,EAAE;WAAC;QAGlE,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AAXY;IAAX,UAAU;oCAAmB;AAElB;IAAX,UAAU;sCAAwB;AAEvB;IAAX,UAAU;mDAAsE;AAErE;IAAX,UAAU;qCAAwD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type BusinessNameValidateStatus = {
|
|
3
|
+
/** True: checking started. False: checking completed. */
|
|
4
|
+
checking: boolean;
|
|
5
|
+
/** duplicated business name or undefined if no duplicats. */
|
|
6
|
+
duplicate?: {
|
|
7
|
+
entity_name: string;
|
|
8
|
+
uen: string;
|
|
9
|
+
};
|
|
10
|
+
/** Input validate status */
|
|
11
|
+
validateStatus?: "validating" | "error";
|
|
12
|
+
hasFeedback?: boolean;
|
|
13
|
+
help?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BusinessNameInput: {
|
|
16
|
+
(props: {
|
|
17
|
+
value: string;
|
|
18
|
+
errorIfEmpty: boolean;
|
|
19
|
+
forceUpperCase: boolean;
|
|
20
|
+
onBlur?: (() => void) | undefined;
|
|
21
|
+
onChange?: ((value: string) => void) | undefined;
|
|
22
|
+
/** Callback to perform logic upron checking status. */
|
|
23
|
+
onValidate?: ((status: BusinessNameValidateStatus) => void) | undefined;
|
|
24
|
+
}): JSX.Element;
|
|
25
|
+
defaultProps: {
|
|
26
|
+
errorIfEmpty: boolean;
|
|
27
|
+
forceUpperCase: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default BusinessNameInput;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import TimeoutInput from "@voplus/morpho-ui/es/controls/TimeoutInput";
|
|
3
|
+
const BusinessNameInput = (props) => {
|
|
4
|
+
const [check, setCheck] = useState(false);
|
|
5
|
+
const [value, setValue] = useState("");
|
|
6
|
+
if (!check) {
|
|
7
|
+
checkName(props.value);
|
|
8
|
+
}
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
console.log(props.value, "props.value");
|
|
11
|
+
setValue(props.value);
|
|
12
|
+
}, [props.value]);
|
|
13
|
+
return (React.createElement(TimeoutInput, { placeholder: "Company Name", onChange: (e) => props.onChange &&
|
|
14
|
+
props.onChange(props.forceUpperCase ? e.target.value.toUpperCase() : e.target.value), onBlur: onBlur, onIdle: (s) => checkName(s), value: value }));
|
|
15
|
+
function onBlur() {
|
|
16
|
+
// if (!value || value.trim() === props.value) return;
|
|
17
|
+
props.onBlur && props.onBlur();
|
|
18
|
+
}
|
|
19
|
+
function removePostfix(name) {
|
|
20
|
+
const validPostFix = [
|
|
21
|
+
["pte", "ltd"],
|
|
22
|
+
["private", "limited"],
|
|
23
|
+
["private", "ltd"],
|
|
24
|
+
["pte", "limited"],
|
|
25
|
+
];
|
|
26
|
+
//invariant(name, "Entity name cannot be empty.");
|
|
27
|
+
let split = [];
|
|
28
|
+
for (const p of validPostFix) {
|
|
29
|
+
split = name.split(" ").filter((x) => !!x);
|
|
30
|
+
if (split.length < p.length)
|
|
31
|
+
continue;
|
|
32
|
+
const postFix = split.splice(split.length - p.length, p.length);
|
|
33
|
+
postFix.forEach((v, i) => (postFix[i] = postFix[i].toLowerCase()));
|
|
34
|
+
for (const v of postFixesVariants(p)) {
|
|
35
|
+
// https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
36
|
+
if (JSON.stringify(postFix) == JSON.stringify(v)) {
|
|
37
|
+
split.forEach((v, i) => (split[i] = split[i].toUpperCase()));
|
|
38
|
+
return split.join(" ");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return upperAndTrim(name);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get possible variants for a postfix
|
|
46
|
+
* e.g. pte ltd => [pte ltd] [pte. ltd] [pte ltd.] [pte. ltd.]
|
|
47
|
+
*/
|
|
48
|
+
function postFixesVariants(postfix) {
|
|
49
|
+
const variants = [];
|
|
50
|
+
if (postfix.length === 1) {
|
|
51
|
+
variants.push(postfix);
|
|
52
|
+
variants.push([postfix[0] + "."]);
|
|
53
|
+
}
|
|
54
|
+
if (postfix.length === 2) {
|
|
55
|
+
variants.push(postfix);
|
|
56
|
+
variants.push([postfix[0] + ".", postfix[1]]);
|
|
57
|
+
variants.push([postfix[0], postfix[1] + "."]);
|
|
58
|
+
variants.push([postfix[0] + ".", postfix[1] + "."]);
|
|
59
|
+
}
|
|
60
|
+
return variants;
|
|
61
|
+
}
|
|
62
|
+
function checkName(name) {
|
|
63
|
+
setCheck(true);
|
|
64
|
+
if (!props.onValidate)
|
|
65
|
+
return;
|
|
66
|
+
const status = {
|
|
67
|
+
checking: true,
|
|
68
|
+
hasFeedback: true,
|
|
69
|
+
validateStatus: "validating",
|
|
70
|
+
help: "Checking company name",
|
|
71
|
+
};
|
|
72
|
+
if (props.errorIfEmpty && !name) {
|
|
73
|
+
status.validateStatus = "error";
|
|
74
|
+
status.help = "Company name cannot be empty.";
|
|
75
|
+
props.onValidate(status);
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const clean = removePostfix(name);
|
|
79
|
+
if (clean === upperAndTrim(name)) {
|
|
80
|
+
status.validateStatus = "error";
|
|
81
|
+
status.help =
|
|
82
|
+
"Company name must ends with either 'PTE LTD' or 'PRIVATE LIMITED' or 'PRIVATE LTD' or 'PTE LIMITED' .";
|
|
83
|
+
props.onValidate(status);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
props.onValidate(status);
|
|
88
|
+
status.checking = false;
|
|
89
|
+
delete status["validateStatus"];
|
|
90
|
+
delete status["help"];
|
|
91
|
+
// no duplicate
|
|
92
|
+
status.hasFeedback = false;
|
|
93
|
+
props.onValidate(Object.assign({}, status));
|
|
94
|
+
}
|
|
95
|
+
catch (err) {
|
|
96
|
+
status.validateStatus = "error";
|
|
97
|
+
status.help = err.toString();
|
|
98
|
+
props.onValidate(Object.assign({}, status));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function upperAndTrim(name) {
|
|
102
|
+
return name
|
|
103
|
+
.toUpperCase()
|
|
104
|
+
.split(" ")
|
|
105
|
+
.filter((x) => !!x)
|
|
106
|
+
.join(" ")
|
|
107
|
+
.trim();
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
BusinessNameInput.defaultProps = {
|
|
111
|
+
errorIfEmpty: true,
|
|
112
|
+
forceUpperCase: true,
|
|
113
|
+
};
|
|
114
|
+
export default BusinessNameInput;
|
|
115
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/BusinessNameInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,YAAY,MAA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AAM,CAAC,cAAc,GAAG,OAAO,CAAC;YAChC,MAAM,CAAC,IAAI;gBACV,uGAAuG,CAAC;YACzG,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACzB,OAAO;SACP;QAED,IAAI;YACH,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACzB,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC;YACxB,OAAO,MAAM,CAAC,gBAAgB,CAAC,CAAC;YAChC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;YAEtB,eAAe;YACf,MAAM,CAAC,WAAW,GAAG,KAAK,CAAC;YAC3B,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;SAC5C;QAAC,OAAO,GAAG,EAAE;YACb,MAAM,CAAC,cAAc,GAAG,OAAO,CAAC;YAChC,MAAM,CAAC,IAAI,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;YAC7B,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;SAC5C;IACF,CAAC;IAED,SAAS,YAAY,CAAC,IAAY;QACjC,OAAO,IAAI;aACT,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAClB,IAAI,CAAC,GAAG,CAAC;aACT,IAAI,EAAE,CAAC;IACV,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAChC,YAAY,EAAE,IAAI;IAClB,cAAc,EAAE,IAAI;CACpB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BusinessNameValidateStatus } from "../BusinessNameInput";
|
|
3
|
+
declare const BusinessNameInputFormItem: (props: {
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
value: string;
|
|
6
|
+
onBlur?: ((validateStatus: BusinessNameValidateStatus) => void) | undefined;
|
|
7
|
+
onSave?: (() => void) | undefined;
|
|
8
|
+
onCancel?: (() => void) | undefined;
|
|
9
|
+
onChange?: ((v: string) => void) | undefined;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
export default BusinessNameInputFormItem;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import BusinessNameInput from "../BusinessNameInput";
|
|
2
|
+
import { Button, Form } from "@voplus/antd";
|
|
3
|
+
import React, { useState } from "react";
|
|
4
|
+
import { State } from "./state";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
const BusinessNameInputFormItem = (props) => {
|
|
7
|
+
const [state] = useState(new State());
|
|
8
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
|
9
|
+
React.createElement(Form.Item, { validateStatus: state.nameValidateStatus.validateStatus, hasFeedback: state.nameValidateStatus.hasFeedback, help: state.nameValidateStatus.help, label: props.label, key: "business-name" },
|
|
10
|
+
React.createElement(BusinessNameInput, { value: props.value, onChange: props.onChange, onBlur: () => {
|
|
11
|
+
var _a;
|
|
12
|
+
(_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, state.nameValidateStatus);
|
|
13
|
+
}, onValidate: (s) => state.onValidate(s) })),
|
|
14
|
+
props.onSave && (React.createElement("div", null,
|
|
15
|
+
React.createElement(Button, { type: "primary", disabled: !!state.nameValidateStatus.validateStatus || state.nameValidateStatus.checking, onClick: props.onSave }, "Save"),
|
|
16
|
+
React.createElement(Button, { onClick: props.onCancel, style: { marginLeft: "1rem" } }, "cancel"))))));
|
|
17
|
+
};
|
|
18
|
+
export default BusinessNameInputFormItem;
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/BusinessNameInputFormItem/index.tsx"],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AO,EAAE,KAAK,CAAC,MAAM,WAGb;YACT,oBAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAErD,CACJ,CACN,CACe,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { action, makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
Object.defineProperty(this, "nameValidateStatus", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
configurable: true,
|
|
8
|
+
writable: true,
|
|
9
|
+
value: { checking: false }
|
|
10
|
+
});
|
|
11
|
+
makeObservable(this);
|
|
12
|
+
}
|
|
13
|
+
onValidate(s) {
|
|
14
|
+
this.nameValidateStatus = s;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
observable
|
|
19
|
+
], State.prototype, "nameValidateStatus", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
action
|
|
22
|
+
], State.prototype, "onValidate", null);
|
|
23
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/BusinessNameInputFormItem/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAY,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIpE,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;mBAAwD,EAAE,QAAQ,EAAE,KAAK,EAAE;WAAC;QAGvF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGM,UAAU,CAAC,CAA6B;QAC9C,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;IAC7B,CAAC;CACD;AAVY;IAAX,UAAU;iDAA6E;AAOxF;IADC,MAAM;uCAGN"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const Section: {
|
|
3
|
+
(props: {
|
|
4
|
+
children: React.ReactNode | React.ReactNode[];
|
|
5
|
+
title: React.ReactNode | React.ReactNode[];
|
|
6
|
+
className?: string;
|
|
7
|
+
divider?: boolean;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
divider: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Section;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import classNames from "classnames";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Card, Divider } from "@voplus/antd";
|
|
4
|
+
import styles from "./index.less";
|
|
5
|
+
const Section = (props) => {
|
|
6
|
+
return (React.createElement(Card, { className: classNames(styles["section"], props.className) },
|
|
7
|
+
React.createElement("div", { className: "section-title" }, props.title),
|
|
8
|
+
props.title && props.divider && React.createElement(Divider, null),
|
|
9
|
+
React.createElement("div", { className: "section-content" }, props.children)));
|
|
10
|
+
};
|
|
11
|
+
Section.defaultProps = {
|
|
12
|
+
divider: false,
|
|
13
|
+
};
|
|
14
|
+
export default Section;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Section/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,OAAO,GAAG,CAAC,KAKhB,EAAE,EAAE;IACJ,OAAO,CACN,oBAAC,IAAI,IAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC9D,6BAAK,SAAS,EAAE,eAAe,IAAG,KAAK,CAAC,KAAK,CAAO;QACnD,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,IAAI,oBAAC,OAAO,OAAG;QAC5C,6BAAK,SAAS,EAAE,iBAAiB,IAAG,KAAK,CAAC,QAAQ,CAAO,CACnD,CACP,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,CAAC,YAAY,GAAG;IACtB,OAAO,EAAE,KAAK;CACd,CAAC;AACF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
|
|
3
|
+
@section-box-background: rgb(237, 246, 255);
|
|
4
|
+
@section-active-color: rgb(42, 130, 219);
|
|
5
|
+
.section {
|
|
6
|
+
margin-bottom: 1rem;
|
|
7
|
+
|
|
8
|
+
:global {
|
|
9
|
+
.section-title {
|
|
10
|
+
font-size: 22px;
|
|
11
|
+
line-height: 30px;
|
|
12
|
+
color: #333;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
svg {
|
|
15
|
+
color: @section-active-color;
|
|
16
|
+
margin-right: 15px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.ant-divider {
|
|
20
|
+
margin-bottom: 0;
|
|
21
|
+
}
|
|
22
|
+
.section-content {
|
|
23
|
+
padding-top: 20px;
|
|
24
|
+
|
|
25
|
+
.box-card {
|
|
26
|
+
min-width: 200px !important;
|
|
27
|
+
background: @section-box-background;
|
|
28
|
+
margin-right: 20px;
|
|
29
|
+
border-radius: 10px;
|
|
30
|
+
box-shadow: none !important;
|
|
31
|
+
min-height: 180px;
|
|
32
|
+
margin-bottom: 1rem;
|
|
33
|
+
|
|
34
|
+
> div {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
.icon {
|
|
38
|
+
font-size: 3rem;
|
|
39
|
+
svg {
|
|
40
|
+
color: @section-active-color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.service {
|
|
44
|
+
width: 170px;
|
|
45
|
+
padding: 0 20px;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
white-space: wrap;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
> .ant-card-head-title {
|
|
51
|
+
color: @section-active-color;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.selectable {
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
background: rgb(248, 248, 248);
|
|
57
|
+
&:hover,
|
|
58
|
+
&.selected {
|
|
59
|
+
background: @section-box-background;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
&.selected {
|
|
63
|
+
border: 1px solid @section-active-color !important; //darken(@section-box-background, 5%) !important;
|
|
64
|
+
}
|
|
65
|
+
.delete-button {
|
|
66
|
+
position: absolute;
|
|
67
|
+
right: 1rem;
|
|
68
|
+
bottom: 1rem;
|
|
69
|
+
color: silver;
|
|
70
|
+
&:hover {
|
|
71
|
+
color: @error-color;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"The Singapore Standard Industrial Classification (SSIC) ",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"is the national standard for classifying economic ",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"activities undertaken by economic units and is used by ",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"The Accounting and Corporate Regulatory Authority (ACRA)",
|
|
12
|
+
React.createElement("br", null),
|
|
13
|
+
"to indicate the nature of your business. ",
|
|
14
|
+
React.createElement("br", null),
|
|
15
|
+
React.createElement("br", null),
|
|
16
|
+
"Frequently Selected Activities: ",
|
|
17
|
+
React.createElement("br", null),
|
|
18
|
+
"46900 Wholesale trade of a variety of goods without a dominant product",
|
|
19
|
+
React.createElement("br", null),
|
|
20
|
+
"47910 Retail sale via internet (with income mainly from online sales)",
|
|
21
|
+
React.createElement("br", null),
|
|
22
|
+
"62019 Development of other software and programming activities n.e.c.",
|
|
23
|
+
React.createElement("br", null),
|
|
24
|
+
"62021 Information technology consultancy (except cybersecurity)",
|
|
25
|
+
React.createElement("br", null),
|
|
26
|
+
"62090 Other information technology and computer service activities (eg disaster recovery services)",
|
|
27
|
+
React.createElement("br", null),
|
|
28
|
+
"70201 Management consultancy services (general)") }));
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=BusinessActivityTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessActivityTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/BusinessActivityTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YACyD,+BAAM;;YACZ,+BAAM;;YACD,+BAAM;;YAE7D,+BAAM;;YACmC,+BAAM;YAC/C,+BAAM;;YAC0B,+BAAM;;YAEtC,+BAAM;;YAEN,+BAAM;;YAEN,+BAAM;;YAEN,+BAAM;;YAGN,+BAAM;8DAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"This is the business name of your ",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"new company and it has to be approved ",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"by The Accounting and Corporate Regulatory ",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"Authority. Read More") }));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=BusinessNameTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessNameTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/BusinessNameTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YACmC,+BAAM;;YACF,+BAAM;;YACD,+BAAM;mCAE3C,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"The minimum paid-up capital for registration of ",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"Singapore company is S$1. Paid-up capital (or share capital)",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"can be increased anytime after the incorporation of the company.") }));
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=CapitalTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CapitalTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/CapitalTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YACiD,+BAAM;;YAEtD,+BAAM;+EAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default (props) => {
|
|
4
|
+
return (React.createElement(Tip, { content: props.version === "cart" ? (React.createElement("span", null,
|
|
5
|
+
"Both Singapore-resident and foreign-resident persons can",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"be directors of a Singapore company. Corporate directors",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"are not permitted. A company must have at least one Singapore ",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"resident director. Singapore-resident is defined as someone who is: ",
|
|
12
|
+
React.createElement("br", null),
|
|
13
|
+
React.createElement("ul", null,
|
|
14
|
+
React.createElement("li", null, "A Singapore citizen;"),
|
|
15
|
+
React.createElement("li", null, "A Singapore Permanent Resident or;"),
|
|
16
|
+
React.createElement("li", null, "An Employment Pass holder.")),
|
|
17
|
+
"If you do not have a local director, VoPlus can provide a Local Nominee Director")) : (React.createElement("span", null,
|
|
18
|
+
"To appoint at least one person ordinarily resident",
|
|
19
|
+
React.createElement("br", null),
|
|
20
|
+
"in Singapore as the company director. There is no ",
|
|
21
|
+
React.createElement("br", null),
|
|
22
|
+
"limit on the number of local or foreign directors.",
|
|
23
|
+
React.createElement("br", null))) }));
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=DirectorTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectorTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/DirectorTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,CAAC,KAAmC,EAAE,EAAE;IACtD,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN,KAAK,CAAC,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B;;YAEC,+BAAM;;YAEN,+BAAM;;YACwD,+BAAM;;YACA,+BAAM;YAC1E;gBACC,uDAA6B;gBAC7B,qEAA2C;gBAC3C,6DAAmC,CAC/B;+FAEC,CACP,CAAC,CAAC,CAAC,CACH;;YAEC,+BAAM;;YAC4C,+BAAM;;YAExD,+BAAM,CACA,CACP,GAED,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"The FYE will determine when your corporate filings",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"and taxes are due. Most companies chose month end of their ",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"company's incorporation date, 31 March, ",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"30 June, 30 September or 31 December.") }));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=FYETip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FYETip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/FYETip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YAEC,+BAAM;;YACqD,+BAAM;;YACpB,+BAAM;oDAE7C,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"Registration of your new company in Singapore with",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"The Accounting and Corporate Regulatory Authority (ACRA)") }));
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IncorporationTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncorporationTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/IncorporationTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YAEC,+BAAM;uEAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"This is the physical Singapore address of ",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"your new company that will be registered with",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"The Accounting and Corporate Regulatory Authority",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"and must Not be a P.O. box.") }));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=RegisteredAddressTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisteredAddressTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/RegisteredAddressTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YAC2C,+BAAM;;YAEhD,+BAAM;;YAEN,+BAAM;0CAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"According to the Singapore Companies Act,",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"every company must appoint a qualified ",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"company secretary within 6 months of incorporation.",
|
|
10
|
+
React.createElement("br", null),
|
|
11
|
+
"The company secretary must be a natural ",
|
|
12
|
+
React.createElement("br", null),
|
|
13
|
+
"person who is ordinarily resident in Singapore.") }));
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=SecretaryTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretaryTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/SecretaryTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YAEC,+BAAM;;YACiC,+BAAM;;YAE7C,+BAAM;;YACkC,+BAAM;8DAExC,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Tip from "./Tip";
|
|
3
|
+
export default () => {
|
|
4
|
+
return (React.createElement(Tip, { content: React.createElement("span", null,
|
|
5
|
+
"A company must have a minimum of 1 and a maximum of 50 ",
|
|
6
|
+
React.createElement("br", null),
|
|
7
|
+
"shareholders who can be local or foreign persons. ",
|
|
8
|
+
React.createElement("br", null),
|
|
9
|
+
"Shareholders can be natural persons or corporate entities") }));
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=ShareholderTip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareholderTip.js","sourceRoot":"","sources":["../../../../../src/modules/self-registration/controls/Tips/ShareholderTip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe,GAAG,EAAE;IACnB,OAAO,CACN,oBAAC,GAAG,IACH,OAAO,EACN;;YACwD,+BAAM;;YACX,+BAAM;wEAElD,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
|