@voplus/morpho-csp 1.2.119 → 1.2.120

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 (137) hide show
  1. package/es/components/Header/index.less +20 -20
  2. package/es/components/RegisteresMenuItem/index.less +10 -10
  3. package/es/data/clda-form/store.d.ts +4 -0
  4. package/es/data/clda-form/store.js +9 -0
  5. package/es/data/clda-form/store.js.map +1 -1
  6. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  7. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  8. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  9. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  10. package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
  11. package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +11 -0
  12. package/es/modules/corporate/clda/components/CLDAListCard/index.js +13 -0
  13. package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -0
  14. package/es/modules/corporate/clda/components/CLDAListView/index.d.ts +0 -1
  15. package/es/modules/corporate/clda/components/CLDAListView/index.js +6 -2
  16. package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
  17. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  18. package/es/modules/corporate/clda/components/CLDAListView/state.d.ts +1 -1
  19. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  20. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  21. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  22. package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
  23. package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.d.ts +9 -0
  24. package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js +14 -0
  25. package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js.map +1 -0
  26. package/es/modules/corporate/clda/components/NewCLDAForm/index.d.ts +17 -17
  27. package/es/modules/corporate/clda/components/NewCLDAForm/index.js +5 -5
  28. package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
  29. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +7 -0
  30. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  31. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  32. package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
  33. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  34. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  35. package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +59 -59
  36. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  37. package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
  38. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  39. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  40. package/es/modules/corporate/company/controller-register/components/ControllerItem/index.less +41 -41
  41. package/es/modules/corporate/company/controller-register/components/ControllerList/index.less +15 -15
  42. package/es/modules/corporate/company/controller-register/components/ControllerPropertiesView/index.less +51 -51
  43. package/es/modules/corporate/company/controller-register/controls/ControllerStatusFilter/index.less +4 -4
  44. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  45. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  46. package/es/modules/corporate/company/controls/CorporateMenu/index.less +35 -35
  47. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +64 -64
  48. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.less +61 -61
  49. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  50. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  51. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  52. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  53. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  54. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.less +35 -35
  55. package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
  56. package/es/modules/corporate/company/member-register/components/CompanyMemberPropertiesView/index.less +44 -44
  57. package/es/modules/corporate/company/member-register/components/Details/index.less +14 -14
  58. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  59. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  60. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  61. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.less +40 -40
  62. package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
  63. package/es/modules/corporate/company/officer-register/components/OfficerPropertiesView/index.less +44 -44
  64. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  65. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  66. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  67. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  68. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +72 -72
  69. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.less +16 -16
  70. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +89 -89
  71. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  72. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +89 -89
  73. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  74. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  75. package/es/modules/corporate/components/Statement/index.less +16 -16
  76. package/es/modules/corporate/filing-record/components/AnnualFilings/index.less +8 -8
  77. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  78. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  79. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  80. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  81. package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
  82. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  83. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  84. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  85. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  86. package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -30
  87. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  88. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
  89. package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
  90. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  91. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  92. package/es/modules/order/components/OrderItem/index.less +21 -21
  93. package/es/modules/order/components/OrderItems/index.less +48 -48
  94. package/es/modules/order/components/OrderPropertiesView/index.less +13 -13
  95. package/es/modules/order/controls/IncorporationStatusLabel/index.less +41 -41
  96. package/es/modules/order/controls/OrderLabel/index.less +21 -21
  97. package/es/modules/order/pages/OrderDefaultView/index.less +13 -13
  98. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  99. package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
  100. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  101. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  102. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  103. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  104. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
  105. package/es/modules/self-registration/clda-form/components/MemberInfo/index.less +201 -201
  106. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  107. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  108. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  109. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  110. package/es/modules/self-registration/components/Card/index.less +51 -51
  111. package/es/modules/self-registration/components/CheckSection/index.less +20 -20
  112. package/es/modules/self-registration/components/MemberCard/index.less +53 -53
  113. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  114. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  115. package/es/modules/self-registration/controls/Section/index.less +79 -79
  116. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  117. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +1 -1
  118. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +3 -3
  119. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
  120. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  121. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  122. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  123. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  124. package/es/modules/self-registration/shopping-cart/ChooseService/index.js +2 -2
  125. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  126. package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
  127. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  128. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  129. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  130. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  131. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  132. package/es/obsolete/controller-register/components/ControllerInformation/ControllerPropertiesView/index.less +39 -39
  133. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  134. package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
  135. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  136. package/es/style/common.less +66 -66
  137. package/package.json +1 -1
