@pie-element/venn-classification 0.1.5-next.20261008072957 → 0.1.5

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.
Files changed (38) hide show
  1. package/dist/author/index.js +280 -277
  2. package/dist/author/index.js.map +1 -1
  3. package/dist/browser/{VennClassification-DKBN96xP.js → VennClassification-CaHr-K1i.js} +483 -480
  4. package/dist/browser/VennClassification-CaHr-K1i.js.map +1 -0
  5. package/dist/browser/author/index.js +1 -1
  6. package/dist/browser/author/index.js.map +1 -1
  7. package/dist/browser/controller--P8AQebj.js.map +1 -1
  8. package/dist/browser/delivery/index.js +1 -1
  9. package/dist/browser/delivery/index.js.map +1 -1
  10. package/dist/browser/editor-runtime/{VennClassification-DKBN96xP.js → VennClassification-CaHr-K1i.js} +483 -480
  11. package/dist/browser/editor-runtime/VennClassification-CaHr-K1i.js.map +1 -0
  12. package/dist/browser/editor-runtime/author/index.js +1 -1
  13. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  14. package/dist/browser/editor-runtime/controller--P8AQebj.js.map +1 -1
  15. package/dist/browser/editor-runtime/delivery/index.js +1 -1
  16. package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
  17. package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-BMXH-FVH.js → mathjax-CptWnMbQ-DVFde9An.js} +15 -15
  18. package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-BMXH-FVH.js.map → mathjax-CptWnMbQ-DVFde9An.js.map} +1 -1
  19. package/dist/browser/{mathjax-BKrHE4xs-BMXH-FVH.js → mathjax-CptWnMbQ-DVFde9An.js} +15 -15
  20. package/dist/browser/{mathjax-BKrHE4xs-BMXH-FVH.js.map → mathjax-CptWnMbQ-DVFde9An.js.map} +1 -1
  21. package/dist/controller/defaults.d.ts +6 -6
  22. package/dist/controller/index.d.ts +13 -13
  23. package/dist/controller/index.js.map +1 -1
  24. package/dist/controller/region.d.ts +2 -2
  25. package/dist/delivery/dnd.d.ts +8 -8
  26. package/dist/delivery/index.d.ts +2 -2
  27. package/dist/delivery/index.js +280 -277
  28. package/dist/delivery/index.js.map +1 -1
  29. package/dist/delivery/layout.d.ts +2 -2
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.iife.js +19 -19
  32. package/dist/schemas/configuration.schema.json +41 -0
  33. package/dist/schemas/model.schema.json +375 -0
  34. package/dist/schemas/session.schema.json +40 -0
  35. package/dist/types.d.ts +33 -4
  36. package/package.json +9 -5
  37. package/dist/browser/VennClassification-DKBN96xP.js.map +0 -1
  38. package/dist/browser/editor-runtime/VennClassification-DKBN96xP.js.map +0 -1
@@ -22,7 +22,7 @@
22
22
  * of cells for a given geometry; `fitGeometry2Set` grows the geometry until each
23
23
  * region holds the tiles placed in it.
24
24
  */
25
- import type { Region, VennCircle, VennModel } from '../types.js';
25
+ import type { Region, VennCircle, VennClassificationModel } from '../types.js';
26
26
  import { enumerateRegions, getRegionLabel, regionKey } from '../controller/region.js';
27
27
  /** A placed tile's grid cell, in viewBox units. */
28
28
  export interface TileCell {
@@ -146,7 +146,7 @@ export declare function fitGeometry2Set(counts: Record<string, number>, cell?: T
146
146
  * Build the 2-set layout for a concrete model (uses model circle labels to
147
147
  * compose accessible names, and `model.regionLabels` for overrides).
148
148
  */
149
- export declare function buildLayout2Set(model: Pick<VennModel, 'circles' | 'regionLabels' | 'language'>, geometry?: DiagramGeometry, cell?: TileCell): DiagramLayout;
149
+ export declare function buildLayout2Set(model: Pick<VennClassificationModel, 'circles' | 'regionLabels' | 'language'>, geometry?: DiagramGeometry, cell?: TileCell): DiagramLayout;
150
150
  /**
151
151
  * Resolve a pointer hit to its region. `pointer` is in viewBox coords.
152
152
  * Returns the matched region's descriptor, or `null` for "no region".
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default } from './delivery/index.js';
2
+ export type * from './types.js';