@voplus/morpho-csp 1.2.123 → 1.2.125

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 (63) hide show
  1. package/es/data/clda-form/CLDAFormContent.js +4 -0
  2. package/es/data/clda-form/CLDAFormContent.js.map +1 -1
  3. package/es/data/clda-form/interfaces.d.ts +22 -2
  4. package/es/data/clda-form/types.d.ts +44 -17
  5. package/es/data/controller/ControllerStore.d.ts +2 -1
  6. package/es/data/controller/ControllerStore.js +9 -0
  7. package/es/data/controller/ControllerStore.js.map +1 -1
  8. package/es/data/controller/types.d.ts +5 -0
  9. package/es/modules/corporate/company/controller-register/components/ControllerList/index.d.ts +0 -1
  10. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +48 -32
  11. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
  12. package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +10 -15
  13. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.d.ts +7 -0
  14. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +33 -0
  15. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -0
  16. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.less +35 -0
  17. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.d.ts +7 -0
  18. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js +42 -0
  19. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js.map +1 -0
  20. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.less +38 -0
  21. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.d.ts +6 -0
  22. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js +64 -0
  23. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js.map +1 -0
  24. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.d.ts +11 -0
  25. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js +47 -0
  26. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js.map +1 -0
  27. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.d.ts +3 -1
  28. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js +21 -13
  29. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js.map +1 -1
  30. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.d.ts +13 -5
  31. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +37 -11
  32. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -1
  33. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.d.ts +6 -0
  34. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +163 -0
  35. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -0
  36. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.less +19 -0
  37. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +81 -87
  38. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  39. package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
  40. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +4 -4
  41. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -1
  42. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.d.ts +2 -1
  43. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js +10 -0
  44. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/state.js.map +1 -1
  45. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +14 -16
  46. package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
  47. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +4 -4
  48. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
  49. package/es/modules/self-registration/clda-form/components/SecretaryList/state.d.ts +2 -2
  50. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +3 -3
  51. package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
  52. package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +10 -4
  53. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +54 -58
  54. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  55. package/es/modules/self-registration/clda-form/incorporation/bvi/index.d.ts +4 -0
  56. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +71 -0
  57. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -0
  58. package/es/modules/self-registration/clda-form/incorporation/bvi/index.less +36 -0
  59. package/es/modules/self-registration/clda-form/incorporation/bvi/state.d.ts +7 -0
  60. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js +20 -0
  61. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js.map +1 -0
  62. package/package.json +1 -1
  63. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +0 -5
@@ -14,68 +14,64 @@ import { runInAction } from "mobx";
14
14
  import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
15
15
  import { useLayout } from "@voplus/morpho-data";
