@voplus/morpho-csp 1.2.131 → 1.2.133

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 (137) 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 +10 -11
  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.less +19 -19
  88. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
  89. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  90. package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +2 -1
  91. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +8 -9
  92. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  93. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  94. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +5 -4
  95. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
  96. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  97. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  98. package/es/modules/self-registration/components/Card/index.less +51 -51
  99. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  100. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  101. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  102. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  103. package/es/modules/self-registration/controls/Section/index.less +79 -79
  104. package/es/modules/self-registration/controls/Tips/vgb/BusinessNameTip.d.ts +3 -0
  105. package/es/modules/self-registration/controls/Tips/vgb/BusinessNameTip.js +9 -0
  106. package/es/modules/self-registration/controls/Tips/vgb/BusinessNameTip.js.map +1 -0
  107. package/es/modules/self-registration/controls/Tips/vgb/CapitalTip.d.ts +3 -0
  108. package/es/modules/self-registration/controls/Tips/vgb/CapitalTip.js +11 -0
  109. package/es/modules/self-registration/controls/Tips/vgb/CapitalTip.js.map +1 -0
  110. package/es/modules/self-registration/controls/Tips/vgb/RecordAddressTip.d.ts +3 -0
  111. package/es/modules/self-registration/controls/Tips/vgb/RecordAddressTip.js +13 -0
  112. package/es/modules/self-registration/controls/Tips/vgb/RecordAddressTip.js.map +1 -0
  113. package/es/modules/self-registration/controls/Tips/vgb/TradingAddressTip.d.ts +3 -0
  114. package/es/modules/self-registration/controls/Tips/vgb/TradingAddressTip.js +9 -0
  115. package/es/modules/self-registration/controls/Tips/vgb/TradingAddressTip.js.map +1 -0
  116. package/es/modules/self-registration/controls/Tips/vgb/index.d.ts +4 -0
  117. package/es/modules/self-registration/controls/Tips/vgb/index.js +5 -0
  118. package/es/modules/self-registration/controls/Tips/vgb/index.js.map +1 -0
  119. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  120. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  121. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  122. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  123. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  124. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  125. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  126. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  127. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  128. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  129. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  130. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  131. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  132. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
  133. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  134. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  135. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  136. package/es/style/common.less +66 -66
  137. 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,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
