@voplus/morpho-csp 1.3.6 → 1.3.7
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/data/corporate/interfaces.d.ts +3 -0
- package/es/data/corporate/types.d.ts +3 -0
- package/es/data/share-certificate/ShareCertificateStore.js +1 -1
- package/es/data/share-certificate/ShareCertificateStore.js.map +1 -1
- package/es/data/share-certificate/interfaces.d.ts +2 -0
- package/es/data/share-certificate/types.d.ts +2 -0
- package/es/modules/corporate/company/components/CompanyDetailsView/index.js +11 -46
- package/es/modules/corporate/company/components/CompanyDetailsView/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/Properties.d.ts +7 -0
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js +68 -0
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -0
- package/es/modules/corporate/company/components/CompanyProperties/index.d.ts +9 -3
- package/es/modules/corporate/company/components/CompanyProperties/index.js +18 -86
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js +1 -1
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.d.ts +7 -0
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js +25 -0
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js +6 -3
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/index.less +6 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.d.ts +7 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js +34 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.less +10 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.d.ts +0 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +21 -42
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +30 -70
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.d.ts +0 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +3 -3
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +26 -20
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +14 -5
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +24 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +3 -3
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +6 -3
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +4 -3
- package/es/obsolete/OfficerRegisterDefaultView/index.js +1 -1
- package/es/obsolete/OfficerRegisterDefaultView/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,WAAW,MAAM,kEAAkE,CAAC;AAC3F,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,+BAA+B,GAAG,CAAC,KAIxC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAEnE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,IACf,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,OAAO,EAAE,CAAC,MAAM,CAAC,EACjB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,oBAAC,WAAW,IAAC,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,SAAG,EACrE,MAAM,EACL,oBAAC,KAAK,CAAC,QAAQ;YACb,MAAM,IAAI,CACV,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,mBAAmB,EAAE,KAAK,EAC1B,YAAY,EAAE,KAAK,EACnB,kBAAkB,EAAE,KAAK,EACzB,KAAK,EAAE,EAAE,OAAO,EAAE,kBAAkB,EAAE,GACrC,CACF;YACD,6BAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,CAAC;gBACxC,6BAAK,SAAS,EAAC,WAAW;oBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;wBACd,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;wBAC5B,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,GAAI,CACrC,CACL,CACD,CACU;QAGlB,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,GAAI,CACrB,CAClB,CAAC,CAAC;IAEH,kBAAkB;IAClB,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,+BAA+B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { useParams } from "react-router";
|
|
3
|
-
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
|
3
|
+
import { useLayout, useTabItem, useApplicationContext } from "@voplus/morpho-data";
|
|
4
4
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
5
5
|
import { Button, Space } from "@voplus/antd";
|
|
6
6
|
import { Scrollbars } from "react-custom-scrollbars";
|
|
@@ -15,6 +15,7 @@ const ShareCertificateClientView = () => {
|
|
|
15
15
|
const layout = useLayout();
|
|
16
16
|
const tab = useTabItem();
|
|
17
17
|
const shareCertificate = useShareCertificate(id);
|
|
18
|
+
const { user } = useApplicationContext();
|
|
18
19
|
const [asideContext] = useState(AsideContent.createContext());
|
|
19
20
|
useAutorunEffect(() => (tab.title = shareCertificate.name || "Share Certificate"));
|
|
20
21
|
useEffect(() => {
|
|
@@ -24,7 +25,8 @@ const ShareCertificateClientView = () => {
|
|
|
24
25
|
return observe(() => (React.createElement(AsideContent, { context: asideContext }, !layout.ui.mobile ? (React.createElement("div", { className: styles["share-certificate-client-view"] },
|
|
25
26
|
React.createElement("div", { className: "share-certificate-client-header" },
|
|
26
27
|
React.createElement("div", { className: "text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate" }, shareCertificate.name),
|
|
27
|
-
React.createElement(Button,
|
|
28
|
+
React.createElement(Button, { onClick: () => window.location.assign(window.location.origin +
|
|
29
|
+
`/api/csp/shares/certificates/${id}/pdf?access_token=${encodeURIComponent(user.info.accessToken)}`) }, "Download")),
|
|
28
30
|
React.createElement("div", { className: "share-certificate-client-body" },
|
|
29
31
|
React.createElement(Scrollbars, { autoHide: true },
|
|
30
32
|
React.createElement("div", { className: "share-certificate-tep" },
|
|
@@ -34,7 +36,8 @@ const ShareCertificateClientView = () => {
|
|
|
34
36
|
React.createElement("div", { className: "share-certificate-client-header" },
|
|
35
37
|
React.createElement("div", { className: "text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate" }, shareCertificate.name),
|
|
36
38
|
React.createElement(Space, null,
|
|
37
|
-
React.createElement(Button, { size: "small"
|
|
39
|
+
React.createElement(Button, { size: "small", onClick: () => window.location.assign(window.location.origin +
|
|
40
|
+
`/api/csp/shares/certificates/${id}/pdf?access_token=${encodeURIComponent(user.info.accessToken)}`) }, "Download"),
|
|
38
41
|
React.createElement(Button, { size: "small", onClick: toggleActivity }, "Open Comment"))),
|
|
39
42
|
React.createElement("div", { className: "share-certificate-client-body" },
|
|
40
43
|
React.createElement(ShareCertificate, { id: id })),
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,0BAA0B,GAAG,GAAG,EAAE;IACvC,MAAM,MAAM,GAAG,SAAS,EAAkB,CAAC;IAC3C,MAAM,EAAE,GAAG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|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
.share-certificate-client-view {
|
|
2
|
-
padding: 20px;
|
|
3
2
|
|
|
4
3
|
:global {
|
|
5
4
|
.share-certificate-client-header {
|
|
6
5
|
display: flex;
|
|
7
6
|
align-items: center;
|
|
8
7
|
justify-content: space-between;
|
|
8
|
+
padding: 10px 20px;
|
|
9
|
+
border-bottom: 1px solid #e6e6e6;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.share-certificate-client-body {
|
|
12
|
-
height: calc(100% -
|
|
13
|
+
height: calc(100% - 80px);
|
|
13
14
|
|
|
14
15
|
.share-certificate-tep {
|
|
15
16
|
width: 1310px;
|
|
@@ -50,4 +51,4 @@
|
|
|
50
51
|
margin-left: -117px;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
}
|
|
54
|
+
}
|
|
@@ -6,7 +6,7 @@ import "./index.less";
|
|
|
6
6
|
const OfficerRegisterDefaultView = (props) => {
|
|
7
7
|
const params = useParams();
|
|
8
8
|
const id = props.id || params.id;
|
|
9
|
-
return observe(() => (React.createElement(ShareTransactionList, { shareTransactionId: id, memberId: props.memberId, readonly: props.allowEdit === false,
|
|
9
|
+
return observe(() => (React.createElement(ShareTransactionList, { shareTransactionId: id, memberId: props.memberId, readonly: props.allowEdit === false, headerTitle: "ShareTransactions Register" })));
|
|
10
10
|
};
|
|
11
11
|
export default OfficerRegisterDefaultView;
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/OfficerRegisterDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,6FAA6F,CAAC;AAC/H,OAAO,cAAc,CAAC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