@voplus/morpho-csp 6.1.25 → 6.1.27
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/RiskMatchHeader/index.d.ts +2 -0
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchHeader/index.js +4 -3
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchHeader/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.less +9 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.d.ts +2 -0
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js +3 -2
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.less +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.less +2 -2
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js +5 -27
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.d.ts +0 -1
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.js +0 -1
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.d.ts +2 -0
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.js +3 -2
- package/es/modules/corporate/company/components/CompanyRegisterHead/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +9 -4
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +0 -2
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +2 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +3 -3
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.less +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCell.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js +1 -1
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +9 -4
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.less +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCell.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js +1 -1
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +9 -4
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js +2 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.d.ts +1 -0
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordHeader/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.less +9 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.d.ts +1 -0
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.less +9 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.d.ts +2 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.js +3 -2
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.less +9 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +4 -3
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js +2 -10
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +0 -58
package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchHeader/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { Open, Reload, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
4
4
|
import { useRiskMatch } from "../../../../../../data/risk-match";
|
|
5
5
|
import NodeHeaderLayout from "@voplus/morpho-ui/es/controls/NodeHeaderLayout";
|
|
6
6
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
7
7
|
import RiskMatchDataBar from "../../controls/RiskMatchDataBar";
|
|
8
8
|
const RiskMatchHeader = (props) => {
|
|
9
|
-
const id = props
|
|
9
|
+
const { id, close } = props;
|
|
10
10
|
const riskMatch = useRiskMatch(id);
|
|
11
11
|
return observe(() => (React.createElement(NodeHeaderLayout, { content: riskMatch.name, tool: React.createElement(ToolBar, { id: id, showMenu: false },
|
|
12
|
+
React.createElement(Open, { url: `/risk-match/${id}` }),
|
|
12
13
|
React.createElement(Reload, null),
|
|
13
|
-
React.createElement(
|
|
14
|
+
close && React.createElement(Close, { action: props.onClose })), more: React.createElement(RiskMatchDataBar, { id: id }) })));
|
|
14
15
|
};
|
|
15
16
|
export default RiskMatchHeader;
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,eAAe,GAAG,CAAC,KAA4D,EAAE,EAAE;IACxF,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,IAChB,OAAO,EAAE,SAAS,CAAC,IAAI,EACvB,IAAI,EACH,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;YAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,eAAe,EAAE,EAAE,GAAI;YAClC,oBAAC,MAAM,OAAG;YACT,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI,CACjC,EAEX,IAAI,EAAE,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,GACjC,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -8,7 +8,7 @@ import RiskMatchReport from "../RiskMatchReport";
|
|
|
8
8
|
import "./index.less";
|
|
9
9
|
const RiskMatchQuickView = (props) => {
|
|
10
10
|
const { id } = props;
|
|
11
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "riskMatch-quick-view", header: React.createElement(RiskMatchHeader, { id: id }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
11
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "riskMatch-quick-view", header: React.createElement(RiskMatchHeader, { id: id, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
12
12
|
{
|
|
13
13
|
name: "properties",
|
|
14
14
|
icon: faAlignLeft,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC9F,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,sBAAsB,EAChC,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC9F,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,sBAAsB,EAChC,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI,EAClE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,mBAAmB;gBAC1B,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;aACnC;SACD;QAED,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,CACV,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -3,14 +3,14 @@ import { Skeleton } from "antd";
|
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { useRiskProfile, useRiskProfileStore } from "../../../../../../data/risk-profile";
|
|
5
5
|
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
6
|
-
import { Open, Reload, Delete } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
6
|
+
import { Open, Reload, Delete, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
7
7
|
import { runInAction } from "mobx";
|
|
8
8
|
import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
|
|
9
9
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
10
10
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar/LoadedUnitAvatar";
|
|
11
11
|
import styles from "./index.less";
|
|
12
12
|
const RiskProfileHead = (props) => {
|
|
13
|
-
const { id, onReload } = props;
|
|
13
|
+
const { id, close, onReload } = props;
|
|
14
14
|
const store = useRiskProfileStore();
|
|
15
15
|
const asideContext = useAsideContentContext();
|
|
16
16
|
const riskProfile = useRiskProfile(id);
|
|
@@ -22,6 +22,7 @@ const RiskProfileHead = (props) => {
|
|
|
22
22
|
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
23
23
|
React.createElement(Open, { url: `/risk-profile/${id}` }),
|
|
24
24
|
React.createElement(Reload, { action: onReload }),
|
|
25
|
+
close && React.createElement(Close, { action: props.onClose }),
|
|
25
26
|
React.createElement(Delete, { action: onItemDelete }))),
|
|
26
27
|
React.createElement(UnitAvatar, { unit: riskProfile.unit, size: 70 }),
|
|
27
28
|
React.createElement("div", { className: "unit-name" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/components/RiskProfileHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,8DAA8D,CAAC;AACtF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,eAAe,GAAG,CAAC,KAKxB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACtC,MAAM,KAAK,GAAG,mBAAmB,EAAE,CAAC;IACpC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,WAAW,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,WAAW,CAAC,MAAM;YAC5C,6BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC;gBAClC,6BAAK,SAAS,EAAC,kBAAkB;oBAChC,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;wBAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,GAAI;wBACpC,oBAAC,MAAM,IAAC,MAAM,EAAE,QAAQ,GAAI;wBAC3B,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI;wBAC1C,oBAAC,MAAM,IAAC,MAAM,EAAE,YAAY,GAAI,CACvB,CACL;gBACN,oBAAC,UAAU,IAAC,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAI;gBAChD,6BAAK,SAAS,EAAC,WAAW;oBACzB,oBAAC,iBAAiB,IAAC,EAAE,EAAE,MAAA,WAAW,CAAC,IAAI,0CAAE,EAAE,EAAE,IAAI,EAAE,MAAA,WAAW,CAAC,IAAI,0CAAE,IAAI,GAAI,CACxE,CACD,CACI,CACX,CAAA;KAAA,CAAC,CAAC;IAEH,uBAAuB;IACvB,KAAK,UAAU,YAAY;QAC1B,MAAM,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACzB,WAAW,CAAC,GAAG,EAAE;YAChB,YAAa,CAAC,UAAU,EAAE,CAAC;QAC5B,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -5,7 +5,7 @@ import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog
|
|
|
5
5
|
import RiskProfileProperties from "../RiskProfileProperties";
|
|
6
6
|
import "./index.less";
|
|
7
7
|
const RiskProfileQuickView = (props) => {
|
|
8
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "risk-profile-quick-view", header: React.createElement(RiskProfileHead, { id: props.id }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
8
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "risk-profile-quick-view", header: React.createElement(RiskProfileHead, { id: props.id, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
9
9
|
React.createElement(RiskProfileProperties, { id: props.id }))));
|
|
10
10
|
};
|
|
11
11
|
export default RiskProfileQuickView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,cAAc,CAAC;AAEtB,MAAM,oBAAoB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAChG,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,yBAAyB,EACnC,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/components/RiskProfileQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,cAAc,CAAC;AAEtB,MAAM,oBAAoB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAChG,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,yBAAyB,EACnC,MAAM,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI,EACxE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,oBAAC,qBAAqB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CACtB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,42 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React, { useState } from "react";
|
|
1
|
+
import React from "react";
|
|
3
2
|
import { faAlignLeft } from "@fortawesome/pro-light-svg-icons";
|
|
4
3
|
import RelatedWorkList from "@voplus/morpho-workspace/es/modules/work/components/RelatedWorkList";
|
|
5
|
-
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
6
4
|
import Properties from "../CLDAProperties";
|
|
7
|
-
import
|
|
8
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
5
|
+
import DocumentQuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
|
9
6
|
import { observe } from "@voplus/morpho-ui";
|
|
10
|
-
import styles from "./index.less";
|
|
11
|
-
import { useCLDA } from "../../../../../data/clda";
|
|
12
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
13
7
|
const CLDAQuickViewDialog = (props) => {
|
|
14
8
|
const { id } = props;
|
|
15
|
-
|
|
16
|
-
const CLDA = useCLDA(id);
|
|
17
|
-
const [loaded, setLoaded] = useState(true);
|
|
18
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null,
|
|
19
|
-
loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px 44px 0 20px" } })),
|
|
20
|
-
React.createElement("div", { className: styles["header-bar-tool"] },
|
|
21
|
-
React.createElement("div", null),
|
|
22
|
-
React.createElement("div", { className: "tools-bar" },
|
|
23
|
-
React.createElement(ToolBar, { id: id },
|
|
24
|
-
React.createElement(Reload, { action: onReload }),
|
|
25
|
-
React.createElement(Open, { url: meta.getRoute(CLDA) }))))), items: [
|
|
9
|
+
return observe(() => (React.createElement(DocumentQuickViewDialog, { ...props, subButtons: [{ name: "Document" }, { name: "Activities" }, { name: "Link" }], items: [
|
|
26
10
|
{
|
|
27
11
|
name: "properties",
|
|
28
12
|
icon: faAlignLeft,
|
|
29
13
|
title: "Display properties separately",
|
|
30
14
|
detail: React.createElement(Properties, { id: id }),
|
|
31
15
|
},
|
|
32
|
-
] },
|
|
33
|
-
|
|
34
|
-
function onReload() {
|
|
35
|
-
setLoaded(false);
|
|
36
|
-
setTimeout(() => {
|
|
37
|
-
setLoaded(true);
|
|
38
|
-
}, 100);
|
|
39
|
-
}
|
|
16
|
+
] },
|
|
17
|
+
React.createElement(RelatedWorkList, { id: id, title: "Related Works" }))));
|
|
40
18
|
};
|
|
41
19
|
export default CLDAQuickViewDialog;
|
|
42
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qEAAqE,CAAC;AAClG,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,uBAAuB,OACnB,KAAK,EACT,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAC5E,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,+BAA+B;gBACtC,MAAM,EAAE,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI;aAC9B;SACD;QAED,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAC,eAAe,GAAG,CACxB,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/controls/CLDAStatusButton/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/controls/CLDAStatusButton/index.tsx"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC1E,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QAC9F,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,EAAE,mBAAmB,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC;QAClF,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,oBAAoB,CAAC,EAC3C,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
|
+
import { Open, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import CompanyRegisterMenu from "../../controls/CompanyRegisterMenu";
|
|
5
5
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
@@ -7,13 +7,14 @@ import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAler
|
|
|
7
7
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar/LoadedUnitAvatar";
|
|
8
8
|
import styles from "./index.less";
|
|
9
9
|
const CompanyRegisterHead = (props) => {
|
|
10
|
-
const { register, store, openUrl, accessDisabled } = props;
|
|
10
|
+
const { register, store, openUrl, accessDisabled, close } = props;
|
|
11
11
|
return observe(() => {
|
|
12
12
|
var _a, _b;
|
|
13
13
|
return (React.createElement("div", { className: styles["register-head"] },
|
|
14
14
|
React.createElement("div", { className: "tool-bar-content" },
|
|
15
15
|
React.createElement(ToolBar, { showMenu: false },
|
|
16
16
|
React.createElement(Open, { url: openUrl }),
|
|
17
|
+
close && React.createElement(Close, { action: props.onClose }),
|
|
17
18
|
React.createElement(CompanyRegisterMenu, { id: register.id, unitId: (_a = register.contact) === null || _a === void 0 ? void 0 : _a.id, accessDisabled: accessDisabled, store: store, closeAside: true }))),
|
|
18
19
|
React.createElement(UnitAvatar, { unit: register.contact, size: 70 }),
|
|
19
20
|
React.createElement("div", { className: "register-name" }, ((_b = register.identity) === null || _b === void 0 ? void 0 : _b.fullName) ? (register.identity.fullName) : register.contact ? (React.createElement(UnitNameNoteAlert, { id: register.contact.id, name: register.contact.name })) : null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyRegisterHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyRegisterHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,8DAA8D,CAAC;AACtF,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,mBAAmB,GAAG,CAAC,KAO5B,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAElE,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC;YACtC,6BAAK,SAAS,EAAC,kBAAkB;gBAChC,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK;oBACvB,oBAAC,IAAI,IAAC,GAAG,EAAE,OAAO,GAAI;oBACrB,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI;oBAC1C,oBAAC,mBAAmB,IACnB,EAAE,EAAE,QAAQ,CAAC,EAAE,EACf,MAAM,EAAE,MAAA,QAAQ,CAAC,OAAO,0CAAE,EAAE,EAC5B,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,KAAK,EACZ,UAAU,SACT,CACO,CACL;YACN,oBAAC,UAAU,IAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,GAAI;YAChD,6BAAK,SAAS,EAAC,eAAe,IAC5B,CAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,QAAQ,EAAC,CAAC,CAAC,CAC9B,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAC1B,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CACtB,oBAAC,iBAAiB,IAAC,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CACH;YACN,6BAAK,SAAS,EAAC,eAAe,IAAE,CAAC,QAAqB,aAArB,QAAQ,uBAAR,QAAQ,CAAe,QAAQ,KAAI,QAAQ,CAAO,CAC9E,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import classnames from "classnames";
|
|
3
|
-
import { State } from "@voplus/morpho-ui/es/controls/DocumentStatusLabel/state";
|
|
4
3
|
import "./index.less";
|
|
5
4
|
import { observe } from "@voplus/morpho-ui";
|
|
6
5
|
const ControllerStatusLabel = (props) => {
|
|
7
6
|
var _a;
|
|
8
|
-
const
|
|
9
|
-
const item = state.transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
7
|
+
const item = transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
10
8
|
return observe(() => (React.createElement("div", { className: classnames("controller-status-button", props.className, item.colorName) }, item.displayName ? (React.createElement(React.Fragment, null,
|
|
11
9
|
React.createElement("i", null),
|
|
12
10
|
React.createElement("span", null, item.displayName))) : null)));
|
|
11
|
+
function transformStatus(name, displayName) {
|
|
12
|
+
return {
|
|
13
|
+
name: name,
|
|
14
|
+
displayName: displayName || (name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join(" ")),
|
|
15
|
+
colorName: `${name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join("-").toLowerCase()}`,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
13
18
|
};
|
|
14
19
|
export default ControllerStatusLabel;
|
|
15
20
|
//# sourceMappingURL=ControllerStatusLabel2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ControllerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,KAA8C,EAAE,EAAE;;IAChF,MAAM,IAAI,GAAG,eAAe,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAC;IAEjD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,0BAA0B,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IACrF,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CACnB;QACC,8BAAK;QACL,kCAAO,IAAI,CAAC,WAAW,CAAQ,CAC7B,CACH,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,IAAY,EAAE,WAAoB;QAC1D,OAAO;YACN,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,WAAW,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;YAC9D,SAAS,EAAE,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CACf,KAAK,CAAC,WAAW,EAClB,IAAI,CAAC,GAAG,EACR,WAAW,EAAE,EAAE;SACjB,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
4
|
+
import { Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
4
5
|
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
5
6
|
import IdentityMenu from "../../controls/IdentityMenu";
|
|
6
7
|
import IdentityInformation from "../IdentityInformation";
|
|
@@ -11,6 +12,7 @@ const IdentifyQuickViewDialog = (props) => {
|
|
|
11
12
|
React.createElement("div", { className: "identify-quickView-title" }, `${identityName} Identity`),
|
|
12
13
|
React.createElement("div", { className: "tools-bar" },
|
|
13
14
|
React.createElement(ToolBar, { id: props.identityId, showMenu: false },
|
|
15
|
+
React.createElement(Close, { action: props.onCancel }),
|
|
14
16
|
React.createElement(IdentityMenu, { id: props.identityId, size: "middle" })))), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
15
17
|
React.createElement("div", { className: styles["identify-quickView-dialog-content"] },
|
|
16
18
|
React.createElement(IdentityInformation, { id: identityId })))));
|
package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACJ,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,IACf,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EACL,6BAAK,SAAS,EAAE,MAAM,CAAC,kCAAkC,CAAC;YACzD,6BAAK,SAAS,EAAC,0BAA0B,IAAE,GAAG,YAAY,WAAW,CAAO;YAC5E,6BAAK,SAAS,EAAC,WAAW;gBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK;oBAC7C,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAC,QAAQ,GAAG,CAC3C,CACL,CACD,EAEP,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,6BAAK,SAAS,EAAE,MAAM,CAAC,mCAAmC,CAAC;YAC1D,oBAAC,mBAAmB,IAAC,EAAE,EAAE,UAAU,GAAI,CAClC,CACW,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAC5E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACJ,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,IACf,EAAE,EAAE,KAAK,CAAC,UAAU,EACpB,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,MAAM,EACL,6BAAK,SAAS,EAAE,MAAM,CAAC,kCAAkC,CAAC;YACzD,6BAAK,SAAS,EAAC,0BAA0B,IAAE,GAAG,YAAY,WAAW,CAAO;YAC5E,6BAAK,SAAS,EAAC,WAAW;gBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK;oBAC7C,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,GAAI;oBACjC,oBAAC,YAAY,IAAC,EAAE,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAC,QAAQ,GAAG,CAC3C,CACL,CACD,EAEP,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,6BAAK,SAAS,EAAE,MAAM,CAAC,mCAAmC,CAAC;YAC1D,oBAAC,mBAAmB,IAAC,EAAE,EAAE,UAAU,GAAI,CAClC,CACW,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: space-between;
|
|
37
|
-
padding:
|
|
37
|
+
padding: 20px;
|
|
38
38
|
|
|
39
39
|
:global {
|
|
40
40
|
.identify-quickView-title {
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: 16px;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.tools-bar {
|
|
45
|
-
padding-top: 10px;
|
|
45
|
+
// padding-top: 10px;
|
|
46
46
|
align-self: flex-start !important;
|
|
47
47
|
}
|
|
48
48
|
}
|
package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const CompanyMemberQuickView = (props) => {
|
|
|
14
14
|
const member = useMember(props.id, { reload: true, includes: "permissions" });
|
|
15
15
|
const store = useMemberStore();
|
|
16
16
|
return observe(() => (React.createElement(Skeleton, { active: true, loading: !member.loaded },
|
|
17
|
-
React.createElement(QuickViewDialog, { ...props, className: "company-member-quick-view", header: React.createElement(CompanyMemberHead, { register: member, store: store, accessDisabled: !user.can("view", member.p, { asset: "Access" }), openUrl: `/member/${props.id}
|
|
17
|
+
React.createElement(QuickViewDialog, { ...props, className: "company-member-quick-view", header: React.createElement(CompanyMemberHead, { register: member, store: store, accessDisabled: !user.can("view", member.p, { asset: "Access" }), openUrl: `/member/${props.id}`, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
18
18
|
{
|
|
19
19
|
name: "Shares",
|
|
20
20
|
icon: faCircleQuarterStroke,
|
package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,cAAc,CAAC;AAEtB,MAAM,sBAAsB,GAAG,CAAC,KAI/B,EAAE,EAAE;IACJ,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAC9E,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,MAAM,CAAC,MAAM;QACvC,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,2BAA2B,EACrC,MAAM,EACL,oBAAC,iBAAiB,IACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAChE,OAAO,EAAE,WAAW,KAAK,CAAC,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,cAAc,CAAC;AAEtB,MAAM,sBAAsB,GAAG,CAAC,KAI/B,EAAE,EAAE;IACJ,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAC9E,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,MAAM,CAAC,MAAM;QACvC,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,2BAA2B,EACrC,MAAM,EACL,oBAAC,iBAAiB,IACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAChE,OAAO,EAAE,WAAW,KAAK,CAAC,EAAE,EAAE,EAC9B,KAAK,QACL,OAAO,EAAE,KAAK,CAAC,QAAQ,GACtB,EAEH,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,KAAK,EAAE;gBACN;oBACC,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,qBAAqB;oBAC3B,KAAK,EAAE,QAAQ;oBACf,MAAM,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;iBACjD;aACD;YAED,oBAAC,uBAAuB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CACxB,CACR,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import classnames from "classnames";
|
|
3
|
-
import { State } from "@voplus/morpho-ui/es/controls/DocumentStatusLabel/state";
|
|
4
3
|
import "./index.less";
|
|
5
4
|
import { observe } from "@voplus/morpho-ui";
|
|
6
5
|
const MemberStatusLabel = (props) => {
|
|
7
6
|
var _a;
|
|
8
|
-
const
|
|
9
|
-
const item = state.transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
7
|
+
const item = transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
10
8
|
return observe(() => (React.createElement("div", { className: classnames("member-status-button", props.className, item.colorName) }, item.displayName ? (React.createElement(React.Fragment, null,
|
|
11
9
|
React.createElement("span", null),
|
|
12
10
|
item.displayName)) : null)));
|
|
11
|
+
function transformStatus(name, displayName) {
|
|
12
|
+
return {
|
|
13
|
+
name: name,
|
|
14
|
+
displayName: displayName || (name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join(" ")),
|
|
15
|
+
colorName: `${name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join("-").toLowerCase()}`,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
13
18
|
};
|
|
14
19
|
export default MemberStatusLabel;
|
|
15
20
|
//# sourceMappingURL=MemberStatusLabel2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemberStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MemberStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,iBAAiB,GAAG,CAAC,KAA8C,EAAE,EAAE;;IAC5E,MAAM,IAAI,GAAG,eAAe,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAC;IAEjD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,sBAAsB,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IACjF,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CACnB;QACC,iCAAa;QACZ,IAAI,CAAC,WAAW,CACf,CACH,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,IAAY,EAAE,WAAoB;QAC1D,OAAO;YACN,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,WAAW,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;YAC9D,SAAS,EAAE,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CACf,KAAK,CAAC,WAAW,EAClB,IAAI,CAAC,GAAG,EACR,WAAW,EAAE,EAAE;SACjB,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -12,7 +12,7 @@ const OfficerQuickView = (props) => {
|
|
|
12
12
|
const officer = useOfficer(props.id, { reload: true, includes: "permissions" });
|
|
13
13
|
const store = useOfficerStore();
|
|
14
14
|
return observe(() => (React.createElement(Skeleton, { active: true, loading: !officer.loaded },
|
|
15
|
-
React.createElement(QuickViewDialog, { ...props, className: "company-officer-quick-view", header: React.createElement(OfficerHead, { register: officer, store: store, accessDisabled: !user.can("view", officer.p, { asset: "Access" }), openUrl: `/officer/${props.id}
|
|
15
|
+
React.createElement(QuickViewDialog, { ...props, className: "company-officer-quick-view", header: React.createElement(OfficerHead, { register: officer, store: store, accessDisabled: !user.can("view", officer.p, { asset: "Access" }), openUrl: `/officer/${props.id}`, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
16
16
|
React.createElement(OfficerProperties, { id: props.id })))));
|
|
17
17
|
};
|
|
18
18
|
export default OfficerQuickView;
|
package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC5F,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAChF,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM;QACxC,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,4BAA4B,EACtC,MAAM,EACL,oBAAC,WAAW,IACX,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EACjE,OAAO,EAAE,YAAY,KAAK,CAAC,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,WAAW,MAAM,yCAAyC,CAAC;AAClE,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC5F,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAAC;IAChF,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM;QACxC,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,4BAA4B,EACtC,MAAM,EACL,oBAAC,WAAW,IACX,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EACjE,OAAO,EAAE,YAAY,KAAK,CAAC,EAAE,EAAE,EAC/B,KAAK,QACL,OAAO,EAAE,KAAK,CAAC,QAAQ,GACtB,EAEH,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;YAE1D,oBAAC,iBAAiB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAClB,CACR,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import classnames from "classnames";
|
|
3
|
-
import { State } from "@voplus/morpho-ui/es/controls/DocumentStatusLabel/state";
|
|
4
3
|
import "./index.less";
|
|
5
4
|
import { Tooltip } from "antd";
|
|
6
5
|
import { faBan, faHourglass, faPen, faCircleCheck } from "@fortawesome/pro-solid-svg-icons";
|
|
@@ -28,14 +27,20 @@ export function getColor(name) {
|
|
|
28
27
|
}
|
|
29
28
|
const OfficerStatusLabel = (props) => {
|
|
30
29
|
var _a;
|
|
31
|
-
const
|
|
32
|
-
const item = state.transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
30
|
+
const item = transformStatus((_a = props.status) !== null && _a !== void 0 ? _a : "");
|
|
33
31
|
return observe(() => (React.createElement(Tooltip, { title: item.displayName, color: getColor(item.displayName) },
|
|
34
32
|
React.createElement("span", { className: classnames("officer-status-button2", props.className, item.colorName) }, item.displayName ? (React.createElement(React.Fragment, null,
|
|
35
33
|
item.displayName === "Present" && (React.createElement(FAIcon, { icon: faCircleCheck, color: getColor(item.displayName) })),
|
|
36
34
|
item.displayName === "Need Identity" && (React.createElement(FAIcon, { icon: faBan, color: getColor(item.displayName) })),
|
|
37
35
|
item.displayName === "Past" && (React.createElement(FAIcon, { icon: faHourglass, color: getColor(item.displayName) })),
|
|
38
36
|
item.displayName === "Draft" && (React.createElement(FAIcon, { icon: faPen, color: getColor(item.displayName) })))) : null))));
|
|
37
|
+
function transformStatus(name, displayName) {
|
|
38
|
+
return {
|
|
39
|
+
name: name,
|
|
40
|
+
displayName: displayName || (name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join(" ")),
|
|
41
|
+
colorName: `${name === null || name === void 0 ? void 0 : name.split(/(?=[A-Z])/).join("-").toLowerCase()}`,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
39
44
|
};
|
|
40
45
|
export default OfficerStatusLabel;
|
|
41
46
|
//# sourceMappingURL=OfficerStatusLabel2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"OfficerStatusLabel2.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,UAAU,QAAQ,CAAC,IAAY;IACpC,IAAI,KAAK,GAAG,EAAE,CAAC;IACf,QAAQ,IAAI,EAAE,CAAC;QACd,KAAK,SAAS;YACb,KAAK,GAAG,SAAS,CAAC;YAClB,MAAM;QACP,KAAK,eAAe;YACnB,KAAK,GAAG,SAAS,CAAC;YAClB,MAAM;QACP,KAAK,MAAM;YACV,KAAK,GAAG,SAAS,CAAC;YAClB,MAAM;QACP,KAAK,OAAO;YACX,KAAK,GAAG,SAAS,CAAC;YAClB,MAAM;QACP;YACC,MAAM;IACR,CAAC;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,kBAAkB,GAAG,CAAC,KAA8C,EAAE,EAAE;;IAC7E,MAAM,IAAI,GAAG,eAAe,CAAC,MAAA,KAAK,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAC;IAEjD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,OAAO,IAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;QAClE,8BAAM,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IACpF,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CACnB;YACE,IAAI,CAAC,WAAW,KAAK,SAAS,IAAI,CAClC,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAI,CAClE;YACA,IAAI,CAAC,WAAW,KAAK,eAAe,IAAI,CACxC,oBAAC,MAAM,IAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAI,CAC1D;YACA,IAAI,CAAC,WAAW,KAAK,MAAM,IAAI,CAC/B,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAI,CAChE;YACA,IAAI,CAAC,WAAW,KAAK,OAAO,IAAI,CAChC,oBAAC,MAAM,IAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,GAAI,CAC1D,CACC,CACH,CAAC,CAAC,CAAC,IAAI,CACF,CACE,CACV,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,IAAY,EAAE,WAAoB;QAC1D,OAAO;YACN,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,WAAW,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;YAC9D,SAAS,EAAE,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CACf,KAAK,CAAC,WAAW,EAClB,IAAI,CAAC,GAAG,EACR,WAAW,EAAE,EAAE;SACjB,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
2
|
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import
|
|
5
|
-
import { useShareTransaction } from "../../../../../../data/share-transaction";
|
|
6
|
-
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
7
|
-
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
8
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
3
|
+
import DocumentQuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
|
9
4
|
import ShareTransactionProperties from "../ShareTransactionProperties";
|
|
10
5
|
const ShareTransactionQuickViewDialog = (props) => {
|
|
11
6
|
const { id } = props;
|
|
12
|
-
|
|
13
|
-
const shareTransaction = useShareTransaction(id);
|
|
14
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, style: { paddingRight: "44px" }, tools: React.createElement(ToolBar, { id: id },
|
|
15
|
-
React.createElement(Open, { url: meta.getRoute(shareTransaction) })) }) },
|
|
7
|
+
return observe(() => (React.createElement(DocumentQuickViewDialog, { ...props, subButtons: [{ name: "Document" }, { name: "Activities" }, { name: "Link" }] },
|
|
16
8
|
React.createElement(ShareTransactionProperties, { id: id }))));
|
|
17
9
|
};
|
|
18
10
|
export default ShareTransactionQuickViewDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,MAAM,+BAA+B,GAAG,CAAC,KAIxC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,uBAAuB,OACnB,KAAK,EACT,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,GAAI,CACb,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -10,7 +10,7 @@ const FilingHeader = (props) => {
|
|
|
10
10
|
const filing = useFilingRecore(id);
|
|
11
11
|
return observe(() => (React.createElement(NodeHeaderLayout, { content: filing.name, tool: React.createElement(ToolBar, { id: id, showMenu: false },
|
|
12
12
|
React.createElement(Open, { url: `/filings/${id}` }),
|
|
13
|
-
close && React.createElement(Close,
|
|
13
|
+
close && React.createElement(Close, { action: props.onClose }),
|
|
14
14
|
React.createElement(FilingRecoreMenu, { id: id })) })));
|
|
15
15
|
};
|
|
16
16
|
export default FilingHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,YAAY,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,YAAY,GAAG,CAAC,KAA4D,EAAE,EAAE;IACrF,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,MAAM,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,IAChB,OAAO,EAAE,MAAM,CAAC,IAAI,EACpB,IAAI,EACH,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;YAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,YAAY,EAAE,EAAE,GAAI;YAC9B,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI;YAC1C,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,CACnB,GAEV,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -6,7 +6,7 @@ import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog
|
|
|
6
6
|
import "./index.less";
|
|
7
7
|
const FilingQuickViewDialog = (props) => {
|
|
8
8
|
const { id } = props;
|
|
9
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filing-quick-view", subButtons: [{ name: "Document" }, { name: "Activities" }], header: React.createElement(FilingRecordHeader, { id: id }) },
|
|
9
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filing-quick-view", subButtons: [{ name: "Document" }, { name: "Activities" }], header: React.createElement(FilingRecordHeader, { id: id, close: true, onClose: props.onCancel }) },
|
|
10
10
|
React.createElement(FilingRecordProperties, { id: id }))));
|
|
11
11
|
};
|
|
12
12
|
export default FilingQuickViewDialog;
|
package/es/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,CAAC,KAA+D,EAAE,EAAE;IACjG,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,mBAAmB,EAC7B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,MAAM,EAAE,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,CAAC,KAA+D,EAAE,EAAE;IACjG,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,mBAAmB,EAC7B,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,MAAM,EAAE,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI;QAErE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CACjB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -10,7 +10,7 @@ const FilingTypeHead = (props) => {
|
|
|
10
10
|
const filingType = useFilingType(id);
|
|
11
11
|
return observe(() => (React.createElement(NodeHeaderLayout, { content: filingType.name, tool: React.createElement(ToolBar, { id: id, showMenu: false },
|
|
12
12
|
React.createElement(Open, { url: `/filing-types/${id}` }),
|
|
13
|
-
close && React.createElement(Close,
|
|
13
|
+
close && React.createElement(Close, { action: props.onClose }),
|
|
14
14
|
React.createElement(FilingTypeMenu, { id: id, closeAside: true })) })));
|
|
15
15
|
};
|
|
16
16
|
export default FilingTypeHead;
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D,MAAM,cAAc,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D,MAAM,cAAc,GAAG,CAAC,KAA4D,EAAE,EAAE;IACvF,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE5B,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,IAChB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,IAAI,EACH,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;YAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,GAAI;YACnC,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI;YAC1C,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC5B,GAEV,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import React from "react";
|
|
|
5
5
|
import QuickViewDialog from "@voplus/morpho-document/es/controls/QuickViewDialog";
|
|
6
6
|
import { observe } from "@voplus/morpho-ui";
|
|
7
7
|
const FilingTypeQuickView = (props) => {
|
|
8
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingType-quick-view", header: React.createElement(FilingTypeHead, { id: props.id }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
8
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingType-quick-view", header: React.createElement(FilingTypeHead, { id: props.id, close: true, onClose: props.onCancel }), subButtons: [{ name: "Document" }, { name: "Activities" }] },
|
|
9
9
|
React.createElement(FilingTypeProperties, { id: props.id }))));
|
|
10
10
|
};
|
|
11
11
|
export default FilingTypeQuickView;
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeQuickView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI,EACvE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,oBAAC,oBAAoB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CACrB,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { Open, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
4
4
|
import { useFilingYear } from "../../../../../../data/filing-year";
|
|
5
5
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
6
6
|
import NodeHeaderLayout from "@voplus/morpho-ui/es/controls/NodeHeaderLayout";
|
|
7
7
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
8
8
|
import FilingYearMenu from "../../controls/FilingYearMenu";
|
|
9
9
|
const FilingYearHeader = (props) => {
|
|
10
|
-
const { id } = props;
|
|
10
|
+
const { id, close } = props;
|
|
11
11
|
const filingYear = useFilingYear(id);
|
|
12
12
|
return observe(() => (React.createElement(NodeHeaderLayout, { content: React.createElement(React.Fragment, null,
|
|
13
13
|
"Filing Year ",
|
|
14
14
|
React.createElement(UTCShortDate, { value: filingYear.fYE })), tool: React.createElement(ToolBar, { id: id, showMenu: false },
|
|
15
15
|
React.createElement(Open, { url: `/filing-years/${id}` }),
|
|
16
|
+
close && React.createElement(Close, { action: props.onClose }),
|
|
16
17
|
React.createElement(FilingYearMenu, { id: id, closeAside: true })) })));
|
|
17
18
|
};
|
|
18
19
|
export default FilingYearHeader;
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D,MAAM,gBAAgB,GAAG,CAAC,KAA4D,EAAE,EAAE;IACzF,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE5B,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,IAChB,OAAO,EACN;;YACa,oBAAC,YAAY,IAAC,KAAK,EAAE,UAAU,CAAC,GAAG,GAAI,CACjD,EAEJ,IAAI,EACH,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;YAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,GAAI;YACnC,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,KAAK,CAAC,OAAO,GAAI;YAC1C,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC5B,GAEV,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import FilingTimeLine from "../../../components/FilingRecordTimeLine";
|
|
|
8
8
|
import "./index.less";
|
|
9
9
|
const FilingYearQuickViewDialog = (props) => {
|
|
10
10
|
const { id } = props;
|
|
11
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, className: "filingYear-quick-view", header: React.createElement(FilingYearHeader, { id: id }), subButtons: [{ name: "Document" }, { name: "Activities" }], items: [
|
|
11
|
+
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: [
|
|
12
12
|
{
|
|
13
13
|
name: "properties",
|
|
14
14
|
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,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,MAAM,0CAA0C,CAAC;AACtE,OAAO,cAAc,CAAC;AAEtB,MAAM,yBAAyB,GAAG,CAAC,KAIlC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,GAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,cAAc,MAAM,0CAA0C,CAAC;AACtE,OAAO,cAAc,CAAC;AAEtB,MAAM,yBAAyB,GAAG,CAAC,KAIlC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,OACX,KAAK,EACT,SAAS,EAAC,uBAAuB,EACjC,MAAM,EAAE,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,GAAI,EACnE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1D,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,+BAA+B;gBACtC,MAAM,EAAE,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAE,GAAI;aACxC;SACD;QAED,oBAAC,cAAc,IAAC,YAAY,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAI,CAChD,CAClB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import { Open, Reload } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
|
+
import { Open, Reload, Close } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
4
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
5
5
|
import { useShareCertificate } from "../../../../../data/share-certificate";
|
|
@@ -12,9 +12,10 @@ const ShareCertificateQuickViewDialog = (props) => {
|
|
|
12
12
|
const [loaded, setLoaded] = useState(true);
|
|
13
13
|
const meta = useMetaStore();
|
|
14
14
|
const shareCertificate = useShareCertificate(id, { reload: true });
|
|
15
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null, loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false,
|
|
15
|
+
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null, loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, tools: React.createElement(ToolBar, { id: id },
|
|
16
|
+
React.createElement(Open, { url: meta.getRoute(shareCertificate) }),
|
|
16
17
|
React.createElement(Reload, { action: onReload }),
|
|
17
|
-
React.createElement(
|
|
18
|
+
React.createElement(Close, { action: props.onCancel })) }))) },
|
|
18
19
|
React.createElement(ShareCertificateProperties, { id: id, onReloadMenu: onReload }))));
|
|
19
20
|
/** reload data */
|
|
20
21
|
function onReload() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;
|
|
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,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,OAAO,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,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAEnE,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;QAGlB,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"}
|
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
2
1
|
import React from "react";
|
|
3
|
-
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
4
2
|
import Properties from "../CLDAFormProperties";
|
|
5
|
-
import
|
|
6
|
-
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
3
|
+
import DocumentQuickViewDialog from "@voplus/morpho-document/es/components/DocumentQuickViewDialog";
|
|
7
4
|
import { observe } from "@voplus/morpho-ui";
|
|
8
|
-
import { useCLDAForm } from "../../../../../data/clda-form";
|
|
9
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
10
5
|
const CLDAFormQuickViewDialog = (props) => {
|
|
11
6
|
const { id } = props;
|
|
12
|
-
|
|
13
|
-
const incorporation = useCLDAForm(id, { includes: "tags" });
|
|
14
|
-
return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, style: { paddingRight: "44px" }, tools: React.createElement(ToolBar, { id: id },
|
|
15
|
-
React.createElement(Open, { url: meta.getRoute(incorporation) })) }) },
|
|
7
|
+
return observe(() => (React.createElement(DocumentQuickViewDialog, { ...props, subButtons: [{ name: "Document" }, { name: "Activities" }, { name: "Link" }] },
|
|
16
8
|
React.createElement(Properties, { id: id }))));
|
|
17
9
|
};
|
|
18
10
|
export default CLDAFormQuickViewDialog;
|
package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,uBAAuB,GAAG,CAAC,KAIhC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,uBAAuB,OACnB,KAAK,EACT,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAE5E,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,GAAI,CACG,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
-
|
|
3
|
-
:global {
|
|
4
|
-
.clda-status-button {
|
|
5
|
-
color: white;
|
|
6
|
-
width: 130px !important;
|
|
7
|
-
border: unset !important;
|
|
8
|
-
&.notified,
|
|
9
|
-
&.notified:hover {
|
|
10
|
-
background: #b7eb8f;
|
|
11
|
-
}
|
|
12
|
-
&.opened,
|
|
13
|
-
&.opened:hover {
|
|
14
|
-
background: #faad14;
|
|
15
|
-
}
|
|
16
|
-
&.select-mode,
|
|
17
|
-
&.select-mode:hover {
|
|
18
|
-
background: #ff5c86;
|
|
19
|
-
}
|
|
20
|
-
&.email-confirmation,
|
|
21
|
-
&.email-confirmation:hover {
|
|
22
|
-
background: #4bd8e0;
|
|
23
|
-
}
|
|
24
|
-
&.working,
|
|
25
|
-
&.working:hover {
|
|
26
|
-
background: #8c3cee;
|
|
27
|
-
}
|
|
28
|
-
&.completed,
|
|
29
|
-
&.completed:hover {
|
|
30
|
-
background: #52c41a;
|
|
31
|
-
}
|
|
32
|
-
&.ready,
|
|
33
|
-
&.ready:hover {
|
|
34
|
-
background: #8291ea;
|
|
35
|
-
}
|
|
36
|
-
&.signing,
|
|
37
|
-
&.signing:hover {
|
|
38
|
-
background: #c855cd;
|
|
39
|
-
}
|
|
40
|
-
&.progress,
|
|
41
|
-
&.progress:hover {
|
|
42
|
-
background: @progress-color;
|
|
43
|
-
}
|
|
44
|
-
&.closed,
|
|
45
|
-
&.closed:hover {
|
|
46
|
-
background: @closed-color;
|
|
47
|
-
}
|
|
48
|
-
&.done,
|
|
49
|
-
&.done:hover {
|
|
50
|
-
background: @done-color;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.clda-status-label {
|
|
54
|
-
.ant-dropdown-menu-item:last-child {
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|