@voplus/morpho-csp 6.0.98 → 6.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.d.ts +4 -0
  2. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js +30 -0
  3. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.js.map +1 -0
  4. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.less +32 -0
  5. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.d.ts +7 -0
  6. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.js +10 -0
  7. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.js.map +1 -0
  8. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.less +17 -0
  9. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.d.ts +4 -0
  10. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js +51 -0
  11. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.js.map +1 -0
  12. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.less +69 -0
  13. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js +44 -23
  14. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.js.map +1 -1
  15. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +104 -38
  16. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const StartStep: () => React.JSX.Element;
4
+ export default StartStep;
@@ -0,0 +1,30 @@
1
+ import React from "react";
2
+ import { Button } from "antd";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import { useFIncorporationCLDAClientContext } from "../../IncorporationCLDAClientContext";
5
+ import { useIncorporationCLDA } from "../../../../../../../data/incorporation-clda";
6
+ import IncorporationClientViewCard from "../IncorporationClientViewCard";
7
+ import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
8
+ import "./index.less";
9
+ const StartStep = () => {
10
+ const context = useFIncorporationCLDAClientContext();
11
+ const incorporation = useIncorporationCLDA(context.id);
12
+ return observe(() => {
13
+ var _a, _b;
14
+ return (React.createElement(IncorporationClientViewCard, null,
15
+ React.createElement("div", { className: "introduction-details-first-page" },
16
+ ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.description) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.description })) : (React.createElement("div", { className: "introduction-details" },
17
+ React.createElement("p", { className: "title" }, "Welcome! Thank you for using our \u2018Incorporation Tool\u2019"),
18
+ React.createElement("p", null, "This tool will assist you to get started with the incorporation process with Voplus."),
19
+ React.createElement("br", null),
20
+ React.createElement("p", null, "You can fill the incorporation information, review quotation and upload documents on the next page"),
21
+ React.createElement("br", null),
22
+ React.createElement("p", null, "Let us get started."))),
23
+ React.createElement(Button, { className: "step-actions", type: "primary", loading: context.loading, onClick: start }, "Start"))));
24
+ });
25
+ function start() {
26
+ context.step = context.step + 1;
27
+ }
28
+ };
29
+ export default StartStep;
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/FirstStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OA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5
+ flex-direction: column;
6
+ justify-content: space-between;
7
+
8
+ .ProseMirror-container {
9
+ padding: 30px 28px 15px 25px;
10
+ }
11
+
12
+ .introduction-details {
13
+ padding: 30px 28px 15px 25px;
14
+ color: #5d5d5d;
15
+ font: normal normal 600 14px/19px Open Sans;
16
+
17
+ .title {
18
+ margin-bottom: 15px;
19
+ color: #217eb2;
20
+ font: normal normal bold 20px/27px Open Sans;
21
+ }
22
+ }
23
+
24
+ .step-actions {
25
+ width: 65px;
26
+ height: 30px;
27
+ margin-left: 25px;
28
+ margin-bottom: 25px;
29
+ font: normal normal bold 14px/19px Open Sans;
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const IncorporationClientViewCard: (props: {
4
+ children: React.ReactNode;
5
+ bodyStyle?: React.CSSProperties;
6
+ }) => React.JSX.Element;
7
+ export default IncorporationClientViewCard;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import "./index.less";
4
+ const IncorporationClientViewCard = (props) => {
5
+ return observe(() => (React.createElement("div", { className: "incorporation-client-view-card" },
6
+ React.createElement("div", { className: "trim-strip" }),
7
+ React.createElement("div", { className: "card-content", style: props.bodyStyle }, props.children))));
8
+ };
9
+ export default IncorporationClientViewCard;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/IncorporationClientViewCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,2BAA2B,GAAG,CAAC,KAGpC,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,gCAAgC;QAC9C,6BAAK,SAAS,EAAC,YAAY,GAAO;QAClC,6BAAK,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,CAAC,SAAS,IAClD,KAAK,CAAC,QAAQ,CACV,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,17 @@
1
+ :global {
2
+ .incorporation-client-view-card {
3
+ width: 100%;
4
+ background: #fff;
5
+ border-radius: 5px;
6
+
7
+ .trim-strip {
8
+ height: 13px;
9
+ border-radius: 5px 5px 0px 0px;
10
+ background: #217eb2 0% 0% no-repeat padding-box;
11
+ }
12
+
13
+ .card-content {
14
+ height: calc(100% - 13px);
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const DetailsStep: () => React.JSX.Element;
4
+ export default DetailsStep;
@@ -0,0 +1,51 @@
1
+ import React from "react";
2
+ import { Scrollbars } from "react-custom-scrollbars-2";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import { useFIncorporationCLDAClientContext } from "../../IncorporationCLDAClientContext";
5
+ import { useIncorporationCLDA } from "../../../../../../../data/incorporation-clda";
6
+ import { useLayout } from "@voplus/morpho-data";
7
+ import { Button } from "antd";
8
+ import IncorporationClientViewCard from "../IncorporationClientViewCard";
9
+ import SubmitterSectionItem from "@voplus/morpho-document/es/pages/VSubmit/components/SubmitSections/SubmitterSectionItem";
10
+ import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
11
+ import "./index.less";
12
+ const DetailsStep = () => {
13
+ const context = useFIncorporationCLDAClientContext();
14
+ const layout = useLayout();
15
+ const incorporation = useIncorporationCLDA(context.id);
16
+ return observe(() => {
17
+ var _a, _b, _c, _d, _e, _f, _g, _h;
18
+ return (React.createElement(Scrollbars, { autoHide: true },
19
+ React.createElement(IncorporationClientViewCard, null,
20
+ React.createElement("div", { className: "introduction-details-second-page" },
21
+ React.createElement("div", { className: "single-details" },
22
+ React.createElement("div", { className: "details-title" },
23
+ React.createElement("span", { className: "details-number" }, "1. "),
24
+ ((_a = incorporation.clientTexts) === null || _a === void 0 ? void 0 : _a.formTitle) ? (React.createElement(Viewer, { html: (_b = incorporation.clientTexts) === null || _b === void 0 ? void 0 : _b.formTitle })) : (React.createElement("span", null, "Incorporation Form Filing"))),
25
+ React.createElement("div", { className: "details-content" }, ((_c = incorporation.clientTexts) === null || _c === void 0 ? void 0 : _c.formDescription) ? (React.createElement(Viewer, { html: (_d = incorporation.clientTexts) === null || _d === void 0 ? void 0 : _d.formDescription })) : (React.createElement("div", null,
26
+ React.createElement("p", null, "This is an \u2018electronic incorporation form\u2019."),
27
+ React.createElement("p", null, "Please click on \u2018Open\u2019 button to fill up all the necessary information required about the Singapore Company to be registered.")))),
28
+ React.createElement(Button, { className: "step-actions", type: "primary", loading: context.loading, onClick: () => {
29
+ if (incorporation.formId)
30
+ onOpen(`/c/clda/form/${incorporation.formId}`);
31
+ } }, "Open")),
32
+ React.createElement("div", { className: "single-details" },
33
+ React.createElement("div", { className: "details-title" },
34
+ React.createElement("span", { className: "details-number" }, "2."),
35
+ ((_e = incorporation.clientTexts) === null || _e === void 0 ? void 0 : _e.quotationTitle) ? (React.createElement(Viewer, { html: (_f = incorporation.clientTexts) === null || _f === void 0 ? void 0 : _f.quotationTitle })) : (React.createElement("span", null, "Quotation Review & Payment"))),
36
+ React.createElement("div", { className: "details-content" }, ((_g = incorporation.clientTexts) === null || _g === void 0 ? void 0 : _g.quotationDescription) ? (React.createElement(Viewer, { html: (_h = incorporation.clientTexts) === null || _h === void 0 ? void 0 : _h.quotationDescription })) : (React.createElement("div", null,
37
+ React.createElement("p", null, "This is an \u2018electronic quotation\u2019 for your reference and kind confirmation."),
38
+ React.createElement("p", null, "Upon acceptance of the quotation and payment, an automatic invoice will be generated immediately and will be sent to your email, for reference."),
39
+ React.createElement("p", null, "Please click on \u2018Open\u2019 button to review the quotation.")))),
40
+ incorporation.quotationId ? (React.createElement(Button, { type: "primary", className: "step-actions", loading: context.loading, onClick: () => onOpen(`/c/quotations/${incorporation.quotationId}`) }, "Open")) : (React.createElement(Button, null, "No Data"))),
41
+ incorporation.uploadFolderId && (React.createElement("div", { className: "single-details-end" },
42
+ React.createElement("div", { className: "details-title" },
43
+ React.createElement("span", null, "3. Documents Uploading")),
44
+ React.createElement(SubmitterSectionItem, { id: incorporation.uploadFolderId, index: 0 })))))));
45
+ });
46
+ function onOpen(url) {
47
+ layout.history.push(url);
48
+ }
49
+ };
50
+ export default DetailsStep;
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/components/SecondStep/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,oBAAoB,MAAM,yFAAyF,CAAC;AAC3H,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,GAAG,GAAG,EAAE;IACxB,MAAM,OAAO,GAAG,kCAAkC,EAAE,CAAC;IAErD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,aAAa,GAAG,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEvD,OAAO,OAAO,CAAC,GAAG,EAAE;;QAA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N,6BAAK,SAAS,EAAC,iBAAiB,IAC9B,CAAA,MAAA,aAAa,CAAC,WAAW,0CAAE,oBAAoB,EAAC,CAAC,CAAC,CAClD,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAA,aAAa,CAAC,WAAW,0CAAE,oBAAoB,GAAI,CACjE,CAAC,CAAC,CAAC,CACH;4BACC,uHAAkF;4BAClF,iLAGI;4BACJ,kGAA6D,CACxD,CACN,CACI;wBACL,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAC5B,oBAAC,MAAM,IACN,IAAI,EAAC,SAAS,EACd,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,OAAO,CAAC,OAAO,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,iBAAiB,aAAa,CAAC,WAAW,EAAE,CAAC,WAG3D,CACT,CAAC,CAAC,CAAC,CACH,oBAAC,MAAM,kBAAiB,CACxB,CACI;oBAEL,aAAa,CAAC,cAAc,IAAI,CAChC,6BAAK,SAAS,EAAC,oBAAoB;wBAClC,6BAAK,SAAS,EAAC,eAAe;4BAC7B,2DAAmC,CAC9B;wBAEN,oBAAC,oBAAoB,IAAC,EAAE,EAAE,aAAa,CAAC,cAAc,EAAE,KAAK,EAAE,CAAC,GAAI,CAC/D,CACN,CACI,CACuB,CAClB,CACb,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,MAAM,CAAC,GAAW;QAC1B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,69 @@
1
+ :global {
2
+ .introduction-details-second-page {
3
+ padding: 0 25px 30px;
4
+
5
+ .single-details {
6
+ margin-top: 25px;
7
+ border-bottom: 1px solid #e6e6e6;
8
+
9
+ .details-title {
10
+ display: flex;
11
+ align-items: center;
12
+ color: #217eb2;
13
+ font: normal normal bold 16px/22px Open Sans;
14
+ margin-bottom: 15px;
15
+ }
16
+
17
+ .details-content {
18
+ margin-bottom: 15px;
19
+ }
20
+
21
+ .step-actions {
22
+ width: 67px;
23
+ height: 30px;
24
+ margin-bottom: 25px;
25
+ font: normal normal bold 14px/19px Open Sans;
26
+ }
27
+ }
28
+
29
+ .single-details-end {
30
+ margin-top: 25px;
31
+
32
+ .details-title {
33
+ color: #217eb2;
34
+ font: normal normal bold 16px/22px Open Sans;
35
+ margin-bottom: 15px;
36
+ }
37
+
38
+ .sections-item-card {
39
+ &.sections-item-card_zero {
40
+ padding: 0;
41
+ }
42
+ }
43
+
44
+ .description-editor {
45
+ .description-readonly-proseMirror {
46
+ .ProseMirror-container {
47
+ .ProseMirror {
48
+ padding: 0;
49
+ }
50
+ }
51
+ }
52
+ }
53
+
54
+ .section-item-content {
55
+ .document-header-default {
56
+ display: none;
57
+ }
58
+
59
+ .list-view-header-tool {
60
+ padding: 0;
61
+ }
62
+
63
+ .doc-list-content {
64
+ height: 170px;
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
@@ -1,27 +1,29 @@
1
- import { Button, Card, Spin, Steps } from "antd";
2
- import { IncorporationCLDAClientContext, IncorporationCLDAClientState, } from "./IncorporationCLDAClientContext";
3
1
  import React, { useEffect, useMemo, useState } from "react";
2
+ import { Button, Spin } from "antd";
3
+ import { IncorporationCLDAClientContext, IncorporationCLDAClientState, } from "./IncorporationCLDAClientContext";
4
4
  import { useParams } from "react-router";
5
5
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
6
6
  import { useLayout, useTabItem } from "@voplus/morpho-data";
7
+ import { useIncorporationCLDA } from "../../../../../data/incorporation-clda";
8
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
9
+ import { LoadingOutlined } from "@ant-design/icons";
10
+ import { faHandshakeAngle } from "@fortawesome/pro-duotone-svg-icons";
11
+ import { faXmark } from "@fortawesome/pro-light-svg-icons";
12
+ import { observe } from "@voplus/morpho-ui";
13
+ import { runInAction } from "mobx";
7
14
  import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
8
15
  import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
9
- import DetailsStep from "../../components/DetailsStep";
10
- import { LoadingOutlined } from "@ant-design/icons";
11
- import StartStep from "../../components/StartStep";
16
+ import IncorporationClientViewCard from "./components/IncorporationClientViewCard";
17
+ import DetailsStep from "./components/SecondStep";
18
+ import StartStep from "./components/FirstStep";
12
19
  import TourGuide from "./TourGuide";
13
20
  import classnames from "classnames";
14
- import { observe } from "@voplus/morpho-ui";
15
- import { runInAction } from "mobx";
16
21
  import styles from "./index.less";
17
- import { useIncorporationCLDA } from "../../../../../data/incorporation-clda";
18
22
  const IncorporationCLDAClientView = () => {
19
23
  const params = useParams();
20
24
  const id = params.id;
21
25
  const layout = useLayout();
22
- const { Step } = Steps;
23
26
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
24
- const [title, setTitle] = useState("Open Comment");
25
27
  const [asideContext] = useState(AsideContent.createContext());
26
28
  const [state] = useState(new IncorporationCLDAClientState());
27
29
  state.id = id;
@@ -36,10 +38,16 @@ const IncorporationCLDAClientView = () => {
36
38
  runInAction(() => {
37
39
  tab.title = "Incorporation";
38
40
  if (!layout.ui.mobile)
39
- asideContext.openAside(AsideElement, { span: 12 });
41
+ asideContext.openAside(AsideElement, { span: 8 });
40
42
  });
41
43
  }, []);
42
- const AsideElement = observe(() => (React.createElement(React.Fragment, null, incorporationCLDA.loaded && (React.createElement(React.Fragment, null, incorporationCLDA.quotationId ? (React.createElement(ActivityLog, { id: id, title: "Comment", nodes: [incorporationCLDA.quotationId] })) : (React.createElement(ActivityLog, { id: id, title: "Comment" })))))));
44
+ const AsideElement = observe(() => (React.createElement(React.Fragment, null, incorporationCLDA.loaded && (React.createElement("div", { className: "incorporation-clda-client-view-comment" },
45
+ !layout.ui.mobile && (React.createElement("header", null,
46
+ React.createElement("div", { className: "comment-header" },
47
+ React.createElement("div", { className: "title" }, "Comments"),
48
+ React.createElement("div", { className: "func-btn", onClick: toggleActivity },
49
+ React.createElement(FAIcon, { icon: faXmark }))))),
50
+ incorporationCLDA.quotationId ? (React.createElement(ActivityLog, { id: id, isHeader: false, nodes: [incorporationCLDA.quotationId] })) : (React.createElement(ActivityLog, { id: id, isHeader: false })))))));
43
51
  const steps = [
44
52
  {
45
53
  title: "Introduction",
@@ -52,23 +60,36 @@ const IncorporationCLDAClientView = () => {
52
60
  ];
53
61
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
54
62
  React.createElement(IncorporationCLDAClientContext.Provider, { value: state },
55
- React.createElement(TourGuide, { id: id }),
56
- React.createElement("div", { className: classnames("clda-client-view", styles["incorporation-clda-client-view"]) },
57
- React.createElement("header", { className: "clda-client-view-header" },
58
- React.createElement("div", { "data-tut": "incorporation-assistant" }, "Incorporation Assistant"),
59
- React.createElement(Button, { className: "toogle-btn", size: "small", onClick: toggleActivity, "data-tut": "activity-log" }, layout.ui.mobile ? "Comment" : title)),
60
- React.createElement(AsideContent, { context: asideContext },
61
- React.createElement("div", { className: "clda-client-view_content" },
62
- React.createElement("div", { className: "clda-client-view-step" }, !(incorporationCLDA === null || incorporationCLDA === void 0 ? void 0 : incorporationCLDA.loaded) ? (React.createElement(Card, { title: "Loading ~~", className: "steps-content", bodyStyle: { textAlign: "center" } },
63
+ React.createElement(AsideContent, { context: asideContext },
64
+ React.createElement(TourGuide, { id: id }),
65
+ React.createElement("div", { className: styles["incorporation-clda-client-view"] },
66
+ layout.ui.mobile ? (
67
+ // 手机端暂时使用之前的 header
68
+ React.createElement("header", { className: "clda-client-view-header-mobile" },
69
+ React.createElement("div", { "data-tut": "incorporation-assistant" }, "Incorporation Assistant"),
70
+ React.createElement(Button, { className: "toogle-btn", size: "small", onClick: toggleActivity, "data-tut": "activity-log" }, "Comment"))) : (React.createElement("header", { className: "clda-client-view-header" },
71
+ React.createElement("div", { className: "header-content" },
72
+ React.createElement("div", { className: "header-icon", "data-tut": "incorporation-assistant" },
73
+ React.createElement(FAIcon, { className: "incorporation-fa-icon", icon: faHandshakeAngle, color: "#fff" })),
74
+ React.createElement("div", { className: "header-info" },
75
+ React.createElement("div", { className: "title" }, "INCORPORATION ASSISTANCE"),
76
+ React.createElement("div", { className: "explanation-open" },
77
+ React.createElement("div", { className: "explanation" }, "Streamline Your Business Formation with Expert Guidance"),
78
+ !asideContext.asideContent && (React.createElement(Button, { className: "open-btn", onClick: toggleActivity, "data-tut": "activity-log" }, "View Comment"))))))),
79
+ React.createElement("div", { className: classnames("incorporation-clda-client-view-content", {
80
+ mobile: layout.ui.mobile,
81
+ }), style: {
82
+ justifyContent: asideContext.asideContent ? "flex-start" : "center",
83
+ marginLeft: asideContext.asideContent ? "50px" : "0",
84
+ } },
85
+ 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" } },
63
86
  React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, { style: { fontSize: 24 }, spin: true }) }))) : (steps[state.step].content)))))))));
64
87
  function toggleActivity() {
65
88
  if (asideContext.asideContent) {
66
89
  asideContext.closeAside();
67
- setTitle("Open Comment");
68
90
  }
69
91
  else {
70
- asideContext.openAside(AsideElement, { span: 12 });
71
- setTitle("Close Comment");
92
+ asideContext.openAside(AsideElement, { span: 8 });
72
93
  }
73
94
  }
74
95
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,EACN,8BAA8B,EAC9B,4BAA4B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO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AC1B,CAAC;aAAM,CAAC;YACP,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YACnD,QAAQ,CAAC,eAAe,CAAC,CAAC;QAC3B,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,2BAA2B,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,OAAO,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACpC,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,oCAAoC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,2BAA2B,MAAM,0CAA0C,CAAC;AACnF,OAAO,WAAW,MAAM,yBAAyB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IAAC,SAAS,EAAE,oBAAC,eAAe,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,IAAI,SAAG,GAAI,CACzC,CAC9B,CAAC,CAAC,CAAC,CACH,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CACzB,CACI,CACD,CACD,CACQ,CAC0B,CACpB,CACvB,CAAC,CAAC;IAEH,SAAS,cAAc;QACtB,IAAI,YAAY,CAAC,YAAY,EAAE,CAAC;YAC/B,YAAY,CAAC,UAAU,EAAE,CAAC;QAC3B,CAAC;aAAM,CAAC;YACP,YAAY,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QACnD,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,52 +1,118 @@
1
- @import "../../../../corporate/clda/pages/CLDAClientView/index.less";
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
2
 
3
3
  .incorporation-clda-client-view {
4
+ background-image: url("/img/incorporation-clda/incorporation-assistance-bg.png");
5
+ background-position: left;
6
+ background-repeat: no-repeat;
7
+
4
8
  :global {
5
9
  .clda-client-view-header {
10
+ height: 138px;
11
+ background: #fff;
12
+
13
+ .header-content {
14
+ display: flex;
15
+ padding: 40px 36px 0 50px;
16
+
17
+ .header-icon {
18
+ height: 61px;
19
+ padding: 0 14px;
20
+ background: #8bc2f8;
21
+ border-radius: 2px;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ margin-right: 25px;
26
+
27
+ .incorporation-fa-icon {
28
+ width: 33px;
29
+ height: 26px;
30
+ }
31
+ }
32
+
33
+ .header-info {
34
+ width: 100%;
35
+
36
+ .title {
37
+ font: normal normal bold 30px/41px Open Sans;
38
+ color: #217eb2;
39
+ }
40
+ }
41
+
42
+ .explanation-open {
43
+ display: flex;
44
+ align-items: flex-start;
45
+ justify-content: space-between;
46
+
47
+ .explanation {
48
+ font: normal normal 600 16px/22px Open Sans;
49
+ color: #5d5d5d;
50
+ height: 22px;
51
+ }
52
+
53
+ .open-btn {
54
+ width: 133px;
55
+ height: 30px;
56
+ color: #217eb2;
57
+ border-radius: 5px;
58
+ border: 1px solid #217eb2;
59
+ font: normal normal bold 14px/19px Open Sans;
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ .clda-client-view-header-mobile {
6
66
  display: flex;
7
67
  justify-content: space-between;
68
+ padding: 15px 20px;
69
+ font-size: 15px;
70
+ font-weight: 500;
71
+ background-color: #fff;
72
+ border-bottom: 1px solid #f2f2f2;
8
73
  }
9
74
 
10
- .clda-client-view_content {
11
- padding: 0;
12
- .clda-client-view-step {
13
- height: 100%;
14
- padding: 20px;
15
- }
16
- .steps-content {
17
- margin: 0 auto 20px;
75
+ .incorporation-clda-client-view-content {
76
+ display: flex;
77
+ height: calc(100% - 138px);
78
+
79
+ &.mobile {
80
+ height: calc(100% - 55px);
18
81
  }
19
- .steps-content-upload {
20
- .ant-card-body {
21
- padding: 24px 0;
22
- .document-header-default {
23
- display: none;
24
- padding: 10px 24px !important;
25
- }
26
- .section-document {
27
- .document-header-default {
28
- display: flex;
29
- }
30
- }
31
- }
82
+
83
+ .incorporation-clda-client-view-step {
84
+ width: 740px;
85
+ height: 100%;
86
+ padding: 40px 0 25px;
32
87
  }
33
- .steps-title {
34
- .steps-number {
35
- float: left;
36
- margin-right: 3px;
37
- // margin-top: -1px;
38
- }
39
- > div {
40
- display: inline-block;
41
- }
88
+ }
89
+ }
90
+ }
91
+
92
+ :global {
93
+ .incorporation-clda-client-view-comment {
94
+ height: calc(100% - 63px);
95
+
96
+ & > header {
97
+ padding: 0 20px;
98
+ }
99
+
100
+ .comment-header {
101
+ padding: 20px 0 15px;
102
+ display: flex;
103
+ align-items: center;
104
+ justify-content: space-between;
105
+ border-bottom: 1px solid #cbcbcb;
106
+
107
+ .title {
108
+ color: #5d5d5d;
109
+ font: normal normal bold 20px/27px Open Sans;
42
110
  }
43
- .sections-item-card {
44
- height: 350px;
45
- padding: 0;
46
- .section-item-content {
47
- height: 100%;
48
- display: flex;
49
- flex-direction: column;
111
+
112
+ .func-btn {
113
+ & > svg {
114
+ color: #868686;
115
+ font: normal normal normal 14px/17px Font Awesome 6 Free;
50
116
  }
51
117
  }
52
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "6.0.98",
3
+ "version": "6.0.100",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -19,7 +19,7 @@
19
19
  "copy-less-mac": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
20
20
  "clean": "del-cli es && jest --clearCache",
21
21
  "clean-hooks": "del-cli .git/hooks",
22
- "storybook": "sb dev -p 9001 -c .storybook -s ./public",
22
+ "storybook": "sb dev -p 9001 -c .storybook -s ../public",
23
23
  "lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
24
24
  "build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less",
25
25
  "build:mac": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less-mac",