@@ -1,20 +1,20 @@
1
- @import "~@voplus/antd/es/style/themes/index.less";
2
- :global {
3
- .corporate-default-view_header {
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- padding: 10px 20px;
8
- background: transparent;
9
- // background: @component-background;
10
- .title {
11
- color: #000;
12
- font-size: 20px;
13
- font-weight: 500;
14
- line-height: 22px;
15
- }
16
- .ant-dropdown-trigger {
17
- display: inline-block;
18
- }
19
- }
20
- }
1
+ @import "~@voplus/antd/es/style/themes/index.less";
2
+ :global {
3
+ .corporate-default-view_header {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ padding: 10px 20px;
8
+ background: transparent;
9
+ // background: @component-background;
10
+ .title {
11
+ color: #000;
12
+ font-size: 20px;
13
+ font-weight: 500;
14
+ line-height: 22px;
15
+ }
16
+ .ant-dropdown-trigger {
17
+ display: inline-block;
18
+ }
19
+ }
20
+ }
@@ -1,11 +1,11 @@
1
- :global {
2
- .popover-register-item {
3
- .ant-popover-inner-content {
4
- padding: 0;
5
- }
6
- }
7
-
8
- .ant-menu {
9
- cursor: pointer;
10
- }
1
+ :global {
2
+ .popover-register-item {
3
+ .ant-popover-inner-content {
4
+ padding: 0;
5
+ }
6
+ }
7
+
8
+ .ant-menu {
9
+ cursor: pointer;
10
+ }
11
11
  }
@@ -9,6 +9,10 @@ export declare class CLDAFormStore extends DocumentTypeStore<ICLDAForm, LoadDocu
9
9
  /** Name of the store */
10
10
  readonly name: string;
11
11
  constructor(endpoint: ApiEndPoint, documents: DocumentStore);
12
+ /** Edit an existing item on server. */
13
+ edit(id: string, options: {
14
+ data: EditCLDAFormOptions;
15
+ } & StoreActionOptions): Promise<void>;
12
16
  /** submit form
13
17
  * @param {string} id - id of the form.
14
18
  */
@@ -1,4 +1,5 @@
1
1
  import { DocumentTypeStore, useDocumentStore, } from "@voplus/morpho-document-core";
2
+ import { RequestBuilder } from "@voplus/api";
2
3
  import { useService } from "@voplus/morpho-data";
3
4
  const StoreName = "CLDAFormStore";
4
5
  /** Corporate store supply backend functions. */
@@ -19,6 +20,14 @@ export class CLDAFormStore extends DocumentTypeStore {
19
20
  value: StoreName
20
21
  });
21
22
  }
23
+ /** Edit an existing item on server. */
24
+ async edit(id, options) {
25
+ await this.action(async () => {
26
+ const r = await this.endpoint.post(`${this.path}/${id}`, new RequestBuilder().json(JSON.stringify(options.data)));
27
+ const t = (await r.json());
28
+ this._documents.items.overwrite(t.id, t);
29
+ }, options);
30
+ }
22
31
  /** submit form
23
32
  * @param {string} id - id of the form.
24
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/data/clda-form/store.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,iBAAiB,EAGjB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,UAAU,EAAsB,MAAM,qBAAqB,CAAC;AAErE,MAAM,SAAS,GAAG,eAAe,CAAC;AAElC,gDAAgD;AAChD,MAAM,OAAO,aAAc,SAAQ,iBAOlC;IAIA,YAAmC,QAAqB,EAAE,SAAwB;QACjF,KAAK,CAAC,QAAQ,EAAE,gCAAgC,EAAE,SAAS,CAAC,CAAC;;;;;mBAD3B;;QAHnC,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,OAA2B;QAC1D,OAAO,IAAI,CAAC,MAAM,CAAC,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
- padding: 0 !important;
4
- .account-organizations-item {
5
- position: relative;
6
- display: flex;
7
- align-items: center;
8
- padding: 10px 20px;
9
- .organization-info {
10
- flex: 1;
11
- margin-left: 10px;
12
- .title {
13
- font-weight: 500;
14
- }
15
- }
16
- &::after {
17
- position: absolute;
18
- content: "";
19
- left: 20px;
20
- bottom: 0;
21
- right: 20px;
22
- border-bottom: 1px solid #f2f2f2;
23
- }
24
- }
25
- }
26
- }
1
+ :global {
2
+ .account-organizations-view {
3
+ padding: 0 !important;
4
+ .account-organizations-item {
5
+ position: relative;
6
+ display: flex;
7
+ align-items: center;
8
+ padding: 10px 20px;
9
+ .organization-info {
10
+ flex: 1;
11
+ margin-left: 10px;
12
+ .title {
13
+ font-weight: 500;
14
+ }
15
+ }
16
+ &::after {
17
+ position: absolute;
18
+ content: "";
19
+ left: 20px;
20
+ bottom: 0;
21
+ right: 20px;
22
+ border-bottom: 1px solid #f2f2f2;
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,10 +1,10 @@
1
- :global {
2
- .account-properties-view {
3
- // height: 100%;
4
- padding: 0 20px;
5
- &_header {
6
- padding: 20px 0;
7
- text-align: center;
8
- }
9
- }
10
- }
1
+ :global {
2
+ .account-properties-view {
3
+ // height: 100%;
4
+ padding: 0 20px;
5
+ &_header {
6
+ padding: 20px 0;
7
+ text-align: center;
8
+ }
9
+ }
10
+ }
@@ -1,8 +1,8 @@
1
- @import "../../../../style/common.less";
2
- :global {
3
- .account-default-view {
4
- width: 100%;
5
- height: 100%;
6
- overflow: hidden;
7
- }
8
- }
1
+ @import "../../../../style/common.less";
2
+ :global {
3
+ .account-default-view {
4
+ width: 100%;
5
+ height: 100%;
6
+ overflow: hidden;
7
+ }
8
+ }
@@ -1,5 +1,5 @@
1
- :global {
2
- .CLDA-details {
3
- padding: 15px 20px;
4
- }
5
- }
1
+ :global {
2
+ .CLDA-details {
3
+ padding: 15px 20px;
4
+ }
5
+ }
@@ -1,42 +1,42 @@
1
- @import "~@voplus/antd/es/style/themes/default.less";
2
-
3
- .clda-item {
4
- position: relative;
5
- align-items: center;
6
- cursor: pointer;
7
-
8
- &:after {
9
- position: absolute;
10
- content: "";
11
- left: 20px;
12
- right: 0;
13
- bottom: 0;
14
- border-bottom: 1px solid @border-color-base;
15
- }
16
-
17
- :global {
18
- .clda-status-label {
19
- opacity: 1;
20
- transition: opacity 0.3s;
21
- flex-shrink: 0;
22
-
23
- &.hide {
24
- opacity: 0;
25
- }
26
- }
27
-
28
- .hover-operate-icon {
29
- display: none;
30
- position: absolute;
31
- right: 20px;
32
-
33
- .ant-btn:first-child {
34
- margin-left: 0;
35
- }
36
-
37
- &.show {
38
- display: block;
39
- }
40
- }
41
- }
1
+ @import "~@voplus/antd/es/style/themes/default.less";
2
+
3
+ .clda-item {
4
+ position: relative;
5
+ align-items: center;
6
+ cursor: pointer;
7
+
8
+ &:after {
9
+ position: absolute;
10
+ content: "";
11
+ left: 20px;
12
+ right: 0;
13
+ bottom: 0;
14
+ border-bottom: 1px solid @border-color-base;
15
+ }
16
+
17
+ :global {
18
+ .clda-status-label {
19
+ opacity: 1;
20
+ transition: opacity 0.3s;
21
+ flex-shrink: 0;
22
+
23
+ &.hide {
24
+ opacity: 0;
25
+ }
26
+ }
27
+
28
+ .hover-operate-icon {
29
+ display: none;
30
+ position: absolute;
31
+ right: 20px;
32
+
33
+ .ant-btn:first-child {
34
+ margin-left: 0;
35
+ }
36
+
37
+ &.show {
38
+ display: block;
39
+ }
40
+ }
41
+ }
42
42
  }
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { CLDAListProps } from "../CLDAListView/state";
3
+ declare const CLDAListCard: {
4
+ (props: {
5
+ style?: React.CSSProperties;
6
+ } & CLDAListProps): JSX.Element;
7
+ defaultProps: {
8
+ openNewFormMode: string;
9
+ };
10
+ };
11
+ export default CLDAListCard;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
4
+ import CLDAList from "../CLDAListView";
5
+ const CLDAListCard = (props) => {
6
+ return observe(() => (React.createElement(ListCard, { style: props.style },
7
+ React.createElement(CLDAList, { ...props }))));
8
+ };
9
+ CLDAListCard.defaultProps = {
10
+ openNewFormMode: "openDialog",
11
+ };
12
+ export default CLDAListCard;
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,MAAM,YAAY,GAAG,CAAC,KAAsD,EAAE,EAAE;IAC/E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK;QAC3B,oBAAC,QAAQ,OAAK,KAAK,GAAI,CACb,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC3B,eAAe,EAAE,YAAY;CAC7B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -5,7 +5,6 @@ declare const CLDAList: {
5
5
  defaultProps: {
6
6
  filterable: boolean;
7
7
  openNewFormMode: string;
8
- asideable: boolean;
9
8
  title: string;
10
9
  };
11
10
  };
@@ -12,6 +12,7 @@ import CLDAItem from "../CLDAItem";
12
12
  import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
13
13
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
14
14
  import NewCLDAForm from "../NewCLDAForm";
15
+ import NewCLDAFormDialog from "../NewCLDAForm/NewCLDAFormDialog";
15
16
  import SearchHeader from "@voplus/morpho-ui/es/components/layout/ListView/headers/SearchHeader";
16
17
  import classnames from "classnames";
17
18
  import styles from "./index.less";
@@ -20,6 +21,7 @@ const CLDAList = (props) => {
20
21
  const [activeId, setActiveId] = useState("");
21
22
  const [state] = useState(new State());
22
23
  const [addAble, setAddAble] = useState(false);
24
+ const [visible, setVisible] = useState(false);
23
25
  const [CLDATypeList, setCLDATypeList] = useState([]);
24
26
  state.update(parentId, metaId, assistantStatus, signingMode);
25
27
  let filterComponentArr = [React.createElement(CLDASigningModeFilter, { key: "CLDASigningModeFilter" })];
@@ -99,10 +101,13 @@ const CLDAList = (props) => {
99
101
  (_a = props.onClickItem) === null || _a === void 0 ? void 0 : _a.call(props, item);
100
102
  } },
101
103
  React.createElement(CLDAItem, { id: item.id }))) }),
102
- addAble && (React.createElement(NewCLDAForm, { parentId: state.id, openMode: "openBottom", contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setAddAble(false) }))))));
104
+ addAble && (React.createElement(NewCLDAForm, { type: "mini", parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setAddAble(false) })),
105
+ visible && (React.createElement(NewCLDAFormDialog, { parentId: state.id, contact: primaryContact, secretaryCenterId: secretaryCenterId, onCancel: () => setVisible(false) }))))));
103
106
  function onAdd() {
104
107
  if (openNewFormMode === "openBottom")
105
108
  setAddAble(true);
109
+ if (openNewFormMode === "openDialog")
110
+ setVisible(true);
106
111
  }
107
112
  /** SearchHeader 查找文件name */
108
113
  function onChangeName(values) {
@@ -134,7 +139,6 @@ const CLDAList = (props) => {
134
139
  CLDAList.defaultProps = {
135
140
  filterable: true,
136
141
  openNewFormMode: "openAside",
137
- asideable: true,
138
142
  title: "Corporate Legal Document Assistant List",
139
143
  };
140
144
  export default CLDAList;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE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,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;IAED,SAAS,WAAW;QACnB,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;QAC7B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,8BAA8B;QAC9B,4DAA4D;QAC5D,qBAAqB;QACrB,MAAM;QACN,yBAAyB;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,WAAW;IAC5B,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,yCAAyC;CAChD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAS,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAa,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,KAAK,EAAiB,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D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AC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,WAAW;IAC5B,KAAK,EAAE,yCAAyC;CAChD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,30 +1,30 @@
1
- .clda-list-content {
2
- display: flex;
3
- flex-direction: column;
4
- height: 100%;
5
-
6
- :global {
7
- .CLDA-list-view {
8
- .list-view-header {
9
- position: relative;
10
- padding-right: 115px;
11
-
12
- .remind-all {
13
- position: absolute;
14
- top: 18px;
15
- right: 20px;
16
- }
17
- }
18
-
19
- &.loading .list-view-header {
20
- padding-right: 135px;
21
- }
22
- }
23
-
24
- .clda-list {
25
- .vo-plus-new-form .new-form-view {
26
- min-width: auto;
27
- }
28
- }
29
- }
30
- }
1
+ .clda-list-content {
2
+ display: flex;
3
+ flex-direction: column;
4
+ height: 100%;
5
+
6
+ :global {
7
+ .CLDA-list-view {
8
+ .list-view-header {
9
+ position: relative;
10
+ padding-right: 115px;
11
+
12
+ .remind-all {
13
+ position: absolute;
14
+ top: 18px;
15
+ right: 20px;
16
+ }
17
+ }
18
+
19
+ &.loading .list-view-header {
20
+ padding-right: 135px;
21
+ }
22
+ }
23
+
24
+ .clda-list {
25
+ .vo-plus-new-form .new-form-view {
26
+ min-width: auto;
27
+ }
28
+ }
29
+ }
30
+ }
@@ -26,7 +26,7 @@ export declare type CLDAListProps = {
26
26
  /** 是否允在 listView 内部打开 aside */
27
27
  asideable?: boolean;
28
28
  /** New Form 打开的方式 */
29
- openNewFormMode?: "openAside" | "openBottom";
29
+ openNewFormMode?: "openAside" | "openBottom" | "openDialog";
30
30
  /** Call back when an item has been clicked on the list. */
31
31
  onClickItem?: (item: ICLDA) => void;
32
32
  /** Call back when received total number of quotations. */
@@ -1,16 +1,16 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .clda-properties {
4
-
5
- :global {
6
- .no-data {
7
- color: #00000040;
8
- }
9
- }
10
- }
11
-
12
- :global {
13
- .no-data {
14
- color: #00000040;
15
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .clda-properties {
4
+
5
+ :global {
6
+ .no-data {
7
+ color: #00000040;
8
+ }
9
+ }
10
+ }
11
+
12
+ :global {
13
+ .no-data {
14
+ color: #00000040;
15
+ }
16
16
  }
@@ -1,10 +1,10 @@
1
- :global {
2
- .CLDA-properties-view {
3
- display: flex;
4
- flex-direction: column;
5
- height: 100%;
6
- .ant-tabs {
7
- flex: 1;
8
- }
9
- }
10
- }
1
+ :global {
2
+ .CLDA-properties-view {
3
+ display: flex;
4
+ flex-direction: column;
5
+ height: 100%;
6
+ .ant-tabs {
7
+ flex: 1;
8
+ }
9
+ }
10
+ }
@@ -1,13 +1,13 @@
1
- .header-bar-tool {
2
- display: flex;
3
- justify-content: space-between;
4
- padding: 0 20px 10px 20px;
5
- :global {
6
- .tools-bar {
7
- text-align: right;
8
- .tool-bar {
9
- display: block;
10
- }
11
- }
12
- }
13
- }
1
+ .header-bar-tool {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ padding: 0 20px 10px 20px;
5
+ :global {
6
+ .tools-bar {
7
+ text-align: right;
8
+ .tool-bar {
9
+ display: block;
10
+ }
11
+ }
12
+ }
13
+ }
@@ -1,47 +1,47 @@
1
- .clda-send-form {
2
- height: 98%;
3
-
4
- :global {
5
- .ant-form-item {
6
- height: 100%;
7
- display: flex;
8
- flex-direction: column;
9
- flex-flow: column;
10
- }
11
-
12
- .ant-form-item-control {
13
- height: 100%;
14
-
15
- .ant-form-item-control-input {
16
- height: 100%;
17
- align-items: flex-start;
18
-
19
- .ant-form-item-control-input-content {
20
- height: 95%;
21
- }
22
- }
23
- }
24
-
25
- .proseMirror {
26
- // height: 60vh !important;
27
- background: #fff;
28
-
29
- .editor-toolbar .toolbar-button {
30
- display: inline-block;
31
- }
32
- }
33
- }
34
- }
35
-
36
- .clda-send-dialog {
37
- :global {
38
- .proseMirror {
39
- height: 15rem !important;
40
- background: #fff;
41
-
42
- .editor-toolbar .toolbar-button {
43
- display: inline-block;
44
- }
45
- }
46
- }
47
- }
1
+ .clda-send-form {
2
+ height: 98%;
3
+
4
+ :global {
5
+ .ant-form-item {
6
+ height: 100%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ flex-flow: column;
10
+ }
11
+
12
+ .ant-form-item-control {
13
+ height: 100%;
14
+
15
+ .ant-form-item-control-input {
16
+ height: 100%;
17
+ align-items: flex-start;
18
+
19
+ .ant-form-item-control-input-content {
20
+ height: 95%;
21
+ }
22
+ }
23
+ }
24
+
25
+ .proseMirror {
26
+ // height: 60vh !important;
27
+ background: #fff;
28
+
29
+ .editor-toolbar .toolbar-button {
30
+ display: inline-block;
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ .clda-send-dialog {
37
+ :global {
38
+ .proseMirror {
39
+ height: 15rem !important;
40
+ background: #fff;
41
+
42
+ .editor-toolbar .toolbar-button {
43
+ display: inline-block;
44
+ }
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { NewCLDAFormProps } from "./index";
3
+ declare const NewCLDAFormDialog: {
4
+ (props: NewCLDAFormProps): JSX.Element;
5
+ defaultProps: {
6
+ type: string;
7
+ };
8
+ };
9
+ export default NewCLDAFormDialog;