@voplus/morpho-csp 6.0.120 → 6.0.122

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 (87) hide show
  1. package/es/components/CorporateNavMenu/CorporateNavMenu.js +11 -1
  2. package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
  3. package/es/components/CorporateUnitSelectDialog/index.js +32 -14
  4. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  5. package/es/components/CorporateUnitSelectDialog/index.less +105 -22
  6. package/es/components/CorporateUnitSelectDialog/state.d.ts +2 -6
  7. package/es/components/CorporateUnitSelectDialog/state.js +11 -67
  8. package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
  9. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/index.js +1 -1
  10. package/es/components/CorporateUnitSortableTree/themes/FileExplorerTheme/node-content-renderer.less +43 -22
  11. package/es/modules/corporate/company/components/CapitalCard/index.less +11 -4
  12. package/es/modules/corporate/company/components/CompanyPageHead/index.d.ts +1 -0
  13. package/es/modules/corporate/company/components/CompanyPageHead/index.js +5 -4
  14. package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
  15. package/es/modules/corporate/company/components/CompanyPageHead/index.less +14 -0
  16. package/es/modules/corporate/company/components/SharesCard2/index.less +3 -1
  17. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +1 -1
  18. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  19. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +10 -17
  20. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  21. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +0 -2
  22. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.d.ts +0 -2
  23. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +5 -6
  24. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
  25. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.d.ts +0 -2
  26. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js +7 -20
  27. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js.map +1 -1
  28. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.d.ts +8 -0
  29. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js +43 -0
  30. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/MemberItem/index.js.map +1 -0
  31. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.d.ts +8 -0
  32. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js +43 -0
  33. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.js.map +1 -0
  34. package/es/modules/corporate/company/member-register/components/MemberListInCorporateSelect/index.less +7 -0
  35. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +1 -6
  36. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  37. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +0 -1
  38. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +9 -14
  39. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
  40. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.d.ts +0 -2
  41. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +5 -6
  42. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
  43. package/es/modules/corporate/company/officer-register/components/OfficerList/index.d.ts +0 -2
  44. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +8 -18
  45. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
  46. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.d.ts +8 -0
  47. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js +46 -0
  48. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/OfficerItem/index.js.map +1 -0
  49. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.d.ts +8 -0
  50. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js +43 -0
  51. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.js.map +1 -0
  52. package/es/modules/corporate/company/officer-register/components/OfficerListInCorporateSelect/index.less +7 -0
  53. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +1 -6
  54. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  55. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +0 -1
  56. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +22 -27
  57. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
  58. package/es/modules/corporate/company/pages/CompanyPage/index.js +2 -0
  59. package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
  60. package/es/modules/corporate/company/pages/RegisteresPage/index.js +7 -8
  61. package/es/modules/corporate/company/pages/RegisteresPage/index.js.map +1 -1
  62. package/es/modules/corporate/company/pages/RegisteresPage/index.less +26 -4
  63. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.js +16 -16
  64. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.js.map +1 -1
  65. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.less +38 -64
  66. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.d.ts +3 -0
  67. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js +21 -22
  68. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.js.map +1 -1
  69. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.less +7 -6
  70. package/es/modules/corporate/share-class/components/ShareClassCardList/index.js +1 -6
  71. package/es/modules/corporate/share-class/components/ShareClassCardList/index.js.map +1 -1
  72. package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +17 -10
  73. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js +2 -1
  74. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.js.map +1 -1
  75. package/es/modules/corporate/share-class/components/ShareClassItemCard/index.less +2 -1
  76. package/es/modules/self-registration/clda-form/components/CLDAContactList/index.less +18 -6
  77. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +3 -1
  78. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +3 -1
  79. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +3 -1
  80. package/es/modules/self-registration/controls/Section/index.less +3 -1
  81. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.less +9 -3
  82. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.less +19 -7
  83. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +6 -6
  84. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
  85. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +30 -19
  86. package/es/style/common.less +10 -3
  87. package/package.json +1 -1
@@ -5,9 +5,11 @@ import TagView from "@voplus/morpho-document/es/components/TagView/TagView2";
5
5
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
6
  import { useMetaStore } from "@voplus/morpho-document-core";
