Compare commits
No commits in common. "76a56ddc6811ffd686bcc0158e51985abc1d5cb8" and "e4a73ad77b00af1ee2d1d7b4f06134ac78806f00" have entirely different histories.
76a56ddc68
...
e4a73ad77b
95
dist/block-renderer.common.js
vendored
95
dist/block-renderer.common.js
vendored
|
@ -479,6 +479,13 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2c7f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2d00":
|
||||
|
@ -809,6 +816,13 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5366":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/standard.5b4f9a90.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5692":
|
||||
|
@ -1104,6 +1118,13 @@ module.exports = function (argument) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7e1b":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/custom.05eeb96d.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7f9a":
|
||||
|
@ -1746,6 +1767,17 @@ 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":
|
||||
|
@ -2108,13 +2140,6 @@ module.exports =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e1be":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e893":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
@ -2209,12 +2234,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=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: ./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: ./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
|
||||
// EXTERNAL MODULE: ./src/filters/byteFormatter.js
|
||||
var byteFormatter = __webpack_require__("573e");
|
||||
|
@ -2243,13 +2268,6 @@ var byteFormatter_default = /*#__PURE__*/__webpack_require__.n(byteFormatter);
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
var extensions = {
|
||||
doc: "#3e74da",
|
||||
|
@ -2287,6 +2305,12 @@ 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];
|
||||
|
@ -2295,8 +2319,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=6e143fc2&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_6e143fc2_scoped_true_lang_css_ = __webpack_require__("fe42");
|
||||
// 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");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
||||
/* globals __VUE_SSR_CONTEXT__ */
|
||||
|
@ -2409,11 +2433,11 @@ function normalizeComponent (
|
|||
|
||||
var component = normalizeComponent(
|
||||
components_AttachesBlockvue_type_script_lang_js_,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
"6e143fc2",
|
||||
"0deac1d0",
|
||||
null
|
||||
|
||||
)
|
||||
|
@ -2530,12 +2554,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=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: ./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: ./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||
var es_regexp_exec = __webpack_require__("ac1f");
|
||||
|
@ -2566,8 +2590,6 @@ var es_string_link = __webpack_require__("9911");
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ var LinkBlockvue_type_script_lang_js_ = ({
|
||||
props: ["data"],
|
||||
computed: {
|
||||
|
@ -2588,8 +2610,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
|
||||
var LinkBlock_component = normalizeComponent(
|
||||
components_LinkBlockvue_type_script_lang_js_,
|
||||
LinkBlockvue_type_template_id_78b1abb7_render,
|
||||
LinkBlockvue_type_template_id_78b1abb7_staticRenderFns,
|
||||
LinkBlockvue_type_template_id_96c781f6_render,
|
||||
LinkBlockvue_type_template_id_96c781f6_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
|
@ -2877,17 +2899,6 @@ 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-6e143fc2]:before{content:attr(data-extension)}
|
||||
.attaches-block-file-icon[data-v-0deac1d0]:before{content:attr(data-extension)}
|
95
dist/block-renderer.umd.js
vendored
95
dist/block-renderer.umd.js
vendored
|
@ -488,6 +488,13 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2c7f":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "2d00":
|
||||
|
@ -818,6 +825,13 @@ fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, ma
|
|||
});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5366":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/standard.5b4f9a90.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "5692":
|
||||
|
@ -1113,6 +1127,13 @@ module.exports = function (argument) {
|
|||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7e1b":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__.p + "img/custom.05eeb96d.svg";
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "7f9a":
|
||||
|
@ -1755,6 +1776,17 @@ 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":
|
||||
|
@ -2117,13 +2149,6 @@ module.exports =
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e1be":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "e893":
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
@ -2218,12 +2243,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=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: ./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: ./src/components/AttachesBlock.vue?vue&type=template&id=6e143fc2&scoped=true&
|
||||
// CONCATENATED MODULE: ./src/components/AttachesBlock.vue?vue&type=template&id=0deac1d0&scoped=true&
|
||||
|
||||
// EXTERNAL MODULE: ./src/filters/byteFormatter.js
|
||||
var byteFormatter = __webpack_require__("573e");
|
||||
|
@ -2252,13 +2277,6 @@ var byteFormatter_default = /*#__PURE__*/__webpack_require__.n(byteFormatter);
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
var extensions = {
|
||||
doc: "#3e74da",
|
||||
|
@ -2296,6 +2314,12 @@ 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];
|
||||
|
@ -2304,8 +2328,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=6e143fc2&scoped=true&lang=css&
|
||||
var AttachesBlockvue_type_style_index_0_id_6e143fc2_scoped_true_lang_css_ = __webpack_require__("fe42");
|
||||
// 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");
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
||||
/* globals __VUE_SSR_CONTEXT__ */
|
||||
|
@ -2418,11 +2442,11 @@ function normalizeComponent (
|
|||
|
||||
var component = normalizeComponent(
|
||||
components_AttachesBlockvue_type_script_lang_js_,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_6e143fc2_scoped_true_staticRenderFns,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_render,
|
||||
AttachesBlockvue_type_template_id_0deac1d0_scoped_true_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
"6e143fc2",
|
||||
"0deac1d0",
|
||||
null
|
||||
|
||||
)
|
||||
|
@ -2539,12 +2563,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=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: ./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: ./src/components/LinkBlock.vue?vue&type=template&id=78b1abb7&
|
||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=96c781f6&
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||
var es_regexp_exec = __webpack_require__("ac1f");
|
||||
|
@ -2575,8 +2599,6 @@ var es_string_link = __webpack_require__("9911");
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
/* harmony default export */ var LinkBlockvue_type_script_lang_js_ = ({
|
||||
props: ["data"],
|
||||
computed: {
|
||||
|
@ -2597,8 +2619,8 @@ var es_string_link = __webpack_require__("9911");
|
|||
|
||||
var LinkBlock_component = normalizeComponent(
|
||||
components_LinkBlockvue_type_script_lang_js_,
|
||||
LinkBlockvue_type_template_id_78b1abb7_render,
|
||||
LinkBlockvue_type_template_id_78b1abb7_staticRenderFns,
|
||||
LinkBlockvue_type_template_id_96c781f6_render,
|
||||
LinkBlockvue_type_template_id_96c781f6_staticRenderFns,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
|
@ -2886,17 +2908,6 @@ 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
Normal file
3
dist/img/custom.05eeb96d.svg
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<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>
|
After Width: | Height: | Size: 240 B |
6
dist/img/standard.5b4f9a90.svg
vendored
Normal file
6
dist/img/standard.5b4f9a90.svg
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
<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>
|
After Width: | Height: | Size: 364 B |
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "block-renderer",
|
||||
"description": "Content renderer for JSON blocks from Editor.js",
|
||||
"version": "0.1.8",
|
||||
"version": "0.1.6",
|
||||
"author": "KingOfDog <info@kingofdog.de>",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
3
src/assets/svg/custom.svg
Normal file
3
src/assets/svg/custom.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<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>
|
After Width: | Height: | Size: 240 B |
6
src/assets/svg/standard.svg
Normal file
6
src/assets/svg/standard.svg
Normal file
|
@ -0,0 +1,6 @@
|
|||
<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>
|
After Width: | Height: | Size: 364 B |
|
@ -5,18 +5,11 @@
|
|||
:style="{ color: color }"
|
||||
class="attaches-block-file-icon"
|
||||
>
|
||||
<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"
|
||||
<svg>
|
||||
<use
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
v-bind:xlink:href="color ? customIcon : standardIcon"
|
||||
/>
|
||||
<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">
|
||||
|
@ -67,6 +60,12 @@ 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