@voplus/morpho-csp 1.2.65 → 1.2.67

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.
Files changed (54) hide show
  1. package/es/data/incorporation-form/interfaces.d.ts +13 -2
  2. package/es/data/incorporation-form/types.d.ts +5 -1
  3. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step2.js +3 -3
  4. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/Step2.js.map +1 -1
  5. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.d.ts +1 -0
  6. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js +8 -2
  7. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.js.map +1 -1
  8. package/es/modules/self-registration/controls/Tips/BusinessNameTip.js +1 -1
  9. package/es/modules/self-registration/controls/Tips/BusinessNameTip.js.map +1 -1
  10. package/es/modules/self-registration/controls/Tips/FYETip.js +5 -3
  11. package/es/modules/self-registration/controls/Tips/FYETip.js.map +1 -1
  12. package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js +1 -1
  13. package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.js.map +1 -1
  14. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js +13 -7
  15. package/es/modules/self-registration/incorporation-clda/components/DetailsStep/index.js.map +1 -1
  16. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js +6 -2
  17. package/es/modules/self-registration/incorporation-clda/components/StartStep/index.js.map +1 -1
  18. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.js +9 -3
  19. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.js.map +1 -1
  20. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +5 -5
  21. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
  22. package/es/modules/self-registration/incorporation-form/components/CompanyInfo/index.js +6 -3
  23. package/es/modules/self-registration/incorporation-form/components/CompanyInfo/index.js.map +1 -1
  24. package/es/modules/self-registration/incorporation-form/components/CompanyInfo/index.less +4 -0
  25. package/es/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.d.ts +7 -0
  26. package/es/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.js +18 -0
  27. package/es/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.js.map +1 -0
  28. package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.d.ts +1 -0
  29. package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.js +28 -22
  30. package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.js.map +1 -1
  31. package/es/modules/self-registration/incorporation-form/components/IncorporationFormReview/index.less +8 -0
  32. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.d.ts +7 -9
  33. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js +72 -126
  34. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.js.map +1 -1
  35. package/es/modules/self-registration/incorporation-form/components/MemberInfo/index.less +20 -3
  36. package/es/modules/self-registration/incorporation-form/components/NewDirectorDialog/index.d.ts +7 -0
  37. package/es/modules/self-registration/incorporation-form/components/NewDirectorDialog/index.js +84 -0
  38. package/es/modules/self-registration/incorporation-form/components/NewDirectorDialog/index.js.map +1 -0
  39. package/es/modules/self-registration/incorporation-form/components/NewShareholderDialog/index.d.ts +8 -0
  40. package/es/modules/self-registration/incorporation-form/components/NewShareholderDialog/index.js +92 -0
  41. package/es/modules/self-registration/incorporation-form/components/NewShareholderDialog/index.js.map +1 -0
  42. package/es/modules/self-registration/incorporation-form/components/NewShareholderDialog/index.less +7 -0
  43. package/es/modules/self-registration/incorporation-form/components/OfficerList/index.js +13 -44
  44. package/es/modules/self-registration/incorporation-form/components/OfficerList/index.js.map +1 -1
  45. package/es/modules/self-registration/incorporation-form/components/ShareCapital/index.js +5 -3
  46. package/es/modules/self-registration/incorporation-form/components/ShareCapital/index.js.map +1 -1
  47. package/es/modules/self-registration/incorporation-form/components/ShareholderList/index.js +15 -46
  48. package/es/modules/self-registration/incorporation-form/components/ShareholderList/index.js.map +1 -1
  49. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js +13 -4
  50. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/index.js.map +1 -1
  51. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/state.d.ts +7 -0
  52. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/state.js +20 -0
  53. package/es/modules/self-registration/incorporation-form/pages/IncoprorationFormClientView/state.js.map +1 -0
  54. package/package.json +1 -1
@@ -2,12 +2,18 @@ import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
2
2
  import { IDocument } from "@voplus/morpho-document-core";
3
3
  import { IdentityEditDataOptions } from "../identity";
4
4
  export interface IFormPeopleOptions {
5
+ /** 需要前端自己生成,可以用uuid */
6
+ id: string;
5
7
  name?: string;
6
8
  email?: string;
7
9
  phone?: string;
8
10
  address?: IAddress;
9
11
  identity?: IdentityEditDataOptions;
10
12
  }
