@voplus/morpho-csp 6.1.54 → 6.1.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/RiskMatchPropertiesView/index.js +5 -8
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js +6 -8
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/pages/RiskMatchDefaultView/index.js +4 -4
- package/es/modules/corporate/background-investigation/risk-match/pages/RiskMatchDefaultView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfilePropertiesView/index.js +5 -8
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfilePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.js +6 -8
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js +5 -7
- package/es/modules/corporate/background-investigation/risk-profile/pages/RiskProfileDefaultView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +5 -8
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js +5 -7
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js +15 -17
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporatePropertiesView/index.js +5 -8
- package/es/modules/corporate/company/components/CorporatePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +5 -8
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js +4 -4
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +5 -7
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +5 -8
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js +5 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js +4 -4
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +5 -8
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js +5 -7
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js +4 -4
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js +5 -8
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js +5 -7
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +4 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js +5 -8
- package/es/modules/corporate/filing-record/components/FilingRecordPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js +5 -7
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypePropertiesView/index.js +5 -8
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js +5 -7
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.js +4 -4
- package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.js +5 -8
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js +5 -7
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.js +5 -7
- package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingClientView/index.js +5 -7
- package/es/modules/corporate/filing-record/pages/FilingClientView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.js +5 -7
- package/es/modules/corporate/filing-record/pages/FilingDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js +5 -8
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +5 -8
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +34 -33
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.d.ts +0 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js +0 -9
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/state.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +4 -6
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.js +5 -8
- package/es/modules/corporate/share-class/components/ShareClassPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.js +6 -8
- package/es/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/share-class/pages/ShareClassDefaultView/index.js +5 -7
- package/es/modules/corporate/share-class/pages/ShareClassDefaultView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js +5 -8
- package/es/modules/corporate/virtual-address/components/VirtualAddressPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.js +6 -8
- package/es/modules/corporate/virtual-address/components/VirtualAddressQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js +5 -7
- package/es/modules/corporate/virtual-address/pages/VirtualAddressDefaultView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.js +5 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.js +6 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js +5 -7
- package/es/modules/corporate/virtual-address-mail/pages/VirtualAddressMailDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js +5 -8
- package/es/modules/self-registration/clda-form/components/CLDAFormPropertiesView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js +5 -7
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormClientView/index.js +5 -6
- package/es/modules/self-registration/clda-form/pages/CLDAFormClientView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js +5 -8
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js +5 -8
- package/es/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +29 -29
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState, useMemo
|
|
1
|
+
import React, { useState, useMemo } 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";
|
|
@@ -10,7 +10,7 @@ import { DownloadLegal, GenerateLegalEnvelope, } from "../../../../corporate/cld
|
|
|
10
10
|
import { faEllipsisVertical, faBookSection } from "@fortawesome/pro-solid-svg-icons";
|
|
11
11
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
12
12
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
13
|
-
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
|
13
|
+
import { DocumentMenuContext, DocumentMenuState, useHandleError, } from "@voplus/morpho-document-core";
|
|
14
14
|
import DocumentBreadCrumbsPath from "@voplus/morpho-document/es/components/DocumentBreadCrumbsPath";
|
|
15
15
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
16
16
|
import SubPasteDropdown from "@voplus/morpho-document/es/controls/DocumentMenu/SubPasteDropdown";
|
|
@@ -22,16 +22,13 @@ const CLDADefaultView = () => {
|
|
|
22
22
|
const id = params.id;
|
|
23
23
|
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
24
24
|
const [packUp, setPackUp] = useState(false);
|
|
25
|
-
const
|
|
26
|
-
const incorporation = useIncorporationCLDA(id, { includes: "path", onError:
|
|
25
|
+
const handleError = useHandleError();
|
|
26
|
+
const incorporation = useIncorporationCLDA(id, { includes: "path", onError: handleError });
|
|
27
27
|
const tab = useTabItem();
|
|
28
28
|
useAutorunEffect(() => {
|
|
29
29
|
tab.title = (incorporation && incorporation.name) || "";
|
|
30
30
|
});
|
|
31
|
-
|
|
32
|
-
setError(null);
|
|
33
|
-
}, [id]);
|
|
34
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-default-view"], error: error, header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBookSection }), title: incorporation.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(DocumentBreadCrumbsPath, { id: id, packUp: packUp }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
31
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["incorporation-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBookSection }), title: incorporation.name, upAble: true, onPackUp: (up) => setPackUp(up), description: React.createElement(DocumentBreadCrumbsPath, { id: id, packUp: packUp }), rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
35
32
|
React.createElement(Space, { className: "menu-buttons" },
|
|
36
33
|
React.createElement(SubPasteDropdown, null),
|
|
37
34
|
React.createElement(GenerateLegalEnvelope, null),
|
|
@@ -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,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/CLDADefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,2BAA2B,MAAM,8CAA8C,CAAC;AACvF,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AACjD,OAAO,EACN,aAAa,EACb,qBAAqB,GACrB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EACN,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CA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E,MAAM,GAAI,EAChE,UAAU,EACT,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;gBAC/C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;oBAC9B,oBAAC,gBAAgB,OAAG;oBACpB,oBAAC,qBAAqB,OAAG;oBACzB,oBAAC,aAAa,OAAG,CACV,CACsB,EAEhC,QAAQ,EACP,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;oBACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;iBAC1C,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,eAAe,EAAE,uBAAuB,EAAE,OAAO,CAAC,GAC3E,GAEF,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"}
|
package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js
CHANGED
|
@@ -11,10 +11,10 @@ import { LoadingOutlined } from "@ant-design/icons";
|
|
|
11
11
|
import { faHandshakeAngle } from "@fortawesome/free-solid-svg-icons";
|
|
12
12
|
import { observe } from "@voplus/morpho-ui";
|
|
13
13
|
import { runInAction } from "mobx";
|
|
14
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
14
15
|
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
|
|
15
16
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
16
17
|
import IncorporationClientViewCard from "./components/IncorporationClientViewCard";
|
|
17
|
-
import ErrorBoundaryView from "@voplus/morpho-ui/es/components/layout/ErrorBoundaryView";
|
|
18
18
|
import DetailsStep from "./components/SecondStep";
|
|
19
19
|
import StartStep from "./components/FirstStep";
|
|
20
20
|
import TourGuide from "./TourGuide";
|
|
@@ -25,13 +25,13 @@ const IncorporationCLDAClientView = () => {
|
|
|
25
25
|
const id = params.id;
|
|
26
26
|
const layout = useLayout();
|
|
27
27
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
28
|
-
const
|
|
28
|
+
const handleError = useHandleError();
|
|
29
29
|
const [asideContext] = useState(AsideContent.createContext());
|
|
30
30
|
const [state] = useState(new IncorporationCLDAClientState());
|
|
31
31
|
state.id = id;
|
|
32
32
|
const incorporationCLDA = useIncorporationCLDA(id, {
|
|
33
33
|
includes: "ids,client-texts",
|
|
34
|
-
onError:
|
|
34
|
+
onError: handleError,
|
|
35
35
|
});
|
|
36
36
|
const tab = useTabItem();
|
|
37
37
|
// useEffect(() => {
|
|
@@ -40,7 +40,6 @@ const IncorporationCLDAClientView = () => {
|
|
|
40
40
|
// });
|
|
41
41
|
// }, [state.currentStep]);
|
|
42
42
|
useEffect(() => {
|
|
43
|
-
setError(null);
|
|
44
43
|
runInAction(() => {
|
|
45
44
|
tab.title = "Incorporation";
|
|
46
45
|
if (!layout.ui.mobile)
|
|
@@ -64,31 +63,32 @@ const IncorporationCLDAClientView = () => {
|
|
|
64
63
|
content: React.createElement(DetailsStep, null),
|
|
65
64
|
},
|
|
66
65
|
];
|
|
67
|
-
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
|
68
|
-
React.createElement(
|
|
69
|
-
React.createElement(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
React.createElement("
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
React.createElement("div", { className: "header-
|
|
78
|
-
React.createElement(
|
|
79
|
-
|
|
80
|
-
React.createElement("div", { className: "
|
|
81
|
-
|
|
82
|
-
React.createElement("div", { className: "explanation" },
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
React.createElement(
|
|
66
|
+
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
|
67
|
+
React.createElement(IncorporationCLDAClientContext.Provider, { value: state },
|
|
68
|
+
React.createElement(AsideContent, { context: asideContext },
|
|
69
|
+
React.createElement(TourGuide, { id: id }),
|
|
70
|
+
React.createElement("div", { className: styles["incorporation-clda-client-view"] },
|
|
71
|
+
layout.ui.mobile ? (
|
|
72
|
+
// 手机端暂时使用之前的 header
|
|
73
|
+
React.createElement("header", { className: "clda-client-view-header-mobile" },
|
|
74
|
+
React.createElement("div", { "data-tut": "incorporation-assistant" }, "Incorporation Assistant"),
|
|
75
|
+
React.createElement(Button, { className: "toogle-btn", size: "small", onClick: toggleActivity, "data-tut": "activity-log" }, "Comment"))) : (React.createElement("header", { className: "clda-client-view-header" },
|
|
76
|
+
React.createElement("div", { className: "header-content" },
|
|
77
|
+
React.createElement("div", { className: "header-icon", "data-tut": "incorporation-assistant" },
|
|
78
|
+
React.createElement(FAIcon, { className: "incorporation-fa-icon", icon: faHandshakeAngle, color: "#fff" })),
|
|
79
|
+
React.createElement("div", { className: "header-info" },
|
|
80
|
+
React.createElement("div", { className: "title" }, "INCORPORATION ASSISTANCE"),
|
|
81
|
+
React.createElement("div", { className: "explanation-open" },
|
|
82
|
+
React.createElement("div", { className: "explanation" }, "Streamline Your Business Formation with Expert Guidance"),
|
|
83
|
+
!asideContext.asideContent && (React.createElement(Button, { className: "open-btn", onClick: toggleActivity, "data-tut": "activity-log" }, "View Comment"))))))),
|
|
84
|
+
React.createElement("div", { className: classnames("incorporation-clda-client-view-content", {
|
|
85
|
+
mobile: layout.ui.mobile,
|
|
86
|
+
}), style: {
|
|
87
|
+
justifyContent: asideContext.asideContent ? "flex-start" : "center",
|
|
88
|
+
marginLeft: asideContext.asideContent ? "50px" : "0",
|
|
89
|
+
} },
|
|
90
|
+
React.createElement("div", { className: "incorporation-clda-client-view-step" }, !(incorporationCLDA === null || incorporationCLDA === void 0 ? void 0 : incorporationCLDA.loaded) ? (React.createElement(IncorporationClientViewCard, { bodyStyle: { textAlign: "center", marginTop: "30px" } },
|
|
91
|
+
React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, { style: { fontSize: 24 }, spin: true }) }))) : (steps[state.step].content)))))))));
|
|
92
92
|
function toggleActivity() {
|
|
93
93
|
if (asideContext.asideContent) {
|
|
94
94
|
asideContext.closeAside();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EACN,8BAA8B,EAC9B,4BAA4B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OA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