k-vtable 1.0.39 → 1.0.41

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/es/vrender.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EACL,SAAS,IAAI,eAAe,EAG7B,MAAM,wBAAwB,CAAC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,MAAM,UAAU,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAGhB,UAAU,EAAE,CAAC;AACf,CAAC;AAYD,MAAM,OAAO,eAAe;IAC1B,YAA4B,QAAsC;QAAtC,aAAQ,GAAR,QAAQ,CAA8B;IAAG,CAAC;CACvE;AAED,MAAM,mBAAmB,GAAG,GAAS,EAAE,CAAC,SAAS,CAAC;AAElD,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE;IACtD,IAAI,CAAC,MAAoE;QACvE,MAAM,uBAAuB,GAAG,iCAAiC,EAAE,CAAC;QAEpE,IAAI,MAAM,YAAY,eAAe,EAAE;YACrC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,eAAe,CAAC,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAC5G,MAAM,CAAC,QAAQ,CACb,uBAAuB,CAAC,IAAI,EAC5B,mBAAmB,EACnB,uBAAuB,CAAC,OAAO,EAC/B,uBAAuB,CAAC,MAAM,CAC/B,CAAC;YACF,OAAO;SACR;QAED,MAAM,CAAC,eAAe,CAAC,CAAC;QACxB,MAAM,CAAC,uBAAuB,CAAC,CAAC;IAClC,CAAC;IACD,GAAG,CAAI,iBAA0B;QAC/B,OAAO,eAAe,CAAC,MAAM,CAAI,iBAA0B,CAAC,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GACrB,GAAG,EAAE,CACL,CAAI,MAAS,EAAK,EAAE,CAClB,MAAM,CAAC;AAEX,MAAM,CAAC,MAAM,MAAM,GACjB,CAAC,kBAA2B,EAAE,EAAE,CAChC,CAAC,GAAG,KAAgB,EAAQ,EAAE,CAC5B,SAAS,CAAC;AAEd,MAAM,CAAC,MAAM,KAAK,GAChB,CAAC,KAAc,EAAE,EAAE,CACnB,CAAC,GAAG,KAAgB,EAAQ,EAAE,CAC5B,SAAS,CAAC;AAQd,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC","file":"vrender.js","sourcesContent":["import { loadPoptip } from '@visactor/vrender-components';\nimport { getRuntimeInstallerBindingContext } from '@visactor/vrender-core/entries/runtime-installer';\nimport {\n container as legacyContainer,\n type ILegacyBindingContext,\n type ServiceIdentifier\n} from '@visactor/vrender-core';\n// 导出版本号\n// export const version = \"1.0.38\";\n\nlet registed = false;\nexport function registerForVrender() {\n if (registed) {\n return;\n }\n registed = true;\n // Default env and graphic bootstrap is owned by create*VRenderApp().\n // VTable keeps only component/custom assembly that is not covered by the app creator.\n loadPoptip();\n}\n\ntype LegacyBind = ILegacyBindingContext['bind'];\ntype LegacyRebind = ILegacyBindingContext['rebind'];\ntype LegacyIsBound = ILegacyBindingContext['isBound'];\ntype LegacyContainerModuleHandler = (\n bind: LegacyBind,\n unbind: (serviceIdentifier: ServiceIdentifier<unknown>) => void,\n isBound: LegacyIsBound,\n rebind: LegacyRebind\n) => void;\n\nexport class ContainerModule {\n constructor(public readonly registry: LegacyContainerModuleHandler) {}\n}\n\nconst unbindLegacyService = (): void => undefined;\n\nexport const container = Object.assign(legacyContainer, {\n load(module: ContainerModule | ((context: ILegacyBindingContext) => void)): void {\n const runtimeInstallerContext = getRuntimeInstallerBindingContext();\n\n if (module instanceof ContainerModule) {\n module.registry(legacyContainer.bind, unbindLegacyService, legacyContainer.isBound, legacyContainer.rebind);\n module.registry(\n runtimeInstallerContext.bind,\n unbindLegacyService,\n runtimeInstallerContext.isBound,\n runtimeInstallerContext.rebind\n );\n return;\n }\n\n module(legacyContainer);\n module(runtimeInstallerContext);\n },\n get<T>(serviceIdentifier: unknown): T {\n return legacyContainer.getAll<T>(serviceIdentifier as never)[0];\n }\n});\n\nexport const injectable =\n () =>\n <T>(target: T): T =>\n target;\n\nexport const inject =\n (_serviceIdentifier: unknown) =>\n (..._args: unknown[]): void =>\n undefined;\n\nexport const named =\n (_name: unknown) =>\n (..._args: unknown[]): void =>\n undefined;\n\nexport type { Direction } from '@visactor/vrender-core';\nexport type { State } from '@visactor/vrender-components';\nexport type { VRenderStageAppOptions, VRenderStageAppRef } from './vrender-app';\n// export { GroupFadeIn } from '@visactor/vrender-core';\n// export { GroupFadeOut } from '@visactor/vrender-core';\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-components';\nexport * from '@visactor/vrender-animate';\n"]}
1
+ {"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EACL,SAAS,IAAI,eAAe,EAG7B,MAAM,wBAAwB,CAAC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,MAAM,UAAU,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAGhB,UAAU,EAAE,CAAC;AACf,CAAC;AAYD,MAAM,OAAO,eAAe;IAC1B,YAA4B,QAAsC;QAAtC,aAAQ,GAAR,QAAQ,CA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ender-components';\nimport { getRuntimeInstallerBindingContext } from '@visactor/vrender-core/entries/runtime-installer';\nimport {\n container as legacyContainer,\n type ILegacyBindingContext,\n type ServiceIdentifier\n} from '@visactor/vrender-core';\n// 导出版本号\n// export const version = \"1.26.5\";\n\nlet registed = false;\nexport function registerForVrender() {\n if (registed) {\n return;\n }\n registed = true;\n // Default env and graphic bootstrap is owned by create*VRenderApp().\n // VTable keeps only component/custom assembly that is not covered by the app creator.\n loadPoptip();\n}\n\ntype LegacyBind = ILegacyBindingContext['bind'];\ntype LegacyRebind = ILegacyBindingContext['rebind'];\ntype LegacyIsBound = ILegacyBindingContext['isBound'];\ntype LegacyContainerModuleHandler = (\n bind: LegacyBind,\n unbind: (serviceIdentifier: ServiceIdentifier<unknown>) => void,\n isBound: LegacyIsBound,\n rebind: LegacyRebind\n) => void;\n\nexport class ContainerModule {\n constructor(public readonly registry: LegacyContainerModuleHandler) {}\n}\n\nconst unbindLegacyService = (): void => undefined;\n\nexport const container = Object.assign(legacyContainer, {\n load(module: ContainerModule | ((context: ILegacyBindingContext) => void)): void {\n const runtimeInstallerContext = getRuntimeInstallerBindingContext();\n\n if (module instanceof ContainerModule) {\n module.registry(legacyContainer.bind, unbindLegacyService, legacyContainer.isBound, legacyContainer.rebind);\n module.registry(\n runtimeInstallerContext.bind,\n unbindLegacyService,\n runtimeInstallerContext.isBound,\n runtimeInstallerContext.rebind\n );\n return;\n }\n\n module(legacyContainer);\n module(runtimeInstallerContext);\n },\n get<T>(serviceIdentifier: unknown): T {\n return legacyContainer.getAll<T>(serviceIdentifier as never)[0];\n }\n});\n\nexport const injectable =\n () =>\n <T>(target: T): T =>\n target;\n\nexport const inject =\n (_serviceIdentifier: unknown) =>\n (..._args: unknown[]): void =>\n undefined;\n\nexport const named =\n (_name: unknown) =>\n (..._args: unknown[]): void =>\n undefined;\n\nexport type { Direction } from '@visactor/vrender-core';\nexport type { State } from '@visactor/vrender-components';\nexport type { VRenderStageAppOptions, VRenderStageAppRef } from './vrender-app';\n// export { GroupFadeIn } from '@visactor/vrender-core';\n// export { GroupFadeOut } from '@visactor/vrender-core';\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-components';\nexport * from '@visactor/vrender-animate';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k-vtable",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "canvas table width high performance",
5
5
  "keywords": [
6
6
  "grid",
@@ -19,45 +19,21 @@
19
19
  "url": "https://VisActor.io/"
20
20
  },
21
21
  "license": "MIT",
22
- "sideEffects": [
23
- "./src/ListTable-all.js",
24
- "./src/ListTable-simple.js",
25
- "./src/PivotTable-all.js",
26
- "./src/PivotTable-simple.js",
27
- "./src/PivotChart.js",
28
- "./src/index.js",
29
- "./src/scenegraph/scenegraph.js"
30
- ],
22
+ "sideEffects": true,
31
23
  "main": "cjs/index.js",
32
24
  "module": "es/index.js",
33
25
  "types": "es/index.d.ts",
34
26
  "files": [
35
27
  "cjs",
36
- "es",
37
- "dist"
28
+ "es"
38
29
  ],
39
- "scripts": {
40
- "demo": "vite serve examples",
41
- "site-demo": "vite serve site-demo",
42
- "compile": "tsc --noEmit",
43
- "eslint": "eslint --debug --fix src/",
44
- "build": "npm run fix-memory-limit && bundle --clean",
45
- "dev": "bundle --clean -f es -w",
46
- "start": "vite serve examples",
47
- "test": "jest --silent",
48
- "test-cov": "jest --coverage",
49
- "ci": "ts-node --transpileOnly --skipProject ./scripts/trigger-test.ts",
50
- "build:es": "bundle --clean -f es --ignorePostTasks",
51
- "test-nodejs": "ts-node --transpileOnly --skipProject ./nodejs/index.ts",
52
- "fix-memory-limit": "cross-env LIMIT=10240 increase-memory-limit"
53
- },
54
30
  "dependencies": {
55
31
  "@visactor/vtable-editors": "1.26.5",
56
- "@visactor/vrender": "1.1.4",
57
- "@visactor/vrender-core": "1.1.4",
58
- "@visactor/vrender-kits": "1.1.4",
59
- "@visactor/vrender-components": "1.1.4",
60
- "@visactor/vrender-animate": "1.1.4",
32
+ "@visactor/vrender": "1.1.6",
33
+ "@visactor/vrender-core": "1.1.6",
34
+ "@visactor/vrender-kits": "1.1.6",
35
+ "@visactor/vrender-components": "1.1.6",
36
+ "@visactor/vrender-animate": "1.1.6",
61
37
  "@visactor/vutils": "~1.0.17",
62
38
  "@visactor/vscale": "~1.0.17",
63
39
  "@visactor/vdataset": "~1.0.17",
@@ -66,61 +42,6 @@
66
42
  "gifuct-js": "2.1.2",
67
43
  "lodash": "4.17.21"
68
44
  },
69
- "devDependencies": {
70
- "cross-env": "^7.0.3",
71
- "increase-memory-limit": "^1.0.7",
72
- "luxon": "*",
73
- "@visactor/vchart": "2.1.3",
74
- "@internal/bundler": "0.0.1",
75
- "@internal/eslint-config": "0.0.1",
76
- "@internal/ts-config": "0.0.1",
77
- "@rushstack/eslint-patch": "~1.1.4",
78
- "react": "18.2.0",
79
- "react-dom": "18.2.0",
80
- "@types/react": "18.2.79",
81
- "@types/react-dom": "18.2.25",
82
- "@vitejs/plugin-react": "3.1.0",
83
- "eslint": "~8.18.0",
84
- "vite": "3.2.6",
85
- "typescript": "4.9.5",
86
- "@babel/core": "7.20.12",
87
- "@babel/preset-env": "7.20.2",
88
- "@types/chai": "4.2.22",
89
- "@types/jest": "^26.0.0",
90
- "@types/mocha": "9.0.0",
91
- "@types/node": "*",
92
- "@types/offscreencanvas": "2019.6.4",
93
- "@types/lodash": "4.14.182",
94
- "chai": "4.3.4",
95
- "jest": "^26.0.0",
96
- "jest-electron": "^0.1.12",
97
- "jest-transform-stub": "^2.0.0",
98
- "magic-string": "^0.25.7",
99
- "mocha": "9.1.3",
100
- "postcss": "8.4.21",
101
- "rimraf": "3.0.2",
102
- "sass": "1.43.5",
103
- "ts-jest": "^26.0.0",
104
- "ts-loader": "9.2.6",
105
- "ts-node": "10.9.0",
106
- "tslib": "2.3.1",
107
- "ttypescript": "1.5.13",
108
- "typescript-transform-paths": "3.3.1",
109
- "json-formatter-js": "^2.3.4",
110
- "inversify": "6.0.1",
111
- "vite-plugin-markdown": "^2.1.0",
112
- "markdown-it": "^13.0.0",
113
- "node-fetch": "2.6.7",
114
- "form-data": "~4.0.0",
115
- "axios": "^1.4.0",
116
- "d3-dsv": "^3.0.1",
117
- "d3-array": "3.2.3",
118
- "d3-geo": "^3.0.1",
119
- "d3-hexbin": "^0.2.2",
120
- "d3-hierarchy": "^3.1.1",
121
- "@resvg/resvg-js": "^2.5.0",
122
- "pikaday": "1.8.2"
123
- },
124
45
  "unpkg": "latest",
125
46
  "unpkgFiles": [
126
47
  "dist/vtable.js",
@@ -135,4 +56,4 @@
135
56
  "url": "https://github.com/VisActor/VTable.git",
136
57
  "directory": "packages/vtable"
137
58
  }
138
- }
59
+ }