@voplus/morpho-csp 1.2.167 → 1.2.169

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 (196) 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/CompanyProperties/index.d.ts +5 -0
  30. package/es/modules/corporate/company/components/CompanyProperties/index.js +79 -0
  31. package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -0
  32. package/es/modules/corporate/company/components/CompanyRegisterHead/index.d.ts +9 -0
  33. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js +23 -0
  34. package/es/modules/corporate/company/components/CompanyRegisterHead/index.js.map +1 -0
  35. package/es/modules/corporate/company/components/CompanyRegisterHead/index.less +28 -0
  36. package/es/modules/corporate/company/components/InlineEditAddress/index.js +1 -1
  37. package/es/modules/corporate/company/components/InlineEditAddress/index.js.map +1 -1
  38. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  39. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js +23 -14
  40. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.js.map +1 -1
  41. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +44 -2
  42. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +3 -1
  43. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
  44. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.d.ts +0 -1
  45. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js +8 -20
  46. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.js.map +1 -1
  47. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +9 -9
  48. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  49. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  50. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.d.ts +18 -0
  51. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js +84 -0
  52. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.js.map +1 -0
  53. package/es/modules/corporate/company/controls/CompanyRegisterMenu/index.less +58 -0
  54. package/es/modules/corporate/company/controls/CorporateMenu/index.js +2 -2
  55. package/es/modules/corporate/company/controls/CorporateMenu/index.js.map +1 -1
  56. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  57. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  58. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  59. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  60. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  61. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  62. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.d.ts +1 -1
  63. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +21 -8
  64. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
  65. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +33 -14
  66. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js +5 -1
  67. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.js.map +1 -1
  68. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  69. package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.d.ts +7 -0
  70. package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.js +12 -0
  71. package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.js.map +1 -0
  72. package/es/modules/corporate/company/member-register/components/CompanyMemberListCard/index.less +20 -0
  73. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.d.ts +0 -1
  74. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js +9 -19
  75. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.js.map +1 -1
  76. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +10 -10
  77. package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.d.ts +7 -0
  78. package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js +14 -0
  79. package/es/modules/corporate/company/member-register/components/CompanyMemberQuickView/index.js.map +1 -0
  80. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  81. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  82. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  83. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.d.ts +1 -1
  84. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +24 -10
  85. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
  86. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +31 -17
  87. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js +6 -2
  88. package/es/modules/corporate/company/officer-register/components/OfficerList/index.js.map +1 -1
  89. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  90. package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.d.ts +7 -0
  91. package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.js +12 -0
  92. package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.js.map +1 -0
  93. package/es/modules/corporate/company/officer-register/components/OfficerListCard/index.less +20 -0
  94. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.d.ts +0 -1
  95. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js +9 -23
  96. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.js.map +1 -1
  97. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +10 -10
  98. package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.d.ts +7 -0
  99. package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js +14 -0
  100. package/es/modules/corporate/company/officer-register/components/OfficerQuickView/index.js.map +1 -0
  101. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  102. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  103. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  104. package/es/modules/corporate/company/pages/CompanyPage/Dashboard.d.ts +7 -0
  105. package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js +21 -0
  106. package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js.map +1 -0
  107. package/es/modules/corporate/company/pages/CompanyPage/index.d.ts +6 -0
  108. package/es/modules/corporate/company/pages/CompanyPage/index.js +82 -0
  109. package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -0
  110. package/es/modules/corporate/company/pages/CompanyPage/index.less +52 -0
  111. package/es/modules/corporate/company/pages/CompanyPage/state.d.ts +10 -0
  112. package/es/modules/corporate/company/pages/CompanyPage/state.js +55 -0
  113. package/es/modules/corporate/company/pages/CompanyPage/state.js.map +1 -0
  114. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  115. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +5 -5
  116. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
  117. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +18 -1
  118. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +3 -1
  119. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
  120. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +3 -1
  121. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js +12 -11
  122. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +1 -1
  123. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  124. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.d.ts +5 -0
  125. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js +13 -0
  126. package/es/modules/corporate/company/share-transactions-register/controls/ShareTransactionMenu/index.js.map +1 -0
  127. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  128. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  129. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  130. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  131. package/es/modules/corporate/components/Statement/index.less +16 -16
  132. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  133. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  134. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  135. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  136. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  137. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  138. package/es/modules/corporate/pages/CorporatePage/index.d.ts +3 -0
  139. package/es/modules/corporate/pages/CorporatePage/index.js +21 -0
  140. package/es/modules/corporate/pages/CorporatePage/index.js.map +1 -0
  141. package/es/modules/corporate/pages/UnitCorporatePage/index.js +2 -2
  142. package/es/modules/corporate/pages/UnitCorporatePage/index.js.map +1 -1
  143. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  144. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  145. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  146. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  147. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  148. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  149. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  150. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  151. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  152. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  153. package/es/modules/order/components/OrderItem/index.less +21 -21
  154. package/es/modules/order/components/OrderItems/index.less +48 -48
  155. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  156. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  157. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  158. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  159. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  160. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  161. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  162. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  163. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  164. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  165. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  166. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  167. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  168. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  169. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  170. package/es/modules/self-registration/components/Card/index.less +51 -51
  171. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  172. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  173. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  174. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  175. package/es/modules/self-registration/controls/Section/index.less +79 -79
  176. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  177. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  178. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  179. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  180. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  181. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  182. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  183. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  184. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  185. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  186. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  187. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  188. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  189. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  190. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  191. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  192. package/es/routes.d.ts +6 -0
  193. package/es/routes.js +15 -6
  194. package/es/routes.js.map +1 -1
  195. package/es/style/common.less +66 -66
  196. package/package.json +1 -1