13
+ export interface IShareholderOptions {
14
+ id: string;
15
+ shares: number;
16
+ }
11
17
  export interface IFormContent {
12
18
  /** name of the entity user going to incorporate 实体用户的名称 */
13
19
  legalEntityName: string;
@@ -19,13 +25,18 @@ export interface IFormContent {
19
25
  capital: number;
20
26
  /** total number of shares 股份总数 */
21
27
  shares: number;
28
+ contacts?: IFormPeopleOptions[];
29
+ officerIds?: string[];
30
+ shareholders?: IShareholderOptions[];
31
+ address: IAddress | null;
32
+ /** Officers,members等改好就移除 */
22
33
  /** list of members */
23
34
  officers: IFormPeopleOptions[];
24
35
  /** list of members */
25
36
  members: IFormPeopleOptions[];
26
- /** registered address of the company 公司注册地址 */
27
- address: IAddress | null;
28
37
  }
29
38
  export interface IIncorporationForm extends IDocument {
30
39
  content: IFormContent;
40
+ /** submit date */
41
+ submitDate?: string;
31
42
  }
@@ -1,4 +1,4 @@
1
- import { IFormPeopleOptions, IIncorporationForm } from "./interfaces";
1
+ import { IFormPeopleOptions, IIncorporationForm, IShareholderOptions } from "./interfaces";
2
2
  import { IAddress } from "@voplus/morpho-org/es/data/interfaces/IAddress";
3
3
  import { LoadOptions } from "@voplus/morpho-data";
4
4
  /** Custom load contact options type */
@@ -23,10 +23,14 @@ export declare type EditIncorporationFormOptions = {
23
23
  capital?: number;
24
24
  /** total number of shares 股份总数 */
25
25
  shares?: number;
26
+ contacts?: IFormPeopleOptions[];
27
+ officerIds?: string[];
28
+ shareholders?: IShareholderOptions[];
26
29
  /** list of members */
27
30
  officers?: IFormPeopleOptions[];
28
31
  /** list of members */
29
32
  members?: IFormPeopleOptions[];
30
33
  /** registered address of the company 公司注册地址 */
31
34
  address?: IAddress | null;
35
+ status?: string;
32
36
  };
@@ -1,5 +1,5 @@
1
- import React from "react";
2
1
  import { Button, Divider, Form, Input, Radio } from "@voplus/antd";
2
+ import React from "react";
3
3
  import { observe } from "@voplus/morpho-ui";
4
4
  import { runInAction } from "mobx";
5
5
  import { useLegalContext } from "./state";
@@ -14,8 +14,8 @@ const Step2 = () => {
14
14
  React.createElement(Divider, { plain: true, style: { margin: "15px 0" } }),
15
15
  React.createElement("div", null, "Full Name Order"),
16
16
  React.createElement(Radio.Group, { value: legal.orderName, onChange: (e) => runInAction(() => (legal.orderName = e.target.value)) },
17
- React.createElement(Radio, { value: "Western", style: { padding: "10px 0" } }, "Fist Middle Last ( Western )"),
18
- React.createElement(Radio, { value: "Eastern", style: { padding: "10px 0" } }, "Last First ( Eastern )")),
17
+ React.createElement(Radio, { value: "Western", style: { padding: "10px 0" } }, "Fist Middle Last"),
18
+ React.createElement(Radio, { value: "Eastern", style: { padding: "10px 0" } }, "Last First")),
19
19
  React.createElement(Divider, { plain: true, style: { margin: "15px 0" } }),
20
20
  React.createElement("div", null, "Displayed Full Name"),
21
21
  React.createElement("div", { className: "full-name-displayed" }, legal.fullName),
@@ -1 +1 @@
1
- {"version":3,"file":"Step2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/NewLegalContactDialog/Step2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,KAAK,GAAG,GAAG,EAAE;IAClB,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,6BAAK,SAAS,EAAC,4BAA4B,iBAAiB;QAC5D,6BAAK,SAAS,EAAC,8BAA8B,IAC3C,KAAK,CAAC,QAAQ,KAAK,cAAc,CAAC,CAAC,CAAC,CACpC,oBAAC,KAAK,CAAC,QAAQ;YACd,4BAAI,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,+BAA+B;YAClE,oBAAC,KAAK,IACL,KAAK,EAAE,KAAK,CAAC,QAAQ,EACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GACpE,CACc,CACjB,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,CAAC,QAAQ;YACd,iGAAuE;YACvE,oBAAC,OAAO,IAAC,KAAK,QAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAY;YACtD,mDAA0B;YAC1B,oBAAC,KAAK,CAAC,KAAK,IACX,KAAK,EAAE,KAAK,CAAC,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BAEpE,oBAAC,KAAK,IACL,KAAK,EAAE,KAAK,CAAC,QAAQ,EACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GACpE,CACS;gBAEZ,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EACJ,6BAAK,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;;wBACtB,8BAAM,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAmB,CAC1D;oBAGP,oBAAC,KAAK,IACL,KAAK,EAAE,KAAK,CAAC,UAAU,EACvB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GACtE,CACS,CACN,CACS,CACjB,CACI;QACN,6BAAK,SAAS,EAAC,6BAA6B;YAC3C,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,WAEhE;YAET,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,WAE/E,CACJ,CACU,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Step2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/NewLegalContactDialog/Step2.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAA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AC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GACpE,CACS;gBAEZ,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EACJ,6BAAK,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;;wBACtB,8BAAM,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,iBAAmB,CAC1D;oBAGP,oBAAC,KAAK,IACL,KAAK,EAAE,KAAK,CAAC,UAAU,EACvB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GACtE,CACS,CACN,CACS,CACjB,CACI;QACN,6BAAK,SAAS,EAAC,6BAA6B;YAC3C,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,WAEhE;YAET,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,WAE/E,CACJ,CACU,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -2,6 +2,7 @@
2
2
  import "./index.less";
3
3
  declare const NewLegalContactDialog: (props: {
4
4
  visible: boolean;
5
+ type?: "Organization" | "Person" | undefined;
5
6
  updateVisible?: ((option?: any) => Promise<void> | void) | undefined;
6
7
  }) => JSX.Element;
7
8
  export default NewLegalContactDialog;
@@ -1,4 +1,4 @@
1
- import React, { useState } from "react";
1
+ import React, { useEffect, useState } from "react";
2
2
  import { Modal } from "@voplus/antd";
3
3
  import { LegalContext, State } from "./state";
4
4
  import { observe } from "@voplus/morpho-ui";
@@ -8,9 +8,15 @@ import Step3 from "./Step3";
8
8
  import Step4 from "./Step4";
9
9
  import "./index.less";
10
10
  const NewLegalContactDialog = (props) => {
11
- const { visible, updateVisible } = props;
11
+ const { visible, updateVisible, type } = props;
12
12
  const [state] = useState(new State());
13
13
  state.props = props;
14
+ useEffect(() => {
15
+ if (type) {
16
+ state.unitType = type;
17
+ state.step = 2;
18
+ }
19
+ }, [type]);
14
20
  return observe(() => (React.createElement(LegalContext.Provider, { value: state },
15
21
  React.createElement(Modal, { width: 500, title: "", footer: null, closable: false, wrapClassName: "select-legal-contact-dialog", onCancel: () => updateVisible === null || updateVisible === void 0 ? void 0 : updateVisible(), visible: visible }, state.step === 4 ? (React.createElement(Step4, null)) : state.step === 3 ? (React.createElement(Step3, null)) : state.step === 2 ? (React.createElement(Step2, null)) : (React.createElement(Step1, null))))));
16
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/NewLegalContactDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,CAAC,KAG9B,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAEpB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QAClC,oBAAC,KAAK,IACL,KAAK,EAAE,GAAG,EACV,KAAK,EAAC,EAAE,EACR,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,EACf,aAAa,EAAC,6BAA6B,EAC3C,QAAQ,EAAE,GAAG,EAAE,CAAC,aAAa,aAAb,aAAa,uBAAb,aAAa,EAAI,EACjC,OAAO,EAAE,OAAO,IAEf,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,oBAAC,KAAK,OAAG,CACT,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CACtB,oBAAC,KAAK,OAAG,CACT,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CACtB,oBAAC,KAAK,OAAG,CACT,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,OAAG,CACT,CACM,CACe,CACxB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/NewLegalContactDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS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AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import Tip from "./Tip";
3
3
  export default () => {
4
4
  return (React.createElement(Tip, { content: React.createElement("span", null,
5
- "This is the business name of your ",
5
+ "This will be the business name of your ",
6
6
  React.createElement("br", null),
7
7
  "new company and it has to be approved ",
8
8
  React.createElement("br", null),
@@ -1 +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"}
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;;YACwC,+BAAM;;YACP,+BAAM;;YACD,+BAAM;mCAE3C,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
@@ -4,10 +4,12 @@ export default () => {
4
4
  return (React.createElement(Tip, { content: React.createElement("span", null,
5
5
  "The FYE will determine when your corporate filings",
6
6
  React.createElement("br", null),
7
- "and taxes are due. Most companies chose month end of their ",
7
+ "and taxes are due. Most companies choose month end of their ",
8
8
  React.createElement("br", null),
9
- "company's incorporation date, 31 March, ",
9
+ "company's incorporation date i.e., 31 Mar; ",
10
10
  React.createElement("br", null),
11
- "30 June, 30 September or 31 December.") }));
11
+ "30 Jun; 30 Sep or 31 Dec as their FYE.",
12
+ React.createElement("br", null),
13
+ "It is advisable to align your FYE with your Holding company (if any).") }));
12
14
  };
13
15
  //# sourceMappingURL=FYETip.js.map
@@ -1 +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"}
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;;YACsD,+BAAM;;YAClB,+BAAM;;YAEtD,+BAAM;oFAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
@@ -8,6 +8,6 @@ export default () => {
8
8
  React.createElement("br", null),
9
9
  "The Accounting and Corporate Regulatory Authority",
10
10
  React.createElement("br", null),
11
- "and must Not be a P.O. box.") }));
11
+ "and must not be a P.O. box.address") }));
12
12
  };
