@voplus/morpho-csp 7.0.5 → 7.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/CorporateMentionList/index.less +2 -2
- package/es/modules/corporate/clda/components/CLDAListView/index.less +2 -2
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +6 -16
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +7 -17
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js +4 -22
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/components/Card/index.less +4 -4
- package/es/modules/self-registration/controls/Section/index.less +5 -5
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js +6 -17
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.less +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.less +2 -2
- package/es/style/common.less +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
import React, { useEffect, useState
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { useTabItem } from "@voplus/morpho-data";
|
|
3
3
|
import { useParams } from "react-router";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
|
-
import { Skeleton
|
|
5
|
+
import { Skeleton } from "antd";
|
|
6
6
|
import { useShareTransaction } from "../../../../../../data/share-transaction";
|
|
7
|
+
import DocumentPageHeadDashboard from "@voplus/morpho-document/es/components/DocumentPageHeadDashboard";
|
|
7
8
|
import { ReloadState, ReloadContext, } from "@voplus/morpho-document-core/es/data/context/ReloadContext";
|
|
8
|
-
import { faMoneyBillTransferSolid,
|
|
9
|
-
import {
|
|
10
|
-
import { Publish } from "@voplus/morpho-document/es/controls/DocumentMenu/items";
|
|
9
|
+
import { faMoneyBillTransferSolid, FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
10
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
11
11
|
import ShareTransactionProperties from "../../components/ShareTransactionProperties";
|
|
12
12
|
import ShareTransactionTabs from "../../components/ShareTransactionTabs";
|
|
13
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
14
13
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
15
|
-
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
16
|
-
import SubPasteDropdown from "@voplus/morpho-document/es/controls/DocumentMenu/SubPasteDropdown";
|
|
17
14
|
import styles from "./index.less";
|
|
18
15
|
/** The ShareTransaction Page component with router parameters support. */
|
|
19
16
|
const ShareTransactionDefaultView = () => {
|
|
20
17
|
const { id } = useParams();
|
|
21
18
|
const tab = useTabItem();
|
|
22
|
-
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
23
19
|
const [context] = useState(() => new ReloadState());
|
|
24
|
-
const [packUp, setPackUp] = useState(false);
|
|
25
20
|
const handleError = useHandleError();
|
|
26
21
|
const shareTransaction = useShareTransaction(id, {
|
|
27
22
|
reload: true,
|
|
@@ -32,12 +27,7 @@ const ShareTransactionDefaultView = () => {
|
|
|
32
27
|
tab.title = (shareTransaction === null || shareTransaction === void 0 ? void 0 : shareTransaction.name) || "ShareTransaction";
|
|
33
28
|
}, [id]);
|
|
34
29
|
return observe(() => (React.createElement(ReloadContext.Provider, { value: context },
|
|
35
|
-
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"], header: React.createElement(
|
|
36
|
-
React.createElement(Space, { className: "menu-buttons" },
|
|
37
|
-
React.createElement(SubPasteDropdown, null),
|
|
38
|
-
React.createElement(Publish, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
39
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }),
|
|
40
|
-
}, blankMenu: packUp ? [] : ["Publish", "Paste"] }) }), properties: React.createElement(ShareTransactionProperties, { id: id }) },
|
|
30
|
+
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"], header: React.createElement(DocumentPageHeadDashboard, { id: id, avatarIcon: React.createElement(FAIcon, { icon: faMoneyBillTransferSolid }), description: "Ensure compliance with a detailed record of all share movements." }), properties: React.createElement(ShareTransactionProperties, { id: id }) },
|
|
41
31
|
React.createElement(Skeleton, { loading: !shareTransaction.loaded },
|
|
42
32
|
React.createElement(ShareTransactionTabs, { id: id, type: "DefaultView" }))))));
|
|
43
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,yBAAyB,MAAM,iEAAiE,CAA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,IAAI,EAAE,wBAAwB,GAAI,EACtD,WAAW,EAAC,kEAAkE,GAC7E,EAEH,UAAU,EAAE,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAG,GAAI;YAEnD,oBAAC,QAAQ,IAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,MAAM;gBAC1C,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAG,EAAE,IAAI,EAAC,aAAa,GAAG,CAC1C,CACQ,CACI,CACzB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import React, { useEffect, useState
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { useTabItem } from "@voplus/morpho-data";
|
|
3
3
|
import { useParams } from "react-router";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
|
-
import { Space } from "antd";
|
|
6
5
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
7
6
|
import { ReloadState, ReloadContext, } from "@voplus/morpho-document-core/es/data/context/ReloadContext";
|
|
8
7
|
import ShareCertificateProperties from "../../components/ShareCertificateProperties";
|
|
9
8
|
import ShareCertificateTabs from "../../components/ShareCertificateTabs";
|
|
10
|
-
import
|
|
11
|
-
import { faFileCertificateSolid,
|
|
12
|
-
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
9
|
+
import DocumentPageHeadDashboard from "@voplus/morpho-document/es/components/DocumentPageHeadDashboard";
|
|
10
|
+
import { faFileCertificateSolid, FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
13
11
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
14
|
-
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
15
|
-
import SubPasteDropdown from "@voplus/morpho-document/es/controls/DocumentMenu/SubPasteDropdown";
|
|
16
12
|
import { useHandleError } from "@voplus/morpho-document-core";
|
|
17
13
|
import { SendToShareholder, SendToSignee, Download, } from "../../controls/ShareCertificateMenu/items";
|
|
18
14
|
import styles from "./index.less";
|
|
@@ -20,8 +16,6 @@ import styles from "./index.less";
|
|
|
20
16
|
const ShareCertificateDefaultView = () => {
|
|
21
17
|
const { id } = useParams();
|
|
22
18
|
const tab = useTabItem();
|
|
23
|
-
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
24
|
-
const [packUp, setPackUp] = useState(false);
|
|
25
19
|
const handleError = useHandleError();
|
|
26
20
|
const shareCertificate = useShareCertificate(id, {
|
|
27
21
|
reload: true,
|
|
@@ -33,14 +27,10 @@ const ShareCertificateDefaultView = () => {
|
|
|
33
27
|
tab.title = (shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.name) || "ShareCertificate";
|
|
34
28
|
}, [shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.name]);
|
|
35
29
|
return observe(() => (React.createElement(ReloadContext.Provider, { value: context },
|
|
36
|
-
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"], header: React.createElement(
|
|
37
|
-
React.createElement(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
React.createElement(SendToShareholder, null),
|
|
41
|
-
React.createElement(Download, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
42
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }),
|
|
43
|
-
}, blankMenu: packUp ? [] : ["SendToSignee", "SendToShareholder", "Download", "Paste"] }) }), properties: React.createElement(ShareCertificateProperties, { id: id }) },
|
|
30
|
+
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"], header: React.createElement(DocumentPageHeadDashboard, { id: id, avatarIcon: React.createElement(FAIcon, { icon: faFileCertificateSolid }), description: "Keep track of all issued share certificates in one organized list.", actionButtons: React.createElement(React.Fragment, null,
|
|
31
|
+
context.view && React.createElement(SendToSignee, null),
|
|
32
|
+
React.createElement(SendToShareholder, null),
|
|
33
|
+
React.createElement(Download, null)), blankMenu: ["SendToSignee", "SendToShareholder", "Download"] }), properties: React.createElement(ShareCertificateProperties, { id: id }) },
|
|
44
34
|
React.createElement(ShareCertificateTabs, { id: id, details: true })))));
|
|
45
35
|
};
|
|
46
36
|
export default ShareCertificateDefaultView;
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EACN,WAAW,EACX,aAAa,GACb,MAAM,4DAA4D,CAAC;AACpE,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,yBAAyB,MAAM,iEAAiE,CAAC;AACxG,OAAO,EAAE,sBAAsB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACN,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACR,MA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,GAC3D,EAEH,UAAU,EAAE,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAG,GAAI;YAEnD,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAG,EAAE,OAAO,SAAG,CACtB,CACI,CACzB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,39 +1,21 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { useTabItem } from "@voplus/morpho-data";
|
|
3
3
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
4
4
|
import { useCLDAForm } from "../../../../../data/clda-form";
|
|
5
5
|
import CLDAFormProperties from "../../components/CLDAFormProperties";
|
|
6
|
-
import { useFrame } from "@voplus/morpho-document/es/components/ViewFrame/ViewFrameContext";
|
|
7
|
-
import { faEllipsisVerticalRegular, faWaveformRegular, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
8
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
9
|
-
import DocumentBreadCrumbsPath from "@voplus/morpho-document/es/components/DocumentBreadCrumbsPath";
|
|
10
|
-
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
11
|
-
import SubPasteDropdown from "@voplus/morpho-document/es/controls/DocumentMenu/SubPasteDropdown";
|
|
12
6
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import { Space } from "antd";
|
|
7
|
+
import DocumentPageHeadDashboard from "@voplus/morpho-document/es/components/DocumentPageHeadDashboard";
|
|
8
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
16
9
|
import Content from "./Content";
|
|
17
10
|
import styles from "./index.less";
|
|
18
11
|
const CLDAFormDefaultView = ({ id }) => {
|
|
19
|
-
const frame = useFrame();
|
|
20
|
-
if (frame)
|
|
21
|
-
frame.header = null;
|
|
22
|
-
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
23
|
-
const [packUp, setPackUp] = useState(false);
|
|
24
12
|
const handleError = useHandleError();
|
|
25
13
|
const form = useCLDAForm(id, { includes: "path", onError: handleError });
|
|
26
14
|
const tab = useTabItem();
|
|
27
15
|
useAutorunEffect(() => {
|
|
28
16
|
tab.title = (form && form.name) || "";
|
|
29
17
|
});
|
|
30
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-from-default-view"], header: React.createElement(
|
|
31
|
-
React.createElement(Space, { className: "menu-buttons" },
|
|
32
|
-
React.createElement(SubPasteDropdown, null),
|
|
33
|
-
React.createElement(Lock, null),
|
|
34
|
-
React.createElement(Unlock, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
35
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVerticalRegular }),
|
|
36
|
-
}, blankMenu: packUp ? [] : ["Lock", "Unlock", "Paste"] }) }), properties: React.createElement(CLDAFormProperties, { id: id }) },
|
|
18
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-from-default-view"], header: React.createElement(DocumentPageHeadDashboard, { id: id }), properties: React.createElement(CLDAFormProperties, { id: id }) },
|
|
37
19
|
React.createElement(Content, { id: id }))));
|
|
38
20
|
};
|
|
39
21
|
export default CLDAFormDefaultView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,gBAA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|
19
|
+
color: lighten(@purple-primary-color, 20%);
|
|
20
20
|
|
|
21
21
|
&:hover {
|
|
22
22
|
cursor: pointer;
|
|
23
23
|
border: 1px dashed grey;
|
|
24
|
-
color: @primary-color;
|
|
24
|
+
color: @purple-primary-color;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
position: absolute;
|
|
30
30
|
top: -50px;
|
|
31
31
|
right: 0px;
|
|
32
|
-
color: lighten(@primary-color, 20%);
|
|
32
|
+
color: lighten(@purple-primary-color, 20%);
|
|
33
33
|
|
|
34
34
|
&:hover {
|
|
35
35
|
cursor: pointer;
|
|
36
|
-
color: @primary-color;
|
|
36
|
+
color: @purple-primary-color;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
:global {
|
|
10
10
|
.section-title {
|
|
11
|
-
color: @primary-color;
|
|
11
|
+
color: @purple-primary-color;
|
|
12
12
|
font-weight: bold;
|
|
13
13
|
font-size: 20px;
|
|
14
14
|
line-height: 27px;
|
|
15
15
|
|
|
16
16
|
svg {
|
|
17
|
-
color: @primary-color;
|
|
17
|
+
color: @purple-primary-color;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
font-size: 3rem;
|
|
43
43
|
|
|
44
44
|
svg {
|
|
45
|
-
color: @primary-color;
|
|
45
|
+
color: @purple-primary-color;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
> .ant-card-head-title {
|
|
58
|
-
color: @primary-color;
|
|
58
|
+
color: @purple-primary-color;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&.selectable {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
&.selected {
|
|
72
|
-
border: 1px solid @primary-color !important; //darken(@section-box-background, 5%) !important;
|
|
72
|
+
border: 1px solid @purple-primary-color !important; //darken(@section-box-background, 5%) !important;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.delete-button {
|
|
@@ -1,39 +1,28 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { useTabItem } from "@voplus/morpho-data";
|
|
3
3
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
4
4
|
import IncorporationCLDAProperties from "../../components/IncorporationCLDAProperties";
|
|
5
|
+
import DocumentPageHeadDashboard from "@voplus/morpho-document/es/components/DocumentPageHeadDashboard";
|
|
5
6
|
import styles from "./index.less";
|
|
6
|
-
import { Space } from "antd";
|
|
7
7
|
import { useIncorporationCLDA } from "../../../../../data/incorporation-clda";
|
|
8
8
|
import CLDATabs from "../../components/CLDATabs";
|
|
9
9
|
import { DownloadLegal, GenerateLegalEnvelope, } from "../../../../corporate/clda/controls/CLDAMenu/items";
|
|
10
|
-
import {
|
|
11
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
12
|
-
import { DocumentMenuContext, DocumentMenuState, useHandleError, } from "@voplus/morpho-document-core";
|
|
13
|
-
import DocumentBreadCrumbsPath from "@voplus/morpho-document/es/components/DocumentBreadCrumbsPath";
|
|
14
|
-
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
15
|
-
import SubPasteDropdown from "@voplus/morpho-document/es/controls/DocumentMenu/SubPasteDropdown";
|
|
10
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
16
11
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
17
12
|
import { useParams } from "react-router";
|
|
18
13
|
/** The Incorporation Page component with router parameters support. */
|
|
19
14
|
const CLDADefaultView = () => {
|
|
20
15
|
const params = useParams();
|
|
21
16
|
const id = params.id;
|
|
22
|
-
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
23
|
-
const [packUp, setPackUp] = useState(false);
|
|
24
17
|
const handleError = useHandleError();
|
|
25
18
|
const incorporation = useIncorporationCLDA(id, { includes: "path", onError: handleError });
|
|
26
19
|
const tab = useTabItem();
|
|
27
20
|
useAutorunEffect(() => {
|
|
28
21
|
tab.title = (incorporation && incorporation.name) || "";
|
|
29
22
|
});
|
|
30
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-default-view"], header: React.createElement(
|
|
31
|
-
React.createElement(
|
|
32
|
-
|
|
33
|
-
React.createElement(GenerateLegalEnvelope, null),
|
|
34
|
-
React.createElement(DownloadLegal, null))), toolMenu: React.createElement(ToolBar, { id: id, moreProps: {
|
|
35
|
-
icon: React.createElement(FAIcon, { icon: faEllipsisVerticalRegular }),
|
|
36
|
-
}, blankMenu: packUp ? [] : ["DownloadLegal", "GenerateLegalEnvelope", "Paste"] }) }), properties: React.createElement(IncorporationCLDAProperties, { id: id }) },
|
|
23
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-default-view"], header: React.createElement(DocumentPageHeadDashboard, { id: id, actionButtons: React.createElement(React.Fragment, null,
|
|
24
|
+
React.createElement(GenerateLegalEnvelope, null),
|
|
25
|
+
React.createElement(DownloadLegal, null)), blankMenu: ["DownloadLegal", "GenerateLegalEnvelope"] }), properties: React.createElement(IncorporationCLDAProperties, { id: id }) },
|
|
37
26
|
React.createElement(CLDATabs, { id: id }))));
|
|
38
27
|
};
|
|
39
28
|
export default CLDADefaultView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.tsx"],"names":[],"mappings":"AA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P,aAAa,EACZ;gBACC,oBAAC,qBAAqB,OAAG;gBACzB,oBAAC,aAAa,OAAG,CACf,EAEJ,SAAS,EAAE,CAAC,eAAe,EAAE,uBAAuB,CAAC,GACpD,EAEH,UAAU,EAAE,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAG,GAAI;QAEpD,oBAAC,QAAQ,IAAC,EAAE,EAAE,EAAE,GAAI,CACD,CACpB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
margin-bottom: 15px;
|
|
19
19
|
|
|
20
20
|
.ProseMirror {
|
|
21
|
-
color: @primary-color;
|
|
21
|
+
color: @purple-primary-color;
|
|
22
22
|
font-weight: bold;
|
|
23
23
|
font-size: 16px;
|
|
24
24
|
line-height: 22px;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
margin-bottom: 15px;
|
|
51
51
|
|
|
52
52
|
.ProseMirror {
|
|
53
|
-
color: @primary-color;
|
|
53
|
+
color: @purple-primary-color;
|
|
54
54
|
font-weight: bold;
|
|
55
55
|
font-size: 16px;
|
|
56
56
|
line-height: 22px;
|
package/es/style/common.less
CHANGED