@voplus/morpho-csp 1.3.6 → 1.3.8
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/CorporateMentionList/index.d.ts +32 -0
- package/es/components/CorporateMentionList/index.js +30 -0
- package/es/components/CorporateMentionList/index.js.map +1 -0
- package/es/components/CorporateMentionList/index.less +51 -0
- package/es/components/DragTableRow/index.d.ts +1 -1
- package/es/components/TableDragRow/index.d.ts +1 -1
- package/es/data/clda-form/interfaces.d.ts +8 -0
- package/es/data/clda-form/types.d.ts +8 -0
- package/es/data/corporate/interfaces.d.ts +3 -0
- package/es/data/corporate/types.d.ts +3 -0
- package/es/data/share-certificate/ShareCertificateStore.d.ts +14 -0
- package/es/data/share-certificate/ShareCertificateStore.js +36 -1
- package/es/data/share-certificate/ShareCertificateStore.js.map +1 -1
- package/es/data/share-certificate/interfaces.d.ts +6 -1
- package/es/data/share-certificate/metas.js +2 -2
- package/es/data/share-certificate/metas.js.map +1 -1
- package/es/data/share-certificate/types.d.ts +3 -1
- package/es/modules/corporate/company/components/CompanyDetailsView/index.js +11 -46
- package/es/modules/corporate/company/components/CompanyDetailsView/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/Properties.d.ts +7 -0
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js +68 -0
- package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -0
- package/es/modules/corporate/company/components/CompanyProperties/index.d.ts +9 -3
- package/es/modules/corporate/company/components/CompanyProperties/index.js +18 -86
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js +1 -1
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.d.ts +7 -0
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js +25 -0
- package/es/modules/corporate/company/pages/CompanyPage/CompanySetting.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js +6 -3
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/company/pages/CompanyPage/index.less +6 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.d.ts +7 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js +34 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTablePreview/index.less +10 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.d.ts +0 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +25 -41
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +32 -69
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.d.ts +0 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +3 -3
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +2 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.d.ts +9 -0
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js +35 -0
- package/es/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +88 -51
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +32 -6
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +35 -4
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +3 -3
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.d.ts +2 -2
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +6 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.d.ts +11 -5
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +21 -2
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.less +41 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js +32 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Cancel.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js +52 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee1.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js +52 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/DeleteSignee2.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.js +36 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/Issue.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.js +18 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/RefreshDetails.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js +32 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/UndoCancel.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.d.ts +6 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.js +6 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/items/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js +6 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.less +18 -28
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityLogTpl.d.ts +5 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityLogTpl.js +11 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityLogTpl.js.map +1 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityRefreshContext.d.ts +7 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityRefreshContext.js +20 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/ActivityRefreshContext.js.map +1 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js +29 -23
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.less +4 -3
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/SigneeRefreshContext.d.ts +7 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/SigneeRefreshContext.js +20 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/SigneeRefreshContext.js.map +1 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +9 -9
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js +17 -15
- package/es/modules/self-registration/clda-form/components/SecretaryList/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.d.ts +4 -0
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js +10 -1
- package/es/modules/self-registration/clda-form/components/SecretaryList/state.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +7 -5
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
- package/es/obsolete/OfficerRegisterDefaultView/index.js +1 -1
- package/es/obsolete/OfficerRegisterDefaultView/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "@voplus/morpho-org/es/controls/MetionList/index.less";
|
|
3
|
+
declare const CorporateMentionList: {
|
|
4
|
+
(props: {
|
|
5
|
+
/** 已选contact信息documents: {id, name}[] */
|
|
6
|
+
contacts: {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}[];
|
|
10
|
+
/** placeholder */
|
|
11
|
+
placeholder?: string | undefined;
|
|
12
|
+
/** 多选, default true */
|
|
13
|
+
multiple?: boolean | undefined;
|
|
14
|
+
/** 保存时 是否允许返回空数据 */
|
|
15
|
+
isEmptyData?: boolean | undefined;
|
|
16
|
+
/** SelectUnitDialog default selection */
|
|
17
|
+
defaultSelection?: "Everyone" | "Users" | "Members" | "Officers" | undefined;
|
|
18
|
+
/**可以更改与否,default true */
|
|
19
|
+
canEdit?: boolean | undefined;
|
|
20
|
+
/** 变更事件 */
|
|
21
|
+
onChange?: ((list: {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}[]) => void) | undefined;
|
|
25
|
+
}): JSX.Element;
|
|
26
|
+
defaultProps: {
|
|
27
|
+
placeholder: string;
|
|
28
|
+
canEdit: boolean;
|
|
29
|
+
multiple: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default CorporateMentionList;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { faEdit } from "@fortawesome/pro-light-svg-icons";
|
|
3
|
+
import { faEdit as faEditSolid } from "@fortawesome/free-solid-svg-icons";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import Icon from "@voplus/morpho-ui/es/controls/HoverSwitchIcon";
|
|
6
|
+
import UnitReference from "@voplus/morpho-org/es/controls/UnitReference";
|
|
7
|
+
import CorporateUnitSelectDialog from "../CorporateUnitSelectDialog";
|
|
8
|
+
import "@voplus/morpho-org/es/controls/MetionList/index.less";
|
|
9
|
+
const CorporateMentionList = (props) => {
|
|
10
|
+
const [unit, setUint] = useState(false);
|
|
11
|
+
return observe(() => {
|
|
12
|
+
var _a;
|
|
13
|
+
return (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement("div", { className: "mention-list" },
|
|
15
|
+
React.createElement("div", null, props.contacts.length ? (props.contacts.map((item) => React.createElement(UnitReference, { key: item.id, id: item.id, symbol: true }))) : (React.createElement("span", { className: "add-info-style" }, props.placeholder))),
|
|
16
|
+
React.createElement("div", null, props.canEdit === true && (React.createElement(Icon, { className: "edit-icon", icon: faEdit, hover: faEditSolid, onClick: () => setUint(true) })))),
|
|
17
|
+
unit && (React.createElement(CorporateUnitSelectDialog, { type: "click", multiSelect: props.multiple, isEmptyData: props.isEmptyData, defaultSelected: props.contacts, defaultSelection: (_a = props.defaultSelection) !== null && _a !== void 0 ? _a : "Users", onCancel: () => setUint(false), onSelect: (data) => {
|
|
18
|
+
var _a;
|
|
19
|
+
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, data);
|
|
20
|
+
setUint(false);
|
|
21
|
+
} }))));
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
CorporateMentionList.defaultProps = {
|
|
25
|
+
placeholder: "Select Contacts",
|
|
26
|
+
canEdit: true,
|
|
27
|
+
multiple: true,
|
|
28
|
+
};
|
|
29
|
+
export default CorporateMentionList;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CorporateMentionList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,IAAI,MAAM,+CAA+C,CAAC;AACjE,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,yBAAyB,MAAM,8BAA8B,CAAC;AACrE,OAAO,sDAAsD,CAAC;AAE9D,MAAM,oBAAoB,GAAG,CAAC,KAe7B,EAAE,EAAE;IACJ,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB,oBAAC,KAAK,CAAC,QAAQ;YACd,6BAAK,SAAS,EAAC,cAAc;gBAC5B,iCACE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CACxB,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAC,aAAa,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,GAAI,CAAC,CACxF,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,IAAE,KAAK,CAAC,WAAW,CAAQ,CAC3D,CACI;gBACN,iCACE,KAAK,CAAC,OAAO,KAAK,IAAI,IAAI,CAC1B,oBAAC,IAAI,IACJ,SAAS,EAAC,WAAW,EACrB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAC3B,CACF,CACI,CACD;YACL,IAAI,IAAI,CACR,oBAAC,yBAAyB,IACzB,IAAI,EAAC,OAAO,EACZ,WAAW,EAAE,KAAK,CAAC,QAAQ,EAC3B,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,eAAe,EAAE,KAAK,CAAC,QAAQ,EAC/B,gBAAgB,EAAE,MAAA,KAAK,CAAC,gBAAgB,mCAAI,OAAO,EACnD,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,CAAC,IAAkD,EAAE,EAAE;;oBAChE,MAAA,KAAK,CAAC,QAAQ,sDAAG,IAAI,CAAC,CAAC;oBACvB,OAAO,CAAC,KAAK,CAAC,CAAC;gBAChB,CAAC,GACA,CACF,CACe,CACjB,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG;IACnC,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,IAAI;CACd,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.mention-list {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
> .buttons {
|
|
10
|
+
:hover {
|
|
11
|
+
color: @primary-color;
|
|
12
|
+
font-size: 1.05rem;
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
filter: drop-shadow(2px 2px 2px @primary-color);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
margin-left: 5px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:not(:hover) {
|
|
28
|
+
.edit-icon {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.edit-icon {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
color: lightgray;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.unit-reference-node {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
color: @reference-color;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
line-height: unit((24/18), em);
|
|
46
|
+
word-break: break-word;
|
|
47
|
+
background: @reference-bg-color;
|
|
48
|
+
border-radius: @border-radius;
|
|
49
|
+
padding: unit((8/18), em);
|
|
50
|
+
margin: unit((8/18), em) unit((8/18), em) unit((8/18), em) 0;
|
|
51
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const DragTableRow: import("react-dnd").DndComponentClass<import("react-dnd").DndComponentClass<(props: any) => JSX.Element, import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">>, import("react-dnd").Omit<import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">, "
|
|
2
|
+
declare const DragTableRow: import("react-dnd").DndComponentClass<import("react-dnd").DndComponentClass<(props: any) => JSX.Element, import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">>, import("react-dnd").Omit<import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">, "isOver" | "connectDropTarget">>;
|
|
3
3
|
export default DragTableRow;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const DragTableRow: import("react-dnd").DndComponentClass<import("react-dnd").DndComponentClass<(props: any) => JSX.Element, import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">>, import("react-dnd").Omit<import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">, "
|
|
2
|
+
declare const DragTableRow: import("react-dnd").DndComponentClass<import("react-dnd").DndComponentClass<(props: any) => JSX.Element, import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">>, import("react-dnd").Omit<import("react-dnd").Omit<any, "connectDragSource" | "connectDragPreview">, "isOver" | "connectDropTarget">>;
|
|
3
3
|
export default DragTableRow;
|
|
@@ -33,6 +33,10 @@ export interface IINCFormContent {
|
|
|
33
33
|
shares: number;
|
|
34
34
|
fye?: string;
|
|
35
35
|
contacts?: IFormPeopleOptions[];
|
|
36
|
+
secretarys?: {
|
|
37
|
+
key: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
36
40
|
officerIds?: string[];
|
|
37
41
|
secretaryIds?: string[];
|
|
38
42
|
managingDirectorIds?: string[];
|
|
@@ -59,6 +63,10 @@ export interface IBVIFormContent {
|
|
|
59
63
|
shares?: number;
|
|
60
64
|
fye?: string;
|
|
61
65
|
contacts?: IFormPeopleOptions[];
|
|
66
|
+
secretarys?: {
|
|
67
|
+
key: string;
|
|
68
|
+
value: string;
|
|
69
|
+
}[];
|
|
62
70
|
officerIds?: string[];
|
|
63
71
|
shareholders?: IShareholderOptions[];
|
|
64
72
|
/** registered address of the company 公司注册地址 */
|
|
@@ -88,6 +88,10 @@ export declare type BVIFormEditOptions = {
|
|
|
88
88
|
Shares?: number;
|
|
89
89
|
FYE?: string;
|
|
90
90
|
Contacts?: FormPeopleOptions[];
|
|
91
|
+
Secretarys?: {
|
|
92
|
+
Key: string;
|
|
93
|
+
Value: string;
|
|
94
|
+
}[];
|
|
91
95
|
OfficerIds?: string[];
|
|
92
96
|
Shareholders?: {
|
|
93
97
|
Id: string;
|
|
@@ -112,6 +116,10 @@ export declare type INCFormEditOptions = {
|
|
|
112
116
|
Shares?: number;
|
|
113
117
|
FYE?: string;
|
|
114
118
|
Contacts?: FormPeopleOptions[];
|
|
119
|
+
Secretarys?: {
|
|
120
|
+
Key: string;
|
|
121
|
+
Value: string;
|
|
122
|
+
}[];
|
|
115
123
|
OfficerIds?: string[];
|
|
116
124
|
SecretaryIds?: string[];
|
|
117
125
|
ManagingDirectorIds?: string[];
|
|
@@ -24,6 +24,9 @@ export declare type CorporateEditDataOptions = {
|
|
|
24
24
|
LiabilityType?: string;
|
|
25
25
|
CorporateStatus?: string;
|
|
26
26
|
FYE?: Date;
|
|
27
|
+
Settings?: {
|
|
28
|
+
ShareNumberSequence?: number;
|
|
29
|
+
};
|
|
27
30
|
};
|
|
28
31
|
export declare type CorporateEditOptions = {
|
|
29
32
|
data: CorporateEditDataOptions;
|
|
@@ -12,6 +12,20 @@ export declare class ShareCertificateStore extends DocumentTypeStore<IShareCerti
|
|
|
12
12
|
} & StoreActionOptions): Promise<void>;
|
|
13
13
|
sendSignees(id: string, options: StoreActionOptions): Promise<void>;
|
|
14
14
|
sendShareholder(id: string, options: StoreActionOptions): Promise<void>;
|
|
15
|
+
issue(id: string, options: StoreActionOptions): Promise<void>;
|
|
16
|
+
revokeSignature(id: string, options: {
|
|
17
|
+
data: {
|
|
18
|
+
SigneeId: string;
|
|
19
|
+
Reason: string;
|
|
20
|
+
};
|
|
21
|
+
} & StoreActionOptions): Promise<void>;
|
|
22
|
+
cancel(id: string, options: {
|
|
23
|
+
Reason?: string;
|
|
24
|
+
} & StoreActionOptions): Promise<void>;
|
|
25
|
+
undoCancel(id: string, options: {
|
|
26
|
+
Reason?: string;
|
|
27
|
+
} & StoreActionOptions): Promise<void>;
|
|
28
|
+
refreshDetails(id: string, options: StoreActionOptions): Promise<void>;
|
|
15
29
|
}
|
|
16
30
|
/** React hook to retrieve ShareCertificateStore */
|
|
17
31
|
export declare const useShareCertificateStore: () => ShareCertificateStore;
|
|
@@ -16,7 +16,7 @@ export class ShareCertificateStore extends DocumentTypeStore {
|
|
|
16
16
|
}
|
|
17
17
|
async sharecertSign(id, options) {
|
|
18
18
|
await this.action(async () => {
|
|
19
|
-
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/sign`, new RequestBuilder().json(
|
|
19
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/sign`, new RequestBuilder().json(options.image));
|
|
20
20
|
const t = await r.json();
|
|
21
21
|
this._documents.items.overwrite(t.id, t);
|
|
22
22
|
}, options);
|
|
@@ -35,6 +35,41 @@ export class ShareCertificateStore extends DocumentTypeStore {
|
|
|
35
35
|
this._documents.items.overwrite(t.id, t);
|
|
36
36
|
}, options);
|
|
37
37
|
}
|
|
38
|
+
async issue(id, options) {
|
|
39
|
+
await this.action(async () => {
|
|
40
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/issue`);
|
|
41
|
+
const t = await r.json();
|
|
42
|
+
this._documents.items.overwrite(t.id, t);
|
|
43
|
+
}, options);
|
|
44
|
+
}
|
|
45
|
+
async revokeSignature(id, options) {
|
|
46
|
+
await this.action(async () => {
|
|
47
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/revoke`, new RequestBuilder().json(options.data));
|
|
48
|
+
const t = await r.json();
|
|
49
|
+
this._documents.items.overwrite(t.id, t);
|
|
50
|
+
}, options);
|
|
51
|
+
}
|
|
52
|
+
async cancel(id, options) {
|
|
53
|
+
await this.action(async () => {
|
|
54
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/cancel`, new RequestBuilder().json(JSON.stringify(options.Reason)));
|
|
55
|
+
const t = await r.json();
|
|
56
|
+
this._documents.items.overwrite(t.id, t);
|
|
57
|
+
}, options);
|
|
58
|
+
}
|
|
59
|
+
async undoCancel(id, options) {
|
|
60
|
+
await this.action(async () => {
|
|
61
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/uncancel`, new RequestBuilder().json(JSON.stringify(options.Reason)));
|
|
62
|
+
const t = await r.json();
|
|
63
|
+
this._documents.items.overwrite(t.id, t);
|
|
64
|
+
}, options);
|
|
65
|
+
}
|
|
66
|
+
async refreshDetails(id, options) {
|
|
67
|
+
await this.action(async () => {
|
|
68
|
+
const r = await this.endpoint.post(`/api/csp/shares/certificates/${id}/refresh`);
|
|
69
|
+
const t = await r.json();
|
|
70
|
+
this._documents.items.overwrite(t.id, t);
|
|
71
|
+
}, options);
|
|
72
|
+
}
|
|
38
73
|
}
|
|
39
74
|
/** React hook to retrieve ShareCertificateStore */
|
|
40
75
|
export const useShareCertificateStore = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareCertificateStore.js","sourceRoot":"","sources":["../../../src/data/share-certificate/ShareCertificateStore.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAsB,MAAM,qBAAqB,CAAC;AAErE,MAAM,SAAS,GAAG,uBAAuB,CAAC;AAE1C,8EAA8E;AAC9E,MAAM,OAAO,qBAAsB,SAAQ,iBAO1C;IAIA,YAAmB,QAAqB,EAAE,SAAwB;QACjE,KAAK,CAAC,QAAQ,EAAE,8BAA8B,EAAE,SAAS,CAAC,CAAC;QAJ5D,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;IAEM,KAAK,CAAC,aAAa,CAAC,EAAU,EAAE,OAA+C;QACrF,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAA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,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC1C,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,EAAU,EAAE,OAA2B;QAClE,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,gCAAgC,EAAE,UAAU,CAAC,CAAC;YACjF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;YACzB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC1C,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;CACD;AAED,mDAAmD;AACnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE;IAC5C,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IACrC,OAAO,UAAU,CAChB,SAAS,EACT,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAC9E,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -12,7 +12,7 @@ export interface IShareCertificate extends IDocument {
|
|
|
12
12
|
/** 股票总价 */
|
|
13
13
|
/** 已付金额 */
|
|
14
14
|
/** 股票状态 */
|
|
15
|
-
|
|
15
|
+
certificateStatus: ShareCertificateStatus;
|
|
16
16
|
shareholderName: string;
|
|
17
17
|
shares: number;
|
|
18
18
|
shareholder: {
|
|
@@ -31,5 +31,10 @@ export interface IShareCertificate extends IDocument {
|
|
|
31
31
|
signature1Date: string;
|
|
32
32
|
signature2: string;
|
|
33
33
|
signature2Date: string;
|
|
34
|
+
qR: string;
|
|
34
35
|
verifyURL: string;
|
|
36
|
+
certificateDate: string;
|
|
37
|
+
paymentText: string;
|
|
38
|
+
address: string;
|
|
39
|
+
uEN: string;
|
|
35
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { faFileCertificate } from "@fortawesome/pro-light-svg-icons";
|
|
3
3
|
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
|
4
4
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
5
5
|
import ShareCertificateMenu from "../../modules/corporate/share-certificate/controls/ShareCertificateMenu";
|
|
@@ -14,7 +14,7 @@ export class ShareCertificateTypeMeta extends DefaultDocumentTypeMeta {
|
|
|
14
14
|
return ShareCertificateTypeMeta.TypeName;
|
|
15
15
|
}
|
|
16
16
|
getIcon(document) {
|
|
17
|
-
return React.createElement(FontAwesomeIcon, { icon:
|
|
17
|
+
return React.createElement(FontAwesomeIcon, { icon: faFileCertificate });
|
|
18
18
|
}
|
|
19
19
|
getPropertiesView(document) {
|
|
20
20
|
return React.createElement(ShareCertificatePropertiesView, { id: document.id });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/share-certificate/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/share-certificate/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,oBAAoB,MAAM,yEAAyE,CAAC;AAC3G,OAAO,8BAA8B,MAAM,qFAAqF,CAAC;AACjI,OAAO,+BAA+B,MAAM,sFAAsF,CAAC;AAEnI,sDAAsD;AACtD,MAAM,OAAO,wBAAyB,SAAQ,uBAAuB;IAG7D,QAAQ,CAAC,QAAmB;QAClC,OAAO,sBAAsB,QAAQ,CAAC,EAAE,EAAE,CAAC;IAC5C,CAAC;IAED,IAAW,IAAI;QACd,OAAO,wBAAwB,CAAC,QAAQ,CAAC;IAC1C,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,iBAAiB,GAAI,CAAC;IACrD,CAAC;IAEM,iBAAiB,CAAC,QAAmB;QAC3C,OAAO,oBAAC,8BAA8B,IAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,GAAI,CAAC;IAC5D,CAAC;IAEM,YAAY,CAAC,QAAmB,EAAE,KAAqB;QAC7D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACvB,OAAO,CACN,oBAAC,+BAA+B,IAC/B,EAAE,EAAE,QAAQ,CAAC,EAAE,EACf,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC;IACH,CAAC;IAEM,OAAO,CAAC,QAAmB,EAAE,KAAwB;QAC3D,KAAK,CAAC,EAAE,GAAG,QAAQ,CAAC,EAAE,CAAC;QACvB,OAAO,oBAAC,oBAAoB,OAAK,KAAK,GAAI,CAAC;IAC5C,CAAC;;AAhCa;;;;WAAW,kBAAkB;GAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateDocumentOptions } from "@voplus/morpho-document-core";
|
|
2
2
|
export declare type ShareCertificateType = "Digital" | "Legacy";
|
|
3
|
-
export declare type ShareCertificateStatus = "Draft" | "
|
|
3
|
+
export declare type ShareCertificateStatus = "Draft" | "Issued" | "Cancelled" | "Signing";
|
|
4
4
|
/** Custom create shareCertificate options type. Use TitleCase to fit server need. */
|
|
5
5
|
export declare type CreateShareCertificateOptions = CreateDocumentOptions;
|
|
6
6
|
/**
|
|
@@ -11,4 +11,6 @@ export declare type EditShareCertificateOptions = {
|
|
|
11
11
|
CertificateType?: ShareCertificateType;
|
|
12
12
|
Signee1?: string;
|
|
13
13
|
Signee2?: string;
|
|
14
|
+
CertificateDate?: string;
|
|
15
|
+
PaymentText?: string;
|
|
14
16
|
};
|
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
import "./index.less";
|
|
2
|
-
import { useCorporate, useCorporateStore, } from "../../../../../data/corporate";
|
|
3
2
|
import { Descriptions, Table, Timeline } from "@voplus/antd";
|
|
3
|
+
import Properties from "../CompanyProperties/Properties";
|
|
4
4
|
import Card from "@voplus/morpho-ui/es/controls/Card";
|
|
5
5
|
import Column from "@voplus/antd/es/table/Column";
|
|
6
|
-
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
7
6
|
import Header from "../../../../../components/Header";
|
|
8
|
-
import { InlineEdit } from "@voplus/morpho-ui";
|
|
9
|
-
import InlineEditAddress from "../InlineEditAddress";
|
|
10
|
-
import InlineEditCountry from "../InlineEditCountry";
|
|
11
|
-
import InlineEditType from "../InlineEditType";
|
|
12
7
|
import React from "react";
|
|
13
8
|
import Scrollbars from "react-custom-scrollbars";
|
|
14
|
-
import moment from "moment";
|
|
15
9
|
import { observe } from "@voplus/morpho-ui";
|
|
16
10
|
const CompanyDetailsView = (props) => {
|
|
17
11
|
const { id } = props;
|
|
18
|
-
const corporate = useCorporate(id, { includes: "registers" });
|
|
19
|
-
const corporateStore = useCorporateStore();
|
|
20
12
|
const capital = [
|
|
21
13
|
{
|
|
22
14
|
Id: "1",
|
|
@@ -27,36 +19,21 @@ const CompanyDetailsView = (props) => {
|
|
|
27
19
|
},
|
|
28
20
|
];
|
|
29
21
|
const guaranteed = [{ Id: "1", Currency: "SGD", Amount: "$50,000" }];
|
|
22
|
+
const companyProperties = [
|
|
23
|
+
"Country of Registration",
|
|
24
|
+
"Type",
|
|
25
|
+
"Liability Type",
|
|
26
|
+
"Registration Number",
|
|
27
|
+
"Registration Date",
|
|
28
|
+
"Registered Address",
|
|
29
|
+
];
|
|
30
30
|
return observe(() => (React.createElement(React.Fragment, null,
|
|
31
31
|
React.createElement(Header, { text: "Company Details" }),
|
|
32
32
|
React.createElement("div", { className: "company-details-view" },
|
|
33
33
|
React.createElement(Scrollbars, { autoHide: true },
|
|
34
34
|
React.createElement(Card, { shadow: true, className: "card-company" },
|
|
35
|
-
React.createElement(Descriptions, { title: "Company" },
|
|
36
|
-
React.createElement(
|
|
37
|
-
React.createElement(InlineEditCountry, { country: corporate.jurisdiction, list: corporate.allowedJurisdictions, onChange: (country) => save({
|
|
38
|
-
Jurisdiction: country,
|
|
39
|
-
}) })),
|
|
40
|
-
React.createElement(Descriptions.Item, { label: "Type" },
|
|
41
|
-
React.createElement(InlineEditType, { type: corporate.corporateType, list: ["Proprietorship", "Company", "Partnership"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
42
|
-
CorporateType: value,
|
|
43
|
-
}) })),
|
|
44
|
-
React.createElement(Descriptions.Item, { label: "Liability Type" },
|
|
45
|
-
React.createElement(InlineEditType, { type: corporate.liabilityType, list: ["Unlimited", "LimitedByShares", "LimitedByGuarantee"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
46
|
-
LiabilityType: value,
|
|
47
|
-
}) })),
|
|
48
|
-
React.createElement(Descriptions.Item, { label: "Registration Number" },
|
|
49
|
-
React.createElement(InlineEdit, { defaultValue: corporate.registrationNumber, editable: corporate.allowEdit, content: (v) => React.createElement("div", null, v.store.value || "No Registration Number"), onSave: (value) => value &&
|
|
50
|
-
value !== corporate.registrationNumber &&
|
|
51
|
-
save({
|
|
52
|
-
RegistrationNumber: value,
|
|
53
|
-
}) })),
|
|
54
|
-
React.createElement(Descriptions.Item, { label: "Registration Date" },
|
|
55
|
-
React.createElement(InlineEdit, { defaultValue: moment(corporate.registrationDate), editable: corporate.allowEdit, content: (v) => (React.createElement("span", null, v ? moment(v.store.value).format("YYYY-MM-DD") : "No Registration Date")), editor: DateInputEditor, onSave: changeRegistrationDate })),
|
|
56
|
-
React.createElement(Descriptions.Item, { label: "Registered Address" },
|
|
57
|
-
React.createElement(InlineEditAddress, { address: corporate.registeredAddress, readonly: !corporate.allowEdit, modal: true, onChange: (address) => save({
|
|
58
|
-
RegisteredAddress: address,
|
|
59
|
-
}) })))),
|
|
35
|
+
React.createElement(Descriptions, { title: "Company" }, companyProperties.map((item, index) => (React.createElement(Descriptions.Item, { key: index, label: item },
|
|
36
|
+
React.createElement(Properties, { id: id, propertiesName: item })))))),
|
|
60
37
|
React.createElement(Card, { shadow: true },
|
|
61
38
|
React.createElement("div", { className: "company-amount-title" }, "Capital / Guaranteed Amount"),
|
|
62
39
|
React.createElement("h4", null, "Capital"),
|
|
@@ -76,18 +53,6 @@ const CompanyDetailsView = (props) => {
|
|
|
76
53
|
React.createElement(Timeline.Item, null, "Solve initial network problems 2015-09-01"),
|
|
77
54
|
React.createElement(Timeline.Item, null, "Technical testing 2015-09-01"),
|
|
78
55
|
React.createElement(Timeline.Item, null, "Network problems being solved 2015-09-01"))))))));
|
|
79
|
-
function changeRegistrationDate(v) {
|
|
80
|
-
// date未变更不保存
|
|
81
|
-
if ((corporate === null || corporate === void 0 ? void 0 : corporate.registrationDate) && moment(v).isSame(corporate.registrationDate, "day"))
|
|
82
|
-
return;
|
|
83
|
-
save({ RegistrationDate: v });
|
|
84
|
-
}
|
|
85
|
-
async function save(options) {
|
|
86
|
-
await corporateStore.edit(id, {
|
|
87
|
-
data: options,
|
|
88
|
-
error: "message",
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
56
|
};
|
|
92
57
|
export default CompanyDetailsView;
|
|
93
58
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyDetailsView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","source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AAG,EAAC,QAAQ,GAAG,CAClD,CACF;gBACP,oBAAC,IAAI,IAAC,MAAM;oBACX,6BAAK,SAAS,EAAC,wBAAwB,qBAAqB;oBAC5D,oBAAC,QAAQ;wBACR,oBAAC,QAAQ,CAAC,IAAI,4CAAkD;wBAChE,oBAAC,QAAQ,CAAC,IAAI,oDAA0D;wBACxE,oBAAC,QAAQ,CAAC,IAAI,uCAA6C;wBAC3D,oBAAC,QAAQ,CAAC,IAAI,mDAAyD,CAC7D,CACL,CACK,CACR,CACU,CACjB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type CompanyPropertiesName = "Country of Registration" | "Type" | "Liability Type" | "Registration Number" | "Registration Date" | "Registered Address" | "Corporate Status" | "FYE";
|
|
3
|
+
declare const Properties: (props: {
|
|
4
|
+
id: string;
|
|
5
|
+
propertiesName: CompanyPropertiesName;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default Properties;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { useCorporate, useCorporateStore, } from "../../../../../data/corporate";
|
|
2
|
+
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
|
3
|
+
import CorporateStatusLabel from "../../controls/CorporateStatusLabel";
|
|
4
|
+
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
5
|
+
import InlineEditAddress from "../InlineEditAddress";
|
|
6
|
+
import InlineEditCountry from "../InlineEditCountry";
|
|
7
|
+
import InlineEditType from "../InlineEditType";
|
|
8
|
+
import React from "react";
|
|
9
|
+
import moment from "moment";
|
|
10
|
+
const Properties = (props) => {
|
|
11
|
+
const { id, propertiesName } = props;
|
|
12
|
+
const corporate = useCorporate(id, { includes: "registers" });
|
|
13
|
+
const corporateStore = useCorporateStore();
|
|
14
|
+
return observe(() => React.createElement(React.Fragment, null, renderProp(propertiesName)));
|
|
15
|
+
function renderProp(name) {
|
|
16
|
+
switch (name) {
|
|
17
|
+
case "Country of Registration":
|
|
18
|
+
return (React.createElement(InlineEditCountry, { country: corporate.jurisdiction, list: corporate.allowedJurisdictions, onChange: (country) => save({
|
|
19
|
+
Jurisdiction: country,
|
|
20
|
+
}) }));
|
|
21
|
+
case "Type":
|
|
22
|
+
return (React.createElement(InlineEditType, { type: corporate.corporateType, list: ["Proprietorship", "Company", "Partnership"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
23
|
+
CorporateType: value,
|
|
24
|
+
}) }));
|
|
25
|
+
case "Liability Type":
|
|
26
|
+
return (React.createElement(InlineEditType, { type: corporate.liabilityType, list: ["Unlimited", "LimitedByShares", "LimitedByGuarantee"], readonly: !corporate.allowEdit, onSave: (value) => save({
|
|
27
|
+
LiabilityType: value,
|
|
28
|
+
}) }));
|
|
29
|
+
case "Registration Number":
|
|
30
|
+
return (React.createElement(InlineEdit, { defaultValue: corporate.registrationNumber, editable: corporate.allowEdit, content: (v) => v.store.value ? (React.createElement("span", null, v.store.value)) : (React.createElement("span", { className: "add-info-style" }, "No Registration Number")), onSave: (value) => value &&
|
|
31
|
+
value !== corporate.registrationNumber &&
|
|
32
|
+
save({
|
|
33
|
+
RegistrationNumber: value,
|
|
34
|
+
}) }));
|
|
35
|
+
case "Registration Date":
|
|
36
|
+
return (React.createElement(InlineEdit, { defaultValue: moment(corporate.registrationDate), editable: corporate.allowEdit, content: (v) => corporate.registrationDate ? (React.createElement("span", null, moment(corporate.registrationDate).format("DD MMM yyyy"))) : (React.createElement("span", { className: "add-info-style" }, "No Registration Date")), editor: DateInputEditor, onSave: changeRegistrationDate }));
|
|
37
|
+
case "Registered Address":
|
|
38
|
+
return (React.createElement(InlineEditAddress, { address: corporate.registeredAddress, readonly: !corporate.allowEdit, modal: true, onChange: (address) => save({
|
|
39
|
+
RegisteredAddress: address,
|
|
40
|
+
}) }));
|
|
41
|
+
case "Corporate Status":
|
|
42
|
+
return (React.createElement(CorporateStatusLabel, { status: corporate.corporateStatus, editable: true, onChange: (status) => save({
|
|
43
|
+
CorporateStatus: status,
|
|
44
|
+
}) }));
|
|
45
|
+
case "FYE":
|
|
46
|
+
return (React.createElement(InlineEdit, { defaultValue: (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? moment(corporate === null || corporate === void 0 ? void 0 : corporate.fYE) : undefined, editable: corporate.allowEdit, content: (v) => (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? (React.createElement("span", null, moment(corporate === null || corporate === void 0 ? void 0 : corporate.fYE).format("DD MMM"))) : (React.createElement("span", { className: "add-info-style" }, "Add FYE")), editor: DateInputEditor, onSave: changeFYEDate }));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async function save(options) {
|
|
50
|
+
await corporateStore.edit(id, {
|
|
51
|
+
data: options,
|
|
52
|
+
error: "message",
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function changeRegistrationDate(v) {
|
|
56
|
+
// date未变更不保存
|
|
57
|
+
if ((corporate === null || corporate === void 0 ? void 0 : corporate.registrationDate) && moment(v).isSame(corporate.registrationDate, "day"))
|
|
58
|
+
return;
|
|
59
|
+
save({ RegistrationDate: v });
|
|
60
|
+
}
|
|
61
|
+
function changeFYEDate(v) {
|
|
62
|
+
if ((corporate === null || corporate === void 0 ? void 0 : corporate.fYE) && moment(v).isSame(corporate.fYE, "day"))
|
|
63
|
+
return;
|
|
64
|
+
save({ FYE: v !== null ? v : "" });
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export default Properties;
|
|
68
|
+
//# sourceMappingURL=Properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,YAAY,EACZ,iBAAiB,GACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU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CAAC;SACH;IACF,CAAC;IAED,KAAK,UAAU,IAAI,CAAC,OAAiC;QACpD,MAAM,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE;YAC7B,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;IACJ,CAAC;IAED,SAAS,sBAAsB,CAAC,CAAgB;QAC/C,aAAa;QACb,IAAI,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,gBAAgB,KAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,gBAAgB,EAAE,KAAK,CAAC;YAAE,OAAO;QAC/F,IAAI,CAAC,EAAE,gBAAgB,EAAE,CAAQ,EAAE,CAAC,CAAC;IACtC,CAAC;IAED,SAAS,aAAa,CAAC,CAAgB;QACtC,IAAI,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,GAAG,KAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC;YAAE,OAAO;QACrE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC,CAAE,CAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const CompanyPropertiesCard:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
declare const CompanyPropertiesCard: {
|
|
3
|
+
(props: {
|
|
4
|
+
id: string;
|
|
5
|
+
companyProperties?: string[];
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
companyProperties: string[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
5
11
|
export default CompanyPropertiesCard;
|