@voplus/morpho-csp 10.0.5 → 10.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/es/components/RegisterTable/index.d.ts +31 -0
  2. package/es/components/RegisterTable/index.js +55 -0
  3. package/es/components/RegisterTable/index.js.map +1 -0
  4. package/es/components/StatusLabel/index.d.ts +36 -0
  5. package/es/components/StatusLabel/index.js +16 -0
  6. package/es/components/StatusLabel/index.js.map +1 -0
  7. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.d.ts +13 -1
  8. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +94 -39
  9. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  10. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +0 -1
  11. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +66 -95
  12. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  13. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +23 -13
  14. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
  15. package/es/modules/corporate/company/member-register/components/{MemberTableListCard → MemberTableList}/TableCellDetail.d.ts +13 -1
  16. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +127 -0
  17. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -0
  18. package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +2 -3
  19. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +63 -9
  20. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  21. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.d.ts +21 -0
  22. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +86 -0
  23. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -0
  24. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +1 -16
  25. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +17 -133
  26. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
  27. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +15 -12
  28. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
  29. package/es/modules/corporate/company/officer-register/components/{OfficerTableListCard → OfficerTableList}/TableCellDetail.d.ts +13 -1
  30. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +140 -0
  31. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -0
  32. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +2 -3
  33. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +74 -11
  34. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  35. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.d.ts +23 -0
  36. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +87 -0
  37. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -0
  38. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +3 -24
  39. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +22 -140
  40. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
  41. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.d.ts +0 -2
  42. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +20 -37
  43. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
  44. package/es/page/RegisterTablePage/index.d.ts +8 -1
  45. package/es/page/RegisterTablePage/index.js +117 -32
  46. package/es/page/RegisterTablePage/index.js.map +1 -1
  47. package/package.json +1 -1
  48. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.d.ts +0 -13
  49. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js +0 -63
  50. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js.map +0 -1
  51. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.css +0 -122
  52. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +0 -77
  53. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +0 -1
  54. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.d.ts +0 -13
  55. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js +0 -52
  56. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js.map +0 -1
  57. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +0 -87
  58. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +0 -1
  59. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.d.ts +0 -13
  60. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js +0 -65
  61. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js.map +0 -1
  62. package/es/page/RegisterTablePage/Controller.d.ts +0 -3
  63. package/es/page/RegisterTablePage/Controller.js +0 -134
  64. package/es/page/RegisterTablePage/Controller.js.map +0 -1
@@ -1,11 +1,45 @@
1
- import React from "react";
2
- import { Tabs } from "antd";
3
- import { faShieldHalvedSolid, faUsersSolid } from "@voplus/morpho-ui/es/faIcons";
1
+ import React, { useState, useEffect } from "react";
2
+ import { Tabs, Menu, message } from "antd";
3
+ import { useCorporate, useCorporateStore } from "../../data/corporate";
4
+ import { faShieldHalvedSolid, faUsersSolid, faComputerMouseSolid, faCoinsSolid, } from "@voplus/morpho-ui/es/faIcons";
5
+ import { useLayout } from "@voplus/morpho-data";
6
+ import { useParams } from "react-router-dom";
4
7
  import { FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
5
- // import Controller from "./Controller";
6
- import Controller from "../../modules/corporate/company/controller-register/components/ControllerTableList";
8
+ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
9
+ import MemberTableList from "../../modules/corporate/company/member-register/components/MemberTableList";
10
+ import ControllerTableList from "../../modules/corporate/company/controller-register/components/ControllerTableList";
11
+ import OfficerTableList from "../../modules/corporate/company/officer-register/components/OfficerTableList";
12
+ import AddDropDown from "@voplus/morpho-ui/es/components/layout/ListView/controls/AddDropDown2";
13
+ import { State } from "../../components/CorporateNavMenu/state";
14
+ import { ConfigProvider } from "antd";
15
+ import antdTheme from "@voplus/morpho-theme/antdTheme";
7
16
  import { observe } from "@voplus/morpho-ui";
8
- const StandardRegisterPage = () => {
17
+ const StandardRegisterPage = (props) => {
18
+ const { corporateId, controllerRegisterId, membersRegisterId, officersRegisterId, shareTransactionId, url, } = props;
19
+ const layout = useLayout();
20
+ const params = useParams();
21
+ const store = useCorporateStore();
22
+ const [loaded, setLoaded] = useState(true);
23
+ const [activeKey, setActiveKey] = useState("");
24
+ const [state] = useState(new State(corporateId));
25
+ const corporate = useCorporate(corporateId, { includes: "registers" });
26
+ const pStatus = params.status
27
+ ? params.status
28
+ : controllerRegisterId
29
+ ? "controller"
30
+ : membersRegisterId
31
+ ? "members"
32
+ : officersRegisterId
33
+ ? "officers"
34
+ : shareTransactionId
35
+ ? "shareTransactions"
36
+ : "";
37
+ useEffect(() => {
38
+ setActiveKey(pStatus);
39
+ }, [pStatus]);
40
+ useEffect(() => {
41
+ state.update(corporate);
42
+ }, [corporate.registers]);
9
43
  // 顶部卡片数据
10
44
  const statCards = [
11
45
  {
@@ -27,37 +61,88 @@ const StandardRegisterPage = () => {
27
61
  {
28
62
  title: "PENDING ACTIONS",
29
63
  value: "03",
30
- icon: React.createElement(FAIcon, { icon: faShieldHalvedSolid, className: "text-brown-data text-2xl" }),
64
+ icon: React.createElement(FAIcon, { icon: faComputerMouseSolid, className: "text-brown-data text-2xl" }),
31
65
  borderColor: "border-brown-data",
32
66
  textColor: "text-brown-data",
33
67
  bgIcon: "bg-bg-brown-data",
34
68
  },
35
69
  ];
36
- return observe(() => (React.createElement("div", { className: "p-6 bg-bg-blue h-full overflow-hidden font-sans flex flex-col gap-6" },
37
- React.createElement("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6 shrink-0" }, statCards.map((card, idx) => (React.createElement("div", { key: idx, className: `bg-white rounded-lg p-5 shadow-sm border-l-8 ${card.borderColor} flex items-center gap-5.5` },
38
- React.createElement("div", { className: `w-14 h-14 flex items-center justify-center rounded-lg ${card.bgIcon}` }, card.icon),
39
- React.createElement("div", null,
40
- React.createElement("div", { className: "text-font-primary text-sm font-semibold mb-1 uppercase" }, card.title),
41
- React.createElement("div", { className: `${card.textColor} text-2xl font-bold` }, card.value)))))),
42
- React.createElement("div", { className: "flex-1 bg-white rounded-lg shadow-sm border border-border overflow-hidden" },
43
- React.createElement(Tabs, { defaultActiveKey: "Controller", className: "w-full h-full -mb-px [&_.ant-tabs-nav]:bg-bg-table [&_.ant-tabs-nav]:m-0 [&_.ant-tabs-tab]:px-8 [&_.ant-tabs-tab-active_.ant-tabs-tab-btn]:text-font-secondary [&_.ant-tabs-ink-bar]:bg-font-secondary [&_.ant-tabs-tab]:text-font-primary [&_.ant-tabs-tab:hover]:text-font-secondary", items: [
44
- {
45
- key: "Controller",
46
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Controller"),
47
- children: (React.createElement(Controller, { controllerRegisterId: "12afea18-2d06-47af-8b32-aeda0068ad33", corporateId: "0bca19e0-753b-406a-a3a5-ad96008426d8" })),
48
- },
49
- {
50
- key: "Members",
51
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Members"),
52
- children: "Content of Tab Pane 2",
53
- },
54
- {
55
- key: "Officers",
56
- label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Officers"),
57
- children: "Content of Tab Pane 3",
58
- },
59
- ], tabBarExtraContent: React.createElement("div", { className: "pr-7" },
60
- React.createElement("button", { type: "button", className: "underline-button uppercase" }, "ADD REGISTER")) })))));
70
+ return observe(() => {
71
+ var _a;
72
+ return (React.createElement(ConfigProvider, { theme: antdTheme },
73
+ React.createElement("div", { className: "flex flex-col h-full" },
74
+ React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCoinsSolid }), title: "Corporate Stakeholder Registry", description: "Effortlessly Manage and Track Controller, Officers, and Company Members" }),
75
+ React.createElement("div", { className: "p-6 bg-bg-blue h-full overflow-hidden font-sans flex flex-col gap-6" },
76
+ React.createElement("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-6 shrink-0" }, statCards.map((card, idx) => (React.createElement("div", { key: idx, className: `bg-white rounded-lg p-5 shadow-sm border-l-8 ${card.borderColor} flex items-center gap-5.5` },
77
+ React.createElement("div", { className: `w-14 h-14 flex items-center justify-center rounded-lg ${card.bgIcon}` }, card.icon),
78
+ React.createElement("div", null,
79
+ React.createElement("div", { className: "text-font-primary text-sm font-semibold mb-1 uppercase" }, card.title),
80
+ React.createElement("div", { className: `${card.textColor} text-2xl font-bold` }, card.value)))))),
81
+ React.createElement("div", { className: "flex-1 bg-white rounded-lg shadow-sm border border-border overflow-hidden" },
82
+ React.createElement(Tabs, { activeKey: activeKey, onChange: onChange, className: "w-full h-full -mb-px [&_.ant-tabs-nav]:bg-bg-table! [&_.ant-tabs-nav]:m-0! [&_.ant-tabs-tab]:px-3! [&_.ant-tabs-tab-active_.ant-tabs-tab-btn]:text-font-secondary! [&_.ant-tabs-ink-bar]:bg-font-secondary! [&_.ant-tabs-tab]:text-font-primary! [&_.ant-tabs-tab:hover]:text-font-secondary!", items: [
83
+ ...(controllerRegisterId
84
+ ? [
85
+ {
86
+ key: "controller",
87
+ label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Controller"),
88
+ children: loaded ? (React.createElement(ControllerTableList, { controllerRegisterId: controllerRegisterId, corporateId: corporateId, onReload: onReload, onDelete: () => onDeleteRegister(corporateId, controllerRegisterId) })) : null,
89
+ },
90
+ ]
91
+ : []),
92
+ ...(membersRegisterId
93
+ ? [
94
+ {
95
+ key: "members",
96
+ label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Members"),
97
+ children: (React.createElement(MemberTableList, { membersRegisterId: membersRegisterId, corporateId: corporateId, onDelete: () => onDeleteRegister(corporateId, membersRegisterId) })),
98
+ },
99
+ ]
100
+ : []),
101
+ ...(officersRegisterId
102
+ ? [
103
+ {
104
+ key: "officers",
105
+ label: React.createElement("div", { className: "font-semibold text-sm py-1.5 px-8" }, "Officers"),
106
+ children: (React.createElement(OfficerTableList, { officersRegisterId: officersRegisterId, corporateId: corporateId, onDelete: () => onDeleteRegister(corporateId, officersRegisterId) })),
107
+ },
108
+ ]
109
+ : []),
110
+ ], tabBarExtraContent: React.createElement("div", { className: "pr-7" },
111
+ React.createElement(AddDropDown, { trigger: ["click"], btnType: React.createElement("button", { type: "button", className: "underline-button uppercase" }, "ADD REGISTER"), overlay: React.createElement(Menu, { onClick: (e) => onAddRegister(e.key), items: (_a = state.addRegister) === null || _a === void 0 ? void 0 : _a.map((r, i) => {
112
+ return {
113
+ key: r.name,
114
+ label: React.createElement(React.Fragment, null,
115
+ "Register of ",
116
+ r.label),
117
+ disabled: r.name !== "OfficersRegister" &&
118
+ r.name !== "ShareTransactionsRegister" &&
119
+ r.name !== "MembersRegister" &&
120
+ r.name !== "ControllerRegister"
121
+ ? true
122
+ : false,
123
+ };
124
+ }) }) })) }))))));
125
+ });
126
+ function onReload() {
127
+ setLoaded(false);
128
+ setTimeout(() => {
129
+ setLoaded(true);
130
+ }, 100);
131
+ }
132
+ function onChange(key) {
133
+ layout.history.push(`${url}/registers/${key}`);
134
+ }
135
+ async function onAddRegister(name) {
136
+ const data = await store.register(corporateId, name, {
137
+ error: (error) => message.error(error.message),
138
+ });
139
+ state.update(data);
140
+ }
141
+ async function onDeleteRegister(corporateId, registerId) {
142
+ await store.registersDelete(corporateId, registerId, {
143
+ error: (error) => message.error(error.message),
144
+ });
145
+ }
61
146
  };
