@voplus/morpho-csp 5.0.55 → 5.0.56
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/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.d.ts +5 -12
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js +3 -21
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.less +3 -26
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js +12 -4
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +3 -3
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js +5 -20
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.d.ts +1 -2
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js +3 -2
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.less +7 -0
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.d.ts +5 -12
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js +3 -20
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.less +3 -25
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.d.ts +0 -2
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js +10 -2
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.less +7 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +4 -10
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js +6 -23
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.less +0 -15
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.less +0 -15
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +0 -13
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare const RiskMatchQuickView: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/** show close button or not. */
|
|
9
|
-
closeVisible?: boolean;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
closeVisible: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
3
|
+
declare const RiskMatchQuickView: (props: {
|
|
4
|
+
id: string;
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
}) => React.JSX.Element;
|
|
15
8
|
export default RiskMatchQuickView;
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
|
-
import
|
|
3
|
-
import FlexDialog from "@voplus/morpho-document/es/components/FlexDialog";
|
|
2
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import RiskMatchHeader from "../RiskMatchHeader";
|
|
6
5
|
import RiskMatchTabs from "../RiskMatchTabs";
|
|
7
|
-
import { faTimes } from "@fortawesome/pro-light-svg-icons";
|
|
8
6
|
import { observe } from "@voplus/morpho-ui";
|
|
9
7
|
const RiskMatchQuickView = (props) => {
|
|
10
8
|
const { id } = props;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
className: "quickView-modal-style",
|
|
14
|
-
width: "500px",
|
|
15
|
-
destroyOnClose: true,
|
|
16
|
-
closable: false,
|
|
17
|
-
footer: false,
|
|
18
|
-
open: props.visible,
|
|
19
|
-
onCancel: props.onCancel,
|
|
20
|
-
}, closeAside: props.onCancel },
|
|
21
|
-
React.createElement("div", { className: "quickView-content" },
|
|
22
|
-
props.closeVisible && (React.createElement("div", { className: "risk-match-close-icon" },
|
|
23
|
-
React.createElement(FAIcon, { icon: faTimes, onClick: props.onCancel }))),
|
|
24
|
-
React.createElement(RiskMatchHeader, { id: id }),
|
|
25
|
-
React.createElement(RiskMatchTabs, { id: id })))));
|
|
26
|
-
};
|
|
27
|
-
RiskMatchQuickView.defaultProps = {
|
|
28
|
-
closeVisible: true,
|
|
9
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "riskMatch-quick-view", header: React.createElement(RiskMatchHeader, { id: id }) },
|
|
10
|
+
React.createElement(RiskMatchTabs, { id: id }))));
|
|
29
11
|
};
|
|
30
12
|
export default RiskMatchQuickView;
|
|
31
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,kBAAkB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC9F,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,sBAAsB,EAChC,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;QAEnC,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,GAAI,CACR,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
:global {
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.quickView-content {
|
|
8
|
-
position: relative;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
|
|
12
|
-
.risk-match-close-icon {
|
|
13
|
-
position: absolute;
|
|
14
|
-
right: 18px;
|
|
15
|
-
top: 12px;
|
|
16
|
-
font-size: 22px;
|
|
17
|
-
text-align: right;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.risk-match-header {
|
|
22
|
-
padding: 10px 44px 10px 20px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ant-tabs {
|
|
26
|
-
height: calc(100% - 87px);
|
|
27
|
-
}
|
|
2
|
+
.riskMatch-quick-view {
|
|
3
|
+
.risk-match-header {
|
|
4
|
+
padding: 10px 44px 10px 20px;
|
|
28
5
|
}
|
|
29
6
|
}
|
|
30
7
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
|
+
import { faAlignLeft } from "@fortawesome/pro-light-svg-icons";
|
|
3
4
|
import RelatedWorkList from "@voplus/morpho-workspace/es/modules/work/components/RelatedWorkList";
|
|
4
5
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
5
6
|
import Properties from "../CLDAProperties";
|
|
6
|
-
import QuickViewDialog from "@voplus/morpho-document/es/
|
|
7
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
7
8
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
8
9
|
import { observe } from "@voplus/morpho-ui";
|
|
9
10
|
import styles from "./index.less";
|
|
@@ -14,14 +15,21 @@ const CLDAQuickViewDialog = (props) => {
|
|
|
14
15
|
const meta = useMetaStore();
|
|
15
16
|
const CLDA = useCLDA(id);
|
|
16
17
|
const [loaded, setLoaded] = useState(true);
|
|
17
|
-
return observe(() => (React.createElement(QuickViewDialog, {
|
|
18
|
-
loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px
|
|
18
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null,
|
|
19
|
+
loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px 44px 0 20px" } })),
|
|
19
20
|
React.createElement("div", { className: styles["header-bar-tool"] },
|
|
20
21
|
React.createElement("div", null),
|
|
21
22
|
React.createElement("div", { className: "tools-bar" },
|
|
22
23
|
React.createElement(ToolBar, { id: id },
|
|
23
24
|
React.createElement(Reload, { action: onReload }),
|
|
24
|
-
React.createElement(Open, { url: meta.getRoute(CLDA) })))))
|
|
25
|
+
React.createElement(Open, { url: meta.getRoute(CLDA) }))))), items: [
|
|
26
|
+
{
|
|
27
|
+
name: "properties",
|
|
28
|
+
icon: faAlignLeft,
|
|
29
|
+
title: "Display properties separately",
|
|
30
|
+
detail: React.createElement(Properties, { id: id }),
|
|
31
|
+
},
|
|
32
|
+
] }, loaded && React.createElement(RelatedWorkList, { id: id, title: "Related Works" }))));
|
|
25
33
|
/** reload data */
|
|
26
34
|
function onReload() {
|
|
27
35
|
setLoaded(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qEAAqE,CAAC;AAClG,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,IAAI,GAAG,YAAY,EAA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AAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
4
|
-
import QuickViewDialog from "@voplus/morpho-document/es/
|
|
4
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
5
5
|
import IdentifyMenu from "../../controls/IdentifyMenu";
|
|
6
6
|
import IdentityInformation from "../IdentityInformation";
|
|
7
7
|
import styles from "./index.less";
|
|
8
8
|
const IdentifyQuickViewDialog = (props) => {
|
|
9
9
|
const { identityId, identityName, allowEdit } = props;
|
|
10
|
-
return observe(() => (React.createElement(QuickViewDialog, { id: props.identityId, visible: props.visible,
|
|
10
|
+
return observe(() => (React.createElement(QuickViewDialog, { id: props.identityId, visible: props.visible, onCancel: props.onCancel, header: React.createElement("div", { className: styles["identify-quickView-dialog-header"] },
|
|
11
11
|
React.createElement("div", { className: "identify-quickView-title" }, `${identityName} Identity`),
|
|
12
12
|
React.createElement("div", { className: "tools-bar" },
|
|
13
13
|
React.createElement(ToolBar, { id: props.identityId, showMenu: false },
|
|
14
|
-
React.createElement(IdentifyMenu, { id: props.identityId, size: "middle" })))) },
|
|
14
|
+
React.createElement(IdentifyMenu, { id: props.identityId, size: "middle" })))), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
15
15
|
React.createElement("div", { className: styles["identify-quickView-dialog-content"] },
|
|
16
16
|
React.createElement(IdentityInformation, { id: identityId, allowEdit: allowEdit })))));
|
|
17
17
|
};
|
package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAAC,KAOhC,EAAE,EAAE;IACJ,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,IACf,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EACL,6BAAK,SAAS,EAAE,MAAM,CAAC,kCAAkC,CAAC;YACzD,6BAAK,SAAS,EAAC,0BAA0B,IAAE,GAAG,YAAY,WAAW,CAAO;YAC5E,6BAAK,SAAS,EAAC,WAAW;gBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK;oBAC7C,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAC,QAAQ,GAAG,CAC3C,CACL,CACD,EAEP,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,6BAAK,SAAS,EAAE,MAAM,CAAC,mCAAmC,CAAC;YAC1D,oBAAC,mBAAmB,IAAC,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAI,CACxD,CACW,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { Open
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
5
5
|
import { useShareTransaction } from "../../../../../../data/share-transaction";
|
|
6
|
-
import SubTaskList from "@voplus/morpho-workspace/es/modules/tasks/components/SubTaskList";
|
|
7
6
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
8
|
-
import QuickViewDialog from "@voplus/morpho-document/es/
|
|
7
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
9
8
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
10
9
|
import ShareTransactionProperties from "../ShareTransactionProperties";
|
|
11
|
-
import styles from "./index.less";
|
|
12
10
|
const ShareTransactionQuickViewDialog = (props) => {
|
|
13
11
|
const { id } = props;
|
|
14
12
|
const meta = useMetaStore();
|
|
15
13
|
const shareTransaction = useShareTransaction(id, { reload: false, includes: "tags" });
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px 20px 0 20px" } })),
|
|
19
|
-
React.createElement("div", { className: styles["header-bar-tool"] },
|
|
20
|
-
React.createElement("div", { className: "tools-bar" },
|
|
21
|
-
React.createElement(ToolBar, { id: id },
|
|
22
|
-
React.createElement(Reload, { action: onReload }),
|
|
23
|
-
React.createElement(Open, { url: meta.getRoute(shareTransaction) }))))) },
|
|
14
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, style: { paddingRight: "44px" }, tools: React.createElement(ToolBar, { id: id },
|
|
15
|
+
React.createElement(Open, { url: meta.getRoute(shareTransaction) })) }) },
|
|
24
16
|
React.createElement(ShareTransactionProperties, { id: id }))));
|
|
25
|
-
/** reload data */
|
|
26
|
-
function onReload() {
|
|
27
|
-
setLoaded(false);
|
|
28
|
-
setTimeout(() => {
|
|
29
|
-
setLoaded(true);
|
|
30
|
-
}, 100);
|
|
31
|
-
}
|
|
32
17
|
};
|
|
33
18
|
export default ShareTransactionQuickViewDialog;
|
|
34
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,MAAM,+BAA+B,GAAG,CAAC,KAIxC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;IAEtF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,MAAM,EACL,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,kBAAkB,EAAE,KAAK,EACzB,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAC/B,KAAK,EACJ,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;gBACd,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,GAAI,CACrC,GAEV;QAGH,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,GAAI,CACrB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import "./index.less";
|
|
2
3
|
declare const FilingQuickViewDialog: (props: {
|
|
3
4
|
id: string;
|
|
4
5
|
visible?: boolean;
|
|
5
6
|
onCancel?: () => void;
|
|
6
|
-
/** show close button or not. */
|
|
7
|
-
closeVisible?: boolean;
|
|
8
7
|
}) => React.JSX.Element;
|
|
9
8
|
export default FilingQuickViewDialog;
|
|
@@ -2,10 +2,11 @@ import React from "react";
|
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import FilingRecordHeader from "../FilingRecordHeader";
|
|
4
4
|
import FilingRecordProperties from "../FilingRecordProperties";
|
|
5
|
-
import
|
|
5
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
6
|
+
import "./index.less";
|
|
6
7
|
const FilingQuickViewDialog = (props) => {
|
|
7
8
|
const { id } = props;
|
|
8
|
-
return observe(() => (React.createElement(
|
|
9
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filing-quick-view", subButtons: [{ name: "Document" }, { name: "Activities" }], header: React.createElement(FilingRecordHeader, { id: id }) },
|
|
9
10
|
React.createElement(FilingRecordProperties, { id: id }))));
|
|
10
11
|
};
|
|
11
12
|
export default FilingQuickViewDialog;
|
package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,CAAC,KAA+D,EAAE,EAAE;IACjG,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,mBAAmB,EAC7B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,MAAM,EAAE,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI;QAEtC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CACjB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.d.ts
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare const FilingTypeQuickView: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/** show close button or not. */
|
|
9
|
-
closeVisible?: boolean;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
closeVisible: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
3
|
+
declare const FilingTypeQuickView: (props: {
|
|
4
|
+
id: string;
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
}) => React.JSX.Element;
|
|
15
8
|
export default FilingTypeQuickView;
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
3
2
|
import FilingTypeHead from "../FilingTypeHead";
|
|
4
3
|
import FilingTypeProperties from "../FilingTypeProperties";
|
|
5
|
-
import FlexDialog from "@voplus/morpho-document/es/components/FlexDialog";
|
|
6
4
|
import React from "react";
|
|
7
|
-
import
|
|
5
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
8
6
|
import { observe } from "@voplus/morpho-ui";
|
|
9
7
|
const FilingTypeQuickView = (props) => {
|
|
10
|
-
return observe(() => (React.createElement(
|
|
11
|
-
|
|
12
|
-
width: "500px",
|
|
13
|
-
destroyOnClose: true,
|
|
14
|
-
closable: false,
|
|
15
|
-
footer: false,
|
|
16
|
-
open: props.visible,
|
|
17
|
-
onCancel: props.onCancel,
|
|
18
|
-
}, closeAside: props.onCancel },
|
|
19
|
-
React.createElement("div", { className: "quickView-content" },
|
|
20
|
-
props.closeVisible && (React.createElement("div", { className: "filing-type-close-icon" },
|
|
21
|
-
React.createElement(FAIcon, { icon: faTimes, onClick: props.onCancel }))),
|
|
22
|
-
React.createElement(FilingTypeHead, { id: props.id }),
|
|
23
|
-
React.createElement(FilingTypeProperties, { id: props.id })))));
|
|
24
|
-
};
|
|
25
|
-
FilingTypeQuickView.defaultProps = {
|
|
26
|
-
closeVisible: true,
|
|
8
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingType-quick-view", header: React.createElement(FilingTypeHead, { id: props.id }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
9
|
+
React.createElement(FilingTypeProperties, { id: props.id }))));
|
|
27
10
|
};
|
|
28
11
|
export default FilingTypeQuickView;
|
|
29
12
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,EACxC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,oBAAC,oBAAoB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CACrB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.less
CHANGED
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
:global {
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.quickView-content {
|
|
8
|
-
position: relative;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
.filing-type-close-icon {
|
|
12
|
-
position: absolute;
|
|
13
|
-
right: 20px;
|
|
14
|
-
top: 14px;
|
|
15
|
-
font-size: 22px;
|
|
16
|
-
text-align: right;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.filing-type-header {
|
|
21
|
-
padding: 10px 44px 10px 20px;
|
|
22
|
-
|
|
23
|
-
.tool-bar {
|
|
24
|
-
min-width: 64px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
2
|
+
.filingType-quick-view {
|
|
3
|
+
.filing-type-header {
|
|
4
|
+
padding: 10px 44px 10px 20px;
|
|
27
5
|
}
|
|
28
6
|
}
|
|
29
7
|
}
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js
CHANGED
|
@@ -2,11 +2,19 @@ import React from "react";
|
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import FilingYearHeader from "../FilingYearHeader";
|
|
4
4
|
import FilingYearProperties from "../FilingYearProperties";
|
|
5
|
-
import
|
|
5
|
+
import { faAlignLeft } from "@fortawesome/pro-light-svg-icons";
|
|
6
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
6
7
|
import FilingTimeLine from "../../../components/FilingRecordTimeLine";
|
|
7
8
|
const FilingYearQuickViewDialog = (props) => {
|
|
8
9
|
const { id } = props;
|
|
9
|
-
return observe(() => (React.createElement(
|
|
10
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingYear-quick-view", header: React.createElement(FilingYearHeader, { id: id }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
11
|
+
{
|
|
12
|
+
name: "properties",
|
|
13
|
+
icon: faAlignLeft,
|
|
14
|
+
title: "Display properties separately",
|
|
15
|
+
detail: React.createElement(FilingYearProperties, { id: id }),
|
|
16
|
+
},
|
|
17
|
+
] },
|
|
10
18
|
React.createElement(FilingTimeLine, { filingYearId: id, style: { margin: "0 20px" } }))));
|
|
11
19
|
};
|
|
12
20
|
export default FilingYearQuickViewDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,MAAM,0CAA0C,CAAC;AAEtE,MAAM,yBAAyB,GAAG,CAAC,KAIlC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,EACpC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,+BAA+B;gBACtC,MAAM,EAAE,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAE,GAAI;aACxC;SACD;QAED,oBAAC,cAAc,IAAC,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAI,CAChD,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js
CHANGED
|
@@ -3,24 +3,18 @@ import { Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/button
|
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
5
5
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
6
|
-
import SubTaskList from "@voplus/morpho-workspace/es/modules/tasks/components/SubTaskList";
|
|
7
6
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
8
|
-
import QuickViewDialog from "@voplus/morpho-document/es/
|
|
7
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
9
8
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
10
9
|
import ShareCertificateProperties from "../ShareCertificateProperties";
|
|
11
|
-
import styles from "./index.less";
|
|
12
10
|
const ShareCertificateQuickViewDialog = (props) => {
|
|
13
11
|
const { id } = props;
|
|
14
12
|
const [loaded, setLoaded] = useState(true);
|
|
15
13
|
const meta = useMetaStore();
|
|
16
14
|
const shareCertificate = useShareCertificate(id, { reload: true });
|
|
17
|
-
return observe(() => (React.createElement(QuickViewDialog, {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
React.createElement("div", { className: "tools-bar" },
|
|
21
|
-
React.createElement(ToolBar, { id: id },
|
|
22
|
-
React.createElement(Reload, { action: onReload }),
|
|
23
|
-
React.createElement(Open, { url: meta.getRoute(shareCertificate) }))))) },
|
|
15
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null, loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, style: { paddingRight: "44px" }, tools: React.createElement(ToolBar, { id: id },
|
|
16
|
+
React.createElement(Reload, { action: onReload }),
|
|
17
|
+
React.createElement(Open, { url: meta.getRoute(shareCertificate) })) }))) },
|
|
24
18
|
React.createElement(ShareCertificateProperties, { id: id, onReloadMenu: onReload }))));
|
|
25
19
|
/** reload data */
|
|
26
20
|
function onReload() {
|
|
@@ -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,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,
|
|
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,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,OAAO,M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ACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1,36 +1,19 @@
|
|
|
1
|
-
import { Open
|
|
2
|
-
import React
|
|
1
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
4
4
|
import Properties from "../CLDAFormProperties";
|
|
5
|
-
import QuickViewDialog from "@voplus/morpho-document/es/
|
|
5
|
+
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
6
6
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
|
8
|
-
import styles from "./index.less";
|
|
9
8
|
import { useCLDAForm } from "../../../../../data/clda-form";
|
|
10
9
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
11
10
|
const CLDAFormQuickViewDialog = (props) => {
|
|
12
11
|
const { id } = props;
|
|
13
12
|
const meta = useMetaStore();
|
|
14
13
|
const incorporation = useCLDAForm(id, { reload: false, includes: "tags" });
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
// propertiesView={<Properties id={id} />}
|
|
19
|
-
onCancel: props.onCancel, header: React.createElement(React.Fragment, null,
|
|
20
|
-
loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px 20px 0 20px" } })),
|
|
21
|
-
React.createElement("div", { className: styles["header-bar-tool"] },
|
|
22
|
-
React.createElement("div", null),
|
|
23
|
-
React.createElement("div", { className: "tools-bar" },
|
|
24
|
-
React.createElement(ToolBar, { id: id },
|
|
25
|
-
React.createElement(Reload, { action: onReload }),
|
|
26
|
-
React.createElement(Open, { url: meta.getRoute(incorporation) }))))) }, loaded && React.createElement(Properties, { id: id }))));
|
|
27
|
-
/** reload data */
|
|
28
|
-
function onReload() {
|
|
29
|
-
setLoaded(false);
|
|
30
|
-
setTimeout(() => {
|
|
31
|
-
setLoaded(true);
|
|
32
|
-
}, 100);
|
|
33
|
-
}
|
|
14
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, style: { paddingRight: "44px" }, tools: React.createElement(ToolBar, { id: id },
|
|
15
|
+
React.createElement(Open, { url: meta.getRoute(incorporation) })) }) },
|
|
16
|
+
React.createElement(Properties, { id: id }))));
|
|
34
17
|
};
|
|
35
18
|
export default CLDAFormQuickViewDialog;
|
|
36
19
|
//# sourceMappingURL=index.js.map
|
package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,uBAA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