@voplus/morpho-csp 1.2.167 → 1.2.168

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 (155) hide show
  1. package/es/Modules.js +2 -0
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/Header/index.less +20 -20
  4. package/es/components/RegisteresMenuItem/index.less +10 -10
  5. package/es/data/shareTransaction/metas.d.ts +3 -0
  6. package/es/data/shareTransaction/metas.js +6 -0
  7. package/es/data/shareTransaction/metas.js.map +1 -1
  8. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  9. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  10. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  11. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js +3 -8
  12. package/es/modules/corporate/background-investigation/risk-profile/controls/RiskProfileMenu/index.js.map +1 -1
  13. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  14. package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
  15. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  16. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  17. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  18. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  19. package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
  20. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
  21. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  22. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  23. package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
  24. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  25. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  26. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  27. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
  28. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  29. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  30. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js +23 -14
  31. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map +1 -1
  32. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +44 -2
  33. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +3 -1
  34. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
  35. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.d.ts +0 -1
  36. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +8 -20
  37. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
  38. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +9 -9
  39. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  40. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  41. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.d.ts +18 -0
  42. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +84 -0
  43. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -0
  44. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.less +58 -0
  45. package/es/modules/corporate/company/controls/CorporateMenu/index.js +2 -2
  46. package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
  47. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  48. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  49. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  50. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  51. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  52. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  53. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.d.ts +0 -1
  54. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +32 -23
  55. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
  56. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +33 -14
  57. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js +3 -1
  58. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js.map +1 -1
  59. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  60. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.d.ts +0 -1
  61. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +9 -19
  62. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
  63. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +10 -10
  64. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  65. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  66. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  67. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.d.ts +0 -1
  68. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +36 -26
  69. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
  70. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +31 -17
  71. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +3 -1
  72. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
  73. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  74. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.d.ts +0 -1
  75. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +9 -23
  76. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
  77. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +10 -10
  78. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  79. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  80. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  81. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  82. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +5 -5
  83. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
  84. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +18 -1
  85. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +3 -1
  86. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
  87. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +3 -1
  88. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js +12 -11
  89. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +1 -1
  90. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  91. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.d.ts +5 -0
  92. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js +13 -0
  93. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js.map +1 -0
  94. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  95. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  96. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  97. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  98. package/es/modules/corporate/components/Statement/index.less +16 -16
  99. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  100. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  101. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  102. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  103. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  104. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  105. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  106. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  107. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  108. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  109. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  110. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  111. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  112. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  113. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  114. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  115. package/es/modules/order/components/OrderItem/index.less +21 -21
  116. package/es/modules/order/components/OrderItems/index.less +48 -48
  117. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  118. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  119. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  120. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  121. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  122. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  123. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  124. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  125. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  126. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  127. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  128. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  129. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  130. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  131. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  132. package/es/modules/self-registration/components/Card/index.less +51 -51
  133. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  134. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  135. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  136. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  137. package/es/modules/self-registration/controls/Section/index.less +79 -79
  138. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  139. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  140. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  141. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  142. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  143. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  144. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  145. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  146. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  147. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  148. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  149. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  150. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  151. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  152. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  153. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  154. package/es/style/common.less +66 -66
  155. package/package.json +1 -1
@@ -1,39 +1,48 @@
1
- import React from "react";
1
+ import React, { useState } from "react";
2
2
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
- import { Badge } from "@voplus/antd";
3
+ import { Badge, Skeleton } from "@voplus/antd";
4
4
  import { faCalendar, faEnvelope, faPhone } from "@fortawesome/pro-light-svg-icons";
5
5
  import { observe } from "@voplus/morpho-ui";
6
- import { useMember } from "../../../../../../data/member";
6
+ import { useMember, useMemberStore } from "../../../../../../data/member";
7
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
8
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
+ import CompanyMemberMenu from "../../../controls/CompanyRegisterMenu";
7
10
  import CompanyMemberAvatar from "../CompanyMemberAvatar";
8
11
  import ShareTransactionsDataIcon from "../ShareTransactionsDataIcon";
12
+ import classnames from "classnames";
9
13
  import moment from "moment";
