@voplus/morpho-csp 2.0.8 → 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 (33) hide show
  1. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +27 -0
  2. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +87 -0
  3. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -0
  4. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +6 -18
  5. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
  6. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.d.ts +16 -0
  7. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +65 -0
  8. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -0
  9. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +37 -0
  10. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.d.ts +10 -0
  11. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +19 -0
  12. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -0
  13. package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +42 -0
  14. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +67 -55
  15. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +72 -59
  16. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +66 -54
  17. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.d.ts +16 -0
  18. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js +27 -0
  19. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js.map +1 -0
  20. package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.less +34 -0
  21. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +27 -0
  22. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +51 -0
  23. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -0
  24. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +10 -19
  25. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
  26. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +27 -0
  27. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +71 -0
  28. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -0
  29. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +8 -20
  30. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
  31. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +68 -56
  32. package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +1 -1
  33. package/package.json +1 -1
@@ -2,17 +2,15 @@ import React, { useMemo } from "react";
2
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":[],"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C,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,SAAS,GAAI;yBAC9E;wBACD;4BACC,GAAG,EAAE,UAAU;4BACf,KAAK,EAAE,kBAAkB;4BACzB,QAAQ,EAAE,CACT,oBAAC,cAAc,IACd,UAAU,EAAE,MAAA,OAAO,CAAC,QAAQ,0CAAE,EAAG,EACjC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,EAC5B,SAAS,EAAE,EAAE,EACb,SAAS,EAAE,SAAS,GACnB,CACF;yBACD;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
+ {"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;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h - 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.8",
3
+ "version": "2.0.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"