@@ -1,25 +1,25 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .controller-status {
5
-
6
- &.unconfirmed,
7
- &.unconfirmed:hover {
8
- border: unset;
9
- background: #ffe58f;
10
- color: white;
11
- }
12
-
13
- &.confirmed-not-controller,
14
- &.confirmed-not-controller:hover {
15
- background: @closed-color;
16
- }
17
-
18
- &.confirmed-controller,
19
- &.confirmed-controller:hover {
20
- background: @done-color;
21
- }
22
-
23
- width: 13em;
24
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .controller-status {
5
+
6
+ &.unconfirmed,
7
+ &.unconfirmed:hover {
8
+ border: unset;
9
+ background: #ffe58f;
10
+ color: white;
11
+ }
12
+
13
+ &.confirmed-not-controller,
14
+ &.confirmed-not-controller:hover {
15
+ background: @closed-color;
16
+ }
17
+
18
+ &.confirmed-controller,
19
+ &.confirmed-controller:hover {
20
+ background: @done-color;
21
+ }
22
+
23
+ width: 13em;
24
+ }
25
25
  }
@@ -1,6 +1,6 @@
1
- :global {
2
- .controller-default-view {
3
- padding: 0 !important;
4
- overflow: hidden;
5
- }
1
+ :global {
2
+ .controller-default-view {
3
+ padding: 0 !important;
4
+ overflow: hidden;
5
+ }
6
6
  }
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { MemberStore } from "../../../../../data/member";
3
+ import { OfficerStore } from "../../../../../data/officer";
4
+ import { ControllerStore } from "../../../../../data/controller";
5
+ declare const CompanyRegisterMenu: {
6
+ (props: {
7
+ id: string;
8
+ unitId: string;
9
+ store: MemberStore | OfficerStore | ControllerStore;
10
+ icon?: React.ReactNode;
11
+ className?: string;
12
+ closeAside?: boolean;
13
+ }): JSX.Element;
14
+ defaultProps: {
15
+ icon: JSX.Element;
16
+ };
17
+ };
18
+ export default CompanyRegisterMenu;
@@ -0,0 +1,84 @@
1
+ import React, { useState } from "react";
2
+ import { useLayout } from "@voplus/morpho-data";
3
+ import { Button, Dropdown, Menu, Modal, Popover, message } from "@voplus/antd";
4
+ import { useUnit } from "@voplus/morpho-org";
5
+ import { faTrashAlt, faCircleEllipsis, faUserEdit, faFolderUser, faBuilding, faPanelEws, faPaste, faAddressCard, faArrowUpRightFromSquare, } from "@fortawesome/pro-light-svg-icons";
6
+ import { observe, useAsideContentContext } from "@voplus/morpho-ui";
7
+ import { useListDataContext } from "@voplus/morpho-ui/es/data";
8
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
9
+ import { useDocumentStore, useMoveNodeInfoService, useDocument, } from "@voplus/morpho-document-core";
10
+ import PasteList from "@voplus/morpho-document/es/controls/PasteList";
11
+ import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
12
+ import Routes from "../../../../../routes";
13
+ import classnames from "classnames";
14
+ import styles from "./index.less";
15
+ const CompanyRegisterMenu = (props) => {
16
+ const document = useDocument(props.id);
17
+ const move = useMoveNodeInfoService();
18
+ const docStore = useDocumentStore();
19
+ const unit = useUnit(props.unitId);
20
+ const layout = useLayout();
21
+ const dataState = useListDataContext();
22
+ const asideContext = useAsideContentContext();
23
+ const [visible, setVisible] = useState(false);
24
+ const pasteListVisible = move.info.length ? {} : { visible: false };
25
+ return observe(() => (React.createElement(React.Fragment, null,
26
+ React.createElement(Dropdown, { placement: "bottomRight", overlay: React.createElement(Menu, { className: classnames(styles["company-registere-menu"], props.className) },
27
+ !document.system && (React.createElement(Popover, { placement: "left", content: React.createElement(PasteList, { move: move }), overlayStyle: { width: "400px" }, ...pasteListVisible },
28
+ React.createElement(Menu.Item, { key: "Paste", disabled: (!move.hasTypes(["Document"]) && docStore.copyIds.length === 0) ||
29
+ document.readonly, onClick: onPaste },
30
+ React.createElement(FAIcon, { icon: faPaste }),
31
+ React.createElement("span", { className: "type-name" }, "Paste")))),
32
+ React.createElement(Menu.Item, { key: "Access", onClick: () => setVisible(!visible) },
33
+ React.createElement(FAIcon, { icon: faUserEdit }),
34
+ React.createElement("span", { className: "type-name" }, "Access")),
35
+ React.createElement(Menu.SubMenu, { key: "Contact", title: "Contact", popupClassName: styles["company-registere-sub-menu"], icon: React.createElement(FAIcon, { icon: faFolderUser }) },
36
+ React.createElement(Menu.Item, { key: "Open", disabled: !props.unitId, onClick: () => layout.history.push(`/units/${props.unitId}`) },
37
+ React.createElement(FAIcon, { icon: faArrowUpRightFromSquare }),
38
+ React.createElement("span", { className: "type-name" }, "Open")),
39
+ (unit === null || unit === void 0 ? void 0 : unit.type) === "Organization" && (React.createElement(Menu.Item, { key: "ViewCorporate", disabled: !props.unitId, onClick: () => layout.history.push(Routes.UnitCorporatePage.getUrl(props.unitId)) },
40
+ React.createElement(FAIcon, { icon: faBuilding }),
41
+ React.createElement("span", { className: "type-name" }, "View Corporate"))),
42
+ React.createElement(Menu.Item, { key: "ViewRiskProfile", disabled: !props.unitId, onClick: () => layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId)) },
43
+ React.createElement(FAIcon, { icon: faAddressCard }),
44
+ React.createElement("span", { className: "type-name" }, "View Risk Profile")),
45
+ React.createElement(Menu.Item, { key: "ViewCustomer", disabled: !props.unitId, onClick: () => layout.history.push(`/customer-empty/${props.unitId}`) },
46
+ React.createElement(FAIcon, { icon: faPanelEws }),
47
+ React.createElement("span", { className: "type-name" }, "View Customer"))),
48
+ React.createElement(Menu.Item, { key: "Delete", onClick: onDelete },
49
+ React.createElement(FAIcon, { icon: faTrashAlt, color: "#f5222d" }),
50
+ React.createElement("span", { className: "type-name delete" }, "Delete"))) },
51
+ React.createElement(Button, { size: "small", type: "link" }, props.icon)),
52
+ visible && React.createElement(PermissionModal, { id: props.id, onChange: () => setVisible(!visible) }))));
53
+ async function onPaste() {
54
+ const nodes = move.findRemove(["Document"]);
55
+ if (nodes.some((x) => x.id === props.id)) {
56
+ return message.warn("Cannot move to itself");
57
+ }
58
+ if (nodes.length) {
59
+ await docStore.paste(props.id, nodes.map((x) => x.id));
60
+ message.success("Document pasted.");
61
+ }
62
+ }
63
+ function onDelete() {
64
+ /** 如果文件下有子文件, 询问是否删除所有子文件 */
65
+ Modal.confirm({
66
+ title: "Do you want to delete this item?",
67
+ async onOk() {
68
+ /** 删除后是否关闭Aside */
69
+ await props.store.delete([props.id], { error: "message" }).then((res) => {
70
+ if (!res)
71
+ return;
72
+ dataState.remove(props.id);
73
+ if (!!props.closeAside && (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent))
74
+ asideContext === null || asideContext === void 0 ? void 0 : asideContext.closeAside();
75
+ });
76
+ },
77
+ });
78
+ }
79
+ };
80
+ CompanyRegisterMenu.defaultProps = {
81
+ icon: React.createElement(FAIcon, { icon: faCircleEllipsis }),
82
+ };
83
+ export default CompanyRegisterMenu;
84
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/C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,KAAK,CACnB,KAAK,CAAC,EAAE,EACR,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CACtB,CAAC;YACF,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;SACpC;IACF,CAAC;IAED,SAAS,QAAQ;QAChB,6BAA6B;QAC7B,KAAK,CAAC,OAAO,CAAC;YACb,KAAK,EAAE,kCAAkC;YACzC,KAAK,CAAC,IAAI;gBACT,mBAAmB;gBACnB,MAAM,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;oBACvE,IAAI,CAAC,GAAG;wBAAE,OAAO;oBACjB,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;oBAC3B,IAAI,CAAC,CAAC,KAAK,CAAC,UAAU,KAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,YAAY,CAAA;wBAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,CAAC;gBAClF,CAAC,CAAC,CAAC;YACJ,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,mBAAmB,CAAC,YAAY,GAAG;IAClC,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;CACxC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,58 @@
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .company-registere-menu {
4
+ border-radius: @border-radius;
5
+ padding: 4px 8px !important;
6
+
7
+ :global {
8
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
9
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05) !important;
10
+
11
+ .type-name {
12
+ margin-left: 10px;
13
+ display: inline-block;
14
+
15
+ .delete {
16
+ color: #f5222d;
17
+ }
18
+ }
19
+
20
+ .ant-dropdown-menu-item,
21
+ .ant-dropdown-menu-submenu-title {
22
+ margin: 4px 0;
23
+ }
24
+
25
+ .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,
26
+ .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon {
27
+ top: 3px;
28
+ }
29
+
30
+ .ant-dropdown-menu-item:hover,
31
+ .ant-dropdown-menu-submenu-title:hover {
32
+ border-radius: @border-radius;
33
+ background: @ant-menu-hover-color;
34
+ box-shadow: @hover-button-shadow;
35
+ }
36
+ }
37
+ }
38
+
39
+ .company-registere-sub-menu {
40
+ :global {
41
+ .type-name {
42
+ margin-left: 10px;
43
+ display: inline-block;
44
+ }
45
+
46
+ .ant-dropdown-menu-item,
47
+ .ant-dropdown-menu-submenu-title {
48
+ margin: 4px 0;
49
+ }
50
+
51
+ .ant-dropdown-menu-item:hover,
52
+ .ant-dropdown-menu-submenu-title:hover {
53
+ border-radius: @border-radius;
54
+ background: @ant-menu-hover-color;
55
+ box-shadow: @hover-button-shadow;
56
+ }
57
+ }
58
+ }
@@ -7,7 +7,7 @@ import { observe, useAsideContentContext } from "@voplus/morpho-ui";
7
7
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
8
8
  import { useDocumentStore } from "@voplus/morpho-document-core";
