Compare commits
3 Commits
e4a73ad77b
...
76a56ddc68
Author | SHA1 | Date | |
---|---|---|---|
76a56ddc68 | |||
fd208f2b41 | |||
ea225d0f41 |
95
dist/block-renderer.common.js
vendored
95
dist/block-renderer.common.js
vendored
|
@ -479,13 +479,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2c7f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2d00":
|
||||
|
@ -816,13 +809,6 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5366":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/standard.5b4f9a90.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5692":
|
||||
|
@ -1118,13 +1104,6 @@ module.exports = function (argument) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7e1b":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/custom.05eeb96d.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7f9a":
|
||||
|
@ -1767,17 +1746,6 @@ module.exports = function (input, PREFERRED_STRING) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "c388":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2c7f");
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* unused harmony reexport * */
|
||||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "c430":
|
||||
|
@ -2140,6 +2108,13 @@ module.exports =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e1be":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e893":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
@ -2234,12 +2209,12 @@ var staticRenderFns = []
|
|||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
||||
var es_array_map = __webpack_require__("d81d");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
var AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"attaches-block"},[_c('div',{staticClass:"attaches-block-file-icon",style:({ color: _vm.color }),attrs:{"data-extension":_vm.data.file.extension}},[_c('svg',[_c('use',{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":_vm.color ? _vm.customIcon : _vm.standardIcon}})])]),_c('div',{staticClass:"attaches-block-file-info"},[_c('p',{staticClass:"attaches-block-title"},[_vm._v(_vm._s(_vm.data.file.name))]),_c('p',{staticClass:"attaches-block-size"},[_vm._v(_vm._s(_vm._f("byteFormatter")(_vm.data.file.size)))])]),_c('a',{staticClass:"attaches-block-file download-button",attrs:{"href":_vm.data.file.url}})])}
|
||||
var AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns = []
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
var AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"attaches-block"},[_c('div',{staticClass:"attaches-block-file-icon",style:({ color: _vm.color }),attrs:{"data-extension":_vm.data.file.extension}},[_c('svg',{attrs:{"width":"32","height":"40"}},[(_vm.color)?_c('path',{attrs:{"d":"M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"}}):_c('g',{attrs:{"fill":"#A8ACB8","fill-rule":"evenodd"}},[_c('path',{attrs:{"fill-rule":"nonzero","d":"M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"}}),_c('path',{attrs:{"d":"M7 22h18v2H7zm0 4h18v2H7zm0 4h18v2H7z"}})])])]),_c('div',{staticClass:"attaches-block-file-info"},[_c('p',{staticClass:"attaches-block-title"},[_vm._v(_vm._s(_vm.data.file.name))]),_c('p',{staticClass:"attaches-block-size"},[_vm._v(_vm._s(_vm._f("byteFormatter")(_vm.data.file.size)))])]),_c('a',{staticClass:"attaches-block-file download-button",attrs:{"href":_vm.data.file.url}})])}
|
||||
var AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
|
||||
// EXTERNAL MODULE: ./src/filters/byteFormatter.js
|
||||
var byteFormatter = __webpack_require__("573e");
|
||||
|
@ -2268,6 +2243,13 @@ var byteFormatter_default = /*#__PURE__*/__webpack_require__.n(byteFormatter);
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
var extensions = {
|
||||
doc: "#3e74da",
|
||||
|
@ -2305,12 +2287,6 @@ var extensions = {
|
|||
byteFormatter: byteFormatter_default.a
|
||||
},
|
||||
props: ["data"],
|
||||
data: function data() {
|
||||
return {
|
||||
standardIcon: __webpack_require__("5366"),
|
||||
customIcon: __webpack_require__("7e1b")
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
color: function color() {
|
||||
return extensions[this.data.file.extension];
|
||||
|
@ -2319,8 +2295,8 @@ var extensions = {
|
|||
});
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=script&lang=js&
|
||||
/* harmony default export */ var components_AttachesBlockvue_type_script_lang_js_ = (AttachesBlockvue_type_script_lang_js_);
|
||||
// EXTERNAL MODULE: ./src/components/AttachesBlock.vue?vue&type=style&index=0&id=0deac1d0&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_0deac1d0_scoped_true_lang_css_ = __webpack_require__("c388");
|
||||
// EXTERNAL MODULE: ./src/components/AttachesBlock.vue?vue&type=style&index=0&id=6e143fc2&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_6e143fc2_scoped_true_lang_css_ = __webpack_require__("fe42");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
||||
/* globals __VUE_SSR_CONTEXT__ */
|
||||
|
@ -2433,11 +2409,11 @@ function normalizeComponent (
|
|||
|
||||
var component = normalizeComponent(
|
||||
components_AttachesBlockvue_type_script_lang_js_,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
"0deac1d0",
|
||||
"6e143fc2",
|
||||
null
|
||||
|
||||
)
|
||||
|
@ -2554,12 +2530,12 @@ var ImageBlock_component = normalizeComponent(
|
|||
)
|
||||
|
||||
/* harmony default export */ var ImageBlock = (ImageBlock_component.exports);
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
var LinkBlockvue_type_template_id_96c781f6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"link-block"},[_c('div',{staticClass:"link-block-meta"},[_c('div',{staticClass:"link-block-title"},[_vm._v(_vm._s(_vm.data.meta.title))]),_c('p',{staticClass:"link-block-description"},[_vm._v(_vm._s(_vm.data.meta.description))]),_c('div',{staticClass:"link-block-anchor"},[_vm._v(_vm._s(_vm.domain))])]),_c('div',{staticClass:"link-block-image",style:({ 'background-image': _vm.data.meta.image.url })})])}
|
||||
var LinkBlockvue_type_template_id_96c781f6_staticRenderFns = []
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
var LinkBlockvue_type_template_id_78b1abb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"link-block"},[_c('a',{staticClass:"link-block-href",attrs:{"href":_vm.data.link}},[_c('div',{staticClass:"link-block-meta"},[_c('div',{staticClass:"link-block-title"},[_vm._v(_vm._s(_vm.data.meta.title))]),_c('p',{staticClass:"link-block-description"},[_vm._v(_vm._s(_vm.data.meta.description))]),_c('div',{staticClass:"link-block-anchor"},[_vm._v(_vm._s(_vm.domain))])]),_c('div',{staticClass:"link-block-image",style:({ backgroundImage: _vm.data.meta.image.url })})])])}
|
||||
var LinkBlockvue_type_template_id_78b1abb7_staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||
var es_regexp_exec = __webpack_require__("ac1f");
|
||||
|
@ -2590,6 +2566,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ var LinkBlockvue_type_script_lang_js_ = ({
|
||||
props: ["data"],
|
||||
computed: {
|
||||
|
@ -2610,8 +2588,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
|
||||
var LinkBlock_component = normalizeComponent(
|
||||
components_LinkBlockvue_type_script_lang_js_,
|
||||
LinkBlockvue_type_template_id_96c781f6_render,
|
||||
LinkBlockvue_type_template_id_96c781f6_staticRenderFns,
|
||||
LinkBlockvue_type_template_id_78b1abb7_render,
|
||||
LinkBlockvue_type_template_id_78b1abb7_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
|
@ -2899,6 +2877,17 @@ module.exports = NATIVE_SYMBOL
|
|||
&& typeof Symbol.iterator == 'symbol';
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "fe42":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e1be");
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* unused harmony reexport * */
|
||||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
|
|
2
dist/block-renderer.common.js.map
vendored
2
dist/block-renderer.common.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/block-renderer.css
vendored
2
dist/block-renderer.css
vendored
|
@ -1 +1 @@
|
|||
.attaches-block-file-icon[data-v-0deac1d0]:before{content:attr(data-extension)}
|
||||
.attaches-block-file-icon[data-v-6e143fc2]:before{content:attr(data-extension)}
|
95
dist/block-renderer.umd.js
vendored
95
dist/block-renderer.umd.js
vendored
|
@ -488,13 +488,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2c7f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2d00":
|
||||
|
@ -825,13 +818,6 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5366":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/standard.5b4f9a90.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5692":
|
||||
|
@ -1127,13 +1113,6 @@ module.exports = function (argument) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7e1b":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/custom.05eeb96d.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7f9a":
|
||||
|
@ -1776,17 +1755,6 @@ module.exports = function (input, PREFERRED_STRING) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "c388":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2c7f");
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* unused harmony reexport * */
|
||||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_0deac1d0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "c430":
|
||||
|
@ -2149,6 +2117,13 @@ module.exports =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e1be":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e893":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
@ -2243,12 +2218,12 @@ var staticRenderFns = []
|
|||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
||||
var es_array_map = __webpack_require__("d81d");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
var AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"attaches-block"},[_c('div',{staticClass:"attaches-block-file-icon",style:({ color: _vm.color }),attrs:{"data-extension":_vm.data.file.extension}},[_c('svg',[_c('use',{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":_vm.color ? _vm.customIcon : _vm.standardIcon}})])]),_c('div',{staticClass:"attaches-block-file-info"},[_c('p',{staticClass:"attaches-block-title"},[_vm._v(_vm._s(_vm.data.file.name))]),_c('p',{staticClass:"attaches-block-size"},[_vm._v(_vm._s(_vm._f("byteFormatter")(_vm.data.file.size)))])]),_c('a',{staticClass:"attaches-block-file download-button",attrs:{"href":_vm.data.file.url}})])}
|
||||
var AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns = []
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
var AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"attaches-block"},[_c('div',{staticClass:"attaches-block-file-icon",style:({ color: _vm.color }),attrs:{"data-extension":_vm.data.file.extension}},[_c('svg',{attrs:{"width":"32","height":"40"}},[(_vm.color)?_c('path',{attrs:{"d":"M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"}}):_c('g',{attrs:{"fill":"#A8ACB8","fill-rule":"evenodd"}},[_c('path',{attrs:{"fill-rule":"nonzero","d":"M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"}}),_c('path',{attrs:{"d":"M7 22h18v2H7zm0 4h18v2H7zm0 4h18v2H7z"}})])])]),_c('div',{staticClass:"attaches-block-file-info"},[_c('p',{staticClass:"attaches-block-title"},[_vm._v(_vm._s(_vm.data.file.name))]),_c('p',{staticClass:"attaches-block-size"},[_vm._v(_vm._s(_vm._f("byteFormatter")(_vm.data.file.size)))])]),_c('a',{staticClass:"attaches-block-file download-button",attrs:{"href":_vm.data.file.url}})])}
|
||||
var AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
|
||||
// EXTERNAL MODULE: ./src/filters/byteFormatter.js
|
||||
var byteFormatter = __webpack_require__("573e");
|
||||
|
@ -2277,6 +2252,13 @@ var byteFormatter_default = /*#__PURE__*/__webpack_require__.n(byteFormatter);
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
var extensions = {
|
||||
doc: "#3e74da",
|
||||
|
@ -2314,12 +2296,6 @@ var extensions = {
|
|||
byteFormatter: byteFormatter_default.a
|
||||
},
|
||||
props: ["data"],
|
||||
data: function data() {
|
||||
return {
|
||||
standardIcon: __webpack_require__("5366"),
|
||||
customIcon: __webpack_require__("7e1b")
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
color: function color() {
|
||||
return extensions[this.data.file.extension];
|
||||
|
@ -2328,8 +2304,8 @@ var extensions = {
|
|||
});
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=script&lang=js&
|
||||
/* harmony default export */ var components_AttachesBlockvue_type_script_lang_js_ = (AttachesBlockvue_type_script_lang_js_);
|
||||
// EXTERNAL MODULE: ./src/components/AttachesBlock.vue?vue&type=style&index=0&id=0deac1d0&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_0deac1d0_scoped_true_lang_css_ = __webpack_require__("c388");
|
||||
// EXTERNAL MODULE: ./src/components/AttachesBlock.vue?vue&type=style&index=0&id=6e143fc2&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_6e143fc2_scoped_true_lang_css_ = __webpack_require__("fe42");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
||||
/* globals __VUE_SSR_CONTEXT__ */
|
||||
|
@ -2442,11 +2418,11 @@ function normalizeComponent (
|
|||
|
||||
var component = normalizeComponent(
|
||||
components_AttachesBlockvue_type_script_lang_js_,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
"0deac1d0",
|
||||
"6e143fc2",
|
||||
null
|
||||
|
||||
)
|
||||
|
@ -2563,12 +2539,12 @@ var ImageBlock_component = normalizeComponent(
|
|||
)
|
||||
|
||||
/* harmony default export */ var ImageBlock = (ImageBlock_component.exports);
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
var LinkBlockvue_type_template_id_96c781f6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"link-block"},[_c('div',{staticClass:"link-block-meta"},[_c('div',{staticClass:"link-block-title"},[_vm._v(_vm._s(_vm.data.meta.title))]),_c('p',{staticClass:"link-block-description"},[_vm._v(_vm._s(_vm.data.meta.description))]),_c('div',{staticClass:"link-block-anchor"},[_vm._v(_vm._s(_vm.domain))])]),_c('div',{staticClass:"link-block-image",style:({ 'background-image': _vm.data.meta.image.url })})])}
|
||||
var LinkBlockvue_type_template_id_96c781f6_staticRenderFns = []
|
||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b6a10a42-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
var LinkBlockvue_type_template_id_78b1abb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"link-block"},[_c('a',{staticClass:"link-block-href",attrs:{"href":_vm.data.link}},[_c('div',{staticClass:"link-block-meta"},[_c('div',{staticClass:"link-block-title"},[_vm._v(_vm._s(_vm.data.meta.title))]),_c('p',{staticClass:"link-block-description"},[_vm._v(_vm._s(_vm.data.meta.description))]),_c('div',{staticClass:"link-block-anchor"},[_vm._v(_vm._s(_vm.domain))])]),_c('div',{staticClass:"link-block-image",style:({ backgroundImage: _vm.data.meta.image.url })})])])}
|
||||
var LinkBlockvue_type_template_id_78b1abb7_staticRenderFns = []
|
||||
|
||||
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||
var es_regexp_exec = __webpack_require__("ac1f");
|
||||
|
@ -2599,6 +2575,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ var LinkBlockvue_type_script_lang_js_ = ({
|
||||
props: ["data"],
|
||||
computed: {
|
||||
|
@ -2619,8 +2597,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
|
||||
var LinkBlock_component = normalizeComponent(
|
||||
components_LinkBlockvue_type_script_lang_js_,
|
||||
LinkBlockvue_type_template_id_96c781f6_render,
|
||||
LinkBlockvue_type_template_id_96c781f6_staticRenderFns,
|
||||
LinkBlockvue_type_template_id_78b1abb7_render,
|
||||
LinkBlockvue_type_template_id_78b1abb7_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
|
@ -2908,6 +2886,17 @@ module.exports = NATIVE_SYMBOL
|
|||
&& typeof Symbol.iterator == 'symbol';
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "fe42":
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e1be");
|
||||
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* unused harmony reexport * */
|
||||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AttachesBlock_vue_vue_type_style_index_0_id_6e143fc2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
|
|
2
dist/block-renderer.umd.js.map
vendored
2
dist/block-renderer.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/block-renderer.umd.min.js
vendored
2
dist/block-renderer.umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/block-renderer.umd.min.js.map
vendored
2
dist/block-renderer.umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
3
dist/img/custom.05eeb96d.svg
vendored
3
dist/img/custom.05eeb96d.svg
vendored
|
@ -1,3 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
||||
<path d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 240 B |
6
dist/img/standard.5b4f9a90.svg
vendored
6
dist/img/standard.5b4f9a90.svg
vendored
|
@ -1,6 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
||||
<g fill="#A8ACB8" fill-rule="evenodd">
|
||||
<path fill-rule="nonzero" d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"/>
|
||||
<path d="M7 22h18v2H7zm0 4h18v2H7zm0 4h18v2H7z"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 364 B |
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "block-renderer",
|
||||
"description": "Content renderer for JSON blocks from Editor.js",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.8",
|
||||
"author": "KingOfDog <info@kingofdog.de>",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
||||
<path d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"/>
|
||||
</svg>
|
Before Width: | Height: | Size: 240 B |
|
@ -1,6 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
||||
<g fill="#A8ACB8" fill-rule="evenodd">
|
||||
<path fill-rule="nonzero" d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"/>
|
||||
<path d="M7 22h18v2H7zm0 4h18v2H7zm0 4h18v2H7z"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 364 B |
|
@ -5,11 +5,18 @@
|
|||
:style="{ color: color }"
|
||||
class="attaches-block-file-icon"
|
||||
>
|
||||
<svg>
|
||||
<use
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
v-bind:xlink:href="color ? customIcon : standardIcon"
|
||||
<svg width="32" height="40">
|
||||
<path
|
||||
v-if="color"
|
||||
d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"
|
||||
/>
|
||||
<g v-else fill="#A8ACB8" fill-rule="evenodd">
|
||||
<path
|
||||
fill-rule="nonzero"
|
||||
d="M17 0l15 14V3v34a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3h20-6zm0 2H3a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V14H17V2zm2 10h7.926L19 4.602V12z"
|
||||
/>
|
||||
<path d="M7 22h18v2H7zm0 4h18v2H7zm0 4h18v2H7z" />
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="attaches-block-file-info">
|
||||
|
@ -60,12 +67,6 @@ export default {
|
|||
byteFormatter
|
||||
},
|
||||
props: ["data"],
|
||||
data() {
|
||||
return {
|
||||
standardIcon: require("@/assets/svg/standard.svg"),
|
||||
customIcon: require("@/assets/svg/custom.svg")
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
color() {
|
||||
return extensions[this.data.file.extension];
|
||||
|
|
Loading…
Reference in New Issue
Block a user