@voplus/morpho-csp 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/es/data/member/interfaces.d.ts +14 -2
  2. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +27 -0
  3. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +87 -0
  4. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -0
  5. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +6 -18
  6. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
  7. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.d.ts +16 -0
  8. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +65 -0
  9. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -0
  10. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +37 -0
  11. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.d.ts +10 -0
  12. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +19 -0
  13. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -0
  14. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +42 -0
  15. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +67 -55
  16. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +72 -59
  17. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +66 -54
  18. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.d.ts +16 -0
  19. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js +27 -0
  20. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js.map +1 -0
  21. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.less +34 -0
  22. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +27 -0
  23. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +51 -0
  24. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -0
  25. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +11 -21
  26. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
  27. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.d.ts +3 -9
  28. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js +33 -41
  29. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.js.map +1 -1
  30. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +33 -12
  31. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.d.ts +22 -0
  32. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js +44 -0
  33. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/state.js.map +1 -0
  34. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.js +1 -1
  35. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.js.map +1 -1
  36. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +27 -0
  37. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +71 -0
  38. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -0
  39. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +8 -20
  40. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
  41. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +68 -56
  42. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +1 -1
  43. package/package.json +1 -1
@@ -1,12 +1,33 @@
1
- .member-share-transactions {
2
- padding: 15px 20px;
3
- :global {
4
- h3 {
5
- margin-bottom: 15px;
6
- color: #000;
7
- }
8
- .share-transactions-table {
9
- margin-bottom: 15px;
10
- }
11
- }
12
- }
1
+ .member-share-transactions {
2
+ height: 100%;
3
+ padding: 15px 20px;
4
+
5
+ :global {
6
+ h3 {
7
+ margin-bottom: 15px;
8
+ font-weight: bold;
9
+ color: #000;
10
+ }
11
+
12
+ .share-list {
13
+ font-size: 1.25rem;
14
+ margin-bottom: 20px;
15
+
16
+ .share-item {
17
+ height: 60px;
18
+
19
+ .share-item-col-val {
20
+ height: 32px;
21
+ }
22
+ }
23
+
24
+ .share-total {
25
+ text-align: end;
26
+ font-weight: bold;
27
+ font-size: 1.25rem;
28
+ color: #ff5809;
29
+ padding-right: 20px;
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,22 @@
1
+ import { IMemberSharesLine } from "../../../../../../data/member";
2
+ interface IShares {
3
+ groups: {
4
+ key: string;
5
+ shares: number;
6
+ }[];
7
+ lines: IMemberSharesLine[];
8
+ }
9
+ export interface IShareList {
10
+ shareType: string;
11
+ shares: number;
12
+ shareLine: IMemberSharesLine[];
13
+ }
14
+ export declare class State {
15
+ /** 前端需要转成的数据类型 */
16
+ shareList: IShareList[];
17
+ /** 后台返回的 shares 数据 */
18
+ shares: IShares;
19
+ constructor();
20
+ update(shares?: IShares): void;
21
+ }
22
+ export {};
@@ -0,0 +1,44 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable, action } from "mobx";
3
+ export class State {
4
+ constructor() {
5
+ /** 前端需要转成的数据类型 */
6
+ Object.defineProperty(this, "shareList", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: []
11
+ });
12
+ /** 后台返回的 shares 数据 */
13
+ Object.defineProperty(this, "shares", {
14
+ enumerable: true,
15
+ configurable: true,
16
+ writable: true,
17
+ value: void 0
18
+ });
19
+ makeObservable(this);
20
+ }
21
+ update(shares) {
22
+ var _a, _b, _c;
23
+ this.shareList = [];
24
+ this.shares = shares;
25
+ (_b = (_a = this.shares) === null || _a === void 0 ? void 0 : _a.groups) === null || _b === void 0 ? void 0 : _b.map((g) => this.shareList.push({ shareType: g.key, shares: g.shares, shareLine: [] }));
26
+ (_c = this.shareList) === null || _c === void 0 ? void 0 : _c.map((s) => {
27
+ this.shares.lines.map((l) => {
28
+ if (l.class === s.shareType) {
29
+ s.shareLine.push(l);
30
+ }
31
+ });
32
+ });
33
+ }
34
+ }
35
+ __decorate([
36
+ observable
37
+ ], State.prototype, "shareList", void 0);
38
+ __decorate([
39
+ observable
40
+ ], State.prototype, "shares", void 0);
41
+ __decorate([
42
+ action
43
+ ], State.prototype, "update", null);
44
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberShareTransactions/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAc1D,MAAM,OAAO,KAAK;IAOjB;QANA,kBAAkB;QACN;;;;mBAAiC,EAAE;WAAC;QAEhD,sBAAsB;QACV;;;;;WAAuB;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,MAAM,CAAC,MAAgB;;QACrC,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QAEpB,IAAI,CAAC,MAAM,GAAG,MAAO,CAAC;QAEtB,MAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAC9B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC1E,CAAC;QAEF,MAAA,IAAI,CAAC,SAAS,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACzB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,SAAS,EAAE;oBAC5B,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;iBACpB;YACF,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC;CACD;AA1BY;IAAX,UAAU;wCAAqC;AAGpC;IAAX,UAAU;qCAAwB;AAM3B;IAAP,MAAM;mCAgBN"}
@@ -6,7 +6,7 @@ import React from "react";
6
6
  import { faAnalytics } from "@fortawesome/pro-light-svg-icons";
7
7
  const ShareTransactionsDataIcon = (props) => {
8
8
  const { id, className } = props;
9
- return (React.createElement(Popover, { content: React.createElement(MemberShareTransactions, { id: id, size: "small" }), title: "", arrow: true, overlayClassName: "task-analytics-popover" },
9
+ return (React.createElement(Popover, { content: React.createElement(MemberShareTransactions, { id: id }), title: "", arrow: true, overlayClassName: "task-analytics-popover" },
10
10
  React.createElement("span", { className: className },
11
11
  React.createElement(FAIcon, { icon: faAnalytics }))));
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,yBAAyB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC/E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACN,oBAAC,OAAO,IACP,OAAO,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,GAAG,EACzD,KAAK,EAAC,EAAE,EACR,KAAK,QACL,gBAAgB,EAAC,wBAAwB;QAEzC,8BAAM,SAAS,EAAE,SAAS;YACzB,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACvB,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAE/D,MAAM,yBAAyB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAC/E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACN,oBAAC,OAAO,IACP,OAAO,EAAE,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,GAAI,EAC5C,KAAK,EAAC,EAAE,EACR,KAAK,QACL,gBAAgB,EAAC,wBAAwB;QAEzC,8BAAM,SAAS,EAAE,SAAS;YACzB,oBAAC,MAAM,IAAC,IAAI,EAAE,WAAW,GAAI,CACvB,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ export declare type OfficerPropertiesName = "Status" | "Appointment Date" | "Cease Date" | "Email" | "Phone";
3
+ declare const OfficerProperties: {
4
+ (props: {
5
+ id: string;
6
+ allowEdit?: boolean;
7
+ officerTitle?: string;
8
+ orgContactTitle?: string;
9
+ officerProperties?: {
10
+ name: OfficerPropertiesName;
11
+ visible?: boolean;
12
+ }[];
13
+ orgContactProperties?: {
14
+ name: "Phone" | "Address" | "E-mail" | "DingId" | "Site" | "Birthday" | "Gender";
15
+ visible?: boolean;
16
+ }[];
17
+ onReloadMenu?: () => void;
18
+ }): JSX.Element;
19
+ defaultProps: {
20
+ officerTitle: string;
21
+ orgContactTitle: string;
22
+ officerProperties: {
23
+ name: string;
24
+ }[];
25
+ };
26
+ };
27
+ export default OfficerProperties;
@@ -0,0 +1,71 @@
1
+ import React from "react";
2
+ import { observe, InlineEdit } from "@voplus/morpho-ui";
3
+ import { useOfficer, useOfficerStore, } from "../../../../../../data/officer";
4
+ import { Form, Row, Col, Badge } from "antd";
5
+ import { Scrollbars } from "react-custom-scrollbars";
6
+ import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
7
+ import ContactProperties from "@voplus/morpho-org/es/components/ContactProperties";
8
+ import IdentifyProperties from "../../../identity/components/IdentifyProperties";
9
+ import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
10
+ import dayjs from "dayjs";
11
+ const OfficerProperties = (props) => {
12
+ const { id, allowEdit, officerTitle, orgContactTitle, officerProperties, orgContactProperties } = props;
13
+ const officer = useOfficer(id);
14
+ const store = useOfficerStore();
15
+ const filterPro = officerProperties === null || officerProperties === void 0 ? void 0 : officerProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
16
+ return observe(() => {
17
+ var _a, _b;
18
+ return (React.createElement("div", { className: "properties-list" },
19
+ React.createElement(Scrollbars, { autoHide: true },
20
+ React.createElement(PropertiesSection, { title: officerTitle, properties: React.createElement(Form, { labelAlign: "left", labelCol: { span: 10 }, scrollToFirstError: true }, filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(React.Fragment, { key: i.name }, renderProp(i))))) }),
21
+ React.createElement(Row, null,
22
+ React.createElement(Col, { span: 10 }, "Identity:"),
23
+ React.createElement(Col, { span: 14 },
24
+ React.createElement(IdentifyProperties, { identityId: (_a = officer.identity) === null || _a === void 0 ? void 0 : _a.id, concatId: officer.contact.id, officerId: id, allowEdit: allowEdit }))),
25
+ React.createElement(ContactProperties, { fromLabelRequired: true, id: (_b = officer === null || officer === void 0 ? void 0 : officer.contact) === null || _b === void 0 ? void 0 : _b.id, labelCol: 10, wrapperCol: 14, title: orgContactTitle, customProperties: orgContactProperties }))));
26
+ });
27
+ function renderProp(item) {
28
+ switch (item.name) {
29
+ case "Status":
30
+ return (officer.status && (React.createElement(Form.Item, { label: "Status" }, officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))));
31
+ case "Appointment Date":
32
+ return (React.createElement(Form.Item, { label: "Appointment Date" },
33
+ React.createElement(InlineEdit, { defaultValue: dayjs((officer === null || officer === void 0 ? void 0 : officer.appointment) !== "" ? officer === null || officer === void 0 ? void 0 : officer.appointment : undefined), content: (v) => (officer === null || officer === void 0 ? void 0 : officer.appointment) ? (React.createElement("span", null, dayjs(officer === null || officer === void 0 ? void 0 : officer.appointment).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Appointment Date" : "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
34
+ if ((officer === null || officer === void 0 ? void 0 : officer.appointment) && dayjs(date).isSame(officer === null || officer === void 0 ? void 0 : officer.appointment, "day"))
35
+ return;
36
+ edit({
37
+ Appointment: (date !== null ? dayjs(date).format("YYYY-MM-DD") : ""),
38
+ });
39
+ } })));
40
+ case "Cease Date":
41
+ return (React.createElement(Form.Item, { label: "Cease Date" },
42
+ React.createElement(InlineEdit, { defaultValue: dayjs((officer === null || officer === void 0 ? void 0 : officer.cease) !== "" ? officer === null || officer === void 0 ? void 0 : officer.cease : undefined), content: (v) => (officer === null || officer === void 0 ? void 0 : officer.cease) ? (React.createElement("span", null, dayjs(officer === null || officer === void 0 ? void 0 : officer.cease).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Cease Date" : "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
43
+ if ((officer === null || officer === void 0 ? void 0 : officer.cease) && dayjs(date).isSame(officer === null || officer === void 0 ? void 0 : officer.cease, "day"))
44
+ return;
45
+ edit({ Cease: (date !== null ? dayjs(date).format("YYYY-MM-DD") : "") });
46
+ } })));
47
+ case "Email":
48
+ return (React.createElement(Form.Item, { label: "Email" },
49
+ React.createElement(InlineEdit, { defaultValue: officer.email, content: (v) => officer.email ? (React.createElement("span", null, officer.email)) : (React.createElement("span", { className: "add-info-style" }, "Add Email")), onSave: (value) => store.edit(id, { data: { Email: value }, error: "message" }) })));
50
+ case "Phone":
51
+ return (React.createElement(Form.Item, { label: "Phone" },
52
+ React.createElement(InlineEdit, { defaultValue: officer.phone, content: (v) => officer.phone ? (React.createElement("span", null, officer.phone)) : (React.createElement("span", { className: "add-info-style" }, "Add Phone")), onSave: (value) => store.edit(id, { data: { Phone: value }, error: "message" }) })));
53
+ }
54
+ }
55
+ async function edit(data) {
56
+ await store.edit(id, { data, error: "message" });
57
+ }
58
+ };
59
+ OfficerProperties.defaultProps = {
60
+ officerTitle: "Officer Properties",
61
+ orgContactTitle: "Contact Properties",
62
+ officerProperties: [
63
+ { name: "Status" },
64
+ { name: "Appointment Date" },
65
+ { name: "Cease Date" },
66
+ { name: "Email" },
67
+ { name: "Phone" },
68
+ ],
69
+ };
70
+ export default OfficerProperties;
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAEN,UAAU,EACV,eAAe,GACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,G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2
  import { Skeleton, Tabs } from "antd";
3
3
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
4
4
  import { useOfficer, useOfficerStore } from "../../../../../../data/officer";
5
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
6
+ import { observe } from "@voplus/morpho-ui";
5
7
  import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
6
8
  import CompanyOfficerMenu from "../../../controls/CompanyRegisterMenu";
7
- import ContactInformation from "@voplus/morpho-org/es/components/ContactInformation";
8
9
  import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
9
- import IdentifyDetail from "../../../identity/components/IdentifyDetail";
10
- import OfficerInformation from "../OfficerInformation";
11
- import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
10
+ import OfficerProperties from "../OfficerProperties";
12
11
  import PositionSelect from "../PositionSelect";
13
12
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
14
13
  import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
15
- import { observe } from "@voplus/morpho-ui";
16
14
  import styles from "./index.less";
17
15
  const OfficerPropertiesView = (props) => {
18
16
  const { id, allowEdit, toolbar } = props;
@@ -20,7 +18,7 @@ const OfficerPropertiesView = (props) => {
20
18
  const store = useOfficerStore();
21
19
  const view = useMemo(() => new ViewContextData("QuickView"), []);
22
20
  return observe(() => {
23
- var _a, _b, _c, _d;
21
+ var _a, _b, _c;
24
22
  return (React.createElement(ViewContext.Provider, { value: view },
25
23
  React.createElement("div", { className: styles["officer-properties-view-content"] },
26
24
  officer.loading ? (React.createElement(Skeleton, { avatar: true, paragraph: { rows: 1 } })) : (React.createElement("div", { className: "officer-properties-view-header" },
@@ -31,21 +29,11 @@ const OfficerPropertiesView = (props) => {
31
29
  toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
32
30
  React.createElement(Open, { url: `/officer/${id}` }),
33
31
  React.createElement(CompanyOfficerMenu, { id: id, unitId: officer.contact.id, store: store, closeAside: true }))))),
34
- React.createElement(Tabs, { defaultActiveKey: "Officer", items: [
35
- {
36
- key: "Officer",
37
- label: "Officer Details",
38
- children: React.createElement(OfficerInformation, { id: id, allowEdit: allowEdit }),
39
- },
40
- {
41
- key: "Contact",
42
- label: "Contact Details",
43
- children: React.createElement(ContactInformation, { id: officer.contact.id, allowEdit: allowEdit }),
44
- },
32
+ React.createElement(Tabs, { defaultActiveKey: "Details", items: [
45
33
  {
46
- key: "Identify",
47
- label: "Identify Details",
48
- children: (React.createElement(IdentifyDetail, { identityId: (_d = officer.identity) === null || _d === void 0 ? void 0 : _d.id, concatId: officer.contact.id, officerId: id, allowEdit: allowEdit })),
34
+ key: "Details",
35
+ label: "Details",
36
+ children: React.createElement(OfficerProperties, { id: id, allowEdit: allowEdit }),
49
37
  },
50
38
  {
51
39
  key: "Document",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,uCAAuC,CAAC;AACvE,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,cAAc,MAAM,6CAA6C,CAAC;AACzE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAA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,KAAK,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,GAAI;yBAC1E;qBACD,GACA,CACG,CACgB,CACvB,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,uCAAuC,CAAC;AACvE,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,qBAAqB,GAAG,CAAC,KAA6D,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEzC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,MAAM,IAAI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,EAAE,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,GAAI;yBAC7D;wBACD;4BACC,GAAG,EAAE,UAAU;4BACf,KAAK,EAAE,WAAW;4BAClB,QAAQ,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,GAAI;yBACjD;wBACD;4BACC,GAAG,EAAE,YAAY;4BACjB,KAAK,EAAE,YAAY;4BACnB,QAAQ,EAAE,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,GAAI;yBAC1E;qBACD,GACA,CACG,CACgB,CACvB,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,56 +1,68 @@
1
- :global {
2
- .filing-record-quick-view {
3
- position: relative;
4
- .ant-modal-body {
5
- display: flex;
6
- height: calc(100vh - 200px);
7
- padding: 0;
8
- .filing-record-content {
9
- width: 33vw;
10
- .ant-descriptions {
11
- margin: 15px 20px;
12
- .ant-descriptions-header {
13
- margin-bottom: 15px;
14
- }
15
- .ant-descriptions-item-label,
16
- .ant-descriptions-item-content {
17
- line-height: 30px;
18
- }
19
- .ant-descriptions-item-label {
20
- width: 150px;
21
- font-weight: 500;
22
- }
23
- }
24
- }
25
- .filing-record-aside {
26
- position: absolute;
27
- width: 33vw;
28
- height: 100%;
29
- right: 0;
30
- box-shadow: -2px 0 8px -2px rgba(0, 0, 0, 0.15);
31
- transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1),
32
- -webkit-transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
33
- &.aside-none {
34
- width: 0;
35
- height: 100%;
36
- }
37
- .ant-tabs {
38
- display: flex;
39
- flex-direction: column;
40
- height: 100%;
41
- .ant-tabs-nav {
42
- margin-bottom: 0;
43
- }
44
- .ant-tabs-content {
45
- height: 100%;
46
- padding-bottom: 0px !important;
47
- .ant-tabs-tabpane {
48
- position: relative;
49
- height: 100%;
50
- }
51
- }
52
- }
53
- }
54
- }
55
- }
56
- }
1
+ :global {
2
+ .filing-record-quick-view {
3
+ position: relative;
4
+
5
+ .ant-modal-body {
6
+ display: flex;
7
+ height: calc(100vh - 200px);
8
+ padding: 0 !important;
9
+
10
+ .filing-record-content {
11
+ width: 33vw;
12
+
13
+ .ant-descriptions {
14
+ margin: 15px 20px;
15
+
16
+ .ant-descriptions-header {
17
+ margin-bottom: 15px;
18
+ }
19
+
20
+ .ant-descriptions-item-label,
21
+ .ant-descriptions-item-content {
22
+ line-height: 30px;
23
+ }
24
+
25
+ .ant-descriptions-item-label {
26
+ width: 150px;
27
+ font-weight: 500;
28
+ }
29
+ }
30
+ }
31
+
32
+ .filing-record-aside {
33
+ position: absolute;
34
+ width: 33vw;
35
+ height: 100%;
36
+ right: 0;
37
+ box-shadow: -2px 0 8px -2px rgba(0, 0, 0, 0.15);
38
+ transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1),
39
+ -webkit-transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
40
+
41
+ &.aside-none {
42
+ width: 0;
43
+ height: 100%;
44
+ }
45
+
46
+ .ant-tabs {
47
+ display: flex;
48
+ flex-direction: column;
49
+ height: 100%;
50
+
51
+ .ant-tabs-nav {
52
+ margin-bottom: 0;
53
+ }
54
+
55
+ .ant-tabs-content {
56
+ height: 100%;
57
+ padding-bottom: 0px !important;
58
+
59
+ .ant-tabs-tabpane {
60
+ position: relative;
61
+ height: 100%;
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
@@ -77,7 +77,7 @@
77
77
  .share-certificate-client-view-disclaimer {
78
78
  .ant-modal-body {
79
79
  height: 600px;
80
- padding: 0;
80
+ padding: 0 !important;
81
81
  }
82
82
  }
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"