13
13
  //# sourceMappingURL=RegisteredAddressTip.js.map
@@ -1 +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"}
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;iDAEA,GAEP,CACF,CAAC;AACH,CAAC,CAAC"}
@@ -16,22 +16,28 @@ const DetailsStep = () => {
16
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
17
17
  return (React.createElement(Scrollbars, { autoHide: true },
18
18
  React.createElement(Card, { title: React.createElement("div", { className: "steps-title" },
19
- React.createElement("span", { className: "steps-number" }, "Step1"),
20
- ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.formTitle) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.formTitle })) : ("Provide Incorporation details")), className: "steps-content" },
21
- React.createElement("div", null, ((_c = incorporation.clientTexts) === null || _c === void 0 ? void 0 : _c.formDescription) ? (React.createElement(Viewer, { html: (_d = incorporation.clientTexts) === null || _d === void 0 ? void 0 : _d.formDescription })) : ("This is an electronic incorporation form for you to fill up the relevant company details for your company formation.")),
19
+ React.createElement("span", { className: "steps-number" }, "1."),
20
+ ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.formTitle) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.formTitle })) : ("Incorporation Form Filing")), className: "steps-content" },
21
+ React.createElement("div", null, ((_c = incorporation.clientTexts) === null || _c === void 0 ? void 0 : _c.formDescription) ? (React.createElement(Viewer, { html: (_d = incorporation.clientTexts) === null || _d === void 0 ? void 0 : _d.formDescription })) : (React.createElement("div", null,
22
+ React.createElement("p", null, "This is an \u2018electronic incorporation form\u2019."),
23
+ React.createElement("p", null, "Please click on \u2018Open\u2019 button to fill up all the necessary information required about the Singapore Company to be registered.")))),
22
24
  React.createElement("div", { className: "step-actions" },
23
25
  React.createElement(Button, { type: "primary", loading: context.loading, onClick: () => {
24
26
  if (incorporation.incorporationFormId)
25
27
  onOpen(`/c/incorporation-form/${incorporation.incorporationFormId}`);
26
28
  } }, "Open"))),
