@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,59 +1,72 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .select-legal-contact-dialog {
5
- .ant-modal-body {
6
- padding: 20px 0;
7
- }
8
- h3,
9
- h4 {
10
- margin-bottom: 0;
11
- }
12
- .select-legal-contact_title {
13
- padding: 0 20px 15px 20px;
14
- color: rgba(0, 0, 0, 0.85);
15
- font-weight: 500;
16
- font-size: 16px;
17
- line-height: 17px;
18
- border-bottom: 1px solid #f0f0f0;
19
- }
20
- .select-legal-contact_content {
21
- padding: 15px 20px;
22
- &.page5 {
23
- padding: 15px 30px;
24
- }
25
- .ant-radio-group {
26
- display: block;
27
- }
28
- .full-name-displayed {
29
- padding: 10px 0;
30
- border-bottom: 1px solid #f0f0f0;
31
- }
32
- .full-name {
33
- padding-bottom: 8px;
34
- color: rgba(0, 0, 0, 0.85);
35
- font-weight: 500;
36
- font-size: 16px;
37
- }
38
- .padding-top-15 {
39
- padding-top: 15px;
40
- }
41
- .sub-title {
42
- color: @heading-subtitle-color;
43
- }
44
- }
45
- .ant-tabs .ant-tabs-tabpane {
46
- padding: 0 20px;
47
- }
48
- .ant-form .ant-form-item {
49
- margin-bottom: 20px;
50
- }
51
- .select-legal-contact_footer {
52
- padding: 0 20px;
53
- text-align: right;
54
- & .ant-btn {
55
- margin-left: 10px;
56
- }
57
- }
58
- }
59
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .select-legal-contact-dialog {
5
+ .ant-modal-body {
6
+ padding: 20px 0 !important;
7
+ }
8
+
9
+ h3,
10
+ h4 {
11
+ margin-bottom: 0;
12
+ }
13
+
14
+ .select-legal-contact_title {
15
+ padding: 0 20px 15px 20px;
16
+ color: rgba(0, 0, 0, 0.85);
17
+ font-weight: 500;
18
+ font-size: 16px;
19
+ line-height: 17px;
20
+ border-bottom: 1px solid #f0f0f0;
21
+ }
22
+
23
+ .select-legal-contact_content {
24
+ padding: 15px 20px;
25
+
26
+ &.page5 {
27
+ padding: 15px 30px;
28
+ }
29
+
30
+ .ant-radio-group {
31
+ display: block;
32
+ }
33
+
34
+ .full-name-displayed {
35
+ padding: 10px 0;
36
+ border-bottom: 1px solid #f0f0f0;
37
+ }
38
+
39
+ .full-name {
40
+ padding-bottom: 8px;
41
+ color: rgba(0, 0, 0, 0.85);
42
+ font-weight: 500;
43
+ font-size: 16px;
44
+ }
45
+
46
+ .padding-top-15 {
47
+ padding-top: 15px;
48
+ }
49
+
50
+ .sub-title {
51
+ color: @heading-subtitle-color;
52
+ }
53
+ }
54
+
55
+ .ant-tabs .ant-tabs-tabpane {
56
+ padding: 0 20px;
57
+ }
58
+
59
+ .ant-form .ant-form-item {
60
+ margin-bottom: 20px;
61
+ }
62
+
63
+ .select-legal-contact_footer {
64
+ padding: 0 20px;
65
+ text-align: right;
66
+
67
+ & .ant-btn {
68
+ margin-left: 10px;
69
+ }
70
+ }
71
+ }
72
+ }
@@ -1,54 +1,66 @@
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
- display: block;
25
- }
26
- .full-name-displayed {
27
- padding: 10px 0;
28
- border-bottom: 1px solid #f0f0f0;
29
- }
30
- .full-name {
31
- padding-bottom: 8px;
32
- color: rgba(0, 0, 0, 0.85);
33
- font-weight: 500;
34
- font-size: 16px;
35
- }
36
- .padding-top-15 {
37
- padding-top: 15px;
38
- }
39
- }
40
- .ant-tabs .ant-tabs-tabpane {
41
- padding: 0 20px;
42
- }
43
- .ant-form .ant-form-item {
44
- margin-bottom: 20px;
45
- }
46
- .select-legal-contact_footer {
47
- padding: 0 20px;
48
- text-align: right;
49
- & .ant-btn {
50
- margin-left: 10px;
51
- }
52
- }
53
- }
54
- }
1
+ :global {
2
+ .select-legal-contact-dialog {
3
+ .ant-modal-body {
4
+ padding: 20px 0 !important;
5
+ }
6
+
7
+ h3,
8
+ h4 {
9
+ margin-bottom: 0;
10
+ }
11
+
12
+ .select-legal-contact_title {
13
+ padding: 0 20px 15px 20px;
14
+ color: rgba(0, 0, 0, 0.85);
15
+ font-weight: 500;
16
+ font-size: 16px;
17
+ line-height: 17px;
18
+ border-bottom: 1px solid #f0f0f0;
19
+ }
20
+
21
+ .select-legal-contact_content {
22
+ padding: 15px 20px;
23
+
24
+ &.page5 {
25
+ padding: 15px 30px;
26
+ }
27
+
28
+ .ant-radio-group {
29
+ display: block;
30
+ }
31
+
32
+ .full-name-displayed {
33
+ padding: 10px 0;
34
+ border-bottom: 1px solid #f0f0f0;
35
+ }
36
+
37
+ .full-name {
38
+ padding-bottom: 8px;
39
+ color: rgba(0, 0, 0, 0.85);
40
+ font-weight: 500;
41
+ font-size: 16px;
42
+ }
43
+
44
+ .padding-top-15 {
45
+ padding-top: 15px;
46
+ }
47
+ }
48
+
49
+ .ant-tabs .ant-tabs-tabpane {
50
+ padding: 0 20px;
51
+ }
52
+
53
+ .ant-form .ant-form-item {
54
+ margin-bottom: 20px;
55
+ }
56
+
57
+ .select-legal-contact_footer {
58
+ padding: 0 20px;
59
+ text-align: right;
60
+
61
+ & .ant-btn {
62
+ margin-left: 10px;
63
+ }
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const IdentityMenu: {
4
+ (props: {
5
+ id: string;
6
+ className?: string;
7
+ closeAside?: boolean;
8
+ size: "small" | "middle" | "large" | undefined;
9
+ icon?: React.ReactNode;
10
+ }): JSX.Element;
11
+ defaultProps: {
12
+ size: string;
13
+ icon: JSX.Element;
14
+ };
15
+ };
16
+ export default IdentityMenu;
@@ -0,0 +1,27 @@
1
+ import React, { useMemo } from "react";
2
+ import { Button, Dropdown } from "antd";
3
+ import { faCircleEllipsis } from "@fortawesome/pro-light-svg-icons";
4
+ import { Access, Paste, PasteLinks, PasteShortcut, Delete, } from "@voplus/morpho-document/es/controls/DocumentMenu/items";
5
+ import { useIdentityStore } from "../../../../../../data/identity";
6
+ import { observe } from "@voplus/morpho-ui";
7
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
8
+ import "./index.less";
9
+ import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
10
+ const IdentityMenu = (props) => {
11
+ const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
12
+ const store = useIdentityStore();
13
+ return observe(() => (React.createElement(DocumentMenuContext.Provider, { value: context },
14
+ React.createElement(Dropdown, { placement: "bottomRight", overlay: React.createElement("div", { className: "identity-menu" },
15
+ React.createElement(Access, null),
16
+ React.createElement(Paste, null),
17
+ React.createElement(PasteLinks, null),
18
+ React.createElement(PasteShortcut, null),
19
+ React.createElement(Delete, { action: () => store.delete(props.id) })) },
20
+ React.createElement(Button, { size: props.size, type: "link" }, props.icon)))));
21
+ };
22
+ IdentityMenu.defaultProps = {
23
+ size: "small",
24
+ icon: React.createElement(FAIcon, { icon: faCircleEllipsis }),
25
+ };
26
+ export default IdentityMenu;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,OAAO,EACN,6BAAK,SAAS,EAAC,eAAe;gBAC7B,oBAAC,MAAM,OAAG;gBACV,oBAAC,KAAK,OAAG;gBACT,oBAAC,UAAU,OAAG;gBACd,oBAAC,aAAa,OAAG;gBACjB,oBAAC,MAAM,IAAC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAI,CAC3C;YAGP,oBAAC,MAAM,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAC,MAAM,IACnC,KAAK,CAAC,IAAI,CACH,CACC,CACmB,CAC/B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;CACxC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,34 @@
1
+ :global {
2
+ .identity-menu {
3
+ list-style-type: none;
4
+ background-color: #fff;
5
+ background-clip: padding-box;
6
+ outline: none;
7
+ border-radius: 8px !important;
8
+ box-shadow: 0px 3px 6px rgba(119, 119, 119, 0.14) !important;
9
+ padding: 4px 8px !important;
10
+
11
+ .ant-btn {
12
+ display: block;
13
+ width: 100%;
14
+ padding: 0 12px;
15
+ height: 34px;
16
+ color: #666;
17
+ text-align: left;
18
+
19
+ &[disabled] {
20
+ color: rgba(0, 0, 0, 0.25);
21
+ }
22
+
23
+ &:hover {
24
+ background-color: #94cdff !important;
25
+ box-shadow: 0px 3px 6px rgba(99, 99, 99, 0.16) !important;
26
+ border-radius: 8px !important;
27
+ }
28
+
29
+ > span {
30
+ margin-left: 10px;
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ export declare type CompanyMemberPropertiesName = "Representative" | "Status";
3
+ declare const CompanyMemberProperties: {
4
+ (props: {
5
+ id: string;
6
+ allowEdit?: boolean;
7
+ companyMemberTitle?: string;
8
+ orgContactTitle?: string;
9
+ companyMemberProperties?: {
10
+ name: CompanyMemberPropertiesName;
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
+ companyMemberTitle: string;
21
+ orgContactTitle: string;
22
+ companyMemberProperties: {
23
+ name: string;
24
+ }[];
25
+ };
26
+ };
27
+ export default CompanyMemberProperties;
@@ -0,0 +1,51 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { useMember, useMemberStore } from "../../../../../../data/member";
4
+ import { Form, Row, Col } 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 MetionList from "@voplus/morpho-org/es/controls/MetionList";
9
+ import MemberStatusLabel from "../../controls/MemberStatusLabel";
10
+ import IdentifyProperties from "../../../identity/components/IdentifyProperties";
11
+ const CompanyMemberProperties = (props) => {
12
+ const { id, allowEdit, companyMemberTitle, orgContactTitle, companyMemberProperties, orgContactProperties, } = props;
13
+ const member = useMember(id);
14
+ const store = useMemberStore();
15
+ const filterPro = companyMemberProperties === null || companyMemberProperties === void 0 ? void 0 : companyMemberProperties.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: companyMemberTitle, 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 = member.identity) === null || _a === void 0 ? void 0 : _a.id, concatId: member.contact.id, memberId: id, allowEdit: allowEdit }))),
25
+ React.createElement(ContactProperties, { fromLabelRequired: true, id: (_b = member === null || member === void 0 ? void 0 : member.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 "Representative":
30
+ return (React.createElement(Form.Item, { label: "Representative" },
31
+ React.createElement(MetionList, { isEmptyData: true, canEdit: allowEdit, contacts: member.representative ? [member.representative] : [], onChange: (list) => {
32
+ store.edit(id, {
33
+ data: { RepresentativeId: list.length ? list[0].id : "" },
34
+ error: "message",
35
+ });
36
+ } })));
37
+ case "Status":
38
+ return (React.createElement(Form.Item, { label: "Status" },
39
+ React.createElement(MemberStatusLabel, { editable: true, status: member.status, onChange: (status) => {
40
+ store.edit(id, { data: { Status: status }, error: "message" });
41
+ } })));
42
+ }
43
+ }
44
+ };
45
+ CompanyMemberProperties.defaultProps = {
46
+ companyMemberTitle: "Member Properties",
47
+ orgContactTitle: "Contact Properties",
48
+ companyMemberProperties: [{ name: "Representative" }, { name: "Status" }],
49
+ };
50
+ export default CompanyMemberProperties;
51
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AACjE,OAAO,kBAAkB,MAAM,iDAAiD,CAAC;AAIjF,MAAM,uBAAuB,GAAG,CAAC,KAchC,EAAE,EAAE;IACJ,MAAM,EACL,EAAE,EACF,SAAS,EACT,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,GACpB,GAAG,KAAK,CAAC;IAEV,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;IAC7B,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,SAAS,GAAG,uBAAuB,aAAvB,uBAAuB,uBAAvB,uBAAuB,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,KAAK,CAAC,CAAC;IAE/E,OAAO,OA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UAAU,IACV,WAAW,QACX,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9D,QAAQ,EAAE,CACT,IAGG,EACF,EAAE;4BACH,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;gCACd,IAAI,EAAE,EAAE,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;gCACzD,KAAK,EAAE,SAAS;6BAChB,CAAC,CAAC;wBACJ,CAAC,GACA,CACS,CACZ,CAAC;YACH,KAAK,QAAQ;gBACZ,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ;oBACxB,oBAAC,iBAAiB,IACjB,QAAQ,QACR,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE;4BACpB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;wBAChE,CAAC,GACA,CACS,CACZ,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,kBAAkB,EAAE,mBAAmB;IACvC,eAAe,EAAE,oBAAoB;IACrC,uBAAuB,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;CACzE,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,42 +1,32 @@
1
1
  import React, { useMemo } from "react";
2
2
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
3
3
  import { useMember, useMemberStore } from "../../../../../../data/member";
4
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
5
+ import { Tabs } from "antd";
6
+ import { observe } from "@voplus/morpho-ui";
4
7
  import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
5
8
  import CompanyMemberMenu from "../../../controls/CompanyRegisterMenu";
6
- import ContactInformation from "@voplus/morpho-org/es/components/ContactInformation";
7
- import Details from "../Details";
9
+ import CompanyMemberProperties from "../CompanyMemberProperties";
8
10
  import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
9
- import IdentifyDetail from "../../../identity/components/IdentifyDetail";
10
11
  import MemberShareTransactions from "../MemberShareTransactions";
11
- import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
12
- import { Tabs } from "antd";
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 CompanyMemberPropertiesView = (props) => {
18
- var _a;
19
16
  const { id, allowEdit, toolbar, documentTab } = props;
20
17
  const member = useMember(id, { reload: true });
21
18
  const store = useMemberStore();
22
19
  const view = useMemo(() => new ViewContextData("QuickView"), []);
23
20
  const items = [
24
- { key: "Details", label: "Details", children: React.createElement(Details, { id: id, allowEdit: true }) },
25
21
  {
26
- key: "Share",
27
- label: "Share Transactions",
28
- children: React.createElement(MemberShareTransactions, { id: id }),
29
- disabled: true,
22
+ key: "Details",
23
+ label: "Details",
24
+ children: React.createElement(CompanyMemberProperties, { id: id, allowEdit: allowEdit }),
30
25
  },
31
26
  {
32
- key: "Contact",
33
- label: "Contact Details",
34
- children: React.createElement(ContactInformation, { id: member.contact.id, allowEdit: allowEdit }),
35
- },
36
- {
37
- key: "Identify",
38
- label: "Identify Details",
39
- children: (React.createElement(IdentifyDetail, { identityId: (_a = member.identity) === null || _a === void 0 ? void 0 : _a.id, concatId: member.contact.id, memberId: id, allowEdit: allowEdit })),
27
+ key: "Shares",
28
+ label: "Shares",
29
+ children: React.createElement(MemberShareTransactions, { id: id }),
40
30
  },
41
31
  ];
42
32
  if (documentTab)
@@ -61,7 +51,7 @@ const CompanyMemberPropertiesView = (props) => {
61
51
  toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
62
52
  React.createElement(Open, { url: `/member/${id}` }),
63
53
  React.createElement(CompanyMemberMenu, { id: id, unitId: member.contact.id, store: store, closeAside: true })))),
64
- React.createElement(Tabs, { defaultActiveKey: "Identify", items: items }))));
54
+ React.createElement(Tabs, { defaultActiveKey: "Details", items: items }))));
65
55
  });