62
147
  export default StandardRegisterPage;
63
148
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page/RegisterTablePage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAU,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACzE,yCAAyC;AACzC,OAAO,UAAU,MAAM,oFAAoF,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACjC,SAAS;IACT,MAAM,SAAS,GAAG;QACjB;YACC,KAAK,EAAE,iBAAiB;YACxB,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,EAAE,SAAS,EAAC,8BAA8B,GAAG;YAC7E,WAAW,EAAE,uBAAuB;YACpC,SAAS,EAAE,qBAAqB;YAChC,MAAM,EAAE,iBAAiB;SACzB;QACD;YACC,KAAK,EAAE,oBAAoB;YAC3B,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,mBAAmB,EAAE,SAAS,EAAC,0BAA0B,GAAG;YAChF,WAAW,EAAE,mBAAmB;YAChC,SAAS,EAAE,iBAAiB;YAC5B,MAAM,EAAE,kBAAkB;SAC1B;Q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f,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,SAAS,QAAQ,CAAC,GAAW;QAC5B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,GAAG,cAAc,GAAG,EAAE,CAAC,CAAC;IAChD,CAAC;IAED,KAAK,UAAU,aAAa,CAAC,IAAY;QACxC,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE;YACpD,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,CAAC;QACH,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAED,KAAK,UAAU,gBAAgB,CAAC,WAAmB,EAAE,UAAkB;QACtE,MAAM,KAAK,CAAC,eAAe,CAAC,WAAW,EAAE,UAAU,EAAE;YACpD,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;SACrD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "10.0.5",
3
+ "version": "10.0.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -1,13 +0,0 @@
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;
@@ -1,63 +0,0 @@
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
@@ -1 +0,0 @@
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,uB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AC,MAAM,IAAC,IAAI,EAAE,uBAAuB,GAAI,GAC9C,CACO,CACV,CAAC,CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,122 +0,0 @@
1
- @import "../../../../../../style/common.css";
2
-
3
- .controller-table-list-card {
4
- height: 100%;
5
-
6
- .tools-card-content .ant-table-wrapper {
7
- .tool-bar .ant-btn {
8
- padding: 0;
9
- }
10
-
11
- .ant-table-cell {
12
- color: #5d5d5d;
13
- }
14
- }
15
- }
16
-
17
- .controller-table-item-info {
18
- color: #5d5d5d;
19
- font-weight: 500;
20
- padding: 1px 0;
21
- cursor: pointer;
22
- display: flex;
23
- align-items: center;
24
-
25
- .ant-avatar {
26
- width: 30px;
27
- height: 30px;
28
- line-height: 28px;
29
- }
30
-
31
- .controller-table-item-name {
32
- flex: 1;
33
- margin-left: 8px;
34
- }
35
- }
36
-
37
- .controller-table-status-label {
38
- display: inline-block;
39
-
40
- .controller-status-button {
41
- display: inline-block;
42
- }
43
- }
44
-
45
- .controller-table-item-contact {
46
- color: #868686;
47
-
48
- div {
49
- display: inline-block;
50
-
51
- &:first-child {
52
- margin-right: 8px;
53
- }
54
- }
55
-
56
- span {
57
- float: left;
58
- display: inline-block;
59
- width: 15px;
60
- color: #cbcbcb;
61
- margin-right: 5px;
62
- }
63
- }
64
-
65
- .controller-table-item-email,
66
- .controller-table-item-phone {
67
- color: #5d5d5d;
68
- }
69
-
70
- .controller-table-item-identity {
71
- .verification {
72
- margin-right: 10px;
73
- margin-left: 0;
74
-
75
- &:last-child {
76
- margin-right: 0;
77
- }
78
- }
79
- }
80
-
81
- .controller-table-list-header.list-view-header-tool {
82
- padding: 0;
83
- flex: 1;
84
-
85
- .header-tool-space {
86
- display: flex;
87
-
88
- .title {
89
- flex: 1;
90
- }
91
-
92
- .send-form-btn {
93
- color: var(--purple-primary-color);
94
- border-color: var(--purple-primary-color);
95
- padding-left: 10px;
96
- padding-right: 10px;
97
- }
98
-
99
- .import-btn,
100
- .print-btn,
101
- .send-notice-btn {
102
- color: var(--purple-primary-color);
103
- border-color: var(--purple-primary-color);
104
- }
105
- }
106
- }
107
-
108
- .controller-table-item-details {
109
- .controller-table-item-date {
110
- display: flex;
111
- color: #868686;
112
- margin-top: 4px;
113
- .appointment {
114
- margin-right: 10px;
115
- }
116
- .date-icon {
117
- color: #cbcbcb;
118
- display: inline-block;
119
- margin-right: 5px;
120
- }
121
- }
122
- }
@@ -1,77 +0,0 @@
1
- import { faEllipsisVerticalSolid, faEnvelopeSolid, faPhoneSolid, faBarsProgressSolid, faUserGroupSolid, faCircleCheckSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
2
- import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
3
- import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
4
- import { observe } from "@voplus/morpho-ui";
5
- import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar/LoadedUnitAvatar";
6
- import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
7
- import classnames from "classnames";
8
- import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus";
9
- import React from "react";
10
- import CompanyMemberMenu from "../../../controls/CompanyRegisterMenu";
11
- import TagView from "@voplus/morpho-org/es/modules/tag/TagView/TagView2";
12
- import { useMemberStore, useMember } from "../../../../../../data/member";
13
- import MemberStatusLabel from "../../controls/MemberStatusLabel/MemberStatusLabel2";
14
- import "./index.css";
15
- export const columnsListDetail = [
16
- {
17
- title: (React.createElement(React.Fragment, null,
18
- React.createElement(FAIcon, { icon: faUserGroupSolid }),
19
- " Members Name")),
20
- dataIndex: "name",
21
- width: "32%",
22
- },
23
- {
24
- title: (React.createElement(React.Fragment, null,
25
- React.createElement(FAIcon, { icon: faCircleCheckSolid }),
26
- " Identity Status")),
27
- dataIndex: "identity",
28
- },
29
- {
30
- title: (React.createElement(React.Fragment, null,
31
- React.createElement(FAIcon, { icon: faBarsProgressSolid }),
32
- " Status")),
33
- dataIndex: "status",
34
- },
35
- {
36
- title: (React.createElement(React.Fragment, null,
37
- React.createElement(FAIcon, { icon: faBarsProgressSolid }),
38
- " Tags")),
39
- dataIndex: "tags",
40
- },
41
- {
42
- title: " ",
43
- dataIndex: "menu",
44
- width: "72px",
45
- },
46
- ];
47
- const TableCellDetail = (props) => {
48
- const { dataIndex, record, rowIndex, children, ...restProps } = props;
49
- const store = useMemberStore();
50
- return observe(() => {
51
- var _a, _b, _c, _d, _e, _f, _g;
52
- const member = useMember(record === null || record === void 0 ? void 0 : record.id, { reload: (d) => !d.tags, includes: "tags" });
53
- return (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement("div", { className: "member-table-item-info" },
54
- React.createElement(UnitAvatar, { unit: member.contact }),
55
- React.createElement("div", { className: "member-table-item-name" },
56
- ((_a = member.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (member.identity.fullName) : member.contact ? (React.createElement(UnitNameNoteAlert, { id: member.contact.id, name: member.contact.name })) : null,
57
- React.createElement("div", { className: "member-table-item-contact2" },
58
- (member.email || ((_b = member.contact) === null || _b === void 0 ? void 0 : _b.email)) && (React.createElement("div", null,
59
- React.createElement("span", null,
60
- React.createElement(FAIcon, { icon: faEnvelopeSolid })),
61
- member.email || ((_c = member.contact) === null || _c === void 0 ? void 0 : _c.email))),
62
- (member.phone || ((_d = member.contact) === null || _d === void 0 ? void 0 : _d.phone)) && (React.createElement("div", null,
63
- React.createElement("span", null,
64
- React.createElement(FAIcon, { icon: faPhoneSolid })),
65
- member.phone || ((_e = member.contact) === null || _e === void 0 ? void 0 : _e.phone))))))) : dataIndex === "identity" ? (((_f = member.identity) === null || _f === void 0 ? void 0 : _f.id) ? (React.createElement(IdentityStatus, { id: member.identity.id })) : null) : dataIndex === "status" ? (React.createElement("div", { style: { display: "flex" } },
66
- React.createElement(MemberStatusLabel, { className: classnames("member-table-status-label", {
67
- "need-identity": !member.identity,
68
- }), status: !member.identity ? "Need Identity" : member.status }))) : dataIndex === "tags" ? (React.createElement(TagView, { id: record.id, tags: member.tags, editable: false, items: store.items, maxCount: 1 })) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
69
- React.createElement(Open, { url: `/member/${record.id}` }),
70
- React.createElement(CompanyMemberMenu, { id: record.id, title: "Member Menu", unitId: (_g = member.contact) === null || _g === void 0 ? void 0 : _g.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }), onChangeContact: (unitId) => store.edit(record.id, {
71
- data: { ContactId: unitId },
72
- error: "message",
73
- }) }))) : (children)));
74
- });
75
- };
76
- export default TableCellDetail;
77
- //# sourceMappingURL=TableCellDetail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableCellDetail.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,8DAA8D,CAAC;AACtF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,OAAO,MAAM,oDAAoD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,+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CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -1,13 +0,0 @@
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;
@@ -1,52 +0,0 @@
1
- import React from "react";
2
- import { faEllipsisVerticalSolid, faBarsProgressSolid, faUserGroupSolid, FontAwesomeIcon as FAIcon, } from "@voplus/morpho-ui/es/faIcons";
3
- import { observe } from "@voplus/morpho-ui";
4
- import { Open } from "@voplus/morpho-document-core/es/controls/ToolBar/buttons";
5
- import { useMemberStore, useMember } from "../../../../../../data/member";
6
- import UnitNameNoteAlert from "@voplus/morpho-org/es/components/UnitNameNoteAlert";
7
- import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus";
8
- import CompanyMemberMenu from "../../../controls/CompanyRegisterMenu";
9
- import MemberStatusLabel from "../../controls/MemberStatusLabel/MemberStatusLabel2";
10
- import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
11
- import classnames from "classnames";
12
- import "./index.css";
13
- export const columnsSimpleList = [
14
- {
15
- title: (React.createElement(React.Fragment, null,
16
- React.createElement(FAIcon, { icon: faUserGroupSolid }),
17
- " Members Details")),
18
- dataIndex: "details",
19
- // width: "32%",
20
- },
21
- {
22
- title: (React.createElement(React.Fragment, null,
23
- React.createElement(FAIcon, { icon: faBarsProgressSolid }),
24
- " Identity Status")),
25
- dataIndex: "identity",
26
- },
27
- {
28
- title: " ",
29
- dataIndex: "menu",
30
- width: "72px",
31
- },
32
- ];
33
- const TableCellSimple = (props) => {
34
- const { dataIndex, record, rowIndex, children, ...restProps } = props;
35
- const store = useMemberStore();
36
- return observe(() => {
37
- var _a, _b, _c;
38
- const member = useMember(record === null || record === void 0 ? void 0 : record.id, { reload: (d) => !d.tags, includes: "tags" });
39
- return (React.createElement("td", { ...restProps }, dataIndex === "details" ? (React.createElement("div", { className: "member-table-item-details" },
40
- React.createElement("div", null, ((_a = member.identity) === null || _a === void 0 ? void 0 : _a.fullName) ? (member.identity.fullName) : member.contact ? (React.createElement(UnitNameNoteAlert, { id: member.contact.id, name: member.contact.name })) : null),
41
- React.createElement(MemberStatusLabel, { className: classnames("member-table-status-label", {
42
- "need-identity": !member.identity,
43
- }), status: !member.identity ? "Need Identity" : member.status }))) : dataIndex === "identity" ? (((_b = member.identity) === null || _b === void 0 ? void 0 : _b.id) ? (React.createElement(IdentityStatus, { id: member.identity.id })) : null) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, showMenu: false },
44
- React.createElement(Open, { url: `/member/${record.id}` }),
45
- React.createElement(CompanyMemberMenu, { id: record.id, title: "Member Menu", unitId: (_c = member.contact) === null || _c === void 0 ? void 0 : _c.id, store: store, closeAside: true, icon: React.createElement(FAIcon, { icon: faEllipsisVerticalSolid }), onChangeContact: (unitId) => store.edit(record.id, {
46
- data: { ContactId: unitId },
47
- error: "message",
48
- }) }))) : (children)));
49
- });
50
- };
51
- export default TableCellSimple;
52
- //# sourceMappingURL=TableCellSimple.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableCellSimple.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,uBAAuB,EACvB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,IAAI,MAAM,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,SAAS,EA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