@voplus/morpho-csp 1.2.129 → 1.2.130

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 (151) hide show
  1. package/es/components/Header/index.less +20 -20
  2. package/es/components/RegisteresMenuItem/index.less +10 -10
  3. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  4. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  5. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  6. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  7. package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
  8. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  9. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  10. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  11. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  12. package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
  13. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
  14. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  15. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  16. package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
  17. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  18. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  19. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  20. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
  21. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  22. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  23. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
  24. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
  25. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  26. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  27. package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
  28. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  29. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
  30. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  31. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  32. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  33. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  34. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  35. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
  36. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  37. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
  38. package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
  39. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  40. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  41. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  42. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
  43. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  44. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
  45. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  46. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  47. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  48. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  49. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
  50. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
  51. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  52. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  53. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  54. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  55. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  56. package/es/modules/corporate/components/Statement/index.less +16 -16
  57. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  58. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  59. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  60. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  61. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  62. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  63. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  64. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  65. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  66. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  67. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  68. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  69. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  70. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  71. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  72. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  73. package/es/modules/order/components/OrderItem/index.less +21 -21
  74. package/es/modules/order/components/OrderItems/index.less +48 -48
  75. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  76. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  77. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  78. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  79. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  80. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  81. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  82. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  83. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  84. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js +138 -103
  85. package/es/modules/self-registration/clda-form/components/BVICompanyInfo/index.js.map +1 -1
  86. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  87. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +95 -83
  88. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  89. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  90. package/es/modules/self-registration/clda-form/components/InternalUse/index.js +2 -2
  91. package/es/modules/self-registration/clda-form/components/InternalUse/index.js.map +1 -1
  92. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js +2 -2
  93. package/es/modules/self-registration/clda-form/components/ManagingDirectorList/index.js.map +1 -1
  94. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js +2 -2
  95. package/es/modules/self-registration/clda-form/components/MemberInfo/index.js.map +1 -1
  96. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
  97. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  98. package/es/modules/self-registration/clda-form/components/OfficerList/index.js +2 -2
  99. package/es/modules/self-registration/clda-form/components/OfficerList/index.js.map +1 -1
  100. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +2 -2
  101. package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
  102. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +63 -54
  103. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  104. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  105. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js +2 -2
  106. package/es/modules/self-registration/clda-form/components/ShareholderList/index.js.map +1 -1
  107. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +2 -2
  108. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
  109. package/es/modules/self-registration/clda-form/incorporation/context.d.ts +7 -0
  110. package/es/modules/self-registration/clda-form/incorporation/{sgp/state.js → context.js} +3 -3
  111. package/es/modules/self-registration/clda-form/incorporation/context.js.map +1 -0
  112. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +2 -2
  113. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
  114. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  115. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  116. package/es/modules/self-registration/components/Card/index.less +51 -51
  117. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  118. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  119. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  120. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  121. package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +2 -0
  122. package/es/modules/self-registration/controls/BusinessNameInput/index.js +14 -7
  123. package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
  124. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.d.ts +1 -0
  125. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js +1 -1
  126. package/es/modules/self-registration/controls/BusinessNameInputFormItem/index.js.map +1 -1
  127. package/es/modules/self-registration/controls/Section/index.less +79 -79
  128. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  129. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  130. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  131. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  132. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  133. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  134. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  135. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  136. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  137. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  138. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  139. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  140. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  141. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
  142. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  143. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  144. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  145. package/es/style/common.less +66 -66
  146. package/package.json +1 -1
  147. package/es/modules/self-registration/clda-form/incorporation/bvi/state.d.ts +0 -7
  148. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js +0 -20
  149. package/es/modules/self-registration/clda-form/incorporation/bvi/state.js.map +0 -1
  150. package/es/modules/self-registration/clda-form/incorporation/sgp/state.d.ts +0 -7
  151. package/es/modules/self-registration/clda-form/incorporation/sgp/state.js.map +0 -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,12 +1,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
- }
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
+ }
@@ -12,7 +12,7 @@ import { clone } from "lodash-es";
12
12
  import { faUsers } from "@fortawesome/pro-light-svg-icons";
13
13
  import { observe } from "@voplus/morpho-ui";
14
14
  import { useDocumentStore } from "@voplus/morpho-document-core";
15
- import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
15
+ import { useIncorporationFormContext } from "../../incorporation/context";
16
16
  import { useValidates } from "@voplus/morpho-data";