66
56
  };
67
57
  CompanyMemberPropertiesView.defaultProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,cAAc,MAAM,6CAA6C,CAAC;AACzE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAA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AAE,IAAI;CACjB,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,2BAA2B,GAAG,CAAC,KAMpC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEtD,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;IAEjE,MAAM,KAAK,GAAuB;QACjC;YACC,GAAG,E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AC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,SAAG,CACxE,CACV,CACI;gBAEN,oBAAC,IAAI,IAAC,gBAAgB,EAAC,SAAS,EAAC,KAAK,EAAE,KAAK,GAAI,CAC5C,CACgB,CACvB,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,2BAA2B,CAAC,YAAY,GAAG;IAC1C,WAAW,EAAE,IAAI;CACjB,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,11 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const MemberShareTransactions: {
3
- (props: {
4
- id: string;
5
- size: "large" | "middle" | "small";
6
- }): JSX.Element;
7
- defaultProps: {
8
- size: string;
9
- };
10
- };
2
+ declare const MemberShareTransactions: (props: {
3
+ id: string;
4
+ }) => JSX.Element;
11
5
  export default MemberShareTransactions;
@@ -1,46 +1,38 @@
1
- import { Table, Tag } from "antd";
2
- import React from "react";
3
- import moment from "moment";
1
+ import React, { useEffect, useState } from "react";
2
+ import { useMember } from "../../../../../../data/member";
3
+ import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
4
+ import { observe } from "@voplus/morpho-ui";
5
+ import { State } from "./state";
6
+ import { Empty } from "antd";
7
+ import { Scrollbars } from "react-custom-scrollbars";
8
+ import { autorun } from "mobx";
9
+ import dayjs from "dayjs";
4
10
  import styles from "./index.less";
