@raydiant/playlist-window-manager 0.13.17 → 0.14.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.
|
@@ -113,7 +113,7 @@ export default class PresentationWindow {
|
|
|
113
113
|
publishedAt: string;
|
|
114
114
|
playlistId: string | undefined;
|
|
115
115
|
playlistName: string | undefined;
|
|
116
|
-
rule: RE.
|
|
116
|
+
rule: RE.RuleOperatorType | RE.RuleGroupType | RE.RuleScheduleType | null | undefined;
|
|
117
117
|
};
|
|
118
118
|
private createRuleEngine;
|
|
119
119
|
private isValidOpenChildWindowPayload;
|
|
@@ -745,18 +745,20 @@ var PresentationWindow = /** @class */ (function () {
|
|
|
745
745
|
// Append to the global rule with an AND to filter out other presentations
|
|
746
746
|
// that have playlists. Prevents MZ in MZ, Kiosk in Kiosk, MZ in Kiosk, etc...
|
|
747
747
|
type: 'and',
|
|
748
|
-
|
|
748
|
+
group: [
|
|
749
749
|
globalRule,
|
|
750
750
|
{
|
|
751
|
-
type: '
|
|
752
|
-
|
|
751
|
+
type: 'equals',
|
|
752
|
+
left: { var: ['target', 'hasPlaylists'] },
|
|
753
|
+
right: { const: false }
|
|
753
754
|
}
|
|
754
755
|
]
|
|
755
756
|
}
|
|
756
757
|
: {
|
|
757
758
|
// A global rule was not provided so we don't need to combine the rule with an AND.
|
|
758
|
-
type: '
|
|
759
|
-
|
|
759
|
+
type: 'equals',
|
|
760
|
+
left: { var: ['target', 'hasPlaylists'] },
|
|
761
|
+
right: { const: false }
|
|
760
762
|
});
|
|
761
763
|
};
|
|
762
764
|
PresentationWindow.prototype.isValidOpenChildWindowPayload = function (payload) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raydiant/playlist-window-manager",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"description": "Window manager for playlist playback.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"fast-deep-equal": "^3.1.3",
|
|
15
|
-
"@raydiant/playlist-rule-engine": "
|
|
15
|
+
"@raydiant/playlist-rule-engine": "3.1.2",
|
|
16
16
|
"raydiant-kit": "^4.6.1",
|
|
17
17
|
"uuid": "^8.3.0",
|
|
18
18
|
"eventemitter3": "^4.0.7"
|
|
@@ -853,18 +853,20 @@ export default class PresentationWindow {
|
|
|
853
853
|
// Append to the global rule with an AND to filter out other presentations
|
|
854
854
|
// that have playlists. Prevents MZ in MZ, Kiosk in Kiosk, MZ in Kiosk, etc...
|
|
855
855
|
type: 'and',
|
|
856
|
-
|
|
856
|
+
group: [
|
|
857
857
|
globalRule,
|
|
858
858
|
{
|
|
859
|
-
type: '
|
|
860
|
-
|
|
859
|
+
type: 'equals',
|
|
860
|
+
left: { var: ['target', 'hasPlaylists'] },
|
|
861
|
+
right: { const: false }
|
|
861
862
|
}
|
|
862
863
|
]
|
|
863
864
|
}
|
|
864
865
|
: {
|
|
865
866
|
// A global rule was not provided so we don't need to combine the rule with an AND.
|
|
866
|
-
type: '
|
|
867
|
-
|
|
867
|
+
type: 'equals',
|
|
868
|
+
left: { var: ['target', 'hasPlaylists'] },
|
|
869
|
+
right: { const: false }
|
|
868
870
|
}
|
|
869
871
|
);
|
|
870
872
|
}
|