@voplus/morpho-csp 1.3.7 → 1.3.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/components/CorporateMentionList/index.d.ts +34 -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/share-certificate/ShareCertificateStore.d.ts +14 -0
- package/es/data/share-certificate/ShareCertificateStore.js +35 -0
- 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 +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +9 -4
- 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 +6 -3
- 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 +85 -54
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +19 -2
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +12 -5
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/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 +27 -24
- package/es/modules/corporate/share-certificate/pages/ShareCertificateClientView/index.js.map +1 -1
- 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/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
/** member / officer list filter by corporateId */
|
|
21
|
+
corporateId?: string | undefined;
|
|
22
|
+
/** 变更事件 */
|
|
23
|
+
onChange?: ((list: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}[]) => void) | undefined;
|
|
27
|
+
}): JSX.Element;
|
|
28
|
+
defaultProps: {
|
|
29
|
+
placeholder: string;
|
|
30
|
+
canEdit: boolean;
|
|
31
|
+
multiple: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
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", corporateId: props.corporateId, 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,KAiB7B,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,WAAW,EAC9B,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[];
|
|
@@ -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;
|
|
@@ -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,iBAA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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,7 +31,12 @@ export interface IShareCertificate extends IDocument {
|
|
|
31
31
|
signature1Date: string;
|
|
32
32
|
signature2: string;
|
|
33
33
|
signature2Date: string;
|
|
34
|
+
qR: string;
|
|
34
35
|
verifyURL: string;
|
|
35
36
|
certificateDate: string;
|
|
36
37
|
paymentText: string;
|
|
38
|
+
address: string;
|
|
39
|
+
company: string;
|
|
40
|
+
corporateId: string;
|
|
41
|
+
uEN: string;
|
|
37
42
|
}
|
|
@@ -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
|
/**
|
|
@@ -5,6 +5,8 @@ import { observe } from "@voplus/morpho-ui";
|
|
|
5
5
|
import { useShareTransaction, } from "../../../../../../data/share-transaction";
|
|
6
6
|
import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
|
|
7
7
|
import ShareTablePreview from "../ShareTablePreview";
|
|
8
|
+
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
9
|
+
import TagView from "@voplus/morpho-document/es/components/TagView";
|
|
8
10
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
9
11
|
import classnames from "classnames";
|
|
10
12
|
import moment from "moment";
|
|
@@ -19,15 +21,18 @@ const ShareTransactionItem = (props) => {
|
|
|
19
21
|
const meta = useMetaStore();
|
|
20
22
|
return observe(() => (React.createElement("div", { className: styles["share-transaction-item"], onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false) },
|
|
21
23
|
React.createElement(ColumnItem, null,
|
|
22
|
-
React.createElement(ColumnItemCol, { span:
|
|
23
|
-
React.createElement(
|
|
24
|
+
React.createElement(ColumnItemCol, { span: 10 },
|
|
25
|
+
React.createElement(DocumentHeader, { id: id, clickNameEffect: "edit", autoSaveName: true, flagVisible: false, quickDataBarVisible: false, toolsVisible: false, tagsVisible: false }),
|
|
24
26
|
React.createElement("div", { className: "share-transaction-item-data-info-gray" }, moment(shareTransaction.date).format("YYYY-MM-DD"))),
|
|
25
|
-
React.createElement(ColumnItemCol, { span:
|
|
27
|
+
React.createElement(ColumnItemCol, { span: 3, title: "Type" },
|
|
26
28
|
React.createElement("div", { className: "share-transaction-item-data-info" },
|
|
27
29
|
React.createElement(ShareTablePreview, { shareTransaction: shareTransaction }),
|
|
28
30
|
" ")),
|
|
29
|
-
React.createElement(ColumnItemCol, { span:
|
|
31
|
+
React.createElement(ColumnItemCol, { span: 3, title: "Currency" },
|
|
30
32
|
React.createElement("div", { className: "share-transaction-item-data-info" }, shareTransaction.currency)),
|
|
33
|
+
React.createElement(ColumnItemCol, { span: 4, title: "Tag" },
|
|
34
|
+
React.createElement("div", { className: "share-transaction-item-data-info" },
|
|
35
|
+
React.createElement(TagView, { id: id, tags: shareTransaction.tags, editable: !shareTransaction.readonly }))),
|
|
31
36
|
React.createElement(ColumnItemCol, { span: 4, align: "flex-end" },
|
|
32
37
|
React.createElement("div", { className: classnames("share-transaction-item-tool", { show: hover }) },
|
|
33
38
|
React.createElement(ToolBar, { id: id },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAa,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAEN,mBAAmB,GACnB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,oBAAoB,GAAG,CAAC,KAK7B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE;QAChD,MAAM,EAAE,CAAC,CAAwD,EAAE,EAAE,CACpE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,eAAe;QAC9B,QAAQ,EAAE,MAAM;KAChB,CAAC,CAAC;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1C,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAE5B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BACC,SAAS,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC3C,WAAW,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EACjC,YAAY,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;QAEnC,oBAAC,UAAU;YACV,oBAAC,aAAa,IAAC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,M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CACJ,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
3
|
|
|
4
4
|
.share-transaction-item {
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
|
|
7
5
|
&:hover {
|
|
8
|
-
background-color: #f5f8fd;
|
|
6
|
+
// background-color: #f5f8fd;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
:global {
|
|
10
|
+
.document-header-default {
|
|
11
|
+
background-color: rgba(0, 0, 0, 0);
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
12
15
|
.share-transaction-item-name {
|
|
13
16
|
color: #575757;
|
|
14
17
|
font-weight: 500;
|
|
@@ -10,6 +10,7 @@ import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentP
|
|
|
10
10
|
import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
|
|
11
11
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
|
12
12
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
13
|
+
import VerificationInformation from "@voplus/morpho-document/es/components/VerificationInformation";
|
|
13
14
|
const ShareTransactionProperties = (props) => {
|
|
14
15
|
const { id, headerVisible, shareTransactionTitle, documentTitle, shareTransactionProperties, documentProperties, } = props;
|
|
15
16
|
const shareTransaction = useShareTransaction(id);
|
|
@@ -35,6 +36,7 @@ const ShareTransactionProperties = (props) => {
|
|
|
35
36
|
headerVisible && React.createElement(DocumentPanelHeader, { id: id }),
|
|
36
37
|
React.createElement(Scrollbars, { autoHide: true },
|
|
37
38
|
React.createElement(DescriptionEditor, { id: id, description: shareTransaction.description, readonly: shareTransaction.readonly }),
|
|
39
|
+
React.createElement(PropertiesSection, { title: "Verification Information", properties: React.createElement(VerificationInformation, { id: id }) }),
|
|
38
40
|
React.createElement(PropertiesSection, { title: shareTransactionTitle, properties: React.createElement(Form, { labelAlign: "left", labelCol: { span: 11 }, scrollToFirstError: true }, filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(React.Fragment, { key: i.name }, renderProp(i))))) }),
|
|
39
41
|
React.createElement(DocumentProperties, { id: id, fromLabelRequired: true, labelCol: 11, wrapperCol: 14, title: documentTitle, customProperties: documentProperties })))));
|
|
40
42
|
function renderProp(item) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,YAAY,MAAM,2CAA2C,CAAC;AACrE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC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oBAAC,YAAY,IACZ,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CACtB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAElE,CACS,CACZ,CAAC;SACH;IACF,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,qBAAqB,EAAE,6BAA6B;IACpD,aAAa,EAAE,qBAAqB;IACpC,0BAA0B,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;CACjG,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IShareCertificate } from "../../../../../data/share-certificate";
|
|
3
|
+
declare const DeleteSignatureDialog: (props: {
|
|
4
|
+
shareCertificate: IShareCertificate;
|
|
5
|
+
signee: 1 | 2;
|
|
6
|
+
onCancel?: (() => void) | undefined;
|
|
7
|
+
onSubmit?: ((reason: string) => void) | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default DeleteSignatureDialog;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { Form, Modal, Input, Image, message } from "@voplus/antd";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { base64ToBlob } from "base64-blob";
|
|
5
|
+
const DeleteSignatureDialog = (props) => {
|
|
6
|
+
const { shareCertificate } = props;
|
|
7
|
+
const [file1, setFile1] = useState();
|
|
8
|
+
const [file2, setFile2] = useState();
|
|
9
|
+
const [text, setText] = useState();
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
if (shareCertificate.signature1) {
|
|
12
|
+
base64ToBlob(shareCertificate.signature1).then((val) => {
|
|
13
|
+
setFile1(val);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
if (shareCertificate.signature2) {
|
|
17
|
+
base64ToBlob(shareCertificate.signature2).then((val) => {
|
|
18
|
+
setFile2(val);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}, [shareCertificate.id]);
|
|
22
|
+
return observe(() => (React.createElement(Modal, { visible: true, title: "Delete Signature Dialog", okText: "Delete", onCancel: props.onCancel, onOk: onSubmit },
|
|
23
|
+
React.createElement(Form, { layout: "vertical" },
|
|
24
|
+
React.createElement(Form.Item, { label: "Signature Image" }, props.signee === 1 ? (file1 ? (React.createElement(Image, { src: window.URL.createObjectURL(file1), preview: false, width: "100%", style: { maxHeight: "472px" } })) : (React.createElement(React.Fragment, null))) : file2 ? (React.createElement(Image, { src: window.URL.createObjectURL(file2), preview: false, width: "100%", style: { maxHeight: "472px" } })) : (React.createElement(React.Fragment, null))),
|
|
25
|
+
React.createElement(Form.Item, { label: "Reason" },
|
|
26
|
+
React.createElement(Input.TextArea, { rows: 6, placeholder: `Please provide a reason for deleting the signature of ${shareCertificate.name}.`, onChange: (e) => setText(e.target.value) }))))));
|
|
27
|
+
async function onSubmit() {
|
|
28
|
+
if (!text)
|
|
29
|
+
return message.error(`Please provide a reason for deleting the signature of ${shareCertificate.name}.`);
|
|
30
|
+
if (props.onSubmit)
|
|
31
|
+
props.onSubmit(text);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export default DeleteSignatureDialog;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/DeleteSignatureDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,Q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