@flashist/fconsole 0.0.19 → 0.0.21

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.
@@ -0,0 +1,3 @@
1
+ export * from './DefaultFConsoneConfigVO';
2
+ export * from './IFConsoleConfigVO';
3
+ export * from './IFConsoleCustomBtnConfigVO';
@@ -0,0 +1,4 @@
1
+ export * from './DefaultFConsoneConfigVO';
2
+ export * from './IFConsoleConfigVO';
3
+ export * from './IFConsoleCustomBtnConfigVO';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/console/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './config';
2
+ export * from './FC';
3
+ export * from './tools';
4
+ export * from './view';
@@ -0,0 +1,5 @@
1
+ export * from './config';
2
+ export * from './FC';
3
+ export * from './tools';
4
+ export * from './view';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/console/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './GlobalVarTools';
@@ -0,0 +1,2 @@
1
+ export * from './GlobalVarTools';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/console/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './CaptureKeyButton';
2
+ export * from './CaptureKeyButtonEvent';
@@ -0,0 +1,3 @@
1
+ export * from './CaptureKeyButton';
2
+ export * from './CaptureKeyButtonEvent';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/console/view/capture/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './DisplayListItemView';
2
+ export * from './DisplayListView';
@@ -0,0 +1,3 @@
1
+ export * from './DisplayListItemView';
2
+ export * from './DisplayListView';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/console/view/displaylist/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
@@ -13,7 +13,7 @@ var __extends = (this && this.__extends) || (function () {
13
13
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
14
  };
15
15
  })();
16
- import { StringTools } from "@flashist/fcore";
16
+ import { StringTools, NumberTools } from "@flashist/fcore";
17
17
  import { FContainer, FLabel, Graphics } from "@flashist/flibs";
18
18
  import { FC } from "../../FC";
19
19
  var FpsMeterView = /** @class */ (function (_super) {
@@ -63,7 +63,7 @@ var FpsMeterView = /** @class */ (function (_super) {
63
63
  }
64
64
  this.time = Date.now();
65
65
  var delta = this.time - this.prevTime;
66
- this.stepFps = Math.floor(1000 / delta);
66
+ this.stepFps = NumberTools.roundTo(1000 / delta, 0.1);
67
67
  if (this.fpsValues.length >= FC.config.fpsSettings.cumulativeFpsCount) {
68
68
  var lastFps = this.fpsValues.shift();
69
69
  this.cumulativeFpsValue -= lastFps;
@@ -1 +1 @@
1
- {"version":3,"file":"FpsMeterView.js","sourceRoot":"","sources":["../../../../src/console/view/fps/FpsMeterView.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,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CAAC;QAE1B,qBAAqB,CACjB;YACI,KAAI,CAAC,QAAQ,EAAE,CAAA;QACnB,CAAC,CACJ,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AA9ED,CAAkC,UAAU,GA8E3C"}
@@ -0,0 +1 @@
1
+ export * from './FpsMeterView';
@@ -0,0 +1,2 @@
1
+ export * from './FpsMeterView';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/console/view/fps/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export * from './BaseConsoleButton';
2
+ export * from './BaseConsoleView';
3
+ export * from './capture';
4
+ export * from './ConsoleContentContainer';
5
+ export * from './ConsoleView';
6
+ export * from './ConsoleViewEvent';
7
+ export * from './displaylist';
8
+ export * from './fps';
9
+ export * from './pause';
10
+ export * from './tooltip';
@@ -0,0 +1,11 @@
1
+ export * from './BaseConsoleButton';
2
+ export * from './BaseConsoleView';
3
+ export * from './capture';
4
+ export * from './ConsoleContentContainer';
5
+ export * from './ConsoleView';
6
+ export * from './ConsoleViewEvent';
7
+ export * from './displaylist';
8
+ export * from './fps';
9
+ export * from './pause';
10
+ export * from './tooltip';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/console/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './PauseKeyButton';
@@ -0,0 +1,2 @@
1
+ export * from './PauseKeyButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/console/view/pause/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './ConsoleTooltip';
@@ -0,0 +1,2 @@
1
+ export * from './ConsoleTooltip';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/console/view/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashist/fconsole",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "@flashist/flibs": "0.x"
31
31
  },
32
32
  "devDependencies": {
33
- "@flashist/fbuildscripts": "0.x",
33
+ "@flashist/fbuildscripts": "0.0.38",
34
34
  "pixi.js": "6.x",
35
35
  "typescript": "^4.9.4"
36
36
  },
@@ -0,0 +1,3 @@
1
+ export * from './BaseTooltip';
2
+ export * from './ITooltipData';
3
+ export * from './TooltipManager';
@@ -0,0 +1,4 @@
1
+ export * from './BaseTooltip';
2
+ export * from './ITooltipData';
3
+ export * from './TooltipManager';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}