10
- import "./index.less";
14
+ import styles from "./index.less";
11
15
  const CompanyMemberItem = (props) => {
12
16
  const { id, index } = props;
17
+ const [isHover, setIsHover] = useState(false);
13
18
  const member = useMember(id);
19
+ const store = useMemberStore();
14
20
  return observe(() => {
15
21
  var _a, _b, _c, _d, _e, _f, _g;
16
22
  const phone = (_a = member.phone) !== null && _a !== void 0 ? _a : (_b = member.contact) === null || _b === void 0 ? void 0 : _b.phone;
17
23
  const email = (_c = member.email) !== null && _c !== void 0 ? _c : (_d = member.contact) === null || _d === void 0 ? void 0 : _d.email;
18
- return (React.createElement("div", { className: "member-item" },
19
- React.createElement(React.Fragment, null,
20
- React.createElement(CompanyMemberAvatar, { id: member.id, index: index, size: "large" }),
21
- React.createElement("div", { className: "member-info" },
22
- React.createElement("div", { className: "title" }, (_f = (_e = member.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = member.contact) === null || _g === void 0 ? void 0 : _g.name),
23
- React.createElement("div", null,
24
- React.createElement("span", null, member.since || member.until ? (React.createElement(React.Fragment, null,
25
- React.createElement(FAIcon, { icon: faCalendar, className: "margin-right-5" }),
26
- member.since && moment(member.since).format("DD MMM YYYY"),
27
- member.since && member.until && "~",
28
- member.until && moment(member.until).format("DD MMM YYYY"))) : null),
29
- email && (React.createElement("span", { className: "member-contact" },
30
- React.createElement(FAIcon, { icon: faEnvelope }),
31
- email)),
32
- phone && (React.createElement("span", { className: "member-contact" },
33
- React.createElement(FAIcon, { icon: faPhone }),
34
- phone)),
35
- React.createElement(ShareTransactionsDataIcon, { id: member.id }))),
36
- !member.identity && React.createElement(Badge, { status: "warning", text: "Need Identity Info" }))));
24
+ return (React.createElement("div", { className: styles["member-item"], onMouseOver: () => setIsHover(true), onMouseLeave: () => setIsHover(false) }, member.loading ? (React.createElement(Skeleton, { avatar: true, paragraph: { rows: 1 } })) : (React.createElement(React.Fragment, null,
25
+ React.createElement(CompanyMemberAvatar, { id: member.id, index: index, size: "large" }),
26
+ React.createElement("div", { className: "member-info" },
27
+ React.createElement("div", { className: "title" }, (_f = (_e = member.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = member.contact) === null || _g === void 0 ? void 0 : _g.name),
28
+ React.createElement("div", null,
29
+ React.createElement("span", null, member.since || member.until ? (React.createElement(React.Fragment, null,
30
+ React.createElement(FAIcon, { icon: faCalendar, className: "margin-right-5" }),
31
+ member.since && moment(member.since).format("DD MMM YYYY"),
32
+ member.since && member.until && "~",
33
+ member.until && moment(member.until).format("DD MMM YYYY"))) : null),
34
+ email && (React.createElement("span", { className: "member-contact" },
35
+ React.createElement(FAIcon, { icon: faEnvelope }),
36
+ email)),
37
+ phone && (React.createElement("span", { className: "member-contact" },
38
+ React.createElement(FAIcon, { icon: faPhone }),
39
+ phone)),
40
+ React.createElement(ShareTransactionsDataIcon, { id: member.id }))),
41
+ React.createElement("div", { className: classnames("member-item-identity", { hide: isHover }) }, !member.identity && React.createElement(Badge, { status: "warning", text: "Need Identity Info" })),
42
+ React.createElement("div", { className: classnames("member-item-tool", { show: isHover }), onClick: (e) => e.stopPropagation() },
43
+ React.createElement(ToolBar, { id: id, showMenu: false },
44
+ React.createElement(Open, { url: `/member/${id}` }),
45
+ React.createElement(CompanyMemberMenu, { id: id, unitId: member.contact.id, store: store, closeAside: true })))))));
37
46
  });
38
47
  };
39
48
  export default CompanyMemberItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,yBAAyB,MAAM,8BAA8B,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAM1B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE5B,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;IAE7B,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,MAAM,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,MAAA,MAAM,CAAC,OAAO,0CAAE,KAAK,CAAC;QACpD,MAAM,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,MAAA,MAAM,CAAC,OAA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AAC,KAAK,IAAC,MAAM,EAAC,SAAS,EAAC,IAAI,EAAC,oBAAoB,GAAG,CACzD,CACZ,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,yBAAyB,MAAM,8BAA8B,CAAC;AACrE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,iBAAiB,GAAG,CAAC,KAM1B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;IAC7B,MAAM,KAAK,GAA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,50 @@
1
- :global {
2
- .member-item {
3
- position: relative;
4
- display: flex;
5
- align-items: center;
6
- padding: 10px 20px;
7
- &::after {
8
- position: absolute;
9
- content: "";
10
- left: 20px;
11
- bottom: 0;
12
- right: 20px;
13
- border-bottom: 1px solid #f2f2f2;
14
- }
1
+ .member-item {
2
+ position: relative;
3
+ display: flex;
4
+ align-items: center;
5
+ padding: 10px 20px;
6
+
7
+ &::after {
8
+ position: absolute;
9
+ content: "";
10
+ left: 20px;
11
+ bottom: 0;
12
+ right: 20px;
13
+ border-bottom: 1px solid #f2f2f2;
14
+ }
15
+ :global {
15
16
  .member-info {
16
17
  flex: 1;
17
18
  margin-left: 10px;
19
+
18
20
  .title {
19
21
  font-weight: 500;
20
22
  }
23
+
21
24
  .member-contact {
22
25
  margin-right: 15px;
23
26
  color: rgba(0, 0, 0, 0.45);
27
+
24
28
  .svg-inline--fa {
25
29
  margin-right: 5px;
26
30
  }
27
31
  }
28
32
  }
33
+
34
+ .member-item-identity {
35
+ &.hide {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ .member-item-tool {
41
+ display: none;
42
+
43
+ &.show {
44
+ display: block;
45
+ }
46
+ }
47
+
29
48
  .appointment-date,
30
49
  .cease-date {
31
50
  font-size: 13px;
@@ -6,6 +6,7 @@ import { State } from "./state";
6
6
  import { runInAction } from "mobx";
7
7
  import { useAutoUpdateListData } from "@voplus/morpho-document-core";
8
8
  import { useDeepMemo } from "@voplus/morpho-data";
9
+ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
9
10
  import CompanyMemberItem from "../CompanyMemberItem";
10
11
  import CompanyMemberPropertiesView from "../CompanyMemberPropertiesView";
11
12
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
@@ -30,7 +31,8 @@ const CompanyMemberList = (props) => {
30
31
  header: header,
31
32
  sortable: false,
32
33
  addAble: false,
33
- }, renderItem: ({ item, index }) => (React.createElement(CompanyMemberItem, { key: item.id, id: item.id, index: index, className: index === 0 ? "shareTransaction-item-first" : "" })), propertiesView: (id) => React.createElement(CompanyMemberPropertiesView, { id: id, allowEdit: allowEdit }), className: "member-list-view" }),
34
+ }, renderItem: ({ item, index }) => (React.createElement(DocumentItemFrame, { key: item.id },
35
+ React.createElement(CompanyMemberItem, { id: item.id, index: index }))), propertiesView: (id) => React.createElement(CompanyMemberPropertiesView, { id: id, allowEdit: allowEdit }), className: "member-list-view" }),
34
36
  state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) })))));