16
16
  const ShareCapital = (props) => {
17
- const { id } = props;
17
+ const { id, currencyVisible } = props;
18
18
  const layout = useLayout();
19
- const incorporationForm = useCLDAForm(id);
19
+ const content = useCLDAForm(id).content;
20
20
  const Option = Select.Option;
21
21
  const store = useCLDAFormStore();
22
22
  const context = useIncorporationSGPFormContext();
23
- return observe(() => {
24
- var _a, _b, _c, _d;
25
- return (React.createElement(Section, { title: React.createElement(React.Fragment, null,
26
- React.createElement(FontAwesomeIcon, { icon: faBadgeDollar }),
27
- "Capital and Financial Year") },
28
- React.createElement("div", { className: classnames("share-capital", { "element-mobile": layout.ui.mobile }) },
29
- React.createElement("div", { className: "capital-box" },
30
- React.createElement(FontAwesomeIcon, { icon: faBadgeDollar, size: "2x" }),
31
- React.createElement("div", null,
32
- React.createElement("p", null,
33
- "Paid Up Capital ",
34
- React.createElement(CapitalTip, null)),
35
- React.createElement("div", { className: "capital-currency" },
36
- React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: {
37
- currency: (_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.currency,
38
- capital: (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.capital,
39
- }, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
40
- v.store.value.currency,
41
- " ",
42
- v.store.value.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement("span", null,
43
- React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)) },
44
- React.createElement(Option, { value: "SGD" }, "SGD"),
45
- React.createElement(Option, { value: "USD" }, "USD"),
46
- React.createElement(Option, { value: "CNY" }, "CNY"),
47
- React.createElement(Option, { value: "EUR" }, "EUR"),
48
- React.createElement(Option, { value: "JPY" }, "JPY")),
49
- React.createElement(InputNumber, { style: { marginLeft: "1em" }, autoFocus: true, defaultValue: v.store.value.capital, onChange: (newValue) => runInAction(() => (v.store.value.capital = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), min: 1 }),
50
- React.createElement("div", { className: "capital-currency-btn" },
51
- React.createElement(Button, { type: "primary", style: { marginLeft: "1em" }, onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
52
- React.createElement(Button, { style: { marginLeft: "1em" }, onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
53
- store.edit(id, {
54
- data: { Currency: v.currency, Capital: v.capital },
55
- });
56
- } })))),
57
- React.createElement("div", { className: "capital-box" },
58
- React.createElement(FontAwesomeIcon, { icon: faMoneyBill, size: "2x" }),
59
- React.createElement("div", null,
60
- React.createElement("p", null,
61
- "Numbers Of Share(s) ",
62
- React.createElement(SharesTip, null)),
63
- React.createElement(InlineEdit, { defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
64
- var _a, _b;
65
- return (React.createElement("div", null, ((_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.shares) ? (React.createElement("span", null, (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.shares)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the numbers of share"))));
66
- }, editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
67
- store.edit(id, { data: { Shares: v } });
68
- } }))),
69
- React.createElement("div", { className: "capital-box" },
70
- React.createElement(FontAwesomeIcon, { icon: faCalendar, size: "2x" }),
71
- React.createElement("div", null,
72
- React.createElement("p", null,
73
- "Financial Year End (FYE) ",
74
- React.createElement(FYETip, null)),
75
- React.createElement(InlineEdit, { defaultValue: moment((_d = incorporationForm.content) === null || _d === void 0 ? void 0 : _d.fye), editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("span", null, v.store.value ? v.store.value.format("DD MMM YYYY") : "input FYE")), onSave: (v) => store.edit(id, {
76
- data: { FYE: v ? v.toISOString() : undefined },
77
- }), editor: DateInputEditor }))))));
78
- });
23
+ return observe(() => (React.createElement(Section, { title: React.createElement(React.Fragment, null,
24
+ React.createElement(FontAwesomeIcon, { icon: faBadgeDollar }),
25
+ "Capital and Financial Year") },
26
+ React.createElement("div", { className: classnames("share-capital", { "element-mobile": layout.ui.mobile }) },
27
+ React.createElement("div", { className: "capital-box" },
28
+ React.createElement(FontAwesomeIcon, { icon: faBadgeDollar, size: "2x" }),
29
+ React.createElement("div", null,
30
+ React.createElement("p", null,
31
+ "Paid Up Capital ",
32
+ React.createElement(CapitalTip, null)),
33
+ React.createElement("div", { className: "capital-currency" }, currencyVisible ? (React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: {
34
+ currency: content === null || content === void 0 ? void 0 : content.currency,
35
+ capital: content === null || content === void 0 ? void 0 : content.capital,
36
+ }, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
37
+ v.store.value.currency,
38
+ " ",
39
+ v.store.value.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement("span", null,
40
+ React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)) },
41
+ React.createElement(Option, { value: "SGD" }, "SGD"),
42
+ React.createElement(Option, { value: "USD" }, "USD"),
43
+ React.createElement(Option, { value: "CNY" }, "CNY"),
44
+ React.createElement(Option, { value: "EUR" }, "EUR"),
45
+ React.createElement(Option, { value: "JPY" }, "JPY")),
46
+ React.createElement(InputNumber, { style: { marginLeft: "1em" }, autoFocus: true, defaultValue: v.store.value.capital, onChange: (newValue) => runInAction(() => (v.store.value.capital = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), min: 1 }),
47
+ React.createElement("div", { className: "capital-currency-btn" },
48
+ React.createElement(Button, { type: "primary", style: { marginLeft: "1em" }, onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
49
+ React.createElement(Button, { style: { marginLeft: "1em" }, onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
50
+ store.edit(id, {
51
+ data: { Currency: v.currency, Capital: v.capital },
52
+ });
53
+ } })) : (React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.capital, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.capital) ? (React.createElement("span", null, content === null || content === void 0 ? void 0 : content.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
54
+ store.edit(id, { data: { Capital: v } });
55
+ } }))))),
56
+ React.createElement("div", { className: "capital-box" },
57
+ React.createElement(FontAwesomeIcon, { icon: faMoneyBill, size: "2x" }),
58
+ React.createElement("div", null,
59
+ React.createElement("p", null,
60
+ "Numbers Of Share(s) ",
61
+ React.createElement(SharesTip, null)),
62
+ React.createElement(InlineEdit, { defaultValue: content === null || content === void 0 ? void 0 : content.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("div", null, (content === null || content === void 0 ? void 0 : content.shares) ? (React.createElement("span", null, content === null || content === void 0 ? void 0 : content.shares)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the numbers of share")))), editor: (v) => (React.createElement(InputNumber, { autoFocus: true, value: v.store.value, onChange: (newValue) => runInAction(() => (v.store.value = newValue ? newValue : 1)), onKeyDown: (e) => e.key === "Escape" && v.store.cancel(), onBlur: () => v.store.save({ trigger: "blur" }), min: 1 })), onSave: (v) => {
63
+ store.edit(id, { data: { Shares: v } });
64
+ } }))),
65
+ React.createElement("div", { className: "capital-box" },
66
+ React.createElement(FontAwesomeIcon, { icon: faCalendar, size: "2x" }),
67
+ React.createElement("div", null,
68
+ React.createElement("p", null,
69
+ "Financial Year End (FYE) ",
70
+ React.createElement(FYETip, null)),
71
+ React.createElement(InlineEdit, { defaultValue: moment(content === null || content === void 0 ? void 0 : content.fye), editTrigger: "both", editable: context ? context.editable : true, content: (v) => (React.createElement("span", null, v.store.value ? v.store.value.format("DD MMM YYYY") : "input FYE")), onSave: (v) => store.edit(id, {
72
+ data: { FYE: v ? v.toISOString() : undefined },
73
+ }), editor: DateInputEditor })))))));
79
74
  };
75
+ ShareCapital.defaultProps = { currencyVisible: true };
80
76
  export default ShareCapital;
81
77
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,YAAY,GAAG,CAAC,KAGrB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,iBAAiB,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7B,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,8BAA8B,EAAE,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AW,EAAU,CAAC,CAAC,CAAC,SAAS,EAAE;6BACvD,CAAC,EAEH,MAAM,EAAE,eAAe,GACtB,CACG,CACD,CACD,CACG,CACV,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAmB,MAAM,+BAA+B,CAAC;AAE/F,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,YAAY,GAAG,CAAC,KAIrB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACtC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,OAAO,GAAG,WAAW,CAAC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a,CAAC,CAAC,CAAC,CAAC,WAAW,CAAQ,CAChF,EACD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CACb,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;4BACd,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,WAAW,EAAU,CAAC,CAAC,CAAC,SAAS,EAAE;yBACvD,CAAC,EAEH,MAAM,EAAE,eAAe,GACtB,CACG,CACD,CACD,CACG,CACV,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;AAEtD,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CLDAFormProps } from "../../../../../data/clda-form";
3
+ declare const IncorporationBVIForm: (props: CLDAFormProps) => JSX.Element;
4
+ export default IncorporationBVIForm;
@@ -0,0 +1,71 @@
1
+ import { Button, Spin } from "@voplus/antd";
2
+ import React, { useState } from "react";
3
+ import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
4
+ import { faInfo, faInfoCircle } from "@fortawesome/pro-light-svg-icons";
5
+ import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
6
+ import BVICompanyInfo from "../../components/BVICompanyInfo";
7
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
8
+ import CLDAFormConfirmationDialog from "../../components/CLDAFormConfirmationDialog";
9
+ import NavigateButtonsBar from "@voplus/morpho-ui/es/controls/NavigateButtonsBar";
10
+ import OfficerList from "../../components/OfficerList";
11
+ import Section from "../../../controls/Section";
12
+ import ShareCapital from "../../components/ShareCapital";
13
+ import ShareholderList from "../../components/ShareholderList";
14
+ import classnames from "classnames";
15
+ import { observe, useAutorunEffect } from "@voplus/morpho-ui";
16
+ import { IncorporationSGPFormContext, State } from "./state";
17
+ import styles from "./index.less";
18
+ const IncorporationBVIForm = (props) => {
19
+ const [submitting, setSubmitting] = useState(false);
20
+ const [validations] = useState(new ValidationCollections());
21
+ const store = useCLDAFormStore();
22
+ const [state] = useState(new State());
23
+ const incorporation = useCLDAForm(props.id, { reload: true });
24
+ useAutorunEffect(() => {
25
+ /** 只有state是draft client view 才能edit */
26
+ if (props.type === "clientView") {
27
+ state.editable = incorporation.status === "Draft" ? true : false;
28
+ }
29
+ });
30
+ const content = observe(() => (React.createElement("div", { className: classnames("incorporation-form-view", styles["incorporation-from-review"]) },
31
+ React.createElement(Spin, { spinning: !incorporation.loaded }, incorporation.loaded && (React.createElement(ValidationCollectionsContext.Provider, { value: validations },
32
+ React.createElement(Section, { title: React.createElement(React.Fragment, null,
33
+ React.createElement(FontAwesomeIcon, { icon: faInfo }),
34
+ " Review and Complete Details") },
35
+ React.createElement("div", { style: { fontSize: "16px" } },
36
+ React.createElement("p", null, "Hi, you are at the Incorporation form filling page. It will take you up to 10-15 minutes to fill up."),
37
+ React.createElement("ul", null,
38
+ React.createElement("li", null,
39
+ React.createElement("p", null, "All the below *fields are mandatory to fill.")),
40
+ React.createElement("li", null,
41
+ React.createElement("p", null,
42
+ "You may scroll over the",
43
+ React.createElement("span", { style: { fontSize: "1.2em", color: "#2a82db", margin: "0 5px" } },
44
+ React.createElement(FontAwesomeIcon, { icon: faInfoCircle, size: "sm" })),
45
+ "icon near each heading to see more details.")),
46
+ React.createElement("li", null,
47
+ React.createElement("p", null, "It is an AUTO SAVE form and you can close the form and re-edit it later."))))),
48
+ React.createElement(BVICompanyInfo, { id: props.id }),
49
+ React.createElement(ShareCapital, { id: props.id, currencyVisible: false }),
50
+ React.createElement(ShareholderList, { isShowDetails: true, id: props.id }),
51
+ React.createElement(OfficerList, { isShowDetails: true, id: props.id }),
52
+ incorporation.status === "Draft" && (React.createElement(NavigateButtonsBar, null,
53
+ React.createElement(Button, { className: "incorporation-form-submit", disabled: validations.hasError, type: "primary", onClick: () => submit() }, "Submit"))),
54
+ incorporation.submitDate && (React.createElement("div", { className: "incorporation-form-submitted" },
55
+ "Submitted on ",
56
+ incorporation.submitDate))))),
57
+ submitting && (React.createElement(CLDAFormConfirmationDialog, { id: props.id, visible: true, onCancel: () => setSubmitting(false) })))));
58
+ return observe(() => (React.createElement(IncorporationSGPFormContext.Provider, { value: state }, content)));
59
+ async function submit() {
60
+ setSubmitting(true);
61
+ // try {
62
+ // setSubmitting(true);
63
+ // // await store.validate(props.id);
64
+ // } catch (err) {
65
+ // Modal.error({ title: "Error", content: err.toString() });
66
+ // }
67
+ // setSubmitting(false);
68
+ }
69
+ };
70
+ export default IncorporationBVIForm;
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/bvi/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAS,IAAI,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,WAAW,MAAM,8BAA8B,CAAC;AACvD,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAC/D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAm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C,2BAA2B,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IAChD,OAAO,CAC8B,CACvC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,aAAa,CAAC,IAAI,CAAC,CAAC;QACpB,QAAQ;QACR,wBAAwB;QACxB,sCAAsC;QACtC,kBAAkB;QAClB,6DAA6D;QAC7D,IAAI;QACJ,wBAAwB;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,36 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .incorporation-from-review {
4
+ max-width: 1000px;
5
+ padding: 20px !important;
6
+ margin: 0 auto;
7
+ :global {
8
+ .officer-list {
9
+ margin-bottom: 20px;
10
+ .ant-card {
11
+ margin-bottom: 0;
12
+ }
13
+ }
14
+ .morpho-inline-edit > .content-container > .content.clickable {
15
+ cursor: pointer;
16
+ }
17
+ .incorporation-form-submitted {
18
+ text-align: right;
19
+ padding: 0 20px;
20
+ }
21
+ .sub-title {
22
+ font-size: 16px;
23
+ color: @heading-subtitle-color;
24
+ font-weight: 600;
25
+ }
26
+ .internal-use-section {
27
+ margin-top: 15px;
28
+ &.secretary-list {
29
+ margin-top: 0;
30
+ }
31
+ .halvingline {
32
+ margin: 20px 0;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare class State {
3
+ editable: boolean;
4
+ constructor();
5
+ }
6
+ export declare const IncorporationSGPFormContext: import("react").Context<State>;
7
+ export declare const useIncorporationSGPFormContext: () => State;
@@ -0,0 +1,20 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeAutoObservable, observable } from "mobx";
3
+ import { createContext, useContext } from "react";
4
+ export class State {
5
+ constructor() {
6
+ Object.defineProperty(this, "editable", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: true
11
+ });
12
+ makeAutoObservable(this);
13
+ }
14
+ }
15
+ __decorate([
16
+ observable
17
+ ], State.prototype, "editable", void 0);
18
+ export const IncorporationSGPFormContext = createContext(null);
19
+ export const useIncorporationSGPFormContext = () => useContext(IncorporationSGPFormContext);
20
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/bvi/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAU,MAAM,MAAM,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,OAAO,KAAK;IAGjB;QAFY;;;;mBAAkB,IAAI;WAAC;QAGlC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CACD;AALY;IAAX,UAAU;uCAAwB;AAOpC,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "1.2.123",
3
+ "version": "1.2.125",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -1,5 +0,0 @@
1
- :global {
2
- .transaction-type-filter {
3
- padding: 0 15px;
4
- }
5
- }