jssm 5.162.7 → 5.162.8
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 +7 -7
- package/custom-elements.json +47 -47
- package/dist/cdn/instance.js +5 -3
- package/dist/cdn/viz.js +1 -1
- package/dist/cli/fsl-export-system-prompt.cjs +27 -24
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/cli/lib.cjs +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/cm6/fsl_language.js +10 -14
- package/dist/deno/README.md +7 -7
- package/dist/deno/fence.d.ts +0 -1
- package/dist/deno/fsl_fence_highlight.d.ts +0 -4
- package/dist/deno/fsl_fence_render.d.ts +0 -8
- package/dist/deno/fsl_gif.d.ts +0 -8
- package/dist/deno/fsl_markdown_fence.d.ts +0 -5
- package/dist/deno/fsl_svg_patch.d.ts +0 -6
- package/dist/deno/fsl_walk.d.ts +0 -2
- package/dist/deno/jssm.d.ts +214 -503
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_compiler.d.ts +1 -1
- package/dist/deno/jssm_constants.d.ts +0 -3
- package/dist/deno/jssm_intern.d.ts +0 -15
- package/dist/deno/jssm_theme.d.ts +2 -2
- package/dist/deno/jssm_types.d.ts +13 -34
- package/dist/deno/jssm_util.d.ts +20 -6
- package/dist/deno/jssm_viz.d.ts +5 -51
- package/dist/es6/cm6/fsl_language.d.ts +0 -2
- package/dist/fence/fence.js +1651 -1833
- package/dist/jssm.es5.cjs +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/dist/jssm.es6.mjs +1 -1
- package/dist/jssm_viz.cjs +1 -1
- package/dist/jssm_viz.iife.cjs +1 -1
- package/dist/jssm_viz.mjs +1 -1
- package/dist/wc/docs.define.js +0 -5
- package/dist/wc/docs.js +79 -43
- package/dist/wc/editor.define.js +0 -5
- package/dist/wc/editor.js +1 -7
- package/dist/wc/instance.define.js +0 -6
- package/dist/wc/instance.js +93 -115
- package/dist/wc/viz.define.js +0 -6
- package/dist/wc/viz.js +22 -36
- package/dist/wc/widgets.define.js +0 -5
- package/dist/wc/widgets.js +117 -95
- package/jssm.cli.d.cts +0 -8
- package/jssm.cli.d.ts +0 -8
- package/jssm.es5.d.cts +449 -808
- package/jssm.es6.d.ts +449 -808
- package/jssm.fence.d.ts +213 -508
- package/jssm_viz.es5.d.cts +216 -529
- package/jssm_viz.es6.d.ts +216 -529
- package/package.json +16 -10
package/README.md
CHANGED
|
@@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
* Generated for version 5.162.
|
|
21
|
+
* Generated for version 5.162.8 at 7/11/2026, 2:09:30 PM
|
|
22
22
|
|
|
23
23
|
-->
|
|
24
|
-
# jssm 5.162.
|
|
24
|
+
# jssm 5.162.8
|
|
25
25
|
|
|
26
26
|
[**Try the live editor**](https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html) ·
|
|
27
27
|
[Documentation](https://stonecypher.github.io/jssm/docs/) ·
|
|
@@ -333,7 +333,7 @@ That decision shows up everywhere downstream:
|
|
|
333
333
|
or run `npm run benny` against your own machine.
|
|
334
334
|
|
|
335
335
|
- **More thoroughly tested than any other JavaScript state-machine
|
|
336
|
-
library.** 8,
|
|
336
|
+
library.** 8,093 tests at 100.0% line coverage
|
|
337
337
|
([report](https://coveralls.io/github/StoneCypher/jssm)), plus
|
|
338
338
|
fuzz testing via `fast-check`, with parser test data across ten natural
|
|
339
339
|
languages and Emoji.
|
|
@@ -466,11 +466,11 @@ If your contribution is missing here, please open an issue.
|
|
|
466
466
|
|
|
467
467
|
<br/>
|
|
468
468
|
|
|
469
|
-
***8,
|
|
469
|
+
***8,093 tests***, run 83,531 times.
|
|
470
470
|
|
|
471
|
-
- 7,
|
|
472
|
-
- 762 fuzz tests with
|
|
473
|
-
- 10,
|
|
471
|
+
- 7,331 specs with 100.0% coverage
|
|
472
|
+
- 762 fuzz tests with 47.8% coverage
|
|
473
|
+
- 10,882 TypeScript lines - 0.7 tests per line, 7.7 generated tests per line
|
|
474
474
|
|
|
475
475
|
[](https://github.com/StoneCypher/jssm/actions)
|
|
476
476
|
[](https://www.npmjs.com/package/jssm)
|
package/custom-elements.json
CHANGED
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
"description": "A JSON string (typically `JSON.stringify(value, null, 2)`)."
|
|
354
354
|
}
|
|
355
355
|
],
|
|
356
|
-
"description": "Split a pretty-printed JSON string into classified tokens for syntax\
|
|
356
|
+
"description": "Split a pretty-printed JSON string into classified tokens for syntax\nhighlighting. A quoted run is a `key` when the next non-space character is\n`:`, otherwise a `string`; `true`/`false` are `bool`, `null` is `null`,\nnumbers are `number`, and everything between (braces, commas, whitespace) is\n`plain`. Driven by the text, not a JSON parse, so it never throws."
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"kind": "class",
|
|
360
|
-
"description": "`<fsl-data-inspector>` — a syntax-highlighted view of a parent\
|
|
360
|
+
"description": "`<fsl-data-inspector>` — a syntax-highlighted view of a parent\n`<fsl-instance>`'s extended-state data. Re-reads `host.machine.data()` on the\nhost's transition / data-change / rebuild DOM events. The panel is bounded and\nscrolls internally (a self-contained vertical column). Renders `no data` when\nthe machine carries none; standalone (no host) renders empty.",
|
|
361
361
|
"name": "FslDataInspector",
|
|
362
362
|
"cssParts": [
|
|
363
363
|
{
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"declarations": [
|
|
771
771
|
{
|
|
772
772
|
"kind": "class",
|
|
773
|
-
"description": "`<fsl-editor>` — a CodeMirror-based FSL editor web component.\
|
|
773
|
+
"description": "`<fsl-editor>` — a CodeMirror-based FSL editor web component.\n\nBatteries-included: FSL highlighting (`jssm/cm6`), linting, a semantic\noverlay (color chips / state & enum marks), and context-aware completion —\neach toggleable via a `no-*` attribute. Light/dark via the reflected `theme`\nattribute (which also drives the `--fsl-*` token defaults). White-labeled\nthrough the shared appearance contract. Emits `change` on user edits.",
|
|
774
774
|
"name": "FslEditor",
|
|
775
775
|
"cssParts": [
|
|
776
776
|
{
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
"declarations": [
|
|
1120
1120
|
{
|
|
1121
1121
|
"kind": "class",
|
|
1122
|
-
"description": "`<fsl-export>` — export buttons for a parent `<fsl-instance>`. Each produces a\
|
|
1122
|
+
"description": "`<fsl-export>` — export buttons for a parent `<fsl-instance>`. Each produces a\nstring from the host's machine and fires `fsl-export` with `{ format,\ncontent }`; the embedder decides what to do with it (copy, download, show).\nFormats: Graphviz `dot` (via `machine_to_dot`), `json` (the machine's\n`serialize()`), and `fsl` (the source). Standalone is inert.",
|
|
1123
1123
|
"name": "FslExport",
|
|
1124
1124
|
"cssParts": [
|
|
1125
1125
|
{
|
|
@@ -1309,7 +1309,7 @@
|
|
|
1309
1309
|
"text": "void"
|
|
1310
1310
|
}
|
|
1311
1311
|
},
|
|
1312
|
-
"description": "Recompute the machine-derived counts: local transitions out of the current\r\
|
|
1312
|
+
"description": "Recompute the machine-derived counts: local transitions out of the current\r\n state, and the global action / action-start / transition totals. Only\r\n called while a host is attached, so `_host` is non-null here."
|
|
1313
1313
|
}
|
|
1314
1314
|
],
|
|
1315
1315
|
"superclass": {
|
|
@@ -1337,7 +1337,7 @@
|
|
|
1337
1337
|
"declarations": [
|
|
1338
1338
|
{
|
|
1339
1339
|
"kind": "class",
|
|
1340
|
-
"description": "`<fsl-help>` — a documentation drawer shell: a titled, scrollable panel with\
|
|
1340
|
+
"description": "`<fsl-help>` — a documentation drawer shell: a titled, scrollable panel with\na close button and a default slot for content (typically foldable\n`<details>` sections). Presentational and self-contained — it owns no machine\nbinding. The reflected `open` attribute drives visibility, so embedders can\nanimate it (e.g. a width transition on the host) purely from CSS.",
|
|
1341
1341
|
"name": "FslHelp",
|
|
1342
1342
|
"cssParts": [
|
|
1343
1343
|
{
|
|
@@ -1446,7 +1446,7 @@
|
|
|
1446
1446
|
"declarations": [
|
|
1447
1447
|
{
|
|
1448
1448
|
"kind": "class",
|
|
1449
|
-
"description": "`<fsl-history>` — the visited-state timeline for a parent `<fsl-instance>`.\
|
|
1449
|
+
"description": "`<fsl-history>` — the visited-state timeline for a parent `<fsl-instance>`.\n\nListens to the host's `fsl-transition` DOM events (re-emitted once per\ntransition, #639) and records the host's reflected `current-state`, so it\ncaptures every transition and survives a live machine rebuild without a\nmachine subscription. Standalone (no host ancestor) renders empty.",
|
|
1450
1450
|
"name": "FslHistory",
|
|
1451
1451
|
"cssParts": [
|
|
1452
1452
|
{
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
"declarations": [
|
|
1500
1500
|
{
|
|
1501
1501
|
"kind": "class",
|
|
1502
|
-
"description": "`<fsl-hook-log>` — a running log of a parent `<fsl-instance>`'s machine\
|
|
1502
|
+
"description": "`<fsl-hook-log>` — a running log of a parent `<fsl-instance>`'s machine\nevents, listening to the host's re-emitted `fsl-*` DOM events (#639). Keeps\nthe most recent MAX_ENTRIES. Standalone (no host ancestor) is empty.",
|
|
1503
1503
|
"name": "FslHookLog",
|
|
1504
1504
|
"cssParts": [
|
|
1505
1505
|
{
|
|
@@ -2266,7 +2266,7 @@
|
|
|
2266
2266
|
"name": "_overrides",
|
|
2267
2267
|
"privacy": "private",
|
|
2268
2268
|
"default": "new Map<string, boolean>()",
|
|
2269
|
-
"description": "Per-panel runtime visibility overrides set by the user via the toolbar\r\
|
|
2269
|
+
"description": "Per-panel runtime visibility overrides set by the user via the toolbar\r\n toggles; a slot absent here falls back to its mode-resolved base."
|
|
2270
2270
|
},
|
|
2271
2271
|
{
|
|
2272
2272
|
"kind": "field",
|
|
@@ -2276,7 +2276,7 @@
|
|
|
2276
2276
|
"text": "PanelMode"
|
|
2277
2277
|
},
|
|
2278
2278
|
"default": "'default'",
|
|
2279
|
-
"description": "Control-level default PanelMode; panelModes overrides it\r\
|
|
2279
|
+
"description": "Control-level default PanelMode; panelModes overrides it\r\n per panel. `default` shows only the editor + renderer; every other panel\r\n starts hidden and is opt-in.",
|
|
2280
2280
|
"attribute": "panel-mode",
|
|
2281
2281
|
"reflects": true
|
|
2282
2282
|
},
|
|
@@ -2288,7 +2288,7 @@
|
|
|
2288
2288
|
"text": "Record<string, PanelMode>"
|
|
2289
2289
|
},
|
|
2290
2290
|
"default": "{}",
|
|
2291
|
-
"description": "Per-panel PanelMode overrides (slot → mode), each overriding the\r\
|
|
2291
|
+
"description": "Per-panel PanelMode overrides (slot → mode), each overriding the\r\n control-level panelMode."
|
|
2292
2292
|
},
|
|
2293
2293
|
{
|
|
2294
2294
|
"kind": "field",
|
|
@@ -2298,7 +2298,7 @@
|
|
|
2298
2298
|
"text": "string[]"
|
|
2299
2299
|
},
|
|
2300
2300
|
"default": "[]",
|
|
2301
|
-
"description": "Panels the FSL \"requests\" — the embedder-set stand-in for the\r\
|
|
2301
|
+
"description": "Panels the FSL \"requests\" — the embedder-set stand-in for the\r\n editor-defaults-in-FSL mechanism (fsl#1334). `request`-mode panels listed\r\n here are shown; others fall back to the default."
|
|
2302
2302
|
},
|
|
2303
2303
|
{
|
|
2304
2304
|
"kind": "field",
|
|
@@ -2783,7 +2783,7 @@
|
|
|
2783
2783
|
"text": "void"
|
|
2784
2784
|
}
|
|
2785
2785
|
},
|
|
2786
|
-
"description": "Adopt the FSL's `editor: {}` panel request (fsl#1334): when the machine\r\
|
|
2786
|
+
"description": "Adopt the FSL's `editor: {}` panel request (fsl#1334): when the machine\r\n declares `panels`, drive requestedPanels from it so `request` panel\r\n mode honors the source. The embedder's value persists when the FSL is\r\n silent. Called after each (re)build, with `_machine` freshly assigned."
|
|
2787
2787
|
},
|
|
2788
2788
|
{
|
|
2789
2789
|
"kind": "method",
|
|
@@ -2876,7 +2876,7 @@
|
|
|
2876
2876
|
"description": "True when hook-log + data-inspector are rendered as side\r\ndocks (split layouts); they are then omitted from this stack."
|
|
2877
2877
|
}
|
|
2878
2878
|
],
|
|
2879
|
-
"description": "The stacked middle panels, shared by both layouts. The toolbar slot is\r\
|
|
2879
|
+
"description": "The stacked middle panels, shared by both layouts. The toolbar slot is\r\n rendered at the top of render. In split mode the `hook-log` (events)\r\n and `data-inspector` panels are lifted out into easing side docks, so\r\n `docked` is true there and they are skipped here to avoid duplicating\r\n their slots; `actions` instead lives here as a horizontal bar. The\r\n state-section + footer stay in render so the dynamic state-slot\r\n name binds at the top level."
|
|
2880
2880
|
}
|
|
2881
2881
|
],
|
|
2882
2882
|
"events": [
|
|
@@ -2953,7 +2953,7 @@
|
|
|
2953
2953
|
"text": "PanelMode"
|
|
2954
2954
|
},
|
|
2955
2955
|
"default": "'default'",
|
|
2956
|
-
"description": "Control-level default PanelMode; panelModes overrides it\r\
|
|
2956
|
+
"description": "Control-level default PanelMode; panelModes overrides it\r\n per panel. `default` shows only the editor + renderer; every other panel\r\n starts hidden and is opt-in.",
|
|
2957
2957
|
"fieldName": "panelMode"
|
|
2958
2958
|
}
|
|
2959
2959
|
],
|
|
@@ -3069,7 +3069,7 @@
|
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
3071
|
],
|
|
3072
|
-
"description": "URL-safe base64 (RFC 4648 §5) of raw bytes: standard base64 with `+`→`-`,\
|
|
3072
|
+
"description": "URL-safe base64 (RFC 4648 §5) of raw bytes: standard base64 with `+`→`-`,\n`/`→`_`, and trailing `=` padding stripped."
|
|
3073
3073
|
},
|
|
3074
3074
|
{
|
|
3075
3075
|
"kind": "function",
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
}
|
|
3129
3129
|
}
|
|
3130
3130
|
],
|
|
3131
|
-
"description": "Inverse of deflate_raw, reading the stream in chunks and aborting once\
|
|
3131
|
+
"description": "Inverse of deflate_raw, reading the stream in chunks and aborting once\nthe inflated output would exceed MAX_PERMALINK_INFLATE_BYTES (a\ndecompression-bomb guard — see that constant)."
|
|
3132
3132
|
},
|
|
3133
3133
|
{
|
|
3134
3134
|
"kind": "function",
|
|
@@ -3146,7 +3146,7 @@
|
|
|
3146
3146
|
}
|
|
3147
3147
|
}
|
|
3148
3148
|
],
|
|
3149
|
-
"description": "Encode FSL to a `<scheme><payload>` segment value (the part after `key=`).\
|
|
3149
|
+
"description": "Encode FSL to a `<scheme><payload>` segment value (the part after `key=`).\nDEFLATE is used (scheme `1`) only when it is strictly shorter than the raw\nbytes (scheme `0`)."
|
|
3150
3150
|
},
|
|
3151
3151
|
{
|
|
3152
3152
|
"kind": "function",
|
|
@@ -3164,7 +3164,7 @@
|
|
|
3164
3164
|
}
|
|
3165
3165
|
}
|
|
3166
3166
|
],
|
|
3167
|
-
"description": "Inverse of encode_machine: decode a `<scheme><payload>` segment back\
|
|
3167
|
+
"description": "Inverse of encode_machine: decode a `<scheme><payload>` segment back\nto FSL. Async because inflate is async."
|
|
3168
3168
|
},
|
|
3169
3169
|
{
|
|
3170
3170
|
"kind": "function",
|
|
@@ -3218,7 +3218,7 @@
|
|
|
3218
3218
|
}
|
|
3219
3219
|
}
|
|
3220
3220
|
],
|
|
3221
|
-
"description": "Return a new fragment body (no leading `#`) with `key`'s segment set to\
|
|
3221
|
+
"description": "Return a new fragment body (no leading `#`) with `key`'s segment set to\n`value`, preserving every other segment and its order; appends if absent."
|
|
3222
3222
|
},
|
|
3223
3223
|
{
|
|
3224
3224
|
"kind": "function",
|
|
@@ -3236,7 +3236,7 @@
|
|
|
3236
3236
|
}
|
|
3237
3237
|
}
|
|
3238
3238
|
],
|
|
3239
|
-
"description": "The fragment key an element owns: its `uhash` attribute if set, else its\
|
|
3239
|
+
"description": "The fragment key an element owns: its `uhash` attribute if set, else its\n`id`, else `null` (does not participate in URL sync). The single source of\nthis rule, shared by the toolbar export and the sync controller."
|
|
3240
3240
|
},
|
|
3241
3241
|
{
|
|
3242
3242
|
"kind": "function",
|
|
@@ -3275,7 +3275,7 @@
|
|
|
3275
3275
|
}
|
|
3276
3276
|
}
|
|
3277
3277
|
],
|
|
3278
|
-
"description": "A shareable URL for `fsl` under `key`, merging into `currentHash` so sibling\
|
|
3278
|
+
"description": "A shareable URL for `fsl` under `key`, merging into `currentHash` so sibling\nmachines' segments survive. Browser-defaulted (`location`) but injectable for\ntests."
|
|
3279
3279
|
},
|
|
3280
3280
|
{
|
|
3281
3281
|
"kind": "function",
|
|
@@ -3554,7 +3554,7 @@
|
|
|
3554
3554
|
"declarations": [
|
|
3555
3555
|
{
|
|
3556
3556
|
"kind": "class",
|
|
3557
|
-
"description": "`<fsl-simulation>` — a random-walk driver for a parent `<fsl-instance>`.\
|
|
3557
|
+
"description": "`<fsl-simulation>` — a random-walk driver for a parent `<fsl-instance>`.\n\n`Step` fires one uniformly-random legal action; `Play` auto-steps every\nFslSimulation.interval ms and stops automatically when the machine\nreaches a terminal state (no legal actions). Standalone (no host ancestor)\nthe controls are disabled.",
|
|
3558
3558
|
"name": "FslSimulation",
|
|
3559
3559
|
"cssParts": [
|
|
3560
3560
|
{
|
|
@@ -3676,7 +3676,7 @@
|
|
|
3676
3676
|
"declarations": [
|
|
3677
3677
|
{
|
|
3678
3678
|
"kind": "class",
|
|
3679
|
-
"description": "`<fsl-stochastic>` — a statistical/Monte-Carlo explorer for a parent\
|
|
3679
|
+
"description": "`<fsl-stochastic>` — a statistical/Monte-Carlo explorer for a parent\n`<fsl-instance>` (fsl#1384). Builds its own throwaway machine from the\nhost's `.fsl` source (never touching the live machine) and renders\naggregate run statistics in-panel. Standalone (no host) the controls are\ndisabled.",
|
|
3680
3680
|
"name": "FslStochastic",
|
|
3681
3681
|
"cssParts": [
|
|
3682
3682
|
{
|
|
@@ -3763,7 +3763,7 @@
|
|
|
3763
3763
|
{
|
|
3764
3764
|
"kind": "field",
|
|
3765
3765
|
"name": "play",
|
|
3766
|
-
"description": "Animate the batch: accumulate runs incrementally via `requestAnimationFrame`,\
|
|
3766
|
+
"description": "Animate the batch: accumulate runs incrementally via `requestAnimationFrame`,\nredrawing as they land. Resolves when the batch completes or is paused-to-stop.\n\nFalls back to immediate (synchronous chunk) scheduling under jsdom where\n`requestAnimationFrame` is undefined."
|
|
3767
3767
|
},
|
|
3768
3768
|
{
|
|
3769
3769
|
"kind": "method",
|
|
@@ -3825,7 +3825,7 @@
|
|
|
3825
3825
|
"description": "The effective RNG seed used for this batch."
|
|
3826
3826
|
}
|
|
3827
3827
|
],
|
|
3828
|
-
"description": "Fold accumulated counters into a rendered summary. Shared by play\
|
|
3828
|
+
"description": "Fold accumulated counters into a rendered summary. Shared by play\nfor incremental rendering during animation."
|
|
3829
3829
|
},
|
|
3830
3830
|
{
|
|
3831
3831
|
"kind": "field",
|
|
@@ -4236,7 +4236,7 @@
|
|
|
4236
4236
|
}
|
|
4237
4237
|
}
|
|
4238
4238
|
],
|
|
4239
|
-
"description": "Set the theme mode (System/Light/Dark). The host applies the palette + drives\r\
|
|
4239
|
+
"description": "Set the theme mode (System/Light/Dark). The host applies the palette + drives\r\n the editor; the menu stays open so a theme can be picked in the same trip."
|
|
4240
4240
|
},
|
|
4241
4241
|
{
|
|
4242
4242
|
"kind": "method",
|
|
@@ -4255,7 +4255,7 @@
|
|
|
4255
4255
|
}
|
|
4256
4256
|
}
|
|
4257
4257
|
],
|
|
4258
|
-
"description": "Select a named theme from the host's registry. The theme-name buttons only\r\
|
|
4258
|
+
"description": "Select a named theme from the host's registry. The theme-name buttons only\r\n render when a host exists, so `_host` is non-null here."
|
|
4259
4259
|
},
|
|
4260
4260
|
{
|
|
4261
4261
|
"kind": "method",
|
|
@@ -4292,7 +4292,7 @@
|
|
|
4292
4292
|
}
|
|
4293
4293
|
}
|
|
4294
4294
|
],
|
|
4295
|
-
"description": "Set the active export destination; the menu stays open so a format can be\r\
|
|
4295
|
+
"description": "Set the active export destination; the menu stays open so a format can be\r\n chosen next."
|
|
4296
4296
|
},
|
|
4297
4297
|
{
|
|
4298
4298
|
"kind": "method",
|
|
@@ -4311,7 +4311,7 @@
|
|
|
4311
4311
|
}
|
|
4312
4312
|
}
|
|
4313
4313
|
],
|
|
4314
|
-
"description": "Emit `fsl-export` with the chosen format's content + the active destination.\r\
|
|
4314
|
+
"description": "Emit `fsl-export` with the chosen format's content + the active destination.\r\n The embedder performs the actual clipboard / file save."
|
|
4315
4315
|
},
|
|
4316
4316
|
{
|
|
4317
4317
|
"kind": "method",
|
|
@@ -4330,7 +4330,7 @@
|
|
|
4330
4330
|
}
|
|
4331
4331
|
}
|
|
4332
4332
|
],
|
|
4333
|
-
"description": "Fire a workspace-action intent (validate / lint) for the consumer to\r\
|
|
4333
|
+
"description": "Fire a workspace-action intent (validate / lint) for the consumer to\r\n fulfill — the toolbar presents the action; the embedder runs it. The\r\n current machine source rides along in the detail as a convenience. The\r\n buttons only render with a host, so `_host` is non-null here."
|
|
4334
4334
|
},
|
|
4335
4335
|
{
|
|
4336
4336
|
"kind": "method",
|
|
@@ -4396,34 +4396,34 @@
|
|
|
4396
4396
|
"exports": [
|
|
4397
4397
|
{
|
|
4398
4398
|
"kind": "js",
|
|
4399
|
-
"name": "
|
|
4399
|
+
"name": "embed_snippet_for",
|
|
4400
4400
|
"declaration": {
|
|
4401
|
-
"name": "
|
|
4401
|
+
"name": "embed_snippet_for",
|
|
4402
4402
|
"module": "src/ts/wc/fsl_toolbar_wc.ts"
|
|
4403
4403
|
}
|
|
4404
4404
|
},
|
|
4405
4405
|
{
|
|
4406
4406
|
"kind": "js",
|
|
4407
|
-
"name": "
|
|
4407
|
+
"name": "FslToolbar",
|
|
4408
4408
|
"declaration": {
|
|
4409
|
-
"name": "
|
|
4409
|
+
"name": "FslToolbar",
|
|
4410
4410
|
"module": "src/ts/wc/fsl_toolbar_wc.ts"
|
|
4411
4411
|
}
|
|
4412
4412
|
},
|
|
4413
4413
|
{
|
|
4414
4414
|
"kind": "js",
|
|
4415
|
-
"name": "
|
|
4415
|
+
"name": "fsl_from_permalink",
|
|
4416
4416
|
"declaration": {
|
|
4417
|
-
"name": "
|
|
4418
|
-
"module": "
|
|
4417
|
+
"name": "fsl_from_permalink",
|
|
4418
|
+
"module": "./fsl_permalink.js"
|
|
4419
4419
|
}
|
|
4420
4420
|
},
|
|
4421
4421
|
{
|
|
4422
4422
|
"kind": "js",
|
|
4423
|
-
"name": "
|
|
4423
|
+
"name": "permalink_for",
|
|
4424
4424
|
"declaration": {
|
|
4425
|
-
"name": "
|
|
4426
|
-
"module": "
|
|
4425
|
+
"name": "permalink_for",
|
|
4426
|
+
"module": "./fsl_permalink.js"
|
|
4427
4427
|
}
|
|
4428
4428
|
}
|
|
4429
4429
|
]
|
|
@@ -4578,7 +4578,7 @@
|
|
|
4578
4578
|
"type": {
|
|
4579
4579
|
"text": "HighlightOptions"
|
|
4580
4580
|
},
|
|
4581
|
-
"description": "Highlight styling; see {@link HighlightOptions}. Defaults\r\n * to crimson with off-trace fading enabled.\r\n
|
|
4581
|
+
"description": "Highlight styling; see {@link HighlightOptions}. Defaults\r\n * to crimson with off-trace fading enabled.\r\n * "
|
|
4582
4582
|
}
|
|
4583
4583
|
],
|
|
4584
4584
|
"description": "Programmatically highlights one execution trace (a path of state names)\r\nthrough the rendered graph, optionally fading everything off the path.\r\n\r\nMatches nodes by their Graphviz `<title>` (the state name) and edges by\r\nthe `from->to` title Graphviz emits, applying inline style overrides so\r\nthe highlight composes over — and is reversible against — the default\r\nrendering (see clearHighlights, which this calls first). No-ops\r\nwhen detached, before the first render, or given an empty trace.\r\n\r\n```typescript\r\n// Highlight a -> b -> c in green, without dimming the rest:\r\nviz.highlightTrace(['a', 'b', 'c'], { color: '#2e7d32', fadeOthers: false });\r\n```"
|
|
@@ -4661,7 +4661,7 @@
|
|
|
4661
4661
|
"description": "SVG markup from the viz pipeline (`machine_to_svg_string`, etc.)."
|
|
4662
4662
|
}
|
|
4663
4663
|
],
|
|
4664
|
-
"description": "Reorder a graphviz-rendered SVG's paint stack so action labels can't be\
|
|
4664
|
+
"description": "Reorder a graphviz-rendered SVG's paint stack so action labels can't be\npainted over by edges. Graphviz interleaves nodes and edges and keeps each\nedge's label `<text>` inside the edge group, so a later edge can draw over an\nearlier edge's label. This lifts the layers into a clean back-to-front order:\n\n background → edges → nodes → action (edge) labels\n\nEach edge's label text is hoisted out of its edge group to the very top.\nMarkup that isn't graphviz output (no `g.graph`) is returned untouched."
|
|
4665
4665
|
}
|
|
4666
4666
|
],
|
|
4667
4667
|
"exports": [
|
|
@@ -4703,7 +4703,7 @@
|
|
|
4703
4703
|
"description": "The suffix to match after the prefix (e.g. `\"viz\"`)."
|
|
4704
4704
|
}
|
|
4705
4705
|
],
|
|
4706
|
-
"description": "Returns true when `tag_name` is exactly `fsl-<suffix>` or `jssm-<suffix>`\
|
|
4706
|
+
"description": "Returns true when `tag_name` is exactly `fsl-<suffix>` or `jssm-<suffix>`\n(case-insensitive)."
|
|
4707
4707
|
},
|
|
4708
4708
|
{
|
|
4709
4709
|
"kind": "function",
|
|
@@ -4729,7 +4729,7 @@
|
|
|
4729
4729
|
"description": "The suffix to match (e.g. `\"instance\"`)."
|
|
4730
4730
|
}
|
|
4731
4731
|
],
|
|
4732
|
-
"description": "Returns the nearest ancestor of `el` (or `el` itself) whose tag is\
|
|
4732
|
+
"description": "Returns the nearest ancestor of `el` (or `el` itself) whose tag is\n`fsl-<suffix>` or `jssm-<suffix>`, or `null` if none exists."
|
|
4733
4733
|
},
|
|
4734
4734
|
{
|
|
4735
4735
|
"kind": "function",
|
|
@@ -4769,7 +4769,7 @@
|
|
|
4769
4769
|
"description": "Constructor to register under `synonym_tag`\r\n (must be a distinct class from `CanonicalClass`)."
|
|
4770
4770
|
}
|
|
4771
4771
|
],
|
|
4772
|
-
"description": "Registers a canonical custom-element tag and its synonym tag.\
|
|
4772
|
+
"description": "Registers a canonical custom-element tag and its synonym tag.\n\n`customElements.define` requires a distinct constructor per tag name, so\ncallers pass the canonical class and a thin subclass for the synonym.\nThe function is idempotent: if either tag is already registered it skips\nthat `define` call rather than throwing."
|
|
4773
4773
|
},
|
|
4774
4774
|
{
|
|
4775
4775
|
"kind": "function",
|
|
@@ -4795,7 +4795,7 @@
|
|
|
4795
4795
|
"description": "Constructor to register under `canonical_tag`."
|
|
4796
4796
|
}
|
|
4797
4797
|
],
|
|
4798
|
-
"description": "Registers a single canonical `fsl-*` custom-element tag, with no `jssm-*`\
|
|
4798
|
+
"description": "Registers a single canonical `fsl-*` custom-element tag, with no `jssm-*`\nsynonym.\n\nThis is the registration path for **new** web components. The `jssm-*`\nprefix is a deprecated backward-compatibility alias retained only for the\ncomponents that shipped under that name (`<jssm-viz>`, `<jssm-instance>`,\n`<jssm-bind>`); new components are `fsl-*`-only for fsl.tools brand\nalignment, and the legacy synonyms are slated for removal in v6. Use\ndefine_with_synonym only when maintaining one of those pre-existing\ndual-named components.\n\nIdempotent: skips the `define` call when the tag is already registered."
|
|
4799
4799
|
}
|
|
4800
4800
|
],
|
|
4801
4801
|
"exports": [
|