27
29
  React.createElement(Card, { title: React.createElement("div", { className: "steps-title" },
28
- React.createElement("span", { className: "steps-number" }, "Step2"),
29
- ((_e = incorporation.clientTexts) === null || _e === void 0 ? void 0 : _e.quotationTitle) ? (React.createElement(Viewer, { html: (_f = incorporation.clientTexts) === null || _f === void 0 ? void 0 : _f.quotationTitle })) : ("Review Quotation")), className: "steps-content" },
30
- React.createElement("div", null, ((_g = incorporation.clientTexts) === null || _g === void 0 ? void 0 : _g.quotationDescription) ? (React.createElement(Viewer, { html: (_h = incorporation.clientTexts) === null || _h === void 0 ? void 0 : _h.quotationDescription })) : ("This is an electronic quotation for your kind confirmation on the quote.")),
30
+ React.createElement("span", { className: "steps-number" }, "2."),
31
+ ((_e = incorporation.clientTexts) === null || _e === void 0 ? void 0 : _e.quotationTitle) ? (React.createElement(Viewer, { html: (_f = incorporation.clientTexts) === null || _f === void 0 ? void 0 : _f.quotationTitle })) : ("Quotation Review & Payment")), className: "steps-content" },
32
+ React.createElement("div", null, ((_g = incorporation.clientTexts) === null || _g === void 0 ? void 0 : _g.quotationDescription) ? (React.createElement(Viewer, { html: (_h = incorporation.clientTexts) === null || _h === void 0 ? void 0 : _h.quotationDescription })) : (React.createElement("div", null,
33
+ React.createElement("p", null, "This is an \u2018electronic quotation\u2019 for your reference and kind confirmation."),
34
+ React.createElement("p", null, "Upon acceptance of the quotation and payment, an automatic invoice will be generated immediately and will be sent to your email, for reference."),
35
+ React.createElement("p", null, "Please click on \u2018Open\u2019 button to review the quotation.")))),
31
36
  React.createElement("div", { className: "step-actions" }, incorporation.quotationId ? (React.createElement(Button, { type: "primary", loading: context.loading, onClick: () => onOpen(`/c/quotations/${incorporation.quotationId}`) }, "Open")) : (React.createElement(Button, null, "No Data")))),
32
37
  incorporation.uploadFolderId && (React.createElement(Card, { title: React.createElement("div", { className: "steps-title" },
33
38
  React.createElement("span", { className: "steps-number" }, "Step3"),
34
- ((_j = incorporation.clientTexts) === null || _j === void 0 ? void 0 : _j.uploadDescription) ? (React.createElement(Viewer, { html: (_k = incorporation.clientTexts) === null || _k === void 0 ? void 0 : _k.uploadDescription })) : ("Upload Folder")), className: classnames("steps-content", "steps-content-upload") },
39
+ "Documents Uploading"), className: classnames("steps-content", "steps-content-upload") },
40
+ React.createElement("div", { style: { padding: "0 24px" } }, ((_j = incorporation.clientTexts) === null || _j === void 0 ? void 0 : _j.uploadDescription) ? (React.createElement(Viewer, { html: (_k = incorporation.clientTexts) === null || _k === void 0 ? void 0 : _k.uploadDescription })) : (React.createElement("div", null, "This will allow you to upload your identification/ KYC documents along with other supporting documents required."))),
35
41
  React.createElement(SubmitterSectionItem, { id: incorporation.uploadFolderId, index: 0 })))));
36
42
  });
