@voplus/morpho-csp 10.0.10 → 10.0.12

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 (121) hide show
  1. package/es/components/CorporateUnitSelectDialog/index.d.ts +1 -1
  2. package/es/components/CorporateUnitSelectDialog/index.js +12 -4
  3. package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
  4. package/es/components/CorporateUnitSelectDialog/state.d.ts +2 -2
  5. package/es/components/CorporateUnitSelectDialog/state.js +9 -6
  6. package/es/components/CorporateUnitSelectDialog/state.js.map +1 -1
  7. package/es/components/RegisterTable/index.d.ts +31 -0
  8. package/es/components/RegisterTable/index.js +55 -0
  9. package/es/components/RegisterTable/index.js.map +1 -0
  10. package/es/components/StatusLabel/index.d.ts +36 -0
  11. package/es/components/StatusLabel/index.js +16 -0
  12. package/es/components/StatusLabel/index.js.map +1 -0
  13. package/es/data/clda-form/CLDAFormContent.js +3 -1
  14. package/es/data/clda-form/CLDAFormContent.js.map +1 -1
  15. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js +1 -3
  16. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileLevelLabel/index.js.map +1 -1
  17. package/es/modules/corporate/company/components/CorporateList/index.js +1 -1
  18. package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
  19. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.d.ts +13 -1
  20. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +94 -39
  21. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
  22. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.d.ts +0 -1
  23. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +66 -95
  24. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
  25. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js +23 -13
  26. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/ControllerStatusLabel2.js.map +1 -1
  27. package/es/modules/corporate/company/controls/CorporateStatusLabel/index.d.ts +0 -1
  28. package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js +1 -8
  29. package/es/modules/corporate/company/controls/CorporateStatusLabel/index.js.map +1 -1
  30. package/es/modules/corporate/company/member-register/components/{MemberTableListCard → MemberTableList}/TableCellDetail.d.ts +13 -1
  31. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js +125 -0
  32. package/es/modules/corporate/company/member-register/components/MemberTableList/TableCellDetail.js.map +1 -0
  33. package/es/modules/corporate/company/member-register/components/MemberTableList/index.d.ts +2 -3
  34. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js +63 -9
  35. package/es/modules/corporate/company/member-register/components/MemberTableList/index.js.map +1 -1
  36. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.d.ts +21 -0
  37. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js +86 -0
  38. package/es/modules/corporate/company/member-register/components/MemberTableListCard/MemberRegisterContainer.js.map +1 -0
  39. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.d.ts +1 -16
  40. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +17 -133
  41. package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
  42. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js +15 -12
  43. package/es/modules/corporate/company/member-register/controls/MemberStatusLabel/MemberStatusLabel2.js.map +1 -1
  44. package/es/modules/corporate/company/officer-register/components/{OfficerTableListCard → OfficerTableList}/TableCellDetail.d.ts +13 -1
  45. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js +140 -0
  46. package/es/modules/corporate/company/officer-register/components/OfficerTableList/TableCellDetail.js.map +1 -0
  47. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.d.ts +2 -3
  48. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js +74 -11
  49. package/es/modules/corporate/company/officer-register/components/OfficerTableList/index.js.map +1 -1
  50. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.d.ts +23 -0
  51. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js +87 -0
  52. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/OfficerRegisterContainer.js.map +1 -0
  53. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +3 -24
  54. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +22 -140
  55. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
  56. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.d.ts +0 -2
  57. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js +20 -37
  58. package/es/modules/corporate/company/officer-register/controls/OfficerStatusLabel/OfficerStatusLabel2.js.map +1 -1
  59. package/es/modules/corporate/company/pages/RegisterTablePage/index.d.ts +10 -0
  60. package/es/modules/corporate/company/pages/RegisterTablePage/index.js +152 -0
  61. package/es/modules/corporate/company/pages/RegisterTablePage/index.js.map +1 -0
  62. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.css +1 -1
  63. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +1 -1
  64. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +1 -1
  65. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
  66. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +5 -2
  67. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -1
  68. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.css +1 -1
  69. package/es/modules/corporate/filing-record/components/FilingList/index.js +1 -1
  70. package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
  71. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.d.ts +1 -0
  72. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +1 -0
  73. package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -1
  74. package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.d.ts +1 -0
  75. package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js +1 -0
  76. package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js.map +1 -1
  77. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.d.ts +10 -0
  78. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.js +48 -0
  79. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/YearNode.js.map +1 -0
  80. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.d.ts +7 -0
  81. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js +94 -0
  82. package/es/modules/corporate/filing-record/filing-year/components/FilingYearTimeline/index.js.map +1 -0
  83. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.d.ts +33 -0
  84. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js +121 -0
  85. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/TableCell.js.map +1 -0
  86. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.d.ts +1 -0
  87. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.js +9 -0
  88. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/getDiffDay.js.map +1 -0
  89. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.d.ts +5 -0
  90. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js +48 -0
  91. package/es/modules/corporate/filing-record/filing-year/components/FilingsTable/index.js.map +1 -0
  92. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js +1 -2
  93. package/es/modules/corporate/virtual-address/receipents/components/ReceipentsSelect/state.js.map +1 -1
  94. package/es/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.js +10 -10
  95. package/es/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.js.map +1 -1
  96. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js +30 -7
  97. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.js.map +1 -1
  98. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +1 -1
  99. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
  100. package/package.json +2 -1
  101. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.d.ts +0 -13
  102. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js +0 -63
  103. package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCellSimple.js.map +0 -1
  104. package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.css +0 -122
  105. package/es/modules/corporate/company/controls/CorporateStatusLabel/index.css +0 -22
  106. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +0 -77
  107. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +0 -1
  108. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.d.ts +0 -13
  109. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js +0 -52
  110. package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellSimple.js.map +0 -1
  111. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +0 -87
  112. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +0 -1
  113. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.d.ts +0 -13
  114. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js +0 -65
  115. package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellSimple.js.map +0 -1
  116. package/es/page/RegisterTablePage/Controller.d.ts +0 -3
  117. package/es/page/RegisterTablePage/Controller.js +0 -134
  118. package/es/page/RegisterTablePage/Controller.js.map +0 -1
  119. package/es/page/RegisterTablePage/index.d.ts +0 -3
  120. package/es/page/RegisterTablePage/index.js +0 -63
  121. package/es/page/RegisterTablePage/index.js.map +0 -1