5
11
  const MemberShareTransactions = (props) => {
6
- const { id, size } = props;
7
- const columns = [
8
- {
9
- title: "Date",
10
- dataIndex: "date",
11
- key: "date",
12
- render: (data) => (React.createElement(React.Fragment, null, moment(data).format("DD MMM YYYY"))),
13
- },
14
- {
15
- title: "Type/Shares",
16
- dataIndex: "typeShares",
17
- key: "typeShares",
18
- },
19
- {
20
- title: "Share Certs",
21
- dataIndex: "shareCerts",
22
- key: "shareCerts",
23
- render: (tags) => (React.createElement(React.Fragment, null, tags.map((tag) => {
24
- const color = tag.length > 5 ? "geekblue" : "green";
25
- return (React.createElement(Tag, { color: color, key: tag }, tag.toUpperCase()));
26
- }))),
27
- },
28
- ];
29
- const data = [
30
- {
31
- key: "1",
32
- date: "2020-01-19T09:20:30.072",
33
- typeShares: "Allofment 200",
34
- shareCerts: ["cool", "teacher"],
35
- },
36
- ];
37
- return (React.createElement("div", { className: styles["member-share-transactions"] },
38
- React.createElement("h3", null, "Ordinary"),
39
- React.createElement(Table, { className: "share-transactions-table", size: size, columns: columns, dataSource: data, pagination: false }),
40
- React.createElement("h3", null, "Preference")));
41
- };
42
- MemberShareTransactions.defaultProps = {
43
- size: "middle",
12
+ const { id } = props;
13
+ const member = useMember(id, { reload: true, includes: "shares" });
14
+ const [state] = useState(new State());
15
+ useEffect(() => {
16
+ autorun(() => state.update(member.shares));
17
+ }, [id]);
18
+ return observe(() => {
19
+ var _a, _b;
20
+ return (React.createElement("div", { className: styles["member-share-transactions"] },
21
+ React.createElement(Scrollbars, { autoHide: true }, ((_a = state.shareList) === null || _a === void 0 ? void 0 : _a.length) ? ((_b = state.shareList) === null || _b === void 0 ? void 0 : _b.map((share, index) => {
22
+ var _a;
23
+ return (React.createElement("div", { className: "share-list", key: index },
24
+ React.createElement("h3", { className: "share-title" }, share.shareType), (_a = share.shareLine) === null || _a === void 0 ? void 0 :
25
+ _a.map((shareline, i) => (React.createElement("div", { className: "share-item", key: i },
26
+ React.createElement(ColumnItem, null,
27
+ React.createElement(ColumnItemCol, { span: 8, title: "Type" },
28
+ React.createElement("div", { className: "share-item-col-val" }, shareline.type)),
29
+ React.createElement(ColumnItemCol, { span: 8, title: "Date" },
30
+ React.createElement("div", { className: "share-item-col-val" }, dayjs(shareline.date).format("YYYY-MM-DD"))),
31
+ React.createElement(ColumnItemCol, { span: 8, title: "Shares", align: "flex-end" },
32
+ React.createElement("div", { className: "share-item-col-val" }, shareline.shares)))))),
33
+ React.createElement("div", { className: "share-total" }, share.shares)));
34
+ })) : (React.createElement(Empty, null)))));
35
+ });
44
36
  };
