@voplus/morpho-csp 1.2.175 → 1.2.177

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 (202) hide show
  1. package/es/Modules.js +3 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/data/member/interfaces.d.ts +1 -1
  4. package/es/data/share-certificate/ShareCertificateStore.d.ts +11 -0
  5. package/es/data/share-certificate/ShareCertificateStore.js +22 -0
  6. package/es/data/share-certificate/ShareCertificateStore.js.map +1 -0
  7. package/es/data/share-certificate/hooks.d.ts +13 -0
  8. package/es/data/share-certificate/hooks.js +24 -0
  9. package/es/data/share-certificate/hooks.js.map +1 -0
  10. package/es/data/share-certificate/index.d.ts +5 -0
  11. package/es/data/share-certificate/index.js +6 -0
  12. package/es/data/share-certificate/index.js.map +1 -0
  13. package/es/data/share-certificate/interfaces.d.ts +15 -0
  14. package/es/data/share-certificate/interfaces.js.map +1 -0
  15. package/es/data/share-certificate/metas.d.ts +13 -0
  16. package/es/data/share-certificate/metas.js +38 -0
  17. package/es/data/share-certificate/metas.js.map +1 -0
  18. package/es/data/share-certificate/types.d.ts +12 -0
  19. package/es/data/share-certificate/types.js +2 -0
  20. package/es/data/share-certificate/types.js.map +1 -0
  21. package/es/data/{shareTransaction → share-transaction}/ShareTransactionStore.js +1 -1
  22. package/es/data/share-transaction/ShareTransactionStore.js.map +1 -0
  23. package/es/data/share-transaction/hooks.js.map +1 -0
  24. package/es/data/share-transaction/index.js.map +1 -0
  25. package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransaction.d.ts +1 -0
  26. package/es/data/share-transaction/interfaces/IShareTransaction.js.map +1 -0
  27. package/es/data/share-transaction/interfaces/IShareTransactionLine.js.map +1 -0
  28. package/es/data/share-transaction/interfaces/index.js.map +1 -0
  29. package/es/data/share-transaction/metas.js.map +1 -0
  30. package/es/data/share-transaction/types/ShareLineCreateOptions.js.map +1 -0
  31. package/es/data/share-transaction/types/ShareTransactionCreateOptions.js.map +1 -0
  32. package/es/data/share-transaction/types/ShareTransactionEditOptions.js.map +1 -0
  33. package/es/data/share-transaction/types/ShareTransactionType.js.map +1 -0
  34. package/es/data/share-transaction/types/index.js.map +1 -0
  35. package/es/modules/corporate/company/pages/CompanyPage/index.js +7 -3
  36. package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
  37. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.d.ts +1 -1
  38. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +2 -2
  39. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
  40. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +2 -2
  41. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +1 -1
  42. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +6 -6
  43. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +1 -1
  44. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.d.ts +1 -1
  45. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +6 -6
  46. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
  47. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +2 -2
  48. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
  49. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.d.ts +1 -1
  50. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.d.ts +26 -0
  51. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +66 -0
  52. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -0
  53. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.d.ts +3 -10
  54. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js +22 -10
  55. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js.map +1 -1
  56. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +37 -89
  57. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.d.ts +7 -0
  58. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +42 -0
  59. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -0
  60. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js +10 -8
  61. package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js.map +1 -1
  62. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.d.ts +1 -1
  63. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +21 -62
  64. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
  65. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +85 -89
  66. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js +3 -3
  67. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +1 -1
  68. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.d.ts +9 -0
  69. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js +13 -0
  70. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js.map +1 -0
  71. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.d.ts +17 -0
  72. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js +56 -0
  73. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js.map +1 -0
  74. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.less +41 -0
  75. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.d.ts +10 -0
  76. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js +34 -0
  77. package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js.map +1 -0
  78. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +3 -0
  79. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +46 -0
  80. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -0
  81. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +164 -0
  82. package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.d.ts +5 -0
  83. package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js +27 -0
  84. package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js.map +1 -0
  85. package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.less +47 -0
  86. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.d.ts +38 -0
  87. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +137 -0
  88. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -0
  89. package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.less +16 -0
  90. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +26 -0
  91. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +43 -0
  92. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -0
  93. package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.d.ts +7 -0
  94. package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js +32 -0
  95. package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js.map +1 -0
  96. package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.less +14 -0
  97. package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.d.ts +7 -0
  98. package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +34 -0
  99. package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -0
  100. package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.less +15 -0
  101. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.d.ts +6 -0
  102. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +39 -0
  103. package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -0
  104. package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.d.ts +12 -0
  105. package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js +18 -0
  106. package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map +1 -0
  107. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.d.ts +7 -0
  108. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +13 -0
  109. package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -0
  110. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.d.ts +8 -0
  111. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js +12 -0
  112. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js.map +1 -0
  113. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.d.ts +5 -0
  114. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.js +29 -0
  115. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.js.map +1 -0
  116. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.d.ts +19 -0
  117. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js +61 -0
  118. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -0
  119. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.d.ts +10 -0
  120. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js +10 -0
  121. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js.map +1 -0
  122. package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.less +35 -0
  123. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.d.ts +5 -0
  124. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.js +29 -0
  125. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.js.map +1 -0
  126. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.d.ts +19 -0
  127. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +55 -0
  128. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -0
  129. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.d.ts +10 -0
  130. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js +14 -0
  131. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js.map +1 -0
  132. package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.less +21 -0
  133. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +10 -39
  134. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
  135. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +36 -30
  136. package/es/modules/corporate/share-options-register/components/ShareOptionList/state.d.ts +1 -1
  137. package/es/{modules/corporate/company/share-transactions-register/components → obsolete}/ShareTransactionPropertiesView/Content.js +3 -4
  138. package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -0
  139. package/es/obsolete/ShareTransactionPropertiesView/index.d.ts +13 -0
  140. package/es/obsolete/ShareTransactionPropertiesView/index.js +15 -0
  141. package/es/obsolete/ShareTransactionPropertiesView/index.js.map +1 -0
  142. package/es/obsolete/ShareTransactionPropertiesView/index.less +89 -0
  143. package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.d.ts +4 -0
  144. package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js +65 -0
  145. package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -0
  146. package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -0
  147. package/es/obsolete/shareCertificate/hooks.js.map +1 -0
  148. package/es/obsolete/shareCertificate/index.js.map +1 -0
  149. package/es/obsolete/shareCertificate/interfaces.js +2 -0
  150. package/es/obsolete/shareCertificate/interfaces.js.map +1 -0
  151. package/es/obsolete/shareCertificate/store.js.map +1 -0
  152. package/es/routes.js +6 -6
  153. package/es/routes.js.map +1 -1
  154. package/package.json +1 -1
  155. package/es/data/shareCertificate/hooks.js.map +0 -1
  156. package/es/data/shareCertificate/index.js.map +0 -1
  157. package/es/data/shareCertificate/interfaces.js.map +0 -1
  158. package/es/data/shareCertificate/store.js.map +0 -1
  159. package/es/data/shareTransaction/ShareTransactionStore.js.map +0 -1
  160. package/es/data/shareTransaction/hooks.js.map +0 -1
  161. package/es/data/shareTransaction/index.js.map +0 -1
  162. package/es/data/shareTransaction/interfaces/IShareTransaction.js.map +0 -1
  163. package/es/data/shareTransaction/interfaces/IShareTransactionLine.js.map +0 -1
  164. package/es/data/shareTransaction/interfaces/index.js.map +0 -1
  165. package/es/data/shareTransaction/metas.js.map +0 -1
  166. package/es/data/shareTransaction/types/ShareLineCreateOptions.js.map +0 -1
  167. package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js.map +0 -1
  168. package/es/data/shareTransaction/types/ShareTransactionEditOptions.js.map +0 -1
  169. package/es/data/shareTransaction/types/ShareTransactionType.js.map +0 -1
  170. package/es/data/shareTransaction/types/index.js.map +0 -1
  171. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +0 -1
  172. /package/es/data/{shareCertificate → share-certificate}/interfaces.js +0 -0
  173. /package/es/data/{shareTransaction → share-transaction}/ShareTransactionStore.d.ts +0 -0
  174. /package/es/data/{shareTransaction → share-transaction}/hooks.d.ts +0 -0
  175. /package/es/data/{shareTransaction → share-transaction}/hooks.js +0 -0
  176. /package/es/data/{shareTransaction → share-transaction}/index.d.ts +0 -0
  177. /package/es/data/{shareTransaction → share-transaction}/index.js +0 -0
  178. /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransaction.js +0 -0
  179. /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransactionLine.d.ts +0 -0
  180. /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransactionLine.js +0 -0
  181. /package/es/data/{shareTransaction → share-transaction}/interfaces/index.d.ts +0 -0
  182. /package/es/data/{shareTransaction → share-transaction}/interfaces/index.js +0 -0
  183. /package/es/data/{shareTransaction → share-transaction}/metas.d.ts +0 -0
  184. /package/es/data/{shareTransaction → share-transaction}/metas.js +0 -0
  185. /package/es/data/{shareTransaction → share-transaction}/types/ShareLineCreateOptions.d.ts +0 -0
  186. /package/es/data/{shareTransaction → share-transaction}/types/ShareLineCreateOptions.js +0 -0
  187. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionCreateOptions.d.ts +0 -0
  188. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionCreateOptions.js +0 -0
  189. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionEditOptions.d.ts +0 -0
  190. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionEditOptions.js +0 -0
  191. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionType.d.ts +0 -0
  192. /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionType.js +0 -0
  193. /package/es/data/{shareTransaction → share-transaction}/types/index.d.ts +0 -0
  194. /package/es/data/{shareTransaction → share-transaction}/types/index.js +0 -0
  195. /package/es/{modules/corporate/company/share-transactions-register/components → obsolete}/ShareTransactionPropertiesView/Content.d.ts +0 -0
  196. /package/es/{data → obsolete}/shareCertificate/hooks.d.ts +0 -0
  197. /package/es/{data → obsolete}/shareCertificate/hooks.js +0 -0
  198. /package/es/{data → obsolete}/shareCertificate/index.d.ts +0 -0
  199. /package/es/{data → obsolete}/shareCertificate/index.js +0 -0
  200. /package/es/{data → obsolete}/shareCertificate/interfaces.d.ts +0 -0
  201. /package/es/{data → obsolete}/shareCertificate/store.d.ts +0 -0
  202. /package/es/{data → obsolete}/shareCertificate/store.js +0 -0