9
9
  import PermissionModal from "@voplus/morpho-org/es/controls/PermissionModal";
10
- import Routers from "../../../../../routes";
10
+ import Routes from "../../../../../routes";
11
11
  import classnames from "classnames";
12
12
  import styles from "./index.less";
13
13
  const CorporateMenu = (props) => {
@@ -29,7 +29,7 @@ const CorporateMenu = (props) => {
29
29
  React.createElement(Menu.Item, { key: "Open", disabled: !props.unitId, onClick: () => layout.history.push(`/units/${props.unitId}`) },
30
30
  React.createElement(FAIcon, { icon: faArrowUpRightFromSquare }),
31
31
  React.createElement("span", { className: "type-name" }, "Open")),
32
- React.createElement(Menu.Item, { key: "ViewRiskProfile", disabled: !props.unitId, onClick: () => layout.history.push(Routers.UnitRiskProfilePage.getUrl(props.unitId)) },
32
+ React.createElement(Menu.Item, { key: "ViewRiskProfile", disabled: !props.unitId, onClick: () => layout.history.push(Routes.UnitRiskProfilePage.getUrl(props.unitId)) },
33
33
  React.createElement(FAIcon, { icon: faAddressCard }),
34
34
  React.createElement("span", { className: "type-name" }, "View Risk Profile")),
35
35
  React.createElement(Menu.Item, { key: "ViewCustomer", disabled: !props.unitId, onClick: () => layout.history.push(`/customer-empty/${props.unitId}`) },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACN,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,UAAU,EACV,wBAAwB,GACxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAC7E,OAAO,OAAO,MAAM,uBAAuB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,aAAa,GAAG,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;YAGR,oBAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,IAC9B,KAAK,CAAC,IAAI,CACH,CACC;QACV,OAAO,IAAI,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,GAAI,CACnE,CACjB,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,cAAc,CAAC,MAAe;QACtC,wEAAwE;IACzE,CAAC;IAED,KAAK,UAAU,OAAO;QACrB,IAAI,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,CAAC,EAAE;YAC3D,OAAO,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;SAC7C;QACD,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACrC,CAAC;AACF,CAAC,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IAC5B,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,gBAAgB,GAAI;CACxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/controls/CorporateMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACN,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,UAAU,EACV,wBAAwB,GACx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C;AAEF,eAAe,aAAa,CAAC"}
@@ -1,64 +1,64 @@
1
- .contact-identity-select-dialog {
2
- position: relative;
3
- :global {
4
- .ant-modal-content {
5
- .ant-modal-body {
6
- display: flex;
7
- height: calc(100vh - 200px);
8
- padding: 0;
9
- .ant-modal-close {
10
- height: 56px;
11
- }
12
- .identity-close {
13
- display: flex;
14
- align-items: center;
15
- justify-content: center;
16
- }
17
- .identity-title {
18
- height: 56px;
19
- line-height: 56px;
20
- padding: 0 20px;
21
- margin-bottom: 0;
22
- border-bottom: 1px solid #f0f0f0;
23
- }
24
- }
25
- .contact-identity-list {
26
- width: 33vw;
27
- height: 100%;
28
- position: relative;
29
- display: flex;
30
- flex-direction: column;
31
- .identity-list {
32
- flex: 1;
33
- }
34
- }
35
- .contact-identity-detail {
36
- position: absolute;
37
- width: 33vw;
38
- height: 100%;
39
- right: 0;
40
- display: flex;
41
- flex-direction: column;
42
- box-shadow: -2px 0 8px -2px rgba(0, 0, 0, 0.15);
43
- transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1),
44
- -webkit-transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
45
- .ant-modal-close {
46
- display: block;
47
- }
48
- &.aside-none {
49
- width: 0;
50
- height: 100%;
51
- padding: 0;
52
- display: none;
53
- .ant-modal-close {
54
- display: none;
55
- }
56
- }
57
- .identity-detail {
58
- flex: 1;
59
- padding: 0 20px;
60
- }
61
- }
62
- }
63
- }
64
- }
1
+ .contact-identity-select-dialog {
2
+ position: relative;
3
+ :global {
4
+ .ant-modal-content {
5
+ .ant-modal-body {
6
+ display: flex;
7
+ height: calc(100vh - 200px);
8
+ padding: 0;
9
+ .ant-modal-close {
10
+ height: 56px;
11
+ }
12
+ .identity-close {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ }
17
+ .identity-title {
18
+ height: 56px;
19
+ line-height: 56px;
20
+ padding: 0 20px;
21
+ margin-bottom: 0;
22
+ border-bottom: 1px solid #f0f0f0;
23
+ }
24
+ }
25
+ .contact-identity-list {
26
+ width: 33vw;
27
+ height: 100%;
28
+ position: relative;
29
+ display: flex;
30
+ flex-direction: column;
31
+ .identity-list {
32
+ flex: 1;
33
+ }
34
+ }
35
+ .contact-identity-detail {
36
+ position: absolute;
37
+ width: 33vw;
38
+ height: 100%;
39
+ right: 0;
40
+ display: flex;
41
+ flex-direction: column;
42
+ box-shadow: -2px 0 8px -2px rgba(0, 0, 0, 0.15);
43
+ transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1),
44
+ -webkit-transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
45
+ .ant-modal-close {
46
+ display: block;
47
+ }
48
+ &.aside-none {
49
+ width: 0;
50
+ height: 100%;
51
+ padding: 0;
52
+ display: none;
53
+ .ant-modal-close {
54
+ display: none;
55
+ }
56
+ }
57
+ .identity-detail {
58
+ flex: 1;
59
+ padding: 0 20px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
@@ -1,49 +1,49 @@
1
- :global {
2
-
3
- .identity-item {
4
- position: relative;
5
- padding: 5px 20px;
6
- display: flex;
7
- justify-content: space-between;
8
- align-items: center;
9
-
10
- &::after {
11
- position: absolute;
12
- content: "";
13
- left: 20px;
14
- bottom: 0;
15
- right: 20px;
16
- border-bottom: 1px solid #f2f2f2;
17
- }
18
-
19
- &.active {
20
- background: rgb(243, 241, 241);
21
- }
22
-
23
- .identity-info {
24
- flex: 1;
25
-
26
- .identity-name {
27
- font-weight: 500;
28
- margin-bottom: 7px;
29
- }
30
-
31
- .identity-data {
32
- color: rgba(0, 0, 0, 0.45);
33
-
34
- .svg-inline--fa {
35
- margin-right: 5px;
36
- }
37
- }
38
- }
39
-
40
-
41
- .hover-operate-icon {
42
- display: none;
43
-
44
- &.show {
45
- display: block;
46
- }
47
- }
48
- }
1
+ :global {
2
+
3
+ .identity-item {
4
+ position: relative;
5
+ padding: 5px 20px;
6
+ display: flex;
7
+ justify-content: space-between;
8
+ align-items: center;
9
+
10
+ &::after {
11
+ position: absolute;
12
+ content: "";
13
+ left: 20px;
14
+ bottom: 0;
15
+ right: 20px;
16
+ border-bottom: 1px solid #f2f2f2;
17
+ }
18
+
19
+ &.active {
20
+ background: rgb(243, 241, 241);
21
+ }
22
+
23
+ .identity-info {
24
+ flex: 1;
25
+
26
+ .identity-name {
27
+ font-weight: 500;
28
+ margin-bottom: 7px;
29
+ }
30
+
31
+ .identity-data {
32
+ color: rgba(0, 0, 0, 0.45);
33
+
34
+ .svg-inline--fa {
35
+ margin-right: 5px;
36
+ }
37
+ }
38
+ }
39
+
40
+
41
+ .hover-operate-icon {
42
+ display: none;
43
+
44
+ &.show {
45
+ display: block;
46
+ }
47
+ }
48
+ }
49
49
  }
@@ -1,55 +1,55 @@
1
- :global {
2
- .select-legal-contact-dialog {
3
- .ant-modal-body {
4
- padding: 20px 0;
5
- }
6
- h3,
7
- h4 {
8
- margin-bottom: 0;
9
- }
10
- .select-legal-contact_title {
11
- padding: 0 20px 15px 20px;
12
- color: rgba(0, 0, 0, 0.85);
13
- font-weight: 500;
14
- font-size: 16px;
15
- line-height: 17px;
16
- border-bottom: 1px solid #f0f0f0;
17
- }
18
- .select-legal-contact_content {
19
- padding: 15px 20px;
20
- &.page5 {
21
- padding: 15px 30px;
22
- }
23
- .ant-radio-group,
24
- .ant-radio-wrapper {
25
- display: block;
26
- }
27
- .full-name-displayed {
28
- padding: 10px 0;
29
- border-bottom: 1px solid #f0f0f0;
30
- }
31
- .full-name {
32
- padding-bottom: 8px;
33
- color: rgba(0, 0, 0, 0.85);
34
- font-weight: 500;
35
- font-size: 16px;
36
- }
37
- .padding-top-15 {
38
- padding-top: 15px;
39
- }
40
- }
41
- .ant-tabs .ant-tabs-tabpane {
42
- padding: 0 20px;
43
- }
44
- .ant-form .ant-form-item {
45
- margin-bottom: 20px;
46
- }
47
- .select-legal-contact_footer {
48
- padding: 0 20px;
49
- text-align: right;
50
- & .ant-btn {
51
- margin-left: 10px;
52
- }
53
- }
54
- }
55
- }
1
+ :global {
2
+ .select-legal-contact-dialog {
3
+ .ant-modal-body {
4
+ padding: 20px 0;
5
+ }
6
+ h3,
7
+ h4 {
8
+ margin-bottom: 0;
9
+ }
10
+ .select-legal-contact_title {
11
+ padding: 0 20px 15px 20px;
12
+ color: rgba(0, 0, 0, 0.85);
13
+ font-weight: 500;
14
+ font-size: 16px;
15
+ line-height: 17px;
16
+ border-bottom: 1px solid #f0f0f0;
17
+ }
18
+ .select-legal-contact_content {
19
+ padding: 15px 20px;
20
+ &.page5 {
21
+ padding: 15px 30px;
22
+ }
23
+ .ant-radio-group,
24
+ .ant-radio-wrapper {
25
+ display: block;
26
+ }
27
+ .full-name-displayed {
28
+ padding: 10px 0;
29
+ border-bottom: 1px solid #f0f0f0;
30
+ }
31
+ .full-name {
32
+ padding-bottom: 8px;
33
+ color: rgba(0, 0, 0, 0.85);
34
+ font-weight: 500;
35
+ font-size: 16px;
36
+ }
37
+ .padding-top-15 {
38
+ padding-top: 15px;
39
+ }
40
+ }
41
+ .ant-tabs .ant-tabs-tabpane {
42
+ padding: 0 20px;
43
+ }
44
+ .ant-form .ant-form-item {
45
+ margin-bottom: 20px;
46
+ }
47
+ .select-legal-contact_footer {
48
+ padding: 0 20px;
49
+ text-align: right;
50
+ & .ant-btn {
51
+ margin-left: 10px;
52
+ }
53
+ }
54
+ }
55
+ }