concerto_frontend_vue 0.0.6 → 0.0.7

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: 78ac9553a49625d3ea499f037b1e25f01c114148
4
- data.tar.gz: 54db92798d4e2d50bb927d1002a752ffe40898e5
3
+ metadata.gz: ccdf1620c1fb183f74d395344eb81a85a2cbdfc8
4
+ data.tar.gz: f49f83f1e972ebe2a0ee2284334ff6abb41e6d0d
5
5
  SHA512:
6
- metadata.gz: c473921a1b083664b5bf932d95a719cf617d7588a0330ff657ebd8854817d9674aa01ec2fac4ccb860449bcfc6d5b02de636322a4c2e2c5c83057160dd897aba
7
- data.tar.gz: dbda18eb077d084334d3a7f470d76ac571c1eb13d2746f3d0704104829836e9ab6f662077d4d50dcd97527647a92aefd25bee7196ae9230f66d8a017ddc92e10
6
+ metadata.gz: c869141040f79f6436d10547a30ecdcbd44afdb922aac2b57c5d40bc8eb807bbbde24cf775e84d9a4784b05f86c2d36432884607597de142c4d089566119283e
7
+ data.tar.gz: b18e0fde10475bc35e0a9f8b69e9ba3f63716f76c571a16420bcc221e1e9f80b57dd57384db13fec947609c3b1a744b5e8ce2ba3f82b3bb01ea358740a31774b
@@ -63,7 +63,7 @@
63
63
  /******/
64
64
  /******/ var hotApplyOnUpdate = true;
65
65
  /******/ // eslint-disable-next-line no-unused-vars
66
- /******/ var hotCurrentHash = "5024c6d59fac3a135de4";
66
+ /******/ var hotCurrentHash = "1d6b15a47bc75a00026a";
67
67
  /******/ var hotRequestTimeout = 10000;
68
68
  /******/ var hotCurrentModuleData = {};
69
69
  /******/ var hotCurrentChildModule;
@@ -1126,7 +1126,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _com
1126
1126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1127
1127
 
1128
1128
  "use strict";
1129
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment-timezone */ \"./node_modules/moment-timezone/index.js\");\n/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone__WEBPACK_IMPORTED_MODULE_2__);\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoClientTime',\n data: function data() {\n return {\n datetime: String\n };\n },\n props: {\n content: Object\n },\n mounted: function mounted() {\n this.formatted();\n },\n methods: {\n resize: function resize() {\n this.$el.style.width = 'unset';\n this.$el.style.height = 'unset';\n _utils__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setOptimalFontSize(this.$el.parentElement.offsetWidth, this.$el.parentElement.offsetHeight, this.$el, 200, 12);\n this.$el.style.width = '100%';\n this.$el.style.height = '100%';\n },\n formatted: function formatted() {\n var tz = this.content.timezone;\n var format = this.content.config[\"time_format\"] || \"MM/DD/YY <br/> hh:mm A\";\n var now = tz ? moment__WEBPACK_IMPORTED_MODULE_1___default()().tz(tz) : moment__WEBPACK_IMPORTED_MODULE_1___default()();\n var locale = this.content.locale;\n now = locale ? now.locale(locale) : now;\n this.datetime = now.format(format); // place in the event loop so the value can get rendered in the element before we resize it\n\n setTimeout(this.resize, 1);\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzP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udGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgfVxuXG4gIC5jb25jZXJ0by1jbGllbnQtdGltZSAqIHtcbiAgICBtYXJnaW46IDA7XG4gIH1cbjwvc3R5bGU+XG5cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFLQTtBQUVBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFEQTtBQUdBO0FBQ0E7QUFDQTtBQURBO0FBSUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBbkJBO0FBZkEiLCJzb3VyY2VSb290IjoiIn0=\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/ConcertoClientTime.vue?vue&type=script&lang=js&\n");
1129
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment-timezone */ \"./node_modules/moment-timezone/index.js\");\n/* harmony import */ var moment_timezone__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment_timezone__WEBPACK_IMPORTED_MODULE_2__);\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoClientTime',\n data: function data() {\n return {\n datetime: String\n };\n },\n props: {\n content: Object\n },\n mounted: function mounted() {\n this.formatted();\n },\n methods: {\n resize: function resize(maxSize) {\n this.$el.style.width = 'unset';\n this.$el.style.height = 'unset';\n _utils__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setOptimalFontSize(this.$el.parentElement.offsetWidth, this.$el.parentElement.offsetHeight, this.$el, maxSize, 12);\n this.$el.style.width = '100%';\n this.$el.style.height = '100%';\n },\n formatted: function formatted() {\n var _this = this;\n\n var tz = this.content.timezone;\n var format = this.content.config[\"time_format\"] || \"MM/DD/YY <br/> hh:mm A\";\n var now = tz ? moment__WEBPACK_IMPORTED_MODULE_1___default()().tz(tz) : moment__WEBPACK_IMPORTED_MODULE_1___default()();\n var locale = this.content.locale;\n now = locale ? now.locale(locale) : now;\n this.datetime = now.format(format); // place in the event loop so the value can get rendered in the element before we resize it\n\n if (this.content && this.content.config && this.content.config['disable_text_autosize'] === '1') {// do not resize\n } else {\n var maxSize = this.content && this.content.config && this.content.config['max_text_autosize'] ? this.content.config['max_text_autosize'] : 200;\n setTimeout(function () {\n return _this.resize(maxSize);\n }, 1);\n }\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9iYWJlbC1sb2FkZXIvbGliL2luZGV4LmpzIS4vbm9kZV9tb2R1bGVzL2NhY2hlLWxvYWRlci9kaXN0L2Nqcy5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vc3JjL2NvbXBvbmVudHMvQ29uY2VydG9DbGllbnRUaW1lLnZ1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G1heFNpemUsIDEyKVxuICAgICAgICB0aGlzLiRlbC5zdHlsZS53aWR0aD0nMTAwJSdcbiAgICAgICAgdGhpcy4kZWwuc3R5bGUuaGVpZ2h0PScxMDAlJ1xuICAgICAgfSxcblxuICAgICAgZm9ybWF0dGVkKCkge1xuICAgICAgICBsZXQgdHogPSB0aGlzLmNvbnRlbnQudGltZXpvbmVcbiAgICAgICAgbGV0IGZvcm1hdCA9IHRoaXMuY29udGVudC5jb25maWdbXCJ0aW1lX2Zvcm1hdFwiXSB8fCBcIk1NL0REL1lZIDxici8+IGhoOm1tIEFcIlxuICAgICAgICBsZXQgbm93ID0gdHogPyBtb21lbnQoKS50eih0eikgOiBtb21lbnQoKVxuICAgICAgICBsZXQgbG9jYWxlID0gdGhpcy5jb250ZW50LmxvY2FsZVxuICAgICAgICBub3cgPSBsb2NhbGUgPyBub3cubG9jYWxlKGxvY2FsZSkgOiBub3dcbiAgICAgICAgdGhpcy5kYXRldGltZSA9IG5vdy5mb3JtYXQoZm9ybWF0KVxuXG4gICAgICAgIC8vIHBsYWNlIGluIHRoZSBldmVudCBsb29wIHNvIHRoZSB2YWx1ZSBjYW4gZ2V0IHJlbmRlcmVkIGluIHRoZSBlbGVtZW50IGJlZm9yZSB3ZSByZXNpemUgaXRcbiAgICAgICAgaWYgKHRoaXMuY29udGVudCAmJiB0aGlzLmNvbnRlbnQuY29uZmlnICYmIHRoaXMuY29udGVudC5jb25maWdbJ2Rpc2FibGVfdGV4dF9hdXRvc2l6ZSddID09PSAnMScpIHtcbiAgICAgICAgICAvLyBkbyBub3QgcmVzaXplXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgbGV0IG1heFNpemUgPSAodGhpcy5jb250ZW50ICYmIHRoaXMuY29udGVudC5jb25maWcgJiYgdGhpcy5jb250ZW50LmNvbmZpZ1snbWF4X3RleHRfYXV0b3NpemUnXSA/IHRoaXMuY29udGVudC5jb25maWdbJ21heF90ZXh0X2F1dG9zaXplJ10gOiAyMDApXG4gICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB0aGlzLnJlc2l6ZShtYXhTaXplKSwgMSlcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuPC9zY3JpcHQ+XG5cbjxzdHlsZT5cbiAgLmNvbmNlcnRvLWNsaWVudC10aW1lIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICB9XG5cbiAgLmNvbmNlcnRvLWNsaWVudC10aW1lICoge1xuICAgIG1hcmdpbjogMDtcbiAgfVxuPC9zdHlsZT5cblxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUtBO0FBRUE7QUFDQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQURBO0FBR0E7QUFDQTtBQUNBO0FBREE7QUFJQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBeEJBO0FBZkEiLCJzb3VyY2VSb290IjoiIn0=\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/ConcertoClientTime.vue?vue&type=script&lang=js&\n");
1130
1130
 
1131
1131
  /***/ }),
1132
1132
 
@@ -1174,7 +1174,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _uti
1174
1174
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1175
1175
 
1176
1176
  "use strict";
1177
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoHtmlText',\n props: {\n content: Object\n },\n mounted: function mounted() {\n if (this.content && this.content.config && this.content.config['disable_text_autosize'] === '1') {// do not resize\n } else {\n var maxSize = this.content && this.content.config && this.content.config['max_text_autosize'] ? this.content.config['max_text_autosize'] : 200;\n this.resize(maxSize);\n }\n },\n methods: {\n resize: function resize(maxSize) {\n this.$el.style.width = 'unset';\n this.$el.style.height = 'unset';\n _utils__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setOptimalFontSize(this.$el.parentElement.offsetWidth, this.$el.parentElement.offsetHeight, this.$el, maxSize, 12);\n this.$el.style.width = null;\n this.$el.style.height = null;\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9iYWJlbC1sb2FkZXIvbGliL2luZGV4LmpzIS4vbm9kZV9tb2R1bGVzL2NhY2hlLWxvYWRlci9kaXN0L2Nqcy5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vc3JjL2NvbXBvbmVudHMvQ29uY2VydG9IdG1sVGV4dC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL0NvbmNlcnRvSHRtbFRleHQudnVlP2I0Y2UiXSwic291cmNlc0NvbnRlbnQiOlsiPHRlbXBsYXRlPlxuICA8ZGl2IGNsYXNzPVwiY29uY2VydG8taHRtbHRleHRcIiA6c3R5bGU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JGVsLCBtYXhTaXplLCAxMilcbiAgICAgICAgdGhpcy4kZWwuc3R5bGUud2lkdGggPSBudWxsXG4gICAgICAgIHRoaXMuJGVsLnN0eWxlLmhlaWdodCA9IG51bGxcblxuICAgICAgfSxcbiAgICB9XG4gIH1cbjwvc2NyaXB0PlxuXG48c3R5bGU+XG4gIC5jb25jZXJ0by1odG1sdGV4dCB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIC8qd2lkdGg6IDEwMCU7Ki9cbiAgICBoZWlnaHQ6IDEwMCU7XG4gIH1cbjwvc3R5bGU+XG5cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUtBO0FBRUE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQURBO0FBSUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBUkE7QUFmQSIsInNvdXJjZVJvb3QiOiIifQ==\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/ConcertoHtmlText.vue?vue&type=script&lang=js&\n");
1177
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ \"./src/utils.js\");\n//\n//\n//\n//\n\n/* eslint no-console: 0 */\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'ConcertoHtmlText',\n props: {\n content: Object\n },\n mounted: function mounted() {\n var _this = this;\n\n if (this.content && this.content.config && this.content.config['disable_text_autosize'] === '1') {// do not resize\n } else {\n var maxSize = this.content && this.content.config && this.content.config['max_text_autosize'] ? this.content.config['max_text_autosize'] : 200;\n setTimeout(function () {\n return _this.resize(maxSize);\n }, 1);\n }\n },\n methods: {\n resize: function resize(maxSize) {\n this.$el.style.width = 'unset';\n this.$el.style.height = 'unset';\n _utils__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setOptimalFontSize(this.$el.parentElement.offsetWidth, this.$el.parentElement.offsetHeight, this.$el, maxSize, 12);\n this.$el.style.width = null;\n this.$el.style.height = null;\n }\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvY2FjaGUtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9iYWJlbC1sb2FkZXIvbGliL2luZGV4LmpzIS4vbm9kZV9tb2R1bGVzL2NhY2hlLWxvYWRlci9kaXN0L2Nqcy5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vc3JjL2NvbXBvbmVudHMvQ29uY2VydG9IdG1sVGV4dC52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL0NvbmNlcnRvSHRtbFRleHQudnVlP2I0Y2UiXSwic291cmNlc0NvbnRlbnQiOlsiPHRlbXBsYXRlPlxuICA8ZGl2IGNsYXNzPVwiY29uY2VydG8taHRtbHRleHRcIiA6c3R5bGU9XCJjb250ZW50LnN0eWxlXCIgdi1odG1sPVwiY29udGVudC5kYXRhXCI+PC9kaXY+XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0PlxuICAvKiBlc2xpbnQgbm8tY29uc29sZTogMCAqL1xuXG4gIGltcG9ydCB1dGlscyBmcm9tICcuLi91dGlscydcblxuICBleHBvcnQgZGVmYXVsdCB7XG4gICAgbmFtZTogJ0NvbmNlcnRvSHRtbFRleHQnLFxuICAgIHByb3BzOiB7XG4gICAgICBjb250ZW50OiBPYmplY3RcbiAgICB9LFxuXG4gICAgbW91bnRlZCgpIHtcbiAgICAgIGlmIC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AxMDAlO1xuICB9XG48L3N0eWxlPlxuXG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFLQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFEQTtBQUlBO0FBQUE7QUFDQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBUEE7QUFmQSIsInNvdXJjZVJvb3QiOiIifQ==\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/ConcertoHtmlText.vue?vue&type=script&lang=js&\n");
1178
1178
 
1179
1179
  /***/ }),
1180
1180
 
@@ -1,3 +1,3 @@
1
1
  module ConcertoFrontendVue
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
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-24 00:00:00.000000000 Z
11
+ date: 2019-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails