diff --git a/packages/core/client/package.json b/packages/core/client/package.json index 5c3ee260c..79f865abf 100644 --- a/packages/core/client/package.json +++ b/packages/core/client/package.json @@ -12,6 +12,7 @@ "module": "es/index.js", "typings": "es/index.d.ts", "dependencies": { + "@antv/g2plot": "^2.4.18", "@dnd-kit/core": "^5.0.1", "@dnd-kit/sortable": "^6.0.0", "@emotion/css": "^11.7.1", diff --git a/packages/core/client/src/locale/zh_CN.ts b/packages/core/client/src/locale/zh_CN.ts index 5e5f2dc99..17d5ff0b5 100644 --- a/packages/core/client/src/locale/zh_CN.ts +++ b/packages/core/client/src/locale/zh_CN.ts @@ -58,11 +58,18 @@ export default { "Media": "多媒体", "Markdown": "Markdown", "Wysiwyg": "富文本", - "Charts": "图表", + "Chart blocks": "图表区块", "Column chart": "柱状图", "Bar chart": "条形图", "Line chart": "折线图", "Pie chart": "饼图", + "Area chart": "面积图", + "Other chart": "其他图表", + "Other blocks": "其他区块", + "In configuration": "配置中", + "Chart title": "图表标题", + "Chart type": "图表类型", + "Chart config": "图表配置", "Templates": "模板", "Select template": "选择模板", "Action logs": "操作日志", diff --git a/packages/core/client/src/schema-component/antd/g2plot/G2Plot.tsx b/packages/core/client/src/schema-component/antd/g2plot/G2Plot.tsx new file mode 100644 index 000000000..d81f38299 --- /dev/null +++ b/packages/core/client/src/schema-component/antd/g2plot/G2Plot.tsx @@ -0,0 +1,73 @@ +import { Area, Bar, Column, Line, Pie } from '@antv/g2plot'; +import { observer, useField } from '@formily/react'; +import cls from 'classnames'; +import React, { forwardRef, useEffect, useRef } from 'react'; +import { useTranslation } from 'react-i18next'; +import { G2PlotDesigner } from './G2PlotDesigner'; + +export type ReactG2PlotProps = { + readonly className?: string; + readonly plot: any; + readonly config: O; +}; + +const plots = { Area, Column, Line, Pie, Bar }; + +export const G2PlotRenderer = forwardRef(function (props: ReactG2PlotProps, ref: any) { + const { className, plot, config } = props; + + const containerRef = useRef(undefined); + const plotRef = useRef(undefined); + + function syncRef(source, target) { + if (typeof target === 'function') { + target(source.current); + } else if (target) { + target.current = source.current; + } + } + + function renderPlot() { + if (plotRef.current) { + plotRef.current.update(config); + } else { + plotRef.current = new plot(containerRef.current, config); + plotRef.current.render(); + } + + syncRef(plotRef, ref); + } + + function destoryPlot() { + if (plotRef.current) { + plotRef.current.destroy(); + plotRef.current = undefined; + } + } + + useEffect(() => { + renderPlot(); + + return () => destoryPlot(); + }, [config, plot]); + + return
; +}); + +export const G2Plot: any = observer((props: any) => { + const { plot, config } = props; + const field = useField(); + const { t } = useTranslation(); + if (!plot || !config) { + return
{t('In configuration')}...
+ } + return ( +
+ {field.title &&

{field.title}

} + +
+ ); +}); + +G2Plot.Designer = G2PlotDesigner; +G2Plot.plots = plots; diff --git a/packages/core/client/src/schema-component/antd/g2plot/G2PlotDesigner.tsx b/packages/core/client/src/schema-component/antd/g2plot/G2PlotDesigner.tsx new file mode 100644 index 000000000..ba5b9b4d6 --- /dev/null +++ b/packages/core/client/src/schema-component/antd/g2plot/G2PlotDesigner.tsx @@ -0,0 +1,95 @@ +import { ISchema, useField, useFieldSchema } from '@formily/react'; +import React from 'react'; +import { useTranslation } from 'react-i18next'; +import { GeneralSchemaDesigner, SchemaSettings } from '../../../schema-settings'; +import { useCompile, useDesignable } from '../../hooks'; + +const validateJSON = { + validator: `{{(value, rule)=> { + if (!value) { + return ''; + } + try { + const val = JSON.parse(value); + if(!isNaN(val)) { + return false; + } + return true; + } catch(error) { + console.error(error); + return false; + } + }}}`, + message: '{{t("Invalid JSON format")}}', +}; + +export const G2PlotDesigner = () => { + const { t } = useTranslation(); + const { dn } = useDesignable(); + const fieldSchema = useFieldSchema(); + const field = useField(); + const compile = useCompile(); + return ( + + { + field.title = compile(title); + field.componentProps.plot = plot; + field.componentProps.config = compile(JSON.parse(config)); + fieldSchema.title = title; + fieldSchema['x-component-props']['plot'] = plot; + fieldSchema['x-component-props']['config'] = JSON.parse(config); + dn.emit('patch', { + schema: { + 'x-uid': fieldSchema['x-uid'], + 'x-component-props': fieldSchema['x-component-props'], + }, + }); + dn.refresh(); + }} + /> + + + + ); +}; diff --git a/packages/core/client/src/schema-component/antd/g2plot/index.ts b/packages/core/client/src/schema-component/antd/g2plot/index.ts new file mode 100644 index 000000000..c3dc4811c --- /dev/null +++ b/packages/core/client/src/schema-component/antd/g2plot/index.ts @@ -0,0 +1 @@ +export * from './G2Plot'; diff --git a/packages/core/client/src/schema-component/antd/index.ts b/packages/core/client/src/schema-component/antd/index.ts index 1b7930687..d4ca4432f 100644 --- a/packages/core/client/src/schema-component/antd/index.ts +++ b/packages/core/client/src/schema-component/antd/index.ts @@ -11,6 +11,8 @@ export * from './filter'; export * from './form'; export * from './form-item'; export * from './form-v2'; +export * from './formula-input'; +export * from './g2plot'; export * from './grid'; export * from './icon-picker'; export * from './input'; @@ -21,6 +23,7 @@ export * from './menu'; export * from './page'; export * from './pagination'; export * from './password'; +export * from './percent'; export * from './radio'; export * from './record-picker'; export * from './rich-text'; @@ -32,6 +35,4 @@ export * from './tabs'; export * from './time-picker'; export * from './tree-select'; export * from './upload'; -export * from './formula-input'; -export * from './percent'; import './index.less'; diff --git a/packages/core/client/src/schema-initializer/SchemaInitializer.tsx b/packages/core/client/src/schema-initializer/SchemaInitializer.tsx index 36194a3ee..e21a784c3 100644 --- a/packages/core/client/src/schema-initializer/SchemaInitializer.tsx +++ b/packages/core/client/src/schema-initializer/SchemaInitializer.tsx @@ -9,7 +9,7 @@ import { SchemaInitializerButtonProps, SchemaInitializerItemComponent, SchemaInitializerItemOptions, - SchemaInitializerItemProps, + SchemaInitializerItemProps } from './types'; const defaultWrap = (s: ISchema) => s; @@ -141,7 +141,7 @@ SchemaInitializer.Button = observer((props: SchemaInitializerButtonProps) => { SchemaInitializer.Item = (props: SchemaInitializerItemProps) => { const { index, info } = useContext(SchemaInitializerItemContext); const compile = useCompile(); - const { items = [], children = info?.title, icon, onClick, ...others } = props; + const { eventKey, items = [], children = info?.title, icon, onClick, ...others } = props; if (items?.length > 0) { const renderMenuItem = (items: SchemaInitializerItemOptions[]) => { if (!items?.length) { @@ -164,6 +164,7 @@ SchemaInitializer.Item = (props: SchemaInitializerItemProps) => { ); } if (item.type === 'subMenu') { + console.log('item.key', item.key); return ( { }); }; return ( - // @ts-ignore - + : icon} + > {renderMenuItem(items)} ); } return ( : icon} onClick={(opts) => { onClick({ ...opts, item: info }); }} diff --git a/packages/core/client/src/schema-initializer/buttons/BlockInitializers.tsx b/packages/core/client/src/schema-initializer/buttons/BlockInitializers.tsx index a7a83a895..b7f0571b5 100644 --- a/packages/core/client/src/schema-initializer/buttons/BlockInitializers.tsx +++ b/packages/core/client/src/schema-initializer/buttons/BlockInitializers.tsx @@ -1,4 +1,5 @@ import { gridRowColWrap } from '../utils'; +import * as chartConfig from './chart-config'; // 页面里添加区块 export const BlockInitializers = { @@ -43,10 +44,119 @@ export const BlockInitializers = { }, ], }, + { + key: 'g2plot', + type: 'itemGroup', + title: '{{t("Chart blocks")}}', + children: [ + { + key: 'column', + type: 'item', + title: '{{t("Column chart")}}', + component: 'G2PlotInitializer', + icon: 'BarChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + plot: 'Column', + config: chartConfig.column, + }, + }, + }, + { + key: 'bar', + type: 'item', + title: '{{t("Bar chart")}}', + component: 'G2PlotInitializer', + icon: 'BarChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + plot: 'Bar', + config: chartConfig.bar, + }, + }, + }, + { + key: 'line', + type: 'item', + title: '{{t("Line chart")}}', + component: 'G2PlotInitializer', + icon: 'LineChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + plot: 'Line', + config: chartConfig.line, + }, + }, + }, + { + key: 'pie', + type: 'item', + title: '{{t("Pie chart")}}', + component: 'G2PlotInitializer', + icon: 'PieChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + plot: 'Pie', + config: chartConfig.pie, + }, + }, + }, + { + key: 'area', + type: 'item', + title: '{{t("Area chart")}}', + component: 'G2PlotInitializer', + icon: 'AreaChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + plot: 'Area', + config: chartConfig.area, + }, + }, + }, + { + key: 'other', + type: 'item', + title: '{{t("Other chart")}}', + component: 'G2PlotInitializer', + icon: 'AreaChartOutlined', + schema: { + type: 'void', + 'x-designer': 'G2Plot.Designer', + 'x-decorator': 'CardItem', + 'x-component': 'G2Plot', + 'x-component-props': { + // plot: 'Area', + // config: {}, + }, + }, + }, + ], + }, { key: 'media', type: 'itemGroup', - title: '{{t("Media")}}', + title: '{{t("Other blocks")}}', children: [ { key: 'markdown', diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/area.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/area.ts new file mode 100644 index 000000000..f6e692060 --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/area.ts @@ -0,0 +1,237 @@ +export const area = { + data: [ + { + timePeriod: '2006 Q3', + value: 1, + }, + { + timePeriod: '2006 Q4', + value: 1.08, + }, + { + timePeriod: '2007 Q1', + value: 1.17, + }, + { + timePeriod: '2007 Q2', + value: 1.26, + }, + { + timePeriod: '2007 Q3', + value: 1.34, + }, + { + timePeriod: '2007 Q4', + value: 1.41, + }, + { + timePeriod: '2008 Q1', + value: 1.52, + }, + { + timePeriod: '2008 Q2', + value: 1.67, + }, + { + timePeriod: '2008 Q3', + value: 1.84, + }, + { + timePeriod: '2008 Q4', + value: 2.07, + }, + { + timePeriod: '2009 Q1', + value: 2.39, + }, + { + timePeriod: '2009 Q2', + value: 2.71, + }, + { + timePeriod: '2009 Q3', + value: 3.03, + }, + { + timePeriod: '2009 Q4', + value: 3.33, + }, + { + timePeriod: '2010 Q1', + value: 3.5, + }, + { + timePeriod: '2010 Q2', + value: 3.37, + }, + { + timePeriod: '2010 Q3', + value: 3.15, + }, + { + timePeriod: '2010 Q4', + value: 3.01, + }, + { + timePeriod: '2011 Q1', + value: 2.8, + }, + { + timePeriod: '2011 Q2', + value: 2.8, + }, + { + timePeriod: '2011 Q3', + value: 2.84, + }, + { + timePeriod: '2011 Q4', + value: 2.75, + }, + { + timePeriod: '2012 Q1', + value: 2.64, + }, + { + timePeriod: '2012 Q2', + value: 2.55, + }, + { + timePeriod: '2012 Q3', + value: 2.46, + }, + { + timePeriod: '2012 Q4', + value: 2.45, + }, + { + timePeriod: '2013 Q1', + value: 2.57, + }, + { + timePeriod: '2013 Q2', + value: 2.68, + }, + { + timePeriod: '2013 Q3', + value: 2.8, + }, + { + timePeriod: '2013 Q4', + value: 2.89, + }, + { + timePeriod: '2014 Q1', + value: 2.85, + }, + { + timePeriod: '2014 Q2', + value: 2.73, + }, + { + timePeriod: '2014 Q3', + value: 2.54, + }, + { + timePeriod: '2014 Q4', + value: 2.32, + }, + { + timePeriod: '2015 Q1', + value: 2.25, + }, + { + timePeriod: '2015 Q2', + value: 2.33, + }, + { + timePeriod: '2015 Q3', + value: 2.53, + }, + { + timePeriod: '2015 Q4', + value: 2.74, + }, + { + timePeriod: '2016 Q1', + value: 2.76, + }, + { + timePeriod: '2016 Q2', + value: 2.61, + }, + { + timePeriod: '2016 Q3', + value: 2.35, + }, + { + timePeriod: '2016 Q4', + value: 2.11, + }, + { + timePeriod: '2017 Q1', + value: 2.08, + }, + { + timePeriod: '2017 Q2', + value: 2.2, + }, + { + timePeriod: '2017 Q3', + value: 2.38, + }, + { + timePeriod: '2017 Q4', + value: 2.59, + }, + { + timePeriod: '2018 Q1', + value: 2.63, + }, + { + timePeriod: '2018 Q2', + value: 2.67, + }, + { + timePeriod: '2018 Q3', + value: 2.64, + }, + { + timePeriod: '2018 Q4', + value: 2.5, + }, + { + timePeriod: '2019 Q1', + value: 2.31, + }, + { + timePeriod: '2019 Q2', + value: 2.04, + }, + { + timePeriod: '2019 Q3', + value: 1.83, + }, + { + timePeriod: '2019 Q4', + value: 1.71, + }, + { + timePeriod: '2020 Q1', + value: 1.65, + }, + { + timePeriod: '2020 Q2', + value: 1.59, + }, + { + timePeriod: '2020 Q3', + value: 1.58, + }, + ], + xField: 'timePeriod', + yField: 'value', + xAxis: { + range: [0, 1], + }, +}; diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/bar.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/bar.ts new file mode 100644 index 000000000..25383cdcc --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/bar.ts @@ -0,0 +1,15 @@ +export const bar = { + data: [ + { year: '1951 年', value: 38 }, + { year: '1952 年', value: 52 }, + { year: '1956 年', value: 61 }, + { year: '1957 年', value: 145 }, + { year: '1958 年', value: 48 }, + ], + xField: 'value', + yField: 'year', + seriesField: 'year', + legend: { + position: 'top-left', + }, +}; diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/column.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/column.ts new file mode 100644 index 000000000..31f29f319 --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/column.ts @@ -0,0 +1,61 @@ +export const column = { + data: [ + { + type: '家具家电', + sales: 38, + }, + { + type: '粮油副食', + sales: 52, + }, + { + type: '生鲜水果', + sales: 61, + }, + { + type: '美容洗护', + sales: 145, + }, + { + type: '母婴用品', + sales: 48, + }, + { + type: '进口食品', + sales: 38, + }, + { + type: '食品饮料', + sales: 38, + }, + { + type: '家庭清洁', + sales: 38, + }, + ], + xField: 'type', + yField: 'sales', + label: { + // 可手动配置 label 数据标签位置 + position: 'middle', // 'top', 'bottom', 'middle', + // 配置样式 + style: { + fill: '#FFFFFF', + opacity: 0.6, + }, + }, + xAxis: { + label: { + autoHide: true, + autoRotate: false, + }, + }, + meta: { + type: { + alias: '类别', + }, + sales: { + alias: '销售额', + }, + }, +}; diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/index.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/index.ts new file mode 100644 index 000000000..1dd08f906 --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/index.ts @@ -0,0 +1,6 @@ +export * from './area'; +export * from './bar'; +export * from './column'; +export * from './line'; +export * from './pie'; + diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/line.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/line.ts new file mode 100644 index 000000000..4275a5e5b --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/line.ts @@ -0,0 +1,47 @@ +export const line = { + data: [ + { + Date: '2010-01', + scales: 1998, + }, + { + Date: '2010-02', + scales: 1850, + }, + { + Date: '2010-03', + scales: 1720, + }, + { + Date: '2010-04', + scales: 1818, + }, + { + Date: '2010-05', + scales: 1920, + }, + { + Date: '2010-06', + scales: 1802, + }, + { + Date: '2010-07', + scales: 1945, + }, + { + Date: '2010-08', + scales: 1856, + }, + { + Date: '2010-09', + scales: 2107, + }, + ], + padding: 'auto', + xField: 'Date', + yField: 'scales', + xAxis: { + // type: 'timeCat', + tickCount: 5, + }, +}; diff --git a/packages/core/client/src/schema-initializer/buttons/chart-config/pie.ts b/packages/core/client/src/schema-initializer/buttons/chart-config/pie.ts new file mode 100644 index 000000000..2dc74b245 --- /dev/null +++ b/packages/core/client/src/schema-initializer/buttons/chart-config/pie.ts @@ -0,0 +1,24 @@ +export const pie = { + appendPadding: 10, + data: [ + { type: '分类一', value: 27 }, + { type: '分类二', value: 25 }, + { type: '分类三', value: 18 }, + { type: '分类四', value: 15 }, + { type: '分类五', value: 10 }, + { type: '其他', value: 5 }, + ], + angleField: 'value', + colorField: 'type', + radius: 0.9, + label: { + type: 'inner', + offset: '-30%', + content: '{{ ({ percent }) => `${(percent * 100).toFixed(0)}%` }}', + style: { + fontSize: 14, + textAlign: 'center', + }, + }, + interactions: [{ type: 'element-active' }], +}; diff --git a/packages/core/client/src/schema-initializer/items/index.tsx b/packages/core/client/src/schema-initializer/items/index.tsx index 7995db6ca..397e7b884 100644 --- a/packages/core/client/src/schema-initializer/items/index.tsx +++ b/packages/core/client/src/schema-initializer/items/index.tsx @@ -20,7 +20,7 @@ import { createTableSelectorSchema, useCollectionDataSourceItems, useCurrentSchema, - useRecordCollectionDataSourceItems, + useRecordCollectionDataSourceItems } from '../utils'; // Block @@ -37,6 +37,20 @@ export const BlockInitializer = (props) => { ); }; +export const G2PlotInitializer = (props) => { + const { item, insert, ...others } = props; + return ( + { + insert({ + ...item.schema, + }); + }} + /> + ); +}; + export const CustomizeActionInitializer = (props) => { return ; }; diff --git a/yarn.lock b/yarn.lock index acc1061c1..e40ce2a40 100644 --- a/yarn.lock +++ b/yarn.lock @@ -44,6 +44,196 @@ lodash "^4.17.21" resize-observer-polyfill "^1.5.0" +"@antv/adjust@^0.2.1": + version "0.2.5" + resolved "https://registry.npmjs.org/@antv/adjust/-/adjust-0.2.5.tgz#bb37bb4a0a87ca3f4b660848bc9ac07f02bcf5db" + integrity sha512-MfWZOkD9CqXRES6MBGRNe27Q577a72EIwyMnE29wIlPliFvJfWwsrONddpGU7lilMpVKecS3WAzOoip3RfPTRQ== + dependencies: + "@antv/util" "~2.0.0" + tslib "^1.10.0" + +"@antv/attr@^0.3.1": + version "0.3.3" + resolved "https://registry.npmjs.org/@antv/attr/-/attr-0.3.3.tgz#9966895cdc31e331b1cc738c286d50f48da01d2b" + integrity sha512-7iSSRhYzZ7pYXZKTL1ECGhTdKVHPQx1Vj7yYVTAiyLMsWsLUAoMf0m6dT6msTs0SdrXHRbjzXavVXxRj/wZZJA== + dependencies: + "@antv/color-util" "^2.0.1" + "@antv/util" "~2.0.0" + tslib "^1.10.0" + +"@antv/color-util@^2.0.1", "@antv/color-util@^2.0.2", "@antv/color-util@^2.0.3": + version "2.0.6" + resolved "https://registry.npmjs.org/@antv/color-util/-/color-util-2.0.6.tgz#5e129bb9ce3f2b9309b52102b3dc929430ccc016" + integrity sha512-KnPEaAH+XNJMjax9U35W67nzPI+QQ2x27pYlzmSIWrbj4/k8PGrARXfzDTjwoozHJY8qG62Z+Ww6Alhu2FctXQ== + dependencies: + "@antv/util" "^2.0.9" + tslib "^2.0.3" + +"@antv/component@^0.8.27": + version "0.8.27" + resolved "https://registry.npmjs.org/@antv/component/-/component-0.8.27.tgz#eac6326ba1b5db123f88635f93b4450976249d48" + integrity sha512-FY9fgUBjEuWxQ4w7VbcMSwFr7pqnRf1/F1ja1weoEpNndKBlStNYWhXTx4p5uMJVLvMpXoFPqan7RzyP8rel6Q== + dependencies: + "@antv/color-util" "^2.0.3" + "@antv/dom-util" "~2.0.1" + "@antv/g-base" "^0.5.9" + "@antv/matrix-util" "^3.1.0-beta.1" + "@antv/path-util" "~2.0.7" + "@antv/scale" "~0.3.1" + "@antv/util" "~2.0.0" + fecha "~4.2.0" + tslib "^2.0.3" + +"@antv/coord@^0.3.0": + version "0.3.1" + resolved "https://registry.npmjs.org/@antv/coord/-/coord-0.3.1.tgz#982e261d8a1e06a198eb518ea7acc20ed875a019" + integrity sha512-rFE94C8Xzbx4xmZnHh2AnlB3Qm1n5x0VT3OROy257IH6Rm4cuzv1+tZaUBATviwZd99S+rOY9telw/+6C9GbRw== + dependencies: + "@antv/matrix-util" "^3.1.0-beta.2" + "@antv/util" "~2.0.12" + tslib "^2.1.0" + +"@antv/dom-util@^2.0.2", "@antv/dom-util@~2.0.1": + version "2.0.4" + resolved "https://registry.npmjs.org/@antv/dom-util/-/dom-util-2.0.4.tgz#b09b56c56fec42896fc856edad56b595b47ab514" + integrity sha512-2shXUl504fKwt82T3GkuT4Uoc6p9qjCKnJ8gXGLSW4T1W37dqf9AV28aCfoVPHp2BUXpSsB+PAJX2rG/jLHsLQ== + dependencies: + tslib "^2.0.3" + +"@antv/event-emitter@^0.1.1", "@antv/event-emitter@^0.1.2", "@antv/event-emitter@~0.1.0": + version "0.1.3" + resolved "https://registry.npmjs.org/@antv/event-emitter/-/event-emitter-0.1.3.tgz#3e06323b9dcd55a3241ddc7c5458cfabd2095164" + integrity sha512-4ddpsiHN9Pd4UIlWuKVK1C4IiZIdbwQvy9i7DUSI3xNJ89FPUFt8lxDYj8GzzfdllV0NkJTRxnG+FvLk0llidg== + +"@antv/g-base@^0.5.3", "@antv/g-base@^0.5.9", "@antv/g-base@~0.5.6": + version "0.5.11" + resolved "https://registry.npmjs.org/@antv/g-base/-/g-base-0.5.11.tgz#fe251cfbe557f6c1777787d58c3f2884a42f4934" + integrity sha512-10Hkq7XksVCqxZZrPkd6HTU9tb/+2meCVEMy/edhS4I/sokhcgC9m3fQP5bE8rA3EVKwELE7MJHZ98BEpVFqvQ== + dependencies: + "@antv/event-emitter" "^0.1.1" + "@antv/g-math" "^0.1.6" + "@antv/matrix-util" "^3.1.0-beta.1" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.13" + "@types/d3-timer" "^2.0.0" + d3-ease "^1.0.5" + d3-interpolate "^1.3.2" + d3-timer "^1.0.9" + detect-browser "^5.1.0" + tslib "^2.0.3" + +"@antv/g-canvas@~0.5.10": + version "0.5.12" + resolved "https://registry.npmjs.org/@antv/g-canvas/-/g-canvas-0.5.12.tgz#2fc40dced6994f074f22341e65d56f7bbd5275f7" + integrity sha512-iJ/muwwqCCNONVlPIzv/7OL5iLguaKRj2BxNMytUO3TWwamM+kHkiyYEOkS0dPn9h/hBsHYlLUluSVz2Fp6/bw== + dependencies: + "@antv/g-base" "^0.5.3" + "@antv/g-math" "^0.1.6" + "@antv/matrix-util" "^3.1.0-beta.1" + "@antv/path-util" "~2.0.5" + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + tslib "^2.0.3" + +"@antv/g-math@^0.1.6": + version "0.1.7" + resolved "https://registry.npmjs.org/@antv/g-math/-/g-math-0.1.7.tgz#6ec2769269f7ccb67e58140d5739df74046cc04e" + integrity sha512-xGyXaloD1ynfp7gS4VuV+MjSptZIwHvLHr8ekXJSFAeWPYLu84yOW2wOZHDdp1bzDAIuRv6xDBW58YGHrWsFcA== + dependencies: + "@antv/util" "~2.0.0" + gl-matrix "^3.0.0" + +"@antv/g-svg@~0.5.6": + version "0.5.6" + resolved "https://registry.npmjs.org/@antv/g-svg/-/g-svg-0.5.6.tgz#70b2fa980c431b39ad3c5b4b53e36a1d60957d65" + integrity sha512-Xve1EUGk4HMbl2nq4ozR4QLh6GyoZ8Xw/+9kHYI4B5P2lIUQU95MuRsaLFfW5NNpZDx85ZeH97tqEmC9L96E7A== + dependencies: + "@antv/g-base" "^0.5.3" + "@antv/g-math" "^0.1.6" + "@antv/util" "~2.0.0" + detect-browser "^5.0.0" + tslib "^2.0.3" + +"@antv/g2@^4.1.26": + version "4.2.2" + resolved "https://registry.npmjs.org/@antv/g2/-/g2-4.2.2.tgz#c410121cc06113d6c6976dfd3578f68aebd73254" + integrity sha512-wAzVlbVUWg4Oum4tNgBy39Wltw2jwHW9+aIkK6CjXbv2gSrxGAQclNfpBZ37FPQGVf7/DTlMTw6/sdZbnuTyJA== + dependencies: + "@antv/adjust" "^0.2.1" + "@antv/attr" "^0.3.1" + "@antv/color-util" "^2.0.2" + "@antv/component" "^0.8.27" + "@antv/coord" "^0.3.0" + "@antv/dom-util" "^2.0.2" + "@antv/event-emitter" "~0.1.0" + "@antv/g-base" "~0.5.6" + "@antv/g-canvas" "~0.5.10" + "@antv/g-svg" "~0.5.6" + "@antv/matrix-util" "^3.1.0-beta.3" + "@antv/path-util" "^2.0.15" + "@antv/scale" "^0.3.14" + "@antv/util" "~2.0.5" + tslib "^2.0.0" + +"@antv/g2plot@^2.4.18": + version "2.4.19" + resolved "https://registry.npmjs.org/@antv/g2plot/-/g2plot-2.4.19.tgz#5f58e08263d03b9ce83d709d2ab17adaaa1f1ae6" + integrity sha512-1dw5X25gFq789CB0/7/CqxCV7qGT3gFiLucBViw1eDf/NbFVpK5tp+yE/ajprErTCPWty3D+qCQLVOsAmakF/A== + dependencies: + "@antv/event-emitter" "^0.1.2" + "@antv/g2" "^4.1.26" + "@antv/util" "^2.0.17" + d3-hierarchy "^2.0.0" + d3-regression "^1.3.5" + fmin "^0.0.2" + pdfast "^0.2.0" + size-sensor "^1.0.1" + tslib "^2.0.3" + +"@antv/matrix-util@^3.0.4": + version "3.0.4" + resolved "https://registry.npmjs.org/@antv/matrix-util/-/matrix-util-3.0.4.tgz#ea13f158aa2fb4ba2fb8d6b6b561ec467ea3ac20" + integrity sha512-BAPyu6dUliHcQ7fm9hZSGKqkwcjEDVLVAstlHULLvcMZvANHeLXgHEgV7JqcAV/GIhIz8aZChIlzM1ZboiXpYQ== + dependencies: + "@antv/util" "^2.0.9" + gl-matrix "^3.3.0" + tslib "^2.0.3" + +"@antv/matrix-util@^3.1.0-beta.1", "@antv/matrix-util@^3.1.0-beta.2", "@antv/matrix-util@^3.1.0-beta.3": + version "3.1.0-beta.3" + resolved "https://registry.npmjs.org/@antv/matrix-util/-/matrix-util-3.1.0-beta.3.tgz#e061de8fa7be04605a155c69cc5ce9082eedddee" + integrity sha512-W2R6Za3A6CmG51Y/4jZUM/tFgYSq7vTqJL1VD9dKrvwxS4sE0ZcXINtkp55CdyBwJ6Cwm8pfoRpnD4FnHahN0A== + dependencies: + "@antv/util" "^2.0.9" + gl-matrix "^3.4.3" + tslib "^2.0.3" + +"@antv/path-util@^2.0.15", "@antv/path-util@~2.0.5", "@antv/path-util@~2.0.7": + version "2.0.15" + resolved "https://registry.npmjs.org/@antv/path-util/-/path-util-2.0.15.tgz#a6f691dfc8b7bce5be7f0aabb5bd614964325631" + integrity sha512-R2VLZ5C8PLPtr3VciNyxtjKqJ0XlANzpFb5sE9GE61UQqSRuSVSzIakMxjEPrpqbgc+s+y8i+fmc89Snu7qbNw== + dependencies: + "@antv/matrix-util" "^3.0.4" + "@antv/util" "^2.0.9" + tslib "^2.0.3" + +"@antv/scale@^0.3.14", "@antv/scale@~0.3.1": + version "0.3.18" + resolved "https://registry.npmjs.org/@antv/scale/-/scale-0.3.18.tgz#b911f431b3e0b9547b6a65f66d0d3fa295b5ef32" + integrity sha512-GHwE6Lo7S/Q5fgaLPaCsW+CH+3zl4aXpnN1skOiEY0Ue9/u+s2EySv6aDXYkAqs//i0uilMDD/0/4n8caX9U9w== + dependencies: + "@antv/util" "~2.0.3" + fecha "~4.2.0" + tslib "^2.0.0" + +"@antv/util@^2.0.17", "@antv/util@^2.0.9", "@antv/util@~2.0.0", "@antv/util@~2.0.12", "@antv/util@~2.0.13", "@antv/util@~2.0.3", "@antv/util@~2.0.5": + version "2.0.17" + resolved "https://registry.npmjs.org/@antv/util/-/util-2.0.17.tgz#e8ef42aca7892815b229269f3dd10c6b3c7597a9" + integrity sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q== + dependencies: + csstype "^3.0.8" + tslib "^2.0.3" + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" @@ -4748,6 +4938,11 @@ "@types/keygrip" "*" "@types/node" "*" +"@types/d3-timer@^2.0.0": + version "2.0.1" + resolved "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-2.0.1.tgz#ffb6620d290624f3726aa362c0c8a4b44c8d7200" + integrity sha512-TF8aoF5cHcLO7W7403blM7L1T+6NF3XMyN3fxyUolq2uOcFeicG/khQg/dGxiCJWoAcmYulYN7LYSRKO54IXaA== + "@types/estree@*": version "0.0.51" resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" @@ -5808,6 +6003,11 @@ alphanum-sort@^1.0.0: resolved "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM= +amdefine@>=0.0.4: + version "1.0.1" + resolved "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" + integrity sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg== + amp-message@~0.1.1: version "0.1.2" resolved "https://registry.npmjs.org/amp-message/-/amp-message-0.1.2.tgz#a78f1c98995087ad36192a41298e4db49e3dfc45" @@ -7114,7 +7314,7 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" -call-bind@^1.0.0, call-bind@^1.0.2: +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@~1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== @@ -7292,7 +7492,7 @@ chalk@3.0.0, chalk@^3.0.0, chalk@~3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^1.1.3, chalk@~1.1.3: +chalk@^1.1.1, chalk@^1.1.3, chalk@~1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= @@ -7940,6 +8140,11 @@ continuation-local-storage@^3.2.1: async-listener "^0.6.0" emitter-listener "^1.1.1" +contour_plot@^0.0.1: + version "0.0.1" + resolved "https://registry.npmjs.org/contour_plot/-/contour_plot-0.0.1.tgz#475870f032b8e338412aa5fc507880f0bf495c77" + integrity sha512-Nil2HI76Xux6sVGORvhSS8v66m+/h5CwFkBJDO+U5vWaMdNC0yXNCsGDPbzPhvqOEU5koebhdEvD372LI+IyLw== + conventional-changelog-angular@^5.0.11, conventional-changelog-angular@^5.0.12: version "5.0.13" resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" @@ -8569,6 +8774,11 @@ csstype@^3.0.2: resolved "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz#6410af31b26bd0520933d02cbc64fce9ce3fbf0b" integrity sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw== +csstype@^3.0.8: + version "3.1.0" + resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" + integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== + culvert@^0.1.2: version "0.1.2" resolved "https://registry.npmjs.org/culvert/-/culvert-0.1.2.tgz#9502f5f0154a2d5a22a023e79f71cc936fa6ef6f" @@ -8581,6 +8791,38 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" +d3-color@1: + version "1.4.1" + resolved "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a" + integrity sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q== + +d3-ease@^1.0.5: + version "1.0.7" + resolved "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.7.tgz#9a834890ef8b8ae8c558b2fe55bd57f5993b85e2" + integrity sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ== + +d3-hierarchy@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-2.0.0.tgz#dab88a58ca3e7a1bc6cab390e89667fcc6d20218" + integrity sha512-SwIdqM3HxQX2214EG9GTjgmCc/mbSx4mQBn+DuEETubhOw6/U3fmnji4uCVrmzOydMHSO1nZle5gh6HB/wdOzw== + +d3-interpolate@^1.3.2: + version "1.4.0" + resolved "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz#526e79e2d80daa383f9e0c1c1c7dcc0f0583e987" + integrity sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA== + dependencies: + d3-color "1" + +d3-regression@^1.3.5: + version "1.3.10" + resolved "https://registry.npmjs.org/d3-regression/-/d3-regression-1.3.10.tgz#d1a411ab45044d9e8d5b8aec05f2e598e1a621c9" + integrity sha512-PF8GWEL70cHHWpx2jUQXc68r1pyPHIA+St16muk/XRokETzlegj5LriNKg7o4LR0TySug4nHYPJNNRz/W+/Niw== + +d3-timer@^1.0.9: + version "1.0.10" + resolved "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz#dfe76b8a91748831b13b6d9c793ffbd508dd9de5" + integrity sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw== + dargs@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" @@ -8731,7 +8973,7 @@ dedupe@^3.0.2: resolved "https://registry.npmmirror.com/dedupe/download/dedupe-3.0.2.tgz#c7c9d5534167b69dc07bd21d093882abbe88b0a9" integrity sha1-x8nVU0Fntp3Ae9IdCTiCq76IsKk= -deep-equal@^1.0.1: +deep-equal@^1.0.1, deep-equal@~1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a" integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g== @@ -8824,6 +9066,11 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +defined@~1.0.0: + version "1.0.0" + resolved "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" + integrity sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ== + degenerator@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/degenerator/-/degenerator-3.0.1.tgz#7ef78ec0c8577a544477308ddf1d2d6e88d51f5b" @@ -8882,6 +9129,11 @@ destroy@^1.0.4: resolved "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= +detect-browser@^5.0.0, detect-browser@^5.1.0: + version "5.3.0" + resolved "https://registry.npmjs.org/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" + integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== + detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -9130,6 +9382,13 @@ dotenv@^8.2.0: resolved "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b" integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g== +dotignore@~0.1.2: + version "0.1.2" + resolved "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz#f942f2200d28c3a76fbdd6f0ee9f3257c8a2e905" + integrity sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw== + dependencies: + minimatch "^3.0.4" + dottie@^2.0.0: version "2.0.2" resolved "https://registry.npmjs.org/dottie/-/dottie-2.0.2.tgz#cc91c0726ce3a054ebf11c55fbc92a7f266dd154" @@ -10151,6 +10410,11 @@ fclone@1.0.11, fclone@~1.0.11: resolved "https://registry.npmjs.org/fclone/-/fclone-1.0.11.tgz#10e85da38bfea7fc599341c296ee1d77266ee640" integrity sha1-EOhdo4v+p/xZk0HClu4ddyZu5kA= +fecha@~4.2.0: + version "4.2.3" + resolved "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" + integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== + figures@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" @@ -10337,12 +10601,23 @@ flush-write-stream@^1.0.2: inherits "^2.0.3" readable-stream "^2.3.6" +fmin@^0.0.2: + version "0.0.2" + resolved "https://registry.npmjs.org/fmin/-/fmin-0.0.2.tgz#59bbb40d43ffdc1c94cd00a568c41f95f1973017" + integrity sha512-sSi6DzInhl9d8yqssDfGZejChO8d2bAGIpysPsvYsxFe898z89XhCZg6CPNV3nhUhFefeC/AXZK2bAJxlBjN6A== + dependencies: + contour_plot "^0.0.1" + json2module "^0.0.3" + rollup "^0.25.8" + tape "^4.5.1" + uglify-js "^2.6.2" + follow-redirects@^1.14.0, follow-redirects@^1.14.8: version "1.14.9" resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== -for-each@^0.3.3: +for-each@^0.3.3, for-each@~0.3.3: version "0.3.3" resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== @@ -10786,6 +11061,11 @@ github-slugger@^1.3.0: resolved "https://registry.npmjs.org/github-slugger/-/github-slugger-1.4.0.tgz#206eb96cdb22ee56fdc53a28d5a302338463444e" integrity sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ== +gl-matrix@^3.0.0, gl-matrix@^3.3.0, gl-matrix@^3.4.3: + version "3.4.3" + resolved "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz#fc1191e8320009fd4d20e9339595c6041ddc22c9" + integrity sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA== + glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -10834,6 +11114,18 @@ glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" +glob@~7.2.0: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + global-dirs@^0.1.0, global-dirs@^0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -11115,7 +11407,7 @@ has-yarn@^2.1.0: resolved "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== -has@^1.0.0, has@^1.0.3: +has@^1.0.0, has@^1.0.3, has@~1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== @@ -11684,7 +11976,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -12206,7 +12498,7 @@ is-reference@^1.2.1: dependencies: "@types/estree" "*" -is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.0, is-regex@^1.1.4: +is-regex@^1.0.4, is-regex@^1.0.5, is-regex@^1.1.0, is-regex@^1.1.4, is-regex@~1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== @@ -13507,6 +13799,13 @@ json-templates@^4.2.0: dedupe "^3.0.2" object-path "^0.11.8" +json2module@^0.0.3: + version "0.0.3" + resolved "https://registry.npmjs.org/json2module/-/json2module-0.0.3.tgz#00fb5f4a9b7adfc3f0647c29cb17bcd1979be9b2" + integrity sha512-qYGxqrRrt4GbB8IEOy1jJGypkNsjWoIMlZt4bAsmUScCA507Hbc2p1JOhBzqn45u3PWafUgH2OnzyNU7udO/GA== + dependencies: + rw "^1.3.2" + json2mq@^0.2.0: version "0.2.0" resolved "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz#b637bd3ba9eabe122c83e9720483aeb10d2c904a" @@ -14851,7 +15150,7 @@ minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@^3.0.3: +minimatch@^3.0.3, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -14872,7 +15171,7 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1. resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== -minimist@^1.2.6: +minimist@^1.2.6, minimist@~1.2.6: version "1.2.6" resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== @@ -15700,6 +15999,11 @@ object-inspect@^1.12.0, object-inspect@^1.7.0: resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== +object-inspect@~1.12.0: + version "1.12.2" + resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" + integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== + object-is@^1.0.1, object-is@^1.0.2, object-is@^1.1.2: version "1.1.5" resolved "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" @@ -16363,6 +16667,11 @@ pbkdf2@^3.0.3: safe-buffer "^5.0.1" sha.js "^2.4.8" +pdfast@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/pdfast/-/pdfast-0.2.0.tgz#8cbc556e1bf2522177787c0de2e0d4373ba885c9" + integrity sha512-cq6TTu6qKSFUHwEahi68k/kqN2mfepjkGrG9Un70cgdRRKLKY6Rf8P8uvP2NvZktaQZNF3YE7agEkLj0vGK9bA== + performance-now@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" @@ -19303,7 +19612,7 @@ resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.14.2, resolve@^1.1 is-core-module "^2.2.0" path-parse "^1.0.6" -resolve@^1.16.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1: +resolve@^1.16.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.8.1, resolve@~1.22.0: version "1.22.0" resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== @@ -19343,6 +19652,13 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" +resumer@~0.0.0: + version "0.0.0" + resolved "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz#f1e8f461e4064ba39e82af3cdc2a8c893d076759" + integrity sha512-Fn9X8rX8yYF4m81rZCK/5VmrmsSbqS/i3rDLl6ZZHAXgC2nTAx3dhwG8q8odP/RmdLa2YrybDJaAMg+X1ajY3w== + dependencies: + through "~2.3.4" + ret@~0.1.10: version "0.1.15" resolved "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -19522,6 +19838,15 @@ rollup@2.33.3: optionalDependencies: fsevents "~2.1.2" +rollup@^0.25.8: + version "0.25.8" + resolved "https://registry.npmjs.org/rollup/-/rollup-0.25.8.tgz#bf6ce83b87510d163446eeaa577ed6a6fc5835e0" + integrity sha512-a2S4Bh3bgrdO4BhKr2E4nZkjTvrJ2m2bWjMTzVYtoqSCn0HnuxosXnaJUHrMEziOWr3CzL9GjilQQKcyCQpJoA== + dependencies: + chalk "^1.1.1" + minimist "^1.2.0" + source-map-support "^0.3.2" + rst-selector-parser@^2.2.3: version "2.2.3" resolved "https://registry.npmjs.org/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91" @@ -19552,6 +19877,11 @@ run-series@^1.1.8: resolved "https://registry.npmjs.org/run-series/-/run-series-1.1.9.tgz#15ba9cb90e6a6c054e67c98e1dc063df0ecc113a" integrity sha512-Arc4hUN896vjkqCYrUXquBFtRZdv1PfLbTYP71efP6butxyQ0kWpiNJyAgsxscmQg1cqvHY32/UCBzXedTpU2g== +rw@^1.3.2: + version "1.3.3" + resolved "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4" + integrity sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q= + rxjs@^6.4.0, rxjs@^6.6.0, rxjs@^6.6.3: version "6.6.7" resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" @@ -19922,6 +20252,11 @@ sitemap@^6.3.3: arg "^5.0.0" sax "^1.2.4" +size-sensor@^1.0.1: + version "1.0.1" + resolved "https://registry.npmjs.org/size-sensor/-/size-sensor-1.0.1.tgz#f84e46206d3e259faff1d548e4b3beca93219dbb" + integrity sha512-QTy7MnuugCFXIedXRpUSk9gUnyNiaxIdxGfUjr8xxXOqIB3QvBUYP9+b51oCg2C4dnhaeNk/h57TxjbvoJrJUA== + slash2@2.0.0, slash2@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/slash2/-/slash2-2.0.0.tgz#f4e0a11708b8545b912695981cf7096f52c63487" @@ -20095,6 +20430,13 @@ source-map-support@0.5.19: buffer-from "^1.0.0" source-map "^0.6.0" +source-map-support@^0.3.2: + version "0.3.3" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.3.3.tgz#34900977d5ba3f07c7757ee72e73bb1a9b53754f" + integrity sha1-NJAJd9W6PwfHdX7nLnO7GptTdU8= + dependencies: + source-map "0.1.32" + source-map-support@^0.5.12, source-map-support@~0.5.19, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" @@ -20116,6 +20458,13 @@ source-map-url@^0.4.0: resolved "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== +source-map@0.1.32: + version "0.1.32" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz#c8b6c167797ba4740a8ea33252162ff08591b266" + integrity sha1-yLbBZ3l7pHQKjqMyUhYv8IWRsmY= + dependencies: + amdefine ">=0.0.4" + source-map@^0.5.0, source-map@^0.5.1, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: version "0.5.7" resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" @@ -20444,7 +20793,7 @@ string.prototype.matchall@^4.0.6: regexp.prototype.flags "^1.3.1" side-channel "^1.0.4" -string.prototype.trim@^1.2.1: +string.prototype.trim@^1.2.1, string.prototype.trim@~1.2.5: version "1.2.6" resolved "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.6.tgz#824960787db37a9e24711802ed0c1d1c0254f83e" integrity sha512-8lMR2m+U0VJTPp6JjvJTtGyc4FIGq9CdRt7O9p6T0e6K4vjU+OP+SQJpbe/SBmRcCUIvNUnjsbmY6lnMp8MhsQ== @@ -20771,6 +21120,27 @@ tapable@^1.0.0: resolved "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== +tape@^4.5.1: + version "4.15.1" + resolved "https://registry.npmjs.org/tape/-/tape-4.15.1.tgz#88fb662965a11f9be1bddb04c11662d7eceb129e" + integrity sha512-k7F5pyr91n9D/yjSJwbLLYDCrTWXxMSXbbmHX2n334lSIc2rxeXyFkaBv4UuUd2gBYMrAOalPutAiCxC6q1qbw== + dependencies: + call-bind "~1.0.2" + deep-equal "~1.1.1" + defined "~1.0.0" + dotignore "~0.1.2" + for-each "~0.3.3" + glob "~7.2.0" + has "~1.0.3" + inherits "~2.0.4" + is-regex "~1.1.4" + minimist "~1.2.6" + object-inspect "~1.12.0" + resolve "~1.22.0" + resumer "~0.0.0" + string.prototype.trim "~1.2.5" + through "~2.3.8" + tar@6.1.11, tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: version "6.1.11" resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" @@ -20976,7 +21346,7 @@ through2@^4.0.0: dependencies: readable-stream "3" -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@~2.3: +through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@~2.3, through@~2.3.4, through@~2.3.8: version "2.3.8" resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -21302,7 +21672,7 @@ tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.3.1: resolved "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== -tslib@^2.2.0: +tslib@^2.1.0, tslib@^2.2.0: version "2.4.0" resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== @@ -21447,7 +21817,7 @@ typescript@^4.0.5: resolved "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== -uglify-js@^2.8.22: +uglify-js@^2.6.2, uglify-js@^2.8.22: version "2.8.29" resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" integrity sha1-KcVzMUgFe7Th913zW3qcty5qWd0=