rotor-framework 0.4.2 β 0.4.3
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
CHANGED
|
@@ -96,7 +96,7 @@ You can find [π±](./docs/ai/readme.opt.yaml) symbols in all documentation page
|
|
|
96
96
|
|
|
97
97
|
## π Learn More
|
|
98
98
|
|
|
99
|
-

|
|
100
100
|
|
|
101
101
|
### Framework Core
|
|
102
102
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rotor-framework",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Roku toolkit library providing a ViewBuilder, full UI lifecycle with focus handling and many core features, plus MVI-based state management.",
|
|
5
5
|
"author": "BalΓ‘zs MolnΓ‘r",
|
|
6
6
|
"license": "MIT",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
' βββββββ ββ β ββ βββββββ βββββββββββββββββ βββββββββ ββββ βββββββββββ
|
|
5
5
|
' ββ βββββββ β βββββββ ββ ββ ββ ββββ ββββ βββββββββββββββββββ ββββ ββ
|
|
6
6
|
' Rotor Frameworkβ’
|
|
7
|
-
' Version 0.4.
|
|
7
|
+
' Version 0.4.3
|
|
8
8
|
' Β© 2025 BalΓ‘zs MolnΓ‘r β MIT License
|
|
9
9
|
' =========================================================================
|
|
10
10
|
|
|
@@ -85,7 +85,7 @@ namespace Rotor
|
|
|
85
85
|
class Framework
|
|
86
86
|
|
|
87
87
|
name = "Rotor Framework"
|
|
88
|
-
version = "0.4.
|
|
88
|
+
version = "0.4.3"
|
|
89
89
|
|
|
90
90
|
config = {
|
|
91
91
|
tasks: invalid, ' @array (optional)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
' βββββββ ββ β ββ βββββββ βββββββββββββββββ βββββββββ ββββ βββββββββββ
|
|
5
5
|
' ββ βββββββ β βββββββ ββ ββ ββ ββββ ββββ βββββββββββββββββββ ββββ ββ
|
|
6
6
|
' Rotor Frameworkβ’
|
|
7
|
-
' Version 0.4.
|
|
7
|
+
' Version 0.4.3
|
|
8
8
|
' Β© 2025 BalΓ‘zs MolnΓ‘r β MIT License
|
|
9
9
|
' =========================================================================
|
|
10
10
|
|
|
@@ -70,7 +70,7 @@ namespace Rotor
|
|
|
70
70
|
class FrameworkTask
|
|
71
71
|
|
|
72
72
|
name = "Rotor Framework"
|
|
73
|
-
version = "0.4.
|
|
73
|
+
version = "0.4.3"
|
|
74
74
|
|
|
75
75
|
config = {
|
|
76
76
|
tasks: invalid, ' optional
|
|
@@ -44,9 +44,9 @@ namespace Rotor
|
|
|
44
44
|
' LIFECYCLE CALLBACKS
|
|
45
45
|
' =============================================================
|
|
46
46
|
|
|
47
|
-
onMountWidget as
|
|
48
|
-
onUpdateWidget as
|
|
49
|
-
onDestroyWidget as
|
|
47
|
+
onMountWidget as function ' Called after widget is mounted
|
|
48
|
+
onUpdateWidget as function ' Called before widget updates
|
|
49
|
+
onDestroyWidget as function ' Called before widget is destroyed
|
|
50
50
|
|
|
51
51
|
' =============================================================
|
|
52
52
|
' DECORATED METHODS
|
|
@@ -54,31 +54,31 @@ namespace Rotor
|
|
|
54
54
|
' These methods are injected by WidgetCreate.bs
|
|
55
55
|
|
|
56
56
|
' Tree Navigation
|
|
57
|
-
getWidget as
|
|
58
|
-
findWidgets as
|
|
59
|
-
getChildrenWidgets as
|
|
60
|
-
getSiblingWidget as
|
|
61
|
-
getSubtreeClone as
|
|
57
|
+
getWidget as function ' Find widget by ID or path (any depth)
|
|
58
|
+
findWidgets as function ' Find widgets by glob pattern
|
|
59
|
+
getChildrenWidgets as function ' Get direct children (optionally filtered)
|
|
60
|
+
getSiblingWidget as function ' Get sibling widget by ID
|
|
61
|
+
getSubtreeClone as function ' Clone widget subtree
|
|
62
62
|
|
|
63
63
|
' ViewModel Access
|
|
64
|
-
getParentViewModel as
|
|
65
|
-
getViewModel as
|
|
66
|
-
getRootWidget as
|
|
64
|
+
getParentViewModel as function ' Get parent ViewModel
|
|
65
|
+
getViewModel as function ' Get owning ViewModel
|
|
66
|
+
getRootWidget as function ' Get root widget (HID "0")
|
|
67
67
|
|
|
68
68
|
' Rendering
|
|
69
|
-
render as
|
|
70
|
-
refresh as
|
|
71
|
-
erase as
|
|
69
|
+
render as function ' Render widget updates
|
|
70
|
+
refresh as function ' Refresh specific properties by key paths
|
|
71
|
+
erase as function ' Remove widget(s) from tree
|
|
72
72
|
|
|
73
73
|
' Framework Integration
|
|
74
|
-
getFrameworkInstance as
|
|
75
|
-
getDispatcher as
|
|
76
|
-
createDispatcher as
|
|
77
|
-
animator as
|
|
74
|
+
getFrameworkInstance as function ' Get framework instance
|
|
75
|
+
getDispatcher as function ' Get dispatcher facade by ID
|
|
76
|
+
createDispatcher as function ' Create dispatcher
|
|
77
|
+
animator as function ' Get animator factory
|
|
78
78
|
|
|
79
79
|
' i18n Integration
|
|
80
|
-
getLocale as
|
|
81
|
-
isRTL as
|
|
80
|
+
getLocale as function ' Get locale e.g: "en_US"
|
|
81
|
+
isRTL as boolean ' Indicates whether the current locale uses right-to-left text
|
|
82
82
|
|
|
83
83
|
' =============================================================
|
|
84
84
|
' PLUGIN METHODS
|