45
37
  export default MemberShareTransactions;
46
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberShareTransactions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBAAuB,GAAG,CAAC,KAAyD,EAAE,EAAE;IAC7F,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAE3B,MAAM,OAAO,GAAG;QACf;YACC,KAAK,EAAE,MAAM;YACb,SAAS,EAAE,MAAM;YACjB,GAAG,EAAE,MAAM;YACX,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,CACzB,oBAAC,KAAK,CAAC,QAAQ,QAAE,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAkB,CACrE;SACD;QACD;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,YAAY;YACvB,GAAG,EAAE,YAAY;SACjB;QACD;YACC,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,YAAY;YACvB,GAAG,EAAE,YAAY;YACjB,MAAM,EAAE,CAAC,IAAc,EAAE,EAAE,CAAC,CAC3B,0CACE,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;gBACjB,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC;gBACpD,OAAO,CACN,oBAAC,GAAG,IAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,IACzB,GAAG,CAAC,WAAW,EAAE,CACb,CACN,CAAC;YACH,CAAC,CAAC,CACA,CACH;SACD;KACD,CAAC;IAEF,MAAM,IAAI,GAAG;QACZ;YACC,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,yBAAyB;YAC/B,UAAU,EAAE,eAAe;YAC3B,UAAU,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;SAC/B;KACD,CAAC;IAEF,OAAO,CACN,6BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;QAClD,2CAAiB;QACjB,oBAAC,KAAK,IACL,SAAS,EAAC,0BAA0B,EACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,IAAI,EAChB,UAAU,EAAE,KAAK,GAChB;QACF,6CAAmB,CACd,CACN,CAAC;AACH,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,IAAI,EAAE,QAAQ;CACd,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberShareTransactions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,uBA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