webgal-parser 4.4.14-3 → 4.4.14

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.
@@ -36,7 +36,6 @@ var commandType;
36
36
  commandType[commandType["setTransform"] = 29] = "setTransform";
37
37
  commandType[commandType["setTransition"] = 30] = "setTransition";
38
38
  commandType[commandType["getUserInput"] = 31] = "getUserInput";
39
- commandType[commandType["applyStyle"] = 32] = "applyStyle";
40
39
  })(commandType || (commandType = {}));
41
40
 
42
41
  const SCRIPT_CONFIG = [
@@ -69,7 +68,6 @@ const SCRIPT_CONFIG = [
69
68
  { scriptString: 'setTextbox', scriptType: commandType.setTextbox },
70
69
  { scriptString: 'setAnimation', scriptType: commandType.setAnimation },
71
70
  { scriptString: 'playEffect', scriptType: commandType.playEffect },
72
- { scriptString: 'applyStyle', scriptType: commandType.applyStyle },
73
71
  ];
74
72
  const ADD_NEXT_ARG_LIST = [
75
73
  commandType.bgm,
@@ -2,7 +2,7 @@ import { ADD_NEXT_ARG_LIST, SCRIPT_CONFIG, ConfigMap, ConfigItem } from './confi
2
2
  import { WebgalConfig } from './configParser/configParser';
3
3
  import { fileType } from './interface/assets';
4
4
  import { IAsset } from './interface/sceneInterface';
5
- import { IWebGALStyleObj } from "./styleParser";
5
+ import { IWebGALStyleObj } from "@/styleParser";
6
6
  export default class SceneParser {
7
7
  private readonly assetsPrefetcher;
8
8
  private readonly assetSetter;
@@ -35,8 +35,7 @@ export declare enum commandType {
35
35
  comment = 28,
36
36
  setTransform = 29,
37
37
  setTransition = 30,
38
- getUserInput = 31,
39
- applyStyle = 32
38
+ getUserInput = 31
40
39
  }
41
40
  /**
42
41
  * 单个参数接口
@@ -2,7 +2,7 @@ import { ADD_NEXT_ARG_LIST, SCRIPT_CONFIG, ConfigMap, ConfigItem } from './confi
2
2
  import { WebgalConfig } from './configParser/configParser';
3
3
  import { fileType } from './interface/assets';
4
4
  import { IAsset } from './interface/sceneInterface';
5
- import { IWebGALStyleObj } from "./styleParser";
5
+ import { IWebGALStyleObj } from "@/styleParser";
6
6
  export default class SceneParser {
7
7
  private readonly assetsPrefetcher;
8
8
  private readonly assetSetter;
package/build/es/index.js CHANGED
@@ -32,7 +32,6 @@ var commandType;
32
32
  commandType[commandType["setTransform"] = 29] = "setTransform";
33
33
  commandType[commandType["setTransition"] = 30] = "setTransition";
34
34
  commandType[commandType["getUserInput"] = 31] = "getUserInput";
35
- commandType[commandType["applyStyle"] = 32] = "applyStyle";
36
35
  })(commandType || (commandType = {}));
37
36
 
38
37
  const SCRIPT_CONFIG = [
@@ -65,7 +64,6 @@ const SCRIPT_CONFIG = [
65
64
  { scriptString: 'setTextbox', scriptType: commandType.setTextbox },
66
65
  { scriptString: 'setAnimation', scriptType: commandType.setAnimation },
67
66
  { scriptString: 'playEffect', scriptType: commandType.playEffect },
68
- { scriptString: 'applyStyle', scriptType: commandType.applyStyle },
69
67
  ];
70
68
  const ADD_NEXT_ARG_LIST = [
71
69
  commandType.bgm,
@@ -35,8 +35,7 @@ export declare enum commandType {
35
35
  comment = 28,
36
36
  setTransform = 29,
37
37
  setTransition = 30,
38
- getUserInput = 31,
39
- applyStyle = 32
38
+ getUserInput = 31
40
39
  }
41
40
  /**
42
41
  * 单个参数接口
@@ -2,7 +2,7 @@ import { ADD_NEXT_ARG_LIST, SCRIPT_CONFIG, ConfigMap, ConfigItem } from './confi
2
2
  import { WebgalConfig } from './configParser/configParser';
3
3
  import { fileType } from './interface/assets';
4
4
  import { IAsset } from './interface/sceneInterface';
5
- import { IWebGALStyleObj } from "./styleParser";
5
+ import { IWebGALStyleObj } from "@/styleParser";
6
6
  export default class SceneParser {
7
7
  private readonly assetsPrefetcher;
8
8
  private readonly assetSetter;
@@ -35,8 +35,7 @@ export declare enum commandType {
35
35
  comment = 28,
36
36
  setTransform = 29,
37
37
  setTransition = 30,
38
- getUserInput = 31,
39
- applyStyle = 32
38
+ getUserInput = 31
40
39
  }
41
40
  /**
42
41
  * 单个参数接口
@@ -35,7 +35,6 @@ var webgalParser = (function (exports) {
35
35
  commandType[commandType["setTransform"] = 29] = "setTransform";
36
36
  commandType[commandType["setTransition"] = 30] = "setTransition";
37
37
  commandType[commandType["getUserInput"] = 31] = "getUserInput";
38
- commandType[commandType["applyStyle"] = 32] = "applyStyle";
39
38
  })(commandType || (commandType = {}));
40
39
 
41
40
  const SCRIPT_CONFIG = [
@@ -68,7 +67,6 @@ var webgalParser = (function (exports) {
68
67
  { scriptString: 'setTextbox', scriptType: commandType.setTextbox },
69
68
  { scriptString: 'setAnimation', scriptType: commandType.setAnimation },
70
69
  { scriptString: 'playEffect', scriptType: commandType.playEffect },
71
- { scriptString: 'applyStyle', scriptType: commandType.applyStyle },
72
70
  ];
73
71
  const ADD_NEXT_ARG_LIST = [
74
72
  commandType.bgm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webgal-parser",
3
- "version": "4.4.14-3",
3
+ "version": "4.4.14",
4
4
  "description": "WebGAL script parser",
5
5
  "scripts": {
6
6
  "test": "vitest",
@@ -1,4 +1,4 @@
1
- import {commandType} from '../interface/sceneInterface';
1
+ import { commandType } from '../interface/sceneInterface';
2
2
 
3
3
  export const SCRIPT_CONFIG = [
4
4
  { scriptString: 'intro', scriptType: commandType.intro },
@@ -30,7 +30,6 @@ export const SCRIPT_CONFIG = [
30
30
  { scriptString: 'setTextbox', scriptType: commandType.setTextbox },
31
31
  { scriptString: 'setAnimation', scriptType: commandType.setAnimation },
32
32
  { scriptString: 'playEffect', scriptType: commandType.playEffect },
33
- { scriptString: 'applyStyle', scriptType: commandType.applyStyle },
34
33
  ];
35
34
  export const ADD_NEXT_ARG_LIST = [
36
35
  commandType.bgm,
package/src/index.ts CHANGED
@@ -8,7 +8,7 @@ import { configParser, WebgalConfig } from './configParser/configParser';
8
8
  import { fileType } from './interface/assets';
9
9
  import { IAsset } from './interface/sceneInterface';
10
10
  import { sceneParser } from './sceneParser';
11
- import {IWebGALStyleObj, scss2cssinjsParser} from "./styleParser";
11
+ import {IWebGALStyleObj, scss2cssinjsParser} from "@/styleParser";
12
12
 
13
13
  export default class SceneParser {
14
14
  private readonly SCRIPT_CONFIG_MAP: ConfigMap;
@@ -37,7 +37,6 @@ export enum commandType {
37
37
  setTransform,
38
38
  setTransition,
39
39
  getUserInput,
40
- applyStyle
41
40
  }
42
41
 
43
42
  /**