@hatiolab/things-scene 10.1.88 → 10.1.90

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.
@@ -279,7 +279,8 @@ export declare class FigureInstance extends FigureInstance_base {
279
279
  * 0 or empty stopped;
280
280
  * - the values its data bindings read, set by hand -- \`state.figureValues\`, by accessor, a number, a checkbox or a
281
281
  * choice each (ADR-0051 §8);
282
- * - its motion groups -- \`state.motion\`, per group the clip, the speed 0–3 and a pause (ADR-0051 §3.2).
282
+ * - its motion groups -- \`state.motion\`, per group the clip, the speed 0–3 and a pause (ADR-0051 §3.2);
283
+ * - and, read only, its data as it takes it (\`figure-data\`): shape, values and their sources, refusals.
283
284
  * A map the figure has nothing for is not offered.
284
285
  */
285
286
  get nature(): ComponentNature;
@@ -1 +1 @@
1
- {"version":3,"file":"figure-instance.d.ts","sourceRoot":"","sources":["../../src/figure/figure-instance.ts"],"names":[],"mappings":"AAKA,OAAO,SAAS,MAAM,4BAA4B,CAAA;AAClD,OAAO,KAAK,MAAM,wBAAwB,CAAA;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAQ7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCjD,qBAAa,cAAe,SAAQ,mBAAe;IAC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CAAsC;IAEnD;;;OAGG;IACH,OAAO,CAAC,OAAO;IAUf,sDAAsD;IACtD,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAGnC;IAQD,YAAY,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO;;;;;;IAkBjH,KAAK,CAAC,MAAM,EAAE,GAAG;IAKjB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAchE,4EAA4E;IAC5E,OAAO,CAAC,cAAc;IAgBtB,uEAAuE;IACvE,OAAO,CAAC,WAAW;IAiBnB;;;;OAIG;IACM,UAAU,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;CAGvD;AAMD,eAAe,cAAc,CAAA"}
@@ -11,8 +11,9 @@ export declare function hasFigure(type: string): boolean;
11
11
  export declare function unregisterFigure(type: string): boolean;
12
12
  export declare function resetFigures(): void;
13
13
  /**
14
- * The component type that makes an item of a type a site's data names (ADR-0051 §8): a registered type of that name,
15
- * else the registered figure whose carrier declaration (ADR-0123) says that code. Null when neither.
14
+ * The component type that makes an item of a type a site's data names (ADR-0051 §8): the registered figure of exactly
15
+ * that canonical name, else null. What a site calls its items by other names (fmsim's CARRIERTYPE code) the site's
16
+ * product resolves to a canonical name before it names the type (ADR-0123 decision 9).
16
17
  */
17
- export declare function figureTypeForItem(code: unknown): string | null;
18
+ export declare function figureTypeForItem(name: unknown): string | null;
18
19
  //# sourceMappingURL=figure-registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"figure-registry.d.ts","sourceRoot":"","sources":["../../src/figure/figure-registry.ts"],"names":[],"mappings":"AAYA,OAAO,EAAoE,KA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wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAE9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "10.1.88",
3
+ "version": "10.1.90",
4
4
  "description": "A high-performance 2D/3D scene graph library for building interactive visual editors, combining HTML5 Canvas and Three.js to enable facility visualization, data-driven animations, and real-time monitoring dashboards",
5
5
  "main": "things-scene-min.js",
6
6
  "module": "things-scene.mjs",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "homepage": "https://github.com/hatiolab/things-scene#readme",
95
95
  "dependencies": {
96
- "@hatiolab/figure-model": "^0.6.6",
96
+ "@hatiolab/figure-model": "^0.7.0",
97
97
  "@wizpanda/super-gif": "^0.0.6",
98
98
  "dompurify": "^3.3.1",
99
99
  "jsonata": "^1.8.6",