sone-ui-component-3.2.4 2.1.47 → 2.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sone-ui.common.js +8 -8
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +8 -8
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/tree/src/main.vue +1 -1
- package/src/index.js +1 -1
package/lib/sone-ui.common.js
CHANGED
|
@@ -26007,12 +26007,12 @@ src_main.install = function(Vue) {
|
|
|
26007
26007
|
|
|
26008
26008
|
|
|
26009
26009
|
/* harmony default export */ var messageBox = (src_main);
|
|
26010
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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!./packages/tree/src/main.vue?vue&type=template&id=
|
|
26011
|
-
var
|
|
26012
|
-
var
|
|
26010
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-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!./packages/tree/src/main.vue?vue&type=template&id=a9bd7420&scoped=true&
|
|
26011
|
+
var mainvue_type_template_id_a9bd7420_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"height":"100%"}},[(_vm.type === 'normal')?_c('div',{staticClass:"sone-tree"},[(_vm.lineDirection === 'left')?_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",on:{"click":function($event){return _vm.onShow(2)}}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],attrs:{"src":_vm.leftImg}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.show),expression:"!show"}],attrs:{"src":_vm.rightImg}})])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"menu",staticClass:"tree-wrap",style:('width:' + _vm.defaultWidth + 'px')},[_c('div',{staticClass:"sone-tree-title"},[(_vm.treeData.length>1)?_c('el-select',{staticClass:"sone-tree-components-class",on:{"change":_vm.changeTreeData},model:{value:(_vm.checkedTreeData),callback:function ($$v) {_vm.checkedTreeData=$$v},expression:"checkedTreeData"}},_vm._l((_vm.treeData),function(item,index){return _c('el-option',{key:index,attrs:{"label":item.title,"value":item.title}})}),1):_c('span',[_vm._v(_vm._s(_vm.treeData && _vm.treeData[0] && _vm.treeData[0].title))])],1),_c('el-input',{attrs:{"placeholder":_vm.placeholder,"clearable":_vm.clearable},on:{"clear":function($event){return _vm.$emit('clear', '')}},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}}),_c('div',{staticClass:"sone-tree-wrap"},[_c('el-tree',{ref:"tree",staticClass:"filter-tree",attrs:{"data":_vm.data,"props":_vm.treeProps,"node-key":_vm.nodeKey,"filter-node-method":_vm.filterNode,"empty-text":_vm.emptyText,"highlight-current":_vm.highlightCurrent,"default-expand-all":_vm.defaultExpandAll,"expand-on-click-node":_vm.expandOnClickNode,"default-expanded-keys":_vm.defaultExpandedKeys,"show-checkbox":_vm.showCheckbox,"check-strictly":_vm.checkStrictly,"default-checked-keys":_vm.defaultCheckedKeys,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drop":_vm.allowDrop,"allow-drag":_vm.allowDrag},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.handleContextmenu,"check-change":_vm.handleCheckChange,"check":_vm.handleCheck,"current-change":_vm.handleCurrentChange,"node-expand":_vm.handleNodeExpand,"node-collapse":_vm.handleNodeCollapse,"node-drag-start":_vm.handleDragStart,"node-drag-enter":_vm.handleDragEnter,"node-drag-leave":_vm.handleDragLeave,"node-drag-over":_vm.handleDragOver,"node-drag-end":_vm.handleDragEnd,"node-drop":_vm.handleDrop}})],1)],1),(_vm.lineDirection === 'right')?_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",on:{"click":function($event){return _vm.onShow(1)}}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],attrs:{"src":_vm.leftImg}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.show),expression:"!show"}],attrs:{"src":_vm.rightImg}})])]):_vm._e()]):_c('div',{staticClass:"sone-tree"},[(_vm.lineDirection === 'left')?_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",on:{"click":function($event){return _vm.onShow(2)}}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],attrs:{"src":_vm.leftImg}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.show),expression:"!show"}],attrs:{"src":_vm.rightImg}})])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"menu",staticClass:"tree-wrap",style:('width:' + _vm.defaultWidth + 'px')},[_c('div',{staticClass:"sone-tree-title"},[_c('span',[_vm._v(_vm._s(_vm.handleTypeTitle))]),(_vm.showTitleButton)?_c('el-popover',{attrs:{"placement":"bottom","width":"100","trigger":"click","popper-class":"sone-components-tree-popover"}},[_c('div',{staticClass:"tree-box"},[_vm._t("handleTitleMenu")],2),_c('el-button',{attrs:{"slot":"reference","type":"text","icon":("iconfont iconfont-single " + (_vm.titleIcon || _vm.handleTypeTitleIcon))},on:{"click":function($event){return _vm.$emit('handleTypeTitle')}},slot:"reference"})],1):_vm._e()],1),_c('el-input',{attrs:{"placeholder":_vm.placeholder,"clearable":_vm.clearable},on:{"clear":function($event){return _vm.$emit('clear', '')}},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:"filterText"}}),_c('div',{ref:"soneTreeWrap",staticClass:"sone-tree-wrap"},[_c('el-tree',{ref:"tree",staticClass:"filter-tree",attrs:{"data":_vm.handleTypeData,"props":_vm.treeProps,"node-key":_vm.nodeKey,"filter-node-method":_vm.filterNode,"empty-text":_vm.emptyText,"highlight-current":_vm.highlightCurrent,"default-expand-all":_vm.defaultExpandAll,"expand-on-click-node":_vm.expandOnClickNode,"default-expanded-keys":_vm.defaultExpandedKeys,"show-checkbox":_vm.showCheckbox,"check-strictly":_vm.checkStrictly,"default-checked-keys":_vm.defaultCheckedKeys,"current-node-key":_vm.currentNodeKey,"indent":_vm.indent,"icon-class":_vm.iconClass,"draggable":_vm.draggable,"allow-drop":_vm.allowDrop,"allow-drag":_vm.allowDrag},on:{"node-click":_vm.handleNodeClick,"node-contextmenu":_vm.handleContextmenu,"check-change":_vm.handleCheckChange,"check":_vm.handleCheck,"current-change":_vm.handleCurrentChange,"node-expand":_vm.handleNodeExpand,"node-collapse":_vm.handleNodeCollapse,"node-drag-start":_vm.handleDragStart,"node-drag-enter":_vm.handleDragEnter,"node-drag-leave":_vm.handleDragLeave,"node-drag-over":_vm.handleDragOver,"node-drag-end":_vm.handleDragEnd,"node-drop":_vm.handleDrop},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _c('span',{ref:("treeNode-" + (scope.node[_vm.nodeKey])),staticClass:"custom-tree-node",staticStyle:{"display":"flex"}},[_c('span',{staticStyle:{"font-size":"12px"}},[_c('i',{class:("iconfont iconfont-single " + (scope.node.data.iconClass))}),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.showLabel),expression:"showLabel"}]},[_vm._v(_vm._s(scope.node.label))]),_vm._t("labelSlot",null,{"node":scope.node})],2),_c('div',[(!scope.node.data.noMoreBtn)?_c('span',{staticClass:"sone-components-tree-more-btn-color"},[_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMoreBtn),expression:"showMoreBtn"}],attrs:{"type":"text","size":"mini","icon":"iconfont iconfont-single icon-more"},on:{"click":function($event){$event.stopPropagation();return _vm.showTreeMenu(scope,$event)}}})],1):_vm._e()])])}}],null,true)}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.handleMenuFlag),expression:"handleMenuFlag"}],ref:"handleMenu",staticClass:"sone-tree-components-handleMenu"},[_vm._t("handleMenu",null,{"node":_vm.node})],2)],1)],1),(_vm.lineDirection === 'right')?_c('div',{ref:"line",staticClass:"show-line",style:(_vm.dragWidth?'cursor:col-resize;':'')},[_c('div',{staticClass:"show-line-box",on:{"click":function($event){return _vm.onShow(1)}}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],attrs:{"src":_vm.leftImg}}),_c('img',{directives:[{name:"show",rawName:"v-show",value:(!_vm.show),expression:"!show"}],attrs:{"src":_vm.rightImg}})])]):_vm._e()])])}
|
|
26012
|
+
var mainvue_type_template_id_a9bd7420_scoped_true_staticRenderFns = []
|
|
26013
26013
|
|
|
26014
26014
|
|
|
26015
|
-
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=
|
|
26015
|
+
// CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=a9bd7420&scoped=true&
|
|
26016
26016
|
|
|
26017
26017
|
// EXTERNAL MODULE: ./packages/tree/img/left.png
|
|
26018
26018
|
var left = __webpack_require__("8a87");
|
|
@@ -26528,11 +26528,11 @@ const mainvue_type_script_lang_js_deepClone = data => {
|
|
|
26528
26528
|
|
|
26529
26529
|
var src_main_component = normalizeComponent(
|
|
26530
26530
|
packages_tree_src_mainvue_type_script_lang_js_,
|
|
26531
|
-
|
|
26532
|
-
|
|
26531
|
+
mainvue_type_template_id_a9bd7420_scoped_true_render,
|
|
26532
|
+
mainvue_type_template_id_a9bd7420_scoped_true_staticRenderFns,
|
|
26533
26533
|
false,
|
|
26534
26534
|
null,
|
|
26535
|
-
"
|
|
26535
|
+
"a9bd7420",
|
|
26536
26536
|
null
|
|
26537
26537
|
|
|
26538
26538
|
)
|
|
@@ -38069,7 +38069,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
38069
38069
|
}
|
|
38070
38070
|
|
|
38071
38071
|
/* harmony default export */ var src_0 = ({
|
|
38072
|
-
version: '2.1.
|
|
38072
|
+
version: '2.1.48',
|
|
38073
38073
|
locale: locale.use,
|
|
38074
38074
|
i18n: locale.i18n,
|
|
38075
38075
|
install,
|