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

@opentiny/vue-tree

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-tree - npm Package Compare versions

Comparing version 3.18.0 to 3.19.0

2

lib/index.js

@@ -189,3 +189,3 @@ function _extends() {

});
var version = "3.18.0";
var version = "3.19.0";
Tree.install = function(Vue) {

@@ -192,0 +192,0 @@ Vue.component(Tree.name, Tree);

import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/tree/vue';
import { defineComponent, directive, h, setup, isVue2, props } from '@opentiny/vue-common';
import { iconChevronRight, iconLoading, iconArrowBottom, iconEdit, iconDel, iconPlusSquare, iconFinish, iconWarning, iconMarkOn } from '@opentiny/vue-icon';
import { iconChevronRight, iconLoadingShadow, iconArrowBottom, iconEdit, iconDel, iconPlusSquare, iconFinish, iconExpand, iconPutAway, iconWarning, iconMarkOn } from '@opentiny/vue-icon';
import Switch from '@opentiny/vue-switch';

@@ -137,3 +137,3 @@ import Popover from '@opentiny/vue-popover';

IconChevronRight: iconChevronRight(),
IconLoading: iconLoading(),
IconLoading: iconLoadingShadow(),
IconArrowBottom: iconArrowBottom(),

@@ -144,2 +144,4 @@ IconEdit: iconEdit(),

IconFinish: iconFinish(),
IconExpand: iconExpand(),
IconPutAway: iconPutAway(),
MenuContext: {

@@ -212,35 +214,13 @@ props: {

var _hoisted_5$1 = {
key: 4,
class: "tiny-tree-node__loading tiny-svg circular",
viewBox: "25 25 50 50"
};
var _hoisted_6$1 = /* @__PURE__ */ createElementVNode(
"circle",
{
class: "path",
cx: "50",
cy: "50",
r: "24",
fill: "none"
},
null,
-1
/* HOISTED */
);
var _hoisted_7$1 = [_hoisted_6$1];
var _hoisted_8$1 = {
key: 6,
class: "tiny-tree-node__content-box"
};
var _hoisted_9$1 = {
key: 0,
class: "tiny-tree-node__checked-mark"
};
var _hoisted_10$1 = ["title"];
var _hoisted_11$1 = ["title"];
var _hoisted_12$1 = ["title"];
var _hoisted_13$1 = ["aria-expanded"];
var _hoisted_6$1 = ["title"];
var _hoisted_7$1 = ["title"];
var _hoisted_8$1 = ["title"];
var _hoisted_9$1 = ["aria-expanded"];
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
var _component_tiny_checkbox = resolveComponent("tiny-checkbox");
var _component_tiny_radio = resolveComponent("tiny-radio");
var _component_icon_loading = resolveComponent("icon-loading");
var _component_tiny_input = resolveComponent("tiny-input");

@@ -383,3 +363,6 @@ var _component_node_content = resolveComponent("node-content");

disabled: !!_ctx.node.disabled
}, null, 8, ["model-value", "label", "disabled"])) : createCommentVNode("v-if", true), _ctx.node.loading ? (openBlock(), createElementBlock("svg", _hoisted_5$1, _hoisted_7$1)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "prefix", {
}, null, 8, ["model-value", "label", "disabled"])) : createCommentVNode("v-if", true), _ctx.node.loading ? (openBlock(), createBlock(_component_icon_loading, {
key: 4,
class: "tiny-tree-node__loading"
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "prefix", {
node: _ctx.node

@@ -404,6 +387,7 @@ }), _ctx.action.type === "edit" && _ctx.action.node && _ctx.action.node === _ctx.node ? (openBlock(), createBlock(_component_tiny_input, {

}, ["stop"]))
}, null, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_8$1, [createVNode(_component_node_content, {
}, null, 8, ["modelValue"])) : (openBlock(), createBlock(_component_node_content, {
key: 6,
node: _ctx.node,
"render-content": _ctx.renderContent
}, null, 8, ["node", "render-content"])])), renderSlot(_ctx.$slots, "suffix", {
}, null, 8, ["node", "render-content"])), renderSlot(_ctx.$slots, "suffix", {
node: _ctx.node

@@ -417,3 +401,3 @@ })]), createElementVNode(

},
[_ctx.showCheckedMark && !_ctx.showCheckbox && !_ctx.node.disabled && _ctx.node.isCurrent ? (openBlock(), createElementBlock("span", _hoisted_9$1, [createVNode(_component_icon_finish)])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "operation", {
[_ctx.showCheckedMark && !_ctx.showCheckbox && !_ctx.node.disabled && _ctx.node.isCurrent ? (openBlock(), createElementBlock("span", _hoisted_5$1, [createVNode(_component_icon_finish)])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "operation", {
node: _ctx.node

@@ -432,3 +416,3 @@ }), _ctx.action.show ? (openBlock(), createElementBlock(

}, ["stop"]))
})) : createCommentVNode("v-if", true)], 8, _hoisted_10$1), createElementVNode("span", {
})) : createCommentVNode("v-if", true)], 8, _hoisted_6$1), createElementVNode("span", {
title: _ctx.t("ui.tree.delete")

@@ -440,3 +424,3 @@ }, [!_ctx.action.deleteDisabled.includes(_ctx.node.data[_ctx.nodeKey]) ? (openBlock(), createBlock(_component_icon_del, {

}, ["stop"]))
})) : createCommentVNode("v-if", true)], 8, _hoisted_11$1), createElementVNode("span", {
})) : createCommentVNode("v-if", true)], 8, _hoisted_7$1), createElementVNode("span", {
title: _ctx.t("ui.tree.newNodeTitle")

@@ -448,3 +432,3 @@ }, [!_ctx.action.addDisabled.includes(_ctx.node.data[_ctx.nodeKey]) && _ctx.node.data[_ctx.state.props.label || "label"] ? (openBlock(), createBlock(_component_icon_plus_square, {

}, ["stop"]))
})) : createCommentVNode("v-if", true)], 8, _hoisted_12$1)],
})) : createCommentVNode("v-if", true)], 8, _hoisted_8$1)],
64

@@ -486,3 +470,3 @@ /* STABLE_FRAGMENT */

null,
renderList(_ctx.node.childNodes, function(child) {
renderList(_ctx.state.renderedChildNodes, function(child) {
return openBlock(), createBlock(_component_tree_node, {

@@ -535,3 +519,3 @@ action: _ctx.action,

/* KEYED_FRAGMENT */
))], 12, _hoisted_13$1)), [[vShow, _ctx.state.expanded]]) : createCommentVNode("v-if", true)];
))], 12, _hoisted_9$1)), [[vShow, _ctx.state.expanded]]) : createCommentVNode("v-if", true)];
}),

@@ -676,3 +660,3 @@ _: 3

},
renderList(_ctx.state.root.childNodes, function(child) {
renderList(_ctx.state.renderedChildNodes, function(child) {
return withDirectives((openBlock(), createBlock(_component_tree_node, {

@@ -679,0 +663,0 @@ action: _ctx.state.action,

{
"name": "@opentiny/vue-tree",
"type": "module",
"version": "3.18.0",
"version": "3.19.0",
"description": "",

@@ -11,14 +11,14 @@ "license": "MIT",

"dependencies": {
"@opentiny/vue-button": "~3.18.0",
"@opentiny/vue-checkbox": "~3.18.0",
"@opentiny/vue-collapse-transition": "~3.18.0",
"@opentiny/vue-common": "~3.18.0",
"@opentiny/vue-directive": "~3.18.0",
"@opentiny/vue-icon": "~3.18.0",
"@opentiny/vue-input": "~3.18.0",
"@opentiny/vue-popover": "~3.18.0",
"@opentiny/vue-radio": "~3.18.0",
"@opentiny/vue-renderless": "~3.18.0",
"@opentiny/vue-switch": "~3.18.0",
"@opentiny/vue-theme": "~3.18.0"
"@opentiny/vue-button": "~3.19.0",
"@opentiny/vue-checkbox": "~3.19.0",
"@opentiny/vue-collapse-transition": "~3.19.0",
"@opentiny/vue-common": "~3.19.0",
"@opentiny/vue-directive": "~3.19.0",
"@opentiny/vue-icon": "~3.19.0",
"@opentiny/vue-input": "~3.19.0",
"@opentiny/vue-popover": "~3.19.0",
"@opentiny/vue-radio": "~3.19.0",
"@opentiny/vue-renderless": "~3.19.0",
"@opentiny/vue-switch": "~3.19.0",
"@opentiny/vue-theme": "~3.19.0"
},

@@ -25,0 +25,0 @@ "types": "index.d.ts",

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