7
7
  import { useShareTransaction, useShareTransactionStore, } from "../../../../../../../data/share-transaction";
8
- import { Open } from "@voplus/morpho-org/es/controls/ToolBar/items";
8
+ import ItemFunction from "@voplus/morpho-org/es/controls/ItemFunction";
9
9
  import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
10
10
  import ShareTable from "./Table";
11
+ import Card from "@voplus/morpho-ui/es/controls/Card";
12
+ import ShareTransactionPropertiesView from "../../ShareTransactionPropertiesView";
11
13
  import IdentityStatus from "../../../../../../../components/IdentityStatus/IdentityStatus2";
12
14
  import "./index.less";
13
15
  const Item = (props) => {
@@ -35,22 +37,20 @@ const Item = (props) => {
35
37
  return React.createElement(FAIcon, { icon: faCloud });
36
38
  }
37
39
  };
38
- return observe(() => (React.createElement("div", { className: "registers-share-transaction-item-card" },
39
- React.createElement("div", { className: "registers-share-info" },
40
- React.createElement("div", { className: "registers-share-content" },
41
- React.createElement("div", { className: "share-name-content" },
42
- React.createElement("div", { className: "share-name-icon" },
43
- React.createElement("span", { className: "share-icon" }, getTypeIcon(shareTransaction.transactionType)),
44
- shareTransaction.transactionType),
45
- React.createElement("span", { className: "share-card-open" },
46
- React.createElement(Open, { url: meta.getRoute(shareTransaction) }))),
47
- React.createElement("div", { className: "share-type" }, shareTransaction.name),
48
- React.createElement(TagView, { id: shareTransaction.id, tags: shareTransaction.tags, editable: true, items: store.items }),
49
- React.createElement(UTCShortDate, { className: "share-date", value: shareTransaction.date, format: "DD MMMM YYYY" })),
50
- React.createElement(IdentityStatus, { id: shareTransaction.id, className: "registers-share-identity" }),
51
- React.createElement("div", { className: "bg-img" }, getTypeIcon(shareTransaction.transactionType))),
40
+ return observe(() => (React.createElement(Card, { className: "registers-share-transaction-item-card shadow ring-1 ring-black ring-opacity-5" },
41
+ React.createElement("div", { className: "registers-share-head" },
42
+ React.createElement(ItemFunction, { className: "share-name-icon", propertiesView: React.createElement(ShareTransactionPropertiesView, { id: id }) },
43
+ React.createElement("div", { className: "share-icon" }, getTypeIcon(shareTransaction.transactionType)),
44
+ React.createElement("div", { className: "share-type" },
45
+ React.createElement("div", null, shareTransaction.transactionType),
46
+ React.createElement("div", { className: "share-name" }, shareTransaction.name))),
47
+ React.createElement(TagView, { id: shareTransaction.id, tags: shareTransaction.tags, editable: true, items: store.items, maxCount: 3 })),
52
48
  React.createElement("div", { className: "registers-share-table" },
53
- React.createElement(ShareTable, { lines: shareTransaction.lines })))));
49
+ React.createElement(ShareTable, { lines: shareTransaction.lines })),
50
+ React.createElement("div", { className: "registers-share-footer" },
51
+ React.createElement("div", null,
52
+ React.createElement(UTCShortDate, { className: "share-date", value: shareTransaction.date, format: "DD MMMM YYYY" })),
53
+ React.createElement(IdentityStatus, { id: shareTransaction.id, className: "registers-share-identity" })))));
54
54
  };
55
55
  export default Item;
