@visactor/vstory 0.0.23 → 0.0.24-alpha.1
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/cjs/index.d.ts +6 -1
- package/cjs/index.js +2 -2
- package/cjs/index.js.map +1 -1
- package/es/index.d.ts +6 -1
- package/es/index.js +2 -2
- package/es/index.js.map +1 -1
- package/package.json +8 -8
- package/dist/index.js +0 -194822
- package/dist/index.min.js +0 -1
package/cjs/index.d.ts
CHANGED
|
@@ -4,5 +4,10 @@ export * from '@visactor/vstory-templates';
|
|
|
4
4
|
export * from '@visactor/vstory-external';
|
|
5
5
|
export * from '@visactor/vstory-animate';
|
|
6
6
|
export * from '@visactor/vstory-editor';
|
|
7
|
-
export declare function registerAll(
|
|
7
|
+
export declare function registerAll(mode?: 'browser' | 'node', nodeParams?: {
|
|
8
|
+
createCanvas: any;
|
|
9
|
+
createImageData: any;
|
|
10
|
+
loadImage: any;
|
|
11
|
+
Resvg: any;
|
|
12
|
+
}): void;
|
|
8
13
|
export * as VUtils from '@visactor/vutils';
|
package/cjs/index.js
CHANGED
|
@@ -33,11 +33,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
33
33
|
|
|
34
34
|
const vstory_animate_1 = require("@visactor/vstory-animate"), vstory_core_1 = require("@visactor/vstory-core"), vstory_player_1 = require("@visactor/vstory-player");
|
|
35
35
|
|
|
36
|
-
function registerAll() {
|
|
36
|
+
function registerAll(mode = "browser", nodeParams) {
|
|
37
37
|
(0, vstory_core_1.registerGraphics)(), (0, vstory_core_1.registerCharacters)(),
|
|
38
38
|
(0, vstory_player_1.registerVChartAction)(), (0, vstory_player_1.registerVComponentAction)(),
|
|
39
39
|
(0, vstory_player_1.registerCommonBounceAction)(), (0, vstory_animate_1.registerEasing)(),
|
|
40
|
-
(0, vstory_player_1.registerVTableAction)(), (0, vstory_core_1.initVR)();
|
|
40
|
+
(0, vstory_player_1.registerVTableAction)(), (0, vstory_core_1.initVR)(mode, nodeParams);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
__exportStar(require("@visactor/vstory-core"), exports), __exportStar(require("@visactor/vstory-player"), exports),
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA0D;AAC1D,uDAAqF;AACrF,2DAKiC;AAEjC,wDAAsC;AACtC,0DAAwC;AACxC,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,0DAAwC;AAExC,SAAgB,WAAW;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAA0D;AAC1D,uDAAqF;AACrF,2DAKiC;AAEjC,wDAAsC;AACtC,0DAAwC;AACxC,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,0DAAwC;AAExC,SAAgB,WAAW,CACzB,OAA2B,SAAS,EACpC,UAAoF;IAEpF,IAAA,8BAAgB,GAAE,CAAC;IACnB,IAAA,gCAAkB,GAAE,CAAC;IACrB,IAAA,oCAAoB,GAAE,CAAC;IACvB,IAAA,wCAAwB,GAAE,CAAC;IAC3B,IAAA,0CAA0B,GAAE,CAAC;IAC7B,IAAA,+BAAc,GAAE,CAAC;IACjB,IAAA,oCAAoB,GAAE,CAAC;IACvB,IAAA,oBAAM,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;AAZD,kCAYC;AACD,2DAA2C","file":"index.js","sourcesContent":["import { registerEasing } from '@visactor/vstory-animate';\nimport { initVR, registerCharacters, registerGraphics } from '@visactor/vstory-core';\nimport {\n registerCommonBounceAction,\n registerVChartAction,\n registerVComponentAction,\n registerVTableAction\n} from '@visactor/vstory-player';\n\nexport * from '@visactor/vstory-core';\nexport * from '@visactor/vstory-player';\nexport * from '@visactor/vstory-templates';\nexport * from '@visactor/vstory-external';\nexport * from '@visactor/vstory-animate';\nexport * from '@visactor/vstory-editor';\n\nexport function registerAll(\n mode: 'browser' | 'node' = 'browser',\n nodeParams?: { createCanvas: any; createImageData: any; loadImage: any; Resvg: any }\n) {\n registerGraphics();\n registerCharacters();\n registerVChartAction();\n registerVComponentAction();\n registerCommonBounceAction();\n registerEasing();\n registerVTableAction();\n initVR(mode, nodeParams);\n}\nexport * as VUtils from '@visactor/vutils';\n"]}
|
package/es/index.d.ts
CHANGED
|
@@ -4,5 +4,10 @@ export * from '@visactor/vstory-templates';
|
|
|
4
4
|
export * from '@visactor/vstory-external';
|
|
5
5
|
export * from '@visactor/vstory-animate';
|
|
6
6
|
export * from '@visactor/vstory-editor';
|
|
7
|
-
export declare function registerAll(
|
|
7
|
+
export declare function registerAll(mode?: 'browser' | 'node', nodeParams?: {
|
|
8
|
+
createCanvas: any;
|
|
9
|
+
createImageData: any;
|
|
10
|
+
loadImage: any;
|
|
11
|
+
Resvg: any;
|
|
12
|
+
}): void;
|
|
8
13
|
export * as VUtils from '@visactor/vutils';
|
package/es/index.js
CHANGED
|
@@ -16,9 +16,9 @@ export * from "@visactor/vstory-animate";
|
|
|
16
16
|
|
|
17
17
|
export * from "@visactor/vstory-editor";
|
|
18
18
|
|
|
19
|
-
export function registerAll() {
|
|
19
|
+
export function registerAll(mode = "browser", nodeParams) {
|
|
20
20
|
registerGraphics(), registerCharacters(), registerVChartAction(), registerVComponentAction(),
|
|
21
|
-
registerCommonBounceAction(), registerEasing(), registerVTableAction(), initVR();
|
|
21
|
+
registerCommonBounceAction(), registerEasing(), registerVTableAction(), initVR(mode, nodeParams);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
import * as VUtils_1 from "@visactor/vutils";
|
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAExC,MAAM,UAAU,WAAW;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAExC,MAAM,UAAU,WAAW,CACzB,OAA2B,SAAS,EACpC,UAAoF;IAEpF,gBAAgB,EAAE,CAAC;IACnB,kBAAkB,EAAE,CAAC;IACrB,oBAAoB,EAAE,CAAC;IACvB,wBAAwB,EAAE,CAAC;IAC3B,0BAA0B,EAAE,CAAC;IAC7B,cAAc,EAAE,CAAC;IACjB,oBAAoB,EAAE,CAAC;IACvB,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;0BACuB,kBAAkB;qBAA9B,MAAM","file":"index.js","sourcesContent":["import { registerEasing } from '@visactor/vstory-animate';\nimport { initVR, registerCharacters, registerGraphics } from '@visactor/vstory-core';\nimport {\n registerCommonBounceAction,\n registerVChartAction,\n registerVComponentAction,\n registerVTableAction\n} from '@visactor/vstory-player';\n\nexport * from '@visactor/vstory-core';\nexport * from '@visactor/vstory-player';\nexport * from '@visactor/vstory-templates';\nexport * from '@visactor/vstory-external';\nexport * from '@visactor/vstory-animate';\nexport * from '@visactor/vstory-editor';\n\nexport function registerAll(\n mode: 'browser' | 'node' = 'browser',\n nodeParams?: { createCanvas: any; createImageData: any; loadImage: any; Resvg: any }\n) {\n registerGraphics();\n registerCharacters();\n registerVChartAction();\n registerVComponentAction();\n registerCommonBounceAction();\n registerEasing();\n registerVTableAction();\n initVR(mode, nodeParams);\n}\nexport * as VUtils from '@visactor/vutils';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vstory",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": true,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@visactor/vstory-core": "0.0.
|
|
16
|
-
"@visactor/vstory-animate": "0.0.
|
|
17
|
-
"@visactor/vstory-editor": "0.0.
|
|
18
|
-
"@visactor/vstory-player": "0.0.
|
|
19
|
-
"@visactor/vstory-templates": "0.0.
|
|
20
|
-
"@visactor/vstory-external": "0.0.
|
|
15
|
+
"@visactor/vstory-core": "0.0.24-alpha.1",
|
|
16
|
+
"@visactor/vstory-animate": "0.0.24-alpha.1",
|
|
17
|
+
"@visactor/vstory-editor": "0.0.24-alpha.1",
|
|
18
|
+
"@visactor/vstory-player": "0.0.24-alpha.1",
|
|
19
|
+
"@visactor/vstory-templates": "0.0.24-alpha.1",
|
|
20
|
+
"@visactor/vstory-external": "0.0.24-alpha.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"eslint": "~8.18.0",
|
|
43
43
|
"vite": "3.2.6",
|
|
44
44
|
"typescript": "4.9.5",
|
|
45
|
-
"@internal/eslint-config": "0.0.1",
|
|
46
45
|
"@internal/bundler": "0.0.1",
|
|
46
|
+
"@internal/eslint-config": "0.0.1",
|
|
47
47
|
"@internal/ts-config": "0.0.1"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|