react-kggraph 0.0.22 → 0.0.24
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/lib/index.es10.js +20 -19
- package/lib/index.es14.js +39 -41
- package/lib/index.es16.js +20 -20
- package/lib/index.es17.js +42 -0
- package/lib/index.es18.js +3 -15466
- package/lib/index.es19.js +2 -54
- package/lib/index.es21.js +15461 -63
- package/lib/index.es22.js +53 -39
- package/lib/index.es23.js +60 -2
- package/lib/index.es24.js +69 -2
- package/lib/index.es25.js +2 -2
- package/lib/index.es26.js +2 -2
- package/lib/index.es27.js +1 -1
- package/lib/index.es28.js +1 -1
- package/lib/index.es29.js +1 -1
- package/lib/index.es3.js +100 -97
- package/lib/index.es30.js +1 -1
- package/lib/index.es31.js +1 -1
- package/lib/index.es32.js +1 -1
- package/lib/index.es33.js +2 -2
- package/lib/index.es34.js +4 -0
- package/lib/index.es35.js +2 -4
- package/lib/index.es37.js +66 -0
- package/lib/index.es38.js +1049 -0
- package/lib/index.es4.js +13 -9
- package/lib/index.es42.js +21 -0
- package/lib/index.es43.js +43 -0
- package/lib/index.es44.js +42 -0
- package/lib/index.es45.js +91 -0
- package/lib/index.es46.js +58 -0
- package/lib/index.es47.js +33 -0
- package/lib/index.es49.js +72 -0
- package/lib/index.es7.js +305 -305
- package/lib/index.es8.js +11 -11
- package/lib/src/components/Graph/components/ActionBar/actionList.d.ts +4 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/AudioSection.d.ts +12 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/DocumentSection.d.ts +12 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/ImageSection.d.ts +12 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/ListCard.d.ts +14 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/PropertySection.d.ts +11 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/RelationSection.d.ts +13 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/SourceCard.d.ts +6 -0
- package/lib/src/components/Graph/components/KnowledgeCard/components/VideoSection.d.ts +12 -0
- package/lib/src/components/Graph/components/KnowledgeCard/data.d.ts +84 -0
- package/lib/src/components/Graph/types.d.ts +7 -1
- package/lib/src/components/Graph/utils/edge_node_styles.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/index.es20.js +0 -62
- package/lib/index.es36.js +0 -4
package/lib/index.es19.js
CHANGED
|
@@ -1,56 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { Form as c, Select as d, Input as u, Button as y } from "antd";
|
|
3
|
-
import { CloseOutlined as C } from "@ant-design/icons";
|
|
4
|
-
/* empty css */
|
|
5
|
-
const x = ({ searchChange: o, isVisible: s, closeQuery: i }) => {
|
|
6
|
-
const t = c.Item, r = d.Option, a = (l) => {
|
|
7
|
-
console.log(l);
|
|
8
|
-
}, p = (l) => {
|
|
9
|
-
console.log(l), o && o(l);
|
|
10
|
-
}, h = () => {
|
|
11
|
-
i && i(!1);
|
|
12
|
-
};
|
|
13
|
-
return /* @__PURE__ */ e(m, { children: s && /* @__PURE__ */ n("div", { className: "query-node z-10", children: [
|
|
14
|
-
/* @__PURE__ */ n("div", { className: "title", children: [
|
|
15
|
-
/* @__PURE__ */ e("span", { children: "查询节点" }),
|
|
16
|
-
/* @__PURE__ */ e(C, { onClick: () => h() })
|
|
17
|
-
] }),
|
|
18
|
-
/* @__PURE__ */ n(
|
|
19
|
-
c,
|
|
20
|
-
{
|
|
21
|
-
onFinish: p,
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ e(
|
|
24
|
-
t,
|
|
25
|
-
{
|
|
26
|
-
id: "select",
|
|
27
|
-
label: "查询类型:",
|
|
28
|
-
labelCol: { span: 6 },
|
|
29
|
-
name: "id",
|
|
30
|
-
wrapperCol: { span: 14 },
|
|
31
|
-
children: /* @__PURE__ */ n(d, { id: "select", placeholder: "请选择", style: { width: 200 }, onChange: a, children: [
|
|
32
|
-
/* @__PURE__ */ e(r, { value: "id", select: !0, children: "id" }),
|
|
33
|
-
/* @__PURE__ */ e(r, { value: "名称", children: "名称" })
|
|
34
|
-
] })
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ e(
|
|
38
|
-
t,
|
|
39
|
-
{
|
|
40
|
-
id: "control-input",
|
|
41
|
-
label: "查询类容:",
|
|
42
|
-
labelCol: { span: 6 },
|
|
43
|
-
name: "content",
|
|
44
|
-
wrapperCol: { span: 14 },
|
|
45
|
-
children: /* @__PURE__ */ e(u, { id: "control-input", placeholder: "请输入", style: { width: 200 } })
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ e(t, { label: null, style: { textAlign: "center" }, children: /* @__PURE__ */ e(y, { type: "primary", htmlType: "submit", children: "查询" }) })
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
] }) });
|
|
53
|
-
};
|
|
1
|
+
var s = { exports: {} };
|
|
54
2
|
export {
|
|
55
|
-
|
|
3
|
+
s as __module
|
|
56
4
|
};
|