@arcware-cloud/pixelstreaming-websdk 1.3.33 → 1.3.39
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/index.cjs
CHANGED
|
@@ -22985,6 +22985,7 @@ class ArcwareApplication extends lib_pixelstreamingfrontend_ui_ue5_5_1.Applicati
|
|
|
22985
22985
|
this.createAudioToggleButton();
|
|
22986
22986
|
this.createMicToggleButton();
|
|
22987
22987
|
this.createStopButton();
|
|
22988
|
+
this.applyCustomStyling();
|
|
22988
22989
|
this.applyArcwareStyles();
|
|
22989
22990
|
this.videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
22990
22991
|
this.parentElement = (_c = this === null || this === void 0 ? void 0 : this.videoElementParent) === null || _c === void 0 ? void 0 : _c.parentElement;
|
|
@@ -23171,6 +23172,37 @@ class ArcwareApplication extends lib_pixelstreamingfrontend_ui_ue5_5_1.Applicati
|
|
|
23171
23172
|
}
|
|
23172
23173
|
}
|
|
23173
23174
|
}
|
|
23175
|
+
applyCustomStyling(preset) {
|
|
23176
|
+
var _b;
|
|
23177
|
+
const resolved = preset !== null && preset !== void 0 ? preset : {
|
|
23178
|
+
position: "Bottom-Right",
|
|
23179
|
+
orientation: "Vertical",
|
|
23180
|
+
order_reverse: false,
|
|
23181
|
+
};
|
|
23182
|
+
const videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
23183
|
+
const playerUI = videoElementParent === null || videoElementParent === void 0 ? void 0 : videoElementParent.parentElement;
|
|
23184
|
+
if (!playerUI)
|
|
23185
|
+
return;
|
|
23186
|
+
const uiFeatures = playerUI.querySelector("#uiFeatures");
|
|
23187
|
+
if (!uiFeatures)
|
|
23188
|
+
return;
|
|
23189
|
+
// position
|
|
23190
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_position[resolved.position]);
|
|
23191
|
+
// orientation
|
|
23192
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_orientation[resolved.orientation]);
|
|
23193
|
+
// order reverse
|
|
23194
|
+
if (resolved.order_reverse) {
|
|
23195
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_reverse);
|
|
23196
|
+
}
|
|
23197
|
+
// exception - moving 'connection indicator' icon
|
|
23198
|
+
if (resolved.position === "Bottom-Left") {
|
|
23199
|
+
const connection = document.getElementById("connection");
|
|
23200
|
+
if (connection) {
|
|
23201
|
+
connection.style.right = "10px";
|
|
23202
|
+
connection.style.left = "auto";
|
|
23203
|
+
}
|
|
23204
|
+
}
|
|
23205
|
+
}
|
|
23174
23206
|
uiDefaultButtonVisibilty(buttonType, id) {
|
|
23175
23207
|
var _b, _c, _d;
|
|
23176
23208
|
if (this === null || this === void 0 ? void 0 : this.parentElement) {
|
|
@@ -23450,7 +23482,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
|
|
|
23450
23482
|
if (!config.initialSettings.ss)
|
|
23451
23483
|
config.initialSettings.ss = exports.DefaultUrl;
|
|
23452
23484
|
super(config);
|
|
23453
|
-
this.VERSION = "1.3.
|
|
23485
|
+
this.VERSION = "1.3.39";
|
|
23454
23486
|
this.whiteLabellingChanged = new EventHandler_1.EventHandler();
|
|
23455
23487
|
this.signallingWlURL = "https://signalling-client.arcware.cloud/whiteLabel/";
|
|
23456
23488
|
if (config.envName) {
|
|
@@ -25671,7 +25703,22 @@ tslib_1.__exportStar(__webpack_require__(6125), exports);
|
|
|
25671
25703
|
|
|
25672
25704
|
|
|
25673
25705
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25674
|
-
exports.ArcwareStyles = void 0;
|
|
25706
|
+
exports.ArcwareStyles = exports.CONTROLS_CLASSES = void 0;
|
|
25707
|
+
exports.CONTROLS_CLASSES = {
|
|
25708
|
+
uiFeatures: {
|
|
25709
|
+
buttons_position: {
|
|
25710
|
+
"Top-Left": "controls__position_tl",
|
|
25711
|
+
"Top-Right": "controls__position_tr",
|
|
25712
|
+
"Bottom-Left": "controls__position_bl",
|
|
25713
|
+
"Bottom-Right": "controls__position_br",
|
|
25714
|
+
},
|
|
25715
|
+
buttons_orientation: {
|
|
25716
|
+
"Horizontal": "controls__orientation_h",
|
|
25717
|
+
"Vertical": "controls__orientation_v",
|
|
25718
|
+
},
|
|
25719
|
+
buttons_reverse: "controls__order_reverse",
|
|
25720
|
+
}
|
|
25721
|
+
};
|
|
25675
25722
|
exports.ArcwareStyles = {
|
|
25676
25723
|
customStyles: {
|
|
25677
25724
|
":root": {
|
|
@@ -25756,18 +25803,63 @@ exports.ArcwareStyles = {
|
|
|
25756
25803
|
background: "#18181A"
|
|
25757
25804
|
},
|
|
25758
25805
|
"#uiFeatures #controls": {
|
|
25759
|
-
top: "auto",
|
|
25760
|
-
left: "auto",
|
|
25761
|
-
bottom: "10px",
|
|
25762
|
-
right: "20px",
|
|
25763
25806
|
display: "flex",
|
|
25764
25807
|
flexDirection: "column-reverse"
|
|
25765
25808
|
},
|
|
25809
|
+
/* START Custom position */
|
|
25810
|
+
// #controls
|
|
25811
|
+
controls: {
|
|
25812
|
+
gap: "0.5rem",
|
|
25813
|
+
"& > *": {
|
|
25814
|
+
marginBottom: "0 !important",
|
|
25815
|
+
},
|
|
25816
|
+
},
|
|
25817
|
+
// position
|
|
25818
|
+
uiFeatures: {
|
|
25819
|
+
"&.controls__position_tl #controls": {
|
|
25820
|
+
top: "10px",
|
|
25821
|
+
left: "20px",
|
|
25822
|
+
bottom: "auto",
|
|
25823
|
+
right: "auto",
|
|
25824
|
+
},
|
|
25825
|
+
"&.controls__position_tr #controls": {
|
|
25826
|
+
top: "10px",
|
|
25827
|
+
right: "20px",
|
|
25828
|
+
bottom: "auto",
|
|
25829
|
+
left: "auto",
|
|
25830
|
+
},
|
|
25831
|
+
"&.controls__position_bl #controls": {
|
|
25832
|
+
bottom: "10px",
|
|
25833
|
+
left: "20px",
|
|
25834
|
+
top: "auto",
|
|
25835
|
+
right: "auto",
|
|
25836
|
+
},
|
|
25837
|
+
"&.controls__position_br #controls": {
|
|
25838
|
+
bottom: "10px",
|
|
25839
|
+
right: "20px",
|
|
25840
|
+
top: "auto",
|
|
25841
|
+
left: "auto",
|
|
25842
|
+
},
|
|
25843
|
+
// orientation + order
|
|
25844
|
+
"&.controls__orientation_h #controls": {
|
|
25845
|
+
flexDirection: "row",
|
|
25846
|
+
},
|
|
25847
|
+
"&.controls__orientation_h.controls__order_reverse #controls": {
|
|
25848
|
+
flexDirection: "row-reverse",
|
|
25849
|
+
},
|
|
25850
|
+
"&.controls__orientation_v #controls": {
|
|
25851
|
+
flexDirection: "column",
|
|
25852
|
+
},
|
|
25853
|
+
"&.controls__orientation_v.controls__order_reverse #controls": {
|
|
25854
|
+
flexDirection: "column-reverse",
|
|
25855
|
+
},
|
|
25856
|
+
},
|
|
25857
|
+
/* END Custom position */
|
|
25766
25858
|
"#uiFeatures #connection": {
|
|
25767
25859
|
bottom: "5px",
|
|
25768
25860
|
left: "10px",
|
|
25769
25861
|
width: "2.5rem",
|
|
25770
|
-
|
|
25862
|
+
height: "2.5rem"
|
|
25771
25863
|
},
|
|
25772
25864
|
"#uiFeatures button": {
|
|
25773
25865
|
backgroundColor: "var(--color12)",
|
package/index.mjs
CHANGED
|
@@ -22987,6 +22987,7 @@ class ArcwareApplication extends _epicgames_ps_lib_pixelstreamingfrontend_ui_ue5
|
|
|
22987
22987
|
this.createAudioToggleButton();
|
|
22988
22988
|
this.createMicToggleButton();
|
|
22989
22989
|
this.createStopButton();
|
|
22990
|
+
this.applyCustomStyling();
|
|
22990
22991
|
this.applyArcwareStyles();
|
|
22991
22992
|
this.videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
22992
22993
|
this.parentElement = (_c = this === null || this === void 0 ? void 0 : this.videoElementParent) === null || _c === void 0 ? void 0 : _c.parentElement;
|
|
@@ -23173,6 +23174,37 @@ class ArcwareApplication extends _epicgames_ps_lib_pixelstreamingfrontend_ui_ue5
|
|
|
23173
23174
|
}
|
|
23174
23175
|
}
|
|
23175
23176
|
}
|
|
23177
|
+
applyCustomStyling(preset) {
|
|
23178
|
+
var _b;
|
|
23179
|
+
const resolved = preset !== null && preset !== void 0 ? preset : {
|
|
23180
|
+
position: "Bottom-Right",
|
|
23181
|
+
orientation: "Vertical",
|
|
23182
|
+
order_reverse: false,
|
|
23183
|
+
};
|
|
23184
|
+
const videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
23185
|
+
const playerUI = videoElementParent === null || videoElementParent === void 0 ? void 0 : videoElementParent.parentElement;
|
|
23186
|
+
if (!playerUI)
|
|
23187
|
+
return;
|
|
23188
|
+
const uiFeatures = playerUI.querySelector("#uiFeatures");
|
|
23189
|
+
if (!uiFeatures)
|
|
23190
|
+
return;
|
|
23191
|
+
// position
|
|
23192
|
+
uiFeatures.classList.add(_styles_ArcwarePixelStreamingApplicationStyles__WEBPACK_IMPORTED_MODULE_10__.CONTROLS_CLASSES.uiFeatures.buttons_position[resolved.position]);
|
|
23193
|
+
// orientation
|
|
23194
|
+
uiFeatures.classList.add(_styles_ArcwarePixelStreamingApplicationStyles__WEBPACK_IMPORTED_MODULE_10__.CONTROLS_CLASSES.uiFeatures.buttons_orientation[resolved.orientation]);
|
|
23195
|
+
// order reverse
|
|
23196
|
+
if (resolved.order_reverse) {
|
|
23197
|
+
uiFeatures.classList.add(_styles_ArcwarePixelStreamingApplicationStyles__WEBPACK_IMPORTED_MODULE_10__.CONTROLS_CLASSES.uiFeatures.buttons_reverse);
|
|
23198
|
+
}
|
|
23199
|
+
// exception - moving 'connection indicator' icon
|
|
23200
|
+
if (resolved.position === "Bottom-Left") {
|
|
23201
|
+
const connection = document.getElementById("connection");
|
|
23202
|
+
if (connection) {
|
|
23203
|
+
connection.style.right = "10px";
|
|
23204
|
+
connection.style.left = "auto";
|
|
23205
|
+
}
|
|
23206
|
+
}
|
|
23207
|
+
}
|
|
23176
23208
|
uiDefaultButtonVisibilty(buttonType, id) {
|
|
23177
23209
|
var _b, _c, _d;
|
|
23178
23210
|
if (this === null || this === void 0 ? void 0 : this.parentElement) {
|
|
@@ -23462,7 +23494,7 @@ class ArcwareConfig extends _epicgames_ps_lib_pixelstreamingfrontend_ue5_5__WEBP
|
|
|
23462
23494
|
if (!config.initialSettings.ss)
|
|
23463
23495
|
config.initialSettings.ss = DefaultUrl;
|
|
23464
23496
|
super(config);
|
|
23465
|
-
this.VERSION = "1.3.
|
|
23497
|
+
this.VERSION = "1.3.39";
|
|
23466
23498
|
this.whiteLabellingChanged = new _domain_EventHandler__WEBPACK_IMPORTED_MODULE_8__.EventHandler();
|
|
23467
23499
|
this.signallingWlURL = "https://signalling-client.arcware.cloud/whiteLabel/";
|
|
23468
23500
|
if (config.envName) {
|
|
@@ -25717,6 +25749,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25717
25749
|
/* harmony export */ ArcwareInit: () => (/* reexport safe */ _ArcwareInit__WEBPACK_IMPORTED_MODULE_3__.ArcwareInit),
|
|
25718
25750
|
/* harmony export */ ArcwarePixelStreaming: () => (/* reexport safe */ _ArcwarePixelStreaming__WEBPACK_IMPORTED_MODULE_2__.ArcwarePixelStreaming),
|
|
25719
25751
|
/* harmony export */ ArcwareStyles: () => (/* reexport safe */ _styles_ArcwarePixelStreamingApplicationStyles__WEBPACK_IMPORTED_MODULE_4__.ArcwareStyles),
|
|
25752
|
+
/* harmony export */ CONTROLS_CLASSES: () => (/* reexport safe */ _styles_ArcwarePixelStreamingApplicationStyles__WEBPACK_IMPORTED_MODULE_4__.CONTROLS_CLASSES),
|
|
25720
25753
|
/* harmony export */ DefaultUrl: () => (/* reexport safe */ _ArcwareConfig__WEBPACK_IMPORTED_MODULE_1__.DefaultUrl),
|
|
25721
25754
|
/* harmony export */ WebsocketState: () => (/* reexport safe */ _ArcwarePixelStreaming__WEBPACK_IMPORTED_MODULE_2__.WebsocketState)
|
|
25722
25755
|
/* harmony export */ });
|
|
@@ -25739,8 +25772,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25739
25772
|
|
|
25740
25773
|
__webpack_require__.r(__webpack_exports__);
|
|
25741
25774
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25742
|
-
/* harmony export */ ArcwareStyles: () => (/* binding */ ArcwareStyles)
|
|
25775
|
+
/* harmony export */ ArcwareStyles: () => (/* binding */ ArcwareStyles),
|
|
25776
|
+
/* harmony export */ CONTROLS_CLASSES: () => (/* binding */ CONTROLS_CLASSES)
|
|
25743
25777
|
/* harmony export */ });
|
|
25778
|
+
const CONTROLS_CLASSES = {
|
|
25779
|
+
uiFeatures: {
|
|
25780
|
+
buttons_position: {
|
|
25781
|
+
"Top-Left": "controls__position_tl",
|
|
25782
|
+
"Top-Right": "controls__position_tr",
|
|
25783
|
+
"Bottom-Left": "controls__position_bl",
|
|
25784
|
+
"Bottom-Right": "controls__position_br",
|
|
25785
|
+
},
|
|
25786
|
+
buttons_orientation: {
|
|
25787
|
+
"Horizontal": "controls__orientation_h",
|
|
25788
|
+
"Vertical": "controls__orientation_v",
|
|
25789
|
+
},
|
|
25790
|
+
buttons_reverse: "controls__order_reverse",
|
|
25791
|
+
}
|
|
25792
|
+
};
|
|
25744
25793
|
const ArcwareStyles = {
|
|
25745
25794
|
customStyles: {
|
|
25746
25795
|
":root": {
|
|
@@ -25825,18 +25874,63 @@ const ArcwareStyles = {
|
|
|
25825
25874
|
background: "#18181A"
|
|
25826
25875
|
},
|
|
25827
25876
|
"#uiFeatures #controls": {
|
|
25828
|
-
top: "auto",
|
|
25829
|
-
left: "auto",
|
|
25830
|
-
bottom: "10px",
|
|
25831
|
-
right: "20px",
|
|
25832
25877
|
display: "flex",
|
|
25833
25878
|
flexDirection: "column-reverse"
|
|
25834
25879
|
},
|
|
25880
|
+
/* START Custom position */
|
|
25881
|
+
// #controls
|
|
25882
|
+
controls: {
|
|
25883
|
+
gap: "0.5rem",
|
|
25884
|
+
"& > *": {
|
|
25885
|
+
marginBottom: "0 !important",
|
|
25886
|
+
},
|
|
25887
|
+
},
|
|
25888
|
+
// position
|
|
25889
|
+
uiFeatures: {
|
|
25890
|
+
"&.controls__position_tl #controls": {
|
|
25891
|
+
top: "10px",
|
|
25892
|
+
left: "20px",
|
|
25893
|
+
bottom: "auto",
|
|
25894
|
+
right: "auto",
|
|
25895
|
+
},
|
|
25896
|
+
"&.controls__position_tr #controls": {
|
|
25897
|
+
top: "10px",
|
|
25898
|
+
right: "20px",
|
|
25899
|
+
bottom: "auto",
|
|
25900
|
+
left: "auto",
|
|
25901
|
+
},
|
|
25902
|
+
"&.controls__position_bl #controls": {
|
|
25903
|
+
bottom: "10px",
|
|
25904
|
+
left: "20px",
|
|
25905
|
+
top: "auto",
|
|
25906
|
+
right: "auto",
|
|
25907
|
+
},
|
|
25908
|
+
"&.controls__position_br #controls": {
|
|
25909
|
+
bottom: "10px",
|
|
25910
|
+
right: "20px",
|
|
25911
|
+
top: "auto",
|
|
25912
|
+
left: "auto",
|
|
25913
|
+
},
|
|
25914
|
+
// orientation + order
|
|
25915
|
+
"&.controls__orientation_h #controls": {
|
|
25916
|
+
flexDirection: "row",
|
|
25917
|
+
},
|
|
25918
|
+
"&.controls__orientation_h.controls__order_reverse #controls": {
|
|
25919
|
+
flexDirection: "row-reverse",
|
|
25920
|
+
},
|
|
25921
|
+
"&.controls__orientation_v #controls": {
|
|
25922
|
+
flexDirection: "column",
|
|
25923
|
+
},
|
|
25924
|
+
"&.controls__orientation_v.controls__order_reverse #controls": {
|
|
25925
|
+
flexDirection: "column-reverse",
|
|
25926
|
+
},
|
|
25927
|
+
},
|
|
25928
|
+
/* END Custom position */
|
|
25835
25929
|
"#uiFeatures #connection": {
|
|
25836
25930
|
bottom: "5px",
|
|
25837
25931
|
left: "10px",
|
|
25838
25932
|
width: "2.5rem",
|
|
25839
|
-
|
|
25933
|
+
height: "2.5rem"
|
|
25840
25934
|
},
|
|
25841
25935
|
"#uiFeatures button": {
|
|
25842
25936
|
backgroundColor: "var(--color12)",
|
|
@@ -32529,6 +32623,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32529
32623
|
/* harmony export */ ArcwareInit: () => (/* reexport safe */ _lib__WEBPACK_IMPORTED_MODULE_2__.ArcwareInit),
|
|
32530
32624
|
/* harmony export */ ArcwarePixelStreaming: () => (/* reexport safe */ _lib__WEBPACK_IMPORTED_MODULE_2__.ArcwarePixelStreaming),
|
|
32531
32625
|
/* harmony export */ ArcwareStyles: () => (/* reexport safe */ _lib__WEBPACK_IMPORTED_MODULE_2__.ArcwareStyles),
|
|
32626
|
+
/* harmony export */ CONTROLS_CLASSES: () => (/* reexport safe */ _lib__WEBPACK_IMPORTED_MODULE_2__.CONTROLS_CLASSES),
|
|
32532
32627
|
/* harmony export */ CandidatePairStats: () => (/* reexport safe */ _epicgames_ps_lib_pixelstreamingfrontend_ue5_5__WEBPACK_IMPORTED_MODULE_0__.CandidatePairStats),
|
|
32533
32628
|
/* harmony export */ CandidateStat: () => (/* reexport safe */ _epicgames_ps_lib_pixelstreamingfrontend_ue5_5__WEBPACK_IMPORTED_MODULE_0__.CandidateStat),
|
|
32534
32629
|
/* harmony export */ Config: () => (/* reexport safe */ _epicgames_ps_lib_pixelstreamingfrontend_ue5_5__WEBPACK_IMPORTED_MODULE_0__.Config),
|
|
@@ -32655,6 +32750,7 @@ const __webpack_exports__ArcwareConfig = __webpack_exports__.ArcwareConfig;
|
|
|
32655
32750
|
const __webpack_exports__ArcwareInit = __webpack_exports__.ArcwareInit;
|
|
32656
32751
|
const __webpack_exports__ArcwarePixelStreaming = __webpack_exports__.ArcwarePixelStreaming;
|
|
32657
32752
|
const __webpack_exports__ArcwareStyles = __webpack_exports__.ArcwareStyles;
|
|
32753
|
+
const __webpack_exports__CONTROLS_CLASSES = __webpack_exports__.CONTROLS_CLASSES;
|
|
32658
32754
|
const __webpack_exports__CandidatePairStats = __webpack_exports__.CandidatePairStats;
|
|
32659
32755
|
const __webpack_exports__CandidateStat = __webpack_exports__.CandidateStat;
|
|
32660
32756
|
const __webpack_exports__Config = __webpack_exports__.Config;
|
|
@@ -32759,4 +32855,4 @@ const __webpack_exports__isNumericId = __webpack_exports__.isNumericId;
|
|
|
32759
32855
|
const __webpack_exports__isOptionId = __webpack_exports__.isOptionId;
|
|
32760
32856
|
const __webpack_exports__isTextId = __webpack_exports__.isTextId;
|
|
32761
32857
|
const __webpack_exports__overrideLogger = __webpack_exports__.overrideLogger;
|
|
32762
|
-
export { __webpack_exports__AFKOverlay as AFKOverlay, __webpack_exports__ActionOverlay as ActionOverlay, __webpack_exports__AfkLogic as AfkLogic, __webpack_exports__AfkTimedOutEvent as AfkTimedOutEvent, __webpack_exports__AfkWarningActivateEvent as AfkWarningActivateEvent, __webpack_exports__AfkWarningDeactivateEvent as AfkWarningDeactivateEvent, __webpack_exports__AfkWarningUpdateEvent as AfkWarningUpdateEvent, __webpack_exports__AggregatedStats as AggregatedStats, __webpack_exports__Application as Application, __webpack_exports__ArcwareApplication as ArcwareApplication, __webpack_exports__ArcwareConfig as ArcwareConfig, __webpack_exports__ArcwareInit as ArcwareInit, __webpack_exports__ArcwarePixelStreaming as ArcwarePixelStreaming, __webpack_exports__ArcwareStyles as ArcwareStyles, __webpack_exports__CandidatePairStats as CandidatePairStats, __webpack_exports__CandidateStat as CandidateStat, __webpack_exports__Config as Config, __webpack_exports__ConfigUI as ConfigUI, __webpack_exports__ConnectOverlay as ConnectOverlay, __webpack_exports__ControlSchemeType as ControlSchemeType, __webpack_exports__DataChannelCloseEvent as DataChannelCloseEvent, __webpack_exports__DataChannelErrorEvent as DataChannelErrorEvent, __webpack_exports__DataChannelLatencyTestRecord as DataChannelLatencyTestRecord, __webpack_exports__DataChannelLatencyTestResponseEvent as DataChannelLatencyTestResponseEvent, __webpack_exports__DataChannelLatencyTestResultEvent as DataChannelLatencyTestResultEvent, __webpack_exports__DataChannelOpenEvent as DataChannelOpenEvent, __webpack_exports__DataChannelStats as DataChannelStats, __webpack_exports__DefaultUrl as DefaultUrl, __webpack_exports__DisconnectOverlay as DisconnectOverlay, __webpack_exports__EncoderSettings as EncoderSettings, __webpack_exports__ErrorOverlay as ErrorOverlay, __webpack_exports__EventEmitter as EventEmitter, __webpack_exports__Flags as Flags, __webpack_exports__FrameTimingInfo as FrameTimingInfo, __webpack_exports__HideFreezeFrameEvent as HideFreezeFrameEvent, __webpack_exports__InboundAudioStats as InboundAudioStats, __webpack_exports__InboundVideoStats as InboundVideoStats, __webpack_exports__InfoOverlay as InfoOverlay, __webpack_exports__InitialSettings as InitialSettings, __webpack_exports__InitialSettingsEvent as InitialSettingsEvent, __webpack_exports__InputCoordTranslator as InputCoordTranslator, __webpack_exports__KeepaliveMonitor as KeepaliveMonitor, __webpack_exports__LatencyCalculatedEvent as LatencyCalculatedEvent, __webpack_exports__LatencyCalculator as LatencyCalculator, __webpack_exports__LatencyInfo as LatencyInfo, __webpack_exports__LatencyTestResultEvent as LatencyTestResultEvent, __webpack_exports__LatencyTestResults as LatencyTestResults, __webpack_exports__LoadFreezeFrameEvent as LoadFreezeFrameEvent, __webpack_exports__LogLevel as LogLevel, __webpack_exports__Logger as Logger, __webpack_exports__MessageDirection as MessageDirection, __webpack_exports__MessageHelpers as MessageHelpers, __webpack_exports__MessageRegistry as MessageRegistry, __webpack_exports__Messages as Messages, __webpack_exports__NumericParameters as NumericParameters, __webpack_exports__OptionParameters as OptionParameters, __webpack_exports__OutboundRTPStats as OutboundRTPStats, __webpack_exports__OverlayBase as OverlayBase, __webpack_exports__PixelStreaming as PixelStreaming, __webpack_exports__PixelStreamingApplicationStyle as PixelStreamingApplicationStyle, __webpack_exports__PixelStreamingEventEmitter as PixelStreamingEventEmitter, __webpack_exports__PixelStreamingSettings as PixelStreamingSettings, __webpack_exports__PlayOverlay as PlayOverlay, __webpack_exports__PlayStreamErrorEvent as PlayStreamErrorEvent, __webpack_exports__PlayStreamEvent as PlayStreamEvent, __webpack_exports__PlayStreamRejectedEvent as PlayStreamRejectedEvent, __webpack_exports__PlayerCountEvent as PlayerCountEvent, __webpack_exports__RemoteOutboundRTPStats as RemoteOutboundRTPStats, __webpack_exports__SDPUtils as SDPUtils, __webpack_exports__SettingBase as SettingBase, __webpack_exports__SettingFlag as SettingFlag, __webpack_exports__SettingNumber as SettingNumber, __webpack_exports__SettingOption as SettingOption, __webpack_exports__SettingText as SettingText, __webpack_exports__SettingUIBase as SettingUIBase, __webpack_exports__SettingUIFlag as SettingUIFlag, __webpack_exports__SettingUINumber as SettingUINumber, __webpack_exports__SettingUIOption as SettingUIOption, __webpack_exports__SettingUIText as SettingUIText, __webpack_exports__SettingsChangedEvent as SettingsChangedEvent, __webpack_exports__ShowOnScreenKeyboardEvent as ShowOnScreenKeyboardEvent, __webpack_exports__SignallingProtocol as SignallingProtocol, __webpack_exports__StatsReceivedEvent as StatsReceivedEvent, __webpack_exports__StreamLoadingEvent as StreamLoadingEvent, __webpack_exports__StreamPreConnectEvent as StreamPreConnectEvent, __webpack_exports__StreamPreDisconnectEvent as StreamPreDisconnectEvent, __webpack_exports__StreamReconnectEvent as StreamReconnectEvent, __webpack_exports__StreamerIDChangedMessageEvent as StreamerIDChangedMessageEvent, __webpack_exports__StreamerListMessageEvent as StreamerListMessageEvent, __webpack_exports__SubscribeFailedEvent as SubscribeFailedEvent, __webpack_exports__TextOverlay as TextOverlay, __webpack_exports__TextParameters as TextParameters, __webpack_exports__UIElementCreationMode as UIElementCreationMode, __webpack_exports__VideoEncoderAvgQPEvent as VideoEncoderAvgQPEvent, __webpack_exports__VideoInitializedEvent as VideoInitializedEvent, __webpack_exports__WebRTCSettings as WebRTCSettings, __webpack_exports__WebRtcAutoConnectEvent as WebRtcAutoConnectEvent, __webpack_exports__WebRtcConnectedEvent as WebRtcConnectedEvent, __webpack_exports__WebRtcConnectingEvent as WebRtcConnectingEvent, __webpack_exports__WebRtcDisconnectedEvent as WebRtcDisconnectedEvent, __webpack_exports__WebRtcFailedEvent as WebRtcFailedEvent, __webpack_exports__WebRtcPlayerController as WebRtcPlayerController, __webpack_exports__WebRtcSdpAnswerEvent as WebRtcSdpAnswerEvent, __webpack_exports__WebRtcSdpEvent as WebRtcSdpEvent, __webpack_exports__WebRtcSdpOfferEvent as WebRtcSdpOfferEvent, __webpack_exports__WebRtcTCPRelayDetectedEvent as WebRtcTCPRelayDetectedEvent, __webpack_exports__WebSocketTransport as WebSocketTransport, __webpack_exports__WebSocketTransportNJS as WebSocketTransportNJS, __webpack_exports__WebXRController as WebXRController, __webpack_exports__WebsocketState as WebsocketState, __webpack_exports__XrFrameEvent as XrFrameEvent, __webpack_exports__XrSessionEndedEvent as XrSessionEndedEvent, __webpack_exports__XrSessionStartedEvent as XrSessionStartedEvent, __webpack_exports__isFlagId as isFlagId, __webpack_exports__isNumericId as isNumericId, __webpack_exports__isOptionId as isOptionId, __webpack_exports__isTextId as isTextId, __webpack_exports__overrideLogger as overrideLogger };
|
|
32858
|
+
export { __webpack_exports__AFKOverlay as AFKOverlay, __webpack_exports__ActionOverlay as ActionOverlay, __webpack_exports__AfkLogic as AfkLogic, __webpack_exports__AfkTimedOutEvent as AfkTimedOutEvent, __webpack_exports__AfkWarningActivateEvent as AfkWarningActivateEvent, __webpack_exports__AfkWarningDeactivateEvent as AfkWarningDeactivateEvent, __webpack_exports__AfkWarningUpdateEvent as AfkWarningUpdateEvent, __webpack_exports__AggregatedStats as AggregatedStats, __webpack_exports__Application as Application, __webpack_exports__ArcwareApplication as ArcwareApplication, __webpack_exports__ArcwareConfig as ArcwareConfig, __webpack_exports__ArcwareInit as ArcwareInit, __webpack_exports__ArcwarePixelStreaming as ArcwarePixelStreaming, __webpack_exports__ArcwareStyles as ArcwareStyles, __webpack_exports__CONTROLS_CLASSES as CONTROLS_CLASSES, __webpack_exports__CandidatePairStats as CandidatePairStats, __webpack_exports__CandidateStat as CandidateStat, __webpack_exports__Config as Config, __webpack_exports__ConfigUI as ConfigUI, __webpack_exports__ConnectOverlay as ConnectOverlay, __webpack_exports__ControlSchemeType as ControlSchemeType, __webpack_exports__DataChannelCloseEvent as DataChannelCloseEvent, __webpack_exports__DataChannelErrorEvent as DataChannelErrorEvent, __webpack_exports__DataChannelLatencyTestRecord as DataChannelLatencyTestRecord, __webpack_exports__DataChannelLatencyTestResponseEvent as DataChannelLatencyTestResponseEvent, __webpack_exports__DataChannelLatencyTestResultEvent as DataChannelLatencyTestResultEvent, __webpack_exports__DataChannelOpenEvent as DataChannelOpenEvent, __webpack_exports__DataChannelStats as DataChannelStats, __webpack_exports__DefaultUrl as DefaultUrl, __webpack_exports__DisconnectOverlay as DisconnectOverlay, __webpack_exports__EncoderSettings as EncoderSettings, __webpack_exports__ErrorOverlay as ErrorOverlay, __webpack_exports__EventEmitter as EventEmitter, __webpack_exports__Flags as Flags, __webpack_exports__FrameTimingInfo as FrameTimingInfo, __webpack_exports__HideFreezeFrameEvent as HideFreezeFrameEvent, __webpack_exports__InboundAudioStats as InboundAudioStats, __webpack_exports__InboundVideoStats as InboundVideoStats, __webpack_exports__InfoOverlay as InfoOverlay, __webpack_exports__InitialSettings as InitialSettings, __webpack_exports__InitialSettingsEvent as InitialSettingsEvent, __webpack_exports__InputCoordTranslator as InputCoordTranslator, __webpack_exports__KeepaliveMonitor as KeepaliveMonitor, __webpack_exports__LatencyCalculatedEvent as LatencyCalculatedEvent, __webpack_exports__LatencyCalculator as LatencyCalculator, __webpack_exports__LatencyInfo as LatencyInfo, __webpack_exports__LatencyTestResultEvent as LatencyTestResultEvent, __webpack_exports__LatencyTestResults as LatencyTestResults, __webpack_exports__LoadFreezeFrameEvent as LoadFreezeFrameEvent, __webpack_exports__LogLevel as LogLevel, __webpack_exports__Logger as Logger, __webpack_exports__MessageDirection as MessageDirection, __webpack_exports__MessageHelpers as MessageHelpers, __webpack_exports__MessageRegistry as MessageRegistry, __webpack_exports__Messages as Messages, __webpack_exports__NumericParameters as NumericParameters, __webpack_exports__OptionParameters as OptionParameters, __webpack_exports__OutboundRTPStats as OutboundRTPStats, __webpack_exports__OverlayBase as OverlayBase, __webpack_exports__PixelStreaming as PixelStreaming, __webpack_exports__PixelStreamingApplicationStyle as PixelStreamingApplicationStyle, __webpack_exports__PixelStreamingEventEmitter as PixelStreamingEventEmitter, __webpack_exports__PixelStreamingSettings as PixelStreamingSettings, __webpack_exports__PlayOverlay as PlayOverlay, __webpack_exports__PlayStreamErrorEvent as PlayStreamErrorEvent, __webpack_exports__PlayStreamEvent as PlayStreamEvent, __webpack_exports__PlayStreamRejectedEvent as PlayStreamRejectedEvent, __webpack_exports__PlayerCountEvent as PlayerCountEvent, __webpack_exports__RemoteOutboundRTPStats as RemoteOutboundRTPStats, __webpack_exports__SDPUtils as SDPUtils, __webpack_exports__SettingBase as SettingBase, __webpack_exports__SettingFlag as SettingFlag, __webpack_exports__SettingNumber as SettingNumber, __webpack_exports__SettingOption as SettingOption, __webpack_exports__SettingText as SettingText, __webpack_exports__SettingUIBase as SettingUIBase, __webpack_exports__SettingUIFlag as SettingUIFlag, __webpack_exports__SettingUINumber as SettingUINumber, __webpack_exports__SettingUIOption as SettingUIOption, __webpack_exports__SettingUIText as SettingUIText, __webpack_exports__SettingsChangedEvent as SettingsChangedEvent, __webpack_exports__ShowOnScreenKeyboardEvent as ShowOnScreenKeyboardEvent, __webpack_exports__SignallingProtocol as SignallingProtocol, __webpack_exports__StatsReceivedEvent as StatsReceivedEvent, __webpack_exports__StreamLoadingEvent as StreamLoadingEvent, __webpack_exports__StreamPreConnectEvent as StreamPreConnectEvent, __webpack_exports__StreamPreDisconnectEvent as StreamPreDisconnectEvent, __webpack_exports__StreamReconnectEvent as StreamReconnectEvent, __webpack_exports__StreamerIDChangedMessageEvent as StreamerIDChangedMessageEvent, __webpack_exports__StreamerListMessageEvent as StreamerListMessageEvent, __webpack_exports__SubscribeFailedEvent as SubscribeFailedEvent, __webpack_exports__TextOverlay as TextOverlay, __webpack_exports__TextParameters as TextParameters, __webpack_exports__UIElementCreationMode as UIElementCreationMode, __webpack_exports__VideoEncoderAvgQPEvent as VideoEncoderAvgQPEvent, __webpack_exports__VideoInitializedEvent as VideoInitializedEvent, __webpack_exports__WebRTCSettings as WebRTCSettings, __webpack_exports__WebRtcAutoConnectEvent as WebRtcAutoConnectEvent, __webpack_exports__WebRtcConnectedEvent as WebRtcConnectedEvent, __webpack_exports__WebRtcConnectingEvent as WebRtcConnectingEvent, __webpack_exports__WebRtcDisconnectedEvent as WebRtcDisconnectedEvent, __webpack_exports__WebRtcFailedEvent as WebRtcFailedEvent, __webpack_exports__WebRtcPlayerController as WebRtcPlayerController, __webpack_exports__WebRtcSdpAnswerEvent as WebRtcSdpAnswerEvent, __webpack_exports__WebRtcSdpEvent as WebRtcSdpEvent, __webpack_exports__WebRtcSdpOfferEvent as WebRtcSdpOfferEvent, __webpack_exports__WebRtcTCPRelayDetectedEvent as WebRtcTCPRelayDetectedEvent, __webpack_exports__WebSocketTransport as WebSocketTransport, __webpack_exports__WebSocketTransportNJS as WebSocketTransportNJS, __webpack_exports__WebXRController as WebXRController, __webpack_exports__WebsocketState as WebsocketState, __webpack_exports__XrFrameEvent as XrFrameEvent, __webpack_exports__XrSessionEndedEvent as XrSessionEndedEvent, __webpack_exports__XrSessionStartedEvent as XrSessionStartedEvent, __webpack_exports__isFlagId as isFlagId, __webpack_exports__isNumericId as isNumericId, __webpack_exports__isOptionId as isOptionId, __webpack_exports__isTextId as isTextId, __webpack_exports__overrideLogger as overrideLogger };
|
package/index.umd.cjs
CHANGED
|
@@ -22995,6 +22995,7 @@ class ArcwareApplication extends lib_pixelstreamingfrontend_ui_ue5_5_1.Applicati
|
|
|
22995
22995
|
this.createAudioToggleButton();
|
|
22996
22996
|
this.createMicToggleButton();
|
|
22997
22997
|
this.createStopButton();
|
|
22998
|
+
this.applyCustomStyling();
|
|
22998
22999
|
this.applyArcwareStyles();
|
|
22999
23000
|
this.videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
23000
23001
|
this.parentElement = (_c = this === null || this === void 0 ? void 0 : this.videoElementParent) === null || _c === void 0 ? void 0 : _c.parentElement;
|
|
@@ -23181,6 +23182,37 @@ class ArcwareApplication extends lib_pixelstreamingfrontend_ui_ue5_5_1.Applicati
|
|
|
23181
23182
|
}
|
|
23182
23183
|
}
|
|
23183
23184
|
}
|
|
23185
|
+
applyCustomStyling(preset) {
|
|
23186
|
+
var _b;
|
|
23187
|
+
const resolved = preset !== null && preset !== void 0 ? preset : {
|
|
23188
|
+
position: "Bottom-Right",
|
|
23189
|
+
orientation: "Vertical",
|
|
23190
|
+
order_reverse: false,
|
|
23191
|
+
};
|
|
23192
|
+
const videoElementParent = (_b = this === null || this === void 0 ? void 0 : this.stream) === null || _b === void 0 ? void 0 : _b.videoElementParent;
|
|
23193
|
+
const playerUI = videoElementParent === null || videoElementParent === void 0 ? void 0 : videoElementParent.parentElement;
|
|
23194
|
+
if (!playerUI)
|
|
23195
|
+
return;
|
|
23196
|
+
const uiFeatures = playerUI.querySelector("#uiFeatures");
|
|
23197
|
+
if (!uiFeatures)
|
|
23198
|
+
return;
|
|
23199
|
+
// position
|
|
23200
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_position[resolved.position]);
|
|
23201
|
+
// orientation
|
|
23202
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_orientation[resolved.orientation]);
|
|
23203
|
+
// order reverse
|
|
23204
|
+
if (resolved.order_reverse) {
|
|
23205
|
+
uiFeatures.classList.add(ArcwarePixelStreamingApplicationStyles_1.CONTROLS_CLASSES.uiFeatures.buttons_reverse);
|
|
23206
|
+
}
|
|
23207
|
+
// exception - moving 'connection indicator' icon
|
|
23208
|
+
if (resolved.position === "Bottom-Left") {
|
|
23209
|
+
const connection = document.getElementById("connection");
|
|
23210
|
+
if (connection) {
|
|
23211
|
+
connection.style.right = "10px";
|
|
23212
|
+
connection.style.left = "auto";
|
|
23213
|
+
}
|
|
23214
|
+
}
|
|
23215
|
+
}
|
|
23184
23216
|
uiDefaultButtonVisibilty(buttonType, id) {
|
|
23185
23217
|
var _b, _c, _d;
|
|
23186
23218
|
if (this === null || this === void 0 ? void 0 : this.parentElement) {
|
|
@@ -23460,7 +23492,7 @@ class ArcwareConfig extends lib_pixelstreamingfrontend_ue5_5_1.Config {
|
|
|
23460
23492
|
if (!config.initialSettings.ss)
|
|
23461
23493
|
config.initialSettings.ss = exports.DefaultUrl;
|
|
23462
23494
|
super(config);
|
|
23463
|
-
this.VERSION = "1.3.
|
|
23495
|
+
this.VERSION = "1.3.39";
|
|
23464
23496
|
this.whiteLabellingChanged = new EventHandler_1.EventHandler();
|
|
23465
23497
|
this.signallingWlURL = "https://signalling-client.arcware.cloud/whiteLabel/";
|
|
23466
23498
|
if (config.envName) {
|
|
@@ -25681,7 +25713,22 @@ tslib_1.__exportStar(__webpack_require__(6125), exports);
|
|
|
25681
25713
|
|
|
25682
25714
|
|
|
25683
25715
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25684
|
-
exports.ArcwareStyles = void 0;
|
|
25716
|
+
exports.ArcwareStyles = exports.CONTROLS_CLASSES = void 0;
|
|
25717
|
+
exports.CONTROLS_CLASSES = {
|
|
25718
|
+
uiFeatures: {
|
|
25719
|
+
buttons_position: {
|
|
25720
|
+
"Top-Left": "controls__position_tl",
|
|
25721
|
+
"Top-Right": "controls__position_tr",
|
|
25722
|
+
"Bottom-Left": "controls__position_bl",
|
|
25723
|
+
"Bottom-Right": "controls__position_br",
|
|
25724
|
+
},
|
|
25725
|
+
buttons_orientation: {
|
|
25726
|
+
"Horizontal": "controls__orientation_h",
|
|
25727
|
+
"Vertical": "controls__orientation_v",
|
|
25728
|
+
},
|
|
25729
|
+
buttons_reverse: "controls__order_reverse",
|
|
25730
|
+
}
|
|
25731
|
+
};
|
|
25685
25732
|
exports.ArcwareStyles = {
|
|
25686
25733
|
customStyles: {
|
|
25687
25734
|
":root": {
|
|
@@ -25766,18 +25813,63 @@ exports.ArcwareStyles = {
|
|
|
25766
25813
|
background: "#18181A"
|
|
25767
25814
|
},
|
|
25768
25815
|
"#uiFeatures #controls": {
|
|
25769
|
-
top: "auto",
|
|
25770
|
-
left: "auto",
|
|
25771
|
-
bottom: "10px",
|
|
25772
|
-
right: "20px",
|
|
25773
25816
|
display: "flex",
|
|
25774
25817
|
flexDirection: "column-reverse"
|
|
25775
25818
|
},
|
|
25819
|
+
/* START Custom position */
|
|
25820
|
+
// #controls
|
|
25821
|
+
controls: {
|
|
25822
|
+
gap: "0.5rem",
|
|
25823
|
+
"& > *": {
|
|
25824
|
+
marginBottom: "0 !important",
|
|
25825
|
+
},
|
|
25826
|
+
},
|
|
25827
|
+
// position
|
|
25828
|
+
uiFeatures: {
|
|
25829
|
+
"&.controls__position_tl #controls": {
|
|
25830
|
+
top: "10px",
|
|
25831
|
+
left: "20px",
|
|
25832
|
+
bottom: "auto",
|
|
25833
|
+
right: "auto",
|
|
25834
|
+
},
|
|
25835
|
+
"&.controls__position_tr #controls": {
|
|
25836
|
+
top: "10px",
|
|
25837
|
+
right: "20px",
|
|
25838
|
+
bottom: "auto",
|
|
25839
|
+
left: "auto",
|
|
25840
|
+
},
|
|
25841
|
+
"&.controls__position_bl #controls": {
|
|
25842
|
+
bottom: "10px",
|
|
25843
|
+
left: "20px",
|
|
25844
|
+
top: "auto",
|
|
25845
|
+
right: "auto",
|
|
25846
|
+
},
|
|
25847
|
+
"&.controls__position_br #controls": {
|
|
25848
|
+
bottom: "10px",
|
|
25849
|
+
right: "20px",
|
|
25850
|
+
top: "auto",
|
|
25851
|
+
left: "auto",
|
|
25852
|
+
},
|
|
25853
|
+
// orientation + order
|
|
25854
|
+
"&.controls__orientation_h #controls": {
|
|
25855
|
+
flexDirection: "row",
|
|
25856
|
+
},
|
|
25857
|
+
"&.controls__orientation_h.controls__order_reverse #controls": {
|
|
25858
|
+
flexDirection: "row-reverse",
|
|
25859
|
+
},
|
|
25860
|
+
"&.controls__orientation_v #controls": {
|
|
25861
|
+
flexDirection: "column",
|
|
25862
|
+
},
|
|
25863
|
+
"&.controls__orientation_v.controls__order_reverse #controls": {
|
|
25864
|
+
flexDirection: "column-reverse",
|
|
25865
|
+
},
|
|
25866
|
+
},
|
|
25867
|
+
/* END Custom position */
|
|
25776
25868
|
"#uiFeatures #connection": {
|
|
25777
25869
|
bottom: "5px",
|
|
25778
25870
|
left: "10px",
|
|
25779
25871
|
width: "2.5rem",
|
|
25780
|
-
|
|
25872
|
+
height: "2.5rem"
|
|
25781
25873
|
},
|
|
25782
25874
|
"#uiFeatures button": {
|
|
25783
25875
|
backgroundColor: "var(--color12)",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcware-cloud/pixelstreaming-websdk",
|
|
3
3
|
"description": "WebSDK for easy implementation of pixel streaming with Arcware Cloud Services. Heavily based on the '@epicgames-ps' library.",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.39",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"types": "./types/index.d.ts",
|
|
@@ -29,6 +29,7 @@ export declare class ArcwareApplication extends Application {
|
|
|
29
29
|
private createAudioToggleButton;
|
|
30
30
|
private createMicToggleButton;
|
|
31
31
|
private createStopButton;
|
|
32
|
+
private applyCustomStyling;
|
|
32
33
|
private uiDefaultButtonVisibilty;
|
|
33
34
|
private preventDefaultKeyboardEvents;
|
|
34
35
|
private autoPlayHandler;
|
|
@@ -29,7 +29,7 @@ export declare class ArcwareConfig extends Config {
|
|
|
29
29
|
readonly session: Session;
|
|
30
30
|
readonly settings: Settings;
|
|
31
31
|
private _initialSettings;
|
|
32
|
-
readonly VERSION = "1.3.
|
|
32
|
+
readonly VERSION = "1.3.39";
|
|
33
33
|
readonly whiteLabellingChanged: EventHandler<{
|
|
34
34
|
next: WhiteLabel;
|
|
35
35
|
changed: boolean;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export declare const CONTROLS_CLASSES: {
|
|
2
|
+
uiFeatures: {
|
|
3
|
+
buttons_position: Record<'Top-Left' | 'Top-Right' | 'Bottom-Left' | 'Bottom-Right', string>;
|
|
4
|
+
buttons_orientation: Record<'Horizontal' | 'Vertical', string>;
|
|
5
|
+
buttons_reverse: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
1
8
|
export declare const ArcwareStyles: {
|
|
2
9
|
customStyles: {
|
|
3
10
|
":root": {
|
|
@@ -85,18 +92,58 @@ export declare const ArcwareStyles: {
|
|
|
85
92
|
background: string;
|
|
86
93
|
};
|
|
87
94
|
"#uiFeatures #controls": {
|
|
88
|
-
top: string;
|
|
89
|
-
left: string;
|
|
90
|
-
bottom: string;
|
|
91
|
-
right: string;
|
|
92
95
|
display: string;
|
|
93
96
|
flexDirection: string;
|
|
94
97
|
};
|
|
98
|
+
controls: {
|
|
99
|
+
gap: string;
|
|
100
|
+
"& > *": {
|
|
101
|
+
marginBottom: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
uiFeatures: {
|
|
105
|
+
"&.controls__position_tl #controls": {
|
|
106
|
+
top: string;
|
|
107
|
+
left: string;
|
|
108
|
+
bottom: string;
|
|
109
|
+
right: string;
|
|
110
|
+
};
|
|
111
|
+
"&.controls__position_tr #controls": {
|
|
112
|
+
top: string;
|
|
113
|
+
right: string;
|
|
114
|
+
bottom: string;
|
|
115
|
+
left: string;
|
|
116
|
+
};
|
|
117
|
+
"&.controls__position_bl #controls": {
|
|
118
|
+
bottom: string;
|
|
119
|
+
left: string;
|
|
120
|
+
top: string;
|
|
121
|
+
right: string;
|
|
122
|
+
};
|
|
123
|
+
"&.controls__position_br #controls": {
|
|
124
|
+
bottom: string;
|
|
125
|
+
right: string;
|
|
126
|
+
top: string;
|
|
127
|
+
left: string;
|
|
128
|
+
};
|
|
129
|
+
"&.controls__orientation_h #controls": {
|
|
130
|
+
flexDirection: string;
|
|
131
|
+
};
|
|
132
|
+
"&.controls__orientation_h.controls__order_reverse #controls": {
|
|
133
|
+
flexDirection: string;
|
|
134
|
+
};
|
|
135
|
+
"&.controls__orientation_v #controls": {
|
|
136
|
+
flexDirection: string;
|
|
137
|
+
};
|
|
138
|
+
"&.controls__orientation_v.controls__order_reverse #controls": {
|
|
139
|
+
flexDirection: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
95
142
|
"#uiFeatures #connection": {
|
|
96
143
|
bottom: string;
|
|
97
144
|
left: string;
|
|
98
145
|
width: string;
|
|
99
|
-
|
|
146
|
+
height: string;
|
|
100
147
|
};
|
|
101
148
|
"#uiFeatures button": {
|
|
102
149
|
backgroundColor: string;
|