@antv/antv-spec
Advanced tools
Comparing version 0.1.0-alpha.6 to 0.1.0-alpha.7
{ | ||
"name": "@antv/antv-spec", | ||
"version": "0.1.0-alpha.6", | ||
"version": "0.1.0-alpha.7", | ||
"description": "A declarative grammar that supports various technology stacks of AntV.", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
import { ChartAntVSpec } from '@src/schema'; | ||
import { g2plotRender } from './render'; | ||
export declare const specToG2Plot: (spec: ChartAntVSpec, container: HTMLElement) => import("@antv/g2plot").Line | import("@antv/g2plot").Area | import("@antv/g2plot").Column | import("@antv/g2plot").Bar | import("@antv/g2plot").Pie | import("@antv/g2plot").Rose | import("@antv/g2plot").Scatter | import("@antv/g2plot").Histogram | import("@antv/g2plot").Heatmap; | ||
export { g2plotRender }; |
@@ -14,2 +14,3 @@ import { specToG2PlotConfig } from './toConfig'; | ||
}; | ||
export { g2plotRender }; | ||
//# sourceMappingURL=index.js.map |
import { GraphAntVSpec } from '@src/schema'; | ||
import { g6Render } from './render'; | ||
export declare const specToG6Plot: (spec: GraphAntVSpec, container: HTMLElement) => import("_@antv_g6-pc@0.3.11@@antv/g6-pc").Graph; | ||
export { g6Render }; |
@@ -14,2 +14,3 @@ import { specToG6Config } from './toConfig'; | ||
}; | ||
export { g6Render }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
const DEFAULT_WIDTH = 400; | ||
const DEFAULT_HEIGHT = 300; | ||
const DEFAULT_WIDTH = 1000; | ||
const DEFAULT_HEIGHT = 600; | ||
/** Linear scale */ | ||
@@ -4,0 +4,0 @@ const linearScaleMap = (scale, x) => { |
@@ -1,4 +0,4 @@ | ||
export { specToG2Plot } from './g2plot'; | ||
export { specToG2Plot, g2plotRender } from './g2plot'; | ||
export { specToG2PlotConfig } from './g2plot/toConfig'; | ||
export { specToG6Plot } from './g6'; | ||
export { specToG6Plot, g6Render } from './g6'; | ||
export { specToG6Config } from './g6/toConfig'; |
@@ -1,5 +0,5 @@ | ||
export { specToG2Plot } from './g2plot'; | ||
export { specToG2Plot, g2plotRender } from './g2plot'; | ||
export { specToG2PlotConfig } from './g2plot/toConfig'; | ||
export { specToG6Plot } from './g6'; | ||
export { specToG6Plot, g6Render } from './g6'; | ||
export { specToG6Config } from './g6/toConfig'; | ||
//# sourceMappingURL=index.js.map |
export declare const version: string; | ||
export * from './schema'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config } from './adaptor'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config, g2plotRender, g6Render } from './adaptor'; |
import pkg from '../package.json'; | ||
export const { version } = pkg; | ||
export * from './schema'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config } from './adaptor'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config, g2plotRender, g6Render } from './adaptor'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@antv/antv-spec", | ||
"version": "0.1.0-alpha.6", | ||
"version": "0.1.0-alpha.7", | ||
"description": "A declarative grammar that supports various technology stacks of AntV.", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
import { ChartAntVSpec } from '@src/schema'; | ||
import { g2plotRender } from './render'; | ||
export declare const specToG2Plot: (spec: ChartAntVSpec, container: HTMLElement) => import("@antv/g2plot").Line | import("@antv/g2plot").Area | import("@antv/g2plot").Column | import("@antv/g2plot").Bar | import("@antv/g2plot").Pie | import("@antv/g2plot").Rose | import("@antv/g2plot").Scatter | import("@antv/g2plot").Histogram | import("@antv/g2plot").Heatmap; | ||
export { g2plotRender }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.specToG2Plot = void 0; | ||
exports.g2plotRender = exports.specToG2Plot = void 0; | ||
const toConfig_1 = require("./toConfig"); | ||
const render_1 = require("./render"); | ||
Object.defineProperty(exports, "g2plotRender", { enumerable: true, get: function () { return render_1.g2plotRender; } }); | ||
const specToG2Plot = (spec, container) => { | ||
@@ -7,0 +8,0 @@ const g2plotConfig = (0, toConfig_1.specToG2PlotConfig)(spec); |
import { GraphAntVSpec } from '@src/schema'; | ||
import { g6Render } from './render'; | ||
export declare const specToG6Plot: (spec: GraphAntVSpec, container: HTMLElement) => import("_@antv_g6-pc@0.3.11@@antv/g6-pc").Graph; | ||
export { g6Render }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.specToG6Plot = void 0; | ||
exports.g6Render = exports.specToG6Plot = void 0; | ||
const toConfig_1 = require("./toConfig"); | ||
const render_1 = require("./render"); | ||
Object.defineProperty(exports, "g6Render", { enumerable: true, get: function () { return render_1.g6Render; } }); | ||
const specToG6Plot = (spec, container) => { | ||
@@ -7,0 +8,0 @@ const g6Config = (0, toConfig_1.specToG6Config)(spec); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.specToG6Config = void 0; | ||
const DEFAULT_WIDTH = 400; | ||
const DEFAULT_HEIGHT = 300; | ||
const DEFAULT_WIDTH = 1000; | ||
const DEFAULT_HEIGHT = 600; | ||
/** Linear scale */ | ||
@@ -7,0 +7,0 @@ const linearScaleMap = (scale, x) => { |
@@ -1,4 +0,4 @@ | ||
export { specToG2Plot } from './g2plot'; | ||
export { specToG2Plot, g2plotRender } from './g2plot'; | ||
export { specToG2PlotConfig } from './g2plot/toConfig'; | ||
export { specToG6Plot } from './g6'; | ||
export { specToG6Plot, g6Render } from './g6'; | ||
export { specToG6Config } from './g6/toConfig'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.specToG6Config = exports.specToG6Plot = exports.specToG2PlotConfig = exports.specToG2Plot = void 0; | ||
exports.specToG6Config = exports.g6Render = exports.specToG6Plot = exports.specToG2PlotConfig = exports.g2plotRender = exports.specToG2Plot = void 0; | ||
var g2plot_1 = require("./g2plot"); | ||
Object.defineProperty(exports, "specToG2Plot", { enumerable: true, get: function () { return g2plot_1.specToG2Plot; } }); | ||
Object.defineProperty(exports, "g2plotRender", { enumerable: true, get: function () { return g2plot_1.g2plotRender; } }); | ||
var toConfig_1 = require("./g2plot/toConfig"); | ||
@@ -10,4 +11,5 @@ Object.defineProperty(exports, "specToG2PlotConfig", { enumerable: true, get: function () { return toConfig_1.specToG2PlotConfig; } }); | ||
Object.defineProperty(exports, "specToG6Plot", { enumerable: true, get: function () { return g6_1.specToG6Plot; } }); | ||
Object.defineProperty(exports, "g6Render", { enumerable: true, get: function () { return g6_1.g6Render; } }); | ||
var toConfig_2 = require("./g6/toConfig"); | ||
Object.defineProperty(exports, "specToG6Config", { enumerable: true, get: function () { return toConfig_2.specToG6Config; } }); | ||
//# sourceMappingURL=index.js.map |
export declare const version: string; | ||
export * from './schema'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config } from './adaptor'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config, g2plotRender, g6Render } from './adaptor'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.specToG6Config = exports.specToG2PlotConfig = exports.specToG6Plot = exports.specToG2Plot = exports.version = void 0; | ||
exports.g6Render = exports.g2plotRender = exports.specToG6Config = exports.specToG2PlotConfig = exports.specToG6Plot = exports.specToG2Plot = exports.version = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -13,2 +13,4 @@ const package_json_1 = (0, tslib_1.__importDefault)(require("../package.json")); | ||
Object.defineProperty(exports, "specToG6Config", { enumerable: true, get: function () { return adaptor_1.specToG6Config; } }); | ||
Object.defineProperty(exports, "g2plotRender", { enumerable: true, get: function () { return adaptor_1.g2plotRender; } }); | ||
Object.defineProperty(exports, "g6Render", { enumerable: true, get: function () { return adaptor_1.g6Render; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@antv/antv-spec", | ||
"version": "0.1.0-alpha.6", | ||
"version": "0.1.0-alpha.7", | ||
"description": "A declarative grammar that supports various technology stacks of AntV.", | ||
@@ -5,0 +5,0 @@ "main": "lib/src/index.js", |
@@ -19,1 +19,3 @@ import { ChartAntVSpec } from '@src/schema'; | ||
}; | ||
export { g2plotRender }; |
@@ -18,1 +18,3 @@ import { GraphAntVSpec } from '@src/schema'; | ||
}; | ||
export { g6Render }; |
import { GraphAntVSpec } from '../..'; | ||
const DEFAULT_WIDTH = 400; | ||
const DEFAULT_HEIGHT = 300; | ||
const DEFAULT_WIDTH = 1000; | ||
const DEFAULT_HEIGHT = 600; | ||
@@ -6,0 +6,0 @@ /** Linear scale */ |
@@ -1,4 +0,4 @@ | ||
export { specToG2Plot } from './g2plot'; | ||
export { specToG2Plot, g2plotRender } from './g2plot'; | ||
export { specToG2PlotConfig } from './g2plot/toConfig'; | ||
export { specToG6Plot } from './g6'; | ||
export { specToG6Plot, g6Render } from './g6'; | ||
export { specToG6Config } from './g6/toConfig'; |
@@ -6,2 +6,2 @@ import pkg from '../package.json'; | ||
export * from './schema'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config } from './adaptor'; | ||
export { specToG2Plot, specToG6Plot, specToG2PlotConfig, specToG6Config, g2plotRender, g6Render } from './adaptor'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
274595
6868
1