@@ -1,22 +1,22 @@
1
1
  // spec:1432 — CSP: Mail Type autocomplete offers Letter / Letter (A4) / Bulk and accepts free text
2
- import React, { useState } from "react";
2
+ import React, { useCallback, useRef, useState } from "react";
3
3
  import { AutoComplete } from "antd";
4
4
  import { observe } from "@voplus/morpho-ui";
5
5
  const MailTypeSelect = (props) => {
6
- const [timer, setTimer] = useState();
6
+ const timerRef = useRef();
7
7
  const [options, setOptions] = useState([
8
8
  { value: "Letter", label: "Letter" },
9
9
  { value: "Letter (A4)", label: "Letter (A4)" },
10
10
  { value: "Bulk", label: "Bulk" },
11
11
  ]);
12
- const onSearch = (v) => {
13
- if (timer)
14
- clearTimeout(timer);
15
- setTimer(setTimeout(() => {
16
- setOptions([...options, { value: v, label: v }]);
17
- setTimer(undefined);
18
- }, 1000));
19
- };
12
+ const onSearch = useCallback((v) => {
13
+ if (timerRef.current)
14
+ clearTimeout(timerRef.current);
15
+ timerRef.current = setTimeout(() => {
16
+ setOptions((prev) => [...prev, { value: v, label: v }]);
17
+ timerRef.current = undefined;
18
+ }, 1000);
19
+ }, []);
20
20
  return observe(() => (React.createElement(AutoComplete, { ...props, options: options, style: { width: "100%" }, onSearch: onSearch })));
21
21
  };
22
22
  export default MailTypeSelect;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,cAAc,GAAG,CAAC,KAAwB,EAAE,EAAE;IACnD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA6C,CAAC;IAEhF,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC;QACtC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;QACpC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;QAC9C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;KAChC,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE;QAC9B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;YACf,UAAU,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;YACjD,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAC,CACR,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,OACR,KAAK,EACT,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EACxB,QAAQ,EAAE,QAAQ,GACjB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/MailTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE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core/es/controls/ToolBar/buttons";
