@baron1996/klinecharts-runtime 0.9.2 → 0.9.3

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/README.md CHANGED
@@ -4,7 +4,7 @@ Browser editing runtime and standard annotation toolbar for deterministic KLineC
4
4
  ChartScene files.
5
5
 
6
6
  ```bash
7
- npm install --save-exact @baron1996/kline-scene-schema@0.6.0 @baron1996/klinecharts-runtime@0.9.2
7
+ npm install --save-exact @baron1996/kline-scene-schema@0.6.0 @baron1996/klinecharts-runtime@0.9.3
8
8
  ```
9
9
 
10
10
  ```ts
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Web Runtime npm 包版本;ChartScene runtimeVersion 是独立的数据契约版本。 */
2
- export declare const WEB_RUNTIME_PACKAGE_VERSION: "0.9.2";
2
+ export declare const WEB_RUNTIME_PACKAGE_VERSION: "0.9.3";
3
3
  export { SUPPORTED_OVERLAYS } from '@baron1996/klinecharts-adapter';
4
4
  export * from './cross-period/coordinator.js';
5
5
  export * from './drawing/capabilities.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Web Runtime npm 包版本;ChartScene runtimeVersion 是独立的数据契约版本。 */
2
- export const WEB_RUNTIME_PACKAGE_VERSION = '0.9.2';
2
+ export const WEB_RUNTIME_PACKAGE_VERSION = '0.9.3';
3
3
  export { SUPPORTED_OVERLAYS } from '@baron1996/klinecharts-adapter';
4
4
  export * from './cross-period/coordinator.js';
5
5
  export * from './drawing/capabilities.js';
@@ -264,33 +264,29 @@ declare const ICON_SPECS: {
264
264
  };
265
265
  }];
266
266
  readonly measurement: readonly [{
267
- readonly name: "path";
267
+ readonly name: "rect";
268
268
  readonly attributes: {
269
- readonly d: "M4 19l15 -15";
269
+ readonly x: "4";
270
+ readonly y: "5";
271
+ readonly width: "16";
272
+ readonly height: "14";
273
+ readonly rx: "1.5";
274
+ readonly 'stroke-dasharray': "2 2";
270
275
  };
271
276
  }, {
272
- readonly name: "circle";
273
- readonly attributes: {
274
- readonly cx: "4";
275
- readonly cy: "19";
276
- readonly r: "2";
277
- };
278
- }, {
279
- readonly name: "circle";
277
+ readonly name: "path";
280
278
  readonly attributes: {
281
- readonly cx: "19";
282
- readonly cy: "4";
283
- readonly r: "2";
279
+ readonly d: "M12 8v8";
284
280
  };
285
281
  }, {
286
282
  readonly name: "path";
287
283
  readonly attributes: {
288
- readonly d: "M7 8h9";
284
+ readonly d: "M9.5 10.5L12 8l2.5 2.5";
289
285
  };
290
286
  }, {
291
287
  readonly name: "path";
292
288
  readonly attributes: {
293
- readonly d: "M12 5v6";
289
+ readonly d: "M9.5 13.5L12 16l2.5 -2.5";
294
290
  };
295
291
  }];
296
292
  readonly brush: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar-icons.d.ts","sourceRoot":"","sources":["../../src/toolbar/toolbar-icons.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6L2C,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,UAAU,CAAC;AAEtD,4CAA4C;AAC5C,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,GAAG,aAAa,CAoBtE"}
1
+ {"version":3,"file":"toolbar-icons.d.ts","sourceRoot":"","sources":["../../src/toolbar/toolbar-icons.ts"],"names":[],"mappings":"AAcA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsM2C,CAAC;AAE5D,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,UAAU,CAAC;AAEtD,4CAA4C;AAC5C,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,eAAe,GAAG,aAAa,CAoBtE"}
@@ -79,11 +79,20 @@ const ICON_SPECS = {
79
79
  { name: 'path', attributes: { d: 'M5 4l14 17' } },
80
80
  ],
81
81
  measurement: [
82
- { name: 'path', attributes: { d: 'M4 19l15 -15' } },
83
- { name: 'circle', attributes: { cx: '4', cy: '19', r: '2' } },
84
- { name: 'circle', attributes: { cx: '19', cy: '4', r: '2' } },
85
- { name: 'path', attributes: { d: 'M7 8h9' } },
86
- { name: 'path', attributes: { d: 'M12 5v6' } },
82
+ {
83
+ name: 'rect',
84
+ attributes: {
85
+ x: '4',
86
+ y: '5',
87
+ width: '16',
88
+ height: '14',
89
+ rx: '1.5',
90
+ 'stroke-dasharray': '2 2',
91
+ },
92
+ },
93
+ { name: 'path', attributes: { d: 'M12 8v8' } },
94
+ { name: 'path', attributes: { d: 'M9.5 10.5L12 8l2.5 2.5' } },
95
+ { name: 'path', attributes: { d: 'M9.5 13.5L12 16l2.5 -2.5' } },
87
96
  ],
88
97
  brush: [
89
98
  { name: 'path', attributes: { d: 'M3 21v-4a4 4 0 1 1 4 4h-4' } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baron1996/klinecharts-runtime",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Web runtime for deterministic KLineCharts scenes.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@baron1996/kline-scene-schema": "0.6.0",
43
- "@baron1996/klinecharts-adapter": "0.9.2",
43
+ "@baron1996/klinecharts-adapter": "0.9.3",
44
44
  "@js-temporal/polyfill": "0.5.1"
45
45
  }
46
46
  }