@voplus/morpho-csp 1.2.124 → 1.2.125

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 (145) hide show
  1. package/es/components/Header/index.less +20 -20
  2. package/es/components/RegisteresMenuItem/index.less +10 -10
  3. package/es/data/controller/ControllerStore.d.ts +2 -1
  4. package/es/data/controller/ControllerStore.js +9 -0
  5. package/es/data/controller/ControllerStore.js.map +1 -1
  6. package/es/data/controller/types.d.ts +5 -0
  7. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  8. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  9. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  10. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  11. package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
  12. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  13. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  14. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  15. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  16. package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
  17. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
  18. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  19. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  20. package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
  21. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  22. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  23. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +59 -59
  24. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  25. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
  26. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  27. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  28. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
  29. package/es/modules/corporate/company/controller-register/components/ControllerList/index.d.ts +0 -1
  30. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js +48 -32
  31. package/es/modules/corporate/company/controller-register/components/ControllerList/index.js.map +1 -1
  32. package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +6 -11
  33. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
  34. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.d.ts +7 -0
  35. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js +33 -0
  36. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.js.map +1 -0
  37. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.less +35 -0
  38. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.d.ts +7 -0
  39. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js +42 -0
  40. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.js.map +1 -0
  41. package/es/modules/corporate/company/controller-register/components/SelectControllerItem/index.less +38 -0
  42. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.d.ts +6 -0
  43. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js +64 -0
  44. package/es/modules/corporate/company/controller-register/components/SelectControllerList/index.js.map +1 -0
  45. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.d.ts +11 -0
  46. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js +47 -0
  47. package/es/modules/corporate/company/controller-register/components/SelectControllerList/state.js.map +1 -0
  48. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.d.ts +3 -1
  49. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js +21 -13
  50. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.js.map +1 -1
  51. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.d.ts +13 -5
  52. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js +37 -11
  53. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/state.js.map +1 -1
  54. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  55. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  56. package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
  57. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  58. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
  59. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  60. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  61. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  62. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  63. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  64. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
  65. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  66. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
  67. package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
  68. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  69. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  70. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  71. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
  72. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  73. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
  74. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  75. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  76. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  77. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  78. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
  79. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
  80. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  81. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  82. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  83. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  84. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  85. package/es/modules/corporate/components/Statement/index.less +16 -16
  86. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  87. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  88. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  89. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  90. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  91. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  92. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  93. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  94. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  95. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  96. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  97. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  98. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  99. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  100. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  101. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  102. package/es/modules/order/components/OrderItem/index.less +21 -21
  103. package/es/modules/order/components/OrderItems/index.less +48 -48
  104. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  105. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  106. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  107. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  108. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  109. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  110. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  111. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  112. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  113. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  114. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  115. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
  116. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  117. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  118. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  119. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  120. package/es/modules/self-registration/components/Card/index.less +51 -51
  121. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  122. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  123. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  124. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  125. package/es/modules/self-registration/controls/Section/index.less +79 -79
  126. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  127. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  128. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  129. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  130. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  131. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  132. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  133. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  134. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  135. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  136. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  137. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  138. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  139. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
  140. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  141. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  142. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  143. package/es/style/common.less +66 -66
  144. package/package.json +1 -1
  145. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +0 -5
