jssm 5.85.9 → 5.85.11
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/CHANGELOG.md +55 -43
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +9 -2
- package/dist/es6/jssm.js +21 -23
- package/dist/es6/jssm_theme.d.ts +4 -0
- package/dist/es6/jssm_theme.js +13 -0
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm.d.ts +9 -2
- package/jssm_theme.d.ts +4 -0
- package/package.json +1 -1
package/jssm.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare class Machine<mDT> {
|
|
|
56
56
|
_has_exit_hooks: boolean;
|
|
57
57
|
_has_global_action_hooks: boolean;
|
|
58
58
|
_has_transition_hooks: boolean;
|
|
59
|
+
_has_forced_transitions: boolean;
|
|
59
60
|
_hooks: Map<string, HookHandler<mDT>>;
|
|
60
61
|
_named_hooks: Map<string, HookHandler<mDT>>;
|
|
61
62
|
_entry_hooks: Map<string, HookHandler<mDT>>;
|
|
@@ -481,6 +482,7 @@ declare class Machine<mDT> {
|
|
|
481
482
|
list_named_transitions(): Map<StateType, number>;
|
|
482
483
|
list_actions(): Array<StateType>;
|
|
483
484
|
get uses_actions(): boolean;
|
|
485
|
+
get uses_forced_transitions(): boolean;
|
|
484
486
|
all_themes(): FslTheme[];
|
|
485
487
|
get themes(): FslTheme | FslTheme[];
|
|
486
488
|
set themes(to: FslTheme | FslTheme[]);
|
|
@@ -511,7 +513,10 @@ declare class Machine<mDT> {
|
|
|
511
513
|
/********
|
|
512
514
|
*
|
|
513
515
|
* List all entrances attached to the current state. Please note that the
|
|
514
|
-
* order of the list is not defined.
|
|
516
|
+
* order of the list is not defined. This list includes both unforced and
|
|
517
|
+
* forced entrances; if this isn't desired, consider
|
|
518
|
+
* {@link list_unforced_entrances} or {@link list_forced_entrances} as
|
|
519
|
+
* appropriate.
|
|
515
520
|
*
|
|
516
521
|
* ```typescript
|
|
517
522
|
* import { sm } from 'jssm';
|
|
@@ -531,7 +536,9 @@ declare class Machine<mDT> {
|
|
|
531
536
|
/********
|
|
532
537
|
*
|
|
533
538
|
* List all exits attached to the current state. Please note that the order
|
|
534
|
-
* of the list is not defined.
|
|
539
|
+
* of the list is not defined. This list includes both unforced and forced
|
|
540
|
+
* exits; if this isn't desired, consider {@link list_unforced_exits} or
|
|
541
|
+
* {@link list_forced_exits} as appropriate.
|
|
535
542
|
*
|
|
536
543
|
* ```typescript
|
|
537
544
|
* import { sm } from 'jssm';
|
package/jssm_theme.d.ts
ADDED