56
56
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,OAAO,MAAM,wDAAwD,CAAC;AAC7E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GAExB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,UAAU,MAAM,SAAS,CAAC;AACjC,OAAO,cAAc,MAAM,gEAAgE,CAAC;AAC5F,OAAO,cAAc,CAAC;AAEtB,MAAM,IAAI,GAAG,CAAC,KAGb,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,KAAK,GAAG,wBAAwB,EAAE,CAAC;IAEzC,MAAM,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AC,YAAY,IAAE,gBAAgB,CAAC,IAAI,CAAO;gBACzD,oBAAC,OAAO,IACP,EAAE,EAAE,gBAAgB,CAAC,EAAE,EACvB,IAAI,EAAE,gBAAgB,CAAC,IAAI,EAC3B,QAAQ,EAAE,IAAI,EACd,KAAK,EAAE,KAAK,CAAC,KAAK,GACjB;gBACF,oBAAC,YAAY,IACZ,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE,gBAAgB,CAAC,IAAI,EAC5B,MAAM,EAAC,cAAc,GACpB,CACG;YACN,oBAAC,cAAc,IAAC,EAAE,EAAE,gBAAgB,CAAC,EAAE,EAAE,SAAS,EAAC,0BAA0B,GAAG;YAChF,6BAAK,SAAS,EAAC,QAAQ,IAAE,WAAW,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAO,CACxE;QACN,6BAAK,SAAS,EAAC,uBAAuB;YACrC,oBAAC,UAAU,IAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,GAAI,CACxC,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,OAAO,GACP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,OAAO,MAAM,wDAAwD,CAAC;AAC7E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GAExB,MAAM,6CAA6C,CAAC;AACrD,OA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
- margin: 0 20px 15px;
10
- .registers-share-info {
11
- width: 342px;
12
- margin-right: 6px;
13
- background-image: url("/img/share-transaction/no-icon-bg.png");
14
- background-position: center center;
15
- background-repeat: no-repeat;
16
- background-size: cover;
17
- border-radius: 5px;
18
- padding: 0 8px;
6
+ padding: 12px;
7
+ margin: 2px 18px 15px;
8
+ .registers-share-head {
19
9
  display: flex;
20
- flex-direction: column;
21
- position: relative;
22
- overflow: hidden;
23
- .bg-img {
24
- position: absolute;
25
- width: 78px;
26
- height: 90px;
27
- font-size: 80px;
28
- color: #217eb2;
29
- opacity: 0.3;
30
- right: 0;
31
- bottom: 0;
32
- }
33
- .registers-share-content {
34
- flex: 1;
35
- }
36
- .registers-share-identity {
37
- .verification {
38
- margin-right: 15px;
39
- margin-left: 0;
40
- }
41
- }
42
- .share-name-content {
43
- display: flex;
44
- .share-card-open {
45
- flex: 1;
46
- text-align: right;
47
- .ant-btn {
48
- // font-size: 12px;
49
- color: #217eb2;
50
- }
51
- }
52
- }
10
+ justify-content: space-between;
11
+ margin-bottom: 10px;
53
12
  .share-name-icon {
54
- display: flex;
13
+ flex: 1;
14
+ min-width: 250px;
15
+ font-size: 18px;
55
16
  color: #217eb2;
56
- font: normal normal bold 18px/32px Open Sans;
17
+ line-height: 24px;
18
+ font-weight: bold;
19
+ display: flex;
20
+ align-items: end;
21
+ cursor: pointer;
57
22
  .share-icon {
58
- width: 32px;
59
- height: 32px;
23
+ width: 40px;
24
+ height: 40px;
60
25
  background: #e0efff;
61
26
  border-radius: 5px;
62
27
  display: flex;
63
28
  align-items: center;
64
29
  justify-content: center;
65
- margin-right: 6px;
30
+ margin-right: 11px;
31
+ }
32
+ .share-name {
33
+ font-size: 14px;
34
+ color: #5d5d5d;
35
+ line-height: 19px;
36
+ font-weight: 500;
66
37
  }
67
- }
68
- .share-type {
69
- color: #5d5d5d;
70
- font-weight: bold;
71
- margin-top: 10px;
72
- }
73
- .tag-view-2 .add-tag-btn {
74
- margin-top: 0;
75
- }
76
- .share-date {
77
- color: #868686;
78
- display: inline-block;
79
- margin-top: 5px;
80
38
  }
81
39
  }
40
+
82
41
  .registers-share-table {
83
42
  flex: 1;
84
43
  padding: 5px;
@@ -91,14 +50,17 @@
91
50
  color: #5d5d5d;
92
51
  background: #e7f1fc;
93
52
  padding: 9px 10px 10px;
53
+
94
54
  &:not(:last-child):not(.ant-table-selection-column):not(
95
55
  .ant-table-row-expand-icon-cell
96
56
  ):not([colspan])::before {
97
57
  width: 0;
98
58
  }
99
59
  }
60
+
100
61
  .ant-table-cell-scrollbar {
101
62
  background: #e7f1fc;
63
+
102
64
  &:not([rowspan]) {
103
65
  box-shadow: none;
104
66
  }
@@ -113,6 +75,7 @@
113
75
  .ant-table-container table > thead > tr:first-child > *:last-child {
114
76
  border-start-end-radius: 0;
115
77
  }
78
+
116
79
  .ant-table-container table > thead > tr:first-child > *:first-child {
117
80
  border-start-start-radius: 0;
118
81
  }
@@ -130,8 +93,10 @@
130
93
  display: block;
131
94
  }
132
95
  }