@@ -1,92 +1,92 @@
1
- @import "~@voplus/antd/es/style/themes/index.less";
2
- @import "~@voplus/morpho-theme/styles/index.less";
3
-
4
- .secretary-center-page {
5
- width: 100%;
6
- height: 100%;
7
- overflow: hidden;
8
-
9
- :global {
10
- .main-content-nav {
11
- .main-nav-container {
12
- box-shadow: none;
13
-
14
- .ant-menu {
15
- background-color: #fff;
16
-
17
- .ant-menu-item {
18
- .ant-menu-title-content {
19
- display: flex;
20
- align-items: center;
21
- justify-content: space-between;
22
- }
23
- }
24
-
25
- .ant-menu-item-selected,
26
- .ant-menu-item-active {
27
- .ant-badge {
28
- .ant-badge-count {
29
- color: @ant-badge-hover-color;
30
- box-shadow: @badge-hover-shadow;
31
- border: 1px solid white;
32
- }
33
- }
34
- }
35
- }
36
- }
37
-
38
- .secretary-nav {
39
- height: 100%;
40
- display: flex;
41
- flex-direction: column;
42
-
43
- .secretary-title {
44
- padding: 10px 10px 10px 0;
45
- font-size: 18px;
46
- line-height: 20px;
47
- color: #000;
48
- font-weight: 500;
49
- display: flex;
50
- align-items: center;
51
-
52
- .secretary-name {
53
- flex: 1;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- white-space: nowrap;
57
- }
58
- }
59
-
60
- .secretary-menu {
61
- flex: 1;
62
- }
63
-
64
- .secretary-settings {
65
- font-size: 16px;
66
- color: #000;
67
- height: 50px;
68
- line-height: 50px;
69
- border-radius: @border-radius;
70
- padding: 0 20px 0 24px;
71
- margin-right: 22px;
72
- cursor: pointer;
73
-
74
- &.activeColor {
75
- background: @active-color !important;
76
- color: #fff;
77
- }
78
-
79
- &:hover {
80
- color: white;
81
- background-color: @ant-menu-hover-color;
82
- box-shadow: @hover-box-shadow;
83
- }
84
- }
85
- }
86
- }
87
-
88
- .secretary-default-view_content {
89
- padding: 0;
90
- }
91
- }
1
+ @import "~@voplus/antd/es/style/themes/index.less";
2
+ @import "~@voplus/morpho-theme/styles/index.less";
3
+
4
+ .secretary-center-page {
5
+ width: 100%;
6
+ height: 100%;
7
+ overflow: hidden;
8
+
9
+ :global {
10
+ .main-content-nav {
11
+ .main-nav-container {
12
+ box-shadow: none;
13
+
14
+ .ant-menu {
15
+ background-color: #fff;
16
+
17
+ .ant-menu-item {
18
+ .ant-menu-title-content {
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: space-between;
22
+ }
23
+ }
24
+
25
+ .ant-menu-item-selected,
26
+ .ant-menu-item-active {
27
+ .ant-badge {
28
+ .ant-badge-count {
29
+ color: @ant-badge-hover-color;
30
+ box-shadow: @badge-hover-shadow;
31
+ border: 1px solid white;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+
38
+ .secretary-nav {
39
+ height: 100%;
40
+ display: flex;
41
+ flex-direction: column;
42
+
43
+ .secretary-title {
44
+ padding: 10px 10px 10px 0;
45
+ font-size: 18px;
46
+ line-height: 20px;
47
+ color: #000;
48
+ font-weight: 500;
49
+ display: flex;
50
+ align-items: center;
51
+
52
+ .secretary-name {
53
+ flex: 1;
54
+ overflow: hidden;
55
+ text-overflow: ellipsis;
56
+ white-space: nowrap;
57
+ }
58
+ }
59
+
60
+ .secretary-menu {
61
+ flex: 1;
62
+ }
63
+
64
+ .secretary-settings {
65
+ font-size: 16px;
66
+ color: #000;
67
+ height: 50px;
68
+ line-height: 50px;
69
+ border-radius: @border-radius;
70
+ padding: 0 20px 0 24px;
71
+ margin-right: 22px;
72
+ cursor: pointer;
73
+
74
+ &.activeColor {
75
+ background: @active-color !important;
76
+ color: #fff;
77
+ }
78
+
79
+ &:hover {
80
+ color: white;
81
+ background-color: @ant-menu-hover-color;
82
+ box-shadow: @hover-box-shadow;
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ .secretary-default-view_content {
89
+ padding: 0;
90
+ }
91
+ }
92
92
  }
@@ -1,40 +1,40 @@
1
- :global {
2
- .company-details-view {
3
- height: 100%;
4
- .company-amount-title {
5
- color: rgba(0, 0, 0, 0.85);
6
- font-weight: bold;
7
- font-size: 16px;
8
- margin-bottom: 10px;
9
- }
10
- h4 {
11
- padding: 10px 0;
12
- margin: 0;
13
- }
14
- .ant-timeline {
15
- margin-top: 20px;
16
- }
17
- .card-amount {
18
- margin-bottom: 15px;
19
- }
20
- .card-company {
21
- position: relative;
22
- margin-bottom: 15px;
23
- &:hover .hover-edit-btn {
24
- display: block;
25
- cursor: pointer;
26
- }
27
- .ant-descriptions-item-label {
28
- font-weight: 500;
29
- }
30
- .ant-descriptions-extra .ant-btn {
31
- padding: 0 0 0 10px;
32
- height: auto;
33
- }
34
- .hover-edit-btn {
35
- display: none;
36
- height: auto;
37
- }
38
- }
39
- }
40
- }
1
+ :global {
2
+ .company-details-view {
3
+ height: 100%;
4
+ .company-amount-title {
5
+ color: rgba(0, 0, 0, 0.85);
6
+ font-weight: bold;
7
+ font-size: 16px;
8
+ margin-bottom: 10px;
9
+ }
10
+ h4 {
11
+ padding: 10px 0;
12
+ margin: 0;
13
+ }
14
+ .ant-timeline {
15
+ margin-top: 20px;
16
+ }
17
+ .card-amount {
18
+ margin-bottom: 15px;
19
+ }
20
+ .card-company {
21
+ position: relative;
22
+ margin-bottom: 15px;
23
+ &:hover .hover-edit-btn {
24
+ display: block;
25
+ cursor: pointer;
26
+ }
27
+ .ant-descriptions-item-label {
28
+ font-weight: 500;
29
+ }
30
+ .ant-descriptions-extra .ant-btn {
31
+ padding: 0 0 0 10px;
32
+ height: auto;
33
+ }
34
+ .hover-edit-btn {
35
+ display: none;
36
+ height: auto;
37
+ }
38
+ }
39
+ }
40
+ }
@@ -1,16 +1,16 @@
1
- :global {
2
- .inline-edit-address,
3
- .company-information {
4
- .ant-col .ant-row.ant-form-item {
5
- display: block;
6
- .ant-col.ant-form-item-label {
7
- display: inline;
8
- width: 100%;
9
- text-align: left;
10
- > label {
11
- height: auto;
12
- }
13
- }
14
- }
15
- }
16
- }
1
+ :global {
2
+ .inline-edit-address,
3
+ .company-information {
4
+ .ant-col .ant-row.ant-form-item {
5
+ display: block;
6
+ .ant-col.ant-form-item-label {
7
+ display: inline;
8
+ width: 100%;
9
+ text-align: left;
10
+ > label {
11
+ height: auto;
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
@@ -1,41 +1,41 @@
1
- :global {
2
- .controller-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
- }
17
-
18
- .controller-info {
19
- flex: 1;
20
- margin-left: 10px;
21
-
22
- .title {
23
- font-weight: 500;
24
- }
25
-
26
- .controller-contact {
27
- color: rgba(0, 0, 0, 0.45);
28
-
29
- .svg-inline--fa {
30
- margin-right: 5px;
31
- }
32
- }
33
- }
34
-
35
- .appointment-date,
36
- .cease-date {
37
- font-size: 13px;
38
- line-height: 22px;
39
- }
40
- }
41
- }
1
+ :global {
2
+ .controller-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
+ }
17
+
18
+ .controller-info {
19
+ flex: 1;
20
+ margin-left: 10px;
21
+
22
+ .title {
23
+ font-weight: 500;
24
+ }
25
+
26
+ .controller-contact {
27
+ color: rgba(0, 0, 0, 0.45);
28
+
29
+ .svg-inline--fa {
30
+ margin-right: 5px;
31
+ }
32
+ }
33
+ }
34
+
35
+ .appointment-date,
36
+ .cease-date {
37
+ font-size: 13px;
38
+ line-height: 22px;
39
+ }
40
+ }
41
+ }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import "./index.less";
3
2
  declare const ControllerList: (props: {
4
3
  parentId: string;
5
4
  allowEdit?: boolean;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { useState } from "react";
2
2
  import { useControllerListEffect, useControllerStore, } from "../../../../../../data/controller";
3
3
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
4
4
  import { State } from "./state";
@@ -7,53 +7,69 @@ import { runInAction } from "mobx";
7
7
  import { useAutoUpdateListData } from "@voplus/morpho-document-core";
8
8
  import { useDeepMemo } from "@voplus/morpho-data";
9
9
  import { useRenderOnChange } from "@voplus/morpho-ui";
10
+ import { FilterOptionsContext } from "@voplus/morpho-ui/es/data";
11
+ import { Button } from "@voplus/antd";
12
+ import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
13
+ import SelectControllerForm from "../SelectControllerForm";
10
14
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
11
15
  import NewTypeDropdown from "../../../../../../components/NewTypeDropdown";
12
16
  import ControllerItem from "../ControllerItem";
13
17
  import ControllerPropertiesView from "../ControllerPropertiesView";
18
+ import ControllerStatusFilter from "../../controls/ControllerStatusFilter";
14
19
  import UnitsSelectDialog from "@voplus/morpho-org/es/components/UnitsSelectDialog";
15
- import "./index.less";
20
+ import styles from "./index.less";
16
21
  const ControllerList = (props) => {
17
22
  const { parentId, allowEdit } = props;
23
+ const [visible, setVisible] = useState(false);
18
24
  const controllerStore = useControllerStore();
19
25
  const list = useCreateListDataState({
20
26
  filterDefaults: {
21
- filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: parentId }],
27
+ filters: [
28
+ { c: "ParentNodeId", o: "=", l: "And", v1: parentId },
29
+ {
30
+ c: "ConfirmationStatus",
31
+ o: "contains",
32
+ v1: JSON.stringify(["Unconfirmed", "ConfirmedController"]),
33
+ l: "And",
34
+ },
35
+ ],
22
36
  },
23
37
  }, [parentId]);
24
38
  const state = useDeepMemo(() => new State(), [parentId]);
25
39
  useAutoUpdateListData(list, (d) => d.parentId === parentId);
26
40
  useRenderOnChange(() => list.filters.options);
27
41
  useControllerListEffect(list, (result) => list.union(result), list.filters.options);
28
- return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
29
- React.createElement(ListView, { headerProps: {
30
- viewTitle: "Controllers Register",
31
- sortable: false,
32
- addAble: allowEdit !== false,
33
- addOptions: {
34
- children: (React.createElement(NewTypeDropdown, { onSelect: state.onSelect, menus: [
35
- "Director",
36
- "Managing Director",
37
- "Nominee Director",
38
- "Secretary",
39
- "CEO",
40
- "Partner",
41
- "Owner",
42
- "Auditor",
43
- "Manager",
44
- ], style: { marginLeft: "10px" } })),
45
- },
46
- // filterViewProps: {
47
- // columns: [
48
- // <ControllerStatusFilter key="ControllerStatusFilter" />,
49
- // ],
50
- // onFilter,
51
- // },
52
- }, renderItem: ({ item, index }) => {
53
- var _a;
54
- return (React.createElement(ControllerItem, { 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" : "" }));
55
- }, propertiesView: (id) => React.createElement(ControllerPropertiesView, { id: id, allowEdit: allowEdit }), className: "controller-list-view" }),
56
- state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) })))));
42
+ const header = observe(() => (React.createElement(FilterOptionsContext.Provider, { value: list.filters },
43
+ React.createElement(React.Fragment, null,
44
+ React.createElement("div", { className: "view-title" }, "Controllers Register"),
45
+ React.createElement("div", { className: "view-header-btn" },
46
+ React.createElement(FilterView, { columns: [
47
+ React.createElement(ControllerStatusFilter, { key: "ControllerStatusFilter", defaultValue: ["Unconfirmed", "ConfirmedController"] }),
48
+ ], onFilter: onFilter }),
49
+ allowEdit !== false && (React.createElement(NewTypeDropdown, { onSelect: state.onSelect, menus: [
50
+ "Director",
51
+ "Managing Director",
52
+ "Nominee Director",
53
+ "Secretary",
54
+ "CEO",
55
+ "Partner",
56
+ "Owner",
57
+ "Auditor",
58
+ "Manager",
59
+ ], style: { marginLeft: "10px" } })),
60
+ React.createElement(Button, { className: "margin-left-10", type: "primary", size: "small", loading: state.loading, onClick: () => setVisible(true) }, "Send Notice"))))));
61
+ return observe(() => (React.createElement(React.Fragment, null,
62
+ React.createElement(ListDataContext.Provider, { value: list },
63
+ React.createElement(ListView, { headerProps: {
64
+ header: header,
65
+ sortable: false,
66
+ addAble: false,
67
+ }, renderItem: ({ item, index }) => {
68
+ var _a;
69
+ return (React.createElement(ControllerItem, { 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" : "" }));
70
+ }, propertiesView: (id) => React.createElement(ControllerPropertiesView, { id: id, allowEdit: allowEdit }), className: styles["controller-list-view"] }),
71
+ state.addAble && (React.createElement(UnitsSelectDialog, { type: "click", multiSelect: false, onSelect: onSave, onCancel: () => runInAction(() => (state.addAble = false)) }))),
72
+ visible && React.createElement(SelectControllerForm, { parentId: parentId, onCancel: () => setVisible(false) }))));
57
73
  /** 新增controllerItem */
58
74
  async function onSave(unit) {
59
75
  /** SelectLegalContactDialog 选择/新增有identity信息的unit */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEN,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,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,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,eAAe,MAAM,8CAA8C,CAAC;AAC3E,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,cAAc,CAAC;AAEtB,MAAM,cAAc,GAAG,CAAC,KAAgD,EAAE,EAAE;IAC3E,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtC,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,C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AAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAEN,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,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,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,eAAe,MAAM,8CAA8C,CAAC;AAC3E,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AACnE,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,iBAAiB,M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CAAC;SAClB;QACD,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,15 +1,10 @@
1
1
  @import "~@voplus/antd/es/style/themes/default.less";
2
2
 
3
- :global {
4
- .controller-list-view {
5
- padding: 0 !important;
6
-
7
- .list-view-header .view-title {
8
- flex: 1;
9
- }
10
-
11
- aside {
12
- border-top: 0;
3
+ .controller-list-view {
4
+ :global {
5
+ .view-header-btn {
6
+ display: flex;
7
+ align-items: center;
13
8
  }
14
9
  }
15
- }
10
+ }
@@ -1,51 +1,51 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .controller-properties-view_content {
5
- display: flex;
6
- flex-direction: column;
7
- height: 100%;
8
- overflow: hidden;
9
- background-color: #fff;
10
-
11
- .controller-properties-view_header {
12
- position: relative;
13
- text-align: center;
14
- padding: 20px 0 10px 0;
15
-
16
- .controller-person-name {
17
- color: #000;
18
- font-size: 16px;
19
- font-weight: 500;
20
- padding-top: 12px;
21
- }
22
-
23
- .tool-bar {
24
- position: absolute;
25
- top: 20px;
26
- right: 20px;
27
-
28
- .delete {
29
- color: @delete-color;
30
- }
31
- }
32
- }
33
-
34
- .ant-tabs {
35
- height: 100%;
36
-
37
- .ant-tabs-nav {
38
- margin: 0 20px;
39
- }
40
-
41
- .company-information {
42
- padding: 15px 20px;
43
-
44
- h3 {
45
- margin-bottom: 15px;
46
- color: #000;
47
- }
48
- }
49
- }
50
- }
51
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .controller-properties-view_content {
5
+ display: flex;
6
+ flex-direction: column;
7
+ height: 100%;
8
+ overflow: hidden;
9
+ background-color: #fff;
10
+
11
+ .controller-properties-view_header {
12
+ position: relative;
13
+ text-align: center;
14
+ padding: 20px 0 10px 0;
15
+
16
+ .controller-person-name {
17
+ color: #000;
18
+ font-size: 16px;
19
+ font-weight: 500;
20
+ padding-top: 12px;
21
+ }
22
+
23
+ .tool-bar {
24
+ position: absolute;
25
+ top: 20px;
26
+ right: 20px;
27
+
28
+ .delete {
29
+ color: @delete-color;
30
+ }
31
+ }
32
+ }
33
+
34
+ .ant-tabs {
35
+ height: 100%;
36
+
37
+ .ant-tabs-nav {
38
+ margin: 0 20px;
39
+ }
40
+
41
+ .company-information {
42
+ padding: 15px 20px;
43
+
44
+ h3 {
45
+ margin-bottom: 15px;
46
+ color: #000;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare const SelectControllerFormDialog: (props: {
3
+ parentId: string;
4
+ allowEdit?: boolean | undefined;
5
+ onCancel?: (() => void) | undefined;
6
+ }) => JSX.Element;
7
+ export default SelectControllerFormDialog;