@plattar/plattar-ar-adapter 1.150.2 → 1.154.1
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/build/es2015/plattar-ar-adapter.js +767 -577
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +339 -156
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/embed/controllers/plattar-controller.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +8 -8
|
@@ -275,8 +275,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
275
275
|
"../viewers/reality-viewer": 19,
|
|
276
276
|
"../viewers/scene-viewer": 20,
|
|
277
277
|
"./launcher-ar": 1,
|
|
278
|
-
"@plattar/plattar-analytics":
|
|
279
|
-
"@plattar/plattar-api":
|
|
278
|
+
"@plattar/plattar-analytics": 40,
|
|
279
|
+
"@plattar/plattar-api": 44
|
|
280
280
|
}],
|
|
281
281
|
3: [function (require, module, exports) {
|
|
282
282
|
"use strict";
|
|
@@ -508,8 +508,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
508
508
|
"../viewers/reality-viewer": 19,
|
|
509
509
|
"../viewers/scene-viewer": 20,
|
|
510
510
|
"./launcher-ar": 1,
|
|
511
|
-
"@plattar/plattar-analytics":
|
|
512
|
-
"@plattar/plattar-api":
|
|
511
|
+
"@plattar/plattar-analytics": 40,
|
|
512
|
+
"@plattar/plattar-api": 44
|
|
513
513
|
}],
|
|
514
514
|
4: [function (require, module, exports) {
|
|
515
515
|
"use strict";
|
|
@@ -690,8 +690,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
690
690
|
"../viewers/reality-viewer": 19,
|
|
691
691
|
"../viewers/scene-viewer": 20,
|
|
692
692
|
"./launcher-ar": 1,
|
|
693
|
-
"@plattar/plattar-analytics":
|
|
694
|
-
"@plattar/plattar-api":
|
|
693
|
+
"@plattar/plattar-analytics": 40,
|
|
694
|
+
"@plattar/plattar-api": 44
|
|
695
695
|
}],
|
|
696
696
|
5: [function (require, module, exports) {
|
|
697
697
|
"use strict";
|
|
@@ -928,9 +928,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
928
928
|
"../viewers/reality-viewer": 19,
|
|
929
929
|
"../viewers/scene-viewer": 20,
|
|
930
930
|
"./launcher-ar": 1,
|
|
931
|
-
"@plattar/plattar-analytics":
|
|
932
|
-
"@plattar/plattar-api":
|
|
933
|
-
"@plattar/plattar-services":
|
|
931
|
+
"@plattar/plattar-analytics": 40,
|
|
932
|
+
"@plattar/plattar-api": 44,
|
|
933
|
+
"@plattar/plattar-services": 115
|
|
934
934
|
}],
|
|
935
935
|
6: [function (require, module, exports) {
|
|
936
936
|
"use strict";
|
|
@@ -1004,7 +1004,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1004
1004
|
}, {
|
|
1005
1005
|
"../util/util": 15,
|
|
1006
1006
|
"./product-ar": 3,
|
|
1007
|
-
"@plattar/plattar-api":
|
|
1007
|
+
"@plattar/plattar-api": 44
|
|
1008
1008
|
}],
|
|
1009
1009
|
7: [function (require, module, exports) {
|
|
1010
1010
|
"use strict";
|
|
@@ -1272,8 +1272,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1272
1272
|
"../../util/configurator-state": 14,
|
|
1273
1273
|
"../../util/util": 15,
|
|
1274
1274
|
"./plattar-controller": 8,
|
|
1275
|
-
"@plattar/plattar-api":
|
|
1276
|
-
"@plattar/plattar-services":
|
|
1275
|
+
"@plattar/plattar-api": 44,
|
|
1276
|
+
"@plattar/plattar-services": 115
|
|
1277
1277
|
}],
|
|
1278
1278
|
8: [function (require, module, exports) {
|
|
1279
1279
|
"use strict";
|
|
@@ -1288,7 +1288,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1288
1288
|
ControllerState[ControllerState["None"] = 0] = "None";
|
|
1289
1289
|
ControllerState[ControllerState["Renderer"] = 1] = "Renderer";
|
|
1290
1290
|
ControllerState[ControllerState["QRCode"] = 2] = "QRCode";
|
|
1291
|
-
})(ControllerState
|
|
1291
|
+
})(ControllerState || (exports.ControllerState = ControllerState = {}));
|
|
1292
1292
|
/**
|
|
1293
1293
|
* All Plattar Controllers are derived from the same interface
|
|
1294
1294
|
*/
|
|
@@ -1453,7 +1453,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1453
1453
|
}();
|
|
1454
1454
|
exports.PlattarController = PlattarController;
|
|
1455
1455
|
}, {
|
|
1456
|
-
"@plattar/plattar-api":
|
|
1456
|
+
"@plattar/plattar-api": 44
|
|
1457
1457
|
}],
|
|
1458
1458
|
9: [function (require, module, exports) {
|
|
1459
1459
|
"use strict";
|
|
@@ -1633,7 +1633,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1633
1633
|
"../../ar/product-ar": 3,
|
|
1634
1634
|
"../../util/util": 15,
|
|
1635
1635
|
"./plattar-controller": 8,
|
|
1636
|
-
"@plattar/plattar-api":
|
|
1636
|
+
"@plattar/plattar-api": 44
|
|
1637
1637
|
}],
|
|
1638
1638
|
10: [function (require, module, exports) {
|
|
1639
1639
|
"use strict";
|
|
@@ -1859,7 +1859,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1859
1859
|
"../../util/configurator-state": 14,
|
|
1860
1860
|
"../../util/util": 15,
|
|
1861
1861
|
"./plattar-controller": 8,
|
|
1862
|
-
"@plattar/plattar-api":
|
|
1862
|
+
"@plattar/plattar-api": 44
|
|
1863
1863
|
}],
|
|
1864
1864
|
11: [function (require, module, exports) {
|
|
1865
1865
|
"use strict";
|
|
@@ -2140,8 +2140,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2140
2140
|
"../../ar/raw-ar": 4,
|
|
2141
2141
|
"../../util/util": 15,
|
|
2142
2142
|
"./plattar-controller": 8,
|
|
2143
|
-
"@plattar/plattar-api":
|
|
2144
|
-
"@plattar/plattar-services":
|
|
2143
|
+
"@plattar/plattar-api": 44,
|
|
2144
|
+
"@plattar/plattar-services": 115
|
|
2145
2145
|
}],
|
|
2146
2146
|
12: [function (require, module, exports) {
|
|
2147
2147
|
"use strict";
|
|
@@ -2330,7 +2330,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2330
2330
|
"./controllers/product-controller": 9,
|
|
2331
2331
|
"./controllers/viewer-controller": 10,
|
|
2332
2332
|
"./controllers/vto-controller": 11,
|
|
2333
|
-
"@plattar/plattar-api":
|
|
2333
|
+
"@plattar/plattar-api": 44
|
|
2334
2334
|
}],
|
|
2335
2335
|
13: [function (require, module, exports) {
|
|
2336
2336
|
"use strict";
|
|
@@ -2453,8 +2453,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2453
2453
|
"./util/configurator-state": 14,
|
|
2454
2454
|
"./util/util": 15,
|
|
2455
2455
|
"./version": 16,
|
|
2456
|
-
"@plattar/plattar-qrcode":
|
|
2457
|
-
"@plattar/plattar-web":
|
|
2456
|
+
"@plattar/plattar-qrcode": 110,
|
|
2457
|
+
"@plattar/plattar-web": 130
|
|
2458
2458
|
}],
|
|
2459
2459
|
14: [function (require, module, exports) {
|
|
2460
2460
|
"use strict";
|
|
@@ -2709,7 +2709,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2709
2709
|
}();
|
|
2710
2710
|
exports.ConfiguratorState = ConfiguratorState;
|
|
2711
2711
|
}, {
|
|
2712
|
-
"@plattar/plattar-api":
|
|
2712
|
+
"@plattar/plattar-api": 44
|
|
2713
2713
|
}],
|
|
2714
2714
|
15: [function (require, module, exports) {
|
|
2715
2715
|
"use strict";
|
|
@@ -2825,7 +2825,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2825
2825
|
Object.defineProperty(exports, "__esModule", {
|
|
2826
2826
|
value: true
|
|
2827
2827
|
});
|
|
2828
|
-
exports["default"] = "1.
|
|
2828
|
+
exports["default"] = "1.154.1";
|
|
2829
2829
|
}, {}],
|
|
2830
2830
|
17: [function (require, module, exports) {
|
|
2831
2831
|
"use strict";
|
|
@@ -3065,9 +3065,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3065
3065
|
};
|
|
3066
3066
|
}, {
|
|
3067
3067
|
"./memory/memory.js": 22,
|
|
3068
|
-
"./messenger/global-event-handler.js":
|
|
3069
|
-
"./messenger/messenger.js":
|
|
3070
|
-
"./version":
|
|
3068
|
+
"./messenger/global-event-handler.js": 30,
|
|
3069
|
+
"./messenger/messenger.js": 31,
|
|
3070
|
+
"./version": 36
|
|
3071
3071
|
}],
|
|
3072
3072
|
22: [function (require, module, exports) {
|
|
3073
3073
|
var PermanentMemory = require("./permanent-memory");
|
|
@@ -3594,9 +3594,96 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3594
3594
|
}();
|
|
3595
3595
|
module.exports = WrappedLocalFunction;
|
|
3596
3596
|
}, {
|
|
3597
|
-
"../util/util.js":
|
|
3597
|
+
"../util/util.js": 35
|
|
3598
3598
|
}],
|
|
3599
3599
|
29: [function (require, module, exports) {
|
|
3600
|
+
var Util = require("./util/util");
|
|
3601
|
+
var FunctionObserver = /*#__PURE__*/function () {
|
|
3602
|
+
function FunctionObserver() {
|
|
3603
|
+
_classCallCheck(this, FunctionObserver);
|
|
3604
|
+
this._observers = new Map();
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
/**
|
|
3608
|
+
* Adds a new callback/listener using the provided function name
|
|
3609
|
+
* and a callback function
|
|
3610
|
+
*/
|
|
3611
|
+
_createClass(FunctionObserver, [{
|
|
3612
|
+
key: "subscribe",
|
|
3613
|
+
value: function subscribe(functionName, callback) {
|
|
3614
|
+
var _this39 = this;
|
|
3615
|
+
if (!functionName || !Util.isFunction(callback)) {
|
|
3616
|
+
return function () {};
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
// grab an instance of the observer to add the function into
|
|
3620
|
+
var observers = this._observers;
|
|
3621
|
+
var list = observers.get(functionName);
|
|
3622
|
+
if (!list) {
|
|
3623
|
+
list = [];
|
|
3624
|
+
observers.set(functionName, list);
|
|
3625
|
+
}
|
|
3626
|
+
list.push(callback);
|
|
3627
|
+
return function () {
|
|
3628
|
+
return _this39.unsubscribe(functionName, callback);
|
|
3629
|
+
};
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
/**
|
|
3633
|
+
* Removes an existing callback from the provided function name if it exists
|
|
3634
|
+
*/
|
|
3635
|
+
}, {
|
|
3636
|
+
key: "unsubscribe",
|
|
3637
|
+
value: function unsubscribe(functionName, callback) {
|
|
3638
|
+
if (!functionName || !Util.isFunction(callback)) {
|
|
3639
|
+
return false;
|
|
3640
|
+
}
|
|
3641
|
+
var observers = this._observers;
|
|
3642
|
+
var list = observers.get(functionName);
|
|
3643
|
+
|
|
3644
|
+
// search and remove function from the list if it exists
|
|
3645
|
+
if (list) {
|
|
3646
|
+
var index = list.indexOf(callback);
|
|
3647
|
+
if (index > -1) {
|
|
3648
|
+
list.splice(index, 1);
|
|
3649
|
+
return true;
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
return false;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
* Called by an external unit in order to execute all callbacks
|
|
3657
|
+
* belonging to the provided function
|
|
3658
|
+
*/
|
|
3659
|
+
}, {
|
|
3660
|
+
key: "call",
|
|
3661
|
+
value: function call(functionName, data) {
|
|
3662
|
+
if (!functionName || !data) {
|
|
3663
|
+
return;
|
|
3664
|
+
}
|
|
3665
|
+
var observers = this._observers;
|
|
3666
|
+
var list = observers.get(functionName);
|
|
3667
|
+
|
|
3668
|
+
// search and remove function from the list if it exists
|
|
3669
|
+
if (list && list.length > 0) {
|
|
3670
|
+
list.forEach(function (observer) {
|
|
3671
|
+
try {
|
|
3672
|
+
if (observer) {
|
|
3673
|
+
observer(data);
|
|
3674
|
+
}
|
|
3675
|
+
} catch (e) {/*silent*/}
|
|
3676
|
+
});
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
}]);
|
|
3680
|
+
return FunctionObserver;
|
|
3681
|
+
}();
|
|
3682
|
+
module.exports = FunctionObserver;
|
|
3683
|
+
}, {
|
|
3684
|
+
"./util/util": 35
|
|
3685
|
+
}],
|
|
3686
|
+
30: [function (require, module, exports) {
|
|
3600
3687
|
var RemoteInterface = require("./remote-interface.js");
|
|
3601
3688
|
|
|
3602
3689
|
/**
|
|
@@ -3605,7 +3692,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3605
3692
|
*/
|
|
3606
3693
|
var GlobalEventHandler = /*#__PURE__*/function () {
|
|
3607
3694
|
function GlobalEventHandler() {
|
|
3608
|
-
var
|
|
3695
|
+
var _this40 = this;
|
|
3609
3696
|
_classCallCheck(this, GlobalEventHandler);
|
|
3610
3697
|
this._eventListeners = {};
|
|
3611
3698
|
|
|
@@ -3625,11 +3712,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3625
3712
|
// make sure the event is properly formatted
|
|
3626
3713
|
if (jsonData && jsonData.event && jsonData.data) {
|
|
3627
3714
|
// see if there are any listeners for this
|
|
3628
|
-
if (
|
|
3715
|
+
if (_this40._eventListeners[jsonData.event]) {
|
|
3629
3716
|
var remoteInterface = new RemoteInterface(evt.source, evt.origin);
|
|
3630
3717
|
|
|
3631
3718
|
// loop through and call all the event handlers
|
|
3632
|
-
|
|
3719
|
+
_this40._eventListeners[jsonData.event].forEach(function (callback) {
|
|
3633
3720
|
try {
|
|
3634
3721
|
callback(remoteInterface, jsonData.data);
|
|
3635
3722
|
} catch (e) {
|
|
@@ -3679,15 +3766,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3679
3766
|
};
|
|
3680
3767
|
module.exports = GlobalEventHandler;
|
|
3681
3768
|
}, {
|
|
3682
|
-
"./remote-interface.js":
|
|
3769
|
+
"./remote-interface.js": 32
|
|
3683
3770
|
}],
|
|
3684
|
-
|
|
3771
|
+
31: [function (require, module, exports) {
|
|
3685
3772
|
var CurrentFunctionList = require("./current/current-function-list");
|
|
3686
3773
|
var RemoteInterface = require("./remote-interface");
|
|
3687
3774
|
var RemoteFunctionList = require("./remote/remote-function-list");
|
|
3688
3775
|
var Util = require("./util/util.js");
|
|
3689
3776
|
var GlobalEventHandler = require("./global-event-handler.js");
|
|
3690
3777
|
var Broadcaster = require("./broadcaster.js");
|
|
3778
|
+
var FunctionObserver = require("./function-observer.js");
|
|
3691
3779
|
|
|
3692
3780
|
/**
|
|
3693
3781
|
* Messenger is a singleton that allows calling functions in multiple
|
|
@@ -3702,6 +3790,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3702
3790
|
// ensure the parent stack does not target itself
|
|
3703
3791
|
this._parentStack = RemoteInterface["default"]();
|
|
3704
3792
|
|
|
3793
|
+
// allows listening for function calls and returns
|
|
3794
|
+
this._functionObserver = new FunctionObserver();
|
|
3795
|
+
|
|
3705
3796
|
// allow adding local functions immedietly
|
|
3706
3797
|
this._currentFunctionList = new CurrentFunctionList();
|
|
3707
3798
|
|
|
@@ -3746,10 +3837,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3746
3837
|
case "broadcast":
|
|
3747
3838
|
return target._broadcaster;
|
|
3748
3839
|
case "addChild":
|
|
3840
|
+
case "observer":
|
|
3749
3841
|
case "_setup":
|
|
3750
3842
|
case "_registerListeners":
|
|
3751
3843
|
case "_id":
|
|
3752
3844
|
case "_broadcaster":
|
|
3845
|
+
case "_functionObserver":
|
|
3753
3846
|
case "_callbacks":
|
|
3754
3847
|
case "_parentStack":
|
|
3755
3848
|
return target[prop];
|
|
@@ -3769,10 +3862,19 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3769
3862
|
}
|
|
3770
3863
|
|
|
3771
3864
|
/**
|
|
3772
|
-
*
|
|
3773
|
-
* The node must be stup via messenger-framework propagation
|
|
3865
|
+
* Returns the FunctionObserver allowing adding observers to function calls
|
|
3774
3866
|
*/
|
|
3775
3867
|
_createClass(Messenger, [{
|
|
3868
|
+
key: "observer",
|
|
3869
|
+
get: function get() {
|
|
3870
|
+
return this._functionObserver;
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* This will forcefully add a provided node as a child
|
|
3875
|
+
* The node must be stup via messenger-framework propagation
|
|
3876
|
+
*/
|
|
3877
|
+
}, {
|
|
3776
3878
|
key: "addChild",
|
|
3777
3879
|
value: function addChild(childNode) {
|
|
3778
3880
|
var remoteInterface = new RemoteInterface(childNode.contentWindow, "*");
|
|
@@ -3806,33 +3908,33 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3806
3908
|
}, {
|
|
3807
3909
|
key: "_registerListeners",
|
|
3808
3910
|
value: function _registerListeners() {
|
|
3809
|
-
var
|
|
3911
|
+
var _this41 = this;
|
|
3810
3912
|
GlobalEventHandler.instance().listen("__messenger__child_init", function (src, data) {
|
|
3811
3913
|
var iframeID = src.id;
|
|
3812
3914
|
|
|
3813
3915
|
// check reserved key list
|
|
3814
3916
|
switch (iframeID) {
|
|
3815
3917
|
case undefined:
|
|
3816
|
-
throw new Error("Messenger[" +
|
|
3918
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID cannot be undefined");
|
|
3817
3919
|
case "self":
|
|
3818
|
-
throw new Error("Messenger[" +
|
|
3920
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"self\" cannot be used as the keyword is reserved");
|
|
3819
3921
|
case "parent":
|
|
3820
|
-
throw new Error("Messenger[" +
|
|
3922
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"parent\" cannot be used as the keyword is reserved");
|
|
3821
3923
|
case "id":
|
|
3822
|
-
throw new Error("Messenger[" +
|
|
3924
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"id\" cannot be used as the keyword is reserved");
|
|
3823
3925
|
case "onload":
|
|
3824
|
-
throw new Error("Messenger[" +
|
|
3926
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"onload\" cannot be used as the keyword is reserved");
|
|
3825
3927
|
default:
|
|
3826
3928
|
break;
|
|
3827
3929
|
}
|
|
3828
3930
|
|
|
3829
3931
|
// initialise the child iframe as a messenger pipe
|
|
3830
|
-
|
|
3831
|
-
|
|
3932
|
+
_this41[iframeID] = new RemoteFunctionList(iframeID, _this41._functionObserver);
|
|
3933
|
+
_this41[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
3832
3934
|
|
|
3833
3935
|
// add the interface to the broadcaster
|
|
3834
|
-
|
|
3835
|
-
var callbacks =
|
|
3936
|
+
_this41._broadcaster._push(iframeID);
|
|
3937
|
+
var callbacks = _this41._callbacks;
|
|
3836
3938
|
|
|
3837
3939
|
// we have registered callbacks, begin execution
|
|
3838
3940
|
if (callbacks.has(iframeID)) {
|
|
@@ -3856,26 +3958,26 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3856
3958
|
// check reserved key list
|
|
3857
3959
|
switch (iframeID) {
|
|
3858
3960
|
case undefined:
|
|
3859
|
-
throw new Error("Messenger[" +
|
|
3961
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID cannot be undefined");
|
|
3860
3962
|
case "self":
|
|
3861
|
-
throw new Error("Messenger[" +
|
|
3963
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"self\" cannot be used as the keyword is reserved");
|
|
3862
3964
|
case "parent":
|
|
3863
|
-
throw new Error("Messenger[" +
|
|
3965
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"parent\" cannot be used as the keyword is reserved");
|
|
3864
3966
|
case "id":
|
|
3865
|
-
throw new Error("Messenger[" +
|
|
3967
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"id\" cannot be used as the keyword is reserved");
|
|
3866
3968
|
case "onload":
|
|
3867
|
-
throw new Error("Messenger[" +
|
|
3969
|
+
throw new Error("Messenger[" + _this41._id + "].setup() Component ID of \"onload\" cannot be used as the keyword is reserved");
|
|
3868
3970
|
default:
|
|
3869
3971
|
break;
|
|
3870
3972
|
}
|
|
3871
3973
|
|
|
3872
3974
|
// initialise the child iframe as a messenger pipe
|
|
3873
|
-
|
|
3874
|
-
|
|
3975
|
+
_this41[iframeID] = new RemoteFunctionList(iframeID, _this41._functionObserver);
|
|
3976
|
+
_this41[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
3875
3977
|
|
|
3876
3978
|
// add the interface to the broadcaster
|
|
3877
|
-
|
|
3878
|
-
var callbacks =
|
|
3979
|
+
_this41._broadcaster._push(iframeID);
|
|
3980
|
+
var callbacks = _this41._callbacks;
|
|
3879
3981
|
|
|
3880
3982
|
// we have registered callbacks, begin execution
|
|
3881
3983
|
if (callbacks.has(iframeID)) {
|
|
@@ -3894,9 +3996,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3894
3996
|
});
|
|
3895
3997
|
GlobalEventHandler.instance().listen("__messenger__parent_init", function (src, data) {
|
|
3896
3998
|
var iframeID = "parent";
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
var callbacks =
|
|
3999
|
+
_this41[iframeID] = new RemoteFunctionList(iframeID, _this41._functionObserver);
|
|
4000
|
+
_this41[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
4001
|
+
var callbacks = _this41._callbacks;
|
|
3900
4002
|
|
|
3901
4003
|
// we have registered callbacks, begin execution
|
|
3902
4004
|
if (callbacks.has(iframeID)) {
|
|
@@ -3920,9 +4022,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3920
4022
|
*/
|
|
3921
4023
|
GlobalEventHandler.instance().listen("__messenger__parent_init_inv", function (src, data) {
|
|
3922
4024
|
var iframeID = "parent";
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
var callbacks =
|
|
4025
|
+
_this41[iframeID] = new RemoteFunctionList(iframeID, _this41._functionObserver);
|
|
4026
|
+
_this41[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
4027
|
+
var callbacks = _this41._callbacks;
|
|
3926
4028
|
|
|
3927
4029
|
// we have registered callbacks, begin execution
|
|
3928
4030
|
if (callbacks.has(iframeID)) {
|
|
@@ -3979,12 +4081,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3979
4081
|
}, {
|
|
3980
4082
|
"./broadcaster.js": 26,
|
|
3981
4083
|
"./current/current-function-list": 27,
|
|
3982
|
-
"./
|
|
3983
|
-
"./
|
|
3984
|
-
"./remote
|
|
3985
|
-
"./
|
|
4084
|
+
"./function-observer.js": 29,
|
|
4085
|
+
"./global-event-handler.js": 30,
|
|
4086
|
+
"./remote-interface": 32,
|
|
4087
|
+
"./remote/remote-function-list": 33,
|
|
4088
|
+
"./util/util.js": 35
|
|
3986
4089
|
}],
|
|
3987
|
-
|
|
4090
|
+
32: [function (require, module, exports) {
|
|
3988
4091
|
/**
|
|
3989
4092
|
* Provides a single useful interface for performing remote function calls
|
|
3990
4093
|
*/
|
|
@@ -4049,12 +4152,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4049
4152
|
}();
|
|
4050
4153
|
module.exports = RemoteInterface;
|
|
4051
4154
|
}, {}],
|
|
4052
|
-
|
|
4155
|
+
33: [function (require, module, exports) {
|
|
4053
4156
|
var WrappedFunction = require("./wrapped-remote-function");
|
|
4054
4157
|
var RemoteFunctionList = /*#__PURE__*/function () {
|
|
4055
|
-
function RemoteFunctionList(remoteName) {
|
|
4158
|
+
function RemoteFunctionList(remoteName, functionObserver) {
|
|
4056
4159
|
_classCallCheck(this, RemoteFunctionList);
|
|
4057
4160
|
this._remoteInterface = undefined;
|
|
4161
|
+
this._functionObserver = functionObserver;
|
|
4058
4162
|
this._remoteName = remoteName;
|
|
4059
4163
|
return new Proxy(this, {
|
|
4060
4164
|
get: function get(target, prop, receiver) {
|
|
@@ -4078,6 +4182,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4078
4182
|
case "setup":
|
|
4079
4183
|
case "isValid":
|
|
4080
4184
|
case "_remoteInterface":
|
|
4185
|
+
case "_functionObserver":
|
|
4081
4186
|
case "name":
|
|
4082
4187
|
case "_remoteName":
|
|
4083
4188
|
return target[prop];
|
|
@@ -4087,7 +4192,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4087
4192
|
|
|
4088
4193
|
// on first access, we create a WrappedValue type
|
|
4089
4194
|
if (!target[prop]) {
|
|
4090
|
-
target[prop] = new WrappedFunction(prop, target._remoteInterface);
|
|
4195
|
+
target[prop] = new WrappedFunction(prop, target._remoteInterface, target._functionObserver);
|
|
4091
4196
|
}
|
|
4092
4197
|
|
|
4093
4198
|
// return an anonymous function that executes for this variable
|
|
@@ -4128,9 +4233,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4128
4233
|
}();
|
|
4129
4234
|
module.exports = RemoteFunctionList;
|
|
4130
4235
|
}, {
|
|
4131
|
-
"./wrapped-remote-function":
|
|
4236
|
+
"./wrapped-remote-function": 34
|
|
4132
4237
|
}],
|
|
4133
|
-
|
|
4238
|
+
34: [function (require, module, exports) {
|
|
4134
4239
|
var Util = require("../util/util.js");
|
|
4135
4240
|
var GlobalEventHandler = require("../global-event-handler.js");
|
|
4136
4241
|
|
|
@@ -4140,11 +4245,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4140
4245
|
* function calls.
|
|
4141
4246
|
*/
|
|
4142
4247
|
var WrappedRemoteFunction = /*#__PURE__*/function () {
|
|
4143
|
-
function WrappedRemoteFunction(funcName, remoteInterface) {
|
|
4144
|
-
var
|
|
4248
|
+
function WrappedRemoteFunction(funcName, remoteInterface, functionObserver) {
|
|
4249
|
+
var _this42 = this;
|
|
4145
4250
|
_classCallCheck(this, WrappedRemoteFunction);
|
|
4146
4251
|
this._funcName = funcName;
|
|
4147
4252
|
this._remoteInterface = remoteInterface;
|
|
4253
|
+
this._functionObserver = functionObserver;
|
|
4148
4254
|
this._callInstances = {};
|
|
4149
4255
|
|
|
4150
4256
|
// listen for function execution results
|
|
@@ -4152,24 +4258,36 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4152
4258
|
var instanceID = data.instance_id;
|
|
4153
4259
|
|
|
4154
4260
|
// the function name must match
|
|
4155
|
-
if (data.function_name !==
|
|
4261
|
+
if (data.function_name !== _this42._funcName) {
|
|
4156
4262
|
return;
|
|
4157
4263
|
}
|
|
4158
4264
|
|
|
4159
4265
|
// the instance ID must be found, otherwise this is a rogue execution
|
|
4160
4266
|
// that can be ignored (should not happen)
|
|
4161
|
-
if (!
|
|
4267
|
+
if (!_this42._callInstances[instanceID]) {
|
|
4162
4268
|
return;
|
|
4163
4269
|
}
|
|
4164
|
-
var promise =
|
|
4270
|
+
var promise = _this42._callInstances[instanceID];
|
|
4165
4271
|
|
|
4166
4272
|
// remove the old instance
|
|
4167
|
-
delete
|
|
4273
|
+
delete _this42._callInstances[instanceID];
|
|
4168
4274
|
|
|
4169
4275
|
// perform the promise callbacks
|
|
4170
4276
|
if (data.function_status === "success") {
|
|
4277
|
+
// execute the observers
|
|
4278
|
+
_this42._functionObserver.call(_this42._funcName, {
|
|
4279
|
+
type: "return",
|
|
4280
|
+
state: "success",
|
|
4281
|
+
data: data.function_args
|
|
4282
|
+
});
|
|
4171
4283
|
promise.accept(data.function_args);
|
|
4172
4284
|
} else {
|
|
4285
|
+
// execute the observers
|
|
4286
|
+
_this42._functionObserver.call(_this42._funcName, {
|
|
4287
|
+
type: "return",
|
|
4288
|
+
state: "exception",
|
|
4289
|
+
data: new Error(data.function_args)
|
|
4290
|
+
});
|
|
4173
4291
|
promise.reject(new Error(data.function_args));
|
|
4174
4292
|
}
|
|
4175
4293
|
});
|
|
@@ -4181,7 +4299,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4181
4299
|
_createClass(WrappedRemoteFunction, [{
|
|
4182
4300
|
key: "exec",
|
|
4183
4301
|
value: function exec() {
|
|
4184
|
-
var
|
|
4302
|
+
var _this43 = this;
|
|
4185
4303
|
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
4186
4304
|
args[_key4] = arguments[_key4];
|
|
4187
4305
|
}
|
|
@@ -4200,17 +4318,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4200
4318
|
// to be executed later
|
|
4201
4319
|
return new Promise(function (accept, reject) {
|
|
4202
4320
|
// save this promise to be executed later
|
|
4203
|
-
|
|
4321
|
+
_this43._callInstances[instanceID] = {
|
|
4204
4322
|
accept: accept,
|
|
4205
4323
|
reject: reject
|
|
4206
4324
|
};
|
|
4207
4325
|
|
|
4208
4326
|
// execute this event in another context
|
|
4209
|
-
|
|
4327
|
+
_this43._remoteInterface.send("__messenger__exec_fnc", {
|
|
4210
4328
|
instance_id: instanceID,
|
|
4211
|
-
function_name:
|
|
4329
|
+
function_name: _this43._funcName,
|
|
4212
4330
|
function_args: args
|
|
4213
4331
|
});
|
|
4332
|
+
|
|
4333
|
+
// execute the observers
|
|
4334
|
+
_this43._functionObserver.call(_this43._funcName, {
|
|
4335
|
+
type: "call",
|
|
4336
|
+
state: "success",
|
|
4337
|
+
data: args
|
|
4338
|
+
});
|
|
4214
4339
|
});
|
|
4215
4340
|
}
|
|
4216
4341
|
}]);
|
|
@@ -4218,10 +4343,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4218
4343
|
}();
|
|
4219
4344
|
module.exports = WrappedRemoteFunction;
|
|
4220
4345
|
}, {
|
|
4221
|
-
"../global-event-handler.js":
|
|
4222
|
-
"../util/util.js":
|
|
4346
|
+
"../global-event-handler.js": 30,
|
|
4347
|
+
"../util/util.js": 35
|
|
4223
4348
|
}],
|
|
4224
|
-
|
|
4349
|
+
35: [function (require, module, exports) {
|
|
4225
4350
|
var Util = /*#__PURE__*/function () {
|
|
4226
4351
|
function Util() {
|
|
4227
4352
|
_classCallCheck(this, Util);
|
|
@@ -4253,15 +4378,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4253
4378
|
value: function isError(e) {
|
|
4254
4379
|
return e && e.stack && e.message && typeof e.stack === "string" && typeof e.message === "string";
|
|
4255
4380
|
}
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* checks if the provided object is a type of Function object
|
|
4384
|
+
*/
|
|
4385
|
+
}, {
|
|
4386
|
+
key: "isFunction",
|
|
4387
|
+
value: function isFunction(obj) {
|
|
4388
|
+
return obj && obj instanceof Function;
|
|
4389
|
+
}
|
|
4256
4390
|
}]);
|
|
4257
4391
|
return Util;
|
|
4258
4392
|
}();
|
|
4259
4393
|
module.exports = Util;
|
|
4260
4394
|
}, {}],
|
|
4261
|
-
35: [function (require, module, exports) {
|
|
4262
|
-
module.exports = "1.113.6";
|
|
4263
|
-
}, {}],
|
|
4264
4395
|
36: [function (require, module, exports) {
|
|
4396
|
+
module.exports = "1.153.3";
|
|
4397
|
+
}, {}],
|
|
4398
|
+
37: [function (require, module, exports) {
|
|
4265
4399
|
"use strict";
|
|
4266
4400
|
|
|
4267
4401
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4327,9 +4461,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4327
4461
|
}();
|
|
4328
4462
|
exports.AnalyticsData = AnalyticsData;
|
|
4329
4463
|
}, {
|
|
4330
|
-
"../util/util":
|
|
4464
|
+
"../util/util": 42
|
|
4331
4465
|
}],
|
|
4332
|
-
|
|
4466
|
+
38: [function (require, module, exports) {
|
|
4333
4467
|
"use strict";
|
|
4334
4468
|
|
|
4335
4469
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -4346,7 +4480,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4346
4480
|
var google_analytics_1 = require("./google/google-analytics");
|
|
4347
4481
|
var Analytics = /*#__PURE__*/function () {
|
|
4348
4482
|
function Analytics(applicationID) {
|
|
4349
|
-
var
|
|
4483
|
+
var _this44 = this;
|
|
4350
4484
|
_classCallCheck(this, Analytics);
|
|
4351
4485
|
this._pageTime = null;
|
|
4352
4486
|
this.origin = "production";
|
|
@@ -4360,17 +4494,17 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4360
4494
|
this._ga = new google_analytics_1.GoogleAnalytics();
|
|
4361
4495
|
this._handlePageHide = function () {
|
|
4362
4496
|
if (document.visibilityState === "hidden") {
|
|
4363
|
-
|
|
4364
|
-
} else if (
|
|
4497
|
+
_this44._pageTime = new Date();
|
|
4498
|
+
} else if (_this44._pageTime) {
|
|
4365
4499
|
var time2 = new Date();
|
|
4366
|
-
var diff = time2.getTime() -
|
|
4367
|
-
var data =
|
|
4500
|
+
var diff = time2.getTime() - _this44._pageTime.getTime();
|
|
4501
|
+
var data = _this44.data;
|
|
4368
4502
|
data.push("eventAction", "View Time");
|
|
4369
4503
|
data.push("viewTime", diff);
|
|
4370
4504
|
data.push("eventLabel", diff);
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
document.removeEventListener("visibilitychange",
|
|
4505
|
+
_this44.write();
|
|
4506
|
+
_this44._pageTime = null;
|
|
4507
|
+
document.removeEventListener("visibilitychange", _this44._handlePageHide, false);
|
|
4374
4508
|
}
|
|
4375
4509
|
};
|
|
4376
4510
|
}
|
|
@@ -4382,49 +4516,55 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4382
4516
|
}, {
|
|
4383
4517
|
key: "query",
|
|
4384
4518
|
value: function query() {
|
|
4385
|
-
var
|
|
4519
|
+
var _this45 = this;
|
|
4386
4520
|
var _query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
4387
4521
|
return new Promise(function (accept, reject) {
|
|
4388
4522
|
if (!_query) {
|
|
4389
4523
|
return reject(new Error("Analytics.query() - provided query was null"));
|
|
4390
4524
|
}
|
|
4391
|
-
var url =
|
|
4525
|
+
var url = _this45.origin === "dev" ? "https://localhost:3008/v3/read" : "https://analytics.plattar.com/v3/read";
|
|
4392
4526
|
var data = {
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4527
|
+
data: {
|
|
4528
|
+
attributes: {
|
|
4529
|
+
application_id: _this45._applicationID,
|
|
4530
|
+
event: _this45.event,
|
|
4531
|
+
query: _query
|
|
4532
|
+
}
|
|
4533
|
+
}
|
|
4397
4534
|
};
|
|
4398
4535
|
basic_http_1["default"].exec("POST", url, data).then(function (result) {
|
|
4399
|
-
accept(result
|
|
4536
|
+
accept(result ? result : {});
|
|
4400
4537
|
})["catch"](reject);
|
|
4401
4538
|
});
|
|
4402
4539
|
}
|
|
4403
4540
|
}, {
|
|
4404
4541
|
key: "write",
|
|
4405
4542
|
value: function write() {
|
|
4406
|
-
var
|
|
4543
|
+
var _this46 = this;
|
|
4407
4544
|
return new Promise(function (accept, reject) {
|
|
4408
|
-
var data =
|
|
4409
|
-
var url =
|
|
4410
|
-
data.push("applicationId",
|
|
4545
|
+
var data = _this46._data;
|
|
4546
|
+
var url = _this46.origin === "dev" ? "https://localhost:3008/v3/write" : "https://analytics.plattar.com/v3/write";
|
|
4547
|
+
data.push("applicationId", _this46._applicationID);
|
|
4411
4548
|
var sendData = {
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4549
|
+
data: {
|
|
4550
|
+
attributes: {
|
|
4551
|
+
application_id: _this46._applicationID,
|
|
4552
|
+
event: _this46.event,
|
|
4553
|
+
origin: _this46.origin,
|
|
4554
|
+
fields: data.data
|
|
4555
|
+
}
|
|
4556
|
+
}
|
|
4417
4557
|
};
|
|
4418
|
-
if (
|
|
4558
|
+
if (_this46.isBeacon === false) {
|
|
4419
4559
|
basic_http_1["default"].exec("POST", url, sendData).then(function (result) {
|
|
4420
|
-
accept(result
|
|
4560
|
+
accept(result ? result : {});
|
|
4421
4561
|
})["catch"](reject);
|
|
4422
4562
|
} else {
|
|
4423
4563
|
basic_http_1["default"].execBeacon(url, sendData).then(function (result) {
|
|
4424
|
-
accept(result
|
|
4564
|
+
accept(result ? result : {});
|
|
4425
4565
|
})["catch"](reject);
|
|
4426
4566
|
}
|
|
4427
|
-
|
|
4567
|
+
_this46.googleAnalytics.write(_this46.event, _this46.data);
|
|
4428
4568
|
});
|
|
4429
4569
|
}
|
|
4430
4570
|
}, {
|
|
@@ -4442,11 +4582,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4442
4582
|
}();
|
|
4443
4583
|
exports.Analytics = Analytics;
|
|
4444
4584
|
}, {
|
|
4445
|
-
"../util/basic-http":
|
|
4446
|
-
"./analytics-data":
|
|
4447
|
-
"./google/google-analytics":
|
|
4585
|
+
"../util/basic-http": 41,
|
|
4586
|
+
"./analytics-data": 37,
|
|
4587
|
+
"./google/google-analytics": 39
|
|
4448
4588
|
}],
|
|
4449
|
-
|
|
4589
|
+
39: [function (require, module, exports) {
|
|
4450
4590
|
"use strict";
|
|
4451
4591
|
|
|
4452
4592
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4532,7 +4672,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4532
4672
|
}();
|
|
4533
4673
|
exports.GoogleAnalytics = GoogleAnalytics;
|
|
4534
4674
|
}, {}],
|
|
4535
|
-
|
|
4675
|
+
40: [function (require, module, exports) {
|
|
4536
4676
|
"use strict";
|
|
4537
4677
|
|
|
4538
4678
|
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
@@ -4593,11 +4733,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4593
4733
|
var version_1 = __importDefault(require("./version"));
|
|
4594
4734
|
console.log("using @plattar/plattar-analytics v" + version_1["default"]);
|
|
4595
4735
|
}, {
|
|
4596
|
-
"./analytics/analytics":
|
|
4597
|
-
"./analytics/analytics-data":
|
|
4598
|
-
"./version":
|
|
4736
|
+
"./analytics/analytics": 38,
|
|
4737
|
+
"./analytics/analytics-data": 37,
|
|
4738
|
+
"./version": 43
|
|
4599
4739
|
}],
|
|
4600
|
-
|
|
4740
|
+
41: [function (require, module, exports) {
|
|
4601
4741
|
"use strict";
|
|
4602
4742
|
|
|
4603
4743
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4672,7 +4812,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4672
4812
|
}();
|
|
4673
4813
|
exports["default"] = BasicHTTP;
|
|
4674
4814
|
}, {}],
|
|
4675
|
-
|
|
4815
|
+
42: [function (require, module, exports) {
|
|
4676
4816
|
"use strict";
|
|
4677
4817
|
|
|
4678
4818
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4705,15 +4845,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4705
4845
|
}();
|
|
4706
4846
|
exports.Util = Util;
|
|
4707
4847
|
}, {}],
|
|
4708
|
-
|
|
4848
|
+
43: [function (require, module, exports) {
|
|
4709
4849
|
"use strict";
|
|
4710
4850
|
|
|
4711
4851
|
Object.defineProperty(exports, "__esModule", {
|
|
4712
4852
|
value: true
|
|
4713
4853
|
});
|
|
4714
|
-
exports["default"] = "1.
|
|
4854
|
+
exports["default"] = "1.152.2";
|
|
4715
4855
|
}, {}],
|
|
4716
|
-
|
|
4856
|
+
44: [function (require, module, exports) {
|
|
4717
4857
|
"use strict";
|
|
4718
4858
|
|
|
4719
4859
|
var Server = require("./server/plattar-server.js");
|
|
@@ -4866,67 +5006,67 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4866
5006
|
version: Version
|
|
4867
5007
|
};
|
|
4868
5008
|
}, {
|
|
4869
|
-
"./server/plattar-server.js":
|
|
4870
|
-
"./types/application.js":
|
|
4871
|
-
"./types/content-pipeline/brief.js":
|
|
4872
|
-
"./types/content-pipeline/comment-brief.js":
|
|
4873
|
-
"./types/content-pipeline/comment-quote.js":
|
|
4874
|
-
"./types/content-pipeline/comment-solution.js":
|
|
4875
|
-
"./types/content-pipeline/folder.js":
|
|
4876
|
-
"./types/content-pipeline/pipeline-user.js":
|
|
4877
|
-
"./types/content-pipeline/quote.js":
|
|
4878
|
-
"./types/content-pipeline/rating.js":
|
|
4879
|
-
"./types/content-pipeline/solution.js":
|
|
4880
|
-
"./types/file/file-audio.js":
|
|
4881
|
-
"./types/file/file-base.js":
|
|
4882
|
-
"./types/file/file-image.js":
|
|
4883
|
-
"./types/file/file-model.js":
|
|
4884
|
-
"./types/file/file-script.js":
|
|
4885
|
-
"./types/file/file-video.js":
|
|
4886
|
-
"./types/misc/application-build.js":
|
|
4887
|
-
"./types/misc/asset-library.js":
|
|
4888
|
-
"./types/misc/async-job.js":
|
|
4889
|
-
"./types/misc/script-event.js":
|
|
4890
|
-
"./types/misc/tag.js":
|
|
4891
|
-
"./types/page/card-base.js":
|
|
4892
|
-
"./types/page/card-button.js":
|
|
4893
|
-
"./types/page/card-html.js":
|
|
4894
|
-
"./types/page/card-iframe.js":
|
|
4895
|
-
"./types/page/card-image.js":
|
|
4896
|
-
"./types/page/card-map.js":
|
|
4897
|
-
"./types/page/card-paragraph.js":
|
|
4898
|
-
"./types/page/card-row.js":
|
|
4899
|
-
"./types/page/card-slider.js":
|
|
4900
|
-
"./types/page/card-title.js":
|
|
4901
|
-
"./types/page/card-video.js":
|
|
4902
|
-
"./types/page/card-youtube.js":
|
|
4903
|
-
"./types/page/page.js":
|
|
4904
|
-
"./types/product/product-annotation.js":
|
|
4905
|
-
"./types/product/product-base.js":
|
|
4906
|
-
"./types/product/product-variation.js":
|
|
4907
|
-
"./types/product/product.js":
|
|
4908
|
-
"./types/scene/scene-annotation.js":
|
|
4909
|
-
"./types/scene/scene-audio.js":
|
|
4910
|
-
"./types/scene/scene-base.js":
|
|
4911
|
-
"./types/scene/scene-button.js":
|
|
4912
|
-
"./types/scene/scene-camera.js":
|
|
4913
|
-
"./types/scene/scene-carousel.js":
|
|
4914
|
-
"./types/scene/scene-image.js":
|
|
4915
|
-
"./types/scene/scene-model.js":
|
|
4916
|
-
"./types/scene/scene-panorama.js":
|
|
4917
|
-
"./types/scene/scene-poller.js":
|
|
4918
|
-
"./types/scene/scene-product.js":
|
|
4919
|
-
"./types/scene/scene-script.js":
|
|
4920
|
-
"./types/scene/scene-shadow.js":
|
|
4921
|
-
"./types/scene/scene-video.js":
|
|
4922
|
-
"./types/scene/scene-volumetric.js":
|
|
4923
|
-
"./types/scene/scene-youtube.js":
|
|
4924
|
-
"./types/scene/scene.js":
|
|
4925
|
-
"./types/trigger/trigger-image.js":
|
|
4926
|
-
"./util/plattar-util.js":
|
|
4927
|
-
"./version":
|
|
5009
|
+
"./server/plattar-server.js": 46,
|
|
5010
|
+
"./types/application.js": 47,
|
|
5011
|
+
"./types/content-pipeline/brief.js": 48,
|
|
5012
|
+
"./types/content-pipeline/comment-brief.js": 49,
|
|
5013
|
+
"./types/content-pipeline/comment-quote.js": 50,
|
|
5014
|
+
"./types/content-pipeline/comment-solution.js": 51,
|
|
5015
|
+
"./types/content-pipeline/folder.js": 52,
|
|
5016
|
+
"./types/content-pipeline/pipeline-user.js": 53,
|
|
5017
|
+
"./types/content-pipeline/quote.js": 54,
|
|
5018
|
+
"./types/content-pipeline/rating.js": 55,
|
|
5019
|
+
"./types/content-pipeline/solution.js": 56,
|
|
5020
|
+
"./types/file/file-audio.js": 57,
|
|
5021
|
+
"./types/file/file-base.js": 58,
|
|
5022
|
+
"./types/file/file-image.js": 59,
|
|
5023
|
+
"./types/file/file-model.js": 60,
|
|
5024
|
+
"./types/file/file-script.js": 61,
|
|
5025
|
+
"./types/file/file-video.js": 62,
|
|
5026
|
+
"./types/misc/application-build.js": 66,
|
|
5027
|
+
"./types/misc/asset-library.js": 67,
|
|
5028
|
+
"./types/misc/async-job.js": 68,
|
|
5029
|
+
"./types/misc/script-event.js": 69,
|
|
5030
|
+
"./types/misc/tag.js": 70,
|
|
5031
|
+
"./types/page/card-base.js": 71,
|
|
5032
|
+
"./types/page/card-button.js": 72,
|
|
5033
|
+
"./types/page/card-html.js": 73,
|
|
5034
|
+
"./types/page/card-iframe.js": 74,
|
|
5035
|
+
"./types/page/card-image.js": 75,
|
|
5036
|
+
"./types/page/card-map.js": 76,
|
|
5037
|
+
"./types/page/card-paragraph.js": 77,
|
|
5038
|
+
"./types/page/card-row.js": 78,
|
|
5039
|
+
"./types/page/card-slider.js": 79,
|
|
5040
|
+
"./types/page/card-title.js": 80,
|
|
5041
|
+
"./types/page/card-video.js": 81,
|
|
5042
|
+
"./types/page/card-youtube.js": 82,
|
|
5043
|
+
"./types/page/page.js": 83,
|
|
5044
|
+
"./types/product/product-annotation.js": 84,
|
|
5045
|
+
"./types/product/product-base.js": 85,
|
|
5046
|
+
"./types/product/product-variation.js": 86,
|
|
5047
|
+
"./types/product/product.js": 87,
|
|
5048
|
+
"./types/scene/scene-annotation.js": 88,
|
|
5049
|
+
"./types/scene/scene-audio.js": 89,
|
|
5050
|
+
"./types/scene/scene-base.js": 90,
|
|
5051
|
+
"./types/scene/scene-button.js": 91,
|
|
5052
|
+
"./types/scene/scene-camera.js": 92,
|
|
5053
|
+
"./types/scene/scene-carousel.js": 93,
|
|
5054
|
+
"./types/scene/scene-image.js": 94,
|
|
5055
|
+
"./types/scene/scene-model.js": 95,
|
|
5056
|
+
"./types/scene/scene-panorama.js": 96,
|
|
5057
|
+
"./types/scene/scene-poller.js": 97,
|
|
5058
|
+
"./types/scene/scene-product.js": 98,
|
|
5059
|
+
"./types/scene/scene-script.js": 99,
|
|
5060
|
+
"./types/scene/scene-shadow.js": 100,
|
|
5061
|
+
"./types/scene/scene-video.js": 101,
|
|
5062
|
+
"./types/scene/scene-volumetric.js": 102,
|
|
5063
|
+
"./types/scene/scene-youtube.js": 103,
|
|
5064
|
+
"./types/scene/scene.js": 104,
|
|
5065
|
+
"./types/trigger/trigger-image.js": 105,
|
|
5066
|
+
"./util/plattar-util.js": 106,
|
|
5067
|
+
"./version": 107
|
|
4928
5068
|
}],
|
|
4929
|
-
|
|
5069
|
+
45: [function (require, module, exports) {
|
|
4930
5070
|
var fetch = require("node-fetch");
|
|
4931
5071
|
var PlattarQuery = /*#__PURE__*/function () {
|
|
4932
5072
|
function PlattarQuery(target, server) {
|
|
@@ -4976,10 +5116,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4976
5116
|
}, {
|
|
4977
5117
|
key: "_get",
|
|
4978
5118
|
value: function _get(opt) {
|
|
4979
|
-
var
|
|
5119
|
+
var _this47 = this;
|
|
4980
5120
|
return new Promise(function (resolve, reject) {
|
|
4981
|
-
var target =
|
|
4982
|
-
var server =
|
|
5121
|
+
var target = _this47.target;
|
|
5122
|
+
var server = _this47.server;
|
|
4983
5123
|
|
|
4984
5124
|
// we cannot perform a GET request without an ID
|
|
4985
5125
|
if (!target.id) {
|
|
@@ -5004,15 +5144,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5004
5144
|
var origin = server.originLocation.api_read;
|
|
5005
5145
|
var auth = server.authToken;
|
|
5006
5146
|
var headers = {
|
|
5007
|
-
'cookie': 'laravel_session=' +
|
|
5147
|
+
'cookie': 'laravel_session=' + _this47.getCookie('laravel_session')
|
|
5008
5148
|
};
|
|
5009
5149
|
Object.assign(headers, auth);
|
|
5010
5150
|
var reqopts = {
|
|
5011
5151
|
method: "GET",
|
|
5012
5152
|
headers: headers
|
|
5013
5153
|
};
|
|
5014
|
-
var includeQuery =
|
|
5015
|
-
var params =
|
|
5154
|
+
var includeQuery = _this47._IncludeQuery;
|
|
5155
|
+
var params = _this47._ParamFor("get");
|
|
5016
5156
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
5017
5157
|
if (includeQuery) {
|
|
5018
5158
|
endpoint = endpoint + "?include=" + includeQuery;
|
|
@@ -5047,10 +5187,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5047
5187
|
}, {
|
|
5048
5188
|
key: "_update",
|
|
5049
5189
|
value: function _update() {
|
|
5050
|
-
var
|
|
5190
|
+
var _this48 = this;
|
|
5051
5191
|
return new Promise(function (resolve, reject) {
|
|
5052
|
-
var target =
|
|
5053
|
-
var server =
|
|
5192
|
+
var target = _this48.target;
|
|
5193
|
+
var server = _this48.server;
|
|
5054
5194
|
|
|
5055
5195
|
// we cannot perform a GET request without an ID
|
|
5056
5196
|
if (!target.id) {
|
|
@@ -5064,7 +5204,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5064
5204
|
var headers = {
|
|
5065
5205
|
'Accept': 'application/json',
|
|
5066
5206
|
'Content-Type': 'application/json',
|
|
5067
|
-
'cookie': 'laravel_session=' +
|
|
5207
|
+
'cookie': 'laravel_session=' + _this48.getCookie('laravel_session')
|
|
5068
5208
|
};
|
|
5069
5209
|
Object.assign(headers, auth);
|
|
5070
5210
|
var reqopts = {
|
|
@@ -5078,7 +5218,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5078
5218
|
meta: target.meta || {}
|
|
5079
5219
|
})
|
|
5080
5220
|
};
|
|
5081
|
-
var params =
|
|
5221
|
+
var params = _this48._ParamFor("update");
|
|
5082
5222
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
5083
5223
|
if (params) {
|
|
5084
5224
|
var appender = "?";
|
|
@@ -5114,10 +5254,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5114
5254
|
}, {
|
|
5115
5255
|
key: "_create",
|
|
5116
5256
|
value: function _create() {
|
|
5117
|
-
var
|
|
5257
|
+
var _this49 = this;
|
|
5118
5258
|
return new Promise(function (resolve, reject) {
|
|
5119
|
-
var target =
|
|
5120
|
-
var server =
|
|
5259
|
+
var target = _this49.target;
|
|
5260
|
+
var server = _this49.server;
|
|
5121
5261
|
|
|
5122
5262
|
// otherwise, proceed with the fetching op
|
|
5123
5263
|
var origin = server.originLocation.api_write;
|
|
@@ -5125,7 +5265,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5125
5265
|
var headers = {
|
|
5126
5266
|
'Accept': 'application/json',
|
|
5127
5267
|
'Content-Type': 'application/json',
|
|
5128
|
-
'cookie': 'laravel_session=' +
|
|
5268
|
+
'cookie': 'laravel_session=' + _this49.getCookie('laravel_session')
|
|
5129
5269
|
};
|
|
5130
5270
|
Object.assign(headers, auth);
|
|
5131
5271
|
var reqopts = {
|
|
@@ -5138,7 +5278,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5138
5278
|
meta: target.meta || {}
|
|
5139
5279
|
})
|
|
5140
5280
|
};
|
|
5141
|
-
var params =
|
|
5281
|
+
var params = _this49._ParamFor("create");
|
|
5142
5282
|
var endpoint = origin + target.type();
|
|
5143
5283
|
if (params) {
|
|
5144
5284
|
var appender = "?";
|
|
@@ -5175,10 +5315,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5175
5315
|
}, {
|
|
5176
5316
|
key: "_delete",
|
|
5177
5317
|
value: function _delete() {
|
|
5178
|
-
var
|
|
5318
|
+
var _this50 = this;
|
|
5179
5319
|
return new Promise(function (resolve, reject) {
|
|
5180
|
-
var target =
|
|
5181
|
-
var server =
|
|
5320
|
+
var target = _this50.target;
|
|
5321
|
+
var server = _this50.server;
|
|
5182
5322
|
|
|
5183
5323
|
// we cannot perform a GET request without an ID
|
|
5184
5324
|
if (!target.id) {
|
|
@@ -5192,7 +5332,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5192
5332
|
var headers = {
|
|
5193
5333
|
'Accept': 'application/json',
|
|
5194
5334
|
'Content-Type': 'application/json',
|
|
5195
|
-
'cookie': 'laravel_session=' +
|
|
5335
|
+
'cookie': 'laravel_session=' + _this50.getCookie('laravel_session')
|
|
5196
5336
|
};
|
|
5197
5337
|
Object.assign(headers, auth);
|
|
5198
5338
|
var reqopts = {
|
|
@@ -5206,7 +5346,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5206
5346
|
meta: target.meta || {}
|
|
5207
5347
|
})
|
|
5208
5348
|
};
|
|
5209
|
-
var params =
|
|
5349
|
+
var params = _this50._ParamFor("delete");
|
|
5210
5350
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
5211
5351
|
if (params) {
|
|
5212
5352
|
var appender = "?";
|
|
@@ -5261,7 +5401,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5261
5401
|
}, {
|
|
5262
5402
|
key: "_include",
|
|
5263
5403
|
value: function _include(args) {
|
|
5264
|
-
var
|
|
5404
|
+
var _this51 = this;
|
|
5265
5405
|
if (!args || args.length <= 0) {
|
|
5266
5406
|
return this;
|
|
5267
5407
|
}
|
|
@@ -5271,20 +5411,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5271
5411
|
if (Array.isArray(obj)) {
|
|
5272
5412
|
obj.forEach(function (strObject) {
|
|
5273
5413
|
if (typeof strObject === "string" || strObject instanceof String) {
|
|
5274
|
-
|
|
5414
|
+
_this51._getIncludeQuery.push(strObject);
|
|
5275
5415
|
} else {
|
|
5276
|
-
throw new Error("PlattarQuery." +
|
|
5416
|
+
throw new Error("PlattarQuery." + _this51.target.type() + ".include(...args) - argument of Array must only include Strings");
|
|
5277
5417
|
}
|
|
5278
5418
|
});
|
|
5279
5419
|
} else if (PlattarUtil.isPlattarObject(obj)) {
|
|
5280
5420
|
var type = obj.type();
|
|
5281
5421
|
if (Array.isArray(type)) {
|
|
5282
|
-
|
|
5422
|
+
_this51._include(type);
|
|
5283
5423
|
} else {
|
|
5284
|
-
|
|
5424
|
+
_this51._getIncludeQuery.push(type);
|
|
5285
5425
|
}
|
|
5286
5426
|
} else {
|
|
5287
|
-
throw new Error("PlattarQuery." +
|
|
5427
|
+
throw new Error("PlattarQuery." + _this51.target.type() + ".include(...args) - argument must be of type PlattarObject or Array but was type=" + _typeof(obj) + " value=" + obj);
|
|
5288
5428
|
}
|
|
5289
5429
|
});
|
|
5290
5430
|
return this;
|
|
@@ -5353,10 +5493,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5353
5493
|
};
|
|
5354
5494
|
module.exports = PlattarQuery;
|
|
5355
5495
|
}, {
|
|
5356
|
-
"../util/plattar-util.js":
|
|
5357
|
-
"node-fetch":
|
|
5496
|
+
"../util/plattar-util.js": 106,
|
|
5497
|
+
"node-fetch": 133
|
|
5358
5498
|
}],
|
|
5359
|
-
|
|
5499
|
+
46: [function (require, module, exports) {
|
|
5360
5500
|
(function (process) {
|
|
5361
5501
|
(function () {
|
|
5362
5502
|
var fetch = require("node-fetch");
|
|
@@ -5376,6 +5516,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5376
5516
|
get: function get() {
|
|
5377
5517
|
return this._serverLocation.type === "production";
|
|
5378
5518
|
}
|
|
5519
|
+
}, {
|
|
5520
|
+
key: "review",
|
|
5521
|
+
get: function get() {
|
|
5522
|
+
return PlattarServer.match("review");
|
|
5523
|
+
}
|
|
5524
|
+
}, {
|
|
5525
|
+
key: "isReview",
|
|
5526
|
+
get: function get() {
|
|
5527
|
+
return this._serverLocation.type === "review";
|
|
5528
|
+
}
|
|
5379
5529
|
}, {
|
|
5380
5530
|
key: "staging",
|
|
5381
5531
|
get: function get() {
|
|
@@ -5409,12 +5559,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5409
5559
|
}, {
|
|
5410
5560
|
key: "auth",
|
|
5411
5561
|
value: function auth(token, opt) {
|
|
5412
|
-
var
|
|
5562
|
+
var _this52 = this;
|
|
5413
5563
|
var copt = opt || {
|
|
5414
5564
|
validate: false
|
|
5415
5565
|
};
|
|
5416
5566
|
return new Promise(function (resolve, reject) {
|
|
5417
|
-
var server =
|
|
5567
|
+
var server = _this52.originLocation.api_write;
|
|
5418
5568
|
if (!server) {
|
|
5419
5569
|
reject(new Error("Plattar.auth(token) - cannot authenticate as server not set via Plattar.origin(server)"));
|
|
5420
5570
|
return;
|
|
@@ -5424,10 +5574,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5424
5574
|
return;
|
|
5425
5575
|
}
|
|
5426
5576
|
if (!copt.validate) {
|
|
5427
|
-
|
|
5577
|
+
_this52._authToken = {
|
|
5428
5578
|
"plattar-auth-token": token
|
|
5429
5579
|
};
|
|
5430
|
-
resolve(
|
|
5580
|
+
resolve(_this52);
|
|
5431
5581
|
return;
|
|
5432
5582
|
}
|
|
5433
5583
|
var endpoint = server + "plattaruser/xauth/validate";
|
|
@@ -5439,10 +5589,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5439
5589
|
};
|
|
5440
5590
|
fetch(endpoint, options).then(function (res) {
|
|
5441
5591
|
if (res.ok) {
|
|
5442
|
-
|
|
5592
|
+
_this52._authToken = {
|
|
5443
5593
|
"plattar-auth-token": token
|
|
5444
5594
|
};
|
|
5445
|
-
resolve(
|
|
5595
|
+
resolve(_this52);
|
|
5446
5596
|
} else {
|
|
5447
5597
|
reject(new Error("Plattar.auth(token) - failed to validate authentication token at " + endpoint));
|
|
5448
5598
|
}
|
|
@@ -5452,7 +5602,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5452
5602
|
}, {
|
|
5453
5603
|
key: "origin",
|
|
5454
5604
|
value: function origin(server, opt) {
|
|
5455
|
-
var
|
|
5605
|
+
var _this53 = this;
|
|
5456
5606
|
var copt = opt || {
|
|
5457
5607
|
validate: false
|
|
5458
5608
|
};
|
|
@@ -5462,8 +5612,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5462
5612
|
return;
|
|
5463
5613
|
}
|
|
5464
5614
|
if (!copt.validate) {
|
|
5465
|
-
|
|
5466
|
-
resolve(
|
|
5615
|
+
_this53._serverLocation = server;
|
|
5616
|
+
resolve(_this53);
|
|
5467
5617
|
return;
|
|
5468
5618
|
}
|
|
5469
5619
|
var endpoint = server.api_read + "ping";
|
|
@@ -5472,8 +5622,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5472
5622
|
};
|
|
5473
5623
|
fetch(endpoint, options).then(function (res) {
|
|
5474
5624
|
if (res.ok) {
|
|
5475
|
-
|
|
5476
|
-
resolve(
|
|
5625
|
+
_this53._serverLocation = server;
|
|
5626
|
+
resolve(_this53);
|
|
5477
5627
|
} else {
|
|
5478
5628
|
reject(new Error("Plattar.origin(server) - failed to ping server at " + endpoint));
|
|
5479
5629
|
}
|
|
@@ -5513,6 +5663,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5513
5663
|
analytics: "https://c.plattar.space/api/v2/analytics",
|
|
5514
5664
|
type: "production"
|
|
5515
5665
|
};
|
|
5666
|
+
case "review.plattar.com":
|
|
5667
|
+
case "review":
|
|
5668
|
+
case "qa":
|
|
5669
|
+
return {
|
|
5670
|
+
base: "https://review.plattar.com/",
|
|
5671
|
+
api_read: "https://review-api.plattar.com/v3/",
|
|
5672
|
+
api_write: "https://review-api.plattar.com/v3/",
|
|
5673
|
+
cdn: "https://cdn.plattar.com/",
|
|
5674
|
+
cdn_image: "https://images.plattar.com/",
|
|
5675
|
+
analytics: "https://c.plattar.space/api/v2/analytics",
|
|
5676
|
+
type: "review"
|
|
5677
|
+
};
|
|
5516
5678
|
case "dev":
|
|
5517
5679
|
case "developer":
|
|
5518
5680
|
case "development":
|
|
@@ -5554,10 +5716,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5554
5716
|
}).call(this);
|
|
5555
5717
|
}).call(this, require('_process'));
|
|
5556
5718
|
}, {
|
|
5557
|
-
"_process":
|
|
5558
|
-
"node-fetch":
|
|
5719
|
+
"_process": 135,
|
|
5720
|
+
"node-fetch": 133
|
|
5559
5721
|
}],
|
|
5560
|
-
|
|
5722
|
+
47: [function (require, module, exports) {
|
|
5561
5723
|
var PlattarBase = require("./interfaces/plattar-base.js");
|
|
5562
5724
|
var Application = /*#__PURE__*/function (_PlattarBase) {
|
|
5563
5725
|
_inherits(Application, _PlattarBase);
|
|
@@ -5576,9 +5738,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5576
5738
|
}(PlattarBase);
|
|
5577
5739
|
module.exports = Application;
|
|
5578
5740
|
}, {
|
|
5579
|
-
"./interfaces/plattar-base.js":
|
|
5741
|
+
"./interfaces/plattar-base.js": 63
|
|
5580
5742
|
}],
|
|
5581
|
-
|
|
5743
|
+
48: [function (require, module, exports) {
|
|
5582
5744
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5583
5745
|
var Brief = /*#__PURE__*/function (_PlattarBase2) {
|
|
5584
5746
|
_inherits(Brief, _PlattarBase2);
|
|
@@ -5597,9 +5759,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5597
5759
|
}(PlattarBase);
|
|
5598
5760
|
module.exports = Brief;
|
|
5599
5761
|
}, {
|
|
5600
|
-
"../interfaces/plattar-base":
|
|
5762
|
+
"../interfaces/plattar-base": 63
|
|
5601
5763
|
}],
|
|
5602
|
-
|
|
5764
|
+
49: [function (require, module, exports) {
|
|
5603
5765
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5604
5766
|
var CommentBrief = /*#__PURE__*/function (_PlattarBase3) {
|
|
5605
5767
|
_inherits(CommentBrief, _PlattarBase3);
|
|
@@ -5618,9 +5780,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5618
5780
|
}(PlattarBase);
|
|
5619
5781
|
module.exports = CommentBrief;
|
|
5620
5782
|
}, {
|
|
5621
|
-
"../interfaces/plattar-base":
|
|
5783
|
+
"../interfaces/plattar-base": 63
|
|
5622
5784
|
}],
|
|
5623
|
-
|
|
5785
|
+
50: [function (require, module, exports) {
|
|
5624
5786
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5625
5787
|
var CommentQuote = /*#__PURE__*/function (_PlattarBase4) {
|
|
5626
5788
|
_inherits(CommentQuote, _PlattarBase4);
|
|
@@ -5639,9 +5801,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5639
5801
|
}(PlattarBase);
|
|
5640
5802
|
module.exports = CommentQuote;
|
|
5641
5803
|
}, {
|
|
5642
|
-
"../interfaces/plattar-base":
|
|
5804
|
+
"../interfaces/plattar-base": 63
|
|
5643
5805
|
}],
|
|
5644
|
-
|
|
5806
|
+
51: [function (require, module, exports) {
|
|
5645
5807
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5646
5808
|
var CommentSolution = /*#__PURE__*/function (_PlattarBase5) {
|
|
5647
5809
|
_inherits(CommentSolution, _PlattarBase5);
|
|
@@ -5660,9 +5822,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5660
5822
|
}(PlattarBase);
|
|
5661
5823
|
module.exports = CommentSolution;
|
|
5662
5824
|
}, {
|
|
5663
|
-
"../interfaces/plattar-base":
|
|
5825
|
+
"../interfaces/plattar-base": 63
|
|
5664
5826
|
}],
|
|
5665
|
-
|
|
5827
|
+
52: [function (require, module, exports) {
|
|
5666
5828
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5667
5829
|
var Folder = /*#__PURE__*/function (_PlattarBase6) {
|
|
5668
5830
|
_inherits(Folder, _PlattarBase6);
|
|
@@ -5681,9 +5843,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5681
5843
|
}(PlattarBase);
|
|
5682
5844
|
module.exports = Folder;
|
|
5683
5845
|
}, {
|
|
5684
|
-
"../interfaces/plattar-base":
|
|
5846
|
+
"../interfaces/plattar-base": 63
|
|
5685
5847
|
}],
|
|
5686
|
-
|
|
5848
|
+
53: [function (require, module, exports) {
|
|
5687
5849
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5688
5850
|
var PipelineUser = /*#__PURE__*/function (_PlattarBase7) {
|
|
5689
5851
|
_inherits(PipelineUser, _PlattarBase7);
|
|
@@ -5702,9 +5864,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5702
5864
|
}(PlattarBase);
|
|
5703
5865
|
module.exports = PipelineUser;
|
|
5704
5866
|
}, {
|
|
5705
|
-
"../interfaces/plattar-base":
|
|
5867
|
+
"../interfaces/plattar-base": 63
|
|
5706
5868
|
}],
|
|
5707
|
-
|
|
5869
|
+
54: [function (require, module, exports) {
|
|
5708
5870
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5709
5871
|
var Quote = /*#__PURE__*/function (_PlattarBase8) {
|
|
5710
5872
|
_inherits(Quote, _PlattarBase8);
|
|
@@ -5723,9 +5885,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5723
5885
|
}(PlattarBase);
|
|
5724
5886
|
module.exports = Quote;
|
|
5725
5887
|
}, {
|
|
5726
|
-
"../interfaces/plattar-base":
|
|
5888
|
+
"../interfaces/plattar-base": 63
|
|
5727
5889
|
}],
|
|
5728
|
-
|
|
5890
|
+
55: [function (require, module, exports) {
|
|
5729
5891
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5730
5892
|
var Rating = /*#__PURE__*/function (_PlattarBase9) {
|
|
5731
5893
|
_inherits(Rating, _PlattarBase9);
|
|
@@ -5744,9 +5906,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5744
5906
|
}(PlattarBase);
|
|
5745
5907
|
module.exports = Rating;
|
|
5746
5908
|
}, {
|
|
5747
|
-
"../interfaces/plattar-base":
|
|
5909
|
+
"../interfaces/plattar-base": 63
|
|
5748
5910
|
}],
|
|
5749
|
-
|
|
5911
|
+
56: [function (require, module, exports) {
|
|
5750
5912
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
5751
5913
|
var Solution = /*#__PURE__*/function (_PlattarBase10) {
|
|
5752
5914
|
_inherits(Solution, _PlattarBase10);
|
|
@@ -5765,9 +5927,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5765
5927
|
}(PlattarBase);
|
|
5766
5928
|
module.exports = Solution;
|
|
5767
5929
|
}, {
|
|
5768
|
-
"../interfaces/plattar-base":
|
|
5930
|
+
"../interfaces/plattar-base": 63
|
|
5769
5931
|
}],
|
|
5770
|
-
|
|
5932
|
+
57: [function (require, module, exports) {
|
|
5771
5933
|
var FileBase = require("./file-base.js");
|
|
5772
5934
|
var FileAudio = /*#__PURE__*/function (_FileBase) {
|
|
5773
5935
|
_inherits(FileAudio, _FileBase);
|
|
@@ -5786,22 +5948,22 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5786
5948
|
}(FileBase);
|
|
5787
5949
|
module.exports = FileAudio;
|
|
5788
5950
|
}, {
|
|
5789
|
-
"./file-base.js":
|
|
5951
|
+
"./file-base.js": 58
|
|
5790
5952
|
}],
|
|
5791
|
-
|
|
5953
|
+
58: [function (require, module, exports) {
|
|
5792
5954
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5793
5955
|
var Server = require("../../server/plattar-server.js");
|
|
5794
5956
|
var FileBase = /*#__PURE__*/function (_PlattarBase11) {
|
|
5795
5957
|
_inherits(FileBase, _PlattarBase11);
|
|
5796
5958
|
var _super25 = _createSuper(FileBase);
|
|
5797
5959
|
function FileBase(id, server) {
|
|
5798
|
-
var
|
|
5960
|
+
var _this54;
|
|
5799
5961
|
_classCallCheck(this, FileBase);
|
|
5800
|
-
|
|
5801
|
-
if (
|
|
5962
|
+
_this54 = _super25.call(this, id, server || Server["default"]());
|
|
5963
|
+
if (_this54.constructor === FileBase) {
|
|
5802
5964
|
throw new Error("FileBase is abstract and cannot be created");
|
|
5803
5965
|
}
|
|
5804
|
-
return
|
|
5966
|
+
return _this54;
|
|
5805
5967
|
}
|
|
5806
5968
|
_createClass(FileBase, [{
|
|
5807
5969
|
key: "sourcePath",
|
|
@@ -5856,14 +6018,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5856
6018
|
}(PlattarBase);
|
|
5857
6019
|
module.exports = FileBase;
|
|
5858
6020
|
}, {
|
|
5859
|
-
"../../server/plattar-server.js":
|
|
5860
|
-
"../interfaces/plattar-base.js":
|
|
5861
|
-
"./file-audio.js":
|
|
5862
|
-
"./file-image.js":
|
|
5863
|
-
"./file-model.js":
|
|
5864
|
-
"./file-video.js":
|
|
6021
|
+
"../../server/plattar-server.js": 46,
|
|
6022
|
+
"../interfaces/plattar-base.js": 63,
|
|
6023
|
+
"./file-audio.js": 57,
|
|
6024
|
+
"./file-image.js": 59,
|
|
6025
|
+
"./file-model.js": 60,
|
|
6026
|
+
"./file-video.js": 62
|
|
5865
6027
|
}],
|
|
5866
|
-
|
|
6028
|
+
59: [function (require, module, exports) {
|
|
5867
6029
|
var FileBase = require("./file-base.js");
|
|
5868
6030
|
var FileImage = /*#__PURE__*/function (_FileBase2) {
|
|
5869
6031
|
_inherits(FileImage, _FileBase2);
|
|
@@ -5882,9 +6044,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5882
6044
|
}(FileBase);
|
|
5883
6045
|
module.exports = FileImage;
|
|
5884
6046
|
}, {
|
|
5885
|
-
"./file-base.js":
|
|
6047
|
+
"./file-base.js": 58
|
|
5886
6048
|
}],
|
|
5887
|
-
|
|
6049
|
+
60: [function (require, module, exports) {
|
|
5888
6050
|
var FileBase = require("./file-base.js");
|
|
5889
6051
|
var FileModel = /*#__PURE__*/function (_FileBase3) {
|
|
5890
6052
|
_inherits(FileModel, _FileBase3);
|
|
@@ -5903,9 +6065,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5903
6065
|
}(FileBase);
|
|
5904
6066
|
module.exports = FileModel;
|
|
5905
6067
|
}, {
|
|
5906
|
-
"./file-base.js":
|
|
6068
|
+
"./file-base.js": 58
|
|
5907
6069
|
}],
|
|
5908
|
-
|
|
6070
|
+
61: [function (require, module, exports) {
|
|
5909
6071
|
var FileBase = require("./file-base.js");
|
|
5910
6072
|
var FileScript = /*#__PURE__*/function (_FileBase4) {
|
|
5911
6073
|
_inherits(FileScript, _FileBase4);
|
|
@@ -5924,9 +6086,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5924
6086
|
}(FileBase);
|
|
5925
6087
|
module.exports = FileScript;
|
|
5926
6088
|
}, {
|
|
5927
|
-
"./file-base.js":
|
|
6089
|
+
"./file-base.js": 58
|
|
5928
6090
|
}],
|
|
5929
|
-
|
|
6091
|
+
62: [function (require, module, exports) {
|
|
5930
6092
|
var FileBase = require("./file-base.js");
|
|
5931
6093
|
var FileVideo = /*#__PURE__*/function (_FileBase5) {
|
|
5932
6094
|
_inherits(FileVideo, _FileBase5);
|
|
@@ -5945,31 +6107,31 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5945
6107
|
}(FileBase);
|
|
5946
6108
|
module.exports = FileVideo;
|
|
5947
6109
|
}, {
|
|
5948
|
-
"./file-base.js":
|
|
6110
|
+
"./file-base.js": 58
|
|
5949
6111
|
}],
|
|
5950
|
-
|
|
6112
|
+
63: [function (require, module, exports) {
|
|
5951
6113
|
var PlattarObject = require("./plattar-object.js");
|
|
5952
6114
|
var Server = require("../../server/plattar-server.js");
|
|
5953
6115
|
var PlattarBase = /*#__PURE__*/function (_PlattarObject) {
|
|
5954
6116
|
_inherits(PlattarBase, _PlattarObject);
|
|
5955
6117
|
var _super30 = _createSuper(PlattarBase);
|
|
5956
6118
|
function PlattarBase(id, server) {
|
|
5957
|
-
var
|
|
6119
|
+
var _this55;
|
|
5958
6120
|
_classCallCheck(this, PlattarBase);
|
|
5959
|
-
|
|
5960
|
-
if (
|
|
6121
|
+
_this55 = _super30.call(this, id, server || Server["default"]());
|
|
6122
|
+
if (_this55.constructor === PlattarBase) {
|
|
5961
6123
|
throw new Error("PlattarBase is abstract and cannot be created");
|
|
5962
6124
|
}
|
|
5963
|
-
return
|
|
6125
|
+
return _this55;
|
|
5964
6126
|
}
|
|
5965
6127
|
return _createClass(PlattarBase);
|
|
5966
6128
|
}(PlattarObject);
|
|
5967
6129
|
module.exports = PlattarBase;
|
|
5968
6130
|
}, {
|
|
5969
|
-
"../../server/plattar-server.js":
|
|
5970
|
-
"./plattar-object.js":
|
|
6131
|
+
"../../server/plattar-server.js": 46,
|
|
6132
|
+
"./plattar-object.js": 65
|
|
5971
6133
|
}],
|
|
5972
|
-
|
|
6134
|
+
64: [function (require, module, exports) {
|
|
5973
6135
|
/**
|
|
5974
6136
|
* Handles the list of relationships for the provided object
|
|
5975
6137
|
*/
|
|
@@ -6027,7 +6189,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6027
6189
|
}, {
|
|
6028
6190
|
key: "filter",
|
|
6029
6191
|
value: function filter(obj, id) {
|
|
6030
|
-
var
|
|
6192
|
+
var _this56 = this;
|
|
6031
6193
|
if (!obj) {
|
|
6032
6194
|
return [];
|
|
6033
6195
|
}
|
|
@@ -6043,7 +6205,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6043
6205
|
if (Array.isArray(type)) {
|
|
6044
6206
|
var compiledList = [];
|
|
6045
6207
|
type.forEach(function (inObject) {
|
|
6046
|
-
var retArray =
|
|
6208
|
+
var retArray = _this56.filter(inObject, id);
|
|
6047
6209
|
if (retArray.length > 0) {
|
|
6048
6210
|
compiledList = compiledList.concat(retArray);
|
|
6049
6211
|
}
|
|
@@ -6093,9 +6255,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6093
6255
|
}();
|
|
6094
6256
|
module.exports = PlattarObjectRelations;
|
|
6095
6257
|
}, {
|
|
6096
|
-
"../../util/plattar-util.js":
|
|
6258
|
+
"../../util/plattar-util.js": 106
|
|
6097
6259
|
}],
|
|
6098
|
-
|
|
6260
|
+
65: [function (require, module, exports) {
|
|
6099
6261
|
var PlattarQuery = require("../../server/plattar-query.js");
|
|
6100
6262
|
var PlattarObjectRelations = require("./plattar-object-relations.js");
|
|
6101
6263
|
var PlattarObject = /*#__PURE__*/function () {
|
|
@@ -6231,7 +6393,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6231
6393
|
}, {
|
|
6232
6394
|
key: "include",
|
|
6233
6395
|
value: function include() {
|
|
6234
|
-
var
|
|
6396
|
+
var _this57 = this;
|
|
6235
6397
|
for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
6236
6398
|
args[_key6] = arguments[_key6];
|
|
6237
6399
|
}
|
|
@@ -6244,15 +6406,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6244
6406
|
if (Array.isArray(obj)) {
|
|
6245
6407
|
obj.forEach(function (strObject) {
|
|
6246
6408
|
if (typeof strObject === "string" || strObject instanceof String) {
|
|
6247
|
-
includes.push("".concat(
|
|
6409
|
+
includes.push("".concat(_this57.type(), ".").concat(strObject));
|
|
6248
6410
|
} else {
|
|
6249
|
-
throw new Error("PlattarObject." +
|
|
6411
|
+
throw new Error("PlattarObject." + _this57.type() + ".include(...args) - argument of Array must only include Strings");
|
|
6250
6412
|
}
|
|
6251
6413
|
});
|
|
6252
6414
|
} else if (obj.prototype instanceof PlattarObject) {
|
|
6253
|
-
includes.push("".concat(
|
|
6415
|
+
includes.push("".concat(_this57.type(), ".").concat(obj.type()));
|
|
6254
6416
|
} else {
|
|
6255
|
-
throw new Error("PlattarObject." +
|
|
6417
|
+
throw new Error("PlattarObject." + _this57.type() + ".include(...args) - argument must be of type PlattarObject or Array but was type=" + _typeof(obj) + " value=" + obj);
|
|
6256
6418
|
}
|
|
6257
6419
|
});
|
|
6258
6420
|
return includes;
|
|
@@ -6262,10 +6424,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6262
6424
|
}();
|
|
6263
6425
|
module.exports = PlattarObject;
|
|
6264
6426
|
}, {
|
|
6265
|
-
"../../server/plattar-query.js":
|
|
6266
|
-
"./plattar-object-relations.js":
|
|
6427
|
+
"../../server/plattar-query.js": 45,
|
|
6428
|
+
"./plattar-object-relations.js": 64
|
|
6267
6429
|
}],
|
|
6268
|
-
|
|
6430
|
+
66: [function (require, module, exports) {
|
|
6269
6431
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6270
6432
|
var ApplicationBuild = /*#__PURE__*/function (_PlattarBase12) {
|
|
6271
6433
|
_inherits(ApplicationBuild, _PlattarBase12);
|
|
@@ -6284,9 +6446,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6284
6446
|
}(PlattarBase);
|
|
6285
6447
|
module.exports = ApplicationBuild;
|
|
6286
6448
|
}, {
|
|
6287
|
-
"../interfaces/plattar-base.js":
|
|
6449
|
+
"../interfaces/plattar-base.js": 63
|
|
6288
6450
|
}],
|
|
6289
|
-
|
|
6451
|
+
67: [function (require, module, exports) {
|
|
6290
6452
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6291
6453
|
var AssetLibrary = /*#__PURE__*/function (_PlattarBase13) {
|
|
6292
6454
|
_inherits(AssetLibrary, _PlattarBase13);
|
|
@@ -6305,9 +6467,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6305
6467
|
}(PlattarBase);
|
|
6306
6468
|
module.exports = AssetLibrary;
|
|
6307
6469
|
}, {
|
|
6308
|
-
"../interfaces/plattar-base.js":
|
|
6470
|
+
"../interfaces/plattar-base.js": 63
|
|
6309
6471
|
}],
|
|
6310
|
-
|
|
6472
|
+
68: [function (require, module, exports) {
|
|
6311
6473
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6312
6474
|
var AsyncJob = /*#__PURE__*/function (_PlattarBase14) {
|
|
6313
6475
|
_inherits(AsyncJob, _PlattarBase14);
|
|
@@ -6331,9 +6493,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6331
6493
|
}(PlattarBase);
|
|
6332
6494
|
module.exports = AsyncJob;
|
|
6333
6495
|
}, {
|
|
6334
|
-
"../interfaces/plattar-base.js":
|
|
6496
|
+
"../interfaces/plattar-base.js": 63
|
|
6335
6497
|
}],
|
|
6336
|
-
|
|
6498
|
+
69: [function (require, module, exports) {
|
|
6337
6499
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6338
6500
|
var ScriptEvent = /*#__PURE__*/function (_PlattarBase15) {
|
|
6339
6501
|
_inherits(ScriptEvent, _PlattarBase15);
|
|
@@ -6352,9 +6514,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6352
6514
|
}(PlattarBase);
|
|
6353
6515
|
module.exports = ScriptEvent;
|
|
6354
6516
|
}, {
|
|
6355
|
-
"../interfaces/plattar-base.js":
|
|
6517
|
+
"../interfaces/plattar-base.js": 63
|
|
6356
6518
|
}],
|
|
6357
|
-
|
|
6519
|
+
70: [function (require, module, exports) {
|
|
6358
6520
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6359
6521
|
var Tag = /*#__PURE__*/function (_PlattarBase16) {
|
|
6360
6522
|
_inherits(Tag, _PlattarBase16);
|
|
@@ -6373,22 +6535,22 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6373
6535
|
}(PlattarBase);
|
|
6374
6536
|
module.exports = Tag;
|
|
6375
6537
|
}, {
|
|
6376
|
-
"../interfaces/plattar-base.js":
|
|
6538
|
+
"../interfaces/plattar-base.js": 63
|
|
6377
6539
|
}],
|
|
6378
|
-
|
|
6540
|
+
71: [function (require, module, exports) {
|
|
6379
6541
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6380
6542
|
var Server = require("../../server/plattar-server.js");
|
|
6381
6543
|
var CardBase = /*#__PURE__*/function (_PlattarBase17) {
|
|
6382
6544
|
_inherits(CardBase, _PlattarBase17);
|
|
6383
6545
|
var _super36 = _createSuper(CardBase);
|
|
6384
6546
|
function CardBase(id, server) {
|
|
6385
|
-
var
|
|
6547
|
+
var _this58;
|
|
6386
6548
|
_classCallCheck(this, CardBase);
|
|
6387
|
-
|
|
6388
|
-
if (
|
|
6549
|
+
_this58 = _super36.call(this, id, server || Server["default"]());
|
|
6550
|
+
if (_this58.constructor === CardBase) {
|
|
6389
6551
|
throw new Error("CardBase is abstract and cannot be created");
|
|
6390
6552
|
}
|
|
6391
|
-
return
|
|
6553
|
+
return _this58;
|
|
6392
6554
|
}
|
|
6393
6555
|
_createClass(CardBase, null, [{
|
|
6394
6556
|
key: "type",
|
|
@@ -6411,21 +6573,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6411
6573
|
}(PlattarBase);
|
|
6412
6574
|
module.exports = CardBase;
|
|
6413
6575
|
}, {
|
|
6414
|
-
"../../server/plattar-server.js":
|
|
6415
|
-
"../interfaces/plattar-base.js":
|
|
6416
|
-
"./card-button.js":
|
|
6417
|
-
"./card-html.js":
|
|
6418
|
-
"./card-iframe.js":
|
|
6419
|
-
"./card-image.js":
|
|
6420
|
-
"./card-map.js":
|
|
6421
|
-
"./card-paragraph.js":
|
|
6422
|
-
"./card-row.js":
|
|
6423
|
-
"./card-slider.js":
|
|
6424
|
-
"./card-title.js":
|
|
6425
|
-
"./card-video.js":
|
|
6426
|
-
"./card-youtube.js":
|
|
6576
|
+
"../../server/plattar-server.js": 46,
|
|
6577
|
+
"../interfaces/plattar-base.js": 63,
|
|
6578
|
+
"./card-button.js": 72,
|
|
6579
|
+
"./card-html.js": 73,
|
|
6580
|
+
"./card-iframe.js": 74,
|
|
6581
|
+
"./card-image.js": 75,
|
|
6582
|
+
"./card-map.js": 76,
|
|
6583
|
+
"./card-paragraph.js": 77,
|
|
6584
|
+
"./card-row.js": 78,
|
|
6585
|
+
"./card-slider.js": 79,
|
|
6586
|
+
"./card-title.js": 80,
|
|
6587
|
+
"./card-video.js": 81,
|
|
6588
|
+
"./card-youtube.js": 82
|
|
6427
6589
|
}],
|
|
6428
|
-
|
|
6590
|
+
72: [function (require, module, exports) {
|
|
6429
6591
|
var CardBase = require("./card-base.js");
|
|
6430
6592
|
var CardButton = /*#__PURE__*/function (_CardBase) {
|
|
6431
6593
|
_inherits(CardButton, _CardBase);
|
|
@@ -6444,9 +6606,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6444
6606
|
}(CardBase);
|
|
6445
6607
|
module.exports = CardButton;
|
|
6446
6608
|
}, {
|
|
6447
|
-
"./card-base.js":
|
|
6609
|
+
"./card-base.js": 71
|
|
6448
6610
|
}],
|
|
6449
|
-
|
|
6611
|
+
73: [function (require, module, exports) {
|
|
6450
6612
|
var CardBase = require("./card-base.js");
|
|
6451
6613
|
var CardHTML = /*#__PURE__*/function (_CardBase2) {
|
|
6452
6614
|
_inherits(CardHTML, _CardBase2);
|
|
@@ -6465,9 +6627,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6465
6627
|
}(CardBase);
|
|
6466
6628
|
module.exports = CardHTML;
|
|
6467
6629
|
}, {
|
|
6468
|
-
"./card-base.js":
|
|
6630
|
+
"./card-base.js": 71
|
|
6469
6631
|
}],
|
|
6470
|
-
|
|
6632
|
+
74: [function (require, module, exports) {
|
|
6471
6633
|
var CardBase = require("./card-base.js");
|
|
6472
6634
|
var CardIFrame = /*#__PURE__*/function (_CardBase3) {
|
|
6473
6635
|
_inherits(CardIFrame, _CardBase3);
|
|
@@ -6486,9 +6648,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6486
6648
|
}(CardBase);
|
|
6487
6649
|
module.exports = CardIFrame;
|
|
6488
6650
|
}, {
|
|
6489
|
-
"./card-base.js":
|
|
6651
|
+
"./card-base.js": 71
|
|
6490
6652
|
}],
|
|
6491
|
-
|
|
6653
|
+
75: [function (require, module, exports) {
|
|
6492
6654
|
var CardBase = require("./card-base.js");
|
|
6493
6655
|
var CardImage = /*#__PURE__*/function (_CardBase4) {
|
|
6494
6656
|
_inherits(CardImage, _CardBase4);
|
|
@@ -6507,9 +6669,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6507
6669
|
}(CardBase);
|
|
6508
6670
|
module.exports = CardImage;
|
|
6509
6671
|
}, {
|
|
6510
|
-
"./card-base.js":
|
|
6672
|
+
"./card-base.js": 71
|
|
6511
6673
|
}],
|
|
6512
|
-
|
|
6674
|
+
76: [function (require, module, exports) {
|
|
6513
6675
|
var CardBase = require("./card-base.js");
|
|
6514
6676
|
var CardMap = /*#__PURE__*/function (_CardBase5) {
|
|
6515
6677
|
_inherits(CardMap, _CardBase5);
|
|
@@ -6528,9 +6690,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6528
6690
|
}(CardBase);
|
|
6529
6691
|
module.exports = CardMap;
|
|
6530
6692
|
}, {
|
|
6531
|
-
"./card-base.js":
|
|
6693
|
+
"./card-base.js": 71
|
|
6532
6694
|
}],
|
|
6533
|
-
|
|
6695
|
+
77: [function (require, module, exports) {
|
|
6534
6696
|
var CardBase = require("./card-base.js");
|
|
6535
6697
|
var CardParagraph = /*#__PURE__*/function (_CardBase6) {
|
|
6536
6698
|
_inherits(CardParagraph, _CardBase6);
|
|
@@ -6549,9 +6711,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6549
6711
|
}(CardBase);
|
|
6550
6712
|
module.exports = CardParagraph;
|
|
6551
6713
|
}, {
|
|
6552
|
-
"./card-base.js":
|
|
6714
|
+
"./card-base.js": 71
|
|
6553
6715
|
}],
|
|
6554
|
-
|
|
6716
|
+
78: [function (require, module, exports) {
|
|
6555
6717
|
var CardBase = require("./card-base.js");
|
|
6556
6718
|
var CardRow = /*#__PURE__*/function (_CardBase7) {
|
|
6557
6719
|
_inherits(CardRow, _CardBase7);
|
|
@@ -6570,9 +6732,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6570
6732
|
}(CardBase);
|
|
6571
6733
|
module.exports = CardRow;
|
|
6572
6734
|
}, {
|
|
6573
|
-
"./card-base.js":
|
|
6735
|
+
"./card-base.js": 71
|
|
6574
6736
|
}],
|
|
6575
|
-
|
|
6737
|
+
79: [function (require, module, exports) {
|
|
6576
6738
|
var CardBase = require("./card-base.js");
|
|
6577
6739
|
var CardSlider = /*#__PURE__*/function (_CardBase8) {
|
|
6578
6740
|
_inherits(CardSlider, _CardBase8);
|
|
@@ -6591,9 +6753,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6591
6753
|
}(CardBase);
|
|
6592
6754
|
module.exports = CardSlider;
|
|
6593
6755
|
}, {
|
|
6594
|
-
"./card-base.js":
|
|
6756
|
+
"./card-base.js": 71
|
|
6595
6757
|
}],
|
|
6596
|
-
|
|
6758
|
+
80: [function (require, module, exports) {
|
|
6597
6759
|
var CardBase = require("./card-base.js");
|
|
6598
6760
|
var CardTitle = /*#__PURE__*/function (_CardBase9) {
|
|
6599
6761
|
_inherits(CardTitle, _CardBase9);
|
|
@@ -6612,9 +6774,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6612
6774
|
}(CardBase);
|
|
6613
6775
|
module.exports = CardTitle;
|
|
6614
6776
|
}, {
|
|
6615
|
-
"./card-base.js":
|
|
6777
|
+
"./card-base.js": 71
|
|
6616
6778
|
}],
|
|
6617
|
-
|
|
6779
|
+
81: [function (require, module, exports) {
|
|
6618
6780
|
var CardBase = require("./card-base.js");
|
|
6619
6781
|
var CardVideo = /*#__PURE__*/function (_CardBase10) {
|
|
6620
6782
|
_inherits(CardVideo, _CardBase10);
|
|
@@ -6633,9 +6795,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6633
6795
|
}(CardBase);
|
|
6634
6796
|
module.exports = CardVideo;
|
|
6635
6797
|
}, {
|
|
6636
|
-
"./card-base.js":
|
|
6798
|
+
"./card-base.js": 71
|
|
6637
6799
|
}],
|
|
6638
|
-
|
|
6800
|
+
82: [function (require, module, exports) {
|
|
6639
6801
|
var CardBase = require("./card-base.js");
|
|
6640
6802
|
var CardYoutube = /*#__PURE__*/function (_CardBase11) {
|
|
6641
6803
|
_inherits(CardYoutube, _CardBase11);
|
|
@@ -6654,9 +6816,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6654
6816
|
}(CardBase);
|
|
6655
6817
|
module.exports = CardYoutube;
|
|
6656
6818
|
}, {
|
|
6657
|
-
"./card-base.js":
|
|
6819
|
+
"./card-base.js": 71
|
|
6658
6820
|
}],
|
|
6659
|
-
|
|
6821
|
+
83: [function (require, module, exports) {
|
|
6660
6822
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6661
6823
|
var Page = /*#__PURE__*/function (_PlattarBase18) {
|
|
6662
6824
|
_inherits(Page, _PlattarBase18);
|
|
@@ -6675,9 +6837,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6675
6837
|
}(PlattarBase);
|
|
6676
6838
|
module.exports = Page;
|
|
6677
6839
|
}, {
|
|
6678
|
-
"../interfaces/plattar-base.js":
|
|
6840
|
+
"../interfaces/plattar-base.js": 63
|
|
6679
6841
|
}],
|
|
6680
|
-
|
|
6842
|
+
84: [function (require, module, exports) {
|
|
6681
6843
|
var ProductBase = require("./product-base.js");
|
|
6682
6844
|
var ProductAnnotation = /*#__PURE__*/function (_ProductBase) {
|
|
6683
6845
|
_inherits(ProductAnnotation, _ProductBase);
|
|
@@ -6696,22 +6858,22 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6696
6858
|
}(ProductBase);
|
|
6697
6859
|
module.exports = ProductAnnotation;
|
|
6698
6860
|
}, {
|
|
6699
|
-
"./product-base.js":
|
|
6861
|
+
"./product-base.js": 85
|
|
6700
6862
|
}],
|
|
6701
|
-
|
|
6863
|
+
85: [function (require, module, exports) {
|
|
6702
6864
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6703
6865
|
var Server = require("../../server/plattar-server.js");
|
|
6704
6866
|
var ProductBase = /*#__PURE__*/function (_PlattarBase19) {
|
|
6705
6867
|
_inherits(ProductBase, _PlattarBase19);
|
|
6706
6868
|
var _super50 = _createSuper(ProductBase);
|
|
6707
6869
|
function ProductBase(id, server) {
|
|
6708
|
-
var
|
|
6870
|
+
var _this59;
|
|
6709
6871
|
_classCallCheck(this, ProductBase);
|
|
6710
|
-
|
|
6711
|
-
if (
|
|
6872
|
+
_this59 = _super50.call(this, id, server || Server["default"]());
|
|
6873
|
+
if (_this59.constructor === ProductBase) {
|
|
6712
6874
|
throw new Error("ProductBase is abstract and cannot be created");
|
|
6713
6875
|
}
|
|
6714
|
-
return
|
|
6876
|
+
return _this59;
|
|
6715
6877
|
}
|
|
6716
6878
|
_createClass(ProductBase, null, [{
|
|
6717
6879
|
key: "type",
|
|
@@ -6725,12 +6887,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6725
6887
|
}(PlattarBase);
|
|
6726
6888
|
module.exports = ProductBase;
|
|
6727
6889
|
}, {
|
|
6728
|
-
"../../server/plattar-server.js":
|
|
6729
|
-
"../interfaces/plattar-base.js":
|
|
6730
|
-
"./product-annotation.js":
|
|
6731
|
-
"./product-variation.js":
|
|
6890
|
+
"../../server/plattar-server.js": 46,
|
|
6891
|
+
"../interfaces/plattar-base.js": 63,
|
|
6892
|
+
"./product-annotation.js": 84,
|
|
6893
|
+
"./product-variation.js": 86
|
|
6732
6894
|
}],
|
|
6733
|
-
|
|
6895
|
+
86: [function (require, module, exports) {
|
|
6734
6896
|
var ProductBase = require("./product-base.js");
|
|
6735
6897
|
var ProductVariation = /*#__PURE__*/function (_ProductBase2) {
|
|
6736
6898
|
_inherits(ProductVariation, _ProductBase2);
|
|
@@ -6749,9 +6911,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6749
6911
|
}(ProductBase);
|
|
6750
6912
|
module.exports = ProductVariation;
|
|
6751
6913
|
}, {
|
|
6752
|
-
"./product-base.js":
|
|
6914
|
+
"./product-base.js": 85
|
|
6753
6915
|
}],
|
|
6754
|
-
|
|
6916
|
+
87: [function (require, module, exports) {
|
|
6755
6917
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6756
6918
|
var Product = /*#__PURE__*/function (_PlattarBase20) {
|
|
6757
6919
|
_inherits(Product, _PlattarBase20);
|
|
@@ -6770,9 +6932,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6770
6932
|
}(PlattarBase);
|
|
6771
6933
|
module.exports = Product;
|
|
6772
6934
|
}, {
|
|
6773
|
-
"../interfaces/plattar-base.js":
|
|
6935
|
+
"../interfaces/plattar-base.js": 63
|
|
6774
6936
|
}],
|
|
6775
|
-
|
|
6937
|
+
88: [function (require, module, exports) {
|
|
6776
6938
|
var SceneBase = require("./scene-base.js");
|
|
6777
6939
|
var SceneAnnotation = /*#__PURE__*/function (_SceneBase) {
|
|
6778
6940
|
_inherits(SceneAnnotation, _SceneBase);
|
|
@@ -6791,9 +6953,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6791
6953
|
}(SceneBase);
|
|
6792
6954
|
module.exports = SceneAnnotation;
|
|
6793
6955
|
}, {
|
|
6794
|
-
"./scene-base.js":
|
|
6956
|
+
"./scene-base.js": 90
|
|
6795
6957
|
}],
|
|
6796
|
-
|
|
6958
|
+
89: [function (require, module, exports) {
|
|
6797
6959
|
var SceneBase = require("./scene-base.js");
|
|
6798
6960
|
var SceneAudio = /*#__PURE__*/function (_SceneBase2) {
|
|
6799
6961
|
_inherits(SceneAudio, _SceneBase2);
|
|
@@ -6812,22 +6974,22 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6812
6974
|
}(SceneBase);
|
|
6813
6975
|
module.exports = SceneAudio;
|
|
6814
6976
|
}, {
|
|
6815
|
-
"./scene-base.js":
|
|
6977
|
+
"./scene-base.js": 90
|
|
6816
6978
|
}],
|
|
6817
|
-
|
|
6979
|
+
90: [function (require, module, exports) {
|
|
6818
6980
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6819
6981
|
var Server = require("../../server/plattar-server.js");
|
|
6820
6982
|
var SceneBase = /*#__PURE__*/function (_PlattarBase21) {
|
|
6821
6983
|
_inherits(SceneBase, _PlattarBase21);
|
|
6822
6984
|
var _super55 = _createSuper(SceneBase);
|
|
6823
6985
|
function SceneBase(id, server) {
|
|
6824
|
-
var
|
|
6986
|
+
var _this60;
|
|
6825
6987
|
_classCallCheck(this, SceneBase);
|
|
6826
|
-
|
|
6827
|
-
if (
|
|
6988
|
+
_this60 = _super55.call(this, id, server || Server["default"]());
|
|
6989
|
+
if (_this60.constructor === SceneBase) {
|
|
6828
6990
|
throw new Error("SceneBase is abstract and cannot be created");
|
|
6829
6991
|
}
|
|
6830
|
-
return
|
|
6992
|
+
return _this60;
|
|
6831
6993
|
}
|
|
6832
6994
|
_createClass(SceneBase, null, [{
|
|
6833
6995
|
key: "type",
|
|
@@ -6853,24 +7015,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6853
7015
|
}(PlattarBase);
|
|
6854
7016
|
module.exports = SceneBase;
|
|
6855
7017
|
}, {
|
|
6856
|
-
"../../server/plattar-server.js":
|
|
6857
|
-
"../interfaces/plattar-base.js":
|
|
6858
|
-
"./scene-annotation.js":
|
|
6859
|
-
"./scene-audio.js":
|
|
6860
|
-
"./scene-button.js":
|
|
6861
|
-
"./scene-camera.js":
|
|
6862
|
-
"./scene-carousel.js":
|
|
6863
|
-
"./scene-image.js":
|
|
6864
|
-
"./scene-model.js":
|
|
6865
|
-
"./scene-panorama.js":
|
|
6866
|
-
"./scene-poller.js":
|
|
6867
|
-
"./scene-product.js":
|
|
6868
|
-
"./scene-shadow.js":
|
|
6869
|
-
"./scene-video.js":
|
|
6870
|
-
"./scene-volumetric.js":
|
|
6871
|
-
"./scene-youtube.js":
|
|
7018
|
+
"../../server/plattar-server.js": 46,
|
|
7019
|
+
"../interfaces/plattar-base.js": 63,
|
|
7020
|
+
"./scene-annotation.js": 88,
|
|
7021
|
+
"./scene-audio.js": 89,
|
|
7022
|
+
"./scene-button.js": 91,
|
|
7023
|
+
"./scene-camera.js": 92,
|
|
7024
|
+
"./scene-carousel.js": 93,
|
|
7025
|
+
"./scene-image.js": 94,
|
|
7026
|
+
"./scene-model.js": 95,
|
|
7027
|
+
"./scene-panorama.js": 96,
|
|
7028
|
+
"./scene-poller.js": 97,
|
|
7029
|
+
"./scene-product.js": 98,
|
|
7030
|
+
"./scene-shadow.js": 100,
|
|
7031
|
+
"./scene-video.js": 101,
|
|
7032
|
+
"./scene-volumetric.js": 102,
|
|
7033
|
+
"./scene-youtube.js": 103
|
|
6872
7034
|
}],
|
|
6873
|
-
|
|
7035
|
+
91: [function (require, module, exports) {
|
|
6874
7036
|
var SceneBase = require("./scene-base.js");
|
|
6875
7037
|
var SceneButton = /*#__PURE__*/function (_SceneBase3) {
|
|
6876
7038
|
_inherits(SceneButton, _SceneBase3);
|
|
@@ -6889,9 +7051,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6889
7051
|
}(SceneBase);
|
|
6890
7052
|
module.exports = SceneButton;
|
|
6891
7053
|
}, {
|
|
6892
|
-
"./scene-base.js":
|
|
7054
|
+
"./scene-base.js": 90
|
|
6893
7055
|
}],
|
|
6894
|
-
|
|
7056
|
+
92: [function (require, module, exports) {
|
|
6895
7057
|
var SceneBase = require("./scene-base.js");
|
|
6896
7058
|
var SceneCamera = /*#__PURE__*/function (_SceneBase4) {
|
|
6897
7059
|
_inherits(SceneCamera, _SceneBase4);
|
|
@@ -6910,9 +7072,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6910
7072
|
}(SceneBase);
|
|
6911
7073
|
module.exports = SceneCamera;
|
|
6912
7074
|
}, {
|
|
6913
|
-
"./scene-base.js":
|
|
7075
|
+
"./scene-base.js": 90
|
|
6914
7076
|
}],
|
|
6915
|
-
|
|
7077
|
+
93: [function (require, module, exports) {
|
|
6916
7078
|
var SceneBase = require("./scene-base.js");
|
|
6917
7079
|
var SceneCarousel = /*#__PURE__*/function (_SceneBase5) {
|
|
6918
7080
|
_inherits(SceneCarousel, _SceneBase5);
|
|
@@ -6931,9 +7093,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6931
7093
|
}(SceneBase);
|
|
6932
7094
|
module.exports = SceneCarousel;
|
|
6933
7095
|
}, {
|
|
6934
|
-
"./scene-base.js":
|
|
7096
|
+
"./scene-base.js": 90
|
|
6935
7097
|
}],
|
|
6936
|
-
|
|
7098
|
+
94: [function (require, module, exports) {
|
|
6937
7099
|
var SceneBase = require("./scene-base.js");
|
|
6938
7100
|
var SceneImage = /*#__PURE__*/function (_SceneBase6) {
|
|
6939
7101
|
_inherits(SceneImage, _SceneBase6);
|
|
@@ -6952,9 +7114,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6952
7114
|
}(SceneBase);
|
|
6953
7115
|
module.exports = SceneImage;
|
|
6954
7116
|
}, {
|
|
6955
|
-
"./scene-base.js":
|
|
7117
|
+
"./scene-base.js": 90
|
|
6956
7118
|
}],
|
|
6957
|
-
|
|
7119
|
+
95: [function (require, module, exports) {
|
|
6958
7120
|
var SceneBase = require("./scene-base.js");
|
|
6959
7121
|
var SceneModel = /*#__PURE__*/function (_SceneBase7) {
|
|
6960
7122
|
_inherits(SceneModel, _SceneBase7);
|
|
@@ -6973,9 +7135,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6973
7135
|
}(SceneBase);
|
|
6974
7136
|
module.exports = SceneModel;
|
|
6975
7137
|
}, {
|
|
6976
|
-
"./scene-base.js":
|
|
7138
|
+
"./scene-base.js": 90
|
|
6977
7139
|
}],
|
|
6978
|
-
|
|
7140
|
+
96: [function (require, module, exports) {
|
|
6979
7141
|
var SceneBase = require("./scene-base.js");
|
|
6980
7142
|
var ScenePanorama = /*#__PURE__*/function (_SceneBase8) {
|
|
6981
7143
|
_inherits(ScenePanorama, _SceneBase8);
|
|
@@ -6994,9 +7156,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6994
7156
|
}(SceneBase);
|
|
6995
7157
|
module.exports = ScenePanorama;
|
|
6996
7158
|
}, {
|
|
6997
|
-
"./scene-base.js":
|
|
7159
|
+
"./scene-base.js": 90
|
|
6998
7160
|
}],
|
|
6999
|
-
|
|
7161
|
+
97: [function (require, module, exports) {
|
|
7000
7162
|
var SceneBase = require("./scene-base.js");
|
|
7001
7163
|
var ScenePoller = /*#__PURE__*/function (_SceneBase9) {
|
|
7002
7164
|
_inherits(ScenePoller, _SceneBase9);
|
|
@@ -7015,9 +7177,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7015
7177
|
}(SceneBase);
|
|
7016
7178
|
module.exports = ScenePoller;
|
|
7017
7179
|
}, {
|
|
7018
|
-
"./scene-base.js":
|
|
7180
|
+
"./scene-base.js": 90
|
|
7019
7181
|
}],
|
|
7020
|
-
|
|
7182
|
+
98: [function (require, module, exports) {
|
|
7021
7183
|
var SceneBase = require("./scene-base.js");
|
|
7022
7184
|
var SceneProduct = /*#__PURE__*/function (_SceneBase10) {
|
|
7023
7185
|
_inherits(SceneProduct, _SceneBase10);
|
|
@@ -7036,9 +7198,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7036
7198
|
}(SceneBase);
|
|
7037
7199
|
module.exports = SceneProduct;
|
|
7038
7200
|
}, {
|
|
7039
|
-
"./scene-base.js":
|
|
7201
|
+
"./scene-base.js": 90
|
|
7040
7202
|
}],
|
|
7041
|
-
|
|
7203
|
+
99: [function (require, module, exports) {
|
|
7042
7204
|
var SceneBase = require("./scene-base.js");
|
|
7043
7205
|
var SceneScript = /*#__PURE__*/function (_SceneBase11) {
|
|
7044
7206
|
_inherits(SceneScript, _SceneBase11);
|
|
@@ -7057,9 +7219,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7057
7219
|
}(SceneBase);
|
|
7058
7220
|
module.exports = SceneScript;
|
|
7059
7221
|
}, {
|
|
7060
|
-
"./scene-base.js":
|
|
7222
|
+
"./scene-base.js": 90
|
|
7061
7223
|
}],
|
|
7062
|
-
|
|
7224
|
+
100: [function (require, module, exports) {
|
|
7063
7225
|
var SceneBase = require("./scene-base.js");
|
|
7064
7226
|
var SceneShadow = /*#__PURE__*/function (_SceneBase12) {
|
|
7065
7227
|
_inherits(SceneShadow, _SceneBase12);
|
|
@@ -7078,9 +7240,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7078
7240
|
}(SceneBase);
|
|
7079
7241
|
module.exports = SceneShadow;
|
|
7080
7242
|
}, {
|
|
7081
|
-
"./scene-base.js":
|
|
7243
|
+
"./scene-base.js": 90
|
|
7082
7244
|
}],
|
|
7083
|
-
|
|
7245
|
+
101: [function (require, module, exports) {
|
|
7084
7246
|
var SceneBase = require("./scene-base.js");
|
|
7085
7247
|
var SceneVideo = /*#__PURE__*/function (_SceneBase13) {
|
|
7086
7248
|
_inherits(SceneVideo, _SceneBase13);
|
|
@@ -7099,9 +7261,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7099
7261
|
}(SceneBase);
|
|
7100
7262
|
module.exports = SceneVideo;
|
|
7101
7263
|
}, {
|
|
7102
|
-
"./scene-base.js":
|
|
7264
|
+
"./scene-base.js": 90
|
|
7103
7265
|
}],
|
|
7104
|
-
|
|
7266
|
+
102: [function (require, module, exports) {
|
|
7105
7267
|
var SceneBase = require("./scene-base.js");
|
|
7106
7268
|
var SceneVolumetric = /*#__PURE__*/function (_SceneBase14) {
|
|
7107
7269
|
_inherits(SceneVolumetric, _SceneBase14);
|
|
@@ -7120,9 +7282,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7120
7282
|
}(SceneBase);
|
|
7121
7283
|
module.exports = SceneVolumetric;
|
|
7122
7284
|
}, {
|
|
7123
|
-
"./scene-base.js":
|
|
7285
|
+
"./scene-base.js": 90
|
|
7124
7286
|
}],
|
|
7125
|
-
|
|
7287
|
+
103: [function (require, module, exports) {
|
|
7126
7288
|
var SceneBase = require("./scene-base.js");
|
|
7127
7289
|
var SceneYoutube = /*#__PURE__*/function (_SceneBase15) {
|
|
7128
7290
|
_inherits(SceneYoutube, _SceneBase15);
|
|
@@ -7141,9 +7303,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7141
7303
|
}(SceneBase);
|
|
7142
7304
|
module.exports = SceneYoutube;
|
|
7143
7305
|
}, {
|
|
7144
|
-
"./scene-base.js":
|
|
7306
|
+
"./scene-base.js": 90
|
|
7145
7307
|
}],
|
|
7146
|
-
|
|
7308
|
+
104: [function (require, module, exports) {
|
|
7147
7309
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7148
7310
|
var Scene = /*#__PURE__*/function (_PlattarBase22) {
|
|
7149
7311
|
_inherits(Scene, _PlattarBase22);
|
|
@@ -7162,9 +7324,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7162
7324
|
}(PlattarBase);
|
|
7163
7325
|
module.exports = Scene;
|
|
7164
7326
|
}, {
|
|
7165
|
-
"../interfaces/plattar-base.js":
|
|
7327
|
+
"../interfaces/plattar-base.js": 63
|
|
7166
7328
|
}],
|
|
7167
|
-
|
|
7329
|
+
105: [function (require, module, exports) {
|
|
7168
7330
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7169
7331
|
var TriggerImage = /*#__PURE__*/function (_PlattarBase23) {
|
|
7170
7332
|
_inherits(TriggerImage, _PlattarBase23);
|
|
@@ -7183,9 +7345,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7183
7345
|
}(PlattarBase);
|
|
7184
7346
|
module.exports = TriggerImage;
|
|
7185
7347
|
}, {
|
|
7186
|
-
"../interfaces/plattar-base.js":
|
|
7348
|
+
"../interfaces/plattar-base.js": 63
|
|
7187
7349
|
}],
|
|
7188
|
-
|
|
7350
|
+
106: [function (require, module, exports) {
|
|
7189
7351
|
var Application = require("../types/application.js");
|
|
7190
7352
|
|
|
7191
7353
|
// import Scene types and its children
|
|
@@ -7460,64 +7622,64 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7460
7622
|
};
|
|
7461
7623
|
module.exports = PlattarUtil;
|
|
7462
7624
|
}, {
|
|
7463
|
-
"../types/application.js":
|
|
7464
|
-
"../types/content-pipeline/brief.js":
|
|
7465
|
-
"../types/content-pipeline/comment-brief.js":
|
|
7466
|
-
"../types/content-pipeline/comment-quote.js":
|
|
7467
|
-
"../types/content-pipeline/comment-solution.js":
|
|
7468
|
-
"../types/content-pipeline/folder.js":
|
|
7469
|
-
"../types/content-pipeline/pipeline-user.js":
|
|
7470
|
-
"../types/content-pipeline/quote.js":
|
|
7471
|
-
"../types/content-pipeline/rating.js":
|
|
7472
|
-
"../types/content-pipeline/solution.js":
|
|
7473
|
-
"../types/file/file-audio.js":
|
|
7474
|
-
"../types/file/file-image.js":
|
|
7475
|
-
"../types/file/file-model.js":
|
|
7476
|
-
"../types/file/file-script.js":
|
|
7477
|
-
"../types/file/file-video.js":
|
|
7478
|
-
"../types/interfaces/plattar-object.js":
|
|
7479
|
-
"../types/misc/application-build.js":
|
|
7480
|
-
"../types/misc/asset-library":
|
|
7481
|
-
"../types/misc/async-job.js":
|
|
7482
|
-
"../types/misc/script-event.js":
|
|
7483
|
-
"../types/misc/tag.js":
|
|
7484
|
-
"../types/page/card-button.js":
|
|
7485
|
-
"../types/page/card-html.js":
|
|
7486
|
-
"../types/page/card-iframe.js":
|
|
7487
|
-
"../types/page/card-image.js":
|
|
7488
|
-
"../types/page/card-map.js":
|
|
7489
|
-
"../types/page/card-paragraph.js":
|
|
7490
|
-
"../types/page/card-row.js":
|
|
7491
|
-
"../types/page/card-slider.js":
|
|
7492
|
-
"../types/page/card-title.js":
|
|
7493
|
-
"../types/page/card-video.js":
|
|
7494
|
-
"../types/page/card-youtube.js":
|
|
7495
|
-
"../types/page/page.js":
|
|
7496
|
-
"../types/product/product-annotation.js":
|
|
7497
|
-
"../types/product/product-variation.js":
|
|
7498
|
-
"../types/product/product.js":
|
|
7499
|
-
"../types/scene/scene-annotation.js":
|
|
7500
|
-
"../types/scene/scene-audio.js":
|
|
7501
|
-
"../types/scene/scene-button.js":
|
|
7502
|
-
"../types/scene/scene-camera.js":
|
|
7503
|
-
"../types/scene/scene-carousel.js":
|
|
7504
|
-
"../types/scene/scene-image.js":
|
|
7505
|
-
"../types/scene/scene-model.js":
|
|
7506
|
-
"../types/scene/scene-panorama.js":
|
|
7507
|
-
"../types/scene/scene-poller.js":
|
|
7508
|
-
"../types/scene/scene-product.js":
|
|
7509
|
-
"../types/scene/scene-script.js":
|
|
7510
|
-
"../types/scene/scene-shadow.js":
|
|
7511
|
-
"../types/scene/scene-video.js":
|
|
7512
|
-
"../types/scene/scene-volumetric.js":
|
|
7513
|
-
"../types/scene/scene-youtube.js":
|
|
7514
|
-
"../types/scene/scene.js":
|
|
7515
|
-
"../types/trigger/trigger-image.js":
|
|
7625
|
+
"../types/application.js": 47,
|
|
7626
|
+
"../types/content-pipeline/brief.js": 48,
|
|
7627
|
+
"../types/content-pipeline/comment-brief.js": 49,
|
|
7628
|
+
"../types/content-pipeline/comment-quote.js": 50,
|
|
7629
|
+
"../types/content-pipeline/comment-solution.js": 51,
|
|
7630
|
+
"../types/content-pipeline/folder.js": 52,
|
|
7631
|
+
"../types/content-pipeline/pipeline-user.js": 53,
|
|
7632
|
+
"../types/content-pipeline/quote.js": 54,
|
|
7633
|
+
"../types/content-pipeline/rating.js": 55,
|
|
7634
|
+
"../types/content-pipeline/solution.js": 56,
|
|
7635
|
+
"../types/file/file-audio.js": 57,
|
|
7636
|
+
"../types/file/file-image.js": 59,
|
|
7637
|
+
"../types/file/file-model.js": 60,
|
|
7638
|
+
"../types/file/file-script.js": 61,
|
|
7639
|
+
"../types/file/file-video.js": 62,
|
|
7640
|
+
"../types/interfaces/plattar-object.js": 65,
|
|
7641
|
+
"../types/misc/application-build.js": 66,
|
|
7642
|
+
"../types/misc/asset-library": 67,
|
|
7643
|
+
"../types/misc/async-job.js": 68,
|
|
7644
|
+
"../types/misc/script-event.js": 69,
|
|
7645
|
+
"../types/misc/tag.js": 70,
|
|
7646
|
+
"../types/page/card-button.js": 72,
|
|
7647
|
+
"../types/page/card-html.js": 73,
|
|
7648
|
+
"../types/page/card-iframe.js": 74,
|
|
7649
|
+
"../types/page/card-image.js": 75,
|
|
7650
|
+
"../types/page/card-map.js": 76,
|
|
7651
|
+
"../types/page/card-paragraph.js": 77,
|
|
7652
|
+
"../types/page/card-row.js": 78,
|
|
7653
|
+
"../types/page/card-slider.js": 79,
|
|
7654
|
+
"../types/page/card-title.js": 80,
|
|
7655
|
+
"../types/page/card-video.js": 81,
|
|
7656
|
+
"../types/page/card-youtube.js": 82,
|
|
7657
|
+
"../types/page/page.js": 83,
|
|
7658
|
+
"../types/product/product-annotation.js": 84,
|
|
7659
|
+
"../types/product/product-variation.js": 86,
|
|
7660
|
+
"../types/product/product.js": 87,
|
|
7661
|
+
"../types/scene/scene-annotation.js": 88,
|
|
7662
|
+
"../types/scene/scene-audio.js": 89,
|
|
7663
|
+
"../types/scene/scene-button.js": 91,
|
|
7664
|
+
"../types/scene/scene-camera.js": 92,
|
|
7665
|
+
"../types/scene/scene-carousel.js": 93,
|
|
7666
|
+
"../types/scene/scene-image.js": 94,
|
|
7667
|
+
"../types/scene/scene-model.js": 95,
|
|
7668
|
+
"../types/scene/scene-panorama.js": 96,
|
|
7669
|
+
"../types/scene/scene-poller.js": 97,
|
|
7670
|
+
"../types/scene/scene-product.js": 98,
|
|
7671
|
+
"../types/scene/scene-script.js": 99,
|
|
7672
|
+
"../types/scene/scene-shadow.js": 100,
|
|
7673
|
+
"../types/scene/scene-video.js": 101,
|
|
7674
|
+
"../types/scene/scene-volumetric.js": 102,
|
|
7675
|
+
"../types/scene/scene-youtube.js": 103,
|
|
7676
|
+
"../types/scene/scene.js": 104,
|
|
7677
|
+
"../types/trigger/trigger-image.js": 105
|
|
7516
7678
|
}],
|
|
7517
|
-
106: [function (require, module, exports) {
|
|
7518
|
-
module.exports = "1.148.1";
|
|
7519
|
-
}, {}],
|
|
7520
7679
|
107: [function (require, module, exports) {
|
|
7680
|
+
module.exports = "1.154.1";
|
|
7681
|
+
}, {}],
|
|
7682
|
+
108: [function (require, module, exports) {
|
|
7521
7683
|
var QRCodeStyling = require("qr-code-styling");
|
|
7522
7684
|
var hash = require("object-hash");
|
|
7523
7685
|
var BaseElement = /*#__PURE__*/function (_HTMLElement2) {
|
|
@@ -7530,15 +7692,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7530
7692
|
_createClass(BaseElement, [{
|
|
7531
7693
|
key: "connectedCallback",
|
|
7532
7694
|
value: function connectedCallback() {
|
|
7533
|
-
var
|
|
7695
|
+
var _this61 = this;
|
|
7534
7696
|
if (this.hasAttribute("url")) {
|
|
7535
7697
|
this.renderQRCode();
|
|
7536
7698
|
}
|
|
7537
7699
|
var observer = new MutationObserver(function (mutations) {
|
|
7538
7700
|
mutations.forEach(function (mutation) {
|
|
7539
7701
|
if (mutation.type === "attributes") {
|
|
7540
|
-
if (
|
|
7541
|
-
|
|
7702
|
+
if (_this61.hasAttribute("url")) {
|
|
7703
|
+
_this61.renderQRCode();
|
|
7542
7704
|
}
|
|
7543
7705
|
}
|
|
7544
7706
|
});
|
|
@@ -7561,7 +7723,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7561
7723
|
}, {
|
|
7562
7724
|
key: "renderQRCode",
|
|
7563
7725
|
value: function renderQRCode() {
|
|
7564
|
-
var
|
|
7726
|
+
var _this62 = this;
|
|
7565
7727
|
var url = this.hasAttribute("url") ? this.getAttribute("url") : undefined;
|
|
7566
7728
|
if (!url) {
|
|
7567
7729
|
console.warn("PlattarQR.renderQRCode() - required attribute \"url\" is missing or invalid, QR Code will not render");
|
|
@@ -7669,11 +7831,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7669
7831
|
var shortenURL = this.hasAttribute("shorten") ? this.getAttribute("shorten") : "false";
|
|
7670
7832
|
if (shortenURL && shortenURL.toLowerCase() === "true") {
|
|
7671
7833
|
this._ShortenURL(url).then(function (newURL) {
|
|
7672
|
-
|
|
7834
|
+
_this62._GenerateQRCode(newURL, width, height);
|
|
7673
7835
|
})["catch"](function (_err) {
|
|
7674
7836
|
console.warn(_err);
|
|
7675
7837
|
// ignore error and just generate normal QR Code
|
|
7676
|
-
|
|
7838
|
+
_this62._GenerateQRCode(url, width, height);
|
|
7677
7839
|
});
|
|
7678
7840
|
} else {
|
|
7679
7841
|
this._GenerateQRCode(url, width, height);
|
|
@@ -7742,9 +7904,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7742
7904
|
}, {
|
|
7743
7905
|
key: "_ShortenURL",
|
|
7744
7906
|
value: function _ShortenURL(url) {
|
|
7745
|
-
var
|
|
7907
|
+
var _this63 = this;
|
|
7746
7908
|
return new Promise(function (accept, reject) {
|
|
7747
|
-
if (!
|
|
7909
|
+
if (!_this63._IsFetchAPISupported()) {
|
|
7748
7910
|
return reject(new Error("PlattarQR._ShortenURL() - fetch api not supported, cannot proceed"));
|
|
7749
7911
|
}
|
|
7750
7912
|
try {
|
|
@@ -7783,10 +7945,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7783
7945
|
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
7784
7946
|
module.exports = BaseElement;
|
|
7785
7947
|
}, {
|
|
7786
|
-
"object-hash":
|
|
7787
|
-
"qr-code-styling":
|
|
7948
|
+
"object-hash": 134,
|
|
7949
|
+
"qr-code-styling": 136
|
|
7788
7950
|
}],
|
|
7789
|
-
|
|
7951
|
+
109: [function (require, module, exports) {
|
|
7790
7952
|
var BaseElement = require("./base/base-element.js");
|
|
7791
7953
|
var QRCodeElement = /*#__PURE__*/function (_BaseElement) {
|
|
7792
7954
|
_inherits(QRCodeElement, _BaseElement);
|
|
@@ -7799,9 +7961,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7799
7961
|
}(BaseElement);
|
|
7800
7962
|
module.exports = QRCodeElement;
|
|
7801
7963
|
}, {
|
|
7802
|
-
"./base/base-element.js":
|
|
7964
|
+
"./base/base-element.js": 108
|
|
7803
7965
|
}],
|
|
7804
|
-
|
|
7966
|
+
110: [function (require, module, exports) {
|
|
7805
7967
|
"use strict";
|
|
7806
7968
|
|
|
7807
7969
|
var QRCodeElement = require("./elements/qrcode-element.js");
|
|
@@ -7816,13 +7978,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7816
7978
|
version: Version
|
|
7817
7979
|
};
|
|
7818
7980
|
}, {
|
|
7819
|
-
"./elements/qrcode-element.js":
|
|
7820
|
-
"./version":
|
|
7981
|
+
"./elements/qrcode-element.js": 109,
|
|
7982
|
+
"./version": 111
|
|
7821
7983
|
}],
|
|
7822
|
-
|
|
7984
|
+
111: [function (require, module, exports) {
|
|
7823
7985
|
module.exports = "1.150.2";
|
|
7824
7986
|
}, {}],
|
|
7825
|
-
|
|
7987
|
+
112: [function (require, module, exports) {
|
|
7826
7988
|
"use strict";
|
|
7827
7989
|
|
|
7828
7990
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -7937,10 +8099,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7937
8099
|
}, {
|
|
7938
8100
|
key: "get",
|
|
7939
8101
|
value: function get() {
|
|
7940
|
-
var
|
|
8102
|
+
var _this64 = this;
|
|
7941
8103
|
return new Promise(function (accept, reject) {
|
|
7942
|
-
|
|
7943
|
-
remote_request_1.RemoteRequest.request(
|
|
8104
|
+
_this64._CalculateHash().then(function () {
|
|
8105
|
+
remote_request_1.RemoteRequest.request(_this64._GetPayload(), _this64.retry < 0 ? 0 : _this64.retry).then(accept)["catch"](reject);
|
|
7944
8106
|
})["catch"](function (_err) {
|
|
7945
8107
|
reject(new Error("Configurator.get() - one of the objects does not exist in Plattar API"));
|
|
7946
8108
|
});
|
|
@@ -7949,12 +8111,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7949
8111
|
}, {
|
|
7950
8112
|
key: "_CalculateHash",
|
|
7951
8113
|
value: function _CalculateHash() {
|
|
7952
|
-
var
|
|
8114
|
+
var _this65 = this;
|
|
7953
8115
|
return new Promise(function (accept, reject) {
|
|
7954
8116
|
var promises = [];
|
|
7955
8117
|
var oldOrigin = plattar_api_1.Server["default"]().originLocation.type;
|
|
7956
|
-
plattar_api_1.Server.create(plattar_api_1.Server.match(
|
|
7957
|
-
|
|
8118
|
+
plattar_api_1.Server.create(plattar_api_1.Server.match(_this65.server));
|
|
8119
|
+
_this65._maps.forEach(function (map) {
|
|
7958
8120
|
if (map.productvariation) {
|
|
7959
8121
|
promises.push(new plattar_api_1.ProductVariation(map.productvariation).get());
|
|
7960
8122
|
}
|
|
@@ -7970,7 +8132,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7970
8132
|
});
|
|
7971
8133
|
Promise.all(promises).then(function (values) {
|
|
7972
8134
|
values.forEach(function (value) {
|
|
7973
|
-
|
|
8135
|
+
_this65._attrHash.push(value.attributes);
|
|
7974
8136
|
});
|
|
7975
8137
|
// reset server back
|
|
7976
8138
|
plattar_api_1.Server.create(plattar_api_1.Server.match(oldOrigin));
|
|
@@ -8009,11 +8171,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8009
8171
|
}();
|
|
8010
8172
|
exports.Configurator = Configurator;
|
|
8011
8173
|
}, {
|
|
8012
|
-
"./remote-request":
|
|
8013
|
-
"@plattar/plattar-api":
|
|
8014
|
-
"object-hash":
|
|
8174
|
+
"./remote-request": 114,
|
|
8175
|
+
"@plattar/plattar-api": 44,
|
|
8176
|
+
"object-hash": 117
|
|
8015
8177
|
}],
|
|
8016
|
-
|
|
8178
|
+
113: [function (require, module, exports) {
|
|
8017
8179
|
"use strict";
|
|
8018
8180
|
|
|
8019
8181
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -8057,12 +8219,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8057
8219
|
}, {
|
|
8058
8220
|
key: "get",
|
|
8059
8221
|
value: function get() {
|
|
8060
|
-
var
|
|
8222
|
+
var _this66 = this;
|
|
8061
8223
|
return new Promise(function (accept, reject) {
|
|
8062
|
-
if (!
|
|
8224
|
+
if (!_this66._model) {
|
|
8063
8225
|
return reject(new Error("ModelConverter.get() - required .model attribute was not set"));
|
|
8064
8226
|
}
|
|
8065
|
-
remote_request_1.RemoteRequest.request(
|
|
8227
|
+
remote_request_1.RemoteRequest.request(_this66._Payload, _this66.retry < 0 ? 0 : _this66.retry).then(accept)["catch"](reject);
|
|
8066
8228
|
});
|
|
8067
8229
|
}
|
|
8068
8230
|
}, {
|
|
@@ -8091,11 +8253,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8091
8253
|
}();
|
|
8092
8254
|
exports.ModelConverter = ModelConverter;
|
|
8093
8255
|
}, {
|
|
8094
|
-
"./remote-request":
|
|
8095
|
-
"@plattar/plattar-api":
|
|
8096
|
-
"object-hash":
|
|
8256
|
+
"./remote-request": 114,
|
|
8257
|
+
"@plattar/plattar-api": 44,
|
|
8258
|
+
"object-hash": 117
|
|
8097
8259
|
}],
|
|
8098
|
-
|
|
8260
|
+
114: [function (require, module, exports) {
|
|
8099
8261
|
"use strict";
|
|
8100
8262
|
|
|
8101
8263
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -8173,9 +8335,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8173
8335
|
}();
|
|
8174
8336
|
exports.RemoteRequest = RemoteRequest;
|
|
8175
8337
|
}, {
|
|
8176
|
-
"node-fetch":
|
|
8338
|
+
"node-fetch": 133
|
|
8177
8339
|
}],
|
|
8178
|
-
|
|
8340
|
+
115: [function (require, module, exports) {
|
|
8179
8341
|
"use strict";
|
|
8180
8342
|
|
|
8181
8343
|
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
@@ -8232,11 +8394,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8232
8394
|
var version_1 = __importDefault(require("./version"));
|
|
8233
8395
|
console.log("using @plattar/plattar-services v" + version_1["default"]);
|
|
8234
8396
|
}, {
|
|
8235
|
-
"./core/configurator":
|
|
8236
|
-
"./core/model-converter":
|
|
8237
|
-
"./version":
|
|
8397
|
+
"./core/configurator": 112,
|
|
8398
|
+
"./core/model-converter": 113,
|
|
8399
|
+
"./version": 116
|
|
8238
8400
|
}],
|
|
8239
|
-
|
|
8401
|
+
116: [function (require, module, exports) {
|
|
8240
8402
|
"use strict";
|
|
8241
8403
|
|
|
8242
8404
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -8244,7 +8406,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8244
8406
|
});
|
|
8245
8407
|
exports["default"] = "1.120.1";
|
|
8246
8408
|
}, {}],
|
|
8247
|
-
|
|
8409
|
+
117: [function (require, module, exports) {
|
|
8248
8410
|
(function (global) {
|
|
8249
8411
|
(function () {
|
|
8250
8412
|
!function (e) {
|
|
@@ -9297,9 +9459,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9297
9459
|
}).call(this);
|
|
9298
9460
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
9299
9461
|
}, {}],
|
|
9300
|
-
|
|
9462
|
+
118: [function (require, module, exports) {
|
|
9301
9463
|
var Util = require("../../util/util");
|
|
9302
9464
|
var ElementController = require("../controllers/element-controller");
|
|
9465
|
+
var _require = require("@plattar/context-messenger"),
|
|
9466
|
+
messenger = _require.messenger;
|
|
9303
9467
|
var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
|
|
9304
9468
|
_inherits(BaseElement, _HTMLElement3);
|
|
9305
9469
|
var _super73 = _createSuper(BaseElement);
|
|
@@ -9321,6 +9485,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9321
9485
|
}
|
|
9322
9486
|
throw new Error("set BaseElement.onready - cannot use as element not connected");
|
|
9323
9487
|
}
|
|
9488
|
+
}, {
|
|
9489
|
+
key: "messengerInstance",
|
|
9490
|
+
get: function get() {
|
|
9491
|
+
return messenger;
|
|
9492
|
+
}
|
|
9324
9493
|
}, {
|
|
9325
9494
|
key: "messenger",
|
|
9326
9495
|
get: function get() {
|
|
@@ -9329,12 +9498,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9329
9498
|
}, {
|
|
9330
9499
|
key: "context",
|
|
9331
9500
|
get: function get() {
|
|
9332
|
-
return this.
|
|
9501
|
+
return this.messengerInstance.self;
|
|
9333
9502
|
}
|
|
9334
9503
|
}, {
|
|
9335
9504
|
key: "parent",
|
|
9336
9505
|
get: function get() {
|
|
9337
|
-
return this.
|
|
9506
|
+
return this.messengerInstance.parent;
|
|
9338
9507
|
}
|
|
9339
9508
|
}, {
|
|
9340
9509
|
key: "element",
|
|
@@ -9383,6 +9552,23 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9383
9552
|
}
|
|
9384
9553
|
return false;
|
|
9385
9554
|
}
|
|
9555
|
+
}, {
|
|
9556
|
+
key: "usesOptionalAttribute",
|
|
9557
|
+
value: function usesOptionalAttribute(key) {
|
|
9558
|
+
var attr = this.optionalAttributes;
|
|
9559
|
+
var length = attr.length;
|
|
9560
|
+
for (var i = 0; i < length; i++) {
|
|
9561
|
+
if (attr[i].key === key) {
|
|
9562
|
+
return true;
|
|
9563
|
+
}
|
|
9564
|
+
}
|
|
9565
|
+
return false;
|
|
9566
|
+
}
|
|
9567
|
+
}, {
|
|
9568
|
+
key: "usesAttribute",
|
|
9569
|
+
value: function usesAttribute(key) {
|
|
9570
|
+
return this.usesCoreAttribute(key) || this.usesOptionalAttribute(key);
|
|
9571
|
+
}
|
|
9386
9572
|
}, {
|
|
9387
9573
|
key: "optionalAttributes",
|
|
9388
9574
|
get: function get() {
|
|
@@ -9403,18 +9589,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9403
9589
|
}, {
|
|
9404
9590
|
key: "allMappedAttributes",
|
|
9405
9591
|
get: function get() {
|
|
9406
|
-
var
|
|
9592
|
+
var _this67 = this;
|
|
9407
9593
|
var map = new Map();
|
|
9408
9594
|
var coreAttr = this.coreAttributes;
|
|
9409
9595
|
var optAttr = this.optionalAttributes;
|
|
9410
9596
|
coreAttr.forEach(function (ele) {
|
|
9411
|
-
if (
|
|
9412
|
-
map.set(ele.map,
|
|
9597
|
+
if (_this67.hasAttribute(ele.key)) {
|
|
9598
|
+
map.set(ele.map, _this67.getAttribute(ele.key));
|
|
9413
9599
|
}
|
|
9414
9600
|
});
|
|
9415
9601
|
optAttr.forEach(function (ele) {
|
|
9416
|
-
if (
|
|
9417
|
-
map.set(ele.map,
|
|
9602
|
+
if (_this67.hasAttribute(ele.key)) {
|
|
9603
|
+
map.set(ele.map, _this67.getAttribute(ele.key));
|
|
9418
9604
|
}
|
|
9419
9605
|
});
|
|
9420
9606
|
return map;
|
|
@@ -9457,10 +9643,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9457
9643
|
}( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
9458
9644
|
module.exports = BaseElement;
|
|
9459
9645
|
}, {
|
|
9460
|
-
"../../util/util":
|
|
9461
|
-
"../controllers/element-controller":
|
|
9646
|
+
"../../util/util": 131,
|
|
9647
|
+
"../controllers/element-controller": 120,
|
|
9648
|
+
"@plattar/context-messenger": 21
|
|
9462
9649
|
}],
|
|
9463
|
-
|
|
9650
|
+
119: [function (require, module, exports) {
|
|
9464
9651
|
var BaseElement = require("./base/base-element.js");
|
|
9465
9652
|
var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
|
|
9466
9653
|
_inherits(ConfiguratorElement, _BaseElement2);
|
|
@@ -9504,16 +9691,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9504
9691
|
}(BaseElement);
|
|
9505
9692
|
module.exports = ConfiguratorElement;
|
|
9506
9693
|
}, {
|
|
9507
|
-
"./base/base-element.js":
|
|
9694
|
+
"./base/base-element.js": 118
|
|
9508
9695
|
}],
|
|
9509
|
-
|
|
9696
|
+
120: [function (require, module, exports) {
|
|
9510
9697
|
var Util = require("../../util/util.js");
|
|
9511
|
-
var
|
|
9512
|
-
messenger =
|
|
9698
|
+
var _require2 = require("@plattar/context-messenger"),
|
|
9699
|
+
messenger = _require2.messenger;
|
|
9513
9700
|
var IFrameController = require("./iframe-controller.js");
|
|
9514
9701
|
var ElementController = /*#__PURE__*/function () {
|
|
9515
9702
|
function ElementController(element) {
|
|
9516
|
-
var
|
|
9703
|
+
var _this68 = this;
|
|
9517
9704
|
_classCallCheck(this, ElementController);
|
|
9518
9705
|
this._element = element;
|
|
9519
9706
|
|
|
@@ -9524,9 +9711,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9524
9711
|
try {
|
|
9525
9712
|
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
9526
9713
|
var mutation = _step8.value;
|
|
9527
|
-
if (mutation.type === 'attributes' && element.
|
|
9714
|
+
if (mutation.type === 'attributes' && element.usesAttribute(mutation.attributeName)) {
|
|
9528
9715
|
if (element.hasAllCoreAttributes) {
|
|
9529
|
-
|
|
9716
|
+
_this68._load();
|
|
9530
9717
|
}
|
|
9531
9718
|
}
|
|
9532
9719
|
}
|
|
@@ -9613,15 +9800,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9613
9800
|
}();
|
|
9614
9801
|
module.exports = ElementController;
|
|
9615
9802
|
}, {
|
|
9616
|
-
"../../util/util.js":
|
|
9617
|
-
"./iframe-controller.js":
|
|
9803
|
+
"../../util/util.js": 131,
|
|
9804
|
+
"./iframe-controller.js": 121,
|
|
9618
9805
|
"@plattar/context-messenger": 21
|
|
9619
9806
|
}],
|
|
9620
|
-
|
|
9807
|
+
121: [function (require, module, exports) {
|
|
9621
9808
|
var Util = require("../../util/util.js");
|
|
9622
9809
|
var IFrameController = /*#__PURE__*/function () {
|
|
9623
9810
|
function IFrameController(element, src, id) {
|
|
9624
|
-
var
|
|
9811
|
+
var _this69 = this;
|
|
9625
9812
|
var onelemload = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
|
|
9626
9813
|
_classCallCheck(this, IFrameController);
|
|
9627
9814
|
this._iframe = document.createElement("iframe");
|
|
@@ -9631,7 +9818,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9631
9818
|
if (!element.hasAttribute("sameorigin")) {
|
|
9632
9819
|
this._iframe.onload = function () {
|
|
9633
9820
|
if (onelemload) {
|
|
9634
|
-
onelemload(
|
|
9821
|
+
onelemload(_this69._iframe);
|
|
9635
9822
|
}
|
|
9636
9823
|
};
|
|
9637
9824
|
}
|
|
@@ -9714,9 +9901,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9714
9901
|
}();
|
|
9715
9902
|
module.exports = IFrameController;
|
|
9716
9903
|
}, {
|
|
9717
|
-
"../../util/util.js":
|
|
9904
|
+
"../../util/util.js": 131
|
|
9718
9905
|
}],
|
|
9719
|
-
|
|
9906
|
+
122: [function (require, module, exports) {
|
|
9720
9907
|
var BaseElement = require("./base/base-element.js");
|
|
9721
9908
|
var EditorElement = /*#__PURE__*/function (_BaseElement3) {
|
|
9722
9909
|
_inherits(EditorElement, _BaseElement3);
|
|
@@ -9740,21 +9927,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9740
9927
|
}(BaseElement);
|
|
9741
9928
|
module.exports = EditorElement;
|
|
9742
9929
|
}, {
|
|
9743
|
-
"./base/base-element.js":
|
|
9930
|
+
"./base/base-element.js": 118
|
|
9744
9931
|
}],
|
|
9745
|
-
|
|
9932
|
+
123: [function (require, module, exports) {
|
|
9746
9933
|
var BaseElement = require("./base/base-element.js");
|
|
9747
9934
|
var EWallElement = /*#__PURE__*/function (_BaseElement4) {
|
|
9748
9935
|
_inherits(EWallElement, _BaseElement4);
|
|
9749
9936
|
var _super76 = _createSuper(EWallElement);
|
|
9750
9937
|
function EWallElement() {
|
|
9751
|
-
var
|
|
9938
|
+
var _this70;
|
|
9752
9939
|
_classCallCheck(this, EWallElement);
|
|
9753
|
-
|
|
9940
|
+
_this70 = _super76.call(this);
|
|
9754
9941
|
var tag = document.createElement("script");
|
|
9755
9942
|
tag.src = "https://cdn.8thwall.com/web/iframe/iframe.js";
|
|
9756
9943
|
tag.defer = true;
|
|
9757
|
-
return
|
|
9944
|
+
return _this70;
|
|
9758
9945
|
}
|
|
9759
9946
|
_createClass(EWallElement, [{
|
|
9760
9947
|
key: "connectedCallback",
|
|
@@ -9785,9 +9972,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9785
9972
|
}(BaseElement);
|
|
9786
9973
|
module.exports = EWallElement;
|
|
9787
9974
|
}, {
|
|
9788
|
-
"./base/base-element.js":
|
|
9975
|
+
"./base/base-element.js": 118
|
|
9789
9976
|
}],
|
|
9790
|
-
|
|
9977
|
+
124: [function (require, module, exports) {
|
|
9791
9978
|
var BaseElement = require("./base/base-element.js");
|
|
9792
9979
|
var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
|
|
9793
9980
|
_inherits(FaceARElement, _BaseElement5);
|
|
@@ -9831,9 +10018,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9831
10018
|
}(BaseElement);
|
|
9832
10019
|
module.exports = FaceARElement;
|
|
9833
10020
|
}, {
|
|
9834
|
-
"./base/base-element.js":
|
|
10021
|
+
"./base/base-element.js": 118
|
|
9835
10022
|
}],
|
|
9836
|
-
|
|
10023
|
+
125: [function (require, module, exports) {
|
|
9837
10024
|
var BaseElement = require("./base/base-element.js");
|
|
9838
10025
|
var ModelElement = /*#__PURE__*/function (_BaseElement6) {
|
|
9839
10026
|
_inherits(ModelElement, _BaseElement6);
|
|
@@ -9855,10 +10042,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9855
10042
|
}, {
|
|
9856
10043
|
key: "coreAttributes",
|
|
9857
10044
|
get: function get() {
|
|
9858
|
-
return [
|
|
9859
|
-
key: "model-id",
|
|
9860
|
-
map: "model_id"
|
|
9861
|
-
}];
|
|
10045
|
+
return [];
|
|
9862
10046
|
}
|
|
9863
10047
|
}, {
|
|
9864
10048
|
key: "optionalAttributes",
|
|
@@ -9866,6 +10050,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9866
10050
|
return [{
|
|
9867
10051
|
key: "mode",
|
|
9868
10052
|
map: "mode"
|
|
10053
|
+
}, {
|
|
10054
|
+
key: "capture-id",
|
|
10055
|
+
map: "capture_id"
|
|
10056
|
+
}, {
|
|
10057
|
+
key: "model-id",
|
|
10058
|
+
map: "model_id"
|
|
9869
10059
|
}];
|
|
9870
10060
|
}
|
|
9871
10061
|
}]);
|
|
@@ -9873,9 +10063,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9873
10063
|
}(BaseElement);
|
|
9874
10064
|
module.exports = ModelElement;
|
|
9875
10065
|
}, {
|
|
9876
|
-
"./base/base-element.js":
|
|
10066
|
+
"./base/base-element.js": 118
|
|
9877
10067
|
}],
|
|
9878
|
-
|
|
10068
|
+
126: [function (require, module, exports) {
|
|
9879
10069
|
var BaseElement = require("./base/base-element.js");
|
|
9880
10070
|
var ProductElement = /*#__PURE__*/function (_BaseElement7) {
|
|
9881
10071
|
_inherits(ProductElement, _BaseElement7);
|
|
@@ -9921,9 +10111,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9921
10111
|
}(BaseElement);
|
|
9922
10112
|
module.exports = ProductElement;
|
|
9923
10113
|
}, {
|
|
9924
|
-
"./base/base-element.js":
|
|
10114
|
+
"./base/base-element.js": 118
|
|
9925
10115
|
}],
|
|
9926
|
-
|
|
10116
|
+
127: [function (require, module, exports) {
|
|
9927
10117
|
var BaseElement = require("./base/base-element.js");
|
|
9928
10118
|
var StudioElement = /*#__PURE__*/function (_BaseElement8) {
|
|
9929
10119
|
_inherits(StudioElement, _BaseElement8);
|
|
@@ -9947,9 +10137,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9947
10137
|
}(BaseElement);
|
|
9948
10138
|
module.exports = StudioElement;
|
|
9949
10139
|
}, {
|
|
9950
|
-
"./base/base-element.js":
|
|
10140
|
+
"./base/base-element.js": 118
|
|
9951
10141
|
}],
|
|
9952
|
-
|
|
10142
|
+
128: [function (require, module, exports) {
|
|
9953
10143
|
var BaseElement = require("./base/base-element.js");
|
|
9954
10144
|
var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
|
|
9955
10145
|
_inherits(ViewerElement, _BaseElement9);
|
|
@@ -9990,9 +10180,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
9990
10180
|
}(BaseElement);
|
|
9991
10181
|
module.exports = ViewerElement;
|
|
9992
10182
|
}, {
|
|
9993
|
-
"./base/base-element.js":
|
|
10183
|
+
"./base/base-element.js": 118
|
|
9994
10184
|
}],
|
|
9995
|
-
|
|
10185
|
+
129: [function (require, module, exports) {
|
|
9996
10186
|
var BaseElement = require("./base/base-element.js");
|
|
9997
10187
|
var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
|
|
9998
10188
|
_inherits(WebXRElement, _BaseElement10);
|
|
@@ -10016,9 +10206,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10016
10206
|
}(BaseElement);
|
|
10017
10207
|
module.exports = WebXRElement;
|
|
10018
10208
|
}, {
|
|
10019
|
-
"./base/base-element.js":
|
|
10209
|
+
"./base/base-element.js": 118
|
|
10020
10210
|
}],
|
|
10021
|
-
|
|
10211
|
+
130: [function (require, module, exports) {
|
|
10022
10212
|
"use strict";
|
|
10023
10213
|
|
|
10024
10214
|
var WebXRElement = require("./elements/webxr-element.js");
|
|
@@ -10063,18 +10253,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10063
10253
|
version: Version
|
|
10064
10254
|
};
|
|
10065
10255
|
}, {
|
|
10066
|
-
"./elements/configurator-element.js":
|
|
10067
|
-
"./elements/editor-element.js":
|
|
10068
|
-
"./elements/ewall-element.js":
|
|
10069
|
-
"./elements/facear-element.js":
|
|
10070
|
-
"./elements/model-element.js":
|
|
10071
|
-
"./elements/product-element.js":
|
|
10072
|
-
"./elements/studio-element.js":
|
|
10073
|
-
"./elements/viewer-element.js":
|
|
10074
|
-
"./elements/webxr-element.js":
|
|
10075
|
-
"./version":
|
|
10256
|
+
"./elements/configurator-element.js": 119,
|
|
10257
|
+
"./elements/editor-element.js": 122,
|
|
10258
|
+
"./elements/ewall-element.js": 123,
|
|
10259
|
+
"./elements/facear-element.js": 124,
|
|
10260
|
+
"./elements/model-element.js": 125,
|
|
10261
|
+
"./elements/product-element.js": 126,
|
|
10262
|
+
"./elements/studio-element.js": 127,
|
|
10263
|
+
"./elements/viewer-element.js": 128,
|
|
10264
|
+
"./elements/webxr-element.js": 129,
|
|
10265
|
+
"./version": 132
|
|
10076
10266
|
}],
|
|
10077
|
-
|
|
10267
|
+
131: [function (require, module, exports) {
|
|
10078
10268
|
var Util = /*#__PURE__*/function () {
|
|
10079
10269
|
function Util() {
|
|
10080
10270
|
_classCallCheck(this, Util);
|
|
@@ -10142,10 +10332,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10142
10332
|
}();
|
|
10143
10333
|
module.exports = Util;
|
|
10144
10334
|
}, {}],
|
|
10145
|
-
131: [function (require, module, exports) {
|
|
10146
|
-
module.exports = "1.135.2";
|
|
10147
|
-
}, {}],
|
|
10148
10335
|
132: [function (require, module, exports) {
|
|
10336
|
+
module.exports = "1.154.2";
|
|
10337
|
+
}, {}],
|
|
10338
|
+
133: [function (require, module, exports) {
|
|
10149
10339
|
(function (global) {
|
|
10150
10340
|
(function () {
|
|
10151
10341
|
"use strict";
|
|
@@ -10179,7 +10369,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10179
10369
|
}).call(this);
|
|
10180
10370
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
10181
10371
|
}, {}],
|
|
10182
|
-
|
|
10372
|
+
134: [function (require, module, exports) {
|
|
10183
10373
|
(function (global) {
|
|
10184
10374
|
(function () {
|
|
10185
10375
|
!function (e) {
|
|
@@ -11179,7 +11369,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
11179
11369
|
}).call(this);
|
|
11180
11370
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
11181
11371
|
}, {}],
|
|
11182
|
-
|
|
11372
|
+
135: [function (require, module, exports) {
|
|
11183
11373
|
// shim for using process in browser
|
|
11184
11374
|
var process = module.exports = {};
|
|
11185
11375
|
|
|
@@ -11356,7 +11546,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
11356
11546
|
return 0;
|
|
11357
11547
|
};
|
|
11358
11548
|
}, {}],
|
|
11359
|
-
|
|
11549
|
+
136: [function (require, module, exports) {
|
|
11360
11550
|
!function (t, e) {
|
|
11361
11551
|
"object" == _typeof(exports) && "object" == _typeof(module) ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == _typeof(exports) ? exports.QRCodeStyling = e() : t.QRCodeStyling = e();
|
|
11362
11552
|
}(self, function () {
|