96
+
133
97
  .ant-table-cell {
134
98
  font-weight: bold;
99
+
135
100
  &:first-child {
136
101
  font-weight: 500;
137
102
  }
@@ -152,10 +117,19 @@
152
117
 
153
118
  .registers-share-transaction-shares {
154
119
  color: #21b227;
120
+
155
121
  &.negative {
156
122
  color: #217eb2;
157
123
  }
158
124
  }
159
125
  }
126
+ .registers-share-footer {
127
+ display: flex;
128
+ justify-content: space-between;
129
+ margin-top: 10px;
130
+ .share-date {
131
+ color: #868686;
132
+ }
133
+ }
160
134
  }
161
135
  }
@@ -2,7 +2,10 @@ import React from "react";
2
2
  import "./index.less";
3
3
  export type ShareTransactionListProps = {
4
4
  shareTransactionId: string;
5
+ corporateId?: string;
6
+ memberId?: string;
5
7
  onRedirect?: () => void;
8
+ pageHeader?: boolean;
6
9
  };
7
10
  declare const ShareTransactionTableList: (props: ShareTransactionListProps) => React.JSX.Element;
8
11
  export default ShareTransactionTableList;
@@ -6,17 +6,21 @@ import { useAutoUpdateListData } from "@voplus/morpho-document-core";
6
6
  import { useShareTransactionListEffect, useShareTransactionStore, } from "../../../../../../data/share-transaction";
7
7
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
8
8
  import { LoadingOutlined } from "@ant-design/icons";
9
+ import { faFileInvoiceDollar } from "@fortawesome/pro-solid-svg-icons";
10
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
11
+ import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
9
12
  import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
10
13
  import { State } from "../ShareTransactionList/state";
11
14
  import TransactionTypeFilter from "../../controls/TransactionTypeFilter";
15
+ import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
12
16
  import { runInAction } from "mobx";
13
- import dayjs from "dayjs";
14
17
  import "./index.less";
15
18
  import Item from "./Item";
16
19
  import { useDeepMemo } from "@voplus/morpho-data";
