@antv/gpt-vis 0.0.3 → 0.0.4
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.
|
@@ -34,7 +34,7 @@ __export(ChartCodeRender_exports, {
|
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(ChartCodeRender_exports);
|
|
36
36
|
var import_icons = require("@ant-design/icons");
|
|
37
|
-
var
|
|
37
|
+
var import_lodash = require("lodash");
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
39
|
var import_constants = require("../constants");
|
|
40
40
|
var import_index = require("./index.css");
|
|
@@ -111,7 +111,7 @@ var withChartCode = (options) => {
|
|
|
111
111
|
var withDefaultChartCode = (options) => {
|
|
112
112
|
return withChartCode({
|
|
113
113
|
...options,
|
|
114
|
-
components: [import_constants.DEFAULT_CHART_COMPONENTS, ...(0,
|
|
114
|
+
components: [import_constants.DEFAULT_CHART_COMPONENTS, ...(0, import_lodash.get)(options, "components", [])]
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
|
5
5
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
6
6
|
var _excluded = ["children", "className", "node"];
|
|
7
7
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
8
|
-
import { get } from 'lodash
|
|
8
|
+
import { get } from 'lodash';
|
|
9
9
|
import React, { useRef, useState } from 'react';
|
|
10
10
|
import { DEFAULT_CHART_COMPONENTS } from "../constants";
|
|
11
11
|
import "./index.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/gpt-vis",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "A chart library for LLM Agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@antv/l7": "^2.22.0",
|
|
60
60
|
"@antv/larkmap": "^1.4.17",
|
|
61
61
|
"@babel/runtime": "^7.18.0",
|
|
62
|
-
"lodash
|
|
62
|
+
"lodash": "^4.17.21",
|
|
63
63
|
"react-markdown": "^9.0.1",
|
|
64
64
|
"rehype-raw": "^7.0.0",
|
|
65
65
|
"styled-components": "^6.0.7"
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
"@testing-library/jest-dom": "^5.1.1",
|
|
74
74
|
"@testing-library/react": "^15.0.0",
|
|
75
75
|
"@types/jest": "^29.4.0",
|
|
76
|
-
"@types/lodash-es": "^4.17.12",
|
|
77
76
|
"@types/react": "^18.0.0",
|
|
78
77
|
"antd": "^5.0.0",
|
|
79
78
|
"husky": "^8.0.0",
|