37
43
  function onOpen(url) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/DetailsStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,oBAAoB,MAAM,yFAAyF,CAAC;AAC3H,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,kC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D,oBAAC,oBAAoB,IAAC,EAAE,EAAE,aAAa,CAAC,cAAc,EAAE,KAAK,EAAE,CAAC,GAAI,CAC9D,CACP,CACW,CACb,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM,CAAC,GAAW;QAC1B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/DetailsStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,oBAAoB,MAAM,yFAAyF,CAAC;AAC3H,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,wEAAwE,CAAC;AAC5H,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,WAAW,GAAG,GAAG,EAAE;IACxB,MAAM,OAAO,GAAG,kCAAkC,EAAE,CAAC;IAErD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,aAAa,GAAG,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,IAAI,IACJ,KAAK,EACJ,6BAAK,SAAS,EAAC,aAAa;oBAC3B,8BAAM,SAAS,EAAC,cAAc,SAAU;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AAC,CACH;oBACC,uHAAkF;oBAClF,iLAGI;oBACJ,kGAA6D,CACxD,CACN,CACI;gBACN,6BAAK,SAAS,EAAC,cAAc,IAC3B,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAC5B,oBAAC,MAAM,IACN,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,OAAO,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,iBAAiB,aAAa,CAAC,WAAW,EAAE,CAAC,WAG3D,CACT,CAAC,CAAC,CAAC,CACH,oBAAC,MAAM,kBAAiB,CACxB,CACI,CACA;YACN,aAAa,CAAC,cAAc,IAAI,CAChC,oBAAC,IAAI,IACJ,KAAK,EACJ,6BAAK,SAAS,EAAC,aAAa;oBAC3B,8BAAM,SAAS,EAAC,cAAc,YAAa;0CACtC,EAEP,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,sBAAsB,CAAC;gBAE9D,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAC/B,CAAA,MAAA,aAAa,CAAC,WAAW,0CAAE,iBAAiB,EAAC,CAAC,CAAC,CAC/C,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAA,aAAa,CAAC,WAAW,0CAAE,iBAAiB,GAAI,CAC9D,CAAC,CAAC,CAAC,CACH,oJAGM,CACN,CACI;gBACN,oBAAC,oBAAoB,IAAC,EAAE,EAAE,aAAa,CAAC,cAAc,EAAE,KAAK,EAAE,CAAC,GAAI,CAC9D,CACP,CACW,CACb,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM,CAAC,GAAW;QAC1B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -9,8 +9,12 @@ const StartStep = () => {
9
9
  const incorporation = useIncorporationCLDA(context.id);
10
10
  return observe(() => {
11
11
  var _a, _b;
12
- return (React.createElement(Card, { title: "Incorporation CLDA", className: "steps-content" },
13
- React.createElement("div", null, ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.description) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.description })) : ("Thank you for using our Legal Incorporation CLDA. This tool will assist you to complete the whole process for the “xxxxx”.")),
12
+ return (React.createElement(Card, { title: "INCORPORATION ASSISTANCE", className: "steps-content" },
13
+ React.createElement("div", null, ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.description) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.description })) : (React.createElement("div", null,
14
+ React.createElement("p", null, "Welcome! Thank you for using our \u2018Incorporation Tool\u2019"),
15
+ React.createElement("p", null, "This tool will assist you to get started with the incorporation process with Voplus."),
16
+ React.createElement("p", null, "You can fill the incorporation information, review quotation and upload documents on the next page"),
17
+ React.createElement("p", null, "Let us get started.")))),
14
18
  React.createElement("div", { className: "step-actions" },
15
19
  React.createElement(Button, { type: "primary", loading: context.loading, onClick: start }, "Start"))));
16
20
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/StartStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,wEAAwE,CAAC;AAC5H,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,MAAM,SAAS,GAAG,GAAG,EAAE;IACtB,MAAM,OAAO,GAAG,kCAAkC,EAAE,CAAC;IACrD,MAAM,aAAa,GAAG,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,IAAI,IAAC,KAAK,EAAC,oBAAoB,EAAC,SAAS,EAAC,eAAe;YACzD,iCACE,CAAA,MAAA,aAAa,CAAC,WAAW,0CAAE,WAAW,EAAC,CAAC,CAAC,CACzC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAA,aAAa,CAAC,WAAW,0CAAE,WAAW,GAAI,CACxD,CAAC,CAAC,CAAC,CACH,4HAA4H,CAC5H,CACI;YACN,6BAAK,SAAS,EAAC,cAAc;gBAC5B,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,YAEtD,CACJ,CACA,CACP,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,KAAK;QACb,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,CAAC,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/StartStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,wEAAwE,CAAC;AAC5H,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,MAAM,SAAS,GAAG,GAAG,EAAE;IACtB,MAAM,OAAO,GAAG,kCAAkC,EAAE,CAAC;IACrD,MAAM,aAAa,GAAG,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,IAAI,IAAC,KAAK,EAAC,0BAA0B,EAAC,SAAS,EAAC,eAAe;YAC/D,iCACE,CAAA,MAAA,aAAa,CAAC,WAAW,0CAAE,WAAW,EAAC,CAAC,CAAC,CACzC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAA,aAAa,CAAC,WAAW,0CAAE,WAAW,GAAI,CACxD,CAAC,CAAC,CAAC,CACH;gBACC,iGAA4D;gBAC5D,sHAEI;gBACJ,oIAGI;gBACJ,qDAA0B,CACrB,CACN,CACI;YACN,6BAAK,SAAS,EAAC,cAAc;gBAC5B,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,YAEtD,CACJ,CACA,CACP,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,KAAK;QACb,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,CAAC,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,21 +1,27 @@
1
1
  import React, { useState } from "react";