7
7
  import { useVirtualAddressMail } from "../../../../../data/virtual-address-mail";
8
8
  import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
9
9
  import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
10
+ import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
11
+ import ListItemController from "@voplus/morpho-document-core/es/controls/ListItemController";
10
12
  import VirtualAddressMailQuickViewDialog from "../VirtualAddressMailQuickViewDialog";
11
- import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
12
13
  import VirtualAddressMailMenu from "../../controls/VirtualAddressMailMenu";
13
- import ListItemController from "@voplus/morpho-document-core/es/controls/ListItemController";
14
- import PropertiesView from "../VirtualAddressMailPropertiesView";
15
14
  import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
16
- import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
17
- import StatusLabel from "@voplus/morpho-ui/es/controls/DocumentStatusLabel/StatusLabel";
15
+ import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
16
+ import PropertiesView from "../VirtualAddressMailPropertiesView";
17
+ import StatusLabel from "../../../../../components/StatusLabel";
18
18
  import Scan from "../../controls/VirtualAddressMailMenu/Scan";
19
19
  import Routes from "../../../../../routes";
20
20
  import "./index.css";
@@ -32,15 +32,38 @@ const VirtualAddressMailItem = (props) => {
32
32
  React.createElement("div", { className: "virtualAddress-item-name" }, ((_a = virtualAddress === null || virtualAddress === void 0 ? void 0 : virtualAddress.recipent) === null || _a === void 0 ? void 0 : _a.receipent) && (React.createElement(UnitReference, { unit: (_b = virtualAddress === null || virtualAddress === void 0 ? void 0 : virtualAddress.recipent) === null || _b === void 0 ? void 0 : _b.receipent }))),
33
33
  React.createElement(UTCShortDate, { className: "text-xs text-slate-500", value: virtualAddress.date, format: "DD MMM YYYY" })),
34
34
  React.createElement(ColumnItemCol, { span: 5, label: "Mail Type" }, virtualAddress.mailType),
35
- React.createElement(ColumnItemCol, { span: 3, label: "Scanned" }, virtualAddress.scanned && React.createElement("span", { className: "virtualAddress-item-scanned" })),
35
+ React.createElement(ColumnItemCol, { span: 3, label: "Scanned" },
36
+ React.createElement(StatusLabel, { status: virtualAddress.scanned ? "Yes" : "No", colors: virtualAddress.scanned
37
+ ? { bg: "bg-bg-green-data", text: "text-green-data", dot: "bg-green-data" }
38
+ : { bg: "bg-bg-grey", text: "text-font-grey", dot: "bg-font-grey" } })),
36
39
  React.createElement(ColumnItemCol, { span: 6, label: "Sender" }, virtualAddress.sender),
37
40
  hover ? (React.createElement(ColumnItemCol, { span: 4, align: "flex-end" },
38
41
  React.createElement(ToolBar, { showMenu: false, id: id },
39
42
  React.createElement(Open, { url: Routes.VirtualAddressMailDefaultView.getUrl(id) }),
40
43
  React.createElement(Scan, { id: id }),
41
44
  React.createElement(VirtualAddressMailMenu, { id: id, closeAside: !((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") })))) : (React.createElement(ColumnItemCol, { span: 4, label: "Status", align: "flex-end" },
42
- React.createElement(StatusLabel, { status: virtualAddress.status, size: "small" })))))));
45
+ React.createElement(StatusLabel, { status: virtualAddress.status, colors: getStatusColor(virtualAddress.status) })))))));
43
46
  });
