@plattar/plattar-ar-adapter 1.163.2 → 1.167.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es2015/plattar-ar-adapter.js +131 -180
- package/build/es2015/plattar-ar-adapter.min.js +1 -1
- package/build/es2019/plattar-ar-adapter.js +41 -10
- package/build/es2019/plattar-ar-adapter.min.js +1 -1
- package/dist/embed/plattar-embed.d.ts +1 -0
- package/dist/embed/plattar-embed.js +15 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
|
@@ -12,7 +12,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
|
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
15
|
-
function _construct(
|
|
15
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
16
16
|
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
|
|
17
17
|
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
18
18
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
@@ -22,15 +22,15 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
22
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
23
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
function _toPropertyKey(
|
|
26
|
-
function _toPrimitive(
|
|
27
|
-
function
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
26
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
30
28
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
29
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
32
|
-
function _isNativeReflectConstruct() {
|
|
30
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
33
31
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
32
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
34
34
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
35
35
|
(function (f) {
|
|
36
36
|
if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined") {
|
|
@@ -103,11 +103,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
103
103
|
*/
|
|
104
104
|
var ConfiguratorAR = /*#__PURE__*/function (_launcher_ar_1$Launch) {
|
|
105
105
|
_inherits(ConfiguratorAR, _launcher_ar_1$Launch);
|
|
106
|
-
var _super = _createSuper(ConfiguratorAR);
|
|
107
106
|
function ConfiguratorAR(options) {
|
|
108
107
|
var _this;
|
|
109
108
|
_classCallCheck(this, ConfiguratorAR);
|
|
110
|
-
_this =
|
|
109
|
+
_this = _callSuper(this, ConfiguratorAR);
|
|
111
110
|
// analytics instance
|
|
112
111
|
_this._analytics = null;
|
|
113
112
|
if (!options.state) {
|
|
@@ -424,11 +423,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
424
423
|
*/
|
|
425
424
|
var ModelAR = /*#__PURE__*/function (_launcher_ar_1$Launch2) {
|
|
426
425
|
_inherits(ModelAR, _launcher_ar_1$Launch2);
|
|
427
|
-
var _super2 = _createSuper(ModelAR);
|
|
428
426
|
function ModelAR(options) {
|
|
429
427
|
var _this2;
|
|
430
428
|
_classCallCheck(this, ModelAR);
|
|
431
|
-
_this2 =
|
|
429
|
+
_this2 = _callSuper(this, ModelAR);
|
|
432
430
|
// analytics instance
|
|
433
431
|
_this2._analytics = null;
|
|
434
432
|
if (!options.modelID) {
|
|
@@ -597,7 +595,6 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
597
595
|
*/
|
|
598
596
|
var ProductAR = /*#__PURE__*/function (_launcher_ar_1$Launch3) {
|
|
599
597
|
_inherits(ProductAR, _launcher_ar_1$Launch3);
|
|
600
|
-
var _super3 = _createSuper(ProductAR);
|
|
601
598
|
/*
|
|
602
599
|
constructor(productID: string | undefined | null = null, variationID: string | undefined | null = null, variationSKU: string | undefined | null = null) {
|
|
603
600
|
super();
|
|
@@ -613,7 +610,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
613
610
|
function ProductAR(options) {
|
|
614
611
|
var _this4;
|
|
615
612
|
_classCallCheck(this, ProductAR);
|
|
616
|
-
_this4 =
|
|
613
|
+
_this4 = _callSuper(this, ProductAR);
|
|
617
614
|
// analytics instance
|
|
618
615
|
_this4._analytics = null;
|
|
619
616
|
if (!options.productID) {
|
|
@@ -850,11 +847,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
850
847
|
*/
|
|
851
848
|
var RawAR = /*#__PURE__*/function (_launcher_ar_1$Launch4) {
|
|
852
849
|
_inherits(RawAR, _launcher_ar_1$Launch4);
|
|
853
|
-
var _super4 = _createSuper(RawAR);
|
|
854
850
|
function RawAR(options) {
|
|
855
851
|
var _this6;
|
|
856
852
|
_classCallCheck(this, RawAR);
|
|
857
|
-
_this6 =
|
|
853
|
+
_this6 = _callSuper(this, RawAR);
|
|
858
854
|
// analytics instance
|
|
859
855
|
_this6._analytics = null;
|
|
860
856
|
if (!options.modelLocation) {
|
|
@@ -1041,11 +1037,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1041
1037
|
*/
|
|
1042
1038
|
var SceneAR = /*#__PURE__*/function (_launcher_ar_1$Launch5) {
|
|
1043
1039
|
_inherits(SceneAR, _launcher_ar_1$Launch5);
|
|
1044
|
-
var _super5 = _createSuper(SceneAR);
|
|
1045
1040
|
function SceneAR(options) {
|
|
1046
1041
|
var _this9;
|
|
1047
1042
|
_classCallCheck(this, SceneAR);
|
|
1048
|
-
_this9 =
|
|
1043
|
+
_this9 = _callSuper(this, SceneAR);
|
|
1049
1044
|
// analytics instance
|
|
1050
1045
|
_this9._analytics = null;
|
|
1051
1046
|
if (!options.sceneID) {
|
|
@@ -1279,12 +1274,11 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1279
1274
|
*/
|
|
1280
1275
|
var SceneProductAR = /*#__PURE__*/function (_product_ar_1$Product) {
|
|
1281
1276
|
_inherits(SceneProductAR, _product_ar_1$Product);
|
|
1282
|
-
var _super6 = _createSuper(SceneProductAR);
|
|
1283
1277
|
function SceneProductAR(options) {
|
|
1284
1278
|
var _this12;
|
|
1285
1279
|
_classCallCheck(this, SceneProductAR);
|
|
1286
1280
|
//super(sceneProductID, variationID, variationSKU);
|
|
1287
|
-
_this12 =
|
|
1281
|
+
_this12 = _callSuper(this, SceneProductAR, [options]);
|
|
1288
1282
|
// this is evaluated in the init() function
|
|
1289
1283
|
_this12._attachedProductID = null;
|
|
1290
1284
|
if (!options.productID) {
|
|
@@ -1352,11 +1346,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1352
1346
|
*/
|
|
1353
1347
|
var ConfiguratorController = /*#__PURE__*/function (_plattar_controller_) {
|
|
1354
1348
|
_inherits(ConfiguratorController, _plattar_controller_);
|
|
1355
|
-
var _super7 = _createSuper(ConfiguratorController);
|
|
1356
1349
|
function ConfiguratorController() {
|
|
1357
1350
|
var _this14;
|
|
1358
1351
|
_classCallCheck(this, ConfiguratorController);
|
|
1359
|
-
_this14 =
|
|
1352
|
+
_this14 = _callSuper(this, ConfiguratorController, arguments);
|
|
1360
1353
|
_this14._cachedConfigState = null;
|
|
1361
1354
|
return _this14;
|
|
1362
1355
|
}
|
|
@@ -2320,10 +2313,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2320
2313
|
*/
|
|
2321
2314
|
var ProductController = /*#__PURE__*/function (_plattar_controller_2) {
|
|
2322
2315
|
_inherits(ProductController, _plattar_controller_2);
|
|
2323
|
-
var _super8 = _createSuper(ProductController);
|
|
2324
2316
|
function ProductController() {
|
|
2325
2317
|
_classCallCheck(this, ProductController);
|
|
2326
|
-
return
|
|
2318
|
+
return _callSuper(this, ProductController, arguments);
|
|
2327
2319
|
}
|
|
2328
2320
|
_createClass(ProductController, [{
|
|
2329
2321
|
key: "getConfiguratorState",
|
|
@@ -2619,11 +2611,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2619
2611
|
*/
|
|
2620
2612
|
var VTOController = /*#__PURE__*/function (_plattar_controller_3) {
|
|
2621
2613
|
_inherits(VTOController, _plattar_controller_3);
|
|
2622
|
-
var _super9 = _createSuper(VTOController);
|
|
2623
2614
|
function VTOController() {
|
|
2624
2615
|
var _this22;
|
|
2625
2616
|
_classCallCheck(this, VTOController);
|
|
2626
|
-
_this22 =
|
|
2617
|
+
_this22 = _callSuper(this, VTOController, arguments);
|
|
2627
2618
|
_this22._cachedConfigState = null;
|
|
2628
2619
|
return _this22;
|
|
2629
2620
|
}
|
|
@@ -3104,16 +3095,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
3104
3095
|
*/
|
|
3105
3096
|
var PlattarEmbed = /*#__PURE__*/function (_HTMLElement) {
|
|
3106
3097
|
_inherits(PlattarEmbed, _HTMLElement);
|
|
3107
|
-
var _super10 = _createSuper(PlattarEmbed);
|
|
3108
3098
|
function PlattarEmbed() {
|
|
3109
3099
|
var _this25;
|
|
3110
3100
|
_classCallCheck(this, PlattarEmbed);
|
|
3111
|
-
_this25 =
|
|
3101
|
+
_this25 = _callSuper(this, PlattarEmbed);
|
|
3112
3102
|
// this is the current embed type, viewer by default
|
|
3113
3103
|
_this25._currentType = EmbedType.None;
|
|
3114
3104
|
_this25._observerState = ObserverState.Unlocked;
|
|
3115
3105
|
_this25._controller = null;
|
|
3116
3106
|
_this25._currentSceneID = null;
|
|
3107
|
+
_this25._currentServer = null;
|
|
3117
3108
|
_this25._observer = null;
|
|
3118
3109
|
return _this25;
|
|
3119
3110
|
}
|
|
@@ -3137,9 +3128,6 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
3137
3128
|
key: "create",
|
|
3138
3129
|
value: function create() {
|
|
3139
3130
|
var _this26 = this;
|
|
3140
|
-
// server cannot be changed once its set - defaults to production
|
|
3141
|
-
var server = this.hasAttribute("server") ? this.getAttribute("server") : "production";
|
|
3142
|
-
plattar_api_1.Server.create(plattar_api_1.Server.match(server || "production"));
|
|
3143
3131
|
if (!this._observer) {
|
|
3144
3132
|
this._observer = new MutationObserver(function (mutations) {
|
|
3145
3133
|
if (_this26._observerState === ObserverState.Unlocked) {
|
|
@@ -3203,6 +3191,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
3203
3191
|
}, {
|
|
3204
3192
|
key: "_CreateLegacyEmbed",
|
|
3205
3193
|
value: function _CreateLegacyEmbed() {
|
|
3194
|
+
// server cannot be changed once its set - defaults to production
|
|
3195
|
+
var server = this.hasAttribute("server") ? this.getAttribute("server") : "production";
|
|
3196
|
+
plattar_api_1.Server.create(plattar_api_1.Server.match(server || "production"));
|
|
3206
3197
|
this._controller = new product_controller_1.ProductController(this);
|
|
3207
3198
|
var init = this.hasAttribute("init") ? this.getAttribute("init") : null;
|
|
3208
3199
|
switch (init) {
|
|
@@ -3221,6 +3212,17 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
3221
3212
|
}, {
|
|
3222
3213
|
key: "_CreateEmbed",
|
|
3223
3214
|
value: function _CreateEmbed(attributeName) {
|
|
3215
|
+
// check if controller needs to be destroyed due to server change
|
|
3216
|
+
var serverAttribute = this.hasAttribute("server") ? this.getAttribute("server") : "production";
|
|
3217
|
+
if (this._currentServer !== serverAttribute) {
|
|
3218
|
+
this._currentSceneID = serverAttribute || "production";
|
|
3219
|
+
// reset the controller if any
|
|
3220
|
+
if (this._controller) {
|
|
3221
|
+
this._controller.removeRenderer();
|
|
3222
|
+
this._controller = null;
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
plattar_api_1.Server.create(plattar_api_1.Server.match(this._currentServer || "production"));
|
|
3224
3226
|
var embedType = this.hasAttribute("embed-type") ? this.getAttribute("embed-type") : "configurator";
|
|
3225
3227
|
var currentEmbed = this._currentType;
|
|
3226
3228
|
if (embedType) {
|
|
@@ -4198,7 +4200,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4198
4200
|
Object.defineProperty(exports, "__esModule", {
|
|
4199
4201
|
value: true
|
|
4200
4202
|
});
|
|
4201
|
-
exports["default"] = "1.
|
|
4203
|
+
exports["default"] = "1.167.1";
|
|
4202
4204
|
}, {}],
|
|
4203
4205
|
17: [function (require, module, exports) {
|
|
4204
4206
|
"use strict";
|
|
@@ -4234,10 +4236,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4234
4236
|
var ar_viewer_1 = require("./ar-viewer");
|
|
4235
4237
|
var QuicklookViewer = /*#__PURE__*/function (_ar_viewer_1$ARViewer) {
|
|
4236
4238
|
_inherits(QuicklookViewer, _ar_viewer_1$ARViewer);
|
|
4237
|
-
var _super11 = _createSuper(QuicklookViewer);
|
|
4238
4239
|
function QuicklookViewer() {
|
|
4239
4240
|
_classCallCheck(this, QuicklookViewer);
|
|
4240
|
-
return
|
|
4241
|
+
return _callSuper(this, QuicklookViewer);
|
|
4241
4242
|
}
|
|
4242
4243
|
_createClass(QuicklookViewer, [{
|
|
4243
4244
|
key: "nodeType",
|
|
@@ -4292,10 +4293,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4292
4293
|
var ar_viewer_1 = require("./ar-viewer");
|
|
4293
4294
|
var RealityViewer = /*#__PURE__*/function (_ar_viewer_1$ARViewer2) {
|
|
4294
4295
|
_inherits(RealityViewer, _ar_viewer_1$ARViewer2);
|
|
4295
|
-
var _super12 = _createSuper(RealityViewer);
|
|
4296
4296
|
function RealityViewer() {
|
|
4297
4297
|
_classCallCheck(this, RealityViewer);
|
|
4298
|
-
return
|
|
4298
|
+
return _callSuper(this, RealityViewer);
|
|
4299
4299
|
}
|
|
4300
4300
|
_createClass(RealityViewer, [{
|
|
4301
4301
|
key: "nodeType",
|
|
@@ -4335,11 +4335,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
4335
4335
|
var ar_viewer_1 = require("./ar-viewer");
|
|
4336
4336
|
var SceneViewer = /*#__PURE__*/function (_ar_viewer_1$ARViewer3) {
|
|
4337
4337
|
_inherits(SceneViewer, _ar_viewer_1$ARViewer3);
|
|
4338
|
-
var _super13 = _createSuper(SceneViewer);
|
|
4339
4338
|
function SceneViewer() {
|
|
4340
4339
|
var _this30;
|
|
4341
4340
|
_classCallCheck(this, SceneViewer);
|
|
4342
|
-
_this30 =
|
|
4341
|
+
_this30 = _callSuper(this, SceneViewer);
|
|
4343
4342
|
_this30.isVertical = false;
|
|
4344
4343
|
_this30.isVertical = false;
|
|
4345
4344
|
return _this30;
|
|
@@ -7074,10 +7073,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7074
7073
|
var PlattarBase = require("./interfaces/plattar-base.js");
|
|
7075
7074
|
var Application = /*#__PURE__*/function (_PlattarBase) {
|
|
7076
7075
|
_inherits(Application, _PlattarBase);
|
|
7077
|
-
var _super14 = _createSuper(Application);
|
|
7078
7076
|
function Application() {
|
|
7079
7077
|
_classCallCheck(this, Application);
|
|
7080
|
-
return
|
|
7078
|
+
return _callSuper(this, Application, arguments);
|
|
7081
7079
|
}
|
|
7082
7080
|
_createClass(Application, null, [{
|
|
7083
7081
|
key: "type",
|
|
@@ -7095,10 +7093,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7095
7093
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7096
7094
|
var Brief = /*#__PURE__*/function (_PlattarBase2) {
|
|
7097
7095
|
_inherits(Brief, _PlattarBase2);
|
|
7098
|
-
var _super15 = _createSuper(Brief);
|
|
7099
7096
|
function Brief() {
|
|
7100
7097
|
_classCallCheck(this, Brief);
|
|
7101
|
-
return
|
|
7098
|
+
return _callSuper(this, Brief, arguments);
|
|
7102
7099
|
}
|
|
7103
7100
|
_createClass(Brief, null, [{
|
|
7104
7101
|
key: "type",
|
|
@@ -7116,10 +7113,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7116
7113
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7117
7114
|
var CommentBrief = /*#__PURE__*/function (_PlattarBase3) {
|
|
7118
7115
|
_inherits(CommentBrief, _PlattarBase3);
|
|
7119
|
-
var _super16 = _createSuper(CommentBrief);
|
|
7120
7116
|
function CommentBrief() {
|
|
7121
7117
|
_classCallCheck(this, CommentBrief);
|
|
7122
|
-
return
|
|
7118
|
+
return _callSuper(this, CommentBrief, arguments);
|
|
7123
7119
|
}
|
|
7124
7120
|
_createClass(CommentBrief, null, [{
|
|
7125
7121
|
key: "type",
|
|
@@ -7137,10 +7133,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7137
7133
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7138
7134
|
var CommentQuote = /*#__PURE__*/function (_PlattarBase4) {
|
|
7139
7135
|
_inherits(CommentQuote, _PlattarBase4);
|
|
7140
|
-
var _super17 = _createSuper(CommentQuote);
|
|
7141
7136
|
function CommentQuote() {
|
|
7142
7137
|
_classCallCheck(this, CommentQuote);
|
|
7143
|
-
return
|
|
7138
|
+
return _callSuper(this, CommentQuote, arguments);
|
|
7144
7139
|
}
|
|
7145
7140
|
_createClass(CommentQuote, null, [{
|
|
7146
7141
|
key: "type",
|
|
@@ -7158,10 +7153,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7158
7153
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7159
7154
|
var CommentSolution = /*#__PURE__*/function (_PlattarBase5) {
|
|
7160
7155
|
_inherits(CommentSolution, _PlattarBase5);
|
|
7161
|
-
var _super18 = _createSuper(CommentSolution);
|
|
7162
7156
|
function CommentSolution() {
|
|
7163
7157
|
_classCallCheck(this, CommentSolution);
|
|
7164
|
-
return
|
|
7158
|
+
return _callSuper(this, CommentSolution, arguments);
|
|
7165
7159
|
}
|
|
7166
7160
|
_createClass(CommentSolution, null, [{
|
|
7167
7161
|
key: "type",
|
|
@@ -7179,10 +7173,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7179
7173
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7180
7174
|
var Folder = /*#__PURE__*/function (_PlattarBase6) {
|
|
7181
7175
|
_inherits(Folder, _PlattarBase6);
|
|
7182
|
-
var _super19 = _createSuper(Folder);
|
|
7183
7176
|
function Folder() {
|
|
7184
7177
|
_classCallCheck(this, Folder);
|
|
7185
|
-
return
|
|
7178
|
+
return _callSuper(this, Folder, arguments);
|
|
7186
7179
|
}
|
|
7187
7180
|
_createClass(Folder, null, [{
|
|
7188
7181
|
key: "type",
|
|
@@ -7200,10 +7193,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7200
7193
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7201
7194
|
var PipelineUser = /*#__PURE__*/function (_PlattarBase7) {
|
|
7202
7195
|
_inherits(PipelineUser, _PlattarBase7);
|
|
7203
|
-
var _super20 = _createSuper(PipelineUser);
|
|
7204
7196
|
function PipelineUser() {
|
|
7205
7197
|
_classCallCheck(this, PipelineUser);
|
|
7206
|
-
return
|
|
7198
|
+
return _callSuper(this, PipelineUser, arguments);
|
|
7207
7199
|
}
|
|
7208
7200
|
_createClass(PipelineUser, null, [{
|
|
7209
7201
|
key: "type",
|
|
@@ -7221,10 +7213,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7221
7213
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7222
7214
|
var Quote = /*#__PURE__*/function (_PlattarBase8) {
|
|
7223
7215
|
_inherits(Quote, _PlattarBase8);
|
|
7224
|
-
var _super21 = _createSuper(Quote);
|
|
7225
7216
|
function Quote() {
|
|
7226
7217
|
_classCallCheck(this, Quote);
|
|
7227
|
-
return
|
|
7218
|
+
return _callSuper(this, Quote, arguments);
|
|
7228
7219
|
}
|
|
7229
7220
|
_createClass(Quote, null, [{
|
|
7230
7221
|
key: "type",
|
|
@@ -7242,10 +7233,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7242
7233
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7243
7234
|
var Rating = /*#__PURE__*/function (_PlattarBase9) {
|
|
7244
7235
|
_inherits(Rating, _PlattarBase9);
|
|
7245
|
-
var _super22 = _createSuper(Rating);
|
|
7246
7236
|
function Rating() {
|
|
7247
7237
|
_classCallCheck(this, Rating);
|
|
7248
|
-
return
|
|
7238
|
+
return _callSuper(this, Rating, arguments);
|
|
7249
7239
|
}
|
|
7250
7240
|
_createClass(Rating, null, [{
|
|
7251
7241
|
key: "type",
|
|
@@ -7263,10 +7253,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7263
7253
|
var PlattarBase = require("../interfaces/plattar-base");
|
|
7264
7254
|
var Solution = /*#__PURE__*/function (_PlattarBase10) {
|
|
7265
7255
|
_inherits(Solution, _PlattarBase10);
|
|
7266
|
-
var _super23 = _createSuper(Solution);
|
|
7267
7256
|
function Solution() {
|
|
7268
7257
|
_classCallCheck(this, Solution);
|
|
7269
|
-
return
|
|
7258
|
+
return _callSuper(this, Solution, arguments);
|
|
7270
7259
|
}
|
|
7271
7260
|
_createClass(Solution, null, [{
|
|
7272
7261
|
key: "type",
|
|
@@ -7284,10 +7273,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7284
7273
|
var FileBase = require("./file-base.js");
|
|
7285
7274
|
var FileAudio = /*#__PURE__*/function (_FileBase) {
|
|
7286
7275
|
_inherits(FileAudio, _FileBase);
|
|
7287
|
-
var _super24 = _createSuper(FileAudio);
|
|
7288
7276
|
function FileAudio() {
|
|
7289
7277
|
_classCallCheck(this, FileAudio);
|
|
7290
|
-
return
|
|
7278
|
+
return _callSuper(this, FileAudio, arguments);
|
|
7291
7279
|
}
|
|
7292
7280
|
_createClass(FileAudio, null, [{
|
|
7293
7281
|
key: "type",
|
|
@@ -7306,11 +7294,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7306
7294
|
var Server = require("../../server/plattar-server.js");
|
|
7307
7295
|
var FileBase = /*#__PURE__*/function (_PlattarBase11) {
|
|
7308
7296
|
_inherits(FileBase, _PlattarBase11);
|
|
7309
|
-
var _super25 = _createSuper(FileBase);
|
|
7310
7297
|
function FileBase(id, server) {
|
|
7311
7298
|
var _this48;
|
|
7312
7299
|
_classCallCheck(this, FileBase);
|
|
7313
|
-
_this48 =
|
|
7300
|
+
_this48 = _callSuper(this, FileBase, [id, server || Server["default"]()]);
|
|
7314
7301
|
if (_this48.constructor === FileBase) {
|
|
7315
7302
|
throw new Error("FileBase is abstract and cannot be created");
|
|
7316
7303
|
}
|
|
@@ -7380,10 +7367,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7380
7367
|
var FileBase = require("./file-base.js");
|
|
7381
7368
|
var FileImage = /*#__PURE__*/function (_FileBase2) {
|
|
7382
7369
|
_inherits(FileImage, _FileBase2);
|
|
7383
|
-
var _super26 = _createSuper(FileImage);
|
|
7384
7370
|
function FileImage() {
|
|
7385
7371
|
_classCallCheck(this, FileImage);
|
|
7386
|
-
return
|
|
7372
|
+
return _callSuper(this, FileImage, arguments);
|
|
7387
7373
|
}
|
|
7388
7374
|
_createClass(FileImage, null, [{
|
|
7389
7375
|
key: "type",
|
|
@@ -7401,10 +7387,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7401
7387
|
var FileBase = require("./file-base.js");
|
|
7402
7388
|
var FileModel = /*#__PURE__*/function (_FileBase3) {
|
|
7403
7389
|
_inherits(FileModel, _FileBase3);
|
|
7404
|
-
var _super27 = _createSuper(FileModel);
|
|
7405
7390
|
function FileModel() {
|
|
7406
7391
|
_classCallCheck(this, FileModel);
|
|
7407
|
-
return
|
|
7392
|
+
return _callSuper(this, FileModel, arguments);
|
|
7408
7393
|
}
|
|
7409
7394
|
_createClass(FileModel, null, [{
|
|
7410
7395
|
key: "type",
|
|
@@ -7422,10 +7407,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7422
7407
|
var FileBase = require("./file-base.js");
|
|
7423
7408
|
var FileScript = /*#__PURE__*/function (_FileBase4) {
|
|
7424
7409
|
_inherits(FileScript, _FileBase4);
|
|
7425
|
-
var _super28 = _createSuper(FileScript);
|
|
7426
7410
|
function FileScript() {
|
|
7427
7411
|
_classCallCheck(this, FileScript);
|
|
7428
|
-
return
|
|
7412
|
+
return _callSuper(this, FileScript, arguments);
|
|
7429
7413
|
}
|
|
7430
7414
|
_createClass(FileScript, null, [{
|
|
7431
7415
|
key: "type",
|
|
@@ -7443,10 +7427,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7443
7427
|
var FileBase = require("./file-base.js");
|
|
7444
7428
|
var FileVideo = /*#__PURE__*/function (_FileBase5) {
|
|
7445
7429
|
_inherits(FileVideo, _FileBase5);
|
|
7446
|
-
var _super29 = _createSuper(FileVideo);
|
|
7447
7430
|
function FileVideo() {
|
|
7448
7431
|
_classCallCheck(this, FileVideo);
|
|
7449
|
-
return
|
|
7432
|
+
return _callSuper(this, FileVideo, arguments);
|
|
7450
7433
|
}
|
|
7451
7434
|
_createClass(FileVideo, null, [{
|
|
7452
7435
|
key: "type",
|
|
@@ -7465,11 +7448,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7465
7448
|
var Server = require("../../server/plattar-server.js");
|
|
7466
7449
|
var PlattarBase = /*#__PURE__*/function (_PlattarObject) {
|
|
7467
7450
|
_inherits(PlattarBase, _PlattarObject);
|
|
7468
|
-
var _super30 = _createSuper(PlattarBase);
|
|
7469
7451
|
function PlattarBase(id, server) {
|
|
7470
7452
|
var _this49;
|
|
7471
7453
|
_classCallCheck(this, PlattarBase);
|
|
7472
|
-
_this49 =
|
|
7454
|
+
_this49 = _callSuper(this, PlattarBase, [id, server || Server["default"]()]);
|
|
7473
7455
|
if (_this49.constructor === PlattarBase) {
|
|
7474
7456
|
throw new Error("PlattarBase is abstract and cannot be created");
|
|
7475
7457
|
}
|
|
@@ -7782,10 +7764,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7782
7764
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7783
7765
|
var ApplicationBuild = /*#__PURE__*/function (_PlattarBase12) {
|
|
7784
7766
|
_inherits(ApplicationBuild, _PlattarBase12);
|
|
7785
|
-
var _super31 = _createSuper(ApplicationBuild);
|
|
7786
7767
|
function ApplicationBuild() {
|
|
7787
7768
|
_classCallCheck(this, ApplicationBuild);
|
|
7788
|
-
return
|
|
7769
|
+
return _callSuper(this, ApplicationBuild, arguments);
|
|
7789
7770
|
}
|
|
7790
7771
|
_createClass(ApplicationBuild, null, [{
|
|
7791
7772
|
key: "type",
|
|
@@ -7803,10 +7784,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7803
7784
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7804
7785
|
var AssetLibrary = /*#__PURE__*/function (_PlattarBase13) {
|
|
7805
7786
|
_inherits(AssetLibrary, _PlattarBase13);
|
|
7806
|
-
var _super32 = _createSuper(AssetLibrary);
|
|
7807
7787
|
function AssetLibrary() {
|
|
7808
7788
|
_classCallCheck(this, AssetLibrary);
|
|
7809
|
-
return
|
|
7789
|
+
return _callSuper(this, AssetLibrary, arguments);
|
|
7810
7790
|
}
|
|
7811
7791
|
_createClass(AssetLibrary, null, [{
|
|
7812
7792
|
key: "type",
|
|
@@ -7824,10 +7804,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7824
7804
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7825
7805
|
var AsyncJob = /*#__PURE__*/function (_PlattarBase14) {
|
|
7826
7806
|
_inherits(AsyncJob, _PlattarBase14);
|
|
7827
|
-
var _super33 = _createSuper(AsyncJob);
|
|
7828
7807
|
function AsyncJob() {
|
|
7829
7808
|
_classCallCheck(this, AsyncJob);
|
|
7830
|
-
return
|
|
7809
|
+
return _callSuper(this, AsyncJob, arguments);
|
|
7831
7810
|
}
|
|
7832
7811
|
_createClass(AsyncJob, [{
|
|
7833
7812
|
key: "accessKey",
|
|
@@ -7850,10 +7829,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7850
7829
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7851
7830
|
var ScriptEvent = /*#__PURE__*/function (_PlattarBase15) {
|
|
7852
7831
|
_inherits(ScriptEvent, _PlattarBase15);
|
|
7853
|
-
var _super34 = _createSuper(ScriptEvent);
|
|
7854
7832
|
function ScriptEvent() {
|
|
7855
7833
|
_classCallCheck(this, ScriptEvent);
|
|
7856
|
-
return
|
|
7834
|
+
return _callSuper(this, ScriptEvent, arguments);
|
|
7857
7835
|
}
|
|
7858
7836
|
_createClass(ScriptEvent, null, [{
|
|
7859
7837
|
key: "type",
|
|
@@ -7871,10 +7849,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7871
7849
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
7872
7850
|
var Tag = /*#__PURE__*/function (_PlattarBase16) {
|
|
7873
7851
|
_inherits(Tag, _PlattarBase16);
|
|
7874
|
-
var _super35 = _createSuper(Tag);
|
|
7875
7852
|
function Tag() {
|
|
7876
7853
|
_classCallCheck(this, Tag);
|
|
7877
|
-
return
|
|
7854
|
+
return _callSuper(this, Tag, arguments);
|
|
7878
7855
|
}
|
|
7879
7856
|
_createClass(Tag, null, [{
|
|
7880
7857
|
key: "type",
|
|
@@ -7893,11 +7870,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7893
7870
|
var Server = require("../../server/plattar-server.js");
|
|
7894
7871
|
var CardBase = /*#__PURE__*/function (_PlattarBase17) {
|
|
7895
7872
|
_inherits(CardBase, _PlattarBase17);
|
|
7896
|
-
var _super36 = _createSuper(CardBase);
|
|
7897
7873
|
function CardBase(id, server) {
|
|
7898
7874
|
var _this52;
|
|
7899
7875
|
_classCallCheck(this, CardBase);
|
|
7900
|
-
_this52 =
|
|
7876
|
+
_this52 = _callSuper(this, CardBase, [id, server || Server["default"]()]);
|
|
7901
7877
|
if (_this52.constructor === CardBase) {
|
|
7902
7878
|
throw new Error("CardBase is abstract and cannot be created");
|
|
7903
7879
|
}
|
|
@@ -7942,10 +7918,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7942
7918
|
var CardBase = require("./card-base.js");
|
|
7943
7919
|
var CardButton = /*#__PURE__*/function (_CardBase) {
|
|
7944
7920
|
_inherits(CardButton, _CardBase);
|
|
7945
|
-
var _super37 = _createSuper(CardButton);
|
|
7946
7921
|
function CardButton() {
|
|
7947
7922
|
_classCallCheck(this, CardButton);
|
|
7948
|
-
return
|
|
7923
|
+
return _callSuper(this, CardButton, arguments);
|
|
7949
7924
|
}
|
|
7950
7925
|
_createClass(CardButton, null, [{
|
|
7951
7926
|
key: "type",
|
|
@@ -7963,10 +7938,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7963
7938
|
var CardBase = require("./card-base.js");
|
|
7964
7939
|
var CardHTML = /*#__PURE__*/function (_CardBase2) {
|
|
7965
7940
|
_inherits(CardHTML, _CardBase2);
|
|
7966
|
-
var _super38 = _createSuper(CardHTML);
|
|
7967
7941
|
function CardHTML() {
|
|
7968
7942
|
_classCallCheck(this, CardHTML);
|
|
7969
|
-
return
|
|
7943
|
+
return _callSuper(this, CardHTML, arguments);
|
|
7970
7944
|
}
|
|
7971
7945
|
_createClass(CardHTML, null, [{
|
|
7972
7946
|
key: "type",
|
|
@@ -7984,10 +7958,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
7984
7958
|
var CardBase = require("./card-base.js");
|
|
7985
7959
|
var CardIFrame = /*#__PURE__*/function (_CardBase3) {
|
|
7986
7960
|
_inherits(CardIFrame, _CardBase3);
|
|
7987
|
-
var _super39 = _createSuper(CardIFrame);
|
|
7988
7961
|
function CardIFrame() {
|
|
7989
7962
|
_classCallCheck(this, CardIFrame);
|
|
7990
|
-
return
|
|
7963
|
+
return _callSuper(this, CardIFrame, arguments);
|
|
7991
7964
|
}
|
|
7992
7965
|
_createClass(CardIFrame, null, [{
|
|
7993
7966
|
key: "type",
|
|
@@ -8005,10 +7978,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8005
7978
|
var CardBase = require("./card-base.js");
|
|
8006
7979
|
var CardImage = /*#__PURE__*/function (_CardBase4) {
|
|
8007
7980
|
_inherits(CardImage, _CardBase4);
|
|
8008
|
-
var _super40 = _createSuper(CardImage);
|
|
8009
7981
|
function CardImage() {
|
|
8010
7982
|
_classCallCheck(this, CardImage);
|
|
8011
|
-
return
|
|
7983
|
+
return _callSuper(this, CardImage, arguments);
|
|
8012
7984
|
}
|
|
8013
7985
|
_createClass(CardImage, null, [{
|
|
8014
7986
|
key: "type",
|
|
@@ -8026,10 +7998,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8026
7998
|
var CardBase = require("./card-base.js");
|
|
8027
7999
|
var CardMap = /*#__PURE__*/function (_CardBase5) {
|
|
8028
8000
|
_inherits(CardMap, _CardBase5);
|
|
8029
|
-
var _super41 = _createSuper(CardMap);
|
|
8030
8001
|
function CardMap() {
|
|
8031
8002
|
_classCallCheck(this, CardMap);
|
|
8032
|
-
return
|
|
8003
|
+
return _callSuper(this, CardMap, arguments);
|
|
8033
8004
|
}
|
|
8034
8005
|
_createClass(CardMap, null, [{
|
|
8035
8006
|
key: "type",
|
|
@@ -8047,10 +8018,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8047
8018
|
var CardBase = require("./card-base.js");
|
|
8048
8019
|
var CardParagraph = /*#__PURE__*/function (_CardBase6) {
|
|
8049
8020
|
_inherits(CardParagraph, _CardBase6);
|
|
8050
|
-
var _super42 = _createSuper(CardParagraph);
|
|
8051
8021
|
function CardParagraph() {
|
|
8052
8022
|
_classCallCheck(this, CardParagraph);
|
|
8053
|
-
return
|
|
8023
|
+
return _callSuper(this, CardParagraph, arguments);
|
|
8054
8024
|
}
|
|
8055
8025
|
_createClass(CardParagraph, null, [{
|
|
8056
8026
|
key: "type",
|
|
@@ -8068,10 +8038,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8068
8038
|
var CardBase = require("./card-base.js");
|
|
8069
8039
|
var CardRow = /*#__PURE__*/function (_CardBase7) {
|
|
8070
8040
|
_inherits(CardRow, _CardBase7);
|
|
8071
|
-
var _super43 = _createSuper(CardRow);
|
|
8072
8041
|
function CardRow() {
|
|
8073
8042
|
_classCallCheck(this, CardRow);
|
|
8074
|
-
return
|
|
8043
|
+
return _callSuper(this, CardRow, arguments);
|
|
8075
8044
|
}
|
|
8076
8045
|
_createClass(CardRow, null, [{
|
|
8077
8046
|
key: "type",
|
|
@@ -8089,10 +8058,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8089
8058
|
var CardBase = require("./card-base.js");
|
|
8090
8059
|
var CardSlider = /*#__PURE__*/function (_CardBase8) {
|
|
8091
8060
|
_inherits(CardSlider, _CardBase8);
|
|
8092
|
-
var _super44 = _createSuper(CardSlider);
|
|
8093
8061
|
function CardSlider() {
|
|
8094
8062
|
_classCallCheck(this, CardSlider);
|
|
8095
|
-
return
|
|
8063
|
+
return _callSuper(this, CardSlider, arguments);
|
|
8096
8064
|
}
|
|
8097
8065
|
_createClass(CardSlider, null, [{
|
|
8098
8066
|
key: "type",
|
|
@@ -8110,10 +8078,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8110
8078
|
var CardBase = require("./card-base.js");
|
|
8111
8079
|
var CardTitle = /*#__PURE__*/function (_CardBase9) {
|
|
8112
8080
|
_inherits(CardTitle, _CardBase9);
|
|
8113
|
-
var _super45 = _createSuper(CardTitle);
|
|
8114
8081
|
function CardTitle() {
|
|
8115
8082
|
_classCallCheck(this, CardTitle);
|
|
8116
|
-
return
|
|
8083
|
+
return _callSuper(this, CardTitle, arguments);
|
|
8117
8084
|
}
|
|
8118
8085
|
_createClass(CardTitle, null, [{
|
|
8119
8086
|
key: "type",
|
|
@@ -8131,10 +8098,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8131
8098
|
var CardBase = require("./card-base.js");
|
|
8132
8099
|
var CardVideo = /*#__PURE__*/function (_CardBase10) {
|
|
8133
8100
|
_inherits(CardVideo, _CardBase10);
|
|
8134
|
-
var _super46 = _createSuper(CardVideo);
|
|
8135
8101
|
function CardVideo() {
|
|
8136
8102
|
_classCallCheck(this, CardVideo);
|
|
8137
|
-
return
|
|
8103
|
+
return _callSuper(this, CardVideo, arguments);
|
|
8138
8104
|
}
|
|
8139
8105
|
_createClass(CardVideo, null, [{
|
|
8140
8106
|
key: "type",
|
|
@@ -8152,10 +8118,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8152
8118
|
var CardBase = require("./card-base.js");
|
|
8153
8119
|
var CardYoutube = /*#__PURE__*/function (_CardBase11) {
|
|
8154
8120
|
_inherits(CardYoutube, _CardBase11);
|
|
8155
|
-
var _super47 = _createSuper(CardYoutube);
|
|
8156
8121
|
function CardYoutube() {
|
|
8157
8122
|
_classCallCheck(this, CardYoutube);
|
|
8158
|
-
return
|
|
8123
|
+
return _callSuper(this, CardYoutube, arguments);
|
|
8159
8124
|
}
|
|
8160
8125
|
_createClass(CardYoutube, null, [{
|
|
8161
8126
|
key: "type",
|
|
@@ -8173,10 +8138,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8173
8138
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
8174
8139
|
var Page = /*#__PURE__*/function (_PlattarBase18) {
|
|
8175
8140
|
_inherits(Page, _PlattarBase18);
|
|
8176
|
-
var _super48 = _createSuper(Page);
|
|
8177
8141
|
function Page() {
|
|
8178
8142
|
_classCallCheck(this, Page);
|
|
8179
|
-
return
|
|
8143
|
+
return _callSuper(this, Page, arguments);
|
|
8180
8144
|
}
|
|
8181
8145
|
_createClass(Page, null, [{
|
|
8182
8146
|
key: "type",
|
|
@@ -8194,10 +8158,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8194
8158
|
var ProductBase = require("./product-base.js");
|
|
8195
8159
|
var ProductAnnotation = /*#__PURE__*/function (_ProductBase) {
|
|
8196
8160
|
_inherits(ProductAnnotation, _ProductBase);
|
|
8197
|
-
var _super49 = _createSuper(ProductAnnotation);
|
|
8198
8161
|
function ProductAnnotation() {
|
|
8199
8162
|
_classCallCheck(this, ProductAnnotation);
|
|
8200
|
-
return
|
|
8163
|
+
return _callSuper(this, ProductAnnotation, arguments);
|
|
8201
8164
|
}
|
|
8202
8165
|
_createClass(ProductAnnotation, null, [{
|
|
8203
8166
|
key: "type",
|
|
@@ -8216,11 +8179,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8216
8179
|
var Server = require("../../server/plattar-server.js");
|
|
8217
8180
|
var ProductBase = /*#__PURE__*/function (_PlattarBase19) {
|
|
8218
8181
|
_inherits(ProductBase, _PlattarBase19);
|
|
8219
|
-
var _super50 = _createSuper(ProductBase);
|
|
8220
8182
|
function ProductBase(id, server) {
|
|
8221
8183
|
var _this53;
|
|
8222
8184
|
_classCallCheck(this, ProductBase);
|
|
8223
|
-
_this53 =
|
|
8185
|
+
_this53 = _callSuper(this, ProductBase, [id, server || Server["default"]()]);
|
|
8224
8186
|
if (_this53.constructor === ProductBase) {
|
|
8225
8187
|
throw new Error("ProductBase is abstract and cannot be created");
|
|
8226
8188
|
}
|
|
@@ -8247,10 +8209,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8247
8209
|
var ProductBase = require("./product-base.js");
|
|
8248
8210
|
var ProductVariation = /*#__PURE__*/function (_ProductBase2) {
|
|
8249
8211
|
_inherits(ProductVariation, _ProductBase2);
|
|
8250
|
-
var _super51 = _createSuper(ProductVariation);
|
|
8251
8212
|
function ProductVariation() {
|
|
8252
8213
|
_classCallCheck(this, ProductVariation);
|
|
8253
|
-
return
|
|
8214
|
+
return _callSuper(this, ProductVariation, arguments);
|
|
8254
8215
|
}
|
|
8255
8216
|
_createClass(ProductVariation, null, [{
|
|
8256
8217
|
key: "type",
|
|
@@ -8268,10 +8229,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8268
8229
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
8269
8230
|
var Product = /*#__PURE__*/function (_PlattarBase20) {
|
|
8270
8231
|
_inherits(Product, _PlattarBase20);
|
|
8271
|
-
var _super52 = _createSuper(Product);
|
|
8272
8232
|
function Product() {
|
|
8273
8233
|
_classCallCheck(this, Product);
|
|
8274
|
-
return
|
|
8234
|
+
return _callSuper(this, Product, arguments);
|
|
8275
8235
|
}
|
|
8276
8236
|
_createClass(Product, null, [{
|
|
8277
8237
|
key: "type",
|
|
@@ -8289,10 +8249,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8289
8249
|
var SceneBase = require("./scene-base.js");
|
|
8290
8250
|
var SceneAnnotation = /*#__PURE__*/function (_SceneBase) {
|
|
8291
8251
|
_inherits(SceneAnnotation, _SceneBase);
|
|
8292
|
-
var _super53 = _createSuper(SceneAnnotation);
|
|
8293
8252
|
function SceneAnnotation() {
|
|
8294
8253
|
_classCallCheck(this, SceneAnnotation);
|
|
8295
|
-
return
|
|
8254
|
+
return _callSuper(this, SceneAnnotation, arguments);
|
|
8296
8255
|
}
|
|
8297
8256
|
_createClass(SceneAnnotation, null, [{
|
|
8298
8257
|
key: "type",
|
|
@@ -8310,10 +8269,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8310
8269
|
var SceneBase = require("./scene-base.js");
|
|
8311
8270
|
var SceneAudio = /*#__PURE__*/function (_SceneBase2) {
|
|
8312
8271
|
_inherits(SceneAudio, _SceneBase2);
|
|
8313
|
-
var _super54 = _createSuper(SceneAudio);
|
|
8314
8272
|
function SceneAudio() {
|
|
8315
8273
|
_classCallCheck(this, SceneAudio);
|
|
8316
|
-
return
|
|
8274
|
+
return _callSuper(this, SceneAudio, arguments);
|
|
8317
8275
|
}
|
|
8318
8276
|
_createClass(SceneAudio, null, [{
|
|
8319
8277
|
key: "type",
|
|
@@ -8332,11 +8290,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8332
8290
|
var Server = require("../../server/plattar-server.js");
|
|
8333
8291
|
var SceneBase = /*#__PURE__*/function (_PlattarBase21) {
|
|
8334
8292
|
_inherits(SceneBase, _PlattarBase21);
|
|
8335
|
-
var _super55 = _createSuper(SceneBase);
|
|
8336
8293
|
function SceneBase(id, server) {
|
|
8337
8294
|
var _this54;
|
|
8338
8295
|
_classCallCheck(this, SceneBase);
|
|
8339
|
-
_this54 =
|
|
8296
|
+
_this54 = _callSuper(this, SceneBase, [id, server || Server["default"]()]);
|
|
8340
8297
|
if (_this54.constructor === SceneBase) {
|
|
8341
8298
|
throw new Error("SceneBase is abstract and cannot be created");
|
|
8342
8299
|
}
|
|
@@ -8387,10 +8344,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8387
8344
|
var SceneBase = require("./scene-base.js");
|
|
8388
8345
|
var SceneButton = /*#__PURE__*/function (_SceneBase3) {
|
|
8389
8346
|
_inherits(SceneButton, _SceneBase3);
|
|
8390
|
-
var _super56 = _createSuper(SceneButton);
|
|
8391
8347
|
function SceneButton() {
|
|
8392
8348
|
_classCallCheck(this, SceneButton);
|
|
8393
|
-
return
|
|
8349
|
+
return _callSuper(this, SceneButton, arguments);
|
|
8394
8350
|
}
|
|
8395
8351
|
_createClass(SceneButton, null, [{
|
|
8396
8352
|
key: "type",
|
|
@@ -8408,10 +8364,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8408
8364
|
var SceneBase = require("./scene-base.js");
|
|
8409
8365
|
var SceneCamera = /*#__PURE__*/function (_SceneBase4) {
|
|
8410
8366
|
_inherits(SceneCamera, _SceneBase4);
|
|
8411
|
-
var _super57 = _createSuper(SceneCamera);
|
|
8412
8367
|
function SceneCamera() {
|
|
8413
8368
|
_classCallCheck(this, SceneCamera);
|
|
8414
|
-
return
|
|
8369
|
+
return _callSuper(this, SceneCamera, arguments);
|
|
8415
8370
|
}
|
|
8416
8371
|
_createClass(SceneCamera, null, [{
|
|
8417
8372
|
key: "type",
|
|
@@ -8429,10 +8384,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8429
8384
|
var SceneBase = require("./scene-base.js");
|
|
8430
8385
|
var SceneCarousel = /*#__PURE__*/function (_SceneBase5) {
|
|
8431
8386
|
_inherits(SceneCarousel, _SceneBase5);
|
|
8432
|
-
var _super58 = _createSuper(SceneCarousel);
|
|
8433
8387
|
function SceneCarousel() {
|
|
8434
8388
|
_classCallCheck(this, SceneCarousel);
|
|
8435
|
-
return
|
|
8389
|
+
return _callSuper(this, SceneCarousel, arguments);
|
|
8436
8390
|
}
|
|
8437
8391
|
_createClass(SceneCarousel, null, [{
|
|
8438
8392
|
key: "type",
|
|
@@ -8450,10 +8404,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8450
8404
|
var SceneBase = require("./scene-base.js");
|
|
8451
8405
|
var SceneImage = /*#__PURE__*/function (_SceneBase6) {
|
|
8452
8406
|
_inherits(SceneImage, _SceneBase6);
|
|
8453
|
-
var _super59 = _createSuper(SceneImage);
|
|
8454
8407
|
function SceneImage() {
|
|
8455
8408
|
_classCallCheck(this, SceneImage);
|
|
8456
|
-
return
|
|
8409
|
+
return _callSuper(this, SceneImage, arguments);
|
|
8457
8410
|
}
|
|
8458
8411
|
_createClass(SceneImage, null, [{
|
|
8459
8412
|
key: "type",
|
|
@@ -8471,10 +8424,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8471
8424
|
var SceneBase = require("./scene-base.js");
|
|
8472
8425
|
var SceneModel = /*#__PURE__*/function (_SceneBase7) {
|
|
8473
8426
|
_inherits(SceneModel, _SceneBase7);
|
|
8474
|
-
var _super60 = _createSuper(SceneModel);
|
|
8475
8427
|
function SceneModel() {
|
|
8476
8428
|
_classCallCheck(this, SceneModel);
|
|
8477
|
-
return
|
|
8429
|
+
return _callSuper(this, SceneModel, arguments);
|
|
8478
8430
|
}
|
|
8479
8431
|
_createClass(SceneModel, null, [{
|
|
8480
8432
|
key: "type",
|
|
@@ -8492,10 +8444,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8492
8444
|
var SceneBase = require("./scene-base.js");
|
|
8493
8445
|
var ScenePanorama = /*#__PURE__*/function (_SceneBase8) {
|
|
8494
8446
|
_inherits(ScenePanorama, _SceneBase8);
|
|
8495
|
-
var _super61 = _createSuper(ScenePanorama);
|
|
8496
8447
|
function ScenePanorama() {
|
|
8497
8448
|
_classCallCheck(this, ScenePanorama);
|
|
8498
|
-
return
|
|
8449
|
+
return _callSuper(this, ScenePanorama, arguments);
|
|
8499
8450
|
}
|
|
8500
8451
|
_createClass(ScenePanorama, null, [{
|
|
8501
8452
|
key: "type",
|
|
@@ -8513,10 +8464,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8513
8464
|
var SceneBase = require("./scene-base.js");
|
|
8514
8465
|
var ScenePoller = /*#__PURE__*/function (_SceneBase9) {
|
|
8515
8466
|
_inherits(ScenePoller, _SceneBase9);
|
|
8516
|
-
var _super62 = _createSuper(ScenePoller);
|
|
8517
8467
|
function ScenePoller() {
|
|
8518
8468
|
_classCallCheck(this, ScenePoller);
|
|
8519
|
-
return
|
|
8469
|
+
return _callSuper(this, ScenePoller, arguments);
|
|
8520
8470
|
}
|
|
8521
8471
|
_createClass(ScenePoller, null, [{
|
|
8522
8472
|
key: "type",
|
|
@@ -8534,10 +8484,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8534
8484
|
var SceneBase = require("./scene-base.js");
|
|
8535
8485
|
var SceneProduct = /*#__PURE__*/function (_SceneBase10) {
|
|
8536
8486
|
_inherits(SceneProduct, _SceneBase10);
|
|
8537
|
-
var _super63 = _createSuper(SceneProduct);
|
|
8538
8487
|
function SceneProduct() {
|
|
8539
8488
|
_classCallCheck(this, SceneProduct);
|
|
8540
|
-
return
|
|
8489
|
+
return _callSuper(this, SceneProduct, arguments);
|
|
8541
8490
|
}
|
|
8542
8491
|
_createClass(SceneProduct, null, [{
|
|
8543
8492
|
key: "type",
|
|
@@ -8555,10 +8504,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8555
8504
|
var SceneBase = require("./scene-base.js");
|
|
8556
8505
|
var SceneScript = /*#__PURE__*/function (_SceneBase11) {
|
|
8557
8506
|
_inherits(SceneScript, _SceneBase11);
|
|
8558
|
-
var _super64 = _createSuper(SceneScript);
|
|
8559
8507
|
function SceneScript() {
|
|
8560
8508
|
_classCallCheck(this, SceneScript);
|
|
8561
|
-
return
|
|
8509
|
+
return _callSuper(this, SceneScript, arguments);
|
|
8562
8510
|
}
|
|
8563
8511
|
_createClass(SceneScript, null, [{
|
|
8564
8512
|
key: "type",
|
|
@@ -8576,10 +8524,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8576
8524
|
var SceneBase = require("./scene-base.js");
|
|
8577
8525
|
var SceneShadow = /*#__PURE__*/function (_SceneBase12) {
|
|
8578
8526
|
_inherits(SceneShadow, _SceneBase12);
|
|
8579
|
-
var _super65 = _createSuper(SceneShadow);
|
|
8580
8527
|
function SceneShadow() {
|
|
8581
8528
|
_classCallCheck(this, SceneShadow);
|
|
8582
|
-
return
|
|
8529
|
+
return _callSuper(this, SceneShadow, arguments);
|
|
8583
8530
|
}
|
|
8584
8531
|
_createClass(SceneShadow, null, [{
|
|
8585
8532
|
key: "type",
|
|
@@ -8597,10 +8544,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8597
8544
|
var SceneBase = require("./scene-base.js");
|
|
8598
8545
|
var SceneVideo = /*#__PURE__*/function (_SceneBase13) {
|
|
8599
8546
|
_inherits(SceneVideo, _SceneBase13);
|
|
8600
|
-
var _super66 = _createSuper(SceneVideo);
|
|
8601
8547
|
function SceneVideo() {
|
|
8602
8548
|
_classCallCheck(this, SceneVideo);
|
|
8603
|
-
return
|
|
8549
|
+
return _callSuper(this, SceneVideo, arguments);
|
|
8604
8550
|
}
|
|
8605
8551
|
_createClass(SceneVideo, null, [{
|
|
8606
8552
|
key: "type",
|
|
@@ -8618,10 +8564,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8618
8564
|
var SceneBase = require("./scene-base.js");
|
|
8619
8565
|
var SceneVolumetric = /*#__PURE__*/function (_SceneBase14) {
|
|
8620
8566
|
_inherits(SceneVolumetric, _SceneBase14);
|
|
8621
|
-
var _super67 = _createSuper(SceneVolumetric);
|
|
8622
8567
|
function SceneVolumetric() {
|
|
8623
8568
|
_classCallCheck(this, SceneVolumetric);
|
|
8624
|
-
return
|
|
8569
|
+
return _callSuper(this, SceneVolumetric, arguments);
|
|
8625
8570
|
}
|
|
8626
8571
|
_createClass(SceneVolumetric, null, [{
|
|
8627
8572
|
key: "type",
|
|
@@ -8639,10 +8584,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8639
8584
|
var SceneBase = require("./scene-base.js");
|
|
8640
8585
|
var SceneYoutube = /*#__PURE__*/function (_SceneBase15) {
|
|
8641
8586
|
_inherits(SceneYoutube, _SceneBase15);
|
|
8642
|
-
var _super68 = _createSuper(SceneYoutube);
|
|
8643
8587
|
function SceneYoutube() {
|
|
8644
8588
|
_classCallCheck(this, SceneYoutube);
|
|
8645
|
-
return
|
|
8589
|
+
return _callSuper(this, SceneYoutube, arguments);
|
|
8646
8590
|
}
|
|
8647
8591
|
_createClass(SceneYoutube, null, [{
|
|
8648
8592
|
key: "type",
|
|
@@ -8660,10 +8604,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8660
8604
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
8661
8605
|
var Scene = /*#__PURE__*/function (_PlattarBase22) {
|
|
8662
8606
|
_inherits(Scene, _PlattarBase22);
|
|
8663
|
-
var _super69 = _createSuper(Scene);
|
|
8664
8607
|
function Scene() {
|
|
8665
8608
|
_classCallCheck(this, Scene);
|
|
8666
|
-
return
|
|
8609
|
+
return _callSuper(this, Scene, arguments);
|
|
8667
8610
|
}
|
|
8668
8611
|
_createClass(Scene, null, [{
|
|
8669
8612
|
key: "type",
|
|
@@ -8681,10 +8624,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
8681
8624
|
var PlattarBase = require("../interfaces/plattar-base.js");
|
|
8682
8625
|
var TriggerImage = /*#__PURE__*/function (_PlattarBase23) {
|
|
8683
8626
|
_inherits(TriggerImage, _PlattarBase23);
|
|
8684
|
-
var _super70 = _createSuper(TriggerImage);
|
|
8685
8627
|
function TriggerImage() {
|
|
8686
8628
|
_classCallCheck(this, TriggerImage);
|
|
8687
|
-
return
|
|
8629
|
+
return _callSuper(this, TriggerImage, arguments);
|
|
8688
8630
|
}
|
|
8689
8631
|
_createClass(TriggerImage, null, [{
|
|
8690
8632
|
key: "type",
|
|
@@ -9035,10 +8977,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9035
8977
|
var hash = require("object-hash");
|
|
9036
8978
|
var BaseElement = /*#__PURE__*/function (_HTMLElement2) {
|
|
9037
8979
|
_inherits(BaseElement, _HTMLElement2);
|
|
9038
|
-
var _super71 = _createSuper(BaseElement);
|
|
9039
8980
|
function BaseElement() {
|
|
9040
8981
|
_classCallCheck(this, BaseElement);
|
|
9041
|
-
return
|
|
8982
|
+
return _callSuper(this, BaseElement);
|
|
9042
8983
|
}
|
|
9043
8984
|
_createClass(BaseElement, [{
|
|
9044
8985
|
key: "connectedCallback",
|
|
@@ -9182,11 +9123,19 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9182
9123
|
var shortenURL = this.hasAttribute("shorten") ? this.getAttribute("shorten") : "false";
|
|
9183
9124
|
if (shortenURL && shortenURL.toLowerCase() === "true") {
|
|
9184
9125
|
this._ShortenURL(url).then(function (newURL) {
|
|
9185
|
-
|
|
9126
|
+
// make sure by time promise is resolved that the original url hasn't been updated
|
|
9127
|
+
var updatedURL = _this56.hasAttribute("url") ? _this56.getAttribute("url") : undefined;
|
|
9128
|
+
if (updatedURL === url) {
|
|
9129
|
+
_this56._GenerateQRCode(newURL, width, height);
|
|
9130
|
+
}
|
|
9186
9131
|
})["catch"](function (_err) {
|
|
9187
9132
|
console.warn(_err);
|
|
9188
9133
|
// ignore error and just generate normal QR Code
|
|
9189
|
-
|
|
9134
|
+
// make sure by time promise is resolved that the original url hasn't been updated
|
|
9135
|
+
var updatedURL = _this56.hasAttribute("url") ? _this56.getAttribute("url") : undefined;
|
|
9136
|
+
if (updatedURL === url) {
|
|
9137
|
+
_this56._GenerateQRCode(url, width, height);
|
|
9138
|
+
}
|
|
9190
9139
|
});
|
|
9191
9140
|
} else {
|
|
9192
9141
|
this._GenerateQRCode(url, width, height);
|
|
@@ -9303,10 +9252,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9303
9252
|
var BaseElement = require("./base/base-element.js");
|
|
9304
9253
|
var QRCodeElement = /*#__PURE__*/function (_BaseElement) {
|
|
9305
9254
|
_inherits(QRCodeElement, _BaseElement);
|
|
9306
|
-
var _super72 = _createSuper(QRCodeElement);
|
|
9307
9255
|
function QRCodeElement() {
|
|
9308
9256
|
_classCallCheck(this, QRCodeElement);
|
|
9309
|
-
return
|
|
9257
|
+
return _callSuper(this, QRCodeElement);
|
|
9310
9258
|
}
|
|
9311
9259
|
return _createClass(QRCodeElement);
|
|
9312
9260
|
}(BaseElement);
|
|
@@ -9333,7 +9281,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9333
9281
|
"./version": 111
|
|
9334
9282
|
}],
|
|
9335
9283
|
111: [function (require, module, exports) {
|
|
9336
|
-
module.exports = "1.
|
|
9284
|
+
module.exports = "1.165.1";
|
|
9337
9285
|
}, {}],
|
|
9338
9286
|
112: [function (require, module, exports) {
|
|
9339
9287
|
"use strict";
|
|
@@ -9768,10 +9716,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9768
9716
|
messenger = _require.messenger;
|
|
9769
9717
|
var BaseElement = /*#__PURE__*/function (_HTMLElement3) {
|
|
9770
9718
|
_inherits(BaseElement, _HTMLElement3);
|
|
9771
|
-
var _super73 = _createSuper(BaseElement);
|
|
9772
9719
|
function BaseElement() {
|
|
9773
9720
|
_classCallCheck(this, BaseElement);
|
|
9774
|
-
return
|
|
9721
|
+
return _callSuper(this, BaseElement);
|
|
9775
9722
|
}
|
|
9776
9723
|
_createClass(BaseElement, [{
|
|
9777
9724
|
key: "connectedCallback",
|
|
@@ -9953,10 +9900,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9953
9900
|
var BaseElement = require("./base/base-element.js");
|
|
9954
9901
|
var ConfiguratorElement = /*#__PURE__*/function (_BaseElement2) {
|
|
9955
9902
|
_inherits(ConfiguratorElement, _BaseElement2);
|
|
9956
|
-
var _super74 = _createSuper(ConfiguratorElement);
|
|
9957
9903
|
function ConfiguratorElement() {
|
|
9958
9904
|
_classCallCheck(this, ConfiguratorElement);
|
|
9959
|
-
return
|
|
9905
|
+
return _callSuper(this, ConfiguratorElement);
|
|
9960
9906
|
}
|
|
9961
9907
|
_createClass(ConfiguratorElement, [{
|
|
9962
9908
|
key: "permissions",
|
|
@@ -10209,10 +10155,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10209
10155
|
var BaseElement = require("./base/base-element.js");
|
|
10210
10156
|
var EditorElement = /*#__PURE__*/function (_BaseElement3) {
|
|
10211
10157
|
_inherits(EditorElement, _BaseElement3);
|
|
10212
|
-
var _super75 = _createSuper(EditorElement);
|
|
10213
10158
|
function EditorElement() {
|
|
10214
10159
|
_classCallCheck(this, EditorElement);
|
|
10215
|
-
return
|
|
10160
|
+
return _callSuper(this, EditorElement);
|
|
10216
10161
|
}
|
|
10217
10162
|
_createClass(EditorElement, [{
|
|
10218
10163
|
key: "permissions",
|
|
@@ -10235,11 +10180,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10235
10180
|
var BaseElement = require("./base/base-element.js");
|
|
10236
10181
|
var EWallElement = /*#__PURE__*/function (_BaseElement4) {
|
|
10237
10182
|
_inherits(EWallElement, _BaseElement4);
|
|
10238
|
-
var _super76 = _createSuper(EWallElement);
|
|
10239
10183
|
function EWallElement() {
|
|
10240
10184
|
var _this64;
|
|
10241
10185
|
_classCallCheck(this, EWallElement);
|
|
10242
|
-
_this64 =
|
|
10186
|
+
_this64 = _callSuper(this, EWallElement);
|
|
10243
10187
|
var tag = document.createElement("script");
|
|
10244
10188
|
tag.src = "https://cdn.8thwall.com/web/iframe/iframe.js";
|
|
10245
10189
|
tag.defer = true;
|
|
@@ -10280,10 +10224,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10280
10224
|
var BaseElement = require("./base/base-element.js");
|
|
10281
10225
|
var FaceARElement = /*#__PURE__*/function (_BaseElement5) {
|
|
10282
10226
|
_inherits(FaceARElement, _BaseElement5);
|
|
10283
|
-
var _super77 = _createSuper(FaceARElement);
|
|
10284
10227
|
function FaceARElement() {
|
|
10285
10228
|
_classCallCheck(this, FaceARElement);
|
|
10286
|
-
return
|
|
10229
|
+
return _callSuper(this, FaceARElement);
|
|
10287
10230
|
}
|
|
10288
10231
|
_createClass(FaceARElement, [{
|
|
10289
10232
|
key: "permissions",
|
|
@@ -10326,10 +10269,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10326
10269
|
var BaseElement = require("./base/base-element.js");
|
|
10327
10270
|
var ModelElement = /*#__PURE__*/function (_BaseElement6) {
|
|
10328
10271
|
_inherits(ModelElement, _BaseElement6);
|
|
10329
|
-
var _super78 = _createSuper(ModelElement);
|
|
10330
10272
|
function ModelElement() {
|
|
10331
10273
|
_classCallCheck(this, ModelElement);
|
|
10332
|
-
return
|
|
10274
|
+
return _callSuper(this, ModelElement);
|
|
10333
10275
|
}
|
|
10334
10276
|
_createClass(ModelElement, [{
|
|
10335
10277
|
key: "permissions",
|
|
@@ -10371,10 +10313,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10371
10313
|
var BaseElement = require("./base/base-element.js");
|
|
10372
10314
|
var ProductElement = /*#__PURE__*/function (_BaseElement7) {
|
|
10373
10315
|
_inherits(ProductElement, _BaseElement7);
|
|
10374
|
-
var _super79 = _createSuper(ProductElement);
|
|
10375
10316
|
function ProductElement() {
|
|
10376
10317
|
_classCallCheck(this, ProductElement);
|
|
10377
|
-
return
|
|
10318
|
+
return _callSuper(this, ProductElement);
|
|
10378
10319
|
}
|
|
10379
10320
|
_createClass(ProductElement, [{
|
|
10380
10321
|
key: "permissions",
|
|
@@ -10419,10 +10360,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10419
10360
|
var BaseElement = require("./base/base-element.js");
|
|
10420
10361
|
var StudioElement = /*#__PURE__*/function (_BaseElement8) {
|
|
10421
10362
|
_inherits(StudioElement, _BaseElement8);
|
|
10422
|
-
var _super80 = _createSuper(StudioElement);
|
|
10423
10363
|
function StudioElement() {
|
|
10424
10364
|
_classCallCheck(this, StudioElement);
|
|
10425
|
-
return
|
|
10365
|
+
return _callSuper(this, StudioElement);
|
|
10426
10366
|
}
|
|
10427
10367
|
_createClass(StudioElement, [{
|
|
10428
10368
|
key: "permissions",
|
|
@@ -10434,6 +10374,17 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10434
10374
|
get: function get() {
|
|
10435
10375
|
return "studio";
|
|
10436
10376
|
}
|
|
10377
|
+
}, {
|
|
10378
|
+
key: "optionalAttributes",
|
|
10379
|
+
get: function get() {
|
|
10380
|
+
return [{
|
|
10381
|
+
key: "variation-id",
|
|
10382
|
+
map: "variationId"
|
|
10383
|
+
}, {
|
|
10384
|
+
key: "variation-sku",
|
|
10385
|
+
map: "variationSku"
|
|
10386
|
+
}];
|
|
10387
|
+
}
|
|
10437
10388
|
}]);
|
|
10438
10389
|
return StudioElement;
|
|
10439
10390
|
}(BaseElement);
|
|
@@ -10445,10 +10396,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10445
10396
|
var BaseElement = require("./base/base-element.js");
|
|
10446
10397
|
var ViewerElement = /*#__PURE__*/function (_BaseElement9) {
|
|
10447
10398
|
_inherits(ViewerElement, _BaseElement9);
|
|
10448
|
-
var _super81 = _createSuper(ViewerElement);
|
|
10449
10399
|
function ViewerElement() {
|
|
10450
10400
|
_classCallCheck(this, ViewerElement);
|
|
10451
|
-
return
|
|
10401
|
+
return _callSuper(this, ViewerElement);
|
|
10452
10402
|
}
|
|
10453
10403
|
_createClass(ViewerElement, [{
|
|
10454
10404
|
key: "permissions",
|
|
@@ -10488,10 +10438,9 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10488
10438
|
var BaseElement = require("./base/base-element.js");
|
|
10489
10439
|
var WebXRElement = /*#__PURE__*/function (_BaseElement10) {
|
|
10490
10440
|
_inherits(WebXRElement, _BaseElement10);
|
|
10491
|
-
var _super82 = _createSuper(WebXRElement);
|
|
10492
10441
|
function WebXRElement() {
|
|
10493
10442
|
_classCallCheck(this, WebXRElement);
|
|
10494
|
-
return
|
|
10443
|
+
return _callSuper(this, WebXRElement);
|
|
10495
10444
|
}
|
|
10496
10445
|
_createClass(WebXRElement, [{
|
|
10497
10446
|
key: "permissions",
|
|
@@ -10637,8 +10586,10 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10637
10586
|
module.exports = Util;
|
|
10638
10587
|
}, {}],
|
|
10639
10588
|
131: [function (require, module, exports) {
|
|
10640
|
-
|
|
10641
|
-
}, {
|
|
10589
|
+
arguments[4][111][0].apply(exports, arguments);
|
|
10590
|
+
}, {
|
|
10591
|
+
"dup": 111
|
|
10592
|
+
}],
|
|
10642
10593
|
132: [function (require, module, exports) {
|
|
10643
10594
|
(function (global) {
|
|
10644
10595
|
(function () {
|