@visactor/vstory 0.0.6 → 0.0.7

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.
Files changed (59) hide show
  1. package/cjs/dsl/story-chart/pie.js +1 -1
  2. package/cjs/dsl/story-executor/index.js +2 -0
  3. package/cjs/dsl/story-processor/index.js +1 -1
  4. package/cjs/dsl/story-processor/processor.js +1 -1
  5. package/cjs/dsl/types/Datum.js +1 -1
  6. package/cjs/dsl/types/index.js +1 -1
  7. package/cjs/dsl/utils/datum.js +1 -1
  8. package/cjs/dsl/utils/flicker.js +2 -1
  9. package/cjs/edit/edit-component/base-selection.js +1 -1
  10. package/cjs/edit/edit-component/box-selection.js +1 -1
  11. package/cjs/edit/edit-component/chart-selection.js +1 -1
  12. package/cjs/edit/edit-component/common.js +0 -2
  13. package/cjs/edit/edit-component/image-selection.js +1 -1
  14. package/cjs/edit/edit-component/index.js +1 -1
  15. package/cjs/edit/edit-component/layer-edit.js +0 -2
  16. package/cjs/edit/edit-component/rect-selection.js +1 -1
  17. package/cjs/edit/edit-component/richtext-selection-common.js +1 -1
  18. package/cjs/edit/edit-component/richtext-selection.js +1 -1
  19. package/cjs/edit/edit-component/shape-selection.js +1 -2
  20. package/cjs/edit/edit-component/text-selection.js +1 -1
  21. package/cjs/player/encode.js +0 -2
  22. package/cjs/player/interface/player.js +1 -1
  23. package/cjs/player/interface/scheduler.js +1 -1
  24. package/cjs/player/processor/common-processor.js +2 -0
  25. package/cjs/player/processor/processor-item.js +1 -1
  26. package/cjs/scene/action.js +2 -0
  27. package/cjs/story/character/chart/characters/rankingBar.js +10 -2
  28. package/cjs/story/character/chart/characters/rankingBar.js.map +1 -1
  29. package/dist/index.js +73710 -15736
  30. package/dist/index.min.js +3 -3
  31. package/es/dsl/story-chart/pie.js +1 -1
  32. package/es/dsl/story-executor/index.js +2 -0
  33. package/es/dsl/story-processor/index.js +1 -1
  34. package/es/dsl/story-processor/processor.js +1 -1
  35. package/es/dsl/types/Datum.js +1 -1
  36. package/es/dsl/types/index.js +1 -1
  37. package/es/dsl/utils/datum.js +1 -1
  38. package/es/dsl/utils/flicker.js +2 -1
  39. package/es/edit/edit-component/base-selection.js +1 -1
  40. package/es/edit/edit-component/box-selection.js +1 -1
  41. package/es/edit/edit-component/chart-selection.js +1 -1
  42. package/es/edit/edit-component/common.js +0 -2
  43. package/es/edit/edit-component/image-selection.js +1 -1
  44. package/es/edit/edit-component/index.js +1 -1
  45. package/es/edit/edit-component/layer-edit.js +0 -2
  46. package/es/edit/edit-component/rect-selection.js +1 -1
  47. package/es/edit/edit-component/richtext-selection-common.js +1 -1
  48. package/es/edit/edit-component/richtext-selection.js +1 -1
  49. package/es/edit/edit-component/shape-selection.js +1 -2
  50. package/es/edit/edit-component/text-selection.js +1 -1
  51. package/es/player/encode.js +0 -2
  52. package/es/player/interface/player.js +1 -1
  53. package/es/player/interface/scheduler.js +1 -1
  54. package/es/player/processor/common-processor.js +2 -0
  55. package/es/player/processor/processor-item.js +1 -1
  56. package/es/scene/action.js +2 -0
  57. package/es/story/character/chart/characters/rankingBar.js +5 -1
  58. package/es/story/character/chart/characters/rankingBar.js.map +1 -1
  59. package/package.json +5 -5
@@ -18,4 +18,4 @@ export class StoryPie extends StoryChart {
18
18
  this.snapshot(styleNode);
19
19
  }
20
20
  }
21
- //# sourceMappingURL=pie.js.map
21
+ //# sourceMappingURL=pie.js.map
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
1
  export * from "./processor";
2
2
 
3
3
  export { processorMap } from "./processorMap/processorMap";
4
- //# sourceMappingURL=index.js.map
4
+ //# sourceMappingURL=index.js.map
@@ -61,4 +61,4 @@ export class ActionProcessor {
61
61
  }