47
+ function getStatusColor(status) {
48
+ switch (status) {
49
+ case "New":
50
+ return {
51
+ bg: "bg-blue-profile",
52
+ text: "text-font-secondary",
53
+ dot: "bg-font-secondary",
54
+ };
55
+ case "Notified":
56
+ return { bg: "bg-bg-purple", text: "text-font-purple", dot: "bg-font-purple" };
57
+ case "Pending":
58
+ return { bg: "bg-bg-brown-data", text: "text-brown-data", dot: "bg-brown-data" };
59
+ case "Collected":
60
+ return { bg: "bg-bg-grey", text: "text-font-grey", dot: "bg-font-grey" };
61
+ case "Forwarded":
62
+ return { bg: "bg-bg-green-data", text: "text-green-data", dot: "bg-green-data" };
63
+ default:
64
+ return { bg: "bg-bg-grey", text: "text-font-grey", dot: "bg-font-grey" };
65
+ }
66
+ }
44
67
  };
45
68
  export default VirtualAddressMailItem;
46
69
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.tsx"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,6DAA6D;AAC7D,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAO,QAAQ,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,0DAA0D,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,iCAAiC,MAAM,sCAAsC,CAAC;AACrF,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,kBAAkB,MAAM,6DAA6D,CAAC;AAC7F,OAAO,cAAc,MAAM,qCAAqC,CAAC;AACjE,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,WAAW,MAAM,+DAA+D,CAAC;AACxF,OAAO,IAAI,MAAM,4CAA4C,CAAC;AAC9D,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,aAAa,CAAC;AAErB,MAAM,sBAAsB,GAAG,CAAC,KAA2C,EAAE,EAAE;IAC9E,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,KA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AAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,SAAS,IACrC,cAAc,CAAC,OAAO,IAAI,8BAAM,SAAS,EAAC,6BAA6B,GAAQ,CACjE;oBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,QAAQ,IACpC,cAAc,CAAC,MAAM,CACP;oBACf,KAAK,CAAC,CAAC,CAAC,CACR,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;wBACvC,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;4BAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,6BAA6B,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;4BAC9D,oBAAC,IAAI,IAAC,EAAE,EAAE,EAAE,GAAI;4BAChB,oBAAC,sBAAsB,IACtB,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,CAAC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,CAAC,GAC3E,CACO,CACK,CAChB,CAAC,CAAC,CAAC,CACH,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,UAAU;wBACtD,oBAAC,WAAW,IAAC,MAAM,EAAE,cAAc,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,CAC5C,CAChB,CACW,CACO,CACX,CACX,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/VirtualAddressMailItem/index.tsx"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,6DAA6D;AAC7D,OAAO,KAAK,EA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B;iBACxB,CAAC;YACH,KAAK,UAAU;gBACd,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,kBAAkB,EAAE,GAAG,EAAE,gBAAgB,EAAE,CAAC;YAChF,KAAK,SAAS;gBACb,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,EAAE,eAAe,EAAE,CAAC;YAClF,KAAK,WAAW;gBACf,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC;YAC1E,KAAK,WAAW;gBACf,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,EAAE,eAAe,EAAE,CAAC;YAClF;gBACC,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC;QAC3E,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -78,7 +78,7 @@ const VirtualAddressMailList = ({ headerType = "dashboard", isAddable = true, ..
78
78
  filter.push({ c: "ParentNodeId", o: "=", l: "And", v1: addressId });
79
79
  if (corporateId)
80
80
  filter.push({ c: "CorporateId", o: "=", l: "And", v1: corporateId });
81
- if (filterOptions)
81
+ if (filterOptions === null || filterOptions === void 0 ? void 0 : filterOptions.length)
82
82
  filter = filterOptions;
83
83
  return filter;
84
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.tsx"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8DAA8D;AAC9D,gGAAgG;AAChG,4FAA4F;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAm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Z,YAAY,CAAE,SAAS,CACtB,oBAAC,sBAAsB,IACtB,QAAQ,QACR,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,KAAK,GACb,EACF,EAAE,IAAI,EAAE,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,YAAY,EAAC,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CACvE,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.tsx"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,8DAA8D;AAC9D,gGAAgG;AAChG,4FAA4F;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAgB,qBAAqB,EAAgB,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAEN,+BAA+B,EAC/B,qBAAqB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAChF,OAAO,+BAA+B,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4EAA4E,CAAC;AAClH,OAAO,YAAY,MAAM,uEAAuE,CAAC;AACjG,OAAO,sBAAsB,MAAM,qDAAqD,CAAC;AACzF,O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AE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;QACnF,IAAI,WAAW;YAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;QAEtF,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM;YAAE,MAAM,GAAG,aAAa,CAAC;QAElD,OAAO,MAAM,CAAE;IAChB,CAAC;IAED,SAAS,KAAK,CAAC,YAA2B;QACzC,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,EAAE,CAAC;YACnE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;aAAM,CAAC;YACP,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CACtB,oBAAC,sBAAsB,IACtB,QAAQ,QACR,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,KAAK,GACb,EACF,EAAE,IAAI,EAAE,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,YAAY,EAAC,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CACvE,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "10.0.10",
3
+ "version": "10.0.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -32,6 +32,7 @@
32
32
  "@voplus/morpho-document": "10.x",
33
33
  "@voplus/morpho-finance": "10.x",
34
34
  "@voplus/morpho-form": "10.x",
35
+ "@voplus/morpho-data": "5.x",
35
36
  "@voplus/morpho-workspace": "10.x",
36
37
  "dagre": "^0.8.5",
37
38
  "email-validator": "^2.0.4"
@@ -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,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,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,cAAc,MAAM,2EAA2E,CAAC;AACvG,OAAO,qBAAqB,MAAM,uCAAuC,CAAC;AAC1E,OAAO,qBAAqB,MAAM,6DAA6D,CAAC;AAChG,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;kCAChC,CACH;QACD,SAAS,EAAE,SAAS;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E,GAAI,CAC9C,CAAC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;YACtC,oBAAC,IAAI,IAAC,GAAG,EAAE,eAAe,MAAM,CAAC,EAAE,EAAE,GAAI;YACzC,oBAAC,qBAAqB,IACrB,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,KAAK,EAAC,iBAAiB,EACvB,MAAM,EAAE,MAAA,UAAU,CAAC,OAAO,0CAAE,EAAE,EAC9B,KAAK,EAAE,KAAK,EACZ,UAAU,QACV,IAAI,EAAE,oBAAC,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,22 +0,0 @@
1
- .corporate-status {
2
- &.dormant,
3
- &.dormant:hover {
4
- background: var(--rejected-color);
5
- }
6
-
7
- &.live,
8
- &.live:hover {
9
- background: var(--active-color);
10
- }
11
-
12
- &.closed,
13
- &.closed:hover {
14
- background: #ff4d4f;
15
- }
16
- }
17
-
18
- .corporate-status-label {
19
- .ant-dropdown-menu-item:last-child {
20
- display: none;
21
- }
22
- }
@@ -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,+BAA+B,CAAC;AAC1E,OAAO,iBAAiB,MAAM,qDAAqD,CAAC;AACpF,OAAO,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;4BAChC,CACH;QACD,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,KAAK;KACZ;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI;+BAClC,CACH;QACD,SAAS,EAAE,UAAU;KACrB;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,mBAAmB,GAAI;sBACnC,CACH;QACD,SAAS,EAAE,QAAQ;KACnB;IACD;QACC,KAAK,EAAE,C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AE,KAAK,CAAC,KAAK,EAClB,QAAQ,EAAE,CAAC,GACV,CACF,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;YACtC,oBAAC,IAAI,IAAC,GAAG,EAAE,WAAW,MAAM,CAAC,EAAE,EAAE,GAAI;YACrC,oBAAC,iBAAiB,IACjB,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,KAAK,EAAC,aAAa,EACnB,MAAM,EAAE,MAAA,MAAM,CAAC,OAAO,0CAAE,EAAE,EAC1B,KAAK,EAAE,KAAK,EACZ,UAAU,QACV,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,uBAAuB,GAAI,EAC/C,eAAe,EAAE,CAAC,MAAM,EAAE,EAAE,CAC3B,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;oBACrB,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE;oBAC3B,KAAK,EAAE,SAAS;iBAChB,CAAC,GAEF,CACO,CACV,CAAC,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,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,iBAAiB,MAAM,qDAAqD,CAAC;AACpF,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;+BAChC,CACH;QACD,SAAS,EAAE,SAAS;QACpB,gBAAgB;KAChB;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,m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