35
37
  async function onSave(unit) {
36
38
  /** SelectLegalContactDialog 选择/新增有identity信息的unit */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkB,mBAAmB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAA0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AI,EAAE,KAAK,EAA2C,EAAE,EAAE,CAAC,CACzE,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,EAAE,GAC1D,CACF,EACD,cAAc,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,GAAI,EACrF,SAAS,EAAC,kBAAkB,GAC3B;QACD,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,iBAAiB,IACjB,IAAI,EAAC,OAAO,EACZ,WAAW,EAAE,KAAK,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACF,CACyB,CAC3B,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM,CAAC,IAAkD;QACvE,qDAAqD;QACrD,IAAI,IAAI,EAAE;YACT,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC;gBACpC,IAAI,EAAE;oBACL,UAAU,EAAE,EAAE;oBACd,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;iBAClB;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;SAClB;QAED,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register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QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,GACzD,CACF,CACyB,CAC3B,CAAC,CAAC;IAEH,KAAK,UAAU,MAAM,CAAC,IAAkD;QACvE,qDAAqD;QACrD,IAAI,IAAI,EAAE;YACT,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC;gBACpC,IAAI,EAAE;oBACL,UAAU,EAAE,EAAE;oBACd,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;iBAClB;gBACD,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;SAClB;QAED,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,iBAAiB,CAAC"}
@@ -1,12 +1,12 @@
1
- @import "~@voplus/antd/es/style/themes/default.less";
2
- :global {
3
- .member-list-view {
4
- padding: 0 !important;
5
- .list-view-header .view-title {
6
- flex: 1;
7
- }
8
- aside {
9
- border-top: 0;
10
- }
11
- }
12
- }
1
+ @import "~@voplus/antd/es/style/themes/default.less";
2
+ :global {
3
+ .member-list-view {
4
+ padding: 0 !important;
5
+ .list-view-header .view-title {
6
+ flex: 1;
7
+ }
8
+ aside {
9
+ border-top: 0;
10
+ }
11
+ }
12
+ }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import "./index.less";
3
2
  declare const CompanyMemberPropertiesView: {
4
3
  (props: {
5
4
  id: string;
@@ -1,5 +1,6 @@
1
- import "./index.less";
2
- import { Delete, Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
1
+ import React, { useMemo } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
3
4
  import { Tabs } from "@voplus/antd";
4
5
  import { useMember, useMemberStore } from "../../../../../../data/member";
5
6
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
@@ -9,30 +10,26 @@ import Details from "../Details";
9
10
  import DocumentList from "@voplus/morpho-document/es/components/DocumentList";
10
11
  import IdentifyDetail from "../../../identity/components/IdentifyDetail";
11
12
  import MemberShareTransactions from "../MemberShareTransactions";
12
- import React, { useMemo } from "react";
13
13
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
14
14
  import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
15
- import { observe } from "@voplus/morpho-ui";
16
- import { useAsideContentContext } from "@voplus/morpho-ui";
17
- import { useListDataContext } from "@voplus/morpho-ui/es/data";
15
+ import CompanyMemberMenu from "../../../controls/CompanyRegisterMenu";
16
+ import styles from "./index.less";
18
17
  const CompanyMemberPropertiesView = (props) => {
19
18
  const { id, allowEdit, toolbar, documentTab } = props;
20
19
  const member = useMember(id, { reload: true });
21
- const memberStore = useMemberStore();
22
- const dataState = useListDataContext();
23
- const asideContext = useAsideContentContext();
20
+ const store = useMemberStore();
24
21
  const view = useMemo(() => new ViewContextData("QuickView"), []);
25
22
  return observe(() => {
26
23
  var _a, _b, _c;
27
24
  return (React.createElement(ViewContext.Provider, { value: view },
28
- React.createElement("div", { className: "member-properties-view_content" },
29
- React.createElement("div", { className: "member-properties-view_header" },
25
+ React.createElement("div", { className: styles["member-properties-view-content"] },
26
+ React.createElement("div", { className: "member-properties-view-header" },
30
27
  React.createElement(UnitAvatar, { id: member.contact.id, size: 70 }),
31
28
  React.createElement("div", { className: "member-person-name" }, (_b = (_a = member.identity) === null || _a === void 0 ? void 0 : _a.fullName) !== null && _b !== void 0 ? _b : member.contact.name),
32
29
  React.createElement("div", null, "Member"),
33
30
  toolbar !== false && (React.createElement(ToolBar, { showMenu: false },
34
31
  React.createElement(Open, { url: `/member/${id}` }),
35
- allowEdit && React.createElement(Delete, { action: onDelete })))),
32
+ React.createElement(CompanyMemberMenu, { id: id, unitId: member.contact.id, store: store, closeAside: true })))),
36
33
  React.createElement(Tabs, { defaultActiveKey: "Identify" },
37
34
  React.createElement(Tabs.TabPane, { tab: "Details", key: "Details" },
38
35
  React.createElement(Details, { id: id, allowEdit: true })),
@@ -47,13 +44,6 @@ const CompanyMemberPropertiesView = (props) => {
47
44
  React.createElement(Tabs.TabPane, { tab: "Activities", key: "Activities" },
48
45
  React.createElement(ActivityLog, { id: id, bar: false }))))));
49
46
  });
50
- /** member item */
51
- async function onDelete() {
52
- await memberStore.delete([id]);
53
- dataState.remove(id);
54
- if (asideContext)
55
- asideContext.closeAside();
56
- }
57
47
  };
58
48
  CompanyMemberPropertiesView.defaultProps = {
59
49
  documentTab: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAY,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,cAAc,MAAM,6CAA6C,CAAC;AACzE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,OAAO,MAAM,sDAAsD,CA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rB,CACT,CACF,CACgB,CACvB,CAAA;KAAA,CAAC,CAAC;IACH,kBAAkB;IAClB,KAAK,UAAU,QAAQ;QACtB,MAAM,WAAW,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC/B,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACrB,IAAI,YAAY;YAAE,YAAY,CAAC,UAAU,EAAE,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,2BAA2B,CAAC,YAAY,GAAG;IAC1C,WAAW,EAAE,IAAI;CACjB,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,kBAAkB,MAAM,qDAAqD,CAAC;AACrF,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,cAAc,MAAM,6CAA6C,CAAC;AACzE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,2BAA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2
2
 
3
- :global {
4
- .member-properties-view_content {
5
- display: flex;
6
- flex-direction: column;
7
- height: 100%;
8
- overflow: hidden;
9
- background-color: #fff;
10
-
11
- .member-properties-view_header {
3
+ .member-properties-view-content {
4
+ display: flex;
5
+ flex-direction: column;
6
+ height: 100%;
7
+ overflow: hidden;
8
+ background-color: #fff;
9
+
10
+ :global {
11
+ .member-properties-view-header {
12
12
  position: relative;
13
13
  text-align: center;
14
14
  padding: 20px 0 10px 0;
@@ -43,4 +43,4 @@
43
43
  }
44
44
  }
45
45
  }
46
- }
46
+ }
@@ -1,12 +1,12 @@
1
- .member-share-transactions {
2
- padding: 15px 20px;
3
- :global {
4
- h3 {
5
- margin-bottom: 15px;
6
- color: #000;
7
- }
8
- .share-transactions-table {
9
- margin-bottom: 15px;
10
- }
11
- }
12
- }
1
+ .member-share-transactions {
2
+ padding: 15px 20px;
3
+ :global {
4
+ h3 {
5
+ margin-bottom: 15px;
6
+ color: #000;
7
+ }
8
+ .share-transactions-table {
9
+ margin-bottom: 15px;
10
+ }
11
+ }
12
+ }
@@ -1,8 +1,8 @@
1
- :global {
2
- .task-analytics-popover {
3
- .ant-popover-inner-content {
4
- display: flex;
5
- padding: 0;
6
- }
7
- }
8
- }
1
+ :global {
2
+ .task-analytics-popover {
3
+ .ant-popover-inner-content {
4
+ display: flex;
5
+ padding: 0;
6
+ }
7
+ }
8
+ }
@@ -1,6 +1,6 @@
1
- :global {
2
- .company-member-default-view {
3
- padding: 0 !important;
4
- overflow: hidden;
5
- }
6
- }
1
+ :global {
2
+ .company-member-default-view {
3
+ padding: 0 !important;
4
+ overflow: hidden;
5
+ }
6
+ }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import "./index.less";
3
2
  declare const OfficerItem: (props: {
4
3
  /** id of officer */
5
4
  id: string;
@@ -1,41 +1,51 @@
1
- import "./index.less";
2
- import { Badge } from "@voplus/antd";
1
+ import React, { useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { useOfficer, useOfficerStore } from "../../../../../../data/officer";
4
+ import { Badge, Skeleton } from "@voplus/antd";
3
5
  import { faEnvelope, faPhone } from "@fortawesome/pro-light-svg-icons";
4
6
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
5
- import React from "react";
7
+ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
8
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
6
9
  import UnitAvatar from "@voplus/morpho-org/es/components/UnitAvatar";
10
+ import CompanOfficerMenu from "../../../controls/CompanyRegisterMenu";
7
11
  import moment from "moment";
8
- import { observe } from "@voplus/morpho-ui";
9
- import { useOfficer } from "../../../../../../data/officer";
12
+ import classnames from "classnames";
13
+ import styles from "./index.less";
10
14
  const OfficerItem = (props) => {
11
15
  const { id, unitId, index } = props;
16
+ const [isHover, setIsHover] = useState(false);
12
17
  const officer = useOfficer(id);
18
+ const store = useOfficerStore();
13
19
  return observe(() => {
14
20
  var _a, _b, _c, _d, _e, _f, _g;
15
21
  const phone = (_a = officer.phone) !== null && _a !== void 0 ? _a : (_b = officer.contact) === null || _b === void 0 ? void 0 : _b.phone;
16
22
  const email = (_c = officer.email) !== null && _c !== void 0 ? _c : (_d = officer.contact) === null || _d === void 0 ? void 0 : _d.email;
17
- return (React.createElement("div", { className: "officer-item" },
18
- React.createElement(React.Fragment, null,
19
- React.createElement(UnitAvatar, { id: unitId, index: index, size: "large" }),
20
- React.createElement("div", { className: "officer-info" },
21
- React.createElement("div", { className: "title" }, (_f = (_e = officer.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = officer.contact) === null || _g === void 0 ? void 0 : _g.name,
22
- officer.position ? "(" + officer.position + ")" : ""),
23
- React.createElement("div", { className: "officer-contact" },
24
- email && (React.createElement("span", null,
25
- React.createElement(FAIcon, { icon: faEnvelope }),
26
- email)),
27
- phone && (React.createElement("span", { className: "margin-left-15" },
28
- React.createElement(FAIcon, { icon: faPhone }),
29
- phone))),
30
- React.createElement("div", null,
31
- officer.appointment && (React.createElement("span", { className: "margin-right-15" },
32
- "Appointment Date: ",
33
- moment(officer.appointment).format("YYYY-MM-DD"))),
34
- officer.cease && (React.createElement("span", { className: "margin-right-15" },
35
- "Cease Date: ",
36
- moment(officer.cease).format("YYYY-MM-DD"))))),
23
+ return (React.createElement("div", { className: styles["officer-item"], onMouseOver: () => setIsHover(true), onMouseLeave: () => setIsHover(false) }, officer.loading ? (React.createElement(Skeleton, { avatar: true, paragraph: { rows: 1 } })) : (React.createElement(React.Fragment, null,
24
+ React.createElement(UnitAvatar, { id: unitId, index: index, size: "large" }),
25
+ React.createElement("div", { className: "officer-info" },
26
+ React.createElement("div", { className: "title" }, (_f = (_e = officer.identity) === null || _e === void 0 ? void 0 : _e.fullName) !== null && _f !== void 0 ? _f : (_g = officer.contact) === null || _g === void 0 ? void 0 : _g.name,
27
+ officer.position ? "(" + officer.position + ")" : ""),
28
+ React.createElement("div", { className: "officer-contact" },
29
+ email && (React.createElement("span", null,
30
+ React.createElement(FAIcon, { icon: faEnvelope }),
31
+ email)),
32
+ phone && (React.createElement("span", { className: "margin-left-15" },
33
+ React.createElement(FAIcon, { icon: faPhone }),
34
+ phone))),
35
+ React.createElement("div", null,
36
+ officer.appointment && (React.createElement("span", { className: "margin-right-15" },
37
+ "Appointment Date: ",
38
+ moment(officer.appointment).format("YYYY-MM-DD"))),
39
+ officer.cease && (React.createElement("span", { className: "margin-right-15" },
40
+ "Cease Date: ",
41
+ moment(officer.cease).format("YYYY-MM-DD"))))),
42
+ React.createElement("div", { className: classnames("officer-item-identity", { hide: isHover }) },
37
43
  !officer.identity && React.createElement(Badge, { status: "warning", text: "Need Identity Info" }),
38
- officer.status && officer.identity && (React.createElement("div", null, officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))))));
44
+ officer.status && officer.identity && (React.createElement("div", null, officer.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" }))))),
45
+ React.createElement("div", { className: classnames("officer-item-tool", { show: isHover }), onClick: (e) => e.stopPropagation() },
46
+ React.createElement(ToolBar, { id: id, showMenu: false },
47
+ React.createElement(Open, { url: `/officer/${id}` }),
48
+ React.createElement(CompanOfficerMenu, { id: id, unitId: officer.contact.id, store: store, closeAside: true })))))));
39
49
  });
40
50
  };
41
51
  export default OfficerItem;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAqB,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,MAAM,WAAW,GAAG,CAAC,KAUpB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEpC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC;IAE/B,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,MAAM,KAAK,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,MAAA,OAAO,CAAC,OAAO,0CAAE,KAAK,CAAC;QACtD,MAAM,KAAK,GAAG,MAAA,OAAO,CAAC,KAAK,mCAAI,MAAA,OAAO,CAAC,OAAO,0CAAE,KAAK,CAAC;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SAAS,CAAC,CAAC,CAAC,CAC/B,oBAAC,KAAK,IAAC,MAAM,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAG,CACzC,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,IAAC,MAAM,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACpC,CACI,CACN,CACe,CAEZ,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerItem/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,UAAU,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,WAAW,GAAG,CAAC,KAUpB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK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oBAC/B,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,SAAG,CACzE,CACL,CACU,CACjB,CACI,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,20 +1,20 @@
1
- :global {
2
- .officer-item {
3
- position: relative;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- padding: 10px 20px;
8
-
9
- &::after {
10
- position: absolute;
11
- content: "";
12
- left: 20px;
13
- bottom: 0;
14
- right: 20px;
15
- border-bottom: 1px solid #f2f2f2;
16
- }
1
+ .officer-item {
2
+ position: relative;
3
+ display: flex;
4
+ justify-content: space-between;
5
+ align-items: center;
6
+ padding: 10px 20px;
7
+
8
+ &::after {
9
+ position: absolute;
10
+ content: "";
11
+ left: 20px;
12
+ bottom: 0;
13
+ right: 20px;
14
+ border-bottom: 1px solid #f2f2f2;
15
+ }
17
16
 
17
+ :global {
18
18
  .officer-info {
19
19
  flex: 1;
20
20
  margin-left: 10px;
@@ -32,10 +32,24 @@
32
32
  }
33
33
  }
34
34
 
35
+ .officer-item-identity {
36
+ &.hide {
37
+ display: none;
38
+ }
39
+ }
40
+
41
+ .officer-item-tool {
42
+ display: none;
43
+
44
+ &.show {
45
+ display: block;
46
+ }
47
+ }
48
+
35
49
  .appointment-date,
36
50
  .cease-date {
37
51
  font-size: 13px;
38
52
  line-height: 22px;
39
53
  }
40
54
  }
41
- }
55
+ }
@@ -9,6 +9,7 @@ import { useDeepMemo } from "@voplus/morpho-data";
9
9
  import { useRenderOnChange } from "@voplus/morpho-ui";
10
10
  import { Menu } from "@voplus/antd";
11
11
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
12
+ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
12
13
  import OfficerItem from "../OfficerItem";
13
14
  import OfficerPropertiesView from "../OfficerPropertiesView";
14
15
  import OfficerStatusFilter from "../../controls/OfficerStatusFilter";
@@ -50,7 +51,8 @@ const OfficerList = (props) => {
50
51
  addAble: false,
51
52
  }, renderItem: ({ item, index }) => {
52
53
  var _a;
53
- return (React.createElement(OfficerItem, { key: item.id, id: item.id, unitId: item.contact.id, identityId: (_a = item.identity) === null || _a === void 0 ? void 0 : _a.id, index: index, className: index === 0 ? "shareTransaction-item-first" : "" }));
54
+ return (React.createElement(DocumentItemFrame, { key: item.id },
55
+ React.createElement(OfficerItem, { id: item.id, unitId: item.contact.id, identityId: (_a = item.identity) === null || _a === void 0 ? void 0 : _a.id, index: index })));
54
56
  }, propertiesView: (id) => React.createElement(OfficerPropertiesView, { id: id, allowEdit: allowEdit }), className: "officer-list-view" }),
55
57
  state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) })))));
56
58
  /** 新增officerItem */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,oBAAoB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MA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C,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/officer-register/components/OfficerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAY,oBAAoB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,GAAG,CAAC,KAAgD,EAAE,EAAE;IACxE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtC,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;IAEvC,MAAM,IAAI,GAAG,s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