2
+ import { useLayout } from "@voplus/morpho-data";
2
3
  import { State } from "./state";
3
4
  import Tour from "reactour";
4
5
  import { observe } from "@voplus/morpho-ui";
5
6
  const TourGuide = (props) => {
7
+ const layout = useLayout();
6
8
  const [state] = useState(new State(props.id));
7
9
  const steps = [
8
10
  {
9
11
  selector: '[data-tut="incorporation-assistant"]',
10
- content: "let's start with the name of the Tour that is about to begin incorporation assistant. ",
12
+ content: "Let’s give you a quick tour of how to use this “Incorporation Assistant” tool.",
11
13
  },
12
14
  {
13
15
  selector: '[data-tut="start"]',
14
- content: "first step.",
16
+ content: "This is the main content page, where all the steps will be displayed.",
15
17
  },
16
18
  {
17
19
  selector: '[data-tut="activity-log"]',
18
- content: "View user activities history.",
20
+ content: "Click here to open “Comment Panel” to view and send queries.You can view our replies once we have responded.",
21
+ },
22
+ {
23
+ selector: `[data-tut=${layout.tabNav.tourKey}]`,
24
+ content: "You can navigate between the tabs here",
19
25
  },
20
26
  ];
21
27
  return observe(() => (React.createElement(React.Fragment, null, state.tourVisible && (React.createElement(Tour, { steps: steps, isOpen: state.isTourOpen, onRequestClose: state.closeTour })))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,IAAI,MAAM,UAAU,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAE9C,MAAM,KAAK,GAAG;QACb;YACC,QAAQ,EAAE,sCAAsC;YAChD,OAAO,EACN,yFAAyF;SAC1F;QACD;YACC,QAAQ,EAAE,oBAAoB;YAC9B,OAAO,EAAE,aAAa;SACtB;QACD;YACC,QAAQ,EAAE,2BAA2B;YACrC,OAAO,EAAE,+BAA+B;SACxC;KACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,0CACE,KAAK,CAAC,WAAW,IAAI,CACrB,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,CAAC,SAAS,GAAI,CACjF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,IAAI,MAAM,UAAU,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAE9C,MAAM,KAAK,GAAG;QACb;YACC,QAAQ,EAAE,sCAAsC;YAChD,OAAO,EAAE,gFAAgF;SACzF;QACD;YACC,QAAQ,EAAE,oBAAoB;YAC9B,OAAO,EAAE,uEAAuE;SAChF;QACD;YACC,QAAQ,EAAE,2BAA2B;YACrC,OAAO,EACN,8GAA8G;SAC/G;QACD;YACC,QAAQ,EAAE,aAAa,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG;YAC/C,OAAO,EAAE,wCAAwC;SACjD;KACD,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,0CACE,KAAK,CAAC,WAAW,IAAI,CACrB,oBAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,CAAC,SAAS,GAAI,CACjF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -21,7 +21,7 @@ const IncorporationCLDAClientView = () => {
21
21
  const layout = useLayout();
22
22
  const { Step } = Steps;
23
23
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
24
- const [title, setTitle] = useState("Open Conversations");
24
+ const [title, setTitle] = useState("Open Comment");
25
25
  const [asideContext] = useState(AsideContent.createContext());
26
26
  const [state] = useState(new IncorporationCLDAClientState());
27
27
  state.id = id;
@@ -51,7 +51,7 @@ const IncorporationCLDAClientView = () => {
51
51
  React.createElement("div", { className: classnames("clda-client-view", styles["incorporation-clda-client-view"]) },
52
52
  React.createElement("header", { className: "clda-client-view-header" },
53
53
  React.createElement("div", { "data-tut": "incorporation-assistant" }, "Incorporation Assistant"),
54
- React.createElement(Button, { className: "toogle-btn", size: "small", onClick: toggleActivity, "data-tut": "activity-log" }, layout.ui.mobile ? "Conversations" : title)),
54
+ React.createElement(Button, { className: "toogle-btn", size: "small", onClick: toggleActivity, "data-tut": "activity-log" }, layout.ui.mobile ? "Comment" : title)),
55
55
  React.createElement(AsideContent, { context: asideContext },
56
56
  React.createElement("div", { className: "clda-client-view_content" },
57
57
  React.createElement("div", { className: "clda-client-view-step" }, (incorporationCLDA === null || incorporationCLDA === void 0 ? void 0 : incorporationCLDA.loading) ? (React.createElement(Card, { title: "Loading ~~", className: "steps-content", bodyStyle: { textAlign: "center" } },
@@ -59,11 +59,11 @@ const IncorporationCLDAClientView = () => {
59
59
  function toggleActivity() {
60
60
  if (asideContext.asideContent) {
61
61
  asideContext.closeAside();
62
- setTitle("Open Conversations");
62
+ setTitle("Open Comment");
63
63
  }
64
64
  else {
65
- asideContext.openAside(React.createElement(ActivityLog, { id: id, title: "Conversations" }), { span: 12 });
66
- setTitle("Close Conversations");
65
+ asideContext.openAside(React.createElement(ActivityLog, { id: id, title: "Comment" }), { span: 12 });
66
+ setTitle("Close Comment");
67
67
  }
68
68
  }
69
69
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACzD,OA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CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,CACnC,CACD;gBACT,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;oBAClC,6BAAK,SAAS,EAAC,0BAA0B;wBAMxC,6BAAK,SAAS,EAAC,uBAAuB,IACpC,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,OAAO,EAAC,CAAC,CAAC,CAC7B,oBAAC,IAAI,IACJ,KAAK,EAAC,YAAY,EAClB,SAAS,EAAC,eAAe,EACzB,SAAS,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;4BAElC,oBAAC,IAAI,IAAC,SAAS,EAAE,oBAAC,eAAe,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,SAAG,GAAI,CAChE,CACP,CAAC,CAAC,CAAC,CACH,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CACzB,CACI,CACD,CACQ,CACV,CACmC,CACpB,CACvB,CAAC,CAAC;IAEH,SAAS,cAAc;QACtB,IAAI,YAAY,CAAC,YAAY,EAAE;YAC9B,YAAY,CAAC,UAAU,EAAE,CAAC;YAC1B,QAAQ,CAAC,oBAAoB,CAAC,CAAC;SAC/B;aAAM;YACN,YAAY,CAAC,SAAS,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,eAAe,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YACpF,QAAQ,CAAC,qBAAqB,CAAC,CAAC;SAChC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM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cAAc,IAEtB,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAC7B,CACD;gBACT,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;oBAClC,6BAAK,SAAS,EAAC,0BAA0B;wBAMxC,6BAAK,SAAS,EAAC,uBAAuB,IACpC,CAAA,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,OAAO,EAAC,CAAC,CAAC,CAC7B,oBAAC,IAAI,IACJ,KAAK,EAAC,YAAY,EAClB,SAAS,EAAC,eAAe,EACzB,SAAS,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE;4BAElC,oBAAC,IAAI,IAAC,SAAS,EAAE,oBAAC,eAAe,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,SAAG,GAAI,CAChE,CACP,CAAC,CAAC,CAAC,CACH,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CACzB,CACI,CACD,CACQ,CACV,CACmC,CACpB,CACvB,CAAC,CAAC;IAEH,SAAS,cAAc;QACtB,IAAI,YAAY,CAAC,YAAY,EAAE;YAC9B,YAAY,CAAC,UAAU,EAAE,CAAC;YAC1B,QAAQ,CAAC,cAAc,CAAC,CAAC;SACzB;aAAM;YACN,YAAY,CAAC,SAAS,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YAC9E,QAAQ,CAAC,eAAe,CAAC,CAAC;SAC1B;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -13,10 +13,12 @@ import { observe } from "@voplus/morpho-ui";
13
13
  import { runInAction } from "mobx";
14
14
  import styles from "./index.less";
15
15
  import { useValidates } from "@voplus/morpho-data";
16
+ import { useIncoprorationFormClientViewContext } from "../../pages/IncoprorationFormClientView/state";
16
17
  export const CompanyInfo = (props) => {
17
18
  const { id } = props;
18
19
  const incorporationForm = useIncorporationForm(id);
19
20
  const store = useIncorporationFormStore();
21
+ const context = useIncoprorationFormClientViewContext();
20
22
  const checks = useValidates((c) => ({
21
23
  name: c.validate(() => { var _a; return (_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName; }, "Business name cannot be empty."),
22
24
  businessActivity: c.validate(() => incorporationForm.content.businessActivities.some((activity) => !!activity && Number(activity.split(" ")[0]) !== NaN), "Choose at least one business activity."),
@@ -35,7 +37,7 @@ export const CompanyInfo = (props) => {
35
37
  React.createElement(FontAwesomeIcon, { icon: faAddressBook }),
36
38
  "Business Name ",
37
39
  React.createElement(BusinessNameTip, null)) },
38
- React.createElement(InlineEdit, { defaultValue: (_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName, editTrigger: "both", content: (v) => {
40
+ React.createElement(InlineEdit, { defaultValue: (_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
39
41
  var _a;
40
42
  return (React.createElement("div", null, ((_a = incorporationForm === null || incorporationForm === void 0 ? void 0 : incorporationForm.content) === null || _a === void 0 ? void 0 : _a.legalEntityName) ? (React.createElement("span", null, incorporationForm.content.legalEntityName)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the business name"))));
41
43
  }, editor: (v) => (React.createElement(BusinessNameInputFormItem, { value: v.store.value, onChange: (name) => runInAction(() => (v.store.value = name)), onSave: () => v.store.save({ trigger: "select" }), onCancel: () => v.store.cancel() })), onSave: (v) => store.edit(id, { data: { legalEntityName: v } }) }),
@@ -48,7 +50,7 @@ export const CompanyInfo = (props) => {
48
50
  React.createElement(Form, null, ((_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.businessActivities) &&
49
51
  incorporationForm.content.businessActivities.map((activity, i) => {
50
52
  return (React.createElement(Form.Item, { label: `Activities ${i + 1}`, key: `activity-${i}` },
51
- React.createElement(InlineEdit, { defaultValue: activity, content: (v) => (React.createElement("div", null, activity ? (React.createElement("span", null, activity)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the activities")))), onSave: (v) => {
53
+ React.createElement(InlineEdit, { defaultValue: activity, editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, activity ? (React.createElement("span", null, activity)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the activities")))), onSave: (v) => {
52
54
  store.edit(id, {
53
55
  data: {
54
56
  businessActivities: [
@@ -66,7 +68,8 @@ export const CompanyInfo = (props) => {
66
68
  "Registered Address ",
67
69
  React.createElement(RegisteredAddressTip, null)) },
68
70
  React.createElement("div", { className: styles.content },
69
- React.createElement(InlineEdit, { editTrigger: "both", defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.address, onSave: (v) => store.edit(id, { data: { address: v } }), content: (p) => {
71
+ React.createElement("p", { className: "sub-title" }, "If you are not using Voplus registered address, please provide your own local address"),
72
+ React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.address, onSave: (v) => store.edit(id, { data: { address: v } }), content: (p) => {
70
73
  const s = p.store.value;
71
74
  return (React.createElement(React.Fragment, null, (s === null || s === void 0 ? void 0 : s.city) === "" &&
72
75
  (s === null || s === void 0 ? void 0 : s.country) === "" &&
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM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G,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,WAAe;gCACzE,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAE7D,CACJ,CACU,CACjB,CAAC,GAEF,CACG;gBACL,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAClC,8BAAM,SAAS,EAAC,SAAS,IAAE,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAQ,CACnE,CACQ,CACL,CACN,CACI,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-form/components/CompanyInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EACN,oBAAoB,EACpB,yBAAyB,GACzB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,qBAAqB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,yBAAyB,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AA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MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,aAE7D,CACJ,CACU,CACjB,CAAC,GAEF,CACG;gBACL,MAAM,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAClC,8BAAM,SAAS,EAAC,SAAS,IAAE,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAQ,CACnE,CACQ,CACL,CACN,CACI,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -7,5 +7,9 @@
7
7
  .placeholder {
8
8
  color: #00000040;
9
9
  }
10
+
11
+ .sub-title{
12
+ font-size: 16px;
13
+ }
10
14
  }
11
15
  }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const IncorporationFormConfirmationDialog: (props: {
3
+ id: string;
4
+ visible?: boolean;
5
+ onCancel?: () => void;
6
+ }) => JSX.Element;
7
+ export default IncorporationFormConfirmationDialog;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Modal, message } from "@voplus/antd";
4
+ import { useIncorporationFormStore } from "../../../../../data/incorporation-form";
5
+ const IncorporationFormConfirmationDialog = (props) => {
6
+ const { visible, onCancel } = props;
7
+ const store = useIncorporationFormStore();
8
+ return observe(() => (React.createElement(Modal, { width: 500, title: "Form Confirmation Dialog", okText: "Add", onCancel: () => onCancel === null || onCancel === void 0 ? void 0 : onCancel(), onOk: onAdd, visible: visible },
9
+ React.createElement("div", null, "Are you sure to provide the form?"))));
10
+ async function onAdd() {
11
+ var _a;
12
+ await store.edit(props.id, { data: { status: "normal" }, error: "message" });
13
+ (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
14
+ message.success("Our sales consultant has received your form and will get in touch with you soon.");
15
+ }
16
+ };
17
+ export default IncorporationFormConfirmationDialog;
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-form/components/IncorporationFormConfirmationDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,MAAM,mCAAmC,GAAG,CAAC,KAI5C,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,KAAK,GAAG,yBAAyB,EAAE,CAAC;IAE1C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAE,GAAG,EACV,KAAK,EAAC,0BAA0B,EAChC,MAAM,EAAC,KAAK,EACZ,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,EAAI,EAC5B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,OAAO;QAEhB,qEAA4C,CACrC,CACR,CAAC,CAAC;IAEH,KAAK,UAAU,KAAK;;QACnB,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QAC7E,MAAA,KAAK,CAAC,QAAQ,+CAAd,KAAK,CAAa,CAAC;QACnB,OAAO,CAAC,OAAO,CACd,kFAAkF,CAClF,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mCAAmC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  declare const IncorporationFormReview: (props: {
3
3
  id: string;
4
+ className?: string;
4
5
  }) => JSX.Element;
5
6
  export default IncorporationFormReview;