@voplus/morpho-csp 10.0.9 → 10.0.10
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/CorporateUnitSelectDialog/index.d.ts +1 -1
- package/es/components/CorporateUnitSelectDialog/index.js +4 -12
- package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
- package/es/components/CorporateUnitSelectDialog/state.d.ts +2 -2
- package/es/components/CorporateUnitSelectDialog/state.js +6 -9
- package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.js +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js +3 -1
- package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.js +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.d.ts +1 -13
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +39 -94
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.d.ts +13 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js +63 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js.map +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.css +122 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +1 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +95 -66
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +13 -23
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.css +22 -0
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.d.ts +1 -0
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js +8 -1
- package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +3 -2
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +9 -63
- package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/{MemberTableList → MemberTableListCard}/TableCellDetail.d.ts +1 -13
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +77 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.d.ts +13 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js +52 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js.map +1 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +16 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +133 -17
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +12 -15
- package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +3 -2
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +11 -74
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/{OfficerTableList → OfficerTableListCard}/TableCellDetail.d.ts +1 -13
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +87 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.d.ts +13 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js +65 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js.map +1 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +24 -3
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +140 -22
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.d.ts +2 -0
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +37 -20
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.css +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +2 -5
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.css +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.js +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.d.ts +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.d.ts +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js +7 -29
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
- package/es/page/RegisterTablePage/Controller.d.ts +3 -0
- package/es/page/RegisterTablePage/Controller.js +134 -0
- package/es/page/RegisterTablePage/Controller.js.map +1 -0
- package/es/page/RegisterTablePage/index.d.ts +3 -0
- package/es/page/RegisterTablePage/index.js +63 -0
- package/es/page/RegisterTablePage/index.js.map +1 -0
- package/package.json +1 -2
- package/es/components/RegisterTable/index.d.ts +0 -31
- package/es/components/RegisterTable/index.js +0 -55
- package/es/components/RegisterTable/index.js.map +0 -1
- package/es/components/StatusLabel/index.d.ts +0 -36
- package/es/components/StatusLabel/index.js +0 -16
- package/es/components/StatusLabel/index.js.map +0 -1
- package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +0 -125
- package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +0 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.d.ts +0 -21
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +0 -86
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +0 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +0 -140
- package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +0 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.d.ts +0 -23
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +0 -87
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +0 -1
- package/es/modules/corporate/company/pages/RegisterTablePage/index.d.ts +0 -10
- package/es/modules/corporate/company/pages/RegisterTablePage/index.js +0 -151
- package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.d.ts +0 -10
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.js +0 -52
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.js.map +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.d.ts +0 -7
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js +0 -94
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js.map +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.d.ts +0 -22
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js +0 -92
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js.map +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.d.ts +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.js +0 -9
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.js.map +0 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.d.ts +0 -5
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js +0 -52
- package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { UnitTypeSelectDialogProps } from "./state";
|
|
3
|
-
declare const CorporateUnitSelectDialog: (props: UnitTypeSelectDialogProps) => React.JSX.Element;
|
|
3
|
+
declare const CorporateUnitSelectDialog: ({ multiSelect, type, title, defaultSelection, ...props }: UnitTypeSelectDialogProps) => React.JSX.Element;
|
|
4
4
|
export default CorporateUnitSelectDialog;
|
|
@@ -10,18 +10,10 @@ import OfficerListInCorporateSelect from "../../modules/corporate/company/office
|
|
|
10
10
|
import SubUnitList from "@voplus/morpho-org/es/components/ListInContactSelect";
|
|
11
11
|
import UnitTree from "@voplus/morpho-org/es/components/UnitTree";
|
|
12
12
|
import SelectDialog from "@voplus/morpho-org/es/controls/SelectDialog";
|
|
13
|
-
const CorporateUnitSelectDialog = (props) => {
|
|
14
|
-
const { multiSelect = true, type = "select", title = "Corporate Contact Select", defaultSelection = "Everyone", } = props;
|
|
15
|
-
const [state] = useState(new State(defaultSelection, multiSelect, props.defaultSelected));
|
|
13
|
+
const CorporateUnitSelectDialog = ({ multiSelect = true, type = "select", title = "Corporate Contact Select", defaultSelection = "Everyone", ...props }) => {
|
|
16
14
|
const context = useApplicationContext();
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
multiSelect,
|
|
20
|
-
type,
|
|
21
|
-
title,
|
|
22
|
-
defaultSelection,
|
|
23
|
-
};
|
|
24
|
-
state.props = resolvedProps;
|
|
15
|
+
const [state] = useState(new State(defaultSelection, multiSelect, props.defaultSelected));
|
|
16
|
+
state.props = props;
|
|
25
17
|
state.multiSelect = multiSelect;
|
|
26
18
|
return observe(() => {
|
|
27
19
|
var _a;
|
|
@@ -45,7 +37,7 @@ const CorporateUnitSelectDialog = (props) => {
|
|
|
45
37
|
icon: React.createElement(FAIcon, { icon: faUserTagSolid }),
|
|
46
38
|
isLeaf: true,
|
|
47
39
|
},
|
|
48
|
-
], defaultSelectedKeys: [state.current], onSelect: (id) => state.onExpand(id) }), listView: React.createElement(Checkbox.Group, { value: (_a = state === null || state === void 0 ? void 0 : state.selectedLists) === null || _a === void 0 ? void 0 : _a.map((u) => u.id) }, state.current === "members" ? (React.createElement(MemberListInCorporateSelect, { corporateId:
|
|
40
|
+
], defaultSelectedKeys: [state.current], onSelect: (id) => state.onExpand(id) }), listView: React.createElement(Checkbox.Group, { value: (_a = state === null || state === void 0 ? void 0 : state.selectedLists) === null || _a === void 0 ? void 0 : _a.map((u) => u.id) }, state.current === "members" ? (React.createElement(MemberListInCorporateSelect, { corporateId: props.corporateId, selectedLists: state.selectedLists, onSelectCorporateUnit: (item) => state.selectOrDeleteItem(item) })) : state.current === "officers" ? (React.createElement(OfficerListInCorporateSelect, { corporateId: props.corporateId, selectedLists: state.selectedLists, onSelectCorporateUnit: (item) => state.selectOrDeleteItem(item) })) : (React.createElement(SubUnitList, { addAble: true, unitSelectAdd: true, parentId: state.id, type: type, filterType: state.filterType, selectedLists: state.selectedLists, maxSelections: props.maxSelections, onSelectUnit: (item) => state.selectOrDeleteItem(item), isShowParentItem: state.id === "c896a84e-b31a-4d10-a181-5d34a21b172d" }))), handleCancel: () => state.handleCancel(), handleOk: () => state.handleOk(), selectedLists: state.selectedLists, title: title, maxSelections: props.maxSelections, onClear: () => (state.selectedLists = []), deselectNode: (item) => state.deselectUnit(item) }));
|
|
49
41
|
});
|
|
50
42
|
};
|
|
51
43
|
export default CorporateUnitSelectDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CorporateUnitSelectDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAA6B,MAAM,SAAS,CAAC;AAC3D,OAAO,EACN,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,cAAc,GACd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,2BAA2B,M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GAAG,EAAE,CAAC,EACzC,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,GAC/C,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -47,7 +47,7 @@ export declare class State {
|
|
|
47
47
|
current: string;
|
|
48
48
|
constructor(defaultSelection: string, multiple: boolean, defaultSelected: any[]);
|
|
49
49
|
/**Select function*/
|
|
50
|
-
handleOk(): void;
|
|
50
|
+
handleOk(): void | import("antd/es/message/interface").MessageType;
|
|
51
51
|
/**cancel function*/
|
|
52
52
|
handleCancel(): void;
|
|
53
53
|
/**已选文件列表 双击取消选择文件*/
|
|
@@ -56,5 +56,5 @@ export declare class State {
|
|
|
56
56
|
selectOrDeleteItem(item: IUnit): void;
|
|
57
57
|
/**UnitTree 选择文件返回unit id, UnitList获得id显示列表*/
|
|
58
58
|
onExpand(expandedKeys: string): void;
|
|
59
|
-
onSelectUnit(item: IUnit): void;
|
|
59
|
+
onSelectUnit(item: IUnit): void | IUnit[];
|
|
60
60
|
}
|
|
@@ -91,11 +91,9 @@ export class State {
|
|
|
91
91
|
/**Select function*/
|
|
92
92
|
handleOk() {
|
|
93
93
|
var _a, _b;
|
|
94
|
-
if (!this.selectedLists.length && !this.props.isEmptyData)
|
|
95
|
-
message.warning("Please select Unit");
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
(_b = (_a = this.props).onSelect) === null || _b === void 0 ? void 0 : _b.call(_a, this.selectedLists);
|
|
94
|
+
if (!this.selectedLists.length && !this.props.isEmptyData)
|
|
95
|
+
return message.warning("Please select Unit");
|
|
96
|
+
return (_b = (_a = this.props).onSelect) === null || _b === void 0 ? void 0 : _b.call(_a, this.selectedLists);
|
|
99
97
|
}
|
|
100
98
|
/**cancel function*/
|
|
101
99
|
handleCancel() {
|
|
@@ -127,12 +125,11 @@ export class State {
|
|
|
127
125
|
/*UnitTree,UnitList 双击选择文件显示在已选文件列表*/
|
|
128
126
|
onSelectUnit(item) {
|
|
129
127
|
var _a, _b, _c;
|
|
130
|
-
if (!this.multiSelect)
|
|
131
|
-
((_a = this.props) === null || _a === void 0 ? void 0 : _a.type) === "click"
|
|
128
|
+
if (!this.multiSelect)
|
|
129
|
+
return ((_a = this.props) === null || _a === void 0 ? void 0 : _a.type) === "click"
|
|
132
130
|
? (this.selectedLists = [item])
|
|
133
131
|
: (_c = (_b = this.props).onSelect) === null || _c === void 0 ? void 0 : _c.call(_b, [{ id: item.id, name: item.name, type: item.type }]);
|
|
134
|
-
|
|
135
|
-
else if (!this.selectedLists.some((ele) => ele.id === item.id)) {
|
|
132
|
+
if (!this.selectedLists.some((ele) => ele.id === item.id)) {
|
|
136
133
|
this.selectedLists.push(item);
|
|
137
134
|
}
|
|
138
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/CorporateUnitSelectDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAoC/B,MAAM,OAAO,KAAK;IAajB,YACS,gBAAwB,EACxB,QAAiB,EACjB,eAAsB;;QAF9B;;;;mBAAQ,gBAAgB;WAAQ;QAChC;;;;mBAAQ,QAAQ;WAAS;QACzB;;;;mBAAQ,eAAe;WAAO;QAfxB;;;;;WAAkC;QACzC,kBAAkB;QACC;;;;mBAAK,EAAE;WAAC;QAC3B,aAAa;QACM;;;;mBAAyB,EAAE;WAAC;QAC/C,WAAW;QACQ;;;;mBAAc,KAAK;WAAC;QACvC,sBAAsB;QACH;;;;;WAAuB;QAC1C,kCAAkC;QACf;;;;mBAAU,EAAE;WAAC;QAO/B,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,QAAQ,IAAI,CAAC,gBAAgB,EAAE,CAA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AAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAC/E,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;YAC3D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;IACF,CAAC;CACD;AAjGmB;IAAlB,UAAU;iCAAgB;AAER;IAAlB,UAAU;4CAAoC;AAE5B;IAAlB,UAAU;0CAA4B;AAEpB;IAAlB,UAAU;yCAA+B;AAEvB;IAAlB,UAAU;sCAAqB;AAqCzB;IADN,MAAM;qCAKN;AAIM;IADN,MAAM;yCAGN;AAIM;IADN,MAAM;yCAGN;AAGO;IADP,MAAM;uCAGN;AAGM;IADN,MAAM;+CAGN;AAIM;IADN,MAAM;qCAUN;AAIM;IADN,MAAM;yCASN"}
|
package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityL
|
|
|
8
8
|
import RiskMatchReport from "../RiskMatchReport";
|
|
9
9
|
import RiskMatchResult from "../RiskMatchResult";
|
|
10
10
|
const RiskMatchTabs = (props) => {
|
|
11
|
-
const { id, report } = props;
|
|
11
|
+
const { id, report = true } = props;
|
|
12
12
|
/**Tabs 当前激活 tab 面板的 key */
|
|
13
13
|
const [activeKey, setActiveKey] = useState("Result");
|
|
14
14
|
const [docTotals, setDocTotals] = useState(0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,MAAM,aAAa,GAAG,CAAC,KAAuC,EAAE,EAAE;IACjE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-match/components/RiskMatchTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,MAAM,aAAa,GAAG,CAAC,KAAuC,EAAE,EAAE;IACjE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IACpC,2BAA2B;IAC3B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,C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AAE,YAAY;oBACnB,QAAQ,EAAE,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,CAAI;iBAC5E;aACD;YACF,CAAC,CAAC;gBACA,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,oBAAC,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE;gBAEzE;oBACC,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,CACN;;wBAEC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAC,gBAAgB,GAAG,CACpD,CACH;oBACD,QAAQ,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,QAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAI;iBACzE;gBACD;oBACC,GAAG,EAAE,YAAY;oBACjB,KAAK,EAAE,YAAY;oBACnB,QAAQ,EAAE,0CAAG,SAAS,KAAK,YAAY,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,CAAI;iBAC5E;aACD,GAEH,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
|
4
|
+
import classnames from "classnames";
|
|
4
5
|
const RiskLevelLabel = (props) => {
|
|
5
6
|
// spec:1951 — CSP: Risk level inline editor
|
|
6
7
|
const list = [{ name: "High" }, { name: "Medium" }, { name: "Low" }];
|
|
7
8
|
if (props.status && list.findIndex((i) => i.name === props.status) === -1) {
|
|
8
9
|
list.push({ name: props.status });
|
|
9
10
|
}
|
|
10
|
-
return observe(() => (React.createElement(
|
|
11
|
+
return observe(() => (React.createElement("div", { className: classnames(props.className) },
|
|
12
|
+
React.createElement(DocumentStatusLabel, { className: classnames("risk-profile-status"), editable: props.editable, list: list, status: props.status, onChange: props.onChange }))));
|
|
11
13
|
};
|
|
12
14
|
export default RiskLevelLabel;
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,cAAc,GAAG,CAAC,KAKvB,EAAE,EAAE;IACJ,4CAA4C;IAC5C,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IACrE,IAAI,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QAC3E,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,SAAS,CAAC;QAC1C,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,qBAAqB,CAAC,EAC5C,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -69,7 +69,7 @@ const CorporateList = ({ viewTitle = "Corporate List", asideable = true, headerT
|
|
|
69
69
|
default:
|
|
70
70
|
break;
|
|
71
71
|
}
|
|
72
|
-
if (filterOptions
|
|
72
|
+
if (filterOptions) {
|
|
73
73
|
filter = filterOptions;
|
|
74
74
|
}
|
|
75
75
|
return filter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CorporateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAc,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,O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E,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;gBACvE,MAAM;YACP,KAAK,QAAQ;gBACZ,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACtE,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM;YACP;gBACC,MAAM;QACR,CAAC;QAED,IAAI,aAAa,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CorporateList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAc,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAEhF,OAAO,aAAa,CAAC;AAiBrB,MAAM,aAAa,GAAG,CAAC,EACtB,SAAS,GAAG,g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AAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;gBACvE,MAAM;YACP,KAAK,QAAQ;gBACZ,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;gBACtE,MAAM;YACP,KAAK,SAAS;gBACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM;YACP;gBACC,MAAM;QACR,CAAC;QAED,IAAI,aAAa,EAAE,CAAC;YACnB,MAAM,GAAG,aAAa,CAAC;QACxB,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
2
3
|
export declare const columnsList: ({
|
|
3
4
|
title: React.JSX.Element;
|
|
4
5
|
dataIndex: string;
|
|
@@ -12,18 +13,5 @@ export declare const columnsList: ({
|
|
|
12
13
|
dataIndex: string;
|
|
13
14
|
width: string;
|
|
14
15
|
})[];
|
|
15
|
-
export declare const columnsSimpleList: ({
|
|
16
|
-
title: React.JSX.Element;
|
|
17
|
-
dataIndex: string;
|
|
18
|
-
width: string;
|
|
19
|
-
} | {
|
|
20
|
-
title: React.JSX.Element;
|
|
21
|
-
dataIndex: string;
|
|
22
|
-
width?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
title: string;
|
|
25
|
-
dataIndex: string;
|
|
26
|
-
width: string;
|
|
27
|
-
})[];
|
|
28
16
|
declare const TableCell: (props: any) => React.JSX.Element;
|
|
29
17
|
export default TableCell;
|
package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js
CHANGED
|
@@ -1,74 +1,50 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { faEllipsisVerticalSolid, faEnvelopeSolid, faPhoneSolid,
|
|
2
|
+
import { faEllipsisVerticalSolid, faEnvelopeSolid, faPhoneSolid, faBarsProgressSolid, faUserGroupSolid, faCalendarDaysSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
3
3
|
import { Tooltip } from "antd";
|
|
4
|
-
import { observe
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
|
|
6
6
|
import { useControllerStore, useController } from "../../../../../../data/controller";
|
|
7
7
|
import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar/LoadedUnitAvatar";
|
|
8
8
|
import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
|
|
9
9
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
10
10
|
import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus/IdentityStatus2";
|
|
11
|
+
import TagView from "@voplus/morpho-org/es/modules/tag/TagView/TagView2";
|
|
11
12
|
import CompanyControllerMenu from "../../../controls/CompanyRegisterMenu";
|
|
12
13
|
import ControllerStatusLabel from "../../controls/ControllerStatusLabel/ControllerStatusLabel2";
|
|
13
14
|
import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
|
|
14
15
|
import classnames from "classnames";
|
|
16
|
+
import "./index.css";
|
|
15
17
|
export const columnsList = [
|
|
16
18
|
{
|
|
17
19
|
title: (React.createElement(React.Fragment, null,
|
|
18
|
-
React.createElement(FAIcon, { icon:
|
|
19
|
-
"
|
|
20
|
+
React.createElement(FAIcon, { icon: faUserGroupSolid }),
|
|
21
|
+
" Controllers Name")),
|
|
20
22
|
dataIndex: "name",
|
|
21
23
|
width: "32%",
|
|
22
24
|
},
|
|
23
25
|
{
|
|
24
26
|
title: (React.createElement(React.Fragment, null,
|
|
25
|
-
React.createElement(FAIcon, { icon:
|
|
26
|
-
"
|
|
27
|
+
React.createElement(FAIcon, { icon: faCalendarDaysSolid }),
|
|
28
|
+
" Appointment")),
|
|
27
29
|
dataIndex: "appointment",
|
|
28
30
|
},
|
|
29
31
|
{
|
|
30
32
|
title: (React.createElement(React.Fragment, null,
|
|
31
|
-
React.createElement(FAIcon, { icon:
|
|
32
|
-
"
|
|
33
|
+
React.createElement(FAIcon, { icon: faCalendarDaysSolid }),
|
|
34
|
+
" Cease")),
|
|
33
35
|
dataIndex: "cease",
|
|
34
36
|
},
|
|
35
37
|
{
|
|
36
38
|
title: (React.createElement(React.Fragment, null,
|
|
37
|
-
React.createElement(FAIcon, { icon:
|
|
38
|
-
"
|
|
39
|
-
dataIndex: "confirmation",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
title: (React.createElement(React.Fragment, null,
|
|
43
|
-
React.createElement(FAIcon, { icon: faCertificateSolid }),
|
|
44
|
-
" \u00A0Identity Status")),
|
|
45
|
-
dataIndex: "identity",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
title: " ",
|
|
49
|
-
dataIndex: "menu",
|
|
50
|
-
width: "72px",
|
|
51
|
-
},
|
|
52
|
-
];
|
|
53
|
-
export const columnsSimpleList = [
|
|
54
|
-
{
|
|
55
|
-
title: (React.createElement(React.Fragment, null,
|
|
56
|
-
React.createElement(FAIcon, { icon: faUserGroupSolid }),
|
|
57
|
-
" Controller Details")),
|
|
58
|
-
dataIndex: "details",
|
|
59
|
-
width: "40%",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
title: (React.createElement(React.Fragment, null,
|
|
63
|
-
React.createElement(FAIcon, { icon: faCalendarCheckSolid }),
|
|
64
|
-
" \u00A0Confirmation")),
|
|
39
|
+
React.createElement(FAIcon, { icon: faBarsProgressSolid }),
|
|
40
|
+
" Confirmation Status")),
|
|
65
41
|
dataIndex: "confirmation",
|
|
66
42
|
},
|
|
67
43
|
{
|
|
68
44
|
title: (React.createElement(React.Fragment, null,
|
|
69
|
-
React.createElement(FAIcon, { icon:
|
|
70
|
-
" Identity Status")),
|
|
71
|
-
dataIndex: "
|
|
45
|
+
React.createElement(FAIcon, { icon: faBarsProgressSolid }),
|
|
46
|
+
" Identity Status & Tag")),
|
|
47
|
+
dataIndex: "tags",
|
|
72
48
|
},
|
|
73
49
|
{
|
|
74
50
|
title: " ",
|
|
@@ -76,66 +52,35 @@ export const columnsSimpleList = [
|
|
|
76
52
|
width: "72px",
|
|
77
53
|
},
|
|
78
54
|
];
|
|
79
|
-
const renderDate = (date) => date ? (React.createElement(UTCShortDate, { value: date, format: "DD MMM YYYY", className: "text-sm text-font-primary font-semibold" })) : (React.createElement("span", { className: "text-font-primary" }, "__"));
|
|
80
55
|
const TableCell = (props) => {
|
|
81
|
-
var _a;
|
|
82
56
|
const { dataIndex, record, rowIndex, children, ...restProps } = props;
|
|
83
|
-
const isAside = (_a = useAsideContentContext()) === null || _a === void 0 ? void 0 : _a.asideContent;
|
|
84
57
|
const store = useControllerStore();
|
|
85
58
|
return observe(() => {
|
|
59
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
86
60
|
const controller = useController(record === null || record === void 0 ? void 0 : record.id, { reload: (d) => !d.tags, includes: "tags" });
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
React.createElement("
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
controller.appointment ? (React.createElement(UTCShortDate, { value: controller.appointment, format: "DD MMM YYYY", className: "text-xs text-font-grey font-semibold" })) : (React.createElement("span", { className: "text-font-primary" }, " -"))),
|
|
111
|
-
React.createElement("div", { className: "flex items-center gap-0.5" },
|
|
112
|
-
React.createElement(FAIcon, { icon: faCalendarDaysSolid }),
|
|
113
|
-
controller.cease ? (React.createElement(UTCShortDate, { value: controller.cease, format: "DD MMM YYYY", className: "text-xs text-font-grey font-semibold" })) : (React.createElement("span", { className: "text-font-primary" }, " -")))))));
|
|
114
|
-
case "appointment":
|
|
115
|
-
return renderDate(controller.appointment);
|
|
116
|
-
case "cease":
|
|
117
|
-
return renderDate(controller.cease);
|
|
118
|
-
case "confirmation": {
|
|
119
|
-
const label = (React.createElement(ControllerStatusLabel, { className: classnames({ "need-identity": !controller.identity }), status: !controller.identity ? "Need Identity" : controller.confirmationStatus }));
|
|
120
|
-
if (isAside)
|
|
121
|
-
return label;
|
|
122
|
-
return (React.createElement(Tooltip, { title: controller.confimrationDate ? (React.createElement(React.Fragment, null,
|
|
123
|
-
"Confimration Date:",
|
|
124
|
-
" ",
|
|
125
|
-
React.createElement(UTCShortDate, { value: controller.confimrationDate, format: "DD MMM YYYY" }))) : null, color: "#868686" }, label));
|
|
126
|
-
}
|
|
127
|
-
case "identity":
|
|
128
|
-
return ((_g = controller.identity) === null || _g === void 0 ? void 0 : _g.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id, className: isAside ? "gap-2.5!" : undefined })) : null;
|
|
129
|
-
case "menu":
|
|
130
|
-
return (React.createElement("div", { className: "opacity-0 group-hover/row:opacity-100 transition-opacity" },
|
|
131
|
-
React.createElement(ToolBar, { id: record.id, showMenu: false },
|
|
132
|
-
React.createElement(Open, { url: `/controller/${record.id}` }),
|
|
133
|
-
React.createElement(CompanyControllerMenu, { id: record.id, title: "Controller Menu", unitId: (_h = controller.contact) === null || _h === void 0 ? void 0 : _h.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) }))));
|
|
134
|
-
default:
|
|
135
|
-
return children;
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
return React.createElement("td", { ...restProps }, renderContent());
|
|
61
|
+
return (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement("div", { className: "controller-table-item-info" },
|
|
62
|
+
React.createElement(UnitAvatar, { unit: controller.contact }),
|
|
63
|
+
React.createElement("div", { className: "controller-table-item-name" },
|
|
64
|
+
((_a = controller.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (controller.identity.fullName) : controller.contact ? (React.createElement(UnitNameNoteAlert, { id: controller.contact.id, name: controller.contact.name })) : null,
|
|
65
|
+
React.createElement("div", { className: "controller-table-item-contact" },
|
|
66
|
+
(controller.email || ((_b = controller.contact) === null || _b === void 0 ? void 0 : _b.email)) && (React.createElement("div", null,
|
|
67
|
+
React.createElement("span", null,
|
|
68
|
+
React.createElement(FAIcon, { icon: faEnvelopeSolid })),
|
|
69
|
+
controller.email || ((_c = controller.contact) === null || _c === void 0 ? void 0 : _c.email))),
|
|
70
|
+
(controller.phone || ((_d = controller.contact) === null || _d === void 0 ? void 0 : _d.phone)) && (React.createElement("div", null,
|
|
71
|
+
React.createElement("span", null,
|
|
72
|
+
React.createElement(FAIcon, { icon: faPhoneSolid })),
|
|
73
|
+
controller.phone || ((_e = controller.contact) === null || _e === void 0 ? void 0 : _e.phone))))))) : dataIndex === "identity" ? (((_f = controller.identity) === null || _f === void 0 ? void 0 : _f.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id })) : null) : dataIndex === "appointment" ? (React.createElement(UTCShortDate, { value: controller.appointment, format: "DD MMM YYYY" })) : dataIndex === "cease" ? (React.createElement(UTCShortDate, { value: controller.cease, format: "DD MMM YYYY" })) : dataIndex === "confirmation" ? (React.createElement(React.Fragment, null,
|
|
74
|
+
React.createElement(Tooltip, { title: controller.confimrationDate ? (React.createElement(React.Fragment, null,
|
|
75
|
+
"Confimration Date:",
|
|
76
|
+
" ",
|
|
77
|
+
React.createElement(UTCShortDate, { value: controller.confimrationDate, format: "DD MMM YYYY" }))) : null, color: "#868686" },
|
|
78
|
+
React.createElement("div", { className: "controller-table-status-label" },
|
|
79
|
+
React.createElement(ControllerStatusLabel, { className: classnames({ "need-identity": !controller.identity }), status: !controller.identity ? "Need Identity" : controller.confirmationStatus }))))) : dataIndex === "tags" ? (React.createElement(React.Fragment, null,
|
|
80
|
+
((_g = controller.identity) === null || _g === void 0 ? void 0 : _g.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id, className: "controller-table-item-identity" })) : null,
|
|
81
|
+
React.createElement(TagView, { id: record.id, tags: controller.tags, editable: false, items: store.items, maxCount: 1 }))) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
|
|
82
|
+
React.createElement(Open, { url: `/controller/${record.id}` }),
|
|
83
|
+
React.createElement(CompanyControllerMenu, { id: record.id, title: "Controller Menu", unitId: (_h = controller.contact) === null || _h === void 0 ? void 0 : _h.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) }))) : (children)));
|
|
139
84
|
});
|
|
140
85
|
};
|
|
141
86
|
export default TableCell;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,C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AS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export declare const columnsSimpleList: ({
|
|
4
|
+
title: React.JSX.Element;
|
|
5
|
+
dataIndex: string;
|
|
6
|
+
width?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
title: string;
|
|
9
|
+
dataIndex: string;
|
|
10
|
+
width: string;
|
|
11
|
+
})[];
|
|
12
|
+
declare const TableCellSimple: (props: any) => React.JSX.Element;
|
|
13
|
+
export default TableCellSimple;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { faEllipsisVerticalSolid, faBarsProgressSolid, faUserGroupSolid, faCalendarDaysSolid, faCalendarCheckSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
|
|
3
|
+
import { Tooltip } from "antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
|
|
6
|
+
import { useControllerStore, useController } from "../../../../../../data/controller";
|
|
7
|
+
import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
|
|
8
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
9
|
+
import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus/IdentityStatus2";
|
|
10
|
+
import CompanyControllerMenu from "../../../controls/CompanyRegisterMenu";
|
|
11
|
+
import ControllerStatusLabel from "../../controls/ControllerStatusLabel/ControllerStatusLabel2";
|
|
12
|
+
import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
|
|
13
|
+
import classnames from "classnames";
|
|
14
|
+
import "./index.css";
|
|
15
|
+
export const columnsSimpleList = [
|
|
16
|
+
{
|
|
17
|
+
title: (React.createElement(React.Fragment, null,
|
|
18
|
+
React.createElement(FAIcon, { icon: faUserGroupSolid }),
|
|
19
|
+
" Controller Details")),
|
|
20
|
+
dataIndex: "details",
|
|
21
|
+
// width: "32%",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
title: (React.createElement(React.Fragment, null,
|
|
25
|
+
React.createElement(FAIcon, { icon: faBarsProgressSolid }),
|
|
26
|
+
" Identity Status")),
|
|
27
|
+
dataIndex: "identity",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
title: " ",
|
|
31
|
+
dataIndex: "menu",
|
|
32
|
+
width: "72px",
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
const TableCellSimple = (props) => {
|
|
36
|
+
const { dataIndex, record, rowIndex, children, ...restProps } = props;
|
|
37
|
+
const store = useControllerStore();
|
|
38
|
+
return observe(() => {
|
|
39
|
+
var _a, _b, _c;
|
|
40
|
+
const controller = useController(record === null || record === void 0 ? void 0 : record.id, { reload: (d) => !d.tags, includes: "tags" });
|
|
41
|
+
return (React.createElement("td", { ...restProps }, dataIndex === "details" ? (React.createElement("div", { className: "controller-table-item-details" },
|
|
42
|
+
React.createElement("div", null, ((_a = controller.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (controller.identity.fullName) : controller.contact ? (React.createElement(UnitNameNoteAlert, { id: controller.contact.id, name: controller.contact.name })) : null),
|
|
43
|
+
React.createElement(Tooltip, { title: controller.confimrationDate ? (React.createElement(React.Fragment, null,
|
|
44
|
+
"Confimration Date:",
|
|
45
|
+
" ",
|
|
46
|
+
React.createElement(UTCShortDate, { value: controller.confimrationDate, format: "DD MMM YYYY" }))) : null, color: "#868686" },
|
|
47
|
+
React.createElement("div", { className: "controller-table-status-label" },
|
|
48
|
+
React.createElement(ControllerStatusLabel, { className: classnames({ "need-identity": !controller.identity }), status: !controller.identity ? "Need Identity" : controller.confirmationStatus }))),
|
|
49
|
+
React.createElement("div", { className: "controller-table-item-date" },
|
|
50
|
+
controller.appointment && (React.createElement(Tooltip, { title: "Appointment Date", color: "#868686", className: "appointment" },
|
|
51
|
+
React.createElement("span", { className: "date-icon" },
|
|
52
|
+
React.createElement(FAIcon, { icon: faCalendarCheckSolid })),
|
|
53
|
+
React.createElement(UTCShortDate, { value: controller.appointment, format: "DD MMM YYYY" }))),
|
|
54
|
+
controller.cease && (React.createElement(Tooltip, { title: "Cease Date", color: "#868686" },
|
|
55
|
+
React.createElement("span", { className: "date-icon" },
|
|
56
|
+
React.createElement(FAIcon, { icon: faCalendarDaysSolid })),
|
|
57
|
+
React.createElement(UTCShortDate, { value: controller.cease, format: "DD MMM YYYY" })))))) : dataIndex === "identity" ? (((_b = controller.identity) === null || _b === void 0 ? void 0 : _b.id) ? (React.createElement(IdentityStatus, { id: controller.identity.id })) : null) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
|
|
58
|
+
React.createElement(Open, { url: `/controller/${record.id}` }),
|
|
59
|
+
React.createElement(CompanyControllerMenu, { id: record.id, title: "Controller Menu", unitId: (_c = controller.contact) === null || _c === void 0 ? void 0 : _c.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }) }))) : (children)));
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
export default TableCellSimple;
|
|
63
|
+
//# sourceMappingURL=TableCellSimple.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCellSimple.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO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