Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docs-renderer-vue2

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docs-renderer-vue2 - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

44

dist/docsRenderer.common.js

@@ -345,3 +345,3 @@ module.exports =

// CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b1c526a2-vue-loader-template"}!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=template&id=5a72f336&
// CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b1c526a2-vue-loader-template"}!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=template&id=a2c6549c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"doc-table-root",style:(_vm.rootStyles)},_vm._l((_vm.tableData.cells),function(_,i){return _c('div',{staticClass:"doc-table-cell",style:(_vm.cellStyles(i))},[_vm._t(("cell:" + i))],2)}),0)}

@@ -351,3 +351,3 @@ var staticRenderFns = []

// CONCATENATED MODULE: ./src/components/DefaultTable.vue?vue&type=template&id=5a72f336&
// CONCATENATED MODULE: ./src/components/DefaultTable.vue?vue&type=template&id=a2c6549c&

@@ -390,25 +390,2 @@ // CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=script&lang=js&

},
cellSpans() {
const spans = {}
for (let y = 0; y < this.numRows; y++) {
const row = this.tableData.rows[y];
for (let x = 0; x < this.numColumns; x++) {
if (row[x] > -1) {
if (row[x] in spans) {
const span = spans[row[x]];
span.rowEnd = y;
span.rowStart = y;
} else {
spans[row[x]] = {
rowStart: y,
colStart: x,
rowEnd: y,
colEnd: x
}
}
}
}
}
return spans;
}
},

@@ -422,5 +399,2 @@ methods: {

},
mounted() {
console.log("table mounted")
}
});

@@ -574,2 +548,6 @@

default: function () { return (/\[\^(\d*[a-zA-z]+\d*)\](?:(.+)\[\/\1\])*/g); }
},
ignoreCss: {
type: Array,
default: function () { return ([]); }
}

@@ -625,3 +603,9 @@ },

if ("element" in data) {
var nodeData = __assign(__assign({}, (data.style && { style: data.style })), (data.attrs && { attrs: data.attrs }));
var nodeData = __assign({}, (data.attrs && { attrs: data.attrs }));
if (data.style) {
nodeData.style = Object.fromEntries(Object.entries(data.style).filter(function (_a) {
var _b = __read(_a, 1), key = _b[0];
return !(context.props.ignoreCss.includes(key));
}));
}
return h(data.element, nodeData, fromContentArray(data.children));

@@ -668,3 +652,3 @@ }

}
return h("div", fromContentArray(context.props.content));
return h("div", context.data, fromContentArray(context.props.content));
}

@@ -671,0 +655,0 @@ }));

@@ -354,3 +354,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

// CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b1c526a2-vue-loader-template"}!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=template&id=5a72f336&
// CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b1c526a2-vue-loader-template"}!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=template&id=a2c6549c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"doc-table-root",style:(_vm.rootStyles)},_vm._l((_vm.tableData.cells),function(_,i){return _c('div',{staticClass:"doc-table-cell",style:(_vm.cellStyles(i))},[_vm._t(("cell:" + i))],2)}),0)}

@@ -360,3 +360,3 @@ var staticRenderFns = []

// CONCATENATED MODULE: ./src/components/DefaultTable.vue?vue&type=template&id=5a72f336&
// CONCATENATED MODULE: ./src/components/DefaultTable.vue?vue&type=template&id=a2c6549c&

@@ -399,25 +399,2 @@ // CONCATENATED MODULE: /Users/danjutan/WebstormProjects/docs-cms/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/danjutan/WebstormProjects/docs-cms/node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTable.vue?vue&type=script&lang=js&

},
cellSpans() {
const spans = {}
for (let y = 0; y < this.numRows; y++) {
const row = this.tableData.rows[y];
for (let x = 0; x < this.numColumns; x++) {
if (row[x] > -1) {
if (row[x] in spans) {
const span = spans[row[x]];
span.rowEnd = y;
span.rowStart = y;
} else {
spans[row[x]] = {
rowStart: y,
colStart: x,
rowEnd: y,
colEnd: x
}
}
}
}
}
return spans;
}
},

@@ -431,5 +408,2 @@ methods: {

},
mounted() {
console.log("table mounted")
}
});

@@ -583,2 +557,6 @@

default: function () { return (/\[\^(\d*[a-zA-z]+\d*)\](?:(.+)\[\/\1\])*/g); }
},
ignoreCss: {
type: Array,
default: function () { return ([]); }
}

@@ -634,3 +612,9 @@ },

if ("element" in data) {
var nodeData = __assign(__assign({}, (data.style && { style: data.style })), (data.attrs && { attrs: data.attrs }));
var nodeData = __assign({}, (data.attrs && { attrs: data.attrs }));
if (data.style) {
nodeData.style = Object.fromEntries(Object.entries(data.style).filter(function (_a) {
var _b = __read(_a, 1), key = _b[0];
return !(context.props.ignoreCss.includes(key));
}));
}
return h(data.element, nodeData, fromContentArray(data.children));

@@ -677,3 +661,3 @@ }

}
return h("div", fromContentArray(context.props.content));
return h("div", context.data, fromContentArray(context.props.content));
}

