@voplus/morpho-csp 1.3.3 → 1.3.4
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/share-certificate/interfaces.d.ts +7 -0
- package/es/data/share-certificate/metas.d.ts +2 -2
- package/es/data/share-certificate/metas.js +3 -4
- package/es/data/share-certificate/metas.js.map +1 -1
- package/es/data/share-transaction/ShareTransactionStore.d.ts +1 -0
- package/es/data/share-transaction/ShareTransactionStore.js +4 -0
- package/es/data/share-transaction/ShareTransactionStore.js.map +1 -1
- 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/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/controls/ControllerStatusLabel/index.less +24 -24
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
- 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/CompanyMemberList/index.less +12 -12
- 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/OfficerList/index.less +12 -12
- 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/ShareTransactionItems/TableDataContext.js +4 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +6 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.d.ts +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +28 -24
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
- 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.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
- 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/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/components/ShareCertificate/index.d.ts +3 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +15 -8
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +3 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +3 -15
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +19 -5
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.d.ts +2 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +21 -14
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +25 -25
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +74 -25
- 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/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.less +19 -19
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
- 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.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/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js +35 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/obsolete/ShareCertificateDefaultView/index.less +36 -0
- package/es/obsolete/ShareTransactionPropertiesView/Content.js +1 -1
- package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -1
- 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
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.d.ts +0 -9
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js +0 -13
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js.map +0 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.d.ts +0 -17
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js +0 -56
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js.map +0 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.less +0 -41
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.d.ts +0 -10
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js +0 -34
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js.map +0 -1
package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.task-analytics-popover {
|
|
3
|
-
.ant-popover-inner-content {
|
|
4
|
-
display: flex;
|
|
5
|
-
padding: 0;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.task-analytics-popover {
|
|
3
|
+
.ant-popover-inner-content {
|
|
4
|
+
display: flex;
|
|
5
|
+
padding: 0;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.company-member-default-view {
|
|
3
|
-
padding: 0 !important;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.company-member-default-view {
|
|
3
|
+
padding: 0 !important;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
:global {
|
|
3
|
-
.officer-list-view {
|
|
4
|
-
padding: 0 !important;
|
|
5
|
-
.list-view-header .view-title {
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
aside {
|
|
9
|
-
border-top: 0;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
:global {
|
|
3
|
+
.officer-list-view {
|
|
4
|
+
padding: 0 !important;
|
|
5
|
+
.list-view-header .view-title {
|
|
6
|
+
flex: 1;
|
|
7
|
+
}
|
|
8
|
+
aside {
|
|
9
|
+
border-top: 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.transaction-type-filter {
|
|
3
|
-
padding: 0 15px;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.transaction-type-filter {
|
|
3
|
+
padding: 0 15px;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.officer-default-view {
|
|
3
|
-
padding: 0 !important;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.officer-default-view {
|
|
3
|
+
padding: 0 !important;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
@import "../../../../../style/common.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.company-default-view {
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
|
|
9
|
-
// background-color: #f2f2f2;
|
|
10
|
-
.main-content-nav {
|
|
11
|
-
.main-nav-container {
|
|
12
|
-
box-shadow: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.company-title {
|
|
16
|
-
padding: 10px;
|
|
17
|
-
font-size: 18px;
|
|
18
|
-
line-height: 20px;
|
|
19
|
-
color: #000;
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
|
|
24
|
-
.company-name {
|
|
25
|
-
flex: 1;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
text-overflow: ellipsis;
|
|
28
|
-
white-space: nowrap;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.company-menu{
|
|
33
|
-
width: 290px !important;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.nav-item {
|
|
37
|
-
padding: 0 16px 0 24px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.company-document-list {
|
|
42
|
-
padding: 0;
|
|
43
|
-
background-color: #fff;
|
|
44
|
-
|
|
45
|
-
.list-view-header {
|
|
46
|
-
justify-content: flex-end;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.activity-log-view {
|
|
51
|
-
background-color: #fff !important;
|
|
52
|
-
margin: 0;
|
|
53
|
-
|
|
54
|
-
.view-title {
|
|
55
|
-
font-size: 20px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// .share-transaction-aside-content {
|
|
60
|
-
// padding: 0;
|
|
61
|
-
// .share-transaction-register-view {
|
|
62
|
-
// margin: 0 0 0 1rem;
|
|
63
|
-
// background-color: #fff;
|
|
64
|
-
// }
|
|
65
|
-
// }
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
@import "../../../../../style/common.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.company-default-view {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
// background-color: #f2f2f2;
|
|
10
|
+
.main-content-nav {
|
|
11
|
+
.main-nav-container {
|
|
12
|
+
box-shadow: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.company-title {
|
|
16
|
+
padding: 10px;
|
|
17
|
+
font-size: 18px;
|
|
18
|
+
line-height: 20px;
|
|
19
|
+
color: #000;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
.company-name {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.company-menu{
|
|
33
|
+
width: 290px !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.nav-item {
|
|
37
|
+
padding: 0 16px 0 24px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.company-document-list {
|
|
42
|
+
padding: 0;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
|
|
45
|
+
.list-view-header {
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.activity-log-view {
|
|
51
|
+
background-color: #fff !important;
|
|
52
|
+
margin: 0;
|
|
53
|
+
|
|
54
|
+
.view-title {
|
|
55
|
+
font-size: 20px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// .share-transaction-aside-content {
|
|
60
|
+
// padding: 0;
|
|
61
|
+
// .share-transaction-register-view {
|
|
62
|
+
// margin: 0 0 0 1rem;
|
|
63
|
+
// background-color: #fff;
|
|
64
|
+
// }
|
|
65
|
+
// }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.share-movements-data-popover {
|
|
3
|
-
.ant-table-thead > tr > th,
|
|
4
|
-
.ant-table-tbody > tr > td {
|
|
5
|
-
padding: 10px 15px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.share-movements-data-icon {
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.share-movements-data-popover {
|
|
3
|
+
.ant-table-thead > tr > th,
|
|
4
|
+
.ant-table-tbody > tr > td {
|
|
5
|
+
padding: 10px 15px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
.share-movements-data-icon {
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -46,11 +46,13 @@ export class TableDataContextState {
|
|
|
46
46
|
}
|
|
47
47
|
/** Total of shares of line */
|
|
48
48
|
get sharesTotal() {
|
|
49
|
-
|
|
49
|
+
var _a;
|
|
50
|
+
return (_a = this.invoiceLines) === null || _a === void 0 ? void 0 : _a.reduce((total, line) => Number.parseFloat((total + line.shares).toFixed(2)), 0);
|
|
50
51
|
}
|
|
51
52
|
/** Total of shares of line */
|
|
52
53
|
get considerationTotal() {
|
|
53
|
-
|
|
54
|
+
var _a;
|
|
55
|
+
return (_a = this.invoiceLines) === null || _a === void 0 ? void 0 : _a.reduce((total, line) => Number.parseFloat((total + line.consideration).toFixed(2)), 0);
|
|
54
56
|
}
|
|
55
57
|
/** readonly */
|
|
56
58
|
get readonly() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableDataContext.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,OAAO,qBAAqB;IAgBjC;QAfA;;;;;WAAkB;QAClB,sCAAsC;QACtC;;;;mBAAqB;gBACpB,WAAW,EAAE,EAAE;gBACf,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,CAAC;aACT;WAAC;QACF,2BAA2B;QACf;;;;;WAAwB;QACpC,uBAAuB;QACX;;;;mBAA6B,EAAE;WAAC;QAC5C,wBAAwB;QACZ;;;;mBAAiB,KAAK;WAAC;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,+BAA+B;IAE/B,IAAW,WAAW
|
|
1
|
+
{"version":3,"file":"TableDataContext.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,OAAO,qBAAqB;IAgBjC;QAfA;;;;;WAAkB;QAClB,sCAAsC;QACtC;;;;mBAAqB;gBACpB,WAAW,EAAE,EAAE;gBACf,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,EAAE;gBACZ,MAAM,EAAE,CAAC;aACT;WAAC;QACF,2BAA2B;QACf;;;;;WAAwB;QACpC,uBAAuB;QACX;;;;mBAA6B,EAAE;WAAC;QAC5C,wBAAwB;QACZ;;;;mBAAiB,KAAK;WAAC;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,+BAA+B;IAE/B,IAAW,WAAW;;QACrB,OAAO,MAAA,IAAI,CAAC,YAAY,0CAAE,MAAM,CAC/B,CAAC,KAAa,EAAE,IAA2B,EAAE,EAAE,CAC9C,MAAM,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACpD,CAAC,CACD,CAAC;IACH,CAAC;IACD,+BAA+B;IAE/B,IAAW,kBAAkB;;QAC5B,OAAO,MAAA,IAAI,CAAC,YAAY,0CAAE,MAAM,CAC/B,CAAC,KAAa,EAAE,IAA2B,EAAE,EAAE,CAC9C,MAAM,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAC3D,CAAC,CACD,CAAC;IACH,CAAC;IACD,eAAe;IAEf,IAAW,QAAQ;QAClB,OAAO,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC;IACpE,CAAC;IACD,gBAAgB;IAEhB,IAAW,QAAQ;QAClB,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC;CACD;AAtCY;IAAX,UAAU;uDAAyB;AAExB;IAAX,UAAU;2DAAiC;AAEhC;IAAX,UAAU;sDAAwB;AAQnC;IADC,QAAQ;wDAOR;AAGD;IADC,QAAQ;+DAOR;AAGD;IADC,QAAQ;qDAGR;AAGD;IADC,QAAQ;qDAGR;AAGF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,IAAW,CAAC,CAAC;AAE3D,2DAA2D;AAC3D,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -23,7 +23,7 @@ const DragTableCell = (props) => {
|
|
|
23
23
|
return observe(() => {
|
|
24
24
|
var _a, _b;
|
|
25
25
|
return (React.createElement("td", { ...restProps, ref: ref }, dataIndex === "Dnd" ? (record.added ? (React.createElement(Button, { danger: true, shape: "circle", onClick: () => onDel(record.id) },
|
|
26
|
-
React.createElement(FAIcon, { icon: faTrashAlt }))) : (formContext.connectDragSource(React.createElement("span", { style: { cursor: "move" } },
|
|
26
|
+
React.createElement(FAIcon, { icon: faTrashAlt }))) : (formContext.connectDragSource(React.createElement("span", { style: shareTransaction.readonly ? { pointerEvents: "none" } : { cursor: "move" } },
|
|
27
27
|
React.createElement(FAIcon, { icon: faBars }))))) : editable ? ((record && record.added) || editing ? (React.createElement(Form.Item, { name: dataIndex, style: { margin: 0 }, rules: [
|
|
28
28
|
{ required: dataIndex !== "certificate", message: `${dataIndex} is required.` },
|
|
29
29
|
] }, dataIndex === "shareholder" ? (React.createElement(ShareholderSelector, { memberId: shareTransaction.memberRegisterId, open: editing, defaultValue: record.shareholder, onChange: save })) : dataIndex === "class" ? (React.createElement(AutoComplete
|
|
@@ -32,7 +32,7 @@ const DragTableCell = (props) => {
|
|
|
32
32
|
// autoFocus
|
|
33
33
|
open: open || editing, onSelect: save, onBlur: save, onDropdownVisibleChange: (open) => setOpen(open) },
|
|
34
34
|
React.createElement(AutoComplete.Option, { value: "Ordinary" }, "Ordinary"),
|
|
35
|
-
React.createElement(AutoComplete.Option, { value: "Preference" }, "Preference"))) : dataIndex === "certificate" ? null : dataIndex === "currency" ? (React.createElement(CurrencyView, { currency: record.currency, editable: !!record.added, onChange: save })) : (React.createElement(InputNumber, { autoFocus: editing, min: dataIndex === "qty" ? 1 : 0, max: dataIndex === "discount" ? 100 : 100000000000, precision: dataIndex === "price" ? 2 : 0, onPressEnter: save, onBlur: save, onKeyDown: onKeyDown })))) : dataIndex === "shareholder" && record.shareholder ? (React.createElement("div", { onClick: () => !record.id && toggleEdit() }, record.shareholder.name)) : dataIndex === "certificate" ? (record.certificate ? (React.createElement(DocumentReference, { id: (_a = record.certificate) === null || _a === void 0 ? void 0 : _a.id })) : record.shares > 0 ? (React.createElement(Button, { onClick: () => createCertificate(record.id) }, "Create")) : null) : (React.createElement(React.Fragment, null,
|
|
35
|
+
React.createElement(AutoComplete.Option, { value: "Preference" }, "Preference"))) : dataIndex === "certificate" ? null : dataIndex === "currency" ? (React.createElement(CurrencyView, { currency: record.currency, editable: !!record.added, onChange: save })) : (React.createElement(InputNumber, { autoFocus: editing, min: dataIndex === "qty" ? 1 : 0, max: dataIndex === "discount" ? 100 : 100000000000, precision: dataIndex === "price" ? 2 : 0, onPressEnter: save, onBlur: save, onKeyDown: onKeyDown })))) : dataIndex === "shareholder" && record.shareholder ? (React.createElement("div", { onClick: () => !record.id && toggleEdit() }, record.shareholder.name)) : dataIndex === "certificate" ? (record.certificate ? (React.createElement(DocumentReference, { id: (_a = record.certificate) === null || _a === void 0 ? void 0 : _a.id })) : record.shares > 0 ? (React.createElement(Button, { disabled: shareTransaction.readonly, onClick: () => createCertificate(record.id) }, "Create")) : null) : (React.createElement(React.Fragment, null,
|
|
36
36
|
React.createElement("div", { className: classnames({
|
|
37
37
|
"editable-cell-wrap": dataIndex === "consideration",
|
|
38
38
|
}) },
|
|
@@ -50,9 +50,11 @@ const DragTableCell = (props) => {
|
|
|
50
50
|
setEditing(!editing);
|
|
51
51
|
}
|
|
52
52
|
async function createCertificate(lineId) {
|
|
53
|
-
await store
|
|
53
|
+
await store
|
|
54
|
+
.createCertificate(shareTransaction.id, lineId, {
|
|
54
55
|
error: "message",
|
|
55
|
-
})
|
|
56
|
+
})
|
|
57
|
+
.then(() => store.refresh(shareTransaction.id, {}));
|
|
56
58
|
}
|
|
57
59
|
function save() {
|
|
58
60
|
formContext.form
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableDragCell.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAEN,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0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sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAEN,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,YAAY,MAAM,2CAA2C,CAAC;AACrE,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,aAAa,GAAG,CAAC,KAAU,EAAE,EAAE;IACpC,MAAM,EACL,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,KAAK,EACL,GAAG,SAAS,EACZ,GAAG,KAAK,CAAC;IAEV,MAAM,WAAW,GAAG,iBAAiB,EAAE,CAAC;IACxC,MAAM,WAAW,GAAG,mBAAmB,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,wBAAwB,EAAE,CAAC;IAEzC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,wBAAwB;IACxB,MAAM,CAAC,IAAI,EA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KAAK;gBAAE,OAAO,UAAU,EAAE,CAAC;QACjC,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,SAAc,EAAE,EAAE;YACzB,uCAAuC;QACxC,CAAC,CAAC,CAAC;IACL,CAAC;IACD,SAAS,SAAS,CAAC,CAAM;QACxB,0BAA0B;QAC1B,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YAAE,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;QAC/C,IAAI,CAAC,CAAC,OAAO,KAAK,CAAC,IAAI,SAAS,KAAK,UAAU;YAAE,OAAO;QACxD,WAAW,CAAC,IAAI;aACd,cAAc,EAAE;aAChB,IAAI,CAAC,GAAG,EAAE;YACV,KAAK,EAAE,CAAC;QACT,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,SAAc,EAAE,EAAE;YACzB,uCAAuC;QACxC,CAAC,CAAC,CAAC;QACJ,OAAO;IACR,CAAC;IACD,SAAS,aAAa,CAAC,KAAa,EAAE,UAAe;QACpD,WAAW,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG;YACjC,GAAG,WAAW,CAAC,YAAY,CAAC,KAAK,CAAC;YAClC,GAAG,UAAU;SACb,CAAC;QACF,WAAW,CAAC,YAAY,GAAG,CAAC,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IAC1D,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
import { Button, Modal, Table } from "@voplus/antd";
|
|
3
3
|
import { useShareTransactionStore, } from "../../../../../../data/share-transaction";
|
|
4
4
|
import { TableDataContext, TableDataContextState } from "./TableDataContext";
|
|
5
5
|
import { clone, isEqual } from "lodash-es";
|
|
6
6
|
import { DndProvider } from "react-dnd";
|
|
7
7
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
8
|
-
import { observe } from "@voplus/morpho-ui";
|
|
8
|
+
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
9
9
|
import { toJS } from "mobx";
|
|
10
10
|
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
11
11
|
import DragTableCell from "./TableDragCell";
|
|
@@ -42,7 +42,7 @@ const ShareTransactionItems = (props) => {
|
|
|
42
42
|
{
|
|
43
43
|
title: "Certificate",
|
|
44
44
|
dataIndex: "certificate",
|
|
45
|
-
editable:
|
|
45
|
+
editable: true,
|
|
46
46
|
},
|
|
47
47
|
];
|
|
48
48
|
const columnsAllList = [
|
|
@@ -64,7 +64,7 @@ const ShareTransactionItems = (props) => {
|
|
|
64
64
|
cell: DragTableCell,
|
|
65
65
|
},
|
|
66
66
|
};
|
|
67
|
-
const columns = (
|
|
67
|
+
const columns = (props.transactionType === "Allotment" ? columnsAllList : columnsList).map((col) => {
|
|
68
68
|
return {
|
|
69
69
|
...col,
|
|
70
70
|
onCell: (record, rowIndex) => {
|
|
@@ -80,9 +80,7 @@ const ShareTransactionItems = (props) => {
|
|
|
80
80
|
},
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
|
-
|
|
84
|
-
state.invoiceLines = toJS(data.lines);
|
|
85
|
-
}, [data.lines]);
|
|
83
|
+
useAutorunEffect(() => (state.invoiceLines = toJS(data.lines)));
|
|
86
84
|
return observe(() => (React.createElement(TableDataContext.Provider, { value: state },
|
|
87
85
|
React.createElement(DndProvider, { backend: HTML5Backend },
|
|
88
86
|
React.createElement(Table, { components: components, pagination: false, bordered: true, dataSource: state.invoiceLines, columns: columns, rowKey: "id", onRow: (record, index) => ({
|
|
@@ -90,21 +88,24 @@ const ShareTransactionItems = (props) => {
|
|
|
90
88
|
moveAfter: moveAfter,
|
|
91
89
|
onMouseEnter: () => (state.hoverKey = index),
|
|
92
90
|
onMouseLeave: () => (state.hoverKey = -1),
|
|
93
|
-
}), footer: () =>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
React.createElement(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
React.createElement("
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
React.createElement("
|
|
106
|
-
|
|
107
|
-
|
|
91
|
+
}), footer: () => {
|
|
92
|
+
var _a;
|
|
93
|
+
return (React.createElement(React.Fragment, null,
|
|
94
|
+
React.createElement("div", { className: "operate" }, !state.readonly && (React.createElement(React.Fragment, null,
|
|
95
|
+
React.createElement(Button, { type: "link", onClick: onAdd }, "Add an item"),
|
|
96
|
+
React.createElement(Button, { type: "link", className: "cancel", onClick: getSharesTransaction }, "Reset"),
|
|
97
|
+
React.createElement(Button, { loading: state.loading, disabled: isEqual(toJS(state.invoiceLines), toJS(data.lines)), type: "link", onClick: onSave }, "Save")))),
|
|
98
|
+
React.createElement("div", { className: "total" },
|
|
99
|
+
"TOTAL",
|
|
100
|
+
React.createElement("span", null, (_a = state.sharesTotal) === null || _a === void 0 ? void 0 : _a.toLocaleString(undefined, {
|
|
101
|
+
minimumFractionDigits: 2,
|
|
102
|
+
}))),
|
|
103
|
+
data.transactionType === "Allotment" && (React.createElement("div", { className: "total" },
|
|
104
|
+
"TOTAL",
|
|
105
|
+
React.createElement("span", null, state.considerationTotal.toLocaleString(undefined, {
|
|
106
|
+
minimumFractionDigits: 2,
|
|
107
|
+
}))))));
|
|
108
|
+
} })))));
|
|
108
109
|
/** reload invoice */
|
|
109
110
|
function getSharesTransaction() {
|
|
110
111
|
const document = documents.items.get(data.id);
|
|
@@ -130,7 +131,7 @@ const ShareTransactionItems = (props) => {
|
|
|
130
131
|
async function onSave() {
|
|
131
132
|
var _a;
|
|
132
133
|
let lineArr = [];
|
|
133
|
-
(_a = data.lines) === null || _a === void 0 ? void 0 : _a.map((item) => lineArr.push(item.id));
|
|
134
|
+
(_a = data === null || data === void 0 ? void 0 : data.lines) === null || _a === void 0 ? void 0 : _a.map((item) => lineArr.push(item.id));
|
|
134
135
|
const Lines = state.invoiceLines.map((record) => {
|
|
135
136
|
const { shareholder, consideration, currency, shares, id } = record;
|
|
136
137
|
return {
|
|
@@ -143,7 +144,10 @@ const ShareTransactionItems = (props) => {
|
|
|
143
144
|
};
|
|
144
145
|
});
|
|
145
146
|
state.loading = true;
|
|
146
|
-
await shareStore
|
|
147
|
+
await shareStore
|
|
148
|
+
.edit(data.id, { data: { Lines }, error: "message" })
|
|
149
|
+
.then(() => shareStore.refresh(data.id, {}))
|
|
150
|
+
.catch((e) => e);
|
|
147
151
|
state.loading = false;
|
|
148
152
|
getSharesTransaction();
|
|
149
153
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAEN,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO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.transaction-type-filter {
|
|
3
|
+
padding: 0 15px;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
@@ -27,7 +27,7 @@ const ShareTransactionDefaultView = () => {
|
|
|
27
27
|
React.createElement(ShareTransactionProperties, { id: id, headerVisible: true })),
|
|
28
28
|
React.createElement("div", { className: "share-transaction-context" },
|
|
29
29
|
React.createElement(AsideContent, { context: asideContext },
|
|
30
|
-
React.createElement(ShareTransactionTabs, { id: id, details: React.createElement(ShareTransactionItems, { data: shareTransaction }) })))))));
|
|
30
|
+
React.createElement(ShareTransactionTabs, { id: id, details: React.createElement(ShareTransactionItems, { data: shareTransaction, transactionType: shareTransaction.transactionType }) })))))));
|
|
31
31
|
};
|
|
32
32
|
export default ShareTransactionDefaultView;
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,MAAM,MAAM,cAAc,CAAC;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3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,WAAW,MAAM,oDAAoD,CAAC;AAC7E,OAAO,qBAAqB,MAAM,wCAAwC,CAAC;AAC3E,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,0EAA0E;AAC1E,MAAM,2BAA2B,GAAG,GAAG,EAAE;IACxC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAE3C,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,MAAM,KAAK,GAAG,IAAI,YAAY,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5C,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,CAAC;IAEjG,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,SAAS,CAAC,GAAG,EAAE;QACd,GAAG,CAAC,KAAK,GAAG,CAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,IAAI,KAAI,kBAAkB,CAAC;IAC1D,CAAC,EAAE,CAAC,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,IAAI,CAAC,CAAC,CAAC;IAE7B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK;QACpC,oBAAC,WAAW,IACX,SAAS,EAAE,MAAM,CAAC,gCAAgC,CAAC,EACnD,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;YAE/B,oBAAC,WAAW,CAAC,GAAG,IAAC,WAAW;gBAC3B,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAG,EAAE,aAAa,SAAG,CACpC;YAClB,6BAAK,SAAS,EAAC,2BAA2B;gBACzC,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;oBAClC,oBAAC,oBAAoB,IACpB,EAAE,EAAE,EAAG,EACP,OAAO,EACN,oBAAC,qBAAqB,IACrB,IAAI,EAAE,gBAAgB,EACtB,eAAe,EAAE,gBAAgB,CAAC,eAAe,GAChD,GAEF,CACY,CACV,CACO,CACW,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
@import "../../../../../../style/common.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.share-transaction-register-view {
|
|
5
|
-
.document-header-default {
|
|
6
|
-
margin-bottom: 0.5em;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.shareTransaction-list-header {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
line-height: 21px;
|
|
14
|
-
color: #fff;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.share-transaction-loading {
|
|
18
|
-
padding: 10px 20px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
@import "../../../../../../style/common.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.share-transaction-register-view {
|
|
5
|
+
.document-header-default {
|
|
6
|
+
margin-bottom: 0.5em;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.shareTransaction-list-header {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
line-height: 21px;
|
|
14
|
+
color: #fff;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.share-transaction-loading {
|
|
18
|
+
padding: 10px 20px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
21
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.document-icon-view_list {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-wrap: wrap;
|
|
5
|
-
padding: 0.75rem;
|
|
6
|
-
margin: 1rem 1.25rem;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
}
|
|
9
|
-
.document-icon-list_loading,
|
|
10
|
-
.document-icon-list_empty {
|
|
11
|
-
padding: 20px 0;
|
|
12
|
-
text-align: center;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.document-icon-view_list {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
padding: 0.75rem;
|
|
6
|
+
margin: 1rem 1.25rem;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
}
|
|
9
|
+
.document-icon-list_loading,
|
|
10
|
+
.document-icon-list_empty {
|
|
11
|
+
padding: 20px 0;
|
|
12
|
+
text-align: center;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.corporate-statement {
|
|
3
|
-
// padding: 20px;
|
|
4
|
-
// h3 {
|
|
5
|
-
// margin-bottom: 20px;
|
|
6
|
-
// }
|
|
7
|
-
.statement-table-footer {
|
|
8
|
-
text-align: right;
|
|
9
|
-
.balance {
|
|
10
|
-
margin-left: 5px;
|
|
11
|
-
font-size: 15px;
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.corporate-statement {
|
|
3
|
+
// padding: 20px;
|
|
4
|
+
// h3 {
|
|
5
|
+
// margin-bottom: 20px;
|
|
6
|
+
// }
|
|
7
|
+
.statement-table-footer {
|
|
8
|
+
text-align: right;
|
|
9
|
+
.balance {
|
|
10
|
+
margin-left: 5px;
|
|
11
|
+
font-size: 15px;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|