@voplus/morpho-csp 4.0.10 → 4.0.12

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 (56) hide show
  1. package/es/components/CorporateUnitSelectDialog/index.js +1 -1
  2. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  3. package/es/data/officer/OfficerStore.d.ts +2 -1
  4. package/es/data/officer/OfficerStore.js +8 -0
  5. package/es/data/officer/OfficerStore.js.map +1 -1
  6. package/es/data/officer/types.d.ts +6 -0
  7. package/es/data/share-certificate/types.d.ts +2 -0
  8. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js +0 -2
  9. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js.map +1 -1
  10. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +45 -85
  11. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
  12. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.less +49 -10
  13. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileTabsReload.d.ts +5 -0
  14. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileTabsReload.js +11 -0
  15. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/RiskProfileTabsReload.js.map +1 -0
  16. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js +1 -1
  17. package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js.map +1 -1
  18. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.d.ts +1 -1
  19. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +42 -85
  20. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
  21. package/es/modules/corporate/company/officer-register/components/OfficerList/index.d.ts +8 -1
  22. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +12 -2
  23. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
  24. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.d.ts +6 -0
  25. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js +61 -0
  26. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js.map +1 -0
  27. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.less +71 -0
  28. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.d.ts +16 -0
  29. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js +53 -0
  30. package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/state.js.map +1 -0
  31. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.d.ts +7 -0
  32. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js +38 -0
  33. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.js.map +1 -0
  34. package/es/modules/corporate/company/officer-register/components/SelectOfficerItem/index.less +38 -0
  35. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.d.ts +7 -0
  36. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js +70 -0
  37. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/index.js.map +1 -0
  38. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.d.ts +12 -0
  39. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js +56 -0
  40. package/es/modules/corporate/company/officer-register/components/SelectOfficerList/state.js.map +1 -0
  41. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +10 -4
  42. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +6 -3
  43. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
  44. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +2 -2
  45. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
  46. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js +1 -1
  47. package/es/modules/self-registration/clda-form/incorporation/appoint-representative/index.js.map +1 -1
  48. package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.d.ts +4 -0
  49. package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.js +106 -0
  50. package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.js.map +1 -0
  51. package/es/modules/self-registration/clda-form/incorporation/issue-shares/index.less +177 -0
  52. package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.d.ts +4 -0
  53. package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.js +100 -0
  54. package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.js.map +1 -0
  55. package/es/modules/self-registration/clda-form/incorporation/share-transfer/index.less +177 -0
  56. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CLDAFormProps } from "../../../../../data/clda-form";
