Skip to content

Commit

Permalink
Merge branch 'feat/pivot_chart' into pre-release/0.9.2-alpha.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fangsmile committed Jul 26, 2023
2 parents 8cb02d2 + c975fad commit d25b41c
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 28 deletions.
81 changes: 64 additions & 17 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/vtable/examples/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { plugin: mdPlugin, Mode } = require('vite-plugin-markdown');

module.exports = {
optimizeDeps: {
exclude: ['@visactor/vrender', '@visactor/vscale', '@visactor/vrender-components']
},
// optimizeDeps: {
// exclude: ['@visactor/vrender', '@visactor/vscale', '@visactor/vrender-components']
// },
server: {
host: '0.0.0.0',
port: 3003,
Expand Down
10 changes: 5 additions & 5 deletions packages/vtable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"ci": "node github-ci.js"
},
"dependencies": {
"@visactor/vrender": "0.12.3",
"@visactor/vutils": "0.9.0-alpha.2",
"@visactor/vrender-components": "0.12.3",
"@visactor/vrender": "~0.13.0",
"@visactor/vrender-components": "~0.13.0",
"@visactor/vutils": "~0.13.3",
"@visactor/vscale": "~0.13.3",
"@visactor/vdataset": "~0.13.3",
"cssfontparser": "^1.2.1",
"@visactor/vscale": "0.9.0-alpha.2",
"@visactor/vdataset": "0.11.1",
"d3-dsv": "^3.0.1",
"d3-array": "3.2.3",
"d3-geo": "^3.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import type {
IMarkAttribute,
IGraphicAttribute,
IThemeAttribute,
IGroupRenderContribution
IGroupRenderContribution,
IDrawContext
} from '@visactor/vrender';
import { BaseRenderContributionTime } from '@visactor/vrender';
import type { Group } from '../group';
Expand Down Expand Up @@ -34,6 +35,7 @@ export class SplitGroupBeforeRenderContribution implements IGroupRenderContribut
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -105,6 +107,7 @@ export class SplitGroupAfterRenderContribution implements IGroupRenderContributi
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -362,6 +365,7 @@ export class DashGroupBeforeRenderContribution implements IGroupRenderContributi
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -407,6 +411,7 @@ export class DashGroupAfterRenderContribution implements IGroupRenderContributio
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -493,6 +498,7 @@ export class AdjustPosGroupBeforeRenderContribution implements IGroupRenderContr
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -543,6 +549,7 @@ export class AdjustPosGroupAfterRenderContribution implements IGroupRenderContri
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -620,6 +627,7 @@ export class AdjustColorGroupBeforeRenderContribution implements IGroupRenderCon
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -659,6 +667,7 @@ export class AdjustColorGroupAfterRenderContribution implements IGroupRenderCont
fVisible: boolean,
sVisible: boolean,
groupAttribute: Required<IGroupGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import type {
IMarkAttribute,
IGraphicAttribute,
IThemeAttribute,
IImageRenderContribution
IImageRenderContribution,
IDrawContext
} from '@visactor/vrender';
import { BaseRenderContributionTime } from '@visactor/vrender';

Expand All @@ -29,6 +30,7 @@ export class BeforeImageRenderContribution implements IImageRenderContribution {
fVisible: boolean,
sVisible: boolean,
imageAttribute: Required<IImageGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -71,6 +73,7 @@ export class AfterImageRenderContribution implements IImageRenderContribution {
fVisible: boolean,
sVisible: boolean,
imageAttribute: Required<IImageGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import type {
IThemeAttribute,
IRectRenderContribution,
IGroup,
IGroupGraphicAttribute
IGroupGraphicAttribute,
IDrawContext
} from '@visactor/vrender';
import { BaseRenderContributionTime } from '@visactor/vrender';
import { renderStroke } from './group-contribution-render';
Expand All @@ -28,6 +29,7 @@ export class SplitRectBeforeRenderContribution implements IRectRenderContributio
fVisible: boolean,
sVisible: boolean,
rectAttribute: Required<IRectGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down Expand Up @@ -73,6 +75,7 @@ export class SplitRectAfterRenderContribution implements IRectRenderContribution
fVisible: boolean,
sVisible: boolean,
rectAttribute: Required<IRectGraphicAttribute>,
drawContext: IDrawContext,
fillCb?: (
ctx: IContext2d,
markAttribute: Partial<IMarkAttribute & IGraphicAttribute>,
Expand Down

0 comments on commit d25b41c

Please sign in to comment.