jssm 5.151.2 → 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 +506 -36
- package/dist/cdn/instance.js +496 -34
- 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/dist/wc/instance.js +291 -23
- package/dist/wc/widgets.js +111 -43
- 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_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
|