raain-ui 2.3.8 → 2.3.10

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/CHANGELOG.md CHANGED
@@ -9,7 +9,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
- ## [2.3.x] - Current
12
+ - Version bump to 2.3.10
13
+ - Version information export in bpInfo.ts
14
+
15
+ ## [2.3.9] - 2025-05-20
16
+
17
+ ### Changed
18
+
19
+ - Version bump to 2.3.9
20
+ - Version information export in bpInfo.ts
21
+
22
+ ## [2.3.8] - 2025-05-20
23
+
24
+ ### Changed
25
+
26
+ - Version bump to 2.3.8
27
+ - Version information export in bpInfo.ts
28
+
29
+ ## [2.3.6] - 2025-04-01
13
30
 
14
31
  ### Added
15
32
 
package/README.md CHANGED
@@ -182,12 +182,7 @@ Then use `@angular-builders/custom-webpack` to apply this configuration:
182
182
 
183
183
  ## 📝 Changelog
184
184
 
185
- See the [Changelog](./CHANGELOG.md) for a detailed list of changes in each version. Recent highlights include:
186
-
187
- - **v2.3.x**: Cartesian earth optimization, DateStatusUtils, Memory bank documentation
188
- - **v2.2.x**: Model polar visualization improvements
189
- - **v2.1.x**: Support for icons in composite layers
190
- - **v2.0.x**: Updated raain-model integration
185
+ See the [Changelog](./CHANGELOG.md) for a detailed list of changes in each version.
191
186
 
192
187
  ## 👥 Contributing
193
188
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raain-ui",
3
- "version": "2.3.8",
3
+ "version": "2.3.10",
4
4
  "author": "contact@raain.io",
5
5
  "homepage": "https://github.com/raainio/raain-ui",
6
6
  "description": "raain.io ui layers",
@@ -20,14 +20,15 @@
20
20
  "raain-model": "^3.0.9"
21
21
  },
22
22
  "scripts": {
23
- "bp:_clean": "rm -rf package-lock.json node_modules .gen .logs .nyc_output .logs .output.txt .coverage .coverage_temp dist app && npm i",
24
- "bp:bump": "OLD_VERSION=\"v$(node -e \"console.log(require('./package.json').version)\")\" && VERSION=\"$(npm version patch --no-git-tag-version)\" && npm i && echo \"export const bpInfo={version:'$VERSION'}\" > ./src/bpInfo.ts && git tag $OLD_VERSION && git checkout -b $VERSION",
25
- "bp:update-changelog": "node ./scripts/bp/update-changelog-date.js",
23
+ "bp:_clean": "rm -rf package-lock.json node_modules .gen .logs .nyc_output .logs .output.txt .coverage .angular dist app www && npm i",
24
+ "bp:bump": "OLD_VERSION=\"v$(node -e \"console.log(require('./package.json').version)\")\" && VERSION=\"$(npm version patch --no-git-tag-version)\" && npm i && echo \"export const bpInfo = {version:'$VERSION'}\" > ./src/bpInfo.ts && git tag $OLD_VERSION && git checkout -b $VERSION",
25
+ "bp:update-changelog-dates": "node ./scripts/bp/update-changelog-date.js",
26
26
  "bp:use-local-deps": "node ./scripts/bp/switch-dependencies.js local && npm run bp:_clean",
27
27
  "bp:use-remote-deps": "node ./scripts/bp/switch-dependencies.js remote && npm run bp:_clean",
28
28
  "bp:branch:push": "git add . && git commit -m \"chore: release v$(node -p \"require('./package.json').version\")\" && git push",
29
29
  "bp:branch:squash": "node ./scripts/bp/squash-commits.js",
30
- "test": "nyc ./node_modules/.bin/_mocha --require ./tools/register.js 'specs/**/**.spec.ts'",
30
+ "bp:main:package": "git checkout package && git merge main && git push && git checkout main",
31
+ "test": "./node_modules/.bin/_mocha --require ./tools/register.js 'specs/**/**.spec.ts'",
31
32
  "build": "npm run build-dist",
32
33
  "build-dist": "rm -rf dist/ && tsc --project tsconfig.json && cp *.md dist/ && cp package.json dist/ && cp -r src/data dist/"
33
34
  },
@@ -38,7 +39,7 @@
38
39
  "geolib": "^3.3.4",
39
40
  "leaflet": "^1.9.4",
40
41
  "pixi.js": "^5.3.12",
41
- "raain-model": "^3.0.9",
42
+ "raain-model": "^3.0.11",
42
43
  "satellite-view": "^2.1.2",
43
44
  "spinning-ball": "^0.5.0",
44
45
  "tile-setter": "^0.1.12",
@@ -58,11 +59,10 @@
58
59
  "jsdom": "^24.0.0",
59
60
  "mocha": "^10.2.0",
60
61
  "mock-browser": "^0.92.14",
61
- "nyc": "^15.1.0",
62
62
  "sinon": "^15.2.0",
63
63
  "ts-mockito": "^2.6.1",
64
64
  "ts-node": "^8.3.0",
65
65
  "tslint": "^5.20.1",
66
66
  "typescript": "^5.0.3"
67
67
  }
68
- }
68
+ }
@@ -0,0 +1,12 @@
1
+ interface SpinningBallModule {
2
+ init: (params: any) => {
3
+ update: (time?: number) => boolean;
4
+ cameraPos: () => number[];
5
+ cursorPos: () => any;
6
+ camMoving: () => boolean;
7
+ wasTapped: () => boolean;
8
+ cursorChanged: () => boolean;
9
+ };
10
+ }
11
+ declare const spinningBallModule: SpinningBallModule;
12
+ export = spinningBallModule;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ // This is a wrapper for the spinning-ball package to handle ES module compatibility
3
+ // It uses a technique to convert the ES module exports to CommonJS exports
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ // Import the spinning-ball package
38
+ const spinningBallOriginal = __importStar(require("spinning-ball"));
39
+ // Use the imported module or create a fallback if it fails
40
+ const spinningBallModule = spinningBallOriginal || {
41
+ init: (params) => {
42
+ console.error('spinning-ball module failed to load properly');
43
+ // Return a minimal implementation to prevent crashes
44
+ return {
45
+ update: () => false,
46
+ cameraPos: () => [0, 0, 0],
47
+ cursorPos: () => null,
48
+ camMoving: () => false,
49
+ wasTapped: () => false,
50
+ cursorChanged: () => false
51
+ };
52
+ }
53
+ };
54
+ module.exports = spinningBallModule;
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5pbmctYmFsbC13cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL3NwaW5uaW5nLWJhbGwtd3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0ZBQW9GO0FBQ3BGLDJFQUEyRTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUUzRSxtQ0FBbUM7QUFDbkMsb0VBQXNEO0FBY3RELDJEQUEyRDtBQUMzRCxNQUFNLGtCQUFrQixHQUF1QixvQkFBb0IsSUFBSTtJQUNyRSxJQUFJLEVBQUUsQ0FBQyxNQUFNLEVBQUUsRUFBRTtRQUNmLE9BQU8sQ0FBQyxLQUFLLENBQUMsOENBQThDLENBQUMsQ0FBQztRQUM5RCxxREFBcUQ7UUFDckQsT0FBTztZQUNMLE1BQU0sRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLO1lBQ25CLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDO1lBQzFCLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxJQUFJO1lBQ3JCLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLO1lBQ3RCLFNBQVMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLO1lBQ3RCLGFBQWEsRUFBRSxHQUFHLEVBQUUsQ0FBQyxLQUFLO1NBQzNCLENBQUM7SUFDSixDQUFDO0NBQ0YsQ0FBQztBQUdGLGlCQUFTLGtCQUFrQixDQUFDIn0=