@@ -1,89 +1,85 @@
1
- @import "../../../../../../style/common.less";
2
- :global {
3
- .share-transaction-default-view {
4
- // padding: 10px 0;
5
- .ant-table {
6
- margin: 0 20px;
7
- }
8
- .shareTransaction-item-info {
9
- display: flex;
10
- padding: 0 15px 10px 15px;
11
- > div {
12
- flex: 1;
13
- color: #000;
14
- padding: 0 10px;
15
- }
16
- .bold {
17
- font-weight: 500;
18
- font-size: 15px;
19
- padding-bottom: 10px;
20
- }
21
- .morpho-inline-edit {
22
- display: inline-block;
23
-
24
- .svg-inline--fa {
25
- margin-right: 5px;
26
- }
27
- }
28
- .ant-select {
29
- width: 130px !important;
30
- }
31
- }
32
- .ant-table {
33
- .ant-table-container {
34
- overflow-x: auto;
35
- }
36
- .ant-input-number {
37
- width: 100%;
38
- }
39
- .ant-table-thead > tr > th {
40
- padding: 10px;
41
- }
42
- .ant-table-tbody > tr > td {
43
- padding: 5px 10px;
44
- min-width: 120px;
45
- height: 54px;
46
- &.column-dnd {
47
- min-width: 40px;
48
- text-align: center;
49
- }
50
- }
51
- .editable-cell-wrap {
52
- display: flex;
53
- justify-content: space-between;
54
- align-items: center;
55
- > div {
56
- flex: 1;
57
- }
58
- .ant-empty {
59
- width: 100%;
60
- }
61
- }
62
- .ant-table-footer {
63
- display: flex;
64
- justify-content: space-between;
65
- align-items: center;
66
- padding: 10px 0;
67
- .operate {
68
- flex: 1;
69
- .cancel {
70
- color: #666;
71
- }
72
- }
73
- .total {
74
- display: inline-block;
75
- min-width: calc((100% - 40px) / 5);
76
- padding-left: 10px;
77
- span {
78
- margin-left: 5px;
79
- font-size: 15px;
80
- font-weight: 500;
81
- }
82
- & + .total {
83
- margin-left: calc((100% - 40px) / 5);
84
- }
85
- }
86
- }
87
- }
88
- }
89
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .share-transaction-default-view {
4
+ :global {
5
+ .main-content-nav {
6
+ width: 350px;
7
+ padding: 0;
8
+ }
9
+
10
+ .share-transaction-context {
11
+ padding: 0;
12
+ background: #fff;
13
+
14
+ .ant-table {
15
+ .ant-table-container {
16
+ overflow-x: auto;
17
+ }
18
+
19
+ .ant-input-number {
20
+ width: 100%;
21
+ }
22
+
23
+ .ant-table-thead > tr > th {
24
+ padding: 10px;
25
+ }
26
+
27
+ .ant-table-tbody > tr > td {
28
+ padding: 5px 10px;
29
+ min-width: 120px;
30
+ height: 54px;
31
+
32
+ &.column-dnd {
33
+ min-width: 40px;
34
+ text-align: center;
35
+ }
36
+ }
37
+
38
+ .editable-cell-wrap {
39
+ display: flex;
40
+ justify-content: space-between;
41
+ align-items: center;
42
+
43
+ > div {
44
+ flex: 1;
45
+ }
46
+
47
+ .ant-empty {
48
+ width: 100%;
49
+ }
50
+ }
51
+
52
+ .ant-table-footer {
53
+ display: flex;
54
+ justify-content: space-between;
55
+ align-items: center;
56
+ padding: 10px 0;
57
+
58
+ .operate {
59
+ flex: 1;
60
+
61
+ .cancel {
62
+ color: #666;
63
+ }
64
+ }
65
+
66
+ .total {
67
+ display: inline-block;
68
+ min-width: calc((100% - 40px) / 5);
69
+ padding-left: 10px;
70
+
71
+ span {
72
+ margin-left: 5px;
73
+ font-size: 15px;
74
+ font-weight: 500;
75
+ }
76
+
77
+ & + .total {
78
+ margin-left: calc((100% - 40px) / 5);
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
@@ -6,11 +6,11 @@ import { AsideContent } from "@voplus/morpho-ui";
6
6
  import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
7
7
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
8
8
  import ShareTransactionList from "../../components/ShareTransactionList";
9
- import ShareTransactionPropertiesView from "../../components/ShareTransactionPropertiesView";
9
+ import ShareTransactionTabs from "../../components/ShareTransactionTabs";
10
10
  import { Skeleton } from "@voplus/antd";
11
11
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
12
12
  import { observe } from "@voplus/morpho-ui";
13
- import { useShareTransaction } from "../../../../../../data/shareTransaction";
13
+ import { useShareTransaction } from "../../../../../../data/share-transaction";
14
14
  import { useTabItem } from "@voplus/morpho-data";
15
15
  const ShareTransactionRegisterDefaultView = () => {
16
16
  const match = useRouteMatch();
@@ -25,7 +25,7 @@ const ShareTransactionRegisterDefaultView = () => {
25
25
  useEffect(() => {
26
26
  tab.title = (shareTransaction === null || shareTransaction === void 0 ? void 0 : shareTransaction.name) || "";
27
27
  }, [shareTransaction === null || shareTransaction === void 0 ? void 0 : shareTransaction.name]);
28
- const AsideElement = React.createElement(ShareTransactionPropertiesView, { id: id, content: false });
28
+ const AsideElement = React.createElement(ShareTransactionTabs, { id: id });
29
29
  return observe(() => (React.createElement(AsideContent, { context: asideContext, className: "share-transaction-aside-content" },
30
30
  React.createElement("div", { className: "csp-default-view share-transaction-register-view" },
31
31
  shareTransaction.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,O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C,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAmB,aAAa,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAElF,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,mCAAmC,GAAG,GAAG,EAAE;IAChD,MAAM,KAAK,GAAG,aAAa,EAAkB,CAAC;IAC9C,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EA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,EAAE,GAAG,EAAE,CACZ,YAAY,CAAC,YAAY;gCACxB,CAAC,CAAC,YAAY,CAAC,UAAU,EAAE;gCAC3B,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,GAErD;wBACF,oBAAC,OAAO,OAAG,CACF,GAEV;gBACF,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,gBAAgB,CAAC,WAAW,EACzC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,OAAO,EAAC,eAAe,GACtB,CACc,CACjB;YAIA,MAAM,IAAI,CACV,oBAAC,oBAAoB,IAAC,kBAAkB,EAAE,EAAE,EAAE,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,GAAI,CACrF,CAEI,CACQ,CACf,CAAC,CAAC;IACH,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mCAAmC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { NewShareCertificateFormProps } from "./index";
3
+ declare const NewShareCertificateFormDialog: {
4
+ (props: NewShareCertificateFormProps): JSX.Element;
5
+ defaultProps: {
6
+ type: string;
7
+ };
8
+ };
9
+ export default NewShareCertificateFormDialog;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { Modal } from "@voplus/antd";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import NewShareCertificateForm from "./index";
5
+ const NewShareCertificateFormDialog = (props) => {
6
+ return observe(() => (React.createElement(Modal, { title: "New ShareCertificate Form Dialog", visible: true, closable: false, footer: false, onCancel: props.onCancel },
7
+ React.createElement(NewShareCertificateForm, { ...props }))));
8
+ };
9
+ NewShareCertificateFormDialog.defaultProps = {
10
+ type: "mini",
11
+ };
12
+ export default NewShareCertificateFormDialog;
13
+ //# sourceMappingURL=NewShareCertificateFormDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewShareCertificateFormDialog.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,uBAAyD,MAAM,SAAS,CAAC;AAEhF,MAAM,6BAA6B,GAAG,CAAC,KAAmC,EAAE,EAAE;IAC5E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACnB,oBAAC,KAAK,IACJ,KAAK,EAAC,kCAAkC,EACxC,OAAO,QACP,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,uBAAuB,OAAK,KAAK,GAAI,CAChC,CACT,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,6BAA6B,CAAC,YAAY,GAAG;IAC3C,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import "./index.less";
3
+ export declare type NewShareCertificateFormProps = {
4
+ parentId?: string;
5
+ type?: "full" | "mini";
6
+ className?: string;
7
+ showView?: boolean;
8
+ onSave?: (params?: any) => void;
9
+ onCancel?: () => void;
10
+ };
11
+ declare const NewShareCertificateForm: {
12
+ (props: NewShareCertificateFormProps): JSX.Element;
13
+ defaultProps: {
14
+ type: string;
15
+ };
16
+ };
17
+ export default NewShareCertificateForm;
@@ -0,0 +1,56 @@
1
+ import React, { useState } from "react";
2
+ import { Form, Row, Space, Button } from "@voplus/antd";
3
+ import { State } from "./state";
4
+ import { observe } from "@voplus/morpho-ui";
5
+ import { runInAction } from "mobx";
6
+ import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
7
+ import { useShareCertificateStore } from "../../../../../data/share-certificate";
8
+ import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
9
+ import ShareCertificatePropertiesView from "../ShareCertificatePropertiesView";
10
+ import classnames from "classnames";
11
+ import "./index.less";
12
+ const NewShareCertificateForm = (props) => {
13
+ const store = useShareCertificateStore();
14
+ const asideContext = useAsideContentContext();
15
+ const [state] = useState(new State());
16
+ const content = observe(() => (React.createElement("div", { className: classnames("new-share-certificate-form", { "sub-share-certificate-simply-form": props.type === "mini" }, props.className) },
17
+ React.createElement(Form, { layout: "vertical" }, props.type === "mini" && (React.createElement(Row, { className: "share-certificate-form-btn", justify: "end" },
18
+ React.createElement(Space, null,
19
+ React.createElement(Button, { onClick: onCancel }, "Cancel"),
20
+ React.createElement(Button, { type: "primary", onClick: onSubmit }, "Submit"))))))));
21
+ return observe(() => (React.createElement(React.Fragment, null, props.type === "full" ? (React.createElement(AddFormView, { title: "Add ShareCertificate", loading: !!state.loading, onCancel: onCancel, onSubmit: onSubmit }, content)) : (content))));
22
+ async function onSubmit() {
23
+ var _a;
24
+ runInAction(() => (state.loading = true));
25
+ let res;
26
+ res = await store.create({
27
+ data: {
28
+ ...state.params,
29
+ ParentId: props === null || props === void 0 ? void 0 : props.parentId,
30
+ },
31
+ error: "message",
32
+ });
33
+ (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, state.params);
34
+ runInAction(() => {
35
+ state.loading = false;
36
+ state.params = state.Params;
37
+ });
38
+ if (props.showView)
39
+ return asideContext.openAside(React.createElement(ShareCertificatePropertiesView, { id: res.id }), {
40
+ span: 12,
41
+ });
42
+ }
43
+ // cancel add shareCertificate
44
+ function onCancel() {
45
+ state.params = state.Params;
46
+ if (props.showView)
47
+ return asideContext.closeAside();
48
+ if (props.onCancel)
49
+ props.onCancel();
50
+ }
51
+ };
52
+ NewShareCertificateForm.defaultProps = {
53
+ type: "full",
54
+ };
55
+ export default NewShareCertificateForm;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAW,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,8BAA8B,MAAM,mCAAmC,CAAC;AAC/E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAWtB,MAAM,uBAAuB,GAAG,CAAC,KAAmC,EAAE,EAAE;IACvE,MAAM,KAAK,GAAG,wBAAwB,EAAE,CAAC;IACzC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC7B,6BACC,SAAS,EAAE,UAAU,CACpB,4BAA4B,EAC5B,EAAE,mCAAmC,EAAE,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,EAC9D,KAAK,CAAC,SAAS,CACf;QAGD,oBAAC,IAAI,IAAC,MAAM,EAAC,UAAU,IACrB,KAAK,CAAC,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O,YAAa,CAAC,SAAS,CAAC,oBAAC,8BAA8B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC9E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;IACL,CAAC;IAED,8BAA8B;IAC9B,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,41 @@
1
+ @import "~@voplus/antd/es/style/themes/default.less";
2
+ @import "~@voplus/morpho-theme/styles/index.less";
3
+
4
+ :global {
5
+ .new-share-certificate-form {
6
+ &.sub-share-certificate-more-form {
7
+ padding: 0 20px;
8
+
9
+ .ant-form-item {
10
+ margin-bottom: 15px;
11
+ }
12
+ }
13
+
14
+ &.sub-share-certificate-simply-form {
15
+ flex: none;
16
+ padding-bottom: 10px;
17
+ // border-top: #f2f2f2 solid 1px;
18
+
19
+ .ant-form-item {
20
+ margin-bottom: 0;
21
+ }
22
+ }
23
+
24
+ .edit-type {
25
+ width: 100%;
26
+ height: 32px;
27
+ line-height: 32px;
28
+ padding: 0 11px;
29
+ border-radius: @border-radius;
30
+ border: 1px solid #d9d9d9;
31
+
32
+ &:hover {
33
+ border-color: #40a9ff;
34
+ }
35
+ }
36
+
37
+ .share-certificate-form-btn{
38
+ margin-top: 10px;
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,10 @@
1
+ export declare class State {
2
+ constructor();
3
+ Params: {
4
+ Name: string;
5
+ };
6
+ params: {
7
+ Name: string;
8
+ };
9
+ loading: boolean;
10
+ }
@@ -0,0 +1,34 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable } from "mobx";
3
+ export class State {
4
+ constructor() {
5
+ Object.defineProperty(this, "Params", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: {
10
+ Name: "ShareCertificate",
11
+ }
12
+ });
13
+ Object.defineProperty(this, "params", {
14
+ enumerable: true,
15
+ configurable: true,
16
+ writable: true,
17
+ value: this.Params
18
+ });
19
+ Object.defineProperty(this, "loading", {
20
+ enumerable: true,
21
+ configurable: true,
22
+ writable: true,
23
+ value: false
24
+ });
25
+ makeObservable(this);
26
+ }
27
+ }
28
+ __decorate([
29
+ observable
30
+ ], State.prototype, "params", void 0);
31
+ __decorate([
32
+ observable
33
+ ], State.prototype, "loading", void 0);
34
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAIA;;;;mBAAgB;gBACf,IAAI,EAAE,kBAAkB;aACxB;WAAC;QAEU;;;;mBAAgB,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAiB,KAAK;WAAC;QARlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAQD;AAFY;IAAX,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAAwB"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ShareCertificate: () => JSX.Element;
3
+ export default ShareCertificate;
@@ -0,0 +1,46 @@
1
+ import React from "react";
2
+ import { observe, InlineEdit } from "@voplus/morpho-ui";
3
+ import styles from "./index.less";
4
+ const ShareCertificate = () => {
5
+ return observe(() => (React.createElement("div", { className: styles["share-certificate-print"] },
6
+ React.createElement("img", { className: "share-certificate-img", src: "/img/share-certificate/background-image.jpg", alt: "" }),
7
+ React.createElement("div", { className: "share-certificate-content" },
8
+ React.createElement("div", { className: "share-certificate-info" },
9
+ React.createElement("div", { className: "share-certificate-header" },
10
+ React.createElement("div", { className: "share-certificate-no" },
11
+ React.createElement(InlineEdit, { defaultValue: "", content: (v) => React.createElement("span", null, "NO: 1"), onSave: (value) => console.log("NO: 1") })),
12
+ React.createElement("div", { className: "share-certificate-title" }, "SHARE CERTIFICATE"),
13
+ React.createElement("div", { className: "share-certificate-no" },
14
+ React.createElement(InlineEdit, { defaultValue: "", content: (v) => React.createElement("span", null, "NO: 1"), onSave: (value) => console.log("NO: 1") }))),
15
+ React.createElement("div", { className: "share-certificate-body" },
16
+ React.createElement("div", { className: "share-certificate-company" },
17
+ React.createElement(InlineEdit, { defaultValue: "", content: (v) => React.createElement("span", null, "VOPLUS CONSULTING PTE. LTD."), onSave: (value) => console.log("VOPLUS CONSULTING PTE. LTD.") })),
18
+ React.createElement("div", null,
19
+ React.createElement("div", { className: "share-certificate-explain" }, "(the \u201CCompany\u201D) Incorporated in the Republic of Singapore under The Companies Act, (Cap. 50). Company No:"),
20
+ React.createElement("div", { className: "share-certificate-number" },
21
+ React.createElement(InlineEdit, { defaultValue: "", content: (v) => React.createElement("span", null, "201303141Z"), onSave: (value) => console.log("201303141Z") }))),
22
+ React.createElement("div", { className: "share-certificate-art-font" }, "THIS IS TO CERTIFY THAT"),
23
+ React.createElement("div", { className: "share-certificate-name" },
24
+ React.createElement(InlineEdit, { defaultValue: "", content: (v) => React.createElement("span", null, "KWOK YU"), onSave: (value) => console.log("KWOK YU") })),
25
+ React.createElement("div", { className: "share-certificate-art-font" },
26
+ "IS THE OWNER OF ",
27
+ React.createElement("span", null, "*1375*"),
28
+ " ORDINARY SHARES OF"),
29
+ React.createElement("div", { className: "share-certificate-art-font" }, "THE COMPANY"),
30
+ React.createElement("div", { className: "share-certificate-date-info" },
31
+ React.createElement("div", { className: "share-certificate-date" },
32
+ "Given under the common seal of the Company this ",
33
+ React.createElement("span", null, "20"),
34
+ " day of",
35
+ React.createElement("span", null, "Oct"),
36
+ " in the year ",
37
+ React.createElement("span", null, "2022")))),
38
+ React.createElement("div", { className: "share-certificate-footer" },
39
+ React.createElement("div", { className: "share-certificate-footer-boder" },
40
+ React.createElement("span", null, "Director")),
41
+ React.createElement("div", { className: "share-certificate-footer-boder-void" }),
42
+ React.createElement("div", { className: "share-certificate-footer-boder" },
43
+ React.createElement("span", null, "Director/Secretary"))))))));
44
+ };
45
+ export default ShareCertificate;
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC7B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,yBAAyB,CAAC;QAChD,6BACC,SAAS,EAAC,uBAAuB,EACjC,GAAG,EAAC,6CAA6C,EACjD,GAAG,EAAC,EAAE,GACL;QACF,6BAAK,SAAS,EAAC,2BAA2B;YACzC,6BAAK,SAAS,EAAC,wBAAwB;gBACtC,6BAAK,SAAS,EAAC,0BAA0B;oBACxC,6BAAK,SAAS,EAAC,sBAAsB;wBACpC,oBAAC,UAAU,IACV,YAAY,EAAE,EAAE,EAChB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkB,EAClC,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,GAC3C,CACG;oBACN,6BAAK,SAAS,EAAC,yBAAyB,wBAAwB;oBAChE,6BAAK,SAAS,EAAC,sBAAsB;wBACpC,oB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iB,CACzC,CACD,CACD;gBACN,6BAAK,SAAS,EAAC,0BAA0B;oBACxC,6BAAK,SAAS,EAAC,gCAAgC;wBAC9C,6CAAqB,CAChB;oBACN,6BAAK,SAAS,EAAC,qCAAqC,GAAO;oBAC3D,6BAAK,SAAS,EAAC,gCAAgC;wBAC9C,uDAA+B,CAC1B,CACD,CACD,CACD,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,164 @@
1
+ @media print {
2
+ @page {
3
+ margin: 0;
4
+ /* size: A4 landscape; size: landscape横向,size: portrait;纵向,如果不设置,则页面有横向和纵向的选择框 */
5
+ size: A4 landscape;
6
+ }
7
+
8
+ html {
9
+ zoom: 56%;
10
+ }
11
+ }
12
+
13
+ .share-certificate-print {
14
+ height: 100%;
15
+ width: 100%;
16
+ min-width: 1310px;
17
+ min-height: 920px;
18
+ position: relative;
19
+
20
+ :global {
21
+ .share-certificate-img {
22
+ position: absolute;
23
+ z-index: -1;
24
+ height: 900px;
25
+ top: 0;
26
+ bottom: 0;
27
+ left: 0;
28
+ right: 0;
29
+ margin: auto;
30
+ }
31
+
32
+ .share-certificate-content {
33
+ height: 100%;
34
+ width: 100%;
35
+ display: flex;
36
+ justify-content: center;
37
+ align-items: center;
38
+
39
+ // background-image: url("/public/img//share-certificate/background-image.jpg");
40
+ // background-position: center;
41
+ // background-repeat: no-repeat;
42
+ // background-size: contain;
43
+
44
+ .share-certificate-info {
45
+ height: 650px;
46
+ display: flex;
47
+ flex-direction: column;
48
+ justify-content: space-between;
49
+ align-items: center;
50
+
51
+ .share-certificate-header {
52
+ width: 1060px;
53
+ display: flex;
54
+ justify-content: space-between;
55
+
56
+ .share-certificate-no {
57
+ width: 128px;
58
+ height: 52px;
59
+ text-align: center;
60
+ font-weight: bold;
61
+ font-size: 11px;
62
+ border: 0.5px solid purple;
63
+ }
64
+
65
+ .share-certificate-title {
66
+ font-family: Arial, Helvetica, sans-serif;
67
+ font-size: 48px;
68
+ font-weight: 900;
69
+ text-decoration: underline;
70
+ }
71
+ }
72
+
73
+ .share-certificate-body {
74
+ display: flex;
75
+ height: 500px;
76
+ padding: 50px 0 20px 0;
77
+ flex-direction: column;
78
+ justify-content: space-between;
79
+ align-items: center;
80
+
81
+ .share-certificate-company {
82
+ font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
83
+ font-weight: bold;
84
+ font-size: 20px;
85
+ }
86
+
87
+ .share-certificate-explain {
88
+ font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
89
+ font-weight: bold;
90
+ font-size: 16px;
91
+ }
92
+
93
+ .share-certificate-number {
94
+ font-family: "Franklin Gothic", Arial, sans-serif;
95
+ font-weight: 800;
96
+ text-align: center;
97
+ }
98
+
99
+ .share-certificate-name {
100
+ font-family: "Franklin Gothic", Arial, sans-serif;
101
+ font-weight: 800;
102
+ text-decoration: underline;
103
+ }
104
+
105
+ .share-certificate-date-info {
106
+ width: 691.34px;
107
+
108
+ .share-certificate-date {
109
+ font-family: "Lucida Calligraphy", cursive, serif, sans-serif;
110
+ font-size: 16px;
111
+
112
+ & > span {
113
+ font-family: "Franklin Gothic", Arial, sans-serif;
114
+ font-weight: bold;
115
+ font-size: 14px;
116
+ text-decoration: underline;
117
+ padding: 0 5px;
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ .share-certificate-footer {
124
+ display: flex;
125
+ justify-content: center;
126
+ align-items: center;
127
+
128
+ .share-certificate-footer-boder {
129
+ border: 1px dashed #ccc;
130
+ width: 380px;
131
+ height: 200px;
132
+ text-align: center;
133
+
134
+ & > span {
135
+ // font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
136
+ font-weight: 500;
137
+ border-top: 1px solid #000;
138
+ display: inline-block;
139
+ width: 140px;
140
+ margin-top: 155px;
141
+ }
142
+ }
143
+
144
+ .share-certificate-footer-boder-void {
145
+ border-top: 1px dashed #ccc;
146
+ border-bottom: 1px dashed #ccc;
147
+ width: 300px;
148
+ height: 200px;
149
+ }
150
+ }
151
+
152
+ .share-certificate-art-font {
153
+ font-family: "Lucida Calligraphy", cursive, serif, sans-serif;
154
+ font-size: 16px;
155
+
156
+ & > span {
157
+ font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
158
+ font-size: 14px;
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare const ShareCertificateItem: (props: {
3
+ id: string;
4
+ }) => JSX.Element;
5
+ export default ShareCertificateItem;