@voplus/morpho-csp 1.2.120 → 1.2.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/Header/index.less +20 -20
- package/es/components/RegisteresMenuItem/index.less +10 -10
- package/es/data/clda-form/conversion.d.ts +7 -0
- package/es/data/clda-form/conversion.js +24 -0
- package/es/data/clda-form/conversion.js.map +1 -0
- package/es/data/clda-form/types.d.ts +75 -14
- package/es/modules/account/components/AccountOrganizations/index.less +26 -26
- package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
- package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
- package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
- package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
- package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
- package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
- package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
- package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
- package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
- package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +59 -59
- package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
- package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
- package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
- package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
- package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
- package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +15 -15
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +4 -4
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
- package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
- package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
- package/es/modules/corporate/company/identity/components/IdentityChange/index.js +1 -1
- package/es/modules/corporate/company/identity/components/IdentityChange/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
- package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
- package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
- package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
- package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
- package/es/modules/corporate/components/Statement/index.less +16 -16
- package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
- package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
- package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
- package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
- package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
- package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
- package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
- package/es/modules/order/components/OrderItem/index.less +21 -21
- package/es/modules/order/components/OrderItems/index.less +48 -48
- package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
- package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
- package/es/modules/order/controls/OrderLabel/index.less +21 -21
- package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
- package/es/modules/self-registration/clda-form/Download/index.less +41 -41
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
- package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +14 -3
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +3 -2
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js +3 -2
- package/es/modules/self-registration/clda-form/components/NewDirectorDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js +2 -1
- package/es/modules/self-registration/clda-form/components/NewSecretaryDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js +6 -5
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
- package/es/modules/self-registration/clda-form/components/OfficerList/index.js +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +2 -2
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +2 -1
- package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
- package/es/modules/self-registration/components/Card/index.less +51 -51
- package/es/modules/self-registration/components/CheckSection/index.less +20 -20
- package/es/modules/self-registration/components/MemberCard/index.less +53 -53
- package/es/modules/self-registration/components/StripeForm/index.less +36 -36
- package/es/modules/self-registration/controls/Blink/index.less +27 -27
- package/es/modules/self-registration/controls/Section/index.less +79 -79
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
- package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
- package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
- package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
- package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
- package/es/modules/self-registration/shopping-cart/pages.less +6 -6
- package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
- package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
- package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
- package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
- package/es/style/common.less +66 -66
- package/package.json +1 -1
|
@@ -1,201 +1,201 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
|
-
|
|
4
|
-
.member-info {
|
|
5
|
-
:global {
|
|
6
|
-
.member-title {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
// margin-bottom: 20px;
|
|
10
|
-
.member-title-info {
|
|
11
|
-
flex: 1;
|
|
12
|
-
}
|
|
13
|
-
.member-name {
|
|
14
|
-
color: rgba(0, 0, 0, 0.85);
|
|
15
|
-
font-weight: bold;
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.action-button {
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
|
|
22
|
-
> span {
|
|
23
|
-
margin-left: 6px;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
.delete-icon {
|
|
27
|
-
// color: lightgray;
|
|
28
|
-
&:hover {
|
|
29
|
-
color: @delete-color;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
.edit-icon {
|
|
33
|
-
&:hover {
|
|
34
|
-
color: @primary-color;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.placeholder {
|
|
41
|
-
color: #00000040;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.halvingline {
|
|
45
|
-
margin-bottom: 40px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.basic-info {
|
|
49
|
-
display: flex;
|
|
50
|
-
line-height: 0;
|
|
51
|
-
margin-top: 10px;
|
|
52
|
-
.shares-input {
|
|
53
|
-
flex: 1;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
margin-right: 3em;
|
|
57
|
-
.ant-input-number {
|
|
58
|
-
width: 100%;
|
|
59
|
-
}
|
|
60
|
-
.ant-input-number-disabled {
|
|
61
|
-
color: rgba(0, 0, 0, 0.85);
|
|
62
|
-
background-color: transparent;
|
|
63
|
-
cursor: auto;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
.ant-input-affix-wrapper {
|
|
67
|
-
flex: 1;
|
|
68
|
-
border-radius: 8px;
|
|
69
|
-
margin-right: 3em;
|
|
70
|
-
}
|
|
71
|
-
.ant-input-affix-wrapper-disabled {
|
|
72
|
-
color: rgba(0, 0, 0, 0.85);
|
|
73
|
-
cursor: auto;
|
|
74
|
-
padding: 4px 0;
|
|
75
|
-
.ant-input[disabled] {
|
|
76
|
-
color: rgba(0, 0, 0, 0.85);
|
|
77
|
-
cursor: auto;
|
|
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
|
-
.member-info-content {
|
|
93
|
-
display: flex;
|
|
94
|
-
.member-info-item {
|
|
95
|
-
flex: 1;
|
|
96
|
-
position: relative;
|
|
97
|
-
padding-right: 3em;
|
|
98
|
-
.buttons {
|
|
99
|
-
position: absolute;
|
|
100
|
-
right: 30px;
|
|
101
|
-
top: 0;
|
|
102
|
-
}
|
|
103
|
-
.member-item-name {
|
|
104
|
-
padding-bottom: 16px;
|
|
105
|
-
svg {
|
|
106
|
-
margin-right: 5px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
.morpho-inline-edit {
|
|
110
|
-
width: 80%;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
.ant-alert-warning {
|
|
115
|
-
margin-top: 10px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.member-info-mobile {
|
|
119
|
-
.basic-info {
|
|
120
|
-
flex-direction: column;
|
|
121
|
-
margin-top: 0;
|
|
122
|
-
.ant-input-affix-wrapper {
|
|
123
|
-
margin-top: 10px;
|
|
124
|
-
margin-right: 0;
|
|
125
|
-
}
|
|
126
|
-
.shares-input {
|
|
127
|
-
margin-top: 10px;
|
|
128
|
-
margin-right: 0;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
.member-info-content {
|
|
132
|
-
flex-direction: column;
|
|
133
|
-
.member-info-item {
|
|
134
|
-
padding-right: 0;
|
|
135
|
-
}
|
|
136
|
-
.member-info-item:first-child {
|
|
137
|
-
margin-bottom: 10px;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.member-card {
|
|
145
|
-
min-width: 200px;
|
|
146
|
-
margin-right: 20px;
|
|
147
|
-
|
|
148
|
-
:global {
|
|
149
|
-
.member-title {
|
|
150
|
-
font-size: 17px;
|
|
151
|
-
color: white;
|
|
152
|
-
padding: 8px 16px;
|
|
153
|
-
background: @primary-color;
|
|
154
|
-
display: flex;
|
|
155
|
-
justify-content: space-between;
|
|
156
|
-
align-items: center;
|
|
157
|
-
border-radius: 8px 8px 0 0;
|
|
158
|
-
|
|
159
|
-
.member-name {
|
|
160
|
-
svg {
|
|
161
|
-
color: #fff;
|
|
162
|
-
margin-right: 6px;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.errorIcon {
|
|
167
|
-
color: rgba(255, 200, 200, 1);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.member-content {
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
justify-content: space-between;
|
|
175
|
-
font-size: 15px;
|
|
176
|
-
padding: 10px 16px;
|
|
177
|
-
border: 1px solid gainsboro;
|
|
178
|
-
border-top: none;
|
|
179
|
-
min-height: 100px;
|
|
180
|
-
border-radius: 0 0 8px 8px;
|
|
181
|
-
|
|
182
|
-
.actions {
|
|
183
|
-
font-size: 14px;
|
|
184
|
-
display: flex;
|
|
185
|
-
justify-content: flex-end;
|
|
186
|
-
|
|
187
|
-
> span {
|
|
188
|
-
margin-left: 6px;
|
|
189
|
-
color: lightgray;
|
|
190
|
-
|
|
191
|
-
&:hover {
|
|
192
|
-
color: @primary-color;
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
color: @primary-color;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
|
+
|
|
4
|
+
.member-info {
|
|
5
|
+
:global {
|
|
6
|
+
.member-title {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
// margin-bottom: 20px;
|
|
10
|
+
.member-title-info {
|
|
11
|
+
flex: 1;
|
|
12
|
+
}
|
|
13
|
+
.member-name {
|
|
14
|
+
color: rgba(0, 0, 0, 0.85);
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.action-button {
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
|
|
22
|
+
> span {
|
|
23
|
+
margin-left: 6px;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
.delete-icon {
|
|
27
|
+
// color: lightgray;
|
|
28
|
+
&:hover {
|
|
29
|
+
color: @delete-color;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.edit-icon {
|
|
33
|
+
&:hover {
|
|
34
|
+
color: @primary-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.placeholder {
|
|
41
|
+
color: #00000040;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.halvingline {
|
|
45
|
+
margin-bottom: 40px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.basic-info {
|
|
49
|
+
display: flex;
|
|
50
|
+
line-height: 0;
|
|
51
|
+
margin-top: 10px;
|
|
52
|
+
.shares-input {
|
|
53
|
+
flex: 1;
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
margin-right: 3em;
|
|
57
|
+
.ant-input-number {
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
.ant-input-number-disabled {
|
|
61
|
+
color: rgba(0, 0, 0, 0.85);
|
|
62
|
+
background-color: transparent;
|
|
63
|
+
cursor: auto;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.ant-input-affix-wrapper {
|
|
67
|
+
flex: 1;
|
|
68
|
+
border-radius: 8px;
|
|
69
|
+
margin-right: 3em;
|
|
70
|
+
}
|
|
71
|
+
.ant-input-affix-wrapper-disabled {
|
|
72
|
+
color: rgba(0, 0, 0, 0.85);
|
|
73
|
+
cursor: auto;
|
|
74
|
+
padding: 4px 0;
|
|
75
|
+
.ant-input[disabled] {
|
|
76
|
+
color: rgba(0, 0, 0, 0.85);
|
|
77
|
+
cursor: auto;
|
|
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
|
+
.member-info-content {
|
|
93
|
+
display: flex;
|
|
94
|
+
.member-info-item {
|
|
95
|
+
flex: 1;
|
|
96
|
+
position: relative;
|
|
97
|
+
padding-right: 3em;
|
|
98
|
+
.buttons {
|
|
99
|
+
position: absolute;
|
|
100
|
+
right: 30px;
|
|
101
|
+
top: 0;
|
|
102
|
+
}
|
|
103
|
+
.member-item-name {
|
|
104
|
+
padding-bottom: 16px;
|
|
105
|
+
svg {
|
|
106
|
+
margin-right: 5px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.morpho-inline-edit {
|
|
110
|
+
width: 80%;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
.ant-alert-warning {
|
|
115
|
+
margin-top: 10px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.member-info-mobile {
|
|
119
|
+
.basic-info {
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
margin-top: 0;
|
|
122
|
+
.ant-input-affix-wrapper {
|
|
123
|
+
margin-top: 10px;
|
|
124
|
+
margin-right: 0;
|
|
125
|
+
}
|
|
126
|
+
.shares-input {
|
|
127
|
+
margin-top: 10px;
|
|
128
|
+
margin-right: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
.member-info-content {
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
.member-info-item {
|
|
134
|
+
padding-right: 0;
|
|
135
|
+
}
|
|
136
|
+
.member-info-item:first-child {
|
|
137
|
+
margin-bottom: 10px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.member-card {
|
|
145
|
+
min-width: 200px;
|
|
146
|
+
margin-right: 20px;
|
|
147
|
+
|
|
148
|
+
:global {
|
|
149
|
+
.member-title {
|
|
150
|
+
font-size: 17px;
|
|
151
|
+
color: white;
|
|
152
|
+
padding: 8px 16px;
|
|
153
|
+
background: @primary-color;
|
|
154
|
+
display: flex;
|
|
155
|
+
justify-content: space-between;
|
|
156
|
+
align-items: center;
|
|
157
|
+
border-radius: 8px 8px 0 0;
|
|
158
|
+
|
|
159
|
+
.member-name {
|
|
160
|
+
svg {
|
|
161
|
+
color: #fff;
|
|
162
|
+
margin-right: 6px;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.errorIcon {
|
|
167
|
+
color: rgba(255, 200, 200, 1);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.member-content {
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
justify-content: space-between;
|
|
175
|
+
font-size: 15px;
|
|
176
|
+
padding: 10px 16px;
|
|
177
|
+
border: 1px solid gainsboro;
|
|
178
|
+
border-top: none;
|
|
179
|
+
min-height: 100px;
|
|
180
|
+
border-radius: 0 0 8px 8px;
|
|
181
|
+
|
|
182
|
+
.actions {
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
display: flex;
|
|
185
|
+
justify-content: flex-end;
|
|
186
|
+
|
|
187
|
+
> span {
|
|
188
|
+
margin-left: 6px;
|
|
189
|
+
color: lightgray;
|
|
190
|
+
|
|
191
|
+
&:hover {
|
|
192
|
+
color: @primary-color;
|
|
193
|
+
cursor: pointer;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
color: @primary-color;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Form, Modal, Select, message } from "@voplus/antd";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
4
|
+
import { changeName } from "../../../../../data/clda-form/conversion";
|
|
4
5
|
import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
|
|
5
6
|
import { clone } from "lodash-es";
|
|
6
7
|
import { observe } from "@voplus/morpho-ui";
|
|
@@ -42,7 +43,7 @@ const NewDirectorDialog = (props) => {
|
|
|
42
43
|
else {
|
|
43
44
|
store.edit(id, {
|
|
44
45
|
data: {
|
|
45
|
-
|
|
46
|
+
OfficerIds: ((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.officerIds)
|
|
46
47
|
? [...incorporation.content.officerIds, contactId]
|
|
47
48
|
: [contactId],
|
|
48
49
|
},
|
|
@@ -73,7 +74,7 @@ const NewDirectorDialog = (props) => {
|
|
|
73
74
|
};
|
|
74
75
|
const officers = data ? [...data, officer] : [officer];
|
|
75
76
|
await store.edit(id, {
|
|
76
|
-
data: {
|
|
77
|
+
data: { Contacts: changeName(officers) },
|
|
77
78
|
error: "message",
|
|
78
79
|
});
|
|
79
80
|
setContactId(officer.id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewDirectorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewDirectorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,qBAAqB,MAAM,yEAAyE,CAAC;AAC5G,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,iBAAiB,GAAG,CA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IAAI,EAAE;YACT,MAAM,IAAI,GAAG,KAAK,CAAC,MAAA,aAAa,CAAC,OAAO,0CAAE,QAAQ,CAAC,CAAC;YACpD,MAAM,OAAO,GAAG;gBACf,EAAE,EAAE,IAAI,EAAE;gBACV,IAAI,EAAE,IAAI,CAAC,QAAQ;gBACnB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE;oBACT,MAAM,EAAE,IAAI,CAAC,MAAM;oBACnB,OAAO,EAAE,IAAI,CAAC,OAAO;oBACrB,UAAU,EAAE,IAAI,CAAC,UAAU;oBAC3B,IAAI,EAAE,IAAI,CAAC,IAAI;iBACf;gBACD,IAAI,EAAE,IAAI,CAAC,QAAQ;aACnB,CAAC;YACF,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;YACvD,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;gBACpB,IAAI,EAAE,EAAE,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE;gBACxC,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SACzB;QAED,aAAa,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Form, Modal, Select, message } from "@voplus/antd";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
4
|
+
import { changeName } from "../../../../../data/clda-form/conversion";
|
|
4
5
|
import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
|
|
5
6
|
import { clone } from "lodash-es";
|
|
6
7
|
import { observe } from "@voplus/morpho-ui";
|
|
@@ -82,7 +83,7 @@ const NewSecretaryDialog = (props) => {
|
|
|
82
83
|
};
|
|
83
84
|
const officers = data ? [...data, officer] : [officer];
|
|
84
85
|
await store.edit(id, {
|
|
85
|
-
data: {
|
|
86
|
+
data: { Contacts: changeName(officers) },
|
|
86
87
|
error: "message",
|
|
87
88
|
});
|
|
88
89
|
setContactId(officer.id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewSecretaryDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewSecretaryDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,qBAAqB,MAAM,yEAAyE,CAAC;AAC5G,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,kBAAkB,GAAG,CAAC,KAM3B,EAAE,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C,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SACzB;QAED,aAAa,CAAC,KAAK,CAAC,CAAC;IACtB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import "./index.less";
|
|
|
2
2
|
import { Form, InputNumber, Modal, Select, message } from "@voplus/antd";
|
|
3
3
|
import React, { useEffect, useState } from "react";
|
|
4
4
|
import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
|
|
5
|
+
import { changeName } from "../../../../../data/clda-form/conversion";
|
|
5
6
|
import NewLegalContactDialog from "../../../../corporate/company/identity/components/NewLegalContactDialog";
|
|
6
7
|
import { clone } from "lodash-es";
|
|
7
8
|
import { observe } from "@voplus/morpho-ui";
|
|
@@ -61,12 +62,12 @@ const NewShareholderDialog = (props) => {
|
|
|
61
62
|
else {
|
|
62
63
|
store.edit(id, {
|
|
63
64
|
data: {
|
|
64
|
-
|
|
65
|
-
? [
|
|
65
|
+
Shareholders: ((_a = incorporation.content) === null || _a === void 0 ? void 0 : _a.shareholders)
|
|
66
|
+
? changeName([
|
|
66
67
|
...incorporation.content.shareholders,
|
|
67
68
|
{ id: contactId, shares: shares, capital: capital },
|
|
68
|
-
]
|
|
69
|
-
: [{ id: contactId, shares: shares, capital: capital }],
|
|
69
|
+
])
|
|
70
|
+
: changeName([{ id: contactId, shares: shares, capital: capital }]),
|
|
70
71
|
},
|
|
71
72
|
error: "message",
|
|
72
73
|
});
|
|
@@ -95,7 +96,7 @@ const NewShareholderDialog = (props) => {
|
|
|
95
96
|
};
|
|
96
97
|
const officers = data ? [...data, officer] : [officer];
|
|
97
98
|
await store.edit(id, {
|
|
98
|
-
data: {
|
|
99
|
+
data: { Contacts: changeName(officers) },
|
|
99
100
|
error: "message",
|
|
100
101
|
});
|
|
101
102
|
setContactId(officer.id);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewShareholderDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/NewShareholderDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,qBAAqB,MAAM,yEAAyE,CAAC;AAC5G,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,oBAAoB,GAAG,CAAC,KAA8D,EAAE,EAAE;;IAC/F,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAA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width: 100%;
|
|
7
|
-
}
|
|
8
|
-
.subtitle {
|
|
9
|
-
color: @heading-subtitle-color;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.new-shareholder-dialog {
|
|
5
|
+
.ant-input-number {
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
.subtitle {
|
|
9
|
+
color: @heading-subtitle-color;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -51,7 +51,7 @@ const ShareCapital = (props) => {
|
|
|
51
51
|
React.createElement(Button, { type: "primary", style: { marginLeft: "1em" }, onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
|
|
52
52
|
React.createElement(Button, { style: { marginLeft: "1em" }, onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
|
|
53
53
|
store.edit(id, {
|
|
54
|
-
data: {
|
|
54
|
+
data: { Currency: v.currency, Capital: v.capital },
|
|
55
55
|
});
|
|
56
56
|
} })))),
|
|
57
57
|
React.createElement("div", { className: "capital-box" },
|
|
@@ -64,7 +64,7 @@ const ShareCapital = (props) => {
|
|
|
64
64
|
var _a, _b;
|
|
65
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
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: {
|
|
67
|
+
store.edit(id, { data: { Shares: v } });
|
|
68
68
|
} }))),
|
|
69
69
|
React.createElement("div", { className: "capital-box" },
|
|
70
70
|
React.createElement(FontAwesomeIcon, { icon: faCalendar, size: "2x" }),
|