Compare commits
No commits in common. "7639ed84b3be21e297fc1cd07e8e014593315fa9" and "2684c5d58df98f48c5d1e40cd4476aa376d54eae" have entirely different histories.
7639ed84b3
...
2684c5d58d
58
dist/block-renderer.common.js
vendored
58
dist/block-renderer.common.js
vendored
|
@ -2192,12 +2192,12 @@ if (typeof window !== 'undefined') {
|
||||||
// Indicate to webpack that this file can be concatenated
|
// Indicate to webpack that this file can be concatenated
|
||||||
/* harmony default export */ var setPublicPath = (null);
|
/* harmony default export */ var setPublicPath = (null);
|
||||||
|
|
||||||
// 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/BlockContentRenderer.vue?vue&type=template&id=18061960&
|
// 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/BlockContentRenderer.vue?vue&type=template&id=66e1144e&
|
||||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.blocks),function(block,index){return _c(block.component,{key:index,tag:"component",attrs:{"data":block.data}})}),1)}
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.blocks),function(block,index){return _c(block.component,{key:index,tag:"component",attrs:{"data":block.data}})}),1)}
|
||||||
var staticRenderFns = []
|
var staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/BlockContentRenderer.vue?vue&type=template&id=18061960&
|
// CONCATENATED MODULE: ./src/components/BlockContentRenderer.vue?vue&type=template&id=66e1144e&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
||||||
var es_array_map = __webpack_require__("d81d");
|
var es_array_map = __webpack_require__("d81d");
|
||||||
|
@ -2415,12 +2415,12 @@ var component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var AttachesBlock = (component.exports);
|
/* harmony default export */ var AttachesBlock = (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/EmbedBlock.vue?vue&type=template&id=fa9ca340&
|
// 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/EmbedBlock.vue?vue&type=template&id=e6a17b8a&
|
||||||
var EmbedBlockvue_type_template_id_fa9ca340_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('iframe',{staticClass:"w-full",attrs:{"src":_vm.data.embed,"height":_vm.data.height,"frameborder":"0","allowfullscreen":""}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
var EmbedBlockvue_type_template_id_e6a17b8a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('iframe',{staticClass:"w-full",attrs:{"src":_vm.data.embed,"height":_vm.data.height,"frameborder":"0","allowfullscreen":""}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
||||||
var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
var EmbedBlockvue_type_template_id_e6a17b8a_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/EmbedBlock.vue?vue&type=template&id=fa9ca340&
|
// CONCATENATED MODULE: ./src/components/EmbedBlock.vue?vue&type=template&id=e6a17b8a&
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/EmbedBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/EmbedBlock.vue?vue&type=script&lang=js&
|
||||||
//
|
//
|
||||||
|
@ -2431,12 +2431,6 @@ var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ var EmbedBlockvue_type_script_lang_js_ = ({
|
/* harmony default export */ var EmbedBlockvue_type_script_lang_js_ = ({
|
||||||
props: ["data"]
|
props: ["data"]
|
||||||
});
|
});
|
||||||
|
@ -2452,8 +2446,8 @@ var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
||||||
|
|
||||||
var EmbedBlock_component = normalizeComponent(
|
var EmbedBlock_component = normalizeComponent(
|
||||||
components_EmbedBlockvue_type_script_lang_js_,
|
components_EmbedBlockvue_type_script_lang_js_,
|
||||||
EmbedBlockvue_type_template_id_fa9ca340_render,
|
EmbedBlockvue_type_template_id_e6a17b8a_render,
|
||||||
EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns,
|
EmbedBlockvue_type_template_id_e6a17b8a_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2466,11 +2460,7 @@ var EmbedBlock_component = normalizeComponent(
|
||||||
/* harmony default export */ var HeaderBlockvue_type_script_lang_js_ = ({
|
/* harmony default export */ var HeaderBlockvue_type_script_lang_js_ = ({
|
||||||
props: ["data"],
|
props: ["data"],
|
||||||
render: function render(createElement) {
|
render: function render(createElement) {
|
||||||
return createElement("h" + this.data.level, {
|
return createElement("h" + this.data.level, this.data.text);
|
||||||
domProps: {
|
|
||||||
innerHTML: this.data.text
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// CONCATENATED MODULE: ./src/components/HeaderBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./src/components/HeaderBlock.vue?vue&type=script&lang=js&
|
||||||
|
@ -2495,12 +2485,12 @@ var HeaderBlock_component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var HeaderBlock = (HeaderBlock_component.exports);
|
/* harmony default export */ var HeaderBlock = (HeaderBlock_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/ImageBlock.vue?vue&type=template&id=681bb202&
|
// 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/ImageBlock.vue?vue&type=template&id=badd32a6&
|
||||||
var ImageBlockvue_type_template_id_681bb202_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('img',{attrs:{"src":_vm.data.file.url}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
var ImageBlockvue_type_template_id_badd32a6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('img',{attrs:{"src":_vm.data.file.url}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
||||||
var ImageBlockvue_type_template_id_681bb202_staticRenderFns = []
|
var ImageBlockvue_type_template_id_badd32a6_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/ImageBlock.vue?vue&type=template&id=681bb202&
|
// CONCATENATED MODULE: ./src/components/ImageBlock.vue?vue&type=template&id=badd32a6&
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageBlock.vue?vue&type=script&lang=js&
|
||||||
//
|
//
|
||||||
|
@ -2526,8 +2516,8 @@ var ImageBlockvue_type_template_id_681bb202_staticRenderFns = []
|
||||||
|
|
||||||
var ImageBlock_component = normalizeComponent(
|
var ImageBlock_component = normalizeComponent(
|
||||||
components_ImageBlockvue_type_script_lang_js_,
|
components_ImageBlockvue_type_script_lang_js_,
|
||||||
ImageBlockvue_type_template_id_681bb202_render,
|
ImageBlockvue_type_template_id_badd32a6_render,
|
||||||
ImageBlockvue_type_template_id_681bb202_staticRenderFns,
|
ImageBlockvue_type_template_id_badd32a6_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2536,12 +2526,12 @@ var ImageBlock_component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var ImageBlock = (ImageBlock_component.exports);
|
/* 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=521f7471&
|
// 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=92561c0c&
|
||||||
var LinkBlockvue_type_template_id_521f7471_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,"target":"_blank"}},[_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: ("url(" + (_vm.data.meta.image.url)) })})])])}
|
var LinkBlockvue_type_template_id_92561c0c_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: ("url(" + (_vm.data.meta.image.url)) })})])])}
|
||||||
var LinkBlockvue_type_template_id_521f7471_staticRenderFns = []
|
var LinkBlockvue_type_template_id_92561c0c_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=521f7471&
|
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=92561c0c&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||||
var es_regexp_exec = __webpack_require__("ac1f");
|
var es_regexp_exec = __webpack_require__("ac1f");
|
||||||
|
@ -2594,8 +2584,8 @@ var es_string_link = __webpack_require__("9911");
|
||||||
|
|
||||||
var LinkBlock_component = normalizeComponent(
|
var LinkBlock_component = normalizeComponent(
|
||||||
components_LinkBlockvue_type_script_lang_js_,
|
components_LinkBlockvue_type_script_lang_js_,
|
||||||
LinkBlockvue_type_template_id_521f7471_render,
|
LinkBlockvue_type_template_id_92561c0c_render,
|
||||||
LinkBlockvue_type_template_id_521f7471_staticRenderFns,
|
LinkBlockvue_type_template_id_92561c0c_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2610,11 +2600,7 @@ var LinkBlock_component = normalizeComponent(
|
||||||
props: ["data"],
|
props: ["data"],
|
||||||
render: function render(createElement) {
|
render: function render(createElement) {
|
||||||
return createElement(this.data.style === "ordered" ? "ol" : "ul", this.data.items.map(function (item) {
|
return createElement(this.data.style === "ordered" ? "ol" : "ul", this.data.items.map(function (item) {
|
||||||
return createElement("li", {
|
return createElement("li", item);
|
||||||
domProps: {
|
|
||||||
innerHTML: item
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
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
58
dist/block-renderer.umd.js
vendored
58
dist/block-renderer.umd.js
vendored
|
@ -2201,12 +2201,12 @@ if (typeof window !== 'undefined') {
|
||||||
// Indicate to webpack that this file can be concatenated
|
// Indicate to webpack that this file can be concatenated
|
||||||
/* harmony default export */ var setPublicPath = (null);
|
/* harmony default export */ var setPublicPath = (null);
|
||||||
|
|
||||||
// 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/BlockContentRenderer.vue?vue&type=template&id=18061960&
|
// 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/BlockContentRenderer.vue?vue&type=template&id=66e1144e&
|
||||||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.blocks),function(block,index){return _c(block.component,{key:index,tag:"component",attrs:{"data":block.data}})}),1)}
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.blocks),function(block,index){return _c(block.component,{key:index,tag:"component",attrs:{"data":block.data}})}),1)}
|
||||||
var staticRenderFns = []
|
var staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/BlockContentRenderer.vue?vue&type=template&id=18061960&
|
// CONCATENATED MODULE: ./src/components/BlockContentRenderer.vue?vue&type=template&id=66e1144e&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
||||||
var es_array_map = __webpack_require__("d81d");
|
var es_array_map = __webpack_require__("d81d");
|
||||||
|
@ -2424,12 +2424,12 @@ var component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var AttachesBlock = (component.exports);
|
/* harmony default export */ var AttachesBlock = (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/EmbedBlock.vue?vue&type=template&id=fa9ca340&
|
// 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/EmbedBlock.vue?vue&type=template&id=e6a17b8a&
|
||||||
var EmbedBlockvue_type_template_id_fa9ca340_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('iframe',{staticClass:"w-full",attrs:{"src":_vm.data.embed,"height":_vm.data.height,"frameborder":"0","allowfullscreen":""}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
var EmbedBlockvue_type_template_id_e6a17b8a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('iframe',{staticClass:"w-full",attrs:{"src":_vm.data.embed,"height":_vm.data.height,"frameborder":"0","allowfullscreen":""}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
||||||
var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
var EmbedBlockvue_type_template_id_e6a17b8a_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/EmbedBlock.vue?vue&type=template&id=fa9ca340&
|
// CONCATENATED MODULE: ./src/components/EmbedBlock.vue?vue&type=template&id=e6a17b8a&
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/EmbedBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/EmbedBlock.vue?vue&type=script&lang=js&
|
||||||
//
|
//
|
||||||
|
@ -2440,12 +2440,6 @@ var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ var EmbedBlockvue_type_script_lang_js_ = ({
|
/* harmony default export */ var EmbedBlockvue_type_script_lang_js_ = ({
|
||||||
props: ["data"]
|
props: ["data"]
|
||||||
});
|
});
|
||||||
|
@ -2461,8 +2455,8 @@ var EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns = []
|
||||||
|
|
||||||
var EmbedBlock_component = normalizeComponent(
|
var EmbedBlock_component = normalizeComponent(
|
||||||
components_EmbedBlockvue_type_script_lang_js_,
|
components_EmbedBlockvue_type_script_lang_js_,
|
||||||
EmbedBlockvue_type_template_id_fa9ca340_render,
|
EmbedBlockvue_type_template_id_e6a17b8a_render,
|
||||||
EmbedBlockvue_type_template_id_fa9ca340_staticRenderFns,
|
EmbedBlockvue_type_template_id_e6a17b8a_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2475,11 +2469,7 @@ var EmbedBlock_component = normalizeComponent(
|
||||||
/* harmony default export */ var HeaderBlockvue_type_script_lang_js_ = ({
|
/* harmony default export */ var HeaderBlockvue_type_script_lang_js_ = ({
|
||||||
props: ["data"],
|
props: ["data"],
|
||||||
render: function render(createElement) {
|
render: function render(createElement) {
|
||||||
return createElement("h" + this.data.level, {
|
return createElement("h" + this.data.level, this.data.text);
|
||||||
domProps: {
|
|
||||||
innerHTML: this.data.text
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// CONCATENATED MODULE: ./src/components/HeaderBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./src/components/HeaderBlock.vue?vue&type=script&lang=js&
|
||||||
|
@ -2504,12 +2494,12 @@ var HeaderBlock_component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var HeaderBlock = (HeaderBlock_component.exports);
|
/* harmony default export */ var HeaderBlock = (HeaderBlock_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/ImageBlock.vue?vue&type=template&id=681bb202&
|
// 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/ImageBlock.vue?vue&type=template&id=badd32a6&
|
||||||
var ImageBlockvue_type_template_id_681bb202_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('img',{attrs:{"src":_vm.data.file.url}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
var ImageBlockvue_type_template_id_badd32a6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('figure',[_c('img',{attrs:{"src":_vm.data.file.url}}),_c('figcaption',{domProps:{"innerHTML":_vm._s(_vm.data.caption)}})])}
|
||||||
var ImageBlockvue_type_template_id_681bb202_staticRenderFns = []
|
var ImageBlockvue_type_template_id_badd32a6_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/ImageBlock.vue?vue&type=template&id=681bb202&
|
// CONCATENATED MODULE: ./src/components/ImageBlock.vue?vue&type=template&id=badd32a6&
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageBlock.vue?vue&type=script&lang=js&
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ImageBlock.vue?vue&type=script&lang=js&
|
||||||
//
|
//
|
||||||
|
@ -2535,8 +2525,8 @@ var ImageBlockvue_type_template_id_681bb202_staticRenderFns = []
|
||||||
|
|
||||||
var ImageBlock_component = normalizeComponent(
|
var ImageBlock_component = normalizeComponent(
|
||||||
components_ImageBlockvue_type_script_lang_js_,
|
components_ImageBlockvue_type_script_lang_js_,
|
||||||
ImageBlockvue_type_template_id_681bb202_render,
|
ImageBlockvue_type_template_id_badd32a6_render,
|
||||||
ImageBlockvue_type_template_id_681bb202_staticRenderFns,
|
ImageBlockvue_type_template_id_badd32a6_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2545,12 +2535,12 @@ var ImageBlock_component = normalizeComponent(
|
||||||
)
|
)
|
||||||
|
|
||||||
/* harmony default export */ var ImageBlock = (ImageBlock_component.exports);
|
/* 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=521f7471&
|
// 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=92561c0c&
|
||||||
var LinkBlockvue_type_template_id_521f7471_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,"target":"_blank"}},[_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: ("url(" + (_vm.data.meta.image.url)) })})])])}
|
var LinkBlockvue_type_template_id_92561c0c_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: ("url(" + (_vm.data.meta.image.url)) })})])])}
|
||||||
var LinkBlockvue_type_template_id_521f7471_staticRenderFns = []
|
var LinkBlockvue_type_template_id_92561c0c_staticRenderFns = []
|
||||||
|
|
||||||
|
|
||||||
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=521f7471&
|
// CONCATENATED MODULE: ./src/components/LinkBlock.vue?vue&type=template&id=92561c0c&
|
||||||
|
|
||||||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
||||||
var es_regexp_exec = __webpack_require__("ac1f");
|
var es_regexp_exec = __webpack_require__("ac1f");
|
||||||
|
@ -2603,8 +2593,8 @@ var es_string_link = __webpack_require__("9911");
|
||||||
|
|
||||||
var LinkBlock_component = normalizeComponent(
|
var LinkBlock_component = normalizeComponent(
|
||||||
components_LinkBlockvue_type_script_lang_js_,
|
components_LinkBlockvue_type_script_lang_js_,
|
||||||
LinkBlockvue_type_template_id_521f7471_render,
|
LinkBlockvue_type_template_id_92561c0c_render,
|
||||||
LinkBlockvue_type_template_id_521f7471_staticRenderFns,
|
LinkBlockvue_type_template_id_92561c0c_staticRenderFns,
|
||||||
false,
|
false,
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
|
@ -2619,11 +2609,7 @@ var LinkBlock_component = normalizeComponent(
|
||||||
props: ["data"],
|
props: ["data"],
|
||||||
render: function render(createElement) {
|
render: function render(createElement) {
|
||||||
return createElement(this.data.style === "ordered" ? "ol" : "ul", this.data.items.map(function (item) {
|
return createElement(this.data.style === "ordered" ? "ol" : "ul", this.data.items.map(function (item) {
|
||||||
return createElement("li", {
|
return createElement("li", item);
|
||||||
domProps: {
|
|
||||||
innerHTML: item
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
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
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "block-renderer",
|
"name": "block-renderer",
|
||||||
"description": "Content renderer for JSON blocks from Editor.js",
|
"description": "Content renderer for JSON blocks from Editor.js",
|
||||||
"version": "0.1.14",
|
"version": "0.1.10",
|
||||||
"author": "KingOfDog <info@kingofdog.de>",
|
"author": "KingOfDog <info@kingofdog.de>",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -65,3 +65,6 @@ export default {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -1,14 +0,0 @@
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
props: ["data"],
|
|
||||||
render(createElement) {
|
|
||||||
return createElement("a", {
|
|
||||||
domProps: {
|
|
||||||
innerHTML: this.data.label,
|
|
||||||
href: this.data.url
|
|
||||||
},
|
|
||||||
class: ["button", "button-primary"]
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
</script>
|
|
|
@ -1,12 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<figure>
|
<figure>
|
||||||
<iframe
|
<iframe :src="data.embed" :height="data.height" frameborder="0" allowfullscreen class="w-full"></iframe>
|
||||||
:src="data.embed"
|
|
||||||
:height="data.height"
|
|
||||||
frameborder="0"
|
|
||||||
allowfullscreen
|
|
||||||
class="w-full"
|
|
||||||
></iframe>
|
|
||||||
|
|
||||||
<figcaption v-html="data.caption"></figcaption>
|
<figcaption v-html="data.caption"></figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
@ -14,6 +8,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ["data"]
|
props: ["data"],
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -2,11 +2,10 @@
|
||||||
export default {
|
export default {
|
||||||
props: ["data"],
|
props: ["data"],
|
||||||
render(createElement) {
|
render(createElement) {
|
||||||
return createElement("h" + this.data.level, {
|
return createElement("h" + this.data.level, this.data.text);
|
||||||
domProps: { innerHTML: this.data.text }
|
},
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style>
|
||||||
|
</style>
|
|
@ -8,6 +8,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
props: ["data"]
|
props: ["data"],
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
|
@ -4,16 +4,11 @@ export default {
|
||||||
render(createElement) {
|
render(createElement) {
|
||||||
return createElement(
|
return createElement(
|
||||||
this.data.style === "ordered" ? "ol" : "ul",
|
this.data.style === "ordered" ? "ol" : "ul",
|
||||||
this.data.items.map(item =>
|
this.data.items.map((item) => createElement("li", item))
|
||||||
createElement("li", {
|
|
||||||
domProps: {
|
|
||||||
innerHTML: item
|
|
||||||
}
|
|
||||||
})
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style>
|
||||||
|
</style>
|
|
@ -1,6 +1,4 @@
|
||||||
import BlockContentRenderer from './components/BlockContentRenderer.vue';
|
import BlockContentRenderer from './components/BlockContentRenderer.vue';
|
||||||
|
|
||||||
export default BlockContentRenderer;
|
export default BlockContentRenderer;
|
||||||
export {
|
export { BlockContentRenderer };
|
||||||
BlockContentRenderer
|
|
||||||
};
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user