@statewalker/fsm-charts 0.0.5 → 0.0.6

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,5 @@
1
1
  import { getPadding } from './chunk-NXWOFQMO.js';
2
+ import { __publicField } from './chunk-XEO3YXBM.js';
2
3
 
3
4
  // src/utils/toKebabCase.ts
4
5
  function toKebabCase2(str) {
@@ -242,14 +243,14 @@ function serializeAttrs(attrs = {}, {
242
243
 
243
244
  // src/utils/BasisCurve.ts
244
245
  var BasisCurve = class {
245
- _context;
246
- _x0 = 0;
247
- _y0 = 0;
248
- _x1 = 0;
249
- _y1 = 0;
250
- _point = 0;
251
- _line = 0;
252
246
  constructor(context) {
247
+ __publicField(this, "_context");
248
+ __publicField(this, "_x0", 0);
249
+ __publicField(this, "_y0", 0);
250
+ __publicField(this, "_x1", 0);
251
+ __publicField(this, "_y1", 0);
252
+ __publicField(this, "_point", 0);
253
+ __publicField(this, "_line", 0);
253
254
  this._context = context;
254
255
  }
255
256
  $point(x, y) {
@@ -0,0 +1,8 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+
8
+ export { __publicField };
@@ -1,2 +1,3 @@
1
1
  export { buildCharts, buildFlatCharts, getGraphParamsProvider, getLabelDimensions } from './chunk-IT7GBMYV.js';
2
2
  import './chunk-NXWOFQMO.js';
3
+ import './chunk-XEO3YXBM.js';
@@ -1 +1,2 @@
1
1
  export { a } from './chunk-X2UPWZLX.js';
2
+ import './chunk-XEO3YXBM.js';
package/dist/index-svg.js CHANGED
@@ -1,2 +1,3 @@
1
- export { buildStatechartCss, buildStatechartStyles, buildStatechartSvg, buildStatechartsPanel } from './chunk-3PNSXN5U.js';
1
+ export { buildStatechartCss, buildStatechartStyles, buildStatechartSvg, buildStatechartsPanel } from './chunk-FYTJYHEQ.js';
2
2
  import './chunk-NXWOFQMO.js';
3
+ import './chunk-XEO3YXBM.js';
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { buildCharts, buildFlatCharts, getGraphParamsProvider, getLabelDimensions } from './chunk-IT7GBMYV.js';
2
- export { buildStatechartCss, buildStatechartStyles, buildStatechartSvg, buildStatechartsPanel, serializeCss, toKebabCase } from './chunk-3PNSXN5U.js';
2
+ export { buildStatechartCss, buildStatechartStyles, buildStatechartSvg, buildStatechartsPanel, serializeCss, toKebabCase } from './chunk-FYTJYHEQ.js';
3
3
  import './chunk-NXWOFQMO.js';
4
4
  export { a } from './chunk-X2UPWZLX.js';
5
+ import './chunk-XEO3YXBM.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statewalker/fsm-charts",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "HFSM Implementation",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/statewalker/statewalker-fsm-charts",