@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.
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +87 -0
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +6 -18
- package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.d.ts +16 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +65 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -0
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.less +37 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.d.ts +10 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js +19 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.js.map +1 -0
- package/es/modules/corporate/company/identity/components/IdentifyQuickViewDialog/index.less +42 -0
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +67 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +72 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +66 -54
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.d.ts +16 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js +27 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.js.map +1 -0
- package/es/modules/corporate/company/identity/controls/IdentifyMenu/index.less +34 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +51 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +10 -19
- package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +27 -0
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +71 -0
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +8 -20
- package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +68 -56
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +1 -1
- package/package.json +1 -1
package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js
CHANGED
|
@@ -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
|
|
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
|
|
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: "
|
|
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: "
|
|
47
|
-
label: "
|
|
48
|
-
children:
|
|
34
|
+
key: "Details",
|
|
35
|
+
label: "Details",
|
|
36
|
+
children: React.createElement(OfficerProperties, { id: id, allowEdit: allowEdit }),
|
|
49
37
|
},
|
|
50
38
|
{
|
|
51
39
|
key: "Document",
|
package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map
CHANGED
|
@@ -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;
|
|
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,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
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
+
}
|