@voplus/morpho-csp 1.2.175 → 1.2.177
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.
- package/es/Modules.js +3 -1
- package/es/Modules.js.map +1 -1
- package/es/data/member/interfaces.d.ts +1 -1
- package/es/data/share-certificate/ShareCertificateStore.d.ts +11 -0
- package/es/data/share-certificate/ShareCertificateStore.js +22 -0
- package/es/data/share-certificate/ShareCertificateStore.js.map +1 -0
- package/es/data/share-certificate/hooks.d.ts +13 -0
- package/es/data/share-certificate/hooks.js +24 -0
- package/es/data/share-certificate/hooks.js.map +1 -0
- package/es/data/share-certificate/index.d.ts +5 -0
- package/es/data/share-certificate/index.js +6 -0
- package/es/data/share-certificate/index.js.map +1 -0
- package/es/data/share-certificate/interfaces.d.ts +15 -0
- package/es/data/share-certificate/interfaces.js.map +1 -0
- package/es/data/share-certificate/metas.d.ts +13 -0
- package/es/data/share-certificate/metas.js +38 -0
- package/es/data/share-certificate/metas.js.map +1 -0
- package/es/data/share-certificate/types.d.ts +12 -0
- package/es/data/share-certificate/types.js +2 -0
- package/es/data/share-certificate/types.js.map +1 -0
- package/es/data/{shareTransaction → share-transaction}/ShareTransactionStore.js +1 -1
- package/es/data/share-transaction/ShareTransactionStore.js.map +1 -0
- package/es/data/share-transaction/hooks.js.map +1 -0
- package/es/data/share-transaction/index.js.map +1 -0
- package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransaction.d.ts +1 -0
- package/es/data/share-transaction/interfaces/IShareTransaction.js.map +1 -0
- package/es/data/share-transaction/interfaces/IShareTransactionLine.js.map +1 -0
- package/es/data/share-transaction/interfaces/index.js.map +1 -0
- package/es/data/share-transaction/metas.js.map +1 -0
- package/es/data/share-transaction/types/ShareLineCreateOptions.js.map +1 -0
- package/es/data/share-transaction/types/ShareTransactionCreateOptions.js.map +1 -0
- package/es/data/share-transaction/types/ShareTransactionEditOptions.js.map +1 -0
- package/es/data/share-transaction/types/ShareTransactionType.js.map +1 -0
- package/es/data/share-transaction/types/index.js.map +1 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js +7 -3
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItem/index.less +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +6 -6
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +6 -6
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js +2 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionList/state.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.d.ts +26 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +66 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.d.ts +3 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js +22 -10
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/index.less +37 -89
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.d.ts +7 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js +42 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTabs/index.js.map +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js +10 -8
- package/es/modules/corporate/company/share-transactions-register/components/ShareholderSelector/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +21 -62
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.less +85 -89
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js +3 -3
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.d.ts +9 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js +13 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.d.ts +17 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js +56 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.less +41 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.d.ts +10 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js +34 -0
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +3 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +46 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +164 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.d.ts +5 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js +27 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.less +47 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.d.ts +38 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +137 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.less +16 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +26 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +43 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.d.ts +7 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js +32 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificatePropertiesView/index.less +14 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.d.ts +7 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js +34 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateQuickViewDialog/index.less +15 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.d.ts +6 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +39 -0
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.d.ts +12 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js +18 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.d.ts +7 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +13 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.d.ts +8 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js +12 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.d.ts +5 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.js +29 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.d.ts +19 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js +61 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.d.ts +10 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js +10 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.less +35 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.d.ts +5 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.js +29 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.d.ts +19 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js +55 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.d.ts +10 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js +14 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js.map +1 -0
- package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.less +21 -0
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +10 -39
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +36 -30
- package/es/modules/corporate/share-options-register/components/ShareOptionList/state.d.ts +1 -1
- package/es/{modules/corporate/company/share-transactions-register/components → obsolete}/ShareTransactionPropertiesView/Content.js +3 -4
- package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.d.ts +13 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.js +15 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.js.map +1 -0
- package/es/obsolete/ShareTransactionPropertiesView/index.less +89 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js +65 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/obsolete/share-certificate/pages/ShareCertificateDefaultView/index.less +30 -0
- package/es/obsolete/shareCertificate/hooks.js.map +1 -0
- package/es/obsolete/shareCertificate/index.js.map +1 -0
- package/es/obsolete/shareCertificate/interfaces.js +2 -0
- package/es/obsolete/shareCertificate/interfaces.js.map +1 -0
- package/es/obsolete/shareCertificate/store.js.map +1 -0
- package/es/routes.js +6 -6
- package/es/routes.js.map +1 -1
- package/package.json +1 -1
- package/es/data/shareCertificate/hooks.js.map +0 -1
- package/es/data/shareCertificate/index.js.map +0 -1
- package/es/data/shareCertificate/interfaces.js.map +0 -1
- package/es/data/shareCertificate/store.js.map +0 -1
- package/es/data/shareTransaction/ShareTransactionStore.js.map +0 -1
- package/es/data/shareTransaction/hooks.js.map +0 -1
- package/es/data/shareTransaction/index.js.map +0 -1
- package/es/data/shareTransaction/interfaces/IShareTransaction.js.map +0 -1
- package/es/data/shareTransaction/interfaces/IShareTransactionLine.js.map +0 -1
- package/es/data/shareTransaction/interfaces/index.js.map +0 -1
- package/es/data/shareTransaction/metas.js.map +0 -1
- package/es/data/shareTransaction/types/ShareLineCreateOptions.js.map +0 -1
- package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js.map +0 -1
- package/es/data/shareTransaction/types/ShareTransactionEditOptions.js.map +0 -1
- package/es/data/shareTransaction/types/ShareTransactionType.js.map +0 -1
- package/es/data/shareTransaction/types/index.js.map +0 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionPropertiesView/Content.js.map +0 -1
- /package/es/data/{shareCertificate → share-certificate}/interfaces.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/ShareTransactionStore.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/hooks.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/hooks.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/index.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/index.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransaction.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransactionLine.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/interfaces/IShareTransactionLine.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/interfaces/index.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/interfaces/index.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/metas.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/metas.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareLineCreateOptions.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareLineCreateOptions.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionCreateOptions.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionCreateOptions.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionEditOptions.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionEditOptions.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionType.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/ShareTransactionType.js +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/index.d.ts +0 -0
- /package/es/data/{shareTransaction → share-transaction}/types/index.js +0 -0
- /package/es/{modules/corporate/company/share-transactions-register/components → obsolete}/ShareTransactionPropertiesView/Content.d.ts +0 -0
- /package/es/{data → obsolete}/shareCertificate/hooks.d.ts +0 -0
- /package/es/{data → obsolete}/shareCertificate/hooks.js +0 -0
- /package/es/{data → obsolete}/shareCertificate/index.d.ts +0 -0
- /package/es/{data → obsolete}/shareCertificate/index.js +0 -0
- /package/es/{data → obsolete}/shareCertificate/interfaces.d.ts +0 -0
- /package/es/{data → obsolete}/shareCertificate/store.d.ts +0 -0
- /package/es/{data → obsolete}/shareCertificate/store.js +0 -0
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Tooltip } from "@voplus/antd";
|
|
3
|
+
import { useShareCertificate, useShareCertificateStore } from "../../../../../data/share-certificate";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
const ShareCertificateStatusDataIcon = (props) => {
|
|
6
|
+
const { id, onClick } = props;
|
|
7
|
+
const shareCertificate = useShareCertificate(id);
|
|
8
|
+
const shareCertificateStore = useShareCertificateStore();
|
|
9
|
+
return observe(() => (React.createElement(Tooltip, { title: "Status" })));
|
|
10
|
+
};
|
|
11
|
+
export default ShareCertificateStatusDataIcon;
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateStatusDataIcon/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAW,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtG,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,8BAA8B,GAAG,CAAC,KAKvC,EAAE,EAAE;IACH,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,qBAAqB,GAAG,wBAAwB,EAAE,CAAC;IAEzD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACnB,oBAAC,OAAO,IAAC,KAAK,EAAC,QAAQ,GAWb,CACX,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,eAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { runInAction } from "mobx";
|
|
5
|
+
import { Badge } from "@voplus/antd";
|
|
6
|
+
import { State } from "./state";
|
|
7
|
+
import classnames from "classnames";
|
|
8
|
+
const ShareCertificateStatusFilter = (props) => {
|
|
9
|
+
const context = useFilterOptionsContext();
|
|
10
|
+
const state = context.getFilterState("ShareCertificateStatus", () => new State());
|
|
11
|
+
// defaultValue 为传入的预选状态
|
|
12
|
+
state.showDefaultValue &&
|
|
13
|
+
props.defaultValue &&
|
|
14
|
+
props.defaultValue.map((value) => state.onChangeStatus(value));
|
|
15
|
+
return observe(() => (React.createElement("div", null,
|
|
16
|
+
React.createElement("div", { className: "menu-item-title" }, "ShareCertificate Status"),
|
|
17
|
+
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
|
18
|
+
bold: state.status.has(item.value),
|
|
19
|
+
}), onClick: () => {
|
|
20
|
+
state.onChangeStatus(item.value);
|
|
21
|
+
runInAction(() => (state.showDefaultValue = false));
|
|
22
|
+
} },
|
|
23
|
+
React.createElement("div", { className: "filter-name" },
|
|
24
|
+
React.createElement(Badge, { color: item.color }),
|
|
25
|
+
item.name),
|
|
26
|
+
React.createElement("span", null, item.counts)))))));
|
|
27
|
+
};
|
|
28
|
+
export default ShareCertificateStatusFilter;
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC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|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FilterOption } from "@voplus/morpho-data";
|
|
2
|
+
import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
|
|
3
|
+
export declare class State implements IFilterState {
|
|
4
|
+
/** 是否显示预选status */
|
|
5
|
+
showDefaultValue: boolean;
|
|
6
|
+
/** Status of filter */
|
|
7
|
+
status: Map<string, boolean>;
|
|
8
|
+
constructor();
|
|
9
|
+
/** update status */
|
|
10
|
+
onChangeStatus(value: string): void;
|
|
11
|
+
get menus(): {
|
|
12
|
+
name: string;
|
|
13
|
+
value: string;
|
|
14
|
+
counts: string;
|
|
15
|
+
color: string;
|
|
16
|
+
}[];
|
|
17
|
+
get filters(): FilterOption[];
|
|
18
|
+
reset(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { action, makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** 是否显示预选status */
|
|
6
|
+
Object.defineProperty(this, "showDefaultValue", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
/** Status of filter */
|
|
13
|
+
Object.defineProperty(this, "status", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: new Map()
|
|
18
|
+
});
|
|
19
|
+
makeObservable(this);
|
|
20
|
+
}
|
|
21
|
+
/** update status */
|
|
22
|
+
onChangeStatus(value) {
|
|
23
|
+
this.status.has(value)
|
|
24
|
+
? this.status.delete(value)
|
|
25
|
+
: this.status.set(value, true);
|
|
26
|
+
}
|
|
27
|
+
get menus() {
|
|
28
|
+
return [
|
|
29
|
+
{ name: "New", value: "New", counts: "n", color: "#ff8f5e" },
|
|
30
|
+
{ name: "Followup", value: "Followup", counts: "n", color: "#1890ff" },
|
|
31
|
+
{ name: "Won", value: "Won", counts: "n", color: "#18bd85" },
|
|
32
|
+
{ name: "Lost", value: "Lost", counts: "n", color: "#765fee" },
|
|
33
|
+
{ name: "Contacting", value: "Contacting", counts: "n", color: "#13c2c2" },
|
|
34
|
+
{ name: "NoResponse", value: "NoResponse", counts: "n", color: "#ff4d4f" },
|
|
35
|
+
];
|
|
36
|
+
}
|
|
37
|
+
get filters() {
|
|
38
|
+
return [
|
|
39
|
+
{
|
|
40
|
+
c: "ShareCertificateStatus",
|
|
41
|
+
o: "contains",
|
|
42
|
+
v1: JSON.stringify(Array.from(this.status.keys())),
|
|
43
|
+
l: "And",
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
reset() {
|
|
48
|
+
this.status.clear();
|
|
49
|
+
this.showDefaultValue = true;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
__decorate([
|
|
53
|
+
observable
|
|
54
|
+
], State.prototype, "showDefaultValue", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
observable
|
|
57
|
+
], State.prototype, "status", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
action
|
|
60
|
+
], State.prototype, "onChangeStatus", null);
|
|
61
|
+
//# sourceMappingURL=state.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAK1D,MAAM,OAAO,KAAK;IAMhB;QALA,mBAAmB;QACP;;;;mBAA0B,IAAI;WAAC;QAC3C,uBAAuB;QACX;;;;mBAAsC,IAAI,GAAG,EAAE;WAAC;QAG1D,cAAc,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;IAED,oB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AAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACpB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC/B,CAAC;CACF;AAxCa;IAAX,UAAU;+CAAgC;AAE/B;IAAX,UAAU;qCAAiD;AAQ5D;IADC,MAAM;2CAKN"}
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
import { ShareCertificateStatus } from "../../../../../data/share-certificate";
|
|
4
|
+
declare const ShareCertificateStatusLabel: (props: {
|
|
5
|
+
status: string;
|
|
6
|
+
editable: boolean;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
onChange: (status: ShareCertificateStatus) => void;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default ShareCertificateStatusLabel;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import classnames from "classnames";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
const ShareCertificateStatusLabel = (props) => {
|
|
7
|
+
return observe(() => (React.createElement(DocumentStatusLabel, { className: classnames("share-certificate-status", props.className), editable: props.editable, list: [{ name: "Draft" }, { name: "Authorized" }, { name: "Cancelled" }], status: props.status, onChange: props.onChange })));
|
|
8
|
+
};
|
|
9
|
+
export default ShareCertificateStatusLabel;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,2BAA2B,GAAG,CAAC,KAKpC,EAAE,EAAE;IACJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,0BAA0B,EAAE,KAAK,CAAC,SAAS,CAAC,EAClE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EACxE,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateStatusLabel/index.less
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.share-certificate-status {
|
|
5
|
+
&.new,
|
|
6
|
+
&.new:hover {
|
|
7
|
+
background: @new-color;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.lost,
|
|
11
|
+
&.lost:hover {
|
|
12
|
+
background: @rejected-color;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.followup,
|
|
16
|
+
&.followup:hover {
|
|
17
|
+
background: @active-color;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.won,
|
|
21
|
+
&.won:hover {
|
|
22
|
+
background: @done-color;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.contacting,
|
|
26
|
+
&.contacting:hover {
|
|
27
|
+
background: #13c2c2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.no-response,
|
|
31
|
+
&.no-response:hover {
|
|
32
|
+
background: #ff4d4f;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
|
3
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { runInAction } from "mobx";
|
|
5
|
+
import { Badge } from "@voplus/antd";
|
|
6
|
+
import { State } from "./state";
|
|
7
|
+
import classnames from "classnames";
|
|
8
|
+
const ShareCertificateTypeFilter = (props) => {
|
|
9
|
+
const context = useFilterOptionsContext();
|
|
10
|
+
const state = context.getFilterState("ShareCertificateType", () => new State());
|
|
11
|
+
// defaultValue 为传入的预选状态
|
|
12
|
+
state.showDefaultValue &&
|
|
13
|
+
props.defaultValue &&
|
|
14
|
+
props.defaultValue.map((value) => state.onChangeType(value));
|
|
15
|
+
return observe(() => (React.createElement("div", null,
|
|
16
|
+
React.createElement("div", { className: "menu-item-title" }, "ShareCertificate Type"),
|
|
17
|
+
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
|
18
|
+
bold: state.status.has(item.value),
|
|
19
|
+
}), onClick: () => {
|
|
20
|
+
state.onChangeType(item.value);
|
|
21
|
+
runInAction(() => (state.showDefaultValue = false));
|
|
22
|
+
} },
|
|
23
|
+
React.createElement("div", { className: "filter-name" },
|
|
24
|
+
React.createElement(Badge, { color: item.color }),
|
|
25
|
+
item.name),
|
|
26
|
+
React.createElement("span", null, item.counts)))))));
|
|
27
|
+
};
|
|
28
|
+
export default ShareCertificateTypeFilter;
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sour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AC/B,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,GAAG,KAAK,CAAC,CAAC,CAAC;YACrD,CAAC;YAED,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FilterOption } from "@voplus/morpho-data";
|
|
2
|
+
import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
|
|
3
|
+
export declare class State implements IFilterState {
|
|
4
|
+
/** 是否显示预选status */
|
|
5
|
+
showDefaultValue: boolean;
|
|
6
|
+
/** Type of filter */
|
|
7
|
+
status: Map<string, boolean>;
|
|
8
|
+
constructor();
|
|
9
|
+
/** update status */
|
|
10
|
+
onChangeType(value: string): void;
|
|
11
|
+
get menus(): {
|
|
12
|
+
name: string;
|
|
13
|
+
value: string;
|
|
14
|
+
counts: string;
|
|
15
|
+
color: string;
|
|
16
|
+
}[];
|
|
17
|
+
get filters(): FilterOption[];
|
|
18
|
+
reset(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { action, makeObservable, observable } from "mobx";
|
|
3
|
+
export class State {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** 是否显示预选status */
|
|
6
|
+
Object.defineProperty(this, "showDefaultValue", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: true
|
|
11
|
+
});
|
|
12
|
+
/** Type of filter */
|
|
13
|
+
Object.defineProperty(this, "status", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: new Map()
|
|
18
|
+
});
|
|
19
|
+
makeObservable(this);
|
|
20
|
+
}
|
|
21
|
+
/** update status */
|
|
22
|
+
onChangeType(value) {
|
|
23
|
+
this.status.has(value) ? this.status.delete(value) : this.status.set(value, true);
|
|
24
|
+
}
|
|
25
|
+
get menus() {
|
|
26
|
+
return [
|
|
27
|
+
{ name: "Digital", value: "Digital", counts: "n", color: "#1890ff" },
|
|
28
|
+
{ name: "Legacy", value: "Legacy", counts: "n", color: "#bfbfbf" },
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
get filters() {
|
|
32
|
+
return [
|
|
33
|
+
{
|
|
34
|
+
c: "Type",
|
|
35
|
+
o: "contains",
|
|
36
|
+
v1: JSON.stringify(Array.from(this.status.keys())),
|
|
37
|
+
l: "And",
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
}
|
|
41
|
+
reset() {
|
|
42
|
+
this.status.clear();
|
|
43
|
+
this.showDefaultValue = true;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
observable
|
|
48
|
+
], State.prototype, "showDefaultValue", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
observable
|
|
51
|
+
], State.prototype, "status", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
action
|
|
54
|
+
], State.prototype, "onChangeType", null);
|
|
55
|
+
//# sourceMappingURL=state.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateTypeFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAK1D,MAAM,OAAO,KAAK;IAMjB;QALA,mBAAmB;QACP;;;;mBAA0B,IAAI;WAAC;QAC3C,qBAAqB;QACT;;;;mBAAsC,IAAI,GAAG,EAAE;WAAC;QAG3D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,oBAAoB;IAEb,YAAY,CAAC,KAAa;QAChC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YACpE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SAClE,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,MAAM;gBACT,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;gBAClD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACpB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC9B,CAAC;CACD;AAlCY;IAAX,UAAU;+CAAgC;AAE/B;IAAX,UAAU;qCAAiD;AAQ5D;IADC,MAAM;yCAGN"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ShareCertificateType } from "../../../../../data/share-certificate";
|
|
3
|
+
import "./index.less";
|
|
4
|
+
declare const ShareCertificateTypeLabel: (props: {
|
|
5
|
+
type?: string | undefined;
|
|
6
|
+
editable: boolean;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
onChange?: ((type: ShareCertificateType) => void) | undefined;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default ShareCertificateTypeLabel;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import DocumentStatusLabel from "@voplus/morpho-document/es/controls/DocumentStatusLabel";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import "./index.less";
|
|
5
|
+
const ShareCertificateTypeLabel = (props) => {
|
|
6
|
+
const list = [{ name: "Digital" }, { name: "Legacy" }];
|
|
7
|
+
if ((props.type && list.findIndex((i) => i.name === props.type) === -1) || !props.type) {
|
|
8
|
+
list.push({ name: props.type || "" });
|
|
9
|
+
}
|
|
10
|
+
return (React.createElement("div", { className: classnames({ "share-certificate-label": !props.type }, props.className) },
|
|
11
|
+
React.createElement(DocumentStatusLabel, { className: classnames("share-certificate-type", props.className), editable: props.editable, list: list, status: props.type, onChange: props.onChange })));
|
|
12
|
+
};
|
|
13
|
+
export default ShareCertificateTypeLabel;
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/controls/ShareCertificateTypeLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,mBAAmB,MAAM,yDAAyD,CAAC;AAC1F,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAEtB,MAAM,yBAAyB,GAAG,CAAC,KAKlC,EAAE,EAAE;IACJ,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IACvD,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;QACvF,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC;KACtC;IAED,OAAO,CACN,6BAAK,SAAS,EAAE,UAAU,CAAC,EAAE,yBAAyB,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,SAAS,CAAC;QACtF,oBAAC,mBAAmB,IACnB,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,KAAK,CAAC,SAAS,CAAC,EAChE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,KAAK,CAAC,IAAI,EAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACvB,CACG,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.share-certificate-type {
|
|
5
|
+
&.digital,
|
|
6
|
+
&.digital:hover {
|
|
7
|
+
background: #1890ff;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.legacy,
|
|
11
|
+
&.legacy:hover {
|
|
12
|
+
background: #bfbfbf;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.share-certificate-label {
|
|
17
|
+
.ant-dropdown-menu-item:last-child {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,35 +1,19 @@
|
|
|
1
|
-
import "./index.less";
|
|
2
|
-
import { Archive, Sidebar } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
-
import { Button, Descriptions, Tabs } from "@voplus/antd";
|
|
4
1
|
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { Archive, Sidebar } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { Tabs } from "@voplus/antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { useRouteMatch } from "react-router";
|
|
6
|
+
import ShareCertificateProperties from "../../components/ShareCertificateProperties";
|
|
5
7
|
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
6
|
-
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
|
7
8
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
8
9
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
9
10
|
import PDFFileViewer from "@voplus/morpho-document/es/components/FileViewer/PDF";
|
|
10
|
-
import { Scrollbars } from "react-custom-scrollbars";
|
|
11
11
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
12
|
-
import
|
|
13
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
14
|
-
import { useRouteMatch } from "react-router";
|
|
15
|
-
import { useUnit } from "@voplus/morpho-org";
|
|
12
|
+
import "./index.less";
|
|
16
13
|
const ShareCertificateDefaultView = () => {
|
|
17
|
-
const [asideContext] = useState(AsideContent.createContext());
|
|
18
14
|
const match = useRouteMatch();
|
|
19
15
|
const id = match.params.id;
|
|
20
|
-
const
|
|
21
|
-
// const ShareCertificate = useShareCertificate()
|
|
22
|
-
const ShareCertificate = {
|
|
23
|
-
corporateId: "",
|
|
24
|
-
memberId: "2d582fc8-6b9c-434f-bc39-0175bf19dc06",
|
|
25
|
-
number: 1000256,
|
|
26
|
-
class: "Preferred stock",
|
|
27
|
-
currency: "SGD",
|
|
28
|
-
consideration: 156969,
|
|
29
|
-
paid: 10000,
|
|
30
|
-
status: "Cancelled",
|
|
31
|
-
};
|
|
32
|
-
const unit = useUnit("2d582fc8-6b9c-434f-bc39-0175bf19dc06");
|
|
16
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
33
17
|
useEffect(() => {
|
|
34
18
|
asideContext.openAside(AsideElement, { span: 12 });
|
|
35
19
|
}, []);
|
|
@@ -41,25 +25,12 @@ const ShareCertificateDefaultView = () => {
|
|
|
41
25
|
? asideContext.closeAside()
|
|
42
26
|
: asideContext.openAside(AsideElement, { span: 12 }) }),
|
|
43
27
|
React.createElement(Archive, null)), descriptionVisible: false }),
|
|
44
|
-
React.createElement(DescriptionEditor, { id: id,
|
|
45
|
-
// description={work.description}
|
|
46
|
-
// readonly={work.readonly}
|
|
47
|
-
padding: "0 0 0.75rem 0" }),
|
|
48
28
|
React.createElement(Tabs, null,
|
|
49
29
|
React.createElement(Tabs.TabPane, { tab: "Details", key: "Details" },
|
|
50
|
-
React.createElement(
|
|
51
|
-
|
|
52
|
-
React.createElement(Descriptions.Item, { label: "Member" },
|
|
53
|
-
React.createElement(Button, { type: "link", onClick: () => layout.history.push(`/member/${ShareCertificate.memberId}`), style: { padding: "0" } }, unit.name)),
|
|
54
|
-
React.createElement(Descriptions.Item, { label: "Number" }, ShareCertificate.number),
|
|
55
|
-
React.createElement(Descriptions.Item, { label: "Type" }, ShareCertificate.class),
|
|
56
|
-
React.createElement(Descriptions.Item, { label: "Currency" }, ShareCertificate.currency),
|
|
57
|
-
React.createElement(Descriptions.Item, { label: "Consideration" }, ShareCertificate.consideration),
|
|
58
|
-
React.createElement(Descriptions.Item, { label: "Paid" }, ShareCertificate.paid),
|
|
59
|
-
React.createElement(Descriptions.Item, { label: "Status" }, ShareCertificate.status === "Cancelled" ? "Cancelled" : "Normal")))),
|
|
60
|
-
React.createElement(Tabs.TabPane, { tab: "Certificate", key: "Certificate" },
|
|
30
|
+
React.createElement(ShareCertificateProperties, { id: id })),
|
|
31
|
+
React.createElement(Tabs.TabPane, { tab: "Certificate", key: "Certificate", disabled: true },
|
|
61
32
|
React.createElement("div", { className: "certificate-tab-pane" },
|
|
62
|
-
React.createElement(PDFFileViewer, { id: "
|
|
33
|
+
React.createElement(PDFFileViewer, { id: "1baf8aaf-ece7-4e59-a188-af0a0090815d" }))))))));
|
|
63
34
|
};
|
|
64
35
|
export default ShareCertificateDefaultView;
|
|
65
36
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,0BAA0B,MAAM,6CAA6C,CAAC;AACrF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,aAAa,MAAM,sDAAsD,CAAC;AACjF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,cAAc,CAAC;AAEtB,MAAM,2BAA2B,GAAG,GAAG,EAAE;IACxC,MAAM,KAAK,GAAG,aAAa,EAAkB,CAAC;IAC9C,MAAM,EAAE,GAAG,KAAK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AAE,sCAAsC,GAAI,CACxD,CACQ,CACT,CACF,CACQ,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.share-certificate-default-view {
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.ant-descriptions-item-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
:global {
|
|
2
|
+
.share-certificate-default-view {
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
|
|
5
|
+
.share-certificate-content {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.ant-descriptions {
|
|
10
|
+
margin: 15px 20px;
|
|
11
|
+
|
|
12
|
+
.ant-descriptions-item-label,
|
|
13
|
+
.ant-descriptions-item-content {
|
|
14
|
+
line-height: 30px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ant-descriptions-item-label {
|
|
18
|
+
width: 150px;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ant-tabs-nav {
|
|
25
|
+
padding-left: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.certificate-tab-pane {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
height: 100%;
|
|
32
|
+
padding: 15px;
|
|
33
|
+
background-color: #f2f2f2;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShareTransactionType } from "../../../../../data/
|
|
1
|
+
import { ShareTransactionType } from "../../../../../data/share-transaction/types/ShareTransactionType";
|
|
2
2
|
export declare class State {
|
|
3
3
|
name: string;
|
|
4
4
|
type: ShareTransactionType;
|
|
@@ -4,13 +4,12 @@ import { Scrollbars } from "react-custom-scrollbars";
|
|
|
4
4
|
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
5
5
|
import { Skeleton } from "@voplus/antd";
|
|
6
6
|
import { observe } from "@voplus/morpho-ui";
|
|
7
|
-
import { useShareTransaction } from "
|
|
8
|
-
import
|
|
9
|
-
import CurrencyView from "../../../../../../components/CurrencyView";
|
|
7
|
+
import { useShareTransaction, useShareTransactionStore } from "../../data/share-transaction";
|
|
8
|
+
import CurrencyView from "../../components/CurrencyView";
|
|
10
9
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
11
10
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
|
12
11
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
13
|
-
import ShareTransactionItems from "
|
|
12
|
+
import ShareTransactionItems from "../../modules/corporate/company/share-transactions-register/components/ShareTransactionItems";
|
|
14
13
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
15
14
|
import moment from "moment";
|
|
16
15
|
import "./index.less";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../src/obsolete/ShareTransactionPropertiesView/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,qDA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ACnC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CACtB,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEvE,CACG,CACD,CACN;YACA,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC3B,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;gBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,qBAAqB,IAAC,IAAI,EAAE,gBAAgB,GAAI,CACjD;YACA,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC3B,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;gBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,gBAAgB,CAAC,WAAW,EACzC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,OAAO,EAAC,WAAW,GAClB,CACF,CACI,CACM,CACb,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare const ShareTransactionPropertiesView: {
|
|
4
|
+
(props: {
|
|
5
|
+
id: string;
|
|
6
|
+
memberId?: string;
|
|
7
|
+
content?: boolean;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
content: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default ShareTransactionPropertiesView;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import Content from "./Content";
|
|
3
|
+
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
const ShareTransactionPropertiesView = (props) => {
|
|
7
|
+
const { id, memberId, content } = props;
|
|
8
|
+
return observe(() => (React.createElement("div", { className: "csp-default-view_aside" },
|
|
9
|
+
React.createElement(DocumentTabs, { id: id, details: content && React.createElement(Content, { id: id, memberId: memberId }) }))));
|
|
10
|
+
};
|
|
11
|
+
ShareTransactionPropertiesView.defaultProps = {
|
|
12
|
+
content: true,
|
|
13
|
+
};
|
|
14
|
+
export default ShareTransactionPropertiesView;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/ShareTransactionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,8BAA8B,GAAG,CAAC,KAIvC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAExC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,wBAAwB;QACtC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,IAAI,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAI,GAAI,CAChF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,8BAA8B,CAAC,YAAY,GAAG;IAC7C,OAAO,EAAE,IAAI;CACb,CAAC;AACF,eAAe,8BAA8B,CAAC"}
|