@voplus/morpho-csp 6.1.54 → 6.1.55
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/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
|
@@ -5,6 +5,7 @@ import { useFilingType } from "../../../../../../data/filing-type";
|
|
|
5
5
|
import { useParams } from "react-router";
|
|
6
6
|
import { runInAction } from "mobx";
|
|
7
7
|
import { Space } from "antd";
|
|
8
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
8
9
|
import { faEllipsisVertical, faScroll } from "@fortawesome/pro-solid-svg-icons";
|
|
9
10
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
11
|
import ToolBar from "@voplus/morpho-org/es/controls/ToolBar";
|
|
@@ -19,15 +20,14 @@ import styles from "./index.less";
|
|
|
19
20
|
const FilingTypeDefaultView = () => {
|
|
20
21
|
const { id } = useParams();
|
|
21
22
|
const [packUp, setPackUp] = useState(false);
|
|
22
|
-
const
|
|
23
|
-
const filingType = useFilingType(id, { onError:
|
|
23
|
+
const handleError = useHandleError();
|
|
24
|
+
const filingType = useFilingType(id, { onError: handleError });
|
|
24
25
|
const tab = useTabItem();
|
|
25
26
|
const menuContext = useMemo(() => new NodeMenuState(id), [id]);
|
|
26
27
|
useEffect(() => {
|
|
27
|
-
setError(null);
|
|
28
28
|
runInAction(() => (tab.title = filingType.name));
|
|
29
29
|
}, [id]);
|
|
30
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-type-default-view"],
|
|
30
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-type-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faScroll }), title: filingType.name, upAble: true, onPackUp: (up) => setPackUp(up), description: "Organize, filter, and manage filings by type for better efficiency.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
31
31
|
React.createElement(Space, { className: "menu-buttons" },
|
|
32
32
|
React.createElement(Access, null))), toolMenu: React.createElement(ToolBar, { id: id, more: false },
|
|
33
33
|
React.createElement(FilingTypeMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }), blankMenu: packUp ? [] : ["Access"] })) }), properties: React.createElement(FilingTypeProperties, { id: id }) },
|
package/es/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IAClC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/pages/FilingTypeDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAA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AAiB,IACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,QAAQ,GAAI,EACtC,KAAK,EAAE,UAAU,CAAC,IAAI,EACtB,MAAM,QACN,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,EAC/B,WAAW,EAAC,qEAAqE,EACjF,UAAU,EACT,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;gBAC3C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;oBAC9B,oBAAC,MAAM,OAAG,CACH,CACkB,EAE5B,QAAQ,EACP,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAG,EAAE,IAAI,EAAE,KAAK;gBAC5B,oBAAC,cAAc,IACd,EAAE,EAAE,EAAG,EACP,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAC1C,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAClC,CACO,GAEV,EAEH,UAAU,EAAE,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAG,GAAI;QAE7C,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAG,GAAI,CACR,CACpB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
4
4
|
import { faScrollOld } from "@fortawesome/pro-solid-svg-icons";
|
|
@@ -6,7 +6,7 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
|
6
6
|
import PropertiesHeader from "@voplus/morpho-org/es/components/PropertiesHeader";
|
|
7
7
|
import FilingYearProperties from "../FilingYearProperties";
|
|
8
8
|
import FilingYearMenu from "../../controls/FilingYearMenu";
|
|
9
|
-
import
|
|
9
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
10
10
|
import { useFilingYear, useFilingYearStore } from "../../../../../../data/filing-year";
|
|
11
11
|
import { isUtcString } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
|
12
12
|
import FilingYearTabs from "../FilingYearTabs";
|
|
@@ -17,18 +17,15 @@ dayjs.extend(utc);
|
|
|
17
17
|
const FilingYearPropertiesView = (props) => {
|
|
18
18
|
const { id } = props;
|
|
19
19
|
const store = useFilingYearStore();
|
|
20
|
-
const
|
|
20
|
+
const handleError = useHandleError();
|
|
21
21
|
const filingYear = useFilingYear(id, {
|
|
22
22
|
reload: (i) => !i.tags,
|
|
23
23
|
includes: "tags",
|
|
24
|
-
onError:
|
|
24
|
+
onError: handleError,
|
|
25
25
|
});
|
|
26
26
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
setError(null);
|
|
29
|
-
}, [id]);
|
|
30
27
|
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
|
31
|
-
React.createElement(
|
|
28
|
+
React.createElement("div", { className: "module-detail-view" },
|
|
32
29
|
React.createElement(PropertiesHeader, { id: id, icon: React.createElement(FAIcon, { icon: faScrollOld }), nodeName: `Filing Year ${isUtcString(filingYear.fYE)
|
|
33
30
|
? dayjs(filingYear.fYE).utc().format("YYYY-MM-DD")
|
|
34
31
|
: dayjs(filingYear.fYE).format("YYYY-MM-DD")}`, url: `/filing-years/${id}`, tagProps: { id: id, items: store.items, tags: filingYear.tags }, nodeMenu: React.createElement(FilingYearMenu, { id: id, closeAside: true }) }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,gBAAgB,MAAM,mDAAmD,CAAC;AACjF,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,kBAAkB,CAAC;AAEnC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAElB,gCAAgC;AAChC,MAAM,wBAAwB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC1D,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IACnC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,EAAE;QACpC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,C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
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import FilingYearHeader from "../FilingYearHeader";
|
|
4
4
|
import FilingYearProperties from "../FilingYearProperties";
|
|
@@ -6,15 +6,13 @@ import { faAlignLeft } from "@fortawesome/pro-light-svg-icons";
|
|
|
6
6
|
import { useFilingYear } from "../../../../../../data/filing-year";
|
|
7
7
|
import QuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
|
8
8
|
import FilingTimeLine from "../../../components/FilingRecordTimeLine";
|
|
9
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
9
10
|
import "./index.less";
|
|
10
11
|
const FilingYearQuickViewDialog = (props) => {
|
|
11
12
|
const { id } = props;
|
|
12
|
-
const
|
|
13
|
-
const filingYear = useFilingYear(id, { onError:
|
|
14
|
-
|
|
15
|
-
setError(null);
|
|
16
|
-
}, [id]);
|
|
17
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, error: error, className: "filingYear-quick-view", header: React.createElement(FilingYearHeader, { id: id, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
13
|
+
const handleError = useHandleError();
|
|
14
|
+
const filingYear = useFilingYear(id, { onError: handleError });
|
|
15
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingYear-quick-view", header: React.createElement(FilingYearHeader, { id: id, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
18
16
|
{
|
|
19
17
|
name: "properties",
|
|
20
18
|
icon: faAlignLeft,
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing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,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAI,CAChD,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -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 { useParams } from "react-router-dom";
|
|
@@ -6,6 +6,7 @@ import { faEllipsisVertical, faCalendar } from "@fortawesome/pro-solid-svg-icons
|
|
|
6
6
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
7
|
import { useFilingYear } from "../../../../../../data/filing-year";
|
|
8
8
|
import ToolBar from "@voplus/morpho-org/es/controls/ToolBar";
|
|
9
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
9
10
|
import { Access } from "@voplus/morpho-org/es/controls/NodeMenu/items";
|
|
10
11
|
import DownloadFiles from "../../controls/FilingYearMenu/items/DownloadFiles";
|
|
11
12
|
import { NodeMenuContext, NodeMenuState } from "@voplus/morpho-org/es/controls/NodeMenu/state";
|
|
@@ -23,17 +24,14 @@ const FilingYearDefaultView = () => {
|
|
|
23
24
|
const tab = useTabItem();
|
|
24
25
|
const menuContext = useMemo(() => new NodeMenuState(id), [id]);
|
|
25
26
|
const [packUp, setPackUp] = useState(false);
|
|
26
|
-
const
|
|
27
|
+
const handleError = useHandleError();
|
|
27
28
|
const filingYear = useFilingYear(id, {
|
|
28
29
|
reload: true,
|
|
29
30
|
includes: "permissions",
|
|
30
|
-
onError:
|
|
31
|
+
onError: handleError,
|
|
31
32
|
});
|
|
32
33
|
useAutorunEffect(() => (tab.title = "Filing Year"));
|
|
33
|
-
|
|
34
|
-
setError(null);
|
|
35
|
-
}, [id]);
|
|
36
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-year-default-view"], error: error, header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCalendar }), title: React.createElement(UTCShortDate, { value: filingYear.fYE }), upAble: true, onPackUp: (up) => setPackUp(up), description: "A comprehensive view of annual filing records.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
34
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-year-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCalendar }), title: React.createElement(UTCShortDate, { value: filingYear.fYE }), upAble: true, onPackUp: (up) => setPackUp(up), description: "A comprehensive view of annual filing records.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
37
35
|
React.createElement(Space, { className: "menu-buttons" },
|
|
38
36
|
React.createElement(DownloadFiles, null),
|
|
39
37
|
React.createElement(Access, null))), toolMenu: React.createElement(ToolBar, { id: id, more: false },
|
package/es/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/pages/FilingYearDefaultView/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,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,k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
2
|
import { useTabItem } from "@voplus/morpho-data";
|
|
3
3
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
4
4
|
import { useParams } from "react-router-dom";
|
|
@@ -8,6 +8,7 @@ import { useFilingRecore } from "../../../../../data/filing-record";
|
|
|
8
8
|
import { faEllipsisVertical, faScrollOld } from "@fortawesome/pro-solid-svg-icons";
|
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
10
|
import ToolBar from "@voplus/morpho-org/es/controls/ToolBar";
|
|
11
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
11
12
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
12
13
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
13
14
|
import FilingRecoreMenu from "../../controls/FilingRecoreMenu";
|
|
@@ -15,18 +16,15 @@ import styles from "./index.less";
|
|
|
15
16
|
/** The FilingRecord Page component with router parameters support. */
|
|
16
17
|
const FilingClientView = () => {
|
|
17
18
|
const { id } = useParams();
|
|
18
|
-
const
|
|
19
|
+
const handleError = useHandleError();
|
|
19
20
|
const tab = useTabItem();
|
|
20
21
|
const filing = useFilingRecore(id, {
|
|
21
22
|
reload: true,
|
|
22
23
|
includes: "filing-year,permissions",
|
|
23
|
-
onError:
|
|
24
|
+
onError: handleError,
|
|
24
25
|
});
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
setError(null);
|
|
27
|
-
}, [id]);
|
|
28
26
|
useAutorunEffect(() => (tab.title = "Filing"));
|
|
29
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-client-view"],
|
|
27
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-client-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faScrollOld }), title: filing.name, description: "A centralized view of all filing records and statuses.", rightExtra: React.createElement(ToolBar, { id: id, more: false },
|
|
30
28
|
React.createElement(FilingRecoreMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })) }), properties: React.createElement(FilingRecordProperties, { id: id, verificationVisible: false }) },
|
|
31
29
|
React.createElement(FilingRecordTabs, { id: id }))));
|
|
32
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/pages/FilingClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/pages/FilingClientView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,sEAAsE;AACtE,MAAM,gBAAgB,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAC3C,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IACzB,MAAM,MAAM,GAAG,eAAe,CAAC,EAAG,EAAE;QACnC,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,yBAAyB;QACnC,OAAO,EAAE,WAAW;KACpB,CAAC,CAAC;IAEH,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;IAE/C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,iBAAiB,IACjB,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,EACvC,MAAM,EACL,oBAAC,iBAAiB,IACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,EACzC,KAAK,EAAE,MAAM,CAAC,IAAI,EAClB,WAAW,EAAC,wDAAwD,EACpE,UAAU,EACT,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAG,EAAE,IAAI,EAAE,KAAK;gBAC5B,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,GAAI,CAChE,GAEV,EAEH,UAAU,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAG,EAAE,mBAAmB,EAAE,KAAK,GAAI;QAE3E,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,GAAI,CACV,CACpB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo, useState
|
|
1
|
+
import React, { useMemo, useState } from "react";
|
|
2
2
|
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
|
3
3
|
import { useParams } from "react-router-dom";
|
|
4
4
|
import FilingRecordProperties from "../../components/FilingRecordProperties";
|
|
@@ -15,6 +15,7 @@ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/Pa
|
|
|
15
15
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
16
16
|
import FilingRecoreMenu from "../../controls/FilingRecoreMenu";
|
|
17
17
|
import { NotifyFiling } from "../../controls/FilingRecoreMenu/items";
|
|
18
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
18
19
|
import styles from "./index.less";
|
|
19
20
|
/** The FilingRecord Page component with router parameters support. */
|
|
20
21
|
const FilingDefaultView = () => {
|
|
@@ -23,17 +24,14 @@ const FilingDefaultView = () => {
|
|
|
23
24
|
const menuContext = useMemo(() => new NodeMenuState(id), [id]);
|
|
24
25
|
const { user } = useApplicationContext();
|
|
25
26
|
const [packUp, setPackUp] = useState(false);
|
|
26
|
-
const
|
|
27
|
+
const handleError = useHandleError();
|
|
27
28
|
const filing = useFilingRecore(id, {
|
|
28
29
|
reload: true,
|
|
29
30
|
includes: "filing-year,permissions",
|
|
30
|
-
onError:
|
|
31
|
+
onError: handleError,
|
|
31
32
|
});
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
setError(null);
|
|
34
|
-
}, [id]);
|
|
35
33
|
useAutorunEffect(() => (tab.title = "Filing"));
|
|
36
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-default-view"],
|
|
34
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["filing-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faScrollOld }), title: filing.name, upAble: true, onPackUp: (up) => setPackUp(up), description: "A centralized view of all filing records and statuses.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
37
35
|
React.createElement(Space, { className: "menu-buttons" },
|
|
38
36
|
React.createElement(NotifyFiling, null),
|
|
39
37
|
React.createElement(Access, { disabled: !user.can("view", filing.p, { asset: "Access" }) }))), toolMenu: React.createElement(ToolBar, { id: id, more: false },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/pages/FilingDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/pages/FilingDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;A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AAM,IAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAI,CAC/D,CACkB,EAE5B,QAAQ,EACP,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAG,EAAE,IAAI,EAAE,KAAK;gBAC5B,oBAAC,gBAAgB,IAChB,EAAE,EAAE,EAAG,EACP,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAC1C,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,QAAQ,CAAC,GAClD,CACO,GAEV,EAEH,UAAU,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAG,GAAI;QAE/C,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAG,GAAI,CACV,CACpB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import React, { useMemo, useState
|
|
1
|
+
import React, { useMemo, useState } from "react";
|
|
2
2
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
5
|
-
import PropertiesView from "@voplus/morpho-ui/es/components/layout/PropertiesView";
|
|
6
5
|
import PropertiesPanelHeader from "@voplus/morpho-document/es/components/PropertiesPanelHeader";
|
|
7
6
|
import ShareCertificateTabs from "../ShareCertificateTabs";
|
|
7
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
8
8
|
import "./index.less";
|
|
9
9
|
const ShareCertificatePropertiesView = (props) => {
|
|
10
10
|
const id = props.id;
|
|
11
11
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
12
12
|
const [loaded, setLoaded] = useState(true);
|
|
13
|
-
const
|
|
14
|
-
const shareCertificate = useShareCertificate(id, { onError:
|
|
15
|
-
useEffect(() => {
|
|
16
|
-
setError(null);
|
|
17
|
-
}, [id]);
|
|
13
|
+
const handleError = useHandleError();
|
|
14
|
+
const shareCertificate = useShareCertificate(id, { onError: handleError });
|
|
18
15
|
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
|
19
|
-
React.createElement(
|
|
16
|
+
React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
|
|
20
17
|
React.createElement(PropertiesPanelHeader, { id: id, onReload: onReload, identityVisible: true }),
|
|
21
18
|
React.createElement(ShareCertificateTabs, { id: id, properties: true })))))));
|
|
22
19
|
/** reload data */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,cAAc,CAAC;AAEtB,MAAM,8BAA8B,GAAG,CAAC,KAAwC,EAAE,EAAE;IACnF,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAE3E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAC,oBAAoB,IACjC,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;YACd,oBAAC,qBAAqB,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,GAAI;YAC5E,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC3B,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IAEH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { useState
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
import { Open, Reload, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
4
|
+
import { useMetaStore, useHandleError } from "@voplus/morpho-document-core";
|
|
5
5
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
6
6
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
7
7
|
import QuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
|
@@ -11,12 +11,9 @@ const ShareCertificateQuickViewDialog = (props) => {
|
|
|
11
11
|
const { id } = props;
|
|
12
12
|
const [loaded, setLoaded] = useState(true);
|
|
13
13
|
const meta = useMetaStore();
|
|
14
|
-
const
|
|
15
|
-
const shareCertificate = useShareCertificate(id, { reload: true, onError:
|
|
16
|
-
|
|
17
|
-
setError(null);
|
|
18
|
-
}, [id]);
|
|
19
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, error: error, header: React.createElement(React.Fragment, null, loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, tools: React.createElement(ToolBar, { id: id },
|
|
14
|
+
const handleError = useHandleError();
|
|
15
|
+
const shareCertificate = useShareCertificate(id, { reload: true, onError: handleError });
|
|
16
|
+
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, tools: React.createElement(ToolBar, { id: id },
|
|
20
17
|
React.createElement(Open, { url: meta.getRoute(shareCertificate) }),
|
|
21
18
|
React.createElement(Reload, { action: onReload }),
|
|
22
19
|
React.createElement(Close, { action: props.onCancel })) }))), subButtons: [{ name: "Document" }, { name: "Activities" }, { name: "Link" }] },
|
|
@@ -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,
|
|
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,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,+DAA+D,CAAC;AAC5F,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,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC3C,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAEzF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,MAAM,EACL,oBAAC,KAAK,CAAC,QAAQ,QACb,MAAM,IAAI,CACV,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,YAAY,EAAE,KAAK,EACnB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,mBAAmB,EAAE,KAAK,EAC1B,kBAAkB,EAAE,KAAK,EACzB,KAAK,EACJ,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE;gBACd,oBAAC,IAAI,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,GAAI;gBAC9C,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;gBAC5B,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,GAAI,CACxB,GAEV,CACF,CACe,EAElB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAE5E,oBAAC,0BAA0B,IAAC,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,QAAQ,GAAI,CAC7C,CAClB,CAAC,CAAC;IAEH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -14,6 +14,7 @@ import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-
|
|
|
14
14
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
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";
|
|
17
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
17
18
|
import { SendToShareholder, SendToSignee, Download, } from "../../controls/ShareCertificateMenu/items";
|
|
18
19
|
import styles from "./index.less";
|
|
19
20
|
/** The ShareCertificate Page component with router parameters support. */
|
|
@@ -22,21 +23,18 @@ const ShareCertificateDefaultView = () => {
|
|
|
22
23
|
const tab = useTabItem();
|
|
23
24
|
const menuContext = useMemo(() => new DocumentMenuState(id), [id]);
|
|
24
25
|
const [packUp, setPackUp] = useState(false);
|
|
25
|
-
const
|
|
26
|
+
const handleError = useHandleError();
|
|
26
27
|
const shareCertificate = useShareCertificate(id, {
|
|
27
28
|
reload: true,
|
|
28
29
|
includes: "certificate,qr,signatures",
|
|
29
|
-
onError:
|
|
30
|
+
onError: handleError,
|
|
30
31
|
});
|
|
31
32
|
const [context] = useState(() => new ReloadState());
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
setError(null);
|
|
34
|
-
}, [id]);
|
|
35
33
|
useEffect(() => {
|
|
36
34
|
tab.title = (shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.name) || "ShareCertificate";
|
|
37
35
|
}, [shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.name]);
|
|
38
36
|
return observe(() => (React.createElement(ReloadContext.Provider, { value: context },
|
|
39
|
-
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"],
|
|
37
|
+
React.createElement(DefaultViewLayout, { className: styles["share-transaction-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faFileCertificate }), title: shareCertificate.name, upAble: true, onPackUp: (up) => setPackUp(up), description: "Keep track of all issued share certificates in one organized list.", rightExtra: React.createElement(DocumentMenuContext.Provider, { value: menuContext },
|
|
40
38
|
React.createElement(Space, { className: "menu-buttons" },
|
|
41
39
|
React.createElement(SubPasteDropdown, null),
|
|
42
40
|
context.view && React.createElement(SendToSignee, null),
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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BAAiB,CAAC,EAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACpE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,
|
|
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,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,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,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,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,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtF,OAAO,iBAAiB,MAAM,0DAA0D,CAAC;AACzF,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,gBAAgB,MAAM,mEAAmE,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACN,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACR,MAAM,2CAA2C,CA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,QACN,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,EAC/B,WAAW,EAAC,oEAAoE,EAChF,UAAU,EACT,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW;oBAC/C,oBAAC,KAAK,IAAC,SAAS,EAAC,cAAc;wBAC9B,oBAAC,gBAAgB,OAAG;wBACnB,OAAO,CAAC,IAAI,IAAI,oBAAC,YAAY,OAAG;wBACjC,oBAAC,iBAAiB,OAAG;wBACrB,oBAAC,QAAQ,OAAG,CACL,CACsB,EAEhC,QAAQ,EACP,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;wBACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;qBAC1C,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,EAAE,OAAO,CAAC,GAClF,GAEF,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,11 +1,11 @@
|
|
|
1
|
-
import React, { useMemo
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
2
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
3
3
|
import { faCoins } from "@fortawesome/pro-solid-svg-icons";
|
|
4
4
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import PropertiesHeader from "@voplus/morpho-org/es/components/PropertiesHeader";
|
|
6
6
|
import { useShareClass, useShareClassStore } from "../../../../../data/share-class";
|
|
7
|
-
import PropertiesView from "@voplus/morpho-ui/es/components/layout/PropertiesView";
|
|
8
7
|
import { observe } from "@voplus/morpho-ui";
|
|
8
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
9
9
|
import ShareClassMenu from "../../controls/ShareClassMenu";
|
|
10
10
|
import ShareClassTabs from "../ShareClassTabs";
|
|
11
11
|
import Routes from "../../../../../routes";
|
|
@@ -13,18 +13,15 @@ import "./index.less";
|
|
|
13
13
|
const ShareClassPropertiesView = (props) => {
|
|
14
14
|
const id = props.id;
|
|
15
15
|
const store = useShareClassStore();
|
|
16
|
-
const
|
|
16
|
+
const handleError = useHandleError();
|
|
17
17
|
const shareType = useShareClass(id, {
|
|
18
18
|
reload: (i) => !i.tags,
|
|
19
19
|
includes: "tags",
|
|
20
|
-
onError:
|
|
20
|
+
onError: handleError,
|
|
21
21
|
});
|
|
22
22
|
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
setError(null);
|
|
25
|
-
}, [id]);
|
|
26
23
|
return observe(() => (React.createElement(ViewContext.Provider, { value: view },
|
|
27
|
-
React.createElement(
|
|
24
|
+
React.createElement("div", { className: "share-type-properties-view" },
|
|
28
25
|
React.createElement(PropertiesHeader, { id: id, icon: React.createElement(FAIcon, { icon: faCoins }), nodeName: shareType.name, identityVisible: true, url: Routes.ShareClassDefaultView.getUrl(id), tagProps: { id: id, items: store.items, tags: shareType.tags }, nodeMenu: React.createElement(ShareClassMenu, { id: id, closeAside: true }) }),
|
|
29
26
|
React.createElement(ShareClassTabs, { id: id, properties: true })))));
|
|
30
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassPropertiesView/index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C,oBAAC,gBAAgB,IAChB,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,EAC/B,QAAQ,EAAE,SAAS,CAAC,IAAI,EACxB,eAAe,EAAE,IAAI,EACrB,GAAG,EAAE,MAAM,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC,EAC5C,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,EAC9D,QAAQ,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,GACrD;YACF,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAChC,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import
|
|
3
|
+
import QuickViewDialog from "@voplus/morpho-org/es/controls/QuickViewDialog";
|
|
4
4
|
import { useShareClass } from "../../../../../data/share-class";
|
|
5
5
|
import ShareClassHeader from "../ShareClassHeader";
|
|
6
6
|
import ShareClassProperties from "../ShareClassProperties";
|
|
7
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
7
8
|
import "./index.less";
|
|
8
9
|
const ShareClassQuickViewDialog = (props) => {
|
|
9
10
|
const { id } = props;
|
|
10
|
-
const
|
|
11
|
-
const shareClass = useShareClass(id, { onError:
|
|
12
|
-
|
|
13
|
-
setError(null);
|
|
14
|
-
}, [id]);
|
|
15
|
-
return observe(() => (React.createElement(UnitQuickView, { ...props, error: error, className: "share-type-quick-view", header: React.createElement(ShareClassHeader, { id: id, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
11
|
+
const handleError = useHandleError();
|
|
12
|
+
const shareClass = useShareClass(id, { onError: handleError });
|
|
13
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "share-type-quick-view", header: React.createElement(ShareClassHeader, { id: id, onClose: props.onCancel }), buttons: [{ name: "Document" }, { name: "Activities" }] },
|
|
16
14
|
React.createElement(ShareClassProperties, { id: id }))));
|
|
17
15
|
};
|
|
18
16
|
export default ShareClassQuickViewDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,cAAc,CAAC;AAEtB,MAAM,yBAAyB,GAAG,CAAC,KAIlC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;IAE/D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI,EAC7D,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAEvD,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAE,GAAI,CACf,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useState, useMemo
|
|
1
|
+
import React, { useState, useMemo } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import { useParams } from "react-router-dom";
|
|
4
4
|
import ShareClassProperties from "../../components/ShareClassProperties";
|
|
@@ -13,6 +13,7 @@ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/Pa
|
|
|
13
13
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
14
14
|
import ShareClassMenu from "../../controls/ShareClassMenu";
|
|
15
15
|
import { useShareClass } from "../../../../../data/share-class";
|
|
16
|
+
import { useHandleError } from "@voplus/morpho-document-core";
|
|
16
17
|
import { Space } from "antd";
|
|
17
18
|
import styles from "./index.less";
|
|
18
19
|
/** The ShareClass Page component with router parameters support. */
|
|
@@ -21,16 +22,13 @@ const ShareClassDefaultView = () => {
|
|
|
21
22
|
const menuContext = useMemo(() => new NodeMenuState(id), [id]);
|
|
22
23
|
const { user } = useApplicationContext();
|
|
23
24
|
const [packUp, setPackUp] = useState(false);
|
|
24
|
-
const
|
|
25
|
+
const handleError = useHandleError();
|
|
25
26
|
const shareType = useShareClass(id, {
|
|
26
27
|
reload: true,
|
|
27
28
|
includes: "permissions",
|
|
28
|
-
onError:
|
|
29
|
+
onError: handleError,
|
|
29
30
|
});
|
|
30
|
-
|
|
31
|
-
setError(null);
|
|
32
|
-
}, [id]);
|
|
33
|
-
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["share-type-default-view"], error: error, header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCoins }), title: shareType.name, upAble: true, onPackUp: (up) => setPackUp(up), description: "Track key metrics across multiple share classes in one place.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
31
|
+
return observe(() => (React.createElement(DefaultViewLayout, { className: styles["share-type-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCoins }), title: shareType.name, upAble: true, onPackUp: (up) => setPackUp(up), description: "Track key metrics across multiple share classes in one place.", rightExtra: React.createElement(NodeMenuContext.Provider, { value: menuContext },
|
|
34
32
|
React.createElement(Space, { className: "menu-buttons" },
|
|
35
33
|
React.createElement(Access, { disabled: !user.can("view", shareType.p, { asset: "Access" }) }))), toolMenu: React.createElement(ToolBar, { id: id, more: false },
|
|
36
34
|
React.createElement(ShareClassMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }), blankMenu: packUp ? [] : ["Access"] })) }), properties: React.createElement(ShareClassProperties, { id: id }) },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/pages/ShareClassDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/pages/ShareClassDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,oBAAoB,MAAM,uCAAuC,CAAC;AACzE,OAAO,cAAc,MAAM,iCAAiC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