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

vue-tree-list

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tree-list - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

2

dist/vue-tree-list.min.js

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

!function(A,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueTreeList=e():A.VueTreeList=e()}(this,function(){return function(A){function e(i){if(t[i])return t[i].exports;var M=t[i]={exports:{},id:i,loaded:!1};return A[i].call(M.exports,M,M.exports,e),M.loaded=!0,M.exports}var t={};return e.m=A,e.c=t,e.p="",e(0)}([function(A,e,t){"use strict";e.VueTreeList=t(1),e.TreeNode=t(13).TreeNode,e.Tree=t(13).Tree},function(A,e,t){t(2);var i=t(11)(t(12),t(15),null,null);A.exports=i.exports},function(A,e,t){var i=t(3);"string"==typeof i&&(i=[[A.id,i,""]]),i.locals&&(A.exports=i.locals);t(9)("a44a901e",i,!0)},function(A,e,t){e=A.exports=t(4)(),e.push([A.id,"@font-face{font-family:icomoon;src:url("+t(5)+");src:url("+t(5)+'#iefix) format("embedded-opentype"),url('+t(6)+') format("truetype"),url('+t(7)+') format("woff"),url('+t(8)+'#icomoon) format("svg");font-weight:400;font-style:normal}.vtl-icon{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vtl-icon.vtl-menu-icon{margin-right:4px}.vtl-icon.vtl-menu-icon:hover{color:inherit}.vtl-icon:hover{color:blue}.vtl-icon-file:before{content:"\\E906"}.vtl-icon-folder:before{content:"\\E907"}.vtl-icon-caret-down:before{content:"\\E901"}.vtl-icon-caret-right:before{content:"\\E900"}.vtl-icon-edit:before{content:"\\E902"}.vtl-icon-folder-plus-e:before{content:"\\E903"}.vtl-icon-plus:before{content:"\\E904"}.vtl-icon-trash:before{content:"\\E905"}.vtl-border{height:5px}.vtl-border.vtl-up{margin-top:-5px}.vtl-border.vtl-bottom,.vtl-border.vtl-up{background-color:transparent}.vtl-border.vtl-active{border-bottom:3px dashed blue}.vtl-tree-node{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:5px 0 5px 1rem}.vtl-tree-node .vtl-input{border:none;max-width:150px;border-bottom:1px solid blue}.vtl-tree-node:hover{background-color:#f0f0f0}.vtl-tree-node.vtl-active{outline:2px dashed pink}.vtl-tree-node .vtl-caret{margin-left:-1rem}.vtl-tree-node .vtl-operation{margin-left:2rem;letter-spacing:1px}.vtl-item{cursor:pointer}.vtl-tree-margin{margin-left:2em}',""])},function(A,e){A.exports=function(){var A=[];return A.toString=function(){for(var A=[],e=0;e<this.length;e++){var t=this[e];t[2]?A.push("@media "+t[2]+"{"+t[1]+"}"):A.push(t[1])}return A.join("")},A.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},M=0;M<this.length;M++){var o=this[M][0];"number"==typeof o&&(i[o]=!0)}for(M=0;M<e.length;M++){var n=e[M];"number"==typeof n[0]&&i[n[0]]||(t&&!n[2]?n[2]=t:t&&(n[2]="("+n[2]+") and ("+t+")"),A.push(n))}},A}},function(A,e){A.exports="data:application/vnd.ms-fontobject;base64,4AgAADwIAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA07p/gAAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIF+AAAALwAAABgY21hcBdW0o4AAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmXV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cyMi43NjVsODIuNDQxLTgyLjU4OGgtODIuNDQxdjgyLjU4OHpNMjU0Ljc3NSAxMjguNTI0djYzOS42MzVoMzIwLjcwNHYtMTkyLjA0MWgxOTEuNjk5di00NDcuNTk1aC01MTIuNDAzeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGU5MDc7IiBnbHlwaC1uYW1lPSJmb2xkZXIiIGQ9Ik05MDMuODEzIDY4Ny4yMDZoLTQwNy45MThsLTE0MS4zNDIgMTE4LjA5NWMtNy45NDYgMTAuNTEtMjAuNDc2IDE2Ljc3NC0zMy41MjEgMTYuNzc0aC0yMDcuNTA0Yy0yMy4yNzEgMC00Mi4yMjMtMTkuMTU4LTQyLjIyMy00Mi43MTR2LTY2Ni41OTljMC0yMy4yOTkgMTguOTUtNDIuMjUxIDQyLjIyMy00Mi4yNTFoNzkwLjI4NmMyMy4yOTYgMCA0Mi4yNDYgMTguOTUgNDIuMjQ2IDQyLjI1MXY1MzIuMjIzYzAuMDAxIDIzLjI3NC0xOC45NDkgNDIuMjIzLTQyLjI0NSA0Mi4yMjN6TTEyNC4zMiA2ODcuMjA2djgxLjg1MmgxOTEuODY5bDk3LjQzNS04MS44NTJoLTI4OS4zMDV6TTEyNC4zMiA2MzQuMTg3aDc2OC43MnYtNTEwLjY1N2gtNzY4LjcydjUxMC42NTd6IiAvPgo8L2ZvbnQ+PC9kZWZzPjwvc3ZnPg=="},function(A,e,t){function i(A){for(var e=0;e<A.length;e++){var t=A[e],i=g[t.id];if(i){i.refs++;for(var M=0;M<i.parts.length;M++)i.parts[M](t.parts[M]);for(;M<t.parts.length;M++)i.parts.push(o(t.parts[M]));i.parts.length>t.parts.length&&(i.parts.length=t.parts.length)}else{for(var n=[],M=0;M<t.parts.length;M++)n.push(o(t.parts[M]));g[t.id]={id:t.id,refs:1,parts:n}}}}function M(){var A=document.createElement("style");return A.type="text/css",l.appendChild(A),A}function o(A){var e,t,i=document.querySelector('style[data-vue-ssr-id~="'+A.id+'"]');if(i){if(E)return I;i.parentNode.removeChild(i)}if(u){var o=N++;i=s||(s=M()),e=n.bind(null,i,o,!1),t=n.bind(null,i,o,!0)}else i=M(),e=r.bind(null,i),t=function(){i.parentNode.removeChild(i)};return e(A),function(i){if(i){if(i.css===A.css&&i.media===A.media&&i.sourceMap===A.sourceMap)return;e(A=i)}else t()}}function n(A,e,t,i){var M=t?"":i.css;if(A.styleSheet)A.styleSheet.cssText=D(e,M);else{var o=document.createTextNode(M),n=A.childNodes;n[e]&&A.removeChild(n[e]),n.length?A.insertBefore(o,n[e]):A.appendChild(o)}}function r(A,e){var t=e.css,i=e.media,M=e.sourceMap;if(i&&A.setAttribute("media",i),M&&(t+="\n/*# sourceURL="+M.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(M))))+" */"),A.styleSheet)A.styleSheet.cssText=t;else{for(;A.firstChild;)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(t))}}var a="undefined"!=typeof document,d=t(10),g={},l=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,N=0,E=!1,I=function(){},u="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());A.exports=function(A,e,t){E=t;var M=d(A,e);return i(M),function(e){for(var t=[],o=0;o<M.length;o++){var n=M[o],r=g[n.id];r.refs--,t.push(r)}e?(M=d(A,e),i(M)):M=[];for(var o=0;o<t.length;o++){var r=t[o];if(0===r.refs){for(var a=0;a<r.parts.length;a++)r.parts[a]();delete g[r.id]}}}};var D=function(){var A=[];return function(e,t){return A[e]=t,A.filter(Boolean).join("\n")}}()},function(A,e){A.exports=function(A,e){for(var t=[],i={},M=0;M<e.length;M++){var o=e[M],n=o[0],r=o[1],a=o[2],d=o[3],g={id:A+":"+M,css:r,media:a,sourceMap:d};i[n]?i[n].parts.push(g):t.push(i[n]={id:n,parts:[g]})}return t}},function(A,e){A.exports=function(A,e,t,i){var M,o=A=A||{},n=typeof A.default;"object"!==n&&"function"!==n||(M=A,o=A.default);var r="function"==typeof o?o.options:o;if(e&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns),t&&(r._scopeId=t),i){var a=Object.create(r.computed||null);Object.keys(i).forEach(function(A){var e=i[A];a[A]=function(){return e}}),r.computed=a}return{esModule:M,exports:o,options:r}}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(13),M=t(14),o=null;e.default={data:function(){return{isHover:!1,editable:!1,isDragEnterUp:!1,isDragEnterBottom:!1,isDragEnterNode:!1,expanded:this.defaultExpanded}},props:{model:{type:Object},defaultLeafNodeName:{type:String,default:"New leaf node"},defaultTreeNodeName:{type:String,default:"New tree node"},defaultExpanded:{type:Boolean,default:!0}},computed:{itemIconClass:function(){return this.model.isLeaf?"vtl-icon-file":"vtl-icon-folder"},caretClass:function(){return this.expanded?"vtl-icon-caret-down":"vtl-icon-caret-right"},isFolder:function(){return this.model.children&&this.model.children.length},treeNodeClass:function(){var A=this.model,e=A.dragDisabled,t=A.disabled,i=this.isDragEnterNode;return{"vtl-tree-node":!0,"vtl-active":i,"vtl-drag-disabled":e,"vtl-disabled":t}}},mounted:function(){var A=this;(0,M.addHandler)(window,"keyup",function(e){13===e.keyCode&&A.editable&&(A.editable=!1)})},beforeDestroy:function(){(0,M.removeHandler)(window,"keyup")},methods:{updateName:function(A){var e=this.model.name;this.model.changeName(A.target.value);var t=this.getRootNode();t.$emit("change-name",{id:this.model.id,oldName:e,newName:A.target.value})},delNode:function(){var A=this.getRootNode();A.$emit("delete-node",this.model)},setEditable:function(){var A=this;this.editable=!0,this.$nextTick(function(){var e=A.$refs.nodeInput;e.focus(),e.setSelectionRange(0,e.value.length)})},setUnEditable:function(){this.editable=!1},toggle:function(){this.isFolder&&(this.expanded=!this.expanded)},mouseOver:function(A){this.model.disabled||(this.isHover=!0)},mouseOut:function(A){this.isHover=!1},click:function(){var A=this.getRootNode();A.$emit("click",this.model)},addChild:function(A){var e=A?this.defaultLeafNodeName:this.defaultTreeNodeName;this.expanded=!0;var t=new i.TreeNode({name:e,isLeaf:A});this.model.addChildren(t,!0);var M=this.getRootNode();M.$emit("add-node",t)},dragStart:function(A){return!this.model.dragDisabled&&!this.model.disabled&&(o=this,A.dataTransfer.setData("data","data"),A.dataTransfer.effectAllowed="move",!0)},dragEnd:function(A){o=null},dragOver:function(A){return A.preventDefault(),!0},dragEnter:function(A){o&&(this.model.isLeaf||(this.isDragEnterNode=!0))},dragLeave:function(A){this.isDragEnterNode=!1},drop:function(A){if(o){var e=o.model.parent;o.model.moveInto(this.model),this.isDragEnterNode=!1;var t=this.getRootNode();t.$emit("drop",{target:this.model,node:o.model,src:e})}},dragEnterUp:function(){o&&(this.isDragEnterUp=!0)},dragOverUp:function(A){return A.preventDefault(),!0},dragLeaveUp:function(){o&&(this.isDragEnterUp=!1)},dropBefore:function(){if(o){var A=o.model.parent;o.model.insertBefore(this.model),this.isDragEnterUp=!1;var e=this.getRootNode();e.$emit("drop-before",{target:this.model,node:o.model,src:A})}},dragEnterBottom:function(){o&&(this.isDragEnterBottom=!0)},dragOverBottom:function(A){return A.preventDefault(),!0},dragLeaveBottom:function(){o&&(this.isDragEnterBottom=!1)},dropAfter:function(){if(o){var A=o.model.parent;o.model.insertAfter(this.model),this.isDragEnterBottom=!1;var e=this.getRootNode();e.$emit("drop-after",{target:this.model,node:o.model,src:A})}},getRootNode:function(){for(var A=this.$parent;"root"!==A._props.model.name;)A=A.$parent;return A}},beforeCreate:function(){this.$options.components.item=t(1)}}},function(A,e){"use strict";function t(A){return this.root=new i({name:"root",isLeaf:!1,id:0}),this.initNode(this.root,A),this.root}var i=function(A){var e=A.id,t=A.isLeaf;this.id="undefined"==typeof e?(new Date).valueOf():e,this.parent=null,this.children=null,this.isLeaf=!!t;for(var i in A)"id"!==i&&"children"!==i&&"isLeaf"!==i&&(this[i]=A[i])};i.prototype.changeName=function(A){this.name=A},i.prototype.addChildren=function(A){if(this.children||(this.children=[]),Array.isArray(A)){for(var e=0,t=A.length;e<t;e++){var i=A[e];i.parent=this,i.pid=this.id}this.children.concat(A)}else{var M=A;M.parent=this,M.pid=this.id,this.children.push(M)}},i.prototype.remove=function(){var A=this.parent,e=A.findChildIndex(this);A.children.splice(e,1)},i.prototype._removeChild=function(A){for(var e=0,t=this.children.length;e<t;e++)if(this.children[e]===A){this.children.splice(e,1);break}},i.prototype.isTargetChild=function(A){for(var e=A.parent;e;){if(e===this)return!0;e=e.parent}return!1},i.prototype.moveInto=function(A){"root"!==this.name&&this!==A&&(this.isTargetChild(A)||A.isLeaf||(this.parent._removeChild(this),this.parent=A,this.pid=A.id,A.children||(A.children=[]),A.children.unshift(this)))},i.prototype.findChildIndex=function(A){for(var e,t=0,i=this.children.length;t<i;t++)if(this.children[t]===A){e=t;break}return e},i.prototype._beforeInsert=function(A){return"root"!==this.name&&this!==A&&(!this.isTargetChild(A)&&(this.parent._removeChild(this),this.parent=A.parent,this.pid=A.parent.id,!0))},i.prototype.insertBefore=function(A){if(this._beforeInsert(A)){var e=A.parent.findChildIndex(A);A.parent.children.splice(e,0,this)}},i.prototype.insertAfter=function(A){if(this._beforeInsert(A)){var e=A.parent.findChildIndex(A);A.parent.children.splice(e+1,0,this)}},t.prototype.initNode=function(A,e){for(var t=0,M=e.length;t<M;t++){var o=e[t],n=new i(o);o.children&&o.children.length>0&&this.initNode(n,o.children),A.addChildren(n)}},e.Tree=t,e.TreeNode=i},function(A,e){"use strict";var t;e.addHandler=function(A,e,i){t=i,A.addEventListener?A.addEventListener(e,i,!1):A.attachEvent?A.attachEvent("on"+e,i):A["on"+e]=i},e.removeHandler=function(A,e){A.removeEventListener?A.removeEventListener(e,t,!1):A.detachEvent?A.detachEvent("on"+e,t):A["on"+e]=null}},function(A,e){A.exports={render:function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("div",{staticClass:"vtl"},["root"!==A.model.name?t("div",[t("div",{staticClass:"vtl-border vtl-up",class:{"vtl-active":A.isDragEnterUp},on:{drop:A.dropBefore,dragenter:A.dragEnterUp,dragover:A.dragOverUp,dragleave:A.dragLeaveUp}}),A._v(" "),t("div",{class:A.treeNodeClass,attrs:{id:A.model.id,draggable:!A.model.dragDisabled},on:{dragstart:A.dragStart,dragover:A.dragOver,dragenter:A.dragEnter,dragleave:A.dragLeave,drop:A.drop,dragend:A.dragEnd,mouseover:A.mouseOver,mouseout:A.mouseOut,click:function(e){return e.stopPropagation(),A.click(e)}}},[A.model.children&&A.model.children.length>0?t("span",{staticClass:"vtl-caret vtl-is-small"},[t("i",{staticClass:"vtl-icon",class:A.caretClass,on:{click:function(e){return e.preventDefault(),e.stopPropagation(),A.toggle(e)}}})]):A._e(),A._v(" "),A.model.isLeaf?t("span",[A._t("leafNodeIcon",[t("i",{staticClass:"vtl-icon vtl-menu-icon vtl-icon-file"})])],2):t("span",[A._t("treeNodeIcon",[t("i",{staticClass:"vtl-icon vtl-menu-icon vtl-icon-folder"})])],2),A._v(" "),A.editable?t("input",{ref:"nodeInput",staticClass:"vtl-input",attrs:{type:"text"},domProps:{value:A.model.name},on:{input:A.updateName,blur:A.setUnEditable}}):t("div",{staticClass:"vtl-node-content"},[A._v("\n "+A._s(A.model.name)+"\n ")]),A._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:A.isHover,expression:"isHover"}],staticClass:"vtl-operation"},[A.model.isLeaf||A.model.addTreeNodeDisabled?A._e():t("span",{attrs:{title:"add tree node"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.addChild(!1)}}},[A._t("addTreeNode",[t("i",{staticClass:"vtl-icon vtl-icon-folder-plus-e"})])],2),A._v(" "),A.model.isLeaf||A.model.addLeafNodeDisabled?A._e():t("span",{attrs:{title:"add leaf node"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.addChild(!0)}}},[A._t("addLeafNode",[t("i",{staticClass:"vtl-icon vtl-icon-plus"})])],2),A._v(" "),A.model.editNodeDisabled?A._e():t("span",{attrs:{title:"edit"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.setEditable(e)}}},[A._t("editNode",[t("i",{staticClass:"vtl-icon vtl-icon-edit"})])],2),A._v(" "),A.model.delNodeDisabled?A._e():t("span",{attrs:{title:"delete"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.delNode(e)}}},[A._t("delNode",[t("i",{staticClass:"vtl-icon vtl-icon-trash"})])],2)])]),A._v(" "),A.model.children&&A.model.children.length>0&&A.expanded?t("div",{staticClass:"vtl-border vtl-bottom",class:{"vtl-active":A.isDragEnterBottom},on:{drop:A.dropAfter,dragenter:A.dragEnterBottom,dragover:A.dragOverBottom,dragleave:A.dragLeaveBottom}}):A._e()]):A._e(),A._v(" "),A.isFolder?t("div",{directives:[{name:"show",rawName:"v-show",value:"root"===A.model.name||A.expanded,expression:"model.name === 'root' || expanded"}],class:{"vtl-tree-margin":"root"!==A.model.name}},A._l(A.model.children,function(e){return t("item",{key:e.id,attrs:{"default-tree-node-name":A.defaultTreeNodeName,"default-leaf-node-name":A.defaultLeafNodeName,"default-expanded":A.defaultExpanded,model:e}},[A._t("addTreeNode",null,{slot:"addTreeNode"}),A._v(" "),A._t("addLeafNode",null,{slot:"addLeafNode"}),A._v(" "),A._t("editNode",null,{slot:"editNode"}),A._v(" "),A._t("delNode",null,{slot:"delNode"})],2)}),1):A._e()])},staticRenderFns:[]}}])});
!function(A,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueTreeList=e():A.VueTreeList=e()}(this,function(){return function(A){function e(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return A[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var t={};return e.m=A,e.c=t,e.p="",e(0)}([function(A,e,t){"use strict";e.VueTreeList=t(1),e.TreeNode=t(13).TreeNode,e.Tree=t(13).Tree},function(A,e,t){t(2);var i=t(11)(t(12),t(15),null,null);A.exports=i.exports},function(A,e,t){var i=t(3);"string"==typeof i&&(i=[[A.id,i,""]]),i.locals&&(A.exports=i.locals);t(9)("a44a901e",i,!0)},function(A,e,t){e=A.exports=t(4)(),e.push([A.id,"@font-face{font-family:icomoon;src:url("+t(5)+");src:url("+t(5)+'#iefix) format("embedded-opentype"),url('+t(6)+') format("truetype"),url('+t(7)+') format("woff"),url('+t(8)+'#icomoon) format("svg");font-weight:400;font-style:normal}.vtl-icon{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vtl-icon.vtl-menu-icon{margin-right:4px}.vtl-icon.vtl-menu-icon:hover{color:inherit}.vtl-icon:hover{color:blue}.vtl-icon-file:before{content:"\\E906"}.vtl-icon-folder:before{content:"\\E907"}.vtl-icon-caret-down:before{content:"\\E901"}.vtl-icon-caret-right:before{content:"\\E900"}.vtl-icon-edit:before{content:"\\E902"}.vtl-icon-folder-plus-e:before{content:"\\E903"}.vtl-icon-plus:before{content:"\\E904"}.vtl-icon-trash:before{content:"\\E905"}.vtl-border{height:5px}.vtl-border.vtl-up{margin-top:-5px}.vtl-border.vtl-bottom,.vtl-border.vtl-up{background-color:transparent}.vtl-border.vtl-active{border-bottom:3px dashed blue}.vtl-tree-node{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:5px 0 5px 1rem}.vtl-tree-node .vtl-input{border:none;max-width:150px;border-bottom:1px solid blue}.vtl-tree-node:hover{background-color:#f0f0f0}.vtl-tree-node.vtl-active{outline:2px dashed pink}.vtl-tree-node .vtl-caret{margin-left:-1rem}.vtl-tree-node .vtl-operation{margin-left:2rem;letter-spacing:1px}.vtl-item{cursor:pointer}.vtl-tree-margin{margin-left:2em}',""])},function(A,e){A.exports=function(){var A=[];return A.toString=function(){for(var A=[],e=0;e<this.length;e++){var t=this[e];t[2]?A.push("@media "+t[2]+"{"+t[1]+"}"):A.push(t[1])}return A.join("")},A.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},o=0;o<this.length;o++){var n=this[o][0];"number"==typeof n&&(i[n]=!0)}for(o=0;o<e.length;o++){var M=e[o];"number"==typeof M[0]&&i[M[0]]||(t&&!M[2]?M[2]=t:t&&(M[2]="("+M[2]+") and ("+t+")"),A.push(M))}},A}},function(A,e){A.exports="data:application/vnd.ms-fontobject;base64,4AgAADwIAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA07p/gAAAAAAAAAAAAAAAAAAAAAAAAA4AaQBjAG8AbQBvAG8AbgAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgBpAGMAbwBtAG8AbwBuAAAAAAAAAQAAAAsAgAADADBPUy8yDxIF+AAAALwAAABgY21hcBdW0o4AAAEcAAAAVGdhc3AAAAAQAAABcAAAAAhnbHlmXV8IXAAAAXgAAARUaGVhZA5OKqMAAAXMAAAANmhoZWEHwgPNAAAGBAAAACRobXR4JgAEfAAABigAAAAwbG9jYQWkBEwAAAZYAAAAGm1heHAAEgBwAAAGdAAAACBuYW1lmUoJ+wAABpQAAAGGcG9zdAADAAAAAAgcAAAAIAADA8cBkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQAAAAAAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAEAAAOkHA8D/wABAA8AAQAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAMAAAAcAAMAAQAAABwABAA4AAAACgAIAAIAAgABACDpB//9//8AAAAAACDpAP/9//8AAf/jFwQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEBMgCbAnsC5QASAAABFAcBBiMiJyY1ETQ3NjMyFwEWAnsL/wAKDw8LCwsLDw8KAQALAcAPC/8ACwsLDwIADwsLC/8ACwA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AAAgAQAAEAEAAC/BAAARwAAAAAACgAUAB4AQgBmALYBGAFKAdQB9gIqAAAAAQAAAAwAbgAFAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(A,e){A.exports="data:application/font-woff;base64,d09GRgABAAAAAAiIAAsAAAAACDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIF+GNtYXAAAAFoAAAAVAAAAFQXVtKOZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAABFQAAARUXV8IXGhlYWQAAAYYAAAANgAAADYOTiqjaGhlYQAABlAAAAAkAAAAJAfCA81obXR4AAAGdAAAADAAAAAwJgAEfGxvY2EAAAakAAAAGgAAABoFpARMbWF4cAAABsAAAAAgAAAAIAASAHBuYW1lAAAG4AAAAYYAAAGGmUoJ+3Bvc3QAAAhoAAAAIAAAACAAAwAAAAMDxwGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAAR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yMjN6TTEyNC4zMiA2ODcuMjA2djgxLjg1MmgxOTEuODY5bDk3LjQzNS04MS44NTJoLTI4OS4zMDV6TTEyNC4zMiA2MzQuMTg3aDc2OC43MnYtNTEwLjY1N2gtNzY4LjcydjUxMC42NTd6IiAvPgo8L2ZvbnQ+PC9kZWZzPjwvc3ZnPg=="},function(A,e,t){function i(A){for(var e=0;e<A.length;e++){var t=A[e],i=g[t.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](t.parts[o]);for(;o<t.parts.length;o++)i.parts.push(n(t.parts[o]));i.parts.length>t.parts.length&&(i.parts.length=t.parts.length)}else{for(var M=[],o=0;o<t.parts.length;o++)M.push(n(t.parts[o]));g[t.id]={id:t.id,refs:1,parts:M}}}}function o(){var A=document.createElement("style");return A.type="text/css",l.appendChild(A),A}function n(A){var e,t,i=document.querySelector('style[data-vue-ssr-id~="'+A.id+'"]');if(i){if(E)return I;i.parentNode.removeChild(i)}if(c){var n=s++;i=N||(N=o()),e=M.bind(null,i,n,!1),t=M.bind(null,i,n,!0)}else i=o(),e=r.bind(null,i),t=function(){i.parentNode.removeChild(i)};return e(A),function(i){if(i){if(i.css===A.css&&i.media===A.media&&i.sourceMap===A.sourceMap)return;e(A=i)}else t()}}function M(A,e,t,i){var o=t?"":i.css;if(A.styleSheet)A.styleSheet.cssText=u(e,o);else{var n=document.createTextNode(o),M=A.childNodes;M[e]&&A.removeChild(M[e]),M.length?A.insertBefore(n,M[e]):A.appendChild(n)}}function r(A,e){var t=e.css,i=e.media,o=e.sourceMap;if(i&&A.setAttribute("media",i),o&&(t+="\n/*# sourceURL="+o.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),A.styleSheet)A.styleSheet.cssText=t;else{for(;A.firstChild;)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(t))}}var a="undefined"!=typeof document,d=t(10),g={},l=a&&(document.head||document.getElementsByTagName("head")[0]),N=null,s=0,E=!1,I=function(){},c="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());A.exports=function(A,e,t){E=t;var o=d(A,e);return i(o),function(e){for(var t=[],n=0;n<o.length;n++){var M=o[n],r=g[M.id];r.refs--,t.push(r)}e?(o=d(A,e),i(o)):o=[];for(var n=0;n<t.length;n++){var r=t[n];if(0===r.refs){for(var a=0;a<r.parts.length;a++)r.parts[a]();delete g[r.id]}}}};var u=function(){var A=[];return function(e,t){return A[e]=t,A.filter(Boolean).join("\n")}}()},function(A,e){A.exports=function(A,e){for(var t=[],i={},o=0;o<e.length;o++){var n=e[o],M=n[0],r=n[1],a=n[2],d=n[3],g={id:A+":"+o,css:r,media:a,sourceMap:d};i[M]?i[M].parts.push(g):t.push(i[M]={id:M,parts:[g]})}return t}},function(A,e){A.exports=function(A,e,t,i){var o,n=A=A||{},M=typeof A.default;"object"!==M&&"function"!==M||(o=A,n=A.default);var r="function"==typeof n?n.options:n;if(e&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns),t&&(r._scopeId=t),i){var a=Object.create(r.computed||null);Object.keys(i).forEach(function(A){var e=i[A];a[A]=function(){return e}}),r.computed=a}return{esModule:o,exports:n,options:r}}},function(A,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(13),o=t(14),n=null;e.default={data:function(){return{isHover:!1,editable:!1,isDragEnterUp:!1,isDragEnterBottom:!1,isDragEnterNode:!1,expanded:this.defaultExpanded}},props:{model:{type:Object},defaultLeafNodeName:{type:String,default:"New leaf node"},defaultTreeNodeName:{type:String,default:"New tree node"},defaultExpanded:{type:Boolean,default:!0}},computed:{itemIconClass:function(){return this.model.isLeaf?"vtl-icon-file":"vtl-icon-folder"},caretClass:function(){return this.expanded?"vtl-icon-caret-down":"vtl-icon-caret-right"},isFolder:function(){return this.model.children&&this.model.children.length},treeNodeClass:function(){var A=this.model,e=A.dragDisabled,t=A.disabled,i=this.isDragEnterNode;return{"vtl-tree-node":!0,"vtl-active":i,"vtl-drag-disabled":e,"vtl-disabled":t}}},mounted:function(){var A=this;(0,o.addHandler)(window,"keyup",function(e){13===e.keyCode&&A.editable&&(A.editable=!1)})},beforeDestroy:function(){(0,o.removeHandler)(window,"keyup")},methods:{updateName:function(A){var e=this.model.name;this.model.changeName(A.target.value);var t=this.getRootNode();t.$emit("change-name",{id:this.model.id,oldName:e,newName:A.target.value})},delNode:function(){var A=this.getRootNode();A.$emit("delete-node",this.model)},setEditable:function(){var A=this;this.editable=!0,this.$nextTick(function(){var e=A.$refs.nodeInput;e.focus(),e.setSelectionRange(0,e.value.length)})},setUnEditable:function(){this.editable=!1},toggle:function(){this.isFolder&&(this.expanded=!this.expanded)},mouseOver:function(A){this.model.disabled||(this.isHover=!0)},mouseOut:function(A){this.isHover=!1},click:function(){var A=this.getRootNode();A.$emit("click",this.model)},addChild:function(A){var e=A?this.defaultLeafNodeName:this.defaultTreeNodeName;this.expanded=!0;var t=new i.TreeNode({name:e,isLeaf:A});this.model.addChildren(t,!0);var o=this.getRootNode();o.$emit("add-node",t)},dragStart:function(A){return!this.model.dragDisabled&&!this.model.disabled&&(n=this,A.dataTransfer.setData("data","data"),A.dataTransfer.effectAllowed="move",!0)},dragEnd:function(A){n=null},dragOver:function(A){return A.preventDefault(),!0},dragEnter:function(A){n&&(this.model.isLeaf||(this.isDragEnterNode=!0))},dragLeave:function(A){this.isDragEnterNode=!1},drop:function(A){if(n){var e=n.model.parent;n.model.moveInto(this.model),this.isDragEnterNode=!1;var t=this.getRootNode();t.$emit("drop",{target:this.model,node:n.model,src:e})}},dragEnterUp:function(){n&&(this.isDragEnterUp=!0)},dragOverUp:function(A){return A.preventDefault(),!0},dragLeaveUp:function(){n&&(this.isDragEnterUp=!1)},dropBefore:function(){if(n){var A=n.model.parent;n.model.insertBefore(this.model),this.isDragEnterUp=!1;var e=this.getRootNode();e.$emit("drop-before",{target:this.model,node:n.model,src:A})}},dragEnterBottom:function(){n&&(this.isDragEnterBottom=!0)},dragOverBottom:function(A){return A.preventDefault(),!0},dragLeaveBottom:function(){n&&(this.isDragEnterBottom=!1)},dropAfter:function(){if(n){var A=n.model.parent;n.model.insertAfter(this.model),this.isDragEnterBottom=!1;var e=this.getRootNode();e.$emit("drop-after",{target:this.model,node:n.model,src:A})}},getRootNode:function(){for(var A=this.$parent;"root"!==A._props.model.name;)A=A.$parent;return A}},beforeCreate:function(){this.$options.components.item=t(1)}}},function(A,e){"use strict";function t(A){return this.root=new i({name:"root",isLeaf:!1,id:0}),this.initNode(this.root,A),this.root}var i=function(A){var e=A.id,t=A.isLeaf;this.id="undefined"==typeof e?(new Date).valueOf():e,this.parent=null,this.children=null,this.isLeaf=!!t;for(var i in A)"id"!==i&&"children"!==i&&"isLeaf"!==i&&(this[i]=A[i])};i.prototype.changeName=function(A){this.name=A},i.prototype.addChildren=function(A){if(this.children||(this.children=[]),Array.isArray(A)){for(var e=0,t=A.length;e<t;e++){var i=A[e];i.parent=this,i.pid=this.id}this.children.concat(A)}else{var o=A;o.parent=this,o.pid=this.id,this.children.push(o)}},i.prototype.remove=function(){var A=this.parent,e=A.findChildIndex(this);A.children.splice(e,1)},i.prototype._removeChild=function(A){for(var e=0,t=this.children.length;e<t;e++)if(this.children[e]===A){this.children.splice(e,1);break}},i.prototype.isTargetChild=function(A){for(var e=A.parent;e;){if(e===this)return!0;e=e.parent}return!1},i.prototype.moveInto=function(A){"root"!==this.name&&this!==A&&(this.isTargetChild(A)||A.isLeaf||(this.parent._removeChild(this),this.parent=A,this.pid=A.id,A.children||(A.children=[]),A.children.unshift(this)))},i.prototype.findChildIndex=function(A){for(var e,t=0,i=this.children.length;t<i;t++)if(this.children[t]===A){e=t;break}return e},i.prototype._beforeInsert=function(A){return"root"!==this.name&&this!==A&&(!this.isTargetChild(A)&&(this.parent._removeChild(this),this.parent=A.parent,this.pid=A.parent.id,!0))},i.prototype.insertBefore=function(A){if(this._beforeInsert(A)){var e=A.parent.findChildIndex(A);A.parent.children.splice(e,0,this)}},i.prototype.insertAfter=function(A){if(this._beforeInsert(A)){var e=A.parent.findChildIndex(A);A.parent.children.splice(e+1,0,this)}},t.prototype.initNode=function(A,e){for(var t=0,o=e.length;t<o;t++){var n=e[t],M=new i(n);n.children&&n.children.length>0&&this.initNode(M,n.children),A.addChildren(M)}},e.Tree=t,e.TreeNode=i},function(A,e){"use strict";var t;e.addHandler=function(A,e,i){t=i,A.addEventListener?A.addEventListener(e,i,!1):A.attachEvent?A.attachEvent("on"+e,i):A["on"+e]=i},e.removeHandler=function(A,e){A.removeEventListener?A.removeEventListener(e,t,!1):A.detachEvent?A.detachEvent("on"+e,t):A["on"+e]=null}},function(A,e){A.exports={render:function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("div",{staticClass:"vtl"},["root"!==A.model.name?t("div",[t("div",{staticClass:"vtl-border vtl-up",class:{"vtl-active":A.isDragEnterUp},on:{drop:A.dropBefore,dragenter:A.dragEnterUp,dragover:A.dragOverUp,dragleave:A.dragLeaveUp}}),A._v(" "),t("div",{class:A.treeNodeClass,attrs:{id:A.model.id,draggable:!A.model.dragDisabled},on:{dragstart:A.dragStart,dragover:A.dragOver,dragenter:A.dragEnter,dragleave:A.dragLeave,drop:A.drop,dragend:A.dragEnd,mouseover:A.mouseOver,mouseout:A.mouseOut,click:function(e){return e.stopPropagation(),A.click(e)}}},[A.model.children&&A.model.children.length>0?t("span",{staticClass:"vtl-caret vtl-is-small"},[t("i",{staticClass:"vtl-icon",class:A.caretClass,on:{click:function(e){return e.preventDefault(),e.stopPropagation(),A.toggle(e)}}})]):A._e(),A._v(" "),A.model.isLeaf?t("span",[A._t("leafNodeIcon",[t("i",{staticClass:"vtl-icon vtl-menu-icon vtl-icon-file"})])],2):t("span",[A._t("treeNodeIcon",[t("i",{staticClass:"vtl-icon vtl-menu-icon vtl-icon-folder"})])],2),A._v(" "),A.editable?t("input",{ref:"nodeInput",staticClass:"vtl-input",attrs:{type:"text"},domProps:{value:A.model.name},on:{input:A.updateName,blur:A.setUnEditable}}):t("div",{staticClass:"vtl-node-content"},[A._v("\n "+A._s(A.model.name)+"\n ")]),A._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:A.isHover,expression:"isHover"}],staticClass:"vtl-operation"},[A.model.isLeaf||A.model.addTreeNodeDisabled?A._e():t("span",{attrs:{title:"add tree node"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.addChild(!1)}}},[A._t("addTreeNodeIcon",[t("i",{staticClass:"vtl-icon vtl-icon-folder-plus-e"})])],2),A._v(" "),A.model.isLeaf||A.model.addLeafNodeDisabled?A._e():t("span",{attrs:{title:"add leaf node"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.addChild(!0)}}},[A._t("addLeafNodeIcon",[t("i",{staticClass:"vtl-icon vtl-icon-plus"})])],2),A._v(" "),A.model.editNodeDisabled?A._e():t("span",{attrs:{title:"edit"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.setEditable(e)}}},[A._t("editNodeIcon",[t("i",{staticClass:"vtl-icon vtl-icon-edit"})])],2),A._v(" "),A.model.delNodeDisabled?A._e():t("span",{attrs:{title:"delete"},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),A.delNode(e)}}},[A._t("delNodeIcon",[t("i",{staticClass:"vtl-icon vtl-icon-trash"})])],2)])]),A._v(" "),A.model.children&&A.model.children.length>0&&A.expanded?t("div",{staticClass:"vtl-border vtl-bottom",class:{"vtl-active":A.isDragEnterBottom},on:{drop:A.dropAfter,dragenter:A.dragEnterBottom,dragover:A.dragOverBottom,dragleave:A.dragLeaveBottom}}):A._e()]):A._e(),A._v(" "),A.isFolder?t("div",{directives:[{name:"show",rawName:"v-show",value:"root"===A.model.name||A.expanded,expression:"model.name === 'root' || expanded"}],class:{"vtl-tree-margin":"root"!==A.model.name}},A._l(A.model.children,function(e){return t("item",{key:e.id,attrs:{"default-tree-node-name":A.defaultTreeNodeName,"default-leaf-node-name":A.defaultLeafNodeName,"default-expanded":A.defaultExpanded,model:e}},[A._t("addTreeNodeIcon",null,{slot:"addTreeNodeIcon"}),A._v(" "),A._t("addLeafNodeIcon",null,{slot:"addLeafNodeIcon"}),A._v(" "),A._t("editNodeIcon",null,{slot:"editNodeIcon"}),A._v(" "),A._t("delNodeIcon",null,{slot:"delNodeIcon"}),A._v(" "),A._t("leafNodeIcon",null,{slot:"leafNodeIcon"}),A._v(" "),A._t("treeNodeIcon",null,{slot:"treeNodeIcon"})],2)}),1):A._e()])},staticRenderFns:[]}}])});
{
"name": "vue-tree-list",
"version": "1.3.2",
"version": "1.4.0",
"description": "A vue component for tree structure. Support adding treenode/leafnode, editing node's name and dragging.",

@@ -45,2 +45,3 @@ "main": "dist/vue-tree-list.min.js",

"css-loader": "^0.26.2",
"cz-conventional-changelog": "^2.1.0",
"file-loader": "^0.10.1",

@@ -65,6 +66,3 @@ "html-webpack-plugin": "^2.8.1",

"webpack-merge": "^0.14.1"
},
"dependencies": {
"cz-conventional-changelog": "^2.1.0"
}
}

@@ -11,26 +11,29 @@ # vue-tree-list

```javascript
```html
<template>
<div>
<button @click="addNode">Add Node</button>
<vue-tree-list
@click="onClick"
@change-name="onChangeName"
@delete-node="onDel"
@add-node="onAddNode"
:model="data"
default-tree-node-name="new node"
default-leaf-node-name="new leaf"
v-bind:default-expanded="false">
<span class="icon" slot="addTreeNode">addTreeNode</span>
<span class="icon" slot="addLeafNode">addLeafNode</span>
<span class="icon" slot="editNode">editNode</span>
<span class="icon" slot="delNode">delNode</span>
</vue-tree-list>
<button @click="getNewTree">Get new tree</button>
<pre>
{{newTree}}
</pre>
</div>
<div>
<button @click="addNode">Add Node</button>
<vue-tree-list
@click="onClick"
@change-name="onChangeName"
@delete-node="onDel"
@add-node="onAddNode"
:model="data"
default-tree-node-name="new node"
default-leaf-node-name="new leaf"
v-bind:default-expanded="false">
<span class="icon" slot="addTreeNodeIcon">📂</span>
<span class="icon" slot="addLeafNodeIcon">+</span>
<span class="icon" slot="editNodeIcon">📃</span>
<span class="icon" slot="delNodeIcon">✂️</span>
<span class="icon" slot="leafNodeIcon">🍃</span>
<span class="icon" slot="treeNodeIcon">🌲</span>
</vue-tree-list>
<button @click="getNewTree">Get new tree</button>
<pre>
{{newTree}}
</pre>
</div>
</template>
<script>

@@ -128,2 +131,3 @@ import { VueTreeList, Tree, TreeNode } from 'vue-tree-list'

</script>
<style lang="less" rel="stylesheet/less">

@@ -198,9 +202,11 @@ .vtl {

# customize operation icons
The component has default icons for `addTreeNode`, `addLeafNode`, `editNode`, `delNode` button, but you can also customize them:
The component has default icons for `addTreeNodeIcon`, `addLeafNodeIcon`, `editNodeIcon`, `delNodeIcon`, `leafNodeIcon`, `treeNodeIcon` button, but you can also customize them:
```html
<span class="icon" slot="addTreeNode">addTreeNode</span>
<span class="icon" slot="addLeafNode">addLeafNode</span>
<span class="icon" slot="editNode">editNode</span>
<span class="icon" slot="delNode">delNode</span>
<span class="icon" slot="addTreeNodeIcon">📂</span>
<span class="icon" slot="addLeafNodeIcon">+</span>
<span class="icon" slot="editNodeIcon">📃</span>
<span class="icon" slot="delNodeIcon">✂️</span>
<span class="icon" slot="leafNodeIcon">🍃</span>
<span class="icon" slot="treeNodeIcon">🌲</span>
```

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