concerto_frontend_vue 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 93771e68eaf5e39657864f1b5a081dd792a1b177
4
- data.tar.gz: 6a945b6f7f39d61388b7fa6375db3de6ce20af59
3
+ metadata.gz: 78ac9553a49625d3ea499f037b1e25f01c114148
4
+ data.tar.gz: 54db92798d4e2d50bb927d1002a752ffe40898e5
5
5
  SHA512:
6
- metadata.gz: b5fdc29a148ce1b0af0d7ccf3334626af0dbf2258c600ac7d46190378b2fad17ee185b4a869a4ee128875b1e4c6461822fda44bd941b74b967f489a679d2ea15
7
- data.tar.gz: 94e724ae15eda6883faea0e635d90749ab51ca646cb3f854b825efd02a12454780c60e3033f9898a2506541d194168b84487ebf09a3e3eee2c53a6d4ab73ebce
6
+ metadata.gz: c473921a1b083664b5bf932d95a719cf617d7588a0330ff657ebd8854817d9674aa01ec2fac4ccb860449bcfc6d5b02de636322a4c2e2c5c83057160dd897aba
7
+ data.tar.gz: dbda18eb077d084334d3a7f470d76ac571c1eb13d2746f3d0704104829836e9ab6f662077d4d50dcd97527647a92aefd25bee7196ae9230f66d8a017ddc92e10
@@ -63,7 +63,7 @@
63
63
  /******/
64
64
  /******/ var hotApplyOnUpdate = true;
65
65
  /******/ // eslint-disable-next-line no-unused-vars
66
- /******/ var hotCurrentHash = "c5339d94f6920ca3827e";
66
+ /******/ var hotCurrentHash = "5024c6d59fac3a135de4";
67
67
  /******/ var hotRequestTimeout = 10000;
68
68
  /******/ var hotCurrentModuleData = {};
69
69
  /******/ var hotCurrentChildModule;
@@ -1210,7 +1210,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
1210
1210
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1211
1211
 
1212
1212
  "use strict";
1213
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n/* harmony import */ var _ConcertoField_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConcertoField.vue */ \"./src/components/ConcertoField.vue\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoScreen',\n components: {\n ConcertoField: _ConcertoField_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data: function data() {\n return {\n setup: null,\n setupKey: null,\n status: null\n };\n },\n props: {\n debug: Boolean,\n screen: Object\n },\n computed: {\n backgroundImage: function backgroundImage() {\n var style = '';\n\n if (this.setup && this.setup.template) {\n var url = _utils__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prefixWithBase(this.setup.template.path, this.screen.baseUrl);\n style = \"background-image: url('\" + url + \"');\";\n }\n\n return style;\n },\n templateElementId: function templateElementId() {\n return 'template_' + this.setup.template.id;\n }\n },\n created: function created() {\n var _this = this;\n\n // trigger an event on the fields every second so they can update their debug duration label\n setInterval(function () {\n _this.$el.querySelectorAll('.concerto-field').forEach(function (el) {\n var ev = new Event('concertotick');\n el.dispatchEvent(ev);\n });\n }, 1000);\n },\n mounted: function mounted() {\n this.fetchSetup();\n },\n methods: {\n fieldInfo: function fieldInfo(position) {\n var field = {\n style: position.style\n };\n Object.keys(position.field).forEach(function (key) {\n field[key] = position.field[key];\n });\n return field;\n },\n fetchSetup: function fetchSetup() {\n var _this2 = this;\n\n this.status = \"fetching screen configuration...\";\n var url = this.screen.baseUrl + '/frontend/' + this.screen.id + '/setup.json';\n return axios__WEBPACK_IMPORTED_MODULE_2___default.a.get(url).then(function (response) {\n _this2.setup = response.data;\n _this2.setupKey = response.headers['x-concerto-frontend-setup-key'];\n _this2.status = null; // force the observer to resolve\n // console.debug('data', JSON.parse(JSON.stringify(this.setup)), 'key', this.setupKey)\n\n /* load the css if any */\n\n if (_this2.setup.template.css_path && _this2.setup.template.css_path != \"\") {\n var css_link = document.createElement(\"link\");\n css_link.type = \"text/css\";\n css_link.rel = \"stylesheet\";\n css_link.href = _utils__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prefixWithBase(_this2.setup.template.css_path, _this2.screen.baseUrl);\n document.head.appendChild(css_link);\n }\n }).catch(function (error) {\n _this2.status = 'An error has ocurred - ' + error.message;\n console.error(_this2.status); // try again in 15 seconds, via event loop so we dont nest calls\n\n setTimeout(_this2.fetchSetup, 15 * 1000);\n });\n },\n frontendKeyChanged: function frontendKeyChanged() {\n console.debug('got notified that the frontend key has changed!');\n document.location.reload();\n },\n positionElementId: function positionElementId(position) {\n return 'position_' + position.id;\n },\n positionStyle: function positionStyle(position) {\n var style = \"left: \" + (position.left * 100).toFixed(2) + \"%; \" + \"top: \" + (position.top * 100).toFixed(2) + \"%; \" + \"width: \" + ((position.right - position.left) * 100).toFixed(2) + \"%; \" + \"height: \" + ((position.bottom - position.top) * 100).toFixed(2) + \"%;\";\n return style;\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9iYWJlbC1sb2FkZXIvbGliL2luZGV4LmpzIS4vbm9kZV9tb2R1bGVzL2NhY2hlLWxvYWRlci9kaXN0L2Nqcy5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vc3JjL2NvbXBvbmVudHMvQ29uY2VydG9TY3JlZW4udnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy9Db25jZXJ0b1NjcmVlbi52dWU/Y2RhMSJdLCJzb3VyY2VzQ29udGVudCI6WyI8dGVtcGxhdGU+XG4gIDxkaXYgY2xhc3M9XCJjb25jZXJ0by1zY3JlZW5cIiA6Y2xhc3M9XCJ7ZGVidWc6IGRlYnVnLCBwcmV2aWV3OiBzY3JlZW4uaXNQcmV2aWV3fVwiPlxuICAgIDxkaXYgdi1pZj1cImRlYnVnICYmIHNldHVwXCIgY2xhc3M9XCJkZWJ1Zy1zY3JlZW5cIj5TY3JlZW4ge3tzZXR1cC5pZH19IC0ge3tzZXR1cC5uYW1lfX08L2Rpdj5cbiAgICA8ZGl2IHYtaWY9XCJzZXR1cCAmJiBzZXR1cC50ZW1wbGF0ZVwiIDppZD1cInRlbXBsYXRlRWxlbWVudElkXCIgY2xhc3M9XCJjb25jZXJ0by10ZW1wbGF0ZVwiIDpzdHlsZT1cImJhY2tncm91bmRJbWFnZVwiPlxuICAgICAgPGRpdiB2LWlmPVwiZGVidWdcIiBjbGFzcz1c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E7QUFDQTtBQVhBO0FBYUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBREE7QUFHQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFDQTtBQXBEQTtBQTNDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/ConcertoScreen.vue?vue&type=script&lang=js&\n");
1213
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n/* harmony import */ var _ConcertoField_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConcertoField.vue */ \"./src/components/ConcertoField.vue\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoScreen',\n components: {\n ConcertoField: _ConcertoField_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data: function data() {\n return {\n setup: null,\n setupKey: null,\n status: null\n };\n },\n props: {\n debug: Boolean,\n screen: Object\n },\n computed: {\n backgroundImage: function backgroundImage() {\n var style = '';\n\n if (this.setup && this.setup.template && this.setup.template.path) {\n var url = _utils__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prefixWithBase(this.setup.template.path, this.screen.baseUrl);\n style = \"background-image: url('\" + url + \"');\";\n }\n\n return style;\n },\n templateElementId: function templateElementId() {\n return 'template_' + this.setup.template.id;\n }\n },\n created: function created() {\n var _this = this;\n\n // trigger an event on the fields every second so they can update their debug duration label\n setInterval(function () {\n _this.$el.querySelectorAll('.concerto-field').forEach(function (el) {\n var ev = new Event('concertotick');\n el.dispatchEvent(ev);\n });\n }, 1000);\n },\n mounted: function mounted() {\n this.fetchSetup();\n },\n methods: {\n fieldInfo: function fieldInfo(position) {\n var field = {\n style: position.style\n };\n Object.keys(position.field).forEach(function (key) {\n field[key] = position.field[key];\n });\n return field;\n },\n fetchSetup: function fetchSetup() {\n var _this2 = this;\n\n this.status = \"fetching screen configuration...\";\n var url = this.screen.baseUrl + '/frontend/' + this.screen.id + '/setup.json';\n return axios__WEBPACK_IMPORTED_MODULE_2___default.a.get(url).then(function (response) {\n _this2.setup = response.data;\n _this2.setupKey = response.headers['x-concerto-frontend-setup-key'];\n _this2.status = null; // force the observer to resolve\n // console.debug('data', JSON.parse(JSON.stringify(this.setup)), 'key', this.setupKey)\n\n /* load the css if any */\n\n if (_this2.setup.template.css_path && _this2.setup.template.css_path != \"\") {\n var css_link = document.createElement(\"link\");\n css_link.type = \"text/css\";\n css_link.rel = \"stylesheet\";\n css_link.href = _utils__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prefixWithBase(_this2.setup.template.css_path, _this2.screen.baseUrl);\n document.head.appendChild(css_link);\n }\n }).catch(function (error) {\n _this2.status = 'An error has ocurred - ' + error.message;\n console.error(_this2.status); // try again in 15 seconds, via event loop so we dont nest calls\n\n setTimeout(_this2.fetchSetup, 15 * 1000);\n });\n },\n frontendKeyChanged: function frontendKeyChanged() {\n console.debug('got notified that the frontend key has changed!');\n document.location.reload();\n },\n positionElementId: function positionElementId(position) {\n return 'position_' + position.id;\n },\n positionStyle: function positionStyle(position) {\n var style = \"left: \" + (position.left * 100).toFixed(2) + \"%; \" + \"top: \" + (position.top * 100).toFixed(2) + \"%; \" + \"width: \" + ((position.right - position.left) * 100).toFixed(2) + \"%; \" + \"height: \" + ((position.bottom - position.top) * 100).toFixed(2) + \"%;\";\n return style;\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9iYWJlbC1sb2FkZXIvbGliL2luZGV4LmpzIS4vbm9kZV9tb2R1bGVzL2NhY2hlLWxvYWRlci9kaXN0L2Nqcy5qc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24gbGFiZWxcbiAgICAgIHNldEludGVydmFsKCgpID0+IHtcbiAgICAgICAgdGhpcy4kZWwucXVlcnlTZWxlY3RvckFsbCgnLmNvbmNlcnRvLWZpZWxkJykuZm9yRWFjaCgoZWwpID0+IHtcbiAgICAgICAgICBsZXQgZXYgPSBuZXcgRXZlbnQoJ2NvbmNlcnRvdGljaycpXG4gICAgICAgICAgZWwuZGlzcGF0Y2hFdmVudChldilcbiAgICAgICAgfSlcbiAgICAgIH0sIDEwMDApXG4gICAgfSxcblxuICAgIG1vdW50ZWQoKSB7XG4gICAgICB0aGlzLmZldGNoU2V0dXAoKVxuICAgIH0sXG5cbiAgICBtZXRob2RzOiB7XG4gICAgICBmaWVsZEluZm8ocG9zaXRpb24pIHtcbiAgICAgICAgbGV0IGZpZWxkID0ge1xuICAgICAgICAgIHN0eWxlOiBwb3NpdGlvbi5zdHlsZVxuICAgICAgICB9XG4gICAgICAgIE9iamVjdC5rZXlzKHBvc2l0aW9uLmZpZWxkKS5mb3JFYWNoKGZ1bmN0aW9uKGtleSkge1xuICAgICAgICAgIGZpZWxkW2tleV0gPSBwb3NpdGlvbi5maWVsZFtrZXldO1xuICAgICAgICB9KTtcblxuICAgICAgICByZXR1cm4gZmllbGRcbiAgICAgIH0sXG5cbiAgICAgIGZldGNoU2V0dXAoKSB7XG4gICAgICAgIHRoaXMuc3RhdHVzID0gXCJmZXRjaGluZyBzY3JlZW4gY29uZmlndXJhdGlvbi4uLlwiXG4gICAgICAgIGxldCB1cmwgPSB0aGlzLnNjcmVlbi5iYXNlVXJsICsgJy9mcm9udGVuZC8nICsgdGhpcy5zY3JlZW4uaWQgKyAnL3NldHVwLmpzb24nXG4gICAgICAgIHJldHVybiBheGlvcy5nZXQodXJsKVxuICAgICAgICAgIC50aGVuKChyZXNwb25zZSkgPT4ge1xuICAgICAgICAgICAgdGhpcy5zZXR1cCA9IHJlc3BvbnNlLmRhdGFcbiAgICAgICAgICAgIHRoaXMuc2V0dXBLZXkgPSByZXNwb25zZS5oZWFkZXJzWyd4LWNvbmNlcnRvLWZyb250ZW5kLXNldHVwLWtleSddXG4gICAgICAgICAgICB0aGlzLnN0YXR1cyA9IG51bGxcbiAgICAgICAgICAgIC8vIGZvcmNlIHRoZSBvYnNlcnZlciB0byByZXNvbHZlXG4gICAgICAgICAgICAvLyBjb25zb2xlLmRlYnVnKCdkYXRhJywgSlNPTi5wYXJzZShKU09OLnN0cmluZ2lmeSh0aGlzLnNldHVwKSksICdrZXknLCB0aGlzLnNldHVwS2V5KVxuXG4gICAgICAgICAgICAvKiBsb2FkIHRoZSBjc3MgaWYgYW55ICovXG4gICAgICAgICAgICBpZiAodGhpcy5zZXR1cC50ZW1wbGF0ZS5jc3NfcGF0aCAmJiB0aGlzLnNldHVwLnRlbXBsYXRlLmNzc19wYXRoICE9IFwiXCIpIHtcbiAgICAgICAgICAgICAgbGV0IGNzc19saW5rID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudChcImxpbmtcIik7XG4gICAgICAgICAgICAgIGNzc19saW5rLnR5cGUgPSBcInRleHQvY3NzXCI7XG4gICAgICAgICAgICAgIGNzc19saW5rLnJlbCA9IFwic3R5bGVzaGVldFwiO1xuICAgICAgICAgICAgICBjc3NfbGluay5ocmVmID0gdXRpbHMucHJlZml4V2l0aEJhc2UodGhpcy5zZXR1cC50ZW1wbGF0ZS5jc3NfcGF0aCwgdGhpcy5zY3JlZW4uYmFzZVVybCk7XG4gICAgICAgICAgICAgIGRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQoY3NzX2xpbmspO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pXG4gICAgICAgICAgLmNhdGNoKChlcnJvcikgPT4ge1xuICAgICAgICAgICAgdGhpcy5zdGF0dXMgPSAnQW4gZXJyb3IgaGFzIG9jdXJyZWQgLSAnICsgZXJyb3IubWVzc2FnZVxuICAgICAgICAgICAgY29uc29sZS5lcnJvcih0aGlzLnN0YXR1cylcbiAgICAgICAgICAgIC8vIHRy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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUlBO0FBQ0E7QUFwREE7QUEzQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/ConcertoScreen.vue?vue&type=script&lang=js&\n");
1214
1214
 
1215
1215
  /***/ }),
1216
1216
 
@@ -1,3 +1,3 @@
1
1
  module ConcertoFrontendVue
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_frontend_vue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marvin Frederickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-23 00:00:00.000000000 Z
11
+ date: 2019-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails