@quenty/rxbinderutils 9.0.0-canary.367.e9fdcbc.0 → 9.0.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/CHANGELOG.md +108 -1
- package/package.json +9 -9
- package/src/Shared/RxBinderUtils.lua +16 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,114 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [9.0.0
|
|
6
|
+
# [9.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.28.0...@quenty/rxbinderutils@9.0.0) (2023-10-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [8.28.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.27.0...@quenty/rxbinderutils@8.28.0) (2023-09-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [8.27.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.26.0...@quenty/rxbinderutils@8.27.0) (2023-09-04)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [8.26.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.25.0...@quenty/rxbinderutils@8.26.0) (2023-08-23)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* Add RxBinderUtils.observeChildrenBrio ([b405437](https://github.com/Quenty/NevermoreEngine/commit/b405437956b0a3e7041c6e2d11a0d580d3c62eb1))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [8.25.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.24.0...@quenty/rxbinderutils@8.25.0) (2023-08-01)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# [8.24.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.23.0...@quenty/rxbinderutils@8.24.0) (2023-07-28)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# [8.23.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.22.0...@quenty/rxbinderutils@8.23.0) (2023-07-23)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# [8.22.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.21.0...@quenty/rxbinderutils@8.22.0) (2023-07-15)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# [8.21.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.20.1...@quenty/rxbinderutils@8.21.0) (2023-07-10)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [8.20.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.20.0...@quenty/rxbinderutils@8.20.1) (2023-06-24)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# [8.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.19.1...@quenty/rxbinderutils@8.20.0) (2023-06-24)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## [8.19.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.19.0...@quenty/rxbinderutils@8.19.1) (2023-06-23)
|
|
98
|
+
|
|
99
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
# [8.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.18.0...@quenty/rxbinderutils@8.19.0) (2023-06-17)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# [8.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/rxbinderutils@8.17.0...@quenty/rxbinderutils@8.18.0) (2023-06-05)
|
|
7
114
|
|
|
8
115
|
**Note:** Version bump only for package @quenty/rxbinderutils
|
|
9
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/rxbinderutils",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "Reactive extensions for binders",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/binder": "9.0.0
|
|
30
|
-
"@quenty/brio": "
|
|
31
|
-
"@quenty/instanceutils": "
|
|
32
|
-
"@quenty/linkutils": "
|
|
33
|
-
"@quenty/loader": "
|
|
34
|
-
"@quenty/maid": "2.
|
|
35
|
-
"@quenty/rx": "
|
|
29
|
+
"@quenty/binder": "^9.0.0",
|
|
30
|
+
"@quenty/brio": "^9.0.0",
|
|
31
|
+
"@quenty/instanceutils": "^8.0.0",
|
|
32
|
+
"@quenty/linkutils": "^8.0.0",
|
|
33
|
+
"@quenty/loader": "^7.0.0",
|
|
34
|
+
"@quenty/maid": "^2.6.0",
|
|
35
|
+
"@quenty/rx": "^8.0.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "fdeae46099587019ec5fc15317dc673aed379400"
|
|
41
41
|
}
|
|
@@ -40,7 +40,7 @@ function RxBinderUtils.observeLinkedBoundClassBrio(linkName, parent, binder)
|
|
|
40
40
|
return RxLinkUtils.observeValidLinksBrio(linkName, parent)
|
|
41
41
|
:Pipe({
|
|
42
42
|
RxBrioUtils.flatMapBrio(function(_, linkValue)
|
|
43
|
-
return
|
|
43
|
+
return binder:ObserveBrio(linkValue)
|
|
44
44
|
end);
|
|
45
45
|
});
|
|
46
46
|
end
|
|
@@ -52,18 +52,31 @@ end
|
|
|
52
52
|
@param instance Instance
|
|
53
53
|
@return Observable<Brio<T>>
|
|
54
54
|
]=]
|
|
55
|
-
function RxBinderUtils.
|
|
55
|
+
function RxBinderUtils.observeChildrenBrio(binder, instance)
|
|
56
56
|
assert(Binder.isBinder(binder), "Bad binder")
|
|
57
57
|
assert(typeof(instance) == "Instance", "Bad instance")
|
|
58
58
|
|
|
59
59
|
return RxInstanceUtils.observeChildrenBrio(instance)
|
|
60
60
|
:Pipe({
|
|
61
61
|
RxBrioUtils.flatMapBrio(function(child)
|
|
62
|
-
return
|
|
62
|
+
return binder:ObserveBrio(child)
|
|
63
63
|
end);
|
|
64
64
|
})
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
+
|
|
68
|
+
--[=[
|
|
69
|
+
Observes bound children classes.
|
|
70
|
+
|
|
71
|
+
@function observeBoundChildClassBrio
|
|
72
|
+
@param binder Binder<T>
|
|
73
|
+
@param instance Instance
|
|
74
|
+
@return Observable<Brio<T>>
|
|
75
|
+
@within RxBinderUtils
|
|
76
|
+
]=]
|
|
77
|
+
RxBinderUtils.observeBoundChildClassBrio = RxBinderUtils.observeChildrenBrio
|
|
78
|
+
|
|
79
|
+
|
|
67
80
|
--[=[
|
|
68
81
|
Observes ainstance's parent class that is bound.
|
|
69
82
|
|