@wwawing/page-generator 4.0.8-fps-measure.based-on.4.0.7 → 4.0.8

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.
@@ -1,4 +1,3 @@
1
- import type { FrameRateDisplayingPattern } from "@wwawing/common-interface";
2
1
  export interface GameOption {
3
2
  isUrlGateEnabled?: boolean;
4
3
  isClassicMode?: boolean;
@@ -21,7 +20,6 @@ export interface GameOption {
21
20
  wwaScript?: {
22
21
  userDefinedScriptsFile: string;
23
22
  };
24
- frameRateDisplayingPattern?: FrameRateDisplayingPattern;
25
23
  }
26
24
  export interface Resources {
27
25
  mapData: string;
package/lib/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import type { FrameRateDisplayingPattern } from "@wwawing/common-interface";
2
1
  import * as DataTypes from "./data-types";
3
2
  export interface InputConfig {
4
3
  page?: DataTypes.Page;
@@ -36,7 +35,6 @@ export interface TemplateValues {
36
35
  "data-wwa-virtualpad-controller-elm"?: string;
37
36
  "data-wwa-user-defined-scripts-file"?: string;
38
37
  "data-wwa-picture-image-names-file"?: string;
39
- "data-wwa-frame-rate-displaying-pattern"?: FrameRateDisplayingPattern;
40
38
  };
41
39
  };
42
40
  debugConsoleElement?: {
package/lib/index.js CHANGED
@@ -38,7 +38,7 @@ const pug = __importStar(require("pug"));
38
38
  const path = __importStar(require("node:path"));
39
39
  const Helper = __importStar(require("./helper"));
40
40
  function generateTemplateValues({ page, wwa, copyrights }) {
41
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
41
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
42
42
  return {
43
43
  head: {
44
44
  pageTitle: (page === null || page === void 0 ? void 0 : page.title) || "World Wide Adventure Wing",
@@ -66,12 +66,11 @@ function generateTemplateValues({ page, wwa, copyrights }) {
66
66
  "data-wwa-virtualpad-controller-elm": ((_t = (_s = wwa.gameOption) === null || _s === void 0 ? void 0 : _s.virtualPad) === null || _t === void 0 ? void 0 : _t.controllerId) ? `#${wwa.gameOption.virtualPad.controllerId}` : undefined,
67
67
  "data-wwa-user-defined-scripts-file": (_v = (_u = wwa.gameOption) === null || _u === void 0 ? void 0 : _u.wwaScript) === null || _v === void 0 ? void 0 : _v.userDefinedScriptsFile,
68
68
  "data-wwa-picture-image-names-file": wwa.resources.pictureImageNamesFile,
69
- "data-wwa-frame-rate-displaying-pattern": (_w = wwa.gameOption) === null || _w === void 0 ? void 0 : _w.frameRateDisplayingPattern
70
69
  }
71
70
  },
72
- debugConsoleElement: ((_x = wwa.gameOption) === null || _x === void 0 ? void 0 : _x.debugConsole) ? { id: "wwa-debug-console-area" } : undefined,
73
- varDumpElement: ((_z = (_y = wwa.gameOption) === null || _y === void 0 ? void 0 : _y.userVars) === null || _z === void 0 ? void 0 : _z.dumpElementId) ? { id: wwa.gameOption.userVars.dumpElementId } : undefined,
74
- virtualPadController: ((_1 = (_0 = wwa.gameOption) === null || _0 === void 0 ? void 0 : _0.virtualPad) === null || _1 === void 0 ? void 0 : _1.controllerId) ? { id: wwa.gameOption.virtualPad.controllerId } : undefined,
71
+ debugConsoleElement: ((_w = wwa.gameOption) === null || _w === void 0 ? void 0 : _w.debugConsole) ? { id: "wwa-debug-console-area" } : undefined,
72
+ varDumpElement: ((_y = (_x = wwa.gameOption) === null || _x === void 0 ? void 0 : _x.userVars) === null || _y === void 0 ? void 0 : _y.dumpElementId) ? { id: wwa.gameOption.userVars.dumpElementId } : undefined,
73
+ virtualPadController: ((_0 = (_z = wwa.gameOption) === null || _z === void 0 ? void 0 : _z.virtualPad) === null || _0 === void 0 ? void 0 : _0.controllerId) ? { id: wwa.gameOption.virtualPad.controllerId } : undefined,
75
74
  footer: {
76
75
  copyrights: Helper.generateCopyrights(copyrights)
77
76
  }
package/lib/wwa.pug CHANGED
@@ -31,7 +31,6 @@ html(lang="ja")
31
31
  data-wwa-virtualpad-controller-elm=wwa.attributes["data-wwa-virtualpad-controller-elm"]
32
32
  data-wwa-user-defined-scripts-file=wwa.attributes["data-wwa-user-defined-scripts-file"]
33
33
  data-wwa-picture-image-names-file=wwa.attributes["data-wwa-picture-image-names-file"]
34
- data-wwa-frame-rate-displaying-pattern=wwa.attributes["data-wwa-frame-rate-displaying-pattern"]
35
34
  )
36
35
 
37
36
  if virtualPadController
@@ -1,4 +1,3 @@
1
- import type { FrameRateDisplayingPattern } from "@wwawing/common-interface";
2
1
  export interface GameOption {
3
2
  isUrlGateEnabled?: boolean;
4
3
  isClassicMode?: boolean;
@@ -21,7 +20,6 @@ export interface GameOption {
21
20
  wwaScript?: {
22
21
  userDefinedScriptsFile: string;
23
22
  };
24
- frameRateDisplayingPattern?: FrameRateDisplayingPattern;
25
23
  }
26
24
  export interface Resources {
27
25
  mapData: string;
package/module/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import type { FrameRateDisplayingPattern } from "@wwawing/common-interface";
2
1
  import * as DataTypes from "./data-types";
3
2
  export interface InputConfig {
4
3
  page?: DataTypes.Page;
@@ -36,7 +35,6 @@ export interface TemplateValues {
36
35
  "data-wwa-virtualpad-controller-elm"?: string;
37
36
  "data-wwa-user-defined-scripts-file"?: string;
38
37
  "data-wwa-picture-image-names-file"?: string;
39
- "data-wwa-frame-rate-displaying-pattern"?: FrameRateDisplayingPattern;
40
38
  };
41
39
  };
42
40
  debugConsoleElement?: {
package/module/index.js CHANGED
@@ -2,7 +2,7 @@ import * as pug from "pug";
2
2
  import * as path from "node:path";
3
3
  import * as Helper from "./helper";
4
4
  function generateTemplateValues({ page, wwa, copyrights }) {
5
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
5
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
6
6
  return {
7
7
  head: {
8
8
  pageTitle: (page === null || page === void 0 ? void 0 : page.title) || "World Wide Adventure Wing",
@@ -30,12 +30,11 @@ function generateTemplateValues({ page, wwa, copyrights }) {
30
30
  "data-wwa-virtualpad-controller-elm": ((_t = (_s = wwa.gameOption) === null || _s === void 0 ? void 0 : _s.virtualPad) === null || _t === void 0 ? void 0 : _t.controllerId) ? `#${wwa.gameOption.virtualPad.controllerId}` : undefined,
31
31
  "data-wwa-user-defined-scripts-file": (_v = (_u = wwa.gameOption) === null || _u === void 0 ? void 0 : _u.wwaScript) === null || _v === void 0 ? void 0 : _v.userDefinedScriptsFile,
32
32
  "data-wwa-picture-image-names-file": wwa.resources.pictureImageNamesFile,
33
- "data-wwa-frame-rate-displaying-pattern": (_w = wwa.gameOption) === null || _w === void 0 ? void 0 : _w.frameRateDisplayingPattern
34
33
  }
35
34
  },
36
- debugConsoleElement: ((_x = wwa.gameOption) === null || _x === void 0 ? void 0 : _x.debugConsole) ? { id: "wwa-debug-console-area" } : undefined,
37
- varDumpElement: ((_z = (_y = wwa.gameOption) === null || _y === void 0 ? void 0 : _y.userVars) === null || _z === void 0 ? void 0 : _z.dumpElementId) ? { id: wwa.gameOption.userVars.dumpElementId } : undefined,
38
- virtualPadController: ((_1 = (_0 = wwa.gameOption) === null || _0 === void 0 ? void 0 : _0.virtualPad) === null || _1 === void 0 ? void 0 : _1.controllerId) ? { id: wwa.gameOption.virtualPad.controllerId } : undefined,
35
+ debugConsoleElement: ((_w = wwa.gameOption) === null || _w === void 0 ? void 0 : _w.debugConsole) ? { id: "wwa-debug-console-area" } : undefined,
36
+ varDumpElement: ((_y = (_x = wwa.gameOption) === null || _x === void 0 ? void 0 : _x.userVars) === null || _y === void 0 ? void 0 : _y.dumpElementId) ? { id: wwa.gameOption.userVars.dumpElementId } : undefined,
37
+ virtualPadController: ((_0 = (_z = wwa.gameOption) === null || _z === void 0 ? void 0 : _z.virtualPad) === null || _0 === void 0 ? void 0 : _0.controllerId) ? { id: wwa.gameOption.virtualPad.controllerId } : undefined,
39
38
  footer: {
40
39
  copyrights: Helper.generateCopyrights(copyrights)
41
40
  }
package/module/wwa.pug CHANGED
@@ -31,7 +31,6 @@ html(lang="ja")
31
31
  data-wwa-virtualpad-controller-elm=wwa.attributes["data-wwa-virtualpad-controller-elm"]
32
32
  data-wwa-user-defined-scripts-file=wwa.attributes["data-wwa-user-defined-scripts-file"]
33
33
  data-wwa-picture-image-names-file=wwa.attributes["data-wwa-picture-image-names-file"]
34
- data-wwa-frame-rate-displaying-pattern=wwa.attributes["data-wwa-frame-rate-displaying-pattern"]
35
34
  )
36
35
 
37
36
  if virtualPadController
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/page-generator",
3
- "version": "4.0.8-fps-measure.based-on.4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "a HTML file generator for WWA Wing",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -40,7 +40,6 @@
40
40
  "typescript": "^5.8.3"
41
41
  },
42
42
  "dependencies": {
43
- "@wwawing/common-interface": "^4.0.8-fps-measure.based-on.4.0.7",
44
43
  "pug": "^3.0.3"
45
44
  },
46
45
  "publishConfig": {
@@ -50,5 +49,5 @@
50
49
  "node": ">=24",
51
50
  "npm": ">=11"
52
51
  },
53
- "gitHead": "ec6bcd0442537c65936f5b935bdfb60e4c5f849c"
52
+ "gitHead": "7b4bcecf93f238c4c0b971d2bb0f02467a9ff1f6"
54
53
  }