17
20
  const ShareTransactionTableList = (props) => {
18
- const { shareTransactionId } = props;
21
+ const { shareTransactionId, pageHeader } = props;
19
22
  const [shareTransactionTotal, setShareTransactionTotal] = useState(0);
23
+ const [asideContext] = useState(AsideContent.createContext());
20
24
  const shareStore = useShareTransactionStore();
21
25
  const list = useCreateListDataState({
22
26
  filterDefaults: {
@@ -35,17 +39,13 @@ const ShareTransactionTableList = (props) => {
35
39
  ...list.filters.options,
36
40
  });
37
41
  return observe(() => {
38
- return (React.createElement(ListDataContext.Provider, { value: list },
39
- React.createElement("div", { className: "registers-share-transaction-list" },
40
- React.createElement(PageHeadDashboard, { avatar: React.createElement(React.Fragment, null), title: "Transaction List", description: React.createElement(React.Fragment, null,
41
- "Lates Update on ",
42
- dayjs().format("DD MMM YYYY")), listHeaderProps: {
43
- visible: true,
44
- sortable: false,
45
- filterViewProps: {
42
+ return (React.createElement(AsideContent, { context: asideContext },
43
+ React.createElement(ListDataContext.Provider, { value: list },
44
+ React.createElement("div", { className: "registers-share-transaction-list" },
45
+ pageHeader && (React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faFileInvoiceDollar }), title: "Share Transaction", description: "Manage your share classes with ease" })),
46
+ React.createElement(ListHeaderTool, { visible: true, sortable: false, searchOptions: { placeholder: "Search in transaction" }, filterViewProps: {
46
47
  columns: [React.createElement(TransactionTypeFilter, { key: "TransactionTypeFilter" })],
47
- },
48
- addOptions: {
48
+ }, addOptions: {
49
49
  trigger: ["click"],
50
50
  overlay: (React.createElement(Menu, { onClick: state.onSelect, items: [
51
51
  { key: "Allotment", label: "Allotment" },
@@ -57,16 +57,15 @@ const ShareTransactionTableList = (props) => {
57
57
  { key: "Import", label: "Import" },
58
58
  { key: "Others", label: "Others" },
59
59
  ] })),
60
- },
61
- } }),
62
- React.createElement(ListView, { className: "list-content", headerProps: {
63
- visible: false,
64
- }, renderItem: ({ item }) => React.createElement(Item, { id: item.id }) }),
65
- state.addAble && (React.createElement("div", { className: "create-shareTransaction-form" },
66
- React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: `Name of ${state.type} for ShareTransaction`, suffix: state.loading ? React.createElement(LoadingOutlined, null) : "", onPressEnter: onSave, onKeyDown: (e) => {
67
- if (e.key === "Escape")
68
- runInAction(() => (state.addAble = false));
69
- } }))))));
60
+ } }),
61
+ React.createElement(ListView, { className: "list-content", asideable: false, headerProps: {
62
+ visible: false,
63
+ }, renderItem: ({ item }) => React.createElement(Item, { id: item.id }) }),
64
+ state.addAble && (React.createElement("div", { className: "create-shareTransaction-form" },
65
+ React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: `Name of ${state.type} for ShareTransaction`, suffix: state.loading ? React.createElement(LoadingOutlined, null) : "", onPressEnter: onSave, onKeyDown: (e) => {
66
+ if (e.key === "Escape")
67
+ runInAction(() => (state.addAble = false));
68
+ } })))))));
70
69
  });
71
70
  async function onSave() {
72
71
  await shareStore.create({
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACN,6BAA6B,EAC7B,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAOlD,MAAM,yBAAyB,GAAG,CAAC,KAAgC,EAAE,EAAE;IACtE,MAAM,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,GAAG,QAAQ,CAAS,CAAC,CAAC,CAAC;IAC9E,MAAM,UAAU,GAAG,wBAAwB,EAAE,CAAC;IAE9C,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,MAAM;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C,oBAAC,eAAe,OAAG,CAAC,CAAC,CAAC,EAAE,EAChD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE;4BAChB,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;gCAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;wBACpE,CAAC,GACA,CACG,CACN,CACI,CACoB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,MAAM,UAAU,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,eAAe,EAAE,KAAK,CAAC,IAAI;gBAC3B,QAAQ,EAAE,KAAK;aACf;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACN,6BAA6B,EAC7B,wBAAwB,GACxB,M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CAAC,EAAE,EAAE;gCAChB,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;oCAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;4BACpE,CAAC,GACA,CACG,CACN,CACI,CACoB,CACb,CACf,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM;QACpB,MAAM,UAAU,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,eAAe,EAAE,KAAK,CAAC,IAAI;gBAC3B,QAAQ,EAAE,KAAK;aACf;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -5,12 +5,13 @@
5
5
  flex-direction: column;
6
6
  background: #f5f9fc;
7
7
  .page-head-dashboard {
8
- background: transparent;
9
- .page-head-info {
10
- margin: 0;
11
- .page-head-name {
12
- color: #217eb2;
13
- }
8
+ .list-view-header-tool {
9
+ padding: 18px 20px;
10
+ }
11
+ }
12
+ .search-header-tool {
13
+ .ant-input-outlined {
14
+ max-width: 320px;
14
15
  }
15
16
  }
16
17
  .list-content {
@@ -9,7 +9,6 @@ import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/head
9
9
  import ShareClassForm from "../NewShareClassForm/ShareClassForm";
10
10
  import NewShareClassFormDialog from "../NewShareClassForm";
11
11
  import ShareClassItemCard from "../ShareClassItemCard";
12
- import dayjs from "dayjs";
13
12
  import "./index.less";
14
13
  const ShareClassCardList = (props) => {
15
14
  const { corporateId } = props;
@@ -35,11 +34,7 @@ const ShareClassCardList = (props) => {
35
34
  React.createElement(RefreshContext.Provider, { value: context },
36
35
  React.createElement("div", { className: "share-class-card-list" },
37
36
  React.createElement(ListHeaderTool, { addAble: true, searchHeader: true, sortable: false, onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
38
- setAddAble(!addAble), searchOptions: { placeholder: "Search in share class" }, preExtra: () => (React.createElement("div", { className: "share-class-info" },
39
- React.createElement("div", { className: "title" }, "Share Class List"),
40
- React.createElement("div", { className: "last-updated-time" },
41
- "Lates Update on ",
42
- dayjs().format("DD MMM YYYY")))) }),
37
+ setAddAble(!addAble), searchOptions: { placeholder: "Search in share class" } }),
43
38
  React.createElement(ListView, { className: "share-type-list-view", headerProps: { visible: false }, formViewTitle: "Add Share Class", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
44
39
  (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(ShareClassForm, { showView: true, corporateId: corporateId }), renderItem: ({ item, index }) => (React.createElement(ShareClassItemCard, { key: item.id, id: item.id })) })),
45
40
  addAble && (React.createElement(NewShareClassFormDialog, { corporateId: corporateId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) })))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassCardList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,qBAAqB,EAErB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,cAAc,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AAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACjD,GACA,CACG;gBACL,OAAO,IAAI,CACX,oBAAC,uBAAuB,IACvB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACwB,CACA,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassCardList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,qBAAqB,EAErB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,cAAc,MAAM,qCAAqC,CAAC;AACjE,OAAO,uBAAuB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,CAAC;AAMtB,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC7D,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ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AAE,IAAI,MAAK,WAAW,CAAC;4BAC/D,UAAU,CAAC,CAAC,OAAO,CAAC,EAErB,aAAa,EAAE,EAAE,WAAW,EAAE,uBAAuB,EAAE,GACtD;oBACF,oBAAC,QAAQ,IACR,SAAS,EAAC,sBAAsB,EAChC,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAC/B,aAAa,EAAC,iBAAiB,EAC/B,QAAQ,EACP,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB;4BAC/B,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,oBAAC,cAAc,IAAC,QAAQ,QAAC,WAAW,EAAE,WAAW,GAAI,EAEpF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAwC,EAAE,EAAE,CAAC,CACtE,oBAAC,kBAAkB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACjD,GACA,CACG;gBACL,OAAO,IAAI,CACX,oBAAC,uBAAuB,IACvB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACwB,CACA,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -4,20 +4,27 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  background: #f5f9fc;
7
- padding: 6px 0 20px;
7
+ padding: 0 0 20px;
8
8
  > div > div > div > div > div > div > div {
9
9
  width: 100%;
10
10
  display: flex;
11
11
  flex-wrap: wrap;
12
+
12
13
  .list-item-card {
13
14
  /* 其中 60 为间隙的中和 */
14
- width: calc((100% - 40px) / 3);
15
+ width: calc((100% - 42px) / 3);
15
16
  margin-right: 20px;
17
+
16
18
  &:nth-child(3n) {
17
- margin-right: 0;
19
+ margin-right: 2px;
18
20
  }
19
21
  }
20
22
  }
23
+ .search-header-tool {
24
+ .ant-input-outlined {
25
+ width: 320px;
26
+ }
27
+ }
21
28
 
22
29
  .ant-empty {
23
30
  display: block !important;
@@ -26,27 +33,27 @@
26
33
  .share-type-list-view {
27
34
  flex: 1;
28
35
  background: transparent;
29
- margin: 0 20px;
30
- }
31
-
32
- .list-view-header-tool {
33
- padding-bottom: 14px;
36
+ margin: 0 18px;
34
37
  }
35
38
 
36
39
  .header-tool-space {
37
40
  align-items: center;
38
41
  }
42
+
39
43
  .share-class-info {
40
44
  width: 60%;
41
45
 
42
46
  .title {
43
47
  color: #217eb2;
44
- font: normal normal bold 20px/27px Open Sans;
48
+ font-weight: bold;
49
+ font-size: 20px;
50
+ line-height: 27px;
45
51
  }
46
52
 
47
53
  .last-updated-time {
48
54
  color: #868686;
49
- font: normal normal normal 14px / 19px Open Sans;
55
+ font-size: 14px;
56
+ line-height: 19px;
50
57
  }
51
58
  }
52
59
  }
@@ -10,11 +10,12 @@ import ShareClassMenu from "../../controls/ShareClassMenu";
10
10
  import PropertiesView from "../ShareClassPropertiesView";
11
11
  import ShareClassQuickViewDialog from "../ShareClassQuickViewDialog";
12
12
  import IdentityStatus2 from "../.././../../../components/IdentityStatus/IdentityStatus2";
13
+ import Card from "@voplus/morpho-ui/es/controls/Card";
13
14
  import "./index.less";
14
15
  const ShareClassItemCard = (props) => {
15
16
  const { id } = props;
16
17
  const shareType = useShareClass(id);
17
- return observe(() => (React.createElement("div", { className: "share-class-item-card" },
18
+ return observe(() => (React.createElement(Card, { className: "share-class-item-card shadow ring-1 ring-black ring-opacity-5" },
18
19
  React.createElement(ItemFunction, { propertiesView: React.createElement(PropertiesView, { id: id }), quickViewDialog: (onCancel) => (React.createElement(ShareClassQuickViewDialog, { id: id, visible: true, onCancel: onCancel })) },
19
20
  React.createElement("div", { className: "share-card-head" },
20
21
  React.createElement("div", { className: "share-card-name" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassItemCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,cAAc,MAAM,6BAA6B,CAAC;AACzD,OAAO,yBAAyB,MAAM,8BAA8B,CAAC;AACrE,OAAO,eAAe,MAAM,4DAA4D,CAAC;AACzF,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACpD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,SAAS,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,uBAAuB;QACrC,oBAAC,YAAY,IACZ,cAAc,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,EAC1C,eAAe,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAC9B,oBAAC,yBAAyB,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACxE;YAED,6BAAK,SAAS,EAAC,iBAAiB;gBAC/B,6BAAK,SAAS,EAAC,iBAAiB;oBAC/B;wBACC,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,CACnB;oBACN,SAAS,CAAC,IAAI,CACV;gBACN,6BAAK,SAAS,EAAC,iBAAiB;oBAC/B,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;oBAC3B,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC/B,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,IAAI,EAChB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,GACzC,CACO,CACL,CACD;YACN,oBAAC,UAAU,IAAC,SAAS,EAAC,wBAAwB;gBAC7C,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,OAAO,IACtD,SAAS,CAAC,KAAK,CACD;gBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,kBAAkB,IACtE,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAC9C;gBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,gBAAgB,EAAC,IAAI,EAAC,gBAAgB,IAClE,SAAS,CAAC,kBAAkB,CACd,CACJ,CACC,CACV,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassItemCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0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,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC/B,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,IAAI,EAChB,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,GACzC,CACO,CACL,CACD;YACN,oBAAC,UAAU,IAAC,SAAS,EAAC,wBAAwB;gBAC7C,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,OAAO,IACtD,SAAS,CAAC,KAAK,CACD;gBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,kBAAkB,IACtE,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAC9C;gBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,gBAAgB,EAAC,IAAI,EAAC,gBAAgB,IAClE,SAAS,CAAC,kBAAkB,CACd,CACJ,CACC,CACT,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,10 +1,11 @@
1
1
  :global {
2
2
  .share-class-item-card {
3
3
  cursor: pointer;
4
- background: #fff;
5
4
  padding: 0 14px;
6
5
  border-radius: 5px;
7
6
  margin-bottom: 15px;
7
+ margin-top: 2px;
8
+ margin-left: 2px;
8
9
  .share-card-head {
9
10
  display: flex;
10
11
  align-items: center;
@@ -14,13 +14,17 @@
14
14
  .contact-value {
15
15
  height: 27px;
16
16
  color: #217eb2;
17
- font: normal normal bold 20px/27px Open Sans;
17
+ font-weight: bold;
18
+ font-size: 20px;
19
+ line-height: 27px;
18
20
  }
19
21
 
20
22
  .contact-label {
21
23
  height: 19px;
22
24
  color: #868686;
23
- font: normal normal 500 14px/19px Open Sans;
25
+ font-weight: 500;
26
+ font-size: 14px;
27
+ line-height: 19px;
24
28
  }
25
29
  }
26
30
 
@@ -55,12 +59,16 @@
55
59
  .phone-email-label {
56
60
  width: 120px;
57
61
  color: #868686;
58
- font: normal normal 500 14px/19px Open Sans;
62
+ font-weight: 500;
63
+ font-size: 14px;
64
+ line-height: 19px;
59
65
  }
60
66
 
61
67
  .phone-email-value {
62
68
  color: #5d5d5d;
63
- font: normal normal bold 14px/19px Open Sans;
69
+ font-weight: bold;
70
+ font-size: 14px;
71
+ line-height: 19px;
64
72
  }
65
73
  }
66
74
 
@@ -69,12 +77,16 @@
69
77
  width: 120px;
70
78
  margin-bottom: 15px;
71
79
  color: #868686;
72
- font: normal normal 500 14px/19px Open Sans;
80
+ font-weight: 500;
81
+ font-size: 14px;
82
+ line-height: 19px;
73
83
  }
74
84
 
75
85
  .basic-value {
76
86
  color: #5d5d5d;
77
- font: normal normal bold 14px/19px Open Sans;
87
+ font-weight: bold;
88
+ font-size: 14px;
89
+ line-height: 19px;
78
90
  }
79
91
  }
80
92
 
@@ -19,7 +19,9 @@
19
19
  .registered-address-prompted {
20
20
  margin-top: 20px;
21
21
  color: #5d5d5d;
22
- font: normal normal 600 14px/19px Open Sans;
22
+ font-weight: 600;
23
+ font-size: 14px;
24
+ line-height: 19px;
23
25
  }
24
26
  }
25
27
  }
@@ -15,7 +15,9 @@
15
15
 
16
16
  .capital-content-value {
17
17
  color: @incorporation-primary-color;
18
- font: normal normal bold 20px/27px Open Sans;
18
+ font-weight: bold;
19
+ font-size: 20px;
20
+ line-height: 27px;
19
21
  }
20
22
 
21
23
  .capital-edit-content-space {
@@ -10,7 +10,9 @@
10
10
  .non-empty-check-prompt {
11
11
  margin-top: 15px;
12
12
  color: #ff0000;
13
- font: normal normal 600 14px/19px Open Sans;
13
+ font-weight: 600;
14
+ font-size: 14px;
15
+ line-height: 19px;
14
16
 
15
17
  > span {
16
18
  vertical-align: text-top;
@@ -10,7 +10,9 @@
10
10
  :global {
11
11
  .section-title {
12
12
  color: #217eb2;
13
- font: normal normal bold 20px/27px Open Sans;
13
+ font-weight: bold;
14
+ font-size: 20px;
15
+ line-height: 27px;
14
16
 
15
17
  svg {
16
18
  color: @section-active-color;
@@ -12,12 +12,16 @@
12
12
  .introduction-details {
13
13
  padding: 30px 28px 15px 25px;
14
14
  color: #5d5d5d;
15
- font: normal normal 600 14px/19px Open Sans;
15
+ font-weight: 600;
16
+ font-size: 14px;
17
+ line-height: 19px;
16
18
 
17
19
  .title {
18
20
  margin-bottom: 15px;
19
21
  color: #217eb2;
20
- font: normal normal bold 20px/27px Open Sans;
22
+ font-weight: bold;
23
+ font-size: 20px;
24
+ line-height: 27px;
21
25
  }
22
26
  }
23
27
 
@@ -26,7 +30,9 @@
26
30
  height: 30px;
27
31
  margin-left: 25px;
28
32
  margin-bottom: 25px;
29
- font: normal normal bold 14px/19px Open Sans;
33
+ font-weight: bold;
34
+ font-size: 14px;
35
+ line-height: 19px;
30
36
  }
31
37
  }
32
38
  }