+ }
@@ -1,10 +1,11 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
2
+ import React from "react";
3
3
  declare const ShareCapital: {
4
4
  (props: {
5
5
  /** id of incorporate form */
6
6
  id: string;
7
7
  currencyVisible?: boolean;
8
+ capitalTip?: React.ReactNode;
8
9
  }): JSX.Element;
9
10
  defaultProps: {
10
11
  currencyVisible: boolean;
@@ -1,9 +1,9 @@
1
1
  import "./index.less";
2
2
  import { Button, InputNumber, Select } from "@voplus/antd";
3
3
  import { CapitalTip, FYETip, SharesTip } from "../../../controls/Tips";
4
+ import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
4
5
  import { InlineEdit, observe } from "@voplus/morpho-ui";
5
6
  import { faBadgeDollar, faCalendar, faMoneyBill } from "@fortawesome/pro-light-svg-icons";
6
- import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
7
7
  import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
8
8
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
9
9
  import React from "react";
@@ -21,7 +21,7 @@ const ShareCapital = (props) => {
21
21
  const store = useCLDAFormStore();
22
22
  const context = useIncorporationFormContext();
23
23
  return observe(() => {
24
- var _a, _b, _c, _d, _e;
24
+ var _a, _b, _c, _d, _e, _f;
25
25
  return (React.createElement(Section, { title: React.createElement(React.Fragment, null,
26
26
  React.createElement(FontAwesomeIcon, { icon: faBadgeDollar }),
27
27
  "Capital and Financial Year") },
@@ -30,11 +30,10 @@ const ShareCapital = (props) => {
30
30
  React.createElement(FontAwesomeIcon, { icon: faBadgeDollar, size: "2x" }),
31
31
  React.createElement("div", null,
32
32
  React.createElement("p", null,
33
- "Paid Up Capital ",
34
- React.createElement(CapitalTip, null)),
33
+ "Paid Up Capital ", (_a = props.capitalTip) !== null && _a !== void 0 ? _a : React.createElement(CapitalTip, null)),
35
34
  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,
35
+ currency: (_b = incorporationForm.content) === null || _b === void 0 ? void 0 : _b.currency,
36
+ capital: (_c = incorporationForm.content) === null || _c === void 0 ? void 0 : _c.capital,
38
37
  }, content: (v) => (React.createElement("div", null, v.store.value.currency || v.store.value.capital ? (React.createElement("span", null,
39
38
  v.store.value.currency,
40
39
  " ",
@@ -52,7 +51,7 @@ const ShareCapital = (props) => {
52
51
  store.edit(id, {
53
52
  data: { Currency: v.currency, Capital: v.capital },
54
53
  });
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) => {
54
+ } })) : (React.createElement(InlineEdit, { defaultValue: (_d = incorporationForm.content) === null || _d === void 0 ? void 0 : _d.capital, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
56
55
  var _a, _b;
57
56
  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
57
  }, 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) => {
@@ -64,7 +63,7 @@ const ShareCapital = (props) => {
64
63
  React.createElement("p", null,
65
64
  "Numbers Of Share(s) ",
66
65
  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) => {
66
+ React.createElement(InlineEdit, { defaultValue: (_e = incorporationForm.content) === null || _e === void 0 ? void 0 : _e.shares, editTrigger: "both", editable: context ? context.editable : true, content: (v) => {
68
67
  var _a, _b;
69
68
  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
69
  }, 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) => {
@@ -76,7 +75,7 @@ const ShareCapital = (props) => {
76
75
  React.createElement("p", null,
77
76
  "Financial Year End (FYE) ",
78
77
  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, {
78
+ React.createElement(InlineEdit, { defaultValue: moment((_f = incorporationForm.content) === null || _f === void 0 ? void 0 : _f.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
79
  data: { FYE: v ? v.toISOString() : undefined },
81
80
  }), editor: DateInputEditor }))))));
82
81
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAmB,MAAM,+BAA+B,CAAC;AAE/F,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,OAAO,MAAM,2BAA2B,CAAC;AAChD,OAAO,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AE/C;wBACC;;4BAC0B,oBAAC,MAAM,OAAG,CAChC;wBACJ,oBAAC,UAAU,IACV,YAAY,EAAE,MAAM,CAAC,MAAA,iBAAiB,CAAC,OAAO,0CAAE,GAAG,CAAC,EACpD,WAAW,EAAC,MAAM,EAClB,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAC3C,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACf,kCAAO,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,WAAW,CAAQ,CAChF,EACD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CACb,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;gCACd,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,WAAW,EAAU,CAAC,CAAC,CAAC,SAAS,EAAE;6BACvD,CAAC,EAEH,MAAM,EAAE,eAAe,GACtB,CACG,CACD,CACD,CACG,CACV,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;AAEtD,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/ShareCapital/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAmB,WAAW,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,OAAO,E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{
5
- display: inherit;
6
- .capital-box {
7
- display: flex;
8
- > div {
9
- flex: 1;
10
- margin-left: 10px;
11
- }
12
- .capital-currency-btn {
13
- display: block;
14
- margin-top: 10px;
15
- }
16
- }
17
- }
18
- .capital-box {
19
- font-size: 1.3em;
20
- flex-grow: 1;
21
- display: flex;
22
- margin-bottom: 1rem;
23
-
24
- svg {
25
- margin-right: 1.5rem;
26
- // color: @primary-blue;
27
- }
28
- p {
29
- font-weight: 600;
30
- margin-bottom: 10px;
31
- }
32
- }
33
-
34
- .capital-currency {
35
- // .morpho-inline-edit {
36
- // display: inline-block;
37
- // margin-right: 0.5em;
38
- // }
39
-
40
- .placeholder {
41
- color: #00000040;
42
- }
43
- }
44
- .capital-currency-btn {
45
- display: block;
46
- text-align: right;
47
- margin-top: 10px;
48
- }
49
- }
50
- }
1
+ :global {
2
+ .share-capital {
3
+ display: flex;
4
+ &.element-mobile {
5
+ display: inherit;
6
+ .capital-box {
7
+ display: flex;
8
+ > div {
9
+ flex: 1;
10
+ margin-left: 10px;
11
+ }
12
+ .capital-currency-btn {
13
+ display: block;
14
+ margin-top: 10px;
15
+ }
16
+ }
17
+ }
18
+ .capital-box {
19
+ font-size: 1.3em;
20
+ flex-grow: 1;
21
+ display: flex;
22
+ margin-bottom: 1rem;
23
+
24
+ svg {
25
+ margin-right: 1.5rem;
26
+ // color: @primary-blue;
27
+ }
28
+ p {
29
+ font-weight: 600;
30
+ margin-bottom: 10px;
31
+ }
32
+ }
33
+
34
+ .capital-currency {
35
+ // .morpho-inline-edit {
36
+ // display: inline-block;
37
+ // margin-right: 0.5em;
38
+ // }
39
+
40
+ .placeholder {
41
+ color: #00000040;
42
+ }
43
+ }
44
+ .capital-currency-btn {
45
+ display: block;
46
+ text-align: right;
47
+ margin-top: 10px;
48
+ }
49
+ }
50
+ }
@@ -1,19 +1,20 @@
1
1
  import { Button, Spin } from "@voplus/antd";
2
+ import { IncorporationFormContext, State } from "../context";
2
3
  import React, { useState } from "react";
3
4
  import { ValidationCollections, ValidationCollectionsContext } from "@voplus/morpho-data";
4
5
  import { faInfo, faInfoCircle } from "@fortawesome/pro-light-svg-icons";
6
+ import { observe, useAutorunEffect } from "@voplus/morpho-ui";
5
7
  import { useCLDAForm, useCLDAFormStore } from "../../../../../data/clda-form";
6
8
  import BVICompanyInfo from "../../components/BVICompanyInfo";
7
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
8
9
  import CLDAFormConfirmationDialog from "../../components/CLDAFormConfirmationDialog";
10
+ import { CapitalTip } from "../../../../self-registration/controls/Tips/vgb";
11
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
9
12
  import NavigateButtonsBar from "@voplus/morpho-ui/es/controls/NavigateButtonsBar";
10
13
  import OfficerList from "../../components/OfficerList";
11
14
  import Section from "../../../controls/Section";
12
15
  import ShareCapital from "../../components/ShareCapital";
13
16
  import ShareholderList from "../../components/ShareholderList";
14
17
  import classnames from "classnames";
15
- import { observe, useAutorunEffect } from "@voplus/morpho-ui";
16
- import { IncorporationFormContext, State } from "../context";
17
18
  import styles from "./index.less";
18
19
  const IncorporationBVIForm = (props) => {
19
20
  const [submitting, setSubmitting] = useState(false);
@@ -46,7 +47,7 @@ const IncorporationBVIForm = (props) => {
46
47
  React.createElement("li", null,
47
48
  React.createElement("p", null, "It is an AUTO SAVE form and you can close the form and re-edit it later."))))),
48
49
  React.createElement(BVICompanyInfo, { id: props.id }),
49
- React.createElement(ShareCapital, { id: props.id, currencyVisible: false }),
50
+ React.createElement(ShareCapital, { id: props.id, currencyVisible: false, capitalTip: React.createElement(CapitalTip, null) }),
50
51
  React.createElement(ShareholderList, { isShowDetails: true, id: props.id }),
51
52
  React.createElement(OfficerList, { isShowDetails: true, id: props.id }),
52
53
  incorporation.status === "Draft" && (React.createElement(NavigateButtonsBar, null,