17
17
  const OfficerList = (props) => {
18
18
  var _a;
@@ -21,7 +21,7 @@ const OfficerList = (props) => {
21
21
  const [state] = useState(new State());
22
22
  const store = useCLDAFormStore();
23
23
  const documents = useDocumentStore();
24
- const context = useIncorporationSGPFormContext();
24
+ const context = useIncorporationFormContext();
25
25
  const incorporation = useCLDAForm(props.id);
26
26
  state.update(incorporation);
27
27
  const checks = useValidates((c) => ({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,IAAI,MAAM,0BAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,OAA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AAO,KAAK,CAAC,OAAO,CAAC;YACpB,KAAK,EAAE,kCAAkC;YACzC,KAAK,CAAC,IAAI;gBACT,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,UAAW,CAAC,CAAC;gBACnE,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACzB,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;oBACpB,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE;oBAC7B,KAAK,EAAE,SAAS;iBAChB,CAAC,CAAC;YACJ,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -6,13 +6,13 @@ import NewSecretaryDialog from "../NewSecretaryDialog";
6
6
  import { State } from "./state";
7
7
  import { clone } from "lodash-es";
8
8
  import { observe } from "@voplus/morpho-ui";
9
- import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
9
+ import { useIncorporationFormContext } from "../../incorporation/context";
10
10
  const SecretaryList = (props) => {
11
11
  const { id } = props;
12
12
  const [showDialog, setShowDialog] = useState(false);
13
13
  const [state] = useState(new State());
14
14
  const store = useCLDAFormStore();
15
- const context = useIncorporationSGPFormContext();
15
+ const context = useIncorporationFormContext();
16
16
  const incorporation = useCLDAForm(props.id);
17
17
  state.update(incorporation);
18
18
  return observe(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/SecretaryList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,UAAU,MAAM,eAAe,CAAC;AACv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CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/SecretaryList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE9E,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,aAAa,GAAG,CAAC,KAAkB,EAAE,EAAE;IAC5C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;IAC9C,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC5C,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAE5B,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,6BAAK,SAAS,EAAC,qCAAqC;YACnD,6BAAK,SAAS,EAAC,WAAW,mBAAmB;YAC7C,oB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a;QAC5B,OAAO,KAAK,CAAC,OAAO,CAAC;YACpB,KAAK,EAAE,kCAAkC;YACzC,KAAK,CAAC,IAAI;gBACT,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,YAAa,CAAC,CAAC;gBACnD,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;gBACzB,MAAM,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;oBACpB,IAAI,EAAE,EAAE,YAAY,EAAE,OAAO,EAAE;oBAC/B,KAAK,EAAE,SAAS;iBAChB,CAAC,CAAC;YACJ,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -11,66 +11,75 @@ import Section from "../../../controls/Section";
11
11
  import classnames from "classnames";
12
12
  import moment from "moment";
13
13
  import { runInAction } from "mobx";
14
- import { useIncorporationSGPFormContext } from "../../incorporation/sgp/state";
14
+ import { useIncorporationFormContext } from "../../incorporation/context";
15
15
  import { useLayout } from "@voplus/morpho-data";
16
16
  const ShareCapital = (props) => {
17
17
  const { id, currencyVisible } = props;
18
18
  const layout = useLayout();
19
- const content = useCLDAForm(id).content;
19
+ const incorporationForm = useCLDAForm(id);
20
20
  const Option = Select.Option;
21
21
  const store = useCLDAFormStore();
22
- const context = useIncorporationSGPFormContext();
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 })))))));
22
+ const context = useIncorporationFormContext();
23
+ return observe(() => {
24
+ var _a, _b, _c, _d, _e;
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" }, currencyVisible ? (React.createElement(InlineEdit, { editTrigger: "both", editable: context ? context.editable : true, defaultValue: {
36
+ currency: (_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.currency,
37
+ capital: (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.capital,
38
+ }, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
39
+ v.store.value.currency,
40
+ " ",
41
+ v.store.value.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital")))), editor: (v) => (React.createElement("span", null,
42
+ React.createElement(Select, { defaultValue: v.store.value.currency, onSelect: (newValue) => runInAction(() => (v.store.value.currency = newValue)) },
43
+ React.createElement(Option, { value: "SGD" }, "SGD"),
44
+ React.createElement(Option, { value: "USD" }, "USD"),
45
+ React.createElement(Option, { value: "CNY" }, "CNY"),
46
+ React.createElement(Option, { value: "EUR" }, "EUR"),
47
+ React.createElement(Option, { value: "JPY" }, "JPY")),
48
+ 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 }),
49
+ React.createElement("div", { className: "capital-currency-btn" },
50
+ React.createElement(Button, { type: "primary", style: { marginLeft: "1em" }, onClick: () => v.store.save({ trigger: "select" }) }, "Save"),
51
+ React.createElement(Button, { style: { marginLeft: "1em" }, onClick: () => v.store.cancel() }, "Cancel")))), onSave: (v) => {
52
+ store.edit(id, {
53
+ data: { Currency: v.currency, Capital: v.capital },
54
+ });
55
+ } })) : (React.createElement(InlineEdit, { defaultValue: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.capital, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
56
+ var _a, _b;
57
+ return (React.createElement("div", null, ((_a = incorporationForm.content) === null || _a === void 0 ? void 0 : _a.capital) ? (React.createElement("span", null, (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.capital)) : (React.createElement("span", { className: "placeholder" }, "Please click here to enter the paid up capital"))));
58
+ }, 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) => {
59
+ store.edit(id, { data: { Capital: v } });
60
+ } }))))),
61
+ React.createElement("div", { className: "capital-box" },
62
+ React.createElement(FontAwesomeIcon, { icon: faMoneyBill, size: "2x" }),
63
+ React.createElement("div", null,
64
+ React.createElement("p", null,
65
+ "Numbers Of Share(s) ",
66
+ React.createElement(SharesTip, null)),
67
+ React.createElement(InlineEdit, { defaultValue: (_d = incorporationForm.content) === null || _d === void 0 ? void 0 : _d.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
68
+ var _a, _b;
69
+ 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"))));
70
+ }, 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) => {
71
+ store.edit(id, { data: { Shares: v } });
72
+ } }))),
73
+ React.createElement("div", { className: "capital-box" },
74
+ React.createElement(FontAwesomeIcon, { icon: faCalendar, size: "2x" }),
75
+ React.createElement("div", null,
76
+ React.createElement("p", null,
77
+ "Financial Year End (FYE) ",
78
+ React.createElement(FYETip, null)),
79
+ React.createElement(InlineEdit, { defaultValue: moment((_e = incorporationForm.content) === null || _e === void 0 ? void 0 : _e.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, {
80
+ data: { FYE: v ? v.toISOString() : undefined },
81
+ }), editor: DateInputEditor }))))));
82
+ });
74
83
  };
75
84
  ShareCapital.defaultProps = { currencyVisible: true };
76
85
  export default ShareCapital;