@plattar/plattar-ar-adapter 1.122.2 → 1.122.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es2015/plattar-ar-adapter.js +1047 -807
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +268 -120
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/ar/raw-ar.d.ts +30 -0
- package/dist/ar/raw-ar.js +110 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -371,13 +371,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
371
371
|
|
|
372
372
|
exports.ModelAR = ModelAR;
|
|
373
373
|
}, {
|
|
374
|
-
"../util/util":
|
|
375
|
-
"../viewers/quicklook-viewer":
|
|
376
|
-
"../viewers/reality-viewer":
|
|
377
|
-
"../viewers/scene-viewer":
|
|
374
|
+
"../util/util": 9,
|
|
375
|
+
"../viewers/quicklook-viewer": 12,
|
|
376
|
+
"../viewers/reality-viewer": 13,
|
|
377
|
+
"../viewers/scene-viewer": 14,
|
|
378
378
|
"./launcher-ar": 2,
|
|
379
|
-
"@plattar/plattar-analytics":
|
|
380
|
-
"@plattar/plattar-api":
|
|
379
|
+
"@plattar/plattar-analytics": 32,
|
|
380
|
+
"@plattar/plattar-api": 36
|
|
381
381
|
}],
|
|
382
382
|
4: [function (require, module, exports) {
|
|
383
383
|
"use strict";
|
|
@@ -631,17 +631,195 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
631
631
|
|
|
632
632
|
exports.ProductAR = ProductAR;
|
|
633
633
|
}, {
|
|
634
|
-
"../util/util":
|
|
635
|
-
"../viewers/quicklook-viewer":
|
|
636
|
-
"../viewers/reality-viewer":
|
|
637
|
-
"../viewers/scene-viewer":
|
|
634
|
+
"../util/util": 9,
|
|
635
|
+
"../viewers/quicklook-viewer": 12,
|
|
636
|
+
"../viewers/reality-viewer": 13,
|
|
637
|
+
"../viewers/scene-viewer": 14,
|
|
638
638
|
"./launcher-ar": 2,
|
|
639
|
-
"@plattar/plattar-analytics":
|
|
640
|
-
"@plattar/plattar-api":
|
|
639
|
+
"@plattar/plattar-analytics": 32,
|
|
640
|
+
"@plattar/plattar-api": 36
|
|
641
641
|
}],
|
|
642
642
|
5: [function (require, module, exports) {
|
|
643
643
|
"use strict";
|
|
644
644
|
|
|
645
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
646
|
+
return mod && mod.__esModule ? mod : {
|
|
647
|
+
"default": mod
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
Object.defineProperty(exports, "__esModule", {
|
|
652
|
+
value: true
|
|
653
|
+
});
|
|
654
|
+
exports.RawAR = void 0;
|
|
655
|
+
|
|
656
|
+
var util_1 = require("../util/util");
|
|
657
|
+
|
|
658
|
+
var quicklook_viewer_1 = __importDefault(require("../viewers/quicklook-viewer"));
|
|
659
|
+
|
|
660
|
+
var reality_viewer_1 = __importDefault(require("../viewers/reality-viewer"));
|
|
661
|
+
|
|
662
|
+
var scene_viewer_1 = __importDefault(require("../viewers/scene-viewer"));
|
|
663
|
+
|
|
664
|
+
var launcher_ar_1 = require("./launcher-ar");
|
|
665
|
+
/**
|
|
666
|
+
* Allows launching AR Experiences provided a single remote 3D Model file
|
|
667
|
+
*/
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
var RawAR = /*#__PURE__*/function (_launcher_ar_1$Launch4) {
|
|
671
|
+
_inherits(RawAR, _launcher_ar_1$Launch4);
|
|
672
|
+
|
|
673
|
+
var _super4 = _createSuper(RawAR);
|
|
674
|
+
|
|
675
|
+
function RawAR() {
|
|
676
|
+
var _this7;
|
|
677
|
+
|
|
678
|
+
var modelLocation = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
679
|
+
|
|
680
|
+
_classCallCheck(this, RawAR);
|
|
681
|
+
|
|
682
|
+
_this7 = _super4.call(this);
|
|
683
|
+
|
|
684
|
+
if (!modelLocation) {
|
|
685
|
+
throw new Error("RawAR.constructor(modelLocation) - modelLocation must be defined");
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
var lowerLoc = modelLocation.toLowerCase();
|
|
689
|
+
|
|
690
|
+
if (lowerLoc.endsWith("usdz") || lowerLoc.endsWith("glb") || lowerLoc.endsWith("gltf") || lowerLoc.endsWith("reality")) {
|
|
691
|
+
_this7._modelLocation = modelLocation;
|
|
692
|
+
_this7._ar = null;
|
|
693
|
+
} else {
|
|
694
|
+
throw new Error("RawAR.constructor(modelLocation) - modelLocation must be one of gltf, glb, usdz or reality");
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
return _this7;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
_createClass(RawAR, [{
|
|
701
|
+
key: "modelLocation",
|
|
702
|
+
get: function get() {
|
|
703
|
+
return this._modelLocation;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* Initialise the RawAR instance. This returns a Promise that resolves
|
|
707
|
+
* successfully if initialisation is successful, otherwise it will fail.
|
|
708
|
+
*
|
|
709
|
+
* filure can occur for a number of reasons but it generally means that AR
|
|
710
|
+
* cannot be performed.
|
|
711
|
+
*/
|
|
712
|
+
|
|
713
|
+
}, {
|
|
714
|
+
key: "init",
|
|
715
|
+
value: function init() {
|
|
716
|
+
var _this8 = this;
|
|
717
|
+
|
|
718
|
+
return new Promise(function (accept, reject) {
|
|
719
|
+
if (!util_1.Util.canAugment()) {
|
|
720
|
+
return reject(new Error("RawAR.init() - cannot proceed as AR not available in context"));
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
var modelLocation = _this8._modelLocation;
|
|
724
|
+
var lowerLoc = modelLocation.toLowerCase(); // we need to define our AR module here
|
|
725
|
+
// we are in Safari/Quicklook mode here
|
|
726
|
+
|
|
727
|
+
if (util_1.Util.isSafari() || util_1.Util.isChromeOnIOS()) {
|
|
728
|
+
// load the reality experience if dealing with reality file
|
|
729
|
+
if (lowerLoc.endsWith("reality") && util_1.Util.canRealityViewer()) {
|
|
730
|
+
_this8._ar = new reality_viewer_1["default"]();
|
|
731
|
+
_this8._ar.modelUrl = modelLocation;
|
|
732
|
+
return accept(_this8);
|
|
733
|
+
} // load the usdz experience if dealing with usdz file
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
if (lowerLoc.endsWith("usdz") && util_1.Util.canQuicklook()) {
|
|
737
|
+
_this8._ar = new quicklook_viewer_1["default"]();
|
|
738
|
+
_this8._ar.modelUrl = modelLocation;
|
|
739
|
+
return accept(_this8);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
return reject(new Error("RawAR.init() - cannot proceed as model is not a .usdz or .reality file"));
|
|
743
|
+
} // check android
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
if (util_1.Util.canSceneViewer()) {
|
|
747
|
+
if (lowerLoc.endsWith("glb") || lowerLoc.endsWith("gltf")) {
|
|
748
|
+
_this8._ar = new scene_viewer_1["default"]();
|
|
749
|
+
_this8._ar.modelUrl = modelLocation;
|
|
750
|
+
return accept(_this8);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
return reject(new Error("RawAR.init() - cannot proceed as model is not a .glb or .gltf file"));
|
|
754
|
+
} // otherwise, we didn't have AR available - it should never really reach this stage as this should be caught
|
|
755
|
+
// earlier in the process
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
return reject(new Error("RawAR.init() - could not initialise AR correctly, check values"));
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* Initialise and launch with a single function call. this is mostly for convenience.
|
|
763
|
+
* Use .init() and .start() separately for fine-grained control
|
|
764
|
+
*/
|
|
765
|
+
|
|
766
|
+
}, {
|
|
767
|
+
key: "launch",
|
|
768
|
+
value: function launch() {
|
|
769
|
+
var _this9 = this;
|
|
770
|
+
|
|
771
|
+
return new Promise(function (accept, reject) {
|
|
772
|
+
_this9.init().then(function (value) {
|
|
773
|
+
value.start();
|
|
774
|
+
return accept();
|
|
775
|
+
})["catch"](reject);
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* Launches the internal AR instance using an appropriate version of AR Viewers
|
|
780
|
+
*/
|
|
781
|
+
|
|
782
|
+
}, {
|
|
783
|
+
key: "start",
|
|
784
|
+
value: function start() {
|
|
785
|
+
if (!this._ar) {
|
|
786
|
+
throw new Error("RawAR.start() - cannot proceed as AR instance is null");
|
|
787
|
+
} // this was initialised via the init() function
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
this._ar.start();
|
|
791
|
+
}
|
|
792
|
+
}, {
|
|
793
|
+
key: "canQuicklook",
|
|
794
|
+
value: function canQuicklook() {
|
|
795
|
+
return this._ar && this._ar.nodeType === "Quick Look" ? true : false;
|
|
796
|
+
}
|
|
797
|
+
}, {
|
|
798
|
+
key: "canRealityViewer",
|
|
799
|
+
value: function canRealityViewer() {
|
|
800
|
+
return this._ar && this._ar.nodeType === "Reality Viewer" ? true : false;
|
|
801
|
+
}
|
|
802
|
+
}, {
|
|
803
|
+
key: "canSceneViewer",
|
|
804
|
+
value: function canSceneViewer() {
|
|
805
|
+
return this._ar && this._ar.nodeType === "Scene Viewer" ? true : false;
|
|
806
|
+
}
|
|
807
|
+
}]);
|
|
808
|
+
|
|
809
|
+
return RawAR;
|
|
810
|
+
}(launcher_ar_1.LauncherAR);
|
|
811
|
+
|
|
812
|
+
exports.RawAR = RawAR;
|
|
813
|
+
}, {
|
|
814
|
+
"../util/util": 9,
|
|
815
|
+
"../viewers/quicklook-viewer": 12,
|
|
816
|
+
"../viewers/reality-viewer": 13,
|
|
817
|
+
"../viewers/scene-viewer": 14,
|
|
818
|
+
"./launcher-ar": 2
|
|
819
|
+
}],
|
|
820
|
+
6: [function (require, module, exports) {
|
|
821
|
+
"use strict";
|
|
822
|
+
|
|
645
823
|
Object.defineProperty(exports, "__esModule", {
|
|
646
824
|
value: true
|
|
647
825
|
});
|
|
@@ -653,15 +831,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
653
831
|
*/
|
|
654
832
|
|
|
655
833
|
|
|
656
|
-
var SceneAR = /*#__PURE__*/function (_launcher_ar_1$
|
|
657
|
-
_inherits(SceneAR, _launcher_ar_1$
|
|
834
|
+
var SceneAR = /*#__PURE__*/function (_launcher_ar_1$Launch5) {
|
|
835
|
+
_inherits(SceneAR, _launcher_ar_1$Launch5);
|
|
658
836
|
|
|
659
|
-
var
|
|
837
|
+
var _super5 = _createSuper(SceneAR);
|
|
660
838
|
|
|
661
839
|
function SceneAR() {
|
|
662
840
|
_classCallCheck(this, SceneAR);
|
|
663
841
|
|
|
664
|
-
return
|
|
842
|
+
return _super5.apply(this, arguments);
|
|
665
843
|
}
|
|
666
844
|
|
|
667
845
|
_createClass(SceneAR, [{
|
|
@@ -688,7 +866,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
688
866
|
}, {
|
|
689
867
|
"./launcher-ar": 2
|
|
690
868
|
}],
|
|
691
|
-
|
|
869
|
+
7: [function (require, module, exports) {
|
|
692
870
|
"use strict";
|
|
693
871
|
|
|
694
872
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -721,30 +899,30 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
721
899
|
var PlattarEmbed = /*#__PURE__*/function (_HTMLElement) {
|
|
722
900
|
_inherits(PlattarEmbed, _HTMLElement);
|
|
723
901
|
|
|
724
|
-
var
|
|
902
|
+
var _super6 = _createSuper(PlattarEmbed);
|
|
725
903
|
|
|
726
904
|
function PlattarEmbed() {
|
|
727
|
-
var
|
|
905
|
+
var _this10;
|
|
728
906
|
|
|
729
907
|
_classCallCheck(this, PlattarEmbed);
|
|
730
908
|
|
|
731
|
-
|
|
909
|
+
_this10 = _super6.call(this); // this is the current state of the embed, none by default
|
|
732
910
|
|
|
733
|
-
|
|
734
|
-
|
|
911
|
+
_this10._currentState = EmbedState.None;
|
|
912
|
+
_this10._qrCodeOptions = {
|
|
735
913
|
color: "#101721",
|
|
736
914
|
qrType: "default",
|
|
737
915
|
margin: 0
|
|
738
916
|
};
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
return
|
|
917
|
+
_this10._sceneID = null;
|
|
918
|
+
_this10._productID = null;
|
|
919
|
+
_this10._variationID = null;
|
|
920
|
+
_this10._isReady = false;
|
|
921
|
+
_this10._width = "500px";
|
|
922
|
+
_this10._height = "500px";
|
|
923
|
+
_this10._server = "production";
|
|
924
|
+
_this10._viewer = null;
|
|
925
|
+
return _this10;
|
|
748
926
|
}
|
|
749
927
|
|
|
750
928
|
_createClass(PlattarEmbed, [{
|
|
@@ -755,34 +933,34 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
755
933
|
}, {
|
|
756
934
|
key: "connectedCallback",
|
|
757
935
|
value: function connectedCallback() {
|
|
758
|
-
var
|
|
936
|
+
var _this11 = this;
|
|
759
937
|
|
|
760
938
|
var observer = new MutationObserver(function (mutations) {
|
|
761
939
|
mutations.forEach(function (mutation) {
|
|
762
940
|
if (mutation.type === "attributes") {
|
|
763
|
-
var sceneID =
|
|
764
|
-
var productID =
|
|
765
|
-
var variationID =
|
|
941
|
+
var sceneID = _this11.hasAttribute("scene-id") ? _this11.getAttribute("scene-id") : null;
|
|
942
|
+
var productID = _this11.hasAttribute("product-id") ? _this11.getAttribute("product-id") : null;
|
|
943
|
+
var variationID = _this11.hasAttribute("variation-id") ? _this11.getAttribute("variation-id") : null;
|
|
766
944
|
var updated = false;
|
|
767
945
|
|
|
768
|
-
if (sceneID !==
|
|
769
|
-
|
|
946
|
+
if (sceneID !== _this11._sceneID) {
|
|
947
|
+
_this11._sceneID = sceneID;
|
|
770
948
|
updated = true;
|
|
771
949
|
}
|
|
772
950
|
|
|
773
|
-
if (productID !==
|
|
774
|
-
|
|
951
|
+
if (productID !== _this11._productID) {
|
|
952
|
+
_this11._productID = productID;
|
|
775
953
|
updated = true;
|
|
776
954
|
}
|
|
777
955
|
|
|
778
|
-
if (variationID !==
|
|
779
|
-
|
|
956
|
+
if (variationID !== _this11._variationID) {
|
|
957
|
+
_this11._variationID = variationID;
|
|
780
958
|
updated = true;
|
|
781
959
|
}
|
|
782
960
|
|
|
783
961
|
if (updated) {
|
|
784
962
|
// re-render based on internal state
|
|
785
|
-
|
|
963
|
+
_this11._OnAttributesUpdated();
|
|
786
964
|
}
|
|
787
965
|
}
|
|
788
966
|
});
|
|
@@ -823,42 +1001,42 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
823
1001
|
} else if (init === "ar-fallback-qrcode") {
|
|
824
1002
|
this.startAR().then(function () {// nothing to do, launched successfully
|
|
825
1003
|
})["catch"](function (_err) {
|
|
826
|
-
|
|
1004
|
+
_this11.startQRCode();
|
|
827
1005
|
});
|
|
828
1006
|
} else if (init === "ar-fallback-viewer") {
|
|
829
1007
|
this.startAR().then(function () {// nothing to do, launched successfully
|
|
830
1008
|
})["catch"](function (_err) {
|
|
831
|
-
|
|
1009
|
+
_this11.startViewer();
|
|
832
1010
|
});
|
|
833
1011
|
}
|
|
834
1012
|
}
|
|
835
1013
|
}, {
|
|
836
1014
|
key: "initAR",
|
|
837
1015
|
value: function initAR() {
|
|
838
|
-
var
|
|
1016
|
+
var _this12 = this;
|
|
839
1017
|
|
|
840
1018
|
return new Promise(function (accept, reject) {
|
|
841
|
-
if (!
|
|
1019
|
+
if (!_this12._isReady) {
|
|
842
1020
|
return reject(new Error("PlattarEmbed.initAR() - cannot execute as page has not loaded yet"));
|
|
843
1021
|
} // if scene is not set but product is, then use ProductAR
|
|
844
1022
|
|
|
845
1023
|
|
|
846
|
-
if (!
|
|
847
|
-
var product = new product_ar_1.ProductAR(
|
|
1024
|
+
if (!_this12._sceneID && _this12._productID) {
|
|
1025
|
+
var product = new product_ar_1.ProductAR(_this12._productID, _this12._variationID);
|
|
848
1026
|
return product.init().then(accept)["catch"](reject);
|
|
849
1027
|
} // If Product is set (under any scenario) then use ProductAR
|
|
850
1028
|
// NOTE: At some point this should check for Scenes when SceneAR
|
|
851
1029
|
// is implemented
|
|
852
1030
|
|
|
853
1031
|
|
|
854
|
-
if (
|
|
855
|
-
var _product = new product_ar_1.ProductAR(
|
|
1032
|
+
if (_this12._productID) {
|
|
1033
|
+
var _product = new product_ar_1.ProductAR(_this12._productID, _this12._variationID);
|
|
856
1034
|
|
|
857
1035
|
return _product.init().then(accept)["catch"](reject);
|
|
858
1036
|
} // otherwise, scene was set so use SceneAR
|
|
859
1037
|
|
|
860
1038
|
|
|
861
|
-
if (
|
|
1039
|
+
if (_this12._sceneID) {
|
|
862
1040
|
return reject(new Error("PlattarEmbed.initAR() - scene-id not yet supported"));
|
|
863
1041
|
}
|
|
864
1042
|
|
|
@@ -868,14 +1046,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
868
1046
|
}, {
|
|
869
1047
|
key: "startAR",
|
|
870
1048
|
value: function startAR() {
|
|
871
|
-
var
|
|
1049
|
+
var _this13 = this;
|
|
872
1050
|
|
|
873
1051
|
return new Promise(function (accept, reject) {
|
|
874
|
-
if (!
|
|
1052
|
+
if (!_this13._isReady) {
|
|
875
1053
|
return reject(new Error("PlattarEmbed.startAR() - cannot execute as page has not loaded yet"));
|
|
876
1054
|
}
|
|
877
1055
|
|
|
878
|
-
|
|
1056
|
+
_this13.initAR().then(function (launcher) {
|
|
879
1057
|
launcher.start();
|
|
880
1058
|
accept();
|
|
881
1059
|
})["catch"](reject);
|
|
@@ -884,77 +1062,77 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
884
1062
|
}, {
|
|
885
1063
|
key: "startViewer",
|
|
886
1064
|
value: function startViewer() {
|
|
887
|
-
var
|
|
1065
|
+
var _this14 = this;
|
|
888
1066
|
|
|
889
1067
|
return new Promise(function (accept, reject) {
|
|
890
|
-
if (!
|
|
1068
|
+
if (!_this14._isReady) {
|
|
891
1069
|
return reject(new Error("PlattarEmbed.startViewer() - cannot execute as page has not loaded yet"));
|
|
892
1070
|
}
|
|
893
1071
|
|
|
894
|
-
if (
|
|
895
|
-
|
|
1072
|
+
if (_this14._viewer) {
|
|
1073
|
+
_this14._viewer.remove();
|
|
896
1074
|
|
|
897
|
-
|
|
1075
|
+
_this14._viewer = null;
|
|
898
1076
|
} // if scene is set, we use <plattar-viewer /> node from plattar-web
|
|
899
1077
|
|
|
900
1078
|
|
|
901
|
-
if (
|
|
1079
|
+
if (_this14._sceneID) {
|
|
902
1080
|
var viewer = document.createElement("plattar-viewer");
|
|
903
|
-
viewer.setAttribute("width",
|
|
904
|
-
viewer.setAttribute("height",
|
|
905
|
-
viewer.setAttribute("server",
|
|
906
|
-
viewer.setAttribute("scene-id",
|
|
1081
|
+
viewer.setAttribute("width", _this14._width);
|
|
1082
|
+
viewer.setAttribute("height", _this14._height);
|
|
1083
|
+
viewer.setAttribute("server", _this14._server);
|
|
1084
|
+
viewer.setAttribute("scene-id", _this14._sceneID);
|
|
907
1085
|
|
|
908
|
-
if (
|
|
909
|
-
viewer.setAttribute("product-id",
|
|
1086
|
+
if (_this14._productID) {
|
|
1087
|
+
viewer.setAttribute("product-id", _this14._productID);
|
|
910
1088
|
}
|
|
911
1089
|
|
|
912
|
-
if (
|
|
913
|
-
viewer.setAttribute("variation-id",
|
|
1090
|
+
if (_this14._variationID) {
|
|
1091
|
+
viewer.setAttribute("variation-id", _this14._variationID);
|
|
914
1092
|
}
|
|
915
1093
|
|
|
916
1094
|
viewer.onload = function () {
|
|
917
1095
|
return accept(viewer);
|
|
918
1096
|
};
|
|
919
1097
|
|
|
920
|
-
var shadow =
|
|
1098
|
+
var shadow = _this14.shadowRoot || _this14.attachShadow({
|
|
921
1099
|
mode: 'open'
|
|
922
1100
|
});
|
|
923
1101
|
|
|
924
1102
|
shadow.append(viewer);
|
|
925
|
-
|
|
926
|
-
|
|
1103
|
+
_this14._viewer = viewer;
|
|
1104
|
+
_this14._currentState = EmbedState.SceneViewer;
|
|
927
1105
|
return;
|
|
928
1106
|
} // if product is set, we use <plattar-product /> node from plattar-web
|
|
929
1107
|
|
|
930
1108
|
|
|
931
|
-
if (
|
|
1109
|
+
if (_this14._productID) {
|
|
932
1110
|
var _viewer = document.createElement("plattar-product");
|
|
933
1111
|
|
|
934
|
-
_viewer.setAttribute("width",
|
|
1112
|
+
_viewer.setAttribute("width", _this14._width);
|
|
935
1113
|
|
|
936
|
-
_viewer.setAttribute("height",
|
|
1114
|
+
_viewer.setAttribute("height", _this14._height);
|
|
937
1115
|
|
|
938
|
-
_viewer.setAttribute("server",
|
|
1116
|
+
_viewer.setAttribute("server", _this14._server);
|
|
939
1117
|
|
|
940
|
-
_viewer.setAttribute("product-id",
|
|
1118
|
+
_viewer.setAttribute("product-id", _this14._productID);
|
|
941
1119
|
|
|
942
|
-
if (
|
|
943
|
-
_viewer.setAttribute("variation-id",
|
|
1120
|
+
if (_this14._variationID) {
|
|
1121
|
+
_viewer.setAttribute("variation-id", _this14._variationID);
|
|
944
1122
|
}
|
|
945
1123
|
|
|
946
1124
|
_viewer.onload = function () {
|
|
947
1125
|
return accept(_viewer);
|
|
948
1126
|
};
|
|
949
1127
|
|
|
950
|
-
var _shadow =
|
|
1128
|
+
var _shadow = _this14.shadowRoot || _this14.attachShadow({
|
|
951
1129
|
mode: 'open'
|
|
952
1130
|
});
|
|
953
1131
|
|
|
954
1132
|
_shadow.append(_viewer);
|
|
955
1133
|
|
|
956
|
-
|
|
957
|
-
|
|
1134
|
+
_this14._viewer = _viewer;
|
|
1135
|
+
_this14._currentState = EmbedState.ProductViewer;
|
|
958
1136
|
return;
|
|
959
1137
|
}
|
|
960
1138
|
|
|
@@ -964,29 +1142,29 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
964
1142
|
}, {
|
|
965
1143
|
key: "startQRCode",
|
|
966
1144
|
value: function startQRCode() {
|
|
967
|
-
var
|
|
1145
|
+
var _this15 = this;
|
|
968
1146
|
|
|
969
1147
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
970
1148
|
return new Promise(function (accept, reject) {
|
|
971
|
-
if (!
|
|
1149
|
+
if (!_this15._isReady) {
|
|
972
1150
|
return reject(new Error("PlattarEmbed.startQRCode() - cannot execute as page has not loaded yet"));
|
|
973
1151
|
}
|
|
974
1152
|
|
|
975
|
-
var opt = options ||
|
|
1153
|
+
var opt = options || _this15._qrCodeOptions; // reset instance for later use
|
|
976
1154
|
|
|
977
|
-
|
|
1155
|
+
_this15._qrCodeOptions = opt;
|
|
978
1156
|
|
|
979
|
-
if (
|
|
980
|
-
|
|
1157
|
+
if (_this15._viewer) {
|
|
1158
|
+
_this15._viewer.remove();
|
|
981
1159
|
|
|
982
|
-
|
|
1160
|
+
_this15._viewer = null;
|
|
983
1161
|
} // if scene is set, we embed a QR code that takes us to viewer.html
|
|
984
1162
|
|
|
985
1163
|
|
|
986
|
-
if (
|
|
1164
|
+
if (_this15._sceneID) {
|
|
987
1165
|
var viewer = document.createElement("plattar-qrcode");
|
|
988
|
-
viewer.setAttribute("width",
|
|
989
|
-
viewer.setAttribute("height",
|
|
1166
|
+
viewer.setAttribute("width", _this15._width);
|
|
1167
|
+
viewer.setAttribute("height", _this15._height);
|
|
990
1168
|
|
|
991
1169
|
if (opt.color) {
|
|
992
1170
|
viewer.setAttribute("color", opt.color);
|
|
@@ -1000,14 +1178,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1000
1178
|
viewer.setAttribute("qr-type", opt.qrType);
|
|
1001
1179
|
}
|
|
1002
1180
|
|
|
1003
|
-
var dst = plattar_api_1.Server.location().base + "renderer/viewer.html?scene_id=" +
|
|
1181
|
+
var dst = plattar_api_1.Server.location().base + "renderer/viewer.html?scene_id=" + _this15._sceneID;
|
|
1004
1182
|
|
|
1005
|
-
if (
|
|
1006
|
-
dst += "&productId=" +
|
|
1183
|
+
if (_this15._productID) {
|
|
1184
|
+
dst += "&productId=" + _this15._productID;
|
|
1007
1185
|
}
|
|
1008
1186
|
|
|
1009
|
-
if (
|
|
1010
|
-
dst += "&variationId=" +
|
|
1187
|
+
if (_this15._variationID) {
|
|
1188
|
+
dst += "&variationId=" + _this15._variationID;
|
|
1011
1189
|
}
|
|
1012
1190
|
|
|
1013
1191
|
viewer.setAttribute("url", dst);
|
|
@@ -1016,23 +1194,23 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1016
1194
|
return accept(viewer);
|
|
1017
1195
|
};
|
|
1018
1196
|
|
|
1019
|
-
var shadow =
|
|
1197
|
+
var shadow = _this15.shadowRoot || _this15.attachShadow({
|
|
1020
1198
|
mode: 'open'
|
|
1021
1199
|
});
|
|
1022
1200
|
|
|
1023
1201
|
shadow.append(viewer);
|
|
1024
|
-
|
|
1025
|
-
|
|
1202
|
+
_this15._viewer = viewer;
|
|
1203
|
+
_this15._currentState = EmbedState.QRCode;
|
|
1026
1204
|
return;
|
|
1027
1205
|
} // if product is set, we embed a QR code that takes us to product.html
|
|
1028
1206
|
|
|
1029
1207
|
|
|
1030
|
-
if (
|
|
1208
|
+
if (_this15._productID) {
|
|
1031
1209
|
var _viewer2 = document.createElement("plattar-qrcode");
|
|
1032
1210
|
|
|
1033
|
-
_viewer2.setAttribute("width",
|
|
1211
|
+
_viewer2.setAttribute("width", _this15._width);
|
|
1034
1212
|
|
|
1035
|
-
_viewer2.setAttribute("height",
|
|
1213
|
+
_viewer2.setAttribute("height", _this15._height);
|
|
1036
1214
|
|
|
1037
1215
|
if (opt.color) {
|
|
1038
1216
|
_viewer2.setAttribute("color", opt.color);
|
|
@@ -1046,10 +1224,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1046
1224
|
_viewer2.setAttribute("qr-type", opt.qrType);
|
|
1047
1225
|
}
|
|
1048
1226
|
|
|
1049
|
-
var _dst = plattar_api_1.Server.location().base + "renderer/product.html?product_id=" +
|
|
1227
|
+
var _dst = plattar_api_1.Server.location().base + "renderer/product.html?product_id=" + _this15._productID;
|
|
1050
1228
|
|
|
1051
|
-
if (
|
|
1052
|
-
_dst += "&variation_id=" +
|
|
1229
|
+
if (_this15._variationID) {
|
|
1230
|
+
_dst += "&variation_id=" + _this15._variationID;
|
|
1053
1231
|
}
|
|
1054
1232
|
|
|
1055
1233
|
_viewer2.setAttribute("url", _dst);
|
|
@@ -1058,14 +1236,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1058
1236
|
return accept(_viewer2);
|
|
1059
1237
|
};
|
|
1060
1238
|
|
|
1061
|
-
var _shadow2 =
|
|
1239
|
+
var _shadow2 = _this15.shadowRoot || _this15.attachShadow({
|
|
1062
1240
|
mode: 'open'
|
|
1063
1241
|
});
|
|
1064
1242
|
|
|
1065
1243
|
_shadow2.append(_viewer2);
|
|
1066
1244
|
|
|
1067
|
-
|
|
1068
|
-
|
|
1245
|
+
_this15._viewer = _viewer2;
|
|
1246
|
+
_this15._currentState = EmbedState.QRCode;
|
|
1069
1247
|
return;
|
|
1070
1248
|
}
|
|
1071
1249
|
|
|
@@ -1120,9 +1298,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1120
1298
|
exports["default"] = PlattarEmbed;
|
|
1121
1299
|
}, {
|
|
1122
1300
|
"../ar/product-ar": 4,
|
|
1123
|
-
"@plattar/plattar-api":
|
|
1301
|
+
"@plattar/plattar-api": 36
|
|
1124
1302
|
}],
|
|
1125
|
-
|
|
1303
|
+
8: [function (require, module, exports) {
|
|
1126
1304
|
"use strict";
|
|
1127
1305
|
|
|
1128
1306
|
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
@@ -1168,7 +1346,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1168
1346
|
Object.defineProperty(exports, "__esModule", {
|
|
1169
1347
|
value: true
|
|
1170
1348
|
});
|
|
1171
|
-
exports.Util = exports.ModelAR = exports.SceneAR = exports.ProductAR = exports.ConfiguratorAR = exports.version = exports.PlattarQRCode = exports.PlattarWeb = void 0;
|
|
1349
|
+
exports.Util = exports.RawAR = exports.ModelAR = exports.SceneAR = exports.ProductAR = exports.ConfiguratorAR = exports.version = exports.PlattarQRCode = exports.PlattarWeb = void 0;
|
|
1172
1350
|
exports.PlattarWeb = __importStar(require("@plattar/plattar-web"));
|
|
1173
1351
|
exports.PlattarQRCode = __importStar(require("@plattar/plattar-qrcode"));
|
|
1174
1352
|
exports.version = __importStar(require("./version"));
|
|
@@ -1209,6 +1387,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1209
1387
|
}
|
|
1210
1388
|
});
|
|
1211
1389
|
|
|
1390
|
+
var raw_ar_1 = require("./ar/raw-ar");
|
|
1391
|
+
|
|
1392
|
+
Object.defineProperty(exports, "RawAR", {
|
|
1393
|
+
enumerable: true,
|
|
1394
|
+
get: function get() {
|
|
1395
|
+
return raw_ar_1.RawAR;
|
|
1396
|
+
}
|
|
1397
|
+
});
|
|
1398
|
+
|
|
1212
1399
|
var util_1 = require("./util/util");
|
|
1213
1400
|
|
|
1214
1401
|
Object.defineProperty(exports, "Util", {
|
|
@@ -1233,14 +1420,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1233
1420
|
"./ar/configurator-ar": 1,
|
|
1234
1421
|
"./ar/model-ar": 3,
|
|
1235
1422
|
"./ar/product-ar": 4,
|
|
1236
|
-
"./ar/
|
|
1237
|
-
"./
|
|
1238
|
-
"./
|
|
1239
|
-
"./
|
|
1240
|
-
"
|
|
1241
|
-
"@plattar/plattar-
|
|
1423
|
+
"./ar/raw-ar": 5,
|
|
1424
|
+
"./ar/scene-ar": 6,
|
|
1425
|
+
"./embed/plattar-embed": 7,
|
|
1426
|
+
"./util/util": 9,
|
|
1427
|
+
"./version": 10,
|
|
1428
|
+
"@plattar/plattar-qrcode": 102,
|
|
1429
|
+
"@plattar/plattar-web": 116
|
|
1242
1430
|
}],
|
|
1243
|
-
|
|
1431
|
+
9: [function (require, module, exports) {
|
|
1244
1432
|
"use strict";
|
|
1245
1433
|
|
|
1246
1434
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1364,15 +1552,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1364
1552
|
|
|
1365
1553
|
exports.Util = Util;
|
|
1366
1554
|
}, {}],
|
|
1367
|
-
|
|
1555
|
+
10: [function (require, module, exports) {
|
|
1368
1556
|
"use strict";
|
|
1369
1557
|
|
|
1370
1558
|
Object.defineProperty(exports, "__esModule", {
|
|
1371
1559
|
value: true
|
|
1372
1560
|
});
|
|
1373
|
-
exports["default"] = "1.122.
|
|
1561
|
+
exports["default"] = "1.122.3";
|
|
1374
1562
|
}, {}],
|
|
1375
|
-
|
|
1563
|
+
11: [function (require, module, exports) {
|
|
1376
1564
|
"use strict";
|
|
1377
1565
|
|
|
1378
1566
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -1388,7 +1576,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1388
1576
|
|
|
1389
1577
|
exports["default"] = ARViewer;
|
|
1390
1578
|
}, {}],
|
|
1391
|
-
|
|
1579
|
+
12: [function (require, module, exports) {
|
|
1392
1580
|
"use strict";
|
|
1393
1581
|
|
|
1394
1582
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -1406,20 +1594,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1406
1594
|
var QuicklookViewer = /*#__PURE__*/function (_ar_viewer_1$default) {
|
|
1407
1595
|
_inherits(QuicklookViewer, _ar_viewer_1$default);
|
|
1408
1596
|
|
|
1409
|
-
var
|
|
1597
|
+
var _super7 = _createSuper(QuicklookViewer);
|
|
1410
1598
|
|
|
1411
1599
|
function QuicklookViewer() {
|
|
1412
|
-
var
|
|
1600
|
+
var _this16;
|
|
1413
1601
|
|
|
1414
1602
|
_classCallCheck(this, QuicklookViewer);
|
|
1415
1603
|
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1604
|
+
_this16 = _super7.call(this);
|
|
1605
|
+
_this16.araction = null;
|
|
1606
|
+
_this16.titleHTML = "&checkoutTitle=" + document.title + "&checkoutSubtitle=" + document.title;
|
|
1419
1607
|
|
|
1420
|
-
|
|
1608
|
+
_this16.arcallback = function () {};
|
|
1421
1609
|
|
|
1422
|
-
return
|
|
1610
|
+
return _this16;
|
|
1423
1611
|
}
|
|
1424
1612
|
|
|
1425
1613
|
_createClass(QuicklookViewer, [{
|
|
@@ -1435,7 +1623,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1435
1623
|
}, {
|
|
1436
1624
|
key: "start",
|
|
1437
1625
|
value: function start() {
|
|
1438
|
-
var
|
|
1626
|
+
var _this17 = this;
|
|
1439
1627
|
|
|
1440
1628
|
if (!this.modelUrl) {
|
|
1441
1629
|
throw new Error("QuicklookViewer.start() - model url not set, use QuicklookViewer.modelUrl");
|
|
@@ -1450,7 +1638,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1450
1638
|
if (araction) {
|
|
1451
1639
|
var handleQuicklook = function handleQuicklook(event) {
|
|
1452
1640
|
if (event.data === "_apple_ar_quicklook_button_tapped") {
|
|
1453
|
-
|
|
1641
|
+
_this17.arcallback();
|
|
1454
1642
|
}
|
|
1455
1643
|
|
|
1456
1644
|
document.body.removeChild(anchor);
|
|
@@ -1476,9 +1664,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1476
1664
|
|
|
1477
1665
|
exports["default"] = QuicklookViewer;
|
|
1478
1666
|
}, {
|
|
1479
|
-
"./ar-viewer":
|
|
1667
|
+
"./ar-viewer": 11
|
|
1480
1668
|
}],
|
|
1481
|
-
|
|
1669
|
+
13: [function (require, module, exports) {
|
|
1482
1670
|
"use strict";
|
|
1483
1671
|
|
|
1484
1672
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -1496,12 +1684,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1496
1684
|
var RealityViewer = /*#__PURE__*/function (_ar_viewer_1$default2) {
|
|
1497
1685
|
_inherits(RealityViewer, _ar_viewer_1$default2);
|
|
1498
1686
|
|
|
1499
|
-
var
|
|
1687
|
+
var _super8 = _createSuper(RealityViewer);
|
|
1500
1688
|
|
|
1501
1689
|
function RealityViewer() {
|
|
1502
1690
|
_classCallCheck(this, RealityViewer);
|
|
1503
1691
|
|
|
1504
|
-
return
|
|
1692
|
+
return _super8.call(this);
|
|
1505
1693
|
}
|
|
1506
1694
|
|
|
1507
1695
|
_createClass(RealityViewer, [{
|
|
@@ -1534,9 +1722,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1534
1722
|
|
|
1535
1723
|
exports["default"] = RealityViewer;
|
|
1536
1724
|
}, {
|
|
1537
|
-
"./ar-viewer":
|
|
1725
|
+
"./ar-viewer": 11
|
|
1538
1726
|
}],
|
|
1539
|
-
|
|
1727
|
+
14: [function (require, module, exports) {
|
|
1540
1728
|
"use strict";
|
|
1541
1729
|
|
|
1542
1730
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -1554,19 +1742,19 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1554
1742
|
var SceneViewer = /*#__PURE__*/function (_ar_viewer_1$default3) {
|
|
1555
1743
|
_inherits(SceneViewer, _ar_viewer_1$default3);
|
|
1556
1744
|
|
|
1557
|
-
var
|
|
1745
|
+
var _super9 = _createSuper(SceneViewer);
|
|
1558
1746
|
|
|
1559
1747
|
function SceneViewer() {
|
|
1560
|
-
var
|
|
1748
|
+
var _this18;
|
|
1561
1749
|
|
|
1562
1750
|
_classCallCheck(this, SceneViewer);
|
|
1563
1751
|
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
return
|
|
1752
|
+
_this18 = _super9.call(this);
|
|
1753
|
+
_this18.araction = null;
|
|
1754
|
+
_this18.isVertical = false;
|
|
1755
|
+
_this18.titleHTML = "<b>" + document.title;
|
|
1756
|
+
_this18.isVertical = false;
|
|
1757
|
+
return _this18;
|
|
1570
1758
|
}
|
|
1571
1759
|
|
|
1572
1760
|
_createClass(SceneViewer, [{
|
|
@@ -1623,9 +1811,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1623
1811
|
|
|
1624
1812
|
exports["default"] = SceneViewer;
|
|
1625
1813
|
}, {
|
|
1626
|
-
"./ar-viewer":
|
|
1814
|
+
"./ar-viewer": 11
|
|
1627
1815
|
}],
|
|
1628
|
-
|
|
1816
|
+
15: [function (require, module, exports) {
|
|
1629
1817
|
"use strict";
|
|
1630
1818
|
|
|
1631
1819
|
var Messenger = require("./messenger/messenger.js");
|
|
@@ -1661,12 +1849,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1661
1849
|
version: Version
|
|
1662
1850
|
};
|
|
1663
1851
|
}, {
|
|
1664
|
-
"./memory/memory.js":
|
|
1665
|
-
"./messenger/global-event-handler.js":
|
|
1666
|
-
"./messenger/messenger.js":
|
|
1667
|
-
"./version":
|
|
1852
|
+
"./memory/memory.js": 16,
|
|
1853
|
+
"./messenger/global-event-handler.js": 23,
|
|
1854
|
+
"./messenger/messenger.js": 24,
|
|
1855
|
+
"./version": 29
|
|
1668
1856
|
}],
|
|
1669
|
-
|
|
1857
|
+
16: [function (require, module, exports) {
|
|
1670
1858
|
var PermanentMemory = require("./permanent-memory");
|
|
1671
1859
|
|
|
1672
1860
|
var TemporaryMemory = require("./temporary-memory");
|
|
@@ -1678,7 +1866,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1678
1866
|
|
|
1679
1867
|
var Memory = /*#__PURE__*/function () {
|
|
1680
1868
|
function Memory(messengerInstance) {
|
|
1681
|
-
var
|
|
1869
|
+
var _this19 = this;
|
|
1682
1870
|
|
|
1683
1871
|
_classCallCheck(this, Memory);
|
|
1684
1872
|
|
|
@@ -1687,11 +1875,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1687
1875
|
this._permMemory = new PermanentMemory(messengerInstance);
|
|
1688
1876
|
|
|
1689
1877
|
this._messenger.self.__memory__set_temp_var = function (name, data) {
|
|
1690
|
-
|
|
1878
|
+
_this19._tempMemory[name] = data;
|
|
1691
1879
|
};
|
|
1692
1880
|
|
|
1693
1881
|
this._messenger.self.__memory__set_perm_var = function (name, data) {
|
|
1694
|
-
|
|
1882
|
+
_this19._permMemory[name] = data;
|
|
1695
1883
|
};
|
|
1696
1884
|
}
|
|
1697
1885
|
|
|
@@ -1712,10 +1900,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1712
1900
|
|
|
1713
1901
|
module.exports = Memory;
|
|
1714
1902
|
}, {
|
|
1715
|
-
"./permanent-memory":
|
|
1716
|
-
"./temporary-memory":
|
|
1903
|
+
"./permanent-memory": 17,
|
|
1904
|
+
"./temporary-memory": 18
|
|
1717
1905
|
}],
|
|
1718
|
-
|
|
1906
|
+
17: [function (require, module, exports) {
|
|
1719
1907
|
var WrappedValue = require("./wrapped-value");
|
|
1720
1908
|
|
|
1721
1909
|
var PermanentMemory = /*#__PURE__*/_createClass(function PermanentMemory(messengerInstance) {
|
|
@@ -1813,9 +2001,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1813
2001
|
|
|
1814
2002
|
module.exports = PermanentMemory;
|
|
1815
2003
|
}, {
|
|
1816
|
-
"./wrapped-value":
|
|
2004
|
+
"./wrapped-value": 19
|
|
1817
2005
|
}],
|
|
1818
|
-
|
|
2006
|
+
18: [function (require, module, exports) {
|
|
1819
2007
|
var WrappedValue = require("./wrapped-value");
|
|
1820
2008
|
|
|
1821
2009
|
var TemporaryMemory = /*#__PURE__*/_createClass(function TemporaryMemory(messengerInstance) {
|
|
@@ -1892,9 +2080,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
1892
2080
|
|
|
1893
2081
|
module.exports = TemporaryMemory;
|
|
1894
2082
|
}, {
|
|
1895
|
-
"./wrapped-value":
|
|
2083
|
+
"./wrapped-value": 19
|
|
1896
2084
|
}],
|
|
1897
|
-
|
|
2085
|
+
19: [function (require, module, exports) {
|
|
1898
2086
|
/**
|
|
1899
2087
|
* WrappedValue represents a generic value type with a callback function
|
|
1900
2088
|
* for when the value has changed
|
|
@@ -2012,7 +2200,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2012
2200
|
|
|
2013
2201
|
module.exports = WrappedValue;
|
|
2014
2202
|
}, {}],
|
|
2015
|
-
|
|
2203
|
+
20: [function (require, module, exports) {
|
|
2016
2204
|
/**
|
|
2017
2205
|
* Broadcaster is used to call functions in multiple contexts at the
|
|
2018
2206
|
* same time. This can be useful without having to handle complex logic
|
|
@@ -2079,7 +2267,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2079
2267
|
|
|
2080
2268
|
module.exports = Broadcaster;
|
|
2081
2269
|
}, {}],
|
|
2082
|
-
|
|
2270
|
+
21: [function (require, module, exports) {
|
|
2083
2271
|
var WrappedFunction = require("./wrapped-local-function");
|
|
2084
2272
|
|
|
2085
2273
|
var CurrentFunctionList = /*#__PURE__*/_createClass(function CurrentFunctionList() {
|
|
@@ -2142,9 +2330,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2142
2330
|
|
|
2143
2331
|
module.exports = CurrentFunctionList;
|
|
2144
2332
|
}, {
|
|
2145
|
-
"./wrapped-local-function":
|
|
2333
|
+
"./wrapped-local-function": 22
|
|
2146
2334
|
}],
|
|
2147
|
-
|
|
2335
|
+
22: [function (require, module, exports) {
|
|
2148
2336
|
var Util = require("../util/util.js");
|
|
2149
2337
|
/**
|
|
2150
2338
|
* WrappedLocalFunction represents a container that holds and maintains a specific function
|
|
@@ -2189,20 +2377,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2189
2377
|
}, {
|
|
2190
2378
|
key: "exec",
|
|
2191
2379
|
value: function exec() {
|
|
2192
|
-
var
|
|
2380
|
+
var _this20 = this;
|
|
2193
2381
|
|
|
2194
2382
|
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
2195
2383
|
args[_key3] = arguments[_key3];
|
|
2196
2384
|
}
|
|
2197
2385
|
|
|
2198
2386
|
return new Promise(function (accept, reject) {
|
|
2199
|
-
if (!
|
|
2200
|
-
return reject(new Error("WrappedLocalFunction.exec() function with name " +
|
|
2387
|
+
if (!_this20._value) {
|
|
2388
|
+
return reject(new Error("WrappedLocalFunction.exec() function with name " + _this20._funcName + "() is not defined"));
|
|
2201
2389
|
}
|
|
2202
2390
|
|
|
2203
2391
|
try {
|
|
2204
2392
|
// otherwise execute the function
|
|
2205
|
-
var rObject =
|
|
2393
|
+
var rObject = _this20._execute.apply(_this20, args); // we need to check if the returned object is a Promise, if so, handle it
|
|
2206
2394
|
// differently. This can happen if the function wants to execute asyn
|
|
2207
2395
|
|
|
2208
2396
|
|
|
@@ -2254,9 +2442,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2254
2442
|
|
|
2255
2443
|
module.exports = WrappedLocalFunction;
|
|
2256
2444
|
}, {
|
|
2257
|
-
"../util/util.js":
|
|
2445
|
+
"../util/util.js": 28
|
|
2258
2446
|
}],
|
|
2259
|
-
|
|
2447
|
+
23: [function (require, module, exports) {
|
|
2260
2448
|
var RemoteInterface = require("./remote-interface.js");
|
|
2261
2449
|
/**
|
|
2262
2450
|
* This is a singleton class that handles events on a global basis. Allows
|
|
@@ -2266,7 +2454,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2266
2454
|
|
|
2267
2455
|
var GlobalEventHandler = /*#__PURE__*/function () {
|
|
2268
2456
|
function GlobalEventHandler() {
|
|
2269
|
-
var
|
|
2457
|
+
var _this21 = this;
|
|
2270
2458
|
|
|
2271
2459
|
_classCallCheck(this, GlobalEventHandler);
|
|
2272
2460
|
|
|
@@ -2288,10 +2476,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2288
2476
|
|
|
2289
2477
|
if (jsonData && jsonData.event && jsonData.data) {
|
|
2290
2478
|
// see if there are any listeners for this
|
|
2291
|
-
if (
|
|
2479
|
+
if (_this21._eventListeners[jsonData.event]) {
|
|
2292
2480
|
var remoteInterface = new RemoteInterface(evt.source, evt.origin); // loop through and call all the event handlers
|
|
2293
2481
|
|
|
2294
|
-
|
|
2482
|
+
_this21._eventListeners[jsonData.event].forEach(function (callback) {
|
|
2295
2483
|
try {
|
|
2296
2484
|
callback(remoteInterface, jsonData.data);
|
|
2297
2485
|
} catch (e) {
|
|
@@ -2348,9 +2536,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2348
2536
|
|
|
2349
2537
|
module.exports = GlobalEventHandler;
|
|
2350
2538
|
}, {
|
|
2351
|
-
"./remote-interface.js":
|
|
2539
|
+
"./remote-interface.js": 25
|
|
2352
2540
|
}],
|
|
2353
|
-
|
|
2541
|
+
24: [function (require, module, exports) {
|
|
2354
2542
|
var CurrentFunctionList = require("./current/current-function-list");
|
|
2355
2543
|
|
|
2356
2544
|
var RemoteInterface = require("./remote-interface");
|
|
@@ -2487,40 +2675,40 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2487
2675
|
}, {
|
|
2488
2676
|
key: "_registerListeners",
|
|
2489
2677
|
value: function _registerListeners() {
|
|
2490
|
-
var
|
|
2678
|
+
var _this22 = this;
|
|
2491
2679
|
|
|
2492
2680
|
GlobalEventHandler.instance().listen("__messenger__child_init", function (src, data) {
|
|
2493
2681
|
var iframeID = src.id; // check reserved key list
|
|
2494
2682
|
|
|
2495
2683
|
switch (iframeID) {
|
|
2496
2684
|
case undefined:
|
|
2497
|
-
throw new Error("Messenger[" +
|
|
2685
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID cannot be undefined");
|
|
2498
2686
|
|
|
2499
2687
|
case "self":
|
|
2500
|
-
throw new Error("Messenger[" +
|
|
2688
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"self\" cannot be used as the keyword is reserved");
|
|
2501
2689
|
|
|
2502
2690
|
case "parent":
|
|
2503
|
-
throw new Error("Messenger[" +
|
|
2691
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"parent\" cannot be used as the keyword is reserved");
|
|
2504
2692
|
|
|
2505
2693
|
case "id":
|
|
2506
|
-
throw new Error("Messenger[" +
|
|
2694
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"id\" cannot be used as the keyword is reserved");
|
|
2507
2695
|
|
|
2508
2696
|
case "onload":
|
|
2509
|
-
throw new Error("Messenger[" +
|
|
2697
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"onload\" cannot be used as the keyword is reserved");
|
|
2510
2698
|
|
|
2511
2699
|
default:
|
|
2512
2700
|
break;
|
|
2513
2701
|
} // initialise the child iframe as a messenger pipe
|
|
2514
2702
|
|
|
2515
2703
|
|
|
2516
|
-
|
|
2704
|
+
_this22[iframeID] = new RemoteFunctionList(iframeID);
|
|
2517
2705
|
|
|
2518
|
-
|
|
2706
|
+
_this22[iframeID].setup(new RemoteInterface(src.source, src.origin)); // add the interface to the broadcaster
|
|
2519
2707
|
|
|
2520
2708
|
|
|
2521
|
-
|
|
2709
|
+
_this22._broadcaster._push(iframeID);
|
|
2522
2710
|
|
|
2523
|
-
var callbacks =
|
|
2711
|
+
var callbacks = _this22._callbacks; // we have registered callbacks, begin execution
|
|
2524
2712
|
|
|
2525
2713
|
if (callbacks.has(iframeID)) {
|
|
2526
2714
|
var array = callbacks.get(iframeID);
|
|
@@ -2544,33 +2732,33 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2544
2732
|
|
|
2545
2733
|
switch (iframeID) {
|
|
2546
2734
|
case undefined:
|
|
2547
|
-
throw new Error("Messenger[" +
|
|
2735
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID cannot be undefined");
|
|
2548
2736
|
|
|
2549
2737
|
case "self":
|
|
2550
|
-
throw new Error("Messenger[" +
|
|
2738
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"self\" cannot be used as the keyword is reserved");
|
|
2551
2739
|
|
|
2552
2740
|
case "parent":
|
|
2553
|
-
throw new Error("Messenger[" +
|
|
2741
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"parent\" cannot be used as the keyword is reserved");
|
|
2554
2742
|
|
|
2555
2743
|
case "id":
|
|
2556
|
-
throw new Error("Messenger[" +
|
|
2744
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"id\" cannot be used as the keyword is reserved");
|
|
2557
2745
|
|
|
2558
2746
|
case "onload":
|
|
2559
|
-
throw new Error("Messenger[" +
|
|
2747
|
+
throw new Error("Messenger[" + _this22._id + "].setup() Component ID of \"onload\" cannot be used as the keyword is reserved");
|
|
2560
2748
|
|
|
2561
2749
|
default:
|
|
2562
2750
|
break;
|
|
2563
2751
|
} // initialise the child iframe as a messenger pipe
|
|
2564
2752
|
|
|
2565
2753
|
|
|
2566
|
-
|
|
2754
|
+
_this22[iframeID] = new RemoteFunctionList(iframeID);
|
|
2567
2755
|
|
|
2568
|
-
|
|
2756
|
+
_this22[iframeID].setup(new RemoteInterface(src.source, src.origin)); // add the interface to the broadcaster
|
|
2569
2757
|
|
|
2570
2758
|
|
|
2571
|
-
|
|
2759
|
+
_this22._broadcaster._push(iframeID);
|
|
2572
2760
|
|
|
2573
|
-
var callbacks =
|
|
2761
|
+
var callbacks = _this22._callbacks; // we have registered callbacks, begin execution
|
|
2574
2762
|
|
|
2575
2763
|
if (callbacks.has(iframeID)) {
|
|
2576
2764
|
var array = callbacks.get(iframeID);
|
|
@@ -2590,11 +2778,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2590
2778
|
});
|
|
2591
2779
|
GlobalEventHandler.instance().listen("__messenger__parent_init", function (src, data) {
|
|
2592
2780
|
var iframeID = "parent";
|
|
2593
|
-
|
|
2781
|
+
_this22[iframeID] = new RemoteFunctionList(iframeID);
|
|
2594
2782
|
|
|
2595
|
-
|
|
2783
|
+
_this22[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
2596
2784
|
|
|
2597
|
-
var callbacks =
|
|
2785
|
+
var callbacks = _this22._callbacks; // we have registered callbacks, begin execution
|
|
2598
2786
|
|
|
2599
2787
|
if (callbacks.has(iframeID)) {
|
|
2600
2788
|
var array = callbacks.get(iframeID);
|
|
@@ -2619,11 +2807,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2619
2807
|
|
|
2620
2808
|
GlobalEventHandler.instance().listen("__messenger__parent_init_inv", function (src, data) {
|
|
2621
2809
|
var iframeID = "parent";
|
|
2622
|
-
|
|
2810
|
+
_this22[iframeID] = new RemoteFunctionList(iframeID);
|
|
2623
2811
|
|
|
2624
|
-
|
|
2812
|
+
_this22[iframeID].setup(new RemoteInterface(src.source, src.origin));
|
|
2625
2813
|
|
|
2626
|
-
var callbacks =
|
|
2814
|
+
var callbacks = _this22._callbacks; // we have registered callbacks, begin execution
|
|
2627
2815
|
|
|
2628
2816
|
if (callbacks.has(iframeID)) {
|
|
2629
2817
|
var array = callbacks.get(iframeID);
|
|
@@ -2679,14 +2867,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2679
2867
|
|
|
2680
2868
|
module.exports = Messenger;
|
|
2681
2869
|
}, {
|
|
2682
|
-
"./broadcaster.js":
|
|
2683
|
-
"./current/current-function-list":
|
|
2684
|
-
"./global-event-handler.js":
|
|
2685
|
-
"./remote-interface":
|
|
2686
|
-
"./remote/remote-function-list":
|
|
2687
|
-
"./util/util.js":
|
|
2870
|
+
"./broadcaster.js": 20,
|
|
2871
|
+
"./current/current-function-list": 21,
|
|
2872
|
+
"./global-event-handler.js": 23,
|
|
2873
|
+
"./remote-interface": 25,
|
|
2874
|
+
"./remote/remote-function-list": 26,
|
|
2875
|
+
"./util/util.js": 28
|
|
2688
2876
|
}],
|
|
2689
|
-
|
|
2877
|
+
25: [function (require, module, exports) {
|
|
2690
2878
|
/**
|
|
2691
2879
|
* Provides a single useful interface for performing remote function calls
|
|
2692
2880
|
*/
|
|
@@ -2758,7 +2946,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2758
2946
|
|
|
2759
2947
|
module.exports = RemoteInterface;
|
|
2760
2948
|
}, {}],
|
|
2761
|
-
|
|
2949
|
+
26: [function (require, module, exports) {
|
|
2762
2950
|
var WrappedFunction = require("./wrapped-remote-function");
|
|
2763
2951
|
|
|
2764
2952
|
var RemoteFunctionList = /*#__PURE__*/function () {
|
|
@@ -2846,9 +3034,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2846
3034
|
|
|
2847
3035
|
module.exports = RemoteFunctionList;
|
|
2848
3036
|
}, {
|
|
2849
|
-
"./wrapped-remote-function":
|
|
3037
|
+
"./wrapped-remote-function": 27
|
|
2850
3038
|
}],
|
|
2851
|
-
|
|
3039
|
+
27: [function (require, module, exports) {
|
|
2852
3040
|
var Util = require("../util/util.js");
|
|
2853
3041
|
|
|
2854
3042
|
var GlobalEventHandler = require("../global-event-handler.js");
|
|
@@ -2861,7 +3049,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2861
3049
|
|
|
2862
3050
|
var WrappedRemoteFunction = /*#__PURE__*/function () {
|
|
2863
3051
|
function WrappedRemoteFunction(funcName, remoteInterface) {
|
|
2864
|
-
var
|
|
3052
|
+
var _this23 = this;
|
|
2865
3053
|
|
|
2866
3054
|
_classCallCheck(this, WrappedRemoteFunction);
|
|
2867
3055
|
|
|
@@ -2872,19 +3060,19 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2872
3060
|
GlobalEventHandler.instance().listen("__messenger__exec_fnc_result", function (src, data) {
|
|
2873
3061
|
var instanceID = data.instance_id; // the function name must match
|
|
2874
3062
|
|
|
2875
|
-
if (data.function_name !==
|
|
3063
|
+
if (data.function_name !== _this23._funcName) {
|
|
2876
3064
|
return;
|
|
2877
3065
|
} // the instance ID must be found, otherwise this is a rogue execution
|
|
2878
3066
|
// that can be ignored (should not happen)
|
|
2879
3067
|
|
|
2880
3068
|
|
|
2881
|
-
if (!
|
|
3069
|
+
if (!_this23._callInstances[instanceID]) {
|
|
2882
3070
|
return;
|
|
2883
3071
|
}
|
|
2884
3072
|
|
|
2885
|
-
var promise =
|
|
3073
|
+
var promise = _this23._callInstances[instanceID]; // remove the old instance
|
|
2886
3074
|
|
|
2887
|
-
delete
|
|
3075
|
+
delete _this23._callInstances[instanceID]; // perform the promise callbacks
|
|
2888
3076
|
|
|
2889
3077
|
if (data.function_status === "success") {
|
|
2890
3078
|
promise.accept(data.function_args);
|
|
@@ -2901,7 +3089,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2901
3089
|
_createClass(WrappedRemoteFunction, [{
|
|
2902
3090
|
key: "exec",
|
|
2903
3091
|
value: function exec() {
|
|
2904
|
-
var
|
|
3092
|
+
var _this24 = this;
|
|
2905
3093
|
|
|
2906
3094
|
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
2907
3095
|
args[_key4] = arguments[_key4];
|
|
@@ -2921,14 +3109,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2921
3109
|
|
|
2922
3110
|
return new Promise(function (accept, reject) {
|
|
2923
3111
|
// save this promise to be executed later
|
|
2924
|
-
|
|
3112
|
+
_this24._callInstances[instanceID] = {
|
|
2925
3113
|
accept: accept,
|
|
2926
3114
|
reject: reject
|
|
2927
3115
|
}; // execute this event in another context
|
|
2928
3116
|
|
|
2929
|
-
|
|
3117
|
+
_this24._remoteInterface.send("__messenger__exec_fnc", {
|
|
2930
3118
|
instance_id: instanceID,
|
|
2931
|
-
function_name:
|
|
3119
|
+
function_name: _this24._funcName,
|
|
2932
3120
|
function_args: args
|
|
2933
3121
|
});
|
|
2934
3122
|
});
|
|
@@ -2940,10 +3128,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2940
3128
|
|
|
2941
3129
|
module.exports = WrappedRemoteFunction;
|
|
2942
3130
|
}, {
|
|
2943
|
-
"../global-event-handler.js":
|
|
2944
|
-
"../util/util.js":
|
|
3131
|
+
"../global-event-handler.js": 23,
|
|
3132
|
+
"../util/util.js": 28
|
|
2945
3133
|
}],
|
|
2946
|
-
|
|
3134
|
+
28: [function (require, module, exports) {
|
|
2947
3135
|
var Util = /*#__PURE__*/function () {
|
|
2948
3136
|
function Util() {
|
|
2949
3137
|
_classCallCheck(this, Util);
|
|
@@ -2983,10 +3171,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
2983
3171
|
|
|
2984
3172
|
module.exports = Util;
|
|
2985
3173
|
}, {}],
|
|
2986
|
-
|
|
3174
|
+
29: [function (require, module, exports) {
|
|
2987
3175
|
module.exports = "1.113.6";
|
|
2988
3176
|
}, {}],
|
|
2989
|
-
|
|
3177
|
+
30: [function (require, module, exports) {
|
|
2990
3178
|
"use strict";
|
|
2991
3179
|
|
|
2992
3180
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3055,9 +3243,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3055
3243
|
|
|
3056
3244
|
exports.AnalyticsData = AnalyticsData;
|
|
3057
3245
|
}, {
|
|
3058
|
-
"../util/util":
|
|
3246
|
+
"../util/util": 34
|
|
3059
3247
|
}],
|
|
3060
|
-
|
|
3248
|
+
31: [function (require, module, exports) {
|
|
3061
3249
|
"use strict";
|
|
3062
3250
|
|
|
3063
3251
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
@@ -3077,7 +3265,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3077
3265
|
|
|
3078
3266
|
var Analytics = /*#__PURE__*/function () {
|
|
3079
3267
|
function Analytics(applicationID) {
|
|
3080
|
-
var
|
|
3268
|
+
var _this25 = this;
|
|
3081
3269
|
|
|
3082
3270
|
_classCallCheck(this, Analytics);
|
|
3083
3271
|
|
|
@@ -3094,21 +3282,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3094
3282
|
|
|
3095
3283
|
this._handlePageHide = function () {
|
|
3096
3284
|
if (document.visibilityState === "hidden") {
|
|
3097
|
-
|
|
3098
|
-
} else if (
|
|
3285
|
+
_this25._pageTime = new Date();
|
|
3286
|
+
} else if (_this25._pageTime) {
|
|
3099
3287
|
var time2 = new Date();
|
|
3100
3288
|
|
|
3101
|
-
var diff = time2.getTime() -
|
|
3289
|
+
var diff = time2.getTime() - _this25._pageTime.getTime();
|
|
3102
3290
|
|
|
3103
|
-
var data =
|
|
3291
|
+
var data = _this25.data;
|
|
3104
3292
|
data.push("eventAction", "View Time");
|
|
3105
3293
|
data.push("viewTime", diff);
|
|
3106
3294
|
data.push("eventLabel", diff);
|
|
3107
3295
|
|
|
3108
|
-
|
|
3296
|
+
_this25.write();
|
|
3109
3297
|
|
|
3110
|
-
|
|
3111
|
-
document.removeEventListener("visibilitychange",
|
|
3298
|
+
_this25._pageTime = null;
|
|
3299
|
+
document.removeEventListener("visibilitychange", _this25._handlePageHide, false);
|
|
3112
3300
|
}
|
|
3113
3301
|
};
|
|
3114
3302
|
}
|
|
@@ -3116,7 +3304,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3116
3304
|
_createClass(Analytics, [{
|
|
3117
3305
|
key: "query",
|
|
3118
3306
|
value: function query() {
|
|
3119
|
-
var
|
|
3307
|
+
var _this26 = this;
|
|
3120
3308
|
|
|
3121
3309
|
var _query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
3122
3310
|
|
|
@@ -3125,11 +3313,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3125
3313
|
return reject(new Error("Analytics.query() - provided query was null"));
|
|
3126
3314
|
}
|
|
3127
3315
|
|
|
3128
|
-
var url =
|
|
3316
|
+
var url = _this26.origin === "dev" ? "http://localhost:9000/2015-03-31/functions/function/invocations" : "https://oyywgrj9ki.execute-api.ap-southeast-2.amazonaws.com/main/analytics";
|
|
3129
3317
|
var data = {
|
|
3130
3318
|
type: "read",
|
|
3131
|
-
application_id:
|
|
3132
|
-
event:
|
|
3319
|
+
application_id: _this26._applicationID,
|
|
3320
|
+
event: _this26.event,
|
|
3133
3321
|
data: _query
|
|
3134
3322
|
};
|
|
3135
3323
|
basic_http_1["default"].exec("POST", url, data).then(function (result) {
|
|
@@ -3140,21 +3328,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3140
3328
|
}, {
|
|
3141
3329
|
key: "write",
|
|
3142
3330
|
value: function write() {
|
|
3143
|
-
var
|
|
3331
|
+
var _this27 = this;
|
|
3144
3332
|
|
|
3145
3333
|
return new Promise(function (accept, reject) {
|
|
3146
|
-
var data =
|
|
3147
|
-
var url =
|
|
3148
|
-
data.push("applicationId",
|
|
3334
|
+
var data = _this27._data;
|
|
3335
|
+
var url = _this27.origin === "dev" ? "http://localhost:9000/2015-03-31/functions/function/invocations" : "https://oyywgrj9ki.execute-api.ap-southeast-2.amazonaws.com/main/analytics";
|
|
3336
|
+
data.push("applicationId", _this27._applicationID);
|
|
3149
3337
|
var sendData = {
|
|
3150
3338
|
type: "write",
|
|
3151
|
-
application_id:
|
|
3152
|
-
origin:
|
|
3153
|
-
event:
|
|
3339
|
+
application_id: _this27._applicationID,
|
|
3340
|
+
origin: _this27.origin,
|
|
3341
|
+
event: _this27.event,
|
|
3154
3342
|
data: data.data
|
|
3155
3343
|
};
|
|
3156
3344
|
|
|
3157
|
-
if (
|
|
3345
|
+
if (_this27.isBeacon === false) {
|
|
3158
3346
|
basic_http_1["default"].exec("POST", url, sendData).then(function (result) {
|
|
3159
3347
|
accept(result && result.results ? result.results : {});
|
|
3160
3348
|
})["catch"](reject);
|
|
@@ -3182,10 +3370,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3182
3370
|
|
|
3183
3371
|
exports.Analytics = Analytics;
|
|
3184
3372
|
}, {
|
|
3185
|
-
"../util/basic-http":
|
|
3186
|
-
"./analytics-data":
|
|
3373
|
+
"../util/basic-http": 33,
|
|
3374
|
+
"./analytics-data": 30
|
|
3187
3375
|
}],
|
|
3188
|
-
|
|
3376
|
+
32: [function (require, module, exports) {
|
|
3189
3377
|
"use strict";
|
|
3190
3378
|
|
|
3191
3379
|
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
@@ -3247,10 +3435,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3247
3435
|
|
|
3248
3436
|
console.log("using @plattar/plattar-analytics v" + version_1["default"]);
|
|
3249
3437
|
}, {
|
|
3250
|
-
"./analytics/analytics":
|
|
3251
|
-
"./version":
|
|
3438
|
+
"./analytics/analytics": 31,
|
|
3439
|
+
"./version": 35
|
|
3252
3440
|
}],
|
|
3253
|
-
|
|
3441
|
+
33: [function (require, module, exports) {
|
|
3254
3442
|
"use strict";
|
|
3255
3443
|
|
|
3256
3444
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3336,7 +3524,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3336
3524
|
|
|
3337
3525
|
exports["default"] = BasicHTTP;
|
|
3338
3526
|
}, {}],
|
|
3339
|
-
|
|
3527
|
+
34: [function (require, module, exports) {
|
|
3340
3528
|
"use strict";
|
|
3341
3529
|
|
|
3342
3530
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3375,7 +3563,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3375
3563
|
|
|
3376
3564
|
exports.Util = Util;
|
|
3377
3565
|
}, {}],
|
|
3378
|
-
|
|
3566
|
+
35: [function (require, module, exports) {
|
|
3379
3567
|
"use strict";
|
|
3380
3568
|
|
|
3381
3569
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -3383,7 +3571,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3383
3571
|
});
|
|
3384
3572
|
exports["default"] = "1.117.2";
|
|
3385
3573
|
}, {}],
|
|
3386
|
-
|
|
3574
|
+
36: [function (require, module, exports) {
|
|
3387
3575
|
"use strict";
|
|
3388
3576
|
|
|
3389
3577
|
var Server = require("./server/plattar-server.js");
|
|
@@ -3586,67 +3774,67 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3586
3774
|
version: Version
|
|
3587
3775
|
};
|
|
3588
3776
|
}, {
|
|
3589
|
-
"./server/plattar-server.js":
|
|
3590
|
-
"./types/application.js":
|
|
3591
|
-
"./types/content-pipeline/brief.js":
|
|
3592
|
-
"./types/content-pipeline/comment-brief.js":
|
|
3593
|
-
"./types/content-pipeline/comment-quote.js":
|
|
3594
|
-
"./types/content-pipeline/comment-solution.js":
|
|
3595
|
-
"./types/content-pipeline/folder.js":
|
|
3596
|
-
"./types/content-pipeline/pipeline-user.js":
|
|
3597
|
-
"./types/content-pipeline/quote.js":
|
|
3598
|
-
"./types/content-pipeline/rating.js":
|
|
3599
|
-
"./types/content-pipeline/solution.js":
|
|
3600
|
-
"./types/file/file-audio.js":
|
|
3601
|
-
"./types/file/file-base.js":
|
|
3602
|
-
"./types/file/file-image.js":
|
|
3603
|
-
"./types/file/file-model.js":
|
|
3604
|
-
"./types/file/file-script.js":
|
|
3605
|
-
"./types/file/file-video.js":
|
|
3606
|
-
"./types/misc/application-build.js":
|
|
3607
|
-
"./types/misc/asset-library.js":
|
|
3608
|
-
"./types/misc/async-job.js":
|
|
3609
|
-
"./types/misc/script-event.js":
|
|
3610
|
-
"./types/misc/tag.js":
|
|
3611
|
-
"./types/page/card-base.js":
|
|
3612
|
-
"./types/page/card-button.js":
|
|
3613
|
-
"./types/page/card-html.js":
|
|
3614
|
-
"./types/page/card-iframe.js":
|
|
3615
|
-
"./types/page/card-image.js":
|
|
3616
|
-
"./types/page/card-map.js":
|
|
3617
|
-
"./types/page/card-paragraph.js":
|
|
3618
|
-
"./types/page/card-row.js":
|
|
3619
|
-
"./types/page/card-slider.js":
|
|
3620
|
-
"./types/page/card-title.js":
|
|
3621
|
-
"./types/page/card-video.js":
|
|
3622
|
-
"./types/page/card-youtube.js":
|
|
3623
|
-
"./types/page/page.js":
|
|
3624
|
-
"./types/product/product-annotation.js":
|
|
3625
|
-
"./types/product/product-base.js":
|
|
3626
|
-
"./types/product/product-variation.js":
|
|
3627
|
-
"./types/product/product.js":
|
|
3628
|
-
"./types/scene/scene-annotation.js":
|
|
3629
|
-
"./types/scene/scene-audio.js":
|
|
3630
|
-
"./types/scene/scene-base.js":
|
|
3631
|
-
"./types/scene/scene-button.js":
|
|
3632
|
-
"./types/scene/scene-camera.js":
|
|
3633
|
-
"./types/scene/scene-carousel.js":
|
|
3634
|
-
"./types/scene/scene-image.js":
|
|
3635
|
-
"./types/scene/scene-model.js":
|
|
3636
|
-
"./types/scene/scene-panorama.js":
|
|
3637
|
-
"./types/scene/scene-poller.js":
|
|
3638
|
-
"./types/scene/scene-product.js":
|
|
3639
|
-
"./types/scene/scene-script.js":
|
|
3640
|
-
"./types/scene/scene-shadow.js":
|
|
3641
|
-
"./types/scene/scene-video.js":
|
|
3642
|
-
"./types/scene/scene-volumetric.js":
|
|
3643
|
-
"./types/scene/scene-youtube.js":
|
|
3644
|
-
"./types/scene/scene.js":
|
|
3645
|
-
"./types/trigger/trigger-image.js":
|
|
3646
|
-
"./util/plattar-util.js":
|
|
3647
|
-
"./version":
|
|
3777
|
+
"./server/plattar-server.js": 38,
|
|
3778
|
+
"./types/application.js": 39,
|
|
3779
|
+
"./types/content-pipeline/brief.js": 40,
|
|
3780
|
+
"./types/content-pipeline/comment-brief.js": 41,
|
|
3781
|
+
"./types/content-pipeline/comment-quote.js": 42,
|
|
3782
|
+
"./types/content-pipeline/comment-solution.js": 43,
|
|
3783
|
+
"./types/content-pipeline/folder.js": 44,
|
|
3784
|
+
"./types/content-pipeline/pipeline-user.js": 45,
|
|
3785
|
+
"./types/content-pipeline/quote.js": 46,
|
|
3786
|
+
"./types/content-pipeline/rating.js": 47,
|
|
3787
|
+
"./types/content-pipeline/solution.js": 48,
|
|
3788
|
+
"./types/file/file-audio.js": 49,
|
|
3789
|
+
"./types/file/file-base.js": 50,
|
|
3790
|
+
"./types/file/file-image.js": 51,
|
|
3791
|
+
"./types/file/file-model.js": 52,
|
|
3792
|
+
"./types/file/file-script.js": 53,
|
|
3793
|
+
"./types/file/file-video.js": 54,
|
|
3794
|
+
"./types/misc/application-build.js": 58,
|
|
3795
|
+
"./types/misc/asset-library.js": 59,
|
|
3796
|
+
"./types/misc/async-job.js": 60,
|
|
3797
|
+
"./types/misc/script-event.js": 61,
|
|
3798
|
+
"./types/misc/tag.js": 62,
|
|
3799
|
+
"./types/page/card-base.js": 63,
|
|
3800
|
+
"./types/page/card-button.js": 64,
|
|
3801
|
+
"./types/page/card-html.js": 65,
|
|
3802
|
+
"./types/page/card-iframe.js": 66,
|
|
3803
|
+
"./types/page/card-image.js": 67,
|
|
3804
|
+
"./types/page/card-map.js": 68,
|
|
3805
|
+
"./types/page/card-paragraph.js": 69,
|
|
3806
|
+
"./types/page/card-row.js": 70,
|
|
3807
|
+
"./types/page/card-slider.js": 71,
|
|
3808
|
+
"./types/page/card-title.js": 72,
|
|
3809
|
+
"./types/page/card-video.js": 73,
|
|
3810
|
+
"./types/page/card-youtube.js": 74,
|
|
3811
|
+
"./types/page/page.js": 75,
|
|
3812
|
+
"./types/product/product-annotation.js": 76,
|
|
3813
|
+
"./types/product/product-base.js": 77,
|
|
3814
|
+
"./types/product/product-variation.js": 78,
|
|
3815
|
+
"./types/product/product.js": 79,
|
|
3816
|
+
"./types/scene/scene-annotation.js": 80,
|
|
3817
|
+
"./types/scene/scene-audio.js": 81,
|
|
3818
|
+
"./types/scene/scene-base.js": 82,
|
|
3819
|
+
"./types/scene/scene-button.js": 83,
|
|
3820
|
+
"./types/scene/scene-camera.js": 84,
|
|
3821
|
+
"./types/scene/scene-carousel.js": 85,
|
|
3822
|
+
"./types/scene/scene-image.js": 86,
|
|
3823
|
+
"./types/scene/scene-model.js": 87,
|
|
3824
|
+
"./types/scene/scene-panorama.js": 88,
|
|
3825
|
+
"./types/scene/scene-poller.js": 89,
|
|
3826
|
+
"./types/scene/scene-product.js": 90,
|
|
3827
|
+
"./types/scene/scene-script.js": 91,
|
|
3828
|
+
"./types/scene/scene-shadow.js": 92,
|
|
3829
|
+
"./types/scene/scene-video.js": 93,
|
|
3830
|
+
"./types/scene/scene-volumetric.js": 94,
|
|
3831
|
+
"./types/scene/scene-youtube.js": 95,
|
|
3832
|
+
"./types/scene/scene.js": 96,
|
|
3833
|
+
"./types/trigger/trigger-image.js": 97,
|
|
3834
|
+
"./util/plattar-util.js": 98,
|
|
3835
|
+
"./version": 99
|
|
3648
3836
|
}],
|
|
3649
|
-
|
|
3837
|
+
37: [function (require, module, exports) {
|
|
3650
3838
|
var fetch = require("node-fetch");
|
|
3651
3839
|
|
|
3652
3840
|
var PlattarQuery = /*#__PURE__*/function () {
|
|
@@ -3705,11 +3893,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3705
3893
|
}, {
|
|
3706
3894
|
key: "_get",
|
|
3707
3895
|
value: function _get(opt) {
|
|
3708
|
-
var
|
|
3896
|
+
var _this28 = this;
|
|
3709
3897
|
|
|
3710
3898
|
return new Promise(function (resolve, reject) {
|
|
3711
|
-
var target =
|
|
3712
|
-
var server =
|
|
3899
|
+
var target = _this28.target;
|
|
3900
|
+
var server = _this28.server; // we cannot perform a GET request without an ID
|
|
3713
3901
|
|
|
3714
3902
|
if (!target.id) {
|
|
3715
3903
|
reject(new Error("PlattarQuery." + target.type() + ".get() - object id is missing"));
|
|
@@ -3734,16 +3922,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3734
3922
|
var origin = server.originLocation.api_read;
|
|
3735
3923
|
var auth = server.authToken;
|
|
3736
3924
|
var headers = {
|
|
3737
|
-
'cookie': 'laravel_session=' +
|
|
3925
|
+
'cookie': 'laravel_session=' + _this28.getCookie('laravel_session')
|
|
3738
3926
|
};
|
|
3739
3927
|
Object.assign(headers, auth);
|
|
3740
3928
|
var reqopts = {
|
|
3741
3929
|
method: "GET",
|
|
3742
3930
|
headers: headers
|
|
3743
3931
|
};
|
|
3744
|
-
var includeQuery =
|
|
3932
|
+
var includeQuery = _this28._IncludeQuery;
|
|
3745
3933
|
|
|
3746
|
-
var params =
|
|
3934
|
+
var params = _this28._ParamFor("get");
|
|
3747
3935
|
|
|
3748
3936
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
3749
3937
|
|
|
@@ -3784,11 +3972,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3784
3972
|
}, {
|
|
3785
3973
|
key: "_update",
|
|
3786
3974
|
value: function _update() {
|
|
3787
|
-
var
|
|
3975
|
+
var _this29 = this;
|
|
3788
3976
|
|
|
3789
3977
|
return new Promise(function (resolve, reject) {
|
|
3790
|
-
var target =
|
|
3791
|
-
var server =
|
|
3978
|
+
var target = _this29.target;
|
|
3979
|
+
var server = _this29.server; // we cannot perform a GET request without an ID
|
|
3792
3980
|
|
|
3793
3981
|
if (!target.id) {
|
|
3794
3982
|
reject(new Error("PlattarQuery." + target.type() + ".update() - object id is missing"));
|
|
@@ -3801,7 +3989,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3801
3989
|
var headers = {
|
|
3802
3990
|
'Accept': 'application/json',
|
|
3803
3991
|
'Content-Type': 'application/json',
|
|
3804
|
-
'cookie': 'laravel_session=' +
|
|
3992
|
+
'cookie': 'laravel_session=' + _this29.getCookie('laravel_session')
|
|
3805
3993
|
};
|
|
3806
3994
|
Object.assign(headers, auth);
|
|
3807
3995
|
var reqopts = {
|
|
@@ -3816,7 +4004,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3816
4004
|
})
|
|
3817
4005
|
};
|
|
3818
4006
|
|
|
3819
|
-
var params =
|
|
4007
|
+
var params = _this29._ParamFor("update");
|
|
3820
4008
|
|
|
3821
4009
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
3822
4010
|
|
|
@@ -3858,18 +4046,18 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3858
4046
|
}, {
|
|
3859
4047
|
key: "_create",
|
|
3860
4048
|
value: function _create() {
|
|
3861
|
-
var
|
|
4049
|
+
var _this30 = this;
|
|
3862
4050
|
|
|
3863
4051
|
return new Promise(function (resolve, reject) {
|
|
3864
|
-
var target =
|
|
3865
|
-
var server =
|
|
4052
|
+
var target = _this30.target;
|
|
4053
|
+
var server = _this30.server; // otherwise, proceed with the fetching op
|
|
3866
4054
|
|
|
3867
4055
|
var origin = server.originLocation.api_write;
|
|
3868
4056
|
var auth = server.authToken;
|
|
3869
4057
|
var headers = {
|
|
3870
4058
|
'Accept': 'application/json',
|
|
3871
4059
|
'Content-Type': 'application/json',
|
|
3872
|
-
'cookie': 'laravel_session=' +
|
|
4060
|
+
'cookie': 'laravel_session=' + _this30.getCookie('laravel_session')
|
|
3873
4061
|
};
|
|
3874
4062
|
Object.assign(headers, auth);
|
|
3875
4063
|
var reqopts = {
|
|
@@ -3883,7 +4071,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3883
4071
|
})
|
|
3884
4072
|
};
|
|
3885
4073
|
|
|
3886
|
-
var params =
|
|
4074
|
+
var params = _this30._ParamFor("create");
|
|
3887
4075
|
|
|
3888
4076
|
var endpoint = origin + target.type();
|
|
3889
4077
|
|
|
@@ -3927,11 +4115,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3927
4115
|
}, {
|
|
3928
4116
|
key: "_delete",
|
|
3929
4117
|
value: function _delete() {
|
|
3930
|
-
var
|
|
4118
|
+
var _this31 = this;
|
|
3931
4119
|
|
|
3932
4120
|
return new Promise(function (resolve, reject) {
|
|
3933
|
-
var target =
|
|
3934
|
-
var server =
|
|
4121
|
+
var target = _this31.target;
|
|
4122
|
+
var server = _this31.server; // we cannot perform a GET request without an ID
|
|
3935
4123
|
|
|
3936
4124
|
if (!target.id) {
|
|
3937
4125
|
reject(new Error("PlattarQuery." + target.type() + ".delete() - object id is missing"));
|
|
@@ -3944,7 +4132,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3944
4132
|
var headers = {
|
|
3945
4133
|
'Accept': 'application/json',
|
|
3946
4134
|
'Content-Type': 'application/json',
|
|
3947
|
-
'cookie': 'laravel_session=' +
|
|
4135
|
+
'cookie': 'laravel_session=' + _this31.getCookie('laravel_session')
|
|
3948
4136
|
};
|
|
3949
4137
|
Object.assign(headers, auth);
|
|
3950
4138
|
var reqopts = {
|
|
@@ -3959,7 +4147,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
3959
4147
|
})
|
|
3960
4148
|
};
|
|
3961
4149
|
|
|
3962
|
-
var params =
|
|
4150
|
+
var params = _this31._ParamFor("delete");
|
|
3963
4151
|
|
|
3964
4152
|
var endpoint = origin + target.type() + "/" + target.id;
|
|
3965
4153
|
|
|
@@ -4022,7 +4210,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4022
4210
|
}, {
|
|
4023
4211
|
key: "_include",
|
|
4024
4212
|
value: function _include(args) {
|
|
4025
|
-
var
|
|
4213
|
+
var _this32 = this;
|
|
4026
4214
|
|
|
4027
4215
|
if (!args || args.length <= 0) {
|
|
4028
4216
|
return this;
|
|
@@ -4035,21 +4223,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4035
4223
|
if (Array.isArray(obj)) {
|
|
4036
4224
|
obj.forEach(function (strObject) {
|
|
4037
4225
|
if (typeof strObject === "string" || strObject instanceof String) {
|
|
4038
|
-
|
|
4226
|
+
_this32._getIncludeQuery.push(strObject);
|
|
4039
4227
|
} else {
|
|
4040
|
-
throw new Error("PlattarQuery." +
|
|
4228
|
+
throw new Error("PlattarQuery." + _this32.target.type() + ".include(...args) - argument of Array must only include Strings");
|
|
4041
4229
|
}
|
|
4042
4230
|
});
|
|
4043
4231
|
} else if (PlattarUtil.isPlattarObject(obj)) {
|
|
4044
4232
|
var type = obj.type();
|
|
4045
4233
|
|
|
4046
4234
|
if (Array.isArray(type)) {
|
|
4047
|
-
|
|
4235
|
+
_this32._include(type);
|
|
4048
4236
|
} else {
|
|
4049
|
-
|
|
4237
|
+
_this32._getIncludeQuery.push(type);
|
|
4050
4238
|
}
|
|
4051
4239
|
} else {
|
|
4052
|
-
throw new Error("PlattarQuery." +
|
|
4240
|
+
throw new Error("PlattarQuery." + _this32.target.type() + ".include(...args) - argument must be of type PlattarObject or Array but was type=" + _typeof(obj) + " value=" + obj);
|
|
4053
4241
|
}
|
|
4054
4242
|
});
|
|
4055
4243
|
return this;
|
|
@@ -4130,10 +4318,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4130
4318
|
|
|
4131
4319
|
module.exports = PlattarQuery;
|
|
4132
4320
|
}, {
|
|
4133
|
-
"../util/plattar-util.js":
|
|
4134
|
-
"node-fetch":
|
|
4321
|
+
"../util/plattar-util.js": 98,
|
|
4322
|
+
"node-fetch": 119
|
|
4135
4323
|
}],
|
|
4136
|
-
|
|
4324
|
+
38: [function (require, module, exports) {
|
|
4137
4325
|
(function (process) {
|
|
4138
4326
|
(function () {
|
|
4139
4327
|
var fetch = require("node-fetch");
|
|
@@ -4189,13 +4377,13 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4189
4377
|
}, {
|
|
4190
4378
|
key: "auth",
|
|
4191
4379
|
value: function auth(token, opt) {
|
|
4192
|
-
var
|
|
4380
|
+
var _this33 = this;
|
|
4193
4381
|
|
|
4194
4382
|
var copt = opt || {
|
|
4195
4383
|
validate: false
|
|
4196
4384
|
};
|
|
4197
4385
|
return new Promise(function (resolve, reject) {
|
|
4198
|
-
var server =
|
|
4386
|
+
var server = _this33.originLocation.api_write;
|
|
4199
4387
|
|
|
4200
4388
|
if (!server) {
|
|
4201
4389
|
reject(new Error("Plattar.auth(token) - cannot authenticate as server not set via Plattar.origin(server)"));
|
|
@@ -4208,10 +4396,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4208
4396
|
}
|
|
4209
4397
|
|
|
4210
4398
|
if (!copt.validate) {
|
|
4211
|
-
|
|
4399
|
+
_this33._authToken = {
|
|
4212
4400
|
"plattar-auth-token": token
|
|
4213
4401
|
};
|
|
4214
|
-
resolve(
|
|
4402
|
+
resolve(_this33);
|
|
4215
4403
|
return;
|
|
4216
4404
|
}
|
|
4217
4405
|
|
|
@@ -4224,10 +4412,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4224
4412
|
};
|
|
4225
4413
|
fetch(endpoint, options).then(function (res) {
|
|
4226
4414
|
if (res.ok) {
|
|
4227
|
-
|
|
4415
|
+
_this33._authToken = {
|
|
4228
4416
|
"plattar-auth-token": token
|
|
4229
4417
|
};
|
|
4230
|
-
resolve(
|
|
4418
|
+
resolve(_this33);
|
|
4231
4419
|
} else {
|
|
4232
4420
|
reject(new Error("Plattar.auth(token) - failed to validate authentication token at " + endpoint));
|
|
4233
4421
|
}
|
|
@@ -4237,7 +4425,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4237
4425
|
}, {
|
|
4238
4426
|
key: "origin",
|
|
4239
4427
|
value: function origin(server, opt) {
|
|
4240
|
-
var
|
|
4428
|
+
var _this34 = this;
|
|
4241
4429
|
|
|
4242
4430
|
var copt = opt || {
|
|
4243
4431
|
validate: false
|
|
@@ -4249,8 +4437,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4249
4437
|
}
|
|
4250
4438
|
|
|
4251
4439
|
if (!copt.validate) {
|
|
4252
|
-
|
|
4253
|
-
resolve(
|
|
4440
|
+
_this34._serverLocation = server;
|
|
4441
|
+
resolve(_this34);
|
|
4254
4442
|
return;
|
|
4255
4443
|
}
|
|
4256
4444
|
|
|
@@ -4260,8 +4448,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4260
4448
|
};
|
|
4261
4449
|
fetch(endpoint, options).then(function (res) {
|
|
4262
4450
|
if (res.ok) {
|
|
4263
|
-
|
|
4264
|
-
resolve(
|
|
4451
|
+
_this34._serverLocation = server;
|
|
4452
|
+
resolve(_this34);
|
|
4265
4453
|
} else {
|
|
4266
4454
|
reject(new Error("Plattar.origin(server) - failed to ping server at " + endpoint));
|
|
4267
4455
|
}
|
|
@@ -4355,21 +4543,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4355
4543
|
}).call(this);
|
|
4356
4544
|
}).call(this, require('_process'));
|
|
4357
4545
|
}, {
|
|
4358
|
-
"_process":
|
|
4359
|
-
"node-fetch":
|
|
4546
|
+
"_process": 120,
|
|
4547
|
+
"node-fetch": 119
|
|
4360
4548
|
}],
|
|
4361
|
-
|
|
4549
|
+
39: [function (require, module, exports) {
|
|
4362
4550
|
var PlattarBase = require("./interfaces/plattar-base.js");
|
|
4363
4551
|
|
|
4364
4552
|
var Application = /*#__PURE__*/function (_PlattarBase) {
|
|
4365
4553
|
_inherits(Application, _PlattarBase);
|
|
4366
4554
|
|
|
4367
|
-
var
|
|
4555
|
+
var _super10 = _createSuper(Application);
|
|
4368
4556
|
|
|
4369
4557
|
function Application() {
|
|
4370
4558
|
_classCallCheck(this, Application);
|
|
4371
4559
|
|
|
4372
|
-
return
|
|
4560
|
+
return _super10.apply(this, arguments);
|
|
4373
4561
|
}
|
|
4374
4562
|
|
|
4375
4563
|
_createClass(Application, null, [{
|
|
@@ -4384,20 +4572,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4384
4572
|
|
|
4385
4573
|
module.exports = Application;
|
|
4386
4574
|
}, {
|
|
4387
|
-
"./interfaces/plattar-base.js":
|
|
4575
|
+
"./interfaces/plattar-base.js": 55
|
|
4388
4576
|
}],
|
|
4389
|
-
|
|
4577
|
+
40: [function (require, module, exports) {
|
|
4390
4578
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4391
4579
|
|
|
4392
4580
|
var Brief = /*#__PURE__*/function (_PlattarBase2) {
|
|
4393
4581
|
_inherits(Brief, _PlattarBase2);
|
|
4394
4582
|
|
|
4395
|
-
var
|
|
4583
|
+
var _super11 = _createSuper(Brief);
|
|
4396
4584
|
|
|
4397
4585
|
function Brief() {
|
|
4398
4586
|
_classCallCheck(this, Brief);
|
|
4399
4587
|
|
|
4400
|
-
return
|
|
4588
|
+
return _super11.apply(this, arguments);
|
|
4401
4589
|
}
|
|
4402
4590
|
|
|
4403
4591
|
_createClass(Brief, null, [{
|
|
@@ -4412,20 +4600,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4412
4600
|
|
|
4413
4601
|
module.exports = Brief;
|
|
4414
4602
|
}, {
|
|
4415
|
-
"../interfaces/plattar-base":
|
|
4603
|
+
"../interfaces/plattar-base": 55
|
|
4416
4604
|
}],
|
|
4417
|
-
|
|
4605
|
+
41: [function (require, module, exports) {
|
|
4418
4606
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4419
4607
|
|
|
4420
4608
|
var CommentBrief = /*#__PURE__*/function (_PlattarBase3) {
|
|
4421
4609
|
_inherits(CommentBrief, _PlattarBase3);
|
|
4422
4610
|
|
|
4423
|
-
var
|
|
4611
|
+
var _super12 = _createSuper(CommentBrief);
|
|
4424
4612
|
|
|
4425
4613
|
function CommentBrief() {
|
|
4426
4614
|
_classCallCheck(this, CommentBrief);
|
|
4427
4615
|
|
|
4428
|
-
return
|
|
4616
|
+
return _super12.apply(this, arguments);
|
|
4429
4617
|
}
|
|
4430
4618
|
|
|
4431
4619
|
_createClass(CommentBrief, null, [{
|
|
@@ -4440,20 +4628,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4440
4628
|
|
|
4441
4629
|
module.exports = CommentBrief;
|
|
4442
4630
|
}, {
|
|
4443
|
-
"../interfaces/plattar-base":
|
|
4631
|
+
"../interfaces/plattar-base": 55
|
|
4444
4632
|
}],
|
|
4445
|
-
|
|
4633
|
+
42: [function (require, module, exports) {
|
|
4446
4634
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4447
4635
|
|
|
4448
4636
|
var CommentQuote = /*#__PURE__*/function (_PlattarBase4) {
|
|
4449
4637
|
_inherits(CommentQuote, _PlattarBase4);
|
|
4450
4638
|
|
|
4451
|
-
var
|
|
4639
|
+
var _super13 = _createSuper(CommentQuote);
|
|
4452
4640
|
|
|
4453
4641
|
function CommentQuote() {
|
|
4454
4642
|
_classCallCheck(this, CommentQuote);
|
|
4455
4643
|
|
|
4456
|
-
return
|
|
4644
|
+
return _super13.apply(this, arguments);
|
|
4457
4645
|
}
|
|
4458
4646
|
|
|
4459
4647
|
_createClass(CommentQuote, null, [{
|
|
@@ -4468,20 +4656,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4468
4656
|
|
|
4469
4657
|
module.exports = CommentQuote;
|
|
4470
4658
|
}, {
|
|
4471
|
-
"../interfaces/plattar-base":
|
|
4659
|
+
"../interfaces/plattar-base": 55
|
|
4472
4660
|
}],
|
|
4473
|
-
|
|
4661
|
+
43: [function (require, module, exports) {
|
|
4474
4662
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4475
4663
|
|
|
4476
4664
|
var CommentSolution = /*#__PURE__*/function (_PlattarBase5) {
|
|
4477
4665
|
_inherits(CommentSolution, _PlattarBase5);
|
|
4478
4666
|
|
|
4479
|
-
var
|
|
4667
|
+
var _super14 = _createSuper(CommentSolution);
|
|
4480
4668
|
|
|
4481
4669
|
function CommentSolution() {
|
|
4482
4670
|
_classCallCheck(this, CommentSolution);
|
|
4483
4671
|
|
|
4484
|
-
return
|
|
4672
|
+
return _super14.apply(this, arguments);
|
|
4485
4673
|
}
|
|
4486
4674
|
|
|
4487
4675
|
_createClass(CommentSolution, null, [{
|
|
@@ -4496,20 +4684,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4496
4684
|
|
|
4497
4685
|
module.exports = CommentSolution;
|
|
4498
4686
|
}, {
|
|
4499
|
-
"../interfaces/plattar-base":
|
|
4687
|
+
"../interfaces/plattar-base": 55
|
|
4500
4688
|
}],
|
|
4501
|
-
|
|
4689
|
+
44: [function (require, module, exports) {
|
|
4502
4690
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4503
4691
|
|
|
4504
4692
|
var Folder = /*#__PURE__*/function (_PlattarBase6) {
|
|
4505
4693
|
_inherits(Folder, _PlattarBase6);
|
|
4506
4694
|
|
|
4507
|
-
var
|
|
4695
|
+
var _super15 = _createSuper(Folder);
|
|
4508
4696
|
|
|
4509
4697
|
function Folder() {
|
|
4510
4698
|
_classCallCheck(this, Folder);
|
|
4511
4699
|
|
|
4512
|
-
return
|
|
4700
|
+
return _super15.apply(this, arguments);
|
|
4513
4701
|
}
|
|
4514
4702
|
|
|
4515
4703
|
_createClass(Folder, null, [{
|
|
@@ -4524,20 +4712,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4524
4712
|
|
|
4525
4713
|
module.exports = Folder;
|
|
4526
4714
|
}, {
|
|
4527
|
-
"../interfaces/plattar-base":
|
|
4715
|
+
"../interfaces/plattar-base": 55
|
|
4528
4716
|
}],
|
|
4529
|
-
|
|
4717
|
+
45: [function (require, module, exports) {
|
|
4530
4718
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4531
4719
|
|
|
4532
4720
|
var PipelineUser = /*#__PURE__*/function (_PlattarBase7) {
|
|
4533
4721
|
_inherits(PipelineUser, _PlattarBase7);
|
|
4534
4722
|
|
|
4535
|
-
var
|
|
4723
|
+
var _super16 = _createSuper(PipelineUser);
|
|
4536
4724
|
|
|
4537
4725
|
function PipelineUser() {
|
|
4538
4726
|
_classCallCheck(this, PipelineUser);
|
|
4539
4727
|
|
|
4540
|
-
return
|
|
4728
|
+
return _super16.apply(this, arguments);
|
|
4541
4729
|
}
|
|
4542
4730
|
|
|
4543
4731
|
_createClass(PipelineUser, null, [{
|
|
@@ -4552,20 +4740,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4552
4740
|
|
|
4553
4741
|
module.exports = PipelineUser;
|
|
4554
4742
|
}, {
|
|
4555
|
-
"../interfaces/plattar-base":
|
|
4743
|
+
"../interfaces/plattar-base": 55
|
|
4556
4744
|
}],
|
|
4557
|
-
|
|
4745
|
+
46: [function (require, module, exports) {
|
|
4558
4746
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4559
4747
|
|
|
4560
4748
|
var Quote = /*#__PURE__*/function (_PlattarBase8) {
|
|
4561
4749
|
_inherits(Quote, _PlattarBase8);
|
|
4562
4750
|
|
|
4563
|
-
var
|
|
4751
|
+
var _super17 = _createSuper(Quote);
|
|
4564
4752
|
|
|
4565
4753
|
function Quote() {
|
|
4566
4754
|
_classCallCheck(this, Quote);
|
|
4567
4755
|
|
|
4568
|
-
return
|
|
4756
|
+
return _super17.apply(this, arguments);
|
|
4569
4757
|
}
|
|
4570
4758
|
|
|
4571
4759
|
_createClass(Quote, null, [{
|
|
@@ -4580,20 +4768,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4580
4768
|
|
|
4581
4769
|
module.exports = Quote;
|
|
4582
4770
|
}, {
|
|
4583
|
-
"../interfaces/plattar-base":
|
|
4771
|
+
"../interfaces/plattar-base": 55
|
|
4584
4772
|
}],
|
|
4585
|
-
|
|
4773
|
+
47: [function (require, module, exports) {
|
|
4586
4774
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4587
4775
|
|
|
4588
4776
|
var Rating = /*#__PURE__*/function (_PlattarBase9) {
|
|
4589
4777
|
_inherits(Rating, _PlattarBase9);
|
|
4590
4778
|
|
|
4591
|
-
var
|
|
4779
|
+
var _super18 = _createSuper(Rating);
|
|
4592
4780
|
|
|
4593
4781
|
function Rating() {
|
|
4594
4782
|
_classCallCheck(this, Rating);
|
|
4595
4783
|
|
|
4596
|
-
return
|
|
4784
|
+
return _super18.apply(this, arguments);
|
|
4597
4785
|
}
|
|
4598
4786
|
|
|
4599
4787
|
_createClass(Rating, null, [{
|
|
@@ -4608,20 +4796,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4608
4796
|
|
|
4609
4797
|
module.exports = Rating;
|
|
4610
4798
|
}, {
|
|
4611
|
-
"../interfaces/plattar-base":
|
|
4799
|
+
"../interfaces/plattar-base": 55
|
|
4612
4800
|
}],
|
|
4613
|
-
|
|
4801
|
+
48: [function (require, module, exports) {
|
|
4614
4802
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
4615
4803
|
|
|
4616
4804
|
var Solution = /*#__PURE__*/function (_PlattarBase10) {
|
|
4617
4805
|
_inherits(Solution, _PlattarBase10);
|
|
4618
4806
|
|
|
4619
|
-
var
|
|
4807
|
+
var _super19 = _createSuper(Solution);
|
|
4620
4808
|
|
|
4621
4809
|
function Solution() {
|
|
4622
4810
|
_classCallCheck(this, Solution);
|
|
4623
4811
|
|
|
4624
|
-
return
|
|
4812
|
+
return _super19.apply(this, arguments);
|
|
4625
4813
|
}
|
|
4626
4814
|
|
|
4627
4815
|
_createClass(Solution, null, [{
|
|
@@ -4636,20 +4824,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4636
4824
|
|
|
4637
4825
|
module.exports = Solution;
|
|
4638
4826
|
}, {
|
|
4639
|
-
"../interfaces/plattar-base":
|
|
4827
|
+
"../interfaces/plattar-base": 55
|
|
4640
4828
|
}],
|
|
4641
|
-
|
|
4829
|
+
49: [function (require, module, exports) {
|
|
4642
4830
|
var FileBase = require("./file-base.js");
|
|
4643
4831
|
|
|
4644
4832
|
var FileAudio = /*#__PURE__*/function (_FileBase) {
|
|
4645
4833
|
_inherits(FileAudio, _FileBase);
|
|
4646
4834
|
|
|
4647
|
-
var
|
|
4835
|
+
var _super20 = _createSuper(FileAudio);
|
|
4648
4836
|
|
|
4649
4837
|
function FileAudio() {
|
|
4650
4838
|
_classCallCheck(this, FileAudio);
|
|
4651
4839
|
|
|
4652
|
-
return
|
|
4840
|
+
return _super20.apply(this, arguments);
|
|
4653
4841
|
}
|
|
4654
4842
|
|
|
4655
4843
|
_createClass(FileAudio, null, [{
|
|
@@ -4664,9 +4852,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4664
4852
|
|
|
4665
4853
|
module.exports = FileAudio;
|
|
4666
4854
|
}, {
|
|
4667
|
-
"./file-base.js":
|
|
4855
|
+
"./file-base.js": 50
|
|
4668
4856
|
}],
|
|
4669
|
-
|
|
4857
|
+
50: [function (require, module, exports) {
|
|
4670
4858
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
4671
4859
|
|
|
4672
4860
|
var Server = require("../../server/plattar-server.js");
|
|
@@ -4674,20 +4862,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4674
4862
|
var FileBase = /*#__PURE__*/function (_PlattarBase11) {
|
|
4675
4863
|
_inherits(FileBase, _PlattarBase11);
|
|
4676
4864
|
|
|
4677
|
-
var
|
|
4865
|
+
var _super21 = _createSuper(FileBase);
|
|
4678
4866
|
|
|
4679
4867
|
function FileBase(id, server) {
|
|
4680
|
-
var
|
|
4868
|
+
var _this35;
|
|
4681
4869
|
|
|
4682
4870
|
_classCallCheck(this, FileBase);
|
|
4683
4871
|
|
|
4684
|
-
|
|
4872
|
+
_this35 = _super21.call(this, id, server || Server["default"]());
|
|
4685
4873
|
|
|
4686
|
-
if (
|
|
4874
|
+
if (_this35.constructor === FileBase) {
|
|
4687
4875
|
throw new Error("FileBase is abstract and cannot be created");
|
|
4688
4876
|
}
|
|
4689
4877
|
|
|
4690
|
-
return
|
|
4878
|
+
return _this35;
|
|
4691
4879
|
}
|
|
4692
4880
|
|
|
4693
4881
|
_createClass(FileBase, [{
|
|
@@ -4752,25 +4940,25 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4752
4940
|
|
|
4753
4941
|
module.exports = FileBase;
|
|
4754
4942
|
}, {
|
|
4755
|
-
"../../server/plattar-server.js":
|
|
4756
|
-
"../interfaces/plattar-base.js":
|
|
4757
|
-
"./file-audio.js":
|
|
4758
|
-
"./file-image.js":
|
|
4759
|
-
"./file-model.js":
|
|
4760
|
-
"./file-video.js":
|
|
4943
|
+
"../../server/plattar-server.js": 38,
|
|
4944
|
+
"../interfaces/plattar-base.js": 55,
|
|
4945
|
+
"./file-audio.js": 49,
|
|
4946
|
+
"./file-image.js": 51,
|
|
4947
|
+
"./file-model.js": 52,
|
|
4948
|
+
"./file-video.js": 54
|
|
4761
4949
|
}],
|
|
4762
|
-
|
|
4950
|
+
51: [function (require, module, exports) {
|
|
4763
4951
|
var FileBase = require("./file-base.js");
|
|
4764
4952
|
|
|
4765
4953
|
var FileImage = /*#__PURE__*/function (_FileBase2) {
|
|
4766
4954
|
_inherits(FileImage, _FileBase2);
|
|
4767
4955
|
|
|
4768
|
-
var
|
|
4956
|
+
var _super22 = _createSuper(FileImage);
|
|
4769
4957
|
|
|
4770
4958
|
function FileImage() {
|
|
4771
4959
|
_classCallCheck(this, FileImage);
|
|
4772
4960
|
|
|
4773
|
-
return
|
|
4961
|
+
return _super22.apply(this, arguments);
|
|
4774
4962
|
}
|
|
4775
4963
|
|
|
4776
4964
|
_createClass(FileImage, null, [{
|
|
@@ -4785,20 +4973,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4785
4973
|
|
|
4786
4974
|
module.exports = FileImage;
|
|
4787
4975
|
}, {
|
|
4788
|
-
"./file-base.js":
|
|
4976
|
+
"./file-base.js": 50
|
|
4789
4977
|
}],
|
|
4790
|
-
|
|
4978
|
+
52: [function (require, module, exports) {
|
|
4791
4979
|
var FileBase = require("./file-base.js");
|
|
4792
4980
|
|
|
4793
4981
|
var FileModel = /*#__PURE__*/function (_FileBase3) {
|
|
4794
4982
|
_inherits(FileModel, _FileBase3);
|
|
4795
4983
|
|
|
4796
|
-
var
|
|
4984
|
+
var _super23 = _createSuper(FileModel);
|
|
4797
4985
|
|
|
4798
4986
|
function FileModel() {
|
|
4799
4987
|
_classCallCheck(this, FileModel);
|
|
4800
4988
|
|
|
4801
|
-
return
|
|
4989
|
+
return _super23.apply(this, arguments);
|
|
4802
4990
|
}
|
|
4803
4991
|
|
|
4804
4992
|
_createClass(FileModel, null, [{
|
|
@@ -4813,20 +5001,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4813
5001
|
|
|
4814
5002
|
module.exports = FileModel;
|
|
4815
5003
|
}, {
|
|
4816
|
-
"./file-base.js":
|
|
5004
|
+
"./file-base.js": 50
|
|
4817
5005
|
}],
|
|
4818
|
-
|
|
5006
|
+
53: [function (require, module, exports) {
|
|
4819
5007
|
var FileBase = require("./file-base.js");
|
|
4820
5008
|
|
|
4821
5009
|
var FileScript = /*#__PURE__*/function (_FileBase4) {
|
|
4822
5010
|
_inherits(FileScript, _FileBase4);
|
|
4823
5011
|
|
|
4824
|
-
var
|
|
5012
|
+
var _super24 = _createSuper(FileScript);
|
|
4825
5013
|
|
|
4826
5014
|
function FileScript() {
|
|
4827
5015
|
_classCallCheck(this, FileScript);
|
|
4828
5016
|
|
|
4829
|
-
return
|
|
5017
|
+
return _super24.apply(this, arguments);
|
|
4830
5018
|
}
|
|
4831
5019
|
|
|
4832
5020
|
_createClass(FileScript, null, [{
|
|
@@ -4841,20 +5029,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4841
5029
|
|
|
4842
5030
|
module.exports = FileScript;
|
|
4843
5031
|
}, {
|
|
4844
|
-
"./file-base.js":
|
|
5032
|
+
"./file-base.js": 50
|
|
4845
5033
|
}],
|
|
4846
|
-
|
|
5034
|
+
54: [function (require, module, exports) {
|
|
4847
5035
|
var FileBase = require("./file-base.js");
|
|
4848
5036
|
|
|
4849
5037
|
var FileVideo = /*#__PURE__*/function (_FileBase5) {
|
|
4850
5038
|
_inherits(FileVideo, _FileBase5);
|
|
4851
5039
|
|
|
4852
|
-
var
|
|
5040
|
+
var _super25 = _createSuper(FileVideo);
|
|
4853
5041
|
|
|
4854
5042
|
function FileVideo() {
|
|
4855
5043
|
_classCallCheck(this, FileVideo);
|
|
4856
5044
|
|
|
4857
|
-
return
|
|
5045
|
+
return _super25.apply(this, arguments);
|
|
4858
5046
|
}
|
|
4859
5047
|
|
|
4860
5048
|
_createClass(FileVideo, null, [{
|
|
@@ -4869,9 +5057,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4869
5057
|
|
|
4870
5058
|
module.exports = FileVideo;
|
|
4871
5059
|
}, {
|
|
4872
|
-
"./file-base.js":
|
|
5060
|
+
"./file-base.js": 50
|
|
4873
5061
|
}],
|
|
4874
|
-
|
|
5062
|
+
55: [function (require, module, exports) {
|
|
4875
5063
|
var PlattarObject = require("./plattar-object.js");
|
|
4876
5064
|
|
|
4877
5065
|
var Server = require("../../server/plattar-server.js");
|
|
@@ -4879,20 +5067,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4879
5067
|
var PlattarBase = /*#__PURE__*/function (_PlattarObject) {
|
|
4880
5068
|
_inherits(PlattarBase, _PlattarObject);
|
|
4881
5069
|
|
|
4882
|
-
var
|
|
5070
|
+
var _super26 = _createSuper(PlattarBase);
|
|
4883
5071
|
|
|
4884
5072
|
function PlattarBase(id, server) {
|
|
4885
|
-
var
|
|
5073
|
+
var _this36;
|
|
4886
5074
|
|
|
4887
5075
|
_classCallCheck(this, PlattarBase);
|
|
4888
5076
|
|
|
4889
|
-
|
|
5077
|
+
_this36 = _super26.call(this, id, server || Server["default"]());
|
|
4890
5078
|
|
|
4891
|
-
if (
|
|
5079
|
+
if (_this36.constructor === PlattarBase) {
|
|
4892
5080
|
throw new Error("PlattarBase is abstract and cannot be created");
|
|
4893
5081
|
}
|
|
4894
5082
|
|
|
4895
|
-
return
|
|
5083
|
+
return _this36;
|
|
4896
5084
|
}
|
|
4897
5085
|
|
|
4898
5086
|
return _createClass(PlattarBase);
|
|
@@ -4900,10 +5088,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4900
5088
|
|
|
4901
5089
|
module.exports = PlattarBase;
|
|
4902
5090
|
}, {
|
|
4903
|
-
"../../server/plattar-server.js":
|
|
4904
|
-
"./plattar-object.js":
|
|
5091
|
+
"../../server/plattar-server.js": 38,
|
|
5092
|
+
"./plattar-object.js": 57
|
|
4905
5093
|
}],
|
|
4906
|
-
|
|
5094
|
+
56: [function (require, module, exports) {
|
|
4907
5095
|
/**
|
|
4908
5096
|
* Handles the list of relationships for the provided object
|
|
4909
5097
|
*/
|
|
@@ -4964,7 +5152,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4964
5152
|
}, {
|
|
4965
5153
|
key: "filter",
|
|
4966
5154
|
value: function filter(obj, id) {
|
|
4967
|
-
var
|
|
5155
|
+
var _this37 = this;
|
|
4968
5156
|
|
|
4969
5157
|
if (!obj) {
|
|
4970
5158
|
return [];
|
|
@@ -4982,7 +5170,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
4982
5170
|
if (Array.isArray(type)) {
|
|
4983
5171
|
var compiledList = [];
|
|
4984
5172
|
type.forEach(function (inObject) {
|
|
4985
|
-
var retArray =
|
|
5173
|
+
var retArray = _this37.filter(inObject, id);
|
|
4986
5174
|
|
|
4987
5175
|
if (retArray.length > 0) {
|
|
4988
5176
|
compiledList = compiledList.concat(retArray);
|
|
@@ -5039,9 +5227,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5039
5227
|
|
|
5040
5228
|
module.exports = PlattarObjectRelations;
|
|
5041
5229
|
}, {
|
|
5042
|
-
"../../util/plattar-util.js":
|
|
5230
|
+
"../../util/plattar-util.js": 98
|
|
5043
5231
|
}],
|
|
5044
|
-
|
|
5232
|
+
57: [function (require, module, exports) {
|
|
5045
5233
|
var PlattarQuery = require("../../server/plattar-query.js");
|
|
5046
5234
|
|
|
5047
5235
|
var PlattarObjectRelations = require("./plattar-object-relations.js");
|
|
@@ -5185,7 +5373,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5185
5373
|
}, {
|
|
5186
5374
|
key: "include",
|
|
5187
5375
|
value: function include() {
|
|
5188
|
-
var
|
|
5376
|
+
var _this38 = this;
|
|
5189
5377
|
|
|
5190
5378
|
for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
5191
5379
|
args[_key6] = arguments[_key6];
|
|
@@ -5201,15 +5389,15 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5201
5389
|
if (Array.isArray(obj)) {
|
|
5202
5390
|
obj.forEach(function (strObject) {
|
|
5203
5391
|
if (typeof strObject === "string" || strObject instanceof String) {
|
|
5204
|
-
includes.push("".concat(
|
|
5392
|
+
includes.push("".concat(_this38.type(), ".").concat(strObject));
|
|
5205
5393
|
} else {
|
|
5206
|
-
throw new Error("PlattarObject." +
|
|
5394
|
+
throw new Error("PlattarObject." + _this38.type() + ".include(...args) - argument of Array must only include Strings");
|
|
5207
5395
|
}
|
|
5208
5396
|
});
|
|
5209
5397
|
} else if (obj.prototype instanceof PlattarObject) {
|
|
5210
|
-
includes.push("".concat(
|
|
5398
|
+
includes.push("".concat(_this38.type(), ".").concat(obj.type()));
|
|
5211
5399
|
} else {
|
|
5212
|
-
throw new Error("PlattarObject." +
|
|
5400
|
+
throw new Error("PlattarObject." + _this38.type() + ".include(...args) - argument must be of type PlattarObject or Array but was type=" + _typeof(obj) + " value=" + obj);
|
|
5213
5401
|
}
|
|
5214
5402
|
});
|
|
5215
5403
|
return includes;
|
|
@@ -5221,21 +5409,21 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5221
5409
|
|
|
5222
5410
|
module.exports = PlattarObject;
|
|
5223
5411
|
}, {
|
|
5224
|
-
"../../server/plattar-query.js":
|
|
5225
|
-
"./plattar-object-relations.js":
|
|
5412
|
+
"../../server/plattar-query.js": 37,
|
|
5413
|
+
"./plattar-object-relations.js": 56
|
|
5226
5414
|
}],
|
|
5227
|
-
|
|
5415
|
+
58: [function (require, module, exports) {
|
|
5228
5416
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5229
5417
|
|
|
5230
5418
|
var ApplicationBuild = /*#__PURE__*/function (_PlattarBase12) {
|
|
5231
5419
|
_inherits(ApplicationBuild, _PlattarBase12);
|
|
5232
5420
|
|
|
5233
|
-
var
|
|
5421
|
+
var _super27 = _createSuper(ApplicationBuild);
|
|
5234
5422
|
|
|
5235
5423
|
function ApplicationBuild() {
|
|
5236
5424
|
_classCallCheck(this, ApplicationBuild);
|
|
5237
5425
|
|
|
5238
|
-
return
|
|
5426
|
+
return _super27.apply(this, arguments);
|
|
5239
5427
|
}
|
|
5240
5428
|
|
|
5241
5429
|
_createClass(ApplicationBuild, null, [{
|
|
@@ -5250,20 +5438,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5250
5438
|
|
|
5251
5439
|
module.exports = ApplicationBuild;
|
|
5252
5440
|
}, {
|
|
5253
|
-
"../interfaces/plattar-base.js":
|
|
5441
|
+
"../interfaces/plattar-base.js": 55
|
|
5254
5442
|
}],
|
|
5255
|
-
|
|
5443
|
+
59: [function (require, module, exports) {
|
|
5256
5444
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5257
5445
|
|
|
5258
5446
|
var AssetLibrary = /*#__PURE__*/function (_PlattarBase13) {
|
|
5259
5447
|
_inherits(AssetLibrary, _PlattarBase13);
|
|
5260
5448
|
|
|
5261
|
-
var
|
|
5449
|
+
var _super28 = _createSuper(AssetLibrary);
|
|
5262
5450
|
|
|
5263
5451
|
function AssetLibrary() {
|
|
5264
5452
|
_classCallCheck(this, AssetLibrary);
|
|
5265
5453
|
|
|
5266
|
-
return
|
|
5454
|
+
return _super28.apply(this, arguments);
|
|
5267
5455
|
}
|
|
5268
5456
|
|
|
5269
5457
|
_createClass(AssetLibrary, null, [{
|
|
@@ -5278,20 +5466,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5278
5466
|
|
|
5279
5467
|
module.exports = AssetLibrary;
|
|
5280
5468
|
}, {
|
|
5281
|
-
"../interfaces/plattar-base.js":
|
|
5469
|
+
"../interfaces/plattar-base.js": 55
|
|
5282
5470
|
}],
|
|
5283
|
-
|
|
5471
|
+
60: [function (require, module, exports) {
|
|
5284
5472
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5285
5473
|
|
|
5286
5474
|
var AsyncJob = /*#__PURE__*/function (_PlattarBase14) {
|
|
5287
5475
|
_inherits(AsyncJob, _PlattarBase14);
|
|
5288
5476
|
|
|
5289
|
-
var
|
|
5477
|
+
var _super29 = _createSuper(AsyncJob);
|
|
5290
5478
|
|
|
5291
5479
|
function AsyncJob() {
|
|
5292
5480
|
_classCallCheck(this, AsyncJob);
|
|
5293
5481
|
|
|
5294
|
-
return
|
|
5482
|
+
return _super29.apply(this, arguments);
|
|
5295
5483
|
}
|
|
5296
5484
|
|
|
5297
5485
|
_createClass(AsyncJob, [{
|
|
@@ -5311,20 +5499,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5311
5499
|
|
|
5312
5500
|
module.exports = AsyncJob;
|
|
5313
5501
|
}, {
|
|
5314
|
-
"../interfaces/plattar-base.js":
|
|
5502
|
+
"../interfaces/plattar-base.js": 55
|
|
5315
5503
|
}],
|
|
5316
|
-
|
|
5504
|
+
61: [function (require, module, exports) {
|
|
5317
5505
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5318
5506
|
|
|
5319
5507
|
var ScriptEvent = /*#__PURE__*/function (_PlattarBase15) {
|
|
5320
5508
|
_inherits(ScriptEvent, _PlattarBase15);
|
|
5321
5509
|
|
|
5322
|
-
var
|
|
5510
|
+
var _super30 = _createSuper(ScriptEvent);
|
|
5323
5511
|
|
|
5324
5512
|
function ScriptEvent() {
|
|
5325
5513
|
_classCallCheck(this, ScriptEvent);
|
|
5326
5514
|
|
|
5327
|
-
return
|
|
5515
|
+
return _super30.apply(this, arguments);
|
|
5328
5516
|
}
|
|
5329
5517
|
|
|
5330
5518
|
_createClass(ScriptEvent, null, [{
|
|
@@ -5339,20 +5527,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5339
5527
|
|
|
5340
5528
|
module.exports = ScriptEvent;
|
|
5341
5529
|
}, {
|
|
5342
|
-
"../interfaces/plattar-base.js":
|
|
5530
|
+
"../interfaces/plattar-base.js": 55
|
|
5343
5531
|
}],
|
|
5344
|
-
|
|
5532
|
+
62: [function (require, module, exports) {
|
|
5345
5533
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5346
5534
|
|
|
5347
5535
|
var Tag = /*#__PURE__*/function (_PlattarBase16) {
|
|
5348
5536
|
_inherits(Tag, _PlattarBase16);
|
|
5349
5537
|
|
|
5350
|
-
var
|
|
5538
|
+
var _super31 = _createSuper(Tag);
|
|
5351
5539
|
|
|
5352
5540
|
function Tag() {
|
|
5353
5541
|
_classCallCheck(this, Tag);
|
|
5354
5542
|
|
|
5355
|
-
return
|
|
5543
|
+
return _super31.apply(this, arguments);
|
|
5356
5544
|
}
|
|
5357
5545
|
|
|
5358
5546
|
_createClass(Tag, null, [{
|
|
@@ -5367,9 +5555,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5367
5555
|
|
|
5368
5556
|
module.exports = Tag;
|
|
5369
5557
|
}, {
|
|
5370
|
-
"../interfaces/plattar-base.js":
|
|
5558
|
+
"../interfaces/plattar-base.js": 55
|
|
5371
5559
|
}],
|
|
5372
|
-
|
|
5560
|
+
63: [function (require, module, exports) {
|
|
5373
5561
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5374
5562
|
|
|
5375
5563
|
var Server = require("../../server/plattar-server.js");
|
|
@@ -5377,20 +5565,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5377
5565
|
var CardBase = /*#__PURE__*/function (_PlattarBase17) {
|
|
5378
5566
|
_inherits(CardBase, _PlattarBase17);
|
|
5379
5567
|
|
|
5380
|
-
var
|
|
5568
|
+
var _super32 = _createSuper(CardBase);
|
|
5381
5569
|
|
|
5382
5570
|
function CardBase(id, server) {
|
|
5383
|
-
var
|
|
5571
|
+
var _this39;
|
|
5384
5572
|
|
|
5385
5573
|
_classCallCheck(this, CardBase);
|
|
5386
5574
|
|
|
5387
|
-
|
|
5575
|
+
_this39 = _super32.call(this, id, server || Server["default"]());
|
|
5388
5576
|
|
|
5389
|
-
if (
|
|
5577
|
+
if (_this39.constructor === CardBase) {
|
|
5390
5578
|
throw new Error("CardBase is abstract and cannot be created");
|
|
5391
5579
|
}
|
|
5392
5580
|
|
|
5393
|
-
return
|
|
5581
|
+
return _this39;
|
|
5394
5582
|
}
|
|
5395
5583
|
|
|
5396
5584
|
_createClass(CardBase, null, [{
|
|
@@ -5427,32 +5615,32 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5427
5615
|
|
|
5428
5616
|
module.exports = CardBase;
|
|
5429
5617
|
}, {
|
|
5430
|
-
"../../server/plattar-server.js":
|
|
5431
|
-
"../interfaces/plattar-base.js":
|
|
5432
|
-
"./card-button.js":
|
|
5433
|
-
"./card-html.js":
|
|
5434
|
-
"./card-iframe.js":
|
|
5435
|
-
"./card-image.js":
|
|
5436
|
-
"./card-map.js":
|
|
5437
|
-
"./card-paragraph.js":
|
|
5438
|
-
"./card-row.js":
|
|
5439
|
-
"./card-slider.js":
|
|
5440
|
-
"./card-title.js":
|
|
5441
|
-
"./card-video.js":
|
|
5442
|
-
"./card-youtube.js":
|
|
5618
|
+
"../../server/plattar-server.js": 38,
|
|
5619
|
+
"../interfaces/plattar-base.js": 55,
|
|
5620
|
+
"./card-button.js": 64,
|
|
5621
|
+
"./card-html.js": 65,
|
|
5622
|
+
"./card-iframe.js": 66,
|
|
5623
|
+
"./card-image.js": 67,
|
|
5624
|
+
"./card-map.js": 68,
|
|
5625
|
+
"./card-paragraph.js": 69,
|
|
5626
|
+
"./card-row.js": 70,
|
|
5627
|
+
"./card-slider.js": 71,
|
|
5628
|
+
"./card-title.js": 72,
|
|
5629
|
+
"./card-video.js": 73,
|
|
5630
|
+
"./card-youtube.js": 74
|
|
5443
5631
|
}],
|
|
5444
|
-
|
|
5632
|
+
64: [function (require, module, exports) {
|
|
5445
5633
|
var CardBase = require("./card-base.js");
|
|
5446
5634
|
|
|
5447
5635
|
var CardButton = /*#__PURE__*/function (_CardBase) {
|
|
5448
5636
|
_inherits(CardButton, _CardBase);
|
|
5449
5637
|
|
|
5450
|
-
var
|
|
5638
|
+
var _super33 = _createSuper(CardButton);
|
|
5451
5639
|
|
|
5452
5640
|
function CardButton() {
|
|
5453
5641
|
_classCallCheck(this, CardButton);
|
|
5454
5642
|
|
|
5455
|
-
return
|
|
5643
|
+
return _super33.apply(this, arguments);
|
|
5456
5644
|
}
|
|
5457
5645
|
|
|
5458
5646
|
_createClass(CardButton, null, [{
|
|
@@ -5467,20 +5655,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5467
5655
|
|
|
5468
5656
|
module.exports = CardButton;
|
|
5469
5657
|
}, {
|
|
5470
|
-
"./card-base.js":
|
|
5658
|
+
"./card-base.js": 63
|
|
5471
5659
|
}],
|
|
5472
|
-
|
|
5660
|
+
65: [function (require, module, exports) {
|
|
5473
5661
|
var CardBase = require("./card-base.js");
|
|
5474
5662
|
|
|
5475
5663
|
var CardHTML = /*#__PURE__*/function (_CardBase2) {
|
|
5476
5664
|
_inherits(CardHTML, _CardBase2);
|
|
5477
5665
|
|
|
5478
|
-
var
|
|
5666
|
+
var _super34 = _createSuper(CardHTML);
|
|
5479
5667
|
|
|
5480
5668
|
function CardHTML() {
|
|
5481
5669
|
_classCallCheck(this, CardHTML);
|
|
5482
5670
|
|
|
5483
|
-
return
|
|
5671
|
+
return _super34.apply(this, arguments);
|
|
5484
5672
|
}
|
|
5485
5673
|
|
|
5486
5674
|
_createClass(CardHTML, null, [{
|
|
@@ -5495,20 +5683,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5495
5683
|
|
|
5496
5684
|
module.exports = CardHTML;
|
|
5497
5685
|
}, {
|
|
5498
|
-
"./card-base.js":
|
|
5686
|
+
"./card-base.js": 63
|
|
5499
5687
|
}],
|
|
5500
|
-
|
|
5688
|
+
66: [function (require, module, exports) {
|
|
5501
5689
|
var CardBase = require("./card-base.js");
|
|
5502
5690
|
|
|
5503
5691
|
var CardIFrame = /*#__PURE__*/function (_CardBase3) {
|
|
5504
5692
|
_inherits(CardIFrame, _CardBase3);
|
|
5505
5693
|
|
|
5506
|
-
var
|
|
5694
|
+
var _super35 = _createSuper(CardIFrame);
|
|
5507
5695
|
|
|
5508
5696
|
function CardIFrame() {
|
|
5509
5697
|
_classCallCheck(this, CardIFrame);
|
|
5510
5698
|
|
|
5511
|
-
return
|
|
5699
|
+
return _super35.apply(this, arguments);
|
|
5512
5700
|
}
|
|
5513
5701
|
|
|
5514
5702
|
_createClass(CardIFrame, null, [{
|
|
@@ -5523,20 +5711,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5523
5711
|
|
|
5524
5712
|
module.exports = CardIFrame;
|
|
5525
5713
|
}, {
|
|
5526
|
-
"./card-base.js":
|
|
5714
|
+
"./card-base.js": 63
|
|
5527
5715
|
}],
|
|
5528
|
-
|
|
5716
|
+
67: [function (require, module, exports) {
|
|
5529
5717
|
var CardBase = require("./card-base.js");
|
|
5530
5718
|
|
|
5531
5719
|
var CardImage = /*#__PURE__*/function (_CardBase4) {
|
|
5532
5720
|
_inherits(CardImage, _CardBase4);
|
|
5533
5721
|
|
|
5534
|
-
var
|
|
5722
|
+
var _super36 = _createSuper(CardImage);
|
|
5535
5723
|
|
|
5536
5724
|
function CardImage() {
|
|
5537
5725
|
_classCallCheck(this, CardImage);
|
|
5538
5726
|
|
|
5539
|
-
return
|
|
5727
|
+
return _super36.apply(this, arguments);
|
|
5540
5728
|
}
|
|
5541
5729
|
|
|
5542
5730
|
_createClass(CardImage, null, [{
|
|
@@ -5551,20 +5739,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5551
5739
|
|
|
5552
5740
|
module.exports = CardImage;
|
|
5553
5741
|
}, {
|
|
5554
|
-
"./card-base.js":
|
|
5742
|
+
"./card-base.js": 63
|
|
5555
5743
|
}],
|
|
5556
|
-
|
|
5744
|
+
68: [function (require, module, exports) {
|
|
5557
5745
|
var CardBase = require("./card-base.js");
|
|
5558
5746
|
|
|
5559
5747
|
var CardMap = /*#__PURE__*/function (_CardBase5) {
|
|
5560
5748
|
_inherits(CardMap, _CardBase5);
|
|
5561
5749
|
|
|
5562
|
-
var
|
|
5750
|
+
var _super37 = _createSuper(CardMap);
|
|
5563
5751
|
|
|
5564
5752
|
function CardMap() {
|
|
5565
5753
|
_classCallCheck(this, CardMap);
|
|
5566
5754
|
|
|
5567
|
-
return
|
|
5755
|
+
return _super37.apply(this, arguments);
|
|
5568
5756
|
}
|
|
5569
5757
|
|
|
5570
5758
|
_createClass(CardMap, null, [{
|
|
@@ -5579,20 +5767,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5579
5767
|
|
|
5580
5768
|
module.exports = CardMap;
|
|
5581
5769
|
}, {
|
|
5582
|
-
"./card-base.js":
|
|
5770
|
+
"./card-base.js": 63
|
|
5583
5771
|
}],
|
|
5584
|
-
|
|
5772
|
+
69: [function (require, module, exports) {
|
|
5585
5773
|
var CardBase = require("./card-base.js");
|
|
5586
5774
|
|
|
5587
5775
|
var CardParagraph = /*#__PURE__*/function (_CardBase6) {
|
|
5588
5776
|
_inherits(CardParagraph, _CardBase6);
|
|
5589
5777
|
|
|
5590
|
-
var
|
|
5778
|
+
var _super38 = _createSuper(CardParagraph);
|
|
5591
5779
|
|
|
5592
5780
|
function CardParagraph() {
|
|
5593
5781
|
_classCallCheck(this, CardParagraph);
|
|
5594
5782
|
|
|
5595
|
-
return
|
|
5783
|
+
return _super38.apply(this, arguments);
|
|
5596
5784
|
}
|
|
5597
5785
|
|
|
5598
5786
|
_createClass(CardParagraph, null, [{
|
|
@@ -5607,20 +5795,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5607
5795
|
|
|
5608
5796
|
module.exports = CardParagraph;
|
|
5609
5797
|
}, {
|
|
5610
|
-
"./card-base.js":
|
|
5798
|
+
"./card-base.js": 63
|
|
5611
5799
|
}],
|
|
5612
|
-
|
|
5800
|
+
70: [function (require, module, exports) {
|
|
5613
5801
|
var CardBase = require("./card-base.js");
|
|
5614
5802
|
|
|
5615
5803
|
var CardRow = /*#__PURE__*/function (_CardBase7) {
|
|
5616
5804
|
_inherits(CardRow, _CardBase7);
|
|
5617
5805
|
|
|
5618
|
-
var
|
|
5806
|
+
var _super39 = _createSuper(CardRow);
|
|
5619
5807
|
|
|
5620
5808
|
function CardRow() {
|
|
5621
5809
|
_classCallCheck(this, CardRow);
|
|
5622
5810
|
|
|
5623
|
-
return
|
|
5811
|
+
return _super39.apply(this, arguments);
|
|
5624
5812
|
}
|
|
5625
5813
|
|
|
5626
5814
|
_createClass(CardRow, null, [{
|
|
@@ -5635,20 +5823,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5635
5823
|
|
|
5636
5824
|
module.exports = CardRow;
|
|
5637
5825
|
}, {
|
|
5638
|
-
"./card-base.js":
|
|
5826
|
+
"./card-base.js": 63
|
|
5639
5827
|
}],
|
|
5640
|
-
|
|
5828
|
+
71: [function (require, module, exports) {
|
|
5641
5829
|
var CardBase = require("./card-base.js");
|
|
5642
5830
|
|
|
5643
5831
|
var CardSlider = /*#__PURE__*/function (_CardBase8) {
|
|
5644
5832
|
_inherits(CardSlider, _CardBase8);
|
|
5645
5833
|
|
|
5646
|
-
var
|
|
5834
|
+
var _super40 = _createSuper(CardSlider);
|
|
5647
5835
|
|
|
5648
5836
|
function CardSlider() {
|
|
5649
5837
|
_classCallCheck(this, CardSlider);
|
|
5650
5838
|
|
|
5651
|
-
return
|
|
5839
|
+
return _super40.apply(this, arguments);
|
|
5652
5840
|
}
|
|
5653
5841
|
|
|
5654
5842
|
_createClass(CardSlider, null, [{
|
|
@@ -5663,20 +5851,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5663
5851
|
|
|
5664
5852
|
module.exports = CardSlider;
|
|
5665
5853
|
}, {
|
|
5666
|
-
"./card-base.js":
|
|
5854
|
+
"./card-base.js": 63
|
|
5667
5855
|
}],
|
|
5668
|
-
|
|
5856
|
+
72: [function (require, module, exports) {
|
|
5669
5857
|
var CardBase = require("./card-base.js");
|
|
5670
5858
|
|
|
5671
5859
|
var CardTitle = /*#__PURE__*/function (_CardBase9) {
|
|
5672
5860
|
_inherits(CardTitle, _CardBase9);
|
|
5673
5861
|
|
|
5674
|
-
var
|
|
5862
|
+
var _super41 = _createSuper(CardTitle);
|
|
5675
5863
|
|
|
5676
5864
|
function CardTitle() {
|
|
5677
5865
|
_classCallCheck(this, CardTitle);
|
|
5678
5866
|
|
|
5679
|
-
return
|
|
5867
|
+
return _super41.apply(this, arguments);
|
|
5680
5868
|
}
|
|
5681
5869
|
|
|
5682
5870
|
_createClass(CardTitle, null, [{
|
|
@@ -5691,20 +5879,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5691
5879
|
|
|
5692
5880
|
module.exports = CardTitle;
|
|
5693
5881
|
}, {
|
|
5694
|
-
"./card-base.js":
|
|
5882
|
+
"./card-base.js": 63
|
|
5695
5883
|
}],
|
|
5696
|
-
|
|
5884
|
+
73: [function (require, module, exports) {
|
|
5697
5885
|
var CardBase = require("./card-base.js");
|
|
5698
5886
|
|
|
5699
5887
|
var CardVideo = /*#__PURE__*/function (_CardBase10) {
|
|
5700
5888
|
_inherits(CardVideo, _CardBase10);
|
|
5701
5889
|
|
|
5702
|
-
var
|
|
5890
|
+
var _super42 = _createSuper(CardVideo);
|
|
5703
5891
|
|
|
5704
5892
|
function CardVideo() {
|
|
5705
5893
|
_classCallCheck(this, CardVideo);
|
|
5706
5894
|
|
|
5707
|
-
return
|
|
5895
|
+
return _super42.apply(this, arguments);
|
|
5708
5896
|
}
|
|
5709
5897
|
|
|
5710
5898
|
_createClass(CardVideo, null, [{
|
|
@@ -5719,20 +5907,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5719
5907
|
|
|
5720
5908
|
module.exports = CardVideo;
|
|
5721
5909
|
}, {
|
|
5722
|
-
"./card-base.js":
|
|
5910
|
+
"./card-base.js": 63
|
|
5723
5911
|
}],
|
|
5724
|
-
|
|
5912
|
+
74: [function (require, module, exports) {
|
|
5725
5913
|
var CardBase = require("./card-base.js");
|
|
5726
5914
|
|
|
5727
5915
|
var CardYoutube = /*#__PURE__*/function (_CardBase11) {
|
|
5728
5916
|
_inherits(CardYoutube, _CardBase11);
|
|
5729
5917
|
|
|
5730
|
-
var
|
|
5918
|
+
var _super43 = _createSuper(CardYoutube);
|
|
5731
5919
|
|
|
5732
5920
|
function CardYoutube() {
|
|
5733
5921
|
_classCallCheck(this, CardYoutube);
|
|
5734
5922
|
|
|
5735
|
-
return
|
|
5923
|
+
return _super43.apply(this, arguments);
|
|
5736
5924
|
}
|
|
5737
5925
|
|
|
5738
5926
|
_createClass(CardYoutube, null, [{
|
|
@@ -5747,20 +5935,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5747
5935
|
|
|
5748
5936
|
module.exports = CardYoutube;
|
|
5749
5937
|
}, {
|
|
5750
|
-
"./card-base.js":
|
|
5938
|
+
"./card-base.js": 63
|
|
5751
5939
|
}],
|
|
5752
|
-
|
|
5940
|
+
75: [function (require, module, exports) {
|
|
5753
5941
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5754
5942
|
|
|
5755
5943
|
var Page = /*#__PURE__*/function (_PlattarBase18) {
|
|
5756
5944
|
_inherits(Page, _PlattarBase18);
|
|
5757
5945
|
|
|
5758
|
-
var
|
|
5946
|
+
var _super44 = _createSuper(Page);
|
|
5759
5947
|
|
|
5760
5948
|
function Page() {
|
|
5761
5949
|
_classCallCheck(this, Page);
|
|
5762
5950
|
|
|
5763
|
-
return
|
|
5951
|
+
return _super44.apply(this, arguments);
|
|
5764
5952
|
}
|
|
5765
5953
|
|
|
5766
5954
|
_createClass(Page, null, [{
|
|
@@ -5775,20 +5963,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5775
5963
|
|
|
5776
5964
|
module.exports = Page;
|
|
5777
5965
|
}, {
|
|
5778
|
-
"../interfaces/plattar-base.js":
|
|
5966
|
+
"../interfaces/plattar-base.js": 55
|
|
5779
5967
|
}],
|
|
5780
|
-
|
|
5968
|
+
76: [function (require, module, exports) {
|
|
5781
5969
|
var ProductBase = require("./product-base.js");
|
|
5782
5970
|
|
|
5783
5971
|
var ProductAnnotation = /*#__PURE__*/function (_ProductBase) {
|
|
5784
5972
|
_inherits(ProductAnnotation, _ProductBase);
|
|
5785
5973
|
|
|
5786
|
-
var
|
|
5974
|
+
var _super45 = _createSuper(ProductAnnotation);
|
|
5787
5975
|
|
|
5788
5976
|
function ProductAnnotation() {
|
|
5789
5977
|
_classCallCheck(this, ProductAnnotation);
|
|
5790
5978
|
|
|
5791
|
-
return
|
|
5979
|
+
return _super45.apply(this, arguments);
|
|
5792
5980
|
}
|
|
5793
5981
|
|
|
5794
5982
|
_createClass(ProductAnnotation, null, [{
|
|
@@ -5803,9 +5991,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5803
5991
|
|
|
5804
5992
|
module.exports = ProductAnnotation;
|
|
5805
5993
|
}, {
|
|
5806
|
-
"./product-base.js":
|
|
5994
|
+
"./product-base.js": 77
|
|
5807
5995
|
}],
|
|
5808
|
-
|
|
5996
|
+
77: [function (require, module, exports) {
|
|
5809
5997
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5810
5998
|
|
|
5811
5999
|
var Server = require("../../server/plattar-server.js");
|
|
@@ -5813,20 +6001,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5813
6001
|
var ProductBase = /*#__PURE__*/function (_PlattarBase19) {
|
|
5814
6002
|
_inherits(ProductBase, _PlattarBase19);
|
|
5815
6003
|
|
|
5816
|
-
var
|
|
6004
|
+
var _super46 = _createSuper(ProductBase);
|
|
5817
6005
|
|
|
5818
6006
|
function ProductBase(id, server) {
|
|
5819
|
-
var
|
|
6007
|
+
var _this40;
|
|
5820
6008
|
|
|
5821
6009
|
_classCallCheck(this, ProductBase);
|
|
5822
6010
|
|
|
5823
|
-
|
|
6011
|
+
_this40 = _super46.call(this, id, server || Server["default"]());
|
|
5824
6012
|
|
|
5825
|
-
if (
|
|
6013
|
+
if (_this40.constructor === ProductBase) {
|
|
5826
6014
|
throw new Error("ProductBase is abstract and cannot be created");
|
|
5827
6015
|
}
|
|
5828
6016
|
|
|
5829
|
-
return
|
|
6017
|
+
return _this40;
|
|
5830
6018
|
}
|
|
5831
6019
|
|
|
5832
6020
|
_createClass(ProductBase, null, [{
|
|
@@ -5845,23 +6033,23 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5845
6033
|
|
|
5846
6034
|
module.exports = ProductBase;
|
|
5847
6035
|
}, {
|
|
5848
|
-
"../../server/plattar-server.js":
|
|
5849
|
-
"../interfaces/plattar-base.js":
|
|
5850
|
-
"./product-annotation.js":
|
|
5851
|
-
"./product-variation.js":
|
|
6036
|
+
"../../server/plattar-server.js": 38,
|
|
6037
|
+
"../interfaces/plattar-base.js": 55,
|
|
6038
|
+
"./product-annotation.js": 76,
|
|
6039
|
+
"./product-variation.js": 78
|
|
5852
6040
|
}],
|
|
5853
|
-
|
|
6041
|
+
78: [function (require, module, exports) {
|
|
5854
6042
|
var ProductBase = require("./product-base.js");
|
|
5855
6043
|
|
|
5856
6044
|
var ProductVariation = /*#__PURE__*/function (_ProductBase2) {
|
|
5857
6045
|
_inherits(ProductVariation, _ProductBase2);
|
|
5858
6046
|
|
|
5859
|
-
var
|
|
6047
|
+
var _super47 = _createSuper(ProductVariation);
|
|
5860
6048
|
|
|
5861
6049
|
function ProductVariation() {
|
|
5862
6050
|
_classCallCheck(this, ProductVariation);
|
|
5863
6051
|
|
|
5864
|
-
return
|
|
6052
|
+
return _super47.apply(this, arguments);
|
|
5865
6053
|
}
|
|
5866
6054
|
|
|
5867
6055
|
_createClass(ProductVariation, null, [{
|
|
@@ -5876,20 +6064,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5876
6064
|
|
|
5877
6065
|
module.exports = ProductVariation;
|
|
5878
6066
|
}, {
|
|
5879
|
-
"./product-base.js":
|
|
6067
|
+
"./product-base.js": 77
|
|
5880
6068
|
}],
|
|
5881
|
-
|
|
6069
|
+
79: [function (require, module, exports) {
|
|
5882
6070
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5883
6071
|
|
|
5884
6072
|
var Product = /*#__PURE__*/function (_PlattarBase20) {
|
|
5885
6073
|
_inherits(Product, _PlattarBase20);
|
|
5886
6074
|
|
|
5887
|
-
var
|
|
6075
|
+
var _super48 = _createSuper(Product);
|
|
5888
6076
|
|
|
5889
6077
|
function Product() {
|
|
5890
6078
|
_classCallCheck(this, Product);
|
|
5891
6079
|
|
|
5892
|
-
return
|
|
6080
|
+
return _super48.apply(this, arguments);
|
|
5893
6081
|
}
|
|
5894
6082
|
|
|
5895
6083
|
_createClass(Product, null, [{
|
|
@@ -5904,20 +6092,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5904
6092
|
|
|
5905
6093
|
module.exports = Product;
|
|
5906
6094
|
}, {
|
|
5907
|
-
"../interfaces/plattar-base.js":
|
|
6095
|
+
"../interfaces/plattar-base.js": 55
|
|
5908
6096
|
}],
|
|
5909
|
-
|
|
6097
|
+
80: [function (require, module, exports) {
|
|
5910
6098
|
var SceneBase = require("./scene-base.js");
|
|
5911
6099
|
|
|
5912
6100
|
var SceneAnnotation = /*#__PURE__*/function (_SceneBase) {
|
|
5913
6101
|
_inherits(SceneAnnotation, _SceneBase);
|
|
5914
6102
|
|
|
5915
|
-
var
|
|
6103
|
+
var _super49 = _createSuper(SceneAnnotation);
|
|
5916
6104
|
|
|
5917
6105
|
function SceneAnnotation() {
|
|
5918
6106
|
_classCallCheck(this, SceneAnnotation);
|
|
5919
6107
|
|
|
5920
|
-
return
|
|
6108
|
+
return _super49.apply(this, arguments);
|
|
5921
6109
|
}
|
|
5922
6110
|
|
|
5923
6111
|
_createClass(SceneAnnotation, null, [{
|
|
@@ -5932,20 +6120,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5932
6120
|
|
|
5933
6121
|
module.exports = SceneAnnotation;
|
|
5934
6122
|
}, {
|
|
5935
|
-
"./scene-base.js":
|
|
6123
|
+
"./scene-base.js": 82
|
|
5936
6124
|
}],
|
|
5937
|
-
|
|
6125
|
+
81: [function (require, module, exports) {
|
|
5938
6126
|
var SceneBase = require("./scene-base.js");
|
|
5939
6127
|
|
|
5940
6128
|
var SceneAudio = /*#__PURE__*/function (_SceneBase2) {
|
|
5941
6129
|
_inherits(SceneAudio, _SceneBase2);
|
|
5942
6130
|
|
|
5943
|
-
var
|
|
6131
|
+
var _super50 = _createSuper(SceneAudio);
|
|
5944
6132
|
|
|
5945
6133
|
function SceneAudio() {
|
|
5946
6134
|
_classCallCheck(this, SceneAudio);
|
|
5947
6135
|
|
|
5948
|
-
return
|
|
6136
|
+
return _super50.apply(this, arguments);
|
|
5949
6137
|
}
|
|
5950
6138
|
|
|
5951
6139
|
_createClass(SceneAudio, null, [{
|
|
@@ -5960,9 +6148,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5960
6148
|
|
|
5961
6149
|
module.exports = SceneAudio;
|
|
5962
6150
|
}, {
|
|
5963
|
-
"./scene-base.js":
|
|
6151
|
+
"./scene-base.js": 82
|
|
5964
6152
|
}],
|
|
5965
|
-
|
|
6153
|
+
82: [function (require, module, exports) {
|
|
5966
6154
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
5967
6155
|
|
|
5968
6156
|
var Server = require("../../server/plattar-server.js");
|
|
@@ -5970,20 +6158,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
5970
6158
|
var SceneBase = /*#__PURE__*/function (_PlattarBase21) {
|
|
5971
6159
|
_inherits(SceneBase, _PlattarBase21);
|
|
5972
6160
|
|
|
5973
|
-
var
|
|
6161
|
+
var _super51 = _createSuper(SceneBase);
|
|
5974
6162
|
|
|
5975
6163
|
function SceneBase(id, server) {
|
|
5976
|
-
var
|
|
6164
|
+
var _this41;
|
|
5977
6165
|
|
|
5978
6166
|
_classCallCheck(this, SceneBase);
|
|
5979
6167
|
|
|
5980
|
-
|
|
6168
|
+
_this41 = _super51.call(this, id, server || Server["default"]());
|
|
5981
6169
|
|
|
5982
|
-
if (
|
|
6170
|
+
if (_this41.constructor === SceneBase) {
|
|
5983
6171
|
throw new Error("SceneBase is abstract and cannot be created");
|
|
5984
6172
|
}
|
|
5985
6173
|
|
|
5986
|
-
return
|
|
6174
|
+
return _this41;
|
|
5987
6175
|
}
|
|
5988
6176
|
|
|
5989
6177
|
_createClass(SceneBase, null, [{
|
|
@@ -6026,35 +6214,35 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6026
6214
|
|
|
6027
6215
|
module.exports = SceneBase;
|
|
6028
6216
|
}, {
|
|
6029
|
-
"../../server/plattar-server.js":
|
|
6030
|
-
"../interfaces/plattar-base.js":
|
|
6031
|
-
"./scene-annotation.js":
|
|
6032
|
-
"./scene-audio.js":
|
|
6033
|
-
"./scene-button.js":
|
|
6034
|
-
"./scene-camera.js":
|
|
6035
|
-
"./scene-carousel.js":
|
|
6036
|
-
"./scene-image.js":
|
|
6037
|
-
"./scene-model.js":
|
|
6038
|
-
"./scene-panorama.js":
|
|
6039
|
-
"./scene-poller.js":
|
|
6040
|
-
"./scene-product.js":
|
|
6041
|
-
"./scene-shadow.js":
|
|
6042
|
-
"./scene-video.js":
|
|
6043
|
-
"./scene-volumetric.js":
|
|
6044
|
-
"./scene-youtube.js":
|
|
6217
|
+
"../../server/plattar-server.js": 38,
|
|
6218
|
+
"../interfaces/plattar-base.js": 55,
|
|
6219
|
+
"./scene-annotation.js": 80,
|
|
6220
|
+
"./scene-audio.js": 81,
|
|
6221
|
+
"./scene-button.js": 83,
|
|
6222
|
+
"./scene-camera.js": 84,
|
|
6223
|
+
"./scene-carousel.js": 85,
|
|
6224
|
+
"./scene-image.js": 86,
|
|
6225
|
+
"./scene-model.js": 87,
|
|
6226
|
+
"./scene-panorama.js": 88,
|
|
6227
|
+
"./scene-poller.js": 89,
|
|
6228
|
+
"./scene-product.js": 90,
|
|
6229
|
+
"./scene-shadow.js": 92,
|
|
6230
|
+
"./scene-video.js": 93,
|
|
6231
|
+
"./scene-volumetric.js": 94,
|
|
6232
|
+
"./scene-youtube.js": 95
|
|
6045
6233
|
}],
|
|
6046
|
-
|
|
6234
|
+
83: [function (require, module, exports) {
|
|
6047
6235
|
var SceneBase = require("./scene-base.js");
|
|
6048
6236
|
|
|
6049
6237
|
var SceneButton = /*#__PURE__*/function (_SceneBase3) {
|
|
6050
6238
|
_inherits(SceneButton, _SceneBase3);
|
|
6051
6239
|
|
|
6052
|
-
var
|
|
6240
|
+
var _super52 = _createSuper(SceneButton);
|
|
6053
6241
|
|
|
6054
6242
|
function SceneButton() {
|
|
6055
6243
|
_classCallCheck(this, SceneButton);
|
|
6056
6244
|
|
|
6057
|
-
return
|
|
6245
|
+
return _super52.apply(this, arguments);
|
|
6058
6246
|
}
|
|
6059
6247
|
|
|
6060
6248
|
_createClass(SceneButton, null, [{
|
|
@@ -6069,20 +6257,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6069
6257
|
|
|
6070
6258
|
module.exports = SceneButton;
|
|
6071
6259
|
}, {
|
|
6072
|
-
"./scene-base.js":
|
|
6260
|
+
"./scene-base.js": 82
|
|
6073
6261
|
}],
|
|
6074
|
-
|
|
6262
|
+
84: [function (require, module, exports) {
|
|
6075
6263
|
var SceneBase = require("./scene-base.js");
|
|
6076
6264
|
|
|
6077
6265
|
var SceneCamera = /*#__PURE__*/function (_SceneBase4) {
|
|
6078
6266
|
_inherits(SceneCamera, _SceneBase4);
|
|
6079
6267
|
|
|
6080
|
-
var
|
|
6268
|
+
var _super53 = _createSuper(SceneCamera);
|
|
6081
6269
|
|
|
6082
6270
|
function SceneCamera() {
|
|
6083
6271
|
_classCallCheck(this, SceneCamera);
|
|
6084
6272
|
|
|
6085
|
-
return
|
|
6273
|
+
return _super53.apply(this, arguments);
|
|
6086
6274
|
}
|
|
6087
6275
|
|
|
6088
6276
|
_createClass(SceneCamera, null, [{
|
|
@@ -6097,20 +6285,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6097
6285
|
|
|
6098
6286
|
module.exports = SceneCamera;
|
|
6099
6287
|
}, {
|
|
6100
|
-
"./scene-base.js":
|
|
6288
|
+
"./scene-base.js": 82
|
|
6101
6289
|
}],
|
|
6102
|
-
|
|
6290
|
+
85: [function (require, module, exports) {
|
|
6103
6291
|
var SceneBase = require("./scene-base.js");
|
|
6104
6292
|
|
|
6105
6293
|
var SceneCarousel = /*#__PURE__*/function (_SceneBase5) {
|
|
6106
6294
|
_inherits(SceneCarousel, _SceneBase5);
|
|
6107
6295
|
|
|
6108
|
-
var
|
|
6296
|
+
var _super54 = _createSuper(SceneCarousel);
|
|
6109
6297
|
|
|
6110
6298
|
function SceneCarousel() {
|
|
6111
6299
|
_classCallCheck(this, SceneCarousel);
|
|
6112
6300
|
|
|
6113
|
-
return
|
|
6301
|
+
return _super54.apply(this, arguments);
|
|
6114
6302
|
}
|
|
6115
6303
|
|
|
6116
6304
|
_createClass(SceneCarousel, null, [{
|
|
@@ -6125,20 +6313,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6125
6313
|
|
|
6126
6314
|
module.exports = SceneCarousel;
|
|
6127
6315
|
}, {
|
|
6128
|
-
"./scene-base.js":
|
|
6316
|
+
"./scene-base.js": 82
|
|
6129
6317
|
}],
|
|
6130
|
-
|
|
6318
|
+
86: [function (require, module, exports) {
|
|
6131
6319
|
var SceneBase = require("./scene-base.js");
|
|
6132
6320
|
|
|
6133
6321
|
var SceneImage = /*#__PURE__*/function (_SceneBase6) {
|
|
6134
6322
|
_inherits(SceneImage, _SceneBase6);
|
|
6135
6323
|
|
|
6136
|
-
var
|
|
6324
|
+
var _super55 = _createSuper(SceneImage);
|
|
6137
6325
|
|
|
6138
6326
|
function SceneImage() {
|
|
6139
6327
|
_classCallCheck(this, SceneImage);
|
|
6140
6328
|
|
|
6141
|
-
return
|
|
6329
|
+
return _super55.apply(this, arguments);
|
|
6142
6330
|
}
|
|
6143
6331
|
|
|
6144
6332
|
_createClass(SceneImage, null, [{
|
|
@@ -6153,20 +6341,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6153
6341
|
|
|
6154
6342
|
module.exports = SceneImage;
|
|
6155
6343
|
}, {
|
|
6156
|
-
"./scene-base.js":
|
|
6344
|
+
"./scene-base.js": 82
|
|
6157
6345
|
}],
|
|
6158
|
-
|
|
6346
|
+
87: [function (require, module, exports) {
|
|
6159
6347
|
var SceneBase = require("./scene-base.js");
|
|
6160
6348
|
|
|
6161
6349
|
var SceneModel = /*#__PURE__*/function (_SceneBase7) {
|
|
6162
6350
|
_inherits(SceneModel, _SceneBase7);
|
|
6163
6351
|
|
|
6164
|
-
var
|
|
6352
|
+
var _super56 = _createSuper(SceneModel);
|
|
6165
6353
|
|
|
6166
6354
|
function SceneModel() {
|
|
6167
6355
|
_classCallCheck(this, SceneModel);
|
|
6168
6356
|
|
|
6169
|
-
return
|
|
6357
|
+
return _super56.apply(this, arguments);
|
|
6170
6358
|
}
|
|
6171
6359
|
|
|
6172
6360
|
_createClass(SceneModel, null, [{
|
|
@@ -6181,20 +6369,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6181
6369
|
|
|
6182
6370
|
module.exports = SceneModel;
|
|
6183
6371
|
}, {
|
|
6184
|
-
"./scene-base.js":
|
|
6372
|
+
"./scene-base.js": 82
|
|
6185
6373
|
}],
|
|
6186
|
-
|
|
6374
|
+
88: [function (require, module, exports) {
|
|
6187
6375
|
var SceneBase = require("./scene-base.js");
|
|
6188
6376
|
|
|
6189
6377
|
var ScenePanorama = /*#__PURE__*/function (_SceneBase8) {
|
|
6190
6378
|
_inherits(ScenePanorama, _SceneBase8);
|
|
6191
6379
|
|
|
6192
|
-
var
|
|
6380
|
+
var _super57 = _createSuper(ScenePanorama);
|
|
6193
6381
|
|
|
6194
6382
|
function ScenePanorama() {
|
|
6195
6383
|
_classCallCheck(this, ScenePanorama);
|
|
6196
6384
|
|
|
6197
|
-
return
|
|
6385
|
+
return _super57.apply(this, arguments);
|
|
6198
6386
|
}
|
|
6199
6387
|
|
|
6200
6388
|
_createClass(ScenePanorama, null, [{
|
|
@@ -6209,20 +6397,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6209
6397
|
|
|
6210
6398
|
module.exports = ScenePanorama;
|
|
6211
6399
|
}, {
|
|
6212
|
-
"./scene-base.js":
|
|
6400
|
+
"./scene-base.js": 82
|
|
6213
6401
|
}],
|
|
6214
|
-
|
|
6402
|
+
89: [function (require, module, exports) {
|
|
6215
6403
|
var SceneBase = require("./scene-base.js");
|
|
6216
6404
|
|
|
6217
6405
|
var ScenePoller = /*#__PURE__*/function (_SceneBase9) {
|
|
6218
6406
|
_inherits(ScenePoller, _SceneBase9);
|
|
6219
6407
|
|
|
6220
|
-
var
|
|
6408
|
+
var _super58 = _createSuper(ScenePoller);
|
|
6221
6409
|
|
|
6222
6410
|
function ScenePoller() {
|
|
6223
6411
|
_classCallCheck(this, ScenePoller);
|
|
6224
6412
|
|
|
6225
|
-
return
|
|
6413
|
+
return _super58.apply(this, arguments);
|
|
6226
6414
|
}
|
|
6227
6415
|
|
|
6228
6416
|
_createClass(ScenePoller, null, [{
|
|
@@ -6237,20 +6425,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6237
6425
|
|
|
6238
6426
|
module.exports = ScenePoller;
|
|
6239
6427
|
}, {
|
|
6240
|
-
"./scene-base.js":
|
|
6428
|
+
"./scene-base.js": 82
|
|
6241
6429
|
}],
|
|
6242
|
-
|
|
6430
|
+
90: [function (require, module, exports) {
|
|
6243
6431
|
var SceneBase = require("./scene-base.js");
|
|
6244
6432
|
|
|
6245
6433
|
var SceneProduct = /*#__PURE__*/function (_SceneBase10) {
|
|
6246
6434
|
_inherits(SceneProduct, _SceneBase10);
|
|
6247
6435
|
|
|
6248
|
-
var
|
|
6436
|
+
var _super59 = _createSuper(SceneProduct);
|
|
6249
6437
|
|
|
6250
6438
|
function SceneProduct() {
|
|
6251
6439
|
_classCallCheck(this, SceneProduct);
|
|
6252
6440
|
|
|
6253
|
-
return
|
|
6441
|
+
return _super59.apply(this, arguments);
|
|
6254
6442
|
}
|
|
6255
6443
|
|
|
6256
6444
|
_createClass(SceneProduct, null, [{
|
|
@@ -6265,20 +6453,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6265
6453
|
|
|
6266
6454
|
module.exports = SceneProduct;
|
|
6267
6455
|
}, {
|
|
6268
|
-
"./scene-base.js":
|
|
6456
|
+
"./scene-base.js": 82
|
|
6269
6457
|
}],
|
|
6270
|
-
|
|
6458
|
+
91: [function (require, module, exports) {
|
|
6271
6459
|
var SceneBase = require("./scene-base.js");
|
|
6272
6460
|
|
|
6273
6461
|
var SceneScript = /*#__PURE__*/function (_SceneBase11) {
|
|
6274
6462
|
_inherits(SceneScript, _SceneBase11);
|
|
6275
6463
|
|
|
6276
|
-
var
|
|
6464
|
+
var _super60 = _createSuper(SceneScript);
|
|
6277
6465
|
|
|
6278
6466
|
function SceneScript() {
|
|
6279
6467
|
_classCallCheck(this, SceneScript);
|
|
6280
6468
|
|
|
6281
|
-
return
|
|
6469
|
+
return _super60.apply(this, arguments);
|
|
6282
6470
|
}
|
|
6283
6471
|
|
|
6284
6472
|
_createClass(SceneScript, null, [{
|
|
@@ -6293,20 +6481,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6293
6481
|
|
|
6294
6482
|
module.exports = SceneScript;
|
|
6295
6483
|
}, {
|
|
6296
|
-
"./scene-base.js":
|
|
6484
|
+
"./scene-base.js": 82
|
|
6297
6485
|
}],
|
|
6298
|
-
|
|
6486
|
+
92: [function (require, module, exports) {
|
|
6299
6487
|
var SceneBase = require("./scene-base.js");
|
|
6300
6488
|
|
|
6301
6489
|
var SceneShadow = /*#__PURE__*/function (_SceneBase12) {
|
|
6302
6490
|
_inherits(SceneShadow, _SceneBase12);
|
|
6303
6491
|
|
|
6304
|
-
var
|
|
6492
|
+
var _super61 = _createSuper(SceneShadow);
|
|
6305
6493
|
|
|
6306
6494
|
function SceneShadow() {
|
|
6307
6495
|
_classCallCheck(this, SceneShadow);
|
|
6308
6496
|
|
|
6309
|
-
return
|
|
6497
|
+
return _super61.apply(this, arguments);
|
|
6310
6498
|
}
|
|
6311
6499
|
|
|
6312
6500
|
_createClass(SceneShadow, null, [{
|
|
@@ -6321,20 +6509,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6321
6509
|
|
|
6322
6510
|
module.exports = SceneShadow;
|
|
6323
6511
|
}, {
|
|
6324
|
-
"./scene-base.js":
|
|
6512
|
+
"./scene-base.js": 82
|
|
6325
6513
|
}],
|
|
6326
|
-
|
|
6514
|
+
93: [function (require, module, exports) {
|
|
6327
6515
|
var SceneBase = require("./scene-base.js");
|
|
6328
6516
|
|
|
6329
6517
|
var SceneVideo = /*#__PURE__*/function (_SceneBase13) {
|
|
6330
6518
|
_inherits(SceneVideo, _SceneBase13);
|
|
6331
6519
|
|
|
6332
|
-
var
|
|
6520
|
+
var _super62 = _createSuper(SceneVideo);
|
|
6333
6521
|
|
|
6334
6522
|
function SceneVideo() {
|
|
6335
6523
|
_classCallCheck(this, SceneVideo);
|
|
6336
6524
|
|
|
6337
|
-
return
|
|
6525
|
+
return _super62.apply(this, arguments);
|
|
6338
6526
|
}
|
|
6339
6527
|
|
|
6340
6528
|
_createClass(SceneVideo, null, [{
|
|
@@ -6349,20 +6537,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6349
6537
|
|
|
6350
6538
|
module.exports = SceneVideo;
|
|
6351
6539
|
}, {
|
|
6352
|
-
"./scene-base.js":
|
|
6540
|
+
"./scene-base.js": 82
|
|
6353
6541
|
}],
|
|
6354
|
-
|
|
6542
|
+
94: [function (require, module, exports) {
|
|
6355
6543
|
var SceneBase = require("./scene-base.js");
|
|
6356
6544
|
|
|
6357
6545
|
var SceneVolumetric = /*#__PURE__*/function (_SceneBase14) {
|
|
6358
6546
|
_inherits(SceneVolumetric, _SceneBase14);
|
|
6359
6547
|
|
|
6360
|
-
var
|
|
6548
|
+
var _super63 = _createSuper(SceneVolumetric);
|
|
6361
6549
|
|
|
6362
6550
|
function SceneVolumetric() {
|
|
6363
6551
|
_classCallCheck(this, SceneVolumetric);
|
|
6364
6552
|
|
|
6365
|
-
return
|
|
6553
|
+
return _super63.apply(this, arguments);
|
|
6366
6554
|
}
|
|
6367
6555
|
|
|
6368
6556
|
_createClass(SceneVolumetric, null, [{
|
|
@@ -6377,20 +6565,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6377
6565
|
|
|
6378
6566
|
module.exports = SceneVolumetric;
|
|
6379
6567
|
}, {
|
|
6380
|
-
"./scene-base.js":
|
|
6568
|
+
"./scene-base.js": 82
|
|
6381
6569
|
}],
|
|
6382
|
-
|
|
6570
|
+
95: [function (require, module, exports) {
|
|
6383
6571
|
var SceneBase = require("./scene-base.js");
|
|
6384
6572
|
|
|
6385
6573
|
var SceneYoutube = /*#__PURE__*/function (_SceneBase15) {
|
|
6386
6574
|
_inherits(SceneYoutube, _SceneBase15);
|
|
6387
6575
|
|
|
6388
|
-
var
|
|
6576
|
+
var _super64 = _createSuper(SceneYoutube);
|
|
6389
6577
|
|
|
6390
6578
|
function SceneYoutube() {
|
|
6391
6579
|
_classCallCheck(this, SceneYoutube);
|
|
6392
6580
|
|
|
6393
|
-
return
|
|
6581
|
+
return _super64.apply(this, arguments);
|
|
6394
6582
|
}
|
|
6395
6583
|
|
|
6396
6584
|
_createClass(SceneYoutube, null, [{
|
|
@@ -6405,20 +6593,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6405
6593
|
|
|
6406
6594
|
module.exports = SceneYoutube;
|
|
6407
6595
|
}, {
|
|
6408
|
-
"./scene-base.js":
|
|
6596
|
+
"./scene-base.js": 82
|
|
6409
6597
|
}],
|
|
6410
|
-
|
|
6598
|
+
96: [function (require, module, exports) {
|
|
6411
6599
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6412
6600
|
|
|
6413
6601
|
var Scene = /*#__PURE__*/function (_PlattarBase22) {
|
|
6414
6602
|
_inherits(Scene, _PlattarBase22);
|
|
6415
6603
|
|
|
6416
|
-
var
|
|
6604
|
+
var _super65 = _createSuper(Scene);
|
|
6417
6605
|
|
|
6418
6606
|
function Scene() {
|
|
6419
6607
|
_classCallCheck(this, Scene);
|
|
6420
6608
|
|
|
6421
|
-
return
|
|
6609
|
+
return _super65.apply(this, arguments);
|
|
6422
6610
|
}
|
|
6423
6611
|
|
|
6424
6612
|
_createClass(Scene, null, [{
|
|
@@ -6433,20 +6621,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6433
6621
|
|
|
6434
6622
|
module.exports = Scene;
|
|
6435
6623
|
}, {
|
|
6436
|
-
"../interfaces/plattar-base.js":
|
|
6624
|
+
"../interfaces/plattar-base.js": 55
|
|
6437
6625
|
}],
|
|
6438
|
-
|
|
6626
|
+
97: [function (require, module, exports) {
|
|
6439
6627
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
6440
6628
|
|
|
6441
6629
|
var TriggerImage = /*#__PURE__*/function (_PlattarBase23) {
|
|
6442
6630
|
_inherits(TriggerImage, _PlattarBase23);
|
|
6443
6631
|
|
|
6444
|
-
var
|
|
6632
|
+
var _super66 = _createSuper(TriggerImage);
|
|
6445
6633
|
|
|
6446
6634
|
function TriggerImage() {
|
|
6447
6635
|
_classCallCheck(this, TriggerImage);
|
|
6448
6636
|
|
|
6449
|
-
return
|
|
6637
|
+
return _super66.apply(this, arguments);
|
|
6450
6638
|
}
|
|
6451
6639
|
|
|
6452
6640
|
_createClass(TriggerImage, null, [{
|
|
@@ -6461,9 +6649,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6461
6649
|
|
|
6462
6650
|
module.exports = TriggerImage;
|
|
6463
6651
|
}, {
|
|
6464
|
-
"../interfaces/plattar-base.js":
|
|
6652
|
+
"../interfaces/plattar-base.js": 55
|
|
6465
6653
|
}],
|
|
6466
|
-
|
|
6654
|
+
98: [function (require, module, exports) {
|
|
6467
6655
|
var Application = require("../types/application.js"); // import Scene types and its children
|
|
6468
6656
|
|
|
6469
6657
|
|
|
@@ -6850,81 +7038,81 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6850
7038
|
|
|
6851
7039
|
module.exports = PlattarUtil;
|
|
6852
7040
|
}, {
|
|
6853
|
-
"../types/application.js":
|
|
6854
|
-
"../types/content-pipeline/brief.js":
|
|
6855
|
-
"../types/content-pipeline/comment-brief.js":
|
|
6856
|
-
"../types/content-pipeline/comment-quote.js":
|
|
6857
|
-
"../types/content-pipeline/comment-solution.js":
|
|
6858
|
-
"../types/content-pipeline/folder.js":
|
|
6859
|
-
"../types/content-pipeline/pipeline-user.js":
|
|
6860
|
-
"../types/content-pipeline/quote.js":
|
|
6861
|
-
"../types/content-pipeline/rating.js":
|
|
6862
|
-
"../types/content-pipeline/solution.js":
|
|
6863
|
-
"../types/file/file-audio.js":
|
|
6864
|
-
"../types/file/file-image.js":
|
|
6865
|
-
"../types/file/file-model.js":
|
|
6866
|
-
"../types/file/file-script.js":
|
|
6867
|
-
"../types/file/file-video.js":
|
|
6868
|
-
"../types/interfaces/plattar-object.js":
|
|
6869
|
-
"../types/misc/application-build.js":
|
|
6870
|
-
"../types/misc/asset-library":
|
|
6871
|
-
"../types/misc/async-job.js":
|
|
6872
|
-
"../types/misc/script-event.js":
|
|
6873
|
-
"../types/misc/tag.js":
|
|
6874
|
-
"../types/page/card-button.js":
|
|
6875
|
-
"../types/page/card-html.js":
|
|
6876
|
-
"../types/page/card-iframe.js":
|
|
6877
|
-
"../types/page/card-image.js":
|
|
6878
|
-
"../types/page/card-map.js":
|
|
6879
|
-
"../types/page/card-paragraph.js":
|
|
6880
|
-
"../types/page/card-row.js":
|
|
6881
|
-
"../types/page/card-slider.js":
|
|
6882
|
-
"../types/page/card-title.js":
|
|
6883
|
-
"../types/page/card-video.js":
|
|
6884
|
-
"../types/page/card-youtube.js":
|
|
6885
|
-
"../types/page/page.js":
|
|
6886
|
-
"../types/product/product-annotation.js":
|
|
6887
|
-
"../types/product/product-variation.js":
|
|
6888
|
-
"../types/product/product.js":
|
|
6889
|
-
"../types/scene/scene-annotation.js":
|
|
6890
|
-
"../types/scene/scene-audio.js":
|
|
6891
|
-
"../types/scene/scene-button.js":
|
|
6892
|
-
"../types/scene/scene-camera.js":
|
|
6893
|
-
"../types/scene/scene-carousel.js":
|
|
6894
|
-
"../types/scene/scene-image.js":
|
|
6895
|
-
"../types/scene/scene-model.js":
|
|
6896
|
-
"../types/scene/scene-panorama.js":
|
|
6897
|
-
"../types/scene/scene-poller.js":
|
|
6898
|
-
"../types/scene/scene-product.js":
|
|
6899
|
-
"../types/scene/scene-script.js":
|
|
6900
|
-
"../types/scene/scene-shadow.js":
|
|
6901
|
-
"../types/scene/scene-video.js":
|
|
6902
|
-
"../types/scene/scene-volumetric.js":
|
|
6903
|
-
"../types/scene/scene-youtube.js":
|
|
6904
|
-
"../types/scene/scene.js":
|
|
6905
|
-
"../types/trigger/trigger-image.js":
|
|
7041
|
+
"../types/application.js": 39,
|
|
7042
|
+
"../types/content-pipeline/brief.js": 40,
|
|
7043
|
+
"../types/content-pipeline/comment-brief.js": 41,
|
|
7044
|
+
"../types/content-pipeline/comment-quote.js": 42,
|
|
7045
|
+
"../types/content-pipeline/comment-solution.js": 43,
|
|
7046
|
+
"../types/content-pipeline/folder.js": 44,
|
|
7047
|
+
"../types/content-pipeline/pipeline-user.js": 45,
|
|
7048
|
+
"../types/content-pipeline/quote.js": 46,
|
|
7049
|
+
"../types/content-pipeline/rating.js": 47,
|
|
7050
|
+
"../types/content-pipeline/solution.js": 48,
|
|
7051
|
+
"../types/file/file-audio.js": 49,
|
|
7052
|
+
"../types/file/file-image.js": 51,
|
|
7053
|
+
"../types/file/file-model.js": 52,
|
|
7054
|
+
"../types/file/file-script.js": 53,
|
|
7055
|
+
"../types/file/file-video.js": 54,
|
|
7056
|
+
"../types/interfaces/plattar-object.js": 57,
|
|
7057
|
+
"../types/misc/application-build.js": 58,
|
|
7058
|
+
"../types/misc/asset-library": 59,
|
|
7059
|
+
"../types/misc/async-job.js": 60,
|
|
7060
|
+
"../types/misc/script-event.js": 61,
|
|
7061
|
+
"../types/misc/tag.js": 62,
|
|
7062
|
+
"../types/page/card-button.js": 64,
|
|
7063
|
+
"../types/page/card-html.js": 65,
|
|
7064
|
+
"../types/page/card-iframe.js": 66,
|
|
7065
|
+
"../types/page/card-image.js": 67,
|
|
7066
|
+
"../types/page/card-map.js": 68,
|
|
7067
|
+
"../types/page/card-paragraph.js": 69,
|
|
7068
|
+
"../types/page/card-row.js": 70,
|
|
7069
|
+
"../types/page/card-slider.js": 71,
|
|
7070
|
+
"../types/page/card-title.js": 72,
|
|
7071
|
+
"../types/page/card-video.js": 73,
|
|
7072
|
+
"../types/page/card-youtube.js": 74,
|
|
7073
|
+
"../types/page/page.js": 75,
|
|
7074
|
+
"../types/product/product-annotation.js": 76,
|
|
7075
|
+
"../types/product/product-variation.js": 78,
|
|
7076
|
+
"../types/product/product.js": 79,
|
|
7077
|
+
"../types/scene/scene-annotation.js": 80,
|
|
7078
|
+
"../types/scene/scene-audio.js": 81,
|
|
7079
|
+
"../types/scene/scene-button.js": 83,
|
|
7080
|
+
"../types/scene/scene-camera.js": 84,
|
|
7081
|
+
"../types/scene/scene-carousel.js": 85,
|
|
7082
|
+
"../types/scene/scene-image.js": 86,
|
|
7083
|
+
"../types/scene/scene-model.js": 87,
|
|
7084
|
+
"../types/scene/scene-panorama.js": 88,
|
|
7085
|
+
"../types/scene/scene-poller.js": 89,
|
|
7086
|
+
"../types/scene/scene-product.js": 90,
|
|
7087
|
+
"../types/scene/scene-script.js": 91,
|
|
7088
|
+
"../types/scene/scene-shadow.js": 92,
|
|
7089
|
+
"../types/scene/scene-video.js": 93,
|
|
7090
|
+
"../types/scene/scene-volumetric.js": 94,
|
|
7091
|
+
"../types/scene/scene-youtube.js": 95,
|
|
7092
|
+
"../types/scene/scene.js": 96,
|
|
7093
|
+
"../types/trigger/trigger-image.js": 97
|
|
6906
7094
|
}],
|
|
6907
|
-
|
|
7095
|
+
99: [function (require, module, exports) {
|
|
6908
7096
|
module.exports = "1.120.1";
|
|
6909
7097
|
}, {}],
|
|
6910
|
-
|
|
7098
|
+
100: [function (require, module, exports) {
|
|
6911
7099
|
var QRCodeStyling = require("qr-code-styling");
|
|
6912
7100
|
|
|
6913
7101
|
var BaseElement = /*#__PURE__*/function (_HTMLElement2) {
|
|
6914
7102
|
_inherits(BaseElement, _HTMLElement2);
|
|
6915
7103
|
|
|
6916
|
-
var
|
|
7104
|
+
var _super67 = _createSuper(BaseElement);
|
|
6917
7105
|
|
|
6918
7106
|
function BaseElement() {
|
|
6919
7107
|
_classCallCheck(this, BaseElement);
|
|
6920
7108
|
|
|
6921
|
-
return
|
|
7109
|
+
return _super67.call(this);
|
|
6922
7110
|
}
|
|
6923
7111
|
|
|
6924
7112
|
_createClass(BaseElement, [{
|
|
6925
7113
|
key: "connectedCallback",
|
|
6926
7114
|
value: function connectedCallback() {
|
|
6927
|
-
var
|
|
7115
|
+
var _this42 = this;
|
|
6928
7116
|
|
|
6929
7117
|
if (this.hasAttribute("url")) {
|
|
6930
7118
|
this.renderQRCode();
|
|
@@ -6933,8 +7121,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
6933
7121
|
var observer = new MutationObserver(function (mutations) {
|
|
6934
7122
|
mutations.forEach(function (mutation) {
|
|
6935
7123
|
if (mutation.type === "attributes") {
|
|
6936
|
-
if (
|
|
6937
|
-
|
|
7124
|
+
if (_this42.hasAttribute("url")) {
|
|
7125
|
+
_this42.renderQRCode();
|
|
6938
7126
|
}
|
|
6939
7127
|
}
|
|
6940
7128
|
});
|
|
@@ -7112,20 +7300,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7112
7300
|
|
|
7113
7301
|
module.exports = BaseElement;
|
|
7114
7302
|
}, {
|
|
7115
|
-
"qr-code-styling":
|
|
7303
|
+
"qr-code-styling": 121
|
|
7116
7304
|
}],
|
|
7117
|
-
|
|
7305
|
+
101: [function (require, module, exports) {
|
|
7118
7306
|
var BaseElement = require("./base/base-element.js");
|
|
7119
7307
|
|
|
7120
7308
|
var QRCodeElement = /*#__PURE__*/function (_BaseElement) {
|
|
7121
7309
|
_inherits(QRCodeElement, _BaseElement);
|
|
7122
7310
|
|
|
7123
|
-
var
|
|
7311
|
+
var _super68 = _createSuper(QRCodeElement);
|
|
7124
7312
|
|
|
7125
7313
|
function QRCodeElement() {
|
|
7126
7314
|
_classCallCheck(this, QRCodeElement);
|
|
7127
7315
|
|
|
7128
|
-
return
|
|
7316
|
+
return _super68.call(this);
|
|
7129
7317
|
}
|
|
7130
7318
|
|
|
7131
7319
|
return _createClass(QRCodeElement);
|
|
@@ -7133,9 +7321,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7133
7321
|
|
|
7134
7322
|
module.exports = QRCodeElement;
|
|
7135
7323
|
}, {
|
|
7136
|
-
"./base/base-element.js":
|
|
7324
|
+
"./base/base-element.js": 100
|
|
7137
7325
|
}],
|
|
7138
|
-
|
|
7326
|
+
102: [function (require, module, exports) {
|
|
7139
7327
|
"use strict";
|
|
7140
7328
|
|
|
7141
7329
|
var QRCodeElement = require("./elements/qrcode-element.js");
|
|
@@ -7148,24 +7336,24 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7148
7336
|
version: Version
|
|
7149
7337
|
};
|
|
7150
7338
|
}, {
|
|
7151
|
-
"./elements/qrcode-element.js":
|
|
7152
|
-
"./version":
|
|
7339
|
+
"./elements/qrcode-element.js": 101,
|
|
7340
|
+
"./version": 103
|
|
7153
7341
|
}],
|
|
7154
|
-
|
|
7342
|
+
103: [function (require, module, exports) {
|
|
7155
7343
|
module.exports = "1.120.3";
|
|
7156
7344
|
}, {}],
|
|
7157
|
-
|
|
7345
|
+
104: [function (require, module, exports) {
|
|
7158
7346
|
var ElementController = require("../controllers/element-controller");
|
|
7159
7347
|
|
|
7160
7348
|
var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
|
|
7161
7349
|
_inherits(BaseElement, _HTMLElement3);
|
|
7162
7350
|
|
|
7163
|
-
var
|
|
7351
|
+
var _super69 = _createSuper(BaseElement);
|
|
7164
7352
|
|
|
7165
7353
|
function BaseElement() {
|
|
7166
7354
|
_classCallCheck(this, BaseElement);
|
|
7167
7355
|
|
|
7168
|
-
return
|
|
7356
|
+
return _super69.call(this);
|
|
7169
7357
|
}
|
|
7170
7358
|
|
|
7171
7359
|
_createClass(BaseElement, [{
|
|
@@ -7265,19 +7453,19 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7265
7453
|
}, {
|
|
7266
7454
|
key: "allMappedAttributes",
|
|
7267
7455
|
get: function get() {
|
|
7268
|
-
var
|
|
7456
|
+
var _this43 = this;
|
|
7269
7457
|
|
|
7270
7458
|
var map = new Map();
|
|
7271
7459
|
var coreAttr = this.coreAttributes;
|
|
7272
7460
|
var optAttr = this.optionalAttributes;
|
|
7273
7461
|
coreAttr.forEach(function (ele) {
|
|
7274
|
-
if (
|
|
7275
|
-
map.set(ele.map,
|
|
7462
|
+
if (_this43.hasAttribute(ele.key)) {
|
|
7463
|
+
map.set(ele.map, _this43.getAttribute(ele.key));
|
|
7276
7464
|
}
|
|
7277
7465
|
});
|
|
7278
7466
|
optAttr.forEach(function (ele) {
|
|
7279
|
-
if (
|
|
7280
|
-
map.set(ele.map,
|
|
7467
|
+
if (_this43.hasAttribute(ele.key)) {
|
|
7468
|
+
map.set(ele.map, _this43.getAttribute(ele.key));
|
|
7281
7469
|
}
|
|
7282
7470
|
});
|
|
7283
7471
|
return map;
|
|
@@ -7321,9 +7509,53 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7321
7509
|
|
|
7322
7510
|
module.exports = BaseElement;
|
|
7323
7511
|
}, {
|
|
7324
|
-
"../controllers/element-controller":
|
|
7512
|
+
"../controllers/element-controller": 106
|
|
7325
7513
|
}],
|
|
7326
|
-
|
|
7514
|
+
105: [function (require, module, exports) {
|
|
7515
|
+
var BaseElement = require("./base/base-element.js");
|
|
7516
|
+
|
|
7517
|
+
var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
|
|
7518
|
+
_inherits(ConfiguratorElement, _BaseElement2);
|
|
7519
|
+
|
|
7520
|
+
var _super70 = _createSuper(ConfiguratorElement);
|
|
7521
|
+
|
|
7522
|
+
function ConfiguratorElement() {
|
|
7523
|
+
_classCallCheck(this, ConfiguratorElement);
|
|
7524
|
+
|
|
7525
|
+
return _super70.call(this);
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
_createClass(ConfiguratorElement, [{
|
|
7529
|
+
key: "permissions",
|
|
7530
|
+
get: function get() {
|
|
7531
|
+
return ["autoplay"];
|
|
7532
|
+
}
|
|
7533
|
+
}, {
|
|
7534
|
+
key: "elementType",
|
|
7535
|
+
get: function get() {
|
|
7536
|
+
return "configurator";
|
|
7537
|
+
}
|
|
7538
|
+
}, {
|
|
7539
|
+
key: "optionalAttributes",
|
|
7540
|
+
get: function get() {
|
|
7541
|
+
return [{
|
|
7542
|
+
key: "config-state",
|
|
7543
|
+
map: "config_state"
|
|
7544
|
+
}, {
|
|
7545
|
+
key: "show-ar",
|
|
7546
|
+
map: "show_ar"
|
|
7547
|
+
}];
|
|
7548
|
+
}
|
|
7549
|
+
}]);
|
|
7550
|
+
|
|
7551
|
+
return ConfiguratorElement;
|
|
7552
|
+
}(BaseElement);
|
|
7553
|
+
|
|
7554
|
+
module.exports = ConfiguratorElement;
|
|
7555
|
+
}, {
|
|
7556
|
+
"./base/base-element.js": 104
|
|
7557
|
+
}],
|
|
7558
|
+
106: [function (require, module, exports) {
|
|
7327
7559
|
var Util = require("../../util/util.js");
|
|
7328
7560
|
|
|
7329
7561
|
var _require = require("@plattar/context-messenger"),
|
|
@@ -7333,7 +7565,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7333
7565
|
|
|
7334
7566
|
var ElementController = /*#__PURE__*/function () {
|
|
7335
7567
|
function ElementController(element) {
|
|
7336
|
-
var
|
|
7568
|
+
var _this44 = this;
|
|
7337
7569
|
|
|
7338
7570
|
_classCallCheck(this, ElementController);
|
|
7339
7571
|
|
|
@@ -7349,7 +7581,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7349
7581
|
|
|
7350
7582
|
if (mutation.type === 'attributes' && element.usesCoreAttribute(mutation.attributeName)) {
|
|
7351
7583
|
if (element.hasAllCoreAttributes) {
|
|
7352
|
-
|
|
7584
|
+
_this44._load();
|
|
7353
7585
|
}
|
|
7354
7586
|
}
|
|
7355
7587
|
}
|
|
@@ -7440,16 +7672,16 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7440
7672
|
|
|
7441
7673
|
module.exports = ElementController;
|
|
7442
7674
|
}, {
|
|
7443
|
-
"../../util/util.js":
|
|
7444
|
-
"./iframe-controller.js":
|
|
7445
|
-
"@plattar/context-messenger":
|
|
7675
|
+
"../../util/util.js": 117,
|
|
7676
|
+
"./iframe-controller.js": 107,
|
|
7677
|
+
"@plattar/context-messenger": 15
|
|
7446
7678
|
}],
|
|
7447
|
-
|
|
7679
|
+
107: [function (require, module, exports) {
|
|
7448
7680
|
var Util = require("../../util/util.js");
|
|
7449
7681
|
|
|
7450
7682
|
var IFrameController = /*#__PURE__*/function () {
|
|
7451
7683
|
function IFrameController(element, src, id) {
|
|
7452
|
-
var
|
|
7684
|
+
var _this45 = this;
|
|
7453
7685
|
|
|
7454
7686
|
var onelemload = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;
|
|
7455
7687
|
|
|
@@ -7461,7 +7693,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7461
7693
|
if (!element.hasAttribute("sameorigin")) {
|
|
7462
7694
|
this._iframe.onload = function () {
|
|
7463
7695
|
if (onelemload) {
|
|
7464
|
-
onelemload(
|
|
7696
|
+
onelemload(_this45._iframe);
|
|
7465
7697
|
}
|
|
7466
7698
|
};
|
|
7467
7699
|
}
|
|
@@ -7558,20 +7790,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7558
7790
|
|
|
7559
7791
|
module.exports = IFrameController;
|
|
7560
7792
|
}, {
|
|
7561
|
-
"../../util/util.js":
|
|
7793
|
+
"../../util/util.js": 117
|
|
7562
7794
|
}],
|
|
7563
|
-
|
|
7795
|
+
108: [function (require, module, exports) {
|
|
7564
7796
|
var BaseElement = require("./base/base-element.js");
|
|
7565
7797
|
|
|
7566
|
-
var EditorElement = /*#__PURE__*/function (
|
|
7567
|
-
_inherits(EditorElement,
|
|
7798
|
+
var EditorElement = /*#__PURE__*/function (_BaseElement3) {
|
|
7799
|
+
_inherits(EditorElement, _BaseElement3);
|
|
7568
7800
|
|
|
7569
|
-
var
|
|
7801
|
+
var _super71 = _createSuper(EditorElement);
|
|
7570
7802
|
|
|
7571
7803
|
function EditorElement() {
|
|
7572
7804
|
_classCallCheck(this, EditorElement);
|
|
7573
7805
|
|
|
7574
|
-
return
|
|
7806
|
+
return _super71.call(this);
|
|
7575
7807
|
}
|
|
7576
7808
|
|
|
7577
7809
|
_createClass(EditorElement, [{
|
|
@@ -7591,26 +7823,26 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7591
7823
|
|
|
7592
7824
|
module.exports = EditorElement;
|
|
7593
7825
|
}, {
|
|
7594
|
-
"./base/base-element.js":
|
|
7826
|
+
"./base/base-element.js": 104
|
|
7595
7827
|
}],
|
|
7596
|
-
|
|
7828
|
+
109: [function (require, module, exports) {
|
|
7597
7829
|
var BaseElement = require("./base/base-element.js");
|
|
7598
7830
|
|
|
7599
|
-
var EWallElement = /*#__PURE__*/function (
|
|
7600
|
-
_inherits(EWallElement,
|
|
7831
|
+
var EWallElement = /*#__PURE__*/function (_BaseElement4) {
|
|
7832
|
+
_inherits(EWallElement, _BaseElement4);
|
|
7601
7833
|
|
|
7602
|
-
var
|
|
7834
|
+
var _super72 = _createSuper(EWallElement);
|
|
7603
7835
|
|
|
7604
7836
|
function EWallElement() {
|
|
7605
|
-
var
|
|
7837
|
+
var _this46;
|
|
7606
7838
|
|
|
7607
7839
|
_classCallCheck(this, EWallElement);
|
|
7608
7840
|
|
|
7609
|
-
|
|
7841
|
+
_this46 = _super72.call(this);
|
|
7610
7842
|
var tag = document.createElement("script");
|
|
7611
7843
|
tag.src = "https://cdn.8thwall.com/web/iframe/iframe.js";
|
|
7612
7844
|
tag.defer = true;
|
|
7613
|
-
return
|
|
7845
|
+
return _this46;
|
|
7614
7846
|
}
|
|
7615
7847
|
|
|
7616
7848
|
_createClass(EWallElement, [{
|
|
@@ -7646,20 +7878,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7646
7878
|
|
|
7647
7879
|
module.exports = EWallElement;
|
|
7648
7880
|
}, {
|
|
7649
|
-
"./base/base-element.js":
|
|
7881
|
+
"./base/base-element.js": 104
|
|
7650
7882
|
}],
|
|
7651
|
-
|
|
7883
|
+
110: [function (require, module, exports) {
|
|
7652
7884
|
var BaseElement = require("./base/base-element.js");
|
|
7653
7885
|
|
|
7654
|
-
var FaceARElement = /*#__PURE__*/function (
|
|
7655
|
-
_inherits(FaceARElement,
|
|
7886
|
+
var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
|
|
7887
|
+
_inherits(FaceARElement, _BaseElement5);
|
|
7656
7888
|
|
|
7657
|
-
var
|
|
7889
|
+
var _super73 = _createSuper(FaceARElement);
|
|
7658
7890
|
|
|
7659
7891
|
function FaceARElement() {
|
|
7660
7892
|
_classCallCheck(this, FaceARElement);
|
|
7661
7893
|
|
|
7662
|
-
return
|
|
7894
|
+
return _super73.call(this);
|
|
7663
7895
|
}
|
|
7664
7896
|
|
|
7665
7897
|
_createClass(FaceARElement, [{
|
|
@@ -7690,20 +7922,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7690
7922
|
|
|
7691
7923
|
module.exports = FaceARElement;
|
|
7692
7924
|
}, {
|
|
7693
|
-
"./base/base-element.js":
|
|
7925
|
+
"./base/base-element.js": 104
|
|
7694
7926
|
}],
|
|
7695
|
-
|
|
7927
|
+
111: [function (require, module, exports) {
|
|
7696
7928
|
var BaseElement = require("./base/base-element.js");
|
|
7697
7929
|
|
|
7698
|
-
var ModelElement = /*#__PURE__*/function (
|
|
7699
|
-
_inherits(ModelElement,
|
|
7930
|
+
var ModelElement = /*#__PURE__*/function (_BaseElement6) {
|
|
7931
|
+
_inherits(ModelElement, _BaseElement6);
|
|
7700
7932
|
|
|
7701
|
-
var
|
|
7933
|
+
var _super74 = _createSuper(ModelElement);
|
|
7702
7934
|
|
|
7703
7935
|
function ModelElement() {
|
|
7704
7936
|
_classCallCheck(this, ModelElement);
|
|
7705
7937
|
|
|
7706
|
-
return
|
|
7938
|
+
return _super74.call(this);
|
|
7707
7939
|
}
|
|
7708
7940
|
|
|
7709
7941
|
_createClass(ModelElement, [{
|
|
@@ -7731,20 +7963,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7731
7963
|
|
|
7732
7964
|
module.exports = ModelElement;
|
|
7733
7965
|
}, {
|
|
7734
|
-
"./base/base-element.js":
|
|
7966
|
+
"./base/base-element.js": 104
|
|
7735
7967
|
}],
|
|
7736
|
-
|
|
7968
|
+
112: [function (require, module, exports) {
|
|
7737
7969
|
var BaseElement = require("./base/base-element.js");
|
|
7738
7970
|
|
|
7739
|
-
var ProductElement = /*#__PURE__*/function (
|
|
7740
|
-
_inherits(ProductElement,
|
|
7971
|
+
var ProductElement = /*#__PURE__*/function (_BaseElement7) {
|
|
7972
|
+
_inherits(ProductElement, _BaseElement7);
|
|
7741
7973
|
|
|
7742
|
-
var
|
|
7974
|
+
var _super75 = _createSuper(ProductElement);
|
|
7743
7975
|
|
|
7744
7976
|
function ProductElement() {
|
|
7745
7977
|
_classCallCheck(this, ProductElement);
|
|
7746
7978
|
|
|
7747
|
-
return
|
|
7979
|
+
return _super75.call(this);
|
|
7748
7980
|
}
|
|
7749
7981
|
|
|
7750
7982
|
_createClass(ProductElement, [{
|
|
@@ -7780,20 +8012,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7780
8012
|
|
|
7781
8013
|
module.exports = ProductElement;
|
|
7782
8014
|
}, {
|
|
7783
|
-
"./base/base-element.js":
|
|
8015
|
+
"./base/base-element.js": 104
|
|
7784
8016
|
}],
|
|
7785
|
-
|
|
8017
|
+
113: [function (require, module, exports) {
|
|
7786
8018
|
var BaseElement = require("./base/base-element.js");
|
|
7787
8019
|
|
|
7788
|
-
var StudioElement = /*#__PURE__*/function (
|
|
7789
|
-
_inherits(StudioElement,
|
|
8020
|
+
var StudioElement = /*#__PURE__*/function (_BaseElement8) {
|
|
8021
|
+
_inherits(StudioElement, _BaseElement8);
|
|
7790
8022
|
|
|
7791
|
-
var
|
|
8023
|
+
var _super76 = _createSuper(StudioElement);
|
|
7792
8024
|
|
|
7793
8025
|
function StudioElement() {
|
|
7794
8026
|
_classCallCheck(this, StudioElement);
|
|
7795
8027
|
|
|
7796
|
-
return
|
|
8028
|
+
return _super76.call(this);
|
|
7797
8029
|
}
|
|
7798
8030
|
|
|
7799
8031
|
_createClass(StudioElement, [{
|
|
@@ -7813,20 +8045,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7813
8045
|
|
|
7814
8046
|
module.exports = StudioElement;
|
|
7815
8047
|
}, {
|
|
7816
|
-
"./base/base-element.js":
|
|
8048
|
+
"./base/base-element.js": 104
|
|
7817
8049
|
}],
|
|
7818
|
-
|
|
8050
|
+
114: [function (require, module, exports) {
|
|
7819
8051
|
var BaseElement = require("./base/base-element.js");
|
|
7820
8052
|
|
|
7821
|
-
var ViewerElement = /*#__PURE__*/function (
|
|
7822
|
-
_inherits(ViewerElement,
|
|
8053
|
+
var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
|
|
8054
|
+
_inherits(ViewerElement, _BaseElement9);
|
|
7823
8055
|
|
|
7824
|
-
var
|
|
8056
|
+
var _super77 = _createSuper(ViewerElement);
|
|
7825
8057
|
|
|
7826
8058
|
function ViewerElement() {
|
|
7827
8059
|
_classCallCheck(this, ViewerElement);
|
|
7828
8060
|
|
|
7829
|
-
return
|
|
8061
|
+
return _super77.call(this);
|
|
7830
8062
|
}
|
|
7831
8063
|
|
|
7832
8064
|
_createClass(ViewerElement, [{
|
|
@@ -7857,20 +8089,20 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7857
8089
|
|
|
7858
8090
|
module.exports = ViewerElement;
|
|
7859
8091
|
}, {
|
|
7860
|
-
"./base/base-element.js":
|
|
8092
|
+
"./base/base-element.js": 104
|
|
7861
8093
|
}],
|
|
7862
|
-
|
|
8094
|
+
115: [function (require, module, exports) {
|
|
7863
8095
|
var BaseElement = require("./base/base-element.js");
|
|
7864
8096
|
|
|
7865
|
-
var WebXRElement = /*#__PURE__*/function (
|
|
7866
|
-
_inherits(WebXRElement,
|
|
8097
|
+
var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
|
|
8098
|
+
_inherits(WebXRElement, _BaseElement10);
|
|
7867
8099
|
|
|
7868
|
-
var
|
|
8100
|
+
var _super78 = _createSuper(WebXRElement);
|
|
7869
8101
|
|
|
7870
8102
|
function WebXRElement() {
|
|
7871
8103
|
_classCallCheck(this, WebXRElement);
|
|
7872
8104
|
|
|
7873
|
-
return
|
|
8105
|
+
return _super78.call(this);
|
|
7874
8106
|
}
|
|
7875
8107
|
|
|
7876
8108
|
_createClass(WebXRElement, [{
|
|
@@ -7890,9 +8122,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7890
8122
|
|
|
7891
8123
|
module.exports = WebXRElement;
|
|
7892
8124
|
}, {
|
|
7893
|
-
"./base/base-element.js":
|
|
8125
|
+
"./base/base-element.js": 104
|
|
7894
8126
|
}],
|
|
7895
|
-
|
|
8127
|
+
116: [function (require, module, exports) {
|
|
7896
8128
|
"use strict";
|
|
7897
8129
|
|
|
7898
8130
|
var WebXRElement = require("./elements/webxr-element.js");
|
|
@@ -7911,6 +8143,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7911
8143
|
|
|
7912
8144
|
var ModelElement = require("./elements/model-element.js");
|
|
7913
8145
|
|
|
8146
|
+
var ConfiguratorElement = require("./elements/configurator-element.js");
|
|
8147
|
+
|
|
7914
8148
|
var Version = require("./version");
|
|
7915
8149
|
|
|
7916
8150
|
if (customElements.get("plattar-webxr") === undefined) {
|
|
@@ -7945,22 +8179,27 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
7945
8179
|
customElements.define("plattar-model", ModelElement);
|
|
7946
8180
|
}
|
|
7947
8181
|
|
|
8182
|
+
if (customElements.get("plattar-configurator") === undefined) {
|
|
8183
|
+
customElements.define("plattar-configurator", ConfiguratorElement);
|
|
8184
|
+
}
|
|
8185
|
+
|
|
7948
8186
|
console.log("using @plattar/plattar-web v" + Version);
|
|
7949
8187
|
module.exports = {
|
|
7950
8188
|
version: Version
|
|
7951
8189
|
};
|
|
7952
8190
|
}, {
|
|
7953
|
-
"./elements/
|
|
7954
|
-
"./elements/
|
|
7955
|
-
"./elements/
|
|
7956
|
-
"./elements/
|
|
7957
|
-
"./elements/
|
|
7958
|
-
"./elements/
|
|
7959
|
-
"./elements/
|
|
7960
|
-
"./elements/
|
|
7961
|
-
"./
|
|
8191
|
+
"./elements/configurator-element.js": 105,
|
|
8192
|
+
"./elements/editor-element.js": 108,
|
|
8193
|
+
"./elements/ewall-element.js": 109,
|
|
8194
|
+
"./elements/facear-element.js": 110,
|
|
8195
|
+
"./elements/model-element.js": 111,
|
|
8196
|
+
"./elements/product-element.js": 112,
|
|
8197
|
+
"./elements/studio-element.js": 113,
|
|
8198
|
+
"./elements/viewer-element.js": 114,
|
|
8199
|
+
"./elements/webxr-element.js": 115,
|
|
8200
|
+
"./version": 118
|
|
7962
8201
|
}],
|
|
7963
|
-
|
|
8202
|
+
117: [function (require, module, exports) {
|
|
7964
8203
|
var Util = /*#__PURE__*/function () {
|
|
7965
8204
|
function Util() {
|
|
7966
8205
|
_classCallCheck(this, Util);
|
|
@@ -8023,6 +8262,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8023
8262
|
case "studio":
|
|
8024
8263
|
case "product":
|
|
8025
8264
|
case "model":
|
|
8265
|
+
case "configurator":
|
|
8026
8266
|
case "webxr":
|
|
8027
8267
|
return true;
|
|
8028
8268
|
|
|
@@ -8057,10 +8297,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8057
8297
|
|
|
8058
8298
|
module.exports = Util;
|
|
8059
8299
|
}, {}],
|
|
8060
|
-
|
|
8061
|
-
module.exports = "1.122.
|
|
8300
|
+
118: [function (require, module, exports) {
|
|
8301
|
+
module.exports = "1.122.3";
|
|
8062
8302
|
}, {}],
|
|
8063
|
-
|
|
8303
|
+
119: [function (require, module, exports) {
|
|
8064
8304
|
(function (global) {
|
|
8065
8305
|
(function () {
|
|
8066
8306
|
"use strict"; // ref: https://github.com/tc39/proposal-global
|
|
@@ -8097,7 +8337,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8097
8337
|
}).call(this);
|
|
8098
8338
|
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
|
|
8099
8339
|
}, {}],
|
|
8100
|
-
|
|
8340
|
+
120: [function (require, module, exports) {
|
|
8101
8341
|
// shim for using process in browser
|
|
8102
8342
|
var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it
|
|
8103
8343
|
// don't break things. But we need to wrap it in a try catch in case it is
|
|
@@ -8307,7 +8547,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
8307
8547
|
return 0;
|
|
8308
8548
|
};
|
|
8309
8549
|
}, {}],
|
|
8310
|
-
|
|
8550
|
+
121: [function (require, module, exports) {
|
|
8311
8551
|
!function (t, e) {
|
|
8312
8552
|
"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();
|
|
8313
8553
|
}(self, function () {
|
|
@@ -10939,6 +11179,6 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
10939
11179
|
}()["default"];
|
|
10940
11180
|
});
|
|
10941
11181
|
}, {}]
|
|
10942
|
-
}, {}, [
|
|
11182
|
+
}, {}, [8])(8);
|
|
10943
11183
|
});
|
|
10944
11184
|
|