62
62
 
63
63
  ActionProcessor._instance = null;
64
- //# sourceMappingURL=processor.js.map
64
+ //# sourceMappingURL=processor.js.map
@@ -1,2 +1,2 @@
1
1
  export { };
2
- //# sourceMappingURL=Datum.js.map
2
+ //# sourceMappingURL=Datum.js.map
@@ -3,4 +3,4 @@ export * from "./common";
3
3
  export * from "./chart";
4
4
 
5
5
  export * from "./graphic";
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -7,4 +7,4 @@ export const isDatumEqual = (source, target) => {
7
7
  return sKeys.filter((k => tKeys.includes(k))).every((key => s[key] === t[key]));
8
8
  })(s, targetData)));
9
9
  };
10
- //# sourceMappingURL=datum.js.map
10
+ //# sourceMappingURL=datum.js.map
@@ -6,4 +6,5 @@ export const flickerEffect = group => {
6
6
  opacity: 1
7
7
  }, 120, "linear").loop(1);
8
8
  }));
9
- };
9
+ };
10
+ //# sourceMappingURL=flicker.js.map
@@ -86,4 +86,4 @@ export class BaseSelection {
86
86
  });
87
87
  }
88
88
  }
89
- //# sourceMappingURL=base-selection.js.map
89
+ //# sourceMappingURL=base-selection.js.map
@@ -16,4 +16,4 @@ export class BoxSelection extends BaseSelection {
16
16
  })), !0) : "pointerdown" === actionInfo.type;
17
17
  }
18
18
  }
19
- //# sourceMappingURL=box-selection.js.map
19
+ //# sourceMappingURL=box-selection.js.map
@@ -28,4 +28,4 @@ export class ChartSelection extends BaseSelection {
28
28
  super.editEnd();
29
29
  }
30
30
  }
31
- //# sourceMappingURL=chart-selection.js.map
31
+ //# sourceMappingURL=chart-selection.js.map
@@ -1,3 +1 @@
1
-
2
-
3
1
  //# sourceMappingURL=common.js.map
@@ -7,4 +7,4 @@ export class ImageSelection extends RectSelection {
7
7
  super(...arguments), this.level = 3, this.type = "image", this.editCharacterType = StoryComponentType.IMAGE;
8
8
  }
9
9
  }
10
- //# sourceMappingURL=image-selection.js.map
10
+ //# sourceMappingURL=image-selection.js.map
@@ -15,4 +15,4 @@ export function loadAllSelection() {
15
15
  Edit.registerEditComponent("shape", ShapeSelection), Edit.registerEditComponent("chart", ChartSelection),
16
16
  Edit.registerEditComponent("box-selection", BoxSelection);
17
17
  }
18
- //# sourceMappingURL=index.js.map
18
+ //# sourceMappingURL=index.js.map
@@ -1,3 +1 @@
1
-
2
-
3
1
  //# sourceMappingURL=layer-edit.js.map
@@ -21,4 +21,4 @@ export class RectSelection extends RichTextSelectionCommon {
21
21
  return super.handlerTransformChange(data, event);
22
22
  }
23
23
  }
24
- //# sourceMappingURL=rect-selection.js.map
24
+ //# sourceMappingURL=rect-selection.js.map
@@ -30,4 +30,4 @@ export class RichTextSelectionCommon extends BaseSelection {
30
30
  }
31
31
 
32
32
  mixin(RichTextSelectionCommon, RichTextMixin);
33
- //# sourceMappingURL=richtext-selection-common.js.map
33
+ //# sourceMappingURL=richtext-selection-common.js.map
@@ -26,4 +26,4 @@ export class RichTextSelection extends BaseSelection {
26
26
  });
27
27
  }
28
28
  }
29
- //# sourceMappingURL=richtext-selection.js.map
29
+ //# sourceMappingURL=richtext-selection.js.map
@@ -26,5 +26,4 @@ export class ShapeSelection extends RectSelection {
26
26
  }));
27
27
  }
28
28
  }
29
- }
30
- //# sourceMappingURL=shape-selection.js.map
29
+ }
@@ -12,4 +12,4 @@ export class TextSelection extends BaseSelection {
12
12
  });
13
13
  }
14
14
  }
15
- //# sourceMappingURL=text-selection.js.map
15
+ //# sourceMappingURL=text-selection.js.map
@@ -1,3 +1 @@
1
-
2
-
3
1
  //# sourceMappingURL=encode.js.map
