jssm 5.152.0 → 5.153.0
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 +11 -11
- package/dist/cdn/instance.js +205 -11
- package/dist/cdn/viz.js +229 -16
- package/dist/cli/fsl-export-system-prompt.cjs +1 -1
- 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/deno/README.md +7 -7
- package/dist/deno/jssm.d.ts +6 -4
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_types.d.ts +2 -0
- 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/jssm.es5.d.cts +8 -4
- package/jssm.es6.d.ts +8 -4
- package/jssm_viz.es5.d.cts +8 -4
- package/jssm_viz.es6.d.ts +8 -4
- package/package.json +1 -1
package/jssm.es5.d.cts
CHANGED
|
@@ -571,6 +571,8 @@ declare type JssmGenericConfig<StateType, DataType> = {
|
|
|
571
571
|
arrange_declaration?: Array<Array<StateType>>;
|
|
572
572
|
arrange_start_declaration?: Array<Array<StateType>>;
|
|
573
573
|
arrange_end_declaration?: Array<Array<StateType>>;
|
|
574
|
+
oarrange_declaration?: Array<Array<StateType>>;
|
|
575
|
+
farrange_declaration?: Array<Array<StateType>>;
|
|
574
576
|
machine_author?: string | Array<string>;
|
|
575
577
|
machine_comment?: string;
|
|
576
578
|
machine_contributor?: string | Array<string>;
|
|
@@ -2032,6 +2034,8 @@ declare class Machine<mDT> {
|
|
|
2032
2034
|
_arrange_declaration: Array<Array<StateType>>;
|
|
2033
2035
|
_arrange_start_declaration: Array<Array<StateType>>;
|
|
2034
2036
|
_arrange_end_declaration: Array<Array<StateType>>;
|
|
2037
|
+
_oarrange_declaration: Array<Array<StateType>>;
|
|
2038
|
+
_farrange_declaration: Array<Array<StateType>>;
|
|
2035
2039
|
_themes: FslTheme[];
|
|
2036
2040
|
_flow: FslDirection;
|
|
2037
2041
|
_has_hooks: boolean;
|
|
@@ -2114,7 +2118,7 @@ declare class Machine<mDT> {
|
|
|
2114
2118
|
_firing_error: boolean;
|
|
2115
2119
|
_boundary_depth: number;
|
|
2116
2120
|
_boundary_depth_limit: number;
|
|
2117
|
-
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
2121
|
+
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
2118
2122
|
/********
|
|
2119
2123
|
*
|
|
2120
2124
|
* Internal method for fabricating states. Not meant for external use.
|
|
@@ -2280,13 +2284,13 @@ declare class Machine<mDT> {
|
|
|
2280
2284
|
* `;
|
|
2281
2285
|
*
|
|
2282
2286
|
* traffic_light.state(); // Off
|
|
2283
|
-
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true
|
|
2287
|
+
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true }
|
|
2284
2288
|
*
|
|
2285
2289
|
* traffic_light.go('Red');
|
|
2286
|
-
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true
|
|
2290
|
+
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true }
|
|
2287
2291
|
*
|
|
2288
2292
|
* traffic_light.go('Green');
|
|
2289
|
-
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false
|
|
2293
|
+
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false }
|
|
2290
2294
|
* ```
|
|
2291
2295
|
*
|
|
2292
2296
|
* @returns An object mapping every known property name to its current value
|
package/jssm.es6.d.ts
CHANGED
|
@@ -571,6 +571,8 @@ declare type JssmGenericConfig<StateType, DataType> = {
|
|
|
571
571
|
arrange_declaration?: Array<Array<StateType>>;
|
|
572
572
|
arrange_start_declaration?: Array<Array<StateType>>;
|
|
573
573
|
arrange_end_declaration?: Array<Array<StateType>>;
|
|
574
|
+
oarrange_declaration?: Array<Array<StateType>>;
|
|
575
|
+
farrange_declaration?: Array<Array<StateType>>;
|
|
574
576
|
machine_author?: string | Array<string>;
|
|
575
577
|
machine_comment?: string;
|
|
576
578
|
machine_contributor?: string | Array<string>;
|
|
@@ -2032,6 +2034,8 @@ declare class Machine<mDT> {
|
|
|
2032
2034
|
_arrange_declaration: Array<Array<StateType>>;
|
|
2033
2035
|
_arrange_start_declaration: Array<Array<StateType>>;
|
|
2034
2036
|
_arrange_end_declaration: Array<Array<StateType>>;
|
|
2037
|
+
_oarrange_declaration: Array<Array<StateType>>;
|
|
2038
|
+
_farrange_declaration: Array<Array<StateType>>;
|
|
2035
2039
|
_themes: FslTheme[];
|
|
2036
2040
|
_flow: FslDirection;
|
|
2037
2041
|
_has_hooks: boolean;
|
|
@@ -2114,7 +2118,7 @@ declare class Machine<mDT> {
|
|
|
2114
2118
|
_firing_error: boolean;
|
|
2115
2119
|
_boundary_depth: number;
|
|
2116
2120
|
_boundary_depth_limit: number;
|
|
2117
|
-
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
2121
|
+
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
2118
2122
|
/********
|
|
2119
2123
|
*
|
|
2120
2124
|
* Internal method for fabricating states. Not meant for external use.
|
|
@@ -2280,13 +2284,13 @@ declare class Machine<mDT> {
|
|
|
2280
2284
|
* `;
|
|
2281
2285
|
*
|
|
2282
2286
|
* traffic_light.state(); // Off
|
|
2283
|
-
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true
|
|
2287
|
+
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true }
|
|
2284
2288
|
*
|
|
2285
2289
|
* traffic_light.go('Red');
|
|
2286
|
-
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true
|
|
2290
|
+
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true }
|
|
2287
2291
|
*
|
|
2288
2292
|
* traffic_light.go('Green');
|
|
2289
|
-
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false
|
|
2293
|
+
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false }
|
|
2290
2294
|
* ```
|
|
2291
2295
|
*
|
|
2292
2296
|
* @returns An object mapping every known property name to its current value
|
package/jssm_viz.es5.d.cts
CHANGED
|
@@ -566,6 +566,8 @@ declare type JssmGenericConfig<StateType, DataType> = {
|
|
|
566
566
|
arrange_declaration?: Array<Array<StateType>>;
|
|
567
567
|
arrange_start_declaration?: Array<Array<StateType>>;
|
|
568
568
|
arrange_end_declaration?: Array<Array<StateType>>;
|
|
569
|
+
oarrange_declaration?: Array<Array<StateType>>;
|
|
570
|
+
farrange_declaration?: Array<Array<StateType>>;
|
|
569
571
|
machine_author?: string | Array<string>;
|
|
570
572
|
machine_comment?: string;
|
|
571
573
|
machine_contributor?: string | Array<string>;
|
|
@@ -1269,6 +1271,8 @@ declare class Machine<mDT> {
|
|
|
1269
1271
|
_arrange_declaration: Array<Array<StateType>>;
|
|
1270
1272
|
_arrange_start_declaration: Array<Array<StateType>>;
|
|
1271
1273
|
_arrange_end_declaration: Array<Array<StateType>>;
|
|
1274
|
+
_oarrange_declaration: Array<Array<StateType>>;
|
|
1275
|
+
_farrange_declaration: Array<Array<StateType>>;
|
|
1272
1276
|
_themes: FslTheme[];
|
|
1273
1277
|
_flow: FslDirection;
|
|
1274
1278
|
_has_hooks: boolean;
|
|
@@ -1351,7 +1355,7 @@ declare class Machine<mDT> {
|
|
|
1351
1355
|
_firing_error: boolean;
|
|
1352
1356
|
_boundary_depth: number;
|
|
1353
1357
|
_boundary_depth_limit: number;
|
|
1354
|
-
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
1358
|
+
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
1355
1359
|
/********
|
|
1356
1360
|
*
|
|
1357
1361
|
* Internal method for fabricating states. Not meant for external use.
|
|
@@ -1517,13 +1521,13 @@ declare class Machine<mDT> {
|
|
|
1517
1521
|
* `;
|
|
1518
1522
|
*
|
|
1519
1523
|
* traffic_light.state(); // Off
|
|
1520
|
-
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true
|
|
1524
|
+
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true }
|
|
1521
1525
|
*
|
|
1522
1526
|
* traffic_light.go('Red');
|
|
1523
|
-
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true
|
|
1527
|
+
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true }
|
|
1524
1528
|
*
|
|
1525
1529
|
* traffic_light.go('Green');
|
|
1526
|
-
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false
|
|
1530
|
+
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false }
|
|
1527
1531
|
* ```
|
|
1528
1532
|
*
|
|
1529
1533
|
* @returns An object mapping every known property name to its current value
|
package/jssm_viz.es6.d.ts
CHANGED
|
@@ -566,6 +566,8 @@ declare type JssmGenericConfig<StateType, DataType> = {
|
|
|
566
566
|
arrange_declaration?: Array<Array<StateType>>;
|
|
567
567
|
arrange_start_declaration?: Array<Array<StateType>>;
|
|
568
568
|
arrange_end_declaration?: Array<Array<StateType>>;
|
|
569
|
+
oarrange_declaration?: Array<Array<StateType>>;
|
|
570
|
+
farrange_declaration?: Array<Array<StateType>>;
|
|
569
571
|
machine_author?: string | Array<string>;
|
|
570
572
|
machine_comment?: string;
|
|
571
573
|
machine_contributor?: string | Array<string>;
|
|
@@ -1269,6 +1271,8 @@ declare class Machine<mDT> {
|
|
|
1269
1271
|
_arrange_declaration: Array<Array<StateType>>;
|
|
1270
1272
|
_arrange_start_declaration: Array<Array<StateType>>;
|
|
1271
1273
|
_arrange_end_declaration: Array<Array<StateType>>;
|
|
1274
|
+
_oarrange_declaration: Array<Array<StateType>>;
|
|
1275
|
+
_farrange_declaration: Array<Array<StateType>>;
|
|
1272
1276
|
_themes: FslTheme[];
|
|
1273
1277
|
_flow: FslDirection;
|
|
1274
1278
|
_has_hooks: boolean;
|
|
@@ -1351,7 +1355,7 @@ declare class Machine<mDT> {
|
|
|
1351
1355
|
_firing_error: boolean;
|
|
1352
1356
|
_boundary_depth: number;
|
|
1353
1357
|
_boundary_depth_limit: number;
|
|
1354
|
-
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
1358
|
+
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
1355
1359
|
/********
|
|
1356
1360
|
*
|
|
1357
1361
|
* Internal method for fabricating states. Not meant for external use.
|
|
@@ -1517,13 +1521,13 @@ declare class Machine<mDT> {
|
|
|
1517
1521
|
* `;
|
|
1518
1522
|
*
|
|
1519
1523
|
* traffic_light.state(); // Off
|
|
1520
|
-
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true
|
|
1524
|
+
* traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true }
|
|
1521
1525
|
*
|
|
1522
1526
|
* traffic_light.go('Red');
|
|
1523
|
-
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true
|
|
1527
|
+
* traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true }
|
|
1524
1528
|
*
|
|
1525
1529
|
* traffic_light.go('Green');
|
|
1526
|
-
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false
|
|
1530
|
+
* traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false }
|
|
1527
1531
|
* ```
|
|
1528
1532
|
*
|
|
1529
1533
|
* @returns An object mapping every known property name to its current value
|