3
+ declare const ShareTransferForm: (props: CLDAFormProps) => JSX.Element;
4
+ export default ShareTransferForm;
@@ -0,0 +1,100 @@
1
+ import React, { useEffect, useState } from "react";
2
+ import { Spin, Form, Button, Space, Radio, Input, DatePicker } from "antd";
3
+ import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
4
+ import { IncorporationFormContext, State } from "../context";
5
+ import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
6
+ import { observe, InlineEdit } from "@voplus/morpho-ui";
7
+ import CorporateSelect from "../../../../corporate/components/CorporateSelect";
8
+ import CompanyMemberSelect from "../../../../corporate/company/components/CompanyMemberSelect";
9
+ import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
10
+ import Section from "../../../controls/Section";
11
+ import classnames from "classnames";
12
+ import styles from "./index.less";
13
+ const ShareTransferForm = (props) => {
14
+ const [validations] = useState(new ValidationCollections());
15
+ const [state] = useState(new State());
16
+ const [loaded, setLoaded] = useState(true);
17
+ const [selectTransferee, setSelectTransferee] = useState("select");
18
+ const [showDialog, setShowDialog] = useState(false);
19
+ const incorporation = useCLDAForm(props.id, { reload: true });
20
+ const store = useCLDAFormStore();
21
+ const [showTransfereeEditIcon, setShowTransfereeEditIcon] = useState(true);
22
+ const [transfereeEditable, setTransfereeEditable] = useState(false);
23
+ const [companyEditable, setCompanyEditable] = useState(false);
24
+ const [showCompanyEditIcon, setShowCompanyEditIcon] = useState(true);
25
+ const [showCountryEditIcon, setShowCountryEditIcon] = useState(true);
26
+ const [countryEditable, setCountryEditable] = useState(false);
27
+ const clickEvent = (e) => {
28
+ if (!e.target.className.toString())
29
+ return;
30
+ if (!e.target.className.toString().includes("ant-select")) {
31
+ setTransfereeEditable(false);
32
+ setShowTransfereeEditIcon(true);
33
+ setCompanyEditable(false);
34
+ setShowCompanyEditIcon(true);
35
+ setCountryEditable(false);
36
+ setShowCountryEditIcon(true);
37
+ }
38
+ };
39
+ useEffect(() => {
40
+ if (transfereeEditable || companyEditable || countryEditable) {
41
+ window.addEventListener("click", clickEvent, true);
42
+ }
43
+ return () => {
44
+ window.removeEventListener("click", clickEvent, true);
45
+ };
46
+ }, [transfereeEditable, companyEditable, countryEditable]);
47
+ const content = observe(() => (React.createElement("div", { className: classnames("incorporation-form-view", styles["share-transfer-from-review"]) },
48
+ React.createElement(Spin, { spinning: !incorporation.loaded }, incorporation.loaded && (React.createElement(ValidationCollectionsContext.Provider, { value: validations },
49
+ React.createElement(Section, { title: "Document Details" },
50
+ React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
51
+ React.createElement(Form.Item, { label: "Company", name: "Company" },
52
+ React.createElement(CorporateSelect, null)),
53
+ React.createElement(Form.Item, { label: "Document Date", name: "Date" },
54
+ React.createElement(DatePicker, { format: "YYYY/MM/DD" })),
55
+ React.createElement(Form.Item, { label: "Effective Date", name: "Effective" },
56
+ React.createElement(DatePicker, { format: "YYYY/MM/DD" })))),
57
+ React.createElement(Section, { title: "Share Details" },
58
+ React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
59
+ React.createElement(Form.Item, { label: "Total Shares", name: "SharesTotal" },
60
+ React.createElement(Input, null)),
61
+ React.createElement(Form.Item, { label: "Total Consideration", name: "ConsiderationTotal" },
62
+ React.createElement(Input, null)))),
63
+ React.createElement(Section, { title: "Transferor Details" },
64
+ React.createElement(Form, { layout: "horizontal", labelAlign: "left", labelCol: { span: 6 } },
65
+ React.createElement(Form.Item, { label: "Officer", name: "TransferorOfficer" },
66
+ React.createElement(CompanyMemberSelect, { corporateId: "" })))),
67
+ React.createElement(Section, { title: "Transferee Details" },
68
+ React.createElement("div", { className: "new-officer-select" },
69
+ React.createElement(Radio.Group, { onChange: onChange, value: selectTransferee },
70
+ React.createElement(Radio, { value: "select" }, "Select From Existing"),
71
+ React.createElement(Radio, { value: "new" }, "Input New"))),
72
+ selectTransferee === "select" ? (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: showTransfereeEditIcon, editable: false, onEditIconClick: () => {
73
+ setTransfereeEditable(true);
74
+ setShowTransfereeEditIcon(false);
75
+ }, content: (v) => {
76
+ var _a;
77
+ return transfereeEditable ? (React.createElement(CompanyMemberSelect, { corporateId: ((_a = incorporation.content.corporate) === null || _a === void 0 ? void 0 : _a.id) || "", onChange: onChangeOfficer })) : (React.createElement("span", { className: "add-info-style" }, "Select Transferee"));
78
+ } })) : selectTransferee === "new" ? (React.createElement(Button, { onClick: () => setShowDialog(true) }, "New Transferee Details")) : null,
79
+ showDialog && React.createElement(NewLegalContactDialog, { visible: true, updateVisible: onSave })),
80
+ React.createElement("div", { className: "share-transfer-from-btn" },
81
+ React.createElement(Space, null,
82
+ React.createElement(Button, { size: "middle" }, "Download"),
83
+ React.createElement(Button, { type: "primary", size: "middle" }, "General E-Sign")))))))));
84
+ return observe(() => (React.createElement(IncorporationFormContext.Provider, { value: state }, content)));
85
+ function onReload() {
86
+ setLoaded(false);
87
+ setTimeout(() => {
88
+ setLoaded(true);
89
+ }, 100);
90
+ }
91
+ function onChange(e) {
92
+ setSelectTransferee(e.target.value);
93
+ }
94
+ async function onChangeOfficer(o) { }
95
+ async function onSave(info) {
96
+ setShowDialog(false);
97
+ }
98
+ };
99
+ export default ShareTransferForm;
100
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/incorporation/share-transfer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAY,KAAK,EAAU,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC7F,OAAO,EAAiB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE7F,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAMxD,OAAO,eAAe,MAAM,kDAAkD,CAAC;AAC/E,OAAO,mBAAmB,MAAM,8DAA8D,CAAC;AAC/F,OAAO,qBAAqB,MAAM,yEAAyE,CAAC;AAC5G,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,iBAAiB,GAAG,CAAC,KAAoB,EAAE,EAAE;IAClD,MAAM,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;IAC5D,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,C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Q,CAAC,CAAmB;QACpC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED,KAAK,UAAU,eAAe,CAAC,CAAM,IAAG,CAAC;IAEzC,KAAK,UAAU,MAAM,CAAC,IAAS;QAC9B,aAAa,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,177 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .share-transfer-from-review {
4
+ max-width: 1000px;
5
+ padding: 20px !important;
6
+ margin: 0 auto;
7
+
8
+ :global {
9
+ .share-transfer-from-btn {
10
+ display: flex;
11
+ justify-content: end;
12
+ padding-bottom: 20px;
13
+ }
14
+
15
+ .new-officer-select {
16
+ margin-bottom: 15px;
17
+ }
18
+
19
+ .new-officer-details-list {
20
+ margin-bottom: 20px;
21
+
22
+ .new-officer-details-item {
23
+ .halvingline {
24
+ margin-bottom: 40px;
25
+ }
26
+
27
+ .new-officer-title {
28
+ display: flex;
29
+ align-items: center;
30
+
31
+ .new-officer-title-info {
32
+ flex: 1;
33
+
34
+ .ant-input-affix-wrapper {
35
+ border-radius: @border-radius;
36
+ }
37
+ }
38
+
39
+ .new-officer-name {
40
+ color: rgba(0, 0, 0, 0.85);
41
+ font-weight: bold;
42
+ font-size: 16px;
43
+ }
44
+
45
+ .action-button {
46
+ font-size: 14px;
47
+
48
+ > span {
49
+ margin-left: 6px;
50
+ cursor: pointer;
51
+ }
52
+
53
+ .delete-icon {
54
+ &:hover {
55
+ color: @delete-color;
56
+ }
57
+ }
58
+
59
+ .edit-icon {
60
+ &:hover {
61
+ color: @primary-color;
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ .new-officer-position {
68
+ padding-top: 25px;
69
+ padding-right: 3em;
70
+ }
71
+
72
+ .basic-info {
73
+ display: flex;
74
+ line-height: 0;
75
+ margin-top: 10px;
76
+
77
+ .shares-input {
78
+ flex: 1;
79
+ display: flex;
80
+ align-items: center;
81
+ margin-right: 3em;
82
+
83
+ .ant-input-number {
84
+ width: 100%;
85
+ }
86
+
87
+ .ant-input-number-disabled {
88
+ color: rgba(0, 0, 0, 0.85);
89
+ background-color: transparent;
90
+ cursor: auto;
91
+ }
92
+
93
+ .ant-input-number-prefix {
94
+ color: #000;
95
+ }
96
+
97
+ .ant-input-number-affix-wrapper {
98
+ width: 100%;
99
+ border-radius: @border-radius;
100
+ }
101
+
102
+ .ant-input-number-affix-wrapper-disabled {
103
+ padding: 0;
104
+ }
105
+ }
106
+
107
+ .ant-input-affix-wrapper {
108
+ flex: 1;
109
+ border-radius: 8px;
110
+ margin-right: 3em;
111
+ }
112
+
113
+ .ant-input-affix-wrapper-disabled {
114
+ color: rgba(0, 0, 0, 0.85);
115
+ cursor: auto;
116
+ padding: 4px 0 !important;
117
+
118
+ .ant-input[disabled] {
119
+ color: rgba(0, 0, 0, 0.85);
120
+ cursor: auto;
121
+ }
122
+ }
123
+
124
+ .basic-val {
125
+ font-size: 14px;
126
+ font-weight: 400;
127
+ color: rgba(0, 0, 0, 0.45);
128
+ margin-right: 15px;
129
+
130
+ .svg-inline--fa {
131
+ margin-right: 5px;
132
+ }
133
+ }
134
+ }
135
+
136
+ .new-officer-info-content {
137
+ display: flex;
138
+ flex-direction: column;
139
+
140
+ > div:nth-child(2) {
141
+ margin-bottom: 10px;
142
+ }
143
+
144
+ .new-officer-info-item {
145
+ flex: 1;
146
+ position: relative;
147
+ padding-right: 3em;
148
+
149
+ .buttons {
150
+ position: absolute;
151
+ right: 30px;
152
+ top: 0;
153
+ }
154
+
155
+ .new-officer-item-name {
156
+ padding-bottom: 16px;
157
+ font-size: 16px;
158
+ font-weight: bold;
159
+
160
+ svg {
161
+ margin-right: 5px;
162
+ }
163
+ }
164
+
165
+ .new-officer-info-address {
166
+ padding-bottom: 16px;
167
+ }
168
+
169
+ .morpho-inline-edit {
170
+ width: 80%;
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "4.0.10",
3
+ "version": "4.0.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -15,7 +15,7 @@
15
15
  "author": "VOPLUS",
16
16
  "license": "SEE LICENSE IN LICENSE",
17
17
  "scripts": {
18
- "copy-less": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
18
+ "copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es && cpx src/**/*.css es",
19
19
  "clean": "del-cli es && jest --clearCache",
20
20
  "clean-hooks": "del-cli .git/hooks",
21
21
  "storybook": "start-storybook -p 9001 -c .storybook -s ./public",