@voplus/morpho-csp 4.0.20 → 4.0.22

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 (69) hide show
  1. package/es/data/CLDA/metas.d.ts +9 -0
  2. package/es/data/CLDA/metas.js +23 -0
  3. package/es/data/CLDA/metas.js.map +1 -0
  4. package/es/modules/corporate/clda/components/NewCLDAForm/index.d.ts +2 -1
  5. package/es/modules/corporate/clda/components/NewCLDAForm/index.js +2 -2
  6. package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
  7. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +32 -26
  8. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
  9. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +37 -28
  10. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +31 -32
  11. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
  12. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +37 -28
  13. package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/index.d.ts +1 -1
  14. package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/index.js +1 -1
  15. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/index.js.map +1 -0
  16. package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/state.d.ts +1 -1
  17. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailItem/state.js.map +1 -0
  18. package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailList/index.d.ts +1 -1
  19. package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailList/index.js +2 -2
  20. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/components/NewOfficerDetailList/index.js.map +1 -0
  21. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +1 -1
  22. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
  23. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js +1 -0
  24. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddOfficerDialog/index.js.map +1 -1
  25. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js +1 -0
  26. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddRemoveOfficerDialog/index.js.map +1 -1
  27. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +1 -7
  28. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
  29. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.d.ts +1 -0
  30. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js +11 -47
  31. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.js.map +1 -1
  32. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentItem/index.less +5 -81
  33. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.d.ts +1 -0
  34. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js +1 -1
  35. package/es/modules/self-registration/clda-form/incorporation/company-general/components/AllotmentList/index.js.map +1 -1
  36. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.d.ts +8 -0
  37. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js +36 -0
  38. package/es/modules/self-registration/clda-form/incorporation/company-general/components/NewOfficerDetailList/index.js.map +1 -0
  39. package/es/modules/self-registration/clda-form/incorporation/company-general/components/{CompanyGeneralOfficerInfo → OfficerDetailItem}/index.d.ts +2 -0
  40. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js +93 -0
  41. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.js.map +1 -0
  42. package/es/modules/self-registration/clda-form/incorporation/company-general/components/OfficerDetailItem/index.less +55 -0
  43. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.d.ts +8 -0
  44. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js +36 -0
  45. package/es/modules/self-registration/clda-form/incorporation/company-general/components/RemoveOfficerDetailList/index.js.map +1 -0
  46. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.d.ts +1 -0
  47. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js +9 -43
  48. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.js.map +1 -1
  49. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferItem/index.less +0 -69
  50. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.d.ts +1 -0
  51. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js +1 -1
  52. package/es/modules/self-registration/clda-form/incorporation/company-general/components/TransferList/index.js.map +1 -1
  53. package/es/modules/self-registration/clda-form/incorporation/company-general/index.js +17 -66
  54. package/es/modules/self-registration/clda-form/incorporation/company-general/index.js.map +1 -1
  55. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +21 -0
  56. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +123 -0
  57. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -0
  58. package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.less +100 -0
  59. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +5 -1
  60. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +12 -10
  61. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
  62. package/package.json +1 -1
  63. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.js +0 -125
  64. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.js.map +0 -1
  65. package/es/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.less +0 -131
  66. package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/index.js.map +0 -1
  67. package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/state.js.map +0 -1
  68. package/es/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailList/index.js.map +0 -1
  69. /package/es/modules/self-registration/clda-form/incorporation/{components → appoint-representative/components}/NewOfficerDetailItem/state.js +0 -0