@@ -1,2 +1,2 @@
1
1
  export { };
2
- //# sourceMappingURL=player.js.map
2
+ //# sourceMappingURL=player.js.map
@@ -1,2 +1,2 @@
1
1
  export { };
2
- //# sourceMappingURL=scheduler.js.map
2
+ //# sourceMappingURL=scheduler.js.map
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=common-processor.js.map
@@ -13,4 +13,4 @@ export class ActionProcessorItem {
13
13
  }
14
14
  run(character, actionSpec) {}
15
15
  }
16
- //# sourceMappingURL=processor-item.js.map
16
+ //# sourceMappingURL=processor-item.js.map
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=action.js.map
@@ -1,12 +1,16 @@
1
1
  import { registerRankingBarChart } from "@visactor/vchart-extension";
2
2
 
3
+ import VChart from "@visactor/vchart";
4
+
3
5
  import { StoryFactory } from "../../../factory/factory";
4
6
 
5
7
  import { CharacterChart } from "../character";
6
8
 
7
9
  import { RankingBarTemp } from "../temp/templates/ranking-bar-temp";
8
10
 
9
- StoryFactory.registerChartTemp(RankingBarTemp.type, RankingBarTemp), registerRankingBarChart();
11
+ StoryFactory.registerChartTemp(RankingBarTemp.type, RankingBarTemp), registerRankingBarChart({
12
+ VChart: VChart
13
+ });
10
14
 
11
15
  export class RankingBarCharacter extends CharacterChart {}
12
16
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/story/character/chart/characters/rankingBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,YAAY,CAAC,iBAAiB,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AAEpE,uBAAuB,EAAE,CAAC;AAE1B,MAAM,OAAO,mBAAoB,SAAQ,cAAc;;AAC9C,wBAAI,GAAG,YAAY,CAAC","file":"rankingBar.js","sourcesContent":["import { registerRankingBarChart } from '@visactor/vchart-extension';\nimport { StoryFactory } from '../../../factory/factory';\nimport { CharacterChart } from '../character';\nimport { RankingBarTemp } from '../temp/templates/ranking-bar-temp';\nimport { VChartTemp } from '../temp/templates/vchart-temp';\n\n// StoryFactory.registerChartTemp(RankingBarTemp.type, VChartTemp);\nStoryFactory.registerChartTemp(RankingBarTemp.type, RankingBarTemp);\n\nregisterRankingBarChart();\n\nexport class RankingBarCharacter extends CharacterChart {\n static type = 'RankingBar';\n}\n"]}
1
+ {"version":3,"sources":["../src/story/character/chart/characters/rankingBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,MAAM,MAAM,kBAAkB,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,YAAY,CAAC,iBAAiB,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;AAEpE,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;AAEpC,MAAM,OAAO,mBAAoB,SAAQ,cAAc;;AAC9C,wBAAI,GAAG,YAAY,CAAC","file":"rankingBar.js","sourcesContent":["import { registerRankingBarChart } from '@visactor/vchart-extension';\nimport VChart from '@visactor/vchart';\n\nimport { StoryFactory } from '../../../factory/factory';\nimport { CharacterChart } from '../character';\nimport { RankingBarTemp } from '../temp/templates/ranking-bar-temp';\n\nStoryFactory.registerChartTemp(RankingBarTemp.type, RankingBarTemp);\n\nregisterRankingBarChart({ VChart });\n\nexport class RankingBarCharacter extends CharacterChart {\n static type = 'RankingBar';\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vstory",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "sideEffects": true,
6
6
  "main": "cjs/index.js",
@@ -30,12 +30,12 @@
30
30
  "@visactor/vrender-kits": "0.20.1-alpha.5",
31
31
  "@visactor/vrender-components": "0.20.1-alpha.5",
32
32
  "@visactor/vutils": "~0.18.4",
33
- "@visactor/vchart-extension": "0.0.2-alpha.2"
33
+ "@visactor/vchart-extension": "0.0.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@internal/bundler": "0.0.1",
37
- "@internal/eslint-config": "0.0.1",
38
- "@internal/ts-config": "0.0.1",
36
+ "@internal/bundler": "workspace:*",
37
+ "@internal/eslint-config": "workspace:*",
38
+ "@internal/ts-config": "workspace:*",
39
39
  "@rushstack/eslint-patch": "~1.1.4",
40
40
  "@ffmpeg/core": "^0.11.0",
41
41
  "@ffmpeg/ffmpeg": "^0.11.6",