@operato/scene-random 0.0.24 → 0.1.1

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
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.1.1](https://github.com/things-scene/operato-scene/compare/v0.1.0...v0.1.1) (2022-01-03)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * [@things-factory](https://github.com/things-factory) 4.0.27 for webpack 5 ([c1b8ce2](https://github.com/things-scene/operato-scene/commit/c1b8ce2a4f069a77b75c82ef8abe2b52974fa5a2))
12
+ * @operato/board@0.3.4 ([9f7a868](https://github.com/things-scene/operato-scene/commit/9f7a86820280d24b08dabfd9c9b0f46b4c74feed))
13
+
14
+
15
+
16
+ ## [0.1.0](https://github.com/things-scene/operato-scene/compare/v0.0.26...v0.1.0) (2022-01-03)
17
+
18
+
19
+ ### :rocket: New Features
20
+
21
+ * applied import.meta.url for native web support ([fe65672](https://github.com/things-scene/operato-scene/commit/fe65672550b15276bd9fa79ab7ac886a8502f8b0))
22
+
23
+
24
+
25
+ ### [0.0.26](https://github.com/things-scene/operato-scene/compare/v0.0.25...v0.0.26) (2022-01-01)
26
+
27
+
28
+ ### :bug: Bug Fix
29
+
30
+ * upgrade [@operato](https://github.com/operato) modules ([ddcb27f](https://github.com/things-scene/operato-scene/commit/ddcb27f7562243d9fc581fed3090c3be42ce1d28))
31
+
32
+
33
+
34
+ ### [0.0.25](https://github.com/things-scene/operato-scene/compare/v0.0.24...v0.0.25) (2021-12-28)
35
+
36
+
37
+ ### :bug: Bug Fix
38
+
39
+ * @hatiolab/things-scene@2.7.31 ([b0d1706](https://github.com/things-scene/operato-scene/commit/b0d17064bb42ed4a60008a15d48700a328711ab8))
40
+ * upgrade [@things-factory](https://github.com/things-factory) dependencies ([0deff8d](https://github.com/things-scene/operato-scene/commit/0deff8dcaba7a7e81061246298b889f6165091d7))
41
+
42
+
43
+
6
44
  ### [0.0.24](https://github.com/things-scene/operato-scene/compare/v0.0.23...v0.0.24) (2021-12-21)
7
45
 
8
46
 
File without changes
File without changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "An random data source component for things-scene.",
4
4
  "license": "MIT",
5
5
  "author": "heartyoh",
6
- "version": "0.0.24",
6
+ "version": "0.1.1",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
9
9
  "things-scene": true,
@@ -26,13 +26,13 @@
26
26
  "migration": "things-factory-migration"
27
27
  },
28
28
  "dependencies": {
29
- "@hatiolab/things-scene": "^2.7.30"
29
+ "@hatiolab/things-scene": "^2.7.31"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@hatiolab/prettier-config": "^1.0.0",
33
- "@operato/board": "^0.2.52",
34
- "@things-factory/builder": "^4.0.23",
35
- "@things-factory/operato-board": "^4.0.23",
33
+ "@operato/board": "^0.3.4",
34
+ "@things-factory/builder": "^4.0.27",
35
+ "@things-factory/operato-board": "^4.0.27",
36
36
  "@types/chance": "^1.1.3",
37
37
  "@typescript-eslint/eslint-plugin": "^4.33.0",
38
38
  "@typescript-eslint/parser": "^4.33.0",
@@ -58,5 +58,5 @@
58
58
  "prettier --write"
59
59
  ]
60
60
  },
61
- "gitHead": "0f136bc03d3e7475d2dab8d4340a2de8835cf6dd"
61
+ "gitHead": "3725a87f97dc196896b89044fd4191fc8ce704ff"
62
62
  }
@@ -1,24 +1,27 @@
1
- import icon from './assets/random.png';
1
+ const icon = new URL('./icons/random.png', import.meta.url).href
2
2
 
3
- var templates = [{
4
- type: 'random',
5
- description: 'random data generator',
6
- group: 'dataSource', /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */
7
- icon,
8
- model: {
9
- type: "random",
10
- left: 10,
11
- top: 10,
12
- width: 100,
13
- height: 100,
14
- hidden: true,
15
- dataFormat: 'json',
16
- format: 'integer',
17
- period: 5000,
18
- count: 1
3
+ var templates = [
4
+ {
5
+ type: 'random',
6
+ description: 'random data generator',
7
+ group:
8
+ 'dataSource' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */,
9
+ icon,
10
+ model: {
11
+ type: 'random',
12
+ left: 10,
13
+ top: 10,
14
+ width: 100,
15
+ height: 100,
16
+ hidden: true,
17
+ dataFormat: 'json',
18
+ format: 'integer',
19
+ period: 5000,
20
+ count: 1
21
+ }
19
22
  }
20
- }];
23
+ ]
21
24
 
22
25
  export default {
23
26
  templates
24
- };
27
+ }