@voplus/morpho-csp 4.0.33 → 4.0.34
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/components/CurrencyView/index.d.ts +1 -1
- package/es/components/Header/index.d.ts +1 -1
- package/es/components/NewTypeDropdown/index.d.ts +1 -1
- package/es/data/CLDA/metas.d.ts +2 -2
- package/es/data/clda-form/CLDAFormContent.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchSearchDialog/index.js +2 -6
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchSearchDialog/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/controls/RiskMatchDataBar/index.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileDataBar/index.d.ts +2 -2
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.d.ts +6 -12
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +24 -87
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.less +1 -93
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.d.ts +8 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.js +19 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/ImportRelative.js.map +1 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/Search.d.ts +9 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/Search.js +26 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/Search.js.map +1 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/index.d.ts +2 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/index.js +3 -0
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/items/index.js.map +1 -0
- package/es/modules/corporate/clda/controls/CLDADataBar/index.d.ts +2 -2
- package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js +26 -12
- package/es/modules/corporate/clda/controls/CLDAMenu/items/SendCLDA.js.map +1 -1
- package/es/modules/corporate/clda/controls/filters/CLDASigningModeFilter/state.d.ts +2 -2
- package/es/modules/corporate/clda/pages/CLDAClientView/components/DigitalSigningStep/index.d.ts +2 -2
- package/es/modules/corporate/company/components/InlineEditCountry/index.d.ts +2 -2
- package/es/modules/corporate/company/components/InlineEditType/index.d.ts +2 -2
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +6 -7
- package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.d.ts +8 -13
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +28 -79
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/Paste.d.ts +8 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/Paste.js +38 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/Paste.js.map +1 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/PasteShortcut.d.ts +9 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/PasteShortcut.js +33 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/PasteShortcut.js.map +1 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/index.d.ts +2 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/index.js +3 -0
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/items/index.js.map +1 -0
- package/es/modules/corporate/company/controls/CorporateMenu/index.d.ts +5 -12
- package/es/modules/corporate/company/controls/CorporateMenu/index.js +19 -96
- package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
- package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.d.ts +8 -0
- package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js +18 -0
- package/es/modules/corporate/company/controls/CorporateMenu/items/Disabled.js.map +1 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.d.ts +1 -1
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js +2 -2
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.d.ts +2 -2
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.d.ts +2 -2
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js +5 -11
- package/es/modules/corporate/company/officer-register/components/SelectOfficerForm/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.d.ts +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.d.ts +2 -2
- package/es/modules/corporate/components/Statement/index.d.ts +2 -2
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeDataBar/index.d.ts +2 -2
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.d.ts +5 -11
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js +4 -46
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/NewFilingYearDialog/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AGM/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AGM/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AGMNomineeStatement/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AgentAppointment/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AgentAppointment/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/AppointOfficer/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/BankOpening/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/BankOpening/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ChangeAddress/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ChangeAddress/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ChangeCompanyName/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ChangeFYE/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ChangeFYE/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ConsolidateDivide/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ConsolidateDivide/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ContractAgreement/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/CorporateRepresentative/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/DispenseAGM/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/DispenseAGM/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/EmptyResolution/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/Footer/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/IncorporationDocuments/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/IncorporationDocuments/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/IssueShares/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/IssueShares/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/NomineeAppointment/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/NomineeAppointment/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/NomineeTerminationForm/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/NomineeTerminationForm/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/NoticeOfResolution/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/PowerOfAttroney/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ResignationLetter/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ResignationLetter/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ShareReduction/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ShareReduction/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Fields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/ShareTransfer/Form.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/StrikeOff/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/components/SubmitButton/index.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/AGMNomineeStatementFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/AppointOfficerFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/ChangeCompanyNameFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/ContractAgreementFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/CorporateRepresentativeFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/EmptyResolutionFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/NoticeOfResolutionFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/fields/StrikeOffFields.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/AGMNomineeStatementForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/AppointOfficerForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/ChangeCompanyNameForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/ContractAgreementForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/CorporateRepresentativeForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/EmptyResolutionForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/NoticeOfResolutionForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/form/StrikeOffForm.d.ts +2 -2
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.d.ts +2 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.d.ts +2 -2
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.d.ts +2 -2
- package/es/modules/self-registration/clda-form/IncorporationFormRoutes.d.ts +2 -2
- package/es/modules/self-registration/clda-form/Upload/index.d.ts +2 -2
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js +2 -8
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddAllotmentDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js +2 -7
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddBankOpeningDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js +2 -6
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddDivideDialog/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js +2 -8
- package/es/modules/self-registration/clda-form/incorporation/company-general/components/AddTransferDialog/index.js.map +1 -1
- package/es/modules/self-registration/components/Card/index.d.ts +2 -2
- package/es/modules/self-registration/components/CheckSection/index.d.ts +1 -1
- package/es/modules/self-registration/controls/Blink/index.d.ts +2 -2
- package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +2 -2
- package/es/modules/self-registration/controls/Section/index.d.ts +1 -1
- package/es/modules/self-registration/controls/Tips/BusinessActivityTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/BusinessNameTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/CapitalTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/DirectorTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/FYETip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/IncorporationTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/RegisteredAddressTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/SecretaryTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/ShareholderTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/SharesTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/Tip.d.ts +1 -1
- package/es/modules/self-registration/controls/Tips/vgb/BusinessNameTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/vgb/CapitalTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/vgb/RecordAddressTip.d.ts +2 -2
- package/es/modules/self-registration/controls/Tips/vgb/TradingAddressTip.d.ts +2 -2
- package/es/modules/self-registration/shopping-cart/Paid.d.ts +2 -2
- package/es/obsolete/order/controls/IncorporationStatusLabel/index.d.ts +2 -2
- package/es/routes.d.ts +27 -33
- package/es/routes.js +0 -13
- package/es/routes.js.map +1 -1
- package/es/services/CLDAActivityLogRenderer.d.ts +1 -1
- package/package.json +1 -1
- package/es/data/account/AccountStore.d.ts +0 -17
- package/es/data/account/AccountStore.js +0 -58
- package/es/data/account/AccountStore.js.map +0 -1
- package/es/data/account/hooks.d.ts +0 -9
- package/es/data/account/hooks.js +0 -19
- package/es/data/account/hooks.js.map +0 -1
- package/es/data/account/interfaces.d.ts +0 -15
- package/es/data/account/interfaces.js +0 -2
- package/es/data/account/interfaces.js.map +0 -1
- package/es/modules/account/components/AccountOrganizations/index.d.ts +0 -6
- package/es/modules/account/components/AccountOrganizations/index.js +0 -63
- package/es/modules/account/components/AccountOrganizations/index.js.map +0 -1
- package/es/modules/account/components/AccountOrganizations/index.less +0 -26
- package/es/modules/account/components/AccountPropertiesView/index.d.ts +0 -6
- package/es/modules/account/components/AccountPropertiesView/index.js +0 -20
- package/es/modules/account/components/AccountPropertiesView/index.js.map +0 -1
- package/es/modules/account/components/AccountPropertiesView/index.less +0 -10
- package/es/modules/account/pages/AccountDefaultView/index.d.ts +0 -4
- package/es/modules/account/pages/AccountDefaultView/index.js +0 -33
- package/es/modules/account/pages/AccountDefaultView/index.js.map +0 -1
- package/es/modules/account/pages/AccountDefaultView/index.less +0 -8
- package/es/modules/corporate/clda/components/CLDASendForm/index.d.ts +0 -12
- package/es/modules/corporate/clda/components/CLDASendForm/index.js +0 -43
- package/es/modules/corporate/clda/components/CLDASendForm/index.js.map +0 -1
- package/es/modules/corporate/clda/components/CLDASendForm/index.less +0 -48
- package/es/modules/corporate/clda/components/CLDASendForm/state.d.ts +0 -4
- package/es/modules/corporate/clda/components/CLDASendForm/state.js +0 -17
- package/es/modules/corporate/clda/components/CLDASendForm/state.js.map +0 -1
- package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.less +0 -97
- package/es/modules/corporate/company/controls/CorporateMenu/index.less +0 -97
- package/es/modules/corporate/filing-record/filing-type/controls/FilingTypeMenu/index.less +0 -54
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
declare const InlineEditType: (props: {
|
|
3
3
|
type: string;
|
|
4
4
|
list: string[];
|
|
5
5
|
readonly?: boolean | undefined;
|
|
6
6
|
onSave?: ((value?: string) => Promise<void>) | undefined;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
8
|
export default InlineEditType;
|
package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Modal, message } from "antd";
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import SelectControllerList from "../SelectControllerList";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
@@ -8,15 +8,14 @@ const SelectControllerFormDialog = (props) => {
|
|
|
8
8
|
const store = useControllerStore();
|
|
9
9
|
const [ids, setIds] = useState([]);
|
|
10
10
|
const [loading, setLoading] = useState(false);
|
|
11
|
-
return observe(() => (React.createElement(Modal, { title: "Select Controller Form", className: styles["select-controller-form-dialog"], open: true,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
React.createElement(Button, { loading: loading, type: "primary", onClick: onSubmit }, "Submit"))), onCancel: props.onCancel },
|
|
11
|
+
return observe(() => (React.createElement(Modal, { title: "Select Controller Form", className: styles["select-controller-form-dialog"], open: true, okButtonProps: {
|
|
12
|
+
loading: loading,
|
|
13
|
+
}, closable: false, okText: "Submit", onCancel: onCancel, onOk: onSubmit },
|
|
15
14
|
React.createElement(SelectControllerList, { parentId: props.parentId, onCheckedItem: (ids) => setIds(ids) }))));
|
|
16
15
|
function onCancel() {
|
|
16
|
+
var _a;
|
|
17
17
|
setIds([]);
|
|
18
|
-
|
|
19
|
-
props.onCancel();
|
|
18
|
+
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
20
19
|
}
|
|
21
20
|
async function onSubmit() {
|
|
22
21
|
if (!ids.length) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/SelectControllerForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/SelectControllerForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,0BAA0B,GAAG,CAAC,KAInC,EAAE,EAAE;IACJ,MAAM,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"../../../../../data/member";
|
|
3
3
|
import { OfficerStore } from "../../../../../data/officer";
|
|
4
4
|
import { ControllerStore } from "../../../../../data/controller";
|
|
5
|
-
declare const CompanyRegisterMenu: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}): JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
icon: JSX.Element;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
5
|
+
declare const CompanyRegisterMenu: (props: {
|
|
6
|
+
id: string;
|
|
7
|
+
unitId: string;
|
|
8
|
+
store: MemberStore | OfficerStore | ControllerStore;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
closeAside?: boolean;
|
|
12
|
+
}) => JSX.Element;
|
|
18
13
|
export default CompanyRegisterMenu;
|
|
@@ -1,93 +1,42 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button, Dropdown } from "antd";
|
|
3
|
+
import { Paste, PasteShortcut } from "./items";
|
|
4
4
|
import { useUnit } from "@voplus/morpho-org";
|
|
5
|
-
import {
|
|
5
|
+
import { faAngleLeft, faBuilding, faPanelEws, faAddressCard, faChartUser, } from "@fortawesome/pro-light-svg-icons";
|
|
6
6
|
import { observe, useAsideContentContext } from "@voplus/morpho-ui";
|
|
7
7
|
import { useListDataContext } from "@voplus/morpho-ui/es/data";
|
|
8
8
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
9
|
-
import { useDocumentStore, useMoveNodeInfoService, useDocument, } from "@voplus/morpho-document-core";
|
|
10
|
-
import PasteList from "@voplus/morpho-document/es/controls/PasteList";
|
|
11
|
-
import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
|
|
12
9
|
import Routes from "../../../../../routes";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
10
|
+
import NodeMenu from "@voplus/morpho-org/es/controls/NodeMenu";
|
|
11
|
+
import { Access, Delete, Open } from "@voplus/morpho-org/es/controls/NodeMenu/items";
|
|
15
12
|
const CompanyRegisterMenu = (props) => {
|
|
16
|
-
const document = useDocument(props.id);
|
|
17
|
-
const move = useMoveNodeInfoService();
|
|
18
|
-
const docStore = useDocumentStore();
|
|
19
13
|
const unit = useUnit(props.unitId);
|
|
20
|
-
const layout = useLayout();
|
|
21
14
|
const dataState = useListDataContext();
|
|
22
15
|
const asideContext = useAsideContentContext();
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
React.createElement(
|
|
32
|
-
React.createElement(
|
|
33
|
-
React.createElement(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
React.createElement(FAIcon, { icon: faBuilding }),
|
|
46
|
-
React.createElement("span", { className: "type-name" }, "View Corporate"))),
|
|
47
|
-
React.createElement(Menu.Item, { key: "ViewRiskProfile", disabled: !props.unitId, onClick: () => layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId)) },
|
|
48
|
-
React.createElement(FAIcon, { icon: faAddressCard }),
|
|
49
|
-
React.createElement("span", { className: "type-name" }, "View Risk Profile")),
|
|
50
|
-
React.createElement(Menu.Item, { key: "ViewCustomer", disabled: !props.unitId, onClick: () => layout.history.push(`/customer-empty/${props.unitId}`) },
|
|
51
|
-
React.createElement(FAIcon, { icon: faPanelEws }),
|
|
52
|
-
React.createElement("span", { className: "type-name" }, "View Customer")),
|
|
53
|
-
React.createElement(Menu.Item, { key: "Agent", disabled: !props.unitId, onClick: () => layout.history.push(`/agent-empty/${props.unitId}`) },
|
|
54
|
-
React.createElement(FAIcon, { icon: faChartUser }),
|
|
55
|
-
React.createElement("span", { className: "type-name" }, "View Agent"))),
|
|
56
|
-
React.createElement(Menu.Item, { key: "Delete", onClick: onDelete },
|
|
57
|
-
React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" }),
|
|
58
|
-
React.createElement("span", { className: "type-name delete" }, "Delete")))) },
|
|
59
|
-
React.createElement(Button, { size: "small", type: "link" }, props.icon)),
|
|
60
|
-
visible && React.createElement(PermissionModal, { id: props.id, onChange: () => setVisible(!visible) }))));
|
|
61
|
-
async function onPaste() {
|
|
62
|
-
const nodes = move.findRemove(["Document"]);
|
|
63
|
-
if (nodes.some((x) => x.id === props.id)) {
|
|
64
|
-
message.warning("Cannot move to itself");
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
if (nodes.length) {
|
|
68
|
-
await docStore.paste(props.id, nodes.map((x) => x.id));
|
|
69
|
-
message.success("Document pasted.");
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function onDelete() {
|
|
73
|
-
/** 如果文件下有子文件, 询问是否删除所有子文件 */
|
|
74
|
-
Modal.confirm({
|
|
75
|
-
title: "Do you want to delete this item?",
|
|
76
|
-
async onOk() {
|
|
77
|
-
/** 删除后是否关闭Aside */
|
|
78
|
-
await props.store.delete([props.id], { error: "message" }).then((res) => {
|
|
79
|
-
if (!res)
|
|
80
|
-
return;
|
|
81
|
-
dataState.remove(props.id);
|
|
82
|
-
if (!!props.closeAside && (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent))
|
|
83
|
-
asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside();
|
|
84
|
-
});
|
|
85
|
-
},
|
|
16
|
+
return observe(() => (React.createElement(NodeMenu, { id: props.id, icon: props.icon, menus: ({ onClickItem }) => (React.createElement(React.Fragment, null,
|
|
17
|
+
React.createElement(Paste, null),
|
|
18
|
+
React.createElement(PasteShortcut, null),
|
|
19
|
+
React.createElement(Access, { onClickItem: onClickItem }),
|
|
20
|
+
React.createElement(Delete, { action: onDelete }),
|
|
21
|
+
React.createElement(Dropdown, { dropdownRender: () => (React.createElement("div", { className: "sub-node-menu" },
|
|
22
|
+
React.createElement(Open, { disabled: !props.unitId, url: `/units/${props.unitId}` }),
|
|
23
|
+
(unit === null || unit === void 0 ? void 0 : unit.type) === "Organization" && (React.createElement(Open, { title: "View Corporate", icon: faBuilding, disabled: !props.unitId, url: Routes.UnitCorporatePage.getUrl(props.unitId) })),
|
|
24
|
+
React.createElement(Open, { title: "View Risk Profile", icon: faAddressCard, disabled: !props.unitId, url: Routes.UnitRiskProfilePage.getUrl(props.unitId) }),
|
|
25
|
+
React.createElement(Open, { title: "View Customer", icon: faPanelEws, disabled: !props.unitId, url: `/customer-empty/${props.unitId}` }),
|
|
26
|
+
React.createElement(Open, { title: "View Agent", icon: faChartUser, disabled: !props.unitId, url: `/agent-empty/${props.unitId}` }))) },
|
|
27
|
+
React.createElement(Button, { type: "link" },
|
|
28
|
+
React.createElement(FAIcon, { icon: faAngleLeft }),
|
|
29
|
+
React.createElement("span", null, "Contact"))))) })));
|
|
30
|
+
async function onDelete() {
|
|
31
|
+
/** 删除后是否关闭Aside */
|
|
32
|
+
await props.store.delete([props.id], { error: "message" }).then((res) => {
|
|
33
|
+
if (!res)
|
|
34
|
+
return;
|
|
35
|
+
dataState.remove(props.id);
|
|
36
|
+
if (!!props.closeAside && (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent))
|
|
37
|
+
asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside();
|
|
86
38
|
});
|
|
87
39
|
}
|
|
88
40
|
};
|
|
89
|
-
CompanyRegisterMenu.defaultProps = {
|
|
90
|
-
icon: React.createElement(FAIcon, { icon: faCircleEllipsis }),
|
|
91
|
-
};
|
|
92
41
|
export default CompanyRegisterMenu;
|
|
93
42
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CompanyRegisterMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CompanyRegisterMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACN,WAAW,EACX,UAAU,EACV,UAAU,EACV,aAAa,EACb,WAAW,GACX,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAIpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,+CAA+C,CAAC;AAErF,MAAM,mBAAmB,GAAG,CAAC,KAO5B,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,kBAAkB,EAAE,CAAC;IACvC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IACR,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,IAAI,EAAE,KAAK,CAAC,IAAI,EAChB,KAAK,EAAE,CAAC,EAAE,WAAW,EAAO,EAAE,EAAE,CAAC,CAChC;YACC,oBAAC,KAAK,OAAG;YACT,oBAAC,aA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AAI;oBAC7B,4CAAoB,CACZ,CACC,CACT,CACH,GACA,CACF,CAAC,CAAC;IAEH,KAAK,UAAU,QAAQ;QACtB,mBAAmB;QACnB,MAAM,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACvE,IAAI,CAAC,GAAG;gBAAE,OAAO;YACjB,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC3B,IAAI,CAAC,CAAC,KAAK,CAAC,UAAU,KAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,YAAY,CAAA;gBAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,CAAC;QAClF,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import { Button, message, Popover } from "antd";
|
|
4
|
+
import { useNodeMenuContext } from "@voplus/morpho-org/es/controls/NodeMenu/state";
|
|
5
|
+
import { useDocumentStore, useMoveNodeInfoService, useDocument, } from "@voplus/morpho-document-core";
|
|
6
|
+
import { faPaste } from "@fortawesome/pro-light-svg-icons";
|
|
7
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
|
+
import PasteList from "@voplus/morpho-org/es/controls/PasteList";
|
|
9
|
+
const Paste = (props) => {
|
|
10
|
+
const { disabled, action } = props;
|
|
11
|
+
const move = useMoveNodeInfoService();
|
|
12
|
+
const context = useNodeMenuContext();
|
|
13
|
+
const docStore = useDocumentStore();
|
|
14
|
+
const document = useDocument(context.id);
|
|
15
|
+
const pasteListVisible = move.info.length ? {} : { open: false };
|
|
16
|
+
return observe(() => (React.createElement("div", null, !document.system && (React.createElement(Popover, { placement: "left", content: React.createElement(PasteList, { move: move }), overlayStyle: { width: "400px" }, ...pasteListVisible },
|
|
17
|
+
React.createElement(Button, { type: "link", disabled: disabled ||
|
|
18
|
+
(!move.hasTypes(["Document"]) && docStore.copyIds.length === 0) ||
|
|
19
|
+
document.readonly, onClick: onClick },
|
|
20
|
+
React.createElement(FAIcon, { icon: faPaste }),
|
|
21
|
+
React.createElement("span", null, "Paste")))))));
|
|
22
|
+
function onClick() {
|
|
23
|
+
action ? action() : onPaste();
|
|
24
|
+
}
|
|
25
|
+
async function onPaste() {
|
|
26
|
+
const nodes = move.findRemove(["Document"]);
|
|
27
|
+
if (nodes.some((x) => x.id === context.id)) {
|
|
28
|
+
message.warning("Cannot move to itself");
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (nodes.length) {
|
|
32
|
+
await docStore.paste(context.id, nodes.map((x) => x.id));
|
|
33
|
+
message.success("Document pasted.");
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
export default Paste;
|
|
38
|
+
//# sourceMappingURL=Paste.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paste.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controls/CompanyRegisterMenu/items/Paste.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EACN,gBAAgB,EAChB,sBAAsB,EACtB,WAAW,GACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM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QACrB,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QAC5C,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,OAAO,CAAC,EAAE,CAAC,EAAE;YAC3C,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;YACzC,OAAO;SACP;QACD,IAAI,KAAK,CAAC,MAAM,EAAE;YACjB,MAAM,QAAQ,CAAC,KAAK,CACnB,OAAO,CAAC,EAAE,EACV,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CACtB,CAAC;YACF,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;SACpC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type PasteProps = {
|
|
3
|
+
/** disabled Button */
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
/** function of Click */
|
|
6
|
+
action?: (context?: any) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const PasteShortcut: (props: PasteProps) => JSX.Element;
|
|
9
|
+
export default PasteShortcut;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button, Popover, message } from "antd";
|
|
3
|
+
import { useDocument, useDocumentStore, useMoveNodeInfoService, } from "@voplus/morpho-document-core";
|
|
4
|
+
import { useNodeMenuContext } from "@voplus/morpho-org/es/controls/NodeMenu/state";
|
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
+
import { faShare } from "@fortawesome/pro-light-svg-icons";
|
|
7
|
+
import { observe } from "@voplus/morpho-ui";
|
|
8
|
+
import PasteList from "@voplus/morpho-org/es/controls/PasteList";
|
|
9
|
+
const PasteShortcut = (props) => {
|
|
10
|
+
const { disabled, action } = props;
|
|
11
|
+
const context = useNodeMenuContext();
|
|
12
|
+
const move = useMoveNodeInfoService();
|
|
13
|
+
const store = useDocumentStore();
|
|
14
|
+
const document = useDocument(context.id);
|
|
15
|
+
const pasteListVisible = move.info.length ? {} : { open: false };
|
|
16
|
+
return observe(() => (React.createElement("div", null, !document.system && (React.createElement(Popover, { placement: "left", content: React.createElement(PasteList, { move: move, headerTitle: "Paste Shortcut List" }), overlayStyle: { width: "400px" }, ...pasteListVisible },
|
|
17
|
+
React.createElement(Button, { type: "link", disabled: disabled ||
|
|
18
|
+
(!move.hasTypes(["Document"]) && store.copyIds.length === 0) ||
|
|
19
|
+
document.readonly, onClick: pasteShortcut },
|
|
20
|
+
React.createElement(FAIcon, { icon: faShare }),
|
|
21
|
+
React.createElement("span", null, "Paste Shortcut")))))));
|
|
22
|
+
async function pasteShortcut() {
|
|
23
|
+
const nodes = move.findRemove(["Document"]);
|
|
24
|
+
if (nodes.some((x) => x.id === context.id)) {
|
|
25
|
+
return message.warning("Cannot link to itself");
|
|
26
|
+
}
|
|
27
|
+
const AddShortcuts = nodes.map((x) => ({ TargetId: x.id, ParentId: context.id, Name: "" }));
|
|
28
|
+
await store.createShortcuts({ data: AddShortcuts, error: "message" });
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export default PasteShortcut;
|
|
33
|
+
//# sourceMappingURL=PasteShortcut.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasteShortcut.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controls/CompanyRegisterMenu/items/PasteShortcut.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EACN,WAAW,EACX,gBAAgB,EAChB,sBAAsB,GACtB,MAAM,8BAA8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,aAAa;YAEtB,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI;YACzB,mDAA2B,CACnB,CACA,CACV,CACI,CACN,CAAC,CAAC;IAEH,KAAK,UAAU,aAAa;QAC3B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;QAE5C,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,OAAO,CAAC,EAAE,CAAC,EAAE;YAC3C,OAAO,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;SAChD;QAED,MAAM,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;QAE5F,MAAM,KAAK,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QAEtE,OAAO;IACR,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controls/CompanyRegisterMenu/items/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const CorporateMenu: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
closeAside?: boolean;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
defaultProps: {
|
|
11
|
-
icon: JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
2
|
+
declare const CorporateMenu: (props: {
|
|
3
|
+
id: string;
|
|
4
|
+
unitId?: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
}) => JSX.Element;
|
|
14
7
|
export default CorporateMenu;
|
|
@@ -1,106 +1,29 @@
|
|
|
1
|
-
import { Button, Dropdown
|
|
2
|
-
import React
|
|
3
|
-
import { faAddressCard,
|
|
4
|
-
import { observe
|
|
1
|
+
import { Button, Dropdown } from "antd";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { faAddressCard, faAngleLeft, faChartUser, faPanelEws, } from "@fortawesome/pro-light-svg-icons";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { Access, Open, Paste } from "@voplus/morpho-org/es/controls/NodeMenu/items";
|
|
6
|
+
import NodeMenu from "@voplus/morpho-org/es/controls/NodeMenu";
|
|
5
7
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
-
import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
|
|
7
8
|
import Routes from "../../../../../routes";
|
|
8
|
-
import
|
|
9
|
-
import styles from "./index.less";
|
|
10
|
-
import { useCorporateStore } from "../../../../../data/corporate";
|
|
11
|
-
import { useDocumentStore } from "@voplus/morpho-document-core";
|
|
12
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
9
|
+
import Disabled from "./items/Disabled";
|
|
13
10
|
const CorporateMenu = (props) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
key: "Disabled",
|
|
27
|
-
label: "Disabled",
|
|
28
|
-
icon: React.createElement(FAIcon, { icon: faUserLock }),
|
|
29
|
-
disabled: true,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
key: "Contact",
|
|
33
|
-
label: "Contact",
|
|
34
|
-
icon: React.createElement(FAIcon, { icon: faFolderUser }),
|
|
35
|
-
popupClassName: styles["corporate-sub-menu"],
|
|
36
|
-
children: [
|
|
37
|
-
{
|
|
38
|
-
key: "Open",
|
|
39
|
-
label: "Open",
|
|
40
|
-
icon: React.createElement(FAIcon, { icon: faArrowUpRightFromSquare }),
|
|
41
|
-
disabled: !props.unitId,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
key: "ViewRiskProfile",
|
|
45
|
-
label: "View Risk Profile",
|
|
46
|
-
icon: React.createElement(FAIcon, { icon: faAddressCard }),
|
|
47
|
-
disabled: !props.unitId,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
key: "ViewCustomer",
|
|
51
|
-
label: "View Customer",
|
|
52
|
-
icon: React.createElement(FAIcon, { icon: faPanelEws }),
|
|
53
|
-
disabled: !props.unitId,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
key: "Agent",
|
|
57
|
-
label: "View Agent",
|
|
58
|
-
icon: React.createElement(FAIcon, { icon: faChartUser }),
|
|
59
|
-
disabled: !props.unitId,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
|
-
{ key: "Access", label: "Access", icon: React.createElement(FAIcon, { icon: faUserEdit }) },
|
|
64
|
-
{
|
|
65
|
-
key: "Paste",
|
|
66
|
-
label: "Paste",
|
|
67
|
-
icon: React.createElement(FAIcon, { icon: faPaste }),
|
|
68
|
-
disabled: docStore.moveIds.length === 0 && docStore.copyIds.length === 0,
|
|
69
|
-
},
|
|
70
|
-
], onClick: (e) => onClick(e.key) })) },
|
|
71
|
-
React.createElement(Button, { size: "small", type: "text" }, props.icon)),
|
|
72
|
-
visible && React.createElement(PermissionModal, { id: props.id, onChange: () => setVisible(!visible) }))));
|
|
73
|
-
function onClick(key) {
|
|
74
|
-
if (key === "Disabled")
|
|
75
|
-
onChangeStatus("Disabled");
|
|
76
|
-
if (key === "Open")
|
|
77
|
-
layout.history.push(`/units/${props.unitId}`);
|
|
78
|
-
if (key === "ViewRiskProfile")
|
|
79
|
-
layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId));
|
|
80
|
-
if (key === "ViewCustomer")
|
|
81
|
-
layout.history.push(`/customer-empty/${props.unitId}`);
|
|
82
|
-
if (key === "Agent")
|
|
83
|
-
layout.history.push(`/agent-empty/${props.unitId}`);
|
|
84
|
-
if (key === "Access")
|
|
85
|
-
setVisible(!visible);
|
|
86
|
-
if (key === "Paste")
|
|
87
|
-
onPaste();
|
|
88
|
-
}
|
|
11
|
+
return observe(() => (React.createElement(NodeMenu, { id: props.id, icon: props.icon, menus: ({ onClickItem }) => (React.createElement(React.Fragment, null,
|
|
12
|
+
React.createElement(Paste, null),
|
|
13
|
+
React.createElement(Disabled, { disabled: true, action: () => onChangeStatus("Disabled") }),
|
|
14
|
+
React.createElement(Access, { onClickItem: onClickItem }),
|
|
15
|
+
React.createElement(Dropdown, { dropdownRender: () => (React.createElement("div", { className: "sub-node-menu" },
|
|
16
|
+
React.createElement(Open, { disabled: !props.unitId, url: `/units/${props.unitId}` }),
|
|
17
|
+
React.createElement(Open, { title: "View Risk Profile", icon: faAddressCard, disabled: !props.unitId, url: Routes.UnitRiskProfilePage.getUrl(props.unitId) }),
|
|
18
|
+
React.createElement(Open, { title: "View Customer", icon: faPanelEws, disabled: !props.unitId, url: `/customer-empty/${props.unitId}` }),
|
|
19
|
+
React.createElement(Open, { title: "View Agent", icon: faChartUser, disabled: !props.unitId, url: `/agent-empty/${props.unitId}` }))) },
|
|
20
|
+
React.createElement(Button, { type: "link" },
|
|
21
|
+
React.createElement(FAIcon, { icon: faAngleLeft }),
|
|
22
|
+
React.createElement("span", null, "Contact"))))) })));
|
|
89
23
|
/** Disabled/Enable function */
|
|
90
24
|
function onChangeStatus(status) {
|
|
91
25
|
// store.edit(props.id, { data: { Status: status }, error: "message" });
|
|
92
26
|
}
|
|
93
|
-
async function onPaste() {
|
|
94
|
-
if (docStore.moveIds.some((id) => id === props.id)) {
|
|
95
|
-
return message.warning("Cannot move to itself");
|
|
96
|
-
}
|
|
97
|
-
await docStore.paste(props.id);
|
|
98
|
-
message.success("Document pasted.");
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
CorporateMenu.defaultProps = {
|
|
103
|
-
icon: React.createElement(FAIcon, { icon: faCircleEllipsis }),
|
|
104
27
|
};
|
|
105
28
|
export default CorporateMenu;
|
|
106
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,aAAa,EACb,WAAW,EACX,WAAW,EACX,UAAU,GACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,MAAM,aAAa,GAAG,CAAC,KAA8D,EAAE,EAAE;IACxF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB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EH,+BAA+B;IAC/B,SAAS,cAAc,CAAC,MAAe;QACtC,wEAAwE;IACzE,CAAC;AACF,CAAC,CAAC;AACF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { observe } from "@voplus/morpho-ui";
|
|
2
|
+
import { Button } from "antd";
|
|
3
|
+
import { useNodeMenuContext } from "@voplus/morpho-org/es/controls/NodeMenu/state";
|
|
4
|
+
import { faUserLock } from "@fortawesome/pro-light-svg-icons";
|
|
5
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
+
import React from "react";
|
|
7
|
+
const Disabled = (props) => {
|
|
8
|
+
const { disabled, action } = props;
|
|
9
|
+
const context = useNodeMenuContext();
|
|
10
|
+
return observe(() => (React.createElement(Button, { type: "link", disabled: disabled, onClick: onClick },
|
|
11
|
+
React.createElement(FAIcon, { icon: faUserLock }),
|
|
12
|
+
React.createElement("span", null, "Disabled"))));
|
|
13
|
+
function onClick() {
|
|
14
|
+
action === null || action === void 0 ? void 0 : action();
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export default Disabled;
|
|
18
|
+
//# sourceMappingURL=Disabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Disabled.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controls/CorporateMenu/items/Disabled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,QAAQ,GAAG,CAAC,KAKjB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEnC,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO;QACvD,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,GAAI;QAC5B,6CAAqB,CACb,CACT,CAAC,CAAC;IACH,SAAS,OAAO;QACf,MAAM,aAAN,MAAM,uBAAN,MAAM,EAAI,CAAC;IACZ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -11,12 +11,12 @@ const IdentityMenu = (props) => {
|
|
|
11
11
|
const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
|
|
12
12
|
const store = useIdentityStore();
|
|
13
13
|
return observe(() => (React.createElement(DocumentMenuContext.Provider, { value: context },
|
|
14
|
-
React.createElement(Dropdown, { placement: "bottomRight",
|
|
14
|
+
React.createElement(Dropdown, { placement: "bottomRight", dropdownRender: () => (React.createElement("div", { className: "identity-menu" },
|
|
15
15
|
React.createElement(Access, null),
|
|
16
16
|
React.createElement(Paste, null),
|
|
17
17
|
React.createElement(PasteLinks, null),
|
|
18
18
|
React.createElement(PasteShortcut, null),
|
|
19
|
-
React.createElement(Delete, { action: () => store.delete(props.id) })) },
|
|
19
|
+
React.createElement(Delete, { action: () => store.delete(props.id) }))) },
|
|
20
20
|
React.createElement(Button, { size: props.size, type: "link" }, props.icon)))));
|
|
21
21
|
};
|
|
22
22
|
IdentityMenu.defaultProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/controls/IdentifyMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,aAAa,EACb,MAAM,GACN,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtF,MAAM,YAAY,GAAG,CAAC,KAMrB,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAE3E,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QAC3C,oBAAC,QAAQ,IACR,SAAS,EAAC,aAAa,EACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/identity/controls/IdentifyMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EACN,MAAM,EACN,KAAK,EACL,UAAU,EACV,aAAa,EACb,MAAM,GACN,MAAM,wDAAwD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