@@ -0,0 +1,123 @@
1
+ import React from "react";
2
+ import { Col, Form, Row, Input } from "antd";
3
+ import { UserOutlined } from "@ant-design/icons";
4
+ import { observe } from "@voplus/morpho-ui";
5
+ import { faAddressCard, faEnvelope, faMapMarkerAlt, faPhone, faLock, } from "@fortawesome/pro-light-svg-icons";
6
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
7
+ import IdentityChange from "../../../../../corporate/company/identity/components/IdentityChange";
8
+ import Address from "@voplus/morpho-org/es/components/Address";
9
+ import moment from "moment";
10
+ import styles from "./index.less";
11
+ const FormContactEditor = (props) => {
12
+ const { contact, editable, header, isOnlyInternalUse } = props;
13
+ return observe(() => {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
15
+ return (React.createElement("div", { className: styles["form-contact-editor"] },
16
+ React.createElement("div", { className: "form-contact-editor-header" },
17
+ React.createElement("div", { className: "form-contact-editor-header-name" }, editable ? (React.createElement(Input, { prefix: React.createElement(UserOutlined, null), value: contact === null || contact === void 0 ? void 0 : contact.name, onChange: (e) => {
18
+ var _a;
19
+ contact.name = e.target.value;
20
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
21
+ } })) : header ? (React.createElement("span", { className: "contact-name" }, contact === null || contact === void 0 ? void 0 : contact.name)) : null)),
22
+ React.createElement("div", { className: "form-contact-editor-basic" },
23
+ React.createElement(Input, { disabled: !editable, bordered: editable, value: contact === null || contact === void 0 ? void 0 : contact.email, placeholder: "Please enter the email", prefix: React.createElement(FontAwesomeIcon, { icon: faEnvelope }), onChange: (e) => {
24
+ var _a;
25
+ contact.email = e.target.value;
26
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
27
+ } }),
28
+ React.createElement(Input, { disabled: !editable, bordered: editable, value: contact === null || contact === void 0 ? void 0 : contact.phone, placeholder: "Please enter the phone", prefix: React.createElement(FontAwesomeIcon, { icon: faPhone }), onChange: (e) => {
29
+ var _a;
30
+ contact.phone = e.target.value;
31
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
32
+ } })),
33
+ React.createElement("div", { className: "form-contact-editor-content" },
34
+ React.createElement("div", { className: "contact-address" },
35
+ React.createElement("div", { className: "contact-address-title" },
36
+ React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
37
+ "Address:"),
38
+ editable ? (React.createElement(Form, { layout: "horizontal" },
39
+ React.createElement(Address, { value: contact.address, required: ["line1", "city", "postalCode", "country"], onChange: (v) => {
40
+ var _a;
41
+ contact.address = v;
42
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
43
+ } }))) : (React.createElement(React.Fragment, null,
44
+ React.createElement(Row, null,
45
+ React.createElement(Col, null, (_a = contact === null || contact === void 0 ? void 0 : contact.address) === null || _a === void 0 ? void 0 : _a.line1)),
46
+ React.createElement(Row, null,
47
+ React.createElement(Col, null, (_b = contact === null || contact === void 0 ? void 0 : contact.address) === null || _b === void 0 ? void 0 : _b.line2)),
48
+ React.createElement(Row, null,
49
+ React.createElement(Col, null, `${((_c = contact === null || contact === void 0 ? void 0 : contact.address) === null || _c === void 0 ? void 0 : _c.city) ? (_d = contact.address) === null || _d === void 0 ? void 0 : _d.city : ""} ${(_e = contact === null || contact === void 0 ? void 0 : contact.address) === null || _e === void 0 ? void 0 : _e.state} ${(_f = contact === null || contact === void 0 ? void 0 : contact.address) === null || _f === void 0 ? void 0 : _f.country} ${(_g = contact === null || contact === void 0 ? void 0 : contact.address) === null || _g === void 0 ? void 0 : _g.postalCode}`.trim()))))),
50
+ React.createElement("div", { className: "contact-identity-info" },
51
+ React.createElement("div", { className: "contact-identity-info-title" },
52
+ React.createElement(FontAwesomeIcon, { icon: faAddressCard }),
53
+ "Identify Info:"),
54
+ editable ? (React.createElement(IdentityChange, { value: contact === null || contact === void 0 ? void 0 : contact.identity, onChange: (v) => {
55
+ var _a;
56
+ contact.identity = v;
57
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
58
+ } })) : (React.createElement(React.Fragment, null,
59
+ React.createElement(Row, null,
60
+ React.createElement(Col, null, (_h = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _h === void 0 ? void 0 : _h.country)),
61
+ React.createElement(Row, null,
62
+ React.createElement(Col, null, (_j = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _j === void 0 ? void 0 : _j.type)),
63
+ React.createElement(Row, null,
64
+ React.createElement(Col, null, (_k = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _k === void 0 ? void 0 : _k.number)),
65
+ React.createElement(Row, null,
66
+ React.createElement(Col, null,
67
+ "Expiry:",
68
+ ((_l = contact === null || contact === void 0 ? void 0 : contact.identity) === null || _l === void 0 ? void 0 : _l.expiryDate) &&
69
+ moment(contact.identity.expiryDate).format("YYYY-MM-DD")))))),
70
+ isOnlyInternalUse && (React.createElement("div", { className: "contact-only-internal-use" },
71
+ React.createElement("div", { className: "contact-only-internal-use-title" },
72
+ React.createElement(FontAwesomeIcon, { icon: faLock }),
73
+ "Internal Use Only:"),
74
+ editable ? (React.createElement(Form, { labelAlign: "left", layout: "horizontal" },
75
+ React.createElement(Form.Item, { label: "Representative", name: "representative" },
76
+ React.createElement(Input, { defaultValue: contact === null || contact === void 0 ? void 0 : contact.representative, value: contact === null || contact === void 0 ? void 0 : contact.representative, onChange: (e) => {
77
+ var _a;
78
+ contact.representative = e.target.value;
79
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
80
+ } })),
81
+ React.createElement(Form.Item, { label: "Representative Passport", name: "representativePassport" },
82
+ React.createElement(Input, { defaultValue: contact === null || contact === void 0 ? void 0 : contact.representativePassport, value: contact === null || contact === void 0 ? void 0 : contact.representativePassport, onChange: (e) => {
83
+ var _a;
84
+ contact.representativePassport = e.target.value;
85
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
86
+ } })),
87
+ React.createElement(Form.Item, { label: "Foreign Director 1", name: "foreignDirector1" },
88
+ React.createElement(Input, { defaultValue: contact === null || contact === void 0 ? void 0 : contact.foreignDirector1, value: contact === null || contact === void 0 ? void 0 : contact.foreignDirector1, onChange: (e) => {
89
+ var _a;
90
+ contact.foreignDirector1 = e.target.value;
91
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
92
+ } })),
93
+ React.createElement(Form.Item, { label: "Foreign Director 2", name: "foreignDirector2" },
94
+ React.createElement(Input, { defaultValue: contact === null || contact === void 0 ? void 0 : contact.foreignDirector2, value: contact === null || contact === void 0 ? void 0 : contact.foreignDirector2, onChange: (e) => {
95
+ var _a;
96
+ contact.foreignDirector2 = e.target.value;
97
+ (_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
98
+ } })))) : (React.createElement(React.Fragment, null,
99
+ (contact === null || contact === void 0 ? void 0 : contact.representative) && (React.createElement(Row, null,
100
+ React.createElement(Col, null,
101
+ "Representative: ", contact === null || contact === void 0 ? void 0 :
102
+ contact.representative))),
103
+ (contact === null || contact === void 0 ? void 0 : contact.representativePassport) && (React.createElement(Row, null,
104
+ React.createElement(Col, null,
105
+ "Representative Passport: ", contact === null || contact === void 0 ? void 0 :
106
+ contact.representativePassport))),
107
+ (contact === null || contact === void 0 ? void 0 : contact.foreignDirector1) && (React.createElement(Row, null,
108
+ React.createElement(Col, null,
109
+ "Foreign Director 1: ", contact === null || contact === void 0 ? void 0 :
110
+ contact.foreignDirector1))),
111
+ (contact === null || contact === void 0 ? void 0 : contact.foreignDirector2) && (React.createElement(Row, null,
112
+ React.createElement(Col, null,
113
+ "Foreign Director 2: ", contact === null || contact === void 0 ? void 0 :
114
+ contact.foreignDirector2))))))))));
115
+ });
116
+ };
117
+ FormContactEditor.defaultProps = {
118
+ editable: false,
119
+ header: true,
120
+ // isOnlyInternalUse: true,
121
+ };
122
+ export default FormContactEditor;
123
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,aAAa,EACb,UAAU,EACV,cAAc,EACd,OAAO,EACP,MAAM,GACN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,cAAc,MAAM,qEAAqE,CAAC;AACjG,OAAO,OAAO,MAAM,0CAA0C,CAAC;AAC/D,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,iBAAiB,GAAG,CAAC,KAW1B,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAE/D,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,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P,OAAO,uBAAP,OAAO,CAAE,gBAAgB,KAAI,CAC7B,oBAAC,GAAG;4BACH,oBAAC,GAAG;wDAAsB,OAAO,aAAP,OAAO;gCAAP,OAAO,CAAE,gBAAgB,CAAO,CACrD,CACN;wBACA,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,KAAI,CAC7B,oBAAC,GAAG;4BACH,oBAAC,GAAG;wDAAsB,OAAO,aAAP,OAAO;gCAAP,OAAO,CAAE,gBAAgB,CAAO,CACrD,CACN,CACe,CACjB,CACI,CACN,CACI,CACD,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAChC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,2BAA2B;CAC3B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,100 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .form-contact-editor {
4
+ :global {
5
+ .form-contact-editor-header {
6
+ display: flex;
7
+ align-items: center;
8
+
9
+ .form-contact-editor-header-name {
10
+ flex: 1;
11
+ margin-right: 3em;
12
+
13
+ .ant-input-affix-wrapper {
14
+ border-radius: @border-radius;
15
+ }
16
+ }
17
+
18
+ .contact-name {
19
+ color: rgba(0, 0, 0, 0.85);
20
+ font-weight: bold;
21
+ font-size: 16px;
22
+ }
23
+ }
24
+
25
+ .form-contact-editor-basic {
26
+ display: flex;
27
+ line-height: 0;
28
+ margin-top: 10px;
29
+
30
+ .ant-input-affix-wrapper {
31
+ flex: 1;
32
+ border-radius: 8px;
33
+ margin-right: 3em;
34
+ }
35
+
36
+ .ant-input-affix-wrapper-disabled {
37
+ color: rgba(0, 0, 0, 0.85);
38
+ cursor: auto;
39
+ padding: 4px 0;
40
+
41
+ .ant-input[disabled] {
42
+ color: rgba(0, 0, 0, 0.85);
43
+ cursor: auto;
44
+ }
45
+ }
46
+
47
+ .basic-val {
48
+ font-size: 14px;
49
+ font-weight: 400;
50
+ color: rgba(0, 0, 0, 0.45);
51
+ margin-right: 15px;
52
+
53
+ .svg-inline--fa {
54
+ margin-right: 5px;
55
+ }
56
+ }
57
+ }
58
+
59
+ .form-contact-editor-content {
60
+ display: flex;
61
+ flex-direction: column;
62
+
63
+ >div:nth-child(2) {
64
+ margin-bottom: 10px;
65
+ }
66
+
67
+ .contact-identity-info,
68
+ .contact-address,
69
+ .contact-only-internal-use {
70
+ flex: 1;
71
+ position: relative;
72
+ padding-right: 3em;
73
+
74
+ .buttons {
75
+ position: absolute;
76
+ right: 30px;
77
+ top: 0;
78
+ }
79
+
80
+ .contact-identity-info-title,
81
+ .contact-address-title,
82
+ .contact-only-internal-use-title {
83
+ padding-bottom: 16px;
84
+ font-size: 16px;
85
+ font-weight: bold;
86
+
87
+ svg {
88
+ margin-right: 5px;
89
+ }
90
+ }
91
+
92
+ .morpho-inline-edit {
93
+ width: 80%;
94
+ }
95
+ }
96
+ }
97
+
98
+
99
+ }
100
+ }
@@ -20,8 +20,12 @@ declare const NewIncorporationCLDAForm: {
20
20
  name: string;
21
21
  id: string;
22
22
  } | undefined;
23
- onSave?: ((params?: any) => void) | undefined;
23
+ /** 执行 cancel 回调 */
24
24
  onCancel?: (() => void) | undefined;
25
+ /** 调用组件内部接口之后执行的回调 */
26
+ onSubmit?: (() => void) | undefined;
27
+ /** 当属性有传入 onSave 函数时, 不会调用组件内的接口, 而是通过回调函数把 state 输出 */
28
+ onSave?: ((params?: any) => void) | undefined;
25
29
  }): JSX.Element;
26
30
  defaultProps: {
27
31
  openMode: string;
@@ -55,18 +55,20 @@ const NewIncorporationCLDAForm = (props) => {
55
55
  var _a;
56
56
  // if (!values.Name) return message.warning("Title is required");
57
57
  setLoading(true);
58
- await store
59
- .create({
60
- data: {
61
- ...state.params,
62
- ParentId: props.parentId,
63
- },
64
- error: (error) => message.error(error.message),
65
- })
66
- .then((res) => layout.history.push(`/clda/${res.id}`));
58
+ props.onSave
59
+ ? props.onSave({ ...state.params, Type: "CLDA", ParentId: props.parentId })
60
+ : await store
61
+ .create({
62
+ data: {
63
+ ...state.params,
64
+ ParentId: props.parentId,
65
+ },
66
+ error: (error) => message.error(error.message),
67
+ })
68
+ .then((res) => layout.history.push(`/clda/${res.id}`));
67
69
  runInAction(() => (state.members = []));
68
70
  setLoading(false);
69
- (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, state.params);
71
+ (_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props);
70
72
  }
71
73
  // cancel add incorporation-clda
72
74
  function onCancel() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,wBAAwB,GAAG,CAAC,KAmBjC,EAAE,EAAE;IACJ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,EAAE,CAAC,CAAC,CAAC;QACxD,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC,CAAC;QACxC,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,MAAA,KAAK,CAAC,MAAM,sDAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;IAED,gCAAgC;IAChC,SAAS,QAAQ;;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC,CAAC;QACxC,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;IAED,SAAS,QAAQ,CAAC,GAAW,EAAE,UAAkB;QAChD,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,wBAAwB,CAAC,YAAY,GAAG;IACvC,QAAQ,EAAE,WAAW;CACrB,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAExE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,q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,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;YAC3E,CAAC,CAAC,MAAM,KAAK;iBACV,MAAM,CAAC;gBACP,IAAI,EAAE;oBACL,GAAG,KAAK,CAAC,MAAM;oBACf,QAAQ,EAAE,KAAK,CAAC,QAAQ;iBACxB;gBACD,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;aACrD,CAAC;iBACD,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC1D,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC,CAAC;QACxC,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;IAED,gCAAgC;IAChC,SAAS,QAAQ;;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC,CAAC;QACxC,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;IAED,SAAS,QAAQ,CAAC,GAAW,EAAE,UAAkB;QAChD,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,wBAAwB,CAAC,YAAY,GAAG;IACvC,QAAQ,EAAE,WAAW;CACrB,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "4.0.20",
3
+ "version": "4.0.22",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -1,125 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Button, Col, Divider, Form, Row, Input, Select } from "antd";
3
- import { UserOutlined } from "@ant-design/icons";
4
- import { observe } from "@voplus/morpho-ui";
5
- import { faAddressCard, faEnvelope, faMapMarkerAlt, faPhone, faTrashAlt, faPenToSquare, } from "@fortawesome/pro-light-svg-icons";
6
- import { clone } from "lodash-es";
7
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
8
- import { useCLDAForm, useCLDAFormStore, } from "../../../../../../../data/clda-form";
9
- import IdentityChange from "../../../../../../corporate/company/identity/components/IdentityChange";
10
- import { changeName } from "../../../../../../../data/clda-form/conversion";
11
- import { useIncorporationFormContext } from "../../../context";
12
- import Address from "@voplus/morpho-org/es/components/Address";
13
- import moment from "moment";
14
- import styles from "./index.less";
15
- const CompanyGeneralOfficerInfo = (props) => {
16
- const { formId, officer, contacts } = props;
17
- const [editable, setEditable] = useState(false);
18
- const store = useCLDAFormStore();
19
- const context = useIncorporationFormContext();
20
- const incorporation = useCLDAForm(props.formId);
21
- return observe(() => {
22
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
23
- return (React.createElement(React.Fragment, null,
24
- React.createElement("div", { className: styles["company-general-officer-info"] },
25
- React.createElement("div", { className: "company-general-officer-title" },
26
- React.createElement("div", { className: "company-general-officer-title-info" }, editable ? (React.createElement(Input, { prefix: React.createElement(UserOutlined, null), defaultValue: contacts === null || contacts === void 0 ? void 0 : contacts.name, value: contacts === null || contacts === void 0 ? void 0 : contacts.name, onChange: (e) => (contacts.name = e.target.value) })) : (React.createElement("span", { className: "company-general-officer-name" }, contacts === null || contacts === void 0 ? void 0 : contacts.name))),
27
- (context ? context.editable : true) && (React.createElement("div", { className: "action-button" },
28
- contacts.idType === "NewId" && (React.createElement("span", { className: "edit-icon", onClick: () => setEditable(!editable) },
29
- React.createElement(FontAwesomeIcon, { icon: faPenToSquare }))),
30
- React.createElement("span", { className: "delete-icon", onClick: props.onDeleteClick },
31
- React.createElement(FontAwesomeIcon, { icon: faTrashAlt }))))),
32
- React.createElement(Form, { layout: "horizontal", className: "new-officer-position" },
33
- React.createElement(Form.Item, { label: "Position" },
34
- React.createElement(Select, { mode: "tags", style: { width: "100%" }, placeholder: "Tags Mode", defaultValue: officer.positions, onChange: (value) => onChangePosition(value), options: [
35
- {
36
- value: "Director",
37
- label: "Director",
38
- },
39
- {
40
- value: "Secretary",
41
- label: "Secretary",
42
- },
43
- {
44
- value: "Auditor",
45
- label: "Auditor",
46
- },
47
- {
48
- value: "Chief Executive Officer",
49
- label: "Chief Executive Officer",
50
- },
51
- ] }))),
52
- contacts.idType === "NewId" && (React.createElement(React.Fragment, null,
53
- React.createElement("div", { className: "basic-info" },
54
- React.createElement(Input, { disabled: !editable, bordered: editable, value: contacts === null || contacts === void 0 ? void 0 : contacts.email, placeholder: "Please enter the email", prefix: React.createElement(FontAwesomeIcon, { icon: faEnvelope }), onChange: (e) => (contacts.email = e.target.value) }),
55
- React.createElement(Input, { disabled: !editable, bordered: editable, value: contacts === null || contacts === void 0 ? void 0 : contacts.phone, placeholder: "Please enter the phone", prefix: React.createElement(FontAwesomeIcon, { icon: faPhone }), onChange: (e) => (contacts.phone = e.target.value) })),
56
- React.createElement("div", { className: "company-general-officer-info-content" },
57
- React.createElement("div", { className: "company-general-officer-info-item" },
58
- React.createElement("div", { className: "company-general-officer-item-name" },
59
- React.createElement(FontAwesomeIcon, { icon: faMapMarkerAlt }),
60
- "Address:"),
61
- editable ? (React.createElement(Form, { layout: "horizontal" },
62
- React.createElement(Address, { value: contacts.address, required: ["line1", "city", "postalCode", "country"], onChange: (v) => (contacts.address = v) }))) : (React.createElement(React.Fragment, null,
63
- React.createElement(Row, null,
64
- React.createElement(Col, null, (_a = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _a === void 0 ? void 0 : _a.line1)),
65
- React.createElement(Row, null,
66
- React.createElement(Col, null, (_b = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _b === void 0 ? void 0 : _b.line2)),
67
- React.createElement(Row, null,
68
- React.createElement(Col, null, `${((_c = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _c === void 0 ? void 0 : _c.city) ? (_d = contacts.address) === null || _d === void 0 ? void 0 : _d.city : ""} ${(_e = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _e === void 0 ? void 0 : _e.state} ${(_f = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _f === void 0 ? void 0 : _f.country} ${(_g = contacts === null || contacts === void 0 ? void 0 : contacts.address) === null || _g === void 0 ? void 0 : _g.postalCode}`.trim()))))),
69
- React.createElement("div", { className: "company-general-officer-info-item" },
70
- React.createElement("div", { className: "company-general-officer-item-name" },
71
- React.createElement(FontAwesomeIcon, { icon: faAddressCard }),
72
- "Identify Info:"),
73
- editable ? (React.createElement(IdentityChange, { value: contacts === null || contacts === void 0 ? void 0 : contacts.identity, onChange: (v) => (contacts.identity = v) })) : (React.createElement(React.Fragment, null,
74
- React.createElement(Row, null,
75
- React.createElement(Col, null, (_h = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _h === void 0 ? void 0 : _h.country)),
76
- React.createElement(Row, null,
77
- React.createElement(Col, null, (_j = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _j === void 0 ? void 0 : _j.type)),
78
- React.createElement(Row, null,
79
- React.createElement(Col, null, (_k = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _k === void 0 ? void 0 : _k.number)),
80
- React.createElement(Row, null,
81
- React.createElement(Col, null,
82
- "Expiry:",
83
- ((_l = contacts === null || contacts === void 0 ? void 0 : contacts.identity) === null || _l === void 0 ? void 0 : _l.expiryDate) &&
84
- moment(contacts.identity.expiryDate).format("YYYY-MM-DD"))))),
85
- editable && (React.createElement(Row, { justify: "end" },
86
- React.createElement(Button, { onClick: () => setEditable(false) }, "Cancel"),
87
- React.createElement(Button, { type: "primary", style: { marginLeft: "1rem" }, onClick: onSave }, "Save"))))))),
88
- props.officerLength > 1 && React.createElement(Divider, { className: "halvingline" }))));
89
- });
90
- async function onChangePosition(position) {
91
- var _a, _b, _c, _d, _e, _f;
92
- officer.positions = position;
93
- if (props.editOption === "NewOfficerAppointments") {
94
- const officers = (_c = clone((_b = (_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.newOfficerAppointments) === null || _b === void 0 ? void 0 : _b.officers)) !== null && _c !== void 0 ? _c : [];
95
- const number = officers.findIndex((i) => i.officerId === props.officer.officerId);
96
- officers[number] = officer;
97
- await store.edit(formId, {
98
- data: { NewOfficerAppointments: { Officers: changeName(officers) } },
99
- error: "message",
100
- });
101
- }
102
- if (props.editOption === "RemoveOfficerDetails") {
103
- const removeOfficers = (_f = clone((_e = (_d = incorporation.content) === null || _d === void 0 ? void 0 : _d.removeOfficerDetails) === null || _e === void 0 ? void 0 : _e.officers)) !== null && _f !== void 0 ? _f : [];
104
- const number = removeOfficers.findIndex((i) => i.officerId === props.officer.officerId);
105
- removeOfficers[number] = officer;
106
- await store.edit(formId, {
107
- data: { RemoveOfficerDetails: { Officers: changeName(removeOfficers) } },
108
- error: "message",
109
- });
110
- }
111
- }
112
- async function onSave() {
113
- var _a, _b;
114
- const officerContacts = (_b = clone((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.contacts)) !== null && _b !== void 0 ? _b : [];
115
- const number = officerContacts.findIndex((i) => i.id === props.officer.officerId);
116
- officerContacts[number] = contacts;
117
- await store.edit(formId, {
118
- data: { Contacts: changeName(officerContacts) },
119
- error: "message",
120
- });
121
- setEditable(false);
122
- }
123
- };
124
- export default CompanyGeneralOfficerInfo;
125
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/clda-form/incorporation/company-general/components/CompanyGeneralOfficerInfo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OA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MAAM,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE;gBACxB,IAAI,EAAE,EAAE,oBAAoB,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,EAAE;gBACxE,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;SACH;IACF,CAAC;IAED,KAAK,UAAU,MAAM;;QACpB,MAAM,eAAe,GAAG,MAAA,KAAK,CAAC,MAAA,aAAa,CAAC,OAAO,0CAAE,QAAQ,CAAC,mCAAI,EAAE,CAAC;QACrE,MAAM,MAAM,GAAG,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAClF,eAAe,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC;QAEnC,MAAM,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE;YACxB,IAAI,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE;YAC/C,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QAEH,WAAW,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,131 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .company-general-officer-info {
4
- :global {
5
- .company-general-officer-title {
6
- display: flex;
7
- align-items: center;
8
-
9
- .company-general-officer-title-info {
10
- flex: 1;
11
-
12
- .ant-input-affix-wrapper {
13
- border-radius: @border-radius;
14
- }
15
- }
16
-
17
- .company-general-officer-name {
18
- color: rgba(0, 0, 0, 0.85);
19
- font-weight: bold;
20
- font-size: 16px;
21
- }
22
-
23
- .action-button {
24
- font-size: 14px;
25
-
26
- > span {
27
- margin-left: 6px;
28
- cursor: pointer;
29
- }
30
-
31
- .delete-icon {
32
- &:hover {
33
- color: @delete-color;
34
- }
35
- }
36
-
37
- .edit-icon {
38
- &:hover {
39
- color: @primary-color;
40
- }
41
- }
42
- }
43
- }
44
-
45
- .new-officer-position {
46
- padding-top: 25px;
47
- padding-right: 3em;
48
- }
49
-
50
- .placeholder {
51
- color: #00000040;
52
- }
53
-
54
- .halvingline {
55
- margin-bottom: 40px;
56
- }
57
-
58
- .basic-info {
59
- display: flex;
60
- line-height: 0;
61
- margin-top: 10px;
62
-
63
- .ant-input-affix-wrapper {
64
- flex: 1;
65
- border-radius: 8px;
66
- margin-right: 3em;
67
- }
68
-
69
- .ant-input-affix-wrapper-disabled {
70
- color: rgba(0, 0, 0, 0.85);
71
- cursor: auto;
72
- padding: 4px 0;
73
-
74
- .ant-input[disabled] {
75
- color: rgba(0, 0, 0, 0.85);
76
- cursor: auto;
77
- }
78
- }
79
-
80
- .basic-val {
81
- font-size: 14px;
82
- font-weight: 400;
83
- color: rgba(0, 0, 0, 0.45);
84
- margin-right: 15px;
85
-
86
- .svg-inline--fa {
87
- margin-right: 5px;
88
- }
89
- }
90
- }
91
-
92
- .company-general-officer-info-content {
93
- display: flex;
94
- flex-direction: column;
95
-
96
- > div:nth-child(2) {
97
- margin-bottom: 10px;
98
- }
99
-
100
- .company-general-officer-info-item {
101
- flex: 1;
102
- position: relative;
103
- padding-right: 3em;
104
-
105
- .buttons {
106
- position: absolute;
107
- right: 30px;
108
- top: 0;
109
- }
110
-
111
- .company-general-officer-item-name {
112
- padding-bottom: 16px;
113
- font-size: 16px;
114
- font-weight: bold;
115
-
116
- svg {
117
- margin-right: 5px;
118
- }
119
- }
120
-
121
- .morpho-inline-edit {
122
- width: 80%;
123
- }
124
- }
125
- }
126
-
127
- .ant-alert-warning {
128
- margin-top: 10px;
129
- }
130
- }
131
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,C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CACD,CACD,CACN;wBACA,KAAK,CAAC,QAAQ,IAAI,CAClB,oBAAC,GAAG,IAAC,OAAO,EAAC,KAAK;4BACjB,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,aAAiB;4BAChE,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,WAE5D,CACJ,CACN,CACI,CACD,CACJ,CACH;YAEA,KAAK,CAAC,SAAS,IAAI,oBAAC,OAAO,IAAC,SAAS,EAAC,aAAa,GAAG,CAClD,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM;QACd,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC;QACvB,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAChE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components/NewOfficerDetailItem/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IAIjB,YAAoB,iBAA+B;;;;;mBAA/B;;QAHR;;;;mBAAkB,KAAK;WAAC;QACxB;;;;;WAAmC;QAG9C,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,iBAAiB,CAAA;IAC5C,CAAC;CACD;AARY;IAAX,UAAU;uCAAyB;AACxB;IAAX,UAAU;4CAAoC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/self-registration/clda-form/incorporation/components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