@@ -680,0 +664,0 @@ }));

@@ -1,2 +0,2 @@

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["docsRenderer"]=e(require("vue")):t["docsRenderer"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="1c25")}({"1c25":function(t,e,r){"use strict";if(r.r(e),"undefined"!==typeof window){var n=window.document.currentScript,o=r("405b");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function u(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),c=[];try{while((void 0===e||e-- >0)&&!(n=i.next()).done)c.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return c}function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var s=r("8bbf"),f=r.n(s),p=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"doc-table-root",style:t.rootStyles},t._l(t.tableData.cells,(function(e,n){return r("div",{staticClass:"doc-table-cell",style:t.cellStyles(n)},[t._t("cell:"+n)],2)})),0)},d=[],m={name:"DefaultTable",props:{tableData:{type:Object,required:!0}},computed:{numRows(){return this.tableData.rows.length},numColumns(){return this.tableData.rows[0].length},rootStyles(){const t=this.tableData.rows.map(t=>`"${t.map(t=>"area"+t).join(" ")}"`).join(" ");return{display:"grid",gridTemplateAreas:t}},cellSpans(){const t={};for(let e=0;e<this.numRows;e++){const r=this.tableData.rows[e];for(let n=0;n<this.numColumns;n++)if(r[n]>-1)if(r[n]in t){const o=t[r[n]];o.rowEnd=e,o.rowStart=e}else t[r[n]]={rowStart:e,colStart:n,rowEnd:e,colEnd:n}}return t}},methods:{cellStyles(t){return{gridArea:"area"+t}}},mounted(){console.log("table mounted")}},y=m;function b(t,e,r,n,o,i,c,u){var l,a="function"===typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),c?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},a._ssrRegister=l):o&&(l=u?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(a.functional){a._injectStyles=l;var s=a.render;a.render=function(t,e){return l.call(e),s(t,e)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:a}}var v=b(y,p,d,!1,null,null,null),h=v.exports,S=f.a.extend({functional:!0,name:"Renderer",props:{content:{type:Array,required:!0,default:function(){return[]}},components:{type:Object,default:function(){return{}}},tableComponent:{type:[Object,Boolean],default:function(){return h}},inlineSlotFormat:{type:RegExp,default:function(){return/\[\^(\d*[a-zA-z]+\d*)\](?:(.+)\[\/\1\])*/g}}},render:function(t,e){function r(r){var o,i;if("string"==typeof r){var s=r.matchAll(e.props.inlineSlotFormat),f=[];try{for(var p=u(s),d=p.next();!d.done;d=p.next()){var m=d.value;if(void 0!=m.index){var y=m[1],b=m[2];if(y in e.scopedSlots){var v=e.scopedSlots[y]({inner:b});if(v){var h=m.index,S=h+m[0].length;f.push({start:h,end:S,slot:v})}}}}}catch(x){o={error:x}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(!f.length)return r;var g=[],_=0;return f.sort((function(t,e){return t.start-e.start})).forEach((function(t){var e=t.start,n=t.end,o=t.slot;_!=e&&g.push(r.slice(_,e)),g.push.apply(g,a(o)),_=n})),_!=r.length&&g.push(r.slice(_)),g}if("element"in r){var w=c(c({},r.style&&{style:r.style}),r.attrs&&{attrs:r.attrs});return t(r.element,w,n(r.children))}if("component"in r){w={};if(!(r.component in e.props.components))return!1;if(r.props&&(w.props=r.props),r.slots){var j=Object.entries(r.slots).map((function(t){var e=l(t,2),r=e[0],o=e[1];return[r,function(){return n(o)}]}));w.scopedSlots=Object.fromEntries(j)}return t(e.props.components[r.component],w)}if("slot"in r&&r.slot in e.scopedSlots){v=e.scopedSlots[r.slot]({});if(v)return v}if("rows"in r&&"object"==typeof e.props.tableComponent){j=r.cells.map((function(t,e){return["cell:"+e,function(){return n(t)}]}));return t(e.props.tableComponent,{props:{tableData:r},scopedSlots:Object.fromEntries(j)})}return!1}function n(t){return t.map((function(t){return r(t)})).flat(1).filter(Boolean)}return t("div",n(e.props.content))}});e["default"]=S},"405b":function(t,e,r){var n,o,i;(function(r,c){o=[],n=c,i="function"===typeof n?n.apply(e,o):n,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(d.stack)||c.exec(d.stack),l=u&&u[1]||!1,a=u&&u[2]||!1,s=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===s&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<f.length;p++){if("interactive"===f[p].readyState)return f[p];if(f[p].src===l)return f[p];if(l===s&&f[p].innerHTML&&f[p].innerHTML.trim()===o)return f[p]}return null}}return t}))},"8bbf":function(e,r){e.exports=t}})}));
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["docsRenderer"]=t(require("vue")):e["docsRenderer"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="1c25")}({"1c25":function(e,t,r){"use strict";if(r.r(t),"undefined"!==typeof window){var n=window.document.currentScript,o=r("405b");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function u(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),c=[];try{while((void 0===t||t-- >0)&&!(n=i.next()).done)c.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return c}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}var s=r("8bbf"),f=r.n(s),p=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"doc-table-root",style:e.rootStyles},e._l(e.tableData.cells,(function(t,n){return r("div",{staticClass:"doc-table-cell",style:e.cellStyles(n)},[e._t("cell:"+n)],2)})),0)},d=[],y={name:"DefaultTable",props:{tableData:{type:Object,required:!0}},computed:{numRows(){return this.tableData.rows.length},numColumns(){return this.tableData.rows[0].length},rootStyles(){const e=this.tableData.rows.map(e=>`"${e.map(e=>"area"+e).join(" ")}"`).join(" ");return{display:"grid",gridTemplateAreas:e}}},methods:{cellStyles(e){return{gridArea:"area"+e}}}},m=y;function v(e,t,r,n,o,i,c,u){var a,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),c?(a=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},l._ssrRegister=a):o&&(a=u?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(l.functional){l._injectStyles=a;var s=l.render;l.render=function(e,t){return a.call(t),s(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}var b=v(m,p,d,!1,null,null,null),h=b.exports,S=f.a.extend({functional:!0,name:"Renderer",props:{content:{type:Array,required:!0,default:function(){return[]}},components:{type:Object,default:function(){return{}}},tableComponent:{type:[Object,Boolean],default:function(){return h}},inlineSlotFormat:{type:RegExp,default:function(){return/\[\^(\d*[a-zA-z]+\d*)\](?:(.+)\[\/\1\])*/g}},ignoreCss:{type:Array,default:function(){return[]}}},render:function(e,t){function r(r){var o,i;if("string"==typeof r){var s=r.matchAll(t.props.inlineSlotFormat),f=[];try{for(var p=u(s),d=p.next();!d.done;d=p.next()){var y=d.value;if(void 0!=y.index){var m=y[1],v=y[2];if(m in t.scopedSlots){var b=t.scopedSlots[m]({inner:v});if(b){var h=y.index,S=h+y[0].length;f.push({start:h,end:S,slot:b})}}}}}catch(O){o={error:O}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(!f.length)return r;var g=[],j=0;return f.sort((function(e,t){return e.start-t.start})).forEach((function(e){var t=e.start,n=e.end,o=e.slot;j!=t&&g.push(r.slice(j,t)),g.push.apply(g,l(o)),j=n})),j!=r.length&&g.push(r.slice(j)),g}if("element"in r){var _=c({},r.attrs&&{attrs:r.attrs});return r.style&&(_.style=Object.fromEntries(Object.entries(r.style).filter((function(e){var r=a(e,1),n=r[0];return!t.props.ignoreCss.includes(n)})))),e(r.element,_,n(r.children))}if("component"in r){_={};if(!(r.component in t.props.components))return!1;if(r.props&&(_.props=r.props),r.slots){var x=Object.entries(r.slots).map((function(e){var t=a(e,2),r=t[0],o=t[1];return[r,function(){return n(o)}]}));_.scopedSlots=Object.fromEntries(x)}return e(t.props.components[r.component],_)}if("slot"in r&&r.slot in t.scopedSlots){b=t.scopedSlots[r.slot]({});if(b)return b}if("rows"in r&&"object"==typeof t.props.tableComponent){x=r.cells.map((function(e,t){return["cell:"+t,function(){return n(e)}]}));return e(t.props.tableComponent,{props:{tableData:r},scopedSlots:Object.fromEntries(x)})}return!1}function n(e){return e.map((function(e){return r(e)})).flat(1).filter(Boolean)}return e("div",t.data,n(t.props.content))}});t["default"]=S},"405b":function(e,t,r){var n,o,i;(function(r,c){o=[],n=c,i="function"===typeof n?n.apply(t,o):n,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,u=i.exec(d.stack)||c.exec(d.stack),a=u&&u[1]||!1,l=u&&u[2]||!1,s=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");a===s&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<f.length;p++){if("interactive"===f[p].readyState)return f[p];if(f[p].src===a)return f[p];if(a===s&&f[p].innerHTML&&f[p].innerHTML.trim()===o)return f[p]}return null}}return e}))},"8bbf":function(t,r){t.exports=e}})}));
//# sourceMappingURL=docsRenderer.umd.min.js.map
{
"name": "docs-renderer-vue2",
"version": "0.1.5",
"version": "0.1.6",
"main": "./dist/docsRenderer.common.js",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc