@voplus/morpho-document 6.1.52 → 6.1.53
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/components/DocumentListCard/index.d.ts +1 -1
- package/es/components/DocumentListCard/index.js +3 -2
- package/es/components/DocumentListCard/index.js.map +1 -1
- package/es/components/DocumentListCard/index.less +9 -0
- package/es/components/LinkListCard/index.d.ts +5 -0
- package/es/components/LinkListCard/index.js +10 -0
- package/es/components/LinkListCard/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IDocument, DocumentListProps } from "@voplus/morpho-document-core";
|
|
3
3
|
import { FilterOption } from "@voplus/morpho-data";
|
|
4
|
+
import "./index.less";
|
|
4
5
|
declare const DocumentListCard: {
|
|
5
6
|
(props: {
|
|
6
7
|
style?: React.CSSProperties /** Shortcut filter */;
|
|
@@ -18,7 +19,6 @@ declare const DocumentListCard: {
|
|
|
18
19
|
}>;
|
|
19
20
|
} & DocumentListProps): React.JSX.Element;
|
|
20
21
|
defaultProps: {
|
|
21
|
-
multiple: boolean;
|
|
22
22
|
total: boolean;
|
|
23
23
|
exclude: string[];
|
|
24
24
|
};
|
|
@@ -2,12 +2,13 @@ import React from "react";
|
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
|
|
4
4
|
import DocumentList from "../DocumentList";
|
|
5
|
+
import "./index.less";
|
|
5
6
|
const DocumentListCard = (props) => {
|
|
6
|
-
return observe(() => (React.createElement(ListCard, { style: props.style },
|
|
7
|
+
return observe(() => (React.createElement(ListCard, { style: props.style, title: "Document List", className: "document-list-card" },
|
|
7
8
|
React.createElement(DocumentList, { ...props, openAddType: "dialog" }))));
|
|
8
9
|
};
|
|
9
10
|
DocumentListCard.defaultProps = {
|
|
10
|
-
multiple: true,
|
|
11
|
+
// multiple: true,
|
|
11
12
|
total: false,
|
|
12
13
|
exclude: ["IncorporationCLDA", "Quotation"],
|
|
13
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DocumentListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,YAAY,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DocumentListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CACxB,KAWqB,EACpB,EAAE;IACH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAC,eAAe,EAAC,SAAS,EAAC,oBAAoB;QACjF,oBAAC,YAAY,OAAK,KAAK,EAAE,WAAW,EAAC,QAAQ,GAAG,CACtC,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,kBAAkB;IAClB,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,CAAC,mBAAmB,EAAE,WAAW,CAAC;CAC3C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import Links from "../Links";
|
|
4
|
+
import ListCard from "@voplus/morpho-ui/es/controls/ListCard";
|
|
5
|
+
const LinkListCard = (props) => {
|
|
6
|
+
return observe(() => (React.createElement(ListCard, { title: "Link List" },
|
|
7
|
+
React.createElement(Links, { id: props.id, isTitle: false }))));
|
|
8
|
+
};
|
|
9
|
+
export default LinkListCard;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/LinkListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAE9D,MAAM,YAAY,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,KAAK,EAAC,WAAW;QAC1B,oBAAC,KAAK,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI,CAC7B,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|