@voplus/morpho-csp 1.2.10 → 1.2.12
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/VerificationInformation/index.js +6 -2
- package/es/components/VerificationInformation/index.js.map +1 -1
- package/es/components/VerificationInformation/state.d.ts +2 -2
- package/es/components/VerificationInformation/state.js +8 -5
- package/es/components/VerificationInformation/state.js.map +1 -1
- package/es/data/identity/interfaces.d.ts +1 -1
- package/es/data/officer/interfaces.d.ts +10 -6
- package/es/data/officer/types.d.ts +3 -0
- package/es/modules/corporate/company/CompanyDefaultView/index.js +1 -1
- package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/ContactIdentitySelectDialog/index.d.ts +8 -0
- package/es/modules/corporate/company/Identity/ContactIdentitySelectDialog/index.js +61 -0
- package/es/modules/corporate/company/Identity/ContactIdentitySelectDialog/index.js.map +1 -0
- package/es/modules/corporate/company/Identity/ContactIdentitySelectDialog/index.less +64 -0
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.d.ts +3 -0
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +31 -10
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.less +14 -0
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js +2 -2
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentityItem/index.d.ts +7 -0
- package/es/modules/corporate/company/Identity/IdentityItem/index.js +20 -0
- package/es/modules/corporate/company/Identity/IdentityItem/index.js.map +1 -0
- package/es/modules/corporate/company/Identity/IdentityItem/index.less +13 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step1.d.ts +6 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step1.js +40 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step1.js.map +1 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step2.d.ts +3 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step2.js +40 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step2.js.map +1 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step3.d.ts +3 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step3.js +42 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/Step3.js.map +1 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/index.d.ts +8 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/index.js +19 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/index.js.map +1 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/index.less +55 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/state.d.ts +45 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/state.js +187 -0
- package/es/modules/corporate/company/Identity/NewIdentityDialog/state.js.map +1 -0
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js +6 -2
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js +26 -23
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js +4 -1
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js +18 -15
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js +9 -6
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js.map +1 -1
- package/package.json +1 -1
- package/es/controls/UnitAvatar/index.d.ts +0 -16
- package/es/controls/UnitAvatar/index.js +0 -30
- package/es/controls/UnitAvatar/index.js.map +0 -1
- package/es/controls/UnitAvatar/index.less +0 -7
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button, DatePicker, Form, Input, Select, message } from "@voplus/antd";
|
|
3
|
+
import { InputCountry } from "@voplus/morpho-ui";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { runInAction } from "mobx";
|
|
6
|
+
import { useLegalContext } from "./state";
|
|
7
|
+
const Step2 = () => {
|
|
8
|
+
const legal = useLegalContext();
|
|
9
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
|
10
|
+
React.createElement("div", { className: "select-legal-contact_title" }, "Identify Info"),
|
|
11
|
+
React.createElement("div", { className: "select-legal-contact_content" },
|
|
12
|
+
React.createElement(Form, { layout: "vertical" },
|
|
13
|
+
React.createElement(Form.Item, { label: legal.unitType === "Organization" ? "Country of Registration" : "Country", name: "country", rules: [{ required: true }] },
|
|
14
|
+
React.createElement(InputCountry, { defaultValue: legal.country, onChange: (country) => runInAction(() => (legal.country = country)) })),
|
|
15
|
+
legal.unitType === "Person" && (React.createElement(Form.Item, { label: "Identify Type", name: "identifyType", rules: [{ required: true }] },
|
|
16
|
+
React.createElement(Select, { defaultValue: legal.type, value: legal.type, onChange: (value) => (legal.type = value) },
|
|
17
|
+
React.createElement(Select.Option, { value: "Passport" }, "International Passport"),
|
|
18
|
+
React.createElement(Select.Option, { value: "IdentityCard" }, "Identify Card"),
|
|
19
|
+
React.createElement(Select.Option, { value: "BusinessRegistration" }, "Business Registration")))),
|
|
20
|
+
React.createElement(Form.Item, { label: legal.unitType === "Organization" ? "Registration #" : "Identify #", name: "identity", rules: [{ required: true }] },
|
|
21
|
+
React.createElement(Input, { defaultValue: legal.number, value: legal.number, onChange: (e) => runInAction(() => (legal.number = e.target.value)) })),
|
|
22
|
+
legal.unitType === "Person" && (React.createElement(Form.Item, { label: "Expiry Date", name: "expiryDate", rules: [{ required: legal.type === "Passport" }] },
|
|
23
|
+
React.createElement(DatePicker, { defaultValue: legal.expiryDate, value: legal.expiryDate, onChange: (date) => runInAction(() => (legal.expiryDate = date)) }))))),
|
|
24
|
+
React.createElement("div", { className: "select-legal-contact_footer" },
|
|
25
|
+
React.createElement(Button, { size: "middle", onClick: () => runInAction(() => (legal.step -= 1)) }, "Back"),
|
|
26
|
+
React.createElement(Button, { size: "middle", type: "primary", onClick: next }, "Next")))));
|
|
27
|
+
function next() {
|
|
28
|
+
runInAction(() => {
|
|
29
|
+
if (!legal.number || !legal.country) {
|
|
30
|
+
message.warn(legal.unitType === "Organization"
|
|
31
|
+
? "Country && Registration are required"
|
|
32
|
+
: "Country && Identify are required");
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
return (legal.step += 1);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export default Step2;
|
|
40
|
+
//# sourceMappingURL=Step2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Step2.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Identity/NewIdentityDialog/Step2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,KAAK,GAAG,GAAG,EAAE;IAClB,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QACd,6BAAK,SAAS,EAAC,4BAA4B,oBAAoB;QAE/D,6BAAK,SAAS,EAAC,8BAA8B;YAC5C,oBAAC,IAAI,IA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AChC,CAAC,CAAC,sCAAsC;oBACxC,CAAC,CAAC,kCAAkC,CACrC,CAAC;gBACF,OAAO;aACP;YACD,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;QAC1B,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import moment from "moment";
|
|
3
|
+
import { Button, message } from "@voplus/antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { runInAction } from "mobx";
|
|
6
|
+
import { useIdentityStore } from "../../../../../data/identity";
|
|
7
|
+
import { useLegalContext } from "./state";
|
|
8
|
+
const Step3 = () => {
|
|
9
|
+
const legal = useLegalContext();
|
|
10
|
+
const identityStore = useIdentityStore();
|
|
11
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
|
12
|
+
React.createElement("div", { className: "select-legal-contact_content page5" },
|
|
13
|
+
React.createElement("div", { className: "full-name" }, legal.fullName),
|
|
14
|
+
React.createElement("div", { className: "padding-bottom-20" },
|
|
15
|
+
legal.country,
|
|
16
|
+
"\uFF08",
|
|
17
|
+
legal.number,
|
|
18
|
+
legal.expiryDate ? " expiryDate:" + moment(legal.expiryDate).format("YYYY-MM-DD") : "",
|
|
19
|
+
"\uFF09")),
|
|
20
|
+
React.createElement("div", { className: "select-legal-contact_footer" },
|
|
21
|
+
React.createElement(Button, { size: "middle", onClick: () => runInAction(() => (legal.step -= 1)) }, "Back"),
|
|
22
|
+
React.createElement(Button, { size: "middle", type: "primary", loading: legal.saving, onClick: create }, "Create")))));
|
|
23
|
+
/** create a new contact */
|
|
24
|
+
async function create() {
|
|
25
|
+
const Option = {
|
|
26
|
+
FullName: legal.fullName,
|
|
27
|
+
Number: legal.number,
|
|
28
|
+
Country: legal.country,
|
|
29
|
+
ExpiryDate: legal.expiryDate,
|
|
30
|
+
Type: legal.type,
|
|
31
|
+
UnitId: legal.unitId,
|
|
32
|
+
};
|
|
33
|
+
runInAction(() => (legal.saving = true));
|
|
34
|
+
await identityStore.create({ data: Option, error: (error) => message.error(error.message) }).then((res) => {
|
|
35
|
+
if (legal.props.updateVisible && res.unitId)
|
|
36
|
+
legal.props.updateVisible(res.unitId);
|
|
37
|
+
runInAction(() => (legal.saving = false));
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
export default Step3;
|
|
42
|
+
//# sourceMappingURL=Step3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Step3.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Identity/NewIdentityDialog/Step3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,KAAK,GAAG,GAAG,EAAE;IAClB,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,CAAC,QAAQ;QAEd,6BAAK,SAAS,EAAC,oCAAoC;YAClD,6BAAK,SAAS,EAAC,WAAW,IAAE,KAAK,CAAC,QAAQ,CAAO;YAEjD,6BAAK,SAAS,EAAC,mBAAmB;gBAChC,KAAK,CAAC,OAAO;;gBAAG,KAAK,CAAC,MAAM;gBAC5B,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,G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,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AACF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare const NewIdentityDialog: (props: {
|
|
4
|
+
id: string;
|
|
5
|
+
visible: boolean;
|
|
6
|
+
updateVisible?: ((unitId?: string | undefined) => Promise<void>) | undefined;
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
export default NewIdentityDialog;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { Modal } from "@voplus/antd";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { useUnit } from "@voplus/morpho-org";
|
|
5
|
+
import { LegalContext, State } from "./state";
|
|
6
|
+
import Step1 from "./Step1";
|
|
7
|
+
import Step2 from "./Step2";
|
|
8
|
+
import Step3 from "./Step3";
|
|
9
|
+
import "./index.less";
|
|
10
|
+
const NewIdentityDialog = (props) => {
|
|
11
|
+
const { id, visible, updateVisible } = props;
|
|
12
|
+
const [state] = useState(new State());
|
|
13
|
+
const unit = useUnit(id);
|
|
14
|
+
state.props = props;
|
|
15
|
+
return observe(() => (React.createElement(LegalContext.Provider, { value: state },
|
|
16
|
+
React.createElement(Modal, { width: 500, title: "", footer: null, wrapClassName: "select-legal-contact-dialog", onCancel: () => updateVisible === null || updateVisible === void 0 ? void 0 : updateVisible(), visible: visible }, state.step === 3 ? (React.createElement(Step3, null)) : state.step === 2 ? (React.createElement(Step2, null)) : (React.createElement(Step1, { unitId: unit.id, type: unit.type }))))));
|
|
17
|
+
};
|
|
18
|
+
export default NewIdentityDialog;
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources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C,CAAC,CACtB,oBAAC,KAAK,OAAG,CACT,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,IAAC,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CAC3C,CACM,CACe,CACxB,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.select-legal-contact-dialog {
|
|
3
|
+
.ant-modal-body {
|
|
4
|
+
padding: 20px 0;
|
|
5
|
+
}
|
|
6
|
+
h3,
|
|
7
|
+
h4 {
|
|
8
|
+
margin-bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
.select-legal-contact_title {
|
|
11
|
+
padding: 0 20px 15px 20px;
|
|
12
|
+
color: rgba(0, 0, 0, 0.85);
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
line-height: 17px;
|
|
16
|
+
border-bottom: 1px solid #f0f0f0;
|
|
17
|
+
}
|
|
18
|
+
.select-legal-contact_content {
|
|
19
|
+
padding: 15px 20px;
|
|
20
|
+
&.page5 {
|
|
21
|
+
padding: 15px 30px;
|
|
22
|
+
}
|
|
23
|
+
.ant-radio-group,
|
|
24
|
+
.ant-radio-wrapper {
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
.full-name-displayed {
|
|
28
|
+
padding: 10px 0;
|
|
29
|
+
border-bottom: 1px solid #f0f0f0;
|
|
30
|
+
}
|
|
31
|
+
.full-name {
|
|
32
|
+
padding-bottom: 8px;
|
|
33
|
+
color: rgba(0, 0, 0, 0.85);
|
|
34
|
+
font-weight: 500;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
}
|
|
37
|
+
.padding-top-15 {
|
|
38
|
+
padding-top: 15px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.ant-tabs .ant-tabs-tabpane {
|
|
42
|
+
padding: 0 20px;
|
|
43
|
+
}
|
|
44
|
+
.ant-form .ant-form-item {
|
|
45
|
+
margin-bottom: 20px;
|
|
46
|
+
}
|
|
47
|
+
.select-legal-contact_footer {
|
|
48
|
+
padding: 0 20px;
|
|
49
|
+
text-align: right;
|
|
50
|
+
& .ant-btn {
|
|
51
|
+
margin-left: 10px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IIdentity } from "../../../../../data/identity";
|
|
3
|
+
export declare type LegalProps = {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
updateVisible?: (unitId?: string) => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
export declare class State {
|
|
8
|
+
props: LegalProps;
|
|
9
|
+
/** step of Add Legal Contact */
|
|
10
|
+
step: number;
|
|
11
|
+
/** type of unit of the new officer */
|
|
12
|
+
unitType: string;
|
|
13
|
+
/** id of identity */
|
|
14
|
+
identityId: string;
|
|
15
|
+
/** id of unit of the new officer */
|
|
16
|
+
unitId: string;
|
|
17
|
+
/** */
|
|
18
|
+
fistName: string;
|
|
19
|
+
/** last name */
|
|
20
|
+
lastName: string;
|
|
21
|
+
/** */
|
|
22
|
+
middleName: string;
|
|
23
|
+
/** number of identity of the new officer */
|
|
24
|
+
number: string | number;
|
|
25
|
+
/** country of identity of the new officer */
|
|
26
|
+
country: string;
|
|
27
|
+
/** type of identity of the new officer */
|
|
28
|
+
type: string;
|
|
29
|
+
/** expiryDate of identity(Passport required) */
|
|
30
|
+
expiryDate: null;
|
|
31
|
+
/** list of unit */
|
|
32
|
+
contactList: IIdentity[];
|
|
33
|
+
/** order name by Western or Eastern */
|
|
34
|
+
orderName: string;
|
|
35
|
+
/** key of tabPane of Page4 */
|
|
36
|
+
tabKey: "Contact" | "Identify";
|
|
37
|
+
/** loading of load identity list */
|
|
38
|
+
loading: boolean;
|
|
39
|
+
/** loading of save identity item */
|
|
40
|
+
saving: boolean;
|
|
41
|
+
constructor();
|
|
42
|
+
get fullName(): string;
|
|
43
|
+
}
|
|
44
|
+
export declare const LegalContext: import("react").Context<State>;
|
|
45
|
+
export declare const useLegalContext: () => State;
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { computed, makeAutoObservable, observable } from "mobx";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
export class State {
|
|
5
|
+
constructor() {
|
|
6
|
+
Object.defineProperty(this, "props", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: void 0
|
|
11
|
+
});
|
|
12
|
+
/** step of Add Legal Contact */
|
|
13
|
+
Object.defineProperty(this, "step", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: 1
|
|
18
|
+
});
|
|
19
|
+
/** type of unit of the new officer */
|
|
20
|
+
Object.defineProperty(this, "unitType", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: "Person"
|
|
25
|
+
});
|
|
26
|
+
/** id of identity */
|
|
27
|
+
Object.defineProperty(this, "identityId", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
configurable: true,
|
|
30
|
+
writable: true,
|
|
31
|
+
value: ""
|
|
32
|
+
});
|
|
33
|
+
/** id of unit of the new officer */
|
|
34
|
+
Object.defineProperty(this, "unitId", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
configurable: true,
|
|
37
|
+
writable: true,
|
|
38
|
+
value: ""
|
|
39
|
+
});
|
|
40
|
+
/** */
|
|
41
|
+
Object.defineProperty(this, "fistName", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
configurable: true,
|
|
44
|
+
writable: true,
|
|
45
|
+
value: ""
|
|
46
|
+
});
|
|
47
|
+
/** last name */
|
|
48
|
+
Object.defineProperty(this, "lastName", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
configurable: true,
|
|
51
|
+
writable: true,
|
|
52
|
+
value: ""
|
|
53
|
+
});
|
|
54
|
+
/** */
|
|
55
|
+
Object.defineProperty(this, "middleName", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
configurable: true,
|
|
58
|
+
writable: true,
|
|
59
|
+
value: ""
|
|
60
|
+
});
|
|
61
|
+
/** number of identity of the new officer */
|
|
62
|
+
Object.defineProperty(this, "number", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
configurable: true,
|
|
65
|
+
writable: true,
|
|
66
|
+
value: ""
|
|
67
|
+
});
|
|
68
|
+
/** country of identity of the new officer */
|
|
69
|
+
Object.defineProperty(this, "country", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
configurable: true,
|
|
72
|
+
writable: true,
|
|
73
|
+
value: ""
|
|
74
|
+
});
|
|
75
|
+
/** type of identity of the new officer */
|
|
76
|
+
Object.defineProperty(this, "type", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
configurable: true,
|
|
79
|
+
writable: true,
|
|
80
|
+
value: "Passport"
|
|
81
|
+
});
|
|
82
|
+
/** expiryDate of identity(Passport required) */
|
|
83
|
+
Object.defineProperty(this, "expiryDate", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
configurable: true,
|
|
86
|
+
writable: true,
|
|
87
|
+
value: void 0
|
|
88
|
+
});
|
|
89
|
+
/** list of unit */
|
|
90
|
+
Object.defineProperty(this, "contactList", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
configurable: true,
|
|
93
|
+
writable: true,
|
|
94
|
+
value: []
|
|
95
|
+
});
|
|
96
|
+
/** order name by Western or Eastern */
|
|
97
|
+
Object.defineProperty(this, "orderName", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
configurable: true,
|
|
100
|
+
writable: true,
|
|
101
|
+
value: "Western"
|
|
102
|
+
});
|
|
103
|
+
/** key of tabPane of Page4 */
|
|
104
|
+
Object.defineProperty(this, "tabKey", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
configurable: true,
|
|
107
|
+
writable: true,
|
|
108
|
+
value: "Contact"
|
|
109
|
+
});
|
|
110
|
+
/** loading of load identity list */
|
|
111
|
+
Object.defineProperty(this, "loading", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
configurable: true,
|
|
114
|
+
writable: true,
|
|
115
|
+
value: true
|
|
116
|
+
});
|
|
117
|
+
/** loading of save identity item */
|
|
118
|
+
Object.defineProperty(this, "saving", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
configurable: true,
|
|
121
|
+
writable: true,
|
|
122
|
+
value: false
|
|
123
|
+
});
|
|
124
|
+
makeAutoObservable(this);
|
|
125
|
+
}
|
|
126
|
+
get fullName() {
|
|
127
|
+
return this.orderName === "Western"
|
|
128
|
+
? (this.fistName ? this.fistName + " " : "") +
|
|
129
|
+
(this.middleName ? this.middleName + " " : "") +
|
|
130
|
+
(this.lastName ? this.lastName + " " : "")
|
|
131
|
+
: (this.lastName ? this.lastName + " " : "") + (this.fistName ? this.fistName + " " : "");
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
__decorate([
|
|
135
|
+
observable
|
|
136
|
+
], State.prototype, "step", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
observable
|
|
139
|
+
], State.prototype, "unitType", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
observable
|
|
142
|
+
], State.prototype, "identityId", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
observable
|
|
145
|
+
], State.prototype, "unitId", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
observable
|
|
148
|
+
], State.prototype, "fistName", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
observable
|
|
151
|
+
], State.prototype, "lastName", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
observable
|
|
154
|
+
], State.prototype, "middleName", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
observable
|
|
157
|
+
], State.prototype, "number", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
observable
|
|
160
|
+
], State.prototype, "country", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
observable
|
|
163
|
+
], State.prototype, "type", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
observable
|
|
166
|
+
], State.prototype, "expiryDate", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
observable
|
|
169
|
+
], State.prototype, "contactList", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
observable
|
|
172
|
+
], State.prototype, "orderName", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
observable
|
|
175
|
+
], State.prototype, "tabKey", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
observable
|
|
178
|
+
], State.prototype, "loading", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
observable
|
|
181
|
+
], State.prototype, "saving", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
computed
|
|
184
|
+
], State.prototype, "fullName", null);
|
|
185
|
+
export const LegalContext = createContext(null);
|
|
186
|
+
export const useLegalContext = () => useContext(LegalContext);
|
|
187
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Identity/NewIdentityDialog/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOlD,MAAM,OAAO,KAAK;IAmCjB;QAlCA;;;;;WAAyB;QACzB,gCAAgC;QACpB;;;;mBAAc,CAAC;WAAC;QAC5B,sCAAsC;QAC1B;;;;mBAAkB,QAAQ;WAAC;QACvC,qBAAqB;QACT;;;;mBAAoB,EAAE;WAAC;QACnC,oCAAoC;QACxB;;;;mBAAgB,EAAE;WAAC;QAC/B,MAAM;QACM;;;;mBAAkB,EA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AAEhB;IAAX,UAAU;uCAA4B;AAE3B;IAAX,UAAU;yCAAwB;AAEvB;IAAX,UAAU;qCAAoB;AAEnB;IAAX,UAAU;uCAAsB;AAErB;IAAX,UAAU;uCAAsB;AAErB;IAAX,UAAU;yCAAwB;AAEvB;IAAX,UAAU;qCAAqC;AAEpC;IAAX,UAAU;sCAAqB;AAEpB;IAAX,UAAU;mCAA0B;AAEzB;IAAX,UAAU;yCAAyB;AAExB;IAAX,UAAU;0CAAsC;AAErC;IAAX,UAAU;wCAA8B;AAE7B;IAAX,UAAU;qCAAmD;AAElD;IAAX,UAAU;sCAAuB;AAEtB;IAAX,UAAU;qCAAuB;AAMxB;IAAT,QAAQ;qCAMR;AAGF,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAQ,IAAW,CAAC,CAAC;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -15,7 +15,7 @@ const OfficerInformation = (props) => {
|
|
|
15
15
|
return observe(() => {
|
|
16
16
|
var _a, _b;
|
|
17
17
|
return (React.createElement(Scrollbars, null, state.officer.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
18
|
-
React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span:
|
|
18
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span: 10 }, className: "company-information" },
|
|
19
19
|
state.officer.status && (React.createElement(Form.Item, { label: "Status" }, state.officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))),
|
|
20
20
|
React.createElement(Form.Item, { label: "Appointment Date" },
|
|
21
21
|
React.createElement(InlineEdit, { defaultValue: moment((_a = state.officer) === null || _a === void 0 ? void 0 : _a.appointment), content: (v) => {
|
|
@@ -44,7 +44,11 @@ const OfficerInformation = (props) => {
|
|
|
44
44
|
if (moment(date).isSame((_a = state.officer) === null || _a === void 0 ? void 0 : _a.cease, "day"))
|
|
45
45
|
return;
|
|
46
46
|
edit({ Cease: date });
|
|
47
|
-
} }))
|
|
47
|
+
} })),
|
|
48
|
+
React.createElement(Form.Item, { label: "Email" },
|
|
49
|
+
React.createElement(InlineEdit, { defaultValue: state.officer.email, content: (v) => React.createElement("div", null, state.officer.email ? state.officer.email : "Add Email"), onSave: (value) => officerStore.edit(id, { data: { Email: value }, error: "message" }) })),
|
|
50
|
+
React.createElement(Form.Item, { label: "Phone" },
|
|
51
|
+
React.createElement(InlineEdit, { defaultValue: state.officer.phone, content: (v) => React.createElement("div", null, state.officer.phone ? state.officer.phone : "Add Phone"), onSave: (value) => officerStore.edit(id, { data: { Phone: value }, error: "message" }) }))))));
|
|
48
52
|
});
|
|
49
53
|
async function edit(data) {
|
|
50
54
|
await officerStore.edit(id, { data, error: "message" });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAA0B,UAAU,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAClG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,kBAAkB,GAAG,CAAC,KAA0C,EAAE,EAAE;IACzE,MAAM,EAAE,EAAE,EAAE,SAAS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.less";
|
|
2
2
|
import { Button, Modal, Skeleton, Tabs } from "@voplus/antd";
|
|
3
3
|
import { useOfficer, useOfficerStore } from "../../../../../data/officer";
|
|
4
|
-
import ActivityLog from "@voplus/morpho-
|
|
4
|
+
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
5
5
|
import ContactInformation from "../ContactInformation";
|
|
6
6
|
import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
|
|
7
7
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -22,28 +22,31 @@ const OfficerPropertiesView = (props) => {
|
|
|
22
22
|
const officerStore = useOfficerStore();
|
|
23
23
|
const dataState = useListDataContext();
|
|
24
24
|
const asideContext = useAsideContentContext();
|
|
25
|
-
return observe(() =>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
React.createElement(
|
|
29
|
-
|
|
30
|
-
React.createElement(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
React.createElement(
|
|
34
|
-
|
|
35
|
-
React.createElement(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
25
|
+
return observe(() => {
|
|
26
|
+
var _a, _b, _c, _d;
|
|
27
|
+
return (React.createElement("div", { className: "officer-properties-view_content" },
|
|
28
|
+
officer.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
29
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "officer-properties-view_header" },
|
|
30
|
+
React.createElement(UnitAvatar, { id: officer.contact.id, size: 70 }),
|
|
31
|
+
React.createElement("div", { className: "officer-person-name" },
|
|
32
|
+
React.createElement(PositionSelect, { id: id, position: officer.position, allowEdit: allowEdit })),
|
|
33
|
+
React.createElement("div", null, (_b = (_a = officer.identity) === null || _a === void 0 ? void 0 : _a.fullName) !== null && _b !== void 0 ? _b : (_c = officer.contact) === null || _c === void 0 ? void 0 : _c.name),
|
|
34
|
+
toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
|
|
35
|
+
React.createElement(Open, { url: `/officer/${id}` }),
|
|
36
|
+
allowEdit && (React.createElement(Button, { danger: true, size: "small", shape: "circle", onClick: onDelete },
|
|
37
|
+
React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" }))))))),
|
|
38
|
+
React.createElement(Tabs, { defaultActiveKey: "Officer" },
|
|
39
|
+
React.createElement(Tabs.TabPane, { tab: "Officer Details", key: "Officer" },
|
|
40
|
+
React.createElement(OfficerInformation, { id: id, allowEdit: allowEdit })),
|
|
41
|
+
React.createElement(Tabs.TabPane, { tab: "Contact Details", key: "Contact" },
|
|
42
|
+
React.createElement(ContactInformation, { id: officer.contact.id, allowEdit: allowEdit })),
|
|
43
|
+
React.createElement(Tabs.TabPane, { tab: "Identify Details", key: "Identify" },
|
|
44
|
+
React.createElement(IdentifyDetail, { id: (_d = officer.identity) === null || _d === void 0 ? void 0 : _d.id, concatId: officer.contact.id, officerId: id, allowEdit: allowEdit })),
|
|
45
|
+
React.createElement(Tabs.TabPane, { tab: "Documents", key: "Document" },
|
|
46
|
+
React.createElement(DocumentList, { id: id, header: false })),
|
|
47
|
+
React.createElement(Tabs.TabPane, { tab: "Activities", key: "Activities" },
|
|
48
|
+
React.createElement(ActivityLog, { id: id, nodes: [officer.contact.id], bar: false })))));
|
|
49
|
+
});
|
|
47
50
|
/** 删除officer item */
|
|
48
51
|
function onDelete() {
|
|
49
52
|
const onOk = async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/Officer/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,UAAU,E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;gBAClE,IAAI,CAAC,GAAG;oBAAE,OAAO;gBACjB,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACrB,IAAI,YAAY;oBAAE,YAAY,CAAC,UAAU,EAAE,CAAC;YAC7C,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC;QACF,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,kCAAkC;YACzC,IAAI;gBACH,OAAO,IAAI,EAAE,CAAC;YACf,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -18,7 +18,10 @@ const CorporateOfficerSelect = (props) => {
|
|
|
18
18
|
// }
|
|
19
19
|
],
|
|
20
20
|
});
|
|
21
|
-
return observe(() => (React.createElement(Select, { showSearch: true, allowClear: true, style: style, placeholder: "Please Select Officer", ...(!!multiple ? { mode: "multiple" } : {}), onChange: onChange, loading: list.loading, filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0, dropdownStyle: { backgroundColor: "#fff" } }, list.data.map((officer) =>
|
|
21
|
+
return observe(() => (React.createElement(Select, { showSearch: true, allowClear: true, style: style, placeholder: "Please Select Officer", ...(!!multiple ? { mode: "multiple" } : {}), onChange: onChange, loading: list.loading, filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0, dropdownStyle: { backgroundColor: "#fff" } }, list.data.map((officer) => {
|
|
22
|
+
var _a, _b, _c;
|
|
23
|
+
return (React.createElement(Select.Option, { value: officer.id, key: officer.id }, (_b = (_a = officer.identity) === null || _a === void 0 ? void 0 : _a.fullName) !== null && _b !== void 0 ? _b : (_c = officer.contact) === null || _c === void 0 ? void 0 : _c.name));
|
|
24
|
+
}))));
|
|
22
25
|
/** select officer */
|
|
23
26
|
async function onChange(value) {
|
|
24
27
|
await (onChange === null || onChange === void 0 ? void 0 : onChange(value));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE/C,MAAM,IAAI,GAAG,sBAAsB,CAAW,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAEjE,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QAC1D,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;QAClC,OAAO,EAAE;QACR,4DAA4D;QAC5D,IAAI;QACJ,cAAc;QACd,kBAAkB;QAClB,aAAa;QACb,YAAY;QACZ,IAAI;SACJ;KACD,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IACN,UAAU,QACV,UAAU,QACV,KAAK,EAAE,KAAK,EACZ,WAAW,EAAC,uBAAuB,KAE/B,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAC5C,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAC/B,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,KAAI,CAAC,EAEjE,aAAa,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,IAEzC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE/C,MAAM,IAAI,GAAG,sBAAsB,CAAW,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAEjE,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;QAC1D,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;QAClC,OAAO,EAAE;QACR,4DAA4D;QAC5D,IAAI;QACJ,cAAc;QACd,kBAAkB;QAClB,aAAa;QACb,YAAY;QACZ,IAAI;SACJ;KACD,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IACN,UAAU,QACV,UAAU,QACV,KAAK,EAAE,KAA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